@colijnit/corecomponents_v12 257.1.15 → 257.1.17
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 +21 -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 +5 -2
- package/esm2015/lib/components/list-of-values/list-of-values.component.js +1 -1
- 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 +13 -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 +3 -0
- package/lib/interfaces/screen-config-adapter.component.interface.d.ts +2 -0
- 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;
|
|
@@ -117,6 +120,7 @@ export declare abstract class BaseInputComponent<T> implements OnInit, OnDestroy
|
|
|
117
120
|
private _hidden;
|
|
118
121
|
private _disabled;
|
|
119
122
|
private _maxLength;
|
|
123
|
+
private _defaultValue;
|
|
120
124
|
private _readonly;
|
|
121
125
|
private _required;
|
|
122
126
|
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;
|
|
@@ -36,6 +37,7 @@ export declare class FilterItemComponent implements OnInit, ScreenConfigAdapterC
|
|
|
36
37
|
modelChange: EventEmitter<any>;
|
|
37
38
|
collectionChange: EventEmitter<FilterItemViewmodel[]>;
|
|
38
39
|
filterButtonClicked: EventEmitter<void>;
|
|
40
|
+
get hasClass(): boolean;
|
|
39
41
|
filteredCollection: FilterItemViewmodel[];
|
|
40
42
|
limitTo: number;
|
|
41
43
|
filterText: string;
|
|
@@ -51,6 +53,7 @@ export declare class FilterItemComponent implements OnInit, ScreenConfigAdapterC
|
|
|
51
53
|
forceReadonly: boolean;
|
|
52
54
|
readonly: boolean;
|
|
53
55
|
maxLength: number;
|
|
56
|
+
defaultValue: ObjectConfigurationDefaultValueType;
|
|
54
57
|
decimals: number;
|
|
55
58
|
redErrorBackground: boolean;
|
|
56
59
|
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;
|