@snabcentr/client-ui 5.3.1 → 5.3.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snabcentr/client-ui",
3
- "version": "5.3.1",
3
+ "version": "5.3.2",
4
4
  "author": "Snabcentr Ltd.",
5
5
  "repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
6
6
  "license": "Commercial",
package/release_notes.tmp CHANGED
@@ -1,4 +1,4 @@
1
- ## 5.3.1 (2026-06-25)
1
+ ## 5.3.2 (2026-07-01)
2
2
 
3
3
  No changes.
4
4
 
@@ -4380,9 +4380,12 @@ declare class ScOrderFormComponent implements OnInit {
4380
4380
  /**
4381
4381
  * Возвращает признак, что указанная дата недоступна для выбора.
4382
4382
  *
4383
- * @param date Дата.
4383
+ * Календарь передаёт сюда {@link TuiDay}, а валидатор недоступных элементов поля ({@link TuiItemsHandlersValidator})
4384
+ * уже преобразованное значение контрола (строку формата `"YYYY-MM-DD 00:00:00"`), поэтому обрабатываем оба случая.
4385
+ *
4386
+ * @param date Дата в виде {@link TuiDay} или строки значения контрола.
4384
4387
  */
4385
- protected readonly deliveryDateFilter: (date: TuiDay) => boolean;
4388
+ protected readonly deliveryDateFilter: (date: TuiDay | string) => boolean;
4386
4389
  /**
4387
4390
  * Инициализирует экземпляр класса {@link ScOrderFormComponent}.
4388
4391
  */