@provoly/dashboard 0.13.9 → 0.13.10

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 (106) hide show
  1. package/admin/admin.module.d.ts +2 -1
  2. package/admin/components/admin-dataset/admin-select-dataset/admin-select-dataset.component.d.ts +5 -13
  3. package/admin/components/admin-metadata-rules/admin-edit-metadata-rules/admin-edit-metadata-rules.component.d.ts +1 -1
  4. package/admin/components/admin-metadata-rules/shared/admin-form-metadata-rules/admin-form-metadata-rules.component.d.ts +1 -1
  5. package/admin/components/admin-user/admin-user-select/admin-user-select.component.d.ts +4 -9
  6. package/admin/components/association/association.component.d.ts +1 -3
  7. package/admin/store/admin.effects.d.ts +19 -15
  8. package/admin/store/admin.service.d.ts +0 -3
  9. package/components/metadata-editor/index.d.ts +5 -0
  10. package/components/metadata-editor/metadata-editor.component.d.ts +36 -0
  11. package/components/metadata-editor/metadata-editor.module.d.ts +12 -0
  12. package/components/metadata-editor/public-api.d.ts +7 -0
  13. package/components/metadata-editor/store/metadata.action.d.ts +112 -0
  14. package/components/metadata-editor/store/metadata.effects.d.ts +48 -0
  15. package/{admin/components/admin-metadata → components/metadata-editor}/store/metadata.reducer.d.ts +2 -1
  16. package/{admin/components/admin-metadata → components/metadata-editor}/store/metadata.selector.d.ts +1 -0
  17. package/components/metadata-editor/store/metadata.service.d.ts +15 -0
  18. package/dataset/i18n/en.translations.d.ts +1 -0
  19. package/dataset/i18n/fr.translations.d.ts +1 -0
  20. package/dataset/style/_o-pry-dataset-card.scss +7 -0
  21. package/esm2022/admin/admin.module.mjs +9 -17
  22. package/esm2022/admin/components/admin-abac-rules/admin-abac-rules-edit/admin-abac-rules-edit.component.mjs +2 -2
  23. package/esm2022/admin/components/admin-abac-rules/admin-abac-rules-new/admin-abac-rules-new.component.mjs +2 -2
  24. package/esm2022/admin/components/admin-abac-rules/admin-abac-rules-view/admin-abac-rules-view.component.mjs +2 -2
  25. package/esm2022/admin/components/admin-abac-rules/components/metadata-condition/metadata-condition.component.mjs +2 -2
  26. package/esm2022/admin/components/admin-abac-rules/components/select-metadata/select-metadata.component.mjs +2 -2
  27. package/esm2022/admin/components/admin-dataset/admin-select-dataset/admin-select-dataset.component.mjs +21 -77
  28. package/esm2022/admin/components/admin-metadata/admin-edit-metadata/admin-edit-metadata.component.mjs +2 -3
  29. package/esm2022/admin/components/admin-metadata/admin-metadata.component.mjs +2 -3
  30. package/esm2022/admin/components/admin-metadata/admin-new-metadata/admin-new-metadata.component.mjs +2 -2
  31. package/esm2022/admin/components/admin-metadata/admin-select-metadata/admin-select-metadata.component.mjs +2 -3
  32. package/esm2022/admin/components/admin-metadata/shared/form-metadata/form-metadata.component.mjs +2 -2
  33. package/esm2022/admin/components/admin-metadata-rules/admin-edit-metadata-rules/admin-edit-metadata-rules.component.mjs +1 -1
  34. package/esm2022/admin/components/admin-metadata-rules/shared/admin-form-metadata-rules/admin-form-metadata-rules.component.mjs +2 -3
  35. package/esm2022/admin/components/admin-user/admin-user-select/admin-user-select.component.mjs +17 -65
  36. package/esm2022/admin/components/association/association.component.mjs +1 -4
  37. package/esm2022/admin/store/admin.effects.mjs +6 -2
  38. package/esm2022/admin/store/admin.service.mjs +1 -16
  39. package/esm2022/components/metadata-editor/metadata-editor.component.mjs +111 -0
  40. package/esm2022/components/metadata-editor/metadata-editor.module.mjs +47 -0
  41. package/esm2022/components/metadata-editor/provoly-dashboard-components-metadata-editor.mjs +5 -0
  42. package/esm2022/components/metadata-editor/public-api.mjs +8 -0
  43. package/esm2022/components/metadata-editor/store/metadata.action.mjs +27 -0
  44. package/esm2022/components/metadata-editor/store/metadata.effects.mjs +44 -0
  45. package/esm2022/components/metadata-editor/store/metadata.reducer.mjs +39 -0
  46. package/esm2022/components/metadata-editor/store/metadata.selector.mjs +19 -0
  47. package/esm2022/components/metadata-editor/store/metadata.service.mjs +36 -0
  48. package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +3 -3
  49. package/esm2022/dataset/i18n/en.translations.mjs +3 -2
  50. package/esm2022/dataset/i18n/fr.translations.mjs +3 -2
  51. package/esm2022/dataset/style/css.component.mjs +2 -2
  52. package/esm2022/import/components/import.component.mjs +8 -4
  53. package/esm2022/lib/core/components/modal-status/modal-status.component.mjs +3 -12
  54. package/esm2022/lib/core/model/widget-map-manifest.interface.mjs +1 -1
  55. package/esm2022/lib/dashboard/store/manifest.service.mjs +2 -2
  56. package/esm2022/toolbox/components/save-view/save-view.component.mjs +3 -3
  57. package/esm2022/toolbox/components/toolbox-action-instanciator/toolbox-action-instanciator.component.mjs +31 -17
  58. package/esm2022/toolbox/components/toolbox.component.mjs +20 -14
  59. package/esm2022/widgets/widget-map/component/widget-map.component.mjs +45 -13
  60. package/esm2022/widgets/widget-map/i18n/en.translations.mjs +3 -1
  61. package/esm2022/widgets/widget-map/i18n/fr.translations.mjs +3 -1
  62. package/esm2022/widgets/widget-map/pipe/widget-map-legend-url.pipe.mjs +2 -2
  63. package/esm2022/widgets/widget-map/public-api.mjs +3 -1
  64. package/esm2022/widgets/widget-map/utils/cql-utils.class.mjs +56 -0
  65. package/esm2022/widgets/widget-map/utils/xml-utils.class.mjs +32 -0
  66. package/fesm2022/provoly-dashboard-admin.mjs +107 -370
  67. package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
  68. package/fesm2022/provoly-dashboard-components-metadata-editor.mjs +302 -0
  69. package/fesm2022/provoly-dashboard-components-metadata-editor.mjs.map +1 -0
  70. package/fesm2022/provoly-dashboard-dataset.mjs +8 -6
  71. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  72. package/fesm2022/provoly-dashboard-import.mjs +7 -3
  73. package/fesm2022/provoly-dashboard-import.mjs.map +1 -1
  74. package/fesm2022/provoly-dashboard-toolbox.mjs +49 -29
  75. package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
  76. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +104 -13
  77. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  78. package/fesm2022/provoly-dashboard.mjs +6 -13
  79. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  80. package/import/components/import.component.d.ts +5 -3
  81. package/lib/core/components/modal-status/modal-status.component.d.ts +0 -8
  82. package/lib/core/model/widget-map-manifest.interface.d.ts +2 -0
  83. package/package.json +19 -13
  84. package/toolbox/components/toolbox-action-instanciator/toolbox-action-instanciator.component.d.ts +7 -5
  85. package/toolbox/components/toolbox.component.d.ts +10 -5
  86. package/widgets/widget-map/component/widget-map.component.d.ts +4 -1
  87. package/widgets/widget-map/i18n/en.translations.d.ts +2 -0
  88. package/widgets/widget-map/i18n/fr.translations.d.ts +2 -0
  89. package/widgets/widget-map/public-api.d.ts +2 -0
  90. package/widgets/widget-map/utils/cql-utils.class.d.ts +6 -0
  91. package/admin/components/admin-dataset/store/admin-dataset.actions.d.ts +0 -59
  92. package/admin/components/admin-dataset/store/admin-dataset.effects.d.ts +0 -30
  93. package/admin/components/admin-dataset/store/admin-dataset.reducer.d.ts +0 -6
  94. package/admin/components/admin-dataset/store/admin-dataset.selector.d.ts +0 -5
  95. package/admin/components/admin-metadata/store/metadata.action.d.ts +0 -56
  96. package/admin/components/admin-metadata/store/metadata.effects.d.ts +0 -36
  97. package/esm2022/admin/components/admin-dataset/store/admin-dataset.actions.mjs +0 -14
  98. package/esm2022/admin/components/admin-dataset/store/admin-dataset.effects.mjs +0 -36
  99. package/esm2022/admin/components/admin-dataset/store/admin-dataset.reducer.mjs +0 -11
  100. package/esm2022/admin/components/admin-dataset/store/admin-dataset.selector.mjs +0 -9
  101. package/esm2022/admin/components/admin-metadata/store/metadata.action.mjs +0 -19
  102. package/esm2022/admin/components/admin-metadata/store/metadata.effects.mjs +0 -33
  103. package/esm2022/admin/components/admin-metadata/store/metadata.reducer.mjs +0 -35
  104. package/esm2022/admin/components/admin-metadata/store/metadata.selector.mjs +0 -17
  105. package/esm2022/widgets/widget-map/pipe/xml-utils.class.mjs +0 -32
  106. /package/widgets/widget-map/{pipe → utils}/xml-utils.class.d.ts +0 -0
