@carlonicora/nextjs-jsonapi 1.108.0 → 1.110.0

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 (144) hide show
  1. package/dist/{AssistantInterface-BYgI5z1-.d.mts → AssistantInterface-B1c8FhGA.d.mts} +2 -0
  2. package/dist/{AssistantInterface-DfDcz0gJ.d.ts → AssistantInterface-BBUHxOCd.d.ts} +2 -0
  3. package/dist/{AssistantMessageInterface-BpEhx2pC.d.ts → AssistantMessageInterface-BNzf1etU.d.ts} +16 -1
  4. package/dist/{AssistantMessageInterface-DJ3Me16Y.d.mts → AssistantMessageInterface-DrgHDjZ5.d.mts} +16 -1
  5. package/dist/{AuthComponent-B6DIk8Vf.d.ts → AuthComponent-Cd7lcYif.d.ts} +1 -1
  6. package/dist/{AuthComponent-BKI0ZbtD.d.mts → AuthComponent-DdxCFgUZ.d.mts} +1 -1
  7. package/dist/{BlockNoteEditor-2AXSTGGG.js → BlockNoteEditor-7OKW6HHN.js} +19 -19
  8. package/dist/{BlockNoteEditor-2AXSTGGG.js.map → BlockNoteEditor-7OKW6HHN.js.map} +1 -1
  9. package/dist/{BlockNoteEditor-XVIBGXHF.mjs → BlockNoteEditor-K7IIWM3S.mjs} +4 -4
  10. package/dist/BlockNoteViewer-OPSCTHKJ.mjs +31 -0
  11. package/dist/BlockNoteViewer-OPSCTHKJ.mjs.map +1 -0
  12. package/dist/BlockNoteViewer-UW5VZ5UF.js +31 -0
  13. package/dist/BlockNoteViewer-UW5VZ5UF.js.map +1 -0
  14. package/dist/{auth.interface-BBUgMZzs.d.ts → auth.interface-8b601idJ.d.ts} +1 -1
  15. package/dist/{auth.interface-XYEREOD6.d.mts → auth.interface-CXBF8Mhi.d.mts} +1 -1
  16. package/dist/billing/index.d.mts +41 -41
  17. package/dist/billing/index.d.ts +41 -41
  18. package/dist/billing/index.js +346 -346
  19. package/dist/billing/index.mjs +3 -3
  20. package/dist/{chunk-VLDLERJN.js → chunk-6XWW67F2.js} +29 -9
  21. package/dist/chunk-6XWW67F2.js.map +1 -0
  22. package/dist/{chunk-HC3JFN3C.js → chunk-AKXUNE3A.js} +1004 -862
  23. package/dist/chunk-AKXUNE3A.js.map +1 -0
  24. package/dist/{chunk-CFECWLHH.mjs → chunk-CWVYU4YZ.mjs} +23 -3
  25. package/dist/chunk-CWVYU4YZ.mjs.map +1 -0
  26. package/dist/{chunk-56XBGQGU.mjs → chunk-TXVVZLUQ.mjs} +1422 -1280
  27. package/dist/chunk-TXVVZLUQ.mjs.map +1 -0
  28. package/dist/{chunk-RXXZGPC3.js → chunk-U2HR57MY.js} +265 -113
  29. package/dist/chunk-U2HR57MY.js.map +1 -0
  30. package/dist/chunk-WPAQRB5Q.mjs +7 -0
  31. package/dist/chunk-WPAQRB5Q.mjs.map +1 -0
  32. package/dist/chunk-YBZVWLPH.js +7 -0
  33. package/dist/chunk-YBZVWLPH.js.map +1 -0
  34. package/dist/{chunk-N3NVIPSU.mjs → chunk-ZYPNVEHB.mjs} +235 -83
  35. package/dist/{chunk-N3NVIPSU.mjs.map → chunk-ZYPNVEHB.mjs.map} +1 -1
  36. package/dist/client/index.d.mts +9 -18
  37. package/dist/client/index.d.ts +9 -18
  38. package/dist/client/index.js +4 -4
  39. package/dist/client/index.mjs +3 -3
  40. package/dist/components/index.d.mts +421 -417
  41. package/dist/components/index.d.ts +421 -417
  42. package/dist/components/index.js +6 -4
  43. package/dist/components/index.js.map +1 -1
  44. package/dist/components/index.mjs +5 -3
  45. package/dist/{config-CLQynoaa.d.ts → config-BrkU_Ynz.d.ts} +4 -1
  46. package/dist/{config-k61pe_o2.d.mts → config-snd2ToEB.d.mts} +4 -1
  47. package/dist/contexts/index.d.mts +31 -20
  48. package/dist/contexts/index.d.ts +31 -20
  49. package/dist/contexts/index.js +4 -4
  50. package/dist/contexts/index.mjs +3 -3
  51. package/dist/core/index.d.mts +75 -11
  52. package/dist/core/index.d.ts +75 -11
  53. package/dist/core/index.js +2 -2
  54. package/dist/core/index.mjs +1 -1
  55. package/dist/features/help/index.css +29 -0
  56. package/dist/features/help/index.css.map +1 -0
  57. package/dist/features/help/index.d.mts +74 -0
  58. package/dist/features/help/index.d.ts +74 -0
  59. package/dist/features/help/index.js +522 -0
  60. package/dist/features/help/index.js.map +1 -0
  61. package/dist/features/help/index.mjs +522 -0
  62. package/dist/features/help/index.mjs.map +1 -0
  63. package/dist/features/help/server.d.mts +33 -0
  64. package/dist/features/help/server.d.ts +33 -0
  65. package/dist/features/help/server.js +8 -0
  66. package/dist/features/help/server.js.map +1 -0
  67. package/dist/features/help/server.mjs +8 -0
  68. package/dist/features/help/server.mjs.map +1 -0
  69. package/dist/help-content-config.interface-C5ESIod9.d.mts +13 -0
  70. package/dist/help-content-config.interface-C5ESIod9.d.ts +13 -0
  71. package/dist/index.d.mts +10 -8
  72. package/dist/index.d.ts +10 -8
  73. package/dist/index.js +3 -3
  74. package/dist/index.mjs +2 -2
  75. package/dist/{notification.interface-aLEJbA_g.d.ts → notification.interface-C1T1C2ee.d.ts} +1 -100
  76. package/dist/{notification.interface-DLZGtV7Z.d.mts → notification.interface-DIxR23eS.d.mts} +1 -100
  77. package/dist/{s3.service-CVgLWaDc.d.mts → s3.service-0BTClOYO.d.mts} +2 -2
  78. package/dist/{s3.service-SLlX0Zbz.d.ts → s3.service-CT27Fm1s.d.ts} +2 -2
  79. package/dist/server/index.d.mts +4 -3
  80. package/dist/server/index.d.ts +4 -3
  81. package/dist/server/index.js +3 -3
  82. package/dist/server/index.mjs +1 -1
  83. package/dist/testing/index.d.mts +1 -2
  84. package/dist/testing/index.d.ts +1 -2
  85. package/dist/types-CQSjy7et.d.mts +101 -0
  86. package/dist/types-DHOxe8rc.d.ts +101 -0
  87. package/dist/usePageUrlGenerator-tjq2mlDV.d.ts +14 -0
  88. package/dist/usePageUrlGenerator-uOnyJ6j2.d.mts +14 -0
  89. package/dist/{useSocket-BkxHHujj.d.mts → useSocket-B1fMIr17.d.mts} +1 -1
  90. package/dist/{useSocket-CMDjWFYm.d.ts → useSocket-BdJTBXKv.d.ts} +1 -1
  91. package/package.json +15 -1
  92. package/src/client/config.ts +9 -1
  93. package/src/components/index.ts +1 -0
  94. package/src/components/viewers/BlockNoteViewer.tsx +27 -0
  95. package/src/components/viewers/BlockNoteViewerContainer.tsx +10 -0
  96. package/src/core/registry/helpStore.ts +28 -0
  97. package/src/features/assistant/contexts/AssistantContext.tsx +35 -19
  98. package/src/features/assistant/contexts/__tests__/AssistantContext.spec.tsx +66 -6
  99. package/src/features/assistant/data/Assistant.ts +2 -0
  100. package/src/features/assistant/data/AssistantInterface.ts +2 -0
  101. package/src/features/assistant/data/AssistantService.ts +18 -8
  102. package/src/features/assistant-message/components/parts/MessageSourcesContainer.tsx +4 -0
  103. package/src/features/assistant-message/components/parts/MessageSourcesPanel.tsx +6 -4
  104. package/src/features/assistant-message/components/parts/tabs/ContentsTab.tsx +5 -1
  105. package/src/features/assistant-message/components/parts/tabs/ReferencesTab.tsx +3 -1
  106. package/src/features/assistant-message/data/AssistantMessage.ts +27 -1
  107. package/src/features/assistant-message/data/AssistantMessageInterface.ts +1 -0
  108. package/src/features/assistant-message/data/__tests__/AssistantMessage.spec.ts +7 -3
  109. package/src/features/help/components/HelpArticleBody.tsx +62 -0
  110. package/src/features/help/components/HelpAskAi.tsx +36 -0
  111. package/src/features/help/components/HelpAssistantSheet.tsx +53 -0
  112. package/src/features/help/components/HelpHeader.tsx +40 -0
  113. package/src/features/help/components/HelpHint.tsx +86 -0
  114. package/src/features/help/components/HelpSearchResultRow.tsx +61 -0
  115. package/src/features/help/components/HelpSideNav.tsx +119 -0
  116. package/src/features/help/components/HelpTOC.tsx +49 -0
  117. package/src/features/help/components/__tests__/HelpAskAi.spec.tsx +68 -0
  118. package/src/features/help/components/__tests__/HelpAssistantSheet.spec.tsx +36 -0
  119. package/src/features/help/components/__tests__/HelpHint.spec.tsx +50 -0
  120. package/src/features/help/components/__tests__/HelpSearchResultRow.spec.tsx +58 -0
  121. package/src/features/help/components/__tests__/HelpSideNav.spec.tsx +50 -0
  122. package/src/features/help/contexts/HelpContext.spec.tsx +26 -0
  123. package/src/features/help/contexts/HelpContext.tsx +24 -0
  124. package/src/features/help/hooks/useHelp.ts +1 -0
  125. package/src/features/help/hooks/useHelpFilter.ts +27 -0
  126. package/src/features/help/i18n-keys.ts +34 -0
  127. package/src/features/help/index.ts +24 -0
  128. package/src/features/help/interfaces/help-content-config.interface.ts +12 -0
  129. package/src/features/help/server-entry.ts +11 -0
  130. package/src/features/help/types/help-article.types.ts +35 -0
  131. package/src/features/help/utils/articleUrl.ts +13 -0
  132. package/src/features/how-to/HowToModule.ts +14 -1
  133. package/src/features/how-to/components/forms/HowToEditor.tsx +108 -4
  134. package/src/features/how-to/data/HowTo.spec.ts +43 -0
  135. package/src/features/how-to/data/HowTo.ts +64 -3
  136. package/src/features/how-to/data/HowToInterface.ts +14 -0
  137. package/src/features/how-to/data/HowToService.ts +61 -0
  138. package/src/index.ts +4 -0
  139. package/dist/chunk-56XBGQGU.mjs.map +0 -1
  140. package/dist/chunk-CFECWLHH.mjs.map +0 -1
  141. package/dist/chunk-HC3JFN3C.js.map +0 -1
  142. package/dist/chunk-RXXZGPC3.js.map +0 -1
  143. package/dist/chunk-VLDLERJN.js.map +0 -1
  144. /package/dist/{BlockNoteEditor-XVIBGXHF.mjs.map → BlockNoteEditor-K7IIWM3S.mjs.map} +0 -0
