@happyvertical/smrt-content 0.43.3 → 0.43.4
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.
- package/AGENTS.md +86 -0
- package/dist/index.js +1 -1
- package/dist/manifest.json +1 -1
- package/dist/smrt-knowledge.json +5 -5
- package/dist/svelte/components/ContentList.svelte +669 -281
- package/dist/svelte/components/ContentList.svelte.d.ts +10 -1
- package/dist/svelte/components/ContentList.svelte.d.ts.map +1 -1
- package/dist/svelte/content-list-controller.d.ts +209 -0
- package/dist/svelte/content-list-controller.d.ts.map +1 -0
- package/dist/svelte/content-list-controller.js +650 -0
- package/dist/svelte/i18n.contribution.d.ts +31 -0
- package/dist/svelte/i18n.contribution.d.ts.map +1 -1
- package/dist/svelte/i18n.contribution.js +31 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.d.ts.map +1 -1
- package/dist/svelte/index.js +3 -0
- package/package.json +14 -14
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
import type { ContentData } from '../../mock-smrt-client.js';
|
|
3
|
+
import { type ContentListDataSurface, type ContentListViewMode } from '../content-list-controller.js';
|
|
3
4
|
interface Props {
|
|
4
5
|
apiBaseUrl?: string;
|
|
5
6
|
contents: ContentData[];
|
|
6
7
|
type?: string;
|
|
7
|
-
defaultViewMode?:
|
|
8
|
+
defaultViewMode?: ContentListViewMode;
|
|
8
9
|
onEdit: (content: ContentData) => void;
|
|
9
10
|
onDelete: (content: ContentData) => void;
|
|
10
11
|
onAdd: () => void;
|
|
11
12
|
controls?: Snippet;
|
|
12
13
|
getViewHref?: (content: ContentData) => string | null;
|
|
14
|
+
/** Announced uniformly by every presentation; #2455 extends it. */
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
/** Load failure announced instead of the list. */
|
|
17
|
+
error?: string | null;
|
|
18
|
+
/** Retry affordance rendered with an error. */
|
|
19
|
+
onRetry?: () => void;
|
|
20
|
+
/** Opt-in agent addressability. Non-table presentations land with #2456. */
|
|
21
|
+
dataSurface?: ContentListDataSurface;
|
|
13
22
|
}
|
|
14
23
|
declare const ContentList: import("svelte").Component<Props, {}, "">;
|
|
15
24
|
type ContentList = ReturnType<typeof ContentList>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentList.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentList.svelte.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContentList.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/ContentList.svelte.ts"],"names":[],"mappings":"AAQA,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,EAazB,MAAM,+BAA+B,CAAC;AAKvC,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,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;CACtC;AAqmBD,QAAA,MAAM,WAAW,2CAAwC,CAAC;AAC1D,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAClD,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared content-list data adapter.
|
|
3
|
+
*
|
|
4
|
+
* Every ContentList presentation (grid, detailed, compact) and every
|
|
5
|
+
* agent-addressable data surface resolves rows, columns, filters, sorting, and
|
|
6
|
+
* per-row action eligibility here, so switching presentation can never change
|
|
7
|
+
* which rows exist or what may be done to them.
|
|
8
|
+
*
|
|
9
|
+
* The module owns no transport, no DOM, and no routing: callers supply the
|
|
10
|
+
* content array, a `getViewHref` resolver, and a `DataTableController` that
|
|
11
|
+
* holds the serializable view state.
|
|
12
|
+
*
|
|
13
|
+
* Query modes are `manual`: this adapter, not the renderer, applies search,
|
|
14
|
+
* filters, sorting, and paging, so a card view and the compact table can never
|
|
15
|
+
* disagree about the visible rows. #2452 replaces the local implementation of
|
|
16
|
+
* that transform with a server query behind the same contract.
|
|
17
|
+
*/
|
|
18
|
+
import { type DataSurfaceDescriptor, type DataSurfaceLimits, type DataSurfaceRegistry, type DataSurfaceSubject, type DataTableColumn, type DataTableCommand, type DataTableController, type DataTableFilter, type DataTableRowId, type DataTableSortRule, type DataTableViewState } from '@happyvertical/smrt-ui/data';
|
|
19
|
+
import type { ContentData } from '../mock-smrt-client.js';
|
|
20
|
+
/** Stable surface identity for the default mounted content list. */
|
|
21
|
+
export declare const CONTENT_LIST_SURFACE_ID = "content-list";
|
|
22
|
+
/** Descriptor and view-state schema version owned by this adapter. */
|
|
23
|
+
export declare const CONTENT_LIST_SCHEMA_VERSION = 1;
|
|
24
|
+
/** Row identity column. Selection and expansion address rows by this value. */
|
|
25
|
+
export declare const CONTENT_LIST_ROW_KEY = "id";
|
|
26
|
+
/** Stable filter ids dispatched by the toolbar and accepted from a surface. */
|
|
27
|
+
export declare const CONTENT_LIST_TYPE_FILTER_ID = "type";
|
|
28
|
+
export declare const CONTENT_LIST_STATUS_FILTER_ID = "status";
|
|
29
|
+
export type ContentListViewMode = 'grid' | 'detailed' | 'compact';
|
|
30
|
+
export type ContentListColumnId = 'type' | 'title' | 'author' | 'status' | 'state' | 'publish' | 'updated' | 'site' | 'description';
|
|
31
|
+
export type ContentListActionId = 'view' | 'edit' | 'delete';
|
|
32
|
+
/** Columns rendered by the compact table and published to a data surface. */
|
|
33
|
+
export declare const CONTENT_LIST_VISIBLE_COLUMN_IDS: readonly ["type", "title", "author", "status", "state", "publish", "updated", "site"];
|
|
34
|
+
/**
|
|
35
|
+
* `description` is searched but never rendered or published: it participates in
|
|
36
|
+
* local search so the rebuilt list keeps the legacy search reach.
|
|
37
|
+
*/
|
|
38
|
+
export declare const CONTENT_LIST_HIDDEN_COLUMN_IDS: readonly ["description"];
|
|
39
|
+
export declare const CONTENT_LIST_COLUMN_IDS: readonly ["type", "title", "author", "status", "state", "publish", "updated", "site", "description"];
|
|
40
|
+
/**
|
|
41
|
+
* Structural columns the compact table owns. They carry no query capability and
|
|
42
|
+
* are never published to a data surface, but the controller still has to know
|
|
43
|
+
* them: column order is reconciled from its known column ids, so leaving them
|
|
44
|
+
* out would push selection and actions behind every data column.
|
|
45
|
+
*/
|
|
46
|
+
export declare const CONTENT_LIST_SELECTION_COLUMN_ID = "select";
|
|
47
|
+
export declare const CONTENT_LIST_ACTIONS_COLUMN_ID = "actions";
|
|
48
|
+
/** Every column of the compact table, in render order. */
|
|
49
|
+
export declare const CONTENT_LIST_TABLE_COLUMN_IDS: readonly ["select", "type", "title", "author", "status", "state", "publish", "updated", "site", "description", "actions"];
|
|
50
|
+
/**
|
|
51
|
+
* One resolved list row. Display values are flattened so a column accessor,
|
|
52
|
+
* local search, and local sorting all read the same normalized text.
|
|
53
|
+
*/
|
|
54
|
+
export interface ContentListRow {
|
|
55
|
+
/** Canonical row id used by Svelte keys, selection, and expansion. */
|
|
56
|
+
id: DataTableRowId;
|
|
57
|
+
/**
|
|
58
|
+
* False when the source content carried no durable id, or repeated one that
|
|
59
|
+
* an earlier row already claimed. Such rows still render, but they are never
|
|
60
|
+
* selection-eligible because no stable address exists for them.
|
|
61
|
+
*/
|
|
62
|
+
identified: boolean;
|
|
63
|
+
content: ContentData;
|
|
64
|
+
type: string;
|
|
65
|
+
typeLabel: string;
|
|
66
|
+
title: string;
|
|
67
|
+
description: string;
|
|
68
|
+
author: string;
|
|
69
|
+
status: string;
|
|
70
|
+
statusLabel: string;
|
|
71
|
+
state: string;
|
|
72
|
+
stateLabel: string;
|
|
73
|
+
publish: string;
|
|
74
|
+
publishLabel: string;
|
|
75
|
+
updated: string;
|
|
76
|
+
updatedLabel: string;
|
|
77
|
+
site: string;
|
|
78
|
+
}
|
|
79
|
+
export type ContentListColumnLabels = Partial<Record<ContentListColumnId, string>>;
|
|
80
|
+
export type ContentListActionLabels = Partial<Record<ContentListActionId, string>>;
|
|
81
|
+
export interface ContentListControllerOptions {
|
|
82
|
+
/** Initial free-text search. */
|
|
83
|
+
search?: string;
|
|
84
|
+
/** Locks or seeds the type filter. */
|
|
85
|
+
type?: string | null;
|
|
86
|
+
/** Seeds the status filter. */
|
|
87
|
+
status?: string | null;
|
|
88
|
+
/** Initial sort rules; empty keeps the caller-supplied order. */
|
|
89
|
+
sorting?: readonly DataTableSortRule[];
|
|
90
|
+
/** `null` keeps the historical unpaginated list. #2452 supplies a size. */
|
|
91
|
+
pageSize?: number | null;
|
|
92
|
+
onStateChange?: (state: DataTableViewState, command: DataTableCommand) => void;
|
|
93
|
+
}
|
|
94
|
+
export interface ContentListSurfaceDescriptorOptions {
|
|
95
|
+
/** Distinguishes several mounted lists in one application. */
|
|
96
|
+
surfaceId?: string;
|
|
97
|
+
/** Optional owning subject, for example a site or a collection. */
|
|
98
|
+
subject?: DataSurfaceSubject;
|
|
99
|
+
label?: string;
|
|
100
|
+
description?: string;
|
|
101
|
+
/** Label for the declared row-key column. */
|
|
102
|
+
rowKeyLabel?: string;
|
|
103
|
+
columnLabels?: ContentListColumnLabels;
|
|
104
|
+
actionLabels?: ContentListActionLabels;
|
|
105
|
+
limits?: Partial<DataSurfaceLimits>;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Opt-in agent addressability for the compact table. The host owns the
|
|
109
|
+
* registry; the descriptor defaults to `buildContentListSurfaceDescriptor()`.
|
|
110
|
+
*/
|
|
111
|
+
export interface ContentListDataSurface {
|
|
112
|
+
registry: DataSurfaceRegistry;
|
|
113
|
+
descriptor?: DataSurfaceDescriptor;
|
|
114
|
+
}
|
|
115
|
+
export interface ContentListActionOptions {
|
|
116
|
+
getViewHref?: (content: ContentData) => string | null;
|
|
117
|
+
/** Hosts without an edit affordance can drop the action entirely. */
|
|
118
|
+
canEdit?: boolean;
|
|
119
|
+
/** Hosts without a delete affordance can drop the action entirely. */
|
|
120
|
+
canDelete?: boolean;
|
|
121
|
+
}
|
|
122
|
+
/** Normalizes a content type for filtering; unknown values become `content`. */
|
|
123
|
+
export declare function normalizeContentType(value: unknown): string;
|
|
124
|
+
/** Normalizes a status/state token for filtering and badge variants. */
|
|
125
|
+
export declare function normalizeContentToken(value: unknown): string;
|
|
126
|
+
export declare function contentTypeLabel(value: unknown): string;
|
|
127
|
+
/** Badge variant for a status; unrecognized statuses degrade to `unknown`. */
|
|
128
|
+
export declare function contentStatusVariant(value: unknown): string;
|
|
129
|
+
/** Badge variant for a workflow state; unrecognized states degrade to `unknown`. */
|
|
130
|
+
export declare function contentStateVariant(value: unknown): string;
|
|
131
|
+
/** Renders an ISO timestamp as a stable calendar date, or echoes free text. */
|
|
132
|
+
export declare function formatContentListDate(value: unknown): string;
|
|
133
|
+
/**
|
|
134
|
+
* Resolves the rows every presentation renders.
|
|
135
|
+
*
|
|
136
|
+
* A content without a durable id — or one repeating an id an earlier row
|
|
137
|
+
* already claimed — still renders, keyed by its position, but is marked
|
|
138
|
+
* unidentified so it never enters a selection that outlives the current order.
|
|
139
|
+
*/
|
|
140
|
+
export declare function toContentListRows(contents: readonly ContentData[]): ContentListRow[];
|
|
141
|
+
/** Row ids that may take part in selection. Unidentified rows are excluded. */
|
|
142
|
+
export declare function selectableContentListRowIds(rows: readonly ContentListRow[]): DataTableRowId[];
|
|
143
|
+
/**
|
|
144
|
+
* Resolves a selection to rows. Unidentified rows are dropped rather than
|
|
145
|
+
* throwing, so one malformed content can never break a bulk workflow (#2453).
|
|
146
|
+
*/
|
|
147
|
+
export declare function resolveSelectedContentListRows(rows: readonly ContentListRow[], state: DataTableViewState): ContentListRow[];
|
|
148
|
+
/** The durable contents behind the current selection. */
|
|
149
|
+
export declare function resolveSelectedContents(rows: readonly ContentListRow[], state: DataTableViewState): ContentData[];
|
|
150
|
+
/**
|
|
151
|
+
* Column metadata shared by the compact table and the local query helpers.
|
|
152
|
+
* Callers add cell snippets; they must not change ids, accessors, or the
|
|
153
|
+
* searchable/filterable/sortable flags the descriptor is derived from.
|
|
154
|
+
*/
|
|
155
|
+
export declare function buildContentListColumns(labels?: ContentListColumnLabels): DataTableColumn<ContentListRow>[];
|
|
156
|
+
/**
|
|
157
|
+
* One normalizer per filter column, so a filter built by the toolbar, by the
|
|
158
|
+
* `type` lock, and by a restored view all compare equal.
|
|
159
|
+
*/
|
|
160
|
+
export declare function normalizeContentListFilterValue(columnId: string, value: string): string;
|
|
161
|
+
/** Builds the declarative filter set for the two toolbar filters. */
|
|
162
|
+
export declare function contentListFilters(values: {
|
|
163
|
+
type?: string | null;
|
|
164
|
+
status?: string | null;
|
|
165
|
+
}): DataTableFilter[];
|
|
166
|
+
/** Reads one filter's value, or `null` when the filter is not applied. */
|
|
167
|
+
export declare function readContentListFilter(state: DataTableViewState, columnId: string): string | null;
|
|
168
|
+
/**
|
|
169
|
+
* True when a column is filtered to exactly the given value and nothing else.
|
|
170
|
+
*
|
|
171
|
+
* A locked filter has to be checked as a whole rather than by reading one
|
|
172
|
+
* value: a `notEquals` on the locked value, or a second filter on the same
|
|
173
|
+
* column, would otherwise satisfy a value-only comparison while selecting rows
|
|
174
|
+
* the lock is meant to exclude.
|
|
175
|
+
*/
|
|
176
|
+
export declare function isContentListFilterExactly(state: DataTableViewState, columnId: string, value: string): boolean;
|
|
177
|
+
/**
|
|
178
|
+
* Replaces one filter while preserving the others, so locking the type filter
|
|
179
|
+
* never discards a status the operator chose.
|
|
180
|
+
*
|
|
181
|
+
* A blank value clears the filter: normalizing whitespace into an `equals ''`
|
|
182
|
+
* filter would silently exclude every row instead.
|
|
183
|
+
*/
|
|
184
|
+
export declare function applyContentListFilter(controller: DataTableController, columnId: string, value: string | null): void;
|
|
185
|
+
export declare function createContentListController(options?: ContentListControllerOptions): DataTableController;
|
|
186
|
+
/**
|
|
187
|
+
* Applies search, declarative filters, and sorting once for every
|
|
188
|
+
* presentation. Pagination stays separate so a caller can report the unpaged
|
|
189
|
+
* result count (DataTable's `totalRows`) alongside the current page.
|
|
190
|
+
*/
|
|
191
|
+
export declare function selectContentListRows(rows: readonly ContentListRow[], state: DataTableViewState, columns?: DataTableColumn<ContentListRow>[]): ContentListRow[];
|
|
192
|
+
/** Slices the current page. An unset page size keeps the whole result. */
|
|
193
|
+
export declare function paginateContentListRows(rows: readonly ContentListRow[], state: DataTableViewState): ContentListRow[];
|
|
194
|
+
/**
|
|
195
|
+
* Resolves the host-owned view link. An unknown subtype — or a resolver that
|
|
196
|
+
* throws on one — degrades to plain text rather than a dead link.
|
|
197
|
+
*/
|
|
198
|
+
export declare function resolveContentHref(content: ContentData, getViewHref?: (content: ContentData) => string | null): string | null;
|
|
199
|
+
/**
|
|
200
|
+
* Per-row action eligibility, used identically by all three presentations.
|
|
201
|
+
* `view` requires a resolvable href, so unpublished content never renders one.
|
|
202
|
+
*/
|
|
203
|
+
export declare function contentListRowActions(row: ContentListRow, options?: ContentListActionOptions): ContentListActionId[];
|
|
204
|
+
/**
|
|
205
|
+
* Builds the discovery contract for a mounted content list. Only rendered
|
|
206
|
+
* columns are published: the search-only `description` column stays private.
|
|
207
|
+
*/
|
|
208
|
+
export declare function buildContentListSurfaceDescriptor(options?: ContentListSurfaceDescriptorOptions): DataSurfaceDescriptor;
|
|
209
|
+
//# sourceMappingURL=content-list-controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-list-controller.d.ts","sourceRoot":"","sources":["../../src/svelte/content-list-controller.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAKL,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EAGxB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,oEAAoE;AACpE,eAAO,MAAM,uBAAuB,iBAAiB,CAAC;AAEtD,sEAAsE;AACtE,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAE7C,+EAA+E;AAC/E,eAAO,MAAM,oBAAoB,OAAO,CAAC;AAEzC,+EAA+E;AAC/E,eAAO,MAAM,2BAA2B,SAAS,CAAC;AAClD,eAAO,MAAM,6BAA6B,WAAW,CAAC;AAKtD,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;AAElE,MAAM,MAAM,mBAAmB,GAC3B,MAAM,GACN,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,SAAS,GACT,SAAS,GACT,MAAM,GACN,aAAa,CAAC;AAElB,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE7D,6EAA6E;AAC7E,eAAO,MAAM,+BAA+B,uFASO,CAAC;AAEpD;;;GAGG;AACH,eAAO,MAAM,8BAA8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