@colijnit/corecomponents_v12 257.1.14 → 257.1.15

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.
@@ -40,6 +40,7 @@ export declare class FilterItemComponent implements OnInit, ScreenConfigAdapterC
40
40
  limitTo: number;
41
41
  filterText: string;
42
42
  showButton: boolean;
43
+ isLoading: boolean;
43
44
  sliderMin: number;
44
45
  sliderMax: number;
45
46
  dateRangeStart: Date;
@@ -57,6 +58,7 @@ export declare class FilterItemComponent implements OnInit, ScreenConfigAdapterC
57
58
  private _collection;
58
59
  private _mode;
59
60
  private _model;
61
+ private debounceTimeout;
60
62
  constructor(iconService: IconCacheService, _changeDetector: ChangeDetectorRef);
61
63
  ngOnInit(): void;
62
64
  setToInitialLimit(): void;
@@ -65,6 +67,7 @@ export declare class FilterItemComponent implements OnInit, ScreenConfigAdapterC
65
67
  lessToShow(): boolean;
66
68
  handleModelChange(model: any): void;
67
69
  valueSelected(): boolean;
70
+ onModelChange(text: string): void;
68
71
  applyFilter(text: string): Promise<[]>;
69
72
  onButtonClicked(): void;
70
73
  private uncheckForSingleSelect;
@@ -6,7 +6,6 @@
6
6
  font-family: $cc-co-filter-item-font-family;
7
7
  font-size: $cc-co-filter-item-font-size;
8
8
  border-radius: $cc-co-filter-item-border-radius;
9
-
10
9
  .co-collapsible {
11
10
  width: $cc-co-filter-item-collapsible-width;
12
11
 
@@ -19,6 +18,7 @@
19
18
 
20
19
  .collapsible-content {
21
20
  padding: $cc-co-filter-item-collapsible-content-padding;
21
+ position: relative;
22
22
  }
23
23
 
24
24
  .expand-icon-wrapper {
@@ -38,6 +38,37 @@
38
38
  }
39
39
  }
40
40
  }
41
+ .filter-loader {
42
+ width: 20px;
43
+ height: 40px;
44
+ display: flex;
45
+ justify-content: space-between;
46
+ position: absolute;
47
+ right: 20px;
48
+ top: 3px;
49
+ align-items: center;
50
+ }
51
+
52
+ .filter-loader::before, .filter-loader::after, .filter-loader span {
53
+ content: '';
54
+ width: 4px;
55
+ height: 4px;
56
+ background: rgba(0, 0, 0, 0.3);
57
+ border-radius: 50%;
58
+ animation: bounce 1s infinite;
59
+ }
60
+
61
+ .filter-loader::after {
62
+ animation-delay: 0.2s;
63
+ }
64
+ .filter-loader span {
65
+ animation-delay: 0.4s; /* Delay for the third dot */
66
+ }
67
+
68
+ @keyframes bounce {
69
+ 0%, 100% { transform: translateY(0); }
70
+ 50% { transform: translateY(-5px); }
71
+ }
41
72
 
42
73
  .co-filter-item-collection-content {
43
74
  .no-results {
@@ -44,7 +44,8 @@
44
44
  width: $cc-input-clear-icon-size;
45
45
  align-self: end;
46
46
  padding: $cc-input-clear-icon-padding;
47
-
47
+ position: absolute;
48
+ right: 0;
48
49
  &.show {
49
50
  visibility: visible;
50
51
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/corecomponents_v12",
3
- "version": "257.1.14",
3
+ "version": "257.1.15",
4
4
  "description": "Colijn IT core components for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {