@pleione-lab/widgets 1.0.10 → 1.0.13

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,12 @@ 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
+ field = input(/* @ts-ignore */
352
+ ...(ngDevMode ? [undefined, { debugName: "field" }] : /* istanbul ignore next */ []));
353
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: FieldValidation, deps: [], target: i0.ɵɵFactoryTarget.Component });
354
+ 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 }, field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
347
355
  @let controlValue = control();
348
356
 
349
357
  @if (controlValue) {
@@ -351,7 +359,7 @@ class FieldValidation {
351
359
  }
352
360
  `, 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
361
  }
354
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FieldValidation, decorators: [{
362
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: FieldValidation, decorators: [{
355
363
  type: Component,
356
364
  args: [{ selector: 'keit-field-validation', imports: [ReactiveFormsModule, TuiError], template: `
357
365
  @let controlValue = control();
@@ -363,17 +371,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
363
371
  }], propDecorators: { control: [{ type: i0.Input, args: [{ isSignal: true, alias: "control", required: false }] }], field: [{ type: i0.Input, args: [{ isSignal: true, alias: "field", required: false }] }] } });
364
372
 
365
373
  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 */ []));
374
+ placeholder = input.required(/* @ts-ignore */
375
+ ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
376
+ control = input.required(/* @ts-ignore */
377
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
378
+ items = input(/* @ts-ignore */
379
+ ...(ngDevMode ? [undefined, { debugName: "items" }] : /* istanbul ignore next */ []));
380
+ size = input('m', /* @ts-ignore */
381
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
382
+ hint = input('', /* @ts-ignore */
383
+ ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
384
+ cleaner = input(/* @ts-ignore */
385
+ ...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
372
386
  stringify = (item2) => {
373
387
  return this.items()?.find((item) => item.id === item2.id)?.name ?? '';
374
388
  };
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: `
389
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleSelectWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
390
+ 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
391
  <tui-textfield
378
392
  tuiChevron
379
393
  [stringify]="stringify"
@@ -394,9 +408,9 @@ class SimpleSelectWidget {
394
408
  </tui-textfield>
395
409
 
396
410
  <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 });
411
+ `, 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", "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 });
398
412
  }
399
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleSelectWidget, decorators: [{
413
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleSelectWidget, decorators: [{
400
414
  type: Component,
401
415
  args: [{ selector: 'keit-simple-select-widget', imports: [
402
416
  ReactiveFormsModule,
@@ -435,19 +449,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
435
449
  class SimpleComboWidget {
436
450
  destroyRef = inject(DestroyRef);
437
451
  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 */ []));
452
+ placeholder = input.required(/* @ts-ignore */
453
+ ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
454
+ control = input.required(/* @ts-ignore */
455
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
456
+ size = input('m', /* @ts-ignore */
457
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
458
+ hint = input('', /* @ts-ignore */
459
+ ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
460
+ cleaner = input(/* @ts-ignore */
461
+ ...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
462
+ loading = signal(false, /* @ts-ignore */
463
+ ...(ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []));
464
+ responseReady = signal(false, /* @ts-ignore */
465
+ ...(ngDevMode ? [{ debugName: "responseReady" }] : /* istanbul ignore next */ []));
445
466
  add = output();
446
467
  // eslint-disable-next-line @angular-eslint/prefer-signals
447
468
  emptyTemplate;
448
469
  // eslint-disable-next-line @angular-eslint/prefer-signals
449
470
  inputRef;
450
- searchedItems = signal([], ...(ngDevMode ? [{ debugName: "searchedItems" }] : /* istanbul ignore next */ []));
471
+ searchedItems = signal([], /* @ts-ignore */
472
+ ...(ngDevMode ? [{ debugName: "searchedItems" }] : /* istanbul ignore next */ []));
451
473
  items = computed(() => {
452
474
  const value = this.control().value;
453
475
  const searched = this.searchedItems();
@@ -460,8 +482,10 @@ class SimpleComboWidget {
460
482
  return searched;
461
483
  }
462
484
  return [...searched, value];
463
- }, ...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
464
- backendRequest = input.required(...(ngDevMode ? [{ debugName: "backendRequest" }] : /* istanbul ignore next */ []));
485
+ }, /* @ts-ignore */
486
+ ...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
487
+ backendRequest = input.required(/* @ts-ignore */
488
+ ...(ngDevMode ? [{ debugName: "backendRequest" }] : /* istanbul ignore next */ []));
465
489
  stringify = (item2) => {
466
490
  const items = this.items();
467
491
  const found = items?.find((item) => item.id === item2.id);
@@ -491,8 +515,8 @@ class SimpleComboWidget {
491
515
  this.searchedItems.set([item]);
492
516
  }
493
517
  }
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: `
518
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleComboWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
519
+ 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
520
  <tui-textfield
497
521
  tuiChevron
498
522
  [stringify]="stringify"
@@ -550,9 +574,9 @@ class SimpleComboWidget {
550
574
 
551
575
  <keit-field-validation [control]="control()" />
552
576
  </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 });
577
+ `, 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", "field"] }, { kind: "pipe", type: TuiFilterByInputPipe, name: "tuiFilterByInput" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
554
578
  }
555
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleComboWidget, decorators: [{
579
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleComboWidget, decorators: [{
556
580
  type: Component,
557
581
  args: [{ selector: 'keit-simple-combo-widget', imports: [
558
582
  ReactiveFormsModule,
@@ -635,19 +659,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
635
659
  }], backendRequest: [{ type: i0.Input, args: [{ isSignal: true, alias: "backendRequest", required: true }] }] } });
636
660
 
637
661
  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 */ []));
662
+ placeholder = input.required(/* @ts-ignore */
663
+ ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
664
+ sample = input(/* @ts-ignore */
665
+ ...(ngDevMode ? [undefined, { debugName: "sample" }] : /* istanbul ignore next */ []));
666
+ hint = input(/* @ts-ignore */
667
+ ...(ngDevMode ? [undefined, { debugName: "hint" }] : /* istanbul ignore next */ []));
668
+ control = input.required(/* @ts-ignore */
669
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
670
+ min = input.required(/* @ts-ignore */
671
+ ...(ngDevMode ? [{ debugName: "min" }] : /* istanbul ignore next */ []));
672
+ max = input.required(/* @ts-ignore */
673
+ ...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
674
+ size = input('m', /* @ts-ignore */
675
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
676
+ postfix = input(/* @ts-ignore */
677
+ ...(ngDevMode ? [undefined, { debugName: "postfix" }] : /* istanbul ignore next */ []));
678
+ cleaner = input(/* @ts-ignore */
679
+ ...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
680
+ step = input(/* @ts-ignore */
681
+ ...(ngDevMode ? [undefined, { debugName: "step" }] : /* istanbul ignore next */ []));
648
682
  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: `
683
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleNumberInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
684
+ 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
685
  <tui-textfield
652
686
  [tuiTextfieldSize]="size()"
653
687
  [tuiTextfieldCleaner]="cleaner() ?? false"
@@ -686,9 +720,9 @@ class SimpleNumberInputWidget {
686
720
  </tui-textfield>
687
721
 
688
722
  <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 });
723
+ `, 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", "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 });
690
724
  }
691
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleNumberInputWidget, decorators: [{
725
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleNumberInputWidget, decorators: [{
692
726
  type: Component,
693
727
  args: [{ selector: 'keit-simple-number-input-widget', imports: [
694
728
  ReactiveFormsModule,
@@ -742,19 +776,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
742
776
  }], 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
777
 
744
778
  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 */ []));
779
+ placeholder = input(/* @ts-ignore */
780
+ ...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
781
+ sample = input('Введите...', /* @ts-ignore */
782
+ ...(ngDevMode ? [{ debugName: "sample" }] : /* istanbul ignore next */ []));
783
+ control = input.required(/* @ts-ignore */
784
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
785
+ size = input('m', /* @ts-ignore */
786
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
787
+ readonly = input(false, /* @ts-ignore */
788
+ ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
789
+ hint = input('', /* @ts-ignore */
790
+ ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
791
+ iconRight = input('', /* @ts-ignore */
792
+ ...(ngDevMode ? [{ debugName: "iconRight" }] : /* istanbul ignore next */ []));
793
+ cleaner = input(/* @ts-ignore */
794
+ ...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
795
+ hasEnter = input(/* @ts-ignore */
796
+ ...(ngDevMode ? [undefined, { debugName: "hasEnter" }] : /* istanbul ignore next */ []));
797
+ focused = input(null, /* @ts-ignore */
798
+ ...(ngDevMode ? [{ debugName: "focused" }] : /* istanbul ignore next */ []));
755
799
  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: `
800
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
801
+ 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
802
  <tui-textfield
759
803
  [tuiTextfieldSize]="size()"
760
804
  [tuiTextfieldCleaner]="cleaner() ?? false"
@@ -791,9 +835,9 @@ class SimpleInputWidget {
791
835
 
792
836
  <keit-field-validation [control]="control()" />
793
837
  </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 });
838
+ `, 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", "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 });
795
839
  }
796
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleInputWidget, decorators: [{
840
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleInputWidget, decorators: [{
797
841
  type: Component,
798
842
  args: [{ selector: 'keit-simple-input-widget', imports: [
799
843
  ReactiveFormsModule,
@@ -844,14 +888,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
844
888
  }], 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
889
 
846
890
  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: `
891
+ placeholder = input.required(/* @ts-ignore */
892
+ ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
893
+ sample = input(/* @ts-ignore */
894
+ ...(ngDevMode ? [undefined, { debugName: "sample" }] : /* istanbul ignore next */ []));
895
+ control = input.required(/* @ts-ignore */
896
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
897
+ limit = input(/* @ts-ignore */
898
+ ...(ngDevMode ? [undefined, { debugName: "limit" }] : /* istanbul ignore next */ []));
899
+ size = input('m', /* @ts-ignore */
900
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
901
+ cleaner = input(/* @ts-ignore */
902
+ ...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
903
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleTextareaWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
904
+ 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
905
  <tui-textfield
856
906
  [tuiTextfieldSize]="size()"
857
907
  [tuiTextfieldCleaner]="cleaner() ?? false"
@@ -868,9 +918,9 @@ class SimpleTextareaWidget {
868
918
  </tui-textfield>
869
919
 
870
920
  <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 });
921
+ `, 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", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
872
922
  }
873
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleTextareaWidget, decorators: [{
923
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleTextareaWidget, decorators: [{
874
924
  type: Component,
875
925
  args: [{ selector: 'keit-simple-textarea', imports: [
876
926
  ReactiveFormsModule,
@@ -899,12 +949,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
899
949
  }], 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
950
 
901
951
  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: `
952
+ name = input(/* @ts-ignore */
953
+ ...(ngDevMode ? [undefined, { debugName: "name" }] : /* istanbul ignore next */ []));
954
+ placeholder = input('', /* @ts-ignore */
955
+ ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
956
+ control = input.required(/* @ts-ignore */
957
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
958
+ size = input('m', /* @ts-ignore */
959
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
960
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleCopyInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
961
+ 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
962
  <tui-textfield
909
963
  [tuiTextfieldCleaner]="false"
910
964
  [tuiTextfieldSize]="size()"
@@ -917,9 +971,9 @@ class SimpleCopyInputWidget {
917
971
  />
918
972
  <tui-icon tuiCopy />
919
973
  </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 });
974
+ `, 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
975
  }
922
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleCopyInputWidget, decorators: [{
976
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleCopyInputWidget, decorators: [{
923
977
  type: Component,
924
978
  args: [{ selector: 'keit-simple-copy-input-widget', imports: [
925
979
  ReactiveFormsModule,
@@ -1060,10 +1114,14 @@ class KeitControl extends FormControl {
1060
1114
 
1061
1115
  class SimplePhoneInputWidget {
1062
1116
  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 */ []));
1117
+ placeholder = input(/* @ts-ignore */
1118
+ ...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
1119
+ readonly = input(false, /* @ts-ignore */
1120
+ ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
1121
+ control = input.required(/* @ts-ignore */
1122
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
1123
+ size = input('s', /* @ts-ignore */
1124
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1067
1125
  ngOnInit() {
1068
1126
  const control = this.control();
1069
1127
  if (control instanceof KeitControl) {
@@ -1073,8 +1131,8 @@ class SimplePhoneInputWidget {
1073
1131
  get pattern() {
1074
1132
  return this.isIos ? '+[0-9-]{1,20}' : null;
1075
1133
  }
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: `
1134
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimplePhoneInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1135
+ 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
1136
  <tui-textfield [tuiTextfieldSize]="size()">
1079
1137
  <label tuiLabel>Телефон</label>
1080
1138
 
@@ -1089,9 +1147,9 @@ class SimplePhoneInputWidget {
1089
1147
  </tui-textfield>
1090
1148
 
1091
1149
  <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 });
1150
+ `, 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", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1093
1151
  }
1094
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimplePhoneInputWidget, decorators: [{
1152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimplePhoneInputWidget, decorators: [{
1095
1153
  type: Component,
1096
1154
  args: [{ selector: 'keit-simple-phone-input-widget', imports: [
1097
1155
  ReactiveFormsModule,
@@ -1119,12 +1177,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1119
1177
  }], 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
1178
 
1121
1179
  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: `
1180
+ placeholder = input(/* @ts-ignore */
1181
+ ...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
1182
+ control = input.required(/* @ts-ignore */
1183
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
1184
+ size = input('m', /* @ts-ignore */
1185
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1186
+ readonly = input(false, /* @ts-ignore */
1187
+ ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
1188
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimplePasswordInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1189
+ 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
1190
  <tui-textfield [tuiTextfieldSize]="size()">
1129
1191
  <label tuiLabel>{{ placeholder() }}</label>
1130
1192
  <input
@@ -1139,9 +1201,9 @@ class SimplePasswordInputWidget {
1139
1201
  <tui-icon tuiPassword />
1140
1202
  <keit-field-validation [control]="control()" />
1141
1203
  </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 });
1204
+ `, 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", "field"] }, { kind: "directive", type: TuiPassword, selector: "tui-icon[tuiPassword]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1143
1205
  }
1144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimplePasswordInputWidget, decorators: [{
1206
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimplePasswordInputWidget, decorators: [{
1145
1207
  type: Component,
1146
1208
  args: [{ selector: 'keit-simple-password-input', imports: [
1147
1209
  FormsModule,
@@ -1171,17 +1233,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1171
1233
  }], 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
1234
 
1173
1235
  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 */ []));
1236
+ primaryIcon = input(/* @ts-ignore */
1237
+ ...(ngDevMode ? [undefined, { debugName: "primaryIcon" }] : /* istanbul ignore next */ []));
1238
+ secondaryIcon = input(/* @ts-ignore */
1239
+ ...(ngDevMode ? [undefined, { debugName: "secondaryIcon" }] : /* istanbul ignore next */ []));
1240
+ disabled = input(/* @ts-ignore */
1241
+ ...(ngDevMode ? [undefined, { debugName: "disabled" }] : /* istanbul ignore next */ []));
1242
+ primaryCaption = input('Принять', /* @ts-ignore */
1243
+ ...(ngDevMode ? [{ debugName: "primaryCaption" }] : /* istanbul ignore next */ []));
1244
+ secondaryCaption = input('Отмена', /* @ts-ignore */
1245
+ ...(ngDevMode ? [{ debugName: "secondaryCaption" }] : /* istanbul ignore next */ []));
1246
+ hasSecondary = input(true, /* @ts-ignore */
1247
+ ...(ngDevMode ? [{ debugName: "hasSecondary" }] : /* istanbul ignore next */ []));
1248
+ size = input('m', /* @ts-ignore */
1249
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1181
1250
  acceptEvent = output();
1182
1251
  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: `
1252
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleActionsWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1253
+ 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
1254
  <div class="actions">
1186
1255
  <button
1187
1256
  tuiButton
@@ -1217,7 +1286,7 @@ class SimpleActionsWidget {
1217
1286
  </div>
1218
1287
  `, 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
1288
  }
1220
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleActionsWidget, decorators: [{
1289
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleActionsWidget, decorators: [{
1221
1290
  type: Component,
1222
1291
  args: [{ selector: 'keit-simple-actions', imports: [TuiIcon, TuiButton], template: `
1223
1292
  <div class="actions">
@@ -1256,81 +1325,104 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1256
1325
  `, 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
1326
  }], 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
1327
 
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()"
1328
+ class SimpleDateInputWidget {
1329
+ placeholder = input(/* @ts-ignore */
1330
+ ...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
1331
+ sample = input('Введите...', /* @ts-ignore */
1332
+ ...(ngDevMode ? [{ debugName: "sample" }] : /* istanbul ignore next */ []));
1333
+ control = input.required(/* @ts-ignore */
1334
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
1335
+ size = input('m', /* @ts-ignore */
1336
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1337
+ readonly = input(false, /* @ts-ignore */
1338
+ ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
1339
+ hint = input('', /* @ts-ignore */
1340
+ ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
1341
+ iconRight = input('', /* @ts-ignore */
1342
+ ...(ngDevMode ? [{ debugName: "iconRight" }] : /* istanbul ignore next */ []));
1343
+ cleaner = input(/* @ts-ignore */
1344
+ ...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
1345
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleDateInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1346
+ 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: `
1347
+ <tui-textfield
1348
+ [tuiTextfieldSize]="size()"
1349
+ [tuiTextfieldCleaner]="cleaner() ?? false"
1305
1350
  >
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 });
1351
+ <label tuiLabel>{{ placeholder() }}</label>
1352
+ <input
1353
+ tuiInputDateTime
1354
+ [placeholder]="sample()"
1355
+ [formControl]="control()"
1356
+ [readOnly]="readonly()"
1357
+ />
1358
+ <tui-calendar *tuiDropdown />
1359
+
1360
+ @if (iconRight()) {
1361
+ <tui-icon [icon]="iconRight()" />
1362
+ }
1363
+
1364
+ @if (hint()) {
1365
+ <tui-icon [tuiTooltip]="hint()" tuiHintDirection="top-end" />
1366
+ }
1367
+ </tui-textfield>
1368
+ `, 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
1369
  }
1310
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleGridLayout, decorators: [{
1370
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleDateInputWidget, decorators: [{
1311
1371
  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()"
1372
+ args: [{ selector: 'keit-simple-date-input-widget', imports: [
1373
+ ReactiveFormsModule,
1374
+ FormsModule,
1375
+ TuiInput,
1376
+ TuiInputDateTime,
1377
+ TuiLabel,
1378
+ TuiIcon,
1379
+ TuiTooltip,
1380
+ TuiCalendar,
1381
+ TuiHint,
1382
+ ], template: `
1383
+ <tui-textfield
1384
+ [tuiTextfieldSize]="size()"
1385
+ [tuiTextfieldCleaner]="cleaner() ?? false"
1317
1386
  >
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 }] }] } });
1387
+ <label tuiLabel>{{ placeholder() }}</label>
1388
+ <input
1389
+ tuiInputDateTime
1390
+ [placeholder]="sample()"
1391
+ [formControl]="control()"
1392
+ [readOnly]="readonly()"
1393
+ />
1394
+ <tui-calendar *tuiDropdown />
1322
1395
 
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: `
1396
+ @if (iconRight()) {
1397
+ <tui-icon [icon]="iconRight()" />
1398
+ }
1399
+
1400
+ @if (hint()) {
1401
+ <tui-icon [tuiTooltip]="hint()" tuiHintDirection="top-end" />
1402
+ }
1403
+ </tui-textfield>
1404
+ `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}\n"] }]
1405
+ }], 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 }] }] } });
1406
+
1407
+ class SimpleDateTimeInputWidget {
1408
+ placeholder = input(/* @ts-ignore */
1409
+ ...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
1410
+ sample = input('Введите...', /* @ts-ignore */
1411
+ ...(ngDevMode ? [{ debugName: "sample" }] : /* istanbul ignore next */ []));
1412
+ control = input.required(/* @ts-ignore */
1413
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
1414
+ size = input('m', /* @ts-ignore */
1415
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1416
+ readonly = input(false, /* @ts-ignore */
1417
+ ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
1418
+ hint = input('', /* @ts-ignore */
1419
+ ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
1420
+ iconRight = input('', /* @ts-ignore */
1421
+ ...(ngDevMode ? [{ debugName: "iconRight" }] : /* istanbul ignore next */ []));
1422
+ cleaner = input(/* @ts-ignore */
1423
+ ...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
1424
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleDateTimeInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1425
+ 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
1426
  <tui-textfield
1335
1427
  [tuiTextfieldSize]="size()"
1336
1428
  [tuiTextfieldCleaner]="cleaner() ?? false"
@@ -1343,7 +1435,6 @@ class SimpleDateInputWidget {
1343
1435
  [readOnly]="readonly()"
1344
1436
  />
1345
1437
  <tui-calendar *tuiDropdown />
1346
-
1347
1438
  @if (iconRight()) {
1348
1439
  <tui-icon [icon]="iconRight()" />
1349
1440
  }
@@ -1352,11 +1443,11 @@ class SimpleDateInputWidget {
1352
1443
  <tui-icon [tuiTooltip]="hint()" tuiHintDirection="top-end" />
1353
1444
  }
1354
1445
  </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 });
1446
+ `, 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
1447
  }
1357
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleDateInputWidget, decorators: [{
1448
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleDateTimeInputWidget, decorators: [{
1358
1449
  type: Component,
1359
- args: [{ selector: 'keit-simple-date-input-widget', imports: [
1450
+ args: [{ selector: 'keit-simple-date-time-input-widget', imports: [
1360
1451
  ReactiveFormsModule,
1361
1452
  FormsModule,
1362
1453
  TuiInput,
@@ -1379,7 +1470,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1379
1470
  [readOnly]="readonly()"
1380
1471
  />
1381
1472
  <tui-calendar *tuiDropdown />
1382
-
1383
1473
  @if (iconRight()) {
1384
1474
  <tui-icon [icon]="iconRight()" />
1385
1475
  }
@@ -1392,16 +1482,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1392
1482
  }], 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
1483
 
1394
1484
  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: `
1485
+ placeholder = input(/* @ts-ignore */
1486
+ ...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
1487
+ sample = input('Введите...', /* @ts-ignore */
1488
+ ...(ngDevMode ? [{ debugName: "sample" }] : /* istanbul ignore next */ []));
1489
+ control = input.required(/* @ts-ignore */
1490
+ ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
1491
+ size = input('m', /* @ts-ignore */
1492
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1493
+ readonly = input(false, /* @ts-ignore */
1494
+ ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
1495
+ hint = input('', /* @ts-ignore */
1496
+ ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
1497
+ iconRight = input('', /* @ts-ignore */
1498
+ ...(ngDevMode ? [{ debugName: "iconRight" }] : /* istanbul ignore next */ []));
1499
+ cleaner = input(/* @ts-ignore */
1500
+ ...(ngDevMode ? [undefined, { debugName: "cleaner" }] : /* istanbul ignore next */ []));
1501
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleDateRangeInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1502
+ 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
1503
  <tui-textfield
1406
1504
  [tuiTextfieldSize]="size()"
1407
1505
  [tuiTextfieldCleaner]="cleaner() ?? false"
@@ -1423,9 +1521,9 @@ class SimpleDateRangeInputWidget {
1423
1521
  <tui-icon [tuiTooltip]="hint()" tuiHintDirection="top-end" />
1424
1522
  }
1425
1523
  </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 });
1524
+ `, 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
1525
  }
1428
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleDateRangeInputWidget, decorators: [{
1526
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleDateRangeInputWidget, decorators: [{
1429
1527
  type: Component,
1430
1528
  args: [{ selector: 'keit-simple-date-range-input-widget', imports: [
1431
1529
  ReactiveFormsModule,
@@ -1462,13 +1560,99 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1462
1560
  `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}\n"] }]
1463
1561
  }], 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
1562
 
1563
+ class SimpleDateTimeRangeInputWidget {
1564
+ startPlaceholder = input('Начало', /* @ts-ignore */
1565
+ ...(ngDevMode ? [{ debugName: "startPlaceholder" }] : /* istanbul ignore next */ []));
1566
+ endPlaceholder = input('Конец', /* @ts-ignore */
1567
+ ...(ngDevMode ? [{ debugName: "endPlaceholder" }] : /* istanbul ignore next */ []));
1568
+ startControl = input.required(/* @ts-ignore */
1569
+ ...(ngDevMode ? [{ debugName: "startControl" }] : /* istanbul ignore next */ []));
1570
+ endControl = input.required(/* @ts-ignore */
1571
+ ...(ngDevMode ? [{ debugName: "endControl" }] : /* istanbul ignore next */ []));
1572
+ size = input('m', /* @ts-ignore */
1573
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1574
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleDateTimeRangeInputWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1575
+ 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: [
1576
+ tuiInputDateTimeOptionsProvider({
1577
+ valueTransformer: {
1578
+ fromControlValue: (value) => {
1579
+ if (value?.toString() === 'Invalid Date') {
1580
+ return null;
1581
+ }
1582
+ return (value && [
1583
+ TuiDay.fromUtcNativeDate(value),
1584
+ new TuiTime(value.getUTCHours(), value.getUTCMinutes()),
1585
+ ]);
1586
+ },
1587
+ toControlValue: (value) => {
1588
+ const { hours = 0, minutes = 0 } = value?.[1] ?? {};
1589
+ return (value &&
1590
+ new Date(value[0]
1591
+ .toUtcNativeDate()
1592
+ .setUTCHours(hours, minutes)));
1593
+ },
1594
+ },
1595
+ }),
1596
+ ], ngImport: i0, template: `
1597
+ <keit-simple-date-time-input-widget
1598
+ [placeholder]="startPlaceholder()"
1599
+ [size]="size()"
1600
+ [control]="startControl()"
1601
+ />
1602
+ <keit-simple-date-time-input-widget
1603
+ [placeholder]="endPlaceholder()"
1604
+ [size]="size()"
1605
+ [control]="endControl()"
1606
+ />
1607
+ `, 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 });
1608
+ }
1609
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleDateTimeRangeInputWidget, decorators: [{
1610
+ type: Component,
1611
+ args: [{ selector: 'keit-simple-date-time-range-input-widget', imports: [SimpleDateTimeInputWidget], template: `
1612
+ <keit-simple-date-time-input-widget
1613
+ [placeholder]="startPlaceholder()"
1614
+ [size]="size()"
1615
+ [control]="startControl()"
1616
+ />
1617
+ <keit-simple-date-time-input-widget
1618
+ [placeholder]="endPlaceholder()"
1619
+ [size]="size()"
1620
+ [control]="endControl()"
1621
+ />
1622
+ `, providers: [
1623
+ tuiInputDateTimeOptionsProvider({
1624
+ valueTransformer: {
1625
+ fromControlValue: (value) => {
1626
+ if (value?.toString() === 'Invalid Date') {
1627
+ return null;
1628
+ }
1629
+ return (value && [
1630
+ TuiDay.fromUtcNativeDate(value),
1631
+ new TuiTime(value.getUTCHours(), value.getUTCMinutes()),
1632
+ ]);
1633
+ },
1634
+ toControlValue: (value) => {
1635
+ const { hours = 0, minutes = 0 } = value?.[1] ?? {};
1636
+ return (value &&
1637
+ new Date(value[0]
1638
+ .toUtcNativeDate()
1639
+ .setUTCHours(hours, minutes)));
1640
+ },
1641
+ },
1642
+ }),
1643
+ ], changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:contents}\n"] }]
1644
+ }], 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 }] }] } });
1645
+
1465
1646
  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 */ []));
1647
+ page = input.required(/* @ts-ignore */
1648
+ ...(ngDevMode ? [{ debugName: "page" }] : /* istanbul ignore next */ []));
1649
+ size = input.required(/* @ts-ignore */
1650
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1651
+ total = input.required(/* @ts-ignore */
1652
+ ...(ngDevMode ? [{ debugName: "total" }] : /* istanbul ignore next */ []));
1469
1653
  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: `
1654
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimplePaginationWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1655
+ 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
1656
  <tui-table-pagination
1473
1657
  [page]="page()"
1474
1658
  [size]="size()"
@@ -1477,7 +1661,7 @@ class SimplePaginationWidget {
1477
1661
  />
1478
1662
  `, 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
1663
  }
1480
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimplePaginationWidget, decorators: [{
1664
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimplePaginationWidget, decorators: [{
1481
1665
  type: Component,
1482
1666
  args: [{ selector: 'keit-simple-pagination', imports: [TuiTablePagination], template: `
1483
1667
  <tui-table-pagination
@@ -1491,17 +1675,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1491
1675
 
1492
1676
  class NotificationWidget {
1493
1677
  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 */ []));
1678
+ size = input('l', /* @ts-ignore */
1679
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
1680
+ appearance = input('info', /* @ts-ignore */
1681
+ ...(ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []));
1682
+ closable = input(true, /* @ts-ignore */
1683
+ ...(ngDevMode ? [{ debugName: "closable" }] : /* istanbul ignore next */ []));
1684
+ closeLabel = input('Close', /* @ts-ignore */
1685
+ ...(ngDevMode ? [{ debugName: "closeLabel" }] : /* istanbul ignore next */ []));
1498
1686
  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 */ []));
1687
+ hideable = input(false, /* @ts-ignore */
1688
+ ...(ngDevMode ? [{ debugName: "hideable" }] : /* istanbul ignore next */ []));
1689
+ hideButtonLabel = input('Больше не показывать', /* @ts-ignore */
1690
+ ...(ngDevMode ? [{ debugName: "hideButtonLabel" }] : /* istanbul ignore next */ []));
1691
+ hideButtonAppearance = input('flat', /* @ts-ignore */
1692
+ ...(ngDevMode ? [{ debugName: "hideButtonAppearance" }] : /* istanbul ignore next */ []));
1693
+ hideButtonSize = input('s', /* @ts-ignore */
1694
+ ...(ngDevMode ? [{ debugName: "hideButtonSize" }] : /* istanbul ignore next */ []));
1695
+ storageKey = input(/* @ts-ignore */
1696
+ ...(ngDevMode ? [undefined, { debugName: "storageKey" }] : /* istanbul ignore next */ []));
1697
+ shouldShow = signal(true, /* @ts-ignore */
1698
+ ...(ngDevMode ? [{ debugName: "shouldShow" }] : /* istanbul ignore next */ []));
1505
1699
  constructor() {
1506
1700
  effect(() => {
1507
1701
  const key = this.storageKey();
@@ -1518,8 +1712,8 @@ class NotificationWidget {
1518
1712
  this.shouldShow.set(false);
1519
1713
  }
1520
1714
  }
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: `
1715
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: NotificationWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1716
+ 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
1717
  @if (shouldShow()) {
1524
1718
  <!-- TODO: (Taiga UI migration) [appearance] binding uses a dynamic expression. If it can produce "error"/"success"/"glass", replace with "negative"/"positive"/"secondary-grayscale" -->
1525
1719
  <div tuiNotification [size]="size()" [appearance]="appearance()">
@@ -1547,7 +1741,7 @@ class NotificationWidget {
1547
1741
  }
1548
1742
  `, 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
1743
  }
1550
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: NotificationWidget, decorators: [{
1744
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: NotificationWidget, decorators: [{
1551
1745
  type: Component,
1552
1746
  args: [{ selector: 'keit-notification-widget', imports: [TuiNotification, TuiButton, SimpleButtonWidget], template: `
1553
1747
  @if (shouldShow()) {
@@ -1579,14 +1773,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1579
1773
  }], 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
1774
 
1581
1775
  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 */ []));
1776
+ markerConditionFn = input(null, /* @ts-ignore */
1777
+ ...(ngDevMode ? [{ debugName: "markerConditionFn" }] : /* istanbul ignore next */ []));
1778
+ specificDayes = input([], /* @ts-ignore */
1779
+ ...(ngDevMode ? [{ debugName: "specificDayes" }] : /* istanbul ignore next */ []));
1780
+ initialMonth = input(null, /* @ts-ignore */
1781
+ ...(ngDevMode ? [{ debugName: "initialMonth" }] : /* istanbul ignore next */ []));
1782
+ initialDay = input(null, /* @ts-ignore */
1783
+ ...(ngDevMode ? [{ debugName: "initialDay" }] : /* istanbul ignore next */ []));
1585
1784
  selectDay = output();
1586
1785
  selectMonth = output();
1587
1786
  value = null;
1588
1787
  selectedMonth = TuiMonth.currentLocal();
1589
1788
  hoveredItem = null;
1789
+ disabledDayesHandler = (day) => {
1790
+ return !this.specificDayes().some((specificDay) => specificDay.year === day.year &&
1791
+ specificDay.month === day.month &&
1792
+ specificDay.day === day.day);
1793
+ };
1590
1794
  ngOnInit() {
1591
1795
  const initialMonth = this.initialMonth();
1592
1796
  if (initialMonth) {
@@ -1608,8 +1812,8 @@ class SimpleCalendarWidget {
1608
1812
  this.value = new TuiDay(month.year, month.month, 1);
1609
1813
  this.selectDay.emit(this.value);
1610
1814
  }
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: `
1815
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleCalendarWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
1816
+ 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
1817
  <tui-calendar
1614
1818
  [markerHandler]="this.markerConditionFn()"
1615
1819
  [month]="selectedMonth"
@@ -1618,10 +1822,11 @@ class SimpleCalendarWidget {
1618
1822
  [(hoveredItem)]="hoveredItem"
1619
1823
  (dayClick)="onDayClick($event)"
1620
1824
  (monthChange)="onMonthChange($event)"
1825
+ [disabledItemHandler]="disabledDayesHandler"
1621
1826
  />
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 });
1827
+ `, 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
1828
  }
1624
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SimpleCalendarWidget, decorators: [{
1829
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: SimpleCalendarWidget, decorators: [{
1625
1830
  type: Component,
1626
1831
  args: [{ selector: 'keit-simple-calendar-widget', imports: [ReactiveFormsModule, FormsModule, TuiCalendar], template: `
1627
1832
  <tui-calendar
@@ -1632,324 +1837,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1632
1837
  [(hoveredItem)]="hoveredItem"
1633
1838
  (dayClick)="onDayClick($event)"
1634
1839
  (monthChange)="onMonthChange($event)"
1840
+ [disabledItemHandler]="disabledDayesHandler"
1635
1841
  />
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 }] }] } });
1842
+ `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}::ng-deep tui-calendar-sheet [data-type=event]:before{background-color:#85bd84;border:2px dotted black}\n"] }]
1843
+ }], 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
1844
 
1954
1845
  /*
1955
1846
  * Public API Surface of widgets
@@ -1959,5 +1850,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
1959
1850
  * Generated bundle index. Do not edit.
1960
1851
  */
1961
1852
 
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 };
1853
+ 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
1854
  //# sourceMappingURL=pleione-lab-widgets.mjs.map