@simpleangularcontrols/sac-bootstrap5 16.0.0-rc.1

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 (155) hide show
  1. package/README.md +24 -0
  2. package/components/browser/browser.d.ts +48 -0
  3. package/components/browser/browser.module.d.ts +7 -0
  4. package/controls/buttons/button.d.ts +11 -0
  5. package/controls/buttons/button.module.d.ts +8 -0
  6. package/controls/checkbox/checkbox.d.ts +17 -0
  7. package/controls/checkbox/checkbox.module.d.ts +10 -0
  8. package/controls/checkbox/radiobutton.d.ts +15 -0
  9. package/controls/checkbox/radiobuttons.d.ts +17 -0
  10. package/controls/confirm/confirm.d.ts +9 -0
  11. package/controls/confirm/confirm.module.d.ts +16 -0
  12. package/controls/confirm/confirm.service.d.ts +57 -0
  13. package/controls/contextmenu/contextmenu.d.ts +19 -0
  14. package/controls/contextmenu/contextmenu.module.d.ts +12 -0
  15. package/controls/contextmenu/contextmenuanchor.d.ts +15 -0
  16. package/controls/contextmenu/contextmenucontainer.d.ts +15 -0
  17. package/controls/contextmenu/contextmenuitembutton.d.ts +14 -0
  18. package/controls/contextmenu/contextmenuitemsplitter.d.ts +9 -0
  19. package/controls/contextmenu/index.d.ts +1 -0
  20. package/controls/datetime/date.d.ts +18 -0
  21. package/controls/datetime/dateselector.d.ts +9 -0
  22. package/controls/datetime/datetime.d.ts +18 -0
  23. package/controls/datetime/datetime.module.d.ts +12 -0
  24. package/controls/datetime/time.d.ts +18 -0
  25. package/controls/dialog/dialog.d.ts +28 -0
  26. package/controls/dialog/dialog.module.d.ts +8 -0
  27. package/controls/form/form.d.ts +36 -0
  28. package/controls/form/form.module.d.ts +10 -0
  29. package/controls/form/inheritform.directive.d.ts +50 -0
  30. package/controls/grid/grid.d.ts +23 -0
  31. package/controls/grid/grid.module.d.ts +14 -0
  32. package/controls/grid/gridbutton.d.ts +22 -0
  33. package/controls/grid/gridcolumn.d.ts +17 -0
  34. package/controls/grid/gridcolumnaction.d.ts +17 -0
  35. package/controls/grid/gridimage.d.ts +14 -0
  36. package/controls/grid/paging.d.ts +15 -0
  37. package/controls/input/input.d.ts +17 -0
  38. package/controls/input/input.module.d.ts +15 -0
  39. package/controls/input/inputarea.d.ts +17 -0
  40. package/controls/input/inputcurrency.d.ts +17 -0
  41. package/controls/input/inputdecimal.d.ts +17 -0
  42. package/controls/input/inputemail.d.ts +17 -0
  43. package/controls/input/inputinteger.d.ts +17 -0
  44. package/controls/input/inputpassword.d.ts +17 -0
  45. package/controls/input/inputsearch.d.ts +17 -0
  46. package/controls/list/dropdown.d.ts +33 -0
  47. package/controls/list/dropdown.module.d.ts +8 -0
  48. package/controls/list/list.module.d.ts +8 -0
  49. package/controls/list/listbox.d.ts +31 -0
  50. package/controls/multilanguage/multilanguage.module.d.ts +13 -0
  51. package/controls/multilanguage/multilanguageinput.d.ts +21 -0
  52. package/controls/multilanguage/multilanguageinputarea.d.ts +21 -0
  53. package/controls/multilanguage/multilanguagemenu.d.ts +23 -0
  54. package/controls/multilanguage/multilanguagemenuanchor.d.ts +15 -0
  55. package/controls/multilanguage/multilanguagemenucontainer.d.ts +15 -0
  56. package/controls/multilanguage/multilanguagemenuitembutton.d.ts +14 -0
  57. package/controls/static/formcontainer.d.ts +28 -0
  58. package/controls/static/staticlabel.d.ts +17 -0
  59. package/controls/static/staticlabel.module.d.ts +9 -0
  60. package/controls/tabs/tab.d.ts +20 -0
  61. package/controls/tabs/tabitem.d.ts +9 -0
  62. package/controls/tabs/tabs.module.d.ts +9 -0
  63. package/controls/tinymce/tinymce.d.ts +23 -0
  64. package/controls/tinymce/tinymce.module.d.ts +7 -0
  65. package/controls/upload/dropzonemultiple.d.ts +24 -0
  66. package/controls/upload/dropzonesingle.d.ts +24 -0
  67. package/controls/upload/upload.d.ts +20 -0
  68. package/controls/upload/upload.module.d.ts +12 -0
  69. package/controls/upload/uploadmultiple.d.ts +20 -0
  70. package/controls/validation/validationsummary.d.ts +17 -0
  71. package/controls/validation/validationsummary.module.d.ts +8 -0
  72. package/controls/wizard/wizard.d.ts +20 -0
  73. package/controls/wizard/wizard.module.d.ts +9 -0
  74. package/controls/wizard/wizarditem.d.ts +9 -0
  75. package/esm2022/components/browser/browser.mjs +121 -0
  76. package/esm2022/components/browser/browser.module.mjs +18 -0
  77. package/esm2022/controls/buttons/button.mjs +19 -0
  78. package/esm2022/controls/buttons/button.module.mjs +22 -0
  79. package/esm2022/controls/checkbox/checkbox.mjs +59 -0
  80. package/esm2022/controls/checkbox/checkbox.module.mjs +24 -0
  81. package/esm2022/controls/checkbox/radiobutton.mjs +27 -0
  82. package/esm2022/controls/checkbox/radiobuttons.mjs +58 -0
  83. package/esm2022/controls/confirm/confirm.mjs +24 -0
  84. package/esm2022/controls/confirm/confirm.module.mjs +31 -0
  85. package/esm2022/controls/confirm/confirm.service.mjs +89 -0
  86. package/esm2022/controls/contextmenu/contextmenu.mjs +48 -0
  87. package/esm2022/controls/contextmenu/contextmenu.module.mjs +38 -0
  88. package/esm2022/controls/contextmenu/contextmenuanchor.mjs +37 -0
  89. package/esm2022/controls/contextmenu/contextmenucontainer.mjs +37 -0
  90. package/esm2022/controls/contextmenu/contextmenuitembutton.mjs +25 -0
  91. package/esm2022/controls/contextmenu/contextmenuitemsplitter.mjs +16 -0
  92. package/esm2022/controls/contextmenu/index.mjs +2 -0
  93. package/esm2022/controls/datetime/date.mjs +72 -0
  94. package/esm2022/controls/datetime/dateselector.mjs +22 -0
  95. package/esm2022/controls/datetime/datetime.mjs +66 -0
  96. package/esm2022/controls/datetime/datetime.module.mjs +26 -0
  97. package/esm2022/controls/datetime/time.mjs +66 -0
  98. package/esm2022/controls/dialog/dialog.mjs +43 -0
  99. package/esm2022/controls/dialog/dialog.module.mjs +22 -0
  100. package/esm2022/controls/form/form.mjs +58 -0
  101. package/esm2022/controls/form/form.module.mjs +29 -0
  102. package/esm2022/controls/form/inheritform.directive.mjs +87 -0
  103. package/esm2022/controls/grid/grid.mjs +52 -0
  104. package/esm2022/controls/grid/grid.module.mjs +29 -0
  105. package/esm2022/controls/grid/gridbutton.mjs +49 -0
  106. package/esm2022/controls/grid/gridcolumn.mjs +36 -0
  107. package/esm2022/controls/grid/gridcolumnaction.mjs +37 -0
  108. package/esm2022/controls/grid/gridimage.mjs +30 -0
  109. package/esm2022/controls/grid/paging.mjs +46 -0
  110. package/esm2022/controls/input/input.mjs +46 -0
  111. package/esm2022/controls/input/input.module.mjs +29 -0
  112. package/esm2022/controls/input/inputarea.mjs +58 -0
  113. package/esm2022/controls/input/inputcurrency.mjs +58 -0
  114. package/esm2022/controls/input/inputdecimal.mjs +58 -0
  115. package/esm2022/controls/input/inputemail.mjs +58 -0
  116. package/esm2022/controls/input/inputinteger.mjs +58 -0
  117. package/esm2022/controls/input/inputpassword.mjs +58 -0
  118. package/esm2022/controls/input/inputsearch.mjs +53 -0
  119. package/esm2022/controls/list/dropdown.mjs +90 -0
  120. package/esm2022/controls/list/dropdown.module.mjs +24 -0
  121. package/esm2022/controls/list/list.module.mjs +18 -0
  122. package/esm2022/controls/list/listbox.mjs +91 -0
  123. package/esm2022/controls/multilanguage/multilanguage.module.mjs +33 -0
  124. package/esm2022/controls/multilanguage/multilanguageinput.mjs +72 -0
  125. package/esm2022/controls/multilanguage/multilanguageinputarea.mjs +72 -0
  126. package/esm2022/controls/multilanguage/multilanguagemenu.mjs +49 -0
  127. package/esm2022/controls/multilanguage/multilanguagemenuanchor.mjs +37 -0
  128. package/esm2022/controls/multilanguage/multilanguagemenucontainer.mjs +37 -0
  129. package/esm2022/controls/multilanguage/multilanguagemenuitembutton.mjs +25 -0
  130. package/esm2022/controls/static/formcontainer.mjs +68 -0
  131. package/esm2022/controls/static/staticlabel.mjs +53 -0
  132. package/esm2022/controls/static/staticlabel.module.mjs +23 -0
  133. package/esm2022/controls/tabs/tab.mjs +32 -0
  134. package/esm2022/controls/tabs/tabitem.mjs +17 -0
  135. package/esm2022/controls/tabs/tabs.module.mjs +23 -0
  136. package/esm2022/controls/tinymce/tinymce.mjs +76 -0
  137. package/esm2022/controls/tinymce/tinymce.module.mjs +17 -0
  138. package/esm2022/controls/upload/dropzonemultiple.mjs +66 -0
  139. package/esm2022/controls/upload/dropzonesingle.mjs +66 -0
  140. package/esm2022/controls/upload/upload.mjs +52 -0
  141. package/esm2022/controls/upload/upload.module.mjs +36 -0
  142. package/esm2022/controls/upload/uploadmultiple.mjs +61 -0
  143. package/esm2022/controls/validation/validationsummary.mjs +52 -0
  144. package/esm2022/controls/validation/validationsummary.module.mjs +22 -0
  145. package/esm2022/controls/wizard/wizard.mjs +37 -0
  146. package/esm2022/controls/wizard/wizard.module.mjs +23 -0
  147. package/esm2022/controls/wizard/wizarditem.mjs +16 -0
  148. package/esm2022/public-api.mjs +73 -0
  149. package/esm2022/simpleangularcontrols-sac-bootstrap5.mjs +5 -0
  150. package/fesm2022/simpleangularcontrols-sac-bootstrap5.mjs +2743 -0
  151. package/fesm2022/simpleangularcontrols-sac-bootstrap5.mjs.map +1 -0
  152. package/index.d.ts +5 -0
  153. package/package.json +37 -0
  154. package/public-api.d.ts +67 -0
  155. package/simpleangularcontrols-sac-bootstrap5-16.0.0-rc.1.tgz +0 -0
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # SimpleAngularControls - Bootstrap5
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
4
+
5
+ ## Code scaffolding
6
+
7
+ Run `ng generate component component-name --project sac-bootstrap5` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project sac-bootstrap5`.
8
+ > Note: Don't forget to add `--project sac-bootstrap5` or else it will be added to the default project in your `angular.json` file.
9
+
10
+ ## Build
11
+
12
+ Run `ng build sac-bootstrap5` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+
14
+ ## Publishing
15
+
16
+ After building your library with `ng build sac-bootstrap5`, go to the dist folder `cd dist/sac-bootstrap5` and run `npm publish`.
17
+
18
+ ## Running unit tests
19
+
20
+ Run `ng test sac-bootstrap5` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
@@ -0,0 +1,48 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Injector } from '@angular/core';
3
+ import { IBrowserFile, IBrowserNode, SacFileBrowserCommon } from '@simpleangularcontrols/sac-common';
4
+ import { Observable } from 'rxjs';
5
+ import { ServiceConfirm } from '../../controls/confirm/confirm.service';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Server File Browser Komponente
9
+ */
10
+ export declare class SacBrowserComponent extends SacFileBrowserCommon {
11
+ private confirmService;
12
+ /**
13
+ * Referenz auf Upload Component
14
+ */
15
+ private uploadComponent;
16
+ /**
17
+ * Konstruktor
18
+ * @param httpClient HTTP Client
19
+ * @param injector Angular Dependency Injection Service
20
+ * @param confirmService Confirm Service
21
+ */
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
+ /**
30
+ * Confirm Action wenn ein File gelöscht werden soll
31
+ * @param file File das gelöscht werden soll.
32
+ * @returns Observable ob File gelöscht werden kann.
33
+ */
34
+ confirmDeleteFile(file: IBrowserFile): Observable<boolean>;
35
+ /**
36
+ * Confirm Action wenn ein Ordner gelöscht werden soll
37
+ * @param node Ordner der gelöscht werden soll
38
+ * @returns Observable ob Ordner gelöscht kann.
39
+ */
40
+ confirmDeleteNode(node: IBrowserNode): Observable<boolean>;
41
+ /**
42
+ * Methode wird aufgerufen, wenn eine Datei verschoben wird
43
+ * @param uploadid Upload ID
44
+ */
45
+ uploadedFileMoved(uploadid: string): void;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacBrowserComponent, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<SacBrowserComponent, "sac-filebrowser", never, {}, {}, never, never, true, never>;
48
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./browser";
3
+ export declare class SACBootstrap5BrowserModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<SACBootstrap5BrowserModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SACBootstrap5BrowserModule, never, [typeof i1.SacBrowserComponent], [typeof i1.SacBrowserComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<SACBootstrap5BrowserModule>;
7
+ }
@@ -0,0 +1,11 @@
1
+ import { SacButtonCommon } from '@simpleangularcontrols/sac-common';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Button Component
5
+ *
6
+ * <example-url>http://localhost/demo/mysample.component.html</example-url>
7
+ */
8
+ export declare class SacButtonComponent extends SacButtonCommon {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacButtonComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<SacButtonComponent, "sac-button", never, {}, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "./button";
4
+ export declare class SACBootstrap5ButtonModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SACBootstrap5ButtonModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SACBootstrap5ButtonModule, never, [typeof i1.CommonModule, typeof i2.SacButtonComponent], [typeof i2.SacButtonComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<SACBootstrap5ButtonModule>;
8
+ }
@@ -0,0 +1,17 @@
1
+ import { Injector } from '@angular/core';
2
+ import { SacCheckboxCommon } from '@simpleangularcontrols/sac-common';
3
+ import { SacFormDirective } from '../form/form';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Checkbox Kompontente
7
+ */
8
+ export declare class SacCheckboxComponent extends SacCheckboxCommon {
9
+ /**
10
+ * Konstruktor
11
+ * @param parent Formular
12
+ * @param injector Angular Dependency Injection Service
13
+ */
14
+ constructor(parent: SacFormDirective, injector: Injector);
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacCheckboxComponent, [{ optional: true; host: true; }, null]>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<SacCheckboxComponent, "sac-checkbox", never, {}, {}, never, never, true, never>;
17
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "./checkbox";
4
+ import * as i3 from "./radiobutton";
5
+ import * as i4 from "./radiobuttons";
6
+ export declare class SACBootstrap5CheckboxModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SACBootstrap5CheckboxModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SACBootstrap5CheckboxModule, never, [typeof i1.CommonModule, typeof i2.SacCheckboxComponent, typeof i3.SacRadiobuttonComponent, typeof i4.SacRadiobuttonsComponent], [typeof i2.SacCheckboxComponent, typeof i3.SacRadiobuttonComponent, typeof i4.SacRadiobuttonsComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<SACBootstrap5CheckboxModule>;
10
+ }
@@ -0,0 +1,15 @@
1
+ import { SacRadiobuttonCommon } from '@simpleangularcontrols/sac-common';
2
+ import { SacRadiobuttonsComponent } from './radiobuttons';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Radiobutton Komponente
6
+ */
7
+ export declare class SacRadiobuttonComponent extends SacRadiobuttonCommon {
8
+ /**
9
+ * Konstruktor
10
+ * @param SacRadioButtons Radio Buttons Group Komponente
11
+ */
12
+ constructor(sacRadioButtons: SacRadiobuttonsComponent);
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacRadiobuttonComponent, [{ host: true; }]>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<SacRadiobuttonComponent, "sac-radiobutton", never, {}, {}, never, never, true, never>;
15
+ }
@@ -0,0 +1,17 @@
1
+ import { Injector } from '@angular/core';
2
+ import { SacRadiobuttonsCommon } from '@simpleangularcontrols/sac-common';
3
+ import { SacFormDirective } from '../form/form';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Radiobuttons Group Komponente
7
+ */
8
+ export declare class SacRadiobuttonsComponent extends SacRadiobuttonsCommon {
9
+ /**
10
+ * Konstruktor
11
+ * @param parent Formular
12
+ * @param injector Angular Dependency Injection Service
13
+ */
14
+ constructor(parent: SacFormDirective, injector: Injector);
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacRadiobuttonsComponent, [{ optional: true; host: true; }, null]>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<SacRadiobuttonsComponent, "sac-radiobuttons", never, {}, {}, never, ["*"], true, never>;
17
+ }
@@ -0,0 +1,9 @@
1
+ import { SacConfirmCommon } from '@simpleangularcontrols/sac-common';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Confirm Komponente
5
+ */
6
+ export declare class SacConfirmComponent extends SacConfirmCommon {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacConfirmComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<SacConfirmComponent, "sac-confirm", never, {}, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,16 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./confirm";
4
+ /**
5
+ * Module für Confirm Messages
6
+ *
7
+ * In NgModule der Applikation folgenden Eintrag bei Imports einfügen: SACBootstrap5ConfirmModule.forRoot()
8
+ *
9
+ */
10
+ export declare class SACBootstrap5ConfirmModule {
11
+ static forRoot(): ModuleWithProviders<SACBootstrap5ConfirmModule>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SACBootstrap5ConfirmModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SACBootstrap5ConfirmModule, never, [typeof i1.SacConfirmComponent], [typeof i1.SacConfirmComponent]>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<SACBootstrap5ConfirmModule>;
15
+ }
16
+ export { ServiceConfirm } from './confirm.service';
@@ -0,0 +1,57 @@
1
+ import { ApplicationRef, ComponentFactory, ComponentFactoryResolver, EventEmitter, Injector } from '@angular/core';
2
+ import { SacConfirmButton, ServiceConfirmCommon } from '@simpleangularcontrols/sac-common';
3
+ import { SacConfirmComponent } from './confirm';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Service für Confirm Messages in TypeScript Code
7
+ *
8
+ * @example
9
+ * // Beispiel für ConfirmMessage mit Standard Buttons (Ja / Nein).
10
+ * confirmService.ConfirmMessage('titel', 'frage').subscribe(action => { // Action Code });
11
+ *
12
+ * @example
13
+ * // Beispiel für ConfirmMessage mit eigenen Buttons
14
+ * let buttons: SacConfirmButton[] = [];
15
+ * buttons.push(new SacConfirmButton('ActionKey','Text Primary'));
16
+ * buttons.push(new SacConfirmButton('ActionKey2','Text Button 2'));
17
+ * confirmService.ConfirmMessage('titel', 'frage', buttons).subscribe(action => { // Action Code });
18
+ */
19
+ export declare class ServiceConfirm extends ServiceConfirmCommon {
20
+ private componentFactoryResolver;
21
+ /**
22
+ * Titel der im Dialog angezeigt werden soll.
23
+ */
24
+ private title;
25
+ /**
26
+ * Message die in Dialog angezeigt werden soll.
27
+ */
28
+ private message;
29
+ /**
30
+ * Collection von Buttons die angezeigt werden müssen.
31
+ */
32
+ private buttons;
33
+ /**
34
+ * Konstruktor
35
+ * @param componentFactoryResolver Component Factory Resolver Instanz
36
+ * @param appRef Application Referenz. Wird benötigt um den Dialog am Body anzuhängen
37
+ * @param injector Injector. Wird benötigt um den Dialog dynamisch zu erzeugen
38
+ */
39
+ constructor(componentFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector);
40
+ /**
41
+ * Erzeugen einer Component Factory für einen Dialog
42
+ */
43
+ GetComponentFactory(): ComponentFactory<SacConfirmComponent>;
44
+ /**
45
+ * Confirm Dialog anzeigen
46
+ * @param message Nachricht die angezeigt werden soll.
47
+ * @returns EventEmitter mit Key des Buttons, welcher geklickt wurde.
48
+ */
49
+ ConfirmMessage(title: string, message: string, buttons?: SacConfirmButton[]): EventEmitter<string>;
50
+ /**
51
+ * Konfiguration des Dialogs
52
+ * @param instance Instanz eines SacConfirm Dialogs
53
+ */
54
+ protected ConfigureDialog(instance: SacConfirmComponent): void;
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<ServiceConfirm, never>;
56
+ static ɵprov: i0.ɵɵInjectableDeclaration<ServiceConfirm>;
57
+ }
@@ -0,0 +1,19 @@
1
+ import { ElementRef, Injector, NgZone, Renderer2 } from '@angular/core';
2
+ import { SacContextmenuCommon } from '@simpleangularcontrols/sac-common';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Component für Contextmenü
6
+ */
7
+ export declare class SacContextmenuComponent extends SacContextmenuCommon {
8
+ /**
9
+ * Constructor
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
+ */
16
+ constructor(_document: any, _ngZone: NgZone, _elementRef: ElementRef<HTMLElement>, _renderer: Renderer2, _injector: Injector);
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacContextmenuComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<SacContextmenuComponent, "sac-contextmenu", never, {}, {}, never, ["*"], true, never>;
19
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "./contextmenu";
4
+ import * as i3 from "./contextmenuitembutton";
5
+ import * as i4 from "./contextmenuitemsplitter";
6
+ import * as i5 from "./contextmenuanchor";
7
+ import * as i6 from "./contextmenucontainer";
8
+ export declare class SACBootstrap5ContextmenuModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SACBootstrap5ContextmenuModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SACBootstrap5ContextmenuModule, never, [typeof i1.CommonModule, typeof i2.SacContextmenuComponent, typeof i3.SacContextmenuItemButtonComponent, typeof i4.SacContextmenuItemSplitterComponent, typeof i5.SacContextmenuAnchorDirective, typeof i6.SacContextmenuContainerDirective], [typeof i2.SacContextmenuComponent, typeof i3.SacContextmenuItemButtonComponent, typeof i4.SacContextmenuItemSplitterComponent, typeof i5.SacContextmenuAnchorDirective]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<SACBootstrap5ContextmenuModule>;
12
+ }
@@ -0,0 +1,15 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { SacContextmenuAnchorCommon } from '@simpleangularcontrols/sac-common';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Anker Komponente für Context Menü. Wird zum positionieren des Context Menü in der Page benötigt.
6
+ */
7
+ export declare class SacContextmenuAnchorDirective extends SacContextmenuAnchorCommon {
8
+ /**
9
+ * Konstruktor
10
+ * @param _elementRef HTML DOM Referenz
11
+ */
12
+ constructor(_elementRef: ElementRef<HTMLElement>);
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacContextmenuAnchorDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SacContextmenuAnchorDirective, "[sacContextMenuAnchor]", never, {}, {}, never, never, true, never>;
15
+ }
@@ -0,0 +1,15 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { SacContextMenuContrainerCommon } from '@simpleangularcontrols/sac-common';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Marker Komponente für Context Menü
6
+ */
7
+ export declare class SacContextmenuContainerDirective extends SacContextMenuContrainerCommon {
8
+ /**
9
+ * Konstruktor
10
+ * @param _elementRef Referenz auf DOM Element
11
+ */
12
+ constructor(_elementRef: ElementRef<HTMLElement>);
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacContextmenuContainerDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SacContextmenuContainerDirective, "[sacContextMenuContainer]", never, {}, {}, never, never, true, never>;
15
+ }
@@ -0,0 +1,14 @@
1
+ import { SacContextmenuCommon, SacContextmenuItemButtonCommon } from '@simpleangularcontrols/sac-common';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Component für Menü Eintrag in Context Menü
5
+ */
6
+ export declare class SacContextmenuItemButtonComponent extends SacContextmenuItemButtonCommon {
7
+ /**
8
+ * Constructor
9
+ * @param contextmenu Instance von Context Menü
10
+ */
11
+ constructor(contextmenu: SacContextmenuCommon);
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacContextmenuItemButtonComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<SacContextmenuItemButtonComponent, "sac-contextmenubutton", never, {}, {}, never, never, true, never>;
14
+ }
@@ -0,0 +1,9 @@
1
+ import { SacContextmenuItemCommon } from '@simpleangularcontrols/sac-common';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Splitter Komponente in Context Menü
5
+ */
6
+ export declare class SacContextmenuItemSplitterComponent extends SacContextmenuItemCommon {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacContextmenuItemSplitterComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<SacContextmenuItemSplitterComponent, "sac-contextmenusplitter", never, {}, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1 @@
1
+ export { SacContextmenuComponent } from './contextmenu';
@@ -0,0 +1,18 @@
1
+ import { ElementRef, Injector } from '@angular/core';
2
+ import { SacDateCommon } from '@simpleangularcontrols/sac-common';
3
+ import { SacFormDirective } from '../form/form';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Komponente für Datumauswahl
7
+ */
8
+ export declare class SacDateComponent extends SacDateCommon {
9
+ /**
10
+ * Konstruktor
11
+ * @param parent Formular
12
+ * @param injector Angular Dependency Injection Service
13
+ * @param _elementRef Referenz auf HTML DOM Element
14
+ */
15
+ constructor(parent: SacFormDirective, injector: Injector, _elementRef: ElementRef);
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacDateComponent, [{ optional: true; host: true; }, null, null]>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<SacDateComponent, "sac-date", never, {}, {}, never, never, true, never>;
18
+ }
@@ -0,0 +1,9 @@
1
+ import { SacDateSelectorCommon } from '@simpleangularcontrols/sac-common';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * DateTime Selektor Komponente
5
+ */
6
+ export declare class SacDateSelectorComponent extends SacDateSelectorCommon {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacDateSelectorComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<SacDateSelectorComponent, "sac-dateselector", never, {}, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,18 @@
1
+ import { ElementRef, Injector } from '@angular/core';
2
+ import { SacDateTimeCommon } from '@simpleangularcontrols/sac-common';
3
+ import { SacFormDirective } from '../form/form';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Date und Time Komponente
7
+ */
8
+ export declare class SacDateTimeComponent extends SacDateTimeCommon {
9
+ /**
10
+ * Konstruktor
11
+ * @param parent Formular
12
+ * @param injector Angular Dependency Injection Service
13
+ * @param _elementRef DOM Element Referenz
14
+ */
15
+ constructor(parent: SacFormDirective, injector: Injector, _elementRef: ElementRef);
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacDateTimeComponent, [{ optional: true; host: true; }, null, null]>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<SacDateTimeComponent, "sac-datetime", never, {}, {}, never, never, true, never>;
18
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "angular-imask";
4
+ import * as i3 from "./date";
5
+ import * as i4 from "./datetime";
6
+ import * as i5 from "./time";
7
+ import * as i6 from "./dateselector";
8
+ export declare class SACBootstrap5DateTimeModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SACBootstrap5DateTimeModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SACBootstrap5DateTimeModule, never, [typeof i1.CommonModule, typeof i2.IMaskModule, typeof i3.SacDateComponent, typeof i4.SacDateTimeComponent, typeof i5.SacTimeComponent, typeof i6.SacDateSelectorComponent], [typeof i3.SacDateComponent, typeof i4.SacDateTimeComponent, typeof i5.SacTimeComponent, typeof i6.SacDateSelectorComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<SACBootstrap5DateTimeModule>;
12
+ }
@@ -0,0 +1,18 @@
1
+ import { ElementRef, Injector } from '@angular/core';
2
+ import { SacTimeCommon } from '@simpleangularcontrols/sac-common';
3
+ import { SacFormDirective } from '../form/form';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Time Auswahl Komponente
7
+ */
8
+ export declare class SacTimeComponent extends SacTimeCommon {
9
+ /**
10
+ * Konstruktor
11
+ * @param parent Formular
12
+ * @param injector Angular Dependency Injection Service
13
+ * @param _elementRef DOM Element Referenz
14
+ */
15
+ constructor(parent: SacFormDirective, injector: Injector, _elementRef: ElementRef);
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacTimeComponent, [{ optional: true; host: true; }, null, null]>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<SacTimeComponent, "sac-time", never, {}, {}, never, never, true, never>;
18
+ }
@@ -0,0 +1,28 @@
1
+ import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
+ import { SacDialogCommon } from '@simpleangularcontrols/sac-common';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Dialog Komponente
6
+ */
7
+ export declare class SacDialogComponent extends SacDialogCommon implements OnInit, OnDestroy {
8
+ /**
9
+ * Referenz auf DOM Element
10
+ */
11
+ private element;
12
+ /**
13
+ * Konstruktor
14
+ * @param el DOM Element Referenz
15
+ * @param cdRef Change Detection Service
16
+ */
17
+ constructor(el: ElementRef, cdRef: ChangeDetectorRef);
18
+ /**
19
+ * Event wenn Komponente initialisiert wird
20
+ */
21
+ ngOnInit(): void;
22
+ /**
23
+ * Event wenn Element entfernt wird
24
+ */
25
+ ngOnDestroy(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacDialogComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<SacDialogComponent, "sac-dialog", never, {}, {}, never, ["[dialogbody]", "[dialogfooter]"], true, never>;
28
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "./dialog";
4
+ export declare class SACBootstrap5DialogModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SACBootstrap5DialogModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SACBootstrap5DialogModule, never, [typeof i1.CommonModule, typeof i2.SacDialogComponent], [typeof i2.SacDialogComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<SACBootstrap5DialogModule>;
8
+ }
@@ -0,0 +1,36 @@
1
+ import { NgForm } from '@angular/forms';
2
+ import { SacFormCommon } from '@simpleangularcontrols/sac-common';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Erweiterung / Hooking für automatismen in Formular. Wird als Container für alle Controls benötigt.
6
+ *
7
+ * @example Beispiel über Div Container
8
+ *
9
+ * <div ngForm></div>
10
+ *
11
+ * @example Beispiel über Form Tag
12
+ *
13
+ * <form></form>
14
+ *
15
+ */
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
+ /**
23
+ * Setzt die Standard CSS Klasse für auf dem Form Container
24
+ */
25
+ cssClassForm: boolean;
26
+ /**
27
+ * Setzt die CSS Klasse 'form-horizontal' wenn die Orientation auf Horizontal eingestellt ist
28
+ */
29
+ get orientientationHorizontal(): boolean;
30
+ /**
31
+ * Setzt die CSS Klasse 'form-vertical' wenn die Orientation auf Vertical eingestellt ist
32
+ */
33
+ get orientientationVertical(): boolean;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacFormDirective, never>;
35
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SacFormDirective, "form:not([ngNoForm]):not([formGroup]),[ngForm]", ["sacform"], {}, {}, never, never, true, never>;
36
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/forms";
4
+ import * as i3 from "./form";
5
+ import * as i4 from "./inheritform.directive";
6
+ export declare class SACBootstrap5FormModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SACBootstrap5FormModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SACBootstrap5FormModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.SacFormDirective, typeof i4.SacInheritFormDirective], [typeof i3.SacFormDirective, typeof i4.SacInheritFormDirective]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<SACBootstrap5FormModule>;
10
+ }
@@ -0,0 +1,50 @@
1
+ import { SacFormDirective } from './form';
2
+ import { NgForm } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Factory Methode für SacForm
6
+ * @param form SacFormular
7
+ */
8
+ export declare function SACFORM_FACTORY(form: SacFormDirective): SacFormDirective;
9
+ /**
10
+ * Factory Methode für NgForm
11
+ * @param form NgForm
12
+ */
13
+ export declare function NGFORM_FACTORY(form: NgForm): NgForm;
14
+ /**
15
+ * Directive zum erben eines NgForm/NgFormular einer übergeordneten Komponente
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
+ *
46
+ */
47
+ export declare class SacInheritFormDirective {
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacInheritFormDirective, never>;
49
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SacInheritFormDirective, "[sacInheritForm]", never, {}, {}, never, never, true, never>;
50
+ }
@@ -0,0 +1,23 @@
1
+ import { ChangeDetectorRef, TemplateRef } from '@angular/core';
2
+ import { SacGridCommon } from '@simpleangularcontrols/sac-common';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Grid Komponente
6
+ */
7
+ export declare class SacGridComponent extends SacGridCommon {
8
+ /**
9
+ * Referenz auf Column Template
10
+ */
11
+ template: TemplateRef<any>;
12
+ /**
13
+ * Setzt die Ellipsis Funktion auf der Column
14
+ */
15
+ ellipsis: boolean;
16
+ /**
17
+ * Konstrukor
18
+ * @param cdRef Change Detection Reference
19
+ */
20
+ constructor(cdRef: ChangeDetectorRef);
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacGridComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<SacGridComponent, "sac-grid", never, {}, {}, ["template"], never, true, never>;
23
+ }
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/forms";
4
+ import * as i3 from "./grid";
5
+ import * as i4 from "./gridcolumn";
6
+ import * as i5 from "./gridcolumnaction";
7
+ import * as i6 from "./paging";
8
+ import * as i7 from "./gridbutton";
9
+ import * as i8 from "./gridimage";
10
+ export declare class SACBootstrap5GridModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<SACBootstrap5GridModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SACBootstrap5GridModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.SacGridComponent, typeof i4.SacGridColumnComponent, typeof i5.SacGridColumnActionComponent, typeof i6.SacPagingComponent, typeof i7.SacGridButtonComponent, typeof i8.SacGridImageComponent], [typeof i3.SacGridComponent, typeof i4.SacGridColumnComponent, typeof i5.SacGridColumnActionComponent, typeof i6.SacPagingComponent, typeof i7.SacGridButtonComponent, typeof i8.SacGridImageComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<SACBootstrap5GridModule>;
14
+ }
@@ -0,0 +1,22 @@
1
+ import { SacGridButtonCommon } from '@simpleangularcontrols/sac-common';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * 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
+ */
15
+ export declare class SacGridButtonComponent extends SacGridButtonCommon {
16
+ /**
17
+ * Gibt das Icon für den Button zurück
18
+ */
19
+ getIconClass(): string;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<SacGridButtonComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<SacGridButtonComponent, "sac-gridbutton", never, {}, {}, never, never, true, never>;
22
+ }