@tectra-ng/ui 0.4.4 → 0.4.6
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/amount/README.md +19 -1
- package/analog-clock/README.md +1 -1
- package/autocomplete/README.md +1 -1
- package/avatar/README.md +24 -4
- package/cascade-select/README.md +1 -1
- package/chips-input/README.md +11 -5
- package/color-picker/README.md +5 -0
- package/countdown/README.md +7 -1
- package/country/README.md +14 -1
- package/country-select/README.md +2 -1
- package/export/README.md +27 -2
- package/export-font/README.md +1 -1
- package/fesm2022/tectra-ng-ui-amount.mjs +96 -14
- package/fesm2022/tectra-ng-ui-amount.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-analog-clock.mjs +6 -19
- package/fesm2022/tectra-ng-ui-analog-clock.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-autocomplete.mjs +5 -4
- package/fesm2022/tectra-ng-ui-autocomplete.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-avatar.mjs +59 -17
- package/fesm2022/tectra-ng-ui-avatar.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-button.mjs +2 -2
- package/fesm2022/tectra-ng-ui-button.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-card.mjs +2 -2
- package/fesm2022/tectra-ng-ui-card.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-cascade-select.mjs +7 -4
- package/fesm2022/tectra-ng-ui-cascade-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-chips-input.mjs +142 -22
- package/fesm2022/tectra-ng-ui-chips-input.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-color-picker.mjs +93 -6
- package/fesm2022/tectra-ng-ui-color-picker.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-countdown.mjs +39 -10
- package/fesm2022/tectra-ng-ui-countdown.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-country-select.mjs +28 -5
- package/fesm2022/tectra-ng-ui-country-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-country.mjs +15 -6
- package/fesm2022/tectra-ng-ui-country.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-datepicker.mjs +10 -8
- package/fesm2022/tectra-ng-ui-datepicker.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-dialog.mjs +6 -6
- package/fesm2022/tectra-ng-ui-dialog.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-export.mjs +1237 -84
- package/fesm2022/tectra-ng-ui-export.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-field.mjs +1 -0
- package/fesm2022/tectra-ng-ui-field.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-fieldset.mjs +2 -2
- package/fesm2022/tectra-ng-ui-fieldset.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-icon-field.mjs +51 -23
- package/fesm2022/tectra-ng-ui-icon-field.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-input-number.mjs +2 -2
- package/fesm2022/tectra-ng-ui-input-number.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-input.mjs +5 -4
- package/fesm2022/tectra-ng-ui-input.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-key-filter.mjs +84 -19
- package/fesm2022/tectra-ng-ui-key-filter.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-knob.mjs +24 -2
- package/fesm2022/tectra-ng-ui-knob.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-label.mjs +68 -9
- package/fesm2022/tectra-ng-ui-label.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-link.mjs +38 -14
- package/fesm2022/tectra-ng-ui-link.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-mention-textarea.mjs +16 -5
- package/fesm2022/tectra-ng-ui-mention-textarea.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-message.mjs +17 -7
- package/fesm2022/tectra-ng-ui-message.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-month-calendar.mjs +26 -9
- package/fesm2022/tectra-ng-ui-month-calendar.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-multiselect.mjs +3 -2
- package/fesm2022/tectra-ng-ui-multiselect.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-panel-menu.mjs +45 -14
- package/fesm2022/tectra-ng-ui-panel-menu.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-panel.mjs +4 -2
- package/fesm2022/tectra-ng-ui-panel.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-password-generator.mjs +18 -1
- package/fesm2022/tectra-ng-ui-password-generator.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-password.mjs +2 -2
- package/fesm2022/tectra-ng-ui-password.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-pill.mjs +33 -17
- package/fesm2022/tectra-ng-ui-pill.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-rating.mjs +2 -2
- package/fesm2022/tectra-ng-ui-rating.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-select.mjs +30 -7
- package/fesm2022/tectra-ng-ui-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-stat-tiles.mjs +93 -8
- package/fesm2022/tectra-ng-ui-stat-tiles.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-status-icon.mjs +40 -3
- package/fesm2022/tectra-ng-ui-status-icon.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-table.mjs +20 -6
- package/fesm2022/tectra-ng-ui-table.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tag.mjs +2 -2
- package/fesm2022/tectra-ng-ui-tag.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-toast.mjs +2 -2
- package/fesm2022/tectra-ng-ui-toast.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tree-select.mjs +10 -8
- package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tree-table.mjs +4 -4
- package/fesm2022/tectra-ng-ui-tree-table.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-truncate-text.mjs +33 -9
- package/fesm2022/tectra-ng-ui-truncate-text.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui.mjs +1 -1
- package/icon-field/README.md +2 -1
- package/key-filter/README.md +3 -2
- package/knob/README.md +3 -1
- package/label/README.md +4 -1
- package/link/README.md +4 -1
- package/message/README.md +3 -3
- package/month-calendar/README.md +2 -1
- package/multiselect/README.md +1 -1
- package/package.json +4 -4
- package/panel/README.md +3 -1
- package/panel-menu/README.md +3 -2
- package/password-generator/README.md +2 -0
- package/pill/README.md +4 -4
- package/select/README.md +1 -1
- package/stat-tiles/README.md +17 -1
- package/status-icon/README.md +3 -1
- package/table/README.md +1 -1
- package/tag/README.md +2 -0
- package/tree-select/README.md +1 -1
- package/truncate-text/README.md +2 -1
- package/types/tectra-ng-ui-amount.d.ts +41 -1
- package/types/tectra-ng-ui-amount.d.ts.map +1 -1
- package/types/tectra-ng-ui-analog-clock.d.ts +1 -4
- package/types/tectra-ng-ui-analog-clock.d.ts.map +1 -1
- package/types/tectra-ng-ui-autocomplete.d.ts +1 -1
- package/types/tectra-ng-ui-avatar.d.ts +45 -12
- package/types/tectra-ng-ui-avatar.d.ts.map +1 -1
- package/types/tectra-ng-ui-cascade-select.d.ts +3 -2
- package/types/tectra-ng-ui-cascade-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-chips-input.d.ts +62 -6
- package/types/tectra-ng-ui-chips-input.d.ts.map +1 -1
- package/types/tectra-ng-ui-color-picker.d.ts +38 -1
- package/types/tectra-ng-ui-color-picker.d.ts.map +1 -1
- package/types/tectra-ng-ui-countdown.d.ts +12 -1
- package/types/tectra-ng-ui-countdown.d.ts.map +1 -1
- package/types/tectra-ng-ui-country-select.d.ts +17 -4
- package/types/tectra-ng-ui-country-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-country.d.ts +7 -1
- package/types/tectra-ng-ui-country.d.ts.map +1 -1
- package/types/tectra-ng-ui-datepicker.d.ts +2 -2
- package/types/tectra-ng-ui-datepicker.d.ts.map +1 -1
- package/types/tectra-ng-ui-export.d.ts +68 -8
- package/types/tectra-ng-ui-export.d.ts.map +1 -1
- package/types/tectra-ng-ui-icon-field.d.ts +9 -2
- package/types/tectra-ng-ui-icon-field.d.ts.map +1 -1
- package/types/tectra-ng-ui-key-filter.d.ts +19 -4
- package/types/tectra-ng-ui-key-filter.d.ts.map +1 -1
- package/types/tectra-ng-ui-knob.d.ts +10 -2
- package/types/tectra-ng-ui-knob.d.ts.map +1 -1
- package/types/tectra-ng-ui-label.d.ts +8 -1
- package/types/tectra-ng-ui-label.d.ts.map +1 -1
- package/types/tectra-ng-ui-link.d.ts +8 -2
- package/types/tectra-ng-ui-link.d.ts.map +1 -1
- package/types/tectra-ng-ui-mention-textarea.d.ts +5 -0
- package/types/tectra-ng-ui-mention-textarea.d.ts.map +1 -1
- package/types/tectra-ng-ui-message.d.ts +6 -3
- package/types/tectra-ng-ui-message.d.ts.map +1 -1
- package/types/tectra-ng-ui-month-calendar.d.ts +14 -4
- package/types/tectra-ng-ui-month-calendar.d.ts.map +1 -1
- package/types/tectra-ng-ui-multiselect.d.ts +1 -1
- package/types/tectra-ng-ui-panel-menu.d.ts +34 -6
- package/types/tectra-ng-ui-panel-menu.d.ts.map +1 -1
- package/types/tectra-ng-ui-panel.d.ts +1 -1
- package/types/tectra-ng-ui-panel.d.ts.map +1 -1
- package/types/tectra-ng-ui-password-generator.d.ts +10 -3
- package/types/tectra-ng-ui-password-generator.d.ts.map +1 -1
- package/types/tectra-ng-ui-pill.d.ts +9 -5
- package/types/tectra-ng-ui-pill.d.ts.map +1 -1
- package/types/tectra-ng-ui-select.d.ts +5 -2
- package/types/tectra-ng-ui-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-stat-tiles.d.ts +49 -5
- package/types/tectra-ng-ui-stat-tiles.d.ts.map +1 -1
- package/types/tectra-ng-ui-status-icon.d.ts +20 -2
- package/types/tectra-ng-ui-status-icon.d.ts.map +1 -1
- package/types/tectra-ng-ui-table.d.ts +2 -1
- package/types/tectra-ng-ui-table.d.ts.map +1 -1
- package/types/tectra-ng-ui-tree-select.d.ts +3 -3
- package/types/tectra-ng-ui-tree-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-truncate-text.d.ts +7 -2
- package/types/tectra-ng-ui-truncate-text.d.ts.map +1 -1
- package/types/tectra-ng-ui.d.ts +1 -1
|
@@ -106,6 +106,10 @@ export interface TxExportFont {
|
|
|
106
106
|
regular: ArrayBuffer | Uint8Array | string;
|
|
107
107
|
/** TrueType file of the bold weight; the regular one is emulated when not set. */
|
|
108
108
|
bold?: ArrayBuffer | Uint8Array | string;
|
|
109
|
+
/** TrueType file of the italic style, used by `writeHtmlPdf`; the regular one is slanted when not set. */
|
|
110
|
+
italic?: ArrayBuffer | Uint8Array | string;
|
|
111
|
+
/** TrueType file of a monospaced font for code, used by `writeHtmlPdf`; the regular one when not set. */
|
|
112
|
+
mono?: ArrayBuffer | Uint8Array | string;
|
|
109
113
|
}
|
|
110
114
|
/** Options of the CSV file. */
|
|
111
115
|
export interface TxExportCsvOptions {
|
|
@@ -177,6 +181,41 @@ export interface TxExportPdfOptions extends TxExportPageOptions {
|
|
|
177
181
|
/** Compresses the file (default on). */
|
|
178
182
|
compress?: boolean;
|
|
179
183
|
}
|
|
184
|
+
/** Options of `writeHtmlPdf`: page, text sizes and colours of a PDF made from HTML. */
|
|
185
|
+
export interface TxExportHtmlPdfOptions {
|
|
186
|
+
/** Page size (default `a4`). */
|
|
187
|
+
pageSize?: TxExportPageSize;
|
|
188
|
+
/** Page orientation; `auto` is portrait (default `portrait`). */
|
|
189
|
+
orientation?: TxExportOrientation;
|
|
190
|
+
/** Page margin in points: one number, or `[top, right, bottom, left]` (default 48). */
|
|
191
|
+
margin?: number | readonly [number, number, number, number];
|
|
192
|
+
/** Size of body text in points; headings, code and tables scale with it (default 10). */
|
|
193
|
+
fontSize?: number;
|
|
194
|
+
/** Line height as a multiple of the font size (default 1.45). */
|
|
195
|
+
lineHeight?: number;
|
|
196
|
+
/** Title stored in the file properties and shown by PDF viewers. */
|
|
197
|
+
title?: string;
|
|
198
|
+
/** Author stored in the file properties. */
|
|
199
|
+
author?: string;
|
|
200
|
+
/** Shows page numbers at the bottom (default on). */
|
|
201
|
+
pageNumbers?: boolean;
|
|
202
|
+
/** Colour of the text, as hex. */
|
|
203
|
+
textColor?: string;
|
|
204
|
+
/** Colour of quotes, captions and page numbers, as hex. */
|
|
205
|
+
mutedColor?: string;
|
|
206
|
+
/** Colour of links, as hex. */
|
|
207
|
+
linkColor?: string;
|
|
208
|
+
/** Colour of table lines, rules and the quote bar, as hex. */
|
|
209
|
+
borderColor?: string;
|
|
210
|
+
/** Background of table header cells, as hex, or `none`. */
|
|
211
|
+
headerBackground?: string;
|
|
212
|
+
/** Background of code, as hex. */
|
|
213
|
+
codeBackground?: string;
|
|
214
|
+
/** Loads the TrueType fonts; the Onest font of `@tectra-ng/ui/export-font` when not set. */
|
|
215
|
+
font?: () => Promise<TxExportFont>;
|
|
216
|
+
/** Compresses the file (default on). */
|
|
217
|
+
compress?: boolean;
|
|
218
|
+
}
|
|
180
219
|
/** Options of the JSON file. */
|
|
181
220
|
export interface TxExportJsonOptions {
|
|
182
221
|
/** Which names the objects use as keys: the `field` (default) or the column `title`. */
|
|
@@ -326,6 +365,10 @@ export declare function downloadCsv(document: Document, csv: string, filename: s
|
|
|
326
365
|
export declare function escapeXml(text: string): string;
|
|
327
366
|
/** Normalizes a hex colour to six upper-case digits without `#`; the fallback when it is not a hex colour. */
|
|
328
367
|
export declare function hexColor(color: string | undefined, fallback: string): string;
|
|
368
|
+
/**
|
|
369
|
+
* Loads the Onest font from `@tectra-ng/ui/export-font` for PDF files; it is fetched on the first PDF export.
|
|
370
|
+
*/
|
|
371
|
+
export declare function loadDefaultExportFont(): Promise<TxExportFont>;
|
|
329
372
|
/** Default export options for the app or a subtree; set it with `provideTxExport`. */
|
|
330
373
|
export declare const TX_EXPORT_OPTIONS: InjectionToken<TxExportOptions>;
|
|
331
374
|
/**
|
|
@@ -338,10 +381,6 @@ export declare const TX_EXPORT_EXTENSIONS: Record<TxExportFormat, string | null>
|
|
|
338
381
|
* Merges export options in order, later layers winning; the per-format objects such as `csv` are merged key by key.
|
|
339
382
|
*/
|
|
340
383
|
export declare function mergeExportOptions(...layers: (TxExportOptions | undefined)[]): TxExportOptions;
|
|
341
|
-
/**
|
|
342
|
-
* Loads the Onest font from `@tectra-ng/ui/export-font` for PDF files; it is fetched on the first PDF export.
|
|
343
|
-
*/
|
|
344
|
-
export declare function loadDefaultExportFont(): Promise<TxExportFont>;
|
|
345
384
|
/** Exports rows from code to a file, the clipboard or the printer; the export buttons use it. */
|
|
346
385
|
export declare class TxExportService {
|
|
347
386
|
private document;
|
|
@@ -354,6 +393,20 @@ export declare class TxExportService {
|
|
|
354
393
|
blob: Blob;
|
|
355
394
|
filename: string;
|
|
356
395
|
}>;
|
|
396
|
+
/**
|
|
397
|
+
* Turns rich HTML — a string, or an element whose content is read — into a paged PDF and saves it; resolves to the
|
|
398
|
+
* file name. Page and text options start from the `pdf` options and the title of `provideTxExport`.
|
|
399
|
+
*/
|
|
400
|
+
exportHtmlPdf(source: string | Node, options?: TxExportHtmlPdfOptions & {
|
|
401
|
+
filename?: string;
|
|
402
|
+
}): Promise<string>;
|
|
403
|
+
/** Builds the PDF of rich HTML like `exportHtmlPdf` without saving it. */
|
|
404
|
+
htmlPdfFile(source: string | Node, options?: TxExportHtmlPdfOptions & {
|
|
405
|
+
filename?: string;
|
|
406
|
+
}): Promise<{
|
|
407
|
+
blob: Blob;
|
|
408
|
+
filename: string;
|
|
409
|
+
}>;
|
|
357
410
|
/** Gives the locale and the yes and no texts used to write cell values. */
|
|
358
411
|
textContext(options?: TxExportOptions): TxExportTextContext;
|
|
359
412
|
private lang;
|
|
@@ -616,6 +669,17 @@ export declare function writeXlsx(table: TxExportTable, options?: TxExportExcelO
|
|
|
616
669
|
export declare function docxDocument(table: TxExportTable, options: TxExportWordOptions, context: TxExportTextContext, date: Date): string;
|
|
617
670
|
/** Writes the table as a Word `.docx` file blob. */
|
|
618
671
|
export declare function writeDocx(table: TxExportTable, options?: TxExportWordOptions, context?: TxExportTextContext, date?: Date): Promise<Blob>;
|
|
672
|
+
/** Breaks text into lines that fit the width, measured by the given function. */
|
|
673
|
+
export declare function wrapText(text: string, width: number, measure: (text: string) => number): string[];
|
|
674
|
+
/** Writes the table as a PDF file blob, with the glyphs it uses embedded from the font. */
|
|
675
|
+
export declare function writePdf(table: TxExportTable, options: TxExportPdfOptions, font: TxExportFont, context?: TxExportTextContext, date?: Date): Promise<Blob>;
|
|
676
|
+
/**
|
|
677
|
+
* Writes rich HTML as a paged PDF file blob with real, selectable text: headings, paragraphs, bold, italic, links and
|
|
678
|
+
* inline code, code blocks, nested lists, quotes, rules and tables whose header row repeats on every page. Takes an
|
|
679
|
+
* HTML string, read without a DOM so it also runs on the server, or a DOM node whose content is read; images, forms and
|
|
680
|
+
* scripts are left out. `break-before: page` / `break-after: page` start a new page.
|
|
681
|
+
*/
|
|
682
|
+
export declare function writeHtmlPdf(source: string | Node, options?: TxExportHtmlPdfOptions, date?: Date): Promise<Blob>;
|
|
619
683
|
/** A parsed TrueType font: metrics, glyph lookup and a subsetter. */
|
|
620
684
|
interface TxTrueTypeFont {
|
|
621
685
|
/** Font units in one em. */
|
|
@@ -641,10 +705,6 @@ interface TxTrueTypeFont {
|
|
|
641
705
|
}
|
|
642
706
|
/** Reads a TrueType font file; the result measures glyphs and cuts a smaller font with only the glyphs used. */
|
|
643
707
|
export declare function parseTrueType(input: Uint8Array): TxTrueTypeFont;
|
|
644
|
-
/** Breaks text into lines that fit the width, measured by the given function. */
|
|
645
|
-
export declare function wrapText(text: string, width: number, measure: (text: string) => number): string[];
|
|
646
|
-
/** Writes the table as a PDF file blob, with the glyphs it uses embedded from the font. */
|
|
647
|
-
export declare function writePdf(table: TxExportTable, options: TxExportPdfOptions, font: TxExportFont, context?: TxExportTextContext, date?: Date): Promise<Blob>;
|
|
648
708
|
/** One file in a zip archive. */
|
|
649
709
|
interface TxZipEntry {
|
|
650
710
|
/** Path of the file in the archive. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-export.d.ts","names":[],"sources":["../../../../packages/ui/export/src/export.types.ts","../../../../packages/ui/export/src/export.utils.ts","../../../../packages/ui/export/src/export.service.ts","../../../../packages/ui/export/src/export-action.directive.ts","../../../../packages/ui/export/src/export-button.component.ts","../../../../packages/ui/export/src/export-menu.component.ts","../../../../packages/ui/export/src/writers/text.ts","../../../../packages/ui/export/src/writers/xlsx.ts","../../../../packages/ui/export/src/writers/docx.ts","../../../../packages/ui/export/src/writers/
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-export.d.ts","names":[],"sources":["../../../../packages/ui/export/src/export.types.ts","../../../../packages/ui/export/src/export.utils.ts","../../../../packages/ui/export/src/writers/default-font.ts","../../../../packages/ui/export/src/export.service.ts","../../../../packages/ui/export/src/export-action.directive.ts","../../../../packages/ui/export/src/export-button.component.ts","../../../../packages/ui/export/src/export-menu.component.ts","../../../../packages/ui/export/src/writers/text.ts","../../../../packages/ui/export/src/writers/xlsx.ts","../../../../packages/ui/export/src/writers/docx.ts","../../../../packages/ui/export/src/writers/pdf.ts","../../../../packages/ui/export/src/writers/html-pdf.ts","../../../../packages/ui/export/src/writers/truetype.ts","../../../../packages/ui/export/src/writers/zip.ts"],"mappings":";;;;;;YACY,cAAc;;;;YAKd;;YAGA;;YAGA;;YAGA;;YAGA;;YAGA;;iBAGK,cAAc,IAAI;;EAEjC;;EAEA;;EAEA,cAAc,gBAAgB,KAAK,GAAG;;EAEtC,OAAO;;EAEP;;EAEA,QAAQ;;EAER;;EAEA,mBAAmB;;;iBAIJ;;EAEf;;EAEA;;EAEA,MAAM;;EAEN;;EAEA,OAAO;;EAEP;;;iBAIe;;EAEf,SAAS;;EAET;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;;iBAIe,4BAA4B;;EAE3C,WA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U,OAAO,eAAe,UAAS,qBAA0B,UAAS,qBAAgD,OAAI,OAAgB,QAAQ;;wBC5E9J,SAAS,cAAc,eAAe,UAAU;;wBAqE1C,SACpB,OAAO,eACP,SAAS,oBACT,MAAM,cACN,UAAS,qBACT,OAAI,OACH,QAAQ;;;;;;;wBCwqBW,aAAa,iBAAiB,MAAM,UAAS,wBAA6B,OAAI,OAAgB,QAAQ;;UCxvB3G;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;EAET,QAAQ;;EAER,QAAQ;;EAER,OAAO,QAAQ,sBAAsB;;;wBAoBvB,cAAc,OAAO,aAAa;;UCtCjC;;EAEf;;EAEA,MAAM;;;wBAcQ,MAAM,OAAO;;wBAaP,IAAI,kBAAkB,cAAc,OAAI,MAAe,oBAAiB,QAAQ"}
|
|
@@ -91,16 +91,23 @@ export declare class TxInputClear {
|
|
|
91
91
|
export declare class TxInputCopy {
|
|
92
92
|
private readonly iconFieldTheme;
|
|
93
93
|
private field;
|
|
94
|
+
private document;
|
|
94
95
|
private timer;
|
|
96
|
+
private destroyed;
|
|
95
97
|
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
96
98
|
readonly isCopied: import("@angular/core").WritableSignal<boolean>;
|
|
97
|
-
|
|
99
|
+
readonly isCopyFailed: import("@angular/core").WritableSignal<boolean>;
|
|
100
|
+
readonly label: import("@angular/core").Signal<string>;
|
|
101
|
+
/** the value that was copied. Copying uses the Clipboard API and falls back to a selection outside a secure context */
|
|
98
102
|
readonly copied: import("@angular/core").OutputEmitterRef<string>;
|
|
103
|
+
/** the browser refused to copy; gives the value. The button says "Could not copy" for a moment instead of the check mark — show your own message from here */
|
|
104
|
+
readonly copyFailed: import("@angular/core").OutputEmitterRef<string>;
|
|
99
105
|
constructor();
|
|
100
|
-
copy():
|
|
106
|
+
copy(): Promise<boolean>;
|
|
101
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxInputCopy, never>;
|
|
102
108
|
static ɵcmp: i0.ɵɵComponentDeclaration<TxInputCopy, "tx-input-copy", never, {}, {
|
|
103
109
|
"copied": "copied";
|
|
110
|
+
"copyFailed": "copyFailed";
|
|
104
111
|
}, never, never, true, never>;
|
|
105
112
|
}
|
|
106
113
|
//# sourceMappingURL=tectra-ng-ui-icon-field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-icon-field.d.ts","names":[],"sources":["../../../../packages/ui/icon-field/src/icon-field.types.ts","../../../../packages/ui/icon-field/src/icon-field.component.ts","../../../../packages/ui/icon-field/src/input-icon.component.ts","../../../../packages/ui/icon-field/src/input-clear.component.ts","../../../../packages/ui/icon-field/src/input-copy.component.ts"],"mappings":";;;;;;YACY;;YAGA;;;;;qBCmCC,uBAAuB;mBACjB;UAET;;WAEC,+BAAK;WAEL,+BAAK,OAAA;WACL,wCAAc,OAAA;WACd,iCAAO,OAAA;WACP,+BAAK,OAAA,WAAA;WACL,6BAAG,OAAA,WAAA;WAEH,iCAAO;WACP,oCAAU;WACV,kCAAQ;WACR,sCAAY,eAAA;WACZ,oCAAU,eAAA;WACV,kCAAQ;WACR,oCAAU;;EASnB;EAKA;EAIA;UAiBQ;UAeA;UAkBA;UAOA;SA9FG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;MAAA;MAAA;MAAA;;;;;;;;qBChBX;mBACM;UAET;;WAEC,8BAAI,YAAA;;WACJ,kCAAQ,YAAA;WAER,kCAAQ,OAAA;SARN,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;;;;qBCAX;mBACM;WAER,OAAK;WACL,sCAAY,wCAAA;;WAEZ,iCAAO;EAEhB;SARW,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAY;;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-icon-field.d.ts","names":[],"sources":["../../../../packages/ui/icon-field/src/icon-field.types.ts","../../../../packages/ui/icon-field/src/icon-field.component.ts","../../../../packages/ui/icon-field/src/input-icon.component.ts","../../../../packages/ui/icon-field/src/input-clear.component.ts","../../../../packages/ui/icon-field/src/input-copy.component.ts"],"mappings":";;;;;;YACY;;YAGA;;;;;qBCmCC,uBAAuB;mBACjB;UAET;;WAEC,+BAAK;WAEL,+BAAK,OAAA;WACL,wCAAc,OAAA;WACd,iCAAO,OAAA;WACP,+BAAK,OAAA,WAAA;WACL,6BAAG,OAAA,WAAA;WAEH,iCAAO;WACP,oCAAU;WACV,kCAAQ;WACR,sCAAY,eAAA;WACZ,oCAAU,eAAA;WACV,kCAAQ;WACR,oCAAU;;EASnB;EAKA;EAIA;UAiBQ;UAeA;UAkBA;UAOA;SA9FG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;MAAA;MAAA;MAAA;;;;;;;;qBChBX;mBACM;UAET;;WAEC,8BAAI,YAAA;;WACJ,kCAAQ,YAAA;WAER,kCAAQ,OAAA;SARN,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;;;;qBCAX;mBACM;WAER,OAAK;WACL,sCAAY,wCAAA;;WAEZ,iCAAO;EAEhB;SARW,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAY;;;;qBCOZ;mBACM;UAET;UACA;UACA;UACA;WAEC,sCAAY,wCAAA;WACZ,kCAAQ;WACR,sCAAY;WACZ,+BAAK;;WAML,gCAAM;;WACN,oCAAU;;EASb,QAAQ;SA3BH,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;IAAA"}
|
|
@@ -9,6 +9,8 @@ export interface TxKeyFilterRule {
|
|
|
9
9
|
/** The whole text must match this pattern as well, when set. */
|
|
10
10
|
value?: RegExp;
|
|
11
11
|
}
|
|
12
|
+
/** Value of `txKeyFilter`: a preset or a pattern; `null`, `undefined`, `false` or `''` switch the filter off. */
|
|
13
|
+
export type TxKeyFilterValue = TxKeyFilterPreset | RegExp | null | undefined | false | '';
|
|
12
14
|
/** Rule of every `TxKeyFilterPreset`. */
|
|
13
15
|
export declare const TX_KEY_FILTER_PRESETS: Record<TxKeyFilterPreset, TxKeyFilterRule>;
|
|
14
16
|
/** Builds the rule of a preset or pattern, optionally allowing the extra characters. */
|
|
@@ -16,22 +18,35 @@ export declare function txKeyFilterRule(filter: TxKeyFilterPreset | RegExp, extr
|
|
|
16
18
|
/** Tells whether a text passes a rule: every character matches and, when set, so does the whole text. */
|
|
17
19
|
export declare function txKeyFilterAccepts(rule: TxKeyFilterRule, text: string): boolean;
|
|
18
20
|
/**
|
|
19
|
-
* Lets only allowed characters into an `input` or `textarea`: blocks typing, cleans pasted and dropped text. With `validateOnly` it does not block anything and reports a `keyFilter` error to the form instead.
|
|
21
|
+
* Lets only allowed characters into an `input` or `textarea`: blocks typing, cleans pasted and dropped text. With `validateOnly` it does not block anything and reports a `keyFilter` error to the form instead. Text that arrives without a beforeinput event the browser lets it cancel — an Android keyboard, an IME composition, autocorrect, autofill — is cleaned right after it lands (at the end of a composition), and the caret stays in place.
|
|
20
22
|
* @see https://tectra-ng.com/components/key-filter
|
|
21
23
|
*/
|
|
22
24
|
export declare class TxKeyFilter implements Validator {
|
|
23
25
|
private elementRef;
|
|
24
|
-
/** A preset name or a `RegExp` that one character must match */
|
|
25
|
-
readonly txKeyFilter: import("@angular/core").InputSignal<
|
|
26
|
+
/** A preset name or a `RegExp` that one character must match; `null`, `undefined`, `false` or `''` switch the filter off (no blocking, cleaning or validation) */
|
|
27
|
+
readonly txKeyFilter: import("@angular/core").InputSignal<TxKeyFilterValue>;
|
|
26
28
|
/** Extra characters allowed on top of the preset, e.g. `'-_ '` */
|
|
27
29
|
readonly keyFilterExtra: import("@angular/core").InputSignal<string>;
|
|
28
30
|
/** Do not block input; add a `keyFilter` error to the form control when the value has other characters */
|
|
29
31
|
readonly validateOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
30
|
-
readonly rule: import("@angular/core").Signal<
|
|
32
|
+
readonly rule: import("@angular/core").Signal<TxKeyFilterRule | null>;
|
|
33
|
+
private readonly blockingRule;
|
|
34
|
+
private composing;
|
|
35
|
+
private previous;
|
|
36
|
+
private validatorChange;
|
|
37
|
+
private validatorReady;
|
|
38
|
+
private readonly revalidate;
|
|
31
39
|
onBeforeInput(inputEvent: Event): void;
|
|
40
|
+
onInput(event: Event): void;
|
|
41
|
+
onCompositionStart(): void;
|
|
42
|
+
onCompositionEnd(): void;
|
|
32
43
|
onPaste(event: Event): void;
|
|
33
44
|
onDrop(event: Event): void;
|
|
34
45
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
46
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
47
|
+
private clean;
|
|
48
|
+
private placeCaret;
|
|
49
|
+
private notify;
|
|
35
50
|
private insertFiltered;
|
|
36
51
|
private accepts;
|
|
37
52
|
private selection;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-key-filter.d.ts","names":[],"sources":["../../../../packages/ui/key-filter/src/key-filter.types.ts","../../../../packages/ui/key-filter/src/key-filter.presets.ts","../../../../packages/ui/key-filter/src/key-filter.directive.ts"],"mappings":";;;YACY;;iBAeK;;EAEf,MAAM;;EAEN,QAAQ;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-key-filter.d.ts","names":[],"sources":["../../../../packages/ui/key-filter/src/key-filter.types.ts","../../../../packages/ui/key-filter/src/key-filter.presets.ts","../../../../packages/ui/key-filter/src/key-filter.directive.ts"],"mappings":";;;YACY;;iBAeK;;EAEf,MAAM;;EAEN,QAAQ;;;YAIE,mBAAmB,oBAAoB;;qBCrBtC,uBAAuB,OAAO,mBAAmB;;wBAgB9C,gBAAgB,QAAQ,oBAAoB,QAAQ,iBAAa;;wBAUjE,mBAAmB,MAAM,iBAAiB;;;;;qBCR7C,uBAAuB;UAC1B;;WAEC,qCAAW,YAAA;;WACX,wCAAc;;WACd,sCAAY;WAEZ,8BAAI,OAAA;mBAII;UAET;UACA;UACA;UACA;mBACS;EASjB,cAAc,YAAY;EAiB1B,QAAQ,OAAO;EAMf;EAKA;EAKA,QAAQ,OAAO;EAOf,OAAO,OAAO;EAOd,SAAS,SAAS,kBAAkB;EASpC,0BAA0B;UAIlB;UAwBA;UAQA;UAIA;UAeA;UAOA;SAhJG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
|
|
@@ -30,13 +30,15 @@ export declare class TxKnobValueTemplate {
|
|
|
30
30
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TxKnobValueTemplate, "ng-template[txKnobValue]", never, {}, {}, never, never, true, never>;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
* A value on a dial: drag along the ring or use the keyboard.
|
|
34
|
-
*
|
|
33
|
+
* A value on a dial: drag along the ring or use the keyboard. A `ControlValueAccessor` — works with `[formControl]`,
|
|
34
|
+
* `ngModel`, signal forms and `[(value)]`.
|
|
35
35
|
*/
|
|
36
36
|
export declare class TxKnob extends TxFormControlBase<number> {
|
|
37
37
|
private readonly knobTheme;
|
|
38
38
|
private localeService;
|
|
39
39
|
private lastFraction;
|
|
40
|
+
/** Two-way: the value (`null` shows `min`); use it or a form control */
|
|
41
|
+
readonly value: import("@angular/core").ModelSignal<number | null>;
|
|
40
42
|
/** Smallest value */
|
|
41
43
|
readonly min: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
42
44
|
/** Largest value of the scale */
|
|
@@ -123,6 +125,11 @@ export declare class TxKnob extends TxFormControlBase<number> {
|
|
|
123
125
|
private point;
|
|
124
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxKnob, never>;
|
|
125
127
|
static ɵcmp: i0.ɵɵComponentDeclaration<TxKnob, "tx-knob", never, {
|
|
128
|
+
"value": {
|
|
129
|
+
"alias": "value";
|
|
130
|
+
"required": false;
|
|
131
|
+
"isSignal": true;
|
|
132
|
+
};
|
|
126
133
|
"min": {
|
|
127
134
|
"alias": "min";
|
|
128
135
|
"required": false;
|
|
@@ -224,6 +231,7 @@ export declare class TxKnob extends TxFormControlBase<number> {
|
|
|
224
231
|
"isSignal": true;
|
|
225
232
|
};
|
|
226
233
|
}, {
|
|
234
|
+
"value": "valueChange";
|
|
227
235
|
"changed": "changed";
|
|
228
236
|
}, ["template"], never, true, never>;
|
|
229
237
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-knob.d.ts","names":[],"sources":["../../../../packages/ui/knob/src/knob.types.ts","../../../../packages/ui/knob/src/knob-templates.directive.ts","../../../../packages/ui/knob/src/knob.component.ts"],"mappings":";;;;;;YACY;;YAEA;;iBAGK;;EAEf;;EAEA,eAAe;;;iBAIA;;EAEf;;;;;;qBCZW;WACF,aAAW,YAAA;SAEb,uBAAuB,YAAY,qBAAqB,mBAAmB,WAAW;SAHlF,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-knob.d.ts","names":[],"sources":["../../../../packages/ui/knob/src/knob.types.ts","../../../../packages/ui/knob/src/knob-templates.directive.ts","../../../../packages/ui/knob/src/knob.component.ts"],"mappings":";;;;;;YACY;;YAEA;;iBAGK;;EAEf;;EAEA,eAAe;;;iBAIA;;EAEf;;;;;;qBCZW;WACF,aAAW,YAAA;SAEb,uBAAuB,YAAY,qBAAqB,mBAAmB,WAAW;SAHlF,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBCsCA,eAAe;mBACT;UAET;UACA;;WAEU,+BAAK;;WACd,6BAAG;;WACH,6BAAG;;WACH,8BAAI;;WACJ,+BAAK;;WACL,8BAAI;;WACJ,qCAAW;;WACX,6BAA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AA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA"}
|
|
@@ -15,7 +15,9 @@ export declare class TxLabel {
|
|
|
15
15
|
readonly colon: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
16
16
|
/** smaller, muted — for filters and dense forms */
|
|
17
17
|
readonly subtle: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
18
|
-
/**
|
|
18
|
+
/** shows a check mark after the text — bind it to whether the field has a value */
|
|
19
|
+
readonly filled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
20
|
+
/** help icon after the text; the hint opens in a `txTooltip` on hover and focus */
|
|
19
21
|
readonly tooltip: import("@angular/core").InputSignal<string | undefined>;
|
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxLabel, never>;
|
|
21
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<TxLabel, "tx-label", never, {
|
|
@@ -39,6 +41,11 @@ export declare class TxLabel {
|
|
|
39
41
|
"required": false;
|
|
40
42
|
"isSignal": true;
|
|
41
43
|
};
|
|
44
|
+
"filled": {
|
|
45
|
+
"alias": "filled";
|
|
46
|
+
"required": false;
|
|
47
|
+
"isSignal": true;
|
|
48
|
+
};
|
|
42
49
|
"tooltip": {
|
|
43
50
|
"alias": "tooltip";
|
|
44
51
|
"required": false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-label.d.ts","names":[],"sources":["../../../../packages/ui/label/src/label.types.ts","../../../../packages/ui/label/src/label.component.ts","../../../../packages/ui/label/src/float-label.component.ts","../../../../packages/ui/label/src/ifta-label.component.ts"],"mappings":";;YACY;;;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-label.d.ts","names":[],"sources":["../../../../packages/ui/label/src/label.types.ts","../../../../packages/ui/label/src/label.component.ts","../../../../packages/ui/label/src/float-label.component.ts","../../../../packages/ui/label/src/ifta-label.component.ts"],"mappings":";;YACY;;;;;qBC4BC;mBACM;;WAER,6BAAG;;WACH,kCAAQ;;WACR,+BAAK;;WACL,gCAAM;;WACN,gCAAM;;WACN,iCAAO;SARL,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAO;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;;;;qBCdP;mBACM;;WAER,iCAAO,YAAA;SAHL,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAY;MAAA;MAAA;MAAA;;;;;;;;qBCDZ;mBACM;SADN,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA"}
|
|
@@ -109,6 +109,7 @@ export declare class TxLink {
|
|
|
109
109
|
private readonly linkTheme;
|
|
110
110
|
private document;
|
|
111
111
|
private timer;
|
|
112
|
+
private destroyed;
|
|
112
113
|
/** URL (without a protocol `https://` is added), email or phone number */
|
|
113
114
|
readonly link: import("@angular/core").InputSignal<string | null | undefined>;
|
|
114
115
|
/** `url`, `email` (`mailto:`) or `phone` (`tel:`) */
|
|
@@ -135,12 +136,15 @@ export declare class TxLink {
|
|
|
135
136
|
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
136
137
|
/** Removes the tectra styles */
|
|
137
138
|
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
138
|
-
/** the link was copied; gives the copied text */
|
|
139
|
+
/** the link was copied; gives the copied text. Copying uses the Clipboard API and falls back to a selection outside a secure context */
|
|
139
140
|
readonly copied: import("@angular/core").OutputEmitterRef<string>;
|
|
141
|
+
/** the browser refused to copy; gives the text. The button says "Could not copy" for a moment instead of the check mark — show your own message from here */
|
|
142
|
+
readonly copyFailed: import("@angular/core").OutputEmitterRef<string>;
|
|
140
143
|
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
141
144
|
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
142
145
|
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxLinkPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
143
146
|
readonly isCopied: import("@angular/core").WritableSignal<boolean>;
|
|
147
|
+
readonly isCopyFailed: import("@angular/core").WritableSignal<boolean>;
|
|
144
148
|
readonly value: import("@angular/core").Signal<string>;
|
|
145
149
|
readonly fullText: import("@angular/core").Signal<string>;
|
|
146
150
|
readonly isTruncated: import("@angular/core").Signal<boolean>;
|
|
@@ -151,11 +155,12 @@ export declare class TxLink {
|
|
|
151
155
|
readonly opensNewTab: import("@angular/core").Signal<boolean>;
|
|
152
156
|
readonly showExternal: import("@angular/core").Signal<boolean>;
|
|
153
157
|
readonly copyLabel: import("@angular/core").Signal<string>;
|
|
158
|
+
readonly copyStateLabel: import("@angular/core").Signal<string>;
|
|
154
159
|
readonly hostStyle: import("@angular/core").Signal<{
|
|
155
160
|
[x: string]: string;
|
|
156
161
|
}>;
|
|
157
162
|
constructor();
|
|
158
|
-
copy():
|
|
163
|
+
copy(): Promise<boolean>;
|
|
159
164
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxLink, never>;
|
|
160
165
|
static ɵcmp: i0.ɵɵComponentDeclaration<TxLink, "tx-link", never, {
|
|
161
166
|
"link": {
|
|
@@ -225,6 +230,7 @@ export declare class TxLink {
|
|
|
225
230
|
};
|
|
226
231
|
}, {
|
|
227
232
|
"copied": "copied";
|
|
233
|
+
"copyFailed": "copyFailed";
|
|
228
234
|
}, never, never, true, never>;
|
|
229
235
|
}
|
|
230
236
|
//# sourceMappingURL=tectra-ng-ui-link.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-link.d.ts","names":[],"sources":["../../../../packages/ui/link/src/link.types.ts","../../../../packages/ui/link/src/icon-link.component.ts","../../../../packages/ui/link/src/link.component.ts"],"mappings":";;;;;;YACY;;YAGA;;YAGA;;YAGA;;;;;qBCgBC;mBACM;UAET;;WAEC,8BAAI,YAAA;;WACJ,8BAAI;;WACJ,oCAAU,YAAA;;WACV,8BAAI;;WACJ,gCAAM;;WACN,+BAAK;;WACL,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,iDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,iDAAA;WACX,kCAAQ,OAAA;WAIR,wCAAc;WACd,qCAAW;WACX,mCAAS;;;SAzBP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAU;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;;;;qBCKV;mBACM;UAET;UACA;;WAEC,8BAAI;;WACJ,8BAAI,YAAA;;WACJ,kCAAQ;;WACR,mCAAS,YAAA;;WACT,mCAAS;;WACT,oCAAU,YAAA;;WACV,gCAAM;;WACN,kCAAQ;;WACR,kCAAQ;;WACR,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,6CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,gCAAM;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-link.d.ts","names":[],"sources":["../../../../packages/ui/link/src/link.types.ts","../../../../packages/ui/link/src/icon-link.component.ts","../../../../packages/ui/link/src/link.component.ts"],"mappings":";;;;;;YACY;;YAGA;;YAGA;;YAGA;;;;;qBCgBC;mBACM;UAET;;WAEC,8B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AA,MAAA,GAAA,uBAAA;IAAM;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { ElementRef } from "@angular/core";
|
|
3
3
|
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
4
|
+
import { TxPanelWidth } from "@tectra-ng/core/overlay";
|
|
4
5
|
import { TectraDeepPartial, TectraMentionTokens } from "@tectra-ng/themes";
|
|
5
6
|
import { TxOptionsBase, TxSelectItem, TxSelectPart } from "@tectra-ng/ui/select";
|
|
6
7
|
/** One suggestion of `tx-mention-textarea`: who or what can be mentioned. */
|
|
@@ -70,6 +71,7 @@ export declare class TxMentionTextarea extends TxOptionsBase<string> {
|
|
|
70
71
|
readonly isInvalid: import("@angular/core").Signal<boolean>;
|
|
71
72
|
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxMentionTextareaPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
72
73
|
readonly positions: import("@angular/cdk/overlay").ConnectedPosition[];
|
|
74
|
+
readonly panelWidth: TxPanelWidth;
|
|
73
75
|
readonly scrollStrategy: import("@angular/cdk/overlay").ScrollStrategy;
|
|
74
76
|
protected readonly source: import("@angular/core").InputSignal<readonly TxMentionItem[]>;
|
|
75
77
|
protected readonly localQuery: import("@angular/core").Signal<string>;
|
|
@@ -88,6 +90,9 @@ export declare class TxMentionTextarea extends TxOptionsBase<string> {
|
|
|
88
90
|
readonly hostStyle: import("@angular/core").Signal<{
|
|
89
91
|
[x: string]: string;
|
|
90
92
|
}>;
|
|
93
|
+
readonly panelStyle: import("@angular/core").Signal<{
|
|
94
|
+
[x: string]: string;
|
|
95
|
+
}>;
|
|
91
96
|
constructor();
|
|
92
97
|
onInput(): void;
|
|
93
98
|
onKeydown(event: KeyboardEvent): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-mention-textarea.d.ts","names":[],"sources":["../../../../packages/ui/mention-textarea/src/mention-textarea.types.ts","../../../../packages/ui/mention-textarea/src/mention-textarea.component.ts","../../../../packages/ui/mention-textarea/src/caret.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-mention-textarea.d.ts","names":[],"sources":["../../../../packages/ui/mention-textarea/src/mention-textarea.types.ts","../../../../packages/ui/mention-textarea/src/mention-textarea.component.ts","../../../../packages/ui/mention-textarea/src/caret.ts"],"mappings":";;;;;;;iBAGiB;;EAEf;;EAEA;;EAEA;;EAEA;;;YAIU,8CAA8C,QAAQ;;iBAGjD;;EAEf;;;;;;qBC4BW,0BAA0B;mBACpB;;WAER,qCAAW,qBAAA;;WACX,iCAAO;;WACP,qCAAW;;WACX,+BAAK;;WACL,oCAAU;;WACV,qCAAW;;WACX,iCAAO;;WACP,mCAAS;;WACT,wCAAc;;WACd,iCAAO;;WACP,kCAAQ;;WACR,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,wDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,wCAAc;;WACd,mCAAS,iBAAA;WAET,kCAAQ,OAAA,WAAA;UACT;UACA;mBACS;mBACA;WAYR,oCAAU;WACV,mCAAS;WACT,qCAAW,OAAA,QAAA,OAAA,wDAAA;WACX,0CAAS;WACT,YAAU;WACV,+CAAc;qBACJ,gCAAM,qBAAA;qBACG,oCAAU;WAE7B,gCAAM;WACN,+BAAK;;;;;UACN;mBACS;UACT;WAEC,8BAAI;WACJ,kCAAQ,OAAA;WAYR,mCAAS;WACT,mCAAS;;;WACT,oCAAU;;;;EAgBnB;EAMA,UAAU,OAAO;EAwBjB;EAMA;EAKA,iBAAiB,OAAO;EAIxB,cAAc,MAAM;EAIpB;YAKU;YAIA;YAIA,SAAS,MAAM;UAoBjB;UA8BA;SApMG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAiB;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA;;;;iBCzBb;;EAEf;;EAEA;;EAEA;;;wBAIc,WAAW,UAAU,qBAAqB,mBAAmB"}
|
|
@@ -53,7 +53,7 @@ export declare class TxMessage {
|
|
|
53
53
|
readonly severity: import("@angular/core").InputSignal<TxMessageSeverity>;
|
|
54
54
|
/** the text; the projected content follows it */
|
|
55
55
|
readonly text: import("@angular/core").InputSignal<string | undefined>;
|
|
56
|
-
/** Icon name (`exclamation-triangle`, also `pi-exclamation-triangle`) or an icon class; no icon by default */
|
|
56
|
+
/** Icon name (`exclamation-triangle`, also `pi-exclamation-triangle`) or an icon class; no icon by default. Words after a tectra icon name are classes on the icon: `spinner spin` (or `pi-spin`) rotates it (`icon.spinDuration` token, slower with reduced motion) */
|
|
57
57
|
readonly icon: import("@angular/core").InputSignal<TxIconName | (string & {}) | undefined>;
|
|
58
58
|
/** `small`, `medium`, `large` */
|
|
59
59
|
readonly size: import("@angular/core").InputSignal<TxMessageSize>;
|
|
@@ -85,7 +85,10 @@ export declare class TxMessage {
|
|
|
85
85
|
readonly isClosed: import("@angular/core").WritableSignal<boolean>;
|
|
86
86
|
readonly role: import("@angular/core").Signal<"alert" | "status">;
|
|
87
87
|
readonly hasIcon: import("@angular/core").Signal<boolean>;
|
|
88
|
+
private readonly iconParts;
|
|
88
89
|
readonly iconName: import("@angular/core").Signal<string | null>;
|
|
90
|
+
readonly iconModifiers: import("@angular/core").Signal<string>;
|
|
91
|
+
readonly iconSpin: import("@angular/core").Signal<boolean>;
|
|
89
92
|
readonly closeIconName: import("@angular/core").Signal<string | null>;
|
|
90
93
|
readonly hostStyle: import("@angular/core").Signal<{
|
|
91
94
|
display?: string | undefined;
|
|
@@ -174,7 +177,7 @@ export declare class TxFieldHint {
|
|
|
174
177
|
/** `tx-field-hint`, `tx-field-error`: own id instead of a generated one */
|
|
175
178
|
readonly id: import("@angular/core").InputSignal<string | undefined>;
|
|
176
179
|
readonly severity: import("@angular/core").InputSignal<TxFieldHintSeverity>;
|
|
177
|
-
/** Icon name (`exclamation-triangle`, also `pi-exclamation-triangle`) or an icon class; no icon by default */
|
|
180
|
+
/** Icon name (`exclamation-triangle`, also `pi-exclamation-triangle`) or an icon class; no icon by default. Words after a tectra icon name are classes on the icon: `spinner spin` (or `pi-spin`) rotates it (`icon.spinDuration` token, slower with reduced motion) */
|
|
178
181
|
readonly icon: import("@angular/core").InputSignal<TxIconName | (string & {}) | undefined>;
|
|
179
182
|
/** Design tokens of this instance (`message` or `fieldMessage`) */
|
|
180
183
|
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraFieldMessageTokens> | undefined>;
|
|
@@ -254,7 +257,7 @@ export declare class TxFieldError {
|
|
|
254
257
|
readonly showImmediately: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
255
258
|
/** text shown when the control has a valid value and was touched or changed (at once with `showImmediately`) */
|
|
256
259
|
readonly successText: import("@angular/core").InputSignal<string | undefined>;
|
|
257
|
-
/** own texts per error key — a string with `{param}` or a function of the error */
|
|
260
|
+
/** own texts per error key — a string with `{param}` or a function of the error; `'*'` is the text for keys that have no text of their own */
|
|
258
261
|
readonly messages: import("@angular/core").InputSignal<TxValidationMessages | undefined>;
|
|
259
262
|
/** `tx-field-hint`, `tx-field-error`: id of the field; adds this text to its `aria-describedby` */
|
|
260
263
|
readonly for: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-message.d.ts","names":[],"sources":["../../../../packages/ui/message/src/message.types.ts","../../../../packages/ui/message/src/message-templates.directive.ts","../../../../packages/ui/message/src/message.component.ts","../../../../packages/ui/message/src/field-hint.component.ts","../../../../packages/ui/message/src/field-error.component.ts"],"mappings":";;;;;;;YACY;;YAEA;;YAEA;;YAEA;;YAEA;;YAEA;;;;;qBCRC;WACF,aAAW;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBAKA;WACF,aAAW;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBAKA;SAAA,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBCmBA;mBACM;UAET;;WAEC,kCAAQ,YAAA;;WACR,8BAAI;;WACJ,8BAAI,YAAA;;WACJ,8BAAI,YAAA;;WACJ,iCAAO,YAAA;;WACP,kCAAQ;;WACR,mCAAS,YAAA;;WACT,8BAAI;;WACJ,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,gDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,gCAAM;WAEN,sCAAY,OAAA;WACZ,2CAAiB,OAAA;WACjB,iCAAO,OAAA;WAEP,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,gDAAA;WAEX,mCAAS;WACT,kCAAQ;WAER,8BAAI;WACJ,iCAAO;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-message.d.ts","names":[],"sources":["../../../../packages/ui/message/src/message.types.ts","../../../../packages/ui/message/src/message-templates.directive.ts","../../../../packages/ui/message/src/message.component.ts","../../../../packages/ui/message/src/field-hint.component.ts","../../../../packages/ui/message/src/field-error.component.ts"],"mappings":";;;;;;;YACY;;YAEA;;YAEA;;YAEA;;YAEA;;YAEA;;;;;qBCRC;WACF,aAAW;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBAKA;WACF,aAAW;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBAKA;SAAA,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBCmBA;mBACM;UAET;;WAEC,kCAAQ,YAAA;;WACR,8BAAI;;WACJ,8BAAI,YAAA;;WACJ,8BAAI,YAAA;;WACJ,iCAAO,YAAA;;WACP,kCAAQ;;WACR,mCAAS,YAAA;;WACT,8BAAI;;WACJ,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,gDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,gCAAM;WAEN,sCAAY,OAAA;WACZ,2CAAiB,OAAA;WACjB,iCAAO,OAAA;WAEP,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,gDAAA;WAEX,mCAAS;WACT,kCAAQ;WAER,8BAAI;WACJ,iCAAO;mBACC;WAIR,kCAAQ;WACR,uCAAa;WACb,kCAAQ;WACR,uCAAa;WACb,mCAAS;;;;EAgBlB;EAWA,eAAe,OAAO;UAMd;UAMA;SAhFG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAS;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;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IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
|
|
@@ -52,6 +52,8 @@ export interface TxMonthCalendarLabels {
|
|
|
52
52
|
/** Accessible name of the calendar grid. */
|
|
53
53
|
region: string;
|
|
54
54
|
}
|
|
55
|
+
/** Own texts of `tx-month-calendar`; a missing, empty or `null` text keeps the translated one. */
|
|
56
|
+
export type TxMonthCalendarLabelInput = { readonly [K in keyof TxMonthCalendarLabels]?: string | null; };
|
|
55
57
|
/** One day cell of the laid out month. */
|
|
56
58
|
export interface TxMonthCalendarDay {
|
|
57
59
|
/** Day as `YYYY-MM-DD`. */
|
|
@@ -186,12 +188,14 @@ export declare class TxMonthCalendar {
|
|
|
186
188
|
readonly weekStartsOn: import("@angular/core").InputSignal<number | undefined>;
|
|
187
189
|
/** Bar rows per week; the rest goes to the `+N` link of the day */
|
|
188
190
|
readonly maxLanes: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
189
|
-
/** Own texts `{ more, today, region }`: `more` with a `{count}` placeholder, `today` added to the name of today, `region` the name of the grid;
|
|
190
|
-
readonly labels: import("@angular/core").InputSignal<
|
|
191
|
+
/** Own texts `{ more, today, region }`: `more` with a `{count}` placeholder, `today` added to the name of today, `region` the name of the grid; a missing, empty or `null` text stays translated */
|
|
192
|
+
readonly labels: import("@angular/core").InputSignal<TxMonthCalendarLabelInput | null | undefined>;
|
|
191
193
|
/** BCP 47 locale for weekday names and day names; the kit locale by default */
|
|
192
194
|
readonly locale: import("@angular/core").InputSignal<string | undefined>;
|
|
193
195
|
/** The day treated as today (the day of creation by default); pass it from a clock if the page stays open over midnight */
|
|
194
196
|
readonly today: import("@angular/core").InputSignal<Date | undefined>;
|
|
197
|
+
/** Content of a bar as a `TemplateRef` — for a component that wraps the calendar and gets the template from its own content; it wins over a `txMonthCalendarEvent` template inside the calendar */
|
|
198
|
+
readonly eventTemplate: import("@angular/core").InputSignal<TemplateRef<TxMonthCalendarEventContext> | null | undefined>;
|
|
195
199
|
/** Design tokens of this instance (`monthCalendar`) */
|
|
196
200
|
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraMonthCalendarTokens> | undefined>;
|
|
197
201
|
/** Classes and styles of the parts: `root`, `grid`, `head`, `weekday`, `week`, `cell`, `day`, `number`, `marker`, `event`, `more` */
|
|
@@ -204,7 +208,8 @@ export declare class TxMonthCalendar {
|
|
|
204
208
|
readonly dayClick: import("@angular/core").OutputEmitterRef<Date>;
|
|
205
209
|
/** A bar was clicked; the event */
|
|
206
210
|
readonly eventClick: import("@angular/core").OutputEmitterRef<TxMonthCalendarEvent<unknown>>;
|
|
207
|
-
protected readonly
|
|
211
|
+
protected readonly eventSlot: import("@angular/core").Signal<TxMonthCalendarEventTemplate | undefined>;
|
|
212
|
+
protected readonly resolvedEventTemplate: import("@angular/core").Signal<TemplateRef<TxMonthCalendarEventContext> | null>;
|
|
208
213
|
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
209
214
|
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
210
215
|
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxMonthCalendarPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
@@ -271,6 +276,11 @@ export declare class TxMonthCalendar {
|
|
|
271
276
|
"required": false;
|
|
272
277
|
"isSignal": true;
|
|
273
278
|
};
|
|
279
|
+
"eventTemplate": {
|
|
280
|
+
"alias": "eventTemplate";
|
|
281
|
+
"required": false;
|
|
282
|
+
"isSignal": true;
|
|
283
|
+
};
|
|
274
284
|
"dt": {
|
|
275
285
|
"alias": "dt";
|
|
276
286
|
"required": false;
|
|
@@ -294,6 +304,6 @@ export declare class TxMonthCalendar {
|
|
|
294
304
|
}, {
|
|
295
305
|
"dayClick": "dayClick";
|
|
296
306
|
"eventClick": "eventClick";
|
|
297
|
-
}, ["
|
|
307
|
+
}, ["eventSlot"], never, true, never>;
|
|
298
308
|
}
|
|
299
309
|
//# sourceMappingURL=tectra-ng-ui-month-calendar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-month-calendar.d.ts","names":[],"sources":["../../../../packages/ui/month-calendar/src/month-calendar.types.ts","../../../../packages/ui/month-calendar/src/month-calendar.templates.ts","../../../../packages/ui/month-calendar/src/month-calendar.layout.ts","../../../../packages/ui/month-calendar/src/month-calendar.component.ts"],"mappings":";;;;;YACY;;YAGA,2BAA2B;;YAG3B;;iBAGK;;EAEf;;EAEA;;;iBAIe,qBAAqB;;EAEpC;;EAEA,OAAO;;EAEP,MAAM;;EAEN;;EAEA,MAAM;;EAEN,SAAS;;EAET,OAAO;;;iBAIQ;;EAEf,MAAM;;EAEN,MAAM;;EAEN;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-month-calendar.d.ts","names":[],"sources":["../../../../packages/ui/month-calendar/src/month-calendar.types.ts","../../../../packages/ui/month-calendar/src/month-calendar.templates.ts","../../../../packages/ui/month-calendar/src/month-calendar.layout.ts","../../../../packages/ui/month-calendar/src/month-calendar.component.ts"],"mappings":";;;;;YACY;;YAGA,2BAA2B;;YAG3B;;iBAGK;;EAEf;;EAEA;;;iBAIe,qBAAqB;;EAEpC;;EAEA,OAAO;;EAEP,MAAM;;EAEN;;EAEA,MAAM;;EAEN,SAAS;;EAET,OAAO;;;iBAIQ;;EAEf,MAAM;;EAEN,MAAM;;EAEN;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;;YAIU,wCAAwC,WAAW;;iBAG9C;;EAEf;;EAEA,MAAM;;EAEN;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,SAAS;;EAET,QAAQ;;EAER,MAAM;;EAEN;;;iBAIe;;EAEf;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KAAK;SAhF7B,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAe;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA"}
|
|
@@ -17,7 +17,7 @@ export interface TxMultiselectChangeEvent {
|
|
|
17
17
|
selected: boolean;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
* Pick several values from a list. The value is an array; works with `[formControl]`, `ngModel` and signal forms. Shares the option engine, keyboard and panel with `tx-select`: groups, search, virtual scroll, lazy loading and templates work the same.
|
|
20
|
+
* Pick several values from a list. The value is an array; works with `[formControl]`, `ngModel` and signal forms. Shares the option engine, keyboard and panel with `tx-select`: groups, search, virtual scroll, lazy loading and templates work the same. The panel sizes itself like the one of `tx-select`.
|
|
21
21
|
* @see https://tectra-ng.com/components/multiselect
|
|
22
22
|
*/
|
|
23
23
|
export declare class TxMultiselect extends TxSelectBase<unknown[]> {
|