@@ -79,10 +79,11 @@ import * as i76 from "@provoly/dashboard/components/checkbox";
79
79
  import * as i77 from "./components/admin-metadata/shared/list-metadata/list-metadata.module";
80
80
  import * as i78 from "@angular/cdk/overlay";
81
81
  import * as i79 from "@angular/cdk/drag-drop";
82
+ import * as i80 from "@provoly/dashboard/components/metadata-editor";
82
83
  export declare class PryAdminModule {
83
84
  private pryTranslateService;
84
85
  constructor(pryTranslateService: PryI18nService);
85
86
  static ɵfac: i0.ɵɵFactoryDeclaration<PryAdminModule, never>;
86
- static ɵmod: i0.ɵɵNgModuleDeclaration<PryAdminModule, [typeof i1.PryAdminComponent, typeof i2.AdminEnvironmentComponent, typeof i3.AdminMetadataUserComponent, typeof i4.AdminClassesComponent, typeof i5.AdminPredicatesComponent, typeof i6.AdminPredicatesNewComponent, typeof i7.AdminPredicatesUpdateComponent, typeof i8.AdminPredicatesSelectComponent, typeof i9.AdminAbacRulesComponent, typeof i10.AdminMenuComponent, typeof i11.AdminLayoutComponent, typeof i12.AdminTitleComponent, typeof i11.AdminLayoutComponent, typeof i10.AdminMenuComponent, typeof i13.AdminMetadataComponent, typeof i14.AdminEnvironmentNewComponent, typeof i15.AdminEnvironmentUpdateComponent, typeof i16.AdminEnvironmentFormComponent, typeof i17.AdminNewMetadataComponent, typeof i18.AdminAbacRulesEditComponent, typeof i19.AdminAbacRulesViewComponent, typeof i20.AdminAbacRulesNewComponent, typeof i21.SelectMetadataComponent, typeof i22.SelectAttributeComponent, typeof i23.AttributeConditionComponent, typeof i24.MetadataConditionComponent, typeof i25.ComposedConditionComponent, typeof i26.AdminAbacRulesFormComponent, typeof i27.AdminUserNewMetadataComponent, typeof i28.AdminEditMetadataComponent, typeof i29.AdminPredicatesFormComponent, typeof i30.AdminEnvironmentSelectComponent, typeof i31.AdminUserEditMetadataComponent, typeof i29.AdminPredicatesFormComponent, typeof i32.FormMetadataComponent, typeof i33.AdminSelectMetadataComponent, typeof i34.AdminUserSelectMetadataComponent, typeof i35.AdminFieldsComponent, typeof i36.AdminFieldsNewComponent, typeof i34.AdminUserSelectMetadataComponent, typeof i37.AdminClassesFormComponent, typeof i38.AdminClassesNewComponent, typeof i39.AdminClassesViewComponent, typeof i40.AdminAttributesNewComponent, typeof i41.AdminAttributesFormComponent, typeof i42.AdminAttributesSelectComponent, typeof i43.AdminClassesSelectComponent, typeof i44.AdminFieldsFormComponent, typeof i45.AdminFieldsSelectComponent, typeof i46.AdminClassesEditComponent, typeof i47.AdminAttributesEditComponent, typeof i48.AdminFieldsEditComponent, typeof i49.AdminUserComponent, typeof i50.AdminUserSelectComponent, typeof i51.AdminRelationTypesComponent, typeof i52.AdminRelationTypesSelectComponent, typeof i53.AdminRelationTypesModalComponent, typeof i54.AdminLinksComponent, typeof i55.AdminLinksNewComponent, typeof i56.AdminMetadataRulesComponent, typeof i57.AdminSelectMetadataRulesComponent, typeof i58.AdminNewMetadataRulesComponent, typeof i59.AdminEditMetadataRulesComponent, typeof i60.AdminFormMetadataRulesComponent, typeof i61.AdminDatasetComponent, typeof i62.AdminEditDatasetComponent, typeof i63.AdminNewDatasetComponent, typeof i64.AdminSelectDatasetComponent, typeof i65.AdminFormDatasetComponent, typeof i66.AdminClassesCustomizeComponent, typeof i67.AdminClassesCustomizeTooltipComponent, typeof i68.AdminClassesCustomizeSymbolComponent, typeof i69.PryAssociationComponent], [typeof i70.CommonModule, typeof i71.PryCoreModule, typeof i72.AdminRoutingModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i71.PryIconModule, typeof i75.FormsModule, typeof i75.ReactiveFormsModule, typeof i71.PrySortModule, typeof i76.PryCheckboxModule, typeof i71.PryModalModule, typeof i71.PrySelectModule, typeof i77.PryListMetadataModule, typeof i71.PryToggleModule, typeof i78.OverlayModule, typeof i71.PryOverlayModule, typeof i79.DragDropModule, typeof i71.PryI18nModule], never>;
87
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PryAdminModule, [typeof i1.PryAdminComponent, typeof i2.AdminEnvironmentComponent, typeof i3.AdminMetadataUserComponent, typeof i4.AdminClassesComponent, typeof i5.AdminPredicatesComponent, typeof i6.AdminPredicatesNewComponent, typeof i7.AdminPredicatesUpdateComponent, typeof i8.AdminPredicatesSelectComponent, typeof i9.AdminAbacRulesComponent, typeof i10.AdminMenuComponent, typeof i11.AdminLayoutComponent, typeof i12.AdminTitleComponent, typeof i11.AdminLayoutComponent, typeof i10.AdminMenuComponent, typeof i13.AdminMetadataComponent, typeof i14.AdminEnvironmentNewComponent, typeof i15.AdminEnvironmentUpdateComponent, typeof i16.AdminEnvironmentFormComponent, typeof i17.AdminNewMetadataComponent, typeof i18.AdminAbacRulesEditComponent, typeof i19.AdminAbacRulesViewComponent, typeof i20.AdminAbacRulesNewComponent, typeof i21.SelectMetadataComponent, typeof i22.SelectAttributeComponent, typeof i23.AttributeConditionComponent, typeof i24.MetadataConditionComponent, typeof i25.ComposedConditionComponent, typeof i26.AdminAbacRulesFormComponent, typeof i27.AdminUserNewMetadataComponent, typeof i28.AdminEditMetadataComponent, typeof i29.AdminPredicatesFormComponent, typeof i30.AdminEnvironmentSelectComponent, typeof i31.AdminUserEditMetadataComponent, typeof i29.AdminPredicatesFormComponent, typeof i32.FormMetadataComponent, typeof i33.AdminSelectMetadataComponent, typeof i34.AdminUserSelectMetadataComponent, typeof i35.AdminFieldsComponent, typeof i36.AdminFieldsNewComponent, typeof i34.AdminUserSelectMetadataComponent, typeof i37.AdminClassesFormComponent, typeof i38.AdminClassesNewComponent, typeof i39.AdminClassesViewComponent, typeof i40.AdminAttributesNewComponent, typeof i41.AdminAttributesFormComponent, typeof i42.AdminAttributesSelectComponent, typeof i43.AdminClassesSelectComponent, typeof i44.AdminFieldsFormComponent, typeof i45.AdminFieldsSelectComponent, typeof i46.AdminClassesEditComponent, typeof i47.AdminAttributesEditComponent, typeof i48.AdminFieldsEditComponent, typeof i49.AdminUserComponent, typeof i50.AdminUserSelectComponent, typeof i51.AdminRelationTypesComponent, typeof i52.AdminRelationTypesSelectComponent, typeof i53.AdminRelationTypesModalComponent, typeof i54.AdminLinksComponent, typeof i55.AdminLinksNewComponent, typeof i56.AdminMetadataRulesComponent, typeof i57.AdminSelectMetadataRulesComponent, typeof i58.AdminNewMetadataRulesComponent, typeof i59.AdminEditMetadataRulesComponent, typeof i60.AdminFormMetadataRulesComponent, typeof i61.AdminDatasetComponent, typeof i62.AdminEditDatasetComponent, typeof i63.AdminNewDatasetComponent, typeof i64.AdminSelectDatasetComponent, typeof i65.AdminFormDatasetComponent, typeof i66.AdminClassesCustomizeComponent, typeof i67.AdminClassesCustomizeTooltipComponent, typeof i68.AdminClassesCustomizeSymbolComponent, typeof i69.PryAssociationComponent], [typeof i70.CommonModule, typeof i71.PryCoreModule, typeof i72.AdminRoutingModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i73.StoreFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i74.EffectsFeatureModule, typeof i71.PryIconModule, typeof i75.FormsModule, typeof i75.ReactiveFormsModule, typeof i71.PrySortModule, typeof i76.PryCheckboxModule, typeof i71.PryModalModule, typeof i71.PrySelectModule, typeof i77.PryListMetadataModule, typeof i71.PryToggleModule, typeof i78.OverlayModule, typeof i71.PryOverlayModule, typeof i79.DragDropModule, typeof i71.PryI18nModule, typeof i80.PryExpandPanelModule], never>;
87
88
  static ɵinj: i0.ɵɵInjectorDeclaration<PryAdminModule>;
88
89
  }
