@tylertech/forge 2.16.0 → 2.16.2-dev.0

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.
Files changed (68) hide show
  1. package/custom-elements.json +451 -467
  2. package/dist/esm/app-bar/help-button/index.js +1 -1
  3. package/dist/esm/app-bar/index.js +1 -1
  4. package/dist/esm/autocomplete/index.js +1 -1
  5. package/dist/esm/chunks/{chunk.4RPIQ65C.js → chunk.27TSALYN.js} +2 -2
  6. package/dist/esm/chunks/{chunk.4RPIQ65C.js.map → chunk.27TSALYN.js.map} +2 -2
  7. package/dist/esm/chunks/{chunk.26XTVQKW.js → chunk.2NSEMS3F.js} +2 -2
  8. package/dist/esm/chunks/chunk.7AEMNSV3.js +7 -0
  9. package/dist/esm/chunks/chunk.7AEMNSV3.js.map +7 -0
  10. package/dist/esm/chunks/{chunk.YUCLBBES.js → chunk.ASJHDPFL.js} +2 -2
  11. package/dist/esm/chunks/{chunk.K4DGAJOM.js → chunk.CDUN4ONU.js} +2 -2
  12. package/dist/esm/chunks/{chunk.P4EW5GAS.js → chunk.D6MLVA5G.js} +2 -2
  13. package/dist/esm/chunks/{chunk.7B3AZYBR.js → chunk.EE25TGNW.js} +2 -2
  14. package/dist/esm/chunks/{chunk.7LI25R6R.js → chunk.ELV22KTH.js} +2 -2
  15. package/dist/esm/chunks/{chunk.REH25ELY.js → chunk.LJU5WSSF.js} +2 -2
  16. package/dist/esm/chunks/{chunk.4Y7EPWU2.js → chunk.LYM6SPBV.js} +2 -2
  17. package/dist/esm/chunks/{chunk.J2VLKZWP.js → chunk.MBDF4C2J.js} +2 -2
  18. package/dist/esm/chunks/{chunk.J2VLKZWP.js.map → chunk.MBDF4C2J.js.map} +1 -1
  19. package/dist/esm/chunks/{chunk.MUEXD4SD.js → chunk.NSOALSSD.js} +2 -2
  20. package/dist/esm/chunks/chunk.TBY35XZK.js +7 -0
  21. package/dist/esm/chunks/chunk.TBY35XZK.js.map +7 -0
  22. package/dist/esm/chunks/{chunk.UDAWTDPV.js → chunk.V6PXSHJ4.js} +2 -2
  23. package/dist/esm/chunks/{chunk.22OZJNVS.js → chunk.XBW46N2J.js} +2 -2
  24. package/dist/esm/chunks/{chunk.PWKRTM6B.js → chunk.XZOIRI4V.js} +2 -2
  25. package/dist/esm/chunks/chunk.ZWTTBW3O.js +7 -0
  26. package/dist/esm/chunks/chunk.ZWTTBW3O.js.map +7 -0
  27. package/dist/esm/date-picker/index.js +1 -1
  28. package/dist/esm/date-range-picker/index.js +1 -1
  29. package/dist/esm/index.js +1 -1
  30. package/dist/esm/list-dropdown/index.js +1 -1
  31. package/dist/esm/menu/index.js +1 -1
  32. package/dist/esm/paginator/index.js +1 -1
  33. package/dist/esm/select/core/index.js +1 -1
  34. package/dist/esm/select/index.js +1 -1
  35. package/dist/esm/select/select/index.js +1 -1
  36. package/dist/esm/select/select-dropdown/index.js +1 -1
  37. package/dist/esm/split-view/index.js +1 -1
  38. package/dist/esm/split-view/split-view/index.js +1 -1
  39. package/dist/esm/split-view/split-view-panel/index.js +1 -1
  40. package/dist/esm/time-picker/index.js +1 -1
  41. package/esm/autocomplete/autocomplete-adapter.d.ts +0 -2
  42. package/esm/autocomplete/autocomplete-adapter.js +0 -4
  43. package/esm/autocomplete/autocomplete-foundation.js +0 -11
  44. package/esm/date-picker/base/base-date-picker-foundation.js +1 -1
  45. package/esm/list-dropdown/list-dropdown-adapter.js +1 -1
  46. package/esm/list-dropdown/list-dropdown-utils.d.ts +1 -1
  47. package/esm/list-dropdown/list-dropdown-utils.js +7 -4
  48. package/esm/split-view/split-view/split-view-adapter.js +3 -1
  49. package/esm/split-view/split-view-panel/split-view-panel.js +1 -1
  50. package/package.json +2 -2
  51. package/dist/esm/chunks/chunk.IP3OQKGW.js +0 -7
  52. package/dist/esm/chunks/chunk.IP3OQKGW.js.map +0 -7
  53. package/dist/esm/chunks/chunk.KKMKGN2I.js +0 -7
  54. package/dist/esm/chunks/chunk.KKMKGN2I.js.map +0 -7
  55. package/dist/esm/chunks/chunk.VPH7GX4C.js +0 -7
  56. package/dist/esm/chunks/chunk.VPH7GX4C.js.map +0 -7
  57. /package/dist/esm/chunks/{chunk.26XTVQKW.js.map → chunk.2NSEMS3F.js.map} +0 -0
  58. /package/dist/esm/chunks/{chunk.YUCLBBES.js.map → chunk.ASJHDPFL.js.map} +0 -0
  59. /package/dist/esm/chunks/{chunk.K4DGAJOM.js.map → chunk.CDUN4ONU.js.map} +0 -0
  60. /package/dist/esm/chunks/{chunk.P4EW5GAS.js.map → chunk.D6MLVA5G.js.map} +0 -0
  61. /package/dist/esm/chunks/{chunk.7B3AZYBR.js.map → chunk.EE25TGNW.js.map} +0 -0
  62. /package/dist/esm/chunks/{chunk.7LI25R6R.js.map → chunk.ELV22KTH.js.map} +0 -0
  63. /package/dist/esm/chunks/{chunk.REH25ELY.js.map → chunk.LJU5WSSF.js.map} +0 -0
  64. /package/dist/esm/chunks/{chunk.4Y7EPWU2.js.map → chunk.LYM6SPBV.js.map} +0 -0
  65. /package/dist/esm/chunks/{chunk.MUEXD4SD.js.map → chunk.NSOALSSD.js.map} +0 -0
  66. /package/dist/esm/chunks/{chunk.UDAWTDPV.js.map → chunk.V6PXSHJ4.js.map} +0 -0
  67. /package/dist/esm/chunks/{chunk.22OZJNVS.js.map → chunk.XBW46N2J.js.map} +0 -0
  68. /package/dist/esm/chunks/{chunk.PWKRTM6B.js.map → chunk.XZOIRI4V.js.map} +0 -0
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import{a,b,c,d,e}from"../../chunks/chunk.K4DGAJOM.js";import"../../chunks/chunk.WP4QOOIS.js";import"../../chunks/chunk.MNFGVNDI.js";import"../../chunks/chunk.7LI25R6R.js";import"../../chunks/chunk.77Y3EABF.js";import"../../chunks/chunk.LYOQ2RGP.js";import"../../chunks/chunk.ZUNZKRRK.js";import"../../chunks/chunk.GO5A4GKZ.js";import"../../chunks/chunk.MUEXD4SD.js";import"../../chunks/chunk.KKMKGN2I.js";import"../../chunks/chunk.KU5CXXGS.js";import"../../chunks/chunk.FZQCBRPK.js";import"../../chunks/chunk.KE6GOYAB.js";import"../../chunks/chunk.RG6CDWEX.js";import"../../chunks/chunk.6YPD6CQM.js";import"../../chunks/chunk.TWZXQQQO.js";import"../../chunks/chunk.VAKNDCLP.js";import"../../chunks/chunk.V4TCOZLK.js";import"../../chunks/chunk.4DAIIJ37.js";import"../../chunks/chunk.HBMNXZES.js";import"../../chunks/chunk.V7WKXEZC.js";import"../../chunks/chunk.7A6MX6CS.js";import"../../chunks/chunk.WY7DECJD.js";import"../../chunks/chunk.2DXG2R3M.js";import"../../chunks/chunk.F3MP6AXF.js";import"../../chunks/chunk.MZLPUI6R.js";import"../../chunks/chunk.YI4JTY4T.js";import"../../chunks/chunk.3KQL7VAZ.js";import"../../chunks/chunk.JHBCYICS.js";import"../../chunks/chunk.6KTLOA7V.js";import"../../chunks/chunk.SKLCDWYQ.js";import"../../chunks/chunk.ARJ3EVVO.js";import"../../chunks/chunk.FVRSGKJD.js";import"../../chunks/chunk.U6WGJELL.js";import"../../chunks/chunk.7XFU2W25.js";import"../../chunks/chunk.U6FJJGO3.js";import"../../chunks/chunk.Y66GSZJB.js";import"../../chunks/chunk.47A2CN5U.js";import"../../chunks/chunk.G5MGGEFP.js";import"../../chunks/chunk.KTGSZEAG.js";import"../../chunks/chunk.BE7PZANN.js";import"../../chunks/chunk.Y4GKBJGI.js";import"../../chunks/chunk.PN26D52V.js";import"../../chunks/chunk.J2M2MXP2.js";import"../../chunks/chunk.MCIQXNKY.js";export{a as SELECT_CONSTANTS,b as SelectAdapter,d as SelectComponent,c as SelectFoundation,e as defineSelectComponent};
6
+ import{a,b,c,d,e}from"../../chunks/chunk.CDUN4ONU.js";import"../../chunks/chunk.WP4QOOIS.js";import"../../chunks/chunk.MNFGVNDI.js";import"../../chunks/chunk.ELV22KTH.js";import"../../chunks/chunk.77Y3EABF.js";import"../../chunks/chunk.LYOQ2RGP.js";import"../../chunks/chunk.ZUNZKRRK.js";import"../../chunks/chunk.GO5A4GKZ.js";import"../../chunks/chunk.NSOALSSD.js";import"../../chunks/chunk.TBY35XZK.js";import"../../chunks/chunk.KU5CXXGS.js";import"../../chunks/chunk.FZQCBRPK.js";import"../../chunks/chunk.KE6GOYAB.js";import"../../chunks/chunk.RG6CDWEX.js";import"../../chunks/chunk.6YPD6CQM.js";import"../../chunks/chunk.TWZXQQQO.js";import"../../chunks/chunk.VAKNDCLP.js";import"../../chunks/chunk.V4TCOZLK.js";import"../../chunks/chunk.4DAIIJ37.js";import"../../chunks/chunk.HBMNXZES.js";import"../../chunks/chunk.V7WKXEZC.js";import"../../chunks/chunk.7A6MX6CS.js";import"../../chunks/chunk.WY7DECJD.js";import"../../chunks/chunk.2DXG2R3M.js";import"../../chunks/chunk.F3MP6AXF.js";import"../../chunks/chunk.MZLPUI6R.js";import"../../chunks/chunk.YI4JTY4T.js";import"../../chunks/chunk.3KQL7VAZ.js";import"../../chunks/chunk.JHBCYICS.js";import"../../chunks/chunk.6KTLOA7V.js";import"../../chunks/chunk.SKLCDWYQ.js";import"../../chunks/chunk.ARJ3EVVO.js";import"../../chunks/chunk.FVRSGKJD.js";import"../../chunks/chunk.U6WGJELL.js";import"../../chunks/chunk.7XFU2W25.js";import"../../chunks/chunk.U6FJJGO3.js";import"../../chunks/chunk.Y66GSZJB.js";import"../../chunks/chunk.47A2CN5U.js";import"../../chunks/chunk.G5MGGEFP.js";import"../../chunks/chunk.KTGSZEAG.js";import"../../chunks/chunk.BE7PZANN.js";import"../../chunks/chunk.Y4GKBJGI.js";import"../../chunks/chunk.PN26D52V.js";import"../../chunks/chunk.J2M2MXP2.js";import"../../chunks/chunk.MCIQXNKY.js";export{a as SELECT_CONSTANTS,b as SelectAdapter,d as SelectComponent,c as SelectFoundation,e as defineSelectComponent};
7
7
  //# sourceMappingURL=index.js.map
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import{a,b,c,d,e}from"../../chunks/chunk.REH25ELY.js";import"../../chunks/chunk.WP4QOOIS.js";import"../../chunks/chunk.7LI25R6R.js";import"../../chunks/chunk.77Y3EABF.js";import"../../chunks/chunk.LYOQ2RGP.js";import"../../chunks/chunk.MUEXD4SD.js";import"../../chunks/chunk.KKMKGN2I.js";import"../../chunks/chunk.KU5CXXGS.js";import"../../chunks/chunk.FZQCBRPK.js";import"../../chunks/chunk.KE6GOYAB.js";import"../../chunks/chunk.RG6CDWEX.js";import"../../chunks/chunk.6YPD6CQM.js";import"../../chunks/chunk.TWZXQQQO.js";import"../../chunks/chunk.VAKNDCLP.js";import"../../chunks/chunk.V4TCOZLK.js";import"../../chunks/chunk.4DAIIJ37.js";import"../../chunks/chunk.HBMNXZES.js";import"../../chunks/chunk.V7WKXEZC.js";import"../../chunks/chunk.7A6MX6CS.js";import"../../chunks/chunk.WY7DECJD.js";import"../../chunks/chunk.2DXG2R3M.js";import"../../chunks/chunk.F3MP6AXF.js";import"../../chunks/chunk.MZLPUI6R.js";import"../../chunks/chunk.3KQL7VAZ.js";import"../../chunks/chunk.JHBCYICS.js";import"../../chunks/chunk.6KTLOA7V.js";import"../../chunks/chunk.SKLCDWYQ.js";import"../../chunks/chunk.ARJ3EVVO.js";import"../../chunks/chunk.FVRSGKJD.js";import"../../chunks/chunk.U6WGJELL.js";import"../../chunks/chunk.7XFU2W25.js";import"../../chunks/chunk.U6FJJGO3.js";import"../../chunks/chunk.Y66GSZJB.js";import"../../chunks/chunk.47A2CN5U.js";import"../../chunks/chunk.G5MGGEFP.js";import"../../chunks/chunk.KTGSZEAG.js";import"../../chunks/chunk.BE7PZANN.js";import"../../chunks/chunk.Y4GKBJGI.js";import"../../chunks/chunk.PN26D52V.js";import"../../chunks/chunk.J2M2MXP2.js";import"../../chunks/chunk.MCIQXNKY.js";export{a as SELECT_DROPDOWN_CONSTANTS,c as SelectDropdownAdapter,d as SelectDropdownComponent,b as SelectDropdownFoundation,e as defineSelectDropdownComponent};
6
+ import{a,b,c,d,e}from"../../chunks/chunk.LJU5WSSF.js";import"../../chunks/chunk.WP4QOOIS.js";import"../../chunks/chunk.ELV22KTH.js";import"../../chunks/chunk.77Y3EABF.js";import"../../chunks/chunk.LYOQ2RGP.js";import"../../chunks/chunk.NSOALSSD.js";import"../../chunks/chunk.TBY35XZK.js";import"../../chunks/chunk.KU5CXXGS.js";import"../../chunks/chunk.FZQCBRPK.js";import"../../chunks/chunk.KE6GOYAB.js";import"../../chunks/chunk.RG6CDWEX.js";import"../../chunks/chunk.6YPD6CQM.js";import"../../chunks/chunk.TWZXQQQO.js";import"../../chunks/chunk.VAKNDCLP.js";import"../../chunks/chunk.V4TCOZLK.js";import"../../chunks/chunk.4DAIIJ37.js";import"../../chunks/chunk.HBMNXZES.js";import"../../chunks/chunk.V7WKXEZC.js";import"../../chunks/chunk.7A6MX6CS.js";import"../../chunks/chunk.WY7DECJD.js";import"../../chunks/chunk.2DXG2R3M.js";import"../../chunks/chunk.F3MP6AXF.js";import"../../chunks/chunk.MZLPUI6R.js";import"../../chunks/chunk.3KQL7VAZ.js";import"../../chunks/chunk.JHBCYICS.js";import"../../chunks/chunk.6KTLOA7V.js";import"../../chunks/chunk.SKLCDWYQ.js";import"../../chunks/chunk.ARJ3EVVO.js";import"../../chunks/chunk.FVRSGKJD.js";import"../../chunks/chunk.U6WGJELL.js";import"../../chunks/chunk.7XFU2W25.js";import"../../chunks/chunk.U6FJJGO3.js";import"../../chunks/chunk.Y66GSZJB.js";import"../../chunks/chunk.47A2CN5U.js";import"../../chunks/chunk.G5MGGEFP.js";import"../../chunks/chunk.KTGSZEAG.js";import"../../chunks/chunk.BE7PZANN.js";import"../../chunks/chunk.Y4GKBJGI.js";import"../../chunks/chunk.PN26D52V.js";import"../../chunks/chunk.J2M2MXP2.js";import"../../chunks/chunk.MCIQXNKY.js";export{a as SELECT_DROPDOWN_CONSTANTS,c as SelectDropdownAdapter,d as SelectDropdownComponent,b as SelectDropdownFoundation,e as defineSelectDropdownComponent};
7
7
  //# sourceMappingURL=index.js.map
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import"../chunks/chunk.X2RP4QW3.js";import{a as z,b as A,c as B,d as C}from"../chunks/chunk.IP3OQKGW.js";import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y}from"../chunks/chunk.J2VLKZWP.js";import"../chunks/chunk.LIKJD4SK.js";import"../chunks/chunk.AJJILT3A.js";import"../chunks/chunk.WY7DECJD.js";import"../chunks/chunk.2DXG2R3M.js";import"../chunks/chunk.F3MP6AXF.js";import"../chunks/chunk.MZLPUI6R.js";import"../chunks/chunk.JHBCYICS.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.SKLCDWYQ.js";import"../chunks/chunk.ARJ3EVVO.js";import"../chunks/chunk.FVRSGKJD.js";import"../chunks/chunk.U6WGJELL.js";import"../chunks/chunk.7XFU2W25.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.Y66GSZJB.js";import"../chunks/chunk.47A2CN5U.js";import"../chunks/chunk.G5MGGEFP.js";import"../chunks/chunk.KTGSZEAG.js";import"../chunks/chunk.BE7PZANN.js";import"../chunks/chunk.Y4GKBJGI.js";import"../chunks/chunk.PN26D52V.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.MCIQXNKY.js";export{v as SPLIT_VIEW_CONSTANTS,a as SPLIT_VIEW_PANEL_CONSTANTS,z as SplitViewAdapter,b as SplitViewAnimatingLayer,B as SplitViewComponent,A as SplitViewFoundation,w as SplitViewPanelAdapter,x as SplitViewPanelComponent,u as SplitViewPanelFoundation,k as clampSize,e as clearState,t as createOverlay,C as defineSplitViewComponent,y as defineSplitViewPanelComponent,o as getCursor,p as getHandleIcon,s as getPixelDimension,q as getSplitViewPanelSibling,n as getValuenow,m as handleBoundariesAfterResize,l as handleBoundariesDuringResize,c as initState,g as keyboardResize,i as maxResize,h as minResize,r as parseSize,f as pointerResize,j as resizeSibling,d as setState};
6
+ import"../chunks/chunk.X2RP4QW3.js";import{a as z,b as A,c as B,d as C}from"../chunks/chunk.7AEMNSV3.js";import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y}from"../chunks/chunk.MBDF4C2J.js";import"../chunks/chunk.LIKJD4SK.js";import"../chunks/chunk.AJJILT3A.js";import"../chunks/chunk.WY7DECJD.js";import"../chunks/chunk.2DXG2R3M.js";import"../chunks/chunk.F3MP6AXF.js";import"../chunks/chunk.MZLPUI6R.js";import"../chunks/chunk.JHBCYICS.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.SKLCDWYQ.js";import"../chunks/chunk.ARJ3EVVO.js";import"../chunks/chunk.FVRSGKJD.js";import"../chunks/chunk.U6WGJELL.js";import"../chunks/chunk.7XFU2W25.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.Y66GSZJB.js";import"../chunks/chunk.47A2CN5U.js";import"../chunks/chunk.G5MGGEFP.js";import"../chunks/chunk.KTGSZEAG.js";import"../chunks/chunk.BE7PZANN.js";import"../chunks/chunk.Y4GKBJGI.js";import"../chunks/chunk.PN26D52V.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.MCIQXNKY.js";export{v as SPLIT_VIEW_CONSTANTS,a as SPLIT_VIEW_PANEL_CONSTANTS,z as SplitViewAdapter,b as SplitViewAnimatingLayer,B as SplitViewComponent,A as SplitViewFoundation,w as SplitViewPanelAdapter,x as SplitViewPanelComponent,u as SplitViewPanelFoundation,k as clampSize,e as clearState,t as createOverlay,C as defineSplitViewComponent,y as defineSplitViewPanelComponent,o as getCursor,p as getHandleIcon,s as getPixelDimension,q as getSplitViewPanelSibling,n as getValuenow,m as handleBoundariesAfterResize,l as handleBoundariesDuringResize,c as initState,g as keyboardResize,i as maxResize,h as minResize,r as parseSize,f as pointerResize,j as resizeSibling,d as setState};
7
7
  //# sourceMappingURL=index.js.map
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import{a as b,b as c,c as d,d as e}from"../../chunks/chunk.IP3OQKGW.js";import{v as a}from"../../chunks/chunk.J2VLKZWP.js";import"../../chunks/chunk.LIKJD4SK.js";import"../../chunks/chunk.WY7DECJD.js";import"../../chunks/chunk.2DXG2R3M.js";import"../../chunks/chunk.F3MP6AXF.js";import"../../chunks/chunk.MZLPUI6R.js";import"../../chunks/chunk.JHBCYICS.js";import"../../chunks/chunk.6KTLOA7V.js";import"../../chunks/chunk.SKLCDWYQ.js";import"../../chunks/chunk.ARJ3EVVO.js";import"../../chunks/chunk.FVRSGKJD.js";import"../../chunks/chunk.U6WGJELL.js";import"../../chunks/chunk.7XFU2W25.js";import"../../chunks/chunk.U6FJJGO3.js";import"../../chunks/chunk.Y66GSZJB.js";import"../../chunks/chunk.47A2CN5U.js";import"../../chunks/chunk.G5MGGEFP.js";import"../../chunks/chunk.KTGSZEAG.js";import"../../chunks/chunk.BE7PZANN.js";import"../../chunks/chunk.Y4GKBJGI.js";import"../../chunks/chunk.PN26D52V.js";import"../../chunks/chunk.J2M2MXP2.js";import"../../chunks/chunk.MCIQXNKY.js";export{a as SPLIT_VIEW_CONSTANTS,b as SplitViewAdapter,d as SplitViewComponent,c as SplitViewFoundation,e as defineSplitViewComponent};
6
+ import{a as b,b as c,c as d,d as e}from"../../chunks/chunk.7AEMNSV3.js";import{v as a}from"../../chunks/chunk.MBDF4C2J.js";import"../../chunks/chunk.LIKJD4SK.js";import"../../chunks/chunk.WY7DECJD.js";import"../../chunks/chunk.2DXG2R3M.js";import"../../chunks/chunk.F3MP6AXF.js";import"../../chunks/chunk.MZLPUI6R.js";import"../../chunks/chunk.JHBCYICS.js";import"../../chunks/chunk.6KTLOA7V.js";import"../../chunks/chunk.SKLCDWYQ.js";import"../../chunks/chunk.ARJ3EVVO.js";import"../../chunks/chunk.FVRSGKJD.js";import"../../chunks/chunk.U6WGJELL.js";import"../../chunks/chunk.7XFU2W25.js";import"../../chunks/chunk.U6FJJGO3.js";import"../../chunks/chunk.Y66GSZJB.js";import"../../chunks/chunk.47A2CN5U.js";import"../../chunks/chunk.G5MGGEFP.js";import"../../chunks/chunk.KTGSZEAG.js";import"../../chunks/chunk.BE7PZANN.js";import"../../chunks/chunk.Y4GKBJGI.js";import"../../chunks/chunk.PN26D52V.js";import"../../chunks/chunk.J2M2MXP2.js";import"../../chunks/chunk.MCIQXNKY.js";export{a as SPLIT_VIEW_CONSTANTS,b as SplitViewAdapter,d as SplitViewComponent,c as SplitViewFoundation,e as defineSplitViewComponent};
7
7
  //# sourceMappingURL=index.js.map
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,w as v,x as w,y as x}from"../../chunks/chunk.J2VLKZWP.js";import"../../chunks/chunk.LIKJD4SK.js";import"../../chunks/chunk.WY7DECJD.js";import"../../chunks/chunk.2DXG2R3M.js";import"../../chunks/chunk.F3MP6AXF.js";import"../../chunks/chunk.MZLPUI6R.js";import"../../chunks/chunk.JHBCYICS.js";import"../../chunks/chunk.6KTLOA7V.js";import"../../chunks/chunk.SKLCDWYQ.js";import"../../chunks/chunk.ARJ3EVVO.js";import"../../chunks/chunk.FVRSGKJD.js";import"../../chunks/chunk.U6WGJELL.js";import"../../chunks/chunk.7XFU2W25.js";import"../../chunks/chunk.U6FJJGO3.js";import"../../chunks/chunk.Y66GSZJB.js";import"../../chunks/chunk.47A2CN5U.js";import"../../chunks/chunk.G5MGGEFP.js";import"../../chunks/chunk.KTGSZEAG.js";import"../../chunks/chunk.BE7PZANN.js";import"../../chunks/chunk.Y4GKBJGI.js";import"../../chunks/chunk.PN26D52V.js";import"../../chunks/chunk.J2M2MXP2.js";import"../../chunks/chunk.MCIQXNKY.js";export{a as SPLIT_VIEW_PANEL_CONSTANTS,b as SplitViewAnimatingLayer,v as SplitViewPanelAdapter,w as SplitViewPanelComponent,u as SplitViewPanelFoundation,k as clampSize,e as clearState,t as createOverlay,x as defineSplitViewPanelComponent,o as getCursor,p as getHandleIcon,s as getPixelDimension,q as getSplitViewPanelSibling,n as getValuenow,m as handleBoundariesAfterResize,l as handleBoundariesDuringResize,c as initState,g as keyboardResize,i as maxResize,h as minResize,r as parseSize,f as pointerResize,j as resizeSibling,d as setState};
6
+ import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,w as v,x as w,y as x}from"../../chunks/chunk.MBDF4C2J.js";import"../../chunks/chunk.LIKJD4SK.js";import"../../chunks/chunk.WY7DECJD.js";import"../../chunks/chunk.2DXG2R3M.js";import"../../chunks/chunk.F3MP6AXF.js";import"../../chunks/chunk.MZLPUI6R.js";import"../../chunks/chunk.JHBCYICS.js";import"../../chunks/chunk.6KTLOA7V.js";import"../../chunks/chunk.SKLCDWYQ.js";import"../../chunks/chunk.ARJ3EVVO.js";import"../../chunks/chunk.FVRSGKJD.js";import"../../chunks/chunk.U6WGJELL.js";import"../../chunks/chunk.7XFU2W25.js";import"../../chunks/chunk.U6FJJGO3.js";import"../../chunks/chunk.Y66GSZJB.js";import"../../chunks/chunk.47A2CN5U.js";import"../../chunks/chunk.G5MGGEFP.js";import"../../chunks/chunk.KTGSZEAG.js";import"../../chunks/chunk.BE7PZANN.js";import"../../chunks/chunk.Y4GKBJGI.js";import"../../chunks/chunk.PN26D52V.js";import"../../chunks/chunk.J2M2MXP2.js";import"../../chunks/chunk.MCIQXNKY.js";export{a as SPLIT_VIEW_PANEL_CONSTANTS,b as SplitViewAnimatingLayer,v as SplitViewPanelAdapter,w as SplitViewPanelComponent,u as SplitViewPanelFoundation,k as clampSize,e as clearState,t as createOverlay,x as defineSplitViewPanelComponent,o as getCursor,p as getHandleIcon,s as getPixelDimension,q as getSplitViewPanelSibling,n as getValuenow,m as handleBoundariesAfterResize,l as handleBoundariesDuringResize,c as initState,g as keyboardResize,i as maxResize,h as minResize,r as parseSize,f as pointerResize,j as resizeSibling,d as setState};
7
7
  //# sourceMappingURL=index.js.map
