@aparte/angular 0.25.0 → 0.27.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.
- package/dist/fesm2022/aparte-angular.mjs +46 -7
- package/dist/fesm2022/aparte-angular.mjs.map +1 -1
- package/dist/generated/element.directives.d.ts +27 -8
- package/dist/lib/aparte-chat.component.d.ts +7 -7
- package/dist/lib/aparte-tool-ui.directive.d.ts +2 -2
- package/dist/lib/conversation-manager.service.d.ts +2 -2
- package/dist/lib/provide-aparte.d.ts +1 -1
- package/package.json +5 -5
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* a plain host listener when you need `stopPropagation`.
|
|
12
12
|
*/
|
|
13
13
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
14
|
-
import type { AparteActionClickEventDetail, AparteActionEventDetail, AparteAttachmentPreviewEventDetail, AparteBranchNavigateEventDetail, AparteCompactEventDetail, AparteComposerChangeEventDetail, AparteContextThresholdEventDetail, AparteConversationArchiveDetail, AparteConversationDeleteDetail, AparteConversationListItem, AparteConversationPinDetail, AparteConversationRenameDetail, AparteConversationSelectDetail, AparteEditEventDetail, AparteFeedbackEventDetail, AparteLinkClickEventDetail, AparteMessageInfoEventDetail, AparteOptgroupToggleEventDetail, ApartePathChangedEventDetail, AparteRetryEventDetail, AparteScrollRailJumpDetail, AparteSegmentUpdateEventDetail, AparteSelectChangeDetail, AparteSendEventDetail, AparteSidebarToggleDetail, AparteSplitResizeDetail, AparteSuggestionEventDetail } from '@aparte/core';
|
|
14
|
+
import type { AparteActionClickEventDetail, AparteActionEventDetail, AparteAttachmentPreviewEventDetail, AparteBranchNavigateEventDetail, AparteCompactEventDetail, AparteComposerChangeEventDetail, AparteContextThresholdEventDetail, AparteConversationArchiveDetail, AparteConversationDeleteDetail, AparteConversationListItem, AparteConversationPinDetail, AparteConversationRenameDetail, AparteConversationSelectDetail, AparteEditEventDetail, AparteFeedbackEventDetail, AparteLauncherToggleDetail, AparteLinkClickEventDetail, AparteMessageInfoEventDetail, AparteOptgroupToggleEventDetail, ApartePathChangedEventDetail, AparteRetryEventDetail, AparteScrollRailJumpDetail, AparteSegmentUpdateEventDetail, AparteSelectChangeDetail, AparteSendEventDetail, AparteSidebarToggleDetail, AparteSplitResizeDetail, AparteSuggestionEventDetail } from '@aparte/core';
|
|
15
15
|
import * as i0 from "@angular/core";
|
|
16
16
|
/**
|
|
17
17
|
* Writes one declared attribute onto the host element.
|
|
@@ -41,6 +41,8 @@ export declare class AparteChatBubbleDirective extends AparteElementBase {
|
|
|
41
41
|
set streaming(v: boolean);
|
|
42
42
|
/** Who wrote the message: shown in the header, and the message's accessible name ("Message from {name}"). Leave it out for the reader and the assistant, whose names come from the locale. */
|
|
43
43
|
set name(v: string | undefined);
|
|
44
|
+
/** Why the compaction failed, beside `data-checkpoint="failed"`: the separator gives it as the failure's tooltip and to screen readers. Set and cleared with `data-checkpoint`; read it, do not write it. */
|
|
45
|
+
set dataCheckpointReason(v: string | undefined);
|
|
44
46
|
/** An attached image was clicked, asking the app to open it full-size. */
|
|
45
47
|
readonly attachmentPreview: EventEmitter<AparteAttachmentPreviewEventDetail>;
|
|
46
48
|
/** A custom action-bar button was pressed. */
|
|
@@ -66,7 +68,7 @@ export declare class AparteChatBubbleDirective extends AparteElementBase {
|
|
|
66
68
|
protected onBranchNavigate(e: CustomEvent<AparteBranchNavigateEventDetail>): void;
|
|
67
69
|
protected onLinkClick(e: CustomEvent<AparteLinkClickEventDetail>): void;
|
|
68
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<AparteChatBubbleDirective, never>;
|
|
69
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AparteChatBubbleDirective, "aparte-chat-bubble", never, { "messageRole": { "alias": "messageRole"; "required": false; }; "content": { "alias": "content"; "required": false; }; "timestamp": { "alias": "timestamp"; "required": false; }; "messageId": { "alias": "messageId"; "required": false; }; "streaming": { "alias": "streaming"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, { "attachmentPreview": "attachmentPreview"; "action": "action"; "retry": "retry"; "feedback": "feedback"; "messageInfo": "messageInfo"; "edit": "edit"; "branchNavigate": "branchNavigate"; "linkClick": "linkClick"; }, never, never, true, never>;
|
|
71
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AparteChatBubbleDirective, "aparte-chat-bubble", never, { "messageRole": { "alias": "messageRole"; "required": false; }; "content": { "alias": "content"; "required": false; }; "timestamp": { "alias": "timestamp"; "required": false; }; "messageId": { "alias": "messageId"; "required": false; }; "streaming": { "alias": "streaming"; "required": false; }; "name": { "alias": "name"; "required": false; }; "dataCheckpointReason": { "alias": "dataCheckpointReason"; "required": false; }; }, { "attachmentPreview": "attachmentPreview"; "action": "action"; "retry": "retry"; "feedback": "feedback"; "messageInfo": "messageInfo"; "edit": "edit"; "branchNavigate": "branchNavigate"; "linkClick": "linkClick"; }, never, never, true, never>;
|
|
70
72
|
static ngAcceptInputType_streaming: unknown;
|
|
71
73
|
}
|
|
72
74
|
/** `<aparte-chat-status>` — A standalone status line — a light-DOM indicator the APP owns. Nothing in core turns it on: the framework host only ever flips it back OFF (on the first streamed token), and the four wrappers render one inside the viewport driven by their own `isTyping` prop. */
|
|
@@ -159,7 +161,7 @@ export declare class AparteComposerActionDirective extends AparteElementBase {
|
|
|
159
161
|
}
|
|
160
162
|
/** `<aparte-composer-add-attachment>` — File picker button for `<aparte-composer>`. */
|
|
161
163
|
export declare class AparteComposerAddAttachmentDirective extends AparteElementBase {
|
|
162
|
-
/** MIME types / extensions
|
|
164
|
+
/** MIME types / extensions the composer admits (e.g. "image/*,.pdf"): the file input's filter, and checked again on a pick, a drop and a pasted image, so a file outside it is not attached however it arrives. */
|
|
163
165
|
set accept(v: string | undefined);
|
|
164
166
|
/** Allow multiple file selection (default: true) */
|
|
165
167
|
set multiple(v: boolean);
|
|
@@ -230,7 +232,7 @@ export declare class AparteComposerToolbarDirective {
|
|
|
230
232
|
static ɵfac: i0.ɵɵFactoryDeclaration<AparteComposerToolbarDirective, never>;
|
|
231
233
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AparteComposerToolbarDirective, "aparte-composer-toolbar", never, {}, {}, never, never, true, never>;
|
|
232
234
|
}
|
|
233
|
-
/** `<aparte-context>` — A gauge of the model's context window: how much of it the conversation uses. */
|
|
235
|
+
/** `<aparte-context>` — A gauge of the model's context window: how much of it the conversation uses, and what fills it. */
|
|
234
236
|
export declare class AparteContextDirective extends AparteElementBase {
|
|
235
237
|
/** The context window, in tokens. Overrides the current model's `contextWindow`. */
|
|
236
238
|
set window(v: number);
|
|
@@ -244,20 +246,22 @@ export declare class AparteContextDirective extends AparteElementBase {
|
|
|
244
246
|
set variant(v: string | undefined);
|
|
245
247
|
/** Tokens in use before a turn of this page has reported any: a restored conversation's last usage. The next turn's usage replaces it. */
|
|
246
248
|
set used(v: number);
|
|
247
|
-
/** Dispatch `aparte-compact` on each turn that ends in `danger`, one request at a time. */
|
|
249
|
+
/** Deprecated, still works. Dispatch `aparte-compact` (with `auto: true`) on each turn that ends in `danger`, one request at a time. `@aparte/plugin-compaction` decides when to compact by itself now, so leave this off. */
|
|
248
250
|
set autoCompact(v: boolean);
|
|
249
251
|
/** Reflected BY the element: `ok`, `warn` or `danger`. Read-only. */
|
|
250
252
|
set dataLevel(v: string | undefined);
|
|
251
253
|
/** Reflected BY the element while it has nothing to show. Read-only. */
|
|
252
254
|
set dataEmpty(v: boolean);
|
|
255
|
+
/** Reflected BY the element while this chat is being compacted (`running`) and after a compaction failed (`failed`). Read-only. */
|
|
256
|
+
set dataCompact(v: string | undefined);
|
|
253
257
|
/** The level changed. Bubbles. */
|
|
254
258
|
readonly contextThreshold: EventEmitter<AparteContextThresholdEventDetail>;
|
|
255
|
-
/** Dispatched on `window` when `auto-compact` is set and a turn ends in `danger
|
|
259
|
+
/** Dispatched on `window` when the deprecated `auto-compact` is set and a turn ends in `danger` (`auto: true`, with the `window` it measured against), and by Retry in the panel when no compactor is registered. One automatic request at a time — the next turn in `danger` asks again once the plugin has answered. `@aparte/plugin-compaction` answers it; with no listener nothing happens. */
|
|
256
260
|
readonly compact: EventEmitter<AparteCompactEventDetail>;
|
|
257
261
|
protected onContextThreshold(e: CustomEvent<AparteContextThresholdEventDetail>): void;
|
|
258
262
|
protected onCompact(e: CustomEvent<AparteCompactEventDetail>): void;
|
|
259
263
|
static ɵfac: i0.ɵɵFactoryDeclaration<AparteContextDirective, never>;
|
|
260
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AparteContextDirective, "aparte-context", never, { "window": { "alias": "window"; "required": false; }; "warn": { "alias": "warn"; "required": false; }; "danger": { "alias": "danger"; "required": false; }; "target": { "alias": "target"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "used": { "alias": "used"; "required": false; }; "autoCompact": { "alias": "autoCompact"; "required": false; }; "dataLevel": { "alias": "dataLevel"; "required": false; }; "dataEmpty": { "alias": "dataEmpty"; "required": false; }; }, { "contextThreshold": "contextThreshold"; "compact": "compact"; }, never, never, true, never>;
|
|
264
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AparteContextDirective, "aparte-context", never, { "window": { "alias": "window"; "required": false; }; "warn": { "alias": "warn"; "required": false; }; "danger": { "alias": "danger"; "required": false; }; "target": { "alias": "target"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "used": { "alias": "used"; "required": false; }; "autoCompact": { "alias": "autoCompact"; "required": false; }; "dataLevel": { "alias": "dataLevel"; "required": false; }; "dataEmpty": { "alias": "dataEmpty"; "required": false; }; "dataCompact": { "alias": "dataCompact"; "required": false; }; }, { "contextThreshold": "contextThreshold"; "compact": "compact"; }, never, never, true, never>;
|
|
261
265
|
static ngAcceptInputType_window: unknown;
|
|
262
266
|
static ngAcceptInputType_warn: unknown;
|
|
263
267
|
static ngAcceptInputType_danger: unknown;
|
|
@@ -322,6 +326,21 @@ export declare class AparteIconDirective extends AparteElementBase {
|
|
|
322
326
|
static ɵfac: i0.ɵɵFactoryDeclaration<AparteIconDirective, never>;
|
|
323
327
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AparteIconDirective, "aparte-icon", never, { "name": { "alias": "name"; "required": false; }; }, {}, never, never, true, never>;
|
|
324
328
|
}
|
|
329
|
+
/** `<aparte-launcher>` — A chat that floats in a corner of the page — the support widget every product site has, as an element. A round button sits at the bottom of the window, on the inline-end side; a click opens the chat above it as a card, and a second click, Escape or any control marked `data-aparte-launcher-close` inside closes it again. */
|
|
330
|
+
export declare class AparteLauncherDirective extends AparteElementBase {
|
|
331
|
+
/** The chat is open. Reflected; set it to start open. */
|
|
332
|
+
set open(v: boolean);
|
|
333
|
+
/** Text shown beside the bubble on the closed button, which then reads as a pill. Without it the button is round and named by the locale. */
|
|
334
|
+
set label(v: string | undefined);
|
|
335
|
+
/** The window width under which the open chat fills the window: a length, or `none` for a card at any size. Unset, a window under 30rem wide or 30rem high. */
|
|
336
|
+
set breakpoint(v: string | undefined);
|
|
337
|
+
/** The chat opened or closed, by the button, by Escape, by a close control or by `open` being set — or, while it is open, turned into a sheet or back as the window crossed the breakpoint. Bubbles. */
|
|
338
|
+
readonly launcherToggle: EventEmitter<AparteLauncherToggleDetail>;
|
|
339
|
+
protected onLauncherToggle(e: CustomEvent<AparteLauncherToggleDetail>): void;
|
|
340
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AparteLauncherDirective, never>;
|
|
341
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AparteLauncherDirective, "aparte-launcher", never, { "open": { "alias": "open"; "required": false; }; "label": { "alias": "label"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; }, { "launcherToggle": "launcherToggle"; }, never, never, true, never>;
|
|
342
|
+
static ngAcceptInputType_open: unknown;
|
|
343
|
+
}
|
|
325
344
|
/** `<aparte-optgroup>` — AparteOptgroup */
|
|
326
345
|
export declare class AparteOptgroupDirective extends AparteElementBase {
|
|
327
346
|
/** Group label */
|
|
@@ -482,5 +501,5 @@ export declare class AparteSuggestionsDirective extends AparteElementBase {
|
|
|
482
501
|
* @Component({ imports: [...APARTE_ELEMENT_DIRECTIVES], template: `…` })
|
|
483
502
|
* ```
|
|
484
503
|
*/
|
|
485
|
-
export declare const APARTE_ELEMENT_DIRECTIVES: readonly [typeof AparteChatBubbleDirective, typeof AparteChatStatusDirective, typeof AparteChatViewportDirective, typeof AparteComposerDirective, typeof AparteComposerActionDirective, typeof AparteComposerAddAttachmentDirective, typeof AparteComposerAttachmentsDirective, typeof AparteComposerCancelDirective, typeof AparteComposerInputDirective, typeof AparteComposerSendDirective, typeof AparteComposerToolbarDirective, typeof AparteContextDirective, typeof AparteConversationListDirective, typeof AparteElicitationDirective, typeof AparteIconDirective, typeof AparteOptgroupDirective, typeof AparteOptionDirective, typeof AparteProgressSpinnerDirective, typeof AparteScrollRailDirective, typeof AparteSelectDirective, typeof AparteSidebarDirective, typeof AparteSplitDirective, typeof AparteSuggestionsDirective];
|
|
504
|
+
export declare const APARTE_ELEMENT_DIRECTIVES: readonly [typeof AparteChatBubbleDirective, typeof AparteChatStatusDirective, typeof AparteChatViewportDirective, typeof AparteComposerDirective, typeof AparteComposerActionDirective, typeof AparteComposerAddAttachmentDirective, typeof AparteComposerAttachmentsDirective, typeof AparteComposerCancelDirective, typeof AparteComposerInputDirective, typeof AparteComposerSendDirective, typeof AparteComposerToolbarDirective, typeof AparteContextDirective, typeof AparteConversationListDirective, typeof AparteElicitationDirective, typeof AparteIconDirective, typeof AparteLauncherDirective, typeof AparteOptgroupDirective, typeof AparteOptionDirective, typeof AparteProgressSpinnerDirective, typeof AparteScrollRailDirective, typeof AparteSelectDirective, typeof AparteSidebarDirective, typeof AparteSplitDirective, typeof AparteSuggestionsDirective];
|
|
486
505
|
export {};
|
|
@@ -87,9 +87,9 @@ export declare class AparteChatComponent implements AfterViewInit, OnDestroy, Ap
|
|
|
87
87
|
* selector on Angular alone. This input is that parity. Additive: the recipe's
|
|
88
88
|
* own classes stay.
|
|
89
89
|
*/
|
|
90
|
-
readonly containerClass: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
90
|
+
readonly containerClass: import("@angular/core").InputSignalWithTransform<string, string | null | undefined>;
|
|
91
91
|
/** Inline style for the same div — a string or a `{ prop: value }` map. */
|
|
92
|
-
readonly containerStyle: import("@angular/core").InputSignalWithTransform<string | Record<string, string
|
|
92
|
+
readonly containerStyle: import("@angular/core").InputSignalWithTransform<string | Record<string, string> | null, string | Record<string, string> | null | undefined>;
|
|
93
93
|
/**
|
|
94
94
|
* Overlay the composer on the transcript (the ChatGPT anatomy): the scroll
|
|
95
95
|
* surface spans the whole column, the scrollbar runs edge to edge, and the
|
|
@@ -121,7 +121,7 @@ export declare class AparteChatComponent implements AfterViewInit, OnDestroy, Ap
|
|
|
121
121
|
readonly isTypingInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
122
122
|
readonly isTyping: import("@angular/core").WritableSignal<boolean>;
|
|
123
123
|
/** Text to show in the typing status */
|
|
124
|
-
readonly typingText: import("@angular/core").InputSignal<string>;
|
|
124
|
+
readonly typingText: import("@angular/core").InputSignal<string | undefined>;
|
|
125
125
|
/** The status line's word: the input, else the locale's, like the rest of the chat. */
|
|
126
126
|
get typingLabel(): string;
|
|
127
127
|
/** Duration in ms to freeze spacer recalculation after a conversation swap. Read when the host is created. */
|
|
@@ -132,7 +132,7 @@ export declare class AparteChatComponent implements AfterViewInit, OnDestroy, Ap
|
|
|
132
132
|
* `AparteConversationManager` registered in `aparteGlobalConfig`. Setting a different id
|
|
133
133
|
* mid-stream aborts the previous request; `null` deselects.
|
|
134
134
|
*/
|
|
135
|
-
readonly conversationIdInput: import("@angular/core").InputSignal<string>;
|
|
135
|
+
readonly conversationIdInput: import("@angular/core").InputSignal<string | null | undefined>;
|
|
136
136
|
private _conversationId;
|
|
137
137
|
/**
|
|
138
138
|
* Instance {@link AparteConfig} for this chat. When set, aparté components
|
|
@@ -140,7 +140,7 @@ export declare class AparteChatComponent implements AfterViewInit, OnDestroy, Ap
|
|
|
140
140
|
* several independently-configured chats can coexist on one page. Omit for the
|
|
141
141
|
* global config. Read once, when the host is created after the first render.
|
|
142
142
|
*/
|
|
143
|
-
readonly config: import("@angular/core").InputSignal<AparteConfig>;
|
|
143
|
+
readonly config: import("@angular/core").InputSignal<AparteConfig | undefined>;
|
|
144
144
|
/**
|
|
145
145
|
* Render your OWN element per message in place of `<aparte-chat-bubble>`.
|
|
146
146
|
* Opt-in — provide a `<ng-template let-message>` and pass its ref, or write the
|
|
@@ -154,9 +154,9 @@ export declare class AparteChatComponent implements AfterViewInit, OnDestroy, Ap
|
|
|
154
154
|
*/
|
|
155
155
|
readonly bubbleTemplate: import("@angular/core").InputSignal<TemplateRef<{
|
|
156
156
|
$implicit: AparteMessage;
|
|
157
|
-
}
|
|
157
|
+
}> | undefined>;
|
|
158
158
|
/** The `<ng-template aparteBubble>` written as content, if any. */
|
|
159
|
-
readonly bubbleDirective: import("@angular/core").Signal<AparteBubbleDirective>;
|
|
159
|
+
readonly bubbleDirective: import("@angular/core").Signal<AparteBubbleDirective | undefined>;
|
|
160
160
|
/**
|
|
161
161
|
* User submitted a message from the composer. It is **appended to the thread
|
|
162
162
|
* automatically** (optimistic UI) before this fires — do NOT add it again in
|
|
@@ -23,7 +23,7 @@ export declare class AparteToolUIDirective {
|
|
|
23
23
|
/** The tool this draws: a name, a `RegExp`, or `'*'` for every tool. */
|
|
24
24
|
readonly name: import("@angular/core").InputSignal<AparteToolMatcher>;
|
|
25
25
|
/** The config to declare it on. Defaults to the global one. */
|
|
26
|
-
readonly config: import("@angular/core").InputSignal<AparteConfig>;
|
|
26
|
+
readonly config: import("@angular/core").InputSignal<AparteConfig | undefined>;
|
|
27
27
|
private readonly template;
|
|
28
28
|
private readonly container;
|
|
29
29
|
constructor();
|
|
@@ -51,7 +51,7 @@ export declare class AparteSegmentUIDirective {
|
|
|
51
51
|
/** The segment `type` this draws. */
|
|
52
52
|
readonly type: import("@angular/core").InputSignal<string>;
|
|
53
53
|
/** The config to declare it on. Defaults to the global one. */
|
|
54
|
-
readonly config: import("@angular/core").InputSignal<AparteConfig>;
|
|
54
|
+
readonly config: import("@angular/core").InputSignal<AparteConfig | undefined>;
|
|
55
55
|
private readonly template;
|
|
56
56
|
private readonly container;
|
|
57
57
|
constructor();
|
|
@@ -30,9 +30,9 @@ export declare class ConversationManagerService implements OnDestroy {
|
|
|
30
30
|
/** Archived conversations, newest first. */
|
|
31
31
|
readonly archivedConversations: import("@angular/core").Signal<AparteConversation[]>;
|
|
32
32
|
/** Currently active conversation id. */
|
|
33
|
-
readonly activeId: import("@angular/core").WritableSignal<string>;
|
|
33
|
+
readonly activeId: import("@angular/core").WritableSignal<string | null>;
|
|
34
34
|
/** The active conversation object (null when no conv is selected). */
|
|
35
|
-
readonly activeConversation: import("@angular/core").Signal<AparteConversation>;
|
|
35
|
+
readonly activeConversation: import("@angular/core").Signal<AparteConversation | null>;
|
|
36
36
|
/**
|
|
37
37
|
* Initialise the service with a storage adapter.
|
|
38
38
|
* Call once in your root component or app initialiser.
|
|
@@ -33,7 +33,7 @@ export interface ProvideAparteOptions {
|
|
|
33
33
|
};
|
|
34
34
|
/** Model selection configuration. */
|
|
35
35
|
modelConfig?: AparteModelConfig;
|
|
36
|
-
/** A locale OBJECT (e.g. `fr` from `@aparte/
|
|
36
|
+
/** A locale OBJECT (e.g. `fr` from `@aparte/locales/fr`) — not a package-name string. */
|
|
37
37
|
locale?: AparteLocale;
|
|
38
38
|
/** Theme mode; `'auto'` follows the system preference. */
|
|
39
39
|
themeMode?: 'light' | 'dark' | 'auto';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aparte/angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"homepage": "https://apartejs.dev/frameworks/angular/",
|
|
5
5
|
"description": "Angular wrapper for aparté (Angular 19.2 to 21, zone or zoneless) — an ergonomic <aparte-chat> component plus services over the framework-agnostic web components.",
|
|
6
6
|
"type": "module",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@angular/common": "^19.2.0 || ^20.0.0 || ^21.0.0",
|
|
32
32
|
"@angular/core": "^19.2.0 || ^20.0.0 || ^21.0.0",
|
|
33
|
-
"@aparte/core": ">=0.
|
|
33
|
+
"@aparte/core": ">=0.27.0 <1.0.0",
|
|
34
34
|
"rxjs": "^7.8.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"typescript": "^5.4.0",
|
|
47
47
|
"vite": "^6.0.0",
|
|
48
48
|
"zone.js": "~0.15.0",
|
|
49
|
-
"@aparte/core": "0.
|
|
50
|
-
"@aparte/provider-scenario": "0.
|
|
49
|
+
"@aparte/core": "0.27.0",
|
|
50
|
+
"@aparte/provider-scenario": "0.27.0"
|
|
51
51
|
},
|
|
52
52
|
"keywords": [
|
|
53
53
|
"angular",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"url": "https://github.com/apartejs/aparte/issues"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|
|
71
|
-
"build": "ng-packagr -p ng-package.json && node ../../../scripts/stamp-dist.mjs",
|
|
71
|
+
"build": "ng-packagr -p ng-package.json -c tsconfig.lib.json && node ../../../scripts/stamp-dist.mjs",
|
|
72
72
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
73
73
|
"typecheck:tests": "tsc -p tsconfig.spec.json --noEmit",
|
|
74
74
|
"test": "vitest",
|