@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/browser/index.d.ts +61 -18
- package/fesm2022/browser.mjs +131 -49
- package/fesm2022/browser.mjs.map +1 -1
- package/fesm2022/ui-yoda.mjs +21 -8
- package/fesm2022/ui-yoda.mjs.map +1 -1
- package/package.json +1 -1
- package/ui/yoda/index.d.ts +4 -2
package/package.json
CHANGED
package/ui/yoda/index.d.ts
CHANGED
|
@@ -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>;
|