@colijnit/corecomponents_v12 12.0.15 → 12.0.18
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 +1099 -277
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.d.ts +9 -8
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/colijnit-corecomponents_v12.js +10 -9
- package/esm2015/lib/components/base/base-input.component.js +40 -20
- package/esm2015/lib/components/carousel-3d/carousel-3d.component.js +313 -0
- package/esm2015/lib/components/carousel-3d/carousel-3d.module.js +19 -0
- package/esm2015/lib/components/carousel-3d/carouselItem.js +54 -0
- 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 +8 -7
- 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/drop-down-list/drop-down-list.component.js +30 -8
- package/esm2015/lib/components/drop-down-list/drop-down.module.js +4 -2
- package/esm2015/lib/components/form/form.component.js +2 -21
- package/esm2015/lib/components/form/form.module.js +4 -4
- 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-checkbox/input-checkbox.component.js +15 -5
- package/esm2015/lib/components/input-checkbox-multi-select/input-checkbox-multi-select.component.js +6 -14
- package/esm2015/lib/components/input-combo-box/input-combo-box.component.js +24 -29
- package/esm2015/lib/components/input-date-picker/input-date-picker.component.js +10 -7
- package/esm2015/lib/components/input-listbox/input-listbox.component.js +87 -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 +55 -30
- package/esm2015/lib/components/input-number-picker/input-number-picker.module.js +5 -3
- package/esm2015/lib/components/input-radio-button/input-radio-button.component.js +13 -5
- package/esm2015/lib/components/input-text/input-text.component.js +22 -81
- package/esm2015/lib/components/input-text/input-text.module.js +16 -13
- package/esm2015/lib/components/input-textarea/input-textarea.component.js +62 -0
- package/esm2015/lib/components/input-textarea/input-textarea.module.js +23 -0
- package/esm2015/lib/components/multi-select-list/multi-select-list.component.js +37 -9
- package/esm2015/lib/components/multi-select-list/multi-select-list.module.js +4 -2
- 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/lib/components/validation-error/validation-error.component.js +23 -0
- package/esm2015/lib/components/validation-error/validation-error.module.js +19 -0
- package/esm2015/public-api.js +13 -1
- package/fesm2015/colijnit-corecomponents_v12.js +1176 -337
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/base/base-input.component.d.ts +14 -9
- package/lib/components/button/style/_co-ripple.scss +69 -0
- package/lib/components/button/style/_layout.scss +7 -4
- package/lib/components/button/style/_material-definition.scss +1 -0
- package/lib/components/button/style/_theme.scss +2 -27
- package/lib/components/button/style/material.scss +18 -0
- package/lib/components/button-drop-down/style/_layout.scss +0 -2
- package/lib/components/button-drop-down/style/_theme.scss +0 -2
- package/lib/components/button-drop-down/style/material.scss +1 -0
- package/lib/components/carousel-3d/carousel-3d.component.d.ts +55 -0
- package/lib/components/carousel-3d/carousel-3d.module.d.ts +2 -0
- package/lib/components/carousel-3d/carouselItem.d.ts +13 -0
- package/lib/components/carousel-3d/style/_layout.scss +62 -0
- package/lib/components/carousel-3d/style/_material-definition.scss +6 -0
- package/lib/components/carousel-3d/style/_theme.scss +4 -0
- package/lib/components/carousel-3d/style/material.scss +5 -0
- package/lib/components/co-dialog/co-dialog.component.d.ts +6 -13
- package/lib/components/co-dialog/style/_layout.scss +44 -0
- package/lib/components/co-dialog/style/_material-definition.scss +23 -0
- package/lib/components/co-dialog/style/_theme.scss +24 -0
- package/lib/components/co-dialog/style/material.scss +5 -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 +48 -0
- package/lib/components/co-kanban/style/_material-definition.scss +25 -0
- package/lib/components/co-kanban/style/_theme.scss +3 -0
- package/lib/components/co-kanban/style/material.scss +14 -0
- package/lib/components/co-rich-text-editor/co-rich-text-editor.component.d.ts +1 -1
- package/lib/components/co-rich-text-editor/style/_layout.scss +0 -2
- package/lib/components/co-rich-text-editor/style/_theme.scss +0 -2
- package/lib/components/co-rich-text-editor/style/material.scss +1 -0
- 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 +50 -0
- package/lib/components/collapsible/style/_material-definition.scss +9 -0
- package/lib/components/collapsible/style/_theme.scss +5 -0
- package/lib/components/collapsible/style/material.scss +5 -0
- package/lib/components/drop-down-list/drop-down-list.component.d.ts +12 -2
- package/lib/components/drop-down-list/style/_layout.scss +8 -3
- package/lib/components/drop-down-list/style/_theme.scss +0 -2
- package/lib/components/drop-down-list/style/material.scss +2 -0
- package/lib/components/form/form.component.d.ts +0 -1
- 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/grid/style/_layout.scss +0 -2
- package/lib/components/grid/style/_theme.scss +0 -2
- package/lib/components/grid/style/material.scss +1 -0
- package/lib/components/input-checkbox/input-checkbox.component.d.ts +9 -2
- package/lib/components/input-checkbox/style/_layout.scss +0 -2
- package/lib/components/input-checkbox/style/_theme.scss +0 -2
- package/lib/components/input-checkbox/style/material.scss +1 -0
- package/lib/components/input-checkbox-multi-select/input-checkbox-multi-select.component.d.ts +4 -6
- package/lib/components/input-checkbox-multi-select/style/_layout.scss +0 -2
- package/lib/components/input-checkbox-multi-select/style/_theme.scss +0 -2
- package/lib/components/input-checkbox-multi-select/style/material.scss +1 -0
- package/lib/components/input-combo-box/input-combo-box.component.d.ts +6 -7
- package/lib/components/input-combo-box/style/_layout.scss +10 -3
- package/lib/components/input-combo-box/style/_material-definition.scss +0 -7
- package/lib/components/input-combo-box/style/_theme.scss +0 -2
- package/lib/components/input-combo-box/style/material.scss +9 -0
- package/lib/components/input-date-picker/input-date-picker.component.d.ts +4 -3
- package/lib/components/input-date-picker/style/_layout.scss +4 -3
- package/lib/components/input-date-picker/style/_theme.scss +0 -2
- package/lib/components/input-date-picker/style/material.scss +2 -0
- package/lib/components/input-listbox/input-listbox.component.d.ts +25 -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 +12 -0
- package/lib/components/input-listbox/style/material.scss +6 -0
- package/lib/components/input-number-picker/input-number-picker.component.d.ts +9 -5
- package/lib/components/input-number-picker/style/_layout.scss +41 -0
- package/lib/components/input-number-picker/style/_material-definition.scss +17 -0
- package/lib/components/input-number-picker/style/_theme.scss +20 -0
- package/lib/components/input-number-picker/style/material.scss +5 -0
- package/lib/components/input-radio-button/input-radio-button.component.d.ts +7 -2
- package/lib/components/input-radio-button/style/_layout.scss +0 -2
- package/lib/components/input-radio-button/style/_theme.scss +0 -2
- package/lib/components/input-radio-button/style/material.scss +1 -0
- package/lib/components/input-search/style/_layout.scss +39 -0
- package/lib/components/input-search/style/_material-definition.scss +6 -0
- package/lib/components/input-search/style/_theme.scss +6 -0
- package/lib/components/input-search/style/material.scss +5 -0
- package/lib/components/input-text/input-text.component.d.ts +6 -30
- package/lib/components/input-text/style/_layout.scss +14 -3
- package/lib/components/input-text/style/_material-definition.scss +4 -3
- package/lib/components/input-text/style/_theme.scss +0 -2
- package/lib/components/input-text/style/material.scss +3 -0
- package/lib/components/input-textarea/input-textarea.component.d.ts +18 -0
- package/lib/components/input-textarea/input-textarea.module.d.ts +2 -0
- package/lib/components/input-textarea/style/_layout.scss +20 -0
- package/lib/components/input-textarea/style/_material-definition.scss +4 -0
- package/lib/components/input-textarea/style/_theme.scss +8 -0
- package/lib/components/input-textarea/style/material.scss +7 -0
- package/lib/components/multi-select-list/multi-select-list.component.d.ts +13 -2
- package/lib/components/multi-select-list/style/_layout.scss +10 -3
- package/lib/components/multi-select-list/style/_theme.scss +0 -2
- package/lib/components/multi-select-list/style/material.scss +2 -0
- package/lib/components/pivot/co-pivot.component.d.ts +2 -2
- package/lib/components/pivot/style/_layout.scss +0 -2
- package/lib/components/pivot/style/_theme.scss +0 -2
- package/lib/components/pivot/style/material.scss +1 -0
- 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 +78 -0
- package/lib/components/simple-grid/style/_material-definition.scss +16 -0
- package/lib/components/simple-grid/style/_theme.scss +15 -0
- package/lib/components/simple-grid/style/material.scss +5 -0
- package/lib/components/validation-error/style/_layout.scss +37 -0
- package/lib/components/validation-error/style/_material-definition.scss +9 -0
- package/lib/components/validation-error/style/_theme.scss +21 -0
- package/lib/components/validation-error/style/material.scss +5 -0
- package/lib/components/validation-error/validation-error.component.d.ts +4 -0
- package/lib/components/validation-error/validation-error.module.d.ts +2 -0
- package/lib/style/_input.mixins.scss +70 -281
- package/lib/style/_variables.scss +2 -0
- package/lib/style/material2/_core.scss +3 -3
- package/lib/style/material2/_material2-scss-barrel.scss +10 -10
- package/package.json +5 -2
- package/public-api.d.ts +12 -0
- package/esm2015/lib/core/enum/float-label-type.enum.js +0 -7
- package/esm2015/lib/core/enum/input-text-type.enum.js +0 -6
- package/esm2015/lib/core/model/numerical-range.js +0 -14
- package/lib/components/co-dialog/co-dialog.component.scss +0 -0
- package/lib/components/drop-down-list/drop-down-list.component.scss +0 -0
- package/lib/components/input-number-picker/input-number-picker.component.scss +0 -49
- package/lib/core/enum/float-label-type.enum.d.ts +0 -5
- package/lib/core/enum/input-text-type.enum.d.ts +0 -4
- package/lib/core/model/numerical-range.d.ts +0 -7
- package/lib/style/_extendables.scss +0 -32
- package/lib/style/_responsiveness.mixins.scss +0 -64
- package/lib/style/_responsiveness.scss +0 -4
- package/lib/style/_transition.mixins.scss +0 -21
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@include export-module('cc-input-number-picker-layout') {
|
|
2
|
+
.co-input-number-picker {
|
|
3
|
+
font-family: $cc-co-input-number-picker-font-family;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: row;
|
|
6
|
+
align-items: center;
|
|
7
|
+
//height: $cc-co-input-number-picker-height;
|
|
8
|
+
width: fit-content;
|
|
9
|
+
border: $cc-co-input-number-picker-border;
|
|
10
|
+
border-width: $cc-co-input-number-picker-border-width;
|
|
11
|
+
border-radius: $cc-co-input-number-picker-border-radius;
|
|
12
|
+
.button-wrapper {
|
|
13
|
+
padding: $cc-co-input-number-picker-button-padding;
|
|
14
|
+
}
|
|
15
|
+
input {
|
|
16
|
+
font-family: $cc-co-input-number-picker-font-family;
|
|
17
|
+
padding: 0;
|
|
18
|
+
width: 100%;
|
|
19
|
+
border: none;
|
|
20
|
+
text-align: $cc-co-input-number-picker-text-align;
|
|
21
|
+
&:focus {
|
|
22
|
+
outline: none;
|
|
23
|
+
}
|
|
24
|
+
&:read-only {
|
|
25
|
+
opacity: $cc-co-input-number-picker-readonly-opacity;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
.co-button.circle {
|
|
29
|
+
height: $cc-co-input-number-picker-button-height;
|
|
30
|
+
width: $cc-co-input-number-picker-button-width;
|
|
31
|
+
> co-icon {
|
|
32
|
+
height: $cc-co-input-number-picker-button-height;
|
|
33
|
+
width: $cc-co-input-number-picker-button-width;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
span, span.e-input-focus {
|
|
37
|
+
border: none !important;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
$cc-co-input-number-picker-font-family: $cc-font-family !default;
|
|
2
|
+
$cc-co-input-number-picker-height: 40px !default;
|
|
3
|
+
$cc-co-input-number-picker-width: 125px !default;
|
|
4
|
+
$cc-co-input-number-picker-readonly-opacity: 0.5 !default;
|
|
5
|
+
$cc-co-input-number-picker-text-align: center !default;
|
|
6
|
+
$cc-co-input-number-picker-border: 1px solid !default;
|
|
7
|
+
$cc-co-input-number-picker-border-width: 1px 1px 1px 1px !default;
|
|
8
|
+
$cc-co-input-number-picker-button-padding: 5px !default;
|
|
9
|
+
$cc-co-input-number-picker-border-color: $cc-color-dark !default;
|
|
10
|
+
$cc-co-input-number-picker-border-radius: 3px !default;
|
|
11
|
+
$cc-co-input-number-picker-button-height: 25px !default;
|
|
12
|
+
$cc-co-input-number-picker-button-width: 25px !default;
|
|
13
|
+
$cc-co-input-number-picker-button-background-color: transparent !default;
|
|
14
|
+
$cc-co-input-number-picker-button-background-color-hover: $cc-color-hover !default;
|
|
15
|
+
$cc-co-input-number-picker-button-background-color-select: $cc-color-action !default;
|
|
16
|
+
$cc-co-input-number-picker-button-icon-color: $cc-color-dark !default;
|
|
17
|
+
$cc-co-input-number-picker-button-icon-color-hover: $cc-color-light !default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@include export-module('cc-input-number-picker-theme') {
|
|
2
|
+
.co-input-number-picker {
|
|
3
|
+
border-color: $cc-co-input-number-picker-border-color;
|
|
4
|
+
.co-button.circle {
|
|
5
|
+
background-color: $cc-co-input-number-picker-button-background-color;
|
|
6
|
+
co-icon [fill] {
|
|
7
|
+
fill: $cc-co-input-number-picker-button-icon-color;
|
|
8
|
+
}
|
|
9
|
+
&:hover {
|
|
10
|
+
background-color: $cc-co-input-number-picker-button-background-color-hover;
|
|
11
|
+
co-icon [fill] {
|
|
12
|
+
fill: $cc-co-input-number-picker-button-icon-color-hover;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
&.select {
|
|
16
|
+
background-color: $cc-co-input-number-picker-button-background-color-select;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from "@angular/core";
|
|
1
|
+
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef } from "@angular/core";
|
|
2
2
|
import { BaseInputComponent } from "../base/base-input.component";
|
|
3
3
|
import { FormComponent } from "../form/form.component";
|
|
4
4
|
import { FormInputUserModelChangeListenerService } from "../../core/service/form-input-user-change-listener.service";
|
|
5
5
|
import { NgZoneWrapperService } from "../../core/service/ng-zone-wrapper.service";
|
|
6
6
|
export declare class InputRadioButtonComponent extends BaseInputComponent<any> {
|
|
7
7
|
formComponent: FormComponent;
|
|
8
|
+
protected changeDetector: ChangeDetectorRef;
|
|
9
|
+
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
10
|
+
protected formUserChangeListener?: FormInputUserModelChangeListenerService;
|
|
11
|
+
protected ngZoneWrapper?: NgZoneWrapperService;
|
|
12
|
+
elementRef?: ElementRef;
|
|
8
13
|
value: any;
|
|
9
14
|
label: string;
|
|
10
15
|
name: string;
|
|
11
16
|
checked: boolean;
|
|
12
17
|
showClass(): boolean;
|
|
13
|
-
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef,
|
|
18
|
+
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, componentFactoryResolver: ComponentFactoryResolver, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
14
19
|
handleModelChange(change: any): void;
|
|
15
20
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@include export-module('cc-input-search-layout') {
|
|
2
|
+
.co-input-search {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-shrink: 0;
|
|
6
|
+
flex-grow: 0;
|
|
7
|
+
outline: none;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
width: $cc-input-search-width;
|
|
10
|
+
min-height: $cc-input-search-min-height;
|
|
11
|
+
border-radius: 3px;
|
|
12
|
+
|
|
13
|
+
.input {
|
|
14
|
+
min-height: $cc-input-search-min-height;
|
|
15
|
+
width: 100%;
|
|
16
|
+
background: $cc-input-search-color;
|
|
17
|
+
font-family: $cc-input-search-font-family;
|
|
18
|
+
font-size: $cc-input-search-font-size;
|
|
19
|
+
color: $cc-input-search-text-color;
|
|
20
|
+
border: none;
|
|
21
|
+
border-radius: 3px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.input:focus {
|
|
25
|
+
outline: none;
|
|
26
|
+
border: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.input-search-content {
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.search-icon {
|
|
34
|
+
align-self: center;
|
|
35
|
+
padding-right: 5px;
|
|
36
|
+
padding-left: 5px;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
$cc-input-search-font-family: $cc-font-family !default;
|
|
2
|
+
$cc-input-search-font-size: $cc-font-size-default !default;
|
|
3
|
+
$cc-input-search-color: #e0e0e0 !default;
|
|
4
|
+
$cc-input-search-text-color: #252525 !default;
|
|
5
|
+
$cc-input-search-min-height: 35px !default;
|
|
6
|
+
$cc-input-search-width: 320px !default;
|
|
@@ -1,47 +1,23 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef,
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ComponentFactoryResolver, ElementRef } from "@angular/core";
|
|
2
2
|
import { BaseInputComponent } from "../base/base-input.component";
|
|
3
3
|
import { CoreComponentsIcon } from "../../core/enum/core-components-icon.enum";
|
|
4
4
|
import { KeyboardCode } from "../../core/enum/keyboard-code.enum";
|
|
5
|
-
import { InputTextType } from "../../core/enum/input-text-type.enum";
|
|
6
5
|
import { FormInputUserModelChangeListenerService } from "../../core/service/form-input-user-change-listener.service";
|
|
7
6
|
import { NgZoneWrapperService } from "../../core/service/ng-zone-wrapper.service";
|
|
8
|
-
import { NumericalRange } from "../../core/model/numerical-range";
|
|
9
|
-
import { TextBoxComponent } from "@syncfusion/ej2-angular-inputs";
|
|
10
7
|
import { FormComponent } from "../form/form.component";
|
|
11
|
-
|
|
12
|
-
export declare class InputTextComponent extends BaseInputComponent<any> implements OnInit, AfterViewInit, OnDestroy {
|
|
8
|
+
export declare class InputTextComponent extends BaseInputComponent<any> implements AfterViewInit {
|
|
13
9
|
formComponent: FormComponent;
|
|
14
10
|
protected changeDetector: ChangeDetectorRef;
|
|
11
|
+
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
15
12
|
protected formUserChangeListener?: FormInputUserModelChangeListenerService;
|
|
16
13
|
protected ngZoneWrapper?: NgZoneWrapperService;
|
|
17
14
|
elementRef?: ElementRef;
|
|
18
|
-
|
|
19
|
-
floatLabelType: FloatLabelTypeEnum;
|
|
15
|
+
readonly Icons: typeof CoreComponentsIcon;
|
|
20
16
|
placeholder: string;
|
|
21
17
|
type: string;
|
|
22
18
|
showClearButton: boolean;
|
|
23
|
-
cssClass: string;
|
|
24
|
-
alwaysShowClearIcon: boolean;
|
|
25
|
-
alwaysShowClearIconOnFocus: boolean;
|
|
26
|
-
noEmailValidation: boolean;
|
|
27
|
-
extraIcon: CoreComponentsIcon;
|
|
28
|
-
extraIconOnFocusOnly: boolean;
|
|
29
19
|
keyDownWhiteList: KeyboardCode[];
|
|
30
|
-
extraIconClass: string;
|
|
31
|
-
inputType: InputTextType;
|
|
32
|
-
ngModelOptions: any;
|
|
33
|
-
readonly blur: EventEmitter<Event>;
|
|
34
|
-
readonly inputClick: EventEmitter<MouseEvent>;
|
|
35
|
-
readonly extraIconClick: EventEmitter<MouseEvent>;
|
|
36
|
-
readonly clearIconClick: EventEmitter<MouseEvent>;
|
|
37
20
|
showClass(): boolean;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
private _pattern;
|
|
41
|
-
private _regex;
|
|
42
|
-
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
43
|
-
ngOnDestroy(): void;
|
|
44
|
-
ngOnInit(): void;
|
|
45
|
-
ngAfterViewInit(): void;
|
|
46
|
-
setSelectionRange(range: NumericalRange): void;
|
|
21
|
+
hasOwnLabel: boolean;
|
|
22
|
+
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, componentFactoryResolver: ComponentFactoryResolver, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
47
23
|
}
|
|
@@ -1,5 +1,16 @@
|
|
|
1
|
-
@import "./material-definition";
|
|
2
|
-
|
|
3
1
|
@include export-module('cc-input-text-layout') {
|
|
4
|
-
|
|
2
|
+
.co-input-text {
|
|
3
|
+
@include input;
|
|
4
|
+
font-family: $cc-co-input-text-font-family;
|
|
5
|
+
font-size: $cc-co-input-text-font-size;
|
|
6
|
+
input {
|
|
7
|
+
font-family: $cc-co-input-text-font-family;
|
|
8
|
+
font-size: $cc-co-input-text-font-size;
|
|
9
|
+
border: none;
|
|
10
|
+
width: 100%;
|
|
11
|
+
padding: 0;
|
|
12
|
+
margin: ($cc-item-size - 8px) / 2 0 0;
|
|
13
|
+
outline: none;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
5
16
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
$cc-co-input-text-font-family: $cc-font-family !default;
|
|
2
|
+
$cc-co-input-text-font-size: $cc-font-size-default !default;
|
|
3
|
+
$cc-co-input-text-font-color: $cc-color-dark !default;
|
|
4
|
+
$cc-co-input-text-border-color: $cc-color-border !default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ComponentFactoryResolver, ElementRef } from "@angular/core";
|
|
2
|
+
import { BaseInputComponent } from "../base/base-input.component";
|
|
3
|
+
import { FormInputUserModelChangeListenerService } from "../../core/service/form-input-user-change-listener.service";
|
|
4
|
+
import { NgZoneWrapperService } from "../../core/service/ng-zone-wrapper.service";
|
|
5
|
+
import { FormComponent } from "../form/form.component";
|
|
6
|
+
export declare class InputTextareaComponent extends BaseInputComponent<any> implements AfterViewInit {
|
|
7
|
+
formComponent: FormComponent;
|
|
8
|
+
protected changeDetector: ChangeDetectorRef;
|
|
9
|
+
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
10
|
+
protected formUserChangeListener?: FormInputUserModelChangeListenerService;
|
|
11
|
+
protected ngZoneWrapper?: NgZoneWrapperService;
|
|
12
|
+
elementRef?: ElementRef;
|
|
13
|
+
placeholder: string;
|
|
14
|
+
showClass(): boolean;
|
|
15
|
+
hasOwnLabel: boolean;
|
|
16
|
+
customHeight: boolean;
|
|
17
|
+
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, componentFactoryResolver: ComponentFactoryResolver, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@include export-module('cc-input-textarea-layout') {
|
|
2
|
+
.co-input-textarea {
|
|
3
|
+
@include input;
|
|
4
|
+
font-family: $cc-co-input-textarea-font-family;
|
|
5
|
+
font-size: $cc-co-input-textarea-font-size;
|
|
6
|
+
min-height: $cc-item-size;
|
|
7
|
+
border-bottom: 1px solid $cc-color-border;
|
|
8
|
+
textarea {
|
|
9
|
+
font-family: $cc-co-input-textarea-font-family;
|
|
10
|
+
font-size: $cc-co-input-textarea-font-size;
|
|
11
|
+
margin: $cc-item-size / 2 0 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 100%;
|
|
15
|
+
outline: none;
|
|
16
|
+
border: none;
|
|
17
|
+
resize: vertical;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -1,13 +1,22 @@
|
|
|
1
|
-
import { TemplateRef } from "@angular/core";
|
|
1
|
+
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, TemplateRef } from "@angular/core";
|
|
2
2
|
import { BaseInputComponent } from "../base/base-input.component";
|
|
3
|
+
import { FormInputUserModelChangeListenerService } from "../../core/service/form-input-user-change-listener.service";
|
|
4
|
+
import { NgZoneWrapperService } from "../../core/service/ng-zone-wrapper.service";
|
|
5
|
+
import { FormComponent } from "../form/form.component";
|
|
3
6
|
export declare class MultiSelectListComponent extends BaseInputComponent<any[]> {
|
|
7
|
+
formComponent: FormComponent;
|
|
8
|
+
protected changeDetector: ChangeDetectorRef;
|
|
9
|
+
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
10
|
+
protected formUserChangeListener?: FormInputUserModelChangeListenerService;
|
|
11
|
+
protected ngZoneWrapper?: NgZoneWrapperService;
|
|
12
|
+
elementRef?: ElementRef;
|
|
4
13
|
collection: any[];
|
|
5
14
|
/**
|
|
6
15
|
* In the form { text: 'name', value: 'id' }
|
|
7
16
|
* Where 'text' is showing in the dropdown and 'id' used for the model binding
|
|
8
17
|
*/
|
|
9
18
|
fields: Object;
|
|
10
|
-
|
|
19
|
+
placeholder: string;
|
|
11
20
|
itemTemplate: TemplateRef<any>;
|
|
12
21
|
headerTemplate: TemplateRef<any>;
|
|
13
22
|
valueTemplate: TemplateRef<any>;
|
|
@@ -15,5 +24,7 @@ export declare class MultiSelectListComponent extends BaseInputComponent<any[]>
|
|
|
15
24
|
showSelectAll: boolean;
|
|
16
25
|
set showCheckbox(value: boolean);
|
|
17
26
|
showClass(): boolean;
|
|
27
|
+
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, componentFactoryResolver: ComponentFactoryResolver, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
18
28
|
mode: any;
|
|
29
|
+
handleModelChange(val: any): void;
|
|
19
30
|
}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
@import "./material-definition";
|
|
2
|
-
|
|
3
1
|
@include export-module('cc-multi-select-list-layout') {
|
|
4
|
-
|
|
2
|
+
.co-multi-select-list {
|
|
3
|
+
position: relative; // for validation message
|
|
4
|
+
@include input;
|
|
5
|
+
.e-multiselect {
|
|
6
|
+
height: 100%;
|
|
7
|
+
div {
|
|
8
|
+
height: 100%;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
5
12
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, EventEmitter, OnInit } from "@angular/core";
|
|
2
|
-
import {
|
|
3
|
-
import { GridSettings } from
|
|
2
|
+
import { FetchReportArgs, IDataOptions, LoadReportArgs, PivotViewComponent, RemoveReportArgs, RenameReportArgs, SaveReportArgs, ToolbarArgs, ToolbarItems } from "@syncfusion/ej2-angular-pivotview";
|
|
3
|
+
import { GridSettings } from "@syncfusion/ej2-pivotview/src/pivotview/model/gridsettings";
|
|
4
4
|
export declare class CoPivotComponent implements OnInit, AfterViewInit {
|
|
5
5
|
pivot: PivotViewComponent;
|
|
6
6
|
dataSourceSettings: IDataOptions;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TemplateRef } from "@angular/core";
|
|
2
|
+
export declare enum ColumnAlign {
|
|
3
|
+
Left = "left-align",
|
|
4
|
+
Center = "center-align",
|
|
5
|
+
Right = "right-align"
|
|
6
|
+
}
|
|
7
|
+
export declare class SimpleGridColumnDirective {
|
|
8
|
+
private static _MinManualResizeWidthPx;
|
|
9
|
+
set template(template: TemplateRef<any>);
|
|
10
|
+
get template(): TemplateRef<any>;
|
|
11
|
+
headerText: string;
|
|
12
|
+
field: string;
|
|
13
|
+
textAlign: ColumnAlign;
|
|
14
|
+
format: string;
|
|
15
|
+
resizable: boolean;
|
|
16
|
+
width: number;
|
|
17
|
+
private _template;
|
|
18
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter, QueryList } from "@angular/core";
|
|
2
|
+
import { CdkDrag, CdkDragDrop, CdkDropList } from "@angular/cdk/drag-drop";
|
|
3
|
+
import { ColumnAlign, SimpleGridColumnDirective } from "./simple-grid-column.directive";
|
|
4
|
+
export declare class SimpleGridComponent {
|
|
5
|
+
readonly defaultTextAlign: ColumnAlign;
|
|
6
|
+
set content(columnComponents: QueryList<SimpleGridColumnDirective>);
|
|
7
|
+
data: Object[];
|
|
8
|
+
dragDropEnabled: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Should component emit drag and drop actions instead of handle
|
|
11
|
+
* (update collection) by itself
|
|
12
|
+
*/
|
|
13
|
+
emitDragDrop: boolean;
|
|
14
|
+
onDrop: EventEmitter<{
|
|
15
|
+
from: number;
|
|
16
|
+
to: number;
|
|
17
|
+
}>;
|
|
18
|
+
showClass(): boolean;
|
|
19
|
+
handleMouseMove(event: MouseEvent): void;
|
|
20
|
+
handleMouseUp(event: MouseEvent): void;
|
|
21
|
+
columns: SimpleGridColumnDirective[];
|
|
22
|
+
private _columnForResize;
|
|
23
|
+
handleSizerMouseDown(event: MouseEvent, column: SimpleGridColumnDirective): void;
|
|
24
|
+
handleCanDragDrop(drag: CdkDrag, drop: CdkDropList): boolean;
|
|
25
|
+
handleDrop(event: CdkDragDrop<Object[]>): void;
|
|
26
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
@include export-module('cc-simple-grid-layout') {
|
|
2
|
+
.co-simple-grid {
|
|
3
|
+
font-family: $cc-simple-grid-font-familiy;
|
|
4
|
+
font-size: $cc-simple-grid-font-size;
|
|
5
|
+
}
|
|
6
|
+
// styling outside of grid because of drag and drop functionality
|
|
7
|
+
.simple-grid-column-header-wrapper {
|
|
8
|
+
font-family: $cc-simple-grid-header-font-familiy;
|
|
9
|
+
font-size: $cc-simple-grid-header-font-size;
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: row;
|
|
12
|
+
}
|
|
13
|
+
.simple-grid-column-header, .simple-grid-column-cell {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
padding-right: 5px;
|
|
17
|
+
flex-basis: 100%;
|
|
18
|
+
}
|
|
19
|
+
.simple-grid-column-header {
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
}
|
|
22
|
+
.simple-grid-column-cell {
|
|
23
|
+
padding-top: $cc-simple-grid-cell-padding-top;
|
|
24
|
+
padding-bottom: $cc-simple-grid-cell-padding-bottom;
|
|
25
|
+
}
|
|
26
|
+
.simple-grid-column-header-label {
|
|
27
|
+
user-select: none;
|
|
28
|
+
padding: $cc-simple-grid-header-padding;
|
|
29
|
+
width: 100%;
|
|
30
|
+
}
|
|
31
|
+
.simple-grid-column-sizer {
|
|
32
|
+
cursor: col-resize;
|
|
33
|
+
width: 5px;
|
|
34
|
+
height: 100%;
|
|
35
|
+
}
|
|
36
|
+
.simple-grid-column-sizer-placeholder {
|
|
37
|
+
width: 5px;
|
|
38
|
+
height: 100%;
|
|
39
|
+
}
|
|
40
|
+
.simple-grid-row {
|
|
41
|
+
font-family: $cc-simple-grid-font-familiy;
|
|
42
|
+
font-size: $cc-simple-grid-font-size;
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: row;
|
|
45
|
+
border: $cc-simple-grid-row-border;
|
|
46
|
+
border-width: $cc-simple-grid-row-border-width;
|
|
47
|
+
}
|
|
48
|
+
.right-align {
|
|
49
|
+
text-align: right;
|
|
50
|
+
}
|
|
51
|
+
.center-align {
|
|
52
|
+
text-align: center;
|
|
53
|
+
}
|
|
54
|
+
.left-align {
|
|
55
|
+
text-align: left;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.simple-grid-row.cdk-drag-preview {
|
|
59
|
+
box-sizing: border-box;
|
|
60
|
+
border-radius: 4px;
|
|
61
|
+
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
|
|
62
|
+
0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
63
|
+
0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.simple-grid-row.cdk-drag-placeholder {
|
|
67
|
+
opacity: 0.3;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.cdk-drag-animating {
|
|
71
|
+
transition: transform 200ms cubic-bezier(0, 0, 0.2, 1);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.simple-grid-row:last-child {
|
|
75
|
+
border: none;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
$cc-simple-grid-font-familiy: $cc-font-family !default;
|
|
2
|
+
$cc-simple-grid-font-size: $cc-font-size-default !default;
|
|
3
|
+
|
|
4
|
+
$cc-simple-grid-header-font-familiy: $cc-font-family !default;
|
|
5
|
+
$cc-simple-grid-header-font-size: $cc-font-size-default !default;
|
|
6
|
+
$cc-simple-grid-header-text-transform: normal !default;
|
|
7
|
+
$cc-simple-grid-header-background-color: $cc-color-light-accent !default;
|
|
8
|
+
$cc-simple-grid-header-padding: 10px 0 !default;
|
|
9
|
+
$cc-simple-grid-header-sizer-background-color: white !default;
|
|
10
|
+
|
|
11
|
+
$cc-simple-grid-row-background-color: white !default;
|
|
12
|
+
$cc-simple-grid-row-border: 1px solid !default;
|
|
13
|
+
$cc-simple-grid-row-border-color: $cc-color-border !default;
|
|
14
|
+
$cc-simple-grid-row-border-width: 1px 1px 1px 1px !default;
|
|
15
|
+
$cc-simple-grid-cell-padding-top: 10px !default;
|
|
16
|
+
$cc-simple-grid-cell-padding-bottom: 10px !default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@include export-module('cc-simple-grid-theme') {
|
|
2
|
+
.co-simple-grid {
|
|
3
|
+
.simple-grid-column-sizer {
|
|
4
|
+
background-color: $cc-simple-grid-header-sizer-background-color;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
// styling outside of grid because of drag and drop functionality
|
|
8
|
+
.simple-grid-column-header-wrapper {
|
|
9
|
+
background-color: $cc-simple-grid-header-background-color;
|
|
10
|
+
}
|
|
11
|
+
.simple-grid-row {
|
|
12
|
+
background-color: $cc-simple-grid-row-background-color;
|
|
13
|
+
border-color: $cc-simple-grid-row-border-color;
|
|
14
|
+
}
|
|
15
|
+
}
|