@esri/calcite-components 5.2.0-next.31 → 5.2.0-next.33
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/{CU7CJFBQ.js → 2GG5WJZ2.js} +1 -1
- package/dist/cdn/{JFKJED36.js → 2RR6DRJZ.js} +1 -1
- package/dist/cdn/{5PHIIVOU.js → 2ZCW5SHY.js} +1 -1
- package/dist/cdn/{UYUBR74C.js → 37HSCZWM.js} +1 -1
- package/dist/cdn/{JSGT6DCJ.js → 37MDDA2R.js} +1 -1
- package/dist/cdn/{GSG6GHLN.js → 3GJBTYP6.js} +1 -1
- package/dist/cdn/{6YTP7R4Z.js → 3I6NCIU6.js} +1 -1
- package/dist/cdn/{CIZGCFP6.js → 3US3IAPR.js} +1 -1
- package/dist/cdn/{2H7GADY6.js → 3WLVOWHC.js} +1 -1
- package/dist/cdn/{ZVDNCEBK.js → 4674UWCN.js} +1 -1
- package/dist/cdn/{O7NYKDOG.js → 46EMOVPJ.js} +1 -1
- package/dist/cdn/{ZJHYIAS5.js → 46XLMFW4.js} +1 -1
- package/dist/cdn/{BAG3AJA4.js → 4B2H4UXQ.js} +1 -1
- package/dist/cdn/{7ZO4IPZP.js → 4DFCGU4F.js} +1 -1
- package/dist/cdn/{6TS5ZWQ7.js → 4GIJM5PH.js} +1 -1
- package/dist/cdn/{WKGZT2PG.js → 4HDJWLQ7.js} +1 -1
- package/dist/cdn/{IKBEV42F.js → 4OFBKSKN.js} +1 -1
- package/dist/cdn/{MQDJHBBP.js → 4QZUWISY.js} +1 -1
- package/dist/cdn/{S6KZLK5M.js → 5GX5HL7A.js} +1 -1
- package/dist/cdn/5IG7LHMX.js +2 -0
- package/dist/cdn/{5RP24S6I.js → 5VGVDEIU.js} +1 -1
- package/dist/cdn/{B35DWLY3.js → 6P2K3A57.js} +1 -1
- package/dist/cdn/{5JJPS3HK.js → 6PMLDIXD.js} +1 -1
- package/dist/cdn/{Y42AXULS.js → 6QX32DQR.js} +1 -1
- package/dist/cdn/{AGIZ5KII.js → 6RT6J3DX.js} +1 -1
- package/dist/cdn/{B5SOOORA.js → 6ZXBCNXC.js} +1 -1
- package/dist/cdn/{ZXZ7BCV3.js → 75I3WNIM.js} +1 -1
- package/dist/cdn/{K4PSZCHX.js → 77QCPBMC.js} +1 -1
- package/dist/cdn/{ESLOUCHV.js → AVCECO7Z.js} +1 -1
- package/dist/cdn/{P2S6K7H4.js → AZPPPVW7.js} +1 -1
- package/dist/cdn/{TSZKDMVH.js → B4ZQFSCB.js} +1 -1
- package/dist/cdn/{GXI7Q6QU.js → BABSLEYQ.js} +1 -1
- package/dist/cdn/{JGCDFFLC.js → BAEPIHLC.js} +1 -1
- package/dist/cdn/{XHEIS6D3.js → BBGUUQ27.js} +1 -1
- package/dist/cdn/{RT3EYWNV.js → BKL6IZCX.js} +1 -1
- package/dist/cdn/{B32RTCOC.js → BRKJWLJ3.js} +1 -1
- package/dist/cdn/{GJYVDQON.js → BWUBINBO.js} +1 -1
- package/dist/cdn/{6ICS6SMF.js → BX3OKDMC.js} +1 -1
- package/dist/cdn/{P6CXN7P4.js → C47RBXMD.js} +1 -1
- package/dist/cdn/{URIFYT4D.js → C5DKUE6G.js} +1 -1
- package/dist/cdn/{BXPFZXKS.js → CFZYQZYE.js} +1 -1
- package/dist/cdn/{GVQVBOVP.js → CHGLSJHW.js} +1 -1
- package/dist/cdn/{JZA7C6P3.js → CKEFWQNB.js} +1 -1
- package/dist/cdn/{YLAZZLRL.js → CM3XMRLZ.js} +1 -1
- package/dist/cdn/{DGQGNFWC.js → CMC2XDM6.js} +1 -1
- package/dist/cdn/{GTTVUYZE.js → D4KZEAYI.js} +1 -1
- package/dist/cdn/{ETODEMQI.js → D6CXDU3W.js} +1 -1
- package/dist/cdn/{G6JEYMUX.js → DB57RYTA.js} +1 -1
- package/dist/cdn/{CN7PTHEB.js → DFF4EOLD.js} +1 -1
- package/dist/cdn/{HFKP45FH.js → DN5OMZUO.js} +1 -1
- package/dist/cdn/{DM6ECIF2.js → DTSFQVNC.js} +1 -1
- package/dist/cdn/{LPRA3T32.js → ECSSKIE3.js} +1 -1
- package/dist/cdn/{H6J4OSM7.js → EFWGS5PI.js} +1 -1
- package/dist/cdn/{IRVIPQ7D.js → EHQCJKE5.js} +1 -1
- package/dist/cdn/{HIHNZASH.js → EN55H6CB.js} +1 -1
- package/dist/cdn/{B64U7QND.js → EOAEBSPQ.js} +1 -1
- package/dist/cdn/{YA7ARNQJ.js → ET3FQEVJ.js} +1 -1
- package/dist/cdn/{BN3I74NC.js → F4H4VQT2.js} +1 -1
- package/dist/cdn/{62XMTWRN.js → F5MUC5DJ.js} +1 -1
- package/dist/cdn/{XOGICJGV.js → FPCL46QC.js} +1 -1
- package/dist/cdn/{B2S475VC.js → FRRT4G2O.js} +1 -1
- package/dist/cdn/{7UDX2IW2.js → FU6Z4CWX.js} +1 -1
- package/dist/cdn/{U5K5WQQL.js → G7SZDFCD.js} +1 -1
- package/dist/cdn/{34LKI7AN.js → GGMK3KZU.js} +1 -1
- package/dist/cdn/{2YFHVR5X.js → GI33XEIF.js} +1 -1
- package/dist/cdn/{ASAPFCDE.js → GKNNITKF.js} +1 -1
- package/dist/cdn/{KMRQDEB2.js → GR6WAC5B.js} +1 -1
- package/dist/cdn/{KDQXAYDJ.js → H6KT2QMH.js} +1 -1
- package/dist/cdn/{5XTVVQ6D.js → HAUC3ZTO.js} +1 -1
- package/dist/cdn/{YUYGZXBT.js → HBZYYCM2.js} +1 -1
- package/dist/cdn/{SIYPKMOX.js → HEXBKECR.js} +1 -1
- package/dist/cdn/{DX4UNEXL.js → HMJ24I6B.js} +1 -1
- package/dist/cdn/{DSZP76JS.js → HUPA5IFV.js} +1 -1
- package/dist/cdn/{EBF72GF4.js → IB72JSFF.js} +1 -1
- package/dist/cdn/{YM7MW4ZE.js → IT6JFKUK.js} +1 -1
- package/dist/cdn/{WBRB2MAG.js → J5VDG2CV.js} +1 -1
- package/dist/cdn/{GVXEBJEW.js → JOCLP663.js} +1 -1
- package/dist/cdn/{FAYBZ4NA.js → JWBGLAPO.js} +1 -1
- package/dist/cdn/{OSBBG6HI.js → KNGIJFVN.js} +1 -1
- package/dist/cdn/KOI4GURL.js +2 -0
- package/dist/cdn/{IJ5EZCER.js → KZ7TTBTC.js} +1 -1
- package/dist/cdn/{DDD32FUC.js → LI52BZOS.js} +1 -1
- package/dist/cdn/{5WA7VCUZ.js → LSO6DDC3.js} +1 -1
- package/dist/cdn/{QPZWBDRN.js → LWASXXOJ.js} +1 -1
- package/dist/cdn/{SZHLLS6U.js → LXEWKP4V.js} +1 -1
- package/dist/cdn/{XNTVXLSV.js → M4KQZXFD.js} +1 -1
- package/dist/cdn/{2KBNA5VV.js → M6XLHY3H.js} +1 -1
- package/dist/cdn/{RA3ZTRG2.js → MJQR7Q4D.js} +1 -1
- package/dist/cdn/{4DQGC5JY.js → MPTMZGOH.js} +1 -1
- package/dist/cdn/{KCNYR66O.js → MVJ53E5E.js} +1 -1
- package/dist/cdn/{2PB3PUJA.js → NG2FNZKH.js} +1 -1
- package/dist/cdn/{3GDCEW2O.js → NJ53QODK.js} +1 -1
- package/dist/cdn/{SAW4B7WT.js → NRDIA4LH.js} +1 -1
- package/dist/cdn/{MIXAK4SX.js → NVCKG2LA.js} +1 -1
- package/dist/cdn/{N3NMWUPR.js → NVXOJYTF.js} +1 -1
- package/dist/cdn/{5HDPDQLH.js → O2NZXAPE.js} +1 -1
- package/dist/cdn/{OAT4WOFR.js → O4CG2KMT.js} +1 -1
- package/dist/cdn/{O3ZI5ANT.js → OHNA55LL.js} +1 -1
- package/dist/cdn/{SKFU336B.js → OMTJ4L2P.js} +1 -1
- package/dist/cdn/{GL2M4Y47.js → OTEQPSJQ.js} +1 -1
- package/dist/cdn/{NEUPWH65.js → PKRLTMPS.js} +1 -1
- package/dist/cdn/{D5VAYHIC.js → PTCHII4U.js} +1 -1
- package/dist/cdn/{SRJHFMFP.js → PV7TDYU3.js} +1 -1
- package/dist/cdn/{275HTM6C.js → PXYIOZIV.js} +1 -1
- package/dist/cdn/{IXX32AEN.js → Q2WVT7UK.js} +1 -1
- package/dist/cdn/{YWGZAN5R.js → QECDBCGY.js} +1 -1
- package/dist/cdn/{TBX6B7NS.js → QNDDCBWA.js} +1 -1
- package/dist/cdn/{H34AXDQR.js → QURYHC53.js} +1 -1
- package/dist/cdn/{HX5G6PEU.js → R7KFMQQW.js} +1 -1
- package/dist/cdn/{OIYAOKXL.js → RGID7PSO.js} +1 -1
- package/dist/cdn/{OHEH32P2.js → RGSJYFQH.js} +1 -1
- package/dist/cdn/{ILFOOTH6.js → RJBTDVGZ.js} +1 -1
- package/dist/cdn/{I7VLBVVR.js → RTAA5SCY.js} +1 -1
- package/dist/cdn/{WQBBH5FE.js → RWVOVOFX.js} +1 -1
- package/dist/cdn/{JGO735CO.js → S3VRNZZL.js} +1 -1
- package/dist/cdn/{ST5SCEF4.js → S5CTHPE7.js} +1 -1
- package/dist/cdn/{5IPGJCLD.js → SPIULO4N.js} +1 -1
- package/dist/cdn/{S5W6RC6X.js → SYREZKUP.js} +1 -1
- package/dist/cdn/{C7ODFPXC.js → T6NIS7OZ.js} +1 -1
- package/dist/cdn/{XZZQRQ65.js → TIHX4AAH.js} +1 -1
- package/dist/cdn/{5WH4GGFT.js → TXCBHQPT.js} +1 -1
- package/dist/cdn/{SRNYDEOY.js → TZLAWKW7.js} +1 -1
- package/dist/cdn/{2DNDO7OS.js → UHB37CJC.js} +1 -1
- package/dist/cdn/{4XIM5ILC.js → VBZNY3J7.js} +1 -1
- package/dist/cdn/{FRJN2MYE.js → VVVKQ5W4.js} +1 -1
- package/dist/cdn/{EJ4Q77N6.js → W2WT7Q5D.js} +1 -1
- package/dist/cdn/{ZYUHSMKB.js → W7CROCVR.js} +1 -1
- package/dist/cdn/{XPIK2PAN.js → WBFIK4DJ.js} +1 -1
- package/dist/cdn/{W64C3RNL.js → WLNVICGJ.js} +1 -1
- package/dist/cdn/{VLZTSSQW.js → WVV35MYK.js} +1 -1
- package/dist/cdn/{73LRUXQN.js → WZTZBANR.js} +1 -1
- package/dist/cdn/{LG7NMJYN.js → X3E3YKXL.js} +1 -1
- package/dist/cdn/{PUPGDIZ5.js → X3QN4ONZ.js} +1 -1
- package/dist/cdn/{OMBL5LNO.js → X4JVOXEB.js} +1 -1
- package/dist/cdn/X55EXSZ4.js +2 -0
- package/dist/cdn/{F3AVUHA6.js → XGEGV5M4.js} +1 -1
- package/dist/cdn/{QN35D4ON.js → XMX7ZLMR.js} +1 -1
- package/dist/cdn/{O6SPXDVK.js → Y5VJK3NK.js} +1 -1
- package/dist/cdn/{554NDE73.js → YIXTHTJK.js} +1 -1
- package/dist/cdn/{BXZHLQWU.js → YRB3YUJ2.js} +1 -1
- package/dist/cdn/{NQY3QGUP.js → ZAWJZUWL.js} +1 -1
- package/dist/cdn/{34T5T2XB.js → ZDD5BPHD.js} +1 -1
- package/dist/cdn/{GOBF5ORA.js → ZLOFPY73.js} +1 -1
- package/dist/cdn/{SIGHPEZ7.js → ZM5MQRTG.js} +1 -1
- package/dist/cdn/{IA4HJQWG.js → ZY6HQZ6P.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/runtime.js +4 -4
- package/dist/components/calcite-accordion/customElement.d.ts +4 -6
- package/dist/components/calcite-action-bar/customElement.d.ts +20 -6
- package/dist/components/calcite-action-bar/customElement.js +147 -15
- package/dist/components/calcite-action-group/customElement.d.ts +8 -11
- package/dist/components/calcite-action-menu/customElement.d.ts +3 -3
- package/dist/components/calcite-action-pad/customElement.d.ts +3 -3
- package/dist/components/calcite-autocomplete/customElement.d.ts +3 -3
- package/dist/components/calcite-block/customElement.d.ts +3 -3
- package/dist/components/calcite-block-section/customElement.d.ts +3 -4
- package/dist/components/calcite-chip-group/customElement.d.ts +5 -8
- package/dist/components/calcite-combobox/customElement.d.ts +15 -21
- package/dist/components/calcite-dialog/customElement.d.ts +10 -10
- package/dist/components/calcite-dropdown/customElement.d.ts +3 -3
- package/dist/components/calcite-dropdown-group/customElement.d.ts +4 -6
- package/dist/components/calcite-flow-item/customElement.d.ts +3 -3
- package/dist/components/calcite-focus-trap/customElement.d.ts +6 -6
- package/dist/components/calcite-input-date-picker/customElement.d.ts +3 -3
- package/dist/components/calcite-input-time-picker/customElement.d.ts +7 -7
- package/dist/components/calcite-input-time-zone/customElement.d.ts +7 -7
- package/dist/components/calcite-label/customElement.d.ts +3 -1
- package/dist/components/calcite-list/customElement.d.ts +15 -24
- package/dist/components/calcite-meter/customElement.d.ts +4 -3
- package/dist/components/calcite-notice/customElement.d.ts +3 -1
- package/dist/components/calcite-panel/customElement.d.ts +3 -3
- package/dist/components/calcite-popover/customElement.d.ts +9 -9
- package/dist/components/calcite-segmented-control/customElement.d.ts +3 -1
- package/dist/components/calcite-select/customElement.d.ts +3 -1
- package/dist/components/calcite-sheet/customElement.d.ts +6 -6
- package/dist/components/calcite-shell/customElement.js +75 -5
- package/dist/components/calcite-shell-panel/customElement.d.ts +16 -11
- package/dist/components/calcite-shell-panel/customElement.js +75 -12
- package/dist/components/calcite-sort-handle/customElement.d.ts +3 -3
- package/dist/components/calcite-split-button/customElement.d.ts +6 -4
- package/dist/components/calcite-swatch-group/customElement.d.ts +5 -8
- package/dist/components/calcite-table/customElement.d.ts +4 -6
- package/dist/components/calcite-table-cell/customElement.d.ts +5 -4
- package/dist/components/calcite-table-row/customElement.d.ts +5 -4
- package/dist/components/calcite-tile-group/customElement.d.ts +9 -9
- package/dist/components/calcite-time-picker/customElement.d.ts +4 -4
- package/dist/components/calcite-tooltip/customElement.d.ts +3 -3
- package/dist/components/calcite-tree/customElement.d.ts +9 -15
- package/dist/controllers/useTime.d.ts +4 -4
- 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 +2 -2
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +2 -2
- package/dist/cdn/CXNZFM4C.js +0 -2
- package/dist/cdn/PCWHJTFI.js +0 -2
- package/dist/cdn/XKRS7NPC.js +0 -2
package/dist/loader.js
CHANGED
|
@@ -5,7 +5,7 @@ const defineCustomElements = makeDefineCustomElements(runtime, {
|
|
|
5
5
|
"calcite-accordion": [() => import("./components/calcite-accordion/customElement.js"), "appearance,iconPosition,iconType,scale,selectionMode"],
|
|
6
6
|
"calcite-accordion-item": [() => import("./components/calcite-accordion-item/customElement.js"), "appearance,description,expanded,heading,headingLevel,iconEnd,iconFlipRtl,iconPosition,iconStart,iconType,messageOverrides:,scale;setFocus"],
|
|
7
7
|
"calcite-action": [() => import("./components/calcite-action/customElement.js"), "active,activeDescendant,alignment,appearance,aria:,compact,disabled,dragHandle,form,icon,iconFlipRtl,indicator,label,loading,messageOverrides:,overflowDisabled,scale,selectionAppearance,text,textEnabled,type,width;setFocus", 1],
|
|
8
|
-
"calcite-action-bar": [() => import("./components/calcite-action-bar/customElement.js"), "actionsEndGroupLabel,actionsStartGroupLabel,expandDisabled,expanded,expandPosition,expandToggleDisabled,floating,layout,messageOverrides:,overflowActionsDisabled,overlayPositioning,position,scale,selectionAppearance;overflowActions,setFocus"],
|
|
8
|
+
"calcite-action-bar": [() => import("./components/calcite-action-bar/customElement.js"), "actionsEndGroupLabel,actionsStartGroupLabel,expandDisabled,expanded,expandPosition,expandToggleDisabled,floating,layout,messageOverrides:,overflowActionsDisabled,overflowMode,overlayPositioning,position,scale,selectionAppearance;overflowActions,setFocus"],
|
|
9
9
|
"calcite-action-group": [() => import("./components/calcite-action-group/customElement.js"), "actions:,columns,expanded,label,layout,menuFlipPlacements:,menuOpen,menuPlacement,messageOverrides:,overflowActionsDisabled,overlayPositioning,scale,selectedActions:,selectionMode,topLayerDisabled;setFocus"],
|
|
10
10
|
"calcite-action-menu": [() => import("./components/calcite-action-menu/customElement.js"), "actions:,appearance,expanded,flipPlacements:,label,open,overlayPositioning,placement,scale,topLayerDisabled;setFocus"],
|
|
11
11
|
"calcite-action-pad": [() => import("./components/calcite-action-pad/customElement.js"), "actionsEndGroupLabel,expandDisabled,expanded,layout,messageOverrides:,overlayPositioning,position,scale,selectionAppearance;setFocus"],
|
|
@@ -83,7 +83,7 @@ const defineCustomElements = makeDefineCustomElements(runtime, {
|
|
|
83
83
|
"calcite-select": [() => import("./components/calcite-select/customElement.js"), "disabled,form,label,labelText,messageOverrides:,name,required,scale,selectedOption:,status,validationIcon,validationMessage,validity:,value,width;setFocus", 1],
|
|
84
84
|
"calcite-sheet": [() => import("./components/calcite-sheet/customElement.js"), "beforeClose:,displayMode,embedded,escapeDisabled,focusTrapDisabled,focusTrapOptions:,height,heightScale,label,messageOverrides:,messages:,open,opened,outsideCloseDisabled,position,resizable,topLayerDisabled,width,widthScale;setFocus,updateFocusTrapElements,updateSize"],
|
|
85
85
|
"calcite-shell": [() => import("./components/calcite-shell/customElement.js"), "contentBehind"],
|
|
86
|
-
"calcite-shell-panel": [() => import("./components/calcite-shell-panel/customElement.js"), "actionBarPosition,collapsed,displayMode,height,heightScale,layout,messageOverrides:,position,resizable,width,widthScale;updateSize"],
|
|
86
|
+
"calcite-shell-panel": [() => import("./components/calcite-shell-panel/customElement.js"), "actionBarPosition,collapsed,displayMode,height,heightScale,layout,messageOverrides:,position,resizable,shellSizingDataProvider:,width,widthScale;updateSize"],
|
|
87
87
|
"calcite-slider": [() => import("./components/calcite-slider/customElement.js"), "disabled,fillPlacement,form,groupSeparator,hasHistogram,histogram:,histogramStops:,labelFormatter:,labelHandles,labelText,labelTicks,max,maxLabel,maxValue,messageOverrides:,min,minLabel,minValue,mirrored,name,numberingSystem,pageStep,precise,required,scale,snap,status,step,ticks,validationIcon,validationMessage,validity:,value;setFocus", 1],
|
|
88
88
|
"calcite-sort-handle": [() => import("./components/calcite-sort-handle/customElement.js"), "addToItems:,disabled,flipPlacements:,label,messageOverrides:,messages:,moveToItems:,open,overlayPositioning,placement,scale,setPosition,setSize,sortDisabled,topLayerDisabled,widthScale;setFocus"],
|
|
89
89
|
"calcite-sortable-list": [() => import("./components/calcite-sortable-list/customElement.js"), "canPull:,canPut:,disabled,dragSelector,group,handleSelector,layout,loading"],
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -118,7 +118,7 @@ interface LuminaCalciteAccordionItem extends Partial<Pick<AccordionItem, "descri
|
|
|
118
118
|
interface LuminaCalciteAction extends Required<Pick<Action, "text">>, Partial<Pick<Action, "active" | "alignment" | "appearance" | "aria" | "compact" | "disabled" | "form" | "icon" | "iconFlipRtl" | "indicator" | "label" | "loading" | "messageOverrides" | "overflowDisabled" | "scale" | "textEnabled" | "type">>, h.JSX.HTMLAttributes<Action> {
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
interface LuminaCalciteActionBar extends Partial<Pick<ActionBar, "actionsEndGroupLabel" | "actionsStartGroupLabel" | "expandDisabled" | "expanded" | "expandPosition" | "expandToggleDisabled" | "floating" | "layout" | "messageOverrides" | "overflowActionsDisabled" | "overlayPositioning" | "position" | "scale" | "selectionAppearance">>, h.JSX.HTMLAttributes<ActionBar> {
|
|
121
|
+
interface LuminaCalciteActionBar extends Partial<Pick<ActionBar, "actionsEndGroupLabel" | "actionsStartGroupLabel" | "expandDisabled" | "expanded" | "expandPosition" | "expandToggleDisabled" | "floating" | "layout" | "messageOverrides" | "overflowActionsDisabled" | "overflowMode" | "overlayPositioning" | "position" | "scale" | "selectionAppearance">>, h.JSX.HTMLAttributes<ActionBar> {
|
|
122
122
|
oncalciteActionBarCollapse?: EventHandler<ActionBar["calciteActionBarCollapse"]>;
|
|
123
123
|
oncalciteActionBarExpand?: EventHandler<ActionBar["calciteActionBarExpand"]>;
|
|
124
124
|
oncalciteActionBarToggle?: EventHandler<ActionBar["calciteActionBarToggle"]>;
|
|
@@ -510,7 +510,7 @@ interface LuminaCalciteSheet extends Required<Pick<Sheet, "label">>, Partial<Pic
|
|
|
510
510
|
interface LuminaCalciteShell extends Partial<Pick<Shell, "contentBehind">>, h.JSX.HTMLAttributes<Shell> {
|
|
511
511
|
}
|
|
512
512
|
|
|
513
|
-
interface LuminaCalciteShellPanel extends Partial<Pick<ShellPanel, "actionBarPosition" | "collapsed" | "displayMode" | "height" | "heightScale" | "layout" | "messageOverrides" | "position" | "resizable" | "width" | "widthScale">>, h.JSX.HTMLAttributes<ShellPanel> {
|
|
513
|
+
interface LuminaCalciteShellPanel extends Partial<Pick<ShellPanel, "actionBarPosition" | "collapsed" | "displayMode" | "height" | "heightScale" | "layout" | "messageOverrides" | "position" | "resizable" | "shellSizingDataProvider" | "width" | "widthScale">>, h.JSX.HTMLAttributes<ShellPanel> {
|
|
514
514
|
oncalciteShellPanelCollapse?: EventHandler<ShellPanel["calciteShellPanelCollapse"]>;
|
|
515
515
|
oncalciteShellPanelExpand?: EventHandler<ShellPanel["calciteShellPanelExpand"]>;
|
|
516
516
|
}
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -119,7 +119,7 @@ interface PreactCalciteAccordionItem extends Partial<Pick<AccordionItem, "descri
|
|
|
119
119
|
interface PreactCalciteAction extends Required<Pick<Action, "text">>, Partial<Pick<Action, "active" | "alignment" | "appearance" | "aria" | "compact" | "disabled" | "form" | "icon" | "iconFlipRtl" | "indicator" | "label" | "loading" | "messageOverrides" | "overflowDisabled" | "scale" | "textEnabled" | "type">>, HTMLAttributes<Action> {
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
interface PreactCalciteActionBar extends Partial<Pick<ActionBar, "actionsEndGroupLabel" | "actionsStartGroupLabel" | "expandDisabled" | "expanded" | "expandPosition" | "expandToggleDisabled" | "floating" | "layout" | "messageOverrides" | "overflowActionsDisabled" | "overlayPositioning" | "position" | "scale" | "selectionAppearance">>, HTMLAttributes<ActionBar> {
|
|
122
|
+
interface PreactCalciteActionBar extends Partial<Pick<ActionBar, "actionsEndGroupLabel" | "actionsStartGroupLabel" | "expandDisabled" | "expanded" | "expandPosition" | "expandToggleDisabled" | "floating" | "layout" | "messageOverrides" | "overflowActionsDisabled" | "overflowMode" | "overlayPositioning" | "position" | "scale" | "selectionAppearance">>, HTMLAttributes<ActionBar> {
|
|
123
123
|
oncalciteActionBarCollapse?: EventHandler<ActionBar["calciteActionBarCollapse"]>;
|
|
124
124
|
oncalciteActionBarExpand?: EventHandler<ActionBar["calciteActionBarExpand"]>;
|
|
125
125
|
oncalciteActionBarToggle?: EventHandler<ActionBar["calciteActionBarToggle"]>;
|
|
@@ -511,7 +511,7 @@ interface PreactCalciteSheet extends Required<Pick<Sheet, "label">>, Partial<Pic
|
|
|
511
511
|
interface PreactCalciteShell extends Partial<Pick<Shell, "contentBehind">>, HTMLAttributes<Shell> {
|
|
512
512
|
}
|
|
513
513
|
|
|
514
|
-
interface PreactCalciteShellPanel extends Partial<Pick<ShellPanel, "actionBarPosition" | "collapsed" | "displayMode" | "height" | "heightScale" | "layout" | "messageOverrides" | "position" | "resizable" | "width" | "widthScale">>, HTMLAttributes<ShellPanel> {
|
|
514
|
+
interface PreactCalciteShellPanel extends Partial<Pick<ShellPanel, "actionBarPosition" | "collapsed" | "displayMode" | "height" | "heightScale" | "layout" | "messageOverrides" | "position" | "resizable" | "shellSizingDataProvider" | "width" | "widthScale">>, HTMLAttributes<ShellPanel> {
|
|
515
515
|
oncalciteShellPanelCollapse?: EventHandler<ShellPanel["calciteShellPanelCollapse"]>;
|
|
516
516
|
oncalciteShellPanelExpand?: EventHandler<ShellPanel["calciteShellPanelExpand"]>;
|
|
517
517
|
}
|
package/dist/types/react.d.ts
CHANGED
|
@@ -119,7 +119,7 @@ interface ReactCalciteAccordionItem extends Partial<Pick<AccordionItem, "descrip
|
|
|
119
119
|
interface ReactCalciteAction extends Required<Pick<Action, "text">>, Partial<Pick<Action, "active" | "alignment" | "appearance" | "aria" | "compact" | "disabled" | "form" | "icon" | "iconFlipRtl" | "indicator" | "label" | "loading" | "messageOverrides" | "overflowDisabled" | "scale" | "textEnabled" | "type">>, HTMLProps<Action> {
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
interface ReactCalciteActionBar extends Partial<Pick<ActionBar, "actionsEndGroupLabel" | "actionsStartGroupLabel" | "expandDisabled" | "expanded" | "expandPosition" | "expandToggleDisabled" | "floating" | "layout" | "messageOverrides" | "overflowActionsDisabled" | "overlayPositioning" | "position" | "scale" | "selectionAppearance">>, HTMLProps<ActionBar> {
|
|
122
|
+
interface ReactCalciteActionBar extends Partial<Pick<ActionBar, "actionsEndGroupLabel" | "actionsStartGroupLabel" | "expandDisabled" | "expanded" | "expandPosition" | "expandToggleDisabled" | "floating" | "layout" | "messageOverrides" | "overflowActionsDisabled" | "overflowMode" | "overlayPositioning" | "position" | "scale" | "selectionAppearance">>, HTMLProps<ActionBar> {
|
|
123
123
|
oncalciteActionBarCollapse?: EventHandler<ActionBar["calciteActionBarCollapse"]>;
|
|
124
124
|
oncalciteActionBarExpand?: EventHandler<ActionBar["calciteActionBarExpand"]>;
|
|
125
125
|
oncalciteActionBarToggle?: EventHandler<ActionBar["calciteActionBarToggle"]>;
|
|
@@ -511,7 +511,7 @@ interface ReactCalciteSheet extends Required<Pick<Sheet, "label">>, Partial<Pick
|
|
|
511
511
|
interface ReactCalciteShell extends Partial<Pick<Shell, "contentBehind">>, HTMLProps<Shell> {
|
|
512
512
|
}
|
|
513
513
|
|
|
514
|
-
interface ReactCalciteShellPanel extends Partial<Pick<ShellPanel, "actionBarPosition" | "collapsed" | "displayMode" | "height" | "heightScale" | "layout" | "messageOverrides" | "position" | "resizable" | "width" | "widthScale">>, HTMLProps<ShellPanel> {
|
|
514
|
+
interface ReactCalciteShellPanel extends Partial<Pick<ShellPanel, "actionBarPosition" | "collapsed" | "displayMode" | "height" | "heightScale" | "layout" | "messageOverrides" | "position" | "resizable" | "shellSizingDataProvider" | "width" | "widthScale">>, HTMLProps<ShellPanel> {
|
|
515
515
|
oncalciteShellPanelCollapse?: EventHandler<ShellPanel["calciteShellPanelCollapse"]>;
|
|
516
516
|
oncalciteShellPanelExpand?: EventHandler<ShellPanel["calciteShellPanelExpand"]>;
|
|
517
517
|
}
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -119,7 +119,7 @@ interface StencilCalciteAccordionItem extends Partial<Pick<AccordionItem, "descr
|
|
|
119
119
|
interface StencilCalciteAction extends Required<Pick<Action, "text">>, Partial<Pick<Action, "active" | "alignment" | "appearance" | "aria" | "compact" | "disabled" | "form" | "icon" | "iconFlipRtl" | "indicator" | "label" | "loading" | "messageOverrides" | "overflowDisabled" | "scale" | "textEnabled" | "type">>, StencilJsx.HTMLAttributes<Action> {
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
interface StencilCalciteActionBar extends Partial<Pick<ActionBar, "actionsEndGroupLabel" | "actionsStartGroupLabel" | "expandDisabled" | "expanded" | "expandPosition" | "expandToggleDisabled" | "floating" | "layout" | "messageOverrides" | "overflowActionsDisabled" | "overlayPositioning" | "position" | "scale" | "selectionAppearance">>, StencilJsx.HTMLAttributes<ActionBar> {
|
|
122
|
+
interface StencilCalciteActionBar extends Partial<Pick<ActionBar, "actionsEndGroupLabel" | "actionsStartGroupLabel" | "expandDisabled" | "expanded" | "expandPosition" | "expandToggleDisabled" | "floating" | "layout" | "messageOverrides" | "overflowActionsDisabled" | "overflowMode" | "overlayPositioning" | "position" | "scale" | "selectionAppearance">>, StencilJsx.HTMLAttributes<ActionBar> {
|
|
123
123
|
onCalciteActionBarCollapse?: EventHandler<ActionBar["calciteActionBarCollapse"]>;
|
|
124
124
|
onCalciteActionBarExpand?: EventHandler<ActionBar["calciteActionBarExpand"]>;
|
|
125
125
|
onCalciteActionBarToggle?: EventHandler<ActionBar["calciteActionBarToggle"]>;
|
|
@@ -511,7 +511,7 @@ interface StencilCalciteSheet extends Required<Pick<Sheet, "label">>, Partial<Pi
|
|
|
511
511
|
interface StencilCalciteShell extends Partial<Pick<Shell, "contentBehind">>, StencilJsx.HTMLAttributes<Shell> {
|
|
512
512
|
}
|
|
513
513
|
|
|
514
|
-
interface StencilCalciteShellPanel extends Partial<Pick<ShellPanel, "actionBarPosition" | "collapsed" | "displayMode" | "height" | "heightScale" | "layout" | "messageOverrides" | "position" | "resizable" | "width" | "widthScale">>, StencilJsx.HTMLAttributes<ShellPanel> {
|
|
514
|
+
interface StencilCalciteShellPanel extends Partial<Pick<ShellPanel, "actionBarPosition" | "collapsed" | "displayMode" | "height" | "heightScale" | "layout" | "messageOverrides" | "position" | "resizable" | "shellSizingDataProvider" | "width" | "widthScale">>, StencilJsx.HTMLAttributes<ShellPanel> {
|
|
515
515
|
onCalciteShellPanelCollapse?: EventHandler<ShellPanel["calciteShellPanelCollapse"]>;
|
|
516
516
|
onCalciteShellPanelExpand?: EventHandler<ShellPanel["calciteShellPanelExpand"]>;
|
|
517
517
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "5.2.0-next.
|
|
3
|
+
"version": "5.2.0-next.33",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"homepage": "https://developers.arcgis.com/calcite-design-system/",
|
|
6
6
|
"repository": {
|
|
@@ -108,5 +108,5 @@
|
|
|
108
108
|
"dist/docs/vscode.html-custom-data.json"
|
|
109
109
|
],
|
|
110
110
|
"web-types": "dist/docs/web-types.json",
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "5613d9f8000ba12bf55c7da50e2f119c12435302"
|
|
112
112
|
}
|
package/dist/cdn/CXNZFM4C.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as s}from"./RA3ZTRG2.js";import{s as r,t as h}from"./QPZWBDRN.js";import{G as g,H as i,S as u,g as f,h as l}from"./5RP24S6I.js";var S=f`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:absolute;inset:0;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:var(--calcite-shell-corner-radius);box-shadow:var(--calcite-shell-shadow)}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto;justify-content:space-between}.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0;border-width:0px;z-index:calc(var(--calcite-z-index) - 1);display:initial}.content--non-interactive{pointer-events:none;display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap}::slotted(calcite-shell-panel){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug);font-weight:var(--calcite-font-weight-normal)}slot[name=panel-start]::slotted(calcite-shell-panel),slot[name=panel-end]::slotted(calcite-shell-panel){position:relative;z-index:calc(var(--calcite-z-index) + 1)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:var(--calcite-border-width-sm);border-color:var(--calcite-shell-border-color, var(--calcite-color-border-3));border-inline-start-width:var(--calcite-border-width-none);border-inline-end-width:var(--calcite-border-width-none);border-style:solid}slot[name=panel-top]::slotted(calcite-shell-panel:not([display-mode^=float])),slot[name=panel-bottom]::slotted(calcite-shell-panel:not([display-mode^=float])){border-color:var(--calcite-shell-border-color, var(--calcite-color-border-3));border-inline-start-width:var(--calcite-border-width-sm);border-inline-end-width:var(--calcite-border-width-sm)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}.content-bottom{justify-content:flex-end}::slotted(calcite-shell-panel){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0,5px,0)}to{opacity:1;transform:translateZ(0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:.25rem;--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);inset-block-end:.5rem;inset-inline:var(--calcite-shell-tip-spacing, 26vw)}slot[name=panel-bottom]::slotted(calcite-shell-panel){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-panel){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}.main.has-resizable-panel-top ::slotted(calcite-panel){border-block-start:none}.main.has-resizable-panel-bottom ::slotted(calcite-panel){border-block-end:none}.main.has-action-bar-position-panel ::slotted(calcite-panel){border:0}:host([hidden]){display:none}[hidden]{display:none}`,n={main:"main",content:"content",contentBehind:"content--behind",contentBottom:"content-bottom",contentNonInteractive:"content--non-interactive",hasActionBarPositionPanel:"has-action-bar-position-panel",hasResizablePanelBottom:"has-resizable-panel-bottom",hasResizablePanelTop:"has-resizable-panel-top",footer:"footer",positionedSlotWrapper:"positioned-slot-wrapper",contentBehindCenterContent:"center-content"},o={panelStart:"panel-start",panelEnd:"panel-end",panelTop:"panel-top",panelBottom:"panel-bottom",header:"header",footer:"footer",alerts:"alerts",sheets:"sheets",dialogs:"dialogs"},c=["panel-start","panel-end","panel-top","panel-bottom"],d=class extends g{constructor(){super(),this.panelSlotState={"panel-start":{elements:[],resizable:!1},"panel-end":{elements:[],resizable:!1},"panel-top":{elements:[],resizable:!1},"panel-bottom":{elements:[],resizable:!1}},this.hasAlerts=!1,this.hasDialogs=!1,this.hasFooter=!1,this.hasHeader=!1,this.hasActionBarPositionPanel=!1,this.hasOnlyPanelBottom=!1,this.hasPanelBottom=!1,this.hasPanelTop=!1,this.hasResizablePanelBottom=!1,this.hasResizablePanelTop=!1,this.hasSheets=!1,this.panelIsResizing=!1,this.contentBehind=!1,this.listen("calciteInternalShellPanelResizeStart",this.handleCalciteInternalShellPanelResizeStart),this.listen("calciteInternalShellPanelResizeEnd",this.handleCalciteInternalShellPanelResizeEnd),this.listen("calciteInternalShellPanelResizableChange",this.handleCalciteInternalShellPanelResizableChange),this.listen("calciteInternalShellPanelActionBarPositionChange",this.handleCalciteInternalShellPanelActionBarPositionChange)}static{this.properties={hasAlerts:[16,{},{state:!0}],hasDialogs:[16,{},{state:!0}],hasFooter:[16,{},{state:!0}],hasHeader:[16,{},{state:!0}],hasActionBarPositionPanel:[16,{},{state:!0}],hasOnlyPanelBottom:[16,{},{state:!0}],hasPanelBottom:[16,{},{state:!0}],hasPanelTop:[16,{},{state:!0}],hasResizablePanelBottom:[16,{},{state:!0}],hasResizablePanelTop:[16,{},{state:!0}],hasSheets:[16,{},{state:!0}],panelIsResizing:[16,{},{state:!0}],contentBehind:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=S}willUpdate(e){(e.has("hasPanelTop")&&(this.hasUpdated||this.hasPanelTop!==!1)||e.has("hasPanelBottom")&&(this.hasUpdated||this.hasPanelBottom!==!1))&&(this.hasOnlyPanelBottom=!this.hasPanelTop&&this.hasPanelBottom)}handleCalciteInternalShellPanelResizableChange(e){let t=e.composedPath().find(a=>a?.matches?.("calcite-shell-panel"));t?.slot&&c.includes(t.slot)&&this.updateResizableSlotState(t.slot),e.stopPropagation()}handleCalciteInternalShellPanelActionBarPositionChange(e){let t=e.composedPath().find(a=>a?.matches?.("calcite-shell-panel"));t?.slot&&c.includes(t.slot)&&this.updateResizableSlotState(t.slot),e.stopPropagation()}handleCalciteInternalShellPanelResizeStart(e){this.panelIsResizing=!0,e.stopPropagation()}handleCalciteInternalShellPanelResizeEnd(e){this.panelIsResizing=!1,e.stopPropagation()}handleHeaderSlotChange(e){this.hasHeader=!!r(e)}handleFooterSlotChange(e){this.hasFooter=!!r(e)}handleAlertsSlotChange(e){this.hasAlerts=!!r(e),h(e).filter(t=>t?.matches("calcite-alert")).forEach(t=>{t.embedded=!0})}handleSheetsSlotChange(e){this.hasSheets=!!r(e),h(e).filter(t=>t?.matches("calcite-sheet")).forEach(t=>{t.embedded=!0})}handlePanelTopChange(e){let t=h(e).filter(a=>a?.matches("calcite-shell-panel"));this.hasPanelTop=r(e),t.forEach(a=>{a.layout="horizontal",a.position="start"}),this.updateResizableSlotState("panel-top",t)}handlePanelBottomChange(e){let t=h(e).filter(a=>a?.matches("calcite-shell-panel"));this.hasPanelBottom=r(e),t.forEach(a=>{a.layout="horizontal",a.position="end"}),this.updateResizableSlotState("panel-bottom",t)}handlePanelStartChange(e){let t=h(e).filter(a=>a?.matches("calcite-shell-panel"));t.forEach(a=>{a.layout="vertical",a.position="start"}),this.updateResizableSlotState("panel-start",t)}handlePanelEndChange(e){let t=h(e).filter(a=>a?.matches("calcite-shell-panel"));t.forEach(a=>{a.layout="vertical",a.position="end"}),this.updateResizableSlotState("panel-end",t)}handleDialogsSlotChange(e){this.hasDialogs=!!r(e),h(e).filter(t=>t?.matches("calcite-dialog")).forEach(t=>{t.embedded=!0})}updateResizableSlotState(e,t=this.panelSlotState[e].elements){this.panelSlotState[e]={elements:t,resizable:t.some(a=>a.resizable)},this.syncResizableState(),this.syncActionBarPositionPanelState()}syncActionBarPositionPanelState(){this.hasActionBarPositionPanel=c.some(e=>this.panelSlotState[e].elements.some(t=>!!t.actionBarPosition))}syncResizableState(){this.hasResizablePanelBottom=this.panelSlotState["panel-bottom"].resizable,this.hasResizablePanelTop=this.panelSlotState["panel-top"].resizable}renderHeader(){return l`<div .hidden=${!this.hasHeader}>${s("header",l`<slot name=${o.header} @slotchange=${this.handleHeaderSlotChange}></slot>`)}</div>`}renderFooter(){return s("footer",l`<div class=${i(n.footer)} .hidden=${!this.hasFooter}><slot name=${o.footer} @slotchange=${this.handleFooterSlotChange}></slot></div>`)}renderAlerts(){return l`<div .hidden=${!this.hasAlerts}>${s("alerts",l`<slot name=${o.alerts} @slotchange=${this.handleAlertsSlotChange}></slot>`)}</div>`}renderSheets(){return l`<div .hidden=${!this.hasSheets}>${s("sheets",l`<slot name=${o.sheets} @slotchange=${this.handleSheetsSlotChange}></slot>`)}</div>`}renderDialogs(){return l`<div .hidden=${!this.hasDialogs}>${s("dialogs",l`<slot name=${o.dialogs} @slotchange=${this.handleDialogsSlotChange}></slot>`)}</div>`}renderContent(){let{panelIsResizing:e}=this,t=s("default-slot",l`<slot></slot>`),a=e?l`<div class=${i(n.contentNonInteractive)}>${t}</div>`:t,p=s("panel-bottom-slot",l`<slot name=${o.panelBottom} @slotchange=${this.handlePanelBottomChange}></slot>`),m=s("panel-top-slot",l`<slot name=${o.panelTop} @slotchange=${this.handlePanelTopChange}></slot>`),b="content-container";return this.contentBehind?[s(b,l`<div class=${i({[n.content]:!0,[n.contentBehind]:!0})}>${a}</div>`),l`<div class=${i({[n.contentBehindCenterContent]:!0,[n.contentBottom]:this.hasOnlyPanelBottom})}>${m}${p}</div>`]:[s(b,l`<div class=${i({[n.content]:!0,[n.contentBottom]:this.hasOnlyPanelBottom})}>${m}${a}${p}</div>`)]}renderMain(){return l`<div class=${i({[n.main]:!0,[n.hasActionBarPositionPanel]:this.hasActionBarPositionPanel,[n.hasResizablePanelBottom]:this.hasResizablePanelBottom,[n.hasResizablePanelTop]:this.hasResizablePanelTop})}><slot name=${o.panelStart} @slotchange=${this.handlePanelStartChange}></slot>${this.renderContent()}<slot name=${o.panelEnd} @slotchange=${this.handlePanelEndChange}></slot></div>`}renderPositionedSlots(){return l`<div class=${i(n.positionedSlotWrapper)}>${this.renderAlerts()}${this.renderDialogs()}${this.renderSheets()}</div>`}render(){return l`${this.renderHeader()}${this.renderMain()}${this.renderFooter()}${this.renderPositionedSlots()}`}};u("calcite-shell",d);export{d as Shell};
|
package/dist/cdn/PCWHJTFI.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as C,b as M}from"./EJ4Q77N6.js";import{a as I}from"./735UOYTJ.js";import{a as g}from"./RA3ZTRG2.js";import{a as S}from"./GZZYSINJ.js";import{a as _}from"./VI7SBYXT.js";import{a as L}from"./HIHNZASH.js";import{e as D}from"./XNTVXLSV.js";import"./S5W6RC6X.js";import{C as z,s as U,t as O}from"./QPZWBDRN.js";import{E as A,F as w,G as $,H as c,M as b,O as V,P,S as H,g as B,h,p}from"./5RP24S6I.js";var T=B`.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@keyframes in{0%{opacity:0}to{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0,-5px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0,5px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(.95,.95,1)}to{opacity:1;transform:scaleZ(1)}}`,i={container:"container",actionBarContainer:"action-bar-container",contentContainer:"content-container",content:"content",contentActionBarExpanded:"content--action-bar-expanded",contentHeader:"content__header",contentBody:"content__body",contentOverlay:"content--overlay",floatAll:"float-all",floatContent:"float--content",resizeHandle:"resize-handle",resizeHandleBar:"resize-handle-bar"},N={actionBar:"action-bar",header:"header"},K={dragVertical:"drag-resize-vertical",dragHorizontal:"drag-resize-horizontal"},Z=B`:host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-max-height: unset;--calcite-internal-shell-panel-shadow-block-start: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-block-end: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-start: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-border: var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3));--calcite-internal-shell-panel-resize-handle-thickness: var(--calcite-size-fixed-xxl);--calcite-internal-shell-panel-resize-handle-bar-thickness: var(--calcite-size-4xs);--calcite-internal-shell-panel-resize-handle-side-thickness: calc( var(--calcite-internal-shell-panel-resize-handle-thickness) - var( --calcite-internal-shell-panel-resize-handle-bar-thickness ) ) / 2}.calcite--rtl.content--overlay{--calcite-internal-shell-panel-shadow-inline-start: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][display-mode=float-all]) .content{flex:2}:host([layout=vertical]:not([display-mode=float-all])) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 300px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][display-mode=float-all]) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical]:not([display-mode=float-all])) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 420px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][display-mode=float-all]) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical]:not([display-mode=float-all])) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 680px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=vertical][display-mode=float-all]) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal]) .content{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 30vh)}:host([layout=horizontal]) .height-s{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 20vh)}:host([layout=horizontal]) .height-l{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 40vh)}:host([display-mode=float-all][height=s]),:host([display-mode=float-all][height-scale=s]) .content{min-block-size:var(--calcite-shell-panel-height, 20vh)}:host([display-mode=float-all][height=m]),:host([display-mode=float-all][height-scale=m]) .content{min-block-size:var(--calcite-shell-panel-height, 30vh)}:host([display-mode=float-all][height=l]),:host([display-mode=float-all][height-scale=l]) .content{min-block-size:var(--calcite-shell-panel-height, 40vh)}.container{pointer-events:none;box-sizing:border-box;display:flex;block-size:100%;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size-relative-base);color:var(--calcite-shell-panel-text-color, var(--calcite-color-text-2))}.container *{box-sizing:border-box}.container.float-all{margin-block:var(--calcite-spacing-sm);margin-inline:var(--calcite-spacing-sm)}:host([action-bar-position]) .container{flex-direction:var(--calcite-internal-shell-panel-container-flex-direction);padding-inline-start:var(--calcite-internal-shell-panel-container-padding-inline-start);padding-inline-end:var(--calcite-internal-shell-panel-container-padding-inline-end);padding-block-start:var(--calcite-internal-shell-panel-container-padding-block-start);padding-block-end:var(--calcite-internal-shell-panel-container-padding-block-end)}.float-all{max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) );box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));overflow:hidden}:host([layout=vertical][position=start]) .float-all{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-panel-border-color, var(--calcite-color-border-3))}:host([layout=vertical][position=end]) .float-all{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .float-all{border-inline:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .container{block-size:auto;inline-size:100%;flex-direction:column}:host([layout=horizontal]):host([action-bar-position]) .container{flex-direction:var(--calcite-internal-shell-panel-container-flex-direction, column)}.resize-handle{position:absolute;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;outline:2px solid transparent;outline-offset:2px;--calcite-internal-shell-panel-resize-handle-offset: calc( (var(--calcite-size-fixed-xxl) - var(--calcite-size-fixed-sm-plus)) / 2 * -1 );inset-inline-start:var(--calcite-internal-shell-panel-resize-handle-inset-inline-start);inset-inline-end:var(--calcite-internal-shell-panel-resize-handle-inset-inline-end);inset-block-start:var(--calcite-internal-shell-panel-resize-handle-inset-block-start);inset-block-end:var(--calcite-internal-shell-panel-resize-handle-inset-block-end);z-index:var(--calcite-z-index-header);touch-action:none}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-color-foreground-3))}.resize-handle-bar{pointer-events:none;display:flex;align-items:center;justify-content:center;color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-color-background))}.resize-handle:focus .resize-handle-bar{outline-color:transparent;outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}:host([position=start][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);block-size:100%;inset-inline-end:var(--calcite-internal-shell-panel-resize-handle-inset-inline-end, var(--calcite-internal-shell-panel-resize-handle-offset))}:host([position=start][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-start:var(--calcite-internal-shell-panel-border)}:host([position=start][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=start][layout=vertical]):host([action-bar-position]) .resize-handle{inline-size:var(--calcite-internal-shell-panel-resize-handle-inline-size, var(--calcite-size-fixed-sm-plus));block-size:var(--calcite-internal-shell-panel-resize-handle-block-size, 100%)}:host([position=start][layout=vertical]):host([action-bar-position]) .resize-handle-bar{border-inline-start:var(--calcite-internal-shell-panel-resize-handle-bar-border-inline-start, var(--calcite-internal-shell-panel-border))}:host([position=start][layout=vertical]):host([action-bar-position=top]){--calcite-internal-shell-panel-resize-handle-inset-block-start: calc( var(--calcite-internal-shell-panel-action-bar-height) * -1 )}:host([position=start][layout=vertical]):host([action-bar-position=top]) .resize-handle{block-size:calc(100% + var(--calcite-internal-shell-panel-action-bar-height))}:host([position=start][layout=vertical]):host([action-bar-position=bottom]) .resize-handle{block-size:calc(100% + var(--calcite-internal-shell-panel-action-bar-height))}:host([position=end][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-start:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=end][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-end:var(--calcite-internal-shell-panel-border)}:host([position=end][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=vertical]):host([action-bar-position]) .resize-handle{inline-size:var(--calcite-internal-shell-panel-resize-handle-inline-size, var(--calcite-size-fixed-sm-plus));block-size:var(--calcite-internal-shell-panel-resize-handle-block-size, 100%);inset-inline-start:var(--calcite-internal-shell-panel-resize-handle-inset-inline-start, var(--calcite-internal-shell-panel-resize-handle-offset))}:host([position=end][layout=vertical]):host([action-bar-position=top]){--calcite-internal-shell-panel-resize-handle-inset-block-start: calc( var(--calcite-internal-shell-panel-action-bar-height) * -1 )}:host([position=end][layout=vertical]):host([action-bar-position=top]) .resize-handle{block-size:calc(100% + var(--calcite-internal-shell-panel-action-bar-height))}:host([position=end][layout=vertical]):host([action-bar-position=bottom]) .resize-handle{block-size:calc(100% + var(--calcite-internal-shell-panel-action-bar-height))}:host([position=start][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=start][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-start:var(--calcite-internal-shell-panel-border)}:host([position=start][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=start][layout=horizontal]):host([action-bar-position]) .resize-handle{inline-size:var(--calcite-internal-shell-panel-resize-handle-inline-size, 100%);inset-block-end:var(--calcite-internal-shell-panel-resize-handle-inset-block-end, var(--calcite-internal-shell-panel-resize-handle-offset))}:host([position=end][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=end][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-end:var(--calcite-internal-shell-panel-border)}:host([position=end][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=horizontal]):host([action-bar-position]) .resize-handle{inline-size:var(--calcite-internal-shell-panel-resize-handle-inline-size, 100%);block-size:var(--calcite-internal-shell-panel-resize-handle-block-size, var(--calcite-size-fixed-xxl));inset-block-start:var(--calcite-internal-shell-panel-resize-handle-inset-block-start, var(--calcite-internal-shell-panel-resize-handle-offset))}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}.action-bar-container{pointer-events:auto;box-sizing:border-box;display:flex;flex:1 1 auto}.content-container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;align-items:stretch;align-self:stretch}:host([layout=horizontal]) .action-bar-container,:host([layout=horizontal]) .content-container{flex-direction:column}.content{pointer-events:auto;position:relative;box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;padding:0;background-color:var(--calcite-shell-panel-background-color, var(--calcite-color-background));transition:max-block-size var(--calcite-animation-timing),max-inline-size var(--calcite-animation-timing)}:host([action-bar-position]) .content{padding-inline-start:var(--calcite-internal-shell-panel-content-padding-inline-start);padding-inline-end:var(--calcite-internal-shell-panel-content-padding-inline-end);padding-block-start:var(--calcite-internal-shell-panel-content-padding-block-start);padding-block-end:var(--calcite-internal-shell-panel-content-padding-block-end)}.content--action-bar-expanded{--calcite-internal-shell-panel-max-width: 100%}:host([layout=vertical]:not([display-mode=float-all])) .content{inline-size:var(--calcite-internal-shell-panel-width);max-inline-size:var(--calcite-internal-shell-panel-max-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=vertical][display-mode=float-all]) .content{inline-size:var(--calcite-internal-shell-panel-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=horizontal]) .content{block-size:var(--calcite-internal-shell-panel-height);max-block-size:var(--calcite-internal-shell-panel-max-height);min-block-size:var(--calcite-internal-shell-panel-min-height)}:host([resizable][layout=vertical][position=start]) .content{padding-inline-end:var(--calcite-internal-shell-panel-content-padding-inline-end, var(--calcite-size-fixed-sm-plus))}:host([resizable][layout=vertical][position=end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=vertical][position=end]):host([action-bar-position]) .content{padding-inline-start:var(--calcite-internal-shell-panel-content-padding-inline-start, var(--calcite-size-fixed-sm-plus))}:host([resizable][layout=horizontal][position=start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=start]):host([action-bar-position]) .content{padding-block-end:var(--calcite-internal-shell-panel-content-padding-block-end, var(--calcite-size-fixed-sm-plus))}:host([resizable][layout=horizontal][position=end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=end]):host([action-bar-position]) .content{padding-block-start:var(--calcite-internal-shell-panel-content-padding-block-start, var(--calcite-size-fixed-sm-plus))}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm))}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-start)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-end)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-start)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-end)}.float--content{margin-block-end:auto;block-size:auto;overflow:hidden;box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));margin-inline:var(--calcite-spacing-sm);margin-block-start:var(--calcite-spacing-sm);max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) )}.float--content ::slotted(calcite-panel),.float--content ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .float--content{margin-block:var(--calcite-spacing-sm)}:host([position=start]) .float--content ::slotted(calcite-panel),:host([position=start]) .float--content ::slotted(calcite-flow),:host([position=end]) .float--content ::slotted(calcite-panel),:host([position=end]) .float--content ::slotted(calcite-flow){border-style:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([action-bar-position]) .content ::slotted(calcite-flow),:host([action-bar-position]) .content ::slotted(calcite-panel:not([closed])){border-inline-start:var(--calcite-internal-shell-panel-slotted-panel-border-inline-start, var(--calcite-internal-shell-panel-border));border-inline-end:var(--calcite-internal-shell-panel-slotted-panel-border-inline-end, var(--calcite-internal-shell-panel-border));border-block-start:var(--calcite-internal-shell-panel-slotted-panel-border-block-start, var(--calcite-internal-shell-panel-border));border-block-end:var(--calcite-internal-shell-panel-slotted-panel-border-block-end, var(--calcite-internal-shell-panel-border))}:host([action-bar-position]) slot[name=action-bar]::slotted(calcite-action-bar){border-block-start:var(--calcite-internal-shell-panel-action-bar-border-block-start);border-block-end:var(--calcite-internal-shell-panel-action-bar-border-block-end)}:host([position=start]:not([slot=panel-end])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=start]:not([slot=panel-end])):host([action-bar-position]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]):host([action-bar-position]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline-start:var(--calcite-internal-shell-panel-action-bar-border-inline-start, none);border-inline-end:var(--calcite-internal-shell-panel-action-bar-border-inline-end);border-block-start:var(--calcite-internal-shell-panel-action-bar-border-block-start);border-block-end:var(--calcite-internal-shell-panel-action-bar-border-block-end)}:host([resizable][layout=vertical]) .content ::slotted(calcite-flow),:host([resizable][layout=vertical]) .content ::slotted(calcite-panel){border-inline-start:none;border-inline-end:none}:host([resizable][layout=vertical]):host([action-bar-position]) .content ::slotted(calcite-flow),:host([resizable][layout=vertical]):host([action-bar-position]) .content ::slotted(calcite-panel){border-inline-start:var(--calcite-internal-shell-panel-slotted-panel-border-inline-start, none);border-inline-end:var(--calcite-internal-shell-panel-slotted-panel-border-inline-end, none)}:host([resizable][layout=horizontal]) .content ::slotted(calcite-flow),:host([resizable][layout=horizontal]) .content ::slotted(calcite-panel){border-block-start:none;border-block-end:none}:host([resizable][layout=horizontal]):host([action-bar-position]) .content ::slotted(calcite-flow),:host([resizable][layout=horizontal]):host([action-bar-position]) .content ::slotted(calcite-panel){border-block-start:var(--calcite-internal-shell-panel-slotted-panel-border-block-start, none);border-block-end:var(--calcite-internal-shell-panel-slotted-panel-border-block-end, none)}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([position=end]:not([slot=panel-start])):host([action-bar-position]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]):host([action-bar-position]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline-start:var(--calcite-internal-shell-panel-action-bar-border-inline-start);border-inline-end:var(--calcite-internal-shell-panel-action-bar-border-inline-end, none)}:host([position=end]:not([slot=panel-start])):host([action-bar-position]) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])):host([action-bar-position]) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]):host([action-bar-position]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]):host([action-bar-position]) .content ::slotted(calcite-panel){border-inline-start:var(--calcite-internal-shell-panel-slotted-panel-border-inline-start);border-inline-end:var(--calcite-internal-shell-panel-slotted-panel-border-inline-end, none)}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([display-mode=dock]) .resize-handle-bar,:host([display-mode=float-all]) .resize-handle-bar,:host([display-mode=overlay]) .resize-handle-bar{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}:host([display-mode=dock]):host([action-bar-position]) .resize-handle-bar,:host([display-mode=float-all]):host([action-bar-position]) .resize-handle-bar,:host([display-mode=overlay]):host([action-bar-position]) .resize-handle-bar{border-inline-end:var(--calcite-internal-shell-panel-resize-handle-bar-border-inline-end, var(--calcite-border-width-sm) solid var(--calcite-color-border-3));border-block-start:var(--calcite-internal-shell-panel-resize-handle-bar-border-block-start, var(--calcite-border-width-sm) solid var(--calcite-color-border-3));border-block-end:var(--calcite-internal-shell-panel-resize-handle-bar-border-block-end, var(--calcite-border-width-sm) solid var(--calcite-color-border-3))}:host([action-bar-position]) ::slotted(calcite-action-bar){display:flex;flex:1 1 0}:host([action-bar-position=start][slot=panel-start]){--calcite-internal-shell-panel-action-bar-border-inline-start: 0;--calcite-internal-shell-panel-action-bar-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-start: 0;--calcite-internal-shell-panel-action-bar-border-block-end: 0;--calcite-internal-shell-panel-slotted-panel-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-inline-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-resize-handle-inset-inline-end: calc( var(--calcite-internal-shell-panel-resize-handle-side-thickness) * -1 );--calcite-internal-shell-panel-resize-handle-inline-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=start][slot=panel-end]){--calcite-internal-shell-panel-action-bar-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-inline-end: 0;--calcite-internal-shell-panel-slotted-panel-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-resize-handle-inset-inline-start: calc( calc( var(--calcite-internal-shell-panel-action-bar-width) + var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-resize-handle-inset-inline-end: auto;--calcite-internal-shell-panel-content-padding-inline-start: 0;--calcite-internal-shell-panel-resize-handle-inline-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=start][slot=panel-end]):host([resizable]){--calcite-internal-shell-panel-container-padding-inline-start: var( --calcite-internal-shell-panel-resize-handle-bar-thickness )}:host([action-bar-position=end][slot=panel-start]){--calcite-internal-shell-panel-action-bar-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-inline-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-resize-handle-inset-inline-start: auto;--calcite-internal-shell-panel-resize-handle-inset-inline-end: calc( calc( var(--calcite-internal-shell-panel-action-bar-width) + var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-container-padding-inline-end: 0;--calcite-internal-shell-panel-content-padding-inline-end: 0;--calcite-internal-shell-panel-resize-handle-inline-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=end][slot=panel-start]):host([resizable]){--calcite-internal-shell-panel-container-padding-inline-end: var( --calcite-internal-shell-panel-resize-handle-bar-thickness )}:host([action-bar-position=end][slot=panel-end]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-action-bar-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: 0;--calcite-internal-shell-panel-resize-handle-inset-inline-start: calc( var(--calcite-internal-shell-panel-resize-handle-side-thickness) * -1 );--calcite-internal-shell-panel-content-padding-inline-start: 0;--calcite-internal-shell-panel-resize-handle-inline-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=end][slot=panel-end]):host([resizable]){--calcite-internal-shell-panel-content-padding-inline-start: var( --calcite-internal-shell-panel-resize-handle-bar-thickness )}:host([action-bar-position=top][slot=panel-start]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-action-bar-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: 0;--calcite-internal-shell-panel-container-flex-direction: column;--calcite-internal-shell-panel-resize-handle-inset-inline-end: calc( calc( var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-resize-handle-inline-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=top][slot=panel-start]):host([resizable]){--calcite-internal-shell-panel-container-padding-inline-end: var( --calcite-internal-shell-panel-resize-handle-bar-thickness );--calcite-internal-shell-panel-content-padding-inline-end: 0}:host([action-bar-position=top][slot=panel-end]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-action-bar-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: 0;--calcite-internal-shell-panel-container-flex-direction: column;--calcite-internal-shell-panel-resize-handle-inset-inline-start: calc( calc( var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-resize-handle-inline-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=top][slot=panel-end]):host([resizable]){--calcite-internal-shell-panel-container-padding-inline-start: var( --calcite-internal-shell-panel-resize-handle-bar-thickness );--calcite-internal-shell-panel-content-padding-inline-start: 0}:host([action-bar-position=bottom][slot=panel-start]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-slotted-panel-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: 0;--calcite-internal-shell-panel-action-bar-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-container-flex-direction: column;--calcite-internal-shell-panel-resize-handle-inset-inline-end: calc( calc( var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-content-padding-inline-end: 0;--calcite-internal-shell-panel-resize-handle-inline-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=bottom][slot=panel-start]):host([resizable]){--calcite-internal-shell-panel-container-padding-inline-end: var( --calcite-internal-shell-panel-resize-handle-bar-thickness )}:host([action-bar-position=bottom][slot=panel-end]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-slotted-panel-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: 0;--calcite-internal-shell-panel-action-bar-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-container-flex-direction: column;--calcite-internal-shell-panel-resize-handle-inset-inline-start: calc( calc( var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-resize-handle-inline-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=bottom][slot=panel-end]):host([resizable]){--calcite-internal-shell-panel-container-padding-inline-start: var( --calcite-internal-shell-panel-resize-handle-bar-thickness );--calcite-internal-shell-panel-content-padding-inline-start: 0}:host([action-bar-position=top][slot=panel-top]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-shell-panel-z-index: var(--calcite-z-index-sticky)}:host([action-bar-position=top][slot=panel-bottom]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-slotted-panel-border-block-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-resize-handle-inset-block-start: calc( calc( var(--calcite-internal-shell-panel-action-bar-height) + var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 )}:host([action-bar-position=top][slot=panel-bottom]):host([resizable]){--calcite-internal-shell-panel-container-padding-block-start: var( --calcite-internal-shell-panel-resize-handle-bar-thickness );--calcite-internal-shell-panel-content-padding-block-start: 0}:host([action-bar-position=bottom][slot=panel-top]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-resize-handle-inset-block-end: calc( calc( var(--calcite-internal-shell-panel-action-bar-height) + var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-content-padding-block-end: 0;--calcite-shell-panel-z-index: var(--calcite-z-index-sticky)}:host([action-bar-position=bottom][slot=panel-top]):host([resizable]){--calcite-internal-shell-panel-container-padding-block-end: var( --calcite-internal-shell-panel-resize-handle-bar-thickness )}:host([action-bar-position=bottom][slot=panel-bottom]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-slotted-panel-border-block-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-start: var(--calcite-internal-shell-panel-border)}:host([action-bar-position=start][slot=panel-top]){--calcite-internal-shell-panel-action-bar-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-resize-handle-inset-inline-start: calc( var(--calcite-internal-shell-panel-action-bar-width) * -1 );--calcite-internal-shell-panel-resize-handle-inset-inline-end: 0;--calcite-internal-shell-panel-resize-handle-inset-block-end: calc( calc( var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-container-flex-direction: row;--calcite-internal-shell-panel-content-padding-block-end: 0;--calcite-internal-shell-panel-resize-handle-inline-size: auto;--calcite-shell-panel-z-index: var(--calcite-z-index-sticky)}:host([action-bar-position=start][slot=panel-top]):host([resizable]){--calcite-internal-shell-panel-container-padding-block-end: var( --calcite-internal-shell-panel-resize-handle-bar-thickness )}:host([action-bar-position=end][slot=panel-top]){--calcite-internal-shell-panel-action-bar-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-container-flex-direction: row;--calcite-internal-shell-panel-resize-handle-inset-inline-start: 0;--calcite-internal-shell-panel-resize-handle-inset-inline-end: calc( var(--calcite-internal-shell-panel-action-bar-width) * -1 );--calcite-internal-shell-panel-resize-handle-inset-block-end: calc( calc( var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-content-padding-block-end: 0;--calcite-internal-shell-panel-resize-handle-inline-size: auto;--calcite-shell-panel-z-index: var(--calcite-z-index-sticky)}:host([action-bar-position=end][slot=panel-top]):host([resizable]){--calcite-internal-shell-panel-container-padding-block-end: var( --calcite-internal-shell-panel-resize-handle-bar-thickness )}:host([action-bar-position=start][slot=panel-bottom]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-action-bar-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-container-flex-direction: row;--calcite-internal-shell-panel-resize-handle-inset-inline-start: calc( var(--calcite-internal-shell-panel-action-bar-width) * -1 );--calcite-internal-shell-panel-resize-handle-inset-inline-end: 0;--calcite-internal-shell-panel-resize-handle-inset-block-start: calc( calc( var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-resize-handle-inline-size: auto;--calcite-internal-shell-panel-resize-handle-block-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=start][slot=panel-bottom]):host([resizable]){--calcite-internal-shell-panel-content-padding-block-start: 0;--calcite-internal-shell-panel-container-padding-block-start: var( --calcite-internal-shell-panel-resize-handle-bar-thickness )}:host([action-bar-position=end][slot=panel-bottom]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-action-bar-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-container-flex-direction: row;--calcite-internal-shell-panel-resize-handle-inset-inline-start: 0;--calcite-internal-shell-panel-resize-handle-inset-inline-end: calc( var(--calcite-internal-shell-panel-action-bar-width) * -1 );--calcite-internal-shell-panel-resize-handle-inset-block-start: calc( calc( var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-resize-handle-inline-size: auto;--calcite-internal-shell-panel-resize-handle-block-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=end][slot=panel-bottom]):host([resizable]){--calcite-internal-shell-panel-content-padding-block-start: 0;--calcite-internal-shell-panel-container-padding-block-start: var( --calcite-internal-shell-panel-resize-handle-bar-thickness )}:host([hidden]){display:none}[hidden]{display:none}`,E=class extends ${constructor(){super(),this.direction=D(),this.resizeHandleRef=A(),this.actionBarContainerResizeObserver=_("resize",()=>this.updateActionBarSize()),this.handleActionBarExpand=()=>{this.isActionBarExpanded=!0},this.handleActionBarCollapse=()=>{this.isActionBarExpanded=!1},this.contentRef=A(),this.messages=L(),this.sizeOverride=M({targetElement:this.contentRef,getBounds:()=>({inline:{min:this.resizeValues.minInlineSize,max:this.resizeValues.maxInlineSize},block:{min:this.resizeValues.minBlockSize,max:this.resizeValues.maxBlockSize}}),onResize:e=>{this.resizeValues=e}}),this.resizeValues={inlineSize:null,blockSize:null,minInlineSize:null,minBlockSize:null,maxInlineSize:null,maxBlockSize:null},this.isActionBarExpanded=!1,this.hasHeader=!1,this.collapsed=!1,this.displayMode="dock",this.layout="vertical",this.position="start",this.resizable=!1,this.widthScale="m",this.calciteInternalShellPanelActionBarPositionChange=p({cancelable:!1}),this.calciteInternalShellPanelResizableChange=p({cancelable:!1}),this.calciteInternalShellPanelResizeEnd=p({cancelable:!1}),this.calciteInternalShellPanelResizeStart=p({cancelable:!1}),this.calciteShellPanelCollapse=p({cancelable:!1}),this.calciteShellPanelExpand=p({cancelable:!1}),this.listen("calciteActionBarExpand",this.handleActionBarExpandEvent),this.listen("calciteActionBarCollapse",this.handleActionBarCollapseEvent)}static{this.properties={resizeValues:[16,{},{state:!0}],isActionBarExpanded:[16,{},{state:!0}],hasHeader:[16,{},{state:!0}],actionBarPosition:[3,{},{reflect:!0}],collapsed:[7,{},{reflect:!0,type:Boolean}],displayMode:[3,{},{reflect:!0}],heightScale:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],position:[3,{},{reflect:!0}],resizable:[7,{},{reflect:!0,type:Boolean}],height:[3,{},{reflect:!0}],widthScale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}]}}static{this.styles=[Z,T]}async updateSize(e){this.updateSizeInternal(e)}connectedCallback(){super.connectedCallback(),this.hasUpdated&&(this.refreshResize(),this.syncActionBarExpandedState())}willUpdate(e){let l=!1;e.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&(this.setActionBarLayout(this.actionBar),this.updateSizeInternal({inline:null,block:null}),l=!0),(e.has("direction")&&this.hasUpdated||e.has("position")&&(this.hasUpdated||this.position!=="start"))&&(l=!0),(e.has("collapsed")&&(this.hasUpdated||this.collapsed!==!1)||e.has("resizable")&&(this.hasUpdated||this.resizable!==!1))&&(l=this.resizable&&!this.collapsed,l||this.cleanUpInteractions()),l&&this.refreshResize(),e.has("actionBarPosition")&&this.hasUpdated&&this.setActionBarLayout(this.actionBar),e.has("resizable")&&this.hasUpdated&&this.calciteInternalShellPanelResizableChange.emit(),e.has("collapsed")&&this.hasUpdated&&(this.collapsed?this.calciteShellPanelCollapse.emit():this.calciteShellPanelExpand.emit())}updated(e){e.has("actionBarPosition")&&this.calciteInternalShellPanelActionBarPositionChange.emit()}disconnectedCallback(){super.disconnectedCallback(),this.cleanUpInteractions(),this.actionBarContainerEl&&this.actionBarContainerResizeObserver?.unobserve(this.actionBarContainerEl)}updateSizeInternal(e){this.contentRef.value&&this.sizeOverride.resize(e)}handleKeyDown(e){let{key:l,defaultPrevented:o,shiftKey:s}=e,{position:n,layout:a,resizable:r,contentRef:t,resizeValues:{maxBlockSize:v,maxInlineSize:m,minBlockSize:k,minInlineSize:u}}=this,y=[...a==="horizontal"?["ArrowUp","ArrowDown"]:["ArrowLeft","ArrowRight"],"Home","End"];if(!r||!t.value||o||!y.includes(l))return;let x=t.value.getBoundingClientRect(),R=this.direction==="rtl"?-1:1,d=s?P:V;switch(l){case"ArrowUp":this.updateSizeInternal({block:x.height+(a==="horizontal"&&n==="end"?d:-d)}),e.preventDefault();break;case"ArrowDown":this.updateSizeInternal({block:x.height+(a==="horizontal"&&n==="end"?-d:d)}),e.preventDefault();break;case"ArrowLeft":this.updateSizeInternal({inline:x.width+(a==="vertical"&&n==="end"?d:-d)*R}),e.preventDefault();break;case"ArrowRight":this.updateSizeInternal({inline:x.width+(a==="vertical"&&n==="end"?-d:d)*R}),e.preventDefault();break;case"Home":this.updateSizeInternal(a==="horizontal"?{block:k}:{inline:u}),e.preventDefault();break;case"End":this.updateSizeInternal(a==="horizontal"?{block:v}:{inline:m}),e.preventDefault();break}}cleanUpInteractions(){this.interaction?.unset()}updateResizeValues(){let{contentRef:e}=this;if(!e.value)return;let l=window.getComputedStyle(e.value);this.resizeValues={inlineSize:z(l.inlineSize),blockSize:z(l.blockSize),minInlineSize:z(l.minInlineSize),minBlockSize:z(l.minBlockSize),maxInlineSize:z(l.maxInlineSize)||window.innerWidth,maxBlockSize:z(l.maxBlockSize)||window.innerHeight}}async refreshResize(){await this.componentOnReady(),await this.updateComplete,this.updateResizeValues(),this.setUpResizeInteractions()}setUpResizeInteractions(){this.cleanUpInteractions();let{el:e,contentRef:l,resizable:o,position:s,collapsed:n,resizeHandleRef:a,layout:r}=this,t=a.value;if(!l.value||n||!o||!t)return;let v=this.direction==="rtl",m=this.resizeValues.minInlineSize===null||this.resizeValues.minBlockSize===null?void 0:{width:this.resizeValues.minInlineSize,height:this.resizeValues.minBlockSize},k=this.resizeValues.maxInlineSize===null||this.resizeValues.maxBlockSize===null?void 0:{width:this.resizeValues.maxInlineSize,height:this.resizeValues.maxBlockSize};this.interaction=C(l.value,{context:e.ownerDocument}).resizable({edges:{top:s==="end"&&r==="horizontal"?t:!1,right:s===(v?"end":"start")&&r==="vertical"?t:!1,bottom:s==="start"&&r==="horizontal"?t:!1,left:s===(v?"start":"end")&&r==="vertical"?t:!1},modifiers:[C.modifiers.restrictSize({min:m,max:k})],listeners:{resizestart:()=>{this.calciteInternalShellPanelResizeStart.emit()},resizeend:()=>{this.calciteInternalShellPanelResizeEnd.emit()},move:({rect:u})=>{let f=r==="horizontal";this.updateSize(f?{block:u.height}:{inline:u.width})}}})}setActionBarContainerEl(e){this.actionBarContainerEl&&this.actionBarContainerResizeObserver?.unobserve(this.actionBarContainerEl),this.actionBarContainerEl=e,e&&(this.actionBarContainerResizeObserver?.observe(e),this.updateActionBarSize())}updateActionBarSize(){if(!this.actionBarContainerEl)return;let e=this.actionBarContainerEl.getBoundingClientRect(),l=e.width,o=e.height;this.el.style.setProperty("--calcite-internal-shell-panel-action-bar-width",`${l}px`),this.el.style.setProperty("--calcite-internal-shell-panel-action-bar-height",`${o}px`)}setActionBarLayout(e){if(e){if(this.actionBarPosition){e.layout=this.actionBarPosition==="top"||this.actionBarPosition==="bottom"?"horizontal":"vertical";return}e.layout=this.layout}}handleActionBarSlotChange(e){let l=O(e).find(o=>o.matches("calcite-action-bar"));this.actionBar=l,this.setActionBarLayout(l),this.syncActionBarExpandedState(l)}handleActionBarExpandEvent(e){e.target===this.actionBar&&this.handleActionBarExpand()}handleActionBarCollapseEvent(e){e.target===this.actionBar&&this.handleActionBarCollapse()}handleHeaderSlotChange(e){this.hasHeader=U(e)}getResizeIcon(){let{layout:e}=this;return e==="horizontal"?K.dragVertical:K.dragHorizontal}syncActionBarExpandedState(e=this.actionBar){this.isActionBarExpanded=!!e?.expanded}renderHeader(){return g("header",h`<div class=${c(i.contentHeader)} .hidden=${!this.hasHeader}><slot name=${N.header} @slotchange=${this.handleHeaderSlotChange}></slot></div>`)}render(){let{collapsed:e,position:l,resizable:o,layout:s,displayMode:n,resizeValues:a}=this,r=this.direction,t=s==="horizontal",v=!e&&o?g("resize-handle",h`<div .ariaLabel=${this.messages.resize} .ariaOrientation=${t?"vertical":"horizontal"} .ariaValueMax=${S(t?"block":"inline",a.maxBlockSize,a.maxInlineSize)} .ariaValueMin=${S(t?"block":"inline",a.minBlockSize,a.minInlineSize)} .ariaValueNow=${S(t?"block":"inline",a.blockSize,a.inlineSize)} class=${c(i.resizeHandle)} @keydown=${this.handleKeyDown} role=separator tabindex=0 ${w(this.resizeHandleRef)}><div class=${c(i.resizeHandleBar)}><calcite-icon .icon=${this.getResizeIcon()} scale=s></calcite-icon></div></div>`):null,m=()=>s==="horizontal"?l==="start"?b.calciteAnimateInDown:b.calciteAnimateInUp:r==="ltr"&&l==="end"||r==="rtl"&&l==="start"?b.calciteAnimateInLeft:b.calciteAnimateInRight,k=h`<div class=${c(i.contentContainer)}>${g("content",h`<div class=${c({[b.rtl]:r==="rtl",[i.content]:!0,[i.contentActionBarExpanded]:this.isActionBarExpanded,[i.contentOverlay]:n==="overlay",[i.floatContent]:n==="float-content"||n==="float",[b.calciteAnimate]:n==="overlay",[m()]:n==="overlay",[I("width",this.width,this.widthScale)]:!!(this.width||this.widthScale),[I("height",this.height,this.heightScale)]:!!(this.height||this.heightScale)})} .hidden=${e} ${w(this.contentRef)}>${this.renderHeader()}<div class=${c(i.contentBody)}><slot></slot></div>${v}</div>`)}</div>`,u=g("action-bar-container",h`<div class=${c(i.actionBarContainer)} ${w(this.setActionBarContainerEl)}><slot name=${N.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`),f=this.actionBarPosition||l,y=[u,k];return(f==="end"||f==="bottom")&&y.reverse(),h`<div class=${c({[i.container]:!0,[i.floatAll]:n==="float-all"})}>${y}</div>`}};H("calcite-shell-panel",E);export{E as ShellPanel};
|
package/dist/cdn/XKRS7NPC.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as ot}from"./UYUBR74C.js";import{a as tt}from"./5EBGPCB7.js";import{a as it,c as nt}from"./KDQXAYDJ.js";import{a as at}from"./DDD32FUC.js";import{a as Q}from"./VI7SBYXT.js";import{a as _}from"./HIHNZASH.js";import{a as m,d as h}from"./5IJ25RMA.js";import{c as et,e as f}from"./DMK27J6W.js";import{c as H}from"./BEE5ZZFY.js";import{a as Z}from"./62XMTWRN.js";import"./ZWPNZ5XW.js";import{e as J}from"./XNTVXLSV.js";import"./S5W6RC6X.js";import{C as d,t as X,u as Y,x}from"./QPZWBDRN.js";import{E as g,F as S,G as F,H as P,N as K,S as V,g as N,h as G,l as j,p as w}from"./5RP24S6I.js";var pt=({bufferSize:l=0,containerSize:t,itemSizes:e})=>{let i=t-l,n=e.length,s=0;for(let[a,o]of e.entries())if(s=s+o,s>i){n=a;break}else continue;return n},ut=({bufferSize:l=0,containerSize:t,itemSizes:e})=>Math.max(e.length-pt({bufferSize:l,itemSizes:e,containerSize:t}),0),L={container:"container",actionGroupEnd:"action-group--end",actionGroupStart:"action-group--start"},U={actionsEnd:"actions-end",actionsStart:"actions-start",expandTooltip:"expand-tooltip"},gt=l=>l.flatMap(t=>h(t)?t.actions:f(t)?t.actions.filter(e=>e.slot===et.trigger):t).filter(t=>!!t),ft=({actionGroups:l,expanded:t,overflowCount:e})=>{let i=e;[...l].reverse().forEach(n=>{let s=0,a=n.actions.filter(o=>o.parentElement===n).reverse();a.forEach(o=>{o.slot===m.menuActions&&(o.removeAttribute("slot"),o.textEnabled=t)}),i>0&&!n.overflowActionsDisabled&&a.some(o=>(a.filter(c=>!c.slot).length>1&&a.length>2&&!o.closest("calcite-action-menu")&&!o.overflowDisabled&&(o.textEnabled=!0,o.setAttribute("slot",m.menuActions),s++,s>1&&i--),i<1)),n.manager.component.requestUpdate()})},At=N`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([scale=s]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-spacing-xxs));--calcite-internal-action-bar-padding: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-spacing-sm));--calcite-internal-action-bar-padding: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-space-sm-plus));--calcite-internal-action-bar-padding: var(--calcite-spacing-sm-plus)}:host{display:inline-flex;align-self:stretch;background:transparent;--calcite-internal-action-group-dividing-border-margin: calc(var(--calcite-spacing-base) + 1px)}.container{display:inline-flex;flex:1 1 auto;flex-direction:column;background-color:var(--calcite-action-bar-background-color, var(--calcite-color-foreground-1));gap:var(--calcite-internal-action-bar-gap);padding:var(--calcite-internal-action-bar-padding)}@keyframes in{0%{opacity:0}to{opacity:1}}:host([floating]) .container{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;overflow:hidden;border-radius:var(--calcite-action-bar-corner-radius, var(--calcite-corner-radius-round));box-shadow:var(--calcite-action-bar-shadow, var(--calcite-shadow-md))}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]):host([overflow-actions-disabled]) .container{overflow-y:auto}:host([layout=vertical]):host([expanded]) .container{max-inline-size:var(--calcite-action-bar-expanded-max-width, auto)}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm);border-image:linear-gradient(to right,transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent var(--calcite-internal-action-group-dividing-border-margin));border-image-slice:1;padding-block-end:var(--calcite-internal-action-bar-padding)}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]):host([overflow-actions-disabled]) .container{overflow-x:auto}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=horizontal]) ::slotted(calcite-action-group:not(:last-of-type)){border-image:linear-gradient(transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent var(--calcite-internal-action-group-dividing-border-margin));border-image-slice:1;border-inline-end-width:var(--calcite-border-width-sm);padding-inline-end:var(--calcite-internal-action-bar-padding)}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}`,W=class extends F{constructor(){super(),this.actions=[],this.containerRef=g(),this.defaultSlotRef=g(),this.actionsStartSlotRef=g(),this.actionsEndSlotRef=g(),this.actionsStartGroupRef=g(),this.actionsEndGroupRef=g(),this.direction=J(),this.defaultSlotItems=[],this.actionGroups=[],this.actionMenus=[],this.actionsStart=[],this.actionsStartGroups=[],this.actionsEnd=[],this.actionsEndGroups=[],this.overflowPassId=0,this.suppressedActionGroupActionsChange=new WeakMap,this.cancelable=ot()(this),this.resize=tt(({width:t,height:e})=>{let{expanded:i,expandToggleDisabled:n,layout:s,overflowActionsDisabled:a,expandPosition:o}=this;if(a||s==="vertical"&&!e||s==="horizontal"&&!t||!this.containerRef.value)return;this.updateGroups();let r=this.getItemSizes(),{actionGroups:c,actionsEnd:T,actionsEndGroups:C,actionsStart:D,actionsStartGroups:z,defaultSlotItems:k}=this,A=[...z,...c,...C],I=this.hasActionsEnd||!n&&o==="end"?1:0,E=this.hasActionsStart||!n&&o==="start"?1:0,M=k.length+I+E,p=M,v=getComputedStyle(this.containerRef.value);if(p+=d(s==="horizontal"?v.paddingInlineStart:v.paddingBlockStart)+d(s==="horizontal"?v.paddingInlineEnd:v.paddingBlockEnd),A.length>0){let y=A.length-1;A.forEach((b,R)=>{let u=getComputedStyle(b),O=d(u.gap),$=b.actions.filter(B=>B.slot!==m.menuActions).length,lt=b.actions.some(B=>B.slot===m.menuActions),dt=$+(lt?1:0),ht=Math.max(dt-1,0);p+=O*ht,R!==y&&(p+=d(s==="horizontal"?u.paddingInlineEnd:u.paddingBlockEnd),p+=d(s==="horizontal"?u.borderInlineEndWidth:u.borderBlockEndWidth))})}let q=(y,b,R)=>{if(!b||y.length<1)return;let u=getComputedStyle(b),O=d(u.gap),$=y.length+(R?1:0);p+=O*Math.max($-1,0)},st=!n&&o==="start",rt=!n&&o==="end";q(D,this.actionsStartGroupRef.value,st),q(T,this.actionsEndGroupRef.value,rt),M>1&&(p+=d(v.gap)*(M-1));let ct=ut({bufferSize:p,containerSize:s==="horizontal"?t:e,itemSizes:r});this.runOverflowActions({actionGroups:A,expanded:i,overflowCount:ct})},K.resize),this.resizeHandler=t=>{let{width:e,height:i}=t.contentRect;this.resize({width:e,height:i})},this.resizeObserver=Q("resize",t=>this.resizeHandlerEntries(t)),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.messages=_({blocking:!0}),this.focusSetter=Z()(this),this.setExpandToggleEl=t=>{this.expandToggleEl=t},this.hasActionsEnd=!1,this.hasActionsStart=!1,this.floating=!1,this.expandToggleDisabled=!1,this.expanded=!1,this.expandPosition="end",this.layout="vertical",this.overflowActionsDisabled=!1,this.overlayPositioning="absolute",this.scale="m",this.selectionAppearance="neutral",this.calciteActionBarCollapse=w({cancelable:!1}),this.calciteActionBarExpand=w({cancelable:!1}),this.calciteActionBarToggle=w({cancelable:!1}),this.listen("calciteActionMenuOpen",this.actionMenuOpenHandler),this.listen("calciteInternalActionGroupActionsChange",this.handleActionGroupActionsChange),this.listen("calciteInternalActionMenuActionsChange",this.handleActionMenuActionsChange),this.listen("keydown",this.handleKeyDown)}static{this.properties={expandTooltip:[16,{},{state:!0}],hasActionsEnd:[16,{},{state:!0}],hasActionsStart:[16,{},{state:!0}],actionsEndGroupLabel:1,actionsStartGroupLabel:1,floating:[7,{},{reflect:!0,type:Boolean}],expandToggleDisabled:[7,{},{reflect:!0,type:Boolean}],expandDisabled:[7,{},{reflect:!0,type:Boolean}],expanded:[7,{},{reflect:!0,type:Boolean}],expandPosition:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],overflowActionsDisabled:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],position:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],selectionAppearance:[3,{},{reflect:!0}]}}static{this.styles=At}get expandDisabled(){return this.expandToggleDisabled}set expandDisabled(t){at.deprecated("property",{component:this,name:"expandDisabled",removalVersion:6,suggested:"expandToggleDisabled"}),this.expandToggleDisabled=t}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(t){return this.focusSetter(()=>this.el,t)}connectedCallback(){super.connectedCallback(),this.overflowActionsDisabledHandler(this.overflowActionsDisabled),this.cancelable.add(this.resize)}willUpdate(t){(t.has("expandDisabled")&&(this.hasUpdated||this.expandDisabled!==!1)||t.has("expandToggleDisabled")&&(this.hasUpdated||this.expandToggleDisabled!==!1)||t.has("expandPosition")&&(this.hasUpdated||this.expandPosition!=="end"))&&this.overflowActions(),t.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&this.updateGroups(),t.has("overflowActionsDisabled")&&(this.hasUpdated||this.overflowActionsDisabled!==!1)&&this.overflowActionsDisabledHandler(this.overflowActionsDisabled),t.has("expanded")&&this.hasUpdated&&(this.expandedHandler(),this.expanded?this.calciteActionBarExpand.emit():this.calciteActionBarCollapse.emit()),t.has("selectionAppearance")&&(this.hasUpdated||this.selectionAppearance!=="neutral")&&this.updateActions()}loaded(){this.syncDefaultSlot(),this.syncActionsStartSlot(),this.syncActionsEndSlot(),this.syncActionsState(),this.overflowActions()}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}getItemSizes(){let{layout:t,expandToggleEl:e}=this,i=[...this.actions];e&&i.push(e);let n=t==="horizontal"?"clientWidth":"clientHeight",s=Math.max(...i.map(a=>a[n]||0));return i.map(a=>a[n]||s)}expandedHandler(){this.syncActionsState(!0),this.overflowActions()}overflowActionsDisabledHandler(t){if(t){this.resizeObserver?.disconnect();return}this.resizeObserver?.observe(this.el),this.overflowActions()}actionMenuOpenHandler(t){let e=t.composedPath(),i=e.find(n=>h(n)||f(n));i&&(h(i)&&!i.menuOpen||f(i)&&!i.open||(this.getTrackedActionGroups().forEach(n=>{e.includes(n)||(n.menuOpen=!1)}),this.getTrackedActionMenus().forEach(n=>{e.includes(n)||(n.open=!1)})))}runOverflowActions({actionGroups:t,expanded:e,overflowCount:i}){let n=++this.overflowPassId,s=new Map;t.forEach(a=>{let o=a.actions.filter(r=>r.parentElement===a);s.set(a,o.map(r=>r.slot??"").join("|"))}),ft({actionGroups:t,expanded:e,overflowCount:i}),t.forEach(a=>{let r=a.actions.filter(c=>c.parentElement===a).map(c=>c.slot??"").join("|");s.get(a)!==r&&(this.suppressedActionGroupActionsChange.set(a,n),this.queueSuppressedActionGroupActionsChangeCleanup(a,n))})}queueSuppressedActionGroupActionsChangeCleanup(t,e){queueMicrotask(()=>{this.suppressedActionGroupActionsChange.get(t)===e&&this.suppressedActionGroupActionsChange.delete(t)})}resizeHandlerEntries(t){t.forEach(this.resizeHandler)}getSectionWrapperGroups(){return[this.actionsStartGroupRef.value,this.actionsEndGroupRef.value].filter(t=>!!t)}updateGroups(){[...this.actionGroups,...this.actionsStartGroups,...this.actionsEndGroups,...this.getSectionWrapperGroups()].forEach(e=>{e.layout=this.layout,e.scale=this.scale})}handleDefaultSlotChange(){this.syncSlotAndActions(()=>this.syncDefaultSlot())}handleActionsEndSlotChange(){this.syncSlotAndActions(()=>this.syncActionsEndSlot())}handleActionsStartSlotChange(){this.syncSlotAndActions(()=>this.syncActionsStartSlot())}handleTooltipSlotChange(t){let e=X(t).filter(i=>i?.matches("calcite-tooltip"));this.expandTooltip=e[0]}updateActions(){let t=new Set(this.actions);this.getTrackedActionMenus().forEach(e=>{e.actions.forEach(i=>t.add(i))}),t.forEach(e=>{e.selectionAppearance=this.selectionAppearance})}syncActions(){this.actions=gt([...this.actionsStart,...this.defaultSlotItems,...this.actionsEnd])}syncActionsAndOverflow(){this.syncActionsState(),this.overflowActions()}syncSlotAndActions(t){t(),this.syncActionsAndOverflow()}syncActionsState(t=!1){this.syncActions(),this.updateActions(),t&&it({actions:this.actions,expandables:[...this.getTrackedActionGroups(),...this.getTrackedActionMenus(),...this.getSectionWrapperGroups()],expanded:this.expanded})}getTrackedActionGroups(){return[...this.actionGroups,...this.actionsStartGroups,...this.actionsEndGroups]}getTrackedActionMenus(){return[...this.actionMenus,...this.actionsStart,...this.actionsEnd].filter(t=>f(t))}getAssignedActionBarItems(t){return t?Y(t).filter(e=>H(e)||h(e)||f(e)):[]}syncDefaultSlot(){this.defaultSlotItems=this.getAssignedActionBarItems(this.defaultSlotRef.value),this.actionGroups=this.defaultSlotItems.filter(t=>h(t)),this.actionMenus=this.defaultSlotItems.filter(t=>f(t)),this.updateGroups()}syncActionsStartSlot(){this.actionsStart=this.getAssignedActionBarItems(this.actionsStartSlotRef.value),this.actionsStartGroups=this.actionsStart.filter(t=>h(t)),this.hasActionsStart=this.actionsStart.length>0,this.updateGroups()}syncActionsEndSlot(){this.actionsEnd=this.getAssignedActionBarItems(this.actionsEndSlotRef.value),this.actionsEndGroups=this.actionsEnd.filter(t=>h(t)),this.hasActionsEnd=this.actionsEnd.length>0,this.updateGroups()}handleActionGroupActionsChange(t){let e=t.target;this.getTrackedActionGroups().includes(e)&&(this.suppressedActionGroupActionsChange.has(e)||this.syncActionsAndOverflow())}handleActionMenuActionsChange(t){let e=t.target;this.getTrackedActionMenus().includes(e)&&this.syncActionsAndOverflow()}getNavigableActions(){return this.actions.filter(t=>!t.disabled&&t.slot!==m.menuActions)}handleKeyDown(t){let e=this.getNavigableActions(),i=document.activeElement;if(!(!H(i)||!e.includes(i)))switch(t.key){case"ArrowRight":case"ArrowDown":x(e,i,"next",!0),t.preventDefault();break;case"ArrowLeft":case"ArrowUp":x(e,i,"previous",!0),t.preventDefault();break;case"Home":x(e,i,"first",!0),t.preventDefault();break;case"End":x(e,i,"last",!0),t.preventDefault();break;case"Tab":this.setActionTabIndexes(i);break}}setActionTabIndexes(t){this.actions.forEach(e=>{let i=!e.disabled&&e===t?0:-1;i===0?e.removeAttribute("tabindex"):e.tabIndex=i})}renderExpandTooltipSlot(){return G`<slot name=${U.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>`}renderExpandToggle(){let{el:t,expanded:e,toggleExpand:i,messages:n,position:s,scale:a}=this;return nt({collapseLabel:n.collapseLabel,collapseText:n.collapse,direction:this.direction,el:t,expanded:e,expandLabel:n.expandLabel,expandText:n.expand,position:s,ref:this.setExpandToggleEl,scale:a,toggle:i,tooltip:this.expandTooltip})}renderActionsGroup(t){let{expandToggleDisabled:e,scale:i,layout:n,overlayPositioning:s,expandPosition:a}=this,o=t==="start",r=!e&&a===t,c=o?this.hasActionsStart:this.hasActionsEnd,T=o?U.actionsStart:U.actionsEnd,C=o?this.handleActionsStartSlotChange:this.handleActionsEndSlotChange,D=o?this.actionsStartGroupLabel:this.actionsEndGroupLabel,z=!r&&!c,k=o?L.actionGroupStart:L.actionGroupEnd,A=o?this.actionsStartGroupRef:this.actionsEndGroupRef,I=o?this.actionsStartSlotRef:this.actionsEndSlotRef,E=r?this.renderExpandToggle():null;return G`<calcite-action-group class=${P(k)} .hidden=${z} .label=${D} .layout=${n} .overlayPositioning=${s} .scale=${i} ${S(A)}>${o?E:null}<slot name=${T??j} @slotchange=${C} ${S(I)}></slot>${r?this.renderExpandTooltipSlot():null}${o?null:E}</calcite-action-group>`}render(){let t=this.layout==="horizontal"?"horizontal":"vertical";return G`<div .ariaOrientation=${t} class=${P(L.container)} role=toolbar ${S(this.containerRef)}>${this.renderActionsGroup("start")}<slot @slotchange=${this.handleDefaultSlotChange} ${S(this.defaultSlotRef)}></slot>${this.renderActionsGroup("end")}</div>`}};V("calcite-action-bar",W);export{W as ActionBar};
|