@burdenoff/fe-libs 2026.510.126

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 (994) hide show
  1. package/README.md +65 -0
  2. package/dist/_virtual/_rolldown/runtime.js +20 -0
  3. package/dist/button/Button.d.ts +12 -0
  4. package/dist/button/Button.d.ts.map +1 -0
  5. package/dist/button/Button.js +39 -0
  6. package/dist/button/index.d.ts +3 -0
  7. package/dist/button/index.d.ts.map +1 -0
  8. package/dist/button.d.ts +2 -0
  9. package/dist/button.js +2 -0
  10. package/dist/chrome/AccountSwitcher.d.ts +51 -0
  11. package/dist/chrome/AccountSwitcher.d.ts.map +1 -0
  12. package/dist/chrome/AccountSwitcher.js +221 -0
  13. package/dist/chrome/AppShellLayout.d.ts +67 -0
  14. package/dist/chrome/AppShellLayout.d.ts.map +1 -0
  15. package/dist/chrome/AppShellLayout.js +32 -0
  16. package/dist/chrome/AutoBreadcrumbs.d.ts +22 -0
  17. package/dist/chrome/AutoBreadcrumbs.d.ts.map +1 -0
  18. package/dist/chrome/AutoBreadcrumbs.js +84 -0
  19. package/dist/chrome/Breadcrumb.d.ts +47 -0
  20. package/dist/chrome/Breadcrumb.d.ts.map +1 -0
  21. package/dist/chrome/Breadcrumbs.d.ts +69 -0
  22. package/dist/chrome/Breadcrumbs.d.ts.map +1 -0
  23. package/dist/chrome/Breadcrumbs.js +78 -0
  24. package/dist/chrome/CommandPalette.d.ts +64 -0
  25. package/dist/chrome/CommandPalette.d.ts.map +1 -0
  26. package/dist/chrome/CommandPalette.js +189 -0
  27. package/dist/chrome/ContextSwitcher.d.ts +48 -0
  28. package/dist/chrome/ContextSwitcher.d.ts.map +1 -0
  29. package/dist/chrome/ContextSwitcher.js +393 -0
  30. package/dist/chrome/DynamicFooter.d.ts +21 -0
  31. package/dist/chrome/DynamicFooter.d.ts.map +1 -0
  32. package/dist/chrome/DynamicFooter.js +142 -0
  33. package/dist/chrome/Footer.d.ts +128 -0
  34. package/dist/chrome/Footer.d.ts.map +1 -0
  35. package/dist/chrome/Footer.js +211 -0
  36. package/dist/chrome/FooterBar.d.ts +79 -0
  37. package/dist/chrome/FooterBar.d.ts.map +1 -0
  38. package/dist/chrome/FooterBar.js +84 -0
  39. package/dist/chrome/GeographySwitcher.d.ts +22 -0
  40. package/dist/chrome/GeographySwitcher.d.ts.map +1 -0
  41. package/dist/chrome/GeographySwitcher.js +162 -0
  42. package/dist/chrome/GlobalSearch.d.ts +49 -0
  43. package/dist/chrome/GlobalSearch.d.ts.map +1 -0
  44. package/dist/chrome/GlobalSearch.js +489 -0
  45. package/dist/chrome/HeaderBar.d.ts +108 -0
  46. package/dist/chrome/HeaderBar.d.ts.map +1 -0
  47. package/dist/chrome/HeaderBar.js +141 -0
  48. package/dist/chrome/LanguagePickerSheet.d.ts +22 -0
  49. package/dist/chrome/LanguagePickerSheet.d.ts.map +1 -0
  50. package/dist/chrome/LanguagePickerSheet.js +57 -0
  51. package/dist/chrome/LanguageSwitcher.d.ts +23 -0
  52. package/dist/chrome/LanguageSwitcher.d.ts.map +1 -0
  53. package/dist/chrome/LanguageSwitcher.js +94 -0
  54. package/dist/chrome/NavLink.d.ts +64 -0
  55. package/dist/chrome/NavLink.d.ts.map +1 -0
  56. package/dist/chrome/NavLink.js +46 -0
  57. package/dist/chrome/NotificationCenter.d.ts +16 -0
  58. package/dist/chrome/NotificationCenter.d.ts.map +1 -0
  59. package/dist/chrome/NotificationCenter.js +697 -0
  60. package/dist/chrome/PanelContainer.d.ts +8 -0
  61. package/dist/chrome/PanelContainer.d.ts.map +1 -0
  62. package/dist/chrome/PanelContainer.js +83 -0
  63. package/dist/chrome/PanelTabs.d.ts +19 -0
  64. package/dist/chrome/PanelTabs.d.ts.map +1 -0
  65. package/dist/chrome/PanelTabs.js +41 -0
  66. package/dist/chrome/PluginContextMenuTarget.d.ts +8 -0
  67. package/dist/chrome/PluginContextMenuTarget.d.ts.map +1 -0
  68. package/dist/chrome/PluginContextMenuTarget.js +71 -0
  69. package/dist/chrome/PluginFooterStrip.d.ts +3 -0
  70. package/dist/chrome/PluginFooterStrip.d.ts.map +1 -0
  71. package/dist/chrome/PluginFooterStrip.js +55 -0
  72. package/dist/chrome/PluginRoutes.d.ts +9 -0
  73. package/dist/chrome/PluginRoutes.d.ts.map +1 -0
  74. package/dist/chrome/PluginRoutes.js +19 -0
  75. package/dist/chrome/PluginSettingsPage.d.ts +3 -0
  76. package/dist/chrome/PluginSettingsPage.d.ts.map +1 -0
  77. package/dist/chrome/PluginSettingsPage.js +57 -0
  78. package/dist/chrome/PluginToolbar.d.ts +9 -0
  79. package/dist/chrome/PluginToolbar.d.ts.map +1 -0
  80. package/dist/chrome/PluginToolbar.js +40 -0
  81. package/dist/chrome/PluginWidgetGrid.d.ts +7 -0
  82. package/dist/chrome/PluginWidgetGrid.d.ts.map +1 -0
  83. package/dist/chrome/PluginWidgetGrid.js +37 -0
  84. package/dist/chrome/ProductPickerSheet.d.ts +24 -0
  85. package/dist/chrome/ProductPickerSheet.d.ts.map +1 -0
  86. package/dist/chrome/ProductPickerSheet.js +75 -0
  87. package/dist/chrome/ProductSideNav.d.ts +22 -0
  88. package/dist/chrome/ProductSideNav.d.ts.map +1 -0
  89. package/dist/chrome/ProductSideNav.js +51 -0
  90. package/dist/chrome/ProductSwitcher.d.ts +29 -0
  91. package/dist/chrome/ProductSwitcher.d.ts.map +1 -0
  92. package/dist/chrome/ProductSwitcher.js +86 -0
  93. package/dist/chrome/ProfileSwitcher.d.ts +49 -0
  94. package/dist/chrome/ProfileSwitcher.d.ts.map +1 -0
  95. package/dist/chrome/ProfileSwitcher.js +226 -0
  96. package/dist/chrome/ShortcutHelpDialog.d.ts +33 -0
  97. package/dist/chrome/ShortcutHelpDialog.d.ts.map +1 -0
  98. package/dist/chrome/ShortcutHelpDialog.js +122 -0
  99. package/dist/chrome/SideNavigation.d.ts +85 -0
  100. package/dist/chrome/SideNavigation.d.ts.map +1 -0
  101. package/dist/chrome/SideNavigation.js +320 -0
  102. package/dist/chrome/Sidebar.d.ts +108 -0
  103. package/dist/chrome/Sidebar.d.ts.map +1 -0
  104. package/dist/chrome/Sidebar.js +104 -0
  105. package/dist/chrome/StatusBar.d.ts +3 -0
  106. package/dist/chrome/StatusBar.d.ts.map +1 -0
  107. package/dist/chrome/StatusBar.js +55 -0
  108. package/dist/chrome/Tabs.d.ts +74 -0
  109. package/dist/chrome/Tabs.d.ts.map +1 -0
  110. package/dist/chrome/Tabs.js +55 -0
  111. package/dist/chrome/index.d.ts +108 -0
  112. package/dist/chrome/index.d.ts.map +1 -0
  113. package/dist/chrome.d.ts +2 -0
  114. package/dist/chrome.js +34 -0
  115. package/dist/config/eslint.config.d.ts +12 -0
  116. package/dist/config/eslint.config.d.ts.map +1 -0
  117. package/dist/config/index.d.ts +19 -0
  118. package/dist/config/index.d.ts.map +1 -0
  119. package/dist/config/prettier.config.d.ts +7 -0
  120. package/dist/config/prettier.config.d.ts.map +1 -0
  121. package/dist/form/Checkbox.d.ts +60 -0
  122. package/dist/form/Checkbox.d.ts.map +1 -0
  123. package/dist/form/Checkbox.js +18 -0
  124. package/dist/form/Form.d.ts +114 -0
  125. package/dist/form/Form.d.ts.map +1 -0
  126. package/dist/form/Form.js +32 -0
  127. package/dist/form/FormDescription.d.ts +33 -0
  128. package/dist/form/FormDescription.d.ts.map +1 -0
  129. package/dist/form/FormDescription.js +17 -0
  130. package/dist/form/FormField.d.ts +96 -0
  131. package/dist/form/FormField.d.ts.map +1 -0
  132. package/dist/form/FormField.js +50 -0
  133. package/dist/form/FormLabel.d.ts +41 -0
  134. package/dist/form/FormLabel.d.ts.map +1 -0
  135. package/dist/form/FormLabel.js +24 -0
  136. package/dist/form/FormMessage.d.ts +35 -0
  137. package/dist/form/FormMessage.d.ts.map +1 -0
  138. package/dist/form/FormMessage.js +20 -0
  139. package/dist/form/Input.d.ts +43 -0
  140. package/dist/form/Input.d.ts.map +1 -0
  141. package/dist/form/Input.js +13 -0
  142. package/dist/form/Radio.d.ts +99 -0
  143. package/dist/form/Radio.d.ts.map +1 -0
  144. package/dist/form/Radio.js +24 -0
  145. package/dist/form/Select.d.ts +101 -0
  146. package/dist/form/Select.d.ts.map +1 -0
  147. package/dist/form/Select.js +69 -0
  148. package/dist/form/Textarea.d.ts +50 -0
  149. package/dist/form/Textarea.d.ts.map +1 -0
  150. package/dist/form/Textarea.js +12 -0
  151. package/dist/form/index.d.ts +24 -0
  152. package/dist/form/index.d.ts.map +1 -0
  153. package/dist/form.d.ts +2 -0
  154. package/dist/form.js +12 -0
  155. package/dist/index.d.ts +2 -0
  156. package/dist/index.d.ts.map +1 -0
  157. package/dist/index.js +4 -0
  158. package/dist/lib/utils.d.ts +3 -0
  159. package/dist/lib/utils.d.ts.map +1 -0
  160. package/dist/lib/utils.js +8 -0
  161. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +51 -0
  162. package/dist/node_modules/@ungap/structured-clone/esm/index.js +6 -0
  163. package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +91 -0
  164. package/dist/node_modules/bail/index.js +6 -0
  165. package/dist/node_modules/comma-separated-tokens/index.js +7 -0
  166. package/dist/node_modules/decode-named-character-reference/index.dom.js +10 -0
  167. package/dist/node_modules/devlop/lib/default.js +5 -0
  168. package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +7 -0
  169. package/dist/node_modules/extend/index.js +40 -0
  170. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +253 -0
  171. package/dist/node_modules/hast-util-whitespace/lib/index.js +10 -0
  172. package/dist/node_modules/html-url-attributes/lib/index.js +36 -0
  173. package/dist/node_modules/inline-style-parser/cjs/index.js +90 -0
  174. package/dist/node_modules/is-plain-obj/index.js +8 -0
  175. package/dist/node_modules/mdast-util-from-markdown/lib/index.js +557 -0
  176. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +103 -0
  177. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +12 -0
  178. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +15 -0
  179. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +22 -0
  180. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +12 -0
  181. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +12 -0
  182. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +30 -0
  183. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +12 -0
  184. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +12 -0
  185. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +21 -0
  186. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +15 -0
  187. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +56 -0
  188. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +17 -0
  189. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +18 -0
  190. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +15 -0
  191. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +59 -0
  192. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +20 -0
  193. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +12 -0
  194. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +10 -0
  195. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +12 -0
  196. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +12 -0
  197. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +24 -0
  198. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +35 -0
  199. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +11 -0
  200. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +12 -0
  201. package/dist/node_modules/mdast-util-to-hast/lib/index.js +19 -0
  202. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +20 -0
  203. package/dist/node_modules/mdast-util-to-hast/lib/state.js +108 -0
  204. package/dist/node_modules/mdast-util-to-string/lib/index.js +24 -0
  205. package/dist/node_modules/micromark/lib/constructs.js +80 -0
  206. package/dist/node_modules/micromark/lib/create-tokenizer.js +177 -0
  207. package/dist/node_modules/micromark/lib/initialize/content.js +34 -0
  208. package/dist/node_modules/micromark/lib/initialize/document.js +102 -0
  209. package/dist/node_modules/micromark/lib/initialize/flow.js +25 -0
  210. package/dist/node_modules/micromark/lib/initialize/text.js +86 -0
  211. package/dist/node_modules/micromark/lib/parse.js +29 -0
  212. package/dist/node_modules/micromark/lib/postprocess.js +8 -0
  213. package/dist/node_modules/micromark/lib/preprocess.js +32 -0
  214. package/dist/node_modules/micromark-core-commonmark/lib/attention.js +114 -0
  215. package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +43 -0
  216. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
  217. package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +38 -0
  218. package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +17 -0
  219. package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +29 -0
  220. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +89 -0
  221. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +43 -0
  222. package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +43 -0
  223. package/dist/node_modules/micromark-core-commonmark/lib/content.js +47 -0
  224. package/dist/node_modules/micromark-core-commonmark/lib/definition.js +60 -0
  225. package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +17 -0
  226. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +67 -0
  227. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +141 -0
  228. package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +100 -0
  229. package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +158 -0
  230. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +23 -0
  231. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +20 -0
  232. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +14 -0
  233. package/dist/node_modules/micromark-core-commonmark/lib/list.js +78 -0
  234. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +59 -0
  235. package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +25 -0
  236. package/dist/node_modules/micromark-factory-destination/index.js +26 -0
  237. package/dist/node_modules/micromark-factory-label/index.js +20 -0
  238. package/dist/node_modules/micromark-factory-space/index.js +14 -0
  239. package/dist/node_modules/micromark-factory-title/index.js +24 -0
  240. package/dist/node_modules/micromark-factory-whitespace/index.js +12 -0
  241. package/dist/node_modules/micromark-util-character/index.js +24 -0
  242. package/dist/node_modules/micromark-util-chunked/index.js +11 -0
  243. package/dist/node_modules/micromark-util-classify-character/index.js +8 -0
  244. package/dist/node_modules/micromark-util-combine-extensions/index.js +26 -0
  245. package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +7 -0
  246. package/dist/node_modules/micromark-util-decode-string/index.js +17 -0
  247. package/dist/node_modules/micromark-util-html-tag-name/index.js +9 -0
  248. package/dist/node_modules/micromark-util-normalize-identifier/index.js +6 -0
  249. package/dist/node_modules/micromark-util-resolve-all/index.js +11 -0
  250. package/dist/node_modules/micromark-util-sanitize-uri/index.js +18 -0
  251. package/dist/node_modules/micromark-util-subtokenize/index.js +35 -0
  252. package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +57 -0
  253. package/dist/node_modules/property-information/index.js +26 -0
  254. package/dist/node_modules/property-information/lib/aria.js +61 -0
  255. package/dist/node_modules/property-information/lib/find.js +31 -0
  256. package/dist/node_modules/property-information/lib/hast-to-react.js +22 -0
  257. package/dist/node_modules/property-information/lib/html.js +316 -0
  258. package/dist/node_modules/property-information/lib/normalize.js +6 -0
  259. package/dist/node_modules/property-information/lib/svg.js +562 -0
  260. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
  261. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
  262. package/dist/node_modules/property-information/lib/util/create.js +14 -0
  263. package/dist/node_modules/property-information/lib/util/defined-info.js +18 -0
  264. package/dist/node_modules/property-information/lib/util/info.js +9 -0
  265. package/dist/node_modules/property-information/lib/util/merge.js +9 -0
  266. package/dist/node_modules/property-information/lib/util/schema.js +9 -0
  267. package/dist/node_modules/property-information/lib/util/types.js +16 -0
  268. package/dist/node_modules/property-information/lib/xlink.js +19 -0
  269. package/dist/node_modules/property-information/lib/xml.js +15 -0
  270. package/dist/node_modules/property-information/lib/xmlns.js +14 -0
  271. package/dist/node_modules/react-error-boundary/dist/react-error-boundary.js +58 -0
  272. package/dist/node_modules/react-markdown/lib/index.js +140 -0
  273. package/dist/node_modules/remark-parse/lib/index.js +16 -0
  274. package/dist/node_modules/remark-rehype/lib/index.js +18 -0
  275. package/dist/node_modules/space-separated-tokens/index.js +6 -0
  276. package/dist/node_modules/style-to-js/cjs/index.js +19 -0
  277. package/dist/node_modules/style-to-js/cjs/utilities.js +18 -0
  278. package/dist/node_modules/style-to-object/cjs/index.js +23 -0
  279. package/dist/node_modules/trim-lines/index.js +21 -0
  280. package/dist/node_modules/trough/lib/index.js +50 -0
  281. package/dist/node_modules/unified/lib/callable-instance.js +9 -0
  282. package/dist/node_modules/unified/lib/index.js +161 -0
  283. package/dist/node_modules/unist-util-is/lib/index.js +47 -0
  284. package/dist/node_modules/unist-util-position/lib/index.js +22 -0
  285. package/dist/node_modules/unist-util-stringify-position/lib/index.js +15 -0
  286. package/dist/node_modules/unist-util-visit/lib/index.js +12 -0
  287. package/dist/node_modules/unist-util-visit-parents/lib/color.js +6 -0
  288. package/dist/node_modules/unist-util-visit-parents/lib/index.js +36 -0
  289. package/dist/node_modules/vfile/lib/index.js +89 -0
  290. package/dist/node_modules/vfile/lib/minpath.browser.js +99 -0
  291. package/dist/node_modules/vfile/lib/minproc.browser.js +7 -0
  292. package/dist/node_modules/vfile/lib/minurl.browser.js +31 -0
  293. package/dist/node_modules/vfile/lib/minurl.shared.js +6 -0
  294. package/dist/node_modules/vfile-message/lib/index.js +24 -0
  295. package/dist/node_modules/web-vitals/dist/web-vitals.js +238 -0
  296. package/dist/shared/components/AccessDenied.d.ts +117 -0
  297. package/dist/shared/components/AccessDenied.d.ts.map +1 -0
  298. package/dist/shared/components/AccessDenied.js +129 -0
  299. package/dist/shared/components/AppErrorBoundary.d.ts +19 -0
  300. package/dist/shared/components/AppErrorBoundary.d.ts.map +1 -0
  301. package/dist/shared/components/AppErrorBoundary.js +221 -0
  302. package/dist/shared/components/ConditionalShell.d.ts +17 -0
  303. package/dist/shared/components/ConditionalShell.d.ts.map +1 -0
  304. package/dist/shared/components/ConditionalShell.js +16 -0
  305. package/dist/shared/components/ContextConversationWidget.d.ts +6 -0
  306. package/dist/shared/components/ContextConversationWidget.d.ts.map +1 -0
  307. package/dist/shared/components/ContextConversationWidget.js +821 -0
  308. package/dist/shared/components/ErrorBoundary.d.ts +19 -0
  309. package/dist/shared/components/ErrorBoundary.d.ts.map +1 -0
  310. package/dist/shared/components/ErrorBoundary.js +90 -0
  311. package/dist/shared/components/ErrorFallback.d.ts +3 -0
  312. package/dist/shared/components/ErrorFallback.d.ts.map +1 -0
  313. package/dist/shared/components/ErrorFallback.js +46 -0
  314. package/dist/shared/components/KeyboardHelpDialogWrapper.d.ts +7 -0
  315. package/dist/shared/components/KeyboardHelpDialogWrapper.d.ts.map +1 -0
  316. package/dist/shared/components/KeyboardHelpDialogWrapper.js +14 -0
  317. package/dist/shared/components/LegalPage.d.ts +19 -0
  318. package/dist/shared/components/LegalPage.d.ts.map +1 -0
  319. package/dist/shared/components/LoadingFallback.d.ts +31 -0
  320. package/dist/shared/components/LoadingFallback.d.ts.map +1 -0
  321. package/dist/shared/components/LoadingFallback.js +46 -0
  322. package/dist/shared/components/MicrofrontendErrorBoundary.d.ts +20 -0
  323. package/dist/shared/components/MicrofrontendErrorBoundary.d.ts.map +1 -0
  324. package/dist/shared/components/MicrofrontendErrorBoundary.js +19 -0
  325. package/dist/shared/components/PWAInstallBanner.d.ts +14 -0
  326. package/dist/shared/components/PWAInstallBanner.d.ts.map +1 -0
  327. package/dist/shared/components/PWAInstallBanner.js +113 -0
  328. package/dist/shared/components/PermissionGate.d.ts +202 -0
  329. package/dist/shared/components/PermissionGate.d.ts.map +1 -0
  330. package/dist/shared/components/PermissionGate.js +41 -0
  331. package/dist/shared/components/ProductAccessGuard.d.ts +8 -0
  332. package/dist/shared/components/ProductAccessGuard.d.ts.map +1 -0
  333. package/dist/shared/components/QuotaMeter.d.ts +30 -0
  334. package/dist/shared/components/QuotaMeter.d.ts.map +1 -0
  335. package/dist/shared/components/QuotaMeter.js +47 -0
  336. package/dist/shared/components/RequireAuth.d.ts +76 -0
  337. package/dist/shared/components/RequireAuth.d.ts.map +1 -0
  338. package/dist/shared/components/RequireAuth.js +90 -0
  339. package/dist/shared/components/SSORedirectGuard.d.ts +56 -0
  340. package/dist/shared/components/SSORedirectGuard.d.ts.map +1 -0
  341. package/dist/shared/components/SSORedirectGuard.js +134 -0
  342. package/dist/shared/components/SearchPage.d.ts +24 -0
  343. package/dist/shared/components/SearchPage.d.ts.map +1 -0
  344. package/dist/shared/components/index.d.ts +25 -0
  345. package/dist/shared/components/index.d.ts.map +1 -0
  346. package/dist/shared/config/authBridgeUrls.d.ts +27 -0
  347. package/dist/shared/config/authBridgeUrls.d.ts.map +1 -0
  348. package/dist/shared/config/authBridgeUrls.js +21 -0
  349. package/dist/shared/config/eslint.config.d.ts +12 -0
  350. package/dist/shared/config/eslint.config.d.ts.map +1 -0
  351. package/dist/shared/config/gatewayUrls.d.ts +34 -0
  352. package/dist/shared/config/gatewayUrls.d.ts.map +1 -0
  353. package/dist/shared/config/gatewayUrls.js +23 -0
  354. package/dist/shared/config/index.d.ts +71 -0
  355. package/dist/shared/config/index.d.ts.map +1 -0
  356. package/dist/shared/config/prettier.config.d.ts +7 -0
  357. package/dist/shared/config/prettier.config.d.ts.map +1 -0
  358. package/dist/shared/config/products.d.ts +42 -0
  359. package/dist/shared/config/products.d.ts.map +1 -0
  360. package/dist/shared/config/products.js +67 -0
  361. package/dist/shared/config/shellRoutes.d.ts +52 -0
  362. package/dist/shared/config/shellRoutes.d.ts.map +1 -0
  363. package/dist/shared/config/shellRoutes.js +179 -0
  364. package/dist/shared/events/index.d.ts +407 -0
  365. package/dist/shared/events/index.d.ts.map +1 -0
  366. package/dist/shared/events/metadata.d.ts +7 -0
  367. package/dist/shared/events/metadata.d.ts.map +1 -0
  368. package/dist/shared/events/metadata.js +22 -0
  369. package/dist/shared/events/sinks/BackendAuditSink.d.ts +18 -0
  370. package/dist/shared/events/sinks/BackendAuditSink.d.ts.map +1 -0
  371. package/dist/shared/events/sinks/BackendAuditSink.js +50 -0
  372. package/dist/shared/events/sinks/BroadcastChannelSink.d.ts +10 -0
  373. package/dist/shared/events/sinks/BroadcastChannelSink.d.ts.map +1 -0
  374. package/dist/shared/events/sinks/BroadcastChannelSink.js +20 -0
  375. package/dist/shared/events/sinks/DevtoolsSink.d.ts +10 -0
  376. package/dist/shared/events/sinks/DevtoolsSink.d.ts.map +1 -0
  377. package/dist/shared/events/sinks/DevtoolsSink.js +18 -0
  378. package/dist/shared/events/sinks/OtelBrowserSink.d.ts +14 -0
  379. package/dist/shared/events/sinks/OtelBrowserSink.d.ts.map +1 -0
  380. package/dist/shared/events/sinks/OtelBrowserSink.js +92 -0
  381. package/dist/shared/events/sinks/RybbitSink.d.ts +18 -0
  382. package/dist/shared/events/sinks/RybbitSink.d.ts.map +1 -0
  383. package/dist/shared/events/sinks/RybbitSink.js +85 -0
  384. package/dist/shared/events/sinks/index.d.ts +6 -0
  385. package/dist/shared/events/sinks/index.d.ts.map +1 -0
  386. package/dist/shared/events/sinks/index.js +5 -0
  387. package/dist/shared/feature-flags/FeatureFlagProvider.d.ts +47 -0
  388. package/dist/shared/feature-flags/FeatureFlagProvider.d.ts.map +1 -0
  389. package/dist/shared/feature-flags/FeatureFlagProvider.js +110 -0
  390. package/dist/shared/feature-flags/FeatureGate.d.ts +27 -0
  391. package/dist/shared/feature-flags/FeatureGate.d.ts.map +1 -0
  392. package/dist/shared/feature-flags/FeatureGate.js +10 -0
  393. package/dist/shared/feature-flags/index.d.ts +38 -0
  394. package/dist/shared/feature-flags/index.d.ts.map +1 -0
  395. package/dist/shared/feature-flags/types.d.ts +121 -0
  396. package/dist/shared/feature-flags/types.d.ts.map +1 -0
  397. package/dist/shared/feature-flags/useFeatureFlag.d.ts +41 -0
  398. package/dist/shared/feature-flags/useFeatureFlag.d.ts.map +1 -0
  399. package/dist/shared/feature-flags/useFeatureFlag.js +27 -0
  400. package/dist/shared/geography/GeographyProvider.d.ts +40 -0
  401. package/dist/shared/geography/GeographyProvider.d.ts.map +1 -0
  402. package/dist/shared/geography/GeographyProvider.js +171 -0
  403. package/dist/shared/geography/countries.d.ts +53 -0
  404. package/dist/shared/geography/countries.d.ts.map +1 -0
  405. package/dist/shared/geography/countries.js +2650 -0
  406. package/dist/shared/geography/index.d.ts +5 -0
  407. package/dist/shared/geography/index.d.ts.map +1 -0
  408. package/dist/shared/graphql/GatewayContext.d.ts +55 -0
  409. package/dist/shared/graphql/GatewayContext.d.ts.map +1 -0
  410. package/dist/shared/graphql/GatewayContext.js +28 -0
  411. package/dist/shared/graphql/client.d.ts +122 -0
  412. package/dist/shared/graphql/client.d.ts.map +1 -0
  413. package/dist/shared/graphql/client.js +308 -0
  414. package/dist/shared/graphql/fetch.d.ts +133 -0
  415. package/dist/shared/graphql/fetch.d.ts.map +1 -0
  416. package/dist/shared/graphql/fetch.js +323 -0
  417. package/dist/shared/graphql/index.d.ts +9 -0
  418. package/dist/shared/graphql/index.d.ts.map +1 -0
  419. package/dist/shared/graphql/links/sse-link.d.ts +48 -0
  420. package/dist/shared/graphql/links/sse-link.d.ts.map +1 -0
  421. package/dist/shared/graphql/links/sse-link.js +88 -0
  422. package/dist/shared/graphql/security.d.ts +13 -0
  423. package/dist/shared/graphql/security.d.ts.map +1 -0
  424. package/dist/shared/graphql/security.js +84 -0
  425. package/dist/shared/graphql/workspaceToken.d.ts +13 -0
  426. package/dist/shared/graphql/workspaceToken.d.ts.map +1 -0
  427. package/dist/shared/graphql/workspaceToken.js +33 -0
  428. package/dist/shared/help/HelpButton.d.ts +25 -0
  429. package/dist/shared/help/HelpButton.d.ts.map +1 -0
  430. package/dist/shared/help/HelpPanel.d.ts +10 -0
  431. package/dist/shared/help/HelpPanel.d.ts.map +1 -0
  432. package/dist/shared/help/HelpProvider.d.ts +40 -0
  433. package/dist/shared/help/HelpProvider.d.ts.map +1 -0
  434. package/dist/shared/help/index.d.ts +53 -0
  435. package/dist/shared/help/index.d.ts.map +1 -0
  436. package/dist/shared/help/types.d.ts +159 -0
  437. package/dist/shared/help/types.d.ts.map +1 -0
  438. package/dist/shared/hooks/index.d.ts +30 -0
  439. package/dist/shared/hooks/index.d.ts.map +1 -0
  440. package/dist/shared/hooks/shell/index.d.ts +22 -0
  441. package/dist/shared/hooks/shell/index.d.ts.map +1 -0
  442. package/dist/shared/hooks/shell/useBreadcrumbs.d.ts +50 -0
  443. package/dist/shared/hooks/shell/useBreadcrumbs.d.ts.map +1 -0
  444. package/dist/shared/hooks/shell/useFooterRegistry.d.ts +23 -0
  445. package/dist/shared/hooks/shell/useFooterRegistry.d.ts.map +1 -0
  446. package/dist/shared/hooks/shell/useFooterRegistry.js +16 -0
  447. package/dist/shared/hooks/shell/useGlobalSearch.d.ts +103 -0
  448. package/dist/shared/hooks/shell/useGlobalSearch.d.ts.map +1 -0
  449. package/dist/shared/hooks/shell/useGlobalSearch.js +232 -0
  450. package/dist/shared/hooks/shell/useLanguages.d.ts +36 -0
  451. package/dist/shared/hooks/shell/useLanguages.d.ts.map +1 -0
  452. package/dist/shared/hooks/shell/useLanguages.js +165 -0
  453. package/dist/shared/hooks/shell/useNavRegistry.d.ts +25 -0
  454. package/dist/shared/hooks/shell/useNavRegistry.d.ts.map +1 -0
  455. package/dist/shared/hooks/shell/useNavRegistry.js +10 -0
  456. package/dist/shared/hooks/shell/useProductAccess.d.ts +37 -0
  457. package/dist/shared/hooks/shell/useProductAccess.d.ts.map +1 -0
  458. package/dist/shared/hooks/shell/useProducts.d.ts +30 -0
  459. package/dist/shared/hooks/shell/useProducts.d.ts.map +1 -0
  460. package/dist/shared/hooks/shell/useProducts.js +97 -0
  461. package/dist/shared/hooks/useAsync.d.ts +151 -0
  462. package/dist/shared/hooks/useAsync.d.ts.map +1 -0
  463. package/dist/shared/hooks/useAsync.js +39 -0
  464. package/dist/shared/hooks/useBreakpoint.d.ts +83 -0
  465. package/dist/shared/hooks/useBreakpoint.d.ts.map +1 -0
  466. package/dist/shared/hooks/useBreakpoint.js +32 -0
  467. package/dist/shared/hooks/useCopyToClipboard.d.ts +72 -0
  468. package/dist/shared/hooks/useCopyToClipboard.d.ts.map +1 -0
  469. package/dist/shared/hooks/useCopyToClipboard.js +26 -0
  470. package/dist/shared/hooks/useDebounce.d.ts +26 -0
  471. package/dist/shared/hooks/useDebounce.d.ts.map +1 -0
  472. package/dist/shared/hooks/useDebounce.js +15 -0
  473. package/dist/shared/hooks/useHasAnimated.d.ts +10 -0
  474. package/dist/shared/hooks/useHasAnimated.d.ts.map +1 -0
  475. package/dist/shared/hooks/useHasAnimated.js +16 -0
  476. package/dist/shared/hooks/useKeyPress.d.ts +116 -0
  477. package/dist/shared/hooks/useKeyPress.d.ts.map +1 -0
  478. package/dist/shared/hooks/useKeyPress.js +31 -0
  479. package/dist/shared/hooks/useLocalStorage.d.ts +41 -0
  480. package/dist/shared/hooks/useLocalStorage.d.ts.map +1 -0
  481. package/dist/shared/hooks/useLocalStorage.js +33 -0
  482. package/dist/shared/hooks/useMediaQuery.d.ts +35 -0
  483. package/dist/shared/hooks/useMediaQuery.d.ts.map +1 -0
  484. package/dist/shared/hooks/useMediaQuery.js +14 -0
  485. package/dist/shared/hooks/useOnClickOutside.d.ts +76 -0
  486. package/dist/shared/hooks/useOnClickOutside.d.ts.map +1 -0
  487. package/dist/shared/hooks/useOnClickOutside.js +25 -0
  488. package/dist/shared/hooks/usePWA.d.ts +57 -0
  489. package/dist/shared/hooks/usePWA.d.ts.map +1 -0
  490. package/dist/shared/hooks/usePWA.js +68 -0
  491. package/dist/shared/hooks/usePrevious.d.ts +157 -0
  492. package/dist/shared/hooks/usePrevious.d.ts.map +1 -0
  493. package/dist/shared/hooks/usePrevious.js +22 -0
  494. package/dist/shared/hooks/useQuotaErrorToast.d.ts +50 -0
  495. package/dist/shared/hooks/useQuotaErrorToast.d.ts.map +1 -0
  496. package/dist/shared/hooks/useQuotaErrorToast.js +32 -0
  497. package/dist/shared/hooks/useReferralAttribution.d.ts +2 -0
  498. package/dist/shared/hooks/useReferralAttribution.d.ts.map +1 -0
  499. package/dist/shared/hooks/useReferralAttribution.js +113 -0
  500. package/dist/shared/hooks/useSessionStorage.d.ts +44 -0
  501. package/dist/shared/hooks/useSessionStorage.d.ts.map +1 -0
  502. package/dist/shared/hooks/useSessionStorage.js +33 -0
  503. package/dist/shared/hooks/useThrottle.d.ts +37 -0
  504. package/dist/shared/hooks/useThrottle.d.ts.map +1 -0
  505. package/dist/shared/hooks/useThrottle.js +11 -0
  506. package/dist/shared/hooks/useToggle.d.ts +152 -0
  507. package/dist/shared/hooks/useToggle.d.ts.map +1 -0
  508. package/dist/shared/hooks/useToggle.js +38 -0
  509. package/dist/shared/index.d.ts +13 -0
  510. package/dist/shared/index.d.ts.map +1 -0
  511. package/dist/shared/keyboard/globalShortcuts.d.ts +58 -0
  512. package/dist/shared/keyboard/globalShortcuts.d.ts.map +1 -0
  513. package/dist/shared/keyboard/globalShortcuts.js +79 -0
  514. package/dist/shared/keyboard/index.d.ts +40 -0
  515. package/dist/shared/keyboard/index.d.ts.map +1 -0
  516. package/dist/shared/keyboard/types.d.ts +85 -0
  517. package/dist/shared/keyboard/types.d.ts.map +1 -0
  518. package/dist/shared/keyboard/types.js +15 -0
  519. package/dist/shared/keyboard/useHotkeys.d.ts +21 -0
  520. package/dist/shared/keyboard/useHotkeys.d.ts.map +1 -0
  521. package/dist/shared/keyboard/useHotkeys.js +27 -0
  522. package/dist/shared/keyboard/useKeyboardShortcuts.d.ts +94 -0
  523. package/dist/shared/keyboard/useKeyboardShortcuts.d.ts.map +1 -0
  524. package/dist/shared/keyboard/useKeyboardShortcuts.js +105 -0
  525. package/dist/shared/keyboard/useShortcutHelp.d.ts +27 -0
  526. package/dist/shared/keyboard/useShortcutHelp.d.ts.map +1 -0
  527. package/dist/shared/keyboard/useShortcutHelp.js +21 -0
  528. package/dist/shared/keyboard/utils.d.ts +72 -0
  529. package/dist/shared/keyboard/utils.d.ts.map +1 -0
  530. package/dist/shared/keyboard/utils.js +165 -0
  531. package/dist/shared/logger/ConsoleTransport.d.ts +22 -0
  532. package/dist/shared/logger/ConsoleTransport.d.ts.map +1 -0
  533. package/dist/shared/logger/ConsoleTransport.js +60 -0
  534. package/dist/shared/logger/LogManager.d.ts +75 -0
  535. package/dist/shared/logger/LogManager.d.ts.map +1 -0
  536. package/dist/shared/logger/LogManager.js +82 -0
  537. package/dist/shared/logger/Logger.d.ts +86 -0
  538. package/dist/shared/logger/Logger.d.ts.map +1 -0
  539. package/dist/shared/logger/Logger.js +100 -0
  540. package/dist/shared/logger/index.d.ts +42 -0
  541. package/dist/shared/logger/index.d.ts.map +1 -0
  542. package/dist/shared/logger/types.d.ts +70 -0
  543. package/dist/shared/logger/types.d.ts.map +1 -0
  544. package/dist/shared/logger/types.js +6 -0
  545. package/dist/shared/logger/useLogger.d.ts +29 -0
  546. package/dist/shared/logger/useLogger.d.ts.map +1 -0
  547. package/dist/shared/logger/useLogger.js +11 -0
  548. package/dist/shared/motion/AnimatedCounter.d.ts +16 -0
  549. package/dist/shared/motion/AnimatedCounter.d.ts.map +1 -0
  550. package/dist/shared/motion/AnimatedCounter.js +24 -0
  551. package/dist/shared/motion/MotionCard.d.ts +18 -0
  552. package/dist/shared/motion/MotionCard.d.ts.map +1 -0
  553. package/dist/shared/motion/MotionCard.js +38 -0
  554. package/dist/shared/motion/MotionCollapse.d.ts +14 -0
  555. package/dist/shared/motion/MotionCollapse.d.ts.map +1 -0
  556. package/dist/shared/motion/MotionCollapse.js +22 -0
  557. package/dist/shared/motion/MotionFade.d.ts +16 -0
  558. package/dist/shared/motion/MotionFade.d.ts.map +1 -0
  559. package/dist/shared/motion/MotionFade.js +22 -0
  560. package/dist/shared/motion/MotionItem.d.ts +25 -0
  561. package/dist/shared/motion/MotionItem.d.ts.map +1 -0
  562. package/dist/shared/motion/MotionItem.js +46 -0
  563. package/dist/shared/motion/MotionList.d.ts +28 -0
  564. package/dist/shared/motion/MotionList.d.ts.map +1 -0
  565. package/dist/shared/motion/MotionList.js +32 -0
  566. package/dist/shared/motion/MotionPage.d.ts +18 -0
  567. package/dist/shared/motion/MotionPage.d.ts.map +1 -0
  568. package/dist/shared/motion/MotionPage.js +36 -0
  569. package/dist/shared/motion/index.d.ts +9 -0
  570. package/dist/shared/motion/index.d.ts.map +1 -0
  571. package/dist/shared/motion/variants.d.ts +70 -0
  572. package/dist/shared/motion/variants.d.ts.map +1 -0
  573. package/dist/shared/motion/variants.js +267 -0
  574. package/dist/shared/native/bridge.d.ts +3 -0
  575. package/dist/shared/native/bridge.d.ts.map +1 -0
  576. package/dist/shared/native/bridge.js +6 -0
  577. package/dist/shared/native/consumers.d.ts +9 -0
  578. package/dist/shared/native/consumers.d.ts.map +1 -0
  579. package/dist/shared/native/consumers.js +49 -0
  580. package/dist/shared/native/hooks/index.d.ts +12 -0
  581. package/dist/shared/native/hooks/index.d.ts.map +1 -0
  582. package/dist/shared/native/hooks/index.js +7 -0
  583. package/dist/shared/native/hooks/useAppState.d.ts +3 -0
  584. package/dist/shared/native/hooks/useAppState.d.ts.map +1 -0
  585. package/dist/shared/native/hooks/useAppState.js +17 -0
  586. package/dist/shared/native/hooks/useDeviceInfo.d.ts +3 -0
  587. package/dist/shared/native/hooks/useDeviceInfo.d.ts.map +1 -0
  588. package/dist/shared/native/hooks/useDeviceInfo.js +23 -0
  589. package/dist/shared/native/hooks/useHaptics.d.ts +8 -0
  590. package/dist/shared/native/hooks/useHaptics.d.ts.map +1 -0
  591. package/dist/shared/native/hooks/useHaptics.js +12 -0
  592. package/dist/shared/native/hooks/useNativeKeyboard.d.ts +6 -0
  593. package/dist/shared/native/hooks/useNativeKeyboard.d.ts.map +1 -0
  594. package/dist/shared/native/hooks/useNativeKeyboard.js +28 -0
  595. package/dist/shared/native/hooks/useNativePlatform.d.ts +10 -0
  596. package/dist/shared/native/hooks/useNativePlatform.d.ts.map +1 -0
  597. package/dist/shared/native/hooks/useNativePlatform.js +14 -0
  598. package/dist/shared/native/hooks/useSafeArea.d.ts +3 -0
  599. package/dist/shared/native/hooks/useSafeArea.d.ts.map +1 -0
  600. package/dist/shared/native/hooks/useSafeArea.js +35 -0
  601. package/dist/shared/native/hooks/useStatusBar.d.ts +6 -0
  602. package/dist/shared/native/hooks/useStatusBar.d.ts.map +1 -0
  603. package/dist/shared/native/hooks/useStatusBar.js +9 -0
  604. package/dist/shared/native/index.d.ts +6 -0
  605. package/dist/shared/native/index.d.ts.map +1 -0
  606. package/dist/shared/native/platform.d.ts +7 -0
  607. package/dist/shared/native/platform.d.ts.map +1 -0
  608. package/dist/shared/native/platform.js +20 -0
  609. package/dist/shared/native/types.d.ts +62 -0
  610. package/dist/shared/native/types.d.ts.map +1 -0
  611. package/dist/shared/pages/AiPage.d.ts +14 -0
  612. package/dist/shared/pages/AiPage.d.ts.map +1 -0
  613. package/dist/shared/pages/AiPage.js +78 -0
  614. package/dist/shared/pages/LegalPage.d.ts +19 -0
  615. package/dist/shared/pages/LegalPage.d.ts.map +1 -0
  616. package/dist/shared/pages/LegalPage.js +172 -0
  617. package/dist/shared/pages/SearchPage.d.ts +28 -0
  618. package/dist/shared/pages/SearchPage.d.ts.map +1 -0
  619. package/dist/shared/pages/SearchPage.js +1144 -0
  620. package/dist/shared/pages/index.d.ts +7 -0
  621. package/dist/shared/pages/index.d.ts.map +1 -0
  622. package/dist/shared/plugins/PluginRuntimeProvider.d.ts +28 -0
  623. package/dist/shared/plugins/PluginRuntimeProvider.d.ts.map +1 -0
  624. package/dist/shared/plugins/PluginRuntimeProvider.js +78 -0
  625. package/dist/shared/plugins/context.d.ts +65 -0
  626. package/dist/shared/plugins/context.d.ts.map +1 -0
  627. package/dist/shared/plugins/context.js +84 -0
  628. package/dist/shared/plugins/disposable.d.ts +17 -0
  629. package/dist/shared/plugins/disposable.d.ts.map +1 -0
  630. package/dist/shared/plugins/disposable.js +16 -0
  631. package/dist/shared/plugins/event-bus.d.ts +112 -0
  632. package/dist/shared/plugins/event-bus.d.ts.map +1 -0
  633. package/dist/shared/plugins/event-bus.js +45 -0
  634. package/dist/shared/plugins/index.d.ts +40 -0
  635. package/dist/shared/plugins/index.d.ts.map +1 -0
  636. package/dist/shared/plugins/panels/usePanelManagerStore.d.ts +68 -0
  637. package/dist/shared/plugins/panels/usePanelManagerStore.d.ts.map +1 -0
  638. package/dist/shared/plugins/panels/usePanelManagerStore.js +140 -0
  639. package/dist/shared/plugins/registries/createContributionRegistry.d.ts +16 -0
  640. package/dist/shared/plugins/registries/createContributionRegistry.d.ts.map +1 -0
  641. package/dist/shared/plugins/registries/createContributionRegistry.js +15 -0
  642. package/dist/shared/plugins/registries/index.d.ts +15 -0
  643. package/dist/shared/plugins/registries/index.d.ts.map +1 -0
  644. package/dist/shared/plugins/registries/useCommandRegistry.d.ts +3 -0
  645. package/dist/shared/plugins/registries/useCommandRegistry.d.ts.map +1 -0
  646. package/dist/shared/plugins/registries/useCommandRegistry.js +5 -0
  647. package/dist/shared/plugins/registries/useContextMenuRegistry.d.ts +3 -0
  648. package/dist/shared/plugins/registries/useContextMenuRegistry.d.ts.map +1 -0
  649. package/dist/shared/plugins/registries/useContextMenuRegistry.js +5 -0
  650. package/dist/shared/plugins/registries/usePanelRegistry.d.ts +3 -0
  651. package/dist/shared/plugins/registries/usePanelRegistry.d.ts.map +1 -0
  652. package/dist/shared/plugins/registries/usePanelRegistry.js +5 -0
  653. package/dist/shared/plugins/registries/useRouteRegistry.d.ts +3 -0
  654. package/dist/shared/plugins/registries/useRouteRegistry.d.ts.map +1 -0
  655. package/dist/shared/plugins/registries/useRouteRegistry.js +5 -0
  656. package/dist/shared/plugins/registries/useSettingsRegistry.d.ts +3 -0
  657. package/dist/shared/plugins/registries/useSettingsRegistry.d.ts.map +1 -0
  658. package/dist/shared/plugins/registries/useSettingsRegistry.js +5 -0
  659. package/dist/shared/plugins/registries/useStatusBarRegistry.d.ts +3 -0
  660. package/dist/shared/plugins/registries/useStatusBarRegistry.d.ts.map +1 -0
  661. package/dist/shared/plugins/registries/useStatusBarRegistry.js +5 -0
  662. package/dist/shared/plugins/registries/useToolbarRegistry.d.ts +3 -0
  663. package/dist/shared/plugins/registries/useToolbarRegistry.d.ts.map +1 -0
  664. package/dist/shared/plugins/registries/useToolbarRegistry.js +5 -0
  665. package/dist/shared/plugins/registries/useWidgetRegistry.d.ts +3 -0
  666. package/dist/shared/plugins/registries/useWidgetRegistry.d.ts.map +1 -0
  667. package/dist/shared/plugins/registries/useWidgetRegistry.js +5 -0
  668. package/dist/shared/plugins/runtime.d.ts +68 -0
  669. package/dist/shared/plugins/runtime.d.ts.map +1 -0
  670. package/dist/shared/plugins/runtime.js +148 -0
  671. package/dist/shared/plugins/types.d.ts +228 -0
  672. package/dist/shared/plugins/types.d.ts.map +1 -0
  673. package/dist/shared/providers/AppShellProvider.d.ts +96 -0
  674. package/dist/shared/providers/AppShellProvider.d.ts.map +1 -0
  675. package/dist/shared/providers/AppShellProvider.js +436 -0
  676. package/dist/shared/providers/MicrofrontendProvider.d.ts +41 -0
  677. package/dist/shared/providers/MicrofrontendProvider.d.ts.map +1 -0
  678. package/dist/shared/providers/index.d.ts +12 -0
  679. package/dist/shared/providers/index.d.ts.map +1 -0
  680. package/dist/shared/providers/shell/ActiveContextProvider.d.ts +88 -0
  681. package/dist/shared/providers/shell/ActiveContextProvider.d.ts.map +1 -0
  682. package/dist/shared/providers/shell/ActiveContextProvider.js +181 -0
  683. package/dist/shared/providers/shell/ActiveContextStorage.d.ts +45 -0
  684. package/dist/shared/providers/shell/ActiveContextStorage.d.ts.map +1 -0
  685. package/dist/shared/providers/shell/ActiveContextStorage.js +61 -0
  686. package/dist/shared/providers/shell/AppShellContext.d.ts +19 -0
  687. package/dist/shared/providers/shell/AppShellContext.d.ts.map +1 -0
  688. package/dist/shared/providers/shell/AppShellContext.js +20 -0
  689. package/dist/shared/providers/shell/AuthBridgeClient.d.ts +121 -0
  690. package/dist/shared/providers/shell/AuthBridgeClient.d.ts.map +1 -0
  691. package/dist/shared/providers/shell/AuthBridgeClient.js +187 -0
  692. package/dist/shared/providers/shell/AuthProvider.d.ts +58 -0
  693. package/dist/shared/providers/shell/AuthProvider.d.ts.map +1 -0
  694. package/dist/shared/providers/shell/AuthProvider.js +391 -0
  695. package/dist/shared/providers/shell/AuthTokenProvider.d.ts +22 -0
  696. package/dist/shared/providers/shell/AuthTokenProvider.d.ts.map +1 -0
  697. package/dist/shared/providers/shell/AuthTokenProvider.js +125 -0
  698. package/dist/shared/providers/shell/ContextManagerProvider.d.ts +56 -0
  699. package/dist/shared/providers/shell/ContextManagerProvider.d.ts.map +1 -0
  700. package/dist/shared/providers/shell/ContextManagerProvider.js +41 -0
  701. package/dist/shared/providers/shell/FeatureFlagsProvider.d.ts +20 -0
  702. package/dist/shared/providers/shell/FeatureFlagsProvider.d.ts.map +1 -0
  703. package/dist/shared/providers/shell/FeatureFlagsProvider.js +58 -0
  704. package/dist/shared/providers/shell/GatewayRouter.d.ts +31 -0
  705. package/dist/shared/providers/shell/GatewayRouter.d.ts.map +1 -0
  706. package/dist/shared/providers/shell/GatewayRouter.js +27 -0
  707. package/dist/shared/providers/shell/GlobalUiProvider.d.ts +46 -0
  708. package/dist/shared/providers/shell/GlobalUiProvider.d.ts.map +1 -0
  709. package/dist/shared/providers/shell/GlobalUiProvider.js +99 -0
  710. package/dist/shared/providers/shell/I18nProvider.d.ts +65 -0
  711. package/dist/shared/providers/shell/I18nProvider.d.ts.map +1 -0
  712. package/dist/shared/providers/shell/I18nProvider.js +149 -0
  713. package/dist/shared/providers/shell/MultiGatewayProvider.d.ts +25 -0
  714. package/dist/shared/providers/shell/MultiGatewayProvider.d.ts.map +1 -0
  715. package/dist/shared/providers/shell/MultiGatewayProvider.js +146 -0
  716. package/dist/shared/providers/shell/ObservabilityProvider.d.ts +15 -0
  717. package/dist/shared/providers/shell/ObservabilityProvider.d.ts.map +1 -0
  718. package/dist/shared/providers/shell/ObservabilityProvider.js +35 -0
  719. package/dist/shared/providers/shell/PageConversationContextProvider.d.ts +22 -0
  720. package/dist/shared/providers/shell/PageConversationContextProvider.d.ts.map +1 -0
  721. package/dist/shared/providers/shell/PageConversationContextProvider.js +68 -0
  722. package/dist/shared/providers/shell/PermissionProvider.d.ts +227 -0
  723. package/dist/shared/providers/shell/PermissionProvider.d.ts.map +1 -0
  724. package/dist/shared/providers/shell/PermissionProvider.js +173 -0
  725. package/dist/shared/providers/shell/ProfileGeographyBridge.d.ts +8 -0
  726. package/dist/shared/providers/shell/ProfileGeographyBridge.d.ts.map +1 -0
  727. package/dist/shared/providers/shell/ProfileGeographyBridge.js +14 -0
  728. package/dist/shared/providers/shell/ProfileI18nBridge.d.ts +15 -0
  729. package/dist/shared/providers/shell/ProfileI18nBridge.d.ts.map +1 -0
  730. package/dist/shared/providers/shell/ProfileI18nBridge.js +57 -0
  731. package/dist/shared/providers/shell/ProfileStorageManager.d.ts +107 -0
  732. package/dist/shared/providers/shell/ProfileStorageManager.d.ts.map +1 -0
  733. package/dist/shared/providers/shell/ProfileStorageManager.js +184 -0
  734. package/dist/shared/providers/shell/ShellUiProvider.d.ts +47 -0
  735. package/dist/shared/providers/shell/ShellUiProvider.d.ts.map +1 -0
  736. package/dist/shared/providers/shell/ShellUiProvider.js +89 -0
  737. package/dist/shared/providers/shell/ThemeProvider.d.ts +29 -0
  738. package/dist/shared/providers/shell/ThemeProvider.d.ts.map +1 -0
  739. package/dist/shared/providers/shell/ThemeProvider.js +68 -0
  740. package/dist/shared/providers/shell/index.d.ts +45 -0
  741. package/dist/shared/providers/shell/index.d.ts.map +1 -0
  742. package/dist/shared/shims/assert.d.ts +19 -0
  743. package/dist/shared/shims/assert.d.ts.map +1 -0
  744. package/dist/shared/shims/assert.js +15 -0
  745. package/dist/shared/shims/index.d.ts +25 -0
  746. package/dist/shared/shims/index.d.ts.map +1 -0
  747. package/dist/shared/shims/process.d.ts +20 -0
  748. package/dist/shared/shims/process.d.ts.map +1 -0
  749. package/dist/shared/shims/process.js +13 -0
  750. package/dist/shared/shims/use-sync-external-store-shim.d.ts +7 -0
  751. package/dist/shared/shims/use-sync-external-store-shim.d.ts.map +1 -0
  752. package/dist/shared/shims/use-sync-external-store-shim.js +2 -0
  753. package/dist/shared/shims/use-sync-external-store-with-selector.d.ts +17 -0
  754. package/dist/shared/shims/use-sync-external-store-with-selector.d.ts.map +1 -0
  755. package/dist/shared/shims/use-sync-external-store-with-selector.js +39 -0
  756. package/dist/shared/shims/util.d.ts +135 -0
  757. package/dist/shared/shims/util.d.ts.map +1 -0
  758. package/dist/shared/shims/util.js +176 -0
  759. package/dist/shared/tours/TourInitializer.d.ts +6 -0
  760. package/dist/shared/tours/TourInitializer.d.ts.map +1 -0
  761. package/dist/shared/tours/TourInitializer.js +35 -0
  762. package/dist/shared/tours/TourPlayer.d.ts +49 -0
  763. package/dist/shared/tours/TourPlayer.d.ts.map +1 -0
  764. package/dist/shared/tours/TourPlayer.js +57 -0
  765. package/dist/shared/tours/TourPlayerProvider.d.ts +26 -0
  766. package/dist/shared/tours/TourPlayerProvider.d.ts.map +1 -0
  767. package/dist/shared/tours/TourPlayerProvider.js +120 -0
  768. package/dist/shared/tours/TourSpotlight.d.ts +8 -0
  769. package/dist/shared/tours/TourSpotlight.d.ts.map +1 -0
  770. package/dist/shared/tours/TourSpotlight.js +78 -0
  771. package/dist/shared/tours/TourTooltip.d.ts +7 -0
  772. package/dist/shared/tours/TourTooltip.d.ts.map +1 -0
  773. package/dist/shared/tours/TourTooltip.js +272 -0
  774. package/dist/shared/tours/TourTrigger.d.ts +6 -0
  775. package/dist/shared/tours/TourTrigger.d.ts.map +1 -0
  776. package/dist/shared/tours/TourTrigger.js +236 -0
  777. package/dist/shared/tours/ToursContext.d.ts +41 -0
  778. package/dist/shared/tours/ToursContext.d.ts.map +1 -0
  779. package/dist/shared/tours/ToursContext.js +443 -0
  780. package/dist/shared/tours/index.d.ts +49 -0
  781. package/dist/shared/tours/index.d.ts.map +1 -0
  782. package/dist/shared/tours/types.d.ts +215 -0
  783. package/dist/shared/tours/types.d.ts.map +1 -0
  784. package/dist/shared/tours/types.js +16 -0
  785. package/dist/shared/tours/useTourPlayer.d.ts +38 -0
  786. package/dist/shared/tours/useTourPlayer.d.ts.map +1 -0
  787. package/dist/shared/tours/useTourPlayer.js +238 -0
  788. package/dist/shared/types/index.d.ts +185 -0
  789. package/dist/shared/types/index.d.ts.map +1 -0
  790. package/dist/shared/utils/apollo.d.ts +13 -0
  791. package/dist/shared/utils/apollo.d.ts.map +1 -0
  792. package/dist/shared/utils/apollo.js +68 -0
  793. package/dist/shared/utils/appHelpers.d.ts +34 -0
  794. package/dist/shared/utils/appHelpers.d.ts.map +1 -0
  795. package/dist/shared/utils/appHelpers.js +54 -0
  796. package/dist/shared/utils/authCookie.d.ts +35 -0
  797. package/dist/shared/utils/authCookie.d.ts.map +1 -0
  798. package/dist/shared/utils/authCookie.js +86 -0
  799. package/dist/shared/utils/authErrorHandling.d.ts +65 -0
  800. package/dist/shared/utils/authErrorHandling.d.ts.map +1 -0
  801. package/dist/shared/utils/authErrorHandling.js +75 -0
  802. package/dist/shared/utils/cn.d.ts +6 -0
  803. package/dist/shared/utils/cn.d.ts.map +1 -0
  804. package/dist/shared/utils/format.d.ts +98 -0
  805. package/dist/shared/utils/format.d.ts.map +1 -0
  806. package/dist/shared/utils/format.js +135 -0
  807. package/dist/shared/utils/gatewayFetchRewrite.d.ts +53 -0
  808. package/dist/shared/utils/gatewayFetchRewrite.d.ts.map +1 -0
  809. package/dist/shared/utils/gatewayFetchRewrite.js +130 -0
  810. package/dist/shared/utils/index.d.ts +26 -0
  811. package/dist/shared/utils/index.d.ts.map +1 -0
  812. package/dist/shared/utils/lazyWithRetry.d.ts +43 -0
  813. package/dist/shared/utils/lazyWithRetry.d.ts.map +1 -0
  814. package/dist/shared/utils/lazyWithRetry.js +25 -0
  815. package/dist/shared/utils/loggerInit.d.ts +15 -0
  816. package/dist/shared/utils/loggerInit.d.ts.map +1 -0
  817. package/dist/shared/utils/loggerInit.js +44 -0
  818. package/dist/shared/utils/mockData.d.ts +40 -0
  819. package/dist/shared/utils/mockData.d.ts.map +1 -0
  820. package/dist/shared/utils/profileScopedStorage.d.ts +42 -0
  821. package/dist/shared/utils/profileScopedStorage.d.ts.map +1 -0
  822. package/dist/shared/utils/profileScopedStorage.js +55 -0
  823. package/dist/shared/utils/quotaErrors.d.ts +37 -0
  824. package/dist/shared/utils/quotaErrors.d.ts.map +1 -0
  825. package/dist/shared/utils/quotaErrors.js +21 -0
  826. package/dist/shared/utils/tokens.d.ts +166 -0
  827. package/dist/shared/utils/tokens.d.ts.map +1 -0
  828. package/dist/shared/utils/tokens.js +133 -0
  829. package/dist/shared-components.d.ts +2 -0
  830. package/dist/shared-components.js +15 -0
  831. package/dist/shared-config.d.ts +2 -0
  832. package/dist/shared-config.js +30 -0
  833. package/dist/shared-events.d.ts +2 -0
  834. package/dist/shared-events.js +132 -0
  835. package/dist/shared-feature-flags.d.ts +2 -0
  836. package/dist/shared-feature-flags.js +4 -0
  837. package/dist/shared-geography.d.ts +2 -0
  838. package/dist/shared-geography.js +3 -0
  839. package/dist/shared-graphql.d.ts +2 -0
  840. package/dist/shared-graphql.js +8 -0
  841. package/dist/shared-hooks-shell.d.ts +2 -0
  842. package/dist/shared-hooks-shell.js +15 -0
  843. package/dist/shared-hooks.d.ts +2 -0
  844. package/dist/shared-hooks.js +39 -0
  845. package/dist/shared-keyboard.d.ts +2 -0
  846. package/dist/shared-keyboard.js +7 -0
  847. package/dist/shared-logger.d.ts +2 -0
  848. package/dist/shared-logger.js +6 -0
  849. package/dist/shared-motion.d.ts +2 -0
  850. package/dist/shared-motion.js +9 -0
  851. package/dist/shared-native.d.ts +2 -0
  852. package/dist/shared-native.js +12 -0
  853. package/dist/shared-pages.d.ts +2 -0
  854. package/dist/shared-pages.js +4 -0
  855. package/dist/shared-plugins.d.ts +2 -0
  856. package/dist/shared-plugins.js +15 -0
  857. package/dist/shared-providers-shell.d.ts +2 -0
  858. package/dist/shared-providers-shell.js +25 -0
  859. package/dist/shared-providers.d.ts +2 -0
  860. package/dist/shared-providers.js +12 -0
  861. package/dist/shared-shims.d.ts +2 -0
  862. package/dist/shared-shims.js +6 -0
  863. package/dist/shared-tours.d.ts +2 -0
  864. package/dist/shared-tours.js +10 -0
  865. package/dist/shared-types.d.ts +1 -0
  866. package/dist/shared-types.js +0 -0
  867. package/dist/shared-utils.d.ts +2 -0
  868. package/dist/shared-utils.js +19 -0
  869. package/dist/shared.d.ts +2 -0
  870. package/dist/shared.js +103 -0
  871. package/dist/storage/StorageFolderPicker.d.ts +23 -0
  872. package/dist/storage/StorageFolderPicker.d.ts.map +1 -0
  873. package/dist/storage/index.d.ts +3 -0
  874. package/dist/storage/index.d.ts.map +1 -0
  875. package/dist/tag/TagBadge.d.ts +17 -0
  876. package/dist/tag/TagBadge.d.ts.map +1 -0
  877. package/dist/tag/TagBadge.js +51 -0
  878. package/dist/tag/TagsWidget.d.ts +103 -0
  879. package/dist/tag/TagsWidget.d.ts.map +1 -0
  880. package/dist/tag/TagsWidget.js +283 -0
  881. package/dist/tag/index.d.ts +3 -0
  882. package/dist/tag/index.d.ts.map +1 -0
  883. package/dist/tag.d.ts +2 -0
  884. package/dist/tag.js +3 -0
  885. package/dist/ui/accordion.d.ts +8 -0
  886. package/dist/ui/accordion.d.ts.map +1 -0
  887. package/dist/ui/accordion.js +43 -0
  888. package/dist/ui/alert-dialog.d.ts +15 -0
  889. package/dist/ui/alert-dialog.d.ts.map +1 -0
  890. package/dist/ui/alert-dialog.js +81 -0
  891. package/dist/ui/badge.d.ts +10 -0
  892. package/dist/ui/badge.d.ts.map +1 -0
  893. package/dist/ui/badge.js +24 -0
  894. package/dist/ui/button.d.ts +12 -0
  895. package/dist/ui/button.d.ts.map +1 -0
  896. package/dist/ui/button.js +45 -0
  897. package/dist/ui/card.d.ts +9 -0
  898. package/dist/ui/card.d.ts.map +1 -0
  899. package/dist/ui/card.js +42 -0
  900. package/dist/ui/checkbox.d.ts +5 -0
  901. package/dist/ui/checkbox.d.ts.map +1 -0
  902. package/dist/ui/checkbox.js +20 -0
  903. package/dist/ui/command.d.ts +19 -0
  904. package/dist/ui/command.d.ts.map +1 -0
  905. package/dist/ui/command.js +85 -0
  906. package/dist/ui/dialog.d.ts +16 -0
  907. package/dist/ui/dialog.d.ts.map +1 -0
  908. package/dist/ui/dialog.js +86 -0
  909. package/dist/ui/dropdown-menu.d.ts +28 -0
  910. package/dist/ui/dropdown-menu.d.ts.map +1 -0
  911. package/dist/ui/dropdown-menu.js +72 -0
  912. package/dist/ui/index.d.ts +25 -0
  913. package/dist/ui/index.d.ts.map +1 -0
  914. package/dist/ui/input.d.ts +5 -0
  915. package/dist/ui/input.d.ts.map +1 -0
  916. package/dist/ui/input.js +13 -0
  917. package/dist/ui/label.d.ts +5 -0
  918. package/dist/ui/label.d.ts.map +1 -0
  919. package/dist/ui/label.js +14 -0
  920. package/dist/ui/popover.d.ts +8 -0
  921. package/dist/ui/popover.d.ts.map +1 -0
  922. package/dist/ui/popover.js +35 -0
  923. package/dist/ui/scroll-area.d.ts +6 -0
  924. package/dist/ui/scroll-area.d.ts.map +1 -0
  925. package/dist/ui/scroll-area.js +36 -0
  926. package/dist/ui/select.d.ts +13 -0
  927. package/dist/ui/select.d.ts.map +1 -0
  928. package/dist/ui/select.js +69 -0
  929. package/dist/ui/separator.d.ts +5 -0
  930. package/dist/ui/separator.d.ts.map +1 -0
  931. package/dist/ui/separator.js +16 -0
  932. package/dist/ui/sheet.d.ts +14 -0
  933. package/dist/ui/sheet.d.ts.map +1 -0
  934. package/dist/ui/sheet.js +81 -0
  935. package/dist/ui/skeleton.d.ts +4 -0
  936. package/dist/ui/skeleton.d.ts.map +1 -0
  937. package/dist/ui/skeleton.js +12 -0
  938. package/dist/ui/sonner.d.ts +4 -0
  939. package/dist/ui/sonner.d.ts.map +1 -0
  940. package/dist/ui/sonner.js +28 -0
  941. package/dist/ui/spinner.d.ts +6 -0
  942. package/dist/ui/spinner.d.ts.map +1 -0
  943. package/dist/ui/spinner.js +18 -0
  944. package/dist/ui/switch.d.ts +5 -0
  945. package/dist/ui/switch.d.ts.map +1 -0
  946. package/dist/ui/switch.js +19 -0
  947. package/dist/ui/table.d.ts +11 -0
  948. package/dist/ui/table.d.ts.map +1 -0
  949. package/dist/ui/table.js +57 -0
  950. package/dist/ui/tabs.d.ts +8 -0
  951. package/dist/ui/tabs.d.ts.map +1 -0
  952. package/dist/ui/tabs.js +35 -0
  953. package/dist/ui/textarea.d.ts +5 -0
  954. package/dist/ui/textarea.d.ts.map +1 -0
  955. package/dist/ui/textarea.js +12 -0
  956. package/dist/ui/tooltip.d.ts +7 -0
  957. package/dist/ui/tooltip.d.ts.map +1 -0
  958. package/dist/ui/tooltip.js +14 -0
  959. package/dist/ui.d.ts +2 -0
  960. package/dist/ui.js +25 -0
  961. package/dist/utils/cn.d.ts +15 -0
  962. package/dist/utils/cn.d.ts.map +1 -0
  963. package/dist/utils/cn.js +8 -0
  964. package/dist/utils/index.d.ts +3 -0
  965. package/dist/utils/index.d.ts.map +1 -0
  966. package/dist/utils/index.js +13 -0
  967. package/package.json +376 -0
  968. package/shared/config/eslint.config.d.mts +10 -0
  969. package/shared/config/eslint.config.mjs +53 -0
  970. package/shared/config/prettier.config.d.mts +5 -0
  971. package/shared/config/prettier.config.mjs +18 -0
  972. package/shared/config/tsconfig.base.json +23 -0
  973. package/src/shared/shims/assert.ts +54 -0
  974. package/src/shared/shims/index.ts +27 -0
  975. package/src/shared/shims/process.ts +24 -0
  976. package/src/shared/shims/use-sync-external-store-shim.ts +15 -0
  977. package/src/shared/shims/use-sync-external-store-with-selector.ts +112 -0
  978. package/src/shared/shims/util.ts +229 -0
  979. package/src/shared/styles/app-shell.css +298 -0
  980. package/src/shared/styles/index.css +213 -0
  981. package/src/shared/tokens/build/brands/fluidgrids.css +6 -0
  982. package/src/shared/tokens/build/brands/healthybowl.css +6 -0
  983. package/src/shared/tokens/build/brands/tenant.css +6 -0
  984. package/src/shared/tokens/build/brands/vibecontrols.css +6 -0
  985. package/src/shared/tokens/build/brands/workspaces.css +6 -0
  986. package/src/shared/tokens/build/foundation.css +175 -0
  987. package/src/shared/tokens/build/semantic.css +301 -0
  988. package/src/shared/tokens/build/tailwind.preset.js +211 -0
  989. package/src/shared/tokens/tokens.css +22 -0
  990. package/src/vite/index.ts +49 -0
  991. package/src/vite/mfe.config.ts +176 -0
  992. package/src/vite/plugins.ts +311 -0
  993. package/src/vite/shell.config.ts +233 -0
  994. package/src/vite/types.ts +176 -0