@@ -1,15 +1,14 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
- import { FormBuilder, FormGroup } from '@angular/forms';
3
2
  import { ActivatedRoute, Router } from '@angular/router';
4
3
  import { Store } from '@ngrx/store';
5
- import { Associations, Dataset, IMetadata, MetadataValue, SubscriptionnerDirective } from '@provoly/dashboard';
4
+ import { Associations, Dataset, MetadataValue, SubscriptionnerDirective } from '@provoly/dashboard';
5
+ import { MetaEventType } from '@provoly/dashboard/components/metadata-editor';
6
6
  import { Observable, Subscription } from 'rxjs';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class AdminSelectDatasetComponent extends SubscriptionnerDirective implements OnInit, OnDestroy {
9
9
  private store;
10
10
  private router;
11
11
  private route;
12
- private formBuilder;
13
12
  static id: string;
14
13
  compId: number;
15
14
  selectedDataset$: Observable<Dataset | null>;
@@ -18,20 +17,13 @@ export declare class AdminSelectDatasetComponent extends SubscriptionnerDirectiv
18
17
  currentTypeTranslation: string;
19
18
  tab: number;
20
19
  datasetMetadata$: Observable<MetadataValue[]>;
21
- metadata$: Observable<IMetadata[]>;
22
- availableMetadata$?: Observable<IMetadata[]>;
23
- form: FormGroup;
24
- isSubmitted: boolean;
25
20
  editable$: Observable<boolean>;
26
- datasetId: string;
27
- constructor(store: Store<any>, router: Router, route: ActivatedRoute, formBuilder: FormBuilder);
21
+ constructor(store: Store<any>, router: Router, route: ActivatedRoute);
28
22
  ngOnInit(): void;
29
23
  closePanel(): void;
30
- addDatasetMetadata(): void;
31
- onMetaChange(metadata: IMetadata): void;
32
- removeMetadata(metadata: MetadataValue): void;
33
- editMetadata(currentMetadata: MetadataValue): void;
34
24
  switch(number: number): void;
25
+ removeMetadata(metadata: MetaEventType): void;
26
+ addDatasetMetadata(metadata: MetaEventType): void;
35
27
  static ɵfac: i0.ɵɵFactoryDeclaration<AdminSelectDatasetComponent, never>;
36
28
  static ɵcmp: i0.ɵɵComponentDeclaration<AdminSelectDatasetComponent, "pry-admin-select-dataset", never, {}, {}, never, never, false, never>;
37
29
  }
