@raqm/ui 0.0.0-stage → 0.1.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.
Files changed (178) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/LICENSE +21 -0
  3. package/NOTICE.md +28 -0
  4. package/README.md +125 -3
  5. package/combobox/README.md +17 -0
  6. package/fesm2022/raqm-ui-accordion.mjs +414 -0
  7. package/fesm2022/raqm-ui-accordion.mjs.map +1 -0
  8. package/fesm2022/raqm-ui-alert-dialog.mjs +457 -0
  9. package/fesm2022/raqm-ui-alert-dialog.mjs.map +1 -0
  10. package/fesm2022/raqm-ui-alert.mjs +195 -0
  11. package/fesm2022/raqm-ui-alert.mjs.map +1 -0
  12. package/fesm2022/raqm-ui-aspect-ratio.mjs +66 -0
  13. package/fesm2022/raqm-ui-aspect-ratio.mjs.map +1 -0
  14. package/fesm2022/raqm-ui-attachment.mjs +435 -0
  15. package/fesm2022/raqm-ui-attachment.mjs.map +1 -0
  16. package/fesm2022/raqm-ui-avatar.mjs +337 -0
  17. package/fesm2022/raqm-ui-avatar.mjs.map +1 -0
  18. package/fesm2022/raqm-ui-badge.mjs +68 -0
  19. package/fesm2022/raqm-ui-badge.mjs.map +1 -0
  20. package/fesm2022/raqm-ui-breadcrumb.mjs +309 -0
  21. package/fesm2022/raqm-ui-breadcrumb.mjs.map +1 -0
  22. package/fesm2022/raqm-ui-button-group.mjs +138 -0
  23. package/fesm2022/raqm-ui-button-group.mjs.map +1 -0
  24. package/fesm2022/raqm-ui-button.mjs +295 -0
  25. package/fesm2022/raqm-ui-button.mjs.map +1 -0
  26. package/fesm2022/raqm-ui-calendar.mjs +1394 -0
  27. package/fesm2022/raqm-ui-calendar.mjs.map +1 -0
  28. package/fesm2022/raqm-ui-card.mjs +331 -0
  29. package/fesm2022/raqm-ui-card.mjs.map +1 -0
  30. package/fesm2022/raqm-ui-carousel.mjs +410 -0
  31. package/fesm2022/raqm-ui-carousel.mjs.map +1 -0
  32. package/fesm2022/raqm-ui-checkbox.mjs +86 -0
  33. package/fesm2022/raqm-ui-checkbox.mjs.map +1 -0
  34. package/fesm2022/raqm-ui-collapsible.mjs +266 -0
  35. package/fesm2022/raqm-ui-collapsible.mjs.map +1 -0
  36. package/fesm2022/raqm-ui-combobox.mjs +1584 -0
  37. package/fesm2022/raqm-ui-combobox.mjs.map +1 -0
  38. package/fesm2022/raqm-ui-command.mjs +1210 -0
  39. package/fesm2022/raqm-ui-command.mjs.map +1 -0
  40. package/fesm2022/raqm-ui-context-menu.mjs +723 -0
  41. package/fesm2022/raqm-ui-context-menu.mjs.map +1 -0
  42. package/fesm2022/raqm-ui-dialog.mjs +1214 -0
  43. package/fesm2022/raqm-ui-dialog.mjs.map +1 -0
  44. package/fesm2022/raqm-ui-drawer.mjs +687 -0
  45. package/fesm2022/raqm-ui-drawer.mjs.map +1 -0
  46. package/fesm2022/raqm-ui-dropdown-menu.mjs +1168 -0
  47. package/fesm2022/raqm-ui-dropdown-menu.mjs.map +1 -0
  48. package/fesm2022/raqm-ui-empty.mjs +272 -0
  49. package/fesm2022/raqm-ui-empty.mjs.map +1 -0
  50. package/fesm2022/raqm-ui-field.mjs +517 -0
  51. package/fesm2022/raqm-ui-field.mjs.map +1 -0
  52. package/fesm2022/raqm-ui-hover-card.mjs +828 -0
  53. package/fesm2022/raqm-ui-hover-card.mjs.map +1 -0
  54. package/fesm2022/raqm-ui-input-group.mjs +270 -0
  55. package/fesm2022/raqm-ui-input-group.mjs.map +1 -0
  56. package/fesm2022/raqm-ui-input-otp.mjs +788 -0
  57. package/fesm2022/raqm-ui-input-otp.mjs.map +1 -0
  58. package/fesm2022/raqm-ui-input.mjs +73 -0
  59. package/fesm2022/raqm-ui-input.mjs.map +1 -0
  60. package/fesm2022/raqm-ui-item.mjs +495 -0
  61. package/fesm2022/raqm-ui-item.mjs.map +1 -0
  62. package/fesm2022/raqm-ui-kbd.mjs +80 -0
  63. package/fesm2022/raqm-ui-kbd.mjs.map +1 -0
  64. package/fesm2022/raqm-ui-label.mjs +44 -0
  65. package/fesm2022/raqm-ui-label.mjs.map +1 -0
  66. package/fesm2022/raqm-ui-menubar.mjs +536 -0
  67. package/fesm2022/raqm-ui-menubar.mjs.map +1 -0
  68. package/fesm2022/raqm-ui-native-select.mjs +131 -0
  69. package/fesm2022/raqm-ui-native-select.mjs.map +1 -0
  70. package/fesm2022/raqm-ui-navigation-menu.mjs +1399 -0
  71. package/fesm2022/raqm-ui-navigation-menu.mjs.map +1 -0
  72. package/fesm2022/raqm-ui-overlay-internal.mjs +185 -0
  73. package/fesm2022/raqm-ui-overlay-internal.mjs.map +1 -0
  74. package/fesm2022/raqm-ui-pagination.mjs +440 -0
  75. package/fesm2022/raqm-ui-pagination.mjs.map +1 -0
  76. package/fesm2022/raqm-ui-popover.mjs +1495 -0
  77. package/fesm2022/raqm-ui-popover.mjs.map +1 -0
  78. package/fesm2022/raqm-ui-progress.mjs +369 -0
  79. package/fesm2022/raqm-ui-progress.mjs.map +1 -0
  80. package/fesm2022/raqm-ui-questionnaire.mjs +1005 -0
  81. package/fesm2022/raqm-ui-questionnaire.mjs.map +1 -0
  82. package/fesm2022/raqm-ui-radio-group.mjs +151 -0
  83. package/fesm2022/raqm-ui-radio-group.mjs.map +1 -0
  84. package/fesm2022/raqm-ui-resizable.mjs +439 -0
  85. package/fesm2022/raqm-ui-resizable.mjs.map +1 -0
  86. package/fesm2022/raqm-ui-scroll-area.mjs +510 -0
  87. package/fesm2022/raqm-ui-scroll-area.mjs.map +1 -0
  88. package/fesm2022/raqm-ui-select.mjs +1073 -0
  89. package/fesm2022/raqm-ui-select.mjs.map +1 -0
  90. package/fesm2022/raqm-ui-separator.mjs +103 -0
  91. package/fesm2022/raqm-ui-separator.mjs.map +1 -0
  92. package/fesm2022/raqm-ui-sheet.mjs +411 -0
  93. package/fesm2022/raqm-ui-sheet.mjs.map +1 -0
  94. package/fesm2022/raqm-ui-sidebar.mjs +1784 -0
  95. package/fesm2022/raqm-ui-sidebar.mjs.map +1 -0
  96. package/fesm2022/raqm-ui-skeleton.mjs +50 -0
  97. package/fesm2022/raqm-ui-skeleton.mjs.map +1 -0
  98. package/fesm2022/raqm-ui-slider.mjs +609 -0
  99. package/fesm2022/raqm-ui-slider.mjs.map +1 -0
  100. package/fesm2022/raqm-ui-spinner.mjs +137 -0
  101. package/fesm2022/raqm-ui-spinner.mjs.map +1 -0
  102. package/fesm2022/raqm-ui-switch.mjs +109 -0
  103. package/fesm2022/raqm-ui-switch.mjs.map +1 -0
  104. package/fesm2022/raqm-ui-table.mjs +271 -0
  105. package/fesm2022/raqm-ui-table.mjs.map +1 -0
  106. package/fesm2022/raqm-ui-tabs.mjs +536 -0
  107. package/fesm2022/raqm-ui-tabs.mjs.map +1 -0
  108. package/fesm2022/raqm-ui-textarea.mjs +37 -0
  109. package/fesm2022/raqm-ui-textarea.mjs.map +1 -0
  110. package/fesm2022/raqm-ui-toast.mjs +918 -0
  111. package/fesm2022/raqm-ui-toast.mjs.map +1 -0
  112. package/fesm2022/raqm-ui-toggle-group.mjs +462 -0
  113. package/fesm2022/raqm-ui-toggle-group.mjs.map +1 -0
  114. package/fesm2022/raqm-ui-toggle.mjs +158 -0
  115. package/fesm2022/raqm-ui-toggle.mjs.map +1 -0
  116. package/fesm2022/raqm-ui-tooltip.mjs +1226 -0
  117. package/fesm2022/raqm-ui-tooltip.mjs.map +1 -0
  118. package/fesm2022/raqm-ui.mjs +50 -0
  119. package/input-otp/README.md +12 -0
  120. package/package.json +275 -3
  121. package/styles/theme.css +4322 -0
  122. package/types/raqm-ui-accordion.d.ts +124 -0
  123. package/types/raqm-ui-alert-dialog.d.ts +81 -0
  124. package/types/raqm-ui-alert.d.ts +29 -0
  125. package/types/raqm-ui-aspect-ratio.d.ts +13 -0
  126. package/types/raqm-ui-attachment.d.ts +72 -0
  127. package/types/raqm-ui-avatar.d.ts +67 -0
  128. package/types/raqm-ui-badge.d.ts +20 -0
  129. package/types/raqm-ui-breadcrumb.d.ts +35 -0
  130. package/types/raqm-ui-button-group.d.ts +27 -0
  131. package/types/raqm-ui-button.d.ts +80 -0
  132. package/types/raqm-ui-calendar.d.ts +359 -0
  133. package/types/raqm-ui-card.d.ts +34 -0
  134. package/types/raqm-ui-carousel.d.ts +81 -0
  135. package/types/raqm-ui-checkbox.d.ts +24 -0
  136. package/types/raqm-ui-collapsible.d.ts +72 -0
  137. package/types/raqm-ui-combobox.d.ts +405 -0
  138. package/types/raqm-ui-command.d.ts +256 -0
  139. package/types/raqm-ui-context-menu.d.ts +196 -0
  140. package/types/raqm-ui-dialog.d.ts +232 -0
  141. package/types/raqm-ui-drawer.d.ts +121 -0
  142. package/types/raqm-ui-dropdown-menu.d.ts +319 -0
  143. package/types/raqm-ui-empty.d.ts +35 -0
  144. package/types/raqm-ui-field.d.ts +88 -0
  145. package/types/raqm-ui-hover-card.d.ts +139 -0
  146. package/types/raqm-ui-input-group.d.ts +45 -0
  147. package/types/raqm-ui-input-otp.d.ts +197 -0
  148. package/types/raqm-ui-input.d.ts +16 -0
  149. package/types/raqm-ui-item.d.ts +71 -0
  150. package/types/raqm-ui-kbd.d.ts +12 -0
  151. package/types/raqm-ui-label.d.ts +6 -0
  152. package/types/raqm-ui-menubar.d.ts +159 -0
  153. package/types/raqm-ui-native-select.d.ts +23 -0
  154. package/types/raqm-ui-navigation-menu.d.ts +230 -0
  155. package/types/raqm-ui-overlay-internal.d.ts +5 -0
  156. package/types/raqm-ui-pagination.d.ts +84 -0
  157. package/types/raqm-ui-popover.d.ts +235 -0
  158. package/types/raqm-ui-progress.d.ts +79 -0
  159. package/types/raqm-ui-questionnaire.d.ts +217 -0
  160. package/types/raqm-ui-radio-group.d.ts +48 -0
  161. package/types/raqm-ui-resizable.d.ts +98 -0
  162. package/types/raqm-ui-scroll-area.d.ts +132 -0
  163. package/types/raqm-ui-select.d.ts +205 -0
  164. package/types/raqm-ui-separator.d.ts +21 -0
  165. package/types/raqm-ui-sheet.d.ts +79 -0
  166. package/types/raqm-ui-sidebar.d.ts +285 -0
  167. package/types/raqm-ui-skeleton.d.ts +6 -0
  168. package/types/raqm-ui-slider.d.ts +129 -0
  169. package/types/raqm-ui-spinner.d.ts +32 -0
  170. package/types/raqm-ui-switch.d.ts +32 -0
  171. package/types/raqm-ui-table.d.ts +36 -0
  172. package/types/raqm-ui-tabs.d.ts +154 -0
  173. package/types/raqm-ui-textarea.d.ts +6 -0
  174. package/types/raqm-ui-toast.d.ts +190 -0
  175. package/types/raqm-ui-toggle-group.d.ts +167 -0
  176. package/types/raqm-ui-toggle.d.ts +42 -0
  177. package/types/raqm-ui-tooltip.d.ts +207 -0
  178. package/types/raqm-ui.d.ts +50 -0
