@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.
Files changed (182) hide show
  1. package/bundles/colijnit-corecomponents_v12.umd.js +1099 -277
  2. package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
  3. package/colijnit-corecomponents_v12.d.ts +9 -8
  4. package/colijnit-corecomponents_v12.metadata.json +1 -1
  5. package/esm2015/colijnit-corecomponents_v12.js +10 -9
  6. package/esm2015/lib/components/base/base-input.component.js +40 -20
  7. package/esm2015/lib/components/carousel-3d/carousel-3d.component.js +313 -0
  8. package/esm2015/lib/components/carousel-3d/carousel-3d.module.js +19 -0
  9. package/esm2015/lib/components/carousel-3d/carouselItem.js +54 -0
  10. package/esm2015/lib/components/co-dialog/co-dialog.component.js +46 -48
  11. package/esm2015/lib/components/co-dialog/co-dialog.module.js +7 -4
  12. package/esm2015/lib/components/co-dialog-prompt/co-dialog-prompt.component.js +6 -6
  13. package/esm2015/lib/components/co-kanban/co-kanban.component.js +8 -7
  14. package/esm2015/lib/components/co-rich-text-editor/co-rich-text-editor.component.js +2 -2
  15. package/esm2015/lib/components/collapsible/collapsible.component.js +58 -0
  16. package/esm2015/lib/components/collapsible/collapsible.module.js +17 -0
  17. package/esm2015/lib/components/drop-down-list/drop-down-list.component.js +30 -8
  18. package/esm2015/lib/components/drop-down-list/drop-down.module.js +4 -2
  19. package/esm2015/lib/components/form/form.component.js +2 -21
  20. package/esm2015/lib/components/form/form.module.js +4 -4
  21. package/esm2015/lib/components/grid/base/base-grid.component.js +1 -1
  22. package/esm2015/lib/components/grid/base/base-selection-grid.component.js +1 -1
  23. package/esm2015/lib/components/grid/co-grid.component.js +2 -2
  24. package/esm2015/lib/components/input-checkbox/input-checkbox.component.js +15 -5
  25. package/esm2015/lib/components/input-checkbox-multi-select/input-checkbox-multi-select.component.js +6 -14
  26. package/esm2015/lib/components/input-combo-box/input-combo-box.component.js +24 -29
  27. package/esm2015/lib/components/input-date-picker/input-date-picker.component.js +10 -7
  28. package/esm2015/lib/components/input-listbox/input-listbox.component.js +87 -0
  29. package/esm2015/lib/components/input-listbox/input-listbox.module.js +25 -0
  30. package/esm2015/lib/components/input-number-picker/input-number-picker.component.js +55 -30
  31. package/esm2015/lib/components/input-number-picker/input-number-picker.module.js +5 -3
  32. package/esm2015/lib/components/input-radio-button/input-radio-button.component.js +13 -5
  33. package/esm2015/lib/components/input-text/input-text.component.js +22 -81
  34. package/esm2015/lib/components/input-text/input-text.module.js +16 -13
  35. package/esm2015/lib/components/input-textarea/input-textarea.component.js +62 -0
  36. package/esm2015/lib/components/input-textarea/input-textarea.module.js +23 -0
  37. package/esm2015/lib/components/multi-select-list/multi-select-list.component.js +37 -9
  38. package/esm2015/lib/components/multi-select-list/multi-select-list.module.js +4 -2
  39. package/esm2015/lib/components/pivot/co-pivot.component.js +2 -2
  40. package/esm2015/lib/components/simple-grid/simple-grid-column.directive.js +36 -0
  41. package/esm2015/lib/components/simple-grid/simple-grid.component.js +112 -0
  42. package/esm2015/lib/components/simple-grid/simple-grid.module.js +24 -0
  43. package/esm2015/lib/components/validation-error/validation-error.component.js +23 -0
  44. package/esm2015/lib/components/validation-error/validation-error.module.js +19 -0
  45. package/esm2015/public-api.js +13 -1
  46. package/fesm2015/colijnit-corecomponents_v12.js +1176 -337
  47. package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
  48. package/lib/components/base/base-input.component.d.ts +14 -9
  49. package/lib/components/button/style/_co-ripple.scss +69 -0
  50. package/lib/components/button/style/_layout.scss +7 -4
  51. package/lib/components/button/style/_material-definition.scss +1 -0
  52. package/lib/components/button/style/_theme.scss +2 -27
  53. package/lib/components/button/style/material.scss +18 -0
  54. package/lib/components/button-drop-down/style/_layout.scss +0 -2
  55. package/lib/components/button-drop-down/style/_theme.scss +0 -2
  56. package/lib/components/button-drop-down/style/material.scss +1 -0
  57. package/lib/components/carousel-3d/carousel-3d.component.d.ts +55 -0
  58. package/lib/components/carousel-3d/carousel-3d.module.d.ts +2 -0
  59. package/lib/components/carousel-3d/carouselItem.d.ts +13 -0
  60. package/lib/components/carousel-3d/style/_layout.scss +62 -0
  61. package/lib/components/carousel-3d/style/_material-definition.scss +6 -0
  62. package/lib/components/carousel-3d/style/_theme.scss +4 -0
  63. package/lib/components/carousel-3d/style/material.scss +5 -0
  64. package/lib/components/co-dialog/co-dialog.component.d.ts +6 -13
  65. package/lib/components/co-dialog/style/_layout.scss +44 -0
  66. package/lib/components/co-dialog/style/_material-definition.scss +23 -0
  67. package/lib/components/co-dialog/style/_theme.scss +24 -0
  68. package/lib/components/co-dialog/style/material.scss +5 -0
  69. package/lib/components/co-dialog-prompt/co-dialog-prompt.component.d.ts +2 -2
  70. package/lib/components/co-kanban/co-kanban.component.d.ts +1 -0
  71. package/lib/components/co-kanban/style/_layout.scss +48 -0
  72. package/lib/components/co-kanban/style/_material-definition.scss +25 -0
  73. package/lib/components/co-kanban/style/_theme.scss +3 -0
  74. package/lib/components/co-kanban/style/material.scss +14 -0
  75. package/lib/components/co-rich-text-editor/co-rich-text-editor.component.d.ts +1 -1
  76. package/lib/components/co-rich-text-editor/style/_layout.scss +0 -2
  77. package/lib/components/co-rich-text-editor/style/_theme.scss +0 -2
  78. package/lib/components/co-rich-text-editor/style/material.scss +1 -0
  79. package/lib/components/co-toggle/co-toggle.component.scss +1 -0
  80. package/lib/components/collapsible/collapsible.component.d.ts +16 -0
  81. package/lib/components/collapsible/collapsible.module.d.ts +2 -0
  82. package/lib/components/collapsible/style/_layout.scss +50 -0
  83. package/lib/components/collapsible/style/_material-definition.scss +9 -0
  84. package/lib/components/collapsible/style/_theme.scss +5 -0
  85. package/lib/components/collapsible/style/material.scss +5 -0
  86. package/lib/components/drop-down-list/drop-down-list.component.d.ts +12 -2
  87. package/lib/components/drop-down-list/style/_layout.scss +8 -3
  88. package/lib/components/drop-down-list/style/_theme.scss +0 -2
  89. package/lib/components/drop-down-list/style/material.scss +2 -0
  90. package/lib/components/form/form.component.d.ts +0 -1
  91. package/lib/components/grid/base/base-selection-grid.component.d.ts +1 -2
  92. package/lib/components/grid/co-grid.component.d.ts +1 -1
  93. package/lib/components/grid/style/_layout.scss +0 -2
  94. package/lib/components/grid/style/_theme.scss +0 -2
  95. package/lib/components/grid/style/material.scss +1 -0
  96. package/lib/components/input-checkbox/input-checkbox.component.d.ts +9 -2
  97. package/lib/components/input-checkbox/style/_layout.scss +0 -2
  98. package/lib/components/input-checkbox/style/_theme.scss +0 -2
  99. package/lib/components/input-checkbox/style/material.scss +1 -0
  100. package/lib/components/input-checkbox-multi-select/input-checkbox-multi-select.component.d.ts +4 -6
  101. package/lib/components/input-checkbox-multi-select/style/_layout.scss +0 -2
  102. package/lib/components/input-checkbox-multi-select/style/_theme.scss +0 -2
  103. package/lib/components/input-checkbox-multi-select/style/material.scss +1 -0
  104. package/lib/components/input-combo-box/input-combo-box.component.d.ts +6 -7
  105. package/lib/components/input-combo-box/style/_layout.scss +10 -3
  106. package/lib/components/input-combo-box/style/_material-definition.scss +0 -7
  107. package/lib/components/input-combo-box/style/_theme.scss +0 -2
  108. package/lib/components/input-combo-box/style/material.scss +9 -0
  109. package/lib/components/input-date-picker/input-date-picker.component.d.ts +4 -3
  110. package/lib/components/input-date-picker/style/_layout.scss +4 -3
  111. package/lib/components/input-date-picker/style/_theme.scss +0 -2
  112. package/lib/components/input-date-picker/style/material.scss +2 -0
  113. package/lib/components/input-listbox/input-listbox.component.d.ts +25 -0
  114. package/lib/components/input-listbox/input-listbox.module.d.ts +2 -0
  115. package/lib/components/input-listbox/style/_layout.scss +22 -0
  116. package/lib/components/input-listbox/style/_material-definition.scss +10 -0
  117. package/lib/components/input-listbox/style/_theme.scss +12 -0
  118. package/lib/components/input-listbox/style/material.scss +6 -0
  119. package/lib/components/input-number-picker/input-number-picker.component.d.ts +9 -5
  120. package/lib/components/input-number-picker/style/_layout.scss +41 -0
  121. package/lib/components/input-number-picker/style/_material-definition.scss +17 -0
  122. package/lib/components/input-number-picker/style/_theme.scss +20 -0
  123. package/lib/components/input-number-picker/style/material.scss +5 -0
  124. package/lib/components/input-radio-button/input-radio-button.component.d.ts +7 -2
  125. package/lib/components/input-radio-button/style/_layout.scss +0 -2
  126. package/lib/components/input-radio-button/style/_theme.scss +0 -2
  127. package/lib/components/input-radio-button/style/material.scss +1 -0
  128. package/lib/components/input-search/style/_layout.scss +39 -0
  129. package/lib/components/input-search/style/_material-definition.scss +6 -0
  130. package/lib/components/input-search/style/_theme.scss +6 -0
  131. package/lib/components/input-search/style/material.scss +5 -0
  132. package/lib/components/input-text/input-text.component.d.ts +6 -30
  133. package/lib/components/input-text/style/_layout.scss +14 -3
  134. package/lib/components/input-text/style/_material-definition.scss +4 -3
  135. package/lib/components/input-text/style/_theme.scss +0 -2
  136. package/lib/components/input-text/style/material.scss +3 -0
  137. package/lib/components/input-textarea/input-textarea.component.d.ts +18 -0
  138. package/lib/components/input-textarea/input-textarea.module.d.ts +2 -0
  139. package/lib/components/input-textarea/style/_layout.scss +20 -0
  140. package/lib/components/input-textarea/style/_material-definition.scss +4 -0
  141. package/lib/components/input-textarea/style/_theme.scss +8 -0
  142. package/lib/components/input-textarea/style/material.scss +7 -0
  143. package/lib/components/multi-select-list/multi-select-list.component.d.ts +13 -2
  144. package/lib/components/multi-select-list/style/_layout.scss +10 -3
  145. package/lib/components/multi-select-list/style/_theme.scss +0 -2
  146. package/lib/components/multi-select-list/style/material.scss +2 -0
  147. package/lib/components/pivot/co-pivot.component.d.ts +2 -2
  148. package/lib/components/pivot/style/_layout.scss +0 -2
  149. package/lib/components/pivot/style/_theme.scss +0 -2
  150. package/lib/components/pivot/style/material.scss +1 -0
  151. package/lib/components/simple-grid/simple-grid-column.directive.d.ts +18 -0
  152. package/lib/components/simple-grid/simple-grid.component.d.ts +26 -0
  153. package/lib/components/simple-grid/simple-grid.module.d.ts +2 -0
  154. package/lib/components/simple-grid/style/_layout.scss +78 -0
  155. package/lib/components/simple-grid/style/_material-definition.scss +16 -0
  156. package/lib/components/simple-grid/style/_theme.scss +15 -0
  157. package/lib/components/simple-grid/style/material.scss +5 -0
  158. package/lib/components/validation-error/style/_layout.scss +37 -0
  159. package/lib/components/validation-error/style/_material-definition.scss +9 -0
  160. package/lib/components/validation-error/style/_theme.scss +21 -0
  161. package/lib/components/validation-error/style/material.scss +5 -0
  162. package/lib/components/validation-error/validation-error.component.d.ts +4 -0
  163. package/lib/components/validation-error/validation-error.module.d.ts +2 -0
  164. package/lib/style/_input.mixins.scss +70 -281
  165. package/lib/style/_variables.scss +2 -0
  166. package/lib/style/material2/_core.scss +3 -3
  167. package/lib/style/material2/_material2-scss-barrel.scss +10 -10
  168. package/package.json +5 -2
  169. package/public-api.d.ts +12 -0
  170. package/esm2015/lib/core/enum/float-label-type.enum.js +0 -7
  171. package/esm2015/lib/core/enum/input-text-type.enum.js +0 -6
  172. package/esm2015/lib/core/model/numerical-range.js +0 -14
  173. package/lib/components/co-dialog/co-dialog.component.scss +0 -0
  174. package/lib/components/drop-down-list/drop-down-list.component.scss +0 -0
  175. package/lib/components/input-number-picker/input-number-picker.component.scss +0 -49
  176. package/lib/core/enum/float-label-type.enum.d.ts +0 -5
  177. package/lib/core/enum/input-text-type.enum.d.ts +0 -4
  178. package/lib/core/model/numerical-range.d.ts +0 -7
  179. package/lib/style/_extendables.scss +0 -32
  180. package/lib/style/_responsiveness.mixins.scss +0 -64
  181. package/lib/style/_responsiveness.scss +0 -4
  182. 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 { RichTextEditorComponent, ChangeEventArgs } from '@syncfusion/ej2-angular-richtexteditor';
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>;
@@ -1,5 +1,3 @@
1
- @import "./material-definition";
2
-
3
1
  @include export-module('cc-co-rich-text-editor-layout') {
4
2
 
5
3
  }
