@magmonium/one 0.2.98 → 0.3.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/assets/docs/en/app-release.md +55 -0
- package/assets/i18n/en.json +30 -0
- package/assets/icons/bold.svg +4 -0
- package/assets/icons/heading.svg +6 -0
- package/assets/icons/italic.svg +5 -0
- package/assets/icons/link.svg +4 -0
- package/assets/icons/list.svg +8 -0
- package/assets/icons/quote.svg +4 -0
- package/assets/icons/sparkles.svg +5 -0
- package/assets/icons/strikethrough.svg +5 -0
- package/assets/icons/svg.json +10 -0
- package/assets/icons/table.svg +6 -0
- package/assets/icons/wand.svg +6 -0
- package/assets/index.json +1 -1
- package/fesm2022/{magmonium-one-image-editor-CrKNMT-Q.mjs → magmonium-one-image-editor-DKFMr1hF.mjs} +2 -2
- package/fesm2022/{magmonium-one-image-editor-CrKNMT-Q.mjs.map → magmonium-one-image-editor-DKFMr1hF.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-magmonium-one-Byg-o1yz.mjs → magmonium-one-magmonium-one-YIfvzI6x.mjs} +1078 -42
- package/fesm2022/magmonium-one-magmonium-one-YIfvzI6x.mjs.map +1 -0
- package/fesm2022/{magmonium-one-otp-BQ4vdM8S.mjs → magmonium-one-otp-CoTAftI5.mjs} +2 -2
- package/fesm2022/{magmonium-one-otp-BQ4vdM8S.mjs.map → magmonium-one-otp-CoTAftI5.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-password-BitfLQJk.mjs → magmonium-one-password-BDnu6JUW.mjs} +2 -2
- package/fesm2022/{magmonium-one-password-BitfLQJk.mjs.map → magmonium-one-password-BDnu6JUW.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-toggle-BMDcrxou.mjs → magmonium-one-toggle-QVCyppFj.mjs} +2 -2
- package/fesm2022/{magmonium-one-toggle-BMDcrxou.mjs.map → magmonium-one-toggle-QVCyppFj.mjs.map} +1 -1
- package/fesm2022/magmonium-one.mjs +1 -1
- package/package.json +6 -5
- package/types/magmonium-one.d.ts +361 -11
- package/fesm2022/magmonium-one-magmonium-one-Byg-o1yz.mjs.map +0 -1
package/types/magmonium-one.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import * as dist_libs_cli_src from 'dist/libs/cli/src';
|
|
|
13
13
|
import * as _magmonium_one from '@magmonium/one';
|
|
14
14
|
import * as _angular_forms_signals from '@angular/forms/signals';
|
|
15
15
|
import { WithOptionalField, ValidationError, FormValueControl, FormCheckboxControl, FieldTree, SchemaOrSchemaFn, SchemaPath } from '@angular/forms/signals';
|
|
16
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
16
17
|
import { SafeStyle } from '@angular/platform-browser';
|
|
17
18
|
|
|
18
19
|
/**
|
|
@@ -32,7 +33,9 @@ declare enum Assets {
|
|
|
32
33
|
JSON = "json",
|
|
33
34
|
SVG = "svg",
|
|
34
35
|
PNG = "png",
|
|
35
|
-
CSS = "css"
|
|
36
|
+
CSS = "css",
|
|
37
|
+
/** A DocAsset — markdown, copied verbatim rather than compiled. */
|
|
38
|
+
MD = "md"
|
|
36
39
|
}
|
|
37
40
|
|
|
38
41
|
declare const LAYOUT_ASSET_FOLDER: {
|
|
@@ -79,7 +82,7 @@ declare class HttpService {
|
|
|
79
82
|
patchEvents(domain: string, path: (string | number)[], data?: unknown, version?: Version): Observable<HttpEvent<string>>;
|
|
80
83
|
postEvents(domain: string, path: (string | number)[], data?: unknown, version?: Version): Observable<HttpEvent<string>>;
|
|
81
84
|
delete<T>(domain: string, path: (string | number)[], version?: Version, params?: QueryParams): Observable<T>;
|
|
82
|
-
deleteWithBody<T>(domain: string, path: (string | number)[], body: unknown, version?: Version): Observable<T>;
|
|
85
|
+
deleteWithBody<T>(domain: string, path: (string | number)[], body: unknown, version?: Version, params?: QueryParams): Observable<T>;
|
|
83
86
|
setUrl(url: string): void;
|
|
84
87
|
getUrl(): string;
|
|
85
88
|
setAuthUrl(url: string): void;
|
|
@@ -89,6 +92,8 @@ declare class HttpService {
|
|
|
89
92
|
setOneAssetUrl(url: string): void;
|
|
90
93
|
setPublicUrl(url: string): void;
|
|
91
94
|
blob(url: string): Observable<Blob>;
|
|
95
|
+
/** A whole url read as text — what a document fetched from a Remote needs. */
|
|
96
|
+
text(url: string): Observable<string>;
|
|
92
97
|
wc<T>(link: string, filePath: string[]): Observable<T>;
|
|
93
98
|
buildWcUrl(link: string): string;
|
|
94
99
|
buildWcAssetBaseUrl(link: string): string;
|
|
@@ -2511,6 +2516,20 @@ type DateInput = Input & {
|
|
|
2511
2516
|
};
|
|
2512
2517
|
type TextareaInput = Input & {
|
|
2513
2518
|
type: InputType.TEXTAREA;
|
|
2519
|
+
/**
|
|
2520
|
+
* Off for a field holding something the dictionary has no opinion about —
|
|
2521
|
+
* markdown, a code block, an id. Absent everywhere else, which leaves the
|
|
2522
|
+
* browser's own default.
|
|
2523
|
+
*/
|
|
2524
|
+
spellcheck?: boolean;
|
|
2525
|
+
/**
|
|
2526
|
+
* Grows with what is typed instead of holding one height and scrolling.
|
|
2527
|
+
* `--m-textarea-input-height` is then the floor it starts at and
|
|
2528
|
+
* `--m-textarea-input-max-height` the ceiling it scrolls after. Opt-in: a
|
|
2529
|
+
* Field in a form row keeps its one height so the row beside it does not
|
|
2530
|
+
* move as somebody types.
|
|
2531
|
+
*/
|
|
2532
|
+
autoGrow?: boolean;
|
|
2514
2533
|
};
|
|
2515
2534
|
type DropdownOption = {
|
|
2516
2535
|
value: string;
|
|
@@ -2623,6 +2642,9 @@ declare class BaseInputComponent<T extends Input = Input> {
|
|
|
2623
2642
|
declare class BaseTextInputComponent<T extends Input = TextInput> extends BaseInputComponent<T> implements FormValueControl<string> {
|
|
2624
2643
|
value: ModelSignal<string>;
|
|
2625
2644
|
private inputElement;
|
|
2645
|
+
private readonly document;
|
|
2646
|
+
/** The element this field has already claimed the caret for, once. */
|
|
2647
|
+
private autofocused;
|
|
2626
2648
|
constructor();
|
|
2627
2649
|
readonly isFocused: _angular_core.WritableSignal<boolean>;
|
|
2628
2650
|
readonly iconColor: _angular_core.Signal<"error" | "focus" | "border">;
|
|
@@ -4171,6 +4193,25 @@ declare class ClearableInputComponent extends BaseTextInputComponent {
|
|
|
4171
4193
|
declare class TextareaInputComponent extends BaseTextInputComponent<TextareaInput> {
|
|
4172
4194
|
protected readonly iconSize = Size.SMALL;
|
|
4173
4195
|
private readonly translateService;
|
|
4196
|
+
/**
|
|
4197
|
+
* The element itself, for a host that edits the text around the caret — a
|
|
4198
|
+
* markdown toolbar wrapping a selection in `**` has to read what is selected
|
|
4199
|
+
* and hand the caret back afterwards, which no value binding can express.
|
|
4200
|
+
* The Field still owns the value; this is the selection, nothing else.
|
|
4201
|
+
*/
|
|
4202
|
+
readonly control: _angular_core.Signal<ElementRef<HTMLTextAreaElement> | undefined>;
|
|
4203
|
+
/** What is selected right now, or `undefined` before the field is drawn. */
|
|
4204
|
+
readonly selection: () => {
|
|
4205
|
+
value: string;
|
|
4206
|
+
start: number;
|
|
4207
|
+
end: number;
|
|
4208
|
+
} | undefined;
|
|
4209
|
+
/**
|
|
4210
|
+
* Writes text and puts the caret where the caller says. The element is
|
|
4211
|
+
* written directly because the caret has to survive the write: a value that
|
|
4212
|
+
* arrives back through the binding lands with the caret at the end.
|
|
4213
|
+
*/
|
|
4214
|
+
readonly writeSelection: (value: string, start: number, end: number) => void;
|
|
4174
4215
|
protected placeholder(key: string | undefined): string;
|
|
4175
4216
|
protected onInput(event: Event): void;
|
|
4176
4217
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TextareaInputComponent, never>;
|
|
@@ -6086,6 +6127,279 @@ declare class ImgComponent {
|
|
|
6086
6127
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ImgComponent, "m-img", never, { "src": { "alias": "src"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "dataType": { "alias": "dataType"; "required": false; "isSignal": true; }; "alt": { "alias": "alt"; "required": true; "isSignal": true; }; "priority": { "alias": "priority"; "required": false; "isSignal": true; }; "fill": { "alias": "fill"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "remote": { "alias": "remote"; "required": false; "isSignal": true; }; "ngSrcset": { "alias": "ngSrcset"; "required": false; "isSignal": true; }; "sizes": { "alias": "sizes"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6087
6128
|
}
|
|
6088
6129
|
|
|
6130
|
+
/**
|
|
6131
|
+
* Renders one DocAsset — a markdown document, not a message.
|
|
6132
|
+
*
|
|
6133
|
+
* Folderless like `m-img` and `m-logo`: three inputs, literal attributes, no
|
|
6134
|
+
* `config` bag and therefore no ControlAsset. It fetches its own content the
|
|
6135
|
+
* way an Img does, so nothing has to be wired to it: a name resolves app tier
|
|
6136
|
+
* then library tier and active language then default, a `remote` reads the
|
|
6137
|
+
* named Remote's own copy, and a `designSrc` short-circuits both because the
|
|
6138
|
+
* editor's Canvas has no backend to resolve either against.
|
|
6139
|
+
*
|
|
6140
|
+
* A document that is nowhere renders as nothing. Loading and error belong to
|
|
6141
|
+
* the interceptor (ADR 0026), and a missing translation is not an app failure.
|
|
6142
|
+
*/
|
|
6143
|
+
declare class DocComponent {
|
|
6144
|
+
/** The DocAsset's name — never a path and never a url. */
|
|
6145
|
+
readonly name: _angular_core.InputSignal<string>;
|
|
6146
|
+
/** Another Remote's AppLink, whose own copy of that name is read instead. */
|
|
6147
|
+
readonly remote: _angular_core.InputSignal<string>;
|
|
6148
|
+
/**
|
|
6149
|
+
* A whole url the document is fetched from at runtime, for a document this
|
|
6150
|
+
* app does not ship. It wins over `name` and `remote`: a url is the most
|
|
6151
|
+
* specific thing a caller can say about where the text lives.
|
|
6152
|
+
*/
|
|
6153
|
+
readonly url: _angular_core.InputSignal<string>;
|
|
6154
|
+
/** Design-time only: what the Canvas draws in place of a read it cannot make. */
|
|
6155
|
+
readonly designSrc: _angular_core.InputSignal<string>;
|
|
6156
|
+
private readonly http;
|
|
6157
|
+
private readonly translate;
|
|
6158
|
+
protected readonly html: _angular_core.WritableSignal<string>;
|
|
6159
|
+
protected readonly pending: _angular_core.WritableSignal<boolean>;
|
|
6160
|
+
/** Only the newest read may write; an input changed mid-flight wins. */
|
|
6161
|
+
private token;
|
|
6162
|
+
constructor();
|
|
6163
|
+
private load;
|
|
6164
|
+
/** App tier then library tier, active language then default — first hit wins. */
|
|
6165
|
+
private readAsset;
|
|
6166
|
+
/** The named Remote's own copy, served by the `wc` route as `text/markdown`. */
|
|
6167
|
+
private readRemote;
|
|
6168
|
+
/** A whole url, read as text. Nothing is appended to it and no tier applies. */
|
|
6169
|
+
private readUrl;
|
|
6170
|
+
private show;
|
|
6171
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DocComponent, never>;
|
|
6172
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DocComponent, "m-doc", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "remote": { "alias": "remote"; "required": false; "isSignal": true; }; "url": { "alias": "url"; "required": false; "isSignal": true; }; "designSrc": { "alias": "designSrc"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6173
|
+
}
|
|
6174
|
+
|
|
6175
|
+
/** The one folder a DocAsset lives in, under `assets/` and under `assets/one/`. */
|
|
6176
|
+
declare const DOCS_FOLDER = "docs";
|
|
6177
|
+
interface DocLookup {
|
|
6178
|
+
/** The DocAsset's name — never a path, never a url. */
|
|
6179
|
+
name: string;
|
|
6180
|
+
/** The language being read now. */
|
|
6181
|
+
lang: string;
|
|
6182
|
+
/** What a missing translation falls back to before giving up. */
|
|
6183
|
+
defaultLang: string;
|
|
6184
|
+
}
|
|
6185
|
+
/**
|
|
6186
|
+
* Where one document may be found, in the order it is asked for.
|
|
6187
|
+
*
|
|
6188
|
+
* App tier before library tier, so an app's own document wins the name; active
|
|
6189
|
+
* language before default, because a missing translation is a fallback and not
|
|
6190
|
+
* a failure. The `<lang>/` segment is never optional — one resolution shape.
|
|
6191
|
+
*/
|
|
6192
|
+
declare function docAssetCandidates({ name, lang, defaultLang, }: DocLookup): string[][];
|
|
6193
|
+
/**
|
|
6194
|
+
* The path a document sits at inside another Remote's own assets, which the
|
|
6195
|
+
* `wc` route serves as `text/markdown` without any backend work.
|
|
6196
|
+
*/
|
|
6197
|
+
declare function docRemotePath(name: string, lang: string): string;
|
|
6198
|
+
|
|
6199
|
+
/** Markdown in, closed-vocabulary HTML out. */
|
|
6200
|
+
declare function renderDocument(markdown: string): Promise<string>;
|
|
6201
|
+
|
|
6202
|
+
/**
|
|
6203
|
+
* The markdown a toolbar press writes, as a pure transform over the textarea's
|
|
6204
|
+
* own state.
|
|
6205
|
+
*
|
|
6206
|
+
* Pure so the editor stays a view: the component reads `value/start/end` off
|
|
6207
|
+
* the element, hands them here, and writes the answer back. Nothing about a
|
|
6208
|
+
* document is decided in a DOM handler.
|
|
6209
|
+
*
|
|
6210
|
+
* There is deliberately no `image` action — the renderer does not serve images
|
|
6211
|
+
* in v1 (libs/one ADR 0034), and a toolbar that writes markup the renderer
|
|
6212
|
+
* drops is a toolbar that lies.
|
|
6213
|
+
*/
|
|
6214
|
+
declare const DOC_EDIT_ACTIONS: readonly ["bold", "italic", "strike", "heading", "list", "quote", "link", "code", "table"];
|
|
6215
|
+
type DocEditAction = (typeof DOC_EDIT_ACTIONS)[number];
|
|
6216
|
+
interface DocEditState {
|
|
6217
|
+
value: string;
|
|
6218
|
+
start: number;
|
|
6219
|
+
end: number;
|
|
6220
|
+
}
|
|
6221
|
+
declare function applyDocEdit(action: DocEditAction, state: DocEditState): DocEditState;
|
|
6222
|
+
|
|
6223
|
+
/**
|
|
6224
|
+
* How the toolbar draws itself: one IconAsset per action, grouped by what the
|
|
6225
|
+
* action does to the document.
|
|
6226
|
+
*
|
|
6227
|
+
* Icon-only, because nine spelled-out action names are a paragraph of chrome
|
|
6228
|
+
* above a surface whose whole job is to show the document. The name survives
|
|
6229
|
+
* as the tooltip and the `aria-label`, so nothing is lost to a reader who does
|
|
6230
|
+
* not recognise a glyph.
|
|
6231
|
+
*
|
|
6232
|
+
* The icons are library-tier IconAssets (`libs/one/assets/icons`), which is
|
|
6233
|
+
* why every Button here carries `[one]="true"` — an app that never authored a
|
|
6234
|
+
* `bold` icon still gets one.
|
|
6235
|
+
*/
|
|
6236
|
+
/** A run of actions drawn together, separated from its neighbours by a rule. */
|
|
6237
|
+
type DocToolbarGroup = readonly DocEditAction[];
|
|
6238
|
+
declare const DOC_TOOLBAR_GROUPS: readonly DocToolbarGroup[];
|
|
6239
|
+
/** The IconAsset each action shows. `strike` is the one name that differs. */
|
|
6240
|
+
declare const DOC_ACTION_ICONS: Record<DocEditAction, string>;
|
|
6241
|
+
/** The translation key behind an action's label, e.g. `doc-action-bold`. */
|
|
6242
|
+
declare function docActionKey(action: DocEditAction): string;
|
|
6243
|
+
/**
|
|
6244
|
+
* Every action reaches a group exactly once — the toolbar is the whole action
|
|
6245
|
+
* list, drawn in a different order, never a subset of it.
|
|
6246
|
+
*/
|
|
6247
|
+
declare function ungroupedDocActions(): DocEditAction[];
|
|
6248
|
+
|
|
6249
|
+
/**
|
|
6250
|
+
* What is wrong with a document, as a pure transform over its markdown.
|
|
6251
|
+
*
|
|
6252
|
+
* Markdown never fails to parse — `~~~~` followed by a bare fence renders
|
|
6253
|
+
* happily as an emphasised run of tildes inside a heading — so "parse error"
|
|
6254
|
+
* cannot mean "the parser threw". It means a construct whose output cannot be
|
|
6255
|
+
* what the author meant, and that judgement is made here rather than by the
|
|
6256
|
+
* parser (libs/one ADR 0035).
|
|
6257
|
+
*
|
|
6258
|
+
* Deterministic on purpose: the editor must be able to say a document is
|
|
6259
|
+
* broken with no [AiProvider] configured, because an endpoint the User has not
|
|
6260
|
+
* pasted a token for may not take validation down with it (m-one-ui ADR 0048).
|
|
6261
|
+
*
|
|
6262
|
+
* The two `dropped` kinds answer for the renderer: `m-doc` drops raw HTML and
|
|
6263
|
+
* images without a word, and a silent drop is the surprise this list exists to
|
|
6264
|
+
* remove. They are found in the source rather than reported by the render so
|
|
6265
|
+
* that checking a document never costs a parse.
|
|
6266
|
+
*/
|
|
6267
|
+
type DocProblemKind = 'unclosed-fence' | 'empty-fence' | 'table-width' | 'empty-heading' | 'dangling-link' | 'stacked-marker' | 'dropped-html' | 'dropped-image';
|
|
6268
|
+
interface DocProblem {
|
|
6269
|
+
kind: DocProblemKind;
|
|
6270
|
+
/** 1-based, so it reads the way an editor gutter does. */
|
|
6271
|
+
line: number;
|
|
6272
|
+
/** The offending text, for a list that shows what it is pointing at. */
|
|
6273
|
+
text: string;
|
|
6274
|
+
}
|
|
6275
|
+
/**
|
|
6276
|
+
* Markdown in, everything the renderer will quietly do differently out.
|
|
6277
|
+
*
|
|
6278
|
+
* An empty document has no problems — a document nobody has written yet is not
|
|
6279
|
+
* a broken one.
|
|
6280
|
+
*/
|
|
6281
|
+
declare function checkDoc(markdown: string): DocProblem[];
|
|
6282
|
+
/** The translation key behind a problem's message, e.g. `doc-problem-table-width`. */
|
|
6283
|
+
declare function docProblemKey(kind: DocProblemKind): string;
|
|
6284
|
+
/** Where a problem sits in the source, for a click that moves the caret. */
|
|
6285
|
+
declare function offsetOfLine(markdown: string, line: number): number;
|
|
6286
|
+
|
|
6287
|
+
/**
|
|
6288
|
+
* The shapes an AI-assisted document write passes through, named here so the
|
|
6289
|
+
* editor can draw them without knowing who answers.
|
|
6290
|
+
*
|
|
6291
|
+
* `libs/one` holds no endpoint, no token and no prompt: those are workspace
|
|
6292
|
+
* state owned by the editor app (m-one-ui ADR 0048), and this library ships
|
|
6293
|
+
* inside every emitted app. What lives here is the vocabulary of the exchange
|
|
6294
|
+
* — an instruction goes out, an outline comes back for the User to confirm,
|
|
6295
|
+
* and a proposal arrives that the User accepts or drops (m-one-ui ADR 0147).
|
|
6296
|
+
*
|
|
6297
|
+
* Only `DocProposal` reaches `m-doc-editor`. The instruction, the question and
|
|
6298
|
+
* the outline are drawn by the host's own docked SidePanel, and these shapes
|
|
6299
|
+
* are named here because the two surfaces have to agree on them, not because
|
|
6300
|
+
* the editor draws them.
|
|
6301
|
+
*/
|
|
6302
|
+
/**
|
|
6303
|
+
* The headings a write proposes, confirmed before a word of body exists.
|
|
6304
|
+
*
|
|
6305
|
+
* An outline rather than a described approach: it is the part of a document a
|
|
6306
|
+
* User can judge in advance, and a confirmed outline is not thrown away — it
|
|
6307
|
+
* becomes the document's structure. Confirmed in the host's AI panel: nothing
|
|
6308
|
+
* of it is an editor state, the document being untouched until a proposal.
|
|
6309
|
+
*/
|
|
6310
|
+
interface DocOutline {
|
|
6311
|
+
title: string;
|
|
6312
|
+
headings: string[];
|
|
6313
|
+
}
|
|
6314
|
+
/** Markdown awaiting a verdict. The buffer stays authoritative until Accept. */
|
|
6315
|
+
interface DocProposal {
|
|
6316
|
+
markdown: string;
|
|
6317
|
+
/** What produced it, so the surface can say "written" apart from "fixed". */
|
|
6318
|
+
origin: 'write' | 'fix';
|
|
6319
|
+
}
|
|
6320
|
+
/** Where an AI exchange has got to, as far as a surface needs to draw it. */
|
|
6321
|
+
type DocAiPhase = 'idle' | 'asking' | 'question' | 'outline' | 'writing' | 'proposal';
|
|
6322
|
+
|
|
6323
|
+
/**
|
|
6324
|
+
* Authors one DocAsset: the markdown on the left, what `m-doc` makes of it on
|
|
6325
|
+
* the right.
|
|
6326
|
+
*
|
|
6327
|
+
* Source plus preview rather than WYSIWYG — a contenteditable surface needs an
|
|
6328
|
+
* inverse HTML→markdown transform that has to agree with the parser forever,
|
|
6329
|
+
* and the preview here *is* the parser, so the two cannot drift.
|
|
6330
|
+
*
|
|
6331
|
+
* A ControlValueAccessor from the first day: that is the whole of what lets a
|
|
6332
|
+
* FieldControl bind one later without this component changing. It holds no
|
|
6333
|
+
* assets, fetches nothing and knows no tiers — the markdown arrives through the
|
|
6334
|
+
* form and leaves the same way.
|
|
6335
|
+
*
|
|
6336
|
+
* Of an AI exchange it draws one thing: the proposal, in the preview pane,
|
|
6337
|
+
* with the two buttons that answer it. Asking for one is not an editor state
|
|
6338
|
+
* at all — the instruction, the clarifying question and the outline to confirm
|
|
6339
|
+
* are a request, and a request is drawn by the host in its own docked
|
|
6340
|
+
* SidePanel beside this one, where no pane here is spent on it (m-one-ui ADR
|
|
6341
|
+
* 0048, ADR 0147). A host that binds no proposal shows no AI at all.
|
|
6342
|
+
*/
|
|
6343
|
+
declare class DocEditorComponent implements ControlValueAccessor {
|
|
6344
|
+
protected readonly groups: readonly _magmonium_one.DocToolbarGroup[];
|
|
6345
|
+
protected readonly icons: Record<"code" | "link" | "table" | "strike" | "list" | "bold" | "heading" | "italic" | "quote", string>;
|
|
6346
|
+
protected readonly docActionKey: typeof docActionKey;
|
|
6347
|
+
private readonly translate;
|
|
6348
|
+
protected readonly value: _angular_core.WritableSignal<string>;
|
|
6349
|
+
protected readonly disabled: _angular_core.WritableSignal<boolean>;
|
|
6350
|
+
/** Narrow screens show one pane at a time; wide ones show both. */
|
|
6351
|
+
protected readonly previewOnly: _angular_core.WritableSignal<boolean>;
|
|
6352
|
+
/**
|
|
6353
|
+
* Markdown awaiting a verdict. The one piece of an AI exchange the editor
|
|
6354
|
+
* draws, because it is the one piece that is an editor state: it renders in
|
|
6355
|
+
* the preview pane while the textarea keeps the document underneath, so
|
|
6356
|
+
* dropping it is structurally a no-op rather than an undo that has to work.
|
|
6357
|
+
*
|
|
6358
|
+
* Everything before it — the instruction, the one clarifying question, the
|
|
6359
|
+
* outline to confirm — is a request the host asks for in its own docked
|
|
6360
|
+
* SidePanel, where no pane of this editor is involved (m-one-ui ADR 0147).
|
|
6361
|
+
*/
|
|
6362
|
+
readonly proposal: _angular_core.InputSignal<DocProposal | undefined>;
|
|
6363
|
+
readonly proposalResolved: _angular_core.OutputEmitterRef<boolean>;
|
|
6364
|
+
constructor();
|
|
6365
|
+
private readonly source;
|
|
6366
|
+
/**
|
|
6367
|
+
* The document's own field. A `ln` Field rather than a bare element so the
|
|
6368
|
+
* editor is painted by the theme like every other input, with no label and
|
|
6369
|
+
* no error list: the problems are drawn below the panes, by line.
|
|
6370
|
+
*/
|
|
6371
|
+
protected readonly sourceConfig: _angular_core.Signal<Partial<TextareaInput>>;
|
|
6372
|
+
/**
|
|
6373
|
+
* What the renderer will quietly do differently, recomputed as the document
|
|
6374
|
+
* is typed. Deterministic and local: no provider, no network (ADR 0035).
|
|
6375
|
+
*/
|
|
6376
|
+
protected readonly problems: _angular_core.Signal<DocProblem[]>;
|
|
6377
|
+
private onChange;
|
|
6378
|
+
private onTouched;
|
|
6379
|
+
writeValue(value: string | null): void;
|
|
6380
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
6381
|
+
registerOnTouched(fn: () => void): void;
|
|
6382
|
+
setDisabledState(isDisabled: boolean): void;
|
|
6383
|
+
protected readonly onBlur: () => void;
|
|
6384
|
+
protected readonly togglePreview: () => void;
|
|
6385
|
+
/**
|
|
6386
|
+
* Accept is the only gesture that moves a proposal into the document. Until
|
|
6387
|
+
* then the textarea is authoritative, so dropping one is structurally a
|
|
6388
|
+
* no-op rather than an undo that has to work.
|
|
6389
|
+
*/
|
|
6390
|
+
protected readonly acceptProposal: () => void;
|
|
6391
|
+
protected readonly dropProposal: () => void;
|
|
6392
|
+
/** Line and message on one Button, the offending text beside it. */
|
|
6393
|
+
protected readonly problemLabel: (problem: DocProblem) => string;
|
|
6394
|
+
/** A problem points at a line, and clicking it puts the caret there. */
|
|
6395
|
+
protected readonly goTo: (problem: DocProblem) => void;
|
|
6396
|
+
/** The textarea owns the caret, so an edit reads it and hands it back. */
|
|
6397
|
+
protected readonly edit: (action: DocEditAction) => void;
|
|
6398
|
+
protected commit(value: string): void;
|
|
6399
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DocEditorComponent, never>;
|
|
6400
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DocEditorComponent, "m-doc-editor", never, { "proposal": { "alias": "proposal"; "required": false; "isSignal": true; }; }, { "proposalResolved": "proposalResolved"; }, never, ["[docActions]"], true, never>;
|
|
6401
|
+
}
|
|
6402
|
+
|
|
6089
6403
|
type ColumnType = 'text' | 'number' | 'date' | 'timeago' | 'currency' | 'percent' | 'input' | 'icon' | 'icon-text' | 'context-menu' | 'link' | 'chart' | 'user';
|
|
6090
6404
|
type ColumnDef = {
|
|
6091
6405
|
key: string;
|
|
@@ -7099,6 +7413,17 @@ type ScreenOverlayTrigger = {
|
|
|
7099
7413
|
as: 'modal' | 'side_panel';
|
|
7100
7414
|
widget: OverlayWidgetLoader;
|
|
7101
7415
|
inputs?: Record<string, unknown>;
|
|
7416
|
+
/**
|
|
7417
|
+
* ScreenOutput name -> what the opener runs when the body emits it (ADR
|
|
7418
|
+
* 0033). The other half of `inputs`, keyed the same way: a Screen opened as
|
|
7419
|
+
* an overlay keeps the named contract it has when a ScreenControl embeds it,
|
|
7420
|
+
* so the opener wires each output on its own rather than reading one
|
|
7421
|
+
* anonymous answer.
|
|
7422
|
+
*
|
|
7423
|
+
* Untyped for `inputs`' reason — the widget arrives as a loaded chunk and
|
|
7424
|
+
* there is no class here to type a payload against.
|
|
7425
|
+
*/
|
|
7426
|
+
outputs?: Record<string, (value: unknown) => void>;
|
|
7102
7427
|
config?: Partial<Modal>;
|
|
7103
7428
|
side?: 'left' | 'right';
|
|
7104
7429
|
width?: string;
|
|
@@ -7232,6 +7557,13 @@ declare class PanelComponent implements AfterViewInit, OnDestroy {
|
|
|
7232
7557
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PanelComponent, "m-side-panel", never, { "component": { "alias": "component"; "required": false; "isSignal": true; }; "bindings": { "alias": "bindings"; "required": false; "isSignal": true; }; "providers": { "alias": "providers"; "required": false; "isSignal": true; }; "side": { "alias": "side"; "required": false; "isSignal": true; }; "instanceId": { "alias": "instanceId"; "required": false; "isSignal": true; }; "docked": { "alias": "docked"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "closeProhibited": { "alias": "closeProhibited"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7233
7558
|
}
|
|
7234
7559
|
|
|
7560
|
+
/**
|
|
7561
|
+
* A DockedPanel takes the viewport edge and displaces the older SidePanel inboard.
|
|
7562
|
+
* Docking is desktop-only and requires the page to stay readable behind both panels.
|
|
7563
|
+
* See ADR 0004.
|
|
7564
|
+
*/
|
|
7565
|
+
declare const DOCK_MIN_PAGE_REMAINDER = 320;
|
|
7566
|
+
|
|
7235
7567
|
/**
|
|
7236
7568
|
* Turns an overlay's named content — a form asset name, a widget loader or a
|
|
7237
7569
|
* custom-element tag — into rendered content. Presentational only, no business
|
|
@@ -7243,6 +7575,11 @@ declare class PanelComponent implements AfterViewInit, OnDestroy {
|
|
|
7243
7575
|
* hand-written config carries a tag, which is resolved through `OVERLAY_WIDGETS`
|
|
7244
7576
|
* and defined on first open — the older spelling, and the only one available to
|
|
7245
7577
|
* a config that cannot hold a function, such as a YAML asset.
|
|
7578
|
+
*
|
|
7579
|
+
* The loader branch creates its widget rather than outletting it (ADR 0033):
|
|
7580
|
+
* `ngComponentOutlet` binds inputs and nothing else, and an overlay body whose
|
|
7581
|
+
* widget declares outputs has to hand them somewhere. `createComponent` takes
|
|
7582
|
+
* both halves, so the anchor below is a bare container the effect fills.
|
|
7246
7583
|
*/
|
|
7247
7584
|
declare class OverlayBodyComponent {
|
|
7248
7585
|
readonly form: _angular_core.InputSignal<string | undefined>;
|
|
@@ -7252,21 +7589,34 @@ declare class OverlayBodyComponent {
|
|
|
7252
7589
|
* What the rendered widget's own inputs are handed — the Screen's contract
|
|
7253
7590
|
* filled by whoever opened the overlay (`ModalStore.openScreen`).
|
|
7254
7591
|
*
|
|
7255
|
-
* The loader path alone:
|
|
7256
|
-
*
|
|
7257
|
-
*
|
|
7258
|
-
*
|
|
7259
|
-
* existed.
|
|
7592
|
+
* The loader path alone: the created widget takes values on its own inputs,
|
|
7593
|
+
* where a custom element resolved by tag is rendered by `m-ce-outlet` and
|
|
7594
|
+
* takes its values from its own asset. An empty record is the widget's own
|
|
7595
|
+
* defaults, which is every overlay drawn before this input existed.
|
|
7260
7596
|
*/
|
|
7261
7597
|
readonly inputs: _angular_core.InputSignal<Record<string, unknown>>;
|
|
7598
|
+
/**
|
|
7599
|
+
* ScreenOutput name -> what the opener runs when the widget emits it. The
|
|
7600
|
+
* other half of `inputs`, keyed the same way and for the same caller: a
|
|
7601
|
+
* Screen opened as an overlay keeps the contract it has when a ScreenControl
|
|
7602
|
+
* embeds it, so its named outputs reach whoever opened it (ADR 0033).
|
|
7603
|
+
*
|
|
7604
|
+
* Bound at create time, so the key set is the one the open was made with —
|
|
7605
|
+
* `openScreen` fills it once per open and an overlay's contract does not
|
|
7606
|
+
* change while it stands. Empty is a widget nobody listens to, which is
|
|
7607
|
+
* every overlay drawn before this input existed.
|
|
7608
|
+
*/
|
|
7609
|
+
readonly outputs: _angular_core.InputSignal<Record<string, (value: unknown) => void>>;
|
|
7610
|
+
private readonly widgetHost;
|
|
7262
7611
|
private readonly injector;
|
|
7263
7612
|
private readonly widgets;
|
|
7264
7613
|
private readonly ready;
|
|
7265
|
-
|
|
7614
|
+
private readonly loaded;
|
|
7615
|
+
private readonly created;
|
|
7266
7616
|
protected readonly readyTag: _angular_core.Signal<string>;
|
|
7267
7617
|
constructor();
|
|
7268
7618
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayBodyComponent, never>;
|
|
7269
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OverlayBodyComponent, "m-overlay-body", never, { "form": { "alias": "form"; "required": false; "isSignal": true; }; "tag": { "alias": "tag"; "required": false; "isSignal": true; }; "widget": { "alias": "widget"; "required": false; "isSignal": true; }; "inputs": { "alias": "inputs"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7619
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OverlayBodyComponent, "m-overlay-body", never, { "form": { "alias": "form"; "required": false; "isSignal": true; }; "tag": { "alias": "tag"; "required": false; "isSignal": true; }; "widget": { "alias": "widget"; "required": false; "isSignal": true; }; "inputs": { "alias": "inputs"; "required": false; "isSignal": true; }; "outputs": { "alias": "outputs"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7270
7620
|
}
|
|
7271
7621
|
|
|
7272
7622
|
/** Opens a Modal from an asset name (`modal/<name>.yml`) or an inline config. */
|
|
@@ -9880,5 +10230,5 @@ interface AuthResult {
|
|
|
9880
10230
|
}
|
|
9881
10231
|
declare function injectAuthenticate(): () => Promise<AuthResult>;
|
|
9882
10232
|
|
|
9883
|
-
export { ACCESS_DOMAINS, APP_CONTEXT_REF, ASSET_BASE_URL, AccordionBodyDirective, AccordionComponent, AccordionGroupComponent, ActionComponent, AnimatedGraphsComponent, AppCardComponent, AppRelationType, AppTileComponent, AssetStore, AssetUrlPipe, Assets, AuthActivityPageComponent, AuthApiService, AuthStore, AutosizeDirective, BadgeComponent, BandingComponent, BaseArrayInputComponent, BaseRootWebComponent, BaseWebComponent, ButtonComponent, ButtonGroupComponent, COMPONENT_INPUT_REGISTRY, CardComponent, CardWrapperComponent, CarouselComponent, ChartComponent, ChatBubbleComponent, CheckboxInputComponent, ClearableInputComponent, ColComponent, ColorPickerInputComponent, CommentItemComponent, CommentsApiService, CommentsComponent, CommentsStore, CompactNumberPipe, ComponentInputComponent, ComponentStepperComponent, ConfigComponent, ConfirmComponent, ContextMenuComponent, CustomIconClass, CustomIconEditComponent, DEFAULT_DENIAL, DEFAULT_FILTER_RANGE_MODE, DEFAULT_FILTER_VARIANT, DEFAULT_NAV_PARAM, DEFAULT_NAV_SEGMENT, DEFAULT_SIZE, DashboardCardComponent, DateInputComponent, DatePickerComponent, DeviceService, DomService, Domain, DotGridComponent, DragListDirective, DragListItemDirective, DraggableDirective, DropdownInputComponent, FILTER_GROUP_CONTEXT, FILTER_RANGE_MODES, FILTER_VARIANTS, FLEX_VARIANTS, FOLDER_PICK_LISTENER, FORM_ASSET_FOLDER, FileService, FileUploadDirective, FileUploadInputComponent, FlexComponent, FlexItemComponent, FormGroupComponent, FrameComponent, FreezeService, GRID_BREAKPOINTS, GetNavService, HeaderComponent, HighlightDirective, HttpService, ICON_SOURCE, IS_DESIGN_MODE, IS_SIDE_PANEL, IconComponent, ImgComponent, InputType, InstrumentScoreComponent, InterceptorObservables, JumbotronComponent, KeyValueComponent, LAYOUT_ASSET_FOLDER, LOGIN_COMPONENT, LOGIN_STORE, LanguageComponent, ListComponent, LogoComponent, MAG_SOCKET_EVENT, MHeroColorDirective, MHeroComponent, MODAL_REF, MODAL_STORE_REF, MRefDirective, MStepComponent, MURL_PARAM, MURL_SEP, ManifestEnrichmentService, MenuComponent, ModalDirective, ModalRef, ModalStore, MoneyPipe, MultiRangeInputComponent, MurlUrlSerializer, NAV_DEFAULT_MURL, NAV_ID_SEP, NAV_MAIN_BUTTONS, NAV_SEGMENT_RE, NAV_STORE_REF, NAV_WC_COMPONENTS, NAV_WIDGET_MAP, NavComponent, NavDetailsComponent, NavHeaderComponent, NavMenuComponent, NavStore, NavTrailComponent, NothingComponent, NotificationElementComponent, NotificationGroupComponent, NotificationPopupComponent, NotificationService, NotificationStore, NotificationType, NotificationWidgetComponent, ONE_ASSET_BASE_URL, OPTIONS_SOURCE, OVERLAY_WIDGETS, OneApp, OptionsSourceDirective, OverlayBodyComponent, OverlayRef, OverlayService, PLATFORM_BUTTON_NAV_IDS, PLATFORM_EXTENSIBLE_NAV_IDS, PLATFORM_NAV_MAP, PLATFORM_ROOT_CHILDREN, PaginationComponent, PanelComponent, PercentagePipe, PlaygroundComponent, PositionDirective, PwaInstallComponent, ROOT_NAV, RadioGroupComponent, RadioInputComponent, RangeInputComponent, RatingInputComponent, ReactiveElementComponent, RemoteComponent, RemoteLoaderService, ResizeElementComponent, RouteContainer, RowComponent, SEARCH_QUERY, SEARCH_RESULTS_EVENT, SECTION_ACCORDION_GROUP, SECTION_FORM_CONTEXT, SHARED_ICONS, SIZE_CONTEXT, ScoreComponent, ScrollComponent, ScrollService, SearchPanelComponent, SearchStore, SearchUserPanelComponent, SectionAccordionDirective, SectionAccordionGroupDirective, SectionBackComponent, SectionBadgesComponent, SectionButtonGroupComponent, SectionCardComponent, SectionCarouselComponent, SectionComponent, SectionFilterComponent, SectionFilterGroupComponent, SectionFilterMenuComponent, SectionFilterPanelComponent, SectionFilterRangePanelComponent, SectionFooterComponent, SectionFormComponent, SectionFormItemComponent, SectionHeaderComponent, SectionHeroComponent, SectionPaginationComponent, SectionSearchComponent, SectionStepperComponent, SectionTabsComponent, SectionToggleComponent, SectionToggleItemDirective, SelectableCardInputComponent, SelectorDirective, SettingsSearchBarComponent, SettingsSearchService, ShapeComponent, SharedStoreRegistry, SidePanelDirective, Size, SocketStore, SortComponent, StatComponent, StepComponent, StepperComponent, StepsComponent, StorageService, StrokeLinecap, StrokeLinejoin, SummaryComponent, SvgGeneratorComponent, SvgGeneratorService, SvgService, TOTAL_COLUMNS, TRANSLATION_SOURCE, TableComponent, TableFilterCondition, TechnicalMeterComponent, TextInputComponent, TextOutputComponent, TextareaInputComponent, ThemeComponent, ThemeDataService, ThemeService, ThemeStore, TimeAgoPipe, TimelineComponent, ToggleButtonComponent, ToggleInputComponent, ToggleRadioInputComponent, ToolTipDirective, TooltipComponent, TranslatePipe, TranslateService, TreeGridComponent, URL_SEP, USER_STORE_REF, USER_TAB_MAP, UniverseComponent, UserApiService, UserAvatarComponent, UserComponent, UserNavComponent, UserSettingsComponent, UserStore, WC_ROUTE_CHANGED_EVENT, WC_SEARCH_GROUPS, WIN_USER_TAB_HOOK, WIN_USER_TAB_KEY, WatermarkComponent, WcRouterStore, WrapperInputComponent, anchorNavId, applyColorsToElement, assetOptions, bootstrapMagApp, bootstrapPwaInstall, buildWcBaseUrl, calculateLuminance, calculateRanks, cellText, checkFilterCondition, childNavId, claimDenial, classListSignal, coerceSize, cornerEdge, cornerSide, createMap, createPlatformNavMap, deriveAvatarGradient, deriveContrastColor, deriveOppositeColor, derivePropertyName, emailValidation, evaluate, evaluateBool, fieldBoolean, fieldNumber, fieldString, filterHoldsList, filterHoldsOneBound, filterHoldsOptions, filterHoldsRange, filterList, filterNumber, filterNumberList, filterOne, filterPanelOf, filterPanelWidth, filterRange, filterTreeGridRows, filterValueList, filterValues, flattenTreeGridRows, formatBadgeCount, fullName, generateClipPath, generateTransform, getClassList, getProperty, getScrollParent, getTierFromPreviewPath, getTreeGridRow, getUniqueId, getValue, hasErrorComputed, hexToRgb, hslToRgb, initMagmoniumApp, initialNotificationState, initialState, initials, injectAuthenticate, injectDefaultDenial, injectInstallApp, injectParentSize, injectScrollSticky, isButtonName, isCancelledComputed, isExtensiblePlatformNavId, isJson, isLoadingComputed, isLocalhost, isNavInstanceConfig, isNavMenuConfig, isNavRowsConfig, isNavVisibilityConfig, isPlatformNavId, isSize, isTierPreview, isUrlLocalhost, isValidNavId, isValidNavSegment, isWebComponent, linkToId, linkToNav, loadingActions, mInterceptor, manualValidation, matchFieldValidation, maxLengthValidation, maxValidation, mergePlatformNav, mergeUnique, mergeUniqueBy, mergeUniqueWith, minAgeValidation, minLengthValidation, minValidation, miniMarkToHtml, navIdChain, navIdFor, navIdSegment, navIdToRoutePath, navIdToSegments, navParamOf, navToId, navVisibilityGuard, normalizeAssetOptions, parentNavId, parseAddress, parseColor, parsePatternNames, patternValidation, patternsValidation, permissionRefusal, platformNavWidgets, privateGuard, processImageToSvg, provideAppContext, provideMagAppConfig, provideMagWcConfig, provideMagWcRoutes, provideModalComponents, provideMurlUrlSerializer, provideNavWidgets, provideOverlayWidgets, providePlatformNavWidgets, provideSearch, provideSizeContext, provideUserTabs, publicGuard, readFieldPatterns, renderAddress, requiredValidation, resolveConfigAsset, resolveIconSize, resolvePallet, resolvePatternRules, resolveSize, rgbToHex, rgbToHsl, rowHasChildren, samePatterns, segmentsToNavId, setProperty, setTreeGridChildren, settingsWidgets, shouldShowBadge, splitNavId, splitOnMatch, stringToColor, toAttrBool, toAttrNumber, toCssLength, toHostNavId, toLength, toLocalNavId, toggleTreeGridRow, unfetchedPlatformNav, urlValidation };
|
|
9884
|
-
export type { Accordion, AccordionGroup, AccordionVariant, ActionNotification, Align, AnimatedGraphConfig, AnimatedGraphCurveInput, AppCardData, AppCardInputs, AppCardVariant, AppContextRef, AppHint, AppManifest, AppRelation, AppTileData, AssetOption, AuthEmailCreate404Response, AuthEmailCreate422Response, AuthEmailCreateRequest, AuthEmailCreateResponse, AuthIdentitiesListResponse, AuthOtpCreateRequest, AuthOtpCreateResponse, AuthOtpUpdateRequest, AuthOtpUpdateResponse, AuthPasswordCreateRequest, AuthPasswordCreateResponse, AuthPasswordCreateResponseTokens, AuthPasswordCreateResponseUser, AuthPasswordUpdateRequest, AuthPasswordUpdateResponse, AuthPasswordUpdateResponseTokens, AuthPasswordUpdateResponseUser, AuthResult, AuthSignupCreateRequest, AuthSignupCreateRequestUser, AuthSignupCreateResponse, AuthSignupCreateResponseTokens, AuthState, AuthUser, Badge, BadgePosition, BadgeVariant, BandingConfig, BreadCrumb, BreadcrumbTrail, Button, ButtonGroup, Carousel, CarouselIndicatorPosition, CarouselIndicatorShape, CarouselPosition, CarouselSlide, CellChangeEvent, CellClickEvent, Chart, ChartSeries, ChatBubblePointerAlignment, ChatBubblePointerPosition, ChatBubbleVariant, ColBreakpoint, ColSpan, ColorInput, ColorPallet, ColorPropertyType, ColumnDef, Comment, CommentItem, ComponentInput, Config, ConfirmOptions, ContextMenu, ContextMenuEvent, CropData, Cursor, CustomIcon, DateInput, Direction$2 as Direction, DotGridVariant, DragListReorder, Draggable, DraggableState, DropdownInput, DropdownOption, ElementType, FieldPatterns, FileReadAs, FileUploadConfig, FileUploadEvent, FileUploadInput, FilterGroupContext, FilterGroupMember, FilterOption, FilterPanel, FilterPanelIo, FilterRangeMode, FilterSelectionMap, FilterValue, FilterVariant, FilteredTreeGrid, FlatTreeGridRow, FlexAlign, FlexAlignSelf, FlexConfig, FlexDirection, FlexItemConfig, FlexJustify, FlexVariant, FolderPickListener, Form, FormState, Genre, GridAlignX, GridAlignY, GridBreakpoint, Header, HeaderLevel, HeldShelf, HeroDataRecord, HeroDimensions, HslColor, Icon, Input, InputModel, InputSpan, InputState, InputValue, Jumbotron, JumbotronAnimation, KeyValueVariant, LabelSegment, ListConfig, ListContext, ListItem, ListOrientation, ListVariant, LoadingActionsApi, LoginStoreContract, LogoVariant, MagAppConfigOptions, MagWcConfigOptions, ManualErrorValidator, MenuItem, Modal, ModalOverlayConfig, ModalStoreRef, ModalStoreTrigger, ModalTrigger, MoneySystem, MultiRangeInput, Nav, NavIdKey, NavInstanceConfig, NavKind, NavMap, NavMenuConfig, NavPresentation, NavRow, NavRowsConfig, NavStoreRef, NavVisibilityConfig, NavVisibleAnswer, NavWidgetConfig, NavWidgetEntry, NavWidgetMap, Notification, NotificationSeverity, NotificationState, NotificationUser, NumberInput, Option, OtpInput, OverlayConfig, OverlayWidgetLoader, OverlayWidgetMap, PageChangeEvent, Pagination, PaginationWindow, PanelOverlayConfig, PanelTrigger, PasswordInput, PatternRule, Position, QueryParams, QueryValue, RadioGroupInput, RadioInput, RangeInput, RatingInput, RemoteSelectorConfig, ResolvedUserTab, RgbColor, ScreenOverlayTrigger, SearchChangeEvent, SearchInput, SearchResult, SearchSourceGroup, SearchState, SectionAccordion, SectionAccordionGroup, SectionAccordionGroupContext, SectionAccordionRef, SectionButtonGroupConfig, SectionCarousel, SectionCarouselContext, SectionCarouselItem, SectionFilterGroupConfig, SectionFormConfig, SectionFormContext, SectionHero, SectionHeroVariant, SectionToggleItem, SectionToggleItemContext, SelectableCardContext, SelectableCardInput, SelectableCardItem, SelectionAction, SelectionActionEvent, SelectionChangeEvent, SelectorConfig, Shape, ShapeType, ShapeVariant, SharedToken, SharedUser, SizeContext, SizeDeclarer, SocketMessage, Sort, SortChange, SortChangeEvent, SortOption, SortOrder, SqueezeMode, StatAlign, StatCornerEdge, StatCornerPosition, StatCornerSide, StatSurface, StatVariant, Step, Stepper, StepperResponsiveConfig, StepperStep, Steps, StickyBehavior, Summary, SummaryAction, SummaryRow, SummaryRowType, Svg, SvgGenOptions, SvgGeneratorCoreOptions, SvgGeneratorEditOptions, TabGroup, TableConfig, TableFilterDef, TextInput, TextNotification, TextOutputAlign, TextOutputConfig, TextOutputFontWeight, TextOutputVariant, TextareaInput, Timeline, TimelineItem, ToggleInput, ToggleRadioInput, Tokens, TreeGridCellClickEvent, TreeGridLoadChildrenEvent, TreeGridRow, TreeGridRowSelectEvent, TreeGridToggleEvent, UniverseColorScheme, User, UserRole, UserStoreRef, Version, Watermark, WebComponentConfig, WeeklyData };
|
|
10233
|
+
export { ACCESS_DOMAINS, APP_CONTEXT_REF, ASSET_BASE_URL, AccordionBodyDirective, AccordionComponent, AccordionGroupComponent, ActionComponent, AnimatedGraphsComponent, AppCardComponent, AppRelationType, AppTileComponent, AssetStore, AssetUrlPipe, Assets, AuthActivityPageComponent, AuthApiService, AuthStore, AutosizeDirective, BadgeComponent, BandingComponent, BaseArrayInputComponent, BaseRootWebComponent, BaseWebComponent, ButtonComponent, ButtonGroupComponent, COMPONENT_INPUT_REGISTRY, CardComponent, CardWrapperComponent, CarouselComponent, ChartComponent, ChatBubbleComponent, CheckboxInputComponent, ClearableInputComponent, ColComponent, ColorPickerInputComponent, CommentItemComponent, CommentsApiService, CommentsComponent, CommentsStore, CompactNumberPipe, ComponentInputComponent, ComponentStepperComponent, ConfigComponent, ConfirmComponent, ContextMenuComponent, CustomIconClass, CustomIconEditComponent, DEFAULT_DENIAL, DEFAULT_FILTER_RANGE_MODE, DEFAULT_FILTER_VARIANT, DEFAULT_NAV_PARAM, DEFAULT_NAV_SEGMENT, DEFAULT_SIZE, DOCK_MIN_PAGE_REMAINDER, DOCS_FOLDER, DOC_ACTION_ICONS, DOC_EDIT_ACTIONS, DOC_TOOLBAR_GROUPS, DashboardCardComponent, DateInputComponent, DatePickerComponent, DeviceService, DocComponent, DocEditorComponent, DomService, Domain, DotGridComponent, DragListDirective, DragListItemDirective, DraggableDirective, DropdownInputComponent, FILTER_GROUP_CONTEXT, FILTER_RANGE_MODES, FILTER_VARIANTS, FLEX_VARIANTS, FOLDER_PICK_LISTENER, FORM_ASSET_FOLDER, FileService, FileUploadDirective, FileUploadInputComponent, FlexComponent, FlexItemComponent, FormGroupComponent, FrameComponent, FreezeService, GRID_BREAKPOINTS, GetNavService, HeaderComponent, HighlightDirective, HttpService, ICON_SOURCE, IS_DESIGN_MODE, IS_SIDE_PANEL, IconComponent, ImgComponent, InputType, InstrumentScoreComponent, InterceptorObservables, JumbotronComponent, KeyValueComponent, LAYOUT_ASSET_FOLDER, LOGIN_COMPONENT, LOGIN_STORE, LanguageComponent, ListComponent, LogoComponent, MAG_SOCKET_EVENT, MHeroColorDirective, MHeroComponent, MODAL_REF, MODAL_STORE_REF, MRefDirective, MStepComponent, MURL_PARAM, MURL_SEP, ManifestEnrichmentService, MenuComponent, ModalDirective, ModalRef, ModalStore, MoneyPipe, MultiRangeInputComponent, MurlUrlSerializer, NAV_DEFAULT_MURL, NAV_ID_SEP, NAV_MAIN_BUTTONS, NAV_SEGMENT_RE, NAV_STORE_REF, NAV_WC_COMPONENTS, NAV_WIDGET_MAP, NavComponent, NavDetailsComponent, NavHeaderComponent, NavMenuComponent, NavStore, NavTrailComponent, NothingComponent, NotificationElementComponent, NotificationGroupComponent, NotificationPopupComponent, NotificationService, NotificationStore, NotificationType, NotificationWidgetComponent, ONE_ASSET_BASE_URL, OPTIONS_SOURCE, OVERLAY_WIDGETS, OneApp, OptionsSourceDirective, OverlayBodyComponent, OverlayRef, OverlayService, PLATFORM_BUTTON_NAV_IDS, PLATFORM_EXTENSIBLE_NAV_IDS, PLATFORM_NAV_MAP, PLATFORM_ROOT_CHILDREN, PaginationComponent, PanelComponent, PercentagePipe, PlaygroundComponent, PositionDirective, PwaInstallComponent, ROOT_NAV, RadioGroupComponent, RadioInputComponent, RangeInputComponent, RatingInputComponent, ReactiveElementComponent, RemoteComponent, RemoteLoaderService, ResizeElementComponent, RouteContainer, RowComponent, SEARCH_QUERY, SEARCH_RESULTS_EVENT, SECTION_ACCORDION_GROUP, SECTION_FORM_CONTEXT, SHARED_ICONS, SIZE_CONTEXT, ScoreComponent, ScrollComponent, ScrollService, SearchPanelComponent, SearchStore, SearchUserPanelComponent, SectionAccordionDirective, SectionAccordionGroupDirective, SectionBackComponent, SectionBadgesComponent, SectionButtonGroupComponent, SectionCardComponent, SectionCarouselComponent, SectionComponent, SectionFilterComponent, SectionFilterGroupComponent, SectionFilterMenuComponent, SectionFilterPanelComponent, SectionFilterRangePanelComponent, SectionFooterComponent, SectionFormComponent, SectionFormItemComponent, SectionHeaderComponent, SectionHeroComponent, SectionPaginationComponent, SectionSearchComponent, SectionStepperComponent, SectionTabsComponent, SectionToggleComponent, SectionToggleItemDirective, SelectableCardInputComponent, SelectorDirective, SettingsSearchBarComponent, SettingsSearchService, ShapeComponent, SharedStoreRegistry, SidePanelDirective, Size, SocketStore, SortComponent, StatComponent, StepComponent, StepperComponent, StepsComponent, StorageService, StrokeLinecap, StrokeLinejoin, SummaryComponent, SvgGeneratorComponent, SvgGeneratorService, SvgService, TOTAL_COLUMNS, TRANSLATION_SOURCE, TableComponent, TableFilterCondition, TechnicalMeterComponent, TextInputComponent, TextOutputComponent, TextareaInputComponent, ThemeComponent, ThemeDataService, ThemeService, ThemeStore, TimeAgoPipe, TimelineComponent, ToggleButtonComponent, ToggleInputComponent, ToggleRadioInputComponent, ToolTipDirective, TooltipComponent, TranslatePipe, TranslateService, TreeGridComponent, URL_SEP, USER_STORE_REF, USER_TAB_MAP, UniverseComponent, UserApiService, UserAvatarComponent, UserComponent, UserNavComponent, UserSettingsComponent, UserStore, WC_ROUTE_CHANGED_EVENT, WC_SEARCH_GROUPS, WIN_USER_TAB_HOOK, WIN_USER_TAB_KEY, WatermarkComponent, WcRouterStore, WrapperInputComponent, anchorNavId, applyColorsToElement, applyDocEdit, assetOptions, bootstrapMagApp, bootstrapPwaInstall, buildWcBaseUrl, calculateLuminance, calculateRanks, cellText, checkDoc, checkFilterCondition, childNavId, claimDenial, classListSignal, coerceSize, cornerEdge, cornerSide, createMap, createPlatformNavMap, deriveAvatarGradient, deriveContrastColor, deriveOppositeColor, derivePropertyName, docActionKey, docAssetCandidates, docProblemKey, docRemotePath, emailValidation, evaluate, evaluateBool, fieldBoolean, fieldNumber, fieldString, filterHoldsList, filterHoldsOneBound, filterHoldsOptions, filterHoldsRange, filterList, filterNumber, filterNumberList, filterOne, filterPanelOf, filterPanelWidth, filterRange, filterTreeGridRows, filterValueList, filterValues, flattenTreeGridRows, formatBadgeCount, fullName, generateClipPath, generateTransform, getClassList, getProperty, getScrollParent, getTierFromPreviewPath, getTreeGridRow, getUniqueId, getValue, hasErrorComputed, hexToRgb, hslToRgb, initMagmoniumApp, initialNotificationState, initialState, initials, injectAuthenticate, injectDefaultDenial, injectInstallApp, injectParentSize, injectScrollSticky, isButtonName, isCancelledComputed, isExtensiblePlatformNavId, isJson, isLoadingComputed, isLocalhost, isNavInstanceConfig, isNavMenuConfig, isNavRowsConfig, isNavVisibilityConfig, isPlatformNavId, isSize, isTierPreview, isUrlLocalhost, isValidNavId, isValidNavSegment, isWebComponent, linkToId, linkToNav, loadingActions, mInterceptor, manualValidation, matchFieldValidation, maxLengthValidation, maxValidation, mergePlatformNav, mergeUnique, mergeUniqueBy, mergeUniqueWith, minAgeValidation, minLengthValidation, minValidation, miniMarkToHtml, navIdChain, navIdFor, navIdSegment, navIdToRoutePath, navIdToSegments, navParamOf, navToId, navVisibilityGuard, normalizeAssetOptions, offsetOfLine, parentNavId, parseAddress, parseColor, parsePatternNames, patternValidation, patternsValidation, permissionRefusal, platformNavWidgets, privateGuard, processImageToSvg, provideAppContext, provideMagAppConfig, provideMagWcConfig, provideMagWcRoutes, provideModalComponents, provideMurlUrlSerializer, provideNavWidgets, provideOverlayWidgets, providePlatformNavWidgets, provideSearch, provideSizeContext, provideUserTabs, publicGuard, readFieldPatterns, renderAddress, renderDocument, requiredValidation, resolveConfigAsset, resolveIconSize, resolvePallet, resolvePatternRules, resolveSize, rgbToHex, rgbToHsl, rowHasChildren, samePatterns, segmentsToNavId, setProperty, setTreeGridChildren, settingsWidgets, shouldShowBadge, splitNavId, splitOnMatch, stringToColor, toAttrBool, toAttrNumber, toCssLength, toHostNavId, toLength, toLocalNavId, toggleTreeGridRow, unfetchedPlatformNav, ungroupedDocActions, urlValidation };
|
|
10234
|
+
export type { Accordion, AccordionGroup, AccordionVariant, ActionNotification, Align, AnimatedGraphConfig, AnimatedGraphCurveInput, AppCardData, AppCardInputs, AppCardVariant, AppContextRef, AppHint, AppManifest, AppRelation, AppTileData, AssetOption, AuthEmailCreate404Response, AuthEmailCreate422Response, AuthEmailCreateRequest, AuthEmailCreateResponse, AuthIdentitiesListResponse, AuthOtpCreateRequest, AuthOtpCreateResponse, AuthOtpUpdateRequest, AuthOtpUpdateResponse, AuthPasswordCreateRequest, AuthPasswordCreateResponse, AuthPasswordCreateResponseTokens, AuthPasswordCreateResponseUser, AuthPasswordUpdateRequest, AuthPasswordUpdateResponse, AuthPasswordUpdateResponseTokens, AuthPasswordUpdateResponseUser, AuthResult, AuthSignupCreateRequest, AuthSignupCreateRequestUser, AuthSignupCreateResponse, AuthSignupCreateResponseTokens, AuthState, AuthUser, Badge, BadgePosition, BadgeVariant, BandingConfig, BreadCrumb, BreadcrumbTrail, Button, ButtonGroup, Carousel, CarouselIndicatorPosition, CarouselIndicatorShape, CarouselPosition, CarouselSlide, CellChangeEvent, CellClickEvent, Chart, ChartSeries, ChatBubblePointerAlignment, ChatBubblePointerPosition, ChatBubbleVariant, ColBreakpoint, ColSpan, ColorInput, ColorPallet, ColorPropertyType, ColumnDef, Comment, CommentItem, ComponentInput, Config, ConfirmOptions, ContextMenu, ContextMenuEvent, CropData, Cursor, CustomIcon, DateInput, Direction$2 as Direction, DocAiPhase, DocEditAction, DocEditState, DocLookup, DocOutline, DocProblem, DocProblemKind, DocProposal, DocToolbarGroup, DotGridVariant, DragListReorder, Draggable, DraggableState, DropdownInput, DropdownOption, ElementType, FieldPatterns, FileReadAs, FileUploadConfig, FileUploadEvent, FileUploadInput, FilterGroupContext, FilterGroupMember, FilterOption, FilterPanel, FilterPanelIo, FilterRangeMode, FilterSelectionMap, FilterValue, FilterVariant, FilteredTreeGrid, FlatTreeGridRow, FlexAlign, FlexAlignSelf, FlexConfig, FlexDirection, FlexItemConfig, FlexJustify, FlexVariant, FolderPickListener, Form, FormState, Genre, GridAlignX, GridAlignY, GridBreakpoint, Header, HeaderLevel, HeldShelf, HeroDataRecord, HeroDimensions, HslColor, Icon, Input, InputModel, InputSpan, InputState, InputValue, Jumbotron, JumbotronAnimation, KeyValueVariant, LabelSegment, ListConfig, ListContext, ListItem, ListOrientation, ListVariant, LoadingActionsApi, LoginStoreContract, LogoVariant, MagAppConfigOptions, MagWcConfigOptions, ManualErrorValidator, MenuItem, Modal, ModalOverlayConfig, ModalStoreRef, ModalStoreTrigger, ModalTrigger, MoneySystem, MultiRangeInput, Nav, NavIdKey, NavInstanceConfig, NavKind, NavMap, NavMenuConfig, NavPresentation, NavRow, NavRowsConfig, NavStoreRef, NavVisibilityConfig, NavVisibleAnswer, NavWidgetConfig, NavWidgetEntry, NavWidgetMap, Notification, NotificationSeverity, NotificationState, NotificationUser, NumberInput, Option, OtpInput, OverlayConfig, OverlayWidgetLoader, OverlayWidgetMap, PageChangeEvent, Pagination, PaginationWindow, PanelOverlayConfig, PanelTrigger, PasswordInput, PatternRule, Position, QueryParams, QueryValue, RadioGroupInput, RadioInput, RangeInput, RatingInput, RemoteSelectorConfig, ResolvedUserTab, RgbColor, ScreenOverlayTrigger, SearchChangeEvent, SearchInput, SearchResult, SearchSourceGroup, SearchState, SectionAccordion, SectionAccordionGroup, SectionAccordionGroupContext, SectionAccordionRef, SectionButtonGroupConfig, SectionCarousel, SectionCarouselContext, SectionCarouselItem, SectionFilterGroupConfig, SectionFormConfig, SectionFormContext, SectionHero, SectionHeroVariant, SectionToggleItem, SectionToggleItemContext, SelectableCardContext, SelectableCardInput, SelectableCardItem, SelectionAction, SelectionActionEvent, SelectionChangeEvent, SelectorConfig, Shape, ShapeType, ShapeVariant, SharedToken, SharedUser, SizeContext, SizeDeclarer, SocketMessage, Sort, SortChange, SortChangeEvent, SortOption, SortOrder, SqueezeMode, StatAlign, StatCornerEdge, StatCornerPosition, StatCornerSide, StatSurface, StatVariant, Step, Stepper, StepperResponsiveConfig, StepperStep, Steps, StickyBehavior, Summary, SummaryAction, SummaryRow, SummaryRowType, Svg, SvgGenOptions, SvgGeneratorCoreOptions, SvgGeneratorEditOptions, TabGroup, TableConfig, TableFilterDef, TextInput, TextNotification, TextOrNumberInput, TextOutputAlign, TextOutputConfig, TextOutputFontWeight, TextOutputVariant, TextareaInput, Timeline, TimelineItem, ToggleInput, ToggleRadioInput, Tokens, TreeGridCellClickEvent, TreeGridLoadChildrenEvent, TreeGridRow, TreeGridRowSelectEvent, TreeGridToggleEvent, UniverseColorScheme, User, UserRole, UserStoreRef, Version, Watermark, WebComponentConfig, WeeklyData };
|