@provoly/dashboard 0.11.8 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/admin/components/admin-fields/store/fields.effects.mjs +3 -2
- package/esm2022/dataset/components/dataset.component.mjs +3 -2
- package/esm2022/lib/core/core.module.mjs +5 -10
- package/esm2022/lib/core/public-api.mjs +1 -2
- package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +9 -9
- package/esm2022/presentation/components/presentation.component.mjs +9 -7
- package/esm2022/presentation/components/title-presentation/title-presentation.component.mjs +33 -0
- package/esm2022/presentation/presentation.module.mjs +28 -11
- package/esm2022/presentation/public-api.mjs +2 -1
- package/esm2022/presentation/style/css.component.mjs +2 -2
- package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +3 -3
- package/esm2022/restitution/components/restitution-list/restitution-list.component.mjs +32 -32
- package/esm2022/restitution/components/restitution-list-item/restitution-list-item.component.mjs +50 -0
- package/esm2022/restitution/i18n/fr.translations.mjs +6 -2
- package/esm2022/restitution/public-api.mjs +2 -1
- package/esm2022/restitution/restitution.module.mjs +16 -5
- package/esm2022/restitution/style/css.component.mjs +2 -2
- package/esm2022/search/search-home/search-home.component.mjs +3 -3
- package/esm2022/toolbox/components/save-view/save-view.component.mjs +4 -4
- package/fesm2022/provoly-dashboard-admin.mjs +2 -1
- package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-dataset.mjs +1 -0
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +71 -28
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-restitution.mjs +102 -46
- package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-search.mjs +2 -2
- package/fesm2022/provoly-dashboard-search.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +3 -3
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +134 -157
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/core.module.d.ts +11 -12
- package/lib/core/public-api.d.ts +0 -1
- package/package.json +1 -1
- package/{lib/core → presentation}/components/title-presentation/title-presentation.component.d.ts +3 -2
- package/presentation/presentation.module.d.ts +4 -3
- package/presentation/public-api.d.ts +1 -0
- package/presentation/style/_o-pry-presentation.scss +84 -0
- package/restitution/components/restitution-list/restitution-list.component.d.ts +12 -8
- package/restitution/components/restitution-list-item/restitution-list-item.component.d.ts +21 -0
- package/restitution/i18n/fr.translations.d.ts +4 -0
- package/restitution/public-api.d.ts +1 -0
- package/restitution/restitution.module.d.ts +10 -9
- package/restitution/style/_o-restitution-list.scss +37 -2
- package/styles-theme/components-theme/_o-restitution-list.theme.scss +15 -0
- package/esm2022/lib/core/components/title-presentation/title-presentation.component.mjs +0 -26
|
@@ -12,17 +12,16 @@ import * as i8 from "./components/nq-color-selector/nq-color-selector.component"
|
|
|
12
12
|
import * as i9 from "./access/access.directive";
|
|
13
13
|
import * as i10 from "./components/upload/upload.component";
|
|
14
14
|
import * as i11 from "./components/select-image/select-image.component";
|
|
15
|
-
import * as i12 from "
|
|
16
|
-
import * as i13 from "@angular/
|
|
17
|
-
import * as i14 from "@angular/
|
|
18
|
-
import * as i15 from "@
|
|
19
|
-
import * as i16 from "@ngrx/
|
|
20
|
-
import * as i17 from "
|
|
21
|
-
import * as i18 from "
|
|
22
|
-
import * as i19 from "
|
|
23
|
-
import * as i20 from "./
|
|
24
|
-
import * as i21 from "./
|
|
25
|
-
import * as i22 from "./components/modalStatus/modalStatus.module";
|
|
15
|
+
import * as i12 from "@angular/common";
|
|
16
|
+
import * as i13 from "@angular/router";
|
|
17
|
+
import * as i14 from "@angular/common/http";
|
|
18
|
+
import * as i15 from "@ngrx/store";
|
|
19
|
+
import * as i16 from "@ngrx/effects";
|
|
20
|
+
import * as i17 from "./components/icon/icon.module";
|
|
21
|
+
import * as i18 from "@angular/cdk/overlay";
|
|
22
|
+
import * as i19 from "./components/overlay/overlay.module";
|
|
23
|
+
import * as i20 from "./i18n/i18n.module";
|
|
24
|
+
import * as i21 from "./components/modalStatus/modalStatus.module";
|
|
26
25
|
export declare class PryCoreModule {
|
|
27
26
|
private pryTranslateService;
|
|
28
27
|
constructor(pryTranslateService: PryI18nService);
|
|
@@ -31,6 +30,6 @@ export declare class PryCoreModule {
|
|
|
31
30
|
guardProvider?: Provider;
|
|
32
31
|
}): ModuleWithProviders<PryCoreModule>;
|
|
33
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryCoreModule, never>;
|
|
34
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PryCoreModule, [typeof i1.TranslateIdPipe, typeof i2.TranslateItemToSymbolPipe, typeof i3.GetSecuredImagePipe, typeof i4.BaseLayoutComponent, typeof i5.BaseMenuComponent, typeof i6.BaseToolboxComponent, typeof i7.BaseToolboxActionComponent, typeof i8.PryNqColorSelectorComponent, typeof i9.PryAccessDirective, typeof i10.PryUploadComponent, typeof i11.PrySelectImageComponent
|
|
33
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PryCoreModule, [typeof i1.TranslateIdPipe, typeof i2.TranslateItemToSymbolPipe, typeof i3.GetSecuredImagePipe, typeof i4.BaseLayoutComponent, typeof i5.BaseMenuComponent, typeof i6.BaseToolboxComponent, typeof i7.BaseToolboxActionComponent, typeof i8.PryNqColorSelectorComponent, typeof i9.PryAccessDirective, typeof i10.PryUploadComponent, typeof i11.PrySelectImageComponent], [typeof i12.CommonModule, typeof i13.RouterModule, typeof i14.HttpClientModule, typeof i15.StoreFeatureModule, typeof i15.StoreFeatureModule, typeof i15.StoreFeatureModule, typeof i15.StoreFeatureModule, typeof i15.StoreFeatureModule, typeof i15.StoreFeatureModule, typeof i15.StoreFeatureModule, typeof i15.StoreFeatureModule, typeof i15.StoreFeatureModule, typeof i16.EffectsFeatureModule, typeof i16.EffectsFeatureModule, typeof i16.EffectsFeatureModule, typeof i16.EffectsFeatureModule, typeof i16.EffectsFeatureModule, typeof i16.EffectsFeatureModule, typeof i16.EffectsFeatureModule, typeof i16.EffectsFeatureModule, typeof i16.EffectsFeatureModule, typeof i17.PryIconModule, typeof i18.OverlayModule, typeof i19.PryOverlayModule, typeof i20.PryI18nModule, typeof i21.PryModalStatusModule], [typeof i1.TranslateIdPipe, typeof i2.TranslateItemToSymbolPipe, typeof i3.GetSecuredImagePipe, typeof i4.BaseLayoutComponent, typeof i5.BaseMenuComponent, typeof i6.BaseToolboxComponent, typeof i8.PryNqColorSelectorComponent, typeof i9.PryAccessDirective, typeof i10.PryUploadComponent, typeof i11.PrySelectImageComponent]>;
|
|
35
34
|
static ɵinj: i0.ɵɵInjectorDeclaration<PryCoreModule>;
|
|
36
35
|
}
|
package/lib/core/public-api.d.ts
CHANGED
|
@@ -107,7 +107,6 @@ export * from './i18n/i18n.service';
|
|
|
107
107
|
export * from './i18n/fr.translations';
|
|
108
108
|
export * from './i18n/en.translations';
|
|
109
109
|
export * from './i18n/deep-merge.function';
|
|
110
|
-
export * from './components/title-presentation/title-presentation.component';
|
|
111
110
|
export * from './errors/http-error-interceptor.service';
|
|
112
111
|
export * from './components/modalStatus/modalStatus.component';
|
|
113
112
|
export * from './components/modalStatus/modalStatus.module';
|
package/package.json
CHANGED
package/{lib/core → presentation}/components/title-presentation/title-presentation.component.d.ts
RENAMED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { PryI18nService } from '
|
|
3
|
+
import { ManifestDescription, PryI18nService } from '@provoly/dashboard';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class PryTitlePresentationComponent {
|
|
6
6
|
private store;
|
|
7
7
|
private i18nService;
|
|
8
|
-
|
|
8
|
+
presentation$: Observable<ManifestDescription | null>;
|
|
9
|
+
presentationTitle$: Observable<string | null>;
|
|
9
10
|
constructor(store: Store, i18nService: PryI18nService);
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryTitlePresentationComponent, never>;
|
|
11
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<PryTitlePresentationComponent, "pry-title-presentation", never, {}, {}, never, never, false, never>;
|
|
@@ -2,17 +2,18 @@ import { PryI18nService } from '@provoly/dashboard';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "./components/presentation.component";
|
|
4
4
|
import * as i2 from "./components/add-edit-presentation/add-edit-presentation.component";
|
|
5
|
-
import * as i3 from "./
|
|
6
|
-
import * as i4 from "
|
|
5
|
+
import * as i3 from "./components/title-presentation/title-presentation.component";
|
|
6
|
+
import * as i4 from "./style/css.component";
|
|
7
7
|
import * as i5 from "@provoly/dashboard";
|
|
8
8
|
import * as i6 from "@angular/forms";
|
|
9
9
|
import * as i7 from "@provoly/dashboard/components/sinceDate";
|
|
10
10
|
import * as i8 from "@provoly/dashboard/toolbox";
|
|
11
11
|
import * as i9 from "@provoly/dashboard/components/checkbox";
|
|
12
|
+
import * as i10 from "@angular/common";
|
|
12
13
|
export declare class PryPresentationModule {
|
|
13
14
|
private pryTranslateService;
|
|
14
15
|
constructor(pryTranslateService: PryI18nService);
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryPresentationModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PryPresentationModule, [typeof i1.PryPresentationComponent, typeof i2.PryAddEditPresentationComponent, typeof i3.
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PryPresentationModule, [typeof i1.PryPresentationComponent, typeof i2.PryAddEditPresentationComponent, typeof i3.PryTitlePresentationComponent, typeof i4.PryPresentationCssComponent], [typeof i5.PryIconModule, typeof i5.PryCoreModule, typeof i5.PryDashboardModule, typeof i6.ReactiveFormsModule, typeof i5.PrySelectModule, typeof i7.PrySinceDateModule, typeof i5.PryShareModule, typeof i6.FormsModule, typeof i5.PryOverlayModule, typeof i5.PryI18nModule, typeof i8.PryToolboxModule, typeof i9.PryCheckboxModule, typeof i10.CommonModule], [typeof i1.PryPresentationComponent, typeof i2.PryAddEditPresentationComponent, typeof i3.PryTitlePresentationComponent, typeof i4.PryPresentationCssComponent]>;
|
|
17
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<PryPresentationModule>;
|
|
18
19
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './presentation.module';
|
|
2
2
|
export * from './components/presentation.component';
|
|
3
3
|
export * from './components/add-edit-presentation/add-edit-presentation.component';
|
|
4
|
+
export * from './components/title-presentation/title-presentation.component';
|
|
4
5
|
export * from './style/css.component';
|
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
/* Organism - pry-presentation */
|
|
4
4
|
|
|
5
|
+
.o-manifest-layout__toolbox {
|
|
6
|
+
div:first-child {
|
|
7
|
+
margin-left: auto;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
5
11
|
.o-manifest-layout__content {
|
|
6
12
|
height: 100%;
|
|
7
13
|
|
|
@@ -91,3 +97,81 @@
|
|
|
91
97
|
width: 100%;
|
|
92
98
|
padding: toRem(15);
|
|
93
99
|
}
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
.description-container {
|
|
103
|
+
position: relative;
|
|
104
|
+
width: 100%;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.description {
|
|
108
|
+
white-space: nowrap;
|
|
109
|
+
text-overflow: ellipsis;
|
|
110
|
+
overflow: hidden;
|
|
111
|
+
display: inherit;
|
|
112
|
+
position: relative;
|
|
113
|
+
line-height: 2rem;
|
|
114
|
+
box-sizing: border-box;
|
|
115
|
+
pointer-events:none;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.description:after {
|
|
119
|
+
content:"";
|
|
120
|
+
display: block;
|
|
121
|
+
position: absolute;
|
|
122
|
+
top: 0;
|
|
123
|
+
right: 0;
|
|
124
|
+
width: 40px;
|
|
125
|
+
height: 48px;
|
|
126
|
+
z-index: 1;
|
|
127
|
+
pointer-events:initial;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.description:hover:after{
|
|
131
|
+
cursor: pointer;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.description-tooltip {
|
|
135
|
+
position: absolute;
|
|
136
|
+
max-width: 50vw;
|
|
137
|
+
visibility: hidden;
|
|
138
|
+
background-color: #fff;
|
|
139
|
+
padding: 20px;
|
|
140
|
+
-webkit-box-shadow: 0 0 50px 0 rgba(0,0,0,0.3);
|
|
141
|
+
opacity: 0;
|
|
142
|
+
transition: opacity 0.5s ease;
|
|
143
|
+
z-index: 2;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.description:hover + .description-tooltip {
|
|
147
|
+
visibility: visible;
|
|
148
|
+
transition: opacity 0.2s ease;
|
|
149
|
+
opacity: 1;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.title-tooltip {
|
|
153
|
+
transform: translateY(4rem);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
h1.a-presentation-title {
|
|
157
|
+
font-size: 16px;
|
|
158
|
+
padding-right: 20px;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.title-container {
|
|
162
|
+
display: flex;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.info-icon {
|
|
166
|
+
position: relative;
|
|
167
|
+
width: 1.5rem;
|
|
168
|
+
height: 1.5rem;
|
|
169
|
+
border-radius: 50%;
|
|
170
|
+
background-color: #ccc;
|
|
171
|
+
cursor: pointer;
|
|
172
|
+
display: inline-flex;
|
|
173
|
+
justify-content: center;
|
|
174
|
+
align-items: center;
|
|
175
|
+
align-self: center;
|
|
176
|
+
margin-right: 1rem;
|
|
177
|
+
}
|
|
@@ -7,9 +7,15 @@ export declare class PryRestitutionListComponent extends SubscriptionnerDirectiv
|
|
|
7
7
|
private translateService;
|
|
8
8
|
private toolboxManifestService;
|
|
9
9
|
private store;
|
|
10
|
+
showTabs: boolean;
|
|
11
|
+
get customModels(): string[];
|
|
12
|
+
set customModels(models: string[]);
|
|
13
|
+
private _customModels;
|
|
10
14
|
search$: BehaviorSubject<string>;
|
|
11
15
|
type$: BehaviorSubject<string | undefined>;
|
|
12
16
|
filteredWidgets$: Observable<CatalogEntry[]>;
|
|
17
|
+
nonCustomWidgets$: Observable<CatalogEntry[]>;
|
|
18
|
+
customWidgets$: Observable<CatalogEntry[]>;
|
|
13
19
|
types$: Observable<{
|
|
14
20
|
icon: string;
|
|
15
21
|
label: string;
|
|
@@ -18,16 +24,14 @@ export declare class PryRestitutionListComponent extends SubscriptionnerDirectiv
|
|
|
18
24
|
selectedRestitution: Widget | null;
|
|
19
25
|
mode: typeof ViewMode;
|
|
20
26
|
selectedMode: ViewMode;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
modeAuto: boolean;
|
|
27
|
+
categories: string[];
|
|
28
|
+
categoryOpened: string;
|
|
24
29
|
PryVisibilityType: typeof PryVisibilityType;
|
|
25
30
|
constructor(toolboxMenuService: ToolboxMenuService, translateService: PryI18nService, toolboxManifestService: ToolboxManifestService, store: Store);
|
|
26
|
-
dragStart($event: DragEvent, type: string): void;
|
|
27
31
|
selectMode(newMode: ViewMode): void;
|
|
28
|
-
selectRestitution(
|
|
29
|
-
closeRestitution(
|
|
30
|
-
|
|
32
|
+
selectRestitution($event: Widget): void;
|
|
33
|
+
closeRestitution(): void;
|
|
34
|
+
toggle(category: string): void;
|
|
31
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryRestitutionListComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PryRestitutionListComponent, "pry-catalog", never, {}, {}, never, never, false, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PryRestitutionListComponent, "pry-catalog", never, { "showTabs": { "alias": "showTabs"; "required": false; }; "customModels": { "alias": "customModels"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
37
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { CatalogEntry, PryVisibilityType, SubscriptionnerDirective, ToolboxManifestService, Widget } from '@provoly/dashboard';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { Store } from '@ngrx/store';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PryRestitutionListItemComponent extends SubscriptionnerDirective {
|
|
7
|
+
private store;
|
|
8
|
+
private toolboxManifestService;
|
|
9
|
+
widget: CatalogEntry;
|
|
10
|
+
selectRestitution: EventEmitter<Widget>;
|
|
11
|
+
catalog: Widget[] | undefined;
|
|
12
|
+
automaticGridMode$: Observable<boolean>;
|
|
13
|
+
automaticGridMode: boolean;
|
|
14
|
+
PryVisibilityType: typeof PryVisibilityType;
|
|
15
|
+
constructor(store: Store, toolboxManifestService: ToolboxManifestService);
|
|
16
|
+
dragStart($event: DragEvent, type: string): void;
|
|
17
|
+
emitSelectedRestitution(catalogEntry: CatalogEntry): void;
|
|
18
|
+
viewInDashboard(widget: CatalogEntry): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PryRestitutionListItemComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PryRestitutionListItemComponent, "pry-catalog-item", never, { "widget": { "alias": "widget"; "required": false; }; }, { "selectRestitution": "selectRestitution"; }, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './restitution.module';
|
|
2
2
|
export * from './components/restitution-list/restitution-list.component';
|
|
3
|
+
export * from './components/restitution-list-item/restitution-list-item.component';
|
|
3
4
|
export * from './components/restitution/restitution.component';
|
|
4
5
|
export * from './components/restitution-catalog/restitution-catalog.component';
|
|
@@ -4,18 +4,19 @@ import * as i1 from "./components/restitution-list/restitution-list.component";
|
|
|
4
4
|
import * as i2 from "./components/restitution/restitution.component";
|
|
5
5
|
import * as i3 from "./style/css.component";
|
|
6
6
|
import * as i4 from "./components/restitution-catalog/restitution-catalog.component";
|
|
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/
|
|
12
|
-
import * as i10 from "@provoly/dashboard/
|
|
13
|
-
import * as i11 from "@provoly/dashboard/components/
|
|
14
|
-
import * as i12 from "@provoly/dashboard/components/
|
|
7
|
+
import * as i5 from "./components/restitution-list-item/restitution-list-item.component";
|
|
8
|
+
import * as i6 from "@angular/common";
|
|
9
|
+
import * as i7 from "@provoly/dashboard";
|
|
10
|
+
import * as i8 from "@angular/forms";
|
|
11
|
+
import * as i9 from "@provoly/dashboard/components/stepper";
|
|
12
|
+
import * as i10 from "@provoly/dashboard/search";
|
|
13
|
+
import * as i11 from "@provoly/dashboard/components/card";
|
|
14
|
+
import * as i12 from "@provoly/dashboard/components/checkbox";
|
|
15
|
+
import * as i13 from "@provoly/dashboard/components/sinceDate";
|
|
15
16
|
export declare class PryRestitutionModule {
|
|
16
17
|
private pryTranslateService;
|
|
17
18
|
constructor(pryTranslateService: PryI18nService);
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryRestitutionModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PryRestitutionModule, [typeof i1.PryRestitutionListComponent, typeof i2.PryRestitutionComponent, typeof i3.PryCatalogCssComponent, typeof i4.PryRestitutionCatalogComponent], [typeof
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PryRestitutionModule, [typeof i1.PryRestitutionListComponent, typeof i2.PryRestitutionComponent, typeof i3.PryCatalogCssComponent, typeof i4.PryRestitutionCatalogComponent, typeof i5.PryRestitutionListItemComponent], [typeof i6.CommonModule, typeof i7.PryCoreModule, typeof i7.PryIconModule, typeof i8.FormsModule, typeof i9.PryStepperModule, typeof i7.PrySelectModule, typeof i7.PryDashboardModule, typeof i7.PryShareModule, typeof i10.PrySearchModule, typeof i7.PryI18nModule, typeof i11.PryCardModule, typeof i12.PryCheckboxModule, typeof i7.PryOverlayModule, typeof i13.PrySinceDateModule], [typeof i1.PryRestitutionListComponent, typeof i2.PryRestitutionComponent, typeof i4.PryRestitutionCatalogComponent, typeof i5.PryRestitutionListItemComponent]>;
|
|
20
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<PryRestitutionModule>;
|
|
21
22
|
}
|
|
@@ -96,6 +96,10 @@
|
|
|
96
96
|
cursor: pointer;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
+
pry-catalog-item {
|
|
100
|
+
max-height: toRem(210);
|
|
101
|
+
}
|
|
102
|
+
|
|
99
103
|
&__item {
|
|
100
104
|
position: relative;
|
|
101
105
|
display: flex;
|
|
@@ -103,7 +107,7 @@
|
|
|
103
107
|
justify-content: space-between;
|
|
104
108
|
align-items: center;
|
|
105
109
|
max-width: toRem(130);
|
|
106
|
-
|
|
110
|
+
height: 100%;
|
|
107
111
|
text-align: center;
|
|
108
112
|
cursor: move;
|
|
109
113
|
|
|
@@ -141,7 +145,6 @@
|
|
|
141
145
|
|
|
142
146
|
&__action {
|
|
143
147
|
width: 100%;
|
|
144
|
-
margin-top: auto;
|
|
145
148
|
padding: toRem(6) toRem(10);
|
|
146
149
|
text-align: center;
|
|
147
150
|
|
|
@@ -158,4 +161,36 @@
|
|
|
158
161
|
width: fit-content;
|
|
159
162
|
margin-bottom: 1rem;
|
|
160
163
|
}
|
|
164
|
+
|
|
165
|
+
.o-accordion {
|
|
166
|
+
&__title {
|
|
167
|
+
position: relative;
|
|
168
|
+
border-bottom-style: solid;
|
|
169
|
+
border-bottom-width: toRem(1);
|
|
170
|
+
|
|
171
|
+
// Border left colored
|
|
172
|
+
&:before {
|
|
173
|
+
content: '';
|
|
174
|
+
position: absolute;
|
|
175
|
+
left: 0;
|
|
176
|
+
top: 0;
|
|
177
|
+
bottom: 0;
|
|
178
|
+
width: 3px;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
&:first-child {
|
|
182
|
+
border-top-style: solid;
|
|
183
|
+
border-top-width: toRem(1);
|
|
184
|
+
margin-top: toRem(10);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
&__btn {
|
|
188
|
+
width: 100%;
|
|
189
|
+
height: 70%;
|
|
190
|
+
padding: 0;
|
|
191
|
+
text-transform: uppercase;
|
|
192
|
+
text-align: left;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
161
196
|
}
|
|
@@ -24,4 +24,19 @@
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
+
|
|
28
|
+
.o-accordion {
|
|
29
|
+
&__title {
|
|
30
|
+
border-top-color: themed($theme-map, 'color', 'primary', 300);
|
|
31
|
+
border-bottom-color: themed($theme-map, 'color', 'primary', 300);
|
|
32
|
+
|
|
33
|
+
&:before {
|
|
34
|
+
background-color: themed($theme-map, 'color', 'accent', 600);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__btn pry-icon {
|
|
38
|
+
color: themed($theme-map, 'color', 'accent', 600);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
27
42
|
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { combineLatest, map } from 'rxjs';
|
|
3
|
-
import { DashboardSelectors } from '../../../dashboard/store/dashboard.selectors';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@ngrx/store";
|
|
6
|
-
import * as i2 from "../../i18n/i18n.service";
|
|
7
|
-
import * as i3 from "@angular/common";
|
|
8
|
-
export class PryTitlePresentationComponent {
|
|
9
|
-
constructor(store, i18nService) {
|
|
10
|
-
this.store = store;
|
|
11
|
-
this.i18nService = i18nService;
|
|
12
|
-
this.presentationTitle$ = combineLatest([this.store.select(DashboardSelectors.presentation)]).pipe(map(([presentation]) => {
|
|
13
|
-
if (presentation.current) {
|
|
14
|
-
return presentation.current.name;
|
|
15
|
-
}
|
|
16
|
-
return this.i18nService.instant('@pry.header.noCurrentPresentation');
|
|
17
|
-
}));
|
|
18
|
-
}
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: PryTitlePresentationComponent, deps: [{ token: i1.Store }, { token: i2.PryI18nService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
20
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: PryTitlePresentationComponent, selector: "pry-title-presentation", ngImport: i0, template: "<div>\n <h1 class=\"a-h1 a-presentation-title\">{{ presentationTitle$ | async }}</h1>\n</div>\n", dependencies: [{ kind: "pipe", type: i3.AsyncPipe, name: "async" }] }); }
|
|
21
|
-
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: PryTitlePresentationComponent, decorators: [{
|
|
23
|
-
type: Component,
|
|
24
|
-
args: [{ selector: 'pry-title-presentation', template: "<div>\n <h1 class=\"a-h1 a-presentation-title\">{{ presentationTitle$ | async }}</h1>\n</div>\n" }]
|
|
25
|
-
}], ctorParameters: function () { return [{ type: i1.Store }, { type: i2.PryI18nService }]; } });
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGl0bGUtcHJlc2VudGF0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Byb3ZvbHkvZGFzaGJvYXJkL2xpYi9jb3JlL2NvbXBvbmVudHMvdGl0bGUtcHJlc2VudGF0aW9uL3RpdGxlLXByZXNlbnRhdGlvbi5jb21wb25lbnQ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