@tectra-ng/ui 0.4.4 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +10 -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 +114 -15
- 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 +5 -1
- 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 +36 -16
- 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 +2 -2
- 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 +54 -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 +1 -1
- 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
|
@@ -91,16 +91,23 @@ export declare class TxInputClear {
|
|
|
91
91
|
export declare class TxInputCopy {
|
|
92
92
|
private readonly iconFieldTheme;
|
|
93
93
|
private field;
|
|
94
|
+
private document;
|
|
94
95
|
private timer;
|
|
96
|
+
private destroyed;
|
|
95
97
|
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
96
98
|
readonly isCopied: import("@angular/core").WritableSignal<boolean>;
|
|
97
|
-
|
|
99
|
+
readonly isCopyFailed: import("@angular/core").WritableSignal<boolean>;
|
|
100
|
+
readonly label: import("@angular/core").Signal<string>;
|
|
101
|
+
/** the value that was copied. Copying uses the Clipboard API and falls back to a selection outside a secure context */
|
|
98
102
|
readonly copied: import("@angular/core").OutputEmitterRef<string>;
|
|
103
|
+
/** the browser refused to copy; gives the value. The button says "Could not copy" for a moment instead of the check mark — show your own message from here */
|
|
104
|
+
readonly copyFailed: import("@angular/core").OutputEmitterRef<string>;
|
|
99
105
|
constructor();
|
|
100
|
-
copy():
|
|
106
|
+
copy(): Promise<boolean>;
|
|
101
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxInputCopy, never>;
|
|
102
108
|
static ɵcmp: i0.ɵɵComponentDeclaration<TxInputCopy, "tx-input-copy", never, {}, {
|
|
103
109
|
"copied": "copied";
|
|
110
|
+
"copyFailed": "copyFailed";
|
|
104
111
|
}, never, never, true, never>;
|
|
105
112
|
}
|
|
106
113
|
//# sourceMappingURL=tectra-ng-ui-icon-field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-icon-field.d.ts","names":[],"sources":["../../../../packages/ui/icon-field/src/icon-field.types.ts","../../../../packages/ui/icon-field/src/icon-field.component.ts","../../../../packages/ui/icon-field/src/input-icon.component.ts","../../../../packages/ui/icon-field/src/input-clear.component.ts","../../../../packages/ui/icon-field/src/input-copy.component.ts"],"mappings":";;;;;;YACY;;YAGA;;;;;qBCmCC,uBAAuB;mBACjB;UAET;;WAEC,+BAAK;WAEL,+BAAK,OAAA;WACL,wCAAc,OAAA;WACd,iCAAO,OAAA;WACP,+BAAK,OAAA,WAAA;WACL,6BAAG,OAAA,WAAA;WAEH,iCAAO;WACP,oCAAU;WACV,kCAAQ;WACR,sCAAY,eAAA;WACZ,oCAAU,eAAA;WACV,kCAAQ;WACR,oCAAU;;EASnB;EAKA;EAIA;UAiBQ;UAeA;UAkBA;UAOA;SA9FG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;MAAA;MAAA;MAAA;;;;;;;;qBChBX;mBACM;UAET;;WAEC,8BAAI,YAAA;;WACJ,kCAAQ,YAAA;WAER,kCAAQ,OAAA;SARN,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;;;;qBCAX;mBACM;WAER,OAAK;WACL,sCAAY,wCAAA;;WAEZ,iCAAO;EAEhB;SARW,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAY;;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-icon-field.d.ts","names":[],"sources":["../../../../packages/ui/icon-field/src/icon-field.types.ts","../../../../packages/ui/icon-field/src/icon-field.component.ts","../../../../packages/ui/icon-field/src/input-icon.component.ts","../../../../packages/ui/icon-field/src/input-clear.component.ts","../../../../packages/ui/icon-field/src/input-copy.component.ts"],"mappings":";;;;;;YACY;;YAGA;;;;;qBCmCC,uBAAuB;mBACjB;UAET;;WAEC,+BAAK;WAEL,+BAAK,OAAA;WACL,wCAAc,OAAA;WACd,iCAAO,OAAA;WACP,+BAAK,OAAA,WAAA;WACL,6BAAG,OAAA,WAAA;WAEH,iCAAO;WACP,oCAAU;WACV,kCAAQ;WACR,sCAAY,eAAA;WACZ,oCAAU,eAAA;WACV,kCAAQ;WACR,oCAAU;;EASnB;EAKA;EAIA;UAiBQ;UAeA;UAkBA;UAOA;SA9FG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;MAAA;MAAA;MAAA;;;;;;;;qBChBX;mBACM;UAET;;WAEC,8BAAI,YAAA;;WACJ,kCAAQ,YAAA;WAER,kCAAQ,OAAA;SARN,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;;;;qBCAX;mBACM;WAER,OAAK;WACL,sCAAY,wCAAA;;WAEZ,iCAAO;EAEhB;SARW,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAY;;;;qBCOZ;mBACM;UAET;UACA;UACA;UACA;WAEC,sCAAY,wCAAA;WACZ,kCAAQ;WACR,sCAAY;WACZ,+BAAK;;WAML,gCAAM;;WACN,oCAAU;;EASb,QAAQ;SA3BH,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;IAAA"}
|
|
@@ -9,6 +9,8 @@ export interface TxKeyFilterRule {
|
|
|
9
9
|
/** The whole text must match this pattern as well, when set. */
|
|
10
10
|
value?: RegExp;
|
|
11
11
|
}
|
|
12
|
+
/** Value of `txKeyFilter`: a preset or a pattern; `null`, `undefined`, `false` or `''` switch the filter off. */
|
|
13
|
+
export type TxKeyFilterValue = TxKeyFilterPreset | RegExp | null | undefined | false | '';
|
|
12
14
|
/** Rule of every `TxKeyFilterPreset`. */
|
|
13
15
|
export declare const TX_KEY_FILTER_PRESETS: Record<TxKeyFilterPreset, TxKeyFilterRule>;
|
|
14
16
|
/** Builds the rule of a preset or pattern, optionally allowing the extra characters. */
|
|
@@ -16,22 +18,35 @@ export declare function txKeyFilterRule(filter: TxKeyFilterPreset | RegExp, extr
|
|
|
16
18
|
/** Tells whether a text passes a rule: every character matches and, when set, so does the whole text. */
|
|
17
19
|
export declare function txKeyFilterAccepts(rule: TxKeyFilterRule, text: string): boolean;
|
|
18
20
|
/**
|
|
19
|
-
* Lets only allowed characters into an `input` or `textarea`: blocks typing, cleans pasted and dropped text. With `validateOnly` it does not block anything and reports a `keyFilter` error to the form instead.
|
|
21
|
+
* Lets only allowed characters into an `input` or `textarea`: blocks typing, cleans pasted and dropped text. With `validateOnly` it does not block anything and reports a `keyFilter` error to the form instead. Text that arrives without a beforeinput event the browser lets it cancel — an Android keyboard, an IME composition, autocorrect, autofill — is cleaned right after it lands (at the end of a composition), and the caret stays in place.
|
|
20
22
|
* @see https://tectra-ng.com/components/key-filter
|
|
21
23
|
*/
|
|
22
24
|
export declare class TxKeyFilter implements Validator {
|
|
23
25
|
private elementRef;
|
|
24
|
-
/** A preset name or a `RegExp` that one character must match */
|
|
25
|
-
readonly txKeyFilter: import("@angular/core").InputSignal<
|
|
26
|
+
/** A preset name or a `RegExp` that one character must match; `null`, `undefined`, `false` or `''` switch the filter off (no blocking, cleaning or validation) */
|
|
27
|
+
readonly txKeyFilter: import("@angular/core").InputSignal<TxKeyFilterValue>;
|
|
26
28
|
/** Extra characters allowed on top of the preset, e.g. `'-_ '` */
|
|
27
29
|
readonly keyFilterExtra: import("@angular/core").InputSignal<string>;
|
|
28
30
|
/** Do not block input; add a `keyFilter` error to the form control when the value has other characters */
|
|
29
31
|
readonly validateOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
30
|
-
readonly rule: import("@angular/core").Signal<
|
|
32
|
+
readonly rule: import("@angular/core").Signal<TxKeyFilterRule | null>;
|
|
33
|
+
private readonly blockingRule;
|
|
34
|
+
private composing;
|
|
35
|
+
private previous;
|
|
36
|
+
private validatorChange;
|
|
37
|
+
private validatorReady;
|
|
38
|
+
private readonly revalidate;
|
|
31
39
|
onBeforeInput(inputEvent: Event): void;
|
|
40
|
+
onInput(event: Event): void;
|
|
41
|
+
onCompositionStart(): void;
|
|
42
|
+
onCompositionEnd(): void;
|
|
32
43
|
onPaste(event: Event): void;
|
|
33
44
|
onDrop(event: Event): void;
|
|
34
45
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
46
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
47
|
+
private clean;
|
|
48
|
+
private placeCaret;
|
|
49
|
+
private notify;
|
|
35
50
|
private insertFiltered;
|
|
36
51
|
private accepts;
|
|
37
52
|
private selection;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-key-filter.d.ts","names":[],"sources":["../../../../packages/ui/key-filter/src/key-filter.types.ts","../../../../packages/ui/key-filter/src/key-filter.presets.ts","../../../../packages/ui/key-filter/src/key-filter.directive.ts"],"mappings":";;;YACY;;iBAeK;;EAEf,MAAM;;EAEN,QAAQ;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-key-filter.d.ts","names":[],"sources":["../../../../packages/ui/key-filter/src/key-filter.types.ts","../../../../packages/ui/key-filter/src/key-filter.presets.ts","../../../../packages/ui/key-filter/src/key-filter.directive.ts"],"mappings":";;;YACY;;iBAeK;;EAEf,MAAM;;EAEN,QAAQ;;;YAIE,mBAAmB,oBAAoB;;qBCrBtC,uBAAuB,OAAO,mBAAmB;;wBAgB9C,gBAAgB,QAAQ,oBAAoB,QAAQ,iBAAa;;wBAUjE,mBAAmB,MAAM,iBAAiB;;;;;qBCR7C,uBAAuB;UAC1B;;WAEC,qCAAW,YAAA;;WACX,wCAAc;;WACd,sCAAY;WAEZ,8BAAI,OAAA;mBAII;UAET;UACA;UACA;UACA;mBACS;EASjB,cAAc,YAAY;EAiB1B,QAAQ,OAAO;EAMf;EAKA;EAKA,QAAQ,OAAO;EAOf,OAAO,OAAO;EAOd,SAAS,SAAS,kBAAkB;EASpC,0BAA0B;UAIlB;UAwBA;UAQA;UAIA;UAeA;UAOA;SAhJG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
|
|
@@ -30,13 +30,15 @@ export declare class TxKnobValueTemplate {
|
|
|
30
30
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TxKnobValueTemplate, "ng-template[txKnobValue]", never, {}, {}, never, never, true, never>;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
* A value on a dial: drag along the ring or use the keyboard.
|
|
34
|
-
*
|
|
33
|
+
* A value on a dial: drag along the ring or use the keyboard. A `ControlValueAccessor` — works with `[formControl]`,
|
|
34
|
+
* `ngModel`, signal forms and `[(value)]`.
|
|
35
35
|
*/
|
|
36
36
|
export declare class TxKnob extends TxFormControlBase<number> {
|
|
37
37
|
private readonly knobTheme;
|
|
38
38
|
private localeService;
|
|
39
39
|
private lastFraction;
|
|
40
|
+
/** Two-way: the value (`null` shows `min`); use it or a form control */
|
|
41
|
+
readonly value: import("@angular/core").ModelSignal<number | null>;
|
|
40
42
|
/** Smallest value */
|
|
41
43
|
readonly min: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
42
44
|
/** Largest value of the scale */
|
|
@@ -123,6 +125,11 @@ export declare class TxKnob extends TxFormControlBase<number> {
|
|
|
123
125
|
private point;
|
|
124
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxKnob, never>;
|
|
125
127
|
static ɵcmp: i0.ɵɵComponentDeclaration<TxKnob, "tx-knob", never, {
|
|
128
|
+
"value": {
|
|
129
|
+
"alias": "value";
|
|
130
|
+
"required": false;
|
|
131
|
+
"isSignal": true;
|
|
132
|
+
};
|
|
126
133
|
"min": {
|
|
127
134
|
"alias": "min";
|
|
128
135
|
"required": false;
|
|
@@ -224,6 +231,7 @@ export declare class TxKnob extends TxFormControlBase<number> {
|
|
|
224
231
|
"isSignal": true;
|
|
225
232
|
};
|
|
226
233
|
}, {
|
|
234
|
+
"value": "valueChange";
|
|
227
235
|
"changed": "changed";
|
|
228
236
|
}, ["template"], never, true, never>;
|
|
229
237
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-knob.d.ts","names":[],"sources":["../../../../packages/ui/knob/src/knob.types.ts","../../../../packages/ui/knob/src/knob-templates.directive.ts","../../../../packages/ui/knob/src/knob.component.ts"],"mappings":";;;;;;YACY;;YAEA;;iBAGK;;EAEf;;EAEA,eAAe;;;iBAIA;;EAEf;;;;;;qBCZW;WACF,aAAW,YAAA;SAEb,uBAAuB,YAAY,qBAAqB,mBAAmB,WAAW;SAHlF,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-knob.d.ts","names":[],"sources":["../../../../packages/ui/knob/src/knob.types.ts","../../../../packages/ui/knob/src/knob-templates.directive.ts","../../../../packages/ui/knob/src/knob.component.ts"],"mappings":";;;;;;YACY;;YAEA;;iBAGK;;EAEf;;EAEA,eAAe;;;iBAIA;;EAEf;;;;;;qBCZW;WACF,aAAW,YAAA;SAEb,uBAAuB,YAAY,qBAAqB,mBAAmB,WAAW;SAHlF,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBCsCA,eAAe;mBACT;UAET;UACA;;WAEU,+BAAK;;WACd,6BAAG;;WACH,6BAAG;;WACH,8BAAI;;WACJ,+BAAK;;WACL,8BAAI;;WACJ,qCAAW;;WACX,6BAAG,YAAA;;WACH,mCAAS;;WACT,oCAAU;;WACV,uCAAa;;WACb,iCAAO;;WAEP,uCAAa;;WACb,kCAAQ;;WACR,mCAAS;;WACT,wCAAc;;WACd,kCAAQ;;WACR,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,6CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,iCAAO,iBAAA;WAEP,kCAAQ,OAAA;WACR,6BAAG,OAAA,WAAA;WAEH,oCAAU;WACV,mCAAS;WACT,qCAAW,OAAA,QAAA,OAAA,6CAAA;WAEX,oCAAU;WACV,oCAAU;WACV,oCAAU;WACV,iCAAO;WACP,iCAAO;WACP,gCAAM;WACN,+BAAK;WACL,+BAAK;WACL,8BAAI;WACJ,mCAAS;WACT,kCAAQ;WACR,uCAAa;WACb,gCAAM;WACN,mCAAS;WACT,mCAAS;WACT,mCAAS;WACT,gCAAM;IA2GuB;IAAW;;WA1GxC,8BAAI;WACJ,iCAAO;WAMP,mCAAS;;;;WAOT;EAET,cAAc,OAAO;EAYrB,cAAc,OAAO;EAMrB;EAOA,UAAU,OAAO;EAsBjB;UAIQ;UAoBA;UAUA;UAIA;UAKA;SAjKG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAM;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;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"}
|
|
@@ -15,7 +15,9 @@ export declare class TxLabel {
|
|
|
15
15
|
readonly colon: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
16
16
|
/** smaller, muted — for filters and dense forms */
|
|
17
17
|
readonly subtle: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
18
|
-
/**
|
|
18
|
+
/** shows a check mark after the text — bind it to whether the field has a value */
|
|
19
|
+
readonly filled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
20
|
+
/** help icon after the text; the hint opens in a `txTooltip` on hover and focus */
|
|
19
21
|
readonly tooltip: import("@angular/core").InputSignal<string | undefined>;
|
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxLabel, never>;
|
|
21
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<TxLabel, "tx-label", never, {
|
|
@@ -39,6 +41,11 @@ export declare class TxLabel {
|
|
|
39
41
|
"required": false;
|
|
40
42
|
"isSignal": true;
|
|
41
43
|
};
|
|
44
|
+
"filled": {
|
|
45
|
+
"alias": "filled";
|
|
46
|
+
"required": false;
|
|
47
|
+
"isSignal": true;
|
|
48
|
+
};
|
|
42
49
|
"tooltip": {
|
|
43
50
|
"alias": "tooltip";
|
|
44
51
|
"required": false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-label.d.ts","names":[],"sources":["../../../../packages/ui/label/src/label.types.ts","../../../../packages/ui/label/src/label.component.ts","../../../../packages/ui/label/src/float-label.component.ts","../../../../packages/ui/label/src/ifta-label.component.ts"],"mappings":";;YACY;;;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-label.d.ts","names":[],"sources":["../../../../packages/ui/label/src/label.types.ts","../../../../packages/ui/label/src/label.component.ts","../../../../packages/ui/label/src/float-label.component.ts","../../../../packages/ui/label/src/ifta-label.component.ts"],"mappings":";;YACY;;;;;qBC4BC;mBACM;;WAER,6BAAG;;WACH,kCAAQ;;WACR,+BAAK;;WACL,gCAAM;;WACN,gCAAM;;WACN,iCAAO;SARL,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAO;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;;;;qBCdP;mBACM;;WAER,iCAAO,YAAA;SAHL,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAY;MAAA;MAAA;MAAA;;;;;;;;qBCDZ;mBACM;SADN,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA"}
|
|
@@ -109,6 +109,7 @@ export declare class TxLink {
|
|
|
109
109
|
private readonly linkTheme;
|
|
110
110
|
private document;
|
|
111
111
|
private timer;
|
|
112
|
+
private destroyed;
|
|
112
113
|
/** URL (without a protocol `https://` is added), email or phone number */
|
|
113
114
|
readonly link: import("@angular/core").InputSignal<string | null | undefined>;
|
|
114
115
|
/** `url`, `email` (`mailto:`) or `phone` (`tel:`) */
|
|
@@ -135,12 +136,15 @@ export declare class TxLink {
|
|
|
135
136
|
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
136
137
|
/** Removes the tectra styles */
|
|
137
138
|
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
138
|
-
/** the link was copied; gives the copied text */
|
|
139
|
+
/** the link was copied; gives the copied text. Copying uses the Clipboard API and falls back to a selection outside a secure context */
|
|
139
140
|
readonly copied: import("@angular/core").OutputEmitterRef<string>;
|
|
141
|
+
/** the browser refused to copy; gives the text. The button says "Could not copy" for a moment instead of the check mark — show your own message from here */
|
|
142
|
+
readonly copyFailed: import("@angular/core").OutputEmitterRef<string>;
|
|
140
143
|
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
141
144
|
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
142
145
|
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxLinkPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
143
146
|
readonly isCopied: import("@angular/core").WritableSignal<boolean>;
|
|
147
|
+
readonly isCopyFailed: import("@angular/core").WritableSignal<boolean>;
|
|
144
148
|
readonly value: import("@angular/core").Signal<string>;
|
|
145
149
|
readonly fullText: import("@angular/core").Signal<string>;
|
|
146
150
|
readonly isTruncated: import("@angular/core").Signal<boolean>;
|
|
@@ -151,11 +155,12 @@ export declare class TxLink {
|
|
|
151
155
|
readonly opensNewTab: import("@angular/core").Signal<boolean>;
|
|
152
156
|
readonly showExternal: import("@angular/core").Signal<boolean>;
|
|
153
157
|
readonly copyLabel: import("@angular/core").Signal<string>;
|
|
158
|
+
readonly copyStateLabel: import("@angular/core").Signal<string>;
|
|
154
159
|
readonly hostStyle: import("@angular/core").Signal<{
|
|
155
160
|
[x: string]: string;
|
|
156
161
|
}>;
|
|
157
162
|
constructor();
|
|
158
|
-
copy():
|
|
163
|
+
copy(): Promise<boolean>;
|
|
159
164
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxLink, never>;
|
|
160
165
|
static ɵcmp: i0.ɵɵComponentDeclaration<TxLink, "tx-link", never, {
|
|
161
166
|
"link": {
|
|
@@ -225,6 +230,7 @@ export declare class TxLink {
|
|
|
225
230
|
};
|
|
226
231
|
}, {
|
|
227
232
|
"copied": "copied";
|
|
233
|
+
"copyFailed": "copyFailed";
|
|
228
234
|
}, never, never, true, never>;
|
|
229
235
|
}
|
|
230
236
|
//# sourceMappingURL=tectra-ng-ui-link.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-link.d.ts","names":[],"sources":["../../../../packages/ui/link/src/link.types.ts","../../../../packages/ui/link/src/icon-link.component.ts","../../../../packages/ui/link/src/link.component.ts"],"mappings":";;;;;;YACY;;YAGA;;YAGA;;YAGA;;;;;qBCgBC;mBACM;UAET;;WAEC,8BAAI,YAAA;;WACJ,8BAAI;;WACJ,oCAAU,YAAA;;WACV,8BAAI;;WACJ,gCAAM;;WACN,+BAAK;;WACL,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,iDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,iDAAA;WACX,kCAAQ,OAAA;WAIR,wCAAc;WACd,qCAAW;WACX,mCAAS;;;SAzBP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAU;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;;;;qBCKV;mBACM;UAET;UACA;;WAEC,8BAAI;;WACJ,8BAAI,YAAA;;WACJ,kCAAQ;;WACR,mCAAS,YAAA;;WACT,mCAAS;;WACT,oCAAU,YAAA;;WACV,gCAAM;;WACN,kCAAQ;;WACR,kCAAQ;;WACR,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,6CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,gCAAM;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-link.d.ts","names":[],"sources":["../../../../packages/ui/link/src/link.types.ts","../../../../packages/ui/link/src/icon-link.component.ts","../../../../packages/ui/link/src/link.component.ts"],"mappings":";;;;;;YACY;;YAGA;;YAGA;;YAGA;;;;;qBCgBC;mBACM;UAET;;WAEC,8BAAI,YAAA;;WACJ,8BAAI;;WACJ,oCAAU,YAAA;;WACV,8BAAI;;WACJ,gCAAM;;WACN,+BAAK;;WACL,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,iDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,iDAAA;WACX,kCAAQ,OAAA;WAIR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;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { ElementRef } from "@angular/core";
|
|
3
3
|
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
4
|
+
import { TxPanelWidth } from "@tectra-ng/core/overlay";
|
|
4
5
|
import { TectraDeepPartial, TectraMentionTokens } from "@tectra-ng/themes";
|
|
5
6
|
import { TxOptionsBase, TxSelectItem, TxSelectPart } from "@tectra-ng/ui/select";
|
|
6
7
|
/** One suggestion of `tx-mention-textarea`: who or what can be mentioned. */
|
|
@@ -70,6 +71,7 @@ export declare class TxMentionTextarea extends TxOptionsBase<string> {
|
|
|
70
71
|
readonly isInvalid: import("@angular/core").Signal<boolean>;
|
|
71
72
|
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxMentionTextareaPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
72
73
|
readonly positions: import("@angular/cdk/overlay").ConnectedPosition[];
|
|
74
|
+
readonly panelWidth: TxPanelWidth;
|
|
73
75
|
readonly scrollStrategy: import("@angular/cdk/overlay").ScrollStrategy;
|
|
74
76
|
protected readonly source: import("@angular/core").InputSignal<readonly TxMentionItem[]>;
|
|
75
77
|
protected readonly localQuery: import("@angular/core").Signal<string>;
|
|
@@ -88,6 +90,9 @@ export declare class TxMentionTextarea extends TxOptionsBase<string> {
|
|
|
88
90
|
readonly hostStyle: import("@angular/core").Signal<{
|
|
89
91
|
[x: string]: string;
|
|
90
92
|
}>;
|
|
93
|
+
readonly panelStyle: import("@angular/core").Signal<{
|
|
94
|
+
[x: string]: string;
|
|
95
|
+
}>;
|
|
91
96
|
constructor();
|
|
92
97
|
onInput(): void;
|
|
93
98
|
onKeydown(event: KeyboardEvent): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-mention-textarea.d.ts","names":[],"sources":["../../../../packages/ui/mention-textarea/src/mention-textarea.types.ts","../../../../packages/ui/mention-textarea/src/mention-textarea.component.ts","../../../../packages/ui/mention-textarea/src/caret.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-mention-textarea.d.ts","names":[],"sources":["../../../../packages/ui/mention-textarea/src/mention-textarea.types.ts","../../../../packages/ui/mention-textarea/src/mention-textarea.component.ts","../../../../packages/ui/mention-textarea/src/caret.ts"],"mappings":";;;;;;;iBAGiB;;EAEf;;EAEA;;EAEA;;EAEA;;;YAIU,8CAA8C,QAAQ;;iBAGjD;;EAEf;;;;;;qBC4BW,0BAA0B;mBACpB;;WAER,qCAAW,qBAAA;;WACX,iCAAO;;WACP,qCAAW;;WACX,+BAAK;;WACL,oCAAU;;WACV,qCAAW;;WACX,iCAAO;;WACP,mCAAS;;WACT,wCAAc;;WACd,iCAAO;;WACP,kCAAQ;;WACR,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,wDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,wCAAc;;WACd,mCAAS,iBAAA;WAET,kCAAQ,OAAA,WAAA;UACT;UACA;mBACS;mBACA;WAYR,oCAAU;WACV,mCAAS;WACT,qCAAW,OAAA,QAAA,OAAA,wDAAA;WACX,0CAAS;WACT,YAAU;WACV,+CAAc;qBACJ,gCAAM,qBAAA;qBACG,oCAAU;WAE7B,gCAAM;WACN,+BAAK;;;;;UACN;mBACS;UACT;WAEC,8BAAI;WACJ,kCAAQ,OAAA;WAYR,mCAAS;WACT,mCAAS;;;WACT,oCAAU;;;;EAgBnB;EAMA,UAAU,OAAO;EAwBjB;EAMA;EAKA,iBAAiB,OAAO;EAIxB,cAAc,MAAM;EAIpB;YAKU;YAIA;YAIA,SAAS,MAAM;UAoBjB;UA8BA;SApMG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAiB;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA;;;;iBCzBb;;EAEf;;EAEA;;EAEA;;;wBAIc,WAAW,UAAU,qBAAqB,mBAAmB"}
|
|
@@ -254,7 +254,7 @@ export declare class TxFieldError {
|
|
|
254
254
|
readonly showImmediately: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
255
255
|
/** text shown when the control has a valid value and was touched or changed (at once with `showImmediately`) */
|
|
256
256
|
readonly successText: import("@angular/core").InputSignal<string | undefined>;
|
|
257
|
-
/** own texts per error key — a string with `{param}` or a function of the error */
|
|
257
|
+
/** own texts per error key — a string with `{param}` or a function of the error; `'*'` is the text for keys that have no text of their own */
|
|
258
258
|
readonly messages: import("@angular/core").InputSignal<TxValidationMessages | undefined>;
|
|
259
259
|
/** `tx-field-hint`, `tx-field-error`: id of the field; adds this text to its `aria-describedby` */
|
|
260
260
|
readonly for: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-message.d.ts","names":[],"sources":["../../../../packages/ui/message/src/message.types.ts","../../../../packages/ui/message/src/message-templates.directive.ts","../../../../packages/ui/message/src/message.component.ts","../../../../packages/ui/message/src/field-hint.component.ts","../../../../packages/ui/message/src/field-error.component.ts"],"mappings":";;;;;;;YACY;;YAEA;;YAEA;;YAEA;;YAEA;;YAEA;;;;;qBCRC;WACF,aAAW;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA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,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,qDAAA;WACX,oCAAU;WACV,kCAAQ,OAAA;WAIR,mCAAS;;;;SAtBP,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;;;;;;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-message.d.ts","names":[],"sources":["../../../../packages/ui/message/src/message.types.ts","../../../../packages/ui/message/src/message-templates.directive.ts","../../../../packages/ui/message/src/message.component.ts","../../../../packages/ui/message/src/field-hint.component.ts","../../../../packages/ui/message/src/field-error.component.ts"],"mappings":";;;;;;;YACY;;YAEA;;YAEA;;YAEA;;YAEA;;YAEA;;;;;qBCRC;WACF,aAAW;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBAKA;WACF,aAAW;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBAKA;SAAA,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBCmBA;mBACM;UAET;;WAEC,kCAAQ,YAAA;;WACR,8BAAI;;WACJ,8BAAI,YAAA;;WACJ,8BAAI,YAAA;;WACJ,iCAAO,YAAA;;WACP,kCAAQ;;WACR,mCAAS,YAAA;;WACT,8BAAI;;WACJ,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,gDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,gCAAM;WAEN,sCAAY,OAAA;WACZ,2CAAiB,OAAA;WACjB,iCAAO,OAAA;WAEP,sCAAY,wCAAA;WACZ,oCAAU;WACV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ACF,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,qDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,qDAAA;WACX,oCAAU;WACV,mCAAS;;;WAET,kCAAQ;WAIR,oCAAU;WAaV,sCAAY;WAYZ,+BAAK;;UAUN;SAhEG,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"}
|
|
@@ -52,6 +52,8 @@ export interface TxMonthCalendarLabels {
|
|
|
52
52
|
/** Accessible name of the calendar grid. */
|
|
53
53
|
region: string;
|
|
54
54
|
}
|
|
55
|
+
/** Own texts of `tx-month-calendar`; a missing, empty or `null` text keeps the translated one. */
|
|
56
|
+
export type TxMonthCalendarLabelInput = { readonly [K in keyof TxMonthCalendarLabels]?: string | null; };
|
|
55
57
|
/** One day cell of the laid out month. */
|
|
56
58
|
export interface TxMonthCalendarDay {
|
|
57
59
|
/** Day as `YYYY-MM-DD`. */
|
|
@@ -186,12 +188,14 @@ export declare class TxMonthCalendar {
|
|
|
186
188
|
readonly weekStartsOn: import("@angular/core").InputSignal<number | undefined>;
|
|
187
189
|
/** Bar rows per week; the rest goes to the `+N` link of the day */
|
|
188
190
|
readonly maxLanes: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
189
|
-
/** Own texts `{ more, today, region }`: `more` with a `{count}` placeholder, `today` added to the name of today, `region` the name of the grid;
|
|
190
|
-
readonly labels: import("@angular/core").InputSignal<
|
|
191
|
+
/** Own texts `{ more, today, region }`: `more` with a `{count}` placeholder, `today` added to the name of today, `region` the name of the grid; a missing, empty or `null` text stays translated */
|
|
192
|
+
readonly labels: import("@angular/core").InputSignal<TxMonthCalendarLabelInput | null | undefined>;
|
|
191
193
|
/** BCP 47 locale for weekday names and day names; the kit locale by default */
|
|
192
194
|
readonly locale: import("@angular/core").InputSignal<string | undefined>;
|
|
193
195
|
/** The day treated as today (the day of creation by default); pass it from a clock if the page stays open over midnight */
|
|
194
196
|
readonly today: import("@angular/core").InputSignal<Date | undefined>;
|
|
197
|
+
/** Content of a bar as a `TemplateRef` — for a component that wraps the calendar and gets the template from its own content; it wins over a `txMonthCalendarEvent` template inside the calendar */
|
|
198
|
+
readonly eventTemplate: import("@angular/core").InputSignal<TemplateRef<TxMonthCalendarEventContext> | null | undefined>;
|
|
195
199
|
/** Design tokens of this instance (`monthCalendar`) */
|
|
196
200
|
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraMonthCalendarTokens> | undefined>;
|
|
197
201
|
/** Classes and styles of the parts: `root`, `grid`, `head`, `weekday`, `week`, `cell`, `day`, `number`, `marker`, `event`, `more` */
|
|
@@ -204,7 +208,8 @@ export declare class TxMonthCalendar {
|
|
|
204
208
|
readonly dayClick: import("@angular/core").OutputEmitterRef<Date>;
|
|
205
209
|
/** A bar was clicked; the event */
|
|
206
210
|
readonly eventClick: import("@angular/core").OutputEmitterRef<TxMonthCalendarEvent<unknown>>;
|
|
207
|
-
protected readonly
|
|
211
|
+
protected readonly eventSlot: import("@angular/core").Signal<TxMonthCalendarEventTemplate | undefined>;
|
|
212
|
+
protected readonly resolvedEventTemplate: import("@angular/core").Signal<TemplateRef<TxMonthCalendarEventContext> | null>;
|
|
208
213
|
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
209
214
|
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
210
215
|
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxMonthCalendarPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
@@ -271,6 +276,11 @@ export declare class TxMonthCalendar {
|
|
|
271
276
|
"required": false;
|
|
272
277
|
"isSignal": true;
|
|
273
278
|
};
|
|
279
|
+
"eventTemplate": {
|
|
280
|
+
"alias": "eventTemplate";
|
|
281
|
+
"required": false;
|
|
282
|
+
"isSignal": true;
|
|
283
|
+
};
|
|
274
284
|
"dt": {
|
|
275
285
|
"alias": "dt";
|
|
276
286
|
"required": false;
|
|
@@ -294,6 +304,6 @@ export declare class TxMonthCalendar {
|
|
|
294
304
|
}, {
|
|
295
305
|
"dayClick": "dayClick";
|
|
296
306
|
"eventClick": "eventClick";
|
|
297
|
-
}, ["
|
|
307
|
+
}, ["eventSlot"], never, true, never>;
|
|
298
308
|
}
|
|
299
309
|
//# sourceMappingURL=tectra-ng-ui-month-calendar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-month-calendar.d.ts","names":[],"sources":["../../../../packages/ui/month-calendar/src/month-calendar.types.ts","../../../../packages/ui/month-calendar/src/month-calendar.templates.ts","../../../../packages/ui/month-calendar/src/month-calendar.layout.ts","../../../../packages/ui/month-calendar/src/month-calendar.component.ts"],"mappings":";;;;;YACY;;YAGA,2BAA2B;;YAG3B;;iBAGK;;EAEf;;EAEA;;;iBAIe,qBAAqB;;EAEpC;;EAEA,OAAO;;EAEP,MAAM;;EAEN;;EAEA,MAAM;;EAEN,SAAS;;EAET,OAAO;;;iBAIQ;;EAEf,MAAM;;EAEN,MAAM;;EAEN;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-month-calendar.d.ts","names":[],"sources":["../../../../packages/ui/month-calendar/src/month-calendar.types.ts","../../../../packages/ui/month-calendar/src/month-calendar.templates.ts","../../../../packages/ui/month-calendar/src/month-calendar.layout.ts","../../../../packages/ui/month-calendar/src/month-calendar.component.ts"],"mappings":";;;;;YACY;;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T,kCAAQ;;WAER,kCAAQ,iBAAA;;WACR,oCAAU,iBAAA;qBAEA,mCAAS,OAAA;qBACT,+CAAqB,OAAA,YAAA;WAE/B,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,sDAAA;WACX,mCAAS;;;WAET,wCAAc;WACd,2CAAiB;WACjB,8BAAI,OAAA;WAKJ,kCAAQ,8CAAA;WACR,+BAAK,OAAA;mBAWG;WACR,kCAAQ;mBAKA;EAEjB,SAAS,KAAK;EAOd,UAAU;EAIV,WAAW,KAAK;EAKhB,aAAa,OAAO;EAIpB,aAAa,OAAO,eAAe,KAAK;SAhF7B,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAe;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA"}
|
|
@@ -17,7 +17,7 @@ export interface TxMultiselectChangeEvent {
|
|
|
17
17
|
selected: boolean;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
* Pick several values from a list. The value is an array; works with `[formControl]`, `ngModel` and signal forms. Shares the option engine, keyboard and panel with `tx-select`: groups, search, virtual scroll, lazy loading and templates work the same.
|
|
20
|
+
* Pick several values from a list. The value is an array; works with `[formControl]`, `ngModel` and signal forms. Shares the option engine, keyboard and panel with `tx-select`: groups, search, virtual scroll, lazy loading and templates work the same. The panel sizes itself like the one of `tx-select`.
|
|
21
21
|
* @see https://tectra-ng.com/components/multiselect
|
|
22
22
|
*/
|
|
23
23
|
export declare class TxMultiselect extends TxSelectBase<unknown[]> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IsActiveMatchOptions } from "@angular/router";
|
|
2
|
-
import { TxMenuItem, TxMenuItemEvent } from "@tectra-ng/ui/menu";
|
|
3
1
|
import * as i0 from "@angular/core";
|
|
4
2
|
import { Signal, TemplateRef } from "@angular/core";
|
|
3
|
+
import { IsActiveMatchOptions } from "@angular/router";
|
|
4
|
+
import { TxMenuItem, TxMenuItemEvent } from "@tectra-ng/ui/menu";
|
|
5
5
|
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
6
6
|
import { TectraDeepPartial, TectraPanelMenuTokens } from "@tectra-ng/themes";
|
|
7
7
|
/** Look of `tx-panel-menu`: `panel` (titled blocks) or `sidebar` (flat navigation). */
|
|
@@ -10,10 +10,18 @@ export type TxPanelMenuVariant = 'panel' | 'sidebar';
|
|
|
10
10
|
export type TxPanelMenuExpandedKeys = Record<string, boolean>;
|
|
11
11
|
/** Parts of `tx-panel-menu` that `pt` can style. */
|
|
12
12
|
export type TxPanelMenuPart = 'root' | 'panel' | 'header' | 'section' | 'tree' | 'item' | 'icon' | 'label' | 'badge' | 'lock' | 'submenuIcon' | 'separator';
|
|
13
|
+
/** Badge of a panel menu item: a text, a number, or a signal of one that updates the badge in place. */
|
|
14
|
+
export type TxPanelMenuBadge = string | number | Signal<string | number | null | undefined>;
|
|
15
|
+
/** Translates a label of `tx-panel-menu`: item labels, section titles and item titles are keys passed through it. */
|
|
16
|
+
export type TxPanelMenuTranslate = (key: string) => string;
|
|
13
17
|
/** One entry of `tx-panel-menu`: a menu item with nested items, an initial open state and active matching. */
|
|
14
|
-
export interface TxPanelMenuItem<TData = unknown> extends Omit<TxMenuItem<TData>, 'items'> {
|
|
18
|
+
export interface TxPanelMenuItem<TData = unknown> extends Omit<TxMenuItem<TData>, 'items' | 'badge' | 'command'> {
|
|
15
19
|
/** Nested items shown as a submenu. */
|
|
16
20
|
items?: TxPanelMenuItem<TData>[];
|
|
21
|
+
/** Small badge shown at the end of the item; a signal updates it in place. */
|
|
22
|
+
badge?: TxPanelMenuBadge;
|
|
23
|
+
/** Called when the item is activated. */
|
|
24
|
+
command?(event: TxPanelMenuItemEvent<TData>): void;
|
|
17
25
|
/** Whether the submenu starts open. */
|
|
18
26
|
expanded?: boolean;
|
|
19
27
|
/** Marks the item as the current one, regardless of the route. */
|
|
@@ -22,15 +30,25 @@ export interface TxPanelMenuItem<TData = unknown> extends Omit<TxMenuItem<TData>
|
|
|
22
30
|
routerLinkActiveOptions?: {
|
|
23
31
|
exact: boolean;
|
|
24
32
|
} | Partial<IsActiveMatchOptions>;
|
|
33
|
+
/**
|
|
34
|
+
* Router links whose pages do not make this item active, e.g. `['/projects/owners']` on a `/projects` item that has
|
|
35
|
+
* an own `/projects/owners` sibling.
|
|
36
|
+
*/
|
|
37
|
+
routerLinkActiveExclude?: (string | readonly unknown[])[];
|
|
25
38
|
}
|
|
26
39
|
/** Payload of a panel menu item click: the original event and the clicked item. */
|
|
27
|
-
export
|
|
40
|
+
export interface TxPanelMenuItemEvent<TData = unknown> extends Omit<TxMenuItemEvent<TData>, 'item'> {
|
|
41
|
+
/** The item that was activated. */
|
|
42
|
+
item: TxPanelMenuItem<TData>;
|
|
43
|
+
}
|
|
28
44
|
/** Context of the item template of `tx-panel-menu`. */
|
|
29
45
|
export interface TxPanelMenuItemContext<TData = unknown> {
|
|
30
46
|
/** The item being rendered. */
|
|
31
47
|
$implicit: TxPanelMenuItem<TData>;
|
|
32
48
|
/** The item being rendered. */
|
|
33
49
|
item: TxPanelMenuItem<TData>;
|
|
50
|
+
/** Label of the item, passed through `translate`. */
|
|
51
|
+
label: string;
|
|
34
52
|
/** Nesting depth of the item, from `0` at the top. */
|
|
35
53
|
level: number;
|
|
36
54
|
/** Whether the item is the current one. */
|
|
@@ -41,7 +59,7 @@ export interface TxPanelMenuItemContext<TData = unknown> {
|
|
|
41
59
|
hasSubmenu: boolean;
|
|
42
60
|
}
|
|
43
61
|
/**
|
|
44
|
-
* `<ng-template txPanelMenuItem let-item let-level="level" let-active="active" let-expanded="expanded" let-hasSubmenu="hasSubmenu">` — content of every header and item
|
|
62
|
+
* `<ng-template txPanelMenuItem let-item let-level="level" let-active="active" let-expanded="expanded" let-hasSubmenu="hasSubmenu" let-label="label">` — content of every header and item; `label` is the translated label
|
|
45
63
|
* @see https://tectra-ng.com/components/panel-menu
|
|
46
64
|
*/
|
|
47
65
|
export declare class TxPanelMenuItemTemplate {
|
|
@@ -104,6 +122,8 @@ export declare class TxPanelMenu {
|
|
|
104
122
|
readonly badgeMax: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
105
123
|
/** Makes the menu a `navigation` landmark with this name */
|
|
106
124
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
125
|
+
/** Translate function: item labels, section titles and item titles are keys passed through it; a function that reads signals updates the menu when they change */
|
|
126
|
+
readonly translate: import("@angular/core").InputSignal<TxPanelMenuTranslate | undefined>;
|
|
107
127
|
/** Design tokens of this instance (`panelMenu`) */
|
|
108
128
|
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraPanelMenuTokens> | undefined>;
|
|
109
129
|
/** Classes and styles of the parts: `root`, `panel`, `header`, `section`, `tree`, `item`, `icon`, `label`, `badge`, `lock`, `submenuIcon`, `separator` */
|
|
@@ -113,7 +133,7 @@ export declare class TxPanelMenu {
|
|
|
113
133
|
/** Removes the tectra styles */
|
|
114
134
|
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
115
135
|
/** An item was clicked: `{ item, originalEvent }` (after its `command`) */
|
|
116
|
-
readonly itemClick: import("@angular/core").OutputEmitterRef<TxPanelMenuItemEvent
|
|
136
|
+
readonly itemClick: import("@angular/core").OutputEmitterRef<TxPanelMenuItemEvent<unknown>>;
|
|
117
137
|
protected readonly itemTemplate: Signal<TxPanelMenuItemTemplate | undefined>;
|
|
118
138
|
protected readonly focusKey: import("@angular/core").WritableSignal<string | null>;
|
|
119
139
|
readonly isUnstyled: Signal<boolean>;
|
|
@@ -124,6 +144,7 @@ export declare class TxPanelMenu {
|
|
|
124
144
|
readonly nodes: Signal<TxPanelMenuNode[]>;
|
|
125
145
|
protected readonly blocks: Signal<TxPanelMenuBlock[]>;
|
|
126
146
|
private readonly url;
|
|
147
|
+
private readonly routeState;
|
|
127
148
|
readonly activeKeys: Signal<Set<string>>;
|
|
128
149
|
private readonly activeAncestors;
|
|
129
150
|
constructor();
|
|
@@ -134,6 +155,7 @@ export declare class TxPanelMenu {
|
|
|
134
155
|
protected href(item: TxPanelMenuItem): string;
|
|
135
156
|
protected routerCommands(item: TxPanelMenuItem): readonly unknown[] | string;
|
|
136
157
|
protected iconName(icon: string | undefined): string | null;
|
|
158
|
+
protected text(key: string | undefined): string;
|
|
137
159
|
protected badgeText(item: TxPanelMenuItem): string;
|
|
138
160
|
protected ariaLevel(node: TxPanelMenuNode): number;
|
|
139
161
|
protected context(node: TxPanelMenuNode): TxPanelMenuItemContext;
|
|
@@ -145,6 +167,7 @@ export declare class TxPanelMenu {
|
|
|
145
167
|
private visible;
|
|
146
168
|
private currentTree;
|
|
147
169
|
private matches;
|
|
170
|
+
private commands;
|
|
148
171
|
private build;
|
|
149
172
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxPanelMenu, never>;
|
|
150
173
|
static ɵcmp: i0.ɵɵComponentDeclaration<TxPanelMenu, "tx-panel-menu", never, {
|
|
@@ -183,6 +206,11 @@ export declare class TxPanelMenu {
|
|
|
183
206
|
"required": false;
|
|
184
207
|
"isSignal": true;
|
|
185
208
|
};
|
|
209
|
+
"translate": {
|
|
210
|
+
"alias": "translate";
|
|
211
|
+
"required": false;
|
|
212
|
+
"isSignal": true;
|
|
213
|
+
};
|
|
186
214
|
"dt": {
|
|
187
215
|
"alias": "dt";
|
|
188
216
|
"required": false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-panel-menu.d.ts","names":[],"sources":["../../../../packages/ui/panel-menu/src/panel-menu.types.ts","../../../../packages/ui/panel-menu/src/panel-menu.templates.ts","../../../../packages/ui/panel-menu/src/panel-menu.component.ts"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-panel-menu.d.ts","names":[],"sources":["../../../../packages/ui/panel-menu/src/panel-menu.types.ts","../../../../packages/ui/panel-menu/src/panel-menu.templates.ts","../../../../packages/ui/panel-menu/src/panel-menu.component.ts"],"mappings":";;;;;;;YAKY;;YAEA,0BAA0B;;YAE1B;;YAeA,qCAAqC;;YAGrC,wBAAwB;;iBAGnB,gBAAgB,yBAAyB,KAAK,WAAW;;EAExE,QAAQ,gBAAgB;;EAExB,QAAQ;;EAER,SAAS,OAAO,qBAAqB;;EAErC;;EAEA;;EAEA;IAA4B;MAAmB,QAAQ;;;;;EAKvD;;;iBAIe,qBAAqB,yBAAyB,KAAK,gBAAgB;;EAElF,MAAM,gBAAgB;;;iBAIP,uBAAuB;;EAEtC,WAAW,gBAAgB;;EAE3B,MAAM,gBAAgB;;EAEtB;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;qBCnEW;WACF,UAAQ,YAAA;SAEV,uBAAuB,YAAY,yBAAyB,mBAAmB,WAAW;SAHtF,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;iBCoDI;;EAEf,MAAM;;EAEN;;EAEA;;EAEA;;EAEA;;EAEA,QAAQ;;EAER,UAAU;;EAEV;;;UAIQ;;EAER,MAAM;;EAEN,MAAM;;EAEN;;;KAsCG;;;;;qBAuBQ;mBACM;mBAEA;mBACA;mBACA;mBACA;;WAER,+BAAK,YAAA;;WACL,iCAAO,YAAA;;WACP,mCAAS;;WACT,kCAAQ;;WACR,sCAAY,YAAA;;WACZ,kCAAQ;;WACR,mCAAS;;WACT,mCAAS,YAAA;;WACT,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,kDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,mCAAS,iBAAA;qBAEC,cAAY,OAAA;qBACZ,kCAAQ;WAElB,YAAU;WACV,aAAW,OAAA,QAAA,OAAA,kDAAA;WACX,WAAS;;;WAET,OAAK,OAAA;qBACK,QAAM,OAAA;mBAQR;mBAEA;WAiBR,YAAU,OAAA;mBAEF;;EAgCjB,WAAW,MAAM;EAOjB,SAAS,MAAM;EAIf,OAAO,MAAM;YAiBH,SAAS,MAAM,kBAAkB;YAWjC,KAAK,MAAM;YAQX,eAAe,MAAM;YAIrB,SAAS;YAIT,KAAK;YAOL,UAAU,MAAM;YAchB,UAAU,MAAM;YAIhB,QAAQ,MAAM,kBAAkB;YAYhC,OAAO,MAAM;YAMb,YAAY,MAAM,iBAAiB,OAAO;YAc1C,gBAAgB,OAAO;YA0BvB,cAAc,OAAO,eAAe,MAAM;UAkD5C;UAKA;UAMA;UAMA;UAcA;UAIA;SA3TG,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;IAAA"}
|
|
@@ -24,7 +24,7 @@ export declare class TxPanel {
|
|
|
24
24
|
readonly icon: import("@angular/core").InputSignal<TxIconName | (string & {}) | undefined>;
|
|
25
25
|
/** `card`, `inset` or `plain` */
|
|
26
26
|
readonly variant: import("@angular/core").InputSignal<TxPanelVariant>;
|
|
27
|
-
/** Vertical alignment of the title and the actions: `start`, `center`, `end` */
|
|
27
|
+
/** Vertical alignment of the title and the actions: `start`, `center`, `end`; with `end` the actions also line up at their bottom edge, e.g. a button next to a labelled field */
|
|
28
28
|
readonly align: import("@angular/core").InputSignal<TxPanelAlign>;
|
|
29
29
|
/** Heading level of the title, 2 by default */
|
|
30
30
|
readonly headingLevel: import("@angular/core").InputSignal<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-panel.d.ts","names":[],"sources":["../../../../packages/ui/panel/src/panel.types.ts","../../../../packages/ui/panel/src/panel.component.ts"],"mappings":";;;;;YACY;;YAEA;;YAEA;;;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-panel.d.ts","names":[],"sources":["../../../../packages/ui/panel/src/panel.types.ts","../../../../packages/ui/panel/src/panel.component.ts"],"mappings":";;;;;YACY;;YAEA;;YAEA;;;;;qBC0BC;mBACM;UAET;UACA;;WAEC,+BAAK;;WACL,kCAAQ;;WACR,8BAAI,YAAA;;WACJ,iCAAO,YAAA;;WACP,+BAAK,YAAA;;WACL,sCAAY;;WACZ,oCAAU;;WACV,mCAAS;;WACT,qCAAW;;WACX,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,8CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,8CAAA;WACX;WACA;WACA,gCAAM;WACN,kCAAQ,OAAA;WAIR,mCAAS;;;EAElB;SA/BW,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"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
import { AfterViewInit } from "@angular/core";
|
|
2
3
|
import { AbstractControl } from "@angular/forms";
|
|
3
4
|
import { TxPassword } from "@tectra-ng/ui/password";
|
|
4
5
|
/** Options of `TxPasswordGenerator.generate`: length and which character sets to use. */
|
|
@@ -34,11 +35,16 @@ export declare class TxPasswordGenerator {
|
|
|
34
35
|
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
35
36
|
}
|
|
36
37
|
/**
|
|
37
|
-
*
|
|
38
|
-
*
|
|
38
|
+
* Generates a password on click and puts it into a `tx-password` or a form control. Works on any `button`, also
|
|
39
|
+
* `txButton`; an icon-only button without its own name gets the translated "Generate password" as its accessible name.
|
|
39
40
|
*/
|
|
40
|
-
export declare class TxPasswordGenerate {
|
|
41
|
+
export declare class TxPasswordGenerate implements AfterViewInit {
|
|
41
42
|
private generator;
|
|
43
|
+
private element;
|
|
44
|
+
private renderer;
|
|
45
|
+
private translations;
|
|
46
|
+
private readonly needsName;
|
|
47
|
+
private readonly defaultName;
|
|
42
48
|
/** What to fill: a `tx-password` (shown after filling) or a form control */
|
|
43
49
|
readonly target: import("@angular/core").InputSignal<TxPassword | AbstractControl<any, any, any> | null | undefined>;
|
|
44
50
|
/** Number of characters (16 by default) */
|
|
@@ -57,6 +63,7 @@ export declare class TxPasswordGenerate {
|
|
|
57
63
|
readonly reveal: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
58
64
|
/** The new password */
|
|
59
65
|
readonly generated: import("@angular/core").OutputEmitterRef<string>;
|
|
66
|
+
ngAfterViewInit(): void;
|
|
60
67
|
generate(): string;
|
|
61
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxPasswordGenerate, never>;
|
|
62
69
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TxPasswordGenerate, "button[txPasswordGenerate]", never, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-password-generator.d.ts","names":[],"sources":["../../../../packages/ui/password-generator/src/password-generator.types.ts","../../../../packages/ui/password-generator/src/password-generator.service.ts","../../../../packages/ui/password-generator/src/password-generate.directive.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-password-generator.d.ts","names":[],"sources":["../../../../packages/ui/password-generator/src/password-generator.types.ts","../../../../packages/ui/password-generator/src/password-generator.service.ts","../../../../packages/ui/password-generator/src/password-generate.directive.ts"],"mappings":";;;;;iBACiB;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;qBCDW;UACH;;EAGR,SAAS,UAAS;;EAmBlB,iBAAiB;UAIT;UAUA;SArCG,MAAA,GAAA,qBAAA;;;;;;;qBCMA,8BAA8B;UACjC;UACA;UACA;UACA;mBACS;mBACA;;WAMR,gCAAM,YAAA,aAAA;;WACN,gCAAM;;WACN,mCAAS;;WACT,mCAAS;;WACT,gCAAM;;WACN,iCAAO;;WACP,wCAAc;;WACd,gCAAM;;WAEN,mCAAS;EAElB;EAKA;SA5BW,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAkB;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"}
|