@breadstone/mosaik-elements-foundation 0.0.215 → 0.0.217

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 (442) hide show
  1. package/CHANGELOG.md +88 -0
  2. package/Controls/Components/Abstracts/CustomElement.d.ts +38 -1
  3. package/Controls/Components/Abstracts/CustomElement.d.ts.map +1 -1
  4. package/Controls/Components/Abstracts/CustomElement.js +35 -6
  5. package/Controls/Components/Abstracts/CustomElement.js.map +1 -1
  6. package/Controls/Components/Buttons/Anchor/AnchorElementTemplate.d.ts.map +1 -1
  7. package/Controls/Components/Buttons/Anchor/AnchorElementTemplate.js +1 -0
  8. package/Controls/Components/Buttons/Anchor/AnchorElementTemplate.js.map +1 -1
  9. package/Controls/Components/Buttons/Button/ButtonElementTemplate.d.ts.map +1 -1
  10. package/Controls/Components/Buttons/Button/ButtonElementTemplate.js +2 -1
  11. package/Controls/Components/Buttons/Button/ButtonElementTemplate.js.map +1 -1
  12. package/Controls/Components/Cells/CellElement.d.ts +1 -1
  13. package/Controls/Components/Cells/CellElement.js +1 -1
  14. package/Controls/Components/Grouping/Toolbar/ToolbarElement.d.ts +2 -2
  15. package/Controls/Components/Grouping/Toolbar/ToolbarElement.js +2 -2
  16. package/Controls/Components/Inputs/AutoCompleteBox/AutoCompleteBoxElement.d.ts +0 -6
  17. package/Controls/Components/Inputs/AutoCompleteBox/AutoCompleteBoxElement.d.ts.map +1 -1
  18. package/Controls/Components/Inputs/AutoCompleteBox/AutoCompleteBoxItemRenderer.d.ts +9 -0
  19. package/Controls/Components/Inputs/AutoCompleteBox/AutoCompleteBoxItemRenderer.d.ts.map +1 -0
  20. package/Controls/Components/Inputs/AutoCompleteBox/AutoCompleteBoxItemRenderer.js +3 -0
  21. package/Controls/Components/Inputs/AutoCompleteBox/AutoCompleteBoxItemRenderer.js.map +1 -0
  22. package/Controls/Components/Inputs/AutoCompleteBox/IAutoCompleteBoxElementProps.d.ts +1 -8
  23. package/Controls/Components/Inputs/AutoCompleteBox/IAutoCompleteBoxElementProps.d.ts.map +1 -1
  24. package/Controls/Components/Layouts/Page/PageContentElement.d.ts.map +1 -1
  25. package/Controls/Components/Layouts/Page/PageElement.d.ts.map +1 -1
  26. package/Controls/Components/Layouts/Page/PageHeaderElement.d.ts.map +1 -1
  27. package/Controls/Components/Layouts/Page/PagePreContentElement.d.ts.map +1 -1
  28. package/Controls/Components/Layouts/Page/PagePreHeaderElement.d.ts.map +1 -1
  29. package/Controls/Components/Layouts/Resize/Events/IResizeResizeCancelEventDetail.d.ts +18 -0
  30. package/Controls/Components/Layouts/Resize/Events/IResizeResizeCancelEventDetail.d.ts.map +1 -0
  31. package/Controls/Components/Layouts/Resize/Events/IResizeResizeCancelEventDetail.js +3 -0
  32. package/Controls/Components/Layouts/Resize/Events/IResizeResizeCancelEventDetail.js.map +1 -0
  33. package/Controls/Components/Layouts/Resize/Events/IResizeResizeEndEventDetail.d.ts +18 -0
  34. package/Controls/Components/Layouts/Resize/Events/IResizeResizeEndEventDetail.d.ts.map +1 -0
  35. package/Controls/Components/Layouts/Resize/Events/IResizeResizeEndEventDetail.js +3 -0
  36. package/Controls/Components/Layouts/Resize/Events/IResizeResizeEndEventDetail.js.map +1 -0
  37. package/Controls/Components/Layouts/Resize/Events/IResizeResizeEventDetail.d.ts +18 -0
  38. package/Controls/Components/Layouts/Resize/Events/IResizeResizeEventDetail.d.ts.map +1 -0
  39. package/Controls/Components/Layouts/Resize/Events/IResizeResizeEventDetail.js +3 -0
  40. package/Controls/Components/Layouts/Resize/Events/IResizeResizeEventDetail.js.map +1 -0
  41. package/Controls/Components/Layouts/Resize/Events/IResizeResizeStartEventDetail.d.ts +18 -0
  42. package/Controls/Components/Layouts/Resize/Events/IResizeResizeStartEventDetail.d.ts.map +1 -0
  43. package/Controls/Components/Layouts/Resize/Events/IResizeResizeStartEventDetail.js +3 -0
  44. package/Controls/Components/Layouts/Resize/Events/IResizeResizeStartEventDetail.js.map +1 -0
  45. package/Controls/Components/Layouts/Resize/IResizeElementProps.d.ts +13 -0
  46. package/Controls/Components/Layouts/Resize/IResizeElementProps.d.ts.map +1 -0
  47. package/Controls/Components/Layouts/Resize/IResizeElementProps.js +3 -0
  48. package/Controls/Components/Layouts/Resize/IResizeElementProps.js.map +1 -0
  49. package/Controls/Components/Layouts/Resize/ResizeElement.d.ts +148 -0
  50. package/Controls/Components/Layouts/Resize/ResizeElement.d.ts.map +1 -0
  51. package/Controls/Components/Layouts/Resize/ResizeElement.js +299 -0
  52. package/Controls/Components/Layouts/Resize/ResizeElement.js.map +1 -0
  53. package/Controls/Components/Layouts/Resize/ResizeElementTemplate.d.ts +9 -0
  54. package/Controls/Components/Layouts/Resize/ResizeElementTemplate.d.ts.map +1 -0
  55. package/Controls/Components/Layouts/Resize/ResizeElementTemplate.js +56 -0
  56. package/Controls/Components/Layouts/Resize/ResizeElementTemplate.js.map +1 -0
  57. package/Controls/Components/Layouts/Resize/Themes/ResizeElement.Joy.d.ts +6 -0
  58. package/Controls/Components/Layouts/Resize/Themes/ResizeElement.Joy.d.ts.map +1 -0
  59. package/Controls/Components/Layouts/Resize/Themes/ResizeElement.Joy.js +118 -0
  60. package/Controls/Components/Layouts/Resize/Themes/ResizeElement.Joy.js.map +1 -0
  61. package/Controls/Components/Layouts/Split/SplitElement.d.ts +19 -19
  62. package/Controls/Components/Layouts/Split/SplitElement.d.ts.map +1 -1
  63. package/Controls/Components/Layouts/Split/SplitElement.js +45 -45
  64. package/Controls/Components/Layouts/Split/SplitElement.js.map +1 -1
  65. package/Controls/Components/Layouts/Split/SplitElementTemplate.d.ts.map +1 -1
  66. package/Controls/Components/Layouts/Split/SplitElementTemplate.js +6 -7
  67. package/Controls/Components/Layouts/Split/SplitElementTemplate.js.map +1 -1
  68. package/Controls/Components/Layouts/Split/Themes/SplitElement.Cosmopolitan.d.ts.map +1 -1
  69. package/Controls/Components/Layouts/Split/Themes/SplitElement.Cosmopolitan.js +6 -13
  70. package/Controls/Components/Layouts/Split/Themes/SplitElement.Cosmopolitan.js.map +1 -1
  71. package/Controls/Components/Layouts/Split/Themes/SplitElement.Joy.d.ts.map +1 -1
  72. package/Controls/Components/Layouts/Split/Themes/SplitElement.Joy.js +6 -18
  73. package/Controls/Components/Layouts/Split/Themes/SplitElement.Joy.js.map +1 -1
  74. package/Controls/Components/Layouts/Split/Themes/SplitElement.Memphis.d.ts.map +1 -1
  75. package/Controls/Components/Layouts/Split/Themes/SplitElement.Memphis.js +6 -13
  76. package/Controls/Components/Layouts/Split/Themes/SplitElement.Memphis.js.map +1 -1
  77. package/Controls/Components/Layouts/Stack/StackElement.d.ts +4 -4
  78. package/Controls/Components/Layouts/Stack/StackElement.js +4 -4
  79. package/Controls/Components/Layouts/TileList/Themes/TileListItemElement.Cosmopolitan.d.ts.map +1 -1
  80. package/Controls/Components/Layouts/TileList/Themes/TileListItemElement.Cosmopolitan.js +12 -0
  81. package/Controls/Components/Layouts/TileList/Themes/TileListItemElement.Cosmopolitan.js.map +1 -1
  82. package/Controls/Components/Layouts/TileList/Themes/TileListItemElement.Joy.d.ts.map +1 -1
  83. package/Controls/Components/Layouts/TileList/Themes/TileListItemElement.Joy.js +12 -0
  84. package/Controls/Components/Layouts/TileList/Themes/TileListItemElement.Joy.js.map +1 -1
  85. package/Controls/Components/Layouts/TileList/Themes/TileListItemElement.Memphis.d.ts.map +1 -1
  86. package/Controls/Components/Layouts/TileList/Themes/TileListItemElement.Memphis.js +12 -0
  87. package/Controls/Components/Layouts/TileList/Themes/TileListItemElement.Memphis.js.map +1 -1
  88. package/Controls/Components/Layouts/TileList/TileListElement.d.ts +5 -5
  89. package/Controls/Components/Layouts/TileList/TileListElement.d.ts.map +1 -1
  90. package/Controls/Components/Layouts/TileList/TileListElement.js +11 -11
  91. package/Controls/Components/Layouts/TileList/TileListElement.js.map +1 -1
  92. package/Controls/Components/Layouts/TileList/TileListItemElement.d.ts +21 -5
  93. package/Controls/Components/Layouts/TileList/TileListItemElement.d.ts.map +1 -1
  94. package/Controls/Components/Layouts/TileList/TileListItemElement.js +32 -13
  95. package/Controls/Components/Layouts/TileList/TileListItemElement.js.map +1 -1
  96. package/Controls/Components/Layouts/TileList/TileListItemElementTemplate.d.ts.map +1 -1
  97. package/Controls/Components/Layouts/TileList/TileListItemElementTemplate.js +39 -6
  98. package/Controls/Components/Layouts/TileList/TileListItemElementTemplate.js.map +1 -1
  99. package/Controls/Components/Layouts/TileManager/Events/LayoutChangeEvent.d.ts +31 -0
  100. package/Controls/Components/Layouts/TileManager/Events/LayoutChangeEvent.d.ts.map +1 -0
  101. package/Controls/Components/Layouts/TileManager/Events/LayoutChangeEvent.js +3 -0
  102. package/Controls/Components/Layouts/TileManager/Events/LayoutChangeEvent.js.map +1 -0
  103. package/Controls/Components/Layouts/TileManager/Events/TileDragCancelEvent.d.ts +34 -0
  104. package/Controls/Components/Layouts/TileManager/Events/TileDragCancelEvent.d.ts.map +1 -0
  105. package/Controls/Components/Layouts/TileManager/Events/TileDragCancelEvent.js +3 -0
  106. package/Controls/Components/Layouts/TileManager/Events/TileDragCancelEvent.js.map +1 -0
  107. package/Controls/Components/Layouts/TileManager/Events/TileDragEndEvent.d.ts +34 -0
  108. package/Controls/Components/Layouts/TileManager/Events/TileDragEndEvent.d.ts.map +1 -0
  109. package/Controls/Components/Layouts/TileManager/Events/TileDragEndEvent.js +3 -0
  110. package/Controls/Components/Layouts/TileManager/Events/TileDragEndEvent.js.map +1 -0
  111. package/Controls/Components/Layouts/TileManager/Events/TileDragStartEvent.d.ts +34 -0
  112. package/Controls/Components/Layouts/TileManager/Events/TileDragStartEvent.d.ts.map +1 -0
  113. package/Controls/Components/Layouts/TileManager/Events/TileDragStartEvent.js +3 -0
  114. package/Controls/Components/Layouts/TileManager/Events/TileDragStartEvent.js.map +1 -0
  115. package/Controls/Components/Layouts/TileManager/Events/TileFullscreenEvent.d.ts +34 -0
  116. package/Controls/Components/Layouts/TileManager/Events/TileFullscreenEvent.d.ts.map +1 -0
  117. package/Controls/Components/Layouts/TileManager/Events/TileFullscreenEvent.js +3 -0
  118. package/Controls/Components/Layouts/TileManager/Events/TileFullscreenEvent.js.map +1 -0
  119. package/Controls/Components/Layouts/TileManager/Events/TileMaximizeEvent.d.ts +34 -0
  120. package/Controls/Components/Layouts/TileManager/Events/TileMaximizeEvent.d.ts.map +1 -0
  121. package/Controls/Components/Layouts/TileManager/Events/TileMaximizeEvent.js +3 -0
  122. package/Controls/Components/Layouts/TileManager/Events/TileMaximizeEvent.js.map +1 -0
  123. package/Controls/Components/Layouts/TileManager/Events/TileResizeCancelEvent.d.ts +38 -0
  124. package/Controls/Components/Layouts/TileManager/Events/TileResizeCancelEvent.d.ts.map +1 -0
  125. package/Controls/Components/Layouts/TileManager/Events/TileResizeCancelEvent.js +3 -0
  126. package/Controls/Components/Layouts/TileManager/Events/TileResizeCancelEvent.js.map +1 -0
  127. package/Controls/Components/Layouts/TileManager/Events/TileResizeEndEvent.d.ts +38 -0
  128. package/Controls/Components/Layouts/TileManager/Events/TileResizeEndEvent.d.ts.map +1 -0
  129. package/Controls/Components/Layouts/TileManager/Events/TileResizeEndEvent.js +3 -0
  130. package/Controls/Components/Layouts/TileManager/Events/TileResizeEndEvent.js.map +1 -0
  131. package/Controls/Components/Layouts/TileManager/Events/TileResizeStartEvent.d.ts +38 -0
  132. package/Controls/Components/Layouts/TileManager/Events/TileResizeStartEvent.d.ts.map +1 -0
  133. package/Controls/Components/Layouts/TileManager/Events/TileResizeStartEvent.js +3 -0
  134. package/Controls/Components/Layouts/TileManager/Events/TileResizeStartEvent.js.map +1 -0
  135. package/Controls/Components/Layouts/TileManager/IResizeProps.d.ts +14 -0
  136. package/Controls/Components/Layouts/TileManager/IResizeProps.d.ts.map +1 -0
  137. package/Controls/Components/Layouts/TileManager/IResizeProps.js +2 -0
  138. package/Controls/Components/Layouts/TileManager/IResizeProps.js.map +1 -0
  139. package/Controls/Components/Layouts/TileManager/IResizeSpanProps.d.ts +15 -0
  140. package/Controls/Components/Layouts/TileManager/IResizeSpanProps.d.ts.map +1 -0
  141. package/Controls/Components/Layouts/TileManager/IResizeSpanProps.js +3 -0
  142. package/Controls/Components/Layouts/TileManager/IResizeSpanProps.js.map +1 -0
  143. package/Controls/Components/Layouts/TileManager/ISerializedLayout.d.ts +10 -0
  144. package/Controls/Components/Layouts/TileManager/ISerializedLayout.d.ts.map +1 -0
  145. package/Controls/Components/Layouts/TileManager/ISerializedLayout.js +3 -0
  146. package/Controls/Components/Layouts/TileManager/ISerializedLayout.js.map +1 -0
  147. package/Controls/Components/Layouts/TileManager/ISerializedTile.d.ts +14 -0
  148. package/Controls/Components/Layouts/TileManager/ISerializedTile.d.ts.map +1 -0
  149. package/Controls/Components/Layouts/TileManager/ISerializedTile.js +2 -0
  150. package/Controls/Components/Layouts/TileManager/ISerializedTile.js.map +1 -0
  151. package/Controls/Components/Layouts/TileManager/ISnappedDimension.d.ts +10 -0
  152. package/Controls/Components/Layouts/TileManager/ISnappedDimension.d.ts.map +1 -0
  153. package/Controls/Components/Layouts/TileManager/ISnappedDimension.js +2 -0
  154. package/Controls/Components/Layouts/TileManager/ISnappedDimension.js.map +1 -0
  155. package/Controls/Components/Layouts/TileManager/ITileGridDimension.d.ts +11 -0
  156. package/Controls/Components/Layouts/TileManager/ITileGridDimension.d.ts.map +1 -0
  157. package/Controls/Components/Layouts/TileManager/ITileGridDimension.js +2 -0
  158. package/Controls/Components/Layouts/TileManager/ITileGridDimension.js.map +1 -0
  159. package/Controls/Components/Layouts/TileManager/ITileGridPosition.d.ts +11 -0
  160. package/Controls/Components/Layouts/TileManager/ITileGridPosition.d.ts.map +1 -0
  161. package/Controls/Components/Layouts/TileManager/ITileGridPosition.js +3 -0
  162. package/Controls/Components/Layouts/TileManager/ITileGridPosition.js.map +1 -0
  163. package/Controls/Components/Layouts/TileManager/ITileManagerElementProps.d.ts +41 -0
  164. package/Controls/Components/Layouts/TileManager/ITileManagerElementProps.d.ts.map +1 -0
  165. package/Controls/Components/Layouts/TileManager/ITileManagerElementProps.js +3 -0
  166. package/Controls/Components/Layouts/TileManager/ITileManagerElementProps.js.map +1 -0
  167. package/Controls/Components/Layouts/TileManager/ITileManagerTileElementProps.d.ts +46 -0
  168. package/Controls/Components/Layouts/TileManager/ITileManagerTileElementProps.d.ts.map +1 -0
  169. package/Controls/Components/Layouts/TileManager/ITileManagerTileElementProps.js +2 -0
  170. package/Controls/Components/Layouts/TileManager/ITileManagerTileElementProps.js.map +1 -0
  171. package/Controls/Components/Layouts/TileManager/ITilePosition.d.ts +10 -0
  172. package/Controls/Components/Layouts/TileManager/ITilePosition.d.ts.map +1 -0
  173. package/Controls/Components/Layouts/TileManager/ITilePosition.js +2 -0
  174. package/Controls/Components/Layouts/TileManager/ITilePosition.js.map +1 -0
  175. package/Controls/Components/Layouts/TileManager/ITileResizeDimensions.d.ts +10 -0
  176. package/Controls/Components/Layouts/TileManager/ITileResizeDimensions.d.ts.map +1 -0
  177. package/Controls/Components/Layouts/TileManager/ITileResizeDimensions.js +2 -0
  178. package/Controls/Components/Layouts/TileManager/ITileResizeDimensions.js.map +1 -0
  179. package/Controls/Components/Layouts/TileManager/ITileStateChangeEventArgs.d.ts +1 -0
  180. package/Controls/Components/Layouts/TileManager/ITileStateChangeEventArgs.d.ts.map +1 -0
  181. package/Controls/Components/Layouts/TileManager/ITileStateChangeEventArgs.js +11 -0
  182. package/Controls/Components/Layouts/TileManager/ITileStateChangeEventArgs.js.map +1 -0
  183. package/Controls/Components/Layouts/TileManager/Index.d.ts +28 -0
  184. package/Controls/Components/Layouts/TileManager/Index.d.ts.map +1 -0
  185. package/Controls/Components/Layouts/TileManager/Index.js +8 -0
  186. package/Controls/Components/Layouts/TileManager/Index.js.map +1 -0
  187. package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Cosmopolitan.d.ts +6 -0
  188. package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Cosmopolitan.d.ts.map +1 -0
  189. package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Cosmopolitan.js +134 -0
  190. package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Cosmopolitan.js.map +1 -0
  191. package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Joy.d.ts +6 -0
  192. package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Joy.d.ts.map +1 -0
  193. package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Joy.js +134 -0
  194. package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Joy.js.map +1 -0
  195. package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Memphis.d.ts +6 -0
  196. package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Memphis.d.ts.map +1 -0
  197. package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Memphis.js +134 -0
  198. package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Memphis.js.map +1 -0
  199. package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Cosmopolitan.d.ts +6 -0
  200. package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Cosmopolitan.d.ts.map +1 -0
  201. package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Cosmopolitan.js +292 -0
  202. package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Cosmopolitan.js.map +1 -0
  203. package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Joy.d.ts +6 -0
  204. package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Joy.d.ts.map +1 -0
  205. package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Joy.js +292 -0
  206. package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Joy.js.map +1 -0
  207. package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Memphis.d.ts +6 -0
  208. package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Memphis.d.ts.map +1 -0
  209. package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Memphis.js +292 -0
  210. package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Memphis.js.map +1 -0
  211. package/Controls/Components/Layouts/TileManager/TileManagerElement.d.ts +195 -0
  212. package/Controls/Components/Layouts/TileManager/TileManagerElement.d.ts.map +1 -0
  213. package/Controls/Components/Layouts/TileManager/TileManagerElement.js +332 -0
  214. package/Controls/Components/Layouts/TileManager/TileManagerElement.js.map +1 -0
  215. package/Controls/Components/Layouts/TileManager/TileManagerElementTemplate.d.ts +12 -0
  216. package/Controls/Components/Layouts/TileManager/TileManagerElementTemplate.d.ts.map +1 -0
  217. package/Controls/Components/Layouts/TileManager/TileManagerElementTemplate.js +57 -0
  218. package/Controls/Components/Layouts/TileManager/TileManagerElementTemplate.js.map +1 -0
  219. package/Controls/Components/Layouts/TileManager/TileManagerGhostUtil.d.ts +47 -0
  220. package/Controls/Components/Layouts/TileManager/TileManagerGhostUtil.d.ts.map +1 -0
  221. package/Controls/Components/Layouts/TileManager/TileManagerGhostUtil.js +165 -0
  222. package/Controls/Components/Layouts/TileManager/TileManagerGhostUtil.js.map +1 -0
  223. package/Controls/Components/Layouts/TileManager/TileManagerPosition.d.ts +143 -0
  224. package/Controls/Components/Layouts/TileManager/TileManagerPosition.d.ts.map +1 -0
  225. package/Controls/Components/Layouts/TileManager/TileManagerPosition.js +294 -0
  226. package/Controls/Components/Layouts/TileManager/TileManagerPosition.js.map +1 -0
  227. package/Controls/Components/Layouts/TileManager/TileManagerResizeState.d.ts +130 -0
  228. package/Controls/Components/Layouts/TileManager/TileManagerResizeState.d.ts.map +1 -0
  229. package/Controls/Components/Layouts/TileManager/TileManagerResizeState.js +332 -0
  230. package/Controls/Components/Layouts/TileManager/TileManagerResizeState.js.map +1 -0
  231. package/Controls/Components/Layouts/TileManager/TileManagerResizeUtil.d.ts +55 -0
  232. package/Controls/Components/Layouts/TileManager/TileManagerResizeUtil.d.ts.map +1 -0
  233. package/Controls/Components/Layouts/TileManager/TileManagerResizeUtil.js +151 -0
  234. package/Controls/Components/Layouts/TileManager/TileManagerResizeUtil.js.map +1 -0
  235. package/Controls/Components/Layouts/TileManager/TileManagerSerializer.d.ts +45 -0
  236. package/Controls/Components/Layouts/TileManager/TileManagerSerializer.d.ts.map +1 -0
  237. package/Controls/Components/Layouts/TileManager/TileManagerSerializer.js +81 -0
  238. package/Controls/Components/Layouts/TileManager/TileManagerSerializer.js.map +1 -0
  239. package/Controls/Components/Layouts/TileManager/TileManagerTileElement.d.ts +585 -0
  240. package/Controls/Components/Layouts/TileManager/TileManagerTileElement.d.ts.map +1 -0
  241. package/Controls/Components/Layouts/TileManager/TileManagerTileElement.js +1341 -0
  242. package/Controls/Components/Layouts/TileManager/TileManagerTileElement.js.map +1 -0
  243. package/Controls/Components/Layouts/TileManager/TileManagerTileElementTemplate.d.ts +12 -0
  244. package/Controls/Components/Layouts/TileManager/TileManagerTileElementTemplate.d.ts.map +1 -0
  245. package/Controls/Components/Layouts/TileManager/TileManagerTileElementTemplate.js +102 -0
  246. package/Controls/Components/Layouts/TileManager/TileManagerTileElementTemplate.js.map +1 -0
  247. package/Controls/Components/Media/Chat/Events/IChatAttachmentRejectEvent.d.ts +1 -1
  248. package/Controls/Components/Media/Chat/Events/IChatAttachmentRejectEvent.d.ts.map +1 -1
  249. package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecCancelEvent.d.ts +1 -1
  250. package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecCancelEvent.d.ts.map +1 -1
  251. package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecPauseEvent.d.ts +1 -1
  252. package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecPauseEvent.d.ts.map +1 -1
  253. package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecResumeEvent.d.ts +1 -1
  254. package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecResumeEvent.d.ts.map +1 -1
  255. package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecStartEvent.d.ts +1 -1
  256. package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecStartEvent.d.ts.map +1 -1
  257. package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecStopEvent.d.ts +1 -1
  258. package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecStopEvent.d.ts.map +1 -1
  259. package/Controls/Components/Primitives/Divider/DividerElement.d.ts.map +1 -1
  260. package/Controls/Components/Primitives/Portal/PortalElement.d.ts.map +1 -1
  261. package/Controls/Components/Primitives/Portal/PortalElement.js +1 -0
  262. package/Controls/Components/Primitives/Portal/PortalElement.js.map +1 -1
  263. package/Controls/Components/Primitives/ResizeThumb/IResizeThumbElementProps.d.ts +1 -1
  264. package/Controls/Components/Primitives/ResizeThumb/IResizeThumbElementProps.d.ts.map +1 -1
  265. package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElementTemplate.d.ts.map +1 -1
  266. package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElementTemplate.js +27 -1
  267. package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElementTemplate.js.map +1 -1
  268. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Cosmopolitan.d.ts.map +1 -1
  269. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Cosmopolitan.js +23 -12
  270. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Cosmopolitan.js.map +1 -1
  271. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Joy.d.ts.map +1 -1
  272. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Joy.js +23 -100
  273. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Joy.js.map +1 -1
  274. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Memphis.d.ts.map +1 -1
  275. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Memphis.js +23 -12
  276. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Memphis.js.map +1 -1
  277. package/Controls/Components/Primitives/ghost/GhostElement.d.ts +58 -0
  278. package/Controls/Components/Primitives/ghost/GhostElement.d.ts.map +1 -0
  279. package/Controls/Components/Primitives/ghost/GhostElement.js +119 -0
  280. package/Controls/Components/Primitives/ghost/GhostElement.js.map +1 -0
  281. package/Controls/Components/Primitives/ghost/GhostElementTemplate.d.ts +9 -0
  282. package/Controls/Components/Primitives/ghost/GhostElementTemplate.d.ts.map +1 -0
  283. package/Controls/Components/Primitives/ghost/GhostElementTemplate.js +24 -0
  284. package/Controls/Components/Primitives/ghost/GhostElementTemplate.js.map +1 -0
  285. package/Controls/Components/Primitives/ghost/IGhostElementProps.d.ts +12 -0
  286. package/Controls/Components/Primitives/ghost/IGhostElementProps.d.ts.map +1 -0
  287. package/Controls/Components/Primitives/ghost/IGhostElementProps.js +3 -0
  288. package/Controls/Components/Primitives/ghost/IGhostElementProps.js.map +1 -0
  289. package/Controls/Components/Primitives/ghost/themes/GhostElement.Cosmopolitan.d.ts +6 -0
  290. package/Controls/Components/Primitives/ghost/themes/GhostElement.Cosmopolitan.d.ts.map +1 -0
  291. package/Controls/Components/Primitives/ghost/themes/GhostElement.Cosmopolitan.js +86 -0
  292. package/Controls/Components/Primitives/ghost/themes/GhostElement.Cosmopolitan.js.map +1 -0
  293. package/Controls/Components/Primitives/ghost/themes/GhostElement.Joy.d.ts +6 -0
  294. package/Controls/Components/Primitives/ghost/themes/GhostElement.Joy.d.ts.map +1 -0
  295. package/Controls/Components/Primitives/ghost/themes/GhostElement.Joy.js +86 -0
  296. package/Controls/Components/Primitives/ghost/themes/GhostElement.Joy.js.map +1 -0
  297. package/Controls/Components/Primitives/ghost/themes/GhostElement.Memphis.d.ts +6 -0
  298. package/Controls/Components/Primitives/ghost/themes/GhostElement.Memphis.d.ts.map +1 -0
  299. package/Controls/Components/Primitives/ghost/themes/GhostElement.Memphis.js +86 -0
  300. package/Controls/Components/Primitives/ghost/themes/GhostElement.Memphis.js.map +1 -0
  301. package/Controls/Components/Primitives/thumb/IThumbElementProps.d.ts +11 -0
  302. package/Controls/Components/Primitives/thumb/IThumbElementProps.d.ts.map +1 -0
  303. package/Controls/Components/Primitives/thumb/IThumbElementProps.js +3 -0
  304. package/Controls/Components/Primitives/thumb/IThumbElementProps.js.map +1 -0
  305. package/Controls/Components/Primitives/thumb/ThumbElement.d.ts +49 -0
  306. package/Controls/Components/Primitives/thumb/ThumbElement.d.ts.map +1 -0
  307. package/Controls/Components/Primitives/thumb/ThumbElement.js +87 -0
  308. package/Controls/Components/Primitives/thumb/ThumbElement.js.map +1 -0
  309. package/Controls/Components/Primitives/thumb/ThumbElementTemplate.d.ts +9 -0
  310. package/Controls/Components/Primitives/thumb/ThumbElementTemplate.d.ts.map +1 -0
  311. package/Controls/Components/Primitives/thumb/ThumbElementTemplate.js +14 -0
  312. package/Controls/Components/Primitives/thumb/ThumbElementTemplate.js.map +1 -0
  313. package/Controls/Components/Primitives/thumb/themes/ThumbElement.Cosmopolitan.d.ts +6 -0
  314. package/Controls/Components/Primitives/thumb/themes/ThumbElement.Cosmopolitan.d.ts.map +1 -0
  315. package/Controls/Components/Primitives/thumb/themes/ThumbElement.Cosmopolitan.js +127 -0
  316. package/Controls/Components/Primitives/thumb/themes/ThumbElement.Cosmopolitan.js.map +1 -0
  317. package/Controls/Components/Primitives/thumb/themes/ThumbElement.Joy.d.ts +6 -0
  318. package/Controls/Components/Primitives/thumb/themes/ThumbElement.Joy.d.ts.map +1 -0
  319. package/Controls/Components/Primitives/thumb/themes/ThumbElement.Joy.js +144 -0
  320. package/Controls/Components/Primitives/thumb/themes/ThumbElement.Joy.js.map +1 -0
  321. package/Controls/Components/Primitives/thumb/themes/ThumbElement.Memphis.d.ts +6 -0
  322. package/Controls/Components/Primitives/thumb/themes/ThumbElement.Memphis.d.ts.map +1 -0
  323. package/Controls/Components/Primitives/thumb/themes/ThumbElement.Memphis.js +127 -0
  324. package/Controls/Components/Primitives/thumb/themes/ThumbElement.Memphis.js.map +1 -0
  325. package/Controls/Components/Shell/AppElement.d.ts +2 -2
  326. package/Controls/Components/Shell/AppElement.js +2 -2
  327. package/Controls/Components/Shell/AppElementTemplate.d.ts.map +1 -1
  328. package/Controls/Components/Shell/AppElementTemplate.js +2 -1
  329. package/Controls/Components/Shell/AppElementTemplate.js.map +1 -1
  330. package/Controls/Controllers/AutoCompleteController.d.ts +10 -0
  331. package/Controls/Controllers/AutoCompleteController.d.ts.map +1 -1
  332. package/Controls/Controllers/AutoCompleteController.js +12 -0
  333. package/Controls/Controllers/AutoCompleteController.js.map +1 -1
  334. package/Controls/Controllers/DragController.d.ts +433 -0
  335. package/Controls/Controllers/DragController.d.ts.map +1 -0
  336. package/Controls/Controllers/DragController.js +605 -0
  337. package/Controls/Controllers/DragController.js.map +1 -0
  338. package/Controls/Controllers/DragResizeController.d.ts +419 -0
  339. package/Controls/Controllers/DragResizeController.d.ts.map +1 -0
  340. package/Controls/Controllers/DragResizeController.js +557 -0
  341. package/Controls/Controllers/DragResizeController.js.map +1 -0
  342. package/Controls/Controllers/ResizeContainerController.d.ts +88 -0
  343. package/Controls/Controllers/ResizeContainerController.d.ts.map +1 -0
  344. package/Controls/Controllers/ResizeContainerController.js +263 -0
  345. package/Controls/Controllers/ResizeContainerController.js.map +1 -0
  346. package/Controls/Directives/Directives.d.ts +2 -1
  347. package/Controls/Directives/Directives.d.ts.map +1 -1
  348. package/Controls/Directives/Directives.js.map +1 -1
  349. package/Controls/Directives/part-map/PartMapDirective.d.ts +15 -0
  350. package/Controls/Directives/part-map/PartMapDirective.d.ts.map +1 -0
  351. package/Controls/Directives/part-map/PartMapDirective.js +49 -0
  352. package/Controls/Directives/part-map/PartMapDirective.js.map +1 -0
  353. package/Controls/Types/ContainerResizeMode.d.ts +22 -0
  354. package/Controls/Types/ContainerResizeMode.d.ts.map +1 -0
  355. package/Controls/Types/ContainerResizeMode.js +19 -0
  356. package/Controls/Types/ContainerResizeMode.js.map +1 -0
  357. package/Controls/Types/ThumbEdge.d.ts +23 -0
  358. package/Controls/Types/ThumbEdge.d.ts.map +1 -0
  359. package/Controls/Types/ThumbEdge.js +20 -0
  360. package/Controls/Types/ThumbEdge.js.map +1 -0
  361. package/Controls/Types/TileManagerDragMode.d.ts +26 -0
  362. package/Controls/Types/TileManagerDragMode.d.ts.map +1 -0
  363. package/Controls/Types/TileManagerDragMode.js +23 -0
  364. package/Controls/Types/TileManagerDragMode.js.map +1 -0
  365. package/Controls/Types/TileManagerResizeMode.d.ts +26 -0
  366. package/Controls/Types/TileManagerResizeMode.d.ts.map +1 -0
  367. package/Controls/Types/TileManagerResizeMode.js +23 -0
  368. package/Controls/Types/TileManagerResizeMode.js.map +1 -0
  369. package/Dom/AbortHandle.d.ts +31 -0
  370. package/Dom/AbortHandle.d.ts.map +1 -0
  371. package/Dom/AbortHandle.js +50 -0
  372. package/Dom/AbortHandle.js.map +1 -0
  373. package/Index.d.ts +18 -3
  374. package/Index.d.ts.map +1 -1
  375. package/Index.js +12 -0
  376. package/Index.js.map +1 -1
  377. package/custom-elements.json +19920 -15713
  378. package/package.json +3 -3
  379. package/Controls/Components/Inputs/AutoCompleteBox/Providers/GoogleFontsProvider.d.ts +0 -131
  380. package/Controls/Components/Inputs/AutoCompleteBox/Providers/GoogleFontsProvider.d.ts.map +0 -1
  381. package/Controls/Components/Inputs/AutoCompleteBox/Providers/GoogleFontsProvider.js +0 -353
  382. package/Controls/Components/Inputs/AutoCompleteBox/Providers/GoogleFontsProvider.js.map +0 -1
  383. package/Controls/Components/Overlays/BottomSheet/BottomSheetElement.d.ts +0 -139
  384. package/Controls/Components/Overlays/BottomSheet/BottomSheetElement.d.ts.map +0 -1
  385. package/Controls/Components/Overlays/BottomSheet/BottomSheetElement.js +0 -344
  386. package/Controls/Components/Overlays/BottomSheet/BottomSheetElement.js.map +0 -1
  387. package/Controls/Components/Overlays/BottomSheet/BottomSheetElementTemplate.d.ts +0 -9
  388. package/Controls/Components/Overlays/BottomSheet/BottomSheetElementTemplate.d.ts.map +0 -1
  389. package/Controls/Components/Overlays/BottomSheet/BottomSheetElementTemplate.js +0 -53
  390. package/Controls/Components/Overlays/BottomSheet/BottomSheetElementTemplate.js.map +0 -1
  391. package/Controls/Components/Overlays/BottomSheet/BottomSheetService.d.ts +0 -134
  392. package/Controls/Components/Overlays/BottomSheet/BottomSheetService.d.ts.map +0 -1
  393. package/Controls/Components/Overlays/BottomSheet/BottomSheetService.js +0 -250
  394. package/Controls/Components/Overlays/BottomSheet/BottomSheetService.js.map +0 -1
  395. package/Controls/Components/Overlays/BottomSheet/IBottomSheetElementProps.d.ts +0 -28
  396. package/Controls/Components/Overlays/BottomSheet/IBottomSheetElementProps.d.ts.map +0 -1
  397. package/Controls/Components/Overlays/BottomSheet/IBottomSheetElementProps.js +0 -3
  398. package/Controls/Components/Overlays/BottomSheet/IBottomSheetElementProps.js.map +0 -1
  399. package/Controls/Components/Overlays/BottomSheet/IBottomSheetServiceConfig.d.ts +0 -30
  400. package/Controls/Components/Overlays/BottomSheet/IBottomSheetServiceConfig.d.ts.map +0 -1
  401. package/Controls/Components/Overlays/BottomSheet/IBottomSheetServiceConfig.js +0 -11
  402. package/Controls/Components/Overlays/BottomSheet/IBottomSheetServiceConfig.js.map +0 -1
  403. package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Cosmopolitan.d.ts +0 -6
  404. package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Cosmopolitan.d.ts.map +0 -1
  405. package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Cosmopolitan.js +0 -180
  406. package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Cosmopolitan.js.map +0 -1
  407. package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Joy.d.ts +0 -6
  408. package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Joy.d.ts.map +0 -1
  409. package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Joy.js +0 -179
  410. package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Joy.js.map +0 -1
  411. package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Memphis.d.ts +0 -6
  412. package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Memphis.d.ts.map +0 -1
  413. package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Memphis.js +0 -180
  414. package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Memphis.js.map +0 -1
  415. package/Controls/Components/Overlays/Dialog/DialogStackBehavior.d.ts +0 -127
  416. package/Controls/Components/Overlays/Dialog/DialogStackBehavior.d.ts.map +0 -1
  417. package/Controls/Components/Overlays/Dialog/DialogStackBehavior.js +0 -246
  418. package/Controls/Components/Overlays/Dialog/DialogStackBehavior.js.map +0 -1
  419. package/Controls/Components/Overlays/Dialog/IDialogStackConfig.d.ts +0 -80
  420. package/Controls/Components/Overlays/Dialog/IDialogStackConfig.d.ts.map +0 -1
  421. package/Controls/Components/Overlays/Dialog/IDialogStackConfig.js +0 -17
  422. package/Controls/Components/Overlays/Dialog/IDialogStackConfig.js.map +0 -1
  423. package/Controls/Components/Overlays/Drawer/DrawerStackBehavior.d.ts +0 -136
  424. package/Controls/Components/Overlays/Drawer/DrawerStackBehavior.d.ts.map +0 -1
  425. package/Controls/Components/Overlays/Drawer/DrawerStackBehavior.js +0 -298
  426. package/Controls/Components/Overlays/Drawer/DrawerStackBehavior.js.map +0 -1
  427. package/Controls/Components/Overlays/Drawer/IDrawerStackConfig.d.ts +0 -73
  428. package/Controls/Components/Overlays/Drawer/IDrawerStackConfig.d.ts.map +0 -1
  429. package/Controls/Components/Overlays/Drawer/IDrawerStackConfig.js +0 -16
  430. package/Controls/Components/Overlays/Drawer/IDrawerStackConfig.js.map +0 -1
  431. package/Controls/Components/Selectors/Menu/SubMenuMode.d.ts +0 -20
  432. package/Controls/Components/Selectors/Menu/SubMenuMode.d.ts.map +0 -1
  433. package/Controls/Components/Selectors/Menu/SubMenuMode.js +0 -18
  434. package/Controls/Components/Selectors/Menu/SubMenuMode.js.map +0 -1
  435. package/Theming/ITheme2ElementProps.d.ts +0 -11
  436. package/Theming/ITheme2ElementProps.d.ts.map +0 -1
  437. package/Theming/ITheme2ElementProps.js +0 -3
  438. package/Theming/ITheme2ElementProps.js.map +0 -1
  439. package/Theming/Theme2.d.ts +0 -143
  440. package/Theming/Theme2.d.ts.map +0 -1
  441. package/Theming/Theme2.js +0 -253
  442. package/Theming/Theme2.js.map +0 -1
