@fundamental-ngx/cdk 0.56.5 → 0.57.0-rc.1
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/data-source/index.d.ts +236 -8
- package/fesm2022/fundamental-ngx-cdk-data-source.mjs +7 -7
- package/fesm2022/fundamental-ngx-cdk-data-source.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-cdk-forms.mjs +10 -10
- package/fesm2022/fundamental-ngx-cdk-forms.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-cdk-utils.mjs +302 -300
- package/fesm2022/fundamental-ngx-cdk-utils.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-cdk.mjs +4 -4
- package/fesm2022/fundamental-ngx-cdk.mjs.map +1 -1
- package/forms/index.d.ts +396 -12
- package/index.d.ts +12 -1
- package/package.json +8 -8
- package/utils/index.d.ts +3253 -24
- package/data-source/base/abstract-data-provider.class.d.ts +0 -54
- package/data-source/base/base-data-source.class.d.ts +0 -64
- package/data-source/data-source.directive.d.ts +0 -46
- package/data-source/data-source.module.d.ts +0 -7
- package/data-source/helpers/apply-datasource-directive.d.ts +0 -6
- package/data-source/helpers/common.d.ts +0 -7
- package/data-source/helpers/is-datasource.d.ts +0 -5
- package/data-source/models/data-source-provider.d.ts +0 -22
- package/data-source/models/data-source.d.ts +0 -16
- package/data-source/models/index.d.ts +0 -3
- package/data-source/models/matching-strategy.d.ts +0 -10
- package/data-source/tokens.d.ts +0 -6
- package/forms/cva/cva-control.class.d.ts +0 -25
- package/forms/cva/cva.directive.d.ts +0 -181
- package/forms/forms.module.d.ts +0 -7
- package/forms/helpers/state.d.ts +0 -3
- package/forms/models/control-type.model.d.ts +0 -6
- package/forms/models/cva.d.ts +0 -4
- package/forms/models/form-error.d.ts +0 -36
- package/forms/models/form-field.d.ts +0 -88
- package/forms/models/form-state.d.ts +0 -2
- package/forms/models/select-item.d.ts +0 -47
- package/forms/tokens/form-field-control.token.d.ts +0 -3
- package/forms/tokens/form-field.token.d.ts +0 -3
- package/fundamental-ngx.module.d.ts +0 -9
- package/utils/abstract-fd-ngx-class.d.ts +0 -28
- package/utils/async-strategy/function-strategy.class.d.ts +0 -8
- package/utils/async-strategy/index.d.ts +0 -6
- package/utils/async-strategy/observable-strategy.class.d.ts +0 -9
- package/utils/async-strategy/promise-strategy.class.d.ts +0 -8
- package/utils/async-strategy/select-strategy.class.d.ts +0 -8
- package/utils/async-strategy/subscription-strategy.interface.d.ts +0 -10
- package/utils/async-strategy/value-strategy.class.d.ts +0 -8
- package/utils/coercion/array.d.ts +0 -2
- package/utils/components/dynamic-portal/dynamic-portal.component.d.ts +0 -36
- package/utils/components/index.d.ts +0 -1
- package/utils/consts/error-messages.d.ts +0 -3
- package/utils/consts/index.d.ts +0 -4
- package/utils/consts/overflow-priority-score.d.ts +0 -2
- package/utils/consts/unicode-letters.regex.d.ts +0 -7
- package/utils/consts/unicode-numbers.regex.d.ts +0 -6
- package/utils/datatypes/color-accent.datatype.d.ts +0 -3
- package/utils/datatypes/hash.datatype.d.ts +0 -3
- package/utils/datatypes/index.d.ts +0 -4
- package/utils/datatypes/object-nesting.types.d.ts +0 -4
- package/utils/datatypes/size.datatype.d.ts +0 -1
- package/utils/decorators/apply-css-class.decorator.d.ts +0 -10
- package/utils/decorators/apply-css-style.decorator.d.ts +0 -10
- package/utils/decorators/coerce-boolean.d.ts +0 -4
- package/utils/decorators/coerce-css-pixel.d.ts +0 -1
- package/utils/decorators/index.d.ts +0 -5
- package/utils/decorators/setter-alternator.d.ts +0 -4
- package/utils/deprecated-selector.class.d.ts +0 -18
- package/utils/directives/auto-complete/auto-complete.directive.d.ts +0 -59
- package/utils/directives/auto-complete/auto-complete.module.d.ts +0 -7
- package/utils/directives/breakpoints/breakpoint.directive.d.ts +0 -78
- package/utils/directives/breakpoints/responsive-breakpoints.d.ts +0 -10
- package/utils/directives/clicked/clicked-behavior.module.d.ts +0 -16
- package/utils/directives/clicked/clicked-event.plugin.d.ts +0 -26
- package/utils/directives/clicked/clicked.directive.d.ts +0 -17
- package/utils/directives/clicked/element-click.observable.d.ts +0 -8
- package/utils/directives/clicked/fdk-clicked-provider.service.d.ts +0 -23
- package/utils/directives/clicked/index.d.ts +0 -5
- package/utils/directives/clicked/provide-fdk-clicked.d.ts +0 -11
- package/utils/directives/disabled/default-disabled-view-modifier.d.ts +0 -9
- package/utils/directives/disabled/disabled-behavior.directive.d.ts +0 -35
- package/utils/directives/disabled/disabled-behavior.interface.d.ts +0 -7
- package/utils/directives/disabled/disabled-behavior.module.d.ts +0 -7
- package/utils/directives/disabled/disabled-view-modifier.interface.d.ts +0 -3
- package/utils/directives/disabled/disabled.observer.d.ts +0 -18
- package/utils/directives/disabled/fdk-disabled-provider.service.d.ts +0 -35
- package/utils/directives/disabled/fdk-disabled.token.d.ts +0 -3
- package/utils/directives/disabled/index.d.ts +0 -8
- package/utils/directives/disabled/set-disabled-state.d.ts +0 -4
- package/utils/directives/focus-key-manager/focus-key-manager-helpers.module.d.ts +0 -8
- package/utils/directives/focus-key-manager/focus-key-manager-item.directive.d.ts +0 -30
- package/utils/directives/focus-key-manager/focus-key-manager-list.directive.d.ts +0 -37
- package/utils/directives/focus-key-manager/focus-key-manager.tokens.d.ts +0 -3
- package/utils/directives/focus-key-manager/index.d.ts +0 -4
- package/utils/directives/focusable-grid/focusable-grid.directive.d.ts +0 -41
- package/utils/directives/focusable-grid/focusable-grid.module.d.ts +0 -8
- package/utils/directives/focusable-grid/focusable-grid.tokens.d.ts +0 -2
- package/utils/directives/focusable-grid/index.d.ts +0 -3
- package/utils/directives/focusable-item/focusable-item.directive.d.ts +0 -75
- package/utils/directives/focusable-item/focusable-item.module.d.ts +0 -7
- package/utils/directives/focusable-item/focusable-item.tokens.d.ts +0 -2
- package/utils/directives/focusable-item/focusable-list.position.d.ts +0 -4
- package/utils/directives/focusable-item/focusable.item.d.ts +0 -10
- package/utils/directives/focusable-item/focusable.observer.d.ts +0 -18
- package/utils/directives/focusable-item/get-item-element.d.ts +0 -7
- package/utils/directives/focusable-item/index.d.ts +0 -8
- package/utils/directives/focusable-item/indirect-focusable-item.directive.d.ts +0 -26
- package/utils/directives/focusable-item/is-element-focusable-by-default.d.ts +0 -4
- package/utils/directives/focusable-item/is-item-focusable.d.ts +0 -6
- package/utils/directives/focusable-list/focusable-list.directive.d.ts +0 -117
- package/utils/directives/focusable-list/focusable-list.module.d.ts +0 -8
- package/utils/directives/focusable-list/focusable-list.tokens.d.ts +0 -2
- package/utils/directives/focusable-list/index.d.ts +0 -5
- package/utils/directives/focusable-list/indirect-focusable-list.directive.d.ts +0 -25
- package/utils/directives/focusable-list/scroll.d.ts +0 -4
- package/utils/directives/ignore-click-on-selection/ignore-click-on-selection.directive.d.ts +0 -17
- package/utils/directives/ignore-click-on-selection/ignore-click-on-selection.module.d.ts +0 -7
- package/utils/directives/ignore-click-on-selection/tokens.d.ts +0 -2
- package/utils/directives/index.d.ts +0 -34
- package/utils/directives/initial-focus/initial-focus.directive.d.ts +0 -43
- package/utils/directives/initial-focus/initial-focus.module.d.ts +0 -7
- package/utils/directives/intersection-spy/intersection-spy.directive.d.ts +0 -18
- package/utils/directives/line-clamp/line-clamp.directive.d.ts +0 -91
- package/utils/directives/line-clamp/line-clamp.module.d.ts +0 -7
- package/utils/directives/only-digits/only-digits.directive.d.ts +0 -39
- package/utils/directives/only-digits/only-digits.module.d.ts +0 -7
- package/utils/directives/overflow-list/overflow-list-item.directive.d.ts +0 -9
- package/utils/directives/overflow-list/overflow-list.directive.d.ts +0 -60
- package/utils/directives/overflow-list/overflow-list.module.d.ts +0 -8
- package/utils/directives/readonly/default-readonly-view-modifier.d.ts +0 -9
- package/utils/directives/readonly/fdk-readonly-provider.service.d.ts +0 -35
- package/utils/directives/readonly/fdk-readonly.token.d.ts +0 -2
- package/utils/directives/readonly/index.d.ts +0 -9
- package/utils/directives/readonly/readonly-behavior.directive.d.ts +0 -24
- package/utils/directives/readonly/readonly-behavior.interface.d.ts +0 -7
- package/utils/directives/readonly/readonly-behavior.module.d.ts +0 -7
- package/utils/directives/readonly/readonly-view-modifier.interface.d.ts +0 -3
- package/utils/directives/readonly/readonly.observer.d.ts +0 -18
- package/utils/directives/readonly/set-readonly-state.d.ts +0 -4
- package/utils/directives/repeat/repeat.directive.d.ts +0 -17
- package/utils/directives/repeat/repeat.module.d.ts +0 -7
- package/utils/directives/resize/resize-handle.directive.d.ts +0 -9
- package/utils/directives/resize/resize.directive.d.ts +0 -60
- package/utils/directives/resize/resize.module.d.ts +0 -8
- package/utils/directives/resize-observer/index.d.ts +0 -1
- package/utils/directives/resize-observer/resize-observer.directive.d.ts +0 -20
- package/utils/directives/selectable-list/index.d.ts +0 -7
- package/utils/directives/selectable-list/select-component-root.token.d.ts +0 -10
- package/utils/directives/selectable-list/selectable-item.directive.d.ts +0 -46
- package/utils/directives/selectable-list/selectable-item.token.d.ts +0 -11
- package/utils/directives/selectable-list/selectable-list.directive.d.ts +0 -34
- package/utils/directives/selectable-list/selectable-list.module.d.ts +0 -8
- package/utils/directives/selectable-list/selectable-list.tokens.d.ts +0 -2
- package/utils/directives/selectable-list/selection.service.d.ts +0 -64
- package/utils/directives/template/template.directive.d.ts +0 -13
- package/utils/directives/template/template.module.d.ts +0 -7
- package/utils/directives/truncate/truncate.directive.d.ts +0 -55
- package/utils/directives/truncate/truncate.module.d.ts +0 -7
- package/utils/drag-and-drop/dnd-item/dnd-item.directive.d.ts +0 -95
- package/utils/drag-and-drop/dnd-keyboard-group/dnd-keyboard-group.directive.d.ts +0 -32
- package/utils/drag-and-drop/dnd-keyboard-item/dnd-keyboard-item.directive.d.ts +0 -61
- package/utils/drag-and-drop/dnd-list/dnd-list.directive.d.ts +0 -113
- package/utils/drag-and-drop/dnd.interfaces.d.ts +0 -40
- package/utils/drag-and-drop/drag-and-drop.module.d.ts +0 -11
- package/utils/drag-and-drop/index.d.ts +0 -7
- package/utils/drag-and-drop/tokens.d.ts +0 -3
- package/utils/dynamic-component/dynamic-component-config.d.ts +0 -8
- package/utils/dynamic-component/dynamic-component-container.d.ts +0 -24
- package/utils/dynamic-component/dynamic-component-injector.d.ts +0 -13
- package/utils/dynamic-component/dynamic-component.service.d.ts +0 -46
- package/utils/dynamic-component/index.d.ts +0 -4
- package/utils/functions/consumer-provider-factory.d.ts +0 -5
- package/utils/functions/element-size.d.ts +0 -12
- package/utils/functions/get-document-font-size.d.ts +0 -2
- package/utils/functions/index.d.ts +0 -13
- package/utils/functions/intersection-observable.d.ts +0 -8
- package/utils/functions/is-compact-density.d.ts +0 -7
- package/utils/functions/is-odd.d.ts +0 -6
- package/utils/functions/key-util.d.ts +0 -16
- package/utils/functions/module-deprecations-provider.d.ts +0 -5
- package/utils/functions/parser-file-size.d.ts +0 -2
- package/utils/functions/random-color-accent.d.ts +0 -3
- package/utils/functions/resize-observable.d.ts +0 -8
- package/utils/functions/scroll.d.ts +0 -7
- package/utils/functions/uuidv4-generator.d.ts +0 -2
- package/utils/helpers/destroy-observable.d.ts +0 -7
- package/utils/helpers/dfs.d.ts +0 -18
- package/utils/helpers/get-native-element.d.ts +0 -13
- package/utils/helpers/index.d.ts +0 -5
- package/utils/helpers/range-selector.d.ts +0 -84
- package/utils/helpers/warn-once.d.ts +0 -2
- package/utils/interfaces/content-density.d.ts +0 -1
- package/utils/interfaces/css-class-builder.interface.d.ts +0 -13
- package/utils/interfaces/css-style-builder.interface.d.ts +0 -5
- package/utils/interfaces/has-element-ref.interface.d.ts +0 -5
- package/utils/interfaces/index.d.ts +0 -7
- package/utils/interfaces/keyboard-support-item.interface.d.ts +0 -6
- package/utils/interfaces/module-deprecation.interface.d.ts +0 -8
- package/utils/interfaces/require.interface.d.ts +0 -6
- package/utils/list-item/list-item-utils.d.ts +0 -7
- package/utils/models/nullable.d.ts +0 -6
- package/utils/pipes/async-or-sync.pipe.d.ts +0 -21
- package/utils/pipes/displayFn.pipe.d.ts +0 -8
- package/utils/pipes/filter-strings.pipe.d.ts +0 -16
- package/utils/pipes/index.d.ts +0 -11
- package/utils/pipes/is-compact.pipe.d.ts +0 -9
- package/utils/pipes/make-async.pipe.d.ts +0 -12
- package/utils/pipes/pipe.module.d.ts +0 -16
- package/utils/pipes/safe.pipe.d.ts +0 -12
- package/utils/pipes/search-highlight.pipe.d.ts +0 -8
- package/utils/pipes/truncate.pipe.d.ts +0 -8
- package/utils/pipes/two-digits.pipe.d.ts +0 -8
- package/utils/pipes/value-by-path.pipe.d.ts +0 -8
- package/utils/services/content-density.service.d.ts +0 -19
- package/utils/services/destroyed.service.d.ts +0 -15
- package/utils/services/focus-trap.service.d.ts +0 -43
- package/utils/services/index.d.ts +0 -9
- package/utils/services/keyboard-support/keyboard-support.service.d.ts +0 -32
- package/utils/services/local-storage.service.d.ts +0 -13
- package/utils/services/observers/attribute.observer.d.ts +0 -26
- package/utils/services/resize-observer.service.d.ts +0 -34
- package/utils/services/rtl.service.d.ts +0 -14
- package/utils/services/tabbable-element.service.d.ts +0 -12
- package/utils/toast/base-toast-animations.d.ts +0 -7
- package/utils/toast/base-toast-positions.d.ts +0 -129
- package/utils/toast/base-toast.service.d.ts +0 -148
- package/utils/toast/classes/action-dismissible/base-toast-action-dismissible-ref.d.ts +0 -23
- package/utils/toast/classes/base-toast-animated-container.component.d.ts +0 -41
- package/utils/toast/classes/base-toast-config.d.ts +0 -53
- package/utils/toast/classes/base-toast-container.component.d.ts +0 -55
- package/utils/toast/classes/base-toast-overlay-container.d.ts +0 -16
- package/utils/toast/classes/base-toast-ref.d.ts +0 -35
- package/utils/toast/classes/duration-dismissible/base-toast-duration-dismissible-config.d.ts +0 -15
- package/utils/toast/classes/duration-dismissible/base-toast-duration-dismissible-container.component.d.ts +0 -20
- package/utils/toast/classes/duration-dismissible/base-toast-duration-dismissible-ref.d.ts +0 -20
- package/utils/toast/classes/duration-dismissible/base-toast-duration-dismissible.service.d.ts +0 -11
- package/utils/toast/index.d.ts +0 -15
- package/utils/toast/interfaces/toast-container-component.interface.d.ts +0 -14
- package/utils/toast/interfaces/toast-duration-dismissible-container-component.interface.d.ts +0 -6
- package/utils/toast/interfaces/toast-text-component.interface.d.ts +0 -5
- package/utils/tokens/module-deprecations.token.d.ts +0 -3
- package/utils/tokens/viewport-size.observable.d.ts +0 -8
- package/utils/typecheck.d.ts +0 -47
- package/utils/utils.module.d.ts +0 -25
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Interface SelectItem is used to deal with complex object in order to be able to format
|
|
3
|
-
* custom label that is shown in the options.
|
|
4
|
-
*
|
|
5
|
-
* Used in various controls: Select, RadioGroup, CheckboxGroup, Combobox
|
|
6
|
-
*/
|
|
7
|
-
export interface SelectItem<T = any> {
|
|
8
|
-
/**
|
|
9
|
-
* Item text shown in the popup
|
|
10
|
-
*/
|
|
11
|
-
label: string;
|
|
12
|
-
/**
|
|
13
|
-
* References to the object instance
|
|
14
|
-
*/
|
|
15
|
-
value: T;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
icon?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Trigger values is a text for selected item
|
|
20
|
-
*/
|
|
21
|
-
triggerValue?: string;
|
|
22
|
-
isGroup?: boolean;
|
|
23
|
-
secondaryText?: string;
|
|
24
|
-
children?: SelectItem[];
|
|
25
|
-
}
|
|
26
|
-
export interface OptionItem<T = any> {
|
|
27
|
-
/** Item text */
|
|
28
|
-
label: string;
|
|
29
|
-
/**
|
|
30
|
-
* References to the object instance
|
|
31
|
-
*/
|
|
32
|
-
value: T;
|
|
33
|
-
id?: string;
|
|
34
|
-
isGroup?: boolean;
|
|
35
|
-
secondaryText?: string;
|
|
36
|
-
children?: OptionItem[];
|
|
37
|
-
}
|
|
38
|
-
export interface SelectableOptionItem<T = any> extends OptionItem<T> {
|
|
39
|
-
selected?: boolean;
|
|
40
|
-
children?: SelectableOptionItem[];
|
|
41
|
-
}
|
|
42
|
-
/** @hidden */
|
|
43
|
-
export declare function isSelectableItem(item: SelectItem | any): item is SelectItem;
|
|
44
|
-
/** @hidden */
|
|
45
|
-
export declare function isSelectItem(item: SelectItem | any): item is SelectItem;
|
|
46
|
-
export declare const isOptionItem: typeof isSelectItem;
|
|
47
|
-
export declare const isSelectableOptionItem: typeof isSelectableItem;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@fundamental-ngx/cdk/forms";
|
|
3
|
-
import * as i2 from "@fundamental-ngx/cdk/data-source";
|
|
4
|
-
import * as i3 from "@fundamental-ngx/cdk/utils";
|
|
5
|
-
export declare class FundamentalNgxCdkModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FundamentalNgxCdkModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FundamentalNgxCdkModule, never, never, [typeof i1.FormsModule, typeof i2.DataSourceModule, typeof i3.UtilsModule]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FundamentalNgxCdkModule>;
|
|
9
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnChanges, OnInit } from '@angular/core';
|
|
2
|
-
import { HasElementRef } from './interfaces/has-element-ref.interface';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/** @hidden */
|
|
5
|
-
export declare abstract class AbstractFdNgxClass implements HasElementRef, OnInit, OnChanges {
|
|
6
|
-
/** @hidden */
|
|
7
|
-
abstract _setProperties(): void;
|
|
8
|
-
/** @hidden */
|
|
9
|
-
class: string;
|
|
10
|
-
/** @hidden */
|
|
11
|
-
readonly elementRef: ElementRef<any>;
|
|
12
|
-
/** @hidden */
|
|
13
|
-
constructor();
|
|
14
|
-
/** @hidden */
|
|
15
|
-
_setClassToElement(className: string): void;
|
|
16
|
-
/** @hidden */
|
|
17
|
-
_clearElementClass(): void;
|
|
18
|
-
/** @hidden */
|
|
19
|
-
_addClassToElement(className: string): void;
|
|
20
|
-
/** @hidden */
|
|
21
|
-
_addStyleToElement(attribute: any, value: any): void;
|
|
22
|
-
/** @hidden */
|
|
23
|
-
ngOnChanges(): void;
|
|
24
|
-
/** @hidden */
|
|
25
|
-
ngOnInit(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractFdNgxClass, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFdNgxClass, never, never, { "class": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SubscriptionStrategy } from './subscription-strategy.interface';
|
|
2
|
-
/**
|
|
3
|
-
* @description Executes function and passes returned value into callback function.
|
|
4
|
-
*/
|
|
5
|
-
export declare class FunctionStrategy<T> implements SubscriptionStrategy<T> {
|
|
6
|
-
/** @hidden */
|
|
7
|
-
createSubscription(fn: () => T, updateLatestValue: (v: T) => any): Promise<void>;
|
|
8
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from './function-strategy.class';
|
|
2
|
-
export * from './observable-strategy.class';
|
|
3
|
-
export * from './promise-strategy.class';
|
|
4
|
-
export * from './select-strategy.class';
|
|
5
|
-
export * from './subscription-strategy.interface';
|
|
6
|
-
export * from './value-strategy.class';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { SubscriptionStrategy } from './subscription-strategy.interface';
|
|
3
|
-
/**
|
|
4
|
-
* @description Converts observable into Promise and passes returned value into callback function.
|
|
5
|
-
*/
|
|
6
|
-
export declare class ObservableStrategy<T> implements SubscriptionStrategy<T> {
|
|
7
|
-
/** @hidden */
|
|
8
|
-
createSubscription(async: Observable<T>, updateLatestValue: any): Promise<void>;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SubscriptionStrategy } from './subscription-strategy.interface';
|
|
2
|
-
/**
|
|
3
|
-
* @description awaits for promise to resolve it's value and passes returned value into callback function.
|
|
4
|
-
*/
|
|
5
|
-
export declare class PromiseStrategy<T> implements SubscriptionStrategy<T> {
|
|
6
|
-
/** @hidden */
|
|
7
|
-
createSubscription(async: Promise<T>, updateLatestValue: (v: T) => any): Promise<void>;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { SubscriptionStrategy } from './subscription-strategy.interface';
|
|
3
|
-
/**
|
|
4
|
-
* @description Selects appropriate strategy on how to resolve function value
|
|
5
|
-
* @param obj object to get value from
|
|
6
|
-
* @returns appropriate strategy to retrieve value from the object
|
|
7
|
-
*/
|
|
8
|
-
export declare function selectStrategy<T = any>(obj: Observable<T> | Promise<T> | (() => void) | T): SubscriptionStrategy<T>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
export interface SubscriptionStrategy<T = any> {
|
|
3
|
-
/**
|
|
4
|
-
* @description Awaits object to resolve it's value and passes it to the callback function.
|
|
5
|
-
* @param obj Object to be awaited.
|
|
6
|
-
* @param updateLatestValue Callback function where awaited value will be passed.
|
|
7
|
-
* as an argument
|
|
8
|
-
*/
|
|
9
|
-
createSubscription(obj: Observable<T> | Promise<T> | (() => void) | T, updateLatestValue: (value: T) => void): Promise<void>;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SubscriptionStrategy } from './subscription-strategy.interface';
|
|
2
|
-
/**
|
|
3
|
-
* @description Passes value object into callback function.
|
|
4
|
-
*/
|
|
5
|
-
export declare class ValueStrategy<T> implements SubscriptionStrategy<T> {
|
|
6
|
-
/** @hidden */
|
|
7
|
-
createSubscription(value: T, updateLatestValue: (v: T) => any): Promise<void>;
|
|
8
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { CdkPortalOutlet, ComponentType } from '@angular/cdk/portal';
|
|
2
|
-
import { AfterViewInit, ComponentRef, ElementRef, EmbeddedViewRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* A component that can be used to attach a portal to a DOM element, without explicitly creating portal instances on place.
|
|
6
|
-
* This is useful when you have a list of the components or templates, or HTMLElmets, and you want to attach them to the DOM
|
|
7
|
-
* dynamically in a loop.
|
|
8
|
-
*/
|
|
9
|
-
export declare class DynamicPortalComponent implements AfterViewInit {
|
|
10
|
-
/** The DOM element to attach */
|
|
11
|
-
set domElement(value: HTMLElement | ElementRef<HTMLElement> | string);
|
|
12
|
-
/** The component to attach */
|
|
13
|
-
set component(value: ComponentType<any>);
|
|
14
|
-
/** The template to attach */
|
|
15
|
-
set template(value: TemplateRef<any>);
|
|
16
|
-
/** The Content which should be attached and can be any of the items */
|
|
17
|
-
set auto(value: DynamicPortalComponent['domElement' | 'component' | 'template']);
|
|
18
|
-
/** Emits when the portal is attached */
|
|
19
|
-
attached: EventEmitter<Element | EmbeddedViewRef<any> | ComponentRef<any>>;
|
|
20
|
-
/** @hidden */
|
|
21
|
-
portalOutlet?: CdkPortalOutlet;
|
|
22
|
-
/** @hidden */
|
|
23
|
-
private portalContent$;
|
|
24
|
-
/** @hidden */
|
|
25
|
-
private readonly _destroyRef;
|
|
26
|
-
/** @hidden */
|
|
27
|
-
private viewContainerRef;
|
|
28
|
-
/** @hidden */
|
|
29
|
-
private renderer;
|
|
30
|
-
/** @hidden */
|
|
31
|
-
private elementRef;
|
|
32
|
-
/** @hidden */
|
|
33
|
-
ngAfterViewInit(): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicPortalComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicPortalComponent, "fdk-dynamic-portal", never, { "domElement": { "alias": "domElement"; "required": false; }; "component": { "alias": "component"; "required": false; }; "template": { "alias": "template"; "required": false; }; "auto": { "alias": "auto"; "required": false; }; }, { "attached": "attached"; }, never, never, true, never>;
|
|
36
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './dynamic-portal/dynamic-portal.component';
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export declare const MOBILE_CONFIG_ERROR = "Missing configuration object for mobile version of the component.\n Consult the documentation on how to provide MobileModeConfiguration object for this component.\n";
|
|
2
|
-
export declare const THEME_SWITCHER_ROUTER_MISSING_ERROR = "You need to import RouterModule to enable theme settings via the url.";
|
|
3
|
-
export declare const INVALID_DATE_ERROR = "Invalid Date";
|
package/utils/consts/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Instead of `/\p{L}/u` because of it's not working in IE11 and Edge
|
|
3
|
-
* - https://github.com/Microsoft/ChakraCore/issues/2969
|
|
4
|
-
* */
|
|
5
|
-
export declare const LETTERS_UNICODE_RANGE = "[A-Za-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]";
|
|
6
|
-
export declare const ANY_LANGUAGE_LETTERS_REGEX: RegExp;
|
|
7
|
-
export declare const ANY_LANGUAGE_LETTERS_GROUP_REGEX: RegExp;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Polyfill for `/\p{Nd}/u` to work in IE11 and Edge
|
|
3
|
-
*/
|
|
4
|
-
export declare const DECIMAL_NUMBER_UNICODE_RANGE = "[0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]";
|
|
5
|
-
export declare const DECIMAL_NUMBER_UNICODE_REGEX: RegExp;
|
|
6
|
-
export declare const DECIMAL_NUMBER_UNICODE_GROUP_REGEX: RegExp;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export type Enumerate<N extends number, Acc extends number[] = []> = Acc['length'] extends N ? Acc[number] : Enumerate<N, [...Acc, Acc['length']]>;
|
|
2
|
-
export type IntRange<F extends number, T extends number> = Exclude<Enumerate<T>, Enumerate<F>>;
|
|
3
|
-
export type ColorAccent = IntRange<1, 11>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export type NestedKeyOf<ObjectType extends object> = {
|
|
2
|
-
[Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends object ? `${Key}` | `${Key}.${NestedKeyOf<ObjectType[Key]>}` : `${Key}`;
|
|
3
|
-
}[keyof ObjectType & (string | number)];
|
|
4
|
-
export type ObjectPathType<T, K extends keyof T | string> = K extends keyof T ? T[K] : K extends `${infer First}.${infer Rest}` ? First extends keyof T ? ObjectPathType<T[First], Rest> : never : never;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Size = 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Method decorator to apply css class to a component through native element
|
|
3
|
-
* decorator will store original method in variable and wrap it with custom one
|
|
4
|
-
* component has to implement CssClassBuilder interface
|
|
5
|
-
* more info abour method decorator: https://www.typescriptlang.org/docs/handbook/decorators.html#method-decorators
|
|
6
|
-
* @param target a component
|
|
7
|
-
* @param propertyKey name of the method
|
|
8
|
-
* @param descriptor method
|
|
9
|
-
*/
|
|
10
|
-
export declare function applyCssClass(target: any, propertyKey: string, descriptor: PropertyDescriptor): void;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Method decorator to apply css styles to a component through native element
|
|
3
|
-
* decorator will store original method in variable and wrap it with custom one
|
|
4
|
-
* component has to implement HasElementRef or CssStyleBuilder interface
|
|
5
|
-
* more info abour method decorator: https://www.typescriptlang.org/docs/handbook/decorators.html#method-decorators
|
|
6
|
-
* @param target a component
|
|
7
|
-
* @param propertyKey name of the method
|
|
8
|
-
* @param descriptor method
|
|
9
|
-
*/
|
|
10
|
-
export declare function applyCssStyle(target: any, propertyKey: string, descriptor: PropertyDescriptor): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const coerceCssPixel: PropertyDecorator;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, ValueProvider } from '@angular/core';
|
|
2
|
-
export interface DeprecatedSelectorModel {
|
|
3
|
-
deprecated: string;
|
|
4
|
-
current: string;
|
|
5
|
-
}
|
|
6
|
-
/** @hidden */
|
|
7
|
-
export declare function getDeprecatedModel(current: string, deprecated: string): DeprecatedSelectorModel;
|
|
8
|
-
/** @hidden */
|
|
9
|
-
export declare function deprecatedModelProvider(current: string, deprecated: string): ValueProvider;
|
|
10
|
-
export declare const FD_DEPRECATED_DIRECTIVE_SELECTOR: InjectionToken<DeprecatedSelectorModel>;
|
|
11
|
-
export declare abstract class DeprecatedSelector {
|
|
12
|
-
/** @hidden */
|
|
13
|
-
protected _selectors: DeprecatedSelectorModel | null;
|
|
14
|
-
/** @hidden */
|
|
15
|
-
constructor();
|
|
16
|
-
/** @hidden */
|
|
17
|
-
protected _messageGenerator(deprecated: string, current: string): string;
|
|
18
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export interface AutoCompleteEvent {
|
|
4
|
-
term: string;
|
|
5
|
-
forceClose: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare class AutoCompleteDirective {
|
|
8
|
-
/** Values that will fill missing text in the input. */
|
|
9
|
-
options: any[];
|
|
10
|
-
/**
|
|
11
|
-
* Input text, that is taken from ngModel of formControl,
|
|
12
|
-
* there has to be difference between native input value and model value
|
|
13
|
-
*/
|
|
14
|
-
inputText: string;
|
|
15
|
-
/** Whether the auto complete directive should be enabled */
|
|
16
|
-
enable: boolean;
|
|
17
|
-
/** Display function. Accepts an object of the same type as the
|
|
18
|
-
* items passed to dropdownValues as argument, and outputs a string.
|
|
19
|
-
* An arrow function can be used to access the *this* keyword in the calling component.
|
|
20
|
-
* See search input examples for details. */
|
|
21
|
-
displayFn: (value: any) => string;
|
|
22
|
-
/** Event thrown, when the auto ahead text is accepted */
|
|
23
|
-
readonly onComplete: EventEmitter<AutoCompleteEvent>;
|
|
24
|
-
/** @hidden */
|
|
25
|
-
private readonly _completeKeys;
|
|
26
|
-
/** @hidden */
|
|
27
|
-
private readonly _fillKeys;
|
|
28
|
-
/** @hidden */
|
|
29
|
-
private readonly _stopKeys;
|
|
30
|
-
/** @hidden */
|
|
31
|
-
private oldValue;
|
|
32
|
-
/** @hidden */
|
|
33
|
-
private lastKeyUpEvent;
|
|
34
|
-
/** @hidden */
|
|
35
|
-
private _isComposing;
|
|
36
|
-
/** @hidden */
|
|
37
|
-
private readonly _elementRef;
|
|
38
|
-
private readonly _zone;
|
|
39
|
-
/** @hidden */
|
|
40
|
-
constructor();
|
|
41
|
-
/** Matcher function for testing the str for a search term */
|
|
42
|
-
matcher: (str: string, searchTerm: string) => boolean;
|
|
43
|
-
/** @hidden */
|
|
44
|
-
_handleKeyboardEvent(event: KeyboardEvent): void;
|
|
45
|
-
/** @hidden */
|
|
46
|
-
private _typeahead;
|
|
47
|
-
/** @hidden */
|
|
48
|
-
private _isControlKey;
|
|
49
|
-
/** @hidden */
|
|
50
|
-
private _defaultDisplay;
|
|
51
|
-
/** @hidden */
|
|
52
|
-
private _triggerTypeAhead;
|
|
53
|
-
/** @hidden */
|
|
54
|
-
private _sendCompleteEvent;
|
|
55
|
-
/** @hidden */
|
|
56
|
-
private _moveIndicatorToLastCharacter;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AutoCompleteDirective, never>;
|
|
58
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AutoCompleteDirective, "[fdkAutoComplete]", never, { "options": { "alias": "options"; "required": false; }; "inputText": { "alias": "inputText"; "required": false; }; "enable": { "alias": "enable"; "required": false; }; "displayFn": { "alias": "displayFn"; "required": false; }; "matcher": { "alias": "matcher"; "required": false; }; }, { "onComplete": "onComplete"; }, never, never, true, never>;
|
|
59
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./auto-complete.directive";
|
|
3
|
-
export declare class AutoCompleteModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AutoCompleteModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AutoCompleteModule, never, [typeof i1.AutoCompleteDirective], [typeof i1.AutoCompleteDirective]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AutoCompleteModule>;
|
|
7
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EmbeddedViewRef, OnChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
3
|
-
import { BreakpointName } from './responsive-breakpoints';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Directive to show/hide element on specific breakpoint or range of window width.
|
|
7
|
-
* Uses native ngIf directive to show/hide element.
|
|
8
|
-
*/
|
|
9
|
-
export declare class BreakpointDirective implements OnChanges, AfterViewInit {
|
|
10
|
-
private readonly templateRef;
|
|
11
|
-
private readonly viewContainer;
|
|
12
|
-
/**
|
|
13
|
-
* Provide list of the breakpoints to show element on.
|
|
14
|
-
* */
|
|
15
|
-
set fdkBreakpoint(value: BreakpointName[]);
|
|
16
|
-
/**
|
|
17
|
-
* Show element on S breakpoint.
|
|
18
|
-
* S - 0 - 599px
|
|
19
|
-
* */
|
|
20
|
-
showOnS: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Show element on M breakpoint.
|
|
23
|
-
* M - 0 - 1023px
|
|
24
|
-
* */
|
|
25
|
-
showOnM: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Show element on L breakpoint.
|
|
28
|
-
* L - 0 - 1439px
|
|
29
|
-
* */
|
|
30
|
-
showOnL: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Show element on XL breakpoint.
|
|
33
|
-
* */
|
|
34
|
-
showOnXL: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Show element on breakpoint less than provided value.
|
|
37
|
-
* */
|
|
38
|
-
fdkBreakpointLt: number;
|
|
39
|
-
/**
|
|
40
|
-
* Show element on breakpoint greater than provided value.
|
|
41
|
-
* */
|
|
42
|
-
fdkBreakpointGt: number;
|
|
43
|
-
/**
|
|
44
|
-
* Observe element width changes.
|
|
45
|
-
*/
|
|
46
|
-
set observationSource(value: HTMLElement | ElementRef<HTMLElement>);
|
|
47
|
-
/** @hidden */
|
|
48
|
-
templateViewRef?: EmbeddedViewRef<unknown>;
|
|
49
|
-
/** @hidden */
|
|
50
|
-
onChanges$: Subject<void>;
|
|
51
|
-
/** @hidden */
|
|
52
|
-
_sizeObservable$: BehaviorSubject<Observable<number>>;
|
|
53
|
-
/** @hidden */
|
|
54
|
-
private viewportSize$;
|
|
55
|
-
/** @hidden */
|
|
56
|
-
private _destroyRef;
|
|
57
|
-
/** @hidden */
|
|
58
|
-
private _resizeObserverService;
|
|
59
|
-
/** @hidden */
|
|
60
|
-
constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef);
|
|
61
|
-
/** @hidden */
|
|
62
|
-
ngAfterViewInit(): void;
|
|
63
|
-
/** @hidden */
|
|
64
|
-
ngOnChanges(): void;
|
|
65
|
-
/** @hidden */
|
|
66
|
-
private _shouldShow;
|
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BreakpointDirective, never>;
|
|
68
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BreakpointDirective, "[fdkBreakpoint], [fdkBreakpointS], [fdkBreakpointM], [fdkBreakpointL], [fdkBreakpointXL], [fdkBreakpointLt], [fdkBreakpointGt]", never, { "fdkBreakpoint": { "alias": "fdkBreakpoint"; "required": false; }; "showOnS": { "alias": "fdkBreakpointS"; "required": false; }; "showOnM": { "alias": "fdkBreakpointM"; "required": false; }; "showOnL": { "alias": "fdkBreakpointL"; "required": false; }; "showOnXL": { "alias": "fdkBreakpointXL"; "required": false; }; "fdkBreakpointLt": { "alias": "fdkBreakpointLt"; "required": false; }; "fdkBreakpointGt": { "alias": "fdkBreakpointGt"; "required": false; }; "observationSource": { "alias": "fdkBreakpointObserve"; "required": false; }; }, {}, never, never, true, never>;
|
|
69
|
-
static ngAcceptInputType_showOnS: unknown;
|
|
70
|
-
static ngAcceptInputType_showOnM: unknown;
|
|
71
|
-
static ngAcceptInputType_showOnL: unknown;
|
|
72
|
-
static ngAcceptInputType_showOnXL: unknown;
|
|
73
|
-
}
|
|
74
|
-
export declare class BreakpointModule {
|
|
75
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BreakpointModule, never>;
|
|
76
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BreakpointModule, never, [typeof BreakpointDirective], [typeof BreakpointDirective]>;
|
|
77
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BreakpointModule>;
|
|
78
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const ResponsiveBreakpoints: {
|
|
2
|
-
readonly S: 600;
|
|
3
|
-
readonly M: 1024;
|
|
4
|
-
readonly L: 1440;
|
|
5
|
-
};
|
|
6
|
-
type breakpointName = keyof typeof ResponsiveBreakpoints | 'XL';
|
|
7
|
-
export type BreakpointName = Lowercase<breakpointName> | Uppercase<breakpointName>;
|
|
8
|
-
/** @hidden */
|
|
9
|
-
export declare function getBreakpointName(width: number): breakpointName;
|
|
10
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./clicked.directive";
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated
|
|
6
|
-
* ClickedBehaviorModule is deprecated and will be removed in the next major release. Use ClickedDirective instead.
|
|
7
|
-
*/
|
|
8
|
-
export declare class ClickedBehaviorModule {
|
|
9
|
-
/** @hidden */
|
|
10
|
-
constructor();
|
|
11
|
-
/** @hidden */
|
|
12
|
-
static forRoot(): ModuleWithProviders<ClickedBehaviorModule>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClickedBehaviorModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClickedBehaviorModule, never, [typeof i1.ClickedDirective], [typeof i1.ClickedDirective]>;
|
|
15
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ClickedBehaviorModule>;
|
|
16
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
type EventHandlerFunction = ($event: Event) => void;
|
|
3
|
-
type HandlerRemoveFunction = () => void;
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated
|
|
6
|
-
* No need to use it anymore. Use ClickedDirective directly instead.
|
|
7
|
-
*/
|
|
8
|
-
export declare class ClickedEventPlugin {
|
|
9
|
-
private document;
|
|
10
|
-
private platformId;
|
|
11
|
-
/** @hidden */
|
|
12
|
-
constructor(document: Document, platformId: any);
|
|
13
|
-
/** @hidden */
|
|
14
|
-
addEventListener(element: HTMLElement, eventName: string, handler: EventHandlerFunction): ($event: Event) => void;
|
|
15
|
-
/** @hidden */
|
|
16
|
-
addGlobalEventListener(higherOrderElement: string, eventName: string, handler: EventHandlerFunction): HandlerRemoveFunction;
|
|
17
|
-
/** @hidden */
|
|
18
|
-
supports(eventName: string): boolean;
|
|
19
|
-
/** @hidden */
|
|
20
|
-
private _parseHigherOrderElement;
|
|
21
|
-
/** @hidden */
|
|
22
|
-
private _setupEventBinding;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClickedEventPlugin, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ClickedEventPlugin>;
|
|
25
|
-
}
|
|
26
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ClickedDirective {
|
|
4
|
-
/**
|
|
5
|
-
* Event name.
|
|
6
|
-
*/
|
|
7
|
-
static eventName: string;
|
|
8
|
-
/**
|
|
9
|
-
* Event emitted when user either clicks with mouse, or
|
|
10
|
-
* clicks on space or enter keys
|
|
11
|
-
*/
|
|
12
|
-
fdkClicked: Observable<MouseEvent | KeyboardEvent>;
|
|
13
|
-
/** @hidden */
|
|
14
|
-
constructor();
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClickedDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickedDirective, "[fdkClicked]", never, {}, { "fdkClicked": "fdkClicked"; }, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
/**
|
|
4
|
-
* Returns Observable that emits when element is clicked. Uses Renderer2 to listen to events.
|
|
5
|
-
* @param element
|
|
6
|
-
* @param renderer
|
|
7
|
-
*/
|
|
8
|
-
export declare function elementClick$(element: ElementRef<HTMLElement> | HTMLElement, renderer?: Renderer2): Observable<MouseEvent | KeyboardEvent>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FdkClickedProvider extends Subject<MouseEvent | KeyboardEvent> implements OnDestroy {
|
|
5
|
-
private readonly _elementRef;
|
|
6
|
-
private readonly _renderer;
|
|
7
|
-
/** @hidden */
|
|
8
|
-
private _preventDefault;
|
|
9
|
-
/** @hidden */
|
|
10
|
-
private _listeners;
|
|
11
|
-
/** @hidden */
|
|
12
|
-
private readonly _fdkClickedEventManagerPluginLoaded;
|
|
13
|
-
/** @hidden */
|
|
14
|
-
constructor(_elementRef: ElementRef<Element>, _renderer: Renderer2, eventManagerPlugins: any[]);
|
|
15
|
-
/** @hidden */
|
|
16
|
-
setPreventDefault(val: boolean): void;
|
|
17
|
-
/** @hidden */
|
|
18
|
-
ngOnDestroy(): void;
|
|
19
|
-
/** @hidden */
|
|
20
|
-
private _initialize;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FdkClickedProvider, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FdkClickedProvider>;
|
|
23
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated
|
|
4
|
-
* ClickedBehaviorModule is deprecated and will be removed in the next major release. Use ClickedDirective instead.
|
|
5
|
-
*/
|
|
6
|
-
export declare const ClickedBehaviorModuleForRootLoadedOnce: InjectionToken<boolean>;
|
|
7
|
-
/**
|
|
8
|
-
* Provides ClickedEventPlugin to the application
|
|
9
|
-
* @deprecated
|
|
10
|
-
*/
|
|
11
|
-
export declare function provideFdkClicked(): Provider[];
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { DisabledViewModifier } from './disabled-view-modifier.interface';
|
|
3
|
-
export declare class DefaultDisabledViewModifier implements DisabledViewModifier {
|
|
4
|
-
private elementRef;
|
|
5
|
-
/** @hidden */
|
|
6
|
-
constructor(elementRef: ElementRef<Element>);
|
|
7
|
-
/** @hidden */
|
|
8
|
-
setDisabledState: (isDisabled: boolean) => void;
|
|
9
|
-
}
|