x-runtime-lib 0.9.26 → 0.9.28
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/common/index.d.ts +1 -0
- package/dist/composables/common/syncRef/index.d.ts +2 -0
- package/dist/composables/element/core/elementBase.d.ts +1 -1
- package/dist/composables/element/core/elementProperty.d.ts +1 -1
- package/dist/composables/element/core/elementPropertyRuntime.d.ts +2 -4
- package/dist/composables/runtime/sandbox.d.ts +3 -3
- package/dist/{i18n-en.d77xnpwk.js → i18n-en.hv63466o.js} +3 -3
- package/dist/{i18n-zhHans.ru0mxxmi.js → i18n-zhHans.k3uetyc5.js} +3 -3
- package/dist/index.js +2410 -2361
- package/dist/sandbox/index.d.ts +1 -0
- package/dist/sandbox/sandbox/index.d.ts +5 -10
- package/dist/types/index.d.ts +1 -0
- package/dist/types/runtimeProperties.d.ts +5 -0
- package/dist/utils/provideInject.d.ts +4 -2
- package/dist/{vendor.euh7iu3r.js → vendor.kfdhvame.js} +5487 -5484
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './syncRef';
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
export declare function useElementPropertyRuntime(node: Ref<Node>, keys: string[], initValue?: any): {
|
|
4
|
-
property: Ref<any, any>;
|
|
1
|
+
export declare function useElementPropertyRuntime(nodeId: string, elementKey: string, propertyKey: string, initValue?: any): {
|
|
2
|
+
property: import("vue").WritableComputedRef<any, any>;
|
|
5
3
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
1
|
+
import { Reactive, Ref } from 'vue';
|
|
2
2
|
import { InitValues, Sandbox } from '@/sandbox';
|
|
3
|
-
import { Data, Meta, SandboxKind } from '@/types';
|
|
4
|
-
export declare function useSandbox(kind: SandboxKind, nodeId: string, slotId: string, instance: string, parent: Sandbox | undefined, meta: Ref<Meta | undefined>, data: Ref<Data | undefined>, initValues?: InitValues): {
|
|
3
|
+
import { Data, Meta, RuntimeProperties, SandboxKind } from '@/types';
|
|
4
|
+
export declare function useSandbox(kind: SandboxKind, nodeId: string, slotId: string, instance: string, parent: Sandbox | undefined, meta: Ref<Meta | undefined>, data: Ref<Data | undefined>, runtimeProperties: Reactive<RuntimeProperties>, initValues?: InitValues): {
|
|
5
5
|
sandbox: undefined;
|
|
6
6
|
} | {
|
|
7
7
|
sandbox: Sandbox;
|
|
@@ -101,7 +101,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
|
|
|
101
101
|
default: "Default",
|
|
102
102
|
density: "Density",
|
|
103
103
|
depth: "Depth",
|
|
104
|
-
|
|
104
|
+
depthSegments: "Depth Segments",
|
|
105
105
|
detail: "Detail",
|
|
106
106
|
dialog: "Dialog",
|
|
107
107
|
direction: "Direction",
|
|
@@ -157,7 +157,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
|
|
|
157
157
|
headlineMedium: "Headline Medium",
|
|
158
158
|
headlineSmall: "Headline Small",
|
|
159
159
|
height: "Height",
|
|
160
|
-
|
|
160
|
+
heightSegments: "Height Segments",
|
|
161
161
|
hideActions: "Hide Actions",
|
|
162
162
|
hideDetails: "Hide Details",
|
|
163
163
|
hideOppoSite: "Hide Opposite",
|
|
@@ -400,7 +400,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
|
|
|
400
400
|
warning: "Warning",
|
|
401
401
|
weight: "Weight",
|
|
402
402
|
width: "Width",
|
|
403
|
-
|
|
403
|
+
widthSegments: "Width Segments",
|
|
404
404
|
window: "Window",
|
|
405
405
|
windowItem: "Window Item",
|
|
406
406
|
wrap: "Wrap",
|
|
@@ -101,7 +101,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
|
|
|
101
101
|
default: "缺省",
|
|
102
102
|
density: "密度",
|
|
103
103
|
depth: "深度",
|
|
104
|
-
|
|
104
|
+
depthSegments: "深度分段(s)",
|
|
105
105
|
detail: "细节",
|
|
106
106
|
dialog: "对话框",
|
|
107
107
|
direction: "方向",
|
|
@@ -157,7 +157,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
|
|
|
157
157
|
headlineMedium: "头条(中)",
|
|
158
158
|
headlineSmall: "头条(小)",
|
|
159
159
|
height: "高度",
|
|
160
|
-
|
|
160
|
+
heightSegments: "高度分段(s)",
|
|
161
161
|
hideActions: "隐藏动作",
|
|
162
162
|
hideDetails: "隐藏细节",
|
|
163
163
|
hideOpposite: "隐藏对面",
|
|
@@ -400,7 +400,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
|
|
|
400
400
|
warning: "警告",
|
|
401
401
|
weight: "重量",
|
|
402
402
|
width: "宽度",
|
|
403
|
-
|
|
403
|
+
widthSegments: "宽度分段(s)",
|
|
404
404
|
window: "窗口",
|
|
405
405
|
windowItem: "窗口项目",
|
|
406
406
|
wrap: "换行",
|