fabrikantencore 2.1.0 → 2.1.2

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.
Files changed (20) hide show
  1. package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-import-sets/beheer-import-sets-dialog/beheer-import-sets-dialog.component.mjs +1 -1
  2. package/esm2020/src/app/modules/fabrikantencore/beheer/components/beheer-products/beheer-products-eigenschap/beheer-products-eigenschap.component.mjs +3 -3
  3. package/esm2020/src/app/modules/fabrikantencore/components/fab-filter/fab-filter.component.mjs +18 -3
  4. package/esm2020/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour-dialog/fab-filter-colour-dialog.component.mjs +45 -0
  5. package/esm2020/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour.component.mjs +50 -0
  6. package/esm2020/src/app/modules/fabrikantencore/components/fab-filters-input/fab-filters-input.component.mjs +4 -3
  7. package/esm2020/src/app/modules/fabrikantencore/fabrikantencore.module.mjs +9 -3
  8. package/esm2020/src/app/modules/fabrikantencore/services/fabrikanten.service.mjs +22 -2
  9. package/esm2020/src/app/modules/fabrikantencore/swagger/SwaggerClient.mjs +91 -1
  10. package/fesm2015/fabrikantencore.mjs +222 -11
  11. package/fesm2015/fabrikantencore.mjs.map +1 -1
  12. package/fesm2020/fabrikantencore.mjs +220 -11
  13. package/fesm2020/fabrikantencore.mjs.map +1 -1
  14. package/package.json +1 -1
  15. package/src/app/modules/fabrikantencore/components/fab-filter/fab-filter.component.d.ts +2 -1
  16. package/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour-dialog/fab-filter-colour-dialog.component.d.ts +21 -0
  17. package/src/app/modules/fabrikantencore/components/fab-filter-colour/fab-filter-colour.component.d.ts +20 -0
  18. package/src/app/modules/fabrikantencore/fabrikantencore.module.d.ts +27 -25
  19. package/src/app/modules/fabrikantencore/services/fabrikanten.service.d.ts +1 -0
  20. package/src/app/modules/fabrikantencore/swagger/SwaggerClient.d.ts +26 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fabrikantencore",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0"
6
6
  },
@@ -1,7 +1,7 @@
1
1
  import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
2
2
  import { FabrikantenService } from '../../services/fabrikanten.service';
3
3
  import { TranslateService } from '../../services/translate.service';
