@happyvertical/smrt-content 0.43.10 → 0.44.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 (114) hide show
  1. package/dist/chunks/content-query-B4cHfrig.js +4092 -0
  2. package/dist/chunks/{content-query-4w62u5_0.js.map → content-query-B4cHfrig.js.map} +1 -1
  3. package/dist/chunks/{content-versions-Di3vcTgb.js → content-versions-OEYQVrUf.js} +2 -2
  4. package/dist/chunks/{content-versions-Di3vcTgb.js.map → content-versions-OEYQVrUf.js.map} +1 -1
  5. package/dist/chunks/{contents-BV8RoP_R.js → contents-BrGxWH3s.js} +2 -2
  6. package/dist/chunks/{contents-BV8RoP_R.js.map → contents-BrGxWH3s.js.map} +1 -1
  7. package/dist/index.js +4 -4
  8. package/dist/manifest.json +1 -1
  9. package/dist/server.js +1 -1
  10. package/dist/smrt-knowledge.json +3 -3
  11. package/dist/svelte/components/ContentAgentChat.svelte +10 -0
  12. package/dist/svelte/components/ContentAgentChat.svelte.d.ts +10 -0
  13. package/dist/svelte/components/ContentAgentChat.svelte.d.ts.map +1 -1
  14. package/dist/svelte/components/ContentBodyEditor.svelte +9 -0
  15. package/dist/svelte/components/ContentBodyEditor.svelte.d.ts +9 -0
  16. package/dist/svelte/components/ContentBodyEditor.svelte.d.ts.map +1 -1
  17. package/dist/svelte/components/ContentBodyRenderer.svelte +3 -0
  18. package/dist/svelte/components/ContentBodyRenderer.svelte.d.ts +3 -0
  19. package/dist/svelte/components/ContentBodyRenderer.svelte.d.ts.map +1 -1
  20. package/dist/svelte/components/ContentClaimAuditTool.svelte +3 -0
  21. package/dist/svelte/components/ContentClaimAuditTool.svelte.d.ts +3 -0
  22. package/dist/svelte/components/ContentClaimAuditTool.svelte.d.ts.map +1 -1
  23. package/dist/svelte/components/ContentContributionForm.svelte +7 -0
  24. package/dist/svelte/components/ContentContributionForm.svelte.d.ts +7 -0
  25. package/dist/svelte/components/ContentContributionForm.svelte.d.ts.map +1 -1
  26. package/dist/svelte/components/ContentContributionInbox.svelte +8 -0
  27. package/dist/svelte/components/ContentContributionInbox.svelte.d.ts +8 -0
  28. package/dist/svelte/components/ContentContributionInbox.svelte.d.ts.map +1 -1
  29. package/dist/svelte/components/ContentContributionPortal.svelte +5 -0
  30. package/dist/svelte/components/ContentContributionPortal.svelte.d.ts +5 -0
  31. package/dist/svelte/components/ContentContributionPortal.svelte.d.ts.map +1 -1
  32. package/dist/svelte/components/ContentContributionTypeManager.svelte +3 -0
  33. package/dist/svelte/components/ContentContributionTypeManager.svelte.d.ts +3 -0
  34. package/dist/svelte/components/ContentContributionTypeManager.svelte.d.ts.map +1 -1
  35. package/dist/svelte/components/ContentContributorManager.svelte +3 -0
  36. package/dist/svelte/components/ContentContributorManager.svelte.d.ts +3 -0
  37. package/dist/svelte/components/ContentContributorManager.svelte.d.ts.map +1 -1
  38. package/dist/svelte/components/ContentCorrectionsTool.svelte +4 -0
  39. package/dist/svelte/components/ContentCorrectionsTool.svelte.d.ts +4 -0
  40. package/dist/svelte/components/ContentCorrectionsTool.svelte.d.ts.map +1 -1
  41. package/dist/svelte/components/ContentEditor.svelte +16 -0
  42. package/dist/svelte/components/ContentEditor.svelte.d.ts +16 -0
  43. package/dist/svelte/components/ContentEditor.svelte.d.ts.map +1 -1
  44. package/dist/svelte/components/ContentGovernanceAssignmentEditor.svelte +4 -0
  45. package/dist/svelte/components/ContentGovernanceAssignmentEditor.svelte.d.ts +4 -0
  46. package/dist/svelte/components/ContentGovernanceAssignmentEditor.svelte.d.ts.map +1 -1
  47. package/dist/svelte/components/ContentGovernanceManager.svelte +3 -0
  48. package/dist/svelte/components/ContentGovernanceManager.svelte.d.ts +3 -0
  49. package/dist/svelte/components/ContentGovernanceManager.svelte.d.ts.map +1 -1
  50. package/dist/svelte/components/ContentGovernancePanel.svelte +16 -0
  51. package/dist/svelte/components/ContentGovernancePanel.svelte.d.ts +16 -0
  52. package/dist/svelte/components/ContentGovernancePanel.svelte.d.ts.map +1 -1
  53. package/dist/svelte/components/ContentGovernancePolicyEditor.svelte +3 -0
  54. package/dist/svelte/components/ContentGovernancePolicyEditor.svelte.d.ts +3 -0
  55. package/dist/svelte/components/ContentGovernancePolicyEditor.svelte.d.ts.map +1 -1
  56. package/dist/svelte/components/ContentGovernanceProfileEditor.svelte +4 -0
  57. package/dist/svelte/components/ContentGovernanceProfileEditor.svelte.d.ts +4 -0
  58. package/dist/svelte/components/ContentGovernanceProfileEditor.svelte.d.ts.map +1 -1
  59. package/dist/svelte/components/ContentGovernanceTool.svelte +5 -0
  60. package/dist/svelte/components/ContentGovernanceTool.svelte.d.ts +5 -0
  61. package/dist/svelte/components/ContentGovernanceTool.svelte.d.ts.map +1 -1
  62. package/dist/svelte/components/ContentImageBrowser.svelte +10 -0
  63. package/dist/svelte/components/ContentImageBrowser.svelte.d.ts +10 -0
  64. package/dist/svelte/components/ContentImageBrowser.svelte.d.ts.map +1 -1
  65. package/dist/svelte/components/ContentImageChooser.svelte +4 -0
  66. package/dist/svelte/components/ContentImageChooser.svelte.d.ts +4 -0
  67. package/dist/svelte/components/ContentImageChooser.svelte.d.ts.map +1 -1
  68. package/dist/svelte/components/ContentList.svelte +8 -0
  69. package/dist/svelte/components/ContentList.svelte.d.ts +8 -0
  70. package/dist/svelte/components/ContentList.svelte.d.ts.map +1 -1
  71. package/dist/svelte/components/ContentMetadataFields.svelte +2 -0
  72. package/dist/svelte/components/ContentMetadataFields.svelte.d.ts +2 -0
  73. package/dist/svelte/components/ContentMetadataFields.svelte.d.ts.map +1 -1
  74. package/dist/svelte/components/ContentReferencesPanel.svelte +3 -0
  75. package/dist/svelte/components/ContentReferencesPanel.svelte.d.ts +3 -0
  76. package/dist/svelte/components/ContentReferencesPanel.svelte.d.ts.map +1 -1
  77. package/dist/svelte/components/ContentReviewStatusTray.svelte +5 -0
  78. package/dist/svelte/components/ContentReviewStatusTray.svelte.d.ts +5 -0
  79. package/dist/svelte/components/ContentReviewStatusTray.svelte.d.ts.map +1 -1
  80. package/dist/svelte/components/ContentStatusFields.svelte +2 -0
  81. package/dist/svelte/components/ContentStatusFields.svelte.d.ts +2 -0
  82. package/dist/svelte/components/ContentStatusFields.svelte.d.ts.map +1 -1
  83. package/dist/svelte/components/ContentTitleField.svelte +4 -0
  84. package/dist/svelte/components/ContentTitleField.svelte.d.ts +4 -0
  85. package/dist/svelte/components/ContentTitleField.svelte.d.ts.map +1 -1
  86. package/dist/svelte/components/ContentTransparencyReport.svelte +3 -0
  87. package/dist/svelte/components/ContentTransparencyReport.svelte.d.ts +3 -0
  88. package/dist/svelte/components/ContentTransparencyReport.svelte.d.ts.map +1 -1
  89. package/dist/svelte/components/ContentTransparencyTool.svelte +3 -0
  90. package/dist/svelte/components/ContentTransparencyTool.svelte.d.ts +3 -0
  91. package/dist/svelte/components/ContentTransparencyTool.svelte.d.ts.map +1 -1
  92. package/dist/svelte/components/ContentVersionsTool.svelte +3 -0
  93. package/dist/svelte/components/ContentVersionsTool.svelte.d.ts +3 -0
  94. package/dist/svelte/components/ContentVersionsTool.svelte.d.ts.map +1 -1
  95. package/dist/svelte/components/GovernedContentEditor.svelte +20 -0
  96. package/dist/svelte/components/GovernedContentEditor.svelte.d.ts +20 -0
  97. package/dist/svelte/components/GovernedContentEditor.svelte.d.ts.map +1 -1
  98. package/dist/svelte/routes/ContentContributionsRoute.svelte +4 -0
  99. package/dist/svelte/routes/ContentContributionsRoute.svelte.d.ts +4 -0
  100. package/dist/svelte/routes/ContentContributionsRoute.svelte.d.ts.map +1 -1
  101. package/dist/svelte/routes/ContentFactsRoute.svelte +5 -0
  102. package/dist/svelte/routes/ContentFactsRoute.svelte.d.ts +5 -0
  103. package/dist/svelte/routes/ContentFactsRoute.svelte.d.ts.map +1 -1
  104. package/dist/svelte/routes/ContentGovernanceRoute.svelte +4 -0
  105. package/dist/svelte/routes/ContentGovernanceRoute.svelte.d.ts +4 -0
  106. package/dist/svelte/routes/ContentGovernanceRoute.svelte.d.ts.map +1 -1
  107. package/dist/svelte/routes/ContentWorkspaceRoute.svelte +5 -0
  108. package/dist/svelte/routes/ContentWorkspaceRoute.svelte.d.ts +5 -0
  109. package/dist/svelte/routes/ContentWorkspaceRoute.svelte.d.ts.map +1 -1
  110. package/dist/svelte/routes/PublishedArticleRoute.svelte +3 -0
  111. package/dist/svelte/routes/PublishedArticleRoute.svelte.d.ts +3 -0
  112. package/dist/svelte/routes/PublishedArticleRoute.svelte.d.ts.map +1 -1
  113. package/package.json +16 -15
  114. package/dist/chunks/content-query-4w62u5_0.js +0 -4092
