@colijnit/corecomponents_v12 260.1.0 → 260.1.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.
@@ -1,12 +1,12 @@
1
- import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { CoreComponentsIcon } from '../../core/enum/core-components-icon.enum';
3
3
  import { FilterItemViewmodel } from './filter-item-viewmodel';
4
4
  import { IconCacheService } from '../icon/icon-cache.service';
5
5
  import { FilterItemMode } from '../../core/enum/filterItem-mode.enum';
6
- import { ScreenConfigAdapterComponent } from "../../interfaces/screen-config-adapter.component.interface";
7
- import { ObjectConfiguration } from "@colijnit/ioneconnector/build/model/object-configuration";
6
+ import { ScreenConfigAdapterComponent } from '../../interfaces/screen-config-adapter.component.interface';
7
+ import { ObjectConfiguration } from '@colijnit/ioneconnector/build/model/object-configuration';
8
8
  import { ObjectConfigurationDefaultValueType } from '@colijnit/ioneconnector/build/type/object-configuration-default-value-type';
9
- export declare class FilterItemComponent implements OnInit, ScreenConfigAdapterComponent {
9
+ export declare class FilterItemComponent implements OnInit, ScreenConfigAdapterComponent, OnDestroy {
10
10
  iconService: IconCacheService;
11
11
  private _changeDetector;
12
12
  icons: typeof CoreComponentsIcon;
@@ -66,9 +66,13 @@ export declare class FilterItemComponent implements OnInit, ScreenConfigAdapterC
66
66
  private _collection;
67
67
  private _mode;
68
68
  private _model;
69
+ private _defaultSet;
70
+ private _collectionSubject;
71
+ private _collectionSubscription;
69
72
  private debounceTimeout;
70
73
  constructor(iconService: IconCacheService, _changeDetector: ChangeDetectorRef);
71
74
  ngOnInit(): void;
75
+ ngOnDestroy(): void;
72
76
  setToInitialLimit(): void;
73
77
  increaseLimit(): void;
74
78
  moreToShow(): boolean;
@@ -102,4 +106,16 @@ export declare class FilterItemComponent implements OnInit, ScreenConfigAdapterC
102
106
  private _readModelForCheckboxToBinary;
103
107
  private _readModelForDateField;
104
108
  private _readModelForDateRangeField;
109
+ private _applyDefaultForFilterList;
110
+ private _applyDefaultForStringCollectionList;
111
+ private _applyDefaultForSingleSelectList;
112
+ private _applyDefaultForSelectListWithNumberOutput;
113
+ private _applyDefaultForSlider;
114
+ private _applyDefaultForCheckboxToText;
115
+ private _applyDefaultForCheckboxToBinary;
116
+ private _applyDefaultForDateField;
117
+ private _applyDefaultForDateRangeField;
118
+ private _applyDefaultForTextField;
119
+ private _applyDefaultForCheckbox;
120
+ private _applyDefaultFilters;
105
121
  }
@@ -77,20 +77,19 @@
77
77
  top: 106px;
78
78
  left: 100%;
79
79
  z-index: 1;
80
- padding-top: 8px;
81
- //box-shadow: -3px 0px 16px 1px rgba(0, 0, 0, 0.2);
82
- box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.2), 4px 0px 10px rgba(0, 0, 0, 0.2), 0px 4px 10px rgba(0, 0, 0, 0.2);
83
- border-radius: 5px;
84
- background: #FFF;
80
+ padding: 8px 6px 0;
81
+ border-radius: 3px;
82
+ background: #f8f8fa;
83
+ box-shadow: 1px 1px 3px 1px #9d9d9d6e;
85
84
 
86
85
  .button-wrapper {
87
86
  display: flex;
88
87
  flex-direction: column;
89
88
  align-items: center;
90
89
  justify-content: center;
91
- width: 65px;
92
90
  margin-bottom: 8px;
93
91
  text-align: center;
92
+ cursor: pointer;
94
93
 
95
94
  &:hover {
96
95
  co-icon svg *,
@@ -99,6 +98,11 @@
99
98
  color: $color-action;
100
99
  }
101
100
  }
101
+
102
+ .button-title {
103
+ margin-top: 2px;
104
+ font-size: 9px;
105
+ }
102
106
  }
103
107
  }
104
108
  }
@@ -0,0 +1,10 @@
1
+ export declare enum BatchDeliveryCategory {
2
+ Overview = "OVERVIEW",
3
+ Purchase = "COST_OF_SALES",
4
+ Allocate = "ALLOCATION",
5
+ Logistics = "LOGISTICS",
6
+ DeliveryOrder = "DELIVERY_ORDER",
7
+ Invoice = "INVOICE",
8
+ ToPick = "TO_PICK",
9
+ Picked = "PICKED"
10
+ }
@@ -1,11 +1,11 @@
1
- import { ApplicationRef, ComponentFactoryResolver, ComponentRef, Injector } from '@angular/core';
1
+ import { ApplicationRef, ComponentFactoryResolver, ComponentRef, ElementRef, Injector } from '@angular/core';
2
2
  export declare class OverlayService {
3
3
  private _componentFactoryResolver;
4
4
  private _appRef;
5
5
  private _injector;
6
6
  private _componentRefs;
7
7
  constructor(_componentFactoryResolver: ComponentFactoryResolver, _appRef: ApplicationRef, _injector: Injector);
8
- createComponent(compClass: any, inputs: any, events?: any): ComponentRef<any>;
8
+ createComponent(compClass: any, inputs: any, events?: any, parentRef?: ElementRef): ComponentRef<any>;
9
9
  removeComponent(componentRef: ComponentRef<any>): void;
10
10
  private _componentRefExists;
11
11
  private _removeComponentRef;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/corecomponents_v12",
3
- "version": "260.1.0",
3
+ "version": "260.1.2",
4
4
  "description": "Colijn IT core components for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {