@skyux/core 5.0.0-beta.9 → 5.1.2

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 (235) hide show
  1. package/LICENSE +21 -0
  2. package/bundles/skyux-core-testing.umd.js +363 -234
  3. package/bundles/skyux-core-testing.umd.js.map +1 -1
  4. package/bundles/skyux-core.umd.js +3320 -2917
  5. package/bundles/skyux-core.umd.js.map +1 -1
  6. package/documentation.json +8855 -0
  7. package/esm2015/modules/adapter-service/adapter.module.js +11 -8
  8. package/esm2015/modules/adapter-service/adapter.service.js +14 -15
  9. package/esm2015/modules/adapter-service/focusable-children-options.js +2 -1
  10. package/esm2015/modules/affix/affix-auto-fit-context.js +1 -1
  11. package/esm2015/modules/affix/affix-config.js +2 -1
  12. package/esm2015/modules/affix/affix-horizontal-alignment.js +2 -1
  13. package/esm2015/modules/affix/affix-offset-change.js +2 -1
  14. package/esm2015/modules/affix/affix-offset.js +2 -1
  15. package/esm2015/modules/affix/affix-placement-change.js +2 -1
  16. package/esm2015/modules/affix/affix-placement.js +2 -1
  17. package/esm2015/modules/affix/affix-utils.js +1 -1
  18. package/esm2015/modules/affix/affix-vertical-alignment.js +2 -1
  19. package/esm2015/modules/affix/affix.directive.js +36 -49
  20. package/esm2015/modules/affix/affix.module.js +22 -17
  21. package/esm2015/modules/affix/affix.service.js +12 -15
  22. package/esm2015/modules/affix/affixer.js +1 -1
  23. package/esm2015/modules/affix/dom-utils.js +1 -1
  24. package/esm2015/modules/dock/dock-dom-adapter.service.js +23 -15
  25. package/esm2015/modules/dock/dock-insert-component-config.js +2 -1
  26. package/esm2015/modules/dock/dock-item-config.js +2 -1
  27. package/esm2015/modules/dock/dock-item-reference.js +2 -1
  28. package/esm2015/modules/dock/dock-item.js +1 -1
  29. package/esm2015/modules/dock/dock-location.js +19 -0
  30. package/esm2015/modules/dock/dock-options.js +2 -0
  31. package/esm2015/modules/dock/dock.component.js +48 -33
  32. package/esm2015/modules/dock/dock.module.js +28 -17
  33. package/esm2015/modules/dock/dock.service.js +44 -16
  34. package/esm2015/modules/dock/sort-by-stack-order.js +1 -1
  35. package/esm2015/modules/dynamic-component/dynamic-component-location.js +15 -3
  36. package/esm2015/modules/dynamic-component/dynamic-component-options.js +2 -1
  37. package/esm2015/modules/dynamic-component/dynamic-component.module.js +11 -8
  38. package/esm2015/modules/dynamic-component/dynamic-component.service.js +24 -23
  39. package/esm2015/modules/format/app-format.js +11 -11
  40. package/esm2015/modules/id/id.directive.js +14 -16
  41. package/esm2015/modules/id/id.module.js +18 -15
  42. package/esm2015/modules/log/log.module.js +11 -8
  43. package/esm2015/modules/log/log.service.js +11 -11
  44. package/esm2015/modules/media-query/media-breakpoints.js +1 -1
  45. package/esm2015/modules/media-query/media-query-listener.js +2 -1
  46. package/esm2015/modules/media-query/media-query.module.js +11 -8
  47. package/esm2015/modules/media-query/media-query.service.js +16 -20
  48. package/esm2015/modules/mutation/mutation-observer-service.js +11 -11
  49. package/esm2015/modules/numeric/numeric-symbol.js +2 -1
  50. package/esm2015/modules/numeric/numeric.module.js +30 -21
  51. package/esm2015/modules/numeric/numeric.options.js +6 -1
  52. package/esm2015/modules/numeric/numeric.pipe.js +35 -21
  53. package/esm2015/modules/numeric/numeric.service.js +13 -16
  54. package/esm2015/modules/overlay/overlay-adapter.service.js +13 -15
  55. package/esm2015/modules/overlay/overlay-config.js +2 -1
  56. package/esm2015/modules/overlay/overlay-context.js +1 -1
  57. package/esm2015/modules/overlay/overlay-instance.js +1 -1
  58. package/esm2015/modules/overlay/overlay.component.js +41 -44
  59. package/esm2015/modules/overlay/overlay.module.js +22 -17
  60. package/esm2015/modules/overlay/overlay.service.js +18 -26
  61. package/esm2015/modules/percent-pipe/percent-pipe.module.js +30 -21
  62. package/esm2015/modules/percent-pipe/percent.pipe.js +15 -15
  63. package/esm2015/modules/scrollable-host/scrollable-host.service.js +83 -0
  64. package/esm2015/modules/shared/number-format/number-format-utility.js +4 -3
  65. package/esm2015/modules/shared/sky-core-resources.module.js +41 -0
  66. package/esm2015/modules/title/set-title-args.js +2 -1
  67. package/esm2015/modules/title/title.service.js +11 -15
  68. package/esm2015/modules/ui-config/ui-config.service.js +11 -11
  69. package/esm2015/modules/viewkeeper/viewkeeper-boundary-info.js +2 -1
  70. package/esm2015/modules/viewkeeper/viewkeeper-fixed-styles.js +2 -1
  71. package/esm2015/modules/viewkeeper/viewkeeper-host-options.js +9 -8
  72. package/esm2015/modules/viewkeeper/viewkeeper-offset.js +2 -1
  73. package/esm2015/modules/viewkeeper/viewkeeper-options.js +2 -1
  74. package/esm2015/modules/viewkeeper/viewkeeper.directive.js +47 -32
  75. package/esm2015/modules/viewkeeper/viewkeeper.js +16 -11
  76. package/esm2015/modules/viewkeeper/viewkeeper.module.js +18 -15
  77. package/esm2015/modules/viewkeeper/viewkeeper.service.js +13 -16
  78. package/esm2015/modules/window/window-ref.js +11 -11
  79. package/esm2015/public-api.js +60 -0
  80. package/esm2015/skyux-core.js +2 -12
  81. package/esm2015/testing/mock-media-query.service.js +9 -8
  82. package/esm2015/testing/mock-ui-config.service.js +9 -8
  83. package/esm2015/testing/public-api.js +3 -0
  84. package/esm2015/testing/skyux-core-testing.js +2 -2
  85. package/fesm2015/skyux-core-testing.js +15 -11
  86. package/fesm2015/skyux-core-testing.js.map +1 -1
  87. package/fesm2015/skyux-core.js +847 -574
  88. package/fesm2015/skyux-core.js.map +1 -1
  89. package/modules/adapter-service/adapter.module.d.ts +4 -0
  90. package/modules/adapter-service/adapter.service.d.ts +3 -0
  91. package/modules/affix/affix.directive.d.ts +3 -0
  92. package/modules/affix/affix.module.d.ts +6 -0
  93. package/modules/affix/affix.service.d.ts +3 -0
  94. package/modules/dock/dock-dom-adapter.service.d.ts +6 -0
  95. package/modules/dock/dock-location.d.ts +17 -0
  96. package/modules/dock/dock-options.d.ts +18 -0
  97. package/modules/dock/dock.component.d.ts +8 -3
  98. package/modules/dock/dock.module.d.ts +6 -0
  99. package/modules/dock/dock.service.d.ts +14 -1
  100. package/modules/dynamic-component/dynamic-component-location.d.ts +14 -2
  101. package/modules/dynamic-component/dynamic-component-options.d.ts +4 -0
  102. package/modules/dynamic-component/dynamic-component.module.d.ts +4 -0
  103. package/modules/dynamic-component/dynamic-component.service.d.ts +3 -0
  104. package/modules/format/app-format.d.ts +3 -0
  105. package/modules/id/id.directive.d.ts +3 -0
  106. package/modules/id/id.module.d.ts +5 -0
  107. package/modules/log/log.module.d.ts +4 -0
  108. package/modules/log/log.service.d.ts +3 -0
  109. package/modules/media-query/media-query.module.d.ts +4 -0
  110. package/modules/media-query/media-query.service.d.ts +3 -0
  111. package/modules/mutation/mutation-observer-service.d.ts +3 -0
  112. package/modules/numeric/numeric.module.d.ts +7 -0
  113. package/modules/numeric/numeric.options.d.ts +5 -0
  114. package/modules/numeric/numeric.pipe.d.ts +11 -2
  115. package/modules/numeric/numeric.service.d.ts +3 -0
  116. package/modules/overlay/overlay-adapter.service.d.ts +3 -0
  117. package/modules/overlay/overlay.component.d.ts +3 -0
  118. package/modules/overlay/overlay.module.d.ts +6 -0
  119. package/modules/overlay/overlay.service.d.ts +3 -0
  120. package/modules/percent-pipe/percent-pipe.module.d.ts +7 -0
  121. package/modules/percent-pipe/percent.pipe.d.ts +3 -0
  122. package/modules/scrollable-host/scrollable-host.service.d.ts +16 -0
  123. package/modules/shared/number-format/number-format-utility.d.ts +1 -1
  124. package/modules/shared/sky-core-resources.module.d.ts +14 -0
  125. package/modules/title/title.service.d.ts +3 -0
  126. package/modules/ui-config/ui-config.service.d.ts +3 -0
  127. package/modules/viewkeeper/viewkeeper-host-options.d.ts +4 -0
  128. package/modules/viewkeeper/viewkeeper-options.d.ts +5 -0
  129. package/modules/viewkeeper/viewkeeper.d.ts +1 -0
  130. package/modules/viewkeeper/viewkeeper.directive.d.ts +7 -1
  131. package/modules/viewkeeper/viewkeeper.module.d.ts +5 -0
  132. package/modules/viewkeeper/viewkeeper.service.d.ts +3 -0
  133. package/modules/window/window-ref.d.ts +3 -0
  134. package/package.json +8 -23
  135. package/{public_api.d.ts → public-api.d.ts} +6 -0
  136. package/skyux-core.d.ts +2 -11
  137. package/testing/mock-media-query.service.d.ts +3 -0
  138. package/testing/mock-ui-config.service.d.ts +3 -0
  139. package/testing/package.json +2 -5
  140. package/testing/{public_api.d.ts → public-api.d.ts} +0 -0
  141. package/testing/skyux-core-testing.d.ts +2 -1
  142. package/CHANGELOG.md +0 -328
  143. package/bundles/skyux-core-testing.umd.min.js +0 -16
  144. package/bundles/skyux-core-testing.umd.min.js.map +0 -1
  145. package/bundles/skyux-core.umd.min.js +0 -16
  146. package/bundles/skyux-core.umd.min.js.map +0 -1
  147. package/esm2015/modules/shared/core-resources.module.js +0 -17
  148. package/esm2015/plugin-resources/core-resources-provider.js +0 -16
  149. package/esm2015/public_api.js +0 -36
  150. package/esm2015/testing/public_api.js +0 -3
  151. package/esm5/modules/adapter-service/adapter.module.js +0 -16
  152. package/esm5/modules/adapter-service/adapter.service.js +0 -221
  153. package/esm5/modules/adapter-service/focusable-children-options.js +0 -1
  154. package/esm5/modules/affix/affix-auto-fit-context.js +0 -12
  155. package/esm5/modules/affix/affix-config.js +0 -1
  156. package/esm5/modules/affix/affix-horizontal-alignment.js +0 -1
  157. package/esm5/modules/affix/affix-offset-change.js +0 -1
  158. package/esm5/modules/affix/affix-offset.js +0 -1
  159. package/esm5/modules/affix/affix-placement-change.js +0 -1
  160. package/esm5/modules/affix/affix-placement.js +0 -1
  161. package/esm5/modules/affix/affix-utils.js +0 -23
  162. package/esm5/modules/affix/affix-vertical-alignment.js +0 -1
  163. package/esm5/modules/affix/affix.directive.js +0 -113
  164. package/esm5/modules/affix/affix.module.js +0 -24
  165. package/esm5/modules/affix/affix.service.js +0 -28
  166. package/esm5/modules/affix/affixer.js +0 -368
  167. package/esm5/modules/affix/dom-utils.js +0 -79
  168. package/esm5/modules/dock/dock-dom-adapter.service.js +0 -72
  169. package/esm5/modules/dock/dock-insert-component-config.js +0 -1
  170. package/esm5/modules/dock/dock-item-config.js +0 -1
  171. package/esm5/modules/dock/dock-item-reference.js +0 -1
  172. package/esm5/modules/dock/dock-item.js +0 -35
  173. package/esm5/modules/dock/dock.component.js +0 -87
  174. package/esm5/modules/dock/dock.module.js +0 -24
  175. package/esm5/modules/dock/dock.service.js +0 -69
  176. package/esm5/modules/dock/sort-by-stack-order.js +0 -13
  177. package/esm5/modules/dynamic-component/dynamic-component-location.js +0 -15
  178. package/esm5/modules/dynamic-component/dynamic-component-options.js +0 -1
  179. package/esm5/modules/dynamic-component/dynamic-component.module.js +0 -17
  180. package/esm5/modules/dynamic-component/dynamic-component.service.js +0 -82
  181. package/esm5/modules/format/app-format.js +0 -25
  182. package/esm5/modules/id/id.directive.js +0 -41
  183. package/esm5/modules/id/id.module.js +0 -20
  184. package/esm5/modules/log/log.module.js +0 -16
  185. package/esm5/modules/log/log.service.js +0 -29
  186. package/esm5/modules/media-query/media-breakpoints.js +0 -20
  187. package/esm5/modules/media-query/media-query-listener.js +0 -1
  188. package/esm5/modules/media-query/media-query.module.js +0 -16
  189. package/esm5/modules/media-query/media-query.service.js +0 -128
  190. package/esm5/modules/mutation/mutation-observer-service.js +0 -19
  191. package/esm5/modules/numeric/numeric-symbol.js +0 -1
  192. package/esm5/modules/numeric/numeric.module.js +0 -29
  193. package/esm5/modules/numeric/numeric.options.js +0 -38
  194. package/esm5/modules/numeric/numeric.pipe.js +0 -70
  195. package/esm5/modules/numeric/numeric.service.js +0 -196
  196. package/esm5/modules/overlay/overlay-adapter.service.js +0 -44
  197. package/esm5/modules/overlay/overlay-config.js +0 -1
  198. package/esm5/modules/overlay/overlay-context.js +0 -12
  199. package/esm5/modules/overlay/overlay-instance.js +0 -66
  200. package/esm5/modules/overlay/overlay.component.js +0 -168
  201. package/esm5/modules/overlay/overlay.module.js +0 -24
  202. package/esm5/modules/overlay/overlay.service.js +0 -128
  203. package/esm5/modules/percent-pipe/percent-pipe.module.js +0 -29
  204. package/esm5/modules/percent-pipe/percent.pipe.js +0 -49
  205. package/esm5/modules/shared/core-resources.module.js +0 -20
  206. package/esm5/modules/shared/number-format/number-format-utility.js +0 -75
  207. package/esm5/modules/title/set-title-args.js +0 -1
  208. package/esm5/modules/title/title.service.js +0 -35
  209. package/esm5/modules/ui-config/ui-config.service.js +0 -24
  210. package/esm5/modules/viewkeeper/viewkeeper-boundary-info.js +0 -1
  211. package/esm5/modules/viewkeeper/viewkeeper-fixed-styles.js +0 -1
  212. package/esm5/modules/viewkeeper/viewkeeper-host-options.js +0 -12
  213. package/esm5/modules/viewkeeper/viewkeeper-offset.js +0 -1
  214. package/esm5/modules/viewkeeper/viewkeeper-options.js +0 -1
  215. package/esm5/modules/viewkeeper/viewkeeper.directive.js +0 -134
  216. package/esm5/modules/viewkeeper/viewkeeper.js +0 -219
  217. package/esm5/modules/viewkeeper/viewkeeper.module.js +0 -20
  218. package/esm5/modules/viewkeeper/viewkeeper.service.js +0 -42
  219. package/esm5/modules/window/window-ref.js +0 -37
  220. package/esm5/plugin-resources/core-resources-provider.js +0 -17
  221. package/esm5/public_api.js +0 -36
  222. package/esm5/skyux-core.js +0 -15
  223. package/esm5/testing/mock-media-query.service.js +0 -47
  224. package/esm5/testing/mock-ui-config.service.js +0 -66
  225. package/esm5/testing/public_api.js +0 -3
  226. package/esm5/testing/skyux-core-testing.js +0 -5
  227. package/fesm5/skyux-core-testing.js +0 -114
  228. package/fesm5/skyux-core-testing.js.map +0 -1
  229. package/fesm5/skyux-core.js +0 -2903
  230. package/fesm5/skyux-core.js.map +0 -1
  231. package/modules/shared/core-resources.module.d.ts +0 -2
  232. package/plugin-resources/core-resources-provider.d.ts +0 -5
  233. package/skyux-core.metadata.json +0 -1
  234. package/src/assets/locales/resources_en_US.json +0 -18
  235. package/testing/skyux-core-testing.metadata.json +0 -1
