@fabric-msft/fabric-web 7.0.0 → 7.3.1

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 (281) hide show
  1. package/dts/components/card/card.d.ts +0 -5
  2. package/dts/components/card/card.d.ts.map +1 -1
  3. package/dts/components/carousel/carousel.d.ts +6 -42
  4. package/dts/components/carousel/carousel.d.ts.map +1 -1
  5. package/dts/components/carousel/carousel.styles.d.ts.map +1 -1
  6. package/dts/components/carousel/carousel.template.d.ts.map +1 -1
  7. package/dts/components/carousel/define.d.ts.map +1 -1
  8. package/dts/components/carousel-nav/carousel-nav.d.ts +10 -0
  9. package/dts/components/carousel-nav/carousel-nav.d.ts.map +1 -1
  10. package/dts/components/carousel-nav/carousel-nav.template.d.ts.map +1 -1
  11. package/dts/components/carousel-viewport/carousel-viewport.d.ts +34 -0
  12. package/dts/components/carousel-viewport/carousel-viewport.d.ts.map +1 -0
  13. package/dts/components/carousel-viewport/carousel-viewport.definition.d.ts +9 -0
  14. package/dts/components/carousel-viewport/carousel-viewport.definition.d.ts.map +1 -0
  15. package/dts/components/carousel-viewport/carousel-viewport.styles.d.ts +7 -0
  16. package/dts/components/carousel-viewport/carousel-viewport.styles.d.ts.map +1 -0
  17. package/dts/components/carousel-viewport/carousel-viewport.template.d.ts +9 -0
  18. package/dts/components/carousel-viewport/carousel-viewport.template.d.ts.map +1 -0
  19. package/dts/components/carousel-viewport/define.d.ts +2 -0
  20. package/dts/components/carousel-viewport/define.d.ts.map +1 -0
  21. package/dts/components/carousel-viewport/index.d.ts +5 -0
  22. package/dts/components/carousel-viewport/index.d.ts.map +1 -0
  23. package/dts/components/dynamic-tab/define.d.ts +2 -0
  24. package/dts/components/dynamic-tab/define.d.ts.map +1 -0
  25. package/dts/components/dynamic-tab/dynamic-tab.d.ts +142 -0
  26. package/dts/components/dynamic-tab/dynamic-tab.d.ts.map +1 -0
  27. package/dts/components/dynamic-tab/dynamic-tab.definition.d.ts +10 -0
  28. package/dts/components/dynamic-tab/dynamic-tab.definition.d.ts.map +1 -0
  29. package/dts/components/dynamic-tab/dynamic-tab.options.d.ts +10 -0
  30. package/dts/components/dynamic-tab/dynamic-tab.options.d.ts.map +1 -0
  31. package/dts/components/dynamic-tab/dynamic-tab.styles.d.ts +6 -0
  32. package/dts/components/dynamic-tab/dynamic-tab.styles.d.ts.map +1 -0
  33. package/dts/components/dynamic-tab/dynamic-tab.template.d.ts +13 -0
  34. package/dts/components/dynamic-tab/dynamic-tab.template.d.ts.map +1 -0
  35. package/dts/components/dynamic-tab/index.d.ts +6 -0
  36. package/dts/components/dynamic-tab/index.d.ts.map +1 -0
  37. package/dts/components/dynamic-tab-list/define.d.ts +2 -0
  38. package/dts/components/dynamic-tab-list/define.d.ts.map +1 -0
  39. package/dts/components/dynamic-tab-list/dynamic-tab-list.d.ts +360 -0
  40. package/dts/components/dynamic-tab-list/dynamic-tab-list.d.ts.map +1 -0
  41. package/dts/components/dynamic-tab-list/dynamic-tab-list.definition.d.ts +7 -0
  42. package/dts/components/dynamic-tab-list/dynamic-tab-list.definition.d.ts.map +1 -0
  43. package/dts/components/dynamic-tab-list/dynamic-tab-list.options.d.ts +24 -0
  44. package/dts/components/dynamic-tab-list/dynamic-tab-list.options.d.ts.map +1 -0
  45. package/dts/components/dynamic-tab-list/dynamic-tab-list.styles.d.ts +6 -0
  46. package/dts/components/dynamic-tab-list/dynamic-tab-list.styles.d.ts.map +1 -0
  47. package/dts/components/dynamic-tab-list/dynamic-tab-list.template.d.ts +13 -0
  48. package/dts/components/dynamic-tab-list/dynamic-tab-list.template.d.ts.map +1 -0
  49. package/dts/components/dynamic-tab-list/index.d.ts +7 -0
  50. package/dts/components/dynamic-tab-list/index.d.ts.map +1 -0
  51. package/dts/components/empty-state/define.d.ts +2 -0
  52. package/dts/components/empty-state/define.d.ts.map +1 -0
  53. package/dts/components/empty-state/empty-state.d.ts +32 -0
  54. package/dts/components/empty-state/empty-state.d.ts.map +1 -0
  55. package/dts/components/empty-state/empty-state.definition.d.ts +10 -0
  56. package/dts/components/empty-state/empty-state.definition.d.ts.map +1 -0
  57. package/dts/components/empty-state/empty-state.styles.d.ts +6 -0
  58. package/dts/components/empty-state/empty-state.styles.d.ts.map +1 -0
  59. package/dts/components/empty-state/empty-state.template.d.ts +9 -0
  60. package/dts/components/empty-state/empty-state.template.d.ts.map +1 -0
  61. package/dts/components/empty-state/index.d.ts +5 -0
  62. package/dts/components/empty-state/index.d.ts.map +1 -0
  63. package/dts/components/field/field.d.ts +44 -3
  64. package/dts/components/field/field.d.ts.map +1 -1
  65. package/dts/components/menu/index.d.ts +2 -2
  66. package/dts/components/menu/index.d.ts.map +1 -1
  67. package/dts/components/menu/menu.d.ts +17 -1
  68. package/dts/components/menu/menu.d.ts.map +1 -1
  69. package/dts/components/menu/menu.options.d.ts +15 -0
  70. package/dts/components/menu/menu.options.d.ts.map +1 -1
  71. package/dts/components/menu/menu.positioning.d.ts +8 -2
  72. package/dts/components/menu/menu.positioning.d.ts.map +1 -1
  73. package/dts/components/menu/menu.styles.d.ts.map +1 -1
  74. package/dts/components/menu-button/menu-button.d.ts +2 -2
  75. package/dts/components/menu-button/menu-button.definition.d.ts.map +1 -1
  76. package/dts/components/menu-button/menu-button.styles.d.ts +11 -0
  77. package/dts/components/menu-button/menu-button.styles.d.ts.map +1 -0
  78. package/dts/components/menu-item/menu-item.styles.d.ts.map +1 -1
  79. package/dts/components/menu-list/menu-list.styles.d.ts.map +1 -1
  80. package/dts/components/modal/define.d.ts +4 -0
  81. package/dts/components/modal/define.d.ts.map +1 -0
  82. package/dts/components/modal/index.d.ts +9 -0
  83. package/dts/components/modal/index.d.ts.map +1 -0
  84. package/dts/components/modal/modal.d.ts +209 -0
  85. package/dts/components/modal/modal.d.ts.map +1 -0
  86. package/dts/components/modal/modal.definition.d.ts +9 -0
  87. package/dts/components/modal/modal.definition.d.ts.map +1 -0
  88. package/dts/components/modal/modal.events.d.ts +26 -0
  89. package/dts/components/modal/modal.events.d.ts.map +1 -0
  90. package/dts/components/modal/modal.options.d.ts +15 -0
  91. package/dts/components/modal/modal.options.d.ts.map +1 -0
  92. package/dts/components/modal/modal.styles.d.ts +10 -0
  93. package/dts/components/modal/modal.styles.d.ts.map +1 -0
  94. package/dts/components/modal/modal.template.d.ts +12 -0
  95. package/dts/components/modal/modal.template.d.ts.map +1 -0
  96. package/dts/components/modal-fre-item/define.d.ts +2 -0
  97. package/dts/components/modal-fre-item/define.d.ts.map +1 -0
  98. package/dts/components/modal-fre-item/index.d.ts +3 -0
  99. package/dts/components/modal-fre-item/index.d.ts.map +1 -0
  100. package/dts/components/modal-fre-item/modal-fre-item.d.ts +65 -0
  101. package/dts/components/modal-fre-item/modal-fre-item.d.ts.map +1 -0
  102. package/dts/components/modal-fre-item/modal-fre-item.definition.d.ts +10 -0
  103. package/dts/components/modal-fre-item/modal-fre-item.definition.d.ts.map +1 -0
  104. package/dts/components/modal-fre-item/modal-fre-item.styles.d.ts +7 -0
  105. package/dts/components/modal-fre-item/modal-fre-item.styles.d.ts.map +1 -0
  106. package/dts/components/modal-fre-item/modal-fre-item.template.d.ts +11 -0
  107. package/dts/components/modal-fre-item/modal-fre-item.template.d.ts.map +1 -0
  108. package/dts/components/radio-group/radio-group.d.ts +15 -0
  109. package/dts/components/radio-group/radio-group.d.ts.map +1 -1
  110. package/dts/components/slider/slider.d.ts +2 -0
  111. package/dts/components/slider/slider.d.ts.map +1 -1
  112. package/dts/components/slider/slider.definition.d.ts.map +1 -1
  113. package/dts/components/slider/slider.styles.d.ts +10 -0
  114. package/dts/components/slider/slider.styles.d.ts.map +1 -0
  115. package/dts/components/slider/slider.template.d.ts +4 -0
  116. package/dts/components/slider/slider.template.d.ts.map +1 -0
  117. package/dts/components/styles/patterns/patterns.d.ts +8 -0
  118. package/dts/components/styles/patterns/patterns.d.ts.map +1 -0
  119. package/dts/index.d.ts +7 -0
  120. package/dts/index.d.ts.map +1 -1
  121. package/dts/util/a11y-playwright-utils.d.ts +7 -0
  122. package/dts/util/a11y-playwright-utils.d.ts.map +1 -0
  123. package/dts/util/carousel-controller.d.ts +120 -0
  124. package/dts/util/carousel-controller.d.ts.map +1 -0
  125. package/dts/util/icons.d.ts +15 -0
  126. package/dts/util/icons.d.ts.map +1 -1
  127. package/dts/util/index.d.ts +1 -0
  128. package/dts/util/index.d.ts.map +1 -1
  129. package/esm/components/accordion-menu-panel/accordion-menu-panel.styles.js +1 -1
  130. package/esm/components/card/card.js +0 -5
  131. package/esm/components/card/card.js.map +1 -1
  132. package/esm/components/card-header/card-header.styles.js +2 -2
  133. package/esm/components/card-header/card-header.styles.js.map +1 -1
  134. package/esm/components/carousel/carousel.js +30 -98
  135. package/esm/components/carousel/carousel.js.map +1 -1
  136. package/esm/components/carousel/carousel.styles.js +2 -2
  137. package/esm/components/carousel/carousel.styles.js.map +1 -1
  138. package/esm/components/carousel/carousel.template.js +3 -3
  139. package/esm/components/carousel/carousel.template.js.map +1 -1
  140. package/esm/components/carousel/define.js +5 -3
  141. package/esm/components/carousel/define.js.map +1 -1
  142. package/esm/components/carousel-item/carousel-item.template.js +1 -1
  143. package/esm/components/carousel-item/carousel-item.template.js.map +1 -1
  144. package/esm/components/carousel-nav/carousel-nav.js +12 -0
  145. package/esm/components/carousel-nav/carousel-nav.js.map +1 -1
  146. package/esm/components/carousel-nav/carousel-nav.styles.js +1 -0
  147. package/esm/components/carousel-nav/carousel-nav.template.js +4 -3
  148. package/esm/components/carousel-nav/carousel-nav.template.js.map +1 -1
  149. package/esm/components/carousel-nav-item/carousel-nav-item.styles.js +1 -0
  150. package/esm/components/carousel-viewport/carousel-viewport.definition.js +21 -0
  151. package/esm/components/carousel-viewport/carousel-viewport.definition.js.map +1 -0
  152. package/esm/components/carousel-viewport/carousel-viewport.js +37 -0
  153. package/esm/components/carousel-viewport/carousel-viewport.js.map +1 -0
  154. package/esm/components/carousel-viewport/carousel-viewport.styles.js +11 -0
  155. package/esm/components/carousel-viewport/carousel-viewport.styles.js.map +1 -0
  156. package/esm/components/carousel-viewport/carousel-viewport.template.js +15 -0
  157. package/esm/components/carousel-viewport/carousel-viewport.template.js.map +1 -0
  158. package/esm/components/carousel-viewport/define.js +4 -0
  159. package/esm/components/carousel-viewport/define.js.map +1 -0
  160. package/esm/components/carousel-viewport/index.js +5 -0
  161. package/esm/components/carousel-viewport/index.js.map +1 -0
  162. package/esm/components/dynamic-tab/define.js +4 -0
  163. package/esm/components/dynamic-tab/define.js.map +1 -0
  164. package/esm/components/dynamic-tab/dynamic-tab.definition.js +27 -0
  165. package/esm/components/dynamic-tab/dynamic-tab.definition.js.map +1 -0
  166. package/esm/components/dynamic-tab/dynamic-tab.js +232 -0
  167. package/esm/components/dynamic-tab/dynamic-tab.js.map +1 -0
  168. package/esm/components/dynamic-tab/dynamic-tab.options.js +11 -0
  169. package/esm/components/dynamic-tab/dynamic-tab.options.js.map +1 -0
  170. package/esm/components/dynamic-tab/dynamic-tab.styles.js +13 -0
  171. package/esm/components/dynamic-tab/dynamic-tab.styles.js.map +1 -0
  172. package/esm/components/dynamic-tab/dynamic-tab.template.js +18 -0
  173. package/esm/components/dynamic-tab/dynamic-tab.template.js.map +1 -0
  174. package/esm/components/dynamic-tab/index.js +6 -0
  175. package/esm/components/dynamic-tab/index.js.map +1 -0
  176. package/esm/components/dynamic-tab-list/define.js +12 -0
  177. package/esm/components/dynamic-tab-list/define.js.map +1 -0
  178. package/esm/components/dynamic-tab-list/dynamic-tab-list.definition.js +19 -0
  179. package/esm/components/dynamic-tab-list/dynamic-tab-list.definition.js.map +1 -0
  180. package/esm/components/dynamic-tab-list/dynamic-tab-list.js +788 -0
  181. package/esm/components/dynamic-tab-list/dynamic-tab-list.js.map +1 -0
  182. package/esm/components/dynamic-tab-list/dynamic-tab-list.options.js +19 -0
  183. package/esm/components/dynamic-tab-list/dynamic-tab-list.options.js.map +1 -0
  184. package/esm/components/dynamic-tab-list/dynamic-tab-list.styles.js +11 -0
  185. package/esm/components/dynamic-tab-list/dynamic-tab-list.styles.js.map +1 -0
  186. package/esm/components/dynamic-tab-list/dynamic-tab-list.template.js +41 -0
  187. package/esm/components/dynamic-tab-list/dynamic-tab-list.template.js.map +1 -0
  188. package/esm/components/dynamic-tab-list/index.js +6 -0
  189. package/esm/components/dynamic-tab-list/index.js.map +1 -0
  190. package/esm/components/empty-state/define.js +4 -0
  191. package/esm/components/empty-state/define.js.map +1 -0
  192. package/esm/components/empty-state/empty-state.definition.js +22 -0
  193. package/esm/components/empty-state/empty-state.definition.js.map +1 -0
  194. package/esm/components/empty-state/empty-state.js +33 -0
  195. package/esm/components/empty-state/empty-state.js.map +1 -0
  196. package/esm/components/empty-state/empty-state.styles.js +11 -0
  197. package/esm/components/empty-state/empty-state.styles.js.map +1 -0
  198. package/esm/components/empty-state/empty-state.template.js +12 -0
  199. package/esm/components/empty-state/empty-state.template.js.map +1 -0
  200. package/esm/components/empty-state/index.js +5 -0
  201. package/esm/components/empty-state/index.js.map +1 -0
  202. package/esm/components/field/field.js +91 -5
  203. package/esm/components/field/field.js.map +1 -1
  204. package/esm/components/filter-pill/filter-pill.styles.js +1 -0
  205. package/esm/components/menu/index.js +1 -1
  206. package/esm/components/menu/index.js.map +1 -1
  207. package/esm/components/menu/menu.js +30 -2
  208. package/esm/components/menu/menu.js.map +1 -1
  209. package/esm/components/menu/menu.options.js +11 -1
  210. package/esm/components/menu/menu.options.js.map +1 -1
  211. package/esm/components/menu/menu.positioning.js +32 -30
  212. package/esm/components/menu/menu.positioning.js.map +1 -1
  213. package/esm/components/menu/menu.styles.js +2 -1
  214. package/esm/components/menu/menu.styles.js.map +1 -1
  215. package/esm/components/menu-button/menu-button.definition.js +5 -2
  216. package/esm/components/menu-button/menu-button.definition.js.map +1 -1
  217. package/esm/components/menu-button/menu-button.js +2 -2
  218. package/esm/components/menu-button/menu-button.styles.js +18 -0
  219. package/esm/components/menu-button/menu-button.styles.js.map +1 -0
  220. package/esm/components/menu-item/menu-item.styles.js +1 -1
  221. package/esm/components/menu-item/menu-item.styles.js.map +1 -1
  222. package/esm/components/menu-list/menu-list.styles.js +2 -2
  223. package/esm/components/menu-list/menu-list.styles.js.map +1 -1
  224. package/esm/components/modal/define.js +9 -0
  225. package/esm/components/modal/define.js.map +1 -0
  226. package/esm/components/modal/index.js +7 -0
  227. package/esm/components/modal/index.js.map +1 -0
  228. package/esm/components/modal/modal.definition.js +29 -0
  229. package/esm/components/modal/modal.definition.js.map +1 -0
  230. package/esm/components/modal/modal.events.js +11 -0
  231. package/esm/components/modal/modal.events.js.map +1 -0
  232. package/esm/components/modal/modal.js +369 -0
  233. package/esm/components/modal/modal.js.map +1 -0
  234. package/esm/components/modal/modal.options.js +10 -0
  235. package/esm/components/modal/modal.options.js.map +1 -0
  236. package/esm/components/modal/modal.styles.js +14 -0
  237. package/esm/components/modal/modal.styles.js.map +1 -0
  238. package/esm/components/modal/modal.template.js +23 -0
  239. package/esm/components/modal/modal.template.js.map +1 -0
  240. package/esm/components/modal-fre-item/define.js +4 -0
  241. package/esm/components/modal-fre-item/define.js.map +1 -0
  242. package/esm/components/modal-fre-item/index.js +3 -0
  243. package/esm/components/modal-fre-item/index.js.map +1 -0
  244. package/esm/components/modal-fre-item/modal-fre-item.definition.js +27 -0
  245. package/esm/components/modal-fre-item/modal-fre-item.definition.js.map +1 -0
  246. package/esm/components/modal-fre-item/modal-fre-item.js +72 -0
  247. package/esm/components/modal-fre-item/modal-fre-item.js.map +1 -0
  248. package/esm/components/modal-fre-item/modal-fre-item.styles.js +11 -0
  249. package/esm/components/modal-fre-item/modal-fre-item.styles.js.map +1 -0
  250. package/esm/components/modal-fre-item/modal-fre-item.template.js +16 -0
  251. package/esm/components/modal-fre-item/modal-fre-item.template.js.map +1 -0
  252. package/esm/components/radio-group/radio-group.js +20 -1
  253. package/esm/components/radio-group/radio-group.js.map +1 -1
  254. package/esm/components/simple-table/simple-table.styles.js +1 -0
  255. package/esm/components/slider/slider.definition.js +4 -3
  256. package/esm/components/slider/slider.definition.js.map +1 -1
  257. package/esm/components/slider/slider.js +2 -0
  258. package/esm/components/slider/slider.js.map +1 -1
  259. package/esm/components/slider/slider.styles.js +24 -0
  260. package/esm/components/slider/slider.styles.js.map +1 -0
  261. package/esm/components/slider/slider.template.js +17 -0
  262. package/esm/components/slider/slider.template.js.map +1 -0
  263. package/esm/components/styles/patterns/patterns.js +11 -0
  264. package/esm/components/styles/patterns/patterns.js.map +1 -0
  265. package/esm/index.js +25 -0
  266. package/esm/index.js.map +1 -1
  267. package/esm/util/a11y-playwright-utils.js +11 -0
  268. package/esm/util/a11y-playwright-utils.js.map +1 -0
  269. package/esm/util/carousel-controller.js +153 -0
  270. package/esm/util/carousel-controller.js.map +1 -0
  271. package/esm/util/icons.js +16 -1
  272. package/esm/util/icons.js.map +1 -1
  273. package/esm/util/index.js +1 -0
  274. package/esm/util/index.js.map +1 -1
  275. package/index.d.ts +2125 -957
  276. package/index.d.ts.map +1 -1
  277. package/index.js +6812 -4700
  278. package/index.js.map +1 -1
  279. package/index.min.js +108 -88
  280. package/index.min.js.map +1 -1
  281. package/package.json +2 -2
