@wizishop/wizi-block 3.3.52 → 3.3.55-beta

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 (83) hide show
  1. package/assets/i18n/en.json +1 -1
  2. package/assets/i18n/fr.json +1 -1
  3. package/assets/images/icons/Icon_AvisClient.svg +27 -48
  4. package/assets/images/icons/Icon_Citation.svg +9 -34
  5. package/assets/images/icons/Icon_Diaporama.svg +63 -33
  6. package/assets/images/icons/Icon_Faq.svg +20 -1
  7. package/assets/images/icons/Icon_Formulaire.svg +24 -44
  8. package/assets/images/icons/Icon_Html.svg +16 -37
  9. package/assets/images/icons/Icon_ImgAvecTexte.svg +36 -67
  10. package/assets/images/icons/Icon_LancerVideo.svg +23 -30
  11. package/assets/images/icons/Icon_ListProd.svg +31 -46
  12. package/assets/images/icons/Icon_Map.svg +67 -38
  13. package/assets/images/icons/Icon_Newsletter.svg +26 -37
  14. package/assets/images/icons/Icon_PlusieursImg.svg +44 -150
  15. package/assets/images/icons/Icon_PlusieursTxt.svg +48 -77
  16. package/assets/images/icons/Icon_Rassurances.svg +28 -59
  17. package/assets/images/icons/Icon_ReseauxSociaux.svg +35 -96
  18. package/assets/images/icons/Icon_Separateur.svg +9 -45
  19. package/assets/images/icons/Icon_Temoignage.svg +14 -35
  20. package/assets/images/icons/Icon_Timer.svg +55 -57
  21. package/assets/images/icons/Icon_TxtDansImage.svg +37 -27
  22. package/assets/images/icons/Icon_VideoDeFond.svg +14 -50
  23. package/assets/images/icons/Icon_ZoomProd.svg +32 -41
  24. package/bundles/wizishop-wizi-block.umd.js +185 -75
  25. package/bundles/wizishop-wizi-block.umd.js.map +1 -1
  26. package/bundles/wizishop-wizi-block.umd.min.js +1 -1
  27. package/bundles/wizishop-wizi-block.umd.min.js.map +1 -1
  28. package/esm2015/lib/components/blocks/blocks.component.js +10 -3
  29. package/esm2015/lib/components/configs/configs.component.js +16 -2
  30. package/esm2015/lib/dtos/configs/apis/api.dto.js +2 -1
  31. package/esm2015/lib/dtos/forms/forms.dto.js +6 -3
  32. package/esm2015/lib/services/blocks/images/images-banner.service.js +2 -2
  33. package/esm2015/lib/services/blocks/images/images-simple.service.js +2 -2
  34. package/esm2015/lib/services/blocks/launch-videos/launch-videos-button.service.js +2 -2
  35. package/esm2015/lib/services/blocks/launch-videos/launch-videos-buttontxt.service.js +2 -2
  36. package/esm2015/lib/services/blocks/sliders/sliders-double-imageright.service.js +2 -2
  37. package/esm2015/lib/services/blocks/sliders/sliders-fullpage.service.js +2 -2
  38. package/esm2015/lib/services/blocks/sliders/sliders-imageright.service.js +2 -2
  39. package/esm2015/lib/services/blocks/sliders/sliders-with-banner.service.js +2 -2
  40. package/esm2015/lib/services/blocks/text-backgrounds/text-backgrounds-simple.service.js +2 -2
  41. package/esm2015/lib/services/blocks/text-backgrounds/text-backgrounds-with-banner.service.js +2 -2
  42. package/esm2015/lib/services/blocks/text-backgrounds/text-backgrounds-with-txt.service.js +2 -2
  43. package/esm2015/lib/services/blocks/videos/videos-simple.service.js +5 -5
  44. package/esm2015/lib/services/blocks/videos/videos-txt-content.service.js +5 -5
  45. package/esm2015/lib/services/blocks/videos/videos-txt-left.service.js +5 -5
  46. package/esm2015/lib/services/blocks/videos/videos-txt.service.js +5 -5
  47. package/esm2015/lib/services/utils/api.service.js +4 -1
  48. package/esm2015/lib/services/utils/external-config.service.js +4 -1
  49. package/esm2015/lib/shared/components/structure-config/structure-config.component.js +8 -4
  50. package/esm2015/lib/shared/components/structure-tools/structure-tools.component.js +14 -4
  51. package/esm2015/lib/structures/images/double/images-double.component.js +2 -2
  52. package/esm2015/lib/structures/images/four-images-title/four-images-title.component.js +2 -2
  53. package/esm2015/lib/structures/images/two-images-title-text/two-images-title-text.component.js +2 -2
  54. package/esm2015/lib/structures/product/zoom/product-zoom.component.js +4 -2
  55. package/esm2015/lib/structures/product/zoom-complete/product-zoom-complete.component.js +4 -1
  56. package/esm2015/lib/structures/product/zoom-complete-background/product-zoom-complete-background.component.js +4 -1
  57. package/esm2015/lib/structures/product/zoom-complete-slider/product-zoom-complete-slider.component.js +4 -1
  58. package/esm2015/lib/structures/product/zoom-more/product-zoom-more.component.js +4 -1
  59. package/esm2015/lib/structures/product/zoom-selected/product-zoom-selected.component.js +4 -1
  60. package/esm2015/lib/structures/product/zoom-simple/product-zoom-simple.component.js +4 -1
  61. package/esm2015/lib/structures/product/zoom-triple-column/product-zoom-triple-column.component.js +4 -1
  62. package/esm2015/lib/structures/products-list/classic/products-list-classic.component.js +18 -10
  63. package/esm2015/lib/structures/products-list/selected/products-list-selected.component.js +18 -10
  64. package/esm2015/lib/structures/products-list/simple/products-list-simple.component.js +18 -10
  65. package/esm2015/lib/structures/text-backgrounds/link/text-backgrounds-link.component.js +2 -2
  66. package/esm2015/lib/wizi-block.component.js +6 -2
  67. package/fesm2015/wizishop-wizi-block.js +166 -70
  68. package/fesm2015/wizishop-wizi-block.js.map +1 -1
  69. package/lib/components/blocks/blocks.component.d.ts +4 -0
  70. package/lib/components/configs/configs.component.d.ts +1 -0
  71. package/lib/dtos/configs/apis/api.dto.d.ts +1 -0
  72. package/lib/dtos/forms/forms.dto.d.ts +3 -1
  73. package/lib/services/utils/api.service.d.ts +1 -0
  74. package/lib/services/utils/external-config.service.d.ts +1 -0
  75. package/lib/shared/components/structure-config/structure-config.component.d.ts +2 -0
  76. package/lib/shared/components/structure-tools/structure-tools.component.d.ts +4 -1
  77. package/lib/structures/products-list/classic/products-list-classic.component.d.ts +1 -0
  78. package/lib/structures/products-list/selected/products-list-selected.component.d.ts +1 -0
  79. package/lib/structures/products-list/simple/products-list-simple.component.d.ts +1 -0
  80. package/lib/wizi-block.component.d.ts +1 -0
  81. package/package.json +1 -1
  82. package/wizi-block.scss +7517 -7258
  83. package/wizishop-wizi-block.metadata.json +1 -1