@@ -1,21 +1,27 @@
1
1
  import { ElementRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { MutationObserverService } from '../mutation/mutation-observer-service';
3
+ import { SkyScrollableHostService } from '../scrollable-host/scrollable-host.service';
3
4
  import { SkyViewkeeperService } from './viewkeeper.service';
5
+ import * as i0 from "@angular/core";
4
6
  export declare class SkyViewkeeperDirective implements OnInit, OnDestroy {
5
7
  private el;
6
8
  private mutationObserverSvc;
7
9
  private viewkeeperSvc;
10
+ private scrollableHostService;
8
11
  set skyViewkeeper(value: string[]);
9
12
  get skyViewkeeper(): string[];
10
13
  private _skyViewkeeper;
11
14
  private viewkeepers;
12
15
  private observer;
13
16
  private currentViewkeeperEls;
14
- constructor(el: ElementRef, mutationObserverSvc: MutationObserverService, viewkeeperSvc: SkyViewkeeperService);
17
+ private scrollableHostWatchUnsubscribe;
18
+ constructor(el: ElementRef, mutationObserverSvc: MutationObserverService, viewkeeperSvc: SkyViewkeeperService, scrollableHostService: SkyScrollableHostService);
15
19
  ngOnInit(): void;
16
20
  ngOnDestroy(): void;
17
21
  private destroyViewkeepers;
18
22
  private getViewkeeperEls;
19
23
  private viewkeeperElsChanged;
20
24
  private detectElements;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyViewkeeperDirective, [null, null, null, { optional: true; }]>;
26
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SkyViewkeeperDirective, "[skyViewkeeper]", never, { "skyViewkeeper": "skyViewkeeper"; }, {}, never>;
21
27
  }
@@ -1,2 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./viewkeeper.directive";
1
3
  export declare class SkyViewkeeperModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyViewkeeperModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyViewkeeperModule, [typeof i1.SkyViewkeeperDirective], never, [typeof i1.SkyViewkeeperDirective]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyViewkeeperModule>;
2
7
  }
