@colijnit/corecomponents_v12 12.0.15 → 12.0.16
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 +367 -40
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/base/base-input.component.js +13 -13
- package/esm2015/lib/components/co-dialog/co-dialog.component.js +46 -48
- package/esm2015/lib/components/co-dialog/co-dialog.module.js +7 -4
- package/esm2015/lib/components/co-dialog-prompt/co-dialog-prompt.component.js +6 -6
- package/esm2015/lib/components/co-kanban/co-kanban.component.js +7 -3
- package/esm2015/lib/components/co-rich-text-editor/co-rich-text-editor.component.js +2 -2
- package/esm2015/lib/components/collapsible/collapsible.component.js +58 -0
- package/esm2015/lib/components/collapsible/collapsible.module.js +17 -0
- package/esm2015/lib/components/grid/base/base-grid.component.js +1 -1
- package/esm2015/lib/components/grid/base/base-selection-grid.component.js +1 -1
- package/esm2015/lib/components/grid/co-grid.component.js +2 -2
- package/esm2015/lib/components/input-listbox/input-listbox.component.js +66 -0
- package/esm2015/lib/components/input-listbox/input-listbox.module.js +25 -0
- package/esm2015/lib/components/input-number-picker/input-number-picker.component.js +48 -23
- package/esm2015/lib/components/input-number-picker/input-number-picker.module.js +5 -3
- package/esm2015/lib/components/pivot/co-pivot.component.js +2 -2
- package/esm2015/lib/components/simple-grid/simple-grid-column.directive.js +36 -0
- package/esm2015/lib/components/simple-grid/simple-grid.component.js +112 -0
- package/esm2015/lib/components/simple-grid/simple-grid.module.js +24 -0
- package/esm2015/public-api.js +8 -1
- package/fesm2015/colijnit-corecomponents_v12.js +421 -77
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/base/base-input.component.d.ts +8 -8
- package/lib/components/button/style/_co-ripple.scss +69 -0
- package/lib/components/button/style/_layout.scss +7 -3
- package/lib/components/button/style/_material-definition.scss +1 -0
- package/lib/components/button/style/_theme.scss +0 -24
- package/lib/components/button/style/material.scss +18 -0
- package/lib/components/co-dialog/co-dialog.component.d.ts +6 -13
- package/lib/components/co-dialog/style/_layout.scss +47 -0
- package/lib/components/co-dialog/style/_material-definition.scss +23 -0
- package/lib/components/co-dialog/style/_theme.scss +27 -0
- package/lib/components/co-dialog/style/material.scss +4 -0
- package/lib/components/co-dialog-prompt/co-dialog-prompt.component.d.ts +2 -2
- package/lib/components/co-kanban/co-kanban.component.d.ts +1 -0
- package/lib/components/co-kanban/style/_layout.scss +51 -0
- package/lib/components/co-kanban/style/_material-definition.scss +25 -0
- package/lib/components/co-kanban/style/_theme.scss +7 -0
- package/lib/components/co-kanban/style/material.scss +13 -0
- package/lib/components/co-rich-text-editor/co-rich-text-editor.component.d.ts +1 -1
- package/lib/components/co-toggle/co-toggle.component.scss +1 -0
- package/lib/components/collapsible/collapsible.component.d.ts +16 -0
- package/lib/components/collapsible/collapsible.module.d.ts +2 -0
- package/lib/components/collapsible/style/_layout.scss +53 -0
- package/lib/components/collapsible/style/_material-definition.scss +9 -0
- package/lib/components/collapsible/style/_theme.scss +9 -0
- package/lib/components/collapsible/style/material.scss +4 -0
- package/lib/components/grid/base/base-selection-grid.component.d.ts +1 -2
- package/lib/components/grid/co-grid.component.d.ts +1 -1
- package/lib/components/input-listbox/input-listbox.component.d.ts +14 -0
- package/lib/components/input-listbox/input-listbox.module.d.ts +2 -0
- package/lib/components/input-listbox/style/_layout.scss +22 -0
- package/lib/components/input-listbox/style/_material-definition.scss +10 -0
- package/lib/components/input-listbox/style/_theme.scss +14 -0
- package/lib/components/input-listbox/style/material.scss +4 -0
- package/lib/components/input-number-picker/input-number-picker.component.d.ts +5 -1
- package/lib/components/input-number-picker/style/_layout.scss +43 -0
- package/lib/components/input-number-picker/style/_material-definition.scss +17 -0
- package/lib/components/input-number-picker/style/_theme.scss +22 -0
- package/lib/components/input-number-picker/style/material.scss +4 -0
- package/lib/components/input-search/style/_layout.scss +42 -0
- package/lib/components/input-search/style/_material-definition.scss +6 -0
- package/lib/components/input-search/style/_theme.scss +10 -0
- package/lib/components/input-search/style/material.scss +4 -0
- package/lib/components/pivot/co-pivot.component.d.ts +2 -2
- package/lib/components/simple-grid/simple-grid-column.directive.d.ts +18 -0
- package/lib/components/simple-grid/simple-grid.component.d.ts +26 -0
- package/lib/components/simple-grid/simple-grid.module.d.ts +2 -0
- package/lib/components/simple-grid/style/_layout.scss +80 -0
- package/lib/components/simple-grid/style/_material-definition.scss +16 -0
- package/lib/components/simple-grid/style/_theme.scss +17 -0
- package/lib/components/simple-grid/style/material.scss +4 -0
- package/lib/style/material2/_core.scss +3 -3
- package/lib/style/material2/_material2-scss-barrel.scss +10 -10
- package/package.json +1 -1
- package/public-api.d.ts +7 -0
- package/lib/components/co-dialog/co-dialog.component.scss +0 -0
- package/lib/components/input-number-picker/input-number-picker.component.scss +0 -49
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from
|
|
2
|
-
import { AsyncValidatorFn, FormControl, NgModel, ValidatorFn } from
|
|
3
|
-
import { ConfigurationAdapterComponent } from
|
|
4
|
-
import { FormInputUserModelChangeListenerService } from
|
|
5
|
-
import { NgZoneWrapperService } from
|
|
6
|
-
import { CoreComponentsIcon } from
|
|
7
|
-
import { FormComponent } from
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
+
import { AsyncValidatorFn, FormControl, NgModel, ValidatorFn } from "@angular/forms";
|
|
3
|
+
import { ConfigurationAdapterComponent } from "./configuration-adapter-component.interface";
|
|
4
|
+
import { FormInputUserModelChangeListenerService } from "../../core/service/form-input-user-change-listener.service";
|
|
5
|
+
import { NgZoneWrapperService } from "../../core/service/ng-zone-wrapper.service";
|
|
6
|
+
import { CoreComponentsIcon } from "../../core/enum/core-components-icon.enum";
|
|
7
|
+
import { FormComponent } from "../form/form.component";
|
|
8
8
|
/**
|
|
9
9
|
* Abstract base class for all concrete form input components that contain a native <input> element. Provides common data and functionality, such as
|
|
10
10
|
* adding self as a control to the parent form.
|
|
@@ -88,7 +88,7 @@ export declare abstract class BaseInputComponent<T> implements OnInit, OnDestroy
|
|
|
88
88
|
protected _markedAsUserTouched: boolean;
|
|
89
89
|
protected _destroyed: boolean;
|
|
90
90
|
protected _hasOnPushCdStrategy: boolean;
|
|
91
|
-
|
|
91
|
+
protected _model: T;
|
|
92
92
|
private _decimals;
|
|
93
93
|
private _hidden;
|
|
94
94
|
private _disabled;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/*
|
|
2
|
+
// NOTE: Copied and adapted to CoreComponents from iOneJS on 9-may-2018.
|
|
3
|
+
|
|
4
|
+
$mat-ripple-color-opacity: 0.1;
|
|
5
|
+
|
|
6
|
+
@mixin mat-ripple() {
|
|
7
|
+
// The host element of an md-ripple directive should always have a position of "absolute" or
|
|
8
|
+
// "relative" so that the ripple divs it creates inside itself are correctly positioned.
|
|
9
|
+
.mat-ripple {
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.mat-ripple.mat-ripple-unbounded {
|
|
14
|
+
overflow: visible;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.mat-ripple-element {
|
|
18
|
+
position: absolute;
|
|
19
|
+
border-radius: 50%;
|
|
20
|
+
pointer-events: none;
|
|
21
|
+
|
|
22
|
+
transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1);
|
|
23
|
+
transform: scale(0);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
!* Theme for the ripple elements.*!
|
|
28
|
+
@mixin mat-ripple-theme($theme) {
|
|
29
|
+
$foreground: map_get($theme, foreground);
|
|
30
|
+
$foreground-base: map_get($foreground, base);
|
|
31
|
+
|
|
32
|
+
.mat-ripple-element {
|
|
33
|
+
background-color: rgba($foreground-base, $mat-ripple-color-opacity);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
// A mixin, which generates temporary ink ripple on a given component.
|
|
39
|
+
// To be removed once the real ripple is applied to all elements.
|
|
40
|
+
// When $bindToParent is set to true, it will check for the focused class on the same selector as you included
|
|
41
|
+
// that mixin.
|
|
42
|
+
// It is also possible to specify the color palette of the temporary ripple. By default it uses the
|
|
43
|
+
// accent palette for its background.
|
|
44
|
+
@mixin mat-temporary-ink-ripple($component, $bindToParent: false) {
|
|
45
|
+
// A placeholder ink ripple, shown when keyboard focused.
|
|
46
|
+
.mat-ink-ripple {
|
|
47
|
+
border-radius: 50%;
|
|
48
|
+
opacity: 0;
|
|
49
|
+
height: 48px;
|
|
50
|
+
left: 50%;
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
pointer-events: none;
|
|
53
|
+
position: absolute;
|
|
54
|
+
top: 50%;
|
|
55
|
+
transform: translate(-50%, -50%);
|
|
56
|
+
transition: opacity ease 280ms, background-color ease 280ms;
|
|
57
|
+
width: 48px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Fade in when radio focused.
|
|
61
|
+
#{if($bindToParent, '&', '')}.mat-#{$component}-focused .mat-ink-ripple {
|
|
62
|
+
opacity: 1;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// this state.
|
|
66
|
+
#{if($bindToParent, '&', '')}.mat-#{$component}-disabled .mat-ink-ripple {
|
|
67
|
+
background-color: #000;
|
|
68
|
+
}
|
|
69
|
+
}*/
|
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
overflow: hidden;
|
|
17
17
|
padding: $cc-btn-padding;
|
|
18
18
|
font-size: $cc-btn-font-size;
|
|
19
|
+
place-content: $cc-btn-place-content;
|
|
20
|
+
pointer-events: all;
|
|
19
21
|
|
|
20
22
|
&.smaller {
|
|
21
23
|
transform: scale(0.8);
|
|
@@ -29,22 +31,25 @@
|
|
|
29
31
|
transform: scale(0.4);
|
|
30
32
|
}
|
|
31
33
|
|
|
32
|
-
|
|
34
|
+
&:not(.circle).has-icon {
|
|
33
35
|
padding-left: 10px;
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
&.circle {
|
|
37
39
|
padding: 0;
|
|
40
|
+
height: $cc-btn-height;
|
|
38
41
|
width: $cc-btn-height;
|
|
39
42
|
|
|
40
43
|
> co-icon {
|
|
41
44
|
position: relative;
|
|
42
|
-
|
|
45
|
+
height: $cc-btn-height;
|
|
46
|
+
width: $cc-btn-height;
|
|
43
47
|
}
|
|
44
48
|
}
|
|
45
49
|
|
|
46
50
|
&.disabled {
|
|
47
51
|
filter: opacity(50%);
|
|
52
|
+
pointer-events: none;
|
|
48
53
|
}
|
|
49
54
|
|
|
50
55
|
.rippler {
|
|
@@ -54,7 +59,6 @@
|
|
|
54
59
|
bottom: 0;
|
|
55
60
|
left: 0;
|
|
56
61
|
z-index: 1;
|
|
57
|
-
pointer-events: none;
|
|
58
62
|
}
|
|
59
63
|
}
|
|
60
64
|
}
|
|
@@ -64,20 +64,6 @@
|
|
|
64
64
|
transform: scale(0.4);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
&.has-icon {
|
|
68
|
-
padding-left: 10px;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&.circle {
|
|
72
|
-
padding: 0;
|
|
73
|
-
width: 40px;
|
|
74
|
-
|
|
75
|
-
> co-icon {
|
|
76
|
-
position: relative;
|
|
77
|
-
left: 5px;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
67
|
&.disabled {
|
|
82
68
|
filter: opacity(50%);
|
|
83
69
|
}
|
|
@@ -91,15 +77,5 @@
|
|
|
91
77
|
}
|
|
92
78
|
}
|
|
93
79
|
}
|
|
94
|
-
|
|
95
|
-
.rippler {
|
|
96
|
-
position: absolute;
|
|
97
|
-
top: 0;
|
|
98
|
-
right: 0;
|
|
99
|
-
bottom: 0;
|
|
100
|
-
left: 0;
|
|
101
|
-
z-index: 1;
|
|
102
|
-
pointer-events: none;
|
|
103
|
-
}
|
|
104
80
|
}
|
|
105
81
|
}
|
|
@@ -2,3 +2,21 @@
|
|
|
2
2
|
@import "./material-definition";
|
|
3
3
|
@import "./layout";
|
|
4
4
|
@import "./theme";
|
|
5
|
+
/*
|
|
6
|
+
@import "co-ripple";
|
|
7
|
+
@import "../../../style/material2/theming/palette";
|
|
8
|
+
|
|
9
|
+
@mixin mat-core() {
|
|
10
|
+
@include mat-ripple();
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// Mixin that renders all of the core styles that depend on the theme.
|
|
14
|
+
@mixin mat-core-theme($theme) {
|
|
15
|
+
@include mat-ripple-theme($theme);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
$theme: mat-dark-theme(mat-palette($mat-purple, 700, 500, 800), mat-palette($mat-green, A200, A100, A400));
|
|
19
|
+
@include mat-core-theme(
|
|
20
|
+
mat-dark-theme(mat-palette($mat-purple, 700, 500, 800), mat-palette($mat-green, A200, A100, A400))
|
|
21
|
+
);
|
|
22
|
+
*/
|
|
@@ -1,19 +1,12 @@
|
|
|
1
|
-
import { EventEmitter } from
|
|
2
|
-
import {
|
|
3
|
-
import { EmitType } from '@syncfusion/ej2-base';
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { CoreComponentsIcon } from "../../core/enum/core-components-icon.enum";
|
|
4
3
|
export declare class CoDialogComponent {
|
|
5
|
-
|
|
6
|
-
targetElement: HTMLElement;
|
|
4
|
+
readonly icons: typeof CoreComponentsIcon;
|
|
7
5
|
showCloseIcon: boolean;
|
|
8
|
-
width: string;
|
|
9
|
-
visible: boolean;
|
|
10
|
-
position: PositionDataModel;
|
|
11
6
|
modal: boolean;
|
|
7
|
+
animation: boolean;
|
|
12
8
|
readonly closeClick: EventEmitter<MouseEvent>;
|
|
13
9
|
readonly overlayClick: EventEmitter<MouseEvent>;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
close(): void;
|
|
17
|
-
onOverlayClick: EmitType<object>;
|
|
18
|
-
onCloseClick: EmitType<object>;
|
|
10
|
+
showClass(): boolean;
|
|
11
|
+
handleOverlayClick(event: MouseEvent): void;
|
|
19
12
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@import "../../../style/input.mixins";
|
|
2
|
+
@import "../../../style/mixin";
|
|
3
|
+
|
|
4
|
+
@include export-module('co-dialog-layout') {
|
|
5
|
+
.co-dialog {
|
|
6
|
+
font-family: $cc-co-dialog-font-family;
|
|
7
|
+
font-size: $cc-co-dialog-font-size;
|
|
8
|
+
.co-dialog-overlay {
|
|
9
|
+
position: fixed;
|
|
10
|
+
top: 0;
|
|
11
|
+
left: 0;
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: 100%;
|
|
14
|
+
z-index: 800;
|
|
15
|
+
}
|
|
16
|
+
.co-dialog-wrapper {
|
|
17
|
+
position: fixed;
|
|
18
|
+
top: 50%;
|
|
19
|
+
left: 50%;
|
|
20
|
+
transform: translate(-50%, -50%);
|
|
21
|
+
min-width: $cc-co-dialog-min-width;
|
|
22
|
+
max-width: 100vw;
|
|
23
|
+
z-index: 801;
|
|
24
|
+
height: auto;
|
|
25
|
+
width: auto;
|
|
26
|
+
}
|
|
27
|
+
.dialog-header {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: row;
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
align-items: center;
|
|
32
|
+
font-family: $cc-co-dialog-header-font-family;
|
|
33
|
+
font-size: $cc-co-dialog-header-font-size;
|
|
34
|
+
padding: $cc-co-dialog-header-padding;
|
|
35
|
+
}
|
|
36
|
+
.dialog-content {
|
|
37
|
+
font-family: $cc-co-dialog-content-font-family;
|
|
38
|
+
font-size: $cc-co-dialog-content-font-size;
|
|
39
|
+
padding: $cc-co-dialog-content-padding;
|
|
40
|
+
}
|
|
41
|
+
.dialog-footer {
|
|
42
|
+
font-family: $cc-co-dialog-footer-font-family;
|
|
43
|
+
font-size: $cc-co-dialog-footer-font-size;
|
|
44
|
+
padding: $cc-co-dialog-footer-padding;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
$cc-co-dialog-font-family: $cc-font-family !default;
|
|
2
|
+
$cc-co-dialog-font-size: $cc-font-size-default !default;
|
|
3
|
+
$cc-co-dialog-header-font-family: $cc-font-family !default;
|
|
4
|
+
$cc-co-dialog-header-font-size: $cc-font-size-default !default;
|
|
5
|
+
$cc-co-dialog-header-text-color: $cc-color-dark !default;
|
|
6
|
+
$cc-co-dialog-header-background-color: $cc-color-light-accent !default;
|
|
7
|
+
$cc-co-dialog-header-padding: 10px !default;
|
|
8
|
+
$cc-co-dialog-min-width: 250px !default;
|
|
9
|
+
$cc-co-dialog-background-color: $cc-color-light !default;
|
|
10
|
+
$cc-co-dialog-box-shadow: 2px 3px 4px rgba(0, 0, 0, 0.5) !default;
|
|
11
|
+
$cc-co-dialog-overlay-background-color: rgba(0, 0, 0, 0.3) !default;
|
|
12
|
+
$cc-co-dialog-overlay-backdrop-filter: blur(2px) !default;
|
|
13
|
+
$cc-co-dialog-content-padding: 10px !default;
|
|
14
|
+
$cc-co-dialog-content-font-family: $cc-font-family !default;
|
|
15
|
+
$cc-co-dialog-content-font-size: $cc-font-size-default !default;
|
|
16
|
+
$cc-co-dialog-content-text-color: $cc-color-dark !default;
|
|
17
|
+
$cc-co-dialog-content-background-color: $cc-color-light !default;
|
|
18
|
+
$cc-co-dialog-footer-padding: 10px !default;
|
|
19
|
+
$cc-co-dialog-footer-font-family: $cc-font-family !default;
|
|
20
|
+
$cc-co-dialog-footer-font-size: $cc-font-size-default !default;
|
|
21
|
+
$cc-co-dialog-footer-text-color: $cc-color-dark !default;
|
|
22
|
+
$cc-co-dialog-footer-background-color: $cc-color-light !default;
|
|
23
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@import "../../../style/input.mixins";
|
|
2
|
+
@import "../../../style/mixin";
|
|
3
|
+
|
|
4
|
+
@include export-module('co-dialog-theme') {
|
|
5
|
+
.co-dialog {
|
|
6
|
+
.co-dialog-overlay {
|
|
7
|
+
background-color: $cc-co-dialog-overlay-background-color;
|
|
8
|
+
backdrop-filter: $cc-co-dialog-overlay-backdrop-filter;
|
|
9
|
+
}
|
|
10
|
+
.co-dialog-wrapper {
|
|
11
|
+
background-color: $cc-co-dialog-background-color;
|
|
12
|
+
box-shadow: $cc-co-dialog-box-shadow;
|
|
13
|
+
}
|
|
14
|
+
.dialog-header {
|
|
15
|
+
color: $cc-co-dialog-header-text-color;
|
|
16
|
+
background-color: $cc-co-dialog-header-background-color;
|
|
17
|
+
}
|
|
18
|
+
.dialog-content {
|
|
19
|
+
color: $cc-co-dialog-content-text-color;
|
|
20
|
+
background-color: $cc-co-dialog-content-background-color;
|
|
21
|
+
}
|
|
22
|
+
.dialog-footer {
|
|
23
|
+
color: $cc-co-dialog-footer-text-color;
|
|
24
|
+
background-color: $cc-co-dialog-footer-background-color;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EventEmitter } from
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { DialogComponent } from "@syncfusion/ej2-angular-popups";
|
|
3
|
-
import { EmitType } from
|
|
3
|
+
import { EmitType } from "@syncfusion/ej2-base";
|
|
4
4
|
export declare class CoDialogPromptComponent {
|
|
5
5
|
coDialogPrompt: DialogComponent;
|
|
6
6
|
header: string;
|
|
@@ -16,6 +16,7 @@ export declare class CoKanbanComponent implements OnInit, AfterViewInit {
|
|
|
16
16
|
cardDoubleClickEvent: EventEmitter<CardClickEventArgs>;
|
|
17
17
|
dragStartEvent: EventEmitter<DragEventArgs>;
|
|
18
18
|
dragStopEvent: EventEmitter<DragEventArgs>;
|
|
19
|
+
showClass(): boolean;
|
|
19
20
|
constructor();
|
|
20
21
|
ngOnInit(): void;
|
|
21
22
|
ngAfterViewInit(): void;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@import "../../../style/input.mixins";
|
|
2
|
+
@import "../../../style/mixin";
|
|
3
|
+
|
|
4
|
+
@include export-module('cc-kanban-layout') {
|
|
5
|
+
.co-kanban {
|
|
6
|
+
|
|
7
|
+
div.e-kanban-header {
|
|
8
|
+
margin-bottom: $cc-kanban-header-margin-bottom;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
div.e-header-text {
|
|
12
|
+
font-family: $cc-kanban-header-font-family;
|
|
13
|
+
font-size: $cc-kanban-header-font-size;
|
|
14
|
+
color: $cc-kanban-header-text-color;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
div.e-item-count {
|
|
18
|
+
font-family: $cc-kanban-header-item-count-font-family;
|
|
19
|
+
font-size: $cc-kanban-header-item-count-font-size;
|
|
20
|
+
color: $cc-kanban-header-item-count-text-color;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
div.e-card {
|
|
24
|
+
background-color: $cc-kanban-card-background-color;
|
|
25
|
+
box-shadow: $cc-kanban-card-box-shadow;
|
|
26
|
+
border: $cc-kanban-card-border !important;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
div.e-card-header-title {
|
|
31
|
+
font-family: $cc-kanban-card-header-font-family;
|
|
32
|
+
font-size: $cc-kanban-card-header-font-size;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
div.e-card-content {
|
|
36
|
+
font-family: $cc-kanban-card-content-font-family;
|
|
37
|
+
font-size: $cc-kanban-card-content-font-size;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
th.e-header-cells {
|
|
41
|
+
background-color: $cc-kanban-header-background-color !important;
|
|
42
|
+
border: $cc-kanban-header-border !important;
|
|
43
|
+
padding: $cc-kanban-header-padding !important;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
td.e-content-cells {
|
|
47
|
+
background-color: $cc-kanban-column-background-color !important;
|
|
48
|
+
border: $cc-kanban-column-border !important;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
$cc-kanban-header-font-family: $cc-font-family !default;
|
|
2
|
+
$cc-kanban-header-font-size: 15px !default;
|
|
3
|
+
$cc-kanban-header-text-color: #000000 !default;
|
|
4
|
+
|
|
5
|
+
$cc-kanban-header-item-count-font-family: $cc-font-family !default;
|
|
6
|
+
$cc-kanban-header-item-count-font-size: 12px !default;
|
|
7
|
+
$cc-kanban-header-item-count-text-color: #000000 !default;
|
|
8
|
+
|
|
9
|
+
$cc-kanban-header-background-color: #f5f5f5 !default;
|
|
10
|
+
$cc-kanban-header-border: 1px solid transparent !default;
|
|
11
|
+
$cc-kanban-header-padding: 5px 8px !default;
|
|
12
|
+
$cc-kanban-header-margin-bottom: 0 !default;
|
|
13
|
+
|
|
14
|
+
$cc-kanban-card-background-color: #ffffff !default;
|
|
15
|
+
$cc-kanban-card-box-shadow: 0 2px 3px 0 rgb(0 0 0 / 16%) !default;
|
|
16
|
+
$cc-kanban-card-border: 1px solid transparent !default;
|
|
17
|
+
|
|
18
|
+
$cc-kanban-card-header-font-family: $cc-font-family !default;
|
|
19
|
+
$cc-kanban-card-header-font-size: 14px !default;
|
|
20
|
+
|
|
21
|
+
$cc-kanban-card-content-font-family: $cc-font-family !default;
|
|
22
|
+
$cc-kanban-card-content-font-size: 13px !default;
|
|
23
|
+
|
|
24
|
+
$cc-kanban-column-background-color: #f5f5f5 !default;
|
|
25
|
+
$cc-kanban-column-border: 1px solid transparent !default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@import "../../../style/variables";
|
|
2
|
+
@import "./material-definition";
|
|
3
|
+
@import "./layout";
|
|
4
|
+
@import "./theme";
|
|
5
|
+
|
|
6
|
+
@import '~@syncfusion/ej2-angular-kanban/styles/material.scss';
|
|
7
|
+
@import '~@syncfusion/ej2-base/styles/material.scss';
|
|
8
|
+
@import '~@syncfusion/ej2-buttons/styles/material.scss';
|
|
9
|
+
@import '~@syncfusion/ej2-dropdowns/styles/material.scss';
|
|
10
|
+
@import '~@syncfusion/ej2-inputs/styles/material.scss';
|
|
11
|
+
@import '~@syncfusion/ej2-layouts/styles/material.scss';
|
|
12
|
+
@import '~@syncfusion/ej2-navigations/styles/material.scss';
|
|
13
|
+
@import '~@syncfusion/ej2-popups/styles/material.scss';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, EventEmitter, OnInit } from "@angular/core";
|
|
2
|
-
import {
|
|
2
|
+
import { ChangeEventArgs, RichTextEditorComponent } from "@syncfusion/ej2-angular-richtexteditor";
|
|
3
3
|
export declare class CoRichTextEditorComponent implements OnInit, AfterViewInit {
|
|
4
4
|
editor: RichTextEditorComponent;
|
|
5
5
|
onChangeEvent: EventEmitter<ChangeEventArgs>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//$cc-co-toggle-opacity: $switch-off-opacity !default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy } from "@angular/core";
|
|
2
|
+
import { SafeHtml } from "@angular/platform-browser";
|
|
3
|
+
export declare class CollapsibleComponent implements OnDestroy {
|
|
4
|
+
private _elementRef;
|
|
5
|
+
headerTitle: string;
|
|
6
|
+
iconData: SafeHtml | undefined;
|
|
7
|
+
expandButtonLast: boolean;
|
|
8
|
+
expanded: boolean;
|
|
9
|
+
expandedChange: EventEmitter<boolean>;
|
|
10
|
+
showClass(): boolean;
|
|
11
|
+
onHostClick(event: MouseEvent): void;
|
|
12
|
+
constructor(_elementRef: ElementRef);
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
focus(): void;
|
|
15
|
+
changeExpanded(): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@import "../../../style/input.mixins";
|
|
2
|
+
@import "../../../style/mixin";
|
|
3
|
+
|
|
4
|
+
@include export-module('cc-collapsible-layout') {
|
|
5
|
+
.co-collapsible {
|
|
6
|
+
font-family: $cc-collapsible-font-family;
|
|
7
|
+
position: relative;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
flex-shrink: 0;
|
|
11
|
+
flex-grow: 0;
|
|
12
|
+
outline: none;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
font-size: $cc-collapsible-font-size;
|
|
15
|
+
|
|
16
|
+
.collapsible-header {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: row;
|
|
19
|
+
column-gap: 5px;
|
|
20
|
+
height: $cc-collapsible-height;
|
|
21
|
+
align-items: center;
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
user-select: none;
|
|
24
|
+
border-bottom: $cc-collapsible-border-bottom;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.collapsible-title {
|
|
28
|
+
font-weight: bold;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.expand-icon-wrapper {
|
|
32
|
+
display: flex;
|
|
33
|
+
transition: .3s ease-in-out;
|
|
34
|
+
margin-right: $cc-collapsible-icon-margin-right;
|
|
35
|
+
.expand-icon {
|
|
36
|
+
height: $cc-collapsible-icon-size;
|
|
37
|
+
width: $cc-collapsible-icon-size;
|
|
38
|
+
}
|
|
39
|
+
&.expanded {
|
|
40
|
+
transform: rotate(180deg);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.end {
|
|
45
|
+
justify-content: space-between;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.collapsible-content {
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
padding: $cc-collapsible-content-padding;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
$cc-collapsible-font-family: $cc-font-family !default;
|
|
2
|
+
$cc-collapsible-font-size: $cc-font-size-default !default;
|
|
3
|
+
$cc-collapsible-color: $cc-color-action !default;
|
|
4
|
+
$cc-collapsible-text-color: #000000 !default;
|
|
5
|
+
$cc-collapsible-height: 40px !default;
|
|
6
|
+
$cc-collapsible-icon-size: 20px !default;
|
|
7
|
+
$cc-collapsible-border-bottom: 1px solid gray !default;
|
|
8
|
+
$cc-collapsible-icon-margin-right: 15px !default;
|
|
9
|
+
$cc-collapsible-content-padding: 10px 0px 0px 10px !default;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, TemplateRef } from "@angular/core";
|
|
2
|
-
import { RowDropEventArgs, SelectionSettingsModel } from "@syncfusion/ej2-angular-grids";
|
|
2
|
+
import { RowDragEventArgs, RowDropEventArgs, SelectionSettingsModel } from "@syncfusion/ej2-angular-grids";
|
|
3
3
|
import { BaseInlineEditGridComponent } from "./base-inline-edit-grid.component";
|
|
4
4
|
import { MenuEventArgs } from "@syncfusion/ej2-navigations";
|
|
5
5
|
import { GridRowDragEventArgs } from "../interface/grid-row-drag-event-args";
|
|
6
6
|
import { GridRowDropEventArgs } from "../interface/grid-row-drop-event-args";
|
|
7
|
-
import { RowDragEventArgs } from "@syncfusion/ej2-angular-grids";
|
|
8
7
|
import { GridMenuEventArgs } from "../interface/grid-menu-event-args";
|
|
9
8
|
export declare class BaseSelectionGridComponent<T> extends BaseInlineEditGridComponent<T> implements OnInit {
|
|
10
9
|
set multipleSelect(value: boolean);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit } from "@angular/core";
|
|
2
|
-
import { BaseSelectionGridComponent } from
|
|
2
|
+
import { BaseSelectionGridComponent } from "./base/base-selection-grid.component";
|
|
3
3
|
export declare class CoGridComponent<T> extends BaseSelectionGridComponent<T> implements OnInit {
|
|
4
4
|
showClass(): boolean;
|
|
5
5
|
ngOnInit(): void;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from "@angular/core";
|
|
2
|
+
import { BaseInputComponent } from "../base/base-input.component";
|
|
3
|
+
import { SelectionSettingsModel } from "@syncfusion/ej2-angular-dropdowns";
|
|
4
|
+
export declare class InputListboxComponent extends BaseInputComponent<any> implements OnInit, OnDestroy {
|
|
5
|
+
placeholder: string;
|
|
6
|
+
value: string[] | number[];
|
|
7
|
+
collection: {}[];
|
|
8
|
+
fields: {};
|
|
9
|
+
set singleSelect(value: boolean);
|
|
10
|
+
set showCheckbox(value: boolean);
|
|
11
|
+
set showSelectAll(value: boolean);
|
|
12
|
+
showClass(): boolean;
|
|
13
|
+
selectionSettings: SelectionSettingsModel;
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@import "./material-definition";
|
|
2
|
+
|
|
3
|
+
@include export-module('cc-input-listbox-layout') {
|
|
4
|
+
.co-input-listbox {
|
|
5
|
+
font-family: $cc-co-input-listbox-font-family;
|
|
6
|
+
font-size: $cc-co-input-listbox-font-size;
|
|
7
|
+
.co-input-listbox-header {
|
|
8
|
+
font-family: $cc-co-input-listbox-header-font-family;
|
|
9
|
+
font-size: $cc-co-input-listbox-header-font-size;
|
|
10
|
+
margin: $cc-co-input-listbox-header-margin;
|
|
11
|
+
}
|
|
12
|
+
.e-listbox-wrapper {
|
|
13
|
+
font-family: $cc-co-input-listbox-font-family;
|
|
14
|
+
font-size: $cc-co-input-listbox-font-size;
|
|
15
|
+
}
|
|
16
|
+
.co-input-listbox-content {
|
|
17
|
+
max-height: $cc-co-input-listbox-max-height;
|
|
18
|
+
overflow-y: auto;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
$cc-co-input-listbox-font-family: $cc-font-family !default;
|
|
2
|
+
$cc-co-input-listbox-font-size: $cc-font-size-default !default;
|
|
3
|
+
$cc-co-input-listbox-font-color: $cc-color-dark !default;
|
|
4
|
+
$cc-co-input-listbox-max-height: 200px !default;
|
|
5
|
+
$cc-co-input-listbox-header-font-family: $cc-font-family !default;
|
|
6
|
+
$cc-co-input-listbox-header-font-size: $cc-font-size-default !default;
|
|
7
|
+
$cc-co-input-listbox-header-font-color: $cc-color-dark !default;
|
|
8
|
+
$cc-co-input-listbox-header-margin: 5px 0 !default;
|
|
9
|
+
$cc-co-input-listbox-item-selected-background-color: $cc-color-action !default;
|
|
10
|
+
$cc-co-input-listbox-item-selected-color: $cc-color-light !default;
|