@colijnit/catalog 261.20.2 → 261.20.4
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/fesm2022/colijnit-catalog.mjs +275 -221
- package/fesm2022/colijnit-catalog.mjs.map +1 -1
- package/index.d.ts +3 -1
- package/lib/component/catalog-article-tile/style/_layout.scss +14 -9
- package/lib/component/catalog-external-sources/style/_layout.scss +16 -0
- package/lib/component/catalog-external-sources/style/_material-definition.scss +1 -0
- package/lib/component/catalog-search/style/_layout.scss +1 -0
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1208,6 +1208,7 @@ declare class CatalogExternalSourcesComponent implements OnInit, OnDestroy {
|
|
|
1208
1208
|
externalSourceClick: EventEmitter<ExternalSourceViewmodel>;
|
|
1209
1209
|
catalogsLoaded: EventEmitter<boolean>;
|
|
1210
1210
|
showClass(): boolean;
|
|
1211
|
+
pinnedExternalSourceViewModels: ExternalSourceViewmodel[];
|
|
1211
1212
|
externalSourceViewModels: ExternalSourceViewmodel[];
|
|
1212
1213
|
unavailableCatalogs: CatalogDefinition[];
|
|
1213
1214
|
private _subs;
|
|
@@ -1215,6 +1216,7 @@ declare class CatalogExternalSourcesComponent implements OnInit, OnDestroy {
|
|
|
1215
1216
|
ngOnInit(): Promise<void>;
|
|
1216
1217
|
ngOnDestroy(): void;
|
|
1217
1218
|
private _getCatalogs;
|
|
1219
|
+
private _sortAndLoadAvailableCatalogs;
|
|
1218
1220
|
private _loadCatalogs;
|
|
1219
1221
|
private _loadUnavailableCatalogs;
|
|
1220
1222
|
static ɵfac: i0.ɵɵFactoryDeclaration<CatalogExternalSourcesComponent, never>;
|
|
@@ -1223,7 +1225,7 @@ declare class CatalogExternalSourcesComponent implements OnInit, OnDestroy {
|
|
|
1223
1225
|
|
|
1224
1226
|
declare class CatalogExternalSourcesModule {
|
|
1225
1227
|
static ɵfac: i0.ɵɵFactoryDeclaration<CatalogExternalSourcesModule, never>;
|
|
1226
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CatalogExternalSourcesModule, [typeof CatalogExternalSourcesComponent], [typeof i2.CommonModule, typeof CatalogFilterModule, typeof i3.ImageModule, typeof ResponsiveTextModule], [typeof CatalogExternalSourcesComponent]>;
|
|
1228
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CatalogExternalSourcesModule, [typeof CatalogExternalSourcesComponent], [typeof i2.CommonModule, typeof CatalogFilterModule, typeof i3.ImageModule, typeof ResponsiveTextModule, typeof CatalogPipeModule], [typeof CatalogExternalSourcesComponent]>;
|
|
1227
1229
|
static ɵinj: i0.ɵɵInjectorDeclaration<CatalogExternalSourcesModule>;
|
|
1228
1230
|
}
|
|
1229
1231
|
|
|
@@ -122,27 +122,32 @@
|
|
|
122
122
|
pointer-events: all;
|
|
123
123
|
padding: 0 !important;
|
|
124
124
|
font-size: 0;
|
|
125
|
-
width:
|
|
126
|
-
height:
|
|
125
|
+
width: 36px;
|
|
126
|
+
height: 36px;
|
|
127
127
|
text-align: center;
|
|
128
128
|
margin: 0;
|
|
129
|
-
border-radius:
|
|
129
|
+
border-radius: 5px;
|
|
130
130
|
background: #3E7EFF;
|
|
131
131
|
cursor: pointer;
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
justify-content: center;
|
|
133
|
+
.label {
|
|
134
|
+
display: none;
|
|
135
|
+
}
|
|
134
136
|
&:hover {
|
|
135
137
|
opacity: 0.8;
|
|
136
138
|
}
|
|
137
139
|
|
|
138
140
|
co-icon {
|
|
139
|
-
width:
|
|
140
|
-
height:
|
|
141
|
+
width: 28px;
|
|
142
|
+
height: 28px;
|
|
143
|
+
svg [fill] {
|
|
144
|
+
fill: #fff;
|
|
145
|
+
}
|
|
141
146
|
}
|
|
142
147
|
&.configurable {
|
|
143
148
|
co-icon {
|
|
144
|
-
width:
|
|
145
|
-
height:
|
|
149
|
+
width: 18px;
|
|
150
|
+
height: 18px;
|
|
146
151
|
svg {
|
|
147
152
|
fill: #FFF;
|
|
148
153
|
}
|
|
@@ -5,6 +5,22 @@
|
|
|
5
5
|
font-family: $co-catalog-external-sources-font-family;
|
|
6
6
|
font-size: $co-catalog-external-sources-font-size;
|
|
7
7
|
|
|
8
|
+
.pinned-label {
|
|
9
|
+
font-size: $co-catalog-external-sources-font-size-big;
|
|
10
|
+
font-weight: bold;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.pinned-divider-padding {
|
|
14
|
+
padding-top: 30px;
|
|
15
|
+
padding-bottom: 20px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.pinned-divider {
|
|
19
|
+
height: 1px;
|
|
20
|
+
width: 100%;
|
|
21
|
+
background-color: black;
|
|
22
|
+
}
|
|
23
|
+
|
|
8
24
|
.catalog-external-sources-wrapper {
|
|
9
25
|
display: grid;
|
|
10
26
|
grid-template-columns: repeat(auto-fit, minmax(10px, $co-catalog-external-sources-image-size));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
$co-catalog-external-sources-font-family: $ca-font-family !default;
|
|
2
2
|
$co-catalog-external-sources-font-size: $ca-font-size !default;
|
|
3
|
+
$co-catalog-external-sources-font-size-big: $ca-font-size-big !default;
|
|
3
4
|
$co-catalog-external-sources-image-size: 150px !default;
|
|
4
5
|
$co-catalog-external-sources-padding: 0 !default;
|
|
5
6
|
$co-catalog-external-sources-column-gap: 10px !default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/catalog",
|
|
3
|
-
"version": "261.20.
|
|
3
|
+
"version": "261.20.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "iOne Catalog module based on Angular 12",
|
|
6
6
|
"repository": "npm/npm",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@angular/platform-browser": ">=20.3.16",
|
|
16
16
|
"@angular/platform-browser-dynamic": ">=20.3.16",
|
|
17
17
|
"@angular/router": ">=20.3.16",
|
|
18
|
-
"@colijnit/articleapi": ">=261.1.
|
|
18
|
+
"@colijnit/articleapi": ">=261.1.1",
|
|
19
19
|
"@colijnit/transactionapi": ">=261.1.0",
|
|
20
20
|
"@colijnit/corecomponents_v12": ">=261.20.0",
|
|
21
21
|
"@colijnit/ioneconnector": ">=261.1.2",
|