@@ -0,0 +1,19 @@
1
+ import { createApolloClient as e } from "./shared/utils/apollo.js";
2
+ import { alertTokens as t, categoryTokens as n, getAlertTokens as r, getCategoryTokens as i, getProgressTokens as a, getStatusBadgeTokens as o, getStatusTokens as s, getTrendTokens as c, progressTokens as l, statusTokens as u, trendTokens as d } from "./shared/utils/tokens.js";
3
+ import { capitalizeFirst as f, capitalizeWords as p, formatBytes as m, formatCompactNumber as h, formatCurrency as g, formatCurrencyCompact as _, formatDate as v, formatDateTime as y, formatDuration as b, formatList as x, formatNumber as S, formatOrdinal as C, formatPercentage as w, formatRelativeTime as T, formatTime as E, pluralize as D, slugify as O, toCamelCase as k, toPascalCase as A, truncateText as j } from "./shared/utils/format.js";
4
+ import { isChunkLoadError as M, lazyWithRetry as N } from "./shared/utils/lazyWithRetry.js";
5
+ import { installGatewayFetchRewrite as P, resolveGatewayBases as F, suppressConsole as I } from "./shared/utils/gatewayFetchRewrite.js";
6
+ import { attemptTokenRefresh as L, clearAuthSessionStorage as R, hasAuthGraphQLErrors as z, isAuthGraphQLError as B, isAuthNetworkError as V, redirectToLogin as H } from "./shared/utils/authErrorHandling.js";
7
+ import { clearSSoCookie as U, clearShellSsoCookies as W, getSSoCookie as G, isSharedSsoCookieDomain as K, isTrustedSsoOrigin as q, readShellSsoCookie as J, setSSoCookie as Y, setShellSsoCookies as X } from "./shared/utils/authCookie.js";
8
+ import { AppInitializer as Z, useRegistryHelpers as Q, useShellNavigate as $ } from "./shared/utils/appHelpers.js";
9
+ import { clearUserContext as ee, initializeLogger as te, setUserContext as ne } from "./shared/utils/loggerInit.js";
10
+ import { createProfileScopedStorage as re, getProfileScopedKey as ie } from "./shared/utils/profileScopedStorage.js";
11
+ import { QUOTA_EXHAUSTED_CODE as ae, buildQuotaExhaustedMessage as oe, extractQuotaExhaustedExtensions as se, isQuotaExhaustedError as ce } from "./shared/utils/quotaErrors.js";
12
+ import { clsx as le } from "clsx";
13
+ import { twMerge as ue } from "tailwind-merge";
14
+ //#region src/shared/utils/index.ts
15
+ function de(...e) {
16
+ return ue(le(e));
17
+ }
18
+ //#endregion
19
+ export { Z as AppInitializer, ae as QUOTA_EXHAUSTED_CODE, t as alertTokens, L as attemptTokenRefresh, oe as buildQuotaExhaustedMessage, f as capitalizeFirst, p as capitalizeWords, n as categoryTokens, R as clearAuthSessionStorage, U as clearSSoCookie, W as clearShellSsoCookies, ee as clearUserContext, de as cn, e as createApolloClient, re as createProfileScopedStorage, se as extractQuotaExhaustedExtensions, m as formatBytes, h as formatCompactNumber, g as formatCurrency, _ as formatCurrencyCompact, v as formatDate, y as formatDateTime, b as formatDuration, x as formatList, S as formatNumber, C as formatOrdinal, w as formatPercentage, T as formatRelativeTime, E as formatTime, r as getAlertTokens, i as getCategoryTokens, ie as getProfileScopedKey, a as getProgressTokens, G as getSSoCookie, o as getStatusBadgeTokens, s as getStatusTokens, c as getTrendTokens, z as hasAuthGraphQLErrors, te as initializeLogger, P as installGatewayFetchRewrite, B as isAuthGraphQLError, V as isAuthNetworkError, M as isChunkLoadError, ce as isQuotaExhaustedError, K as isSharedSsoCookieDomain, q as isTrustedSsoOrigin, N as lazyWithRetry, D as pluralize, l as progressTokens, J as readShellSsoCookie, H as redirectToLogin, F as resolveGatewayBases, Y as setSSoCookie, X as setShellSsoCookies, ne as setUserContext, O as slugify, u as statusTokens, I as suppressConsole, k as toCamelCase, A as toPascalCase, d as trendTokens, j as truncateText, Q as useRegistryHelpers, $ as useShellNavigate };
@@ -0,0 +1,2 @@
1
+ export * from './shared/index'
2
+ export {}
package/dist/shared.js ADDED
@@ -0,0 +1,103 @@
1
+ import { createApolloClient as e } from "./shared/utils/apollo.js";
2
+ import { alertTokens as t, categoryTokens as n, getAlertTokens as r, getCategoryTokens as i, getProgressTokens as a, getStatusBadgeTokens as o, getStatusTokens as s, getTrendTokens as c, progressTokens as l, statusTokens as u, trendTokens as d } from "./shared/utils/tokens.js";
3
+ import { capitalizeFirst as f, capitalizeWords as p, formatBytes as m, formatCompactNumber as h, formatCurrency as g, formatCurrencyCompact as _, formatDate as v, formatDateTime as y, formatDuration as b, formatList as x, formatNumber as S, formatOrdinal as C, formatPercentage as w, formatRelativeTime as T, formatTime as E, pluralize as D, slugify as O, toCamelCase as k, toPascalCase as A, truncateText as j } from "./shared/utils/format.js";
4
+ import { isChunkLoadError as M, lazyWithRetry as N } from "./shared/utils/lazyWithRetry.js";
5
+ import { resolveGatewayUrls as P } from "./shared/config/gatewayUrls.js";
6
+ import { installGatewayFetchRewrite as F, resolveGatewayBases as I, suppressConsole as L } from "./shared/utils/gatewayFetchRewrite.js";
7
+ import { resolveAuthBridgeConfig as R } from "./shared/config/authBridgeUrls.js";
8
+ import { PRODUCTS as z, PRODUCT_URLS as B, getProductUrl as V, getProductsWithUrls as H } from "./shared/config/products.js";
9
+ import { COMMON_SHELL_LESS_ROUTES as U, DEFAULT_SHELL_CONFIG as W, getShellConfig as G, isShellLessRoute as K, shouldShowBreadcrumb as q, shouldShowSidebar as J } from "./shared/config/shellRoutes.js";
10
+ import { DEFAULT_PAGE_SIZE as Y, GATEWAYS as X, getGatewayConfig as Z, getGatewayUrl as Q, getGraphQLEndpoint as $ } from "./shared-config.js";
11
+ import { getWorkspaceTokenPayload as ee, isWorkspaceTokenValidForContext as te } from "./shared/graphql/workspaceToken.js";
12
+ import { getStoredAuthToken as ne, getStoredLocale as re, getStoredOrganizationId as ie, getStoredWorkspaceId as ae, getStoredWorkspaceToken as oe, graphqlFetch as se, resolveGatewayUrl as ce } from "./shared/graphql/fetch.js";
13
+ import { SSELink as le } from "./shared/graphql/links/sse-link.js";
14
+ import { createGraphQLClient as ue, getGlobalClient as de, getWorkspaceClient as fe, initializeAppClients as pe, resetAppClients as me } from "./shared/graphql/client.js";
15
+ import { GatewayProvider as he, useGateway as ge, useGatewayClient as _e, useSafeGateway as ve, useSafeGatewayClient as ye } from "./shared/graphql/GatewayContext.js";
16
+ import { ApolloClient as be, ApolloProvider as xe, InMemoryCache as Se, gql as Ce, useApolloClient as we, useLazyQuery as Te, useMutation as Ee, useQuery as De, useSubscription as Oe } from "./shared-graphql.js";
17
+ import { attemptTokenRefresh as ke, clearAuthSessionStorage as Ae, hasAuthGraphQLErrors as je, isAuthGraphQLError as Me, isAuthNetworkError as Ne, redirectToLogin as Pe } from "./shared/utils/authErrorHandling.js";
18
+ import { clearSSoCookie as Fe, clearShellSsoCookies as Ie, getSSoCookie as Le, isSharedSsoCookieDomain as Re, isTrustedSsoOrigin as ze, readShellSsoCookie as Be, setSSoCookie as Ve, setShellSsoCookies as He } from "./shared/utils/authCookie.js";
19
+ import { SSORedirectSpinner as Ue, checkRemoteSLO as We, checkSLO as Ge, clearLocalAuthState as Ke, getSSORedirectUrl as qe } from "./shared/components/SSORedirectGuard.js";
20
+ import { AppInitializer as Je, useRegistryHelpers as Ye, useShellNavigate as Xe } from "./shared/utils/appHelpers.js";
21
+ import { LogLevel as Ze } from "./shared/logger/types.js";
22
+ import { Logger as Qe } from "./shared/logger/Logger.js";
23
+ import { LogManager as $e, logManager as et } from "./shared/logger/LogManager.js";
24
+ import { ConsoleTransport as tt } from "./shared/logger/ConsoleTransport.js";
25
+ import { clearUserContext as nt, initializeLogger as rt, setUserContext as it } from "./shared/utils/loggerInit.js";
26
+ import { createProfileScopedStorage as at, getProfileScopedKey as ot } from "./shared/utils/profileScopedStorage.js";
27
+ import { QUOTA_EXHAUSTED_CODE as st, buildQuotaExhaustedMessage as ct, extractQuotaExhaustedExtensions as lt, isQuotaExhaustedError as ut } from "./shared/utils/quotaErrors.js";
28
+ import { cn as dt } from "./shared-utils.js";
29
+ import { ErrorBoundary as ft } from "./shared/components/ErrorBoundary.js";
30
+ import { RequireAuth as pt, RequireGuest as mt } from "./shared/components/RequireAuth.js";
31
+ import { PermissionButton as ht, PermissionGate as gt, PermissionLink as _t } from "./shared/components/PermissionGate.js";
32
+ import { AccessDenied as vt, PermissionDenied as yt } from "./shared/components/AccessDenied.js";
33
+ import { ErrorFallback as bt } from "./shared/components/ErrorFallback.js";
34
+ import { LoadingFallback as xt, PageLoadingFallback as St, SectionLoadingFallback as Ct } from "./shared/components/LoadingFallback.js";
35
+ import { MicrofrontendErrorBoundary as wt } from "./shared/components/MicrofrontendErrorBoundary.js";
36
+ import { ConditionalShell as Tt } from "./shared/components/ConditionalShell.js";
37
+ import { usePWA as Et } from "./shared/hooks/usePWA.js";
38
+ import { PWAInstallBanner as Dt } from "./shared/components/PWAInstallBanner.js";
39
+ import { ErrorBoundary as Ot } from "./shared/components/AppErrorBoundary.js";
40
+ import { FeatureFlagProvider as kt, useFeatureFlags as At } from "./shared/feature-flags/FeatureFlagProvider.js";
41
+ import { useFeatureFlag as jt, useFeatureFlagDetails as Mt, useFeatureFlagValue as Nt } from "./shared/feature-flags/useFeatureFlag.js";
42
+ import { FeatureGate as Pt } from "./shared/feature-flags/FeatureGate.js";
43
+ import "./shared-feature-flags.js";
44
+ import { ContextConversationWidget as Ft } from "./shared/components/ContextConversationWidget.js";
45
+ import { detectPlatform as It, formatKeyCombo as Lt, getDisplayKeysForPlatform as Rt, getShortcutLabel as zt, isMac as Bt, isMobileDevice as Vt, isTabletDevice as Ht, matchesKeyCombo as Ut, normalizeKey as Wt, normalizePlatformCombo as Gt, parseKeyCombo as Kt, shouldEnableKeyboardShortcuts as qt, shouldIgnoreShortcut as Jt } from "./shared/keyboard/utils.js";
46
+ import { KeyboardHelpDialogWrapper as Yt } from "./shared/components/KeyboardHelpDialogWrapper.js";
47
+ import { QuotaMeter as Xt } from "./shared/components/QuotaMeter.js";
48
+ import "./shared-components.js";
49
+ import { DevtoolsSink as Zt } from "./shared/events/sinks/DevtoolsSink.js";
50
+ import { BroadcastChannelSink as Qt } from "./shared/events/sinks/BroadcastChannelSink.js";
51
+ import { BackendAuditSink as $t } from "./shared/events/sinks/BackendAuditSink.js";
52
+ import { RybbitSink as en } from "./shared/events/sinks/RybbitSink.js";
53
+ import { OtelBrowserSink as tn } from "./shared/events/sinks/OtelBrowserSink.js";
54
+ import { EventBusProvider as nn, createEventBus as rn, useEvent as an, useEventBus as on, useEventEmitter as sn } from "./shared-events.js";
55
+ import { useDebounce as cn } from "./shared/hooks/useDebounce.js";
56
+ import { useThrottle as ln } from "./shared/hooks/useThrottle.js";
57
+ import { useMediaQuery as un } from "./shared/hooks/useMediaQuery.js";
58
+ import { BREAKPOINTS as dn, useBreakpoint as fn, useMobileBreakpoint as pn } from "./shared/hooks/useBreakpoint.js";
59
+ import { useOnClickOutside as mn, useOnClickOutsideWithRef as hn } from "./shared/hooks/useOnClickOutside.js";
60
+ import { useKeyPress as gn, useKeyboardShortcut as _n } from "./shared/hooks/useKeyPress.js";
61
+ import { useCopyToClipboard as vn } from "./shared/hooks/useCopyToClipboard.js";
62
+ import { useLocalStorage as yn } from "./shared/hooks/useLocalStorage.js";
63
+ import { useSessionStorage as bn } from "./shared/hooks/useSessionStorage.js";
64
+ import { usePrevious as xn, usePreviousDistinct as Sn, usePreviousHistory as Cn } from "./shared/hooks/usePrevious.js";
65
+ import { useConditionalToggle as wn, useToggle as Tn, useToggleObject as En } from "./shared/hooks/useToggle.js";
66
+ import { useAsync as Dn, useAsyncImmediate as On } from "./shared/hooks/useAsync.js";
67
+ import { MODIFIER_KEYS as kn, PLATFORM_TYPES as An } from "./shared/keyboard/types.js";
68
+ import { useKeyboardShortcuts as jn } from "./shared/keyboard/useKeyboardShortcuts.js";
69
+ import { useHotkeys as Mn } from "./shared/keyboard/useHotkeys.js";
70
+ import { useShortcutHelp as Nn } from "./shared/keyboard/useShortcutHelp.js";
71
+ import { GLOBAL_SHORTCUT_CATEGORIES as Pn, createGlobalShortcuts as Fn, getGlobalShortcutsByCategory as In, mergeShortcuts as Ln } from "./shared/keyboard/globalShortcuts.js";
72
+ import { useLogger as Rn } from "./shared/logger/useLogger.js";
73
+ import { useHasAnimated as zn } from "./shared/hooks/useHasAnimated.js";
74
+ import { useReferralAttribution as Bn } from "./shared/hooks/useReferralAttribution.js";
75
+ import { QUOTA_EXHAUSTED_EVENT as Vn, dispatchQuotaExhausted as Hn, useQuotaErrorToast as Un } from "./shared/hooks/useQuotaErrorToast.js";
76
+ import { MicrofrontendContext as Wn, useMicrofrontendContext as Gn } from "./shared-hooks.js";
77
+ import { detectDeviceType as Kn, getResponsiveSelector as qn } from "./shared/tours/types.js";
78
+ import { useTourPlayer as Jn } from "./shared/tours/useTourPlayer.js";
79
+ import { TourSpotlight as Yn } from "./shared/tours/TourSpotlight.js";
80
+ import { TourTooltip as Xn } from "./shared/tours/TourTooltip.js";
81
+ import { TourPlayerProvider as Zn, useIsTourPlaying as Qn, useStartTour as $n, useStopTour as er, useTourPlayerContext as tr } from "./shared/tours/TourPlayerProvider.js";
82
+ import { TourPlayer as nr, TourTriggerButton as rr, usePlayTour as ir } from "./shared/tours/TourPlayer.js";
83
+ import { ToursProvider as ar, useAutoStartTour as or, useSafeToursContext as sr, useTours as cr, useToursContext as lr } from "./shared/tours/ToursContext.js";
84
+ import { TourTrigger as ur } from "./shared/tours/TourTrigger.js";
85
+ import { TourInitializer as dr } from "./shared/tours/TourInitializer.js";
86
+ import "./shared-tours.js";
87
+ import { AppShellProvider as fr, resolveAppShellObservabilityConfig as pr } from "./shared/providers/AppShellProvider.js";
88
+ import { MicrofrontendProvider as mr } from "./shared-providers.js";
89
+ import { getNativeBridge as hr } from "./shared/native/bridge.js";
90
+ import { getPlatform as gr, isAndroid as _r, isIOS as vr, isNative as yr, isWeb as br } from "./shared/native/platform.js";
91
+ import { nativeConfirm as xr, nativeCopyText as Sr, nativeImpact as Cr, nativeNotify as wr, nativeOpenUrl as Tr, nativeShare as Er, nativeToast as Dr } from "./shared/native/consumers.js";
92
+ import { useNativePlatform as Or } from "./shared/native/hooks/useNativePlatform.js";
93
+ import { useSafeArea as kr } from "./shared/native/hooks/useSafeArea.js";
94
+ import { useNativeKeyboard as Ar } from "./shared/native/hooks/useNativeKeyboard.js";
95
+ import { useAppState as jr } from "./shared/native/hooks/useAppState.js";
96
+ import { useDeviceInfo as Mr } from "./shared/native/hooks/useDeviceInfo.js";
97
+ import { useHaptics as Nr } from "./shared/native/hooks/useHaptics.js";
98
+ import { useStatusBar as Pr } from "./shared/native/hooks/useStatusBar.js";
99
+ import "./shared-native.js";
100
+ //#region src/shared/index.ts
101
+ var Fr = "1.0.0";
102
+ //#endregion
103
+ export { vt as AccessDenied, be as ApolloClient, xe as ApolloProvider, Ot as AppErrorBoundary, Je as AppInitializer, fr as AppShellProvider, dn as BREAKPOINTS, $t as BackendAuditSink, Qt as BroadcastChannelSink, U as COMMON_SHELL_LESS_ROUTES, Tt as ConditionalShell, tt as ConsoleTransport, Ft as ContextConversationWidget, Y as DEFAULT_PAGE_SIZE, W as DEFAULT_SHELL_CONFIG, Zt as DevtoolsSink, ft as ErrorBoundary, bt as ErrorFallback, nn as EventBusProvider, Fr as FE_SHARED_VERSION, kt as FeatureFlagProvider, Pt as FeatureGate, X as GATEWAYS, Pn as GLOBAL_SHORTCUT_CATEGORIES, he as GatewayProvider, Se as InMemoryCache, Yt as KeyboardHelpDialogWrapper, xt as LoadingFallback, Ze as LogLevel, $e as LogManager, Qe as Logger, kn as MODIFIER_KEYS, Wn as MicrofrontendContext, wt as MicrofrontendErrorBoundary, mr as MicrofrontendProvider, tn as OtelBrowserSink, An as PLATFORM_TYPES, z as PRODUCTS, B as PRODUCT_URLS, Dt as PWAInstallBanner, St as PageLoadingFallback, ht as PermissionButton, yt as PermissionDenied, gt as PermissionGate, _t as PermissionLink, st as QUOTA_EXHAUSTED_CODE, Vn as QUOTA_EXHAUSTED_EVENT, Xt as QuotaMeter, pt as RequireAuth, mt as RequireGuest, en as RybbitSink, le as SSELink, Ue as SSORedirectSpinner, Ct as SectionLoadingFallback, dr as TourInitializer, nr as TourPlayer, Zn as TourPlayerProvider, Yn as TourSpotlight, Xn as TourTooltip, ur as TourTrigger, rr as TourTriggerButton, ar as ToursProvider, t as alertTokens, ke as attemptTokenRefresh, ct as buildQuotaExhaustedMessage, f as capitalizeFirst, p as capitalizeWords, n as categoryTokens, We as checkRemoteSLO, Ge as checkSLO, Ae as clearAuthSessionStorage, Ke as clearLocalAuthState, Fe as clearSSoCookie, Ie as clearShellSsoCookies, nt as clearUserContext, dt as cn, e as createApolloClient, rn as createEventBus, Fn as createGlobalShortcuts, ue as createGraphQLClient, at as createProfileScopedStorage, Kn as detectDeviceType, It as detectPlatform, Hn as dispatchQuotaExhausted, lt as extractQuotaExhaustedExtensions, m as formatBytes, h as formatCompactNumber, g as formatCurrency, _ as formatCurrencyCompact, v as formatDate, y as formatDateTime, b as formatDuration, Lt as formatKeyCombo, x as formatList, S as formatNumber, C as formatOrdinal, w as formatPercentage, T as formatRelativeTime, E as formatTime, r as getAlertTokens, i as getCategoryTokens, Rt as getDisplayKeysForPlatform, Z as getGatewayConfig, Q as getGatewayUrl, de as getGlobalClient, In as getGlobalShortcutsByCategory, $ as getGraphQLEndpoint, hr as getNativeBridge, gr as getPlatform, V as getProductUrl, H as getProductsWithUrls, ot as getProfileScopedKey, a as getProgressTokens, qn as getResponsiveSelector, qe as getSSORedirectUrl, Le as getSSoCookie, G as getShellConfig, zt as getShortcutLabel, o as getStatusBadgeTokens, s as getStatusTokens, ne as getStoredAuthToken, re as getStoredLocale, ie as getStoredOrganizationId, ae as getStoredWorkspaceId, oe as getStoredWorkspaceToken, c as getTrendTokens, fe as getWorkspaceClient, ee as getWorkspaceTokenPayload, Ce as gql, se as graphqlFetch, je as hasAuthGraphQLErrors, pe as initializeAppClients, rt as initializeLogger, F as installGatewayFetchRewrite, _r as isAndroid, Me as isAuthGraphQLError, Ne as isAuthNetworkError, M as isChunkLoadError, vr as isIOS, Bt as isMac, Vt as isMobileDevice, yr as isNative, ut as isQuotaExhaustedError, Re as isSharedSsoCookieDomain, K as isShellLessRoute, Ht as isTabletDevice, ze as isTrustedSsoOrigin, br as isWeb, te as isWorkspaceTokenValidForContext, N as lazyWithRetry, et as logManager, Ut as matchesKeyCombo, Ln as mergeShortcuts, xr as nativeConfirm, Sr as nativeCopyText, Cr as nativeImpact, wr as nativeNotify, Tr as nativeOpenUrl, Er as nativeShare, Dr as nativeToast, Wt as normalizeKey, Gt as normalizePlatformCombo, Kt as parseKeyCombo, D as pluralize, l as progressTokens, Be as readShellSsoCookie, Pe as redirectToLogin, me as resetAppClients, pr as resolveAppShellObservabilityConfig, R as resolveAuthBridgeConfig, I as resolveGatewayBases, ce as resolveGatewayUrl, P as resolveGatewayUrls, Ve as setSSoCookie, He as setShellSsoCookies, it as setUserContext, qt as shouldEnableKeyboardShortcuts, Jt as shouldIgnoreShortcut, q as shouldShowBreadcrumb, J as shouldShowSidebar, O as slugify, u as statusTokens, L as suppressConsole, k as toCamelCase, A as toPascalCase, d as trendTokens, j as truncateText, we as useApolloClient, jr as useAppState, Dn as useAsync, On as useAsyncImmediate, or as useAutoStartTour, fn as useBreakpoint, wn as useConditionalToggle, vn as useCopyToClipboard, cn as useDebounce, Mr as useDeviceInfo, an as useEvent, on as useEventBus, sn as useEventEmitter, jt as useFeatureFlag, Mt as useFeatureFlagDetails, Nt as useFeatureFlagValue, At as useFeatureFlags, ge as useGateway, _e as useGatewayClient, Nr as useHaptics, zn as useHasAnimated, Mn as useHotkeys, Qn as useIsTourPlaying, gn as useKeyPress, _n as useKeyboardShortcut, jn as useKeyboardShortcuts, Te as useLazyQuery, yn as useLocalStorage, Rn as useLogger, un as useMediaQuery, Gn as useMicrofrontendContext, pn as useMobileBreakpoint, Ee as useMutation, Ar as useNativeKeyboard, Or as useNativePlatform, mn as useOnClickOutside, hn as useOnClickOutsideWithRef, Et as usePWA, ir as usePlayTour, xn as usePrevious, Sn as usePreviousDistinct, Cn as usePreviousHistory, De as useQuery, Un as useQuotaErrorToast, Bn as useReferralAttribution, Ye as useRegistryHelpers, kr as useSafeArea, ve as useSafeGateway, ye as useSafeGatewayClient, sr as useSafeToursContext, bn as useSessionStorage, Xe as useShellNavigate, Nn as useShortcutHelp, $n as useStartTour, Pr as useStatusBar, er as useStopTour, Oe as useSubscription, ln as useThrottle, Tn as useToggle, En as useToggleObject, Jn as useTourPlayer, tr as useTourPlayerContext, cr as useTours, lr as useToursContext };
@@ -0,0 +1,23 @@
1
+ import { gql } from '@apollo/client';
2
+ export interface StorageFolder {
3
+ id: string;
4
+ name: string;
5
+ path: string;
6
+ parentId?: string | null;
7
+ }
8
+ interface Props {
9
+ workspaceId: string;
10
+ value: StorageFolder | null;
11
+ onChange: (folder: StorageFolder | null) => void;
12
+ /** Customise GraphQL operation names if your gateway uses different ones. */
13
+ operations?: {
14
+ list?: ReturnType<typeof gql>;
15
+ create?: ReturnType<typeof gql>;
16
+ };
17
+ /** Optional starting parent folder ID. */
18
+ initialParentId?: string;
19
+ disabled?: boolean;
20
+ }
21
+ export declare function StorageFolderPicker({ workspaceId, value, onChange, operations, initialParentId, disabled, }: Props): import("react/jsx-runtime").JSX.Element;
22
+ export {};
23
+ //# sourceMappingURL=StorageFolderPicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StorageFolderPicker.d.ts","sourceRoot":"","sources":["../../src/storage/StorageFolderPicker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAIrC,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAiCD,UAAU,KAAK;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,aAAa,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,6EAA6E;IAC7E,UAAU,CAAC,EAAE;QACX,IAAI,CAAC,EAAE,UAAU,CAAC,OAAO,GAAG,CAAC,CAAC;QAC9B,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,GAAG,CAAC,CAAC;KACjC,CAAC;IACF,0CAA0C;IAC1C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,WAAW,EACX,KAAK,EACL,QAAQ,EACR,UAAU,EACV,eAAe,EACf,QAAQ,GACT,EAAE,KAAK,2CAsIP"}
@@ -0,0 +1,3 @@
1
+ export { StorageFolderPicker } from './StorageFolderPicker';
2
+ export type { StorageFolder } from './StorageFolderPicker';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/storage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,17 @@
1
+ export interface TagBadgeProps {
2
+ id: string;
3
+ label: string;
4
+ icon?: string;
5
+ color?: string;
6
+ description?: string;
7
+ removable?: boolean;
8
+ onClick?: () => void;
9
+ onRemove?: () => void;
10
+ className?: string;
11
+ size?: "sm" | "md" | "lg";
12
+ }
13
+ /**
14
+ * A badge component for displaying a tag with optional icon, color, and remove button
15
+ */
16
+ export declare function TagBadge({ label, icon, color, description, removable, onClick, onRemove, className, size, }: TagBadgeProps): import("react/jsx-runtime").JSX.Element;
17
+ //# sourceMappingURL=TagBadge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TagBadge.d.ts","sourceRoot":"","sources":["../../src/tag/TagBadge.tsx"],"names":[],"mappings":"AAWA,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B;AAQD;;GAEG;AACH,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,IAAI,EACJ,KAAK,EACL,WAAW,EACX,SAAiB,EACjB,OAAO,EACP,QAAQ,EACR,SAAS,EACT,IAAW,GACZ,EAAE,aAAa,2CAuDf"}
@@ -0,0 +1,51 @@
1
+ import { cn as e } from "../shared-utils.js";
2
+ import { Badge as t } from "../ui/badge.js";
3
+ import { Tooltip as n, TooltipContent as r, TooltipProvider as i, TooltipTrigger as a } from "../ui/tooltip.js";
4
+ import { X as o } from "lucide-react";
5
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
6
+ //#region src/tag/TagBadge.tsx
7
+ var l = {
8
+ sm: "text-xs px-1.5 py-0.5",
9
+ md: "text-sm px-2 py-0.5",
10
+ lg: "text-base px-2.5 py-1"
11
+ };
12
+ function u({ label: u, icon: d, color: f, description: p, removable: m = !1, onClick: h, onRemove: g, className: _, size: v = "md" }) {
13
+ let y = /* @__PURE__ */ c(t, {
14
+ variant: "secondary",
15
+ className: e("inline-flex items-center gap-1 font-medium transition-colors", l[v], h && "cursor-pointer hover:bg-secondary/80", _),
16
+ style: f ? {
17
+ backgroundColor: `${f}20`,
18
+ color: f,
19
+ borderColor: `${f}40`
20
+ } : void 0,
21
+ onClick: h,
22
+ children: [
23
+ d && /* @__PURE__ */ s("span", {
24
+ className: "flex-shrink-0",
25
+ children: d
26
+ }),
27
+ /* @__PURE__ */ s("span", {
28
+ className: "truncate max-w-[150px]",
29
+ children: u
30
+ }),
31
+ m && g && /* @__PURE__ */ s("button", {
32
+ type: "button",
33
+ onClick: (e) => {
34
+ e.stopPropagation(), g?.();
35
+ },
36
+ className: "flex-shrink-0 ml-0.5 rounded-full p-0.5 hover:bg-black/10 dark:hover:bg-white/10 transition-colors",
37
+ "aria-label": `Remove ${u}`,
38
+ children: /* @__PURE__ */ s(o, { className: "h-3 w-3" })
39
+ })
40
+ ]
41
+ });
42
+ return p ? /* @__PURE__ */ s(i, { children: /* @__PURE__ */ c(n, { children: [/* @__PURE__ */ s(a, {
43
+ asChild: !0,
44
+ children: y
45
+ }), /* @__PURE__ */ s(r, { children: /* @__PURE__ */ s("p", {
46
+ className: "max-w-xs",
47
+ children: p
48
+ }) })] }) }) : y;
49
+ }
50
+ //#endregion
51
+ export { u as TagBadge };
@@ -0,0 +1,103 @@
1
+ export interface TagItem {
2
+ id: string;
3
+ key: string;
4
+ label: string;
5
+ value?: string | null;
6
+ vocabularyId?: string | null;
7
+ vocabularyKey?: string | null;
8
+ vocabulary?: {
9
+ key: string;
10
+ } | null;
11
+ parentId?: string | null;
12
+ hierarchyPath?: string | null;
13
+ color?: string | null;
14
+ icon?: string | null;
15
+ description?: string | null;
16
+ }
17
+ export interface TagsWidgetProps {
18
+ /** The entity type being tagged, e.g. "Invoice", "BillingAccount" */
19
+ entityType: string;
20
+ /** The entity's ID */
21
+ entityId: string;
22
+ /** Workspace scope — widget renders nothing when empty */
23
+ workspaceId?: string;
24
+ /**
25
+ * Current tags on the entity (controlled).
26
+ * The parent is responsible for fetching and storing these from its own model.
27
+ */
28
+ tags: TagItem[];
29
+ /**
30
+ * Called when the user picks or creates a tag.
31
+ * The parent should persist the tag on the entity record and update `tags`.
32
+ * The widget will also call notifyTagAssigned internally to keep the graph in sync.
33
+ */
34
+ onAdd: (tag: TagItem) => void | Promise<void>;
35
+ /**
36
+ * Called when the user removes a tag badge.
37
+ * The parent should remove the tag from the entity record and update `tags`.
38
+ * The widget will also call notifyTagRemoved internally to keep the graph in sync.
39
+ */
40
+ onRemove: (tagId: string) => void | Promise<void>;
41
+ /**
42
+ * Constrain search/creation to a specific vocabulary.
43
+ * When omitted and allowCreate=true, a workspace-level "General" vocabulary
44
+ * is automatically resolved (or created) on first tag creation.
45
+ */
46
+ vocabularyId?: string;
47
+ /** Allow creating new tags on the fly. Default: true */
48
+ allowCreate?: boolean;
49
+ /**
50
+ * When true, emit graph-only notifyTagAssigned/Removed mutations after the parent
51
+ * persists the entity-owned tags. Disable when the entity's own graph event is the
52
+ * canonical projection path.
53
+ */
54
+ syncGraphNotifications?: boolean;
55
+ maxTags?: number;
56
+ className?: string;
57
+ }
58
+ /**
59
+ * TagsWidget - compact, embeddable tag input (controlled).
60
+ *
61
+ * Drop this next to any entity to let users search/assign/create tags without
62
+ * leaving the current page. The widget is **controlled**: the parent owns the
63
+ * tag list and persists it on the entity record. The widget's only
64
+ * responsibilities are:
65
+ * 1. Rendering the badge strip and search/create popover.
66
+ * 2. Calling onAdd / onRemove so the parent can update its state.
67
+ * 3. Firing notifyTagAssigned / notifyTagRemoved mutations to wspace-tags-svc
68
+ * so ArangoDB stays in sync (tagged_with edges) — no UniversalTagAssignment
69
+ * row is written to Postgres.
70
+ *
71
+ * ```tsx
72
+ * import { TagsWidget } from '@burdenoff/fe-libs/tag';
73
+ *
74
+ * function InvoiceRow({ invoice }) {
75
+ * const [tags, setTags] = useState(invoice.tags ?? []);
76
+ * const [updateInvoice] = useMutation(UPDATE_INVOICE_TAGS);
77
+ *
78
+ * const handleAdd = async (tag) => {
79
+ * const next = [...tags, tag];
80
+ * setTags(next);
81
+ * await updateInvoice({ variables: { id: invoice.id, tagIds: next.map(t => t.id) } });
82
+ * };
83
+ * const handleRemove = async (tagId) => {
84
+ * const next = tags.filter(t => t.id !== tagId);
85
+ * setTags(next);
86
+ * await updateInvoice({ variables: { id: invoice.id, tagIds: next.map(t => t.id) } });
87
+ * };
88
+ *
89
+ * return (
90
+ * <TagsWidget
91
+ * entityType="Invoice"
92
+ * entityId={invoice.id}
93
+ * workspaceId={workspaceId}
94
+ * tags={tags}
95
+ * onAdd={handleAdd}
96
+ * onRemove={handleRemove}
97
+ * />
98
+ * );
99
+ * }
100
+ * ```
101
+ */
102
+ export declare function TagsWidget({ entityType, entityId, workspaceId, tags, onAdd, onRemove, vocabularyId: vocabIdProp, allowCreate, syncGraphNotifications, maxTags, className, }: TagsWidgetProps): import("react/jsx-runtime").JSX.Element | null;
103
+ //# sourceMappingURL=TagsWidget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TagsWidget.d.ts","sourceRoot":"","sources":["../../src/tag/TagsWidget.tsx"],"names":[],"mappings":"AAgGA,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,UAAU,CAAC,EAAE;QACX,GAAG,EAAE,MAAM,CAAC;KACb,GAAG,IAAI,CAAC;IACT,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAUD,MAAM,WAAW,eAAe;IAC9B,qEAAqE;IACrE,UAAU,EAAE,MAAM,CAAC;IACnB,sBAAsB;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,0DAA0D;IAC1D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB;;;;OAIG;IACH,KAAK,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C;;;;OAIG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAClD;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wDAAwD;IACxD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,wBAAgB,UAAU,CAAC,EACzB,UAAU,EACV,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,YAAY,EAAE,WAAW,EACzB,WAAkB,EAClB,sBAA6B,EAC7B,OAAY,EACZ,SAAS,GACV,EAAE,eAAe,kDAuUjB"}
@@ -0,0 +1,283 @@
1
+ import { useGatewayClient as e } from "../shared/graphql/GatewayContext.js";
2
+ import { cn as t } from "../shared-utils.js";
3
+ import { Command as n, CommandEmpty as r, CommandGroup as i, CommandInput as a, CommandItem as o, CommandList as ee } from "../ui/command.js";
4
+ import { Popover as te, PopoverContent as ne, PopoverTrigger as re } from "../ui/popover.js";
5
+ import { TagBadge as ie } from "./TagBadge.js";
6
+ import { useCallback as s, useEffect as ae, useRef as oe, useState as c } from "react";
7
+ import { Loader2 as l, Plus as u, Search as d, Tag as f, X as p } from "lucide-react";
8
+ import { jsx as m, jsxs as h } from "react/jsx-runtime";
9
+ import { gql as g } from "@apollo/client";
10
+ import { useLazyQuery as _, useMutation as v } from "@apollo/client/react";
11
+ //#region src/tag/TagsWidget.tsx
12
+ var se = g`
13
+ query TagsWidget_SearchTags($query: String!, $vocabularyId: ID, $limit: Int) {
14
+ searchTags(query: $query, vocabularyId: $vocabularyId, limit: $limit) {
15
+ id
16
+ key
17
+ label
18
+ value
19
+ vocabularyId
20
+ parentId
21
+ hierarchyPath
22
+ color
23
+ icon
24
+ description
25
+ vocabulary {
26
+ key
27
+ }
28
+ }
29
+ }
30
+ `, ce = g`
31
+ query TagsWidget_GetVocabularyByKey($key: String!) {
32
+ getVocabularyByKey(key: $key) {
33
+ id
34
+ key
35
+ name
36
+ }
37
+ }
38
+ `, y = g`
39
+ mutation TagsWidget_CreateVocabulary($input: CreateVocabularyInput!) {
40
+ createVocabulary(input: $input) {
41
+ id
42
+ key
43
+ name
44
+ }
45
+ }
46
+ `, le = g`
47
+ mutation TagsWidget_CreateTag($input: CreateTagInput!) {
48
+ createTag(input: $input) {
49
+ id
50
+ key
51
+ label
52
+ value
53
+ vocabularyId
54
+ parentId
55
+ hierarchyPath
56
+ color
57
+ icon
58
+ vocabulary {
59
+ key
60
+ }
61
+ }
62
+ }
63
+ `, b = g`
64
+ mutation TagsWidget_NotifyTagAssigned($input: NotifyTagAssignedInput!) {
65
+ notifyTagAssigned(input: $input)
66
+ }
67
+ `, ue = g`
68
+ mutation TagsWidget_NotifyTagRemoved(
69
+ $key: String!
70
+ $entityType: String!
71
+ $entityId: ID!
72
+ ) {
73
+ notifyTagRemoved(key: $key, entityType: $entityType, entityId: $entityId)
74
+ }
75
+ `, x = "general";
76
+ function S({ entityType: g, entityId: S, workspaceId: de, tags: C, onAdd: w, onRemove: T, vocabularyId: fe, allowCreate: E = !0, syncGraphNotifications: D = !0, maxTags: O = 20, className: pe }) {
77
+ let [me, k] = c(!1), [A, j] = c(""), [M, N] = c(null), [P, F] = c(fe), I = oe(null), L = e("workspace"), R = !de || !S, he = new Set(C.map((e) => e.id)), z = C.length < O, [B, { data: ge, loading: V }] = _(se, { client: L }), H = (ge?.searchTags ?? []).filter((e) => !he.has(e.id)), [U] = _(ce, { client: L }), [W] = v(y, { client: L }), [G, { loading: K }] = v(le, { client: L }), [q, J] = c(!1), [Y] = v(b, { client: L }), [X] = v(ue, { client: L }), Z = s(async () => {
78
+ if (P) return P;
79
+ let e = (await U({ variables: { key: x } })).data?.getVocabularyByKey;
80
+ if (e) return F(e.id), e.id;
81
+ let t = (await W({ variables: { input: {
82
+ key: x,
83
+ name: "General",
84
+ description: "Default vocabulary for general-purpose tags",
85
+ scope: "WORKSPACE",
86
+ allowCustomTags: !0
87
+ } } })).data?.createVocabulary;
88
+ if (!t) throw Error("Failed to create default vocabulary");
89
+ return F(t.id), t.id;
90
+ }, [
91
+ P,
92
+ U,
93
+ W
94
+ ]), _e = s((e) => {
95
+ j(e), M && N(null), I.current && clearTimeout(I.current), e.trim() && (I.current = setTimeout(() => {
96
+ B({ variables: {
97
+ query: e,
98
+ vocabularyId: P,
99
+ limit: 10
100
+ } });
101
+ }, 250));
102
+ }, [
103
+ B,
104
+ P,
105
+ M
106
+ ]);
107
+ ae(() => () => {
108
+ I.current && clearTimeout(I.current);
109
+ }, []);
110
+ let Q = s(async (e) => {
111
+ if (!(!z || q)) {
112
+ J(!0);
113
+ try {
114
+ await w({
115
+ ...e,
116
+ vocabularyKey: e.vocabularyKey ?? e.vocabulary?.key ?? null
117
+ }), j(""), k(!1), D && Y({ variables: { input: {
118
+ key: e.key,
119
+ entityType: g,
120
+ entityId: S,
121
+ source: "MANUAL"
122
+ } } });
123
+ } finally {
124
+ J(!1);
125
+ }
126
+ }
127
+ }, [
128
+ Y,
129
+ w,
130
+ g,
131
+ S,
132
+ z,
133
+ q,
134
+ D
135
+ ]), ve = s(async () => {
136
+ if (!(!E || !A.trim() || K)) {
137
+ N(null);
138
+ try {
139
+ let e = A.trim(), t = e.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "");
140
+ if (!t) {
141
+ N("Must contain at least one letter or number");
142
+ return;
143
+ }
144
+ let n = (await G({ variables: { input: {
145
+ key: t,
146
+ label: e,
147
+ vocabularyId: await Z()
148
+ } } })).data?.createTag;
149
+ if (!n) throw Error("No data returned");
150
+ await Q(n);
151
+ } catch (e) {
152
+ N(e instanceof Error ? e.message : "Failed to create tag");
153
+ }
154
+ }
155
+ }, [
156
+ E,
157
+ A,
158
+ K,
159
+ Z,
160
+ G,
161
+ Q
162
+ ]), ye = s(async (e) => {
163
+ let t = C.find((t) => t.id === e);
164
+ await T(e), t && D && X({ variables: {
165
+ key: t.key,
166
+ entityType: g,
167
+ entityId: S
168
+ } });
169
+ }, [
170
+ X,
171
+ T,
172
+ C,
173
+ g,
174
+ S,
175
+ D
176
+ ]);
177
+ if (R) return null;
178
+ let $ = E && A.trim() && !V && H.length === 0;
179
+ return /* @__PURE__ */ h("div", {
180
+ className: t("flex flex-wrap items-center gap-1.5", pe),
181
+ children: [C.map((e) => /* @__PURE__ */ m(ie, {
182
+ id: e.id,
183
+ label: e.label,
184
+ color: e.color ?? void 0,
185
+ icon: e.icon ?? void 0,
186
+ description: e.description ?? void 0,
187
+ removable: !0,
188
+ onRemove: () => void ye(e.id),
189
+ size: "sm"
190
+ }, e.id)), z && /* @__PURE__ */ h(te, {
191
+ open: me,
192
+ onOpenChange: k,
193
+ children: [/* @__PURE__ */ m(re, {
194
+ asChild: !0,
195
+ children: /* @__PURE__ */ h("button", {
196
+ type: "button",
197
+ "aria-label": "Add tag",
198
+ className: t("inline-flex items-center gap-1 px-2 py-0.5 rounded-full border border-dashed", "border-border text-muted-foreground text-xs", "hover:border-foreground hover:text-foreground transition-colors", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"),
199
+ children: [/* @__PURE__ */ m(f, { className: "h-3 w-3" }), /* @__PURE__ */ m("span", { children: C.length === 0 ? "Add tags" : "Add" })]
200
+ })
201
+ }), /* @__PURE__ */ m(ne, {
202
+ className: "w-64 p-0",
203
+ align: "start",
204
+ side: "bottom",
205
+ sideOffset: 4,
206
+ children: /* @__PURE__ */ h(n, {
207
+ shouldFilter: !1,
208
+ children: [
209
+ /* @__PURE__ */ h("div", {
210
+ className: "flex items-center border-b border-border px-3",
211
+ children: [
212
+ /* @__PURE__ */ m(d, { className: "h-4 w-4 shrink-0 text-muted-foreground" }),
213
+ /* @__PURE__ */ m(a, {
214
+ placeholder: "Search or create a tag...",
215
+ value: A,
216
+ onValueChange: _e,
217
+ className: "h-9 flex-1 border-0 bg-transparent px-2 text-sm outline-none placeholder:text-muted-foreground"
218
+ }),
219
+ V && /* @__PURE__ */ m(l, { className: "h-3.5 w-3.5 shrink-0 animate-spin text-muted-foreground" })
220
+ ]
221
+ }),
222
+ /* @__PURE__ */ h(ee, {
223
+ className: "max-h-48 overflow-y-auto",
224
+ children: [
225
+ A.trim() === "" && /* @__PURE__ */ m(r, {
226
+ className: "py-4 text-center text-xs text-muted-foreground",
227
+ children: "Type to search or create a tag"
228
+ }),
229
+ H.length > 0 && /* @__PURE__ */ m(i, { children: H.map((e) => /* @__PURE__ */ h(o, {
230
+ value: e.id,
231
+ onSelect: () => void Q(e),
232
+ className: "flex items-center gap-2 px-3 py-2 cursor-pointer",
233
+ disabled: q,
234
+ children: [
235
+ e.icon && /* @__PURE__ */ m("span", {
236
+ className: "text-sm",
237
+ children: e.icon
238
+ }),
239
+ /* @__PURE__ */ m("span", {
240
+ className: "truncate text-sm",
241
+ style: e.color ? { color: e.color } : void 0,
242
+ children: e.label
243
+ }),
244
+ q && /* @__PURE__ */ m(l, { className: "ml-auto h-3 w-3 animate-spin" })
245
+ ]
246
+ }, e.id)) }),
247
+ $ && /* @__PURE__ */ m(i, { children: /* @__PURE__ */ h(o, {
248
+ value: `__create__${A}`,
249
+ onSelect: () => void ve(),
250
+ className: "flex items-center gap-2 px-3 py-2 cursor-pointer text-primary",
251
+ disabled: K,
252
+ children: [K ? /* @__PURE__ */ m(l, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ m(u, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ m("span", {
253
+ className: "text-sm truncate",
254
+ children: K ? "Creating..." : `Create "${A}"`
255
+ })]
256
+ }) }),
257
+ A.trim() !== "" && !V && H.length === 0 && !$ && /* @__PURE__ */ m(r, {
258
+ className: "py-4 text-center text-xs text-muted-foreground",
259
+ children: "No tags found"
260
+ }),
261
+ M && /* @__PURE__ */ m("div", {
262
+ className: "px-3 py-2 text-xs text-destructive border-t border-border",
263
+ children: M
264
+ })
265
+ ]
266
+ }),
267
+ !z && /* @__PURE__ */ h("div", {
268
+ className: "border-t border-border px-3 py-2 text-xs text-muted-foreground flex items-center gap-1",
269
+ children: [
270
+ /* @__PURE__ */ m(p, { className: "h-3 w-3" }),
271
+ "Maximum ",
272
+ O,
273
+ " tags reached"
274
+ ]
275
+ })
276
+ ]
277
+ })
278
+ })]
279
+ })]
280
+ });
281
+ }
282
+ //#endregion
283
+ export { S as TagsWidget };
@@ -0,0 +1,3 @@
1
+ export { TagBadge, type TagBadgeProps } from './TagBadge';
2
+ export { TagsWidget, type TagsWidgetProps, type TagItem } from './TagsWidget';
3
+ //# sourceMappingURL=index.d.ts.map