@tylertech/forge 2.8.0 → 2.9.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 (276) hide show
  1. package/custom-elements.json +4350 -82
  2. package/dist/esm/accordion/index.js +7 -7
  3. package/dist/esm/app-bar/help-button/index.js +9 -9
  4. package/dist/esm/app-bar/index.js +15 -15
  5. package/dist/esm/app-bar/menu-button/index.js +6 -6
  6. package/dist/esm/app-bar/notification-button/index.js +6 -6
  7. package/dist/esm/app-bar/profile-button/index.js +7 -7
  8. package/dist/esm/app-bar/search/index.js +5 -5
  9. package/dist/esm/autocomplete/index.js +13 -13
  10. package/dist/esm/banner/index.js +6 -6
  11. package/dist/esm/bottom-sheet/index.js +5 -5
  12. package/dist/esm/busy-indicator/index.js +4 -4
  13. package/dist/esm/button/index.js +3 -3
  14. package/dist/esm/calendar/calendar-dropdown/index.js +2 -2
  15. package/dist/esm/calendar/calendar-menu/index.js +2 -2
  16. package/dist/esm/calendar/index.js +7 -7
  17. package/dist/esm/checkbox/index.js +2 -2
  18. package/dist/esm/chip-field/index.js +9 -9
  19. package/dist/esm/chips/chip/index.js +6 -6
  20. package/dist/esm/chips/chip-set/index.js +6 -6
  21. package/dist/esm/chips/index.js +7 -7
  22. package/dist/esm/chunks/{chunk.VXVE7KEM.js → chunk.2QB3WXEH.js} +4 -4
  23. package/dist/esm/chunks/{chunk.VXVE7KEM.js.map → chunk.2QB3WXEH.js.map} +0 -0
  24. package/dist/esm/chunks/{chunk.3QXCVTCP.js → chunk.2Z23LQVW.js} +2 -2
  25. package/dist/esm/chunks/{chunk.3QXCVTCP.js.map → chunk.2Z23LQVW.js.map} +0 -0
  26. package/dist/esm/chunks/{chunk.BEAJZPWS.js → chunk.3TFBNPQF.js} +2 -2
  27. package/dist/esm/chunks/{chunk.BEAJZPWS.js.map → chunk.3TFBNPQF.js.map} +0 -0
  28. package/dist/esm/chunks/{chunk.2MBI5DLT.js → chunk.3ULPDQ2I.js} +71 -15
  29. package/dist/esm/chunks/chunk.3ULPDQ2I.js.map +7 -0
  30. package/dist/esm/chunks/{chunk.JC2PZ4TS.js → chunk.5DJS3K7V.js} +10 -8
  31. package/dist/esm/chunks/chunk.5DJS3K7V.js.map +7 -0
  32. package/dist/esm/chunks/{chunk.GHZ75UPO.js → chunk.5EBM357P.js} +3 -3
  33. package/dist/esm/chunks/{chunk.GHZ75UPO.js.map → chunk.5EBM357P.js.map} +0 -0
  34. package/dist/esm/chunks/{chunk.J5NUYQ4D.js → chunk.5XUOWRCK.js} +3 -3
  35. package/dist/esm/chunks/{chunk.J5NUYQ4D.js.map → chunk.5XUOWRCK.js.map} +0 -0
  36. package/dist/esm/chunks/{chunk.6EGTLHJS.js → chunk.65ZCTZEM.js} +6 -2
  37. package/dist/esm/chunks/{chunk.6EGTLHJS.js.map → chunk.65ZCTZEM.js.map} +2 -2
  38. package/dist/esm/chunks/chunk.A5GIQB6E.js +20 -0
  39. package/dist/esm/chunks/{chunk.2NMHSTAO.js.map → chunk.A5GIQB6E.js.map} +3 -3
  40. package/dist/esm/chunks/{chunk.PM7D2SUE.js → chunk.A6YZB7UK.js} +33 -2
  41. package/dist/esm/chunks/{chunk.PM7D2SUE.js.map → chunk.A6YZB7UK.js.map} +2 -2
  42. package/dist/esm/chunks/chunk.AJJILT3A.js +6 -0
  43. package/dist/esm/chunks/chunk.AJJILT3A.js.map +7 -0
  44. package/dist/esm/chunks/chunk.CGKWQIL3.js +1236 -0
  45. package/dist/esm/chunks/chunk.CGKWQIL3.js.map +7 -0
  46. package/dist/esm/chunks/chunk.CGOYP37Z.js +345 -0
  47. package/dist/esm/chunks/chunk.CGOYP37Z.js.map +7 -0
  48. package/dist/esm/chunks/{chunk.QYWAZCBX.js → chunk.CTMCTMRO.js} +2 -2
  49. package/dist/esm/chunks/{chunk.QYWAZCBX.js.map → chunk.CTMCTMRO.js.map} +0 -0
  50. package/dist/esm/chunks/{chunk.2NMHSTAO.js → chunk.D2AL6QLF.js} +10 -13
  51. package/dist/esm/chunks/chunk.D2AL6QLF.js.map +7 -0
  52. package/dist/esm/chunks/{chunk.U5ECVIX5.js → chunk.D3MXPNTL.js} +2 -2
  53. package/dist/esm/chunks/{chunk.U5ECVIX5.js.map → chunk.D3MXPNTL.js.map} +0 -0
  54. package/dist/esm/chunks/{chunk.HAWYW54W.js → chunk.D45QN7JA.js} +5 -5
  55. package/dist/esm/chunks/{chunk.HAWYW54W.js.map → chunk.D45QN7JA.js.map} +0 -0
  56. package/dist/esm/chunks/{chunk.2WBHHTUM.js → chunk.EFQZGAM5.js} +2 -2
  57. package/dist/esm/chunks/{chunk.2WBHHTUM.js.map → chunk.EFQZGAM5.js.map} +0 -0
  58. package/dist/esm/chunks/{chunk.BLZJIYMG.js → chunk.F5O63UF4.js} +2 -2
  59. package/dist/esm/chunks/{chunk.BLZJIYMG.js.map → chunk.F5O63UF4.js.map} +0 -0
  60. package/dist/esm/chunks/{chunk.RL7ZFLMG.js → chunk.FRT7RD5L.js} +2 -2
  61. package/dist/esm/chunks/{chunk.RL7ZFLMG.js.map → chunk.FRT7RD5L.js.map} +0 -0
  62. package/dist/esm/chunks/{chunk.LK2DN5KX.js → chunk.GG3O42UP.js} +4 -4
  63. package/dist/esm/chunks/{chunk.LK2DN5KX.js.map → chunk.GG3O42UP.js.map} +0 -0
  64. package/dist/esm/chunks/{chunk.WSH4S3GM.js → chunk.GVR5LXMJ.js} +2 -2
  65. package/dist/esm/chunks/{chunk.WSH4S3GM.js.map → chunk.GVR5LXMJ.js.map} +0 -0
  66. package/dist/esm/chunks/{chunk.LHWZ4KZU.js → chunk.HL2ORG3A.js} +4 -4
  67. package/dist/esm/chunks/{chunk.LHWZ4KZU.js.map → chunk.HL2ORG3A.js.map} +1 -1
  68. package/dist/esm/chunks/{chunk.ELAJS33V.js → chunk.J2FCOFOE.js} +2 -2
  69. package/dist/esm/chunks/{chunk.ELAJS33V.js.map → chunk.J2FCOFOE.js.map} +0 -0
  70. package/dist/esm/chunks/{chunk.PKZ43JNW.js → chunk.JM6SZSUI.js} +50 -4
  71. package/dist/esm/chunks/{chunk.PKZ43JNW.js.map → chunk.JM6SZSUI.js.map} +2 -2
  72. package/dist/esm/chunks/{chunk.VXAPRFMK.js → chunk.K4B7NJ2G.js} +4 -4
  73. package/dist/esm/chunks/{chunk.VXAPRFMK.js.map → chunk.K4B7NJ2G.js.map} +0 -0
  74. package/dist/esm/chunks/{chunk.67B6JDOJ.js → chunk.KVOXJKCU.js} +3 -3
  75. package/dist/esm/chunks/{chunk.67B6JDOJ.js.map → chunk.KVOXJKCU.js.map} +0 -0
  76. package/dist/esm/chunks/{chunk.ITQ55IPH.js → chunk.LTN47GWQ.js} +4 -4
  77. package/dist/esm/chunks/{chunk.ITQ55IPH.js.map → chunk.LTN47GWQ.js.map} +0 -0
  78. package/dist/esm/chunks/{chunk.UPW5HUKB.js → chunk.NU3XRT37.js} +5 -5
  79. package/dist/esm/chunks/{chunk.UPW5HUKB.js.map → chunk.NU3XRT37.js.map} +0 -0
  80. package/dist/esm/chunks/{chunk.I6PJGNJS.js → chunk.NWPH4FRE.js} +6 -6
  81. package/dist/esm/chunks/chunk.NWPH4FRE.js.map +7 -0
  82. package/dist/esm/chunks/{chunk.KNR5DXE4.js → chunk.OTJJU35B.js} +2 -2
  83. package/dist/esm/chunks/{chunk.KNR5DXE4.js.map → chunk.OTJJU35B.js.map} +0 -0
  84. package/dist/esm/chunks/{chunk.BVGJFMEG.js → chunk.PRRL5C6Z.js} +7 -7
  85. package/dist/esm/chunks/{chunk.BVGJFMEG.js.map → chunk.PRRL5C6Z.js.map} +0 -0
  86. package/dist/esm/chunks/{chunk.TIUNGGBF.js → chunk.QFG7SPQV.js} +3 -3
  87. package/dist/esm/chunks/{chunk.TIUNGGBF.js.map → chunk.QFG7SPQV.js.map} +0 -0
  88. package/dist/esm/chunks/{chunk.XE7ZMJBZ.js → chunk.QKCIMRRG.js} +32 -17
  89. package/dist/esm/chunks/chunk.QKCIMRRG.js.map +7 -0
  90. package/dist/esm/chunks/{chunk.IGBDDH3J.js → chunk.QRGWP6Z2.js} +3 -3
  91. package/dist/esm/chunks/chunk.QRGWP6Z2.js.map +7 -0
  92. package/dist/esm/chunks/{chunk.MUP3NY6M.js → chunk.QSFE3J74.js} +5 -5
  93. package/dist/esm/chunks/{chunk.MUP3NY6M.js.map → chunk.QSFE3J74.js.map} +0 -0
  94. package/dist/esm/chunks/{chunk.UFMUXBT4.js → chunk.R357QRWX.js} +53 -49
  95. package/dist/esm/chunks/chunk.R357QRWX.js.map +7 -0
  96. package/dist/esm/chunks/{chunk.46BED43J.js → chunk.SVS3G6Y7.js} +5 -19
  97. package/dist/esm/chunks/chunk.SVS3G6Y7.js.map +7 -0
  98. package/dist/esm/chunks/{chunk.S3UVF647.js → chunk.TBQ72CBS.js} +3 -3
  99. package/dist/esm/chunks/{chunk.S3UVF647.js.map → chunk.TBQ72CBS.js.map} +0 -0
  100. package/dist/esm/chunks/{chunk.ZSHQMR4O.js → chunk.TSHHEAIC.js} +2 -2
  101. package/dist/esm/chunks/{chunk.ZSHQMR4O.js.map → chunk.TSHHEAIC.js.map} +0 -0
  102. package/dist/esm/chunks/{chunk.EBC2HGO3.js → chunk.UAW46BWM.js} +3 -3
  103. package/dist/esm/chunks/{chunk.EBC2HGO3.js.map → chunk.UAW46BWM.js.map} +0 -0
  104. package/dist/esm/chunks/{chunk.FJJVIMZ2.js → chunk.V6ESTGWD.js} +5 -5
  105. package/dist/esm/chunks/chunk.V6ESTGWD.js.map +7 -0
  106. package/dist/esm/chunks/{chunk.5OYAJ36F.js → chunk.VLAUYV76.js} +2 -2
  107. package/dist/esm/chunks/{chunk.5OYAJ36F.js.map → chunk.VLAUYV76.js.map} +0 -0
  108. package/dist/esm/chunks/{chunk.L4OUV7W6.js → chunk.VSKPHQZE.js} +4 -4
  109. package/dist/esm/chunks/{chunk.L4OUV7W6.js.map → chunk.VSKPHQZE.js.map} +0 -0
  110. package/dist/esm/chunks/{chunk.GS2AXUCN.js → chunk.WOL4KRZK.js} +6 -1
  111. package/dist/esm/chunks/{chunk.GS2AXUCN.js.map → chunk.WOL4KRZK.js.map} +1 -1
  112. package/dist/esm/chunks/{chunk.TM46MNYN.js → chunk.WQRR5OGK.js} +5 -5
  113. package/dist/esm/chunks/{chunk.TM46MNYN.js.map → chunk.WQRR5OGK.js.map} +0 -0
  114. package/dist/esm/chunks/chunk.X2RP4QW3.js +6 -0
  115. package/dist/esm/chunks/chunk.X2RP4QW3.js.map +7 -0
  116. package/dist/esm/chunks/{chunk.K7OLG7CS.js → chunk.X3TV6IHS.js} +2 -2
  117. package/dist/esm/chunks/{chunk.K7OLG7CS.js.map → chunk.X3TV6IHS.js.map} +0 -0
  118. package/dist/esm/chunks/{chunk.U37G47LH.js → chunk.XC56O73Q.js} +6 -6
  119. package/dist/esm/chunks/{chunk.U37G47LH.js.map → chunk.XC56O73Q.js.map} +0 -0
  120. package/dist/esm/chunks/{chunk.QWW6A7AF.js → chunk.XRK62M5E.js} +2 -2
  121. package/dist/esm/chunks/{chunk.QWW6A7AF.js.map → chunk.XRK62M5E.js.map} +0 -0
  122. package/dist/esm/chunks/{chunk.ZLF2G3YT.js → chunk.XSS7BYJS.js} +3 -3
  123. package/dist/esm/chunks/{chunk.ZLF2G3YT.js.map → chunk.XSS7BYJS.js.map} +0 -0
  124. package/dist/esm/chunks/{chunk.PNKLV3BK.js → chunk.YCHKXJLN.js} +2 -2
  125. package/dist/esm/chunks/{chunk.PNKLV3BK.js.map → chunk.YCHKXJLN.js.map} +0 -0
  126. package/dist/esm/chunks/{chunk.UQ3QTUUB.js → chunk.YMP3JQQQ.js} +2 -2
  127. package/dist/esm/chunks/{chunk.UQ3QTUUB.js.map → chunk.YMP3JQQQ.js.map} +0 -0
  128. package/dist/esm/chunks/{chunk.7I2XNJBL.js → chunk.YTFOQNFU.js} +6 -16
  129. package/dist/esm/chunks/chunk.YTFOQNFU.js.map +7 -0
  130. package/dist/esm/chunks/{chunk.IJW2YKP3.js → chunk.Z5KLXKMB.js} +21 -15
  131. package/dist/esm/chunks/chunk.Z5KLXKMB.js.map +7 -0
  132. package/dist/esm/chunks/{chunk.MBZLA635.js → chunk.ZIZGRSAX.js} +6 -6
  133. package/dist/esm/chunks/{chunk.MBZLA635.js.map → chunk.ZIZGRSAX.js.map} +1 -1
  134. package/dist/esm/chunks/{chunk.CLEUHAZ6.js → chunk.ZLX3L6KW.js} +2 -2
  135. package/dist/esm/chunks/{chunk.CLEUHAZ6.js.map → chunk.ZLX3L6KW.js.map} +0 -0
  136. package/dist/esm/color-picker/index.js +6 -6
  137. package/dist/esm/core/index.js +14 -2
  138. package/dist/esm/core/utils/index.js +14 -2
  139. package/dist/esm/date-picker/index.js +11 -11
  140. package/dist/esm/date-range-picker/index.js +11 -11
  141. package/dist/esm/dialog/index.js +5 -5
  142. package/dist/esm/drawer/base/index.js +2 -2
  143. package/dist/esm/drawer/drawer/index.js +3 -3
  144. package/dist/esm/drawer/index.js +5 -5
  145. package/dist/esm/drawer/mini-drawer/index.js +3 -3
  146. package/dist/esm/drawer/modal-drawer/index.js +3 -3
  147. package/dist/esm/expansion-panel/index.js +6 -6
  148. package/dist/esm/file-picker/index.js +4 -4
  149. package/dist/esm/icon/index.js +3 -3
  150. package/dist/esm/icon-button/index.js +4 -4
  151. package/dist/esm/index.js +168 -93
  152. package/dist/esm/list-dropdown/index.js +5 -5
  153. package/dist/esm/menu/index.js +7 -7
  154. package/dist/esm/open-icon/index.js +5 -5
  155. package/dist/esm/paginator/index.js +12 -12
  156. package/dist/esm/profile-card/index.js +4 -4
  157. package/dist/esm/quantity-field/index.js +6 -7
  158. package/dist/esm/select/core/index.js +7 -7
  159. package/dist/esm/select/index.js +11 -11
  160. package/dist/esm/select/select/index.js +9 -9
  161. package/dist/esm/select/select-dropdown/index.js +9 -9
  162. package/dist/esm/slider/index.js +2 -2
  163. package/dist/esm/split-view/core/index.js +7 -0
  164. package/dist/esm/split-view/core/index.js.map +7 -0
  165. package/dist/esm/split-view/index.js +92 -0
  166. package/dist/esm/split-view/index.js.map +7 -0
  167. package/dist/esm/split-view/split-view/index.js +44 -0
  168. package/dist/esm/split-view/split-view/index.js.map +7 -0
  169. package/dist/esm/split-view/split-view-panel/index.js +78 -0
  170. package/dist/esm/split-view/split-view-panel/index.js.map +7 -0
  171. package/dist/esm/stepper/index.js +6 -6
  172. package/dist/esm/stepper/step/index.js +5 -5
  173. package/dist/esm/stepper/stepper/index.js +6 -6
  174. package/dist/esm/switch/index.js +2 -2
  175. package/dist/esm/table/index.js +7 -7
  176. package/dist/esm/tabs/index.js +6 -6
  177. package/dist/esm/tabs/tab-bar/index.js +6 -6
  178. package/dist/esm/text-field/index.js +2 -2
  179. package/dist/esm/time-picker/index.js +11 -10
  180. package/dist/esm/toast/index.js +7 -7
  181. package/esm/app-bar/profile-button/app-bar-profile-button-adapter.d.ts +6 -1
  182. package/esm/app-bar/profile-button/app-bar-profile-button-adapter.js +30 -12
  183. package/esm/app-bar/profile-button/app-bar-profile-button-constants.d.ts +4 -0
  184. package/esm/app-bar/profile-button/app-bar-profile-button-constants.js +2 -0
  185. package/esm/app-bar/profile-button/app-bar-profile-button-foundation.d.ts +8 -0
  186. package/esm/app-bar/profile-button/app-bar-profile-button-foundation.js +22 -0
  187. package/esm/app-bar/profile-button/app-bar-profile-button.d.ts +4 -0
  188. package/esm/app-bar/profile-button/app-bar-profile-button.js +14 -0
  189. package/esm/autocomplete/autocomplete-adapter.d.ts +2 -0
  190. package/esm/autocomplete/autocomplete-adapter.js +4 -0
  191. package/esm/autocomplete/autocomplete-foundation.js +10 -7
  192. package/esm/chip-field/chip-field-adapter.d.ts +1 -1
  193. package/esm/chip-field/chip-field-adapter.js +2 -2
  194. package/esm/chip-field/chip-field.js +1 -1
  195. package/esm/chips/chip/chip.js +1 -1
  196. package/esm/core/utils/event-utils.d.ts +1 -0
  197. package/esm/core/utils/event-utils.js +3 -0
  198. package/esm/core/utils/utils.d.ts +36 -0
  199. package/esm/core/utils/utils.js +57 -0
  200. package/esm/date-picker/date-picker-foundation.js +3 -1
  201. package/esm/field/field-adapter.d.ts +4 -4
  202. package/esm/field/field-adapter.js +4 -13
  203. package/esm/field/field-foundation.js +2 -2
  204. package/esm/index.d.ts +1 -0
  205. package/esm/index.js +3 -0
  206. package/esm/profile-card/profile-card-adapter.d.ts +4 -0
  207. package/esm/profile-card/profile-card-adapter.js +6 -0
  208. package/esm/profile-card/profile-card-constants.d.ts +4 -0
  209. package/esm/profile-card/profile-card-constants.js +5 -1
  210. package/esm/profile-card/profile-card-foundation.d.ts +6 -0
  211. package/esm/profile-card/profile-card-foundation.js +22 -0
  212. package/esm/profile-card/profile-card.d.ts +4 -0
  213. package/esm/profile-card/profile-card.js +15 -1
  214. package/esm/quantity-field/quantity-field-adapter.d.ts +0 -2
  215. package/esm/quantity-field/quantity-field-adapter.js +1 -13
  216. package/esm/quantity-field/quantity-field-foundation.js +0 -1
  217. package/esm/quantity-field/quantity-field.js +1 -1
  218. package/esm/select/select/select.js +1 -1
  219. package/esm/split-view/core/index.d.ts +6 -0
  220. package/esm/split-view/core/index.js +6 -0
  221. package/esm/split-view/core/split-view-base.d.ts +14 -0
  222. package/esm/split-view/core/split-view-base.js +6 -0
  223. package/esm/split-view/index.d.ts +8 -0
  224. package/esm/split-view/index.js +8 -0
  225. package/esm/split-view/split-view/index.d.ts +10 -0
  226. package/esm/split-view/split-view/index.js +14 -0
  227. package/esm/split-view/split-view/split-view-adapter.d.ts +29 -0
  228. package/esm/split-view/split-view/split-view-adapter.js +62 -0
  229. package/esm/split-view/split-view/split-view-constants.d.ts +41 -0
  230. package/esm/split-view/split-view/split-view-constants.js +40 -0
  231. package/esm/split-view/split-view/split-view-foundation.d.ts +86 -0
  232. package/esm/split-view/split-view/split-view-foundation.js +179 -0
  233. package/esm/split-view/split-view/split-view.d.ts +67 -0
  234. package/esm/split-view/split-view/split-view.js +103 -0
  235. package/esm/split-view/split-view-panel/index.d.ts +11 -0
  236. package/esm/split-view/split-view-panel/index.js +15 -0
  237. package/esm/split-view/split-view-panel/split-view-panel-adapter.d.ts +171 -0
  238. package/esm/split-view/split-view-panel/split-view-panel-adapter.js +295 -0
  239. package/esm/split-view/split-view-panel/split-view-panel-constants.d.ts +97 -0
  240. package/esm/split-view/split-view-panel/split-view-panel-constants.js +78 -0
  241. package/esm/split-view/split-view-panel/split-view-panel-foundation.d.ts +235 -0
  242. package/esm/split-view/split-view-panel/split-view-panel-foundation.js +667 -0
  243. package/esm/split-view/split-view-panel/split-view-panel-utils.d.ts +130 -0
  244. package/esm/split-view/split-view-panel/split-view-panel-utils.js +300 -0
  245. package/esm/split-view/split-view-panel/split-view-panel.d.ts +105 -0
  246. package/esm/split-view/split-view-panel/split-view-panel.js +173 -0
  247. package/esm/table/table-utils.d.ts +2 -2
  248. package/esm/table/table-utils.js +30 -14
  249. package/esm/text-field/text-field-adapter.d.ts +1 -1
  250. package/esm/text-field/text-field-adapter.js +2 -2
  251. package/esm/text-field/text-field.js +1 -1
  252. package/package.json +2 -2
  253. package/styles/chip-field/_base.scss +2 -2
  254. package/styles/chip-field/_selector.scss +1 -1
  255. package/styles/chip-field/_variables.scss +1 -1
  256. package/styles/chips/chip/_mixins.scss +4 -3
  257. package/styles/chips/chip/_variables.scss +3 -2
  258. package/styles/field/_base.scss +16 -4
  259. package/styles/field/_selector.scss +4 -4
  260. package/styles/quantity-field/_mixins.scss +1 -1
  261. package/styles/select/select/_selector.scss +1 -1
  262. package/styles/split-view/split-view/_mixins.scss +48 -0
  263. package/styles/split-view/split-view/split-view.scss +25 -0
  264. package/styles/split-view/split-view-panel/_mixins.scss +260 -0
  265. package/styles/split-view/split-view-panel/_variables.scss +7 -0
  266. package/styles/split-view/split-view-panel/split-view-panel.scss +23 -0
  267. package/dist/esm/chunks/chunk.2MBI5DLT.js.map +0 -7
  268. package/dist/esm/chunks/chunk.46BED43J.js.map +0 -7
  269. package/dist/esm/chunks/chunk.7I2XNJBL.js.map +0 -7
  270. package/dist/esm/chunks/chunk.FJJVIMZ2.js.map +0 -7
  271. package/dist/esm/chunks/chunk.I6PJGNJS.js.map +0 -7
  272. package/dist/esm/chunks/chunk.IGBDDH3J.js.map +0 -7
  273. package/dist/esm/chunks/chunk.IJW2YKP3.js.map +0 -7
  274. package/dist/esm/chunks/chunk.JC2PZ4TS.js.map +0 -7
  275. package/dist/esm/chunks/chunk.UFMUXBT4.js.map +0 -7
  276. package/dist/esm/chunks/chunk.XE7ZMJBZ.js.map +0 -7
