x-runtime-lib 0.8.215 → 0.8.216
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/composables/element/piece/ui/border/v1/index.d.ts +16 -1
- package/dist/composables/element/piece/ui/color/v1/index.d.ts +16 -1
- package/dist/{emscripten-module.browser.e3iftgbq.js → emscripten-module.browser.jhpu0yaf.js} +1 -1
- package/dist/ffi.d94rtjdy.js +2 -0
- package/dist/index.js +5 -5
- package/dist/{module-6F3E5H7Y.iue8n2m3.js → module-ES6BEMUI.od8fa96u.js} +1 -1
- package/dist/{vendor.n8mpf8fx.js → vendor.o54c94ya.js} +792 -686
- package/package.json +19 -19
- package/dist/ffi.72v61k2a.js +0 -2
|
@@ -3,6 +3,21 @@ import { Node } from '@/types';
|
|
|
3
3
|
export declare function useBorderV1(node: Ref<Node>): {
|
|
4
4
|
borderStyle: import("vue").ComputedRef<any>;
|
|
5
5
|
borderWidth: import("vue").ComputedRef<any>;
|
|
6
|
-
borderColor: import("vue").ComputedRef<string
|
|
6
|
+
borderColor: import("vue").ComputedRef<string | number | {
|
|
7
|
+
readonly h: number;
|
|
8
|
+
readonly s: number;
|
|
9
|
+
readonly v: number;
|
|
10
|
+
readonly a?: number | undefined;
|
|
11
|
+
} | {
|
|
12
|
+
readonly r: number;
|
|
13
|
+
readonly g: number;
|
|
14
|
+
readonly b: number;
|
|
15
|
+
readonly a?: number | undefined;
|
|
16
|
+
} | {
|
|
17
|
+
readonly h: number;
|
|
18
|
+
readonly s: number;
|
|
19
|
+
readonly l: number;
|
|
20
|
+
readonly a?: number | undefined;
|
|
21
|
+
}>;
|
|
7
22
|
applyBorder: (style: CSSProperties) => void;
|
|
8
23
|
};
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
export declare function useColorV1(colorMode: Ref<string>, colorTheme: Ref<string>, colorCustomLight: Ref<string>, colorCustomDark: Ref<string>): {
|
|
3
|
-
color: import("vue").ComputedRef<string
|
|
3
|
+
color: import("vue").ComputedRef<string | number | {
|
|
4
|
+
readonly h: number;
|
|
5
|
+
readonly s: number;
|
|
6
|
+
readonly v: number;
|
|
7
|
+
readonly a?: number | undefined;
|
|
8
|
+
} | {
|
|
9
|
+
readonly r: number;
|
|
10
|
+
readonly g: number;
|
|
11
|
+
readonly b: number;
|
|
12
|
+
readonly a?: number | undefined;
|
|
13
|
+
} | {
|
|
14
|
+
readonly h: number;
|
|
15
|
+
readonly s: number;
|
|
16
|
+
readonly l: number;
|
|
17
|
+
readonly a?: number | undefined;
|
|
18
|
+
}>;
|
|
4
19
|
rgb: import("vue").ComputedRef<string>;
|
|
5
20
|
alpha: import("vue").ComputedRef<number>;
|
|
6
21
|
};
|
package/dist/{emscripten-module.browser.e3iftgbq.js → emscripten-module.browser.jhpu0yaf.js}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as emscripten_module_browser_default } from "./vendor.
|
|
1
|
+
import { n as emscripten_module_browser_default } from "./vendor.o54c94ya.js";
|
|
2
2
|
export { emscripten_module_browser_default as default };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __export } from "./rolldown-runtime.ofrncwta.js";
|
|
2
|
-
import { C as MapControls_default, D as isEmpty_default, E as isEqual_default, O as cloneDeep_default, S as KeyboardControls_default, T as component_default$8, _ as install, a as getQuickJS, b as registerTheme, d as install$5, f as install$4, g as install$3, h as install$1, i as mitt_default, k as capitalize_default, m as install$2, p as install$6, r as encodeString, u as install$7, v as core_exports, w as OrbitControls_default, x as HTML_default, y as use } from "./vendor.
|
|
2
|
+
import { C as MapControls_default, D as isEmpty_default, E as isEqual_default, O as cloneDeep_default, S as KeyboardControls_default, T as component_default$8, _ as install, a as getQuickJS, b as registerTheme, d as install$5, f as install$4, g as install$3, h as install$1, i as mitt_default, k as capitalize_default, m as install$2, p as install$6, r as encodeString, u as install$7, v as core_exports, w as OrbitControls_default, x as HTML_default, y as use } from "./vendor.o54c94ya.js";
|
|
3
3
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, h, inject, isRef, mergeModels, nextTick, normalizeClass, normalizeStyle, onBeforeMount, onMounted, onUnmounted, openBlock, provide, readonly, ref, renderList, renderSlot, resolveComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, watchEffect, withCtx, withModifiers } from "vue";
|
|
4
4
|
import { createAxios, eventBus, getTypeDefault, globalObjects, messageError, messageInfo, messageSuccess, messageWarning, openConfirmDlg, openPromptDlg, useViewStack, waitUtil } from "x-essential-lib";
|
|
5
5
|
import { CameraHelper, DirectionalLightHelper, PointLightHelper, SpotLightHelper } from "three";
|
|
@@ -42,7 +42,7 @@ const breakpoints = [
|
|
|
42
42
|
"xl"
|
|
43
43
|
], reverseBreakpoints = [...breakpoints].reverse();
|
|
44
44
|
function calcBreakpoint(e) {
|
|
45
|
-
return e < 600 ? "xs" : e <
|
|
45
|
+
return e < 600 ? "xs" : e < 840 ? "sm" : e < 1145 ? "md" : e < 1545 ? "lg" : "xl";
|
|
46
46
|
}
|
|
47
47
|
function getIndexOfBreakpoint(e) {
|
|
48
48
|
return breakpoints.findIndex((p) => p === e);
|
|
@@ -1658,8 +1658,8 @@ function useYAxisV1(e) {
|
|
|
1658
1658
|
function useColorV1(e, p, m, g) {
|
|
1659
1659
|
let { computedThemes: _ } = useTheme$1(), v = injectDark(), y = computed(() => {
|
|
1660
1660
|
let e = p.value;
|
|
1661
|
-
|
|
1662
|
-
}), b = computed(() => v.value ? g.value : m.value), x = computed(() => e.value === "theme" ? y.value
|
|
1661
|
+
return e ? e === "background0" ? v.value ? "#2e2e2e" : "#bdbdbd" : e === "background1" ? v.value ? "#272727" : "#eeeeee" : e === "background2" ? v.value ? "#1e1e1e" : "#ffffff" : (v.value ? _.value.dark : _.value.light).colors[e] : "";
|
|
1662
|
+
}), b = computed(() => v.value ? g.value : m.value), x = computed(() => e.value === "theme" ? y.value : e.value === "custom" ? b.value : "");
|
|
1663
1663
|
return {
|
|
1664
1664
|
color: x,
|
|
1665
1665
|
rgb: computed(() => {
|
|
@@ -10678,7 +10678,7 @@ function bindBase(e) {
|
|
|
10678
10678
|
let m = p.dump(e);
|
|
10679
10679
|
eventBus.emit("consoleAppend", m);
|
|
10680
10680
|
}).consume((e) => p.setProp(p.global, "__debugTraceV1__", e)), p.newFunction("__messageV1__", (e, m) => {
|
|
10681
|
-
let g = p.getString(e), _ = p.dump(m), v
|
|
10681
|
+
let g = p.getString(e), _ = p.dump(m), v;
|
|
10682
10682
|
v = typeof _ == "object" ? JSON.stringify(_) : String(_), g === "info" ? messageInfo(v) : g === "success" ? messageSuccess(v) : g === "warning" ? messageWarning(v) : g === "error" && messageError(v);
|
|
10683
10683
|
}).consume((e) => p.setProp(p.global, "__messageV1__", e)), p.newFunction("__timeoutV1__", (m, g) => {
|
|
10684
10684
|
let _ = p.getNumber(m), v = p.getNumber(g);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as applyBaseRuntimeOptions, l as applyModuleEvalRuntimeOptions, o as QuickJSModuleCallbacks, s as QuickJSWASMModule } from "./vendor.
|
|
1
|
+
import { c as applyBaseRuntimeOptions, l as applyModuleEvalRuntimeOptions, o as QuickJSModuleCallbacks, s as QuickJSWASMModule } from "./vendor.o54c94ya.js";
|
|
2
2
|
export { QuickJSModuleCallbacks, QuickJSWASMModule, applyBaseRuntimeOptions, applyModuleEvalRuntimeOptions };
|