@@ -1,298 +0,0 @@
1
- // #region Imports
2
- import { DRAWER_STACK_DEFAULT_CONFIG } from './IDrawerStackConfig';
3
- import { DRAWER_STACKED_CLASS } from './DrawerService';
4
- // #endregion
5
- /**
6
- * Behavior that manages a stack of drawers with decreasing widths.
7
- * Each drawer in the stack is offset from the previous one, creating
8
- * a cascading visual effect.
9
- *
10
- * @public
11
- */
12
- export class DrawerStackBehavior {
13
- // #region Fields
14
- _config;
15
- _stack;
16
- // #endregion
17
- // #region Ctor
18
- /**
19
- * Constructs a new instance of the `DrawerStackBehavior` class.
20
- *
21
- * @public
22
- * @param config - Optional configuration for stack behavior.
23
- */
24
- constructor(config) {
25
- this._config = {
26
- ...DRAWER_STACK_DEFAULT_CONFIG,
27
- ...config
28
- };
29
- this._stack = new Array();
30
- }
31
- // #endregion
32
- // #region Properties
33
- /**
34
- * Returns the current number of drawers in the stack.
35
- *
36
- * @public
37
- * @readonly
38
- */
39
- get stackSize() {
40
- return this._stack.length;
41
- }
42
- /**
43
- * Returns the current stack configuration.
44
- *
45
- * @public
46
- * @readonly
47
- */
48
- get config() {
49
- return this._config;
50
- }
51
- /**
52
- * Returns an array of all drawer references in stack order (oldest first).
53
- *
54
- * @public
55
- * @readonly
56
- */
57
- get stack() {
58
- return this._stack;
59
- }
60
- // #endregion
61
- // #region Methods
62
- /**
63
- * Configures the drawer options before opening.
64
- * Calculates the appropriate width based on stack position.
65
- *
66
- * @public
67
- * @param options - The drawer options to configure.
68
- */
69
- configure(options) {
70
- if (!options.enableStack) {
71
- return;
72
- }
73
- // Check max stack depth
74
- if (this._config.maxStackDepth !== undefined && this._stack.length >= this._config.maxStackDepth) {
75
- throw new Error(`Cannot open drawer: maximum stack depth (${this._config.maxStackDepth}) reached.`);
76
- }
77
- }
78
- /**
79
- * Attaches a drawer to the stack and applies stack styling.
80
- *
81
- * @public
82
- * @param ref - The drawer reference to attach.
83
- */
84
- attach(ref) {
85
- if (!ref.options?.enableStack) {
86
- return;
87
- }
88
- // Use stackBaseWidth if provided, otherwise fall back to options.width (as string), then config.baseWidth
89
- const baseWidth = ref.options.stackBaseWidth ?? this.cssLengthToString(ref.options.width) ?? this._config.baseWidth;
90
- // Grow smaller drawers to match the new larger drawer
91
- this.growSmallerDrawersToMatchLargest(baseWidth);
92
- // Add stacked class to previous drawers
93
- this.applyStackedClasses();
94
- // Add to stack
95
- this._stack.push(ref);
96
- }
97
- /**
98
- * Detaches a drawer from the stack.
99
- *
100
- * @public
101
- * @param ref - The drawer reference to detach.
102
- */
103
- detach(ref) {
104
- const index = this._stack.indexOf(ref);
105
- if (index !== -1) {
106
- this._stack.splice(index, 1);
107
- // Recalculate widths for remaining drawers
108
- this.recalculateStackWidths();
109
- // Update stacked classes
110
- this.applyStackedClasses();
111
- }
112
- }
113
- /**
114
- * Disposes of all resources and clears the stack.
115
- *
116
- * @public
117
- */
118
- dispose() {
119
- this._stack.length = 0;
120
- }
121
- /**
122
- * Calculates the width for a drawer at a specific stack level.
123
- *
124
- * @public
125
- * @param stackLevel - The zero-based index of the drawer in the stack.
126
- * @param baseWidthOverride - Optional override for the base width.
127
- * @returns The calculated CSS width string.
128
- */
129
- calculateWidth(stackLevel, baseWidthOverride) {
130
- const baseWidth = baseWidthOverride ?? this._config.baseWidth;
131
- const reduction = stackLevel * this._config.stackThreshold;
132
- // Parse the base width to determine format (%, px, vw, etc.)
133
- const match = (/^(\d+(?:\.\d+)?)(%.*)$/).exec(baseWidth);
134
- if (match) {
135
- const numericValue = parseFloat(match[1]);
136
- const unit = match[2];
137
- const calculatedValue = Math.max(0, numericValue - reduction);
138
- return `${calculatedValue}${unit}`;
139
- }
140
- // For calc(), vw, or other complex values, use CSS calc
141
- return `calc(${baseWidth} - ${reduction}%)`;
142
- }
143
- /**
144
- * Applies the stacked CSS class to all drawers except the topmost one.
145
- *
146
- * @private
147
- */
148
- applyStackedClasses() {
149
- for (let i = 0; i < this._stack.length; i++) {
150
- const ref = this._stack[i];
151
- const isTopmost = i === this._stack.length - 1;
152
- if (isTopmost) {
153
- ref.drawerElement.classList.remove(DRAWER_STACKED_CLASS);
154
- }
155
- else {
156
- ref.drawerElement.classList.add(DRAWER_STACKED_CLASS);
157
- }
158
- }
159
- }
160
- /**
161
- * Recalculates and applies widths for all remaining drawers in the stack.
162
- * After a drawer is closed, we need to restore each drawer to its original width
163
- * (which may have been grown when larger drawers were opened on top).
164
- *
165
- * @private
166
- */
167
- recalculateStackWidths() {
168
- // Find the largest base width among remaining drawers
169
- let largestBaseWidth = 0;
170
- for (const ref of this._stack) {
171
- const baseWidth = ref.options?.stackBaseWidth ?? this.cssLengthToString(ref.options?.width) ?? this._config.baseWidth;
172
- const percentage = this.parseWidthToPercentage(baseWidth);
173
- if (percentage !== null && percentage > largestBaseWidth) {
174
- largestBaseWidth = percentage;
175
- }
176
- }
177
- // Recalculate widths: drawers should be based on the largest remaining drawer
178
- const threshold = this._config.stackThreshold;
179
- const stackLength = this._stack.length;
180
- for (let i = 0; i < stackLength; i++) {
181
- const ref = this._stack[i];
182
- const baseWidth = ref.options?.stackBaseWidth ?? this.cssLengthToString(ref.options?.width) ?? this._config.baseWidth;
183
- const basePercentage = this.parseWidthToPercentage(baseWidth);
184
- if (basePercentage === null) {
185
- // For non-percentage widths, fall back to the original behavior
186
- const newWidth = this.calculateWidth(i, baseWidth);
187
- this.applyStackStyles(ref, i, newWidth);
188
- continue;
189
- }
190
- // If the largest remaining drawer is bigger than this drawer's base,
191
- // grow this drawer to match (plus offset)
192
- if (largestBaseWidth > basePercentage) {
193
- const offsetFromTop = stackLength - 1 - i;
194
- const grownWidth = largestBaseWidth + (offsetFromTop * threshold);
195
- this.applyStackStyles(ref, i, `${grownWidth}%`);
196
- }
197
- else {
198
- // Otherwise use the original calculated width based on stack position
199
- const newWidth = this.calculateWidth(i, baseWidth);
200
- this.applyStackStyles(ref, i, newWidth);
201
- }
202
- }
203
- }
204
- /**
205
- * Converts a CssLength to a string representation.
206
- * If the value is a number, it's treated as pixels and not suitable for percentage-based calculations.
207
- *
208
- * @private
209
- * @param value - The CssLength value to convert.
210
- * @returns The string representation, or undefined if it's a number (pixels).
211
- */
212
- cssLengthToString(value) {
213
- if (value === undefined || value === null) {
214
- return undefined;
215
- }
216
- if (typeof value === 'number') {
217
- // Numbers are treated as pixels, which we can't use for percentage-based stack calculations
218
- return undefined;
219
- }
220
- return value;
221
- }
222
- /**
223
- * Parses a percentage-based width string into a numeric value.
224
- *
225
- * @private
226
- * @param width - The CSS width string (e.g. "50%").
227
- * @returns The numeric percentage value, or null if not a percentage.
228
- */
229
- parseWidthToPercentage(width) {
230
- if (!width) {
231
- return null;
232
- }
233
- const match = (/^(\d+(?:\.\d+)?)%$/).exec(width);
234
- if (match) {
235
- return parseFloat(match[1]);
236
- }
237
- return null;
238
- }
239
- /**
240
- * Grows smaller drawers in the stack to match the size of a newly opened larger drawer.
241
- * Each existing drawer gets the new base width plus an offset based on its distance from the top.
242
- *
243
- * @private
244
- * @param newDrawerBaseWidth - The base width of the newly opened drawer.
245
- */
246
- growSmallerDrawersToMatchLargest(newDrawerBaseWidth) {
247
- const newWidthPercentage = this.parseWidthToPercentage(newDrawerBaseWidth);
248
- if (newWidthPercentage === null) {
249
- return;
250
- }
251
- const threshold = this._config.stackThreshold;
252
- const stackLength = this._stack.length;
253
- for (let i = 0; i < stackLength; i++) {
254
- const ref = this._stack[i];
255
- const existingBaseWidth = ref.options?.stackBaseWidth ?? this.cssLengthToString(ref.options?.width) ?? this._config.baseWidth;
256
- const existingWidthPercentage = this.parseWidthToPercentage(existingBaseWidth);
257
- if (existingWidthPercentage === null) {
258
- continue;
259
- }
260
- // Only grow if the new drawer is larger
261
- if (newWidthPercentage > existingWidthPercentage) {
262
- // Calculate offset from the top of the stack (new drawer will be at stackLength)
263
- // Drawer at index i has (stackLength - i) drawers above it
264
- const offsetFromTop = stackLength - i;
265
- const grownWidth = newWidthPercentage + (offsetFromTop * threshold);
266
- const grownWidthStr = `${grownWidth}%`;
267
- // Update computed width and apply styles
268
- this.applyStackStyles(ref, i, grownWidthStr);
269
- }
270
- }
271
- }
272
- /**
273
- * Applies stack-related styles to a drawer element.
274
- *
275
- * @private
276
- * @param ref - The drawer reference.
277
- * @param stackLevel - The stack level for this drawer.
278
- * @param computedWidth - The computed width for this drawer.
279
- */
280
- applyStackStyles(ref, stackLevel, computedWidth) {
281
- // Use CSS custom properties for styling
282
- ref.drawerElement.setAttribute('data-stack-level', String(stackLevel));
283
- ref.drawerElement.setAttribute('data-computed-width', computedWidth);
284
- // Apply width directly via the component's width property
285
- ref.drawerElement.width = computedWidth;
286
- }
287
- }
288
- /**
289
- * Creates a drawer stack behavior with the specified configuration.
290
- *
291
- * @public
292
- * @param config - Optional configuration for the stack behavior.
293
- * @returns A new DrawerStackBehavior instance.
294
- */
295
- export function withDrawerStackBehavior(config) {
296
- return new DrawerStackBehavior(config);
297
- }
298
- //# sourceMappingURL=DrawerStackBehavior.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DrawerStackBehavior.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Overlays/Drawer/DrawerStackBehavior.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAKlB,OAAO,EAA2B,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAC5F,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,aAAa;AAEb;;;;;;GAMG;AACH,MAAM,OAAO,mBAAmB;IAE5B,iBAAiB;IAEA,OAAO,CAAqB;IAC5B,MAAM,CAAoB;IAE3C,aAAa;IAEb,eAAe;IA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CAAC,iBAAiB,CAAC,CAAC;YAE/E,IAAI,uBAAuB,KAAK,IAAI,EAAE,CAAC;gBACnC,SAAS;YACb,CAAC;YAED,wCAAwC;YACxC,IAAI,kBAAkB,GAAG,uBAAuB,EAAE,CAAC;gBAC/C,iFAAiF;gBACjF,2DAA2D;gBAC3D,MAAM,aAAa,GAAG,WAAW,GAAG,CAAC,CAAC;gBACtC,MAAM,UAAU,GAAG,kBAAkB,GAAG,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;gBACpE,MAAM,aAAa,GAAG,GAAG,UAAU,GAAG,CAAC;gBAEvC,yCAAyC;gBACzC,IAAI,CAAC,gBAAgB,CAAC,GAAG,EAAE,CAAC,EAAE,aAAa,CAAC,CAAC;YACjD,CAAC;QACL,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACK,gBAAgB,CAAC,GAAe,EAAE,UAAkB,EAAE,aAAqB;QAC/E,wCAAwC;QACxC,GAAG,CAAC,aAAa,CAAC,YAAY,CAAC,kBAAkB,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;QACvE,GAAG,CAAC,aAAa,CAAC,YAAY,CAAC,qBAAqB,EAAE,aAAa,CAAC,CAAC;QAErE,0DAA0D;QAC1D,GAAG,CAAC,aAAa,CAAC,KAAK,GAAG,aAA0B,CAAC;IACzD,CAAC;CAIJ;AAED;;;;;;GAMG;AACH,MAAM,UAAU,uBAAuB,CAAC,MAAoC;IACxE,OAAO,IAAI,mBAAmB,CAAC,MAAM,CAAC,CAAC;AAC3C,CAAC"}
@@ -1,73 +0,0 @@
1
- /**
2
- * Display modes for the drawer service.
3
- * - 'default': Normal drawer behavior, each drawer opens independently.
4
- * - 'stacked': Drawers cascade with configurable width reduction per level.
5
- *
6
- * @public
7
- */
8
- export type DrawerDisplayMode = 'default' | 'stacked';
9
- /**
10
- * Configuration for the drawer stack behavior.
11
- * Controls how multiple drawers are displayed in a cascaded/stacked manner.
12
- *
13
- * @public
14
- */
15
- export interface IDrawerStackConfig {
16
- /**
17
- * The display mode for drawers opened through this service.
18
- * - 'default': Normal drawer behavior, each drawer opens independently.
19
- * - 'stacked': Drawers cascade with configurable width reduction per level.
20
- *
21
- * @default 'default'
22
- */
23
- readonly displayMode: DrawerDisplayMode;
24
- /**
25
- * The base width of the first drawer in the stack.
26
- * Can be a percentage (e.g., '80%', '90%') or a fixed value (e.g., '800px').
27
- *
28
- * @default '80%'
29
- */
30
- readonly baseWidth: string;
31
- /**
32
- * The percentage threshold to reduce width for each subsequent drawer in the stack.
33
- * For example, if baseWidth is 80% and threshold is 4, the second drawer will be 76%, third 72%, etc.
34
- *
35
- * @default 4
36
- */
37
- readonly stackThreshold: number;
38
- /**
39
- * The maximum number of drawers that can be stacked.
40
- * When this limit is reached, opening a new drawer will close the oldest one.
41
- * Set to undefined for unlimited stacking.
42
- *
43
- * @default undefined
44
- */
45
- readonly maxStackDepth?: number;
46
- /**
47
- * The z-index increment for each stacked drawer.
48
- * Ensures that newer drawers appear above older ones.
49
- *
50
- * @default 10
51
- */
52
- readonly zIndexIncrement: number;
53
- /**
54
- * Whether to show a visual indicator (shadow/edge) of drawers beneath the top one.
55
- *
56
- * @default true
57
- */
58
- readonly showStackIndicator: boolean;
59
- /**
60
- * The visual offset (in pixels) to show a hint of the drawer beneath.
61
- * Only applies when showStackIndicator is true.
62
- *
63
- * @default 8
64
- */
65
- readonly stackIndicatorOffset: number;
66
- }
67
- /**
68
- * Default configuration for drawer stacking behavior.
69
- *
70
- * @public
71
- */
72
- export declare const DRAWER_STACK_DEFAULT_CONFIG: IDrawerStackConfig;
73
- //# sourceMappingURL=IDrawerStackConfig.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IDrawerStackConfig.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Overlays/Drawer/IDrawerStackConfig.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,SAAS,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IAI/B;;;;;;OAMG;IACH,QAAQ,CAAC,WAAW,EAAE,iBAAiB,CAAC;IAExC;;;;;OAKG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B;;;;;OAKG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAEhC;;;;;;OAMG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAEhC;;;;;OAKG;IACH,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IAEjC;;;;OAIG;IACH,QAAQ,CAAC,kBAAkB,EAAE,OAAO,CAAC;IAErC;;;;;OAKG;IACH,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;CAIzC;AAED;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,EAAE,kBAQzC,CAAC"}
@@ -1,16 +0,0 @@
1
- // #region Imports
2
- /**
3
- * Default configuration for drawer stacking behavior.
4
- *
5
- * @public
6
- */
7
- export const DRAWER_STACK_DEFAULT_CONFIG = {
8
- displayMode: 'default',
9
- baseWidth: '80%',
10
- stackThreshold: 4,
11
- maxStackDepth: undefined,
12
- zIndexIncrement: 10,
13
- showStackIndicator: true,
14
- stackIndicatorOffset: 8
15
- };
16
- //# sourceMappingURL=IDrawerStackConfig.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IDrawerStackConfig.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Overlays/Drawer/IDrawerStackConfig.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAoFlB;;;;GAIG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAuB;IAC3D,WAAW,EAAE,SAAS;IACtB,SAAS,EAAE,KAAK;IAChB,cAAc,EAAE,CAAC;IACjB,aAAa,EAAE,SAAS;IACxB,eAAe,EAAE,EAAE;IACnB,kBAAkB,EAAE,IAAI;IACxB,oBAAoB,EAAE,CAAC;CAC1B,CAAC"}
@@ -1,20 +0,0 @@
1
- /**
2
- * `SubMenuMode` - Determines how child menus are displayed for a menu item.
3
- *
4
- * @public
5
- */
6
- export declare const SubMenuMode: {
7
- /**
8
- * `inline` - Renders child menus inline using an expandable container.
9
- */
10
- readonly Inline: "inline";
11
- /**
12
- * `popover` - Renders child menus inside a floating popover anchored to the parent item.
13
- */
14
- readonly Popover: "popover";
15
- };
16
- /**
17
- * @public
18
- */
19
- export type SubMenuMode = typeof SubMenuMode[keyof typeof SubMenuMode];
20
- //# sourceMappingURL=SubMenuMode.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SubMenuMode.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Selectors/Menu/SubMenuMode.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,WAAW;IAEpB;;OAEG;;IAGH;;OAEG;;CAGG,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,WAAW,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC"}
@@ -1,18 +0,0 @@
1
- // #region Imports
2
- // #endregion
3
- /**
4
- * `SubMenuMode` - Determines how child menus are displayed for a menu item.
5
- *
6
- * @public
7
- */
8
- export const SubMenuMode = {
9
- /**
10
- * `inline` - Renders child menus inline using an expandable container.
11
- */
12
- Inline: 'inline',
13
- /**
14
- * `popover` - Renders child menus inside a floating popover anchored to the parent item.
15
- */
16
- Popover: 'popover'
17
- };
18
- //# sourceMappingURL=SubMenuMode.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SubMenuMode.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Selectors/Menu/SubMenuMode.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,aAAa;AAEb;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IAEvB;;OAEG;IACH,MAAM,EAAE,QAAQ;IAEhB;;OAEG;IACH,OAAO,EAAE,SAAS;CAEZ,CAAC"}
@@ -1,11 +0,0 @@
1
- import type { ITheme } from '@breadstone/mosaik-themes';
2
- /**
3
- * Represents the `{@link ITheme2ElementProps}` interface.
4
- *
5
- * @public
6
- */
7
- export interface ITheme2ElementProps {
8
- theme: ITheme | null;
9
- isInline: boolean;
10
- }
11
- //# sourceMappingURL=ITheme2ElementProps.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ITheme2ElementProps.d.ts","sourceRoot":"","sources":["../../src/Theming/ITheme2ElementProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAIxD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;CACrB"}
@@ -1,3 +0,0 @@
1
- // #region Imports
2
- export {};
3
- //# sourceMappingURL=ITheme2ElementProps.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ITheme2ElementProps.js","sourceRoot":"","sources":["../../src/Theming/ITheme2ElementProps.ts"],"names":[],"mappings":"AAAA,kBAAkB"}
@@ -1,143 +0,0 @@
1
- import type { ITheme, ThemeMode, ThemeScheme, ThemeSemantic } from '@breadstone/mosaik-themes';
2
- import type { Theme2Element } from './Theme2Element';
3
- import { type IEventEmitter, type IEventDetail } from '@breadstone/mosaik-elements';
4
- /**
5
- * The `Theme2` class.
6
- *
7
- * @public
8
- */
9
- export declare class Theme2 {
10
- private static readonly _themeElements;
11
- private readonly _themeChanged;
12
- private readonly _schemeChanged;
13
- private readonly _paletteChanged;
14
- /**
15
- * Constructs a new instance of the `Theme` class.
16
- *
17
- * @public
18
- */
19
- constructor();
20
- /**
21
- * @public
22
- * @readonly
23
- * @eventProperty
24
- */
25
- get themeChanged(): IEventEmitter<IEventDetail>;
26
- /**
27
- * @public
28
- * @readonly
29
- * @eventProperty
30
- */
31
- get schemeChanged(): IEventEmitter<IEventDetail>;
32
- /**
33
- * @public
34
- * @readonly
35
- * @eventProperty
36
- */
37
- get paletteChanged(): IEventEmitter<IEventDetail>;
38
- /**
39
- * @public
40
- * @static
41
- */
42
- static register(element: Theme2Element): void;
43
- /**
44
- * @public
45
- * @static
46
- */
47
- static unregister(element: Theme2Element): void;
48
- /**
49
- * @public
50
- */
51
- getTheme(): ITheme;
52
- /**
53
- * Gets the current theme name from the document element.
54
- *
55
- * @public
56
- * @returns The current theme name or `null` if not set.
57
- */
58
- getDocumentTheme(): string | null;
59
- /**
60
- * Gets the current theme mode from the document element.
61
- *
62
- * @public
63
- * @returns The current theme mode or `null` if not set.
64
- */
65
- getDocumentThemeMode(): ThemeMode | null;
66
- /**
67
- * Applies the specified theme.
68
- *
69
- * @public
70
- * @param theme The theme to apply.
71
- */
72
- applyTheme(theme: ITheme): void;
73
- /**
74
- * Applies the specified scheme.
75
- *
76
- * @public
77
- * @param scheme The scheme to apply.
78
- */
79
- applyScheme(scheme: ITheme['scheme']): void;
80
- /**
81
- * Applies the specified palette.
82
- *
83
- * @public
84
- * @param palette The palette to apply.
85
- */
86
- applyPalette(palette: ITheme['palette']): void;
87
- /**
88
- * Applies the specified font family.
89
- *
90
- * @public
91
- * @param fontFamily The font family to apply.
92
- */
93
- applyFontFamily(fontFamily: ITheme['fontFamily']): void;
94
- /**
95
- * Applies the specified typography.
96
- *
97
- * @public
98
- * @param typography The typography to apply.
99
- */
100
- applyTypography(typography: ITheme['typography']): void;
101
- /**
102
- * Applies the specified layout.
103
- *
104
- * @public
105
- * @param layout The layout to apply.
106
- */
107
- applyLayout(layout: ITheme['layout']): void;
108
- /**
109
- * Applies the specified elevation.
110
- *
111
- * @public
112
- * @param elevation The elevation to apply.
113
- */
114
- applyElevation(elevation: ITheme['elevation']): void;
115
- /**
116
- * Replaces the scheme with the specified key.
117
- * This is useful when you want to replace a specific scheme in the theme.
118
- *
119
- * @public
120
- * @param mode The theme mode to replace.
121
- * @param scheme The scheme color roles to replace.
122
- */
123
- replaceScheme(mode: ThemeMode, scheme: Partial<ThemeScheme>): void;
124
- /**
125
- * Replaces the palette with the specified key.
126
- * This is useful when you want to replace a specific palette in the theme.
127
- *
128
- * @public
129
- * @param mode The theme mode to replace.
130
- * @param semantic The semantic color roles to replace.
131
- */
132
- replacePalette(mode: ThemeMode, semantic: Partial<ThemeSemantic>): void;
133
- }
134
- /**
135
- * @public
136
- */
137
- export declare class Theme2ServiceLocator {
138
- private static _current;
139
- static get current(): Theme2;
140
- static isSet(): boolean;
141
- static set(current: Theme2): void;
142
- }
143
- //# sourceMappingURL=Theme2.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Theme2.d.ts","sourceRoot":"","sources":["../../src/Theming/Theme2.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAoB,MAAM,6BAA6B,CAAC;AAItG;;;;GAIG;AACH,qBAAa,MAAM;IAIf,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAA4B;IAClE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA8B;IAC5D,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA8B;IAC7D,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA8B;IAM9D;;;;OAIG;;IAWH;;;;OAIG;IACH,IAAW,YAAY,IAAI,aAAa,CAAC,YAAY,CAAC,CAErD;IAED;;;;OAIG;IACH,IAAW,aAAa,IAAI,aAAa,CAAC,YAAY,CAAC,CAEtD;IAED;;;;OAIG;IACH,IAAW,cAAc,IAAI,aAAa,CAAC,YAAY,CAAC,CAEvD;IAMD;;;OAGG;WACW,QAAQ,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAIpD;;;OAGG;WACW,UAAU,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAOtD;;OAEG;IACI,QAAQ,IAAI,M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