public/lookbook-assets/js/index.js in lookbook-2.0.0.rc.1 vs public/lookbook-assets/js/index.js in lookbook-2.0.0.rc.2
- old
+ new
@@ -7813,11 +7813,53 @@
return $1.toUpperCase().replace("-", "").replace("_", "");
});
}
-var $52abf2efa3492135$exports = {};
+var $57df4ec1d6bb80f5$exports = {};
+var $47a1c62621be0c54$exports = {};
+
+$parcel$defineInteropFlag($47a1c62621be0c54$exports);
+
+$parcel$export($47a1c62621be0c54$exports, "default", () => $47a1c62621be0c54$export$2e2bcd8739ae039);
+var $4e31c85e11272811$exports = {};
+
+$parcel$defineInteropFlag($4e31c85e11272811$exports);
+
+$parcel$export($4e31c85e11272811$exports, "initClipboard", () => $4e31c85e11272811$export$c6684e6159b21de3);
+$parcel$export($4e31c85e11272811$exports, "default", () => $4e31c85e11272811$export$2e2bcd8739ae039);
+
+function $4e31c85e11272811$export$c6684e6159b21de3(context = {}) {
+ let copyTimeout = null;
+ return Object.assign(context, {
+ copied: false,
+ async copyToClipboard (target = null) {
+ let targetEl;
+ if (this.$refs.copyTarget) targetEl = this.$refs.copyTarget;
+ else if (typeof target === "string") targetEl = document.querySelector(target);
+ if (!targetEl) {
+ this.warn("Could not find copy target");
+ return false;
+ }
+ const content = (0, $fb8f79f7dd40b68f$export$6cb344a21ca18aec)(targetEl.innerHTML.trim());
+ await window.navigator.clipboard.writeText(content);
+ this.copied = true;
+ if (copyTimeout) clearTimeout(copyTimeout);
+ copyTimeout = setTimeout(()=>{
+ this.copied = false;
+ this.onCopyComplete();
+ }, 1000);
+ return content;
+ },
+ onCopyComplete () {}
+ });
+}
+function $4e31c85e11272811$export$2e2bcd8739ae039() {
+ return $4e31c85e11272811$export$c6684e6159b21de3({});
+}
+
+
var $cbd28b10fa9798c7$exports = {};
$parcel$defineInteropFlag($cbd28b10fa9798c7$exports);
$parcel$export($cbd28b10fa9798c7$exports, "default", () => $cbd28b10fa9798c7$export$2e2bcd8739ae039);
@@ -11344,63 +11386,10 @@
_spinning: false
};
}
-var $99486586f6691564$exports = {};
-
-$parcel$defineInteropFlag($99486586f6691564$exports);
-
-$parcel$export($99486586f6691564$exports, "default", () => $99486586f6691564$export$2e2bcd8739ae039);
-function $99486586f6691564$export$2e2bcd8739ae039() {
- return {};
-}
-
-
-var $47a1c62621be0c54$exports = {};
-
-$parcel$defineInteropFlag($47a1c62621be0c54$exports);
-
-$parcel$export($47a1c62621be0c54$exports, "default", () => $47a1c62621be0c54$export$2e2bcd8739ae039);
-var $4e31c85e11272811$exports = {};
-
-$parcel$defineInteropFlag($4e31c85e11272811$exports);
-
-$parcel$export($4e31c85e11272811$exports, "initClipboard", () => $4e31c85e11272811$export$c6684e6159b21de3);
-$parcel$export($4e31c85e11272811$exports, "default", () => $4e31c85e11272811$export$2e2bcd8739ae039);
-
-function $4e31c85e11272811$export$c6684e6159b21de3(context = {}) {
- let copyTimeout = null;
- return Object.assign(context, {
- copied: false,
- async copyToClipboard (target = null) {
- let targetEl;
- if (this.$refs.copyTarget) targetEl = this.$refs.copyTarget;
- else if (typeof target === "string") targetEl = document.querySelector(target);
- if (!targetEl) {
- this.warn("Could not find copy target");
- return false;
- }
- const content = (0, $fb8f79f7dd40b68f$export$6cb344a21ca18aec)(targetEl.innerHTML.trim());
- await window.navigator.clipboard.writeText(content);
- this.copied = true;
- if (copyTimeout) clearTimeout(copyTimeout);
- copyTimeout = setTimeout(()=>{
- this.copied = false;
- this.onCopyComplete();
- }, 1000);
- return content;
- },
- onCopyComplete () {}
- });
-}
-function $4e31c85e11272811$export$2e2bcd8739ae039() {
- return $4e31c85e11272811$export$c6684e6159b21de3({});
-}
-
-
-
function $47a1c62621be0c54$export$2e2bcd8739ae039() {
const button = (0, $cbd28b10fa9798c7$export$2e2bcd8739ae039)();
return {
...button,
copied: false,
@@ -11410,10 +11399,21 @@
}
};
}
+
+var $99486586f6691564$exports = {};
+
+$parcel$defineInteropFlag($99486586f6691564$exports);
+
+$parcel$export($99486586f6691564$exports, "default", () => $99486586f6691564$export$2e2bcd8739ae039);
+function $99486586f6691564$export$2e2bcd8739ae039() {
+ return {};
+}
+
+
var $e398acaded942bbe$exports = {};
$parcel$defineInteropFlag($e398acaded942bbe$exports);
$parcel$export($e398acaded942bbe$exports, "default", () => $e398acaded942bbe$export$2e2bcd8739ae039);
@@ -12334,14 +12334,14 @@
}
};
}
-$52abf2efa3492135$exports = {
+$57df4ec1d6bb80f5$exports = {
+ "copy_button": $47a1c62621be0c54$exports,
"button": $cbd28b10fa9798c7$exports,
"code": $99486586f6691564$exports,
- "copy_button": $47a1c62621be0c54$exports,
"dimensions_display": $e398acaded942bbe$exports,
"embed_code_dropdown": $216ef7001f59f21d$exports,
"filter": $e9904a14dabf652d$exports,
"nav": $d92d9d5253f84566$exports,
"split_layout": $506dabb2bf255b38$exports,
@@ -13519,10 +13519,10 @@
prefix: $22969b543678f572$var$prefix
}));
// Components
(0, $caa9439642c6336c$export$2e2bcd8739ae039).data("app", (0, $5792afa4170ed552$export$2e2bcd8739ae039));
[
- $52abf2efa3492135$exports,
+ $57df4ec1d6bb80f5$exports,
$3b154185c6273749$exports,
$338da9a25bc5c332$exports
].forEach((scripts)=>{
const components = (0, $12b7aa006b8a97e1$export$4e811121b221213b)(scripts);
Object.keys(components).forEach((name)=>{