@4sh/ui-kit 0.15.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.fr.md +18 -10
- package/README.md +18 -10
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +542 -150
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +622 -248
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +385 -152
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs +748 -433
- package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-base-ui-icon.mjs +227 -135
- package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs +1200 -633
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +1675 -953
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +243 -117
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +2294 -2039
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +1058 -1113
- package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs +1108 -0
- package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +397 -141
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +1529 -583
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs +383 -224
- package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +345 -177
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +280 -130
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +507 -246
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +401 -291
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +1277 -697
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +467 -194
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs +394 -270
- package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +140 -60
- package/fesm2022/4sh-ui-kit-forms-ui-label.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +386 -167
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +150 -87
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +345 -180
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +582 -392
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +1552 -888
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +485 -338
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs +503 -311
- package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +271 -131
- package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs +457 -214
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs +711 -371
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +235 -121
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms.mjs +723 -596
- package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +546 -242
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +335 -157
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs +53 -33
- package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs +218 -121
- package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +192 -100
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +456 -204
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs +314 -147
- package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs +179 -82
- package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +268 -123
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs +391 -146
- package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs +158 -76
- package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs +159 -80
- package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs +295 -131
- package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +211 -83
- package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +784 -414
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +822 -476
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs +1014 -599
- package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-card.mjs +403 -189
- package/fesm2022/4sh-ui-kit-layout-ui-card.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +707 -272
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +1146 -568
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs +519 -308
- package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-motion.mjs +252 -150
- package/fesm2022/4sh-ui-kit-motion.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs +793 -341
- package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +351 -194
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs +511 -220
- package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +910 -548
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +1128 -555
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +915 -470
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +931 -474
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-overlay.mjs +26 -109
- package/fesm2022/4sh-ui-kit-overlay.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-ripple.mjs +329 -290
- package/fesm2022/4sh-ui-kit-ripple.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +709 -248
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs +2633 -1370
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-theming.mjs +112 -113
- package/fesm2022/4sh-ui-kit-theming.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-types.mjs +0 -12
- package/fesm2022/4sh-ui-kit.mjs +3 -15
- package/fesm2022/4sh-ui-kit.mjs.map +1 -1
- package/mcp/data/component-api.json +313 -2
- package/mcp/data/text-search-docs.json +177 -17
- package/mcp/data/ui-config.json +378 -1
- package/mcp/index.js +8190 -2876
- package/mcp/package.json +1 -1
- package/package.json +5 -1
- package/styles/component-vars.scss +22 -1
- package/styles/utils/_mixins.scss +11 -0
- package/types/4sh-ui-kit-actions-ui-button-split.d.ts +198 -87
- package/types/4sh-ui-kit-actions-ui-button.d.ts +240 -116
- package/types/4sh-ui-kit-actions-ui-link.d.ts +136 -67
- package/types/4sh-ui-kit-actions-ui-speed-dial.d.ts +287 -180
- package/types/4sh-ui-kit-base-ui-icon.d.ts +92 -58
- package/types/4sh-ui-kit-base-ui-image.d.ts +406 -205
- package/types/4sh-ui-kit-forms-ui-autocomplete.d.ts +577 -367
- package/types/4sh-ui-kit-forms-ui-checkbox.d.ts +77 -42
- package/types/4sh-ui-kit-forms-ui-datepicker.d.ts +953 -700
- package/types/4sh-ui-kit-forms-ui-editor.d.ts +374 -340
- package/types/4sh-ui-kit-forms-ui-field-sign.d.ts +325 -0
- package/types/4sh-ui-kit-forms-ui-field.d.ts +150 -64
- package/types/4sh-ui-kit-forms-ui-file-upload.d.ts +583 -241
- package/types/4sh-ui-kit-forms-ui-input-date.d.ts +152 -103
- package/types/4sh-ui-kit-forms-ui-input-group.d.ts +109 -63
- package/types/4sh-ui-kit-forms-ui-input-mask.d.ts +93 -57
- package/types/4sh-ui-kit-forms-ui-input-number.d.ts +171 -93
- package/types/4sh-ui-kit-forms-ui-input-otp.d.ts +137 -100
- package/types/4sh-ui-kit-forms-ui-input-tags.d.ts +469 -309
- package/types/4sh-ui-kit-forms-ui-input.d.ts +198 -116
- package/types/4sh-ui-kit-forms-ui-knob.d.ts +132 -80
- package/types/4sh-ui-kit-forms-ui-label.d.ts +47 -22
- package/types/4sh-ui-kit-forms-ui-nudger.d.ts +134 -67
- package/types/4sh-ui-kit-forms-ui-radio.d.ts +48 -33
- package/types/4sh-ui-kit-forms-ui-rating.d.ts +120 -86
- package/types/4sh-ui-kit-forms-ui-segment-control.d.ts +221 -147
- package/types/4sh-ui-kit-forms-ui-select.d.ts +561 -357
- package/types/4sh-ui-kit-forms-ui-slider.d.ts +156 -105
- package/types/4sh-ui-kit-forms-ui-swatch-picker.d.ts +133 -97
- package/types/4sh-ui-kit-forms-ui-textarea.d.ts +90 -54
- package/types/4sh-ui-kit-forms-ui-toggle-block.d.ts +158 -94
- package/types/4sh-ui-kit-forms-ui-toggle-button.d.ts +314 -178
- package/types/4sh-ui-kit-forms-ui-toggle.d.ts +88 -54
- package/types/4sh-ui-kit-forms.d.ts +291 -186
- package/types/4sh-ui-kit-informative-ui-accordion.d.ts +162 -92
- package/types/4sh-ui-kit-informative-ui-alert.d.ts +128 -62
- package/types/4sh-ui-kit-informative-ui-avatar-group.d.ts +8 -8
- package/types/4sh-ui-kit-informative-ui-avatar.d.ts +81 -44
- package/types/4sh-ui-kit-informative-ui-badge.d.ts +71 -41
- package/types/4sh-ui-kit-informative-ui-chip.d.ts +194 -99
- package/types/4sh-ui-kit-informative-ui-empty-state.d.ts +105 -65
- package/types/4sh-ui-kit-informative-ui-helper.d.ts +64 -34
- package/types/4sh-ui-kit-informative-ui-progress-bar.d.ts +120 -65
- package/types/4sh-ui-kit-informative-ui-read-only.d.ts +147 -67
- package/types/4sh-ui-kit-informative-ui-separator.d.ts +65 -35
- package/types/4sh-ui-kit-informative-ui-skeleton.d.ts +62 -32
- package/types/4sh-ui-kit-informative-ui-spinner.d.ts +111 -50
- package/types/4sh-ui-kit-informative-ui-tag.d.ts +77 -37
- package/types/4sh-ui-kit-informative-ui-toast.d.ts +300 -180
- package/types/4sh-ui-kit-informative-ui-tooltip.d.ts +269 -141
- package/types/4sh-ui-kit-layout-ui-bottom-sheet.d.ts +360 -221
- package/types/4sh-ui-kit-layout-ui-card.d.ts +119 -79
- package/types/4sh-ui-kit-layout-ui-drawer.d.ts +244 -120
- package/types/4sh-ui-kit-layout-ui-modal.d.ts +409 -222
- package/types/4sh-ui-kit-layout-ui-popover.d.ts +149 -91
- package/types/4sh-ui-kit-motion.d.ts +117 -67
- package/types/4sh-ui-kit-navigation-ui-bottom-tab-bar.d.ts +279 -145
- package/types/4sh-ui-kit-navigation-ui-breadcrumb.d.ts +134 -96
- package/types/4sh-ui-kit-navigation-ui-context-menu.d.ts +148 -89
- package/types/4sh-ui-kit-navigation-ui-menu.d.ts +282 -201
- package/types/4sh-ui-kit-navigation-ui-sidebar.d.ts +425 -261
- package/types/4sh-ui-kit-navigation-ui-stepper.d.ts +279 -183
- package/types/4sh-ui-kit-navigation-ui-tabs.d.ts +275 -173
- package/types/4sh-ui-kit-overlay.d.ts +6 -6
- package/types/4sh-ui-kit-ripple.d.ts +99 -74
- package/types/4sh-ui-kit-table-ui-paginator.d.ts +237 -133
- package/types/4sh-ui-kit-table-ui-table.d.ts +769 -470
- package/types/4sh-ui-kit-theming.d.ts +27 -29
- package/types/4sh-ui-kit-types.d.ts +6 -5
- package/types/4sh-ui-kit.d.ts +4 -3
- package/fesm2022/4sh-ui-kit-types.mjs.map +0 -1
|
@@ -1,91 +1,92 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import { TemplateRef } from "@angular/core";
|
|
6
|
+
import { BaseFormField } from "@4sh/ui-kit/forms";
|
|
7
|
+
import { UiIconSize } from "@4sh/ui-kit/base/ui-icon";
|
|
8
|
+
import { UiFeedbackLevel, UiSubLevel } from "@4sh/ui-kit/types";
|
|
8
9
|
/** Delimiter used to split the typed text (and pasted text) into several tags. */
|
|
9
|
-
type TagDelimiter = string | RegExp;
|
|
10
|
+
export type TagDelimiter = string | RegExp;
|
|
10
11
|
/** Payload of the `tagAdd` output. */
|
|
11
|
-
interface InputTagsAddEvent {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
export interface InputTagsAddEvent {
|
|
13
|
+
/** Originating DOM event. */
|
|
14
|
+
originalEvent: Event;
|
|
15
|
+
/** Added value. */
|
|
16
|
+
value: unknown;
|
|
16
17
|
}
|
|
17
18
|
/** Payload of the `tagRemove` output. */
|
|
18
|
-
interface InputTagsRemoveEvent {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
export interface InputTagsRemoveEvent {
|
|
20
|
+
/** Originating DOM event. */
|
|
21
|
+
originalEvent: Event;
|
|
22
|
+
/** Removed value. */
|
|
23
|
+
value: unknown;
|
|
24
|
+
/** Index of the removed value. */
|
|
25
|
+
index: number;
|
|
25
26
|
}
|
|
26
27
|
/** Payload of the `completeMethod` output (typeahead). */
|
|
27
|
-
interface InputTagsCompleteEvent {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
export interface InputTagsCompleteEvent {
|
|
29
|
+
/** Originating DOM event. */
|
|
30
|
+
originalEvent: Event;
|
|
31
|
+
/** Search query. */
|
|
32
|
+
query: string;
|
|
32
33
|
}
|
|
33
34
|
/** Payload of the `optionSelect` output (typeahead). */
|
|
34
|
-
interface InputTagsSelectEvent {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
export interface InputTagsSelectEvent {
|
|
36
|
+
/** Originating DOM event. */
|
|
37
|
+
originalEvent: Event;
|
|
38
|
+
/** Selected suggestion (original object/primitive). */
|
|
39
|
+
value: unknown;
|
|
39
40
|
}
|
|
40
41
|
/** Context handed to the `#item` template (per tag). */
|
|
41
|
-
interface InputTagsItemContext<T = unknown> {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
42
|
+
export interface InputTagsItemContext<T = unknown> {
|
|
43
|
+
/** The tag value (default `$implicit`). */
|
|
44
|
+
$implicit: T;
|
|
45
|
+
/** Same as `$implicit`, named for readability. */
|
|
46
|
+
value: T;
|
|
47
|
+
/** Resolved display label of the tag. */
|
|
48
|
+
label: string;
|
|
49
|
+
/** Index of the tag. */
|
|
50
|
+
index: number;
|
|
51
|
+
/** Removes this tag. */
|
|
52
|
+
onRemove: (event: Event) => void;
|
|
52
53
|
}
|
|
53
54
|
/** Context handed to the `#option` template (per suggestion). */
|
|
54
|
-
interface InputTagsOptionContext<T = unknown> {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
55
|
+
export interface InputTagsOptionContext<T = unknown> {
|
|
56
|
+
/** The suggestion (default `$implicit`). */
|
|
57
|
+
$implicit: T;
|
|
58
|
+
/** Same as `$implicit`, named for readability. */
|
|
59
|
+
option: T;
|
|
60
|
+
/** Index of the suggestion in the visible list. */
|
|
61
|
+
index: number;
|
|
61
62
|
}
|
|
62
63
|
/** Context handed to the `#group` template. */
|
|
63
|
-
interface InputTagsGroupContext<G = unknown> {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
export interface InputTagsGroupContext<G = unknown> {
|
|
65
|
+
/** The group object (default `$implicit`). */
|
|
66
|
+
$implicit: G;
|
|
67
|
+
/** Same as `$implicit`, named for readability. */
|
|
68
|
+
group: G;
|
|
68
69
|
}
|
|
69
70
|
/** @ignore Flat view of one suggestion. */
|
|
70
71
|
interface TagEntry {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
value: unknown;
|
|
73
|
+
label: string;
|
|
74
|
+
disabled: boolean;
|
|
75
|
+
original: unknown;
|
|
75
76
|
}
|
|
76
77
|
/** @ignore Rendered suggestion row. */
|
|
77
78
|
type TagRow = {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
kind: 'group';
|
|
80
|
+
key: string;
|
|
81
|
+
label: string;
|
|
82
|
+
original: unknown;
|
|
82
83
|
} | {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
84
|
+
kind: 'option';
|
|
85
|
+
key: string;
|
|
86
|
+
id: string;
|
|
87
|
+
index: number;
|
|
88
|
+
entry: TagEntry;
|
|
89
|
+
present: boolean;
|
|
89
90
|
};
|
|
90
91
|
/**
|
|
91
92
|
* ui-input-tags — headless multi-value tag entry built on the `ui-field` shell
|
|
@@ -108,246 +109,405 @@ type TagRow = {
|
|
|
108
109
|
* <ui-input-tags label="Mots-clés" [(ngModel)]="keywords" placeholder="Ajouter…" />
|
|
109
110
|
* ```
|
|
110
111
|
*/
|
|
111
|
-
declare class UiInputTags<T = unknown> extends BaseFormField<T[]> {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
112
|
+
export declare class UiInputTags<T = unknown> extends BaseFormField<T[]> {
|
|
113
|
+
/** Native placeholder shown when the input is empty (and no tag exists). */
|
|
114
|
+
placeholder: import("@angular/core").InputSignal<string | undefined>;
|
|
115
|
+
/** Maximum number of tags allowed (`undefined` = unlimited). */
|
|
116
|
+
max: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
117
|
+
/** Delimiter that splits typed/pasted text into several tags (in addition to `Enter`). */
|
|
118
|
+
delimiter: import("@angular/core").InputSignal<TagDelimiter | undefined>;
|
|
119
|
+
/** Allow the same value to be added several times. */
|
|
120
|
+
allowDuplicate: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
121
|
+
/** Add the current input as a tag when the field loses focus. */
|
|
122
|
+
addOnBlur: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
123
|
+
/** Add the current input as a tag on `Tab`. */
|
|
124
|
+
addOnTab: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
125
|
+
/** Split pasted text with the `delimiter` (or whitespace/newlines) and add each part. */
|
|
126
|
+
addOnPaste: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
127
|
+
/** Max character length of a single typed tag. */
|
|
128
|
+
maxLength: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
129
|
+
/** Color family of the default `ui-chip` tags (ignored when an `#item` template is used). */
|
|
130
|
+
chipLevel: import("@angular/core").InputSignal<UiFeedbackLevel>;
|
|
131
|
+
/** Intensity of the default `ui-chip` tags: `low` (subtle, default) or `high` (solid). */
|
|
132
|
+
chipSubLevel: import("@angular/core").InputSignal<UiSubLevel>;
|
|
133
|
+
/** Pill shape (default) vs rounded-rectangle for the default `ui-chip` tags. */
|
|
134
|
+
chipRounded: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
135
|
+
/** Show a suggestions dropdown as the user types (fed via `completeMethod`). */
|
|
136
|
+
typeahead: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
137
|
+
/** Suggestions to display — set by the parent in response to `completeMethod`. */
|
|
138
|
+
suggestions: import("@angular/core").InputSignal<readonly unknown[]>;
|
|
139
|
+
/** Field name (dot-path) read as a suggestion label. */
|
|
140
|
+
optionLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
141
|
+
/** Field name (dot-path) read as the value added to the model. */
|
|
142
|
+
optionValue: import("@angular/core").InputSignal<string | undefined>;
|
|
143
|
+
/** Field name (dot-path) read as a suggestion's disabled flag. */
|
|
144
|
+
optionDisabled: import("@angular/core").InputSignal<string | undefined>;
|
|
145
|
+
/** Property compared for value equality (duplicate detection on objects). */
|
|
146
|
+
dataKey: import("@angular/core").InputSignal<string | undefined>;
|
|
147
|
+
/** Treat `suggestions` as groups. */
|
|
148
|
+
group: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
149
|
+
/** Field name of a group's label. */
|
|
150
|
+
optionGroupLabel: import("@angular/core").InputSignal<string>;
|
|
151
|
+
/** Field name of a group's children array. */
|
|
152
|
+
optionGroupChildren: import("@angular/core").InputSignal<string>;
|
|
153
|
+
/** Minimum number of characters before `completeMethod` is emitted. */
|
|
154
|
+
minLength: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
155
|
+
/** Debounce (ms) between the last keystroke and `completeMethod`. */
|
|
156
|
+
delay: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
157
|
+
/** Emit a query as soon as the input is focused (before any typing). */
|
|
158
|
+
completeOnFocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
159
|
+
/** Max height of the suggestions list (CSS size). Defaults from the SCSS. */
|
|
160
|
+
scrollHeight: import("@angular/core").InputSignal<string | undefined>;
|
|
161
|
+
/** Visually focus the first suggestion when the panel opens. */
|
|
162
|
+
autoOptionFocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
163
|
+
/** Visually focus the suggestion under the mouse pointer. */
|
|
164
|
+
focusOnHover: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
165
|
+
/** Auto-flip the panel above the input when space is lacking below. */
|
|
166
|
+
autoFlip: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
167
|
+
/** Extra class(es) applied to the suggestions panel. */
|
|
168
|
+
panelStyleClass: import("@angular/core").InputSignal<string | undefined>;
|
|
169
|
+
/** Message shown when a query returns no suggestion. */
|
|
170
|
+
emptyMessage: import("@angular/core").InputSignal<string>;
|
|
171
|
+
/** Accessible label of each tag's remove action — `{0}` is the tag label. */
|
|
172
|
+
removeTagLabel: import("@angular/core").InputSignal<string>;
|
|
173
|
+
/** Emitted when a tag is added. */
|
|
174
|
+
tagAdd: import("@angular/core").OutputEmitterRef<InputTagsAddEvent>;
|
|
175
|
+
/** Emitted when a tag is removed. */
|
|
176
|
+
tagRemove: import("@angular/core").OutputEmitterRef<InputTagsRemoveEvent>;
|
|
177
|
+
/** Emitted whenever the model changes. */
|
|
178
|
+
valueChange: import("@angular/core").OutputEmitterRef<T[]>;
|
|
179
|
+
/** Emitted (debounced) when a typeahead query should run. */
|
|
180
|
+
completeMethod: import("@angular/core").OutputEmitterRef<InputTagsCompleteEvent>;
|
|
181
|
+
/** Emitted when a suggestion is selected. */
|
|
182
|
+
optionSelect: import("@angular/core").OutputEmitterRef<InputTagsSelectEvent>;
|
|
183
|
+
/** Emitted when the suggestions panel opens. */
|
|
184
|
+
opened: import("@angular/core").OutputEmitterRef<void>;
|
|
185
|
+
/** Emitted when the suggestions panel closes. */
|
|
186
|
+
closed: import("@angular/core").OutputEmitterRef<void>;
|
|
187
|
+
/** Emitted when the input receives focus. */
|
|
188
|
+
inputFocus: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
189
|
+
/** Emitted when the input loses focus. */
|
|
190
|
+
inputBlur: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
191
|
+
/** Custom tag template: `<ng-template #item let-value let-remove="onRemove">`. */
|
|
192
|
+
protected readonly itemTemplate: import("@angular/core").Signal<TemplateRef<InputTagsItemContext<T>> | undefined>;
|
|
193
|
+
/** Custom suggestion template: `<ng-template #option let-option>`. */
|
|
194
|
+
protected readonly optionTemplate: import("@angular/core").Signal<TemplateRef<InputTagsOptionContext<T>> | undefined>;
|
|
195
|
+
/** Custom group-header template: `<ng-template #group let-group>`. */
|
|
196
|
+
protected readonly groupTemplate: import("@angular/core").Signal<TemplateRef<InputTagsGroupContext<unknown>> | undefined>;
|
|
197
|
+
/** @ignore Component root (overlay origin). */
|
|
198
|
+
private readonly containerEl;
|
|
199
|
+
/** @ignore Editable input. */
|
|
200
|
+
private readonly inputEl;
|
|
201
|
+
/** @ignore Panel root element. */
|
|
202
|
+
private readonly panelEl;
|
|
203
|
+
/** @ignore Tag option elements (roving focus). `read: ElementRef` covers both the
|
|
204
|
+
* plain `<span>` (template mode) and the `<ui-chip>` host (default mode). */
|
|
205
|
+
private readonly tagEls;
|
|
206
|
+
/** @ignore */
|
|
207
|
+
protected readonly panelOpen: import("@angular/core").WritableSignal<boolean>;
|
|
208
|
+
/** @ignore */
|
|
209
|
+
protected readonly overlayOrigin: import("@angular/core").WritableSignal<Element | null>;
|
|
210
|
+
/** @ignore */
|
|
211
|
+
protected readonly overlayWidth: import("@angular/core").WritableSignal<number | null>;
|
|
212
|
+
/** @ignore Text currently typed in the input. */
|
|
213
|
+
protected readonly inputText: import("@angular/core").WritableSignal<string>;
|
|
214
|
+
/** @ignore Index of the roving-focused tag (-1 = the input holds focus). */
|
|
215
|
+
protected readonly focusedTag: import("@angular/core").WritableSignal<number>;
|
|
216
|
+
/** @ignore Index of the visually focused suggestion (-1 = none). */
|
|
217
|
+
protected readonly focusedOption: import("@angular/core").WritableSignal<number>;
|
|
218
|
+
/** @ignore A query has been emitted and is awaiting fresh suggestions. */
|
|
219
|
+
private queryDirty;
|
|
220
|
+
/** @ignore Debounce handle for `completeMethod`. */
|
|
221
|
+
private searchTimeout;
|
|
222
|
+
constructor();
|
|
223
|
+
/** @ignore Current tags. */
|
|
224
|
+
protected readonly tagValues: import("@angular/core").Signal<T[]>;
|
|
225
|
+
/** @ignore Tags as display rows (value + resolved label). */
|
|
226
|
+
protected readonly tagRows: import("@angular/core").Signal<{
|
|
227
|
+
value: T;
|
|
228
|
+
index: number;
|
|
229
|
+
label: string;
|
|
230
|
+
removeAriaLabel: string;
|
|
231
|
+
}[]>;
|
|
232
|
+
/** @ignore */
|
|
233
|
+
protected readonly listboxId: import("@angular/core").Signal<string>;
|
|
234
|
+
/** @ignore */
|
|
235
|
+
protected readonly panelListId: import("@angular/core").Signal<string>;
|
|
236
|
+
/** @ignore Icon size aligned with the field size. */
|
|
237
|
+
protected readonly iconSize: import("@angular/core").Signal<UiIconSize>;
|
|
238
|
+
/** @ignore Tags can be removed (not disabled / read-only). */
|
|
239
|
+
protected readonly canRemove: import("@angular/core").Signal<boolean>;
|
|
240
|
+
/** @ignore The tag cap has been reached. */
|
|
241
|
+
protected readonly isFull: import("@angular/core").Signal<boolean>;
|
|
242
|
+
/** @ignore The input accepts typing. */
|
|
243
|
+
protected readonly canType: import("@angular/core").Signal<boolean>;
|
|
244
|
+
/** @ignore The placeholder is shown only while there is no tag, and never
|
|
245
|
+
* under a floating label at rest: it already holds that spot. */
|
|
246
|
+
protected readonly effectivePlaceholder: import("@angular/core").Signal<string>;
|
|
247
|
+
/** @ignore Keeps a floating label raised once focus leaves. */
|
|
248
|
+
protected readonly isFilled: import("@angular/core").Signal<boolean>;
|
|
249
|
+
/** @ignore Flat entries (no groups). */
|
|
250
|
+
private readonly flatEntries;
|
|
251
|
+
/** @ignore Groups of entries. */
|
|
252
|
+
private readonly groupEntries;
|
|
253
|
+
/** @ignore Rendered suggestion rows (already-added values are marked present/disabled). */
|
|
254
|
+
protected readonly visibleRows: import("@angular/core").Signal<TagRow[]>;
|
|
255
|
+
/** @ignore Visible option rows only (visual-focus space). */
|
|
256
|
+
protected readonly visibleOptions: import("@angular/core").Signal<{
|
|
257
|
+
kind: "option";
|
|
258
|
+
key: string;
|
|
259
|
+
id: string;
|
|
260
|
+
index: number;
|
|
261
|
+
entry: TagEntry;
|
|
262
|
+
present: boolean;
|
|
263
|
+
}[]>;
|
|
264
|
+
/** @ignore */
|
|
265
|
+
protected readonly optionCount: import("@angular/core").Signal<number>;
|
|
266
|
+
/** @ignore */
|
|
267
|
+
protected readonly showEmpty: import("@angular/core").Signal<boolean>;
|
|
268
|
+
/** @ignore id of the visually focused suggestion (aria-activedescendant). */
|
|
269
|
+
protected readonly activeDescendant: import("@angular/core").Signal<string | null>;
|
|
270
|
+
/** @ignore */
|
|
271
|
+
protected readonly overlayPositions: import("@angular/core").Signal<import("@angular/cdk/overlay").ConnectedPosition[]>;
|
|
272
|
+
writeValue(value: T[]): void;
|
|
273
|
+
/** Moves focus to the input. */
|
|
274
|
+
focus(options?: FocusOptions): void;
|
|
275
|
+
/** @ignore Add one value as a tag (respects `max` and `allowDuplicate`). Returns true if added. */
|
|
276
|
+
private addValue;
|
|
277
|
+
/** @ignore Add the typed text (or its delimiter-split parts) as tag(s). */
|
|
278
|
+
private addFromInput;
|
|
279
|
+
/** Removes the tag at `index`. */
|
|
280
|
+
removeAt(index: number, event: Event): void;
|
|
281
|
+
/** @ignore Propagate a user-driven value change (view → form). */
|
|
282
|
+
private commit;
|
|
283
|
+
/** @ignore */
|
|
284
|
+
protected onInput(event: Event): void;
|
|
285
|
+
/** @ignore Split the text, add every completed part, keep the trailing remainder in the input. */
|
|
286
|
+
private flushDelimited;
|
|
287
|
+
/** @ignore */
|
|
288
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
289
|
+
/** @ignore */
|
|
290
|
+
protected onPaste(event: ClipboardEvent): void;
|
|
291
|
+
/** @ignore */
|
|
292
|
+
protected onInputFocus(event: FocusEvent): void;
|
|
293
|
+
/** @ignore */
|
|
294
|
+
protected onInputBlur(event: FocusEvent): void;
|
|
295
|
+
/** @ignore Focus / clicks on the field box (but not a tag / button) land on the input. */
|
|
296
|
+
protected onBoxMousedown(event: MouseEvent): void;
|
|
297
|
+
/** @ignore */
|
|
298
|
+
protected onTagKeydown(event: KeyboardEvent, index: number): void;
|
|
299
|
+
/** @ignore */
|
|
300
|
+
private focusTag;
|
|
301
|
+
/** @ignore */
|
|
302
|
+
private focusInput;
|
|
303
|
+
/** @ignore */
|
|
304
|
+
private runSearch;
|
|
305
|
+
/** @ignore */
|
|
306
|
+
private open;
|
|
307
|
+
/** @ignore */
|
|
308
|
+
protected close(focusInput?: boolean): void;
|
|
309
|
+
/** @ignore */
|
|
310
|
+
private reopen;
|
|
311
|
+
/** @ignore */
|
|
312
|
+
protected onOptionClick(row: Extract<TagRow, {
|
|
313
|
+
kind: 'option';
|
|
314
|
+
}>, event: Event): void;
|
|
315
|
+
/** @ignore Keep focus on the input when clicking an option. */
|
|
316
|
+
protected onOptionMousedown(event: MouseEvent): void;
|
|
317
|
+
/** @ignore */
|
|
318
|
+
protected onOptionMouseEnter(row: Extract<TagRow, {
|
|
319
|
+
kind: 'option';
|
|
320
|
+
}>): void;
|
|
321
|
+
/** @ignore */
|
|
322
|
+
private selectRow;
|
|
323
|
+
/** @ignore */
|
|
324
|
+
private selectFocusedOption;
|
|
325
|
+
/** @ignore Move the visual focus, skipping disabled options (no wrap). */
|
|
326
|
+
private moveOption;
|
|
327
|
+
/** @ignore */
|
|
328
|
+
private scrollOptionIntoView;
|
|
329
|
+
/** @ignore Display label for a tag value. */
|
|
330
|
+
private labelOfValue;
|
|
331
|
+
/** @ignore Shared option resolution (see `option-resolver.ts`). */
|
|
332
|
+
private readonly resolver;
|
|
333
|
+
/** @ignore */
|
|
334
|
+
private toEntry;
|
|
335
|
+
/** @ignore Read a (dot-path) field from an object. */
|
|
336
|
+
private getField;
|
|
337
|
+
/** @ignore */
|
|
338
|
+
private resolveValue;
|
|
339
|
+
/** @ignore */
|
|
340
|
+
private resolveLabel;
|
|
341
|
+
/** @ignore */
|
|
342
|
+
private asText;
|
|
343
|
+
/** @ignore Whether a value is already a tag. */
|
|
344
|
+
private isPresent;
|
|
345
|
+
/** @ignore Value equality — by `dataKey` for objects, strict otherwise. */
|
|
346
|
+
private equals;
|
|
347
|
+
/** @ignore Split text by the delimiter (string or regex); whole text when none. */
|
|
348
|
+
private split;
|
|
349
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiInputTags<any>, never>;
|
|
350
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiInputTags<any>, "ui-input-tags", never, {
|
|
351
|
+
"placeholder": {
|
|
352
|
+
"alias": "placeholder";
|
|
353
|
+
"required": false;
|
|
354
|
+
"isSignal": true;
|
|
355
|
+
};
|
|
356
|
+
"max": {
|
|
357
|
+
"alias": "max";
|
|
358
|
+
"required": false;
|
|
359
|
+
"isSignal": true;
|
|
360
|
+
};
|
|
361
|
+
"delimiter": {
|
|
362
|
+
"alias": "delimiter";
|
|
363
|
+
"required": false;
|
|
364
|
+
"isSignal": true;
|
|
365
|
+
};
|
|
366
|
+
"allowDuplicate": {
|
|
367
|
+
"alias": "allowDuplicate";
|
|
368
|
+
"required": false;
|
|
369
|
+
"isSignal": true;
|
|
370
|
+
};
|
|
371
|
+
"addOnBlur": {
|
|
372
|
+
"alias": "addOnBlur";
|
|
373
|
+
"required": false;
|
|
374
|
+
"isSignal": true;
|
|
375
|
+
};
|
|
376
|
+
"addOnTab": {
|
|
377
|
+
"alias": "addOnTab";
|
|
378
|
+
"required": false;
|
|
379
|
+
"isSignal": true;
|
|
380
|
+
};
|
|
381
|
+
"addOnPaste": {
|
|
382
|
+
"alias": "addOnPaste";
|
|
383
|
+
"required": false;
|
|
384
|
+
"isSignal": true;
|
|
385
|
+
};
|
|
386
|
+
"maxLength": {
|
|
387
|
+
"alias": "maxLength";
|
|
388
|
+
"required": false;
|
|
389
|
+
"isSignal": true;
|
|
390
|
+
};
|
|
391
|
+
"chipLevel": {
|
|
392
|
+
"alias": "chipLevel";
|
|
393
|
+
"required": false;
|
|
394
|
+
"isSignal": true;
|
|
395
|
+
};
|
|
396
|
+
"chipSubLevel": {
|
|
397
|
+
"alias": "chipSubLevel";
|
|
398
|
+
"required": false;
|
|
399
|
+
"isSignal": true;
|
|
400
|
+
};
|
|
401
|
+
"chipRounded": {
|
|
402
|
+
"alias": "chipRounded";
|
|
403
|
+
"required": false;
|
|
404
|
+
"isSignal": true;
|
|
405
|
+
};
|
|
406
|
+
"typeahead": {
|
|
407
|
+
"alias": "typeahead";
|
|
408
|
+
"required": false;
|
|
409
|
+
"isSignal": true;
|
|
410
|
+
};
|
|
411
|
+
"suggestions": {
|
|
412
|
+
"alias": "suggestions";
|
|
413
|
+
"required": false;
|
|
414
|
+
"isSignal": true;
|
|
415
|
+
};
|
|
416
|
+
"optionLabel": {
|
|
417
|
+
"alias": "optionLabel";
|
|
418
|
+
"required": false;
|
|
419
|
+
"isSignal": true;
|
|
420
|
+
};
|
|
421
|
+
"optionValue": {
|
|
422
|
+
"alias": "optionValue";
|
|
423
|
+
"required": false;
|
|
424
|
+
"isSignal": true;
|
|
425
|
+
};
|
|
426
|
+
"optionDisabled": {
|
|
427
|
+
"alias": "optionDisabled";
|
|
428
|
+
"required": false;
|
|
429
|
+
"isSignal": true;
|
|
430
|
+
};
|
|
431
|
+
"dataKey": {
|
|
432
|
+
"alias": "dataKey";
|
|
433
|
+
"required": false;
|
|
434
|
+
"isSignal": true;
|
|
435
|
+
};
|
|
436
|
+
"group": {
|
|
437
|
+
"alias": "group";
|
|
438
|
+
"required": false;
|
|
439
|
+
"isSignal": true;
|
|
440
|
+
};
|
|
441
|
+
"optionGroupLabel": {
|
|
442
|
+
"alias": "optionGroupLabel";
|
|
443
|
+
"required": false;
|
|
444
|
+
"isSignal": true;
|
|
445
|
+
};
|
|
446
|
+
"optionGroupChildren": {
|
|
447
|
+
"alias": "optionGroupChildren";
|
|
448
|
+
"required": false;
|
|
449
|
+
"isSignal": true;
|
|
450
|
+
};
|
|
451
|
+
"minLength": {
|
|
452
|
+
"alias": "minLength";
|
|
453
|
+
"required": false;
|
|
454
|
+
"isSignal": true;
|
|
455
|
+
};
|
|
456
|
+
"delay": {
|
|
457
|
+
"alias": "delay";
|
|
458
|
+
"required": false;
|
|
459
|
+
"isSignal": true;
|
|
460
|
+
};
|
|
461
|
+
"completeOnFocus": {
|
|
462
|
+
"alias": "completeOnFocus";
|
|
463
|
+
"required": false;
|
|
464
|
+
"isSignal": true;
|
|
465
|
+
};
|
|
466
|
+
"scrollHeight": {
|
|
467
|
+
"alias": "scrollHeight";
|
|
468
|
+
"required": false;
|
|
469
|
+
"isSignal": true;
|
|
470
|
+
};
|
|
471
|
+
"autoOptionFocus": {
|
|
472
|
+
"alias": "autoOptionFocus";
|
|
473
|
+
"required": false;
|
|
474
|
+
"isSignal": true;
|
|
475
|
+
};
|
|
476
|
+
"focusOnHover": {
|
|
477
|
+
"alias": "focusOnHover";
|
|
478
|
+
"required": false;
|
|
479
|
+
"isSignal": true;
|
|
480
|
+
};
|
|
481
|
+
"autoFlip": {
|
|
482
|
+
"alias": "autoFlip";
|
|
483
|
+
"required": false;
|
|
484
|
+
"isSignal": true;
|
|
485
|
+
};
|
|
486
|
+
"panelStyleClass": {
|
|
487
|
+
"alias": "panelStyleClass";
|
|
488
|
+
"required": false;
|
|
489
|
+
"isSignal": true;
|
|
490
|
+
};
|
|
491
|
+
"emptyMessage": {
|
|
492
|
+
"alias": "emptyMessage";
|
|
493
|
+
"required": false;
|
|
494
|
+
"isSignal": true;
|
|
495
|
+
};
|
|
496
|
+
"removeTagLabel": {
|
|
497
|
+
"alias": "removeTagLabel";
|
|
498
|
+
"required": false;
|
|
499
|
+
"isSignal": true;
|
|
500
|
+
};
|
|
501
|
+
}, {
|
|
502
|
+
"tagAdd": "tagAdd";
|
|
503
|
+
"tagRemove": "tagRemove";
|
|
504
|
+
"valueChange": "valueChange";
|
|
505
|
+
"completeMethod": "completeMethod";
|
|
506
|
+
"optionSelect": "optionSelect";
|
|
507
|
+
"opened": "opened";
|
|
508
|
+
"closed": "closed";
|
|
509
|
+
"inputFocus": "inputFocus";
|
|
510
|
+
"inputBlur": "inputBlur";
|
|
511
|
+
}, ["itemTemplate", "optionTemplate", "groupTemplate"], never, true, never>;
|
|
350
512
|
}
|
|
351
|
-
|
|
352
|
-
export { UiInputTags };
|
|
353
|
-
export type { InputTagsAddEvent, InputTagsCompleteEvent, InputTagsGroupContext, InputTagsItemContext, InputTagsOptionContext, InputTagsRemoveEvent, InputTagsSelectEvent, TagDelimiter };
|
|
513
|
+
export {};
|