@coreui/angular-pro 4.2.38 → 4.2.39

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.
@@ -4,8 +4,8 @@ import { FormCheckLabelDirective } from './form-check-label.directive';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class FormCheckComponent implements AfterContentInit {
6
6
  static ngAcceptInputType_inline: BooleanInput;
7
+ static ngAcceptInputType_reverse: BooleanInput;
7
8
  static ngAcceptInputType_switch: BooleanInput;
8
- private _inline;
9
9
  /**
10
10
  * Group checkboxes or radios on the same horizontal row.
11
11
  * @type boolean
@@ -13,16 +13,26 @@ export declare class FormCheckComponent implements AfterContentInit {
13
13
  */
14
14
  set inline(value: boolean);
15
15
  get inline(): boolean;
16
+ private _inline;
17
+ /**
18
+ * Put checkboxes or radios on the opposite side.
19
+ * @type boolean
20
+ * @default false
21
+ * @since 4.4.7
22
+ */
23
+ set reverse(value: boolean);
24
+ get reverse(): boolean;
25
+ private _reverse;
16
26
  /**
17
27
  * Size the component large or extra large. Works only with `[switch]="true"` [docs]
18
28
  * @type {'lg' | 'xl' | ''}
19
29
  */
20
30
  sizing?: 'lg' | 'xl' | '';
21
31
  /**
22
- * Render a toggle switch on for checkbox.
23
- * @type boolean
24
- * @default false
25
- */
32
+ * Render a toggle switch on for checkbox.
33
+ * @type boolean
34
+ * @default false
35
+ */
26
36
  set switch(value: boolean);
27
37
  get switch(): boolean;
28
38
  private _switch;
@@ -32,5 +42,5 @@ export declare class FormCheckComponent implements AfterContentInit {
32
42
  get formCheckClass(): boolean;
33
43
  ngAfterContentInit(): void;
34
44
  static ɵfac: i0.ɵɵFactoryDeclaration<FormCheckComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<FormCheckComponent, "c-form-check", ["cFormCheck"], { "inline": "inline"; "sizing": "sizing"; "switch": "switch"; }, {}, ["formCheckLabel"], ["*"], false>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormCheckComponent, "c-form-check", ["cFormCheck"], { "inline": "inline"; "reverse": "reverse"; "sizing": "sizing"; "switch": "switch"; }, {}, ["formCheckLabel"], ["*"], false>;
36
46
  }
@@ -1,15 +1,17 @@
1
- import { ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
2
2
  import { Options } from '@popperjs/core';
3
3
  import { Triggers } from '../coreui.types';
4
4
  import { ListenersService } from '../services/listeners.service';
5
+ import { IntersectionService } from '../services';
5
6
  import * as i0 from "@angular/core";
6
- export declare class PopoverDirective implements OnChanges, OnDestroy, OnInit {
7
+ export declare class PopoverDirective implements OnChanges, OnDestroy, OnInit, AfterViewInit {
7
8
  private document;
8
9
  private renderer;
9
10
  private hostElement;
10
11
  private viewContainerRef;
11
12
  private listenersService;
12
13
  private changeDetectorRef;
14
+ private intersectionService;
13
15
  /**
14
16
  * Content of popover
15
17
  * @type {string | TemplateRef}
@@ -42,12 +44,15 @@ export declare class PopoverDirective implements OnChanges, OnDestroy, OnInit {
42
44
  private popoverRef;
43
45
  private popperInstance;
44
46
  private _popperOptions;
45
- constructor(document: Document, renderer: Renderer2, hostElement: ElementRef, viewContainerRef: ViewContainerRef, listenersService: ListenersService, changeDetectorRef: ChangeDetectorRef);
47
+ private intersectingSubscription?;
48
+ constructor(document: Document, renderer: Renderer2, hostElement: ElementRef, viewContainerRef: ViewContainerRef, listenersService: ListenersService, changeDetectorRef: ChangeDetectorRef, intersectionService: IntersectionService);
49
+ ngAfterViewInit(): void;
46
50
  ngOnChanges(changes: SimpleChanges): void;
47
51
  ngOnDestroy(): void;
48
52
  ngOnInit(): void;
49
53
  private setListeners;
50
54
  private clearListeners;
55
+ private intersectionServiceSubscribe;
51
56
  private getUID;
52
57
  private createPopoverElement;
53
58
  private destroyPopoverElement;
@@ -3,7 +3,7 @@ import * as i0 from "@angular/core";
3
3
  export declare class HtmlAttributesDirective implements OnInit {
4
4
  private renderer;
5
5
  private el;
6
- cHtmlAttr: {
6
+ cHtmlAttr?: {
7
7
  [key: string]: any;
8
8
  };
9
9
  constructor(renderer: Renderer2, el: ElementRef);
@@ -25,7 +25,7 @@ export declare class SmartTableHeadComponent implements OnInit {
25
25
  tableHeaderCellProps(column: IColumn | string): {
26
26
  [key: string]: any;
27
27
  };
28
- tableHeaderCellColor(column: IColumn | string): string | undefined;
28
+ tableHeaderCellColor(column: IColumn | string): string;
29
29
  tableHeaderCellStyles(column: IColumn | string): any;
30
30
  columnLabel(column: IColumn | string): string;
31
31
  columnKey(column: IColumn | string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreui/angular-pro",
3
- "version": "4.2.38",
3
+ "version": "4.2.39",
4
4
  "description": "CoreUI Pro Components Library for Angular",
5
5
  "homepage": "https://coreui.io/angular",
6
6
  "author": {
@@ -25,7 +25,7 @@
25
25
  "@angular/common": "^14.0.0",
26
26
  "@angular/core": "^14.0.0",
27
27
  "@angular/router": "^14.0.0",
28
- "@coreui/coreui-pro": "^4.4.3"
28
+ "@coreui/coreui-pro": "~4.4.3"
29
29
  },
30
30
  "repository": {
31
31
  "type": "git",