@@ -1 +1 @@
1
- {"version":3,"file":"ContentGovernanceTool.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentGovernanceTool.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,0BAA0B,EAC1B,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAOhC,MAAM,MAAM,4BAA4B,GACpC,YAAY,GACZ,aAAa,GACb,UAAU,GACV,cAAc,CAAC;AAEnB,MAAM,WAAW,KAAK;IACpB,OAAO,EAAE,4BAA4B,CAAC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,uBAAuB,CAAC,EAAE,CAAC,KAAK,EAAE,0BAA0B,GAAG,IAAI,KAAK,IAAI,CAAC;IAC7E,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,kBAAkB,GAAG,IAAI,KAAK,IAAI,CAAC;CAChE;AA+BD,QAAA,MAAM,qBAAqB,2CAAwC,CAAC;AACpE,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACtE,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"ContentGovernanceTool.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentGovernanceTool.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,0BAA0B,EAC1B,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAOhC,MAAM,MAAM,4BAA4B,GACpC,YAAY,GACZ,aAAa,GACb,UAAU,GACV,cAAc,CAAC;AAEnB,MAAM,WAAW,KAAK;IACpB,mGAAmG;IACnG,OAAO,EAAE,4BAA4B,CAAC;IACtC,0DAA0D;IAC1D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,0EAA0E;IAC1E,uBAAuB,CAAC,EAAE,CAAC,KAAK,EAAE,0BAA0B,GAAG,IAAI,KAAK,IAAI,CAAC;IAC7E,yEAAyE;IACzE,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,kBAAkB,GAAG,IAAI,KAAK,IAAI,CAAC;CAChE;AA+BD,QAAA,MAAM,qBAAqB,2CAAwC,CAAC;AACpE,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACtE,eAAe,qBAAqB,CAAC"}
@@ -11,15 +11,25 @@ import { M } from '../i18n.editor.js';
11
11
  const { t } = useI18n();
12
12
 
13
13
  export interface Props {
14
+ /** Base URL for asset upload and retrieval API requests. */
14
15
  apiBaseUrl?: string;
16
+ /** List of assets to display in the browser grid. */
15
17
  assets?: ContentEditorAsset[];
18
+ /** ID of the asset currently marked as the thumbnail. */
16
19
  thumbnailAssetId?: string | null;
20
+ /** Label text displayed on the button to open the image uploader. */
17
21
  addButtonLabel?: string;
22
+ /** Label text displayed on buttons to select an asset for use. */
18
23
  selectActionLabel?: string;
24
+ /** Whether to display the image uploader panel on initial render. */
19
25
  showUploaderInitially?: boolean;
26
+ /** Invoked when a new image is selected through the uploader. */
20
27
  onSelectImage?: (image: ImageLike | File | string) => void;
28
+ /** Invoked when an existing asset is selected from the grid. */
21
29
  onUseAsset?: (asset: ContentEditorAsset) => void;
30
+ /** Invoked when an asset is deleted from the collection. */
22
31
  onRemoveAsset?: (assetId: string) => void;
32
+ /** Invoked when an asset is designated as the thumbnail. */
23
33
  onUseAsThumbnail?: (assetId: string) => void;
24
34
  }
25
35
 
@@ -1,15 +1,25 @@
1
1
  import { type ImageLike } from '@happyvertical/smrt-images/svelte';
2
2
  import type { ContentEditorAsset } from '../content-editor-form';
3
3
  export interface Props {
4
+ /** Base URL for asset upload and retrieval API requests. */
4
5
  apiBaseUrl?: string;
6
+ /** List of assets to display in the browser grid. */
5
7
  assets?: ContentEditorAsset[];
8
+ /** ID of the asset currently marked as the thumbnail. */
6
9
  thumbnailAssetId?: string | null;
10
+ /** Label text displayed on the button to open the image uploader. */
7
11
  addButtonLabel?: string;
12
+ /** Label text displayed on buttons to select an asset for use. */
8
13
  selectActionLabel?: string;
14
+ /** Whether to display the image uploader panel on initial render. */
9
15
  showUploaderInitially?: boolean;
16
+ /** Invoked when a new image is selected through the uploader. */
10
17
  onSelectImage?: (image: ImageLike | File | string) => void;
18
+ /** Invoked when an existing asset is selected from the grid. */
11
19
  onUseAsset?: (asset: ContentEditorAsset) => void;
20
+ /** Invoked when an asset is deleted from the collection. */
12
21
  onRemoveAsset?: (assetId: string) => void;
22
+ /** Invoked when an asset is designated as the thumbnail. */
13
23
  onUseAsThumbnail?: (assetId: string) => void;
14
24
  }
15
25
  declare const ContentImageBrowser: import("svelte").Component<Props, {}, "">;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentImageBrowser.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentImageBrowser.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,SAAS,EAEf,MAAM,mCAAmC,CAAC;AAG3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAIjE,MAAM,WAAW,KAAK;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,GAAG,MAAM,KAAK,IAAI,CAAC;IAC3D,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACjD,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C;AAgHD,QAAA,MAAM,mBAAmB,2CAAwC,CAAC;AAClE,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAClE,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"ContentImageBrowser.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentImageBrowser.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,SAAS,EAEf,MAAM,mCAAmC,CAAC;AAG3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAIjE,MAAM,WAAW,KAAK;IACpB,4DAA4D;IAC5D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qDAAqD;IACrD,MAAM,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC9B,yDAAyD;IACzD,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,qEAAqE;IACrE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kEAAkE;IAClE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qEAAqE;IACrE,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,iEAAiE;IACjE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,GAAG,MAAM,KAAK,IAAI,CAAC;IAC3D,gEAAgE;IAChE,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACjD,4DAA4D;IAC5D,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,4DAA4D;IAC5D,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C;AAgHD,QAAA,MAAM,mBAAmB,2CAAwC,CAAC;AAClE,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAClE,eAAe,mBAAmB,CAAC"}
