@syntrologie/adapt-search 2.8.0-canary.641 → 2.8.0-canary.643
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/dist/FilterStrip.d.ts +93 -0
- package/dist/FilterStrip.d.ts.map +1 -0
- package/dist/SearchChatElement.d.ts +165 -0
- package/dist/SearchChatElement.d.ts.map +1 -0
- package/dist/cdn.d.ts +13 -2
- package/dist/cdn.d.ts.map +1 -1
- package/dist/cdn.js +2 -2
- package/dist/chunk-7BSCJSUF.js +7622 -0
- package/dist/chunk-7BSCJSUF.js.map +7 -0
- package/dist/{chunk-NKOTQPVZ.js → chunk-XQZY6PWC.js} +16 -1
- package/dist/{chunk-NKOTQPVZ.js.map → chunk-XQZY6PWC.js.map} +1 -1
- package/dist/filterEdits.d.ts +15 -0
- package/dist/filterEdits.d.ts.map +1 -0
- package/dist/instantTiles.d.ts +43 -0
- package/dist/instantTiles.d.ts.map +1 -0
- package/dist/runtime.d.ts +20 -4
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +4 -2
- package/dist/schema.d.ts +2 -2
- package/dist/schema.js +1 -1
- package/package.json +4 -2
- package/dist/chunk-TGNFMETK.js +0 -1714
- package/dist/chunk-TGNFMETK.js.map +0 -7
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* adaptive-search — `<syntro-filter-strip>`
|
|
3
|
+
*
|
|
4
|
+
* The filter editor that sits in the chat stage's `strip` slot, above the bar.
|
|
5
|
+
* It is presentation only: it never talks to the chat session. It renders what
|
|
6
|
+
* the server said the filters are (`filters`), and every change the shopper
|
|
7
|
+
* makes leaves as an event for the owner of the session to send:
|
|
8
|
+
*
|
|
9
|
+
* filter-edit {edit: SearchFilterEdit, note: string}
|
|
10
|
+
* step-suggestion {text} (a next-step chip, when the answer is not products)
|
|
11
|
+
* step-nav {url}
|
|
12
|
+
* filter-sheet {open} (the phone sheet opened or closed; not composed)
|
|
13
|
+
*
|
|
14
|
+
* The strip never holds filter state of its own. A removed chip stays on screen
|
|
15
|
+
* until the server sends the next filters, so two quick removes are two edits:
|
|
16
|
+
* `busy` is shown to assistive tech and never blocks input.
|
|
17
|
+
*
|
|
18
|
+
* Under 640px the chips collapse to one "Filters (n)" button that opens the same
|
|
19
|
+
* editor in a bottom sheet.
|
|
20
|
+
*
|
|
21
|
+
* Accessibility contract: chips are buttons, a value picker is a listbox with
|
|
22
|
+
* roving focus (arrows, Home, End, Enter, Space, Escape), every target is at
|
|
23
|
+
* least 44px, focus is visible, and closing anything returns focus to the
|
|
24
|
+
* control that opened it. Colours come only from the `--sc-*` theme tokens.
|
|
25
|
+
*/
|
|
26
|
+
import type { SearchFiltersEvent } from '@syntrologie/sdk-contracts';
|
|
27
|
+
import { LitElement, nothing, type TemplateResult } from 'lit';
|
|
28
|
+
export declare const FILTER_STRIP_TAG = "syntro-filter-strip";
|
|
29
|
+
/** A tile that is a one-tap link: a title and `props.url` (structurally a TileConfig). */
|
|
30
|
+
export interface NavChipTile {
|
|
31
|
+
readonly id: string;
|
|
32
|
+
readonly title?: string;
|
|
33
|
+
readonly props?: Readonly<Record<string, unknown>>;
|
|
34
|
+
}
|
|
35
|
+
export interface FilterStripSteps {
|
|
36
|
+
turnId: string;
|
|
37
|
+
suggestions: string[];
|
|
38
|
+
navChips: NavChipTile[];
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* What is open. `f:<key>` a filter's values, `add` the addable keys,
|
|
42
|
+
* `add:<key>` one addable key's values.
|
|
43
|
+
*/
|
|
44
|
+
type OpenId = string | null;
|
|
45
|
+
export declare class FilterStripElement extends LitElement {
|
|
46
|
+
#private;
|
|
47
|
+
static properties: {
|
|
48
|
+
filters: {
|
|
49
|
+
attribute: boolean;
|
|
50
|
+
};
|
|
51
|
+
steps: {
|
|
52
|
+
attribute: boolean;
|
|
53
|
+
};
|
|
54
|
+
busy: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
};
|
|
57
|
+
_open: {
|
|
58
|
+
state: boolean;
|
|
59
|
+
};
|
|
60
|
+
_sheet: {
|
|
61
|
+
state: boolean;
|
|
62
|
+
};
|
|
63
|
+
_narrow: {
|
|
64
|
+
state: boolean;
|
|
65
|
+
};
|
|
66
|
+
_priceError: {
|
|
67
|
+
state: boolean;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
filters: SearchFiltersEvent | null;
|
|
71
|
+
steps: FilterStripSteps | null;
|
|
72
|
+
busy: boolean;
|
|
73
|
+
_open: OpenId;
|
|
74
|
+
_sheet: boolean;
|
|
75
|
+
_narrow: boolean;
|
|
76
|
+
_priceError: string;
|
|
77
|
+
constructor();
|
|
78
|
+
static styles: import("lit").CSSResult;
|
|
79
|
+
connectedCallback(): void;
|
|
80
|
+
disconnectedCallback(): void;
|
|
81
|
+
willUpdate(changed: Map<string, unknown>): void;
|
|
82
|
+
updated(changed: Map<string, unknown>): void;
|
|
83
|
+
render(): TemplateResult | typeof nothing;
|
|
84
|
+
}
|
|
85
|
+
declare global {
|
|
86
|
+
interface HTMLElementTagNameMap {
|
|
87
|
+
'syntro-filter-strip': FilterStripElement;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
/** Define `<syntro-filter-strip>` once. Safe to call from every entry point. */
|
|
91
|
+
export declare function registerFilterStripElement(): void;
|
|
92
|
+
export {};
|
|
93
|
+
//# sourceMappingURL=FilterStrip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterStrip.d.ts","sourceRoot":"","sources":["../src/FilterStrip.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,KAAK,EAKV,kBAAkB,EAEnB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAa,UAAU,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAK1E,eAAO,MAAM,gBAAgB,wBAAwB,CAAC;AAMtD,0FAA0F;AAC1F,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CACpD;AAED,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,QAAQ,EAAE,WAAW,EAAE,CAAC;CACzB;AAED;;;GAGG;AACH,KAAK,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAe5B,qBAAa,kBAAmB,SAAQ,UAAU;;IAChD,MAAM,CAAC,UAAU;;;;;;;;;;;;;;;;;;;;;;MAQf;IAEM,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACnC,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;;IAkB5B,MAAM,CAAC,MAAM,0BA4GX;IAEF,iBAAiB,IAAI,IAAI;IAUzB,oBAAoB,IAAI,IAAI;IAuB5B,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IA0B/C,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAsa5C,MAAM,IAAI,cAAc,GAAG,OAAO,OAAO;CAa1C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,qBAAqB,EAAE,kBAAkB,CAAC;KAC3C;CACF;AAED,gFAAgF;AAChF,wBAAgB,0BAA0B,IAAI,IAAI,CAKjD"}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* adaptive-search — `<syntro-search-chat>`, the search takeover on the chat base.
|
|
3
|
+
*
|
|
4
|
+
* Enter in the store's search box opens this full screen with the query as a
|
|
5
|
+
* chat turn. It is the shared `<syntro-chat-stage>` (the ask-bar's answer
|
|
6
|
+
* stage) in the overlay layout the ask-bar uses on a store, with four
|
|
7
|
+
* additions and nothing overridden: the filter strip in the stage's `strip`
|
|
8
|
+
* slot, instant store matches as tiles, a "See store results" chip, and the
|
|
9
|
+
* frame (backdrop, close button, full screen on a phone, a centered
|
|
10
|
+
* two-column stage on a desktop). The tiles sit on the stage, newest search
|
|
11
|
+
* first, and own the screen (`tilesFirst`): the conversation is the overlay
|
|
12
|
+
* one tap above the strip, down on open and once a turn's tiles land, up
|
|
13
|
+
* while the shopper types and for an answer in words alone. Tiles, tile actions, the conversation, recall
|
|
14
|
+
* chips, the reply, the bar and the live region are all the stage's. Esc is
|
|
15
|
+
* the frame's: it closes the takeover (the controller's), it does not
|
|
16
|
+
* collapse the conversation first as the ask-bar's does.
|
|
17
|
+
* (docs/superpowers/specs/2026-11-06-search-on-chat-base-design.md)
|
|
18
|
+
*
|
|
19
|
+
* It never talks to the chat session: the runtime's search controller sends
|
|
20
|
+
* the turns and hands this element the turn ids, the filters and the store
|
|
21
|
+
* matches. The turns its own bar sends (typed, a next step tapped, a swipe
|
|
22
|
+
* right) carry `searchSurface: true` through the stage's `turnProps`, as the
|
|
23
|
+
* controller's do. Up go what the shopper does:
|
|
24
|
+
*
|
|
25
|
+
* search-close the close button or the backdrop
|
|
26
|
+
* search-see-store-results the "See store results" chip
|
|
27
|
+
* search-navigate {url} a link chip (strip or stage)
|
|
28
|
+
* search-tile-tap {tileId, widget, position}
|
|
29
|
+
* search-tiles {count, pending} the tiles on screen, or the takeover's tiles
|
|
30
|
+
* still waiting for their app, changed (after the render)
|
|
31
|
+
* search-composer the stage's chat bar mounted (it wires the chat)
|
|
32
|
+
* search-disconnected it left the page (evicted by another full-screen mount)
|
|
33
|
+
* filter-edit {edit, note} (the strip's own event, composed)
|
|
34
|
+
*
|
|
35
|
+
* The tag starts with `syntro-`, which is what keeps an Enter in our own chat
|
|
36
|
+
* bar from being taken for a store search.
|
|
37
|
+
*
|
|
38
|
+
* Reactive properties are `declare`d and assigned in the constructor, so no
|
|
39
|
+
* build setting can shadow Lit's accessors (BUG-1782932922).
|
|
40
|
+
*/
|
|
41
|
+
import { type TileConfig } from '@syntrologie/canvas-sdk';
|
|
42
|
+
import '@syntrologie/chat-stage';
|
|
43
|
+
import { type SearchFiltersEvent, type StoreProduct } from '@syntrologie/sdk-contracts';
|
|
44
|
+
import { LitElement } from 'lit';
|
|
45
|
+
import { type FilterStripSteps } from './FilterStrip';
|
|
46
|
+
export declare const SEARCH_CHAT_TAG = "syntro-search-chat";
|
|
47
|
+
export declare class SearchChatElement extends LitElement {
|
|
48
|
+
#private;
|
|
49
|
+
static properties: {
|
|
50
|
+
query: {
|
|
51
|
+
attribute: boolean;
|
|
52
|
+
};
|
|
53
|
+
chatTile: {
|
|
54
|
+
attribute: boolean;
|
|
55
|
+
};
|
|
56
|
+
registry: {
|
|
57
|
+
attribute: boolean;
|
|
58
|
+
};
|
|
59
|
+
runtimeRef: {
|
|
60
|
+
attribute: boolean;
|
|
61
|
+
};
|
|
62
|
+
turnIds: {
|
|
63
|
+
attribute: boolean;
|
|
64
|
+
};
|
|
65
|
+
chatTiles: {
|
|
66
|
+
attribute: boolean;
|
|
67
|
+
};
|
|
68
|
+
placeholders: {
|
|
69
|
+
type: NumberConstructor;
|
|
70
|
+
};
|
|
71
|
+
filters: {
|
|
72
|
+
attribute: boolean;
|
|
73
|
+
};
|
|
74
|
+
busy: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
};
|
|
77
|
+
heldTiles: {
|
|
78
|
+
attribute: boolean;
|
|
79
|
+
};
|
|
80
|
+
_steps: {
|
|
81
|
+
state: boolean;
|
|
82
|
+
};
|
|
83
|
+
_sheetOpen: {
|
|
84
|
+
state: boolean;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
/** The shopper's query: the stage's first question, painted at once. */
|
|
88
|
+
query: string;
|
|
89
|
+
/** The page's chat-bar tile, mounted as the stage's composer. */
|
|
90
|
+
chatTile: TileConfig | null;
|
|
91
|
+
/** The runtime; the stage provides it as the canvas context (we are outside `<smart-canvas>`). */
|
|
92
|
+
registry: unknown;
|
|
93
|
+
runtimeRef: unknown;
|
|
94
|
+
/** The turns sent since the takeover opened. Only their tiles are shown. */
|
|
95
|
+
turnIds: ReadonlySet<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Chat-mounted tiles (the store's instant matches and the agent's), as the
|
|
98
|
+
* runtime built them from the bus, in mount order.
|
|
99
|
+
*/
|
|
100
|
+
chatTiles: ReadonlyArray<TileConfig>;
|
|
101
|
+
/** Skeleton tiles under the newest question while it has none. */
|
|
102
|
+
placeholders: number;
|
|
103
|
+
filters: SearchFiltersEvent | null;
|
|
104
|
+
/** A filter edit is being answered. */
|
|
105
|
+
busy: boolean;
|
|
106
|
+
/** Chat tiles the mountable holds until their widget's app is active. */
|
|
107
|
+
heldTiles: ReadonlyArray<{
|
|
108
|
+
turn_id?: string;
|
|
109
|
+
}>;
|
|
110
|
+
_steps: FilterStripSteps | null;
|
|
111
|
+
_sheetOpen: boolean;
|
|
112
|
+
constructor();
|
|
113
|
+
static styles: import("lit").CSSResult;
|
|
114
|
+
/** True when instant store matches can be painted: the single-product widget is here. */
|
|
115
|
+
canShowInstant(): boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Paint the store's matches as the turn's first tiles: each is published on
|
|
118
|
+
* the runtime bus as the tile-mounted event the chat publishes, so the
|
|
119
|
+
* store's canvas commits it to its conversation and this element shows it
|
|
120
|
+
* by the same path as the agent's tiles. Returns how many it published.
|
|
121
|
+
*/
|
|
122
|
+
showInstant(products: ReadonlyArray<StoreProduct>, turnId: string): number;
|
|
123
|
+
/**
|
|
124
|
+
* The answer tiles on screen now (instant and the agent's), synchronously:
|
|
125
|
+
* only tiles whose widget is registered, so a card still waiting for its
|
|
126
|
+
* widget is never counted as content.
|
|
127
|
+
*/
|
|
128
|
+
get answerTileCount(): number;
|
|
129
|
+
/**
|
|
130
|
+
* This takeover's tiles still waiting for their app (held, not on screen):
|
|
131
|
+
* a turn that ends with one of these on the way has not ended with nothing.
|
|
132
|
+
*/
|
|
133
|
+
get pendingTileCount(): number;
|
|
134
|
+
/** Focus the stage's chat input. */
|
|
135
|
+
focusComposer(): boolean;
|
|
136
|
+
willUpdate(changed: Map<string, unknown>): void;
|
|
137
|
+
/** Torn out from under the controller (another full-screen mount evicted it). */
|
|
138
|
+
disconnectedCallback(): void;
|
|
139
|
+
updated(): void;
|
|
140
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
141
|
+
}
|
|
142
|
+
declare global {
|
|
143
|
+
interface HTMLElementTagNameMap {
|
|
144
|
+
'syntro-search-chat': SearchChatElement;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
/** Define `<syntro-search-chat>` (and the strip it renders) once. */
|
|
148
|
+
export declare function registerSearchChatElement(): void;
|
|
149
|
+
/**
|
|
150
|
+
* Mounts `<syntro-search-chat>` with the runtime as the stage's registry and
|
|
151
|
+
* runtime handle. It listens for the chat's tile lifecycle on the runtime's
|
|
152
|
+
* event bus (the same events `<smart-canvas>` commits its tiles from, the
|
|
153
|
+
* store's instant matches included) and builds each tile with the runtime's
|
|
154
|
+
* own builder, so a tile here is the tile the canvas shows, once per id.
|
|
155
|
+
* Which of them appear is the element's call (`turnIds`).
|
|
156
|
+
*
|
|
157
|
+
* A tile whose widget's app is not active yet is held until the runtime has
|
|
158
|
+
* loaded and activated it (`activateWidget`), so the stage never shows an
|
|
159
|
+
* empty card waiting for its widget, and only a tile that can mount counts as
|
|
160
|
+
* the takeover's first content.
|
|
161
|
+
*/
|
|
162
|
+
export declare const SearchChatMountable: {
|
|
163
|
+
mount(container: HTMLElement, config?: Record<string, unknown> | null): () => void;
|
|
164
|
+
};
|
|
165
|
+
//# sourceMappingURL=SearchChatElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchChatElement.d.ts","sourceRoot":"","sources":["../src/SearchChatElement.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAEH,OAAO,EAAkB,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1E,OAAO,yBAAyB,CAAC;AACjC,OAAO,EAIL,KAAK,kBAAkB,EACvB,KAAK,YAAY,EAKlB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAE5C,OAAO,EAAE,KAAK,gBAAgB,EAA8B,MAAM,eAAe,CAAC;AAGlF,eAAO,MAAM,eAAe,uBAAuB,CAAC;AAcpD,qBAAa,iBAAkB,SAAQ,UAAU;;IAC/C,OAAgB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAaxB;IAEF,wEAAwE;IAChE,KAAK,EAAE,MAAM,CAAC;IACtB,iEAAiE;IACzD,QAAQ,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,kGAAkG;IAC1F,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IAC5B,4EAA4E;IACpE,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACrC;;;OAGG;IACK,SAAS,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IAC7C,kEAAkE;IAC1D,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC3C,uCAAuC;IAC/B,IAAI,EAAE,OAAO,CAAC;IACtB,yEAAyE;IACjE,SAAS,EAAE,aAAa,CAAC;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/C,MAAM,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAChC,UAAU,EAAE,OAAO,CAAC;;IAuB5B,OAAgB,MAAM,0BA4EpB;IAIF,yFAAyF;IACzF,cAAc,IAAI,OAAO;IAUzB;;;;;OAKG;IACH,WAAW,CAAC,QAAQ,EAAE,aAAa,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM;IAa1E;;;;OAIG;IACH,IAAI,eAAe,IAAI,MAAM,CAE5B;IAED;;;OAGG;IACH,IAAI,gBAAgB,IAAI,MAAM,CAG7B;IAED,oCAAoC;IACpC,aAAa,IAAI,OAAO;IAgCf,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAYxD,iFAAiF;IACxE,oBAAoB,IAAI,IAAI;IAK5B,OAAO,IAAI,IAAI;IAoFf,MAAM;CAsDhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,oBAAoB,EAAE,iBAAiB,CAAC;KACzC;CACF;AAED,qEAAqE;AACrE,wBAAgB,yBAAyB,IAAI,IAAI,CAMhD;AAyBD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,mBAAmB;qBACb,WAAW,WAAW,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,MAAM,IAAI;CA0FnF,CAAC"}
|
package/dist/cdn.d.ts
CHANGED
|
@@ -20,7 +20,18 @@ export declare const manifest: {
|
|
|
20
20
|
kind: never;
|
|
21
21
|
executor: never;
|
|
22
22
|
}[];
|
|
23
|
-
widgets: {
|
|
23
|
+
widgets: ({
|
|
24
|
+
id: string;
|
|
25
|
+
component: {
|
|
26
|
+
mount(container: HTMLElement, config?: Record<string, unknown> | null): () => void;
|
|
27
|
+
};
|
|
28
|
+
metadata: {
|
|
29
|
+
name: string;
|
|
30
|
+
description: string;
|
|
31
|
+
icon: string;
|
|
32
|
+
slots: string[];
|
|
33
|
+
};
|
|
34
|
+
} | {
|
|
24
35
|
id: string;
|
|
25
36
|
component: {
|
|
26
37
|
mount(container: HTMLElement, config?: (import("./schema").SearchSurfaceConfig & import("packages/sdk-contracts/dist").MountPlumbing) | null): () => void;
|
|
@@ -31,7 +42,7 @@ export declare const manifest: {
|
|
|
31
42
|
icon: string;
|
|
32
43
|
slots: string[];
|
|
33
44
|
};
|
|
34
|
-
}[];
|
|
45
|
+
})[];
|
|
35
46
|
notifyWatchers: unknown;
|
|
36
47
|
events: unknown;
|
|
37
48
|
};
|
package/dist/cdn.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cdn.d.ts","sourceRoot":"","sources":["../src/cdn.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"cdn.d.ts","sourceRoot":"","sources":["../src/cdn.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcpB,CAAC;AAEF,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,KAAK,CAAC,EAAE;YACN,WAAW,CAAC,EAAE;gBACZ,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;aACjC,CAAC;SACH,CAAC;KACH;CACF;AASD,eAAe,QAAQ,CAAC"}
|