@spteck/react-controls-v2 2.2.9 → 2.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 (116) hide show
  1. package/dist/{_arrayEach-C1tEfwuf.cjs → _arrayEach-DBvjR1ge.cjs} +2 -2
  2. package/dist/{_arrayEach-fGqRlCyO.js → _arrayEach-DKae2bvp.js} +2 -2
  3. package/dist/abstractions/IBrandCenterFonts.d.ts +104 -0
  4. package/dist/abstractions/index.d.ts +1 -0
  5. package/dist/{arc-Dmex32Y3.js → arc-BxA6Yg5_.js} +2 -2
  6. package/dist/{arc-BsTGPkOv.cjs → arc-iq0incG2.cjs} +2 -2
  7. package/dist/{architecture-7HQA4BMR-D-JUpfv2.cjs → architecture-7HQA4BMR-BV5Wih0x.cjs} +2 -2
  8. package/dist/architecture-7HQA4BMR-ClndFXiy.js +6 -0
  9. package/dist/{architectureDiagram-VXUJARFQ-m76uAue3.js → architectureDiagram-VXUJARFQ-Qlis18u8.js} +4 -4
  10. package/dist/{architectureDiagram-VXUJARFQ-5N3v38H6.cjs → architectureDiagram-VXUJARFQ-idhniCOT.cjs} +2 -2
  11. package/dist/{blockDiagram-VD42YOAC-CHzXueeV.cjs → blockDiagram-VD42YOAC-3JpJsqTW.cjs} +2 -2
  12. package/dist/{blockDiagram-VD42YOAC-B9QYuu4-.js → blockDiagram-VD42YOAC-DBPKc5Mp.js} +5 -5
  13. package/dist/{c4Diagram-YG6GDRKO-iexWVdvg.cjs → c4Diagram-YG6GDRKO-bFh-ym0I.cjs} +2 -2
  14. package/dist/{c4Diagram-YG6GDRKO-CHYgqqKU.js → c4Diagram-YG6GDRKO-bZ0lq-1j.js} +3 -3
  15. package/dist/channel-COiQ5BLW.cjs +2 -0
  16. package/dist/{channel-DXAQDLwD.js → channel-o3CxcuKH.js} +2 -2
  17. package/dist/{chunk-4BX2VUAB-BXPEWM4v.cjs → chunk-4BX2VUAB-ChffNeve.cjs} +2 -2
  18. package/dist/{chunk-4BX2VUAB-Dyyfm0Ev.js → chunk-4BX2VUAB-FrHmkgoD.js} +2 -2
  19. package/dist/{chunk-55IACEB6-BT45QRAL.js → chunk-55IACEB6-B20avCOS.js} +2 -2
  20. package/dist/{chunk-55IACEB6-Jetcw_EW.cjs → chunk-55IACEB6-CWMSWgS5.cjs} +2 -2
  21. package/dist/{chunk-B4BG7PRW-Ch90yrVP.js → chunk-B4BG7PRW-1JkjmMxQ.js} +5 -5
  22. package/dist/{chunk-B4BG7PRW-B40lpD4u.cjs → chunk-B4BG7PRW-DHxN3AGv.cjs} +2 -2
  23. package/dist/{chunk-DI55MBZ5-VyZHqIi6.cjs → chunk-DI55MBZ5-BHiUtZoK.cjs} +2 -2
  24. package/dist/{chunk-DI55MBZ5-DhGF3fLf.js → chunk-DI55MBZ5-Cekk--Cm.js} +4 -4
  25. package/dist/{chunk-FMBD7UC4-BdpnoLlH.cjs → chunk-FMBD7UC4-AWB24rK9.cjs} +2 -2
  26. package/dist/{chunk-FMBD7UC4-D-_AaTdB.js → chunk-FMBD7UC4-Bgpu0FwP.js} +2 -2
  27. package/dist/{chunk-QN33PNHL-C4o-iG6b.cjs → chunk-QN33PNHL-BDQd2juq.cjs} +2 -2
  28. package/dist/{chunk-QN33PNHL-MWm9cKm9.js → chunk-QN33PNHL-GOKY5hea.js} +2 -2
  29. package/dist/{chunk-QZHKN3VN-M9jZA-_0.js → chunk-QZHKN3VN-DXRnlHEw.js} +2 -2
  30. package/dist/{chunk-QZHKN3VN-BEa6rMyw.cjs → chunk-QZHKN3VN-DrSljM5O.cjs} +2 -2
  31. package/dist/{chunk-TZMSLE5B-yjrJt8l6.js → chunk-TZMSLE5B-BERoVTPQ.js} +2 -2
  32. package/dist/{chunk-TZMSLE5B-DWdCVOuC.cjs → chunk-TZMSLE5B-CxGg52ib.cjs} +2 -2
  33. package/dist/{classDiagram-2ON5EDUG-BWC7fi2y.cjs → classDiagram-2ON5EDUG-BPjkW57C.cjs} +2 -2
  34. package/dist/{classDiagram-2ON5EDUG-kkm1d0Ec.js → classDiagram-2ON5EDUG-DPTzQt7M.js} +3 -3
  35. package/dist/{classDiagram-v2-WZHVMYZB-BWC7fi2y.cjs → classDiagram-v2-WZHVMYZB-BPjkW57C.cjs} +2 -2
  36. package/dist/{classDiagram-v2-WZHVMYZB-kkm1d0Ec.js → classDiagram-v2-WZHVMYZB-DPTzQt7M.js} +3 -3
  37. package/dist/components/fluentUIProvider/FluentUIProvider.d.ts +1 -0
  38. package/dist/components/typographyControl/ITypographyControlProps.d.ts +8 -0
  39. package/dist/{cose-bilkent-S5V4N54A-x9X5mn4K.js → cose-bilkent-S5V4N54A-BCPhea22.js} +2 -2
  40. package/dist/{cose-bilkent-S5V4N54A-DgOwFH0K.cjs → cose-bilkent-S5V4N54A-C6osVExR.cjs} +2 -2
  41. package/dist/{dagre-6UL2VRFP-D_hTpwOB.cjs → dagre-6UL2VRFP-D6NU_G7J.cjs} +2 -2
  42. package/dist/{dagre-6UL2VRFP-ibyIZfUp.js → dagre-6UL2VRFP-DF87v2SP.js} +2 -2
  43. package/dist/{diagram-PSM6KHXK-z3Y9AprZ.cjs → diagram-PSM6KHXK-BpcNw66L.cjs} +2 -2
  44. package/dist/{diagram-PSM6KHXK-Q9NgNe8o.js → diagram-PSM6KHXK-DMBrza7v.js} +5 -5
  45. package/dist/{diagram-QEK2KX5R-BLchgLmv.cjs → diagram-QEK2KX5R-Bokx4-2m.cjs} +2 -2
  46. package/dist/{diagram-QEK2KX5R-OsqxFl0h.js → diagram-QEK2KX5R-DXPwxq0x.js} +4 -4
  47. package/dist/{diagram-S2PKOQOG-CqeYbnuS.cjs → diagram-S2PKOQOG-5Lk7Jvxw.cjs} +2 -2
  48. package/dist/{diagram-S2PKOQOG-BC9NwYgd.js → diagram-S2PKOQOG-BML4CSFv.js} +4 -4
  49. package/dist/{erDiagram-Q2GNP2WA-jIQeurKr.cjs → erDiagram-Q2GNP2WA-C0YzWGzs.cjs} +2 -2
  50. package/dist/{erDiagram-Q2GNP2WA-B-eaqwvq.js → erDiagram-Q2GNP2WA-DtyOHj8U.js} +5 -5
  51. package/dist/{flowDiagram-NV44I4VS-CdCMIlK5.js → flowDiagram-NV44I4VS-8LGULBMT.js} +6 -6
  52. package/dist/{flowDiagram-NV44I4VS-C47SiL0X.cjs → flowDiagram-NV44I4VS-D9Ha29xd.cjs} +2 -2
  53. package/dist/{ganttDiagram-JELNMOA3-vb6AQd02.js → ganttDiagram-JELNMOA3-BTIJYy7v.js} +3 -3
  54. package/dist/{ganttDiagram-JELNMOA3-DDVuwY4W.cjs → ganttDiagram-JELNMOA3-BfA1s6s8.cjs} +2 -2
  55. package/dist/gitGraph-G5XIXVHT-4SUZU9x4.js +6 -0
  56. package/dist/{gitGraph-G5XIXVHT-CKzHDhsY.cjs → gitGraph-G5XIXVHT-CJquxsrP.cjs} +2 -2
  57. package/dist/{gitGraphDiagram-V2S2FVAM-BqY8pDgy.js → gitGraphDiagram-V2S2FVAM-BDuvfgFm.js} +5 -5
  58. package/dist/{gitGraphDiagram-V2S2FVAM-hlj399uM.cjs → gitGraphDiagram-V2S2FVAM-DgaiLSV0.cjs} +2 -2
  59. package/dist/hooks/index.d.ts +1 -0
  60. package/dist/hooks/useBrandCenterFonts.d.ts +51 -0
  61. package/dist/{index-DJk4ulHC.cjs → index-DBmfYPjr.cjs} +33 -33
  62. package/dist/{index-CbcFuj9M.js → index-r6bYN_1a.js} +390 -156
  63. package/dist/index.cjs +1 -1
  64. package/dist/index.d.ts +1 -1
  65. package/dist/index.js +127 -126
  66. package/dist/info-VBDWY6EO-ChLOw2tm.js +6 -0
  67. package/dist/{info-VBDWY6EO-9X8AdoEF.cjs → info-VBDWY6EO-hYQZ7BB0.cjs} +2 -2
  68. package/dist/{infoDiagram-HS3SLOUP-DyfpjuzS.cjs → infoDiagram-HS3SLOUP-CbvZczcy.cjs} +2 -2
  69. package/dist/{infoDiagram-HS3SLOUP-DP2VLsY-.js → infoDiagram-HS3SLOUP-FP_yig69.js} +3 -3
  70. package/dist/{journeyDiagram-XKPGCS4Q-BrpoNQi7.cjs → journeyDiagram-XKPGCS4Q-CEFFFkKd.cjs} +2 -2
  71. package/dist/{journeyDiagram-XKPGCS4Q-BNn1v93E.js → journeyDiagram-XKPGCS4Q-CiJ6zb1i.js} +5 -5
  72. package/dist/{kanban-definition-3W4ZIXB7-DsDr4V91.js → kanban-definition-3W4ZIXB7-CGmr8XfQ.js} +3 -3
  73. package/dist/{kanban-definition-3W4ZIXB7-CiEMOmQi.cjs → kanban-definition-3W4ZIXB7-DCwMWi3p.cjs} +2 -2
  74. package/dist/{linear-Blr2ekhu.cjs → linear-D8E_synt.cjs} +2 -2
  75. package/dist/{linear-DAHIhSar.js → linear-DnGQibMg.js} +2 -2
  76. package/dist/{maplibre-gl-DeSNllw3.js → maplibre-gl-dCwYGQU4.js} +2 -2
  77. package/dist/{maplibre-gl-BQqSWBPe.cjs → maplibre-gl-pYF_ngpG.cjs} +2 -2
  78. package/dist/{mermaid-parser.core-CR7Y1vup.js → mermaid-parser.core-CWz1o5JP.js} +10 -10
  79. package/dist/{mermaid-parser.core-BuMOgr6X.cjs → mermaid-parser.core-DDF0ccOL.cjs} +2 -2
  80. package/dist/{mindmap-definition-VGOIOE7T-B4VQwzgG.js → mindmap-definition-VGOIOE7T-C5MXjRc9.js} +4 -4
  81. package/dist/{mindmap-definition-VGOIOE7T-C_eSO1Q4.cjs → mindmap-definition-VGOIOE7T-FjKtYkWd.cjs} +2 -2
  82. package/dist/{packet-DYOGHKS2-Ddr-SLGV.cjs → packet-DYOGHKS2-D1v8Vy1g.cjs} +2 -2
  83. package/dist/packet-DYOGHKS2-gRUdnnSs.js +6 -0
  84. package/dist/pie-VRWISCQL-Bvcic2Eu.js +6 -0
  85. package/dist/{pie-VRWISCQL-DtnBB1w-.cjs → pie-VRWISCQL-DmeMueEW.cjs} +2 -2
  86. package/dist/{pieDiagram-ADFJNKIX-S7SIeHFo.js → pieDiagram-ADFJNKIX-6fWPR7Ls.js} +5 -5
  87. package/dist/{pieDiagram-ADFJNKIX-a4mtcQnJ.cjs → pieDiagram-ADFJNKIX-Cvyyoe7M.cjs} +2 -2
  88. package/dist/{quadrantDiagram-AYHSOK5B-BPfgjGIs.js → quadrantDiagram-AYHSOK5B-BgXQivu3.js} +3 -3
  89. package/dist/{quadrantDiagram-AYHSOK5B-DJMkcsWJ.cjs → quadrantDiagram-AYHSOK5B-CwDe4KwO.cjs} +2 -2
  90. package/dist/{radar-ZZBFDIW7-CN1hcgaI.cjs → radar-ZZBFDIW7-DO0muZs0.cjs} +2 -2
  91. package/dist/radar-ZZBFDIW7-DkPYS2s4.js +6 -0
  92. package/dist/{requirementDiagram-UZGBJVZJ-y0sF8TYJ.js → requirementDiagram-UZGBJVZJ-CeIJ08b_.js} +4 -4
  93. package/dist/{requirementDiagram-UZGBJVZJ-CAEdMpvr.cjs → requirementDiagram-UZGBJVZJ-z39KmEdg.cjs} +2 -2
  94. package/dist/{sankeyDiagram-TZEHDZUN-CtFCYRol.cjs → sankeyDiagram-TZEHDZUN-B9TuJmd0.cjs} +2 -2
  95. package/dist/{sankeyDiagram-TZEHDZUN-BRZB1Uq8.js → sankeyDiagram-TZEHDZUN-DmMl4azI.js} +2 -2
  96. package/dist/{sequenceDiagram-WL72ISMW-4r46tcRN.js → sequenceDiagram-WL72ISMW-CcjLhIox.js} +4 -4
  97. package/dist/{sequenceDiagram-WL72ISMW-OX2w_Zht.cjs → sequenceDiagram-WL72ISMW-ChX1PErX.cjs} +2 -2
  98. package/dist/{stateDiagram-FKZM4ZOC-DALk4OQJ.cjs → stateDiagram-FKZM4ZOC-DNXrTtku.cjs} +2 -2
  99. package/dist/{stateDiagram-FKZM4ZOC-JWQkzxH5.js → stateDiagram-FKZM4ZOC-zQUhlqIe.js} +3 -3
  100. package/dist/{stateDiagram-v2-4FDKWEC3-Bcy1aHD4.cjs → stateDiagram-v2-4FDKWEC3-BEegnVik.cjs} +2 -2
  101. package/dist/{stateDiagram-v2-4FDKWEC3-B3POd5n9.js → stateDiagram-v2-4FDKWEC3-Dtg323pE.js} +3 -3
  102. package/dist/{timeline-definition-IT6M3QCI-JN2ygzcm.js → timeline-definition-IT6M3QCI-Cf4OkFlr.js} +3 -3
  103. package/dist/{timeline-definition-IT6M3QCI-Bb4SBqEG.cjs → timeline-definition-IT6M3QCI-Do30fWDV.cjs} +2 -2
  104. package/dist/{treemap-GDKQZRPO-C3QNzml-.cjs → treemap-GDKQZRPO-BecKu0FE.cjs} +2 -2
  105. package/dist/treemap-GDKQZRPO-CoIiWGS-.js +6 -0
  106. package/dist/{xychartDiagram-PRI3JC2R-DAJn-wuW.cjs → xychartDiagram-PRI3JC2R-haWlXFUn.cjs} +2 -2
  107. package/dist/{xychartDiagram-PRI3JC2R-By2URTOH.js → xychartDiagram-PRI3JC2R-zMeDgcPs.js} +3 -3
  108. package/package.json +1 -1
  109. package/dist/architecture-7HQA4BMR-BjyUqxbO.js +0 -6
  110. package/dist/channel-6enABKt4.cjs +0 -2
  111. package/dist/gitGraph-G5XIXVHT-CPs_79uz.js +0 -6
  112. package/dist/info-VBDWY6EO-p0bWpiwf.js +0 -6
  113. package/dist/packet-DYOGHKS2-DI-plIHY.js +0 -6
  114. package/dist/pie-VRWISCQL-Qd3F_fCR.js +0 -6
  115. package/dist/radar-ZZBFDIW7-YZW41C8u.js +0 -6
  116. package/dist/treemap-GDKQZRPO-fUH0ukVs.js +0 -6
