@wolkabout/commons 0.0.57 → 0.0.58

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.57",
3
+ "version": "0.0.58",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "21.2.0",
6
6
  "@angular/common": "21.2.0",
@@ -13,6 +13,7 @@ import * as i7 from '@angular/material/sidenav';
13
13
  import * as i8 from '@angular/material/tabs';
14
14
  import * as i9 from '@angular/material/table';
15
15
  import * as i10 from '@angular/material/icon';
16
+ import { MatIconRegistry } from '@angular/material/icon';
16
17
  import * as i11 from '@angular/material/card';
17
18
  import * as i12 from '@angular/material/select';
18
19
  import { MatSelectChange } from '@angular/material/select';
@@ -47,13 +48,13 @@ import { Observable, BehaviorSubject, Subject } from 'rxjs';
47
48
  import { MatSnackBar } from '@angular/material/snack-bar';
48
49
  import * as ngx_echarts from 'ngx-echarts';
49
50
  import { ThemeOption } from 'ngx-echarts';
51
+ import * as _angular_platform_browser from '@angular/platform-browser';
52
+ import { DomSanitizer, SafeUrl, SafeHtml, SafeResourceUrl } from '@angular/platform-browser';
50
53
  import { Overlay } from '@angular/cdk/overlay';
51
54
  import { EChartsOption } from 'echarts';
52
55
  import { DateTime } from 'luxon';
53
56
  import { GoogleMap } from '@angular/google-maps';
54
57
  import { MarkerClusterer } from '@googlemaps/markerclusterer';
55
- import * as _angular_platform_browser from '@angular/platform-browser';
56
- import { DomSanitizer, SafeUrl, SafeHtml, SafeResourceUrl } from '@angular/platform-browser';
57
58
 
58
59
  declare const angularComponents: (typeof MatButtonModule)[];
59
60
  declare const shared: (typeof MatButtonModule | typeof RouterLink | typeof RouterOutlet | typeof RouterLinkActive)[];
@@ -320,6 +321,14 @@ declare class ThemeService {
320
321
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<ThemeService>;
321
322
  }
322
323
 
324
+ declare class IconRegistryService {
325
+ matIconRegistry: MatIconRegistry;
326
+ domSanitizer: DomSanitizer;
327
+ registerIcon(name: string, path: string): void;
328
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconRegistryService, never>;
329
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<IconRegistryService>;
330
+ }
331
+
323
332
  declare class LoadingIndicatorDirective {
324
333
  private element;
325
334
  set appLoadingShimmer(isLoading: boolean | unknown);
@@ -904,6 +913,14 @@ declare class LabeledValueComponent {
904
913
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<LabeledValueComponent, "app-labeled-value", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
905
914
  }
906
915
 
916
+ declare class IconComponent {
917
+ icon: _angular_core.InputSignal<string | SvgIcon | LoadedIcon>;
918
+ isAsyncIcon(): LoadedIcon | null;
919
+ isSvgIcon(): SvgIcon | null;
920
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconComponent, never>;
921
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconComponent, "app-icon", never, { "icon": { "alias": "icon"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
922
+ }
923
+
907
924
  declare class LoadedIconComponent {
908
925
  private sanitizer;
909
926
  iconRequest: _angular_core.InputSignal<Observable<Blob | null>>;
@@ -1084,6 +1101,7 @@ interface StandardListItem<ItemType> {
1084
1101
  id: string;
1085
1102
  name: string;
1086
1103
  icon: string | LoadedIcon | SvgIcon;
1104
+ rightIcon?: string | LoadedIcon | SvgIcon;
1087
1105
  data: ItemType;
1088
1106
  }
1089
1107
  declare abstract class StandardListDataSource<ItemType> {
@@ -1167,8 +1185,6 @@ declare class StandardListViewComponent<ItemType> {
1167
1185
  constructor(destroyRef: DestroyRef);
1168
1186
  selectItem(item: StandardListItem<ItemType>): void;
1169
1187
  selectEmpty(): void;
1170
- isAsyncIcon(item: StandardListItem<ItemType>): LoadedIcon | null;
1171
- isSvgIcon(item: StandardListItem<ItemType>): SvgIcon | null;
1172
1188
  loadMore(): void;
1173
1189
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<StandardListViewComponent<any>, never>;
1174
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>;
@@ -1537,5 +1553,5 @@ declare class ValueInputVectorComponent implements ControlValueAccessor, Validat
1537
1553
  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>;
1538
1554
  }
1539
1555
 
1540
- 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, 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 };
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 };
1541
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 };