@colijnit/corecomponents_v12 12.0.65 → 12.0.67
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 +181 -5
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/carousel/carousel.component.js +130 -0
- package/esm2015/lib/components/carousel/carousel.module.js +32 -0
- package/esm2015/lib/components/input-date-picker/input-date-picker.component.js +4 -2
- package/esm2015/public-api.js +3 -1
- package/fesm2015/colijnit-corecomponents_v12.js +161 -3
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/carousel/carousel.component.d.ts +23 -0
- package/lib/components/carousel/carousel.module.d.ts +6 -0
- package/lib/components/carousel/style/_layout.scss +52 -0
- package/lib/components/carousel/style/_material-definition.scss +6 -0
- package/lib/components/carousel/style/_theme.scss +4 -0
- package/lib/components/carousel/style/material.scss +4 -0
- package/lib/components/input-date-picker/input-date-picker.component.d.ts +1 -0
- package/lib/components/input-date-picker/style/_layout.scss +24 -0
- package/package.json +3 -1
- package/public-api.d.ts +2 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import 'hammerjs';
|
|
3
|
+
export declare class CarouselComponent implements OnDestroy {
|
|
4
|
+
set containerChild(child: any);
|
|
5
|
+
set contentChildren(content: any);
|
|
6
|
+
showClass(): boolean;
|
|
7
|
+
carouselItems: ElementRef[];
|
|
8
|
+
canNavigateLeft: boolean;
|
|
9
|
+
canNavigateRight: boolean;
|
|
10
|
+
container: ElementRef;
|
|
11
|
+
activeIndex: number;
|
|
12
|
+
ro: ResizeObserver;
|
|
13
|
+
private _disableButtons;
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
handlePress(event: any): void;
|
|
16
|
+
handleSwipe(event: any): void;
|
|
17
|
+
handleButtonLeftClick(): Promise<void>;
|
|
18
|
+
handleButtonRightClick(): Promise<void>;
|
|
19
|
+
private _navigate;
|
|
20
|
+
private _checkNavigationButtons;
|
|
21
|
+
private _getLeftPositionFromActiveItem;
|
|
22
|
+
private _scrollWrapper;
|
|
23
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
@include export-module('cc-carousel-layout') {
|
|
2
|
+
.co-carousel {
|
|
3
|
+
position: relative;
|
|
4
|
+
.carousel-wrapper {
|
|
5
|
+
position: relative;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
scroll-behavior: smooth;
|
|
10
|
+
> * {
|
|
11
|
+
flex-shrink: 0;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.carousel-navigate-button {
|
|
15
|
+
position: absolute;
|
|
16
|
+
top: 50%;
|
|
17
|
+
transform: translateY(-50%);
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
height: 100%;
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
z-index: 1;
|
|
23
|
+
padding: 0 10px;
|
|
24
|
+
&.right {
|
|
25
|
+
right: 0;
|
|
26
|
+
}
|
|
27
|
+
.carousel-navigate-button-wrapper {
|
|
28
|
+
height: $cc-co-carousel-navigate-button-width;
|
|
29
|
+
width: $cc-co-carousel-navigate-button-width;
|
|
30
|
+
background: $cc-co-carousel-navigate-button-background-color;
|
|
31
|
+
box-shadow: $cc-co-carousel-navigate-button-box-shadow;
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
border-radius: $cc-co-carousel-navigate-button-border-radius;
|
|
36
|
+
opacity: $cc-co-carousel-navigate-button-border-opacity;
|
|
37
|
+
pointer-events: all;
|
|
38
|
+
svg {
|
|
39
|
+
width: 75%;
|
|
40
|
+
height: 75%;
|
|
41
|
+
vertical-align: middle;
|
|
42
|
+
fill: grey;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
&:hover {
|
|
46
|
+
.carousel-navigate-button-wrapper {
|
|
47
|
+
opacity: $cc-co-carousel-navigate-button-border-opacity-hover;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
$cc-co-carousel-navigate-button-width: 50px !default;
|
|
2
|
+
$cc-co-carousel-navigate-button-background-color: white !default;
|
|
3
|
+
$cc-co-carousel-navigate-button-box-shadow: 0px 0px 8px 2px rgb(0 0 0 / 20%) !default;
|
|
4
|
+
$cc-co-carousel-navigate-button-border-radius: 50% !default;
|
|
5
|
+
$cc-co-carousel-navigate-button-border-opacity: 0.5 !default;
|
|
6
|
+
$cc-co-carousel-navigate-button-border-opacity-hover: 1 !default;
|
|
@@ -23,6 +23,7 @@ export declare class InputDatePickerComponent extends BaseInputComponent<Date> i
|
|
|
23
23
|
width: string | number;
|
|
24
24
|
readonly blur: EventEmitter<Event>;
|
|
25
25
|
showClass(): boolean;
|
|
26
|
+
isMinimal: boolean;
|
|
26
27
|
constructor(formComponent: FormComponent, iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, componentFactoryResolver: ComponentFactoryResolver, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
27
28
|
ngOnDestroy(): void;
|
|
28
29
|
ngOnInit(): void;
|
|
@@ -3,5 +3,29 @@
|
|
|
3
3
|
@include input;
|
|
4
4
|
font-family: $cc-co-input-date-font-family;
|
|
5
5
|
font-size: $cc-co-input-date-font-size;
|
|
6
|
+
|
|
7
|
+
&.is-minimal {
|
|
8
|
+
display: flex;
|
|
9
|
+
background-color: transparent;
|
|
10
|
+
border: none;
|
|
11
|
+
div.required-indicator {
|
|
12
|
+
display: none!important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
ejs-datepicker {
|
|
16
|
+
label {
|
|
17
|
+
display: none;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
input {
|
|
21
|
+
font-size: 14px;
|
|
22
|
+
font-weight: bold;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
span.e-clear-icon {
|
|
26
|
+
display: none!important;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
6
30
|
}
|
|
7
31
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/corecomponents_v12",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.67",
|
|
4
4
|
"description": "Colijn IT core components for Angular 12",
|
|
5
5
|
"private": false,
|
|
6
6
|
"peerDependencies": {
|
|
@@ -21,8 +21,10 @@
|
|
|
21
21
|
"@syncfusion/ej2-angular-richtexteditor": "~19.3.45",
|
|
22
22
|
"@syncfusion/ej2-base": "~19.3.43",
|
|
23
23
|
"@syncfusion/ej2-popups": "~19.3.43",
|
|
24
|
+
"@types/hammerjs": "2.0.35",
|
|
24
25
|
"@types/three": ">=0.125.0",
|
|
25
26
|
"@tweenjs/tween.js": ">=17.2.0",
|
|
27
|
+
"hammerjs": "^2.0.8",
|
|
26
28
|
"three": ">=0.125.0"
|
|
27
29
|
},
|
|
28
30
|
"dependencies": {
|
package/public-api.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export * from './lib/components/card/card.component';
|
|
|
8
8
|
export * from './lib/components/card/card.module';
|
|
9
9
|
export * from './lib/components/carousel-3d/carousel-3d.component';
|
|
10
10
|
export * from './lib/components/carousel-3d/carousel-3d.module';
|
|
11
|
+
export * from './lib/components/carousel/carousel.component';
|
|
12
|
+
export * from './lib/components/carousel/carousel.module';
|
|
11
13
|
export * from './lib/components/co-dialog/co-dialog.module';
|
|
12
14
|
export * from './lib/components/co-dialog/co-dialog.component';
|
|
13
15
|
export * from './lib/components/co-dialog-prompt/co-dialog-prompt.module';
|