@fundamental-ngx/cdk 0.58.0-rc.7 → 0.58.0-rc.70
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,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fundamental-ngx/cdk",
|
|
3
|
-
"version": "0.58.0-rc.
|
|
3
|
+
"version": "0.58.0-rc.70",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"description": "Fundamental Library for Angular - CDK",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"homepage": "https://sap.github.io/fundamental-ngx",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "https://github.com/SAP/fundamental-ngx"
|
|
10
|
+
"url": "git+https://github.com/SAP/fundamental-ngx.git"
|
|
11
11
|
},
|
|
12
12
|
"engine": {
|
|
13
13
|
"node": ">= 10"
|
package/utils/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { MutationObserverFactory } from '@angular/cdk/observers';
|
|
|
9
9
|
import { ComponentType, CdkPortalOutlet, ComponentPortal, TemplatePortal, BasePortalOutlet } from '@angular/cdk/portal';
|
|
10
10
|
import { DomSanitizer, SafeHtml, SafeStyle, SafeScript, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
|
|
11
11
|
import { Options, FocusTrap } from 'focus-trap';
|
|
12
|
-
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
12
|
+
import { AnimationTriggerMetadata, AnimationEvent } from '@angular/animations';
|
|
13
13
|
import { ConnectedPosition, ScrollStrategy, OverlayRef, Overlay, ComponentType as ComponentType$1, OverlayContainer } from '@angular/cdk/overlay';
|
|
14
14
|
|
|
15
15
|
interface HasElementRef<ElementType extends Element = HTMLElement> {
|
|
@@ -551,7 +551,7 @@ declare class DndListDirective<T> implements AfterContentInit, OnDestroy {
|
|
|
551
551
|
/** @hidden */
|
|
552
552
|
dndItems: QueryList<DndItem<T>>;
|
|
553
553
|
/** @hidden */
|
|
554
|
-
|
|
554
|
+
protected readonly _initialClass = "fd-dnd-list";
|
|
555
555
|
/** @hidden */
|
|
556
556
|
private _elementsCoordinates;
|
|
557
557
|
/** @hidden */
|
|
@@ -2237,6 +2237,88 @@ declare class KeyUtil {
|
|
|
2237
2237
|
static isKeyType(event: KeyboardEvent, keyType: 'alphabetical' | 'numeric' | 'control' | 'ime'): boolean;
|
|
2238
2238
|
}
|
|
2239
2239
|
|
|
2240
|
+
/**
|
|
2241
|
+
* Utility functions to replace lodash-es functionality with native JavaScript.
|
|
2242
|
+
*/
|
|
2243
|
+
/**
|
|
2244
|
+
* Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned.
|
|
2245
|
+
* @param obj The object to query
|
|
2246
|
+
* @param path The path of the property to get
|
|
2247
|
+
* @param defaultValue The value returned if the resolved value is undefined
|
|
2248
|
+
* @returns The resolved value
|
|
2249
|
+
*/
|
|
2250
|
+
declare function get<TDefault = undefined>(obj: any, path: string | string[], defaultValue?: TDefault): TDefault extends undefined ? any : TDefault;
|
|
2251
|
+
/**
|
|
2252
|
+
* Sets the value at path of object. If a portion of path doesn't exist, it's created.
|
|
2253
|
+
* @param obj The object to modify
|
|
2254
|
+
* @param path The path of the property to set
|
|
2255
|
+
* @param value The value to set
|
|
2256
|
+
* @returns The object
|
|
2257
|
+
*/
|
|
2258
|
+
declare function set<T = any>(obj: T, path: string | string[], value: any): T;
|
|
2259
|
+
/**
|
|
2260
|
+
* Deep clones an object, handling functions and other non-cloneable values.
|
|
2261
|
+
* For objects with functions or class instances, it creates a new object and copies properties.
|
|
2262
|
+
* @param obj The object to clone
|
|
2263
|
+
* @returns The cloned object
|
|
2264
|
+
*/
|
|
2265
|
+
declare function cloneDeep<T>(obj: T): T;
|
|
2266
|
+
/**
|
|
2267
|
+
* Deep merges two or more objects, with properties from source objects overwriting those in the target.
|
|
2268
|
+
* @param target The target object
|
|
2269
|
+
* @param sources The source objects
|
|
2270
|
+
* @returns The merged object
|
|
2271
|
+
*/
|
|
2272
|
+
declare function merge<T>(target: T, ...sources: Partial<T>[]): T;
|
|
2273
|
+
/**
|
|
2274
|
+
* Merges two objects with a customizer function.
|
|
2275
|
+
* @param target The target object
|
|
2276
|
+
* @param source The source object
|
|
2277
|
+
* @param customizer The function to customize assigned values
|
|
2278
|
+
* @returns The merged object
|
|
2279
|
+
*/
|
|
2280
|
+
declare function mergeWith<T>(target: T, source: Partial<T>, customizer: (targetValue: any, sourceValue: any, key: string) => any): T;
|
|
2281
|
+
/**
|
|
2282
|
+
* Creates an array of unique values from the given array.
|
|
2283
|
+
* @param array The array to inspect
|
|
2284
|
+
* @returns The new array of unique values
|
|
2285
|
+
*/
|
|
2286
|
+
declare function uniq<T>(array: T[]): T[];
|
|
2287
|
+
/**
|
|
2288
|
+
* Creates an array of unique values from an array based on a property.
|
|
2289
|
+
* @param array The array to inspect
|
|
2290
|
+
* @param iteratee The iteratee invoked per element
|
|
2291
|
+
* @returns The new duplicate free array
|
|
2292
|
+
*/
|
|
2293
|
+
declare function uniqBy<T>(array: T[], iteratee: ((item: T) => any) | string): T[];
|
|
2294
|
+
/**
|
|
2295
|
+
* Flattens an array a single level deep.
|
|
2296
|
+
* @param array The array to flatten
|
|
2297
|
+
* @returns The new flattened array
|
|
2298
|
+
*/
|
|
2299
|
+
declare function flatten<T>(array: T[][]): T[];
|
|
2300
|
+
/**
|
|
2301
|
+
* Creates an object composed of keys generated from the results of running each element through iteratee.
|
|
2302
|
+
* The corresponding value of each key is the number of times the key was returned by iteratee.
|
|
2303
|
+
* @param array The array to iterate over
|
|
2304
|
+
* @param iteratee The iteratee to transform keys
|
|
2305
|
+
* @returns The composed aggregate object
|
|
2306
|
+
*/
|
|
2307
|
+
declare function countBy<T>(array: T[], iteratee: ((item: T) => any) | string): Record<string, number>;
|
|
2308
|
+
/**
|
|
2309
|
+
* Concatenates arrays.
|
|
2310
|
+
* @param arrays The arrays to concatenate
|
|
2311
|
+
* @returns The new concatenated array
|
|
2312
|
+
*/
|
|
2313
|
+
declare function concat<T>(...arrays: (T | T[])[]): T[];
|
|
2314
|
+
/**
|
|
2315
|
+
* Escapes HTML characters in a string.
|
|
2316
|
+
* Converts characters like <, >, &, ", and ' to their HTML entity equivalents.
|
|
2317
|
+
* @param str The string to escape
|
|
2318
|
+
* @returns The escaped string
|
|
2319
|
+
*/
|
|
2320
|
+
declare function escape(str: string): string;
|
|
2321
|
+
|
|
2240
2322
|
/** Module deprecations provider */
|
|
2241
2323
|
declare function moduleDeprecationsProvider(classRef: any): Provider;
|
|
2242
2324
|
/** Module deprecations provider factory */
|
|
@@ -3081,12 +3163,12 @@ declare abstract class BaseToastAnimatedContainerComponent<P extends BaseAnimate
|
|
|
3081
3163
|
* @hidden
|
|
3082
3164
|
* The state of the Message Toast animations.
|
|
3083
3165
|
*/
|
|
3084
|
-
|
|
3166
|
+
protected get _animationState(): string;
|
|
3085
3167
|
/**
|
|
3086
3168
|
* @hidden
|
|
3087
3169
|
* Whether the animations should be disabled.
|
|
3088
3170
|
*/
|
|
3089
|
-
|
|
3171
|
+
protected _animationsDisabled: boolean;
|
|
3090
3172
|
/** @hidden */
|
|
3091
3173
|
protected _ngZone: NgZone;
|
|
3092
3174
|
/** @hidden */
|
|
@@ -3097,7 +3179,7 @@ declare abstract class BaseToastAnimatedContainerComponent<P extends BaseAnimate
|
|
|
3097
3179
|
* @hidden
|
|
3098
3180
|
* Handle end of animations, updating the state of the Message Toast.
|
|
3099
3181
|
*/
|
|
3100
|
-
|
|
3182
|
+
protected _onAnimationEnd(event: AnimationEvent): void;
|
|
3101
3183
|
/** Begin animation of Message Toast entrance into view. */
|
|
3102
3184
|
enter(): void;
|
|
3103
3185
|
/** Begin animation of Message Toast removal. */
|
|
@@ -3256,5 +3338,5 @@ declare function isPromise<T = any>(obj: any): obj is Promise<T>;
|
|
|
3256
3338
|
*/
|
|
3257
3339
|
declare function isSubscribable<T = any>(obj: any | Observable<T>): obj is Observable<T>;
|
|
3258
3340
|
|
|
3259
|
-
export { ANY_LANGUAGE_LETTERS_GROUP_REGEX, ANY_LANGUAGE_LETTERS_REGEX, AbstractFdNgxClass, AsyncOrSyncPipe, AttributeObserver, AutoCompleteDirective, AutoCompleteModule, BaseAnimatedToastConfig, BaseDismissibleToastService, BaseToastActionDismissibleRef, BaseToastConfig, BaseToastContainerComponent, BaseToastDurationDismissibleConfig, BaseToastDurationDismissibleContainerComponent, BaseToastDurationDismissibleRef, BaseToastOverlayContainer, BaseToastPosition, BaseToastRef, BaseToastService, BreakpointDirective, BreakpointModule, ClickedBehaviorModule, ClickedBehaviorModuleForRootLoadedOnce, ClickedDirective, ContentDensityService, DECIMAL_NUMBER_UNICODE_GROUP_REGEX, DECIMAL_NUMBER_UNICODE_RANGE, DECIMAL_NUMBER_UNICODE_REGEX, DEFAULT_CONTENT_DENSITY, DND_ITEM, DND_LIST, DefaultReadonlyViewModifier, DeprecatedSelector, DestroyedService, DisabledBehaviorDirective, DisabledBehaviorModule, DisabledObserver, DisplayFnPipe, DndItemDirective, DndKeyboardGroupDirective, DndKeyboardItemDirective, DndListDirective, DragAndDropModule, DynamicComponentContainer, DynamicComponentInjector, DynamicComponentService, DynamicPortalComponent, ELEMENT_REF_EXCEPTION, FDK_DISABLED_DIRECTIVE, FDK_FOCUSABLE_GRID_DIRECTIVE, FDK_FOCUSABLE_ITEM_DIRECTIVE, FDK_FOCUSABLE_LIST_DIRECTIVE, FDK_INDIRECT_FOCUSABLE_ITEM_ORDER, FDK_READONLY_DIRECTIVE, FDK_SELECTABLE_ITEM_PROVIDER, FD_DEPRECATED_DIRECTIVE_SELECTOR, FOCUSABLE_ITEM, FdkClickedProvider, FdkDisabledProvider, FdkReadonlyProvider, FilterStringsPipe, FocusKeyManagerHelpersModule, FocusKeyManagerItemDirective, FocusKeyManagerListDirective, FocusTrapService, FocusableGridDirective, FocusableGridModule, FocusableItemDirective, FocusableItemModule, FocusableListDirective, FocusableListModule, FocusableObserver, FunctionStrategy, INVALID_DATE_ERROR, IgnoreClickOnSelectionDirective, IgnoreClickOnSelectionDirectiveToken, IgnoreClickOnSelectionModule, IndirectFocusableItemDirective, IndirectFocusableListDirective, InitialFocusDirective, InitialFocusModule, IntersectionSpyDirective, IsCompactDensityPipe, KeyUtil, KeyboardSupportService, LETTERS_UNICODE_RANGE, LIST_ITEM_COMPONENT, LineClampDirective, LineClampModule, LineClampTargetDirective, LocalStorageService, MOBILE_CONFIG_ERROR, MakeAsyncPipe, ModuleDeprecations, OVERFLOW_PRIORITY_SCORE, ObservableStrategy, OnlyDigitsDirective, OnlyDigitsModule, OverflowListDirective, OverflowListItemDirective, OverflowListModule, PipeModule, PromiseStrategy, RTL_LANGUAGE, RangeSelector, ReadonlyBehaviorDirective, ReadonlyBehaviorModule, ReadonlyObserver, RepeatDirective, RepeatModule, ResizeDirective, ResizeHandleDirective, ResizeModule, ResizeObserverDirective, ResizeObserverFactory, ResizeObserverService, ResponsiveBreakpoints, RtlService, SafePipe, SearchHighlightPipe, SelectComponentRootToken, SelectableItemDirective, SelectableItemToken, SelectableListDirective, SelectableListModule, SelectionService, THEME_SWITCHER_ROUTER_MISSING_ERROR, TabbableElementService, TemplateDirective, TemplateModule, ToastBottomCenterPosition, ToastBottomLeftPosition, ToastBottomRightPosition, ToastTopCenterPosition, ToastTopLeftPosition, ToastTopRightPosition, TruncateDirective, TruncateModule, TruncatePipe, TruncatedTitleDirective, TwoDigitsPipe, UtilsModule, ValueByPathPipe, ValueStrategy, ViewportSizeObservable, alternateSetter, applyCssClass, applyCssStyle, baseToastAnimations, coerceArraySafe, coerceBoolean, coerceCssPixel, consumerProviderFactory, deprecatedModelProvider, destroyObservable, dfs, elementClick$, getBreakpointName, getDeprecatedModel, getDocumentFontSize, getElementCapacity, getElementWidth, getNativeElement, getRandomColorAccent, hasElementRef, intersectionObservable, isBlank, isBoolean, isCompactDensity, isFunction, isItemFocusable, isJsObject, isNumber, isObject, isOdd, isPresent, isPromise, isString, isStringMap, isSubscribable, isType, isValidContentDensity, moduleDeprecationsFactory, moduleDeprecationsProvider, parserFileSize, provideFdkClicked, pxToNum, resizeObservable, scrollIntoView, scrollTop, selectStrategy, setDisabledState, setReadonlyState, toNativeElement, toastConnectedBottomLeftPosition, toastConnectedBottomPosition, toastConnectedBottomRightPosition, toastConnectedTopLeftPosition, toastConnectedTopPosition, toastConnectedTopRightPosition, uuidv4, warnOnce };
|
|
3341
|
+
export { ANY_LANGUAGE_LETTERS_GROUP_REGEX, ANY_LANGUAGE_LETTERS_REGEX, AbstractFdNgxClass, AsyncOrSyncPipe, AttributeObserver, AutoCompleteDirective, AutoCompleteModule, BaseAnimatedToastConfig, BaseDismissibleToastService, BaseToastActionDismissibleRef, BaseToastConfig, BaseToastContainerComponent, BaseToastDurationDismissibleConfig, BaseToastDurationDismissibleContainerComponent, BaseToastDurationDismissibleRef, BaseToastOverlayContainer, BaseToastPosition, BaseToastRef, BaseToastService, BreakpointDirective, BreakpointModule, ClickedBehaviorModule, ClickedBehaviorModuleForRootLoadedOnce, ClickedDirective, ContentDensityService, DECIMAL_NUMBER_UNICODE_GROUP_REGEX, DECIMAL_NUMBER_UNICODE_RANGE, DECIMAL_NUMBER_UNICODE_REGEX, DEFAULT_CONTENT_DENSITY, DND_ITEM, DND_LIST, DefaultReadonlyViewModifier, DeprecatedSelector, DestroyedService, DisabledBehaviorDirective, DisabledBehaviorModule, DisabledObserver, DisplayFnPipe, DndItemDirective, DndKeyboardGroupDirective, DndKeyboardItemDirective, DndListDirective, DragAndDropModule, DynamicComponentContainer, DynamicComponentInjector, DynamicComponentService, DynamicPortalComponent, ELEMENT_REF_EXCEPTION, FDK_DISABLED_DIRECTIVE, FDK_FOCUSABLE_GRID_DIRECTIVE, FDK_FOCUSABLE_ITEM_DIRECTIVE, FDK_FOCUSABLE_LIST_DIRECTIVE, FDK_INDIRECT_FOCUSABLE_ITEM_ORDER, FDK_READONLY_DIRECTIVE, FDK_SELECTABLE_ITEM_PROVIDER, FD_DEPRECATED_DIRECTIVE_SELECTOR, FOCUSABLE_ITEM, FdkClickedProvider, FdkDisabledProvider, FdkReadonlyProvider, FilterStringsPipe, FocusKeyManagerHelpersModule, FocusKeyManagerItemDirective, FocusKeyManagerListDirective, FocusTrapService, FocusableGridDirective, FocusableGridModule, FocusableItemDirective, FocusableItemModule, FocusableListDirective, FocusableListModule, FocusableObserver, FunctionStrategy, INVALID_DATE_ERROR, IgnoreClickOnSelectionDirective, IgnoreClickOnSelectionDirectiveToken, IgnoreClickOnSelectionModule, IndirectFocusableItemDirective, IndirectFocusableListDirective, InitialFocusDirective, InitialFocusModule, IntersectionSpyDirective, IsCompactDensityPipe, KeyUtil, KeyboardSupportService, LETTERS_UNICODE_RANGE, LIST_ITEM_COMPONENT, LineClampDirective, LineClampModule, LineClampTargetDirective, LocalStorageService, MOBILE_CONFIG_ERROR, MakeAsyncPipe, ModuleDeprecations, OVERFLOW_PRIORITY_SCORE, ObservableStrategy, OnlyDigitsDirective, OnlyDigitsModule, OverflowListDirective, OverflowListItemDirective, OverflowListModule, PipeModule, PromiseStrategy, RTL_LANGUAGE, RangeSelector, ReadonlyBehaviorDirective, ReadonlyBehaviorModule, ReadonlyObserver, RepeatDirective, RepeatModule, ResizeDirective, ResizeHandleDirective, ResizeModule, ResizeObserverDirective, ResizeObserverFactory, ResizeObserverService, ResponsiveBreakpoints, RtlService, SafePipe, SearchHighlightPipe, SelectComponentRootToken, SelectableItemDirective, SelectableItemToken, SelectableListDirective, SelectableListModule, SelectionService, THEME_SWITCHER_ROUTER_MISSING_ERROR, TabbableElementService, TemplateDirective, TemplateModule, ToastBottomCenterPosition, ToastBottomLeftPosition, ToastBottomRightPosition, ToastTopCenterPosition, ToastTopLeftPosition, ToastTopRightPosition, TruncateDirective, TruncateModule, TruncatePipe, TruncatedTitleDirective, TwoDigitsPipe, UtilsModule, ValueByPathPipe, ValueStrategy, ViewportSizeObservable, alternateSetter, applyCssClass, applyCssStyle, baseToastAnimations, cloneDeep, coerceArraySafe, coerceBoolean, coerceCssPixel, concat, consumerProviderFactory, countBy, deprecatedModelProvider, destroyObservable, dfs, elementClick$, escape, flatten, get, getBreakpointName, getDeprecatedModel, getDocumentFontSize, getElementCapacity, getElementWidth, getNativeElement, getRandomColorAccent, hasElementRef, intersectionObservable, isBlank, isBoolean, isCompactDensity, isFunction, isItemFocusable, isJsObject, isNumber, isObject, isOdd, isPresent, isPromise, isString, isStringMap, isSubscribable, isType, isValidContentDensity, merge, mergeWith, moduleDeprecationsFactory, moduleDeprecationsProvider, parserFileSize, provideFdkClicked, pxToNum, resizeObservable, scrollIntoView, scrollTop, selectStrategy, set, setDisabledState, setReadonlyState, toNativeElement, toastConnectedBottomLeftPosition, toastConnectedBottomPosition, toastConnectedBottomRightPosition, toastConnectedTopLeftPosition, toastConnectedTopPosition, toastConnectedTopRightPosition, uniq, uniqBy, uuidv4, warnOnce };
|
|
3260
3342
|
export type { AutoCompleteEvent, BreakpointName, CellFocusedEventAnnouncer, ColorAccent, ContentDensity, CssClassBuilder, CssStyleBuilder, DeprecatedSelectorModel, DisabledBehavior, DisabledViewModifier, DndItem, DragoverPredicate, DropPredicate, DynamicComponentConfig, ElementChord, ElementPosition, Enumerate, FdDndDropEventMode, FdDndDropType, FdDropEvent, FdkAsyncProperty, FocusEscapeDirection, FocusableCellPosition, FocusableItem, FocusableItemPosition, FocusableListItemFocusedEvent, FocusableListKeydownEvent, FocusableListPosition, HasElementRef, Hash, IntRange, ItemsQueryList, KeyboardSupportItemInterface, LinkPosition, ListItemInterface, ModuleDeprecation, NestedKeyOf, Nullable, NullableObject, ObjectPathType, OverflowPriority, RangeSelectionState, ReadonlyBehavior, ReadonlyViewModifier, RequireAtLeastOne, RequireOnlyOne, ScrollPosition, SelectableListValueType, SelectionItemsList, Size, SubscriptionStrategy, ToastContainerComponent, ToastDurationDismissibleContainerComponent, ToastGlobalConnectedPosition, ToastGlobalPosition, ToastTextComponent };
|