@@ -3,5 +3,5 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s}from"../chunks/chunk.26XTVQKW.js";import"../chunks/chunk.LIKJD4SK.js";import"../chunks/chunk.PYIFIHDK.js";import"../chunks/chunk.YWVKDJXZ.js";import"../chunks/chunk.MLV25D2G.js";import"../chunks/chunk.A47X5VG3.js";import"../chunks/chunk.DONAMICM.js";import"../chunks/chunk.ZUNZKRRK.js";import"../chunks/chunk.GO5A4GKZ.js";import"../chunks/chunk.F2B24WLK.js";import"../chunks/chunk.KKMKGN2I.js";import"../chunks/chunk.KU5CXXGS.js";import"../chunks/chunk.FZQCBRPK.js";import"../chunks/chunk.KE6GOYAB.js";import"../chunks/chunk.RG6CDWEX.js";import"../chunks/chunk.6YPD6CQM.js";import"../chunks/chunk.VAKNDCLP.js";import"../chunks/chunk.V4TCOZLK.js";import"../chunks/chunk.4DAIIJ37.js";import"../chunks/chunk.V7WKXEZC.js";import"../chunks/chunk.7A6MX6CS.js";import"../chunks/chunk.WY7DECJD.js";import"../chunks/chunk.2DXG2R3M.js";import"../chunks/chunk.F3MP6AXF.js";import"../chunks/chunk.MZLPUI6R.js";import"../chunks/chunk.YI4JTY4T.js";import"../chunks/chunk.3KQL7VAZ.js";import"../chunks/chunk.JHBCYICS.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.SKLCDWYQ.js";import"../chunks/chunk.ARJ3EVVO.js";import"../chunks/chunk.FVRSGKJD.js";import"../chunks/chunk.U6WGJELL.js";import"../chunks/chunk.7XFU2W25.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.Y66GSZJB.js";import"../chunks/chunk.47A2CN5U.js";import"../chunks/chunk.G5MGGEFP.js";import"../chunks/chunk.KTGSZEAG.js";import"../chunks/chunk.BE7PZANN.js";import"../chunks/chunk.Y4GKBJGI.js";import"../chunks/chunk.PN26D52V.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.MCIQXNKY.js";export{a as TIME_PICKER_CONSTANTS,b as TimePickerAdapter,q as TimePickerComponent,r as TimePickerComponentDelegate,p as TimePickerFoundation,s as defineTimePickerComponent,n as getCurrentTimeOfDayMillis,j as hoursToMillis,o as mergeDateWithTime,e as millisToHours,g as millisToMinutes,f as millisToMinutesClamped,i as millisToSeconds,h as millisToSecondsClamped,d as millisToTimeString,k as minutesToMillis,l as secondsToMillis,m as stripSecondsFromMillis,c as timeStringToMillis};
6
+ import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s}from"../chunks/chunk.2NSEMS3F.js";import"../chunks/chunk.LIKJD4SK.js";import"../chunks/chunk.PYIFIHDK.js";import"../chunks/chunk.YWVKDJXZ.js";import"../chunks/chunk.MLV25D2G.js";import"../chunks/chunk.A47X5VG3.js";import"../chunks/chunk.DONAMICM.js";import"../chunks/chunk.ZUNZKRRK.js";import"../chunks/chunk.GO5A4GKZ.js";import"../chunks/chunk.F2B24WLK.js";import"../chunks/chunk.TBY35XZK.js";import"../chunks/chunk.KU5CXXGS.js";import"../chunks/chunk.FZQCBRPK.js";import"../chunks/chunk.KE6GOYAB.js";import"../chunks/chunk.RG6CDWEX.js";import"../chunks/chunk.6YPD6CQM.js";import"../chunks/chunk.VAKNDCLP.js";import"../chunks/chunk.V4TCOZLK.js";import"../chunks/chunk.4DAIIJ37.js";import"../chunks/chunk.V7WKXEZC.js";import"../chunks/chunk.7A6MX6CS.js";import"../chunks/chunk.WY7DECJD.js";import"../chunks/chunk.2DXG2R3M.js";import"../chunks/chunk.F3MP6AXF.js";import"../chunks/chunk.MZLPUI6R.js";import"../chunks/chunk.YI4JTY4T.js";import"../chunks/chunk.3KQL7VAZ.js";import"../chunks/chunk.JHBCYICS.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.SKLCDWYQ.js";import"../chunks/chunk.ARJ3EVVO.js";import"../chunks/chunk.FVRSGKJD.js";import"../chunks/chunk.U6WGJELL.js";import"../chunks/chunk.7XFU2W25.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.Y66GSZJB.js";import"../chunks/chunk.47A2CN5U.js";import"../chunks/chunk.G5MGGEFP.js";import"../chunks/chunk.KTGSZEAG.js";import"../chunks/chunk.BE7PZANN.js";import"../chunks/chunk.Y4GKBJGI.js";import"../chunks/chunk.PN26D52V.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.MCIQXNKY.js";export{a as TIME_PICKER_CONSTANTS,b as TimePickerAdapter,q as TimePickerComponent,r as TimePickerComponentDelegate,p as TimePickerFoundation,s as defineTimePickerComponent,n as getCurrentTimeOfDayMillis,j as hoursToMillis,o as mergeDateWithTime,e as millisToHours,g as millisToMinutes,f as millisToMinutesClamped,i as millisToSeconds,h as millisToSecondsClamped,d as millisToTimeString,k as minutesToMillis,l as secondsToMillis,m as stripSecondsFromMillis,c as timeStringToMillis};
7
7
  //# sourceMappingURL=index.js.map
