@ngageoint/mage.web-core-lib 6.3.0-beta.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 (142) hide show
  1. package/README.md +24 -0
  2. package/common/index.d.ts +6 -0
  3. package/common/mage-common.module.d.ts +9 -0
  4. package/common/mage-common.module.d.ts.map +1 -0
  5. package/common/ngageoint-mage.web-core-lib-common.d.ts.map +1 -0
  6. package/common/public-api.d.ts +3 -0
  7. package/common/public-api.d.ts.map +1 -0
  8. package/common/xhr-img.component.d.ts +59 -0
  9. package/common/xhr-img.component.d.ts.map +1 -0
  10. package/esm2020/common/mage-common.module.mjs +25 -0
  11. package/esm2020/common/ngageoint-mage.web-core-lib-common.mjs +5 -0
  12. package/esm2020/common/public-api.mjs +3 -0
  13. package/esm2020/common/xhr-img.component.mjs +104 -0
  14. package/esm2020/event/event-read.service.mjs +3 -0
  15. package/esm2020/event/event.model.mjs +2 -0
  16. package/esm2020/event/ngageoint-mage.web-core-lib-event.mjs +5 -0
  17. package/esm2020/event/public-api.mjs +3 -0
  18. package/esm2020/feed/feed.model.mjs +2 -0
  19. package/esm2020/feed/feed.service.mjs +105 -0
  20. package/esm2020/feed/ngageoint-mage.web-core-lib-feed.mjs +5 -0
  21. package/esm2020/feed/public-api.mjs +3 -0
  22. package/esm2020/mage-core-lib.module.mjs +19 -0
  23. package/esm2020/ngageoint-mage.web-core-lib.mjs +5 -0
  24. package/esm2020/paging/ngageoint-mage.web-core-lib-paging.mjs +5 -0
  25. package/esm2020/paging/paging.cdk-data-source.adapter.mjs +52 -0
  26. package/esm2020/paging/paging.model.mjs +25 -0
  27. package/esm2020/paging/public-api.mjs +3 -0
  28. package/esm2020/plugin/ngageoint-mage.web-core-lib-plugin.mjs +5 -0
  29. package/esm2020/plugin/plugin.model.mjs +2 -0
  30. package/esm2020/plugin/public-api.mjs +2 -0
  31. package/esm2020/public-api.mjs +5 -0
  32. package/esm2020/static-icon/ngageoint-mage.web-core-lib-static-icon.mjs +5 -0
  33. package/esm2020/static-icon/public-api.mjs +7 -0
  34. package/esm2020/static-icon/static-icon-form-field/static-icon-form-field.component.mjs +145 -0
  35. package/esm2020/static-icon/static-icon-img/static-icon-img.component.mjs +35 -0
  36. package/esm2020/static-icon/static-icon-select/static-icon-select.component.mjs +52 -0
  37. package/esm2020/static-icon/static-icon.model.mjs +10 -0
  38. package/esm2020/static-icon/static-icon.module.mjs +54 -0
  39. package/esm2020/static-icon/static-icon.service.mjs +82 -0
  40. package/esm2020/user/ngageoint-mage.web-core-lib-user.mjs +5 -0
  41. package/esm2020/user/public-api.mjs +5 -0
  42. package/esm2020/user/user-read.service.mjs +40 -0
  43. package/esm2020/user/user-select/user-select.component.mjs +159 -0
  44. package/esm2020/user/user.model.mjs +2 -0
  45. package/esm2020/user/user.module.mjs +64 -0
  46. package/event/event-read.service.d.ts +12 -0
  47. package/event/event-read.service.d.ts.map +1 -0
  48. package/event/event.model.d.ts +7 -0
  49. package/event/event.model.d.ts.map +1 -0
  50. package/event/index.d.ts +6 -0
  51. package/event/ngageoint-mage.web-core-lib-event.d.ts.map +1 -0
  52. package/event/public-api.d.ts +3 -0
  53. package/event/public-api.d.ts.map +1 -0
  54. package/feed/feed.model.d.ts +84 -0
  55. package/feed/feed.model.d.ts.map +1 -0
  56. package/feed/feed.service.d.ts +41 -0
  57. package/feed/feed.service.d.ts.map +1 -0
  58. package/feed/index.d.ts +6 -0
  59. package/feed/ngageoint-mage.web-core-lib-feed.d.ts.map +1 -0
  60. package/feed/public-api.d.ts +3 -0
  61. package/feed/public-api.d.ts.map +1 -0
  62. package/fesm2015/ngageoint-mage.web-core-lib-common.mjs +142 -0
  63. package/fesm2015/ngageoint-mage.web-core-lib-common.mjs.map +1 -0
  64. package/fesm2015/ngageoint-mage.web-core-lib-event.mjs +10 -0
  65. package/fesm2015/ngageoint-mage.web-core-lib-event.mjs.map +1 -0
  66. package/fesm2015/ngageoint-mage.web-core-lib-feed.mjs +114 -0
  67. package/fesm2015/ngageoint-mage.web-core-lib-feed.mjs.map +1 -0
  68. package/fesm2015/ngageoint-mage.web-core-lib-paging.mjs +83 -0
  69. package/fesm2015/ngageoint-mage.web-core-lib-paging.mjs.map +1 -0
  70. package/fesm2015/ngageoint-mage.web-core-lib-plugin.mjs +4 -0
  71. package/fesm2015/ngageoint-mage.web-core-lib-plugin.mjs.map +1 -0
  72. package/fesm2015/ngageoint-mage.web-core-lib-static-icon.mjs +392 -0
  73. package/fesm2015/ngageoint-mage.web-core-lib-static-icon.mjs.map +1 -0
  74. package/fesm2015/ngageoint-mage.web-core-lib-user.mjs +279 -0
  75. package/fesm2015/ngageoint-mage.web-core-lib-user.mjs.map +1 -0
  76. package/fesm2015/ngageoint-mage.web-core-lib.mjs +32 -0
  77. package/fesm2015/ngageoint-mage.web-core-lib.mjs.map +1 -0
  78. package/fesm2020/ngageoint-mage.web-core-lib-common.mjs +133 -0
  79. package/fesm2020/ngageoint-mage.web-core-lib-common.mjs.map +1 -0
  80. package/fesm2020/ngageoint-mage.web-core-lib-event.mjs +10 -0
  81. package/fesm2020/ngageoint-mage.web-core-lib-event.mjs.map +1 -0
  82. package/fesm2020/ngageoint-mage.web-core-lib-feed.mjs +112 -0
  83. package/fesm2020/ngageoint-mage.web-core-lib-feed.mjs.map +1 -0
  84. package/fesm2020/ngageoint-mage.web-core-lib-paging.mjs +83 -0
  85. package/fesm2020/ngageoint-mage.web-core-lib-paging.mjs.map +1 -0
  86. package/fesm2020/ngageoint-mage.web-core-lib-plugin.mjs +4 -0
  87. package/fesm2020/ngageoint-mage.web-core-lib-plugin.mjs.map +1 -0
  88. package/fesm2020/ngageoint-mage.web-core-lib-static-icon.mjs +368 -0
  89. package/fesm2020/ngageoint-mage.web-core-lib-static-icon.mjs.map +1 -0
  90. package/fesm2020/ngageoint-mage.web-core-lib-user.mjs +262 -0
  91. package/fesm2020/ngageoint-mage.web-core-lib-user.mjs.map +1 -0
  92. package/fesm2020/ngageoint-mage.web-core-lib.mjs +30 -0
  93. package/fesm2020/ngageoint-mage.web-core-lib.mjs.map +1 -0
  94. package/index.d.ts +6 -0
  95. package/mage-core-lib.module.d.ts +8 -0
  96. package/mage-core-lib.module.d.ts.map +1 -0
  97. package/ngageoint-mage.web-core-lib.d.ts.map +1 -0
  98. package/package.json +102 -0
  99. package/paging/index.d.ts +6 -0
  100. package/paging/ngageoint-mage.web-core-lib-paging.d.ts.map +1 -0
  101. package/paging/paging.cdk-data-source.adapter.d.ts +21 -0
  102. package/paging/paging.cdk-data-source.adapter.d.ts.map +1 -0
  103. package/paging/paging.model.d.ts +28 -0
  104. package/paging/paging.model.d.ts.map +1 -0
  105. package/paging/public-api.d.ts +3 -0
  106. package/paging/public-api.d.ts.map +1 -0
  107. package/plugin/index.d.ts +6 -0
  108. package/plugin/ngageoint-mage.web-core-lib-plugin.d.ts.map +1 -0
  109. package/plugin/plugin.model.d.ts +14 -0
  110. package/plugin/plugin.model.d.ts.map +1 -0
  111. package/plugin/public-api.d.ts +2 -0
  112. package/plugin/public-api.d.ts.map +1 -0
  113. package/public-api.d.ts +2 -0
  114. package/public-api.d.ts.map +1 -0
  115. package/static-icon/index.d.ts +6 -0
  116. package/static-icon/ngageoint-mage.web-core-lib-static-icon.d.ts.map +1 -0
  117. package/static-icon/public-api.d.ts +7 -0
  118. package/static-icon/public-api.d.ts.map +1 -0
  119. package/static-icon/static-icon-form-field/static-icon-form-field.component.d.ts +32 -0
  120. package/static-icon/static-icon-form-field/static-icon-form-field.component.d.ts.map +1 -0
  121. package/static-icon/static-icon-img/static-icon-img.component.d.ts +13 -0
  122. package/static-icon/static-icon-img/static-icon-img.component.d.ts.map +1 -0
  123. package/static-icon/static-icon-select/static-icon-select.component.d.ts +22 -0
  124. package/static-icon/static-icon-select/static-icon-select.component.d.ts.map +1 -0
  125. package/static-icon/static-icon.model.d.ts +20 -0
  126. package/static-icon/static-icon.model.d.ts.map +1 -0
  127. package/static-icon/static-icon.module.d.ts +15 -0
  128. package/static-icon/static-icon.module.d.ts.map +1 -0
  129. package/static-icon/static-icon.service.d.ts +21 -0
  130. package/static-icon/static-icon.service.d.ts.map +1 -0
  131. package/user/index.d.ts +6 -0
  132. package/user/ngageoint-mage.web-core-lib-user.d.ts.map +1 -0
  133. package/user/public-api.d.ts +5 -0
  134. package/user/public-api.d.ts.map +1 -0
  135. package/user/user-read.service.d.ts +25 -0
  136. package/user/user-read.service.d.ts.map +1 -0
  137. package/user/user-select/user-select.component.d.ts +39 -0
  138. package/user/user-select/user-select.component.d.ts.map +1 -0
  139. package/user/user.model.d.ts +86 -0
  140. package/user/user.model.d.ts.map +1 -0
  141. package/user/user.module.d.ts +18 -0
  142. package/user/user.module.d.ts.map +1 -0
