x-runtime-lib 0.8.117 → 0.8.118

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.
@@ -3,11 +3,11 @@ type __VLS_Props = {
3
3
  rotation: [number, number, number];
4
4
  scale: [number, number, number];
5
5
  };
6
- declare var __VLS_20: {}, __VLS_22: {};
6
+ declare var __VLS_18: {}, __VLS_20: {};
7
7
  type __VLS_Slots = {} & {
8
- default?: (props: typeof __VLS_20) => any;
8
+ default?: (props: typeof __VLS_18) => any;
9
9
  } & {
10
- default?: (props: typeof __VLS_22) => any;
10
+ default?: (props: typeof __VLS_20) => any;
11
11
  };
12
12
  declare const __VLS_base: 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>;
13
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,7 +1,7 @@
1
1
  import { ElementProps } from '@/types';
2
- declare var __VLS_20: {};
2
+ declare var __VLS_19: {};
3
3
  type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_20) => any;
4
+ default?: (props: typeof __VLS_19) => any;
5
5
  };
6
6
  declare const __VLS_base: import("vue").DefineComponent<ElementProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ElementProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
7
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,7 +1,7 @@
1
1
  import { ElementProps } from '@/types';
2
- declare var __VLS_20: {};
2
+ declare var __VLS_19: {};
3
3
  type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_20) => any;
4
+ default?: (props: typeof __VLS_19) => any;
5
5
  };
6
6
  declare const __VLS_base: import("vue").DefineComponent<ElementProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ElementProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
7
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,7 +1,7 @@
1
1
  import { ElementProps } from '@/types';
2
- declare var __VLS_20: {};
2
+ declare var __VLS_19: {};
3
3
  type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_20) => any;
4
+ default?: (props: typeof __VLS_19) => any;
5
5
  };
6
6
  declare const __VLS_base: import("vue").DefineComponent<ElementProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ElementProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
7
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,7 +1,7 @@
1
1
  import { ElementProps } from '@/types';
2
- declare var __VLS_20: {};
2
+ declare var __VLS_19: {};
3
3
  type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_20) => any;
4
+ default?: (props: typeof __VLS_19) => any;
5
5
  };
6
6
  declare const __VLS_base: import("vue").DefineComponent<ElementProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ElementProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
7
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,7 +1,7 @@
1
1
  import { ElementProps } from '@/types';
2
- declare var __VLS_20: {};
2
+ declare var __VLS_19: {};
3
3
  type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_20) => any;
4
+ default?: (props: typeof __VLS_19) => any;
5
5
  };
6
6
  declare const __VLS_base: import("vue").DefineComponent<ElementProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ElementProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
7
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
package/dist/index.js CHANGED
@@ -32,7 +32,7 @@ var Ce = (t, n, e) => {
32
32
  import { defineComponent as C, createElementBlock as ie, renderSlot as R, unref as i, openBlock as _, createElementVNode as te, computed as k, normalizeStyle as le, createCommentVNode as re, toRef as qo, onBeforeMount as Xo, onUnmounted as Ge, ref as se, watchEffect as fe, watch as ce, createBlock as S, withCtx as I, useTemplateRef as uo, onMounted as mo, nextTick as po, useAttrs as fo, h as ye, resolveComponent as M, createVNode as O, isRef as Z, createSlots as Ft, renderList as Yo, useId as yo, withModifiers as Zo, normalizeClass as Qo, toDisplayString as ei, inject as ue, provide as me, readonly as Nt } from "vue";
33
33
  import { globalObjects as we, waitUtil as bo, useViewStack as go, eventBus as ho, messageInfo as ti, messageSuccess as ni, messageWarning as _o, messageError as vo, createAxios as oi, openConfirmDlg as ii, openPromptDlg as ri } from "x-essential-lib";
34
34
  import { CameraHelper as xo, DirectionalLightHelper as si, PointLightHelper as li, SpotLightHelper as ai } from "three";
35
- import { i as pe, c as He, K as ci, M as ui, O as mi, u as pi, r as ko, e as wo, a as di, b as fi, d as yi, f as bi, g as gi, h as hi, j as _i, k as vi, l as Io, m as D, n as xi, o as ki, p as wi, q as Ii } from "./vendor.muyuiulw.js";
35
+ import { i as pe, c as He, K as ci, M as ui, O as mi, u as pi, r as ko, e as wo, a as di, b as fi, d as yi, f as bi, g as gi, h as hi, j as _i, k as vi, l as Io, m as D, n as xi, o as ki, p as wi, q as Ii } from "./vendor.emk171rx.js";
36
36
  import { useTheme as Si } from "vuetify";
37
37
  import { getErrorMessage as $i } from "x-error-lib";
38
38
  import { useI18n as So } from "vue-i18n";
@@ -392,7 +392,7 @@ const Ke = {}, w = (t) => {
392
392
  });