@@ -11,9 +11,13 @@ import { M } from '../i18n.editor.js';
11
11
  const { t } = useI18n();
12
12
 
13
13
  export interface Props {
14
+ /** Content body text from which images are extracted. */
14
15
  body: string;
16
+ /** Format of the body content for correct image extraction. */
15
17
  format?: ContentBodyFormat | null;
18
+ /** Index of the currently selected image within the body. */
16
19
  selectedIndex?: number;
20
+ /** Invoked when the user selects an image by index. */
17
21
  onSelect?: (index: number) => void;
18
22
  }
19
23
 
@@ -1,8 +1,12 @@
1
1
  import { type ContentBodyFormat } from '../../body-format';
2
2
  export interface Props {
3
+ /** Content body text from which images are extracted. */
3
4
  body: string;
5
+ /** Format of the body content for correct image extraction. */
4
6
  format?: ContentBodyFormat | null;
7
+ /** Index of the currently selected image within the body. */
5
8
  selectedIndex?: number;
9
+ /** Invoked when the user selects an image by index. */
6
10
  onSelect?: (index: number) => void;
7
11
  }
8
12
  declare const ContentImageChooser: import("svelte").Component<Props, {}, "">;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentImageChooser.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentImageChooser.svelte.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,iBAAiB,EAGvB,MAAM,mBAAmB,CAAC;AAI3B,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAoED,QAAA,MAAM,mBAAmB,2CAAwC,CAAC;AAClE,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAClE,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"ContentImageChooser.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentImageChooser.svelte.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,iBAAiB,EAGvB,MAAM,mBAAmB,CAAC;AAI3B,MAAM,WAAW,KAAK;IACpB,yDAAyD;IACzD,IAAI,EAAE,MAAM,CAAC;IACb,+DAA+D;IAC/D,MAAM,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAClC,6DAA6D;IAC7D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAoED,QAAA,MAAM,mBAAmB,2CAAwC,CAAC;AAClE,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAClE,eAAe,mBAAmB,CAAC"}