@@ -1,5 +1,3 @@
1
- @import "./material-definition";
2
-
3
1
  @include export-module('cc-co-rich-text-editor-theme') {
4
2
 
5
3
  }
@@ -1,3 +1,4 @@
1
+ @import "../../../style/mixin";
1
2
  @import "../../../style/variables";
2
3
  @import "./material-definition";
3
4
  @import "./layout";
@@ -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,2 @@
1
+ export declare class CollapsibleModule {
2
+ }
@@ -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;
@@ -0,0 +1,5 @@
1
+ @include export-module('cc-collapsible-theme') {
2
+ .co-collapsible {
3
+ color: $cc-collapsible-text-color;
4
+ }
5
+ }
@@ -0,0 +1,5 @@
1
+ @import "../../../style/mixin";
2
+ @import "../../../style/variables";
3
+ @import "./material-definition";
4
+ @import "./layout";
5
+ @import "./theme";
@@ -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
- placeHolder: string;
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
  }
@@ -1,5 +1,3 @@
1
- @import "./material-definition";
2
-
3
1
  @include export-module('cc-co-drop-down-list-theme') {
4
2
 
5
3
  }
@@ -1,3 +1,5 @@
1
+ @import "../../../style/mixin";
2
+ @import "../../../style/input.mixins";
1
3
  @import "../../../style/variables";