393
393
  function P(t) {
394
394
  const n = ve(), e = qo(n.value.view.nodes, t.nodeId);
395
- console.assert(e.value, `invalid node id=${t.nodeId}`);
395
+ console.assert(!!e.value, `invalid node id=${t.nodeId}`);
396
396
  const o = e.value.basic.id, s = e.value.basic.key;
397
397
  return console.log(`[element/create] id=${o} key=${s}`), { node: e };
398
398
  }
@@ -4305,7 +4305,7 @@ const xn = {
4305
4305
  {
4306
4306
  key: "comp",
4307
4307
  name: "x-runtime-lib.comp",
4308
- ui: "compSelect",
4308
+ ui: "selectComp",
4309
4309
  default: void 0
4310
4310
  }
4311
4311
  ]
@@ -4348,13 +4348,13 @@ const wn = {
4348
4348
  {
4349
4349
  key: "slot",
4350
4350
  name: "x-runtime-lib.slot",
4351
- ui: "slotSelect",
4351
+ ui: "selectSlot",
4352
4352
  default: void 0
4353
4353
  },
4354
4354
  {
4355
4355
  key: "comp",
4356
4356
  name: "x-runtime-lib.comp",
4357
- ui: "compSelect",
4357
+ ui: "selectComp",
4358
4358
  default: void 0
4359
4359
  }
4360
4360
  ]