@@ -1,6 +1,7 @@
1
1
  import { SkyViewkeeper } from './viewkeeper';
2
2
  import { SkyViewkeeperHostOptions } from './viewkeeper-host-options';
3
3
  import { SkyViewkeeperOptions } from './viewkeeper-options';
4
+ import * as i0 from "@angular/core";
4
5
  /**
5
6
  * Provides methods for creating and destroying viewkeeper instances.
6
7
  */
@@ -17,4 +18,6 @@ export declare class SkyViewkeeperService {
17
18
  * @param vk Viewkeeper instance to destroy.
18
19
  */
19
20
  destroy(vk: SkyViewkeeper): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyViewkeeperService, [{ optional: true; }]>;
22
+ static ɵprov: i0.ɵɵInjectableDeclaration<SkyViewkeeperService>;
20
23
  }
@@ -1,3 +1,4 @@
1
+ import * as i0 from "@angular/core";
1
2
  /**
2
3
  * @internal
3
4
  */
@@ -12,4 +13,6 @@ export declare class SkyAppWindowRef {
12
13
  * References the global `window` variable.
13
14
  */
14
15
  get nativeWindow(): any;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAppWindowRef, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<SkyAppWindowRef>;
15
18
  }
package/package.json CHANGED
@@ -1,35 +1,20 @@
1
1
  {
2
2
  "name": "@skyux/core",
3
- "version": "5.0.0-beta.9",
4
- "description": "SKY UX Core",
5
- "keywords": [],
6
- "author": "Blackbaud",
7
- "license": "ISC",
8
- "repository": {
9
- "type": "git",
10
- "url": "git+https://github.com/blackbaud/skyux-core.git"
11
- },
12
- "bugs": {
13
- "url": "https://github.com/blackbaud/skyux-core/issues"
14
- },
15
- "homepage": "https://github.com/blackbaud/skyux-core#readme",
3
+ "version": "5.1.2",
16
4
  "peerDependencies": {
17
- "@angular/common": "^9.1.7 || ^12",
18
- "@angular/core": "^9.1.7 || ^12",
19
- "@angular/router": "^9.1.7 || ^12",
20
- "@skyux/i18n": "^5.0.0-beta.2"
5
+ "@angular/common": "^12.2.12",
6
+ "@angular/core": "^12.2.12",
7
+ "@angular/router": "^12.2.12",
8
+ "@skyux/i18n": "^5.0.0"
21
9
  },
22
10
  "dependencies": {
23
- "tslib": "^1.10.0"
11
+ "tslib": "^2.3.0"
24
12
  },
25
13
  "main": "bundles/skyux-core.umd.js",
26
- "module": "fesm5/skyux-core.js",
14
+ "module": "fesm2015/skyux-core.js",
27
15
  "es2015": "fesm2015/skyux-core.js",
28
- "esm5": "esm5/skyux-core.js",
29
16
  "esm2015": "esm2015/skyux-core.js",
30
- "fesm5": "fesm5/skyux-core.js",
31
17
  "fesm2015": "fesm2015/skyux-core.js",
32
18
  "typings": "skyux-core.d.ts",
33
- "metadata": "skyux-core.metadata.json",
34
19
  "sideEffects": false
35
- }
20
+ }
@@ -15,6 +15,8 @@ export * from './modules/affix/affixer';
15
15
  export * from './modules/dock/dock-insert-component-config';
