lookbook 1.4.4 → 1.4.5
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.
- checksums.yaml +4 -4
- data/app/components/lookbook/params/field/component.rb +3 -3
- data/lib/lookbook/version.rb +1 -1
- data/public/lookbook-assets/css/lookbook.css +10 -10
- data/public/lookbook-assets/js/embed.js +1 -1
- data/public/lookbook-assets/js/embed.js.map +1 -1
- data/public/lookbook-assets/js/lookbook.js +93 -93
- data/public/lookbook-assets/js/lookbook.js.map +1 -1
- metadata +3 -3
@@ -6327,7 +6327,7 @@ var $5267f0d63de538ba$exports = {};
|
|
6327
6327
|
*/ (function(root, definition) {
|
6328
6328
|
"use strict";
|
6329
6329
|
if (typeof define === "function" && define.amd) define(definition);
|
6330
|
-
else if ($5267f0d63de538ba$exports) $5267f0d63de538ba$exports = definition();
|
6330
|
+
else if (0, $5267f0d63de538ba$exports) $5267f0d63de538ba$exports = definition();
|
6331
6331
|
else root.log = definition();
|
6332
6332
|
})($5267f0d63de538ba$exports, function() {
|
6333
6333
|
"use strict";
|
@@ -6527,7 +6527,7 @@ var $5267f0d63de538ba$exports = {};
|
|
6527
6527
|
var $1ffebed09abdb92f$exports = {};
|
6528
6528
|
(function(root, factory) {
|
6529
6529
|
if (typeof define === "function" && define.amd) define(factory);
|
6530
|
-
else if ($1ffebed09abdb92f$exports) $1ffebed09abdb92f$exports = factory();
|
6530
|
+
else if (0, $1ffebed09abdb92f$exports) $1ffebed09abdb92f$exports = factory();
|
6531
6531
|
else root.prefix = factory(root);
|
6532
6532
|
})($1ffebed09abdb92f$exports, function(root) {
|
6533
6533
|
"use strict";
|
@@ -7705,7 +7705,7 @@ function $5439cede634b2921$var$toCamel(s) {
|
|
7705
7705
|
}
|
7706
7706
|
|
7707
7707
|
|
7708
|
-
var $
|
7708
|
+
var $0c54d9c6f64a406e$exports = {};
|
7709
7709
|
var $cbd28b10fa9798c7$exports = {};
|
7710
7710
|
|
7711
7711
|
$parcel$defineInteropFlag($cbd28b10fa9798c7$exports);
|
@@ -11238,6 +11238,39 @@ function $99486586f6691564$export$2e2bcd8739ae039() {
|
|
11238
11238
|
}
|
11239
11239
|
|
11240
11240
|
|
11241
|
+
var $e398acaded942bbe$exports = {};
|
11242
|
+
|
11243
|
+
$parcel$defineInteropFlag($e398acaded942bbe$exports);
|
11244
|
+
|
11245
|
+
$parcel$export($e398acaded942bbe$exports, "default", () => $e398acaded942bbe$export$2e2bcd8739ae039);
|
11246
|
+
|
11247
|
+
function $e398acaded942bbe$export$2e2bcd8739ae039(targetSelector) {
|
11248
|
+
return {
|
11249
|
+
width: 0,
|
11250
|
+
height: 0,
|
11251
|
+
resizing: false,
|
11252
|
+
target: null,
|
11253
|
+
init () {
|
11254
|
+
this.target = document.querySelector(targetSelector);
|
11255
|
+
if (this.target) {
|
11256
|
+
this.width = Math.round(this.target.clientWidth);
|
11257
|
+
this.height = Math.round(this.target.clientHeight);
|
11258
|
+
this.createObserver();
|
11259
|
+
}
|
11260
|
+
},
|
11261
|
+
createObserver () {
|
11262
|
+
if (this.target) this.observer = (0, $9930d46698775b42$export$a2214cc2adb2dc44)(document.querySelector(targetSelector), ({ width: width , height: height })=>{
|
11263
|
+
this.width = width;
|
11264
|
+
this.height = height;
|
11265
|
+
});
|
11266
|
+
},
|
11267
|
+
tearDown () {
|
11268
|
+
if (this.observer) this.observer.disconnect();
|
11269
|
+
}
|
11270
|
+
};
|
11271
|
+
}
|
11272
|
+
|
11273
|
+
|
11241
11274
|
var $47a1c62621be0c54$exports = {};
|
11242
11275
|
|
11243
11276
|
$parcel$defineInteropFlag($47a1c62621be0c54$exports);
|
@@ -11294,34 +11327,26 @@ function $47a1c62621be0c54$export$2e2bcd8739ae039() {
|
|
11294
11327
|
}
|
11295
11328
|
|
11296
11329
|
|
11297
|
-
var $
|
11298
|
-
|
11299
|
-
$parcel$defineInteropFlag($e398acaded942bbe$exports);
|
11330
|
+
var $e9904a14dabf652d$exports = {};
|
11300
11331
|
|
11301
|
-
$parcel$
|
11332
|
+
$parcel$defineInteropFlag($e9904a14dabf652d$exports);
|
11302
11333
|
|
11303
|
-
|
11334
|
+
$parcel$export($e9904a14dabf652d$exports, "default", () => $e9904a14dabf652d$export$2e2bcd8739ae039);
|
11335
|
+
function $e9904a14dabf652d$export$2e2bcd8739ae039(store) {
|
11304
11336
|
return {
|
11305
|
-
|
11306
|
-
|
11307
|
-
|
11308
|
-
target: null,
|
11309
|
-
init () {
|
11310
|
-
this.target = document.querySelector(targetSelector);
|
11311
|
-
if (this.target) {
|
11312
|
-
this.width = Math.round(this.target.clientWidth);
|
11313
|
-
this.height = Math.round(this.target.clientHeight);
|
11314
|
-
this.createObserver();
|
11315
|
-
}
|
11337
|
+
focussed: false,
|
11338
|
+
get active () {
|
11339
|
+
return store.active;
|
11316
11340
|
},
|
11317
|
-
|
11318
|
-
|
11319
|
-
this.width = width;
|
11320
|
-
this.height = height;
|
11321
|
-
});
|
11341
|
+
get text () {
|
11342
|
+
return store.text;
|
11322
11343
|
},
|
11323
|
-
|
11324
|
-
if (
|
11344
|
+
clear () {
|
11345
|
+
if (store.raw === "") this.$refs.input.blur();
|
11346
|
+
else store.raw = "";
|
11347
|
+
},
|
11348
|
+
focus () {
|
11349
|
+
this.$refs.input.focus();
|
11325
11350
|
}
|
11326
11351
|
};
|
11327
11352
|
}
|
@@ -12201,31 +12226,6 @@ function $e1f51f020443edd4$export$2e2bcd8739ae039(id, embedStore) {
|
|
12201
12226
|
}
|
12202
12227
|
|
12203
12228
|
|
12204
|
-
var $e9904a14dabf652d$exports = {};
|
12205
|
-
|
12206
|
-
$parcel$defineInteropFlag($e9904a14dabf652d$exports);
|
12207
|
-
|
12208
|
-
$parcel$export($e9904a14dabf652d$exports, "default", () => $e9904a14dabf652d$export$2e2bcd8739ae039);
|
12209
|
-
function $e9904a14dabf652d$export$2e2bcd8739ae039(store) {
|
12210
|
-
return {
|
12211
|
-
focussed: false,
|
12212
|
-
get active () {
|
12213
|
-
return store.active;
|
12214
|
-
},
|
12215
|
-
get text () {
|
12216
|
-
return store.text;
|
12217
|
-
},
|
12218
|
-
clear () {
|
12219
|
-
if (store.raw === "") this.$refs.input.blur();
|
12220
|
-
else store.raw = "";
|
12221
|
-
},
|
12222
|
-
focus () {
|
12223
|
-
this.$refs.input.focus();
|
12224
|
-
}
|
12225
|
-
};
|
12226
|
-
}
|
12227
|
-
|
12228
|
-
|
12229
12229
|
var $36506012e0c6e9e3$exports = {};
|
12230
12230
|
|
12231
12231
|
$parcel$defineInteropFlag($36506012e0c6e9e3$exports);
|
@@ -13079,13 +13079,13 @@ function $6d64716f0b34fdf4$export$2e2bcd8739ae039(store) {
|
|
13079
13079
|
}
|
13080
13080
|
|
13081
13081
|
|
13082
|
-
$
|
13082
|
+
$0c54d9c6f64a406e$exports = {
|
13083
13083
|
"button": $cbd28b10fa9798c7$exports,
|
13084
13084
|
"code": $99486586f6691564$exports,
|
13085
|
-
"copy_button": $47a1c62621be0c54$exports,
|
13086
13085
|
"dimensions_display": $e398acaded942bbe$exports,
|
13087
|
-
"
|
13086
|
+
"copy_button": $47a1c62621be0c54$exports,
|
13088
13087
|
"filter": $e9904a14dabf652d$exports,
|
13088
|
+
"embed": $e1f51f020443edd4$exports,
|
13089
13089
|
"icon": $36506012e0c6e9e3$exports,
|
13090
13090
|
"nav": $d92d9d5253f84566$exports,
|
13091
13091
|
"split_layout": $506dabb2bf255b38$exports,
|
@@ -13095,7 +13095,7 @@ $1f889267678ff167$exports = {
|
|
13095
13095
|
};
|
13096
13096
|
|
13097
13097
|
|
13098
|
-
var $
|
13098
|
+
var $8d334f4a3d8b76bc$exports = {};
|
13099
13099
|
var $6a9b69d9cc7f810f$exports = {};
|
13100
13100
|
|
13101
13101
|
$parcel$defineInteropFlag($6a9b69d9cc7f810f$exports);
|
@@ -13214,6 +13214,38 @@ function $6a9b69d9cc7f810f$export$2e2bcd8739ae039({ name: name , value: value }
|
|
13214
13214
|
}
|
13215
13215
|
|
13216
13216
|
|
13217
|
+
var $1a7a7298eec5b755$exports = {};
|
13218
|
+
|
13219
|
+
$parcel$defineInteropFlag($1a7a7298eec5b755$exports);
|
13220
|
+
|
13221
|
+
$parcel$export($1a7a7298eec5b755$exports, "default", () => $1a7a7298eec5b755$export$2e2bcd8739ae039);
|
13222
|
+
|
13223
|
+
function $1a7a7298eec5b755$export$2e2bcd8739ae039() {
|
13224
|
+
return {
|
13225
|
+
narrow: false,
|
13226
|
+
init () {
|
13227
|
+
(0, $9930d46698775b42$export$a2214cc2adb2dc44)(this.$el, ({ width: width })=>{
|
13228
|
+
this.narrow = width < 500;
|
13229
|
+
});
|
13230
|
+
}
|
13231
|
+
};
|
13232
|
+
}
|
13233
|
+
|
13234
|
+
|
13235
|
+
var $e773f8ef556b41ff$exports = {};
|
13236
|
+
|
13237
|
+
$parcel$defineInteropFlag($e773f8ef556b41ff$exports);
|
13238
|
+
|
13239
|
+
$parcel$export($e773f8ef556b41ff$exports, "default", () => $e773f8ef556b41ff$export$2e2bcd8739ae039);
|
13240
|
+
function $e773f8ef556b41ff$export$2e2bcd8739ae039() {
|
13241
|
+
return {
|
13242
|
+
get isNarrowLayout () {
|
13243
|
+
return this.narrow || false;
|
13244
|
+
}
|
13245
|
+
};
|
13246
|
+
}
|
13247
|
+
|
13248
|
+
|
13217
13249
|
var $9b24cbeb3a465447$exports = {};
|
13218
13250
|
|
13219
13251
|
$parcel$defineInteropFlag($9b24cbeb3a465447$exports);
|
@@ -13271,48 +13303,16 @@ function $9b24cbeb3a465447$export$2e2bcd8739ae039({ id: id , matchers: matchers
|
|
13271
13303
|
}
|
13272
13304
|
|
13273
13305
|
|
13274
|
-
|
13275
|
-
|
13276
|
-
$parcel$defineInteropFlag($1a7a7298eec5b755$exports);
|
13277
|
-
|
13278
|
-
$parcel$export($1a7a7298eec5b755$exports, "default", () => $1a7a7298eec5b755$export$2e2bcd8739ae039);
|
13279
|
-
|
13280
|
-
function $1a7a7298eec5b755$export$2e2bcd8739ae039() {
|
13281
|
-
return {
|
13282
|
-
narrow: false,
|
13283
|
-
init () {
|
13284
|
-
(0, $9930d46698775b42$export$a2214cc2adb2dc44)(this.$el, ({ width: width })=>{
|
13285
|
-
this.narrow = width < 500;
|
13286
|
-
});
|
13287
|
-
}
|
13288
|
-
};
|
13289
|
-
}
|
13290
|
-
|
13291
|
-
|
13292
|
-
var $e773f8ef556b41ff$exports = {};
|
13293
|
-
|
13294
|
-
$parcel$defineInteropFlag($e773f8ef556b41ff$exports);
|
13295
|
-
|
13296
|
-
$parcel$export($e773f8ef556b41ff$exports, "default", () => $e773f8ef556b41ff$export$2e2bcd8739ae039);
|
13297
|
-
function $e773f8ef556b41ff$export$2e2bcd8739ae039() {
|
13298
|
-
return {
|
13299
|
-
get isNarrowLayout () {
|
13300
|
-
return this.narrow || false;
|
13301
|
-
}
|
13302
|
-
};
|
13303
|
-
}
|
13304
|
-
|
13305
|
-
|
13306
|
-
$fe98e3f2bf49b28f$exports = {
|
13306
|
+
$8d334f4a3d8b76bc$exports = {
|
13307
13307
|
"display_options": {
|
13308
13308
|
"field": $6a9b69d9cc7f810f$exports
|
13309
13309
|
},
|
13310
|
-
"nav": {
|
13311
|
-
"item": $9b24cbeb3a465447$exports
|
13312
|
-
},
|
13313
13310
|
"params": {
|
13314
13311
|
"editor": $1a7a7298eec5b755$exports,
|
13315
13312
|
"field": $e773f8ef556b41ff$exports
|
13313
|
+
},
|
13314
|
+
"nav": {
|
13315
|
+
"item": $9b24cbeb3a465447$exports
|
13316
13316
|
}
|
13317
13317
|
};
|
13318
13318
|
|
@@ -13380,8 +13380,8 @@ const $d73574cc5e9b9e72$var$prefix = window.APP_NAME;
|
|
13380
13380
|
// Components
|
13381
13381
|
(0, $caa9439642c6336c$export$2e2bcd8739ae039).data("app", (0, $d709d0f4027033b2$export$2e2bcd8739ae039));
|
13382
13382
|
[
|
13383
|
-
$
|
13384
|
-
$
|
13383
|
+
$0c54d9c6f64a406e$exports,
|
13384
|
+
$8d334f4a3d8b76bc$exports,
|
13385
13385
|
$6c10158820e535ef$exports
|
13386
13386
|
].forEach((scripts)=>{
|
13387
13387
|
const components = (0, $5439cede634b2921$export$4e811121b221213b)(scripts);
|