geonetwork-ui 2.6.0-dev.025a2f85d → 2.6.0-dev.128618187

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 (33) hide show
  1. package/esm2022/libs/api/repository/src/lib/gn4/gn4.provider.mjs +1 -7
  2. package/esm2022/libs/feature/record/src/index.mjs +2 -1
  3. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +9 -5
  4. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +11 -7
  5. package/esm2022/libs/feature/record/src/lib/gn-ui-version.token.mjs +3 -0
  6. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +15 -2
  7. package/esm2022/libs/util/shared/src/index.mjs +1 -2
  8. package/fesm2022/geonetwork-ui.mjs +34 -117
  9. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  10. package/libs/api/repository/src/lib/gn4/gn4.provider.d.ts.map +1 -1
  11. package/libs/feature/record/src/index.d.ts +1 -0
  12. package/libs/feature/record/src/index.d.ts.map +1 -1
  13. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +3 -2
  14. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
  15. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +2 -1
  16. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
  17. package/libs/feature/record/src/lib/gn-ui-version.token.d.ts +3 -0
  18. package/libs/feature/record/src/lib/gn-ui-version.token.d.ts.map +1 -0
  19. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  20. package/libs/util/shared/src/index.d.ts +0 -1
  21. package/libs/util/shared/src/index.d.ts.map +1 -1
  22. package/package.json +1 -1
  23. package/src/libs/api/repository/src/lib/gn4/gn4.provider.ts +0 -6
  24. package/src/libs/feature/record/src/index.ts +1 -0
  25. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +3 -2
  26. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +5 -4
  27. package/src/libs/feature/record/src/lib/gn-ui-version.token.ts +3 -0
  28. package/src/libs/feature/search/src/lib/feature-search.module.ts +8 -0
  29. package/src/libs/util/shared/src/index.ts +0 -1
  30. package/esm2022/libs/util/shared/src/lib/gn-ui-version.mjs +0 -6
  31. package/libs/util/shared/src/lib/gn-ui-version.d.ts +0 -3
  32. package/libs/util/shared/src/lib/gn-ui-version.d.ts.map +0 -1
  33. package/src/libs/util/shared/src/lib/gn-ui-version.ts +0 -8
@@ -1 +1 @@
1
- {"version":3,"file":"gn4.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/repository/src/lib/gn4/gn4.provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAOxC,wBAAgB,UAAU,IAAI,QAAQ,EAAE,CAYvC"}
1
+ {"version":3,"file":"gn4.provider.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/repository/src/lib/gn4/gn4.provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAKxC,wBAAgB,UAAU,IAAI,QAAQ,EAAE,CAQvC"}
@@ -1,4 +1,5 @@
1
1
  export * from './lib/feature-record.module';
2
+ export * from './lib/gn-ui-version.token';
2
3
  export * from './lib/state';
3
4
  export * from './lib/data-view-permalink/data-view-permalink.component';
4
5
  export * from './lib/data-view/data-view.component';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/feature/record/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA;AAC3C,cAAc,aAAa,CAAA;AAC3B,cAAc,yDAAyD,CAAA;AACvE,cAAc,qCAAqC,CAAA;AACnD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iEAAiE,CAAA;AAC/E,cAAc,+DAA+D,CAAA;AAC7E,cAAc,mCAAmC,CAAA;AACjD,cAAc,uCAAuC,CAAA;AACrD,cAAc,yCAAyC,CAAA;AACvD,cAAc,+DAA+D,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/feature/record/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA;AAC3C,cAAc,2BAA2B,CAAA;AACzC,cAAc,aAAa,CAAA;AAC3B,cAAc,yDAAyD,CAAA;AACvE,cAAc,qCAAqC,CAAA;AACnD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iEAAiE,CAAA;AAC/E,cAAc,+DAA+D,CAAA;AAC7E,cAAc,mCAAmC,CAAA;AACjD,cAAc,uCAAuC,CAAA;AACrD,cAAc,yCAAyC,CAAA;AACvD,cAAc,+DAA+D,CAAA"}