@@ -4375,7 +4375,7 @@ Me.name = "x-runtime-lib.backgroundColor";
4375
4375
  const Ao = {
4376
4376
  key: "adaptSlot",
4377
4377
  name: "x-runtime-lib.adaptSlot",
4378
- ui: "adaptSlotSelect",
4378
+ ui: "selectAdaptSlot",
4379
4379
  default: void 0
4380
4380
  }, Nl = {
4381
4381
  key: "settings",
@@ -5232,7 +5232,7 @@ const En = {
5232
5232
  {
5233
5233
  key: "comp",
5234
5234
  name: "x-runtime-lib.comp",
5235
- ui: "compSelect",
5235
+ ui: "selectComp",
5236
5236
  default: void 0
5237
5237
  }
5238
5238
  ],
@@ -5739,25 +5739,25 @@ const Kn = {
5739
5739
  {
5740
5740
  key: "append",
5741
5741
  name: "x-runtime-lib.append",
5742
- ui: "compSelect",
5742
+ ui: "selectComp",
5743
5743
  default: void 0
5744
5744
  },
5745
5745
  {
5746
5746
  key: "appendInner",
5747
5747
  name: "x-runtime-lib.appendInner",
5748
- ui: "compSelect",
5748
+ ui: "selectComp",
5749
5749
  default: void 0
5750
5750
  },
5751
5751
  {
5752
5752
  key: "prepend",
5753
5753
  name: "x-runtime-lib.prepend",
5754
- ui: "compSelect",
5754
+ ui: "selectComp",
5755
5755
  default: void 0
5756
5756
  },
5757
5757
  {
5758
5758
  key: "prependInner",
5759
5759
  name: "x-runtime-lib.prependInner",
5760
- ui: "compSelect",
5760
+ ui: "selectComp",
5761
5761
  default: void 0
5762
5762
  }
5763
5763
  ]
@@ -6741,13 +6741,13 @@ const Yn = {
6741
6741
  {
6742
6742
  key: "append",
6743
6743
  name: "x-runtime-lib.append",
6744
- ui: "compSelect",
6744
+ ui: "selectComp",
6745
6745
  default: void 0
6746
6746
  },
6747
6747
  {
6748
6748
  key: "prepend",
6749
6749
  name: "x-runtime-lib.prepend",
6750
- ui: "compSelect",
6750
+ ui: "selectComp",
6751
6751
  default: void 0
6752
6752
  }
6753
6753
  ]
@@ -8417,7 +8417,7 @@ function ao(t, n) {
8417
8417
  return n ? D(t.default) : D(t.defaultArray);
8418
8418
  {
8419
8419
  const e = D(t.default);
8420
- return (t.ui === "switch" || t.ui === "select" || t.ui === "colorPicker" || t.ui === "multiTypes" || t.ui === "compSelect") && !e ? void 0 : e;
8420
+ return (t.ui === "switch" || t.ui === "select" || t.ui === "colorPicker" || t.ui === "multiTypes" || t.ui === "selectComp" || t.ui === "selectSlot" || t.ui === "selectAdaptSlot") && !e ? void 0 : e;
8421
8421
  }
8422
8422
  }
8423
8423
  function A(t, n) {
@@ -84,18 +84,18 @@ type ZPropertyMultiTypes = {
84
84
  readonly?: boolean;
85
85
  default: string;
86
86
  } & ZPropertyBase;
87
- type ZPropertyCompSelect = {
88
- ui: 'compSelect';
87
+ type ZPropertySelectComp = {
88
+ ui: 'selectComp';
89
89
  readonly?: boolean;
90
90
  default: string | undefined;
91
91
  } & ZPropertyBase;
92
- type ZPropertySlotSelect = {
93
- ui: 'slotSelect';
92
+ type ZPropertySelectSlot = {
93
+ ui: 'selectSlot';
94
94
  readonly?: boolean;
95
95
  default: string | undefined;
96
96
  } & ZPropertyBase;
97
- type ZPropertyAdaptSlotSelect = {
98
- ui: 'adaptSlotSelect';
97
+ type ZPropertySelectAdaptSlot = {
98
+ ui: 'selectAdaptSlot';
99
99
  readonly?: boolean;
100
100
  default: string | undefined;
101
101
  } & ZPropertyBase;
@@ -146,20 +146,20 @@ export type ZProperty = ({
146
146
  defaultArray: string[];
147
147
  } & ZPropertyMultiTypes) | ({
148
148
  array?: false;
149
- } & ZPropertyCompSelect) | ({
149
+ } & ZPropertySelectComp) | ({
150
150
  array: true;
151
151
  defaultArray: string[];
152
- } & ZPropertyCompSelect) | ({
152
+ } & ZPropertySelectComp) | ({
153
153
  array?: false;
154
- } & ZPropertySlotSelect) | ({
154
+ } & ZPropertySelectSlot) | ({
155
155
  array: true;
156
156
  defaultArray: string[];
157
- } & ZPropertySlotSelect) | ({
157
+ } & ZPropertySelectSlot) | ({
158
158
  array?: false;
159
- } & ZPropertyAdaptSlotSelect) | ({
159
+ } & ZPropertySelectAdaptSlot) | ({
160
160
  array: true;
161
161
  defaultArray: string[];
162
- } & ZPropertyAdaptSlotSelect);
162
+ } & ZPropertySelectAdaptSlot);
163
163
  export type ZMethod = {
164
164
  key: string;
165
165
  name: string;