@wolkabout/commons 0.0.52 → 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
|
@@ -1104,15 +1104,21 @@ declare abstract class StandardListDataSource<ItemType> {
|
|
|
1104
1104
|
nextPage(): Observable<ItemType[]>;
|
|
1105
1105
|
}
|
|
1106
1106
|
|
|
1107
|
+
interface PartialUpdate<ItemType> {
|
|
1108
|
+
id: string;
|
|
1109
|
+
update: Partial<ItemType>;
|
|
1110
|
+
}
|
|
1107
1111
|
declare class StandardListDataControl<ItemType> {
|
|
1108
1112
|
private _changeSelection$;
|
|
1109
1113
|
private _itemUpdated$;
|
|
1110
1114
|
private _itemAdded$;
|
|
1111
1115
|
private _itemRemoved$;
|
|
1116
|
+
private _itemPartiallyUpdated$;
|
|
1112
1117
|
readonly selectItem: (id: string) => void;
|
|
1113
1118
|
readonly updateItem: (item: ItemType) => void;
|
|
1114
1119
|
readonly addItem: (item: ItemType) => void;
|
|
1115
1120
|
readonly removeItem: (id: string) => void;
|
|
1121
|
+
readonly updateItemPartially: (id: string, update: Partial<ItemType>) => void;
|
|
1116
1122
|
/**
|
|
1117
1123
|
* Internal event hook. Do not use outside the Standard List Component
|
|
1118
1124
|
*/
|
|
@@ -1121,6 +1127,10 @@ declare class StandardListDataControl<ItemType> {
|
|
|
1121
1127
|
* Internal event hook. Do not use outside of the Standard List Component
|
|
1122
1128
|
*/
|
|
1123
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>>;
|
|
1124
1134
|
/**
|
|
1125
1135
|
* Internal event hook. Do not use outside the Standard List Component
|
|
1126
1136
|
*/
|
|
@@ -1523,4 +1533,4 @@ declare class ValueInputVectorComponent implements ControlValueAccessor, Validat
|
|
|
1523
1533
|
}
|
|
1524
1534
|
|
|
1525
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 };
|
|
1526
|
-
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 };
|