@egose/shadcn-theme-ng 0.1.0 → 0.3.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 (162) hide show
  1. package/README.md +2 -2
  2. package/accordion/README.md +405 -2
  3. package/alert/README.md +372 -2
  4. package/alert-dialog/README.md +471 -5
  5. package/aspect-ratio/README.md +272 -5
  6. package/autocomplete/README.md +502 -2
  7. package/autocomplete/fesm2022/autocomplete.mjs +1 -1
  8. package/avatar/README.md +357 -5
  9. package/badge/README.md +318 -2
  10. package/basic-alert/README.md +353 -2
  11. package/breadcrumb/README.md +406 -5
  12. package/button/README.md +482 -2
  13. package/button/fesm2022/button.mjs +85 -107
  14. package/button/types/button.d.ts +5 -8
  15. package/button-group/README.md +318 -5
  16. package/calendar/README.md +357 -2
  17. package/card/README.md +331 -5
  18. package/carousel/README.md +333 -5
  19. package/carousel/fesm2022/carousel.mjs +4 -1
  20. package/checkbox/README.md +320 -2
  21. package/checkbox/fesm2022/checkbox.mjs +6 -7
  22. package/checkbox/types/checkbox.d.ts +1 -1
  23. package/collapsible/README.md +332 -5
  24. package/combobox/README.md +507 -5
  25. package/combobox/fesm2022/combobox.mjs +5 -2
  26. package/command/README.md +435 -5
  27. package/confirmation-dialog/README.md +301 -2
  28. package/context-menu/README.md +366 -5
  29. package/date-picker/README.md +469 -2
  30. package/date-picker/fesm2022/date-picker.mjs +150 -32
  31. package/date-picker/types/date-picker.d.ts +102 -9
  32. package/dialog/README.md +448 -2
  33. package/drawer/README.md +395 -5
  34. package/dropdown-menu/README.md +417 -5
  35. package/empty/README.md +329 -5
  36. package/field/README.md +385 -5
  37. package/form-autocomplete/README.md +177 -0
  38. package/form-autocomplete/fesm2022/form-autocomplete.mjs +125 -0
  39. package/form-autocomplete/package.json +24 -0
  40. package/form-autocomplete/types/form-autocomplete.d.ts +61 -0
  41. package/form-checkbox/README.md +322 -2
  42. package/form-checkbox/fesm2022/form-checkbox.mjs +22 -9
  43. package/form-checkbox/types/form-checkbox.d.ts +23 -4
  44. package/form-combobox/README.md +202 -0
  45. package/form-combobox/fesm2022/form-combobox.mjs +147 -0
  46. package/form-combobox/package.json +24 -0
  47. package/form-combobox/types/form-combobox.d.ts +73 -0
  48. package/form-date-picker/README.md +348 -2
  49. package/form-date-picker/fesm2022/form-date-picker.mjs +38 -12
  50. package/form-date-picker/types/form-date-picker.d.ts +17 -1
  51. package/form-date-picker-multi/README.md +191 -0
  52. package/form-date-picker-multi/fesm2022/form-date-picker-multi.mjs +129 -0
  53. package/form-date-picker-multi/package.json +24 -0
  54. package/form-date-picker-multi/types/form-date-picker-multi.d.ts +58 -0
  55. package/form-date-range-picker/README.md +253 -0
  56. package/form-date-range-picker/fesm2022/form-date-range-picker.mjs +130 -0
  57. package/form-date-range-picker/package.json +24 -0
  58. package/form-date-range-picker/types/form-date-range-picker.d.ts +55 -0
  59. package/form-field/README.md +356 -2
  60. package/form-field-simple/README.md +340 -2
  61. package/form-input-otp/README.md +194 -0
  62. package/form-input-otp/fesm2022/form-input-otp.mjs +106 -0
  63. package/form-input-otp/package.json +24 -0
  64. package/form-input-otp/types/form-input-otp.d.ts +58 -0
  65. package/form-month-year-picker/README.md +188 -0
  66. package/form-month-year-picker/fesm2022/form-month-year-picker.mjs +125 -0
  67. package/form-month-year-picker/package.json +24 -0
  68. package/form-month-year-picker/types/form-month-year-picker.d.ts +53 -0
  69. package/form-native-select/README.md +205 -0
  70. package/form-native-select/fesm2022/form-native-select.mjs +103 -0
  71. package/form-native-select/package.json +24 -0
  72. package/form-native-select/types/form-native-select.d.ts +57 -0
  73. package/form-phone-input/README.md +188 -0
  74. package/form-phone-input/fesm2022/form-phone-input.mjs +113 -0
  75. package/form-phone-input/package.json +24 -0
  76. package/form-phone-input/types/form-phone-input.d.ts +58 -0
  77. package/form-radio-group/README.md +198 -0
  78. package/form-radio-group/fesm2022/form-radio-group.mjs +111 -0
  79. package/form-radio-group/package.json +24 -0
  80. package/form-radio-group/types/form-radio-group.d.ts +63 -0
  81. package/form-searchable-multiselect/README.md +371 -2
  82. package/form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs +19 -10
  83. package/form-searchable-multiselect/types/form-searchable-multiselect.d.ts +18 -1
  84. package/form-select/README.md +360 -2
  85. package/form-select/fesm2022/form-select.mjs +20 -11
  86. package/form-select/types/form-select.d.ts +18 -1
  87. package/form-slider/README.md +182 -0
  88. package/form-slider/fesm2022/form-slider.mjs +106 -0
  89. package/form-slider/package.json +24 -0
  90. package/form-slider/types/form-slider.d.ts +60 -0
  91. package/form-switch/README.md +173 -0
  92. package/form-switch/fesm2022/form-switch.mjs +100 -0
  93. package/form-switch/package.json +24 -0
  94. package/form-switch/types/form-switch.d.ts +50 -0
  95. package/form-text-input/README.md +381 -2
  96. package/form-text-input/fesm2022/form-text-input.mjs +19 -10
  97. package/form-text-input/types/form-text-input.d.ts +18 -1
  98. package/form-textarea/README.md +357 -2
  99. package/form-textarea/fesm2022/form-textarea.mjs +19 -10
  100. package/form-textarea/types/form-textarea.d.ts +18 -1
  101. package/form-toggle/README.md +186 -0
  102. package/form-toggle/fesm2022/form-toggle.mjs +159 -0
  103. package/form-toggle/package.json +24 -0
  104. package/form-toggle/types/form-toggle.d.ts +82 -0
  105. package/form-toggle-group/README.md +176 -0
  106. package/form-toggle-group/fesm2022/form-toggle-group.mjs +116 -0
  107. package/form-toggle-group/package.json +24 -0
  108. package/form-toggle-group/types/form-toggle-group.d.ts +65 -0
  109. package/hover-card/README.md +256 -5
  110. package/icon/README.md +239 -2
  111. package/input/README.md +269 -2
  112. package/input-group/README.md +335 -5
  113. package/input-group/fesm2022/input-group.mjs +22 -12
  114. package/input-group/types/input-group.d.ts +4 -1
  115. package/input-otp/README.md +375 -5
  116. package/item/README.md +385 -5
  117. package/item/fesm2022/item.mjs +3 -3
  118. package/kbd/README.md +291 -5
  119. package/label/README.md +272 -2
  120. package/layout-simple/README.md +193 -2
  121. package/layout-simple/fesm2022/layout-simple.mjs +472 -236
  122. package/layout-simple/types/layout-simple.d.ts +174 -137
  123. package/menu/README.md +417 -2
  124. package/menubar/README.md +343 -5
  125. package/native-select/README.md +323 -5
  126. package/native-select/fesm2022/native-select.mjs +18 -6
  127. package/native-select/types/native-select.d.ts +7 -2
  128. package/navigation-menu/README.md +369 -5
  129. package/package.json +57 -1
  130. package/pagination/README.md +388 -5
  131. package/phone-input/README.md +114 -0
  132. package/phone-input/fesm2022/phone-input.mjs +191 -0
  133. package/phone-input/package.json +24 -0
  134. package/phone-input/types/phone-input.d.ts +67 -0
  135. package/popover/README.md +331 -2
  136. package/progress/README.md +311 -5
  137. package/radio-group/README.md +364 -2
  138. package/radio-group/fesm2022/radio-group.mjs +5 -1
  139. package/resizable/README.md +269 -5
  140. package/scroll-area/README.md +233 -5
  141. package/searchable-multiselect/README.md +323 -2
  142. package/select/README.md +437 -2
  143. package/separator/README.md +222 -2
  144. package/sheet/README.md +311 -2
  145. package/sidebar/README.md +457 -5
  146. package/skeleton/README.md +217 -5
  147. package/slider/README.md +273 -5
  148. package/slider/fesm2022/slider.mjs +3 -3
  149. package/sonner/README.md +346 -2
  150. package/spinner/README.md +284 -2
  151. package/switch/README.md +310 -2
  152. package/switch/fesm2022/switch.mjs +7 -5
  153. package/switch/types/switch.d.ts +2 -1
  154. package/table/README.md +423 -5
  155. package/tabs/README.md +411 -2
  156. package/tabs/fesm2022/tabs.mjs +2 -2
  157. package/textarea/README.md +282 -5
  158. package/toggle/README.md +270 -5
  159. package/toggle-group/README.md +340 -5
  160. package/tooltip/README.md +269 -2
  161. package/typography/README.md +271 -5
  162. package/utils/README.md +303 -2
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "form-input-otp",
3
+ "version": "0.0.1",
4
+ "peerDependencies": {
5
+ "@angular/common": "^20.3.0 || ^22.0.0",
6
+ "@angular/core": "^20.3.0 || ^22.0.0"
7
+ },
8
+ "dependencies": {
9
+ "tslib": "^2.3.0"
10
+ },
11
+ "sideEffects": false,
12
+ "module": "fesm2022/form-input-otp.mjs",
13
+ "typings": "types/form-input-otp.d.ts",
14
+ "exports": {
15
+ "./package.json": {
16
+ "default": "./package.json"
17
+ },
18
+ ".": {
19
+ "types": "./types/form-input-otp.d.ts",
20
+ "default": "./fesm2022/form-input-otp.mjs"
21
+ }
22
+ },
23
+ "type": "module"
24
+ }
@@ -0,0 +1,58 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { ValueProvider } from '@angular/core';
3
+ import { ClassValue } from 'clsx';
4
+ import { NumberInput } from '@angular/cdk/coercion';
5
+
6
+ declare class EgFormInputOtp {
7
+ private readonly formGroupDirective;
8
+ private readonly generatedId;
9
+ private readonly _config;
10
+ label: _angular_core.InputSignal<string | undefined>;
11
+ controlId: _angular_core.InputSignal<string | undefined>;
12
+ controlName: _angular_core.InputSignal<string>;
13
+ error: _angular_core.InputSignal<string | undefined>;
14
+ hint: _angular_core.InputSignal<string | undefined>;
15
+ id: _angular_core.InputSignal<string | undefined>;
16
+ length: _angular_core.InputSignalWithTransform<number, NumberInput>;
17
+ disabled: _angular_core.InputSignal<boolean>;
18
+ required: _angular_core.InputSignal<boolean>;
19
+ readonly effectiveId: _angular_core.Signal<string>;
20
+ readonly errorId: _angular_core.Signal<string>;
21
+ readonly hintId: _angular_core.Signal<string>;
22
+ readonly slotIndexes: _angular_core.Signal<number[]>;
23
+ /**
24
+ * Combined lock for the brain `linkedSignal`-based disabled state: the raw
25
+ * input write always carries the resolved value, so a same-pass
26
+ * wrapper-toggle + `control.disable()` cannot clobber CVA state.
27
+ */
28
+ effectiveDisabled(): boolean;
29
+ userClass: _angular_core.InputSignal<ClassValue>;
30
+ labelClass: _angular_core.InputSignal<string>;
31
+ otpClass: _angular_core.InputSignal<string>;
32
+ errorClass: _angular_core.InputSignal<string>;
33
+ hintClass: _angular_core.InputSignal<string>;
34
+ $userClass: _angular_core.Signal<string>;
35
+ $labelClass: _angular_core.Signal<string>;
36
+ $otpClass: _angular_core.Signal<string>;
37
+ $errorClass: _angular_core.Signal<string>;
38
+ $hintClass: _angular_core.Signal<string>;
39
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<EgFormInputOtp, never>;
40
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<EgFormInputOtp, "eg-form-input-otp", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "controlId": { "alias": "controlId"; "required": false; "isSignal": true; }; "controlName": { "alias": "controlName"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "length": { "alias": "length"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "labelClass": { "alias": "labelClass"; "required": false; "isSignal": true; }; "otpClass": { "alias": "otpClass"; "required": false; "isSignal": true; }; "errorClass": { "alias": "errorClass"; "required": false; "isSignal": true; }; "hintClass": { "alias": "hintClass"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
41
+ }
42
+
43
+ interface EgFormInputOtpConfig {
44
+ /**
45
+ * Global class defaults for `eg-form-input-otp` styling slots.
46
+ * Each is merged under the matching per-instance `*Class` input
47
+ * (library base < global config < per-instance).
48
+ */
49
+ labelClass?: string;
50
+ otpClass?: string;
51
+ errorClass?: string;
52
+ hintClass?: string;
53
+ }
54
+ declare function provideEgFormInputOtpConfig(config: Partial<EgFormInputOtpConfig>): ValueProvider;
55
+ declare function injectEgFormInputOtpConfig(): EgFormInputOtpConfig;
56
+
57
+ export { EgFormInputOtp, injectEgFormInputOtpConfig, provideEgFormInputOtpConfig };
58
+ export type { EgFormInputOtpConfig };
@@ -0,0 +1,188 @@
1
+ # Form Month Year Picker (`@egose/shadcn-theme-ng/form-month-year-picker`)
2
+
3
+ A ready-made reactive-form month/year field: label + `hlm-month-year-picker` + validation error/hint display in one tag. Dates default to the `MM/YYYY` display/edit format.
4
+
5
+ The Angular implementation is a standalone wrapper (not a brain primitive): it renders
6
+ `HlmFormField` / `HlmError` / `HlmHint` from `@egose/shadcn-theme-ng/form-field`, `HlmLabel`, and
7
+ `HlmMonthYearPicker` + `HlmMonthYearInput` from `@egose/shadcn-theme-ng/date-picker`. The inner
8
+ picker is bound with `[formControlName]="controlName()"`, so the parent `FormGroup` owns the
9
+ `Date | null` value. It must live inside a `FormGroupDirective` (`[formGroup]` parent); ids come from
10
+ `HlmFormIdGenerator` unless overridden.
11
+
12
+ > **Ships as:** `@egose/shadcn-theme-ng/form-month-year-picker` and `@egose/shadcn-theme-ng-tw/form-month-year-picker`
13
+ > (the `tw:`-prefixed Tailwind variant). Both expose the identical TypeScript surface; only the
14
+ > emitted Tailwind class strings differ. See the [package README](../../README.md) for install
15
+ > steps, peer dependencies, and Tailwind setup. Do not publish this project directory independently.
16
+
17
+ ## Installation
18
+
19
+ ```bash
20
+ # Plain Tailwind (no prefix)
21
+ npm install @egose/shadcn-theme-ng
22
+
23
+ # tw:-prefixed Tailwind variant
24
+ npm install @egose/shadcn-theme-ng-tw
25
+ ```
26
+
27
+ Peer dependencies (Angular, `@spartan-ng/brain`, `@ng-icons/*`, `rxjs`, …) are documented in the
28
+ [package README](../../README.md#peer-dependencies). This subpath additionally relies at runtime on
29
+ `@egose/shadcn-theme-ng/date-picker`, `@egose/shadcn-theme-ng/form-field`, and
30
+ `@egose/shadcn-theme-ng/label`.
31
+
32
+ ## Imports
33
+
34
+ Exported from the subpath root (`projects/form-month-year-picker/src/public-api.ts`):
35
+
36
+ ```ts
37
+ import { EgFormMonthYearPicker } from '@egose/shadcn-theme-ng/form-month-year-picker';
38
+ // tw variant: replace with '@egose/shadcn-theme-ng-tw/form-month-year-picker'
39
+ ```
40
+
41
+ `ControlValueAccessor` behavior: `eg-form-month-year-picker` itself is not a `ControlValueAccessor`;
42
+ the inner `hlm-month-year-picker` is (bound via `formControlName`), so `formControlName`/`formGroup`
43
+ handling, `Validators`, and `disabled` state from the control all flow through the parent form.
44
+
45
+ ## Anatomy / Structure
46
+
47
+ ```html
48
+ <form [formGroup]="form">
49
+ <eg-form-month-year-picker
50
+ controlName="start"
51
+ label="Start month"
52
+ [required]="true"
53
+ error="Start month is required."
54
+ />
55
+ </form>
56
+ ```
57
+
58
+ Selector (from source): `eg-form-month-year-picker` (standalone component, host `tw:w-full`).
59
+
60
+ ## API reference
61
+
62
+ ### `EgFormMonthYearPicker` — `eg-form-month-year-picker`
63
+
64
+ | Input | Type | Default | Description |
65
+ | ------------------- | --------------------------------- | -------------- | ------------------------------------------------------------------------------------------- |
66
+ | `controlName` | `string` | `''` | `formControlName` key inside the parent `FormGroup`. **Required.** |
67
+ | `label` | `string \| undefined` | — | Label text (hidden when omitted). |
68
+ | `error` | `string \| undefined` | — | Error text shown when invalid. |
69
+ | `hint` | `string \| undefined` | — | Hint text shown otherwise. |
70
+ | `controlId` | `string \| undefined` | — | Explicit id (first priority for `effectiveId`). |
71
+ | `id` | `string \| undefined` | — | Fallback id (second priority). |
72
+ | `name` | `string \| undefined` | — | Native `name` forwarded to the inner input (`controlName` wins). |
73
+ | `placeholder` | `string` | `'MM/YYYY'` | Input placeholder. |
74
+ | `readonly` | `boolean` | `false` | Native `readonly` forwarded to the inner input. |
75
+ | `disabled` | `boolean` | `false` | Locks interaction (form control stays enabled). |
76
+ | `required` | `boolean` | `false` | Shows a red `*` next to the label. |
77
+ | `min` / `max` | `Date \| string \| null` | `null` | Date bounds forwarded to the picker. |
78
+ | `autoCloseOnSelect` | `boolean` | config default | Forwarded to the picker (falls back to `provideHlmMonthYearPickerConfig`, default `false`). |
79
+ | `formatDate` | `(date: Date) => string` | config default | Display format (falls back to `provideHlmMonthYearPickerConfig`, default `MM/YYYY`). |
80
+ | `transformDate` | `(date: Date) => Date` | config default | Model transform (falls back to `provideHlmMonthYearPickerConfig`). |
81
+ | `parseDate` | `(value: string) => Date \| null` | config default | Input parsing, forwarded to the input (falls back to `provideHlmMonthYearPickerConfig`). |
82
+ | `formatInputDate` | `(date: Date) => string` | config default | Edit format while focused (falls back to `provideHlmMonthYearPickerConfig`). |
83
+ | `class` | `ClassValue` | `''` | Extra host classes (base `tw:w-full`). |
84
+ | `labelClass` | `string` | `''` | Extra label classes (base `tw:mb-1`). |
85
+ | `pickerClass` | `string` | `''` | Extra picker-container classes (base `tw:mb-1`). |
86
+ | `inputClass` | `string` | `''` | Extra inner-input classes (e.g. `tw:text-lg`). |
87
+ | `errorClass` | `string` | `''` | Extra error classes (base `tw:mt-0`). |
88
+ | `hintClass` | `string` | `''` | Extra hint classes (base `tw:mt-0`). |
89
+
90
+ | Member | Description |
91
+ | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
92
+ | `effectiveId` | `controlId() \|\| id() \|\| generated` — wired to input `inputId` and label `for`. |
93
+ | `errorId` / `hintId` | `effectiveId + '-error' / '-hint'`. |
94
+ | `describedBy()` | `errorId` when `error()` is set and control is invalid + dirty/touched, else `hintId` when `hint()` is set, else `null` — wired to input `ariaDescribedby`. |
95
+
96
+ Requires a `[formGroup]` ancestor (injects `FormGroupDirective`, provides `ControlContainer → FormGroupDirective`).
97
+
98
+ ## Examples
99
+
100
+ ### 1. Basic required month field
101
+
102
+ ```ts
103
+ import { Component, inject } from '@angular/core';
104
+ import { FormBuilder, ReactiveFormsModule, Validators } from '@angular/forms';
105
+ import { EgFormMonthYearPicker } from '@egose/shadcn-theme-ng/form-month-year-picker';
106
+
107
+ @Component({
108
+ selector: 'app-start',
109
+ standalone: true,
110
+ imports: [ReactiveFormsModule, EgFormMonthYearPicker],
111
+ template: `
112
+ <form [formGroup]="form" (ngSubmit)="submit()">
113
+ <eg-form-month-year-picker
114
+ controlName="start"
115
+ label="Start month"
116
+ [required]="true"
117
+ error="Start month is required."
118
+ />
119
+ <button type="submit" [disabled]="form.invalid">Continue</button>
120
+ </form>
121
+ `,
122
+ })
123
+ export class StartComponent {
124
+ private readonly fb = inject(FormBuilder);
125
+ readonly form = this.fb.group({ start: [null as Date | null, Validators.required] });
126
+ submit() {
127
+ console.log(this.form.value.start);
128
+ }
129
+ }
130
+ ```
131
+
132
+ ### 2. Card expiry with hint
133
+
134
+ ```ts
135
+ import { Component, inject } from '@angular/core';
136
+ import { FormBuilder, ReactiveFormsModule } from '@angular/forms';
137
+ import { EgFormMonthYearPicker } from '@egose/shadcn-theme-ng/form-month-year-picker';
138
+
139
+ @Component({
140
+ selector: 'app-expiry',
141
+ standalone: true,
142
+ imports: [ReactiveFormsModule, EgFormMonthYearPicker],
143
+ template: `
144
+ <form [formGroup]="form">
145
+ <eg-form-month-year-picker
146
+ controlName="expiry"
147
+ label="Expiry"
148
+ [min]="today"
149
+ hint="As printed on the card."
150
+ error="Enter a valid future month."
151
+ />
152
+ </form>
153
+ `,
154
+ })
155
+ export class ExpiryComponent {
156
+ private readonly fb = inject(FormBuilder);
157
+ readonly form = this.fb.group({ expiry: [null as Date | null] });
158
+ readonly today = new Date();
159
+ }
160
+ ```
161
+
162
+ ## Accessibility notes
163
+
164
+ - Label `for` ↔ input `inputId` wiring is automatic via `effectiveId`; the input also receives `ariaLabel` and `ariaDescribedby` — always pass a `label`.
165
+ - Closing the picker popover marks the control touched, so errors appear after interaction even without typing.
166
+ - The required `*` is visual; pair with `Validators.required` so assistive tech and validation agree.
167
+
168
+ ## Theming / CSS variables
169
+
170
+ No component-specific CSS variables. Style per-instance via `class` / `labelClass` / `pickerClass` / `inputClass` / `errorClass` / `hintClass` (precedence: library base < global config < per-instance).
171
+
172
+ Global defaults via the month-year picker config:
173
+
174
+ ```ts
175
+ import { provideHlmMonthYearPickerConfig } from '@egose/shadcn-theme-ng/date-picker';
176
+
177
+ await bootstrapApplication(App, {
178
+ providers: [provideHlmMonthYearPickerConfig({ inputClass: 'tw:text-sm', labelClass: 'tw:font-medium' })],
179
+ });
180
+ ```
181
+
182
+ The host keeps `tw:w-full`; constrain width with `class` or a wrapping container.
183
+
184
+ ## Related subpaths
185
+
186
+ - `@egose/shadcn-theme-ng/date-picker` — raw `hlm-month-year-picker` + input/trigger/config tokens for custom layouts.
187
+ - `@egose/shadcn-theme-ng/form-date-picker` — the full-date counterpart (`eg-form-date-picker`).
188
+ - `@egose/shadcn-theme-ng/form-field` — `hlm-form-field` / `hlm-error` / `hlm-hint` used internally.
@@ -0,0 +1,125 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, input, computed, Component } from '@angular/core';
3
+ import * as i1 from '@angular/forms';
4
+ import { FormGroupDirective, ReactiveFormsModule, ControlContainer } from '@angular/forms';
5
+ import { HlmFormIdGenerator, HlmFormField, HlmError, HlmHint } from '@egose/shadcn-theme-ng/form-field';
6
+ import { HlmLabel } from '@egose/shadcn-theme-ng/label';
7
+ import { injectHlmMonthYearPickerConfig, HlmMonthYearPicker, HlmMonthYearInput } from '@egose/shadcn-theme-ng/date-picker';
8
+ import { hlm } from '@egose/shadcn-theme-ng/utils';
9
+
10
+ class EgFormMonthYearPicker {
11
+ formGroupDirective = inject(FormGroupDirective);
12
+ generatedId = inject(HlmFormIdGenerator).generate('eg-form-month-year-picker');
13
+ _config = injectHlmMonthYearPickerConfig();
14
+ label = input(undefined, /* @ts-ignore */
15
+ ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
16
+ controlId = input(undefined, /* @ts-ignore */
17
+ ...(ngDevMode ? [{ debugName: "controlId" }] : /* istanbul ignore next */ []));
18
+ controlName = input('', /* @ts-ignore */
19
+ ...(ngDevMode ? [{ debugName: "controlName" }] : /* istanbul ignore next */ []));
20
+ error = input(undefined, /* @ts-ignore */
21
+ ...(ngDevMode ? [{ debugName: "error" }] : /* istanbul ignore next */ []));
22
+ hint = input(undefined, /* @ts-ignore */
23
+ ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
24
+ id = input(undefined, /* @ts-ignore */
25
+ ...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
26
+ name = input(undefined, /* @ts-ignore */
27
+ ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
28
+ placeholder = input('MM/YYYY', /* @ts-ignore */
29
+ ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
30
+ readonly = input(false, /* @ts-ignore */
31
+ ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
32
+ disabled = input(false, /* @ts-ignore */
33
+ ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
34
+ required = input(false, /* @ts-ignore */
35
+ ...(ngDevMode ? [{ debugName: "required" }] : /* istanbul ignore next */ []));
36
+ min = input(null, /* @ts-ignore */
37
+ ...(ngDevMode ? [{ debugName: "min" }] : /* istanbul ignore next */ []));
38
+ max = input(null, /* @ts-ignore */
39
+ ...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
40
+ // Picker behavior (defaults fall back to the injected HlmMonthYearPickerConfig)
41
+ autoCloseOnSelect = input(this._config.autoCloseOnSelect, /* @ts-ignore */
42
+ ...(ngDevMode ? [{ debugName: "autoCloseOnSelect" }] : /* istanbul ignore next */ []));
43
+ formatDate = input(this._config.formatDate, /* @ts-ignore */
44
+ ...(ngDevMode ? [{ debugName: "formatDate" }] : /* istanbul ignore next */ []));
45
+ transformDate = input(this._config.transformDate, /* @ts-ignore */
46
+ ...(ngDevMode ? [{ debugName: "transformDate" }] : /* istanbul ignore next */ []));
47
+ parseDate = input(this._config.parseDate, /* @ts-ignore */
48
+ ...(ngDevMode ? [{ debugName: "parseDate" }] : /* istanbul ignore next */ []));
49
+ formatInputDate = input(this._config.formatInputDate, /* @ts-ignore */
50
+ ...(ngDevMode ? [{ debugName: "formatInputDate" }] : /* istanbul ignore next */ []));
51
+ effectiveId = computed(() => this.controlId() || this.id() || this.generatedId, /* @ts-ignore */
52
+ ...(ngDevMode ? [{ debugName: "effectiveId" }] : /* istanbul ignore next */ []));
53
+ errorId = computed(() => `${this.effectiveId()}-error`, /* @ts-ignore */
54
+ ...(ngDevMode ? [{ debugName: "errorId" }] : /* istanbul ignore next */ []));
55
+ hintId = computed(() => `${this.effectiveId()}-hint`, /* @ts-ignore */
56
+ ...(ngDevMode ? [{ debugName: "hintId" }] : /* istanbul ignore next */ []));
57
+ /**
58
+ * Bounds projected onto the picker's `Date` model. The cast keeps the
59
+ * template's generic inference on `Date` while passing runtime values
60
+ * through untouched.
61
+ */
62
+ $min = computed(() => this.min(), /* @ts-ignore */
63
+ ...(ngDevMode ? [{ debugName: "$min" }] : /* istanbul ignore next */ []));
64
+ $max = computed(() => this.max(), /* @ts-ignore */
65
+ ...(ngDevMode ? [{ debugName: "$max" }] : /* istanbul ignore next */ []));
66
+ describedBy() {
67
+ const control = this.formGroupDirective.form.get(this.controlName());
68
+ return this.error() && control?.invalid && (control.dirty || control.touched)
69
+ ? this.errorId()
70
+ : this.hint()
71
+ ? this.hintId()
72
+ : null;
73
+ }
74
+ // Styling
75
+ userClass = input('', { ...(ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {}), alias: 'class' });
76
+ labelClass = input('', /* @ts-ignore */
77
+ ...(ngDevMode ? [{ debugName: "labelClass" }] : /* istanbul ignore next */ []));
78
+ pickerClass = input('', /* @ts-ignore */
79
+ ...(ngDevMode ? [{ debugName: "pickerClass" }] : /* istanbul ignore next */ []));
80
+ inputClass = input('', /* @ts-ignore */
81
+ ...(ngDevMode ? [{ debugName: "inputClass" }] : /* istanbul ignore next */ []));
82
+ errorClass = input('', /* @ts-ignore */
83
+ ...(ngDevMode ? [{ debugName: "errorClass" }] : /* istanbul ignore next */ []));
84
+ hintClass = input('', /* @ts-ignore */
85
+ ...(ngDevMode ? [{ debugName: "hintClass" }] : /* istanbul ignore next */ []));
86
+ // Computed classes (library base < global config < per-instance)
87
+ $userClass = computed(() => hlm("w-full", this.userClass()), /* @ts-ignore */
88
+ ...(ngDevMode ? [{ debugName: "$userClass" }] : /* istanbul ignore next */ []));
89
+ $labelClass = computed(() => hlm("mb-1", this._config.labelClass, this.labelClass()), /* @ts-ignore */
90
+ ...(ngDevMode ? [{ debugName: "$labelClass" }] : /* istanbul ignore next */ []));
91
+ $pickerClass = computed(() => hlm("mb-1", this._config.pickerClass, this.pickerClass()), /* @ts-ignore */
92
+ ...(ngDevMode ? [{ debugName: "$pickerClass" }] : /* istanbul ignore next */ []));
93
+ $inputClass = computed(() => hlm(this._config.inputClass, this.inputClass()), /* @ts-ignore */
94
+ ...(ngDevMode ? [{ debugName: "$inputClass" }] : /* istanbul ignore next */ []));
95
+ $errorClass = computed(() => hlm("mt-0", this._config.errorClass, this.errorClass()), /* @ts-ignore */
96
+ ...(ngDevMode ? [{ debugName: "$errorClass" }] : /* istanbul ignore next */ []));
97
+ $hintClass = computed(() => hlm("mt-0", this._config.hintClass, this.hintClass()), /* @ts-ignore */
98
+ ...(ngDevMode ? [{ debugName: "$hintClass" }] : /* istanbul ignore next */ []));
99
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: EgFormMonthYearPicker, deps: [], target: i0.ɵɵFactoryTarget.Component });
100
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: EgFormMonthYearPicker, isStandalone: true, selector: "eg-form-month-year-picker", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, controlId: { classPropertyName: "controlId", publicName: "controlId", isSignal: true, isRequired: false, transformFunction: null }, controlName: { classPropertyName: "controlName", publicName: "controlName", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, autoCloseOnSelect: { classPropertyName: "autoCloseOnSelect", publicName: "autoCloseOnSelect", isSignal: true, isRequired: false, transformFunction: null }, formatDate: { classPropertyName: "formatDate", publicName: "formatDate", isSignal: true, isRequired: false, transformFunction: null }, transformDate: { classPropertyName: "transformDate", publicName: "transformDate", isSignal: true, isRequired: false, transformFunction: null }, parseDate: { classPropertyName: "parseDate", publicName: "parseDate", isSignal: true, isRequired: false, transformFunction: null }, formatInputDate: { classPropertyName: "formatInputDate", publicName: "formatInputDate", isSignal: true, isRequired: false, transformFunction: null }, userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, labelClass: { classPropertyName: "labelClass", publicName: "labelClass", isSignal: true, isRequired: false, transformFunction: null }, pickerClass: { classPropertyName: "pickerClass", publicName: "pickerClass", isSignal: true, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: true, isRequired: false, transformFunction: null }, errorClass: { classPropertyName: "errorClass", publicName: "errorClass", isSignal: true, isRequired: false, transformFunction: null }, hintClass: { classPropertyName: "hintClass", publicName: "hintClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "$userClass()" } }, providers: [{ provide: ControlContainer, useExisting: FormGroupDirective }], ngImport: i0, template: "\n @let lbl = label();\n @let cnm = controlName();\n @let err = error();\n @let hnt = hint();\n @let rqrd = required();\n\n <hlm-form-field>\n @if (lbl) {\n <label hlmLabel [for]=\"effectiveId()\" [class]=\"$labelClass()\"\n >{{ lbl }}\n @if (rqrd) {\n <span class=\"text-red-500\">*</span>\n }\n </label>\n }\n\n <hlm-month-year-picker\n [min]=\"$min()\"\n [max]=\"$max()\"\n [disabled]=\"disabled()\"\n [autoCloseOnSelect]=\"autoCloseOnSelect()\"\n [formatDate]=\"formatDate()\"\n [transformDate]=\"transformDate()\"\n [formControlName]=\"cnm\"\n [class]=\"$pickerClass()\"\n >\n <hlm-month-year-input\n [inputId]=\"effectiveId()\"\n [name]=\"cnm || name()\"\n [readonly]=\"readonly()\"\n [ariaLabel]=\"lbl\"\n [ariaDescribedby]=\"describedBy()\"\n [placeholder]=\"placeholder()\"\n [parseDate]=\"parseDate()\"\n [formatInputDate]=\"formatInputDate()\"\n [inputClass]=\"$inputClass()\"\n />\n </hlm-month-year-picker>\n\n @if (err) {\n <hlm-error [id]=\"errorId()\" [class]=\"$errorClass()\">\n {{ err }}\n </hlm-error>\n }\n\n @if (hnt) {\n <hlm-hint [id]=\"hintId()\" [class]=\"$hintClass()\">\n {{ hnt }}\n </hlm-hint>\n }\n </hlm-form-field>\n ", isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: HlmFormField, selector: "hlm-form-field", inputs: ["class"] }, { kind: "directive", type: HlmError, selector: "hlm-error", inputs: ["class"] }, { kind: "directive", type: HlmHint, selector: "hlm-hint", inputs: ["class"] }, { kind: "directive", type: HlmLabel, selector: "[hlmLabel]", inputs: ["class"] }, { kind: "component", type: HlmMonthYearPicker, selector: "hlm-month-year-picker", inputs: ["min", "max", "disabled", "date", "defaultFocusedDate", "autoCloseOnSelect", "formatDate", "transformDate"], outputs: ["dateChange"] }, { kind: "component", type: HlmMonthYearInput, selector: "hlm-month-year-input", inputs: ["name", "readonly", "ariaLabel", "ariaDescribedby", "class", "inputClass", "parseDate", "formatInputDate"] }] });
101
+ }
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: EgFormMonthYearPicker, decorators: [{
103
+ type: Component,
104
+ args: [{
105
+ selector: 'eg-form-month-year-picker',
106
+ standalone: true,
107
+ host: {
108
+ '[class]': '$userClass()',
109
+ },
110
+ imports: [ReactiveFormsModule, HlmFormField, HlmError, HlmHint, HlmLabel, HlmMonthYearPicker, HlmMonthYearInput],
111
+ providers: [{ provide: ControlContainer, useExisting: FormGroupDirective }],
112
+ template: "\n @let lbl = label();\n @let cnm = controlName();\n @let err = error();\n @let hnt = hint();\n @let rqrd = required();\n\n <hlm-form-field>\n @if (lbl) {\n <label hlmLabel [for]=\"effectiveId()\" [class]=\"$labelClass()\"\n >{{ lbl }}\n @if (rqrd) {\n <span class=\"text-red-500\">*</span>\n }\n </label>\n }\n\n <hlm-month-year-picker\n [min]=\"$min()\"\n [max]=\"$max()\"\n [disabled]=\"disabled()\"\n [autoCloseOnSelect]=\"autoCloseOnSelect()\"\n [formatDate]=\"formatDate()\"\n [transformDate]=\"transformDate()\"\n [formControlName]=\"cnm\"\n [class]=\"$pickerClass()\"\n >\n <hlm-month-year-input\n [inputId]=\"effectiveId()\"\n [name]=\"cnm || name()\"\n [readonly]=\"readonly()\"\n [ariaLabel]=\"lbl\"\n [ariaDescribedby]=\"describedBy()\"\n [placeholder]=\"placeholder()\"\n [parseDate]=\"parseDate()\"\n [formatInputDate]=\"formatInputDate()\"\n [inputClass]=\"$inputClass()\"\n />\n </hlm-month-year-picker>\n\n @if (err) {\n <hlm-error [id]=\"errorId()\" [class]=\"$errorClass()\">\n {{ err }}\n </hlm-error>\n }\n\n @if (hnt) {\n <hlm-hint [id]=\"hintId()\" [class]=\"$hintClass()\">\n {{ hnt }}\n </hlm-hint>\n }\n </hlm-form-field>\n ",
113
+ }]
114
+ }], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], controlId: [{ type: i0.Input, args: [{ isSignal: true, alias: "controlId", required: false }] }], controlName: [{ type: i0.Input, args: [{ isSignal: true, alias: "controlName", required: false }] }], error: [{ type: i0.Input, args: [{ isSignal: true, alias: "error", required: false }] }], hint: [{ type: i0.Input, args: [{ isSignal: true, alias: "hint", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], autoCloseOnSelect: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoCloseOnSelect", required: false }] }], formatDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "formatDate", required: false }] }], transformDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "transformDate", required: false }] }], parseDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "parseDate", required: false }] }], formatInputDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "formatInputDate", required: false }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], labelClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelClass", required: false }] }], pickerClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "pickerClass", required: false }] }], inputClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputClass", required: false }] }], errorClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "errorClass", required: false }] }], hintClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "hintClass", required: false }] }] } });
115
+
116
+ /*
117
+ * Public API Surface of form-month-year-picker
118
+ */
119
+
120
+ /**
121
+ * Generated bundle index. Do not edit.
122
+ */
123
+
124
+ export { EgFormMonthYearPicker };
125
+
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "form-month-year-picker",
3
+ "version": "0.0.1",
4
+ "peerDependencies": {
5
+ "@angular/common": "^20.3.0 || ^22.0.0",
6
+ "@angular/core": "^20.3.0 || ^22.0.0"
7
+ },
8
+ "dependencies": {
9
+ "tslib": "^2.3.0"
10
+ },
11
+ "sideEffects": false,
12
+ "module": "fesm2022/form-month-year-picker.mjs",
13
+ "typings": "types/form-month-year-picker.d.ts",
14
+ "exports": {
15
+ "./package.json": {
16
+ "default": "./package.json"
17
+ },
18
+ ".": {
19
+ "types": "./types/form-month-year-picker.d.ts",
20
+ "default": "./fesm2022/form-month-year-picker.mjs"
21
+ }
22
+ },
23
+ "type": "module"
24
+ }
@@ -0,0 +1,53 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { ClassValue } from 'clsx';
3
+
4
+ declare class EgFormMonthYearPicker {
5
+ private readonly formGroupDirective;
6
+ private readonly generatedId;
7
+ private readonly _config;
8
+ label: _angular_core.InputSignal<string | undefined>;
9
+ controlId: _angular_core.InputSignal<string | undefined>;
10
+ controlName: _angular_core.InputSignal<string>;
11
+ error: _angular_core.InputSignal<string | undefined>;
12
+ hint: _angular_core.InputSignal<string | undefined>;
13
+ id: _angular_core.InputSignal<string | undefined>;
14
+ name: _angular_core.InputSignal<string | undefined>;
15
+ placeholder: _angular_core.InputSignal<string>;
16
+ readonly: _angular_core.InputSignal<boolean>;
17
+ disabled: _angular_core.InputSignal<boolean>;
18
+ required: _angular_core.InputSignal<boolean>;
19
+ min: _angular_core.InputSignal<string | Date | null>;
20
+ max: _angular_core.InputSignal<string | Date | null>;
21
+ autoCloseOnSelect: _angular_core.InputSignal<boolean>;
22
+ formatDate: _angular_core.InputSignal<(date: Date) => string>;
23
+ transformDate: _angular_core.InputSignal<(date: Date) => Date>;
24
+ parseDate: _angular_core.InputSignal<(value: string) => Date | null>;
25
+ formatInputDate: _angular_core.InputSignal<(date: Date) => string>;
26
+ readonly effectiveId: _angular_core.Signal<string>;
27
+ readonly errorId: _angular_core.Signal<string>;
28
+ readonly hintId: _angular_core.Signal<string>;
29
+ /**
30
+ * Bounds projected onto the picker's `Date` model. The cast keeps the
31
+ * template's generic inference on `Date` while passing runtime values
32
+ * through untouched.
33
+ */
34
+ protected readonly $min: _angular_core.Signal<Date | undefined>;
35
+ protected readonly $max: _angular_core.Signal<Date | undefined>;
36
+ describedBy(): string | null;
37
+ userClass: _angular_core.InputSignal<ClassValue>;
38
+ labelClass: _angular_core.InputSignal<string>;
39
+ pickerClass: _angular_core.InputSignal<string>;
40
+ inputClass: _angular_core.InputSignal<string>;
41
+ errorClass: _angular_core.InputSignal<string>;
42
+ hintClass: _angular_core.InputSignal<string>;
43
+ $userClass: _angular_core.Signal<string>;
44
+ $labelClass: _angular_core.Signal<string>;
45
+ $pickerClass: _angular_core.Signal<string>;
46
+ $inputClass: _angular_core.Signal<string>;
47
+ $errorClass: _angular_core.Signal<string>;
48
+ $hintClass: _angular_core.Signal<string>;
49
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<EgFormMonthYearPicker, never>;
50
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<EgFormMonthYearPicker, "eg-form-month-year-picker", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "controlId": { "alias": "controlId"; "required": false; "isSignal": true; }; "controlName": { "alias": "controlName"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "autoCloseOnSelect": { "alias": "autoCloseOnSelect"; "required": false; "isSignal": true; }; "formatDate": { "alias": "formatDate"; "required": false; "isSignal": true; }; "transformDate": { "alias": "transformDate"; "required": false; "isSignal": true; }; "parseDate": { "alias": "parseDate"; "required": false; "isSignal": true; }; "formatInputDate": { "alias": "formatInputDate"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "labelClass": { "alias": "labelClass"; "required": false; "isSignal": true; }; "pickerClass": { "alias": "pickerClass"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; "errorClass": { "alias": "errorClass"; "required": false; "isSignal": true; }; "hintClass": { "alias": "hintClass"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
51
+ }
52
+
53
+ export { EgFormMonthYearPicker };