@frybynite/image-cloud 0.9.0 → 0.9.1
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/dist/image-cloud-auto-init.js +4 -5
- package/dist/image-cloud-auto-init.js.map +1 -1
- package/dist/image-cloud.js +4 -5
- package/dist/image-cloud.js.map +1 -1
- package/dist/image-cloud.umd.js +2 -2
- package/dist/image-cloud.umd.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js +4 -5
- package/dist/react.js.map +1 -1
- package/dist/vue.d.ts +1 -1
- package/dist/vue.js +4 -5
- package/dist/vue.js.map +1 -1
- package/dist/web-component.d.ts +1 -1
- package/dist/web-component.js +4 -5
- package/dist/web-component.js.map +1 -1
- package/package.json +1 -1
package/dist/image-cloud.js
CHANGED
|
@@ -136,10 +136,8 @@ const mt = Object.freeze({
|
|
|
136
136
|
queue: Object.freeze({
|
|
137
137
|
enabled: !0,
|
|
138
138
|
// When false, all images display simultaneously
|
|
139
|
-
interval: 150
|
|
139
|
+
interval: 150
|
|
140
140
|
// ms between processing queue items (when enabled)
|
|
141
|
-
maxConcurrent: void 0
|
|
142
|
-
// STUB: Not implemented yet
|
|
143
141
|
}),
|
|
144
142
|
performance: Object.freeze({
|
|
145
143
|
useGPU: void 0,
|
|
@@ -193,7 +191,8 @@ const mt = Object.freeze({
|
|
|
193
191
|
// STUB: Not implemented yet
|
|
194
192
|
doubleTapToFocus: void 0
|
|
195
193
|
// STUB: Not implemented yet
|
|
196
|
-
})
|
|
194
|
+
}),
|
|
195
|
+
disableDragging: !1
|
|
197
196
|
}),
|
|
198
197
|
// Pattern-based rendering configuration
|
|
199
198
|
rendering: Object.freeze({
|
|
@@ -3539,7 +3538,7 @@ class Qe {
|
|
|
3539
3538
|
h.style.left = `${d - 6}px`, h.style.top = `${f - 6}px`, h.title = `Image ${u}: center (${Math.round(d)}, ${Math.round(f)})`, this.containerEl.appendChild(h);
|
|
3540
3539
|
})), t.forEach((l, u) => {
|
|
3541
3540
|
const h = document.createElement("img");
|
|
3542
|
-
h.referrerPolicy = "no-referrer", h.classList.add("fbn-ic-image"), h.dataset.imageId = String(u), h.dataset.createdFlag = "true";
|
|
3541
|
+
h.referrerPolicy = "no-referrer", h.classList.add("fbn-ic-image"), this.fullConfig.interaction.disableDragging && (h.draggable = !1), h.dataset.imageId = String(u), h.dataset.createdFlag = "true";
|
|
3543
3542
|
const d = a[u];
|
|
3544
3543
|
h.style.position = "absolute", h.style.width = "auto", h.style.height = `${i}px`, h.style.left = `${d.x}px`, h.style.top = `${d.y}px`, d.zIndex && (h.style.zIndex = String(d.zIndex)), st(h, this.defaultClassName), h.addEventListener("mouseenter", () => {
|
|
3545
3544
|
if (this.hoveredImage = { element: h, layout: d }, !this.zoomEngine.isInvolved(h)) {
|