@wirekyt/angular 0.0.34 → 0.0.35

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.
Files changed (98) hide show
  1. package/dist/fesm2022/wirekyt-angular-json-tree-view.mjs +0 -5
  2. package/dist/fesm2022/wirekyt-angular-json-tree-view.mjs.map +1 -1
  3. package/dist/fesm2022/wirekyt-angular-listbox.mjs +627 -0
  4. package/dist/fesm2022/wirekyt-angular-listbox.mjs.map +1 -0
  5. package/dist/fesm2022/wirekyt-angular-menu.mjs +0 -6
  6. package/dist/fesm2022/wirekyt-angular-menu.mjs.map +1 -1
  7. package/dist/fesm2022/wirekyt-angular-number-input.mjs +467 -0
  8. package/dist/fesm2022/wirekyt-angular-number-input.mjs.map +1 -0
  9. package/dist/fesm2022/wirekyt-angular-password-input.mjs +437 -0
  10. package/dist/fesm2022/wirekyt-angular-password-input.mjs.map +1 -0
  11. package/dist/fesm2022/wirekyt-angular-pin-input.mjs +485 -0
  12. package/dist/fesm2022/wirekyt-angular-pin-input.mjs.map +1 -0
  13. package/dist/fesm2022/wirekyt-angular-progress.mjs +337 -0
  14. package/dist/fesm2022/wirekyt-angular-progress.mjs.map +1 -0
  15. package/dist/fesm2022/wirekyt-angular-qr-code.mjs +0 -11
  16. package/dist/fesm2022/wirekyt-angular-qr-code.mjs.map +1 -1
  17. package/dist/fesm2022/wirekyt-angular-radio-group.mjs +461 -0
  18. package/dist/fesm2022/wirekyt-angular-radio-group.mjs.map +1 -0
  19. package/dist/fesm2022/wirekyt-angular-rating-group.mjs +435 -0
  20. package/dist/fesm2022/wirekyt-angular-rating-group.mjs.map +1 -0
  21. package/dist/fesm2022/wirekyt-angular-scroll-area.mjs +276 -0
  22. package/dist/fesm2022/wirekyt-angular-scroll-area.mjs.map +1 -0
  23. package/dist/fesm2022/wirekyt-angular-segment-group.mjs +506 -0
  24. package/dist/fesm2022/wirekyt-angular-segment-group.mjs.map +1 -0
  25. package/dist/fesm2022/wirekyt-angular-signature-pad.mjs +382 -0
  26. package/dist/fesm2022/wirekyt-angular-signature-pad.mjs.map +1 -0
  27. package/dist/fesm2022/wirekyt-angular-slider.mjs +574 -0
  28. package/dist/fesm2022/wirekyt-angular-slider.mjs.map +1 -0
  29. package/dist/fesm2022/wirekyt-angular-splitter.mjs +303 -0
  30. package/dist/fesm2022/wirekyt-angular-splitter.mjs.map +1 -0
  31. package/dist/fesm2022/wirekyt-angular-steps.mjs +465 -0
  32. package/dist/fesm2022/wirekyt-angular-steps.mjs.map +1 -0
  33. package/dist/fesm2022/wirekyt-angular-swap.mjs +192 -0
  34. package/dist/fesm2022/wirekyt-angular-swap.mjs.map +1 -0
  35. package/dist/fesm2022/wirekyt-angular-switch.mjs +340 -0
  36. package/dist/fesm2022/wirekyt-angular-switch.mjs.map +1 -0
  37. package/dist/fesm2022/wirekyt-angular-tags-input.mjs +645 -0
  38. package/dist/fesm2022/wirekyt-angular-tags-input.mjs.map +1 -0
  39. package/dist/fesm2022/wirekyt-angular-timer.mjs +294 -0
  40. package/dist/fesm2022/wirekyt-angular-timer.mjs.map +1 -0
  41. package/dist/fesm2022/wirekyt-angular-toggle-group.mjs +194 -0
  42. package/dist/fesm2022/wirekyt-angular-toggle-group.mjs.map +1 -0
  43. package/dist/fesm2022/wirekyt-angular-toggle.mjs +170 -0
  44. package/dist/fesm2022/wirekyt-angular-toggle.mjs.map +1 -0
  45. package/dist/fesm2022/wirekyt-angular-tour.mjs +806 -0
  46. package/dist/fesm2022/wirekyt-angular-tour.mjs.map +1 -0
  47. package/dist/package.json +81 -1
  48. package/dist/types/wirekyt-angular-checkbox.d.ts +1 -1
  49. package/dist/types/wirekyt-angular-color-picker.d.ts +1 -1
  50. package/dist/types/wirekyt-angular-combobox.d.ts +1 -1
  51. package/dist/types/wirekyt-angular-date-picker.d.ts +1 -1
  52. package/dist/types/wirekyt-angular-json-tree-view.d.ts +0 -5
  53. package/dist/types/wirekyt-angular-json-tree-view.d.ts.map +1 -1
  54. package/dist/types/wirekyt-angular-listbox.d.ts +206 -0
  55. package/dist/types/wirekyt-angular-listbox.d.ts.map +1 -0
  56. package/dist/types/wirekyt-angular-menu.d.ts +0 -23
  57. package/dist/types/wirekyt-angular-menu.d.ts.map +1 -1
  58. package/dist/types/wirekyt-angular-number-input.d.ts +143 -0
  59. package/dist/types/wirekyt-angular-number-input.d.ts.map +1 -0
  60. package/dist/types/wirekyt-angular-password-input.d.ts +124 -0
  61. package/dist/types/wirekyt-angular-password-input.d.ts.map +1 -0
  62. package/dist/types/wirekyt-angular-pin-input.d.ts +131 -0
  63. package/dist/types/wirekyt-angular-pin-input.d.ts.map +1 -0
  64. package/dist/types/wirekyt-angular-progress.d.ts +129 -0
  65. package/dist/types/wirekyt-angular-progress.d.ts.map +1 -0
  66. package/dist/types/wirekyt-angular-qr-code.d.ts +0 -11
  67. package/dist/types/wirekyt-angular-qr-code.d.ts.map +1 -1
  68. package/dist/types/wirekyt-angular-radio-group.d.ts +149 -0
  69. package/dist/types/wirekyt-angular-radio-group.d.ts.map +1 -0
  70. package/dist/types/wirekyt-angular-rating-group.d.ts +136 -0
  71. package/dist/types/wirekyt-angular-rating-group.d.ts.map +1 -0
  72. package/dist/types/wirekyt-angular-scroll-area.d.ts +106 -0
  73. package/dist/types/wirekyt-angular-scroll-area.d.ts.map +1 -0
  74. package/dist/types/wirekyt-angular-segment-group.d.ts +152 -0
  75. package/dist/types/wirekyt-angular-segment-group.d.ts.map +1 -0
  76. package/dist/types/wirekyt-angular-signature-pad.d.ts +120 -0
  77. package/dist/types/wirekyt-angular-signature-pad.d.ts.map +1 -0
  78. package/dist/types/wirekyt-angular-slider.d.ts +176 -0
  79. package/dist/types/wirekyt-angular-slider.d.ts.map +1 -0
  80. package/dist/types/wirekyt-angular-splitter.d.ts +116 -0
  81. package/dist/types/wirekyt-angular-splitter.d.ts.map +1 -0
  82. package/dist/types/wirekyt-angular-steps.d.ts +160 -0
  83. package/dist/types/wirekyt-angular-steps.d.ts.map +1 -0
  84. package/dist/types/wirekyt-angular-swap.d.ts +86 -0
  85. package/dist/types/wirekyt-angular-swap.d.ts.map +1 -0
  86. package/dist/types/wirekyt-angular-switch.d.ts +110 -0
  87. package/dist/types/wirekyt-angular-switch.d.ts.map +1 -0
  88. package/dist/types/wirekyt-angular-tags-input.d.ts +193 -0
  89. package/dist/types/wirekyt-angular-tags-input.d.ts.map +1 -0
  90. package/dist/types/wirekyt-angular-timer.d.ts +109 -0
  91. package/dist/types/wirekyt-angular-timer.d.ts.map +1 -0
  92. package/dist/types/wirekyt-angular-toggle-group.d.ts +81 -0
  93. package/dist/types/wirekyt-angular-toggle-group.d.ts.map +1 -0
  94. package/dist/types/wirekyt-angular-toggle.d.ts +69 -0
  95. package/dist/types/wirekyt-angular-toggle.d.ts.map +1 -0
  96. package/dist/types/wirekyt-angular-tour.d.ts +209 -0
  97. package/dist/types/wirekyt-angular-tour.d.ts.map +1 -0
  98. package/package.json +82 -3