@@ -7,12 +7,13 @@ export declare const WEB_COMPONENT_EMBEDDER_URL: InjectionToken<string>;
7
7
  export declare class DataViewPermalinkComponent {
8
8
  private config;
9
9
  protected wcEmbedderBaseUrl: string;
10
+ private version;
10
11
  private facade;
11
12
  viewType$: BehaviorSubject<string>;
12
13
  set viewType(value: string);
13
14
  permalinkUrl$: import("rxjs").Observable<string>;
14
- constructor(config: Configuration, wcEmbedderBaseUrl: string, facade: MdViewFacade);
15
- static ɵfac: i0.ɵɵFactoryDeclaration<DataViewPermalinkComponent, [null, { optional: true; }, null]>;
15
+ constructor(config: Configuration, wcEmbedderBaseUrl: string, version: string, facade: MdViewFacade);
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<DataViewPermalinkComponent, [null, { optional: true; }, null, null]>;
16
17
  static ɵcmp: i0.ɵɵComponentDeclaration<DataViewPermalinkComponent, "gn-ui-data-view-permalink", never, { "viewType": { "alias": "viewType"; "required": false; }; }, {}, never, never, true, never>;
17
18
  }
18
19
  //# sourceMappingURL=data-view-permalink.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-view-permalink.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,cAAc,EAGf,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAA;AAC1E,OAAO,EAAE,eAAe,EAAsB,MAAM,MAAM,CAAA;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;;AAMvC,eAAO,MAAM,0BAA0B,wBAEtC,CAAA;AAED,qBAQa,0BAA0B;IA4CZ,OAAO,CAAC,MAAM;IAGrC,SAAS,CAAC,iBAAiB,EAAE,MAAM;IACnC,OAAO,CAAC,MAAM;IA/ChB,SAAS,0BAAqC;IAC9C,IACI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IAED,aAAa,oCAkCZ;gBAGgC,MAAM,EAAE,aAAa,EAG1C,iBAAiB,EAAE,MAAM,EAC3B,MAAM,EAAE,YAAY;yCAhDnB,0BAA0B;2CAA1B,0BAA0B;CAkDtC"}
