@hestia-earth/ui-components 0.0.1

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 (207) hide show
  1. package/README.md +24 -0
  2. package/auth/auth.service.d.ts +10 -0
  3. package/auth/public-api.d.ts +1 -0
  4. package/bibliographies/bibliographies-search-confirm/bibliographies-search-confirm.component.d.ts +40 -0
  5. package/bibliographies/bibliographies.module.d.ts +10 -0
  6. package/bibliographies/public-api.d.ts +2 -0
  7. package/bundles/hestia-earth-ui-components.umd.js +7570 -0
  8. package/bundles/hestia-earth-ui-components.umd.js.map +1 -0
  9. package/common/bind-once.directive.d.ts +10 -0
  10. package/common/blank-node-diffs/blank-node-diffs.component.d.ts +18 -0
  11. package/common/blank-node-state/blank-node-state.component.d.ts +36 -0
  12. package/common/blank-node-state-notice/blank-node-state-notice.component.d.ts +9 -0
  13. package/common/blank-node-value-delta/blank-node-value-delta.component.d.ts +13 -0
  14. package/common/click-outside.directive.d.ts +10 -0
  15. package/common/clipboard/clipboard.component.d.ts +16 -0
  16. package/common/common.module.d.ts +37 -0
  17. package/common/common.service.d.ts +11 -0
  18. package/common/default.pipe.d.ts +7 -0
  19. package/common/ellipsis.pipe.d.ts +7 -0
  20. package/common/get.pipe.d.ts +7 -0
  21. package/common/key-to-label.pipe.d.ts +7 -0
  22. package/common/keys.pipe.d.ts +7 -0
  23. package/common/link-key-value/link-key-value.component.d.ts +16 -0
  24. package/common/logs-utils.d.ts +17 -0
  25. package/common/maps-drawing-confirm/maps-drawing-confirm.component.d.ts +28 -0
  26. package/common/maps-utils.d.ts +70 -0
  27. package/common/pluralize.pipe.d.ts +7 -0
  28. package/common/popover/popover.component.d.ts +16 -0
  29. package/common/popover-confirm/popover-confirm.component.d.ts +15 -0
  30. package/common/precision.pipe.d.ts +7 -0
  31. package/common/public-api.d.ts +30 -0
  32. package/common/schema-version-link/schema-version-link.component.d.ts +10 -0
  33. package/common/skeleton-text/skeleton-text.component.d.ts +11 -0
  34. package/common/social-tags/social-tags.component.d.ts +12 -0
  35. package/common/tags-input.directive.d.ts +20 -0
  36. package/common/times.pipe.d.ts +7 -0
  37. package/common/toast/toast.component.d.ts +19 -0
  38. package/common/toast.service.d.ts +16 -0
  39. package/common/unit-converter/unit-converter.component.d.ts +25 -0
  40. package/common/utils.d.ts +88 -0
  41. package/cycles/cycles-activity/cycles-activity.component.d.ts +31 -0
  42. package/cycles/cycles-activity-logs/cycles-activity-logs.component.d.ts +25 -0
  43. package/cycles/cycles-completeness/cycles-completeness.component.d.ts +14 -0
  44. package/cycles/cycles-emissions/cycles-emissions.component.d.ts +40 -0
  45. package/cycles/cycles-emissions-chart/cycles-emissions-chart.component.d.ts +18 -0
  46. package/cycles/cycles-emissions-logs/cycles-emissions-logs.component.d.ts +23 -0
  47. package/cycles/cycles-functional-unit-measure/cycles-functional-unit-measure.component.d.ts +8 -0
  48. package/cycles/cycles-result/cycles-result.component.d.ts +13 -0
  49. package/cycles/cycles-suggest-form/cycles-suggest-form.component.d.ts +24 -0
  50. package/cycles/cycles.model.d.ts +7 -0
  51. package/cycles/cycles.module.d.ts +19 -0
  52. package/cycles/public-api.d.ts +10 -0
  53. package/engine/aggregation-engine.service.d.ts +71 -0
  54. package/engine/engine.service.d.ts +61 -0
  55. package/engine/public-api.d.ts +2 -0
  56. package/esm2015/auth/auth.service.js +19 -0
  57. package/esm2015/auth/public-api.js +2 -0
  58. package/esm2015/bibliographies/bibliographies-search-confirm/bibliographies-search-confirm.component.js +100 -0
  59. package/esm2015/bibliographies/bibliographies.module.js +30 -0
  60. package/esm2015/bibliographies/public-api.js +3 -0
  61. package/esm2015/common/bind-once.directive.js +23 -0
  62. package/esm2015/common/blank-node-diffs/blank-node-diffs.component.js +47 -0
  63. package/esm2015/common/blank-node-state/blank-node-state.component.js +90 -0
  64. package/esm2015/common/blank-node-state-notice/blank-node-state-notice.component.js +27 -0
  65. package/esm2015/common/blank-node-value-delta/blank-node-value-delta.component.js +41 -0
  66. package/esm2015/common/click-outside.directive.js +28 -0
  67. package/esm2015/common/clipboard/clipboard.component.js +69 -0
  68. package/esm2015/common/common.module.js +144 -0
  69. package/esm2015/common/common.service.js +29 -0
  70. package/esm2015/common/default.pipe.js +23 -0
  71. package/esm2015/common/ellipsis.pipe.js +17 -0
  72. package/esm2015/common/get.pipe.js +17 -0
  73. package/esm2015/common/key-to-label.pipe.js +18 -0
  74. package/esm2015/common/keys.pipe.js +20 -0
  75. package/esm2015/common/link-key-value/link-key-value.component.js +55 -0
  76. package/esm2015/common/logs-utils.js +49 -0
  77. package/esm2015/common/maps-drawing-confirm/maps-drawing-confirm.component.js +89 -0
  78. package/esm2015/common/maps-utils.js +101 -0
  79. package/esm2015/common/pluralize.pipe.js +17 -0
  80. package/esm2015/common/popover/popover.component.js +37 -0
  81. package/esm2015/common/popover-confirm/popover-confirm.component.js +38 -0
  82. package/esm2015/common/precision.pipe.js +20 -0
  83. package/esm2015/common/public-api.js +31 -0
  84. package/esm2015/common/schema-version-link/schema-version-link.component.js +39 -0
  85. package/esm2015/common/skeleton-text/skeleton-text.component.js +44 -0
  86. package/esm2015/common/social-tags/social-tags.component.js +37 -0
  87. package/esm2015/common/tags-input.directive.js +74 -0
  88. package/esm2015/common/times.pipe.js +16 -0
  89. package/esm2015/common/toast/toast.component.js +37 -0
  90. package/esm2015/common/toast.service.js +36 -0
  91. package/esm2015/common/unit-converter/unit-converter.component.js +73 -0
  92. package/esm2015/common/utils.js +245 -0
  93. package/esm2015/cycles/cycles-activity/cycles-activity.component.js +92 -0
  94. package/esm2015/cycles/cycles-activity-logs/cycles-activity-logs.component.js +48 -0
  95. package/esm2015/cycles/cycles-completeness/cycles-completeness.component.js +41 -0
  96. package/esm2015/cycles/cycles-emissions/cycles-emissions.component.js +121 -0
  97. package/esm2015/cycles/cycles-emissions-chart/cycles-emissions-chart.component.js +93 -0
  98. package/esm2015/cycles/cycles-emissions-logs/cycles-emissions-logs.component.js +63 -0
  99. package/esm2015/cycles/cycles-functional-unit-measure/cycles-functional-unit-measure.component.js +22 -0
  100. package/esm2015/cycles/cycles-result/cycles-result.component.js +92 -0
  101. package/esm2015/cycles/cycles-suggest-form/cycles-suggest-form.component.js +83 -0
  102. package/esm2015/cycles/cycles.model.js +2 -0
  103. package/esm2015/cycles/cycles.module.js +66 -0
  104. package/esm2015/cycles/public-api.js +11 -0
  105. package/esm2015/engine/aggregation-engine.service.js +126 -0
  106. package/esm2015/engine/engine.service.js +78 -0
  107. package/esm2015/engine/public-api.js +3 -0
  108. package/esm2015/files/files-error.model.js +180 -0
  109. package/esm2015/files/files-form/files-form.component.js +439 -0
  110. package/esm2015/files/files-form.model.js +548 -0
  111. package/esm2015/files/files.module.js +42 -0
  112. package/esm2015/files/public-api.js +3 -0
  113. package/esm2015/fontawesome/fontawesome.module.js +36 -0
  114. package/esm2015/fontawesome/public-api.js +2 -0
  115. package/esm2015/hestia-earth-ui-components.js +5 -0
  116. package/esm2015/impact-assessments/impact-assessments-indicator-breakdown-chart/impact-assessments-indicator-breakdown-chart.component.js +161 -0
  117. package/esm2015/impact-assessments/impact-assessments-indicators-chart/impact-assessments-indicators-chart.component.js +142 -0
  118. package/esm2015/impact-assessments/impact-assessments-products/impact-assessments-products.component.js +252 -0
  119. package/esm2015/impact-assessments/impact-assessments-products-logs/impact-assessments-products-logs.component.js +68 -0
  120. package/esm2015/impact-assessments/impact-assessments.model.js +2 -0
  121. package/esm2015/impact-assessments/impact-assessments.module.js +47 -0
  122. package/esm2015/impact-assessments/public-api.js +7 -0
  123. package/esm2015/mendeley/mendeley.service.js +35 -0
  124. package/esm2015/mendeley/public-api.js +2 -0
  125. package/esm2015/node/node-csv-export-confirm/node-csv-export-confirm.component.js +65 -0
  126. package/esm2015/node/node-csv-select-headers/node-csv-select-headers.component.js +119 -0
  127. package/esm2015/node/node-csv.service.js +24 -0
  128. package/esm2015/node/node-diffs/node-diffs.component.js +67 -0
  129. package/esm2015/node/node-diffs/node-diffs.model.js +6 -0
  130. package/esm2015/node/node-icon/node-icon.component.js +37 -0
  131. package/esm2015/node/node-link/node-link.component.js +33 -0
  132. package/esm2015/node/node-logs-file/node-logs-file.component.js +63 -0
  133. package/esm2015/node/node-logs-models/node-logs-models.component.js +188 -0
  134. package/esm2015/node/node-missing-lookup-factors/node-missing-lookup-factors.component.js +34 -0
  135. package/esm2015/node/node-value-details/node-value-details.component.js +46 -0
  136. package/esm2015/node/node.module.js +67 -0
  137. package/esm2015/node/node.service.js +113 -0
  138. package/esm2015/node/public-api.js +13 -0
  139. package/esm2015/public-api.js +16 -0
  140. package/esm2015/schema/public-api.js +2 -0
  141. package/esm2015/schema/schema.service.js +167 -0
  142. package/esm2015/search/public-api.js +4 -0
  143. package/esm2015/search/search.model.js +204 -0
  144. package/esm2015/search/search.module.js +13 -0
  145. package/esm2015/search/search.service.js +99 -0
  146. package/esm2015/sites/public-api.js +6 -0
  147. package/esm2015/sites/sites-maps/sites-maps.component.js +162 -0
  148. package/esm2015/sites/sites-measurements/sites-measurements.component.js +78 -0
  149. package/esm2015/sites/sites-measurements-logs/sites-measurements-logs.component.js +63 -0
  150. package/esm2015/sites/sites.model.js +10 -0
  151. package/esm2015/sites/sites.module.js +42 -0
  152. package/esm2015/terms/public-api.js +2 -0
  153. package/esm2015/terms/terms.model.js +184 -0
  154. package/esm2015/users/public-api.js +2 -0
  155. package/esm2015/users/users.service.js +17 -0
  156. package/fesm2015/hestia-earth-ui-components.js +5920 -0
  157. package/fesm2015/hestia-earth-ui-components.js.map +1 -0
  158. package/files/files-error.model.d.ts +40 -0
  159. package/files/files-form/files-form.component.d.ts +94 -0
  160. package/files/files-form.model.d.ts +113 -0
  161. package/files/files.module.d.ts +13 -0
  162. package/files/public-api.d.ts +2 -0
  163. package/fontawesome/fontawesome.module.d.ts +10 -0
  164. package/fontawesome/public-api.d.ts +1 -0
  165. package/hestia-earth-ui-components.d.ts +5 -0
  166. package/impact-assessments/impact-assessments-indicator-breakdown-chart/impact-assessments-indicator-breakdown-chart.component.d.ts +28 -0
  167. package/impact-assessments/impact-assessments-indicators-chart/impact-assessments-indicators-chart.component.d.ts +25 -0
  168. package/impact-assessments/impact-assessments-products/impact-assessments-products.component.d.ts +77 -0
  169. package/impact-assessments/impact-assessments-products-logs/impact-assessments-products-logs.component.d.ts +25 -0
  170. package/impact-assessments/impact-assessments.model.d.ts +6 -0
  171. package/impact-assessments/impact-assessments.module.d.ts +15 -0
  172. package/impact-assessments/public-api.d.ts +6 -0
  173. package/mendeley/mendeley.service.d.ts +25 -0
  174. package/mendeley/public-api.d.ts +1 -0
  175. package/node/node-csv-export-confirm/node-csv-export-confirm.component.d.ts +32 -0
  176. package/node/node-csv-select-headers/node-csv-select-headers.component.d.ts +42 -0
  177. package/node/node-csv.service.d.ts +9 -0
  178. package/node/node-diffs/node-diffs.component.d.ts +23 -0
  179. package/node/node-diffs/node-diffs.model.d.ts +4 -0
  180. package/node/node-icon/node-icon.component.d.ts +8 -0
  181. package/node/node-link/node-link.component.d.ts +11 -0
  182. package/node/node-logs-file/node-logs-file.component.d.ts +31 -0
  183. package/node/node-logs-models/node-logs-models.component.d.ts +72 -0
  184. package/node/node-missing-lookup-factors/node-missing-lookup-factors.component.d.ts +14 -0
  185. package/node/node-value-details/node-value-details.component.d.ts +17 -0
  186. package/node/node.module.d.ts +20 -0
  187. package/node/node.service.d.ts +70 -0
  188. package/node/public-api.d.ts +12 -0
  189. package/package.json +53 -0
  190. package/public-api.d.ts +15 -0
  191. package/schema/public-api.d.ts +1 -0
  192. package/schema/schema.service.d.ts +51 -0
  193. package/search/public-api.d.ts +3 -0
  194. package/search/search.model.d.ts +243 -0
  195. package/search/search.module.d.ts +7 -0
  196. package/search/search.service.d.ts +129 -0
  197. package/sites/public-api.d.ts +5 -0
  198. package/sites/sites-maps/sites-maps.component.d.ts +35 -0
  199. package/sites/sites-measurements/sites-measurements.component.d.ts +31 -0
  200. package/sites/sites-measurements-logs/sites-measurements-logs.component.d.ts +23 -0
  201. package/sites/sites.model.d.ts +10 -0
  202. package/sites/sites.module.d.ts +13 -0
  203. package/styles.scss +197 -0
  204. package/terms/public-api.d.ts +1 -0
  205. package/terms/terms.model.d.ts +21 -0
  206. package/users/public-api.d.ts +1 -0
  207. package/users/users.service.d.ts +7 -0
