@simpleangularcontrols/sac-common 16.0.0-rc.1 → 16.0.0-rc.3
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/README.md +8 -16
- package/common/basedatetimecontrol.d.ts +33 -33
- package/common/basedatetimecontrol.d.ts.map +1 -1
- package/common/baseinputcontrol.d.ts +9 -9
- package/common/baseinputcontrol.d.ts.map +1 -1
- package/common/basemodelcontrol.d.ts +117 -89
- package/common/basemodelcontrol.d.ts.map +1 -1
- package/common/baseuploadcontrol.d.ts +140 -140
- package/common/baseuploadcontrol.d.ts.map +1 -1
- package/controls/checkbox/checkbox.d.ts +7 -3
- package/controls/checkbox/checkbox.d.ts.map +1 -1
- package/controls/checkbox/radiobuttons.d.ts +5 -4
- package/controls/checkbox/radiobuttons.d.ts.map +1 -1
- package/controls/contextmenu/contextmenu.d.ts +42 -42
- package/controls/contextmenu/contextmenu.d.ts.map +1 -1
- package/controls/contextmenu/contextmenuanchor.d.ts +2 -2
- package/controls/contextmenu/contextmenuanchor.d.ts.map +1 -1
- package/controls/contextmenu/contextmenucontainer.d.ts +2 -2
- package/controls/contextmenu/contextmenucontainer.d.ts.map +1 -1
- package/controls/datetime/date.d.ts +7 -7
- package/controls/datetime/date.d.ts.map +1 -1
- package/controls/datetime/datetime.d.ts +7 -7
- package/controls/datetime/datetime.d.ts.map +1 -1
- package/controls/datetime/time.d.ts +7 -7
- package/controls/datetime/time.d.ts.map +1 -1
- package/controls/form/form.d.ts +7 -43
- package/controls/form/form.d.ts.map +1 -1
- package/controls/input/inputdecimal.d.ts +21 -21
- package/controls/input/inputdecimal.d.ts.map +1 -1
- package/controls/layout/formlayout.d.ts +45 -0
- package/controls/layout/formlayout.d.ts.map +1 -0
- package/controls/list/dropdown.d.ts +45 -45
- package/controls/list/dropdown.d.ts.map +1 -1
- package/controls/multilanguage/multilanguageinput.d.ts +5 -4
- package/controls/multilanguage/multilanguageinput.d.ts.map +1 -1
- package/controls/multilanguage/multilanguageinputarea.d.ts +5 -4
- package/controls/multilanguage/multilanguageinputarea.d.ts.map +1 -1
- package/controls/tinymce/tinymce.d.ts +63 -63
- package/controls/tinymce/tinymce.d.ts.map +1 -1
- package/esm2022/common/basedatetimecontrol.mjs +75 -81
- package/esm2022/common/baseinputcontrol.mjs +20 -20
- package/esm2022/common/basemodelcontrol.mjs +280 -202
- package/esm2022/common/baseuploadcontrol.mjs +225 -224
- package/esm2022/controls/checkbox/checkbox.mjs +11 -5
- package/esm2022/controls/checkbox/radiobuttons.mjs +13 -12
- package/esm2022/controls/contextmenu/contextmenu.mjs +85 -75
- package/esm2022/controls/contextmenu/contextmenuanchor.mjs +6 -4
- package/esm2022/controls/contextmenu/contextmenucontainer.mjs +6 -4
- package/esm2022/controls/datetime/date.mjs +12 -12
- package/esm2022/controls/datetime/datetime.mjs +15 -15
- package/esm2022/controls/datetime/time.mjs +15 -15
- package/esm2022/controls/form/form.mjs +26 -80
- package/esm2022/controls/input/inputdecimal.mjs +58 -53
- package/esm2022/controls/layout/formlayout.mjs +73 -0
- package/esm2022/controls/list/dropdown.mjs +110 -91
- package/esm2022/controls/multilanguage/multilanguageinput.mjs +10 -9
- package/esm2022/controls/multilanguage/multilanguageinputarea.mjs +10 -9
- package/esm2022/controls/tinymce/tinymce.mjs +102 -95
- package/esm2022/interfaces/ISacLabelSizes.mjs +2 -0
- package/esm2022/public_api.mjs +20 -18
- package/fesm2022/simpleangularcontrols-sac-common.mjs +1958 -1814
- package/fesm2022/simpleangularcontrols-sac-common.mjs.map +1 -1
- package/interfaces/ISacLabelSizes.d.ts +27 -0
- package/interfaces/ISacLabelSizes.d.ts.map +1 -0
- package/package.json +1 -1
- package/public_api.d.ts +19 -17
- package/public_api.d.ts.map +1 -1
- package/simpleangularcontrols-sac-common-16.0.0-rc.3.tgz +0 -0
- package/simpleangularcontrols-sac-common-13.0.0-rc.1.tgz +0 -0
- package/simpleangularcontrols-sac-common-16.0.0-rc.1.tgz +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contextmenu.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/contextmenu/contextmenu.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EAGV,QAAQ,EAER,MAAM,EACN,SAAS,EACT,SAAS,EACT,WAAW,EAEZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,cAAc,EAAoB,MAAM,6BAA6B,CAAC;;AAI/E;;GAEG;AACH,qBACa,oBAAqB,YAAW,SAAS;
|
|
1
|
+
{"version":3,"file":"contextmenu.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/contextmenu/contextmenu.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EAGV,QAAQ,EAER,MAAM,EACN,SAAS,EACT,SAAS,EACT,WAAW,EAEZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,cAAc,EAAoB,MAAM,6BAA6B,CAAC;;AAI/E;;GAEG;AACH,qBACa,oBAAqB,YAAW,SAAS;IAsFhC,OAAO,CAAC,QAAQ;IAClC,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,UAAU;IAClB,OAAO,CAAC,QAAQ;IAtFlB;;OAEG;IAEH,OAAO,CAAC,eAAe,CAA6B;IACpD;;OAEG;IAEH,OAAO,CAAC,OAAO,CAA6B;IAC5C;;OAEG;IAEH,OAAO,CAAC,KAAK,CAAiC;IAE9C;;OAEG;IACH,OAAO,CAAC,aAAa,CAA4B;IACjD;;OAEG;IACH,OAAO,CAAC,gBAAgB,CAAe;IAEvC;;OAEG;IACH,SAAS,CAAC,WAAW,EAAE,eAAe,CAAC;IAEvC;;OAEG;IAEI,cAAc,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;IACxC;;OAEG;IAEI,SAAS,EAAE,IAAI,GAAG,MAAM,CAAU;IACzC;;OAEG;IAEI,QAAQ,EAAE,MAAM,CAAM;IAC7B;;OAEG;IAEI,MAAM,EAAE,OAAO,CAAS;IAC/B;;;;;;;;;;;;OAYG;IACa,SAAS,EAAE,cAAc,CAKvC;IAMF;;;;;;;OAOG;gBAEyB,QAAQ,EAAE,GAAG,EAC/B,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,CAAC,WAAW,CAAC,EACnC,QAAQ,EAAE,SAAS,EAC3B,QAAQ,EAAE,QAAQ;IAgBpB;;OAEG;IACH,IAAW,eAAe,IAAI,MAAM,CAEnC;IAMD;;OAEG;IAKI,OAAO,CAAC,aAAa,KAAA;IAa5B;;OAEG;IACI,KAAK,IAAI,IAAI;IAKpB;;OAEG;IACI,WAAW,IAAI,IAAI;IAI1B;;OAEG;IACI,IAAI,IAAI,IAAI;IAKnB;;OAEG;IACI,MAAM,IAAI,IAAI;IAYrB;;OAEG;IACH,SAAS,CAAC,aAAa;IAkBvB;;;;OAIG;IACH,OAAO,CAAC,eAAe;IAoBvB;;OAEG;IACH,OAAO,CAAC,eAAe;yCAhOZ,oBAAoB;2CAApB,oBAAoB;CAiPhC"}
|
|
@@ -10,9 +10,9 @@ export declare class SacContextmenuAnchorCommon {
|
|
|
10
10
|
nativeElement: HTMLElement;
|
|
11
11
|
/**
|
|
12
12
|
* Konstruktor
|
|
13
|
-
* @param
|
|
13
|
+
* @param elementRef Refernz auf das HTML welcher als Anker für das Context Menü verwendet wird
|
|
14
14
|
*/
|
|
15
|
-
constructor(
|
|
15
|
+
constructor(elementRef: ElementRef<HTMLElement>);
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacContextmenuAnchorCommon, never>;
|
|
17
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SacContextmenuAnchorCommon, never, never, {}, {}, never, never, false, never>;
|
|
18
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contextmenuanchor.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/contextmenu/contextmenuanchor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,eAAe,CAAC;;AAEtD;;GAEG;AACH,qBACa,0BAA0B;
|
|
1
|
+
{"version":3,"file":"contextmenuanchor.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/contextmenu/contextmenuanchor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,eAAe,CAAC;;AAEtD;;GAEG;AACH,qBACa,0BAA0B;IAGrC;;OAEG;IACI,aAAa,EAAE,WAAW,CAAC;IAMlC;;;OAGG;gBACS,UAAU,EAAE,UAAU,CAAC,WAAW,CAAC;yCAhBpC,0BAA0B;2CAA1B,0BAA0B;CAqBtC"}
|
|
@@ -10,9 +10,9 @@ export declare class SacContextMenuContrainerCommon {
|
|
|
10
10
|
nativeElement: HTMLElement;
|
|
11
11
|
/**
|
|
12
12
|
* Konstruktor
|
|
13
|
-
* @param
|
|
13
|
+
* @param elementRef Referenz auf das HTML Element mit der Marker Direktive
|
|
14
14
|
*/
|
|
15
|
-
constructor(
|
|
15
|
+
constructor(elementRef: ElementRef<HTMLElement>);
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacContextMenuContrainerCommon, never>;
|
|
17
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SacContextMenuContrainerCommon, never, never, {}, {}, never, never, false, never>;
|
|
18
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contextmenucontainer.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/contextmenu/contextmenucontainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,eAAe,CAAC;;AAEtD;;GAEG;AACH,qBACa,8BAA8B;
|
|
1
|
+
{"version":3,"file":"contextmenucontainer.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/contextmenu/contextmenucontainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,eAAe,CAAC;;AAEtD;;GAEG;AACH,qBACa,8BAA8B;IAGzC;;OAEG;IACI,aAAa,EAAE,WAAW,CAAC;IAMlC;;;OAGG;gBACS,UAAU,EAAE,UAAU,CAAC,WAAW,CAAC;yCAhBpC,8BAA8B;2CAA9B,8BAA8B;CAqB1C"}
|
|
@@ -3,13 +3,13 @@ import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
|
3
3
|
import * as IMask from 'imask';
|
|
4
4
|
import { Moment } from 'moment';
|
|
5
5
|
import { SacBaseDateTimeControl } from '../../common/basedatetimecontrol';
|
|
6
|
-
import {
|
|
6
|
+
import { SacFormLayoutCommon } from '../layout/formlayout';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* Komponente für SacDateCommon. Extends SacBaseDateTimeControl
|
|
10
10
|
*/
|
|
11
11
|
export declare class SacDateCommon extends SacBaseDateTimeControl {
|
|
12
|
-
protected
|
|
12
|
+
protected elementRef: ElementRef;
|
|
13
13
|
/**
|
|
14
14
|
* Format des Datums
|
|
15
15
|
*/
|
|
@@ -84,12 +84,12 @@ export declare class SacDateCommon extends SacBaseDateTimeControl {
|
|
|
84
84
|
*/
|
|
85
85
|
validationmessagesummarymaxdate: string;
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
88
|
-
* @param
|
|
89
|
-
* @param injector
|
|
90
|
-
* @param
|
|
87
|
+
* Constructor
|
|
88
|
+
* @param formlayout SacFormLayoutCommon to define scoped layout settings
|
|
89
|
+
* @param injector Injector for injecting services
|
|
90
|
+
* @param elementRef reference to html element
|
|
91
91
|
*/
|
|
92
|
-
constructor(
|
|
92
|
+
constructor(formlayout: SacFormLayoutCommon, injector: Injector, elementRef: ElementRef);
|
|
93
93
|
/**
|
|
94
94
|
* icon for date selector button
|
|
95
95
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/datetime/date.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEV,QAAQ,EAET,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAI1E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/datetime/date.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEV,QAAQ,EAET,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAI1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;;AAM3D;;GAEG;AACH,qBACa,aAAc,SAAQ,sBAAsB;IAuHrD,SAAS,CAAC,UAAU,EAAE,UAAU;IApHlC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAgB;IAE3C;;OAEG;IACH,SAAgB,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;MAyBvB;IAEF;;OAEG;IACH,OAAO,CAAC,WAAW,CAAkB;IAMrC;;OAEG;IACH,IACI,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,EAQlC;IACD;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAQ;IAEtB;;OAEG;IACH,IACI,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,EAQlC;IACD;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAQ;IAEtB;;OAEG;IACH,aAAa,EAAE,OAAO,CAAS;IAE/B;;OAEG;IACM,wBAAwB,EAAE,MAAM,CAA8B;IACvE;;OAEG;IACM,+BAA+B,EAAE,MAAM,CACX;IAErC;;OAEG;IACM,wBAAwB,EAAE,MAAM,CAA8B;IACvE;;OAEG;IACM,+BAA+B,EAAE,MAAM,CACX;IAIrC;;;;;OAKG;gBAED,UAAU,EAAE,mBAAmB,EAC/B,QAAQ,EAAE,QAAQ,EACR,UAAU,EAAE,UAAU;IAUlC;;OAEG;IACH,IAAW,YAAY,IAAI,MAAM,CAEhC;IAID;;OAEG;IACH,uBAAuB,IAAI,MAAM;IAIjC;;OAEG;IACH,yBAAyB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM;IAQ5C;;OAEG;IACH,gBAAgB,IAAI,IAAI;IAWxB;;OAEG;IAKI,OAAO,CAAC,aAAa,KAAA;IAO5B;;OAEG;IACH,UAAU,CAAC,CAAC,EAAE,GAAG;IAYjB;;OAEG;IACH,YAAY,CAAC,CAAC,EAAE,eAAe,GAAG,gBAAgB,GAAG,IAAI;yCA1M9C,aAAa;2CAAb,aAAa;CA+OzB"}
|
|
@@ -3,13 +3,13 @@ import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
|
3
3
|
import * as IMask from 'imask';
|
|
4
4
|
import { Moment } from 'moment';
|
|
5
5
|
import { SacBaseDateTimeControl } from '../../common/basedatetimecontrol';
|
|
6
|
-
import {
|
|
6
|
+
import { SacFormLayoutCommon } from '../layout/formlayout';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* Komponente für SacDateTimeCommon. Extends SacBaseDateTimeControl
|
|
10
10
|
*/
|
|
11
11
|
export declare class SacDateTimeCommon extends SacBaseDateTimeControl {
|
|
12
|
-
protected
|
|
12
|
+
protected elementRef: ElementRef;
|
|
13
13
|
/**
|
|
14
14
|
* icon service
|
|
15
15
|
*/
|
|
@@ -99,12 +99,12 @@ export declare class SacDateTimeCommon extends SacBaseDateTimeControl {
|
|
|
99
99
|
*/
|
|
100
100
|
validationmessagesummarymaxdate: string;
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
103
|
-
* @param
|
|
104
|
-
* @param injector
|
|
105
|
-
* @param
|
|
102
|
+
* Constructor
|
|
103
|
+
* @param formlayout SacFormLayoutCommon to define scoped layout settings
|
|
104
|
+
* @param injector Injector for injecting services
|
|
105
|
+
* @param elementRef reference to html element
|
|
106
106
|
*/
|
|
107
|
-
constructor(
|
|
107
|
+
constructor(formlayout: SacFormLayoutCommon, injector: Injector, elementRef: ElementRef);
|
|
108
108
|
/**
|
|
109
109
|
* icon for date selector button
|
|
110
110
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datetime.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/datetime/datetime.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"datetime.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/datetime/datetime.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEV,QAAQ,EAET,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAI1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;;AAO3D;;GAEG;AACH,qBACa,iBAAkB,SAAQ,sBAAsB;IAyIzD,SAAS,CAAC,UAAU,EAAE,UAAU;IAtIlC;;OAEG;IACH,OAAO,CAAC,WAAW,CAAkB;IAMrC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAsB;IACjD;;OAEG;IACH;;OAEG;IACH,SAAgB,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqCvB;IAMF;;OAEG;IACH,IACI,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,EAQlC;IACD;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAQ;IAEtB;;OAEG;IACH,IACI,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,EAQlC;IACD;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAQ;IAEtB;;OAEG;IACH,aAAa,EAAE,OAAO,CAAS;IAE/B;;OAEG;IACM,wBAAwB,EAAE,MAAM,CAA8B;IACvE;;OAEG;IACM,+BAA+B,EAAE,MAAM,CACX;IAErC;;OAEG;IACM,wBAAwB,EAAE,MAAM,CAA8B;IACvE;;OAEG;IACM,+BAA+B,EAAE,MAAM,CACX;IAIrC;;;;;OAKG;gBAED,UAAU,EAAE,mBAAmB,EAC/B,QAAQ,EAAE,QAAQ,EACR,UAAU,EAAE,UAAU;IAUlC;;OAEG;IACH,IAAW,YAAY,IAAI,MAAM,CAEhC;IAID;;OAEG;IACH,uBAAuB,IAAI,MAAM;IAIjC;;OAEG;IACH,yBAAyB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM;IAQ5C;;OAEG;IACH,gBAAgB,IAAI,IAAI;IAaxB;;OAEG;IAKI,OAAO,CAAC,aAAa,KAAA;IAO5B;;OAEG;IACH,UAAU,CAAC,CAAC,EAAE,GAAG;IAYjB;;OAEG;IACH,YAAY,CAAC,CAAC,EAAE,eAAe,GAAG,gBAAgB,GAAG,IAAI;yCA9N9C,iBAAiB;2CAAjB,iBAAiB;CAmQ7B"}
|
|
@@ -3,13 +3,13 @@ import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
|
3
3
|
import * as IMask from 'imask';
|
|
4
4
|
import { Moment } from 'moment';
|
|
5
5
|
import { SacBaseDateTimeControl } from '../../common/basedatetimecontrol';
|
|
6
|
-
import {
|
|
6
|
+
import { SacFormLayoutCommon } from '../layout/formlayout';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* Komponente für SacTimeCommon. Extends SacBaseDateTimeControl
|
|
10
10
|
*/
|
|
11
11
|
export declare class SacTimeCommon extends SacBaseDateTimeControl {
|
|
12
|
-
protected
|
|
12
|
+
protected elementRef: ElementRef;
|
|
13
13
|
/**
|
|
14
14
|
* Format des Datums
|
|
15
15
|
*/
|
|
@@ -79,12 +79,12 @@ export declare class SacTimeCommon extends SacBaseDateTimeControl {
|
|
|
79
79
|
*/
|
|
80
80
|
validationmessagesummarymaxtime: string;
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
83
|
-
* @param
|
|
84
|
-
* @param injector
|
|
85
|
-
* @param
|
|
82
|
+
* Constructor
|
|
83
|
+
* @param formlayout SacFormLayoutCommon to define scoped layout settings
|
|
84
|
+
* @param injector Injector for injecting services
|
|
85
|
+
* @param elementRef reference to html element
|
|
86
86
|
*/
|
|
87
|
-
constructor(
|
|
87
|
+
constructor(formlayout: SacFormLayoutCommon, injector: Injector, elementRef: ElementRef);
|
|
88
88
|
/**
|
|
89
89
|
* icon for date selector button
|
|
90
90
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/datetime/time.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/datetime/time.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEV,QAAQ,EAET,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OA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Y,CAAC,CAAC,EAAE,eAAe,GAAG,gBAAgB,GAAG,IAAI;yCA3M9C,aAAa;2CAAb,aAAa;CAgPzB"}
|
package/controls/form/form.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NgForm } from '@angular/forms';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Type for form actions
|
|
5
5
|
*/
|
|
6
6
|
export type FormHooks = 'change' | 'blur' | 'submit';
|
|
7
7
|
/**
|
|
@@ -9,56 +9,24 @@ export type FormHooks = 'change' | 'blur' | 'submit';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class SacFormCommon {
|
|
11
11
|
private form;
|
|
12
|
-
/**
|
|
13
|
-
* Inline Errors für das Formular
|
|
14
|
-
*/
|
|
15
|
-
private _inlineerrorenabled;
|
|
16
|
-
/**
|
|
17
|
-
* Form Control
|
|
18
|
-
*/
|
|
19
|
-
SacFormular: string;
|
|
20
|
-
/**
|
|
21
|
-
* Default Label Size for Form
|
|
22
|
-
*/
|
|
23
|
-
labelsize: number;
|
|
24
|
-
/**
|
|
25
|
-
* Kontroliert, ob das Label adaptive ist
|
|
26
|
-
*/
|
|
27
|
-
isadaptivelabel: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Type des Forms
|
|
30
|
-
*/
|
|
31
|
-
orientation: string;
|
|
32
12
|
/**
|
|
33
13
|
* Standardwert wann die Werte via NgModel aktualisiert werden
|
|
34
14
|
*/
|
|
35
15
|
private _updateon;
|
|
16
|
+
/**
|
|
17
|
+
* Konstruktor
|
|
18
|
+
* @param form Instanz von NgForm
|
|
19
|
+
*/
|
|
20
|
+
constructor(form: NgForm);
|
|
36
21
|
/**
|
|
37
22
|
* Definiert, wenn das Model geupdatet wird
|
|
38
23
|
*/
|
|
39
24
|
set updateon(v: FormHooks);
|
|
40
25
|
get updateon(): FormHooks;
|
|
41
|
-
/**
|
|
42
|
-
* Aktiviert oder Deaktiviert die Inline Errors für das Control
|
|
43
|
-
*/
|
|
44
|
-
set inlineerrorenabled(value: boolean);
|
|
45
|
-
/**
|
|
46
|
-
* Aktiviert oder Deaktiviert die Inline Errors für das Control
|
|
47
|
-
*/
|
|
48
|
-
get inlineerrorenabled(): boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Vertikale oder horizontale Orientierung des Formulars zurück
|
|
51
|
-
*/
|
|
52
|
-
getOrientation(): string;
|
|
53
26
|
/**
|
|
54
27
|
* Gibt die NgForm Instanz zurück
|
|
55
28
|
*/
|
|
56
29
|
getForm(): NgForm;
|
|
57
|
-
/**
|
|
58
|
-
* Konstruktor
|
|
59
|
-
* @param form Instanz von NgForm
|
|
60
|
-
*/
|
|
61
|
-
constructor(form: NgForm);
|
|
62
30
|
/**
|
|
63
31
|
* Markiert alle Controls innerhalb des Formulares als Touched
|
|
64
32
|
*/
|
|
@@ -77,11 +45,7 @@ export declare class SacFormCommon {
|
|
|
77
45
|
* @param controls Controls Collection
|
|
78
46
|
*/
|
|
79
47
|
private updateValueAndValidityInternal;
|
|
80
|
-
/**
|
|
81
|
-
* Gibt zurück, ob die Inline Error Meldungen für das Formular aktiv sind.
|
|
82
|
-
*/
|
|
83
|
-
get IsInlineErrorEnabled(): boolean;
|
|
84
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacFormCommon, never>;
|
|
85
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SacFormCommon, never, never, { "
|
|
49
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SacFormCommon, never, never, { "updateon": { "alias": "updateon"; "required": false; }; }, {}, never, never, false, never>;
|
|
86
50
|
}
|
|
87
51
|
//# sourceMappingURL=form.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/form/form.ts"],"names":[],"mappings":"AACA,OAAO,EAAqC,MAAM,EAAE,MAAM,gBAAgB,CAAC;;
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/form/form.ts"],"names":[],"mappings":"AACA,OAAO,EAAqC,MAAM,EAAE,MAAM,gBAAgB,CAAC;;AAK3E;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAC;AAMrD;;GAEG;AACH,qBACa,aAAa;IAgBZ,OAAO,CAAC,IAAI;IAbxB;;OAEG;IACH,OAAO,CAAC,SAAS,CAAuB;IAMxC;;;OAGG;gBACiB,IAAI,EAAE,MAAM;IAQhC;;OAEG;IACH,IACW,QAAQ,CAAC,CAAC,EAAE,SAAS,EAG/B;IAED,IAAW,QAAQ,IAAI,SAAS,CAE/B;IAMD;;OAEG;IACI,OAAO,IAAI,MAAM;IAIxB;;OAEG;IACI,aAAa,IAAI,IAAI;IAM5B;;OAEG;IACI,sBAAsB,CAAC,aAAa,GAAE,OAAc,GAAG,IAAI;IAgBlE;;;OAGG;IACH,OAAO,CAAC,qBAAqB;IAa7B;;;OAGG;IACH,OAAO,CAAC,8BAA8B;yCAjG3B,aAAa;2CAAb,aAAa;CAiHzB"}
|
|
@@ -9,55 +9,55 @@ export declare class SacInputDecimalCommon extends SacInputBase<number> {
|
|
|
9
9
|
* Definiert das Negative Werte erlaubt sind
|
|
10
10
|
*/
|
|
11
11
|
allownegativ: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Definiert den minimalen Wert
|
|
14
|
-
*/
|
|
15
|
-
minvalue: number;
|
|
16
12
|
/**
|
|
17
13
|
* Definiert den maximalen Wert
|
|
18
14
|
*/
|
|
19
15
|
maxvalue: number;
|
|
20
16
|
/**
|
|
21
|
-
*
|
|
17
|
+
* Definiert den minimalen Wert
|
|
22
18
|
*/
|
|
23
|
-
|
|
19
|
+
minvalue: number;
|
|
24
20
|
/**
|
|
25
|
-
* Resource Key für Validation Message
|
|
21
|
+
* Resource Key für Validation Message MaxValue bei Control
|
|
26
22
|
*/
|
|
27
|
-
|
|
23
|
+
validationmessagemaxvalue: string;
|
|
28
24
|
/**
|
|
29
25
|
* Resource Key für Validation Message MinValue bei Control
|
|
30
26
|
*/
|
|
31
27
|
validationmessageminvalue: string;
|
|
32
28
|
/**
|
|
33
|
-
* Resource Key für Validation Message
|
|
34
|
-
*/
|
|
35
|
-
validationmessagesummaryminvalue: string;
|
|
36
|
-
/**
|
|
37
|
-
* Resource Key für Validation Message MaxValue bei Control
|
|
29
|
+
* Resource Key für Validation Message Required bei Control
|
|
38
30
|
*/
|
|
39
|
-
|
|
31
|
+
validationmessagerequired: string;
|
|
40
32
|
/**
|
|
41
33
|
* Resource Key für Validation Message MaxValue in Validation Summary
|
|
42
34
|
*/
|
|
43
35
|
validationmessagesummarymaxvalue: string;
|
|
44
36
|
/**
|
|
45
|
-
*
|
|
37
|
+
* Resource Key für Validation Message MinValue in Validation Summary
|
|
46
38
|
*/
|
|
47
|
-
|
|
39
|
+
validationmessagesummaryminvalue: string;
|
|
40
|
+
/**
|
|
41
|
+
* Resource Key für Validation Message Required in Validation Summary
|
|
42
|
+
*/
|
|
43
|
+
validationmessagesummaryrequired: string;
|
|
44
|
+
/**
|
|
45
|
+
* Methode validiert ob der Wert entspricht den gegebenen Kriterien
|
|
46
|
+
*/
|
|
47
|
+
validateData(c: AbstractControl): ValidationErrors | null;
|
|
48
48
|
/**
|
|
49
49
|
* Konvertiert den Wert des Inputs
|
|
50
50
|
*/
|
|
51
51
|
protected ConvertInputValue(value: any): any;
|
|
52
52
|
/**
|
|
53
|
-
* Methode
|
|
53
|
+
* Methode die erzeugt den Control in Abhängigkeit davon, ob negative Were erlaubt sing oder nicht
|
|
54
54
|
*/
|
|
55
|
-
protected
|
|
55
|
+
protected OnClassInit(): void;
|
|
56
56
|
/**
|
|
57
|
-
* Methode validiert ob der Wert entspricht den gegebenen Kriterien
|
|
57
|
+
* Methode validiert ob der Wert entspricht den gegebenen Kriterien wenn ein Key gedrückt wird
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
protected OnKeyPressValidation(position: number, character: string): boolean;
|
|
60
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacInputDecimalCommon, never>;
|
|
61
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SacInputDecimalCommon, never, never, { "allownegativ": { "alias": "allownegativ"; "required": false; }; "
|
|
61
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SacInputDecimalCommon, never, never, { "allownegativ": { "alias": "allownegativ"; "required": false; }; "maxvalue": { "alias": "maxvalue"; "required": false; }; "minvalue": { "alias": "minvalue"; "required": false; }; "validationmessagemaxvalue": { "alias": "validationmessagemaxvalue"; "required": false; }; "validationmessageminvalue": { "alias": "validationmessageminvalue"; "required": false; }; "validationmessagerequired": { "alias": "validationmessagerequired"; "required": false; }; "validationmessagesummarymaxvalue": { "alias": "validationmessagesummarymaxvalue"; "required": false; }; "validationmessagesummaryminvalue": { "alias": "validationmessagesummaryminvalue"; "required": false; }; "validationmessagesummaryrequired": { "alias": "validationmessagesummaryrequired"; "required": false; }; }, {}, never, never, false, never>;
|
|
62
62
|
}
|
|
63
63
|
//# sourceMappingURL=inputdecimal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputdecimal.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/input/inputdecimal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAG7D;;GAEG;AACH,qBACa,qBAAsB,SAAQ,YAAY,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"inputdecimal.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/input/inputdecimal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAG7D;;GAEG;AACH,qBACa,qBAAsB,SAAQ,YAAY,CAAC,MAAM,CAAC;IAG7D;;OAEG;IACa,YAAY,EAAE,OAAO,CAAS;IAC9C;;OAEG;IACa,QAAQ,EAAE,MAAM,CAAa;IAC7C;;OAEG;IACa,QAAQ,EAAE,MAAM,CAAa;IAC7C;;OAEG;IACa,yBAAyB,EAAE,MAAM,CACnB;IAC9B;;OAEG;IACa,yBAAyB,EAAE,MAAM,CACnB;IAC9B;;OAEG;IACa,yBAAyB,EAAE,MAAM,CACnB;IAC9B;;OAEG;IACa,gCAAgC,EAAE,MAAM,CAClB;IACtC;;OAEG;IACa,gCAAgC,EAAE,MAAM,CAClB;IACtC;;OAEG;IACa,gCAAgC,EAAE,MAAM,CAClB;IAMtC;;OAEG;IACI,YAAY,CAAC,CAAC,EAAE,eAAe,GAAG,gBAAgB,GAAG,IAAI;IA4ChE;;OAEG;IACH,SAAS,CAAC,iBAAiB,CAAC,KAAK,EAAE,GAAG,GAAG,GAAG;IAc5C;;OAEG;IACH,SAAS,CAAC,WAAW,IAAI,IAAI;IAa7B;;OAEG;IACH,SAAS,CAAC,oBAAoB,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO;yCArIjE,qBAAqB;2CAArB,qBAAqB;CAkKjC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/***
|
|
3
|
+
* base component for form options
|
|
4
|
+
*/
|
|
5
|
+
export declare class SacFormLayoutCommon {
|
|
6
|
+
/**
|
|
7
|
+
* defines that error messages are displayed under the controls
|
|
8
|
+
*/
|
|
9
|
+
inlineError: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* defines that the labels are displayed as adaptive labels
|
|
12
|
+
*/
|
|
13
|
+
isAdaptiveLabel: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* default label size for medium devices
|
|
16
|
+
*/
|
|
17
|
+
labelSizeMd: number | null;
|
|
18
|
+
/**
|
|
19
|
+
* default label size for small devices
|
|
20
|
+
*/
|
|
21
|
+
labelSizeSm: number | null;
|
|
22
|
+
/**
|
|
23
|
+
* default label column size
|
|
24
|
+
*/
|
|
25
|
+
labelSizeXs: number | null;
|
|
26
|
+
/**
|
|
27
|
+
* default label size for extra extra large devices
|
|
28
|
+
*/
|
|
29
|
+
labelSizeXxl: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* default labe size for large devices
|
|
32
|
+
*/
|
|
33
|
+
labelSizeLg: number | null;
|
|
34
|
+
/**
|
|
35
|
+
* default label size for extra large devices
|
|
36
|
+
*/
|
|
37
|
+
labelSizeXl: number | null;
|
|
38
|
+
/**
|
|
39
|
+
* Returns whether the inline error messages for the form are active.
|
|
40
|
+
*/
|
|
41
|
+
get IsInlineErrorEnabled(): boolean;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SacFormLayoutCommon, never>;
|
|
43
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SacFormLayoutCommon, never, never, { "inlineError": { "alias": "inlineError"; "required": false; }; "isAdaptiveLabel": { "alias": "isAdaptiveLabel"; "required": false; }; "labelSizeMd": { "alias": "labelSizeMd"; "required": false; }; "labelSizeSm": { "alias": "labelSizeSm"; "required": false; }; "labelSizeXs": { "alias": "labelSizeXs"; "required": false; }; "labelSizeXxl": { "alias": "labelSizeXxl"; "required": false; }; "labelSizeLg": { "alias": "labelSizeLg"; "required": false; }; "labelSizeXl": { "alias": "labelSizeXl"; "required": false; }; }, {}, never, never, false, never>;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=formlayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formlayout.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/layout/formlayout.ts"],"names":[],"mappings":";AAEA;;GAEG;AACH,qBACa,mBAAmB;IAG9B;;OAEG;IACa,WAAW,EAAE,OAAO,CAAQ;IAC5C;;OAEG;IACa,eAAe,EAAE,OAAO,CAAS;IACjD;;OAEG;IAEI,WAAW,EAAE,MAAM,GAAG,IAAI,CAAQ;IACzC;;OAEG;IAEI,WAAW,EAAE,MAAM,GAAG,IAAI,CAAQ;IACzC;;OAEG;IAEI,WAAW,EAAE,MAAM,GAAG,IAAI,CAAQ;IACzC;;OAEG;IAEI,YAAY,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC1C;;OAEG;IAEI,WAAW,EAAE,MAAM,GAAG,IAAI,CAAQ;IACzC;;OAEG;IAEI,WAAW,EAAE,MAAM,GAAG,IAAI,CAAQ;IAMzC;;OAEG;IACH,IAAW,oBAAoB,IAAI,OAAO,CAEzC;yCAnDU,mBAAmB;2CAAnB,mBAAmB;CAsD/B"}
|
|
@@ -1,28 +1,14 @@
|
|
|
1
1
|
import { ElementRef, Injector, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
2
|
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
3
|
import { SacBaseSelectControl } from '../../common/baseselectcontrol';
|
|
4
|
-
import {
|
|
4
|
+
import { SacFormLayoutCommon } from '../layout/formlayout';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Function um ein Key Value Pair für das Dropdown zu erzeugen
|
|
8
|
-
* @param id ID
|
|
9
|
-
* @param value Wert der an das Element gebunden werden soll
|
|
10
|
-
*/
|
|
11
|
-
export declare function _buildValueString(id: string | null, value: any): string;
|
|
12
6
|
/**
|
|
13
7
|
* Base Dropdown Komponente
|
|
14
8
|
*/
|
|
15
9
|
export declare class SacDropdownCommon extends SacBaseSelectControl<any> {
|
|
16
|
-
private
|
|
17
|
-
private
|
|
18
|
-
/**
|
|
19
|
-
* Counter vom OptionID; default Wert = 0
|
|
20
|
-
*/
|
|
21
|
-
_optionIdCounter: number;
|
|
22
|
-
/**
|
|
23
|
-
* OptionMap
|
|
24
|
-
*/
|
|
25
|
-
_optionMap: Map<string, any>;
|
|
10
|
+
private renderer;
|
|
11
|
+
private elementRef;
|
|
26
12
|
/**
|
|
27
13
|
* compareWith-Funktion
|
|
28
14
|
*/
|
|
@@ -35,10 +21,6 @@ export declare class SacDropdownCommon extends SacBaseSelectControl<any> {
|
|
|
35
21
|
* Option Value für Empty Item
|
|
36
22
|
*/
|
|
37
23
|
emptyvalue: string;
|
|
38
|
-
/**
|
|
39
|
-
* compareWith-Funktion
|
|
40
|
-
*/
|
|
41
|
-
set comparewith(fn: (o1: any, o2: any) => boolean);
|
|
42
24
|
/**
|
|
43
25
|
* Resource Key für Validation Message Required bei Control
|
|
44
26
|
*/
|
|
@@ -48,23 +30,25 @@ export declare class SacDropdownCommon extends SacBaseSelectControl<any> {
|
|
|
48
30
|
*/
|
|
49
31
|
validationmessagesummaryrequired: string;
|
|
50
32
|
/**
|
|
51
|
-
*
|
|
52
|
-
* @param parent Übergeordnetes HTML Element
|
|
53
|
-
* @param injector Injector für Services
|
|
54
|
-
* @param _renderer Render Engine
|
|
55
|
-
* @param _elementRef Referenz von HTML Element
|
|
33
|
+
* Counter vom OptionID; default Wert = 0
|
|
56
34
|
*/
|
|
57
|
-
|
|
35
|
+
_optionIdCounter: number;
|
|
58
36
|
/**
|
|
59
|
-
*
|
|
60
|
-
* @param value - Wert
|
|
37
|
+
* OptionMap
|
|
61
38
|
*/
|
|
62
|
-
|
|
39
|
+
_optionMap: Map<string, any>;
|
|
63
40
|
/**
|
|
64
|
-
*
|
|
65
|
-
* @param
|
|
41
|
+
* Constructor
|
|
42
|
+
* @param formlayout SacFormLayoutCommon to define scoped layout settings
|
|
43
|
+
* @param injector Injector for injecting services
|
|
44
|
+
* @param renderer html rendering engine
|
|
45
|
+
* @param elementRef reference to html element
|
|
66
46
|
*/
|
|
67
|
-
|
|
47
|
+
constructor(formlayout: SacFormLayoutCommon, injector: Injector, renderer: Renderer2, elementRef: ElementRef);
|
|
48
|
+
/**
|
|
49
|
+
* compareWith-Funktion
|
|
50
|
+
*/
|
|
51
|
+
set comparewith(fn: (o1: any, o2: any) => boolean);
|
|
68
52
|
/**
|
|
69
53
|
* Registriert das OptionID-Counter als String
|
|
70
54
|
*/
|
|
@@ -76,10 +60,25 @@ export declare class SacDropdownCommon extends SacBaseSelectControl<any> {
|
|
|
76
60
|
*/
|
|
77
61
|
setOptionMap(id: string, value: any): void;
|
|
78
62
|
/**
|
|
79
|
-
*
|
|
80
|
-
* @param value
|
|
63
|
+
* Wert einstellen
|
|
64
|
+
* @param value - Wert
|
|
81
65
|
*/
|
|
82
|
-
|
|
66
|
+
setValue(value: string): void;
|
|
67
|
+
/**
|
|
68
|
+
* Validator
|
|
69
|
+
* @param c Control Instanz
|
|
70
|
+
*/
|
|
71
|
+
validateData(c: AbstractControl): ValidationErrors | null;
|
|
72
|
+
/**
|
|
73
|
+
* Wert schreiben
|
|
74
|
+
* @param value - Wert
|
|
75
|
+
*/
|
|
76
|
+
writeValue(value: any): void;
|
|
77
|
+
/**
|
|
78
|
+
* ID extrahieren
|
|
79
|
+
* @param valueString String bei welchem die ID Extrahiert werden soll
|
|
80
|
+
*/
|
|
81
|
+
private extractId;
|
|
83
82
|
/**
|
|
84
83
|
* Nimmt das ID vom Option
|
|
85
84
|
* @param value
|
|
@@ -91,17 +90,12 @@ export declare class SacDropdownCommon extends SacBaseSelectControl<any> {
|
|
|
91
90
|
*/
|
|
92
91
|
private getOptionValue;
|
|
93
92
|
/**
|
|
94
|
-
*
|
|
95
|
-
* @param
|
|
96
|
-
*/
|
|
97
|
-
private extractId;
|
|
98
|
-
/**
|
|
99
|
-
* Validator
|
|
100
|
-
* @param c Control Instanz
|
|
93
|
+
* Setzt den Selected Value auf dem Control
|
|
94
|
+
* @param value Value
|
|
101
95
|
*/
|
|
102
|
-
|
|
96
|
+
private setSelectedValue;
|
|
103
97
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacDropdownCommon, [{ host: true; }, null, null, null]>;
|
|
104
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SacDropdownCommon, never, never, { "emptylabel": { "alias": "emptylabel"; "required": false; }; "emptyvalue": { "alias": "emptyvalue"; "required": false; }; "
|
|
98
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SacDropdownCommon, never, never, { "emptylabel": { "alias": "emptylabel"; "required": false; }; "emptyvalue": { "alias": "emptyvalue"; "required": false; }; "validationmessagerequired": { "alias": "validationmessagerequired"; "required": false; }; "validationmessagesummaryrequired": { "alias": "validationmessagesummaryrequired"; "required": false; }; "comparewith": { "alias": "comparewith"; "required": false; }; }, {}, never, never, false, never>;
|
|
105
99
|
}
|
|
106
100
|
/**
|
|
107
101
|
* SacDropdownOption-Klasse
|
|
@@ -141,4 +135,10 @@ export declare class SacDropdownOptionCommon implements OnDestroy {
|
|
|
141
135
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacDropdownOptionCommon, never>;
|
|
142
136
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SacDropdownOptionCommon, never, never, { "ngValue": { "alias": "ngValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
143
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* Function um ein Key Value Pair für das Dropdown zu erzeugen
|
|
140
|
+
* @param id ID
|
|
141
|
+
* @param value Wert der an das Element gebunden werden soll
|
|
142
|
+
*/
|
|
143
|
+
export declare function _buildValueString(id: string | null, value: any): string;
|
|
144
144
|
//# sourceMappingURL=dropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/list/dropdown.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEV,QAAQ,EAER,SAAS,EACT,SAAS,EACV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAEtE,OAAO,EAAE,
|
|
1
|
+
{"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YAAY,CAAC,CAAC,EAAE,eAAe,GAAG,gBAAgB,GAAG,IAAI;IAYhE;;;OAGG;IACI,UAAU,CAAC,KAAK,EAAE,GAAG;IAS5B;;;OAGG;IACH,OAAO,CAAC,SAAS;IAIjB;;;OAGG;IACH,OAAO,CAAC,WAAW;IASnB;;;OAGG;IACH,OAAO,CAAC,cAAc;IAKtB;;;OAGG;IACH,OAAO,CAAC,gBAAgB;yCA1Kb,iBAAiB;2CAAjB,iBAAiB;CA6L7B;AAED;;GAEG;AACH,qBACa,uBAAwB,YAAW,SAAS;IAmBrD,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,SAAS;IAlBnB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAgB;IAM1B;;;;;OAKG;gBAEO,QAAQ,EAAE,UAAU,EACpB,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,iBAAiB;IAWtC;;OAEG;IACH,IACW,OAAO,CAAC,KAAK,EAAE,GAAG,EAU5B;IAED;;OAEG;IACH,IACW,KAAK,CAAC,KAAK,EAAE,GAAG,EAE1B;IAMD;;;OAGG;IACI,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAI5C;;OAEG;IACI,WAAW,IAAI,IAAI;yCAvEf,uBAAuB;2CAAvB,uBAAuB;CA8EnC;AAMD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,EAAE,KAAK,EAAE,GAAG,GAAG,MAAM,CAavE"}
|
|
@@ -4,7 +4,7 @@ import { SacInputBase } from '../../common/baseinputcontrol';
|
|
|
4
4
|
import { IconType } from '../../enums/IconType';
|
|
5
5
|
import { ISacLanguageService } from '../../interfaces/ISacLanguageService';
|
|
6
6
|
import { LanguageModel } from '../../models/languagemodel';
|
|
7
|
-
import {
|
|
7
|
+
import { SacFormLayoutCommon } from '../layout/formlayout';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* Base Klasse für Multi Language Input Control
|
|
@@ -43,10 +43,11 @@ export declare class SacMultilanguageInputCommon extends SacInputBase<any> {
|
|
|
43
43
|
*/
|
|
44
44
|
protected lngLanguageService: ISacLanguageService;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
47
|
-
*
|
|
46
|
+
* Constructor
|
|
47
|
+
* @param formlayout SacFormLayoutCommon to define scoped layout settings
|
|
48
|
+
* @param injector Injector for injecting services
|
|
48
49
|
*/
|
|
49
|
-
constructor(
|
|
50
|
+
constructor(formlayout: SacFormLayoutCommon, injector: Injector);
|
|
50
51
|
/**
|
|
51
52
|
* Sprache für das Control
|
|
52
53
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multilanguageinput.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/multilanguage/multilanguageinput.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,QAAQ,EAAS,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,eAAe,EAAoB,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAM3D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"multilanguageinput.d.ts","sourceRoot":"","sources":["../../../../projects/sac-common/src/controls/multilanguage/multilanguageinput.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,QAAQ,EAAS,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,eAAe,EAAoB,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,M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