@wolkabout/commons 0.0.58 → 0.0.59

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.0.58",
3
+ "version": "0.0.59",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "21.2.0",
6
6
  "@angular/common": "21.2.0",
@@ -1,9 +1,6 @@
1
- import * as i32 from '@angular/router';
2
- import { RouterLink, RouterOutlet, RouterLinkActive, CanActivateFn, QueryParamsHandling, Router, ActivatedRoute } from '@angular/router';
3
- import * as i1 from '@angular/material/button';
4
- import { MatButtonModule } from '@angular/material/button';
5
1
  import * as _angular_core from '@angular/core';
6
2
  import { InjectionToken, ElementRef, OnDestroy, TemplateRef, ViewContainerRef, Renderer2, AfterViewInit, AfterViewChecked, OnChanges, PipeTransform, OnInit, DestroyRef, Signal, WritableSignal } from '@angular/core';
3
+ import * as i1 from '@angular/material/button';
7
4
  import * as i2 from '@angular/material/checkbox';
8
5
  import * as i3 from '@angular/material/toolbar';
9
6
  import * as i4 from '@angular/material/menu';
@@ -42,6 +39,8 @@ import { TranslateService, MissingTranslationHandler, MissingTranslationHandlerP
42
39
  import * as i30 from '@angular/forms';
43
40
  import { ControlValueAccessor, AbstractControl, ValidationErrors, NgControl, FormControl, Validator, FormGroup, FormGroupDirective, NgForm, ValidatorFn } from '@angular/forms';
44
41
  import * as i31 from '@angular/common';
42
+ import * as i32 from '@angular/router';
43
+ import { CanActivateFn, QueryParamsHandling, Router, ActivatedRoute } from '@angular/router';
45
44
  import * as i33 from '@angular/cdk/drag-drop';
46
45
  import * as rxjs from 'rxjs';
47
46
  import { Observable, BehaviorSubject, Subject } from 'rxjs';
@@ -56,8 +55,6 @@ import { DateTime } from 'luxon';
56
55
  import { GoogleMap } from '@angular/google-maps';
57
56
  import { MarkerClusterer } from '@googlemaps/markerclusterer';
58
57
 
59
- declare const angularComponents: (typeof MatButtonModule)[];
60
- declare const shared: (typeof MatButtonModule | typeof RouterLink | typeof RouterOutlet | typeof RouterLinkActive)[];
61
58
  declare class SharedModule {
62
59
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SharedModule, never>;
63
60
  static ɵmod: _angular_core.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.MatButtonModule, typeof i2.MatCheckboxModule, typeof i3.MatToolbarModule, typeof i4.MatMenuModule, typeof i5.MatFormFieldModule, typeof i6.MatTooltipModule, typeof i7.MatSidenavModule, typeof i8.MatTabsModule, typeof i9.MatTableModule, typeof i10.MatIconModule, typeof i11.MatCardModule, typeof i12.MatSelectModule, typeof i13.MatDialogModule, typeof i14.MatSortModule, typeof i15.MatRadioModule, typeof i16.MatRippleModule, typeof i17.MatDividerModule, typeof i18.MatInputModule, typeof i19.MatProgressBarModule, typeof i20.MatProgressSpinnerModule, typeof i21.MatTreeModule, typeof i22.MatExpansionModule, typeof i23.MatDatepickerModule, typeof i24.MatAutocompleteModule, typeof i25.MatChipsModule, typeof i26.MatGridListModule, typeof i27.MatPaginatorModule, typeof i28.MatSliderModule, typeof i29.TranslateModule, typeof i30.ReactiveFormsModule, typeof i31.CommonModule, typeof i32.RouterLink, typeof i32.RouterOutlet, typeof i32.RouterLinkActive, typeof i33.DragDropModule], [typeof i1.MatButtonModule, typeof i2.MatCheckboxModule, typeof i3.MatToolbarModule, typeof i4.MatMenuModule, typeof i5.MatFormFieldModule, typeof i6.MatTooltipModule, typeof i7.MatSidenavModule, typeof i8.MatTabsModule, typeof i9.MatTableModule, typeof i10.MatIconModule, typeof i11.MatCardModule, typeof i12.MatSelectModule, typeof i13.MatDialogModule, typeof i14.MatSortModule, typeof i15.MatRadioModule, typeof i16.MatRippleModule, typeof i17.MatDividerModule, typeof i18.MatInputModule, typeof i19.MatProgressBarModule, typeof i20.MatProgressSpinnerModule, typeof i21.MatTreeModule, typeof i22.MatExpansionModule, typeof i23.MatDatepickerModule, typeof i24.MatAutocompleteModule, typeof i25.MatChipsModule, typeof i26.MatGridListModule, typeof i27.MatPaginatorModule, typeof i28.MatSliderModule, typeof i29.TranslateModule, typeof i30.ReactiveFormsModule, typeof i31.CommonModule, typeof i32.RouterLink, typeof i32.RouterOutlet, typeof i32.RouterLinkActive, typeof i33.DragDropModule]>;
@@ -914,7 +911,7 @@ declare class LabeledValueComponent {
914
911
  }
915
912
 
916
913
  declare class IconComponent {
917
- icon: _angular_core.InputSignal<string | SvgIcon | LoadedIcon>;
914
+ icon: _angular_core.InputSignal<string | number | LoadedIcon | SvgIcon>;
918
915
  isAsyncIcon(): LoadedIcon | null;
919
916
  isSvgIcon(): SvgIcon | null;
920
917
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconComponent, never>;
@@ -1164,11 +1161,17 @@ declare class StandardListDataControl<ItemType> {
1164
1161
  get itemRemoved$(): Observable<string>;
1165
1162
  }
1166
1163
 
1164
+ interface StyleOverride {
1165
+ card?: Record<string, boolean>;
1166
+ leftIcon?: Record<string, boolean>;
1167
+ rightIcon?: Record<string, boolean>;
1168
+ }
1167
1169
  declare class StandardListViewComponent<ItemType> {
1168
1170
  dataSource: _angular_core.InputSignal<StandardListDataSource<ItemType>>;
1169
1171
  dataControl: _angular_core.InputSignal<StandardListDataControl<ItemType>>;
1170
1172
  position: _angular_core.InputSignal<"inner" | "outer">;
1171
1173
  isColoredInput: _angular_core.InputSignal<boolean>;
1174
+ styleOverrides: _angular_core.InputSignal<StyleOverride>;
1172
1175
  loadingData: _angular_core.WritableSignal<boolean>;
1173
1176
  loadingPage: _angular_core.WritableSignal<boolean>;
1174
1177
  selectedItem: _angular_core.WritableSignal<StandardListItem<ItemType> | null>;
@@ -1187,7 +1190,7 @@ declare class StandardListViewComponent<ItemType> {
1187
1190
  selectEmpty(): void;
1188
1191
  loadMore(): void;
1189
1192
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<StandardListViewComponent<any>, never>;
1190
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<StandardListViewComponent<any>, "app-standard-list-view", never, { "dataSource": { "alias": "dataSource"; "required": true; "isSignal": true; }; "dataControl": { "alias": "dataControl"; "required": true; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "isColoredInput": { "alias": "isColoredInput"; "required": false; "isSignal": true; }; "hideSearch": { "alias": "hideSearch"; "required": false; "isSignal": true; }; "hideDetails": { "alias": "hideDetails"; "required": false; "isSignal": true; }; "hidePadding": { "alias": "hidePadding"; "required": false; "isSignal": true; }; }, { "itemSelected": "itemSelected"; }, ["itemTemplate"], ["[app-no-items-message]", "[app-actions]", "[app-details]"], true, never>;
1193
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<StandardListViewComponent<any>, "app-standard-list-view", never, { "dataSource": { "alias": "dataSource"; "required": true; "isSignal": true; }; "dataControl": { "alias": "dataControl"; "required": true; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "isColoredInput": { "alias": "isColoredInput"; "required": false; "isSignal": true; }; "styleOverrides": { "alias": "styleOverrides"; "required": false; "isSignal": true; }; "hideSearch": { "alias": "hideSearch"; "required": false; "isSignal": true; }; "hideDetails": { "alias": "hideDetails"; "required": false; "isSignal": true; }; "hidePadding": { "alias": "hidePadding"; "required": false; "isSignal": true; }; }, { "itemSelected": "itemSelected"; }, ["itemTemplate"], ["[app-no-items-message]", "[app-actions]", "[app-details]"], true, never>;
1191
1194
  }
1192
1195
 
1193
1196
  declare const LAST_ACTIVE_TAB_KEY = "WOLK_LAST_ACTIVE_TAB";
@@ -1553,5 +1556,5 @@ declare class ValueInputVectorComponent implements ControlValueAccessor, Validat
1553
1556
  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>;
1554
1557
  }
1555
1558
 
1556
- export { AUTHENTICATION_CLIENT, AssetManager, AuthenticationService, AutocompleteChipsComponent, AutocompleteComponent, BasicTimeSeriesGraphComponent, COLORS, CUSTOM_PERIOD, CardLabeledValueComponent, ConfirmationDialogComponent, DEFAULT_LOCALE, DEFAULT_TIMEZONES, DEFAULT_TIME_ZONE, DataType, DateRangeInputComponent, DateTimeFormFieldComponent, DragDropFileUploadComponent, DurationPipe, FeatureRegistry, 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, angularComponents, arrayToObject, chartThemeDark, chartThemeLight, daysAway, determineMagnitude, determineMinMaxValues, endOfPeriod, equalsByValue, fileSizeValidator, flatMap, flatten, format, formatDuration, generateRandomString, globalPermissionGuard, groupBy, hoursAway, isContextAccessible, lookUpPathPart, lookUpQueryParam, parseDateRangeInputPeriod, parseTimeInput, saveFile, scale, shared, startOfMonth, startOfPeriod, startOfTheDay, startOfWeek, startOfYear, toDate, toEndOfMonth, toEndOfYear, toJsDate, toOffset, toStartOfMonth, toStartOfTheDay, toStartOfWeek, toStartOfYear, toTime, uniqueBy, uniqueFrom, validateAssetName, validateTypeAssetName };
1557
- export type { Authentication, AuthenticationClient, Authority, Color, ConfirmationData, DateRangeValues, ExternalFeature, Feature, ImportError, LoadedIcon, MapItem, MasterDetailDisplayRatio, NestedListItem, PartialUpdate, RelativeTimePeriodWithCustom, SearchAction, SortDirection$1 as SortDirection, StandardListItem, SvgIcon, Tab, Theme, TimeSeries, TimeSeriesData, TreeNode, User, ValueInputValidationConditions };
1559
+ export { AUTHENTICATION_CLIENT, AssetManager, AuthenticationService, AutocompleteChipsComponent, AutocompleteComponent, BasicTimeSeriesGraphComponent, COLORS, CUSTOM_PERIOD, CardLabeledValueComponent, ConfirmationDialogComponent, DEFAULT_LOCALE, DEFAULT_TIMEZONES, DEFAULT_TIME_ZONE, DataType, DateRangeInputComponent, DateTimeFormFieldComponent, DragDropFileUploadComponent, DurationPipe, FeatureRegistry, 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, toDate, toEndOfMonth, toEndOfYear, toJsDate, toOffset, toStartOfMonth, toStartOfTheDay, toStartOfWeek, toStartOfYear, toTime, uniqueBy, uniqueFrom, validateAssetName, validateTypeAssetName };
1560
+ export type { Authentication, AuthenticationClient, Authority, Color, ConfirmationData, DateRangeValues, ExternalFeature, Feature, ImportError, LoadedIcon, MapItem, MasterDetailDisplayRatio, NestedListItem, PartialUpdate, RelativeTimePeriodWithCustom, SearchAction, SortDirection$1 as SortDirection, StandardListItem, StyleOverride, SvgIcon, Tab, Theme, TimeSeries, TimeSeriesData, TreeNode, User, ValueInputValidationConditions };