@wizishop/img-manager 0.2.59 → 0.2.63
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-img-manager.umd.js +10 -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/img-selection/img-selection.component.js +11 -6
- package/esm5/lib/components/img-selection/img-selection.component.js +11 -6
- package/fesm2015/wizishop-img-manager.js +10 -5
- package/fesm2015/wizishop-img-manager.js.map +1 -1
- package/fesm5/wizishop-img-manager.js +10 -5
- package/fesm5/wizishop-img-manager.js.map +1 -1
- package/package.json +1 -1
- package/wizishop-img-manager-0.2.63.tgz +0 -0
- package/wizishop-img-manager.metadata.json +1 -1
- package/wz-img-manager.scss +173 -160
- package/wizishop-img-manager-0.2.59.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 {
|
|
@@ -2019,10 +2134,15 @@ image-cropper {
|
|
|
2019
2134
|
max-height: 100px;
|
|
2020
2135
|
border: 1px solid #dce0e3;
|
|
2021
2136
|
background-color: white;
|
|
2137
|
+
}
|
|
2138
|
+
|
|
2139
|
+
.img_box {
|
|
2140
|
+
overflow: hidden;
|
|
2022
2141
|
&:hover, &:focus {
|
|
2023
2142
|
.drag__tooltips {
|
|
2024
2143
|
opacity: 1;
|
|
2025
|
-
|
|
2144
|
+
visibility: visible;
|
|
2145
|
+
transform: translateY(100%);
|
|
2026
2146
|
transition: opacity .3s ease .1s, transform .3s ease .1s, visibility 0s linear 0s;
|
|
2027
2147
|
}
|
|
2028
2148
|
}
|
|
@@ -2036,10 +2156,12 @@ image-cropper {
|
|
|
2036
2156
|
border-radius: 3px;
|
|
2037
2157
|
position: absolute;
|
|
2038
2158
|
bottom: 100%;
|
|
2039
|
-
transform: translateY(
|
|
2159
|
+
transform: translateY(0);
|
|
2040
2160
|
font-size: rem(12);
|
|
2041
2161
|
color: white;
|
|
2042
|
-
|
|
2162
|
+
font-weight: 500;
|
|
2163
|
+
text-align: center;
|
|
2164
|
+
background-color: rgba(0,0,0,.65);
|
|
2043
2165
|
transition: opacity .3s ease, transform .3s ease, visibility 0s linear .35s;
|
|
2044
2166
|
}
|
|
2045
2167
|
|
|
@@ -2051,6 +2173,7 @@ image-cropper {
|
|
|
2051
2173
|
border-radius: 4px;
|
|
2052
2174
|
overflow-x: auto;
|
|
2053
2175
|
align-items: flex-end!important;
|
|
2176
|
+
padding-bottom: 10px;
|
|
2054
2177
|
}
|
|
2055
2178
|
|
|
2056
2179
|
.img_box {
|
|
@@ -2067,7 +2190,7 @@ image-cropper {
|
|
|
2067
2190
|
position: relative;
|
|
2068
2191
|
padding: 0;
|
|
2069
2192
|
margin: 0 20px 0 0;
|
|
2070
|
-
width: 150px;
|
|
2193
|
+
min-width: 150px;
|
|
2071
2194
|
max-width: 150px;
|
|
2072
2195
|
&:before {
|
|
2073
2196
|
content: '';
|
|
@@ -2075,7 +2198,7 @@ image-cropper {
|
|
|
2075
2198
|
padding-top: 100%;
|
|
2076
2199
|
}
|
|
2077
2200
|
&:first-child {
|
|
2078
|
-
width: 200px;
|
|
2201
|
+
min-width: 200px;
|
|
2079
2202
|
max-width: 200px;
|
|
2080
2203
|
}
|
|
2081
2204
|
img {
|
|
@@ -2127,6 +2250,7 @@ image-cropper {
|
|
|
2127
2250
|
background-color: white;
|
|
2128
2251
|
color: red;
|
|
2129
2252
|
border-radius: 4px;
|
|
2253
|
+
white-space: nowrap;
|
|
2130
2254
|
transition: all .3s ease-in-out;
|
|
2131
2255
|
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
|
|
2132
2256
|
0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
@@ -2147,6 +2271,10 @@ image-cropper {
|
|
|
2147
2271
|
color: red;
|
|
2148
2272
|
}
|
|
2149
2273
|
|
|
2274
|
+
&.trash--bottom {
|
|
2275
|
+
transform: translateX(-50%);
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2150
2278
|
.cdk-drag-placeholder {
|
|
2151
2279
|
position: absolute;
|
|
2152
2280
|
}
|
|
@@ -2218,144 +2346,29 @@ $green-color: #2ecc71;
|
|
|
2218
2346
|
line-height: rem(25);
|
|
2219
2347
|
}
|
|
2220
2348
|
}
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
&__module {
|
|
2228
|
-
position: fixed;
|
|
2229
|
-
bottom: 0;
|
|
2230
|
-
left: 0;
|
|
2231
|
-
width: 100%;
|
|
2232
|
-
height: 0;
|
|
2233
|
-
transition: height .3s ease;
|
|
2234
|
-
z-index: 2147483647; // snackbar 10
|
|
2235
|
-
transform: translateZ(0);
|
|
2236
|
-
|
|
2237
|
-
&:before {
|
|
2238
|
-
content: '';
|
|
2239
|
-
display: block;
|
|
2240
|
-
position: absolute;
|
|
2241
|
-
top: 0;
|
|
2242
|
-
left: 0;
|
|
2243
|
-
width: 100%;
|
|
2244
|
-
height: 3px;
|
|
2245
|
-
background-color: $img-main-color;
|
|
2246
|
-
z-index: 999;
|
|
2247
|
-
}
|
|
2248
|
-
|
|
2249
|
-
&--closed {
|
|
2250
|
-
height: 0;
|
|
2251
|
-
}
|
|
2252
|
-
|
|
2253
|
-
// .wz-img-manager__module--small
|
|
2254
|
-
&--small {
|
|
2255
|
-
height: 320px;
|
|
2256
|
-
}
|
|
2257
|
-
|
|
2258
|
-
// .wz-img-manager__module--full
|
|
2259
|
-
&--full {
|
|
2260
|
-
height: calc(100vh - 50px);
|
|
2261
|
-
}
|
|
2262
|
-
|
|
2263
|
-
// .wz-img-manager__module--window
|
|
2264
|
-
&--window {
|
|
2265
|
-
position: relative;
|
|
2266
|
-
width: auto;
|
|
2267
|
-
bottom: unset;
|
|
2268
|
-
left: unset;
|
|
2269
|
-
z-index: 29!important;
|
|
2270
|
-
height: auto!important;
|
|
2271
|
-
padding-bottom: 6.25rem;
|
|
2272
|
-
|
|
2273
|
-
&:before {
|
|
2274
|
-
content: none;
|
|
2275
|
-
height: 0px;
|
|
2276
|
-
}
|
|
2277
|
-
|
|
2278
|
-
// .wz-img-manager__module--edit
|
|
2279
|
-
&--edit {
|
|
2280
|
-
.wrapper-tabs {
|
|
2281
|
-
display: none;
|
|
2282
|
-
}
|
|
2283
|
-
}
|
|
2284
|
-
}
|
|
2285
|
-
|
|
2286
|
-
// .wz-img-manager__module__header
|
|
2287
|
-
&__header {
|
|
2288
|
-
position: absolute;
|
|
2289
|
-
bottom: 100%;
|
|
2290
|
-
right: 30px;
|
|
2291
|
-
width: 101px;
|
|
2292
|
-
|
|
2293
|
-
// .wz-img-manager__module__header button
|
|
2294
|
-
button {
|
|
2295
|
-
width: 45px;
|
|
2296
|
-
height: 35px;
|
|
2297
|
-
background-color: $img-main-color;
|
|
2298
|
-
transition: background-color .3s ease;
|
|
2299
|
-
border: none;
|
|
2300
|
-
box-shadow: none;
|
|
2301
|
-
cursor: pointer;
|
|
2302
|
-
outline: none!important;
|
|
2303
|
-
|
|
2304
|
-
span {
|
|
2305
|
-
display: none;
|
|
2306
|
-
}
|
|
2307
|
-
|
|
2308
|
-
i {
|
|
2309
|
-
color: #fff;
|
|
2310
|
-
font-size: 20px;
|
|
2311
|
-
&:before {
|
|
2312
|
-
font-size: rem(20) !important;
|
|
2313
|
-
}
|
|
2314
|
-
}
|
|
2315
|
-
|
|
2316
|
-
&:hover, &:focus {
|
|
2317
|
-
background-color: darken($img-main-color, 15%);
|
|
2318
|
-
}
|
|
2319
|
-
|
|
2320
|
-
// .wz-img-manager__module__header button:first-child
|
|
2321
|
-
&:first-child {
|
|
2322
|
-
border-radius: 3px 0 0 0;
|
|
2323
|
-
}
|
|
2324
|
-
|
|
2325
|
-
// .wz-img-manager__module__header button:last-child
|
|
2326
|
-
&:last-child {
|
|
2327
|
-
margin: 0 0 0 1px;
|
|
2328
|
-
border-radius: 0 3px 0 0;
|
|
2329
|
-
}
|
|
2330
|
-
}
|
|
2331
|
-
}
|
|
2332
|
-
}
|
|
2333
|
-
}
|
|
2334
|
-
|
|
2335
|
-
.wz-img-manager__module .wz-block {
|
|
2336
|
-
background-color: #fff;
|
|
2337
|
-
box-shadow: 0 0.125rem 0.3125rem rgba(45,62,85,.1);
|
|
2338
|
-
padding: 0 0.575rem 0 1.075rem;
|
|
2339
|
-
|
|
2340
|
-
&--window {
|
|
2341
|
-
padding: rem(30);
|
|
2342
|
-
overflow: hidden;
|
|
2343
|
-
max-width: 1450px;
|
|
2344
|
-
margin: 0 auto;
|
|
2345
|
-
}
|
|
2346
|
-
}
|
|
2349
|
+
$green: $really-bad-bad-bad-green !default;
|
|
2350
|
+
$primary: $primary-button !default;
|
|
2351
|
+
$light: $img-placeholder !default;
|
|
2352
|
+
$info: $wizishop-blue !default;
|
|
2353
|
+
$danger: $img-red-color !default;
|
|
2354
|
+
$dark: $img-dark !default;
|
|
2347
2355
|
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
}
|
|
2356
|
+
$button-padding-vertical: rem(7) !default;
|
|
2357
|
+
$radius: rem(3) !default;
|
|
2351
2358
|
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2359
|
+
$button-color: white!default;
|
|
2360
|
+
$button-hover-color: white !default;
|
|
2361
|
+
$button-focus-color: white !default;
|
|
2362
|
+
$button-active-color: white !default;
|
|
2363
|
+
$button-background-color: $primary !default;
|
|
2364
|
+
$button-disabled-background-color: $primary !default;
|
|
2365
|
+
$button-border-color: $primary-button-hover !default;
|
|
2366
|
+
$button-hover-border-color: $primary-button-hover !default;
|
|
2367
|
+
$button-active-border-color: $primary-button-hover !default;
|
|
2368
|
+
$button-focus-border-color: $primary-button-hover !default;
|
|
2369
|
+
$button-disabled-border-color: $primary-button-hover !default;
|
|
2355
2370
|
|
|
2356
|
-
|
|
2357
|
-
box-sizing: border-box;
|
|
2358
|
-
}
|
|
2371
|
+
$tag-radius: rem(20px)!default;
|
|
2359
2372
|
.wz-img-manager .is-checkradio[type='checkbox'] {
|
|
2360
2373
|
outline: 0 !important;
|
|
2361
2374
|
& + label {
|
|
Binary file
|