@tectra-ng/ui 0.3.2 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/data-view/README.md +9 -1
- package/dialog/README.md +3 -0
- package/fesm2022/tectra-ng-ui-accordion.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-amount.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-analog-clock.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-avatar.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-carousel.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-checkbox.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-chips-input.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-color-picker.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-confirm.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-countdown.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-country.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-data-view.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-datepicker.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-dialog.mjs +51 -0
- package/fesm2022/tectra-ng-ui-dialog.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-email-suggestion.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-export-font.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-export.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-file-upload.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-galleria.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-highlight-text.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-icon-field.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-image.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-input-mask.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-input-number.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-key-filter.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-list-input.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-mention-textarea.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-menu.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-month-calendar.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-paginator.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-panel-menu.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-password-generator.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-radio-button.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-sparkline.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-splitter.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-stat-tiles.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-stepper.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-table.mjs +2 -2
- package/fesm2022/tectra-ng-ui-table.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tabs.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-toast.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-toolbar.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tooltip.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tree-select.mjs +20 -3
- package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tree-table.mjs +2 -2
- package/fesm2022/tectra-ng-ui-tree-table.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tree.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-virtual-scroller.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui.mjs +1 -1
- package/fesm2022/tectra-ng-ui.mjs.map +1 -1
- package/package.json +4 -4
- package/table/README.md +1 -0
- package/tree-select/README.md +1 -0
- package/types/tectra-ng-ui-accordion.d.ts +96 -65
- package/types/tectra-ng-ui-accordion.d.ts.map +1 -1
- package/types/tectra-ng-ui-amount.d.ts +40 -17
- package/types/tectra-ng-ui-amount.d.ts.map +1 -1
- package/types/tectra-ng-ui-analog-clock.d.ts +28 -41
- package/types/tectra-ng-ui-analog-clock.d.ts.map +1 -1
- package/types/tectra-ng-ui-autocomplete.d.ts +35 -96
- package/types/tectra-ng-ui-autocomplete.d.ts.map +1 -1
- package/types/tectra-ng-ui-avatar.d.ts +84 -259
- package/types/tectra-ng-ui-avatar.d.ts.map +1 -1
- package/types/tectra-ng-ui-badge.d.ts +18 -61
- package/types/tectra-ng-ui-badge.d.ts.map +1 -1
- package/types/tectra-ng-ui-breadcrumb.d.ts +53 -36
- package/types/tectra-ng-ui-breadcrumb.d.ts.map +1 -1
- package/types/tectra-ng-ui-button-group.d.ts +4 -0
- package/types/tectra-ng-ui-button-group.d.ts.map +1 -1
- package/types/tectra-ng-ui-button.d.ts +45 -266
- package/types/tectra-ng-ui-button.d.ts.map +1 -1
- package/types/tectra-ng-ui-card.d.ts +14 -16
- package/types/tectra-ng-ui-card.d.ts.map +1 -1
- package/types/tectra-ng-ui-carousel.d.ts +55 -27
- package/types/tectra-ng-ui-carousel.d.ts.map +1 -1
- package/types/tectra-ng-ui-cascade-select.d.ts +48 -8
- package/types/tectra-ng-ui-cascade-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-checkbox.d.ts +79 -119
- package/types/tectra-ng-ui-checkbox.d.ts.map +1 -1
- package/types/tectra-ng-ui-chip.d.ts +19 -22
- package/types/tectra-ng-ui-chip.d.ts.map +1 -1
- package/types/tectra-ng-ui-chips-input.d.ts +41 -11
- package/types/tectra-ng-ui-chips-input.d.ts.map +1 -1
- package/types/tectra-ng-ui-color-picker.d.ts +51 -47
- package/types/tectra-ng-ui-color-picker.d.ts.map +1 -1
- package/types/tectra-ng-ui-confirm.d.ts +45 -0
- package/types/tectra-ng-ui-confirm.d.ts.map +1 -1
- package/types/tectra-ng-ui-countdown.d.ts +42 -10
- package/types/tectra-ng-ui-countdown.d.ts.map +1 -1
- package/types/tectra-ng-ui-country-select.d.ts +41 -96
- package/types/tectra-ng-ui-country-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-country.d.ts +40 -17
- package/types/tectra-ng-ui-country.d.ts.map +1 -1
- package/types/tectra-ng-ui-data-view.d.ts +92 -34
- package/types/tectra-ng-ui-data-view.d.ts.map +1 -1
- package/types/tectra-ng-ui-datepicker.d.ts +186 -147
- package/types/tectra-ng-ui-datepicker.d.ts.map +1 -1
- package/types/tectra-ng-ui-dialog.d.ts +149 -67
- package/types/tectra-ng-ui-dialog.d.ts.map +1 -1
- package/types/tectra-ng-ui-divider.d.ts +17 -12
- package/types/tectra-ng-ui-divider.d.ts.map +1 -1
- package/types/tectra-ng-ui-drawer.d.ts +31 -67
- package/types/tectra-ng-ui-drawer.d.ts.map +1 -1
- package/types/tectra-ng-ui-email-suggestion.d.ts +25 -8
- package/types/tectra-ng-ui-email-suggestion.d.ts.map +1 -1
- package/types/tectra-ng-ui-export-font.d.ts +1 -0
- package/types/tectra-ng-ui-export-font.d.ts.map +1 -1
- package/types/tectra-ng-ui-export.d.ts +238 -0
- package/types/tectra-ng-ui-export.d.ts.map +1 -1
- package/types/tectra-ng-ui-field.d.ts +24 -11
- package/types/tectra-ng-ui-field.d.ts.map +1 -1
- package/types/tectra-ng-ui-fieldset.d.ts +14 -23
- package/types/tectra-ng-ui-fieldset.d.ts.map +1 -1
- package/types/tectra-ng-ui-file-upload.d.ts +127 -115
- package/types/tectra-ng-ui-file-upload.d.ts.map +1 -1
- package/types/tectra-ng-ui-galleria.d.ts +84 -84
- package/types/tectra-ng-ui-galleria.d.ts.map +1 -1
- package/types/tectra-ng-ui-highlight-text.d.ts +24 -10
- package/types/tectra-ng-ui-highlight-text.d.ts.map +1 -1
- package/types/tectra-ng-ui-icon-field.d.ts +20 -0
- package/types/tectra-ng-ui-icon-field.d.ts.map +1 -1
- package/types/tectra-ng-ui-image.d.ts +60 -36
- package/types/tectra-ng-ui-image.d.ts.map +1 -1
- package/types/tectra-ng-ui-input-group.d.ts +9 -0
- package/types/tectra-ng-ui-input-group.d.ts.map +1 -1
- package/types/tectra-ng-ui-input-mask.d.ts +39 -0
- package/types/tectra-ng-ui-input-mask.d.ts.map +1 -1
- package/types/tectra-ng-ui-input-number.d.ts +73 -15
- package/types/tectra-ng-ui-input-number.d.ts.map +1 -1
- package/types/tectra-ng-ui-input-otp.d.ts +28 -21
- package/types/tectra-ng-ui-input-otp.d.ts.map +1 -1
- package/types/tectra-ng-ui-input.d.ts +17 -50
- package/types/tectra-ng-ui-input.d.ts.map +1 -1
- package/types/tectra-ng-ui-key-filter.d.ts +14 -0
- package/types/tectra-ng-ui-key-filter.d.ts.map +1 -1
- package/types/tectra-ng-ui-knob.d.ts +38 -18
- package/types/tectra-ng-ui-knob.d.ts.map +1 -1
- package/types/tectra-ng-ui-label.d.ts +19 -0
- package/types/tectra-ng-ui-label.d.ts.map +1 -1
- package/types/tectra-ng-ui-link.d.ts +39 -34
- package/types/tectra-ng-ui-link.d.ts.map +1 -1
- package/types/tectra-ng-ui-list-input.d.ts +54 -45
- package/types/tectra-ng-ui-list-input.d.ts.map +1 -1
- package/types/tectra-ng-ui-listbox.d.ts +24 -14
- package/types/tectra-ng-ui-listbox.d.ts.map +1 -1
- package/types/tectra-ng-ui-mention-textarea.d.ts +36 -9
- package/types/tectra-ng-ui-mention-textarea.d.ts.map +1 -1
- package/types/tectra-ng-ui-menu.d.ts +92 -166
- package/types/tectra-ng-ui-menu.d.ts.map +1 -1
- package/types/tectra-ng-ui-menubar.d.ts +29 -58
- package/types/tectra-ng-ui-menubar.d.ts.map +1 -1
- package/types/tectra-ng-ui-message.d.ts +61 -126
- package/types/tectra-ng-ui-message.d.ts.map +1 -1
- package/types/tectra-ng-ui-month-calendar.d.ts +98 -87
- package/types/tectra-ng-ui-month-calendar.d.ts.map +1 -1
- package/types/tectra-ng-ui-multiselect.d.ts +26 -96
- package/types/tectra-ng-ui-multiselect.d.ts.map +1 -1
- package/types/tectra-ng-ui-overlay-badge.d.ts +20 -9
- package/types/tectra-ng-ui-overlay-badge.d.ts.map +1 -1
- package/types/tectra-ng-ui-paginator.d.ts +69 -47
- package/types/tectra-ng-ui-paginator.d.ts.map +1 -1
- package/types/tectra-ng-ui-panel-menu.d.ts +52 -105
- package/types/tectra-ng-ui-panel-menu.d.ts.map +1 -1
- package/types/tectra-ng-ui-panel.d.ts +22 -30
- package/types/tectra-ng-ui-panel.d.ts.map +1 -1
- package/types/tectra-ng-ui-password-generator.d.ts +27 -0
- package/types/tectra-ng-ui-password-generator.d.ts.map +1 -1
- package/types/tectra-ng-ui-password.d.ts +55 -26
- package/types/tectra-ng-ui-password.d.ts.map +1 -1
- package/types/tectra-ng-ui-pill.d.ts +23 -70
- package/types/tectra-ng-ui-pill.d.ts.map +1 -1
- package/types/tectra-ng-ui-popover.d.ts +58 -46
- package/types/tectra-ng-ui-popover.d.ts.map +1 -1
- package/types/tectra-ng-ui-progress-bar.d.ts +32 -28
- package/types/tectra-ng-ui-progress-bar.d.ts.map +1 -1
- package/types/tectra-ng-ui-progress-spinner.d.ts +18 -16
- package/types/tectra-ng-ui-progress-spinner.d.ts.map +1 -1
- package/types/tectra-ng-ui-radio-button.d.ts +64 -115
- package/types/tectra-ng-ui-radio-button.d.ts.map +1 -1
- package/types/tectra-ng-ui-rating.d.ts +40 -29
- package/types/tectra-ng-ui-rating.d.ts.map +1 -1
- package/types/tectra-ng-ui-scroll-panel.d.ts +22 -17
- package/types/tectra-ng-ui-scroll-panel.d.ts.map +1 -1
- package/types/tectra-ng-ui-select.d.ts +169 -100
- package/types/tectra-ng-ui-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-skeleton.d.ts +34 -37
- package/types/tectra-ng-ui-skeleton.d.ts.map +1 -1
- package/types/tectra-ng-ui-slider.d.ts +37 -33
- package/types/tectra-ng-ui-slider.d.ts.map +1 -1
- package/types/tectra-ng-ui-sparkline.d.ts +22 -15
- package/types/tectra-ng-ui-sparkline.d.ts.map +1 -1
- package/types/tectra-ng-ui-speed-dial.d.ts +34 -11
- package/types/tectra-ng-ui-speed-dial.d.ts.map +1 -1
- package/types/tectra-ng-ui-split-button.d.ts +28 -7
- package/types/tectra-ng-ui-split-button.d.ts.map +1 -1
- package/types/tectra-ng-ui-splitter.d.ts +47 -23
- package/types/tectra-ng-ui-splitter.d.ts.map +1 -1
- package/types/tectra-ng-ui-stat-tiles.d.ts +39 -91
- package/types/tectra-ng-ui-stat-tiles.d.ts.map +1 -1
- package/types/tectra-ng-ui-status-icon.d.ts +19 -23
- package/types/tectra-ng-ui-status-icon.d.ts.map +1 -1
- package/types/tectra-ng-ui-stepper.d.ts +106 -133
- package/types/tectra-ng-ui-stepper.d.ts.map +1 -1
- package/types/tectra-ng-ui-table.d.ts +415 -183
- package/types/tectra-ng-ui-table.d.ts.map +1 -1
- package/types/tectra-ng-ui-tabs.d.ts +91 -133
- package/types/tectra-ng-ui-tabs.d.ts.map +1 -1
- package/types/tectra-ng-ui-tag.d.ts +46 -135
- package/types/tectra-ng-ui-tag.d.ts.map +1 -1
- package/types/tectra-ng-ui-textarea.d.ts +25 -31
- package/types/tectra-ng-ui-textarea.d.ts.map +1 -1
- package/types/tectra-ng-ui-timeline.d.ts +39 -27
- package/types/tectra-ng-ui-timeline.d.ts.map +1 -1
- package/types/tectra-ng-ui-toast.d.ts +84 -78
- package/types/tectra-ng-ui-toast.d.ts.map +1 -1
- package/types/tectra-ng-ui-toggle-button.d.ts +29 -55
- package/types/tectra-ng-ui-toggle-button.d.ts.map +1 -1
- package/types/tectra-ng-ui-toggle-switch.d.ts +41 -55
- package/types/tectra-ng-ui-toggle-switch.d.ts.map +1 -1
- package/types/tectra-ng-ui-toolbar.d.ts +15 -14
- package/types/tectra-ng-ui-toolbar.d.ts.map +1 -1
- package/types/tectra-ng-ui-tooltip.d.ts +72 -22
- package/types/tectra-ng-ui-tooltip.d.ts.map +1 -1
- package/types/tectra-ng-ui-tree-select.d.ts +65 -104
- package/types/tectra-ng-ui-tree-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-tree-table.d.ts +30 -0
- package/types/tectra-ng-ui-tree-table.d.ts.map +1 -1
- package/types/tectra-ng-ui-tree.d.ts +197 -69
- package/types/tectra-ng-ui-tree.d.ts.map +1 -1
- package/types/tectra-ng-ui-truncate-text.d.ts +21 -14
- package/types/tectra-ng-ui-truncate-text.d.ts.map +1 -1
- package/types/tectra-ng-ui-virtual-scroller.d.ts +97 -13
- package/types/tectra-ng-ui-virtual-scroller.d.ts.map +1 -1
- package/types/tectra-ng-ui.d.ts +2 -1
- package/types/tectra-ng-ui.d.ts.map +1 -1
|
@@ -3,65 +3,117 @@ import { TemplateRef } from "@angular/core";
|
|
|
3
3
|
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
4
4
|
import { TxSwapEffect } from "@tectra-ng/core/utils";
|
|
5
5
|
import { TxIconName } from "@tectra-ng/icons";
|
|
6
|
-
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
6
|
+
import { TectraDeepPartial, TectraGalleriaTokens } from "@tectra-ng/themes";
|
|
7
|
+
/** Side of the main image where thumbnails, indicators or navigators are placed. */
|
|
7
8
|
export type TxGalleriaPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
9
|
+
/** Parts of `tx-galleria` that `pt` can style. */
|
|
8
10
|
export type TxGalleriaPart = 'root' | 'mask' | 'closeButton' | 'header' | 'content' | 'items' | 'item' | 'navigator' | 'caption' | 'indicators' | 'indicator' | 'thumbnails' | 'thumbnailNavigator' | 'thumbnail' | 'footer';
|
|
11
|
+
/** An image of `tx-galleria` with an optional thumbnail, text and size. */
|
|
9
12
|
export interface TxGalleriaImage {
|
|
13
|
+
/** Address of the full image. */
|
|
10
14
|
src: string;
|
|
15
|
+
/** Address of the thumbnail; `src` when empty. */
|
|
11
16
|
thumbnailSrc?: string;
|
|
17
|
+
/** Alternative text of the image. */
|
|
12
18
|
alt?: string;
|
|
19
|
+
/** Caption title. */
|
|
13
20
|
title?: string;
|
|
21
|
+
/** Caption text under the title. */
|
|
14
22
|
description?: string;
|
|
23
|
+
/** Width attribute of the image, in px; avoids layout shift. */
|
|
15
24
|
width?: number;
|
|
25
|
+
/** Height attribute of the image, in px; avoids layout shift. */
|
|
16
26
|
height?: number;
|
|
17
27
|
}
|
|
28
|
+
/** Changes `numVisible` of `tx-galleria` at a window width. */
|
|
18
29
|
export interface TxGalleriaResponsiveOption {
|
|
30
|
+
/** Maximum window width the option applies to, as a CSS length such as `768px`. */
|
|
19
31
|
breakpoint: string;
|
|
32
|
+
/** Number of thumbnails shown at once at this width. */
|
|
20
33
|
numVisible: number;
|
|
21
34
|
}
|
|
35
|
+
/** Context of a `txGalleriaItem` template: the main slide. */
|
|
22
36
|
export interface TxGalleriaItemContext<T = unknown> {
|
|
37
|
+
/** The item of `value` the slide shows. */
|
|
23
38
|
$implicit: T;
|
|
39
|
+
/** Position of the item in `value`. */
|
|
24
40
|
index: number;
|
|
25
41
|
}
|
|
42
|
+
/** Context of a `txGalleriaThumbnail` template: one thumbnail. */
|
|
26
43
|
export interface TxGalleriaThumbnailContext<T = unknown> {
|
|
44
|
+
/** The item of `value` the thumbnail shows. */
|
|
27
45
|
$implicit: T;
|
|
46
|
+
/** Position of the item in `value`. */
|
|
28
47
|
index: number;
|
|
48
|
+
/** `true` for the thumbnail of the current slide. */
|
|
29
49
|
active: boolean;
|
|
30
50
|
}
|
|
51
|
+
/** Context of a `txGalleriaIndicator` template: one indicator dot. */
|
|
31
52
|
export interface TxGalleriaIndicatorContext {
|
|
53
|
+
/** Position of the slide the indicator belongs to. */
|
|
32
54
|
$implicit: number;
|
|
55
|
+
/** `true` for the indicator of the current slide. */
|
|
33
56
|
active: boolean;
|
|
34
57
|
}
|
|
58
|
+
/**
|
|
59
|
+
* `<ng-template txGalleriaItem let-item let-index="index">` — the active item
|
|
60
|
+
* @see https://tectra-ng.com/components/galleria
|
|
61
|
+
*/
|
|
35
62
|
export declare class TxGalleriaItemTemplate {
|
|
36
63
|
readonly template: TemplateRef<TxGalleriaItemContext<unknown>>;
|
|
37
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxGalleriaItemTemplate, never>;
|
|
38
65
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TxGalleriaItemTemplate, "ng-template[txGalleriaItem]", never, {}, {}, never, never, true, never>;
|
|
39
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* `<ng-template txGalleriaThumbnail let-item let-index="index" let-active="active">` — one thumbnail; its content names the thumbnail button, so give an image an `alt`
|
|
69
|
+
* @see https://tectra-ng.com/components/galleria
|
|
70
|
+
*/
|
|
40
71
|
export declare class TxGalleriaThumbnailTemplate {
|
|
41
72
|
readonly template: TemplateRef<TxGalleriaThumbnailContext<unknown>>;
|
|
42
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxGalleriaThumbnailTemplate, never>;
|
|
43
74
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TxGalleriaThumbnailTemplate, "ng-template[txGalleriaThumbnail]", never, {}, {}, never, never, true, never>;
|
|
44
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* `<ng-template txGalleriaCaption let-item let-index="index">` — caption over the item; `title` and `description` of an image by default
|
|
78
|
+
* @see https://tectra-ng.com/components/galleria
|
|
79
|
+
*/
|
|
45
80
|
export declare class TxGalleriaCaptionTemplate {
|
|
46
81
|
readonly template: TemplateRef<TxGalleriaItemContext<unknown>>;
|
|
47
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxGalleriaCaptionTemplate, never>;
|
|
48
83
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TxGalleriaCaptionTemplate, "ng-template[txGalleriaCaption]", never, {}, {}, never, never, true, never>;
|
|
49
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* `<ng-template txGalleriaIndicator let-index let-active="active">` — content of a dot
|
|
87
|
+
* @see https://tectra-ng.com/components/galleria
|
|
88
|
+
*/
|
|
50
89
|
export declare class TxGalleriaIndicatorTemplate {
|
|
51
90
|
readonly template: TemplateRef<TxGalleriaIndicatorContext>;
|
|
52
91
|
static ngTemplateContextGuard(_directive: TxGalleriaIndicatorTemplate, context: unknown): context is TxGalleriaIndicatorContext;
|
|
53
92
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxGalleriaIndicatorTemplate, never>;
|
|
54
93
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TxGalleriaIndicatorTemplate, "ng-template[txGalleriaIndicator]", never, {}, {}, never, never, true, never>;
|
|
55
94
|
}
|
|
95
|
+
/**
|
|
96
|
+
* Content above the gallery
|
|
97
|
+
* @see https://tectra-ng.com/components/galleria
|
|
98
|
+
*/
|
|
56
99
|
export declare class TxGalleriaHeader {
|
|
57
100
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxGalleriaHeader, never>;
|
|
58
101
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TxGalleriaHeader, "[txGalleriaHeader]", never, {}, {}, never, never, true, never>;
|
|
59
102
|
}
|
|
103
|
+
/**
|
|
104
|
+
* Content below the gallery
|
|
105
|
+
* @see https://tectra-ng.com/components/galleria
|
|
106
|
+
*/
|
|
60
107
|
export declare class TxGalleriaFooter {
|
|
61
108
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxGalleriaFooter, never>;
|
|
62
109
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TxGalleriaFooter, "[txGalleriaFooter]", never, {}, {}, never, never, true, never>;
|
|
63
110
|
}
|
|
111
|
+
/** Returns the item as a `TxGalleriaImage` when it has a string `src`, otherwise `null`. */
|
|
64
112
|
export declare function galleriaImage(item: unknown): TxGalleriaImage | null;
|
|
113
|
+
/**
|
|
114
|
+
* A gallery of images: the active one large, with thumbnails, indicators, a caption, previous and next buttons and a slideshow. It also opens full screen over the page.
|
|
115
|
+
* @see https://tectra-ng.com/components/galleria
|
|
116
|
+
*/
|
|
65
117
|
export declare class TxGalleria {
|
|
66
118
|
private readonly galleriaTheme;
|
|
67
119
|
private injector;
|
|
@@ -70,117 +122,65 @@ export declare class TxGalleria {
|
|
|
70
122
|
private layer;
|
|
71
123
|
private host;
|
|
72
124
|
private swipeStart;
|
|
125
|
+
/** Items of the gallery */
|
|
73
126
|
readonly value: import("@angular/core").InputSignal<readonly unknown[] | null | undefined>;
|
|
127
|
+
/** Index of the active item; two-way with `[(activeIndex)]` */
|
|
74
128
|
readonly activeIndex: import("@angular/core").ModelSignal<number>;
|
|
129
|
+
/** Whether the full-screen gallery is open; two-way with `[(visible)]` */
|
|
75
130
|
readonly visible: import("@angular/core").ModelSignal<boolean>;
|
|
131
|
+
/** Shows the gallery in a full-screen layer while `visible` is true instead of in the page */
|
|
76
132
|
readonly fullScreen: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
133
|
+
/** Number of thumbnails shown at once */
|
|
77
134
|
readonly numVisible: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
135
|
+
/** `numVisible` per `breakpoint` (max width of the window) */
|
|
78
136
|
readonly responsiveOptions: import("@angular/core").InputSignal<TxGalleriaResponsiveOption[] | undefined>;
|
|
137
|
+
/** Shows previous and next buttons over the item */
|
|
79
138
|
readonly showItemNavigators: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
139
|
+
/** Shows those buttons only while the pointer or focus is on the item */
|
|
80
140
|
readonly showItemNavigatorsOnHover: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
141
|
+
/** Shows previous and next buttons beside the thumbnails */
|
|
81
142
|
readonly showThumbnailNavigators: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
143
|
+
/** Shows the thumbnails */
|
|
82
144
|
readonly showThumbnails: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
145
|
+
/** `bottom`, `top`, `left` or `right` */
|
|
83
146
|
readonly thumbnailsPosition: import("@angular/core").InputSignal<TxGalleriaPosition>;
|
|
147
|
+
/** Height of the thumbnails on the left or right */
|
|
84
148
|
readonly verticalThumbnailViewPortHeight: import("@angular/core").InputSignal<string>;
|
|
149
|
+
/** Shows a dot per item */
|
|
85
150
|
readonly showIndicators: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
151
|
+
/** Puts the dots over the item */
|
|
86
152
|
readonly showIndicatorsOnItem: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
153
|
+
/** `bottom`, `top`, `left` or `right` */
|
|
87
154
|
readonly indicatorsPosition: import("@angular/core").InputSignal<TxGalleriaPosition>;
|
|
155
|
+
/** Shows the item of a dot when the pointer moves over it */
|
|
88
156
|
readonly changeItemOnIndicatorHover: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
157
|
+
/** The last item goes on to the first and back */
|
|
89
158
|
readonly circular: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
159
|
+
/** Starts a slideshow; it pauses on hover and focus */
|
|
90
160
|
readonly autoPlay: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
161
|
+
/** Milliseconds between slideshow steps */
|
|
91
162
|
readonly transitionInterval: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
163
|
+
/** Stops the slideshow when the user moves to another item */
|
|
92
164
|
readonly shouldStopAutoplayByClick: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
165
|
+
/** Moves between items with a swipe or a mouse drag */
|
|
93
166
|
readonly swipe: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
167
|
+
/** How one item replaces another: `slide` (default), `fade`, `zoom`, `blur`, `flip` or `none`; the old and the new item move together */
|
|
94
168
|
readonly effect: import("@angular/core").InputSignal<TxSwapEffect>;
|
|
169
|
+
/** Icon of the previous buttons */
|
|
95
170
|
readonly prevIcon: import("@angular/core").InputSignal<TxIconName | (string & {})>;
|
|
171
|
+
/** Icon of the next buttons */
|
|
96
172
|
readonly nextIcon: import("@angular/core").InputSignal<TxIconName | (string & {})>;
|
|
173
|
+
/** Icon of the full-screen close button */
|
|
97
174
|
readonly closeIcon: import("@angular/core").InputSignal<TxIconName | (string & {})>;
|
|
175
|
+
/** Accessible name of the gallery */
|
|
98
176
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
borderColor: string;
|
|
103
|
-
borderRadius: string;
|
|
104
|
-
background: string;
|
|
105
|
-
transitionDuration: string;
|
|
106
|
-
easing: string;
|
|
107
|
-
slideDuration: string;
|
|
108
|
-
slideEasing: string;
|
|
109
|
-
};
|
|
110
|
-
navButton: {
|
|
111
|
-
background: string;
|
|
112
|
-
hoverBackground: string;
|
|
113
|
-
color: string;
|
|
114
|
-
hoverColor: string;
|
|
115
|
-
size: string;
|
|
116
|
-
gutter: string;
|
|
117
|
-
borderRadius: string;
|
|
118
|
-
iconSize: string;
|
|
119
|
-
};
|
|
120
|
-
thumbnails: {
|
|
121
|
-
background: string;
|
|
122
|
-
padding: string;
|
|
123
|
-
gap: string;
|
|
124
|
-
itemOpacity: string;
|
|
125
|
-
itemBorderRadius: string;
|
|
126
|
-
verticalWidth: string;
|
|
127
|
-
};
|
|
128
|
-
thumbnailNavButton: {
|
|
129
|
-
size: string;
|
|
130
|
-
iconSize: string;
|
|
131
|
-
borderRadius: string;
|
|
132
|
-
gutter: string;
|
|
133
|
-
hoverBackground: string;
|
|
134
|
-
color: string;
|
|
135
|
-
hoverColor: string;
|
|
136
|
-
};
|
|
137
|
-
caption: {
|
|
138
|
-
background: string;
|
|
139
|
-
color: string;
|
|
140
|
-
padding: string;
|
|
141
|
-
};
|
|
142
|
-
indicatorList: {
|
|
143
|
-
gap: string;
|
|
144
|
-
padding: string;
|
|
145
|
-
};
|
|
146
|
-
indicator: {
|
|
147
|
-
size: string;
|
|
148
|
-
borderRadius: string;
|
|
149
|
-
background: string;
|
|
150
|
-
hoverBackground: string;
|
|
151
|
-
activeBackground: string;
|
|
152
|
-
};
|
|
153
|
-
insetIndicator: {
|
|
154
|
-
listBackground: string;
|
|
155
|
-
background: string;
|
|
156
|
-
hoverBackground: string;
|
|
157
|
-
activeBackground: string;
|
|
158
|
-
};
|
|
159
|
-
closeButton: {
|
|
160
|
-
size: string;
|
|
161
|
-
gutter: string;
|
|
162
|
-
background: string;
|
|
163
|
-
hoverBackground: string;
|
|
164
|
-
color: string;
|
|
165
|
-
hoverColor: string;
|
|
166
|
-
borderRadius: string;
|
|
167
|
-
iconSize: string;
|
|
168
|
-
};
|
|
169
|
-
mask: {
|
|
170
|
-
background: string;
|
|
171
|
-
frameWidth: string;
|
|
172
|
-
imageMaxHeight: string;
|
|
173
|
-
thumbnailNavColor: string;
|
|
174
|
-
thumbnailNavHoverBackground: string;
|
|
175
|
-
};
|
|
176
|
-
focusRing: {
|
|
177
|
-
width: string;
|
|
178
|
-
color: string;
|
|
179
|
-
offset: string;
|
|
180
|
-
};
|
|
181
|
-
}> | undefined>;
|
|
177
|
+
/** Design tokens of this instance (`galleria`) */
|
|
178
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraGalleriaTokens> | undefined>;
|
|
179
|
+
/** Classes and styles of the parts: `root`, `mask`, `closeButton`, `header`, `content`, `items`, `item`, `navigator`, `caption`, `indicators`, `indicator`, `thumbnails`, `thumbnailNavigator`, `thumbnail`, `footer` */
|
|
182
180
|
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxGalleriaPart, import("@tectra-ng/core/config").TxPassThroughValue<TxGalleria>>> | undefined>;
|
|
181
|
+
/** How `pt` merges with the global pass-through */
|
|
183
182
|
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
183
|
+
/** Removes the tectra styles */
|
|
184
184
|
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
185
185
|
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
186
186
|
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-galleria.d.ts","names":[],"sources":["../../../../packages/ui/galleria/src/galleria.types.ts","../../../../packages/ui/galleria/src/galleria.templates.ts","../../../../packages/ui/galleria/src/galleria.component.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-galleria.d.ts","names":[],"sources":["../../../../packages/ui/galleria/src/galleria.types.ts","../../../../packages/ui/galleria/src/galleria.templates.ts","../../../../packages/ui/galleria/src/galleria.component.ts"],"mappings":"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"}
|
|
@@ -1,32 +1,46 @@
|
|
|
1
1
|
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
2
|
-
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
2
|
+
import { TectraDeepPartial, TectraHighlightTextTokens } from "@tectra-ng/themes";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/** Parts of `tx-highlight-text` that `pt` can style. */
|
|
4
5
|
export type TxHighlightTextPart = 'root' | 'mark';
|
|
6
|
+
/** Words to highlight: one string, a list of strings or nothing. */
|
|
5
7
|
export type TxHighlightTerms = string | readonly string[] | null | undefined;
|
|
8
|
+
/** A piece of text and whether it matched a term. */
|
|
6
9
|
export interface TxHighlightPart {
|
|
10
|
+
/** The piece of the original text. */
|
|
7
11
|
text: string;
|
|
12
|
+
/** `true` when the piece matches a term and should be highlighted. */
|
|
8
13
|
match: boolean;
|
|
9
14
|
}
|
|
15
|
+
/** Options of `highlightParts`. */
|
|
10
16
|
export interface TxHighlightOptions {
|
|
17
|
+
/** Tells upper and lower case apart (default `false`). */
|
|
11
18
|
caseSensitive?: boolean;
|
|
12
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Splits text into plain and matched parts for the given terms, ignoring case and diacritics unless
|
|
22
|
+
* told otherwise.
|
|
23
|
+
*/
|
|
13
24
|
export declare function highlightParts(text: string | null | undefined, terms: TxHighlightTerms, options?: TxHighlightOptions): TxHighlightPart[];
|
|
25
|
+
/**
|
|
26
|
+
* Marks every match of a search in a text — ignoring case and accents, for one or several terms. Matches are `<mark>` elements, so screen readers can report them; the text is never parsed as HTML.
|
|
27
|
+
* @see https://tectra-ng.com/components/highlight-text
|
|
28
|
+
*/
|
|
14
29
|
export declare class TxHighlightText {
|
|
15
30
|
private readonly highlightTextTheme;
|
|
31
|
+
/** The text (a number is shown as text) */
|
|
16
32
|
readonly text: import("@angular/core").InputSignal<string | number | null | undefined>;
|
|
33
|
+
/** A term or a list of terms to mark; empty marks nothing */
|
|
17
34
|
readonly highlight: import("@angular/core").InputSignal<TxHighlightTerms>;
|
|
35
|
+
/** Matches the case exactly */
|
|
18
36
|
readonly caseSensitive: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
color: string;
|
|
23
|
-
borderRadius: string;
|
|
24
|
-
paddingX: string;
|
|
25
|
-
fontWeight: string;
|
|
26
|
-
};
|
|
27
|
-
}> | undefined>;
|
|
37
|
+
/** Design tokens of this instance (`highlightText`) */
|
|
38
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraHighlightTextTokens> | undefined>;
|
|
39
|
+
/** Classes and styles of the parts: `root`, `mark` */
|
|
28
40
|
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxHighlightTextPart, import("@tectra-ng/core/config").TxPassThroughValue<TxHighlightText>>> | undefined>;
|
|
41
|
+
/** How `pt` merges with the global pass-through */
|
|
29
42
|
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
43
|
+
/** Removes the tectra styles */
|
|
30
44
|
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
31
45
|
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
32
46
|
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxHighlightTextPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-highlight-text.d.ts","names":[],"sources":["../../../../packages/ui/highlight-text/src/highlight-text.types.ts","../../../../packages/ui/highlight-text/src/highlight-parts.ts","../../../../packages/ui/highlight-text/src/highlight-text.component.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-highlight-text.d.ts","names":[],"sources":["../../../../packages/ui/highlight-text/src/highlight-text.types.ts","../../../../packages/ui/highlight-text/src/highlight-parts.ts","../../../../packages/ui/highlight-text/src/highlight-text.component.ts"],"mappings":";;;;YACY;;YAGA;;iBAGK;;EAEf;;EAEA;;;iBAIe;;EAEf;;;;;;wBCNc,eAAe,iCAAiC,OAAO,kBAAkB,UAAS,qBAA0B;;;;;qBCe/G;mBACM;;WAER,8BAAI;;WACJ,mCAAS,YAAA;;WACT,uCAAa;;WACb,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,sDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,sDAAA;WACX,+BAAK,8CAAA;WACL,mCAAS;;;SAdP,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"}
|
|
@@ -3,11 +3,18 @@ import { AfterViewInit, ElementRef } from "@angular/core";
|
|
|
3
3
|
import { NgControl } from "@angular/forms";
|
|
4
4
|
import { TxInput } from "@tectra-ng/ui/input";
|
|
5
5
|
import { TxIconName } from "@tectra-ng/icons";
|
|
6
|
+
/** Side of the input an icon or text goes on: before it (`start`) or after it (`end`). */
|
|
6
7
|
export type TxInputIconPosition = 'start' | 'end';
|
|
8
|
+
/** What one side of `tx-icon-field` holds: nothing, an icon or an action button. */
|
|
7
9
|
export type TxIconFieldSlotContent = 'none' | 'icon' | 'action';
|
|
10
|
+
/**
|
|
11
|
+
* Icons, text, a clear button or a copy button inside a field. Items before the input go on the left, `position="end"` puts them on the right; the input padding grows to make room by itself.
|
|
12
|
+
* @see https://tectra-ng.com/components/icon-field
|
|
13
|
+
*/
|
|
8
14
|
export declare class TxIconField implements AfterViewInit {
|
|
9
15
|
private readonly iconFieldTheme;
|
|
10
16
|
private destroyRef;
|
|
17
|
+
/** Takes the full width of its container; inherits `<tx-fluid>` */
|
|
11
18
|
readonly fluid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
12
19
|
readonly input: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
13
20
|
readonly inputDirective: import("@angular/core").Signal<TxInput | undefined>;
|
|
@@ -38,10 +45,16 @@ export declare class TxIconField implements AfterViewInit {
|
|
|
38
45
|
};
|
|
39
46
|
}, {}, ["input", "inputDirective", "control"], ["tx-input-icon:not([position=end])", "*", "tx-input-icon[position=end], tx-input-clear, tx-input-copy"], true, never>;
|
|
40
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* Icons, text, a clear button or a copy button inside a field. Items before the input go on the left, `position="end"` puts them on the right; the input padding grows to make room by itself.
|
|
50
|
+
* @see https://tectra-ng.com/components/icon-field
|
|
51
|
+
*/
|
|
41
52
|
export declare class TxInputIcon {
|
|
42
53
|
private readonly iconFieldTheme;
|
|
43
54
|
private txIconRegistry;
|
|
55
|
+
/** a `@tectra-ng/icons` name, a registered icon or any icon class; or put text / markup inside (prefix, suffix, unit) */
|
|
44
56
|
readonly icon: import("@angular/core").InputSignal<TxIconName | (string & {}) | undefined>;
|
|
57
|
+
/** `start` (default) or `end` — a static attribute, `position="end"` */
|
|
45
58
|
readonly position: import("@angular/core").InputSignal<TxInputIconPosition>;
|
|
46
59
|
readonly iconName: import("@angular/core").Signal<TxIconName | (string & {}) | null | undefined>;
|
|
47
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxInputIcon, never>;
|
|
@@ -58,10 +71,15 @@ export declare class TxInputIcon {
|
|
|
58
71
|
};
|
|
59
72
|
}, {}, never, ["*"], true, never>;
|
|
60
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* Icons, text, a clear button or a copy button inside a field. Items before the input go on the left, `position="end"` puts them on the right; the input padding grows to make room by itself.
|
|
76
|
+
* @see https://tectra-ng.com/components/icon-field
|
|
77
|
+
*/
|
|
61
78
|
export declare class TxInputClear {
|
|
62
79
|
private readonly iconFieldTheme;
|
|
63
80
|
readonly field: TxIconField;
|
|
64
81
|
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
82
|
+
/** the field was cleared */
|
|
65
83
|
readonly cleared: import("@angular/core").OutputEmitterRef<void>;
|
|
66
84
|
clear(): void;
|
|
67
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxInputClear, never>;
|
|
@@ -69,12 +87,14 @@ export declare class TxInputClear {
|
|
|
69
87
|
"cleared": "cleared";
|
|
70
88
|
}, never, never, true, never>;
|
|
71
89
|
}
|
|
90
|
+
/** Button inside `tx-icon-field` that copies the field value to the clipboard. */
|
|
72
91
|
export declare class TxInputCopy {
|
|
73
92
|
private readonly iconFieldTheme;
|
|
74
93
|
private field;
|
|
75
94
|
private timer;
|
|
76
95
|
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
77
96
|
readonly isCopied: import("@angular/core").WritableSignal<boolean>;
|
|
97
|
+
/** the value that was copied */
|
|
78
98
|
readonly copied: import("@angular/core").OutputEmitterRef<string>;
|
|
79
99
|
constructor();
|
|
80
100
|
copy(): void;
|
|
@@ -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":";;;;;
|
|
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;;;;qBCMZ;mBACM;UAET;UACA;WAEC,sCAAY,wCAAA;WACZ,kCAAQ;;WAER,gCAAM;;EAMf;SAfW,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW"}
|
|
@@ -2,43 +2,78 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import { Injector, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
3
3
|
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
4
4
|
import { TxIconName } from "@tectra-ng/icons";
|
|
5
|
-
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
5
|
+
import { TectraDeepPartial, TectraImageTokens } from "@tectra-ng/themes";
|
|
6
|
+
/** How the browser loads the image: `lazy` when it nears the viewport, `eager` at once. */
|
|
6
7
|
export type TxImageLoading = 'lazy' | 'eager';
|
|
8
|
+
/** Parts of `tx-image` that `pt` can style. */
|
|
7
9
|
export type TxImagePart = 'root' | 'image' | 'previewButton' | 'previewIcon' | 'mask' | 'toolbar' | 'action' | 'original';
|
|
10
|
+
/** Context of a `txImagePreview` template: the image in the preview layer. */
|
|
8
11
|
export interface TxImagePreviewContext {
|
|
12
|
+
/** Address of the preview image. */
|
|
9
13
|
$implicit: string;
|
|
14
|
+
/** Address of the preview image. */
|
|
10
15
|
src: string;
|
|
16
|
+
/** Alternative text of the image. */
|
|
11
17
|
alt: string;
|
|
18
|
+
/** Inline styles with the current zoom, rotation and offset; apply them to the image. */
|
|
12
19
|
style: Record<string, string>;
|
|
20
|
+
/** Closes the preview. */
|
|
13
21
|
close: () => void;
|
|
14
22
|
}
|
|
23
|
+
/** Context of a `txImageIndicator` template: the content of the preview button. */
|
|
15
24
|
export interface TxImageIndicatorContext {
|
|
25
|
+
/** Address of the preview image. */
|
|
16
26
|
$implicit: string;
|
|
17
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* `<ng-template txImageIndicator let-src>` — content of the zoom button over the image
|
|
30
|
+
* @see https://tectra-ng.com/components/image
|
|
31
|
+
*/
|
|
18
32
|
export declare class TxImageIndicatorTemplate {
|
|
19
33
|
readonly template: TemplateRef<TxImageIndicatorContext>;
|
|
20
34
|
static ngTemplateContextGuard(_directive: TxImageIndicatorTemplate, context: unknown): context is TxImageIndicatorContext;
|
|
21
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxImageIndicatorTemplate, never>;
|
|
22
36
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TxImageIndicatorTemplate, "ng-template[txImageIndicator]", never, {}, {}, never, never, true, never>;
|
|
23
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* `<ng-template txImagePreview let-src let-style="style" let-close="close">` — own preview content; `style` carries the rotate and zoom transform
|
|
40
|
+
* @see https://tectra-ng.com/components/image
|
|
41
|
+
*/
|
|
24
42
|
export declare class TxImagePreviewTemplate {
|
|
25
43
|
readonly template: TemplateRef<TxImagePreviewContext>;
|
|
26
44
|
static ngTemplateContextGuard(_directive: TxImagePreviewTemplate, context: unknown): context is TxImagePreviewContext;
|
|
27
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxImagePreviewTemplate, never>;
|
|
28
46
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TxImagePreviewTemplate, "ng-template[txImagePreview]", never, {}, {}, never, never, true, never>;
|
|
29
47
|
}
|
|
48
|
+
/** Options of `openImageLayer`. */
|
|
30
49
|
export interface TxImageLayerOptions {
|
|
50
|
+
/** Injector used to create the overlay and the focus trap. */
|
|
31
51
|
injector: Injector;
|
|
52
|
+
/** View container the layer template is attached through. */
|
|
32
53
|
viewContainerRef: ViewContainerRef;
|
|
54
|
+
/** CSS selector of the element to focus first; the first focusable one when empty. */
|
|
33
55
|
focus?: string;
|
|
56
|
+
/** Called when Escape is pressed in the layer. */
|
|
34
57
|
onEscape?: () => void;
|
|
58
|
+
/** Called when the layer is removed by something other than `close`, such as navigation. */
|
|
35
59
|
onDetach?: () => void;
|
|
36
60
|
}
|
|
61
|
+
/** Handle of an open image layer. */
|
|
37
62
|
export interface TxImageLayer {
|
|
63
|
+
/** Overlay element that holds the layer content. */
|
|
38
64
|
readonly element: HTMLElement;
|
|
65
|
+
/** Fades the layer out, removes it and returns focus; resolves when it is gone. */
|
|
39
66
|
close(): Promise<void>;
|
|
40
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* Opens a full-screen layer from a template with focus trap, scroll lock and fade-out; used by `tx-
|
|
70
|
+
* image` previews.
|
|
71
|
+
*/
|
|
41
72
|
export declare function openImageLayer(template: TemplateRef<unknown>, options: TxImageLayerOptions): TxImageLayer;
|
|
73
|
+
/**
|
|
74
|
+
* An image with an optional full-screen preview: a dark layer over the page with rotate and zoom controls, zoom by the wheel or a double click, and dragging a zoomed image around.
|
|
75
|
+
* @see https://tectra-ng.com/components/image
|
|
76
|
+
*/
|
|
42
77
|
export declare class TxImage {
|
|
43
78
|
private readonly imageTheme;
|
|
44
79
|
private injector;
|
|
@@ -46,62 +81,51 @@ export declare class TxImage {
|
|
|
46
81
|
private document;
|
|
47
82
|
private layer;
|
|
48
83
|
private pan;
|
|
84
|
+
/** Source of the image */
|
|
49
85
|
readonly src: import("@angular/core").InputSignal<string | undefined>;
|
|
86
|
+
/** `srcset` of the image */
|
|
50
87
|
readonly srcSet: import("@angular/core").InputSignal<string | undefined>;
|
|
88
|
+
/** `sizes` of the image */
|
|
51
89
|
readonly sizes: import("@angular/core").InputSignal<string | undefined>;
|
|
90
|
+
/** Source shown in the preview, for example a larger file; `src` when empty */
|
|
52
91
|
readonly previewSrc: import("@angular/core").InputSignal<string | undefined>;
|
|
92
|
+
/** `srcset` of the preview image */
|
|
53
93
|
readonly previewSrcSet: import("@angular/core").InputSignal<string | undefined>;
|
|
94
|
+
/** `sizes` of the preview image */
|
|
54
95
|
readonly previewSizes: import("@angular/core").InputSignal<string | undefined>;
|
|
96
|
+
/** Alternative text; also names the preview dialog */
|
|
55
97
|
readonly alt: import("@angular/core").InputSignal<string | undefined>;
|
|
98
|
+
/** `width` attribute of the image */
|
|
56
99
|
readonly width: import("@angular/core").InputSignal<string | number | undefined>;
|
|
100
|
+
/** `height` attribute of the image */
|
|
57
101
|
readonly height: import("@angular/core").InputSignal<string | number | undefined>;
|
|
102
|
+
/** `lazy` or `eager` loading of the image */
|
|
58
103
|
readonly loading: import("@angular/core").InputSignal<TxImageLoading | undefined>;
|
|
104
|
+
/** Shows a zoom button over the image that opens the preview */
|
|
59
105
|
readonly preview: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
106
|
+
/** Icon of the zoom button */
|
|
60
107
|
readonly previewIcon: import("@angular/core").InputSignal<TxIconName | (string & {})>;
|
|
108
|
+
/** How much one zoom step changes the scale */
|
|
61
109
|
readonly zoomStep: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
110
|
+
/** Smallest scale in the preview */
|
|
62
111
|
readonly minZoom: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
112
|
+
/** Largest scale in the preview */
|
|
63
113
|
readonly maxZoom: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
114
|
+
/** Accessible name of the preview dialog when `alt` does not describe it */
|
|
64
115
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
easing: string;
|
|
69
|
-
};
|
|
70
|
-
preview: {
|
|
71
|
-
iconSize: string;
|
|
72
|
-
maskBackground: string;
|
|
73
|
-
maskColor: string;
|
|
74
|
-
background: string;
|
|
75
|
-
};
|
|
76
|
-
toolbar: {
|
|
77
|
-
top: string;
|
|
78
|
-
right: string;
|
|
79
|
-
blur: string;
|
|
80
|
-
background: string;
|
|
81
|
-
borderColor: string;
|
|
82
|
-
borderWidth: string;
|
|
83
|
-
borderRadius: string;
|
|
84
|
-
padding: string;
|
|
85
|
-
gap: string;
|
|
86
|
-
};
|
|
87
|
-
action: {
|
|
88
|
-
size: string;
|
|
89
|
-
iconSize: string;
|
|
90
|
-
borderRadius: string;
|
|
91
|
-
color: string;
|
|
92
|
-
hoverColor: string;
|
|
93
|
-
hoverBackground: string;
|
|
94
|
-
disabledOpacity: string;
|
|
95
|
-
focusRingWidth: string;
|
|
96
|
-
focusRingColor: string;
|
|
97
|
-
focusRingOffset: string;
|
|
98
|
-
};
|
|
99
|
-
}> | undefined>;
|
|
116
|
+
/** Design tokens of this instance (`image`) */
|
|
117
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraImageTokens> | undefined>;
|
|
118
|
+
/** Classes and styles of the parts: `root`, `image`, `previewButton`, `previewIcon`, `mask`, `toolbar`, `action`, `original` */
|
|
100
119
|
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxImagePart, import("@tectra-ng/core/config").TxPassThroughValue<TxImage>>> | undefined>;
|
|
120
|
+
/** How `pt` merges with the global pass-through */
|
|
101
121
|
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
122
|
+
/** Removes the tectra styles */
|
|
102
123
|
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
124
|
+
/** The preview opened */
|
|
103
125
|
readonly opened: import("@angular/core").OutputEmitterRef<void>;
|
|
126
|
+
/** The preview closed and its animation ended */
|
|
104
127
|
readonly closed: import("@angular/core").OutputEmitterRef<void>;
|
|
128
|
+
/** The image failed to load */
|
|
105
129
|
readonly imageError: import("@angular/core").OutputEmitterRef<Event>;
|
|
106
130
|
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
107
131
|
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-image.d.ts","names":[],"sources":["../../../../packages/ui/image/src/image.types.ts","../../../../packages/ui/image/src/image.templates.ts","../../../../packages/ui/image/src/image-layer.ts","../../../../packages/ui/image/src/image.component.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-image.d.ts","names":[],"sources":["../../../../packages/ui/image/src/image.types.ts","../../../../packages/ui/image/src/image.templates.ts","../../../../packages/ui/image/src/image-layer.ts","../../../../packages/ui/image/src/image.component.ts"],"mappings":";;;;;;YACY;;YAGA;;iBAGK;;EAEf;;EAEA;;EAEA;;EAEA,OAAO;;EAEP;;;iBAIe;;EAEf;;;;;;qBCnBW;WACF,UAAQ,YAAA;SAEV,uBAAuB,YAAY,0BAA0B,mBAAmB,WAAW;SAHvF,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBASA;WACF,UAAQ,YAAA;SAEV,uBAAuB,YAAY,wBAAwB,mBAAmB,WAAW;SAHrF,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;iBCLI;;EAEf,UAAU;;EAEV,kBAAkB;;EAElB;;EAEA;;EAEA;;;iBAIe;;WAEN,SAAS;;EAElB,SAAS;;;;;;wBAWK,eAAe,UAAU,sBAAsB,SAAS,sBAAsB;;;;;qBCWjF;mBACM;UAET;UACA;UACA;UACA;UACA;;WAEC,6BAAG;;WACH,gCAAM;;WACN,+BAAK;;WACL,oCAAU;;WACV,uCAAa;;WACb,sCAAY;;WACZ,6BAAG;;WACH,+BAAK;;WACL,gCAAM;;WACN,iCAAO,YAAA;;WACP,iCAAO;;WACP,qCAAW,YAAA;;WACX,kCAAQ;;WACR,iCAAO;;WACP,iCAAO;;WACP,mCAAS;;WACT,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,8CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,gCAAM;;WACN,gCAAM;;WACN,oCAAU,iBAAA;WAEV,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,8CAAA;WACX,mCAAS;;;WACT,oCAAU;;;qBAEA,2CAAiB,OAAA;qBACjB,yCAAe,OAAA;mBACjB;WAER,iCAAO;WACP,kCAAQ;WACR,+BAAK;WACL,gCAAM;;;;WACN,iCAAO;WAEP,iCAAO;WACP,oCAAU;WACV,mCAAS;WACT,sCAAY;WACZ,mCAAS;WACT,oCAAU;WACV,mCAAS;WAIT,wCAAc,OAAA;;EAiBvB;EAkBA;EAaA;EAIA;EAIA;EAIA;EAIA;YAIU,YAAY,OAAO;YAOnB,UAAU,OAAO;YAiBjB,QAAQ,OAAO;YAYf;YAIA,SAAS,OAAO;YAYhB,YAAY,OAAO;mBAIZ;mBAeA;UAIT;UAQA;SAnNG,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;;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;IAAA"}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Joins a field with addons — text, icons, buttons, selects — into one block with shared borders.
|
|
4
|
+
* @see https://tectra-ng.com/components/input-group
|
|
5
|
+
*/
|
|
2
6
|
export declare class TxInputGroup {
|
|
3
7
|
private readonly inputGroupTheme;
|
|
8
|
+
/** Takes the full width of its container; inherits `<tx-fluid>` */
|
|
4
9
|
readonly fluid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
5
10
|
readonly isFluid: import("@angular/core").Signal<boolean>;
|
|
6
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxInputGroup, never>;
|
|
@@ -12,6 +17,10 @@ export declare class TxInputGroup {
|
|
|
12
17
|
};
|
|
13
18
|
}, {}, never, ["*"], true, never>;
|
|
14
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Joins a field with addons — text, icons, buttons, selects — into one block with shared borders.
|
|
22
|
+
* @see https://tectra-ng.com/components/input-group
|
|
23
|
+
*/
|
|
15
24
|
export declare class TxInputGroupAddon {
|
|
16
25
|
private readonly inputGroupTheme;
|
|
17
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxInputGroupAddon, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-input-group.d.ts","names":[],"sources":["../../../../packages/ui/input-group/src/input-group.component.ts","../../../../packages/ui/input-group/src/input-group-addon.component.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-input-group.d.ts","names":[],"sources":["../../../../packages/ui/input-group/src/input-group.component.ts","../../../../packages/ui/input-group/src/input-group-addon.component.ts"],"mappings":";;;;;qBAaa;mBACM;;WAER,+BAAK;WACL,iCAAO;SAJL,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAY;MAAA;MAAA;MAAA;;;;;;;;qBCFZ;mBACM;SADN,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA"}
|