@wizishop/img-manager 0.2.71 → 0.2.76
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/assets/i18n/fr.json +1 -1
- package/bundles/wizishop-img-manager.umd.js +33 -5
- package/bundles/wizishop-img-manager.umd.js.map +1 -1
- package/bundles/wizishop-img-manager.umd.min.js +1 -1
- package/bundles/wizishop-img-manager.umd.min.js.map +1 -1
- package/esm2015/lib/components/images-view/images-view.component.js +26 -6
- package/esm2015/lib/components/img-editor/img-editor.component.js +6 -2
- package/esm2015/lib/services/img-manager.service.js +4 -1
- package/esm5/lib/components/images-view/images-view.component.js +27 -6
- package/esm5/lib/components/img-editor/img-editor.component.js +6 -2
- package/esm5/lib/services/img-manager.service.js +4 -1
- package/fesm2015/wizishop-img-manager.js +33 -6
- package/fesm2015/wizishop-img-manager.js.map +1 -1
- package/fesm5/wizishop-img-manager.js +34 -6
- package/fesm5/wizishop-img-manager.js.map +1 -1
- package/lib/components/images-view/images-view.component.d.ts +4 -0
- package/lib/services/img-manager.service.d.ts +1 -0
- package/package.json +1 -1
- package/wizishop-img-manager-0.2.76.tgz +0 -0
- package/wizishop-img-manager.metadata.json +1 -1
- package/wz-img-manager.scss +155 -155
- package/wizishop-img-manager-0.2.71.tgz +0 -0
package/wz-img-manager.scss
CHANGED
|
@@ -1759,29 +1759,144 @@ $card-img-size-small: 140px;
|
|
|
1759
1759
|
.grey {
|
|
1760
1760
|
color: $img-grey-color;
|
|
1761
1761
|
}
|
|
1762
|
-
|
|
1763
|
-
$primary: $primary-button !default;
|
|
1764
|
-
$light: $img-placeholder !default;
|
|
1765
|
-
$info: $wizishop-blue !default;
|
|
1766
|
-
$danger: $img-red-color !default;
|
|
1767
|
-
$dark: $img-dark !default;
|
|
1762
|
+
.wz-img-manager {
|
|
1768
1763
|
|
|
1769
|
-
|
|
1770
|
-
|
|
1764
|
+
&__selectionHandler {
|
|
1765
|
+
margin-top: -50px;
|
|
1766
|
+
}
|
|
1771
1767
|
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
$button-focus-border-color: $primary-button-hover !default;
|
|
1782
|
-
$button-disabled-border-color: $primary-button-hover !default;
|
|
1768
|
+
&__module {
|
|
1769
|
+
position: fixed;
|
|
1770
|
+
bottom: 0;
|
|
1771
|
+
left: 0;
|
|
1772
|
+
width: 100%;
|
|
1773
|
+
height: 0;
|
|
1774
|
+
transition: height .3s ease;
|
|
1775
|
+
z-index: 2147483647; // snackbar 10
|
|
1776
|
+
transform: translateZ(0);
|
|
1783
1777
|
|
|
1784
|
-
|
|
1778
|
+
&:before {
|
|
1779
|
+
content: '';
|
|
1780
|
+
display: block;
|
|
1781
|
+
position: absolute;
|
|
1782
|
+
top: 0;
|
|
1783
|
+
left: 0;
|
|
1784
|
+
width: 100%;
|
|
1785
|
+
height: 3px;
|
|
1786
|
+
background-color: $img-main-color;
|
|
1787
|
+
z-index: 999;
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
&--closed {
|
|
1791
|
+
height: 0;
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
// .wz-img-manager__module--small
|
|
1795
|
+
&--small {
|
|
1796
|
+
height: 320px;
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
// .wz-img-manager__module--full
|
|
1800
|
+
&--full {
|
|
1801
|
+
height: calc(100vh - 50px);
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
// .wz-img-manager__module--window
|
|
1805
|
+
&--window {
|
|
1806
|
+
position: relative;
|
|
1807
|
+
width: auto;
|
|
1808
|
+
bottom: unset;
|
|
1809
|
+
left: unset;
|
|
1810
|
+
z-index: 29!important;
|
|
1811
|
+
height: auto!important;
|
|
1812
|
+
padding-bottom: 6.25rem;
|
|
1813
|
+
|
|
1814
|
+
&:before {
|
|
1815
|
+
content: none;
|
|
1816
|
+
height: 0px;
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
// .wz-img-manager__module--edit
|
|
1820
|
+
&--edit {
|
|
1821
|
+
.wrapper-tabs {
|
|
1822
|
+
display: none;
|
|
1823
|
+
}
|
|
1824
|
+
}
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
// .wz-img-manager__module__header
|
|
1828
|
+
&__header {
|
|
1829
|
+
position: absolute;
|
|
1830
|
+
bottom: 100%;
|
|
1831
|
+
right: 30px;
|
|
1832
|
+
width: 101px;
|
|
1833
|
+
|
|
1834
|
+
// .wz-img-manager__module__header button
|
|
1835
|
+
button {
|
|
1836
|
+
width: 45px;
|
|
1837
|
+
height: 35px;
|
|
1838
|
+
background-color: $img-main-color;
|
|
1839
|
+
transition: background-color .3s ease;
|
|
1840
|
+
border: none;
|
|
1841
|
+
box-shadow: none;
|
|
1842
|
+
cursor: pointer;
|
|
1843
|
+
outline: none!important;
|
|
1844
|
+
|
|
1845
|
+
span {
|
|
1846
|
+
display: none;
|
|
1847
|
+
}
|
|
1848
|
+
|
|
1849
|
+
i {
|
|
1850
|
+
color: #fff;
|
|
1851
|
+
font-size: 20px;
|
|
1852
|
+
&:before {
|
|
1853
|
+
font-size: rem(20) !important;
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
&:hover, &:focus {
|
|
1858
|
+
background-color: darken($img-main-color, 15%);
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
// .wz-img-manager__module__header button:first-child
|
|
1862
|
+
&:first-child {
|
|
1863
|
+
border-radius: 3px 0 0 0;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
// .wz-img-manager__module__header button:last-child
|
|
1867
|
+
&:last-child {
|
|
1868
|
+
margin: 0 0 0 1px;
|
|
1869
|
+
border-radius: 0 3px 0 0;
|
|
1870
|
+
}
|
|
1871
|
+
}
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
}
|
|
1875
|
+
|
|
1876
|
+
.wz-img-manager__module .wz-block {
|
|
1877
|
+
background-color: #fff;
|
|
1878
|
+
box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
|
|
1879
|
+
padding: 0 0.575rem 0 1.075rem;
|
|
1880
|
+
|
|
1881
|
+
&--window {
|
|
1882
|
+
padding: rem(30);
|
|
1883
|
+
overflow: hidden;
|
|
1884
|
+
max-width: 1450px;
|
|
1885
|
+
margin: 0 auto;
|
|
1886
|
+
}
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
.wz-img-manager__module .wz-block:hover {
|
|
1890
|
+
box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
.nwb-snack-bar .notification {
|
|
1894
|
+
z-index: 10002!important;
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
.nwb-snack-bar .column {
|
|
1898
|
+
box-sizing: border-box;
|
|
1899
|
+
}
|
|
1785
1900
|
image-cropper {
|
|
1786
1901
|
max-height: 60vh;
|
|
1787
1902
|
}.wz-img-manager .images-view {
|
|
@@ -2213,144 +2328,29 @@ $green-color: #2ecc71;
|
|
|
2213
2328
|
line-height: rem(25);
|
|
2214
2329
|
}
|
|
2215
2330
|
}
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
&__module {
|
|
2223
|
-
position: fixed;
|
|
2224
|
-
bottom: 0;
|
|
2225
|
-
left: 0;
|
|
2226
|
-
width: 100%;
|
|
2227
|
-
height: 0;
|
|
2228
|
-
transition: height .3s ease;
|
|
2229
|
-
z-index: 2147483647; // snackbar 10
|
|
2230
|
-
transform: translateZ(0);
|
|
2231
|
-
|
|
2232
|
-
&:before {
|
|
2233
|
-
content: '';
|
|
2234
|
-
display: block;
|
|
2235
|
-
position: absolute;
|
|
2236
|
-
top: 0;
|
|
2237
|
-
left: 0;
|
|
2238
|
-
width: 100%;
|
|
2239
|
-
height: 3px;
|
|
2240
|
-
background-color: $img-main-color;
|
|
2241
|
-
z-index: 999;
|
|
2242
|
-
}
|
|
2243
|
-
|
|
2244
|
-
&--closed {
|
|
2245
|
-
height: 0;
|
|
2246
|
-
}
|
|
2247
|
-
|
|
2248
|
-
// .wz-img-manager__module--small
|
|
2249
|
-
&--small {
|
|
2250
|
-
height: 320px;
|
|
2251
|
-
}
|
|
2252
|
-
|
|
2253
|
-
// .wz-img-manager__module--full
|
|
2254
|
-
&--full {
|
|
2255
|
-
height: calc(100vh - 50px);
|
|
2256
|
-
}
|
|
2257
|
-
|
|
2258
|
-
// .wz-img-manager__module--window
|
|
2259
|
-
&--window {
|
|
2260
|
-
position: relative;
|
|
2261
|
-
width: auto;
|
|
2262
|
-
bottom: unset;
|
|
2263
|
-
left: unset;
|
|
2264
|
-
z-index: 29!important;
|
|
2265
|
-
height: auto!important;
|
|
2266
|
-
padding-bottom: 6.25rem;
|
|
2267
|
-
|
|
2268
|
-
&:before {
|
|
2269
|
-
content: none;
|
|
2270
|
-
height: 0px;
|
|
2271
|
-
}
|
|
2272
|
-
|
|
2273
|
-
// .wz-img-manager__module--edit
|
|
2274
|
-
&--edit {
|
|
2275
|
-
.wrapper-tabs {
|
|
2276
|
-
display: none;
|
|
2277
|
-
}
|
|
2278
|
-
}
|
|
2279
|
-
}
|
|
2280
|
-
|
|
2281
|
-
// .wz-img-manager__module__header
|
|
2282
|
-
&__header {
|
|
2283
|
-
position: absolute;
|
|
2284
|
-
bottom: 100%;
|
|
2285
|
-
right: 30px;
|
|
2286
|
-
width: 101px;
|
|
2287
|
-
|
|
2288
|
-
// .wz-img-manager__module__header button
|
|
2289
|
-
button {
|
|
2290
|
-
width: 45px;
|
|
2291
|
-
height: 35px;
|
|
2292
|
-
background-color: $img-main-color;
|
|
2293
|
-
transition: background-color .3s ease;
|
|
2294
|
-
border: none;
|
|
2295
|
-
box-shadow: none;
|
|
2296
|
-
cursor: pointer;
|
|
2297
|
-
outline: none!important;
|
|
2298
|
-
|
|
2299
|
-
span {
|
|
2300
|
-
display: none;
|
|
2301
|
-
}
|
|
2302
|
-
|
|
2303
|
-
i {
|
|
2304
|
-
color: #fff;
|
|
2305
|
-
font-size: 20px;
|
|
2306
|
-
&:before {
|
|
2307
|
-
font-size: rem(20) !important;
|
|
2308
|
-
}
|
|
2309
|
-
}
|
|
2310
|
-
|
|
2311
|
-
&:hover, &:focus {
|
|
2312
|
-
background-color: darken($img-main-color, 15%);
|
|
2313
|
-
}
|
|
2314
|
-
|
|
2315
|
-
// .wz-img-manager__module__header button:first-child
|
|
2316
|
-
&:first-child {
|
|
2317
|
-
border-radius: 3px 0 0 0;
|
|
2318
|
-
}
|
|
2319
|
-
|
|
2320
|
-
// .wz-img-manager__module__header button:last-child
|
|
2321
|
-
&:last-child {
|
|
2322
|
-
margin: 0 0 0 1px;
|
|
2323
|
-
border-radius: 0 3px 0 0;
|
|
2324
|
-
}
|
|
2325
|
-
}
|
|
2326
|
-
}
|
|
2327
|
-
}
|
|
2328
|
-
}
|
|
2329
|
-
|
|
2330
|
-
.wz-img-manager__module .wz-block {
|
|
2331
|
-
background-color: #fff;
|
|
2332
|
-
box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
|
|
2333
|
-
padding: 0 0.575rem 0 1.075rem;
|
|
2334
|
-
|
|
2335
|
-
&--window {
|
|
2336
|
-
padding: rem(30);
|
|
2337
|
-
overflow: hidden;
|
|
2338
|
-
max-width: 1450px;
|
|
2339
|
-
margin: 0 auto;
|
|
2340
|
-
}
|
|
2341
|
-
}
|
|
2331
|
+
$green: $really-bad-bad-bad-green !default;
|
|
2332
|
+
$primary: $primary-button !default;
|
|
2333
|
+
$light: $img-placeholder !default;
|
|
2334
|
+
$info: $wizishop-blue !default;
|
|
2335
|
+
$danger: $img-red-color !default;
|
|
2336
|
+
$dark: $img-dark !default;
|
|
2342
2337
|
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
}
|
|
2338
|
+
$button-padding-vertical: rem(7) !default;
|
|
2339
|
+
$radius: rem(3) !default;
|
|
2346
2340
|
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2341
|
+
$button-color: white!default;
|
|
2342
|
+
$button-hover-color: white !default;
|
|
2343
|
+
$button-focus-color: white !default;
|
|
2344
|
+
$button-active-color: white !default;
|
|
2345
|
+
$button-background-color: $primary !default;
|
|
2346
|
+
$button-disabled-background-color: $primary !default;
|
|
2347
|
+
$button-border-color: $primary-button-hover !default;
|
|
2348
|
+
$button-hover-border-color: $primary-button-hover !default;
|
|
2349
|
+
$button-active-border-color: $primary-button-hover !default;
|
|
2350
|
+
$button-focus-border-color: $primary-button-hover !default;
|
|
2351
|
+
$button-disabled-border-color: $primary-button-hover !default;
|
|
2350
2352
|
|
|
2351
|
-
|
|
2352
|
-
box-sizing: border-box;
|
|
2353
|
-
}
|
|
2353
|
+
$tag-radius: rem(20px)!default;
|
|
2354
2354
|
.wz-img-manager .is-checkradio[type='checkbox'] {
|
|
2355
2355
|
outline: 0 !important;
|
|
2356
2356
|
& + label {
|
|
Binary file
|