@provoly/dashboard 1.2.8 → 1.2.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.
- package/admin/admin.module.d.ts +14 -14
- package/admin/components/admin-classes/admin-classes-view/admin-attributes-form/admin-attributes-form.component.d.ts +5 -16
- package/admin/components/admin-dataset/{shared/admin-form-dataset → admin-form-dataset}/admin-form-dataset.component.d.ts +8 -7
- package/admin/components/admin-dataset/store/admin-dataset.actions.d.ts +23 -18
- package/admin/components/admin-dataset/store/admin-dataset.effects.d.ts +9 -6
- package/admin/components/admin-dataset/store/admin-dataset.service.d.ts +2 -1
- package/admin/components/shared/add-category-modal/add-category-modal.component.d.ts +39 -0
- package/admin/i18n/en.translations.d.ts +23 -8
- package/admin/i18n/fr.translations.d.ts +23 -8
- package/dataset/components/dataset.component.d.ts +3 -7
- package/dataset/dataset.module.d.ts +7 -9
- package/dataset/i18n/en.translations.d.ts +8 -0
- package/dataset/i18n/fr.translations.d.ts +8 -0
- package/dataset/public-api.d.ts +0 -1
- package/dataset/style/_o-pry-dataset.scss +5 -42
- package/esm2022/admin/admin.module.mjs +7 -8
- package/esm2022/admin/components/admin-classes/admin-classes-view/admin-attributes-form/admin-attributes-form.component.mjs +22 -53
- package/esm2022/admin/components/admin-dataset/admin-edit-dataset/admin-edit-dataset.component.mjs +1 -1
- package/esm2022/admin/components/admin-dataset/admin-form-dataset/admin-form-dataset.component.mjs +115 -0
- package/esm2022/admin/components/admin-dataset/admin-new-dataset/admin-new-dataset.component.mjs +1 -1
- package/esm2022/admin/components/admin-dataset/admin-select-dataset/admin-select-dataset.component.mjs +3 -3
- package/esm2022/admin/components/admin-dataset/store/admin-dataset.actions.mjs +11 -10
- package/esm2022/admin/components/admin-dataset/store/admin-dataset.effects.mjs +2 -1
- package/esm2022/admin/components/admin-dataset/store/admin-dataset.service.mjs +10 -4
- package/esm2022/admin/components/shared/add-category-modal/add-category-modal.component.mjs +73 -0
- package/esm2022/admin/i18n/en.translations.mjs +25 -10
- package/esm2022/admin/i18n/fr.translations.mjs +26 -11
- package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +4 -5
- package/esm2022/dataset/components/dataset.component.mjs +8 -23
- package/esm2022/dataset/dataset.module.mjs +12 -13
- package/esm2022/dataset/i18n/en.translations.mjs +9 -1
- package/esm2022/dataset/i18n/fr.translations.mjs +10 -2
- package/esm2022/dataset/public-api.mjs +1 -2
- package/esm2022/dataset/style/css.component.mjs +3 -3
- package/esm2022/lib/core/components/chips-selector/chips-selector.component.mjs +7 -27
- package/esm2022/lib/core/components/chips-selector/chips-selector.module.mjs +21 -0
- package/esm2022/lib/core/components/select-image/select-image.component.mjs +1 -1
- package/esm2022/lib/core/components/share/group-share/group-share.component.mjs +3 -3
- package/esm2022/lib/core/components/share/share.module.mjs +8 -12
- package/esm2022/lib/core/core.module.mjs +4 -8
- package/esm2022/lib/core/i18n/en.translations.mjs +8 -8
- package/esm2022/lib/core/i18n/fr.translations.mjs +9 -9
- package/esm2022/lib/core/pipes/get-secured-image/get-secured-image.pipe.mjs +21 -0
- package/esm2022/lib/core/pipes/since-date/since-date.module.mjs +18 -0
- package/esm2022/lib/core/pipes/since-date/since-date.pipe.mjs +55 -0
- package/esm2022/lib/core/pipes/translate-id/translate-id.pipe.mjs +108 -0
- package/esm2022/lib/core/pipes/translate-item-to-symbol/translate-item-to-symbol.pipe.mjs +23 -0
- package/esm2022/lib/core/public-api.mjs +7 -4
- package/esm2022/lib/core/store/data-source/data-source.actions.mjs +4 -2
- package/esm2022/lib/core/store/data-source/data-source.effects.mjs +4 -1
- package/esm2022/lib/core/store/data-source/data-source.model.mjs +1 -1
- package/esm2022/lib/core/store/data-source/data-source.reducer.mjs +6 -2
- package/esm2022/lib/core/store/data-source/data-source.selectors.mjs +4 -2
- package/esm2022/lib/core/store/data-source/data-source.service.mjs +6 -1
- package/esm2022/lib/core/store/data-source/datasource-utils.mjs +22 -1
- package/esm2022/lib/dashboard/components/widgets/data-widget.component.mjs +2 -2
- package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-card/datasource-card.component.mjs +60 -0
- package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-list/datasource-list.component.mjs +95 -0
- package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.mjs +53 -48
- package/esm2022/lib/dashboard/components/widgets/header/widget-header.component.mjs +6 -7
- package/esm2022/lib/dashboard/components/widgets/public-api.mjs +3 -1
- package/esm2022/lib/dashboard/dashboard.module.mjs +19 -7
- package/esm2022/lib/dashboard/tooltip/components/default/default.tooltip.component.mjs +2 -2
- package/esm2022/pipeline/components/pipeline-details/pipeline-details.component.mjs +2 -3
- package/esm2022/pipeline/components/pipeline-list/pipeline-list.component.mjs +2 -3
- package/esm2022/pipeline/pipeline.module.mjs +8 -9
- package/esm2022/presentation/components/presentation.component.mjs +2 -3
- package/esm2022/presentation/presentation.module.mjs +8 -9
- package/esm2022/restitution/components/restitution/restitution.component.mjs +4 -4
- package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +2 -3
- package/esm2022/restitution/restitution.module.mjs +2 -3
- package/esm2022/restitution/style/css.component.mjs +2 -2
- package/fesm2022/provoly-dashboard-admin.mjs +194 -109
- package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-dataset.mjs +51 -79
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-pipeline.mjs +17 -19
- package/fesm2022/provoly-dashboard-pipeline.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +8 -10
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-restitution.mjs +7 -9
- package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +3475 -3233
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/components/chips-selector/chips-selector.component.d.ts +1 -6
- package/lib/core/components/chips-selector/chips-selector.module.d.ts +11 -0
- package/lib/core/components/share/share.module.d.ts +3 -4
- package/lib/core/core.module.d.ts +26 -27
- package/lib/core/i18n/en.translations.d.ts +7 -7
- package/lib/core/i18n/fr.translations.d.ts +7 -7
- package/{components/sinceDate/sinceDate.module.d.ts → lib/core/pipes/since-date/since-date.module.d.ts} +3 -2
- package/{components/sinceDate/sinceDate.pipe.d.ts → lib/core/pipes/since-date/since-date.pipe.d.ts} +4 -4
- package/lib/core/{components → pipes}/translate-id/translate-id.pipe.d.ts +0 -2
- package/lib/core/public-api.d.ts +6 -3
- package/lib/core/store/data-source/data-source.actions.d.ts +7 -0
- package/lib/core/store/data-source/data-source.effects.d.ts +3 -0
- package/lib/core/store/data-source/data-source.model.d.ts +3 -0
- package/lib/core/store/data-source/data-source.reducer.d.ts +2 -0
- package/lib/core/store/data-source/data-source.selectors.d.ts +1 -0
- package/lib/core/store/data-source/data-source.service.d.ts +2 -0
- package/lib/core/store/data-source/datasource-utils.d.ts +4 -1
- package/lib/dashboard/components/widgets/datasource-selector/datasource-card/datasource-card.component.d.ts +24 -0
- package/lib/dashboard/components/widgets/datasource-selector/datasource-list/datasource-list.component.d.ts +35 -0
- package/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.d.ts +19 -11
- package/lib/dashboard/components/widgets/header/widget-header.component.d.ts +1 -1
- package/lib/dashboard/components/widgets/public-api.d.ts +2 -0
- package/lib/dashboard/dashboard.module.d.ts +18 -15
- package/package.json +13 -19
- package/pipeline/pipeline.module.d.ts +3 -4
- package/presentation/presentation.module.d.ts +7 -8
- package/restitution/components/restitution/restitution.component.d.ts +1 -1
- package/restitution/restitution.module.d.ts +1 -2
- package/restitution/style/_o-restitution.scss +4 -0
- package/styles/base/_typography.scss +4 -0
- package/styles/base/_utils.scss +27 -1
- package/styles/components/_a-btn.scss +4 -0
- package/styles/components/_a-chip.scss +45 -0
- package/styles/components/_o-datasource-selector.scss +192 -0
- package/styles/components/_o-modal.scss +0 -42
- package/styles/components/_o-widget.scss +1 -1
- package/styles/layout/_o-base-layout.scss +1 -7
- package/styles/main.scss +1 -0
- package/styles-theme/main-theme.scss +0 -3
- package/components/sinceDate/index.d.ts +0 -5
- package/components/sinceDate/public-api.d.ts +0 -2
- package/dataset/components/dataset-card/dataset-card.component.d.ts +0 -18
- package/dataset/style/_o-pry-dataset-card.scss +0 -85
- package/esm2022/admin/components/admin-dataset/shared/admin-form-dataset/admin-form-dataset.component.mjs +0 -99
- package/esm2022/components/sinceDate/provoly-dashboard-components-sinceDate.mjs +0 -5
- package/esm2022/components/sinceDate/public-api.mjs +0 -3
- package/esm2022/components/sinceDate/sinceDate.module.mjs +0 -16
- package/esm2022/components/sinceDate/sinceDate.pipe.mjs +0 -55
- package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +0 -41
- package/esm2022/lib/core/components/get-secured-image/get-secured-image.pipe.mjs +0 -21
- package/esm2022/lib/core/components/translate-id/translate-id.pipe.mjs +0 -114
- package/esm2022/lib/core/components/translate-item-to-symbol/translate-item-to-symbol.pipe.mjs +0 -23
- package/fesm2022/provoly-dashboard-components-sinceDate.mjs +0 -75
- package/fesm2022/provoly-dashboard-components-sinceDate.mjs.map +0 -1
- package/styles-theme/components-theme/_a-chip.theme.scss +0 -32
- package/styles-theme/components-theme/_o-pry-dataset-card.theme.scss +0 -26
- package/styles-theme/components-theme/_o-pry-dataset.theme.scss +0 -4
- /package/lib/core/{components → pipes}/get-secured-image/get-secured-image.pipe.d.ts +0 -0
- /package/lib/core/{components → pipes}/translate-item-to-symbol/translate-item-to-symbol.pipe.d.ts +0 -0
package/admin/admin.module.d.ts
CHANGED
|
@@ -64,28 +64,28 @@ import * as i61 from "./components/admin-dataset/admin-dataset.component";
|
|
|
64
64
|
import * as i62 from "./components/admin-dataset/admin-edit-dataset/admin-edit-dataset.component";
|
|
65
65
|
import * as i63 from "./components/admin-dataset/admin-new-dataset/admin-new-dataset.component";
|
|
66
66
|
import * as i64 from "./components/admin-dataset/admin-select-dataset/admin-select-dataset.component";
|
|
67
|
-
import * as i65 from "./components/admin-dataset/
|
|
67
|
+
import * as i65 from "./components/admin-dataset/admin-form-dataset/admin-form-dataset.component";
|
|
68
68
|
import * as i66 from "./components/admin-classes/admin-classes-customize/admin-classes-customize.component";
|
|
69
69
|
import * as i67 from "./components/admin-classes/admin-classes-customize/tooltip/admin-classes-customize-tooltip.component";
|
|
70
70
|
import * as i68 from "./components/admin-classes/admin-classes-customize/symbol/admin-classes-customize-symbol.component";
|
|
71
71
|
import * as i69 from "./components/association/association.component";
|
|
72
|
-
import * as i70 from "
|
|
73
|
-
import * as i71 from "@
|
|
74
|
-
import * as i72 from "
|
|
75
|
-
import * as i73 from "
|
|
76
|
-
import * as i74 from "@ngrx/
|
|
77
|
-
import * as i75 from "@
|
|
78
|
-
import * as i76 from "@
|
|
79
|
-
import * as i77 from "
|
|
80
|
-
import * as i78 from "
|
|
81
|
-
import * as i79 from "@angular/cdk/
|
|
82
|
-
import * as i80 from "@
|
|
83
|
-
import * as i81 from "@provoly/dashboard/components/
|
|
72
|
+
import * as i70 from "./components/shared/add-category-modal/add-category-modal.component";
|
|
73
|
+
import * as i71 from "@angular/common";
|
|
74
|
+
import * as i72 from "@provoly/dashboard";
|
|
75
|
+
import * as i73 from "./admin-routing.module";
|
|
76
|
+
import * as i74 from "@ngrx/store";
|
|
77
|
+
import * as i75 from "@ngrx/effects";
|
|
78
|
+
import * as i76 from "@angular/forms";
|
|
79
|
+
import * as i77 from "@provoly/dashboard/components/checkbox";
|
|
80
|
+
import * as i78 from "./components/admin-metadata/shared/list-metadata/list-metadata.module";
|
|
81
|
+
import * as i79 from "@angular/cdk/overlay";
|
|
82
|
+
import * as i80 from "@angular/cdk/drag-drop";
|
|
83
|
+
import * as i81 from "@provoly/dashboard/components/metadata-editor";
|
|
84
84
|
import * as i82 from "@provoly/dashboard/dataset";
|
|
85
85
|
export declare class PryAdminModule {
|
|
86
86
|
private pryTranslateService;
|
|
87
87
|
constructor(pryTranslateService: PryI18nService);
|
|
88
88
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryAdminModule, never>;
|
|
89
|
-
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
|
|
89
|
+
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.AddCategoryModalComponent], [typeof i71.CommonModule, typeof i72.PryCoreModule, typeof i73.AdminRoutingModule, typeof i74.StoreFeatureModule, typeof i74.StoreFeatureModule, typeof i74.StoreFeatureModule, typeof i74.StoreFeatureModule, typeof i74.StoreFeatureModule, typeof i74.StoreFeatureModule, typeof i74.StoreFeatureModule, typeof i74.StoreFeatureModule, typeof i74.StoreFeatureModule, typeof i74.StoreFeatureModule, typeof i74.StoreFeatureModule, typeof i75.EffectsFeatureModule, typeof i75.EffectsFeatureModule, typeof i75.EffectsFeatureModule, typeof i75.EffectsFeatureModule, typeof i75.EffectsFeatureModule, typeof i75.EffectsFeatureModule, typeof i75.EffectsFeatureModule, typeof i75.EffectsFeatureModule, typeof i75.EffectsFeatureModule, typeof i75.EffectsFeatureModule, typeof i75.EffectsFeatureModule, typeof i72.PryIconModule, typeof i76.FormsModule, typeof i76.ReactiveFormsModule, typeof i72.PrySortModule, typeof i77.PryCheckboxModule, typeof i72.PryModalModule, typeof i72.PrySelectModule, typeof i78.PryListMetadataModule, typeof i72.PryToggleModule, typeof i79.OverlayModule, typeof i72.PryOverlayModule, typeof i80.DragDropModule, typeof i72.PryI18nModule, typeof i81.PryExpandPanelModule, typeof i82.PryDatasetModule, typeof i72.PryShareModule], never>;
|
|
90
90
|
static ɵinj: i0.ɵɵInjectorDeclaration<PryAdminModule>;
|
|
91
91
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
4
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
5
4
|
import { Store } from '@ngrx/store';
|
|
6
|
-
import { Attribute, Category, Class, Field, PryI18nService, SubscriptionnerDirective } from '@provoly/dashboard';
|
|
5
|
+
import { Attribute, Category, Class, Field, PryDialogService, PryI18nService, SubscriptionnerDirective } from '@provoly/dashboard';
|
|
7
6
|
import { Observable } from 'rxjs';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
export declare class AdminAttributesFormComponent extends SubscriptionnerDirective implements OnInit, OnDestroy {
|
|
@@ -11,9 +10,8 @@ export declare class AdminAttributesFormComponent extends SubscriptionnerDirecti
|
|
|
11
10
|
private router;
|
|
12
11
|
private route;
|
|
13
12
|
private formBuilder;
|
|
14
|
-
private overlay;
|
|
15
|
-
private viewContainerRef;
|
|
16
13
|
private i18nService;
|
|
14
|
+
private dialog;
|
|
17
15
|
attrForm: UntypedFormGroup;
|
|
18
16
|
attributeNames?: string[];
|
|
19
17
|
attributeTechnicalNames?: string[];
|
|
@@ -25,23 +23,14 @@ export declare class AdminAttributesFormComponent extends SubscriptionnerDirecti
|
|
|
25
23
|
selectedFieldTypeDescription$?: Observable<string | undefined>;
|
|
26
24
|
fieldTypeDescription: import("@provoly/dashboard").FieldOption[];
|
|
27
25
|
categories$: Observable<Category[]>;
|
|
28
|
-
isShowedCategory: boolean;
|
|
29
|
-
catToAdd: Category;
|
|
30
26
|
selectedClass?: Class;
|
|
31
27
|
interClass?: Class;
|
|
32
28
|
selectedAttribute?: Attribute;
|
|
33
|
-
|
|
34
|
-
template: TemplateRef<any>;
|
|
35
|
-
private filterCategories$;
|
|
36
|
-
constructor(store: Store<any>, router: Router, route: ActivatedRoute, formBuilder: UntypedFormBuilder, overlay: Overlay, viewContainerRef: ViewContainerRef, i18nService: PryI18nService);
|
|
29
|
+
constructor(store: Store<any>, router: Router, route: ActivatedRoute, formBuilder: UntypedFormBuilder, i18nService: PryI18nService, dialog: PryDialogService);
|
|
37
30
|
ngOnInit(): void;
|
|
38
31
|
goBack(): void;
|
|
39
32
|
addAttribute(): void;
|
|
40
|
-
|
|
41
|
-
closeCategory(): void;
|
|
42
|
-
search(event: any): void;
|
|
43
|
-
addCategory(): void;
|
|
44
|
-
setCategory(cat: Category): void;
|
|
33
|
+
openModal(): void;
|
|
45
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdminAttributesFormComponent, never>;
|
|
46
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdminAttributesFormComponent, "pry-admin-attributes-form", never, { "selectedClass": { "alias": "selectedClass"; "required": false; }; "interClass": { "alias": "interClass"; "required": false; }; "selectedAttribute": { "alias": "selectedAttribute"; "required": false; }; }, {}, never, never, false, never>;
|
|
47
36
|
}
|
|
@@ -2,14 +2,15 @@ import { OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { Store } from '@ngrx/store';
|
|
5
|
-
import { Class, Dataset, DataSourceState } from '@provoly/dashboard';
|
|
6
|
-
import { Observable
|
|
5
|
+
import { Category, Class, Dataset, DataSourceState, PryDialogService, SubscriptionnerDirective } from '@provoly/dashboard';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class AdminFormDatasetComponent implements OnInit, OnDestroy {
|
|
8
|
+
export declare class AdminFormDatasetComponent extends SubscriptionnerDirective implements OnInit, OnDestroy {
|
|
9
9
|
private store;
|
|
10
10
|
private router;
|
|
11
11
|
private route;
|
|
12
12
|
private formBuilder;
|
|
13
|
+
private dialog;
|
|
13
14
|
dataset$?: Observable<Dataset | null>;
|
|
14
15
|
datasetList$: Observable<Dataset[]>;
|
|
15
16
|
datasetList: Dataset[];
|
|
@@ -17,18 +18,18 @@ export declare class AdminFormDatasetComponent implements OnInit, OnDestroy {
|
|
|
17
18
|
label: string;
|
|
18
19
|
value: string;
|
|
19
20
|
}[];
|
|
20
|
-
classes
|
|
21
|
-
|
|
21
|
+
classes$: Observable<Class[]>;
|
|
22
|
+
categories$: Observable<Category[]>;
|
|
22
23
|
form: UntypedFormGroup;
|
|
23
24
|
isSameName: boolean;
|
|
24
25
|
isSubmitted: boolean;
|
|
25
|
-
constructor(store: Store<DataSourceState>, router: Router, route: ActivatedRoute, formBuilder: UntypedFormBuilder);
|
|
26
|
+
constructor(store: Store<DataSourceState>, router: Router, route: ActivatedRoute, formBuilder: UntypedFormBuilder, dialog: PryDialogService);
|
|
26
27
|
ngOnInit(): void;
|
|
27
|
-
ngOnDestroy(): void;
|
|
28
28
|
goBack(): void;
|
|
29
29
|
getPath(): string;
|
|
30
30
|
changeValueName(value: string): void;
|
|
31
31
|
submit(): void;
|
|
32
|
+
openModal(): void;
|
|
32
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdminFormDatasetComponent, never>;
|
|
33
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdminFormDatasetComponent, "pry-admin-form-dataset", never, { "dataset$": { "alias": "dataset$"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
35
|
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { Dataset, MissingGroupsByEntity } from '@provoly/dashboard';
|
|
1
|
+
import { Category, Dataset, MissingGroupsByEntity } from '@provoly/dashboard';
|
|
2
2
|
export declare const AdminDatasetActions: {
|
|
3
|
-
failure: import("@ngrx/store").ActionCreator<"[Dataset]
|
|
3
|
+
failure: import("@ngrx/store").ActionCreator<"[Dataset] Failure effect Dataset", (props: {
|
|
4
4
|
error: any;
|
|
5
5
|
}) => {
|
|
6
6
|
error: any;
|
|
7
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dataset]
|
|
8
|
-
create: import("@ngrx/store").ActionCreator<"[Dataset]
|
|
7
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Failure effect Dataset">>;
|
|
8
|
+
create: import("@ngrx/store").ActionCreator<"[Dataset] Create Dataset", (props: {
|
|
9
9
|
dataset: Dataset;
|
|
10
10
|
route: string;
|
|
11
11
|
}) => {
|
|
12
12
|
dataset: Dataset;
|
|
13
13
|
route: string;
|
|
14
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dataset]
|
|
15
|
-
update: import("@ngrx/store").ActionCreator<"[Dataset]
|
|
14
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Create Dataset">>;
|
|
15
|
+
update: import("@ngrx/store").ActionCreator<"[Dataset] Update Dataset", (props: {
|
|
16
16
|
dataset: Dataset;
|
|
17
17
|
route?: string | undefined;
|
|
18
18
|
}) => {
|
|
19
19
|
dataset: Dataset;
|
|
20
20
|
route?: string | undefined;
|
|
21
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dataset]
|
|
22
|
-
confirmDatasetDeletion: import("@ngrx/store").ActionCreator<"[Dataset]
|
|
21
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Update Dataset">>;
|
|
22
|
+
confirmDatasetDeletion: import("@ngrx/store").ActionCreator<"[Dataset] Confirm deletion", (props: {
|
|
23
23
|
name: string;
|
|
24
24
|
route: string;
|
|
25
25
|
addRoute: string;
|
|
@@ -27,8 +27,8 @@ export declare const AdminDatasetActions: {
|
|
|
27
27
|
name: string;
|
|
28
28
|
route: string;
|
|
29
29
|
addRoute: string;
|
|
30
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dataset]
|
|
31
|
-
delete: import("@ngrx/store").ActionCreator<"[Dataset]
|
|
30
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Confirm deletion">>;
|
|
31
|
+
delete: import("@ngrx/store").ActionCreator<"[Dataset] Delete Dataset", (props: {
|
|
32
32
|
name: string;
|
|
33
33
|
route: string;
|
|
34
34
|
addRoute: string;
|
|
@@ -36,18 +36,18 @@ export declare const AdminDatasetActions: {
|
|
|
36
36
|
name: string;
|
|
37
37
|
route: string;
|
|
38
38
|
addRoute: string;
|
|
39
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dataset]
|
|
39
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Delete Dataset">>;
|
|
40
40
|
deleted: import("@ngrx/store").ActionCreator<"[Dataset] Dataset is deleted call to admin", (props: {
|
|
41
41
|
addRoute: string;
|
|
42
42
|
}) => {
|
|
43
43
|
addRoute: string;
|
|
44
44
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Dataset is deleted call to admin">>;
|
|
45
|
-
selectDataset: import("@ngrx/store").ActionCreator<"[Dataset]
|
|
45
|
+
selectDataset: import("@ngrx/store").ActionCreator<"[Dataset] Open Dataset details", (props: {
|
|
46
46
|
dataset: Dataset;
|
|
47
47
|
}) => {
|
|
48
48
|
dataset: Dataset;
|
|
49
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dataset]
|
|
50
|
-
unselectDataset: import("@ngrx/store").ActionCreator<"[Dataset]
|
|
49
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Open Dataset details">>;
|
|
50
|
+
unselectDataset: import("@ngrx/store").ActionCreator<"[Dataset] Unselect Dataset", () => import("@ngrx/store/src/models").TypedAction<"[Dataset] Unselect Dataset">>;
|
|
51
51
|
getDatasetById: import("@ngrx/store").ActionCreator<"[Dataset] Get Dataset by ID", (props: {
|
|
52
52
|
id: string;
|
|
53
53
|
}) => {
|
|
@@ -63,14 +63,19 @@ export declare const AdminDatasetActions: {
|
|
|
63
63
|
}) => {
|
|
64
64
|
error: any;
|
|
65
65
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Get Dataset by Id Failure">>;
|
|
66
|
-
openNewDataset: import("@ngrx/store").ActionCreator<"[Dataset]
|
|
66
|
+
openNewDataset: import("@ngrx/store").ActionCreator<"[Dataset] Open New Dataset", (props: {
|
|
67
67
|
route: string;
|
|
68
68
|
}) => {
|
|
69
69
|
route: string;
|
|
70
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dataset]
|
|
71
|
-
setMissingGroups: import("@ngrx/store").ActionCreator<"[Dataset]
|
|
70
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Open New Dataset">>;
|
|
71
|
+
setMissingGroups: import("@ngrx/store").ActionCreator<"[Dataset] Set Missing Groups", (props: {
|
|
72
72
|
missingGroups?: MissingGroupsByEntity | undefined;
|
|
73
73
|
}) => {
|
|
74
74
|
missingGroups?: MissingGroupsByEntity | undefined;
|
|
75
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dataset]
|
|
75
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Set Missing Groups">>;
|
|
76
|
+
addCategory: import("@ngrx/store").ActionCreator<"[Dataset] Add Category", (props: {
|
|
77
|
+
category: Category;
|
|
78
|
+
}) => {
|
|
79
|
+
category: Category;
|
|
80
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Add Category">>;
|
|
76
81
|
};
|
|
@@ -13,17 +13,17 @@ export declare class AdminDatasetEffects {
|
|
|
13
13
|
params?: {
|
|
14
14
|
[p: string]: string;
|
|
15
15
|
} | undefined;
|
|
16
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Admin] route to">) | import("@ngrx/store/src/models").TypedAction<"[Dataset]
|
|
16
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Admin] route to">) | import("@ngrx/store/src/models").TypedAction<"[Dataset] Unselect Dataset"> | import("@ngrx/store/src/models").TypedAction<"[Dataset] load datasets"> | ({
|
|
17
17
|
error: any;
|
|
18
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dataset]
|
|
18
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Failure effect Dataset">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
19
19
|
confirmDatasetDeletion$: import("rxjs").Observable<{
|
|
20
20
|
name: string;
|
|
21
21
|
route: string;
|
|
22
22
|
addRoute: string;
|
|
23
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dataset]
|
|
24
|
-
deleteDataset$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Dataset]
|
|
23
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Confirm deletion">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
24
|
+
deleteDataset$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Dataset] Unselect Dataset"> | import("@ngrx/store/src/models").TypedAction<"[Dataset] load datasets"> | ({
|
|
25
25
|
error: any;
|
|
26
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dataset]
|
|
26
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Failure effect Dataset">) | ({
|
|
27
27
|
addRoute: string;
|
|
28
28
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Dataset is deleted call to admin">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
29
29
|
getDatasetById$: import("rxjs").Observable<({
|
|
@@ -33,7 +33,7 @@ export declare class AdminDatasetEffects {
|
|
|
33
33
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Get Dataset by Id Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
34
34
|
unsetMissingGroupsOnDatasetSelection$: import("rxjs").Observable<({
|
|
35
35
|
missingGroups?: import("@provoly/dashboard").MissingGroupsByEntity | undefined;
|
|
36
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dataset]
|
|
36
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Set Missing Groups">) | ({
|
|
37
37
|
id: string;
|
|
38
38
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Get Dataset Versions by Dataset Id">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
39
39
|
deleted$: import("rxjs").Observable<({
|
|
@@ -66,6 +66,9 @@ export declare class AdminDatasetEffects {
|
|
|
66
66
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Get Dataset by ID">) | import("@ngrx/store/src/models").TypedAction<"[Dataset] load datasets"> | ({
|
|
67
67
|
editable: boolean;
|
|
68
68
|
} & import("@ngrx/store/src/models").TypedAction<"[Metadata] Is editable">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
69
|
+
addCategory$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Dataset] Get Categories"> | ({
|
|
70
|
+
error: any;
|
|
71
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Failure effect Dataset">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
69
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdminDatasetEffects, never>;
|
|
70
73
|
static ɵprov: i0.ɵɵInjectableDeclaration<AdminDatasetEffects>;
|
|
71
74
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
|
-
import { Dataset, MetadataValue, ShareConflict } from '@provoly/dashboard';
|
|
2
|
+
import { Category, Dataset, MetadataValue, ShareConflict } from '@provoly/dashboard';
|
|
3
3
|
import { HttpClient } from '@angular/common/http';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { AdminDatasetState } from './admin-dataset.reducer';
|
|
@@ -15,6 +15,7 @@ export declare class AdminDatasetService {
|
|
|
15
15
|
getDatasetMetadata(id: string): Observable<MetadataValue[]>;
|
|
16
16
|
addDatasetMetadata(datasetId: string, metadataId: string, value: any): Observable<void>;
|
|
17
17
|
deleteDatasetMetadata(datasetId: string, metadataId: string): Observable<void>;
|
|
18
|
+
addCategory(category: Category): Observable<void>;
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdminDatasetService, never>;
|
|
19
20
|
static ɵprov: i0.ɵɵInjectableDeclaration<AdminDatasetService>;
|
|
20
21
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { Category } from '@provoly/dashboard';
|
|
3
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
+
import { Store } from '@ngrx/store';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AddCategoryModalComponent implements OnInit {
|
|
7
|
+
private store;
|
|
8
|
+
categories$: Observable<Category[]>;
|
|
9
|
+
filteredCategories$: Observable<Category[]>;
|
|
10
|
+
catToAdd: {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
};
|
|
14
|
+
search$: BehaviorSubject<string | undefined>;
|
|
15
|
+
entityType: 'attribute' | 'dataset';
|
|
16
|
+
closeModal: EventEmitter<void>;
|
|
17
|
+
category: EventEmitter<Category>;
|
|
18
|
+
actions: {
|
|
19
|
+
attribute: {
|
|
20
|
+
load: () => void;
|
|
21
|
+
select: () => Observable<Category[]>;
|
|
22
|
+
add: (category: Category) => void;
|
|
23
|
+
};
|
|
24
|
+
dataset: {
|
|
25
|
+
load: () => void;
|
|
26
|
+
select: () => Observable<Category[]>;
|
|
27
|
+
add: (category: Category) => void;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
constructor(store: Store<any>);
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
loadCategories(): void;
|
|
33
|
+
selectCategories(): Observable<Category[]>;
|
|
34
|
+
addCategory(): void;
|
|
35
|
+
selectCategory(category: Category): void;
|
|
36
|
+
search($event: Event): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddCategoryModalComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddCategoryModalComponent, "pry-add-category-modal", never, { "entityType": { "alias": "entityType"; "required": true; }; }, { "closeModal": "closeModal"; "category": "category"; }, never, never, false, never>;
|
|
39
|
+
}
|
|
@@ -153,6 +153,7 @@ export declare const enTranslations: {
|
|
|
153
153
|
entities: {
|
|
154
154
|
dashboard: string;
|
|
155
155
|
};
|
|
156
|
+
addTag: string;
|
|
156
157
|
};
|
|
157
158
|
'abac-rules': {
|
|
158
159
|
delete: string;
|
|
@@ -245,17 +246,10 @@ export declare const enTranslations: {
|
|
|
245
246
|
info: string;
|
|
246
247
|
description: string;
|
|
247
248
|
field: string;
|
|
249
|
+
dfield: string;
|
|
248
250
|
category: string;
|
|
249
251
|
multiValued: string;
|
|
250
252
|
};
|
|
251
|
-
category: {
|
|
252
|
-
select: string;
|
|
253
|
-
searchOrCreate: string;
|
|
254
|
-
name: string;
|
|
255
|
-
selectIt: string;
|
|
256
|
-
create: string;
|
|
257
|
-
add: string;
|
|
258
|
-
};
|
|
259
253
|
};
|
|
260
254
|
fields: {
|
|
261
255
|
add: string;
|
|
@@ -360,6 +354,27 @@ export declare const enTranslations: {
|
|
|
360
354
|
ELASTIC: string;
|
|
361
355
|
};
|
|
362
356
|
};
|
|
357
|
+
shared: {
|
|
358
|
+
noCategories: string;
|
|
359
|
+
categoryModal: {
|
|
360
|
+
dataset: {
|
|
361
|
+
select: string;
|
|
362
|
+
searchOrCreate: string;
|
|
363
|
+
name: string;
|
|
364
|
+
selectIt: string;
|
|
365
|
+
create: string;
|
|
366
|
+
add: string;
|
|
367
|
+
};
|
|
368
|
+
attribute: {
|
|
369
|
+
select: string;
|
|
370
|
+
searchOrCreate: string;
|
|
371
|
+
name: string;
|
|
372
|
+
selectIt: string;
|
|
373
|
+
create: string;
|
|
374
|
+
add: string;
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
};
|
|
363
378
|
};
|
|
364
379
|
tooltip: {
|
|
365
380
|
default: string;
|
|
@@ -136,6 +136,7 @@ export declare const frTranslations: {
|
|
|
136
136
|
delete: string;
|
|
137
137
|
title: string;
|
|
138
138
|
details: string;
|
|
139
|
+
datasetDetails: string;
|
|
139
140
|
id: string;
|
|
140
141
|
name: string;
|
|
141
142
|
oClass: string;
|
|
@@ -155,6 +156,7 @@ export declare const frTranslations: {
|
|
|
155
156
|
entities: {
|
|
156
157
|
dashboard: string;
|
|
157
158
|
};
|
|
159
|
+
addTag: string;
|
|
158
160
|
};
|
|
159
161
|
'abac-rules': {
|
|
160
162
|
delete: string;
|
|
@@ -251,14 +253,6 @@ export declare const frTranslations: {
|
|
|
251
253
|
category: string;
|
|
252
254
|
multiValued: string;
|
|
253
255
|
};
|
|
254
|
-
category: {
|
|
255
|
-
select: string;
|
|
256
|
-
searchOrCreate: string;
|
|
257
|
-
name: string;
|
|
258
|
-
selectIt: string;
|
|
259
|
-
create: string;
|
|
260
|
-
add: string;
|
|
261
|
-
};
|
|
262
256
|
};
|
|
263
257
|
fields: {
|
|
264
258
|
add: string;
|
|
@@ -364,6 +358,27 @@ export declare const frTranslations: {
|
|
|
364
358
|
ELASTIC: string;
|
|
365
359
|
};
|
|
366
360
|
};
|
|
361
|
+
shared: {
|
|
362
|
+
categoryModal: {
|
|
363
|
+
noCategories: string;
|
|
364
|
+
dataset: {
|
|
365
|
+
select: string;
|
|
366
|
+
searchOrCreate: string;
|
|
367
|
+
name: string;
|
|
368
|
+
selectIt: string;
|
|
369
|
+
create: string;
|
|
370
|
+
add: string;
|
|
371
|
+
};
|
|
372
|
+
attribute: {
|
|
373
|
+
select: string;
|
|
374
|
+
searchOrCreate: string;
|
|
375
|
+
name: string;
|
|
376
|
+
selectIt: string;
|
|
377
|
+
create: string;
|
|
378
|
+
add: string;
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
};
|
|
367
382
|
};
|
|
368
383
|
tooltip: {
|
|
369
384
|
default: string;
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
|
-
import { Dataset,
|
|
3
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
+
import { Dataset, ViewMode } from '@provoly/dashboard';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class PryDatasetComponent
|
|
4
|
+
export declare class PryDatasetComponent {
|
|
6
5
|
protected store: Store<any>;
|
|
7
|
-
|
|
8
|
-
selectedDataset: Dataset | null;
|
|
6
|
+
selectedDataset?: Dataset;
|
|
9
7
|
selectedMode: ViewMode;
|
|
10
8
|
ViewMode: typeof ViewMode;
|
|
11
|
-
search$: BehaviorSubject<string>;
|
|
12
|
-
filteredDatasets$: Observable<Dataset[]>;
|
|
13
9
|
constructor(store: Store<any>);
|
|
14
10
|
consult(dataset: Dataset): void;
|
|
15
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryDatasetComponent, never>;
|
|
@@ -2,18 +2,16 @@ import { PryI18nService } from '@provoly/dashboard';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "./components/dataset.component";
|
|
4
4
|
import * as i2 from "./style/css.component";
|
|
5
|
-
import * as i3 from "./components/dataset-
|
|
6
|
-
import * as i4 from "./components/dataset-
|
|
7
|
-
import * as i5 from "
|
|
8
|
-
import * as i6 from "@
|
|
9
|
-
import * as i7 from "@
|
|
10
|
-
import * as i8 from "@
|
|
11
|
-
import * as i9 from "@provoly/dashboard/components/sinceDate";
|
|
12
|
-
import * as i10 from "@provoly/dashboard/components/text-editor";
|
|
5
|
+
import * as i3 from "./components/dataset-detail/dataset-detail.component";
|
|
6
|
+
import * as i4 from "./components/dataset-version-form/dataset-version-form.component";
|
|
7
|
+
import * as i5 from "@angular/common";
|
|
8
|
+
import * as i6 from "@provoly/dashboard";
|
|
9
|
+
import * as i7 from "@angular/forms";
|
|
10
|
+
import * as i8 from "@provoly/dashboard/components/text-editor";
|
|
13
11
|
export declare class PryDatasetModule {
|
|
14
12
|
private pryTranslateService;
|
|
15
13
|
constructor(pryTranslateService: PryI18nService);
|
|
16
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryDatasetModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PryDatasetModule, [typeof i1.PryDatasetComponent, typeof i2.PryDatasetCssComponent, typeof i3.
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PryDatasetModule, [typeof i1.PryDatasetComponent, typeof i2.PryDatasetCssComponent, typeof i3.PryDatasetDetailComponent, typeof i4.PryDatasetVersionFormComponent], [typeof i5.CommonModule, typeof i6.PryIconModule, typeof i6.PryCoreModule, typeof i6.PryOverlayModule, typeof i6.PryI18nModule, typeof i7.FormsModule, typeof i6.PryDashboardModule, typeof i6.PryModalStatusModule, typeof i7.ReactiveFormsModule, typeof i8.PryTextEditorModule, typeof i6.PrySelectModule, typeof i6.PrySinceDateModule], [typeof i1.PryDatasetComponent, typeof i2.PryDatasetCssComponent, typeof i3.PryDatasetDetailComponent]>;
|
|
18
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<PryDatasetModule>;
|
|
19
17
|
}
|
|
@@ -4,7 +4,15 @@ export declare const enTranslations: {
|
|
|
4
4
|
consult: string;
|
|
5
5
|
title: string;
|
|
6
6
|
search: string;
|
|
7
|
+
searchPlaceholder: string;
|
|
8
|
+
filter: string;
|
|
9
|
+
filterPlaceholder: string;
|
|
10
|
+
name: string;
|
|
7
11
|
description: string;
|
|
12
|
+
noDescription: string;
|
|
13
|
+
tags: string;
|
|
14
|
+
noTags: string;
|
|
15
|
+
class: string;
|
|
8
16
|
date: string;
|
|
9
17
|
status: string;
|
|
10
18
|
versionHistory: string;
|
|
@@ -4,7 +4,15 @@ export declare const frTranslations: {
|
|
|
4
4
|
consult: string;
|
|
5
5
|
title: string;
|
|
6
6
|
search: string;
|
|
7
|
+
searchPlaceholder: string;
|
|
8
|
+
filter: string;
|
|
9
|
+
filterPlaceholder: string;
|
|
10
|
+
name: string;
|
|
7
11
|
description: string;
|
|
12
|
+
noDescription: string;
|
|
13
|
+
tags: string;
|
|
14
|
+
noTags: string;
|
|
15
|
+
class: string;
|
|
8
16
|
date: string;
|
|
9
17
|
status: string;
|
|
10
18
|
versionHistory: string;
|
package/dataset/public-api.d.ts
CHANGED
|
@@ -1,49 +1,12 @@
|
|
|
1
1
|
@use '../../styles/abstracts/index' as *;
|
|
2
2
|
|
|
3
3
|
/* Organism - pry-dataset */
|
|
4
|
-
.dataset-layout{
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
|
|
9
|
-
&__content {
|
|
10
|
-
width: 100%;
|
|
11
|
-
padding: toRem(10) toRem(20) toRem(50) toRem(20);
|
|
12
|
-
height: 100%;
|
|
13
|
-
overflow: auto;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
.o-pry-dataset {
|
|
17
|
-
@extend %list-unstyled;
|
|
18
|
-
display: grid;
|
|
19
|
-
grid-template-columns: repeat(auto-fill, minmax(toRem(330), 0fr));
|
|
20
|
-
grid-gap: toRem(10);
|
|
21
|
-
column-gap: 1.5rem;
|
|
22
|
-
row-gap: 2rem;
|
|
23
|
-
padding-bottom: toRem(150);
|
|
24
|
-
|
|
25
|
-
&__search {
|
|
26
|
-
position: relative;
|
|
27
|
-
|
|
28
|
-
.a-icon {
|
|
29
|
-
position: absolute;
|
|
30
|
-
right: 0.6875rem;
|
|
31
|
-
bottom: 0.5625rem;
|
|
32
|
-
opacity: 0.5;
|
|
33
|
-
pointer-events: none;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&__item{
|
|
38
|
-
display: flex;
|
|
39
|
-
flex-direction: column;
|
|
40
|
-
align-items: stretch;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
4
|
.o-dataset-layout {
|
|
45
|
-
position: relative;
|
|
46
5
|
overflow: hidden;
|
|
47
6
|
height: 100%;
|
|
48
|
-
|
|
7
|
+
padding: toRem(10) toRem(20) toRem(50) toRem(20);
|
|
49
8
|
|
|
9
|
+
pry-datasource-list {
|
|
10
|
+
height: 100%;
|
|
11
|
+
}
|
|
12
|
+
}
|