nuxeo-development-framework 6.1.2 → 6.1.3

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.
@@ -17,14 +17,17 @@ export declare class AggregationDateListComponent extends BaseAggregationField<'
17
17
  };
18
18
  writeValue(obj: string[] | FieldValueObject): void;
19
19
  private _initValue;
20
+ private _handleConvertedTime;
20
21
  private _handleSelection;
21
22
  ngOnInit(): void;
22
23
  updateValueSelection(value: string[]): void;
24
+ private _convertToTime;
23
25
  updateSelectValue(value: string): void;
24
26
  updateValueMinMax(value: {
25
27
  min: string;
26
28
  max: string;
27
29
  }): void;
30
+ private _prepareValueRange;
28
31
  updateValue(value: any): void;
29
32
  clearSelected(): void;
30
33
  private _appendMinMaxControl;
@@ -36,6 +39,10 @@ export declare class AggregationDateListComponent extends BaseAggregationField<'
36
39
  private _isDropdown;
37
40
  private _isList;
38
41
  private _updateVisibility;
42
+ private _toEndOfDayISO;
43
+ private _dateToTimestamp;
44
+ private normalize;
45
+ private findByRange;
39
46
  static ɵfac: i0.ɵɵFactoryDeclaration<AggregationDateListComponent, never>;
40
47
  static ɵcmp: i0.ɵɵComponentDeclaration<AggregationDateListComponent, "aggregation-date-list", never, {}, {}, never, never>;
41
48
  }
@@ -1,10 +1,11 @@
1
- import { DATE_LIST_VIEW } from '../../constants';
2
1
  import { Prettify } from '../../../../shared/models';
2
+ import { DATE_LIST_VIEW } from '../../constants';
3
3
  import { HideLabel, ShowTotalConfig } from './common-utils';
4
4
  export declare type DateListOptions = {
5
5
  type: 'dateList';
6
6
  options: Prettify<ShowTotalConfig & HideLabel> & {
7
7
  view: (typeof DATE_LIST_VIEW)[keyof typeof DATE_LIST_VIEW];
8
8
  minMax?: boolean;
9
+ convertTime?: boolean;
9
10
  };
10
11
  };
@@ -10,4 +10,10 @@ export interface FilterOption {
10
10
  config: Omit<AggregationTooltipType, 'properties'>;
11
11
  values: Record<string, any>;
12
12
  };
13
+ constraints?: {
14
+ range?: {
15
+ from: number;
16
+ to: number;
17
+ };
18
+ };
13
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxeo-development-framework",
3
- "version": "6.1.2",
3
+ "version": "6.1.3",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "12.2.3",
6
6
  "@angular/common": "12.2.3",