@mintplayer/ng-bootstrap 15.2.4 → 15.4.0

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 (47) hide show
  1. package/esm2020/lazy-loading/index.mjs +2 -0
  2. package/esm2020/lazy-loading/mintplayer-ng-bootstrap-lazy-loading.mjs +5 -0
  3. package/esm2020/lazy-loading/src/index.mjs +3 -0
  4. package/esm2020/lazy-loading/src/lazy-load/lazy-load.directive.mjs +29 -0
  5. package/esm2020/lazy-loading/src/lazy-loading.module.mjs +24 -0
  6. package/esm2020/navbar/src/navbar/navbar.component.mjs +4 -3
  7. package/esm2020/navbar/src/navbar.module.mjs +10 -6
  8. package/esm2020/popover/src/directives/popover/popover.directive.mjs +9 -5
  9. package/esm2020/scheduler/src/components/scheduler/scheduler.component.mjs +3 -3
  10. package/esm2020/user-agent/index.mjs +2 -0
  11. package/esm2020/user-agent/mintplayer-ng-bootstrap-user-agent.mjs +5 -0
  12. package/esm2020/user-agent/src/index.mjs +4 -0
  13. package/esm2020/user-agent/src/user-agent/user-agent.directive.mjs +52 -0
  14. package/esm2020/user-agent/src/user-agent/user-agent.module.mjs +24 -0
  15. package/esm2020/user-agent/src/user-agent.type.mjs +2 -0
  16. package/fesm2015/mintplayer-ng-bootstrap-lazy-loading.mjs +57 -0
  17. package/fesm2015/mintplayer-ng-bootstrap-lazy-loading.mjs.map +1 -0
  18. package/fesm2015/mintplayer-ng-bootstrap-navbar.mjs +14 -9
  19. package/fesm2015/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
  20. package/fesm2015/mintplayer-ng-bootstrap-popover.mjs +9 -4
  21. package/fesm2015/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
  22. package/fesm2015/mintplayer-ng-bootstrap-scheduler.mjs +2 -2
  23. package/fesm2015/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
  24. package/fesm2015/mintplayer-ng-bootstrap-user-agent.mjs +80 -0
  25. package/fesm2015/mintplayer-ng-bootstrap-user-agent.mjs.map +1 -0
  26. package/fesm2020/mintplayer-ng-bootstrap-lazy-loading.mjs +57 -0
  27. package/fesm2020/mintplayer-ng-bootstrap-lazy-loading.mjs.map +1 -0
  28. package/fesm2020/mintplayer-ng-bootstrap-navbar.mjs +14 -9
  29. package/fesm2020/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
  30. package/fesm2020/mintplayer-ng-bootstrap-popover.mjs +8 -4
  31. package/fesm2020/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
  32. package/fesm2020/mintplayer-ng-bootstrap-scheduler.mjs +2 -2
  33. package/fesm2020/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
  34. package/fesm2020/mintplayer-ng-bootstrap-user-agent.mjs +80 -0
  35. package/fesm2020/mintplayer-ng-bootstrap-user-agent.mjs.map +1 -0
  36. package/lazy-loading/index.d.ts +1 -0
  37. package/lazy-loading/src/index.d.ts +2 -0
  38. package/lazy-loading/src/lazy-load/lazy-load.directive.d.ts +12 -0
  39. package/lazy-loading/src/lazy-loading.module.d.ts +8 -0
  40. package/navbar/src/navbar.module.d.ts +2 -1
  41. package/package.json +17 -1
  42. package/popover/src/directives/popover/popover.directive.d.ts +2 -1
  43. package/user-agent/index.d.ts +1 -0
  44. package/user-agent/src/index.d.ts +3 -0
  45. package/user-agent/src/user-agent/user-agent.directive.d.ts +12 -0
  46. package/user-agent/src/user-agent/user-agent.module.d.ts +8 -0
  47. package/user-agent/src/user-agent.type.d.ts +1 -0