@@ -0,0 +1,788 @@
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, DestroyRef, Directive, ElementRef, InjectionToken, afterEveryRender, afterRenderEffect, booleanAttribute, computed, inject, input, output, signal, viewChild } from "@angular/core";
3
+ const RAQM_INPUT_OTP = new InjectionToken("RaqmInputOtp");
4
+ var RaqmInputOtpGroupDirective = class RaqmInputOtpGroupDirective {
5
+ static ɵfac = i0.ɵɵngDeclareFactory({
6
+ minVersion: "12.0.0",
7
+ version: "22.2.2",
8
+ ngImport: i0,
9
+ type: RaqmInputOtpGroupDirective,
10
+ deps: [],
11
+ target: i0.ɵɵFactoryTarget.Directive
12
+ });
13
+ static ɵdir = i0.ɵɵngDeclareDirective({
14
+ minVersion: "14.0.0",
15
+ version: "22.2.2",
16
+ type: RaqmInputOtpGroupDirective,
17
+ isStandalone: true,
18
+ selector: "raqm-input-otp-group, [raqm-input-otp-group]",
19
+ host: {
20
+ attributes: {
21
+ "data-raqm-slot": "input-otp-group",
22
+ "aria-hidden": "true"
23
+ },
24
+ classAttribute: "raqm-input-otp-group"
25
+ },
26
+ ngImport: i0
27
+ });
28
+ };
29
+ i0.ɵɵngDeclareClassMetadata({
30
+ minVersion: "12.0.0",
31
+ version: "22.2.2",
32
+ ngImport: i0,
33
+ type: RaqmInputOtpGroupDirective,
34
+ decorators: [{
35
+ type: Directive,
36
+ args: [{
37
+ selector: "raqm-input-otp-group, [raqm-input-otp-group]",
38
+ host: {
39
+ class: "raqm-input-otp-group",
40
+ "data-raqm-slot": "input-otp-group",
41
+ "aria-hidden": "true"
42
+ }
43
+ }]
44
+ }]
45
+ });
46
+ var RaqmInputOtpSlotComponent = class RaqmInputOtpSlotComponent {
47
+ index = input.required(...ngDevMode ? [{ debugName: "index" }] : /* istanbul ignore next */ []);
48
+ ariaInvalid = input(null, {
49
+ ...ngDevMode ? { debugName: "ariaInvalid" } : /* istanbul ignore next */ {},
50
+ alias: "aria-invalid"
51
+ });
52
+ root = inject(RAQM_INPUT_OTP);
53
+ char = computed(() => this.root.currentValue()[this.index()] ?? "", ...ngDevMode ? [{ debugName: "char" }] : /* istanbul ignore next */ []);
54
+ active = computed(() => this.root.isActive(this.index()), ...ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []);
55
+ invalid = computed(() => this.root.invalidState() || this.ariaInvalid() !== null && this.ariaInvalid() !== false && this.ariaInvalid() !== "false", ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
56
+ static ɵfac = i0.ɵɵngDeclareFactory({
57
+ minVersion: "12.0.0",
58
+ version: "22.2.2",
59
+ ngImport: i0,
60
+ type: RaqmInputOtpSlotComponent,
61
+ deps: [],
62
+ target: i0.ɵɵFactoryTarget.Component
63
+ });
64
+ static ɵcmp = i0.ɵɵngDeclareComponent({
65
+ minVersion: "17.0.0",
66
+ version: "22.2.2",
67
+ type: RaqmInputOtpSlotComponent,
68
+ isStandalone: true,
69
+ selector: "raqm-input-otp-slot",
70
+ inputs: {
71
+ index: {
72
+ classPropertyName: "index",
73
+ publicName: "index",
74
+ isSignal: true,
75
+ isRequired: true,
76
+ transformFunction: null
77
+ },
78
+ ariaInvalid: {
79
+ classPropertyName: "ariaInvalid",
80
+ publicName: "aria-invalid",
81
+ isSignal: true,
82
+ isRequired: false,
83
+ transformFunction: null
84
+ }
85
+ },
86
+ host: {
87
+ attributes: {
88
+ "data-raqm-slot": "input-otp-slot",
89
+ "aria-hidden": "true"
90
+ },
91
+ properties: {
92
+ "attr.data-raqm-index": "index()",
93
+ "attr.data-raqm-active": "active()",
94
+ "attr.aria-invalid": "invalid() ? \"true\" : null"
95
+ },
96
+ classAttribute: "raqm-input-otp-slot"
97
+ },
98
+ ngImport: i0,
99
+ template: `{{ char() }}
100
+ @if (active() && !char()) {
101
+ <span class="raqm-input-otp-slot__caret"><span></span></span>
102
+ }`,
103
+ isInline: true,
104
+ styles: [":host{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;inline-size:calc(var(--raqm-spacing) * 8);block-size:calc(var(--raqm-spacing) * 8);border-block:1px solid var(--raqm-input);border-inline-end:1px solid var(--raqm-input);background:var(--raqm-control-bg);font-size:var(--raqm-font-size-sm);outline:none;transition:border-color var(--raqm-duration-base),box-shadow var(--raqm-duration-base)}:host(:first-child){border-inline-start:1px solid var(--raqm-input);border-start-start-radius:var(--raqm-radius-lg);border-end-start-radius:var(--raqm-radius-lg)}:host(:last-child){border-start-end-radius:var(--raqm-radius-lg);border-end-end-radius:var(--raqm-radius-lg)}:host([data-raqm-active=true]){z-index:1;border-color:var(--raqm-ring);box-shadow:0 0 0 var(--raqm-focus-ring-width) var(--raqm-focus-ring-color)}:host([aria-invalid=true]){border-color:var(--raqm-destructive)}:host([data-raqm-active=true][aria-invalid=true]){box-shadow:0 0 0 var(--raqm-focus-ring-width) var(--raqm-invalid-ring)}.raqm-input-otp-slot__caret{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}.raqm-input-otp-slot__caret span{inline-size:1px;block-size:calc(var(--raqm-spacing) * 4);background:var(--raqm-foreground);animation:raqm-otp-caret-blink 1s ease-out infinite}@keyframes raqm-otp-caret-blink{0%,70%,to{opacity:1}20%,50%{opacity:0}}@media(prefers-reduced-motion:reduce){.raqm-input-otp-slot__caret span{animation:none}}@media(forced-colors:active){:host([data-raqm-active=true]){outline:2px solid Highlight;outline-offset:-2px}}\n"],
105
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
106
+ });
107
+ };
108
+ i0.ɵɵngDeclareClassMetadata({
109
+ minVersion: "12.0.0",
110
+ version: "22.2.2",
111
+ ngImport: i0,
112
+ type: RaqmInputOtpSlotComponent,
113
+ decorators: [{
114
+ type: Component,
115
+ args: [{
116
+ selector: "raqm-input-otp-slot",
117
+ template: `{{ char() }}
118
+ @if (active() && !char()) {
119
+ <span class="raqm-input-otp-slot__caret"><span></span></span>
120
+ }`,
121
+ changeDetection: ChangeDetectionStrategy.OnPush,
122
+ host: {
123
+ class: "raqm-input-otp-slot",
124
+ "data-raqm-slot": "input-otp-slot",
125
+ "aria-hidden": "true",
126
+ "[attr.data-raqm-index]": "index()",
127
+ "[attr.data-raqm-active]": "active()",
128
+ "[attr.aria-invalid]": "invalid() ? \"true\" : null"
129
+ },
130
+ styles: [":host{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;inline-size:calc(var(--raqm-spacing) * 8);block-size:calc(var(--raqm-spacing) * 8);border-block:1px solid var(--raqm-input);border-inline-end:1px solid var(--raqm-input);background:var(--raqm-control-bg);font-size:var(--raqm-font-size-sm);outline:none;transition:border-color var(--raqm-duration-base),box-shadow var(--raqm-duration-base)}:host(:first-child){border-inline-start:1px solid var(--raqm-input);border-start-start-radius:var(--raqm-radius-lg);border-end-start-radius:var(--raqm-radius-lg)}:host(:last-child){border-start-end-radius:var(--raqm-radius-lg);border-end-end-radius:var(--raqm-radius-lg)}:host([data-raqm-active=true]){z-index:1;border-color:var(--raqm-ring);box-shadow:0 0 0 var(--raqm-focus-ring-width) var(--raqm-focus-ring-color)}:host([aria-invalid=true]){border-color:var(--raqm-destructive)}:host([data-raqm-active=true][aria-invalid=true]){box-shadow:0 0 0 var(--raqm-focus-ring-width) var(--raqm-invalid-ring)}.raqm-input-otp-slot__caret{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}.raqm-input-otp-slot__caret span{inline-size:1px;block-size:calc(var(--raqm-spacing) * 4);background:var(--raqm-foreground);animation:raqm-otp-caret-blink 1s ease-out infinite}@keyframes raqm-otp-caret-blink{0%,70%,to{opacity:1}20%,50%{opacity:0}}@media(prefers-reduced-motion:reduce){.raqm-input-otp-slot__caret span{animation:none}}@media(forced-colors:active){:host([data-raqm-active=true]){outline:2px solid Highlight;outline-offset:-2px}}\n"]
131
+ }]
132
+ }],
133
+ propDecorators: {
134
+ index: [{
135
+ type: i0.Input,
136
+ args: [{
137
+ isSignal: true,
138
+ alias: "index",
139
+ required: true
140
+ }]
141
+ }],
142
+ ariaInvalid: [{
143
+ type: i0.Input,
144
+ args: [{
145
+ isSignal: true,
146
+ alias: "aria-invalid",
147
+ required: false
148
+ }]
149
+ }]
150
+ }
151
+ });
152
+ var RaqmInputOtpSeparatorComponent = class RaqmInputOtpSeparatorComponent {
153
+ static ɵfac = i0.ɵɵngDeclareFactory({
154
+ minVersion: "12.0.0",
155
+ version: "22.2.2",
156
+ ngImport: i0,
157
+ type: RaqmInputOtpSeparatorComponent,
158
+ deps: [],
159
+ target: i0.ɵɵFactoryTarget.Component
160
+ });
161
+ static ɵcmp = i0.ɵɵngDeclareComponent({
162
+ minVersion: "14.0.0",
163
+ version: "22.2.2",
164
+ type: RaqmInputOtpSeparatorComponent,
165
+ isStandalone: true,
166
+ selector: "raqm-input-otp-separator",
167
+ host: {
168
+ attributes: {
169
+ "data-raqm-slot": "input-otp-separator",
170
+ "role": "separator",
171
+ "aria-hidden": "true"
172
+ },
173
+ classAttribute: "raqm-input-otp-separator"
174
+ },
175
+ ngImport: i0,
176
+ template: `<svg
177
+ viewBox="0 0 24 24"
178
+ fill="none"
179
+ stroke="currentColor"
180
+ stroke-width="2"
181
+ stroke-linecap="round"
182
+ aria-hidden="true"
183
+ >
184
+ <path d="M5 12h14" />
185
+ </svg>`,
186
+ isInline: true,
187
+ styles: [":host{display:flex;align-items:center}svg{inline-size:calc(var(--raqm-spacing) * 4);block-size:calc(var(--raqm-spacing) * 4)}\n"],
188
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
189
+ });
190
+ };
191
+ i0.ɵɵngDeclareClassMetadata({
192
+ minVersion: "12.0.0",
193
+ version: "22.2.2",
194
+ ngImport: i0,
195
+ type: RaqmInputOtpSeparatorComponent,
196
+ decorators: [{
197
+ type: Component,
198
+ args: [{
199
+ selector: "raqm-input-otp-separator",
200
+ template: `<svg
201
+ viewBox="0 0 24 24"
202
+ fill="none"
203
+ stroke="currentColor"
204
+ stroke-width="2"
205
+ stroke-linecap="round"
206
+ aria-hidden="true"
207
+ >
208
+ <path d="M5 12h14" />
209
+ </svg>`,
210
+ changeDetection: ChangeDetectionStrategy.OnPush,
211
+ host: {
212
+ class: "raqm-input-otp-separator",
213
+ "data-raqm-slot": "input-otp-separator",
214
+ role: "separator",
215
+ "aria-hidden": "true"
216
+ },
217
+ styles: [":host{display:flex;align-items:center}svg{inline-size:calc(var(--raqm-spacing) * 4);block-size:calc(var(--raqm-spacing) * 4)}\n"]
218
+ }]
219
+ }]
220
+ });
221
+ var RaqmInputOtpComponent = class RaqmInputOtpComponent {
222
+ maxLength = input.required(...ngDevMode ? [{ debugName: "maxLength" }] : /* istanbul ignore next */ []);
223
+ value = input(void 0, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
224
+ defaultValue = input("", ...ngDevMode ? [{ debugName: "defaultValue" }] : /* istanbul ignore next */ []);
225
+ pattern = input(void 0, ...ngDevMode ? [{ debugName: "pattern" }] : /* istanbul ignore next */ []);
226
+ disabled = input(false, {
227
+ ...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
228
+ transform: booleanAttribute
229
+ });
230
+ required = input(false, {
231
+ ...ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {},
232
+ transform: booleanAttribute
233
+ });
234
+ readOnly = input(false, {
235
+ ...ngDevMode ? { debugName: "readOnly" } : /* istanbul ignore next */ {},
236
+ transform: booleanAttribute
237
+ });
238
+ invalid = input(false, {
239
+ ...ngDevMode ? { debugName: "invalid" } : /* istanbul ignore next */ {},
240
+ transform: booleanAttribute
241
+ });
242
+ id = input(null, ...ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []);
243
+ name = input(null, ...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
244
+ form = input(null, ...ngDevMode ? [{ debugName: "form" }] : /* istanbul ignore next */ []);
245
+ ariaLabel = input(null, {
246
+ ...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
247
+ alias: "aria-label"
248
+ });
249
+ ariaLabelledby = input(null, {
250
+ ...ngDevMode ? { debugName: "ariaLabelledby" } : /* istanbul ignore next */ {},
251
+ alias: "aria-labelledby"
252
+ });
253
+ ariaDescribedby = input(null, {
254
+ ...ngDevMode ? { debugName: "ariaDescribedby" } : /* istanbul ignore next */ {},
255
+ alias: "aria-describedby"
256
+ });
257
+ ariaInvalid = input(null, {
258
+ ...ngDevMode ? { debugName: "ariaInvalid" } : /* istanbul ignore next */ {},
259
+ alias: "aria-invalid"
260
+ });
261
+ autoComplete = input("one-time-code", ...ngDevMode ? [{ debugName: "autoComplete" }] : /* istanbul ignore next */ []);
262
+ inputMode = input("numeric", ...ngDevMode ? [{ debugName: "inputMode" }] : /* istanbul ignore next */ []);
263
+ pasteTransformer = input(void 0, ...ngDevMode ? [{ debugName: "pasteTransformer" }] : /* istanbul ignore next */ []);
264
+ valueChange = output();
265
+ complete = output();
266
+ localValue = signal(void 0, ...ngDevMode ? [{ debugName: "localValue" }] : /* istanbul ignore next */ []);
267
+ control = viewChild.required("control", ...ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []);
268
+ host = inject(ElementRef);
269
+ destroyRef = inject(DestroyRef);
270
+ composing = false;
271
+ pointerStart = null;
272
+ focused = signal(false, ...ngDevMode ? [{ debugName: "focused" }] : /* istanbul ignore next */ []);
273
+ selectionStart = signal(0, ...ngDevMode ? [{ debugName: "selectionStart" }] : /* istanbul ignore next */ []);
274
+ selectionEnd = signal(0, ...ngDevMode ? [{ debugName: "selectionEnd" }] : /* istanbul ignore next */ []);
275
+ length = computed(() => Math.max(1, Math.floor(this.maxLength()) || 1), ...ngDevMode ? [{ debugName: "length" }] : /* istanbul ignore next */ []);
276
+ currentValue = computed(() => this.clean(this.value() ?? this.localValue() ?? this.defaultValue()), ...ngDevMode ? [{ debugName: "currentValue" }] : /* istanbul ignore next */ []);
277
+ patternSource = computed(() => {
278
+ const pattern = this.pattern();
279
+ return typeof pattern === "string" ? pattern : pattern?.source ?? null;
280
+ }, ...ngDevMode ? [{ debugName: "patternSource" }] : /* istanbul ignore next */ []);
281
+ invalidState = computed(() => this.invalid() || this.ariaInvalid() !== null && this.ariaInvalid() !== false && this.ariaInvalid() !== "false", ...ngDevMode ? [{ debugName: "invalidState" }] : /* istanbul ignore next */ []);
282
+ constructor() {
283
+ afterEveryRender(() => {
284
+ const control = this.control().nativeElement;
285
+ if (!this.composing && control.value !== this.currentValue()) {
286
+ control.value = this.currentValue();
287
+ this.syncSelection();
288
+ }
289
+ });
290
+ afterRenderEffect((cleanup) => {
291
+ const control = this.control().nativeElement;
292
+ const document = control.ownerDocument;
293
+ const selection = () => this.syncSelection();
294
+ document.addEventListener("selectionchange", selection);
295
+ const form = control.form;
296
+ const reset = (event) => queueMicrotask(() => {
297
+ if (!event.defaultPrevented && !this.destroyRef.destroyed) {
298
+ if (this.value() === void 0) this.localValue.set(this.clean(this.defaultValue()));
299
+ control.value = this.currentValue();
300
+ this.syncSelection();
301
+ }
302
+ });
303
+ form?.addEventListener("reset", reset);
304
+ cleanup(() => {
305
+ document.removeEventListener("selectionchange", selection);
306
+ form?.removeEventListener("reset", reset);
307
+ });
308
+ });
309
+ }
310
+ matches(value) {
311
+ const pattern = this.pattern();
312
+ if (pattern === void 0) return true;
313
+ const regex = typeof pattern === "string" ? new RegExp(pattern) : new RegExp(pattern.source, pattern.flags.replace(/[gy]/g, ""));
314
+ return value === "" || regex.test(value);
315
+ }
316
+ clean(value) {
317
+ const capped = value.slice(0, this.length());
318
+ if (this.matches(capped)) return capped;
319
+ const filtered = Array.from(value).filter((char) => this.matches(char)).join("").slice(0, this.length());
320
+ return this.matches(filtered) ? filtered : "";
321
+ }
322
+ commit(value, caret) {
323
+ const previous = this.currentValue();
324
+ if (value !== previous) {
325
+ if (this.value() === void 0) this.localValue.set(value);
326
+ this.valueChange.emit(value);
327
+ if (previous.length < this.length() && value.length === this.length()) this.complete.emit(value);
328
+ }
329
+ const control = this.control().nativeElement;
330
+ control.value = value;
331
+ const position = Math.min(caret, control.value.length);
332
+ control.setSelectionRange(position, position);
333
+ this.syncSelection();
334
+ }
335
+ onInput(event) {
336
+ if (this.composing || event.isComposing) return;
337
+ const control = this.control().nativeElement;
338
+ if (this.disabled() || this.readOnly()) {
339
+ control.value = this.currentValue();
340
+ return;
341
+ }
342
+ const raw = control.value;
343
+ const caret = this.clean(raw.slice(0, control.selectionStart ?? raw.length)).length;
344
+ const next = this.clean(raw);
345
+ this.commit(raw !== "" && next === "" ? this.currentValue() : next, caret);
346
+ }
347
+ onPaste(event) {
348
+ if (!event.clipboardData || this.disabled() || this.readOnly()) return;
349
+ event.preventDefault();
350
+ const control = this.control().nativeElement;
351
+ const raw = event.clipboardData.getData("text/plain");
352
+ const pasted = this.clean(this.pasteTransformer()?.(raw) ?? raw);
353
+ if (!pasted) return;
354
+ const current = this.currentValue();
355
+ const start = Math.min(control.selectionStart ?? current.length, current.length);
356
+ const end = Math.min(control.selectionEnd ?? start, current.length);
357
+ const available = this.length() - (current.length - (end - start));
358
+ const inserted = pasted.slice(0, Math.max(0, available));
359
+ const next = current.slice(0, start) + inserted + current.slice(end);
360
+ if (this.matches(next)) this.commit(next, start + inserted.length);
361
+ }
362
+ onCompositionStart() {
363
+ this.composing = true;
364
+ }
365
+ onCompositionEnd(event) {
366
+ this.composing = false;
367
+ this.onInput(event);
368
+ }
369
+ onFocus() {
370
+ this.focused.set(true);
371
+ const control = this.control().nativeElement;
372
+ control.setSelectionRange(Math.min(control.value.length, this.length() - 1), control.value.length);
373
+ this.syncSelection();
374
+ }
375
+ onBlur() {
376
+ this.focused.set(false);
377
+ }
378
+ onPointerDown(event) {
379
+ this.pointerStart = {
380
+ x: event.clientX,
381
+ y: event.clientY
382
+ };
383
+ }
384
+ onClick(event) {
385
+ if (this.disabled() || event.detail === 0) return;
386
+ const control = this.control().nativeElement;
387
+ if (event.detail > 1 || this.pointerStart && (Math.abs(event.clientX - this.pointerStart.x) > 4 || Math.abs(event.clientY - this.pointerStart.y) > 4)) return;
388
+ const target = Array.from(this.host.nativeElement.querySelectorAll("[data-raqm-slot=\"input-otp-slot\"]")).find((slot) => {
389
+ const rect = slot.getBoundingClientRect();
390
+ return event.clientX >= rect.left && event.clientX <= rect.right && event.clientY >= rect.top && event.clientY <= rect.bottom;
391
+ });
392
+ if (target) {
393
+ const index = Math.min(Number(target.dataset["index"]), control.value.length);
394
+ control.setSelectionRange(index, Math.min(index + 1, control.value.length));
395
+ this.syncSelection();
396
+ }
397
+ }
398
+ syncSelection() {
399
+ const control = this.control().nativeElement;
400
+ if (control.ownerDocument.activeElement !== control || this.composing) return;
401
+ let start = control.selectionStart ?? 0;
402
+ let end = control.selectionEnd ?? start;
403
+ if (start === end && control.value.length > 0 && !(start === control.value.length && start < this.length())) {
404
+ const backwards = start < this.selectionEnd();
405
+ if (start === this.length() || backwards && start > 0) start -= 1;
406
+ end = Math.min(start + 1, control.value.length);
407
+ control.setSelectionRange(start, end, backwards ? "backward" : "forward");
408
+ }
409
+ this.selectionStart.set(start);
410
+ this.selectionEnd.set(end);
411
+ }
412
+ isActive(index) {
413
+ return !this.disabled() && this.focused() && (this.selectionStart() === this.selectionEnd() ? index === this.selectionStart() : index >= this.selectionStart() && index < this.selectionEnd());
414
+ }
415
+ static ɵfac = i0.ɵɵngDeclareFactory({
416
+ minVersion: "12.0.0",
417
+ version: "22.2.2",
418
+ ngImport: i0,
419
+ type: RaqmInputOtpComponent,
420
+ deps: [],
421
+ target: i0.ɵɵFactoryTarget.Component
422
+ });
423
+ static ɵcmp = i0.ɵɵngDeclareComponent({
424
+ minVersion: "17.2.0",
425
+ version: "22.2.2",
426
+ type: RaqmInputOtpComponent,
427
+ isStandalone: true,
428
+ selector: "raqm-input-otp",
429
+ inputs: {
430
+ maxLength: {
431
+ classPropertyName: "maxLength",
432
+ publicName: "maxLength",
433
+ isSignal: true,
434
+ isRequired: true,
435
+ transformFunction: null
436
+ },
437
+ value: {
438
+ classPropertyName: "value",
439
+ publicName: "value",
440
+ isSignal: true,
441
+ isRequired: false,
442
+ transformFunction: null
443
+ },
444
+ defaultValue: {
445
+ classPropertyName: "defaultValue",
446
+ publicName: "defaultValue",
447
+ isSignal: true,
448
+ isRequired: false,
449
+ transformFunction: null
450
+ },
451
+ pattern: {
452
+ classPropertyName: "pattern",
453
+ publicName: "pattern",
454
+ isSignal: true,
455
+ isRequired: false,
456
+ transformFunction: null
457
+ },
458
+ disabled: {
459
+ classPropertyName: "disabled",
460
+ publicName: "disabled",
461
+ isSignal: true,
462
+ isRequired: false,
463
+ transformFunction: null
464
+ },
465
+ required: {
466
+ classPropertyName: "required",
467
+ publicName: "required",
468
+ isSignal: true,
469
+ isRequired: false,
470
+ transformFunction: null
471
+ },
472
+ readOnly: {
473
+ classPropertyName: "readOnly",
474
+ publicName: "readOnly",
475
+ isSignal: true,
476
+ isRequired: false,
477
+ transformFunction: null
478
+ },
479
+ invalid: {
480
+ classPropertyName: "invalid",
481
+ publicName: "invalid",
482
+ isSignal: true,
483
+ isRequired: false,
484
+ transformFunction: null
485
+ },
486
+ id: {
487
+ classPropertyName: "id",
488
+ publicName: "id",
489
+ isSignal: true,
490
+ isRequired: false,
491
+ transformFunction: null
492
+ },
493
+ name: {
494
+ classPropertyName: "name",
495
+ publicName: "name",
496
+ isSignal: true,
497
+ isRequired: false,
498
+ transformFunction: null
499
+ },
500
+ form: {
501
+ classPropertyName: "form",
502
+ publicName: "form",
503
+ isSignal: true,
504
+ isRequired: false,
505
+ transformFunction: null
506
+ },
507
+ ariaLabel: {
508
+ classPropertyName: "ariaLabel",
509
+ publicName: "aria-label",
510
+ isSignal: true,
511
+ isRequired: false,
512
+ transformFunction: null
513
+ },
514
+ ariaLabelledby: {
515
+ classPropertyName: "ariaLabelledby",
516
+ publicName: "aria-labelledby",
517
+ isSignal: true,
518
+ isRequired: false,
519
+ transformFunction: null
520
+ },
521
+ ariaDescribedby: {
522
+ classPropertyName: "ariaDescribedby",
523
+ publicName: "aria-describedby",
524
+ isSignal: true,
525
+ isRequired: false,
526
+ transformFunction: null
527
+ },
528
+ ariaInvalid: {
529
+ classPropertyName: "ariaInvalid",
530
+ publicName: "aria-invalid",
531
+ isSignal: true,
532
+ isRequired: false,
533
+ transformFunction: null
534
+ },
535
+ autoComplete: {
536
+ classPropertyName: "autoComplete",
537
+ publicName: "autoComplete",
538
+ isSignal: true,
539
+ isRequired: false,
540
+ transformFunction: null
541
+ },
542
+ inputMode: {
543
+ classPropertyName: "inputMode",
544
+ publicName: "inputMode",
545
+ isSignal: true,
546
+ isRequired: false,
547
+ transformFunction: null
548
+ },
549
+ pasteTransformer: {
550
+ classPropertyName: "pasteTransformer",
551
+ publicName: "pasteTransformer",
552
+ isSignal: true,
553
+ isRequired: false,
554
+ transformFunction: null
555
+ }
556
+ },
557
+ outputs: {
558
+ valueChange: "valueChange",
559
+ complete: "complete"
560
+ },
561
+ host: {
562
+ attributes: { "translate": "no" },
563
+ properties: {
564
+ "attr.id": "null",
565
+ "attr.aria-label": "null",
566
+ "attr.aria-labelledby": "null",
567
+ "attr.aria-describedby": "null",
568
+ "attr.aria-invalid": "null",
569
+ "attr.data-raqm-disabled": "disabled() ? \"\" : null",
570
+ "attr.data-raqm-invalid": "invalidState() ? \"\" : null"
571
+ },
572
+ classAttribute: "raqm-input-otp"
573
+ },
574
+ providers: [{
575
+ provide: RAQM_INPUT_OTP,
576
+ useExisting: RaqmInputOtpComponent
577
+ }],
578
+ viewQueries: [{
579
+ propertyName: "control",
580
+ first: true,
581
+ predicate: ["control"],
582
+ descendants: true,
583
+ isSignal: true
584
+ }],
585
+ ngImport: i0,
586
+ template: "<ng-content />\r\n<input\r\n #control\r\n class=\"raqm-input-otp__input\"\r\n data-raqm-slot=\"input-otp\"\r\n type=\"text\"\r\n [id]=\"id()\"\r\n [value]=\"currentValue()\"\r\n [attr.maxlength]=\"length()\"\r\n [attr.pattern]=\"patternSource()\"\r\n [disabled]=\"disabled()\"\r\n [required]=\"required()\"\r\n [readOnly]=\"readOnly()\"\r\n [attr.name]=\"name()\"\r\n [attr.form]=\"form()\"\r\n [attr.aria-label]=\"ariaLabel()\"\r\n [attr.aria-labelledby]=\"ariaLabelledby()\"\r\n [attr.aria-describedby]=\"ariaDescribedby()\"\r\n [attr.aria-invalid]=\"invalidState() ? ariaInvalid() || 'true' : null\"\r\n [attr.autocomplete]=\"autoComplete()\"\r\n [attr.inputmode]=\"inputMode()\"\r\n [spellcheck]=\"false\"\r\n autocapitalize=\"off\"\r\n (input)=\"onInput($event)\"\r\n (change)=\"onInput($event)\"\r\n (paste)=\"onPaste($event)\"\r\n (compositionstart)=\"onCompositionStart()\"\r\n (compositionend)=\"onCompositionEnd($event)\"\r\n (focus)=\"onFocus()\"\r\n (blur)=\"onBlur()\"\r\n (click)=\"onClick($event)\"\r\n (pointerdown)=\"onPointerDown($event)\"\r\n (select)=\"syncSelection()\"\r\n (keyup)=\"syncSelection()\"\r\n/>\r\n",
587
+ styles: [":host{position:relative;display:inline-flex;align-items:center;gap:calc(var(--raqm-spacing) * 2);color:var(--raqm-foreground)}:host([data-raqm-disabled]){opacity:var(--raqm-disabled-opacity)}.raqm-input-otp__input{z-index:2;position:absolute;inset:0;box-sizing:border-box;inline-size:100%;block-size:100%;min-inline-size:0;padding:0;border:0;outline:none;background:transparent;color:transparent;-webkit-text-fill-color:transparent;caret-color:transparent;box-shadow:none;font-family:monospace;font-size:calc(var(--raqm-spacing) * 8);letter-spacing:-.5em;cursor:text}.raqm-input-otp__input::selection{background:transparent;color:transparent}.raqm-input-otp__input:disabled{cursor:not-allowed}.raqm-input-otp__input:autofill{background:transparent;-webkit-text-fill-color:transparent}\n"],
588
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
589
+ });
590
+ };
591
+ i0.ɵɵngDeclareClassMetadata({
592
+ minVersion: "12.0.0",
593
+ version: "22.2.2",
594
+ ngImport: i0,
595
+ type: RaqmInputOtpComponent,
596
+ decorators: [{
597
+ type: Component,
598
+ args: [{
599
+ selector: "raqm-input-otp",
600
+ changeDetection: ChangeDetectionStrategy.OnPush,
601
+ providers: [{
602
+ provide: RAQM_INPUT_OTP,
603
+ useExisting: RaqmInputOtpComponent
604
+ }],
605
+ host: {
606
+ class: "raqm-input-otp",
607
+ "[attr.id]": "null",
608
+ "[attr.aria-label]": "null",
609
+ "[attr.aria-labelledby]": "null",
610
+ "[attr.aria-describedby]": "null",
611
+ "[attr.aria-invalid]": "null",
612
+ "[attr.data-raqm-disabled]": "disabled() ? \"\" : null",
613
+ "[attr.data-raqm-invalid]": "invalidState() ? \"\" : null",
614
+ translate: "no"
615
+ },
616
+ template: "<ng-content />\r\n<input\r\n #control\r\n class=\"raqm-input-otp__input\"\r\n data-raqm-slot=\"input-otp\"\r\n type=\"text\"\r\n [id]=\"id()\"\r\n [value]=\"currentValue()\"\r\n [attr.maxlength]=\"length()\"\r\n [attr.pattern]=\"patternSource()\"\r\n [disabled]=\"disabled()\"\r\n [required]=\"required()\"\r\n [readOnly]=\"readOnly()\"\r\n [attr.name]=\"name()\"\r\n [attr.form]=\"form()\"\r\n [attr.aria-label]=\"ariaLabel()\"\r\n [attr.aria-labelledby]=\"ariaLabelledby()\"\r\n [attr.aria-describedby]=\"ariaDescribedby()\"\r\n [attr.aria-invalid]=\"invalidState() ? ariaInvalid() || 'true' : null\"\r\n [attr.autocomplete]=\"autoComplete()\"\r\n [attr.inputmode]=\"inputMode()\"\r\n [spellcheck]=\"false\"\r\n autocapitalize=\"off\"\r\n (input)=\"onInput($event)\"\r\n (change)=\"onInput($event)\"\r\n (paste)=\"onPaste($event)\"\r\n (compositionstart)=\"onCompositionStart()\"\r\n (compositionend)=\"onCompositionEnd($event)\"\r\n (focus)=\"onFocus()\"\r\n (blur)=\"onBlur()\"\r\n (click)=\"onClick($event)\"\r\n (pointerdown)=\"onPointerDown($event)\"\r\n (select)=\"syncSelection()\"\r\n (keyup)=\"syncSelection()\"\r\n/>\r\n",
617
+ styles: [":host{position:relative;display:inline-flex;align-items:center;gap:calc(var(--raqm-spacing) * 2);color:var(--raqm-foreground)}:host([data-raqm-disabled]){opacity:var(--raqm-disabled-opacity)}.raqm-input-otp__input{z-index:2;position:absolute;inset:0;box-sizing:border-box;inline-size:100%;block-size:100%;min-inline-size:0;padding:0;border:0;outline:none;background:transparent;color:transparent;-webkit-text-fill-color:transparent;caret-color:transparent;box-shadow:none;font-family:monospace;font-size:calc(var(--raqm-spacing) * 8);letter-spacing:-.5em;cursor:text}.raqm-input-otp__input::selection{background:transparent;color:transparent}.raqm-input-otp__input:disabled{cursor:not-allowed}.raqm-input-otp__input:autofill{background:transparent;-webkit-text-fill-color:transparent}\n"]
618
+ }]
619
+ }],
620
+ ctorParameters: () => [],
621
+ propDecorators: {
622
+ maxLength: [{
623
+ type: i0.Input,
624
+ args: [{
625
+ isSignal: true,
626
+ alias: "maxLength",
627
+ required: true
628
+ }]
629
+ }],
630
+ value: [{
631
+ type: i0.Input,
632
+ args: [{
633
+ isSignal: true,
634
+ alias: "value",
635
+ required: false
636
+ }]
637
+ }],
638
+ defaultValue: [{
639
+ type: i0.Input,
640
+ args: [{
641
+ isSignal: true,
642
+ alias: "defaultValue",
643
+ required: false
644
+ }]
645
+ }],
646
+ pattern: [{
647
+ type: i0.Input,
648
+ args: [{
649
+ isSignal: true,
650
+ alias: "pattern",
651
+ required: false
652
+ }]
653
+ }],
654
+ disabled: [{
655
+ type: i0.Input,
656
+ args: [{
657
+ isSignal: true,
658
+ alias: "disabled",
659
+ required: false
660
+ }]
661
+ }],
662
+ required: [{
663
+ type: i0.Input,
664
+ args: [{
665
+ isSignal: true,
666
+ alias: "required",
667
+ required: false
668
+ }]
669
+ }],
670
+ readOnly: [{
671
+ type: i0.Input,
672
+ args: [{
673
+ isSignal: true,
674
+ alias: "readOnly",
675
+ required: false
676
+ }]
677
+ }],
678
+ invalid: [{
679
+ type: i0.Input,
680
+ args: [{
681
+ isSignal: true,
682
+ alias: "invalid",
683
+ required: false
684
+ }]
685
+ }],
686
+ id: [{
687
+ type: i0.Input,
688
+ args: [{
689
+ isSignal: true,
690
+ alias: "id",
691
+ required: false
692
+ }]
693
+ }],
694
+ name: [{
695
+ type: i0.Input,
696
+ args: [{
697
+ isSignal: true,
698
+ alias: "name",
699
+ required: false
700
+ }]
701
+ }],
702
+ form: [{
703
+ type: i0.Input,
704
+ args: [{
705
+ isSignal: true,
706
+ alias: "form",
707
+ required: false
708
+ }]
709
+ }],
710
+ ariaLabel: [{
711
+ type: i0.Input,
712
+ args: [{
713
+ isSignal: true,
714
+ alias: "aria-label",
715
+ required: false
716
+ }]
717
+ }],
718
+ ariaLabelledby: [{
719
+ type: i0.Input,
720
+ args: [{
721
+ isSignal: true,
722
+ alias: "aria-labelledby",
723
+ required: false
724
+ }]
725
+ }],
726
+ ariaDescribedby: [{
727
+ type: i0.Input,
728
+ args: [{
729
+ isSignal: true,
730
+ alias: "aria-describedby",
731
+ required: false
732
+ }]
733
+ }],
734
+ ariaInvalid: [{
735
+ type: i0.Input,
736
+ args: [{
737
+ isSignal: true,
738
+ alias: "aria-invalid",
739
+ required: false
740
+ }]
741
+ }],
742
+ autoComplete: [{
743
+ type: i0.Input,
744
+ args: [{
745
+ isSignal: true,
746
+ alias: "autoComplete",
747
+ required: false
748
+ }]
749
+ }],
750
+ inputMode: [{
751
+ type: i0.Input,
752
+ args: [{
753
+ isSignal: true,
754
+ alias: "inputMode",
755
+ required: false
756
+ }]
757
+ }],
758
+ pasteTransformer: [{
759
+ type: i0.Input,
760
+ args: [{
761
+ isSignal: true,
762
+ alias: "pasteTransformer",
763
+ required: false
764
+ }]
765
+ }],
766
+ valueChange: [{
767
+ type: i0.Output,
768
+ args: ["valueChange"]
769
+ }],
770
+ complete: [{
771
+ type: i0.Output,
772
+ args: ["complete"]
773
+ }],
774
+ control: [{
775
+ type: i0.ViewChild,
776
+ args: ["control", { isSignal: true }]
777
+ }]
778
+ }
779
+ });
780
+ const RaqmInputOtp = [
781
+ RaqmInputOtpComponent,
782
+ RaqmInputOtpGroupDirective,
783
+ RaqmInputOtpSlotComponent,
784
+ RaqmInputOtpSeparatorComponent
785
+ ];
786
+ export { RaqmInputOtp, RaqmInputOtpComponent, RaqmInputOtpGroupDirective, RaqmInputOtpSeparatorComponent, RaqmInputOtpSlotComponent };
787
+
788
+ //# sourceMappingURL=raqm-ui-input-otp.mjs.map