@das-fed/mframe 0.0.28 → 0.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.
Files changed (4) hide show
  1. package/es5.js +9 -0
  2. package/index.js +10 -0
  3. package/package.json +1 -1
  4. package/index.css +0 -1
package/es5.js CHANGED
@@ -30,6 +30,15 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
30
30
  function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n7 = 0, F = function F() {}; return { s: F, n: function n() { return _n7 >= r.length ? { done: !0 } : { done: !1, value: r[_n7++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
31
31
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
32
32
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
33
+ (function () {
34
+ try {
35
+ var elementStyle = document.createElement('style');
36
+ elementStyle.appendChild(document.createTextNode(".main-loader-container{display:flex;align-items:center;justify-content:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1000}.main-loader-container .loader{border:4px solid #f3f3f3;border-top:4px solid #3498db;border-radius:50%;width:24px;height:24px;margin-right:10px;animation:mainLoaderAnimation 2s linear infinite}@keyframes mainLoaderAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.main-error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1000;padding:30px;background-color:#fff;border-radius:8px;box-shadow:0 2px 12px #00000026;min-width:320px;text-align:center}.main-error-container .error-icon{font-size:48px;color:#f56c6c;margin-bottom:16px}.main-error-container .error-message{color:#606266;font-size:14px;line-height:1.6;margin-bottom:20px;max-width:400px}.main-error-container .retry-button{padding:8px 24px;background-color:#409eff;color:#fff;border:none;border-radius:4px;font-size:14px;cursor:pointer;transition:background-color .3s}.main-error-container .retry-button:hover{background-color:#66b1ff}.main-error-container .retry-button:active{background-color:#3a8ee6}\n"));
37
+ document.head.appendChild(elementStyle);
38
+ } catch (e) {
39
+ console.error('vite-plugin-css-injected-by-js', e);
40
+ }
41
+ })();
33
42
  /**
34
43
  * @vue/shared v3.5.17
35
44
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
package/index.js CHANGED
@@ -1,3 +1,13 @@
1
+
2
+ (function() {
3
+ try {
4
+ var elementStyle = document.createElement('style');
5
+ elementStyle.appendChild(document.createTextNode(".main-loader-container{display:flex;align-items:center;justify-content:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1000}.main-loader-container .loader{border:4px solid #f3f3f3;border-top:4px solid #3498db;border-radius:50%;width:24px;height:24px;margin-right:10px;animation:mainLoaderAnimation 2s linear infinite}@keyframes mainLoaderAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.main-error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1000;padding:30px;background-color:#fff;border-radius:8px;box-shadow:0 2px 12px #00000026;min-width:320px;text-align:center}.main-error-container .error-icon{font-size:48px;color:#f56c6c;margin-bottom:16px}.main-error-container .error-message{color:#606266;font-size:14px;line-height:1.6;margin-bottom:20px;max-width:400px}.main-error-container .retry-button{padding:8px 24px;background-color:#409eff;color:#fff;border:none;border-radius:4px;font-size:14px;cursor:pointer;transition:background-color .3s}.main-error-container .retry-button:hover{background-color:#66b1ff}.main-error-container .retry-button:active{background-color:#3a8ee6}\n"));
6
+ document.head.appendChild(elementStyle);
7
+ } catch(e) {
8
+ console.error('vite-plugin-css-injected-by-js', e);
9
+ }
10
+ })();
1
11
  /**
2
12
  * @vue/shared v3.5.17
3
13
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@das-fed/mframe",
3
- "version": "0.0.28",
3
+ "version": "0.0.29",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
package/index.css DELETED
@@ -1 +0,0 @@
1
- .main-loader-container{display:flex;align-items:center;justify-content:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1000}.main-loader-container .loader{border:4px solid #f3f3f3;border-top:4px solid #3498db;border-radius:50%;width:24px;height:24px;margin-right:10px;animation:mainLoaderAnimation 2s linear infinite}@keyframes mainLoaderAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.main-error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1000;padding:30px;background-color:#fff;border-radius:8px;box-shadow:0 2px 12px #00000026;min-width:320px;text-align:center}.main-error-container .error-icon{font-size:48px;color:#f56c6c;margin-bottom:16px}.main-error-container .error-message{color:#606266;font-size:14px;line-height:1.6;margin-bottom:20px;max-width:400px}.main-error-container .retry-button{padding:8px 24px;background-color:#409eff;color:#fff;border:none;border-radius:4px;font-size:14px;cursor:pointer;transition:background-color .3s}.main-error-container .retry-button:hover{background-color:#66b1ff}.main-error-container .retry-button:active{background-color:#3a8ee6}