@colijnit/sharedcomponents 262.1.26 → 262.1.27
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-sharedcomponents.mjs +165 -175
- package/fesm2022/colijnit-sharedcomponents.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/lib/components/stock/style/_layout.scss +22 -20
- package/lib/components/stock/style/_material-definition.scss +8 -4
- package/lib/components/tab-bar/style/_layout.scss +22 -15
- package/lib/components/tab-bar/style/_material-definition.scss +4 -2
- package/lib/style/_variables.scss +1 -0
- package/package.json +1 -1
|
@@ -2131,84 +2131,74 @@ class StockInformationComponent {
|
|
|
2131
2131
|
}
|
|
2132
2132
|
}
|
|
2133
2133
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: StockInformationComponent, deps: [{ token: SharedConnectorService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2134
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: StockInformationComponent, isStandalone: false, selector: "co-stock-information", inputs: { article: "article", articleStockState: "articleStockState", allAvailableStockInformation: "allAvailableStockInformation", allTechnicalStockInformation: "allTechnicalStockInformation", economicalStock: "economicalStock", perceptibleStorage: "perceptibleStorage" }, ngImport: i0, template: `
|
|
2135
|
-
@if (article) {
|
|
2136
|
-
<div class="stock-info">
|
|
2137
|
-
<div class="stock-info-row" >
|
|
2138
|
-
<div class="stock-
|
|
2139
|
-
<
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
<
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
<
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
<
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
<
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
<span class="stock-span" [textContent]="perceptibleStorage"></span>
|
|
2167
|
-
</div>
|
|
2168
|
-
</div>
|
|
2169
|
-
}
|
|
2170
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i3.ImageComponent, selector: "co-image", inputs: ["source", "placeHolder"] }, { kind: "pipe", type: SharedLocalizePipe, name: "sharedLocalize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
2134
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: StockInformationComponent, isStandalone: false, selector: "co-stock-information", inputs: { article: "article", articleStockState: "articleStockState", allAvailableStockInformation: "allAvailableStockInformation", allTechnicalStockInformation: "allTechnicalStockInformation", economicalStock: "economicalStock", perceptibleStorage: "perceptibleStorage" }, ngImport: i0, template: `
|
|
2135
|
+
@if (article) {
|
|
2136
|
+
<div class="stock-info">
|
|
2137
|
+
<div class="stock-info-row" >
|
|
2138
|
+
<div class="stock-status">
|
|
2139
|
+
<label class="stock-label" [textContent]="'DESCRIPTION' | sharedLocalize"></label>
|
|
2140
|
+
<span class="stock-span" [textContent]="article.description"></span>
|
|
2141
|
+
</div>
|
|
2142
|
+
</div>
|
|
2143
|
+
<div class="stock-status">
|
|
2144
|
+
<label class="stock-label" [textContent]="'ARTICLE_NUMBER' | sharedLocalize"></label>
|
|
2145
|
+
<span class="stock-span" [textContent]="article.articleNumber"></span>
|
|
2146
|
+
</div>
|
|
2147
|
+
<div class="stock-status">
|
|
2148
|
+
<label class="stock-label" [textContent]="'AMOUNT_IN_STOCK' | sharedLocalize"></label>
|
|
2149
|
+
<span class="stock-span" [textContent]="allTechnicalStockInformation"></span>
|
|
2150
|
+
</div>
|
|
2151
|
+
<div class="stock-status">
|
|
2152
|
+
<label class="stock-label" [textContent]="'AMOUNT_AVAILABLE' | sharedLocalize"></label>
|
|
2153
|
+
<span class="stock-span" [textContent]="allAvailableStockInformation"></span>
|
|
2154
|
+
</div>
|
|
2155
|
+
<div class="stock-status">
|
|
2156
|
+
<label class="stock-label" [textContent]="'ECONOMICAL_STOCK' | sharedLocalize"></label>
|
|
2157
|
+
<span class="stock-span" [textContent]="economicalStock"></span>
|
|
2158
|
+
</div>
|
|
2159
|
+
<div class="stock-status">
|
|
2160
|
+
<label class="stock-label" [textContent]="'PERCEPTIBLE_STORAGE' | sharedLocalize"></label>
|
|
2161
|
+
<span class="stock-span" [textContent]="perceptibleStorage"></span>
|
|
2162
|
+
</div>
|
|
2163
|
+
</div>
|
|
2164
|
+
}
|
|
2165
|
+
`, isInline: true, dependencies: [{ kind: "pipe", type: SharedLocalizePipe, name: "sharedLocalize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
2171
2166
|
}
|
|
2172
2167
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: StockInformationComponent, decorators: [{
|
|
2173
2168
|
type: Component,
|
|
2174
2169
|
args: [{
|
|
2175
2170
|
selector: "co-stock-information",
|
|
2176
|
-
template: `
|
|
2177
|
-
@if (article) {
|
|
2178
|
-
<div class="stock-info">
|
|
2179
|
-
<div class="stock-info-row" >
|
|
2180
|
-
<div class="stock-
|
|
2181
|
-
<
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
<
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
<
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
<
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
<
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
<label class="stock-label" [textContent]="'PERCEPTIBLE_STORAGE' | sharedLocalize"></label>
|
|
2208
|
-
<span class="stock-span" [textContent]="perceptibleStorage"></span>
|
|
2209
|
-
</div>
|
|
2210
|
-
</div>
|
|
2211
|
-
}
|
|
2171
|
+
template: `
|
|
2172
|
+
@if (article) {
|
|
2173
|
+
<div class="stock-info">
|
|
2174
|
+
<div class="stock-info-row" >
|
|
2175
|
+
<div class="stock-status">
|
|
2176
|
+
<label class="stock-label" [textContent]="'DESCRIPTION' | sharedLocalize"></label>
|
|
2177
|
+
<span class="stock-span" [textContent]="article.description"></span>
|
|
2178
|
+
</div>
|
|
2179
|
+
</div>
|
|
2180
|
+
<div class="stock-status">
|
|
2181
|
+
<label class="stock-label" [textContent]="'ARTICLE_NUMBER' | sharedLocalize"></label>
|
|
2182
|
+
<span class="stock-span" [textContent]="article.articleNumber"></span>
|
|
2183
|
+
</div>
|
|
2184
|
+
<div class="stock-status">
|
|
2185
|
+
<label class="stock-label" [textContent]="'AMOUNT_IN_STOCK' | sharedLocalize"></label>
|
|
2186
|
+
<span class="stock-span" [textContent]="allTechnicalStockInformation"></span>
|
|
2187
|
+
</div>
|
|
2188
|
+
<div class="stock-status">
|
|
2189
|
+
<label class="stock-label" [textContent]="'AMOUNT_AVAILABLE' | sharedLocalize"></label>
|
|
2190
|
+
<span class="stock-span" [textContent]="allAvailableStockInformation"></span>
|
|
2191
|
+
</div>
|
|
2192
|
+
<div class="stock-status">
|
|
2193
|
+
<label class="stock-label" [textContent]="'ECONOMICAL_STOCK' | sharedLocalize"></label>
|
|
2194
|
+
<span class="stock-span" [textContent]="economicalStock"></span>
|
|
2195
|
+
</div>
|
|
2196
|
+
<div class="stock-status">
|
|
2197
|
+
<label class="stock-label" [textContent]="'PERCEPTIBLE_STORAGE' | sharedLocalize"></label>
|
|
2198
|
+
<span class="stock-span" [textContent]="perceptibleStorage"></span>
|
|
2199
|
+
</div>
|
|
2200
|
+
</div>
|
|
2201
|
+
}
|
|
2212
2202
|
`,
|
|
2213
2203
|
encapsulation: ViewEncapsulation.None,
|
|
2214
2204
|
standalone: false
|
|
@@ -2279,114 +2269,114 @@ class TabBarComponent {
|
|
|
2279
2269
|
this.warehouseSelected.emit(event);
|
|
2280
2270
|
}
|
|
2281
2271
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TabBarComponent, deps: [{ token: StockService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2282
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TabBarComponent, isStandalone: false, selector: "co-tab-bar", inputs: { wareHouseLabel: "wareHouseLabel", wareHouseSearchLabel: "wareHouseSearchLabel", tabs: "tabs", secondaryTabs: "secondaryTabs", ActivateSecondaryTabs: "ActivateSecondaryTabs", dataWareHouseCode: "dataWareHouseCode", article: "article", showWarehouseSelection: "showWarehouseSelection", selectedWarehouse: "selectedWarehouse" }, outputs: { warehouseSelected: "warehouseSelected" }, ngImport: i0, template: `
|
|
2283
|
-
<div class="tab-bar-wrapper">
|
|
2284
|
-
<div class="tab-bar
|
|
2285
|
-
<div class="
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
<co-
|
|
2289
|
-
[label]="
|
|
2290
|
-
[
|
|
2291
|
-
[
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
</div>
|
|
2330
|
-
|
|
2331
|
-
</div>
|
|
2332
|
-
</div>
|
|
2272
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TabBarComponent, isStandalone: false, selector: "co-tab-bar", inputs: { wareHouseLabel: "wareHouseLabel", wareHouseSearchLabel: "wareHouseSearchLabel", tabs: "tabs", secondaryTabs: "secondaryTabs", ActivateSecondaryTabs: "ActivateSecondaryTabs", dataWareHouseCode: "dataWareHouseCode", article: "article", showWarehouseSelection: "showWarehouseSelection", selectedWarehouse: "selectedWarehouse" }, outputs: { warehouseSelected: "warehouseSelected" }, ngImport: i0, template: `
|
|
2273
|
+
<div class="tab-bar-wrapper">
|
|
2274
|
+
<div class="tab-bar">
|
|
2275
|
+
<div class="tab-bar-primary">
|
|
2276
|
+
@for (tab of tabs; track tab) {
|
|
2277
|
+
<div class="tab-primary">
|
|
2278
|
+
<co-button
|
|
2279
|
+
[label]="tab.title"
|
|
2280
|
+
[screenConfigurationObject]="tab.cfg"
|
|
2281
|
+
[class.active]="tab.active"
|
|
2282
|
+
(click)="selectTab(tab)"
|
|
2283
|
+
></co-button>
|
|
2284
|
+
</div>
|
|
2285
|
+
}
|
|
2286
|
+
</div>
|
|
2287
|
+
@if (ActivateSecondaryTabs) {
|
|
2288
|
+
<div class="secondary-tab-bar">
|
|
2289
|
+
@for (tab of secondaryTabs; track tab) {
|
|
2290
|
+
<co-button
|
|
2291
|
+
[label]="tab.title"
|
|
2292
|
+
[screenConfigurationObject]="tab.cfg"
|
|
2293
|
+
[class.active]="tab.active"
|
|
2294
|
+
(click)="selectSecondaryTab(tab)"
|
|
2295
|
+
></co-button>
|
|
2296
|
+
}
|
|
2297
|
+
</div>
|
|
2298
|
+
}
|
|
2299
|
+
<div class="tab-bar-warehouse-wrapper">
|
|
2300
|
+
<div class="stock-location-group">
|
|
2301
|
+
<div class="stock-location-right-group">
|
|
2302
|
+
@if (showWarehouseSelection) {
|
|
2303
|
+
<co-list-of-values
|
|
2304
|
+
[label]="wareHouseLabel"
|
|
2305
|
+
[displayField]="'warehouseDescription'"
|
|
2306
|
+
[collection]="dataWareHouseCode"
|
|
2307
|
+
[multiselect]="false"
|
|
2308
|
+
[required]="false"
|
|
2309
|
+
[readonly]="false"
|
|
2310
|
+
[customCssClass]="'mini-scrollbar'"
|
|
2311
|
+
[searchPlaceholder]="wareHouseSearchLabel"
|
|
2312
|
+
[(model)]="selectedWarehouse"
|
|
2313
|
+
(modelChange)="onSelectWarehouse($event)"
|
|
2314
|
+
class="custom-height"
|
|
2315
|
+
>
|
|
2316
|
+
</co-list-of-values>
|
|
2317
|
+
}
|
|
2318
|
+
</div>
|
|
2319
|
+
</div>
|
|
2320
|
+
</div>
|
|
2321
|
+
</div>
|
|
2322
|
+
</div>
|
|
2333
2323
|
`, isInline: true, dependencies: [{ kind: "component", type: i3.ListOfValuesComponent, selector: "co-list-of-values", inputs: ["model", "multiselect", "showToggleAll", "largeCollection", "displayField", "optionIcon", "collection", "collectionLoadFn", "collectionLoadFnProp", "leftIconData", "searchPlaceholder", "searchDisabled", "showChips"] }, { kind: "directive", type: i3.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: i3.ButtonComponent, selector: "co-button", inputs: ["label", "iconData", "iconDataRight", "isToggleButton", "isToggled", "hidden", "disabled"], outputs: ["onClick", "clickedWhileDisabled", "isToggledChange"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
2334
2324
|
}
|
|
2335
2325
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TabBarComponent, decorators: [{
|
|
2336
2326
|
type: Component,
|
|
2337
2327
|
args: [{
|
|
2338
2328
|
selector: "co-tab-bar",
|
|
2339
|
-
template: `
|
|
2340
|
-
<div class="tab-bar-wrapper">
|
|
2341
|
-
<div class="tab-bar
|
|
2342
|
-
<div class="
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
<co-
|
|
2346
|
-
[label]="
|
|
2347
|
-
[
|
|
2348
|
-
[
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
</div>
|
|
2387
|
-
|
|
2388
|
-
</div>
|
|
2389
|
-
</div>
|
|
2329
|
+
template: `
|
|
2330
|
+
<div class="tab-bar-wrapper">
|
|
2331
|
+
<div class="tab-bar">
|
|
2332
|
+
<div class="tab-bar-primary">
|
|
2333
|
+
@for (tab of tabs; track tab) {
|
|
2334
|
+
<div class="tab-primary">
|
|
2335
|
+
<co-button
|
|
2336
|
+
[label]="tab.title"
|
|
2337
|
+
[screenConfigurationObject]="tab.cfg"
|
|
2338
|
+
[class.active]="tab.active"
|
|
2339
|
+
(click)="selectTab(tab)"
|
|
2340
|
+
></co-button>
|
|
2341
|
+
</div>
|
|
2342
|
+
}
|
|
2343
|
+
</div>
|
|
2344
|
+
@if (ActivateSecondaryTabs) {
|
|
2345
|
+
<div class="secondary-tab-bar">
|
|
2346
|
+
@for (tab of secondaryTabs; track tab) {
|
|
2347
|
+
<co-button
|
|
2348
|
+
[label]="tab.title"
|
|
2349
|
+
[screenConfigurationObject]="tab.cfg"
|
|
2350
|
+
[class.active]="tab.active"
|
|
2351
|
+
(click)="selectSecondaryTab(tab)"
|
|
2352
|
+
></co-button>
|
|
2353
|
+
}
|
|
2354
|
+
</div>
|
|
2355
|
+
}
|
|
2356
|
+
<div class="tab-bar-warehouse-wrapper">
|
|
2357
|
+
<div class="stock-location-group">
|
|
2358
|
+
<div class="stock-location-right-group">
|
|
2359
|
+
@if (showWarehouseSelection) {
|
|
2360
|
+
<co-list-of-values
|
|
2361
|
+
[label]="wareHouseLabel"
|
|
2362
|
+
[displayField]="'warehouseDescription'"
|
|
2363
|
+
[collection]="dataWareHouseCode"
|
|
2364
|
+
[multiselect]="false"
|
|
2365
|
+
[required]="false"
|
|
2366
|
+
[readonly]="false"
|
|
2367
|
+
[customCssClass]="'mini-scrollbar'"
|
|
2368
|
+
[searchPlaceholder]="wareHouseSearchLabel"
|
|
2369
|
+
[(model)]="selectedWarehouse"
|
|
2370
|
+
(modelChange)="onSelectWarehouse($event)"
|
|
2371
|
+
class="custom-height"
|
|
2372
|
+
>
|
|
2373
|
+
</co-list-of-values>
|
|
2374
|
+
}
|
|
2375
|
+
</div>
|
|
2376
|
+
</div>
|
|
2377
|
+
</div>
|
|
2378
|
+
</div>
|
|
2379
|
+
</div>
|
|
2390
2380
|
`,
|
|
2391
2381
|
encapsulation: ViewEncapsulation.None,
|
|
2392
2382
|
standalone: false
|