@colijnit/corecomponents_v12 255.1.18 → 255.1.20
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 +13 -2
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/base/base-input.component.js +8 -1
- package/esm2015/lib/components/button/button.component.js +1 -1
- package/esm2015/lib/components/filter-item/filter-item.component.js +1 -1
- package/esm2015/lib/components/list-of-values/list-of-values.module.js +1 -2
- package/esm2015/lib/directives/screen-configuration/screen-configuration.directive.js +2 -1
- package/esm2015/lib/interfaces/screen-config-adapter.component.interface.js +1 -1
- package/esm2015/lib/service/base-module-screen-config.service.js +2 -2
- package/fesm2015/colijnit-corecomponents_v12.js +9 -2
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/base/base-input.component.d.ts +4 -0
- package/lib/components/button/button.component.d.ts +2 -0
- package/lib/components/filter-item/filter-item.component.d.ts +2 -0
- package/lib/interfaces/screen-config-adapter.component.interface.d.ts +2 -0
- package/lib/style/_input.mixins.scss +0 -6
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ import { CoreComponentsIcon } from "../../core/enum/core-components-icon.enum";
|
|
|
6
6
|
import { FormComponent } from "../form/form.component";
|
|
7
7
|
import { ScreenConfigAdapterComponent } from "../../interfaces/screen-config-adapter.component.interface";
|
|
8
8
|
import { OverlayService } from '../../service/overlay.service';
|
|
9
|
+
import { ObjectConfigurationDefaultValueType } from '@colijnit/ioneconnector/build/type/object-configuration-default-value-type';
|
|
9
10
|
/**
|
|
10
11
|
* Abstract base class for all concrete form input components that contain a native <input> element. Provides common data and functionality, such as
|
|
11
12
|
* adding self as a control to the parent form.
|
|
@@ -36,6 +37,8 @@ export declare abstract class BaseInputComponent<T> implements OnInit, OnDestroy
|
|
|
36
37
|
get disabled(): boolean;
|
|
37
38
|
set maxLength(maxLength: number);
|
|
38
39
|
get maxLength(): number;
|
|
40
|
+
set defaultValue(defaultValue: ObjectConfigurationDefaultValueType);
|
|
41
|
+
get defaultValue(): ObjectConfigurationDefaultValueType;
|
|
39
42
|
forcedMaxLength: number;
|
|
40
43
|
set readonly(readonly: boolean);
|
|
41
44
|
get readonly(): boolean;
|
|
@@ -114,6 +117,7 @@ export declare abstract class BaseInputComponent<T> implements OnInit, OnDestroy
|
|
|
114
117
|
private _hidden;
|
|
115
118
|
private _disabled;
|
|
116
119
|
private _maxLength;
|
|
120
|
+
private _defaultValue;
|
|
117
121
|
private _readonly;
|
|
118
122
|
private _required;
|
|
119
123
|
private _forceReadonly;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { SafeHtml } from '@angular/platform-browser';
|
|
3
3
|
import { ScreenConfigAdapterComponent } from '../../interfaces/screen-config-adapter.component.interface';
|
|
4
|
+
import { ObjectConfigurationDefaultValueType } from '@colijnit/ioneconnector/build/type/object-configuration-default-value-type';
|
|
4
5
|
export declare class ButtonComponent implements ScreenConfigAdapterComponent, OnDestroy {
|
|
5
6
|
private _elementRef;
|
|
6
7
|
label: string;
|
|
@@ -21,6 +22,7 @@ export declare class ButtonComponent implements ScreenConfigAdapterComponent, On
|
|
|
21
22
|
forceReadonly: boolean;
|
|
22
23
|
readonly: boolean;
|
|
23
24
|
maxLength: number;
|
|
25
|
+
defaultValue: ObjectConfigurationDefaultValueType;
|
|
24
26
|
decimals: number;
|
|
25
27
|
redErrorBackground: boolean;
|
|
26
28
|
constructor(_elementRef: ElementRef);
|
|
@@ -5,6 +5,7 @@ import { IconCacheService } from '../icon/icon-cache.service';
|
|
|
5
5
|
import { FilterItemMode } from '../../core/enum/filterItem-mode.enum';
|
|
6
6
|
import { ScreenConfigAdapterComponent } from "../../interfaces/screen-config-adapter.component.interface";
|
|
7
7
|
import { ObjectConfiguration } from "@colijnit/ioneconnector/build/model/object-configuration";
|
|
8
|
+
import { ObjectConfigurationDefaultValueType } from '@colijnit/ioneconnector/build/type/object-configuration-default-value-type';
|
|
8
9
|
export declare class FilterItemComponent implements OnInit, ScreenConfigAdapterComponent {
|
|
9
10
|
iconService: IconCacheService;
|
|
10
11
|
private _changeDetector;
|
|
@@ -50,6 +51,7 @@ export declare class FilterItemComponent implements OnInit, ScreenConfigAdapterC
|
|
|
50
51
|
forceReadonly: boolean;
|
|
51
52
|
readonly: boolean;
|
|
52
53
|
maxLength: number;
|
|
54
|
+
defaultValue: ObjectConfigurationDefaultValueType;
|
|
53
55
|
decimals: number;
|
|
54
56
|
redErrorBackground: boolean;
|
|
55
57
|
checkBoxToTextModel: boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ObjectConfiguration } from "@colijnit/ioneconnector/build/model/object-configuration";
|
|
2
|
+
import { ObjectConfigurationDefaultValueType } from '@colijnit/ioneconnector/build/type/object-configuration-default-value-type';
|
|
2
3
|
export interface ScreenConfigAdapterComponent {
|
|
3
4
|
objectConfigName: string;
|
|
4
5
|
hidden: boolean;
|
|
@@ -6,6 +7,7 @@ export interface ScreenConfigAdapterComponent {
|
|
|
6
7
|
forceReadonly: boolean;
|
|
7
8
|
readonly: boolean;
|
|
8
9
|
maxLength: number;
|
|
10
|
+
defaultValue?: ObjectConfigurationDefaultValueType;
|
|
9
11
|
decimals: number;
|
|
10
12
|
redErrorBackground: boolean;
|
|
11
13
|
configObject?: ObjectConfiguration;
|
|
@@ -119,12 +119,6 @@
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
co-input-text.invalid, co-input-text:not(.hasvalue).required {
|
|
123
|
-
.input-text-wrapper {
|
|
124
|
-
background-color: #ffe6e6;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
122
|
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
|
|
129
123
|
color: $cc-color-input-placeholder-color;
|
|
130
124
|
font-style: $cc-input-placeholder-font-style;
|