@@ -290,6 +290,7 @@ function workflowJobStatusLabel(status: string): string {
290
290
  type ContentListDropNotice = ContentListStateDrop | ContentListQueryDrop;
291
291
 
292
292
  interface Props {
293
+ /** Base URL for content API requests. */
293
294
  apiBaseUrl?: string;
294
295
  /**
295
296
  * Client-side rows. Ignored when `query` is supplied — the server then owns
@@ -297,12 +298,19 @@ interface Props {
297
298
  * source of truth.
298
299
  */
299
300
  contents?: ContentData[];
301
+ /** Filter content by this type; no filtering applied when omitted. */
300
302
  type?: string;
303
+ /** Initial view layout mode for the content list. */
301
304
  defaultViewMode?: ContentListViewMode;
305
+ /** Invoked when the user requests to edit a content item. */
302
306
  onEdit: (content: ContentData) => void;
307
+ /** Invoked when the user requests to delete a content item. */
303
308
  onDelete: (content: ContentData) => void;
309
+ /** Invoked when the user requests to create new content. */
304
310
  onAdd: () => void;
311
+ /** Optional UI controls rendered above the content list. */
305
312
  controls?: Snippet;
313
+ /** Returns a URL to view the published content; null hides the view link. */
306
314
  getViewHref?: (content: ContentData) => string | null;
307
315
  /** Announced uniformly by every presentation; #2455 extends it. */
308
316
  loading?: boolean;
@@ -31,6 +31,7 @@ import { type ContentListJobBinding } from '../content-list-runtime.js';
31
31
  import { type ContentListSavedViewStore } from '../content-list-saved-views.js';
32
32
  import { type ContentListWorkflowBinding } from '../content-list-workflows.js';
33
33
  interface Props {
34
+ /** Base URL for content API requests. */
34
35
  apiBaseUrl?: string;
35
36
  /**
36
37
  * Client-side rows. Ignored when `query` is supplied — the server then owns
@@ -38,12 +39,19 @@ interface Props {
38
39
  * source of truth.
39
40
  */
40
41
  contents?: ContentData[];
42
+ /** Filter content by this type; no filtering applied when omitted. */
41
43
  type?: string;
44
+ /** Initial view layout mode for the content list. */
42
45
  defaultViewMode?: ContentListViewMode;
46
+ /** Invoked when the user requests to edit a content item. */
43
47
  onEdit: (content: ContentData) => void;
48
+ /** Invoked when the user requests to delete a content item. */
44
49
  onDelete: (content: ContentData) => void;
50
+ /** Invoked when the user requests to create new content. */
45
51
  onAdd: () => void;
52
+ /** Optional UI controls rendered above the content list. */
46
53
  controls?: Snippet;
54
+ /** Returns a URL to view the published content; null hides the view link. */
47
55
  getViewHref?: (content: ContentData) => string | null;
48
56
  /** Announced uniformly by every presentation; #2455 extends it. */
49
57
  loading?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentList.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentList.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,IAAI,6BAA6B,EAAE,MAAM,6BAA6B,CAAC;AACvG,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE/E;;;;;;;GAOG;AACH,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,MAAM,CAAC,EAAE,eAAe,GAAG,MAAM,GAAG,IAAI,CAAC;IACzC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CACT,MAAM,EAAE,eAAe,EACvB,KAAK,EAAE,6BAA6B,KACjC,IAAI,CAAC;IACV,uEAAuE;IACvE,OAAO,CAAC,EAAE,0BAA0B,CAAC;CACtC;AAcD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EASL,KAAK,sBAAsB,EAE3B,KAAK,mBAAmB,EAiBzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAOL,KAAK,sBAAsB,EAU5B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAGL,KAAK,qBAAqB,EAG3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,KAAK,yBAAyB,EAG/B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,KAAK,0BAA0B,EAOhC,MAAM,8BAA8B,CAAC;AAgBtC,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,MAAM,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IACvC,QAAQ,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IACzC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,MAAM,GAAG,IAAI,CAAC;IACtD,mEAAmE;IACnE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,4EAA4E;IAC5E,WAAW,CAAC,EAAE,sBAAsB,CAAC;IACrC;;;;;OAKG;IACH,KAAK,CAAC,EAAE,sBAAsB,CAAC;IAC/B,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,0BAA0B,CAAC;IACtC,oFAAoF;IACpF,UAAU,CAAC,EAAE,yBAAyB,CAAC;IACvC,6EAA6E;IAC7E,IAAI,CAAC,EAAE,qBAAqB,CAAC;IAC7B,6EAA6E;IAC7E,SAAS,CAAC,EAAE,0BAA0B,CAAC;CACxC;AAq9ED,QAAA,MAAM,WAAW,2CAAwC,CAAC;AAC1D,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAClD,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"ContentList.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentList.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,IAAI,6BAA6B,EAAE,MAAM,6BAA6B,CAAC;AACvG,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE/E;;;;;;;GAOG;AACH,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,MAAM,CAAC,EAAE,eAAe,GAAG,MAAM,GAAG,IAAI,CAAC;IACzC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CACT,MAAM,EAAE,eAAe,EACvB,KAAK,EAAE,6BAA6B,KACjC,IAAI,CAAC;IACV,uEAAuE;IACvE,OAAO,CAAC,EAAE,0BAA0B,CAAC;CACtC;AAcD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EASL,KAAK,sBAAsB,EAE3B,KAAK,mBAAmB,EAiBzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAOL,KAAK,sBAAsB,EAU5B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAGL,KAAK,qBAAqB,EAG3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,KAAK,yBAAyB,EAG/B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,KAAK,0BAA0B,EAOhC,MAAM,8BAA8B,CAAC;AAgBtC,UAAU,KAAK;IACb,yCAAyC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IACzB,sEAAsE;IACtE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,6DAA6D;IAC7D,MAAM,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IACvC,+DAA+D;IAC/D,QAAQ,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IACzC,4DAA4D;IAC5D,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6EAA6E;IAC7E,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,MAAM,GAAG,IAAI,CAAC;IACtD,mEAAmE;IACnE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,4EAA4E;IAC5E,WAAW,CAAC,EAAE,sBAAsB,CAAC;IACrC;;;;;OAKG;IACH,KAAK,CAAC,EAAE,sBAAsB,CAAC;IAC/B,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,0BAA0B,CAAC;IACtC,oFAAoF;IACpF,UAAU,CAAC,EAAE,yBAAyB,CAAC;IACvC,6EAA6E;IAC7E,IAAI,CAAC,EAAE,qBAAqB,CAAC;IAC7B,6EAA6E;IAC7E,SAAS,CAAC,EAAE,0BAA0B,CAAC;CACxC;AAq9ED,QAAA,MAAM,WAAW,2CAAwC,CAAC;AAC1D,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAClD,eAAe,WAAW,CAAC"}
@@ -15,7 +15,9 @@ export interface ContentMetadataFieldData {
15
15
  }
16
16
 
17
17
  export interface Props {
18
+ /** Current metadata field values. */
18
19
  data: ContentMetadataFieldData;
20
+ /** Invoked when the user modifies any metadata field. */
19
21
  onChange?: (change: Record<string, unknown>) => void;
20
22
  }
21
23
 
@@ -7,7 +7,9 @@ export interface ContentMetadataFieldData {
7
7
  [key: string]: unknown;
8
8
  }
9
9
  export interface Props {
10
+ /** Current metadata field values. */
10
11
  data: ContentMetadataFieldData;
12
+ /** Invoked when the user modifies any metadata field. */
11
13
  onChange?: (change: Record<string, unknown>) => void;
12
14
  }
13
15
  declare const ContentMetadataFields: import("svelte").Component<Props, {}, "">;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentMetadataFields.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentMetadataFields.svelte.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,wBAAwB;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,wBAAwB,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;CACtD;AA0DD,QAAA,MAAM,qBAAqB,2CAAwC,CAAC;AACpE,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACtE,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"ContentMetadataFields.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentMetadataFields.svelte.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,wBAAwB;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,KAAK;IACpB,qCAAqC;IACrC,IAAI,EAAE,wBAAwB,CAAC;IAC/B,yDAAyD;IACzD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;CACtD;AA0DD,QAAA,MAAM,qBAAqB,2CAAwC,CAAC;AACpE,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACtE,eAAe,qBAAqB,CAAC"}
@@ -9,8 +9,11 @@ import { M } from '../i18n.editor.js';
9
9
  const { t } = useI18n();
10
10
 
11
11
  export interface Props {
12
+ /** IDs of referenced content items. */
12
13
  referenceIds?: string[];
14
+ /** Resolved reference objects with metadata for display. */
13
15
  references?: ContentEditorReference[];
16
+ /** Invoked when the user adds or removes a reference. */
14
17
  onReferenceIdsChange?: (referenceIds: string[]) => void;
15
18
  /**
16
19
  * Optional snippet rendered inside the panel beneath the references list
@@ -1,8 +1,11 @@
1
1
  import type { Snippet } from 'svelte';
2
2
  import type { ContentEditorReference } from '../content-editor-form';
3
3
  export interface Props {
4
+ /** IDs of referenced content items. */
4
5
  referenceIds?: string[];
6
+ /** Resolved reference objects with metadata for display. */
5
7
  references?: ContentEditorReference[];
8
+ /** Invoked when the user adds or removes a reference. */
6
9
  onReferenceIdsChange?: (referenceIds: string[]) => void;
7
10
  /**
8
11
  * Optional snippet rendered inside the panel beneath the references list
@@ -1 +1 @@
1
- {"version":3,"file":"ContentReferencesPanel.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentReferencesPanel.svelte.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAIrE,MAAM,WAAW,KAAK;IACpB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,UAAU,CAAC,EAAE,sBAAsB,EAAE,CAAC;IACtC,oBAAoB,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACxD;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAwHD,QAAA,MAAM,sBAAsB,2CAAwC,CAAC;AACrE,KAAK,sBAAsB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACxE,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"ContentReferencesPanel.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentReferencesPanel.svelte.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAIrE,MAAM,WAAW,KAAK;IACpB,uCAAuC;IACvC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,4DAA4D;IAC5D,UAAU,CAAC,EAAE,sBAAsB,EAAE,CAAC;IACtC,yDAAyD;IACzD,oBAAoB,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACxD;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAwHD,QAAA,MAAM,sBAAsB,2CAAwC,CAAC;AACrE,KAAK,sBAAsB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACxE,eAAe,sBAAsB,CAAC"}
@@ -17,10 +17,15 @@ export interface ContentReviewStatusTrayItem {
17
17
  }
18
18
 
19
19
  export interface Props {
20
+ /** Review status items to display in the tray. */
20
21
  items?: ContentReviewStatusTrayItem[];
22
+ /** ID of the currently selected status item. */
21
23
  activeId?: string | null;
24
+ /** Whether the tray dropdown menu is displayed. */
22
25
  open?: boolean;
26
+ /** Label text shown when the tray is collapsed. */
23
27
  label?: string;
28
+ /** Invoked when the user selects a status item. */
24
29
  onSelect?: (item: ContentReviewStatusTrayItem) => void;
25
30
  }
26
31
 
@@ -8,10 +8,15 @@ export interface ContentReviewStatusTrayItem {
8
8
  status: string;
9
9
  }
10
10
  export interface Props {
11
+ /** Review status items to display in the tray. */
11
12
  items?: ContentReviewStatusTrayItem[];
13
+ /** ID of the currently selected status item. */
12
14
  activeId?: string | null;
15
+ /** Whether the tray dropdown menu is displayed. */
13
16
  open?: boolean;
17
+ /** Label text shown when the tray is collapsed. */
14
18
  label?: string;
19
+ /** Invoked when the user selects a status item. */
15
20
  onSelect?: (item: ContentReviewStatusTrayItem) => void;
16
21
  }
17
22
  declare const ContentReviewStatusTray: import("svelte").Component<Props, {}, "">;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentReviewStatusTray.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentReviewStatusTray.svelte.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,uBAAuB,GAC/B,SAAS,GACT,QAAQ,GACR,SAAS,GACT,SAAS,CAAC;AACd,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEhF,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,uBAAuB,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,uBAAuB,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,KAAK;IACpB,KAAK,CAAC,EAAE,2BAA2B,EAAE,CAAC;IACtC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,2BAA2B,KAAK,IAAI,CAAC;CACxD;AAiED,QAAA,MAAM,uBAAuB,2CAAwC,CAAC;AACtE,KAAK,uBAAuB,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAC1E,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"ContentReviewStatusTray.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentReviewStatusTray.svelte.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,uBAAuB,GAC/B,SAAS,GACT,QAAQ,GACR,SAAS,GACT,SAAS,CAAC;AACd,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEhF,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,uBAAuB,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,uBAAuB,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,KAAK;IACpB,kDAAkD;IAClD,KAAK,CAAC,EAAE,2BAA2B,EAAE,CAAC;IACtC,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,mDAAmD;IACnD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,mDAAmD;IACnD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mDAAmD;IACnD,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,2BAA2B,KAAK,IAAI,CAAC;CACxD;AAiED,QAAA,MAAM,uBAAuB,2CAAwC,CAAC;AACtE,KAAK,uBAAuB,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAC1E,eAAe,uBAAuB,CAAC"}