16
16
  export * from './modules/dock/dock-item';
17
17
  export * from './modules/dock/dock-item-config';
18
+ export * from './modules/dock/dock-location';
19
+ export * from './modules/dock/dock-options';
18
20
  export * from './modules/dock/dock.module';
19
21
  export * from './modules/dock/dock.service';
20
22
  export * from './modules/dynamic-component/dynamic-component-location';
@@ -41,6 +43,7 @@ export * from './modules/overlay/overlay.module';
41
43
  export * from './modules/overlay/overlay.service';
42
44
  export * from './modules/percent-pipe/percent-pipe.module';
43
45
  export * from './modules/percent-pipe/percent.pipe';
46
+ export * from './modules/scrollable-host/scrollable-host.service';
44
47
  export * from './modules/title/set-title-args';
45
48
  export * from './modules/title/title.service';
46
49
  export * from './modules/ui-config/ui-config.service';
@@ -49,3 +52,6 @@ export * from './modules/viewkeeper/viewkeeper-options';
49
52
  export * from './modules/viewkeeper/viewkeeper.module';
50
53
  export * from './modules/viewkeeper/viewkeeper.service';
51
54
  export * from './modules/window/window-ref';
55
+ export { SkyAffixDirective as λ1 } from './modules/affix/affix.directive';
56
+ export { SkyIdDirective as λ2 } from './modules/id/id.directive';
57
+ export { SkyViewkeeperDirective as λ3 } from './modules/viewkeeper/viewkeeper.directive';
package/skyux-core.d.ts CHANGED
@@ -1,14 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
- export * from './public_api';
5
- export { SkyAffixDirective as ɵa } from './modules/affix/affix.directive';
6
- export { SkyDockDomAdapterService as ɵc } from './modules/dock/dock-dom-adapter.service';
7
- export { SkyDockComponent as ɵb } from './modules/dock/dock.component';
8
- export { SkyIdDirective as ɵd } from './modules/id/id.directive';
9
- export { SkyOverlayAdapterService as ɵi } from './modules/overlay/overlay-adapter.service';
10
- export { SkyOverlayContext as ɵh } from './modules/overlay/overlay-context';
11
- export { SkyOverlayComponent as ɵg } from './modules/overlay/overlay.component';
12
- export { SkyCoreResourcesModule as ɵe } from './modules/shared/core-resources.module';
13
- export { SkyViewkeeperDirective as ɵj } from './modules/viewkeeper/viewkeeper.directive';
14
- export { SkyCoreResourcesProvider as ɵf } from './plugin-resources/core-resources-provider';
4
+ /// <amd-module name="@skyux/core" />
5
+ export * from './public-api';
@@ -1,5 +1,6 @@
1
1
  import { SkyMediaBreakpoints, SkyMediaQueryListener, SkyMediaQueryService } from '@skyux/core';
