geonetwork-ui 2.3.0-dev.6083baae → 2.3.0-dev.b46332e6
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/index.mjs +1 -2
- package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +2 -6
- package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +3 -3
- package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +3 -3
- package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/index.mjs +1 -2
- package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +3 -3
- package/esm2022/translations/de.json +0 -8
- package/esm2022/translations/en.json +0 -8
- package/esm2022/translations/es.json +0 -8
- package/esm2022/translations/fr.json +0 -8
- package/esm2022/translations/it.json +0 -8
- package/esm2022/translations/nl.json +0 -8
- package/esm2022/translations/pt.json +0 -8
- package/fesm2022/geonetwork-ui.mjs +13 -181
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/index.d.ts +0 -1
- package/index.d.ts.map +1 -1
- package/index.ts +0 -1
- package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +5 -8
- package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
- package/libs/ui/elements/src/index.d.ts +0 -1
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +1 -8
- package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.html +1 -1
- package/src/libs/feature/search/src/lib/results-table/results-table.component.html +3 -3
- package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +5 -5
- package/src/libs/ui/elements/src/index.ts +0 -1
- package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +1 -1
- package/tailwind.base.css +0 -29
- package/translations/de.json +0 -8
- package/translations/en.json +0 -8
- package/translations/es.json +0 -8
- package/translations/fr.json +0 -8
- package/translations/it.json +0 -8
- package/translations/nl.json +0 -8
- package/translations/pt.json +0 -8
- package/translations/sk.json +0 -8
- package/esm2022/libs/feature/notifications/src/index.mjs +0 -4
- package/esm2022/libs/feature/notifications/src/lib/feature-notifications.module.mjs +0 -18
- package/esm2022/libs/feature/notifications/src/lib/notification.model.mjs +0 -2
- package/esm2022/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.mjs +0 -49
- package/esm2022/libs/feature/notifications/src/lib/notifications.service.mjs +0 -29
- package/esm2022/libs/ui/elements/src/lib/notification/notification.component.mjs +0 -34
- package/libs/feature/notifications/src/index.d.ts +0 -4
- package/libs/feature/notifications/src/index.d.ts.map +0 -1
- package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts +0 -7
- package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts.map +0 -1
- package/libs/feature/notifications/src/lib/notification.model.d.ts +0 -7
- package/libs/feature/notifications/src/lib/notification.model.d.ts.map +0 -1
- package/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.d.ts +0 -12
- package/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.d.ts.map +0 -1
- package/libs/feature/notifications/src/lib/notifications.service.d.ts +0 -15
- package/libs/feature/notifications/src/lib/notifications.service.d.ts.map +0 -1
- package/libs/ui/elements/src/lib/notification/notification.component.d.ts +0 -13
- package/libs/ui/elements/src/lib/notification/notification.component.d.ts.map +0 -1
- package/src/libs/feature/notifications/src/index.ts +0 -3
- package/src/libs/feature/notifications/src/lib/feature-notifications.module.ts +0 -10
- package/src/libs/feature/notifications/src/lib/notification.model.ts +0 -6
- package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.css +0 -0
- package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.html +0 -17
- package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.ts +0 -44
- package/src/libs/feature/notifications/src/lib/notifications.service.ts +0 -27
- package/src/libs/ui/elements/src/lib/notification/notification.component.css +0 -0
- package/src/libs/ui/elements/src/lib/notification/notification.component.html +0 -52
- package/src/libs/ui/elements/src/lib/notification/notification.component.ts +0 -31
package/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export * from './libs/api/metadata-converter/src';
|
|
|
2
2
|
export * from './libs/api/repository/src';
|
|
3
3
|
export * from './libs/feature/auth/src';
|
|
4
4
|
export * from './libs/feature/map/src';
|
|
5
|
-
export * from './libs/feature/notifications/src';
|
|
6
5
|
export * from './libs/feature/search/src';
|
|
7
6
|
export * from './libs/feature/record/src';
|
|
8
7
|
export * from './libs/feature/dataviz/src';
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,cAAc,mCAAmC,CAAA;AACjD,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA;AACtC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,cAAc,mCAAmC,CAAA;AACjD,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA;AACtC,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,8BAA8B,CAAA"}
|
package/index.ts
CHANGED
|
@@ -3,7 +3,6 @@ export * from './libs/api/metadata-converter/src'
|
|
|
3
3
|
export * from './libs/api/repository/src'
|
|
4
4
|
export * from './libs/feature/auth/src'
|
|
5
5
|
export * from './libs/feature/map/src'
|
|
6
|
-
export * from './libs/feature/notifications/src'
|
|
7
6
|
export * from './libs/feature/search/src'
|
|
8
7
|
export * from './libs/feature/record/src'
|
|
9
8
|
export * from './libs/feature/dataviz/src'
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class EditorFacade {
|
|
5
4
|
private readonly store;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
changedSinceSave$: Observable<boolean>;
|
|
12
|
-
recordFields$: Observable<{
|
|
5
|
+
record$: import("rxjs").Observable<CatalogRecord>;
|
|
6
|
+
saving$: import("rxjs").Observable<boolean>;
|
|
7
|
+
saveError$: import("rxjs").Observable<string>;
|
|
8
|
+
changedSinceSave$: import("rxjs").Observable<boolean>;
|
|
9
|
+
recordFields$: import("rxjs").Observable<{
|
|
13
10
|
config: import("../models/fields.model").EditorFieldConfig;
|
|
14
11
|
value: any;
|
|
15
12
|
}[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.facade.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA
|
|
1
|
+
{"version":3,"file":"editor.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.facade.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAEzF,qBACa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAgB;IAEtC,OAAO,2CAAwD;IAC/D,OAAO,qCAA8D;IACrE,UAAU,oCAAiE;IAC3E,iBAAiB,qCAEhB;IACD,aAAa;;;SAA8D;IAE3E,UAAU,CAAC,MAAM,EAAE,aAAa;IAIhC,UAAU;IAIV,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO;yCAnBpC,YAAY;6CAAZ,YAAY;CAsBxB"}
|
|
@@ -21,5 +21,4 @@ export * from './lib/search-results-error/search-results-error.component';
|
|
|
21
21
|
export * from './lib/thumbnail/thumbnail.component';
|
|
22
22
|
export * from './lib/ui-elements.module';
|
|
23
23
|
export * from './lib/user-preview/user-preview.component';
|
|
24
|
-
export * from './lib/notification/notification.component';
|
|
25
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/elements/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,6DAA6D,CAAA;AAC3E,cAAc,qCAAqC,CAAA;AACnD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,qCAAqC,CAAA;AACnD,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6DAA6D,CAAA;AAC3E,cAAc,mDAAmD,CAAA;AACjE,cAAc,uDAAuD,CAAA;AACrE,cAAc,uCAAuC,CAAA;AACrD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,yDAAyD,CAAA;AACvE,cAAc,2DAA2D,CAAA;AACzE,cAAc,qCAAqC,CAAA;AACnD,cAAc,0BAA0B,CAAA;AACxC,cAAc,2CAA2C,CAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/elements/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,6DAA6D,CAAA;AAC3E,cAAc,qCAAqC,CAAA;AACnD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,qCAAqC,CAAA;AACnD,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6DAA6D,CAAA;AAC3E,cAAc,mDAAmD,CAAA;AACjE,cAAc,uDAAuD,CAAA;AACrE,cAAc,uCAAuC,CAAA;AACrD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,yDAAyD,CAAA;AACvE,cAAc,2DAA2D,CAAA;AACzE,cAAc,qCAAqC,CAAA;AACnD,cAAc,0BAA0B,CAAA;AACxC,cAAc,2CAA2C,CAAA"}
|
package/package.json
CHANGED
|
@@ -3,21 +3,14 @@ import { select, Store } from '@ngrx/store'
|
|
|
3
3
|
import * as EditorActions from './editor.actions'
|
|
4
4
|
import * as EditorSelectors from './editor.selectors'
|
|
5
5
|
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
6
|
-
import { filter, Observable } from 'rxjs'
|
|
7
|
-
import { Actions, ofType } from '@ngrx/effects'
|
|
8
6
|
|
|
9
7
|
@Injectable()
|
|
10
8
|
export class EditorFacade {
|
|
11
9
|
private readonly store = inject(Store)
|
|
12
|
-
private actions$ = inject(Actions)
|
|
13
10
|
|
|
14
11
|
record$ = this.store.pipe(select(EditorSelectors.selectRecord))
|
|
15
12
|
saving$ = this.store.pipe(select(EditorSelectors.selectRecordSaving))
|
|
16
|
-
saveError$ = this.store.pipe(
|
|
17
|
-
select(EditorSelectors.selectRecordSaveError),
|
|
18
|
-
filter((error) => !!error)
|
|
19
|
-
)
|
|
20
|
-
saveSuccess$ = this.actions$.pipe(ofType(EditorActions.saveRecordSuccess))
|
|
13
|
+
saveError$ = this.store.pipe(select(EditorSelectors.selectRecordSaveError))
|
|
21
14
|
changedSinceSave$ = this.store.pipe(
|
|
22
15
|
select(EditorSelectors.selectRecordChangedSinceSave)
|
|
23
16
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div class="flex flex-col gap-2 my-2">
|
|
2
2
|
<div class="flex items-center gap-4">
|
|
3
|
-
<div class="grow rounded-md border-2 border-gray-200">
|
|
3
|
+
<div class="flex-grow rounded-md border-2 border-gray-200">
|
|
4
4
|
<gn-ui-drag-and-drop-file-input
|
|
5
5
|
(fileChange)="handleFileChange($event)"
|
|
6
6
|
[accept]="acceptedMimeType.join(',')"
|
|
@@ -50,20 +50,20 @@
|
|
|
50
50
|
[title]="formats.join(', ')"
|
|
51
51
|
>
|
|
52
52
|
<span
|
|
53
|
-
class="badge-btn min-w-[45px] text-sm text-white px-2 shrink-0"
|
|
53
|
+
class="badge-btn min-w-[45px] text-sm text-white px-2 flex-shrink-0"
|
|
54
54
|
[style.background-color]="getBadgeColor(formats[0])"
|
|
55
55
|
*ngIf="formats[0]"
|
|
56
56
|
>
|
|
57
57
|
{{ formats[0] }}
|
|
58
58
|
</span>
|
|
59
59
|
<span
|
|
60
|
-
class="badge-btn min-w-[45px] text-sm text-white px-2 shrink-0"
|
|
60
|
+
class="badge-btn min-w-[45px] text-sm text-white px-2 flex-shrink-0"
|
|
61
61
|
[style.background-color]="getBadgeColor(formats[1])"
|
|
62
62
|
*ngIf="formats[1]"
|
|
63
63
|
>
|
|
64
64
|
{{ formats[1] }}
|
|
65
65
|
</span>
|
|
66
|
-
<div class="shrink-0" *ngIf="formats.slice(2).length > 0">
|
|
66
|
+
<div class="flex-shrink-0" *ngIf="formats.slice(2).length > 0">
|
|
67
67
|
<span>+{{ formats.slice(2).length }}</span>
|
|
68
68
|
</div>
|
|
69
69
|
</div>
|
package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
[title]="organisation.name"
|
|
5
5
|
>
|
|
6
6
|
<div
|
|
7
|
-
class="shrink-0 bg-gray-100 rounded-lg overflow-hidden w-full border border-gray-300 h-36"
|
|
7
|
+
class="flex-shrink-0 bg-gray-100 rounded-lg overflow-hidden w-full border border-gray-300 h-36"
|
|
8
8
|
>
|
|
9
9
|
<gn-ui-thumbnail
|
|
10
10
|
class="relative h-full w-full"
|
|
@@ -13,20 +13,20 @@
|
|
|
13
13
|
>
|
|
14
14
|
</gn-ui-thumbnail>
|
|
15
15
|
</div>
|
|
16
|
-
<div class="px-3 pb-2 capitalize flex flex-col grow overflow-hidden">
|
|
16
|
+
<div class="px-3 pb-2 capitalize flex flex-col flex-grow overflow-hidden">
|
|
17
17
|
<span
|
|
18
|
-
class="shrink-0 mb-3 mt-5 font-title text-21 text-title group-hover:text-primary line-clamp-2 sm:mt-2 transition-colors"
|
|
18
|
+
class="flex-shrink-0 mb-3 mt-5 font-title text-21 text-title group-hover:text-primary line-clamp-2 sm:mt-2 transition-colors"
|
|
19
19
|
data-cy="organizationName"
|
|
20
20
|
>
|
|
21
21
|
{{ organisation.name }}</span
|
|
22
22
|
>
|
|
23
23
|
<p
|
|
24
|
-
class="abstract mt-4 mb-5 sm:mb-2 sm:mt-0 grow shrink-1 overflow-hidden"
|
|
24
|
+
class="abstract mt-4 mb-5 sm:mb-2 sm:mt-0 flex-grow flex-shrink-1 overflow-hidden"
|
|
25
25
|
data-cy="organizationDesc"
|
|
26
26
|
>
|
|
27
27
|
{{ organisation.description }}
|
|
28
28
|
</p>
|
|
29
|
-
<div class="shrink-0 text-primary opacity-50 flex leading-6">
|
|
29
|
+
<div class="flex-shrink-0 text-primary opacity-50 flex leading-6">
|
|
30
30
|
<mat-icon class="material-symbols-outlined text-primary opacity-50 mr-1"
|
|
31
31
|
>folder_open
|
|
32
32
|
</mat-icon>
|
|
@@ -21,4 +21,3 @@ export * from './lib/search-results-error/search-results-error.component'
|
|
|
21
21
|
export * from './lib/thumbnail/thumbnail.component'
|
|
22
22
|
export * from './lib/ui-elements.module'
|
|
23
23
|
export * from './lib/user-preview/user-preview.component'
|
|
24
|
-
export * from './lib/notification/notification.component'
|
package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*ngIf="imageUrl"
|
|
7
7
|
[showContent]="imageUrl !== undefined"
|
|
8
8
|
data-cy="record-thumbnail"
|
|
9
|
-
class="shrink-0 bg-gray-100 rounded-lg overflow-hidden w-full border border-gray-300 group-hover:shadow-xl group-hover:border-0 h-48 mb-3"
|
|
9
|
+
class="flex-shrink-0 bg-gray-100 rounded-lg overflow-hidden w-full border border-gray-300 group-hover:shadow-xl group-hover:border-0 h-48 mb-3"
|
|
10
10
|
>
|
|
11
11
|
<gn-ui-thumbnail
|
|
12
12
|
class="relative h-full w-full"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
</p>
|
|
14
14
|
</button>
|
|
15
15
|
</div>
|
|
16
|
-
<div class="flex flex-row flex-wrap justify-between grow gap-5">
|
|
16
|
+
<div class="flex flex-row flex-wrap justify-between flex-grow gap-5">
|
|
17
17
|
<div class="flex flex-col gap-3">
|
|
18
18
|
<p class="text-[14px]" translate>record.metadata.api.form.limit</p>
|
|
19
19
|
<div class="flex flex-row items-center gap-2">
|
package/tailwind.base.css
CHANGED
|
@@ -9,35 +9,6 @@
|
|
|
9
9
|
@apply shadow-xl hover:shadow-xl-hover transition-shadow;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
/* LINK CLASSES */
|
|
13
|
-
.gn-ui-link {
|
|
14
|
-
@apply text-blue-600 hover:text-blue-700 hover:underline;
|
|
15
|
-
text-underline-offset: 0.2em;
|
|
16
|
-
text-decoration-thickness: 1px;
|
|
17
|
-
}
|
|
18
|
-
.gn-ui-link-external-icon {
|
|
19
|
-
content: 'open_in_new';
|
|
20
|
-
font-family: 'Material Symbols Outlined';
|
|
21
|
-
font-size: 0.9em;
|
|
22
|
-
display: inline-block;
|
|
23
|
-
vertical-align: top;
|
|
24
|
-
padding-top: 0.1em;
|
|
25
|
-
}
|
|
26
|
-
.gn-ui-link-external {
|
|
27
|
-
@apply gn-ui-link;
|
|
28
|
-
}
|
|
29
|
-
.gn-ui-link-external::before {
|
|
30
|
-
@apply gn-ui-link-external-icon;
|
|
31
|
-
padding-right: 0.2em;
|
|
32
|
-
}
|
|
33
|
-
.gn-ui-link-external-after {
|
|
34
|
-
@apply gn-ui-link;
|
|
35
|
-
}
|
|
36
|
-
.gn-ui-link-external-after::after {
|
|
37
|
-
@apply gn-ui-link-external-icon;
|
|
38
|
-
padding-left: 0.2em;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
12
|
/* BUTTON CLASSES */
|
|
42
13
|
/* these are used behind the scenes by the `gn-ui-button` component */
|
|
43
14
|
|
package/translations/de.json
CHANGED
|
@@ -144,15 +144,7 @@
|
|
|
144
144
|
"downloads.format.unknown": "unbekannt",
|
|
145
145
|
"downloads.wfs.featuretype.not.found": "Der Layer wurde nicht gefunden",
|
|
146
146
|
"dropFile": "Datei ablegen",
|
|
147
|
-
"editor.record.loadError.body": "",
|
|
148
|
-
"editor.record.loadError.closeMessage": "",
|
|
149
|
-
"editor.record.loadError.title": "",
|
|
150
147
|
"editor.record.publish": "",
|
|
151
|
-
"editor.record.publishError.body": "",
|
|
152
|
-
"editor.record.publishError.closeMessage": "",
|
|
153
|
-
"editor.record.publishError.title": "",
|
|
154
|
-
"editor.record.publishSuccess.body": "",
|
|
155
|
-
"editor.record.publishSuccess.title": "",
|
|
156
148
|
"editor.record.upToDate": "",
|
|
157
149
|
"externalviewer.dataset.unnamed": "Datensatz aus dem Datahub",
|
|
158
150
|
"facets.block.title.OrgForResource": "Organisation",
|
package/translations/en.json
CHANGED
|
@@ -144,15 +144,7 @@
|
|
|
144
144
|
"downloads.format.unknown": "unknown",
|
|
145
145
|
"downloads.wfs.featuretype.not.found": "The layer was not found",
|
|
146
146
|
"dropFile": "drop file",
|
|
147
|
-
"editor.record.loadError.body": "The record could not be loaded:",
|
|
148
|
-
"editor.record.loadError.closeMessage": "Understood",
|
|
149
|
-
"editor.record.loadError.title": "Error loading record",
|
|
150
147
|
"editor.record.publish": "Publish this record",
|
|
151
|
-
"editor.record.publishError.body": "The record could not be published:",
|
|
152
|
-
"editor.record.publishError.closeMessage": "Understood",
|
|
153
|
-
"editor.record.publishError.title": "Error publishing record",
|
|
154
|
-
"editor.record.publishSuccess.body": "The record was successfully published!",
|
|
155
|
-
"editor.record.publishSuccess.title": "Publish success",
|
|
156
148
|
"editor.record.upToDate": "This record is up to date",
|
|
157
149
|
"externalviewer.dataset.unnamed": "Datahub layer",
|
|
158
150
|
"facets.block.title.OrgForResource": "Organisation",
|
package/translations/es.json
CHANGED
|
@@ -144,15 +144,7 @@
|
|
|
144
144
|
"downloads.format.unknown": "",
|
|
145
145
|
"downloads.wfs.featuretype.not.found": "",
|
|
146
146
|
"dropFile": "",
|
|
147
|
-
"editor.record.loadError.body": "",
|
|
148
|
-
"editor.record.loadError.closeMessage": "",
|
|
149
|
-
"editor.record.loadError.title": "",
|
|
150
147
|
"editor.record.publish": "",
|
|
151
|
-
"editor.record.publishError.body": "",
|
|
152
|
-
"editor.record.publishError.closeMessage": "",
|
|
153
|
-
"editor.record.publishError.title": "",
|
|
154
|
-
"editor.record.publishSuccess.body": "",
|
|
155
|
-
"editor.record.publishSuccess.title": "",
|
|
156
148
|
"editor.record.upToDate": "",
|
|
157
149
|
"externalviewer.dataset.unnamed": "",
|
|
158
150
|
"facets.block.title.OrgForResource": "",
|
package/translations/fr.json
CHANGED
|
@@ -144,15 +144,7 @@
|
|
|
144
144
|
"downloads.format.unknown": "inconnu",
|
|
145
145
|
"downloads.wfs.featuretype.not.found": "La couche n'a pas été retrouvée",
|
|
146
146
|
"dropFile": "Faites glisser votre fichier",
|
|
147
|
-
"editor.record.loadError.body": "",
|
|
148
|
-
"editor.record.loadError.closeMessage": "",
|
|
149
|
-
"editor.record.loadError.title": "",
|
|
150
147
|
"editor.record.publish": "",
|
|
151
|
-
"editor.record.publishError.body": "",
|
|
152
|
-
"editor.record.publishError.closeMessage": "",
|
|
153
|
-
"editor.record.publishError.title": "",
|
|
154
|
-
"editor.record.publishSuccess.body": "",
|
|
155
|
-
"editor.record.publishSuccess.title": "",
|
|
156
148
|
"editor.record.upToDate": "",
|
|
157
149
|
"externalviewer.dataset.unnamed": "Couche du datahub",
|
|
158
150
|
"facets.block.title.OrgForResource": "Organisation",
|
package/translations/it.json
CHANGED
|
@@ -144,15 +144,7 @@
|
|
|
144
144
|
"downloads.format.unknown": "sconosciuto",
|
|
145
145
|
"downloads.wfs.featuretype.not.found": "Il layer non è stato trovato",
|
|
146
146
|
"dropFile": "Trascina il suo file",
|
|
147
|
-
"editor.record.loadError.body": "",
|
|
148
|
-
"editor.record.loadError.closeMessage": "",
|
|
149
|
-
"editor.record.loadError.title": "",
|
|
150
147
|
"editor.record.publish": "",
|
|
151
|
-
"editor.record.publishError.body": "",
|
|
152
|
-
"editor.record.publishError.closeMessage": "",
|
|
153
|
-
"editor.record.publishError.title": "",
|
|
154
|
-
"editor.record.publishSuccess.body": "",
|
|
155
|
-
"editor.record.publishSuccess.title": "",
|
|
156
148
|
"editor.record.upToDate": "",
|
|
157
149
|
"externalviewer.dataset.unnamed": "Layer del datahub",
|
|
158
150
|
"facets.block.title.OrgForResource": "Organizzazione",
|
package/translations/nl.json
CHANGED
|
@@ -144,15 +144,7 @@
|
|
|
144
144
|
"downloads.format.unknown": "",
|
|
145
145
|
"downloads.wfs.featuretype.not.found": "",
|
|
146
146
|
"dropFile": "",
|
|
147
|
-
"editor.record.loadError.body": "",
|
|
148
|
-
"editor.record.loadError.closeMessage": "",
|
|
149
|
-
"editor.record.loadError.title": "",
|
|
150
147
|
"editor.record.publish": "",
|
|
151
|
-
"editor.record.publishError.body": "",
|
|
152
|
-
"editor.record.publishError.closeMessage": "",
|
|
153
|
-
"editor.record.publishError.title": "",
|
|
154
|
-
"editor.record.publishSuccess.body": "",
|
|
155
|
-
"editor.record.publishSuccess.title": "",
|
|
156
148
|
"editor.record.upToDate": "",
|
|
157
149
|
"externalviewer.dataset.unnamed": "",
|
|
158
150
|
"facets.block.title.OrgForResource": "",
|
package/translations/pt.json
CHANGED
|
@@ -144,15 +144,7 @@
|
|
|
144
144
|
"downloads.format.unknown": "",
|
|
145
145
|
"downloads.wfs.featuretype.not.found": "",
|
|
146
146
|
"dropFile": "",
|
|
147
|
-
"editor.record.loadError.body": "",
|
|
148
|
-
"editor.record.loadError.closeMessage": "",
|
|
149
|
-
"editor.record.loadError.title": "",
|
|
150
147
|
"editor.record.publish": "",
|
|
151
|
-
"editor.record.publishError.body": "",
|
|
152
|
-
"editor.record.publishError.closeMessage": "",
|
|
153
|
-
"editor.record.publishError.title": "",
|
|
154
|
-
"editor.record.publishSuccess.body": "",
|
|
155
|
-
"editor.record.publishSuccess.title": "",
|
|
156
148
|
"editor.record.upToDate": "",
|
|
157
149
|
"externalviewer.dataset.unnamed": "",
|
|
158
150
|
"facets.block.title.OrgForResource": "",
|
package/translations/sk.json
CHANGED
|
@@ -144,15 +144,7 @@
|
|
|
144
144
|
"downloads.format.unknown": "neznámy",
|
|
145
145
|
"downloads.wfs.featuretype.not.found": "Vrstva nebola nájdená",
|
|
146
146
|
"dropFile": "nahrať súbor",
|
|
147
|
-
"editor.record.loadError.body": "",
|
|
148
|
-
"editor.record.loadError.closeMessage": "",
|
|
149
|
-
"editor.record.loadError.title": "",
|
|
150
147
|
"editor.record.publish": "",
|
|
151
|
-
"editor.record.publishError.body": "",
|
|
152
|
-
"editor.record.publishError.closeMessage": "",
|
|
153
|
-
"editor.record.publishError.title": "",
|
|
154
|
-
"editor.record.publishSuccess.body": "",
|
|
155
|
-
"editor.record.publishSuccess.title": "",
|
|
156
148
|
"editor.record.upToDate": "",
|
|
157
149
|
"externalviewer.dataset.unnamed": "",
|
|
158
150
|
"facets.block.title.OrgForResource": "Organizácia",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from './lib/feature-notifications.module';
|
|
2
|
-
export * from './lib/notifications.service';
|
|
3
|
-
export * from './lib/notifications-container/notifications-container.component';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2ZlYXR1cmUvbm90aWZpY2F0aW9ucy9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxvQ0FBb0MsQ0FBQTtBQUNsRCxjQUFjLDZCQUE2QixDQUFBO0FBQzNDLGNBQWMsaUVBQWlFLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9mZWF0dXJlLW5vdGlmaWNhdGlvbnMubW9kdWxlJ1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbm90aWZpY2F0aW9ucy5zZXJ2aWNlJ1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbm90aWZpY2F0aW9ucy1jb250YWluZXIvbm90aWZpY2F0aW9ucy1jb250YWluZXIuY29tcG9uZW50J1xuIl19
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { NotificationsService } from './notifications.service';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class FeatureNotificationsModule {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FeatureNotificationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: FeatureNotificationsModule }); }
|
|
7
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FeatureNotificationsModule, providers: [NotificationsService] }); }
|
|
8
|
-
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FeatureNotificationsModule, decorators: [{
|
|
10
|
-
type: NgModule,
|
|
11
|
-
args: [{
|
|
12
|
-
declarations: [],
|
|
13
|
-
exports: [],
|
|
14
|
-
imports: [],
|
|
15
|
-
providers: [NotificationsService],
|
|
16
|
-
}]
|
|
17
|
-
}] });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVhdHVyZS1ub3RpZmljYXRpb25zLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZmVhdHVyZS9ub3RpZmljYXRpb25zL3NyYy9saWIvZmVhdHVyZS1ub3RpZmljYXRpb25zLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQTtBQUM5RCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFBOztBQVF4QyxNQUFNLE9BQU8sMEJBQTBCOzhHQUExQiwwQkFBMEI7K0dBQTFCLDBCQUEwQjsr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0bGU6IHN0cmluZ1xuICB0ZXh0OiBzdHJpbmdcbiAgY2xvc2VNZXNzYWdlPzogc3RyaW5nXG59XG4iXX0=
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { NotificationsService } from '../notifications.service';
|
|
4
|
-
import { NotificationComponent } from '../../../../../../libs/ui/elements/src';
|
|
5
|
-
import { animate, keyframes, style, transition, trigger, } from '@angular/animations';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../notifications.service";
|
|
8
|
-
import * as i2 from "@angular/common";
|
|
9
|
-
export class NotificationsContainerComponent {
|
|
10
|
-
constructor(notificationsService) {
|
|
11
|
-
this.notificationsService = notificationsService;
|
|
12
|
-
}
|
|
13
|
-
trackById(index, notification) {
|
|
14
|
-
return notification.id;
|
|
15
|
-
}
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: NotificationsContainerComponent, deps: [{ token: i1.NotificationsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
17
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: NotificationsContainerComponent, isStandalone: true, selector: "gn-ui-notifications-container", ngImport: i0, template: "<div class=\"flex flex-col gap-6 p-6 items-start pointer-events-none\">\n <gn-ui-notification\n *ngFor=\"\n let notification of notificationsService.notifications$ | async;\n trackBy: trackById\n \"\n class=\"max-w-full pointer-events-auto\"\n [text]=\"notification.text\"\n [type]=\"notification.type\"\n [title]=\"notification.title\"\n [closeMessage]=\"notification.closeMessage\"\n (notificationClose)=\"\n notificationsService.removeNotificationById(notification.id)\n \"\n [@enterExit]\n ></gn-ui-notification>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "component", type: NotificationComponent, selector: "gn-ui-notification", inputs: ["type", "title", "text", "closeMessage"], outputs: ["notificationClose"] }], animations: [
|
|
18
|
-
trigger('enterExit', [
|
|
19
|
-
transition(':enter', [
|
|
20
|
-
animate('150ms', keyframes([
|
|
21
|
-
style({ transform: 'scale(1)', opacity: 0 }),
|
|
22
|
-
style({ transform: 'scale(1.03)', opacity: 0.5 }),
|
|
23
|
-
style({ transform: 'scale(1)', opacity: 1 }),
|
|
24
|
-
])),
|
|
25
|
-
]),
|
|
26
|
-
transition(':leave', [
|
|
27
|
-
animate('200ms', style({ transform: 'translateX(50px)', opacity: 0 })),
|
|
28
|
-
]),
|
|
29
|
-
]),
|
|
30
|
-
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
31
|
-
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: NotificationsContainerComponent, decorators: [{
|
|
33
|
-
type: Component,
|
|
34
|
-
args: [{ selector: 'gn-ui-notifications-container', standalone: true, imports: [CommonModule, NotificationComponent], changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
35
|
-
trigger('enterExit', [
|
|
36
|
-
transition(':enter', [
|
|
37
|
-
animate('150ms', keyframes([
|
|
38
|
-
style({ transform: 'scale(1)', opacity: 0 }),
|
|
39
|
-
style({ transform: 'scale(1.03)', opacity: 0.5 }),
|
|
40
|
-
style({ transform: 'scale(1)', opacity: 1 }),
|
|
41
|
-
])),
|
|
42
|
-
]),
|
|
43
|
-
transition(':leave', [
|
|
44
|
-
animate('200ms', style({ transform: 'translateX(50px)', opacity: 0 })),
|
|
45
|
-
]),
|
|
46
|
-
]),
|
|
47
|
-
], template: "<div class=\"flex flex-col gap-6 p-6 items-start pointer-events-none\">\n <gn-ui-notification\n *ngFor=\"\n let notification of notificationsService.notifications$ | async;\n trackBy: trackById\n \"\n class=\"max-w-full pointer-events-auto\"\n [text]=\"notification.text\"\n [type]=\"notification.type\"\n [title]=\"notification.title\"\n [closeMessage]=\"notification.closeMessage\"\n (notificationClose)=\"\n notificationsService.removeNotificationById(notification.id)\n \"\n [@enterExit]\n ></gn-ui-notification>\n</div>\n" }]
|
|
48
|
-
}], ctorParameters: function () { return [{ type: i1.NotificationsService }]; } });
|
|
49
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mZWF0dXJlL25vdGlmaWNhdGlvbnMvc3JjL2xpYi9ub3RpZmljYXRpb25zLWNvbnRhaW5lci9ub3RpZmljYXRpb25zLWNvbnRhaW5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2ZlYXR1cmUvbm90aWZpY2F0aW9ucy9zcmMvbGliL25vdGlmaWNhdGlvbnMtY29udGFpbmVyL25vdGlmaWNhdGlvbnMtY29udGFpbmVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUE7QUFDbEUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFBO0FBQzlDLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDBCQUEwQixDQUFBO0FBQy9ELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHdDQUF3QyxDQUFBO0FBQzlFLE9BQU8sRUFDTCxPQUFPLEVBQ1AsU0FBUyxFQUNULEtBQUssRUFDTCxVQUFVLEVBQ1YsT0FBTyxHQUNSLE1BQU0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vbi5pZClcbiAgICBcIlxuICAgIFtAZW50ZXJFeGl0XVxuICA+PC9nbi11aS1ub3RpZmljYXRpb24+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class NotificationsService {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.notifications$ = new BehaviorSubject([]);
|
|
7
|
-
}
|
|
8
|
-
showNotification(content, timeoutMs) {
|
|
9
|
-
const id = Math.floor(Math.random() * 1000000);
|
|
10
|
-
this.notifications$.next([...this.notifications$.value, { ...content, id }]);
|
|
11
|
-
if (typeof timeoutMs === 'undefined')
|
|
12
|
-
return;
|
|
13
|
-
setTimeout(() => {
|
|
14
|
-
this.removeNotificationById(id);
|
|
15
|
-
}, timeoutMs);
|
|
16
|
-
}
|
|
17
|
-
removeNotificationById(id) {
|
|
18
|
-
this.notifications$.next(this.notifications$.value.filter((n) => n.id !== id));
|
|
19
|
-
}
|
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: NotificationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: NotificationsService, providedIn: 'root' }); }
|
|
22
|
-
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: NotificationsService, decorators: [{
|
|
24
|
-
type: Injectable,
|
|
25
|
-
args: [{
|
|
26
|
-
providedIn: 'root',
|
|
27
|
-
}]
|
|
28
|
-
}] });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy5zZXJ2aWNlLmpzIiwic291cm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HJldHVyblxuICAgIHNldFRpbWVvdXQoKCkgPT4ge1xuICAgICAgdGhpcy5yZW1vdmVOb3RpZmljYXRpb25CeUlkKGlkKVxuICAgIH0sIHRpbWVvdXRNcylcbiAgfVxuXG4gIHJlbW92ZU5vdGlmaWNhdGlvbkJ5SWQoaWQ6IG51bWJlcikge1xuICAgIHRoaXMubm90aWZpY2F0aW9ucyQubmV4dChcbiAgICAgIHRoaXMubm90aWZpY2F0aW9ucyQudmFsdWUuZmlsdGVyKChuKSA9PiBuLmlkICE9PSBpZClcbiAgICApXG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
4
|
-
import { ButtonComponent } from '../../../../../../libs/ui/inputs/src';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/common";
|
|
7
|
-
import * as i2 from "@angular/material/icon";
|
|
8
|
-
export class NotificationComponent {
|
|
9
|
-
constructor() {
|
|
10
|
-
this.type = 'info';
|
|
11
|
-
this.notificationClose = new EventEmitter();
|
|
12
|
-
}
|
|
13
|
-
handleClose(event) {
|
|
14
|
-
event?.preventDefault();
|
|
15
|
-
this.notificationClose.emit();
|
|
16
|
-
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: NotificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: NotificationComponent, isStandalone: true, selector: "gn-ui-notification", inputs: { type: "type", title: "title", text: "text", closeMessage: "closeMessage" }, outputs: { notificationClose: "notificationClose" }, ngImport: i0, template: "<div\n class=\"p-[16px] flex flex-row gap-[16px] items-start border border-gray-200 shadow-md rounded bg-background\"\n>\n <div\n role=\"alert\"\n class=\"rounded-full text-white p-[6px] w-[32px] h-[32px] flex shrink-0\"\n [ngClass]=\"{\n 'bg-red-500': type === 'error',\n 'bg-yellow-500': type === 'warning',\n 'bg-green-500': type === 'success',\n 'bg-blue-500': type === 'info'\n }\"\n [ngSwitch]=\"type\"\n >\n <mat-icon class=\"material-symbols-outlined !w-[18px] !h-[18px] text-[20px]\">\n <ng-container *ngSwitchCase=\"'success'\">check_circle</ng-container>\n <ng-container *ngSwitchCase=\"'info'\">info</ng-container>\n <ng-container *ngSwitchCase=\"'warning'\">warning</ng-container>\n <ng-container *ngSwitchCase=\"'error'\">error</ng-container>\n </mat-icon>\n </div>\n <div\n class=\"flex flex-col items-start gap-[4px] pt-[3px] grow shrink overflow-hidden\"\n >\n <div class=\"font-bold text-[16px] text-gray-900\">\n {{ title }}\n </div>\n <div class=\"text-[14px] text-gray-800\">\n {{ text }}\n </div>\n <a\n href\n *ngIf=\"closeMessage\"\n class=\"text-[14px] gn-ui-link\"\n (click)=\"handleClose($event)\"\n >\n {{ closeMessage }}\n </a>\n </div>\n <gn-ui-button\n type=\"light\"\n class=\"shrink-0\"\n (buttonClick)=\"handleClose()\"\n [style.--gn-ui-button-padding]=\"0\"\n [style.--gn-ui-button-width]=\"'21px'\"\n [style.--gn-ui-button-height]=\"'21px'\"\n >\n <mat-icon class=\"material-symbols-outlined text-[22px] !w-[21px] !h-[21px]\"\n >close</mat-icon\n >\n </gn-ui-button>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: ButtonComponent, selector: "gn-ui-button", inputs: ["type", "disabled", "extraClass"], outputs: ["buttonClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
19
|
-
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: NotificationComponent, decorators: [{
|
|
21
|
-
type: Component,
|
|
22
|
-
args: [{ selector: 'gn-ui-notification', standalone: true, imports: [CommonModule, MatIconModule, ButtonComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"p-[16px] flex flex-row gap-[16px] items-start border border-gray-200 shadow-md rounded bg-background\"\n>\n <div\n role=\"alert\"\n class=\"rounded-full text-white p-[6px] w-[32px] h-[32px] flex shrink-0\"\n [ngClass]=\"{\n 'bg-red-500': type === 'error',\n 'bg-yellow-500': type === 'warning',\n 'bg-green-500': type === 'success',\n 'bg-blue-500': type === 'info'\n }\"\n [ngSwitch]=\"type\"\n >\n <mat-icon class=\"material-symbols-outlined !w-[18px] !h-[18px] text-[20px]\">\n <ng-container *ngSwitchCase=\"'success'\">check_circle</ng-container>\n <ng-container *ngSwitchCase=\"'info'\">info</ng-container>\n <ng-container *ngSwitchCase=\"'warning'\">warning</ng-container>\n <ng-container *ngSwitchCase=\"'error'\">error</ng-container>\n </mat-icon>\n </div>\n <div\n class=\"flex flex-col items-start gap-[4px] pt-[3px] grow shrink overflow-hidden\"\n >\n <div class=\"font-bold text-[16px] text-gray-900\">\n {{ title }}\n </div>\n <div class=\"text-[14px] text-gray-800\">\n {{ text }}\n </div>\n <a\n href\n *ngIf=\"closeMessage\"\n class=\"text-[14px] gn-ui-link\"\n (click)=\"handleClose($event)\"\n >\n {{ closeMessage }}\n </a>\n </div>\n <gn-ui-button\n type=\"light\"\n class=\"shrink-0\"\n (buttonClick)=\"handleClose()\"\n [style.--gn-ui-button-padding]=\"0\"\n [style.--gn-ui-button-width]=\"'21px'\"\n [style.--gn-ui-button-height]=\"'21px'\"\n >\n <mat-icon class=\"material-symbols-outlined text-[22px] !w-[21px] !h-[21px]\"\n >close</mat-icon\n >\n </gn-ui-button>\n</div>\n" }]
|
|
23
|
-
}], propDecorators: { type: [{
|
|
24
|
-
type: Input
|
|
25
|
-
}], title: [{
|
|
26
|
-
type: Input
|
|
27
|
-
}], text: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}], closeMessage: [{
|
|
30
|
-
type: Input
|
|
31
|
-
}], notificationClose: [{
|
|
32
|
-
type: Output
|
|
33
|
-
}] } });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdWkvZWxlbWVudHMvc3JjL2xpYi9ub3RpZmljYXRpb24vbm90aWZpY2F0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdWkvZWxlbWVudHMvc3JjL2xpYi9ub3RpZmljYXRpb24vbm90aWZpY2F0aW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFlBQVksRUFDWixLQUFLLEVBQ0wsTUFBTSxHQUNQLE1BQU0sZUFBZSxDQUFBO0FBQ3RCLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQTtBQUM5QyxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sd0JBQXdCLENBQUE7QUFDdEQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHN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3ZlcmZsb3ctaGlkZGVuXCJcbiAgPlxuICAgIDxkaXYgY2xhc3M9XCJmb250LWJvbGQgdGV4dC1bMTZweF0gdGV4dC1ncmF5LTkwMFwiPlxuICAgICAge3sgdGl0bGUgfX1cbiAgICA8L2Rpdj5cbiAgICA8ZGl2IGNsYXNzPVwidGV4dC1bMTRweF0gdGV4dC1ncmF5LTgwMFwiPlxuICAgICAge3sgdGV4dCB9fVxuICAgIDwvZGl2PlxuICAgIDxhXG4gICAgICBocmVmXG4gICAgICAqbmdJZj1cImNsb3NlTWVzc2FnZVwiXG4gICAgICBjbGFzcz1cInRleHQtWzE0cHhdIGduLXVpLWxpbmtcIlxuICAgICAgKGNsaWNrKT1cImhhbmRsZUNsb3NlKCRldmVudClcIlxuICAgID5cbiAgICAgIHt7IGNsb3NlTWVzc2FnZSB9fVxuICAgIDwvYT5cbiAgPC9kaXY+XG4gIDxnbi11aS1idXR0b25cbiAgICB0eXBlPVwibGlnaHRcIlxuICAgIGNsYXNzPVwic2hyaW5rLTBcIlxuICAgIChidXR0b25DbGljayk9XCJoYW5kbGVDbG9zZSgpXCJcbiAgICBbc3R5bGUuLS1nbi11aS1idXR0b24tcGFkZGluZ109XCIwXCJcbiAgICBbc3R5bGUuLS1nbi11aS1idXR0b24td2lkdGhdPVwiJzIxcHgnXCJcbiAgICBbc3R5bGUuLS1nbi11aS1idXR0b24taGVpZ2h0XT1cIicyMXB4J1wiXG4gID5cbiAgICA8bWF0LWljb24gY2xhc3M9XCJtYXRlcmlhbC1zeW1ib2xzLW91dGxpbmVkIHRleHQtWzIycHhdICF3LVsyMXB4XSAhaC1bMjFweF1cIlxuICAgICAgPmNsb3NlPC9tYXQtaWNvblxuICAgID5cbiAgPC9nbi11aS1idXR0b24+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/feature/notifications/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAA;AAClD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,iEAAiE,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class FeatureNotificationsModule {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureNotificationsModule, never>;
|
|
4
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureNotificationsModule, never, never, never>;
|
|
5
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FeatureNotificationsModule>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=feature-notifications.module.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"feature-notifications.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/notifications/src/lib/feature-notifications.module.ts"],"names":[],"mappings":";AAGA,qBAMa,0BAA0B;yCAA1B,0BAA0B;0CAA1B,0BAA0B;0CAA1B,0BAA0B;CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification.model.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/notifications/src/lib/notification.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAA;IAC9C,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { NotificationsService } from '../notifications.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NotificationsContainerComponent {
|
|
4
|
-
protected notificationsService: NotificationsService;
|
|
5
|
-
constructor(notificationsService: NotificationsService);
|
|
6
|
-
trackById(index: number, notification: {
|
|
7
|
-
id: number;
|
|
8
|
-
}): number;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsContainerComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsContainerComponent, "gn-ui-notifications-container", never, {}, {}, never, never, true, never>;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=notifications-container.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notifications-container.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;;AAU/D,qBAyBa,+BAA+B;IAC9B,SAAS,CAAC,oBAAoB,EAAE,oBAAoB;gBAA1C,oBAAoB,EAAE,oBAAoB;IAEhE,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE;yCAH1C,+BAA+B;2CAA/B,+BAA+B;CAM3C"}
|