@@ -0,0 +1,80 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Directive, HostBinding, Output, NgModule } from '@angular/core';
3
+ import { CommonModule } from '@angular/common';
4
+
5
+ class BsUserAgentDirective {
6
+ constructor() {
7
+ this.detected = new EventEmitter();
8
+ }
9
+ get isAndroid() {
10
+ return !!navigator.userAgent.match(/Android/i);
11
+ }
12
+ get isIos() {
13
+ return !!navigator.userAgent.match(/iPhone|iPad|iPod/i);
14
+ }
15
+ get isWindows() {
16
+ return !!navigator.userAgent.match(/Windows/i);
17
+ }
18
+ ngAfterViewInit() {
19
+ setTimeout(() => {
20
+ if (this.isAndroid) {
21
+ this.detected.emit('Android');
22
+ }
23
+ else if (this.isIos) {
24
+ this.detected.emit('iOS');
25
+ }
26
+ else if (this.isWindows) {
27
+ this.detected.emit('Windows');
28
+ }
29
+ else {
30
+ this.detected.emit(undefined);
31
+ }
32
+ });
33
+ }
34
+ }
35
+ BsUserAgentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BsUserAgentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
36
+ BsUserAgentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: BsUserAgentDirective, selector: "[bsUserAgent]", outputs: { detected: "detected" }, host: { properties: { "class.os-android": "this.isAndroid", "class.os-ios": "this.isIos", "class.os-windows": "this.isWindows" } }, ngImport: i0 });
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BsUserAgentDirective, decorators: [{
38
+ type: Directive,
39
+ args: [{
40
+ selector: '[bsUserAgent]'
41
+ }]
42
+ }], propDecorators: { isAndroid: [{
43
+ type: HostBinding,
44
+ args: ['class.os-android']
45
+ }], isIos: [{
46
+ type: HostBinding,
47
+ args: ['class.os-ios']
48
+ }], isWindows: [{
49
+ type: HostBinding,
50
+ args: ['class.os-windows']
51
+ }], detected: [{
52
+ type: Output
53
+ }] } });
54
+
55
+ class BsUserAgentModule {
56
+ }
57
+ BsUserAgentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BsUserAgentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
58
+ BsUserAgentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: BsUserAgentModule, declarations: [BsUserAgentDirective], imports: [CommonModule], exports: [BsUserAgentDirective] });
59
+ BsUserAgentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BsUserAgentModule, imports: [CommonModule] });
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BsUserAgentModule, decorators: [{
61
+ type: NgModule,
62
+ args: [{
63
+ declarations: [
64
+ BsUserAgentDirective
65
+ ],
66
+ imports: [
67
+ CommonModule
68
+ ],
69
+ exports: [
70
+ BsUserAgentDirective
71
+ ]
72
+ }]
73
+ }] });
74
+
75
+ /**
76
+ * Generated bundle index. Do not edit.
77
+ */
78
+
79
+ export { BsUserAgentDirective, BsUserAgentModule };
80
+ //# sourceMappingURL=mintplayer-ng-bootstrap-user-agent.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-user-agent.mjs","sources":["../esm2020/user-agent/src/user-agent/user-agent.directive.mjs","../esm2020/user-agent/src/user-agent/user-agent.module.mjs","../esm2020/user-agent/mintplayer-ng-bootstrap-user-agent.mjs"],"sourcesContent":["import { Directive, EventEmitter, HostBinding, Output } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class BsUserAgentDirective {\n constructor() {\n this.detected = new EventEmitter();\n }\n get isAndroid() {\n return !!navigator.userAgent.match(/Android/i);\n }\n get isIos() {\n return !!navigator.userAgent.match(/iPhone|iPad|iPod/i);\n }\n get isWindows() {\n return !!navigator.userAgent.match(/Windows/i);\n }\n ngAfterViewInit() {\n setTimeout(() => {\n if (this.isAndroid) {\n this.detected.emit('Android');\n }\n else if (this.isIos) {\n this.detected.emit('iOS');\n }\n else if (this.isWindows) {\n this.detected.emit('Windows');\n }\n else {\n this.detected.emit(undefined);\n }\n });\n }\n}\nBsUserAgentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: BsUserAgentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });\nBsUserAgentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"15.0.4\", type: BsUserAgentDirective, selector: \"[bsUserAgent]\", outputs: { detected: \"detected\" }, host: { properties: { \"class.os-android\": \"this.isAndroid\", \"class.os-ios\": \"this.isIos\", \"class.os-windows\": \"this.isWindows\" } }, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: BsUserAgentDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[bsUserAgent]'\n }]\n }], propDecorators: { isAndroid: [{\n type: HostBinding,\n args: ['class.os-android']\n }], isIos: [{\n type: HostBinding,\n args: ['class.os-ios']\n }], isWindows: [{\n type: HostBinding,\n args: ['class.os-windows']\n }], detected: [{\n type: Output\n }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1hZ2VudC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3VzZXItYWdlbnQvc3JjL3VzZXItYWdlbnQvdXNlci1hZ2VudC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFpQixTQUFTLEVBQUUsWUFBWSxFQUFFLFdBQVcsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTTVGLE1BQU0sT0FBTyxvQkFBb0I7SUFIakM7UUErQlksYUFBUSxHQUFHLElBQUksWUFBWSxFQUEyQixDQUFDO0tBRWxFO0lBNUJDLElBQXFDLFNBQVM7UUFDNUMsT0FBTyxDQUFDLENBQUMsU0FBUyxDQUFDLFNBQVMsQ0FBQyxLQUFLLENBQUMsVUFBVSxDQUFDLENBQUM7SUFDakQsQ0FBQztJQ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W1pdCgnaU9TJyk7XG4gICAgICB9IGVsc2UgaWYgKHRoaXMuaXNXaW5kb3dzKSB7XG4gICAgICAgIHRoaXMuZGV0ZWN0ZWQuZW1pdCgnV2luZG93cycpO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgdGhpcy5kZXRlY3RlZC5lbWl0KHVuZGVmaW5lZCk7XG4gICAgICB9XG4gICAgfSk7XG4gIH1cblxuICBAT3V0cHV0KCkgZGV0ZWN0ZWQgPSBuZXcgRXZlbnRFbWl0dGVyPEJzVXNlckFnZW50IHwgdW5kZWZpbmVkPigpO1xuXG59XG4iXX0=","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsUserAgentDirective } from './user-agent.directive';\nimport * as i0 from \"@angular/core\";\nexport class BsUserAgentModule {\n}\nBsUserAgentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: BsUserAgentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nBsUserAgentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.0.4\", ngImport: i0, type: BsUserAgentModule, declarations: [BsUserAgentDirective], imports: [CommonModule], exports: [BsUserAgentDirective] });\nBsUserAgentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: BsUserAgentModule, imports: [CommonModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: BsUserAgentModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n BsUserAgentDirective\n ],\n imports: [\n CommonModule\n ],\n exports: [\n BsUserAgentDirective\n ]\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1hZ2VudC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8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dlbnREaXJlY3RpdmVcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBCc1VzZXJBZ2VudE1vZHVsZSB7IH1cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWludHBsYXllci1uZy1ib290c3RyYXAtdXNlci1hZ2VudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvdXNlci1hZ2VudC9taW50cGxheWVyLW5nLWJvb3RzdHJhcC11c2VyLWFnZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19"],"names":[],"mappings":";;;;AAEO,MAAM,oBAAoB,CAAC;AAClC,IAAI,WAAW,GAAG;AAClB,QAAQ,IAAI,CAAC,QAAQ,GAAG,IAAI,YAAY,EAAE,CAAC;AAC3C,KAAK;AACL,IAAI,IAAI,SAAS,GAAG;AACpB,QAAQ,OAAO,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;AACvD,KAAK;AACL,IAAI,IAAI,KAAK,GAAG;AAChB,QAAQ,OAAO,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAChE,KAAK;AACL,IAAI,IAAI,SAAS,GAAG;AACpB,QAAQ,OAAO,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;AACvD,KAAK;AACL,IAAI,eAAe,GAAG;AACtB,QAAQ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AC,YAAY,CAAC,EAAE,OAAO,EAAE,CAAC,oBAAoB,CAAC,EAAE,CAAC,CAAC;AACpO,iBAAiB,CAAC,IAAI,GAAG,EAAE,CAAC,mBAAmB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;AAC7J,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC;AAC3H,YAAY,IAAI,EAAE,QAAQ;AAC1B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,YAAY,EAAE;AAClC,wBAAwB,oBAAoB;AAC5C,qBAAqB;AACrB,oBAAoB,OAAO,EAAE;AAC7B,wBAAwB,YAAY;AACpC,qBAAqB;AACrB,oBAAoB,OAAO,EAAE;AAC7B,wBAAwB,oBAAoB;AAC5C,qBAAqB;AACrB,iBAAiB,CAAC;AAClB,SAAS,CAAC,EAAE,CAAC;;ACtBb;AACA;AACA;;;;"}
@@ -0,0 +1 @@
1
+ export * from './src';
@@ -0,0 +1,2 @@
1
+ export * from './lazy-loading.module';
2
+ export * from './lazy-load/lazy-load.directive';
@@ -0,0 +1,12 @@
1
+ import { ViewContainerRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export interface ComponentType<T> {
4
+ new (...args: any[]): T;
5
+ }
6
+ export declare class BsLazyLoadDirective<T> {
7
+ private vcref;
8
+ constructor(vcref: ViewContainerRef);
9
+ set lazyLoad(factory: Promise<ComponentType<T>> | undefined);
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsLazyLoadDirective<any>, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BsLazyLoadDirective<any>, "[bsLazyLoad]", never, { "lazyLoad": "bsLazyLoad"; }, {}, never, never, false, never>;
12
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./lazy-load/lazy-load.directive";
3
+ import * as i2 from "@angular/common";
4
+ export declare class BsLazyLoadingModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsLazyLoadingModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BsLazyLoadingModule, [typeof i1.BsLazyLoadDirective], [typeof i2.CommonModule], [typeof i1.BsLazyLoadDirective]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<BsLazyLoadingModule>;
8
+ }
@@ -11,8 +11,9 @@ import * as i9 from "./expand-button/expand-button.directive";
11
11
  import * as i10 from "./navbar-toggler/navbar-toggler.component";
12
12
  import * as i11 from "@angular/common";
13
13
  import * as i12 from "@mintplayer/ng-click-outside";
14
+ import * as i13 from "@mintplayer/ng-bootstrap/user-agent";
14
15
  export declare class BsNavbarModule {
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<BsNavbarModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<BsNavbarModule, [typeof i1.BsNavbarComponent, typeof i2.BsNavbarNavComponent, typeof i3.BsNavbarDropdownComponent, typeof i4.BsNavbarItemComponent, typeof i5.DropdownToggleDirective, typeof i6.NavLinkDirective, typeof i7.BsNavbarContentDirective, typeof i8.BsNavbarBrandComponent, typeof i9.BsExpandButtonDirective, typeof i10.BsNavbarTogglerComponent], [typeof i11.CommonModule, typeof i12.ClickOutsideModule], [typeof i1.BsNavbarComponent, typeof i2.BsNavbarNavComponent, typeof i3.BsNavbarDropdownComponent, typeof i4.BsNavbarItemComponent, typeof i5.DropdownToggleDirective, typeof i6.NavLinkDirective, typeof i7.BsNavbarContentDirective, typeof i8.BsNavbarBrandComponent, typeof i9.BsExpandButtonDirective, typeof i10.BsNavbarTogglerComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BsNavbarModule, [typeof i1.BsNavbarComponent, typeof i2.BsNavbarNavComponent, typeof i3.BsNavbarDropdownComponent, typeof i4.BsNavbarItemComponent, typeof i5.DropdownToggleDirective, typeof i6.NavLinkDirective, typeof i7.BsNavbarContentDirective, typeof i8.BsNavbarBrandComponent, typeof i9.BsExpandButtonDirective, typeof i10.BsNavbarTogglerComponent], [typeof i11.CommonModule, typeof i12.ClickOutsideModule, typeof i13.BsUserAgentModule], [typeof i1.BsNavbarComponent, typeof i2.BsNavbarNavComponent, typeof i3.BsNavbarDropdownComponent, typeof i4.BsNavbarItemComponent, typeof i5.DropdownToggleDirective, typeof i6.NavLinkDirective, typeof i7.BsNavbarContentDirective, typeof i8.BsNavbarBrandComponent, typeof i9.BsExpandButtonDirective, typeof i10.BsNavbarTogglerComponent]>;
17
18
  static ɵinj: i0.ɵɵInjectorDeclaration<BsNavbarModule>;
18
19
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mintplayer/ng-bootstrap",
3
3
  "private": false,
4
- "version": "15.2.4",
4
+ "version": "15.4.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/MintPlayer/mintplayer-ng-bootstrap",
@@ -244,6 +244,14 @@
244
244
  "node": "./fesm2015/mintplayer-ng-bootstrap-input-group.mjs",
245
245
  "default": "./fesm2020/mintplayer-ng-bootstrap-input-group.mjs"
246
246
  },
247
+ "./lazy-loading": {
248
+ "types": "./lazy-loading/index.d.ts",
249
+ "esm2020": "./esm2020/lazy-loading/mintplayer-ng-bootstrap-lazy-loading.mjs",
250
+ "es2020": "./fesm2020/mintplayer-ng-bootstrap-lazy-loading.mjs",
251
+ "es2015": "./fesm2015/mintplayer-ng-bootstrap-lazy-loading.mjs",
252
+ "node": "./fesm2015/mintplayer-ng-bootstrap-lazy-loading.mjs",
253
+ "default": "./fesm2020/mintplayer-ng-bootstrap-lazy-loading.mjs"
254
+ },
247
255
  "./list-group": {
248
256
  "types": "./list-group/index.d.ts",
249
257
  "esm2020": "./esm2020/list-group/mintplayer-ng-bootstrap-list-group.mjs",
@@ -435,6 +443,14 @@
435
443
  "es2015": "./fesm2015/mintplayer-ng-bootstrap-typeahead.mjs",
436
444
  "node": "./fesm2015/mintplayer-ng-bootstrap-typeahead.mjs",
437
445
  "default": "./fesm2020/mintplayer-ng-bootstrap-typeahead.mjs"
446
+ },
447
+ "./user-agent": {
448
+ "types": "./user-agent/index.d.ts",
449
+ "esm2020": "./esm2020/user-agent/mintplayer-ng-bootstrap-user-agent.mjs",
450
+ "es2020": "./fesm2020/mintplayer-ng-bootstrap-user-agent.mjs",
451
+ "es2015": "./fesm2015/mintplayer-ng-bootstrap-user-agent.mjs",
452
+ "node": "./fesm2015/mintplayer-ng-bootstrap-user-agent.mjs",
453
+ "default": "./fesm2020/mintplayer-ng-bootstrap-user-agent.mjs"
438
454
  }
439
455
  },
440
456
  "sideEffects": false
@@ -12,6 +12,7 @@ export declare class BsPopoverDirective implements AfterViewInit, OnDestroy {
12
12
  private parent;
13
13
  constructor(overlay: Overlay, templateRef: TemplateRef<any>, parentInjector: Injector, portalFactory: (injector: Injector) => ComponentPortal<any>, parent: ElementRef);
14
14
  set bsPopover(value: Position);
15
+ updatePosition: boolean;
15
16
  private injector;
16
17
  private portal;
17
18
  private overlayRef;
@@ -23,5 +24,5 @@ export declare class BsPopoverDirective implements AfterViewInit, OnDestroy {
23
24
  ngAfterViewInit(): void;
24
25
  ngOnDestroy(): void;
25
26
  static ɵfac: i0.ɵɵFactoryDeclaration<BsPopoverDirective, [null, null, null, null, { host: true; skipSelf: true; }]>;
26
- static ɵdir: i0.ɵɵDirectiveDeclaration<BsPopoverDirective, "*[bsPopover]", never, { "bsPopover": "bsPopover"; }, {}, never, never, false, never>;
27
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BsPopoverDirective, "*[bsPopover]", never, { "bsPopover": "bsPopover"; "updatePosition": "updatePosition"; }, {}, never, never, false, never>;
27
28
  }
@@ -0,0 +1 @@
1
+ export * from './src';
@@ -0,0 +1,3 @@
1
+ export * from './user-agent.type';
2
+ export * from './user-agent/user-agent.directive';
3
+ export * from './user-agent/user-agent.module';
@@ -0,0 +1,12 @@
1
+ import { AfterViewInit, EventEmitter } from '@angular/core';
2
+ import { BsUserAgent } from '../user-agent.type';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BsUserAgentDirective implements AfterViewInit {
5
+ get isAndroid(): boolean;
6
+ get isIos(): boolean;
7
+ get isWindows(): boolean;
8
+ ngAfterViewInit(): void;
9
+ detected: EventEmitter<BsUserAgent | undefined>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsUserAgentDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BsUserAgentDirective, "[bsUserAgent]", never, {}, { "detected": "detected"; }, never, never, false, never>;
12
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./user-agent.directive";
3
+ import * as i2 from "@angular/common";
4
+ export declare class BsUserAgentModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsUserAgentModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BsUserAgentModule, [typeof i1.BsUserAgentDirective], [typeof i2.CommonModule], [typeof i1.BsUserAgentDirective]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<BsUserAgentModule>;
8
+ }
@@ -0,0 +1 @@
1
+ export declare type BsUserAgent = 'Android' | 'iOS' | 'Windows';