@@ -13,13 +13,17 @@ export declare class BlocksComponent implements OnInit {
13
13
  private externalConfigService;
14
14
  contents: Array<any>;
15
15
  dynamicHidden: any[];
16
+ selectedConfig: any;
16
17
  hideConfig: boolean;
17
18
  translation: TranslationsDto;
18
19
  preview: boolean;
20
+ blockHover: boolean;
21
+ configActive: boolean;
19
22
  parsedContent: any[];
20
23
  constructor(wiziBlockService: WiziBlockService, resolver: ComponentFactoryResolver, contentService: ContentService, configService: ConfigService, externalConfigService: ExternalConfigService);
21
24
  ngOnInit(): void;
22
25
  setHideConfig(): void;
26
+ switchHover(event: any): void;
23
27
  addThis(index: any, type: any): void;
24
28
  addThisSelected(selected: any, verbose: any): void;
25
29
  isHiddenBLocks(id: any): boolean;
@@ -26,6 +26,7 @@ export declare class ConfigsComponent implements OnInit, OnDestroy {
26
26
  getValueHelp(value: any, index: any): string;
27
27
  checkHelp(index: any): boolean;
28
28
  updateChanges($event: any, key: any): void;
29
+ updateChangesReverse($event: any, key: any): void;
29
30
  updateContent(): void;
30
31
  updateNumber(event: any, index: any): void;
31
32
  ngOnDestroy(): void;
@@ -11,4 +11,5 @@ export declare class ApiDto {
11
11
  form_detail_route: string;
12
12
  comment_list_route: string;
13
13
  currency_route: string;
14
+ shop_info: string;
14
15
  }
@@ -196,13 +196,15 @@ export declare class FormsContentDto {
196
196
  value: any;
197
197
  step: Array<string>;
198
198
  stepKey: Array<string>;
199
+ labelEnable: string;
200
+ reverseShow: boolean;
199
201
  /**
200
202
  * 0: On
201
203
  * 1: Off
202
204
  */
203
205
  state: Array<string>;
204
206
  iconHelp: boolean;
205
- constructor(id: any, label: any, type: any, value: boolean | string | number, placeholder: any, help?: string | Array<string>, step?: any[], stepKey?: any[], state?: any[], iconHelp?: boolean);
207
+ constructor(id: any, label: any, type: any, value: boolean | string | number, placeholder: any, help?: string | Array<string>, step?: any[], stepKey?: any[], state?: any[], iconHelp?: boolean, labelEnable?: string, reverseShow?: boolean);
206
208
  }
207
209
  export declare class FormsDto<T> {
208
210
  block: any;
@@ -14,6 +14,7 @@ export declare class ApiService {
14
14
  setApis(api: ApiDto, id?: any): void;
15
15
  getShopComment(limit?: number): Observable<any>;
16
16
  getShopCurrency(): Observable<any>;
17
+ getShopTemplateLang(): Observable<any>;
17
18
  getAmplifyProductRoute(search: any, type: any, limit?: number): Observable<any>;
18
19
  getAmplifySpecificRoute(prodIds: Array<string>, type?: string, limit?: number): Observable<any>;
19
20
  getAmplifyProductByCategoryRoute(category: any, type?: string, limit?: number): Observable<any>;
@@ -9,6 +9,7 @@ export declare class ExternalConfigService {
9
9
  setExternalConfig(externalConfig: ExternalConfigDto): void;
10
10
  getUrlImageFront(): string;
11
11
  getDevise(): import("rxjs").Observable<any>;
12
+ getShopLang(): import("rxjs").Observable<any>;
12
13
  getAlgoliaAppId(): string;
13
14
  getAlgoliaApiKey(): string;
14
15
  getWidthBlock(): string;
@@ -12,6 +12,8 @@ export declare class StructureConfigComponent implements OnInit {
12
12
  blockUUID: any;
13
13
  position: string;
14
14
  isFullwidth: boolean;
15
+ small: boolean;
16
+ extraSmall: boolean;
15
17
  thisComponentActive: boolean;
16
18
  hideThis: boolean;
17
19
  readonly TYPE_CONFIG_POSITION_RIGHT_TOP = "is-right-top";
@@ -1,4 +1,4 @@
1
- import { ElementRef, OnDestroy, OnInit } from '@angular/core';
1
+ import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { ContentService } from '../../../services/utils/content.service';
3
3
  import { ConfigService } from '../../../services/utils/config.service';
4
4
  import { WiziBlockService } from '../../../services/wizi-block.service';
@@ -8,12 +8,15 @@ export declare class StructureToolsComponent implements OnInit, OnDestroy {
8
8
  private configService;
9
9
  uuid: string;
10
10
  dynamicHiddenStructure: boolean;
11
+ isHover: boolean;
12
+ isAlwaysHover: boolean;
11
13
  deleteButton: ElementRef;
12
14
  hideConfig: boolean;
13
15
  name: string;
14
16
  currentLength: number;
15
17
  currentIndex: number;
16
18
  blockIsHidden: boolean;
19
+ configIsActivated: EventEmitter<any>;
17
20
  private contentEventSubscription;
18
21
  constructor(wiziBlockService: WiziBlockService, contentService: ContentService, configService: ConfigService);
19
22
  ngOnInit(): void;
@@ -34,6 +34,7 @@ export declare class ProductsListClassicComponent extends StructuresComponent<Pr
34
34
  }[];
35
35
  constructor(apiService: ApiService, externalConfigService: ExternalConfigService, changeDetection: ChangeDetectorRef, translateService: TranslateService, currencyService: CurrencyService);
36
36
  ngOnInit(): Promise<void>;
37
+ initialize(): void;
37
38
  selectThisForm(): void;
38
39
  changeProduct(prodIds: any, persist?: boolean): void;
39
40
  getSelection(type: any): void;
@@ -33,6 +33,7 @@ export declare class ProductsListSelectedComponent extends StructuresComponent<P
33
33
  }[];
34
34
  constructor(apiService: ApiService, externalConfigService: ExternalConfigService, translateService: TranslateService, currencyService: CurrencyService);
35
35
  ngOnInit(): Promise<void>;
36
+ initialize(): void;
36
37
  selectThisForm(): void;
37
38
  changeProduct(prodIds: any, persist?: boolean): void;
38
39
  getSelection(type: any): void;
@@ -33,6 +33,7 @@ export declare class ProductsListSimpleComponent extends StructuresComponent<Pro
33
33
  }[];
34
34
  constructor(apiService: ApiService, externalConfigService: ExternalConfigService, translateService: TranslateService, currencyService: CurrencyService);
35
35
  ngOnInit(): Promise<void>;
36
+ initialize(): void;
36
37
  selectThisForm(): void;
37
38
  changeProduct(prodIds: any, persist?: boolean): void;
38
39
  getSelection(type: any): void;
@@ -33,6 +33,7 @@ export declare class WiziBlockComponent implements OnInit, OnDestroy {
33
33
  isHiddenConfig: any[];
34
34
  isFirstInLoop: boolean;
35
35
  loopIndex: number;
36
+ hoverChildren: boolean | string;
36
37
  private unsubscribe;
37
38
  currentTopTool: number;
38
39
  toolUnpin: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wizishop/wizi-block",
3
- "version": "3.3.52",
3
+ "version": "3.3.55-beta",
4
4
  "description": "## To use WiziBlock, you have to :",
5
5
  "repository": {
6
6
  "type": "git",