@sevtech/kit 21.3.2 → 21.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sevtech/kit",
3
- "version": "21.3.2",
3
+ "version": "21.4.0",
4
4
  "sideEffects": false,
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"
@@ -222,6 +222,7 @@ declare class StateService {
222
222
  private readonly selectedSource;
223
223
  private readonly createdSource;
224
224
  private readonly matchSource;
225
+ private blank;
225
226
  readonly query$$: _angular_core.Signal<string>;
226
227
  readonly selected$$: _angular_core.Signal<FlatOption | null>;
227
228
  readonly isOpen$$: _angular_core.Signal<boolean>;
@@ -232,6 +233,7 @@ declare class StateService {
232
233
  queryChange(query: string, options: RequestOptions): void;
233
234
  load(query: string, options: RequestOptions, type?: RequestType): void;
234
235
  resolve(value: OptionValue, options: RequestOptions): void;
236
+ isBlank(option: FlatOption | null): boolean;
235
237
  createByQuery(query: string, options: RequestOptions): void;
236
238
  retry(): void;
237
239
  select(option: FlatOption | null): void;
@@ -388,9 +390,9 @@ declare abstract class BaseDirective extends SlotDirective {
388
390
  /** Значение родителя вручную — для случаев вне `ss-yoda-chain` */
389
391
  readonly parentValue: _angular_core.InputSignal<OptionValue | null>;
390
392
  /** Сменился выбор, включая сброс в `null` */
391
- readonly selectionChanged: _angular_core.OutputEmitterRef<FlatOption | null>;
393
+ readonly selectionChanged: _angular_core.OutputEmitterRef<FlatOption<any> | null>;
392
394
  /** Создание по кнопке `+` прошло успешно */
393
- readonly optionCreated: _angular_core.OutputEmitterRef<FlatOption>;
395
+ readonly optionCreated: _angular_core.OutputEmitterRef<FlatOption<any>>;
394
396
  /** Запрос упал */
395
397
  readonly requestFailed: _angular_core.OutputEmitterRef<YodaError>;
396
398
  protected readonly isNative$$: _angular_core.Signal<boolean>;