@@ -14,7 +14,9 @@ export interface ContentStatusFieldData {
14
14
  }
15
15
 
16
16
  export interface Props {
17
+ /** Current status field values. */
17
18
  data: ContentStatusFieldData;
19
+ /** Invoked when the user modifies any status field. */
18
20
  onChange?: (change: Record<string, unknown>) => void;
19
21
  }
20
22
 
@@ -6,7 +6,9 @@ export interface ContentStatusFieldData {
6
6
  [key: string]: unknown;
7
7
  }
8
8
  export interface Props {
9
+ /** Current status field values. */
9
10
  data: ContentStatusFieldData;
11
+ /** Invoked when the user modifies any status field. */
10
12
  onChange?: (change: Record<string, unknown>) => void;
11
13
  }
12
14
  declare const ContentStatusFields: import("svelte").Component<Props, {}, "">;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentStatusFields.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentStatusFields.svelte.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,sBAAsB,CAAC;IAC7B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;CACtD;AAsDD,QAAA,MAAM,mBAAmB,2CAAwC,CAAC;AAClE,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAClE,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"ContentStatusFields.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentStatusFields.svelte.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,KAAK;IACpB,mCAAmC;IACnC,IAAI,EAAE,sBAAsB,CAAC;IAC7B,uDAAuD;IACvD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;CACtD;AAsDD,QAAA,MAAM,mBAAmB,2CAAwC,CAAC;AAClE,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAClE,eAAe,mBAAmB,CAAC"}
