@wolkabout/commons 0.0.51 → 0.0.53
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.
|
|
3
|
+
"version": "0.0.53",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/cdk": "21.2.0",
|
|
6
6
|
"@angular/common": "21.2.0",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"@googlemaps/markerclusterer": "2.6.2",
|
|
14
14
|
"@material/material-color-utilities": "0.4.0",
|
|
15
15
|
"@ngx-translate/core": "17.0.0",
|
|
16
|
-
"echarts": "
|
|
16
|
+
"echarts": "^6.0.0",
|
|
17
17
|
"jwt-decode": "4.0.0",
|
|
18
18
|
"luxon": "3.7.2",
|
|
19
19
|
"ngx-drag-drop": "21.0.0",
|
|
@@ -123,7 +123,6 @@ declare enum DataType {
|
|
|
123
123
|
/**
|
|
124
124
|
* Returns 'true' if the route is accessible,
|
|
125
125
|
* Returns the first available route if the requested route is NOT accessible
|
|
126
|
-
* Returns the fallback route if there are no routes accessible.
|
|
127
126
|
*
|
|
128
127
|
* Define "requiredPermissions" in the route data section.
|
|
129
128
|
* The permissions are checked globally, and the result will match if ANY permission is present.
|
|
@@ -1105,15 +1104,21 @@ declare abstract class StandardListDataSource<ItemType> {
|
|
|
1105
1104
|
nextPage(): Observable<ItemType[]>;
|
|
1106
1105
|
}
|
|
1107
1106
|
|
|
1107
|
+
interface PartialUpdate<ItemType> {
|
|
1108
|
+
id: string;
|
|
1109
|
+
update: Partial<ItemType>;
|
|
1110
|
+
}
|
|
1108
1111
|
declare class StandardListDataControl<ItemType> {
|
|
1109
1112
|
private _changeSelection$;
|
|
1110
1113
|
private _itemUpdated$;
|
|
1111
1114
|
private _itemAdded$;
|
|
1112
1115
|
private _itemRemoved$;
|
|
1116
|
+
private _itemPartiallyUpdated$;
|
|
1113
1117
|
readonly selectItem: (id: string) => void;
|
|
1114
1118
|
readonly updateItem: (item: ItemType) => void;
|
|
1115
1119
|
readonly addItem: (item: ItemType) => void;
|
|
1116
1120
|
readonly removeItem: (id: string) => void;
|
|
1121
|
+
readonly updateItemPartially: (id: string, update: Partial<ItemType>) => void;
|
|
1117
1122
|
/**
|
|
1118
1123
|
* Internal event hook. Do not use outside the Standard List Component
|
|
1119
1124
|
*/
|
|
@@ -1122,6 +1127,10 @@ declare class StandardListDataControl<ItemType> {
|
|
|
1122
1127
|
* Internal event hook. Do not use outside of the Standard List Component
|
|
1123
1128
|
*/
|
|
1124
1129
|
get itemUpdated$(): Observable<ItemType>;
|
|
1130
|
+
/**
|
|
1131
|
+
* Internal event hook. Do not use outside of the Standard List Component
|
|
1132
|
+
*/
|
|
1133
|
+
get itemPartiallyUpdated$(): Observable<PartialUpdate<ItemType>>;
|
|
1125
1134
|
/**
|
|
1126
1135
|
* Internal event hook. Do not use outside the Standard List Component
|
|
1127
1136
|
*/
|
|
@@ -1524,4 +1533,4 @@ declare class ValueInputVectorComponent implements ControlValueAccessor, Validat
|
|
|
1524
1533
|
}
|
|
1525
1534
|
|
|
1526
1535
|
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, NgTemplateContentDirective, 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 };
|
|
1527
|
-
export type { Authentication, AuthenticationClient, Authority, Color, ConfirmationData, DateRangeValues, ExternalFeature, Feature, ImportError, LoadedIcon, MapItem, MasterDetailDisplayRatio, NestedListItem, RelativeTimePeriodWithCustom, SearchAction, SortDirection$1 as SortDirection, StandardListItem, SvgIcon, Tab, Theme, TimeSeries, TimeSeriesData, TreeNode, User, ValueInputValidationConditions };
|
|
1536
|
+
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 };
|