@wolkabout/commons 0.2.7 → 0.3.1
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/README.md +17 -17
- package/fesm2022/wolkabout-commons.mjs +125 -109
- package/fesm2022/wolkabout-commons.mjs.map +1 -1
- package/package.json +1 -1
- package/types/wolkabout-commons.d.ts +8 -4
package/package.json
CHANGED
|
@@ -260,6 +260,7 @@ declare class PermissionsService {
|
|
|
260
260
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<PermissionsService>;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
+
declare function getDecimalPlaces(value: string): number;
|
|
263
264
|
declare class Locale {
|
|
264
265
|
name: string;
|
|
265
266
|
language: string;
|
|
@@ -471,7 +472,7 @@ declare class DurationPipe implements PipeTransform {
|
|
|
471
472
|
declare class LocalizedNumberPipe implements PipeTransform {
|
|
472
473
|
private tenantPropertiesService;
|
|
473
474
|
constructor(tenantPropertiesService: TenantPropertiesService);
|
|
474
|
-
transform(value: number | string | null | undefined, decimals?: number, locale?: string): string;
|
|
475
|
+
transform(value: number | string | null | undefined, decimals?: number | null, locale?: string): string;
|
|
475
476
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LocalizedNumberPipe, never>;
|
|
476
477
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<LocalizedNumberPipe, "localizedNumber", true>;
|
|
477
478
|
}
|
|
@@ -806,6 +807,8 @@ declare class DateTimeFormFieldComponent implements OnDestroy, ControlValueAcces
|
|
|
806
807
|
timeLabel?: string;
|
|
807
808
|
validators: _angular_core.InputSignal<ValidatorFn[] | undefined>;
|
|
808
809
|
showErrorInTooltip: _angular_core.InputSignal<boolean>;
|
|
810
|
+
timezone: _angular_core.InputSignal<string | null>;
|
|
811
|
+
private tenantProperties;
|
|
809
812
|
formGroup: FormGroup<{
|
|
810
813
|
date: FormControl<DateTime<boolean> | null>;
|
|
811
814
|
time: FormControl<string | null>;
|
|
@@ -828,9 +831,10 @@ declare class DateTimeFormFieldComponent implements OnDestroy, ControlValueAcces
|
|
|
828
831
|
getTimeErrors(): string[];
|
|
829
832
|
getDateErrorTooltip(): string;
|
|
830
833
|
getTimeErrorTooltip(): string;
|
|
834
|
+
private resolveZone;
|
|
831
835
|
onInputChange(event: Event): void;
|
|
832
836
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateTimeFormFieldComponent, never>;
|
|
833
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateTimeFormFieldComponent, "app-date-time-form-field", never, { "dateLabel": { "alias": "dateLabel"; "required": false; }; "timeLabel": { "alias": "timeLabel"; "required": false; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
837
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateTimeFormFieldComponent, "app-date-time-form-field", never, { "dateLabel": { "alias": "dateLabel"; "required": false; }; "timeLabel": { "alias": "timeLabel"; "required": false; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "showErrorInTooltip": { "alias": "showErrorInTooltip"; "required": false; "isSignal": true; }; "timezone": { "alias": "timezone"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
834
838
|
}
|
|
835
839
|
|
|
836
840
|
declare class DragDropFileUploadComponent implements ControlValueAccessor, Validator, AfterViewInit, OnDestroy {
|
|
@@ -946,7 +950,7 @@ declare class LabeledValueComponent {
|
|
|
946
950
|
}
|
|
947
951
|
|
|
948
952
|
declare class IconComponent {
|
|
949
|
-
icon: _angular_core.InputSignal<string | number |
|
|
953
|
+
icon: _angular_core.InputSignal<string | number | SvgIcon | LoadedIcon>;
|
|
950
954
|
isAsyncIcon(): LoadedIcon | null;
|
|
951
955
|
isSvgIcon(): SvgIcon | null;
|
|
952
956
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
@@ -1714,5 +1718,5 @@ declare class ZoomControlsComponent {
|
|
|
1714
1718
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZoomControlsComponent, "app-zoom-controls", never, { "zoomPercentage": { "alias": "zoomPercentage"; "required": true; "isSignal": true; }; "canZoomIn": { "alias": "canZoomIn"; "required": true; "isSignal": true; }; "canZoomOut": { "alias": "canZoomOut"; "required": true; "isSignal": true; }; }, { "zoomIn": "zoomIn"; "zoomOut": "zoomOut"; "reset": "reset"; }, never, ["*"], true, never>;
|
|
1715
1719
|
}
|
|
1716
1720
|
|
|
1717
|
-
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, NavigationPersistenceService, 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, ZoomControlsComponent, arrayToObject, chartThemeDark, chartThemeLight, daysAway, determineMagnitude, determineMinMaxValues, endOfPeriod, equalsByValue, externalUrlFormatValidator, fileOrExternalUrlRequired, 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 };
|
|
1721
|
+
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, NavigationPersistenceService, 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, ZoomControlsComponent, arrayToObject, chartThemeDark, chartThemeLight, daysAway, determineMagnitude, determineMinMaxValues, endOfPeriod, equalsByValue, externalUrlFormatValidator, fileOrExternalUrlRequired, fileSizeValidator, flatMap, flatten, format, formatDuration, generateRandomString, getDecimalPlaces, 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 };
|
|
1718
1722
|
export type { Authentication, AuthenticationClient, Authority, Color, ConfirmationData, DateRangeValues, ExternalFeature, Feature, FullScreenConfig, ImportError, LayoutBackdropConfig, LayoutDialogConfig, LayoutDrawerConfig, LoadedIcon, MapItem, MasterDetailDisplayRatio, NestedListItem, PartialUpdate, RelativeTimePeriodWithCustom, SearchAction, SortDirection$1 as SortDirection, StandardListItem, SvgIcon, Tab, Theme, TimeSeries, TimeSeriesData, TreeNode, User, ValueInputValidationConditions };
|