@wolkabout/commons 0.1.8 → 0.1.10

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": "@wolkabout/commons",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "21.2.0",
6
6
  "@angular/common": "21.2.0",
@@ -573,6 +573,8 @@ declare function validateAssetName(control: AbstractControl): ValidationErrors |
573
573
  declare function fileSizeValidator(control: AbstractControl, maxSizeInBytes: number): ValidationErrors | null;
574
574
  declare function validateTypeAssetName(control: AbstractControl): ValidationErrors | null;
575
575
  declare function tenantHostUrlValidator(control: AbstractControl): ValidationErrors | null;
576
+ declare function externalUrlFormatValidator(control: AbstractControl): ValidationErrors | null;
577
+ declare function fileOrExternalUrlRequired(group: AbstractControl): ValidationErrors | null;
576
578
 
577
579
  declare class MissingTranslationHelper implements MissingTranslationHandler {
578
580
  handle(params: MissingTranslationHandlerParams): any;
@@ -1640,18 +1642,23 @@ interface LayoutDialogConfig {
1640
1642
  show: boolean;
1641
1643
  message: string;
1642
1644
  }
1645
+ interface FullScreenConfig {
1646
+ buttonEnabled?: boolean;
1647
+ hotkeyEnabled?: boolean;
1648
+ }
1643
1649
  declare class DoubleDrawerLayoutComponent {
1644
- onMouseMove(): void;
1645
1650
  private dialog;
1646
1651
  private translate;
1647
1652
  fullscreenService: FullscreenService;
1653
+ onMouseMove(): void;
1654
+ onKeyDown(event: KeyboardEvent): void;
1648
1655
  private timeout?;
1649
1656
  hoverActive: _angular_core.WritableSignal<boolean>;
1650
1657
  leftDrawerConfig: _angular_core.InputSignal<LayoutDrawerConfig>;
1651
1658
  rightDrawerConfig: _angular_core.InputSignal<LayoutDrawerConfig | undefined>;
1652
1659
  backdropConfig: _angular_core.InputSignal<LayoutBackdropConfig>;
1653
1660
  dialogConfig: _angular_core.InputSignal<LayoutDialogConfig | undefined>;
1654
- enableFullScreen: _angular_core.InputSignal<boolean | undefined>;
1661
+ fullScreenConfig: _angular_core.InputSignal<FullScreenConfig | undefined>;
1655
1662
  leftDrawerToggled: _angular_core.OutputEmitterRef<boolean>;
1656
1663
  rightDrawerToggled: _angular_core.OutputEmitterRef<boolean>;
1657
1664
  isLeftDrawerOpen: _angular_core.WritableSignal<boolean>;
@@ -1664,8 +1671,8 @@ declare class DoubleDrawerLayoutComponent {
1664
1671
  backdropClick(): void;
1665
1672
  private closeDrawer;
1666
1673
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DoubleDrawerLayoutComponent, never>;
1667
- 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>;
1674
+ 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; }; "fullScreenConfig": { "alias": "fullScreenConfig"; "required": false; "isSignal": true; }; }, { "leftDrawerToggled": "leftDrawerToggled"; "rightDrawerToggled": "rightDrawerToggled"; }, never, ["[left-drawer]", "[details]", "[right-drawer]"], true, never>;
1668
1675
  }
1669
1676
 
1670
- 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, 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 };
1671
- 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 };
1677
+ 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, 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 };
1678
+ 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 };