@wizishop/wizi-block 4.2.27-beta → 4.2.30-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 +13 -9
- 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/shared/components/editorjs/tools/paragraph/tool-type/text-edition.component.js +14 -10
- package/fesm2015/wizishop-wizi-block.js +13 -9
- package/fesm2015/wizishop-wizi-block.js.map +1 -1
- package/package.json +2 -1
- package/wizi-block.scss +215 -220
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wizishop/wizi-block",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.30-beta",
|
|
4
4
|
"description": "## To use WiziBlock, you have to :",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"@wizishop/ng-wizi-bulma": "^10.0.0",
|
|
30
30
|
"places.js": "^1.19.0",
|
|
31
31
|
"leaflet": "^1.7.1",
|
|
32
|
+
"monaco-editor": "^0.30.1",
|
|
32
33
|
"ngx-color-picker": "^10.1.0",
|
|
33
34
|
"ngx-monaco-editor": "^9.0.0",
|
|
34
35
|
"ngx-perfect-scrollbar": "^9.0.0",
|
package/wizi-block.scss
CHANGED
|
@@ -1882,204 +1882,33 @@ wb-structure-tools {
|
|
|
1882
1882
|
}
|
|
1883
1883
|
}
|
|
1884
1884
|
}
|
|
1885
|
-
.wb-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
text-align: center;
|
|
1895
|
-
width: rem(200);
|
|
1896
|
-
left: 0;
|
|
1897
|
-
right: 0;
|
|
1898
|
-
margin: auto;
|
|
1899
|
-
}
|
|
1900
|
-
|
|
1901
|
-
.button.is-hidden-button.is-rounded {
|
|
1902
|
-
padding: rem(8) rem(8);
|
|
1903
|
-
border: rem(1) solid transparent;
|
|
1904
|
-
position: absolute;
|
|
1905
|
-
top: -#{rem(45)};
|
|
1906
|
-
right: 0;
|
|
1907
|
-
@include media('<=#{$block-width-mobile * 1.4}') {
|
|
1908
|
-
right: -#{rem(26)};
|
|
1909
|
-
}
|
|
1910
|
-
z-index: 11000;
|
|
1911
|
-
width: rem(36);
|
|
1912
|
-
@include simple_transition();
|
|
1913
|
-
|
|
1914
|
-
&:not(.is-danger) {
|
|
1915
|
-
color: lighten($wb-secondary-text-color, 20%);
|
|
1916
|
-
@include media('>=1419px', '<1515px') {
|
|
1917
|
-
right: -20px !important;
|
|
1918
|
-
}
|
|
1919
|
-
|
|
1920
|
-
&:hover {
|
|
1921
|
-
background-color: lighten($wb-secondary-text-color, 20%);
|
|
1922
|
-
color: $wb-white;
|
|
1923
|
-
}
|
|
1924
|
-
}
|
|
1925
|
-
}
|
|
1926
|
-
|
|
1927
|
-
&__container {
|
|
1928
|
-
padding-bottom: rem(30);
|
|
1929
|
-
display: block;
|
|
1930
|
-
height: 100%;
|
|
1931
|
-
width: 100%;
|
|
1932
|
-
box-sizing: border-box;
|
|
1933
|
-
transition: 0s !important;
|
|
1934
|
-
position: relative;
|
|
1935
|
-
z-index: 1;
|
|
1936
|
-
|
|
1937
|
-
&--focused {
|
|
1938
|
-
z-index: 50;
|
|
1939
|
-
}
|
|
1940
|
-
|
|
1941
|
-
.wb-component__container {
|
|
1942
|
-
display: block;
|
|
1943
|
-
height: 100%;
|
|
1944
|
-
width: 100%;
|
|
1945
|
-
position: relative;
|
|
1946
|
-
}
|
|
1947
|
-
&:hover,
|
|
1948
|
-
&:focus,
|
|
1949
|
-
.hover & {
|
|
1950
|
-
.wb-component__container {
|
|
1951
|
-
border-color: $wizishop-blue;
|
|
1952
|
-
}
|
|
1953
|
-
.wb-structure-tools {
|
|
1954
|
-
background-color: $wizishop-blue;
|
|
1955
|
-
}
|
|
1956
|
-
}
|
|
1957
|
-
}
|
|
1958
|
-
|
|
1959
|
-
.border-blue {
|
|
1960
|
-
.wb-component__container {
|
|
1961
|
-
border-color: $wizishop-blue;
|
|
1962
|
-
}
|
|
1963
|
-
}
|
|
1964
|
-
|
|
1965
|
-
&.cdk-drop-list-dragging .wb-blocks__container:not(.cdk-drag-placeholder) {
|
|
1966
|
-
transition: all 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
1967
|
-
|
|
1968
|
-
.wb-videos-simple,
|
|
1969
|
-
.wb-videos-txt,
|
|
1970
|
-
.wb-videos-txt-left,
|
|
1971
|
-
.wb-videos-txt-content {
|
|
1972
|
-
&__fakeframe {
|
|
1973
|
-
display: flex !important;
|
|
1974
|
-
}
|
|
1975
|
-
|
|
1976
|
-
&__frame {
|
|
1977
|
-
display: none !important;
|
|
1978
|
-
}
|
|
1979
|
-
}
|
|
1980
|
-
}
|
|
1981
|
-
|
|
1982
|
-
&.cdk-drop-list-dragging {
|
|
1983
|
-
.wb-videos-simple,
|
|
1984
|
-
.wb-videos-txt,
|
|
1985
|
-
.wb-videos-txt-left,
|
|
1986
|
-
.wb-videos-txt-content {
|
|
1987
|
-
&__fakeframe {
|
|
1988
|
-
display: flex !important;
|
|
1989
|
-
}
|
|
1990
|
-
&__frame {
|
|
1991
|
-
display: none !important;
|
|
1992
|
-
}
|
|
1993
|
-
}
|
|
1994
|
-
|
|
1995
|
-
.wb-component__container {
|
|
1996
|
-
border: rem(2) solid $wizishop-blue !important;
|
|
1997
|
-
}
|
|
1998
|
-
}
|
|
1999
|
-
|
|
2000
|
-
&-empty {
|
|
2001
|
-
text-align: center;
|
|
2002
|
-
background-color: lighten($wb-border-color, 13%);
|
|
2003
|
-
padding: rem(80);
|
|
2004
|
-
margin-bottom: rem(30);
|
|
2005
|
-
|
|
2006
|
-
img {
|
|
2007
|
-
width: rem(75);
|
|
2008
|
-
margin: 0 auto;
|
|
2009
|
-
display: block;
|
|
2010
|
-
}
|
|
2011
|
-
|
|
2012
|
-
p {
|
|
2013
|
-
&:first-of-type {
|
|
2014
|
-
font-size: rem(16);
|
|
2015
|
-
font-weight: 500;
|
|
2016
|
-
color: $wb-main-text-color;
|
|
2017
|
-
margin: rem(20);
|
|
2018
|
-
}
|
|
2019
|
-
|
|
2020
|
-
&:last-of-type {
|
|
2021
|
-
font-size: rem(14);
|
|
2022
|
-
font-weight: 400;
|
|
2023
|
-
color: $wb-secondary-text-color;
|
|
2024
|
-
}
|
|
2025
|
-
}
|
|
2026
|
-
}
|
|
2027
|
-
}
|
|
2028
|
-
|
|
2029
|
-
.wb-blocks__container.cdk-drag-animating {
|
|
2030
|
-
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
2031
|
-
|
|
2032
|
-
.wb-videos-simple,
|
|
2033
|
-
.wb-videos-txt,
|
|
2034
|
-
.wb-videos-txt-left,
|
|
2035
|
-
.wb-videos-txt-content {
|
|
2036
|
-
&__fakeframe {
|
|
2037
|
-
display: flex !important;
|
|
2038
|
-
}
|
|
2039
|
-
&__frame {
|
|
2040
|
-
display: none !important;
|
|
2041
|
-
}
|
|
2042
|
-
}
|
|
2043
|
-
}
|
|
2044
|
-
|
|
2045
|
-
.wb-blocks__container.cdk-drag-placeholder {
|
|
2046
|
-
opacity: 0.2;
|
|
2047
|
-
.wb-videos-simple,
|
|
2048
|
-
.wb-videos-txt,
|
|
2049
|
-
.wb-videos-txt-left,
|
|
2050
|
-
.wb-videos-txt-content {
|
|
2051
|
-
&__fakeframe {
|
|
2052
|
-
display: flex !important;
|
|
2053
|
-
}
|
|
2054
|
-
&__frame {
|
|
2055
|
-
display: none !important;
|
|
2056
|
-
}
|
|
1885
|
+
.wb-previews {
|
|
1886
|
+
&__iframe {
|
|
1887
|
+
opacity: 0;
|
|
1888
|
+
width: 100%;
|
|
1889
|
+
height: calc(100vh - #{rem(280)});
|
|
1890
|
+
min-height: calc(100vh - #{rem(280)});
|
|
1891
|
+
overflow-y: scroll;
|
|
1892
|
+
&.is-active {
|
|
1893
|
+
opacity: 1;
|
|
2057
1894
|
}
|
|
2058
|
-
|
|
1895
|
+
border: rem(1) dashed $wb-border-color;
|
|
1896
|
+
}
|
|
2059
1897
|
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
1898
|
+
&__loader {
|
|
1899
|
+
display: none;
|
|
1900
|
+
height: calc(100vh - #{rem(280)});
|
|
1901
|
+
min-height: calc(100vh - #{rem(280)});
|
|
2063
1902
|
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
.wb-videos-txt-left,
|
|
2067
|
-
.wb-videos-txt-content {
|
|
2068
|
-
&__fakeframe {
|
|
2069
|
-
display: flex !important;
|
|
2070
|
-
}
|
|
2071
|
-
&__frame {
|
|
2072
|
-
display: none !important;
|
|
2073
|
-
}
|
|
1903
|
+
&.is-active {
|
|
1904
|
+
display: block;
|
|
2074
1905
|
}
|
|
2075
|
-
}
|
|
1906
|
+
}
|
|
2076
1907
|
|
|
2077
|
-
.wb-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
}
|
|
2082
|
-
}
|
|
1908
|
+
.wb-loader {
|
|
1909
|
+
margin: 0 auto 1.875rem auto;
|
|
1910
|
+
padding-top: rem(85);
|
|
1911
|
+
}
|
|
2083
1912
|
}
|
|
2084
1913
|
.wb-forms-onboarding {
|
|
2085
1914
|
width: 100%;
|
|
@@ -3447,11 +3276,6 @@ $focused-background-color: rgba(34, 186, 255, 0.08);
|
|
|
3447
3276
|
border: 1px solid #eaeaea;
|
|
3448
3277
|
border-radius: 3px;
|
|
3449
3278
|
height: calc(100% - 56px);
|
|
3450
|
-
|
|
3451
|
-
.monaco-editor {
|
|
3452
|
-
width: 100% !important;
|
|
3453
|
-
height: 100% !important;
|
|
3454
|
-
}
|
|
3455
3279
|
}
|
|
3456
3280
|
|
|
3457
3281
|
&__buttons {
|
|
@@ -14351,33 +14175,204 @@ $color-size-choose: #6c6c6c;
|
|
|
14351
14175
|
}
|
|
14352
14176
|
}
|
|
14353
14177
|
}
|
|
14354
|
-
.wb-
|
|
14355
|
-
|
|
14356
|
-
|
|
14357
|
-
|
|
14358
|
-
|
|
14359
|
-
|
|
14360
|
-
|
|
14361
|
-
|
|
14362
|
-
|
|
14178
|
+
.wb-blocks {
|
|
14179
|
+
position: relative;
|
|
14180
|
+
z-index: 1;
|
|
14181
|
+
|
|
14182
|
+
span[class^='wb-dynamic-size'] {
|
|
14183
|
+
position: absolute;
|
|
14184
|
+
color: $wb-secondary-text-color;
|
|
14185
|
+
top: 1vw !important;
|
|
14186
|
+
font-size: rem(14);
|
|
14187
|
+
text-align: center;
|
|
14188
|
+
width: rem(200);
|
|
14189
|
+
left: 0;
|
|
14190
|
+
right: 0;
|
|
14191
|
+
margin: auto;
|
|
14363
14192
|
}
|
|
14364
|
-
border: rem(1) dashed $wb-border-color;
|
|
14365
|
-
}
|
|
14366
14193
|
|
|
14367
|
-
|
|
14368
|
-
|
|
14369
|
-
|
|
14370
|
-
|
|
14194
|
+
.button.is-hidden-button.is-rounded {
|
|
14195
|
+
padding: rem(8) rem(8);
|
|
14196
|
+
border: rem(1) solid transparent;
|
|
14197
|
+
position: absolute;
|
|
14198
|
+
top: -#{rem(45)};
|
|
14199
|
+
right: 0;
|
|
14200
|
+
@include media('<=#{$block-width-mobile * 1.4}') {
|
|
14201
|
+
right: -#{rem(26)};
|
|
14202
|
+
}
|
|
14203
|
+
z-index: 11000;
|
|
14204
|
+
width: rem(36);
|
|
14205
|
+
@include simple_transition();
|
|
14371
14206
|
|
|
14372
|
-
|
|
14373
|
-
|
|
14207
|
+
&:not(.is-danger) {
|
|
14208
|
+
color: lighten($wb-secondary-text-color, 20%);
|
|
14209
|
+
@include media('>=1419px', '<1515px') {
|
|
14210
|
+
right: -20px !important;
|
|
14211
|
+
}
|
|
14212
|
+
|
|
14213
|
+
&:hover {
|
|
14214
|
+
background-color: lighten($wb-secondary-text-color, 20%);
|
|
14215
|
+
color: $wb-white;
|
|
14216
|
+
}
|
|
14217
|
+
}
|
|
14374
14218
|
}
|
|
14375
|
-
}
|
|
14376
14219
|
|
|
14377
|
-
|
|
14378
|
-
|
|
14379
|
-
|
|
14380
|
-
|
|
14220
|
+
&__container {
|
|
14221
|
+
padding-bottom: rem(30);
|
|
14222
|
+
display: block;
|
|
14223
|
+
height: 100%;
|
|
14224
|
+
width: 100%;
|
|
14225
|
+
box-sizing: border-box;
|
|
14226
|
+
transition: 0s !important;
|
|
14227
|
+
position: relative;
|
|
14228
|
+
z-index: 1;
|
|
14229
|
+
|
|
14230
|
+
&--focused {
|
|
14231
|
+
z-index: 50;
|
|
14232
|
+
}
|
|
14233
|
+
|
|
14234
|
+
.wb-component__container {
|
|
14235
|
+
display: block;
|
|
14236
|
+
height: 100%;
|
|
14237
|
+
width: 100%;
|
|
14238
|
+
position: relative;
|
|
14239
|
+
}
|
|
14240
|
+
&:hover,
|
|
14241
|
+
&:focus,
|
|
14242
|
+
.hover & {
|
|
14243
|
+
.wb-component__container {
|
|
14244
|
+
border-color: $wizishop-blue;
|
|
14245
|
+
}
|
|
14246
|
+
.wb-structure-tools {
|
|
14247
|
+
background-color: $wizishop-blue;
|
|
14248
|
+
}
|
|
14249
|
+
}
|
|
14250
|
+
}
|
|
14251
|
+
|
|
14252
|
+
.border-blue {
|
|
14253
|
+
.wb-component__container {
|
|
14254
|
+
border-color: $wizishop-blue;
|
|
14255
|
+
}
|
|
14256
|
+
}
|
|
14257
|
+
|
|
14258
|
+
&.cdk-drop-list-dragging .wb-blocks__container:not(.cdk-drag-placeholder) {
|
|
14259
|
+
transition: all 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
14260
|
+
|
|
14261
|
+
.wb-videos-simple,
|
|
14262
|
+
.wb-videos-txt,
|
|
14263
|
+
.wb-videos-txt-left,
|
|
14264
|
+
.wb-videos-txt-content {
|
|
14265
|
+
&__fakeframe {
|
|
14266
|
+
display: flex !important;
|
|
14267
|
+
}
|
|
14268
|
+
|
|
14269
|
+
&__frame {
|
|
14270
|
+
display: none !important;
|
|
14271
|
+
}
|
|
14272
|
+
}
|
|
14273
|
+
}
|
|
14274
|
+
|
|
14275
|
+
&.cdk-drop-list-dragging {
|
|
14276
|
+
.wb-videos-simple,
|
|
14277
|
+
.wb-videos-txt,
|
|
14278
|
+
.wb-videos-txt-left,
|
|
14279
|
+
.wb-videos-txt-content {
|
|
14280
|
+
&__fakeframe {
|
|
14281
|
+
display: flex !important;
|
|
14282
|
+
}
|
|
14283
|
+
&__frame {
|
|
14284
|
+
display: none !important;
|
|
14285
|
+
}
|
|
14286
|
+
}
|
|
14287
|
+
|
|
14288
|
+
.wb-component__container {
|
|
14289
|
+
border: rem(2) solid $wizishop-blue !important;
|
|
14290
|
+
}
|
|
14291
|
+
}
|
|
14292
|
+
|
|
14293
|
+
&-empty {
|
|
14294
|
+
text-align: center;
|
|
14295
|
+
background-color: lighten($wb-border-color, 13%);
|
|
14296
|
+
padding: rem(80);
|
|
14297
|
+
margin-bottom: rem(30);
|
|
14298
|
+
|
|
14299
|
+
img {
|
|
14300
|
+
width: rem(75);
|
|
14301
|
+
margin: 0 auto;
|
|
14302
|
+
display: block;
|
|
14303
|
+
}
|
|
14304
|
+
|
|
14305
|
+
p {
|
|
14306
|
+
&:first-of-type {
|
|
14307
|
+
font-size: rem(16);
|
|
14308
|
+
font-weight: 500;
|
|
14309
|
+
color: $wb-main-text-color;
|
|
14310
|
+
margin: rem(20);
|
|
14311
|
+
}
|
|
14312
|
+
|
|
14313
|
+
&:last-of-type {
|
|
14314
|
+
font-size: rem(14);
|
|
14315
|
+
font-weight: 400;
|
|
14316
|
+
color: $wb-secondary-text-color;
|
|
14317
|
+
}
|
|
14318
|
+
}
|
|
14319
|
+
}
|
|
14320
|
+
}
|
|
14321
|
+
|
|
14322
|
+
.wb-blocks__container.cdk-drag-animating {
|
|
14323
|
+
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
14324
|
+
|
|
14325
|
+
.wb-videos-simple,
|
|
14326
|
+
.wb-videos-txt,
|
|
14327
|
+
.wb-videos-txt-left,
|
|
14328
|
+
.wb-videos-txt-content {
|
|
14329
|
+
&__fakeframe {
|
|
14330
|
+
display: flex !important;
|
|
14331
|
+
}
|
|
14332
|
+
&__frame {
|
|
14333
|
+
display: none !important;
|
|
14334
|
+
}
|
|
14335
|
+
}
|
|
14336
|
+
}
|
|
14337
|
+
|
|
14338
|
+
.wb-blocks__container.cdk-drag-placeholder {
|
|
14339
|
+
opacity: 0.2;
|
|
14340
|
+
.wb-videos-simple,
|
|
14341
|
+
.wb-videos-txt,
|
|
14342
|
+
.wb-videos-txt-left,
|
|
14343
|
+
.wb-videos-txt-content {
|
|
14344
|
+
&__fakeframe {
|
|
14345
|
+
display: flex !important;
|
|
14346
|
+
}
|
|
14347
|
+
&__frame {
|
|
14348
|
+
display: none !important;
|
|
14349
|
+
}
|
|
14350
|
+
}
|
|
14351
|
+
}
|
|
14352
|
+
|
|
14353
|
+
.wb-blocks__container.cdk-drag-preview {
|
|
14354
|
+
box-shadow: 0 rem(30) rem(30) rgba(0, 0, 0, 0.2);
|
|
14355
|
+
cursor: move;
|
|
14356
|
+
|
|
14357
|
+
.wb-videos-simple,
|
|
14358
|
+
.wb-videos-txt,
|
|
14359
|
+
.wb-videos-txt-left,
|
|
14360
|
+
.wb-videos-txt-content {
|
|
14361
|
+
&__fakeframe {
|
|
14362
|
+
display: flex !important;
|
|
14363
|
+
}
|
|
14364
|
+
&__frame {
|
|
14365
|
+
display: none !important;
|
|
14366
|
+
}
|
|
14367
|
+
}
|
|
14368
|
+
}
|
|
14369
|
+
|
|
14370
|
+
.wb-component {
|
|
14371
|
+
&.border-grey {
|
|
14372
|
+
.wb-component__container {
|
|
14373
|
+
border-color: darken(#95a5a6, 15%);
|
|
14374
|
+
}
|
|
14375
|
+
}
|
|
14381
14376
|
}
|
|
14382
14377
|
.wb-text-backgrounds-link {
|
|
14383
14378
|
position: relative;
|