@simpleangularcontrols/sac-bootstrap5 16.0.0-rc.20 → 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/controls/checkbox/checkbox.d.ts +1 -1
- package/controls/checkbox/radiobuttons.d.ts +1 -1
- package/controls/dialog/dialog.d.ts +4 -4
- package/controls/grid/grid.d.ts +4 -4
- package/controls/grid/gridbutton.d.ts +5 -2
- package/controls/grid/gridimage.d.ts +0 -5
- package/controls/input/input.d.ts +1 -1
- package/controls/input/inputarea.d.ts +1 -1
- package/controls/input/inputcurrency.d.ts +1 -1
- package/controls/input/inputdecimal.d.ts +1 -1
- package/controls/input/inputemail.d.ts +1 -1
- package/controls/input/inputinteger.d.ts +1 -1
- package/controls/input/inputpassword.d.ts +1 -1
- package/controls/input/inputsearch.d.ts +1 -1
- package/controls/list/dropdown.d.ts +14 -14
- package/controls/list/listbox.d.ts +13 -13
- package/controls/multilanguage/multilanguageinput.d.ts +1 -1
- package/controls/multilanguage/multilanguageinputarea.d.ts +1 -1
- package/controls/static/staticlabel.d.ts +1 -1
- package/controls/tabs/tab.d.ts +1 -1
- package/controls/upload/upload.d.ts +1 -1
- package/controls/validation/validationsummary.d.ts +1 -1
- package/esm2022/controls/buttons/button.mjs +5 -5
- package/esm2022/controls/buttons/button.module.mjs +5 -9
- package/esm2022/controls/checkbox/checkbox.mjs +9 -8
- package/esm2022/controls/checkbox/radiobuttons.mjs +8 -7
- package/esm2022/controls/contextmenu/contextmenu.mjs +10 -4
- package/esm2022/controls/datetime/date.mjs +12 -11
- package/esm2022/controls/datetime/dateselector.mjs +4 -4
- package/esm2022/controls/datetime/datetime.mjs +5 -4
- package/esm2022/controls/datetime/time.mjs +5 -4
- package/esm2022/controls/dialog/dialog.mjs +16 -12
- package/esm2022/controls/grid/grid.mjs +8 -12
- package/esm2022/controls/grid/grid.module.mjs +2 -2
- package/esm2022/controls/grid/gridbutton.mjs +11 -27
- 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 +6 -6
- package/esm2022/controls/input/input.mjs +8 -7
- package/esm2022/controls/input/inputarea.mjs +8 -7
- package/esm2022/controls/input/inputcurrency.mjs +8 -7
- package/esm2022/controls/input/inputdecimal.mjs +8 -7
- package/esm2022/controls/input/inputemail.mjs +8 -7
- package/esm2022/controls/input/inputinteger.mjs +8 -7
- package/esm2022/controls/input/inputpassword.mjs +8 -8
- package/esm2022/controls/input/inputsearch.mjs +8 -7
- package/esm2022/controls/list/dropdown.mjs +32 -31
- package/esm2022/controls/list/listbox.mjs +32 -31
- package/esm2022/controls/multilanguage/multilanguageinput.mjs +8 -7
- package/esm2022/controls/multilanguage/multilanguageinputarea.mjs +8 -7
- package/esm2022/controls/static/formcontainer.mjs +5 -4
- package/esm2022/controls/static/staticlabel.mjs +8 -7
- package/esm2022/controls/tabs/tab.mjs +8 -10
- package/esm2022/controls/tinymce/tinymce.mjs +5 -4
- package/esm2022/controls/tooltip/tooltip.mjs +4 -4
- package/esm2022/controls/treeview/treeview.mjs +6 -12
- package/esm2022/controls/upload/dropzonemultiple.mjs +5 -4
- package/esm2022/controls/upload/dropzonesingle.mjs +5 -4
- package/esm2022/controls/upload/upload.mjs +8 -7
- package/esm2022/controls/upload/uploadmultiple.mjs +5 -4
- package/esm2022/controls/validation/validationsummary.mjs +5 -5
- package/esm2022/controls/wizard/wizard.mjs +3 -3
- package/fesm2022/simpleangularcontrols-sac-bootstrap5.mjs +198 -207
- package/fesm2022/simpleangularcontrols-sac-bootstrap5.mjs.map +1 -1
- package/package.json +2 -2
- package/simpleangularcontrols-sac-bootstrap5-16.0.0-rc.21.tgz +0 -0
- package/simpleangularcontrols-sac-bootstrap5-16.0.0-rc.20.tgz +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { SacCheckboxCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Checkbox Kompontente
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { SacRadiobuttonsCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Radiobuttons Group Komponente
|
|
@@ -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
|
}
|
package/controls/grid/grid.d.ts
CHANGED
|
@@ -5,14 +5,14 @@ import * as i0 from "@angular/core";
|
|
|
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
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
1
2
|
import { SacGridButtonCommon } from '@simpleangularcontrols/sac-common';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
@@ -5,9 +6,11 @@ import * as i0 from "@angular/core";
|
|
|
5
6
|
*/
|
|
6
7
|
export declare class SacGridButtonComponent extends SacGridButtonCommon {
|
|
7
8
|
/**
|
|
8
|
-
*
|
|
9
|
+
* Construtor
|
|
10
|
+
*
|
|
11
|
+
* @param injector Injector to resolve icons
|
|
9
12
|
*/
|
|
10
|
-
|
|
13
|
+
constructor(injector: Injector);
|
|
11
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacGridButtonComponent, never>;
|
|
12
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<SacGridButtonComponent, "sac-gridbutton", never, {}, {}, never, never, true, never>;
|
|
13
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,6 +1,6 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { SacInputCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Input Komponente
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { SacInputAreaCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Input Box für lange Texte
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { SacInputCurrencyCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Input Control für Währungen
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { SacInputDecimalCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Input Komponente für Zahlen
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { SacInputEmailCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Input Box für E-Mail Adressen
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { SacInputIntegerCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Input Komponten für Ganzzahlen
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { SacInputPasswordCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Input Box für Passwörter
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { SacInputSearchCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Input Box für Suche
|
|
@@ -2,6 +2,20 @@ import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
|
2
2
|
import { ElementRef, Injector, Renderer2 } from '@angular/core';
|
|
3
3
|
import { SacDropdownCommon, SacDropdownOptionCommon } from '@simpleangularcontrols/sac-common';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Direktive für Dropdown Option List
|
|
7
|
+
*/
|
|
8
|
+
export declare class SacDropdownOptionDirective extends SacDropdownOptionCommon {
|
|
9
|
+
/**
|
|
10
|
+
* Konstruktor
|
|
11
|
+
* @param elementRef Referenz auf HTML DOM Element
|
|
12
|
+
* @param renderer Angular Rendering Engine
|
|
13
|
+
* @param dropdownList Referenz auf DropDown Komponente
|
|
14
|
+
*/
|
|
15
|
+
constructor(elementRef: ElementRef, renderer: Renderer2, dropdownList: SacDropdownComponent);
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SacDropdownOptionDirective, [null, null, { optional: true; host: true; }]>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SacDropdownOptionDirective, "[sacOption],option", never, {}, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
5
19
|
/**
|
|
6
20
|
* Dropdown Komponente
|
|
7
21
|
*/
|
|
@@ -17,17 +31,3 @@ export declare class SacDropdownComponent extends SacDropdownCommon {
|
|
|
17
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacDropdownComponent, [{ optional: true; host: true; }, null, null, null]>;
|
|
18
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<SacDropdownComponent, "sac-dropdown", never, {}, {}, never, ["*"], true, never>;
|
|
19
33
|
}
|
|
20
|
-
/**
|
|
21
|
-
* Direktive für Dropdown Option List
|
|
22
|
-
*/
|
|
23
|
-
export declare class SacDropdownOptionDirective extends SacDropdownOptionCommon {
|
|
24
|
-
/**
|
|
25
|
-
* Konstruktor
|
|
26
|
-
* @param elementRef Referenz auf HTML DOM Element
|
|
27
|
-
* @param renderer Angular Rendering Engine
|
|
28
|
-
* @param dropdownList Referenz auf DropDown Komponente
|
|
29
|
-
*/
|
|
30
|
-
constructor(elementRef: ElementRef, renderer: Renderer2, dropdownList: SacDropdownComponent);
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SacDropdownOptionDirective, [null, null, { optional: true; host: true; }]>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SacDropdownOptionDirective, "[sacOption],option", never, {}, {}, never, never, true, never>;
|
|
33
|
-
}
|
|
@@ -2,19 +2,6 @@ import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
|
2
2
|
import { ElementRef, Injector, Renderer2 } from '@angular/core';
|
|
3
3
|
import { SacListboxCommon, SacListboxOptionCommon } from '@simpleangularcontrols/sac-common';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Listbox Komponente
|
|
7
|
-
*/
|
|
8
|
-
export declare class SacListboxComponent extends SacListboxCommon {
|
|
9
|
-
/**
|
|
10
|
-
* Constructor
|
|
11
|
-
* @param formLayout SacFormLayout to define scoped layout settings
|
|
12
|
-
* @param injector Injector for injecting services
|
|
13
|
-
*/
|
|
14
|
-
constructor(formLayout: SacFormLayoutDirective, injector: Injector);
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SacListboxComponent, [{ optional: true; host: true; }, null]>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SacListboxComponent, "sac-listbox", never, {}, {}, never, ["*"], true, never>;
|
|
17
|
-
}
|
|
18
5
|
/**
|
|
19
6
|
* Option Item in Listbox
|
|
20
7
|
*/
|
|
@@ -29,3 +16,16 @@ export declare class SacListboxOptionDirective extends SacListboxOptionCommon {
|
|
|
29
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<SacListboxOptionDirective, [null, null, { optional: true; host: true; }]>;
|
|
30
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SacListboxOptionDirective, "[sacOption],option", never, {}, {}, never, never, true, never>;
|
|
31
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* Listbox Komponente
|
|
21
|
+
*/
|
|
22
|
+
export declare class SacListboxComponent extends SacListboxCommon {
|
|
23
|
+
/**
|
|
24
|
+
* Constructor
|
|
25
|
+
* @param formLayout SacFormLayout to define scoped layout settings
|
|
26
|
+
* @param injector Injector for injecting services
|
|
27
|
+
*/
|
|
28
|
+
constructor(formLayout: SacFormLayoutDirective, injector: Injector);
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SacListboxComponent, [{ optional: true; host: true; }, null]>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SacListboxComponent, "sac-listbox", never, {}, {}, never, ["*"], true, never>;
|
|
31
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { IconType, SacMultilanguageInputCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Componente für Mehrsprache Texte
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { IconType, SacMultilanguageInputAreaCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Componente für Mehrsprache Texte als mehrzeiliger Text
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { SacStaticLabelCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Komponente für statischen Text in einem Formular
|
package/controls/tabs/tab.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SacTabItemComponent } from './tabitem';
|
|
1
2
|
import { QueryList } from '@angular/core';
|
|
2
3
|
import { SacTabCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacTabItemComponent } from './tabitem';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Komponente für Tabs
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
1
2
|
import { Injector, NgZone, Renderer2 } from '@angular/core';
|
|
2
3
|
import { SacUploadSingleCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormLayoutDirective } from '../layout/formlayout.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Upload Komponten
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SacFormDirective } from '../form/form';
|
|
1
2
|
import { Injector } from '@angular/core';
|
|
2
3
|
import { SacValidationSummaryCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { SacFormDirective } from '../form/form';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Validation Summary Kompontente
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { NgClass, NgIf } from '@angular/common';
|
|
1
2
|
import { Component } from '@angular/core';
|
|
2
|
-
import { SacButtonCommon } from '@simpleangularcontrols/sac-common';
|
|
3
|
-
import { NgIf, NgClass } from '@angular/common';
|
|
3
|
+
import { SacButtonCommon, SacTestingAttributePipe } from '@simpleangularcontrols/sac-common';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Button Component
|
|
@@ -9,11 +9,11 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
*/
|
|
10
10
|
class SacButtonComponent extends SacButtonCommon {
|
|
11
11
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SacButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SacButtonComponent, isStandalone: true, selector: "sac-button", usesInheritance: true, ngImport: i0, template: "<button\n
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SacButtonComponent, isStandalone: true, selector: "sac-button", usesInheritance: true, ngImport: i0, template: "<button\n [id]=\"name\"\n type=\"button\"\n class=\"btn d-flex justify-content-center align-items-center\"\n [attr.disabled]=\"_isdisabled || isloading ? 'disabled' : null\"\n [attr.data-e2e-key]=\"name | testingattribute : e2eidentifier\"\n (click)=\"buttonClick()\"\n [class.btn-primary]=\"role === 'primary'\"\n [class.btn-secondary]=\"role === 'secondary' || role === 'default'\"\n [class.btn-success]=\"role === 'success'\"\n [class.btn-danger]=\"role === 'danger'\"\n [class.btn-warning]=\"role === 'warning'\"\n [class.btn-info]=\"role === 'info'\"\n [class.btn-link]=\"role === 'link'\">\n <span\n *ngIf=\"isloading\"\n class=\"spinner-border spinner-border-sm me-2\"\n role=\"status\"\n aria-hidden=\"true\"></span>\n <i\n *ngIf=\"!isloading && icon !== ''\"\n [ngClass]=\"icon\"\n [class.me-2]=\"text\"></i\n >{{ text }}\n</button>\n", dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: SacTestingAttributePipe, name: "testingattribute" }] }); }
|
|
13
13
|
}
|
|
14
14
|
export { SacButtonComponent };
|
|
15
15
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SacButtonComponent, decorators: [{
|
|
16
16
|
type: Component,
|
|
17
|
-
args: [{ selector: 'sac-button', standalone: true, imports: [NgIf, NgClass], template: "<button\n
|
|
17
|
+
args: [{ selector: 'sac-button', standalone: true, imports: [NgIf, NgClass, SacTestingAttributePipe], template: "<button\n [id]=\"name\"\n type=\"button\"\n class=\"btn d-flex justify-content-center align-items-center\"\n [attr.disabled]=\"_isdisabled || isloading ? 'disabled' : null\"\n [attr.data-e2e-key]=\"name | testingattribute : e2eidentifier\"\n (click)=\"buttonClick()\"\n [class.btn-primary]=\"role === 'primary'\"\n [class.btn-secondary]=\"role === 'secondary' || role === 'default'\"\n [class.btn-success]=\"role === 'success'\"\n [class.btn-danger]=\"role === 'danger'\"\n [class.btn-warning]=\"role === 'warning'\"\n [class.btn-info]=\"role === 'info'\"\n [class.btn-link]=\"role === 'link'\">\n <span\n *ngIf=\"isloading\"\n class=\"spinner-border spinner-border-sm me-2\"\n role=\"status\"\n aria-hidden=\"true\"></span>\n <i\n *ngIf=\"!isloading && icon !== ''\"\n [ngClass]=\"icon\"\n [class.me-2]=\"text\"></i\n >{{ text }}\n</button>\n" }]
|
|
18
18
|
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2FjLWJvb3RzdHJhcDUvc3JjL2NvbnRyb2xzL2J1dHRvbnMvYnV0dG9uLnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2FjLWJvb3RzdHJhcDUvc3JjL2NvbnRyb2xzL2J1dHRvbnMvYnV0dG9uLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUNoRCxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8s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Y9XCIhaXNsb2FkaW5nICYmIGljb24gIT09ICcnXCJcbiAgICAgICAgW25nQ2xhc3NdPVwiaWNvblwiXG4gICAgICAgIFtjbGFzcy5tZS0yXT1cInRleHRcIj48L2lcbiAgICA+e3sgdGV4dCB9fVxuPC9idXR0b24+XG4iXX0=
|
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
1
|
import { SacButtonComponent } from './button';
|
|
3
2
|
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { NgModule } from '@angular/core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
class SACBootstrap5ButtonModule {
|
|
6
6
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SACBootstrap5ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: SACBootstrap5ButtonModule, imports: [CommonModule,
|
|
8
|
-
SacButtonComponent], exports: [SacButtonComponent] }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: SACBootstrap5ButtonModule, imports: [CommonModule, SacButtonComponent], exports: [SacButtonComponent] }); }
|
|
9
8
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SACBootstrap5ButtonModule, imports: [CommonModule] }); }
|
|
10
9
|
}
|
|
11
10
|
export { SACBootstrap5ButtonModule };
|
|
12
11
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SACBootstrap5ButtonModule, decorators: [{
|
|
13
12
|
type: NgModule,
|
|
14
13
|
args: [{
|
|
15
|
-
imports: [
|
|
16
|
-
|
|
17
|
-
SacButtonComponent
|
|
18
|
-
],
|
|
19
|
-
exports: [SacButtonComponent]
|
|
14
|
+
imports: [CommonModule, SacButtonComponent],
|
|
15
|
+
exports: [SacButtonComponent],
|
|
20
16
|
}]
|
|
21
17
|
}] });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NhYy1ib290c3RyYXA1L3NyYy9jb250cm9scy9idXR0b25zL2J1dHRvbi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sVUFBVSxDQUFDO0FBQzlDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUV6QyxNQUlhLHlCQUF5QjsrR0FBekIseUJBQXlCO2dIQUF6Qix5QkFBeUIsWUFIeEIsWUFBWSxFQUFFLGtCQUFrQixhQUNoQyxrQkFBa0I7Z0hBRW5CLHlCQUF5QixZQUh4QixZQUFZOztTQUdiLHlCQUF5Qjs0RkFBekIseUJBQXlCO2tCQUpyQyxRQUFRO21CQUFDO29CQUNOLE9BQU8sRUFBRSxDQUFDLFlBQVksRUFBRSxrQkFBa0IsQ0FBQztvQkFDM0MsT0FBTyxFQUFFLENBQUMsa0JBQWtCLENBQUM7aUJBQ2hDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU2FjQnV0dG9uQ29tcG9uZW50IH0gZnJvbSAnLi9idXR0b24nO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBOZ01vZHVsZSh7XG4gICAgaW1wb3J0czogW0NvbW1vbk1vZHVsZSwgU2FjQnV0dG9uQ29tcG9uZW50XSxcbiAgICBleHBvcnRzOiBbU2FjQnV0dG9uQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgU0FDQm9vdHN0cmFwNUJ1dHRvbk1vZHVsZSB7fVxuIl19
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Component, forwardRef, Host, Optional } from '@angular/core';
|
|
2
|
-
import { NG_VALIDATORS, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
-
// import { SacBaseModelControl } from '../../common/basemodelcontrol';
|
|
4
|
-
import { NgClass, NgIf } from '@angular/common';
|
|
5
|
-
import { SacCheckboxCommon } from '@simpleangularcontrols/sac-common';
|
|
6
1
|
import { SacToControlWidthCssPipe } from '../layout/tocontrolwidthcss.pipe';
|
|
7
2
|
import { SacToLabelHeightPipe } from '../layout/tolabelheight.pipe';
|
|
8
3
|
import { SacToLabelWidthCssPipe } from '../layout/tolabelwidthcss.pipe';
|
|
9
4
|
import { SacTooltipComponent } from '../tooltip/tooltip';
|
|
5
|
+
// import { SacBaseModelControl } from '../../common/basemodelcontrol';
|
|
6
|
+
import { NgClass, NgIf } from '@angular/common';
|
|
7
|
+
import { Component, Host, Optional, forwardRef } from '@angular/core';
|
|
8
|
+
import { NG_VALIDATORS, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
9
|
+
import { SacCheckboxCommon, SacTestingAttributePipe } from '@simpleangularcontrols/sac-common';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
import * as i1 from "../layout/formlayout.directive";
|
|
12
12
|
/**
|
|
@@ -34,7 +34,7 @@ class SacCheckboxComponent extends SacCheckboxCommon {
|
|
|
34
34
|
useExisting: forwardRef(() => SacCheckboxComponent),
|
|
35
35
|
multi: true,
|
|
36
36
|
},
|
|
37
|
-
], usesInheritance: true, ngImport: i0, template: "<div\n class=\"row\"\n [class.g-0]=\"disablelabel\"\n [class.mb-3]=\"!stacked\">\n <div\n class=\"col-12\"\n [ngClass]=\"[!disablelabel && !stacked ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden']\">\n <label\n *ngIf=\"!disablelabel && !stacked\"\n for=\"{{ name }}\"\n class=\"col-form-label d-flex\"\n [ngClass]=\"componentHeight | toLabelHeight\">\n <div\n class=\"text flex-grow-0\"\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\"\n >{{ label }}</div\n >\n <sac-tooltip\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\n [tooltiptext]=\"helptext\"\n [inlinemode]=\"true\">\n <span\n [ngClass]=\"HelptextTooltipIcon\"\n class=\"ms-1\">\n </span>\n </sac-tooltip>\n </label>\n </div>\n <div\n class=\"align-self-center col-12\"\n [ngClass]=\"[!disablelabel && !stacked ? (this.labelSizes | toControlWidthCss) : '']\">\n <div\n class=\"form-check\"\n [class.form-switch]=\"checkboxstyle === 'switch'\"\n [attr.role]=\"checkboxstyle === 'switch' ? 'switch' : null\"\n [class.form-check-sm]=\"componentHeight === ControlHeight.Small\"\n [class.form-check-lg]=\"componentHeight === ControlHeight.Large\">\n <input\n class=\"form-check-input\"\n [class.form-check-input-sm]=\"componentHeight === ControlHeight.Small\"\n [class.form-check-input-lg]=\"componentHeight === ControlHeight.Large\"\n id=\"{{ name }}\"\n name=\"{{ name }}\"\n type=\"checkbox\"\n [checked]=\"value\"\n (blur)=\"onTouch()\"\n (change)=\"setValue($event.target.checked)\"\n [disabled]=\"isdisabled\" />\n <label\n for=\"{{ name }}\"\n class=\"form-check-label\"\n [class.form-check-label-sm]=\"componentHeight === ControlHeight.Small\"\n [class.form-check-label-lg]=\"componentHeight === ControlHeight.Large\">\n <ng-container *ngIf=\"checkboxtext\">{{ checkboxtext }}</ng-container>\n </label>\n </div>\n <div\n *ngIf=\"helptextmode === 'text' && helptext\"\n class=\"form-text\">\n {{ helptext }}\n </div>\n </div>\n</div>\n", styles: [".form-check-sm{font-size:.875em}.form-check-lg{font-size:1.25em}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: SacToControlWidthCssPipe, name: "toControlWidthCss" }, { kind: "pipe", type: SacToLabelWidthCssPipe, name: "toLabelWidthCss" }, { kind: "pipe", type: SacToLabelHeightPipe, name: "toLabelHeight" }, { kind: "component", type: SacTooltipComponent, selector: "sac-tooltip" }] }); }
|
|
37
|
+
], usesInheritance: true, ngImport: i0, template: "<div\n [attr.data-e2e-key]=\"name | testingattribute : e2eidentifier\"\n class=\"row\"\n [class.g-0]=\"disablelabel\"\n [class.mb-3]=\"!stacked\">\n <div\n class=\"col-12\"\n [ngClass]=\"[!disablelabel && !stacked ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden']\">\n <label\n *ngIf=\"!disablelabel && !stacked\"\n for=\"{{ name }}\"\n class=\"col-form-label d-flex\"\n [ngClass]=\"componentHeight | toLabelHeight\">\n <div\n class=\"text flex-grow-0\"\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\"\n >{{ label }}</div\n >\n <sac-tooltip\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\n [tooltiptext]=\"helptext\"\n [inlinemode]=\"true\">\n <span\n [ngClass]=\"HelptextTooltipIcon\"\n class=\"ms-1\">\n </span>\n </sac-tooltip>\n </label>\n </div>\n <div\n class=\"align-self-center col-12\"\n [ngClass]=\"[!disablelabel && !stacked ? (this.labelSizes | toControlWidthCss) : '']\">\n <div\n class=\"form-check\"\n [class.form-switch]=\"checkboxstyle === 'switch'\"\n [attr.role]=\"checkboxstyle === 'switch' ? 'switch' : null\"\n [class.form-check-sm]=\"componentHeight === ControlHeight.Small\"\n [class.form-check-lg]=\"componentHeight === ControlHeight.Large\">\n <input\n class=\"form-check-input\"\n [class.form-check-input-sm]=\"componentHeight === ControlHeight.Small\"\n [class.form-check-input-lg]=\"componentHeight === ControlHeight.Large\"\n id=\"{{ name }}\"\n name=\"{{ name }}\"\n type=\"checkbox\"\n [checked]=\"value\"\n (blur)=\"onTouch()\"\n (change)=\"setValue($event.target.checked)\"\n [disabled]=\"isdisabled\" />\n <label\n for=\"{{ name }}\"\n class=\"form-check-label\"\n [class.form-check-label-sm]=\"componentHeight === ControlHeight.Small\"\n [class.form-check-label-lg]=\"componentHeight === ControlHeight.Large\">\n <ng-container *ngIf=\"checkboxtext\">{{ checkboxtext }}</ng-container>\n </label>\n </div>\n <div\n *ngIf=\"helptextmode === 'text' && helptext\"\n class=\"form-text\">\n {{ helptext }}\n </div>\n </div>\n</div>\n", styles: [".form-check-sm{font-size:.875em}.form-check-lg{font-size:1.25em}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: SacToControlWidthCssPipe, name: "toControlWidthCss" }, { kind: "pipe", type: SacToLabelWidthCssPipe, name: "toLabelWidthCss" }, { kind: "pipe", type: SacToLabelHeightPipe, name: "toLabelHeight" }, { kind: "component", type: SacTooltipComponent, selector: "sac-tooltip" }, { kind: "pipe", type: SacTestingAttributePipe, name: "testingattribute" }] }); }
|
|
38
38
|
}
|
|
39
39
|
export { SacCheckboxComponent };
|
|
40
40
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SacCheckboxComponent, decorators: [{
|
|
@@ -57,10 +57,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
57
57
|
SacToLabelWidthCssPipe,
|
|
58
58
|
SacToLabelHeightPipe,
|
|
59
59
|
SacTooltipComponent,
|
|
60
|
-
|
|
60
|
+
SacTestingAttributePipe,
|
|
61
|
+
], template: "<div\n [attr.data-e2e-key]=\"name | testingattribute : e2eidentifier\"\n class=\"row\"\n [class.g-0]=\"disablelabel\"\n [class.mb-3]=\"!stacked\">\n <div\n class=\"col-12\"\n [ngClass]=\"[!disablelabel && !stacked ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden']\">\n <label\n *ngIf=\"!disablelabel && !stacked\"\n for=\"{{ name }}\"\n class=\"col-form-label d-flex\"\n [ngClass]=\"componentHeight | toLabelHeight\">\n <div\n class=\"text flex-grow-0\"\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\"\n >{{ label }}</div\n >\n <sac-tooltip\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\n [tooltiptext]=\"helptext\"\n [inlinemode]=\"true\">\n <span\n [ngClass]=\"HelptextTooltipIcon\"\n class=\"ms-1\">\n </span>\n </sac-tooltip>\n </label>\n </div>\n <div\n class=\"align-self-center col-12\"\n [ngClass]=\"[!disablelabel && !stacked ? (this.labelSizes | toControlWidthCss) : '']\">\n <div\n class=\"form-check\"\n [class.form-switch]=\"checkboxstyle === 'switch'\"\n [attr.role]=\"checkboxstyle === 'switch' ? 'switch' : null\"\n [class.form-check-sm]=\"componentHeight === ControlHeight.Small\"\n [class.form-check-lg]=\"componentHeight === ControlHeight.Large\">\n <input\n class=\"form-check-input\"\n [class.form-check-input-sm]=\"componentHeight === ControlHeight.Small\"\n [class.form-check-input-lg]=\"componentHeight === ControlHeight.Large\"\n id=\"{{ name }}\"\n name=\"{{ name }}\"\n type=\"checkbox\"\n [checked]=\"value\"\n (blur)=\"onTouch()\"\n (change)=\"setValue($event.target.checked)\"\n [disabled]=\"isdisabled\" />\n <label\n for=\"{{ name }}\"\n class=\"form-check-label\"\n [class.form-check-label-sm]=\"componentHeight === ControlHeight.Small\"\n [class.form-check-label-lg]=\"componentHeight === ControlHeight.Large\">\n <ng-container *ngIf=\"checkboxtext\">{{ checkboxtext }}</ng-container>\n </label>\n </div>\n <div\n *ngIf=\"helptextmode === 'text' && helptext\"\n class=\"form-text\">\n {{ helptext }}\n </div>\n </div>\n</div>\n", styles: [".form-check-sm{font-size:.875em}.form-check-lg{font-size:1.25em}\n"] }]
|
|
61
62
|
}], ctorParameters: function () { return [{ type: i1.SacFormLayoutDirective, decorators: [{
|
|
62
63
|
type: Host
|
|
63
64
|
}, {
|
|
64
65
|
type: Optional
|
|
65
66
|
}] }, { type: i0.Injector }]; } });
|
|
66
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
67
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3guanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zYWMtYm9vdHN0cmFwNS9zcmMvY29udHJvbHMvY2hlY2tib3gvY2hlY2tib3gudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zYWMtYm9vdHN0cmFwNS9zcmMvY29udHJvbHMvY2hlY2tib3gvY2hlY2tib3guaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUM1RSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUNwRSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUN4RSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUN6RCx1RUFBdUU7QUFDdkUsT0FBTyxFQUFFLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUNoRCxPQUFPLEVBQUUsU0FBUyxFQUFFLElBQUksRUFBWSxRQUFRLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2hGLE9BQU8sRUFBRSxhQUFhLEVBQUUsaUJBQW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yB8IHRvTGFiZWxXaWR0aENzcykgOiAndmlzdWFsbHktaGlkZGVuJ11cIj5cbiAgICAgICAgPGxhYmVsXG4gICAgICAgICAgICAqbmdJZj1cIiFkaXNhYmxlbGFiZWwgJiYgIXN0YWNrZWRcIlxuICAgICAgICAgICAgZm9yPVwie3sgbmFtZSB9fVwiXG4gICAgICAgICAgICBjbGFzcz1cImNvbC1mb3JtLWxhYmVsIGQtZmxleFwiXG4gICAgICAgICAgICBbbmdDbGFzc109XCJjb21wb25lbnRIZWlnaHQgfCB0b0xhYmVsSGVpZ2h0XCI+XG4gICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ0ZXh0IGZsZXgtZ3Jvdy0wXCJcbiAgICAgICAgICAgICAgICBbY2xhc3MuZmxleC1zbS1ncm93LTFdPVwic3BsaXRsYWJlbGFuZGhlbHB0ZXh0XCJcbiAgICAgICAgICAgICAgICA+e3sgbGFiZWwgfX08L2RpdlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgPHNhYy10b29sdGlwXG4gICAgICAgICAgICAgICAgKm5nSWY9XCJoZWxwdGV4dG1vZGUgPT09ICd0b29sdGlwJyAmJiBoZWxwdGV4dFwiXG4gICAgICAgICAgICAgICAgW3Rvb2x0aXB0ZXh0XT1cImhlbHB0ZXh0XCJcbiAgICAgICAgICAgICAgICBbaW5saW5lbW9kZV09XCJ0cnVlXCI+XG4gICAgICAgICAgICAgICAgPHNwYW5cbiAgICAgICAgICAgICAgICAgICAgW25nQ2xhc3NdPVwiSGVscHRleHRUb29sdGlwSWNvblwiXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwibXMtMVwiPlxuICAgICAgICAgICAgICAgIDwvc3Bhbj5cbiAgICAgICAgICAgIDwvc2FjLXRvb2x0aXA+XG4gICAgICAgIDwvbGFiZWw+XG4gICAgPC9kaXY+XG4gICAgPGRpdlxuICAgICAgICBjbGFzcz1cImFsaWduLXNlbGYtY2VudGVyIGNvbC0xMlwiXG4gICAgICAgIFtuZ0NsYXNzXT1cIlshZGlzYWJsZWxhYmVsICYmICFzdGFja2VkID8gKHRoaXMubGFiZWxTaXplcyB8IHRvQ29udHJvbFdpZHRoQ3NzKSA6ICcnXVwiPlxuICAgICAgICA8ZGl2XG4gICAgICAgICAgICBjbGFzcz1cImZvcm0tY2hlY2tcIlxuICAgICAgICAgICAgW2NsYXNzLmZvcm0tc3dpdGNoXT1cImNoZWNrYm94c3R5bGUgPT09ICdzd2l0Y2gnXCJcbiAgICAgICAgICAgIFthdHRyLnJvbGVdPVwiY2hlY2tib3hzdHlsZSA9PT0gJ3N3aXRjaCcgPyAnc3dpdGNoJyA6IG51bGxcIlxuICAgICAgICAgICAgW2NsYXNzLmZvcm0tY2hlY2stc21dPVwiY29tcG9uZW50SGVpZ2h0ID09PSBDb250cm9sSGVpZ2h0LlNtYWxsXCJcbiAgICAgICAgICAgIFtjbGFzcy5mb3JtLWNoZWNrLWxnXT1cImNvbXBvbmVudEhlaWdodCA9PT0gQ29udHJvbEhlaWdodC5MYXJnZVwiPlxuICAgICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICAgICAgY2xhc3M9XCJmb3JtLWNoZWNrLWlucHV0XCJcbiAgICAgICAgICAgICAgICBbY2xhc3MuZm9ybS1jaGVjay1pbnB1dC1zbV09XCJjb21wb25lbnRIZWlnaHQgPT09IENvbnRyb2xIZWlnaHQuU21hbGxcIlxuICAgICAgICAgICAgICAgIFtjbGFzcy5mb3JtLWNoZWNrLWlucHV0LWxnXT1cImNvbXBvbmVudEhlaWdodCA9PT0gQ29udHJvbEhlaWdodC5MYXJnZVwiXG4gICAgICAgICAgICAgICAgaWQ9XCJ7eyBuYW1lIH19XCJcbiAgICAgICAgICAgICAgICBuYW1lPVwie3sgbmFtZSB9fVwiXG4gICAgICAgICAgICAgICAgdHlwZT1cImNoZWNrYm94XCJcbiAgICAgICAgICAgICAgICBbY2hlY2tlZF09XCJ2YWx1ZVwiXG4gICAgICAgICAgICAgICAgKGJsdXIpPVwib25Ub3VjaCgpXCJcbiAgICAgICAgICAgICAgICAoY2hhbmdlKT1cInNldFZhbHVlKCRldmVudC50YXJnZXQuY2hlY2tlZClcIlxuICAgICAgICAgICAgICAgIFtkaXNhYmxlZF09XCJpc2Rpc2FibGVkXCIgLz5cbiAgICAgICAgICAgIDxsYWJlbFxuICAgICAgICAgICAgICAgIGZvcj1cInt7IG5hbWUgfX1cIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwiZm9ybS1jaGVjay1sYWJlbFwiXG4gICAgICAgICAgICAgICAgW2NsYXNzLmZvcm0tY2hlY2stbGFiZWwtc21dPVwiY29tcG9uZW50SGVpZ2h0ID09PSBDb250cm9sSGVpZ2h0LlNtYWxsXCJcbiAgICAgICAgICAgICAgICBbY2xhc3MuZm9ybS1jaGVjay1sYWJlbC1sZ109XCJjb21wb25lbnRIZWlnaHQgPT09IENvbnRyb2xIZWlnaHQuTGFyZ2VcIj5cbiAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiY2hlY2tib3h0ZXh0XCI+e3sgY2hlY2tib3h0ZXh0IH19PC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICA8L2xhYmVsPlxuICAgICAgICA8L2Rpdj5cbiAgICAgICAgPGRpdlxuICAgICAgICAgICAgKm5nSWY9XCJoZWxwdGV4dG1vZGUgPT09ICd0ZXh0JyAmJiBoZWxwdGV4dFwiXG4gICAgICAgICAgICBjbGFzcz1cImZvcm0tdGV4dFwiPlxuICAgICAgICAgICAge3sgaGVscHRleHQgfX1cbiAgICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { NgClass, NgIf } from '@angular/common';
|
|
2
|
-
import { Component, Host, Optional, forwardRef } from '@angular/core';
|
|
3
|
-
import { NG_VALIDATORS, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
-
import { SacRadiobuttonsCommon } from '@simpleangularcontrols/sac-common';
|
|
5
1
|
import { SacToControlWidthCssPipe } from '../layout/tocontrolwidthcss.pipe';
|
|
6
2
|
import { SacToLabelHeightPipe } from '../layout/tolabelheight.pipe';
|
|
7
3
|
import { SacToLabelWidthCssPipe } from '../layout/tolabelwidthcss.pipe';
|
|
8
4
|
import { SacTooltipComponent } from '../tooltip/tooltip';
|
|
5
|
+
import { NgClass, NgIf } from '@angular/common';
|
|
6
|
+
import { Component, Host, Optional, forwardRef } from '@angular/core';
|
|
7
|
+
import { NG_VALIDATORS, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
8
|
+
import { SacRadiobuttonsCommon, SacTestingAttributePipe } from '@simpleangularcontrols/sac-common';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
import * as i1 from "../layout/formlayout.directive";
|
|
11
11
|
/**
|
|
@@ -33,7 +33,7 @@ class SacRadiobuttonsComponent extends SacRadiobuttonsCommon {
|
|
|
33
33
|
useExisting: forwardRef(() => SacRadiobuttonsComponent),
|
|
34
34
|
multi: true,
|
|
35
35
|
},
|
|
36
|
-
], usesInheritance: true, ngImport: i0, template: "<div\n class=\"row mb-3\"\n [class.g-0]=\"disablelabel\">\n <div\n *ngIf=\"disablelabel === false\"\n class=\"col-12 pt-0\"\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden']\">\n <label\n class=\"col-form-label d-flex\"\n [ngClass]=\"componentHeight | toLabelHeight\"\n *ngIf=\"!disablelabel\">\n <div\n class=\"text flex-grow-0\"\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\"\n >{{ label }}</div\n >\n <sac-tooltip\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\n [tooltiptext]=\"helptext\"\n [inlinemode]=\"true\">\n <span\n [ngClass]=\"HelptextTooltipIcon\"\n class=\"ms-1\">\n </span>\n </sac-tooltip>\n </label>\n </div>\n <div\n class=\"col-12\"\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\n [class.pt-1]=\"componentHeight === ControlHeight.Small\"\n [class.pt-2]=\"componentHeight !== ControlHeight.Small\">\n <ng-content></ng-content>\n <div\n *ngIf=\"helptextmode === 'text' && helptext\"\n class=\"form-text\"
|
|
36
|
+
], usesInheritance: true, ngImport: i0, template: "<div\n [attr.data-e2e-key]=\"name | testingattribute : e2eidentifier\"\n class=\"row mb-3\"\n [class.g-0]=\"disablelabel\">\n <div\n *ngIf=\"disablelabel === false\"\n class=\"col-12 pt-0\"\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden']\">\n <label\n class=\"col-form-label d-flex\"\n [ngClass]=\"componentHeight | toLabelHeight\"\n *ngIf=\"!disablelabel\">\n <div\n class=\"text flex-grow-0\"\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\"\n >{{ label }}</div\n >\n <sac-tooltip\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\n [tooltiptext]=\"helptext\"\n [inlinemode]=\"true\">\n <span\n [ngClass]=\"HelptextTooltipIcon\"\n class=\"ms-1\">\n </span>\n </sac-tooltip>\n </label>\n </div>\n <div\n class=\"col-12\"\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\n [class.pt-1]=\"componentHeight === ControlHeight.Small\"\n [class.pt-2]=\"componentHeight !== ControlHeight.Small\">\n <ng-content></ng-content>\n <div\n *ngIf=\"helptextmode === 'text' && helptext\"\n class=\"form-text\"\n >{{ helptext }}</div\n >\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: SacToControlWidthCssPipe, name: "toControlWidthCss" }, { kind: "pipe", type: SacToLabelWidthCssPipe, name: "toLabelWidthCss" }, { kind: "pipe", type: SacToLabelHeightPipe, name: "toLabelHeight" }, { kind: "component", type: SacTooltipComponent, selector: "sac-tooltip" }, { kind: "pipe", type: SacTestingAttributePipe, name: "testingattribute" }] }); }
|
|
37
37
|
}
|
|
38
38
|
export { SacRadiobuttonsComponent };
|
|
39
39
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SacRadiobuttonsComponent, decorators: [{
|
|
@@ -56,10 +56,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
56
56
|
SacToLabelWidthCssPipe,
|
|
57
57
|
SacToLabelHeightPipe,
|
|
58
58
|
SacTooltipComponent,
|
|
59
|
-
|
|
59
|
+
SacTestingAttributePipe,
|
|
60
|
+
], template: "<div\n [attr.data-e2e-key]=\"name | testingattribute : e2eidentifier\"\n class=\"row mb-3\"\n [class.g-0]=\"disablelabel\">\n <div\n *ngIf=\"disablelabel === false\"\n class=\"col-12 pt-0\"\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toLabelWidthCss) : 'visually-hidden']\">\n <label\n class=\"col-form-label d-flex\"\n [ngClass]=\"componentHeight | toLabelHeight\"\n *ngIf=\"!disablelabel\">\n <div\n class=\"text flex-grow-0\"\n [class.flex-sm-grow-1]=\"splitlabelandhelptext\"\n >{{ label }}</div\n >\n <sac-tooltip\n *ngIf=\"helptextmode === 'tooltip' && helptext\"\n [tooltiptext]=\"helptext\"\n [inlinemode]=\"true\">\n <span\n [ngClass]=\"HelptextTooltipIcon\"\n class=\"ms-1\">\n </span>\n </sac-tooltip>\n </label>\n </div>\n <div\n class=\"col-12\"\n [ngClass]=\"[disablelabel === false ? (this.labelSizes | toControlWidthCss) : '']\"\n [class.pt-1]=\"componentHeight === ControlHeight.Small\"\n [class.pt-2]=\"componentHeight !== ControlHeight.Small\">\n <ng-content></ng-content>\n <div\n *ngIf=\"helptextmode === 'text' && helptext\"\n class=\"form-text\"\n >{{ helptext }}</div\n >\n </div>\n</div>\n" }]
|
|
60
61
|
}], ctorParameters: function () { return [{ type: i1.SacFormLayoutDirective, decorators: [{
|
|
61
62
|
type: Host
|
|
62
63
|
}, {
|
|
63
64
|
type: Optional
|
|
64
65
|
}] }, { type: i0.Injector }]; } });
|
|
65
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
66
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW9idXR0b25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2FjLWJvb3RzdHJhcDUvc3JjL2NvbnRyb2xzL2NoZWNrYm94L3JhZGlvYnV0dG9ucy50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NhYy1ib290c3RyYXA1L3NyYy9jb250cm9scy9jaGVja2JveC9yYWRpb2J1dHRvbnMuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUM1RSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUNwRSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUN4RSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUN6RCxPQUFPLEVBQUUsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ2hELE9BQU8sRUFBRSxTQUFTLEVBQUUsSUFBSSxFQUFZLFFBQVEsRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDaEYsT0FBTyxFQUFFLGFBQWEsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSx1QkFBdUIsRUFBRSxNQUFNLG1DQUFtQ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ICAgPGxhYmVsXG4gICAgICAgICAgICBjbGFzcz1cImNvbC1mb3JtLWxhYmVsIGQtZmxleFwiXG4gICAgICAgICAgICBbbmdDbGFzc109XCJjb21wb25lbnRIZWlnaHQgfCB0b0xhYmVsSGVpZ2h0XCJcbiAgICAgICAgICAgICpuZ0lmPVwiIWRpc2FibGVsYWJlbFwiPlxuICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgIGNsYXNzPVwidGV4dCBmbGV4LWdyb3ctMFwiXG4gICAgICAgICAgICAgICAgW2NsYXNzLmZsZXgtc20tZ3Jvdy0xXT1cInNwbGl0bGFiZWxhbmRoZWxwdGV4dFwiXG4gICAgICAgICAgICAgICAgPnt7IGxhYmVsIH19PC9kaXZcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgIDxzYWMtdG9vbHRpcFxuICAgICAgICAgICAgICAgICpuZ0lmPVwiaGVscHRleHRtb2RlID09PSAndG9vbHRpcCcgJiYgaGVscHRleHRcIlxuICAgICAgICAgICAgICAgIFt0b29sdGlwdGV4dF09XCJoZWxwdGV4dFwiXG4gICAgICAgICAgICAgICAgW2lubGluZW1vZGVdPVwidHJ1ZVwiPlxuICAgICAgICAgICAgICAgIDxzcGFuXG4gICAgICAgICAgICAgICAgICAgIFtuZ0NsYXNzXT1cIkhlbHB0ZXh0VG9vbHRpcEljb25cIlxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cIm1zLTFcIj5cbiAgICAgICAgICAgICAgICA8L3NwYW4+XG4gICAgICAgICAgICA8L3NhYy10b29sdGlwPlxuICAgICAgICA8L2xhYmVsPlxuICAgIDwvZGl2PlxuICAgIDxkaXZcbiAgICAgICAgY2xhc3M9XCJjb2wtMTJcIlxuICAgICAgICBbbmdDbGFzc109XCJbZGlzYWJsZWxhYmVsID09PSBmYWxzZSA/ICh0aGlzLmxhYmVsU2l6ZXMgfCB0b0NvbnRyb2xXaWR0aENzcykgOiAnJ11cIlxuICAgICAgICBbY2xhc3MucHQtMV09XCJjb21wb25lbnRIZWlnaHQgPT09IENvbnRyb2xIZWlnaHQuU21hbGxcIlxuICAgICAgICBbY2xhc3MucHQtMl09XCJjb21wb25lbnRIZWlnaHQgIT09IENvbnRyb2xIZWlnaHQuU21hbGxcIj5cbiAgICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuICAgICAgICA8ZGl2XG4gICAgICAgICAgICAqbmdJZj1cImhlbHB0ZXh0bW9kZSA9PT0gJ3RleHQnICYmIGhlbHB0ZXh0XCJcbiAgICAgICAgICAgIGNsYXNzPVwiZm9ybS10ZXh0XCJcbiAgICAgICAgICAgID57eyBoZWxwdGV4dCB9fTwvZGl2XG4gICAgICAgID5cbiAgICA8L2Rpdj5cbjwvZGl2PlxuIl19
|