@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/vue.d.ts CHANGED
@@ -131,7 +131,6 @@ declare interface AnimationPerformanceConfig {
131
131
  declare interface AnimationQueueConfig {
132
132
  enabled: boolean;
133
133
  interval: number;
134
- maxConcurrent?: number;
135
134
  }
136
135
 
137
136
  /**
@@ -1058,6 +1057,7 @@ declare interface InteractionConfig {
1058
1057
  focus: FocusInteractionConfig;
1059
1058
  navigation?: NavigationInteractionConfig;
1060
1059
  gestures?: GestureInteractionConfig;
1060
+ disableDragging?: boolean;
1061
1061
  }
1062
1062
 
1063
1063
  export declare type LayoutAlgorithm = 'random' | 'radial' | 'grid' | 'spiral' | 'cluster' | 'wave' | 'honeycomb';
package/dist/vue.js CHANGED
@@ -137,10 +137,8 @@ const mt = Object.freeze({
137
137
  queue: Object.freeze({
138
138
  enabled: !0,
139
139
  // When false, all images display simultaneously
140
- interval: 150,
140
+ interval: 150
141
141
  // ms between processing queue items (when enabled)
142
- maxConcurrent: void 0
143
- // STUB: Not implemented yet
144
142
  }),
145
143
  performance: Object.freeze({
146
144
  useGPU: void 0,
@@ -194,7 +192,8 @@ const mt = Object.freeze({
194
192
  // STUB: Not implemented yet
195
193
  doubleTapToFocus: void 0
196
194
  // STUB: Not implemented yet
197
- })
195
+ }),
196
+ disableDragging: !1
198
197
  }),
199
198
  // Pattern-based rendering configuration
200
199
  rendering: Object.freeze({
@@ -3540,7 +3539,7 @@ let si = class {
3540
3539
  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);
3541
3540
  })), t.forEach((l, u) => {
3542
3541
  const h = document.createElement("img");
3543
- h.referrerPolicy = "no-referrer", h.classList.add("fbn-ic-image"), h.dataset.imageId = String(u), h.dataset.createdFlag = "true";
3542
+ 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";
3544
3543
  const d = a[u];
3545
3544
  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", () => {
3546
3545
  if (this.hoveredImage = { element: h, layout: d }, !this.zoomEngine.isInvolved(h)) {