@@ -3,29 +3,30 @@ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from '../Api
3
3
  import { A as ApiRequestDataTypeInterface, F as FieldSelector } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
4
4
  export { G as GetterKeys, c as createJsonApiInclusion } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
5
5
  import { A as ApiResponseInterface } from '../ApiResponseInterface-rsXRL_Hn.mjs';
6
- import { b as AbstractService, i as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, k as S3Interface, j as S3Input } from '../s3.service-CVgLWaDc.mjs';
7
- export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, N as NotificationService, P as PushService, R as RoleService, S as S3Service, e as SelfRef, T as TotalRef, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-CVgLWaDc.mjs';
8
- import { M as ModuleWithPermissions, g as PermissionUser, A as Action, f as PermissionModule, h as ModuleFactory, l as RoleInterface, R as RoleInput, U as UserInterface, j as CompanyInterface, m as UserInput, i as CompanyInput, C as ContentInterface, a as ContentInput, N as NotificationInterface, k as NotificationInput } from '../notification.interface-DLZGtV7Z.mjs';
9
- export { d as ModuleDefinition, c as ModulePermissionDefinition, b as PageUrl, P as PermissionCheck, e as PermissionConfig } from '../notification.interface-DLZGtV7Z.mjs';
10
- import { a as HowToInterface, H as HowToInput, c as AssistantMessageInterface, A as AssistantMessageRole, d as ChunkInterface, C as ChunkRelationshipMeta, b as AssistantMessageInput } from '../AssistantMessageInterface-DJ3Me16Y.mjs';
11
- export { B as BreadcrumbItemData } from '../AssistantMessageInterface-DJ3Me16Y.mjs';
6
+ import { b as AbstractService, i as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, k as S3Interface, j as S3Input } from '../s3.service-0BTClOYO.mjs';
7
+ export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, N as NotificationService, P as PushService, R as RoleService, S as S3Service, e as SelfRef, T as TotalRef, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-0BTClOYO.mjs';
8
+ import { M as ModuleWithPermissions, f as PermissionUser, A as Action, e as PermissionModule, g as ModuleFactory } from '../types-CQSjy7et.mjs';
9
+ export { c as ModuleDefinition, b as ModulePermissionDefinition, P as PageUrl, a as PermissionCheck, d as PermissionConfig } from '../types-CQSjy7et.mjs';
10
+ import { a as HowToInterface, H as HowToInput, c as AssistantMessageInterface, A as AssistantMessageRole, d as ChunkInterface, C as ChunkRelationshipMeta, b as AssistantMessageInput } from '../AssistantMessageInterface-DrgHDjZ5.mjs';
11
+ export { B as BreadcrumbItemData } from '../AssistantMessageInterface-DrgHDjZ5.mjs';
12
12
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from '../content.fields-xH3TGvVk.mjs';
13
13
  import { ClassValue } from 'clsx';
14
14
  export { ClassValue } from 'clsx';
15
15
  import * as React from 'react';
16
16
  import { ReactElement, ReactNode, JSXElementConstructor } from 'react';
17
17
  import { z } from 'zod';
18
- import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-BKI0ZbtD.mjs';
19
- export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-BKI0ZbtD.mjs';
18
+ import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-DdxCFgUZ.mjs';
19
+ export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-DdxCFgUZ.mjs';
20
20
  import { PartialBlock } from '@blocknote/core';
21
21
  import { ExternalToast } from 'sonner';
22
- import { b as AuthInterface, A as AuthInput } from '../auth.interface-XYEREOD6.mjs';
23
- export { a as AuthQuery } from '../auth.interface-XYEREOD6.mjs';
22
+ import { e as RoleInterface, R as RoleInput, U as UserInterface, c as CompanyInterface, f as UserInput, b as CompanyInput, C as ContentInterface, a as ContentInput, N as NotificationInterface, d as NotificationInput } from '../notification.interface-DIxR23eS.mjs';
23
+ import { b as AuthInterface, A as AuthInput } from '../auth.interface-CXBF8Mhi.mjs';
24
+ export { a as AuthQuery } from '../auth.interface-CXBF8Mhi.mjs';
24
25
  import { PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON, PublicKeyCredentialRequestOptionsJSON, AuthenticationResponseJSON } from '@simplewebauthn/browser';
25
26
  import { M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, S as StripeCustomerInterface, a as StripeInvoiceInterface, j as StripeSubscriptionInterface, I as InvoiceStatus, g as StripeProductInterface, d as StripePriceInterface, h as StripeProductInput, e as PriceRecurring, f as StripePriceInput, i as SubscriptionStatus, k as StripeSubscriptionInput, m as StripeSubscriptionCreateResponse, b as ProrationPreviewInterface, n as StripeUsageInterface, R as ReportUsageInput, U as UsageSummaryInterface, q as PromotionCodeValidationResult } from '../stripe-promotion-code.interface-ClZ7DxS9.mjs';
26
27
  export { c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-promotion-code.interface-ClZ7DxS9.mjs';
27
28
  import { M as ModuleInterface, F as FeatureInterface } from '../feature.interface-CXb1-vNq.mjs';
28
- import { a as AssistantInterface, A as AssistantInput } from '../AssistantInterface-BYgI5z1-.mjs';
29
+ import { a as AssistantInterface, A as AssistantInput } from '../AssistantInterface-B1c8FhGA.mjs';
29
30
  import { O as OAuthClientInterface, a as OAuthClientInput, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, d as OAuthConsentRequest, f as OAuthConsentInfo } from '../oauth.interface-o5FLpiN7.mjs';
30
31
  export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, e as OAuthScopeInfo } from '../oauth.interface-o5FLpiN7.mjs';
31
32
  import 'lucide-react';