@@ -2,9 +2,13 @@
2
2
  import { Input } from '@happyvertical/smrt-ui/forms';
3
3
 
4
4
  export interface Props {
5
+ /** Current title text value. */
5
6
  value?: string;
7
+ /** Placeholder text shown when the field is empty. */
6
8
  placeholder?: string;
9
+ /** Whether the title field must be filled before submission. */
7
10
  required?: boolean;
11
+ /** Invoked when the user modifies the title text. */
8
12
  onChange?: (value: string) => void;
9
13
  }
10
14
 
@@ -1,7 +1,11 @@
1
1
  export interface Props {
2
+ /** Current title text value. */
2
3
  value?: string;
4
+ /** Placeholder text shown when the field is empty. */
3
5
  placeholder?: string;
6
+ /** Whether the title field must be filled before submission. */
4
7
  required?: boolean;
8
+ /** Invoked when the user modifies the title text. */
5
9
  onChange?: (value: string) => void;
6
10
  }
7
11
  declare const ContentTitleField: import("svelte").Component<Props, {}, "">;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentTitleField.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentTitleField.svelte.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,KAAK;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAqBD,QAAA,MAAM,iBAAiB,2CAAwC,CAAC;AAChE,KAAK,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC9D,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"ContentTitleField.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentTitleField.svelte.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,KAAK;IACpB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sDAAsD;IACtD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qDAAqD;IACrD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAqBD,QAAA,MAAM,iBAAiB,2CAAwC,CAAC;AAChE,KAAK,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC9D,eAAe,iBAAiB,CAAC"}
@@ -6,8 +6,11 @@ import { M } from '../i18n.tools.js';
6
6
  const { t } = useI18n();
7
7
 
8
8
  export interface Props {
9
+ /** Transparency report data including facts and references. */
9
10
  transparency?: ContentTransparencyData | null;
11
+ /** Title displayed at the top of the report. */
10
12
  title?: string;
13
+ /** Message displayed when no transparency data is available. */
11
14
  emptyCopy?: string;
12
15
  }
13
16
 
@@ -1,7 +1,10 @@
1
1
  import type { ContentTransparencyData } from '../../mock-smrt-client';
2
2
  export interface Props {
3
+ /** Transparency report data including facts and references. */
3
4
  transparency?: ContentTransparencyData | null;
5
+ /** Title displayed at the top of the report. */
4
6
  title?: string;
7
+ /** Message displayed when no transparency data is available. */
5
8
  emptyCopy?: string;
6
9
  }
7
10
  declare const ContentTransparencyReport: import("svelte").Component<Props, {}, "">;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentTransparencyReport.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentTransparencyReport.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAItE,MAAM,WAAW,KAAK;IACpB,YAAY,CAAC,EAAE,uBAAuB,GAAG,IAAI,CAAC;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAiND,QAAA,MAAM,yBAAyB,2CAAwC,CAAC;AACxE,KAAK,yBAAyB,GAAG,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC9E,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"ContentTransparencyReport.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentTransparencyReport.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAItE,MAAM,WAAW,KAAK;IACpB,+DAA+D;IAC/D,YAAY,CAAC,EAAE,uBAAuB,GAAG,IAAI,CAAC;IAC9C,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAiND,QAAA,MAAM,yBAAyB,2CAAwC,CAAC;AACxE,KAAK,yBAAyB,GAAG,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC9E,eAAe,yBAAyB,CAAC"}
@@ -11,8 +11,11 @@ import { M } from '../i18n.tools.js';
11
11
  const { t } = useI18n();
12
12
 
13
13
  export interface Props {
14
+ /** Base URL for content API requests. */
14
15
  apiBaseUrl?: string;
16
+ /** ID of the content item to analyze for transparency. */
15
17
  contentId: string;
18
+ /** Invoked when the governance state of the content changes. */
16
19
  onGovernanceStateChange?: (state: ContentGovernanceStateData | null) => void;
17
20
  }
18
21
 
@@ -1,7 +1,10 @@
1
1
  import type { ContentGovernanceStateData } from '../../mock-smrt-client';
2
2
  export interface Props {
3
+ /** Base URL for content API requests. */
3
4
  apiBaseUrl?: string;
5
+ /** ID of the content item to analyze for transparency. */
4
6
  contentId: string;
7
+ /** Invoked when the governance state of the content changes. */
5
8
  onGovernanceStateChange?: (state: ContentGovernanceStateData | null) => void;
6
9
  }
7
10
  declare const ContentTransparencyTool: import("svelte").Component<Props, {}, "">;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentTransparencyTool.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentTransparencyTool.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAMhC,MAAM,WAAW,KAAK;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,uBAAuB,CAAC,EAAE,CAAC,KAAK,EAAE,0BAA0B,GAAG,IAAI,KAAK,IAAI,CAAC;CAC9E;AAwND,QAAA,MAAM,uBAAuB,2CAAwC,CAAC;AACtE,KAAK,uBAAuB,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAC1E,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"ContentTransparencyTool.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentTransparencyTool.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAMhC,MAAM,WAAW,KAAK;IACpB,yCAAyC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0DAA0D;IAC1D,SAAS,EAAE,MAAM,CAAC;IAClB,gEAAgE;IAChE,uBAAuB,CAAC,EAAE,CAAC,KAAK,EAAE,0BAA0B,GAAG,IAAI,KAAK,IAAI,CAAC;CAC9E;AAwND,QAAA,MAAM,uBAAuB,2CAAwC,CAAC;AACtE,KAAK,uBAAuB,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAC1E,eAAe,uBAAuB,CAAC"}
@@ -10,8 +10,11 @@ import { M } from '../i18n.tools.js';
10
10
  const { t } = useI18n();
11
11
 
12
12
  export interface Props {
13
+ /** Base URL for content API requests. */
13
14
  apiBaseUrl?: string;
15
+ /** ID of the content item to retrieve versions for. */
14
16
  contentId: string;
17
+ /** Invoked when the versions list changes. */
15
18
  onVersionsChange?: (versions: ContentVersionData[]) => void;
16
19
  }
17
20
 
@@ -1,7 +1,10 @@
1
1
  import type { ContentVersionData } from '../../mock-smrt-client';
2
2
  export interface Props {
3
+ /** Base URL for content API requests. */
3
4
  apiBaseUrl?: string;
5
+ /** ID of the content item to retrieve versions for. */
4
6
  contentId: string;
7
+ /** Invoked when the versions list changes. */
5
8
  onVersionsChange?: (versions: ContentVersionData[]) => void;
6
9
  }
