@getflip/swirl-components 0.100.0 → 0.100.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/components.json +1 -1
- package/dist/cjs/swirl-app-layout_6.cjs.entry.js +3 -1
- package/dist/collection/assets/pdfjs/pdf.worker.min.js +22 -0
- package/dist/collection/components/swirl-resource-list/swirl-resource-list.js +3 -1
- package/dist/components/assets/pdfjs/pdf.worker.min.js +22 -0
- package/dist/components/swirl-resource-list2.js +3 -1
- package/dist/esm/swirl-app-layout_6.entry.js +3 -1
- package/dist/swirl-components/{p-1a815fd4.entry.js → p-c0f4b4ad.entry.js} +1 -1
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/dist/types/components/swirl-resource-list/swirl-resource-list.d.ts +1 -0
- package/package.json +1 -1
package/components.json
CHANGED
|
@@ -317,6 +317,9 @@ const SwirlResourceList = class {
|
|
|
317
317
|
this.setItemAllowDragState();
|
|
318
318
|
this.setupDragDrop();
|
|
319
319
|
}
|
|
320
|
+
componentDidRender() {
|
|
321
|
+
this.setupDragDrop();
|
|
322
|
+
}
|
|
320
323
|
disconnectedCallback() {
|
|
321
324
|
this.sortable?.destroy();
|
|
322
325
|
this.observer?.disconnect();
|
|
@@ -325,7 +328,6 @@ const SwirlResourceList = class {
|
|
|
325
328
|
this.observer = new MutationObserver(() => {
|
|
326
329
|
this.collectItems();
|
|
327
330
|
this.setItemAllowDragState();
|
|
328
|
-
this.setupDragDrop();
|
|
329
331
|
});
|
|
330
332
|
this.observer.observe(this.el, {
|
|
331
333
|
childList: true,
|