@@ -0,0 +1,27 @@
1
+ import { definition as definition$1 } from '../button/button.definition.js';
2
+ import { DesignSystem } from '../design-system.js';
3
+ import { composeDefinitions, fromFAST } from '../../util/element-definition.js';
4
+ import { DynamicTab } from './dynamic-tab.js';
5
+ import { styles } from './dynamic-tab.styles.js';
6
+ import { template } from './dynamic-tab.template.js';
7
+
8
+ /** @internal */
9
+ const DynamicTabDefinition = DynamicTab.compose({
10
+ name: `${DesignSystem.prefix}-dynamic-tab`,
11
+ template,
12
+ styles,
13
+ shadowOptions: {
14
+ mode: DesignSystem.shadowRootMode
15
+ }
16
+ });
17
+ /**
18
+ * Composed element definition for `<fabric-dynamic-tab>`, registering the
19
+ * `fabric-button` dependency before the element itself.
20
+ *
21
+ * @public
22
+ * @remarks
23
+ * HTML Element: `<fabric-dynamic-tab>`
24
+ */
25
+ const definition = composeDefinitions(fromFAST(DynamicTabDefinition), fromFAST(definition$1));
26
+
27
+ export { definition };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic-tab.definition.js","sourceRoot":"","sources":["../../../../src/components/dynamic-tab/dynamic-tab.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAErD,gBAAgB;AAChB,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,CAAC;IAC9C,IAAI,EAAE,GAAG,YAAY,CAAC,MAAM,cAAc;IAC1C,QAAQ;IACR,MAAM;IACN,aAAa,EAAE;QACb,IAAI,EAAE,YAAY,CAAC,cAAc;KAClC;CACF,CAAC,CAAC;AAEH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,kBAAkB,CAC1C,QAAQ,CAAC,oBAAoB,CAAC,EAC9B,QAAQ,CAAC,gBAAgB,CAAC,CAC3B,CAAC"}
@@ -0,0 +1,232 @@
1
+ import { attr, FASTElement } from '@microsoft/fast-element';
2
+ import { DynamicTabEventNames } from './dynamic-tab.options.js';
3
+
4
+ var __decorate = globalThis && globalThis.__decorate || function (decorators, target, key, desc) {
5
+ var c = arguments.length,
6
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
7
+ d;
8
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
10
+ };
11
+ /**
12
+ * Dynamic Tab
13
+ * @summary A dismissible tab component for use in dynamic tab lists, similar to browser tabs.
14
+ *
15
+ * @example
16
+ * ```html
17
+ * <fabric-dynamic-tab id="tab-1" selected>
18
+ * <fabric-svg-icon slot="icon" name="document-20-regular"></fabric-svg-icon>
19
+ * Document.docx
20
+ * </fabric-dynamic-tab>
21
+ * ```
22
+ *
23
+ * @attr {boolean} selected - Whether the tab is currently selected.
24
+ * @attr {boolean} disabled - Whether the tab is disabled.
25
+ * @attr {boolean} no-dismiss - When present, prevents the tab from being dismissed/closed.
26
+ * @attr {boolean} no-rename - When present, prevents the tab from being renamed.
27
+ * @attr {boolean} modified - Whether the tab has unsaved changes (shows indicator instead of dismiss).
28
+ *
29
+ * @slot icon - Optional icon displayed before the label (defaults to document icon).
30
+ * @slot dismiss-icon - Optional custom icon for the dismiss button.
31
+ * @slot - The tab label text.
32
+ *
33
+ * @fires dismiss - Fires when the dismiss button is clicked.
34
+ * @fires select - Fires when the tab is clicked to select.
35
+ * @fires rename-request - Fires when rename is requested via F2 key.
36
+ *
37
+ * @extends FASTElement
38
+ * @tagname fabric-dynamic-tab
39
+ * @public
40
+ */
41
+ class DynamicTab extends FASTElement {
42
+ constructor() {
43
+ super(...arguments);
44
+ /**
45
+ * Internal unique ID used when no id attribute is provided.
46
+ * Ensures aria-describedby references don't collide across instances.
47
+ * @internal
48
+ */
49
+ this.internalId = `fabric-dynamic-tab-${DynamicTab.idCounter++}`;
50
+ /**
51
+ * Whether the tab is currently selected.
52
+ * @public
53
+ * @remarks
54
+ * HTML Attribute: `selected`
55
+ */
56
+ this.selected = false;
57
+ /**
58
+ * Whether the tab is disabled.
59
+ * @public
60
+ * @remarks
61
+ * HTML Attribute: `disabled`
62
+ */
63
+ this.disabled = false;
64
+ /**
65
+ * When present, prevents the tab from being dismissed/closed.
66
+ * @public
67
+ * @remarks
68
+ * HTML Attribute: `no-dismiss`
69
+ */
70
+ this.noDismiss = false;
71
+ /**
72
+ * When present, prevents the tab from being renamed.
73
+ * @public
74
+ * @remarks
75
+ * HTML Attribute: `no-rename`
76
+ */
77
+ this.noRename = false;
78
+ /**
79
+ * Whether the tab has unsaved changes.
80
+ * When true, shows a modified indicator instead of the dismiss button.
81
+ * @public
82
+ * @remarks
83
+ * HTML Attribute: `modified`
84
+ */
85
+ this.modified = false;
86
+ /**
87
+ * Accessible label for the close/dismiss button.
88
+ * Override for i18n/localization.
89
+ * @public
90
+ * @remarks
91
+ * HTML Attribute: `close-tab-label`
92
+ */
93
+ this.closeTabLabel = "";
94
+ /**
95
+ * Accessible label for the modified indicator.
96
+ * Override for i18n/localization.
97
+ * @public
98
+ * @remarks
99
+ * HTML Attribute: `modified-label`
100
+ */
101
+ this.modifiedLabel = "";
102
+ /**
103
+ * Accessible hint text for dismissible tabs.
104
+ * Override for i18n/localization.
105
+ * @public
106
+ * @remarks
107
+ * HTML Attribute: `close-hint-label`
108
+ */
109
+ this.closeHintLabel = "";
110
+ }
111
+ /**
112
+ * Returns the effective ID for ARIA references.
113
+ * Uses the consumer-provided id attribute if set, otherwise falls back to internal ID.
114
+ * @internal
115
+ */
116
+ get effectiveId() {
117
+ return this.id || this.internalId;
118
+ }
119
+ /**
120
+ * Handles click events on the tab.
121
+ * @internal
122
+ */
123
+ handleClick(_event) {
124
+ if (this.disabled) return;
125
+ this.emitSelect();
126
+ }
127
+ /**
128
+ * Handles keyboard events.
129
+ * @internal
130
+ */
131
+ handleKeydown(event) {
132
+ if (this.disabled) return true;
133
+ switch (event.key) {
134
+ case "Enter":
135
+ case " ":
136
+ event.preventDefault();
137
+ this.emitSelect();
138
+ return false;
139
+ case "F2":
140
+ if (!this.noRename) {
141
+ event.preventDefault();
142
+ this.emitRenameRequest();
143
+ return false;
144
+ }
145
+ break;
146
+ }
147
+ return true;
148
+ }
149
+ /**
150
+ * Handles dismiss button click.
151
+ * @internal
152
+ */
153
+ handleDismissClick(event) {
154
+ event.stopPropagation();
155
+ this.emitDismiss();
156
+ }
157
+ /**
158
+ * Emits the dismiss event.
159
+ * Can be called programmatically to trigger tab dismissal.
160
+ * @public
161
+ */
162
+ emitDismiss() {
163
+ this.dispatchEvent(new CustomEvent(DynamicTabEventNames.dismiss, {
164
+ detail: {
165
+ id: this.id
166
+ },
167
+ bubbles: true,
168
+ composed: true
169
+ }));
170
+ }
171
+ /**
172
+ * Emits the select event.
173
+ * @internal
174
+ */
175
+ emitSelect() {
176
+ this.dispatchEvent(new CustomEvent(DynamicTabEventNames.select, {
177
+ detail: {
178
+ id: this.id
179
+ },
180
+ bubbles: true,
181
+ composed: true
182
+ }));
183
+ }
184
+ /**
185
+ * Emits the rename-request event.
186
+ * @internal
187
+ */
188
+ emitRenameRequest() {
189
+ var _a, _b;
190
+ this.dispatchEvent(new CustomEvent(DynamicTabEventNames["rename-request"], {
191
+ detail: {
192
+ id: this.id,
193
+ currentName: (_b = (_a = this.textContent) === null || _a === void 0 ? void 0 : _a.trim()) !== null && _b !== void 0 ? _b : ""
194
+ },
195
+ bubbles: true,
196
+ composed: true
197
+ }));
198
+ }
199
+ }
200
+ /**
201
+ * Static counter for generating unique internal IDs.
202
+ * @internal
203
+ */
204
+ DynamicTab.idCounter = 0;
205
+ __decorate([attr({
206
+ mode: "boolean"
207
+ })], DynamicTab.prototype, "selected", void 0);
208
+ __decorate([attr({
209
+ mode: "boolean"
210
+ })], DynamicTab.prototype, "disabled", void 0);
211
+ __decorate([attr({
212
+ mode: "boolean",
213
+ attribute: "no-dismiss"
214
+ })], DynamicTab.prototype, "noDismiss", void 0);
215
+ __decorate([attr({
216
+ mode: "boolean",
217
+ attribute: "no-rename"
218
+ })], DynamicTab.prototype, "noRename", void 0);
219
+ __decorate([attr({
220
+ mode: "boolean"
221
+ })], DynamicTab.prototype, "modified", void 0);
222
+ __decorate([attr({
223
+ attribute: "close-tab-label"
224
+ })], DynamicTab.prototype, "closeTabLabel", void 0);
225
+ __decorate([attr({
226
+ attribute: "modified-label"
227
+ })], DynamicTab.prototype, "modifiedLabel", void 0);
228
+ __decorate([attr({
229
+ attribute: "close-hint-label"
230
+ })], DynamicTab.prototype, "closeHintLabel", void 0);
231
+
232
+ export { DynamicTab };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic-tab.js","sourceRoot":"","sources":["../../../../src/components/dynamic-tab/dynamic-tab.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Event names for {@link DynamicTab}.
3
+ * @public
4
+ */
5
+ const DynamicTabEventNames = {
6
+ dismiss: "dismiss",
7
+ select: "select",
8
+ "rename-request": "rename-request"
9
+ };
10
+
11
+ export { DynamicTabEventNames };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic-tab.options.js","sourceRoot":"","sources":["../../../../src/components/dynamic-tab/dynamic-tab.options.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,gBAAgB,EAAE,gBAAgB;CAC1B,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { css } from '@microsoft/fast-element';
2
+ import { fontFamilyBase, spacingHorizontalXS, spacingVerticalSNudge, spacingHorizontalS, borderRadiusMedium, colorSubtleBackground, colorSubtleBackgroundHover, fontWeightSemibold, colorSubtleBackgroundPressed, colorSubtleBackgroundSelected, colorStrokeFocus2, colorNeutralForegroundDisabled, colorNeutralForeground1, fontSizeBase300, fontWeightRegular, lineHeightBase300, colorNeutralStroke2 } from '@fluentui/web-components';
3
+ import { visuallyHidden } from '../styles/patterns/patterns.js';
4
+
5
+ /**
6
+ * Styles for the DynamicTab component.
7
+ * @public
8
+ */
9
+ const styles = css`
10
+ ${visuallyHidden}
11
+ :host{outline:none}.root{display:inline-flex;position:relative;box-sizing:border-box;font-family:${fontFamilyBase};outline:none;min-width:180px;}.container{display:flex;align-items:center;gap:${spacingHorizontalXS};padding:${spacingVerticalSNudge} ${spacingHorizontalS};border-radius:${borderRadiusMedium};background:${colorSubtleBackground};width:100%;box-sizing:border-box;cursor:pointer}:host(:hover:not([disabled]):not([selected])) .container{background:${colorSubtleBackgroundHover}}:host(:hover:not([disabled])) .label{font-weight:${fontWeightSemibold}}:host(:active:not([disabled])) .container{background:${colorSubtleBackgroundPressed}}:host([selected]) .container{background:${colorSubtleBackgroundSelected}}:host([selected]) .label{font-weight:${fontWeightSemibold}}:host([selected]) .divider{display:none}:host(:focus-visible) .container{outline:2px solid ${colorStrokeFocus2};outline-offset:-2px}:host([disabled]){cursor:not-allowed}:host([disabled]) .container{cursor:not-allowed}:host([disabled]) .label{color:${colorNeutralForegroundDisabled}}:host([disabled]) .icon{color:${colorNeutralForegroundDisabled}}.icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex-shrink:0;color:${colorNeutralForeground1}}.label{flex:1;font-size:${fontSizeBase300};font-weight:${fontWeightRegular};line-height:${lineHeightBase300};color:${colorNeutralForeground1};white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.dismiss-button{flex-shrink:0;--button-padding-inline:0;--button-min-width:20px;padding:0;padding-inline-start:${spacingHorizontalXS};min-width:unset;min-height:unset;border:unset}.modified-indicator{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex-shrink:0;color:${colorNeutralForeground1}}.modified-indicator svg{width:6px;height:6px}.divider{position:absolute;inset-inline-end:-1px;top:50%;transform:translateY(-50%);width:1px;height:20px;background:${colorNeutralStroke2};display:var(--tab-divider-display,block)}`;
12
+
13
+ export { styles };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic-tab.styles.js","sourceRoot":"","sources":["../../../../src/components/dynamic-tab/dynamic-tab.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,8BAA8B,EAC9B,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,EACrB,0BAA0B,EAC1B,4BAA4B,EAC5B,6BAA6B,EAC7B,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D;;;GAGG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;IACrB,cAAc;;;;;;;;;mBASC,cAAc;;;;;;;;WAQtB,mBAAmB;eACf,qBAAqB,IAAI,kBAAkB;qBACrC,kBAAkB;kBACrB,qBAAqB;;;;;;;;kBAQrB,0BAA0B;;;;mBAIzB,kBAAkB;;;;;kBAKnB,4BAA4B;;;;;kBAK5B,6BAA6B;;;;mBAI5B,kBAAkB;;;;;;;;;yBASZ,iBAAiB;;;;;;;;;;;;;;aAc7B,8BAA8B;;;;aAI9B,8BAA8B;;;;;;;;;;;aAW9B,uBAAuB;;;;;;iBAMnB,eAAe;mBACb,iBAAiB;mBACjB,iBAAiB;aACvB,uBAAuB;;;;;;;;;;;;;4BAaR,mBAAmB;;;;;;;;;;;;;;aAclC,uBAAuB;;;;;;;;;;;;;;;;kBAgBlB,mBAAmB;;;CAGpC,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { when, html } from '@microsoft/fast-element';
2
+ import { documentIcon, modifiedIndicatorSVG, dismissIcon } from '../../util/icons.js';
3
+ import { getString } from '@fabric-msft/localization';
4
+
5
+ /**
6
+ * Template for the DynamicTab component.
7
+ * @public
8
+ */
9
+ function dynamicTabTemplate() {
10
+ return html`<template role="tab" aria-selected="${x => x.selected}" aria-disabled="${x => x.disabled}" aria-describedby="${x => !x.noDismiss ? `${x.effectiveId}-hint` : undefined}" @click="${(x, c) => x.handleClick(c.event)}" @keydown="${(x, c) => x.handleKeydown(c.event)}"><div class="root"><div class="container"><span class="icon"><slot name="icon">${documentIcon}</slot></span><span class="label"><slot></slot></span>${when(x => x.modified, html`<span class="modified-indicator" aria-label="${x => x.modifiedLabel || getString("DynamicTab_Modified")}">${modifiedIndicatorSVG}</span>`)} ${when(x => !x.noDismiss && !x.disabled && !x.modified, html`<fabric-button class="dismiss-button" icon-only appearance="transparent" aria-label="${x => x.closeTabLabel || getString("DynamicTab_CloseTab")}" @click="${(x, c) => x.handleDismissClick(c.event)}" tabindex="-1"><slot name="dismiss-icon">${dismissIcon}</slot></fabric-button>`)}</div>${when(x => !x.noDismiss, html`<span id="${x => `${x.effectiveId}-hint`}" class="visually-hidden">${x => x.closeHintLabel || getString("DynamicTab_CloseHint")}</span>`)} ${when(x => !x.selected, html`<div class="divider"></div>`)}</div></template>`;
11
+ }
12
+ /**
13
+ * The template for the DynamicTab component.
14
+ * @public
15
+ */
16
+ const template = dynamicTabTemplate();
17
+
18
+ export { dynamicTabTemplate, template };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic-tab.template.js","sourceRoot":"","sources":["../../../../src/components/dynamic-tab/dynamic-tab.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAGrD,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD;;;GAGG;AACH,MAAM,UAAU,kBAAkB;IAGhC,OAAO,IAAI,CAAG;;;uBAGO,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ;uBACjB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ;0BACd,CAAC,CAAC,EAAE,EAAE,CACxB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS;gBAC1C,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,KAAmB,CAAC;kBAC5C,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,KAAsB,CAAC;;;;;gCAKrC,YAAY;;;;;YAKhC,IAAI,CACJ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,EACjB,IAAI,CAAG;;;8BAGW,CAAC,CAAC,EAAE,EAAE,CAClB,CAAC,CAAC,aAAa,IAAI,SAAS,CAAC,qBAAqB,CAAC;;kBAEnD,oBAAoB;;aAEzB,CACF;YACC,IAAI,CACJ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,IAAI,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC,QAAQ,EACjD,IAAI,CAAG;;;;;8BAKW,CAAC,CAAC,EAAE,EAAE,CAClB,CAAC,CAAC,aAAa,IAAI,SAAS,CAAC,qBAAqB,CAAC;0BAC3C,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACjB,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,KAAmB,CAAC;;;4CAGjB,WAAW;;aAE1C,CACF;;UAED,IAAI,CACJ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,EACnB,IAAI,CAAG;;oBAEG,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,WAAW,OAAO;;;gBAGlC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,IAAI,SAAS,CAAC,sBAAsB,CAAC;;WAEjE,CACF;UACC,IAAI,CACJ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EAClB,IAAI,CAAG;;WAEN,CACF;;;GAGN,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAoC,kBAAkB,EAAE,CAAC"}
@@ -0,0 +1,6 @@
1
+ export { DynamicTab } from "./dynamic-tab.js";
2
+ export { DynamicTabEventNames } from "./dynamic-tab.options.js";
3
+ export { template as DynamicTabTemplate } from "./dynamic-tab.template.js";
4
+ export { styles as DynamicTabStyles } from "./dynamic-tab.styles.js";
5
+ export { definition as DynamicTabDefinition } from "./dynamic-tab.definition.js";
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/dynamic-tab/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,QAAQ,IAAI,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,MAAM,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,UAAU,IAAI,oBAAoB,EAAE,MAAM,6BAA6B,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { DesignSystem } from "../design-system.js";
2
+ import { definition } from "./dynamic-tab-list.definition.js";
3
+ import { definition as PopoverDefinition } from "../popover/popover.definition.js";
4
+ import { definition as MenuListDefinition } from "../menu-list/menu-list.definition.js";
5
+ import { definition as MenuItemDefinition } from "../menu-item/menu-item.definition.js";
6
+ // Ensure popover is registered for context menu support
7
+ PopoverDefinition.define(DesignSystem.registry);
8
+ // Ensure menu components are registered for built-in manage tabs menu
9
+ MenuListDefinition.define(DesignSystem.registry);
10
+ MenuItemDefinition.define(DesignSystem.registry);
11
+ definition.define(DesignSystem.registry);
12
+ //# sourceMappingURL=define.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"define.js","sourceRoot":"","sources":["../../../../src/components/dynamic-tab-list/define.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACnF,OAAO,EAAE,UAAU,IAAI,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,EAAE,UAAU,IAAI,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAExF,wDAAwD;AACxD,iBAAiB,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;AAEhD,sEAAsE;AACtE,kBAAkB,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;AACjD,kBAAkB,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;AAEjD,UAAU,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { DesignSystem } from '../design-system.js';
2
+ import { DynamicTabList } from './dynamic-tab-list.js';
3
+ import { styles } from './dynamic-tab-list.styles.js';
4
+ import { template } from './dynamic-tab-list.template.js';
5
+
6
+ /**
7
+ * The Fabric DynamicTabList component definition.
8
+ * @public
9
+ */
10
+ const definition = DynamicTabList.compose({
11
+ name: `${DesignSystem.prefix}-dynamic-tab-list`,
12
+ template,
13
+ styles,
14
+ shadowOptions: {
15
+ mode: DesignSystem.shadowRootMode
16
+ }
17
+ });
18
+
19
+ export { definition };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic-tab-list.definition.js","sourceRoot":"","sources":["../../../../src/components/dynamic-tab-list/dynamic-tab-list.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE1D;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,cAAc,CAAC,OAAO,CAAC;IAC/C,IAAI,EAAE,GAAG,YAAY,CAAC,MAAM,mBAAmB;IAC/C,QAAQ;IACR,MAAM;IACN,aAAa,EAAE;QACb,IAAI,EAAE,YAAY,CAAC,cAAc;KAClC;CACF,CAAC,CAAC"}