@datorama/core 22.5.1 → 22.5.2

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.
@@ -8,12 +8,14 @@
8
8
  import { AfterContentInit, ChangeDetectorRef, OnChanges, OnDestroy, QueryList } from '@angular/core';
9
9
  import { DatoAccordionGroupComponent } from '../accordion-group/accordion-group.component';
10
10
  import { AccordionArrowType } from '../accordion.types';
11
+ import { DatoSortableComponent } from '../../sortable/sortable.component';
11
12
  export declare class DatoAccordionComponent implements AfterContentInit, OnDestroy, OnChanges {
12
13
  private parent;
13
14
  private parentGroup;
14
15
  private cdr;
15
- groups: QueryList<DatoAccordionGroupComponent>;
16
+ childGroups: QueryList<DatoAccordionGroupComponent>;
16
17
  childAccordion: QueryList<DatoAccordionComponent>;
18
+ sortable: DatoSortableComponent;
17
19
  closeOthers: boolean;
18
20
  expandAll: boolean;
19
21
  includeArrows: boolean;
@@ -23,6 +25,7 @@ export declare class DatoAccordionComponent implements AfterContentInit, OnDestr
23
25
  set searchTerm(searchTerm: string);
24
26
  _hasSearch: boolean;
25
27
  private groupsSubscription;
28
+ get groups(): QueryList<DatoAccordionGroupComponent>;
26
29
  constructor(parent: DatoAccordionComponent, parentGroup: DatoAccordionGroupComponent, cdr: ChangeDetectorRef);
27
30
  ngOnChanges(changes: any): void;
28
31
  toggle(index: number): void;
@@ -5,12 +5,14 @@
5
5
  * Use of this source code is governed by an Apache License 2.0 license that can be
6
6
  * found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
7
7
  */
8
- import { EventEmitter, OnInit } from '@angular/core';
8
+ import { EventEmitter, OnInit, QueryList } from '@angular/core';
9
9
  import { Options } from 'sortablejs';
10
10
  import { DatoSortableOptions, SortableJSEvent } from './sortable.types';
11
11
  import { FormControl } from '@angular/forms';
12
12
  import { noop } from '../internal/helpers';
13
+ import { DatoAccordionGroupComponent } from '../accordion/accordion-group/accordion-group.component';
13
14
  export declare class DatoSortableComponent implements OnInit {
15
+ accordionGroups: QueryList<DatoAccordionGroupComponent>;
14
16
  mergedOptions: Options;
15
17
  list: any[];
16
18
  noop: typeof noop;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datorama/core",
3
- "version": "22.5.1",
3
+ "version": "22.5.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "8.2.14",
6
6
  "@angular/core": "8.2.14",