x-essential-lib 0.9.31 → 0.9.33

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 +43 -10
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -876,7 +876,40 @@ var $e = /* @__PURE__ */ p({
876
876
  }, 8, ["modelValue"]);
877
877
  };
878
878
  }
879
- }), ot = { class: "ma-auto" }, st = { class: "w-100 h-100 d-flex align-center justify-center" }, ct = { class: "text-body-large" }, lt = /* @__PURE__ */ p({
879
+ }), ot = /* @__PURE__ */ p({
880
+ __name: "index",
881
+ props: {
882
+ show: { type: Boolean },
883
+ top: {},
884
+ left: {}
885
+ },
886
+ setup(e) {
887
+ let t = o(() => ({
888
+ position: "absolute",
889
+ backgroundColor: "#ff00cc",
890
+ width: "100%",
891
+ height: "1px",
892
+ top: `${e.top}px`,
893
+ left: "0px",
894
+ zIndex: 9999
895
+ })), n = o(() => ({
896
+ position: "absolute",
897
+ backgroundColor: "#ff00cc",
898
+ width: "1px",
899
+ height: "100%",
900
+ top: "0px",
901
+ left: `${e.left}px`,
902
+ zIndex: 9999
903
+ }));
904
+ return (r, a) => (b(), l(i, null, [e.show ? (b(), l("span", {
905
+ key: 0,
906
+ style: g(t.value)
907
+ }, null, 4)) : c("", !0), e.show ? (b(), l("span", {
908
+ key: 1,
909
+ style: g(n.value)
910
+ }, null, 4)) : c("", !0)], 64));
911
+ }
912
+ }), st = { class: "ma-auto" }, ct = { class: "w-100 h-100 d-flex align-center justify-center" }, lt = { class: "text-body-large" }, ut = /* @__PURE__ */ p({
880
913
  __name: "index",
881
914
  setup(e) {
882
915
  let { t } = N(), n = S(""), r = (e) => {
@@ -898,21 +931,21 @@ var $e = /* @__PURE__ */ p({
898
931
  "no-click-animation": "",
899
932
  persistent: ""
900
933
  }, {
901
- default: A(() => [u("div", ot, [f(r, {
934
+ default: A(() => [u("div", st, [f(r, {
902
935
  height: "80px",
903
936
  loading: "",
904
937
  width: "300px"
905
938
  }, {
906
- default: A(() => [u("div", st, [u("span", ct, T(n.value), 1)])]),
939
+ default: A(() => [u("div", ct, [u("span", lt, T(n.value), 1)])]),
907
940
  _: 1
908
941
  })])]),
909
942
  _: 1
910
943
  }, 8, ["modelValue"]);
911
944
  };
912
945
  }
913
- }), ut = (e) => {
914
- e.component("XConfirmDlg", $e), e.component("XLoading", tt), e.component("XMessage", rt), e.component("XNumberDlg", it), e.component("XPromptDlg", at), e.component("XWaitDlg", lt);
915
- }, dt = (e, t, n) => {
946
+ }), dt = (e) => {
947
+ e.component("XConfirmDlg", $e), e.component("XLoading", tt), e.component("XMessage", rt), e.component("XNumberDlg", it), e.component("XPromptDlg", at), e.component("XRefLine", ot), e.component("XWaitDlg", ut);
948
+ }, ft = (e, t, n) => {
916
949
  let r = t.lastIndexOf("?"), i = e[r === -1 || r < t.lastIndexOf("/") ? t : t.slice(0, r)];
917
950
  return i ? typeof i == "function" ? i() : Promise.resolve(i) : new Promise((e, r) => {
918
951
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(r.bind(null, /* @__PURE__ */ Error("Unknown variable dynamic import: " + t + (t.split("/").length === n ? "" : ". Note that variables only represent file names one level deep."))));
@@ -920,14 +953,14 @@ var $e = /* @__PURE__ */ p({
920
953
  };
921
954
  //#endregion
922
955
  //#region src/i18n/index.ts
923
- async function ft(e) {
924
- return (await dt(/* @__PURE__ */ Object.assign({
956
+ async function pt(e) {
957
+ return (await ft(/* @__PURE__ */ Object.assign({
925
958
  "./locales/en/index.ts": () => import("./i18n-en.lqadbyvh.js").then((e) => e.t),
926
959
  "./locales/zhHans/index.ts": () => import("./i18n-zhHans.jagnyxbk.js").then((e) => e.t)
927
960
  }), `./locales/${e}/index.ts`, 4)).default;
928
961
  }
929
962
  //#endregion
930
963
  //#region src/index.ts
931
- var pt = { install: ut };
964
+ var mt = { install: dt };
932
965
  //#endregion
933
- export { we as Permission, Ke as addView, pe as appAppear, Ye as clearViews, ye as closeWaitDlg, ae as createAxios, pt as default, qe as delView, F as eventBus, He as getTypeColor, Ue as getTypeDefault, de as globalObjects, Z as hasView, Ee as injectDark, Pe as injectLastAppPath, Oe as injectLocale, Me as injectPermissionChecksum, Ae as injectPermissionObjects, Ie as injectViews, We as isEmpty, B as isExist, Ge as lastView, ft as loadLocaleMessageEssential, J as matchRouteMeta, be as messageError, xe as messageInfo, Se as messageSuccess, Ce as messageWarning, Be as onBeforeEach, he as openConfirmDlg, ge as openNumberDlg, _e as openPromptDlg, ve as openWaitDlg, Je as popView, Te as provideDark, Ne as provideLastAppPath, De as provideLocale, je as providePermissionChecksum, ke as providePermissionObjects, Fe as provideViews, Y as routeTransName, Ve as types, ie as useColor, Xe as useMicroApp, Ze as usePermission, Qe as useSystem, Q as useViewStack, V as verifyPermission, fe as waitMs, I as waitUtil };
966
+ export { we as Permission, Ke as addView, pe as appAppear, Ye as clearViews, ye as closeWaitDlg, ae as createAxios, mt as default, qe as delView, F as eventBus, He as getTypeColor, Ue as getTypeDefault, de as globalObjects, Z as hasView, Ee as injectDark, Pe as injectLastAppPath, Oe as injectLocale, Me as injectPermissionChecksum, Ae as injectPermissionObjects, Ie as injectViews, We as isEmpty, B as isExist, Ge as lastView, pt as loadLocaleMessageEssential, J as matchRouteMeta, be as messageError, xe as messageInfo, Se as messageSuccess, Ce as messageWarning, Be as onBeforeEach, he as openConfirmDlg, ge as openNumberDlg, _e as openPromptDlg, ve as openWaitDlg, Je as popView, Te as provideDark, Ne as provideLastAppPath, De as provideLocale, je as providePermissionChecksum, ke as providePermissionObjects, Fe as provideViews, Y as routeTransName, Ve as types, ie as useColor, Xe as useMicroApp, Ze as usePermission, Qe as useSystem, Q as useViewStack, V as verifyPermission, fe as waitMs, I as waitUtil };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-essential-lib",
3
3
  "private": false,
4
- "version": "0.9.31",
4
+ "version": "0.9.33",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",