@@ -24,7 +24,6 @@ export interface IAutocompleteAdapter extends IBaseAdapter {
24
24
  setInputValue(value: string): void;
25
25
  selectInputValue(): void;
26
26
  setDismissListener(listener: () => void): void;
27
- toggleOptionMultiple(index: number, selected: boolean): void;
28
27
  isFocusWithinPopup(target: HTMLElement): boolean;
29
28
  hasFocus(): boolean;
30
29
  hasInputElement(): boolean;
@@ -62,7 +61,6 @@ export declare class AutocompleteAdapter extends BaseAdapter<IAutocompleteCompon
62
61
  show(config: IListDropdownConfig, popupTarget: string): void;
63
62
  hide(listener: () => void): void;
64
63
  setBusyVisibility(isVisible: boolean): void;
65
- toggleOptionMultiple(index: number, selected: boolean): void;
66
64
  setDismissListener(listener: () => void): void;
67
65
  focus(): void;
68
66
  setOptions(options: IAutocompleteOption[] | IAutocompleteOptionGroup[]): void;
@@ -75,10 +75,6 @@ export class AutocompleteAdapter extends BaseAdapter {
75
75
  var _a;
76
76
  (_a = this._listDropdown) === null || _a === void 0 ? void 0 : _a.setBusyVisibility(isVisible);
77
77
  }
78
- toggleOptionMultiple(index, selected) {
79
- var _a;
80
- (_a = this._listDropdown) === null || _a === void 0 ? void 0 : _a.toggleOptionMultiple(index, selected);
81
- }
82
78
  setDismissListener(listener) {
83
79
  if (!this._listDropdown || !this._listDropdown.dropdownElement) {
84
80
  return;
@@ -451,11 +451,6 @@ export class AutocompleteFoundation extends ListDropdownAwareFoundation {
451
451
  const value = option ? option.value : '';
452
452
  const label = option ? option.label : '';
453
453
  if (this._multiple) {
454
- const optionIndex = flatOptions.findIndex(o => optionEqualPredicate(o, selectedValue, this._matchKey));
455
- if (optionIndex >= 0) {
456
- const selected = this._selectedOptions.some(o => optionEqualPredicate(o, selectedValue, this._matchKey));
457
- this._adapter.toggleOptionMultiple(optionIndex, selected);
458
- }
459
454
  const selectedOption = getSelectedOption(this._selectedOptions, value);
460
455
  if (selectedOption) {
461
456
  const index = this._selectedOptions.indexOf(selectedOption);
@@ -487,12 +482,6 @@ export class AutocompleteFoundation extends ListDropdownAwareFoundation {
487
482
  if (!Platform.isMobile && keepFocus) {
488
483
  this._adapter.selectInputValue();
489
484
  }
490
- if (this._multiple) {
491
- // If we're in multiselect mode, we need to toggle the selected option
492
- const index = flatOptions.findIndex(o => optionEqualPredicate(o, selectedValue, this._matchKey));
493
- const isSelected = this._values.includes(selectedValue);
494
- this._adapter.toggleOptionMultiple(index, isSelected);
495
- }
496
485
  this._emitChangeEvent();
497
486
  this._tryUpdateDropdownPosition();
498
487
  };
@@ -332,7 +332,7 @@ export class BaseDatePickerFoundation {
332
332
  }
333
333
  }
334
334
  _isDateValueAcceptable(value) {
335
- if (!value) {
335
+ if (!value || this._allowInvalidDate) {
336
336
  return true;
337
337
  }
338
338
  const passesMinDate = () => this._min && !this._allowInvalidDate ? this._min.getTime() <= value.getTime() : true;
@@ -213,7 +213,7 @@ export class ListDropdownAdapter {
213
213
  if (!this._dropdownElement || !this._listElement) {
214
214
  return;
215
215
  }
216
- createListItems(config, this._listElement, options);
216
+ createListItems(config, this._listElement, options, this._listElement.childElementCount, false);
217
217
  }
218
218
  setBusyVisibility(isVisible) {
219
219
  if (!this._dropdownElement) {
@@ -23,7 +23,7 @@ export declare function createList(config: IListDropdownOpenConfig): IListCompon
23
23
  * Creates the list to place inside of the dropdown.
24
24
  * @param config
25
25
  */
26
- export declare function createListItems(config: IListDropdownOpenConfig, listElement: IListComponent, options?: Array<IListDropdownOption | IListDropdownOptionGroup>): void;
26
+ export declare function createListItems(config: IListDropdownOpenConfig, listElement: IListComponent, options?: Array<IListDropdownOption | IListDropdownOptionGroup>, startIndex?: number, renderSelected?: boolean): void;
27
27
  export declare function createCheckboxElement(selected: boolean): HTMLElement;
28
28
  export declare function createAsyncElement(asyncStyle?: ListDropdownAsyncStyle): HTMLElement;
29
29
  export declare function createBusyElement(): ILinearProgressComponent;
@@ -93,13 +93,13 @@ export function createList(config) {
93
93
  * Creates the list to place inside of the dropdown.
94
94
  * @param config
95
95
  */
96
- export function createListItems(config, listElement, options) {
96
+ export function createListItems(config, listElement, options, startIndex = 0, renderSelected = true) {
97
97
  // Ensure the options are provided in the form a group (if no groups provided, then we have one anonymous group of options)
98
98
  const groups = getOptionsByGroup(options || config.options);
99
99
  const flatOptions = getFlattenedOptions(groups);
100
100
  const limitOptions = config.optionLimit ? true : false;
101
101
  let optionLimit = config.optionLimit || 0;
102
- let optionIndex = 0;
102
+ let optionIdIndex = startIndex;
103
103
  // Iterate over our groups and render the optional headers and options for that group
104
104
  for (const group of groups) {
105
105
  let optionParent = listElement;
@@ -148,12 +148,15 @@ export function createListItems(config, listElement, options) {
148
148
  if (limitOptions && --optionLimit < 0) {
149
149
  break;
150
150
  }
151
- optionIndex++;
152
151
  // Create and configure the list element
153
152
  const isSelected = config.selectedValues ? config.selectedValues.some(v => isDeepEqual(v, option.value)) : false;
153
+ // We don't render selected options that are appended dynamically since those are always displayed at the top of the list
154
+ if (!renderSelected && isSelected) {
155
+ continue;
156
+ }
154
157
  let listItemElement = document.createElement('forge-list-item');
155
158
  listItemElement.value = option.value;
156
- listItemElement.id = `list-dropdown-option-${config.id}-${optionIndex}`;
159
+ listItemElement.id = `list-dropdown-option-${config.id}-${optionIdIndex++}`;
157
160
  listItemElement.style.cursor = 'pointer';
158
161
  if (config.wrapOptionText) {
159
162
  listItemElement.wrap = true;
@@ -33,7 +33,9 @@ export class SplitViewAdapter extends BaseAdapter {
33
33
  */
34
34
  getSlottedPanels() {
35
35
  const nodeList = this._component.querySelectorAll(SPLIT_VIEW_CONSTANTS.selectors.PANEL);
36
- return Array.from(nodeList);
36
+ const panelArray = Array.from(nodeList);
37
+ const immediateChildPanels = panelArray.filter(panel => panel.parentElement === this._component);
38
+ return immediateChildPanels;
37
39
  }
38
40
  refitSlottedPanels(orientation) {
39
41
  // Check if the combined panel size is greater than the split view size along the relevant axis
@@ -14,7 +14,7 @@ import { SplitViewPanelAdapter } from './split-view-panel-adapter';
14
14
  import { IconComponent, IconRegistry } from '../../icon';
15
15
  import { RippleComponent } from '../../ripple';
16
16
  const template = '<template><div class=\"forge-split-view-panel\" id=\"root\" part=\"root\"><div class=\"forge-split-view-panel__handle\" id=\"handle\" part=\"handle\" role=\"separator\" aria-controls=\"content\" aria-grabbed=\"false\" tabindex=\"0\"><forge-icon class=\"forge-split-view-panel__icon\" id=\"icon\" part=\"icon\"></forge-icon><forge-ripple id=\"ripple\" part=\"ripple\"></forge-ripple></div><div class=\"forge-split-view-panel__content\" id=\"content\" part=\"content\" role=\"group\"><slot></slot></div></div></template>';
17
- const styles = '@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity;position:relative;outline:0;overflow:hidden}.mdc-ripple-surface::after,.mdc-ripple-surface::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-ripple-surface::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface::after,.mdc-ripple-surface::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-upgraded--unbounded::after,.mdc-ripple-upgraded--unbounded::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{background-color:#000;background-color:var(--mdc-ripple-color,#000)}.mdc-ripple-surface.mdc-ripple-surface--hover::before,.mdc-ripple-surface:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{--mdc-ripple-color:var(--mdc-theme-on-surface)}.forge-split-view-panel{display:-webkit-box;display:flex;width:100%;height:100%;overflow:hidden;contain:paint size}.forge-split-view-panel__handle{color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-light,rgba(0,0,0,.54));background-color:#e0e0e0;background-color:var(--forge-theme-border-color,#e0e0e0);display:-webkit-box;display:flex;flex-shrink:0;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;outline:0}.forge-split-view-panel__content{-webkit-box-flex:1;flex:1;overflow:hidden}.forge-split-view-panel--closed{display:none}.forge-split-view-panel--disabled #handle{pointer-events:none}.forge-split-view-panel--disabled .forge-split-view-panel__icon{display:none}.forge-split-view-panel[orientation=horizontal]{min-width:8px;min-width:var(--forge-split-view-handle-width,8px);width:calc(var(--forge-split-view-panel-size,unset) + var(--forge-split-view-handle-width,8px));-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}.forge-split-view-panel[orientation=horizontal] .forge-split-view-panel__handle{width:8px;width:var(--forge-split-view-handle-width,8px);cursor:var(--forge-split-view-panel-cursor)}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--closing[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:uemaehm;animation-name:uemaehm;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes uemaehm{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes uemaehm{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--closing[resizable=start]{position:absolute;top:0;right:0;-webkit-animation-name:uemaei6;animation-name:uemaei6;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes uemaei6{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes uemaei6{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--opening[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:uemaeix;animation-name:uemaeix;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes uemaeix{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes uemaeix{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--opening[resizable=start]{position:absolute;top:0;right:0;-webkit-animation-name:uemaejm;animation-name:uemaejm;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes uemaejm{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes uemaejm{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}.forge-split-view-panel[orientation=vertical]{min-height:8px;min-height:var(--forge-split-view-handle-width,8px);height:calc(var(--forge-split-view-panel-size,unset) + var(--forge-split-view-handle-width,8px));-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.forge-split-view-panel[orientation=vertical] .forge-split-view-panel__handle{height:8px;height:var(--forge-split-view-handle-width,8px);cursor:var(--forge-split-view-panel-cursor)}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--closing[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:uemaek6;animation-name:uemaek6;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes uemaek6{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes uemaek6{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--closing[resizable=start]{position:absolute;bottom:0;left:0;-webkit-animation-name:uemaek7;animation-name:uemaek7;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes uemaek7{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes uemaek7{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--opening[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:uemaeki;animation-name:uemaeki;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes uemaeki{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes uemaeki{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--opening[resizable=start]{position:absolute;bottom:0;left:0;-webkit-animation-name:uemaekm;animation-name:uemaekm;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes uemaekm{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes uemaekm{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}:host{z-index:var(--forge-split-view-animating-layer)!important;display:block;position:relative;height:100%;width:100%;-webkit-box-flex:0;flex:0}:host([hidden]){display:none}:host(:not([resizable=start],[resizable=end])){-webkit-box-flex:1;flex:1}:host(:not([resizable=start],[resizable=end])) .forge-split-view-panel{width:100%;height:100%;min-width:0;min-height:0}:host(:not([resizable=start],[resizable=end])) .forge-split-view-panel__handle{display:none}';
17
+ const styles = '@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity;position:relative;outline:0;overflow:hidden}.mdc-ripple-surface::after,.mdc-ripple-surface::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-ripple-surface::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface::after,.mdc-ripple-surface::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-upgraded--unbounded::after,.mdc-ripple-upgraded--unbounded::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{background-color:#000;background-color:var(--mdc-ripple-color,#000)}.mdc-ripple-surface.mdc-ripple-surface--hover::before,.mdc-ripple-surface:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{--mdc-ripple-color:var(--mdc-theme-on-surface)}.forge-split-view-panel{display:-webkit-box;display:flex;width:100%;height:100%;overflow:hidden;contain:paint size}.forge-split-view-panel__handle{color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-light,rgba(0,0,0,.54));background-color:#e0e0e0;background-color:var(--forge-theme-border-color,#e0e0e0);display:-webkit-box;display:flex;flex-shrink:0;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;outline:0}.forge-split-view-panel__content{-webkit-box-flex:1;flex:1;overflow:hidden}.forge-split-view-panel--closed{display:none}.forge-split-view-panel--disabled #handle{pointer-events:none}.forge-split-view-panel--disabled .forge-split-view-panel__icon{display:none}.forge-split-view-panel[orientation=horizontal]{min-width:8px;min-width:var(--forge-split-view-handle-width,8px);width:calc(var(--forge-split-view-panel-size,unset) + var(--forge-split-view-handle-width,8px));-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}.forge-split-view-panel[orientation=horizontal] .forge-split-view-panel__handle{width:8px;width:var(--forge-split-view-handle-width,8px);cursor:var(--forge-split-view-panel-cursor)}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--closing[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:ubuf86h;animation-name:ubuf86h;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes ubuf86h{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes ubuf86h{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--closing[resizable=start]{position:absolute;top:0;right:0;-webkit-animation-name:ubuf87g;animation-name:ubuf87g;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes ubuf87g{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes ubuf87g{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--opening[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:ubuf88b;animation-name:ubuf88b;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes ubuf88b{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes ubuf88b{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--opening[resizable=start]{position:absolute;top:0;right:0;-webkit-animation-name:ubuf89a;animation-name:ubuf89a;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes ubuf89a{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes ubuf89a{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}.forge-split-view-panel[orientation=vertical]{min-height:8px;min-height:var(--forge-split-view-handle-width,8px);height:calc(var(--forge-split-view-panel-size,unset) + var(--forge-split-view-handle-width,8px));-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.forge-split-view-panel[orientation=vertical] .forge-split-view-panel__handle{height:8px;height:var(--forge-split-view-handle-width,8px);cursor:var(--forge-split-view-panel-cursor)}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--closing[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:ubuf89t;animation-name:ubuf89t;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes ubuf89t{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes ubuf89t{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--closing[resizable=start]{position:absolute;bottom:0;left:0;-webkit-animation-name:ubuf8am;animation-name:ubuf8am;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes ubuf8am{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes ubuf8am{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--opening[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:ubuf8bd;animation-name:ubuf8bd;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes ubuf8bd{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes ubuf8bd{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--opening[resizable=start]{position:absolute;bottom:0;left:0;-webkit-animation-name:ubuf8bl;animation-name:ubuf8bl;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes ubuf8bl{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes ubuf8bl{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}:host{z-index:var(--forge-split-view-animating-layer)!important;display:block;position:relative;height:100%;width:100%;-webkit-box-flex:0;flex:0}:host([hidden]){display:none}:host(:not([resizable=start],[resizable=end])){-webkit-box-flex:1;flex:1}:host(:not([resizable=start],[resizable=end])) .forge-split-view-panel{width:100%;height:100%;min-width:0;min-height:0}:host(:not([resizable=start],[resizable=end])) .forge-split-view-panel__handle{display:none}';
18
18
  /**
19
19
  * The custom element class behind the `<forge-split-view-panel>` element.
20
20
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tylertech/forge",
3
3
  "description": "Tyler Forge™ Web Components library",
4
- "version": "2.16.0",
4
+ "version": "2.16.2-dev.0",
5
5
  "author": "Tyler Technologies, Inc.",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -47,4 +47,4 @@
47
47
  "tslib": "^2.3.1"
48
48
  },
49
49
  "customElements": "custom-elements.json"
50
- }
50
+ }
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2023 Tyler Technologies, Inc.
4
- * License: Apache-2.0
5
- */
6
- import{a as h,v as i,x as k}from"./chunk.J2VLKZWP.js";import{a as E}from"./chunk.G5MGGEFP.js";import{a as c}from"./chunk.KTGSZEAG.js";import{a as O}from"./chunk.BE7PZANN.js";import{a as C,e as y,g as I,l as L}from"./chunk.Y4GKBJGI.js";import{k as b,l as S,p as w}from"./chunk.J2M2MXP2.js";import{f as d}from"./chunk.MCIQXNKY.js";var r=class{static observe(t,e,l){var o,n;r._targets.has(t)&&((o=r._observer)===null||o===void 0||o.unobserve(t)),r._targets.set(t,e),r._countTargets(),(n=r._observer)===null||n===void 0||n.observe(t,l)}static unobserve(t){var e;r._targets.delete(t),(e=r._observer)===null||e===void 0||e.unobserve(t),r._countTargets()}static _countTargets(){r._observer?r._targets.size<1&&(r._observer=void 0):r._targets.size&&(r._observer=new ResizeObserver(r._handleResize))}};r._targets=new Map;r._handleResize=f=>{f.forEach(t=>{var e;(e=r._targets.get(t.target))===null||e===void 0||e(t)})};var v=class extends E{constructor(e){super(e);this._root=I(e,i.selectors.ROOT)}registerSlotListener(e){this._root.addEventListener("slotchange",e)}registerDidOpenListener(e){this._root.addEventListener(h.events.DID_OPEN,e)}registerDidCloseListener(e){this._root.addEventListener(h.events.DID_CLOSE,e)}observeResize(e){r.observe(this._root,e)}unobserveResize(){r.unobserve(this._root)}getSlottedPanels(){let e=this._component.querySelectorAll(i.selectors.PANEL);return Array.from(e)}refitSlottedPanels(e){let l=e==="horizontal"?this._root.clientWidth:this._root.clientHeight,o=this.getSlottedPanels(),n=o.map(p=>{var m;let s=(m=p.shadowRoot)==null?void 0:m.querySelector(h.selectors.ROOT),u=e==="horizontal"?s==null?void 0:s.clientWidth:s==null?void 0:s.clientHeight;return u!=null?u:0}).reduce((p,s)=>p+s,0);if(n<=l)return;let _=n-l;o.slice().reverse().forEach(p=>{if(_<=0)return;let s=p.getContentSize(),u=p.getCollapsibleSize(),m=Math.min(_,u),T=s-m;p.setContentSize(T),_-=m})}};var g=class{constructor(t){this._adapter=t;this._orientation="horizontal";this._disabled=!1;this._allowClose=!1;this._autoClose=!1;this._autoCloseThreshold=0;this._isInitialized=!1;this._slotListener=e=>this._onSlotChange(e),this._didOpenListener=()=>this._onDidOpen(),this._didCloseListener=()=>this._onDidClose(),this._resizeObserverCallback=w(e=>this._onResize(e),i.numbers.RESIZE_THROTTLE_THRESHOLD)}initialize(){this._adapter.registerSlotListener(this._slotListener),this._adapter.registerDidOpenListener(this._didOpenListener),this._adapter.registerDidCloseListener(this._didCloseListener),this._adapter.observeResize(this._resizeObserverCallback),this._applyOrientation(),this._isInitialized=!0}disconnect(){this._adapter.unobserveResize()}_onSlotChange(t){this._layoutSlottedPanels(),this.update({accessibility:!0,cursor:!0,orientation:this._orientation})}_onDidOpen(){this._adapter.refitSlottedPanels(this._orientation),this.update({accessibility:!0,cursor:!0,size:!0})}_onDidClose(){this._adapter.refitSlottedPanels(this._orientation),this.update({accessibility:!0,cursor:!0,size:!0})}_onResize(t){this.update({accessibility:!0,cursor:!0,size:!0})}_layoutSlottedPanels(){let t=this._adapter.getSlottedPanels();t.length<2||t.some(e=>e.resizable!=="off")||t.slice(1).forEach(e=>e.resizable="start")}get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._applyOrientation())}_applyOrientation(){this._adapter.setHostAttribute(i.attributes.ORIENTATION,this._orientation),this.update({orientation:this._orientation}),this._isInitialized&&this._adapter.refitSlottedPanels(this._orientation),this.update({accessibility:!0,cursor:!0})}get disabled(){return this._disabled}set disabled(t){this._disabled!==t&&(this._disabled=t,this._applyDisabled())}_applyDisabled(){this._adapter.toggleHostAttribute(i.attributes.DISABLED,this._disabled),this.update({properties:{disabled:this._disabled}})}get allowClose(){return this._allowClose}set allowClose(t){this._allowClose!==t&&(this._allowClose=t,this._applyAllowClose())}_applyAllowClose(){this._adapter.toggleHostAttribute(i.attributes.ALLOW_CLOSE,this._allowClose),this.update({properties:{allowClose:this._allowClose}})}get autoClose(){return this._autoClose}set autoClose(t){this._autoClose!==t&&(this._autoClose=t,this._applyAutoClose())}_applyAutoClose(){this._adapter.toggleHostAttribute(i.attributes.AUTO_CLOSE,this._autoClose),this.update({properties:{autoClose:this._autoClose}})}get autoCloseThreshold(){return this._autoCloseThreshold}set autoCloseThreshold(t){this._autoCloseThreshold!==t&&(this._autoCloseThreshold=t,this._applyAutoCloseThreshold())}_applyAutoCloseThreshold(){this._adapter.setHostAttribute(i.attributes.AUTO_CLOSE_THRESHOLD,this._autoCloseThreshold.toString()),this.update({properties:{autoCloseThreshold:this._autoCloseThreshold}})}layerSlottedPanels(t){let e=this._adapter.getSlottedPanels(),l=t.resizable==="start"?1:-1,o=t.resizable==="start"?1:3;e.forEach(n=>{(n===t||o===2)&&(o+=l),n.style.setProperty(i.customCssProperties.ANIMATING_LAYER,o.toString())})}unlayerSlottedPanels(){this._adapter.getSlottedPanels().forEach(e=>{e.style.removeProperty(i.customCssProperties.ANIMATING_LAYER)})}update(t){this._adapter.getSlottedPanels().forEach(l=>{l.update(t)})}refitSlottedPanels(){this._adapter.refitSlottedPanels(this._orientation)}};var P='<template><div class="forge-split-view" id="root" part="root"><slot></slot></div></template>',A='@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity;position:relative;outline:0;overflow:hidden}.mdc-ripple-surface::after,.mdc-ripple-surface::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface::after,.mdc-ripple-surface::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-upgraded--unbounded::after,.mdc-ripple-upgraded--unbounded::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{background-color:#000;background-color:var(--mdc-ripple-color,#000)}.mdc-ripple-surface.mdc-ripple-surface--hover::before,.mdc-ripple-surface:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{--mdc-ripple-color:var(--mdc-theme-on-surface)}.forge-split-view{display:-webkit-box;display:flex;width:100%;height:100%}:host{--forge-split-view-handle-width:8px;display:block;height:100%;width:100%;overflow:hidden;contain:paint size}:host([hidden]){display:none}:host([orientation=horizontal]) .forge-split-view{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}:host([orientation=vertical]) .forge-split-view{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}',a=class extends L{constructor(){super();y(this,P,A),this._foundation=new g(new v(this))}static get observedAttributes(){return[i.attributes.ORIENTATION,i.attributes.DISABLED,i.attributes.ALLOW_CLOSE,i.attributes.AUTO_CLOSE,i.attributes.AUTO_CLOSE_THRESHOLD]}connectedCallback(){this._foundation.initialize()}disconnectedCallback(){this._foundation.disconnect()}attributeChangedCallback(e,l,o){switch(e){case i.attributes.ORIENTATION:this.orientation=o;break;case i.attributes.DISABLED:this.disabled=b(o);break;case i.attributes.ALLOW_CLOSE:this.allowClose=b(o);break;case i.attributes.AUTO_CLOSE:this.autoClose=b(o);break;case i.attributes.AUTO_CLOSE_THRESHOLD:this.autoCloseThreshold=S(o);break}}layerSlottedPanels(e){this._foundation.layerSlottedPanels(e)}unlayerSlottedPanels(){this._foundation.unlayerSlottedPanels()}update(e){this._foundation.update(e)}refit(){this._foundation.refitSlottedPanels()}};d([c()],a.prototype,"orientation",2),d([c()],a.prototype,"disabled",2),d([c()],a.prototype,"allowClose",2),d([c()],a.prototype,"autoClose",2),d([c()],a.prototype,"autoCloseThreshold",2),a=d([O({name:i.elementName,dependencies:[k]})],a);function de(){C(a)}export{v as a,g as b,a as c,de as d};
7
- //# sourceMappingURL=chunk.IP3OQKGW.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../node_modules/@tylertech/forge-core/esm/resize/resize-observer.js", "../../src/split-view/split-view/split-view-adapter.ts", "../../src/split-view/split-view/split-view-foundation.ts", "../../src/split-view/split-view/split-view.ts", "../../src/split-view/split-view/index.ts"],
4
- "sourcesContent": ["/**\n * Provides a set of methods for observing and responding to resizing of elements.\n */\nexport class ForgeResizeObserver {\n /**\n * Initiates the observing of a specified `Element`. Calling with an already observed `Element`\n * overwrites the exisiting observation. It is expected that the consumer will eventually\n * {@link unobserve} the `Element` to avoid memory leaks.\n *\n * @param target An `Element` reference.\n * @param callback A function that accepts a `ResizeObserverEntry` for the `Element`.\n * @param options An options object allowing you to set options for the observation.\n */\n static observe(target, callback, options) {\n var _a, _b;\n if (ForgeResizeObserver._targets.has(target)) {\n (_a = ForgeResizeObserver._observer) === null || _a === void 0 ? void 0 : _a.unobserve(target);\n }\n ForgeResizeObserver._targets.set(target, callback);\n ForgeResizeObserver._countTargets();\n (_b = ForgeResizeObserver._observer) === null || _b === void 0 ? void 0 : _b.observe(target, options);\n }\n /**\n * Ends the observing of a specified `Element`.\n *\n * @param target An `Element` reference.\n */\n static unobserve(target) {\n var _a;\n ForgeResizeObserver._targets.delete(target);\n (_a = ForgeResizeObserver._observer) === null || _a === void 0 ? void 0 : _a.unobserve(target);\n ForgeResizeObserver._countTargets();\n }\n /**\n * Creates or destroys the `ResizeObserver` based on whether targets exist.\n */\n static _countTargets() {\n if (ForgeResizeObserver._observer) {\n // If there are no targets destroy the observer\n if (ForgeResizeObserver._targets.size < 1) {\n ForgeResizeObserver._observer = undefined;\n }\n }\n else {\n // If there are targets create the observer\n if (ForgeResizeObserver._targets.size) {\n ForgeResizeObserver._observer = new ResizeObserver(ForgeResizeObserver._handleResize);\n }\n }\n }\n}\nForgeResizeObserver._targets = new Map();\n/**\n * Runs the callback function of targets when they are resized.\n *\n * @param entries An array of `ResizeObserverEntry`s.\n */\nForgeResizeObserver._handleResize = entries => {\n entries.forEach(entry => {\n var _a;\n (_a = ForgeResizeObserver._targets.get(entry.target)) === null || _a === void 0 ? void 0 : _a(entry);\n });\n};\n", "import { ForgeResizeObserver, getShadowElement } from '@tylertech/forge-core';\n\nimport { BaseAdapter, IBaseAdapter } from '../../core/base/base-adapter';\nimport { ISplitViewPanelComponent, SPLIT_VIEW_PANEL_CONSTANTS } from '../split-view-panel';\nimport { ISplitViewComponent } from './split-view';\nimport { SplitViewOrientation, SPLIT_VIEW_CONSTANTS } from './split-view-constants';\n\nexport interface ISplitViewAdapter extends IBaseAdapter {\n registerSlotListener(listener: (evt: Event) => void): void;\n registerDidOpenListener(listener: () => void): void;\n registerDidCloseListener(listener: () => void): void;\n observeResize(callback: (entry: ResizeObserverEntry) => void): void;\n unobserveResize(): void;\n getSlottedPanels(): ISplitViewPanelComponent[];\n refitSlottedPanels(orientation: SplitViewOrientation): void;\n}\n\nexport class SplitViewAdapter extends BaseAdapter<ISplitViewComponent> implements ISplitViewAdapter {\n private _root: HTMLElement;\n\n constructor(component: ISplitViewComponent) {\n super(component);\n this._root = getShadowElement(component, SPLIT_VIEW_CONSTANTS.selectors.ROOT);\n }\n\n public registerSlotListener(listener: (evt: Event) => void): void {\n this._root.addEventListener('slotchange', listener);\n }\n\n public registerDidOpenListener(listener: () => void): void {\n this._root.addEventListener(SPLIT_VIEW_PANEL_CONSTANTS.events.DID_OPEN, listener);\n }\n\n public registerDidCloseListener(listener: () => void): void {\n this._root.addEventListener(SPLIT_VIEW_PANEL_CONSTANTS.events.DID_CLOSE, listener);\n }\n\n public observeResize(callback: (entry: ResizeObserverEntry) => void): void {\n ForgeResizeObserver.observe(this._root, callback);\n }\n \n public unobserveResize(): void {\n ForgeResizeObserver.unobserve(this._root);\n }\n \n /**\n * Gets all child panels.\n * @returns All child panels.\n */\n public getSlottedPanels(): ISplitViewPanelComponent[] {\n const nodeList = this._component.querySelectorAll<ISplitViewPanelComponent>(SPLIT_VIEW_CONSTANTS.selectors.PANEL);\n return Array.from(nodeList);\n }\n\n public refitSlottedPanels(orientation: SplitViewOrientation): void {\n // Check if the combined panel size is greater than the split view size along the relevant axis\n const size = orientation === 'horizontal' ? this._root.clientWidth : this._root.clientHeight;\n const panels = this.getSlottedPanels();\n const combinedPanelSize = panels.map(panel => {\n const panelRoot = panel.shadowRoot?.querySelector(SPLIT_VIEW_PANEL_CONSTANTS.selectors.ROOT);\n const panelSize = orientation === 'horizontal' ? panelRoot?.clientWidth : panelRoot?.clientHeight;\n return panelSize ?? 0;\n }).reduce((cur, acc) => cur + acc, 0);\n\n // Do nothing if all the panels fit\n if (combinedPanelSize <= size) {\n return;\n }\n\n // Get the size adjustment needed to fit\n let diff = combinedPanelSize - size;\n\n // Size down the panels as needed in reverse order, adjusting diff accordingly\n panels.slice().reverse().forEach(panel => {\n if (diff <= 0) {\n return;\n }\n\n const panelSize = panel.getContentSize();\n const collapsibleSize = panel.getCollapsibleSize();\n const reduceBy = Math.min(diff, collapsibleSize);\n const newSize = panelSize - reduceBy;\n\n panel.setContentSize(newSize);\n\n diff -= reduceBy;\n });\n\n // If there's still overflow nothing else can be done\n }\n}\n", "import { ForgeResizeObserverCallback, ICustomElementFoundation, throttle } from '@tylertech/forge-core';\n\nimport { ISplitViewBase } from '../core/split-view-base';\nimport { ISplitViewPanelComponent, SplitViewAnimatingLayer } from '../split-view-panel';\nimport { ISplitViewAdapter } from './split-view-adapter';\nimport { ISplitViewUpdateConfig, SplitViewOrientation, SPLIT_VIEW_CONSTANTS } from './split-view-constants';\n\nexport interface ISplitViewFoundation extends ISplitViewBase, ICustomElementFoundation {\n orientation: SplitViewOrientation;\n layerSlottedPanels(target: ISplitViewPanelComponent): void;\n unlayerSlottedPanels(): void;\n update(config: ISplitViewUpdateConfig): void;\n refitSlottedPanels(): void;\n}\n\nexport class SplitViewFoundation implements ISplitViewFoundation {\n private _orientation: SplitViewOrientation = 'horizontal';\n private _disabled = false;\n private _allowClose = false;\n private _autoClose = false;\n private _autoCloseThreshold = 0;\n private _slotListener: (evt: Event) => void;\n private _didOpenListener: () => void;\n private _didCloseListener: () => void;\n private _resizeObserverCallback: ForgeResizeObserverCallback;\n private _isInitialized = false;\n\n constructor(private _adapter: ISplitViewAdapter) {\n this._slotListener = evt => this._onSlotChange(evt);\n this._didOpenListener = () => this._onDidOpen();\n this._didCloseListener = () => this._onDidClose();\n this._resizeObserverCallback = throttle((entry: ResizeObserverEntry) => this._onResize(entry), SPLIT_VIEW_CONSTANTS.numbers.RESIZE_THROTTLE_THRESHOLD);\n }\n\n public initialize(): void {\n this._adapter.registerSlotListener(this._slotListener);\n this._adapter.registerDidOpenListener(this._didOpenListener);\n this._adapter.registerDidCloseListener(this._didCloseListener);\n this._adapter.observeResize(this._resizeObserverCallback);\n \n this._applyOrientation();\n this._isInitialized = true;\n }\n\n public disconnect(): void {\n this._adapter.unobserveResize();\n }\n\n private _onSlotChange(evt: Event): void {\n this._layoutSlottedPanels();\n this.update({ accessibility: true, cursor: true, orientation: this._orientation });\n }\n\n private _onDidOpen(): void {\n this._adapter.refitSlottedPanels(this._orientation);\n this.update({ accessibility: true, cursor: true, size: true});\n }\n\n private _onDidClose(): void {\n this._adapter.refitSlottedPanels(this._orientation);\n this.update({ accessibility: true, cursor: true, size: true});\n }\n\n private _onResize(entry: ResizeObserverEntry): void {\n this.update({ accessibility: true, cursor: true, size: true });\n }\n\n /**\n * Sets the resizable value of slotted panels with no resizable value set.\n */\n private _layoutSlottedPanels(): void {\n const panels = this._adapter.getSlottedPanels();\n\n // A single panel should have resizable set to off. Just leave it alone.\n if (panels.length < 2) {\n return;\n }\n\n // Don't change any panels if resizable is already set.\n if (panels.some(panel => panel.resizable !== 'off')) {\n return;\n }\n\n // All panels after the first have resizable set to start.\n panels.slice(1).forEach(panel => panel.resizable = 'start');\n }\n\n /**\n * Get/set whether panels are arranged horizontally or vertically.\n */\n public get orientation(): SplitViewOrientation {\n return this._orientation;\n }\n public set orientation(value: SplitViewOrientation) {\n if (this._orientation !== value) {\n this._orientation = value;\n this._applyOrientation();\n }\n }\n\n private _applyOrientation(): void {\n this._adapter.setHostAttribute(SPLIT_VIEW_CONSTANTS.attributes.ORIENTATION, this._orientation);\n this.update({ orientation: this._orientation });\n\n if (this._isInitialized) {\n this._adapter.refitSlottedPanels(this._orientation);\n }\n this.update({ accessibility: true, cursor: true });\n }\n\n /**\n * Get/set whether interactions are disabled.\n */\n public get disabled(): boolean {\n return this._disabled;\n }\n public set disabled(value: boolean) {\n if (this._disabled !== value) {\n this._disabled = value;\n this._applyDisabled();\n }\n }\n\n private _applyDisabled(): void {\n this._adapter.toggleHostAttribute(SPLIT_VIEW_CONSTANTS.attributes.DISABLED, this._disabled);\n this.update({ properties: { disabled: this._disabled } });\n }\n\n /**\n * Get/set whether closing the panel is disabled.\n */\n public get allowClose(): boolean {\n return this._allowClose;\n }\n public set allowClose(value: boolean) {\n if (this._allowClose !== value) {\n this._allowClose = value;\n this._applyAllowClose();\n }\n }\n\n private _applyAllowClose(): void {\n this._adapter.toggleHostAttribute(SPLIT_VIEW_CONSTANTS.attributes.ALLOW_CLOSE, this._allowClose);\n this.update({ properties: { allowClose: this._allowClose } });\n }\n\n /**\n * Get/set whether the panel closes when a threshold size is reached.\n */\n public get autoClose(): boolean {\n return this._autoClose;\n }\n public set autoClose(value: boolean) {\n if (this._autoClose !== value) {\n this._autoClose = value;\n this._applyAutoClose();\n }\n }\n\n private _applyAutoClose(): void {\n this._adapter.toggleHostAttribute(SPLIT_VIEW_CONSTANTS.attributes.AUTO_CLOSE, this._autoClose);\n this.update({ properties: { autoClose: this._autoClose } });\n }\n\n /**\n * Get/set the size at which panels auto close.\n */\n public get autoCloseThreshold(): number {\n return this._autoCloseThreshold;\n }\n public set autoCloseThreshold(value: number) {\n if (this._autoCloseThreshold !== value) {\n this._autoCloseThreshold = value;\n this._applyAutoCloseThreshold();\n }\n }\n\n private _applyAutoCloseThreshold(): void {\n this._adapter.setHostAttribute(SPLIT_VIEW_CONSTANTS.attributes.AUTO_CLOSE_THRESHOLD, this._autoCloseThreshold.toString());\n this.update({ properties: { autoCloseThreshold: this._autoCloseThreshold } });\n }\n\n /**\n * Layers panels in a set order during an animation. Panels that the target is animating toward\n * stack above it and other layers stack under it.\n * @param target The animating panel.\n */\n public layerSlottedPanels(target: ISplitViewPanelComponent): void {\n const panels = this._adapter.getSlottedPanels();\n const increment = target.resizable === 'start' ? 1 : -1;\n let layer = target.resizable === 'start' ? SplitViewAnimatingLayer.Under : SplitViewAnimatingLayer.Above;\n\n panels.forEach(panel => {\n // Increment the layer if moving into or out of the target panel\n if (panel === target || layer === SplitViewAnimatingLayer.Active) {\n layer += increment;\n }\n panel.style.setProperty(SPLIT_VIEW_CONSTANTS.customCssProperties.ANIMATING_LAYER, layer.toString());\n });\n }\n\n /**\n * Removes layering after an animation.\n */\n public unlayerSlottedPanels(): void {\n const panels = this._adapter.getSlottedPanels();\n panels.forEach(panel => {\n panel.style.removeProperty(SPLIT_VIEW_CONSTANTS.customCssProperties.ANIMATING_LAYER);\n });\n }\n\n /**\n * Updates the provided characteristics of each panel.\n * @param config An update configuration.\n */\n public update(config: ISplitViewUpdateConfig): void {\n const panels = this._adapter.getSlottedPanels();\n panels.forEach(panel => {\n panel.update(config);\n });\n }\n\n /**\n * Resizes panels within the split view to avoid overflow.\n */\n public refitSlottedPanels(): void {\n this._adapter.refitSlottedPanels(this._orientation);\n }\n}\n", "import { CustomElement, attachShadowTemplate, FoundationProperty, coerceBoolean, coerceNumber } from '@tylertech/forge-core';\n\nimport { BaseComponent, IBaseComponent } from '../../core/base/base-component';\nimport { SplitViewAdapter } from './split-view-adapter';\nimport { SplitViewFoundation } from './split-view-foundation';\nimport { ISplitViewUpdateConfig, SplitViewOrientation, SPLIT_VIEW_CONSTANTS } from './split-view-constants';\nimport { ISplitViewPanelComponent, SplitViewPanelComponent } from '../split-view-panel';\nimport { ISplitViewBase } from '../core/split-view-base';\n\nconst template = '<template><div class=\\\"forge-split-view\\\" id=\\\"root\\\" part=\\\"root\\\"><slot></slot></div></template>';\nconst styles = '@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity;position:relative;outline:0;overflow:hidden}.mdc-ripple-surface::after,.mdc-ripple-surface::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\\\"\\\"}.mdc-ripple-surface::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface::after,.mdc-ripple-surface::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-upgraded--unbounded::after,.mdc-ripple-upgraded--unbounded::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{background-color:#000;background-color:var(--mdc-ripple-color,#000)}.mdc-ripple-surface.mdc-ripple-surface--hover::before,.mdc-ripple-surface:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{--mdc-ripple-color:var(--mdc-theme-on-surface)}.forge-split-view{display:-webkit-box;display:flex;width:100%;height:100%}:host{--forge-split-view-handle-width:8px;display:block;height:100%;width:100%;overflow:hidden;contain:paint size}:host([hidden]){display:none}:host([orientation=horizontal]) .forge-split-view{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}:host([orientation=vertical]) .forge-split-view{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}';\n\nexport interface ISplitViewComponent extends ISplitViewBase, IBaseComponent {\n orientation: SplitViewOrientation;\n layerSlottedPanels(target: ISplitViewPanelComponent): void;\n unlayerSlottedPanels(): void;\n update(config: ISplitViewUpdateConfig): void;\n refit(): void;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'forge-split-view': ISplitViewComponent;\n }\n}\n\n/**\n * The custom element class behind the `<forge-split-view>` element.\n * \n * @tag forge-split-view\n */\n@CustomElement({\n name: SPLIT_VIEW_CONSTANTS.elementName,\n dependencies: [\n SplitViewPanelComponent\n ]\n})\nexport class SplitViewComponent extends BaseComponent implements ISplitViewComponent {\n public static get observedAttributes(): string[] {\n return [\n SPLIT_VIEW_CONSTANTS.attributes.ORIENTATION,\n SPLIT_VIEW_CONSTANTS.attributes.DISABLED,\n SPLIT_VIEW_CONSTANTS.attributes.ALLOW_CLOSE,\n SPLIT_VIEW_CONSTANTS.attributes.AUTO_CLOSE,\n SPLIT_VIEW_CONSTANTS.attributes.AUTO_CLOSE_THRESHOLD\n ];\n }\n\n private _foundation: SplitViewFoundation;\n\n constructor() {\n super();\n attachShadowTemplate(this, template, styles);\n this._foundation = new SplitViewFoundation(new SplitViewAdapter(this));\n }\n\n public connectedCallback(): void {\n this._foundation.initialize();\n }\n\n public disconnectedCallback(): void {\n this._foundation.disconnect();\n }\n\n public attributeChangedCallback(name: string, oldValue: string, newValue: string): void {\n switch (name) {\n case SPLIT_VIEW_CONSTANTS.attributes.ORIENTATION:\n this.orientation = newValue as SplitViewOrientation;\n break;\n case SPLIT_VIEW_CONSTANTS.attributes.DISABLED:\n this.disabled = coerceBoolean(newValue);\n break;\n case SPLIT_VIEW_CONSTANTS.attributes.ALLOW_CLOSE:\n this.allowClose = coerceBoolean(newValue);\n break;\n case SPLIT_VIEW_CONSTANTS.attributes.AUTO_CLOSE:\n this.autoClose = coerceBoolean(newValue);\n break;\n case SPLIT_VIEW_CONSTANTS.attributes.AUTO_CLOSE_THRESHOLD:\n this.autoCloseThreshold = coerceNumber(newValue);\n break;\n }\n }\n\n /**\n * Whether child split view panels are laid out and resize horizontally or vertically.\n */\n @FoundationProperty()\n public orientation: SplitViewOrientation;\n\n /**\n * Whether child split view panels have resize interactions disabled or enabled.\n */\n @FoundationProperty()\n public disabled: boolean;\n\n /**\n * Whether child split view panels can be closed via keyboard interaction.\n */\n @FoundationProperty()\n public allowClose: boolean;\n\n /**\n * Whether child split view panels automatically close when they reach a size of 0.\n */\n @FoundationProperty()\n public autoClose: boolean;\n\n /**\n * The size at which panels auto close.\n */\n @FoundationProperty()\n public autoCloseThreshold: number;\n\n /**\n * Arranges split view panels to avoid overlapping during animations.\n * @param target The originating split view panel component.\n */\n public layerSlottedPanels(target: ISplitViewPanelComponent): void {\n this._foundation.layerSlottedPanels(target);\n }\n\n /**\n * Removes presentation data set during an animation.\n */\n public unlayerSlottedPanels(): void {\n this._foundation.unlayerSlottedPanels();\n }\n\n /**\n * Updates the provided characteristics of each slotted panel.\n * @param config An update configuration.\n */\n public update(config: ISplitViewUpdateConfig): void {\n this._foundation.update(config);\n }\n\n /**\n * Resizes panels within the split view to avoid overflow.\n */\n public refit(): void {\n this._foundation.refitSlottedPanels();\n }\n}\n", "import { defineCustomElement } from '@tylertech/forge-core';\n\nimport { SplitViewComponent } from './split-view';\n\nexport * from './split-view-adapter';\nexport * from './split-view-constants';\nexport * from './split-view-foundation';\nexport * from './split-view';\n\nexport function defineSplitViewComponent(): void {\n defineCustomElement(SplitViewComponent);\n}\n"],
5
- "mappings": "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",
6
- "names": ["ForgeResizeObserver", "target", "callback", "options", "_a", "_b", "entries", "entry", "SplitViewAdapter", "BaseAdapter", "component", "getShadowElement", "SPLIT_VIEW_CONSTANTS", "listener", "SPLIT_VIEW_PANEL_CONSTANTS", "callback", "ForgeResizeObserver", "nodeList", "orientation", "size", "panels", "combinedPanelSize", "panel", "_a", "panelRoot", "panelSize", "cur", "acc", "diff", "collapsibleSize", "reduceBy", "newSize", "SplitViewFoundation", "_adapter", "evt", "throttle", "entry", "SPLIT_VIEW_CONSTANTS", "panels", "panel", "value", "target", "increment", "layer", "config", "template", "styles", "SplitViewComponent", "BaseComponent", "attachShadowTemplate", "SplitViewFoundation", "SplitViewAdapter", "SPLIT_VIEW_CONSTANTS", "name", "oldValue", "newValue", "coerceBoolean", "coerceNumber", "target", "config", "__decorateClass", "FoundationProperty", "CustomElement", "SplitViewPanelComponent", "defineSplitViewComponent", "defineCustomElement", "SplitViewComponent"]
7
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2023 Tyler Technologies, Inc.
4
- * License: Apache-2.0
5
- */
6
- import{a as J}from"./chunk.KU5CXXGS.js";import{a as Y,b as H}from"./chunk.RG6CDWEX.js";import{a as k}from"./chunk.6YPD6CQM.js";import{a as X}from"./chunk.VAKNDCLP.js";import{a as z}from"./chunk.4DAIIJ37.js";import{a as b}from"./chunk.V7WKXEZC.js";import{g,h as O}from"./chunk.MZLPUI6R.js";import{a as j,d as q}from"./chunk.JHBCYICS.js";import{d as $}from"./chunk.BE7PZANN.js";import{g as B}from"./chunk.Y4GKBJGI.js";import{d as R,e as P,f as M,i as U,x as K}from"./chunk.PN26D52V.js";import{b as h,d as V,h as A,j as v,n as L,p as G}from"./chunk.J2M2MXP2.js";import{a as x}from"./chunk.MCIQXNKY.js";var ce={POPUP_CLASSES:"popup-classes",OPTION_LIMIT:"option-limit",OBSERVE_SCROLL:"observe-scroll",OBSERVE_SCROLL_THRESHOLD:"observe-scroll-threshold",SYNC_POPUP_WIDTH:"sync-popup-width",CONSTRAIN_POPUP_WIDTH:"constrain-popup-width",WRAP_OPTION_TEXT:"wrap-option-text",CHECKBOX_ELEMENT:"data-list-dropdown-checkbox",DATA_ALLOW_FOCUS:"data-list-dropdown-allow-focus"},ue={GROUP_WRAPPER:"forge-list-dropdown__group-wrapper"},m={attributes:ce,classes:ue},Q={options:[],syncWidth:!1,selectedValues:[],multiple:!1},Z=(o=>(o.None="none",o.Standard="standard",o.Menu="menu",o))(Z||{}),ee=(t=>(t.Spinner="spinner",t.Skeleton="skeleton",t))(ee||{});var I=class{constructor(){this._listenerMap=new Map}_emit(e,t){let o=this._listenerMap.get(e);o&&o.length&&o.forEach(n=>n({type:e,data:t}))}hasListeners(e){return e?this._listenerMap.has(e):this._listenerMap.size>0}addListener(e,t){if(!this._listenerMap.has(e))this._listenerMap.set(e,[t]);else{let o=this._listenerMap.get(e);o&&o.push(t)}}removeListener(e,t){let o=this._listenerMap.get(e);o&&o.length&&o.includes(t)&&(o.splice(o.indexOf(t),1),o.length||this._listenerMap.delete(e))}};var _;(function(i){i.Up="up",i.Down="down",i.Left="left",i.Right="right"})(_||(_={}));var u;(function(i){i.Scroll="scroll",i.Scrolled="scrolled",i.ScrolledStart="scrolled-start",i.ScrolledEnd="scrolled-end"})(u||(u={}));var me=100,E=class extends I{constructor(e,t={}){super(),this._element=e,this._config=t,this._axis="vertical",this._scrollThreshold=0,this._lastScrollPosition=0,this._lastScrollTop=0,this._lastScrollLeft=0,this._isListening=!1,this._initialize()}destroy(){this.stop()}start(){this._isListening||(this._element.addEventListener("scroll",this._scrollListener),this._isListening=!0)}stop(){this._element.removeEventListener("scroll",this._scrollListener),this._isListening=!1}_initialize(){if(this._config.throttle){let e=this._config.throttleTime||me;this._scrollListener=G(()=>this._onScroll(),e)}else this._scrollListener=()=>this._onScroll();(!h(this._config.paused)||!this._config.paused)&&this.start(),h(this._config.axis)&&(this._axis=this._config.axis),h(this._config.scrollThreshold)&&V(this._config.scrollThreshold)&&(this._scrollThreshold=this._config.scrollThreshold)}_isScrollAxis(){let e=this._lastScrollTop!==this._element.scrollTop,t=this._lastScrollLeft!==this._element.scrollLeft;return this._axis==="vertical"&&e||this._axis==="horizontal"&&t}_onScroll(){if(!this._isScrollAxis())return;let e=this.scrollPosition,t=this._lastScrollPosition-e<0?this._axis==="vertical"?_.Down:_.Right:this._axis==="vertical"?_.Up:_.Left;this._emit(u.Scroll,{direction:t,position:e}),this._lastScrollPosition<=this._scrollThreshold&&e>this._scrollThreshold?this._emit(u.Scrolled,!0):this._lastScrollPosition>=this._scrollThreshold&&(this._scrollThreshold>0?e<this._scrollThreshold:e===0)&&this._emit(u.Scrolled,!1);let o=Math.round(e-this._scrollThreshold),n=Math.round(this.scrollSize-e);this._lastScrollPosition>=this._scrollThreshold&&o<=0?this._emit(u.ScrolledStart):this._lastScrollPosition<=this.scrollSize-this._scrollThreshold&&n<=this._scrollThreshold&&this._emit(u.ScrolledEnd),this._lastScrollPosition=e||0,this._lastScrollTop=this._element.scrollTop||0,this._lastScrollLeft=this._element.scrollLeft||0}get scrollPosition(){return this._axis==="vertical"?this._element.scrollTop:this._element.scrollLeft}get isScrolled(){return this.scrollPosition>this._scrollThreshold}get isScrolledStart(){return this.scrollPosition===0}get isScrolledEnd(){return this.scrollPosition===this._element.scrollWidth}get isScrollable(){return this._axis==="vertical"?this._element.scrollHeight>this._element.clientHeight:this._element.scrollWidth>this._element.clientWidth}get scrollSize(){return(this._axis==="vertical"?this._element.scrollHeight:this._element.scrollWidth)-this.elementSize}get elementSize(){return this._axis==="vertical"?this._element.clientHeight:this._element.clientWidth}setScrollPosition(e){this._axis==="vertical"?this._element.scrollTop=e:this._element.scrollLeft=e}};function ie(i,e){let t=he(i,e),o=`list-dropdown-popup-${i.id}`;switch(t.addEventListener("mousedown",n=>{let a=z(n);if(a.find(c=>c.nodeType===1&&c.hasAttribute(m.attributes.DATA_ALLOW_FOCUS)))return;a.find(c=>c.id===o||c.id===i.id)&&n.preventDefault()}),i.type){case"menu":t.setAttribute("role","menu"),t.setAttribute("aria-orientation","vertical");break;default:t.setAttribute("role","listbox")}return i.id&&(t.id=o),i.popupClasses&&M(i.popupClasses,t),t}function he(i,e){var o;let t=document.createElement("forge-popup");switch(t.targetElement=e,t.placement=i.popupPlacement||"bottom-start",t.manageFocus=!1,t.static=!!i.popupStatic,(o=i.popupFallbackPlacements)!=null&&o.length&&(t.fallbackPlacements=i.popupFallbackPlacements),i.constrainViewportWidth&&t.setAttribute(b.attributes.CONSTRAIN_VIEWPORT_WIDTH,""),i.popupOffset&&(t.offset=i.popupOffset),i.type){case"menu":t.animationType="menu";break;case"none":t.animationType="none";break;default:t.animationType="dropdown"}return t}function oe(i){let e=document.createElement(Y.elementName);return e.id=`list-dropdown-list-${i.id}`,e.propagateClick=!1,e}function w(i,e,t){let o=be(t||i.options),n=N(o),a=!!i.optionLimit,p=i.optionLimit||0,f=0;for(let c of o){let T=e;if(c.builder&&typeof c.builder=="function"){let s=c.builder(c);if(s){let d=document.createElement("div");d.classList.add(m.classes.GROUP_WRAPPER),T=d,typeof s=="string"?d.innerHTML=s:s instanceof HTMLElement&&d.appendChild(s),e.appendChild(d)}}else if(c.text){let s=document.createElement("div");s.classList.add(m.classes.GROUP_WRAPPER);let d=document.createElement("div");d.textContent=c.text,d.classList.add("forge-typography--overline"),d.style.fontFamily="Roboto,sans-serif",d.style.fontSize="0.75rem",d.style.lineHeight="2rem",d.style.letterSpacing="0.16667em",d.style.fontWeight="500",d.style.margin="4px 8px",T=s,s.appendChild(d),e.appendChild(s)}for(let s of c.options){if(s.divider){let r=_e();e.appendChild(r);continue}if(a&&--p<0)break;f++;let d=i.selectedValues?i.selectedValues.some(r=>L(r,s.value)):!1,l=document.createElement("forge-list-item");switch(l.value=s.value,l.id=`list-dropdown-option-${i.id}-${f}`,l.style.cursor="pointer",i.wrapOptionText&&(l.wrap=!0),s.optionClass&&(typeof s.optionClass=="string"||Array.isArray(s.optionClass)&&s.optionClass.length)&&M(s.optionClass,l),i.type){case"menu":l.setAttribute("role","menuitem");break;case"none":break;default:l.setAttribute("role","option")}if(i.dense&&(l.dense=!0),i.optionBuilder&&typeof i.optionBuilder=="function"){let r=i.optionBuilder(s,l);r&&(typeof r=="string"?l.innerHTML=r:l.appendChild(r))}else if(typeof i.transform!="function")l.textContent=s.label||"";else{let r=i.transform(s.label);typeof r=="string"?l.textContent=r:typeof r=="object"&&r.nodeType!==void 0&&l.appendChild(r)}if(i.multiple){let r=y(d);l.appendChild(r),l.setAttribute("aria-selected",`${d}`),l.setAttribute("aria-checked",`${d}`)}if(s.elementAttributes&&s.elementAttributes.forEach((r,F)=>{l.setAttribute(F,r)}),s.leadingBuilder){let r=s.leadingBuilder();v(r)&&(r.slot="leading",l.appendChild(r))}else if(s.leadingIcon){let r=te(s.leadingIconType,s.leadingIcon,s.leadingIconClass||i.iconClass);r.slot="leading",l.appendChild(r)}if(s.trailingBuilder){let r=s.trailingBuilder();v(r)&&(r.slot="trailing",l.appendChild(r))}else if(s.trailingIcon){let r=te(s.trailingIconType,s.trailingIcon,s.trailingIconClass||i.iconClass);r.slot="trailing",l.appendChild(r)}if(s.disabled?(l.disabled=s.disabled,l.setAttribute("aria-disabled","true")):(l.style.cursor="pointer",l.setAttribute("aria-disabled","false")),d&&(l.selected=!0),l.setAttribute("aria-selected",d?"true":"false"),!s.disabled&&typeof i.cascadingElementFactory=="function"&&Array.isArray(s.options)&&s.options.length){let r=document.createElement("forge-icon");r.name="arrow_right",r.slot="trailing",l.appendChild(r);let de={index:n.filter(ae=>!ae.divider).indexOf(s),options:s.options,parentValue:s.value},W=i.cascadingElementFactory.call(null,de);W.appendChild(l),l=W}T.appendChild(l)}}}function y(i){let e=document.createElement("forge-icon");return e.setAttribute(m.attributes.CHECKBOX_ELEMENT,""),e.name=i?O.name:g.name,e.slot="leading",e.style.marginRight="16px",e.style.verticalAlign="middle",e}function _e(){let i=document.createElement("forge-divider");return i.setAttribute("aria-hidden","true"),i}function te(i="font",e,t){if(i==="component"){let n=document.createElement("forge-icon");return t&&n.classList.add(t),n.setAttribute("aria-hidden","true"),n.name=e,n}let o=document.createElement("i");return o.classList.add(t||$),o.setAttribute("aria-hidden","true"),o.textContent=e,o}function ne(i){switch(i){case"skeleton":return ve();default:return fe()}}function fe(){let i=document.createElement("div");i.style.display="flex",i.style.justifyContent="center",i.style.alignItems="center",i.style.padding="8px",i.style.boxSizing="border-box";let e=document.createElement("forge-circular-progress");return e.style.setProperty("--forge-circular-progress-size","24px"),i.appendChild(e),i}function ve(){let i=document.createElement("forge-list"),e=document.createElement("div");e.style.minWidth="192px";for(let t=0;t<3;t++){let o=document.createElement(J.elementName);o.setAttribute("list-item",""),e.appendChild(o)}return i.appendChild(e),i}function se(){let i=document.createElement(X.elementName);return i.determinate=!1,i.style.position="absolute",i.style.top="0",i.style.left="0",i.style.right="0",i.style.width="100%",i}function be(i){return re(i,1)?i:[{text:"",options:i}]}function re(i,e){let t=i.some(n=>h(n)&&v(n)&&n.hasOwnProperty("options")&&(n.hasOwnProperty("text")||n.hasOwnProperty("builder"))),o=i.some(n=>h(n)&&v(n)&&n.hasOwnProperty("label")&&n.hasOwnProperty("value"));return t&&e===1||o&&e===0}function N(i){return re(i,1)?i.reduce((t,o)=>t.concat(o.options),[]):[...i]}var C=class{constructor(e,t){this._adapter=e;this._open=!1;this._config=Object.assign(x({},Q),x({},t)),this._selectListener=(o,n)=>this._onSelect(o,n),this._closeListener=()=>{typeof this._config.closeCallback=="function"&&this._config.closeCallback()},this._scrollEndListener=()=>{this._config.observeScroll&&typeof this._config.scrollEndListener=="function"&&this._config.scrollEndListener()}}destroy(){this._open&&this.close()}open(){this._open||(this._open=!0,this._adapter.open(this._config,this._selectListener,this._closeListener),window.requestAnimationFrame(()=>{this._open&&this.activateInitialOption()}),this._config.observeScroll&&this._config.scrollEndListener&&this._adapter.setScrollBottomListener(this._scrollEndListener,this._config.observeScrollThreshold||0))}close(){this._open&&(this._open=!1,this._adapter.close(),this._config.observeScroll&&this._config.scrollEndListener&&this._adapter.removeScrollBottomListener(this._scrollEndListener))}_onSelect(e,t){if(typeof this._config.activeChangeCallback=="function"&&this._config.activeChangeCallback(t),typeof this._config.selectCallback=="function"&&this._config.selectCallback(e),this._open){let o=this._config.syncWidth===void 0;this._adapter.syncWidth(o)}}getActiveOptionIndex(){return this._adapter.getActiveOptionIndex()}getActiveOption(){let e=this.getActiveOptionIndex();return e>=0?this._nonDividerOptions[e]:void 0}toggleOptionMultiple(e,t){return this._adapter.toggleOptionMultiple(e,t)}activateSelectedOption(){this._adapter.activateSelectedOption(this._config)}activateFirstOption(){let e=this._nonDividerOptions.findIndex(t=>!t.disabled);return e!==-1&&this.activateOption(e),e}activateLastOption(){let e=this._nonDividerOptions,t=e.length-1-e.findIndex(o=>!o.disabled);return t!==-1&&this.activateOption(t),t}activateOption(e,t){return this._adapter.activateOption(e,this._config.activeChangeCallback,t)}activateInitialOption(){typeof this._config.activeStartIndex=="number"&&this._nonDividerOptions[this._config.activeStartIndex]?(this.activateOption(this._config.activeStartIndex,!1),this._adapter.scrollSelectedOptionIntoView(!1)):this._config.selectedValues&&this._config.selectedValues.length?this._adapter.scrollSelectedOptionIntoView(!1):typeof this._config.visibleStartIndex=="number"&&this._nonDividerOptions[this._config.visibleStartIndex]&&this._adapter.scrollOptionIntoView(this._config.visibleStartIndex)}setSelectedValues(e){Array.isArray(e)||(e=[e]),!this._config.multiple&&e.length>1&&(e=[e[0]]),this._config.selectedValues=e,this._adapter.setSelectedValues(e,this._config.multiple)}clearActiveOption(){this._adapter.clearActiveOption()}setOptions(e){this._config.options=e,this._open&&(this._adapter.setOptions(this._config),this.activateInitialOption())}appendOptions(e){this._config.options=[...this._config.options,...e],this._open&&this._adapter.appendOptions(e,this._config)}get dropdownElement(){return this._adapter.dropdownElement}scrollSelectedOptionIntoView(e=!0){this._adapter.scrollSelectedOptionIntoView(e)}setScrollBottomListener(e,t){this._config.scrollEndListener=e,this._config.observeScroll=!0,this._config.observeScrollThreshold=t,this._adapter.setScrollBottomListener(this._scrollEndListener,this._config.observeScrollThreshold||0)}removeScrollBottomListener(){this._config.scrollEndListener=void 0,this._adapter.removeScrollBottomListener(this._scrollEndListener)}setBusyVisibility(e){!this._config.allowBusy||this._adapter.setBusyVisibility(e)}handleKey(e){switch(e){case"Enter":case"NumpadEnter":let t=this.getActiveOptionIndex(),o=this._nonDividerOptions[t];if(this._canSelectOption(o)){let p=this._adapter.getActiveOptionIdByIndex(t);p&&this._onSelect(o.value,p)}break;case"Up":case"ArrowUp":case"Down":case"ArrowDown":let n=this._nonDividerOptions;if(n.length&&n.every(p=>!this._canSelectOption(p)))return;let a=this._getNextActiveOptionIndex(e);this.activateOption(a);break;case"Home":this.activateFirstOption();break;case"End":this.activateLastOption();break}}_canSelectOption(e){return e&&!e.disabled&&!e.divider}_getNextActiveOptionIndex(e){let t=this._adapter.getActiveOptionIndex();return t===-1&&(t=this._adapter.getSelectedOptionIndex()),e==="ArrowUp"||e==="Up"?this._getPreviousHighlightableOptionIndex(t,this._nonDividerOptions):this._getNextHighlightableOptionIndex(t,this._nonDividerOptions)}_getPreviousHighlightableOptionIndex(e,t){let o=e<=0?t.length-1:e-1;return t[o].disabled?this._getPreviousHighlightableOptionIndex(o,t):o}_getNextHighlightableOptionIndex(e,t){let o=e===t.length-1?0:e+1;return t[o].disabled?this._getNextHighlightableOptionIndex(o,t):o}get _flatOptions(){return N(this._config.options)}get _nonDividerOptions(){return this._flatOptions.filter(e=>!e.divider)}};var S=class{constructor(e){this._targetElement=e}get dropdownElement(){return this._dropdownElement}open(e,t,o){this._dropdownElement=ie(e,this._targetElement),this.syncWidth(!!e.syncWidth,e.targetWidthCallback),e.allowBusy&&(this._busyElement=se(),this._busyElement.style.display="none",this._dropdownElement.appendChild(this._busyElement)),e.headerBuilder&&(this._headerElement=e.headerBuilder(),this._headerElement&&this._headerElement.setAttribute(m.attributes.DATA_ALLOW_FOCUS,"")),e.footerBuilder&&(this._footerElement=e.footerBuilder(),this._footerElement&&this._footerElement.setAttribute(m.attributes.DATA_ALLOW_FOCUS,"")),this._listElement=oe(e),this._listElement.addEventListener(H.events.SELECT,n=>{n.detail.listItem.setAttribute("aria-selected","true"),t(n.detail.value,n.detail.listItem.id)}),e.options.length?(w(e,this._listElement),this._dropdownElement.appendChild(this._listElement),this._headerElement&&this._dropdownElement.insertAdjacentElement("afterbegin",this._headerElement),this._footerElement&&this._dropdownElement.appendChild(this._footerElement)):e.allowBusy&&(this._asyncElement=ne(e.asyncStyle),this._dropdownElement.appendChild(this._asyncElement)),this._announcerElement=k(),this._announcerElement.id=`${e.id}-activedescendant`,this._dropdownElement.appendChild(this._announcerElement),this._dropdownElement.open=!0}close(){!this._dropdownElement||(this._dropdownElement.open=!1,this._dropdownElement=void 0,this._listElement=void 0,this._announcerElement=void 0)}setScrollBottomListener(e,t){if(this._dropdownElement&&!this._scrollObserver){let o=B(this._dropdownElement,b.selectors.CONTAINER),n={scrollThreshold:t};this._scrollObserver=new E(o,n),this._scrollObserver.addListener(u.ScrolledEnd,e)}}removeScrollBottomListener(e){this._scrollObserver&&this._scrollObserver.removeListener(u.ScrolledEnd,e)}getActiveOptionIndex(){if(!this._dropdownElement)return-1;let e=this._getListItemElements(),t=[...e].reverse().find(o=>o.active);return t?e.indexOf(t):-1}getSelectedOptionIndex(){return this._getListItemElements().findIndex(t=>t.selected)}getActiveOptionIdByIndex(e){if(!this._dropdownElement)return null;let o=this._getListItemElements()[e];return o?o.id:null}toggleOptionMultiple(e,t){if(!this._dropdownElement)return;let o=this._getListItemElements();o.length&&o[e]&&this._toggleSelectedOption(o[e],t)}scrollOptionIntoView(e,t=!0){let o=this._getListItemElements()[e];o&&this._scrollListItemIntoView(o,t?"smooth":"auto","center")}scrollSelectedOptionIntoView(e=!0){let t=this._getSelectedListItem();this._scrollListItemIntoView(t,e?"smooth":"auto","center")}activateSelectedOption(e){let t=this._getListItemElements();t.length&&t.filter(a=>a.active).forEach(a=>a.active=!1);let o=this._getSelectedListItem();o&&this._activateListOption(o,e.activeChangeCallback)}activateOption(e,t,o=!0){if(!this._dropdownElement)return;let n=this._getListItemElements();n.length&&(n.filter(p=>p.active).forEach(p=>p.active=!1),this._activateListOption(n[e],t),this._scrollListItemIntoView(n[e],o?"smooth":"auto"))}setSelectedValues(e,t=!1){if(!this._dropdownElement)return;let o=this._getListItemElements();for(let n of o){let a=e.some(p=>L(p,n.value));if(n.selected=a,t){let p=n.querySelector(`[${m.attributes.CHECKBOX_ELEMENT}]`);if(p){let f=y(a);P(f,p)}}}}clearActiveOption(){this._getListItemElements().forEach(t=>t.active=!1)}syncWidth(e,t){this._dropdownElement&&(this._dropdownElement.style[e?"width":"minWidth"]=`${this._getTargetElementWidth(t)}px`)}setOptions(e){!this._dropdownElement||!this._listElement||(this._asyncElement&&this._asyncElement.isConnected&&U(this._asyncElement),this._busyElement&&this._busyElement.close(),this._listElement.isConnected||this._dropdownElement.appendChild(this._listElement),R(this._listElement),w(e,this._listElement),this._headerElement&&!this._headerElement.isConnected&&this._dropdownElement.insertAdjacentElement("afterbegin",this._headerElement),this._footerElement&&!this._footerElement.isConnected&&this._dropdownElement.insertAdjacentElement("beforeend",this._footerElement),"position"in this._dropdownElement&&typeof this._dropdownElement.position=="function"&&this._dropdownElement.position())}appendOptions(e,t){!this._dropdownElement||!this._listElement||w(t,this._listElement,e)}setBusyVisibility(e){!this._dropdownElement||(e?(this._busyElement.style.removeProperty("display"),this._busyElement.open()):this._busyElement.close())}getScreenWidth(){return window.innerWidth}_getListItemElements(){return this._dropdownElement?Array.from(this._dropdownElement.querySelectorAll(H.elementName)):[]}_toggleSelectedOption(e,t){if(!this._dropdownElement)return;let o=this._getListItemElements();if(o.length){let a=o.filter(p=>p!==e&&p.active);a.length&&a.forEach(p=>p.active=!1)}e.selected=t,e.setAttribute("aria-selected",`${t}`),e.setAttribute("aria-checked",`${t}`),t&&(e.active=!0);let n=e.querySelector(`${j.elementName}[slot=leading]`);if(n){let a=y(t);P(a,n)}}_getTargetElementWidth(e){return e&&A(e)?e():this._targetElement.getBoundingClientRect().width}_activateListOption(e,t){e&&!e.disabled&&(e.active=!0,t&&A(t)&&t(e.id))}_scrollListItemIntoView(e,t="auto",o="nearest"){if(e&&this._dropdownElement&&this._dropdownElement.isConnected){let n=B(this._dropdownElement,b.selectors.CONTAINER);n&&K(n,e,t,o)}}_getSelectedListItem(){return this._getListItemElements().find(t=>t.selected)}};var le=class{constructor(e,t){this._targetElement=e;q.define([O,g]),this._foundation=new C(new S(this._targetElement),t)}destroy(){this._foundation.destroy()}open(){this._foundation.open()}close(){this._foundation.close()}getActiveOptionIndex(){return this._foundation.getActiveOptionIndex()}getActiveOption(){return this._foundation.getActiveOption()}toggleOptionMultiple(e,t){return this._foundation.toggleOptionMultiple(e,t)}activateSelectedOption(){this._foundation.activateSelectedOption()}activateFirstOption(){return this._foundation.activateFirstOption()}activateOption(e){return this._foundation.activateOption(e)}activateInitialOption(){return this._foundation.activateInitialOption()}clearActiveOption(){this._foundation.clearActiveOption()}setSelectedValues(e){return this._foundation.setSelectedValues(e)}get dropdownElement(){return this._foundation.dropdownElement}setOptions(e){this._foundation.setOptions(e)}appendOptions(e){this._foundation.appendOptions(e)}scrollSelectedOptionIntoView(e){this._foundation.scrollSelectedOptionIntoView()}setScrollBottomListener(e,t){this._foundation.setScrollBottomListener(e,t)}removeScrollBottomListener(){this._foundation.removeScrollBottomListener()}setBusyVisibility(e){this._foundation.setBusyVisibility(e)}handleKey(e){this._foundation.handleKey(e)}};var D=class{constructor(){this._popupClasses=[];this._syncPopupWidth=!1;this._optionLimit=0;this._observeScroll=!1;this._observeScrollThreshold=0;this._constrainPopupWidth=!0;this._wrapOptionText=!1}get syncPopupWidth(){return this._syncPopupWidth}set syncPopupWidth(e){this._syncPopupWidth=e}get popupClasses(){return this._popupClasses}set popupClasses(e){typeof e=="string"&&(e=[e]),Array.isArray(e)&&(this._popupClasses=e)}get observeScroll(){return this._observeScroll}set observeScroll(e){this._observeScroll=e}get observeScrollThreshold(){return this._observeScrollThreshold}set observeScrollThreshold(e){this._observeScrollThreshold=e}get optionLimit(){return this._optionLimit}set optionLimit(e){this._optionLimit=e}get popupHeaderBuilder(){return this._popupHeaderBuilder}set popupHeaderBuilder(e){this._popupHeaderBuilder=e}get popupFooterBuilder(){return this._popupFooterBuilder}set popupFooterBuilder(e){this._popupFooterBuilder=e}get constrainPopupWidth(){return this._constrainPopupWidth}set constrainPopupWidth(e){this._constrainPopupWidth=e}get wrapOptionText(){return this._wrapOptionText}set wrapOptionText(e){this._wrapOptionText=e}_applySelection(){}};var pe=class extends D{constructor(t){super();this._config=t;this._open=!1;this._options=[];this._childOpen=!1;this._popupHasMouse=!1;this._targetMouseEnterListener=o=>this._onTargetMouseEnter(o),this._targetMouseLeaveListener=o=>this._onTargetMouseLeave(o),this._childPopupMouseEnterListener=()=>this._onChildPopupMouseEnter(),this._childPopupMouseLeaveListener=()=>this._onChildPopupMouseLeave(),this._documentMouseMoveListener=o=>this._mouseCoords={x:o.pageX,y:o.pageY}}_onChildPopupMouseEnter(){this._popupHasMouse=!0}_onChildPopupMouseLeave(){this._popupHasMouse=!1,setTimeout(()=>{let t=document.elementFromPoint(this._mouseCoords.x,this._mouseCoords.y);!this._popupHasMouse&&!this._childOpen&&(!t||!this._isOwnElement(t))&&(this._setCascadeTargetInactive(),this._closeDropdown())},this._config.popupTimeout)}_onTargetMouseEnter(t){!this._options.length||this._openDropdown({fromKeyboard:!1})}_onTargetMouseLeave(t){this._activeMouseLeaveTimeout=window.setTimeout(()=>{if(!(!this._open||this._childOpen)){if(this._mouseCoords){let o=document.elementFromPoint(this._mouseCoords.x,this._mouseCoords.y);if(o&&this._isOwnElement(o))return}this._setCascadeTargetInactive(),this._closeDropdown()}},this._config.targetTimeout)}_clearMouseLeaveTimeout(){this._activeMouseLeaveTimeout!==void 0&&window.clearTimeout(this._activeMouseLeaveTimeout)}};export{m as a,Q as b,Z as c,ee as d,re as e,C as f,S as g,le as h,D as i,pe as j};
7
- //# sourceMappingURL=chunk.KKMKGN2I.js.map