@breadstone/mosaik-elements-angular 0.0.38 → 0.0.40
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.
|
@@ -11,7 +11,6 @@ import { ConfigurableFocusTrapFactory } from '@angular/cdk/a11y';
|
|
|
11
11
|
import { OverlayPositionBuilder, Overlay } from '@angular/cdk/overlay';
|
|
12
12
|
import { emit } from '@breadstone/mosaik-elements';
|
|
13
13
|
import * as i1 from '@angular/cdk/layout';
|
|
14
|
-
import 'libs/mosaik-themes/dist/Index';
|
|
15
14
|
import { ThemeGeneratorServiceLocator, ThemeGenerator, ThemeObserver, ThemeObserverServiceLocator } from '@breadstone/mosaik-themes';
|
|
16
15
|
|
|
17
16
|
/* eslint-disable prefer-rest-params */
|
|
@@ -855,6 +854,26 @@ let AppComponent = class AppComponent {
|
|
|
855
854
|
this._element.isMobile = value;
|
|
856
855
|
});
|
|
857
856
|
}
|
|
857
|
+
get hasHeader() {
|
|
858
|
+
// @ts-ignore - temporary fix for the type error
|
|
859
|
+
return this._element.hasHeader;
|
|
860
|
+
}
|
|
861
|
+
set hasHeader(value) {
|
|
862
|
+
this._zone.runOutsideAngular(() => {
|
|
863
|
+
// @ts-ignore - temporary fix for the type error
|
|
864
|
+
this._element.hasHeader = value;
|
|
865
|
+
});
|
|
866
|
+
}
|
|
867
|
+
get hasNav() {
|
|
868
|
+
// @ts-ignore - temporary fix for the type error
|
|
869
|
+
return this._element.hasNav;
|
|
870
|
+
}
|
|
871
|
+
set hasNav(value) {
|
|
872
|
+
this._zone.runOutsideAngular(() => {
|
|
873
|
+
// @ts-ignore - temporary fix for the type error
|
|
874
|
+
this._element.hasNav = value;
|
|
875
|
+
});
|
|
876
|
+
}
|
|
858
877
|
get themeName() {
|
|
859
878
|
// @ts-ignore - temporary fix for the type error
|
|
860
879
|
return this._element.themeName;
|
|
@@ -906,12 +925,12 @@ let AppComponent = class AppComponent {
|
|
|
906
925
|
}
|
|
907
926
|
}
|
|
908
927
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AppComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
909
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: AppComponent, isStandalone: true, selector: "mosaik-app", inputs: { theme: "theme", isNavOpen: "isNavOpen", isMobile: "isMobile", themeName: "themeName", dir: "dir", lang: "lang" }, outputs: { connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
928
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: AppComponent, isStandalone: true, selector: "mosaik-app", inputs: { theme: "theme", isNavOpen: "isNavOpen", isMobile: "isMobile", hasHeader: "hasHeader", hasNav: "hasNav", themeName: "themeName", dir: "dir", lang: "lang" }, outputs: { connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
910
929
|
};
|
|
911
930
|
AppComponent = __decorate$3l([
|
|
912
931
|
ProxyCmp({
|
|
913
932
|
defineCustomElementFn: () => customElements.define('mosaik-app', AppElement),
|
|
914
|
-
inputs: ['theme', 'isNavOpen', 'isMobile', 'themeName', 'dir', 'lang'],
|
|
933
|
+
inputs: ['theme', 'isNavOpen', 'isMobile', 'hasHeader', 'hasNav', 'themeName', 'dir', 'lang'],
|
|
915
934
|
methods: ['adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
|
|
916
935
|
}),
|
|
917
936
|
__metadata$3l("design:paramtypes", [])
|
|
@@ -923,7 +942,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImpor
|
|
|
923
942
|
standalone: true,
|
|
924
943
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
925
944
|
template: '<ng-content></ng-content>',
|
|
926
|
-
inputs: ['theme', 'isNavOpen', 'isMobile', 'themeName', 'dir', 'lang'],
|
|
945
|
+
inputs: ['theme', 'isNavOpen', 'isMobile', 'hasHeader', 'hasNav', 'themeName', 'dir', 'lang'],
|
|
927
946
|
outputs: ['connected', 'disconnected', 'changed']
|
|
928
947
|
}]
|
|
929
948
|
}], ctorParameters: () => [], propDecorators: { theme: [{
|
|
@@ -932,6 +951,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImpor
|
|
|
932
951
|
type: Input
|
|
933
952
|
}], isMobile: [{
|
|
934
953
|
type: Input
|
|
954
|
+
}], hasHeader: [{
|
|
955
|
+
type: Input
|
|
956
|
+
}], hasNav: [{
|
|
957
|
+
type: Input
|
|
935
958
|
}], themeName: [{
|
|
936
959
|
type: Input
|
|
937
960
|
}], dir: [{
|