x-essential-lib 0.9.16 → 0.9.17

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.
@@ -1,7 +1,7 @@
1
- interface Props {
1
+ type __VLS_Props = {
2
2
  open?: boolean;
3
3
  zIndex?: number;
4
- }
5
- declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
6
  declare const _default: typeof __VLS_export;
7
7
  export default _default;
@@ -1,13 +1,13 @@
1
1
  import { Type } from './types';
2
- interface Props {
2
+ type __VLS_Props = {
3
3
  id: number;
4
4
  type: Type;
5
5
  text: string;
6
6
  timeout?: number;
7
- }
8
- declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ };
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
9
  timeout: (...args: any[]) => void;
10
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
11
  onTimeout?: ((...args: any[]) => any) | undefined;
12
12
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
13
  declare const _default: typeof __VLS_export;
@@ -101,7 +101,7 @@ const e = {
101
101
  }
102
102
  }, t = {
103
103
  common: {
104
- ask: "Do you want to {verb} {object} {name}」?",
104
+ ask: "Do you want to {verb} {object} <{name}> ?",
105
105
  cancel: "Cancel",
106
106
  confirm: "Confirm",
107
107
  responding: "Responding..."
@@ -101,7 +101,7 @@ const e = {
101
101
  }
102
102
  }, t = {
103
103
  common: {
104
- ask: "你想要{verb}{object}{name}」?",
104
+ ask: "你想要{verb}{object} <{name}> ?",
105
105
  cancel: "取消",
106
106
  confirm: "确定",
107
107
  responding: "响应中..."
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var d=document.createElement("style");d.id="x-essential-lib",d.appendChild(document.createTextNode('.fade-leave-active[data-v-83c3cd1d]{transition:opacity .5s ease}.fade-leave-to[data-v-83c3cd1d]{opacity:0}.x-cont[data-v-83c3cd1d]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.lds-spinner[data-v-83c3cd1d]{color:official;display:inline-block;position:relative;width:40px;height:40px}.lds-spinner div[data-v-83c3cd1d]{transform-origin:20px 20px;animation:lds-spinner-83c3cd1d 1.2s linear infinite}.lds-spinner div[data-v-83c3cd1d]:after{content:" ";display:block;position:absolute;top:3px;left:18px;width:2px;height:6px;border-radius:5%;background:#9e9e9e}.lds-spinner div[data-v-83c3cd1d]:nth-child(1){transform:rotate(0);animation-delay:-1.1s}.lds-spinner div[data-v-83c3cd1d]:nth-child(2){transform:rotate(30deg);animation-delay:-1s}.lds-spinner div[data-v-83c3cd1d]:nth-child(3){transform:rotate(60deg);animation-delay:-.9s}.lds-spinner div[data-v-83c3cd1d]:nth-child(4){transform:rotate(90deg);animation-delay:-.8s}.lds-spinner div[data-v-83c3cd1d]:nth-child(5){transform:rotate(120deg);animation-delay:-.7s}.lds-spinner div[data-v-83c3cd1d]:nth-child(6){transform:rotate(150deg);animation-delay:-.6s}.lds-spinner div[data-v-83c3cd1d]:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}.lds-spinner div[data-v-83c3cd1d]:nth-child(8){transform:rotate(210deg);animation-delay:-.4s}.lds-spinner div[data-v-83c3cd1d]:nth-child(9){transform:rotate(240deg);animation-delay:-.3s}.lds-spinner div[data-v-83c3cd1d]:nth-child(10){transform:rotate(270deg);animation-delay:-.2s}.lds-spinner div[data-v-83c3cd1d]:nth-child(11){transform:rotate(300deg);animation-delay:-.1s}.lds-spinner div[data-v-83c3cd1d]:nth-child(12){transform:rotate(330deg);animation-delay:0s}@keyframes lds-spinner-83c3cd1d{0%{opacity:1}to{opacity:0}}.x-item[data-v-f1f60167]{width:600px}@media (max-width: 600px){.x-item[data-v-f1f60167]{width:calc(100vw - 16px)}}.x-cont[data-v-b482df18]{position:fixed;left:50%;bottom:20px;transform:translate(-50%);z-index:9999}')),document.head.appendChild(d)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
1
+ (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.id="x-essential-lib",a.appendChild(document.createTextNode('.fade-leave-active[data-v-99c4198b]{transition:opacity .5s ease}.fade-leave-to[data-v-99c4198b]{opacity:0}.x-cont[data-v-99c4198b]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.lds-spinner[data-v-99c4198b]{color:official;display:inline-block;position:relative;width:40px;height:40px}.lds-spinner div[data-v-99c4198b]{transform-origin:20px 20px;animation:lds-spinner-99c4198b 1.2s linear infinite}.lds-spinner div[data-v-99c4198b]:after{content:" ";display:block;position:absolute;top:3px;left:18px;width:2px;height:6px;border-radius:5%;background:#9e9e9e}.lds-spinner div[data-v-99c4198b]:nth-child(1){transform:rotate(0);animation-delay:-1.1s}.lds-spinner div[data-v-99c4198b]:nth-child(2){transform:rotate(30deg);animation-delay:-1s}.lds-spinner div[data-v-99c4198b]:nth-child(3){transform:rotate(60deg);animation-delay:-.9s}.lds-spinner div[data-v-99c4198b]:nth-child(4){transform:rotate(90deg);animation-delay:-.8s}.lds-spinner div[data-v-99c4198b]:nth-child(5){transform:rotate(120deg);animation-delay:-.7s}.lds-spinner div[data-v-99c4198b]:nth-child(6){transform:rotate(150deg);animation-delay:-.6s}.lds-spinner div[data-v-99c4198b]:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}.lds-spinner div[data-v-99c4198b]:nth-child(8){transform:rotate(210deg);animation-delay:-.4s}.lds-spinner div[data-v-99c4198b]:nth-child(9){transform:rotate(240deg);animation-delay:-.3s}.lds-spinner div[data-v-99c4198b]:nth-child(10){transform:rotate(270deg);animation-delay:-.2s}.lds-spinner div[data-v-99c4198b]:nth-child(11){transform:rotate(300deg);animation-delay:-.1s}.lds-spinner div[data-v-99c4198b]:nth-child(12){transform:rotate(330deg);animation-delay:0s}@keyframes lds-spinner-99c4198b{0%{opacity:1}to{opacity:0}}.x-item[data-v-5b5f6d09]{width:600px}@media (max-width: 600px){.x-item[data-v-5b5f6d09]{width:calc(100vw - 16px)}}.x-cont[data-v-b482df18]{position:fixed;left:50%;bottom:20px;transform:translate(-50%);z-index:9999}')),document.head.appendChild(a)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
2
  import { computed as j, provide as U, inject as K, ref as p, watchEffect as ne, onMounted as W, onBeforeUnmount as N, onBeforeMount as De, defineComponent as $, watch as J, resolveComponent as m, createBlock as A, openBlock as q, withKeys as F, unref as E, withModifiers as I, isRef as X, withCtx as v, createVNode as h, createTextVNode as M, toDisplayString as S, Transition as Ce, createElementBlock as ee, createCommentVNode as te, normalizeStyle as se, createElementVNode as D, Fragment as Ve, renderList as je, useTemplateRef as pe } from "vue";
3
3
  import { useI18n as z } from "vue-i18n";
4
4
  import { useTheme as _e, useDisplay as qe } from "vuetify";
@@ -610,7 +610,7 @@ const lt = /* @__PURE__ */ $({
610
610
  for (const [o, l] of t)
611
611
  a[o] = l;
612
612
  return a;
613
- }, rt = /* @__PURE__ */ le(nt, [["__scopeId", "data-v-83c3cd1d"]]), ut = /* @__PURE__ */ $({
613
+ }, rt = /* @__PURE__ */ le(nt, [["__scopeId", "data-v-99c4198b"]]), ut = /* @__PURE__ */ $({
614
614
  __name: "item",
615
615
  props: {
616
616
  id: {},
@@ -669,7 +669,7 @@ const lt = /* @__PURE__ */ $({
669
669
  }, 8, ["color"]);
670
670
  };
671
671
  }
672
- }), ct = /* @__PURE__ */ le(ut, [["__scopeId", "data-v-f1f60167"]]), st = /* @__PURE__ */ $({
672
+ }), ct = /* @__PURE__ */ le(ut, [["__scopeId", "data-v-5b5f6d09"]]), st = /* @__PURE__ */ $({
673
673
  __name: "index",
674
674
  setup(e) {
675
675
  const t = p([]);
@@ -926,7 +926,7 @@ const lt = /* @__PURE__ */ $({
926
926
  });
927
927
  };
928
928
  async function Ft(e) {
929
- return (await bt(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.opwoswgc.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans.e8snb93i.js") }), `./locales/${e}/index.ts`, 4)).default;
929
+ return (await bt(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.i529k39u.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans.mx7z5jvj.js") }), `./locales/${e}/index.ts`, 4)).default;
930
930
  }
931
931
  const Gt = { install: mt };
932
932
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-essential-lib",
3
3
  "private": false,
4
- "version": "0.9.16",
4
+ "version": "0.9.17",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",