@@ -0,0 +1,10 @@
1
+ import { OnChanges, TemplateRef, ViewContainerRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BindOnceDirective implements OnChanges {
4
+ private embeddedViewRef;
5
+ bindOnce: any;
6
+ constructor(templateRef: TemplateRef<void>, viewContainerRef: ViewContainerRef);
7
+ ngOnChanges(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<BindOnceDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BindOnceDirective, "[bindOnce]", never, { "bindOnce": "bindOnce"; }, {}, never>;
10
+ }
@@ -0,0 +1,18 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Term } from '@hestia-earth/schema';
3
+ import * as i0 from "@angular/core";
4
+ interface IValue {
5
+ term: Term;
6
+ original?: number;
7
+ recalculated?: number;
8
+ }
9
+ export declare class BlankNodeDiffsComponent implements OnInit {
10
+ originalValues: any[];
11
+ recalculatedValues: any[];
12
+ propertyValue: (value: string | number | (string | number)[], isAverage?: boolean) => number;
13
+ values: IValue[];
14
+ ngOnInit(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<BlankNodeDiffsComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlankNodeDiffsComponent, "he-blank-node-diffs", never, { "originalValues": "originalValues"; "recalculatedValues": "recalculatedValues"; }, {}, never, never>;
17
+ }
18
+ export {};
@@ -0,0 +1,36 @@
1
+ import { Completeness, Infrastructure, Input as HestiaInput, Emission, Measurement, Practice, Product, Property } from '@hestia-earth/schema';
2
+ import { HeAggregationEngineService } from '../../engine/aggregation-engine.service';
3
+ import { HeEngineService } from '../../engine/engine.service';
4
+ import * as i0 from "@angular/core";
5
+ declare type blankNode = Completeness | Infrastructure | HestiaInput | Emission | Measurement | Practice | Product | Property;
6
+ declare enum NodeKeyState {
7
+ added = "added",
8
+ updated = "updated",
9
+ aggregated = "aggregated",
10
+ deleted = "deleted"
11
+ }
12
+ export declare class BlankNodeStateComponent {
13
+ private aggregationEngineService;
14
+ private engineService;
15
+ private nodeType?;
16
+ private dataKey?;
17
+ private key?;
18
+ node?: blankNode;
19
+ /**
20
+ * Force aggregated state.
21
+ */
22
+ state?: NodeKeyState;
23
+ NodeKeyState: typeof NodeKeyState;
24
+ constructor(aggregationEngineService: HeAggregationEngineService, engineService: HeEngineService);
25
+ is(state: NodeKeyState): any;
26
+ get stars(): number[];
27
+ get showLink(): boolean;
28
+ private get aggregatedModelParams();
29
+ get aggregatedModel$(): import("rxjs").Observable<import("../../engine/aggregation-engine.service").IModel | undefined>;
30
+ private get modelParams();
31
+ private get modelKeyParams();
32
+ get engineModel$(): import("rxjs").Observable<import("../../engine/engine.service").IModel | null | undefined>;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<BlankNodeStateComponent, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlankNodeStateComponent, "he-blank-node-state", never, { "nodeType": "nodeType"; "dataKey": "dataKey"; "key": "key"; "node": "node"; "state": "state"; }, {}, never, never>;
35
+ }
36
+ export {};
@@ -0,0 +1,9 @@
1
+ import { DataState } from '@hestia-earth/api';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BlankNodeStateNoticeComponent {
4
+ dataState?: DataState;
5
+ showDeleted: boolean;
6
+ get show(): boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<BlankNodeStateNoticeComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlankNodeStateNoticeComponent, "he-blank-node-state-notice", never, { "dataState": "dataState"; "showDeleted": "showDeleted"; }, {}, never, never>;
9
+ }
@@ -0,0 +1,13 @@
1
+ import { DeltaDisplayType } from '../utils';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BlankNodeValueDeltaComponent {
4
+ private value;
5
+ private originalValue;
6
+ displayType: DeltaDisplayType;
7
+ DeltaDisplayType: typeof DeltaDisplayType;
8
+ get hide(): boolean;
9
+ get delta(): number;
10
+ get color(): "" | "success" | "warning" | "danger";
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<BlankNodeValueDeltaComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlankNodeValueDeltaComponent, "he-blank-node-value-delta", never, { "value": "value"; "originalValue": "originalValue"; "displayType": "displayType"; }, {}, never, never>;
13
+ }
@@ -0,0 +1,10 @@
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ClickOutsideDirective {
4
+ private elementRef;
5
+ clickOutside: EventEmitter<void>;
6
+ constructor(elementRef: ElementRef);
7
+ onClick(event: MouseEvent): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[clickOutside]", never, {}, { "clickOutside": "clickOutside"; }, never>;
10
+ }
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ClipboardComponent {
3
+ private valueNode?;
4
+ private tooltip?;
5
+ value?: string;
6
+ disabled: boolean;
7
+ hideText: boolean;
8
+ icon: string;
9
+ size: string;
10
+ rotate: number;
11
+ clipboardClass: string;
12
+ onClick($event: any): void;
13
+ clipboard(): Promise<void>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClipboardComponent, "he-clipboard", never, { "value": "value"; "disabled": "disabled"; "hideText": "hideText"; "icon": "icon"; "size": "size"; "rotate": "rotate"; "clipboardClass": "clipboardClass"; }, {}, never, never>;
16
+ }
@@ -0,0 +1,37 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./clipboard/clipboard.component";
3
+ import * as i2 from "./popover/popover.component";
4
+ import * as i3 from "./popover-confirm/popover-confirm.component";
5
+ import * as i4 from "./tags-input.directive";
6
+ import * as i5 from "./link-key-value/link-key-value.component";
7
+ import * as i6 from "./maps-drawing-confirm/maps-drawing-confirm.component";
8
+ import * as i7 from "./blank-node-state/blank-node-state.component";
9
+ import * as i8 from "./blank-node-state-notice/blank-node-state-notice.component";
10
+ import * as i9 from "./blank-node-value-delta/blank-node-value-delta.component";
11
+ import * as i10 from "./schema-version-link/schema-version-link.component";
12
+ import * as i11 from "./unit-converter/unit-converter.component";
13
+ import * as i12 from "./blank-node-diffs/blank-node-diffs.component";
14
+ import * as i13 from "./times.pipe";
15
+ import * as i14 from "./toast/toast.component";
16
+ import * as i15 from "./click-outside.directive";
17
+ import * as i16 from "./keys.pipe";
18
+ import * as i17 from "./precision.pipe";
19
+ import * as i18 from "./social-tags/social-tags.component";
20
+ import * as i19 from "./default.pipe";
21
+ import * as i20 from "./skeleton-text/skeleton-text.component";
22
+ import * as i21 from "./pluralize.pipe";
23
+ import * as i22 from "./key-to-label.pipe";
24
+ import * as i23 from "./bind-once.directive";
25
+ import * as i24 from "./get.pipe";
26
+ import * as i25 from "./ellipsis.pipe";
27
+ import * as i26 from "@angular/common";
28
+ import * as i27 from "@angular/forms";
29
+ import * as i28 from "@angular/router";
30
+ import * as i29 from "@ng-bootstrap/ng-bootstrap";
31
+ import * as i30 from "@angular/google-maps";
32
+ import * as i31 from "../fontawesome/fontawesome.module";
33
+ export declare class HeCommonModule {
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<HeCommonModule, never>;
35
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HeCommonModule, [typeof i1.ClipboardComponent, typeof i2.PopoverComponent, typeof i3.PopoverConfirmComponent, typeof i4.TagsInputDirective, typeof i5.LinkKeyValueComponent, typeof i6.MapsDrawingConfirmComponent, typeof i7.BlankNodeStateComponent, typeof i8.BlankNodeStateNoticeComponent, typeof i9.BlankNodeValueDeltaComponent, typeof i10.SchemaVersionLinkComponent, typeof i11.UnitConverterComponent, typeof i12.BlankNodeDiffsComponent, typeof i13.TimesPipe, typeof i14.ToastComponent, typeof i15.ClickOutsideDirective, typeof i16.KeysPipe, typeof i17.PrecisionPipe, typeof i18.SocialTagsComponent, typeof i19.DefaultPipe, typeof i20.SkeletonTextComponent, typeof i21.PluralizePipe, typeof i22.KeyToLabelPipe, typeof i23.BindOnceDirective, typeof i24.GetPipe, typeof i25.EllipsisPipe], [typeof i26.CommonModule, typeof i27.FormsModule, typeof i28.RouterModule, typeof i29.NgbTypeaheadModule, typeof i29.NgbTooltipModule, typeof i29.NgbPopoverModule, typeof i30.GoogleMapsModule, typeof i31.HeFontawesomeModule], [typeof i29.NgbTypeaheadModule, typeof i29.NgbTooltipModule, typeof i29.NgbPopoverModule, typeof i30.GoogleMapsModule, typeof i31.HeFontawesomeModule, typeof i1.ClipboardComponent, typeof i2.PopoverComponent, typeof i3.PopoverConfirmComponent, typeof i4.TagsInputDirective, typeof i5.LinkKeyValueComponent, typeof i6.MapsDrawingConfirmComponent, typeof i7.BlankNodeStateComponent, typeof i8.BlankNodeStateNoticeComponent, typeof i9.BlankNodeValueDeltaComponent, typeof i10.SchemaVersionLinkComponent, typeof i11.UnitConverterComponent, typeof i12.BlankNodeDiffsComponent, typeof i13.TimesPipe, typeof i14.ToastComponent, typeof i15.ClickOutsideDirective, typeof i16.KeysPipe, typeof i17.PrecisionPipe, typeof i18.SocialTagsComponent, typeof i19.DefaultPipe, typeof i20.SkeletonTextComponent, typeof i21.PluralizePipe, typeof i22.KeyToLabelPipe, typeof i23.BindOnceDirective, typeof i24.GetPipe, typeof i25.EllipsisPipe]>;
36
+ static ɵinj: i0.ɵɵInjectorDeclaration<HeCommonModule>;
37
+ }
@@ -0,0 +1,11 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare const HE_API_BASE_URL: InjectionToken<string>;
4
+ export declare class HeCommonService {
5
+ _apiBaseUrl: string;
6
+ constructor(_apiBaseUrl: string);
7
+ get apiBaseUrl(): string;
8
+ get gitBranch(): "develop" | "master";
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<HeCommonService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<HeCommonService>;
11
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DefaultPipe implements PipeTransform {
4
+ transform(value: any, defaultValue: any): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<DefaultPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<DefaultPipe, "default">;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class EllipsisPipe implements PipeTransform {
4
+ transform(value: any, maxLength?: number): unknown;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<EllipsisPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<EllipsisPipe, "ellipsis">;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class GetPipe implements PipeTransform {
4
+ transform(value: any, key: string, defaultValue?: any): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<GetPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<GetPipe, "get">;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class KeyToLabelPipe implements PipeTransform {
4
+ transform(value: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<KeyToLabelPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<KeyToLabelPipe, "keyToLabel">;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class KeysPipe implements PipeTransform {
4
+ transform(value: any, sort?: boolean): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<KeysPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<KeysPipe, "keys">;
7
+ }
@@ -0,0 +1,16 @@
1
+ import { NodeType } from '@hestia-earth/schema';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LinkKeyValueComponent {
4
+ node: any;
5
+ nodeType?: NodeType;
6
+ dataKey?: string;
7
+ key?: string;
8
+ baseUrl: string;
9
+ get type(): any;
10
+ get value(): any;
11
+ get valueString(): any;
12
+ get valueLink(): string | null;
13
+ get isUndefined(): boolean;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<LinkKeyValueComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<LinkKeyValueComponent, "he-link-key-value", never, { "node": "node"; "nodeType": "nodeType"; "dataKey": "dataKey"; "key": "key"; }, {}, never, never>;
16
+ }
@@ -0,0 +1,17 @@
1
+ export declare enum Level {
2
+ debug = "DEBUG",
3
+ info = "INFO",
4
+ warning = "WARNING",
5
+ error = "ERROR"
6
+ }
7
+ export declare const levels: Level[];
8
+ export interface ILine {
9
+ code: string;
10
+ data: any;
11
+ class: string;
12
+ level: Level;
13
+ }
14
+ export declare const parseData: (data: any) => ILine;
15
+ export declare const parseLines: (text: any) => ILine[];
16
+ export declare const parseMessage: (message: string) => {};
17
+ export declare const toCsv: (lines: ILine[]) => Promise<string>;
@@ -0,0 +1,28 @@
1
+ /// <reference types="googlemaps" />
2
+ import { OnInit, AfterViewInit, OnDestroy, EventEmitter } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MapsDrawingConfirmComponent implements OnInit, AfterViewInit, OnDestroy {
5
+ private listeners;
6
+ private shapes;
7
+ private feature;
8
+ private coordinates?;
9
+ private map?;
10
+ value?: string;
11
+ modes: google.maps.drawing.OverlayType[];
12
+ center: {
13
+ lat: number;
14
+ lng: number;
15
+ };
16
+ zoom: number;
17
+ closed: EventEmitter<string | google.maps.LatLngLiteral>;
18
+ options: google.maps.MapOptions;
19
+ ngOnInit(): void;
20
+ ngAfterViewInit(): void;
21
+ ngOnDestroy(): void;
22
+ private onPolygonAdded;
23
+ private onMarkerAdded;
24
+ confirm(): void;
25
+ clear(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapsDrawingConfirmComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<MapsDrawingConfirmComponent, "he-maps-drawing-confirm", never, { "value": "value"; "modes": "modes"; "center": "center"; "zoom": "zoom"; }, { "closed": "closed"; }, never, never>;
28
+ }
@@ -0,0 +1,70 @@
1
+ /// <reference types="googlemaps" />
2
+ export declare const locationQuery: (bounds: google.maps.LatLngBounds, searchField?: string) => {
3
+ geo_bounding_box: {
4
+ [x: string]: {
5
+ top_left: {
6
+ lat: number;
7
+ lon: number;
8
+ };
9
+ bottom_right: {
10
+ lat: number;
11
+ lon: number;
12
+ };
13
+ };
14
+ };
15
+ };
16
+ export declare const fillColor = "#00F";
17
+ export declare const strokeColor = "#00A";
18
+ export declare const fillStyle: {
19
+ fillColor: string;
20
+ fillOpacity: number;
21
+ };
22
+ export declare const strokeStyle: {
23
+ strokeColor: string;
24
+ strokeOpacity: number;
25
+ strokeWeight: number;
26
+ };
27
+ export declare const clustererImage = "https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m";
28
+ interface IMarkerPieConfig {
29
+ percent: number;
30
+ color: string;
31
+ }
32
+ export declare const markerPie: (configs: IMarkerPieConfig[], size?: number) => {
33
+ anchor: google.maps.Point;
34
+ url: string;
35
+ labelOrigin: google.maps.Point;
36
+ };
37
+ export declare const markerIcon: (scale?: number) => google.maps.Symbol;
38
+ export declare const createMarker: (position?: google.maps.LatLng | google.maps.ReadonlyLatLngLiteral | undefined, text?: string, color?: string, scale?: number | undefined) => google.maps.Marker;
39
+ interface IPolygon {
40
+ type: 'Polygon';
41
+ coordinates: number[][][];
42
+ }
43
+ interface IMultiPolygon {
44
+ type: 'MultiPolygon';
45
+ coordinates: number[][][];
46
+ }
47
+ declare type geometry = IPolygon | IMultiPolygon;
48
+ export interface IFeature {
49
+ type: 'Feature';
50
+ properties: any;
51
+ geometry: geometry;
52
+ }
53
+ export interface IFeatureCollection {
54
+ type: 'FeatureCollection';
55
+ features: IFeature[];
56
+ }
57
+ interface GeometryCollection {
58
+ type: 'GeometryCollection';
59
+ geometries: geometry[];
60
+ }
61
+ declare type feature = IFeature | IFeatureCollection | GeometryCollection;
62
+ declare const feature: IFeature;
63
+ export declare const defaultFeature: () => IFeature;
64
+ export declare const pointToCoordinates: (point: google.maps.LatLng) => number[];
65
+ export declare const coordinatesToPoint: (values: (number | number[])[]) => any;
66
+ export declare const polygonToCoordinates: (polygon: google.maps.Polygon) => number[][];
67
+ export declare const addPolygonToFeature: (feat: feature, polygon: google.maps.Polygon) => any;
68
+ export declare const polygonsFromFeature: (feat: feature) => google.maps.Polygon[];
69
+ export declare const polygonBounds: (polygon?: google.maps.Polygon | google.maps.Polygon[] | undefined) => any;
70
+ export {};
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class PluralizePipe implements PipeTransform {
4
+ transform(value: string, times?: number): unknown;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PluralizePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<PluralizePipe, "pluralize">;
7
+ }
@@ -0,0 +1,16 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export interface ContentContext {
4
+ message: string;
5
+ data: any;
6
+ }
7
+ export declare class PopoverComponent {
8
+ message: string;
9
+ content?: TemplateRef<ContentContext>;
10
+ data: any;
11
+ position: 'top' | 'right' | 'bottom' | 'left';
12
+ onClick($event: any): void;
13
+ active: boolean;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopoverComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "he-popover", never, { "message": "message"; "content": "content"; "data": "data"; "position": "position"; }, {}, never, ["*", "[actions]"]>;
16
+ }
@@ -0,0 +1,15 @@
1
+ import { TemplateRef, EventEmitter } from '@angular/core';
2
+ import { ContentContext } from '../popover/popover.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class PopoverConfirmComponent {
5
+ private popover?;
6
+ message?: string;
7
+ content?: TemplateRef<ContentContext>;
8
+ position?: string;
9
+ popoverClass?: string;
10
+ confirmed: EventEmitter<any>;
11
+ data: any;
12
+ confirm(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopoverConfirmComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<PopoverConfirmComponent, "he-popover-confirm", never, { "message": "message"; "content": "content"; "position": "position"; "popoverClass": "popoverClass"; }, { "confirmed": "confirmed"; }, never, ["*"]>;
15
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class PrecisionPipe implements PipeTransform {
4
+ transform(value: string | number, precision?: string | number): string | number | null;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PrecisionPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<PrecisionPipe, "precision">;
7
+ }
@@ -0,0 +1,30 @@
1
+ export * from './common.module';
2
+ export * from './common.service';
3
+ export * from './toast.service';
4
+ export * from './logs-utils';
5
+ export * from './utils';
6
+ export { BlankNodeDiffsComponent } from './blank-node-diffs/blank-node-diffs.component';
7
+ export { BlankNodeStateComponent } from './blank-node-state/blank-node-state.component';
8
+ export { BlankNodeStateNoticeComponent } from './blank-node-state-notice/blank-node-state-notice.component';
9
+ export { BlankNodeValueDeltaComponent } from './blank-node-value-delta/blank-node-value-delta.component';
10
+ export { ClipboardComponent } from './clipboard/clipboard.component';
11
+ export { LinkKeyValueComponent } from './link-key-value/link-key-value.component';
12
+ export { MapsDrawingConfirmComponent } from './maps-drawing-confirm/maps-drawing-confirm.component';
13
+ export { PopoverComponent } from './popover/popover.component';
14
+ export { PopoverConfirmComponent } from './popover-confirm/popover-confirm.component';
15
+ export { SchemaVersionLinkComponent } from './schema-version-link/schema-version-link.component';
16
+ export { SkeletonTextComponent } from './skeleton-text/skeleton-text.component';
17
+ export { SocialTagsComponent } from './social-tags/social-tags.component';
18
+ export { ToastComponent } from './toast/toast.component';
19
+ export { UnitConverterComponent } from './unit-converter/unit-converter.component';
20
+ export { BindOnceDirective } from './bind-once.directive';
21
+ export { ClickOutsideDirective } from './click-outside.directive';
22
+ export { DefaultPipe } from './default.pipe';
23
+ export { EllipsisPipe } from './ellipsis.pipe';
24
+ export { GetPipe } from './get.pipe';
25
+ export { KeyToLabelPipe } from './key-to-label.pipe';
26
+ export { KeysPipe } from './keys.pipe';
27
+ export { PluralizePipe } from './pluralize.pipe';
28
+ export { PrecisionPipe } from './precision.pipe';
29
+ export { TagsInputDirective } from './tags-input.directive';
30
+ export { TimesPipe } from './times.pipe';
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class SchemaVersionLinkComponent {
3
+ private node;
4
+ showExternalLink: boolean;
5
+ linkClass: string;
6
+ text?: string;
7
+ get url(): string;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SchemaVersionLinkComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<SchemaVersionLinkComponent, "he-schema-version-link", never, { "node": "node"; "showExternalLink": "showExternalLink"; "linkClass": "linkClass"; "text": "text"; }, {}, never, ["*"]>;
10
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class SkeletonTextComponent {
3
+ private animated;
4
+ private width;
5
+ private height;
6
+ get isAnimated(): boolean;
7
+ get hasWidth(): string;
8
+ get hasHeight(): string;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonTextComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonTextComponent, "he-skeleton-text", never, { "animated": "animated"; "width": "width"; "height": "height"; }, {}, never, never>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Meta } from '@angular/platform-browser';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SocialTagsComponent implements OnInit {
5
+ private meta;
6
+ private config;
7
+ classes: string;
8
+ constructor(meta: Meta);
9
+ ngOnInit(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<SocialTagsComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<SocialTagsComponent, "he-social-tags", never, { "config": "config"; }, {}, never, never>;
12
+ }
@@ -0,0 +1,20 @@
1
+ import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TagsInputDirective implements AfterViewInit, OnDestroy {
4
+ private elementRef;
5
+ private tagsInput;
6
+ private inputEvents;
7
+ private appTagsInput;
8
+ constructor(elementRef: ElementRef);
9
+ ngAfterViewInit(): void;
10
+ ngOnDestroy(): void;
11
+ private get input();
12
+ private get tagsInputNode();
13
+ private get tagsInputInput();
14
+ private setInputEvent;
15
+ private mapValue;
16
+ private addInputValue;
17
+ private enableTagsInput;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<TagsInputDirective, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TagsInputDirective, "[appTagsInput]", never, { "appTagsInput": "appTagsInput"; }, {}, never>;
20
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TimesPipe implements PipeTransform {
4
+ transform(times: number): unknown;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimesPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TimesPipe, "times">;
7
+ }
@@ -0,0 +1,19 @@
1
+ import { OnInit, OnDestroy } from '@angular/core';
2
+ import { ToastService, IToast } from '../toast.service';
3
+ import * as i0 from "@angular/core";
4
+ interface IToastTimeout extends IToast {
5
+ timeout?: any;
6
+ }
7
+ export declare class ToastComponent implements OnInit, OnDestroy {
8
+ private toastService;
9
+ private subscriptions;
10
+ toasts: IToastTimeout[];
11
+ constructor(toastService: ToastService);
12
+ ngOnInit(): void;
13
+ ngOnDestroy(): void;
14
+ private add;
15
+ dismiss(toast: IToastTimeout): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "he-toast", never, {}, {}, never, never>;
18
+ }
19
+ export {};
@@ -0,0 +1,16 @@
1
+ import { ReplaySubject } from 'rxjs';
2
+ import * as i0 from "@angular/core";
3
+ export interface IToast {
4
+ id: number;
5
+ message: string;
6
+ duration: number;
7
+ color: 'success' | 'danger';
8
+ showRawMessage?: boolean;
9
+ }
10
+ export declare class ToastService {
11
+ toasts: ReplaySubject<IToast>;
12
+ success(message: string, duration?: number): void;
13
+ error(message: string, showRawMessage?: boolean, duration?: number): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
16
+ }
@@ -0,0 +1,25 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ConvertUnits } from '@hestia-earth/utils';
3
+ import * as i0 from "@angular/core";
4
+ interface IArg {
5
+ key: string;
6
+ value: any;
7
+ }
8
+ export declare class UnitConverterComponent implements OnInit {
9
+ private term?;
10
+ value: number;
11
+ fromUnits?: ConvertUnits;
12
+ toUnits?: ConvertUnits;
13
+ ConvertUnits: typeof ConvertUnits;
14
+ result: string;
15
+ arguments: IArg[];
16
+ ngOnInit(): void;
17
+ private get args();
18
+ get units(): ConvertUnits[];
19
+ private requireArgs;
20
+ updateUnits(): void;
21
+ updateValue(): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<UnitConverterComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<UnitConverterComponent, "he-unit-converter", never, { "term": "term"; "value": "value"; "fromUnits": "fromUnits"; "toUnits": "toUnits"; }, {}, never, never>;
24
+ }
25
+ export {};