@@ -0,0 +1,295 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2022 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ import { getShadowElement, playKeyframeAnimation, toggleAttribute } from '@tylertech/forge-core';
7
+ import { BaseAdapter } from '../../core/base/base-adapter';
8
+ import { SPLIT_VIEW_PANEL_CONSTANTS } from './split-view-panel-constants';
9
+ import { SPLIT_VIEW_CONSTANTS } from '../split-view/split-view-constants';
10
+ import { getCursor, getHandleIcon, getSplitViewPanelSibling } from './split-view-panel-utils';
11
+ export class SplitViewPanelAdapter extends BaseAdapter {
12
+ constructor(component) {
13
+ super(component);
14
+ this._root = getShadowElement(component, SPLIT_VIEW_PANEL_CONSTANTS.selectors.ROOT);
15
+ this._handle = getShadowElement(component, SPLIT_VIEW_PANEL_CONSTANTS.selectors.HANDLE);
16
+ this._icon = getShadowElement(component, SPLIT_VIEW_PANEL_CONSTANTS.selectors.ICON);
17
+ this._ripple = getShadowElement(component, SPLIT_VIEW_PANEL_CONSTANTS.selectors.RIPPLE);
18
+ this._content = getShadowElement(component, SPLIT_VIEW_PANEL_CONSTANTS.selectors.CONTENT);
19
+ }
20
+ initialize() {
21
+ // Set the parent split view
22
+ const parent = this._component.parentElement;
23
+ if ((parent === null || parent === void 0 ? void 0 : parent.tagName.toLowerCase()) === SPLIT_VIEW_CONSTANTS.elementName) {
24
+ this._parent = parent;
25
+ }
26
+ }
27
+ setPointerdownListener(listener) {
28
+ this._handle.addEventListener('pointerdown', listener);
29
+ }
30
+ setPointerupListener(listener) {
31
+ document.addEventListener('pointerup', listener);
32
+ }
33
+ removePointerupListener(listener) {
34
+ document.removeEventListener('pointerup', listener);
35
+ }
36
+ setPointermoveListener(listener) {
37
+ document.addEventListener('pointermove', listener);
38
+ }
39
+ removePointermoveListener(listener) {
40
+ document.removeEventListener('pointermove', listener);
41
+ }
42
+ setKeydownListener(listener) {
43
+ this._handle.addEventListener('keydown', listener);
44
+ }
45
+ setKeyupListener(listener) {
46
+ this._handle.addEventListener('keyup', listener);
47
+ }
48
+ removeKeyupListener(listener) {
49
+ this._handle.removeEventListener('keyup', listener);
50
+ }
51
+ /**
52
+ * Gets the specified property value from the parent split view.
53
+ * @param name The property name.
54
+ * @returns The value of the property.
55
+ */
56
+ getParentProperty(name) {
57
+ var _a;
58
+ return (_a = this._parent) === null || _a === void 0 ? void 0 : _a[name];
59
+ }
60
+ /**
61
+ * Sets the accessible label of the resize handle.
62
+ * @param value The label text.
63
+ */
64
+ setAccessibleLabel(value) {
65
+ this._handle.setAttribute('aria-label', value);
66
+ }
67
+ /**
68
+ * Sets the disabled state of the component.
69
+ * @param value Whether the component is disabled.
70
+ */
71
+ setDisabled(value) {
72
+ this._root.classList.toggle(SPLIT_VIEW_PANEL_CONSTANTS.classes.DISABLED, value);
73
+ if (this._handle) {
74
+ this._handle.setAttribute('tabindex', value ? '-1' : '0');
75
+ toggleAttribute(this._handle, value, 'aria-disabled', 'true');
76
+ }
77
+ }
78
+ /**
79
+ * Sets the whether the component's handle is present and at its start or end.
80
+ * @param value The component's resizable value.
81
+ */
82
+ setResizable(value) {
83
+ this._root.setAttribute(SPLIT_VIEW_PANEL_CONSTANTS.attributes.RESIZABLE, value.toString());
84
+ toggleAttribute(this._handle, value !== 'off', 'aria-valuemin', '0');
85
+ toggleAttribute(this._handle, value !== 'off', 'aria-valuemax', '100');
86
+ if (value === 'off') {
87
+ return;
88
+ }
89
+ this._handle.remove();
90
+ if (value === 'end') {
91
+ // Place the handle after the content
92
+ this._root.append(this._handle);
93
+ }
94
+ else {
95
+ // Place the handle before the content
96
+ this._root.prepend(this._handle);
97
+ }
98
+ }
99
+ /**
100
+ * Sets the orientation of the component including ARIA attributes and the resize handle icon.
101
+ * @param value The component's orientation.
102
+ */
103
+ setOrientation(value) {
104
+ this._root.setAttribute(SPLIT_VIEW_PANEL_CONSTANTS.attributes.ORIENTATION, value);
105
+ // The divider's orientation is perpendicular to the layout of the component
106
+ this._handle.setAttribute('aria-orientation', value === 'horizontal' ? 'vertical' : 'horizontal');
107
+ this._icon.setAttribute('name', getHandleIcon(value));
108
+ }
109
+ /**
110
+ * Opens or closes the component.
111
+ * @param value Whether the component is open.
112
+ * @param withAnimation Whether to use the animation. Defaults to `true`.
113
+ */
114
+ setOpen(value, withAnimation = true, event) {
115
+ var _a, _b;
116
+ const finish = () => {
117
+ var _a, _b;
118
+ if (!value) {
119
+ this._root.classList.add(SPLIT_VIEW_PANEL_CONSTANTS.classes.CLOSED);
120
+ }
121
+ if (event) {
122
+ this.emitHostEvent(value ? SPLIT_VIEW_PANEL_CONSTANTS.events.DID_OPEN : SPLIT_VIEW_PANEL_CONSTANTS.events.DID_CLOSE, event);
123
+ }
124
+ (_a = this._parent) === null || _a === void 0 ? void 0 : _a.unlayerSlottedPanels();
125
+ (_b = this._parent) === null || _b === void 0 ? void 0 : _b.update({ accessibility: true, cursor: true });
126
+ };
127
+ if (value && this._root.classList.contains(SPLIT_VIEW_PANEL_CONSTANTS.classes.CLOSED)) {
128
+ this._root.classList.remove(SPLIT_VIEW_PANEL_CONSTANTS.classes.CLOSED);
129
+ if (!withAnimation) {
130
+ finish();
131
+ return;
132
+ }
133
+ (_a = this._parent) === null || _a === void 0 ? void 0 : _a.layerSlottedPanels(this._component);
134
+ playKeyframeAnimation(this._root, SPLIT_VIEW_PANEL_CONSTANTS.classes.OPENING, true).then(() => {
135
+ finish();
136
+ });
137
+ }
138
+ else if (!value && !this._root.classList.contains(SPLIT_VIEW_PANEL_CONSTANTS.classes.CLOSED)) {
139
+ if (!withAnimation) {
140
+ finish();
141
+ return;
142
+ }
143
+ (_b = this._parent) === null || _b === void 0 ? void 0 : _b.layerSlottedPanels(this._component);
144
+ playKeyframeAnimation(this._root, SPLIT_VIEW_PANEL_CONSTANTS.classes.CLOSING, true).then(() => {
145
+ finish();
146
+ });
147
+ }
148
+ }
149
+ /**
150
+ * Sets the components appearance and accessibility to indicated whether it is currently grabbed
151
+ * by the user. Applies a cursor style to the document body.
152
+ * @param value Whether the component is currently being resized via pointer interaction.
153
+ */
154
+ setGrabbed(value) {
155
+ var _a;
156
+ this._root.classList.toggle(SPLIT_VIEW_PANEL_CONSTANTS.classes.GRABBED, value);
157
+ this._handle.setAttribute('aria-grabbed', value.toString());
158
+ (_a = this._parent) === null || _a === void 0 ? void 0 : _a.update({ clearCursor: true });
159
+ if (!value) {
160
+ document.body.style.removeProperty('cursor');
161
+ }
162
+ }
163
+ /**
164
+ * Applies a cursor style to the resize handle.
165
+ * @param orientation The component's orientation. If absent the cursor will be removed.
166
+ * @param config The component's resizable value and whether it's at the min or max value.
167
+ */
168
+ setHandleCursor(orientation, config) {
169
+ if (orientation) {
170
+ this._root.style.setProperty(SPLIT_VIEW_PANEL_CONSTANTS.customCssProperties.CURSOR, getCursor(orientation, config));
171
+ }
172
+ else {
173
+ this._root.style.removeProperty(SPLIT_VIEW_PANEL_CONSTANTS.customCssProperties.CURSOR);
174
+ }
175
+ }
176
+ /**
177
+ * Applies a cursor style to the document body.
178
+ * @param orientation The component's orientation.
179
+ * @param config The component's resizable value and whether it's at the min or max value.
180
+ */
181
+ setBodyCursor(orientation, config) {
182
+ document.body.style.setProperty('cursor', getCursor(orientation, config));
183
+ }
184
+ /**
185
+ * Gets the size of the content along the orientation axis. Does not include the resize handle.
186
+ * @param orientation The component's orientation.
187
+ * @returns The width or height of the content in pixels.
188
+ */
189
+ getContentSize(orientation) {
190
+ return orientation === 'horizontal' ? this._content.clientWidth : this._content.clientHeight;
191
+ }
192
+ /**
193
+ * Sets the size of the content not including the resize handle.
194
+ * @param value The width or height of the content in pixels.
195
+ */
196
+ setContentSize(value) {
197
+ this._component.style.setProperty(SPLIT_VIEW_PANEL_CONSTANTS.customCssProperties.SIZE, `${value}px`);
198
+ }
199
+ /**
200
+ * Sets the ARIA attribute representing the size of the content compared to its min and max.
201
+ * @param value The content size scaled from 0 to 100.
202
+ */
203
+ setValuenow(value) {
204
+ this._handle.setAttribute('aria-valuenow', value.toFixed(2));
205
+ }
206
+ /**
207
+ * Sets focus on the handle element.
208
+ */
209
+ focusHandle() {
210
+ this._handle.focus();
211
+ }
212
+ /**
213
+ * Gets the amount of space that the component is allowed to take. This includes the current
214
+ * size of the component and the size of the sibling it resizes into along the axis of
215
+ * orientation. The sibling's min and max values are taken into account but the component's are
216
+ * not.
217
+ * @param orientation The component's orientation.
218
+ * @param resizable The component's resizable value.
219
+ * @returns The amount of space available for the component to resize into in pixels.
220
+ */
221
+ getAvailableSpace(orientation, resizable) {
222
+ if (resizable === 'off') {
223
+ // Return -1 if the panel is static (i.e. can't be user resized)
224
+ return -1;
225
+ }
226
+ const sibling = getSplitViewPanelSibling(this._component);
227
+ if (sibling) {
228
+ const siblingSize = sibling.getCollapsibleSize();
229
+ return siblingSize + this.getContentSize(orientation);
230
+ }
231
+ else {
232
+ return this.getParentSize(orientation);
233
+ }
234
+ }
235
+ /**
236
+ * Gets the content size of the sibling panel the component resizes into along its axis of
237
+ * orientation.
238
+ * @returns The sibling's content size in pixels or 0 if the sibling does not exist.
239
+ */
240
+ getSiblingContentSize() {
241
+ var _a;
242
+ const sibling = getSplitViewPanelSibling(this._component);
243
+ return (_a = sibling === null || sibling === void 0 ? void 0 : sibling.getContentSize()) !== null && _a !== void 0 ? _a : 0;
244
+ }
245
+ /**
246
+ * Sets the content size of the sibling panel the component resizes into along its axis of
247
+ * orientation.
248
+ * @returns The sibling's content size in pixels.
249
+ */
250
+ setSiblingContentSize(value) {
251
+ const sibling = getSplitViewPanelSibling(this._component);
252
+ sibling === null || sibling === void 0 ? void 0 : sibling.setContentSize(value);
253
+ }
254
+ /**
255
+ * Runs the ripple animation.
256
+ * @param fromActivated Whether the ripple starts from and should end in an activated state.
257
+ */
258
+ activateRipple(fromActivated) {
259
+ if (fromActivated) {
260
+ this._ripple.deactivate();
261
+ // Wait a short amount of time so the animation is distinguishable
262
+ window.setTimeout(() => {
263
+ this._ripple.activate();
264
+ }, SPLIT_VIEW_PANEL_CONSTANTS.numbers.RIPPLE_ACTIVATION_WAIT);
265
+ }
266
+ else {
267
+ this._ripple.activate();
268
+ this._ripple.deactivate();
269
+ }
270
+ }
271
+ /**
272
+ * Deactivates the ripple.
273
+ */
274
+ deactivateRipple() {
275
+ this._ripple.deactivate();
276
+ }
277
+ /**
278
+ * Gets the size of the parent split view along the axis of orientation.
279
+ * @param orientation The component's orientation.
280
+ * @returns The parent's size in pixels.
281
+ */
282
+ getParentSize(orientation) {
283
+ var _a, _b;
284
+ const parentSize = orientation === 'horizontal' ? (_a = this._parent) === null || _a === void 0 ? void 0 : _a.clientWidth : (_b = this._parent) === null || _b === void 0 ? void 0 : _b.clientHeight;
285
+ return parentSize !== null && parentSize !== void 0 ? parentSize : 0;
286
+ }
287
+ /**
288
+ * Updates the provided characteristics of all panels.
289
+ * @param config An update configuration.
290
+ */
291
+ updateParent(config) {
292
+ var _a;
293
+ (_a = this._parent) === null || _a === void 0 ? void 0 : _a.update(config);
294
+ }
295
+ }
@@ -0,0 +1,97 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2022 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ import { SplitViewOrientation } from '../split-view/split-view-constants';
7
+ export declare const SPLIT_VIEW_PANEL_CONSTANTS: {
8
+ elementName: "forge-split-view-panel";
9
+ attributes: {
10
+ RESIZABLE: string;
11
+ SIZE: string;
12
+ MIN: string;
13
+ MAX: string;
14
+ OPEN: string;
15
+ ACCESSIBLE_LABEL: string;
16
+ DISABLED: string;
17
+ ALLOW_CLOSE: string;
18
+ AUTO_CLOSE: string;
19
+ AUTO_CLOSE_THRESHOLD: string;
20
+ ORIENTATION: string;
21
+ };
22
+ classes: {
23
+ ROOT: string;
24
+ GRABBED: string;
25
+ HANDLE: string;
26
+ ICON: string;
27
+ CONTENT: string;
28
+ CLOSED: string;
29
+ CLOSING: string;
30
+ OPENING: string;
31
+ DISABLED: string;
32
+ };
33
+ ids: {
34
+ ROOT: string;
35
+ HANDLE: string;
36
+ ICON: string;
37
+ RIPPLE: string;
38
+ CONTENT: string;
39
+ };
40
+ selectors: {
41
+ ROOT: string;
42
+ HANDLE: string;
43
+ ICON: string;
44
+ RIPPLE: string;
45
+ CONTENT: string;
46
+ };
47
+ events: {
48
+ WILL_RESIZE: string;
49
+ RESIZE_START: string;
50
+ RESIZE_END: string;
51
+ RESIZE: string;
52
+ DID_OPEN: string;
53
+ DID_CLOSE: string;
54
+ WILL_OPEN: string;
55
+ WILL_CLOSE: string;
56
+ };
57
+ numbers: {
58
+ RIPPLE_ACTIVATION_WAIT: number;
59
+ };
60
+ customCssProperties: {
61
+ SIZE: string;
62
+ CURSOR: string;
63
+ };
64
+ };
65
+ export declare type SplitViewPanelResizable = 'start' | 'end' | 'off';
66
+ export declare type SplitViewInputDeviceType = 'pointer' | 'keyboard';
67
+ export declare enum SplitViewAnimatingLayer {
68
+ Under = 1,
69
+ Active = 2,
70
+ Above = 3
71
+ }
72
+ export interface ISplitViewPanelCursorConfig {
73
+ resizable: SplitViewPanelResizable;
74
+ boundary: 'min' | 'max' | 'none';
75
+ }
76
+ export interface ISplitViewPanelState {
77
+ orientation: SplitViewOrientation;
78
+ resizable: SplitViewPanelResizable;
79
+ arrowKeyHeld: boolean;
80
+ startPoint?: number;
81
+ startSize?: number;
82
+ currentSize?: number;
83
+ availableSpace?: number;
84
+ siblingSize?: number;
85
+ keyboardDelta: number;
86
+ isAtMin: boolean;
87
+ isAtMax: boolean;
88
+ min: number;
89
+ max?: number;
90
+ }
91
+ export interface ISplitViewPanelWillResizeEvent {
92
+ inputDeviceType: SplitViewInputDeviceType;
93
+ }
94
+ export interface ISplitViewPanelOpenEvent {
95
+ auto: boolean;
96
+ userInitiated: boolean;
97
+ }
@@ -0,0 +1,78 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2022 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ import { COMPONENT_NAME_PREFIX } from '../../constants';
7
+ const elementName = `${COMPONENT_NAME_PREFIX}split-view-panel`;
8
+ const attributes = {
9
+ RESIZABLE: 'resizable',
10
+ SIZE: 'size',
11
+ MIN: 'min',
12
+ MAX: 'max',
13
+ OPEN: 'open',
14
+ ACCESSIBLE_LABEL: 'accessible-label',
15
+ DISABLED: 'disabled',
16
+ ALLOW_CLOSE: 'allow-close',
17
+ AUTO_CLOSE: 'auto-close',
18
+ AUTO_CLOSE_THRESHOLD: 'auto-close-threshold',
19
+ ORIENTATION: 'orientation'
20
+ };
21
+ const classes = {
22
+ ROOT: 'forge-split-view-panel',
23
+ GRABBED: 'forge-split-view-panel--grabbed',
24
+ HANDLE: 'forge-split-view-panel__handle',
25
+ ICON: 'forge-split-view-panel__icon',
26
+ CONTENT: 'forge-split-view-panel__content',
27
+ CLOSED: 'forge-split-view-panel--closed',
28
+ CLOSING: 'forge-split-view-panel--closing',
29
+ OPENING: 'forge-split-view-panel--opening',
30
+ DISABLED: 'forge-split-view-panel--disabled'
31
+ };
32
+ const ids = {
33
+ ROOT: 'root',
34
+ HANDLE: 'handle',
35
+ ICON: 'icon',
36
+ RIPPLE: 'ripple',
37
+ CONTENT: 'content'
38
+ };
39
+ const selectors = {
40
+ ROOT: `#${ids.ROOT}`,
41
+ HANDLE: `#${ids.HANDLE}`,
42
+ ICON: `#${ids.ICON}`,
43
+ RIPPLE: `#${ids.RIPPLE}`,
44
+ CONTENT: `#${ids.CONTENT}`
45
+ };
46
+ const events = {
47
+ WILL_RESIZE: `${elementName}-will-resize`,
48
+ RESIZE_START: `${elementName}-resize-start`,
49
+ RESIZE_END: `${elementName}-resize-end`,
50
+ RESIZE: `${elementName}-resize`,
51
+ DID_OPEN: `${elementName}-did-open`,
52
+ DID_CLOSE: `${elementName}-did-close`,
53
+ WILL_OPEN: `${elementName}-will-open`,
54
+ WILL_CLOSE: `${elementName}-will-close`
55
+ };
56
+ const numbers = {
57
+ RIPPLE_ACTIVATION_WAIT: 200
58
+ };
59
+ const customCssProperties = {
60
+ SIZE: '--forge-split-view-panel-size',
61
+ CURSOR: '--forge-split-view-panel-cursor'
62
+ };
63
+ export const SPLIT_VIEW_PANEL_CONSTANTS = {
64
+ elementName,
65
+ attributes,
66
+ classes,
67
+ ids,
68
+ selectors,
69
+ events,
70
+ numbers,
71
+ customCssProperties
72
+ };
73
+ export var SplitViewAnimatingLayer;
74
+ (function (SplitViewAnimatingLayer) {
75
+ SplitViewAnimatingLayer[SplitViewAnimatingLayer["Under"] = 1] = "Under";
76
+ SplitViewAnimatingLayer[SplitViewAnimatingLayer["Active"] = 2] = "Active";
77
+ SplitViewAnimatingLayer[SplitViewAnimatingLayer["Above"] = 3] = "Above";
78
+ })(SplitViewAnimatingLayer || (SplitViewAnimatingLayer = {}));
@@ -0,0 +1,235 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2022 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ import { ICustomElementFoundation } from '@tylertech/forge-core';
7
+ import { SplitViewPanelResizable } from './split-view-panel-constants';
8
+ import { ISplitViewPanelAdapter } from './split-view-panel-adapter';
9
+ import { ISplitViewUpdateConfig } from '../split-view/split-view-constants';
10
+ import { ISplitViewBase } from '../core/split-view-base';
11
+ export interface ISplitViewPanelFoundation extends Partial<ISplitViewBase>, ICustomElementFoundation {
12
+ resizable: SplitViewPanelResizable;
13
+ size: number | string;
14
+ min: number | string;
15
+ max: number | string | undefined;
16
+ accessibleLabel: string;
17
+ open: boolean;
18
+ getContentSize(): number;
19
+ getCollapsibleSize(): number;
20
+ setContentSize(size: number): void;
21
+ update(config: ISplitViewUpdateConfig): void;
22
+ }
23
+ export declare class SplitViewPanelFoundation implements ISplitViewPanelFoundation {
24
+ private _adapter;
25
+ private _size;
26
+ private _min;
27
+ private _max;
28
+ private _accessibleLabel;
29
+ private _open;
30
+ private _disabled?;
31
+ private _allowClose?;
32
+ private _autoClose?;
33
+ private _autoCloseThreshold?;
34
+ private _state;
35
+ private _isInitialized;
36
+ private get _orientation();
37
+ private set _orientation(value);
38
+ private get _resizable();
39
+ private set _resizable(value);
40
+ private get _pixelMin();
41
+ private set _pixelMin(value);
42
+ private get _pixelMax();
43
+ private set _pixelMax(value);
44
+ private _parentProperties;
45
+ private get _appliedDisabled();
46
+ private get _appliedAllowClose();
47
+ private get _appliedAutoClose();
48
+ private get _appliedAutoCloseThreshold();
49
+ private _pointerdownListener;
50
+ private _pointerupListener;
51
+ private _pointermoveListener;
52
+ private _keydownListener;
53
+ private _keyupListener;
54
+ constructor(_adapter: ISplitViewPanelAdapter);
55
+ initialize(): void;
56
+ disconnect(): void;
57
+ /**
58
+ * Handles a pointerdown event and sets further pointer event listeners.
59
+ * @param evt The pointer event.
60
+ */
61
+ private _onPointerdown;
62
+ /**
63
+ * Handles a pointerup event and removes pointer event listeners.
64
+ * @param evt The pointer event.
65
+ */
66
+ private _onPointerup;
67
+ /**
68
+ * Handles a pointermove event and removes pointer events if the mouse button is released.
69
+ * @param evt The pointer event.
70
+ */
71
+ private _onPointermove;
72
+ /**
73
+ * Handles a keydown event and sets a keyup listener if an arrow key is pressed.
74
+ * @param evt The keyboard event.
75
+ */
76
+ private _onKeydown;
77
+ /**
78
+ * Handles a keyup event and removes the keyup listener if an arrow key was released.
79
+ * @param evt The keyboard event.
80
+ */
81
+ private _onKeyup;
82
+ /**
83
+ * Toggles the open state.
84
+ * @param evt
85
+ */
86
+ private _handleEnterKey;
87
+ /**
88
+ * Sets panel size to the min.
89
+ * @param evt
90
+ */
91
+ private _handleHomeKey;
92
+ /**
93
+ * Sets panel size to the max.
94
+ * @param evt
95
+ */
96
+ private _handleEndKey;
97
+ /**
98
+ * Runs resize logic if an arrow key is included in the event.
99
+ * @param evt
100
+ */
101
+ private _handleArrowKey;
102
+ /**
103
+ * Sets resize properties when an arrow key is first pressed.
104
+ */
105
+ private _tryHandleArrowKeyDown;
106
+ /**
107
+ * Performs cleanup logic after a keyboard driven resize.
108
+ */
109
+ private _handleArrowKeyUp;
110
+ /**
111
+ * Resizes the panel by a set amount.
112
+ * @param increment The pixel change in size.
113
+ */
114
+ private _handleArrowKeyHeld;
115
+ /**
116
+ * Handles the beginning of a pointer driven resize.
117
+ * @param evt
118
+ */
119
+ private _handlePointerdown;
120
+ /**
121
+ * Handles the end of a pointer driven resize.
122
+ */
123
+ private _handlePointerup;
124
+ /**
125
+ * Resizes the panel from a pointer event.
126
+ * @param evt
127
+ */
128
+ private _handlePointermove;
129
+ /**
130
+ * Emits a will resize event and allows it to be cancelled.
131
+ * @returns Whether the resize should proceed.
132
+ */
133
+ private _allowResize;
134
+ /**
135
+ * Handles common logic to begin a resize.
136
+ */
137
+ private _startResize;
138
+ /**
139
+ * Handles common logic to end a resize.
140
+ */
141
+ private _endResize;
142
+ /**
143
+ * Emits a will open or will close event and sets the panel open or closed if allowed.
144
+ * @param shouldOpen Whether the panel should open or close. Defaults to `true`.
145
+ * @param auto Whether the panel auto-opened or auto-closed.
146
+ * @param userInitiated Whether opening or closing via user action instead of programmatically.
147
+ */
148
+ private _tryOpenOrClose;
149
+ /**
150
+ * Auto close the panel if enabled and within the size threshold.
151
+ */
152
+ private _tryAutoClose;
153
+ /**
154
+ * Sets orientation, disabled, disable close, and autoclose to reflect the parent split view.
155
+ */
156
+ private _getParentProperties;
157
+ private _applyOrientation;
158
+ /**
159
+ * Get/set resizable. This affects the side the handle appears on and the direction the panel closes into.
160
+ */
161
+ get resizable(): SplitViewPanelResizable;
162
+ set resizable(value: SplitViewPanelResizable);
163
+ private _applyResizable;
164
+ /**
165
+ * Get/set panel size.
166
+ */
167
+ get size(): number | string;
168
+ set size(value: number | string);
169
+ private _applySize;
170
+ /** Get/set min panel size. */
171
+ get min(): number | string;
172
+ set min(value: number | string);
173
+ private _applyMin;
174
+ /** Get/set max panel size. */
175
+ get max(): number | string | undefined;
176
+ set max(value: number | string | undefined);
177
+ private _applyMax;
178
+ /**
179
+ * Get/set the accessible label.
180
+ */
181
+ get accessibleLabel(): string;
182
+ set accessibleLabel(value: string);
183
+ private _applyAccessibleLabel;
184
+ /**
185
+ * Get/set whether the panel is open.
186
+ */
187
+ get open(): boolean;
188
+ set open(value: boolean);
189
+ private _applyOpen;
190
+ /**
191
+ * Get/set whether interactions are disabled.
192
+ */
193
+ get disabled(): boolean | undefined;
194
+ set disabled(value: boolean | undefined);
195
+ private _applyDisabled;
196
+ private _applyParentDisabled;
197
+ /**
198
+ * Get/set whether closing the panel is disabled.
199
+ */
200
+ get allowClose(): boolean | undefined;
201
+ set allowClose(value: boolean | undefined);
202
+ private _applyAllowClose;
203
+ /**
204
+ * Get/set whether the panel closes when a threshold size is reached.
205
+ */
206
+ get autoClose(): boolean | undefined;
207
+ set autoClose(value: boolean | undefined);
208
+ private _applyAutoClose;
209
+ private _applyParentAutoClose;
210
+ /** Get/set the size at which the panel auto closes. */
211
+ get autoCloseThreshold(): number | undefined;
212
+ set autoCloseThreshold(value: number | undefined);
213
+ private _applyAutoCloseThreshold;
214
+ private _applyParentAutoCloseThreshold;
215
+ /**
216
+ * Gets the size of panel content without the handle.
217
+ * @returns Content size in pixels.
218
+ */
219
+ getContentSize(): number;
220
+ /**
221
+ * Gets how much the panel can shrink from its current size.
222
+ * @returns The difference between the current and min size in pixels.
223
+ */
224
+ getCollapsibleSize(): number;
225
+ /**
226
+ * Sets a new size for the content area.
227
+ * @param size The new content size in pixels.
228
+ */
229
+ setContentSize(size: number): void;
230
+ /**
231
+ * Updates the proved characteristics.
232
+ * @param config An update configuration.
233
+ */
234
+ update(config: ISplitViewUpdateConfig): void;
235
+ }