@@ -1767,6 +1768,13 @@ declare const HowToModule: (factory: ModuleFactory) => ModuleWithPermissions;
1767
1768
  declare class HowTo extends Content implements HowToInterface {
1768
1769
  private _description?;
1769
1770
  private _pages?;
1771
+ private _howToType?;
1772
+ private _slug?;
1773
+ private _order?;
1774
+ private _summary?;
1775
+ private _tags?;
1776
+ private _contextualKeys?;
1777
+ private _draft?;
1770
1778
  /**
1771
1779
  * Parse pages from backend JSON string (handles legacy single string + JSON array)
1772
1780
  */
@@ -1777,6 +1785,13 @@ declare class HowTo extends Content implements HowToInterface {
1777
1785
  static serializePagesToString(pages: string[]): string | undefined;
1778
1786
  get description(): any;
1779
1787
  get pages(): string | undefined;
1788
+ get howToType(): string | undefined;
1789
+ get slug(): string | undefined;
1790
+ get order(): number | undefined;
1791
+ get summary(): string | undefined;
1792
+ get tags(): string[];
1793
+ get contextualKeys(): string[];
1794
+ get draft(): boolean;
1780
1795
  rehydrate(data: JsonApiHydratedDataInterface): this;
1781
1796
  createJsonApi(data: HowToInput): any;
1782
1797
  }
@@ -1805,6 +1820,25 @@ declare class HowToService extends AbstractService {
1805
1820
  static delete(params: {
1806
1821
  howToId: string;
1807
1822
  }): Promise<void>;
1823
+ static findPublished(params?: {
1824
+ howToType?: string;
1825
+ }): Promise<HowToInterface[]>;
1826
+ static findPublishedArticle(params: {
1827
+ howToType: string;
1828
+ slug: string;
1829
+ }): Promise<HowToInterface>;
1830
+ static findRelated(params: {
1831
+ howToType: string;
1832
+ slug: string;
1833
+ }): Promise<HowToInterface[]>;
1834
+ static addRelated(params: {
1835
+ howToId: string;
1836
+ relatedId: string;
1837
+ }): Promise<HowToInterface>;
1838
+ static removeRelated(params: {
1839
+ howToId: string;
1840
+ relatedId: string;
1841
+ }): Promise<void>;
1808
1842
  }
1809
1843
 
1810
1844
  declare const AssistantModule: (factory: ModuleFactory) => ModuleWithPermissions;
@@ -1819,6 +1853,8 @@ declare class Assistant extends AbstractApiData implements AssistantInterface {
1819
1853
  data: {
1820
1854
  type: string;
1821
1855
  attributes: {
1856
+ limitToHowToId?: string | undefined;
1857
+ howToMode?: boolean | undefined;
1822
1858
  title?: string | undefined;
1823
1859
  content: string;
1824
1860
  };
@@ -1838,10 +1874,16 @@ declare class AssistantService extends AbstractService {
1838
1874
  /**
1839
1875
  * Sends a new user message to an existing assistant thread. The agent turn
1840
1876
  * runs synchronously; the response is a two-element list: [user, assistant].
1877
+ *
1878
+ * Uses the dedicated AssistantMessage.createAppendMessageJsonApi method to
1879
+ * build the JSON:API envelope; this is the architecture-compliant pairing
1880
+ * with `overridesJsonApiCreation: true`.
1841
1881
  */
1842
1882
  static appendMessage(params: {
1843
1883
  assistantId: string;
1844
1884
  content: string;
1885
+ howToMode?: boolean;
1886
+ limitToHowToId?: string;
1845
1887
  }): Promise<AssistantMessageInterface[]>;
1846
1888
  static rename(params: {
1847
1889
  id: string;
@@ -1863,6 +1905,7 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
1863
1905
  private _outputTokens?;
1864
1906
  private _references?;
1865
1907
  private _citations?;
1908
+ private _isOptimistic;
1866
1909
  get role(): AssistantMessageRole;
1867
1910
  get content(): string;
1868
1911
  get position(): number;
@@ -1871,6 +1914,7 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
1871
1914
  get outputTokens(): number | undefined;
1872
1915
  get references(): ApiDataInterface[];
1873
1916
  get citations(): (ChunkInterface & ChunkRelationshipMeta)[];
1917
+ get isOptimistic(): boolean;
1874
1918
  rehydrate(data: JsonApiHydratedDataInterface): this;
1875
1919
  createJsonApi(data: AssistantMessageInput): {
1876
1920
  data: {
@@ -1892,6 +1936,26 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
1892
1936
  };
1893
1937
  included: never[];
1894
1938
  };
1939
+ /**
1940
+ * JSON:API envelope for POST /assistants/:id/assistant-messages.
1941
+ * Different from `createJsonApi` (which expects a full message with role/position/assistant ref);
1942
+ * the append-to-thread endpoint derives those server-side, so we only send `content` and
1943
+ * the optional retrieval-mode flags.
1944
+ */
1945
+ createAppendMessageJsonApi(params: {
1946
+ content: string;
1947
+ howToMode?: boolean;
1948
+ limitToHowToId?: string;
1949
+ }): {
1950
+ data: {
1951
+ type: string;
1952
+ attributes: {
1953
+ limitToHowToId?: string | undefined;
1954
+ howToMode?: boolean | undefined;
1955
+ content: string;
1956
+ };
1957
+ };
1958
+ };
1895
1959
  static buildOptimistic(params: {
1896
1960
  content: string;
1897
1961
  position: number;
@@ -3,29 +3,30 @@ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from '../Api
3
3
  import { A as ApiRequestDataTypeInterface, F as FieldSelector } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
4
4
  export { G as GetterKeys, c as createJsonApiInclusion } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
5
5
  import { A as ApiResponseInterface } from '../ApiResponseInterface-CWLvSCvS.js';
6
- import { b as AbstractService, i as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, k as S3Interface, j as S3Input } from '../s3.service-SLlX0Zbz.js';
7
- export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, N as NotificationService, P as PushService, R as RoleService, S as S3Service, e as SelfRef, T as TotalRef, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-SLlX0Zbz.js';
8
- import { M as ModuleWithPermissions, g as PermissionUser, A as Action, f as PermissionModule, h as ModuleFactory, l as RoleInterface, R as RoleInput, U as UserInterface, j as CompanyInterface, m as UserInput, i as CompanyInput, C as ContentInterface, a as ContentInput, N as NotificationInterface, k as NotificationInput } from '../notification.interface-aLEJbA_g.js';
9
- export { d as ModuleDefinition, c as ModulePermissionDefinition, b as PageUrl, P as PermissionCheck, e as PermissionConfig } from '../notification.interface-aLEJbA_g.js';
10
- import { a as HowToInterface, H as HowToInput, c as AssistantMessageInterface, A as AssistantMessageRole, d as ChunkInterface, C as ChunkRelationshipMeta, b as AssistantMessageInput } from '../AssistantMessageInterface-BpEhx2pC.js';
11
- export { B as BreadcrumbItemData } from '../AssistantMessageInterface-BpEhx2pC.js';
6
+ import { b as AbstractService, i as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, k as S3Interface, j as S3Input } from '../s3.service-CT27Fm1s.js';
7
+ export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, N as NotificationService, P as PushService, R as RoleService, S as S3Service, e as SelfRef, T as TotalRef, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-CT27Fm1s.js';
8
+ import { M as ModuleWithPermissions, f as PermissionUser, A as Action, e as PermissionModule, g as ModuleFactory } from '../types-DHOxe8rc.js';
9
+ export { c as ModuleDefinition, b as ModulePermissionDefinition, P as PageUrl, a as PermissionCheck, d as PermissionConfig } from '../types-DHOxe8rc.js';
10
+ import { a as HowToInterface, H as HowToInput, c as AssistantMessageInterface, A as AssistantMessageRole, d as ChunkInterface, C as ChunkRelationshipMeta, b as AssistantMessageInput } from '../AssistantMessageInterface-BNzf1etU.js';
11
+ export { B as BreadcrumbItemData } from '../AssistantMessageInterface-BNzf1etU.js';
12
12
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from '../content.fields-xH3TGvVk.js';
13
13
  import { ClassValue } from 'clsx';
14
14
  export { ClassValue } from 'clsx';
15
15
  import * as React from 'react';
16
16
  import { ReactElement, ReactNode, JSXElementConstructor } from 'react';
17
17
  import { z } from 'zod';
18
- import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-B6DIk8Vf.js';
19
- export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-B6DIk8Vf.js';
18
+ import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-Cd7lcYif.js';
19
+ export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-Cd7lcYif.js';
20
20
  import { PartialBlock } from '@blocknote/core';
21
21
  import { ExternalToast } from 'sonner';
22
- import { b as AuthInterface, A as AuthInput } from '../auth.interface-BBUgMZzs.js';
23
- export { a as AuthQuery } from '../auth.interface-BBUgMZzs.js';
22
+ import { e as RoleInterface, R as RoleInput, U as UserInterface, c as CompanyInterface, f as UserInput, b as CompanyInput, C as ContentInterface, a as ContentInput, N as NotificationInterface, d as NotificationInput } from '../notification.interface-C1T1C2ee.js';
23
+ import { b as AuthInterface, A as AuthInput } from '../auth.interface-8b601idJ.js';
24
+ export { a as AuthQuery } from '../auth.interface-8b601idJ.js';
24
25
  import { PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON, PublicKeyCredentialRequestOptionsJSON, AuthenticationResponseJSON } from '@simplewebauthn/browser';
25
26
  import { M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, S as StripeCustomerInterface, a as StripeInvoiceInterface, j as StripeSubscriptionInterface, I as InvoiceStatus, g as StripeProductInterface, d as StripePriceInterface, h as StripeProductInput, e as PriceRecurring, f as StripePriceInput, i as SubscriptionStatus, k as StripeSubscriptionInput, m as StripeSubscriptionCreateResponse, b as ProrationPreviewInterface, n as StripeUsageInterface, R as ReportUsageInput, U as UsageSummaryInterface, q as PromotionCodeValidationResult } from '../stripe-promotion-code.interface-C3qqh3mi.js';
26
27
  export { c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-promotion-code.interface-C3qqh3mi.js';
27
28
  import { M as ModuleInterface, F as FeatureInterface } from '../feature.interface-BO25VLlx.js';
28
- import { a as AssistantInterface, A as AssistantInput } from '../AssistantInterface-DfDcz0gJ.js';
29
+ import { a as AssistantInterface, A as AssistantInput } from '../AssistantInterface-BBUHxOCd.js';
29
30
  import { O as OAuthClientInterface, a as OAuthClientInput, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, d as OAuthConsentRequest, f as OAuthConsentInfo } from '../oauth.interface-B6xmfDzK.js';
30
31
  export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, e as OAuthScopeInfo } from '../oauth.interface-B6xmfDzK.js';
31
32
  import 'lucide-react';
@@ -1767,6 +1768,13 @@ declare const HowToModule: (factory: ModuleFactory) => ModuleWithPermissions;
1767
1768
  declare class HowTo extends Content implements HowToInterface {
1768
1769
  private _description?;
1769
1770
  private _pages?;
1771
+ private _howToType?;
1772
+ private _slug?;
1773
+ private _order?;
1774
+ private _summary?;
1775
+ private _tags?;
1776
+ private _contextualKeys?;
1777
+ private _draft?;
1770
1778
  /**
1771
1779
  * Parse pages from backend JSON string (handles legacy single string + JSON array)
1772
1780
  */
@@ -1777,6 +1785,13 @@ declare class HowTo extends Content implements HowToInterface {
1777
1785
  static serializePagesToString(pages: string[]): string | undefined;
1778
1786
  get description(): any;
1779
1787
  get pages(): string | undefined;
1788
+ get howToType(): string | undefined;
1789
+ get slug(): string | undefined;
1790
+ get order(): number | undefined;
1791
+ get summary(): string | undefined;
1792
+ get tags(): string[];
1793
+ get contextualKeys(): string[];
1794
+ get draft(): boolean;
1780
1795
  rehydrate(data: JsonApiHydratedDataInterface): this;
1781
1796
  createJsonApi(data: HowToInput): any;
1782
1797
  }
@@ -1805,6 +1820,25 @@ declare class HowToService extends AbstractService {
1805
1820
  static delete(params: {
1806
1821
  howToId: string;
1807
1822
  }): Promise<void>;
1823
+ static findPublished(params?: {
1824
+ howToType?: string;
1825
+ }): Promise<HowToInterface[]>;
1826
+ static findPublishedArticle(params: {
1827
+ howToType: string;
1828
+ slug: string;
1829
+ }): Promise<HowToInterface>;
1830
+ static findRelated(params: {
1831
+ howToType: string;
1832
+ slug: string;
1833
+ }): Promise<HowToInterface[]>;
1834
+ static addRelated(params: {
1835
+ howToId: string;
1836
+ relatedId: string;
1837
+ }): Promise<HowToInterface>;
1838
+ static removeRelated(params: {
1839
+ howToId: string;
1840
+ relatedId: string;
1841
+ }): Promise<void>;
1808
1842
  }
1809
1843
 
1810
1844
  declare const AssistantModule: (factory: ModuleFactory) => ModuleWithPermissions;
@@ -1819,6 +1853,8 @@ declare class Assistant extends AbstractApiData implements AssistantInterface {
1819
1853
  data: {
1820
1854
  type: string;
1821
1855
  attributes: {
1856
+ limitToHowToId?: string | undefined;
1857
+ howToMode?: boolean | undefined;
1822
1858
  title?: string | undefined;
1823
1859
  content: string;
1824
1860
  };
@@ -1838,10 +1874,16 @@ declare class AssistantService extends AbstractService {
1838
1874
  /**
1839
1875
  * Sends a new user message to an existing assistant thread. The agent turn
1840
1876
  * runs synchronously; the response is a two-element list: [user, assistant].
1877
+ *
1878
+ * Uses the dedicated AssistantMessage.createAppendMessageJsonApi method to
1879
+ * build the JSON:API envelope; this is the architecture-compliant pairing
1880
+ * with `overridesJsonApiCreation: true`.
1841
1881
  */
1842
1882
  static appendMessage(params: {
1843
1883
  assistantId: string;
1844
1884
  content: string;
1885
+ howToMode?: boolean;
1886
+ limitToHowToId?: string;
1845
1887
  }): Promise<AssistantMessageInterface[]>;
1846
1888
  static rename(params: {
1847
1889
  id: string;
@@ -1863,6 +1905,7 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
1863
1905
  private _outputTokens?;
1864
1906
  private _references?;
1865
1907
  private _citations?;
1908
+ private _isOptimistic;
1866
1909
  get role(): AssistantMessageRole;
1867
1910
  get content(): string;
1868
1911
  get position(): number;
@@ -1871,6 +1914,7 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
1871
1914
  get outputTokens(): number | undefined;
1872
1915
  get references(): ApiDataInterface[];
1873
1916
  get citations(): (ChunkInterface & ChunkRelationshipMeta)[];
1917
+ get isOptimistic(): boolean;
1874
1918
  rehydrate(data: JsonApiHydratedDataInterface): this;
1875
1919
  createJsonApi(data: AssistantMessageInput): {
1876
1920
  data: {
@@ -1892,6 +1936,26 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
1892
1936
  };
1893
1937
  included: never[];
1894
1938
  };
1939
+ /**
1940
+ * JSON:API envelope for POST /assistants/:id/assistant-messages.
1941
+ * Different from `createJsonApi` (which expects a full message with role/position/assistant ref);
1942
+ * the append-to-thread endpoint derives those server-side, so we only send `content` and
1943
+ * the optional retrieval-mode flags.
1944
+ */
1945
+ createAppendMessageJsonApi(params: {
1946
+ content: string;
1947
+ howToMode?: boolean;
1948
+ limitToHowToId?: string;
1949
+ }): {
1950
+ data: {
1951
+ type: string;
1952
+ attributes: {
1953
+ limitToHowToId?: string | undefined;
1954
+ howToMode?: boolean | undefined;
1955
+ content: string;
1956
+ };
1957
+ };
1958
+ };
1895
1959
  static buildOptimistic(params: {
1896
1960
  content: string;
1897
1961
  position: number;
@@ -173,7 +173,7 @@
173
173
 
174
174
 
175
175
 
176
- var _chunkRXXZGPC3js = require('../chunk-RXXZGPC3.js');
176
+ var _chunkU2HR57MYjs = require('../chunk-U2HR57MY.js');
177
177
  require('../chunk-LXKSUWAV.js');
178
178
  require('../chunk-IBS6NI7D.js');
179
179
 
@@ -373,5 +373,5 @@ require('../chunk-7QVYU63E.js');
373
373
 
374
374
 
375
375
 
376
- exports.AVAILABLE_OAUTH_SCOPES = _chunkRXXZGPC3js.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkRXXZGPC3js.AbstractApiData; exports.AbstractService = _chunkRXXZGPC3js.AbstractService; exports.Action = _chunkRXXZGPC3js.Action; exports.Assistant = _chunkRXXZGPC3js.Assistant; exports.AssistantMessage = _chunkRXXZGPC3js.AssistantMessage; exports.AssistantMessageModule = _chunkRXXZGPC3js.AssistantMessageModule; exports.AssistantMessageService = _chunkRXXZGPC3js.AssistantMessageService; exports.AssistantModule = _chunkRXXZGPC3js.AssistantModule; exports.AssistantService = _chunkRXXZGPC3js.AssistantService; exports.AuditLog = _chunkRXXZGPC3js.AuditLog; exports.AuditLogModule = _chunkRXXZGPC3js.AuditLogModule; exports.AuditLogService = _chunkRXXZGPC3js.AuditLogService; exports.Auth = _chunkRXXZGPC3js.Auth; exports.AuthComponent = _chunkRXXZGPC3js.AuthComponent; exports.AuthModule = _chunkRXXZGPC3js.AuthModule; exports.AuthService = _chunkRXXZGPC3js.AuthService; exports.AuthorModule = _chunkRXXZGPC3js.AuthorModule; exports.BackupCodeVerify = _chunkRXXZGPC3js.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkRXXZGPC3js.BackupCodeVerifyModule; exports.Billing = _chunkRXXZGPC3js.Billing; exports.BillingModule = _chunkRXXZGPC3js.BillingModule; exports.BillingService = _chunkRXXZGPC3js.BillingService; exports.BlockNoteDiffUtil = _chunkRXXZGPC3js.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkRXXZGPC3js.BlockNoteWordDiffRendererUtil; exports.Chunk = _chunkRXXZGPC3js.Chunk; exports.ChunkModule = _chunkRXXZGPC3js.ChunkModule; exports.ClientAbstractService = _chunkRXXZGPC3js.ClientAbstractService; exports.ClientHttpMethod = _chunkRXXZGPC3js.ClientHttpMethod; exports.Company = _chunkRXXZGPC3js.Company; exports.CompanyFields = _chunkRXXZGPC3js.CompanyFields; exports.CompanyModule = _chunkRXXZGPC3js.CompanyModule; exports.CompanyService = _chunkRXXZGPC3js.CompanyService; exports.Content = _chunkRXXZGPC3js.Content; exports.ContentFields = _chunkRXXZGPC3js.ContentFields; exports.ContentModule = _chunkRXXZGPC3js.ContentModule; exports.ContentService = _chunkRXXZGPC3js.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkRXXZGPC3js.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkJ5LROFGLjs.DataClassRegistry; exports.DataClassRegistry = _chunkJ5LROFGLjs.DataClassRegistry; exports.EndpointCreator = _chunkRXXZGPC3js.EndpointCreator; exports.Feature = _chunkRXXZGPC3js.Feature; exports.FeatureModule = _chunkRXXZGPC3js.FeatureModule; exports.FeatureService = _chunkRXXZGPC3js.FeatureService; exports.HowTo = _chunkRXXZGPC3js.HowTo; exports.HowToFields = _chunkRXXZGPC3js.HowToFields; exports.HowToModule = _chunkRXXZGPC3js.HowToModule; exports.HowToService = _chunkRXXZGPC3js.HowToService; exports.HttpMethod = _chunkRXXZGPC3js.HttpMethod; exports.InvoiceStatus = _chunkRXXZGPC3js.InvoiceStatus; exports.JsonApiDataFactory = _chunkJ5LROFGLjs.JsonApiDataFactory; exports.Module = _chunkRXXZGPC3js.Module; exports.ModuleModule = _chunkRXXZGPC3js.ModuleModule; exports.ModulePathsModule = _chunkRXXZGPC3js.ModulePathsModule; exports.ModuleRegistrar = _chunkRXXZGPC3js.ModuleRegistrar; exports.ModuleRegistry = _chunkRXXZGPC3js.ModuleRegistry; exports.Modules = _chunkRXXZGPC3js.Modules; exports.Notification = _chunkRXXZGPC3js.Notification; exports.NotificationFields = _chunkRXXZGPC3js.NotificationFields; exports.NotificationModule = _chunkRXXZGPC3js.NotificationModule; exports.NotificationService = _chunkRXXZGPC3js.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkRXXZGPC3js.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkRXXZGPC3js.OAuthClient; exports.OAuthModule = _chunkRXXZGPC3js.OAuthModule; exports.OAuthService = _chunkRXXZGPC3js.OAuthService; exports.Passkey = _chunkRXXZGPC3js.Passkey; exports.PasskeyAuthenticationOptions = _chunkRXXZGPC3js.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkRXXZGPC3js.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkRXXZGPC3js.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkRXXZGPC3js.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkRXXZGPC3js.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkRXXZGPC3js.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkRXXZGPC3js.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkRXXZGPC3js.PasskeyRename; exports.PasskeyRenameModule = _chunkRXXZGPC3js.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkRXXZGPC3js.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkRXXZGPC3js.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkRXXZGPC3js.PaymentMethod; exports.PermissionMappingModule = _chunkRXXZGPC3js.PermissionMappingModule; exports.Push = _chunkRXXZGPC3js.Push; exports.PushModule = _chunkRXXZGPC3js.PushModule; exports.PushService = _chunkRXXZGPC3js.PushService; exports.RbacMatrixModule = _chunkRXXZGPC3js.RbacMatrixModule; exports.ReferralModule = _chunkRXXZGPC3js.ReferralModule; exports.ReferralService = _chunkRXXZGPC3js.ReferralService; exports.ReferralStats = _chunkRXXZGPC3js.ReferralStats; exports.ReferralStatsModule = _chunkRXXZGPC3js.ReferralStatsModule; exports.RehydrationFactory = _chunkRXXZGPC3js.RehydrationFactory; exports.Role = _chunkRXXZGPC3js.Role; exports.RoleFields = _chunkRXXZGPC3js.RoleFields; exports.RoleModule = _chunkRXXZGPC3js.RoleModule; exports.RoleService = _chunkRXXZGPC3js.RoleService; exports.S3 = _chunkRXXZGPC3js.S3; exports.S3Module = _chunkRXXZGPC3js.S3Module; exports.S3Service = _chunkRXXZGPC3js.S3Service; exports.StripeCustomer = _chunkRXXZGPC3js.StripeCustomer; exports.StripeCustomerModule = _chunkRXXZGPC3js.StripeCustomerModule; exports.StripeCustomerService = _chunkRXXZGPC3js.StripeCustomerService; exports.StripeInvoice = _chunkRXXZGPC3js.StripeInvoice; exports.StripeInvoiceModule = _chunkRXXZGPC3js.StripeInvoiceModule; exports.StripeInvoiceService = _chunkRXXZGPC3js.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkRXXZGPC3js.StripePaymentMethodModule; exports.StripePrice = _chunkRXXZGPC3js.StripePrice; exports.StripePriceModule = _chunkRXXZGPC3js.StripePriceModule; exports.StripePriceService = _chunkRXXZGPC3js.StripePriceService; exports.StripeProduct = _chunkRXXZGPC3js.StripeProduct; exports.StripeProductModule = _chunkRXXZGPC3js.StripeProductModule; exports.StripeProductService = _chunkRXXZGPC3js.StripeProductService; exports.StripePromotionCode = _chunkRXXZGPC3js.StripePromotionCode; exports.StripePromotionCodeModule = _chunkRXXZGPC3js.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkRXXZGPC3js.StripePromotionCodeService; exports.StripeSubscription = _chunkRXXZGPC3js.StripeSubscription; exports.StripeSubscriptionModule = _chunkRXXZGPC3js.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkRXXZGPC3js.StripeSubscriptionService; exports.StripeUsage = _chunkRXXZGPC3js.StripeUsage; exports.StripeUsageModule = _chunkRXXZGPC3js.StripeUsageModule; exports.StripeUsageService = _chunkRXXZGPC3js.StripeUsageService; exports.SubscriptionStatus = _chunkRXXZGPC3js.SubscriptionStatus; exports.TableOptions = _chunkRXXZGPC3js.TableOptions; exports.TotpAuthenticator = _chunkRXXZGPC3js.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkRXXZGPC3js.TotpAuthenticatorModule; exports.TotpSetup = _chunkRXXZGPC3js.TotpSetup; exports.TotpSetupModule = _chunkRXXZGPC3js.TotpSetupModule; exports.TotpVerify = _chunkRXXZGPC3js.TotpVerify; exports.TotpVerifyLogin = _chunkRXXZGPC3js.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkRXXZGPC3js.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkRXXZGPC3js.TotpVerifyModule; exports.TwoFactorChallenge = _chunkRXXZGPC3js.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkRXXZGPC3js.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkRXXZGPC3js.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkRXXZGPC3js.TwoFactorEnableModule; exports.TwoFactorService = _chunkRXXZGPC3js.TwoFactorService; exports.TwoFactorStatus = _chunkRXXZGPC3js.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkRXXZGPC3js.TwoFactorStatusModule; exports.User = _chunkRXXZGPC3js.User; exports.UserFields = _chunkRXXZGPC3js.UserFields; exports.UserModule = _chunkRXXZGPC3js.UserModule; exports.UserService = _chunkRXXZGPC3js.UserService; exports.Waitlist = _chunkRXXZGPC3js.Waitlist; exports.WaitlistModule = _chunkRXXZGPC3js.WaitlistModule; exports.WaitlistService = _chunkRXXZGPC3js.WaitlistService; exports.WaitlistStats = _chunkRXXZGPC3js.WaitlistStats; exports.WaitlistStatsModule = _chunkRXXZGPC3js.WaitlistStatsModule; exports.checkPermissions = _chunkRXXZGPC3js.checkPermissions; exports.checkPermissionsFromServer = _chunkRXXZGPC3js.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkRXXZGPC3js.clearLastApiTotal; exports.cn = _chunkRXXZGPC3js.cn; exports.composeRefs = _chunkRXXZGPC3js.composeRefs; exports.createJsonApiInclusion = _chunkRXXZGPC3js.createJsonApiInclusion; exports.dismissToast = _chunkRXXZGPC3js.dismissToast; exports.entityObjectSchema = _chunkRXXZGPC3js.entityObjectSchema; exports.exists = _chunkRXXZGPC3js.exists; exports.formatDate = _chunkRXXZGPC3js.formatDate; exports.formatLocalDate = _chunkRXXZGPC3js.formatLocalDate; exports.getBootstrapper = _chunkJ5LROFGLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkRXXZGPC3js.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkRXXZGPC3js.getGlobalErrorHandler; exports.getIcon = _chunkRXXZGPC3js.getIcon; exports.getIconByModule = _chunkRXXZGPC3js.getIconByModule; exports.getIconByModuleName = _chunkRXXZGPC3js.getIconByModuleName; exports.getInitials = _chunkRXXZGPC3js.getInitials; exports.getLastApiTotal = _chunkRXXZGPC3js.getLastApiTotal; exports.getLucideIcon = _chunkRXXZGPC3js.getLucideIcon; exports.getLucideIconByModule = _chunkRXXZGPC3js.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkRXXZGPC3js.getLucideIconByModuleName; exports.getTableComponents = _chunkRXXZGPC3js.getTableComponents; exports.getTableOptions = _chunkRXXZGPC3js.getTableOptions; exports.getValueFromPath = _chunkRXXZGPC3js.getValueFromPath; exports.hasBootstrapper = _chunkJ5LROFGLjs.hasBootstrapper; exports.rehydrate = _chunkRXXZGPC3js.rehydrate; exports.rehydrateList = _chunkRXXZGPC3js.rehydrateList; exports.resetBootstrapStore = _chunkJ5LROFGLjs.resetBootstrapStore; exports.setBootstrapper = _chunkJ5LROFGLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkRXXZGPC3js.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkRXXZGPC3js.setGlobalErrorHandler; exports.showCustomToast = _chunkRXXZGPC3js.showCustomToast; exports.showError = _chunkRXXZGPC3js.showError; exports.showToast = _chunkRXXZGPC3js.showToast; exports.translateData = _chunkJ5LROFGLjs.translateData; exports.translateResponse = _chunkJ5LROFGLjs.translateResponse; exports.tryBootstrap = _chunkJ5LROFGLjs.tryBootstrap; exports.useComposedRefs = _chunkRXXZGPC3js.useComposedRefs; exports.useIsMobile = _chunkRXXZGPC3js.useIsMobile; exports.userObjectSchema = _chunkRXXZGPC3js.userObjectSchema;
376
+ exports.AVAILABLE_OAUTH_SCOPES = _chunkU2HR57MYjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkU2HR57MYjs.AbstractApiData; exports.AbstractService = _chunkU2HR57MYjs.AbstractService; exports.Action = _chunkU2HR57MYjs.Action; exports.Assistant = _chunkU2HR57MYjs.Assistant; exports.AssistantMessage = _chunkU2HR57MYjs.AssistantMessage; exports.AssistantMessageModule = _chunkU2HR57MYjs.AssistantMessageModule; exports.AssistantMessageService = _chunkU2HR57MYjs.AssistantMessageService; exports.AssistantModule = _chunkU2HR57MYjs.AssistantModule; exports.AssistantService = _chunkU2HR57MYjs.AssistantService; exports.AuditLog = _chunkU2HR57MYjs.AuditLog; exports.AuditLogModule = _chunkU2HR57MYjs.AuditLogModule; exports.AuditLogService = _chunkU2HR57MYjs.AuditLogService; exports.Auth = _chunkU2HR57MYjs.Auth; exports.AuthComponent = _chunkU2HR57MYjs.AuthComponent; exports.AuthModule = _chunkU2HR57MYjs.AuthModule; exports.AuthService = _chunkU2HR57MYjs.AuthService; exports.AuthorModule = _chunkU2HR57MYjs.AuthorModule; exports.BackupCodeVerify = _chunkU2HR57MYjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkU2HR57MYjs.BackupCodeVerifyModule; exports.Billing = _chunkU2HR57MYjs.Billing; exports.BillingModule = _chunkU2HR57MYjs.BillingModule; exports.BillingService = _chunkU2HR57MYjs.BillingService; exports.BlockNoteDiffUtil = _chunkU2HR57MYjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkU2HR57MYjs.BlockNoteWordDiffRendererUtil; exports.Chunk = _chunkU2HR57MYjs.Chunk; exports.ChunkModule = _chunkU2HR57MYjs.ChunkModule; exports.ClientAbstractService = _chunkU2HR57MYjs.ClientAbstractService; exports.ClientHttpMethod = _chunkU2HR57MYjs.ClientHttpMethod; exports.Company = _chunkU2HR57MYjs.Company; exports.CompanyFields = _chunkU2HR57MYjs.CompanyFields; exports.CompanyModule = _chunkU2HR57MYjs.CompanyModule; exports.CompanyService = _chunkU2HR57MYjs.CompanyService; exports.Content = _chunkU2HR57MYjs.Content; exports.ContentFields = _chunkU2HR57MYjs.ContentFields; exports.ContentModule = _chunkU2HR57MYjs.ContentModule; exports.ContentService = _chunkU2HR57MYjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkU2HR57MYjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkJ5LROFGLjs.DataClassRegistry; exports.DataClassRegistry = _chunkJ5LROFGLjs.DataClassRegistry; exports.EndpointCreator = _chunkU2HR57MYjs.EndpointCreator; exports.Feature = _chunkU2HR57MYjs.Feature; exports.FeatureModule = _chunkU2HR57MYjs.FeatureModule; exports.FeatureService = _chunkU2HR57MYjs.FeatureService; exports.HowTo = _chunkU2HR57MYjs.HowTo; exports.HowToFields = _chunkU2HR57MYjs.HowToFields; exports.HowToModule = _chunkU2HR57MYjs.HowToModule; exports.HowToService = _chunkU2HR57MYjs.HowToService; exports.HttpMethod = _chunkU2HR57MYjs.HttpMethod; exports.InvoiceStatus = _chunkU2HR57MYjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkJ5LROFGLjs.JsonApiDataFactory; exports.Module = _chunkU2HR57MYjs.Module; exports.ModuleModule = _chunkU2HR57MYjs.ModuleModule; exports.ModulePathsModule = _chunkU2HR57MYjs.ModulePathsModule; exports.ModuleRegistrar = _chunkU2HR57MYjs.ModuleRegistrar; exports.ModuleRegistry = _chunkU2HR57MYjs.ModuleRegistry; exports.Modules = _chunkU2HR57MYjs.Modules; exports.Notification = _chunkU2HR57MYjs.Notification; exports.NotificationFields = _chunkU2HR57MYjs.NotificationFields; exports.NotificationModule = _chunkU2HR57MYjs.NotificationModule; exports.NotificationService = _chunkU2HR57MYjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkU2HR57MYjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkU2HR57MYjs.OAuthClient; exports.OAuthModule = _chunkU2HR57MYjs.OAuthModule; exports.OAuthService = _chunkU2HR57MYjs.OAuthService; exports.Passkey = _chunkU2HR57MYjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkU2HR57MYjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkU2HR57MYjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkU2HR57MYjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkU2HR57MYjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkU2HR57MYjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkU2HR57MYjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkU2HR57MYjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkU2HR57MYjs.PasskeyRename; exports.PasskeyRenameModule = _chunkU2HR57MYjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkU2HR57MYjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkU2HR57MYjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkU2HR57MYjs.PaymentMethod; exports.PermissionMappingModule = _chunkU2HR57MYjs.PermissionMappingModule; exports.Push = _chunkU2HR57MYjs.Push; exports.PushModule = _chunkU2HR57MYjs.PushModule; exports.PushService = _chunkU2HR57MYjs.PushService; exports.RbacMatrixModule = _chunkU2HR57MYjs.RbacMatrixModule; exports.ReferralModule = _chunkU2HR57MYjs.ReferralModule; exports.ReferralService = _chunkU2HR57MYjs.ReferralService; exports.ReferralStats = _chunkU2HR57MYjs.ReferralStats; exports.ReferralStatsModule = _chunkU2HR57MYjs.ReferralStatsModule; exports.RehydrationFactory = _chunkU2HR57MYjs.RehydrationFactory; exports.Role = _chunkU2HR57MYjs.Role; exports.RoleFields = _chunkU2HR57MYjs.RoleFields; exports.RoleModule = _chunkU2HR57MYjs.RoleModule; exports.RoleService = _chunkU2HR57MYjs.RoleService; exports.S3 = _chunkU2HR57MYjs.S3; exports.S3Module = _chunkU2HR57MYjs.S3Module; exports.S3Service = _chunkU2HR57MYjs.S3Service; exports.StripeCustomer = _chunkU2HR57MYjs.StripeCustomer; exports.StripeCustomerModule = _chunkU2HR57MYjs.StripeCustomerModule; exports.StripeCustomerService = _chunkU2HR57MYjs.StripeCustomerService; exports.StripeInvoice = _chunkU2HR57MYjs.StripeInvoice; exports.StripeInvoiceModule = _chunkU2HR57MYjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkU2HR57MYjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkU2HR57MYjs.StripePaymentMethodModule; exports.StripePrice = _chunkU2HR57MYjs.StripePrice; exports.StripePriceModule = _chunkU2HR57MYjs.StripePriceModule; exports.StripePriceService = _chunkU2HR57MYjs.StripePriceService; exports.StripeProduct = _chunkU2HR57MYjs.StripeProduct; exports.StripeProductModule = _chunkU2HR57MYjs.StripeProductModule; exports.StripeProductService = _chunkU2HR57MYjs.StripeProductService; exports.StripePromotionCode = _chunkU2HR57MYjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkU2HR57MYjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkU2HR57MYjs.StripePromotionCodeService; exports.StripeSubscription = _chunkU2HR57MYjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkU2HR57MYjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkU2HR57MYjs.StripeSubscriptionService; exports.StripeUsage = _chunkU2HR57MYjs.StripeUsage; exports.StripeUsageModule = _chunkU2HR57MYjs.StripeUsageModule; exports.StripeUsageService = _chunkU2HR57MYjs.StripeUsageService; exports.SubscriptionStatus = _chunkU2HR57MYjs.SubscriptionStatus; exports.TableOptions = _chunkU2HR57MYjs.TableOptions; exports.TotpAuthenticator = _chunkU2HR57MYjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkU2HR57MYjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkU2HR57MYjs.TotpSetup; exports.TotpSetupModule = _chunkU2HR57MYjs.TotpSetupModule; exports.TotpVerify = _chunkU2HR57MYjs.TotpVerify; exports.TotpVerifyLogin = _chunkU2HR57MYjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkU2HR57MYjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkU2HR57MYjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkU2HR57MYjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkU2HR57MYjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkU2HR57MYjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkU2HR57MYjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkU2HR57MYjs.TwoFactorService; exports.TwoFactorStatus = _chunkU2HR57MYjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkU2HR57MYjs.TwoFactorStatusModule; exports.User = _chunkU2HR57MYjs.User; exports.UserFields = _chunkU2HR57MYjs.UserFields; exports.UserModule = _chunkU2HR57MYjs.UserModule; exports.UserService = _chunkU2HR57MYjs.UserService; exports.Waitlist = _chunkU2HR57MYjs.Waitlist; exports.WaitlistModule = _chunkU2HR57MYjs.WaitlistModule; exports.WaitlistService = _chunkU2HR57MYjs.WaitlistService; exports.WaitlistStats = _chunkU2HR57MYjs.WaitlistStats; exports.WaitlistStatsModule = _chunkU2HR57MYjs.WaitlistStatsModule; exports.checkPermissions = _chunkU2HR57MYjs.checkPermissions; exports.checkPermissionsFromServer = _chunkU2HR57MYjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkU2HR57MYjs.clearLastApiTotal; exports.cn = _chunkU2HR57MYjs.cn; exports.composeRefs = _chunkU2HR57MYjs.composeRefs; exports.createJsonApiInclusion = _chunkU2HR57MYjs.createJsonApiInclusion; exports.dismissToast = _chunkU2HR57MYjs.dismissToast; exports.entityObjectSchema = _chunkU2HR57MYjs.entityObjectSchema; exports.exists = _chunkU2HR57MYjs.exists; exports.formatDate = _chunkU2HR57MYjs.formatDate; exports.formatLocalDate = _chunkU2HR57MYjs.formatLocalDate; exports.getBootstrapper = _chunkJ5LROFGLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkU2HR57MYjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkU2HR57MYjs.getGlobalErrorHandler; exports.getIcon = _chunkU2HR57MYjs.getIcon; exports.getIconByModule = _chunkU2HR57MYjs.getIconByModule; exports.getIconByModuleName = _chunkU2HR57MYjs.getIconByModuleName; exports.getInitials = _chunkU2HR57MYjs.getInitials; exports.getLastApiTotal = _chunkU2HR57MYjs.getLastApiTotal; exports.getLucideIcon = _chunkU2HR57MYjs.getLucideIcon; exports.getLucideIconByModule = _chunkU2HR57MYjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkU2HR57MYjs.getLucideIconByModuleName; exports.getTableComponents = _chunkU2HR57MYjs.getTableComponents; exports.getTableOptions = _chunkU2HR57MYjs.getTableOptions; exports.getValueFromPath = _chunkU2HR57MYjs.getValueFromPath; exports.hasBootstrapper = _chunkJ5LROFGLjs.hasBootstrapper; exports.rehydrate = _chunkU2HR57MYjs.rehydrate; exports.rehydrateList = _chunkU2HR57MYjs.rehydrateList; exports.resetBootstrapStore = _chunkJ5LROFGLjs.resetBootstrapStore; exports.setBootstrapper = _chunkJ5LROFGLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkU2HR57MYjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkU2HR57MYjs.setGlobalErrorHandler; exports.showCustomToast = _chunkU2HR57MYjs.showCustomToast; exports.showError = _chunkU2HR57MYjs.showError; exports.showToast = _chunkU2HR57MYjs.showToast; exports.translateData = _chunkJ5LROFGLjs.translateData; exports.translateResponse = _chunkJ5LROFGLjs.translateResponse; exports.tryBootstrap = _chunkJ5LROFGLjs.tryBootstrap; exports.useComposedRefs = _chunkU2HR57MYjs.useComposedRefs; exports.useIsMobile = _chunkU2HR57MYjs.useIsMobile; exports.userObjectSchema = _chunkU2HR57MYjs.userObjectSchema;
377
377
  //# sourceMappingURL=index.js.map
@@ -173,7 +173,7 @@ import {
173
173
  useComposedRefs,
174
174
  useIsMobile,
175
175
  userObjectSchema
176
- } from "../chunk-N3NVIPSU.mjs";
176
+ } from "../chunk-ZYPNVEHB.mjs";
177
177
  import "../chunk-AUXK7QSA.mjs";
178
178
  import "../chunk-C7C7VY4F.mjs";
179
179
  import {
@@ -0,0 +1,29 @@
1
+ /* src/features/onboarding/styles/onboarding.css */
2
+ .shepherd-modal-overlay-container.shepherd-modal-is-visible {
3
+ opacity: 1 !important;
4
+ }
5
+ .shepherd-modal-overlay-container path {
6
+ fill: rgba(0, 0, 0, 0.75) !important;
7
+ }
8
+ .shepherd-element {
9
+ background: transparent !important;
10
+ border: none !important;
11
+ box-shadow: none !important;
12
+ padding: 0 !important;
13
+ max-width: none !important;
14
+ }
15
+ .shepherd-content,
16
+ .shepherd-text {
17
+ padding: 0 !important;
18
+ }
19
+ .shepherd-arrow::before {
20
+ background: hsl(var(--card)) !important;
21
+ }
22
+ .shepherd-header,
23
+ .shepherd-footer {
24
+ display: none !important;
25
+ }
26
+ .dark .shepherd-arrow::before {
27
+ background: hsl(var(--card)) !important;
28
+ }
29
+ /*# sourceMappingURL=index.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/features/onboarding/styles/onboarding.css"],"sourcesContent":["/* Shepherd Modal Overlay */\n.shepherd-modal-overlay-container.shepherd-modal-is-visible {\n opacity: 1 !important;\n}\n\n.shepherd-modal-overlay-container path {\n fill: rgba(0, 0, 0, 0.75) !important;\n}\n\n/* Remove default shepherd styling - we use custom React card */\n.shepherd-element {\n background: transparent !important;\n border: none !important;\n box-shadow: none !important;\n padding: 0 !important;\n max-width: none !important;\n}\n\n.shepherd-content,\n.shepherd-text {\n padding: 0 !important;\n}\n\n/* Arrow styling to match card background */\n.shepherd-arrow::before {\n background: hsl(var(--card)) !important;\n}\n\n/* Hide default Shepherd header and footer - we render custom ones */\n.shepherd-header,\n.shepherd-footer {\n display: none !important;\n}\n\n/* Dark mode support */\n.dark .shepherd-arrow::before {\n background: hsl(var(--card)) !important;\n}\n"],"mappings":";AACA,CAAC,gCAAgC,CAAC;AAChC,WAAS;AACX;AAEA,CAJC,iCAIiC;AAChC,QAAM,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AACtB;AAGA,CAAC;AACC,cAAY;AACZ,UAAQ;AACR,cAAY;AACZ,WAAS;AACT,aAAW;AACb;AAEA,CAAC;AACD,CAAC;AACC,WAAS;AACX;AAGA,CAAC,cAAc;AACb,cAAY,IAAI,IAAI;AACtB;AAGA,CAAC;AACD,CAAC;AACC,WAAS;AACX;AAGA,CAAC,KAAK,CAXL,cAWoB;AACnB,cAAY,IAAI,IAAI;AACtB;","names":[]}
@@ -0,0 +1,74 @@
1
+ import * as React from 'react';
2
+ import { ReactNode } from 'react';
3
+ import { H as HelpContentConfig } from '../../help-content-config.interface-C5ESIod9.mjs';
4
+ export { a as HelpBrandConfig } from '../../help-content-config.interface-C5ESIod9.mjs';
5
+ import { HelpHeading, HelpArticle, HelpMode } from './server.mjs';
6
+ export { HELP_MODES, HelpRedirect } from './server.mjs';
7
+ import { u as usePageUrlGenerator } from '../../usePageUrlGenerator-uOnyJ6j2.mjs';
8
+ import '../../types-CQSjy7et.mjs';
9
+ import 'lucide-react';
10
+ import '../../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
11
+
12
+ declare function HelpProvider({ children }: {
13
+ children: ReactNode;
14
+ }): React.JSX.Element;
15
+ declare function useHelp(): HelpContentConfig;
16
+
17
+ declare function HelpHeader(): React.JSX.Element;
18
+
19
+ declare function HelpSideNav(): React.JSX.Element;
20
+
21
+ type Sibling = {
22
+ howToType: string;
23
+ slug: string;
24
+ title: string;
25
+ };
26
+ declare function HelpArticleBody(props: {
27
+ howToType: string;
28
+ title: string;
29
+ summary?: string;
30
+ updatedAt?: string;
31
+ prev?: Sibling | null;
32
+ next?: Sibling | null;
33
+ children: ReactNode;
34
+ }): React.JSX.Element;
35
+
36
+ declare function HelpTOC({ headings }: {
37
+ headings: readonly HelpHeading[];
38
+ }): React.JSX.Element | null;
39
+
40
+ declare function HelpHint({ contextKey }: {
41
+ contextKey: string;
42
+ }): React.JSX.Element | null;
43
+
44
+ declare function HelpAskAi(): React.JSX.Element;
45
+
46
+ interface HelpSearchResultRowProps {
47
+ result: {
48
+ id: string;
49
+ name: string;
50
+ entityType: string;
51
+ };
52
+ onSelect?: () => void;
53
+ }
54
+ declare function HelpSearchResultRow({ result, onSelect }: HelpSearchResultRowProps): React.JSX.Element;
55
+
56
+ declare function useHelpFilter(articles: readonly HelpArticle[]): {
57
+ query: string;
58
+ setQuery: React.Dispatch<React.SetStateAction<string>>;
59
+ filtered: HelpArticle[];
60
+ };
61
+
62
+ declare function articleUrl(generateUrl: ReturnType<typeof usePageUrlGenerator>, article: {
63
+ mode: HelpMode;
64
+ slug: string;
65
+ }): string;
66
+ declare function modeUrl(generateUrl: ReturnType<typeof usePageUrlGenerator>, mode: HelpMode): string;
67
+
68
+ /**
69
+ * The fixed namespace of i18n keys this feature reads via useTranslations/getTranslations.
70
+ * Consuming apps must define each entry in their messages/<locale>.json.
71
+ */
72
+ declare const HELP_I18N_KEYS: readonly ["help.modes.tutorial", "help.modes.how-to", "help.modes.reference", "help.modes.explanation", "help.sideNav.filterPlaceholder", "help.sideNav.noMatches", "help.toc.title", "help.article.lastUpdated", "help.article.previous", "help.article.next", "help.article.related", "help.askAi.button", "help.askAi.loginTooltip", "help.askAi.sheet.title", "help.askAi.sheet.subtitle", "help.header.search", "help.header.login", "help.header.openApp", "help.hint.trigger", "help.hint.viewArticle", "help.hint.pickArticle", "help.landing.heading", "help.landing.subheading", "help.landing.featuredTutorials", "help.landing.browseByMode", "help.modeIndex.empty", "help.search.removed", "help.footerLink"];
73
+
74
+ export { HELP_I18N_KEYS, HelpArticle, HelpArticleBody, HelpAskAi, HelpContentConfig, HelpHeader, HelpHeading, HelpHint, HelpMode, HelpProvider, HelpSearchResultRow, HelpSideNav, HelpTOC, articleUrl, modeUrl, useHelp, useHelpFilter };
@@ -0,0 +1,74 @@
1
+ import * as React from 'react';
2
+ import { ReactNode } from 'react';
3
+ import { H as HelpContentConfig } from '../../help-content-config.interface-C5ESIod9.js';
4
+ export { a as HelpBrandConfig } from '../../help-content-config.interface-C5ESIod9.js';
5
+ import { HelpHeading, HelpArticle, HelpMode } from './server.js';
6
+ export { HELP_MODES, HelpRedirect } from './server.js';
7
+ import { u as usePageUrlGenerator } from '../../usePageUrlGenerator-tjq2mlDV.js';
8
+ import '../../types-DHOxe8rc.js';
9
+ import 'lucide-react';
10
+ import '../../ApiRequestDataTypeInterface-CYEcRUrh.js';
11
+
12
+ declare function HelpProvider({ children }: {
13
+ children: ReactNode;
14
+ }): React.JSX.Element;
15
+ declare function useHelp(): HelpContentConfig;
16
+
17
+ declare function HelpHeader(): React.JSX.Element;
18
+
19
+ declare function HelpSideNav(): React.JSX.Element;
20
+
21
+ type Sibling = {
22
+ howToType: string;
23
+ slug: string;
24
+ title: string;
25
+ };
26
+ declare function HelpArticleBody(props: {
27
+ howToType: string;
28
+ title: string;
29
+ summary?: string;
30
+ updatedAt?: string;
31
+ prev?: Sibling | null;
32
+ next?: Sibling | null;
33
+ children: ReactNode;
34
+ }): React.JSX.Element;
35
+
36
+ declare function HelpTOC({ headings }: {
37
+ headings: readonly HelpHeading[];
38
+ }): React.JSX.Element | null;
39
+
40
+ declare function HelpHint({ contextKey }: {
41
+ contextKey: string;
42
+ }): React.JSX.Element | null;
43
+
44
+ declare function HelpAskAi(): React.JSX.Element;
45
+
46
+ interface HelpSearchResultRowProps {
47
+ result: {
48
+ id: string;
49
+ name: string;
50
+ entityType: string;
51
+ };
52
+ onSelect?: () => void;
53
+ }
54
+ declare function HelpSearchResultRow({ result, onSelect }: HelpSearchResultRowProps): React.JSX.Element;
55
+
56
+ declare function useHelpFilter(articles: readonly HelpArticle[]): {
57
+ query: string;
58
+ setQuery: React.Dispatch<React.SetStateAction<string>>;
59
+ filtered: HelpArticle[];
60
+ };
61
+
62
+ declare function articleUrl(generateUrl: ReturnType<typeof usePageUrlGenerator>, article: {
63
+ mode: HelpMode;
64
+ slug: string;
65
+ }): string;
66
+ declare function modeUrl(generateUrl: ReturnType<typeof usePageUrlGenerator>, mode: HelpMode): string;
67
+
68
+ /**
69
+ * The fixed namespace of i18n keys this feature reads via useTranslations/getTranslations.
70
+ * Consuming apps must define each entry in their messages/<locale>.json.
71
+ */
72
+ declare const HELP_I18N_KEYS: readonly ["help.modes.tutorial", "help.modes.how-to", "help.modes.reference", "help.modes.explanation", "help.sideNav.filterPlaceholder", "help.sideNav.noMatches", "help.toc.title", "help.article.lastUpdated", "help.article.previous", "help.article.next", "help.article.related", "help.askAi.button", "help.askAi.loginTooltip", "help.askAi.sheet.title", "help.askAi.sheet.subtitle", "help.header.search", "help.header.login", "help.header.openApp", "help.hint.trigger", "help.hint.viewArticle", "help.hint.pickArticle", "help.landing.heading", "help.landing.subheading", "help.landing.featuredTutorials", "help.landing.browseByMode", "help.modeIndex.empty", "help.search.removed", "help.footerLink"];
73
+
74
+ export { HELP_I18N_KEYS, HelpArticle, HelpArticleBody, HelpAskAi, HelpContentConfig, HelpHeader, HelpHeading, HelpHint, HelpMode, HelpProvider, HelpSearchResultRow, HelpSideNav, HelpTOC, articleUrl, modeUrl, useHelp, useHelpFilter };