@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
|
@@ -3,7 +3,7 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
import { ElementRef } from "@angular/core";
|
|
4
4
|
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
5
5
|
import { TxFormControlBase } from "@tectra-ng/core/forms";
|
|
6
|
-
import { TxPlacement } from "@tectra-ng/core/overlay";
|
|
6
|
+
import { TxPanelWidth, TxPlacement } from "@tectra-ng/core/overlay";
|
|
7
7
|
import { TectraCascadeSelectTokens, TectraDeepPartial } from "@tectra-ng/themes";
|
|
8
8
|
import { TxFieldVariant, TxSelectSize } from "@tectra-ng/ui/select";
|
|
9
9
|
/** Names of the parts of `tx-cascade-select` that `pt` can style. */
|
|
@@ -41,7 +41,7 @@ export interface TxCascadeSelectChangeEvent {
|
|
|
41
41
|
path: unknown[];
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
|
-
* Pick a value through nested groups shown as columns — country → region → city, category → subcategory → item. The next column opens on hover or with ArrowRight; only leaves are values. Works with `[formControl]`, `ngModel` and signal forms.
|
|
44
|
+
* Pick a value through nested groups shown as columns — country → region → city, category → subcategory → item. The next column opens on hover or with ArrowRight; only leaves are values. Works with `[formControl]`, `ngModel` and signal forms. The panel is at least as wide as the field and grows with its columns up to the width of the screen; past it the columns narrow and scroll sideways.
|
|
45
45
|
* @see https://tectra-ng.com/components/cascade-select
|
|
46
46
|
*/
|
|
47
47
|
export declare class TxCascadeSelect extends TxFormControlBase<unknown> {
|
|
@@ -117,6 +117,7 @@ export declare class TxCascadeSelect extends TxFormControlBase<unknown> {
|
|
|
117
117
|
readonly positions: import("@angular/core").WritableSignal<import("@angular/cdk/overlay").ConnectedPosition[]>;
|
|
118
118
|
readonly scrollStrategy: import("@angular/cdk/overlay").ScrollStrategy;
|
|
119
119
|
readonly viewportMargin: import("@angular/core").WritableSignal<import("@angular/cdk/overlay").ViewportMargin>;
|
|
120
|
+
readonly panelWidth: TxPanelWidth;
|
|
120
121
|
readonly treeId: string;
|
|
121
122
|
readonly columnEnter: string[];
|
|
122
123
|
readonly noClasses: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-cascade-select.d.ts","names":[],"sources":["../../../../packages/ui/cascade-select/src/cascade-select.types.ts","../../../../packages/ui/cascade-select/src/cascade-select.component.ts"],"mappings":";;;;;;;;;YACY;;iBAGK;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;;;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-cascade-select.d.ts","names":[],"sources":["../../../../packages/ui/cascade-select/src/cascade-select.types.ts","../../../../packages/ui/cascade-select/src/cascade-select.component.ts"],"mappings":";;;;;;;;;YACY;;iBAGK;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;;;;;qBC+BW,wBAAwB;mBAClB;;WAER,iCAAO;;WACP,qCAAW;;WACX,qCAAW;;WACX,wCAAc;;WACd,0CAAgB;;WAChB,6CAAmB;;WACnB,iCAAO;;WACP,kCAAQ;;WACR,uCAAa;;WACb,qCAAW;;WACX,mCAAS;;WACT,sCAAY;;WACZ,iCAAO;;WACP,mCAAS;;WACT,wCAAc;;WACd,8BAAI,YAAA;;WACJ,iCAAO,YAAA;;WACP,iCAAO;;WACP,kCAAQ;;WACR,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,sDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WA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;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"}
|
|
@@ -20,7 +20,27 @@ export interface TxChipsInputItemContext {
|
|
|
20
20
|
export interface TxChipsInputEvent {
|
|
21
21
|
/** The chip text that was added, removed or rejected. */
|
|
22
22
|
value: string;
|
|
23
|
-
/** The list of chips after the change;
|
|
23
|
+
/** The list of chips after the change; for a rejected value, the list after the whole input (a paste, an `add()` call) was handled. */
|
|
24
|
+
values: string[];
|
|
25
|
+
}
|
|
26
|
+
/** Why a value was not added: already in the list, the list is full, no match with `itemPattern`, or longer than `maxLength`. */
|
|
27
|
+
export type TxChipsInputRejectReason = 'duplicate' | 'max' | 'pattern' | 'length';
|
|
28
|
+
/** What `maxLength` does with a longer value: cut it (`truncate`) or refuse it (`reject`). */
|
|
29
|
+
export type TxChipsInputLengthMode = 'truncate' | 'reject';
|
|
30
|
+
/** Turns a trimmed value into the chip text before the checks; `null` or `''` drops the value. */
|
|
31
|
+
export type TxChipsInputNormalizer = (value: string) => string | null | undefined;
|
|
32
|
+
/** Payload of `rejected`: the refused value, the list after the whole input was handled and the reason. */
|
|
33
|
+
export interface TxChipsInputRejectedEvent extends TxChipsInputEvent {
|
|
34
|
+
/** Why the value was not added. */
|
|
35
|
+
reason: TxChipsInputRejectReason;
|
|
36
|
+
}
|
|
37
|
+
/** Payload of `committed`: everything one Enter, separator, blur, paste or `add()` call did. */
|
|
38
|
+
export interface TxChipsInputCommitEvent {
|
|
39
|
+
/** Values added, in order. */
|
|
40
|
+
added: string[];
|
|
41
|
+
/** Values refused, with their reasons. */
|
|
42
|
+
rejected: TxChipsInputRejectedEvent[];
|
|
43
|
+
/** The list of chips after the change. */
|
|
24
44
|
values: string[];
|
|
25
45
|
}
|
|
26
46
|
/**
|
|
@@ -34,10 +54,13 @@ export declare class TxChipsInputItemTemplate {
|
|
|
34
54
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TxChipsInputItemTemplate, "ng-template[txChipsInputItem]", never, {}, {}, never, never, true, never>;
|
|
35
55
|
}
|
|
36
56
|
/**
|
|
37
|
-
* A text field that turns typed text into removable chips;
|
|
57
|
+
* A text field that turns typed text into removable chips; the value is a list of strings. A `ControlValueAccessor` —
|
|
58
|
+
* works with `[formControl]`, `ngModel`, signal forms and `[(value)]`.
|
|
38
59
|
*/
|
|
39
60
|
export declare class TxChipsInput extends TxFormControlBase<string[]> {
|
|
40
61
|
private readonly chipsInputTheme;
|
|
62
|
+
/** Two-way: the list of chips; use it or a form control */
|
|
63
|
+
readonly value: import("@angular/core").ModelSignal<string[] | null>;
|
|
41
64
|
/** Text shown while the field is empty */
|
|
42
65
|
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
43
66
|
/** Text or pattern that ends a chip while typing and splits pasted text (`,` by default); Enter always adds */
|
|
@@ -50,8 +73,12 @@ export declare class TxChipsInput extends TxFormControlBase<string[]> {
|
|
|
50
73
|
readonly caseSensitive: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
51
74
|
/** Maximum number of chips; the field becomes read-only when full */
|
|
52
75
|
readonly max: import("@angular/core").InputSignal<number | undefined>;
|
|
53
|
-
/** Maximum length of one chip */
|
|
76
|
+
/** Maximum length of one chip; also caps typing in the field */
|
|
54
77
|
readonly maxLength: import("@angular/core").InputSignal<number | undefined>;
|
|
78
|
+
/** What happens to a longer pasted or added value: `truncate` cuts it (default), `reject` refuses it with the reason `length` */
|
|
79
|
+
readonly maxLengthMode: import("@angular/core").InputSignal<TxChipsInputLengthMode>;
|
|
80
|
+
/** `(value) => string | null` — turns the trimmed text into the chip text before the checks (duplicates compare the result); `null` or `''` drops the value */
|
|
81
|
+
readonly normalize: import("@angular/core").InputSignal<TxChipsInputNormalizer | undefined>;
|
|
55
82
|
/** Values that do not match are rejected (`rejected` output) */
|
|
56
83
|
readonly itemPattern: import("@angular/core").InputSignal<RegExp | undefined>;
|
|
57
84
|
/** Shows a button that removes all chips */
|
|
@@ -68,6 +95,8 @@ export declare class TxChipsInput extends TxFormControlBase<string[]> {
|
|
|
68
95
|
readonly variant: import("@angular/core").InputSignal<TxChipsInputVariant>;
|
|
69
96
|
/** Red border and `aria-invalid`; follows the form control by default */
|
|
70
97
|
readonly invalid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
98
|
+
/** Disables the field (also from the form control), so `[(value)]` works without forms */
|
|
99
|
+
readonly disabledInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
71
100
|
/** Shows the chips, cannot change them */
|
|
72
101
|
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
73
102
|
/** Design tokens of this instance (`chipsInput`) */
|
|
@@ -84,8 +113,10 @@ export declare class TxChipsInput extends TxFormControlBase<string[]> {
|
|
|
84
113
|
readonly added: import("@angular/core").OutputEmitterRef<TxChipsInputEvent>;
|
|
85
114
|
/** A chip was removed: `{ value, values }` */
|
|
86
115
|
readonly removed: import("@angular/core").OutputEmitterRef<TxChipsInputEvent>;
|
|
87
|
-
/** A value was not added
|
|
88
|
-
readonly rejected: import("@angular/core").OutputEmitterRef<
|
|
116
|
+
/** A value was not added: `{ value, values, reason }`, `reason` is `duplicate`, `max`, `pattern` or `length` */
|
|
117
|
+
readonly rejected: import("@angular/core").OutputEmitterRef<TxChipsInputRejectedEvent>;
|
|
118
|
+
/** Once per Enter, separator, blur, paste or `add()` call: `{ added, rejected, values }` */
|
|
119
|
+
readonly committed: import("@angular/core").OutputEmitterRef<TxChipsInputCommitEvent>;
|
|
89
120
|
readonly itemTemplate: import("@angular/core").Signal<TxChipsInputItemTemplate | undefined>;
|
|
90
121
|
readonly field: import("@angular/core").Signal<ElementRef<HTMLInputElement>>;
|
|
91
122
|
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
@@ -94,6 +125,7 @@ export declare class TxChipsInput extends TxFormControlBase<string[]> {
|
|
|
94
125
|
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxChipsInputPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
95
126
|
readonly values: import("@angular/core").Signal<string[]>;
|
|
96
127
|
readonly isFull: import("@angular/core").Signal<boolean>;
|
|
128
|
+
readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
97
129
|
readonly canClear: import("@angular/core").Signal<boolean>;
|
|
98
130
|
readonly hostStyle: import("@angular/core").Signal<{
|
|
99
131
|
[x: string]: string;
|
|
@@ -109,14 +141,21 @@ export declare class TxChipsInput extends TxFormControlBase<string[]> {
|
|
|
109
141
|
removeAt(index: number): void;
|
|
110
142
|
/** Removes every chip and the typed text */
|
|
111
143
|
clear(): void;
|
|
112
|
-
/** Adds a chip or a list of chips with the same
|
|
144
|
+
/** Adds a chip or a list of chips with the same steps as typing (`normalize`, `maxLength`, `itemPattern`, duplicates, `max`); emits `added` / `rejected`; does nothing when disabled or read-only. The typed text stays */
|
|
113
145
|
add(value: string | readonly string[]): void;
|
|
114
146
|
/** Clears the typed text and keeps the chips */
|
|
115
147
|
clearText(): void;
|
|
116
148
|
private addAll;
|
|
149
|
+
private prepare;
|
|
150
|
+
private rejectReason;
|
|
117
151
|
private setText;
|
|
118
152
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxChipsInput, never>;
|
|
119
153
|
static ɵcmp: i0.ɵɵComponentDeclaration<TxChipsInput, "tx-chips-input", never, {
|
|
154
|
+
"value": {
|
|
155
|
+
"alias": "value";
|
|
156
|
+
"required": false;
|
|
157
|
+
"isSignal": true;
|
|
158
|
+
};
|
|
120
159
|
"placeholder": {
|
|
121
160
|
"alias": "placeholder";
|
|
122
161
|
"required": false;
|
|
@@ -152,6 +191,16 @@ export declare class TxChipsInput extends TxFormControlBase<string[]> {
|
|
|
152
191
|
"required": false;
|
|
153
192
|
"isSignal": true;
|
|
154
193
|
};
|
|
194
|
+
"maxLengthMode": {
|
|
195
|
+
"alias": "maxLengthMode";
|
|
196
|
+
"required": false;
|
|
197
|
+
"isSignal": true;
|
|
198
|
+
};
|
|
199
|
+
"normalize": {
|
|
200
|
+
"alias": "normalize";
|
|
201
|
+
"required": false;
|
|
202
|
+
"isSignal": true;
|
|
203
|
+
};
|
|
155
204
|
"itemPattern": {
|
|
156
205
|
"alias": "itemPattern";
|
|
157
206
|
"required": false;
|
|
@@ -192,6 +241,11 @@ export declare class TxChipsInput extends TxFormControlBase<string[]> {
|
|
|
192
241
|
"required": false;
|
|
193
242
|
"isSignal": true;
|
|
194
243
|
};
|
|
244
|
+
"disabledInput": {
|
|
245
|
+
"alias": "disabled";
|
|
246
|
+
"required": false;
|
|
247
|
+
"isSignal": true;
|
|
248
|
+
};
|
|
195
249
|
"readonly": {
|
|
196
250
|
"alias": "readonly";
|
|
197
251
|
"required": false;
|
|
@@ -223,10 +277,12 @@ export declare class TxChipsInput extends TxFormControlBase<string[]> {
|
|
|
223
277
|
"isSignal": true;
|
|
224
278
|
};
|
|
225
279
|
}, {
|
|
280
|
+
"value": "valueChange";
|
|
226
281
|
"text": "textChange";
|
|
227
282
|
"added": "added";
|
|
228
283
|
"removed": "removed";
|
|
229
284
|
"rejected": "rejected";
|
|
285
|
+
"committed": "committed";
|
|
230
286
|
}, ["itemTemplate"], never, true, never>;
|
|
231
287
|
}
|
|
232
288
|
//# sourceMappingURL=tectra-ng-ui-chips-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-chips-input.d.ts","names":[],"sources":["../../../../packages/ui/chips-input/src/chips-input.types.ts","../../../../packages/ui/chips-input/src/chips-input-item.directive.ts","../../../../packages/ui/chips-input/src/chips-input.component.ts"],"mappings":";;;;;;YACY;;YAEA;;YAEA;;iBAGK;;EAEf;;EAEA;;;iBAIe;;EAEf;;EAEA;;;;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-chips-input.d.ts","names":[],"sources":["../../../../packages/ui/chips-input/src/chips-input.types.ts","../../../../packages/ui/chips-input/src/chips-input-item.directive.ts","../../../../packages/ui/chips-input/src/chips-input.component.ts"],"mappings":";;;;;;YACY;;YAEA;;YAEA;;iBAGK;;EAEf;;EAEA;;;iBAIe;;EAEf;;EAEA;;;YAIU;;YAGA;;YAGA,0BAA0B;;iBAGrB,kCAAkC;;EAEjD,QAAQ;;;iBAIO;;EAEf;;EAEA,UAAU;;EAEV;;;;;;qBCzCW;WACF,aAAW,YAAA;SAEb,uBAAuB,YAAY,0BAA0B,mBAAmB,WAAW;SAHvF,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBC4DA,qBAAqB;mBACf;;WAEC,+BAAK;;WACd,qCAAW;;WACX,mCAAS,qBAAA;;WACT,mCAAS;;WACT,wCAAc;;WACd,uCAAa;;WACb,6BAAG;;WACH,mCAAS;;WACT,uCAAa,YAAA;;WACb,mCAAS,YAAA;;WACT,qCAAW,YAAA;;WACX,mCAAS;;WACT,iCAAO;;WACP,mCAAS;;WACT,wCAAc;;WACd,8BAAI,YAAA;;WACJ,iCAAO,YAAA;;WACP,iCAAO;;WAEP,uCAAa;;WACb,kCAAQ;;WACR,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,mDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WACR,8BAAI;;WAEJ,+BAAK,iBAAA;;WACL,iCAAO,iBAAA;;WACP,kCAAQ,iBAAA;;WACR,mCAAS,iBAAA;WAET,sCAAY,OAAA;WACZ,+BAAK,OAAA,WAAA;WAEL,sCAAY,wCAAA;WACZ,mCAAS;WACT,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,mDAAA;WAEX,gCAAM;WACN,gCAAM;WAIN,oCAAU;WACV,kCAAQ;WACR,mCAAS;;;EAET,WAAW;EAIpB,YAAY;EAIZ,QAAQ,OAAO;EAYf,QAAQ,OAAO;EAqBf,UAAU,OAAO;EAkBjB;EAQA,YAAY,OAAO;;EAMnB,SAAS;;EAWT;;EAMA,IAAI;;EAOJ;UAIQ;UA4BA;UAWA;UAiBA;SAjNG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAY;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;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA;IAAA;IAAA;IAAA;IAAA"}
|
|
@@ -4,7 +4,7 @@ import { ElementRef } from "@angular/core";
|
|
|
4
4
|
import { AbstractControl, ValidationErrors, Validator, ValidatorFn } from "@angular/forms";
|
|
5
5
|
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
6
6
|
import { TxFormControlBase } from "@tectra-ng/core/forms";
|
|
7
|
-
import { TxPlacement } from "@tectra-ng/core/overlay";
|
|
7
|
+
import { TxPanelWidth, TxPlacement } from "@tectra-ng/core/overlay";
|
|
8
8
|
import { TectraColorPickerTokens, TectraDeepPartial } from "@tectra-ng/themes";
|
|
9
9
|
/** Type of the picker value: `hex` string, `rgb` object or `hsb` object. */
|
|
10
10
|
export type TxColorFormat = 'hex' | 'rgb' | 'hsb';
|
|
@@ -60,6 +60,16 @@ export declare class TxColorPicker extends TxFormControlBase<TxColorValue> imple
|
|
|
60
60
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
61
61
|
/** Id of the element that labels the button */
|
|
62
62
|
readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
|
|
63
|
+
/** Accessible name of the saturation / brightness area (translated "Saturation and brightness" by default) */
|
|
64
|
+
readonly areaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
65
|
+
/** Accessible name of the hue slider (translated "Hue" by default) */
|
|
66
|
+
readonly hueLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
67
|
+
/** Accessible name of the hex field in the panel (translated "Hex colour" by default) */
|
|
68
|
+
readonly hexLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
69
|
+
/** Accessible name of the clear button (translated "Clear" by default, none when `clearText` names it) */
|
|
70
|
+
readonly clearLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
71
|
+
/** Text shown next to the clear icon; without it the button shows only the icon */
|
|
72
|
+
readonly clearText: import("@angular/core").InputSignal<string | undefined>;
|
|
63
73
|
/** `small`, `medium`, `large` */
|
|
64
74
|
readonly size: import("@angular/core").InputSignal<TxColorPickerSize>;
|
|
65
75
|
/** Red border and `aria-invalid`; follows the form control by default */
|
|
@@ -95,6 +105,7 @@ export declare class TxColorPicker extends TxFormControlBase<TxColorValue> imple
|
|
|
95
105
|
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
96
106
|
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxColorPickerPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
97
107
|
readonly positions: import("@angular/cdk/overlay").ConnectedPosition[];
|
|
108
|
+
readonly panelWidth: TxPanelWidth;
|
|
98
109
|
readonly scrollStrategy: import("@angular/cdk/overlay").ScrollStrategy;
|
|
99
110
|
readonly panelId: string;
|
|
100
111
|
readonly valueId: string;
|
|
@@ -113,6 +124,7 @@ export declare class TxColorPicker extends TxFormControlBase<TxColorValue> imple
|
|
|
113
124
|
readonly triggerText: import("@angular/core").Signal<string>;
|
|
114
125
|
readonly triggerLabel: import("@angular/core").Signal<string | null>;
|
|
115
126
|
readonly fieldLabel: import("@angular/core").Signal<string | null>;
|
|
127
|
+
readonly clearName: import("@angular/core").Signal<string | null>;
|
|
116
128
|
readonly editable: import("@angular/core").Signal<boolean>;
|
|
117
129
|
readonly hostStyle: import("@angular/core").Signal<{
|
|
118
130
|
[x: string]: string;
|
|
@@ -201,6 +213,31 @@ export declare class TxColorPicker extends TxFormControlBase<TxColorValue> imple
|
|
|
201
213
|
"required": false;
|
|
202
214
|
"isSignal": true;
|
|
203
215
|
};
|
|
216
|
+
"areaLabel": {
|
|
217
|
+
"alias": "areaLabel";
|
|
218
|
+
"required": false;
|
|
219
|
+
"isSignal": true;
|
|
220
|
+
};
|
|
221
|
+
"hueLabel": {
|
|
222
|
+
"alias": "hueLabel";
|
|
223
|
+
"required": false;
|
|
224
|
+
"isSignal": true;
|
|
225
|
+
};
|
|
226
|
+
"hexLabel": {
|
|
227
|
+
"alias": "hexLabel";
|
|
228
|
+
"required": false;
|
|
229
|
+
"isSignal": true;
|
|
230
|
+
};
|
|
231
|
+
"clearLabel": {
|
|
232
|
+
"alias": "clearLabel";
|
|
233
|
+
"required": false;
|
|
234
|
+
"isSignal": true;
|
|
235
|
+
};
|
|
236
|
+
"clearText": {
|
|
237
|
+
"alias": "clearText";
|
|
238
|
+
"required": false;
|
|
239
|
+
"isSignal": true;
|
|
240
|
+
};
|
|
204
241
|
"size": {
|
|
205
242
|
"alias": "size";
|
|
206
243
|
"required": false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-color-picker.d.ts","names":[],"sources":["../../../../packages/ui/color-picker/src/color-picker.types.ts","../../../../packages/ui/color-picker/src/color-picker.component.ts","../../../../packages/ui/color-picker/src/color.ts","../../../../packages/ui/color-picker/src/color-validator.ts"],"mappings":";;;;;;;;;YACY;;YAEA;;YAEA;;iBAGK;;EAEf;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;;YAIU,wBAAwB,QAAQ;;;;;qBCiC/B,sBAAsB,kBAAkB,yBAAyB;mBAC3D;;WAER,gCAAM,YAAA;;WACN,gCAAM;;WACN,+BAAK;;WACL,iCAAO;;WACP,mCAAS;;WACT,mCAAS;;WACT,mCAAS;;WACT,qCAAW;;WACX,iCAAO;;WACP,mCAAS;;WACT,wCAAc;;WACd,8BAAI,YAAA;;WACJ,iCAAO;;WACP,kCAAQ;;WACR,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,oDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,iCAAO,iBAAA;;WACP,gCAAM;;WACN,gCAAM;WAEN,iCAAO,OAAA,WAAA;WACP,8BAAI,OAAA,WAAA;WACJ,+BAAK,OAAA,WAAA;UAEN;UACA;WACC,aAAW;UACZ;UACA;mBACS;mBACA;WAWR,sCAAY,wCAAA;WACZ,mCAAS;WACT,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,oDAAA;WACX,0CAAS;WACT,+CAAc;WACd;WACA;WAEA,6BAAG,eAAA;WACH,kCAAQ;WACR,gCAAM;WACN,wCAAc;WACd,mCAAS,eAAA;WACT,+BAAK;WACL,mCAAS;mBACD;UACT;WAEC,6BAAG;WACH,kCAAQ;WACR,kCAAQ;WAKR,qCAAW;WACX,sCAAY;WAOZ,oCAAU;WACV,kCAAQ;WACR,mCAAS;;;WACT,oCAAU;;;EAEV,WAAW,OAAO;EAa3B,SAAS,SAAS,kBAAkB;EAIpC,aAAa,OAAO;EAcpB;EAeA;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-color-picker.d.ts","names":[],"sources":["../../../../packages/ui/color-picker/src/color-picker.types.ts","../../../../packages/ui/color-picker/src/color-picker.component.ts","../../../../packages/ui/color-picker/src/color.ts","../../../../packages/ui/color-picker/src/color-validator.ts"],"mappings":";;;;;;;;;YACY;;YAEA;;YAEA;;iBAGK;;EAEf;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;;YAIU,wBAAwB,QAAQ;;;;;qBCiC/B,sBAAsB,kBAAkB,yBAAyB;mBAC3D;;WAER,gCAAM,YAAA;;WACN,gCAAM;;WACN,+BAAK;;WACL,iCAAO;;WACP,mCAAS;;WACT,mCAAS;;WACT,mCAAS;;WACT,qCAAW;;WACX,iCAAO;;WACP,mCAAS;;WACT,wCAAc;;WACd,mCAAS;;WACT,kCAAQ;;WACR,kCAAQ;;WACR,oCAAU;;WACV,mCAAS;;WACT,8BAAI,YAAA;;WACJ,iCAAO;;WACP,kCAAQ;;WACR,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,oDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,iCAAO,iBAAA;;WACP,gCAAM;;WACN,gCAAM;WAEN,iCAAO,OAAA,WAAA;WACP,8BAAI,OAAA,WAAA;WACJ,+BAAK,OAAA,WAAA;UAEN;UACA;WACC,aAAW;UACZ;UACA;mBACS;mBACA;WAWR,sCAAY,wCAAA;WACZ,mCAAS;WACT,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,oDAAA;WACX,0CAAS;WACT,YAAU;WACV,+CAAc;WACd;WACA;WAEA,6BAAG,eAAA;WACH,kCAAQ;WACR,gCAAM;WACN,wCAAc;WACd,mCAAS,eAAA;WACT,+BAAK;WACL,mCAAS;mBACD;UACT;WAEC,6BAAG;WACH,kCAAQ;WACR,kCAAQ;WAKR,qCAAW;WACX,sCAAY;WAOZ,oCAAU;WACV,mCAAS;WACT,kCAAQ;WACR,mCAAS;;;WACT,oCAAU;;;EAEV,WAAW,OAAO;EAa3B,SAAS,SAAS,kBAAkB;EAIpC,aAAa,OAAO;EAcpB;EAeA;EAWA,MAAM;EAkBN;EAQA;EAIA,iBAAiB,QAAQ;EASzB,eAAe,OAAO;EAMtB,eAAe,OAAO;EAOtB,gBAAgB,OAAO;EAOvB,cAAc,OAAO;EAerB,aAAa,OAAO;EAapB,cAAc,OAAO;EAgBrB,aAAa,OAAO;EAgBpB,WAAW,OAAO;EASlB;EAIA,WAAW;EAOX,SAAS;EAKT;UASQ;UASA;UAaA;SArUG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;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;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA;IAAA;;;;;;wBCpDV,SAAS,eAAe;;wBAUxB,WAAW,GAAG,GAAG,KAAK;;;;wBAOtB,WAAW,GAAG,GAAG,KAAK,QAAQ;;wBAkB9B,WAAW,GAAG,GAAG,KAAK,QAAQ;;wBAW9B,MAAM,iBAAiB;;;;wBCjDvB,uBAAuB"}
|
|
@@ -62,7 +62,7 @@ export declare class TxRemainingTimePipe implements PipeTransform {
|
|
|
62
62
|
*/
|
|
63
63
|
export declare class TxCountdown {
|
|
64
64
|
private readonly countdownTheme;
|
|
65
|
-
/** Number of `unit`s to count down from; a new value starts again */
|
|
65
|
+
/** Number of `unit`s to count down from; a new value (or `unit`) starts again unless `restartOnChange` is off */
|
|
66
66
|
readonly value: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
67
67
|
/** `seconds`, `minutes`, `hours` or `days` */
|
|
68
68
|
readonly unit: import("@angular/core").InputSignal<TxCountdownUnit>;
|
|
@@ -76,6 +76,8 @@ export declare class TxCountdown {
|
|
|
76
76
|
readonly endingSoon: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
77
77
|
/** Stops the countdown and keeps the time left; it goes on from there */
|
|
78
78
|
readonly paused: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
79
|
+
/** `true` (default) — a new `value` or `unit` starts the countdown again; `false` — a running countdown keeps its deadline and the new value is taken at the next start (after zero or `restart()`). A new `target` always moves the deadline */
|
|
80
|
+
readonly restartOnChange: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
79
81
|
/** `off` (default — a ticking timer would talk every second), `polite` or `assertive` */
|
|
80
82
|
readonly ariaLive: import("@angular/core").InputSignal<"off" | "polite" | "assertive">;
|
|
81
83
|
/** Design tokens of this instance (`countdown`) */
|
|
@@ -101,6 +103,7 @@ export declare class TxCountdown {
|
|
|
101
103
|
private readonly frozen;
|
|
102
104
|
private timer;
|
|
103
105
|
private done;
|
|
106
|
+
private countsValue;
|
|
104
107
|
readonly resolvedFormat: import("@angular/core").Signal<TxCountdownFormat>;
|
|
105
108
|
readonly remainingMs: import("@angular/core").Signal<number>;
|
|
106
109
|
readonly isExpired: import("@angular/core").Signal<boolean>;
|
|
@@ -108,6 +111,9 @@ export declare class TxCountdown {
|
|
|
108
111
|
readonly text: import("@angular/core").Signal<string>;
|
|
109
112
|
readonly context: import("@angular/core").Signal<TxCountdownContext>;
|
|
110
113
|
private readonly start;
|
|
114
|
+
/** Starts again from the current `value` and `unit` (or `target`) */
|
|
115
|
+
restart(): void;
|
|
116
|
+
private begin;
|
|
111
117
|
private readonly pause;
|
|
112
118
|
private readonly refresh;
|
|
113
119
|
private readonly schedule;
|
|
@@ -150,6 +156,11 @@ export declare class TxCountdown {
|
|
|
150
156
|
"required": false;
|
|
151
157
|
"isSignal": true;
|
|
152
158
|
};
|
|
159
|
+
"restartOnChange": {
|
|
160
|
+
"alias": "restartOnChange";
|
|
161
|
+
"required": false;
|
|
162
|
+
"isSignal": true;
|
|
163
|
+
};
|
|
153
164
|
"ariaLive": {
|
|
154
165
|
"alias": "ariaLive";
|
|
155
166
|
"required": false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-countdown.d.ts","names":[],"sources":["../../../../packages/ui/countdown/src/countdown.types.ts","../../../../packages/ui/countdown/src/countdown.utils.ts","../../../../packages/ui/countdown/src/countdown.templates.ts","../../../../packages/ui/countdown/src/remaining-time.pipe.ts","../../../../packages/ui/countdown/src/countdown.component.ts"],"mappings":";;;;;YACY;;YAEA;;YAEA,oBAAoB;;YAEpB;;iBAGK;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;qBCnBW,sBAAsB,OAAO;;;;wBAU1B,gBAAgB;;wBAUhB,eAAe;EAAe;EAAc;EAAe;EAAiB;;;wBAW5E,WAAW,OAAO;;;;;qBC9BrB;WACF,aAAW,YAAA;SAEb,uBAAuB,YAAY,kBAAkB,mBAAmB,WAAW;SAH/E,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;qBCCA,+BAA+B;EAC1C,UAAU;SADC,MAAA,GAAA,qBAAA;SAAA,OAAA,GAAA,kBAAA;;;;;;qBCiCA;mBACM;;WAER,+BAAK;;WACL,8BAAI,YAAA;;WACJ,gCAAM,YAAA;;WACN,gCAAM;;WACN,gCAAM,YAAA;;WACN,oCAAU;;WACV,gCAAM;;WACN,kCAAQ;;WACR,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,gDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,mCAAS;;WACT,8BAAI;qBAEM,uCAAa,OAAA;WAEvB,oCAAU;WACV,qCAAW,OAAA,QAAA,gDAAA;WACX,mCAAS;;;mBAED;mBACA;mBACA;UACT;UACA;WAEC,wCAAc,OAAA;WACd,qCAAW;WAMX,mCAAS;WACT,kCAAQ;WACR,8BAAI;WAKJ,iCAAO,OAAA;mBAEC;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-countdown.d.ts","names":[],"sources":["../../../../packages/ui/countdown/src/countdown.types.ts","../../../../packages/ui/countdown/src/countdown.utils.ts","../../../../packages/ui/countdown/src/countdown.templates.ts","../../../../packages/ui/countdown/src/remaining-time.pipe.ts","../../../../packages/ui/countdown/src/countdown.component.ts"],"mappings":";;;;;YACY;;YAEA;;YAEA,oBAAoB;;YAEpB;;iBAGK;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;qBCnBW,sBAAsB,OAAO;;;;wBAU1B,gBAAgB;;wBAUhB,eAAe;EAAe;EAAc;EAAe;EAAiB;;;wBAW5E,WAAW,OAAO;;;;;qBC9BrB;WACF,aAAW,YAAA;SAEb,uBAAuB,YAAY,kBAAkB,mBAAmB,WAAW;SAH/E,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;qBCCA,+BAA+B;EAC1C,UAAU;SADC,MAAA,GAAA,qBAAA;SAAA,OAAA,GAAA,kBAAA;;;;;;qBCiCA;mBACM;;WAER,+BAAK;;WACL,8BAAI,YAAA;;WACJ,gCAAM,YAAA;;WACN,gCAAM;;WACN,gCAAM,YAAA;;WACN,oCAAU;;WACV,gCAAM;;WACN,yCAAe;;WACf,kCAAQ;;WACR,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,gDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,mCAAS;;WACT,8BAAI;qBAEM,uCAAa,OAAA;WAEvB,oCAAU;WACV,qCAAW,OAAA,QAAA,gDAAA;WACX,mCAAS;;;mBAED;mBACA;mBACA;UACT;UACA;UACA;WAEC,wCAAc,OAAA;WACd,qCAAW;WAMX,mCAAS;WACT,kCAAQ;WACR,8BAAI;WAKJ,iCAAO,OAAA;mBAEC;;EAWjB;UAIQ;mBAcS;mBAYA;mBAMA;mBAeA;mBAYA;SA3HN,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;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"}
|
|
@@ -5,9 +5,9 @@ import { TxFieldVariant, TxSelectItem, TxSelectSize } from "@tectra-ng/ui/select
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/** One country offered by `tx-country-select`. */
|
|
7
7
|
export interface TxCountryOption {
|
|
8
|
-
/** ISO 3166-1 alpha-2 code, in any case. */
|
|
8
|
+
/** ISO 3166-1 alpha-2 code, in any case; other text (`none`, `other`) makes a row without a flag. */
|
|
9
9
|
code: string;
|
|
10
|
-
/** Value written to the model; the upper-case code
|
|
10
|
+
/** Value written to the model; when not set, the upper-case country code, or other text as it is. */
|
|
11
11
|
value?: string;
|
|
12
12
|
/** Name shown for the country; the localized name when not set. */
|
|
13
13
|
label?: string;
|
|
@@ -17,10 +17,12 @@ export interface TxCountryOption {
|
|
|
17
17
|
hint?: string;
|
|
18
18
|
/** Stops the country from being picked. */
|
|
19
19
|
disabled?: boolean;
|
|
20
|
+
/** Draws the flag; on for country and region codes, off for any other code, which shows only its label. */
|
|
21
|
+
flag?: boolean;
|
|
20
22
|
}
|
|
21
23
|
/** A country option with every default filled in, as the list renders it. */
|
|
22
24
|
export interface TxCountryItem {
|
|
23
|
-
/** Upper-case country code. */
|
|
25
|
+
/** Upper-case country code, or other text as it is. */
|
|
24
26
|
code: string;
|
|
25
27
|
/** Value written to the model. */
|
|
26
28
|
value: string;
|
|
@@ -32,6 +34,8 @@ export interface TxCountryItem {
|
|
|
32
34
|
hint: string;
|
|
33
35
|
/** Whether the country cannot be picked. */
|
|
34
36
|
disabled: boolean;
|
|
37
|
+
/** Whether the row draws a flag; a row without one shows only its label. */
|
|
38
|
+
flag: boolean;
|
|
35
39
|
}
|
|
36
40
|
/** How the list is ordered: `name` by the localized name, or `none` to keep the order of `options`. */
|
|
37
41
|
export type TxCountrySort = 'name' | 'none';
|
|
@@ -42,7 +46,7 @@ export type TxCountrySort = 'name' | 'none';
|
|
|
42
46
|
export declare class TxCountrySelect extends TxFormControlBase<string | string[]> {
|
|
43
47
|
private readonly countrySelectTheme;
|
|
44
48
|
private locale;
|
|
45
|
-
/** Countries to offer: codes, or `{ code, value?, label?, count?, hint?, disabled? }`; all countries by default */
|
|
49
|
+
/** Countries to offer: codes, or `{ code, value?, label?, count?, hint?, disabled?, flag? }`; all countries by default. A code that is not a country or a region (`none`, `ZZ`) is a text row without a flag, and its value stays as written; `flag: false` drops the flag of any row */
|
|
46
50
|
readonly options: import("@angular/core").InputSignal<readonly (string | TxCountryOption)[] | undefined>;
|
|
47
51
|
/** Several countries; the value is an array */
|
|
48
52
|
readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
@@ -54,6 +58,8 @@ export declare class TxCountrySelect extends TxFormControlBase<string | string[]
|
|
|
54
58
|
readonly shape: import("@angular/core").InputSignal<TxFlagShape>;
|
|
55
59
|
/** With `multiple`: flags shown in the field before "+N" */
|
|
56
60
|
readonly maxFlags: import("@angular/core").InputSignal<number>;
|
|
61
|
+
/** With `multiple`: up to this many picked countries show their names in the field, more show only flags (1 by default) */
|
|
62
|
+
readonly maxNamed: import("@angular/core").InputSignal<number>;
|
|
57
63
|
/** Above this many countries the list is virtual */
|
|
58
64
|
readonly virtualScrollThreshold: import("@angular/core").InputSignal<number>;
|
|
59
65
|
/** Text shown while nothing is selected */
|
|
@@ -82,10 +88,12 @@ export declare class TxCountrySelect extends TxFormControlBase<string | string[]
|
|
|
82
88
|
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
83
89
|
/** The user changed the value */
|
|
84
90
|
readonly changed: import("@angular/core").OutputEmitterRef<string | string[] | null>;
|
|
91
|
+
readonly isInvalid: import("@angular/core").Signal<boolean>;
|
|
85
92
|
readonly items: import("@angular/core").Signal<TxCountryItem[]>;
|
|
86
93
|
readonly virtual: import("@angular/core").Signal<boolean>;
|
|
87
94
|
extraCount(items: TxSelectItem[]): number;
|
|
88
95
|
firstFlags(items: TxSelectItem[]): TxCountryItem[];
|
|
96
|
+
showsNames(items: TxSelectItem[]): boolean;
|
|
89
97
|
onModelChange(value: string | string[] | null): void;
|
|
90
98
|
onClosed(): void;
|
|
91
99
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxCountrySelect, never>;
|
|
@@ -120,6 +128,11 @@ export declare class TxCountrySelect extends TxFormControlBase<string | string[]
|
|
|
120
128
|
"required": false;
|
|
121
129
|
"isSignal": true;
|
|
122
130
|
};
|
|
131
|
+
"maxNamed": {
|
|
132
|
+
"alias": "maxNamed";
|
|
133
|
+
"required": false;
|
|
134
|
+
"isSignal": true;
|
|
135
|
+
};
|
|
123
136
|
"virtualScrollThreshold": {
|
|
124
137
|
"alias": "virtualScrollThreshold";
|
|
125
138
|
"required": false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-country-select.d.ts","names":[],"sources":["../../../../packages/ui/country-select/src/country-select.types.ts","../../../../packages/ui/country-select/src/country-select.component.ts"],"mappings":";;;;;;iBACiB;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;YAIU;;;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-country-select.d.ts","names":[],"sources":["../../../../packages/ui/country-select/src/country-select.types.ts","../../../../packages/ui/country-select/src/country-select.component.ts"],"mappings":";;;;;;iBACiB;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;YAIU;;;;;qBCTC,wBAAwB;mBAClB;UAET;;WAEC,iCAAO,+BAAA;;WACP,kCAAQ;;WACR,gCAAM;;WACN,8BAAI,YAAA;;WACJ,+BAAK,YAAA;;WACL,kCAAQ;;WACR,kCAAQ;;WACR,gDAAsB;;WACtB,qCAAW;;WACX,mCAAS;;WACT,iCAAO;;WACP,iCAAO;;WACP,mCAAS;;WACT,wCAAc;;WACd,8BAAI,YAAA;;WACJ,iCAAO,YAAA;;WACP,iCAAO;;WACP,kCAAQ;;WACR,4BAAE,YAAA,kBAAA;;WACF,kCAAQ;;WAER,iCAAO;WAEP,mCAAS;WAET,+BAAK,OAAA;WAsBL,iCAAO;EAEhB,WAAW,OAAO;EAIlB,WAAW,OAAO,iBAAiB;EAInC,WAAW,OAAO;EAIlB,cAAc;EAKd;SAvEW,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;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA"}
|
|
@@ -20,7 +20,7 @@ export interface TxFlag {
|
|
|
20
20
|
*/
|
|
21
21
|
export type TxFlagResolver = (code: string, shape: TxFlagShape) => TxFlag | Promise<TxFlag | null> | null;
|
|
22
22
|
/**
|
|
23
|
-
* A country as a flag and its name. The name comes from `Intl.DisplayNames` in the current tectra locale, so it follows `setLocale`. Unknown values are shown as plain text. Also exports the ISO 3166-1 code list (`TX_COUNTRY_CODES`), `countryName`, `countryEmoji` and `isCountryCode`.
|
|
23
|
+
* A country as a flag and its name. The name comes from `Intl.DisplayNames` in the current tectra locale, so it follows `setLocale`. Unknown values are shown as plain text. Also exports the ISO 3166-1 code list (`TX_COUNTRY_CODES`), the region codes (`TX_REGION_CODES`), `countryName`, `countryEmoji` and `isCountryCode`.
|
|
24
24
|
* @see https://tectra-ng.com/components/country
|
|
25
25
|
*/
|
|
26
26
|
export declare class TxCountry {
|
|
@@ -110,12 +110,18 @@ export declare class TxCountry {
|
|
|
110
110
|
}
|
|
111
111
|
/** ISO 3166-1 alpha-2 codes of the countries the kit knows, plus `XK` for Kosovo. */
|
|
112
112
|
export declare const TX_COUNTRY_CODES: readonly string[];
|
|
113
|
+
/**
|
|
114
|
+
* Two-letter codes that are not countries but have a localized name and a flag: `EU` (European Union) and `UN`
|
|
115
|
+
* (United Nations). Add them to the country list where they fit: `[...TX_COUNTRY_CODES, ...TX_REGION_CODES]`.
|
|
116
|
+
*/
|
|
117
|
+
export declare const TX_REGION_CODES: readonly string[];
|
|
113
118
|
/**
|
|
114
119
|
* Tells whether the text is two letters, in any case, as a country code looks; it does not check that the country exists.
|
|
115
120
|
*/
|
|
116
121
|
export declare function isCountryCode(code: string | null | undefined): boolean;
|
|
117
122
|
/**
|
|
118
123
|
* Name of the country in the given locale, such as `Poland` for `PL`; text that is not a country code comes back unchanged.
|
|
124
|
+
* A locale that `Intl` does not accept falls back to `en-US`.
|
|
119
125
|
*/
|
|
120
126
|
export declare function countryName(code: string, locale: string): string;
|
|
121
127
|
/** Emoji flag of the country code; an empty string when the code is not valid. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-country.d.ts","names":[],"sources":["../../../../packages/ui/country/src/country.types.ts","../../../../packages/ui/country/src/country.component.ts","../../../../packages/ui/country/src/countries.ts","../../../../packages/ui/country/src/flags.ts"],"mappings":";;;;;YACY;;YAEA;;YAEA;;iBAGK;;EAEf;;EAEA;;;;;YAMU,kBAAkB,cAAc,OAAO,gBAAgB,SAAS,QAAQ;;;;;qBC+BvE;mBACM;UAET;UACA;;WAEC,iCAAO;;WACP,8BAAI;;WACJ,kCAAQ;;WACR,8BAAI,YAAA;;WACJ,+BAAK,YAAA;;WACL,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,gDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,gDAAA;WACX,8BAAI;WAIJ,+BAAK;mBAIG;mBACA;WAIR,mCAAS;WAIT,8BAAI,OAAA;WAWJ,+BAAK;WACL,mCAAS;;;;EAelB,UAAU;SA9DC,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;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;qBChDT;;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-country.d.ts","names":[],"sources":["../../../../packages/ui/country/src/country.types.ts","../../../../packages/ui/country/src/country.component.ts","../../../../packages/ui/country/src/countries.ts","../../../../packages/ui/country/src/flags.ts"],"mappings":";;;;;YACY;;YAEA;;YAEA;;iBAGK;;EAEf;;EAEA;;;;;YAMU,kBAAkB,cAAc,OAAO,gBAAgB,SAAS,QAAQ;;;;;qBC+BvE;mBACM;UAET;UACA;;WAEC,iCAAO;;WACP,8BAAI;;WACJ,kCAAQ;;WACR,8BAAI,YAAA;;WACJ,+BAAK,YAAA;;WACL,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,gDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,gDAAA;WACX,8BAAI;WAIJ,+BAAK;mBAIG;mBACA;WAIR,mCAAS;WAIT,8BAAI,OAAA;WAWJ,+BAAK;WACL,mCAAS;;;;EAelB,UAAU;SA9DC,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;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;qBChDT;;;;;qBAaA;;;;wBASG,cAAc;;;;;wBAQd,YAAY,cAAc;;wBAsB1B,aAAa;;qBCjDhB,kBAAgB,eAAA;;wBAGb,eAAe,UAAU,iBAAiB;;;;qBAO7C,aAAa;;;;wBAOV,aAAa,MAAM,cAAc,OAAO,yBAAyB,yBAAyB"}
|
|
@@ -3,7 +3,7 @@ import { ElementRef, TemplateRef } from "@angular/core";
|
|
|
3
3
|
import { ConnectedOverlayPositionChange } from "@angular/cdk/overlay";
|
|
4
4
|
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
5
5
|
import { TxFormControlBase } from "@tectra-ng/core/forms";
|
|
6
|
-
import { TxPlacement } from "@tectra-ng/core/overlay";
|
|
6
|
+
import { TxPanelWidth, TxPlacement } from "@tectra-ng/core/overlay";
|
|
7
7
|
import { TxIconName } from "@tectra-ng/icons";
|
|
8
8
|
import { TectraDatePickerTokens, TectraDeepPartial } from "@tectra-ng/themes";
|
|
9
9
|
/** One day cell of the calendar. */
|
|
@@ -435,7 +435,7 @@ export declare class TxDatePicker extends TxFormControlBase<TxDatePickerValue> {
|
|
|
435
435
|
readonly focusedYear: import("@angular/core").WritableSignal<number>;
|
|
436
436
|
readonly pendingTime: import("@angular/core").WritableSignal<Date | null>;
|
|
437
437
|
readonly previewDate: import("@angular/core").WritableSignal<Date | null>;
|
|
438
|
-
readonly
|
|
438
|
+
readonly panelWidth: TxPanelWidth;
|
|
439
439
|
private readonly matchedMonths;
|
|
440
440
|
readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
441
441
|
readonly isEditable: import("@angular/core").Signal<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-datepicker.d.ts","names":[],"sources":["../../../../packages/ui/datepicker/src/calendar.ts","../../../../packages/ui/datepicker/src/datepicker.types.ts","../../../../packages/ui/datepicker/src/datepicker.templates.ts","../../../../packages/ui/datepicker/src/date-format.ts","../../../../packages/ui/datepicker/src/datepicker.component.ts"],"mappings":";;;;;;;;;iBACiB;;EAEf,MAAM;;EAEN;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA,MAAM;;;iBAIS;;EAEf;;EAEA;;EAEA,OAAO;;;iBAIQ;;EAEf,UAAU;;EAEV,UAAU;;EAEV,yBAAyB;;EAEzB;;;wBAIc,WAAW,MAAM,OAAO;;wBAKxB,QAAQ,GAAG,yBAAyB,GAAG;;;;wBAOvC,YAAY,GAAG,MAAM,GAAG;;wBAKxB,QAAQ,MAAM,MAAM,eAAe;;;;wBASnC,UAAU,MAAM,MAAM,iBAAiB;;wBAOvC,aAAa,MAAM,MAAM,OAAO;;wBA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WACZ,sCAAY;;WACZ,qCAAW,iBAAA;;WACX,oCAAU,iBAAA;;WACV,gCAAM;;WACN,gCAAM;;WACN,iCAAO,iBAAA;;WACP,iCAAO,iBAAA;;WACP,+BAAK;qBAEK,sCAAY,OAAA;qBACZ,wCAAc,OAAA;qBACd,wCAAc,OAAA;qBACd,wCAAc,OAAA;qBACd,2CAAiB,OAAA;qBACjB,6CAAmB,OAAA;qBACnB,2CAAiB,OAAA;WAE3B,kCAAQ,OAAA,WAAA;WACR,kCAAQ,OAAA,WAAA;WACR,kCAAQ,OAAA,WAAA;WACR,uCAAa,OAAA;mBACL;UAET;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;WAEC,sCAAY,wCAAA;WACZ,oCAAU;WACV,iCAAO;WACP,mCAAS;WACT,qCAAW,OAAA,QAAA,OAAA,mDAAA;WACX,0CAAS;WACT,+CAAc;WACd;WACA;WAEA,gCAAM;WACN,wCAAc;WACd,mCAAS,eAAA;WACT,+BAAK;WACL,mCAAS;WACT,kCAAQ;WACR,qCAAW,eAAA;WACX,qCAAW,eAAA;WACX,sCAAY;WACZ,qCAAW;WACX,qCAAW,eAAA;WACX,qCAAW,eAAA;WACX,
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-datepicker.d.ts","names":[],"sources":["../../../../packages/ui/datepicker/src/calendar.ts","../../../../packages/ui/datepicker/src/datepicker.types.ts","../../../../packages/ui/datepicker/src/datepicker.templates.ts","../../../../packages/ui/datepicker/src/date-format.ts","../../../../packages/ui/datepicker/src/datepicker.component.ts"],"mappings":";;;;;;;;;iBACiB;;EAEf,MAAM;;EAEN;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA,MAAM;;;iBAIS;;EAEf;;EAEA;;EAEA,OAAO;;;iBAIQ;;EAEf,UAAU;;EAEV,UAAU;;EAEV,yBAAyB;;EAEzB;;;wBAIc,WAAW,MAAM,OAAO;;wBAKxB,QAAQ,GAAG,yBA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