@wizishop/wizi-block 4.2.33-beta → 4.2.36-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.
- package/bundles/wizishop-wizi-block.umd.js +221 -277
- package/bundles/wizishop-wizi-block.umd.js.map +1 -1
- package/bundles/wizishop-wizi-block.umd.min.js +1 -1
- package/bundles/wizishop-wizi-block.umd.min.js.map +1 -1
- package/esm2015/lib/services/blocks/images/images-banner.service.js +2 -2
- package/esm2015/lib/services/blocks/images/images-simple.service.js +2 -2
- package/esm2015/lib/services/blocks/text-backgrounds/text-backgrounds-simple.service.js +2 -2
- package/esm2015/lib/services/blocks/text-backgrounds/text-backgrounds-with-banner.service.js +2 -2
- package/esm2015/lib/services/blocks/text-backgrounds/text-backgrounds-with-txt.service.js +2 -2
- package/esm2015/lib/shared/components/editorjs/tools/inline/tool-type/inline-style-tool.component.js +13 -8
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/tool-type/text-edition.component.js +13 -13
- package/esm2015/lib/shared/components/quill/quill.component.js +2 -1
- package/esm2015/lib/structures/map/background-form-left/map-background-form-left.component.js +32 -41
- package/esm2015/lib/structures/map/background-form-right/map-background-form-right.component.js +32 -41
- package/esm2015/lib/structures/map/fullpage/map-fullpage.component.js +32 -43
- package/esm2015/lib/structures/map/left-text/map-left-text.component.js +30 -41
- package/esm2015/lib/structures/map/right-text/map-right-text.component.js +30 -41
- package/esm2015/lib/structures/map/text-form/map-text-form.component.js +32 -43
- package/esm2015/lib/structures/structures.module.js +3 -1
- package/fesm2015/wizishop-wizi-block.js +215 -261
- package/fesm2015/wizishop-wizi-block.js.map +1 -1
- package/lib/structures/map/background-form-left/map-background-form-left.component.d.ts +8 -6
- package/lib/structures/map/background-form-right/map-background-form-right.component.d.ts +8 -6
- package/lib/structures/map/fullpage/map-fullpage.component.d.ts +7 -5
- package/lib/structures/map/left-text/map-left-text.component.d.ts +7 -5
- package/lib/structures/map/right-text/map-right-text.component.d.ts +7 -5
- package/lib/structures/map/text-form/map-text-form.component.d.ts +8 -6
- package/package.json +1 -5
- package/wizi-block.scss +576 -571
- package/wizishop-wizi-block.metadata.json +1 -1
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { StructuresComponent } from '../../structures.component';
|
|
3
3
|
import { OpenMapDto } from '../../../dtos/apis/maps/open-map.dto';
|
|
4
4
|
import { FormListDto } from '../../../dtos/apis/forms/form-list.dto';
|
|
5
5
|
import { ApiService } from '../../../services/utils/api.service';
|
|
6
6
|
import { MapBackgroundFormLeftDto } from '../../../dtos/blocks/map/map-background-form-left.dto';
|
|
7
7
|
import { FormDetailDto } from '../../../dtos/apis/forms/form-detail.dto';
|
|
8
|
-
export declare class MapBackgroundFormLeftComponent extends StructuresComponent<MapBackgroundFormLeftDto> implements OnInit, OnDestroy
|
|
8
|
+
export declare class MapBackgroundFormLeftComponent extends StructuresComponent<MapBackgroundFormLeftDto> implements OnInit, OnDestroy {
|
|
9
9
|
private apiService;
|
|
10
10
|
input: ElementRef;
|
|
11
11
|
address: string;
|
|
12
|
+
triggerAddress: string;
|
|
12
13
|
center: any;
|
|
14
|
+
googleMapReturnElement: OpenMapDto;
|
|
13
15
|
editPlaceMap: any;
|
|
16
|
+
firstTimeTrigger: boolean;
|
|
14
17
|
options: {};
|
|
15
18
|
layers: any[];
|
|
16
19
|
showMap: boolean;
|
|
@@ -19,13 +22,12 @@ export declare class MapBackgroundFormLeftComponent extends StructuresComponent<
|
|
|
19
22
|
selectedDetailForm: FormDetailDto[];
|
|
20
23
|
constructor(apiService: ApiService);
|
|
21
24
|
ngOnInit(): void;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
createEditAlgoliaInput(): void;
|
|
25
|
-
selectThisForm(): void;
|
|
25
|
+
setCoordinateOnPlaces(googleResults: OpenMapDto): void;
|
|
26
|
+
handleAddressChange(event: any): void;
|
|
26
27
|
/**
|
|
27
28
|
* Avoid partial map loaded at the initialization
|
|
28
29
|
* @param map
|
|
29
30
|
*/
|
|
30
31
|
onMapReady(map: any): void;
|
|
32
|
+
selectThisForm(): void;
|
|
31
33
|
}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { StructuresComponent } from '../../structures.component';
|
|
3
3
|
import { OpenMapDto } from '../../../dtos/apis/maps/open-map.dto';
|
|
4
4
|
import { FormListDto } from '../../../dtos/apis/forms/form-list.dto';
|
|
5
5
|
import { ApiService } from '../../../services/utils/api.service';
|
|
6
6
|
import { MapBackgroundFormRightDto } from '../../../dtos/blocks/map/map-background-form-right.dto';
|
|
7
7
|
import { FormDetailDto } from '../../../dtos/apis/forms/form-detail.dto';
|
|
8
|
-
export declare class MapBackgroundFormRightComponent extends StructuresComponent<MapBackgroundFormRightDto> implements OnInit, OnDestroy
|
|
8
|
+
export declare class MapBackgroundFormRightComponent extends StructuresComponent<MapBackgroundFormRightDto> implements OnInit, OnDestroy {
|
|
9
9
|
private apiService;
|
|
10
10
|
input: ElementRef;
|
|
11
11
|
address: string;
|
|
12
|
+
triggerAddress: string;
|
|
12
13
|
center: any;
|
|
14
|
+
googleMapReturnElement: OpenMapDto;
|
|
13
15
|
editPlaceMap: any;
|
|
16
|
+
firstTimeTrigger: boolean;
|
|
14
17
|
options: {};
|
|
15
18
|
layers: any[];
|
|
16
19
|
showMap: boolean;
|
|
@@ -19,13 +22,12 @@ export declare class MapBackgroundFormRightComponent extends StructuresComponent
|
|
|
19
22
|
selectedDetailForm: FormDetailDto[];
|
|
20
23
|
constructor(apiService: ApiService);
|
|
21
24
|
ngOnInit(): void;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
createEditAlgoliaInput(): void;
|
|
25
|
-
selectThisForm(): void;
|
|
25
|
+
setCoordinateOnPlaces(googleResults: OpenMapDto): void;
|
|
26
|
+
handleAddressChange(event: any): void;
|
|
26
27
|
/**
|
|
27
28
|
* Avoid partial map loaded at the initialization
|
|
28
29
|
* @param map
|
|
29
30
|
*/
|
|
30
31
|
onMapReady(map: any): void;
|
|
32
|
+
selectThisForm(): void;
|
|
31
33
|
}
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
1
|
import { StructuresComponent } from '../../structures.component';
|
|
3
2
|
import { MapFullpageDto } from '../../../dtos/blocks/map/map-fullpage.dto';
|
|
4
3
|
import { ExternalConfigService } from '../../../services/utils/external-config.service';
|
|
5
4
|
import { OpenMapDto } from '../../../dtos/apis/maps/open-map.dto';
|
|
6
|
-
|
|
5
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
6
|
+
export declare class MapFullpageComponent extends StructuresComponent<MapFullpageDto> implements OnInit {
|
|
7
7
|
private externalConfigService;
|
|
8
8
|
input: ElementRef;
|
|
9
9
|
address: string;
|
|
10
|
+
triggerAddress: string;
|
|
10
11
|
center: any;
|
|
12
|
+
googleMapReturnElement: OpenMapDto;
|
|
11
13
|
editPlaceMap: any;
|
|
14
|
+
firstTimeTrigger: boolean;
|
|
12
15
|
options: {};
|
|
13
16
|
layers: any[];
|
|
14
17
|
showMap: boolean;
|
|
15
18
|
constructor(externalConfigService: ExternalConfigService);
|
|
16
19
|
ngOnInit(): void;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
createEditAlgoliaInput(): void;
|
|
20
|
+
setCoordinateOnPlaces(googleResults: OpenMapDto): void;
|
|
21
|
+
handleAddressChange(event: any): void;
|
|
20
22
|
/**
|
|
21
23
|
* Avoid partial map loaded at the initialization
|
|
22
24
|
* @param map
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { StructuresComponent } from '../../structures.component';
|
|
3
3
|
import { OpenMapDto } from '../../../dtos/apis/maps/open-map.dto';
|
|
4
4
|
import { MapLeftTextDto } from '../../../dtos/blocks/map/map-left-text.dto';
|
|
5
5
|
import { ExternalConfigService } from '../../../services/utils/external-config.service';
|
|
6
|
-
export declare class MapLeftTextComponent extends StructuresComponent<MapLeftTextDto> implements OnInit, OnDestroy
|
|
6
|
+
export declare class MapLeftTextComponent extends StructuresComponent<MapLeftTextDto> implements OnInit, OnDestroy {
|
|
7
7
|
private externalConfigService;
|
|
8
8
|
input: ElementRef;
|
|
9
9
|
address: string;
|
|
10
|
+
triggerAddress: string;
|
|
10
11
|
center: any;
|
|
12
|
+
googleMapReturnElement: OpenMapDto;
|
|
11
13
|
editPlaceMap: any;
|
|
14
|
+
firstTimeTrigger: boolean;
|
|
12
15
|
options: {};
|
|
13
16
|
layers: any[];
|
|
14
17
|
showMap: boolean;
|
|
15
18
|
constructor(externalConfigService: ExternalConfigService);
|
|
16
19
|
ngOnInit(): void;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
createEditAlgoliaInput(): void;
|
|
20
|
+
setCoordinateOnPlaces(googleResults: OpenMapDto): void;
|
|
21
|
+
handleAddressChange(event: any): void;
|
|
20
22
|
/**
|
|
21
23
|
* Avoid partial map loaded at the initialization
|
|
22
24
|
* @param map
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { StructuresComponent } from '../../structures.component';
|
|
3
3
|
import { OpenMapDto } from '../../../dtos/apis/maps/open-map.dto';
|
|
4
4
|
import { MapRightTextDto } from '../../../dtos/blocks/map/map-right-text.dto';
|
|
5
5
|
import { ExternalConfigService } from '../../../services/utils/external-config.service';
|
|
6
|
-
export declare class MapRightTextComponent extends StructuresComponent<MapRightTextDto> implements OnInit, OnDestroy
|
|
6
|
+
export declare class MapRightTextComponent extends StructuresComponent<MapRightTextDto> implements OnInit, OnDestroy {
|
|
7
7
|
private externalConfigService;
|
|
8
8
|
input: ElementRef;
|
|
9
9
|
address: string;
|
|
10
|
+
triggerAddress: string;
|
|
10
11
|
center: any;
|
|
12
|
+
googleMapReturnElement: OpenMapDto;
|
|
11
13
|
editPlaceMap: any;
|
|
14
|
+
firstTimeTrigger: boolean;
|
|
12
15
|
options: {};
|
|
13
16
|
layers: any[];
|
|
14
17
|
showMap: boolean;
|
|
15
18
|
constructor(externalConfigService: ExternalConfigService);
|
|
16
19
|
ngOnInit(): void;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
createEditAlgoliaInput(): void;
|
|
20
|
+
setCoordinateOnPlaces(googleResults: OpenMapDto): void;
|
|
21
|
+
handleAddressChange(event: any): void;
|
|
20
22
|
/**
|
|
21
23
|
* Avoid partial map loaded at the initialization
|
|
22
24
|
* @param map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { StructuresComponent } from '../../structures.component';
|
|
3
3
|
import { OpenMapDto } from '../../../dtos/apis/maps/open-map.dto';
|
|
4
4
|
import { MapTextFormDto } from '../../../dtos/blocks/map/map-text-form.dto';
|
|
@@ -6,13 +6,16 @@ import { ApiService } from '../../../services/utils/api.service';
|
|
|
6
6
|
import { ExternalConfigService } from '../../../services/utils/external-config.service';
|
|
7
7
|
import { FormDetailDto } from '../../../dtos/apis/forms/form-detail.dto';
|
|
8
8
|
import { FormListDto } from '../../../dtos/apis/forms/form-list.dto';
|
|
9
|
-
export declare class MapTextFormComponent extends StructuresComponent<MapTextFormDto> implements OnInit, OnDestroy
|
|
9
|
+
export declare class MapTextFormComponent extends StructuresComponent<MapTextFormDto> implements OnInit, OnDestroy {
|
|
10
10
|
private apiService;
|
|
11
11
|
private externalConfigService;
|
|
12
12
|
input: ElementRef;
|
|
13
13
|
address: string;
|
|
14
|
+
triggerAddress: string;
|
|
14
15
|
center: any;
|
|
16
|
+
googleMapReturnElement: OpenMapDto;
|
|
15
17
|
editPlaceMap: any;
|
|
18
|
+
firstTimeTrigger: boolean;
|
|
16
19
|
options: {};
|
|
17
20
|
layers: any[];
|
|
18
21
|
showMap: boolean;
|
|
@@ -21,13 +24,12 @@ export declare class MapTextFormComponent extends StructuresComponent<MapTextFor
|
|
|
21
24
|
selectedDetailForm: FormDetailDto[];
|
|
22
25
|
constructor(apiService: ApiService, externalConfigService: ExternalConfigService);
|
|
23
26
|
ngOnInit(): void;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
createEditAlgoliaInput(): void;
|
|
27
|
-
selectThisForm(): void;
|
|
27
|
+
setCoordinateOnPlaces(googleResults: OpenMapDto): void;
|
|
28
|
+
handleAddressChange(event: any): void;
|
|
28
29
|
/**
|
|
29
30
|
* Avoid partial map loaded at the initialization
|
|
30
31
|
* @param map
|
|
31
32
|
*/
|
|
32
33
|
onMapReady(map: any): void;
|
|
34
|
+
selectThisForm(): void;
|
|
33
35
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wizishop/wizi-block",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.36-beta",
|
|
4
4
|
"description": "## To use WiziBlock, you have to :",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -20,10 +20,6 @@
|
|
|
20
20
|
"@angular/common": "^10.1.4",
|
|
21
21
|
"@angular/core": "^10.1.4",
|
|
22
22
|
"@asymmetrik/ngx-leaflet": "^8.1.0",
|
|
23
|
-
"@codemirror/commands": "^6.0.0",
|
|
24
|
-
"@codemirror/lang-html": "^6.1.0",
|
|
25
|
-
"@codemirror/state": "^6.0.1",
|
|
26
|
-
"@codemirror/view": "^6.0.2",
|
|
27
23
|
"@ctrl/tinycolor": "^3.1.5",
|
|
28
24
|
"@fortawesome/fontawesome-svg-core": "^1.2.31",
|
|
29
25
|
"@fortawesome/free-brands-svg-icons": "^5.15.0",
|