7
10
  declare const ContentVersionsTool: import("svelte").Component<Props, {}, "">;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentVersionsTool.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentVersionsTool.svelte.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAMjE,MAAM,WAAW,KAAK;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,kBAAkB,EAAE,KAAK,IAAI,CAAC;CAC7D;AA6ND,QAAA,MAAM,mBAAmB,2CAAwC,CAAC;AAClE,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAClE,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"ContentVersionsTool.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentVersionsTool.svelte.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAMjE,MAAM,WAAW,KAAK;IACpB,yCAAyC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAC;IAClB,8CAA8C;IAC9C,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,kBAAkB,EAAE,KAAK,IAAI,CAAC;CAC7D;AA6ND,QAAA,MAAM,mBAAmB,2CAAwC,CAAC;AAClE,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAClE,eAAe,mBAAmB,CAAC"}
@@ -20,25 +20,45 @@ export type GovernedContentEditorSaveData = ContentData & {
20
20
  };
21
21
 
22
22
  export interface Props {
23
+ /** Base URL for content and governance API requests. */
23
24
  apiBaseUrl?: string;
25
+ /** Existing content to edit; omit to create new content. */
24
26
  content?: ContentData;
27
+ /** ID of the content being edited; defaults to 'new'. */
25
28
  contentId?: string;
29
+ /** Default relationship type for new facts added to the content. */
26
30
  defaultRelationship?: string;
31
+ /** Key for the publication review profile to enforce. */
27
32
  reviewProfileKey?: string;
33
+ /** Label shown for custom review workflow submissions. */
28
34
  customReviewLabel?: string;
35
+ /** Instructions shown for custom review workflow submissions. */
29
36
  customReviewInstructions?: string;
37
+ /** Policy key applied to custom review submissions. */
30
38
  customReviewPolicyKey?: string;
39
+ /** Whether to require publication readiness before saving. */
31
40
  enforcePublishReadiness?: boolean;
41
+ /** Whether to disable the save button. */
32
42
  saveDisabled?: boolean;
43
+ /** Message displayed when save is disabled or unavailable. */
33
44
  saveNotice?: string | null;
45
+ /** Whether the agent chat assistant panel is available. */
34
46
  agentChatEnabled?: boolean;
47
+ /** Message displayed when agent chat is unavailable. */
35
48
  agentChatNotice?: string | null;
49
+ /** Whether to hide the save and cancel action buttons. */
36
50
  hideActions?: boolean;
51
+ /** Whether to hide the agent chat panel. */
37
52
  hideChat?: boolean;
53
+ /** Whether to display the fact catalog panel. */
38
54
  showFactCatalog?: boolean;
55
+ /** Whether to display the governance status panel. */
39
56
  showGovernancePanel?: boolean;
57
+ /** Invoked when the assistant context changes during editing. */
40
58
  onAssistantContextChange?: ContentEditorAssistantContextChange;
59
+ /** Invoked when the user saves the content. */
41
60
  onSave: (data: GovernedContentEditorSaveData) => void;
61
+ /** Invoked when the user cancels editing. */
42
62
  onCancel: () => void;
43
63
  }
44
64
 
@@ -5,25 +5,45 @@ export type GovernedContentEditorSaveData = ContentData & {
5
5
  facts: FactData[];
6
6
  };
7
7
  export interface Props {
8
+ /** Base URL for content and governance API requests. */
8
9
  apiBaseUrl?: string;
10
+ /** Existing content to edit; omit to create new content. */
9
11
  content?: ContentData;
12
+ /** ID of the content being edited; defaults to 'new'. */
10
13
  contentId?: string;
14
+ /** Default relationship type for new facts added to the content. */
11
15
  defaultRelationship?: string;
16
+ /** Key for the publication review profile to enforce. */
12
17
  reviewProfileKey?: string;
18
+ /** Label shown for custom review workflow submissions. */
13
19
  customReviewLabel?: string;
20
+ /** Instructions shown for custom review workflow submissions. */
14
21
  customReviewInstructions?: string;
22
+ /** Policy key applied to custom review submissions. */
15
23
  customReviewPolicyKey?: string;
24
+ /** Whether to require publication readiness before saving. */
16
25
  enforcePublishReadiness?: boolean;
26
+ /** Whether to disable the save button. */
17
27
  saveDisabled?: boolean;
28
+ /** Message displayed when save is disabled or unavailable. */
18
29
  saveNotice?: string | null;
30
+ /** Whether the agent chat assistant panel is available. */
19
31
  agentChatEnabled?: boolean;
32
+ /** Message displayed when agent chat is unavailable. */
20
33
  agentChatNotice?: string | null;
34
+ /** Whether to hide the save and cancel action buttons. */
21
35
  hideActions?: boolean;
36
+ /** Whether to hide the agent chat panel. */
22
37
  hideChat?: boolean;
38
+ /** Whether to display the fact catalog panel. */
23
39
  showFactCatalog?: boolean;
40
+ /** Whether to display the governance status panel. */
24
41
  showGovernancePanel?: boolean;
42
+ /** Invoked when the assistant context changes during editing. */
25
43
  onAssistantContextChange?: ContentEditorAssistantContextChange;
44
+ /** Invoked when the user saves the content. */
26
45
  onSave: (data: GovernedContentEditorSaveData) => void;
46
+ /** Invoked when the user cancels editing. */
27
47
  onCancel: () => void;
28
48
  }
