@dotglitch/ngx-common 1.0.27 → 1.0.29
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/filemanager/filemanager.component.d.ts +1 -1
- package/esm2020/components/filemanager/file-grid/file-grid.component.mjs +2 -2
- package/esm2020/components/filemanager/filemanager.component.mjs +1 -1
- package/esm2020/components/menu/menu.component.mjs +3 -3
- package/fesm2015/dotglitch-ngx-common.mjs +4 -4
- package/fesm2015/dotglitch-ngx-common.mjs.map +1 -1
- package/fesm2020/dotglitch-ngx-common.mjs +3 -3
- package/fesm2020/dotglitch-ngx-common.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -528,8 +528,8 @@ class MenuComponent {
|
|
|
528
528
|
typeof i['shortcut'] == "string" &&
|
|
529
529
|
i['shortcut'].length > 2);
|
|
530
530
|
if (this.ownerCords) {
|
|
531
|
-
const selfY = parseInt(this.selfCords.top
|
|
532
|
-
const selfX = parseInt(this.selfCords.left
|
|
531
|
+
const selfY = parseInt(this.selfCords.top?.replace('px', '') || '0');
|
|
532
|
+
const selfX = parseInt(this.selfCords.left?.replace('px', '') || '0');
|
|
533
533
|
this.coverRectCords = {
|
|
534
534
|
top: this.ownerCords.y - selfY - 16,
|
|
535
535
|
left: this.ownerCords.x - selfX - 16,
|
|
@@ -8697,7 +8697,7 @@ class FileGridComponent {
|
|
|
8697
8697
|
const url = this.config.apiSettings.deleteEntryUrlTemplate
|
|
8698
8698
|
? this.config.apiSettings.deleteEntryUrlTemplate(path)
|
|
8699
8699
|
: this.config.apiSettings.deleteEntryUrl;
|
|
8700
|
-
this.fetch.
|
|
8700
|
+
this.fetch.post(url, { path: evt.path + evt.name })
|
|
8701
8701
|
.then(() => this.loadFolder());
|
|
8702
8702
|
},
|
|
8703
8703
|
},
|