wacom 21.2.1 → 21.2.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/fesm2022/wacom.mjs +35 -24
- package/fesm2022/wacom.mjs.map +1 -1
- package/package.json +1 -1
- package/types/wacom.d.ts +23 -21
package/package.json
CHANGED
package/types/wacom.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { WritableSignal, Signal, InjectionToken, PipeTransform, ComponentRef, Type,
|
|
2
|
+
import { WritableSignal, Signal, InjectionToken, EnvironmentProviders, PipeTransform, ComponentRef, Type, ModuleWithProviders } from '@angular/core';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { HttpErrorResponse, HttpClient } from '@angular/common/http';
|
|
5
5
|
import { Router, ActivatedRoute, ActivatedRouteSnapshot } from '@angular/router';
|
|
@@ -1358,6 +1358,13 @@ declare class MetaGuard {
|
|
|
1358
1358
|
static ɵprov: i0.ɵɵInjectableDeclaration<MetaGuard>;
|
|
1359
1359
|
}
|
|
1360
1360
|
|
|
1361
|
+
interface Translation {
|
|
1362
|
+
sourceText: string;
|
|
1363
|
+
text: string;
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
declare function provideTranslation(translations?: Translation[]): EnvironmentProviders;
|
|
1367
|
+
|
|
1361
1368
|
declare class TranslateDirective {
|
|
1362
1369
|
private readonly _platformId;
|
|
1363
1370
|
private readonly _isBrowser;
|
|
@@ -1389,11 +1396,6 @@ declare class TranslateDirective {
|
|
|
1389
1396
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TranslateDirective, "[translate]", never, { "translate": { "alias": "translate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1390
1397
|
}
|
|
1391
1398
|
|
|
1392
|
-
interface Translation {
|
|
1393
|
-
sourceText: string;
|
|
1394
|
-
text: string;
|
|
1395
|
-
}
|
|
1396
|
-
|
|
1397
1399
|
declare class TranslatePipe implements PipeTransform {
|
|
1398
1400
|
/**
|
|
1399
1401
|
* Transforms a translation key into the currently resolved translated string.
|
|
@@ -1416,20 +1418,6 @@ type Translations = Record<string, WritableSignal<string>>;
|
|
|
1416
1418
|
|
|
1417
1419
|
declare class TranslationService {
|
|
1418
1420
|
private _storeService;
|
|
1419
|
-
constructor();
|
|
1420
|
-
/**
|
|
1421
|
-
* Persists the current in-memory translations into the internal store.
|
|
1422
|
-
*
|
|
1423
|
-
* The payload is derived from `_signalTranslates` by materializing each signal's
|
|
1424
|
-
* current value at the time of saving.
|
|
1425
|
-
*
|
|
1426
|
-
* Side effects:
|
|
1427
|
-
* - Writes to storage via `StoreService.setJson`.
|
|
1428
|
-
*
|
|
1429
|
-
* Intended usage:
|
|
1430
|
-
* - Called after `setMany()` and `setOne()` to keep storage in sync.
|
|
1431
|
-
*/
|
|
1432
|
-
private _updateStorageTranslations;
|
|
1433
1421
|
/**
|
|
1434
1422
|
* Internal registry of translation signals.
|
|
1435
1423
|
*
|
|
@@ -1443,6 +1431,7 @@ declare class TranslationService {
|
|
|
1443
1431
|
* }
|
|
1444
1432
|
*/
|
|
1445
1433
|
private _signalTranslates;
|
|
1434
|
+
constructor();
|
|
1446
1435
|
/**
|
|
1447
1436
|
* Returns a reactive translation signal for the given source text.
|
|
1448
1437
|
*
|
|
@@ -1498,6 +1487,19 @@ declare class TranslationService {
|
|
|
1498
1487
|
*/
|
|
1499
1488
|
get(): Translations;
|
|
1500
1489
|
private _setTranslation;
|
|
1490
|
+
/**
|
|
1491
|
+
* Persists the current in-memory translations into the internal store.
|
|
1492
|
+
*
|
|
1493
|
+
* The payload is derived from `_signalTranslates` by materializing each signal's
|
|
1494
|
+
* current value at the time of saving.
|
|
1495
|
+
*
|
|
1496
|
+
* Side effects:
|
|
1497
|
+
* - Writes to storage via `StoreService.setJson`.
|
|
1498
|
+
*
|
|
1499
|
+
* Intended usage:
|
|
1500
|
+
* - Called after `setMany()` and `setOne()` to keep storage in sync.
|
|
1501
|
+
*/
|
|
1502
|
+
private _updateStorageTranslations;
|
|
1501
1503
|
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationService, never>;
|
|
1502
1504
|
static ɵprov: i0.ɵɵInjectableDeclaration<TranslationService>;
|
|
1503
1505
|
}
|
|
@@ -2153,5 +2155,5 @@ declare class WacomModule {
|
|
|
2153
2155
|
static ɵinj: i0.ɵɵInjectorDeclaration<WacomModule>;
|
|
2154
2156
|
}
|
|
2155
2157
|
|
|
2156
|
-
export { ArrPipe, CONFIG_TOKEN, ClickOutsideDirective, CoreService, CrudComponent, CrudService, DEFAULT_CONFIG, DEFAULT_HTTP_CONFIG, DEFAULT_NETWORK_CONFIG, DomService, EmitterService, HttpService, ManualDisabledDirective, ManualNameDirective, ManualReadonlyDirective, ManualTypeDirective, MetaGuard, MetaService, MongodatePipe, NETWORK_CONFIG, NetworkService, NumberPipe, PaginationPipe, RtcService, SafePipe, SearchPipe, SocketService, SplicePipe, SplitPipe, StoreService, ThemeService, TimeService, TranslateDirective, TranslatePipe, TranslationService, UtilService, WacomModule, provideWacom };
|
|
2158
|
+
export { ArrPipe, CONFIG_TOKEN, ClickOutsideDirective, CoreService, CrudComponent, CrudService, DEFAULT_CONFIG, DEFAULT_HTTP_CONFIG, DEFAULT_NETWORK_CONFIG, DomService, EmitterService, HttpService, ManualDisabledDirective, ManualNameDirective, ManualReadonlyDirective, ManualTypeDirective, MetaGuard, MetaService, MongodatePipe, NETWORK_CONFIG, NetworkService, NumberPipe, PaginationPipe, RtcService, SafePipe, SearchPipe, SocketService, SplicePipe, SplitPipe, StoreService, ThemeService, TimeService, TranslateDirective, TranslatePipe, TranslationService, UtilService, WacomModule, provideTranslation, provideWacom };
|
|
2157
2159
|
export type { Config, CrudConfig, CrudDocument, CrudOptions, CrudServiceInterface, DomComponent, GetConfig, HttpConfig, HttpHeaderType, MetaConfig, MetaDefaults, MetaPage, NetworkConfig, NetworkStatus, StoreConfig, StoreOptions, TableConfig, TableConfigButton, ThemeDensity, ThemeMode, ThemeRadius, Translation, Translations, Viewport };
|