@fundamental-ngx/cdk 0.46.0-rc.2 → 0.46.0-rc.21

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.
@@ -1,6 +1,7 @@
1
1
  import { TemplateRef } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
3
  import { FormStates } from './form-state';
4
+ import { Nullable } from '@fundamental-ngx/cdk/utils';
4
5
  export interface FormFieldErrorContext<T> {
5
6
  label: string;
6
7
  $implicit: T;
@@ -29,3 +30,7 @@ export interface FormFieldErrorDirectiveContext {
29
30
  directive: FormError;
30
31
  error: any;
31
32
  }
33
+ export interface FormFieldAdvancedStateMessage {
34
+ template: Nullable<TemplateRef<any>>;
35
+ hasErrors: boolean;
36
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fundamental-ngx/cdk",
3
- "version": "0.46.0-rc.2",
3
+ "version": "0.46.0-rc.21",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "description": "Fundamental Library for Angular - CDK",
6
6
  "license": "Apache-2.0",
@@ -23,7 +23,7 @@
23
23
  "rxjs": "^7.8.0"
24
24
  },
25
25
  "dependencies": {
26
- "@fundamental-ngx/i18n": "0.46.0-rc.2",
26
+ "@fundamental-ngx/i18n": "0.46.0-rc.21",
27
27
  "@fundamental-styles/cx": "0.30.0-rc.35",
28
28
  "@sap-theming/theming-base-content": "^11.6.0",
29
29
  "compare-versions": "^6.0.0",
@@ -2,8 +2,6 @@ import { ModuleWithProviders } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  import * as i1 from "./clicked.directive";
4
4
  export declare class ClickedBehaviorModule {
5
- /** @hidden */
6
- constructor(clickedBehaviorModuleForRootLoadedOnce: boolean);
7
5
  /** @hidden */
8
6
  static forRoot(): ModuleWithProviders<ClickedBehaviorModule>;
9
7
  static ɵfac: i0.ɵɵFactoryDeclaration<ClickedBehaviorModule, never>;
@@ -11,6 +11,8 @@ export declare class ClickedDirective {
11
11
  * through your eyes.
12
12
  */
13
13
  fdkClicked: EventEmitter<KeyboardEvent | MouseEvent>;
14
+ /** @hidden */
15
+ constructor(clickedBehaviorModuleForRootLoadedOnce: boolean);
14
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ClickedDirective, never>;
15
17
  static ɵdir: i0.ɵɵDirectiveDeclaration<ClickedDirective, "[fdkClicked]", never, {}, { "fdkClicked": "fdkClicked"; }, never, never, false, never, false>;
16
18
  }
@@ -1,3 +1,4 @@
1
1
  export * from './clicked-behavior.module';
2
2
  export * from './clicked.directive';
3
3
  export * from './fdk-clicked-provider.service';
4
+ export * from './provide-fdk-clicked';
@@ -0,0 +1,6 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ export declare const ClickedBehaviorModuleForRootLoadedOnce: InjectionToken<boolean>;
3
+ /**
4
+ * Provides ClickedEventPlugin to the application
5
+ */
6
+ export declare function provideFdkClicked(): Provider[];