@@ -0,0 +1,645 @@
1
+ import * as tagsInput from '@wirekyt/dom/machines/tags-input';
2
+ export { anatomy as tagsInputAnatomy } from '@wirekyt/dom/machines/tags-input';
3
+ import * as i0 from '@angular/core';
4
+ import { InjectionToken, inject, DestroyRef, Renderer2, ElementRef, Directive, TemplateRef, ViewContainerRef, effect, input, booleanAttribute, computed, forwardRef, model, numberAttribute, output, signal } from '@angular/core';
5
+ import { bindProps, injectLocale, injectEnvironment, createId, useMachine, createCvaController } from '@wirekyt/angular';
6
+ import { injectFieldContextOptional } from '@wirekyt/angular/field';
7
+ import { NG_VALUE_ACCESSOR } from '@angular/forms';
8
+
9
+ const TAGS_INPUT_CONTEXT = new InjectionToken("WIREKYT.TAGS_INPUT_CONTEXT");
10
+ function injectTagsInputContext() {
11
+ return inject(TAGS_INPUT_CONTEXT);
12
+ }
13
+
14
+ class TagsInputClearTrigger {
15
+ constructor() {
16
+ const context = injectTagsInputContext();
17
+ bindProps({
18
+ elementRef: inject(ElementRef),
19
+ renderer: inject(Renderer2),
20
+ destroyRef: inject(DestroyRef),
21
+ props: () => context.api().getClearTriggerProps(),
22
+ });
23
+ }
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputClearTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
25
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: TagsInputClearTrigger, isStandalone: true, selector: "[tags-input-clear-trigger]", exportAs: ["tagsInputClearTrigger"], ngImport: i0 });
26
+ }
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputClearTrigger, decorators: [{
28
+ type: Directive,
29
+ args: [{
30
+ selector: "[tags-input-clear-trigger]",
31
+ standalone: true,
32
+ exportAs: "tagsInputClearTrigger",
33
+ }]
34
+ }], ctorParameters: () => [] });
35
+
36
+ class TagsInputControl {
37
+ constructor() {
38
+ const context = injectTagsInputContext();
39
+ bindProps({
40
+ elementRef: inject(ElementRef),
41
+ renderer: inject(Renderer2),
42
+ destroyRef: inject(DestroyRef),
43
+ props: () => context.api().getControlProps(),
44
+ });
45
+ }
46
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputControl, deps: [], target: i0.ɵɵFactoryTarget.Directive });
47
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: TagsInputControl, isStandalone: true, selector: "[tags-input-control]", exportAs: ["tagsInputControl"], ngImport: i0 });
48
+ }
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputControl, decorators: [{
50
+ type: Directive,
51
+ args: [{
52
+ selector: "[tags-input-control]",
53
+ standalone: true,
54
+ exportAs: "tagsInputControl",
55
+ }]
56
+ }], ctorParameters: () => [] });
57
+
58
+ class TagsInputContext {
59
+ static ngTemplateContextGuard(_directive, context) {
60
+ void context;
61
+ return true;
62
+ }
63
+ tagsInput = injectTagsInputContext();
64
+ templateRef = inject(TemplateRef);
65
+ viewContainer = inject(ViewContainerRef);
66
+ constructor() {
67
+ const view = this.viewContainer.createEmbeddedView(this.templateRef, {
68
+ $implicit: this.tagsInput.api,
69
+ api: this.tagsInput.api,
70
+ });
71
+ effect(() => {
72
+ this.tagsInput.api();
73
+ view.detectChanges();
74
+ });
75
+ inject(DestroyRef).onDestroy(() => view.destroy());
76
+ }
77
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputContext, deps: [], target: i0.ɵɵFactoryTarget.Directive });
78
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: TagsInputContext, isStandalone: true, selector: "[tags-input-context]", exportAs: ["tagsInputContext"], ngImport: i0 });
79
+ }
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputContext, decorators: [{
81
+ type: Directive,
82
+ args: [{
83
+ selector: "[tags-input-context]",
84
+ standalone: true,
85
+ exportAs: "tagsInputContext",
86
+ }]
87
+ }], ctorParameters: () => [] });
88
+
89
+ class TagsInputHiddenInput {
90
+ constructor() {
91
+ const context = injectTagsInputContext();
92
+ const field = injectFieldContextOptional();
93
+ const elementRef = inject(ElementRef);
94
+ const renderer = inject(Renderer2);
95
+ const destroyRef = inject(DestroyRef);
96
+ bindProps({
97
+ elementRef,
98
+ renderer,
99
+ destroyRef,
100
+ props: () => {
101
+ const props = context.api().getHiddenInputProps();
102
+ const { defaultValue: _defaultValue, ...rest } = props;
103
+ return {
104
+ "aria-describedby": field?.ariaDescribedby(),
105
+ ...rest,
106
+ };
107
+ },
108
+ });
109
+ effect(() => {
110
+ const el = elementRef.nativeElement;
111
+ const next = context.api().valueAsString;
112
+ if (el.value !== next)
113
+ el.value = next;
114
+ });
115
+ }
116
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputHiddenInput, deps: [], target: i0.ɵɵFactoryTarget.Directive });
117
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: TagsInputHiddenInput, isStandalone: true, selector: "[tags-input-hidden-input]", exportAs: ["tagsInputHiddenInput"], ngImport: i0 });
118
+ }
119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputHiddenInput, decorators: [{
120
+ type: Directive,
121
+ args: [{
122
+ selector: "[tags-input-hidden-input]",
123
+ standalone: true,
124
+ exportAs: "tagsInputHiddenInput",
125
+ }]
126
+ }], ctorParameters: () => [] });
127
+
128
+ class TagsInputInput {
129
+ constructor() {
130
+ const context = injectTagsInputContext();
131
+ const elementRef = inject(ElementRef);
132
+ const renderer = inject(Renderer2);
133
+ const destroyRef = inject(DestroyRef);
134
+ bindProps({
135
+ elementRef,
136
+ renderer,
137
+ destroyRef,
138
+ props: () => {
139
+ const props = context.api().getInputProps();
140
+ const { defaultValue: _defaultValue, ...rest } = props;
141
+ return rest;
142
+ },
143
+ });
144
+ }
145
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputInput, deps: [], target: i0.ɵɵFactoryTarget.Directive });
146
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: TagsInputInput, isStandalone: true, selector: "[tags-input-input]", exportAs: ["tagsInputInput"], ngImport: i0 });
147
+ }
148
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputInput, decorators: [{
149
+ type: Directive,
150
+ args: [{
151
+ selector: "[tags-input-input]",
152
+ standalone: true,
153
+ exportAs: "tagsInputInput",
154
+ }]
155
+ }], ctorParameters: () => [] });
156
+
157
+ const TAGS_INPUT_ITEM_CONTEXT = new InjectionToken("WIREKYT.TAGS_INPUT_ITEM_CONTEXT");
158
+ function injectTagsInputItemContext() {
159
+ const context = inject(TAGS_INPUT_ITEM_CONTEXT, { optional: true });
160
+ if (!context) {
161
+ throw new Error("TAGS_INPUT_ITEM_CONTEXT not found: a tags-input item part directive must be used inside a [tags-input-item] directive.");
162
+ }
163
+ return context;
164
+ }
165
+
166
+ class TagsInputItemDeleteTrigger {
167
+ constructor() {
168
+ const context = injectTagsInputContext();
169
+ const item = injectTagsInputItemContext();
170
+ bindProps({
171
+ elementRef: inject(ElementRef),
172
+ renderer: inject(Renderer2),
173
+ destroyRef: inject(DestroyRef),
174
+ props: () => context.api().getItemDeleteTriggerProps({
175
+ index: item.index(),
176
+ value: item.value(),
177
+ disabled: item.disabled(),
178
+ }),
179
+ });
180
+ }
181
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputItemDeleteTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
182
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: TagsInputItemDeleteTrigger, isStandalone: true, selector: "[tags-input-item-delete-trigger]", exportAs: ["tagsInputItemDeleteTrigger"], ngImport: i0 });
183
+ }
184
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputItemDeleteTrigger, decorators: [{
185
+ type: Directive,
186
+ args: [{
187
+ selector: "[tags-input-item-delete-trigger]",
188
+ standalone: true,
189
+ exportAs: "tagsInputItemDeleteTrigger",
190
+ }]
191
+ }], ctorParameters: () => [] });
192
+
193
+ class TagsInputItemInput {
194
+ constructor() {
195
+ const context = injectTagsInputContext();
196
+ const item = injectTagsInputItemContext();
197
+ bindProps({
198
+ elementRef: inject(ElementRef),
199
+ renderer: inject(Renderer2),
200
+ destroyRef: inject(DestroyRef),
201
+ props: () => {
202
+ const props = context.api().getItemInputProps({
203
+ index: item.index(),
204
+ value: item.value(),
205
+ disabled: item.disabled(),
206
+ });
207
+ const { defaultValue: _defaultValue, ...rest } = props;
208
+ return rest;
209
+ },
210
+ });
211
+ }
212
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputItemInput, deps: [], target: i0.ɵɵFactoryTarget.Directive });
213
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: TagsInputItemInput, isStandalone: true, selector: "[tags-input-item-input]", exportAs: ["tagsInputItemInput"], ngImport: i0 });
214
+ }
215
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputItemInput, decorators: [{
216
+ type: Directive,
217
+ args: [{
218
+ selector: "[tags-input-item-input]",
219
+ standalone: true,
220
+ exportAs: "tagsInputItemInput",
221
+ }]
222
+ }], ctorParameters: () => [] });
223
+
224
+ class TagsInputItemPreview {
225
+ constructor() {
226
+ const context = injectTagsInputContext();
227
+ const item = injectTagsInputItemContext();
228
+ bindProps({
229
+ elementRef: inject(ElementRef),
230
+ renderer: inject(Renderer2),
231
+ destroyRef: inject(DestroyRef),
232
+ props: () => context.api().getItemPreviewProps({
233
+ index: item.index(),
234
+ value: item.value(),
235
+ disabled: item.disabled(),
236
+ }),
237
+ });
238
+ }
239
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputItemPreview, deps: [], target: i0.ɵɵFactoryTarget.Directive });
240
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: TagsInputItemPreview, isStandalone: true, selector: "[tags-input-item-preview]", exportAs: ["tagsInputItemPreview"], ngImport: i0 });
241
+ }
242
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputItemPreview, decorators: [{
243
+ type: Directive,
244
+ args: [{
245
+ selector: "[tags-input-item-preview]",
246
+ standalone: true,
247
+ exportAs: "tagsInputItemPreview",
248
+ }]
249
+ }], ctorParameters: () => [] });
250
+
251
+ class TagsInputItemText {
252
+ constructor() {
253
+ const context = injectTagsInputContext();
254
+ const item = injectTagsInputItemContext();
255
+ bindProps({
256
+ elementRef: inject(ElementRef),
257
+ renderer: inject(Renderer2),
258
+ destroyRef: inject(DestroyRef),
259
+ props: () => context.api().getItemTextProps({
260
+ index: item.index(),
261
+ value: item.value(),
262
+ disabled: item.disabled(),
263
+ }),
264
+ });
265
+ }
266
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputItemText, deps: [], target: i0.ɵɵFactoryTarget.Directive });
267
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: TagsInputItemText, isStandalone: true, selector: "[tags-input-item-text]", exportAs: ["tagsInputItemText"], ngImport: i0 });
268
+ }
269
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputItemText, decorators: [{
270
+ type: Directive,
271
+ args: [{
272
+ selector: "[tags-input-item-text]",
273
+ standalone: true,
274
+ exportAs: "tagsInputItemText",
275
+ }]
276
+ }], ctorParameters: () => [] });
277
+
278
+ class TagsInputItem {
279
+ index = input.required(/* @ts-ignore */
280
+ ...(ngDevMode ? [{ debugName: "index" }] : /* istanbul ignore next */ []));
281
+ value = input.required(/* @ts-ignore */
282
+ ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
283
+ disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
284
+ context = injectTagsInputContext();
285
+ state = computed(() => this.context.api().getItemState({
286
+ index: this.index(),
287
+ value: this.value(),
288
+ disabled: this.disabled(),
289
+ }), /* @ts-ignore */
290
+ ...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
291
+ constructor() {
292
+ const context = this.context;
293
+ bindProps({
294
+ elementRef: inject(ElementRef),
295
+ renderer: inject(Renderer2),
296
+ destroyRef: inject(DestroyRef),
297
+ props: () => context.api().getItemProps({
298
+ index: this.index(),
299
+ value: this.value(),
300
+ disabled: this.disabled(),
301
+ }),
302
+ });
303
+ }
304
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputItem, deps: [], target: i0.ɵɵFactoryTarget.Directive });
305
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: TagsInputItem, isStandalone: true, selector: "[tags-input-item]", inputs: { index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: true, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, providers: [{ provide: TAGS_INPUT_ITEM_CONTEXT, useExisting: forwardRef(() => TagsInputItem) }], exportAs: ["tagsInputItem"], ngImport: i0 });
306
+ }
307
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputItem, decorators: [{
308
+ type: Directive,
309
+ args: [{
310
+ selector: "[tags-input-item]",
311
+ standalone: true,
312
+ exportAs: "tagsInputItem",
313
+ providers: [{ provide: TAGS_INPUT_ITEM_CONTEXT, useExisting: forwardRef(() => TagsInputItem) }],
314
+ }]
315
+ }], ctorParameters: () => [], propDecorators: { index: [{ type: i0.Input, args: [{ isSignal: true, alias: "index", required: true }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }] } });
316
+
317
+ class TagsInputItemContextDirective {
318
+ static ngTemplateContextGuard(_directive, context) {
319
+ void context;
320
+ return true;
321
+ }
322
+ item = injectTagsInputItemContext();
323
+ templateRef = inject(TemplateRef);
324
+ viewContainer = inject(ViewContainerRef);
325
+ constructor() {
326
+ const view = this.viewContainer.createEmbeddedView(this.templateRef, {
327
+ $implicit: this.item,
328
+ item: this.item,
329
+ });
330
+ effect(() => {
331
+ this.item.state();
332
+ view.detectChanges();
333
+ });
334
+ inject(DestroyRef).onDestroy(() => view.destroy());
335
+ }
336
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputItemContextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
337
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: TagsInputItemContextDirective, isStandalone: true, selector: "[tags-input-item-context]", exportAs: ["tagsInputItemContext"], ngImport: i0 });
338
+ }
339
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputItemContextDirective, decorators: [{
340
+ type: Directive,
341
+ args: [{
342
+ selector: "[tags-input-item-context]",
343
+ standalone: true,
344
+ exportAs: "tagsInputItemContext",
345
+ }]
346
+ }], ctorParameters: () => [] });
347
+
348
+ class TagsInputLabel {
349
+ constructor() {
350
+ const context = injectTagsInputContext();
351
+ bindProps({
352
+ elementRef: inject(ElementRef),
353
+ renderer: inject(Renderer2),
354
+ destroyRef: inject(DestroyRef),
355
+ props: () => context.api().getLabelProps(),
356
+ });
357
+ }
358
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive });
359
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: TagsInputLabel, isStandalone: true, selector: "[tags-input-label]", exportAs: ["tagsInputLabel"], ngImport: i0 });
360
+ }
361
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputLabel, decorators: [{
362
+ type: Directive,
363
+ args: [{
364
+ selector: "[tags-input-label]",
365
+ standalone: true,
366
+ exportAs: "tagsInputLabel",
367
+ }]
368
+ }], ctorParameters: () => [] });
369
+
370
+ class TagsInputRootProvider {
371
+ value = input.required(/* @ts-ignore */
372
+ ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
373
+ get state() {
374
+ return this.value().state;
375
+ }
376
+ get api() {
377
+ return this.value().api;
378
+ }
379
+ get service() {
380
+ return this.value().service;
381
+ }
382
+ get send() {
383
+ return this.value().send;
384
+ }
385
+ constructor() {
386
+ bindProps({
387
+ elementRef: inject(ElementRef),
388
+ renderer: inject(Renderer2),
389
+ destroyRef: inject(DestroyRef),
390
+ props: () => this.value().api().getRootProps(),
391
+ });
392
+ }
393
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputRootProvider, deps: [], target: i0.ɵɵFactoryTarget.Directive });
394
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: TagsInputRootProvider, isStandalone: true, selector: "[tags-input-root-provider]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, providers: [
395
+ { provide: TAGS_INPUT_CONTEXT, useExisting: forwardRef(() => TagsInputRootProvider) },
396
+ ], exportAs: ["tagsInputRootProvider"], ngImport: i0 });
397
+ }
398
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputRootProvider, decorators: [{
399
+ type: Directive,
400
+ args: [{
401
+ selector: "[tags-input-root-provider]",
402
+ standalone: true,
403
+ exportAs: "tagsInputRootProvider",
404
+ providers: [
405
+ { provide: TAGS_INPUT_CONTEXT, useExisting: forwardRef(() => TagsInputRootProvider) },
406
+ ],
407
+ }]
408
+ }], ctorParameters: () => [], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }] } });
409
+
410
+ function useTagsInput(options) {
411
+ const locale = injectLocale();
412
+ const environment = injectEnvironment();
413
+ const field = injectFieldContextOptional();
414
+ const fallbackId = createId();
415
+ return useMachine({
416
+ machine: tagsInput.machine,
417
+ context: () => {
418
+ const props = options.context();
419
+ const id = props.id ?? fallbackId;
420
+ const merged = {
421
+ dir: locale.dir,
422
+ locale: locale.locale,
423
+ getRootNode: environment.getRootNode,
424
+ ...props,
425
+ id,
426
+ };
427
+ if (field) {
428
+ const fieldIds = field.ids;
429
+ const baseIds = (props.ids ?? {});
430
+ merged.ids = {
431
+ label: fieldIds.label,
432
+ hiddenInput: fieldIds.control,
433
+ ...baseIds,
434
+ };
435
+ const disabled = Boolean(props.disabled) || field.disabled();
436
+ const invalid = Boolean(props.invalid) || field.invalid();
437
+ const readOnly = Boolean(props.readOnly) || field.readOnly();
438
+ const required = Boolean(props.required) || field.required();
439
+ merged.disabled = disabled || undefined;
440
+ merged.invalid = invalid || undefined;
441
+ merged.readOnly = readOnly || undefined;
442
+ merged.required = required || undefined;
443
+ }
444
+ return merged;
445
+ },
446
+ connect: (service, normalize) => tagsInput.connect(service, normalize),
447
+ });
448
+ }
449
+
450
+ class TagsInputRoot {
451
+ id = input(undefined, /* @ts-ignore */
452
+ ...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
453
+ elementIds = input(undefined, { ...(ngDevMode ? { debugName: "elementIds" } : /* istanbul ignore next */ {}), alias: "ids" });
454
+ value = model(undefined, /* @ts-ignore */
455
+ ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
456
+ defaultValue = input(undefined, /* @ts-ignore */
457
+ ...(ngDevMode ? [{ debugName: "defaultValue" }] : /* istanbul ignore next */ []));
458
+ inputValue = model(undefined, /* @ts-ignore */
459
+ ...(ngDevMode ? [{ debugName: "inputValue" }] : /* istanbul ignore next */ []));
460
+ defaultInputValue = input(undefined, /* @ts-ignore */
461
+ ...(ngDevMode ? [{ debugName: "defaultInputValue" }] : /* istanbul ignore next */ []));
462
+ disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
463
+ readOnly = input(false, { ...(ngDevMode ? { debugName: "readOnly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
464
+ invalid = input(false, { ...(ngDevMode ? { debugName: "invalid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
465
+ required = input(false, { ...(ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
466
+ editable = input(true, { ...(ngDevMode ? { debugName: "editable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
467
+ autoFocus = input(false, { ...(ngDevMode ? { debugName: "autoFocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
468
+ allowDuplicates = input(false, { ...(ngDevMode ? { debugName: "allowDuplicates" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
469
+ allowOverflow = input(false, { ...(ngDevMode ? { debugName: "allowOverflow" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
470
+ addOnPaste = input(false, { ...(ngDevMode ? { debugName: "addOnPaste" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
471
+ max = input(undefined, { ...(ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {}), transform: (value) => value === null || value === undefined || value === "" ? undefined : numberAttribute(value) });
472
+ maxLength = input(undefined, { ...(ngDevMode ? { debugName: "maxLength" } : /* istanbul ignore next */ {}), transform: (value) => value === null || value === undefined || value === "" ? undefined : numberAttribute(value) });
473
+ delimiter = input(undefined, /* @ts-ignore */
474
+ ...(ngDevMode ? [{ debugName: "delimiter" }] : /* istanbul ignore next */ []));
475
+ blurBehavior = input(undefined, /* @ts-ignore */
476
+ ...(ngDevMode ? [{ debugName: "blurBehavior" }] : /* istanbul ignore next */ []));
477
+ placeholder = input(undefined, /* @ts-ignore */
478
+ ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
479
+ name = input(undefined, /* @ts-ignore */
480
+ ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
481
+ form = input(undefined, /* @ts-ignore */
482
+ ...(ngDevMode ? [{ debugName: "form" }] : /* istanbul ignore next */ []));
483
+ sanitizeValue = input(undefined, /* @ts-ignore */
484
+ ...(ngDevMode ? [{ debugName: "sanitizeValue" }] : /* istanbul ignore next */ []));
485
+ validate = input(undefined, /* @ts-ignore */
486
+ ...(ngDevMode ? [{ debugName: "validate" }] : /* istanbul ignore next */ []));
487
+ translations = input(undefined, /* @ts-ignore */
488
+ ...(ngDevMode ? [{ debugName: "translations" }] : /* istanbul ignore next */ []));
489
+ valueChangeDetails = output();
490
+ inputValueChangeDetails = output();
491
+ highlightChange = output();
492
+ valueInvalid = output();
493
+ focusOutside = output();
494
+ pointerDownOutside = output();
495
+ interactOutside = output();
496
+ _disabledFromForm = signal(false, /* @ts-ignore */
497
+ ...(ngDevMode ? [{ debugName: "_disabledFromForm" }] : /* istanbul ignore next */ []));
498
+ _pendingInternalWrites = 0;
499
+ _hasExternalBinding = false;
500
+ _hasReceivedFormWrite = false;
501
+ cva = createCvaController({
502
+ value: this.value,
503
+ setDisabled: (disabled) => this._disabledFromForm.set(disabled),
504
+ componentName: "TagsInputRoot",
505
+ hasExternalModelBinding: () => this._hasExternalBinding,
506
+ });
507
+ machine = useTagsInput({
508
+ context: () => ({
509
+ id: this.id(),
510
+ ids: this.elementIds(),
511
+ value: this.value(),
512
+ defaultValue: this.defaultValue(),
513
+ inputValue: this.inputValue(),
514
+ defaultInputValue: this.defaultInputValue(),
515
+ disabled: this.disabled() || this._disabledFromForm() || undefined,
516
+ readOnly: this.readOnly() || undefined,
517
+ invalid: this.invalid() || undefined,
518
+ required: this.required() || undefined,
519
+ editable: this.editable(),
520
+ autoFocus: this.autoFocus() || undefined,
521
+ allowDuplicates: this.allowDuplicates() || undefined,
522
+ allowOverflow: this.allowOverflow() || undefined,
523
+ addOnPaste: this.addOnPaste() || undefined,
524
+ max: this.max(),
525
+ maxLength: this.maxLength(),
526
+ delimiter: this.delimiter(),
527
+ blurBehavior: this.blurBehavior(),
528
+ placeholder: this.placeholder(),
529
+ name: this.name(),
530
+ form: this.form(),
531
+ sanitizeValue: this.sanitizeValue(),
532
+ validate: this.validate(),
533
+ translations: this.translations(),
534
+ onValueChange: (details) => {
535
+ const current = this.value();
536
+ if (!arraysShallowEqual(current, details.value)) {
537
+ this._pendingInternalWrites++;
538
+ this.value.set([...details.value]);
539
+ }
540
+ this.cva.notifyValueChange(details.value);
541
+ this.cva.markTouched();
542
+ this.valueChangeDetails.emit(details);
543
+ },
544
+ onInputValueChange: (details) => {
545
+ if (this.inputValue() !== details.inputValue) {
546
+ this.inputValue.set(details.inputValue);
547
+ }
548
+ this.inputValueChangeDetails.emit(details);
549
+ },
550
+ onHighlightChange: (details) => {
551
+ this.highlightChange.emit(details);
552
+ },
553
+ onValueInvalid: (details) => {
554
+ this.valueInvalid.emit(details);
555
+ },
556
+ onFocusOutside: (event) => this.focusOutside.emit(event),
557
+ onPointerDownOutside: (event) => this.pointerDownOutside.emit(event),
558
+ onInteractOutside: (event) => this.interactOutside.emit(event),
559
+ }),
560
+ });
561
+ state = this.machine.state;
562
+ api = this.machine.api;
563
+ service = this.machine.service;
564
+ send = this.machine.send;
565
+ constructor() {
566
+ let firstRun = true;
567
+ effect(() => {
568
+ void this.value();
569
+ if (firstRun) {
570
+ firstRun = false;
571
+ this._pendingInternalWrites = 0;
572
+ return;
573
+ }
574
+ if (this._pendingInternalWrites > 0) {
575
+ this._pendingInternalWrites--;
576
+ return;
577
+ }
578
+ this._hasExternalBinding = true;
579
+ });
580
+ bindProps({
581
+ elementRef: inject(ElementRef),
582
+ renderer: inject(Renderer2),
583
+ destroyRef: inject(DestroyRef),
584
+ props: () => this.api().getRootProps(),
585
+ });
586
+ }
587
+ writeValue(value) {
588
+ const next = value === null ? undefined : value;
589
+ const current = this.value();
590
+ if (!this._hasReceivedFormWrite && current !== undefined) {
591
+ this._hasExternalBinding = true;
592
+ }
593
+ this._hasReceivedFormWrite = true;
594
+ if (!arraysShallowEqual(current, next)) {
595
+ this._pendingInternalWrites++;
596
+ }
597
+ this.cva.writeValue(value);
598
+ }
599
+ registerOnChange(fn) {
600
+ this.cva.registerOnChange(fn);
601
+ }
602
+ registerOnTouched(fn) {
603
+ this.cva.registerOnTouched(fn);
604
+ }
605
+ setDisabledState(disabled) {
606
+ this.cva.setDisabledState(disabled);
607
+ }
608
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputRoot, deps: [], target: i0.ɵɵFactoryTarget.Directive });
609
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: TagsInputRoot, isStandalone: true, selector: "[tags-input-root]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, elementIds: { classPropertyName: "elementIds", publicName: "ids", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, defaultValue: { classPropertyName: "defaultValue", publicName: "defaultValue", isSignal: true, isRequired: false, transformFunction: null }, inputValue: { classPropertyName: "inputValue", publicName: "inputValue", isSignal: true, isRequired: false, transformFunction: null }, defaultInputValue: { classPropertyName: "defaultInputValue", publicName: "defaultInputValue", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, editable: { classPropertyName: "editable", publicName: "editable", isSignal: true, isRequired: false, transformFunction: null }, autoFocus: { classPropertyName: "autoFocus", publicName: "autoFocus", isSignal: true, isRequired: false, transformFunction: null }, allowDuplicates: { classPropertyName: "allowDuplicates", publicName: "allowDuplicates", isSignal: true, isRequired: false, transformFunction: null }, allowOverflow: { classPropertyName: "allowOverflow", publicName: "allowOverflow", isSignal: true, isRequired: false, transformFunction: null }, addOnPaste: { classPropertyName: "addOnPaste", publicName: "addOnPaste", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, maxLength: { classPropertyName: "maxLength", publicName: "maxLength", isSignal: true, isRequired: false, transformFunction: null }, delimiter: { classPropertyName: "delimiter", publicName: "delimiter", isSignal: true, isRequired: false, transformFunction: null }, blurBehavior: { classPropertyName: "blurBehavior", publicName: "blurBehavior", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, sanitizeValue: { classPropertyName: "sanitizeValue", publicName: "sanitizeValue", isSignal: true, isRequired: false, transformFunction: null }, validate: { classPropertyName: "validate", publicName: "validate", isSignal: true, isRequired: false, transformFunction: null }, translations: { classPropertyName: "translations", publicName: "translations", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", inputValue: "inputValueChange", valueChangeDetails: "valueChangeDetails", inputValueChangeDetails: "inputValueChangeDetails", highlightChange: "highlightChange", valueInvalid: "valueInvalid", focusOutside: "focusOutside", pointerDownOutside: "pointerDownOutside", interactOutside: "interactOutside" }, providers: [
610
+ { provide: TAGS_INPUT_CONTEXT, useExisting: forwardRef(() => TagsInputRoot) },
611
+ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TagsInputRoot), multi: true },
612
+ ], exportAs: ["tagsInputRoot"], ngImport: i0 });
613
+ }
614
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TagsInputRoot, decorators: [{
615
+ type: Directive,
616
+ args: [{
617
+ selector: "[tags-input-root]",
618
+ standalone: true,
619
+ exportAs: "tagsInputRoot",
620
+ providers: [
621
+ { provide: TAGS_INPUT_CONTEXT, useExisting: forwardRef(() => TagsInputRoot) },
622
+ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TagsInputRoot), multi: true },
623
+ ],
624
+ }]
625
+ }], ctorParameters: () => [], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], elementIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "ids", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], defaultValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultValue", required: false }] }], inputValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputValue", required: false }] }, { type: i0.Output, args: ["inputValueChange"] }], defaultInputValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultInputValue", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readOnly", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], editable: [{ type: i0.Input, args: [{ isSignal: true, alias: "editable", required: false }] }], autoFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoFocus", required: false }] }], allowDuplicates: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowDuplicates", required: false }] }], allowOverflow: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowOverflow", required: false }] }], addOnPaste: [{ type: i0.Input, args: [{ isSignal: true, alias: "addOnPaste", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], maxLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxLength", required: false }] }], delimiter: [{ type: i0.Input, args: [{ isSignal: true, alias: "delimiter", required: false }] }], blurBehavior: [{ type: i0.Input, args: [{ isSignal: true, alias: "blurBehavior", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], form: [{ type: i0.Input, args: [{ isSignal: true, alias: "form", required: false }] }], sanitizeValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "sanitizeValue", required: false }] }], validate: [{ type: i0.Input, args: [{ isSignal: true, alias: "validate", required: false }] }], translations: [{ type: i0.Input, args: [{ isSignal: true, alias: "translations", required: false }] }], valueChangeDetails: [{ type: i0.Output, args: ["valueChangeDetails"] }], inputValueChangeDetails: [{ type: i0.Output, args: ["inputValueChangeDetails"] }], highlightChange: [{ type: i0.Output, args: ["highlightChange"] }], valueInvalid: [{ type: i0.Output, args: ["valueInvalid"] }], focusOutside: [{ type: i0.Output, args: ["focusOutside"] }], pointerDownOutside: [{ type: i0.Output, args: ["pointerDownOutside"] }], interactOutside: [{ type: i0.Output, args: ["interactOutside"] }] } });
626
+ function arraysShallowEqual(a, b) {
627
+ if (a === b)
628
+ return true;
629
+ if (!a || !b)
630
+ return false;
631
+ if (a.length !== b.length)
632
+ return false;
633
+ for (let i = 0; i < a.length; i++) {
634
+ if (a[i] !== b[i])
635
+ return false;
636
+ }
637
+ return true;
638
+ }
639
+
640
+ /**
641
+ * Generated bundle index. Do not edit.
642
+ */
643
+
644
+ export { TAGS_INPUT_CONTEXT, TAGS_INPUT_ITEM_CONTEXT, TagsInputClearTrigger, TagsInputContext, TagsInputControl, TagsInputHiddenInput, TagsInputInput, TagsInputItem, TagsInputItemContextDirective, TagsInputItemDeleteTrigger, TagsInputItemInput, TagsInputItemPreview, TagsInputItemText, TagsInputLabel, TagsInputRoot, TagsInputRootProvider, injectTagsInputContext, injectTagsInputItemContext, useTagsInput };
645
+ //# sourceMappingURL=wirekyt-angular-tags-input.mjs.map