@@ -1,7 +1,7 @@
1
1
  import { Store } from '@ngrx/store';
2
2
  import { MetadataRules } from '@provoly/dashboard';
3
+ import { MetadataState } from '@provoly/dashboard/components/metadata-editor';
3
4
  import { Observable } from 'rxjs';
4
- import { MetadataState } from '../../admin-metadata/store/metadata.reducer';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class AdminEditMetadataRulesComponent {
7
7
  private store;
@@ -3,9 +3,9 @@ import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
3
3
  import { ActivatedRoute, Router } from '@angular/router';
4
4
  import { Store } from '@ngrx/store';
5
5
  import { IMetadata, MetadataRules } from '@provoly/dashboard';
6
+ import { MetadataState } from '@provoly/dashboard/components/metadata-editor';
6
7
  import { Observable, Subscription } from 'rxjs';
7
8
  import { AdminMetadataUserState } from '../../../admin-metadata-user/store/admin-metadata-user.reducer';
8
- import { MetadataState } from '../../../admin-metadata/store/metadata.reducer';
9
9
  import { MetadataRulesState } from '../../store/metadata-rules.reducer';
10
10
  import * as i0 from "@angular/core";
11
11
  export declare class AdminFormMetadataRulesComponent implements OnInit, OnDestroy {
@@ -1,12 +1,11 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
- import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
3
2
  import { Store } from '@ngrx/store';
4
3
  import { IMetadata, MetadataUser, UserInfo } from '@provoly/dashboard';
4
+ import { MetaEventType } from '@provoly/dashboard/components/metadata-editor';
5
5
  import { Observable, Subscription } from 'rxjs';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class AdminUserSelectComponent implements OnInit, OnDestroy {
8
8
  private store;
9
- private formBuilder;
10
9
  static id: string;
11
10
  userId: string;
12
11
  compId: number;
@@ -14,21 +13,17 @@ export declare class AdminUserSelectComponent implements OnInit, OnDestroy {
14
13
  userMetadata$: Observable<MetadataUser[] | undefined>;
15
14
  editable$: Observable<boolean>;
16
15
  metadata$: Observable<IMetadata[]>;
17
- metadataAvailable$?: Observable<IMetadata[]>;
18
- metaForm: UntypedFormGroup;
19
16
  tab: number;
20
17
  sub: Subscription;
21
18
  editable: boolean;
22
19
  isSubmitted: boolean;
23
20
  profil: boolean;
24
- constructor(store: Store<AdminUserSelectComponent>, formBuilder: UntypedFormBuilder);
21
+ constructor(store: Store<AdminUserSelectComponent>);
25
22
  ngOnInit(): void;
26
23
  ngOnDestroy(): void;
27
24
  closePanel(): void;
28
- addMetadataUser(): void;
29
- onMetaChange(metadata: IMetadata): void;
30
- removeMetadata(metadata: MetadataUser): void;
31
- editMetadata(currentMetadata: MetadataUser): void;
25
+ addMetadataUser(metadata: MetaEventType): void;
26
+ removeMetadata(metadata: MetaEventType): void;
32
27
  switch(number: number): void;
33
28
  static ɵfac: i0.ɵɵFactoryDeclaration<AdminUserSelectComponent, never>;
34
29
  static ɵcmp: i0.ɵɵComponentDeclaration<AdminUserSelectComponent, "pry-admin-user-select", never, { "profil": { "alias": "profil"; "required": false; }; }, {}, never, never, false, never>;
@@ -1,9 +1,7 @@
1
- import { OnInit } from '@angular/core';
2
1
  import { Associations } from '@provoly/dashboard';
3
2
  import * as i0 from "@angular/core";
4
- export declare class PryAssociationComponent implements OnInit {
3
+ export declare class PryAssociationComponent {
5
4
  associations?: Associations;
6
- ngOnInit(): void;
7
5
  static ɵfac: i0.ɵɵFactoryDeclaration<PryAssociationComponent, never>;
8
6
  static ɵcmp: i0.ɵɵComponentDeclaration<PryAssociationComponent, "pry-association", never, { "associations": { "alias": "associations"; "required": false; }; }, {}, never, never, false, never>;
9
7
  }
@@ -1,52 +1,56 @@
1
1
  import { Router } from '@angular/router';
2
2
  import { Actions } from '@ngrx/effects';
3
- import { Associations } from '@provoly/dashboard';
4
3
  import { AdminService } from './admin.service';
5
- import { Observable } from 'rxjs';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class AdminEffects {
8
6
  private actions$;
9
7
  private service;
10
8
  private router;
11
- routeTo$: Observable<import("@ngrx/store/src/models").TypedAction<"[Admin] reset toolbox main and sub actions">> & import("@ngrx/effects").CreateEffectMetadata;
12
- deleteRelationTypeSuccess$: Observable<({
9
+ routeTo$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Admin] reset toolbox main and sub actions">> & import("@ngrx/effects").CreateEffectMetadata;
10
+ goToNewMetadata$: import("rxjs").Observable<{
11
+ path: string;
12
+ params?: {
13
+ [p: string]: string;
14
+ } | undefined;
15
+ } & import("@ngrx/store/src/models").TypedAction<"[Admin] route to">> & import("@ngrx/effects").CreateEffectMetadata;
16
+ deleteRelationTypeSuccess$: import("rxjs").Observable<({
13
17
  actions: import("@provoly/dashboard").BaseToolboxAction[];
14
18
  } & import("@ngrx/store/src/models").TypedAction<"[Admin] set toolbox main actions">) | ({
15
19
  componentType: string | null;
16
20
  } & import("@ngrx/store/src/models").TypedAction<"[Admin] Select component Type for panel ">) | import("@ngrx/store/src/models").TypedAction<"[Relation Types] Load Relation Types">> & import("@ngrx/effects").CreateEffectMetadata;
17
- closePanel$: Observable<{
21
+ closePanel$: import("rxjs").Observable<{
18
22
  panelOpen: boolean;
19
23
  } & import("@ngrx/store/src/models").TypedAction<"[Admin] Toggle panel">> & import("@ngrx/effects").CreateEffectMetadata;
20
- deleted$: Observable<({
24
+ deleted$: import("rxjs").Observable<({
21
25
  actions: import("@provoly/dashboard").BaseToolboxAction[];
22
26
  } & import("@ngrx/store/src/models").TypedAction<"[Admin] set toolbox main actions">) | ({
23
27
  panelOpen: boolean;
24
28
  } & import("@ngrx/store/src/models").TypedAction<"[Admin] Toggle panel">) | ({
25
29
  componentType: string | null;
26
30
  } & import("@ngrx/store/src/models").TypedAction<"[Admin] Select component Type for panel ">)> & import("@ngrx/effects").CreateEffectMetadata;
27
- openNewDataset$: Observable<{
31
+ openNewDataset$: import("rxjs").Observable<{
28
32
  path: string;
29
33
  params?: {
30
34
  [p: string]: string;
31
35
  } | undefined;
32
36
  } & import("@ngrx/store/src/models").TypedAction<"[Admin] route to">> & import("@ngrx/effects").CreateEffectMetadata;
33
- fetchClassAssociations$: Observable<({
34
- association: Associations;
37
+ fetchClassAssociations$: import("rxjs").Observable<({
38
+ association: import("@provoly/dashboard").Associations;
35
39
  } & import("@ngrx/store/src/models").TypedAction<"[Admin] Fetch Associations Success">) | ({
36
40
  error: any;
37
41
  } & import("@ngrx/store/src/models").TypedAction<"[Admin] Fetch Associations failure">)> & import("@ngrx/effects").CreateEffectMetadata;
38
- fetchFieldAssociations$: Observable<({
39
- association: Associations;
42
+ fetchFieldAssociations$: import("rxjs").Observable<({
43
+ association: import("@provoly/dashboard").Associations;
40
44
  } & import("@ngrx/store/src/models").TypedAction<"[Admin] Fetch Associations Success">) | ({
41
45
  error: any;
42
46
  } & import("@ngrx/store/src/models").TypedAction<"[Admin] Fetch Associations failure">)> & import("@ngrx/effects").CreateEffectMetadata;
43
- fetchDatasetAssociations$: Observable<({
44
- association: Associations;
47
+ fetchDatasetAssociations$: import("rxjs").Observable<({
48
+ association: import("@provoly/dashboard").Associations;
45
49
  } & import("@ngrx/store/src/models").TypedAction<"[Admin] Fetch Associations Success">) | ({
46
50
  error: any;
47
51
  } & import("@ngrx/store/src/models").TypedAction<"[Admin] Fetch Associations failure">)> & import("@ngrx/effects").CreateEffectMetadata;
48
- fetchAttributeAssociations$: Observable<({
49
- association: Associations;
52
+ fetchAttributeAssociations$: import("rxjs").Observable<({
53
+ association: import("@provoly/dashboard").Associations;
50
54
  } & import("@ngrx/store/src/models").TypedAction<"[Admin] Fetch Associations Success">) | ({
51
55
  error: any;
52
56
  } & import("@ngrx/store/src/models").TypedAction<"[Admin] Fetch Associations failure">)> & import("@ngrx/effects").CreateEffectMetadata;
@@ -11,9 +11,6 @@ export declare class AdminService {
11
11
  getPredicates(): Observable<Predicate[]>;
12
12
  savePredicate(predicate: Predicate): Observable<void>;
13
13
  getPredicate(id: string): Observable<Predicate>;
14
- getMetadataList(): Observable<any>;
15
- getMetadata(id: string): Observable<IMetadata>;
16
- postMetadata(metadata: IMetadata): Observable<void>;
17
14
  getUserMetadata(): Observable<any>;
18
15
  getUserMetadataDef(id: string): Observable<IMetadata>;
19
16
  postUserMetadata(metadata: IMetadata): Observable<void>;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@provoly/dashboard/components/metadata-editor" />
5
+ export * from './public-api';
@@ -0,0 +1,36 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { Store } from '@ngrx/store';
4
+ import { IMetadata, MetadataUser, MetadataValue, SubscriptionnerDirective } from '@provoly/dashboard';
5
+ import { BehaviorSubject, Observable } from 'rxjs';
6
+ import * as i0 from "@angular/core";
7
+ export type MetaEventType = {
8
+ id: string;
9
+ metadataId: string;
10
+ value?: string;
11
+ };
12
+ export declare const INTEGER_REGEXP_PATTERN = "^[+-]?[0-9]*$";
13
+ export declare const DOUBLE_REGEXP_PATTERN = "[+-]?([0-9]*[.])?[0-9]+";
14
+ export declare class PryMetadataEditorComponent extends SubscriptionnerDirective {
15
+ private store;
16
+ private formBuilder;
17
+ _metadata$: BehaviorSubject<(MetadataValue | MetadataUser)[]>;
18
+ form: FormGroup;
19
+ isSubmitted: boolean;
20
+ targetId: string;
21
+ editable: boolean;
22
+ metadataDefs$: Observable<IMetadata[]>;
23
+ availableMetadata$: Observable<IMetadata[]>;
24
+ type: 'meta' | 'user';
25
+ addMeta: EventEmitter<MetaEventType>;
26
+ removeMeta: EventEmitter<MetaEventType>;
27
+ set metadata(metadata: MetadataValue[] | MetadataUser[]);
28
+ constructor(store: Store, formBuilder: FormBuilder);
29
+ onMetaChange(metadata: IMetadata): void;
30
+ editMetadata(currentMetadata: MetadataValue | MetadataUser): void;
31
+ metaDefinition(metadata: MetadataUser | MetadataValue): IMetadata;
32
+ removeMetadata(metadata: MetadataUser | MetadataValue): void;
33
+ addDatasetMetadata(): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<PryMetadataEditorComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<PryMetadataEditorComponent, "pry-metadata-editor", never, { "targetId": { "alias": "targetId"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "metadata": { "alias": "metadata"; "required": false; }; }, { "addMeta": "addMeta"; "removeMeta": "removeMeta"; }, never, never, false, never>;
36
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./metadata-editor.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@ngrx/store";
5
+ import * as i4 from "@ngrx/effects";
6
+ import * as i5 from "@provoly/dashboard";
7
+ import * as i6 from "@angular/forms";
8
+ export declare class PryExpandPanelModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<PryExpandPanelModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PryExpandPanelModule, [typeof i1.PryMetadataEditorComponent], [typeof i2.CommonModule, typeof i3.StoreFeatureModule, typeof i4.EffectsFeatureModule, typeof i5.PryCoreModule, typeof i5.PryI18nModule, typeof i6.ReactiveFormsModule, typeof i5.PrySelectModule, typeof i5.PryIconModule], [typeof i1.PryMetadataEditorComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<PryExpandPanelModule>;
12
+ }
@@ -0,0 +1,7 @@
1
+ export * from './metadata-editor.module';
2
+ export * from './metadata-editor.component';
3
+ export * from './store/metadata.action';
4
+ export * from './store/metadata.reducer';
5
+ export * from './store/metadata.effects';
6
+ export * from './store/metadata.selector';
7
+ export * from './store/metadata.service';
@@ -0,0 +1,112 @@
1
+ import { IMetadata, MetadataValue } from '@provoly/dashboard';
2
+ export declare const MetadataActions: {
3
+ loadMetadata: import("@ngrx/store").ActionCreator<"[Metadata] Load Metadata", () => import("@ngrx/store/src/models").TypedAction<"[Metadata] Load Metadata">>;
4
+ loadMetadataSuccess: import("@ngrx/store").ActionCreator<"[Metadata] Load Metadata Success", (props: {
5
+ metadata: Array<IMetadata>;
6
+ }) => {
7
+ metadata: Array<IMetadata>;
8
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Load Metadata Success">>;
9
+ loadMetadataFailure: import("@ngrx/store").ActionCreator<"[Metadata] Load Metadata Failure", (props: {
10
+ error: any;
11
+ }) => {
12
+ error: any;
13
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Load Metadata Failure">>;
14
+ unselectMetadata: import("@ngrx/store").ActionCreator<"[Metadata] unSelect Metadata", () => import("@ngrx/store/src/models").TypedAction<"[Metadata] unSelect Metadata">>;
15
+ goToNewMetadata: import("@ngrx/store").ActionCreator<"[Metadata] go to new metadata", (props: {
16
+ route: string;
17
+ }) => {
18
+ route: string;
19
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] go to new metadata">>;
20
+ goToNewMetadataSuccess: import("@ngrx/store").ActionCreator<"[Metadata] go to new metadata success", () => import("@ngrx/store/src/models").TypedAction<"[Metadata] go to new metadata success">>;
21
+ goToNewMetadataFailure: import("@ngrx/store").ActionCreator<"[Metadata] go to new metadata failure", (props: {
22
+ error: any;
23
+ }) => {
24
+ error: any;
25
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] go to new metadata failure">>;
26
+ createMetadata: import("@ngrx/store").ActionCreator<"[Metadata] create metadata", (props: {
27
+ metadata: IMetadata;
28
+ }) => {
29
+ metadata: IMetadata;
30
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] create metadata">>;
31
+ createMetadataSuccess: import("@ngrx/store").ActionCreator<"[Metadata] create metadata Success", (props: {
32
+ metadata: IMetadata;
33
+ }) => {
34
+ metadata: IMetadata;
35
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] create metadata Success">>;
36
+ createMetadataFailure: import("@ngrx/store").ActionCreator<"[Metadata] create metadata Failure", (props: {
37
+ error: any;
38
+ }) => {
39
+ error: any;
40
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] create metadata Failure">>;
41
+ goToDetailsView: import("@ngrx/store").ActionCreator<"[Metadata] go to details view", (props: {
42
+ id: string;
43
+ }) => {
44
+ id: string;
45
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] go to details view">>;
46
+ goToDetailsViewSuccess: import("@ngrx/store").ActionCreator<"[Metadata] go to details view success", (props: {
47
+ metadata: IMetadata;
48
+ }) => {
49
+ metadata: IMetadata;
50
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] go to details view success">>;
51
+ goToDetailsViewFailure: import("@ngrx/store").ActionCreator<"[Metadata] go to details view failure", (props: {
52
+ error: any;
53
+ }) => {
54
+ error: any;
55
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] go to details view failure">>;
56
+ addDatasetMetadata: import("@ngrx/store").ActionCreator<"[Metadata] Add Metadata of selected Datasets", (props: {
57
+ datasetId: string;
58
+ metadataId: string;
59
+ value: any;
60
+ }) => {
61
+ datasetId: string;
62
+ metadataId: string;
63
+ value: any;
64
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Add Metadata of selected Datasets">>;
65
+ addDatasetMetadataSuccess: import("@ngrx/store").ActionCreator<"[Metadata] Add Metadata of selected Datasets Success", (props: {
66
+ datasetId: string;
67
+ }) => {
68
+ datasetId: string;
69
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Add Metadata of selected Datasets Success">>;
70
+ addDatasetMetadataFailure: import("@ngrx/store").ActionCreator<"[Metadata] Add Metadata of selected Datasets Failure", (props: {
71
+ error: any;
72
+ }) => {
73
+ error: any;
74
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Add Metadata of selected Datasets Failure">>;
75
+ deleteDatasetMetadata: import("@ngrx/store").ActionCreator<"[Metadata] Delete Metadata of selected Datasets", (props: {
76
+ datasetId: string;
77
+ metadataId: string;
78
+ }) => {
79
+ datasetId: string;
80
+ metadataId: string;
81
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Delete Metadata of selected Datasets">>;
82
+ deleteDatasetMetadataSuccess: import("@ngrx/store").ActionCreator<"[Metadata] Delete Metadata of selected Datasets Success", (props: {
83
+ datasetId: string;
84
+ }) => {
85
+ datasetId: string;
86
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Delete Metadata of selected Datasets Success">>;
87
+ deleteDatasetMetadataFailure: import("@ngrx/store").ActionCreator<"[Metadata] Delete Metadata of selected Datasets Failure", (props: {
88
+ error: any;
89
+ }) => {
90
+ error: any;
91
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Delete Metadata of selected Datasets Failure">>;
92
+ isEditable: import("@ngrx/store").ActionCreator<"[Metadata] Is editable", (props: {
93
+ editable: boolean;
94
+ }) => {
95
+ editable: boolean;
96
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Is editable">>;
97
+ loadDatasetMetadata: import("@ngrx/store").ActionCreator<"[Metadata] Load Metadata of selected Datasets", (props: {
98
+ datasetId: string;
99
+ }) => {
100
+ datasetId: string;
101
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Load Metadata of selected Datasets">>;
102
+ loadDatasetMetadataSuccess: import("@ngrx/store").ActionCreator<"[Metadata] Load Metadata of selected Datasets Success", (props: {
103
+ metadata: MetadataValue[];
104
+ }) => {
105
+ metadata: MetadataValue[];
106
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Load Metadata of selected Datasets Success">>;
107
+ loadDatasetMetadataFailure: import("@ngrx/store").ActionCreator<"[Metadata] Load Metadata of selected Datasets Failure", (props: {
108
+ error: any;
109
+ }) => {
110
+ error: any;
111
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Load Metadata of selected Datasets Failure">>;
112
+ };
@@ -0,0 +1,48 @@
1
+ import { Actions } from '@ngrx/effects';
2
+ import { DataSourceService } from '@provoly/dashboard';
3
+ import { MetadataService } from './metadata.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MetadataEffects {
6
+ private actions$;
7
+ private service;
8
+ private dataSourceService;
9
+ loadMetadata$: import("rxjs").Observable<({
10
+ metadata: import("@provoly/dashboard").IMetadata[];
11
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Load Metadata Success">) | ({
12
+ error: any;
13
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Load Metadata Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
14
+ goToDetailsView$: import("rxjs").Observable<({
15
+ metadata: import("@provoly/dashboard").IMetadata;
16
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] go to details view success">) | ({
17
+ error: any;
18
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] go to details view failure">)> & import("@ngrx/effects").CreateEffectMetadata;
19
+ createMetadata$: import("rxjs").Observable<({
20
+ metadata: import("@provoly/dashboard").IMetadata;
21
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] create metadata Success">) | ({
22
+ error: any;
23
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] create metadata Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
24
+ createMetadataSuccess$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Metadata] Load Metadata">> & import("@ngrx/effects").CreateEffectMetadata;
25
+ addDatasetMetadata$: import("rxjs").Observable<({
26
+ datasetId: string;
27
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Add Metadata of selected Datasets Success">) | ({
28
+ error: any;
29
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Add Metadata of selected Datasets Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
30
+ addDatasetMetadataSuccess$: import("rxjs").Observable<({
31
+ editable: boolean;
32
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Is editable">) | ({
33
+ id: string;
34
+ } & import("@ngrx/store/src/models").TypedAction<"[Dataset] Get Dataset by ID">) | import("@ngrx/store/src/models").TypedAction<"[Dataset] load datasets">> & import("@ngrx/effects").CreateEffectMetadata;
35
+ deleteDatasetMetadata$: import("rxjs").Observable<({
36
+ datasetId: string;
37
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Delete Metadata of selected Datasets Success">) | ({
38
+ error: any;
39
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Delete Metadata of selected Datasets Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
40
+ deleteDatasetMetadataSuccess$: import("rxjs").Observable<({
41
+ editable: boolean;
42
+ } & import("@ngrx/store/src/models").TypedAction<"[Metadata] Is editable">) | ({
43
+ id: string;
44
+ } & import("@ngrx/store/src/models").TypedAction<"[Dataset] Get Dataset by ID">) | import("@ngrx/store/src/models").TypedAction<"[Dataset] load datasets">> & import("@ngrx/effects").CreateEffectMetadata;
45
+ constructor(actions$: Actions, service: MetadataService, dataSourceService: DataSourceService);
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<MetadataEffects, never>;
47
+ static ɵprov: i0.ɵɵInjectableDeclaration<MetadataEffects>;
48
+ }
@@ -1,10 +1,11 @@
1
1
  import { IMetadata } from '@provoly/dashboard';
2
- export declare const metadataFeatureKey = "@pry/admin/metadata";
2
+ export declare const metadataFeatureKey = "@pry/metadata";
3
3
  export interface MetadataState {
4
4
  metadata: IMetadata[];
5
5
  selectedMetadata: string | null;
6
6
  loading: boolean;
7
7
  errors: any;
8
+ editable: boolean;
8
9
  }
9
10
  export declare const initialMetadataState: MetadataState;
10
11
  /**
@@ -7,4 +7,5 @@ export declare const MetadataSelectors: {
7
7
  selectedMetadata: import("@ngrx/store").MemoizedSelector<object, IMetadata, (s1: fromMetadata.MetadataState) => IMetadata>;
8
8
  selectedMetadataId: import("@ngrx/store").MemoizedSelector<object, string, (s1: IMetadata) => string>;
9
9
  selectMetadataById: (id: string) => import("@ngrx/store").MemoizedSelector<object, IMetadata | undefined, (s1: IMetadata[]) => IMetadata | undefined>;
10
+ editable: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: fromMetadata.MetadataState) => boolean>;
10
11
  };
@@ -0,0 +1,15 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Store } from '@ngrx/store';
3
+ import { IMetadata } from '@provoly/dashboard';
4
+ import { Observable } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class MetadataService {
7
+ private httpClient;
8
+ private store;
9
+ constructor(httpClient: HttpClient, store: Store<any>);
10
+ getMetadataList(): Observable<any>;
11
+ getMetadata(id: string): Observable<IMetadata>;
12
+ postMetadata(metadata: IMetadata): Observable<void>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<MetadataService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<MetadataService>;
15
+ }
@@ -48,6 +48,7 @@ export declare const enTranslations: {
48
48
  ELASTIC_SEARCH: string;
49
49
  NO_VALUES: string;
50
50
  FORMAT_FILE_ERROR: string;
51
+ NO_ATTRIBUTES: string;
51
52
  };
52
53
  };
53
54
  tooltip: {
@@ -50,6 +50,7 @@ export declare const frTranslations: {
50
50
  ELASTIC_SEARCH: string;
51
51
  NO_VALUES: string;
52
52
  FORMAT_FILE_ERROR: string;
53
+ NO_ATTRIBUTES: string;
53
54
  };
54
55
  };
55
56
  tooltip: {
@@ -14,6 +14,7 @@
14
14
  display: flex;
15
15
  gap: toRem(15);
16
16
  padding: toRem(10);
17
+ max-width: toRem(330);
17
18
  }
18
19
 
19
20
  &__footer {
@@ -26,4 +27,10 @@
26
27
  width: 100%;
27
28
  }
28
29
  }
30
+
31
+ .dataset-name {
32
+ overflow: hidden;
33
+ text-overflow: ellipsis;
34
+ white-space: nowrap;
35
+ }
29
36
  }