@simpleangularcontrols/sac-bootstrap5 16.0.0-rc.2 → 16.0.0-rc.21
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 +17 -17
- package/components/browser/browser.d.ts +6 -6
- package/controls/buttons/index.d.ts +1 -0
- package/controls/checkbox/checkbox.d.ts +5 -5
- package/controls/checkbox/radiobutton.d.ts +7 -3
- package/controls/checkbox/radiobuttons.d.ts +5 -5
- package/controls/confirm/confirm.service.d.ts +8 -8
- package/controls/contextmenu/contextmenu.d.ts +6 -6
- package/controls/contextmenu/contextmenuanchor.d.ts +2 -2
- package/controls/contextmenu/contextmenucontainer.d.ts +2 -2
- package/controls/contextmenu/contextmenuitembutton.d.ts +3 -4
- package/controls/datetime/date.d.ts +9 -8
- package/controls/datetime/datetime.d.ts +9 -8
- package/controls/datetime/time.d.ts +9 -8
- package/controls/dialog/dialog.d.ts +4 -4
- package/controls/dialog/index.d.ts +1 -0
- package/controls/form/form.d.ts +3 -11
- package/controls/form/inheritform.directive.d.ts +16 -39
- package/controls/grid/grid.d.ts +6 -6
- package/controls/grid/gridbutton.d.ts +5 -11
- package/controls/grid/gridimage.d.ts +0 -5
- package/controls/input/input.d.ts +5 -5
- package/controls/input/inputarea.d.ts +5 -5
- package/controls/input/inputcurrency.d.ts +5 -5
- package/controls/input/inputdecimal.d.ts +5 -5
- package/controls/input/inputemail.d.ts +5 -5
- package/controls/input/inputinteger.d.ts +5 -5
- package/controls/input/inputpassword.d.ts +5 -5
- package/controls/input/inputsearch.d.ts +5 -5
- package/controls/layout/formlayout.directive.d.ts +6 -0
- package/controls/layout/layout.module.d.ts +12 -0
- package/controls/layout/tocontrolheight.pipe.d.ts +12 -0
- package/controls/layout/tocontrolwidthcss.pipe.d.ts +19 -0
- package/controls/layout/tolabelheight.pipe.d.ts +12 -0
- package/controls/layout/tolabelwidthcss.pipe.d.ts +13 -0
- package/controls/list/dropdown.d.ts +19 -19
- package/controls/list/listbox.d.ts +17 -17
- package/controls/multilanguage/multilanguageinput.d.ts +5 -5
- package/controls/multilanguage/multilanguageinputarea.d.ts +5 -5
- package/controls/multilanguage/multilanguagemenu.d.ts +9 -9
- package/controls/multilanguage/multilanguagemenuanchor.d.ts +2 -2
- package/controls/multilanguage/multilanguagemenucontainer.d.ts +2 -2
- package/controls/multilanguage/multilanguagemenuitembutton.d.ts +3 -4
- package/controls/static/formcontainer.d.ts +7 -7
- package/controls/static/staticlabel.d.ts +5 -5
- package/controls/tabs/tab.d.ts +1 -1
- package/controls/tinymce/tinymce.d.ts +7 -7
- package/controls/tooltip/tooltip.d.ts +37 -0
- package/controls/tooltip/tooltip.module.d.ts +8 -0
- package/controls/treeview/treeview.d.ts +17 -0
- package/controls/treeview/treeview.module.d.ts +8 -0
- package/controls/upload/dropzonemultiple.d.ts +7 -7
- package/controls/upload/dropzonesingle.d.ts +7 -7
- package/controls/upload/upload.d.ts +7 -7
- package/controls/upload/uploadmultiple.d.ts +7 -7
- package/controls/validation/validationsummary.d.ts +5 -5
- package/esm2022/components/browser/browser.mjs +19 -15
- package/esm2022/components/browser/browser.module.mjs +1 -1
- package/esm2022/controls/buttons/button.mjs +5 -5
- package/esm2022/controls/buttons/button.module.mjs +5 -9
- package/esm2022/controls/buttons/index.mjs +2 -0
- package/esm2022/controls/checkbox/checkbox.mjs +27 -19
- package/esm2022/controls/checkbox/checkbox.module.mjs +1 -1
- package/esm2022/controls/checkbox/radiobutton.mjs +18 -9
- package/esm2022/controls/checkbox/radiobuttons.mjs +28 -20
- package/esm2022/controls/confirm/confirm.mjs +3 -3
- package/esm2022/controls/confirm/confirm.module.mjs +1 -1
- package/esm2022/controls/confirm/confirm.service.mjs +30 -15
- package/esm2022/controls/contextmenu/contextmenu.mjs +16 -24
- package/esm2022/controls/contextmenu/contextmenu.module.mjs +12 -8
- package/esm2022/controls/contextmenu/contextmenuanchor.mjs +5 -4
- package/esm2022/controls/contextmenu/contextmenucontainer.mjs +5 -4
- package/esm2022/controls/contextmenu/contextmenuitembutton.mjs +22 -13
- package/esm2022/controls/contextmenu/contextmenuitemsplitter.mjs +14 -4
- package/esm2022/controls/contextmenu/index.mjs +1 -1
- package/esm2022/controls/datetime/date.mjs +39 -18
- package/esm2022/controls/datetime/dateselector.mjs +5 -10
- package/esm2022/controls/datetime/datetime.mjs +36 -18
- package/esm2022/controls/datetime/datetime.module.mjs +1 -1
- package/esm2022/controls/datetime/time.mjs +36 -18
- package/esm2022/controls/dialog/dialog.mjs +16 -12
- package/esm2022/controls/dialog/dialog.module.mjs +1 -1
- package/esm2022/controls/dialog/index.mjs +2 -0
- package/esm2022/controls/form/form.mjs +6 -17
- package/esm2022/controls/form/form.module.mjs +1 -1
- package/esm2022/controls/form/inheritform.directive.mjs +46 -63
- package/esm2022/controls/grid/grid.mjs +14 -16
- package/esm2022/controls/grid/grid.module.mjs +2 -2
- package/esm2022/controls/grid/gridbutton.mjs +11 -35
- package/esm2022/controls/grid/gridcolumn.mjs +3 -3
- package/esm2022/controls/grid/gridcolumnaction.mjs +3 -3
- package/esm2022/controls/grid/gridimage.mjs +5 -17
- package/esm2022/controls/grid/paging.mjs +17 -14
- package/esm2022/controls/input/input.mjs +29 -14
- package/esm2022/controls/input/input.module.mjs +1 -1
- package/esm2022/controls/input/inputarea.mjs +30 -15
- package/esm2022/controls/input/inputcurrency.mjs +29 -14
- package/esm2022/controls/input/inputdecimal.mjs +30 -15
- package/esm2022/controls/input/inputemail.mjs +29 -14
- package/esm2022/controls/input/inputinteger.mjs +29 -14
- package/esm2022/controls/input/inputpassword.mjs +28 -14
- package/esm2022/controls/input/inputsearch.mjs +29 -14
- package/esm2022/controls/layout/formlayout.directive.mjs +16 -0
- package/esm2022/controls/layout/layout.module.mjs +44 -0
- package/esm2022/controls/layout/tocontrolheight.pipe.mjs +35 -0
- package/esm2022/controls/layout/tocontrolwidthcss.pipe.mjs +59 -0
- package/esm2022/controls/layout/tolabelheight.pipe.mjs +35 -0
- package/esm2022/controls/layout/tolabelwidthcss.pipe.mjs +43 -0
- package/esm2022/controls/list/dropdown.mjs +55 -44
- package/esm2022/controls/list/dropdown.module.mjs +1 -1
- package/esm2022/controls/list/list.module.mjs +1 -1
- package/esm2022/controls/list/listbox.mjs +54 -44
- package/esm2022/controls/multilanguage/multilanguage.module.mjs +1 -1
- package/esm2022/controls/multilanguage/multilanguageinput.mjs +30 -17
- package/esm2022/controls/multilanguage/multilanguageinputarea.mjs +30 -17
- package/esm2022/controls/multilanguage/multilanguagemenu.mjs +13 -11
- package/esm2022/controls/multilanguage/multilanguagemenuanchor.mjs +5 -4
- package/esm2022/controls/multilanguage/multilanguagemenucontainer.mjs +5 -4
- package/esm2022/controls/multilanguage/multilanguagemenuitembutton.mjs +21 -12
- package/esm2022/controls/static/formcontainer.mjs +29 -18
- package/esm2022/controls/static/staticlabel.mjs +29 -14
- package/esm2022/controls/static/staticlabel.module.mjs +1 -1
- package/esm2022/controls/tabs/tab.mjs +8 -10
- package/esm2022/controls/tabs/tabitem.mjs +3 -3
- package/esm2022/controls/tabs/tabs.module.mjs +1 -1
- package/esm2022/controls/tinymce/tinymce.mjs +34 -21
- package/esm2022/controls/tinymce/tinymce.module.mjs +1 -1
- package/esm2022/controls/tooltip/tooltip.mjs +51 -0
- package/esm2022/controls/tooltip/tooltip.module.mjs +18 -0
- package/esm2022/controls/treeview/treeview.mjs +71 -0
- package/esm2022/controls/treeview/treeview.module.mjs +18 -0
- package/esm2022/controls/upload/dropzonemultiple.mjs +34 -15
- package/esm2022/controls/upload/dropzonesingle.mjs +34 -15
- package/esm2022/controls/upload/upload.mjs +31 -15
- package/esm2022/controls/upload/upload.module.mjs +1 -1
- package/esm2022/controls/upload/uploadmultiple.mjs +32 -15
- package/esm2022/controls/validation/validationsummary.mjs +12 -19
- package/esm2022/controls/validation/validationsummary.module.mjs +1 -1
- package/esm2022/controls/wizard/wizard.mjs +3 -3
- package/esm2022/controls/wizard/wizard.module.mjs +1 -1
- package/esm2022/controls/wizard/wizarditem.mjs +1 -1
- package/esm2022/public-api.mjs +38 -26
- package/fesm2022/simpleangularcontrols-sac-bootstrap5.mjs +1226 -664
- package/fesm2022/simpleangularcontrols-sac-bootstrap5.mjs.map +1 -1
- package/package.json +37 -36
- package/public-api.d.ts +37 -25
- package/simpleangularcontrols-sac-bootstrap5-16.0.0-rc.21.tgz +0 -0
- package/simpleangularcontrols-sac-bootstrap5-16.0.0-rc.2.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
# SimpleAngularControls - Common
|
|
2
|
-
|
|
3
|
-
## Documentation
|
|
4
|
-
|
|
5
|
-
The package provides the controls for Bootstrap 5. The `sac-common` is also required.
|
|
6
|
-
|
|
7
|
-
## Installation
|
|
8
|
-
|
|
9
|
-
Do the follow steps to add
|
|
10
|
-
|
|
11
|
-
* add `@simpleangularcontrols/sac-bootstrap5` dependencies from npm
|
|
12
|
-
* add `@simpleangularcontrols/sac-common` dependencies from npm
|
|
13
|
-
* add Bootstrap 5 CSS/SCSS to your project
|
|
14
|
-
* import the module to your components and modules
|
|
15
|
-
|
|
16
|
-
## Project
|
|
17
|
-
|
|
1
|
+
# SimpleAngularControls - Common
|
|
2
|
+
|
|
3
|
+
## Documentation
|
|
4
|
+
|
|
5
|
+
The package provides the controls for Bootstrap 5. The `sac-common` is also required.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
Do the follow steps to add
|
|
10
|
+
|
|
11
|
+
* add `@simpleangularcontrols/sac-bootstrap5` dependencies from npm
|
|
12
|
+
* add `@simpleangularcontrols/sac-common` dependencies from npm
|
|
13
|
+
* add Bootstrap 5 CSS/SCSS to your project
|
|
14
|
+
* import the module to your components and modules
|
|
15
|
+
|
|
16
|
+
## Project
|
|
17
|
+
|
|
18
18
|
For more information, follow us on GitHub: https://github.com/simpleangularcontrols
|
|
@@ -20,12 +20,6 @@ export declare class SacBrowserComponent extends SacFileBrowserCommon {
|
|
|
20
20
|
* @param confirmService Confirm Service
|
|
21
21
|
*/
|
|
22
22
|
constructor(httpClient: HttpClient, injector: Injector, confirmService: ServiceConfirm);
|
|
23
|
-
/**
|
|
24
|
-
* Erzeugt ein Array von einer bestimmten grösse
|
|
25
|
-
* @param anzahl Grösse des Array
|
|
26
|
-
* @returns Array
|
|
27
|
-
*/
|
|
28
|
-
count(anzahl: number): Array<void>;
|
|
29
23
|
/**
|
|
30
24
|
* Confirm Action wenn ein File gelöscht werden soll
|
|
31
25
|
* @param file File das gelöscht werden soll.
|
|
@@ -38,6 +32,12 @@ export declare class SacBrowserComponent extends SacFileBrowserCommon {
|
|
|
38
32
|
* @returns Observable ob Ordner gelöscht kann.
|
|
39
33
|
*/
|
|
40
34
|
confirmDeleteNode(node: IBrowserNode): Observable<boolean>;
|
|
35
|
+
/**
|
|
36
|
+
* Erzeugt ein Array von einer bestimmten grösse
|
|
37
|
+
* @param anzahl Grösse des Array
|
|
38
|
+
* @returns Array
|
|
39
|
+
*/
|
|
40
|
+
count(anzahl: number): Array<void>;
|
|
41
41
|
/**
|
|
42
42
|
* Methode wird aufgerufen, wenn eine Datei verschoben wird
|
|
43
43
|
* @param uploadid Upload ID
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SacButtonComponent } from './button';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { SacCheckboxCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormDirective } from '../form/form';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Checkbox Kompontente
|
|
7
7
|
*/
|
|
8
8
|
export declare class SacCheckboxComponent extends SacCheckboxCommon {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
* @param
|
|
12
|
-
* @param injector
|
|
10
|
+
* Constructor
|
|
11
|
+
* @param formLayout SacFormLayout to define scoped layout settings
|
|
12
|
+
* @param injector Injector for injecting services
|
|
13
13
|
*/
|
|
14
|
-
constructor(
|
|
14
|
+
constructor(formLayout: SacFormLayoutDirective, injector: Injector);
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacCheckboxComponent, [{ optional: true; host: true; }, null]>;
|
|
16
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<SacCheckboxComponent, "sac-checkbox", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
2
2
|
import { SacRadiobuttonsComponent } from './radiobuttons';
|
|
3
|
+
import { Injector } from '@angular/core';
|
|
4
|
+
import { SacRadiobuttonCommon } from '@simpleangularcontrols/sac-common';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
6
|
/**
|
|
5
7
|
* Radiobutton Komponente
|
|
@@ -8,8 +10,10 @@ export declare class SacRadiobuttonComponent extends SacRadiobuttonCommon {
|
|
|
8
10
|
/**
|
|
9
11
|
* Konstruktor
|
|
10
12
|
* @param SacRadioButtons Radio Buttons Group Komponente
|
|
13
|
+
* @param formlayout SacFormLayoutCommon to define scoped layout settings
|
|
14
|
+
* @param injector Injector for injecting services
|
|
11
15
|
*/
|
|
12
|
-
constructor(sacRadioButtons: SacRadiobuttonsComponent);
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SacRadiobuttonComponent, [{ host: true; }]>;
|
|
16
|
+
constructor(sacRadioButtons: SacRadiobuttonsComponent, formLayout: SacFormLayoutDirective, injector: Injector);
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SacRadiobuttonComponent, [{ host: true; }, { optional: true; host: true; }, null]>;
|
|
14
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<SacRadiobuttonComponent, "sac-radiobutton", never, {}, {}, never, never, true, never>;
|
|
15
19
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { SacRadiobuttonsCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormDirective } from '../form/form';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Radiobuttons Group Komponente
|
|
7
7
|
*/
|
|
8
8
|
export declare class SacRadiobuttonsComponent extends SacRadiobuttonsCommon {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
* @param
|
|
12
|
-
* @param injector
|
|
10
|
+
* Constructor
|
|
11
|
+
* @param formLayout SacFormLayout to define scoped layout settings
|
|
12
|
+
* @param injector Injector for injecting services
|
|
13
13
|
*/
|
|
14
|
-
constructor(
|
|
14
|
+
constructor(formLayout: SacFormLayoutDirective, injector: Injector);
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacRadiobuttonsComponent, [{ optional: true; host: true; }, null]>;
|
|
16
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<SacRadiobuttonsComponent, "sac-radiobuttons", never, {}, {}, never, ["*"], true, never>;
|
|
17
17
|
}
|
|
@@ -19,17 +19,17 @@ import * as i0 from "@angular/core";
|
|
|
19
19
|
export declare class ServiceConfirm extends ServiceConfirmCommon {
|
|
20
20
|
private componentFactoryResolver;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Collection von Buttons die angezeigt werden müssen.
|
|
23
23
|
*/
|
|
24
|
-
private
|
|
24
|
+
private buttons;
|
|
25
25
|
/**
|
|
26
26
|
* Message die in Dialog angezeigt werden soll.
|
|
27
27
|
*/
|
|
28
28
|
private message;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Titel der im Dialog angezeigt werden soll.
|
|
31
31
|
*/
|
|
32
|
-
private
|
|
32
|
+
private title;
|
|
33
33
|
/**
|
|
34
34
|
* Konstruktor
|
|
35
35
|
* @param componentFactoryResolver Component Factory Resolver Instanz
|
|
@@ -37,16 +37,16 @@ export declare class ServiceConfirm extends ServiceConfirmCommon {
|
|
|
37
37
|
* @param injector Injector. Wird benötigt um den Dialog dynamisch zu erzeugen
|
|
38
38
|
*/
|
|
39
39
|
constructor(componentFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector);
|
|
40
|
-
/**
|
|
41
|
-
* Erzeugen einer Component Factory für einen Dialog
|
|
42
|
-
*/
|
|
43
|
-
GetComponentFactory(): ComponentFactory<SacConfirmComponent>;
|
|
44
40
|
/**
|
|
45
41
|
* Confirm Dialog anzeigen
|
|
46
42
|
* @param message Nachricht die angezeigt werden soll.
|
|
47
43
|
* @returns EventEmitter mit Key des Buttons, welcher geklickt wurde.
|
|
48
44
|
*/
|
|
49
45
|
ConfirmMessage(title: string, message: string, buttons?: SacConfirmButton[]): EventEmitter<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Erzeugen einer Component Factory für einen Dialog
|
|
48
|
+
*/
|
|
49
|
+
GetComponentFactory(): ComponentFactory<SacConfirmComponent>;
|
|
50
50
|
/**
|
|
51
51
|
* Konfiguration des Dialogs
|
|
52
52
|
* @param instance Instanz eines SacConfirm Dialogs
|
|
@@ -7,13 +7,13 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class SacContextmenuComponent extends SacContextmenuCommon {
|
|
8
8
|
/**
|
|
9
9
|
* Constructor
|
|
10
|
-
* @param
|
|
11
|
-
* @param
|
|
12
|
-
* @param
|
|
13
|
-
* @param
|
|
14
|
-
* @param
|
|
10
|
+
* @param document Referenz auf HTML Document
|
|
11
|
+
* @param ngZone Angular Zone Service
|
|
12
|
+
* @param elementRef Referenz auf HTML Element der aktuellen Komponente
|
|
13
|
+
* @param renderer Render Service von Angular
|
|
14
|
+
* @param injector injector to resolve services
|
|
15
15
|
*/
|
|
16
|
-
constructor(
|
|
16
|
+
constructor(document: any, ngZone: NgZone, elementRef: ElementRef<HTMLElement>, renderer: Renderer2, injector: Injector);
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacContextmenuComponent, never>;
|
|
18
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<SacContextmenuComponent, "sac-contextmenu", never, {}, {}, never, ["*"], true, never>;
|
|
19
19
|
}
|
|
@@ -7,9 +7,9 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class SacContextmenuAnchorDirective extends SacContextmenuAnchorCommon {
|
|
8
8
|
/**
|
|
9
9
|
* Konstruktor
|
|
10
|
-
* @param
|
|
10
|
+
* @param elementRef HTML DOM Referenz
|
|
11
11
|
*/
|
|
12
|
-
constructor(
|
|
12
|
+
constructor(elementRef: ElementRef<HTMLElement>);
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacContextmenuAnchorDirective, never>;
|
|
14
14
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SacContextmenuAnchorDirective, "[sacContextMenuAnchor]", never, {}, {}, never, never, true, never>;
|
|
15
15
|
}
|
|
@@ -7,9 +7,9 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class SacContextmenuContainerDirective extends SacContextMenuContrainerCommon {
|
|
8
8
|
/**
|
|
9
9
|
* Konstruktor
|
|
10
|
-
* @param
|
|
10
|
+
* @param elementRef Referenz auf DOM Element
|
|
11
11
|
*/
|
|
12
|
-
constructor(
|
|
12
|
+
constructor(elementRef: ElementRef<HTMLElement>);
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacContextmenuContainerDirective, never>;
|
|
14
14
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SacContextmenuContainerDirective, "[sacContextMenuContainer]", never, {}, {}, never, never, true, never>;
|
|
15
15
|
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SacContextmenuItemButtonCommon } from '@simpleangularcontrols/sac-common';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
|
-
* Component
|
|
4
|
+
* Component for menu entry in context menu
|
|
5
5
|
*/
|
|
6
6
|
export declare class SacContextmenuItemButtonComponent extends SacContextmenuItemButtonCommon {
|
|
7
7
|
/**
|
|
8
8
|
* Constructor
|
|
9
|
-
* @param contextmenu Instance von Context Menü
|
|
10
9
|
*/
|
|
11
|
-
constructor(
|
|
10
|
+
constructor();
|
|
12
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacContextmenuItemButtonComponent, never>;
|
|
13
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<SacContextmenuItemButtonComponent, "sac-contextmenubutton", never, {}, {}, never, never, true, never>;
|
|
14
13
|
}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
2
|
+
import { ChangeDetectorRef, ElementRef, Injector } from '@angular/core';
|
|
2
3
|
import { SacDateCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormDirective } from '../form/form';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Komponente für Datumauswahl
|
|
7
7
|
*/
|
|
8
8
|
export declare class SacDateComponent extends SacDateCommon {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
* @param
|
|
12
|
-
* @param injector
|
|
13
|
-
* @param
|
|
10
|
+
* Constructor
|
|
11
|
+
* @param formLayout SacFormLayout to define scoped layout settings
|
|
12
|
+
* @param injector Injector for injecting services
|
|
13
|
+
* @param elementRef Reference to html dom element
|
|
14
|
+
* @param cdRef Change Dectection Servie
|
|
14
15
|
*/
|
|
15
|
-
constructor(
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SacDateComponent, [{ optional: true; host: true; }, null, null]>;
|
|
16
|
+
constructor(formLayout: SacFormLayoutDirective, injector: Injector, elementRef: ElementRef, cdRef: ChangeDetectorRef);
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SacDateComponent, [{ optional: true; host: true; }, null, null, null]>;
|
|
17
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<SacDateComponent, "sac-date", never, {}, {}, never, never, true, never>;
|
|
18
19
|
}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
2
|
+
import { ChangeDetectorRef, ElementRef, Injector } from '@angular/core';
|
|
2
3
|
import { SacDateTimeCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormDirective } from '../form/form';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Date und Time Komponente
|
|
7
7
|
*/
|
|
8
8
|
export declare class SacDateTimeComponent extends SacDateTimeCommon {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
* @param
|
|
12
|
-
* @param injector
|
|
13
|
-
* @param
|
|
10
|
+
* Constructor
|
|
11
|
+
* @param formLayout SacFormLayout to define scoped layout settings
|
|
12
|
+
* @param injector Injector for injecting services
|
|
13
|
+
* @param elementRef Reference to html dom element
|
|
14
|
+
* @param cdRef Change Dectection Servie
|
|
14
15
|
*/
|
|
15
|
-
constructor(
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SacDateTimeComponent, [{ optional: true; host: true; }, null, null]>;
|
|
16
|
+
constructor(formLayout: SacFormLayoutDirective, injector: Injector, elementRef: ElementRef, cdRef: ChangeDetectorRef);
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SacDateTimeComponent, [{ optional: true; host: true; }, null, null, null]>;
|
|
17
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<SacDateTimeComponent, "sac-datetime", never, {}, {}, never, never, true, never>;
|
|
18
19
|
}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
2
|
+
import { ChangeDetectorRef, ElementRef, Injector } from '@angular/core';
|
|
2
3
|
import { SacTimeCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormDirective } from '../form/form';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Time Auswahl Komponente
|
|
7
7
|
*/
|
|
8
8
|
export declare class SacTimeComponent extends SacTimeCommon {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
* @param
|
|
12
|
-
* @param injector
|
|
13
|
-
* @param
|
|
10
|
+
* Constructor
|
|
11
|
+
* @param formLayout SacFormLayout to define scoped layout settings
|
|
12
|
+
* @param injector Injector for injecting services
|
|
13
|
+
* @param elementRef Reference to html dom element
|
|
14
|
+
* @param cdRef Change Dectection Servie
|
|
14
15
|
*/
|
|
15
|
-
constructor(
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SacTimeComponent, [{ optional: true; host: true; }, null, null]>;
|
|
16
|
+
constructor(formLayout: SacFormLayoutDirective, injector: Injector, elementRef: ElementRef, cdRef: ChangeDetectorRef);
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SacTimeComponent, [{ optional: true; host: true; }, null, null, null]>;
|
|
17
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<SacTimeComponent, "sac-time", never, {}, {}, never, never, true, never>;
|
|
18
19
|
}
|
|
@@ -15,14 +15,14 @@ export declare class SacDialogComponent extends SacDialogCommon implements OnIni
|
|
|
15
15
|
* @param cdRef Change Detection Service
|
|
16
16
|
*/
|
|
17
17
|
constructor(el: ElementRef, cdRef: ChangeDetectorRef);
|
|
18
|
-
/**
|
|
19
|
-
* Event wenn Komponente initialisiert wird
|
|
20
|
-
*/
|
|
21
|
-
ngOnInit(): void;
|
|
22
18
|
/**
|
|
23
19
|
* Event wenn Element entfernt wird
|
|
24
20
|
*/
|
|
25
21
|
ngOnDestroy(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Event wenn Komponente initialisiert wird
|
|
24
|
+
*/
|
|
25
|
+
ngOnInit(): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacDialogComponent, never>;
|
|
27
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<SacDialogComponent, "sac-dialog", never, {}, {}, never, ["[dialogbody]", "[dialogfooter]"], true, never>;
|
|
28
28
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SacDialogComponent } from './dialog';
|
package/controls/form/form.d.ts
CHANGED
|
@@ -14,23 +14,15 @@ import * as i0 from "@angular/core";
|
|
|
14
14
|
*
|
|
15
15
|
*/
|
|
16
16
|
export declare class SacFormDirective extends SacFormCommon {
|
|
17
|
-
/**
|
|
18
|
-
* Konstruktor
|
|
19
|
-
* @param form Instanz von NgForm für eigene automatische Formular Logik
|
|
20
|
-
*/
|
|
21
|
-
constructor(form: NgForm);
|
|
22
17
|
/**
|
|
23
18
|
* Setzt die Standard CSS Klasse für auf dem Form Container
|
|
24
19
|
*/
|
|
25
20
|
cssClassForm: boolean;
|
|
26
21
|
/**
|
|
27
|
-
*
|
|
28
|
-
|
|
29
|
-
get orientientationHorizontal(): boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Setzt die CSS Klasse 'form-vertical' wenn die Orientation auf Vertical eingestellt ist
|
|
22
|
+
* Konstruktor
|
|
23
|
+
* @param form Instanz von NgForm für eigene automatische Formular Logik
|
|
32
24
|
*/
|
|
33
|
-
|
|
25
|
+
constructor(form: NgForm);
|
|
34
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacFormDirective, never>;
|
|
35
27
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SacFormDirective, "form:not([ngNoForm]):not([formGroup]),[ngForm]", ["sacform"], {}, {}, never, never, true, never>;
|
|
36
28
|
}
|
|
@@ -1,50 +1,27 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
2
|
import { NgForm } from '@angular/forms';
|
|
3
|
+
import { SacFormCommon } from '@simpleangularcontrols/sac-common';
|
|
4
|
+
import { SacFormDirective } from './form';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
6
|
/**
|
|
5
|
-
*
|
|
6
|
-
* @param form SacFormular
|
|
7
|
+
* Directive to inherit an NgForm/NgForm from a parent component
|
|
7
8
|
*/
|
|
8
|
-
export declare
|
|
9
|
+
export declare class SacInheritFormDirective extends SacFormCommon {
|
|
10
|
+
/**
|
|
11
|
+
* Construtor
|
|
12
|
+
* @param injector: injector to receive the NgForm instance
|
|
13
|
+
*/
|
|
14
|
+
constructor(injector: Injector);
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SacInheritFormDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SacInheritFormDirective, "[sacInheritForm]", ["sacinheritform"], {}, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
9
18
|
/**
|
|
10
19
|
* Factory Methode für NgForm
|
|
11
20
|
* @param form NgForm
|
|
12
21
|
*/
|
|
13
22
|
export declare function NGFORM_FACTORY(form: NgForm): NgForm;
|
|
14
23
|
/**
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* @example Implementation in Markup
|
|
18
|
-
*
|
|
19
|
-
* <div sacInheritForm>
|
|
20
|
-
* </div>
|
|
21
|
-
*
|
|
22
|
-
* @example Model an Sub-Komponente übergeben
|
|
23
|
-
*
|
|
24
|
-
* <div sacInheritForm>
|
|
25
|
-
* <div>SubForm</div>
|
|
26
|
-
* <div>
|
|
27
|
-
* <ngInput [(ngModel)]="mymodel.fieldarea2" name="subformField3" label="field 3" [isrequired]="true"></ngInput>
|
|
28
|
-
* </div>
|
|
29
|
-
* </div>
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* (at)Component({
|
|
33
|
-
* selector: 'sacInheritForm',
|
|
34
|
-
* templateUrl: './subform.component.html'
|
|
35
|
-
* })
|
|
36
|
-
* export class SubFormComponent implements DoCheck {
|
|
37
|
-
*
|
|
38
|
-
* (at)Input() mymodel;
|
|
39
|
-
* (at)Output() mymodelChange = new EventEmitter();
|
|
40
|
-
*
|
|
41
|
-
* ngDoCheck() {
|
|
42
|
-
* this.mymodelChange.next(this.mymodel);
|
|
43
|
-
* }
|
|
44
|
-
*}
|
|
45
|
-
*
|
|
24
|
+
* Factory Methode für SacForm
|
|
25
|
+
* @param form SacFormular
|
|
46
26
|
*/
|
|
47
|
-
export declare
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SacInheritFormDirective, never>;
|
|
49
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SacInheritFormDirective, "[sacInheritForm]", never, {}, {}, never, never, true, never>;
|
|
50
|
-
}
|
|
27
|
+
export declare function SACFORM_FACTORY(form: SacFormDirective): SacFormDirective;
|
package/controls/grid/grid.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { ChangeDetectorRef, TemplateRef } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, Injector, TemplateRef } from '@angular/core';
|
|
2
2
|
import { SacGridCommon } from '@simpleangularcontrols/sac-common';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* Grid Komponente
|
|
6
6
|
*/
|
|
7
7
|
export declare class SacGridComponent extends SacGridCommon {
|
|
8
|
-
/**
|
|
9
|
-
* Referenz auf Column Template
|
|
10
|
-
*/
|
|
11
|
-
template: TemplateRef<any>;
|
|
12
8
|
/**
|
|
13
9
|
* Setzt die Ellipsis Funktion auf der Column
|
|
14
10
|
*/
|
|
15
11
|
ellipsis: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Referenz auf Column Template
|
|
14
|
+
*/
|
|
15
|
+
template: TemplateRef<any>;
|
|
16
16
|
/**
|
|
17
17
|
* Konstrukor
|
|
18
18
|
* @param cdRef Change Detection Reference
|
|
19
19
|
*/
|
|
20
|
-
constructor(cdRef: ChangeDetectorRef);
|
|
20
|
+
constructor(cdRef: ChangeDetectorRef, injector: Injector);
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacGridComponent, never>;
|
|
22
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<SacGridComponent, "sac-grid", never, {}, {}, ["template"], never, true, never>;
|
|
23
23
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
1
2
|
import { SacGridButtonCommon } from '@simpleangularcontrols/sac-common';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
4
5
|
* Grid Action Button
|
|
5
|
-
*
|
|
6
|
-
* @example Standard Action
|
|
7
|
-
*
|
|
8
|
-
* <ngGridButton icon="edit" (clicked)="action('edit')" [isdisabled]="true"></ngGridButton>
|
|
9
|
-
*
|
|
10
|
-
* @example Custom Action
|
|
11
|
-
*
|
|
12
|
-
* <ngGridButton iconstyle="sprite" icon="icon-sprite-base-main_info" (clicked)="action("info")"></ngGridButton>
|
|
13
|
-
*
|
|
14
6
|
*/
|
|
15
7
|
export declare class SacGridButtonComponent extends SacGridButtonCommon {
|
|
16
8
|
/**
|
|
17
|
-
*
|
|
9
|
+
* Construtor
|
|
10
|
+
*
|
|
11
|
+
* @param injector Injector to resolve icons
|
|
18
12
|
*/
|
|
19
|
-
|
|
13
|
+
constructor(injector: Injector);
|
|
20
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacGridButtonComponent, never>;
|
|
21
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<SacGridButtonComponent, "sac-gridbutton", never, {}, {}, never, never, true, never>;
|
|
22
16
|
}
|
|
@@ -4,11 +4,6 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
* Image Item für Grid
|
|
5
5
|
*/
|
|
6
6
|
export declare class SacGridImageComponent extends SacGridImageCommon {
|
|
7
|
-
/**
|
|
8
|
-
* Gibt die CSS Klassen für Sprite Images zurück
|
|
9
|
-
* @returns CSS Klasse
|
|
10
|
-
*/
|
|
11
|
-
getIconClass(): string;
|
|
12
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacGridImageComponent, never>;
|
|
13
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<SacGridImageComponent, "sac-gridimage", never, {}, {}, never, never, true, never>;
|
|
14
9
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { SacInputCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormDirective } from '../form/form';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Input Komponente
|
|
7
7
|
*/
|
|
8
8
|
export declare class SacInputComponent extends SacInputCommon {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
* @param
|
|
12
|
-
* @param injector
|
|
10
|
+
* Constructor
|
|
11
|
+
* @param formLayout SacFormLayout to define scoped layout settings
|
|
12
|
+
* @param injector Injector for injecting services
|
|
13
13
|
*/
|
|
14
|
-
constructor(
|
|
14
|
+
constructor(formLayout: SacFormLayoutDirective, injector: Injector);
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacInputComponent, [{ optional: true; host: true; }, null]>;
|
|
16
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<SacInputComponent, "sac-input", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { SacInputAreaCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormDirective } from '../form/form';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Input Box für lange Texte
|
|
7
7
|
*/
|
|
8
8
|
export declare class SacInputAreaComponent extends SacInputAreaCommon {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
* @param
|
|
12
|
-
* @param injector
|
|
10
|
+
* Constructor
|
|
11
|
+
* @param formLayout SacFormLayout to define scoped layout settings
|
|
12
|
+
* @param injector Injector for injecting services
|
|
13
13
|
*/
|
|
14
|
-
constructor(
|
|
14
|
+
constructor(formLayout: SacFormLayoutDirective, injector: Injector);
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacInputAreaComponent, [{ optional: true; host: true; }, null]>;
|
|
16
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<SacInputAreaComponent, "sac-inputarea", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { SacInputCurrencyCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormDirective } from '../form/form';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Input Control für Währungen
|
|
7
7
|
*/
|
|
8
8
|
export declare class SacInputCurrencyComponent extends SacInputCurrencyCommon {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
* @param
|
|
12
|
-
* @param injector
|
|
10
|
+
* Constructor
|
|
11
|
+
* @param formLayout SacFormLayout to define scoped layout settings
|
|
12
|
+
* @param injector Injector for injecting services
|
|
13
13
|
*/
|
|
14
|
-
constructor(
|
|
14
|
+
constructor(formLayout: SacFormLayoutDirective, injector: Injector);
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacInputCurrencyComponent, [{ optional: true; host: true; }, null]>;
|
|
16
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<SacInputCurrencyComponent, "sac-inputcurrency", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { SacInputDecimalCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormDirective } from '../form/form';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Input Komponente für Zahlen
|
|
7
7
|
*/
|
|
8
8
|
export declare class SacInputDecimalComponent extends SacInputDecimalCommon {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
* @param
|
|
12
|
-
* @param injector
|
|
10
|
+
* Constructor
|
|
11
|
+
* @param formLayout SacFormLayout to define scoped layout settings
|
|
12
|
+
* @param injector Injector for injecting services
|
|
13
13
|
*/
|
|
14
|
-
constructor(
|
|
14
|
+
constructor(formLayout: SacFormLayoutDirective, injector: Injector);
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacInputDecimalComponent, [{ optional: true; host: true; }, null]>;
|
|
16
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<SacInputDecimalComponent, "sac-inputdecimal", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|