@fundamental-ngx/cdk 0.56.4 → 0.57.0-rc.0
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
|
@@ -8,11 +8,11 @@ import * as i0 from '@angular/core';
|
|
|
8
8
|
import { NgModule } from '@angular/core';
|
|
9
9
|
|
|
10
10
|
class FundamentalNgxCdkModule {
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
13
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: FundamentalNgxCdkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.2", ngImport: i0, type: FundamentalNgxCdkModule, exports: [FormsModule, DataSourceModule, UtilsModule] }); }
|
|
13
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: FundamentalNgxCdkModule, imports: [FormsModule, DataSourceModule, UtilsModule] }); }
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: FundamentalNgxCdkModule, decorators: [{
|
|
16
16
|
type: NgModule,
|
|
17
17
|
args: [{
|
|
18
18
|
imports: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fundamental-ngx-cdk.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-cdk.mjs","sources":["../tmp-esm2022/fundamental-ngx.module.js","../tmp-esm2022/fundamental-ngx-cdk.js"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { DataSourceModule } from '@fundamental-ngx/cdk/data-source';\nimport { FormsModule } from '@fundamental-ngx/cdk/forms';\nimport { UtilsModule } from '@fundamental-ngx/cdk/utils';\nimport * as i0 from \"@angular/core\";\nexport class FundamentalNgxCdkModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.0.2\", ngImport: i0, type: FundamentalNgxCdkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"20.0.2\", ngImport: i0, type: FundamentalNgxCdkModule, exports: [FormsModule, DataSourceModule, UtilsModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"20.0.2\", ngImport: i0, type: FundamentalNgxCdkModule, imports: [FormsModule, DataSourceModule, UtilsModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.0.2\", ngImport: i0, type: FundamentalNgxCdkModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [],\n declarations: [],\n exports: [FormsModule, DataSourceModule, UtilsModule]\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvY2RrL2Z1bmRhbWVudGFsLW5neC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUNwRSxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDekQsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLDRCQUE0QixDQUFDOztBQU96RCxNQUFNLE9BQU8sdUJBQXVCOzhHQUF2Qix1QkFBdUI7K0dBQXZCLHVCQUF1QixZQUZ0QixXQUFXLEVBQUUsZ0JBQWdCLEVBQUUsV0FBVzsrR0FFM0MsdUJBQXVCLFlBRnRCLFdBQVcsRUFBRSxnQkFBZ0IsRUFBRSxXQUFXOzsyRkFFM0MsdUJBQXVCO2tCQUxuQyxRQUFRO21CQUFDO29CQUNOLE9BQU8sRUFBRSxFQUFFO29CQUNYLFlBQVksRUFBRSxFQUFFO29CQUNoQixPQUFPLEVBQUUsQ0FBQyxXQUFXLEVBQUUsZ0JBQWdCLEVBQUUsV0FBVyxDQUFDO2lCQUN4RCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBEYXRhU291cmNlTW9kdWxlIH0gZnJvbSAnQGZ1bmRhbWVudGFsLW5neC9jZGsvZGF0YS1zb3VyY2UnO1xuaW1wb3J0IHsgRm9ybXNNb2R1bGUgfSBmcm9tICdAZnVuZGFtZW50YWwtbmd4L2Nkay9mb3Jtcyc7XG5pbXBvcnQgeyBVdGlsc01vZHVsZSB9IGZyb20gJ0BmdW5kYW1lbnRhbC1uZ3gvY2RrL3V0aWxzJztcblxuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtdLFxuICAgIGV4cG9ydHM6IFtGb3Jtc01vZHVsZSwgRGF0YVNvdXJjZU1vZHVsZSwgVXRpbHNNb2R1bGVdXG59KVxuZXhwb3J0IGNsYXNzIEZ1bmRhbWVudGFsTmd4Q2RrTW9kdWxlIHt9XG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LWNkay5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvY2RrL2Z1bmRhbWVudGFsLW5neC1jZGsudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0="],"names":[],"mappings":";;;;;;;;;AAKO,MAAM,uBAAuB,CAAC;AACrC,IAAI,SAAS,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,uBAAuB,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,CAAC;AACxL,IAAI,SAAS,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,mBAAmB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,uBAAuB,EAAE,OAAO,EAAE,CAAC,WAAW,EAAE,gBAAgB,EAAE,WAAW,CAAC,EAAE,CAAC,CAAC;AACjM,IAAI,SAAS,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,mBAAmB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,uBAAuB,EAAE,OAAO,EAAE,CAAC,WAAW,EAAE,gBAAgB,EAAE,WAAW,CAAC,EAAE,CAAC,CAAC;AACjM;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,uBAAuB,EAAE,UAAU,EAAE,CAAC;AACjI,YAAY,IAAI,EAAE,QAAQ;AAC1B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,OAAO,EAAE,EAAE;AAC/B,oBAAoB,YAAY,EAAE,EAAE;AACpC,oBAAoB,OAAO,EAAE,CAAC,WAAW,EAAE,gBAAgB,EAAE,WAAW;AACxE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;ACjBb;AACA;AACA;;;;"}
|
package/forms/index.d.ts
CHANGED
|
@@ -1,12 +1,396 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { TemplateRef, ElementRef, QueryList, OnInit, DoCheck, AfterViewInit, OnDestroy, EventEmitter, ChangeDetectorRef, DestroyRef, InjectionToken } from '@angular/core';
|
|
3
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
|
+
import { ControlValueAccessor, NgControl, ControlContainer, NgForm } from '@angular/forms';
|
|
5
|
+
import { Nullable, HasElementRef } from '@fundamental-ngx/cdk/utils';
|
|
6
|
+
import { Subject, Observable, Subscription } from 'rxjs';
|
|
7
|
+
|
|
8
|
+
interface BaseCVA extends ControlValueAccessor {
|
|
9
|
+
ngControl: NgControl | null;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare const formStates: readonly ["success", "error", "warning", "default", "information"];
|
|
13
|
+
type FormStates = (typeof formStates)[number];
|
|
14
|
+
|
|
15
|
+
interface FormFieldErrorContext<T> {
|
|
16
|
+
label: string;
|
|
17
|
+
$implicit: T;
|
|
18
|
+
}
|
|
19
|
+
interface FormError<T = any> {
|
|
20
|
+
detectChanges$: Subject<void>;
|
|
21
|
+
fdpFormFieldErrorAs: T;
|
|
22
|
+
type: FormStates;
|
|
23
|
+
error: string;
|
|
24
|
+
_headingTemplateRef: TemplateRef<FormFieldErrorContext<T>>;
|
|
25
|
+
_descriptionTemplateRef: TemplateRef<FormFieldErrorContext<T>> | null;
|
|
26
|
+
templateRef: TemplateRef<FormFieldErrorContext<T>>;
|
|
27
|
+
registerHeading: (heading: FormErrorHeading) => void;
|
|
28
|
+
registerDescription: (description: FormErrorDescription) => void;
|
|
29
|
+
}
|
|
30
|
+
interface FormErrorHeading<T = any> {
|
|
31
|
+
fdpFormFieldErrorHeadingAs: T;
|
|
32
|
+
fdpFormFieldErrorHeadingType?: FormStates;
|
|
33
|
+
templateRef: TemplateRef<FormFieldErrorContext<T>>;
|
|
34
|
+
}
|
|
35
|
+
interface FormErrorDescription<T = any> {
|
|
36
|
+
fdpFormFieldErrorDescriptionAs: T;
|
|
37
|
+
templateRef: TemplateRef<FormFieldErrorContext<T>>;
|
|
38
|
+
}
|
|
39
|
+
interface FormFieldErrorDirectiveContext {
|
|
40
|
+
directive: FormError;
|
|
41
|
+
error: any;
|
|
42
|
+
}
|
|
43
|
+
interface FormFieldAdvancedStateMessage {
|
|
44
|
+
template: Nullable<TemplateRef<any>>;
|
|
45
|
+
hasErrors: boolean;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* FormField base class.
|
|
50
|
+
*
|
|
51
|
+
* This class is used to create form field components.
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
declare abstract class FormField {
|
|
55
|
+
/**
|
|
56
|
+
* Register underlying form control
|
|
57
|
+
*/
|
|
58
|
+
registerFormFieldControl: (control: FormFieldControl) => void;
|
|
59
|
+
/**
|
|
60
|
+
* Unregister underlying form control
|
|
61
|
+
*/
|
|
62
|
+
unregisterFormFieldControl: (control: FormFieldControl) => void;
|
|
63
|
+
/**
|
|
64
|
+
* Set default columns layout
|
|
65
|
+
*/
|
|
66
|
+
setDefaultColumnLayout: () => void;
|
|
67
|
+
/** Gets field error priority state. */
|
|
68
|
+
getPriorityState: () => FormStates;
|
|
69
|
+
/** Groups errors. */
|
|
70
|
+
groupErrors: () => void;
|
|
71
|
+
/** Sets error directives from parent container */
|
|
72
|
+
setErrorDirectives: (directives: QueryList<FormError>) => void;
|
|
73
|
+
}
|
|
74
|
+
interface FormFieldControl<T = any> {
|
|
75
|
+
/**
|
|
76
|
+
* Each input control has always a value. Need to make sure we keep a convention for
|
|
77
|
+
* input fields
|
|
78
|
+
*/
|
|
79
|
+
value: T | null;
|
|
80
|
+
/**
|
|
81
|
+
* Need to have a way to set placeholder to the input
|
|
82
|
+
*/
|
|
83
|
+
placeholder: string;
|
|
84
|
+
/**
|
|
85
|
+
* Need to have a way to set Mandatory to the input field
|
|
86
|
+
*/
|
|
87
|
+
required: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Sets id from FF to Input
|
|
90
|
+
*/
|
|
91
|
+
id: string;
|
|
92
|
+
/**
|
|
93
|
+
* This should be coming from Parent.
|
|
94
|
+
*/
|
|
95
|
+
editable: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* The height of the extra content at the bottom of the form control,
|
|
98
|
+
* which should not affect the alignment of form control and it's label
|
|
99
|
+
*/
|
|
100
|
+
extraContentHeightPx?: number;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* Form Field listen for all the changes happening inside the input
|
|
104
|
+
*/
|
|
105
|
+
stateChanges: Observable<void>;
|
|
106
|
+
/**
|
|
107
|
+
* Each input should inject its own ngControl and we should retrieve it
|
|
108
|
+
*/
|
|
109
|
+
ngControl: NgControl | null;
|
|
110
|
+
/** Whether the control is disabled. */
|
|
111
|
+
disabled: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Keeps track if the form element is in focus
|
|
114
|
+
*/
|
|
115
|
+
focused: boolean;
|
|
116
|
+
/** Whether control has errors */
|
|
117
|
+
controlInvalid: boolean;
|
|
118
|
+
/** Corresponding element reference. */
|
|
119
|
+
elementRef: ElementRef;
|
|
120
|
+
/** Form field instance. */
|
|
121
|
+
formField: Nullable<FormField>;
|
|
122
|
+
/** Method for focusing on the element */
|
|
123
|
+
focus(event?: MouseEvent): void;
|
|
124
|
+
/**
|
|
125
|
+
* Handles even when we click on parent container which is the FormField Wrapping this
|
|
126
|
+
* control
|
|
127
|
+
*/
|
|
128
|
+
onContainerClick(event: MouseEvent): void;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
declare class CvaDirective<T = any> implements HasElementRef, BaseCVA, FormFieldControl, OnInit, DoCheck, AfterViewInit, OnDestroy, ControlValueAccessor {
|
|
132
|
+
/** Input placeholder */
|
|
133
|
+
placeholder: string;
|
|
134
|
+
/**
|
|
135
|
+
* The state of the form control - applies css classes.
|
|
136
|
+
* Can be 'success', 'error', 'warning', 'default', 'information'.
|
|
137
|
+
*
|
|
138
|
+
* @default 'default'
|
|
139
|
+
*/
|
|
140
|
+
set state(state: Nullable<FormStates>);
|
|
141
|
+
get state(): FormStates;
|
|
142
|
+
/** Holds the message with respect to state */
|
|
143
|
+
stateMessage: Nullable<string>;
|
|
144
|
+
/** Whether the input is disabled */
|
|
145
|
+
set disabled(value: boolean);
|
|
146
|
+
get disabled(): boolean;
|
|
147
|
+
/**
|
|
148
|
+
* readOnly Value to Mark component read only
|
|
149
|
+
*/
|
|
150
|
+
readonly: boolean;
|
|
151
|
+
/** Binds to control aria-labelledBy attribute */
|
|
152
|
+
ariaLabelledBy: Nullable<string>;
|
|
153
|
+
/** Sets control aria-label attribute value */
|
|
154
|
+
ariaLabel: Nullable<string>;
|
|
155
|
+
/**
|
|
156
|
+
* Tell the component if we are in editing mode.
|
|
157
|
+
*/
|
|
158
|
+
set editable(value: BooleanInput);
|
|
159
|
+
get editable(): boolean;
|
|
160
|
+
/**
|
|
161
|
+
* Name of the control.
|
|
162
|
+
*/
|
|
163
|
+
name: string;
|
|
164
|
+
/**
|
|
165
|
+
* Emits when change detection is needed.
|
|
166
|
+
*/
|
|
167
|
+
detectChanges: EventEmitter<void>;
|
|
168
|
+
/**
|
|
169
|
+
* Emits when mark for changes detection is needed.
|
|
170
|
+
*/
|
|
171
|
+
markForCheck: EventEmitter<void>;
|
|
172
|
+
/**
|
|
173
|
+
* Reference to internal Input element
|
|
174
|
+
*/
|
|
175
|
+
protected _elementRef: ElementRef;
|
|
176
|
+
/** @hidden */
|
|
177
|
+
value: T;
|
|
178
|
+
/** set when input field is mandatory form field */
|
|
179
|
+
required: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* See @FormFieldControl
|
|
182
|
+
*/
|
|
183
|
+
focused: boolean;
|
|
184
|
+
/** Whether control has errors */
|
|
185
|
+
get controlInvalid(): boolean;
|
|
186
|
+
/**
|
|
187
|
+
* See @FormFieldControl
|
|
188
|
+
*/
|
|
189
|
+
readonly stateChanges: Subject<any>;
|
|
190
|
+
/** @hidden */
|
|
191
|
+
readonly formField: FormField | null;
|
|
192
|
+
/**
|
|
193
|
+
* NgControl instance.
|
|
194
|
+
*/
|
|
195
|
+
readonly ngControl: NgControl | null;
|
|
196
|
+
/**
|
|
197
|
+
* Form container instance. Usually ngForm or FormGroup directives.
|
|
198
|
+
*/
|
|
199
|
+
readonly controlContainer: ControlContainer | null;
|
|
200
|
+
/**
|
|
201
|
+
* Separate NgForm instance. For cases when formGroup is used with the form itself.
|
|
202
|
+
*/
|
|
203
|
+
readonly ngForm: NgForm | null;
|
|
204
|
+
/** @hidden */
|
|
205
|
+
readonly normalizedState$: i0.Signal<"success" | "error" | "warning" | "default" | "information">;
|
|
206
|
+
/** @hidden */
|
|
207
|
+
protected _subscriptions: Subscription;
|
|
208
|
+
/**
|
|
209
|
+
* A private property to hold the ElementRef which might be null
|
|
210
|
+
*/
|
|
211
|
+
private _elementRefOrNull;
|
|
212
|
+
/**
|
|
213
|
+
* Element reference.
|
|
214
|
+
*/
|
|
215
|
+
get elementRef(): ElementRef;
|
|
216
|
+
/** @hidden */
|
|
217
|
+
private _defaultId;
|
|
218
|
+
/** ID for the Element */
|
|
219
|
+
id: string;
|
|
220
|
+
/** @hidden */
|
|
221
|
+
private _disabled;
|
|
222
|
+
/** @hidden */
|
|
223
|
+
private _editable;
|
|
224
|
+
/**
|
|
225
|
+
* @hidden
|
|
226
|
+
*/
|
|
227
|
+
private readonly _controlInvalid$;
|
|
228
|
+
/** @hidden */
|
|
229
|
+
private readonly _parentControl;
|
|
230
|
+
/**
|
|
231
|
+
* @hidden
|
|
232
|
+
* The state of the form control - applies css classes.
|
|
233
|
+
* Can be `success`, `error`, `warning`, `information` or 'default'
|
|
234
|
+
*/
|
|
235
|
+
private readonly _state$;
|
|
236
|
+
/** @hidden */
|
|
237
|
+
constructor();
|
|
238
|
+
/** @hidden */
|
|
239
|
+
onChange: (value: any) => void;
|
|
240
|
+
/** @hidden */
|
|
241
|
+
onTouched: () => void;
|
|
242
|
+
/** @hidden */
|
|
243
|
+
ngOnInit(): void;
|
|
244
|
+
/**
|
|
245
|
+
* Re-validate and emit event to parent container on every CD cycle as they are some errors
|
|
246
|
+
* that we can't subscribe to.
|
|
247
|
+
*/
|
|
248
|
+
ngDoCheck(): void;
|
|
249
|
+
/** @hidden */
|
|
250
|
+
ngAfterViewInit(): void;
|
|
251
|
+
/** @hidden */
|
|
252
|
+
registerOnChange(fn: (_: any) => void): void;
|
|
253
|
+
/** @hidden */
|
|
254
|
+
registerOnTouched(fn: () => void): void;
|
|
255
|
+
/** @hidden */
|
|
256
|
+
ngOnDestroy(): void;
|
|
257
|
+
/** @hidden */
|
|
258
|
+
setDisabledState(isDisabled: BooleanInput): void;
|
|
259
|
+
/**
|
|
260
|
+
* Method for setting the value
|
|
261
|
+
* @param value
|
|
262
|
+
*/
|
|
263
|
+
writeValue(value: T): void;
|
|
264
|
+
/**
|
|
265
|
+
*
|
|
266
|
+
* Keeps track of element focus
|
|
267
|
+
*/
|
|
268
|
+
_onFocusChanged(isFocused: boolean): void;
|
|
269
|
+
/**
|
|
270
|
+
* Handles even when we click on parent container which is the FormField Wrapping this
|
|
271
|
+
* control
|
|
272
|
+
*/
|
|
273
|
+
onContainerClick(event: MouseEvent): void;
|
|
274
|
+
/**
|
|
275
|
+
* In most of the cases when working with input element directly you should be just find to assign
|
|
276
|
+
* variable to this element
|
|
277
|
+
*
|
|
278
|
+
* ```
|
|
279
|
+
* <input #inputElementRef fd-form-control ...>
|
|
280
|
+
* ```
|
|
281
|
+
*
|
|
282
|
+
* and this default behavior used. For other cases implement focus.
|
|
283
|
+
*
|
|
284
|
+
*/
|
|
285
|
+
focus(event?: MouseEvent): void;
|
|
286
|
+
/**
|
|
287
|
+
* Need re-validates errors on every CD iteration to make sure we are also
|
|
288
|
+
* covering non-control errors, errors that happens outside of this control
|
|
289
|
+
*/
|
|
290
|
+
updateErrorState(): void;
|
|
291
|
+
/**
|
|
292
|
+
* Used to change the value of a control.
|
|
293
|
+
* @param value the value to be applied
|
|
294
|
+
* @param emitOnChange whether to emit "onChange" event.
|
|
295
|
+
* Should be "false", if the change is made programmatically (internally) by the control, "true" otherwise
|
|
296
|
+
*/
|
|
297
|
+
setValue(value: T, emitOnChange?: boolean): void;
|
|
298
|
+
/** @hidden */
|
|
299
|
+
private _markForCheck;
|
|
300
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CvaDirective<any>, never>;
|
|
301
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CvaDirective<any>, "[fdkCva]", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "state": { "alias": "state"; "required": false; }; "stateMessage": { "alias": "stateMessage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "detectChanges": "detectChanges"; "markForCheck": "markForCheck"; }, never, never, true, never>;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
declare class FormsModule {
|
|
305
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormsModule, never>;
|
|
306
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormsModule, never, [typeof CvaDirective], [typeof CvaDirective]>;
|
|
307
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormsModule>;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Base ControlValueAccessor control class.
|
|
312
|
+
* Used in conjunction with CvaDirective.
|
|
313
|
+
*
|
|
314
|
+
* This class performs generic change detection based on `CvaDirective` outputs.
|
|
315
|
+
*/
|
|
316
|
+
declare class CvaControl<T> {
|
|
317
|
+
/**
|
|
318
|
+
* Control value accessor directive instance.
|
|
319
|
+
*/
|
|
320
|
+
cvaDirective: CvaDirective<T> | null;
|
|
321
|
+
/**
|
|
322
|
+
* Change detector instance.
|
|
323
|
+
*/
|
|
324
|
+
protected _changeDetector: ChangeDetectorRef;
|
|
325
|
+
/** @Hidden */
|
|
326
|
+
protected _destroyRef: DestroyRef;
|
|
327
|
+
/** @hidden */
|
|
328
|
+
listenToChanges(): void;
|
|
329
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CvaControl<any>, never>;
|
|
330
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CvaControl<any>>;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/** Checks if the given state is a valid control state. */
|
|
334
|
+
declare function isValidControlState(value: any): value is FormStates;
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Common interface for dropdown-based controls that have single selected value.
|
|
338
|
+
*/
|
|
339
|
+
interface SingleDropdownValueControl {
|
|
340
|
+
tabOutStrategy: 'close' | 'closeAndSelect';
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* Interface SelectItem is used to deal with complex object in order to be able to format
|
|
345
|
+
* custom label that is shown in the options.
|
|
346
|
+
*
|
|
347
|
+
* Used in various controls: Select, RadioGroup, CheckboxGroup, Combobox
|
|
348
|
+
*/
|
|
349
|
+
interface SelectItem<T = any> {
|
|
350
|
+
/**
|
|
351
|
+
* Item text shown in the popup
|
|
352
|
+
*/
|
|
353
|
+
label: string;
|
|
354
|
+
/**
|
|
355
|
+
* References to the object instance
|
|
356
|
+
*/
|
|
357
|
+
value: T;
|
|
358
|
+
disabled?: boolean;
|
|
359
|
+
icon?: string;
|
|
360
|
+
/**
|
|
361
|
+
* Trigger values is a text for selected item
|
|
362
|
+
*/
|
|
363
|
+
triggerValue?: string;
|
|
364
|
+
isGroup?: boolean;
|
|
365
|
+
secondaryText?: string;
|
|
366
|
+
children?: SelectItem[];
|
|
367
|
+
}
|
|
368
|
+
interface OptionItem<T = any> {
|
|
369
|
+
/** Item text */
|
|
370
|
+
label: string;
|
|
371
|
+
/**
|
|
372
|
+
* References to the object instance
|
|
373
|
+
*/
|
|
374
|
+
value: T;
|
|
375
|
+
id?: string;
|
|
376
|
+
isGroup?: boolean;
|
|
377
|
+
secondaryText?: string;
|
|
378
|
+
children?: OptionItem[];
|
|
379
|
+
}
|
|
380
|
+
interface SelectableOptionItem<T = any> extends OptionItem<T> {
|
|
381
|
+
selected?: boolean;
|
|
382
|
+
children?: SelectableOptionItem[];
|
|
383
|
+
}
|
|
384
|
+
/** @hidden */
|
|
385
|
+
declare function isSelectableItem(item: SelectItem | any): item is SelectItem;
|
|
386
|
+
/** @hidden */
|
|
387
|
+
declare function isSelectItem(item: SelectItem | any): item is SelectItem;
|
|
388
|
+
declare const isOptionItem: typeof isSelectItem;
|
|
389
|
+
declare const isSelectableOptionItem: typeof isSelectableItem;
|
|
390
|
+
|
|
391
|
+
declare const FD_FORM_FIELD_CONTROL: InjectionToken<FormFieldControl<any>>;
|
|
392
|
+
|
|
393
|
+
declare const FD_FORM_FIELD: InjectionToken<FormField>;
|
|
394
|
+
|
|
395
|
+
export { CvaControl, CvaDirective, FD_FORM_FIELD, FD_FORM_FIELD_CONTROL, FormField, FormsModule, formStates, isOptionItem, isSelectItem, isSelectableItem, isSelectableOptionItem, isValidControlState };
|
|
396
|
+
export type { BaseCVA, FormError, FormErrorDescription, FormErrorHeading, FormFieldAdvancedStateMessage, FormFieldControl, FormFieldErrorContext, FormFieldErrorDirectiveContext, FormStates, OptionItem, SelectItem, SelectableOptionItem, SingleDropdownValueControl };
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
|
+
import * as i2 from '@fundamental-ngx/cdk/data-source';
|
|
1
2
|
export * from '@fundamental-ngx/cdk/data-source';
|
|
3
|
+
import * as i1 from '@fundamental-ngx/cdk/forms';
|
|
2
4
|
export * from '@fundamental-ngx/cdk/forms';
|
|
5
|
+
import * as i3 from '@fundamental-ngx/cdk/utils';
|
|
3
6
|
export * from '@fundamental-ngx/cdk/utils';
|
|
4
|
-
|
|
7
|
+
import * as i0 from '@angular/core';
|
|
8
|
+
|
|
9
|
+
declare class FundamentalNgxCdkModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FundamentalNgxCdkModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FundamentalNgxCdkModule, never, never, [typeof i1.FormsModule, typeof i2.DataSourceModule, typeof i3.UtilsModule]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FundamentalNgxCdkModule>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { FundamentalNgxCdkModule };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fundamental-ngx/cdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.57.0-rc.0",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"description": "Fundamental Library for Angular - CDK",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"node": ">= 10"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@angular/animations": "^
|
|
17
|
-
"@angular/cdk": "^
|
|
18
|
-
"@angular/common": "^
|
|
19
|
-
"@angular/core": "^
|
|
20
|
-
"@angular/forms": "^
|
|
21
|
-
"@angular/platform-browser": "^
|
|
22
|
-
"@angular/router": "^
|
|
16
|
+
"@angular/animations": "^20.0.0",
|
|
17
|
+
"@angular/cdk": "^20.0.0",
|
|
18
|
+
"@angular/common": "^20.0.0",
|
|
19
|
+
"@angular/core": "^20.0.0",
|
|
20
|
+
"@angular/forms": "^20.0.0",
|
|
21
|
+
"@angular/platform-browser": "^20.0.0",
|
|
22
|
+
"@angular/router": "^20.0.0",
|
|
23
23
|
"rxjs": "^7.8.0"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|