@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,86 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2022 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ import { ICustomElementFoundation } from '@tylertech/forge-core';
7
+ import { ISplitViewBase } from '../core/split-view-base';
8
+ import { ISplitViewPanelComponent } from '../split-view-panel';
9
+ import { ISplitViewAdapter } from './split-view-adapter';
10
+ import { ISplitViewUpdateConfig, SplitViewOrientation } from './split-view-constants';
11
+ export interface ISplitViewFoundation extends ISplitViewBase, ICustomElementFoundation {
12
+ orientation: SplitViewOrientation;
13
+ layerSlottedPanels(target: ISplitViewPanelComponent): void;
14
+ unlayerSlottedPanels(): void;
15
+ update(config: ISplitViewUpdateConfig): void;
16
+ refitSlottedPanels(): void;
17
+ }
18
+ export declare class SplitViewFoundation implements ISplitViewFoundation {
19
+ private _adapter;
20
+ private _orientation;
21
+ private _disabled;
22
+ private _allowClose;
23
+ private _autoClose;
24
+ private _autoCloseThreshold;
25
+ private _slotListener;
26
+ private _resizeObserverCallback;
27
+ private _isInitialized;
28
+ constructor(_adapter: ISplitViewAdapter);
29
+ initialize(): void;
30
+ disconnect(): void;
31
+ private _onSlotChange;
32
+ private _onResize;
33
+ /**
34
+ * Sets the resizable value of slotted panels with no resizable value set.
35
+ */
36
+ private _layoutSlottedPanels;
37
+ /**
38
+ * Get/set whether panels are arranged horizontally or vertically.
39
+ */
40
+ get orientation(): SplitViewOrientation;
41
+ set orientation(value: SplitViewOrientation);
42
+ private _applyOrientation;
43
+ /**
44
+ * Get/set whether interactions are disabled.
45
+ */
46
+ get disabled(): boolean;
47
+ set disabled(value: boolean);
48
+ private _applyDisabled;
49
+ /**
50
+ * Get/set whether closing the panel is disabled.
51
+ */
52
+ get allowClose(): boolean;
53
+ set allowClose(value: boolean);
54
+ private _applyAllowClose;
55
+ /**
56
+ * Get/set whether the panel closes when a threshold size is reached.
57
+ */
58
+ get autoClose(): boolean;
59
+ set autoClose(value: boolean);
60
+ private _applyAutoClose;
61
+ /**
62
+ * Get/set the size at which panels auto close.
63
+ */
64
+ get autoCloseThreshold(): number;
65
+ set autoCloseThreshold(value: number);
66
+ private _applyAutoCloseThreshold;
67
+ /**
68
+ * Layers panels in a set order during an animation. Panels that the target is animating toward
69
+ * stack above it and other layers stack under it.
70
+ * @param target The animating panel.
71
+ */
72
+ layerSlottedPanels(target: ISplitViewPanelComponent): void;
73
+ /**
74
+ * Removes layering after an animation.
75
+ */
76
+ unlayerSlottedPanels(): void;
77
+ /**
78
+ * Updates the provided characteristics of each panel.
79
+ * @param config An update configuration.
80
+ */
81
+ update(config: ISplitViewUpdateConfig): void;
82
+ /**
83
+ * Resizes panels within the split view to avoid overflow.
84
+ */
85
+ refitSlottedPanels(): void;
86
+ }
@@ -0,0 +1,179 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2022 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ import { throttle } from '@tylertech/forge-core';
7
+ import { SplitViewAnimatingLayer } from '../split-view-panel';
8
+ import { SPLIT_VIEW_CONSTANTS } from './split-view-constants';
9
+ export class SplitViewFoundation {
10
+ constructor(_adapter) {
11
+ this._adapter = _adapter;
12
+ this._orientation = 'horizontal';
13
+ this._disabled = false;
14
+ this._allowClose = false;
15
+ this._autoClose = false;
16
+ this._autoCloseThreshold = 0;
17
+ this._isInitialized = false;
18
+ this._slotListener = evt => this._onSlotChange(evt);
19
+ this._resizeObserverCallback = throttle((entry) => this._onResize(entry), SPLIT_VIEW_CONSTANTS.numbers.RESIZE_THROTTLE_THRESHOLD);
20
+ }
21
+ initialize() {
22
+ this._adapter.registerSlotListener(this._slotListener);
23
+ this._adapter.observeResize(this._resizeObserverCallback);
24
+ this._applyOrientation();
25
+ this._isInitialized = true;
26
+ }
27
+ disconnect() {
28
+ this._adapter.unobserveResize();
29
+ }
30
+ _onSlotChange(evt) {
31
+ this._layoutSlottedPanels();
32
+ this.update({ accessibility: true, cursor: true, orientation: this._orientation });
33
+ }
34
+ _onResize(entry) {
35
+ this.update({ accessibility: true, cursor: true, size: true });
36
+ }
37
+ /**
38
+ * Sets the resizable value of slotted panels with no resizable value set.
39
+ */
40
+ _layoutSlottedPanels() {
41
+ const panels = this._adapter.getSlottedPanels();
42
+ // A single panel should have resizable set to off. Just leave it alone.
43
+ if (panels.length < 2) {
44
+ return;
45
+ }
46
+ // Don't change any panels if resizable is already set.
47
+ if (panels.some(panel => panel.resizable !== 'off')) {
48
+ return;
49
+ }
50
+ // All panels after the first have resizable set to start.
51
+ panels.slice(1).forEach(panel => panel.resizable = 'start');
52
+ }
53
+ /**
54
+ * Get/set whether panels are arranged horizontally or vertically.
55
+ */
56
+ get orientation() {
57
+ return this._orientation;
58
+ }
59
+ set orientation(value) {
60
+ if (this._orientation !== value) {
61
+ this._orientation = value;
62
+ this._applyOrientation();
63
+ }
64
+ }
65
+ _applyOrientation() {
66
+ this._adapter.setHostAttribute(SPLIT_VIEW_CONSTANTS.attributes.ORIENTATION, this._orientation);
67
+ this.update({ orientation: this._orientation });
68
+ if (this._isInitialized) {
69
+ this._adapter.refitSlottedPanels(this._orientation);
70
+ }
71
+ this.update({ accessibility: true, cursor: true });
72
+ }
73
+ /**
74
+ * Get/set whether interactions are disabled.
75
+ */
76
+ get disabled() {
77
+ return this._disabled;
78
+ }
79
+ set disabled(value) {
80
+ if (this._disabled !== value) {
81
+ this._disabled = value;
82
+ this._applyDisabled();
83
+ }
84
+ }
85
+ _applyDisabled() {
86
+ this._adapter.toggleHostAttribute(SPLIT_VIEW_CONSTANTS.attributes.DISABLED, this._disabled);
87
+ this.update({ properties: { disabled: this._disabled } });
88
+ }
89
+ /**
90
+ * Get/set whether closing the panel is disabled.
91
+ */
92
+ get allowClose() {
93
+ return this._allowClose;
94
+ }
95
+ set allowClose(value) {
96
+ if (this._allowClose !== value) {
97
+ this._allowClose = value;
98
+ this._applyAllowClose();
99
+ }
100
+ }
101
+ _applyAllowClose() {
102
+ this._adapter.toggleHostAttribute(SPLIT_VIEW_CONSTANTS.attributes.ALLOW_CLOSE, this._allowClose);
103
+ this.update({ properties: { allowClose: this._allowClose } });
104
+ }
105
+ /**
106
+ * Get/set whether the panel closes when a threshold size is reached.
107
+ */
108
+ get autoClose() {
109
+ return this._autoClose;
110
+ }
111
+ set autoClose(value) {
112
+ if (this._autoClose !== value) {
113
+ this._autoClose = value;
114
+ this._applyAutoClose();
115
+ }
116
+ }
117
+ _applyAutoClose() {
118
+ this._adapter.toggleHostAttribute(SPLIT_VIEW_CONSTANTS.attributes.AUTO_CLOSE, this._autoClose);
119
+ this.update({ properties: { autoClose: this._autoClose } });
120
+ }
121
+ /**
122
+ * Get/set the size at which panels auto close.
123
+ */
124
+ get autoCloseThreshold() {
125
+ return this._autoCloseThreshold;
126
+ }
127
+ set autoCloseThreshold(value) {
128
+ if (this._autoCloseThreshold !== value) {
129
+ this._autoCloseThreshold = value;
130
+ this._applyAutoCloseThreshold();
131
+ }
132
+ }
133
+ _applyAutoCloseThreshold() {
134
+ this._adapter.setHostAttribute(SPLIT_VIEW_CONSTANTS.attributes.AUTO_CLOSE_THRESHOLD, this._autoCloseThreshold.toString());
135
+ this.update({ properties: { autoCloseThreshold: this._autoCloseThreshold } });
136
+ }
137
+ /**
138
+ * Layers panels in a set order during an animation. Panels that the target is animating toward
139
+ * stack above it and other layers stack under it.
140
+ * @param target The animating panel.
141
+ */
142
+ layerSlottedPanels(target) {
143
+ const panels = this._adapter.getSlottedPanels();
144
+ const increment = target.resizable === 'start' ? 1 : -1;
145
+ let layer = target.resizable === 'start' ? SplitViewAnimatingLayer.Under : SplitViewAnimatingLayer.Above;
146
+ panels.forEach(panel => {
147
+ // Increment the layer if moving into or out of the target panel
148
+ if (panel === target || layer === SplitViewAnimatingLayer.Active) {
149
+ layer += increment;
150
+ }
151
+ panel.style.setProperty(SPLIT_VIEW_CONSTANTS.customCssProperties.ANIMATING_LAYER, layer.toString());
152
+ });
153
+ }
154
+ /**
155
+ * Removes layering after an animation.
156
+ */
157
+ unlayerSlottedPanels() {
158
+ const panels = this._adapter.getSlottedPanels();
159
+ panels.forEach(panel => {
160
+ panel.style.removeProperty(SPLIT_VIEW_CONSTANTS.customCssProperties.ANIMATING_LAYER);
161
+ });
162
+ }
163
+ /**
164
+ * Updates the provided characteristics of each panel.
165
+ * @param config An update configuration.
166
+ */
167
+ update(config) {
168
+ const panels = this._adapter.getSlottedPanels();
169
+ panels.forEach(panel => {
170
+ panel.update(config);
171
+ });
172
+ }
173
+ /**
174
+ * Resizes panels within the split view to avoid overflow.
175
+ */
176
+ refitSlottedPanels() {
177
+ this._adapter.refitSlottedPanels(this._orientation);
178
+ }
179
+ }
@@ -0,0 +1,67 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2022 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ import { BaseComponent, IBaseComponent } from '../../core/base/base-component';
7
+ import { ISplitViewUpdateConfig, SplitViewOrientation } from './split-view-constants';
8
+ import { ISplitViewPanelComponent } from '../split-view-panel';
9
+ import { ISplitViewBase } from '../core/split-view-base';
10
+ export interface ISplitViewComponent extends ISplitViewBase, IBaseComponent {
11
+ orientation: SplitViewOrientation;
12
+ layerSlottedPanels(target: ISplitViewPanelComponent): void;
13
+ unlayerSlottedPanels(): void;
14
+ update(config: ISplitViewUpdateConfig): void;
15
+ refit(): void;
16
+ }
17
+ declare global {
18
+ interface HTMLElementTagNameMap {
19
+ 'forge-split-view': ISplitViewComponent;
20
+ }
21
+ }
22
+ export declare class SplitViewComponent extends BaseComponent implements ISplitViewComponent {
23
+ static get observedAttributes(): string[];
24
+ private _foundation;
25
+ constructor();
26
+ connectedCallback(): void;
27
+ disconnectedCallback(): void;
28
+ attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
29
+ /**
30
+ * Whether child split view panels are laid out and resize horizontally or vertically.
31
+ */
32
+ orientation: SplitViewOrientation;
33
+ /**
34
+ * Whether child split view panels have resize interactions disabled or enabled.
35
+ */
36
+ disabled: boolean;
37
+ /**
38
+ * Whether child split view panels can be closed via keyboard interaction.
39
+ */
40
+ allowClose: boolean;
41
+ /**
42
+ * Whether child split view panels automatically close when they reach a size of 0.
43
+ */
44
+ autoClose: boolean;
45
+ /**
46
+ * The size at which panels auto close.
47
+ */
48
+ autoCloseThreshold: number;
49
+ /**
50
+ * Arranges split view panels to avoid overlapping during animations.
51
+ * @param target The originating split view panel component.
52
+ */
53
+ layerSlottedPanels(target: ISplitViewPanelComponent): void;
54
+ /**
55
+ * Removes presentation data set during an animation.
56
+ */
57
+ unlayerSlottedPanels(): void;
58
+ /**
59
+ * Updates the provided characteristics of each slotted panel.
60
+ * @param config An update configuration.
61
+ */
62
+ update(config: ISplitViewUpdateConfig): void;
63
+ /**
64
+ * Resizes panels within the split view to avoid overflow.
65
+ */
66
+ refit(): void;
67
+ }
@@ -0,0 +1,103 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2022 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ import { __decorate } from "tslib";
7
+ import { CustomElement, attachShadowTemplate, FoundationProperty, coerceBoolean, coerceNumber } from '@tylertech/forge-core';
8
+ import { BaseComponent } from '../../core/base/base-component';
9
+ import { SplitViewAdapter } from './split-view-adapter';
10
+ import { SplitViewFoundation } from './split-view-foundation';
11
+ import { SPLIT_VIEW_CONSTANTS } from './split-view-constants';
12
+ import { SplitViewPanelComponent } from '../split-view-panel';
13
+ const template = '<template><div class=\"forge-split-view\" id=\"root\" part=\"root\"><slot></slot></div></template>';
14
+ 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{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}';
15
+ let SplitViewComponent = class SplitViewComponent extends BaseComponent {
16
+ constructor() {
17
+ super();
18
+ attachShadowTemplate(this, template, styles);
19
+ this._foundation = new SplitViewFoundation(new SplitViewAdapter(this));
20
+ }
21
+ static get observedAttributes() {
22
+ return [
23
+ SPLIT_VIEW_CONSTANTS.attributes.ORIENTATION,
24
+ SPLIT_VIEW_CONSTANTS.attributes.DISABLED,
25
+ SPLIT_VIEW_CONSTANTS.attributes.ALLOW_CLOSE,
26
+ SPLIT_VIEW_CONSTANTS.attributes.AUTO_CLOSE,
27
+ SPLIT_VIEW_CONSTANTS.attributes.AUTO_CLOSE_THRESHOLD
28
+ ];
29
+ }
30
+ connectedCallback() {
31
+ this._foundation.initialize();
32
+ }
33
+ disconnectedCallback() {
34
+ this._foundation.disconnect();
35
+ }
36
+ attributeChangedCallback(name, oldValue, newValue) {
37
+ switch (name) {
38
+ case SPLIT_VIEW_CONSTANTS.attributes.ORIENTATION:
39
+ this.orientation = newValue;
40
+ break;
41
+ case SPLIT_VIEW_CONSTANTS.attributes.DISABLED:
42
+ this.disabled = coerceBoolean(newValue);
43
+ break;
44
+ case SPLIT_VIEW_CONSTANTS.attributes.ALLOW_CLOSE:
45
+ this.allowClose = coerceBoolean(newValue);
46
+ break;
47
+ case SPLIT_VIEW_CONSTANTS.attributes.AUTO_CLOSE:
48
+ this.autoClose = coerceBoolean(newValue);
49
+ break;
50
+ case SPLIT_VIEW_CONSTANTS.attributes.AUTO_CLOSE_THRESHOLD:
51
+ this.autoCloseThreshold = coerceNumber(newValue);
52
+ break;
53
+ }
54
+ }
55
+ /**
56
+ * Arranges split view panels to avoid overlapping during animations.
57
+ * @param target The originating split view panel component.
58
+ */
59
+ layerSlottedPanels(target) {
60
+ this._foundation.layerSlottedPanels(target);
61
+ }
62
+ /**
63
+ * Removes presentation data set during an animation.
64
+ */
65
+ unlayerSlottedPanels() {
66
+ this._foundation.unlayerSlottedPanels();
67
+ }
68
+ /**
69
+ * Updates the provided characteristics of each slotted panel.
70
+ * @param config An update configuration.
71
+ */
72
+ update(config) {
73
+ this._foundation.update(config);
74
+ }
75
+ /**
76
+ * Resizes panels within the split view to avoid overflow.
77
+ */
78
+ refit() {
79
+ this._foundation.refitSlottedPanels();
80
+ }
81
+ };
82
+ __decorate([
83
+ FoundationProperty()
84
+ ], SplitViewComponent.prototype, "orientation", void 0);
85
+ __decorate([
86
+ FoundationProperty()
87
+ ], SplitViewComponent.prototype, "disabled", void 0);
88
+ __decorate([
89
+ FoundationProperty()
90
+ ], SplitViewComponent.prototype, "allowClose", void 0);
91
+ __decorate([
92
+ FoundationProperty()
93
+ ], SplitViewComponent.prototype, "autoClose", void 0);
94
+ __decorate([
95
+ FoundationProperty()
96
+ ], SplitViewComponent.prototype, "autoCloseThreshold", void 0);
97
+ SplitViewComponent = __decorate([
98
+ CustomElement({
99
+ name: SPLIT_VIEW_CONSTANTS.elementName,
100
+ dependencies: [SplitViewPanelComponent]
101
+ })
102
+ ], SplitViewComponent);
103
+ export { SplitViewComponent };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2022 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ export * from './split-view-panel-adapter';
7
+ export * from './split-view-panel-constants';
8
+ export * from './split-view-panel-foundation';
9
+ export * from './split-view-panel';
10
+ export * from './split-view-panel-utils';
11
+ export declare function defineSplitViewPanelComponent(): void;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2022 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ import { defineCustomElement } from '@tylertech/forge-core';
7
+ import { SplitViewPanelComponent } from './split-view-panel';
8
+ export * from './split-view-panel-adapter';
9
+ export * from './split-view-panel-constants';
10
+ export * from './split-view-panel-foundation';
11
+ export * from './split-view-panel';
12
+ export * from './split-view-panel-utils';
13
+ export function defineSplitViewPanelComponent() {
14
+ defineCustomElement(SplitViewPanelComponent);
15
+ }
@@ -0,0 +1,171 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2022 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ import { BaseAdapter, IBaseAdapter } from '../../core/base/base-adapter';
7
+ import { ISplitViewPanelComponent } from './split-view-panel';
8
+ import { ISplitViewPanelCursorConfig, ISplitViewPanelOpenEvent, SplitViewPanelResizable } from './split-view-panel-constants';
9
+ import { ISplitViewUpdateConfig, SplitViewOrientation } from '../split-view/split-view-constants';
10
+ import { ISplitViewComponent } from '../split-view/split-view';
11
+ export interface ISplitViewPanelAdapter extends IBaseAdapter {
12
+ initialize(): void;
13
+ setPointerdownListener(listener: (evt: PointerEvent) => void): void;
14
+ setPointerupListener(listener: (evt: PointerEvent) => void): void;
15
+ removePointerupListener(listener: (evt: PointerEvent) => void): void;
16
+ setPointermoveListener(listener: (evt: PointerEvent) => void): void;
17
+ removePointermoveListener(listener: (evt: PointerEvent) => void): void;
18
+ setKeydownListener(listener: (evt: KeyboardEvent) => void): void;
19
+ setKeyupListener(listener: (evt: KeyboardEvent) => void): void;
20
+ removeKeyupListener(listener: (evt: KeyboardEvent) => void): void;
21
+ getParentProperty(name: keyof ISplitViewComponent): unknown;
22
+ setAccessibleLabel(value: string): void;
23
+ setDisabled(value: boolean): void;
24
+ setResizable(value: SplitViewPanelResizable): void;
25
+ setOrientation(value: SplitViewOrientation): void;
26
+ setOpen(value: boolean, withAnimation?: boolean, event?: ISplitViewPanelOpenEvent): void;
27
+ setGrabbed(value: boolean): void;
28
+ setHandleCursor(orientation?: SplitViewOrientation, config?: ISplitViewPanelCursorConfig): void;
29
+ setBodyCursor(orientation: SplitViewOrientation, config?: ISplitViewPanelCursorConfig): void;
30
+ getContentSize(orientation: SplitViewOrientation): number;
31
+ setContentSize(value: number): void;
32
+ setValuenow(value: number): void;
33
+ focusHandle(): void;
34
+ getAvailableSpace(orientation: SplitViewOrientation, resizable: SplitViewPanelResizable): number;
35
+ getSiblingContentSize(): number;
36
+ setSiblingContentSize(value: number): void;
37
+ activateRipple(defaultActivated: boolean): void;
38
+ deactivateRipple(): void;
39
+ getParentSize(orientation: SplitViewOrientation): number;
40
+ updateParent(config: ISplitViewUpdateConfig): void;
41
+ }
42
+ export declare class SplitViewPanelAdapter extends BaseAdapter<ISplitViewPanelComponent> implements ISplitViewPanelAdapter {
43
+ private _root;
44
+ private _handle;
45
+ private _icon;
46
+ private _ripple;
47
+ private _content;
48
+ private _parent?;
49
+ constructor(component: ISplitViewPanelComponent);
50
+ initialize(): void;
51
+ setPointerdownListener(listener: (evt: PointerEvent) => void): void;
52
+ setPointerupListener(listener: (evt: PointerEvent) => void): void;
53
+ removePointerupListener(listener: (evt: PointerEvent) => void): void;
54
+ setPointermoveListener(listener: (evt: PointerEvent) => void): void;
55
+ removePointermoveListener(listener: (evt: PointerEvent) => void): void;
56
+ setKeydownListener(listener: (evt: KeyboardEvent) => void): void;
57
+ setKeyupListener(listener: (evt: KeyboardEvent) => void): void;
58
+ removeKeyupListener(listener: (evt: KeyboardEvent) => void): void;
59
+ /**
60
+ * Gets the specified property value from the parent split view.
61
+ * @param name The property name.
62
+ * @returns The value of the property.
63
+ */
64
+ getParentProperty(name: keyof ISplitViewComponent): unknown;
65
+ /**
66
+ * Sets the accessible label of the resize handle.
67
+ * @param value The label text.
68
+ */
69
+ setAccessibleLabel(value: string): void;
70
+ /**
71
+ * Sets the disabled state of the component.
72
+ * @param value Whether the component is disabled.
73
+ */
74
+ setDisabled(value: boolean): void;
75
+ /**
76
+ * Sets the whether the component's handle is present and at its start or end.
77
+ * @param value The component's resizable value.
78
+ */
79
+ setResizable(value: SplitViewPanelResizable): void;
80
+ /**
81
+ * Sets the orientation of the component including ARIA attributes and the resize handle icon.
82
+ * @param value The component's orientation.
83
+ */
84
+ setOrientation(value: SplitViewOrientation): void;
85
+ /**
86
+ * Opens or closes the component.
87
+ * @param value Whether the component is open.
88
+ * @param withAnimation Whether to use the animation. Defaults to `true`.
89
+ */
90
+ setOpen(value: boolean, withAnimation?: boolean, event?: ISplitViewPanelOpenEvent): void;
91
+ /**
92
+ * Sets the components appearance and accessibility to indicated whether it is currently grabbed
93
+ * by the user. Applies a cursor style to the document body.
94
+ * @param value Whether the component is currently being resized via pointer interaction.
95
+ */
96
+ setGrabbed(value: boolean): void;
97
+ /**
98
+ * Applies a cursor style to the resize handle.
99
+ * @param orientation The component's orientation. If absent the cursor will be removed.
100
+ * @param config The component's resizable value and whether it's at the min or max value.
101
+ */
102
+ setHandleCursor(orientation?: SplitViewOrientation, config?: ISplitViewPanelCursorConfig): void;
103
+ /**
104
+ * Applies a cursor style to the document body.
105
+ * @param orientation The component's orientation.
106
+ * @param config The component's resizable value and whether it's at the min or max value.
107
+ */
108
+ setBodyCursor(orientation: SplitViewOrientation, config?: ISplitViewPanelCursorConfig): void;
109
+ /**
110
+ * Gets the size of the content along the orientation axis. Does not include the resize handle.
111
+ * @param orientation The component's orientation.
112
+ * @returns The width or height of the content in pixels.
113
+ */
114
+ getContentSize(orientation: SplitViewOrientation): number;
115
+ /**
116
+ * Sets the size of the content not including the resize handle.
117
+ * @param value The width or height of the content in pixels.
118
+ */
119
+ setContentSize(value: number): void;
120
+ /**
121
+ * Sets the ARIA attribute representing the size of the content compared to its min and max.
122
+ * @param value The content size scaled from 0 to 100.
123
+ */
124
+ setValuenow(value: number): void;
125
+ /**
126
+ * Sets focus on the handle element.
127
+ */
128
+ focusHandle(): void;
129
+ /**
130
+ * Gets the amount of space that the component is allowed to take. This includes the current
131
+ * size of the component and the size of the sibling it resizes into along the axis of
132
+ * orientation. The sibling's min and max values are taken into account but the component's are
133
+ * not.
134
+ * @param orientation The component's orientation.
135
+ * @param resizable The component's resizable value.
136
+ * @returns The amount of space available for the component to resize into in pixels.
137
+ */
138
+ getAvailableSpace(orientation: SplitViewOrientation, resizable: SplitViewPanelResizable): number;
139
+ /**
140
+ * Gets the content size of the sibling panel the component resizes into along its axis of
141
+ * orientation.
142
+ * @returns The sibling's content size in pixels or 0 if the sibling does not exist.
143
+ */
144
+ getSiblingContentSize(): number;
145
+ /**
146
+ * Sets the content size of the sibling panel the component resizes into along its axis of
147
+ * orientation.
148
+ * @returns The sibling's content size in pixels.
149
+ */
150
+ setSiblingContentSize(value: number): void;
151
+ /**
152
+ * Runs the ripple animation.
153
+ * @param fromActivated Whether the ripple starts from and should end in an activated state.
154
+ */
155
+ activateRipple(fromActivated: boolean): void;
156
+ /**
157
+ * Deactivates the ripple.
158
+ */
159
+ deactivateRipple(): void;
160
+ /**
161
+ * Gets the size of the parent split view along the axis of orientation.
162
+ * @param orientation The component's orientation.
163
+ * @returns The parent's size in pixels.
164
+ */
165
+ getParentSize(orientation: SplitViewOrientation): number;
166
+ /**
167
+ * Updates the provided characteristics of all panels.
168
+ * @param config An update configuration.
169
+ */
170
+ updateParent(config: ISplitViewUpdateConfig): void;
171
+ }