@plumile/ui 0.1.68 → 0.1.69

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 (150) hide show
  1. package/lib/esm/admin/organisms/admin_sidebar/AdminSidebar.js +62 -0
  2. package/lib/esm/admin/organisms/admin_sidebar/AdminSidebar.js.map +1 -0
  3. package/lib/esm/admin/organisms/admin_sidebar/adminSidebar.css.js +17 -0
  4. package/lib/esm/admin/organisms/admin_sidebar/adminSidebar.css.js.map +1 -0
  5. package/lib/esm/{backoffice/organisms/backoffice_topbar/BackofficeTopbar.js → admin/organisms/admin_topbar/AdminTopbar.js} +4 -4
  6. package/lib/esm/admin/organisms/admin_topbar/AdminTopbar.js.map +1 -0
  7. package/lib/esm/admin/organisms/admin_topbar/adminTopbar.css.js +8 -0
  8. package/lib/esm/admin/organisms/admin_topbar/adminTopbar.css.js.map +1 -0
  9. package/lib/esm/admin/templates/admin_shell_layout/AdminShellLayout.js +19 -0
  10. package/lib/esm/admin/templates/admin_shell_layout/AdminShellLayout.js.map +1 -0
  11. package/lib/esm/admin/theme/AdminThemeProvider.js +11 -0
  12. package/lib/esm/admin/theme/AdminThemeProvider.js.map +1 -0
  13. package/lib/esm/admin/theme/adminTheme.css.js +7 -0
  14. package/lib/esm/admin/theme/adminTheme.css.js.map +1 -0
  15. package/lib/esm/atomic/atoms/badge/Badge.js +3 -3
  16. package/lib/esm/atomic/atoms/button/Button.js +1 -1
  17. package/lib/esm/atomic/atoms/checkbox/Checkbox.js +1 -1
  18. package/lib/esm/atomic/atoms/error_message/ErrorMessage.js +1 -1
  19. package/lib/esm/atomic/atoms/formatted-date/FormattedDate.js +4 -4
  20. package/lib/esm/atomic/atoms/label/Label.js +1 -1
  21. package/lib/esm/atomic/atoms/modal/Modal.js +13 -13
  22. package/lib/esm/atomic/molecules/breadcrumb_navigation/BreadcrumbMenuDropdown.js +12 -12
  23. package/lib/esm/atomic/molecules/breadcrumb_navigation/BreadcrumbMenuPopover.js +20 -20
  24. package/lib/esm/atomic/molecules/breadcrumb_navigation/BreadcrumbNavigation.js +14 -14
  25. package/lib/esm/atomic/molecules/card/Card.js +6 -6
  26. package/lib/esm/atomic/molecules/checkbox_field/CheckboxField.js +1 -1
  27. package/lib/esm/atomic/molecules/dropdown/Dropdown.js +80 -80
  28. package/lib/esm/atomic/molecules/dropdown/Dropdown.js.map +1 -1
  29. package/lib/esm/atomic/molecules/form/Form.js +1 -1
  30. package/lib/esm/atomic/molecules/form_error/FormError.js +1 -1
  31. package/lib/esm/atomic/molecules/highlight/HighlightCode.js +25 -25
  32. package/lib/esm/atomic/molecules/markdown/LazyMarkdownRenderer.js +7 -7
  33. package/lib/esm/atomic/molecules/markdown/MarkdownRenderer.js +33 -33
  34. package/lib/esm/atomic/molecules/markdown/MarkdownRenderer.js.map +1 -1
  35. package/lib/esm/atomic/molecules/markdown/components/LazyMarkdownCodeBlock.js +9 -9
  36. package/lib/esm/atomic/molecules/markdown/components/MarkdownCodeBlock.js +7 -7
  37. package/lib/esm/atomic/molecules/markdown/components/MarkdownCodeCopyButton.js +9 -9
  38. package/lib/esm/atomic/molecules/markdown/components/MarkdownFootnotesSection.js +7 -7
  39. package/lib/esm/atomic/molecules/markdown/components/MarkdownMermaidBlock.js +34 -34
  40. package/lib/esm/atomic/molecules/markdown/components/MarkdownShikiCodeBlock.js +4 -4
  41. package/lib/esm/atomic/molecules/profile_dropdown/ProfileDropdown.js +25 -25
  42. package/lib/esm/atomic/molecules/toast/ToastProvider.js +15 -15
  43. package/lib/esm/atomic/molecules/toast/ToastViewport.js +15 -15
  44. package/lib/esm/atomic/organisms/login_form/LoginForm.js +1 -1
  45. package/lib/esm/atomic/organisms/sidebar/NavigationSidebar.js +34 -34
  46. package/lib/esm/atomic/organisms/sidebar/icons.js +13 -13
  47. package/lib/esm/atomic/templates/auth_layout/AuthLayout.js +1 -1
  48. package/lib/esm/backoffice/atoms/copyable_text/CopyableText.js +10 -10
  49. package/lib/esm/backoffice/atoms/shortcut_hint/ShortcutHint.js +6 -6
  50. package/lib/esm/backoffice/atoms/tag/Tag.js +7 -7
  51. package/lib/esm/backoffice/molecules/backoffice_filter_drawer/BackofficeFilterDrawer.js +22 -22
  52. package/lib/esm/backoffice/molecules/backoffice_json_viewer/BackofficeJsonViewer.js +12 -12
  53. package/lib/esm/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.js +11 -11
  54. package/lib/esm/backoffice/molecules/backoffice_relations_menu/BackofficeRelationsMenu.js +12 -12
  55. package/lib/esm/backoffice/molecules/confirm_dialog/ConfirmDialog.js +9 -9
  56. package/lib/esm/backoffice/molecules/global_search_input/GlobalSearchInput.js +5 -5
  57. package/lib/esm/backoffice/molecules/sidebar_collapse_toggle/SidebarCollapseToggle.js +7 -7
  58. package/lib/esm/backoffice/molecules/sidebar_nav_item/SidebarNavItem.js +26 -26
  59. package/lib/esm/backoffice/molecules/sidebar_nav_item/SidebarNavItem.js.map +1 -1
  60. package/lib/esm/backoffice/molecules/sidebar_nav_section/SidebarNavSection.js +11 -11
  61. package/lib/esm/backoffice/organisms/backoffice_data_table/BackofficeDataTable.js +20 -20
  62. package/lib/esm/components/data-table/TableCell.js +17 -17
  63. package/lib/esm/components/data-table/VirtualizedConnectionTable.js +27 -27
  64. package/lib/esm/components/layout/AppShell.js +14 -0
  65. package/lib/esm/components/layout/AppShell.js.map +1 -0
  66. package/lib/esm/components/layout/PageShell.js +65 -65
  67. package/lib/esm/components/layout/PageShell.js.map +1 -1
  68. package/lib/esm/components/layout/SettingsLayout.css.js +8 -0
  69. package/lib/esm/components/layout/SettingsLayout.css.js.map +1 -0
  70. package/lib/esm/{backoffice/templates/settings_template/SettingsTemplate.js → components/layout/SettingsLayout.js} +5 -5
  71. package/lib/esm/components/layout/SettingsLayout.js.map +1 -0
  72. package/lib/esm/components/layout/SplitViewLayout.css.js +8 -0
  73. package/lib/esm/components/layout/SplitViewLayout.css.js.map +1 -0
  74. package/lib/esm/{backoffice/templates/split_view_template/SplitViewTemplate.js → components/layout/SplitViewLayout.js} +5 -5
  75. package/lib/esm/components/layout/SplitViewLayout.js.map +1 -0
  76. package/lib/esm/components/select/SimpleSelect.js +23 -23
  77. package/lib/esm/index.js +105 -104
  78. package/lib/esm/node_modules/react-shiki/dist/chunk-QPJZGYHO.js +23 -23
  79. package/lib/esm/node_modules/react-shiki/dist/chunk-QPJZGYHO.js.map +1 -1
  80. package/lib/esm/style.css +1 -1
  81. package/lib/esm/theme/ThemeProvider.js +11 -11
  82. package/lib/esm/theme/VisuallyHidden.js +3 -3
  83. package/lib/esm/theme/index.js +9 -9
  84. package/lib/types/{backoffice/organisms/backoffice_sidebar/BackofficeSidebar.d.ts → admin/organisms/admin_sidebar/AdminSidebar.d.ts} +7 -7
  85. package/lib/types/admin/organisms/admin_sidebar/AdminSidebar.d.ts.map +1 -0
  86. package/lib/types/{backoffice/organisms/backoffice_sidebar/backofficeSidebar.css.d.ts → admin/organisms/admin_sidebar/adminSidebar.css.d.ts} +1 -1
  87. package/lib/types/admin/organisms/admin_sidebar/adminSidebar.css.d.ts.map +1 -0
  88. package/lib/types/admin/organisms/admin_topbar/AdminTopbar.d.ts +10 -0
  89. package/lib/types/admin/organisms/admin_topbar/AdminTopbar.d.ts.map +1 -0
  90. package/lib/types/{backoffice/organisms/backoffice_topbar/backofficeTopbar.css.d.ts → admin/organisms/admin_topbar/adminTopbar.css.d.ts} +1 -1
  91. package/lib/types/admin/organisms/admin_topbar/adminTopbar.css.d.ts.map +1 -0
  92. package/lib/types/admin/templates/admin_shell_layout/AdminShellLayout.d.ts +14 -0
  93. package/lib/types/admin/templates/admin_shell_layout/AdminShellLayout.d.ts.map +1 -0
  94. package/lib/types/admin/theme/AdminThemeProvider.d.ts +7 -0
  95. package/lib/types/admin/theme/AdminThemeProvider.d.ts.map +1 -0
  96. package/lib/types/admin/theme/adminTheme.css.d.ts +2 -0
  97. package/lib/types/admin/theme/adminTheme.css.d.ts.map +1 -0
  98. package/lib/types/components/layout/AppShell.d.ts +12 -0
  99. package/lib/types/components/layout/AppShell.d.ts.map +1 -0
  100. package/lib/types/{backoffice/templates/settings_template/settingsTemplate.css.d.ts → components/layout/SettingsLayout.css.d.ts} +1 -1
  101. package/lib/types/components/layout/SettingsLayout.css.d.ts.map +1 -0
  102. package/lib/types/components/layout/SettingsLayout.d.ts +11 -0
  103. package/lib/types/components/layout/SettingsLayout.d.ts.map +1 -0
  104. package/lib/types/{backoffice/templates/split_view_template/splitViewTemplate.css.d.ts → components/layout/SplitViewLayout.css.d.ts} +1 -1
  105. package/lib/types/components/layout/SplitViewLayout.css.d.ts.map +1 -0
  106. package/lib/types/components/layout/SplitViewLayout.d.ts +11 -0
  107. package/lib/types/components/layout/SplitViewLayout.d.ts.map +1 -0
  108. package/lib/types/index.d.ts +9 -8
  109. package/lib/types/index.d.ts.map +1 -1
  110. package/package.json +10 -10
  111. package/lib/esm/backoffice/organisms/backoffice_app_shell/BackofficeAppShell.js +0 -14
  112. package/lib/esm/backoffice/organisms/backoffice_app_shell/BackofficeAppShell.js.map +0 -1
  113. package/lib/esm/backoffice/organisms/backoffice_sidebar/BackofficeSidebar.js +0 -62
  114. package/lib/esm/backoffice/organisms/backoffice_sidebar/BackofficeSidebar.js.map +0 -1
  115. package/lib/esm/backoffice/organisms/backoffice_sidebar/backofficeSidebar.css.js +0 -17
  116. package/lib/esm/backoffice/organisms/backoffice_sidebar/backofficeSidebar.css.js.map +0 -1
  117. package/lib/esm/backoffice/organisms/backoffice_topbar/BackofficeTopbar.js.map +0 -1
  118. package/lib/esm/backoffice/organisms/backoffice_topbar/backofficeTopbar.css.js +0 -8
  119. package/lib/esm/backoffice/organisms/backoffice_topbar/backofficeTopbar.css.js.map +0 -1
  120. package/lib/esm/backoffice/templates/backoffice_shell_template/BackofficeShellTemplate.js +0 -19
  121. package/lib/esm/backoffice/templates/backoffice_shell_template/BackofficeShellTemplate.js.map +0 -1
  122. package/lib/esm/backoffice/templates/settings_template/SettingsTemplate.js.map +0 -1
  123. package/lib/esm/backoffice/templates/settings_template/settingsTemplate.css.js +0 -8
  124. package/lib/esm/backoffice/templates/settings_template/settingsTemplate.css.js.map +0 -1
  125. package/lib/esm/backoffice/templates/split_view_template/SplitViewTemplate.js.map +0 -1
  126. package/lib/esm/backoffice/templates/split_view_template/splitViewTemplate.css.js +0 -8
  127. package/lib/esm/backoffice/templates/split_view_template/splitViewTemplate.css.js.map +0 -1
  128. package/lib/esm/backoffice/theme/BackofficeThemeProvider.js +0 -11
  129. package/lib/esm/backoffice/theme/BackofficeThemeProvider.js.map +0 -1
  130. package/lib/esm/backoffice/theme/backofficeTheme.css.js +0 -7
  131. package/lib/esm/backoffice/theme/backofficeTheme.css.js.map +0 -1
  132. package/lib/types/backoffice/organisms/backoffice_app_shell/BackofficeAppShell.d.ts +0 -12
  133. package/lib/types/backoffice/organisms/backoffice_app_shell/BackofficeAppShell.d.ts.map +0 -1
  134. package/lib/types/backoffice/organisms/backoffice_sidebar/BackofficeSidebar.d.ts.map +0 -1
  135. package/lib/types/backoffice/organisms/backoffice_sidebar/backofficeSidebar.css.d.ts.map +0 -1
  136. package/lib/types/backoffice/organisms/backoffice_topbar/BackofficeTopbar.d.ts +0 -10
  137. package/lib/types/backoffice/organisms/backoffice_topbar/BackofficeTopbar.d.ts.map +0 -1
  138. package/lib/types/backoffice/organisms/backoffice_topbar/backofficeTopbar.css.d.ts.map +0 -1
  139. package/lib/types/backoffice/templates/backoffice_shell_template/BackofficeShellTemplate.d.ts +0 -14
  140. package/lib/types/backoffice/templates/backoffice_shell_template/BackofficeShellTemplate.d.ts.map +0 -1
  141. package/lib/types/backoffice/templates/settings_template/SettingsTemplate.d.ts +0 -11
  142. package/lib/types/backoffice/templates/settings_template/SettingsTemplate.d.ts.map +0 -1
  143. package/lib/types/backoffice/templates/settings_template/settingsTemplate.css.d.ts.map +0 -1
  144. package/lib/types/backoffice/templates/split_view_template/SplitViewTemplate.d.ts +0 -11
  145. package/lib/types/backoffice/templates/split_view_template/SplitViewTemplate.d.ts.map +0 -1
  146. package/lib/types/backoffice/templates/split_view_template/splitViewTemplate.css.d.ts.map +0 -1
  147. package/lib/types/backoffice/theme/BackofficeThemeProvider.d.ts +0 -7
  148. package/lib/types/backoffice/theme/BackofficeThemeProvider.d.ts.map +0 -1
  149. package/lib/types/backoffice/theme/backofficeTheme.css.d.ts +0 -2
  150. package/lib/types/backoffice/theme/backofficeTheme.css.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SettingsLayout.js","names":[],"sources":["../../../../src/components/layout/SettingsLayout.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { cx } from '../../theme/tools.js';\nimport * as styles from './SettingsLayout.css.js';\n\nexport type SettingsLayoutProps = {\n nav: ReactNode;\n children: ReactNode;\n className?: string;\n navClassName?: string;\n contentClassName?: string;\n};\n\nexport const SettingsLayout = ({\n nav,\n children,\n className,\n navClassName,\n contentClassName,\n}: SettingsLayoutProps): JSX.Element => {\n return (\n <div className={cx(styles.container, className)}>\n <aside className={cx(styles.sidebar, navClassName)}>{nav}</aside>\n <section className={cx(styles.content, contentClassName)}>\n {children}\n </section>\n </div>\n );\n};\n\nexport default SettingsLayout;\n"],"mappings":";;;;AAaA,IAAa,KAAkB,EAC7B,QACA,aACA,cACA,iBACA,0BAGE,kBAAC,OAAD;CAAK,WAAW,EAAG,GAAkB,EAAU;WAA/C,CACE,kBAAC,SAAD;EAAO,WAAW,EAAG,GAAgB,EAAa;YAAG;EAAY,CAAA,EACjE,kBAAC,WAAD;EAAS,WAAW,EAAG,GAAgB,EAAiB;EACrD;EACO,CAAA,CACN"}