1
+ {"version":3,"file":"data-view-permalink.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,cAAc,EAGf,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAA;AAC1E,OAAO,EAAE,eAAe,EAAsB,MAAM,MAAM,CAAA;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;;AAMvC,eAAO,MAAM,0BAA0B,wBAEtC,CAAA;AAED,qBAQa,0BAA0B;IA4CZ,OAAO,CAAC,MAAM;IAGrC,SAAS,CAAC,iBAAiB,EAAE,MAAM;IACZ,OAAO,CAAC,OAAO;IACtC,OAAO,CAAC,MAAM;IAhDhB,SAAS,0BAAqC;IAC9C,IACI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IAED,aAAa,oCAkCZ;gBAGgC,MAAM,EAAE,aAAa,EAG1C,iBAAiB,EAAE,MAAM,EACJ,OAAO,EAAE,MAAM,EACtC,MAAM,EAAE,YAAY;yCAjDnB,0BAA0B;2CAA1B,0BAA0B;CAmDtC"}
@@ -4,11 +4,12 @@ import { BehaviorSubject } from 'rxjs';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class DataViewWebComponentComponent {
6
6
  private config;
7
+ private version;
7
8
  private facade;
8
9
  viewType$: BehaviorSubject<string>;
9
10
  set viewType(value: string);
10
11
  webComponentHtml$: import("rxjs").Observable<string>;
11
- constructor(config: Configuration, facade: MdViewFacade);
12
+ constructor(config: Configuration, version: string, facade: MdViewFacade);
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<DataViewWebComponentComponent, never>;
13
14
  static ɵcmp: i0.ɵɵComponentDeclaration<DataViewWebComponentComponent, "gn-ui-data-view-web-component", never, { "viewType": { "alias": "viewType"; "required": false; }; }, {}, never, never, true, never>;
14
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"data-view-web-component.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAA;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AACvC,OAAO,EAAE,eAAe,EAAsB,MAAM,MAAM,CAAA;;AAM1D,qBAQa,6BAA6B;IA4Ef,OAAO,CAAC,MAAM;IACrC,OAAO,CAAC,MAAM;IA5EhB,SAAS,0BAAqC;IAC9C,IACI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IACD,iBAAiB,oCAmEhB;gBAGgC,MAAM,EAAE,aAAa,EAC5C,MAAM,EAAE,YAAY;yCA7EnB,6BAA6B;2CAA7B,6BAA6B;CA+EzC"}
1
+ {"version":3,"file":"data-view-web-component.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAA;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AACvC,OAAO,EAAE,eAAe,EAAsB,MAAM,MAAM,CAAA;;AAM1D,qBAQa,6BAA6B;IA4Ef,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,OAAO;IACtC,OAAO,CAAC,MAAM;IA7EhB,SAAS,0BAAqC;IAC9C,IACI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IACD,iBAAiB,oCAmEhB;gBAGgC,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,MAAM,EACtC,MAAM,EAAE,YAAY;yCA9EnB,6BAA6B;2CAA7B,6BAA6B;CAgFzC"}
@@ -0,0 +1,3 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const GN_UI_VERSION: InjectionToken<string>;
3
+ //# sourceMappingURL=gn-ui-version.token.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gn-ui-version.token.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/record/src/lib/gn-ui-version.token.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE9C,eAAO,MAAM,aAAa,wBAA4C,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"feature-search.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/search/src/lib/feature-search.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AA8BA,qBA2Ca,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
1
+ {"version":3,"file":"feature-search.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/search/src/lib/feature-search.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAgCA,qBAiDa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
@@ -3,5 +3,4 @@ export * from './lib/services';
3
3
  export * from './lib/utils';
4
4
  export * from './lib/links';
5
5
  export * from './lib/image-fallback.directive';
6
- export * from './lib/gn-ui-version';
7
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/util/shared/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,gCAAgC,CAAA;AAC9C,cAAc,qBAAqB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/util/shared/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,gCAAgC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geonetwork-ui",
3
- "version": "2.6.0-dev.025a2f85d",
3
+ "version": "2.6.0-dev.128618187",
4
4
  "engines": {
5
5
  "node": ">=20"
6
6
  },
@@ -2,8 +2,6 @@ import { Provider } from '@angular/core'
2
2
  import { PlatformServiceInterface } from '../../../../../../libs/common/domain/src/lib/platform.service.interface'
3
3
  import { Gn4PlatformService } from './platform/gn4-platform.service'
4
4
  import { Gn4PlatformMapper } from './platform/gn4-platform.mapper'
5
- import { RecordsRepositoryInterface } from '../../../../../../libs/common/domain/src/lib/repository/records-repository.interface'
6
- import { Gn4Repository } from './gn4-repository'
7
5
 
8
6
  export function provideGn4(): Provider[] {
9
7
  return [
@@ -11,10 +9,6 @@ export function provideGn4(): Provider[] {
11
9
  provide: PlatformServiceInterface,
12
10
  useClass: Gn4PlatformService,
13
11
  },
14
- {
15
- provide: RecordsRepositoryInterface,
16
- useClass: Gn4Repository,
17
- },
18
12
  Gn4PlatformMapper,
19
13
  ]
20
14
  }
@@ -1,4 +1,5 @@
1
1
  export * from './lib/feature-record.module'
2
+ export * from './lib/gn-ui-version.token'
2
3
  export * from './lib/state'
3
4
  export * from './lib/data-view-permalink/data-view-permalink.component'
4
5
  export * from './lib/data-view/data-view.component'
@@ -9,10 +9,10 @@ import {
9
9
  import { Configuration } from '../../../../../../libs/data-access/gn4/src'
10
10
  import { BehaviorSubject, combineLatest, map } from 'rxjs'
11
11
  import { MdViewFacade } from '../state'
12
+ import { GN_UI_VERSION } from '../gn-ui-version.token'
12
13
  import { CopyTextButtonComponent } from '../../../../../../libs/ui/inputs/src'
13
14
  import { CommonModule } from '@angular/common'
14
15
  import { TranslateModule } from '@ngx-translate/core'
15
- import { GEONETWORK_UI_TAG_NAME } from '../../../../../../libs/util/shared/src'
16
16
 
17
17
  export const WEB_COMPONENT_EMBEDDER_URL = new InjectionToken<string>(
18
18
  'webComponentEmbedderUrl'
@@ -40,7 +40,7 @@ export class DataViewPermalinkComponent {
40
40
  ]).pipe(
41
41
  map(([viewType, config, metadata]) => {
42
42
  const url = new URL(`${this.wcEmbedderBaseUrl}`, window.location.origin)
43
- url.searchParams.set('v', `${GEONETWORK_UI_TAG_NAME}`)
43
+ url.searchParams.set('v', `${this.version}`)
44
44
  if (viewType === 'chart') {
45
45
  if (config) {
46
46
  const { aggregation, xProperty, yProperty, chartType } = config
@@ -74,6 +74,7 @@ export class DataViewPermalinkComponent {
74
74
  @Optional()
75
75
  @Inject(WEB_COMPONENT_EMBEDDER_URL)
76
76
  protected wcEmbedderBaseUrl: string,
77
+ @Inject(GN_UI_VERSION) private version: string,
77
78
  private facade: MdViewFacade
78
79
  ) {}
79
80
  }
@@ -7,10 +7,10 @@ import {
7
7
  import { Configuration } from '../../../../../../libs/data-access/gn4/src'
8
8
  import { MdViewFacade } from '../state'
9
9
  import { BehaviorSubject, combineLatest, map } from 'rxjs'
10
+ import { GN_UI_VERSION } from '../gn-ui-version.token'
10
11
  import { CopyTextButtonComponent } from '../../../../../../libs/ui/inputs/src'
11
12
  import { CommonModule } from '@angular/common'
12
13
  import { TranslateModule } from '@ngx-translate/core'
13
- import { GEONETWORK_UI_TAG_NAME } from '../../../../../../libs/util/shared/src'
14
14
 
15
15
  @Component({
16
16
  selector: 'gn-ui-data-view-web-component',
@@ -36,7 +36,7 @@ export class DataViewWebComponentComponent {
36
36
  if (config) {
37
37
  const { aggregation, xProperty, yProperty, chartType } = config
38
38
  return `<script src="https://cdn.jsdelivr.net/gh/geonetwork/geonetwork-ui@wc-dist-${
39
- GEONETWORK_UI_TAG_NAME
39
+ this.version
40
40
  }/gn-wc.js"></script>
41
41
  <gn-dataset-view-chart
42
42
  api-url="${new URL(
@@ -59,7 +59,7 @@ export class DataViewWebComponentComponent {
59
59
  return ''
60
60
  } else if (viewType === 'table') {
61
61
  return `<script src="https://cdn.jsdelivr.net/gh/geonetwork/geonetwork-ui@wc-dist-${
62
- GEONETWORK_UI_TAG_NAME
62
+ this.version
63
63
  }/gn-wc.js"></script>
64
64
  <gn-dataset-view-table
65
65
  api-url="${new URL(
@@ -76,7 +76,7 @@ export class DataViewWebComponentComponent {
76
76
  ></gn-dataset-view-table>`
77
77
  } else {
78
78
  return `<script src="https://cdn.jsdelivr.net/gh/geonetwork/geonetwork-ui@wc-dist-${
79
- GEONETWORK_UI_TAG_NAME
79
+ this.version
80
80
  }/gn-wc.js"></script>
81
81
  <gn-dataset-view-map
82
82
  api-url="${new URL(
@@ -97,6 +97,7 @@ export class DataViewWebComponentComponent {
97
97
 
98
98
  constructor(
99
99
  @Inject(Configuration) private config: Configuration,
100
+ @Inject(GN_UI_VERSION) private version: string,
100
101
  private facade: MdViewFacade
101
102
  ) {}
102
103
  }
@@ -0,0 +1,3 @@
1
+ import { InjectionToken } from '@angular/core'
2
+
3
+ export const GN_UI_VERSION = new InjectionToken<string>('gnUiVersion')
@@ -26,6 +26,8 @@ import {
26
26
  SpinningLoaderComponent,
27
27
  UiWidgetsModule,
28
28
  } from '../../../../../libs/ui/widgets/src'
29
+ import { RecordsRepositoryInterface } from '../../../../../libs/common/domain/src/lib/repository/records-repository.interface'
30
+ import { Gn4Repository } from '../../../../../libs/api/repository/src'
29
31
  import { FavoriteStarComponent } from './favorites/favorite-star/favorite-star.component'
30
32
 
31
33
  @NgModule({
@@ -70,5 +72,11 @@ import { FavoriteStarComponent } from './favorites/favorite-star/favorite-star.c
70
72
  SearchStateContainerDirective,
71
73
  FilterDropdownComponent,
72
74
  ],
75
+ providers: [
76
+ {
77
+ provide: RecordsRepositoryInterface,
78
+ useClass: Gn4Repository,
79
+ },
80
+ ],
73
81
  })
74
82
  export class FeatureSearchModule {}
@@ -3,4 +3,3 @@ export * from './lib/services'
3
3
  export * from './lib/utils'
4
4
  export * from './lib/links'
5
5
  export * from './lib/image-fallback.directive'
6
- export * from './lib/gn-ui-version'
@@ -1,6 +0,0 @@
1
- import packageJson from '../../../../../package.json';
2
- export const GEONETWORK_UI_VERSION = packageJson.version;
3
- export const GEONETWORK_UI_TAG_NAME = GEONETWORK_UI_VERSION.split('-')[1] === 'dev'
4
- ? 'main'
5
- : `v${packageJson.version}`;
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ24tdWktdmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdXRpbC9zaGFyZWQvc3JjL2xpYi9nbi11aS12ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sV0FBVyxNQUFNLDZCQUE2QixDQUFBO0FBRXJELE1BQU0sQ0FBQyxNQUFNLHFCQUFxQixHQUFHLFdBQVcsQ0FBQyxPQUFPLENBQUE7QUFFeEQsTUFBTSxDQUFDLE1BQU0sc0JBQXNCLEdBQ2pDLHFCQUFxQixDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMsS0FBSyxLQUFLO0lBQzNDLENBQUMsQ0FBQyxNQUFNO0lBQ1IsQ0FBQyxDQUFDLElBQUksV0FBVyxDQUFDLE9BQU8sRUFBRSxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHBhY2thZ2VKc29uIGZyb20gJy4uLy4uLy4uLy4uLy4uL3BhY2thZ2UuanNvbidcblxuZXhwb3J0IGNvbnN0IEdFT05FVFdPUktfVUlfVkVSU0lPTiA9IHBhY2thZ2VKc29uLnZlcnNpb25cblxuZXhwb3J0IGNvbnN0IEdFT05FVFdPUktfVUlfVEFHX05BTUUgPVxuICBHRU9ORVRXT1JLX1VJX1ZFUlNJT04uc3BsaXQoJy0nKVsxXSA9PT0gJ2RldidcbiAgICA/ICdtYWluJ1xuICAgIDogYHYke3BhY2thZ2VKc29uLnZlcnNpb259YFxuIl19
@@ -1,3 +0,0 @@
1
- export declare const GEONETWORK_UI_VERSION: string;
2
- export declare const GEONETWORK_UI_TAG_NAME: string;
3
- //# sourceMappingURL=gn-ui-version.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"gn-ui-version.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/shared/src/lib/gn-ui-version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,QAAsB,CAAA;AAExD,eAAO,MAAM,sBAAsB,QAGJ,CAAA"}
@@ -1,8 +0,0 @@
1
- import packageJson from '../../../../../package.json'
2
-
3
- export const GEONETWORK_UI_VERSION = packageJson.version
4
-
5
- export const GEONETWORK_UI_TAG_NAME =
6
- GEONETWORK_UI_VERSION.split('-')[1] === 'dev'
7
- ? 'main'
8
- : `v${packageJson.version}`