@@ -0,0 +1,2 @@
1
+ export * from './plugin.model';
2
+ //# sourceMappingURL=public-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../projects/core-lib/plugin/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './mage-core-lib.module';
2
+ //# sourceMappingURL=public-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../projects/core-lib/src/public-api.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAA"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@ngageoint/mage.web-core-lib/static-icon" />
5
+ export * from './public-api';
6
+ //# sourceMappingURL=ngageoint-mage.web-core-lib-static-icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngageoint-mage.web-core-lib-static-icon.d.ts","sourceRoot":"","sources":["../../../projects/core-lib/static-icon/ngageoint-mage.web-core-lib-static-icon.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,cAAc,CAAC"}
@@ -0,0 +1,7 @@
1
+ export * from './static-icon.model';
2
+ export * from './static-icon.module';
3
+ export * from './static-icon.service';
4
+ export * from './static-icon-img/static-icon-img.component';
5
+ export * from './static-icon-form-field/static-icon-form-field.component';
6
+ export * from './static-icon-select/static-icon-select.component';
7
+ //# sourceMappingURL=public-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../projects/core-lib/static-icon/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,6CAA6C,CAAA;AAC3D,cAAc,2DAA2D,CAAA;AACzE,cAAc,mDAAmD,CAAA"}
@@ -0,0 +1,32 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
3
+ import { AbstractControl, ControlValueAccessor, UntypedFormGroup, ValidationErrors, Validator } from '@angular/forms';
4
+ import { DomSanitizer } from '@angular/platform-browser';
5
+ import { StaticIcon, StaticIconReference } from '../static-icon.model';
6
+ import { StaticIconService } from '../static-icon.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class StaticIconFormFieldComponent implements OnChanges, OnDestroy, ControlValueAccessor, Validator {
9
+ private iconService;
10
+ private httpClient;
11
+ private sanitizer;
12
+ iconRef: StaticIconReference;
13
+ form: UntypedFormGroup;
14
+ icon: StaticIcon | null;
15
+ private onChange;
16
+ private onValidatorChange;
17
+ private onTouched;
18
+ constructor(iconService: StaticIconService, httpClient: HttpClient, sanitizer: DomSanitizer);
19
+ registerOnValidatorChange?(fn: () => void): void;
20
+ ngOnChanges(changes: SimpleChanges): void;
21
+ ngOnDestroy(): void;
22
+ onSelectIcon(): void;
23
+ writeValue(iconRef: StaticIconReference): void;
24
+ registerOnChange(fn: (x: StaticIconReference | null) => void): void;
25
+ registerOnTouched(fn: () => void): void;
26
+ setDisabledState?(isDisabled: boolean): void;
27
+ validate(control: AbstractControl): ValidationErrors;
28
+ private resolveIconRef;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<StaticIconFormFieldComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<StaticIconFormFieldComponent, "mage-static-icon-form-field", never, {}, {}, never, never, false>;
31
+ }
32
+ //# sourceMappingURL=static-icon-form-field.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-icon-form-field.component.d.ts","sourceRoot":"","sources":["../../../../projects/core-lib/static-icon/static-icon-form-field/static-icon-form-field.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAAa,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAC9E,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAsB,gBAAgB,EAAoC,gBAAgB,EAAE,SAAS,EAAc,MAAM,gBAAgB,CAAA;AACvL,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACxD,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;;AAG1D,qBAiBa,4BAA6B,YAAW,SAAS,EAAE,SAAS,EAAE,oBAAoB,EAAE,SAAS;IAc5F,OAAO,CAAC,WAAW;IAAqB,OAAO,CAAC,UAAU;IAAc,OAAO,CAAC,SAAS;IAZrG,OAAO,EAAE,mBAAmB,CAAO;IAEnC,IAAI,EAAE,gBAAgB,CAGpB;IACF,IAAI,EAAE,UAAU,GAAG,IAAI,CAAA;IAEvB,OAAO,CAAC,QAAQ,CAA+E;IAC/F,OAAO,CAAC,iBAAiB,CAAuB;IAChD,OAAO,CAAC,SAAS,CAAuB;gBAEpB,WAAW,EAAE,iBAAiB,EAAU,UAAU,EAAE,UAAU,EAAU,SAAS,EAAE,YAAY;IAOnH,yBAAyB,CAAC,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAIhD,WAAW,CAAC,OAAO,EAAE,aAAa;IAElC,WAAW;IAEX,YAAY;IAEZ,UAAU,CAAC,OAAO,EAAE,mBAAmB,GAAG,IAAI;IAO9C,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,mBAAmB,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI;IAInE,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAIvC,gBAAgB,CAAC,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAS5C,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,gBAAgB;IAIpD,OAAO,CAAC,cAAc;yCA3DX,4BAA4B;2CAA5B,4BAA4B;CAuExC"}
@@ -0,0 +1,13 @@
1
+ import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { RegisteredStaticIconReference } from '../static-icon.model';
3
+ import * as i0 from "@angular/core";
4
+ export declare class StaticIconImgComponent implements OnInit, OnChanges {
5
+ iconRef: RegisteredStaticIconReference | string | null;
6
+ iconPath: string | null;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ ngOnChanges(changes: SimpleChanges): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<StaticIconImgComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<StaticIconImgComponent, "mage-static-icon-img", never, { "iconRef": "iconRef"; }, {}, never, never, false>;
12
+ }
13
+ //# sourceMappingURL=static-icon-img.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-icon-img.component.d.ts","sourceRoot":"","sources":["../../../../projects/core-lib/static-icon/static-icon-img/static-icon-img.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnF,OAAO,EAAE,6BAA6B,EAAqB,MAAM,sBAAsB,CAAA;;AAEvF,qBAIa,sBAAuB,YAAW,MAAM,EAAE,SAAS;IAG9D,OAAO,EAAE,6BAA6B,GAAG,MAAM,GAAG,IAAI,CAAA;IACtD,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;;IAIvB,QAAQ,IAAI,IAAI;IAGhB,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;yCAX9B,sBAAsB;2CAAtB,sBAAsB;CAqBlC"}
@@ -0,0 +1,22 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { PagingDataSource } from '@ngageoint/mage.web-core-lib/paging';
3
+ import { StaticIcon } from '../static-icon.model';
4
+ import { StaticIconService } from '../static-icon.service';
5
+ import * as i0 from "@angular/core";
6
+ export interface StaticIconSelectItem {
7
+ id: string;
8
+ path: string;
9
+ title: string;
10
+ fileName: string;
11
+ }
12
+ export declare class StaticIconSelectComponent implements OnInit {
13
+ private iconService;
14
+ icons: StaticIcon[] | null;
15
+ dataSource: PagingDataSource<StaticIcon>;
16
+ constructor(iconService: StaticIconService);
17
+ ngOnInit(): void;
18
+ onBrowseForUploadIcon(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<StaticIconSelectComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<StaticIconSelectComponent, "static-icon-select", never, {}, {}, never, never, false>;
21
+ }
22
+ //# sourceMappingURL=static-icon-select.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-icon-select.component.d.ts","sourceRoot":"","sources":["../../../../projects/core-lib/static-icon/static-icon-select/static-icon-select.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAAoB,gBAAgB,EAAE,MAAM,qCAAqC,CAAA;AACxF,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;;AAE1D,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,qBAKa,yBAA0B,YAAW,MAAM;IAMpD,OAAO,CAAC,WAAW;IAJrB,KAAK,EAAE,UAAU,EAAE,GAAG,IAAI,CAAO;IACjC,UAAU,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAA;gBAG9B,WAAW,EAAE,iBAAiB;IAOxC,QAAQ;IAMR,qBAAqB;yCAnBV,yBAAyB;2CAAzB,yBAAyB;CAsBrC"}
@@ -0,0 +1,20 @@
1
+ export interface StaticIcon {
2
+ id: string;
3
+ sourceUrl: string;
4
+ contentPath: string;
5
+ title?: string;
6
+ summary?: string;
7
+ fileName?: string;
8
+ tags?: string[];
9
+ }
10
+ export interface RegisteredStaticIconReference {
11
+ id: string;
12
+ sourceUrl?: never;
13
+ }
14
+ export interface SourceUrlStaticIconReference {
15
+ sourceUrl: string;
16
+ id?: never;
17
+ }
18
+ export declare const contentPathOfIcon: (icon?: StaticIcon | RegisteredStaticIconReference | string | null | undefined) => string | undefined;
19
+ export declare type StaticIconReference = RegisteredStaticIconReference | SourceUrlStaticIconReference;
20
+ //# sourceMappingURL=static-icon.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-icon.model.d.ts","sourceRoot":"","sources":["../../../projects/core-lib/static-icon/static-icon.model.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;CAChB;AAED,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,CAAC,EAAE,KAAK,CAAA;CAClB;AAED,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,MAAM,CAAA;IACjB,EAAE,CAAC,EAAE,KAAK,CAAA;CACX;AAED,eAAO,MAAM,iBAAiB,UAAW,UAAU,GAAG,6BAA6B,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,KAAG,MAAM,GAAG,SAQ1H,CAAA;AAED,oBAAY,mBAAmB,GAAG,6BAA6B,GAAG,4BAA4B,CAAA"}
@@ -0,0 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./static-icon-form-field/static-icon-form-field.component";
3
+ import * as i2 from "./static-icon-img/static-icon-img.component";
4
+ import * as i3 from "./static-icon-select/static-icon-select.component";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "@angular/forms";
7
+ import * as i6 from "@angular/material/card";
8
+ import * as i7 from "@ngageoint/mage.web-core-lib/common";
9
+ import * as i8 from "@angular/cdk/scrolling";
10
+ export declare class StaticIconModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<StaticIconModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StaticIconModule, [typeof i1.StaticIconFormFieldComponent, typeof i2.StaticIconImgComponent, typeof i3.StaticIconSelectComponent], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.MatCardModule, typeof i7.MageCommonModule, typeof i8.ScrollingModule], [typeof i1.StaticIconFormFieldComponent, typeof i2.StaticIconImgComponent, typeof i3.StaticIconSelectComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<StaticIconModule>;
14
+ }
15
+ //# sourceMappingURL=static-icon.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-icon.module.d.ts","sourceRoot":"","sources":["../../../projects/core-lib/static-icon/static-icon.module.ts"],"names":[],"mappings":";;;;;;;;;AAWA,qBAoBa,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAG"}
@@ -0,0 +1,21 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { PageOf, PagingParameters } from '@ngageoint/mage.web-core-lib/paging';
4
+ import { StaticIcon, StaticIconReference } from './static-icon.model';
5
+ import * as i0 from "@angular/core";
6
+ export interface IconFetch extends PagingParameters {
7
+ searchText?: string;
8
+ }
9
+ export declare class StaticIconService {
10
+ private http;
11
+ constructor(http: HttpClient);
12
+ fetchIcons(fetch?: IconFetch): Observable<PageOf<StaticIcon>>;
13
+ fetchIconById(id: string): Observable<StaticIcon | null>;
14
+ fetchIconBySourceUrl(url: string): Observable<StaticIcon>;
15
+ fetchIconByReference(ref: StaticIconReference): Observable<StaticIcon | null>;
16
+ registerIconUrl(url: string): Observable<StaticIcon>;
17
+ uploadIcon(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<StaticIconService, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<StaticIconService>;
20
+ }
21
+ //# sourceMappingURL=static-icon.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-icon.service.d.ts","sourceRoot":"","sources":["../../../projects/core-lib/static-icon/static-icon.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAc,MAAM,sBAAsB,CAAA;AAE7D,OAAO,EAAE,UAAU,EAAc,MAAM,MAAM,CAAA;AAE7C,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAA;AAC9E,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;;AAGrE,MAAM,WAAW,SAAU,SAAQ,gBAAgB;IACjD,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,qBAGa,iBAAiB;IAEhB,OAAO,CAAC,IAAI;gBAAJ,IAAI,EAAE,UAAU;IAEpC,UAAU,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IA+B7D,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC;IAexD,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,UAAU,CAAC;IAMzD,oBAAoB,CAAC,GAAG,EAAE,mBAAmB,GAAG,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC;IAU7E,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,UAAU,CAAC;IAIpD,UAAU,IAAI,IAAI;yCAtEP,iBAAiB;6CAAjB,iBAAiB;CAyE7B"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@ngageoint/mage.web-core-lib/user" />
5
+ export * from './public-api';
6
+ //# sourceMappingURL=ngageoint-mage.web-core-lib-user.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngageoint-mage.web-core-lib-user.d.ts","sourceRoot":"","sources":["../../../projects/core-lib/user/ngageoint-mage.web-core-lib-user.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,cAAc,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from './user.model';
2
+ export * from './user-read.service';
3
+ export * from './user.module';
4
+ export * from './user-select/user-select.component';
5
+ //# sourceMappingURL=public-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../projects/core-lib/user/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,eAAe,CAAA;AAC7B,cAAc,qCAAqC,CAAA"}
@@ -0,0 +1,25 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { InjectionToken } from '@angular/core';
3
+ import { PageOf, PagingParameters } from '@ngageoint/mage.web-core-lib/paging';
4
+ import { Observable } from 'rxjs';
5
+ import { User } from './user.model';
6
+ import * as i0 from "@angular/core";
7
+ export declare const USER_READ_BASE_URL = "/api/next-users";
8
+ export declare class UserReadService {
9
+ private http;
10
+ constructor(http: HttpClient);
11
+ search(which: UserSearchParams): Observable<PageOf<UserSearchResult>>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserReadService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<UserReadService>;
14
+ }
15
+ export interface UserSearchParams extends PagingParameters {
16
+ term?: string | null | undefined;
17
+ }
18
+ export declare type UserSearchResult = Pick<User, 'id' | 'username' | 'displayName' | 'email' | 'active' | 'enabled'> & {
19
+ /**
20
+ * A reduction of all the phone numbers to a single string
21
+ */
22
+ allPhones?: string | null | undefined;
23
+ };
24
+ export declare const USER_READ_SERVICE: InjectionToken<UserReadService>;
25
+ //# sourceMappingURL=user-read.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-read.service.d.ts","sourceRoot":"","sources":["../../../projects/core-lib/user/user-read.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAAE,cAAc,EAAc,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAA;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;;AAEnC,eAAO,MAAM,kBAAkB,oBAAoB,CAAA;AAgBnD,qBAGa,eAAe;IAEd,OAAO,CAAC,IAAI;gBAAJ,IAAI,EAAE,UAAU;IAEpC,MAAM,CAAC,KAAK,EAAE,gBAAgB,GAAG,UAAU,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;yCAJ1D,eAAe;6CAAf,eAAe;CAmB3B;AAED,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB;IACxD,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;CACjC;AAED,oBAAY,gBAAgB,GAAG,IAAI,CAAC,IAAI,EAAE,IAAI,GAAG,UAAU,GAAG,aAAa,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC,GAAG;IAC9G;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;CACtC,CAAA;AAED,eAAO,MAAM,iBAAiB,iCAAyD,CAAA"}
@@ -0,0 +1,39 @@
1
+ import { AfterViewInit, OnChanges, SimpleChanges, OnInit } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { NgSelectComponent } from '@ng-select/ng-select';
4
+ import { User } from '../user.model';
5
+ import { UserReadService, UserSearchParams, UserSearchResult } from '../user-read.service';
6
+ import { Subject } from 'rxjs';
7
+ import * as i0 from "@angular/core";
8
+ export declare class UserSelectComponent implements OnInit, OnChanges, AfterViewInit, ControlValueAccessor {
9
+ private userService;
10
+ readonly baseFindParams: Readonly<UserSearchParams>;
11
+ readonly nextPageScrollThreshold = 15;
12
+ readonly searchTermDebounceTime = 500;
13
+ readonly trackByUserId: (x: User) => User['id'];
14
+ get loading(): boolean;
15
+ users: UserSearchResult[];
16
+ totalCount: number;
17
+ searchTerm$: Subject<string>;
18
+ currentSearchTerm: string | null;
19
+ userSelect: NgSelectComponent;
20
+ private currentFetch;
21
+ constructor(userService: UserReadService);
22
+ ngOnInit(): void;
23
+ ngOnChanges(changes: SimpleChanges): void;
24
+ ngAfterViewInit(): void;
25
+ writeValue(x: User | null): void;
26
+ registerOnChange(fn: (...args: any[]) => any): void;
27
+ registerOnTouched(fn: (...args: any[]) => any): void;
28
+ setDisabledState(isDisabled: boolean): void;
29
+ onOpen(): void;
30
+ onScroll({ end }: {
31
+ start: number;
32
+ end: number;
33
+ }): void;
34
+ onScrollToEnd(): void;
35
+ fetchNextPage(): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserSelectComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserSelectComponent, "mage-user-select", never, {}, {}, never, never, false>;
38
+ }
39
+ //# sourceMappingURL=user-select.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-select.component.d.ts","sourceRoot":"","sources":["../../../../projects/core-lib/user/user-select/user-select.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAoB,SAAS,EAAE,aAAa,EAAyB,MAAM,EAAE,MAAM,eAAe,CAAA;AACxH,OAAO,EAAE,oBAAoB,EAAkC,MAAM,gBAAgB,CAAA;AACrF,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAE1F,OAAO,EAAE,OAAO,EAAqD,MAAM,MAAM,CAAA;;AAIjF,qBAca,mBAAoB,YAAW,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,oBAAoB;IAuBpF,OAAO,CAAC,WAAW;IArB/B,QAAQ,CAAC,cAAc,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAIjD;IACF,QAAQ,CAAC,uBAAuB,MAAK;IACrC,QAAQ,CAAC,sBAAsB,OAAM;IACrC,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC,CAAY;IAC3D,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,KAAK,EAAE,gBAAgB,EAAE,CAAK;IAC9B,UAAU,SAAI;IACd,WAAW,kBAA+B;IAC1C,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAO;IAEvC,UAAU,EAAE,iBAAiB,CAAA;IAE7B,OAAO,CAAC,YAAY,CAAgC;gBAEhC,WAAW,EAAE,eAAe;IAEhD,QAAQ;IAiBR,WAAW,CAAC,OAAO,EAAE,aAAa;IAGlC,eAAe;IAGf,UAAU,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI;IAIhC,gBAAgB,CAAC,EAAE,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,GAAG,IAAI;IAInD,iBAAiB,CAAC,EAAE,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,GAAG,IAAI;IAIpD,gBAAgB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAI3C,MAAM;IAMN,QAAQ,CAAC,EAAE,GAAG,EAAE,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;IAOhD,aAAa;IAIb,aAAa;yCAjFF,mBAAmB;2CAAnB,mBAAmB;CAyG/B"}
@@ -0,0 +1,86 @@
1
+ /**
2
+ * This type represents a MAGE user account. This is a base type that defines
3
+ * the properties of a persisted user that the server returns from a read
4
+ * operation, like a user query. This type does not necessarily reflect the
5
+ * properties the client would send to the server API for mutation operations.
6
+ */
7
+ export interface User {
8
+ /**
9
+ * Unique ID of the user account
10
+ */
11
+ id: string;
12
+ /**
13
+ * Unique name for this user account
14
+ */
15
+ username: string;
16
+ displayName: string;
17
+ /**
18
+ * Whether an admin has activated this user account after initial sign-up
19
+ */
20
+ active: boolean;
21
+ /**
22
+ * Whether this account is enabled or diabled, typically by the manual action
23
+ * of an administrator
24
+ */
25
+ enabled: boolean;
26
+ /**
27
+ * The authentication method for this user account
28
+ */
29
+ authentication: any;
30
+ /**
31
+ * ISO-8601 date string
32
+ */
33
+ createdAt: string;
34
+ /**
35
+ * ISO-8601 date string
36
+ */
37
+ lastUpdated: string;
38
+ /**
39
+ * The authorization role of this user account that defines the actions this
40
+ * user account has permission to perform
41
+ */
42
+ roleId: string;
43
+ email?: string;
44
+ /**
45
+ * URL of the image that identifies this user account in the user feed, etc.;
46
+ * a profile picture
47
+ */
48
+ avatarUrl?: string;
49
+ /**
50
+ * Map marker icon info
51
+ */
52
+ icon?: UserIcon;
53
+ /**
54
+ * URL of the map marker icon image
55
+ */
56
+ iconUrl?: string;
57
+ phones: UserPhone[];
58
+ /**
59
+ * List of events in which this user account has participated
60
+ */
61
+ recentEventIds: number[];
62
+ }
63
+ export interface UserPhone {
64
+ type: string;
65
+ number: string;
66
+ }
67
+ export interface UserIcon {
68
+ /**
69
+ * Hex color string beginning with `#`
70
+ */
71
+ color: string;
72
+ /**
73
+ * A standard media type, e.g., `image/png`
74
+ */
75
+ contentType: string;
76
+ /**
77
+ * Size in bytes of the icon image
78
+ */
79
+ size: number;
80
+ text: string;
81
+ /**
82
+ * The source type of the icon
83
+ */
84
+ type: 'create' | 'upload' | 'none';
85
+ }
86
+ //# sourceMappingURL=user.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.model.d.ts","sourceRoot":"","sources":["../../../projects/core-lib/user/user.model.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AACH,MAAM,WAAW,IAAI;IAEnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAA;IACf;;;OAGG;IACH,OAAO,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,cAAc,EAAE,GAAG,CAAA;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,SAAS,EAAE,CAAA;IACnB;;OAEG;IACH,cAAc,EAAE,MAAM,EAAE,CAAA;CACzB;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAA;CACnC"}
@@ -0,0 +1,18 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./user-select/user-select.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "@angular/cdk/scrolling";
6
+ import * as i5 from "@angular/material/autocomplete";
7
+ import * as i6 from "@angular/material/dialog";
8
+ import * as i7 from "@angular/material/form-field";
9
+ import * as i8 from "@angular/material/input";
10
+ import * as i9 from "@angular/material/list";
11
+ import * as i10 from "@angular/material/select";
12
+ import * as i11 from "@ng-select/ng-select";
13
+ export declare class MageUserModule {
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<MageUserModule, never>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MageUserModule, [typeof i1.UserSelectComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.ScrollingModule, typeof i5.MatAutocompleteModule, typeof i6.MatDialogModule, typeof i7.MatFormFieldModule, typeof i8.MatInputModule, typeof i9.MatListModule, typeof i10.MatSelectModule, typeof i11.NgSelectModule], [typeof i1.UserSelectComponent]>;
16
+ static ɵinj: i0.ɵɵInjectorDeclaration<MageUserModule>;
17
+ }
18
+ //# sourceMappingURL=user.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.module.d.ts","sourceRoot":"","sources":["../../../projects/core-lib/user/user.module.ts"],"names":[],"mappings":";;;;;;;;;;;;AAaA,qBAqBa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAE1B"}