@@ -603,6 +603,235 @@ ${message.input}`;
603
603
  // Expose for debugging
604
604
  };
605
605
  };
606
+ const injectedFontFaces = /* @__PURE__ */ new Set();
607
+ function injectFontFaces(font) {
608
+ font.fontFaces.forEach((face) => {
609
+ var _a3, _b2;
610
+ const key = `${font.name}|${face.fontWeight}|${face.fontStyle}`;
611
+ if (injectedFontFaces.has(key)) return;
612
+ const ext = (_b2 = (_a3 = face.url.split(".").pop()) == null ? void 0 : _a3.split("?")[0]) == null ? void 0 : _b2.toLowerCase();
613
+ const formatMap = {
614
+ woff2: "woff2",
615
+ woff: "woff",
616
+ ttf: "truetype",
617
+ otf: "opentype",
618
+ eot: "embedded-opentype"
619
+ };
620
+ const format2 = ext && formatMap[ext] || "woff2";
621
+ const css2 = `@font-face {
622
+ font-family: "${font.name}";
623
+ src: url("${face.url}") format("${format2}");
624
+ font-weight: ${face.fontWeight};
625
+ font-style: ${face.fontStyle};
626
+ font-display: swap;
627
+ }`;
628
+ const style = document.createElement("style");
629
+ style.setAttribute("data-brand-font", font.name);
630
+ style.textContent = css2;
631
+ document.head.appendChild(style);
632
+ injectedFontFaces.add(key);
633
+ });
634
+ }
635
+ function extractConfigData(data) {
636
+ if (!data) return void 0;
637
+ if (data.d) return data.d;
638
+ if (data.BrandFontLibraryUrl || data.SiteUrl) return data;
639
+ return void 0;
640
+ }
641
+ const FONT_EXTENSIONS = /* @__PURE__ */ new Set(["woff2", "woff", "ttf", "otf", "eot"]);
642
+ const WEIGHT_MAP = {
643
+ thin: 100,
644
+ hairline: 100,
645
+ extralight: 200,
646
+ ultralight: 200,
647
+ light: 300,
648
+ regular: 400,
649
+ normal: 400,
650
+ medium: 500,
651
+ semibold: 600,
652
+ demibold: 600,
653
+ bold: 700,
654
+ extrabold: 800,
655
+ ultrabold: 800,
656
+ black: 900,
657
+ heavy: 900
658
+ };
659
+ function parseFontFaceMetadata(fontFacesValue, fileName) {
660
+ const source = (fontFacesValue == null ? void 0 : fontFacesValue.trim()) || fileName.replace(/\.[^.]+$/, "");
661
+ const lower2 = source.toLowerCase();
662
+ const isItalic = lower2.includes("italic") || lower2.includes("oblique");
663
+ const cleaned = lower2.replace(/italic|oblique/gi, "").trim().replace(/[\s_-]+/g, "");
664
+ let fontWeight = WEIGHT_MAP[cleaned] ?? 400;
665
+ if (fontWeight === 400 && cleaned !== "regular" && cleaned !== "normal" && cleaned !== "") {
666
+ for (const [token2, weight] of Object.entries(WEIGHT_MAP)) {
667
+ if (cleaned.includes(token2)) {
668
+ fontWeight = weight;
669
+ break;
670
+ }
671
+ }
672
+ }
673
+ return { fontWeight, fontStyle: isItalic ? "italic" : "normal" };
674
+ }
675
+ const FIELD_FONT_FAMILY = "_SPFontFamilyName";
676
+ const FIELD_FONT_FACES = "_SPFontFaces";
677
+ const FIELD_FONT_VISIBLE = "_spFontVisible";
678
+ const FLUENT_UI_DEFAULT_FONTS = [
679
+ {
680
+ id: "fluent-base",
681
+ name: "'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",
682
+ isDefault: true,
683
+ fontFaces: []
684
+ },
685
+ {
686
+ id: "fluent-monospace",
687
+ name: "'Cascadia Code', 'Cascadia Mono', Consolas, 'Courier New', monospace",
688
+ isDefault: false,
689
+ fontFaces: []
690
+ },
691
+ {
692
+ id: "fluent-numeric",
693
+ name: "'Bahnschrift', 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",
694
+ isDefault: false,
695
+ fontFaces: []
696
+ }
697
+ ];
698
+ const useBrandCenterFonts = (options = {}) => {
699
+ var _a3, _b2;
700
+ const { siteUrl, disabled, fonts: staticFonts } = options;
701
+ const context = useApplicationContext();
702
+ const { warn, error: logError } = useLogging();
703
+ const [fonts, setFonts] = useState(staticFonts ?? []);
704
+ const [loading, setLoading] = useState(!disabled && !staticFonts);
705
+ const [error, setError] = useState();
706
+ const [isBrandCenterAvailable, setIsBrandCenterAvailable] = useState(false);
707
+ const fetchedRef = useRef(false);
708
+ const fetchFonts = useCallback(async () => {
709
+ var _a4, _b3, _c2, _d2, _e3, _f2, _g2;
710
+ if (disabled) return;
711
+ const baseUrl = siteUrl ?? ((_b3 = (_a4 = context == null ? void 0 : context.pageContext) == null ? void 0 : _a4.web) == null ? void 0 : _b3.absoluteUrl);
712
+ if (!baseUrl) {
713
+ const msg = "useBrandCenterFonts: no siteUrl provided and pageContext.web.absoluteUrl is not available.";
714
+ warn(msg);
715
+ setError(msg);
716
+ setLoading(false);
717
+ return;
718
+ }
719
+ setLoading(true);
720
+ setError(void 0);
721
+ try {
722
+ const configEndpoint = `${baseUrl}/_api/SP.BrandCenter/Configuration`;
723
+ const spFetch = async (url) => {
724
+ if (context == null ? void 0 : context.graphClient) {
725
+ return context.graphClient.get(url);
726
+ }
727
+ const headers = {
728
+ Accept: "application/json;odata=nometadata"
729
+ };
730
+ if (context == null ? void 0 : context.authProvider) {
731
+ const token2 = await context.authProvider.getAccessToken([
732
+ `${new URL(baseUrl).origin}/.default`
733
+ ]);
734
+ headers.Authorization = `Bearer ${token2}`;
735
+ }
736
+ const res = await fetch(url, {
737
+ credentials: (context == null ? void 0 : context.authProvider) ? void 0 : "include",
738
+ headers
739
+ });
740
+ if (!res.ok) throw new Error(`SharePoint REST returned ${res.status}: ${url}`);
741
+ return await res.json();
742
+ };
743
+ const configData = await spFetch(configEndpoint);
744
+ const config2 = extractConfigData(configData);
745
+ const rawLibUrl = config2 == null ? void 0 : config2.BrandFontLibraryUrl;
746
+ const fontLibraryFullUrl = typeof rawLibUrl === "string" ? rawLibUrl : rawLibUrl == null ? void 0 : rawLibUrl.DecodedUrl;
747
+ const featureEnabled = (config2 == null ? void 0 : config2.IsBrandCenterSiteFeatureEnabled) === true || String(config2 == null ? void 0 : config2.IsBrandCenterSiteFeatureEnabled).toLowerCase() === "true";
748
+ if (!fontLibraryFullUrl || !featureEnabled) {
749
+ warn("useBrandCenterFonts: Brand Center is not configured for this tenant — using Fluent UI 9 defaults.");
750
+ setIsBrandCenterAvailable(false);
751
+ setFonts(FLUENT_UI_DEFAULT_FONTS);
752
+ setLoading(false);
753
+ return;
754
+ }
755
+ const rawSiteUrl = config2 == null ? void 0 : config2.SiteUrl;
756
+ const brandSiteUrl = typeof rawSiteUrl === "string" ? rawSiteUrl : (rawSiteUrl == null ? void 0 : rawSiteUrl.DecodedUrl) ?? baseUrl;
757
+ const siteOrigin = new URL(brandSiteUrl).origin;
758
+ const libraryServerRelUrl = fontLibraryFullUrl.startsWith("http") ? new URL(fontLibraryFullUrl).pathname : fontLibraryFullUrl;
759
+ const itemsEndpoint = `${brandSiteUrl}/_api/web/GetList('${encodeURIComponent(libraryServerRelUrl)}')/items?$select=Id,FileLeafRef,FileRef,${FIELD_FONT_FAMILY},${FIELD_FONT_FACES},${FIELD_FONT_VISIBLE},File/Name,File/ServerRelativeUrl&$expand=File&$top=5000`;
760
+ const itemsData = await spFetch(itemsEndpoint);
761
+ const items = ((_c2 = itemsData.d) == null ? void 0 : _c2.results) ?? itemsData.value ?? [];
762
+ const familyMap = /* @__PURE__ */ new Map();
763
+ for (const item of items) {
764
+ const fileName = ((_d2 = item.File) == null ? void 0 : _d2.Name) ?? item.FileLeafRef ?? "";
765
+ const ext = ((_e3 = fileName.split(".").pop()) == null ? void 0 : _e3.toLowerCase()) ?? "";
766
+ if (!FONT_EXTENSIONS.has(ext)) continue;
767
+ if (item[FIELD_FONT_VISIBLE] === false) continue;
768
+ const familyName = item[FIELD_FONT_FAMILY] ?? fileName.replace(/\.[^.]+$/, "").split(/[-_]/)[0] ?? fileName;
769
+ const existing = familyMap.get(familyName);
770
+ if (existing) {
771
+ existing.items.push(item);
772
+ } else {
773
+ familyMap.set(familyName, { items: [item] });
774
+ }
775
+ }
776
+ const brandFonts = [];
777
+ for (const [familyName, group] of familyMap) {
778
+ const fontFaces = [];
779
+ for (const item of group.items) {
780
+ const fileName = ((_f2 = item.File) == null ? void 0 : _f2.Name) ?? item.FileLeafRef ?? "";
781
+ const fileRef = ((_g2 = item.File) == null ? void 0 : _g2.ServerRelativeUrl) ?? item.FileRef ?? "";
782
+ if (!fileRef) continue;
783
+ const fontFacesValue = item[FIELD_FONT_FACES];
784
+ const { fontWeight, fontStyle } = parseFontFaceMetadata(fontFacesValue, fileName);
785
+ const url = `${siteOrigin}${fileRef}`;
786
+ fontFaces.push({ url, fontWeight, fontStyle });
787
+ }
788
+ if (fontFaces.length > 0) {
789
+ brandFonts.push({
790
+ id: familyName,
791
+ name: familyName,
792
+ isDefault: false,
793
+ fontFaces
794
+ });
795
+ }
796
+ }
797
+ if (brandFonts.length > 0 && !brandFonts.some((f2) => f2.isDefault)) {
798
+ brandFonts[0].isDefault = true;
799
+ }
800
+ brandFonts.forEach(injectFontFaces);
801
+ setFonts(brandFonts);
802
+ setIsBrandCenterAvailable(true);
803
+ } catch (e2) {
804
+ const message = e2 instanceof Error ? e2.message : String(e2);
805
+ logError("useBrandCenterFonts: failed to load fonts — falling back to Fluent UI 9 defaults", e2 instanceof Error ? e2 : void 0);
806
+ setError(message);
807
+ setIsBrandCenterAvailable(false);
808
+ setFonts(FLUENT_UI_DEFAULT_FONTS);
809
+ } finally {
810
+ setLoading(false);
811
+ }
812
+ }, [disabled, siteUrl, (_b2 = (_a3 = context == null ? void 0 : context.pageContext) == null ? void 0 : _a3.web) == null ? void 0 : _b2.absoluteUrl, context == null ? void 0 : context.graphClient, context == null ? void 0 : context.authProvider]);
813
+ useEffect(() => {
814
+ if (staticFonts) {
815
+ staticFonts.forEach(injectFontFaces);
816
+ return;
817
+ }
818
+ if (!fetchedRef.current && !disabled) {
819
+ fetchedRef.current = true;
820
+ fetchFonts();
821
+ }
822
+ }, [fetchFonts, staticFonts, disabled]);
823
+ const defaultFont = fonts.find((f2) => f2.isDefault);
824
+ const fontFamilyNames = fonts.map((f2) => f2.name);
825
+ return {
826
+ fonts,
827
+ fontFamilyNames,
828
+ defaultFont,
829
+ loading,
830
+ error,
831
+ isBrandCenterAvailable,
832
+ refresh: fetchFonts
833
+ };
834
+ };
606
835
  const useComponentUtils = () => {
607
836
  const getCacheKey = React.useCallback((key, uniqueId) => {
608
837
  return `${key}${uniqueId}`;
@@ -6170,6 +6399,7 @@ const fontWeightMap = {
6170
6399
  const TypographyControl = (props) => {
6171
6400
  const {
6172
6401
  fontSize,
6402
+ fontFamily,
6173
6403
  fontWeight,
6174
6404
  numberOfLines,
6175
6405
  as,
@@ -6206,6 +6436,7 @@ const TypographyControl = (props) => {
6206
6436
  });
6207
6437
  const inlineStyle = {
6208
6438
  ...style,
6439
+ ...fontFamily ? { fontFamily } : {},
6209
6440
  ...fontSize ? { fontSize: fontSizeMap[fontSize] ? fontSizeMap[fontSize] : fontSize } : {},
6210
6441
  ...fontWeight ? {
6211
6442
  fontWeight: fontWeightMap[fontWeight] ? fontWeightMap[fontWeight] : fontWeight
@@ -13280,7 +13511,7 @@ function _Map(props, ref) {
13280
13511
  const mapLib = props.mapLib;
13281
13512
  let isMounted = true;
13282
13513
  let maplibre;
13283
- Promise.resolve(mapLib || import("./maplibre-gl-DeSNllw3.js").then((n2) => n2.m)).then((module2) => {
13514
+ Promise.resolve(mapLib || import("./maplibre-gl-dCwYGQU4.js").then((n2) => n2.m)).then((module2) => {
13284
13515
  if (!isMounted) {
13285
13516
  return;
13286
13517
  }
@@ -50575,12 +50806,12 @@ var registerDefaultLayoutLoaders = /* @__PURE__ */ __name(() => {
50575
50806
  registerLayoutLoaders([
50576
50807
  {
50577
50808
  name: "dagre",
50578
- loader: /* @__PURE__ */ __name(async () => await import("./dagre-6UL2VRFP-ibyIZfUp.js"), "loader")
50809
+ loader: /* @__PURE__ */ __name(async () => await import("./dagre-6UL2VRFP-DF87v2SP.js"), "loader")
50579
50810
  },
50580
50811
  ...[
50581
50812
  {
50582
50813
  name: "cose-bilkent",
50583
- loader: /* @__PURE__ */ __name(async () => await import("./cose-bilkent-S5V4N54A-x9X5mn4K.js"), "loader")
50814
+ loader: /* @__PURE__ */ __name(async () => await import("./cose-bilkent-S5V4N54A-BCPhea22.js"), "loader")
50584
50815
  }
50585
50816
  ]
50586
50817
  ]);
@@ -50990,7 +51221,7 @@ var detector = /* @__PURE__ */ __name((txt) => {
50990
51221
  return /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(txt);
50991
51222
  }, "detector");
50992
51223
  var loader = /* @__PURE__ */ __name(async () => {
50993
- const { diagram: diagram2 } = await import("./c4Diagram-YG6GDRKO-CHYgqqKU.js");
51224
+ const { diagram: diagram2 } = await import("./c4Diagram-YG6GDRKO-bZ0lq-1j.js");
50994
51225
  return { id, diagram: diagram2 };
50995
51226
  }, "loader");
50996
51227
  var plugin = {
@@ -51008,7 +51239,7 @@ var detector2 = /* @__PURE__ */ __name((txt, config2) => {
51008
51239
  return /^\s*graph/.test(txt);
51009
51240
  }, "detector");
51010
51241
  var loader2 = /* @__PURE__ */ __name(async () => {
51011
- const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-CdCMIlK5.js");
51242
+ const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-8LGULBMT.js");
51012
51243
  return { id: id2, diagram: diagram2 };
51013
51244
  }, "loader");
51014
51245
  var plugin2 = {
@@ -51032,7 +51263,7 @@ var detector3 = /* @__PURE__ */ __name((txt, config2) => {
51032
51263
  return /^\s*flowchart/.test(txt);
51033
51264
  }, "detector");
51034
51265
  var loader3 = /* @__PURE__ */ __name(async () => {
51035
- const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-CdCMIlK5.js");
51266
+ const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-8LGULBMT.js");
51036
51267
  return { id: id3, diagram: diagram2 };
51037
51268
  }, "loader");
51038
51269
  var plugin3 = {
@@ -51046,7 +51277,7 @@ var detector4 = /* @__PURE__ */ __name((txt) => {
51046
51277
  return /^\s*erDiagram/.test(txt);
51047
51278
  }, "detector");
51048
51279
  var loader4 = /* @__PURE__ */ __name(async () => {
51049
- const { diagram: diagram2 } = await import("./erDiagram-Q2GNP2WA-B-eaqwvq.js");
51280
+ const { diagram: diagram2 } = await import("./erDiagram-Q2GNP2WA-DtyOHj8U.js");
51050
51281
  return { id: id4, diagram: diagram2 };
51051
51282
  }, "loader");
51052
51283
  var plugin4 = {
@@ -51060,7 +51291,7 @@ var detector5 = /* @__PURE__ */ __name((txt) => {
51060
51291
  return /^\s*gitGraph/.test(txt);
51061
51292
  }, "detector");
51062
51293
  var loader5 = /* @__PURE__ */ __name(async () => {
51063
- const { diagram: diagram2 } = await import("./gitGraphDiagram-V2S2FVAM-BqY8pDgy.js");
51294
+ const { diagram: diagram2 } = await import("./gitGraphDiagram-V2S2FVAM-BDuvfgFm.js");
51064
51295
  return { id: id5, diagram: diagram2 };
51065
51296
  }, "loader");
51066
51297
  var plugin5 = {
@@ -51074,7 +51305,7 @@ var detector6 = /* @__PURE__ */ __name((txt) => {
51074
51305
  return /^\s*gantt/.test(txt);
51075
51306
  }, "detector");
51076
51307
  var loader6 = /* @__PURE__ */ __name(async () => {
51077
- const { diagram: diagram2 } = await import("./ganttDiagram-JELNMOA3-vb6AQd02.js");
51308
+ const { diagram: diagram2 } = await import("./ganttDiagram-JELNMOA3-BTIJYy7v.js");
51078
51309
  return { id: id6, diagram: diagram2 };
51079
51310
  }, "loader");
51080
51311
  var plugin6 = {
@@ -51088,7 +51319,7 @@ var detector7 = /* @__PURE__ */ __name((txt) => {
51088
51319
  return /^\s*info/.test(txt);
51089
51320
  }, "detector");
51090
51321
  var loader7 = /* @__PURE__ */ __name(async () => {
51091
- const { diagram: diagram2 } = await import("./infoDiagram-HS3SLOUP-DP2VLsY-.js");
51322
+ const { diagram: diagram2 } = await import("./infoDiagram-HS3SLOUP-FP_yig69.js");
51092
51323
  return { id: id7, diagram: diagram2 };
51093
51324
  }, "loader");
51094
51325
  var info = {
@@ -51101,7 +51332,7 @@ var detector8 = /* @__PURE__ */ __name((txt) => {
51101
51332
  return /^\s*pie/.test(txt);
51102
51333
  }, "detector");
51103
51334
  var loader8 = /* @__PURE__ */ __name(async () => {
51104
- const { diagram: diagram2 } = await import("./pieDiagram-ADFJNKIX-S7SIeHFo.js");
51335
+ const { diagram: diagram2 } = await import("./pieDiagram-ADFJNKIX-6fWPR7Ls.js");
51105
51336
  return { id: id8, diagram: diagram2 };
51106
51337
  }, "loader");
51107
51338
  var pie = {
@@ -51114,7 +51345,7 @@ var detector9 = /* @__PURE__ */ __name((txt) => {
51114
51345
  return /^\s*quadrantChart/.test(txt);
51115
51346
  }, "detector");
51116
51347
  var loader9 = /* @__PURE__ */ __name(async () => {
51117
- const { diagram: diagram2 } = await import("./quadrantDiagram-AYHSOK5B-BPfgjGIs.js");
51348
+ const { diagram: diagram2 } = await import("./quadrantDiagram-AYHSOK5B-BgXQivu3.js");
51118
51349
  return { id: id9, diagram: diagram2 };
51119
51350
  }, "loader");
51120
51351
  var plugin7 = {
@@ -51128,7 +51359,7 @@ var detector10 = /* @__PURE__ */ __name((txt) => {
51128
51359
  return /^\s*xychart(-beta)?/.test(txt);
51129
51360
  }, "detector");
51130
51361
  var loader10 = /* @__PURE__ */ __name(async () => {
51131
- const { diagram: diagram2 } = await import("./xychartDiagram-PRI3JC2R-By2URTOH.js");
51362
+ const { diagram: diagram2 } = await import("./xychartDiagram-PRI3JC2R-zMeDgcPs.js");
51132
51363
  return { id: id10, diagram: diagram2 };
51133
51364
  }, "loader");
51134
51365
  var plugin8 = {
@@ -51142,7 +51373,7 @@ var detector11 = /* @__PURE__ */ __name((txt) => {
51142
51373
  return /^\s*requirement(Diagram)?/.test(txt);
51143
51374
  }, "detector");
51144
51375
  var loader11 = /* @__PURE__ */ __name(async () => {
51145
- const { diagram: diagram2 } = await import("./requirementDiagram-UZGBJVZJ-y0sF8TYJ.js");
51376
+ const { diagram: diagram2 } = await import("./requirementDiagram-UZGBJVZJ-CeIJ08b_.js");
51146
51377
  return { id: id11, diagram: diagram2 };
51147
51378
  }, "loader");
51148
51379
  var plugin9 = {
@@ -51156,7 +51387,7 @@ var detector12 = /* @__PURE__ */ __name((txt) => {
51156
51387
  return /^\s*sequenceDiagram/.test(txt);
51157
51388
  }, "detector");
51158
51389
  var loader12 = /* @__PURE__ */ __name(async () => {
51159
- const { diagram: diagram2 } = await import("./sequenceDiagram-WL72ISMW-4r46tcRN.js");
51390
+ const { diagram: diagram2 } = await import("./sequenceDiagram-WL72ISMW-CcjLhIox.js");
51160
51391
  return { id: id12, diagram: diagram2 };
51161
51392
  }, "loader");
51162
51393
  var plugin10 = {
@@ -51174,7 +51405,7 @@ var detector13 = /* @__PURE__ */ __name((txt, config2) => {
51174
51405
  return /^\s*classDiagram/.test(txt);
51175
51406
  }, "detector");
51176
51407
  var loader13 = /* @__PURE__ */ __name(async () => {
51177
- const { diagram: diagram2 } = await import("./classDiagram-2ON5EDUG-kkm1d0Ec.js");
51408
+ const { diagram: diagram2 } = await import("./classDiagram-2ON5EDUG-DPTzQt7M.js");
51178
51409
  return { id: id13, diagram: diagram2 };
51179
51410
  }, "loader");
51180
51411
  var plugin11 = {
@@ -51192,7 +51423,7 @@ var detector14 = /* @__PURE__ */ __name((txt, config2) => {
51192
51423
  return /^\s*classDiagram-v2/.test(txt);
51193
51424
  }, "detector");
51194
51425
  var loader14 = /* @__PURE__ */ __name(async () => {
51195
- const { diagram: diagram2 } = await import("./classDiagram-v2-WZHVMYZB-kkm1d0Ec.js");
51426
+ const { diagram: diagram2 } = await import("./classDiagram-v2-WZHVMYZB-DPTzQt7M.js");
51196
51427
  return { id: id14, diagram: diagram2 };
51197
51428
  }, "loader");
51198
51429
  var plugin12 = {
@@ -51210,7 +51441,7 @@ var detector15 = /* @__PURE__ */ __name((txt, config2) => {
51210
51441
  return /^\s*stateDiagram/.test(txt);
51211
51442
  }, "detector");
51212
51443
  var loader15 = /* @__PURE__ */ __name(async () => {
51213
- const { diagram: diagram2 } = await import("./stateDiagram-FKZM4ZOC-JWQkzxH5.js");
51444
+ const { diagram: diagram2 } = await import("./stateDiagram-FKZM4ZOC-zQUhlqIe.js");
51214
51445
  return { id: id15, diagram: diagram2 };
51215
51446
  }, "loader");
51216
51447
  var plugin13 = {
@@ -51231,7 +51462,7 @@ var detector16 = /* @__PURE__ */ __name((txt, config2) => {
51231
51462
  return false;
51232
51463
  }, "detector");
51233
51464
  var loader16 = /* @__PURE__ */ __name(async () => {
51234
- const { diagram: diagram2 } = await import("./stateDiagram-v2-4FDKWEC3-B3POd5n9.js");
51465
+ const { diagram: diagram2 } = await import("./stateDiagram-v2-4FDKWEC3-Dtg323pE.js");
51235
51466
  return { id: id16, diagram: diagram2 };
51236
51467
  }, "loader");
51237
51468
  var plugin14 = {
@@ -51245,7 +51476,7 @@ var detector17 = /* @__PURE__ */ __name((txt) => {
51245
51476
  return /^\s*journey/.test(txt);
51246
51477
  }, "detector");
51247
51478
  var loader17 = /* @__PURE__ */ __name(async () => {
51248
- const { diagram: diagram2 } = await import("./journeyDiagram-XKPGCS4Q-BNn1v93E.js");
51479
+ const { diagram: diagram2 } = await import("./journeyDiagram-XKPGCS4Q-CiJ6zb1i.js");
51249
51480
  return { id: id17, diagram: diagram2 };
51250
51481
  }, "loader");
51251
51482
  var plugin15 = {
@@ -51313,7 +51544,7 @@ var detector18 = /* @__PURE__ */ __name((txt, config2 = {}) => {
51313
51544
  return false;
51314
51545
  }, "detector");
51315
51546
  var loader18 = /* @__PURE__ */ __name(async () => {
51316
- const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-CdCMIlK5.js");
51547
+ const { diagram: diagram2 } = await import("./flowDiagram-NV44I4VS-8LGULBMT.js");
51317
51548
  return { id: id18, diagram: diagram2 };
51318
51549
  }, "loader");
51319
51550
  var plugin16 = {
@@ -51327,7 +51558,7 @@ var detector19 = /* @__PURE__ */ __name((txt) => {
51327
51558
  return /^\s*timeline/.test(txt);
51328
51559
  }, "detector");
51329
51560
  var loader19 = /* @__PURE__ */ __name(async () => {
51330
- const { diagram: diagram2 } = await import("./timeline-definition-IT6M3QCI-JN2ygzcm.js");
51561
+ const { diagram: diagram2 } = await import("./timeline-definition-IT6M3QCI-Cf4OkFlr.js");
51331
51562
  return { id: id19, diagram: diagram2 };
51332
51563
  }, "loader");
51333
51564
  var plugin17 = {
@@ -51341,7 +51572,7 @@ var detector20 = /* @__PURE__ */ __name((txt) => {
51341
51572
  return /^\s*mindmap/.test(txt);
51342
51573
  }, "detector");
51343
51574
  var loader20 = /* @__PURE__ */ __name(async () => {
51344
- const { diagram: diagram2 } = await import("./mindmap-definition-VGOIOE7T-B4VQwzgG.js");
51575
+ const { diagram: diagram2 } = await import("./mindmap-definition-VGOIOE7T-C5MXjRc9.js");
51345
51576
  return { id: id20, diagram: diagram2 };
51346
51577
  }, "loader");
51347
51578
  var plugin18 = {
@@ -51355,7 +51586,7 @@ var detector21 = /* @__PURE__ */ __name((txt) => {
51355
51586
  return /^\s*kanban/.test(txt);
51356
51587
  }, "detector");
51357
51588
  var loader21 = /* @__PURE__ */ __name(async () => {
51358
- const { diagram: diagram2 } = await import("./kanban-definition-3W4ZIXB7-DsDr4V91.js");
51589
+ const { diagram: diagram2 } = await import("./kanban-definition-3W4ZIXB7-CGmr8XfQ.js");
51359
51590
  return { id: id21, diagram: diagram2 };
51360
51591
  }, "loader");
51361
51592
  var plugin19 = {
@@ -51369,7 +51600,7 @@ var detector22 = /* @__PURE__ */ __name((txt) => {
51369
51600
  return /^\s*sankey(-beta)?/.test(txt);
51370
51601
  }, "detector");
51371
51602
  var loader22 = /* @__PURE__ */ __name(async () => {
51372
- const { diagram: diagram2 } = await import("./sankeyDiagram-TZEHDZUN-BRZB1Uq8.js");
51603
+ const { diagram: diagram2 } = await import("./sankeyDiagram-TZEHDZUN-DmMl4azI.js");
51373
51604
  return { id: id22, diagram: diagram2 };
51374
51605
  }, "loader");
51375
51606
  var plugin20 = {
@@ -51383,7 +51614,7 @@ var detector23 = /* @__PURE__ */ __name((txt) => {
51383
51614
  return /^\s*packet(-beta)?/.test(txt);
51384
51615
  }, "detector");
51385
51616
  var loader23 = /* @__PURE__ */ __name(async () => {
51386
- const { diagram: diagram2 } = await import("./diagram-S2PKOQOG-BC9NwYgd.js");
51617
+ const { diagram: diagram2 } = await import("./diagram-S2PKOQOG-BML4CSFv.js");
51387
51618
  return { id: id23, diagram: diagram2 };
51388
51619
  }, "loader");
51389
51620
  var packet = {
@@ -51396,7 +51627,7 @@ var detector24 = /* @__PURE__ */ __name((txt) => {
51396
51627
  return /^\s*radar-beta/.test(txt);
51397
51628
  }, "detector");
51398
51629
  var loader24 = /* @__PURE__ */ __name(async () => {
51399
- const { diagram: diagram2 } = await import("./diagram-QEK2KX5R-OsqxFl0h.js");
51630
+ const { diagram: diagram2 } = await import("./diagram-QEK2KX5R-DXPwxq0x.js");
51400
51631
  return { id: id24, diagram: diagram2 };
51401
51632
  }, "loader");
51402
51633
  var radar = {
@@ -51409,7 +51640,7 @@ var detector25 = /* @__PURE__ */ __name((txt) => {
51409
51640
  return /^\s*block(-beta)?/.test(txt);
51410
51641
  }, "detector");
51411
51642
  var loader25 = /* @__PURE__ */ __name(async () => {
51412
- const { diagram: diagram2 } = await import("./blockDiagram-VD42YOAC-B9QYuu4-.js");
51643
+ const { diagram: diagram2 } = await import("./blockDiagram-VD42YOAC-DBPKc5Mp.js");
51413
51644
  return { id: id25, diagram: diagram2 };
51414
51645
  }, "loader");
51415
51646
  var plugin21 = {
@@ -51423,7 +51654,7 @@ var detector26 = /* @__PURE__ */ __name((txt) => {
51423
51654
  return /^\s*architecture/.test(txt);
51424
51655
  }, "detector");
51425
51656
  var loader26 = /* @__PURE__ */ __name(async () => {
51426
- const { diagram: diagram2 } = await import("./architectureDiagram-VXUJARFQ-m76uAue3.js");
51657
+ const { diagram: diagram2 } = await import("./architectureDiagram-VXUJARFQ-Qlis18u8.js");
51427
51658
  return { id: id26, diagram: diagram2 };
51428
51659
  }, "loader");
51429
51660
  var architecture = {
@@ -51437,7 +51668,7 @@ var detector27 = /* @__PURE__ */ __name((txt) => {
51437
51668
  return /^\s*treemap/.test(txt);
51438
51669
  }, "detector");
51439
51670
  var loader27 = /* @__PURE__ */ __name(async () => {
51440
- const { diagram: diagram2 } = await import("./diagram-PSM6KHXK-Q9NgNe8o.js");
51671
+ const { diagram: diagram2 } = await import("./diagram-PSM6KHXK-DMBrza7v.js");
51441
51672
  return { id: id27, diagram: diagram2 };
51442
51673
  }, "loader");
51443
51674
  var treemap = {
@@ -55015,6 +55246,7 @@ const FluentUIProvider = (props) => {
55015
55246
  applicationName = defaultId,
55016
55247
  targetDocument = document,
55017
55248
  applyStylesToPortals = true,
55249
+ className,
55018
55250
  styles: styles2,
55019
55251
  children: children2
55020
55252
  } = props;
@@ -55024,6 +55256,7 @@ const FluentUIProvider = (props) => {
55024
55256
  theme,
55025
55257
  applyStylesToPortals,
55026
55258
  targetDocument,
55259
+ className,
55027
55260
  style: styles2,
55028
55261
  children: children2
55029
55262
  }
@@ -55124,7 +55357,7 @@ export {
55124
55357
  getUserDefinedConfig as ay,
55125
55358
  createText as az,
55126
55359
  setAccTitle as b,
55127
- useGridStyles as b$,
55360
+ Grid as b$,
55128
55361
  interpolateNumber as b0,
55129
55362
  interpolateRgb as b1,
55130
55363
  interpolateString as b2,
@@ -55135,33 +55368,33 @@ export {
55135
55368
  rgbConvert as b7,
55136
55369
  define as b8,
55137
55370
  extend$1 as b9,
55138
- GenericOverFlowMenu as bA,
55139
- AdaptiveCardHost as bB,
55140
- AdaptiveCardHostThemeType as bC,
55141
- FluentUIProvider as bD,
55142
- EBreakPoints as bE,
55143
- EMessageType as bF,
55144
- useComponentUtils as bG,
55145
- useDateUtils as bH,
55146
- useImageUtils as bI,
55147
- debounce$2 as bJ,
55148
- throttle as bK,
55149
- cloneDeep as bL,
55150
- isEmpty$1 as bM,
55151
- get$2 as bN,
55152
- set$3 as bO,
55153
- uniq as bP,
55154
- uniqBy as bQ,
55155
- groupBy as bR,
55156
- map$1 as bS,
55157
- filter$1 as bT,
55158
- some as bU,
55159
- every as bV,
55160
- ContentType as bW,
55161
- detectContentType as bX,
55162
- getContentType as bY,
55163
- Card as bZ,
55164
- Grid as b_,
55371
+ ItemPicker as bA,
55372
+ GenericOverFlowMenu as bB,
55373
+ AdaptiveCardHost as bC,
55374
+ AdaptiveCardHostThemeType as bD,
55375
+ FluentUIProvider as bE,
55376
+ EBreakPoints as bF,
55377
+ EMessageType as bG,
55378
+ useComponentUtils as bH,
55379
+ useDateUtils as bI,
55380
+ useImageUtils as bJ,
55381
+ debounce$2 as bK,
55382
+ throttle as bL,
55383
+ cloneDeep as bM,
55384
+ isEmpty$1 as bN,
55385
+ get$2 as bO,
55386
+ set$3 as bP,
55387
+ uniq as bQ,
55388
+ uniqBy as bR,
55389
+ groupBy as bS,
55390
+ map$1 as bT,
55391
+ filter$1 as bU,
55392
+ some as bV,
55393
+ every as bW,
55394
+ ContentType as bX,
55395
+ detectContentType as bY,
55396
+ getContentType as bZ,
55397
+ Card as b_,
55165
55398
  Color as ba,
55166
55399
  nogamma as bb,
55167
55400
  hue as bc,
@@ -55187,105 +55420,106 @@ export {
55187
55420
  useIndexedDBCache as bw,
55188
55421
  usePolling as bx,
55189
55422
  useTimeZoneHelper$1 as by,
55190
- ItemPicker as bz,
55423
+ useBrandCenterFonts as bz,
55191
55424
  getConfig2 as c,
55192
- useNavigationStyles as c$,
55193
- Layout as c0,
55194
- LayoutItem as c1,
55195
- useLayoutStyles as c2,
55196
- Space as c3,
55197
- useSpaceStyles as c4,
55198
- Stack$2 as c5,
55199
- StackItem as c6,
55200
- useStackStyles as c7,
55201
- AspectRatio as c8,
55202
- useAspectRatioStyles as c9,
55203
- SelectMonth as cA,
55204
- defaultCalendarMonthStrings as cB,
55205
- CalendarMonth as cC,
55206
- SelectView as cD,
55207
- defaultSelectWeekStrings as cE,
55208
- SelectWeek as cF,
55209
- SelectTime as cG,
55210
- useSelectTimeStyles as cH,
55211
- TIME_RADIO_GROUP as cI,
55212
- formatTime as cJ,
55213
- timeKey as cK,
55214
- OptionTime as cL,
55215
- useOptionTimeStyles as cM,
55216
- DataGrid as cN,
55217
- useDataGridStyles as cO,
55218
- DataGridV2 as cP,
55219
- RenderDialog as cQ,
55220
- RenderDrawer as cR,
55221
- RenderHeader as cS,
55222
- useRenderHeaderStyles as cT,
55223
- ShareDialog as cU,
55224
- ShowError as cV,
55225
- useShowErrorStyles as cW,
55226
- ShowMessage as cX,
55227
- useShowMessageStyles as cY,
55228
- CustomControlBar as cZ,
55229
- Navigation as c_,
55230
- Center as ca,
55231
- useCenterStyles as cb,
55232
- Container$1 as cc,
55233
- Carousel as cd,
55234
- SplitPane as ce,
55235
- useSplitPaneStyles as cf,
55236
- Popup as cg,
55237
- StackV2 as ch,
55238
- RenderLabel as ci,
55239
- RenderSpinner as cj,
55240
- TypographyControl as ck,
55241
- ButtonMenu as cl,
55242
- Breadcrumb as cm,
55243
- IconButton$1 as cn,
55244
- defaultCalendarControlStrings as co,
55245
- CalendarControl as cp,
55246
- ECalendarViews as cq,
55247
- useCalendar as cr,
55248
- useCalendarStyles$1 as cs,
55249
- useDayViewStyles as ct,
55250
- useUtils as cu,
55251
- useWeekViewStyles as cv,
55252
- DropdownField as cw,
55253
- InputField as cx,
55254
- SearchControl as cy,
55255
- SelectDay as cz,
55425
+ Navigation as c$,
55426
+ useGridStyles as c0,
55427
+ Layout as c1,
55428
+ LayoutItem as c2,
55429
+ useLayoutStyles as c3,
55430
+ Space as c4,
55431
+ useSpaceStyles as c5,
55432
+ Stack$2 as c6,
55433
+ StackItem as c7,
55434
+ useStackStyles as c8,
55435
+ AspectRatio as c9,
55436
+ SelectDay as cA,
55437
+ SelectMonth as cB,
55438
+ defaultCalendarMonthStrings as cC,
55439
+ CalendarMonth as cD,
55440
+ SelectView as cE,
55441
+ defaultSelectWeekStrings as cF,
55442
+ SelectWeek as cG,
55443
+ SelectTime as cH,
55444
+ useSelectTimeStyles as cI,
55445
+ TIME_RADIO_GROUP as cJ,
55446
+ formatTime as cK,
55447
+ timeKey as cL,
55448
+ OptionTime as cM,
55449
+ useOptionTimeStyles as cN,
55450
+ DataGrid as cO,
55451
+ useDataGridStyles as cP,
55452
+ DataGridV2 as cQ,
55453
+ RenderDialog as cR,
55454
+ RenderDrawer as cS,
55455
+ RenderHeader as cT,
55456
+ useRenderHeaderStyles as cU,
55457
+ ShareDialog as cV,
55458
+ ShowError as cW,
55459
+ useShowErrorStyles as cX,
55460
+ ShowMessage as cY,
55461
+ useShowMessageStyles as cZ,
55462
+ CustomControlBar as c_,
55463
+ useAspectRatioStyles as ca,
55464
+ Center as cb,
55465
+ useCenterStyles as cc,
55466
+ Container$1 as cd,
55467
+ Carousel as ce,
55468
+ SplitPane as cf,
55469
+ useSplitPaneStyles as cg,
55470
+ Popup as ch,
55471
+ StackV2 as ci,
55472
+ RenderLabel as cj,
55473
+ RenderSpinner as ck,
55474
+ TypographyControl as cl,
55475
+ ButtonMenu as cm,
55476
+ Breadcrumb as cn,
55477
+ IconButton$1 as co,
55478
+ defaultCalendarControlStrings as cp,
55479
+ CalendarControl as cq,
55480
+ ECalendarViews as cr,
55481
+ useCalendar as cs,
55482
+ useCalendarStyles$1 as ct,
55483
+ useDayViewStyles as cu,
55484
+ useUtils as cv,
55485
+ useWeekViewStyles as cw,
55486
+ DropdownField as cx,
55487
+ InputField as cy,
55488
+ SearchControl as cz,
55256
55489
  select as d,
55257
- VideoPlayer as d0,
55258
- useVideoStyles as d1,
55259
- MaplibreWorldMap as d2,
55260
- RenderAdaptiveCard as d3,
55261
- AISearchControl as d4,
55262
- AISearchIcon as d5,
55263
- AISearchIconExample as d6,
55264
- AIAssistant as d7,
55265
- ChatInput as d8,
55266
- ChatInputWithMensionsV1 as d9,
55267
- ChatInputWithMensions as da,
55268
- ChatList as db,
55269
- useStyles$1 as dc,
55270
- Mensions as dd,
55271
- MensionsExample as de,
55272
- useMensionsStyles as df,
55273
- ContentRenderer as dg,
55274
- MarkdownRenderer as dh,
55275
- MermaidDiagram as di,
55276
- useMermaidDiagramStyles as dj,
55277
- LivePersona as dk,
55278
- ListToolbar as dl,
55279
- UserCard as dm,
55280
- StackedUsers as dn,
55281
- ListItemActivityMessage as dp,
55282
- AppDashboard as dq,
55283
- Kpis as dr,
55284
- KPICard as ds,
55285
- KPICardCompact as dt,
55286
- NoKpisCard as du,
55287
- KPICardSkeleton as dv,
55288
- EGoalMetric as dw,
55490
+ useNavigationStyles as d0,
55491
+ VideoPlayer as d1,
55492
+ useVideoStyles as d2,
55493
+ MaplibreWorldMap as d3,
55494
+ RenderAdaptiveCard as d4,
55495
+ AISearchControl as d5,
55496
+ AISearchIcon as d6,
55497
+ AISearchIconExample as d7,
55498
+ AIAssistant as d8,
55499
+ ChatInput as d9,
55500
+ ChatInputWithMensionsV1 as da,
55501
+ ChatInputWithMensions as db,
55502
+ ChatList as dc,
55503
+ useStyles$1 as dd,
55504
+ Mensions as de,
55505
+ MensionsExample as df,
55506
+ useMensionsStyles as dg,
55507
+ ContentRenderer as dh,
55508
+ MarkdownRenderer as di,
55509
+ MermaidDiagram as dj,
55510
+ useMermaidDiagramStyles as dk,
55511
+ LivePersona as dl,
55512
+ ListToolbar as dm,
55513
+ UserCard as dn,
55514
+ StackedUsers as dp,
55515
+ ListItemActivityMessage as dq,
55516
+ AppDashboard as dr,
55517
+ Kpis as ds,
55518
+ KPICard as dt,
55519
+ KPICardCompact as du,
55520
+ NoKpisCard as dv,
55521
+ KPICardSkeleton as dw,
55522
+ EGoalMetric as dx,
55289
55523
  configureSvgSize as e,
55290
55524
  assignWithDepth_default as f,
55291
55525
  getAccDescription as g,
@@ -55309,4 +55543,4 @@ export {
55309
55543
  getEdgeId as y,
55310
55544
  clear$2 as z
55311
55545
  };
55312
- //# sourceMappingURL=index-CbcFuj9M.js.map
55546
+ //# sourceMappingURL=index-r6bYN_1a.js.map