x-essential-lib 0.8.1 → 0.8.3

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 (2) hide show
  1. package/dist/index.js +6 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.id="x-essential-lib",t.appendChild(document.createTextNode('.fade-leave-active[data-v-0c686889]{transition:opacity .5s ease}.fade-leave-to[data-v-0c686889]{opacity:0}.x-cont[data-v-0c686889]{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center}.lds-spinner[data-v-0c686889]{color:official;display:inline-block;position:relative;width:40px;height:40px}.lds-spinner div[data-v-0c686889]{transform-origin:20px 20px;animation:lds-spinner-0c686889 1.2s linear infinite}.lds-spinner div[data-v-0c686889]:after{content:" ";display:block;position:absolute;top:3px;left:18px;width:2px;height:6px;border-radius:5%;background:#9e9e9e}.lds-spinner div[data-v-0c686889]:nth-child(1){transform:rotate(0);animation-delay:-1.1s}.lds-spinner div[data-v-0c686889]:nth-child(2){transform:rotate(30deg);animation-delay:-1s}.lds-spinner div[data-v-0c686889]:nth-child(3){transform:rotate(60deg);animation-delay:-.9s}.lds-spinner div[data-v-0c686889]:nth-child(4){transform:rotate(90deg);animation-delay:-.8s}.lds-spinner div[data-v-0c686889]:nth-child(5){transform:rotate(120deg);animation-delay:-.7s}.lds-spinner div[data-v-0c686889]:nth-child(6){transform:rotate(150deg);animation-delay:-.6s}.lds-spinner div[data-v-0c686889]:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}.lds-spinner div[data-v-0c686889]:nth-child(8){transform:rotate(210deg);animation-delay:-.4s}.lds-spinner div[data-v-0c686889]:nth-child(9){transform:rotate(240deg);animation-delay:-.3s}.lds-spinner div[data-v-0c686889]:nth-child(10){transform:rotate(270deg);animation-delay:-.2s}.lds-spinner div[data-v-0c686889]:nth-child(11){transform:rotate(300deg);animation-delay:-.1s}.lds-spinner div[data-v-0c686889]:nth-child(12){transform:rotate(330deg);animation-delay:0s}@keyframes lds-spinner-0c686889{0%{opacity:1}to{opacity:0}}.x-item[data-v-d5cfe252]{width:600px}@media (max-width: 600px){.x-item[data-v-d5cfe252]{width:calc(100vw - 16px)}}.x-cont[data-v-8fd5d800]{position:absolute;left:50%;bottom:20px;transform:translate(-50%);z-index:9999}')),document.head.appendChild(t)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