29
49
  declare const GovernedContentEditor: import("svelte").Component<Props, {
@@ -1 +1 @@
1
- {"version":3,"file":"GovernedContentEditor.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/GovernedContentEditor.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,mCAAmC,EAEpC,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EACV,WAAW,EAGX,QAAQ,EACT,MAAM,wBAAwB,CAAC;AAMhC,MAAM,MAAM,6BAA6B,GAAG,WAAW,GAAG;IACxD,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB,CAAC;AAEF,MAAM,WAAW,KAAK;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,wBAAwB,CAAC,EAAE,mCAAmC,CAAC;IAC/D,MAAM,EAAE,CAAC,IAAI,EAAE,6BAA6B,KAAK,IAAI,CAAC;IACtD,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAwSD,QAAA,MAAM,qBAAqB;;gCAhOS,MAAM;MAgOyB,CAAC;AACpE,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACtE,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"GovernedContentEditor.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/GovernedContentEditor.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,mCAAmC,EAEpC,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EACV,WAAW,EAGX,QAAQ,EACT,MAAM,wBAAwB,CAAC;AAMhC,MAAM,MAAM,6BAA6B,GAAG,WAAW,GAAG;IACxD,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB,CAAC;AAEF,MAAM,WAAW,KAAK;IACpB,wDAAwD;IACxD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,yDAAyD;IACzD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,0DAA0D;IAC1D,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iEAAiE;IACjE,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,uDAAuD;IACvD,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,8DAA8D;IAC9D,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,0CAA0C;IAC1C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,2DAA2D;IAC3D,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,wDAAwD;IACxD,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,0DAA0D;IAC1D,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iDAAiD;IACjD,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,sDAAsD;IACtD,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,iEAAiE;IACjE,wBAAwB,CAAC,EAAE,mCAAmC,CAAC;IAC/D,+CAA+C;IAC/C,MAAM,EAAE,CAAC,IAAI,EAAE,6BAA6B,KAAK,IAAI,CAAC;IACtD,6CAA6C;IAC7C,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAwSD,QAAA,MAAM,qBAAqB;;gCAhOS,MAAM;MAgOyB,CAAC;AACpE,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACtE,eAAe,qBAAqB,CAAC"}
@@ -25,9 +25,13 @@ import {
25
25
  } from './shared.js';
26
26
 
27
27
  interface ContentContributionsRouteProps {
28
+ /** Pre-initialized API client; creates a new one if omitted. */
28
29
  client?: ReturnType<typeof createClient>;
30
+ /** Navigation items shown in the sidebar. */
29
31
  navigation?: ContentRouteNavigationItem[];
32
+ /** Base URL for content API requests. */
30
33
  apiBaseUrl?: string;
34
+ /** Whether the route is embedded in a parent application. */
31
35
  embedded?: boolean;
32
36
  }
33
37
 
@@ -1,9 +1,13 @@
1
1
  import { createClient } from '../../mock-smrt-client.js';
2
2
  import { type ContentRouteNavigationItem } from './shared.js';
3
3
  interface ContentContributionsRouteProps {
4
+ /** Pre-initialized API client; creates a new one if omitted. */
4
5
  client?: ReturnType<typeof createClient>;
6
+ /** Navigation items shown in the sidebar. */
5
7
  navigation?: ContentRouteNavigationItem[];
8
+ /** Base URL for content API requests. */
6
9
  apiBaseUrl?: string;
10
+ /** Whether the route is embedded in a parent application. */
7
11
  embedded?: boolean;
8
12
  }
9
13
  declare const ContentContributionsRoute: import("svelte").Component<ContentContributionsRouteProps, {}, "">;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentContributionsRoute.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/routes/ContentContributionsRoute.svelte.ts"],"names":[],"mappings":"AAOA,OAAO,EAKL,YAAY,EACb,MAAM,2BAA2B,CAAC;AASnC,OAAO,EAGL,KAAK,0BAA0B,EAChC,MAAM,aAAa,CAAC;AAGrB,UAAU,8BAA8B;IACtC,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;IACzC,UAAU,CAAC,EAAE,0BAA0B,EAAE,CAAC;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AA4cD,QAAA,MAAM,yBAAyB,oEAAwC,CAAC;AACxE,KAAK,yBAAyB,GAAG,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC9E,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"ContentContributionsRoute.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/routes/ContentContributionsRoute.svelte.ts"],"names":[],"mappings":"AAOA,OAAO,EAKL,YAAY,EACb,MAAM,2BAA2B,CAAC;AASnC,OAAO,EAGL,KAAK,0BAA0B,EAChC,MAAM,aAAa,CAAC;AAGrB,UAAU,8BAA8B;IACtC,gEAAgE;IAChE,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;IACzC,6CAA6C;IAC7C,UAAU,CAAC,EAAE,0BAA0B,EAAE,CAAC;IAC1C,yCAAyC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AA4cD,QAAA,MAAM,yBAAyB,oEAAwC,CAAC;AACxE,KAAK,yBAAyB,GAAG,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC9E,eAAe,yBAAyB,CAAC"}
@@ -12,10 +12,15 @@ import {
12
12
  } from './shared.js';
13
13
 
14
14
  interface ContentFactsRouteProps {
15
+ /** Pre-initialized API client; creates a new one if omitted. */
15
16
  client?: ReturnType<typeof createClient>;
17
+ /** Navigation items shown in the sidebar. */
16
18
  navigation?: ContentRouteNavigationItem[];
19
+ /** Base URL for fact API requests. */
17
20
  apiBaseUrl?: string;
21
+ /** URL to navigate to when creating a new fact. */
18
22
  createHref?: string | null;
23
+ /** Whether the route is embedded in a parent application. */
19
24
  embedded?: boolean;
20
25
  }
21
26
 
@@ -1,10 +1,15 @@
1
1
  import { createClient } from '../../mock-smrt-client.js';
2
2
  import { type ContentRouteNavigationItem } from './shared.js';
3
3
  interface ContentFactsRouteProps {
4
+ /** Pre-initialized API client; creates a new one if omitted. */
4
5
  client?: ReturnType<typeof createClient>;
6
+ /** Navigation items shown in the sidebar. */
5
7
  navigation?: ContentRouteNavigationItem[];
8
+ /** Base URL for fact API requests. */
6
9
  apiBaseUrl?: string;
10
+ /** URL to navigate to when creating a new fact. */
7
11
  createHref?: string | null;
12
+ /** Whether the route is embedded in a parent application. */
8
13
  embedded?: boolean;
9
14
  }
10
15
  declare const ContentFactsRoute: import("svelte").Component<ContentFactsRouteProps, {}, "">;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentFactsRoute.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/routes/ContentFactsRoute.svelte.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAiB,MAAM,2BAA2B,CAAC;AAExE,OAAO,EAGL,KAAK,0BAA0B,EAChC,MAAM,aAAa,CAAC;AAGrB,UAAU,sBAAsB;IAC9B,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;IACzC,UAAU,CAAC,EAAE,0BAA0B,EAAE,CAAC;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAuND,QAAA,MAAM,iBAAiB,4DAAwC,CAAC;AAChE,KAAK,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC9D,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"ContentFactsRoute.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/routes/ContentFactsRoute.svelte.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAiB,MAAM,2BAA2B,CAAC;AAExE,OAAO,EAGL,KAAK,0BAA0B,EAChC,MAAM,aAAa,CAAC;AAGrB,UAAU,sBAAsB;IAC9B,gEAAgE;IAChE,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;IACzC,6CAA6C;IAC7C,UAAU,CAAC,EAAE,0BAA0B,EAAE,CAAC;IAC1C,sCAAsC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mDAAmD;IACnD,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAuND,QAAA,MAAM,iBAAiB,4DAAwC,CAAC;AAChE,KAAK,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC9D,eAAe,iBAAiB,CAAC"}