@ngstarter-ui/components 22.2.3 → 22.2.5
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/ai/component-registry.json +97 -8
- package/content-editor/BLOCK_FORMAT.md +182 -0
- package/data-view/API.md +262 -0
- package/fesm2022/ngstarter-ui-components-button.mjs +2 -2
- package/fesm2022/ngstarter-ui-components-button.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-content-editor-attachment-block-DZqyCrEK.mjs +35 -0
- package/fesm2022/ngstarter-ui-components-content-editor-attachment-block-DZqyCrEK.mjs.map +1 -0
- package/fesm2022/{ngstarter-ui-components-content-editor-callout-block-Jbf8h2yz.mjs → ngstarter-ui-components-content-editor-callout-block-CyVPVMXi.mjs} +3 -4
- package/fesm2022/{ngstarter-ui-components-content-editor-callout-block-Jbf8h2yz.mjs.map → ngstarter-ui-components-content-editor-callout-block-CyVPVMXi.mjs.map} +1 -1
- package/fesm2022/{ngstarter-ui-components-content-editor-code-block.component-BizHRPdC.mjs → ngstarter-ui-components-content-editor-code-block.component-Qzsc08aS.mjs} +4 -4
- package/fesm2022/{ngstarter-ui-components-content-editor-code-block.component-BizHRPdC.mjs.map → ngstarter-ui-components-content-editor-code-block.component-Qzsc08aS.mjs.map} +1 -1
- package/fesm2022/{ngstarter-ui-components-content-editor-embed-block-BzoaJvai.mjs → ngstarter-ui-components-content-editor-embed-block-9EHRGpW_.mjs} +2 -2
- package/fesm2022/{ngstarter-ui-components-content-editor-embed-block-BzoaJvai.mjs.map → ngstarter-ui-components-content-editor-embed-block-9EHRGpW_.mjs.map} +1 -1
- package/fesm2022/{ngstarter-ui-components-content-editor-gallery-block-C4p-S0Do.mjs → ngstarter-ui-components-content-editor-gallery-block-CBuzrmSH.mjs} +16 -39
- package/fesm2022/ngstarter-ui-components-content-editor-gallery-block-CBuzrmSH.mjs.map +1 -0
- package/fesm2022/{ngstarter-ui-components-content-editor-grid-block-Cdq_Dcv2.mjs → ngstarter-ui-components-content-editor-grid-block-Sy67i4mg.mjs} +5 -6
- package/fesm2022/{ngstarter-ui-components-content-editor-grid-block-Cdq_Dcv2.mjs.map → ngstarter-ui-components-content-editor-grid-block-Sy67i4mg.mjs.map} +1 -1
- package/fesm2022/{ngstarter-ui-components-content-editor-heading-block.component-CDSt4rXe.mjs → ngstarter-ui-components-content-editor-heading-block.component-CnDuIpxQ.mjs} +8 -5
- package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-CnDuIpxQ.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-CqbgVnDh.mjs +113 -0
- package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-CqbgVnDh.mjs.map +1 -0
- package/fesm2022/{ngstarter-ui-components-content-editor-list-block.component-CdQ30RjA.mjs → ngstarter-ui-components-content-editor-list-block.component-CHJr_pFf.mjs} +4 -4
- package/fesm2022/{ngstarter-ui-components-content-editor-list-block.component-CdQ30RjA.mjs.map → ngstarter-ui-components-content-editor-list-block.component-CHJr_pFf.mjs.map} +1 -1
- package/fesm2022/{ngstarter-ui-components-content-editor-nested-blocks-CbZY0keH.mjs → ngstarter-ui-components-content-editor-nested-blocks-fPnU42nP.mjs} +4 -4
- package/fesm2022/ngstarter-ui-components-content-editor-nested-blocks-fPnU42nP.mjs.map +1 -0
- package/fesm2022/{ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-CK4ssnlk.mjs → ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-dGibIV4n.mjs} +2089 -1521
- package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-dGibIV4n.mjs.map +1 -0
- package/fesm2022/{ngstarter-ui-components-content-editor-paragraph-block.component-Dd0pQquG.mjs → ngstarter-ui-components-content-editor-paragraph-block.component-CqU1XJTo.mjs} +4 -4
- package/fesm2022/{ngstarter-ui-components-content-editor-paragraph-block.component-Dd0pQquG.mjs.map → ngstarter-ui-components-content-editor-paragraph-block.component-CqU1XJTo.mjs.map} +1 -1
- package/fesm2022/{ngstarter-ui-components-content-editor-quote-block.component-CUxKoeb_.mjs → ngstarter-ui-components-content-editor-quote-block.component-fAUfABVY.mjs} +4 -4
- package/fesm2022/{ngstarter-ui-components-content-editor-quote-block.component-CUxKoeb_.mjs.map → ngstarter-ui-components-content-editor-quote-block.component-fAUfABVY.mjs.map} +1 -1
- package/fesm2022/{ngstarter-ui-components-content-editor-table-block.component-BTExrXy8.mjs → ngstarter-ui-components-content-editor-table-block.component-CqbnMNug.mjs} +4 -4
- package/fesm2022/{ngstarter-ui-components-content-editor-table-block.component-BTExrXy8.mjs.map → ngstarter-ui-components-content-editor-table-block.component-CqbnMNug.mjs.map} +1 -1
- package/fesm2022/{ngstarter-ui-components-content-editor-toggle-block-B46YeMGQ.mjs → ngstarter-ui-components-content-editor-toggle-block-CHtnu1GQ.mjs} +3 -4
- package/fesm2022/{ngstarter-ui-components-content-editor-toggle-block-B46YeMGQ.mjs.map → ngstarter-ui-components-content-editor-toggle-block-CHtnu1GQ.mjs.map} +1 -1
- package/fesm2022/ngstarter-ui-components-content-editor-upload-status-QnKI_Rfz.mjs +19 -0
- package/fesm2022/ngstarter-ui-components-content-editor-upload-status-QnKI_Rfz.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-DKcWb54Z.mjs +134 -0
- package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-DKcWb54Z.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-content-editor.mjs +1 -1
- package/fesm2022/ngstarter-ui-components-core.mjs +46 -1
- package/fesm2022/ngstarter-ui-components-core.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-data-view.mjs +1011 -90
- package/fesm2022/ngstarter-ui-components-data-view.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-datepicker.mjs +45 -19
- package/fesm2022/ngstarter-ui-components-datepicker.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-filter-builder.mjs +1 -1
- package/fesm2022/ngstarter-ui-components-filter-builder.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-form-builder.mjs +1 -1
- package/fesm2022/ngstarter-ui-components-form-builder.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-headless-editor.mjs +58 -1
- package/fesm2022/ngstarter-ui-components-headless-editor.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-image-designer.mjs +1 -1
- package/fesm2022/ngstarter-ui-components-image-designer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-kanban-board.mjs +1 -1
- package/fesm2022/ngstarter-ui-components-kanban-board.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-menu.mjs +17 -4
- package/fesm2022/ngstarter-ui-components-menu.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-pdf-builder.mjs +1 -1
- package/fesm2022/ngstarter-ui-components-pdf-builder.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs +1 -1
- package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-phone-input.mjs +1 -1
- package/fesm2022/ngstarter-ui-components-phone-input.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-signature-pad.mjs +1 -1
- package/fesm2022/ngstarter-ui-components-signature-pad.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-sort.mjs +9 -2
- package/fesm2022/ngstarter-ui-components-sort.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-table.mjs +10 -0
- package/fesm2022/ngstarter-ui-components-table.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/_common.scss +2 -1
- package/styles/_tokens.scss +32 -1
- package/styles/themes/default.scss +1 -1
- package/types/ngstarter-ui-components-content-editor.d.ts +211 -11
- package/types/ngstarter-ui-components-core.d.ts +4 -1
- package/types/ngstarter-ui-components-data-view.d.ts +204 -11
- package/types/ngstarter-ui-components-datepicker.d.ts +3 -1
- package/types/ngstarter-ui-components-headless-editor.d.ts +6 -1
- package/types/ngstarter-ui-components-menu.d.ts +5 -1
- package/types/ngstarter-ui-components-sort.d.ts +1 -0
- package/types/ngstarter-ui-components-table.d.ts +2 -0
- package/fesm2022/ngstarter-ui-components-content-editor-attachment-block-DlUkhwCu.mjs +0 -54
- package/fesm2022/ngstarter-ui-components-content-editor-attachment-block-DlUkhwCu.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-block-base-C46lyMrp.mjs +0 -47
- package/fesm2022/ngstarter-ui-components-content-editor-block-base-C46lyMrp.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-gallery-block-C4p-S0Do.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-CDSt4rXe.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-LfKZapgv.mjs +0 -169
- package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-LfKZapgv.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-nested-blocks-CbZY0keH.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-CK4ssnlk.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-upload-block-base-DKqojf--.mjs +0 -29
- package/fesm2022/ngstarter-ui-components-content-editor-upload-block-base-DKqojf--.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-hBR5AauH.mjs +0 -201
- package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-hBR5AauH.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { InjectionToken, Signal, Type, InputSignal, EnvironmentProviders, OnDestroy, OnInit, AfterViewInit, EventEmitter, ViewContainerRef, ElementRef, Renderer2, NgZone, Provider } from '@angular/core';
|
|
3
3
|
import * as _ngstarter_ui_components_headless_editor from '@ngstarter-ui/components/headless-editor';
|
|
4
|
-
import { NgsHeadlessEditor, NgsHeadlessEditorMark, NgsHeadlessEditorBlock, NgsHeadlessEditorText, NgsHeadlessEditorDocument, NgsHeadlessEditorMarkDefinition } from '@ngstarter-ui/components/headless-editor';
|
|
4
|
+
import { NgsHeadlessEditor, NgsHeadlessEditorMark, NgsHeadlessEditorBlock, NgsHeadlessEditorText, NgsHeadlessEditorDocument, NgsHeadlessEditorMarkDefinition, NgsHeadlessEditorChangeOrigin, NgsHeadlessEditorSelection } from '@ngstarter-ui/components/headless-editor';
|
|
5
5
|
import * as _ngstarter_ui_components_content_editor from '@ngstarter-ui/components/content-editor';
|
|
6
6
|
import { CdkDropList, CdkDragDrop, CdkDrag, CdkDragStart } from '@angular/cdk/drag-drop';
|
|
7
7
|
import { Menu, MenuCloseReason } from '@ngstarter-ui/components/menu';
|
|
@@ -154,7 +154,13 @@ interface ContentEditorBlockInsertionTarget {
|
|
|
154
154
|
scope: ContentEditorBlockScope;
|
|
155
155
|
afterId?: string;
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
interface ContentEditorUploadContext {
|
|
158
|
+
/** Abort the transport when cancelled, replaced or the block is removed. */
|
|
159
|
+
signal: AbortSignal;
|
|
160
|
+
/** Report transport progress from 0 to 100; omit for indeterminate progress. */
|
|
161
|
+
onProgress(percent: number): void;
|
|
162
|
+
}
|
|
163
|
+
type ContentEditorUploadFn = (file: File, dataUrl: string, context: ContentEditorUploadContext) => Promise<string>;
|
|
158
164
|
/** UI input view of a native document block. Never used as the saved document. */
|
|
159
165
|
interface ContentEditorBlockView {
|
|
160
166
|
id: string;
|
|
@@ -262,6 +268,35 @@ interface ContentEditorBlockRendererInputSignals<TContent = unknown, TSettings =
|
|
|
262
268
|
index: InputSignal<number>;
|
|
263
269
|
}
|
|
264
270
|
|
|
271
|
+
type ContentEditorDraftStatus = 'disabled' | 'idle' | 'saving' | 'saved' | 'error';
|
|
272
|
+
interface ContentEditorDraftStorage {
|
|
273
|
+
getItem(key: string): string | null;
|
|
274
|
+
setItem(key: string, value: string): void;
|
|
275
|
+
removeItem(key: string): void;
|
|
276
|
+
}
|
|
277
|
+
interface ContentEditorDraftConfig {
|
|
278
|
+
storage?: ContentEditorDraftStorage;
|
|
279
|
+
debounceMs?: number;
|
|
280
|
+
}
|
|
281
|
+
/** Delayed persistence keeps storage errors visible and flushes before switching documents. */
|
|
282
|
+
declare class ContentEditorDraftController {
|
|
283
|
+
readonly status: _angular_core.WritableSignal<ContentEditorDraftStatus>;
|
|
284
|
+
readonly error: _angular_core.WritableSignal<string>;
|
|
285
|
+
readonly savedAt: _angular_core.WritableSignal<number | null>;
|
|
286
|
+
private key;
|
|
287
|
+
private storage;
|
|
288
|
+
private debounceMs;
|
|
289
|
+
private enabled;
|
|
290
|
+
private pending;
|
|
291
|
+
private timer;
|
|
292
|
+
configure(key: string, enabled: boolean, config?: ContentEditorDraftConfig): void;
|
|
293
|
+
read(validate: (source: unknown) => ContentEditorDocument): ContentEditorDocument | null;
|
|
294
|
+
schedule(document: ContentEditorDocument): void;
|
|
295
|
+
flush(): void;
|
|
296
|
+
clear(): void;
|
|
297
|
+
private fail;
|
|
298
|
+
}
|
|
299
|
+
|
|
265
300
|
interface ContentEditorImportOptions {
|
|
266
301
|
/** Maximum JSON/HTML nesting depth. Default: 64. */
|
|
267
302
|
maxDepth?: number;
|
|
@@ -270,6 +305,12 @@ interface ContentEditorImportOptions {
|
|
|
270
305
|
/** Preserve application-defined JSON block types. Default: false. */
|
|
271
306
|
allowUnknownBlocks?: boolean;
|
|
272
307
|
}
|
|
308
|
+
interface ContentEditorImportPlacement {
|
|
309
|
+
/** Replace the document (default), or insert into a block collection. */
|
|
310
|
+
mode?: 'replace' | 'insert';
|
|
311
|
+
/** Defaults to the active collection and block when inserting. */
|
|
312
|
+
target?: ContentEditorBlockInsertionTarget;
|
|
313
|
+
}
|
|
273
314
|
interface ContentEditorHtmlImportOptions extends ContentEditorImportOptions {
|
|
274
315
|
/** A DOM document supplied by the application, useful for server-side parsers. */
|
|
275
316
|
document?: Document;
|
|
@@ -298,6 +339,19 @@ declare class ContentEditorImportError extends Error {
|
|
|
298
339
|
type ContentEditorImportMarkDefinition = NgsHeadlessEditorMarkDefinition;
|
|
299
340
|
|
|
300
341
|
interface ContentEditorBlockConfig {
|
|
342
|
+
/** Eager component, or loadEditor for lazy loading; the lazy loader takes precedence. */
|
|
343
|
+
editor?: Type<unknown>;
|
|
344
|
+
loadEditor?: () => Promise<Type<unknown>>;
|
|
345
|
+
renderer?: Type<unknown>;
|
|
346
|
+
/** Native initial data. The editor supplies a fresh id and the configured type. */
|
|
347
|
+
create?: () => Pick<ContentEditorBlock, 'content' | 'attrs'>;
|
|
348
|
+
/** Adds the block to the global insertion menu. */
|
|
349
|
+
menu?: {
|
|
350
|
+
title: string;
|
|
351
|
+
description?: string;
|
|
352
|
+
iconName?: string;
|
|
353
|
+
settings?: Readonly<Record<string, unknown>>;
|
|
354
|
+
};
|
|
301
355
|
toHtml?: ContentEditorBlockHtmlConverter;
|
|
302
356
|
fromHtml?: ContentEditorBlockHtmlImporter;
|
|
303
357
|
validateImport?: ContentEditorBlockImportValidator;
|
|
@@ -307,17 +361,25 @@ interface ContentEditorConfig {
|
|
|
307
361
|
blocks?: Readonly<Record<string, ContentEditorBlockConfig>>;
|
|
308
362
|
marks?: Readonly<Record<string, ContentEditorMarkHtmlConverter>>;
|
|
309
363
|
includeStyles?: boolean;
|
|
364
|
+
draft?: ContentEditorDraftConfig;
|
|
310
365
|
/** Additional or overridden mark definitions used when importing HTML. */
|
|
311
366
|
importMarks?: readonly ContentEditorImportMarkDefinition[];
|
|
312
367
|
/** Unknown blocks throw by default to avoid silently losing saved content. */
|
|
313
368
|
unknownBlockToHtml?: ContentEditorBlockHtmlConverter;
|
|
314
369
|
}
|
|
370
|
+
/** Nested renderers inherit per-instance configuration through their parent. */
|
|
371
|
+
declare const CONTENT_EDITOR_RENDER_CONFIG: InjectionToken<Signal<ContentEditorConfig>>;
|
|
315
372
|
declare const CONTENT_EDITOR_CONFIG: InjectionToken<ContentEditorConfig>;
|
|
316
373
|
/** Later configurations override individual block fields, preserving unrelated options. */
|
|
317
374
|
declare function mergeContentEditorConfig(...configs: readonly ContentEditorConfig[]): ContentEditorConfig;
|
|
318
375
|
/** Application or route environment configuration. Child environments inherit parent settings. */
|
|
319
376
|
declare function provideContentEditorConfig(config?: ContentEditorConfig): EnvironmentProviders;
|
|
320
377
|
|
|
378
|
+
type ContentEditorConvertibleBlockType = 'paragraph' | 'heading' | 'quote' | 'callout';
|
|
379
|
+
declare const CONTENT_EDITOR_CONVERTIBLE_BLOCKS: readonly ContentEditorConvertibleBlockType[];
|
|
380
|
+
/** Retains identity, rich text and alignment. Quote attribution becomes a final line. */
|
|
381
|
+
declare function contentEditorConvertBlock(block: ContentEditorBlock, type: ContentEditorConvertibleBlockType, settings?: Readonly<Record<string, unknown>>): ContentEditorBlock;
|
|
382
|
+
|
|
321
383
|
/**
|
|
322
384
|
* Directive to enable mouse-drag selection of child blocks inside a container.
|
|
323
385
|
*
|
|
@@ -363,8 +425,17 @@ declare class ContentBuilderComponent implements OnInit, AfterViewInit, OnDestro
|
|
|
363
425
|
private readonly importer;
|
|
364
426
|
readonly config: _angular_core.InputSignal<ContentEditorConfig>;
|
|
365
427
|
/** One insertion menu shared by root controls, nested collections and custom blocks. */
|
|
428
|
+
readonly conversionMenu: _angular_core.Signal<Menu>;
|
|
429
|
+
readonly conversionTypes: readonly ContentEditorConvertibleBlockType[];
|
|
366
430
|
readonly blockMenu: _angular_core.Signal<Menu>;
|
|
367
431
|
private readonly document;
|
|
432
|
+
private readonly drafts;
|
|
433
|
+
readonly draftStatus: _angular_core.WritableSignal<_ngstarter_ui_components_content_editor.ContentEditorDraftStatus>;
|
|
434
|
+
readonly draftError: _angular_core.WritableSignal<string>;
|
|
435
|
+
readonly draftSavedAt: _angular_core.WritableSignal<number | null>;
|
|
436
|
+
readonly documentId: _angular_core.InputSignal<string | undefined>;
|
|
437
|
+
readonly draftDebounceMs: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
438
|
+
private draftKey;
|
|
368
439
|
private loaded;
|
|
369
440
|
private lastInput;
|
|
370
441
|
private _platformId;
|
|
@@ -372,6 +443,7 @@ declare class ContentBuilderComponent implements OnInit, AfterViewInit, OnDestro
|
|
|
372
443
|
private readonly dropList;
|
|
373
444
|
readonly connectedDropLists: _angular_core.WritableSignal<CdkDropList<_ngstarter_ui_components_content_editor.ContentEditorBlockScope>[]>;
|
|
374
445
|
private elRef;
|
|
446
|
+
readonly themeSource: HTMLElement;
|
|
375
447
|
private envInjector;
|
|
376
448
|
private cdr;
|
|
377
449
|
private confirmManager;
|
|
@@ -395,12 +467,18 @@ declare class ContentBuilderComponent implements OnInit, AfterViewInit, OnDestro
|
|
|
395
467
|
protected blockDefsOptionsMap: Map<string, any>;
|
|
396
468
|
protected _blockDragging: _angular_core.WritableSignal<boolean>;
|
|
397
469
|
isSelectionOfBlocksActive: _angular_core.WritableSignal<boolean>;
|
|
398
|
-
readonly selectedBlocksModel: SelectionModel<
|
|
470
|
+
readonly selectedBlocksModel: SelectionModel<string>;
|
|
399
471
|
commandBar: typeof CommandBarComponent;
|
|
400
472
|
get api(): {
|
|
401
473
|
focusChanged: EventEmitter<void>;
|
|
402
474
|
};
|
|
475
|
+
readonly insertionSuggestions: _angular_core.Signal<any[]>;
|
|
476
|
+
readonly menuQuery: _angular_core.WritableSignal<string>;
|
|
477
|
+
readonly filteredInsertionSuggestions: _angular_core.Signal<any[]>;
|
|
478
|
+
onMenuSearchKeydown(event: KeyboardEvent, target: ContentEditorBlockInsertionTarget): void;
|
|
479
|
+
private readonly componentSources;
|
|
403
480
|
private buildBlockDefMaps;
|
|
481
|
+
private resolvedBlockDefs;
|
|
404
482
|
/** Shared by nested block collections; all edits use this root editor. */
|
|
405
483
|
get rootBuilder(): ContentBuilderComponent;
|
|
406
484
|
getBlockComponent(type: string): any;
|
|
@@ -426,6 +504,8 @@ declare class ContentBuilderComponent implements OnInit, AfterViewInit, OnDestro
|
|
|
426
504
|
insertBlock(type: string, index: number, options?: object, focus?: boolean, content?: any): ContentEditorBlock;
|
|
427
505
|
private _createBlock;
|
|
428
506
|
addBlock(type: string, options: object, index?: number): void;
|
|
507
|
+
canConvertBlock(id: string): boolean;
|
|
508
|
+
convertBlock(id: string, type: ContentEditorConvertibleBlockType, settings?: Readonly<Record<string, unknown>>): boolean;
|
|
429
509
|
duplicateBlock(blockId: string): void;
|
|
430
510
|
private regenerateChildIds;
|
|
431
511
|
duplicateSelectedBlocks(popover: Popover): void;
|
|
@@ -441,9 +521,12 @@ declare class ContentBuilderComponent implements OnInit, AfterViewInit, OnDestro
|
|
|
441
521
|
readonly canEnterRoot: (_drag: CdkDrag, drop: CdkDropList) => boolean;
|
|
442
522
|
onTagSelected(tagName: string | null): void;
|
|
443
523
|
getData(): _ngstarter_ui_components_headless_editor.NgsHeadlessEditorDocument;
|
|
524
|
+
/** Structural HTML paste splits the active text block without flattening lists/tables. */
|
|
525
|
+
pasteBlocksAtSelection(id: string, imported: ContentEditorDocument, start: number, end: number): boolean;
|
|
444
526
|
/** Validates before replacing the document. Import is one undoable edit. */
|
|
445
|
-
importJson(source: unknown, config?: ContentEditorConfig, options?: ContentEditorImportOptions): ContentEditorDocument;
|
|
446
|
-
importHtml(html: string, config?: ContentEditorConfig, options?: ContentEditorHtmlImportOptions): ContentEditorDocument;
|
|
527
|
+
importJson(source: unknown, config?: ContentEditorConfig, options?: ContentEditorImportOptions & ContentEditorImportPlacement): ContentEditorDocument;
|
|
528
|
+
importHtml(html: string, config?: ContentEditorConfig, options?: ContentEditorHtmlImportOptions & ContentEditorImportPlacement): ContentEditorDocument;
|
|
529
|
+
getInsertionTarget(): ContentEditorBlockInsertionTarget;
|
|
447
530
|
private applyImport;
|
|
448
531
|
/** Exports the live document, including nested blocks, through the configured converters. */
|
|
449
532
|
toHtml(config?: ContentEditorConfig): string;
|
|
@@ -463,18 +546,19 @@ declare class ContentBuilderComponent implements OnInit, AfterViewInit, OnDestro
|
|
|
463
546
|
protected onFocusChange(origin: string | null, dataBlock: ContentEditorBlockView): void;
|
|
464
547
|
protected onSuggestionsMenuClose(reason: MenuCloseReason): void;
|
|
465
548
|
ngOnDestroy(): void;
|
|
549
|
+
private configureDraft;
|
|
466
550
|
private _getDraftContent;
|
|
467
551
|
private _saveDraft;
|
|
552
|
+
saveDraftNow(): void;
|
|
553
|
+
clearDraft(): void;
|
|
468
554
|
private _canUseDraftStorage;
|
|
469
555
|
private _getDraftStorageKey;
|
|
470
556
|
onSettingsPopoverClose(): void;
|
|
471
557
|
protected _onPaste(event: ClipboardEvent): void;
|
|
472
558
|
private _handleTextPaste;
|
|
473
559
|
private _handleHtmlPaste;
|
|
474
|
-
private _mapNodeToBlock;
|
|
475
|
-
private _mapListItems;
|
|
476
560
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContentBuilderComponent, never>;
|
|
477
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ContentBuilderComponent, "ngs-content-editor-builder", ["ngsContentEditorBuilder"], { "config": { "alias": "config"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "contentChangedDelay": { "alias": "contentChangedDelay"; "required": false; "isSignal": true; }; "persistDraft": { "alias": "persistDraft"; "required": false; "isSignal": true; }; "suggestions": { "alias": "suggestions"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "scrollContainer": { "alias": "scrollContainer"; "required": false; "isSignal": true; }; }, { "contentChanged": "contentChanged"; }, never, never, true, [{ directive: typeof BlockSelectionDirective; inputs: { "autoScrollContainerSelector": "autoScrollContainerSelector"; }; outputs: {}; }]>;
|
|
561
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ContentBuilderComponent, "ngs-content-editor-builder", ["ngsContentEditorBuilder"], { "config": { "alias": "config"; "required": false; "isSignal": true; }; "documentId": { "alias": "documentId"; "required": false; "isSignal": true; }; "draftDebounceMs": { "alias": "draftDebounceMs"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "contentChangedDelay": { "alias": "contentChangedDelay"; "required": false; "isSignal": true; }; "persistDraft": { "alias": "persistDraft"; "required": false; "isSignal": true; }; "suggestions": { "alias": "suggestions"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "scrollContainer": { "alias": "scrollContainer"; "required": false; "isSignal": true; }; }, { "contentChanged": "contentChanged"; }, never, never, true, [{ directive: typeof BlockSelectionDirective; inputs: { "autoScrollContainerSelector": "autoScrollContainerSelector"; }; outputs: {}; }]>;
|
|
478
562
|
}
|
|
479
563
|
|
|
480
564
|
interface ContentEditorRenderItem {
|
|
@@ -483,6 +567,9 @@ interface ContentEditorRenderItem {
|
|
|
483
567
|
inputs: ContentEditorBlockRendererInputs;
|
|
484
568
|
}
|
|
485
569
|
declare class ContentEditorRenderer {
|
|
570
|
+
private readonly globalConfig;
|
|
571
|
+
private readonly parentConfig;
|
|
572
|
+
readonly resolvedConfig: _angular_core.Signal<ContentEditorConfig>;
|
|
486
573
|
private readonly htmlSerializer;
|
|
487
574
|
readonly config: _angular_core.InputSignal<ContentEditorConfig>;
|
|
488
575
|
private readonly providedRendererGroups;
|
|
@@ -557,7 +644,7 @@ declare class ContentEditorHeadingRenderer implements ContentEditorBlockRenderer
|
|
|
557
644
|
props: _angular_core.InputSignal<ContentEditorItemProperty[]>;
|
|
558
645
|
index: _angular_core.InputSignal<number>;
|
|
559
646
|
protected readonly runs: _angular_core.Signal<ContentEditorText>;
|
|
560
|
-
protected readonly level: _angular_core.Signal<
|
|
647
|
+
protected readonly level: _angular_core.Signal<number>;
|
|
561
648
|
protected readonly alignment: _angular_core.Signal<ContentEditorTextAlignment>;
|
|
562
649
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContentEditorHeadingRenderer, never>;
|
|
563
650
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ContentEditorHeadingRenderer, "ngs-content-editor-heading-renderer", never, { "block": { "alias": "block"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "settings": { "alias": "settings"; "required": false; "isSignal": true; }; "props": { "alias": "props"; "required": false; "isSignal": true; }; "index": { "alias": "index"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -690,6 +777,7 @@ declare class TextSelectionPopupDirective implements OnDestroy {
|
|
|
690
777
|
targetComponent: Type<ISelectionPopupComponent>;
|
|
691
778
|
closestContentObserverClass: string | null;
|
|
692
779
|
tagSelected: EventEmitter<string | null>;
|
|
780
|
+
private themeCleanup;
|
|
693
781
|
private overlayRef;
|
|
694
782
|
private hostElement;
|
|
695
783
|
private currentSelectionRange;
|
|
@@ -770,6 +858,12 @@ declare function contentEditorCollection(blocks: readonly NgsHeadlessEditorBlock
|
|
|
770
858
|
declare function replaceContentEditorCollection(blocks: NgsHeadlessEditorBlock[], scope: ContentEditorBlockScope, value: readonly NgsHeadlessEditorBlock[]): void;
|
|
771
859
|
/** Mutable UI payloads must not mutate saved documents or undo snapshots. */
|
|
772
860
|
declare function cloneContentEditorValue<T>(value: T): T;
|
|
861
|
+
/** Locates the collection owning a block, including deeply nested Grid/Toggle blocks. */
|
|
862
|
+
declare function contentEditorBlockScope(blocks: readonly NgsHeadlessEditorBlock[], id: string, scope?: ContentEditorBlockScope): ContentEditorBlockScope | null;
|
|
863
|
+
/** Copies for insertion/duplication receive fresh ids throughout the tree. */
|
|
864
|
+
declare function contentEditorCopyBlocks(blocks: readonly NgsHeadlessEditorBlock[]): NgsHeadlessEditorBlock[];
|
|
865
|
+
/** UTF-16 offsets match the editor selection model; marks remain on sliced runs. */
|
|
866
|
+
declare function contentEditorSliceText(content: ContentEditorText, start: number, end?: number): ContentEditorText;
|
|
773
867
|
|
|
774
868
|
/** Parses and validates the native version-1 format without changing the caller's objects. */
|
|
775
869
|
declare function contentEditorFromJson(source: unknown, config?: ContentEditorConfig, options?: ContentEditorImportOptions): ContentEditorDocument;
|
|
@@ -845,5 +939,111 @@ declare class ContentEditorGridRenderer extends ContentEditorRendererBase<Conten
|
|
|
845
939
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ContentEditorGridRenderer, "ngs-content-editor-grid-renderer", never, {}, {}, never, never, true, never>;
|
|
846
940
|
}
|
|
847
941
|
|
|
848
|
-
|
|
849
|
-
|
|
942
|
+
interface ContentEditorUploadedFile {
|
|
943
|
+
file: File;
|
|
944
|
+
url: string;
|
|
945
|
+
dataUrl: string;
|
|
946
|
+
}
|
|
947
|
+
interface ContentEditorUploadRequest {
|
|
948
|
+
files: readonly File[];
|
|
949
|
+
upload: ContentEditorUploadFn;
|
|
950
|
+
accept?: (file: File) => boolean;
|
|
951
|
+
urlKind?: ContentEditorHtmlUrlKind;
|
|
952
|
+
maxFileSize?: number;
|
|
953
|
+
apply(results: readonly ContentEditorUploadedFile[]): void;
|
|
954
|
+
}
|
|
955
|
+
/** One cancellable request per block. Retry only sends failed files again. */
|
|
956
|
+
declare class ContentEditorUploadTask {
|
|
957
|
+
private readonly writable;
|
|
958
|
+
readonly uploading: _angular_core.WritableSignal<boolean>;
|
|
959
|
+
readonly progress: _angular_core.WritableSignal<number | null>;
|
|
960
|
+
readonly error: _angular_core.WritableSignal<string>;
|
|
961
|
+
readonly canRetry: _angular_core.WritableSignal<boolean>;
|
|
962
|
+
private controller;
|
|
963
|
+
private failed;
|
|
964
|
+
constructor(writable: () => boolean);
|
|
965
|
+
cancel(): void;
|
|
966
|
+
retry(): Promise<void>;
|
|
967
|
+
run(request: ContentEditorUploadRequest): Promise<void>;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
/** UI state and block operations. The headless document is the only content store. */
|
|
971
|
+
declare class ContentBuilderStore {
|
|
972
|
+
readonly editor: NgsHeadlessEditor;
|
|
973
|
+
private dragging;
|
|
974
|
+
constructor();
|
|
975
|
+
private textEdit;
|
|
976
|
+
/** Scopes typing groups to one text region, so adjacent cells never share undo. */
|
|
977
|
+
withTextEdit(origin: NgsHeadlessEditorChangeOrigin, group: string, edit: () => void): void;
|
|
978
|
+
readonly insertionTarget: _angular_core.WritableSignal<ContentEditorBlockInsertionTarget>;
|
|
979
|
+
readonly restoreTextSelection: _angular_core.WritableSignal<{
|
|
980
|
+
blockId: string;
|
|
981
|
+
selection: NgsHeadlessEditorSelection;
|
|
982
|
+
} | null>;
|
|
983
|
+
readonly focusedBlockId: _angular_core.WritableSignal<string | null>;
|
|
984
|
+
readonly activeBlockId: _angular_core.WritableSignal<string | null>;
|
|
985
|
+
readonly dragPointer: _angular_core.WritableSignal<{
|
|
986
|
+
x: number;
|
|
987
|
+
y: number;
|
|
988
|
+
} | null>;
|
|
989
|
+
setDragging(dragging: boolean): void;
|
|
990
|
+
readonly dropLists: _angular_core.WritableSignal<CdkDropList<ContentEditorBlockScope>[]>;
|
|
991
|
+
registerDropList(list: CdkDropList<ContentEditorBlockScope>): void;
|
|
992
|
+
unregisterDropList(list: CdkDropList<ContentEditorBlockScope>): void;
|
|
993
|
+
readonly blocks: _angular_core.Signal<ContentEditorBlockView[]>;
|
|
994
|
+
setFocusedBlockId(id: string | null): void;
|
|
995
|
+
setActiveBlockId(id: string | null): void;
|
|
996
|
+
setBlocks(value: ContentEditorDocument): void;
|
|
997
|
+
addBlock(block: ContentEditorBlockView, index: number, scope?: ContentEditorBlockScope): void;
|
|
998
|
+
deleteBlock(id: string, _index: number): void;
|
|
999
|
+
deleteBlocks(ids: readonly string[]): void;
|
|
1000
|
+
updateBlock(id: string, data: Partial<ContentEditorBlockView>): void;
|
|
1001
|
+
moveBlock(from: number, to: number): void;
|
|
1002
|
+
moveBetweenCollections(from: number, to: number, source: ContentEditorBlockScope, target: ContentEditorBlockScope): void;
|
|
1003
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContentBuilderStore, never>;
|
|
1004
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
/** Shared native inputs and root history for the built-in block editors. */
|
|
1008
|
+
declare abstract class ContentEditorBlockBase<T, S extends object = Record<string, unknown>> implements ContentEditorDataBlock {
|
|
1009
|
+
protected readonly store: ContentBuilderStore;
|
|
1010
|
+
protected readonly builder: ContentBuilderComponent;
|
|
1011
|
+
protected readonly element: HTMLElement;
|
|
1012
|
+
readonly id: _angular_core.InputSignal<string>;
|
|
1013
|
+
readonly content: _angular_core.InputSignal<T>;
|
|
1014
|
+
readonly settings: _angular_core.InputSignal<S>;
|
|
1015
|
+
readonly index: _angular_core.InputSignal<number>;
|
|
1016
|
+
readonly props: _angular_core.InputSignal<ContentEditorItemProperty[]>;
|
|
1017
|
+
readonly initialized: _angular_core.WritableSignal<boolean>;
|
|
1018
|
+
constructor();
|
|
1019
|
+
focus(): void;
|
|
1020
|
+
getData(): {
|
|
1021
|
+
content: T;
|
|
1022
|
+
settings: S;
|
|
1023
|
+
props: ContentEditorItemProperty[];
|
|
1024
|
+
};
|
|
1025
|
+
isEmpty(): boolean;
|
|
1026
|
+
protected save(content: T, settings?: S): void;
|
|
1027
|
+
protected latestContent(): T;
|
|
1028
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContentEditorBlockBase<any, any>, never>;
|
|
1029
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ContentEditorBlockBase<any, any>, never, never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; "content": { "alias": "content"; "required": true; "isSignal": true; }; "settings": { "alias": "settings"; "required": true; "isSignal": true; }; "index": { "alias": "index"; "required": false; "isSignal": true; }; "props": { "alias": "props"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
declare abstract class ContentEditorUploadBlockBase<T, S extends object = Record<string, unknown>> extends ContentEditorBlockBase<T, S> {
|
|
1033
|
+
readonly uploadTask: ContentEditorUploadTask;
|
|
1034
|
+
readonly uploading: _angular_core.WritableSignal<boolean>;
|
|
1035
|
+
readonly error: _angular_core.WritableSignal<string>;
|
|
1036
|
+
constructor();
|
|
1037
|
+
protected uploadFiles(type: string, request: Omit<ContentEditorUploadRequest, 'upload' | 'maxFileSize'>): Promise<void>;
|
|
1038
|
+
cancelUpload(): void;
|
|
1039
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContentEditorUploadBlockBase<any, any>, never>;
|
|
1040
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ContentEditorUploadBlockBase<any, any>, never, never, {}, {}, never, never, true, never>;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
/** Read files with actual cancellation and progress. */
|
|
1044
|
+
declare function readContentEditorFile(file: File, context?: ContentEditorUploadContext): Promise<string>;
|
|
1045
|
+
declare function contentEditorFileSize(size: number): string;
|
|
1046
|
+
declare function contentEditorResourceUrl(url: string): string;
|
|
1047
|
+
|
|
1048
|
+
export { BlockSelectionDirective, CONTENT_BUILDER, CONTENT_EDITOR_BLOCK, CONTENT_EDITOR_BLOCK_RENDERERS, CONTENT_EDITOR_CALLOUT_HTML_STYLES, CONTENT_EDITOR_CONFIG, CONTENT_EDITOR_CONVERTIBLE_BLOCKS, CONTENT_EDITOR_DEFAULT_HTML_CONVERTERS, CONTENT_EDITOR_DEFAULT_RENDERERS, CONTENT_EDITOR_GALLERY_HTML_STYLES, CONTENT_EDITOR_GRID_HTML_STYLES, CONTENT_EDITOR_RENDER_CONFIG, CommandBarComponent, ContentBuilderComponent, ContentEditorAttachmentRenderer, ContentEditorBlockBase, ContentEditorCalloutRenderer, ContentEditorCodeRenderer, ContentEditorDividerRenderer, ContentEditorDraftController, ContentEditorEmbedRenderer, ContentEditorGalleryRenderer, ContentEditorGridRenderer, ContentEditorHeadingRenderer, ContentEditorHtmlSerializer, ContentEditorImageRenderer, ContentEditorImportError, ContentEditorImporter, ContentEditorListRenderer, ContentEditorParagraphRenderer, ContentEditorQuoteRenderer, ContentEditorRenderer, ContentEditorRendererBase, ContentEditorTableRenderer, ContentEditorToggleRenderer, ContentEditorUploadBlockBase, ContentEditorUploadTask, ContentEditorVideoRenderer, TextSelectionPopupDirective, cloneContentEditorValue, contentEditorAttachmentToHtml, contentEditorBlockScope, contentEditorBlockToHtml, contentEditorBlockView, contentEditorCalloutToHtml, contentEditorChildCollections, contentEditorCodeToHtml, contentEditorCollection, contentEditorConvertBlock, contentEditorCopyBlocks, contentEditorDividerToHtml, contentEditorEmbedToHtml, contentEditorFileSize, contentEditorFromHtml, contentEditorFromJson, contentEditorGalleryToHtml, contentEditorGridToHtml, contentEditorHeadingToHtml, contentEditorImageToHtml, contentEditorListToHtml, contentEditorNativeBlock, contentEditorParagraphToHtml, contentEditorQuoteToHtml, contentEditorResourceUrl, contentEditorSliceText, contentEditorTableToHtml, contentEditorText, contentEditorToHtml, contentEditorToggleToHtml, contentEditorVideoToHtml, findContentEditorBlock, isContentEditorBlockEmpty, mergeContentEditorConfig, provideContentEditor, provideContentEditorConfig, provideContentEditorRenderer, provideContentEditorRenderers, readContentEditorFile, replaceContentEditorCollection };
|
|
1049
|
+
export type { ContentEditorAttachmentContent, ContentEditorBlock, ContentEditorBlockConfig, ContentEditorBlockDef, ContentEditorBlockEmpty, ContentEditorBlockHtmlConverter, ContentEditorBlockHtmlImporter, ContentEditorBlockImportValidator, ContentEditorBlockInsertionTarget, ContentEditorBlockRendererDef, ContentEditorBlockRendererInputSignals, ContentEditorBlockRendererInputs, ContentEditorBlockScope, ContentEditorBlockView, ContentEditorBuiltinBlockType, ContentEditorCalloutSettings, ContentEditorCalloutVariant, ContentEditorCodeRendererSettings, ContentEditorConfig, ContentEditorConvertibleBlockType, ContentEditorDataBlock, ContentEditorDimension, ContentEditorDocument, ContentEditorDraftConfig, ContentEditorDraftStatus, ContentEditorDraftStorage, ContentEditorEmbedBlockSettings, ContentEditorEmbedContent, ContentEditorGalleryContent, ContentEditorGalleryImage, ContentEditorGridCell, ContentEditorGridContent, ContentEditorGridGap, ContentEditorGridSettings, ContentEditorHeadingBlockSettings, ContentEditorHtmlContext, ContentEditorHtmlImportContext, ContentEditorHtmlImportOptions, ContentEditorHtmlUrlKind, ContentEditorImageBlockSettings, ContentEditorImageContent, ContentEditorImportMarkDefinition, ContentEditorImportOptions, ContentEditorImportPlacement, ContentEditorItemProperty, ContentEditorListItem, ContentEditorListSettings, ContentEditorMarkHtmlConverter, ContentEditorOptions, ContentEditorQuoteContent, ContentEditorQuoteRendererContent, ContentEditorQuoteRendererContentPart, ContentEditorSuggestionHeading, ContentEditorSuggestionItem, ContentEditorTableAttributes, ContentEditorTableBlockSettings, ContentEditorTableCell, ContentEditorTableCellMetadata, ContentEditorText, ContentEditorToggleContent, ContentEditorToggleSettings, ContentEditorUploadContext, ContentEditorUploadFn, ContentEditorUploadRequest, ContentEditorUploadedFile, ContentEditorVideoBlockSettings, ContentEditorVideoContent, ISelectionPopupComponent };
|
|
@@ -420,6 +420,9 @@ interface Autofocusable {
|
|
|
420
420
|
}
|
|
421
421
|
declare const AUTOFOCUSABLE: InjectionToken<Autofocusable>;
|
|
422
422
|
|
|
423
|
+
/** Mirrors NgStarter tokens into a detached overlay and follows ancestor theme changes. */
|
|
424
|
+
declare function bindNgsOverlayTheme(source: HTMLElement, target: HTMLElement): () => void;
|
|
425
|
+
|
|
423
426
|
/** Provider for managing the error state of a form control. */
|
|
424
427
|
declare class ErrorStateMatcher {
|
|
425
428
|
/**
|
|
@@ -467,5 +470,5 @@ declare function zonefreeScheduler(): SchedulerLike;
|
|
|
467
470
|
|
|
468
471
|
declare function typedFromEvent<E extends Event>(target: EventTarget, event: string, options?: EventListenerOptions | boolean): Observable<E>;
|
|
469
472
|
|
|
470
|
-
export { AUTOFOCUSABLE, AnalyticsService, AutoFocusDirective, DebounceTimeDirective, ENVIRONMENT, EnvironmentService, ErrorStateMatcher, FilterByPropertyPipe, FocusElementDirective, FormatFileSizePipe, GlobalStore, InactivityTrackerService, InitialsPipe, MutationObserverService, NGS_THEME_COLOR_PRESETS, NGS_THEME_COLOR_PRESET_IDS, NGS_THEME_OPTIONS, NGS_THEME_PRESET_PROPERTY_NAMES, OrderByPipe, PageTitleStrategyService, RIPPLE_GLOBAL_OPTIONS, ResizeObserverService, Ripple, RippleRef, RippleRenderer, RippleState, SafeHtmlPipe, SafeResourceUrlPipe, ScreenLoaderService, SearchByPropertyPipe, SeoService, ShowOnDirtyErrorStateMatcher, SoundEffectDirective, TextareaAutoSize, ThemeManagerService, arrayShallowEquals, defaultRippleAnimationConfig, getActualTarget, getNgsThemePreset, getNgsThemePresetCssText, getNgsThemePresetProperties, injectElement, isElement, provideNgsTheme, px, typedFromEvent, zonefreeScheduler };
|
|
473
|
+
export { AUTOFOCUSABLE, AnalyticsService, AutoFocusDirective, DebounceTimeDirective, ENVIRONMENT, EnvironmentService, ErrorStateMatcher, FilterByPropertyPipe, FocusElementDirective, FormatFileSizePipe, GlobalStore, InactivityTrackerService, InitialsPipe, MutationObserverService, NGS_THEME_COLOR_PRESETS, NGS_THEME_COLOR_PRESET_IDS, NGS_THEME_OPTIONS, NGS_THEME_PRESET_PROPERTY_NAMES, OrderByPipe, PageTitleStrategyService, RIPPLE_GLOBAL_OPTIONS, ResizeObserverService, Ripple, RippleRef, RippleRenderer, RippleState, SafeHtmlPipe, SafeResourceUrlPipe, ScreenLoaderService, SearchByPropertyPipe, SeoService, ShowOnDirtyErrorStateMatcher, SoundEffectDirective, TextareaAutoSize, ThemeManagerService, arrayShallowEquals, bindNgsOverlayTheme, defaultRippleAnimationConfig, getActualTarget, getNgsThemePreset, getNgsThemePresetCssText, getNgsThemePresetProperties, injectElement, isElement, provideNgsTheme, px, typedFromEvent, zonefreeScheduler };
|
|
471
474
|
export type { Autofocusable, GlobalState, NgsColorScheme, NgsThemeColorPreset, NgsThemeColorPresetDefinition, NgsThemeColorScheme, NgsThemeCssProperties, NgsThemeName, NgsThemeOptions, RippleAnimationConfig, RippleConfig, RippleGlobalOptions };
|