@wolkabout/commons 0.1.0 → 0.1.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
|
@@ -40,7 +40,7 @@ import * as i30 from '@angular/forms';
|
|
|
40
40
|
import { ControlValueAccessor, AbstractControl, ValidationErrors, NgControl, FormControl, Validator, FormGroup, FormGroupDirective, NgForm, ValidatorFn } from '@angular/forms';
|
|
41
41
|
import * as i31 from '@angular/common';
|
|
42
42
|
import * as i32 from '@angular/router';
|
|
43
|
-
import { CanActivateFn,
|
|
43
|
+
import { CanActivateFn, Router, QueryParamsHandling, ActivatedRoute } from '@angular/router';
|
|
44
44
|
import * as i33 from '@angular/cdk/drag-drop';
|
|
45
45
|
import * as rxjs from 'rxjs';
|
|
46
46
|
import { Observable, BehaviorSubject, Subject } from 'rxjs';
|
|
@@ -326,6 +326,19 @@ declare class IconRegistryService {
|
|
|
326
326
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<IconRegistryService>;
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
+
declare class FullscreenService {
|
|
330
|
+
private router;
|
|
331
|
+
private readonly _fullScreenEnabled$;
|
|
332
|
+
private readonly _includedRoutes;
|
|
333
|
+
constructor(router: Router);
|
|
334
|
+
get fullScreenEnabled$(): rxjs.Observable<boolean>;
|
|
335
|
+
enableRoute(route: string): void;
|
|
336
|
+
excludeRoute(route: string): void;
|
|
337
|
+
toggleFullScreen(): void;
|
|
338
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FullscreenService, never>;
|
|
339
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<FullscreenService>;
|
|
340
|
+
}
|
|
341
|
+
|
|
329
342
|
declare class LoadingIndicatorDirective {
|
|
330
343
|
private element;
|
|
331
344
|
set appLoadingShimmer(isLoading: boolean | unknown);
|
|
@@ -545,6 +558,7 @@ declare function saveFile(blob: Blob, fileName: string): void;
|
|
|
545
558
|
declare function validateAssetName(control: AbstractControl): ValidationErrors | null;
|
|
546
559
|
declare function fileSizeValidator(control: AbstractControl, maxSizeInBytes: number): ValidationErrors | null;
|
|
547
560
|
declare function validateTypeAssetName(control: AbstractControl): ValidationErrors | null;
|
|
561
|
+
declare function tenantHostUrlValidator(control: AbstractControl): ValidationErrors | null;
|
|
548
562
|
|
|
549
563
|
declare class MissingTranslationHelper implements MissingTranslationHandler {
|
|
550
564
|
handle(params: MissingTranslationHandlerParams): any;
|
|
@@ -1546,5 +1560,48 @@ declare class ValueInputVectorComponent implements ControlValueAccessor, Validat
|
|
|
1546
1560
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ValueInputVectorComponent, "app-value-input-vector", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1547
1561
|
}
|
|
1548
1562
|
|
|
1549
|
-
|
|
1550
|
-
|
|
1563
|
+
interface LayoutDrawerConfig {
|
|
1564
|
+
open: boolean;
|
|
1565
|
+
width: string;
|
|
1566
|
+
disableClose: boolean;
|
|
1567
|
+
title?: string;
|
|
1568
|
+
}
|
|
1569
|
+
interface LayoutBackdropConfig {
|
|
1570
|
+
show: boolean;
|
|
1571
|
+
showTransparentBackdrop?: boolean;
|
|
1572
|
+
message?: string;
|
|
1573
|
+
showMessage?: boolean;
|
|
1574
|
+
}
|
|
1575
|
+
interface LayoutDialogConfig {
|
|
1576
|
+
show: boolean;
|
|
1577
|
+
message: string;
|
|
1578
|
+
}
|
|
1579
|
+
declare class DoubleDrawerLayoutComponent {
|
|
1580
|
+
onMouseMove(): void;
|
|
1581
|
+
private dialog;
|
|
1582
|
+
private translate;
|
|
1583
|
+
fullscreenService: FullscreenService;
|
|
1584
|
+
private timeout?;
|
|
1585
|
+
hoverActive: _angular_core.WritableSignal<boolean>;
|
|
1586
|
+
leftDrawerConfig: _angular_core.InputSignal<LayoutDrawerConfig>;
|
|
1587
|
+
rightDrawerConfig: _angular_core.InputSignal<LayoutDrawerConfig | undefined>;
|
|
1588
|
+
backdropConfig: _angular_core.InputSignal<LayoutBackdropConfig>;
|
|
1589
|
+
dialogConfig: _angular_core.InputSignal<LayoutDialogConfig | undefined>;
|
|
1590
|
+
enableFullScreen: _angular_core.InputSignal<boolean | undefined>;
|
|
1591
|
+
leftDrawerToggled: _angular_core.OutputEmitterRef<boolean>;
|
|
1592
|
+
rightDrawerToggled: _angular_core.OutputEmitterRef<boolean>;
|
|
1593
|
+
isLeftDrawerOpen: _angular_core.WritableSignal<boolean>;
|
|
1594
|
+
isRightDrawerOpen: _angular_core.WritableSignal<boolean>;
|
|
1595
|
+
showFullscreenButton: _angular_core.WritableSignal<boolean>;
|
|
1596
|
+
fullScreenEnabled: _angular_core.Signal<boolean | undefined>;
|
|
1597
|
+
constructor();
|
|
1598
|
+
mouseOver(): void;
|
|
1599
|
+
toggleRightDrawer(): void;
|
|
1600
|
+
backdropClick(): void;
|
|
1601
|
+
private closeDrawer;
|
|
1602
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DoubleDrawerLayoutComponent, never>;
|
|
1603
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DoubleDrawerLayoutComponent, "app-double-drawer-layout", never, { "leftDrawerConfig": { "alias": "leftDrawerConfig"; "required": true; "isSignal": true; }; "rightDrawerConfig": { "alias": "rightDrawerConfig"; "required": false; "isSignal": true; }; "backdropConfig": { "alias": "backdropConfig"; "required": true; "isSignal": true; }; "dialogConfig": { "alias": "dialogConfig"; "required": false; "isSignal": true; }; "enableFullScreen": { "alias": "enableFullScreen"; "required": false; "isSignal": true; }; }, { "leftDrawerToggled": "leftDrawerToggled"; "rightDrawerToggled": "rightDrawerToggled"; }, never, ["[left-drawer]", "[details]", "[right-drawer]"], true, never>;
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1606
|
+
export { AUTHENTICATION_CLIENT, AssetManager, AuthenticationService, AutocompleteChipsComponent, AutocompleteComponent, BasicTimeSeriesGraphComponent, COLORS, CUSTOM_PERIOD, CardLabeledValueComponent, ConfirmationDialogComponent, DEFAULT_LOCALE, DEFAULT_TIMEZONES, DEFAULT_TIME_ZONE, DataType, DateRangeInputComponent, DateTimeFormFieldComponent, DoubleDrawerLayoutComponent, DragDropFileUploadComponent, DurationPipe, FeatureRegistry, FullscreenService, GoogleMapComponent, IconComponent, IconRegistryService, ImageDisplayComponent, ImagePreviewComponent, LAST_ACTIVE_TAB_KEY, LOCALES, LabeledValueComponent, LoadedIconComponent, LoadingIndicatorDirective, LocalSortTableComponent, Locale, LocalizedNumberPipe, LocalizedNumericInputDirective, MILLISECONDS_IN_DAY, MapsLoaderService, MasterDetailsViewComponent, MessageTooltipDirective, MissingTranslationHelper, NestedListDataControl, NestedListDataSource, NestedListViewComponent, NotificationService, OverflowClassDirective, PdfViewerComponent, PeriodErrorStateMatcher, PermissionsService, RELATIVE_TIME_PERIODS, RelativeTimePeriod, RequiresAllGlobalOrAssetPermissionsDirective, RequiresAllPermissionDirective, RequiresGlobalOrAsserPermissionDirective, RequiresPermissionDirective, ScrollIntoViewDirective, SharedModule, SimpleDatePipe, SimpleDateTimePipe, SimpleTimePipe, SortPipe, StandardListDataControl, StandardListDataSource, StandardListViewComponent, TIMEZONES, TabulatedChipViewComponent, TabulatedViewComponent, TenantPropertiesService, ThemeService, TreeComponent, TreeNodeComponent, USERS_TIME_ZONE, ValueDisplayComponent, ValueInputBooleanComponent, ValueInputColorComponent, ValueInputComponent, ValueInputDateComponent, ValueInputDurationComponent, ValueInputEnumComponent, ValueInputHexadecimalComponent, ValueInputLinkComponent, ValueInputLocationComponent, ValueInputNumericComponent, ValueInputStringComponent, ValueInputVectorComponent, arrayToObject, chartThemeDark, chartThemeLight, daysAway, determineMagnitude, determineMinMaxValues, endOfPeriod, equalsByValue, fileSizeValidator, flatMap, flatten, format, formatDuration, generateRandomString, globalPermissionGuard, groupBy, hoursAway, isContextAccessible, lookUpPathPart, lookUpQueryParam, parseDateRangeInputPeriod, parseTimeInput, saveFile, scale, startOfMonth, startOfPeriod, startOfTheDay, startOfWeek, startOfYear, tenantHostUrlValidator, toDate, toEndOfMonth, toEndOfYear, toJsDate, toOffset, toStartOfMonth, toStartOfTheDay, toStartOfWeek, toStartOfYear, toTime, uniqueBy, uniqueFrom, validateAssetName, validateTypeAssetName };
|
|
1607
|
+
export type { Authentication, AuthenticationClient, Authority, Color, ConfirmationData, DateRangeValues, ExternalFeature, Feature, ImportError, LayoutBackdropConfig, LayoutDialogConfig, LayoutDrawerConfig, LoadedIcon, MapItem, MasterDetailDisplayRatio, NestedListItem, PartialUpdate, RelativeTimePeriodWithCustom, SearchAction, SortDirection$1 as SortDirection, StandardListItem, SvgIcon, Tab, Theme, TimeSeries, TimeSeriesData, TreeNode, User, ValueInputValidationConditions };
|