2
4
  @import "./material-definition";
3
5
  @import "./layout";
@@ -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 './base/base-selection-grid.component';
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,5 +1,3 @@
1
- @import "./material-definition";
2
-
3
1
  @include export-module('cc-co-grid-layout') {
4
2
  .co-grid {
5
3
  .e-headertext {
@@ -1,5 +1,3 @@
1
- @import "./material-definition";
2
-
3
1
  @include export-module('cc-co-grid-theme') {
4
2
 
5
3
  }
@@ -1,3 +1,4 @@
1
+ @import "../../../style/mixin";
1
2
  @import "../../../style/variables";
2
3
  @import "./material-definition";
3
4
  @import "./layout";
@@ -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, formUserChangeListener: FormInputUserModelChangeListenerService, ngZoneWrapper: NgZoneWrapperService);
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
  }
@@ -1,5 +1,3 @@
1
- @import "./material-definition";
2
-
3
1
  @include export-module('cc-input-checkbox-layout') {
4
2
 
5
3
  }
@@ -1,5 +1,3 @@
1
- @import "./material-definition";
2
-
3
1
  @include export-module('cc-input-checkbox-theme') {
4
2
 
5
3
  }
@@ -1,3 +1,4 @@
1
+ @import "../../../style/mixin";
1
2
  @import "../../../style/variables";
2
3
  @import "./material-definition";
3
4
  @import "./layout";
@@ -1,11 +1,12 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from "@angular/core";
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> implements OnInit, AfterViewInit, OnDestroy {
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,5 +1,3 @@
1
- @import "./material-definition";
2
-
3
1
  @include export-module('cc-input-checkbox-multi-select-layout') {
4
2
 
5
3
  }
@@ -1,5 +1,3 @@
1
- @import "./material-definition";
2
-
3
1
  @include export-module('cc-input-checkbox-multi-select-theme') {
4
2
 
5
3
  }
@@ -1,3 +1,4 @@
1
+ @import "../../../style/mixin";
1
2
  @import "../../../style/variables";
2
3
  @import "./material-definition";
3
4
  @import "./layout";
@@ -1,25 +1,24 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from "@angular/core";
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> implements OnInit, AfterViewInit, OnDestroy {
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
- source: Object[] | string[] | number[] | boolean[];
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
- constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
21
- ngOnDestroy(): void;
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,5 +1,3 @@
1
- @import "./material-definition";
2
-
3
1
  @include export-module('cc-input-combo-box-theme') {
4
2
 
5
3
  }
@@ -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(iconCacheService: IconCacheService, formComponent: FormComponent, changeDetector: ChangeDetectorRef, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
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;
@@ -1,5 +1,6 @@
1
- @import "./material-definition";
2
-
3
1
  @include export-module('cc-input-date-picker-layout') {
4
-
2
+ .co-input-date {
3
+ position: relative; // for validation message
4
+ @include input;
5
+ }
5
6
  }
@@ -1,5 +1,3 @@
1
- @import "./material-definition";
2
-
3
1
  @include export-module('cc-input-date-picker-theme') {
4
2
 
5
3
  }
@@ -1,3 +1,5 @@
1
+ @import "../../../style/mixin";
2
+ @import "../../../style/input.mixins";
1
3
  @import "../../../style/variables";
2
4
  @import "./material-definition";
3
5
  @import "./layout";
@@ -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,2 @@
1
+ export declare class InputListboxModule {
2
+ }
@@ -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
+ }
@@ -0,0 +1,6 @@
1
+ @import "../../../style/mixin";
2
+ @import "../../../style/input.mixins";
3
+ @import "../../../style/variables";
4
+ @import "./material-definition";
5
+ @import "./layout";
6
+ @import "./theme";
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, EventEmitter, NgZone, OnDestroy, OnInit } from '@angular/core';
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 { FloatLabelTypeEnum } from "../../core/enum/float-label-type.enum";
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
- floatLabelType: FloatLabelTypeEnum;
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;