2
2
  import { BehaviorSubject, Subscription } from 'rxjs';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class MockSkyMediaQueryService extends SkyMediaQueryService {
4
5
  static xs: string;
5
6
  static sm: string;
@@ -13,4 +14,6 @@ export declare class MockSkyMediaQueryService extends SkyMediaQueryService {
13
14
  subscribe(listener: SkyMediaQueryListener): Subscription;
14
15
  fire(args: SkyMediaBreakpoints): void;
15
16
  destroy(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<MockSkyMediaQueryService, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<MockSkyMediaQueryService>;
16
19
  }
@@ -1,4 +1,7 @@
1
1
  import { SkyUIConfigService } from '@skyux/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class MockSkyUIConfigService extends SkyUIConfigService {
3
4
  getConfig(key: string, defaultConfig?: any): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<MockSkyUIConfigService, never>;
6
+ static ɵprov: i0.ɵɵInjectableDeclaration<MockSkyUIConfigService>;
4
7
  }
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "main": "../bundles/skyux-core-testing.umd.js",
3
- "module": "../fesm5/skyux-core-testing.js",
3
+ "module": "../fesm2015/skyux-core-testing.js",
4
4
  "es2015": "../fesm2015/skyux-core-testing.js",
5
- "esm5": "../esm5/testing/skyux-core-testing.js",
6
5
  "esm2015": "../esm2015/testing/skyux-core-testing.js",
7
- "fesm5": "../fesm5/skyux-core-testing.js",
8
6
  "fesm2015": "../fesm2015/skyux-core-testing.js",
9
7
  "typings": "skyux-core-testing.d.ts",
10
- "metadata": "skyux-core-testing.metadata.json",
11
8
  "sideEffects": false,
12
9
  "name": "@skyux/core/testing"
13
- }
10
+ }
File without changes
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
- export * from './public_api';
4
+ /// <amd-module name="@skyux/core/testing" />
5
+ export * from './public-api';
package/CHANGELOG.md DELETED
@@ -1,328 +0,0 @@
1
- # 5.0.0-beta.9 (2021-07-29)
2
-
3
- - Merged bug fixes from the 4.x branch into the 5.x branch.
4
-
5
- # 4.6.3 (2021-07-28)
6
-
7
- - Fixed `SkyNumericService`'s `formatNumber` method to allow number formatting to be undefined. [#245](https://github.com/blackbaud/skyux-core/pull/245)
8
-
9
- # 5.0.0-beta.8 (2021-07-26)
10
-
11
- - Fixed the `SkyDynamicComponentService` to work within lazy-loaded modules. [#244](https://github.com/blackbaud/skyux-core/pull/244)
12
-
13
- # 5.0.0-beta.7 (2021-07-15)
14
-
15
- - Added all features and bug fixes from the `master` branch. [#242](https://github.com/blackbaud/skyux-core/pull/242)
16
-
17
- # 5.0.0-beta.6 (2021-07-15)
18
-
19
- - Removed the `ng update` schematic and package group. To update all SKY UX component packages, run `ng update @skyux/packages` instead. [#241](https://github.com/blackbaud/skyux-core/pull/241)
20
-
21
- # 4.6.2 (2021-07-13)
22
-
23
- - Fixed a bug in `SkyNumericService` that truncated rounded numbers incorrectly in certain boundary conditions, e.g. `999999` as `1,000K` instead of `1M`. [#239](https://github.com/blackbaud/skyux-core/pull/239)
24
-
25
- # 4.6.1 (2021-07-09)
26
-
27
- - Fixed the `getFocusableChildren` method with the `SkyCoreAdapterService` to not include elements which have a `tabIndex` but are disabled as focusable children. [#237](https://github.com/blackbaud/skyux-core/pull/237)
28
-
29
- # 5.0.0-beta.5 (2021-07-08)
30
-
31
- - Updated the package group to be used by Angular CLI's `ng update` command. [#236](https://github.com/blackbaud/skyux-core/pull/236)
32
-
33
- # 5.0.0-beta.4 (2021-06-29)
34
-
35
- - Fixed the peer dependencies to only reference beta versions for SKY UX packages. [#235](https://github.com/blackbaud/skyux-core/pull/235)
36
-
37
- # 5.0.0-beta.3 (2021-06-22)
38
-
39
- - Added a "no operation" schematic to test Angular CLI's `ng update` command. [#233](https://github.com/blackbaud/skyux-core/pull/233)
40
-
41
- # 5.0.0-beta.2 (2021-06-22)
42
-
43
- - Added a package group to be used by Angular CLI's `ng update` command. [#232](https://github.com/blackbaud/skyux-core/pull/232)
44
-
45
- # 5.0.0-beta.1 (2021-06-22)
46
-
47
- - Fixed the `SkyNumericService` to work within lazy-loaded feature modules. [#230](https://github.com/blackbaud/skyux-core/pull/230)
48
-
49
- # 5.0.0-beta.0 (2021-06-15)
50
-
51
- - Initial beta release.
52
- - Updated `5.0.0-next` branch with features from the `master` branch. [#229](https://github.com/blackbaud/skyux-core/pull/229)
53
-
54
- # 4.6.0 (2021-06-14)
55
-
56
- - Added an optional `wrapperClass` for the overlay component. [#226](https://github.com/blackbaud/skyux-core/pull/226)
57
-
58
- # 5.0.0-alpha.0 (2021-06-11)
59
-
60
- ### New features
61
-
62
- - Added support for `@angular/core@^12`. [#223](https://github.com/blackbaud/skyux-core/pull/223)
63
- - Updated the following singleton services to use [Angular's preferred method to become tree-shakeable](https://angular.io/guide/singleton-services#using-providedin): `SkyCoreAdapterService`, `SkyAffixService`, `SkyDockService`, `SkyDynamicComponentService`, `SkyAppFormat`, `SkyLogService`, `SkyMediaQueryService`, `MutationObserverService`, `SkyNumericService`, `SkyOverlayAdapterService`, `SkyOverlayService`, `SkyAppTitleService`, `SkyUIConfigService`, `SkyViewkeeperService`, and `SkyAppWindowRef`. [#223](https://github.com/blackbaud/skyux-core/pull/223)
64
- - Deprecated the `SkyCoreAdapterModule`, `SkyDynamicComponentModule`, `SkyLogModule`, and `SkyMediaQueryModule` modules. [#223](https://github.com/blackbaud/skyux-core/pull/223)
65
- - Deprecated the `SkyLogService`. [#223](https://github.com/blackbaud/skyux-core/pull/223)
66
-
67
- ## Bug fixes
68
-
69
- - Added `@angular/router` as a peer dependency. [#223](https://github.com/blackbaud/skyux-core/pull/223)
70
-
71
- # 4.5.1 (2021-05-24)
72
-
73
- - Fixed the overlay component to run change detection after creating the content component. [#220](https://github.com/blackbaud/skyux-core/pull/220)
74
-
75
- # 4.5.0 (2021-04-06)
76
-
77
- - Added modern theme styles to the viewkeeper directive. [#215](https://github.com/blackbaud/skyux-core/pull/215)
78
-
79
- # 4.4.0 (2021-03-04)
80
-
81
- - Added the `getWidth`, `syncMaxHeight`, and `resetHeight` methods to the `SkyCoreAdapterService`. [#213](https://github.com/blackbaud/skyux-core/pull/213)
82
-
83
- # 4.3.3 (2021-02-05)
84
-
85
- - Fixed the overlay component to avoid additional errors when overlays are quickly created and destroyed. [#211](https://github.com/blackbaud/skyux-core/pull/211)
86
-
87
- # 4.3.2 (2021-01-06)
88
-
89
- - Fixed the overlay component to avoid throwing errors when overlays are quickly created and destroyed. [#209](https://github.com/blackbaud/skyux-core/pull/209)
90
-
91
- # 4.3.1 (2020-10-19)
92
-
93
- - Adjusted some implementation details to add support for Angular 10. [#204](https://github.com/blackbaud/skyux-core/pull/204)
94
-
95
- # 4.3.0 (2020-08-31)
96
-
97
- - Added support to the affixer for the `verticalAlignment` setting when the affixed element's placement is set to `above` or `below`. [#199](https://github.com/blackbaud/skyux-core/pull/199)
98
-
99
- # 4.2.1 (2020-08-27)
100
-
101
- - Fixed the numeric service to reference `NumericOptions` instead of `any`. [#197](https://github.com/blackbaud/skyux-core/pull/197)
102
-
103
- # 4.2.0 (2020-08-13)
104
-
105
- - Added the `skyId` directive for assigning a unique ID to an element. [#190](https://github.com/blackbaud/skyux-core/pull/190)
106
-
107
- # 4.1.1 (2020-08-06)
108
-
109
- - Added support for `@skyux/theme@4.8.0` and `@skyux-sdk/builder@4.3.0`. [#189](https://github.com/blackbaud/skyux-core/pull/189)
110
-
111
- # 4.1.0 (2020-05-14)
112
-
113
- - Added the `locale` propertly to the `SkyNumericPipe` to support different locales [#167](https://github.com/blackbaud/skyux-core/pull/167)
114
-
115
- # 4.0.0 (2020-05-11)
116
-
117
- ### New features
118
-
119
- - Updated the pipeline to transpile to the [Angular Package Format](https://docs.google.com/document/d/1CZC2rcpxffTDfRDs6p1cfbmKNLA6x5O-NtkJglDaBVs/preview). [#122](https://github.com/blackbaud/skyux-core/pull/122)
120
-
121
- ### Breaking changes
122
-
123
- - Dropped support for `rxjs@5`. Consumers can install `rxjs-compat@^6` to support older versions of `rxjs`. [#122](https://github.com/blackbaud/skyux-core/pull/122)
124
- - Removed `SkyWindowRefService` and `SkyFormat`. Use `SkyAppWindowRef` and `SkyAppFormat` instead. [#122](https://github.com/blackbaud/skyux-core/pull/122)
125
-
126
- # 4.0.0-rc.5 (2020-05-01)
127
-
128
- - Added bug fixes and features from the `master` branch. [#163](https://github.com/blackbaud/skyux-core/pull/163)
129
-
130
- # 3.14.3 (2020-05-01)
131
-
132
- - Fixed `SkyNumericPipe` to properly format decimals for numbers over 1000. [#161](https://github.com/blackbaud/skyux-core/pull/161)
133
-
134
- # 4.0.0-rc.4 (2020-04-09)
135
-
136
- ### New features
137
-
138
- - Added bug fixes and features from the `master` branch. [#158](https://github.com/blackbaud/skyux-core/pull/158)
139
-
140
- # 3.14.2 (2020-04-09)
141
-
142
- - Fixed the overlay service to remove overlay component DOM nodes during unit tests. [#156](https://github.com/blackbaud/skyux-core/pull/156)
143
-
144
- # 3.14.1 (2020-04-06)
145
-
146
- - Fixed the overlay component to appear above modal components. [#153](https://github.com/blackbaud/skyux-core/pull/153)
147
-
148
- # 4.0.0-rc.3 (2020-03-31)
149
-
150
- ### New features
151
-
152
- - Added bug fixes and features from the `master` branch. [#150](https://github.com/blackbaud/skyux-core/pull/150)
153
-
154
- # 3.14.0 (2020-03-30)
155
-
156
- - Added the `enablePointerEvents` option to `SkyOverlayConfig` to enable click events to pass through the overlay's backdrop. [#148](https://github.com/blackbaud/skyux-core/pull/148)
157
- - Added the `backdropClick` event to `SkyOverlayInstance` to allow overlay instances to listen for backdrop click events. [#148](https://github.com/blackbaud/skyux-core/pull/148)
158
- - Added the `isTargetAboveElement()` method to `SkyCoreAdapterService` to allow SKY UX components to detect if an event target element is contained within another element. [#148](https://github.com/blackbaud/skyux-core/pull/148)
159
- - Fixed the `closed` event on `SkyOverlayInstance` to fire when the instance is closed by `SkyOverlayService` or the instance itself. [#148](https://github.com/blackbaud/skyux-core/pull/148)
160
-
161
- # 3.13.0 (2020-03-26)
162
-
163
- - Added the `SkyAffixConfig.autoFitContext` configuration to allow the `Affixer`'s auto-fit functionality to respond to contexts such as the viewport and the base element's overflow parent. [#143](https://github.com/blackbaud/skyux-core/pull/143)
164
- - Added the `SkyAffixConfig.autoFitOverflowOffset` to allow the `Affixer`'s auto-fit functionality to detect dynamic boundaries. [#143](https://github.com/blackbaud/skyux-core/pull/143)
165
- - Added the `offsetChange` and `overflowScroll` events to the `Affixer`. [#143](https://github.com/blackbaud/skyux-core/pull/143)
166
- - Added a `close` method to the overlay service to replace the deprecated `close` method on the overlay instance. [#143](https://github.com/blackbaud/skyux-core/pull/143)
167
- - Fixed the overlay service to destroy the host component when all overlays are closed. [#143](https://github.com/blackbaud/skyux-core/pull/143)
168
- - Fixed the overlay service to prevent the creation of multiple overlay host components. [#143](https://github.com/blackbaud/skyux-core/pull/143)
169
- - Fixed the overlay service to prevent the overwriting of `body` styles when restricting body scrolling. [#143](https://github.com/blackbaud/skyux-core/pull/143)
170
- - Fixed the overlay component to make the `Router` service optional so that existing consumer unit tests don't require `RouterTestingModule` in their `TestBed`. [#143](https://github.com/blackbaud/skyux-core/pull/143)
171
-
172
- # 3.12.1 (2020-03-04)
173
-
174
- - Added the properties from the `SkyViewkeeperOptions` interface to `SkyViewkeeperHostOptions`. This fixes an issue where the Angular AoT compiler does not recognize interface properties that are not explicitly defined on the implementing class. [#139](https://github.com/blackbaud/skyux-core/pull/139)
175
-
176
- # 4.0.0-rc.2 (2020-03-03)
177
-
178
- ### New features
179
-
180
- - Added bug fixes and features from the `master` branch. [#132](https://github.com/blackbaud/skyux-core/pull/132)
181
-
182
- # 3.12.0 (2020-03-03)
183
-
184
- - Added the affix service and directive that enables SKY UX components to affix an element to another element. [#135](https://github.com/blackbaud/skyux-core/pull/135)
185
- - Added the missing `SkyViewkeeperHostOptions` to the exports API. [#137](https://github.com/blackbaud/skyux-core/pull/137)
186
- - Added the `@Injectable()` decorator to the `SkyViewkeeperHostOptions` class to satisfy build requirements. [#137](https://github.com/blackbaud/skyux-core/pull/137)
187
-
188
- # 3.11.1 (2020-02-27)
189
-
190
- - Fixed internal circular references in the dock component. [#133](https://github.com/blackbaud/skyux-core/pull/133)
191
-
192
- # 3.11.0 (2020-02-26)
193
-
194
- - Added the viewkeeper directive that enables SKY UX components to keep elements in view while users scroll. [#128](https://github.com/blackbaud/skyux-core/pull/128)
195
- - Added the dock service that enables SKY UX components to stack elements at the bottom of the window. [#125](https://github.com/blackbaud/skyux-core/pull/125)
196
-
197
- # 4.0.0-rc.1 (2020-02-20)
198
-
199
- ### Bug fixes
200
-
201
- - Added missing components and directives to the exports API. [#127](https://github.com/blackbaud/skyux-core/pull/127)
202
-
203
- # 4.0.0-rc.0 (2020-02-15)
204
-
205
- ### New features
206
-
207
- - Updated the pipeline to transpile to the [Angular Package Format](https://docs.google.com/document/d/1CZC2rcpxffTDfRDs6p1cfbmKNLA6x5O-NtkJglDaBVs/preview). [#122](https://github.com/blackbaud/skyux-core/pull/122)
208
-
209
- ### Breaking changes
210
-
211
- - Dropped support for `rxjs@5`. Consumers can install `rxjs-compat@^6` to support older versions of `rxjs`. [#122](https://github.com/blackbaud/skyux-core/pull/122)
212
- - Removed `SkyWindowRefService` and `SkyFormat`. Use `SkyAppWindowRef` and `SkyAppFormat` instead. [#122](https://github.com/blackbaud/skyux-core/pull/122)
213
-
214
- # 3.10.1 (2020-02-07)
215
-
216
- - Fixed the `getFocusableChildren()` method on `SkyCoreAdapterService` to include elements with the `tabIndex` attribute. [#118](https://github.com/blackbaud/skyux-core/pull/118)
217
-
218
- # 3.10.0 (2019-11-26)
219
-
220
- - Added `SkyAppTitleService` to implement basic logic for setting the window's title. SKY UX Builder replaces this service with an alternate implementation when the omnibar is present so that additional information such as the name of the selected service and the number of unread notifications can be added to the title. [#113](https://github.com/blackbaud/skyux-core/pull/113)
221
-
222
- # 3.9.0 (2019-11-22)
223
-
224
- - Added deprecation messages to the `SkyFormat` and `SkyWindowRefService` utilities. We will remove `SkyFormat` and `SkyWindowRefService` in the next major version release. We recommend replacing them with `SkyAppFormat` and `SkyAppWindowRef`. [#110](https://github.com/blackbaud/skyux-core/pull/110)
225
-
226
- # 3.8.0 (2019-10-10)
227
-
228
- - Updated the `getFocusableChildren()` method on `SkyCoreAdapterService` to make filtering optional for tab index and visibility. [#104](https://github.com/blackbaud/skyux-core/pull/104)
229
-
230
- # 3.7.0 (2019-09-11)
231
-
232
- - Added the `getFocusableChildren()` method to return an array of all focusable children for a provided `element`. [#99](https://github.com/blackbaud/skyux-core/pull/99)
233
- - Added the `SkyPercentPipe` to allow for easy conversion of numbers to their percent form. [#95](https://github.com/blackbaud/skyux-core/pull/95)
234
- - Fixed the numeric service to properly round numbers with high signficant digits. [#98](https://github.com/blackbaud/skyux-core/pull/98) (Thanks [@Blackbaud-ThomasOrtiz](https://github.com/Blackbaud-ThomasOrtiz)!)
235
-
236
- # 3.6.1 (2019-07-23)
237
-
238
- - Fixed `SkyMediaQueryService` to complete its observables when the consuming component is destroyed. [#86](https://github.com/blackbaud/skyux-core/pull/86)
239
-
240
- # 3.6.0 (2019-06-12)
241
-
242
- - Added `SkyCoreAdapterService` to provide helper functions for applying focus and setting CSS classes for responsive containers. [#81](https://github.com/blackbaud/skyux-core/pull/81)
243
-
244
- # 3.5.3 (2019-05-06)
245
-
246
- - Fixed `SkyNumericPipe` to include proper locale data when used with Angular version 5 and higher. [#74](https://github.com/blackbaud/skyux-core/pull/74)
247
-
248
- # 3.5.2 (2019-03-20)
249
-
250
- - Fixed `SkyNumericModule` to properly import `SkyI18nModule` and to provide `SkyNumericPipe`. [#72](https://github.com/blackbaud/skyux-core/pull/72)
251
- - Fixed `SkyNumericService` to support `@angular/core@^5.0.0`. [#71](https://github.com/blackbaud/skyux-core/pull/71)
252
-
253
- # 3.5.1 (2018-12-19)
254
-
255
- - Fixed `SkyDynamicComponentService` to fully destroy components which are dynamically removed. [#55](https://github.com/blackbaud/skyux-core/pull/55)
256
-
257
- # 3.5.0 (2018-12-11)
258
-
259
- - Updated `SkyDynamicComponentService` to remove components from the page dynamically. [#45](https://github.com/blackbaud/skyux-core/pull/45)
260
-
261
- # 3.4.0 (2018-11-29)
262
-
263
- - Added `SkyDynamicComponentService` to provide the ability to inject entry components onto the page dynamically. [#44](https://github.com/blackbaud/skyux-core/pull/44)
264
-
265
- # 3.3.0 (2018-11-15)
266
-
267
- - Updated peer dependencies to support Angular versions greater than `4.3.6`. [#43](https://github.com/blackbaud/skyux-core/pull/43)
268
-
269
- # 3.2.3 (2018-11-08)
270
-
271
- - Added support for `@skyux/i18n@3.3.0`, which addresses some internationalization issues. [#42](https://github.com/blackbaud/skyux-core/pull/42)
272
-
273
- # 3.2.2 (2018-10-30)
274
-
275
- - Fixed circular dependency structure when importing from `@skyux/i18n`. [#38](https://github.com/blackbaud/skyux-core/pull/38)
276
-
277
- # 3.2.1 (2018-10-29)
278
-
279
- - Fixed numeric module to use correct locale resources provider. [#35](https://github.com/blackbaud/skyux-core/pull/35)
280
-
281
- # 3.2.0 (2018-10-29)
282
-
283
- - Added `SkyUIConfigService`. [#37](https://github.com/blackbaud/skyux-core/pull/37)
284
- - Added option for minimum fraction digits to numeric service and pipe. [#34](https://github.com/blackbaud/skyux-core/pull/34)
285
-
286
- # 3.1.0 (2018-09-19)
287
-
288
- - Added `MockSkyMediaQueryService` for unit tests. [#33](https://github.com/blackbaud/skyux-core/pull/33)
289
-
290
- # 3.0.2 (2018-09-17)
291
-
292
- - Fixed locale resource imports to not produce 404s when the consuming app's execution context did not include SKY UX Builder. [#31](https://github.com/blackbaud/skyux-core/pull/31)
293
-
294
- # 3.0.1 (2018-09-10)
295
-
296
- - Fixed `NumericOptions` to provide `truncate` and `truncateAfter` as optional. [#27](https://github.com/blackbaud/skyux-core/pull/27)
297
-
298
- # 3.0.0 (2018-09-10)
299
-
300
- - Initial major release.
301
-
302
- # 3.0.0-alpha.6 (2018-08-28)
303
-
304
- - Added log and mutation to package export. [#16](https://github.com/blackbaud/skyux-core/pull/16)
305
-
306
- # 3.0.0-alpha.5 (2018-08-18)
307
-
308
- - Bugfix to remove Builder config from dependency.
309
-
310
- # 3.0.0-alpha.4 (2018-08-16)
311
-
312
- - Removed testing utilities; moved to `@skyux-sdk/testing`. [#13](https://github.com/blackbaud/skyux-core/pull/13)
313
-
314
- # 3.0.0-alpha.3 (2018-08-16)
315
-
316
- - Exported Jasmine matchers and a11y utilities. [#11](https://github.com/blackbaud/skyux-core/pull/11)
317
-
318
- # 3.0.0-alpha.2 (2018-08-16)
319
-
320
- - Exported testing components and services. [#9](https://github.com/blackbaud/skyux-core/pull/9)
321
-
322
- # 3.0.0-alpha.1 (2018-08-15)
323
-
324
- - Added localization resource files. [#3](https://github.com/blackbaud/skyux-core/pull/3)
325
-
326
- # 3.0.0-alpha.0 (2018-08-14)
327
-
328
- - Initial release.
@@ -1,16 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@skyux/core"),require("rxjs")):"function"==typeof define&&define.amd?define("@skyux/core/testing",["exports","@angular/core","@skyux/core","rxjs"],t):t(((e=e||self).skyux=e.skyux||{},e.skyux.core=e.skyux.core||{},e.skyux.core.testing={}),e.ng.core,e.skyux.core,e.rxjs)}(this,(function(e,t,r,n){"use strict";
2
- /*! *****************************************************************************
3
- Copyright (c) Microsoft Corporation.
4
-
5
- Permission to use, copy, modify, and/or distribute this software for any
6
- purpose with or without fee is hereby granted.
7
-
8
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
- PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function o(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function c(e,t,r,n){var i,o=arguments.length,c=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(c=(o<3?i(c):o>3?i(t,r,c):i(t,r))||c);return o>3&&c&&Object.defineProperty(t,r,c),c}var u=function(e){function i(){var i=e.call(this,new t.NgZone({enableLongStackTrace:!0}))||this;return i.currentMockSubject=new n.BehaviorSubject(i.current),i._currentBreakpoints=r.SkyMediaBreakpoints.md,i}return o(i,e),Object.defineProperty(i.prototype,"current",{get:function(){return this._currentBreakpoints},set:function(e){this._currentBreakpoints=e},enumerable:!0,configurable:!0}),i.prototype.subscribe=function(e){return this.currentMockSubject.subscribe({next:function(t){e(t)}})},i.prototype.fire=function(e){this._currentBreakpoints=e,this.currentMockSubject.next(this._currentBreakpoints)},i.prototype.destroy=function(){},i.xs="(max-width: 767px)",i.sm="(min-width: 768px) and (max-width: 991px)",i.md="(min-width: 992px) and (max-width: 1199px)",i.lg="(min-width: 1200px)",i=c([t.Injectable()],i)}(r.SkyMediaQueryService),s=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return o(r,e),r.prototype.getConfig=function(e,t){switch(e){case"defaultSettings":return n.of(t);case"badData":return n.of({invalidProperty:"invalidData"});default:return n.of({settings:{userSettings:{singleColumn:{tiles:[{id:"tile-1",isCollapsed:!0},{id:"tile-2",isCollapsed:!0}]},multiColumn:[{tiles:[{id:"tile-2",isCollapsed:!0}]},{tiles:[{id:"tile-1",isCollapsed:!0}]}]},defaultSettings:["tile-1","tile-2"]}})}},r=c([t.Injectable()],r)}(r.SkyUIConfigService);e.MockSkyMediaQueryService=u,e.MockSkyUIConfigService=s,Object.defineProperty(e,"__esModule",{value:!0})}));
16
- //# sourceMappingURL=skyux-core-testing.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@skyux/core/testing/mock-media-query.service.ts","ng://@skyux/core/testing/mock-ui-config.service.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__extends","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","MockSkyMediaQueryService","_this","_super","call","NgZone","enableLongStackTrace","currentMockSubject","BehaviorSubject","current","_currentBreakpoints","SkyMediaBreakpoints","md","breakpoints","subscribe","listener","next","fire","args","destroy","xs","sm","lg","Injectable","SkyMediaQueryService","MockSkyUIConfigService","getConfig","defaultConfig","observableOf","invalidProperty","settings","userSettings","singleColumn","tiles","id","isCollapsed","multiColumn","defaultSettings","SkyUIConfigService"],"mappings":";;;;;;;;;;;;;;oFAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAGrB,SAASO,EAAUR,EAAGC,GAEzB,SAASQ,IAAOC,KAAKC,YAAcX,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEY,UAAkB,OAANX,EAAaC,OAAOW,OAAOZ,IAAMQ,EAAGG,UAAYX,EAAEW,UAAW,IAAIH,GA0B5E,SAASK,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HlB,EAAvHmB,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOhB,OAAOqB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX,EAAWM,OAAS,EAAGK,GAAK,EAAGA,KAAS1B,EAAIe,EAAWW,MAAIJ,GAAKH,EAAI,EAAInB,EAAEsB,GAAKH,EAAI,EAAInB,EAAEgB,EAAQC,EAAKK,GAAKtB,EAAEgB,EAAQC,KAASK,GAChJ,OAAOH,EAAI,GAAKG,GAAKpB,OAAOyB,eAAeX,EAAQC,EAAKK,GAAIA,oBCrB9D,SAAAM,IAAA,IAAAC,EACEC,EAAAC,KAAArB,KACE,IAAIsB,EAAAA,OAAO,CACTC,sBAAsB,MAEzBvB,YATImB,EAAAK,mBAAqB,IAAIC,EAAAA,gBAAqCN,EAAKO,SAElEP,EAAAQ,oBAAsBC,EAAAA,oBAAoBC,KA0BpD,OA1C8C/B,EAAAoB,EAAAE,GAM5C5B,OAAAyB,eAAWC,EAAAhB,UAAA,UAAO,KAAlB,WACE,OAAOF,KAAK2B,yBAGd,SAAmBG,GACjB9B,KAAK2B,oBAAsBG,mCAetBZ,EAAAhB,UAAA6B,UAAP,SAAiBC,GACf,OAAOhC,KAAKwB,mBAAmBO,UAC7B,CACEE,KAAM,SAACH,GACLE,EAASF,OAMVZ,EAAAhB,UAAAgC,KAAP,SAAYC,GACVnC,KAAK2B,oBAAsBQ,EAC3BnC,KAAKwB,mBAAmBS,KAAKjC,KAAK2B,sBAG7BT,EAAAhB,UAAAkC,QAAP,aAxCclB,EAAAmB,GAAK,qBACLnB,EAAAoB,GAAK,4CACLpB,EAAAW,GAAK,6CACLX,EAAAqB,GAAK,sBAJRrB,EAAwBd,EAAA,CADpCoC,EAAAA,cACYtB,IAAiCuB,EAAAA,oCCJ9C,SAAAC,mDAuDA,OAvD4C5C,EAAA4C,EAAAtB,GAEnCsB,EAAAxC,UAAAyC,UAAP,SACEpC,EACAqC,GAEA,OAAQrC,GACN,IAAK,kBACH,OAAOsC,EAAAA,GAAaD,GACtB,IAAK,UACH,OAAOC,EAAAA,GAAa,CAACC,gBAAiB,gBACxC,QACE,OAAOD,EAAAA,GAAa,CAClBE,SAAU,CACRC,aAAc,CACZC,aAAc,CACZC,MAAO,CACL,CACEC,GAAI,SACJC,aAAa,GAEf,CACED,GAAI,SACJC,aAAa,KAInBC,YAAa,CACX,CACEH,MAAO,CACL,CACEC,GAAI,SACJC,aAAa,KAInB,CACEF,MAAO,CACL,CACEC,GAAI,SACJC,aAAa,OAMvBE,gBAAiB,CACf,SACA,eAhDDZ,EAAsBtC,EAAA,CADlCoC,EAAAA,cACYE,IAA+Ba,EAAAA","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","import {\n Injectable,\n NgZone\n} from '@angular/core';\n\nimport {\n SkyMediaBreakpoints,\n SkyMediaQueryListener,\n SkyMediaQueryService\n} from '@skyux/core';\n\nimport {\n BehaviorSubject,\n Subscription\n} from 'rxjs';\n\n@Injectable()\nexport class MockSkyMediaQueryService extends SkyMediaQueryService {\n public static xs = '(max-width: 767px)';\n public static sm = '(min-width: 768px) and (max-width: 991px)';\n public static md = '(min-width: 992px) and (max-width: 1199px)';\n public static lg = '(min-width: 1200px)';\n\n public get current(): SkyMediaBreakpoints {\n return this._currentBreakpoints;\n }\n\n public set current(breakpoints: SkyMediaBreakpoints) {\n this._currentBreakpoints = breakpoints;\n }\n\n public currentMockSubject = new BehaviorSubject<SkyMediaBreakpoints>(this.current);\n\n private _currentBreakpoints = SkyMediaBreakpoints.md;\n\n constructor() {\n super(\n new NgZone({\n enableLongStackTrace: true\n })\n );\n }\n\n public subscribe(listener: SkyMediaQueryListener): Subscription {\n return this.currentMockSubject.subscribe(\n {\n next: (breakpoints: SkyMediaBreakpoints) => {\n listener(breakpoints);\n }\n }\n );\n }\n\n public fire(args: SkyMediaBreakpoints): void {\n this._currentBreakpoints = args;\n this.currentMockSubject.next(this._currentBreakpoints);\n }\n\n public destroy(): void {}\n}\n","import {\n Injectable\n} from '@angular/core';\n\nimport {\n SkyUIConfigService\n} from '@skyux/core';\n\nimport {\n of as observableOf\n} from 'rxjs';\n\n@Injectable()\nexport class MockSkyUIConfigService extends SkyUIConfigService {\n\n public getConfig(\n key: string,\n defaultConfig?: any\n ): any {\n switch (key) {\n case 'defaultSettings':\n return observableOf(defaultConfig);\n case 'badData':\n return observableOf({invalidProperty: 'invalidData'});\n default: {\n return observableOf({\n settings: {\n userSettings: {\n singleColumn: {\n tiles: [\n {\n id: 'tile-1',\n isCollapsed: true\n },\n {\n id: 'tile-2',\n isCollapsed: true\n }\n ]\n },\n multiColumn: [\n {\n tiles: [\n {\n id: 'tile-2',\n isCollapsed: true\n }\n ]\n },\n {\n tiles: [\n {\n id: 'tile-1',\n isCollapsed: true\n }\n ]\n }\n ]\n },\n defaultSettings: [\n 'tile-1',\n 'tile-2'\n ]\n }\n });\n }\n }\n }\n}\n"]}