@colijnit/corecomponents_v12 12.0.39 → 12.0.42
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.
- package/bundles/colijnit-corecomponents_v12.umd.js +243 -6
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.d.ts +6 -5
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/colijnit-corecomponents_v12.js +7 -6
- package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.component.js +7 -1
- package/esm2015/lib/core/enum/keyboard-key.enum.js +75 -0
- package/esm2015/lib/directives/clickoutside/click-outside-master.service.js +57 -0
- package/esm2015/lib/directives/clickoutside/click-outside.directive.js +71 -0
- package/esm2015/lib/directives/clickoutside/clickoutside.module.js +19 -0
- package/esm2015/public-api.js +3 -1
- package/fesm2015/colijnit-corecomponents_v12.js +217 -1
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/input-date-range-picker/input-date-range-picker.component.d.ts +2 -0
- package/lib/components/simple-grid/style/_material-definition.scss +2 -2
- package/lib/components/simple-grid/style/_theme.scss +2 -0
- package/lib/core/enum/keyboard-key.enum.d.ts +69 -0
- package/lib/directives/clickoutside/click-outside-master.service.d.ts +15 -0
- package/lib/directives/clickoutside/click-outside.directive.d.ts +18 -0
- package/lib/directives/clickoutside/clickoutside.module.d.ts +2 -0
- package/lib/style/_variables.scss +3 -2
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -8,6 +8,8 @@ export declare class InputDateRangePickerComponent extends BaseInputComponent<Da
|
|
|
8
8
|
startDateChange: EventEmitter<Date>;
|
|
9
9
|
endDateChange: EventEmitter<Date>;
|
|
10
10
|
dateRangeChange: EventEmitter<Date[]>;
|
|
11
|
+
close: EventEmitter<{}>;
|
|
12
|
+
select: EventEmitter<{}>;
|
|
11
13
|
showClass(): boolean;
|
|
12
14
|
rangeChange(): void;
|
|
13
15
|
}
|
|
@@ -2,8 +2,8 @@ $cc-simple-grid-font-familiy: $cc-font-family !default;
|
|
|
2
2
|
$cc-simple-grid-font-size: $cc-font-size-default !default;
|
|
3
3
|
|
|
4
4
|
$cc-simple-grid-header-font-familiy: $cc-font-family !default;
|
|
5
|
-
$cc-simple-grid-header-font-size:
|
|
6
|
-
$cc-simple-grid-header-font-weight:
|
|
5
|
+
$cc-simple-grid-header-font-size: 10px !default;
|
|
6
|
+
$cc-simple-grid-header-font-weight: normal !default;
|
|
7
7
|
$cc-simple-grid-header-text-transform: uppercase !default;
|
|
8
8
|
$cc-simple-grid-header-background-color: white !default;
|
|
9
9
|
$cc-simple-grid-header-padding: 10px 5px !default;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
@include export-module('cc-simple-grid-theme') {
|
|
2
2
|
.co-simple-grid {
|
|
3
|
+
color: $cc-color-font;
|
|
3
4
|
.simple-grid-column-sizer {
|
|
4
5
|
background-color: $cc-simple-grid-header-sizer-background-color;
|
|
5
6
|
}
|
|
6
7
|
.simple-grid-column-header {
|
|
7
8
|
border-color: $cc-simple-grid-header-border-color;
|
|
9
|
+
color: $cc-color-label;
|
|
8
10
|
}
|
|
9
11
|
.simple-grid-column-header {
|
|
10
12
|
background-color: $cc-simple-grid-header-background-color;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export declare enum KeyboardKey {
|
|
2
|
+
Down = "ArrowDown",
|
|
3
|
+
Up = "ArrowUp",
|
|
4
|
+
Left = "ArrowLeft",
|
|
5
|
+
Right = "ArrowRight",
|
|
6
|
+
Tab = "Tab",
|
|
7
|
+
Escape = "Escape",
|
|
8
|
+
Enter = "Enter",
|
|
9
|
+
Home = "Home",
|
|
10
|
+
End = "End",
|
|
11
|
+
Delete = "Delete",
|
|
12
|
+
Insert = "Insert",
|
|
13
|
+
ShiftLeft = "ShiftLeft",
|
|
14
|
+
ShiftRight = "ShiftRight",
|
|
15
|
+
Backspace = "Backspace",
|
|
16
|
+
SpaceBar = "Space",
|
|
17
|
+
Period = "Period",
|
|
18
|
+
DecimalPoint = "NumpadDecimal",
|
|
19
|
+
SemiColon = "Semicolon",
|
|
20
|
+
ControlRight = "ControlRight",
|
|
21
|
+
ControlLeft = "ControlLeft",
|
|
22
|
+
Comma = "Comma",
|
|
23
|
+
Zero = "Digit0",
|
|
24
|
+
One = "Digit1",
|
|
25
|
+
Two = "Digit2",
|
|
26
|
+
Three = "Digit3",
|
|
27
|
+
Four = "Digit4",
|
|
28
|
+
Five = "Digit5",
|
|
29
|
+
Six = "Digit6",
|
|
30
|
+
Seven = "Digit7",
|
|
31
|
+
Eight = "Digit8",
|
|
32
|
+
Nine = "Digit9",
|
|
33
|
+
NumpadZero = "Numpad0",
|
|
34
|
+
NumpadOne = "Numpad1",
|
|
35
|
+
NumpadTwo = "Numpad2",
|
|
36
|
+
NumpadThree = "Numpad3",
|
|
37
|
+
NumpadFour = "Numpad4",
|
|
38
|
+
NumpadFive = "Numpad5",
|
|
39
|
+
NumpadSix = "Numpad6",
|
|
40
|
+
NumpadSeven = "Numpad7",
|
|
41
|
+
NumpadEight = "Numpad8",
|
|
42
|
+
NumpadNine = "Numpad9",
|
|
43
|
+
A = "KeyA",
|
|
44
|
+
B = "KeyB",
|
|
45
|
+
C = "KeyC",
|
|
46
|
+
D = "KeyD",
|
|
47
|
+
E = "KeyE",
|
|
48
|
+
F = "KeyF",
|
|
49
|
+
G = "KeyG",
|
|
50
|
+
H = "KeyH",
|
|
51
|
+
I = "KeyI",
|
|
52
|
+
J = "KeyJ",
|
|
53
|
+
K = "KeyK",
|
|
54
|
+
L = "KeyL",
|
|
55
|
+
M = "KeyM",
|
|
56
|
+
N = "KeyN",
|
|
57
|
+
O = "KeyO",
|
|
58
|
+
P = "KeyP",
|
|
59
|
+
Q = "KeyQ",
|
|
60
|
+
R = "KeyR",
|
|
61
|
+
S = "KeyS",
|
|
62
|
+
T = "KeyT",
|
|
63
|
+
U = "KeyU",
|
|
64
|
+
V = "KeyV",
|
|
65
|
+
W = "KeyW",
|
|
66
|
+
X = "KeyX",
|
|
67
|
+
Y = "KeyY",
|
|
68
|
+
Z = "KeyZ"
|
|
69
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { NgZone, OnDestroy } from "@angular/core";
|
|
2
|
+
import { ClickOutsideDirective } from "./click-outside.directive";
|
|
3
|
+
export declare class ClickOutsideMasterService implements OnDestroy {
|
|
4
|
+
private readonly _ngZone;
|
|
5
|
+
get currentClick(): MouseEvent;
|
|
6
|
+
private _clickOutsideRefs;
|
|
7
|
+
private _currentClick;
|
|
8
|
+
constructor(_ngZone: NgZone);
|
|
9
|
+
ngOnDestroy(): void;
|
|
10
|
+
onClick: (event: MouseEvent) => void;
|
|
11
|
+
checkEmit(clickOutside: ClickOutsideDirective, event: Event, force?: boolean): void;
|
|
12
|
+
onKeyDown: (event: KeyboardEvent) => void;
|
|
13
|
+
addClickOutside(clickOutside: ClickOutsideDirective): void;
|
|
14
|
+
removeClickOutside(clickOutside: ClickOutsideDirective): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnDestroy } from "@angular/core";
|
|
2
|
+
import { ClickOutsideMasterService } from "./click-outside-master.service";
|
|
3
|
+
export declare class ClickOutsideDirective implements OnDestroy, AfterViewInit {
|
|
4
|
+
elementRef: ElementRef;
|
|
5
|
+
private _ngZone;
|
|
6
|
+
private _master;
|
|
7
|
+
get currentClick(): MouseEvent;
|
|
8
|
+
set enabled(enabled: boolean);
|
|
9
|
+
alwaysTrigger: boolean;
|
|
10
|
+
readonly clickOutside: EventEmitter<Event>;
|
|
11
|
+
private _currentClick;
|
|
12
|
+
private _enabled;
|
|
13
|
+
private _initialized;
|
|
14
|
+
constructor(elementRef: ElementRef, _ngZone: NgZone, _master: ClickOutsideMasterService);
|
|
15
|
+
ngAfterViewInit(): void;
|
|
16
|
+
ngOnDestroy(): void;
|
|
17
|
+
onClick: (event: MouseEvent) => void;
|
|
18
|
+
}
|
|
@@ -26,7 +26,7 @@ $cc-color-light-accent: #DCE4EA !default;
|
|
|
26
26
|
$cc-color-light: #FFFFFF !default;
|
|
27
27
|
$cc-color-icons-dark: #29363F !default;
|
|
28
28
|
$cc-color-form-input-border: #EDEBEC !default;
|
|
29
|
-
$cc-color-label: #
|
|
29
|
+
$cc-color-label: #8083A3 !default;
|
|
30
30
|
$cc-color-input-indicator-mandatory: #C1002A !default;
|
|
31
31
|
$cc-color-error: #C1002A !default;
|
|
32
32
|
$cc-color-valid: #429777 !default;
|
|
@@ -39,6 +39,7 @@ $cc-color-label-active: #525E64 !default;
|
|
|
39
39
|
$cc-color-input-disabled: #DAD9D9 !default;
|
|
40
40
|
$cc-color-input-invalid: #E29CA2 !default;
|
|
41
41
|
$cc-color-text-light: #F7FAFA !default;
|
|
42
|
+
$cc-color-font: #171721 !default;
|
|
42
43
|
$cc-color-action-accent: #848a9e !default;
|
|
43
44
|
$cc-color-text-main: #22313C !default;
|
|
44
45
|
$cc-color-input-positive: #d7ead7 !default;
|
|
@@ -76,7 +77,7 @@ $cc-shadow-size-small: 5px !default;
|
|
|
76
77
|
$cc-item-size-very-small: 20px !default;
|
|
77
78
|
$cc-action-size: 40px !default;
|
|
78
79
|
|
|
79
|
-
$cc-font-size-input-label:
|
|
80
|
+
$cc-font-size-input-label: 12px !default;
|
|
80
81
|
$cc-font-size-small: 13px !default;
|
|
81
82
|
$cc-font-size-default: 12px !default;
|
|
82
83
|
$cc-font-size-medium: 10px !default;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -88,3 +88,5 @@ export * from './lib/pipes/price-display.pipe';
|
|
|
88
88
|
export * from './lib/pipes/price-display-pipe.module';
|
|
89
89
|
export * from './lib/components/filter-item/filter-item.component';
|
|
90
90
|
export * from './lib/components/filter-item/filter-item.module';
|
|
91
|
+
export * from './lib/directives/clickoutside/clickoutside.module';
|
|
92
|
+
export * from './lib/directives/observe-visibility/observe-visibility.module';
|