@@ -0,0 +1,8 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ //#region src/components/layout/SplitViewLayout.css.ts
4
+ var e = "_1dcntij0 txvbqb9ix txvbqbaoo txvbqblax txvbqbbxo txvbqbbwr", t = "_1dcntij1 txvbqb1ro txvbqbv2z txvbqb1co txvbqb1qf txvbqbwf txvbqbl6f";
5
+ //#endregion
6
+ export { e as container, t as panel };
7
+
8
+ //# sourceMappingURL=SplitViewLayout.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SplitViewLayout.css.js","names":[],"sources":["../../../../src/components/layout/SplitViewLayout.css.ts"],"sourcesContent":["import { sprinkles } from '../../theme/sprinkles.css.js';\n\nexport const container = sprinkles({\n display: 'grid',\n gap: 4,\n padding: 6,\n gridTemplateColumns: {\n base: 'splitViewSplit',\n lg: 'detailSingle',\n },\n});\n\nexport const panel = sprinkles({\n borderRadius: 'lg',\n backgroundColor: 'background',\n borderWidth: 'default',\n borderStyle: 'solid',\n borderColor: 'border',\n overflow: 'hidden',\n});\n"],"mappings":""}
@@ -1,7 +1,7 @@
1
- import { cx as e } from "../../../theme/tools.js";
2
- import { container as t, panel as n } from "./splitViewTemplate.css.js";
1
+ import { cx as e } from "../../theme/tools.js";
2
+ import { container as t, panel as n } from "./SplitViewLayout.css.js";
3
3
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
4
- //#region src/backoffice/templates/split_view_template/SplitViewTemplate.tsx
4
+ //#region src/components/layout/SplitViewLayout.tsx
5
5
  var a = ({ list: a, detail: o, className: s, listClassName: c, detailClassName: l }) => /* @__PURE__ */ i("div", {
6
6
  className: e(t, s),
7
7
  children: [/* @__PURE__ */ r("div", {
@@ -13,6 +13,6 @@ var a = ({ list: a, detail: o, className: s, listClassName: c, detailClassName:
13
13
  })]
14
14
  });
15
15
  //#endregion
16
- export { a as SplitViewTemplate, a as default };
16
+ export { a as SplitViewLayout, a as default };
17
17
 
18
- //# sourceMappingURL=SplitViewTemplate.js.map
18
+ //# sourceMappingURL=SplitViewLayout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SplitViewLayout.js","names":[],"sources":["../../../../src/components/layout/SplitViewLayout.tsx"],"sourcesContent":["import { type JSX, type ReactNode } from 'react';\n\nimport { cx } from '../../theme/tools.js';\nimport * as styles from './SplitViewLayout.css.js';\n\nexport type SplitViewLayoutProps = {\n list: ReactNode;\n detail: ReactNode;\n className?: string;\n listClassName?: string;\n detailClassName?: string;\n};\n\nexport const SplitViewLayout = ({\n list,\n detail,\n className,\n listClassName,\n detailClassName,\n}: SplitViewLayoutProps): JSX.Element => {\n return (\n <div className={cx(styles.container, className)}>\n <div className={cx(styles.panel, listClassName)}>{list}</div>\n <div className={cx(styles.panel, detailClassName)}>{detail}</div>\n </div>\n );\n};\n\nexport default SplitViewLayout;\n"],"mappings":";;;;AAaA,IAAa,KAAmB,EAC9B,SACA,WACA,cACA,kBACA,yBAGE,kBAAC,OAAD;CAAK,WAAW,EAAG,GAAkB,EAAU;WAA/C,CACE,kBAAC,OAAD;EAAK,WAAW,EAAG,GAAc,EAAc;YAAG;EAAW,CAAA,EAC7D,kBAAC,OAAD;EAAK,WAAW,EAAG,GAAc,EAAgB;YAAG;EAAa,CAAA,CAC7D"}
@@ -2,12 +2,12 @@ import { cx as e } from "../../theme/tools.js";
2
2
  import { useUiTranslation as t } from "../../i18n/useUiTranslation.js";
3
3
  import { ChevronDownSvg as n } from "../../icons/ChevronDownSvg.js";
4
4
  import { actionsContainer as r, container as i, label as a, menu as o, menuOpen as s, menuSeparator as c, optionButton as l, optionDescription as u, optionSelected as d, trigger as f, triggerIcon as ee, triggerIconBrand as te, triggerIconOpen as ne, triggerOpen as re, valueText as ie } from "./SimpleSelect.css.js";
5
- import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
6
- import { useCallback as g, useEffect as _, useId as v, useMemo as y, useRef as b, useState as x } from "react";
5
+ import { useCallback as p, useEffect as m, useId as h, useMemo as g, useRef as _, useState as v } from "react";
6
+ import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
7
7
  //#region src/components/select/SimpleSelect.tsx
8
8
  var S = ({ actionsSlot: S, className: C, isDisabled: w = !1, label: T, onChange: ae, options: E, placeholder: oe, value: D, variant: O = "default" }) => {
9
- let { t: k } = t(), [A, j] = x(!1), M = oe ?? k("common.select.placeholder"), [N, P] = x(-1), F = b(null), I = b(null), L = b(/* @__PURE__ */ new Map()), R = v(), z = y(() => E.find((e) => e.value === D) ?? null, [E, D]);
10
- _(() => {
9
+ let { t: k } = t(), [A, j] = v(!1), M = oe ?? k("common.select.placeholder"), [N, P] = v(-1), F = _(null), I = _(null), L = _(/* @__PURE__ */ new Map()), R = h(), z = g(() => E.find((e) => e.value === D) ?? null, [E, D]);
10
+ m(() => {
11
11
  if (!A) return;
12
12
  let e = E.findIndex((e) => e.value === D), t = 0;
13
13
  e >= 0 && (t = e), P(t);
@@ -15,7 +15,7 @@ var S = ({ actionsSlot: S, className: C, isDisabled: w = !1, label: T, onChange:
15
15
  A,
16
16
  E,
17
17
  D
18
- ]), _(() => {
18
+ ]), m(() => {
19
19
  if (!A || N < 0 || N >= E.length) return;
20
20
  let e = E[N];
21
21
  e != null && L.current.get(e.id)?.focus();
@@ -23,7 +23,7 @@ var S = ({ actionsSlot: S, className: C, isDisabled: w = !1, label: T, onChange:
23
23
  N,
24
24
  A,
25
25
  E
26
- ]), _(() => {
26
+ ]), m(() => {
27
27
  if (!A) return () => {};
28
28
  let e = (e) => {
29
29
  F.current?.contains(e.target) || j(!1);
@@ -33,10 +33,10 @@ var S = ({ actionsSlot: S, className: C, isDisabled: w = !1, label: T, onChange:
33
33
  return document.addEventListener("mousedown", e), window.addEventListener("keydown", t), () => {
34
34
  document.removeEventListener("mousedown", e), window.removeEventListener("keydown", t);
35
35
  };
36
- }, [A]), _(() => {
36
+ }, [A]), m(() => {
37
37
  L.current.clear();
38
38
  }, [E]);
39
- let B = g(() => {
39
+ let B = p(() => {
40
40
  j(!1), requestAnimationFrame(() => {
41
41
  I.current?.focus();
42
42
  });
@@ -88,12 +88,12 @@ var S = ({ actionsSlot: S, className: C, isDisabled: w = !1, label: T, onChange:
88
88
  let r = t.value === D, i = e(l, { [d]: r }), a = -1;
89
89
  N === n && (a = 0);
90
90
  let o = null;
91
- return t.description != null && t.description !== "" && (o = /* @__PURE__ */ m("span", {
91
+ return t.description != null && t.description !== "" && (o = /* @__PURE__ */ b("span", {
92
92
  className: u,
93
93
  children: t.description
94
- })), /* @__PURE__ */ m("li", {
94
+ })), /* @__PURE__ */ b("li", {
95
95
  role: "presentation",
96
- children: /* @__PURE__ */ h("button", {
96
+ children: /* @__PURE__ */ x("button", {
97
97
  ref: K(t.id),
98
98
  type: "button",
99
99
  role: "option",
@@ -106,13 +106,13 @@ var S = ({ actionsSlot: S, className: C, isDisabled: w = !1, label: T, onChange:
106
106
  onMouseEnter: () => {
107
107
  P(n);
108
108
  },
109
- children: [/* @__PURE__ */ m("span", { children: t.label }), o]
109
+ children: [/* @__PURE__ */ b("span", { children: t.label }), o]
110
110
  })
111
111
  }, t.id);
112
112
  }), J;
113
113
  N >= 0 && N < E.length && (J = E[N]?.id);
114
114
  let Y = null;
115
- T != null && (Y = /* @__PURE__ */ m("span", {
115
+ T != null && (Y = /* @__PURE__ */ b("span", {
116
116
  id: q,
117
117
  className: a,
118
118
  children: T
@@ -120,21 +120,21 @@ var S = ({ actionsSlot: S, className: C, isDisabled: w = !1, label: T, onChange:
120
120
  let X;
121
121
  A && (X = R);
122
122
  let Z = null;
123
- S != null && (Z = /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m("li", {
123
+ S != null && (Z = /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("li", {
124
124
  role: "presentation",
125
- children: /* @__PURE__ */ m("div", {
125
+ children: /* @__PURE__ */ b("div", {
126
126
  className: c,
127
127
  role: "separator"
128
128
  })
129
- }), /* @__PURE__ */ m("li", {
129
+ }), /* @__PURE__ */ b("li", {
130
130
  role: "presentation",
131
- children: /* @__PURE__ */ m("div", {
131
+ children: /* @__PURE__ */ b("div", {
132
132
  className: r,
133
133
  children: se()
134
134
  })
135
135
  })] }));
136
136
  let Q = null;
137
- A && (Q = /* @__PURE__ */ h("ul", {
137
+ A && (Q = /* @__PURE__ */ x("ul", {
138
138
  id: R,
139
139
  className: e(o, s),
140
140
  role: "listbox",
@@ -147,12 +147,12 @@ var S = ({ actionsSlot: S, className: C, isDisabled: w = !1, label: T, onChange:
147
147
  [ne]: A,
148
148
  [te]: O === "brand"
149
149
  });
150
- return /* @__PURE__ */ h("div", {
150
+ return /* @__PURE__ */ x("div", {
151
151
  className: e(i, C),
152
152
  ref: F,
153
153
  children: [
154
154
  Y,
155
- /* @__PURE__ */ h("button", {
155
+ /* @__PURE__ */ x("button", {
156
156
  ref: I,
157
157
  type: "button",
158
158
  className: le,
@@ -163,12 +163,12 @@ var S = ({ actionsSlot: S, className: C, isDisabled: w = !1, label: T, onChange:
163
163
  onClick: V,
164
164
  onKeyDown: U,
165
165
  disabled: w,
166
- children: [/* @__PURE__ */ m("span", {
166
+ children: [/* @__PURE__ */ b("span", {
167
167
  className: ie,
168
168
  children: z?.label ?? M
169
- }), /* @__PURE__ */ m("span", {
169
+ }), /* @__PURE__ */ b("span", {
170
170
  className: $,
171
- children: /* @__PURE__ */ m(n, {
171
+ children: /* @__PURE__ */ b(n, {
172
172
  width: 16,
173
173
  height: 16,
174
174
  "aria-hidden": "true"
package/lib/esm/index.js CHANGED
@@ -1,109 +1,110 @@
1
- import { cx as ee, onlyDefinedStyles as te } from "./theme/tools.js";
2
- import { Badge as e } from "./atomic/atoms/badge/Badge.js";
3
- import { Button as t } from "./atomic/atoms/button/Button.js";
4
- import { LinkButton as n } from "./atomic/atoms/button/LinkButton.js";
5
- import { Input as r } from "./atomic/atoms/input/Input.js";
6
- import { Label as i } from "./atomic/atoms/label/Label.js";
7
- import { Checkbox as a } from "./atomic/atoms/checkbox/Checkbox.js";
8
- import { ErrorMessage as o } from "./atomic/atoms/error_message/ErrorMessage.js";
9
- import { FormattedDate as s } from "./atomic/atoms/formatted-date/FormattedDate.js";
10
- import { IconMenuButton as c } from "./atomic/atoms/icon-button/IconMenuButton.js";
11
- import { Overlay as l } from "./atomic/atoms/overlay/Overlay.js";
12
- import { Modal as u } from "./atomic/atoms/modal/Modal.js";
13
- import { Textarea as d } from "./atomic/atoms/textarea/Textarea.js";
14
- import { BreadcrumbNavigation as f } from "./atomic/molecules/breadcrumb_navigation/BreadcrumbNavigation.js";
15
- import { Card as p } from "./atomic/molecules/card/Card.js";
16
- import { CheckboxField as m } from "./atomic/molecules/checkbox_field/CheckboxField.js";
17
- import { EmptyState as h } from "./atomic/molecules/empty-state/EmptyState.js";
18
- import { Form as g } from "./atomic/molecules/form/Form.js";
19
- import { FormErrorBanner as _ } from "./atomic/molecules/form/FormErrorBanner.js";
20
- import { FormGroup as v } from "./atomic/molecules/form/FormGroup.js";
21
- import { FormActions as y } from "./atomic/molecules/form-actions/FormActions.js";
22
- import { FormError as b } from "./atomic/molecules/form_error/FormError.js";
23
- import { FormField as x } from "./atomic/molecules/form_field/FormField.js";
24
- import { HighlightCode as S } from "./atomic/molecules/highlight/HighlightCode.js";
25
- import { LazyMarkdownRenderer as C } from "./atomic/molecules/markdown/LazyMarkdownRenderer.js";
26
- import { colors as w } from "./theme/colors.js";
27
- import { colors as T, spacing as E, vars as D } from "./theme/themeContract.js";
28
- import { MarkdownRenderer as O } from "./atomic/molecules/markdown/MarkdownRenderer.js";
29
- import { markdownFontSizeVar as k, markdownLinkColorVar as A, markdownLinkDisabledColorVar as j, markdownLinkHoverColorVar as M, markdownLinkIconColorVar as N, markdownTextColorVar as P } from "./atomic/molecules/markdown/markdownVars.css.js";
30
- import { ProfileDropdown as F } from "./atomic/molecules/profile_dropdown/ProfileDropdown.js";
31
- import { Tabs as I } from "./atomic/molecules/tabs/Tabs.js";
32
- import { ToastViewport as L } from "./atomic/molecules/toast/ToastViewport.js";
33
- import { ToastProvider as R, useToast as z } from "./atomic/molecules/toast/ToastProvider.js";
34
- import { THEME_KEY as B, ThemeProvider as V, useTheme as H } from "./theme/ThemeProvider.js";
35
- import { VisuallyHidden as U } from "./theme/VisuallyHidden.js";
36
- import { containerQueries as W } from "./theme/containerQueries.js";
37
- import { firstChildSprinkles as G, hoverSprinkles as K, sprinkles as q } from "./theme/sprinkles.css.js";
38
- import { opacity as J, screens as Y, spacing as X } from "./theme/common.js";
1
+ import { THEME_KEY as ee, ThemeProvider as te, useTheme as ne } from "./theme/ThemeProvider.js";
2
+ import { cx as e, onlyDefinedStyles as t } from "./theme/tools.js";
3
+ import { VisuallyHidden as n } from "./theme/VisuallyHidden.js";
4
+ import { containerQueries as r } from "./theme/containerQueries.js";
5
+ import { colors as i, spacing as a, vars as o } from "./theme/themeContract.js";
6
+ import { firstChildSprinkles as s, hoverSprinkles as c, sprinkles as l } from "./theme/sprinkles.css.js";
7
+ import { opacity as u, screens as d, spacing as f } from "./theme/common.js";
8
+ import { colors as p } from "./theme/colors.js";
39
9
  import "./theme/index.js";
40
- import { useLoginForm as Z } from "./atomic/organisms/login_form/useLoginForm.js";
10
+ import { Badge as m } from "./atomic/atoms/badge/Badge.js";
11
+ import { Button as h } from "./atomic/atoms/button/Button.js";
12
+ import { LinkButton as g } from "./atomic/atoms/button/LinkButton.js";
13
+ import { Input as _ } from "./atomic/atoms/input/Input.js";
14
+ import { Label as v } from "./atomic/atoms/label/Label.js";
15
+ import { Checkbox as y } from "./atomic/atoms/checkbox/Checkbox.js";
16
+ import { ErrorMessage as b } from "./atomic/atoms/error_message/ErrorMessage.js";
17
+ import { FormattedDate as x } from "./atomic/atoms/formatted-date/FormattedDate.js";
18
+ import { IconMenuButton as S } from "./atomic/atoms/icon-button/IconMenuButton.js";
19
+ import { Overlay as C } from "./atomic/atoms/overlay/Overlay.js";
20
+ import { Modal as w } from "./atomic/atoms/modal/Modal.js";
21
+ import { Textarea as T } from "./atomic/atoms/textarea/Textarea.js";
22
+ import { Card as E } from "./atomic/molecules/card/Card.js";
23
+ import { BreadcrumbNavigation as D } from "./atomic/molecules/breadcrumb_navigation/BreadcrumbNavigation.js";
24
+ import { FormActions as O } from "./atomic/molecules/form-actions/FormActions.js";
25
+ import { CheckboxField as k } from "./atomic/molecules/checkbox_field/CheckboxField.js";
26
+ import { FormError as A } from "./atomic/molecules/form_error/FormError.js";
27
+ import { FormField as j } from "./atomic/molecules/form_field/FormField.js";
28
+ import { Form as M } from "./atomic/molecules/form/Form.js";
29
+ import { FormErrorBanner as N } from "./atomic/molecules/form/FormErrorBanner.js";
30
+ import { FormGroup as P } from "./atomic/molecules/form/FormGroup.js";
31
+ import { HighlightCode as F } from "./atomic/molecules/highlight/HighlightCode.js";
32
+ import { LazyMarkdownRenderer as I } from "./atomic/molecules/markdown/LazyMarkdownRenderer.js";
33
+ import { MarkdownRenderer as L } from "./atomic/molecules/markdown/MarkdownRenderer.js";
34
+ import { markdownFontSizeVar as R, markdownLinkColorVar as z, markdownLinkDisabledColorVar as B, markdownLinkHoverColorVar as V, markdownLinkIconColorVar as H, markdownTextColorVar as U } from "./atomic/molecules/markdown/markdownVars.css.js";
35
+ import { EmptyState as W } from "./atomic/molecules/empty-state/EmptyState.js";
36
+ import { ProfileDropdown as G } from "./atomic/molecules/profile_dropdown/ProfileDropdown.js";
37
+ import { Tabs as K } from "./atomic/molecules/tabs/Tabs.js";
38
+ import { ToastViewport as q } from "./atomic/molecules/toast/ToastViewport.js";
39
+ import { ToastProvider as J, useToast as Y } from "./atomic/molecules/toast/ToastProvider.js";
40
+ import { useLoginForm as X } from "./atomic/organisms/login_form/useLoginForm.js";
41
+ import { LoginForm as Z } from "./atomic/organisms/login_form/LoginForm.js";
41
42
  import { SidebarContainer as Q } from "./atomic/organisms/sidebar/SidebarContainer.js";
42
43
  import "./atomic/organisms/sidebar/Sidebar.js";
43
- import { ChevronLeftIcon as ne, ChevronRightIcon as re, DocumentationIcon as ie, HomeIcon as ae, InitiativesIcon as oe, PlusIcon as se, ProjectsIcon as ce, SearchIcon as le, SettingsIcon as ue, TasksIcon as de, TeamIcon as fe } from "./atomic/organisms/sidebar/icons.js";
44
- import { NavigationSidebar as pe } from "./atomic/organisms/sidebar/NavigationSidebar.js";
45
- import { AuthLayout as me } from "./atomic/templates/auth_layout/AuthLayout.js";
46
- import { BillingUsageLineChart as he } from "./components/charts/BillingUsageLineChart.js";
47
- import { DataTable as ge } from "./components/data-table/DataTable.js";
48
- import { ContentLayout as _e } from "./components/layout/ContentLayout.js";
49
- import { PageShell as ve } from "./components/layout/PageShell.js";
50
- import { OrganizationLayout as ye } from "./components/organization_layout/OrganizationLayout.js";
51
- import { sanitizeAgentAnswer as be, sanitizeAgentMarkdown as xe } from "./shared/agentText.js";
52
- import { AgentMarkdownCard as Se } from "./components/agent/AgentMarkdownCard.js";
53
- import { SimpleSelect as $ } from "./components/select/SimpleSelect.js";
54
- import { RefetchNeededBanner as Ce } from "./components/subscriptions/RefetchNeededBanner.js";
55
- import { TabsContentLayout as we } from "./components/layout/TabsContentLayout.js";
56
- import { InfoTile as Te } from "./components/tile/InfoTile.js";
57
- import { VirtualizedConnectionTable as Ee } from "./components/data-table/VirtualizedConnectionTable.js";
58
- import { CopyableText as De } from "./backoffice/atoms/copyable_text/CopyableText.js";
59
- import { BackofficeIdBadge as Oe } from "./backoffice/atoms/backoffice_id_badge/BackofficeIdBadge.js";
60
- import { EnvironmentBadge as ke } from "./backoffice/atoms/environment_badge/EnvironmentBadge.js";
61
- import { ShortcutHint as Ae } from "./backoffice/atoms/shortcut_hint/ShortcutHint.js";
62
- import { Skeleton as je } from "./backoffice/atoms/skeleton/Skeleton.js";
63
- import { Spinner as Me } from "./backoffice/atoms/spinner/Spinner.js";
64
- import { StatusBadge as Ne } from "./backoffice/atoms/status_badge/StatusBadge.js";
65
- import { Tag as Pe } from "./backoffice/atoms/tag/Tag.js";
66
- import { BackofficeDetailLayout as Fe } from "./backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.js";
67
- import { BackofficeEmptyState as Ie } from "./backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.js";
68
- import { BackofficeFilterDrawer as Le } from "./backoffice/molecules/backoffice_filter_drawer/BackofficeFilterDrawer.js";
69
- import { BackofficeFilterField as Re } from "./backoffice/molecules/backoffice_filter_field/BackofficeFilterField.js";
70
- import { BackofficeFiltersBar as ze } from "./backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.js";
71
- import { BackofficeFormSection as Be } from "./backoffice/molecules/backoffice_form_section/BackofficeFormSection.js";
72
- import { ConfirmDialog as Ve } from "./backoffice/molecules/confirm_dialog/ConfirmDialog.js";
73
- import { BackofficeJsonViewer as He } from "./backoffice/molecules/backoffice_json_viewer/BackofficeJsonViewer.js";
74
- import { BackofficeKeyValueList as Ue } from "./backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.js";
75
- import { BackofficeLoadMore as We } from "./backoffice/molecules/backoffice_load_more/BackofficeLoadMore.js";
76
- import { BackofficePageHeader as Ge } from "./backoffice/molecules/backoffice_page_header/BackofficePageHeader.js";
77
- import { BackofficeRelationsMenu as Ke } from "./backoffice/molecules/backoffice_relations_menu/BackofficeRelationsMenu.js";
78
- import { BackofficeTableSkeleton as qe } from "./backoffice/molecules/backoffice_table_skeleton/BackofficeTableSkeleton.js";
79
- import { BackofficeTableToolbar as Je } from "./backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.js";
80
- import { BackofficeTabs as Ye } from "./backoffice/molecules/backoffice_tabs/BackofficeTabs.js";
81
- import { BulkActionsBar as Xe } from "./backoffice/molecules/bulk_actions_bar/BulkActionsBar.js";
82
- import { FilterChipRow as Ze } from "./backoffice/molecules/filter_chip_row/FilterChipRow.js";
83
- import { GlobalSearchInput as Qe } from "./backoffice/molecules/global_search_input/GlobalSearchInput.js";
84
- import { InlineBanner as $e } from "./backoffice/molecules/inline_banner/InlineBanner.js";
85
- import { SidebarNavItem as et } from "./backoffice/molecules/sidebar_nav_item/SidebarNavItem.js";
86
- import { SidebarNavSection as tt } from "./backoffice/molecules/sidebar_nav_section/SidebarNavSection.js";
87
- import { BackofficeSidebarProfileMenu as nt } from "./backoffice/molecules/sidebar_profile_menu/BackofficeSidebarProfileMenu.js";
88
- import { SidebarCollapseToggle as rt } from "./backoffice/molecules/sidebar_collapse_toggle/SidebarCollapseToggle.js";
89
- import { TableToolbar as it } from "./backoffice/molecules/table_toolbar/TableToolbar.js";
90
- import { BackofficeAppShell as at } from "./backoffice/organisms/backoffice_app_shell/BackofficeAppShell.js";
91
- import { AuditTimeline as ot } from "./backoffice/organisms/audit_timeline/AuditTimeline.js";
92
- import { BackofficeDataTable as st } from "./backoffice/organisms/backoffice_data_table/BackofficeDataTable.js";
93
- import { BackofficeSidebar as ct } from "./backoffice/organisms/backoffice_sidebar/BackofficeSidebar.js";
94
- import { BackofficeTopbar as lt } from "./backoffice/organisms/backoffice_topbar/BackofficeTopbar.js";
44
+ import { ChevronLeftIcon as re, ChevronRightIcon as ie, DocumentationIcon as ae, HomeIcon as oe, InitiativesIcon as se, PlusIcon as ce, ProjectsIcon as le, SearchIcon as ue, SettingsIcon as de, TasksIcon as fe, TeamIcon as pe } from "./atomic/organisms/sidebar/icons.js";
45
+ import { NavigationSidebar as me } from "./atomic/organisms/sidebar/NavigationSidebar.js";
46
+ import { AuthLayout as he } from "./atomic/templates/auth_layout/AuthLayout.js";
47
+ import { BillingUsageLineChart as ge } from "./components/charts/BillingUsageLineChart.js";
48
+ import { DataTable as _e } from "./components/data-table/DataTable.js";
49
+ import { ContentLayout as ve } from "./components/layout/ContentLayout.js";
50
+ import { PageShell as ye } from "./components/layout/PageShell.js";
51
+ import { AppShell as be } from "./components/layout/AppShell.js";
52
+ import { OrganizationLayout as xe } from "./components/organization_layout/OrganizationLayout.js";
53
+ import { SettingsLayout as Se } from "./components/layout/SettingsLayout.js";
54
+ import { SplitViewLayout as $ } from "./components/layout/SplitViewLayout.js";
55
+ import { sanitizeAgentAnswer as Ce, sanitizeAgentMarkdown as we } from "./shared/agentText.js";
56
+ import { AgentMarkdownCard as Te } from "./components/agent/AgentMarkdownCard.js";
57
+ import { SimpleSelect as Ee } from "./components/select/SimpleSelect.js";
58
+ import { RefetchNeededBanner as De } from "./components/subscriptions/RefetchNeededBanner.js";
59
+ import { TabsContentLayout as Oe } from "./components/layout/TabsContentLayout.js";
60
+ import { InfoTile as ke } from "./components/tile/InfoTile.js";
61
+ import { VirtualizedConnectionTable as Ae } from "./components/data-table/VirtualizedConnectionTable.js";
62
+ import { CopyableText as je } from "./backoffice/atoms/copyable_text/CopyableText.js";
63
+ import { BackofficeIdBadge as Me } from "./backoffice/atoms/backoffice_id_badge/BackofficeIdBadge.js";
64
+ import { EnvironmentBadge as Ne } from "./backoffice/atoms/environment_badge/EnvironmentBadge.js";
65
+ import { Skeleton as Pe } from "./backoffice/atoms/skeleton/Skeleton.js";
66
+ import { Spinner as Fe } from "./backoffice/atoms/spinner/Spinner.js";
67
+ import { StatusBadge as Ie } from "./backoffice/atoms/status_badge/StatusBadge.js";
68
+ import { Tag as Le } from "./backoffice/atoms/tag/Tag.js";
69
+ import { BackofficeDetailLayout as Re } from "./backoffice/molecules/backoffice_detail_layout/BackofficeDetailLayout.js";
70
+ import { BackofficeEmptyState as ze } from "./backoffice/molecules/backoffice_empty_state/BackofficeEmptyState.js";
71
+ import { BackofficeFilterDrawer as Be } from "./backoffice/molecules/backoffice_filter_drawer/BackofficeFilterDrawer.js";
72
+ import { BackofficeFilterField as Ve } from "./backoffice/molecules/backoffice_filter_field/BackofficeFilterField.js";
73
+ import { BackofficeFiltersBar as He } from "./backoffice/molecules/backoffice_filters_bar/BackofficeFiltersBar.js";
74
+ import { BackofficeFormSection as Ue } from "./backoffice/molecules/backoffice_form_section/BackofficeFormSection.js";
75
+ import { ConfirmDialog as We } from "./backoffice/molecules/confirm_dialog/ConfirmDialog.js";
76
+ import { BackofficeJsonViewer as Ge } from "./backoffice/molecules/backoffice_json_viewer/BackofficeJsonViewer.js";
77
+ import { LazyBackofficeJsonViewer as Ke } from "./backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.js";
78
+ import { BackofficeKeyValueList as qe } from "./backoffice/molecules/backoffice_key_value_list/BackofficeKeyValueList.js";
79
+ import { BackofficeLoadMore as Je } from "./backoffice/molecules/backoffice_load_more/BackofficeLoadMore.js";
80
+ import { BackofficePageHeader as Ye } from "./backoffice/molecules/backoffice_page_header/BackofficePageHeader.js";
81
+ import { BackofficeRelationsMenu as Xe } from "./backoffice/molecules/backoffice_relations_menu/BackofficeRelationsMenu.js";
82
+ import { BackofficeTableSkeleton as Ze } from "./backoffice/molecules/backoffice_table_skeleton/BackofficeTableSkeleton.js";
83
+ import { BackofficeTableToolbar as Qe } from "./backoffice/molecules/backoffice_table_toolbar/BackofficeTableToolbar.js";
84
+ import { BackofficeTabs as $e } from "./backoffice/molecules/backoffice_tabs/BackofficeTabs.js";
85
+ import { BulkActionsBar as et } from "./backoffice/molecules/bulk_actions_bar/BulkActionsBar.js";
86
+ import { FilterChipRow as tt } from "./backoffice/molecules/filter_chip_row/FilterChipRow.js";
87
+ import { GlobalSearchInput as nt } from "./backoffice/molecules/global_search_input/GlobalSearchInput.js";
88
+ import { InlineBanner as rt } from "./backoffice/molecules/inline_banner/InlineBanner.js";
89
+ import { SidebarNavItem as it } from "./backoffice/molecules/sidebar_nav_item/SidebarNavItem.js";
90
+ import { SidebarNavSection as at } from "./backoffice/molecules/sidebar_nav_section/SidebarNavSection.js";
91
+ import { BackofficeSidebarProfileMenu as ot } from "./backoffice/molecules/sidebar_profile_menu/BackofficeSidebarProfileMenu.js";
92
+ import { TableToolbar as st } from "./backoffice/molecules/table_toolbar/TableToolbar.js";
93
+ import { AuditTimeline as ct } from "./backoffice/organisms/audit_timeline/AuditTimeline.js";
94
+ import { BackofficeDataTable as lt } from "./backoffice/organisms/backoffice_data_table/BackofficeDataTable.js";
95
95
  import { BackofficeVirtualizedConnectionTable as ut } from "./backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.js";
96
96
  import { EntityHeader as dt } from "./backoffice/organisms/entity_header/EntityHeader.js";
97
- import { BackofficeShellTemplate as ft } from "./backoffice/templates/backoffice_shell_template/BackofficeShellTemplate.js";
98
- import { DetailPageTemplate as pt } from "./backoffice/templates/detail_page_template/DetailPageTemplate.js";
99
- import { ListPageTemplate as mt } from "./backoffice/templates/list_page_template/ListPageTemplate.js";
100
- import { SettingsTemplate as ht } from "./backoffice/templates/settings_template/SettingsTemplate.js";
101
- import { SplitViewTemplate as gt } from "./backoffice/templates/split_view_template/SplitViewTemplate.js";
102
- import { backofficeThemeClass as _t } from "./backoffice/theme/backofficeTheme.css.js";
103
- import { BackofficeThemeProvider as vt } from "./backoffice/theme/BackofficeThemeProvider.js";
104
- import { FALLBACK_REFERENCE as yt, formatNullableCurrency as bt, formatNullableNumber as xt, formatNullableString as St, formatStringList as Ct } from "./shared/agentJobRequestFormatting.js";
105
- import { denseTableClass as wt } from "./shared/backofficeTableDensity.css.js";
106
- import { WrapperPage as Tt } from "./pages/WrapperPage.js";
107
- import { ChevronDownIcon as Et } from "./svg/ChevronDownIcon.js";
108
- import { LoginForm as Dt } from "./atomic/organisms/login_form/LoginForm.js";
109
- export { Se as AgentMarkdownCard, ot as AuditTimeline, me as AuthLayout, at as BackofficeAppShell, st as BackofficeDataTable, Fe as BackofficeDetailLayout, Ie as BackofficeEmptyState, Le as BackofficeFilterDrawer, Re as BackofficeFilterField, ze as BackofficeFiltersBar, Be as BackofficeFormSection, Oe as BackofficeIdBadge, He as BackofficeJsonViewer, Ue as BackofficeKeyValueList, We as BackofficeLoadMore, Ge as BackofficePageHeader, Ke as BackofficeRelationsMenu, ft as BackofficeShellTemplate, ct as BackofficeSidebar, nt as BackofficeSidebarProfileMenu, qe as BackofficeTableSkeleton, Je as BackofficeTableToolbar, Ye as BackofficeTabs, vt as BackofficeThemeProvider, lt as BackofficeTopbar, ut as BackofficeVirtualizedConnectionTable, e as Badge, he as BillingUsageLineChart, f as BreadcrumbNavigation, Xe as BulkActionsBar, t as Button, p as Card, a as Checkbox, m as CheckboxField, Et as ChevronDownIcon, ne as ChevronLeftIcon, re as ChevronRightIcon, Ve as ConfirmDialog, _e as ContentLayout, De as CopyableText, ge as DataTable, pt as DetailPageTemplate, ie as DocumentationIcon, h as EmptyState, dt as EntityHeader, ke as EnvironmentBadge, o as ErrorMessage, yt as FALLBACK_REFERENCE, Ze as FilterChipRow, g as Form, y as FormActions, b as FormError, _ as FormErrorBanner, x as FormField, v as FormGroup, s as FormattedDate, Qe as GlobalSearchInput, S as HighlightCode, ae as HomeIcon, c as IconMenuButton, Te as InfoTile, oe as InitiativesIcon, $e as InlineBanner, r as Input, i as Label, C as LazyMarkdownRenderer, n as LinkButton, mt as ListPageTemplate, Dt as LoginForm, O as MarkdownRenderer, u as Modal, pe as NavigationSidebar, ye as OrganizationLayout, l as Overlay, ve as PageShell, se as PlusIcon, F as ProfileDropdown, ce as ProjectsIcon, Ce as RefetchNeededBanner, le as SearchIcon, ue as SettingsIcon, ht as SettingsTemplate, Ae as ShortcutHint, Q as Sidebar, rt as SidebarCollapseToggle, Q as SidebarContainer, et as SidebarNavItem, tt as SidebarNavSection, $ as SimpleSelect, je as Skeleton, Me as Spinner, gt as SplitViewTemplate, Ne as StatusBadge, B as THEME_KEY, it as TableToolbar, I as Tabs, we as TabsContentLayout, Pe as Tag, de as TasksIcon, fe as TeamIcon, d as Textarea, V as ThemeProvider, R as ToastProvider, L as ToastViewport, Ee as VirtualizedConnectionTable, U as VisuallyHidden, Tt as WrapperPage, _t as backofficeThemeClass, T as colors, W as containerQueries, ee as cx, wt as denseTableClass, G as firstChildSprinkles, bt as formatNullableCurrency, xt as formatNullableNumber, St as formatNullableString, Ct as formatStringList, K as hoverSprinkles, k as markdownFontSizeVar, A as markdownLinkColorVar, j as markdownLinkDisabledColorVar, M as markdownLinkHoverColorVar, N as markdownLinkIconColorVar, P as markdownTextColorVar, te as onlyDefinedStyles, J as opacity, be as sanitizeAgentAnswer, xe as sanitizeAgentMarkdown, Y as screens, E as spacing, q as sprinkles, w as themeColorValues, X as themeSpacingValues, Z as useLoginForm, H as useTheme, z as useToast, D as vars };
97
+ import { DetailPageTemplate as ft } from "./backoffice/templates/detail_page_template/DetailPageTemplate.js";
98
+ import { ListPageTemplate as pt } from "./backoffice/templates/list_page_template/ListPageTemplate.js";
99
+ import { AdminTopbar as mt } from "./admin/organisms/admin_topbar/AdminTopbar.js";
100
+ import { AdminShellLayout as ht } from "./admin/templates/admin_shell_layout/AdminShellLayout.js";
101
+ import { adminThemeClass as gt } from "./admin/theme/adminTheme.css.js";
102
+ import { AdminThemeProvider as _t } from "./admin/theme/AdminThemeProvider.js";
103
+ import { FALLBACK_REFERENCE as vt, formatNullableCurrency as yt, formatNullableNumber as bt, formatNullableString as xt, formatStringList as St } from "./shared/agentJobRequestFormatting.js";
104
+ import { denseTableClass as Ct } from "./shared/backofficeTableDensity.css.js";
105
+ import { WrapperPage as wt } from "./pages/WrapperPage.js";
106
+ import { ChevronDownIcon as Tt } from "./svg/ChevronDownIcon.js";
107
+ import { ShortcutHint as Et } from "./backoffice/atoms/shortcut_hint/ShortcutHint.js";
108
+ import { SidebarCollapseToggle as Dt } from "./backoffice/molecules/sidebar_collapse_toggle/SidebarCollapseToggle.js";
109
+ import { AdminSidebar as Ot } from "./admin/organisms/admin_sidebar/AdminSidebar.js";
110
+ export { ht as AdminShellLayout, Ot as AdminSidebar, _t as AdminThemeProvider, mt as AdminTopbar, Te as AgentMarkdownCard, be as AppShell, ct as AuditTimeline, he as AuthLayout, lt as BackofficeDataTable, Re as BackofficeDetailLayout, ze as BackofficeEmptyState, Be as BackofficeFilterDrawer, Ve as BackofficeFilterField, He as BackofficeFiltersBar, Ue as BackofficeFormSection, Me as BackofficeIdBadge, Ge as BackofficeJsonViewer, qe as BackofficeKeyValueList, Je as BackofficeLoadMore, Ye as BackofficePageHeader, Xe as BackofficeRelationsMenu, ot as BackofficeSidebarProfileMenu, Ze as BackofficeTableSkeleton, Qe as BackofficeTableToolbar, $e as BackofficeTabs, ut as BackofficeVirtualizedConnectionTable, m as Badge, ge as BillingUsageLineChart, D as BreadcrumbNavigation, et as BulkActionsBar, h as Button, E as Card, y as Checkbox, k as CheckboxField, Tt as ChevronDownIcon, re as ChevronLeftIcon, ie as ChevronRightIcon, We as ConfirmDialog, ve as ContentLayout, je as CopyableText, _e as DataTable, ft as DetailPageTemplate, ae as DocumentationIcon, W as EmptyState, dt as EntityHeader, Ne as EnvironmentBadge, b as ErrorMessage, vt as FALLBACK_REFERENCE, tt as FilterChipRow, M as Form, O as FormActions, A as FormError, N as FormErrorBanner, j as FormField, P as FormGroup, x as FormattedDate, nt as GlobalSearchInput, F as HighlightCode, oe as HomeIcon, S as IconMenuButton, ke as InfoTile, se as InitiativesIcon, rt as InlineBanner, _ as Input, v as Label, Ke as LazyBackofficeJsonViewer, I as LazyMarkdownRenderer, g as LinkButton, pt as ListPageTemplate, Z as LoginForm, L as MarkdownRenderer, w as Modal, me as NavigationSidebar, xe as OrganizationLayout, C as Overlay, ye as PageShell, ce as PlusIcon, G as ProfileDropdown, le as ProjectsIcon, De as RefetchNeededBanner, ue as SearchIcon, de as SettingsIcon, Se as SettingsLayout, Et as ShortcutHint, Q as Sidebar, Dt as SidebarCollapseToggle, Q as SidebarContainer, it as SidebarNavItem, at as SidebarNavSection, Ee as SimpleSelect, Pe as Skeleton, Fe as Spinner, $ as SplitViewLayout, Ie as StatusBadge, ee as THEME_KEY, st as TableToolbar, K as Tabs, Oe as TabsContentLayout, Le as Tag, fe as TasksIcon, pe as TeamIcon, T as Textarea, te as ThemeProvider, J as ToastProvider, q as ToastViewport, Ae as VirtualizedConnectionTable, n as VisuallyHidden, wt as WrapperPage, gt as adminThemeClass, i as colors, r as containerQueries, e as cx, Ct as denseTableClass, s as firstChildSprinkles, yt as formatNullableCurrency, bt as formatNullableNumber, xt as formatNullableString, St as formatStringList, c as hoverSprinkles, R as markdownFontSizeVar, z as markdownLinkColorVar, B as markdownLinkDisabledColorVar, V as markdownLinkHoverColorVar, H as markdownLinkIconColorVar, U as markdownTextColorVar, t as onlyDefinedStyles, u as opacity, Ce as sanitizeAgentAnswer, we as sanitizeAgentMarkdown, d as screens, a as spacing, l as sprinkles, p as themeColorValues, f as themeSpacingValues, X as useLoginForm, ne as useTheme, Y as useToast, o as vars };
@@ -3,11 +3,11 @@ import { isSpecialLang as t } from "../../@shikijs/primitive/dist/index.js";
3
3
  import { guessEmbeddedLanguages as n } from "../../@shikijs/core/dist/index.js";
4
4
  import { dequal as r } from "../../dequal/dist/index.js";
5
5
  import i from "../../clsx/dist/clsx.js";
6
- import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
7
- import { forwardRef as c, useEffect as l, useMemo as u, useRef as d, useState as f } from "react";
6
+ import { forwardRef as a, useEffect as o, useMemo as s, useRef as c, useState as l } from "react";
7
+ import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
8
8
  //#region ../../node_modules/react-shiki/dist/chunk-QPJZGYHO.js
9
9
  var p = (e) => {
10
- let t = d(e);
10
+ let t = c(e);
11
11
  return e !== t.current && !r(e, t.current) && (t.current = e), t.current;
12
12
  }, m = (e, t, n) => {
13
13
  let r = Date.now();
@@ -95,16 +95,16 @@ var T = {
95
95
  }, k = (e, t, r) => {
96
96
  let i = r.getBundledLanguages();
97
97
  return n(e, t).flatMap((e) => i[e] ?? []);
98
- }, A = (t, n, r, i = {}, c) => {
99
- let [h, g] = f(null), _ = p(n), v = p(r), y = p(i), { languageId: S, langsToLoad: w } = u(() => x(_, y.customLanguages, y.langAlias, y.preloadLanguages), [
98
+ }, A = (t, n, r, i = {}, a) => {
99
+ let [h, g] = l(null), _ = p(n), v = p(r), y = p(i), { languageId: S, langsToLoad: w } = s(() => x(_, y.customLanguages, y.langAlias, y.preloadLanguages), [
100
100
  _,
101
101
  y.customLanguages,
102
102
  y.preloadLanguages,
103
103
  y.langAlias
104
- ]), T = u(() => C(v), [v]), { themesToLoad: E } = T, D = d({
104
+ ]), T = s(() => C(v), [v]), { themesToLoad: E } = T, D = c({
105
105
  nextAllowedTime: 0,
106
106
  timeoutId: void 0
107
- }), A = u(() => O({
107
+ }), A = s(() => O({
108
108
  languageId: S,
109
109
  resolvedTheme: T,
110
110
  options: y
@@ -113,22 +113,22 @@ var T = {
113
113
  T,
114
114
  y
115
115
  ]);
116
- return l(() => {
116
+ return o(() => {
117
117
  let n = !0, r = async () => {
118
118
  if (!S) return;
119
- let r = y.highlighter ? y.highlighter : await c(w, E, y.engine);
119
+ let r = y.highlighter ? y.highlighter : await a(w, E, y.engine);
120
120
  if (!y.highlighter) {
121
121
  let e = k(t, S, r);
122
122
  e.length > 0 && await r.loadLanguage(...e);
123
123
  }
124
- let i = b(S, r.getLoadedLanguages()), l = {
124
+ let i = b(S, r.getLoadedLanguages()), o = {
125
125
  ...A,
126
126
  lang: i
127
127
  };
128
- n && g(y.outputFormat === "html" ? r.codeToHtml(t, l) : e(r.codeToHast(t, l), {
129
- jsx: o,
130
- jsxs: s,
131
- Fragment: a
128
+ n && g(y.outputFormat === "html" ? r.codeToHtml(t, o) : e(r.codeToHast(t, o), {
129
+ jsx: d,
130
+ jsxs: f,
131
+ Fragment: u
132
132
  }));
133
133
  }, { delay: i } = y;
134
134
  return i ? m(r, D, i) : r().catch(console.error), () => {
@@ -149,30 +149,30 @@ function j(e, { insertAt: t } = {}) {
149
149
  r.type = "text/css", t === "top" && n.firstChild ? n.insertBefore(r, n.firstChild) : n.appendChild(r), r.styleSheet ? r.styleSheet.cssText = e : r.appendChild(document.createTextNode(e));
150
150
  }
151
151
  j(".relative {\n position: relative;\n}\n.defaultStyles pre {\n overflow: auto;\n border-radius: 0.5rem;\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n.languageLabel {\n position: absolute;\n right: 0.75rem;\n top: 0.5rem;\n font-family: monospace;\n font-size: 0.75rem;\n letter-spacing: -0.05em;\n color: rgba(107, 114, 128, 0.85);\n}\n.line-numbers::before {\n counter-increment: line-number;\n content: counter(line-number);\n display: inline-flex;\n justify-content: flex-end;\n align-items: flex-start;\n box-sizing: content-box;\n min-width: var(--line-numbers-width, 2ch);\n padding-left: var(--line-numbers-padding-left, 2ch);\n padding-right: var(--line-numbers-padding-right, 2ch);\n color: var(--line-numbers-foreground, rgba(107, 114, 128, 0.6));\n font-size: var(--line-numbers-font-size, inherit);\n font-weight: var(--line-numbers-font-weight, inherit);\n line-height: var(--line-numbers-line-height, inherit);\n font-family: var(--line-numbers-font-family, inherit);\n opacity: var(--line-numbers-opacity, 1);\n user-select: none;\n pointer-events: none;\n}\n.has-line-numbers {\n counter-reset: line-number calc(var(--line-start, 1) - 1);\n --line-numbers-foreground: rgba(107, 114, 128, 0.5);\n --line-numbers-width: 2ch;\n --line-numbers-padding-left: 0ch;\n --line-numbers-padding-right: 2ch;\n --line-numbers-font-size: inherit;\n --line-numbers-font-weight: inherit;\n --line-numbers-line-height: inherit;\n --line-numbers-font-family: inherit;\n --line-numbers-opacity: 1;\n}\n");
152
- var M = (e) => c(({ language: t, theme: n, delay: r, transformers: a, defaultColor: c, cssVariablePrefix: l, addDefaultStyles: u = !0, style: d, langStyle: f, className: p, langClassName: m, showLanguage: h = !0, showLineNumbers: g = !1, startingLineNumber: _ = 1, children: v, as: y = "pre", customLanguages: b, preloadLanguages: x, ...S }, C) => {
152
+ var M = (e) => a(({ language: t, theme: n, delay: r, transformers: a, defaultColor: o, cssVariablePrefix: s, addDefaultStyles: c = !0, style: l, langStyle: u, className: p, langClassName: m, showLanguage: h = !0, showLineNumbers: g = !1, startingLineNumber: _ = 1, children: v, as: y = "pre", customLanguages: b, preloadLanguages: x, ...S }, C) => {
153
153
  let w = {
154
154
  delay: r,
155
155
  transformers: a,
156
156
  customLanguages: b,
157
157
  preloadLanguages: x,
158
158
  showLineNumbers: g,
159
- defaultColor: c,
160
- cssVariablePrefix: l,
159
+ defaultColor: o,
160
+ cssVariablePrefix: s,
161
161
  startingLineNumber: _,
162
162
  ...S
163
163
  }, T = typeof t == "object" ? t.name || null : t?.trim() || null, E = e(v, t, n, w), D = typeof E == "string";
164
- return /* @__PURE__ */ s(y, {
164
+ return /* @__PURE__ */ f(y, {
165
165
  ref: C,
166
166
  "data-testid": "shiki-container",
167
- className: i("relative", "not-prose", u && "defaultStyles", p),
168
- style: d,
167
+ className: i("relative", "not-prose", c && "defaultStyles", p),
168
+ style: l,
169
169
  id: "shiki-container",
170
- children: [h && T ? /* @__PURE__ */ o("span", {
170
+ children: [h && T ? /* @__PURE__ */ d("span", {
171
171
  className: i("languageLabel", m),
172
- style: f,
172
+ style: u,
173
173
  id: "language-label",
174
174
  children: T
175
- }) : null, D ? /* @__PURE__ */ o("div", { dangerouslySetInnerHTML: { __html: E } }) : E]
175
+ }) : null, D ? /* @__PURE__ */ d("div", { dangerouslySetInnerHTML: { __html: E } }) : E]
176
176
  });
177
177
  });
178
178
  //#endregion