1
+ (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.id="x-essential-lib",t.appendChild(document.createTextNode('.fade-leave-active[data-v-0c686889]{transition:opacity .5s ease}.fade-leave-to[data-v-0c686889]{opacity:0}.x-cont[data-v-0c686889]{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center}.lds-spinner[data-v-0c686889]{color:official;display:inline-block;position:relative;width:40px;height:40px}.lds-spinner div[data-v-0c686889]{transform-origin:20px 20px;animation:lds-spinner-0c686889 1.2s linear infinite}.lds-spinner div[data-v-0c686889]:after{content:" ";display:block;position:absolute;top:3px;left:18px;width:2px;height:6px;border-radius:5%;background:#9e9e9e}.lds-spinner div[data-v-0c686889]:nth-child(1){transform:rotate(0);animation-delay:-1.1s}.lds-spinner div[data-v-0c686889]:nth-child(2){transform:rotate(30deg);animation-delay:-1s}.lds-spinner div[data-v-0c686889]:nth-child(3){transform:rotate(60deg);animation-delay:-.9s}.lds-spinner div[data-v-0c686889]:nth-child(4){transform:rotate(90deg);animation-delay:-.8s}.lds-spinner div[data-v-0c686889]:nth-child(5){transform:rotate(120deg);animation-delay:-.7s}.lds-spinner div[data-v-0c686889]:nth-child(6){transform:rotate(150deg);animation-delay:-.6s}.lds-spinner div[data-v-0c686889]:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}.lds-spinner div[data-v-0c686889]:nth-child(8){transform:rotate(210deg);animation-delay:-.4s}.lds-spinner div[data-v-0c686889]:nth-child(9){transform:rotate(240deg);animation-delay:-.3s}.lds-spinner div[data-v-0c686889]:nth-child(10){transform:rotate(270deg);animation-delay:-.2s}.lds-spinner div[data-v-0c686889]:nth-child(11){transform:rotate(300deg);animation-delay:-.1s}.lds-spinner div[data-v-0c686889]:nth-child(12){transform:rotate(330deg);animation-delay:0s}@keyframes lds-spinner-0c686889{0%{opacity:1}to{opacity:0}}.x-item[data-v-d5cfe252]{width:600px}@media (max-width: 600px){.x-item[data-v-d5cfe252]{width:calc(100vw - 16px)}}.x-cont[data-v-c6a59757]{position:fixed;left:50%;bottom:20px;transform:translate(-50%);z-index:9999}')),document.head.appendChild(t)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
2
2
  import { computed as w, provide as T, inject as A, ref as v, getCurrentInstance as _e, hasInjectionContext as ie, watch as K, getCurrentScope as je, onScopeDispose as Re, shallowRef as ee, watchEffect as Ve, toValue as q, onMounted as E, unref as z, onBeforeUnmount as $, onBeforeMount as Ae, defineComponent as B, resolveComponent as x, createBlock as V, openBlock as L, withKeys as Z, withModifiers as H, isRef as Q, withCtx as y, createVNode as C, createTextVNode as O, toDisplayString as R, Transition as qe, createElementBlock as te, createCommentVNode as oe, normalizeStyle as de, createElementVNode as h, Fragment as Oe, renderList as Ie, useTemplateRef as Te } from "vue";
3
3
  import { useI18n as ne } from "vue-i18n";
4
4
  import { useTheme as fe, useDisplay as Ee } from "vuetify";
@@ -672,6 +672,7 @@ const St = /* @__PURE__ */ B({
672
672
  "onUpdate:modelValue": _[1] || (_[1] = (j) => Q(g) ? g.value = j : null),
673
673
  transition: "dialog-top-transition",
674
674
  "max-width": "600px",
675
+ attach: "",
675
676
  onKeydown: [
676
677
  _[2] || (_[2] = Z(H((j) => g.value = !1, ["stop", "prevent"]), ["esc"])),
677
678
  Z(H(b, ["stop", "prevent"]), ["enter"])
@@ -861,7 +862,7 @@ const It = /* @__PURE__ */ B({
861
862
  }, null, 8, ["id", "type", "text", "timeout"]))), 128))
862
863
  ]));
863
864
  }
864
- }), Bt = /* @__PURE__ */ ce(Et, [["__scopeId", "data-v-8fd5d800"]]), Wt = /* @__PURE__ */ B({
865
+ }), Bt = /* @__PURE__ */ ce(Et, [["__scopeId", "data-v-c6a59757"]]), Wt = /* @__PURE__ */ B({
865
866
  __name: "index",
866
867
  setup(e) {
867
868
  const { t } = ne(), a = v(""), o = v(""), n = v(""), l = v(""), c = v(), r = v(""), u = v(""), s = v(""), d = v(""), g = v(""), b = Te("target");
@@ -882,6 +883,7 @@ const It = /* @__PURE__ */ B({
882
883
  "onUpdate:modelValue": f[2] || (f[2] = (U) => Q(i) ? i.value = U : null),
883
884
  transition: "dialog-top-transition",
884
885
  "max-width": "600px",
886
+ attach: "",
885
887
  onKeydown: [
886
888
  f[3] || (f[3] = Z(H((U) => i.value = !1, ["stop", "prevent"]), ["esc"])),
887
889
  Z(H(k, ["stop", "prevent"]), ["enter"])
@@ -963,7 +965,8 @@ const It = /* @__PURE__ */ B({
963
965
  "onUpdate:modelValue": r[0] || (r[0] = (d) => Q(l) ? l.value = d : null),
964
966
  persistent: "",
965
967
  "no-click-animation": "",
966
- fullscreen: ""
968
+ fullscreen: "",
969
+ attach: ""
967
970
  }, {
968
971
  default: y(() => [
969
972
  h("div", Ut, [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-essential-lib",
3
3
  "private": false,
4
- "version": "0.8.1",
4
+ "version": "0.8.3",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",