adminator-admin-dashboard 2.7.1 → 2.8.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.
@@ -24,7 +24,7 @@ export default (function () {
24
24
  if (mapInstance) {
25
25
  try {
26
26
  mapInstance.destroy();
27
- } catch (e) {
27
+ } catch {
28
28
  // Map instance cleanup
29
29
  }
30
30
  mapInstance = null;
@@ -166,7 +166,7 @@ export default (function () {
166
166
  tooltip.text(`${regionName}${value ? `: ${ value}` : ''}`);
167
167
  },
168
168
 
169
- onLoaded(map) {
169
+ onLoaded() {
170
170
  // Map loaded successfully
171
171
  },
172
172
  });
@@ -174,7 +174,7 @@ export default (function () {
174
174
  // Store instance for theme updates
175
175
  worldMapContainer.mapInstance = mapInstance;
176
176
 
177
- } catch (error) {
177
+ } catch {
178
178
  // Error initializing JSVectorMap
179
179
 
180
180
  // Fallback: show a simple message
@@ -238,7 +238,7 @@ export default (function () {
238
238
  container.style.backgroundColor = colors.backgroundColor;
239
239
  }
240
240
 
241
- } catch (error) {
241
+ } catch {
242
242
  // Theme update failed, reinitializing map
243
243
  vectorMapInit();
244
244
  }
@@ -261,7 +261,7 @@ export default (function () {
261
261
  if (mapInstance) {
262
262
  try {
263
263
  mapInstance.destroy();
264
- } catch (e) {
264
+ } catch {
265
265
  // Map cleanup on unload
266
266
  }
267
267
  mapInstance = null;
@@ -1 +0,0 @@
1
- export default __webpack_public_path__ + "assets/c1e38fd9e0e74ba58f7a2b77ef29fdd3.svg";
@@ -1 +0,0 @@
1
- export default __webpack_public_path__ + "assets/f0fc8c798eac5636249c4ea287832422.svg";
package/dist/test.html DELETED
@@ -1,91 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
6
- <title>Test</title>
7
- <style>
8
- #loader {
9
- transition: all 0.3s ease-in-out;
10
- opacity: 1;
11
- visibility: visible;
12
- position: fixed;
13
- height: 100vh;
14
- width: 100%;
15
- background: #fff;
16
- z-index: 90000;
17
- }
18
-
19
- #loader.fadeOut {
20
- opacity: 0;
21
- visibility: hidden;
22
- }
23
-
24
-
25
-
26
- .spinner {
27
- width: 40px;
28
- height: 40px;
29
- position: absolute;
30
- top: calc(50% - 20px);
31
- left: calc(50% - 20px);
32
- background-color: #333;
33
- border-radius: 100%;
34
- -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
35
- animation: sk-scaleout 1.0s infinite ease-in-out;
36
- }
37
-
38
- @-webkit-keyframes sk-scaleout {
39
- 0% { -webkit-transform: scale(0) }
40
- 100% {
41
- -webkit-transform: scale(1.0);
42
- opacity: 0;
43
- }
44
- }
45
-
46
- @keyframes sk-scaleout {
47
- 0% {
48
- -webkit-transform: scale(0);
49
- transform: scale(0);
50
- } 100% {
51
- -webkit-transform: scale(1.0);
52
- transform: scale(1.0);
53
- opacity: 0;
54
- }
55
- }
56
- </style>
57
- <script defer="defer" src="main.js"></script></head>
58
- <body class="app">
59
- <div id="loader">
60
- <div class="spinner"></div>
61
- </div>
62
-
63
- <script>
64
- window.addEventListener('load', function load() {
65
- const loader = document.getElementById('loader');
66
- setTimeout(function() {
67
- loader.classList.add('fadeOut');
68
- }, 300);
69
- });
70
- </script>
71
- <div class="page-container">
72
-
73
- <main class="main-content bgc-grey-100">
74
- <div id="mainContent">
75
- <div class="full-container">
76
- <button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="top" title="Tooltip on top">
77
- Tooltip on top
78
- </button>
79
- <button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="top" title="Tooltip on top">
80
- Tooltip on top
81
- </button>
82
-
83
- </div>
84
- </div>
85
- </main>
86
- <footer class="bdT ta-c p-30 lh-0 fsz-sm c-grey-600">
87
- <span>Copyright © 2025 Designed by <a href="https://colorlib.com" target="_blank" rel="nofollow noopener noreferrer" title="Colorlib">Colorlib</a>. All rights reserved.</span>
88
- </footer>
89
- </div>
90
- </body>
91
- </html>