@sinequa/atomic-angular 1.16.0 → 2.0.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/README.md +23 -18
- package/components/navbar-tabs/i18n/de.json +4 -2
- package/components/navbar-tabs/i18n/en.json +4 -2
- package/components/navbar-tabs/i18n/fr.json +5 -3
- package/components/preview/i18n/de.json +12 -0
- package/components/preview/i18n/en.json +12 -0
- package/components/preview/i18n/fr.json +12 -0
- package/components/sort-selector/i18n/de.json +1 -0
- package/components/sort-selector/i18n/en.json +1 -0
- package/components/sort-selector/i18n/fr.json +1 -0
- package/components/sponsored-results/i18n/de.json +3 -0
- package/components/sponsored-results/i18n/en.json +3 -0
- package/components/sponsored-results/i18n/fr.json +3 -0
- package/document-workspaces/i18n/de.json +6 -2
- package/document-workspaces/i18n/en.json +6 -2
- package/document-workspaces/i18n/fr.json +6 -2
- package/document-workspaces/i18n/ja.json +6 -2
- package/features/{drawer → advanced-search}/i18n/de.json +12 -1
- package/features/{drawer → advanced-search}/i18n/en.json +12 -1
- package/features/{drawer → advanced-search}/i18n/fr.json +13 -2
- package/features/alerts/i18n/de.json +7 -1
- package/features/alerts/i18n/en.json +7 -1
- package/features/alerts/i18n/fr.json +7 -1
- package/features/auth/i18n/de.json +6 -0
- package/features/auth/i18n/en.json +6 -0
- package/features/auth/i18n/fr.json +6 -1
- package/features/collections/i18n/de.json +4 -1
- package/features/collections/i18n/en.json +4 -1
- package/features/collections/i18n/fr.json +4 -1
- package/features/dialogs/i18n/de.json +11 -1
- package/features/dialogs/i18n/en.json +11 -1
- package/features/dialogs/i18n/fr.json +11 -1
- package/features/export/i18n/de.json +5 -1
- package/features/export/i18n/en.json +5 -1
- package/features/export/i18n/fr.json +5 -1
- package/features/feedback/i18n/de.json +2 -1
- package/features/feedback/i18n/en.json +2 -1
- package/features/feedback/i18n/fr.json +2 -1
- package/features/filters/i18n/de.json +10 -3
- package/features/filters/i18n/en.json +10 -3
- package/features/filters/i18n/fr.json +11 -4
- package/features/labels/i18n/de.json +5 -1
- package/features/labels/i18n/en.json +5 -1
- package/features/labels/i18n/fr.json +5 -1
- package/features/list-panel/i18n/de.json +4 -0
- package/features/list-panel/i18n/en.json +4 -0
- package/features/list-panel/i18n/fr.json +4 -0
- package/features/searches/i18n/de.json +2 -1
- package/features/searches/i18n/en.json +2 -1
- package/features/searches/i18n/fr.json +3 -2
- package/features/sheet/i18n/de.json +3 -0
- package/features/sheet/i18n/en.json +3 -0
- package/features/sheet/i18n/fr.json +3 -0
- package/features/user-profile/i18n/de.json +22 -1
- package/features/user-profile/i18n/en.json +22 -1
- package/features/user-profile/i18n/fr.json +22 -1
- package/fesm2022/sinequa-atomic-angular-charts-heatmap.mjs +294 -0
- package/fesm2022/sinequa-atomic-angular-charts-heatmap.mjs.map +1 -0
- package/fesm2022/sinequa-atomic-angular-charts.mjs +969 -0
- package/fesm2022/sinequa-atomic-angular-charts.mjs.map +1 -0
- package/fesm2022/sinequa-atomic-angular-document-workspaces.mjs +11188 -7846
- package/fesm2022/sinequa-atomic-angular-document-workspaces.mjs.map +1 -1
- package/fesm2022/sinequa-atomic-angular-workspace-elements.mjs +85 -152
- package/fesm2022/sinequa-atomic-angular-workspace-elements.mjs.map +1 -1
- package/fesm2022/sinequa-atomic-angular.mjs +30683 -17302
- package/fesm2022/sinequa-atomic-angular.mjs.map +1 -1
- package/package.json +60 -23
- package/styles/calendar.css +88 -0
- package/types/sinequa-atomic-angular-charts-heatmap.d.ts +154 -0
- package/types/sinequa-atomic-angular-charts.d.ts +462 -0
- package/types/sinequa-atomic-angular-document-workspaces.d.ts +2527 -0
- package/types/sinequa-atomic-angular-workspace-elements.d.ts +49 -0
- package/types/sinequa-atomic-angular.d.ts +19918 -0
- package/workspace-elements/styles/lexiq-workspaces.css +7310 -4010
- package/document-workspaces/index.d.ts +0 -2116
- package/elements/index.d.ts +0 -346
- package/fesm2022/sinequa-atomic-angular-elements.mjs +0 -7526
- package/fesm2022/sinequa-atomic-angular-elements.mjs.map +0 -1
- package/index.d.ts +0 -16119
- package/workspace-elements/index.d.ts +0 -37
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ApplicationConfig, ApplicationRef, EnvironmentProviders, Injector } from "@angular/core";
|
|
2
|
+
import { AskFollowUp, MentionSelection, Workspace, WorkspaceDocument } from "@sinequa/atomic-angular/document-workspaces";
|
|
3
|
+
/**
|
|
4
|
+
* The component of an element, for what `@angular/elements` does not expose: its methods.
|
|
5
|
+
* `NgElement` keeps the component behind its strategy; this is the one place that reaches for it.
|
|
6
|
+
*/
|
|
7
|
+
declare function instanceOf<T>(element: HTMLElement): T;
|
|
8
|
+
/**
|
|
9
|
+
* Re-dispatches an output of the component under the name the page knows it by — the
|
|
10
|
+
* events of this package have always been `lexiq-workspaces:…` or plain names — and so
|
|
11
|
+
* that it crosses a shadow boundary: `@angular/elements` dispatches with neither `bubbles`
|
|
12
|
+
* nor `composed`.
|
|
13
|
+
*/
|
|
14
|
+
declare function bridgeEvents(element: HTMLElement, events: Record<string, {
|
|
15
|
+
name: string;
|
|
16
|
+
detail?: (payload: unknown) => unknown;
|
|
17
|
+
}>): void;
|
|
18
|
+
export declare function defineLexiqWorkspaces(injector: Injector, tagName?: string): void;
|
|
19
|
+
export declare function defineLexiqWorkspacePicker(injector: Injector, tagName?: string): void;
|
|
20
|
+
export declare function defineLexiqWorkspaceMentionList(injector: Injector, tagName?: string): void;
|
|
21
|
+
export declare function registerLexiqWorkspacesElements(injector: Injector): void;
|
|
22
|
+
/**
|
|
23
|
+
* For a page that is not an Angular application: starts one — zoneless, with the
|
|
24
|
+
* providers the page gives it (Transloco and the `@sinequa/atomic` configuration are the page's
|
|
25
|
+
* to provide) — and registers the three elements on it.
|
|
26
|
+
*
|
|
27
|
+
* ```ts
|
|
28
|
+
* await bootstrapLexiqWorkspacesElements({ providers: [provideTransloco({ … })] });
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare function bootstrapLexiqWorkspacesElements(config?: Partial<ApplicationConfig>): Promise<ApplicationRef>;
|
|
32
|
+
/**
|
|
33
|
+
* Registers the `lexiq-workspaces`, `lexiq-workspace-picker` and
|
|
34
|
+
* `lexiq-workspace-mention-list` custom elements when the application starts. Add it to
|
|
35
|
+
* the `providers` of the app (or of a route):
|
|
36
|
+
*
|
|
37
|
+
* ```ts
|
|
38
|
+
* export const appConfig: ApplicationConfig = {
|
|
39
|
+
* providers: [provideTransloco({ … }), provideLexiqWorkspacesElements()]
|
|
40
|
+
* };
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* The elements render through this application's injector, so they share its Transloco
|
|
44
|
+
* configuration, its `@sinequa/atomic` setup and its `WorkspacesStore` with the rest of the app.
|
|
45
|
+
* A component that uses the tags in a template needs `schemas: [CUSTOM_ELEMENTS_SCHEMA]` — or,
|
|
46
|
+
* in Angular, the components themselves (`WorkspacesShell`…).
|
|
47
|
+
*/
|
|
48
|
+
export declare function provideLexiqWorkspacesElements(): EnvironmentProviders;
|
|
49
|
+
export type { AskFollowUp, MentionSelection, Workspace, WorkspaceDocument };
|