4
- import { FabrikantenFilterViewModel } from '../../swagger/SwaggerClient';
4
+ import { FabrikantenFilterOptionViewModel, FabrikantenFilterViewModel } from '../../swagger/SwaggerClient';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class FabFilterComponent implements OnInit {
7
7
  private FabrikantenService;
@@ -17,6 +17,7 @@ export declare class FabFilterComponent implements OnInit {
17
17
  SelectOption(): void;
18
18
  ResetSelection(): void;
19
19
  IsDisabled(): boolean;
20
+ GetSelectedOption(): FabrikantenFilterOptionViewModel | null;
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<FabFilterComponent, never>;
21
22
  static ɵcmp: i0.ɵɵComponentDeclaration<FabFilterComponent, "app-fab-filter", never, { "filter": "filter"; }, { "filterchanged": "filterchanged"; }, never, never, false, never>;
22
23
  }
@@ -0,0 +1,21 @@
1
+ import { ChangeDetectorRef } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import { FabrikantenService } from '../../../services/fabrikanten.service';
4
+ import { TranslateService } from '../../../services/translate.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class FabFilterColourDialogComponent {
7
+ private FabrikantenService;
8
+ TranslateService: TranslateService;
9
+ private ChangeDetectorRef;
10
+ dialogRef: MatDialogRef<FabFilterColourDialogComponent>;
11
+ data: any;
12
+ private filterId;
13
+ private filteroptionname;
14
+ private ShowRAL;
15
+ private ShowOther;
16
+ constructor(FabrikantenService: FabrikantenService, TranslateService: TranslateService, ChangeDetectorRef: ChangeDetectorRef, dialogRef: MatDialogRef<FabFilterColourDialogComponent>, data: any);
17
+ Select(colour: string): void;
18
+ Show(name: string): boolean;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<FabFilterColourDialogComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<FabFilterColourDialogComponent, "app-fab-filter-colour-dialog", never, {}, {}, never, never, false, never>;
21
+ }
@@ -0,0 +1,20 @@
1
+ import { ChangeDetectorRef } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ import { FabrikantenService } from '../../services/fabrikanten.service';
4
+ import { TranslateService } from '../../services/translate.service';
5
+ import { FabrikantenFilterViewModel } from '../../swagger/SwaggerClient';
6
+ import * as i0 from "@angular/core";
7
+ export declare class FabFilterColourComponent {
8
+ private FabrikantenService;
9
+ TranslateService: TranslateService;
10
+ private ChangeDetectorRef;
11
+ dialog: MatDialog;
12
+ SelectedOptionId: number;
13
+ _filter: FabrikantenFilterViewModel;
14
+ get filter(): FabrikantenFilterViewModel;
15
+ set filter(value: FabrikantenFilterViewModel);
16
+ constructor(FabrikantenService: FabrikantenService, TranslateService: TranslateService, ChangeDetectorRef: ChangeDetectorRef, dialog: MatDialog);
17
+ OpenDialog(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<FabFilterColourComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<FabFilterColourComponent, "app-fab-filter-colour", never, { "filter": "filter"; }, {}, never, never, false, never>;
20
+ }
@@ -54,32 +54,34 @@ import * as i52 from "./beheer/components/beheer-select-filter-dialog/beheer-sel
54
54
  import * as i53 from "./components/fab-texture/fab-texture.component";
55
55
  import * as i54 from "./components/fab-iframe/fab-iframe.component";
56
56
  import * as i55 from "./beheer/components/beheer-deeplink/beheer-deeplink.component";
57
- import * as i56 from "@angular/common";
58
- import * as i57 from "@angular/common/http";
59
- import * as i58 from "@angular/material/input";
60
- import * as i59 from "@angular/forms";
61
- import * as i60 from "@angular/platform-browser/animations";
62
- import * as i61 from "@angular/material/tooltip";
63
- import * as i62 from "@angular/material/button";
64
- import * as i63 from "@angular/material/list";
65
- import * as i64 from "@angular/material/expansion";
66
- import * as i65 from "@angular/material/card";
67
- import * as i66 from "@angular/material/icon";
68
- import * as i67 from "@angular/material/dialog";
69
- import * as i68 from "@angular/material/tree";
70
- import * as i69 from "@angular/material/sidenav";
71
- import * as i70 from "@angular/material/table";
72
- import * as i71 from "@angular/material/button-toggle";
73
- import * as i72 from "@angular/material/stepper";
74
- import * as i73 from "@angular/material/checkbox";
75
- import * as i74 from "@angular/material/divider";
76
- import * as i75 from "@angular/material/tabs";
77
- import * as i76 from "@angular/material/progress-spinner";
78
- import * as i77 from "@angular/material/select";
79
- import * as i78 from "@angular/material/snack-bar";
80
- import * as i79 from "@angular/router";
57
+ import * as i56 from "./components/fab-filter-colour/fab-filter-colour.component";
58
+ import * as i57 from "./components/fab-filter-colour/fab-filter-colour-dialog/fab-filter-colour-dialog.component";
59
+ import * as i58 from "@angular/common";
60
+ import * as i59 from "@angular/common/http";
61
+ import * as i60 from "@angular/material/input";
62
+ import * as i61 from "@angular/forms";
63
+ import * as i62 from "@angular/platform-browser/animations";
64
+ import * as i63 from "@angular/material/tooltip";
65
+ import * as i64 from "@angular/material/button";
66
+ import * as i65 from "@angular/material/list";
67
+ import * as i66 from "@angular/material/expansion";
68
+ import * as i67 from "@angular/material/card";
69
+ import * as i68 from "@angular/material/icon";
70
+ import * as i69 from "@angular/material/dialog";
71
+ import * as i70 from "@angular/material/tree";
72
+ import * as i71 from "@angular/material/sidenav";
73
+ import * as i72 from "@angular/material/table";
74
+ import * as i73 from "@angular/material/button-toggle";
75
+ import * as i74 from "@angular/material/stepper";
76
+ import * as i75 from "@angular/material/checkbox";
77
+ import * as i76 from "@angular/material/divider";
78
+ import * as i77 from "@angular/material/tabs";
79
+ import * as i78 from "@angular/material/progress-spinner";
80
+ import * as i79 from "@angular/material/select";
81
+ import * as i80 from "@angular/material/snack-bar";
82
+ import * as i81 from "@angular/router";
81
83
  export declare class FabrikantenCoreModule {
82
84
  static ɵfac: i0.ɵɵFactoryDeclaration<FabrikantenCoreModule, never>;
83
- static ɵmod: i0.ɵɵNgModuleDeclaration<FabrikantenCoreModule, [typeof i1.FabFiltersComponent, typeof i2.BeheerMainComponent, typeof i3.BeheerInlogComponent, typeof i4.BeheerNavComponent, typeof i5.BeheerUsersComponent, typeof i6.BeheerProductsComponent, typeof i7.BeheerFiltersComponent, typeof i8.BeheerSettingsComponent, typeof i9.FabLoaderComponent, typeof i10.BeheerSearchProductsComponent, typeof i11.BeheerSearchproductsKoppelDialogComponent, typeof i12.BeheerProductsProductComponent, typeof i13.BeheerProductsBcbproductComponent, typeof i14.BeheerImportSetsComponent, typeof i15.BeheerImportSetsOpbouwComponent, typeof i16.BeheerImportSetsEigenschapComponent, typeof i15.BeheerImportSetsEboComponent, typeof i17.BeheerProductsEigenschapComponent, typeof i18.BeheerProductsKoppelFilteroptionDailogComponent, typeof i19.FabFilterComponent, typeof i20.FabProductComponent, typeof i21.FabBcbProductComponent, typeof i22.FabProductSelectComponent, typeof i23.FabProductTileComponent, typeof i24.FabProductInfoComponent, typeof i25.FabProductBestekComponent, typeof i26.FabProductInfoPhotoComponent, typeof i27.FabProductInfoPhotoDialogComponent, typeof i28.BeheerEboKoppelComponent, typeof i29.BeheerSettingsOptionsComponent, typeof i30.BeheerSettingsStringComponent, typeof i31.BeheerImportSetsDialogComponent, typeof i32.BeheerCategoriesComponent, typeof i33.BeheerConnectCategoryDialogComponent, typeof i34.FabStartComponent, typeof i35.FabCategoriesComponent, typeof i36.FabCategoryTileComponent, typeof i37.FabBreadcrumbComponent, typeof i38.FabFiltersInputComponent, typeof i39.FabFiltersOverviewComponent, typeof i40.FabFlagComponent, typeof i41.BeheerTranslateComponent, typeof i42.FabLanguageSelectComponent, typeof i43.FabHeaderComponent, typeof i44.FabWebglViewerComponent, typeof i45.FabSvgViewerComponent, typeof i46.BeheerProductsOpbouwComponent, typeof i46.BeheerProductsEboComponent, typeof i47.BeheerProductsEigenschapBereikComponent, typeof i48.BeheerDisplayEboComponent, typeof i49.BeheerProductsConnectRangeinputComponent, typeof i50.FabRangeInputComponent, typeof i51.BeheerSettingsBooleanComponent, typeof i52.BeheerSelectFilterDialogComponent, typeof i53.FabTextureComponent, typeof i54.FabIframeComponent, typeof i55.BeheerDeeplinkComponent], [typeof i56.CommonModule, typeof i57.HttpClientModule, typeof i58.MatInputModule, typeof i59.FormsModule, typeof i60.BrowserAnimationsModule, typeof i61.MatTooltipModule, typeof i62.MatButtonModule, typeof i63.MatListModule, typeof i64.MatExpansionModule, typeof i65.MatCardModule, typeof i66.MatIconModule, typeof i67.MatDialogModule, typeof i68.MatTreeModule, typeof i69.MatSidenavModule, typeof i70.MatTableModule, typeof i71.MatButtonToggleModule, typeof i72.MatStepperModule, typeof i73.MatCheckboxModule, typeof i74.MatDividerModule, typeof i75.MatTabsModule, typeof i76.MatProgressSpinnerModule, typeof i77.MatSelectModule, typeof i78.MatSnackBarModule, typeof i79.RouterModule], [typeof i1.FabFiltersComponent]>;
85
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FabrikantenCoreModule, [typeof i1.FabFiltersComponent, typeof i2.BeheerMainComponent, typeof i3.BeheerInlogComponent, typeof i4.BeheerNavComponent, typeof i5.BeheerUsersComponent, typeof i6.BeheerProductsComponent, typeof i7.BeheerFiltersComponent, typeof i8.BeheerSettingsComponent, typeof i9.FabLoaderComponent, typeof i10.BeheerSearchProductsComponent, typeof i11.BeheerSearchproductsKoppelDialogComponent, typeof i12.BeheerProductsProductComponent, typeof i13.BeheerProductsBcbproductComponent, typeof i14.BeheerImportSetsComponent, typeof i15.BeheerImportSetsOpbouwComponent, typeof i16.BeheerImportSetsEigenschapComponent, typeof i15.BeheerImportSetsEboComponent, typeof i17.BeheerProductsEigenschapComponent, typeof i18.BeheerProductsKoppelFilteroptionDailogComponent, typeof i19.FabFilterComponent, typeof i20.FabProductComponent, typeof i21.FabBcbProductComponent, typeof i22.FabProductSelectComponent, typeof i23.FabProductTileComponent, typeof i24.FabProductInfoComponent, typeof i25.FabProductBestekComponent, typeof i26.FabProductInfoPhotoComponent, typeof i27.FabProductInfoPhotoDialogComponent, typeof i28.BeheerEboKoppelComponent, typeof i29.BeheerSettingsOptionsComponent, typeof i30.BeheerSettingsStringComponent, typeof i31.BeheerImportSetsDialogComponent, typeof i32.BeheerCategoriesComponent, typeof i33.BeheerConnectCategoryDialogComponent, typeof i34.FabStartComponent, typeof i35.FabCategoriesComponent, typeof i36.FabCategoryTileComponent, typeof i37.FabBreadcrumbComponent, typeof i38.FabFiltersInputComponent, typeof i39.FabFiltersOverviewComponent, typeof i40.FabFlagComponent, typeof i41.BeheerTranslateComponent, typeof i42.FabLanguageSelectComponent, typeof i43.FabHeaderComponent, typeof i44.FabWebglViewerComponent, typeof i45.FabSvgViewerComponent, typeof i46.BeheerProductsOpbouwComponent, typeof i46.BeheerProductsEboComponent, typeof i47.BeheerProductsEigenschapBereikComponent, typeof i48.BeheerDisplayEboComponent, typeof i49.BeheerProductsConnectRangeinputComponent, typeof i50.FabRangeInputComponent, typeof i51.BeheerSettingsBooleanComponent, typeof i52.BeheerSelectFilterDialogComponent, typeof i53.FabTextureComponent, typeof i54.FabIframeComponent, typeof i55.BeheerDeeplinkComponent, typeof i56.FabFilterColourComponent, typeof i57.FabFilterColourDialogComponent], [typeof i58.CommonModule, typeof i59.HttpClientModule, typeof i60.MatInputModule, typeof i61.FormsModule, typeof i62.BrowserAnimationsModule, typeof i63.MatTooltipModule, typeof i64.MatButtonModule, typeof i65.MatListModule, typeof i66.MatExpansionModule, typeof i67.MatCardModule, typeof i68.MatIconModule, typeof i69.MatDialogModule, typeof i70.MatTreeModule, typeof i71.MatSidenavModule, typeof i72.MatTableModule, typeof i73.MatButtonToggleModule, typeof i74.MatStepperModule, typeof i75.MatCheckboxModule, typeof i76.MatDividerModule, typeof i77.MatTabsModule, typeof i78.MatProgressSpinnerModule, typeof i79.MatSelectModule, typeof i80.MatSnackBarModule, typeof i81.RouterModule], [typeof i1.FabFiltersComponent]>;
84
86
  static ɵinj: i0.ɵɵInjectorDeclaration<FabrikantenCoreModule>;
85
87
  }
@@ -32,6 +32,7 @@ export declare class FabrikantenService {
32
32
  constructor(FabrikantenApiClient: FabrikantenApiClient, BestekService: BestekService, TranslateService: TranslateService, WebGLService: WebGLService, SVGService: SVGService, TextureService: TextureService, NavigateService: NavigateService);
33
33
  ResetAllFilters(ChangeDetectorRef: ChangeDetectorRef): void;
34
34
  SelectOption(filterid: number, filteroptionid: number, ChangeDetectorRef: ChangeDetectorRef): void;
35
+ SelectColour(filterid: number, colour: string, ChangeDetectorRef: ChangeDetectorRef): void;
35
36
  SetRangeInput(rangeinputid: number, value: number, ChangeDetectorRef: ChangeDetectorRef): void;
36
37
  SelectCategory(category: FabrikantenCategoryViewModel, ChangeDetectorRef: ChangeDetectorRef): void;
37
38
  SelectProduct(product: FabrikantenProductViewModel, ChangeDetectorRef: ChangeDetectorRef): void;
@@ -64,6 +64,8 @@ export declare class FabrikantenApiClient {
64
64
  protected processRemoveProductSelection(response: HttpResponseBase): Observable<void>;
65
65
  selectCategory(pSelectCategoryRequest: SelectCategoryRequest): Observable<void>;
66
66
  protected processSelectCategory(response: HttpResponseBase): Observable<void>;
67
+ selectColour(pSelectColourRequest: SelectColourRequest): Observable<void>;
68
+ protected processSelectColour(response: HttpResponseBase): Observable<void>;
67
69
  resetFilterSelection(pResetFilterRequest: ResetFilterRequest): Observable<void>;
68
70
  protected processResetFilterSelection(response: HttpResponseBase): Observable<void>;
69
71
  resetCategoryLayerSelection(pResetCategoryLayerRequest: ResetCategoryLayerRequest): Observable<void>;
@@ -386,6 +388,7 @@ export interface IBCBEigenschapViewModel {
386
388
  export declare class BCBEigenschapOptieViewModel implements IBCBEigenschapOptieViewModel {
387
389
  id: number;
388
390
  name?: string | undefined;
391
+ colour?: string | undefined;
389
392
  ignore: boolean;
390
393
  connected: boolean;
391
394
  bcbEigenschapOptieFilterOptionViewModels?: BCBEigenschapOptieFilterOptionViewModel[] | undefined;
@@ -398,6 +401,7 @@ export declare class BCBEigenschapOptieViewModel implements IBCBEigenschapOptieV
398
401
  export interface IBCBEigenschapOptieViewModel {
399
402
  id: number;
400
403
  name?: string | undefined;
404
+ colour?: string | undefined;
401
405
  ignore: boolean;
402
406
  connected: boolean;
403
407
  bcbEigenschapOptieFilterOptionViewModels?: BCBEigenschapOptieFilterOptionViewModel[] | undefined;
@@ -738,9 +742,11 @@ export interface IFabrikantenCategoryViewModel {
738
742
  export declare class FabrikantenFilterViewModel implements IFabrikantenFilterViewModel {
739
743
  id: number;
740
744
  name?: string | undefined;
745
+ filterType: FilterType;
741
746
  hidden: boolean;
742
747
  blocksProductSelect: boolean;
743
748
  selectedOption: number;
749
+ selectedColour?: string | undefined;
744
750
  options?: FabrikantenFilterOptionViewModel[] | undefined;
745
751
  constructor(data?: IFabrikantenFilterViewModel);
746
752
  init(_data?: any): void;
@@ -750,11 +756,17 @@ export declare class FabrikantenFilterViewModel implements IFabrikantenFilterVie
750
756
  export interface IFabrikantenFilterViewModel {
751
757
  id: number;
752
758
  name?: string | undefined;
759
+ filterType: FilterType;
753
760
  hidden: boolean;
754
761
  blocksProductSelect: boolean;
755
762
  selectedOption: number;
763
+ selectedColour?: string | undefined;
756
764
  options?: FabrikantenFilterOptionViewModel[] | undefined;
757
765
  }
766
+ export declare enum FilterType {
767
+ Dropdown = 1,
768
+ ColourSelector = 2
769
+ }
758
770
  export declare class FabrikantenFilterOptionViewModel implements IFabrikantenFilterOptionViewModel {
759
771
  id: number;
760
772
  name?: string | undefined;
@@ -1125,6 +1137,20 @@ export interface ISelectCategoryRequest {
1125
1137
  categoryLayer: number;
1126
1138
  categoryId: number;
1127
1139
  }
1140
+ export declare class SelectColourRequest implements ISelectColourRequest {
1141
+ sessionId?: string | undefined;
1142
+ filterId: number;
1143
+ colourName?: string | undefined;
1144
+ constructor(data?: ISelectColourRequest);
1145
+ init(_data?: any): void;
1146
+ static fromJS(data: any): SelectColourRequest;
1147
+ toJSON(data?: any): any;
1148
+ }
1149
+ export interface ISelectColourRequest {
1150
+ sessionId?: string | undefined;
1151
+ filterId: number;
1152
+ colourName?: string | undefined;
1153
+ }
1128
1154
  export declare class ResetFilterRequest implements IResetFilterRequest {
1129
1155
  sessionId?: string | undefined;
1130
1156
  filterId: number;