x-runtime-lib 0.8.173 → 0.8.175

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.
package/dist/index.js CHANGED
@@ -32,7 +32,7 @@ var qe = (t, n, e) => {
32
32
  import { defineComponent as I, createElementBlock as ee, createCommentVNode as ae, unref as s, openBlock as _, createElementVNode as Ne, computed as x, renderSlot as j, normalizeStyle as ge, ref as ne, watch as ce, onUnmounted as ve, onBeforeMount as $t, watchEffect as Ve, h as D, createVNode as K, createBlock as S, useTemplateRef as Wi, onMounted as Fi, nextTick as Be, withCtx as E, toDisplayString as Di, useAttrs as Vt, resolveComponent as W, isRef as ie, mergeModels as hn, useModel as Qe, createSlots as gn, renderList as _o, useId as Ki, withModifiers as xo, normalizeClass as ko, inject as me, provide as fe, readonly as vn } from "vue";
33
33
  import { globalObjects as Ie, waitUtil as Ni, useViewStack as ji, eventBus as Oi, messageInfo as wo, messageSuccess as Io, messageWarning as Hi, messageError as Gi, createAxios as So, openConfirmDlg as Co, openPromptDlg as $o } from "x-essential-lib";
34
34
  import { CameraHelper as Ji, DirectionalLightHelper as Vo, PointLightHelper as Po, SpotLightHelper as Eo } from "three";
35
- import { i as he, c as Ao, a as ot, K as zo, M as Lo, O as To, u as Uo, r as qi, e as Xi, b as Mo, d as Bo, f as Ro, g as Wo, h as Fo, j as Do, k as Ko, l as No, m as N, H as jo, n as Yi, o as Oo, p as Ho, q as Go } from "./vendor.ei4hhazo.js";
35
+ import { i as he, c as Ao, a as ot, K as zo, M as Lo, O as To, u as Uo, r as qi, e as Xi, b as Mo, d as Bo, f as Ro, g as Wo, h as Fo, j as Do, k as Ko, l as No, m as N, H as jo, n as Yi, o as Oo, p as Ho, q as Go } from "./vendor.fe0c1tv5.js";
36
36
  import { useTheme as Jo } from "vuetify";
37
37
  import { getErrorMessage as qo } from "x-error-lib";
38
38
  const Mn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
@@ -372,12 +372,7 @@ const Qo = async (t, n, e, o) => {
372
372
  } else
373
373
  return i;
374
374
  }, es = async (t, n, e, o, i) => {
375
- if (i) {
376
- if (typeof o != "object")
377
- throw new Error("unexpected value type");
378
- o = JSON.stringify(o, null, 2);
379
- }
380
- await t.setElementProperty(n, e, o);
375
+ i && typeof o == "object" && (o = JSON.stringify(o, null, 2)), await t.setElementProperty(n, e, o);
381
376
  }, ts = async (t, n, e) => {
382
377
  const o = ze(t, n);
383
378
  if (e) {
@@ -387,12 +382,7 @@ const Qo = async (t, n, e, o) => {
387
382
  } else
388
383
  return o;
389
384
  }, ns = async (t, n, e, o) => {
390
- if (o) {
391
- if (typeof e != "object")
392
- throw new Error("unexpected value type");
393
- e = JSON.stringify(e, null, 2);
394
- }
395
- xn(t, n, e);
385
+ o && typeof e == "object" && (e = JSON.stringify(e, null, 2)), xn(t, n, e);
396
386
  };
397
387
  function a(t, n, e) {
398
388
  const o = oe(), i = ne();