@pleione-lab/widgets 1.0.10 → 1.0.14

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.
@@ -1,23 +1,22 @@
1
1
  import * as i0 from '@angular/core';
2
- import { output, effect, ChangeDetectionStrategy, Component, input, inject, DestroyRef, signal, computed, TemplateRef, ElementRef, ViewChild, PLATFORM_ID, Injector } from '@angular/core';
2
+ import { output, effect, ChangeDetectionStrategy, Component, input, inject, DestroyRef, signal, computed, TemplateRef, ElementRef, ViewChild, PLATFORM_ID } from '@angular/core';
3
3
  import { toSignal, takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
4
  import * as i1 from '@angular/forms';
5
5
  import { FormControl, Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
6
6
  import * as i3 from '@taiga-ui/core';
7
- import { TuiTextfieldComponent, TuiIcon, TuiInput, TuiLabel, TuiButton, TuiError, TuiLoader, TuiFilterByInputPipe, TuiHint, tuiValidationErrorsProvider, TuiCalendar, TuiNotification, TuiDialogService } from '@taiga-ui/core';
7
+ import { TuiTextfieldComponent, TuiIcon, TuiInput, TuiLabel, TuiButton, TuiError, TuiLoader, TuiFilterByInputPipe, TuiHint, tuiValidationErrorsProvider, TuiCalendar, TuiNotification } from '@taiga-ui/core';
8
8
  import * as i2 from '@taiga-ui/core/components/label';
9
9
  import * as i2$1 from '@taiga-ui/kit';
10
- import { TuiChevron, TuiTooltip, TuiDataListWrapper, TuiSelect, TuiDataListWrapperComponent, TuiComboBox, TuiInputNumber, TuiTextarea, TuiCopy, TuiInputPhone, TuiPassword, TuiInputDateTime, TuiInputDateRange, TuiCalendarRange } from '@taiga-ui/kit';
10
+ import { TuiChevron, TuiTooltip, TuiDataListWrapper, TuiSelect, TuiDataListWrapperComponent, TuiComboBox, TuiInputNumber, TuiTextarea, TuiCopy, TuiInputPhone, TuiPassword, TuiInputDateTime, TuiInputDateRange, TuiCalendarRange, tuiInputDateTimeOptionsProvider } from '@taiga-ui/kit';
11
11
  import * as i3$1 from '@taiga-ui/core/components/textfield';
12
12
  import * as i4 from '@taiga-ui/core/portals/dropdown';
13
13
  import { Subject, filter, debounceTime, tap, switchMap, catchError, of } from 'rxjs';
14
14
  import { WA_IS_IOS } from '@ng-web-apis/platform';
15
15
  import * as i6 from '@taiga-ui/core/components/calendar';
16
16
  import * as i6$1 from '@taiga-ui/kit/components/calendar-range';
17
+ import { TuiTime, TuiDay, TuiMonth } from '@taiga-ui/cdk';
17
18
  import { TuiTablePagination, tuiTablePaginationOptionsProvider } from '@taiga-ui/addon-table';
18
19
  import { isPlatformBrowser } from '@angular/common';
19
- import { TuiMonth, TuiDay } from '@taiga-ui/cdk';
20
- import { injectContext, PolymorpheusComponent } from '@taiga-ui/polymorpheus';
21
20
 
22
21
  class LoginInputWidget {
23
22
  loginCtrl = new FormControl('', [
@@ -35,8 +34,8 @@ class LoginInputWidget {
35
34
  this.loginCtrl.touched);
36
35
  });
37
36
  }
38
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: LoginInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
39
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: LoginInputWidget, isStandalone: true, selector: "keit-login-input", outputs: { login: "login", loginNotReady: "loginNotReady" }, ngImport: i0, template: `
37
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LoginInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
38
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: LoginInputWidget, isStandalone: true, selector: "keit-login-input", outputs: { login: "login", loginNotReady: "loginNotReady" }, ngImport: i0, template: `
40
39
  <h3 class="tui-form__header tui-form__header_margin-top_none">Логин</h3>
41
40
  <div class="tui-form__row">
42
41
  <tui-textfield>
@@ -61,9 +60,9 @@ class LoginInputWidget {
61
60
  </div>
62
61
  }
63
62
  </div>
64
- `, isInline: true, styles: [".alert{color:var(--tui-status-negative)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "directive", type: i3.TuiInputDirective, selector: "input[tuiInput]", inputs: ["readOnly", "invalid", "focused", "state"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
63
+ `, isInline: true, styles: [".alert{color:var(--tui-status-negative)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "directive", type: i3.TuiInputDirective, selector: "input[tuiInput]", inputs: ["readOnly", "invalid", "focused", "state"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
65
64
  }
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: LoginInputWidget, decorators: [{
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LoginInputWidget, decorators: [{
67
66
  type: Component,
68
67
  args: [{ selector: 'keit-login-input', imports: [
69
68
  FormsModule,
@@ -116,8 +115,8 @@ class PasswordInputWidget {
116
115
  this.passwordCtrl.touched);
117
116
  });
118
117
  }
119
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: PasswordInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
120
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: PasswordInputWidget, isStandalone: true, selector: "keit-password-input", outputs: { password: "password", passwordNotReady: "passwordNotReady" }, ngImport: i0, template: `
118
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: PasswordInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
119
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: PasswordInputWidget, isStandalone: true, selector: "keit-password-input", outputs: { password: "password", passwordNotReady: "passwordNotReady" }, ngImport: i0, template: `
121
120
  <h3 class="tui-form__header tui-form__header_margin-top_none">
122
121
  Пароль
123
122
  </h3>
@@ -150,9 +149,9 @@ class PasswordInputWidget {
150
149
  </div>
151
150
  }
152
151
  </div>
153
- `, isInline: true, styles: [".alert{color:var(--tui-status-negative)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "directive", type: i3.TuiInputDirective, selector: "input[tuiInput]", inputs: ["readOnly", "invalid", "focused", "state"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
152
+ `, isInline: true, styles: [".alert{color:var(--tui-status-negative)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "directive", type: i3.TuiInputDirective, selector: "input[tuiInput]", inputs: ["readOnly", "invalid", "focused", "state"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
154
153
  }
155
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: PasswordInputWidget, decorators: [{
154
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: PasswordInputWidget, decorators: [{
156
155
  type: Component,
157
156
  args: [{ selector: 'keit-password-input', imports: [
158
157
  FormsModule,
@@ -198,16 +197,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
198
197
  }], ctorParameters: () => [], propDecorators: { password: [{ type: i0.Output, args: ["password"] }], passwordNotReady: [{ type: i0.Output, args: ["passwordNotReady"] }] } });
199
198
 
200
199
  class SimpleButtonWidget {
201
- icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
202
- iconRight = input(...(ngDevMode ? [undefined, { debugName: "iconRight" }] : /* istanbul ignore next */ []));
203
- disabled = input(...(ngDevMode ? [undefined, { debugName: "disabled" }] : /* istanbul ignore next */ []));
204
- caption = input(...(ngDevMode ? [undefined, { debugName: "caption" }] : /* istanbul ignore next */ []));
205
- ariaLabel = input(...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
200
+ icon = input(/* @ts-ignore */
201
+ ...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
202
+ iconRight = input(/* @ts-ignore */
203
+ ...(ngDevMode ? [undefined, { debugName: "iconRight" }] : /* istanbul ignore next */ []));
204
+ disabled = input(/* @ts-ignore */
205
+ ...(ngDevMode ? [undefined, { debugName: "disabled" }] : /* istanbul ignore next */ []));
206
+ caption = input(/* @ts-ignore */
207
+ ...(ngDevMode ? [undefined, { debugName: "caption" }] : /* istanbul ignore next */ []));
208
+ ariaLabel = input(/* @ts-ignore */
209
+ ...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
206
210
  action = output();
207
- size = input('m', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
208
- appearance = input('primary', ...(ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []));
209
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleButtonWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
210
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: SimpleButtonWidget, isStandalone: true, selector: "keit-simple-button", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconRight: { classPropertyName: "iconRight", publicName: "iconRight", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, caption: { classPropertyName: "caption", publicName: "caption", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { action: "action" }, ngImport: i0, template: `
211
+ size = input('m', /* @ts-ignore */
212
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
213
+ appearance = input('primary', /* @ts-ignore */
214
+ ...(ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []));
215
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleButtonWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
216
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: SimpleButtonWidget, isStandalone: true, selector: "keit-simple-button", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconRight: { classPropertyName: "iconRight", publicName: "iconRight", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, caption: { classPropertyName: "caption", publicName: "caption", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { action: "action" }, ngImport: i0, template: `
211
217
  <!-- TODO: (Taiga UI migration) [appearance] binding uses a dynamic expression. If it can produce "error"/"success"/"glass", replace with "negative"/"positive"/"secondary-grayscale" -->
212
218
  <button
213
219
  tuiButton
@@ -228,7 +234,7 @@ class SimpleButtonWidget {
228
234
  </button>
229
235
  `, isInline: true, styles: [""], dependencies: [{ kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
230
236
  }
231
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleButtonWidget, decorators: [{
237
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleButtonWidget, decorators: [{
232
238
  type: Component,
233
239
  args: [{ selector: 'keit-simple-button', imports: [TuiIcon, TuiButton], template: `
234
240
  <!-- TODO: (Taiga UI migration) [appearance] binding uses a dynamic expression. If it can produce "error"/"success"/"glass", replace with "negative"/"positive"/"secondary-grayscale" -->
@@ -269,8 +275,8 @@ class EmailInputWidget {
269
275
  this.emailCtrl.touched);
270
276
  });
271
277
  }
272
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: EmailInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
273
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: EmailInputWidget, isStandalone: true, selector: "keit-email-input", outputs: { email: "email", emailNotReady: "emailNotReady" }, ngImport: i0, template: `
278
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: EmailInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
279
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: EmailInputWidget, isStandalone: true, selector: "keit-email-input", outputs: { email: "email", emailNotReady: "emailNotReady" }, ngImport: i0, template: `
274
280
  <h3 class="tui-form__header tui-form__header_margin-top_none">Email</h3>
275
281
  <div class="tui-form__row">
276
282
  <tui-textfield>
@@ -298,9 +304,9 @@ class EmailInputWidget {
298
304
  </div>
299
305
  }
300
306
  </div>
301
- `, isInline: true, styles: [".alert{color:var(--tui-status-negative)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "directive", type: i3.TuiInputDirective, selector: "input[tuiInput]", inputs: ["readOnly", "invalid", "focused", "state"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
307
+ `, isInline: true, styles: [".alert{color:var(--tui-status-negative)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "directive", type: i3.TuiInputDirective, selector: "input[tuiInput]", inputs: ["readOnly", "invalid", "focused", "state"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
302
308
  }
303
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: EmailInputWidget, decorators: [{
309
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: EmailInputWidget, decorators: [{
304
310
  type: Component,
305
311
  args: [{ selector: 'keit-email-input', imports: [
306
312
  FormsModule,
@@ -340,10 +346,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
340
346
  }], ctorParameters: () => [], propDecorators: { email: [{ type: i0.Output, args: ["email"] }], emailNotReady: [{ type: i0.Output, args: ["emailNotReady"] }] } });
341
347
 
342
348
  class FieldValidation {
343
- control = input(...(ngDevMode ? [undefined, { debugName: "control" }] : /* istanbul ignore next */ []));
344
- field = input(...(ngDevMode ? [undefined, { debugName: "field" }] : /* istanbul ignore next */ []));
345
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FieldValidation, deps: [], target: i0.ɵɵFactoryTarget.Component });
346
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: FieldValidation, isStandalone: true, selector: "keit-field-validation", inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
349
+ control = input(/* @ts-ignore */
350
+ ...(ngDevMode ? [undefined, { debugName: "control" }] : /* istanbul ignore next */ []));
351
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: FieldValidation, deps: [], target: i0.ɵɵFactoryTarget.Component });
352
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: FieldValidation, isStandalone: true, selector: "keit-field-validation", inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
347
353
  @let controlValue = control();
348
354
 
349
355
  @if (controlValue) {
@@ -351,7 +357,7 @@ class FieldValidation {
351
357
  }
352
358
  `, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.TuiErrorComponent, selector: "tui-error", inputs: ["error"] }, { kind: "directive", type: i3.TuiErrorDirective, selector: "tui-error[ngModel], tui-error[formControlName], tui-error[formControl], tui-error[formGroup], tui-error[formGroupName], tui-error[formArrayName], tui-error[formArray]", inputs: ["order"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
353
359
  }
354
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FieldValidation, decorators: [{
360
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: FieldValidation, decorators: [{
355
361
  type: Component,
356
362
  args: [{ selector: 'keit-field-validation', imports: [ReactiveFormsModule, TuiError], template: `
357
363
  @let controlValue = control();
@@ -360,20 +366,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
360
366
  <tui-error [formControl]="controlValue" />
361
367
  }
362
368
  `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}\n"] }]
363
- }], propDecorators: { control: [{ type: i0.Input, args: [{ isSignal: true, alias: "control", required: false }] }], field: [{ type: i0.Input, args: [{ isSignal: true, alias: "field", required: false }] }] } });
369
+ }], propDecorators: { control: [{ type: i0.Input, args: [{ isSignal: true, alias: "control", required: false }] }] } });
364
370
 
365
371
  class SimpleSelectWidget {
366
- placeholder = input.required(...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
367
- control = input.required(...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
368
- items = input(...(ngDevMode ? [undefined, { debugName: "items" }] : /* istanbul ignore next */ []));
369
- size = input('m', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
370
- hint = input('', ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
371
- cleaner = input(...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
372
+ placeholder = input.required(/* @ts-ignore */
373
+ ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
374
+ control = input.required(/* @ts-ignore */
375
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
376
+ items = input(/* @ts-ignore */
377
+ ...(ngDevMode ? [undefined, { debugName: "items" }] : /* istanbul ignore next */ []));
378
+ size = input('m', /* @ts-ignore */
379
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
380
+ hint = input('', /* @ts-ignore */
381
+ ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
382
+ cleaner = input(/* @ts-ignore */
383
+ ...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
372
384
  stringify = (item2) => {
373
385
  return this.items()?.find((item) => item.id === item2.id)?.name ?? '';
374
386
  };
375
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleSelectWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
376
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: SimpleSelectWidget, isStandalone: true, selector: "keit-simple-select-widget", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: true, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, cleaner: { classPropertyName: "cleaner", publicName: "cleaner", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
387
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleSelectWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
388
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: SimpleSelectWidget, isStandalone: true, selector: "keit-simple-select-widget", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: true, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, cleaner: { classPropertyName: "cleaner", publicName: "cleaner", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
377
389
  <tui-textfield
378
390
  tuiChevron
379
391
  [stringify]="stringify"
@@ -394,9 +406,9 @@ class SimpleSelectWidget {
394
406
  </tui-textfield>
395
407
 
396
408
  <keit-field-validation [control]="control()" />
397
- `, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: TuiChevron, selector: "[tuiChevron]", inputs: ["tuiChevron"] }, { kind: "component", type: i2$1.TuiDataListWrapperComponent, selector: "tui-data-list-wrapper:not([labels])", inputs: ["items", "emptyContent", "size", "itemContent"], outputs: ["itemClick"] }, { kind: "directive", type: i2$1.TuiSelectDirective, selector: "input[tuiSelect]" }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i4.TuiDropdownContent, selector: "ng-template[tuiDropdown]" }, { kind: "component", type: FieldValidation, selector: "keit-field-validation", inputs: ["control", "field"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: TuiTooltip, selector: "tui-icon[tuiTooltip]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
409
+ `, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: TuiChevron, selector: "[tuiChevron]", inputs: ["tuiChevron"] }, { kind: "component", type: i2$1.TuiDataListWrapperComponent, selector: "tui-data-list-wrapper:not([labels])", inputs: ["items", "emptyContent", "size", "itemContent"], outputs: ["itemClick"] }, { kind: "directive", type: i2$1.TuiSelectDirective, selector: "input[tuiSelect]" }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i4.TuiDropdownContent, selector: "ng-template[tuiDropdown]" }, { kind: "component", type: FieldValidation, selector: "keit-field-validation", inputs: ["control"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: TuiTooltip, selector: "tui-icon[tuiTooltip]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
398
410
  }
399
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleSelectWidget, decorators: [{
411
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleSelectWidget, decorators: [{
400
412
  type: Component,
401
413
  args: [{ selector: 'keit-simple-select-widget', imports: [
402
414
  ReactiveFormsModule,
@@ -435,19 +447,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
435
447
  class SimpleComboWidget {
436
448
  destroyRef = inject(DestroyRef);
437
449
  search$ = new Subject();
438
- placeholder = input.required(...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
439
- control = input.required(...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
440
- size = input('m', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
441
- hint = input('', ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
442
- cleaner = input(...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
443
- loading = signal(false, ...(ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []));
444
- responseReady = signal(false, ...(ngDevMode ? [{ debugName: "responseReady" }] : /* istanbul ignore next */ []));
450
+ placeholder = input.required(/* @ts-ignore */
451
+ ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
452
+ control = input.required(/* @ts-ignore */
453
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
454
+ size = input('m', /* @ts-ignore */
455
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
456
+ hint = input('', /* @ts-ignore */
457
+ ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
458
+ cleaner = input(/* @ts-ignore */
459
+ ...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
460
+ loading = signal(false, /* @ts-ignore */
461
+ ...(ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []));
462
+ responseReady = signal(false, /* @ts-ignore */
463
+ ...(ngDevMode ? [{ debugName: "responseReady" }] : /* istanbul ignore next */ []));
445
464
  add = output();
446
465
  // eslint-disable-next-line @angular-eslint/prefer-signals
447
466
  emptyTemplate;
448
467
  // eslint-disable-next-line @angular-eslint/prefer-signals
449
468
  inputRef;
450
- searchedItems = signal([], ...(ngDevMode ? [{ debugName: "searchedItems" }] : /* istanbul ignore next */ []));
469
+ searchedItems = signal([], /* @ts-ignore */
470
+ ...(ngDevMode ? [{ debugName: "searchedItems" }] : /* istanbul ignore next */ []));
451
471
  items = computed(() => {
452
472
  const value = this.control().value;
453
473
  const searched = this.searchedItems();
@@ -460,8 +480,10 @@ class SimpleComboWidget {
460
480
  return searched;
461
481
  }
462
482
  return [...searched, value];
463
- }, ...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
464
- backendRequest = input.required(...(ngDevMode ? [{ debugName: "backendRequest" }] : /* istanbul ignore next */ []));
483
+ }, /* @ts-ignore */
484
+ ...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
485
+ backendRequest = input.required(/* @ts-ignore */
486
+ ...(ngDevMode ? [{ debugName: "backendRequest" }] : /* istanbul ignore next */ []));
465
487
  stringify = (item2) => {
466
488
  const items = this.items();
467
489
  const found = items?.find((item) => item.id === item2.id);
@@ -491,8 +513,8 @@ class SimpleComboWidget {
491
513
  this.searchedItems.set([item]);
492
514
  }
493
515
  }
494
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleComboWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
495
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: SimpleComboWidget, isStandalone: true, selector: "keit-simple-combo-widget", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: true, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, cleaner: { classPropertyName: "cleaner", publicName: "cleaner", isSignal: true, isRequired: false, transformFunction: null }, backendRequest: { classPropertyName: "backendRequest", publicName: "backendRequest", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { add: "add" }, viewQueries: [{ propertyName: "emptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true, read: TemplateRef }, { propertyName: "inputRef", first: true, predicate: ["inputRef"], descendants: true, read: ElementRef }], ngImport: i0, template: `
516
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleComboWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
517
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: SimpleComboWidget, isStandalone: true, selector: "keit-simple-combo-widget", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: true, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, cleaner: { classPropertyName: "cleaner", publicName: "cleaner", isSignal: true, isRequired: false, transformFunction: null }, backendRequest: { classPropertyName: "backendRequest", publicName: "backendRequest", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { add: "add" }, viewQueries: [{ propertyName: "emptyTemplate", first: true, predicate: ["emptyTemplate"], descendants: true, read: TemplateRef }, { propertyName: "inputRef", first: true, predicate: ["inputRef"], descendants: true, read: ElementRef }], ngImport: i0, template: `
496
518
  <tui-textfield
497
519
  tuiChevron
498
520
  [stringify]="stringify"
@@ -550,9 +572,9 @@ class SimpleComboWidget {
550
572
 
551
573
  <keit-field-validation [control]="control()" />
552
574
  </tui-textfield>
553
- `, isInline: true, styles: [".empty-content{display:flex;flex-direction:column;align-items:center;gap:12px;pointer-events:auto!important}.no-found-icon{font-size:12px}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: TuiChevron, selector: "[tuiChevron]", inputs: ["tuiChevron"] }, { kind: "component", type: i2$1.TuiDataListWrapperComponent, selector: "tui-data-list-wrapper:not([labels])", inputs: ["items", "emptyContent", "size", "itemContent"], outputs: ["itemClick"] }, { kind: "directive", type: i2$1.TuiComboBoxDirective, selector: "input[tuiComboBox]", inputs: ["strict", "matcher"] }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i4.TuiDropdownContent, selector: "ng-template[tuiDropdown]" }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: TuiTooltip, selector: "tui-icon[tuiTooltip]", inputs: ["size"] }, { kind: "component", type: TuiLoader, selector: "tui-loader", inputs: ["size", "inheritColor", "overlay", "textContent", "loading"] }, { kind: "component", type: SimpleButtonWidget, selector: "keit-simple-button", inputs: ["icon", "iconRight", "disabled", "caption", "ariaLabel", "size", "appearance"], outputs: ["action"] }, { kind: "component", type: FieldValidation, selector: "keit-field-validation", inputs: ["control", "field"] }, { kind: "pipe", type: TuiFilterByInputPipe, name: "tuiFilterByInput" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
575
+ `, isInline: true, styles: [".empty-content{display:flex;flex-direction:column;align-items:center;gap:12px;pointer-events:auto!important}.no-found-icon{font-size:12px}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: TuiChevron, selector: "[tuiChevron]", inputs: ["tuiChevron"] }, { kind: "component", type: i2$1.TuiDataListWrapperComponent, selector: "tui-data-list-wrapper:not([labels])", inputs: ["items", "emptyContent", "size", "itemContent"], outputs: ["itemClick"] }, { kind: "directive", type: i2$1.TuiComboBoxDirective, selector: "input[tuiComboBox]", inputs: ["strict", "matcher"] }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i4.TuiDropdownContent, selector: "ng-template[tuiDropdown]" }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: TuiTooltip, selector: "tui-icon[tuiTooltip]", inputs: ["size"] }, { kind: "component", type: TuiLoader, selector: "tui-loader", inputs: ["size", "inheritColor", "overlay", "textContent", "loading"] }, { kind: "component", type: SimpleButtonWidget, selector: "keit-simple-button", inputs: ["icon", "iconRight", "disabled", "caption", "ariaLabel", "size", "appearance"], outputs: ["action"] }, { kind: "component", type: FieldValidation, selector: "keit-field-validation", inputs: ["control"] }, { kind: "pipe", type: TuiFilterByInputPipe, name: "tuiFilterByInput" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
554
576
  }
555
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleComboWidget, decorators: [{
577
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleComboWidget, decorators: [{
556
578
  type: Component,
557
579
  args: [{ selector: 'keit-simple-combo-widget', imports: [
558
580
  ReactiveFormsModule,
@@ -635,19 +657,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
635
657
  }], backendRequest: [{ type: i0.Input, args: [{ isSignal: true, alias: "backendRequest", required: true }] }] } });
636
658
 
637
659
  class SimpleNumberInputWidget {
638
- placeholder = input.required(...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
639
- sample = input(...(ngDevMode ? [undefined, { debugName: "sample" }] : /* istanbul ignore next */ []));
640
- hint = input(...(ngDevMode ? [undefined, { debugName: "hint" }] : /* istanbul ignore next */ []));
641
- control = input.required(...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
642
- min = input.required(...(ngDevMode ? [{ debugName: "min" }] : /* istanbul ignore next */ []));
643
- max = input.required(...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
644
- size = input('m', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
645
- postfix = input(...(ngDevMode ? [undefined, { debugName: "postfix" }] : /* istanbul ignore next */ []));
646
- cleaner = input(...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
647
- step = input(...(ngDevMode ? [undefined, { debugName: "step" }] : /* istanbul ignore next */ []));
660
+ placeholder = input.required(/* @ts-ignore */
661
+ ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
662
+ sample = input(/* @ts-ignore */
663
+ ...(ngDevMode ? [undefined, { debugName: "sample" }] : /* istanbul ignore next */ []));
664
+ hint = input(/* @ts-ignore */
665
+ ...(ngDevMode ? [undefined, { debugName: "hint" }] : /* istanbul ignore next */ []));
666
+ control = input.required(/* @ts-ignore */
667
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
668
+ min = input.required(/* @ts-ignore */
669
+ ...(ngDevMode ? [{ debugName: "min" }] : /* istanbul ignore next */ []));
670
+ max = input.required(/* @ts-ignore */
671
+ ...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
672
+ size = input('m', /* @ts-ignore */
673
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
674
+ postfix = input(/* @ts-ignore */
675
+ ...(ngDevMode ? [undefined, { debugName: "postfix" }] : /* istanbul ignore next */ []));
676
+ cleaner = input(/* @ts-ignore */
677
+ ...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
678
+ step = input(/* @ts-ignore */
679
+ ...(ngDevMode ? [undefined, { debugName: "step" }] : /* istanbul ignore next */ []));
648
680
  enter = output();
649
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleNumberInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
650
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: SimpleNumberInputWidget, isStandalone: true, selector: "keit-simple-number-input-widget", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: true, transformFunction: null }, sample: { classPropertyName: "sample", publicName: "sample", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: true, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, postfix: { classPropertyName: "postfix", publicName: "postfix", isSignal: true, isRequired: false, transformFunction: null }, cleaner: { classPropertyName: "cleaner", publicName: "cleaner", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { enter: "enter" }, ngImport: i0, template: `
681
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleNumberInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
682
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: SimpleNumberInputWidget, isStandalone: true, selector: "keit-simple-number-input-widget", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: true, transformFunction: null }, sample: { classPropertyName: "sample", publicName: "sample", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: true, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, postfix: { classPropertyName: "postfix", publicName: "postfix", isSignal: true, isRequired: false, transformFunction: null }, cleaner: { classPropertyName: "cleaner", publicName: "cleaner", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { enter: "enter" }, ngImport: i0, template: `
651
683
  <tui-textfield
652
684
  [tuiTextfieldSize]="size()"
653
685
  [tuiTextfieldCleaner]="cleaner() ?? false"
@@ -686,9 +718,9 @@ class SimpleNumberInputWidget {
686
718
  </tui-textfield>
687
719
 
688
720
  <keit-field-validation [control]="control()" />
689
- `, isInline: true, styles: [":host{display:block;flex-grow:1}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i2$1.TuiInputNumberDirective, selector: "input[tuiInputNumber]" }, { kind: "directive", type: i2$1.TuiInputNumberStep, selector: "input[tuiInputNumber][step]", inputs: ["step"] }, { kind: "component", type: FieldValidation, selector: "keit-field-validation", inputs: ["control", "field"] }, { kind: "directive", type: TuiTooltip, selector: "tui-icon[tuiTooltip]", inputs: ["size"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
721
+ `, isInline: true, styles: [":host{display:block;flex-grow:1}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i2$1.TuiInputNumberDirective, selector: "input[tuiInputNumber]" }, { kind: "directive", type: i2$1.TuiInputNumberStep, selector: "input[tuiInputNumber][step]", inputs: ["step"] }, { kind: "component", type: FieldValidation, selector: "keit-field-validation", inputs: ["control"] }, { kind: "directive", type: TuiTooltip, selector: "tui-icon[tuiTooltip]", inputs: ["size"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
690
722
  }
691
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleNumberInputWidget, decorators: [{
723
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleNumberInputWidget, decorators: [{
692
724
  type: Component,
693
725
  args: [{ selector: 'keit-simple-number-input-widget', imports: [
694
726
  ReactiveFormsModule,
@@ -742,19 +774,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
742
774
  }], propDecorators: { placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: true }] }], sample: [{ type: i0.Input, args: [{ isSignal: true, alias: "sample", required: false }] }], hint: [{ type: i0.Input, args: [{ isSignal: true, alias: "hint", required: false }] }], control: [{ type: i0.Input, args: [{ isSignal: true, alias: "control", required: true }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: true }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: true }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], postfix: [{ type: i0.Input, args: [{ isSignal: true, alias: "postfix", required: false }] }], cleaner: [{ type: i0.Input, args: [{ isSignal: true, alias: "cleaner", required: false }] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }], enter: [{ type: i0.Output, args: ["enter"] }] } });
743
775
 
744
776
  class SimpleInputWidget {
745
- placeholder = input(...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
746
- sample = input('Введите...', ...(ngDevMode ? [{ debugName: "sample" }] : /* istanbul ignore next */ []));
747
- control = input.required(...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
748
- size = input('m', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
749
- readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
750
- hint = input('', ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
751
- iconRight = input('', ...(ngDevMode ? [{ debugName: "iconRight" }] : /* istanbul ignore next */ []));
752
- cleaner = input(...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
753
- hasEnter = input(...(ngDevMode ? [undefined, { debugName: "hasEnter" }] : /* istanbul ignore next */ []));
754
- focused = input(null, ...(ngDevMode ? [{ debugName: "focused" }] : /* istanbul ignore next */ []));
777
+ placeholder = input(/* @ts-ignore */
778
+ ...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
779
+ sample = input('Введите...', /* @ts-ignore */
780
+ ...(ngDevMode ? [{ debugName: "sample" }] : /* istanbul ignore next */ []));
781
+ control = input.required(/* @ts-ignore */
782
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
783
+ size = input('m', /* @ts-ignore */
784
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
785
+ readonly = input(false, /* @ts-ignore */
786
+ ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
787
+ hint = input('', /* @ts-ignore */
788
+ ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
789
+ iconRight = input('', /* @ts-ignore */
790
+ ...(ngDevMode ? [{ debugName: "iconRight" }] : /* istanbul ignore next */ []));
791
+ cleaner = input(/* @ts-ignore */
792
+ ...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
793
+ hasEnter = input(/* @ts-ignore */
794
+ ...(ngDevMode ? [undefined, { debugName: "hasEnter" }] : /* istanbul ignore next */ []));
795
+ focused = input(null, /* @ts-ignore */
796
+ ...(ngDevMode ? [{ debugName: "focused" }] : /* istanbul ignore next */ []));
755
797
  enter = output();
756
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
757
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: SimpleInputWidget, isStandalone: true, selector: "keit-simple-input-widget", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, sample: { classPropertyName: "sample", publicName: "sample", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, iconRight: { classPropertyName: "iconRight", publicName: "iconRight", isSignal: true, isRequired: false, transformFunction: null }, cleaner: { classPropertyName: "cleaner", publicName: "cleaner", isSignal: true, isRequired: false, transformFunction: null }, hasEnter: { classPropertyName: "hasEnter", publicName: "hasEnter", isSignal: true, isRequired: false, transformFunction: null }, focused: { classPropertyName: "focused", publicName: "focused", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { enter: "enter" }, ngImport: i0, template: `
798
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
799
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: SimpleInputWidget, isStandalone: true, selector: "keit-simple-input-widget", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, sample: { classPropertyName: "sample", publicName: "sample", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, iconRight: { classPropertyName: "iconRight", publicName: "iconRight", isSignal: true, isRequired: false, transformFunction: null }, cleaner: { classPropertyName: "cleaner", publicName: "cleaner", isSignal: true, isRequired: false, transformFunction: null }, hasEnter: { classPropertyName: "hasEnter", publicName: "hasEnter", isSignal: true, isRequired: false, transformFunction: null }, focused: { classPropertyName: "focused", publicName: "focused", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { enter: "enter" }, ngImport: i0, template: `
758
800
  <tui-textfield
759
801
  [tuiTextfieldSize]="size()"
760
802
  [tuiTextfieldCleaner]="cleaner() ?? false"
@@ -791,9 +833,9 @@ class SimpleInputWidget {
791
833
 
792
834
  <keit-field-validation [control]="control()" />
793
835
  </tui-textfield>
794
- `, isInline: true, styles: [":host{display:block}.icon{cursor:pointer}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i3.TuiInputDirective, selector: "input[tuiInput]", inputs: ["readOnly", "invalid", "focused", "state"] }, { kind: "component", type: FieldValidation, selector: "keit-field-validation", inputs: ["control", "field"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: TuiTooltip, selector: "tui-icon[tuiTooltip]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
836
+ `, isInline: true, styles: [":host{display:block}.icon{cursor:pointer}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i3.TuiInputDirective, selector: "input[tuiInput]", inputs: ["readOnly", "invalid", "focused", "state"] }, { kind: "component", type: FieldValidation, selector: "keit-field-validation", inputs: ["control"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: TuiTooltip, selector: "tui-icon[tuiTooltip]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
795
837
  }
796
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleInputWidget, decorators: [{
838
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleInputWidget, decorators: [{
797
839
  type: Component,
798
840
  args: [{ selector: 'keit-simple-input-widget', imports: [
799
841
  ReactiveFormsModule,
@@ -844,14 +886,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
844
886
  }], propDecorators: { placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], sample: [{ type: i0.Input, args: [{ isSignal: true, alias: "sample", required: false }] }], control: [{ type: i0.Input, args: [{ isSignal: true, alias: "control", required: true }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], hint: [{ type: i0.Input, args: [{ isSignal: true, alias: "hint", required: false }] }], iconRight: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconRight", required: false }] }], cleaner: [{ type: i0.Input, args: [{ isSignal: true, alias: "cleaner", required: false }] }], hasEnter: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasEnter", required: false }] }], focused: [{ type: i0.Input, args: [{ isSignal: true, alias: "focused", required: false }] }], enter: [{ type: i0.Output, args: ["enter"] }] } });
845
887
 
846
888
  class SimpleTextareaWidget {
847
- placeholder = input.required(...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
848
- sample = input(...(ngDevMode ? [undefined, { debugName: "sample" }] : /* istanbul ignore next */ []));
849
- control = input.required(...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
850
- limit = input(...(ngDevMode ? [undefined, { debugName: "limit" }] : /* istanbul ignore next */ []));
851
- size = input('m', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
852
- cleaner = input(...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
853
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleTextareaWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
854
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.8", type: SimpleTextareaWidget, isStandalone: true, selector: "keit-simple-textarea", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: true, transformFunction: null }, sample: { classPropertyName: "sample", publicName: "sample", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, limit: { classPropertyName: "limit", publicName: "limit", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, cleaner: { classPropertyName: "cleaner", publicName: "cleaner", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
889
+ placeholder = input.required(/* @ts-ignore */
890
+ ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
891
+ sample = input(/* @ts-ignore */
892
+ ...(ngDevMode ? [undefined, { debugName: "sample" }] : /* istanbul ignore next */ []));
893
+ control = input.required(/* @ts-ignore */
894
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
895
+ limit = input(/* @ts-ignore */
896
+ ...(ngDevMode ? [undefined, { debugName: "limit" }] : /* istanbul ignore next */ []));
897
+ size = input('m', /* @ts-ignore */
898
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
899
+ cleaner = input(/* @ts-ignore */
900
+ ...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
901
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleTextareaWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
902
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.7", type: SimpleTextareaWidget, isStandalone: true, selector: "keit-simple-textarea", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: true, transformFunction: null }, sample: { classPropertyName: "sample", publicName: "sample", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, limit: { classPropertyName: "limit", publicName: "limit", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, cleaner: { classPropertyName: "cleaner", publicName: "cleaner", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
855
903
  <tui-textfield
856
904
  [tuiTextfieldSize]="size()"
857
905
  [tuiTextfieldCleaner]="cleaner() ?? false"
@@ -868,9 +916,9 @@ class SimpleTextareaWidget {
868
916
  </tui-textfield>
869
917
 
870
918
  <keit-field-validation [control]="control()" />
871
- `, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2$1.TuiTextareaComponent, selector: "textarea[tuiTextarea]", inputs: ["min", "max", "content"] }, { kind: "directive", type: i2$1.TuiTextareaDirective, selector: "[tuiTextarea][limit]", inputs: ["limit"] }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "component", type: FieldValidation, selector: "keit-field-validation", inputs: ["control", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
919
+ `, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.TuiTextareaComponent, selector: "textarea[tuiTextarea]", inputs: ["min", "max", "content"] }, { kind: "directive", type: i2$1.TuiTextareaDirective, selector: "[tuiTextarea][limit]", inputs: ["limit"] }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "component", type: FieldValidation, selector: "keit-field-validation", inputs: ["control"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
872
920
  }
873
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleTextareaWidget, decorators: [{
921
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleTextareaWidget, decorators: [{
874
922
  type: Component,
875
923
  args: [{ selector: 'keit-simple-textarea', imports: [
876
924
  ReactiveFormsModule,
@@ -899,12 +947,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
899
947
  }], propDecorators: { placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: true }] }], sample: [{ type: i0.Input, args: [{ isSignal: true, alias: "sample", required: false }] }], control: [{ type: i0.Input, args: [{ isSignal: true, alias: "control", required: true }] }], limit: [{ type: i0.Input, args: [{ isSignal: true, alias: "limit", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], cleaner: [{ type: i0.Input, args: [{ isSignal: true, alias: "cleaner", required: false }] }] } });
900
948
 
901
949
  class SimpleCopyInputWidget {
902
- name = input(...(ngDevMode ? [undefined, { debugName: "name" }] : /* istanbul ignore next */ []));
903
- placeholder = input('', ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
904
- control = input.required(...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
905
- size = input('m', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
906
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleCopyInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
907
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.8", type: SimpleCopyInputWidget, isStandalone: true, selector: "keit-simple-copy-input-widget", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
950
+ name = input(/* @ts-ignore */
951
+ ...(ngDevMode ? [undefined, { debugName: "name" }] : /* istanbul ignore next */ []));
952
+ placeholder = input('', /* @ts-ignore */
953
+ ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
954
+ control = input.required(/* @ts-ignore */
955
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
956
+ size = input('m', /* @ts-ignore */
957
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
958
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleCopyInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
959
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.7", type: SimpleCopyInputWidget, isStandalone: true, selector: "keit-simple-copy-input-widget", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
908
960
  <tui-textfield
909
961
  [tuiTextfieldCleaner]="false"
910
962
  [tuiTextfieldSize]="size()"
@@ -917,9 +969,9 @@ class SimpleCopyInputWidget {
917
969
  />
918
970
  <tui-icon tuiCopy />
919
971
  </tui-textfield>
920
- `, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i3.TuiInputDirective, selector: "input[tuiInput]", inputs: ["readOnly", "invalid", "focused", "state"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: i2$1.TuiCopyDirective, selector: "tui-icon[tuiCopy]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
972
+ `, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i3.TuiInputDirective, selector: "input[tuiInput]", inputs: ["readOnly", "invalid", "focused", "state"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: i2$1.TuiCopyDirective, selector: "tui-icon[tuiCopy]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
921
973
  }
922
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleCopyInputWidget, decorators: [{
974
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleCopyInputWidget, decorators: [{
923
975
  type: Component,
924
976
  args: [{ selector: 'keit-simple-copy-input-widget', imports: [
925
977
  ReactiveFormsModule,
@@ -1060,10 +1112,14 @@ class KeitControl extends FormControl {
1060
1112
 
1061
1113
  class SimplePhoneInputWidget {
1062
1114
  isIos = inject(WA_IS_IOS);
1063
- placeholder = input(...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
1064
- readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
1065
- control = input.required(...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
1066
- size = input('s', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1115
+ placeholder = input(/* @ts-ignore */
1116
+ ...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
1117
+ readonly = input(false, /* @ts-ignore */
1118
+ ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
1119
+ control = input.required(/* @ts-ignore */
1120
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
1121
+ size = input('s', /* @ts-ignore */
1122
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1067
1123
  ngOnInit() {
1068
1124
  const control = this.control();
1069
1125
  if (control instanceof KeitControl) {
@@ -1073,8 +1129,8 @@ class SimplePhoneInputWidget {
1073
1129
  get pattern() {
1074
1130
  return this.isIos ? '+[0-9-]{1,20}' : null;
1075
1131
  }
1076
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimplePhoneInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1077
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.8", type: SimplePhoneInputWidget, isStandalone: true, selector: "keit-simple-phone-input-widget", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
1132
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimplePhoneInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1133
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.7", type: SimplePhoneInputWidget, isStandalone: true, selector: "keit-simple-phone-input-widget", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
1078
1134
  <tui-textfield [tuiTextfieldSize]="size()">
1079
1135
  <label tuiLabel>Телефон</label>
1080
1136
 
@@ -1089,9 +1145,9 @@ class SimplePhoneInputWidget {
1089
1145
  </tui-textfield>
1090
1146
 
1091
1147
  <keit-field-validation [control]="control()" />
1092
- `, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i2$1.TuiInputPhoneDirective, selector: "input[tuiInputPhone]", inputs: ["allowText", "mask"] }, { kind: "component", type: FieldValidation, selector: "keit-field-validation", inputs: ["control", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1148
+ `, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i2$1.TuiInputPhoneDirective, selector: "input[tuiInputPhone]", inputs: ["allowText", "mask"] }, { kind: "component", type: FieldValidation, selector: "keit-field-validation", inputs: ["control"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1093
1149
  }
1094
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimplePhoneInputWidget, decorators: [{
1150
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimplePhoneInputWidget, decorators: [{
1095
1151
  type: Component,
1096
1152
  args: [{ selector: 'keit-simple-phone-input-widget', imports: [
1097
1153
  ReactiveFormsModule,
@@ -1119,12 +1175,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1119
1175
  }], propDecorators: { placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], control: [{ type: i0.Input, args: [{ isSignal: true, alias: "control", required: true }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
1120
1176
 
1121
1177
  class SimplePasswordInputWidget {
1122
- placeholder = input(...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
1123
- control = input.required(...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
1124
- size = input('m', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1125
- readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
1126
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimplePasswordInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1127
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.8", type: SimplePasswordInputWidget, isStandalone: true, selector: "keit-simple-password-input", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
1178
+ placeholder = input(/* @ts-ignore */
1179
+ ...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
1180
+ control = input.required(/* @ts-ignore */
1181
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
1182
+ size = input('m', /* @ts-ignore */
1183
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1184
+ readonly = input(false, /* @ts-ignore */
1185
+ ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
1186
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimplePasswordInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1187
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.7", type: SimplePasswordInputWidget, isStandalone: true, selector: "keit-simple-password-input", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
1128
1188
  <tui-textfield [tuiTextfieldSize]="size()">
1129
1189
  <label tuiLabel>{{ placeholder() }}</label>
1130
1190
  <input
@@ -1139,9 +1199,9 @@ class SimplePasswordInputWidget {
1139
1199
  <tui-icon tuiPassword />
1140
1200
  <keit-field-validation [control]="control()" />
1141
1201
  </tui-textfield>
1142
- `, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i3.TuiInputDirective, selector: "input[tuiInput]", inputs: ["readOnly", "invalid", "focused", "state"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "component", type: FieldValidation, selector: "keit-field-validation", inputs: ["control", "field"] }, { kind: "directive", type: TuiPassword, selector: "tui-icon[tuiPassword]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1202
+ `, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i3.TuiInputDirective, selector: "input[tuiInput]", inputs: ["readOnly", "invalid", "focused", "state"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "component", type: FieldValidation, selector: "keit-field-validation", inputs: ["control"] }, { kind: "directive", type: TuiPassword, selector: "tui-icon[tuiPassword]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1143
1203
  }
1144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimplePasswordInputWidget, decorators: [{
1204
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimplePasswordInputWidget, decorators: [{
1145
1205
  type: Component,
1146
1206
  args: [{ selector: 'keit-simple-password-input', imports: [
1147
1207
  FormsModule,
@@ -1171,17 +1231,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1171
1231
  }], propDecorators: { placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], control: [{ type: i0.Input, args: [{ isSignal: true, alias: "control", required: true }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }] } });
1172
1232
 
1173
1233
  class SimpleActionsWidget {
1174
- primaryIcon = input(...(ngDevMode ? [undefined, { debugName: "primaryIcon" }] : /* istanbul ignore next */ []));
1175
- secondaryIcon = input(...(ngDevMode ? [undefined, { debugName: "secondaryIcon" }] : /* istanbul ignore next */ []));
1176
- disabled = input(...(ngDevMode ? [undefined, { debugName: "disabled" }] : /* istanbul ignore next */ []));
1177
- primaryCaption = input('Принять', ...(ngDevMode ? [{ debugName: "primaryCaption" }] : /* istanbul ignore next */ []));
1178
- secondaryCaption = input('Отмена', ...(ngDevMode ? [{ debugName: "secondaryCaption" }] : /* istanbul ignore next */ []));
1179
- hasSecondary = input(true, ...(ngDevMode ? [{ debugName: "hasSecondary" }] : /* istanbul ignore next */ []));
1180
- size = input('m', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1234
+ primaryIcon = input(/* @ts-ignore */
1235
+ ...(ngDevMode ? [undefined, { debugName: "primaryIcon" }] : /* istanbul ignore next */ []));
1236
+ secondaryIcon = input(/* @ts-ignore */
1237
+ ...(ngDevMode ? [undefined, { debugName: "secondaryIcon" }] : /* istanbul ignore next */ []));
1238
+ disabled = input(/* @ts-ignore */
1239
+ ...(ngDevMode ? [undefined, { debugName: "disabled" }] : /* istanbul ignore next */ []));
1240
+ primaryCaption = input('Принять', /* @ts-ignore */
1241
+ ...(ngDevMode ? [{ debugName: "primaryCaption" }] : /* istanbul ignore next */ []));
1242
+ secondaryCaption = input('Отмена', /* @ts-ignore */
1243
+ ...(ngDevMode ? [{ debugName: "secondaryCaption" }] : /* istanbul ignore next */ []));
1244
+ hasSecondary = input(true, /* @ts-ignore */
1245
+ ...(ngDevMode ? [{ debugName: "hasSecondary" }] : /* istanbul ignore next */ []));
1246
+ size = input('m', /* @ts-ignore */
1247
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1181
1248
  acceptEvent = output();
1182
1249
  cancelEvent = output();
1183
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleActionsWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1184
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: SimpleActionsWidget, isStandalone: true, selector: "keit-simple-actions", inputs: { primaryIcon: { classPropertyName: "primaryIcon", publicName: "primaryIcon", isSignal: true, isRequired: false, transformFunction: null }, secondaryIcon: { classPropertyName: "secondaryIcon", publicName: "secondaryIcon", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, primaryCaption: { classPropertyName: "primaryCaption", publicName: "primaryCaption", isSignal: true, isRequired: false, transformFunction: null }, secondaryCaption: { classPropertyName: "secondaryCaption", publicName: "secondaryCaption", isSignal: true, isRequired: false, transformFunction: null }, hasSecondary: { classPropertyName: "hasSecondary", publicName: "hasSecondary", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { acceptEvent: "acceptEvent", cancelEvent: "cancelEvent" }, ngImport: i0, template: `
1250
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleActionsWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1251
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: SimpleActionsWidget, isStandalone: true, selector: "keit-simple-actions", inputs: { primaryIcon: { classPropertyName: "primaryIcon", publicName: "primaryIcon", isSignal: true, isRequired: false, transformFunction: null }, secondaryIcon: { classPropertyName: "secondaryIcon", publicName: "secondaryIcon", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, primaryCaption: { classPropertyName: "primaryCaption", publicName: "primaryCaption", isSignal: true, isRequired: false, transformFunction: null }, secondaryCaption: { classPropertyName: "secondaryCaption", publicName: "secondaryCaption", isSignal: true, isRequired: false, transformFunction: null }, hasSecondary: { classPropertyName: "hasSecondary", publicName: "hasSecondary", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { acceptEvent: "acceptEvent", cancelEvent: "cancelEvent" }, ngImport: i0, template: `
1185
1252
  <div class="actions">
1186
1253
  <button
1187
1254
  tuiButton
@@ -1217,7 +1284,7 @@ class SimpleActionsWidget {
1217
1284
  </div>
1218
1285
  `, isInline: true, styles: [":host{display:flex;margin:12px 0;justify-content:end}.actions{display:flex;flex-direction:row-reverse;gap:4px;justify-content:end}\n"], dependencies: [{ kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1219
1286
  }
1220
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleActionsWidget, decorators: [{
1287
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleActionsWidget, decorators: [{
1221
1288
  type: Component,
1222
1289
  args: [{ selector: 'keit-simple-actions', imports: [TuiIcon, TuiButton], template: `
1223
1290
  <div class="actions">
@@ -1256,81 +1323,104 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1256
1323
  `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:flex;margin:12px 0;justify-content:end}.actions{display:flex;flex-direction:row-reverse;gap:4px;justify-content:end}\n"] }]
1257
1324
  }], propDecorators: { primaryIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "primaryIcon", required: false }] }], secondaryIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "secondaryIcon", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], primaryCaption: [{ type: i0.Input, args: [{ isSignal: true, alias: "primaryCaption", required: false }] }], secondaryCaption: [{ type: i0.Input, args: [{ isSignal: true, alias: "secondaryCaption", required: false }] }], hasSecondary: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasSecondary", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], acceptEvent: [{ type: i0.Output, args: ["acceptEvent"] }], cancelEvent: [{ type: i0.Output, args: ["cancelEvent"] }] } });
1258
1325
 
1259
- class SimpleFlexLayout {
1260
- gap = input(...(ngDevMode ? [undefined, { debugName: "gap" }] : /* istanbul ignore next */ []));
1261
- direction = input(...(ngDevMode ? [undefined, { debugName: "direction" }] : /* istanbul ignore next */ []));
1262
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleFlexLayout, deps: [], target: i0.ɵɵFactoryTarget.Component });
1263
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.8", type: SimpleFlexLayout, isStandalone: true, selector: "keit-simple-flex", inputs: { gap: { classPropertyName: "gap", publicName: "gap", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
1264
- <div
1265
- class="base"
1266
- [style.gap.px]="gap()"
1267
- [style.flexDirection]="
1268
- direction() === 'vertical' ? 'column' : 'row'
1269
- "
1270
- >
1271
- <ng-content></ng-content>
1272
- </div>
1273
- `, isInline: true, styles: [":host{display:block}.base{display:flex}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1274
- }
1275
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleFlexLayout, decorators: [{
1276
- type: Component,
1277
- args: [{ selector: 'keit-simple-flex', imports: [], template: `
1278
- <div
1279
- class="base"
1280
- [style.gap.px]="gap()"
1281
- [style.flexDirection]="
1282
- direction() === 'vertical' ? 'column' : 'row'
1283
- "
1284
- >
1285
- <ng-content></ng-content>
1286
- </div>
1287
- `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}.base{display:flex}\n"] }]
1288
- }], propDecorators: { gap: [{ type: i0.Input, args: [{ isSignal: true, alias: "gap", required: false }] }], direction: [{ type: i0.Input, args: [{ isSignal: true, alias: "direction", required: false }] }] } });
1289
-
1290
- class SimpleGridLayout {
1291
- columns = input(...(ngDevMode ? [undefined, { debugName: "columns" }] : /* istanbul ignore next */ []));
1292
- gap = input(...(ngDevMode ? [undefined, { debugName: "gap" }] : /* istanbul ignore next */ []));
1293
- getGridTemplate(count) {
1294
- if (count === undefined) {
1295
- return '';
1296
- }
1297
- return `repeat(${count}, 1fr)`;
1298
- }
1299
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleGridLayout, deps: [], target: i0.ɵɵFactoryTarget.Component });
1300
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.8", type: SimpleGridLayout, isStandalone: true, selector: "keit-simple-grid", inputs: { columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null }, gap: { classPropertyName: "gap", publicName: "gap", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
1301
- <div
1302
- class="base"
1303
- [style.gridTemplateColumns]="getGridTemplate(columns())"
1304
- [style.gap.px]="gap()"
1326
+ class SimpleDateInputWidget {
1327
+ placeholder = input(/* @ts-ignore */
1328
+ ...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
1329
+ sample = input('Введите...', /* @ts-ignore */
1330
+ ...(ngDevMode ? [{ debugName: "sample" }] : /* istanbul ignore next */ []));
1331
+ control = input.required(/* @ts-ignore */
1332
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
1333
+ size = input('m', /* @ts-ignore */
1334
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1335
+ readonly = input(false, /* @ts-ignore */
1336
+ ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
1337
+ hint = input('', /* @ts-ignore */
1338
+ ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
1339
+ iconRight = input('', /* @ts-ignore */
1340
+ ...(ngDevMode ? [{ debugName: "iconRight" }] : /* istanbul ignore next */ []));
1341
+ cleaner = input(/* @ts-ignore */
1342
+ ...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
1343
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleDateInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1344
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: SimpleDateInputWidget, isStandalone: true, selector: "keit-simple-date-input-widget", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, sample: { classPropertyName: "sample", publicName: "sample", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, iconRight: { classPropertyName: "iconRight", publicName: "iconRight", isSignal: true, isRequired: false, transformFunction: null }, cleaner: { classPropertyName: "cleaner", publicName: "cleaner", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
1345
+ <tui-textfield
1346
+ [tuiTextfieldSize]="size()"
1347
+ [tuiTextfieldCleaner]="cleaner() ?? false"
1305
1348
  >
1306
- <ng-content></ng-content>
1307
- </div>
1308
- `, isInline: true, styles: [":host{display:block}.base{display:grid;gap:20px;grid-auto-rows:auto}@media(max-width:480px){.base{grid-template-columns:1fr!important}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1349
+ <label tuiLabel>{{ placeholder() }}</label>
1350
+ <input
1351
+ tuiInputDateTime
1352
+ [placeholder]="sample()"
1353
+ [formControl]="control()"
1354
+ [readOnly]="readonly()"
1355
+ />
1356
+ <tui-calendar *tuiDropdown />
1357
+
1358
+ @if (iconRight()) {
1359
+ <tui-icon [icon]="iconRight()" />
1360
+ }
1361
+
1362
+ @if (hint()) {
1363
+ <tui-icon [tuiTooltip]="hint()" tuiHintDirection="top-end" />
1364
+ }
1365
+ </tui-textfield>
1366
+ `, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i4.TuiDropdownContent, selector: "ng-template[tuiDropdown]" }, { kind: "directive", type: i2$1.TuiInputDateTimeDirective, selector: "input[tuiInputDateTime]", inputs: ["timeMode", "min", "max"] }, { kind: "component", type: i6.TuiCalendar, selector: "tui-calendar:not([new])", inputs: ["minViewedMonth", "maxViewedMonth", "showAdjacent", "markerHandler", "initialView", "hoveredItem"], outputs: ["hoveredItemChange", "dayClick"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: TuiTooltip, selector: "tui-icon[tuiTooltip]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1309
1367
  }
1310
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleGridLayout, decorators: [{
1368
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleDateInputWidget, decorators: [{
1311
1369
  type: Component,
1312
- args: [{ selector: 'keit-simple-grid', imports: [], template: `
1313
- <div
1314
- class="base"
1315
- [style.gridTemplateColumns]="getGridTemplate(columns())"
1316
- [style.gap.px]="gap()"
1370
+ args: [{ selector: 'keit-simple-date-input-widget', imports: [
1371
+ ReactiveFormsModule,
1372
+ FormsModule,
1373
+ TuiInput,
1374
+ TuiInputDateTime,
1375
+ TuiLabel,
1376
+ TuiIcon,
1377
+ TuiTooltip,
1378
+ TuiCalendar,
1379
+ TuiHint,
1380
+ ], template: `
1381
+ <tui-textfield
1382
+ [tuiTextfieldSize]="size()"
1383
+ [tuiTextfieldCleaner]="cleaner() ?? false"
1317
1384
  >
1318
- <ng-content></ng-content>
1319
- </div>
1320
- `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}.base{display:grid;gap:20px;grid-auto-rows:auto}@media(max-width:480px){.base{grid-template-columns:1fr!important}}\n"] }]
1321
- }], propDecorators: { columns: [{ type: i0.Input, args: [{ isSignal: true, alias: "columns", required: false }] }], gap: [{ type: i0.Input, args: [{ isSignal: true, alias: "gap", required: false }] }] } });
1385
+ <label tuiLabel>{{ placeholder() }}</label>
1386
+ <input
1387
+ tuiInputDateTime
1388
+ [placeholder]="sample()"
1389
+ [formControl]="control()"
1390
+ [readOnly]="readonly()"
1391
+ />
1392
+ <tui-calendar *tuiDropdown />
1322
1393
 
1323
- class SimpleDateInputWidget {
1324
- placeholder = input(...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
1325
- sample = input('Введите...', ...(ngDevMode ? [{ debugName: "sample" }] : /* istanbul ignore next */ []));
1326
- control = input.required(...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
1327
- size = input('m', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1328
- readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
1329
- hint = input('', ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
1330
- iconRight = input('', ...(ngDevMode ? [{ debugName: "iconRight" }] : /* istanbul ignore next */ []));
1331
- cleaner = input(...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
1332
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleDateInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1333
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: SimpleDateInputWidget, isStandalone: true, selector: "keit-simple-date-input-widget", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, sample: { classPropertyName: "sample", publicName: "sample", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, iconRight: { classPropertyName: "iconRight", publicName: "iconRight", isSignal: true, isRequired: false, transformFunction: null }, cleaner: { classPropertyName: "cleaner", publicName: "cleaner", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
1394
+ @if (iconRight()) {
1395
+ <tui-icon [icon]="iconRight()" />
1396
+ }
1397
+
1398
+ @if (hint()) {
1399
+ <tui-icon [tuiTooltip]="hint()" tuiHintDirection="top-end" />
1400
+ }
1401
+ </tui-textfield>
1402
+ `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}\n"] }]
1403
+ }], propDecorators: { placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], sample: [{ type: i0.Input, args: [{ isSignal: true, alias: "sample", required: false }] }], control: [{ type: i0.Input, args: [{ isSignal: true, alias: "control", required: true }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], hint: [{ type: i0.Input, args: [{ isSignal: true, alias: "hint", required: false }] }], iconRight: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconRight", required: false }] }], cleaner: [{ type: i0.Input, args: [{ isSignal: true, alias: "cleaner", required: false }] }] } });
1404
+
1405
+ class SimpleDateTimeInputWidget {
1406
+ placeholder = input(/* @ts-ignore */
1407
+ ...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
1408
+ sample = input('Введите...', /* @ts-ignore */
1409
+ ...(ngDevMode ? [{ debugName: "sample" }] : /* istanbul ignore next */ []));
1410
+ control = input.required(/* @ts-ignore */
1411
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
1412
+ size = input('m', /* @ts-ignore */
1413
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1414
+ readonly = input(false, /* @ts-ignore */
1415
+ ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
1416
+ hint = input('', /* @ts-ignore */
1417
+ ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
1418
+ iconRight = input('', /* @ts-ignore */
1419
+ ...(ngDevMode ? [{ debugName: "iconRight" }] : /* istanbul ignore next */ []));
1420
+ cleaner = input(/* @ts-ignore */
1421
+ ...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
1422
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleDateTimeInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1423
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: SimpleDateTimeInputWidget, isStandalone: true, selector: "keit-simple-date-time-input-widget", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, sample: { classPropertyName: "sample", publicName: "sample", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, iconRight: { classPropertyName: "iconRight", publicName: "iconRight", isSignal: true, isRequired: false, transformFunction: null }, cleaner: { classPropertyName: "cleaner", publicName: "cleaner", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
1334
1424
  <tui-textfield
1335
1425
  [tuiTextfieldSize]="size()"
1336
1426
  [tuiTextfieldCleaner]="cleaner() ?? false"
@@ -1343,7 +1433,6 @@ class SimpleDateInputWidget {
1343
1433
  [readOnly]="readonly()"
1344
1434
  />
1345
1435
  <tui-calendar *tuiDropdown />
1346
-
1347
1436
  @if (iconRight()) {
1348
1437
  <tui-icon [icon]="iconRight()" />
1349
1438
  }
@@ -1352,11 +1441,11 @@ class SimpleDateInputWidget {
1352
1441
  <tui-icon [tuiTooltip]="hint()" tuiHintDirection="top-end" />
1353
1442
  }
1354
1443
  </tui-textfield>
1355
- `, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i4.TuiDropdownContent, selector: "ng-template[tuiDropdown]" }, { kind: "directive", type: i2$1.TuiInputDateTimeDirective, selector: "input[tuiInputDateTime]", inputs: ["timeMode", "min", "max"] }, { kind: "component", type: i6.TuiCalendar, selector: "tui-calendar", inputs: ["disabledItemHandler", "min", "max", "minViewedMonth", "maxViewedMonth", "showAdjacent", "markerHandler", "initialView", "month", "hoveredItem", "value"], outputs: ["monthChange", "hoveredItemChange", "valueChange", "dayClick"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: TuiTooltip, selector: "tui-icon[tuiTooltip]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1444
+ `, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i4.TuiDropdownContent, selector: "ng-template[tuiDropdown]" }, { kind: "directive", type: i2$1.TuiInputDateTimeDirective, selector: "input[tuiInputDateTime]", inputs: ["timeMode", "min", "max"] }, { kind: "component", type: i6.TuiCalendar, selector: "tui-calendar:not([new])", inputs: ["minViewedMonth", "maxViewedMonth", "showAdjacent", "markerHandler", "initialView", "hoveredItem"], outputs: ["hoveredItemChange", "dayClick"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: TuiTooltip, selector: "tui-icon[tuiTooltip]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1356
1445
  }
1357
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleDateInputWidget, decorators: [{
1446
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleDateTimeInputWidget, decorators: [{
1358
1447
  type: Component,
1359
- args: [{ selector: 'keit-simple-date-input-widget', imports: [
1448
+ args: [{ selector: 'keit-simple-date-time-input-widget', imports: [
1360
1449
  ReactiveFormsModule,
1361
1450
  FormsModule,
1362
1451
  TuiInput,
@@ -1379,7 +1468,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1379
1468
  [readOnly]="readonly()"
1380
1469
  />
1381
1470
  <tui-calendar *tuiDropdown />
1382
-
1383
1471
  @if (iconRight()) {
1384
1472
  <tui-icon [icon]="iconRight()" />
1385
1473
  }
@@ -1392,16 +1480,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1392
1480
  }], propDecorators: { placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], sample: [{ type: i0.Input, args: [{ isSignal: true, alias: "sample", required: false }] }], control: [{ type: i0.Input, args: [{ isSignal: true, alias: "control", required: true }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], hint: [{ type: i0.Input, args: [{ isSignal: true, alias: "hint", required: false }] }], iconRight: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconRight", required: false }] }], cleaner: [{ type: i0.Input, args: [{ isSignal: true, alias: "cleaner", required: false }] }] } });
1393
1481
 
1394
1482
  class SimpleDateRangeInputWidget {
1395
- placeholder = input(...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
1396
- sample = input('Введите...', ...(ngDevMode ? [{ debugName: "sample" }] : /* istanbul ignore next */ []));
1397
- control = input.required(...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
1398
- size = input('m', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1399
- readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
1400
- hint = input('', ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
1401
- iconRight = input('', ...(ngDevMode ? [{ debugName: "iconRight" }] : /* istanbul ignore next */ []));
1402
- cleaner = input(...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
1403
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleDateRangeInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1404
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: SimpleDateRangeInputWidget, isStandalone: true, selector: "keit-simple-date-range-input-widget", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, sample: { classPropertyName: "sample", publicName: "sample", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, iconRight: { classPropertyName: "iconRight", publicName: "iconRight", isSignal: true, isRequired: false, transformFunction: null }, cleaner: { classPropertyName: "cleaner", publicName: "cleaner", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
1483
+ placeholder = input(/* @ts-ignore */
1484
+ ...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
1485
+ sample = input('Введите...', /* @ts-ignore */
1486
+ ...(ngDevMode ? [{ debugName: "sample" }] : /* istanbul ignore next */ []));
1487
+ control = input.required(/* @ts-ignore */
1488
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
1489
+ size = input('m', /* @ts-ignore */
1490
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1491
+ readonly = input(false, /* @ts-ignore */
1492
+ ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
1493
+ hint = input('', /* @ts-ignore */
1494
+ ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
1495
+ iconRight = input('', /* @ts-ignore */
1496
+ ...(ngDevMode ? [{ debugName: "iconRight" }] : /* istanbul ignore next */ []));
1497
+ cleaner = input(/* @ts-ignore */
1498
+ ...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
1499
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleDateRangeInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1500
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: SimpleDateRangeInputWidget, isStandalone: true, selector: "keit-simple-date-range-input-widget", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, sample: { classPropertyName: "sample", publicName: "sample", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, iconRight: { classPropertyName: "iconRight", publicName: "iconRight", isSignal: true, isRequired: false, transformFunction: null }, cleaner: { classPropertyName: "cleaner", publicName: "cleaner", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
1405
1501
  <tui-textfield
1406
1502
  [tuiTextfieldSize]="size()"
1407
1503
  [tuiTextfieldCleaner]="cleaner() ?? false"
@@ -1423,9 +1519,9 @@ class SimpleDateRangeInputWidget {
1423
1519
  <tui-icon [tuiTooltip]="hint()" tuiHintDirection="top-end" />
1424
1520
  }
1425
1521
  </tui-textfield>
1426
- `, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i4.TuiDropdownContent, selector: "ng-template[tuiDropdown]" }, { kind: "directive", type: i2$1.TuiInputDateRangeDirective, selector: "input[tuiInputDateRange]", inputs: ["max", "min", "minLength", "maxLength"] }, { kind: "component", type: i6$1.TuiCalendarRange, selector: "tui-calendar-range", inputs: ["min", "max", "minLength", "maxLength", "items", "listSize", "defaultViewedMonth", "markerHandler", "disabledItemHandler", "value", "item"], outputs: ["valueChange", "itemChange"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: TuiTooltip, selector: "tui-icon[tuiTooltip]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1522
+ `, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i3$1.TuiTextfieldComponent, selector: "tui-textfield:not([multi])", inputs: ["content", "filler"] }, { kind: "directive", type: i3$1.TuiTextfieldOptionsDirective, selector: "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", inputs: ["tuiTextfieldAppearance", "tuiTextfieldSize", "tuiTextfieldCleaner"] }, { kind: "directive", type: i4.TuiDropdownContent, selector: "ng-template[tuiDropdown]" }, { kind: "directive", type: i2$1.TuiInputDateRangeDirective, selector: "input[tuiInputDateRange]", inputs: ["max", "min", "minLength", "maxLength"] }, { kind: "component", type: i6$1.TuiCalendarRange, selector: "tui-calendar-range", inputs: ["minLength", "maxLength", "items", "listSize", "defaultViewedMonth", "markerHandler", "item"], outputs: ["itemChange"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: TuiTooltip, selector: "tui-icon[tuiTooltip]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1427
1523
  }
1428
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleDateRangeInputWidget, decorators: [{
1524
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleDateRangeInputWidget, decorators: [{
1429
1525
  type: Component,
1430
1526
  args: [{ selector: 'keit-simple-date-range-input-widget', imports: [
1431
1527
  ReactiveFormsModule,
@@ -1462,13 +1558,99 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1462
1558
  `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}\n"] }]
1463
1559
  }], propDecorators: { placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], sample: [{ type: i0.Input, args: [{ isSignal: true, alias: "sample", required: false }] }], control: [{ type: i0.Input, args: [{ isSignal: true, alias: "control", required: true }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], hint: [{ type: i0.Input, args: [{ isSignal: true, alias: "hint", required: false }] }], iconRight: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconRight", required: false }] }], cleaner: [{ type: i0.Input, args: [{ isSignal: true, alias: "cleaner", required: false }] }] } });
1464
1560
 
1561
+ class SimpleDateTimeRangeInputWidget {
1562
+ startPlaceholder = input('Начало', /* @ts-ignore */
1563
+ ...(ngDevMode ? [{ debugName: "startPlaceholder" }] : /* istanbul ignore next */ []));
1564
+ endPlaceholder = input('Конец', /* @ts-ignore */
1565
+ ...(ngDevMode ? [{ debugName: "endPlaceholder" }] : /* istanbul ignore next */ []));
1566
+ startControl = input.required(/* @ts-ignore */
1567
+ ...(ngDevMode ? [{ debugName: "startControl" }] : /* istanbul ignore next */ []));
1568
+ endControl = input.required(/* @ts-ignore */
1569
+ ...(ngDevMode ? [{ debugName: "endControl" }] : /* istanbul ignore next */ []));
1570
+ size = input('m', /* @ts-ignore */
1571
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1572
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleDateTimeRangeInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1573
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.7", type: SimpleDateTimeRangeInputWidget, isStandalone: true, selector: "keit-simple-date-time-range-input-widget", inputs: { startPlaceholder: { classPropertyName: "startPlaceholder", publicName: "startPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, endPlaceholder: { classPropertyName: "endPlaceholder", publicName: "endPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, startControl: { classPropertyName: "startControl", publicName: "startControl", isSignal: true, isRequired: true, transformFunction: null }, endControl: { classPropertyName: "endControl", publicName: "endControl", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
1574
+ tuiInputDateTimeOptionsProvider({
1575
+ valueTransformer: {
1576
+ fromControlValue: (value) => {
1577
+ if (value?.toString() === 'Invalid Date') {
1578
+ return null;
1579
+ }
1580
+ return (value && [
1581
+ TuiDay.fromUtcNativeDate(value),
1582
+ new TuiTime(value.getUTCHours(), value.getUTCMinutes()),
1583
+ ]);
1584
+ },
1585
+ toControlValue: (value) => {
1586
+ const { hours = 0, minutes = 0 } = value?.[1] ?? {};
1587
+ return (value &&
1588
+ new Date(value[0]
1589
+ .toUtcNativeDate()
1590
+ .setUTCHours(hours, minutes)));
1591
+ },
1592
+ },
1593
+ }),
1594
+ ], ngImport: i0, template: `
1595
+ <keit-simple-date-time-input-widget
1596
+ [placeholder]="startPlaceholder()"
1597
+ [size]="size()"
1598
+ [control]="startControl()"
1599
+ />
1600
+ <keit-simple-date-time-input-widget
1601
+ [placeholder]="endPlaceholder()"
1602
+ [size]="size()"
1603
+ [control]="endControl()"
1604
+ />
1605
+ `, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "component", type: SimpleDateTimeInputWidget, selector: "keit-simple-date-time-input-widget", inputs: ["placeholder", "sample", "control", "size", "readonly", "hint", "iconRight", "cleaner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1606
+ }
1607
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleDateTimeRangeInputWidget, decorators: [{
1608
+ type: Component,
1609
+ args: [{ selector: 'keit-simple-date-time-range-input-widget', imports: [SimpleDateTimeInputWidget], template: `
1610
+ <keit-simple-date-time-input-widget
1611
+ [placeholder]="startPlaceholder()"
1612
+ [size]="size()"
1613
+ [control]="startControl()"
1614
+ />
1615
+ <keit-simple-date-time-input-widget
1616
+ [placeholder]="endPlaceholder()"
1617
+ [size]="size()"
1618
+ [control]="endControl()"
1619
+ />
1620
+ `, providers: [
1621
+ tuiInputDateTimeOptionsProvider({
1622
+ valueTransformer: {
1623
+ fromControlValue: (value) => {
1624
+ if (value?.toString() === 'Invalid Date') {
1625
+ return null;
1626
+ }
1627
+ return (value && [
1628
+ TuiDay.fromUtcNativeDate(value),
1629
+ new TuiTime(value.getUTCHours(), value.getUTCMinutes()),
1630
+ ]);
1631
+ },
1632
+ toControlValue: (value) => {
1633
+ const { hours = 0, minutes = 0 } = value?.[1] ?? {};
1634
+ return (value &&
1635
+ new Date(value[0]
1636
+ .toUtcNativeDate()
1637
+ .setUTCHours(hours, minutes)));
1638
+ },
1639
+ },
1640
+ }),
1641
+ ], changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:contents}\n"] }]
1642
+ }], propDecorators: { startPlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "startPlaceholder", required: false }] }], endPlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "endPlaceholder", required: false }] }], startControl: [{ type: i0.Input, args: [{ isSignal: true, alias: "startControl", required: true }] }], endControl: [{ type: i0.Input, args: [{ isSignal: true, alias: "endControl", required: true }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
1643
+
1465
1644
  class SimplePaginationWidget {
1466
- page = input.required(...(ngDevMode ? [{ debugName: "page" }] : /* istanbul ignore next */ []));
1467
- size = input.required(...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1468
- total = input.required(...(ngDevMode ? [{ debugName: "total" }] : /* istanbul ignore next */ []));
1645
+ page = input.required(/* @ts-ignore */
1646
+ ...(ngDevMode ? [{ debugName: "page" }] : /* istanbul ignore next */ []));
1647
+ size = input.required(/* @ts-ignore */
1648
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1649
+ total = input.required(/* @ts-ignore */
1650
+ ...(ngDevMode ? [{ debugName: "total" }] : /* istanbul ignore next */ []));
1469
1651
  paginationChange = output();
1470
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimplePaginationWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1471
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.8", type: SimplePaginationWidget, isStandalone: true, selector: "keit-simple-pagination", inputs: { page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: true, transformFunction: null }, total: { classPropertyName: "total", publicName: "total", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { paginationChange: "paginationChange" }, providers: [tuiTablePaginationOptionsProvider({ showPages: false })], ngImport: i0, template: `
1652
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimplePaginationWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1653
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.7", type: SimplePaginationWidget, isStandalone: true, selector: "keit-simple-pagination", inputs: { page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: true, transformFunction: null }, total: { classPropertyName: "total", publicName: "total", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { paginationChange: "paginationChange" }, providers: [tuiTablePaginationOptionsProvider({ showPages: false })], ngImport: i0, template: `
1472
1654
  <tui-table-pagination
1473
1655
  [page]="page()"
1474
1656
  [size]="size()"
@@ -1477,7 +1659,7 @@ class SimplePaginationWidget {
1477
1659
  />
1478
1660
  `, isInline: true, styles: [":host{display:block;padding:16px}\n"], dependencies: [{ kind: "component", type: TuiTablePagination, selector: "tui-table-pagination", inputs: ["items", "total", "page", "size"], outputs: ["pageChange", "sizeChange", "paginationChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1479
1661
  }
1480
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimplePaginationWidget, decorators: [{
1662
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimplePaginationWidget, decorators: [{
1481
1663
  type: Component,
1482
1664
  args: [{ selector: 'keit-simple-pagination', imports: [TuiTablePagination], template: `
1483
1665
  <tui-table-pagination
@@ -1491,17 +1673,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1491
1673
 
1492
1674
  class NotificationWidget {
1493
1675
  platformId = inject(PLATFORM_ID);
1494
- size = input('l', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1495
- appearance = input('info', ...(ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []));
1496
- closable = input(true, ...(ngDevMode ? [{ debugName: "closable" }] : /* istanbul ignore next */ []));
1497
- closeLabel = input('Close', ...(ngDevMode ? [{ debugName: "closeLabel" }] : /* istanbul ignore next */ []));
1676
+ size = input('l', /* @ts-ignore */
1677
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1678
+ appearance = input('info', /* @ts-ignore */
1679
+ ...(ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []));
1680
+ closable = input(true, /* @ts-ignore */
1681
+ ...(ngDevMode ? [{ debugName: "closable" }] : /* istanbul ignore next */ []));
1682
+ closeLabel = input('Close', /* @ts-ignore */
1683
+ ...(ngDevMode ? [{ debugName: "closeLabel" }] : /* istanbul ignore next */ []));
1498
1684
  closeEvent = output();
1499
- hideable = input(false, ...(ngDevMode ? [{ debugName: "hideable" }] : /* istanbul ignore next */ []));
1500
- hideButtonLabel = input('Больше не показывать', ...(ngDevMode ? [{ debugName: "hideButtonLabel" }] : /* istanbul ignore next */ []));
1501
- hideButtonAppearance = input('flat', ...(ngDevMode ? [{ debugName: "hideButtonAppearance" }] : /* istanbul ignore next */ []));
1502
- hideButtonSize = input('s', ...(ngDevMode ? [{ debugName: "hideButtonSize" }] : /* istanbul ignore next */ []));
1503
- storageKey = input(...(ngDevMode ? [undefined, { debugName: "storageKey" }] : /* istanbul ignore next */ []));
1504
- shouldShow = signal(true, ...(ngDevMode ? [{ debugName: "shouldShow" }] : /* istanbul ignore next */ []));
1685
+ hideable = input(false, /* @ts-ignore */
1686
+ ...(ngDevMode ? [{ debugName: "hideable" }] : /* istanbul ignore next */ []));
1687
+ hideButtonLabel = input('Больше не показывать', /* @ts-ignore */
1688
+ ...(ngDevMode ? [{ debugName: "hideButtonLabel" }] : /* istanbul ignore next */ []));
1689
+ hideButtonAppearance = input('flat', /* @ts-ignore */
1690
+ ...(ngDevMode ? [{ debugName: "hideButtonAppearance" }] : /* istanbul ignore next */ []));
1691
+ hideButtonSize = input('s', /* @ts-ignore */
1692
+ ...(ngDevMode ? [{ debugName: "hideButtonSize" }] : /* istanbul ignore next */ []));
1693
+ storageKey = input(/* @ts-ignore */
1694
+ ...(ngDevMode ? [undefined, { debugName: "storageKey" }] : /* istanbul ignore next */ []));
1695
+ shouldShow = signal(true, /* @ts-ignore */
1696
+ ...(ngDevMode ? [{ debugName: "shouldShow" }] : /* istanbul ignore next */ []));
1505
1697
  constructor() {
1506
1698
  effect(() => {
1507
1699
  const key = this.storageKey();
@@ -1518,8 +1710,8 @@ class NotificationWidget {
1518
1710
  this.shouldShow.set(false);
1519
1711
  }
1520
1712
  }
1521
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: NotificationWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1522
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: NotificationWidget, isStandalone: true, selector: "keit-notification-widget", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, closeLabel: { classPropertyName: "closeLabel", publicName: "closeLabel", isSignal: true, isRequired: false, transformFunction: null }, hideable: { classPropertyName: "hideable", publicName: "hideable", isSignal: true, isRequired: false, transformFunction: null }, hideButtonLabel: { classPropertyName: "hideButtonLabel", publicName: "hideButtonLabel", isSignal: true, isRequired: false, transformFunction: null }, hideButtonAppearance: { classPropertyName: "hideButtonAppearance", publicName: "hideButtonAppearance", isSignal: true, isRequired: false, transformFunction: null }, hideButtonSize: { classPropertyName: "hideButtonSize", publicName: "hideButtonSize", isSignal: true, isRequired: false, transformFunction: null }, storageKey: { classPropertyName: "storageKey", publicName: "storageKey", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closeEvent: "closeEvent" }, ngImport: i0, template: `
1713
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: NotificationWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1714
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: NotificationWidget, isStandalone: true, selector: "keit-notification-widget", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, closeLabel: { classPropertyName: "closeLabel", publicName: "closeLabel", isSignal: true, isRequired: false, transformFunction: null }, hideable: { classPropertyName: "hideable", publicName: "hideable", isSignal: true, isRequired: false, transformFunction: null }, hideButtonLabel: { classPropertyName: "hideButtonLabel", publicName: "hideButtonLabel", isSignal: true, isRequired: false, transformFunction: null }, hideButtonAppearance: { classPropertyName: "hideButtonAppearance", publicName: "hideButtonAppearance", isSignal: true, isRequired: false, transformFunction: null }, hideButtonSize: { classPropertyName: "hideButtonSize", publicName: "hideButtonSize", isSignal: true, isRequired: false, transformFunction: null }, storageKey: { classPropertyName: "storageKey", publicName: "storageKey", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closeEvent: "closeEvent" }, ngImport: i0, template: `
1523
1715
  @if (shouldShow()) {
1524
1716
  <!-- TODO: (Taiga UI migration) [appearance] binding uses a dynamic expression. If it can produce "error"/"success"/"glass", replace with "negative"/"positive"/"secondary-grayscale" -->
1525
1717
  <div tuiNotification [size]="size()" [appearance]="appearance()">
@@ -1547,7 +1739,7 @@ class NotificationWidget {
1547
1739
  }
1548
1740
  `, isInline: true, styles: [":host{display:block;margin-bottom:8px}.text{font-size:12px;padding:8px 8px 0}\n"], dependencies: [{ kind: "directive", type: i3.TuiNotificationDirective, selector: "[tuiNotification]:not(ng-template)", inputs: ["appearance", "size", "icon"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }, { kind: "component", type: SimpleButtonWidget, selector: "keit-simple-button", inputs: ["icon", "iconRight", "disabled", "caption", "ariaLabel", "size", "appearance"], outputs: ["action"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1549
1741
  }
1550
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: NotificationWidget, decorators: [{
1742
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: NotificationWidget, decorators: [{
1551
1743
  type: Component,
1552
1744
  args: [{ selector: 'keit-notification-widget', imports: [TuiNotification, TuiButton, SimpleButtonWidget], template: `
1553
1745
  @if (shouldShow()) {
@@ -1579,14 +1771,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1579
1771
  }], ctorParameters: () => [], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], appearance: [{ type: i0.Input, args: [{ isSignal: true, alias: "appearance", required: false }] }], closable: [{ type: i0.Input, args: [{ isSignal: true, alias: "closable", required: false }] }], closeLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeLabel", required: false }] }], closeEvent: [{ type: i0.Output, args: ["closeEvent"] }], hideable: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideable", required: false }] }], hideButtonLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideButtonLabel", required: false }] }], hideButtonAppearance: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideButtonAppearance", required: false }] }], hideButtonSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideButtonSize", required: false }] }], storageKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "storageKey", required: false }] }] } });
1580
1772
 
1581
1773
  class SimpleCalendarWidget {
1582
- markerConditionFn = input(null, ...(ngDevMode ? [{ debugName: "markerConditionFn" }] : /* istanbul ignore next */ []));
1583
- initialMonth = input(null, ...(ngDevMode ? [{ debugName: "initialMonth" }] : /* istanbul ignore next */ []));
1584
- initialDay = input(null, ...(ngDevMode ? [{ debugName: "initialDay" }] : /* istanbul ignore next */ []));
1774
+ markerConditionFn = input(null, /* @ts-ignore */
1775
+ ...(ngDevMode ? [{ debugName: "markerConditionFn" }] : /* istanbul ignore next */ []));
1776
+ specificDayes = input([], /* @ts-ignore */
1777
+ ...(ngDevMode ? [{ debugName: "specificDayes" }] : /* istanbul ignore next */ []));
1778
+ initialMonth = input(null, /* @ts-ignore */
1779
+ ...(ngDevMode ? [{ debugName: "initialMonth" }] : /* istanbul ignore next */ []));
1780
+ initialDay = input(null, /* @ts-ignore */
1781
+ ...(ngDevMode ? [{ debugName: "initialDay" }] : /* istanbul ignore next */ []));
1585
1782
  selectDay = output();
1586
1783
  selectMonth = output();
1587
1784
  value = null;
1588
1785
  selectedMonth = TuiMonth.currentLocal();
1589
1786
  hoveredItem = null;
1787
+ disabledDayesHandler = (day) => {
1788
+ return !this.specificDayes().some((specificDay) => specificDay.year === day.year &&
1789
+ specificDay.month === day.month &&
1790
+ specificDay.day === day.day);
1791
+ };
1590
1792
  ngOnInit() {
1591
1793
  const initialMonth = this.initialMonth();
1592
1794
  if (initialMonth) {
@@ -1608,8 +1810,8 @@ class SimpleCalendarWidget {
1608
1810
  this.value = new TuiDay(month.year, month.month, 1);
1609
1811
  this.selectDay.emit(this.value);
1610
1812
  }
1611
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleCalendarWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1612
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.8", type: SimpleCalendarWidget, isStandalone: true, selector: "keit-simple-calendar-widget", inputs: { markerConditionFn: { classPropertyName: "markerConditionFn", publicName: "markerConditionFn", isSignal: true, isRequired: false, transformFunction: null }, initialMonth: { classPropertyName: "initialMonth", publicName: "initialMonth", isSignal: true, isRequired: false, transformFunction: null }, initialDay: { classPropertyName: "initialDay", publicName: "initialDay", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectDay: "selectDay", selectMonth: "selectMonth" }, ngImport: i0, template: `
1813
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleCalendarWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1814
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.7", type: SimpleCalendarWidget, isStandalone: true, selector: "keit-simple-calendar-widget", inputs: { markerConditionFn: { classPropertyName: "markerConditionFn", publicName: "markerConditionFn", isSignal: true, isRequired: false, transformFunction: null }, specificDayes: { classPropertyName: "specificDayes", publicName: "specificDayes", isSignal: true, isRequired: false, transformFunction: null }, initialMonth: { classPropertyName: "initialMonth", publicName: "initialMonth", isSignal: true, isRequired: false, transformFunction: null }, initialDay: { classPropertyName: "initialDay", publicName: "initialDay", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectDay: "selectDay", selectMonth: "selectMonth" }, ngImport: i0, template: `
1613
1815
  <tui-calendar
1614
1816
  [markerHandler]="this.markerConditionFn()"
1615
1817
  [month]="selectedMonth"
@@ -1618,10 +1820,11 @@ class SimpleCalendarWidget {
1618
1820
  [(hoveredItem)]="hoveredItem"
1619
1821
  (dayClick)="onDayClick($event)"
1620
1822
  (monthChange)="onMonthChange($event)"
1823
+ [disabledItemHandler]="disabledDayesHandler"
1621
1824
  />
1622
- `, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: FormsModule }, { kind: "component", type: TuiCalendar, selector: "tui-calendar", inputs: ["disabledItemHandler", "min", "max", "minViewedMonth", "maxViewedMonth", "showAdjacent", "markerHandler", "initialView", "month", "hoveredItem", "value"], outputs: ["monthChange", "hoveredItemChange", "valueChange", "dayClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1825
+ `, isInline: true, styles: [":host{display:block}::ng-deep tui-calendar-sheet [data-type=event]:before{background-color:#85bd84;border:2px dotted black}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: FormsModule }, { kind: "component", type: TuiCalendar, selector: "tui-calendar:not([new])", inputs: ["minViewedMonth", "maxViewedMonth", "showAdjacent", "markerHandler", "initialView", "hoveredItem"], outputs: ["hoveredItemChange", "dayClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1623
1826
  }
1624
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleCalendarWidget, decorators: [{
1827
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleCalendarWidget, decorators: [{
1625
1828
  type: Component,
1626
1829
  args: [{ selector: 'keit-simple-calendar-widget', imports: [ReactiveFormsModule, FormsModule, TuiCalendar], template: `
1627
1830
  <tui-calendar
@@ -1632,324 +1835,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1632
1835
  [(hoveredItem)]="hoveredItem"
1633
1836
  (dayClick)="onDayClick($event)"
1634
1837
  (monthChange)="onMonthChange($event)"
1838
+ [disabledItemHandler]="disabledDayesHandler"
1635
1839
  />
1636
- `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}\n"] }]
1637
- }], propDecorators: { markerConditionFn: [{ type: i0.Input, args: [{ isSignal: true, alias: "markerConditionFn", required: false }] }], initialMonth: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialMonth", required: false }] }], initialDay: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialDay", required: false }] }], selectDay: [{ type: i0.Output, args: ["selectDay"] }], selectMonth: [{ type: i0.Output, args: ["selectMonth"] }] } });
1638
-
1639
- let NameDescriptionComponent$1 = class NameDescriptionComponent {
1640
- context = injectContext();
1641
- name = KeitControl.create('')
1642
- .required()
1643
- .minLength(3)
1644
- .maxLength(255);
1645
- description = KeitControl.create('')
1646
- .required()
1647
- .minLength(3)
1648
- .maxLength(1024);
1649
- cancel() {
1650
- this.name.reset();
1651
- this.description.reset();
1652
- }
1653
- accept() {
1654
- this.context.completeWith({
1655
- name: this.name.value,
1656
- description: this.description.value,
1657
- });
1658
- this.name.reset();
1659
- this.description.reset();
1660
- }
1661
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: NameDescriptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1662
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.8", type: NameDescriptionComponent, isStandalone: true, selector: "keit-name-description-component", providers: [validatorsProvider], ngImport: i0, template: `
1663
- <keit-simple-flex [gap]="8" direction="vertical">
1664
- <keit-simple-input-widget
1665
- [control]="name"
1666
- placeholder="Название"
1667
- sample="Введите тут название"
1668
- />
1669
-
1670
- <keit-simple-textarea
1671
- placeholder="Описание"
1672
- [limit]="1024"
1673
- [control]="description"
1674
- [size]="'m'"
1675
- sample="Введите тут описание"
1676
- />
1677
-
1678
- <keit-simple-actions
1679
- [size]="'s'"
1680
- (cancelEvent)="cancel(); context.completeWith(null)"
1681
- (acceptEvent)="accept()"
1682
- [disabled]="name.invalid || description.invalid"
1683
- />
1684
- </keit-simple-flex>
1685
- `, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: SimpleInputWidget, selector: "keit-simple-input-widget", inputs: ["placeholder", "sample", "control", "size", "readonly", "hint", "iconRight", "cleaner", "hasEnter", "focused"], outputs: ["enter"] }, { kind: "component", type: SimpleTextareaWidget, selector: "keit-simple-textarea", inputs: ["placeholder", "sample", "control", "limit", "size", "cleaner"] }, { kind: "component", type: SimpleActionsWidget, selector: "keit-simple-actions", inputs: ["primaryIcon", "secondaryIcon", "disabled", "primaryCaption", "secondaryCaption", "hasSecondary", "size"], outputs: ["acceptEvent", "cancelEvent"] }, { kind: "component", type: SimpleFlexLayout, selector: "keit-simple-flex", inputs: ["gap", "direction"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1686
- };
1687
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: NameDescriptionComponent$1, decorators: [{
1688
- type: Component,
1689
- args: [{ selector: 'keit-name-description-component', imports: [
1690
- FormsModule,
1691
- ReactiveFormsModule,
1692
- TuiInput,
1693
- SimpleInputWidget,
1694
- SimpleTextareaWidget,
1695
- SimpleActionsWidget,
1696
- SimpleFlexLayout,
1697
- ], template: `
1698
- <keit-simple-flex [gap]="8" direction="vertical">
1699
- <keit-simple-input-widget
1700
- [control]="name"
1701
- placeholder="Название"
1702
- sample="Введите тут название"
1703
- />
1704
-
1705
- <keit-simple-textarea
1706
- placeholder="Описание"
1707
- [limit]="1024"
1708
- [control]="description"
1709
- [size]="'m'"
1710
- sample="Введите тут описание"
1711
- />
1712
-
1713
- <keit-simple-actions
1714
- [size]="'s'"
1715
- (cancelEvent)="cancel(); context.completeWith(null)"
1716
- (acceptEvent)="accept()"
1717
- [disabled]="name.invalid || description.invalid"
1718
- />
1719
- </keit-simple-flex>
1720
- `, providers: [validatorsProvider], changeDetection: ChangeDetectionStrategy.OnPush }]
1721
- }] });
1722
-
1723
- class NameDescriptionDialog {
1724
- dialogs = inject(TuiDialogService);
1725
- injector = inject(Injector);
1726
- operation = input('create', ...(ngDevMode ? [{ debugName: "operation" }] : /* istanbul ignore next */ []));
1727
- disabled = input(...(ngDevMode ? [undefined, { debugName: "disabled" }] : /* istanbul ignore next */ []));
1728
- caption = input(...(ngDevMode ? [undefined, { debugName: "caption" }] : /* istanbul ignore next */ []));
1729
- size = input('m', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1730
- appearance = input('primary', ...(ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []));
1731
- result = output();
1732
- openDialog() {
1733
- this.dialogs
1734
- .open(new PolymorpheusComponent(NameDescriptionComponent$1, this.injector), {
1735
- label: `${this.operation() === 'create' ? 'Добавить' : 'Редактировать'}`,
1736
- size: 's',
1737
- dismissible: false,
1738
- })
1739
- .subscribe((data) => {
1740
- this.result.emit(data != null
1741
- ? {
1742
- name: data.name,
1743
- description: data.description,
1744
- }
1745
- : null);
1746
- });
1747
- }
1748
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: NameDescriptionDialog, deps: [], target: i0.ɵɵFactoryTarget.Component });
1749
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.8", type: NameDescriptionDialog, isStandalone: true, selector: "keit-name-description-input-dialog", inputs: { operation: { classPropertyName: "operation", publicName: "operation", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, caption: { classPropertyName: "caption", publicName: "caption", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { result: "result" }, ngImport: i0, template: `
1750
- <!-- TODO: (Taiga UI migration) [appearance] binding uses a dynamic expression. If it can produce "error"/"success"/"glass", replace with "negative"/"positive"/"secondary-grayscale" -->
1751
- <keit-simple-button
1752
- [icon]="operation() === 'create' ? '@tui.plus' : '@tui.edit'"
1753
- [size]="size()"
1754
- [caption]="caption()"
1755
- [appearance]="appearance()"
1756
- [disabled]="disabled()"
1757
- (action)="openDialog()"
1758
- />
1759
- `, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: SimpleButtonWidget, selector: "keit-simple-button", inputs: ["icon", "iconRight", "disabled", "caption", "ariaLabel", "size", "appearance"], outputs: ["action"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1760
- }
1761
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: NameDescriptionDialog, decorators: [{
1762
- type: Component,
1763
- args: [{ selector: 'keit-name-description-input-dialog', imports: [FormsModule, ReactiveFormsModule, TuiInput, SimpleButtonWidget], template: `
1764
- <!-- TODO: (Taiga UI migration) [appearance] binding uses a dynamic expression. If it can produce "error"/"success"/"glass", replace with "negative"/"positive"/"secondary-grayscale" -->
1765
- <keit-simple-button
1766
- [icon]="operation() === 'create' ? '@tui.plus' : '@tui.edit'"
1767
- [size]="size()"
1768
- [caption]="caption()"
1769
- [appearance]="appearance()"
1770
- [disabled]="disabled()"
1771
- (action)="openDialog()"
1772
- />
1773
- `, changeDetection: ChangeDetectionStrategy.OnPush }]
1774
- }], propDecorators: { operation: [{ type: i0.Input, args: [{ isSignal: true, alias: "operation", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], caption: [{ type: i0.Input, args: [{ isSignal: true, alias: "caption", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], appearance: [{ type: i0.Input, args: [{ isSignal: true, alias: "appearance", required: false }] }], result: [{ type: i0.Output, args: ["result"] }] } });
1775
-
1776
- class NameDescriptionComponent {
1777
- context = injectContext();
1778
- name = KeitControl.create('')
1779
- .required()
1780
- .maxLength(30)
1781
- .minLength(2);
1782
- description = KeitControl.create('')
1783
- .required()
1784
- .maxLength(300)
1785
- .minLength(2);
1786
- cancel() {
1787
- this.name.reset();
1788
- this.description.reset();
1789
- }
1790
- accept() {
1791
- this.context.completeWith({
1792
- name: this.name.value,
1793
- description: this.description.value,
1794
- });
1795
- this.name.reset();
1796
- this.description.reset();
1797
- }
1798
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: NameDescriptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1799
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.8", type: NameDescriptionComponent, isStandalone: true, selector: "keit-name-component", providers: [
1800
- tuiValidationErrorsProvider({
1801
- required: 'Требуется ввести',
1802
- maxlength: ({ requiredLength }) => `Максимальная длина — ${requiredLength}`,
1803
- minlength: ({ requiredLength }) => of(`Минимальная длина — ${requiredLength}`),
1804
- }),
1805
- ], ngImport: i0, template: `
1806
- <keit-simple-flex [gap]="8" direction="vertical">
1807
- <keit-simple-input-widget [control]="name" placeholder="Название" />
1808
-
1809
- <keit-simple-textarea
1810
- placeholder="Описание"
1811
- [limit]="1200"
1812
- [control]="description"
1813
- [size]="'m'"
1814
- />
1815
-
1816
- <keit-simple-actions
1817
- [size]="'s'"
1818
- (cancelEvent)="cancel(); context.completeWith(null)"
1819
- (acceptEvent)="accept()"
1820
- [disabled]="name.invalid || description.invalid"
1821
- />
1822
- </keit-simple-flex>
1823
- `, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: SimpleInputWidget, selector: "keit-simple-input-widget", inputs: ["placeholder", "sample", "control", "size", "readonly", "hint", "iconRight", "cleaner", "hasEnter", "focused"], outputs: ["enter"] }, { kind: "component", type: SimpleTextareaWidget, selector: "keit-simple-textarea", inputs: ["placeholder", "sample", "control", "limit", "size", "cleaner"] }, { kind: "component", type: SimpleActionsWidget, selector: "keit-simple-actions", inputs: ["primaryIcon", "secondaryIcon", "disabled", "primaryCaption", "secondaryCaption", "hasSecondary", "size"], outputs: ["acceptEvent", "cancelEvent"] }, { kind: "component", type: SimpleFlexLayout, selector: "keit-simple-flex", inputs: ["gap", "direction"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1824
- }
1825
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: NameDescriptionComponent, decorators: [{
1826
- type: Component,
1827
- args: [{ selector: 'keit-name-component', imports: [
1828
- FormsModule,
1829
- ReactiveFormsModule,
1830
- TuiInput,
1831
- SimpleInputWidget,
1832
- SimpleTextareaWidget,
1833
- SimpleActionsWidget,
1834
- SimpleFlexLayout,
1835
- ], template: `
1836
- <keit-simple-flex [gap]="8" direction="vertical">
1837
- <keit-simple-input-widget [control]="name" placeholder="Название" />
1838
-
1839
- <keit-simple-textarea
1840
- placeholder="Описание"
1841
- [limit]="1200"
1842
- [control]="description"
1843
- [size]="'m'"
1844
- />
1845
-
1846
- <keit-simple-actions
1847
- [size]="'s'"
1848
- (cancelEvent)="cancel(); context.completeWith(null)"
1849
- (acceptEvent)="accept()"
1850
- [disabled]="name.invalid || description.invalid"
1851
- />
1852
- </keit-simple-flex>
1853
- `, providers: [
1854
- tuiValidationErrorsProvider({
1855
- required: 'Требуется ввести',
1856
- maxlength: ({ requiredLength }) => `Максимальная длина — ${requiredLength}`,
1857
- minlength: ({ requiredLength }) => of(`Минимальная длина — ${requiredLength}`),
1858
- }),
1859
- ], changeDetection: ChangeDetectionStrategy.OnPush }]
1860
- }] });
1861
-
1862
- class NameDialog {
1863
- dialogs = inject(TuiDialogService);
1864
- injector = inject(Injector);
1865
- operation = input('create', ...(ngDevMode ? [{ debugName: "operation" }] : /* istanbul ignore next */ []));
1866
- disabled = input(...(ngDevMode ? [undefined, { debugName: "disabled" }] : /* istanbul ignore next */ []));
1867
- caption = input(...(ngDevMode ? [undefined, { debugName: "caption" }] : /* istanbul ignore next */ []));
1868
- size = input('m', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1869
- appearance = input('primary', ...(ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []));
1870
- result = output();
1871
- openDialog() {
1872
- this.dialogs
1873
- .open(new PolymorpheusComponent(NameDescriptionComponent, this.injector), {
1874
- label: `${this.operation() === 'create' ? 'Добавить' : 'Редактировать'}`,
1875
- size: 's',
1876
- dismissible: false,
1877
- })
1878
- .subscribe((data) => {
1879
- this.result.emit(data != null
1880
- ? {
1881
- name: data.name,
1882
- description: data.description,
1883
- }
1884
- : null);
1885
- });
1886
- }
1887
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: NameDialog, deps: [], target: i0.ɵɵFactoryTarget.Component });
1888
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.8", type: NameDialog, isStandalone: true, selector: "keit-name-input-dialog", inputs: { operation: { classPropertyName: "operation", publicName: "operation", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, caption: { classPropertyName: "caption", publicName: "caption", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { result: "result" }, ngImport: i0, template: `
1889
- <!-- TODO: (Taiga UI migration) [appearance] binding uses a dynamic expression. If it can produce "error"/"success"/"glass", replace with "negative"/"positive"/"secondary-grayscale" -->
1890
- <keit-simple-button
1891
- [icon]="operation() === 'create' ? '@tui.plus' : '@tui.edit'"
1892
- [size]="size()"
1893
- [caption]="caption()"
1894
- [appearance]="appearance()"
1895
- [disabled]="disabled()"
1896
- (action)="openDialog()"
1897
- />
1898
- `, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: SimpleButtonWidget, selector: "keit-simple-button", inputs: ["icon", "iconRight", "disabled", "caption", "ariaLabel", "size", "appearance"], outputs: ["action"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1899
- }
1900
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: NameDialog, decorators: [{
1901
- type: Component,
1902
- args: [{ selector: 'keit-name-input-dialog', imports: [FormsModule, ReactiveFormsModule, TuiInput, SimpleButtonWidget], template: `
1903
- <!-- TODO: (Taiga UI migration) [appearance] binding uses a dynamic expression. If it can produce "error"/"success"/"glass", replace with "negative"/"positive"/"secondary-grayscale" -->
1904
- <keit-simple-button
1905
- [icon]="operation() === 'create' ? '@tui.plus' : '@tui.edit'"
1906
- [size]="size()"
1907
- [caption]="caption()"
1908
- [appearance]="appearance()"
1909
- [disabled]="disabled()"
1910
- (action)="openDialog()"
1911
- />
1912
- `, changeDetection: ChangeDetectionStrategy.OnPush }]
1913
- }], propDecorators: { operation: [{ type: i0.Input, args: [{ isSignal: true, alias: "operation", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], caption: [{ type: i0.Input, args: [{ isSignal: true, alias: "caption", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], appearance: [{ type: i0.Input, args: [{ isSignal: true, alias: "appearance", required: false }] }], result: [{ type: i0.Output, args: ["result"] }] } });
1914
-
1915
- class ReloadOverlayWidget {
1916
- reload = output();
1917
- overlayed = input(...(ngDevMode ? [undefined, { debugName: "overlayed" }] : /* istanbul ignore next */ []));
1918
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ReloadOverlayWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1919
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: ReloadOverlayWidget, isStandalone: true, selector: "keit-reload-overlay", inputs: { overlayed: { classPropertyName: "overlayed", publicName: "overlayed", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { reload: "reload" }, ngImport: i0, template: `
1920
- <div [class.overlay]="overlayed()">
1921
- @if (overlayed()) {
1922
- <keit-simple-button
1923
- icon="@tui.refresh-ccw"
1924
- appearance="accent"
1925
- size="l"
1926
- caption=""
1927
- (action)="reload.emit()"
1928
- />
1929
- } @else {
1930
- <ng-content />
1931
- }
1932
- </div>
1933
- `, isInline: true, styles: [".overlay{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1rem;background-color:#0009;z-index:1000;pointer-events:auto}::ng-deep keit-simple-button{z-index:1001}\n"], dependencies: [{ kind: "component", type: SimpleButtonWidget, selector: "keit-simple-button", inputs: ["icon", "iconRight", "disabled", "caption", "ariaLabel", "size", "appearance"], outputs: ["action"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1934
- }
1935
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ReloadOverlayWidget, decorators: [{
1936
- type: Component,
1937
- args: [{ selector: 'keit-reload-overlay', imports: [SimpleButtonWidget], template: `
1938
- <div [class.overlay]="overlayed()">
1939
- @if (overlayed()) {
1940
- <keit-simple-button
1941
- icon="@tui.refresh-ccw"
1942
- appearance="accent"
1943
- size="l"
1944
- caption=""
1945
- (action)="reload.emit()"
1946
- />
1947
- } @else {
1948
- <ng-content />
1949
- }
1950
- </div>
1951
- `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".overlay{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1rem;background-color:#0009;z-index:1000;pointer-events:auto}::ng-deep keit-simple-button{z-index:1001}\n"] }]
1952
- }], propDecorators: { reload: [{ type: i0.Output, args: ["reload"] }], overlayed: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlayed", required: false }] }] } });
1840
+ `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}::ng-deep tui-calendar-sheet [data-type=event]:before{background-color:#85bd84;border:2px dotted black}\n"] }]
1841
+ }], propDecorators: { markerConditionFn: [{ type: i0.Input, args: [{ isSignal: true, alias: "markerConditionFn", required: false }] }], specificDayes: [{ type: i0.Input, args: [{ isSignal: true, alias: "specificDayes", required: false }] }], initialMonth: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialMonth", required: false }] }], initialDay: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialDay", required: false }] }], selectDay: [{ type: i0.Output, args: ["selectDay"] }], selectMonth: [{ type: i0.Output, args: ["selectMonth"] }] } });
1953
1842
 
1954
1843
  /*
1955
1844
  * Public API Surface of widgets
@@ -1959,5 +1848,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1959
1848
  * Generated bundle index. Do not edit.
1960
1849
  */
1961
1850
 
1962
- export { EmailInputWidget, KeitControl, LoginInputWidget, NameDescriptionDialog, NameDialog, NotificationWidget, PATTERN_CHARS_WITH_SPACE, PATTERN_ONLY_CHARS, PATTERN_ONLY_DIGITS, PATTERN_ONLY_DIGITS_CHARS, PATTERN_ONLY_DIGITS_CHARS_TIRE, PATTERN_PHONE, PATTERN_REF_CATEGORIES, PasswordInputWidget, ReloadOverlayWidget, SimpleActionsWidget, SimpleButtonWidget, SimpleCalendarWidget, SimpleComboWidget, SimpleCopyInputWidget, SimpleDateInputWidget, SimpleDateRangeInputWidget, SimpleFlexLayout, SimpleGridLayout, SimpleInputWidget, SimpleNumberInputWidget, SimplePaginationWidget, SimplePasswordInputWidget, SimplePhoneInputWidget, SimpleSelectWidget, SimpleTextareaWidget, validatorsProvider };
1851
+ export { EmailInputWidget, KeitControl, LoginInputWidget, NotificationWidget, PATTERN_CHARS_WITH_SPACE, PATTERN_ONLY_CHARS, PATTERN_ONLY_DIGITS, PATTERN_ONLY_DIGITS_CHARS, PATTERN_ONLY_DIGITS_CHARS_TIRE, PATTERN_PHONE, PATTERN_REF_CATEGORIES, PasswordInputWidget, SimpleActionsWidget, SimpleButtonWidget, SimpleCalendarWidget, SimpleComboWidget, SimpleCopyInputWidget, SimpleDateInputWidget, SimpleDateRangeInputWidget, SimpleDateTimeInputWidget, SimpleDateTimeRangeInputWidget, SimpleInputWidget, SimpleNumberInputWidget, SimplePaginationWidget, SimplePasswordInputWidget, SimplePhoneInputWidget, SimpleSelectWidget, SimpleTextareaWidget, validatorsProvider };
1963
1852
  //# sourceMappingURL=pleione-lab-widgets.mjs.map