@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,14 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
@import "../../../style/variables";
|
|
3
|
+
@import "./material-definition";
|
|
4
|
+
@import "./layout";
|
|
5
|
+
@import "./theme";
|
|
6
|
+
|
|
7
|
+
@import '~@syncfusion/ej2-angular-kanban/styles/material.scss';
|
|
8
|
+
@import '~@syncfusion/ej2-base/styles/material.scss';
|
|
9
|
+
@import '~@syncfusion/ej2-buttons/styles/material.scss';
|
|
10
|
+
@import '~@syncfusion/ej2-dropdowns/styles/material.scss';
|
|
11
|
+
@import '~@syncfusion/ej2-inputs/styles/material.scss';
|
|
12
|
+
@import '~@syncfusion/ej2-layouts/styles/material.scss';
|
|
13
|
+
@import '~@syncfusion/ej2-navigations/styles/material.scss';
|
|
14
|
+
@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,50 @@
|
|
|
1
|
+
@include export-module('cc-collapsible-layout') {
|
|
2
|
+
.co-collapsible {
|
|
3
|
+
font-family: $cc-collapsible-font-family;
|
|
4
|
+
position: relative;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
flex-shrink: 0;
|
|
8
|
+
flex-grow: 0;
|
|
9
|
+
outline: none;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
font-size: $cc-collapsible-font-size;
|
|
12
|
+
|
|
13
|
+
.collapsible-header {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
column-gap: 5px;
|
|
17
|
+
height: $cc-collapsible-height;
|
|
18
|
+
align-items: center;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
user-select: none;
|
|
21
|
+
border-bottom: $cc-collapsible-border-bottom;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.collapsible-title {
|
|
25
|
+
font-weight: bold;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.expand-icon-wrapper {
|
|
29
|
+
display: flex;
|
|
30
|
+
transition: .3s ease-in-out;
|
|
31
|
+
margin-right: $cc-collapsible-icon-margin-right;
|
|
32
|
+
.expand-icon {
|
|
33
|
+
height: $cc-collapsible-icon-size;
|
|
34
|
+
width: $cc-collapsible-icon-size;
|
|
35
|
+
}
|
|
36
|
+
&.expanded {
|
|
37
|
+
transform: rotate(180deg);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.end {
|
|
42
|
+
justify-content: space-between;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.collapsible-content {
|
|
46
|
+
overflow: hidden;
|
|
47
|
+
padding: $cc-collapsible-content-padding;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -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,16 +1,26 @@
|
|
|
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 DropDownListComponent 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>;
|
|
14
23
|
showClass(): boolean;
|
|
24
|
+
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, componentFactoryResolver: ComponentFactoryResolver, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
15
25
|
handleValueChanged(value: any): void;
|
|
16
26
|
}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
@import "./material-definition";
|
|
2
|
-
|
|
3
1
|
@include export-module('cc-co-drop-down-list-layout') {
|
|
4
2
|
.co-drop-down-list {
|
|
5
|
-
|
|
3
|
+
position: relative; // for validation message
|
|
4
|
+
@include input;
|
|
5
|
+
.e-dropdownlist {
|
|
6
|
+
height: 100%;
|
|
7
|
+
span {
|
|
8
|
+
height: 100%;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
6
11
|
}
|
|
7
12
|
}
|
|
@@ -35,6 +35,5 @@ export declare class FormComponent implements AfterViewInit, OnDestroy, OnInit {
|
|
|
35
35
|
reset(): void;
|
|
36
36
|
submit(throughFormMaster?: boolean): boolean;
|
|
37
37
|
showErrorTooltipOnFormGroupControl(key: string): void;
|
|
38
|
-
private _getValidationErrorText;
|
|
39
38
|
private _setFirstInvalidElementOnMaster;
|
|
40
39
|
}
|
|
@@ -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;
|
|
@@ -1,16 +1,23 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter } from "@angular/core";
|
|
1
|
+
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, EventEmitter } 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
|
+
import { IconCacheService } from "../icon/icon-cache.service";
|
|
6
7
|
export declare class InputCheckboxComponent extends BaseInputComponent<boolean> {
|
|
7
8
|
formComponent: FormComponent;
|
|
9
|
+
iconCacheService: IconCacheService;
|
|
10
|
+
protected changeDetector: ChangeDetectorRef;
|
|
11
|
+
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
12
|
+
protected formUserChangeListener?: FormInputUserModelChangeListenerService;
|
|
13
|
+
protected ngZoneWrapper?: NgZoneWrapperService;
|
|
14
|
+
elementRef?: ElementRef;
|
|
8
15
|
name: string;
|
|
9
16
|
label: string;
|
|
10
17
|
cssClass: string;
|
|
11
18
|
modelChange: EventEmitter<boolean>;
|
|
12
19
|
showClass(): boolean;
|
|
13
|
-
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef,
|
|
20
|
+
constructor(formComponent: FormComponent, iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, componentFactoryResolver: ComponentFactoryResolver, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
14
21
|
setModel(value: boolean): void;
|
|
15
22
|
handleModelChange(value: boolean): void;
|
|
16
23
|
}
|
package/lib/components/input-checkbox-multi-select/input-checkbox-multi-select.component.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef } from "@angular/core";
|
|
2
2
|
import { BaseInputComponent } from "../base/base-input.component";
|
|
3
3
|
import { FormInputUserModelChangeListenerService } from "../../core/service/form-input-user-change-listener.service";
|
|
4
4
|
import { NgZoneWrapperService } from "../../core/service/ng-zone-wrapper.service";
|
|
5
5
|
import { FormComponent } from "../form/form.component";
|
|
6
|
-
export declare class InputCheckboxMultiSelectComponent extends BaseInputComponent<any>
|
|
6
|
+
export declare class InputCheckboxMultiSelectComponent extends BaseInputComponent<any> {
|
|
7
7
|
formComponent: FormComponent;
|
|
8
8
|
protected changeDetector: ChangeDetectorRef;
|
|
9
|
+
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
9
10
|
protected formUserChangeListener?: FormInputUserModelChangeListenerService;
|
|
10
11
|
protected ngZoneWrapper?: NgZoneWrapperService;
|
|
11
12
|
elementRef?: ElementRef;
|
|
@@ -15,8 +16,5 @@ export declare class InputCheckboxMultiSelectComponent extends BaseInputComponen
|
|
|
15
16
|
placeholder: string;
|
|
16
17
|
filterPlaceholder: string;
|
|
17
18
|
showClass(): boolean;
|
|
18
|
-
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
19
|
-
ngOnDestroy(): void;
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
ngAfterViewInit(): void;
|
|
19
|
+
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, componentFactoryResolver: ComponentFactoryResolver, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
22
20
|
}
|
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef } from "@angular/core";
|
|
2
2
|
import { BaseInputComponent } from "../base/base-input.component";
|
|
3
3
|
import { FormInputUserModelChangeListenerService } from "../../core/service/form-input-user-change-listener.service";
|
|
4
4
|
import { NgZoneWrapperService } from "../../core/service/ng-zone-wrapper.service";
|
|
5
5
|
import { FormComponent } from "../form/form.component";
|
|
6
6
|
import { ComboBoxComponent } from "@syncfusion/ej2-angular-dropdowns";
|
|
7
|
-
export declare class InputComboBoxComponent extends BaseInputComponent<any>
|
|
7
|
+
export declare class InputComboBoxComponent extends BaseInputComponent<any> {
|
|
8
8
|
formComponent: FormComponent;
|
|
9
9
|
protected changeDetector: ChangeDetectorRef;
|
|
10
|
+
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
10
11
|
protected formUserChangeListener?: FormInputUserModelChangeListenerService;
|
|
11
12
|
protected ngZoneWrapper?: NgZoneWrapperService;
|
|
12
13
|
elementRef?: ElementRef;
|
|
13
14
|
combo: ComboBoxComponent;
|
|
14
|
-
|
|
15
|
+
collection: Object[] | string[] | number[] | boolean[];
|
|
15
16
|
fields: Object;
|
|
16
17
|
selected: number | string | boolean;
|
|
17
18
|
placeholder: string;
|
|
18
19
|
shopPopup: boolean;
|
|
19
20
|
showClass(): boolean;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
ngAfterViewInit(): void;
|
|
21
|
+
customHeight: boolean;
|
|
22
|
+
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, componentFactoryResolver: ComponentFactoryResolver, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
24
23
|
onFocus(): void;
|
|
25
24
|
}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
@import "./material-definition";
|
|
2
|
-
|
|
3
1
|
@include export-module('cc-input-combo-box-layout') {
|
|
4
|
-
|
|
2
|
+
.co-input-combo-box {
|
|
3
|
+
position: relative; // for validation message
|
|
4
|
+
@include input;
|
|
5
|
+
.e-combobox {
|
|
6
|
+
height: 100%;
|
|
7
|
+
div {
|
|
8
|
+
height: 100%;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
5
12
|
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
@import 'ej2-base/styles/material.scss';
|
|
2
|
-
@import 'ej2-buttons/styles/material.scss';
|
|
3
|
-
@import 'ej2-dropdowns/styles/material.scss';
|
|
4
|
-
@import 'ej2-inputs/styles/material.scss';
|
|
5
|
-
@import 'ej2-popups/styles/material.scss';
|
|
6
|
-
@import 'ej2-lists/styles/material.scss';
|
|
7
|
-
@import 'ej2-angular-dropdowns/styles/material.scss';
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
@import "../../../style/input.mixins";
|
|
1
3
|
@import "../../../style/variables";
|
|
2
4
|
@import "./material-definition";
|
|
3
5
|
@import "./layout";
|
|
4
6
|
@import "./theme";
|
|
7
|
+
@import 'ej2-base/styles/material.scss';
|
|
8
|
+
@import 'ej2-buttons/styles/material.scss';
|
|
9
|
+
@import 'ej2-dropdowns/styles/material.scss';
|
|
10
|
+
@import 'ej2-inputs/styles/material.scss';
|
|
11
|
+
@import 'ej2-popups/styles/material.scss';
|
|
12
|
+
@import 'ej2-lists/styles/material.scss';
|
|
13
|
+
@import 'ej2-angular-dropdowns/styles/material.scss';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ComponentFactoryResolver, ElementRef, EventEmitter, OnDestroy, OnInit } 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 { FormInputUserModelChangeListenerService } from "../../core/service/form-input-user-change-listener.service";
|
|
@@ -7,9 +7,10 @@ import { FormComponent } from "../form/form.component";
|
|
|
7
7
|
import { DatePickerComponent } from "@syncfusion/ej2-angular-calendars";
|
|
8
8
|
import { IconCacheService } from "../icon/icon-cache.service";
|
|
9
9
|
export declare class InputDatePickerComponent extends BaseInputComponent<Date> implements OnInit, AfterViewInit, OnDestroy {
|
|
10
|
-
iconCacheService: IconCacheService;
|
|
11
10
|
formComponent: FormComponent;
|
|
11
|
+
iconCacheService: IconCacheService;
|
|
12
12
|
protected changeDetector: ChangeDetectorRef;
|
|
13
|
+
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
13
14
|
protected formUserChangeListener?: FormInputUserModelChangeListenerService;
|
|
14
15
|
protected ngZoneWrapper?: NgZoneWrapperService;
|
|
15
16
|
elementRef?: ElementRef;
|
|
@@ -22,7 +23,7 @@ export declare class InputDatePickerComponent extends BaseInputComponent<Date> i
|
|
|
22
23
|
width: string | number;
|
|
23
24
|
readonly blur: EventEmitter<Event>;
|
|
24
25
|
showClass(): boolean;
|
|
25
|
-
constructor(
|
|
26
|
+
constructor(formComponent: FormComponent, iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, componentFactoryResolver: ComponentFactoryResolver, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
26
27
|
ngOnDestroy(): void;
|
|
27
28
|
ngOnInit(): void;
|
|
28
29
|
ngAfterViewInit(): void;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
+
import { BaseInputComponent } from "../base/base-input.component";
|
|
3
|
+
import { SelectionSettingsModel } from "@syncfusion/ej2-angular-dropdowns";
|
|
4
|
+
import { FormInputUserModelChangeListenerService } from "../../core/service/form-input-user-change-listener.service";
|
|
5
|
+
import { NgZoneWrapperService } from "../../core/service/ng-zone-wrapper.service";
|
|
6
|
+
import { FormComponent } from "../form/form.component";
|
|
7
|
+
export declare class InputListboxComponent extends BaseInputComponent<any> implements OnInit, OnDestroy {
|
|
8
|
+
formComponent: FormComponent;
|
|
9
|
+
protected changeDetector: ChangeDetectorRef;
|
|
10
|
+
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
11
|
+
protected formUserChangeListener?: FormInputUserModelChangeListenerService;
|
|
12
|
+
protected ngZoneWrapper?: NgZoneWrapperService;
|
|
13
|
+
elementRef?: ElementRef;
|
|
14
|
+
placeholder: string;
|
|
15
|
+
value: string[] | number[];
|
|
16
|
+
collection: {}[];
|
|
17
|
+
fields: {};
|
|
18
|
+
set singleSelect(value: boolean);
|
|
19
|
+
set showCheckbox(value: boolean);
|
|
20
|
+
set showSelectAll(value: boolean);
|
|
21
|
+
showClass(): boolean;
|
|
22
|
+
customHeight: boolean;
|
|
23
|
+
selectionSettings: SelectionSettingsModel;
|
|
24
|
+
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, componentFactoryResolver: ComponentFactoryResolver, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
25
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@include export-module('cc-input-listbox-layout') {
|
|
2
|
+
.co-input-listbox {
|
|
3
|
+
position: relative; // for validation message
|
|
4
|
+
@include input;
|
|
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;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@include export-module('cc-input-listbox-theme') {
|
|
2
|
+
.co-input-listbox {
|
|
3
|
+
color: $cc-co-input-listbox-font-color;
|
|
4
|
+
.co-input-listbox-header {
|
|
5
|
+
color: $cc-co-input-listbox-header-font-color;
|
|
6
|
+
}
|
|
7
|
+
.e-listbox-wrapper .e-list-item.e-selected {
|
|
8
|
+
background-color: $cc-co-input-listbox-item-selected-background-color;
|
|
9
|
+
color: $cc-co-input-listbox-item-selected-color;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, NgZone, OnDestroy, OnInit } from
|
|
1
|
+
import { ChangeDetectorRef, ComponentFactoryResolver, EventEmitter, NgZone, OnDestroy, OnInit } from "@angular/core";
|
|
2
2
|
import { BaseInputComponent } from "../base/base-input.component";
|
|
3
3
|
import { BoundsConstrainedNumberValue } from "../../core/model/bounds-constrained-number-value";
|
|
4
4
|
import { KeyboardCode } from "../../core/enum/keyboard-code.enum";
|
|
@@ -7,12 +7,12 @@ import { FormInputUserModelChangeListenerService } from "../../core/service/form
|
|
|
7
7
|
import { InputNumberPickerButtonShowMode } from "../../core/enum/input-number-picker-show-mode.enum";
|
|
8
8
|
import { IconCacheService } from "../icon/icon-cache.service";
|
|
9
9
|
import { CoreComponentsIcon } from "../../core/enum/core-components-icon.enum";
|
|
10
|
-
import {
|
|
10
|
+
import { FormComponent } from "../form/form.component";
|
|
11
11
|
export declare class InputNumberPickerComponent extends BaseInputComponent<number> implements OnInit, OnDestroy {
|
|
12
|
+
formComponent: FormComponent;
|
|
12
13
|
iconCacheService: IconCacheService;
|
|
13
14
|
private _ngZone;
|
|
14
|
-
|
|
15
|
-
cssClass: string;
|
|
15
|
+
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
16
16
|
set model(model: number);
|
|
17
17
|
get model(): number;
|
|
18
18
|
set min(min: number);
|
|
@@ -28,9 +28,12 @@ export declare class InputNumberPickerComponent extends BaseInputComponent<numbe
|
|
|
28
28
|
inputTextComp: InputTextComponent;
|
|
29
29
|
get showButtonsOnFocusOnly(): boolean;
|
|
30
30
|
get hasLabel(): boolean;
|
|
31
|
+
showClass(): boolean;
|
|
31
32
|
showButtons: boolean;
|
|
32
33
|
readonly myKeyDownWhiteList: KeyboardCode[];
|
|
33
34
|
readonly numberLogic: BoundsConstrainedNumberValue;
|
|
35
|
+
minSelected: boolean;
|
|
36
|
+
plusSelected: boolean;
|
|
34
37
|
private _numberInputHasFocus;
|
|
35
38
|
private _numberLogicValueChangeSub;
|
|
36
39
|
private readonly _delayBeforeStartAutoCountMs;
|
|
@@ -42,10 +45,11 @@ export declare class InputNumberPickerComponent extends BaseInputComponent<numbe
|
|
|
42
45
|
private _autoCountTimeout;
|
|
43
46
|
private _stepIncrementTimeout;
|
|
44
47
|
private _startAutocountTimeout;
|
|
45
|
-
constructor(iconCacheService: IconCacheService, _ngZone: NgZone, changeDetector: ChangeDetectorRef, formUserChangeListener: FormInputUserModelChangeListenerService);
|
|
48
|
+
constructor(formComponent: FormComponent, iconCacheService: IconCacheService, _ngZone: NgZone, componentFactoryResolver: ComponentFactoryResolver, changeDetector: ChangeDetectorRef, formUserChangeListener: FormInputUserModelChangeListenerService);
|
|
46
49
|
ngOnInit(): void;
|
|
47
50
|
ngOnDestroy(): void;
|
|
48
51
|
doIncrementAuto(): void;
|
|
52
|
+
handleKeyDown(event: KeyboardEvent): boolean;
|
|
49
53
|
doDecrementAuto(): void;
|
|
50
54
|
stopAutoCounting(): void;
|
|
51
55
|
setValue(newValue: number, silent?: boolean): void;
|