x-runtime-lib 0.9.8 → 0.9.9
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/components/element/ui/container/v1/index.vue.d.ts +2 -2
- package/dist/components/element/ui/index.d.ts +3 -3
- package/dist/components/element/ui/tabs/v1/index.vue.d.ts +2 -2
- package/dist/element/_pkgs/v1/elements.d.ts +1 -1
- package/dist/element/ui/flexbox/v1/meta.d.ts +2 -0
- package/dist/element/ui/flexboxEntry/v1/meta.d.ts +2 -0
- package/dist/element/ui/index.d.ts +2 -2
- package/dist/{i18n-en.ijgolucs.js → i18n-en.b60i5ddj.js} +3 -2
- package/dist/{i18n-zhHans.iukcgmn0.js → i18n-zhHans.mh8d6pad.js} +3 -2
- package/dist/index.js +130 -145
- package/dist/meta/element.d.ts +1 -1
- package/package.json +1 -1
- package/dist/element/_common/global/index.d.ts +0 -10
- package/dist/element/ui/flexLayout/v1/meta.d.ts +0 -2
- package/dist/element/ui/flexLayoutEntry/v1/meta.d.ts +0 -2
- package/dist/types/protocol.d.ts +0 -287
- /package/dist/components/element/ui/{flexLayout → flexbox}/v1/index.vue.d.ts +0 -0
- /package/dist/components/element/ui/{flexLayoutEntry → flexboxEntry}/v1/index.vue.d.ts +0 -0
- /package/dist/element/ui/{flexLayout → flexbox}/v1/index.d.ts +0 -0
- /package/dist/element/ui/{flexLayout → flexbox}/v1/spawn.d.ts +0 -0
- /package/dist/element/ui/{flexLayoutEntry → flexboxEntry}/v1/index.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElementProps } from '@/types';
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
|
-
default?: (props: typeof
|
|
4
|
+
default?: (props: typeof __VLS_1) => 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>;
|
|
@@ -15,8 +15,8 @@ import ZDatePickerV1 from './datePicker/v1/index.vue';
|
|
|
15
15
|
import ZDialogV1 from './dialog/v1/index.vue';
|
|
16
16
|
import ZFabV1 from './fab/v1/index.vue';
|
|
17
17
|
import ZFileInputV1 from './fileInput/v1/index.vue';
|
|
18
|
-
import
|
|
19
|
-
import
|
|
18
|
+
import ZFlexboxV1 from './flexbox/v1/index.vue';
|
|
19
|
+
import ZFlexboxEntryV1 from './flexboxEntry/v1/index.vue';
|
|
20
20
|
import ZFormV1 from './form/v1/index.vue';
|
|
21
21
|
import ZIconV1 from './icon/v1/index.vue';
|
|
22
22
|
import ZMenuV1 from './menu/v1/index.vue';
|
|
@@ -51,4 +51,4 @@ import ZTimelineV1 from './timeline/v1/index.vue';
|
|
|
51
51
|
import ZTimelineItemV1 from './timelineItem/v1/index.vue';
|
|
52
52
|
import ZWindowV1 from './window/v1/index.vue';
|
|
53
53
|
import ZWindowItemV1 from './windowItem/v1/index.vue';
|
|
54
|
-
export { ZBadgeV1, ZBreadcrumbsV1, ZBtnV1, ZBtnToggleV1, ZBtnToggleEntryV1, ZCardV1, ZCheckboxV1, ZChipV1, ZChipGroupV1, ZColorPickerV1, ZComboboxV1, ZContainerV1, ZDataTableV1, ZDatePickerV1, ZDialogV1, ZFabV1, ZFileInputV1,
|
|
54
|
+
export { ZBadgeV1, ZBreadcrumbsV1, ZBtnV1, ZBtnToggleV1, ZBtnToggleEntryV1, ZCardV1, ZCheckboxV1, ZChipV1, ZChipGroupV1, ZColorPickerV1, ZComboboxV1, ZContainerV1, ZDataTableV1, ZDatePickerV1, ZDialogV1, ZFabV1, ZFileInputV1, ZFlexboxV1, ZFlexboxEntryV1, ZFormV1, ZIconV1, ZMenuV1, ZNumberInputV1, ZPaginationV1, ZRadioV1, ZRadioGroupV1, ZRangeSliderV1, ZRatingV1, ZSelectV1, ZSheetV1, ZSliderV1, ZSpeedDialV1, ZStepperV1, ZStepperHeaderV1, ZStepperItemV1, ZStepperWindowV1, ZStepperWindowItemV1, ZSwitchV1, ZTabV1, ZTableV1, ZTableBodyV1, ZTableBodyCellV1, ZTableHeadV1, ZTableHeadCellV1, ZTableRowV1, ZTabsV1, ZTextV1, ZTextareaV1, ZTextFieldV1, ZTimelineV1, ZTimelineItemV1, ZWindowV1, ZWindowItemV1 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElementProps } from '@/types';
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_8: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
|
-
default?: (props: typeof
|
|
4
|
+
default?: (props: typeof __VLS_8) => 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 +1 @@
|
|
|
1
|
-
export declare const elements: Set<"globality_v1" | "multiple_ref_v1" | "multiple_slot_v1" | "ref_v1" | "render_switch_v1" | "slot_v1" | "ui_badge_v1" | "ui_breadcrumbs_v1" | "ui_bar_chart_v1" | "ui_btn_v1" | "ui_btn_toggle_v1" | "ui_btn_toggle_entry_v1" | "ui_card_v1" | "ui_checkbox_v1" | "ui_chip_v1" | "ui_chip_group_v1" | "ui_color_picker_v1" | "ui_combobox_v1" | "ui_container_v1" | "ui_data_table_v1" | "ui_date_picker_v1" | "ui_dialog_v1" | "ui_fab_v1" | "ui_file_input_v1" | "
|
|
1
|
+
export declare const elements: Set<"globality_v1" | "multiple_ref_v1" | "multiple_slot_v1" | "ref_v1" | "render_switch_v1" | "slot_v1" | "ui_badge_v1" | "ui_breadcrumbs_v1" | "ui_bar_chart_v1" | "ui_btn_v1" | "ui_btn_toggle_v1" | "ui_btn_toggle_entry_v1" | "ui_card_v1" | "ui_checkbox_v1" | "ui_chip_v1" | "ui_chip_group_v1" | "ui_color_picker_v1" | "ui_combobox_v1" | "ui_container_v1" | "ui_data_table_v1" | "ui_date_picker_v1" | "ui_dialog_v1" | "ui_fab_v1" | "ui_file_input_v1" | "ui_flexbox_v1" | "ui_flexbox_entry_v1" | "ui_form_v1" | "ui_icon_v1" | "ui_line_chart_v1" | "ui_menu_v1" | "ui_number_input_v1" | "ui_pagination_v1" | "ui_radio_v1" | "ui_radio_group_v1" | "ui_range_slider_v1" | "ui_rating_v1" | "ui_select_v1" | "ui_sheet_v1" | "ui_slider_v1" | "ui_speed_dial_v1" | "ui_stepper_v1" | "ui_stepper_header_v1" | "ui_stepper_item_v1" | "ui_stepper_window_v1" | "ui_stepper_window_item_v1" | "ui_switch_v1" | "ui_tab_v1" | "ui_table_v1" | "ui_table_body_v1" | "ui_table_body_cell_v1" | "ui_table_head_v1" | "ui_table_head_cell_v1" | "ui_table_row_v1" | "ui_tabs_v1" | "ui_text_v1" | "ui_textarea_v1" | "ui_text_field_v1" | "ui_timeline_v1" | "ui_timeline_item_v1" | "ui_window_v1" | "ui_window_item_v1" | "3d_ambient_light_v1" | "3d_box_geometry_v1" | "3d_directional_light_v1" | "3d_group_v1" | "3d_keyboard_controls_v1" | "3d_map_controls_v1" | "3d_mesh_v1" | "3d_mesh_basic_material_v1" | "3d_orbit_controls_v1" | "3d_orthographic_camera_v1" | "3d_perspective_camera_v1" | "3d_point_light_v1" | "3d_sphere_geometry_v1" | "3d_spot_light_v1">;
|
|
@@ -14,8 +14,8 @@ export * from './datePicker/v1';
|
|
|
14
14
|
export * from './dialog/v1';
|
|
15
15
|
export * from './fab/v1';
|
|
16
16
|
export * from './fileInput/v1';
|
|
17
|
-
export * from './
|
|
18
|
-
export * from './
|
|
17
|
+
export * from './flexbox/v1';
|
|
18
|
+
export * from './flexboxEntry/v1';
|
|
19
19
|
export * from './form/v1';
|
|
20
20
|
export * from './icon/v1';
|
|
21
21
|
export * from './menu/v1';
|
|
@@ -139,8 +139,8 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
|
|
|
139
139
|
fixedHeader: "Fixed Header",
|
|
140
140
|
fixedTabs: "Fixed Tabs",
|
|
141
141
|
flat: "Flat",
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
flexbox: "Flexbox",
|
|
143
|
+
flexboxEntry: "Flexbox Entry",
|
|
144
144
|
floating: "Floating",
|
|
145
145
|
floatingActionButton: "Floating Action Button",
|
|
146
146
|
focus: "Focus",
|
|
@@ -302,6 +302,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
|
|
|
302
302
|
singleLine: "Sinle Line",
|
|
303
303
|
size: "Size",
|
|
304
304
|
slider: "Slider",
|
|
305
|
+
sliderColor: "Slider",
|
|
305
306
|
slot: "Slot",
|
|
306
307
|
slotPropertyChange: "Slot Property Change",
|
|
307
308
|
slots: "Slots",
|
|
@@ -139,8 +139,8 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
|
|
|
139
139
|
fixedHeader: "固定头部",
|
|
140
140
|
fixedTabs: "固定选项卡",
|
|
141
141
|
flat: "扁平",
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
flexbox: "弹性盒子",
|
|
143
|
+
flexboxEntry: "弹性盒子条目",
|
|
144
144
|
floating: "漂浮",
|
|
145
145
|
floatingActionButton: "浮动操作按钮",
|
|
146
146
|
focus: "聚焦",
|
|
@@ -302,6 +302,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
|
|
|
302
302
|
singleLine: "单行",
|
|
303
303
|
size: "大小",
|
|
304
304
|
slider: "滑动条",
|
|
305
|
+
sliderColor: "滑动条颜色",
|
|
305
306
|
slot: "插槽",
|
|
306
307
|
slotPropertyChange: "插槽属性变化",
|
|
307
308
|
slots: "插槽(s)",
|
package/dist/index.js
CHANGED
|
@@ -291,7 +291,7 @@ function _t(e, n) {
|
|
|
291
291
|
}
|
|
292
292
|
//#endregion
|
|
293
293
|
//#region src/meta/element.ts
|
|
294
|
-
var vt = /* @__PURE__ */ "globality_v1.multiple_ref_v1.multiple_slot_v1.ref_v1.render_switch_v1.slot_v1.ui_badge_v1.ui_breadcrumbs_v1.ui_bar_chart_v1.ui_btn_v1.ui_btn_toggle_v1.ui_btn_toggle_entry_v1.ui_card_v1.ui_checkbox_v1.ui_chip_v1.ui_chip_group_v1.ui_color_picker_v1.ui_combobox_v1.ui_container_v1.ui_data_table_v1.ui_date_picker_v1.ui_dialog_v1.ui_fab_v1.ui_file_input_v1.
|
|
294
|
+
var vt = /* @__PURE__ */ "globality_v1.multiple_ref_v1.multiple_slot_v1.ref_v1.render_switch_v1.slot_v1.ui_badge_v1.ui_breadcrumbs_v1.ui_bar_chart_v1.ui_btn_v1.ui_btn_toggle_v1.ui_btn_toggle_entry_v1.ui_card_v1.ui_checkbox_v1.ui_chip_v1.ui_chip_group_v1.ui_color_picker_v1.ui_combobox_v1.ui_container_v1.ui_data_table_v1.ui_date_picker_v1.ui_dialog_v1.ui_fab_v1.ui_file_input_v1.ui_flexbox_v1.ui_flexbox_entry_v1.ui_form_v1.ui_icon_v1.ui_line_chart_v1.ui_menu_v1.ui_number_input_v1.ui_pagination_v1.ui_radio_v1.ui_radio_group_v1.ui_range_slider_v1.ui_rating_v1.ui_select_v1.ui_sheet_v1.ui_slider_v1.ui_speed_dial_v1.ui_stepper_v1.ui_stepper_header_v1.ui_stepper_item_v1.ui_stepper_window_v1.ui_stepper_window_item_v1.ui_switch_v1.ui_tab_v1.ui_table_v1.ui_table_body_v1.ui_table_body_cell_v1.ui_table_head_v1.ui_table_head_cell_v1.ui_table_row_v1.ui_tabs_v1.ui_text_v1.ui_textarea_v1.ui_text_field_v1.ui_timeline_v1.ui_timeline_item_v1.ui_window_v1.ui_window_item_v1.3d_ambient_light_v1.3d_box_geometry_v1.3d_directional_light_v1.3d_group_v1.3d_keyboard_controls_v1.3d_map_controls_v1.3d_mesh_v1.3d_mesh_basic_material_v1.3d_orbit_controls_v1.3d_orthographic_camera_v1.3d_perspective_camera_v1.3d_point_light_v1.3d_sphere_geometry_v1.3d_spot_light_v1".split("."), yt = {};
|
|
295
295
|
function P(e) {
|
|
296
296
|
yt[e.key] = e;
|
|
297
297
|
}
|
|
@@ -1994,7 +1994,7 @@ Dt("borderWidthTypesV1", [
|
|
|
1994
1994
|
]);
|
|
1995
1995
|
//#endregion
|
|
1996
1996
|
//#region src/element/_pkgs/v1/elements.ts
|
|
1997
|
-
var ar = new Set(/* @__PURE__ */ "globality_v1.multiple_ref_v1.multiple_slot_v1.ref_v1.render_switch_v1.slot_v1.ui_badge_v1.ui_breadcrumbs_v1.ui_bar_chart_v1.ui_btn_v1.ui_btn_toggle_v1.ui_btn_toggle_entry_v1.ui_card_v1.ui_checkbox_v1.ui_chip_v1.ui_chip_group_v1.ui_color_picker_v1.ui_combobox_v1.ui_container_v1.ui_data_table_v1.ui_date_picker_v1.ui_dialog_v1.ui_file_input_v1.
|
|
1997
|
+
var ar = new Set(/* @__PURE__ */ "globality_v1.multiple_ref_v1.multiple_slot_v1.ref_v1.render_switch_v1.slot_v1.ui_badge_v1.ui_breadcrumbs_v1.ui_bar_chart_v1.ui_btn_v1.ui_btn_toggle_v1.ui_btn_toggle_entry_v1.ui_card_v1.ui_checkbox_v1.ui_chip_v1.ui_chip_group_v1.ui_color_picker_v1.ui_combobox_v1.ui_container_v1.ui_data_table_v1.ui_date_picker_v1.ui_dialog_v1.ui_file_input_v1.ui_flexbox_v1.ui_flexbox_entry_v1.ui_form_v1.ui_icon_v1.ui_line_chart_v1.ui_menu_v1.ui_number_input_v1.ui_pagination_v1.ui_radio_v1.ui_radio_group_v1.ui_range_slider_v1.ui_rating_v1.ui_select_v1.ui_slider_v1.ui_stepper_v1.ui_stepper_header_v1.ui_stepper_item_v1.ui_stepper_window_v1.ui_stepper_window_item_v1.ui_switch_v1.ui_tab_v1.ui_table_v1.ui_table_body_v1.ui_table_body_cell_v1.ui_table_head_v1.ui_table_head_cell_v1.ui_table_row_v1.ui_tabs_v1.ui_text_v1.ui_textarea_v1.ui_text_field_v1.ui_timeline_v1.ui_timeline_item_v1.ui_window_v1.ui_window_item_v1.3d_ambient_light_v1.3d_box_geometry_v1.3d_directional_light_v1.3d_group_v1.3d_keyboard_controls_v1.3d_map_controls_v1.3d_mesh_v1.3d_mesh_basic_material_v1.3d_orbit_controls_v1.3d_orthographic_camera_v1.3d_perspective_camera_v1.3d_point_light_v1.3d_sphere_geometry_v1.3d_spot_light_v1".split(".")), or = { v1: {
|
|
1998
1998
|
version: "v1",
|
|
1999
1999
|
globalityKey: "globality_v1",
|
|
2000
2000
|
refKey: "ref_v1",
|
|
@@ -2046,7 +2046,7 @@ var ar = new Set(/* @__PURE__ */ "globality_v1.multiple_ref_v1.multiple_slot_v1.
|
|
|
2046
2046
|
"ui_chip_v1",
|
|
2047
2047
|
"ui_sheet_v1",
|
|
2048
2048
|
"ui_container_v1",
|
|
2049
|
-
"
|
|
2049
|
+
"ui_flexbox_v1",
|
|
2050
2050
|
"ui_dialog_v1",
|
|
2051
2051
|
"ui_menu_v1"
|
|
2052
2052
|
]
|
|
@@ -2187,7 +2187,7 @@ var ar = new Set(/* @__PURE__ */ "globality_v1.multiple_ref_v1.multiple_slot_v1.
|
|
|
2187
2187
|
"ui_chip_v1",
|
|
2188
2188
|
"ui_sheet_v1",
|
|
2189
2189
|
"ui_container_v1",
|
|
2190
|
-
"
|
|
2190
|
+
"ui_flexbox_v1",
|
|
2191
2191
|
"ui_dialog_v1",
|
|
2192
2192
|
"ui_menu_v1"
|
|
2193
2193
|
]
|
|
@@ -3802,18 +3802,18 @@ var ni = g, ri = /* @__PURE__ */ w({
|
|
|
3802
3802
|
z(o);
|
|
3803
3803
|
let s = O();
|
|
3804
3804
|
B(s), W(y(() => n.refContext?.compId), o, s);
|
|
3805
|
-
let { applySize: c } = Or(n, r), l = y(() => {
|
|
3805
|
+
let { applySize: c } = Or(n, r), { color: l } = qn(y(() => s.value?.view.nodes.globality?.settings?.bgColor)), u = y(() => {
|
|
3806
3806
|
let e = {};
|
|
3807
|
-
return s.value?.type === "ui" && c(e), e;
|
|
3808
|
-
}),
|
|
3807
|
+
return s.value?.type === "ui" && (c(e), l.value && (e.backgroundColor = l.value)), e;
|
|
3808
|
+
}), d = O([
|
|
3809
3809
|
0,
|
|
3810
3810
|
0,
|
|
3811
3811
|
0
|
|
3812
|
-
]),
|
|
3812
|
+
]), f = O([
|
|
3813
3813
|
0,
|
|
3814
3814
|
0,
|
|
3815
3815
|
0
|
|
3816
|
-
]),
|
|
3816
|
+
]), p = O([
|
|
3817
3817
|
0,
|
|
3818
3818
|
0,
|
|
3819
3819
|
0
|
|
@@ -3821,23 +3821,23 @@ var ni = g, ri = /* @__PURE__ */ w({
|
|
|
3821
3821
|
if (a.value?.type === "3d") {
|
|
3822
3822
|
let { position: e, rotation: t, scale: n } = yr(r);
|
|
3823
3823
|
we(() => {
|
|
3824
|
-
|
|
3824
|
+
d.value = e.value, f.value = t.value, p.value = n.value;
|
|
3825
3825
|
});
|
|
3826
3826
|
}
|
|
3827
|
-
let { property:
|
|
3827
|
+
let { property: m } = Z(r, ["instances"]), h = (e, t) => {
|
|
3828
3828
|
e.findIndex((e) => e === t) >= 0 || e.push(t);
|
|
3829
|
-
},
|
|
3829
|
+
}, g = y(() => {
|
|
3830
3830
|
let e = [];
|
|
3831
|
-
if (!Array.isArray(
|
|
3832
|
-
for (let t of
|
|
3831
|
+
if (!Array.isArray(m.value)) return e;
|
|
3832
|
+
for (let t of m.value) typeof t == "string" && t && h(e, t);
|
|
3833
3833
|
return e;
|
|
3834
|
-
}),
|
|
3834
|
+
}), _ = (e, t) => T(ai, {
|
|
3835
3835
|
key: e,
|
|
3836
3836
|
subtype: t,
|
|
3837
3837
|
nodeId: n.nodeId,
|
|
3838
3838
|
refContext: n.refContext,
|
|
3839
3839
|
instance: e
|
|
3840
|
-
}),
|
|
3840
|
+
}), ee = () => {
|
|
3841
3841
|
if (!n.refContext) {
|
|
3842
3842
|
console.assert(!1, "invalid ref context");
|
|
3843
3843
|
return;
|
|
@@ -3849,22 +3849,22 @@ var ni = g, ri = /* @__PURE__ */ w({
|
|
|
3849
3849
|
let { i18n: e } = Ae;
|
|
3850
3850
|
if (At(n.refContext, i)) return a.value.type === "ui" ? T("div", {
|
|
3851
3851
|
id: t.id,
|
|
3852
|
-
style:
|
|
3852
|
+
style: u.value
|
|
3853
3853
|
}, e.global.t("x-runtime-lib.circularReference")) : a.value.type === "3d" ? T(ci, {
|
|
3854
3854
|
name: t.name,
|
|
3855
|
-
position:
|
|
3856
|
-
rotation:
|
|
3857
|
-
scale:
|
|
3855
|
+
position: d.value,
|
|
3856
|
+
rotation: f.value,
|
|
3857
|
+
scale: p.value,
|
|
3858
3858
|
label: e.global.t("x-runtime-lib.circularReference")
|
|
3859
3859
|
}) : void 0;
|
|
3860
3860
|
if (!s.value) return a.value.type === "ui" ? T("div", {
|
|
3861
3861
|
id: t.id,
|
|
3862
|
-
style:
|
|
3862
|
+
style: u.value
|
|
3863
3863
|
}) : a.value.type === "3d" ? T(ci, {
|
|
3864
3864
|
name: t.name,
|
|
3865
|
-
position:
|
|
3866
|
-
rotation:
|
|
3867
|
-
scale:
|
|
3865
|
+
position: d.value,
|
|
3866
|
+
rotation: f.value,
|
|
3867
|
+
scale: p.value
|
|
3868
3868
|
}) : void 0;
|
|
3869
3869
|
if (s.value.type !== a.value.type) {
|
|
3870
3870
|
console.assert(!1, "subtype not match");
|
|
@@ -3873,16 +3873,16 @@ var ni = g, ri = /* @__PURE__ */ w({
|
|
|
3873
3873
|
let r = s.value.type;
|
|
3874
3874
|
if (r === "ui") return T("div", {
|
|
3875
3875
|
id: t.id,
|
|
3876
|
-
style:
|
|
3877
|
-
}, { default: () =>
|
|
3876
|
+
style: u.value
|
|
3877
|
+
}, { default: () => g.value.map((e) => _(e, r)) });
|
|
3878
3878
|
if (r === "3d") return T(ci, {
|
|
3879
3879
|
name: t.name,
|
|
3880
|
-
position:
|
|
3881
|
-
rotation:
|
|
3882
|
-
scale:
|
|
3883
|
-
}, { default: () =>
|
|
3880
|
+
position: d.value,
|
|
3881
|
+
rotation: f.value,
|
|
3882
|
+
scale: p.value
|
|
3883
|
+
}, { default: () => g.value.map((e) => _(e, r)) });
|
|
3884
3884
|
};
|
|
3885
|
-
return (e, t) => (D(), b(
|
|
3885
|
+
return (e, t) => (D(), b(ee));
|
|
3886
3886
|
}
|
|
3887
3887
|
}), ui = /* @__PURE__ */ w({
|
|
3888
3888
|
__name: "entry",
|
|
@@ -4026,18 +4026,18 @@ var ni = g, ri = /* @__PURE__ */ w({
|
|
|
4026
4026
|
z(o);
|
|
4027
4027
|
let s = O();
|
|
4028
4028
|
B(s), W(y(() => n.refContext?.compId), o, s), Jl("ref", n.nodeId, "", "", V(), o, s);
|
|
4029
|
-
let { applySize: c } = Or(n, r), l = y(() => {
|
|
4029
|
+
let { applySize: c } = Or(n, r), { color: l } = qn(y(() => s.value?.view.nodes.globality?.settings?.bgColor)), u = y(() => {
|
|
4030
4030
|
let e = {};
|
|
4031
|
-
return a.value?.type === "ui" && c(e), e;
|
|
4032
|
-
}),
|
|
4031
|
+
return a.value?.type === "ui" && (c(e), l.value && (e.backgroundColor = l.value)), e;
|
|
4032
|
+
}), d = O([
|
|
4033
4033
|
0,
|
|
4034
4034
|
0,
|
|
4035
4035
|
0
|
|
4036
|
-
]),
|
|
4036
|
+
]), f = O([
|
|
4037
4037
|
0,
|
|
4038
4038
|
0,
|
|
4039
4039
|
0
|
|
4040
|
-
]),
|
|
4040
|
+
]), p = O([
|
|
4041
4041
|
0,
|
|
4042
4042
|
0,
|
|
4043
4043
|
0
|
|
@@ -4045,10 +4045,10 @@ var ni = g, ri = /* @__PURE__ */ w({
|
|
|
4045
4045
|
if (a.value?.type === "3d") {
|
|
4046
4046
|
let { position: e, rotation: t, scale: n } = yr(r);
|
|
4047
4047
|
we(() => {
|
|
4048
|
-
|
|
4048
|
+
d.value = e.value, f.value = t.value, p.value = n.value;
|
|
4049
4049
|
});
|
|
4050
4050
|
}
|
|
4051
|
-
let
|
|
4051
|
+
let m = (e) => {
|
|
4052
4052
|
let t = xt(e.key);
|
|
4053
4053
|
if (!t) {
|
|
4054
4054
|
console.assert(!1, `element not found key=${e.key}`);
|
|
@@ -4062,9 +4062,9 @@ var ni = g, ri = /* @__PURE__ */ w({
|
|
|
4062
4062
|
key: e.id,
|
|
4063
4063
|
...r
|
|
4064
4064
|
}, { default: () => {
|
|
4065
|
-
if (!t.leaf) return e.children?.map((e) =>
|
|
4065
|
+
if (!t.leaf) return e.children?.map((e) => m(e));
|
|
4066
4066
|
} });
|
|
4067
|
-
},
|
|
4067
|
+
}, h = () => {
|
|
4068
4068
|
if (!n.refContext) {
|
|
4069
4069
|
console.assert(!1, "invalid ref context");
|
|
4070
4070
|
return;
|
|
@@ -4076,22 +4076,22 @@ var ni = g, ri = /* @__PURE__ */ w({
|
|
|
4076
4076
|
let { i18n: e } = Ae;
|
|
4077
4077
|
if (At(n.refContext, i)) return a.value.type === "ui" ? T("div", {
|
|
4078
4078
|
id: t.id,
|
|
4079
|
-
style:
|
|
4079
|
+
style: u.value
|
|
4080
4080
|
}, e.global.t("x-runtime-lib.circularReference")) : a.value.type === "3d" ? T(ci, {
|
|
4081
4081
|
name: t.name,
|
|
4082
|
-
position:
|
|
4083
|
-
rotation:
|
|
4084
|
-
scale:
|
|
4082
|
+
position: d.value,
|
|
4083
|
+
rotation: f.value,
|
|
4084
|
+
scale: p.value,
|
|
4085
4085
|
label: e.global.t("x-runtime-lib.circularReference")
|
|
4086
4086
|
}) : void 0;
|
|
4087
4087
|
if (!s.value) return a.value.type === "ui" ? T("div", {
|
|
4088
4088
|
id: t.id,
|
|
4089
|
-
style:
|
|
4089
|
+
style: u.value
|
|
4090
4090
|
}) : a.value.type === "3d" ? T(ci, {
|
|
4091
4091
|
name: t.name,
|
|
4092
|
-
position:
|
|
4093
|
-
rotation:
|
|
4094
|
-
scale:
|
|
4092
|
+
position: d.value,
|
|
4093
|
+
rotation: f.value,
|
|
4094
|
+
scale: p.value
|
|
4095
4095
|
}) : void 0;
|
|
4096
4096
|
if (s.value.type !== a.value.type) {
|
|
4097
4097
|
console.assert(!1, "subtype not match");
|
|
@@ -4100,16 +4100,16 @@ var ni = g, ri = /* @__PURE__ */ w({
|
|
|
4100
4100
|
let r = s.value.type;
|
|
4101
4101
|
if (r === "ui") return T("div", {
|
|
4102
4102
|
id: t.id,
|
|
4103
|
-
style:
|
|
4104
|
-
}, { default: () => s.value?.view.nodeLites.map((e) =>
|
|
4103
|
+
style: u.value
|
|
4104
|
+
}, { default: () => s.value?.view.nodeLites.map((e) => m(e)) });
|
|
4105
4105
|
if (r === "3d") return T(ci, {
|
|
4106
4106
|
name: t.name,
|
|
4107
|
-
position:
|
|
4108
|
-
rotation:
|
|
4109
|
-
scale:
|
|
4110
|
-
}, { default: () => s.value?.view.nodeLites.map((e) =>
|
|
4107
|
+
position: d.value,
|
|
4108
|
+
rotation: f.value,
|
|
4109
|
+
scale: p.value
|
|
4110
|
+
}, { default: () => s.value?.view.nodeLites.map((e) => m(e)) });
|
|
4111
4111
|
};
|
|
4112
|
-
return (e, t) => (D(), b(
|
|
4112
|
+
return (e, t) => (D(), b(h));
|
|
4113
4113
|
}
|
|
4114
4114
|
}), pi = /* @__PURE__ */ w({
|
|
4115
4115
|
__name: "index",
|
|
@@ -4717,14 +4717,11 @@ var ni = g, ri = /* @__PURE__ */ w({
|
|
|
4717
4717
|
refContext: {}
|
|
4718
4718
|
},
|
|
4719
4719
|
setup(e) {
|
|
4720
|
-
let t = e, { node: n } = X(t), { applySize: r } = Or(t, n), { applyMargin: i } = Er(n), { applyPadding: a } = Dr(n), { applyBorder: o } = Tr(n), { color: s } = Q(n, ["settings", "
|
|
4720
|
+
let t = e, { node: n } = X(t), { applySize: r } = Or(t, n), { applyMargin: i } = Er(n), { applyPadding: a } = Dr(n), { applyBorder: o } = Tr(n), { color: s } = Q(n, ["settings", "bgColor"]), c = y(() => {
|
|
4721
4721
|
let e = {};
|
|
4722
4722
|
return r(e), i(e), a(e), o(e), s.value && (e.backgroundColor = s.value), e;
|
|
4723
4723
|
});
|
|
4724
|
-
return (e, t) => (D(),
|
|
4725
|
-
default: M(() => [ie("div", { style: ue(c.value) }, [k(e.$slots, "default")], 4)]),
|
|
4726
|
-
_: 3
|
|
4727
|
-
}));
|
|
4724
|
+
return (e, t) => (D(), S("div", { style: ue(c.value) }, [k(e.$slots, "default")], 4));
|
|
4728
4725
|
}
|
|
4729
4726
|
}), Ai = /* @__PURE__ */ w({
|
|
4730
4727
|
__name: "columnSlot",
|
|
@@ -4945,7 +4942,7 @@ var Ri = /* @__PURE__ */ Rr(Ii, [["render", Li]]), zi = /* @__PURE__ */ w({
|
|
|
4945
4942
|
refContext: {}
|
|
4946
4943
|
},
|
|
4947
4944
|
setup(e) {
|
|
4948
|
-
let t = e, { node: n } = X(t), { breakpoint: r } = lr(), { applySize: i } = Or(t, n), { applyMargin: a } = Er(n), { applyPadding: o } = Dr(n), { applyBorder: s } = Tr(n), { color: c } = Q(n, ["settings", "
|
|
4945
|
+
let t = e, { node: n } = X(t), { breakpoint: r } = lr(), { applySize: i } = Or(t, n), { applyMargin: a } = Er(n), { applyPadding: o } = Dr(n), { applyBorder: s } = Tr(n), { color: c } = Q(n, ["settings", "bgColor"]), { property: l } = Z(n, [
|
|
4949
4946
|
"settings",
|
|
4950
4947
|
"wrap",
|
|
4951
4948
|
"xs"
|
|
@@ -5065,11 +5062,11 @@ var Ri = /* @__PURE__ */ Rr(Ii, [["render", Li]]), zi = /* @__PURE__ */ w({
|
|
|
5065
5062
|
refContext: {}
|
|
5066
5063
|
},
|
|
5067
5064
|
setup(e) {
|
|
5068
|
-
let t = e, { node: n } = X(t),
|
|
5069
|
-
let e = {}
|
|
5070
|
-
return r
|
|
5065
|
+
let t = e, { node: n } = X(t), { applySize: r } = Or(t, n), { property: i } = Z(n, ["settings", "grow"]), { property: a } = Z(n, ["settings", "shrink"]), o = y(() => {
|
|
5066
|
+
let e = {};
|
|
5067
|
+
return r(e), e.flexGrow = i.value ? 1 : 0, e.flexShrink = a.value ? 1 : 0, e;
|
|
5071
5068
|
});
|
|
5072
|
-
return (e, t) => (D(), S("div", { style: ue(
|
|
5069
|
+
return (e, t) => (D(), S("div", { style: ue(o.value) }, [k(e.$slots, "default")], 4));
|
|
5073
5070
|
}
|
|
5074
5071
|
}), Hi = /* @__PURE__ */ w({
|
|
5075
5072
|
__name: "index",
|
|
@@ -5884,66 +5881,60 @@ var ja = /* @__PURE__ */ Rr(ka, [["render", Aa]]), Ma = /* @__PURE__ */ w({
|
|
|
5884
5881
|
refContext: {}
|
|
5885
5882
|
},
|
|
5886
5883
|
setup(e) {
|
|
5887
|
-
let { node: t } = X(e), { property: n } = Z(t, ["settings", "alignTabs"]), {
|
|
5884
|
+
let { node: t } = X(e), { property: n } = Z(t, ["settings", "alignTabs"]), { property: r } = Z(t, ["settings", "centerActive"]), { property: i } = Z(t, ["settings", "density"]), { property: a } = Z(t, ["settings", "direction"]), { property: o } = Z(t, ["settings", "disabled"]), { property: s } = Z(t, ["settings", "fixedTabs"]), { property: c } = Z(t, ["settings", "grow"]), { property: l } = Z(t, ["settings", "hideSlider"]), { property: u } = Z(t, ["settings", "mandatory"]), { property: d } = Z(t, ["settings", "showArrows"]), { property: f } = Z(t, ["settings", "stacked"]), { theme: p } = $(), { property: m } = Z(t, ["settings", "value"]), { color: h } = Q(t, [
|
|
5888
5885
|
"settings",
|
|
5889
5886
|
"color",
|
|
5890
|
-
"
|
|
5891
|
-
]), {
|
|
5887
|
+
"color"
|
|
5888
|
+
]), { color: g } = Q(t, [
|
|
5892
5889
|
"settings",
|
|
5893
5890
|
"color",
|
|
5894
|
-
"
|
|
5895
|
-
]), {
|
|
5891
|
+
"bgColor"
|
|
5892
|
+
]), { color: _ } = Q(t, [
|
|
5896
5893
|
"settings",
|
|
5897
5894
|
"color",
|
|
5898
5895
|
"sliderColor"
|
|
5899
|
-
])
|
|
5896
|
+
]);
|
|
5900
5897
|
return (e, t) => {
|
|
5901
5898
|
let ee = A("v-tabs");
|
|
5902
|
-
return D(), b(
|
|
5903
|
-
|
|
5904
|
-
|
|
5899
|
+
return D(), b(ee, {
|
|
5900
|
+
modelValue: j(m),
|
|
5901
|
+
"onUpdate:modelValue": t[0] ||= (e) => E(m) ? m.value = e : null,
|
|
5902
|
+
"align-tabs": j(n),
|
|
5903
|
+
"bg-color": j(g),
|
|
5904
|
+
"center-active": j(r),
|
|
5905
|
+
color: j(h),
|
|
5906
|
+
density: j(i),
|
|
5907
|
+
direction: j(a),
|
|
5908
|
+
disabled: j(o),
|
|
5909
|
+
"fixed-tabs": j(s),
|
|
5910
|
+
grow: j(c),
|
|
5911
|
+
"hide-slider": j(l),
|
|
5912
|
+
mandatory: j(u),
|
|
5913
|
+
"show-arrows": j(d),
|
|
5914
|
+
"slider-color": j(_),
|
|
5915
|
+
stacked: j(f),
|
|
5916
|
+
theme: j(p)
|
|
5905
5917
|
}, {
|
|
5906
|
-
default: M(() => [
|
|
5907
|
-
modelValue: j(_),
|
|
5908
|
-
"onUpdate:modelValue": t[0] ||= (e) => E(_) ? _.value = e : null,
|
|
5909
|
-
"align-tabs": j(n),
|
|
5910
|
-
"bg-color": j(r),
|
|
5911
|
-
"center-active": j(i),
|
|
5912
|
-
color: j(a),
|
|
5913
|
-
density: j(o),
|
|
5914
|
-
direction: j(s),
|
|
5915
|
-
disabled: j(c),
|
|
5916
|
-
"fixed-tabs": j(l),
|
|
5917
|
-
grow: j(u),
|
|
5918
|
-
"hide-slider": j(d),
|
|
5919
|
-
mandatory: j(f),
|
|
5920
|
-
"show-arrows": j(p),
|
|
5921
|
-
"slider-color": j(m),
|
|
5922
|
-
stacked: j(h),
|
|
5923
|
-
theme: j(g)
|
|
5924
|
-
}, {
|
|
5925
|
-
default: M(() => [k(e.$slots, "default")]),
|
|
5926
|
-
_: 3
|
|
5927
|
-
}, 8, [
|
|
5928
|
-
"modelValue",
|
|
5929
|
-
"align-tabs",
|
|
5930
|
-
"bg-color",
|
|
5931
|
-
"center-active",
|
|
5932
|
-
"color",
|
|
5933
|
-
"density",
|
|
5934
|
-
"direction",
|
|
5935
|
-
"disabled",
|
|
5936
|
-
"fixed-tabs",
|
|
5937
|
-
"grow",
|
|
5938
|
-
"hide-slider",
|
|
5939
|
-
"mandatory",
|
|
5940
|
-
"show-arrows",
|
|
5941
|
-
"slider-color",
|
|
5942
|
-
"stacked",
|
|
5943
|
-
"theme"
|
|
5944
|
-
])]),
|
|
5918
|
+
default: M(() => [k(e.$slots, "default")]),
|
|
5945
5919
|
_: 3
|
|
5946
|
-
}
|
|
5920
|
+
}, 8, [
|
|
5921
|
+
"modelValue",
|
|
5922
|
+
"align-tabs",
|
|
5923
|
+
"bg-color",
|
|
5924
|
+
"center-active",
|
|
5925
|
+
"color",
|
|
5926
|
+
"density",
|
|
5927
|
+
"direction",
|
|
5928
|
+
"disabled",
|
|
5929
|
+
"fixed-tabs",
|
|
5930
|
+
"grow",
|
|
5931
|
+
"hide-slider",
|
|
5932
|
+
"mandatory",
|
|
5933
|
+
"show-arrows",
|
|
5934
|
+
"slider-color",
|
|
5935
|
+
"stacked",
|
|
5936
|
+
"theme"
|
|
5937
|
+
]);
|
|
5947
5938
|
};
|
|
5948
5939
|
}
|
|
5949
5940
|
}), Na = /* @__PURE__ */ w({
|
|
@@ -7522,7 +7513,7 @@ P(Zo);
|
|
|
7522
7513
|
//#endregion
|
|
7523
7514
|
//#region src/element/misc/globality/v1/meta.ts
|
|
7524
7515
|
var Qo = {
|
|
7525
|
-
key: "
|
|
7516
|
+
key: "bgColor",
|
|
7526
7517
|
name: "x-runtime-lib.backgroundColor",
|
|
7527
7518
|
ui: "multiTypes",
|
|
7528
7519
|
types: "colorTypesV1",
|
|
@@ -8328,7 +8319,7 @@ var js = {
|
|
|
8328
8319
|
key: "settings",
|
|
8329
8320
|
name: "x-runtime-lib.settings",
|
|
8330
8321
|
children: [{
|
|
8331
|
-
key: "
|
|
8322
|
+
key: "bgColor",
|
|
8332
8323
|
name: "x-runtime-lib.backgroundColor",
|
|
8333
8324
|
ui: "multiTypes",
|
|
8334
8325
|
types: "colorTypesV1",
|
|
@@ -8664,35 +8655,29 @@ var Gs = {
|
|
|
8664
8655
|
};
|
|
8665
8656
|
P(Ks);
|
|
8666
8657
|
//#endregion
|
|
8667
|
-
//#region src/element/ui/
|
|
8658
|
+
//#region src/element/ui/flexbox/v1/spawn.ts
|
|
8668
8659
|
function qs(e, t) {
|
|
8669
8660
|
let n = I(e, t);
|
|
8670
|
-
return n("
|
|
8661
|
+
return n("ui_flexbox_v1", [
|
|
8671
8662
|
n("ui_container_v1", void 0, {
|
|
8672
8663
|
"size.width": "40px",
|
|
8673
8664
|
"size.height": "40px",
|
|
8674
|
-
"settings.backgroundColor
|
|
8675
|
-
"settings.backgroundColor.custom.light": "#ff0000",
|
|
8676
|
-
"settings.backgroundColor.custom.dark": "#ff0000"
|
|
8665
|
+
"settings.backgroundColor": "#ff0000"
|
|
8677
8666
|
}),
|
|
8678
8667
|
n("ui_container_v1", void 0, {
|
|
8679
8668
|
"size.width": "60px",
|
|
8680
8669
|
"size.height": "60px",
|
|
8681
|
-
"settings.backgroundColor
|
|
8682
|
-
"settings.backgroundColor.custom.light": "#00ff00",
|
|
8683
|
-
"settings.backgroundColor.custom.dark": "#00ff00"
|
|
8670
|
+
"settings.backgroundColor": "#00ff00"
|
|
8684
8671
|
}),
|
|
8685
|
-
n("
|
|
8672
|
+
n("ui_flexbox_entry_v1", [n("ui_container_v1", void 0, {
|
|
8686
8673
|
"size.width": "80px",
|
|
8687
8674
|
"size.height": "80px",
|
|
8688
|
-
"settings.backgroundColor
|
|
8689
|
-
"settings.backgroundColor.custom.light": "#0000ff",
|
|
8690
|
-
"settings.backgroundColor.custom.dark": "#0000ff"
|
|
8675
|
+
"settings.backgroundColor": "#0000ff"
|
|
8691
8676
|
})])
|
|
8692
8677
|
]);
|
|
8693
8678
|
}
|
|
8694
8679
|
//#endregion
|
|
8695
|
-
//#region src/element/ui/
|
|
8680
|
+
//#region src/element/ui/flexbox/v1/meta.ts
|
|
8696
8681
|
var Js = {
|
|
8697
8682
|
key: "settings",
|
|
8698
8683
|
name: "x-runtime-lib.settings",
|
|
@@ -8862,7 +8847,7 @@ var Js = {
|
|
|
8862
8847
|
]
|
|
8863
8848
|
},
|
|
8864
8849
|
{
|
|
8865
|
-
key: "
|
|
8850
|
+
key: "bgColor",
|
|
8866
8851
|
name: "x-runtime-lib.backgroundColor",
|
|
8867
8852
|
ui: "multiTypes",
|
|
8868
8853
|
types: "colorTypesV1",
|
|
@@ -8870,8 +8855,8 @@ var Js = {
|
|
|
8870
8855
|
}
|
|
8871
8856
|
]
|
|
8872
8857
|
}, Ys = {
|
|
8873
|
-
key: "
|
|
8874
|
-
name: "x-runtime-lib.
|
|
8858
|
+
key: "ui_flexbox_v1",
|
|
8859
|
+
name: "x-runtime-lib.flexbox",
|
|
8875
8860
|
comp: Bi,
|
|
8876
8861
|
properties: {
|
|
8877
8862
|
pageUi: [
|
|
@@ -8899,7 +8884,7 @@ var Js = {
|
|
|
8899
8884
|
};
|
|
8900
8885
|
P(Ys);
|
|
8901
8886
|
//#endregion
|
|
8902
|
-
//#region src/element/ui/
|
|
8887
|
+
//#region src/element/ui/flexboxEntry/v1/meta.ts
|
|
8903
8888
|
var Xs = {
|
|
8904
8889
|
key: "settings",
|
|
8905
8890
|
name: "x-runtime-lib.settings",
|
|
@@ -8915,8 +8900,8 @@ var Xs = {
|
|
|
8915
8900
|
default: !1
|
|
8916
8901
|
}]
|
|
8917
8902
|
}, Zs = {
|
|
8918
|
-
key: "
|
|
8919
|
-
name: "x-runtime-lib.
|
|
8903
|
+
key: "ui_flexbox_entry_v1",
|
|
8904
|
+
name: "x-runtime-lib.flexboxEntry",
|
|
8920
8905
|
comp: Vi,
|
|
8921
8906
|
properties: {
|
|
8922
8907
|
pageUi: [
|
|
@@ -10516,15 +10501,15 @@ var ol = {
|
|
|
10516
10501
|
name: "x-runtime-lib.color",
|
|
10517
10502
|
children: [
|
|
10518
10503
|
{
|
|
10519
|
-
key: "
|
|
10520
|
-
name: "x-runtime-lib.
|
|
10504
|
+
key: "color",
|
|
10505
|
+
name: "x-runtime-lib.color",
|
|
10521
10506
|
ui: "multiTypes",
|
|
10522
10507
|
types: "colorTypesV1",
|
|
10523
10508
|
default: ""
|
|
10524
10509
|
},
|
|
10525
10510
|
{
|
|
10526
|
-
key: "
|
|
10527
|
-
name: "x-runtime-lib.
|
|
10511
|
+
key: "bgColor",
|
|
10512
|
+
name: "x-runtime-lib.backgroundColor",
|
|
10528
10513
|
ui: "multiTypes",
|
|
10529
10514
|
types: "colorTypesV1",
|
|
10530
10515
|
default: ""
|
|
@@ -11209,7 +11194,7 @@ P(Cl);
|
|
|
11209
11194
|
function wl(e, t) {
|
|
11210
11195
|
let n = I(e, t);
|
|
11211
11196
|
return n("ui_window_v1", [
|
|
11212
|
-
n("ui_window_item_v1", [n("
|
|
11197
|
+
n("ui_window_item_v1", [n("ui_flexbox_v1", [n("ui_text_v1", void 0, {
|
|
11213
11198
|
"settings.text": "Window1",
|
|
11214
11199
|
"settings.size": "bodyMedium"
|
|
11215
11200
|
})], {
|
|
@@ -11219,7 +11204,7 @@ function wl(e, t) {
|
|
|
11219
11204
|
"settings.backgroundColor.mode": "theme",
|
|
11220
11205
|
"settings.backgroundColor.theme": "background2"
|
|
11221
11206
|
})]),
|
|
11222
|
-
n("ui_window_item_v1", [n("
|
|
11207
|
+
n("ui_window_item_v1", [n("ui_flexbox_v1", [n("ui_text_v1", void 0, {
|
|
11223
11208
|
"settings.text": "Window2",
|
|
11224
11209
|
"settings.size": "bodyMedium"
|
|
11225
11210
|
})], {
|
|
@@ -11229,7 +11214,7 @@ function wl(e, t) {
|
|
|
11229
11214
|
"settings.backgroundColor.mode": "theme",
|
|
11230
11215
|
"settings.backgroundColor.theme": "background2"
|
|
11231
11216
|
})]),
|
|
11232
|
-
n("ui_window_item_v1", [n("
|
|
11217
|
+
n("ui_window_item_v1", [n("ui_flexbox_v1", [n("ui_text_v1", void 0, {
|
|
11233
11218
|
"settings.text": "Window3",
|
|
11234
11219
|
"settings.size": "bodyMedium"
|
|
11235
11220
|
})], {
|
|
@@ -12159,9 +12144,9 @@ var Yl = (e, t, n) => {
|
|
|
12159
12144
|
//#region src/i18n/index.ts
|
|
12160
12145
|
async function Xl(e) {
|
|
12161
12146
|
return (await Yl(/* @__PURE__ */ Object.assign({
|
|
12162
|
-
"./locales/en/index.ts": () => import("./i18n-en.
|
|
12163
|
-
"./locales/zhHans/index.ts": () => import("./i18n-zhHans.
|
|
12147
|
+
"./locales/en/index.ts": () => import("./i18n-en.b60i5ddj.js").then((e) => e.t),
|
|
12148
|
+
"./locales/zhHans/index.ts": () => import("./i18n-zhHans.mh8d6pad.js").then((e) => e.t)
|
|
12164
12149
|
}), `./locales/${e}/index.ts`, 4)).default;
|
|
12165
12150
|
}
|
|
12166
12151
|
//#endregion
|
|
12167
|
-
export { ct as addIndent, ho as ambientLightV1, rs as badgeV1, Mo as barChartV1, K as basicV1, Qn as borderV1, co as boxGeometryV1, $e as breakpoints, ms as btnToggleEntryV1, fs as btnToggleV1, ls as btnV1, tt as calcBreakpoint, _s as cardV1, ys as checkboxV1, Ts as chipGroupV1, Ss as chipV1, Es as colorPickerV1, ks as comboboxV1, gt as compTypes, Ms as containerV1, I as createMakeNode, zt as createNode, Mt as dataStringify, Ls as dataTableV1, Rs as datePickerV1, Vs as dialogV1, vo as directionalLightV1, Ht as duplicateNodePair, Ut as duplicateNodePairs, vt as elementKeys, Us as fabV1, Ks as fileInputV1, Al as finalProperties, Zs as
|
|
12152
|
+
export { ct as addIndent, ho as ambientLightV1, rs as badgeV1, Mo as barChartV1, K as basicV1, Qn as borderV1, co as boxGeometryV1, $e as breakpoints, ms as btnToggleEntryV1, fs as btnToggleV1, ls as btnV1, tt as calcBreakpoint, _s as cardV1, ys as checkboxV1, Ts as chipGroupV1, Ss as chipV1, Es as colorPickerV1, ks as comboboxV1, gt as compTypes, Ms as containerV1, I as createMakeNode, zt as createNode, Mt as dataStringify, Ls as dataTableV1, Rs as datePickerV1, Vs as dialogV1, vo as directionalLightV1, Ht as duplicateNodePair, Ut as duplicateNodePairs, vt as elementKeys, Us as fabV1, Ks as fileInputV1, Al as finalProperties, Zs as flexboxEntryV1, Ys as flexboxV1, ec as formV1, at as fromDotString, Ge as genId, bt as getAllElements, rt as getBreakpointPropString, xt as getElement, ot as getField, En as getImplementMethodName, nt as getIndexOfBreakpoint, wt as getItems, Bt as getNodeLite, Lt as getPropertyDefault, It as getPropertyDefaultArray, _t as getTag, Ot as getTypes, es as globalityV1, Do as groupV1, ut as hasComp, lt as hasSlot, rc as iconV1, Rt as initProperties, pn as injectDark, vn as injectData, bn as injectDepends, dn as injectDevice, cn as injectEnv, R as injectId, _n as injectMeta, L as injectMode, Tn as injectNode, on as injectOrg, Sn as injectRuntime, V as injectSandbox, gn as injectType, At as isCircularReference, kt as isExecutableMode, Xe as isHexColor, Je as isPercent, Ke as isPixel, Qe as isThemeColor, St as itemsKeys, to as keyboardControlsV1, $n as legendV1, Fo as lineChartV1, Xl as loadLocaleMessageRuntime, U as makeEventId, Vn as makeEventKeyOfCustomSlot, zn as makeEventKeyOfElementSlot, Mn as makeMethodId, In as makeMethodKeyOfCustomSlot, Pn as makeMethodKeyOfElementSlot, Vt as makeNodePair, H as makePropertyId, An as makePropertyKeyOfCustomSlot, On as makePropertyKeyOfElementSlot, Un as makeSlotId, Gn as makeTriggerId, ro as mapControlsV1, er as marginV1, oc as menuV1, To as meshBasicMaterialV1, ko as meshV1, Pt as metaStringify, zo as multipleRefV1, Ho as multipleSlotV1, uc as numberInputV1, ao as orbitControlsV1, Xa as orthographicCameraV1, tr as paddingV1, ht as pageTypes, pc as paginationV1, Nt as parseData, Ft as parseMeta, Ye as parsePercent, qe as parsePixel, $a as perspectiveCameraV1, or as pkgs, xo as pointLightV1, fn as provideDark, B as provideData, yn as provideDepends, un as provideDevice, sn as provideEnv, mn as provideId, z as provideMeta, ln as provideMode, wn as provideNode, an as provideOrg, xn as provideRuntime, Cn as provideSandbox, hn as provideType, vc as radioGroupV1, hc as radioV1, xc as rangeSliderV1, wc as ratingV1, Go as referenceV1, P as regElement, F as regItems, Dt as regTypes, Jo as renderSwitchV1, et as reverseBreakpoints, Dc as selectV1, st as setField, Ac as sheetV1, q as sizeV1, Pc as sliderV1, Zo as slotV1, fo as sphereGeometryV1, wo as spotLightV1, Bc as stepperHeaderV1, Hc as stepperItemV1, zc as stepperV1, Gc as stepperWindowItemV1, Uc as stepperWindowV1, Jc as switchV1, Xc as tabV1, tl as tableBodyCellV1, el as tableBodyV1, rl as tableHeadCellV1, nl as tableHeadV1, il as tableRowV1, $c as tableV1, sl as tabsV1, yl as textFieldV1, ul as textV1, pl as textareaV1, Ze as themeColors, Cl as timelineItemV1, Sl as timelineV1, nr as titleV1, it as toDotString, mt as toEventName, pt as toMethodName, jt as toNodeLite, ft as toPropertyName, J as transformV1, Tt as typesKeys, Rn as unwrapEventId, Hn as unwrapEventKeyOfCustomSlot, Bn as unwrapEventKeyOfElementSlot, Nn as unwrapMethodId, Ln as unwrapMethodKeyOfCustomSlot, Fn as unwrapMethodKeyOfElementSlot, Dn as unwrapPropertyId, jn as unwrapPropertyKeyOfCustomSlot, kn as unwrapPropertyKeyOfElementSlot, Wn as unwrapSlotId, Kn as unwrapTriggerId, qn as useColor, W as useDepend, Jn as useRuntime, Jl as useSandbox, $ as useTheme, Dl as windowItemV1, El as windowV1, rr as xAxisV1, ir as yAxisV1 };
|
package/dist/meta/element.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Type } from 'x-essential-lib';
|
|
|
2
2
|
import { NodePair } from '@/types';
|
|
3
3
|
import { Tag } from './base';
|
|
4
4
|
import { ZProperty } from './property';
|
|
5
|
-
export declare const elementKeys: readonly ["globality_v1", "multiple_ref_v1", "multiple_slot_v1", "ref_v1", "render_switch_v1", "slot_v1", "ui_badge_v1", "ui_breadcrumbs_v1", "ui_bar_chart_v1", "ui_btn_v1", "ui_btn_toggle_v1", "ui_btn_toggle_entry_v1", "ui_card_v1", "ui_checkbox_v1", "ui_chip_v1", "ui_chip_group_v1", "ui_color_picker_v1", "ui_combobox_v1", "ui_container_v1", "ui_data_table_v1", "ui_date_picker_v1", "ui_dialog_v1", "ui_fab_v1", "ui_file_input_v1", "
|
|
5
|
+
export declare const elementKeys: readonly ["globality_v1", "multiple_ref_v1", "multiple_slot_v1", "ref_v1", "render_switch_v1", "slot_v1", "ui_badge_v1", "ui_breadcrumbs_v1", "ui_bar_chart_v1", "ui_btn_v1", "ui_btn_toggle_v1", "ui_btn_toggle_entry_v1", "ui_card_v1", "ui_checkbox_v1", "ui_chip_v1", "ui_chip_group_v1", "ui_color_picker_v1", "ui_combobox_v1", "ui_container_v1", "ui_data_table_v1", "ui_date_picker_v1", "ui_dialog_v1", "ui_fab_v1", "ui_file_input_v1", "ui_flexbox_v1", "ui_flexbox_entry_v1", "ui_form_v1", "ui_icon_v1", "ui_line_chart_v1", "ui_menu_v1", "ui_number_input_v1", "ui_pagination_v1", "ui_radio_v1", "ui_radio_group_v1", "ui_range_slider_v1", "ui_rating_v1", "ui_select_v1", "ui_sheet_v1", "ui_slider_v1", "ui_speed_dial_v1", "ui_stepper_v1", "ui_stepper_header_v1", "ui_stepper_item_v1", "ui_stepper_window_v1", "ui_stepper_window_item_v1", "ui_switch_v1", "ui_tab_v1", "ui_table_v1", "ui_table_body_v1", "ui_table_body_cell_v1", "ui_table_head_v1", "ui_table_head_cell_v1", "ui_table_row_v1", "ui_tabs_v1", "ui_text_v1", "ui_textarea_v1", "ui_text_field_v1", "ui_timeline_v1", "ui_timeline_item_v1", "ui_window_v1", "ui_window_item_v1", "3d_ambient_light_v1", "3d_box_geometry_v1", "3d_directional_light_v1", "3d_group_v1", "3d_keyboard_controls_v1", "3d_map_controls_v1", "3d_mesh_v1", "3d_mesh_basic_material_v1", "3d_orbit_controls_v1", "3d_orthographic_camera_v1", "3d_perspective_camera_v1", "3d_point_light_v1", "3d_sphere_geometry_v1", "3d_spot_light_v1"];
|
|
6
6
|
export type ZElementKey = (typeof elementKeys)[number];
|
|
7
7
|
export type ZMethod = {
|
|
8
8
|
key: string;
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ZElement, ZElementKey, ZItem, ZItemsKey, ZType, ZTypesKey } from '@/meta';
|
|
2
|
-
export declare function regItems(key: ZItemsKey, items: ZItem[]): void;
|
|
3
|
-
export declare function getItems(key: ZItemsKey | string): ZItem[] | undefined;
|
|
4
|
-
export declare function regTypes(key: ZTypesKey, types: ZType[]): void;
|
|
5
|
-
export declare function getTypes(key: ZTypesKey | string): ZType[] | undefined;
|
|
6
|
-
export declare function regElement(element: ZElement): void;
|
|
7
|
-
export declare function getAllElements(): {
|
|
8
|
-
[key: string]: ZElement;
|
|
9
|
-
};
|
|
10
|
-
export declare function getElement(key: ZElementKey | string): ZElement | undefined;
|
package/dist/types/protocol.d.ts
DELETED
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
import { Type } from 'x-essential-lib';
|
|
2
|
-
import { NodePair } from './data';
|
|
3
|
-
export declare const pageTypes: string[];
|
|
4
|
-
export type PageType = (typeof pageTypes)[number];
|
|
5
|
-
export declare const compTypes: string[];
|
|
6
|
-
export type CompType = (typeof compTypes)[number];
|
|
7
|
-
export type Tag = 'pageUi' | 'compUi' | 'page3d' | 'comp3d';
|
|
8
|
-
export declare function getTag(type: string, subtype: string): Tag;
|
|
9
|
-
export type ZItem = {
|
|
10
|
-
value: string;
|
|
11
|
-
title: string;
|
|
12
|
-
};
|
|
13
|
-
type ZTypeBase = {
|
|
14
|
-
value: string;
|
|
15
|
-
title: string;
|
|
16
|
-
validator: (v: unknown) => boolean;
|
|
17
|
-
};
|
|
18
|
-
type ZTypeWord = {
|
|
19
|
-
trait: 'word';
|
|
20
|
-
default: string;
|
|
21
|
-
} & ZTypeBase;
|
|
22
|
-
type ZTypePixel = {
|
|
23
|
-
trait: 'pixel';
|
|
24
|
-
precision?: number;
|
|
25
|
-
min?: number;
|
|
26
|
-
max?: number;
|
|
27
|
-
step?: number;
|
|
28
|
-
default: string;
|
|
29
|
-
} & ZTypeBase;
|
|
30
|
-
type ZTypePercent = {
|
|
31
|
-
trait: 'percent';
|
|
32
|
-
precision?: number;
|
|
33
|
-
min?: number;
|
|
34
|
-
max?: number;
|
|
35
|
-
step?: number;
|
|
36
|
-
default: string;
|
|
37
|
-
} & ZTypeBase;
|
|
38
|
-
type ZTypeHexColor = {
|
|
39
|
-
trait: 'hexColor';
|
|
40
|
-
default: string;
|
|
41
|
-
} & ZTypeBase;
|
|
42
|
-
type ZTypeThemeColor = {
|
|
43
|
-
trait: 'themeColor';
|
|
44
|
-
default: string;
|
|
45
|
-
} & ZTypeBase;
|
|
46
|
-
export type ZType = ZTypeWord | ZTypePixel | ZTypePercent | ZTypeHexColor | ZTypeThemeColor;
|
|
47
|
-
type ZPropertyBranch = {
|
|
48
|
-
key: string;
|
|
49
|
-
name: string;
|
|
50
|
-
ui?: undefined;
|
|
51
|
-
children: ZProperty[];
|
|
52
|
-
default?: undefined;
|
|
53
|
-
};
|
|
54
|
-
type ZPropertyBase = {
|
|
55
|
-
key: string;
|
|
56
|
-
name: string;
|
|
57
|
-
readonly?: boolean;
|
|
58
|
-
static?: boolean;
|
|
59
|
-
value?: any;
|
|
60
|
-
};
|
|
61
|
-
type ZPropertyDummy = {
|
|
62
|
-
ui: 'dummy';
|
|
63
|
-
default: any;
|
|
64
|
-
} & ZPropertyBase;
|
|
65
|
-
type ZPropertyStrInput = {
|
|
66
|
-
ui: 'strInput';
|
|
67
|
-
default: string;
|
|
68
|
-
} & ZPropertyBase;
|
|
69
|
-
type ZPropertyNumInput = {
|
|
70
|
-
ui: 'numInput';
|
|
71
|
-
precision?: number;
|
|
72
|
-
min?: number;
|
|
73
|
-
max?: number;
|
|
74
|
-
step?: number;
|
|
75
|
-
default: number;
|
|
76
|
-
} & ZPropertyBase;
|
|
77
|
-
type ZPropertySwitch = {
|
|
78
|
-
ui: 'switch';
|
|
79
|
-
default: boolean;
|
|
80
|
-
} & ZPropertyBase;
|
|
81
|
-
type ZPropertySelect = {
|
|
82
|
-
ui: 'select';
|
|
83
|
-
items: 'alignTabsItemsV1' | 'axisTypeItemsV1' | 'borderStyleItemsV1' | 'densityItemsV1' | 'directionItemsV1' | 'fieldVariantItemsV1' | 'flexCrossAlignItemsV1' | 'flexDirectionItemsV1' | 'flexMainAlignItemsV1' | 'flexWrapItemsV1' | 'fontWeightItemsV1' | 'sheetVariantItemsV1' | 'showTicksItemsV1' | 'sizeItemsV1' | 'speedDialOpenWayItemsV1' | 'textAlignItemsV1' | 'textDecorationItemsV1' | 'textEmphasisItemsV1' | 'textSizeItemsV1' | 'thumbLabelItemsV1' | 'timelineAlignItemsV1' | 'timelineDirectionItemsV1' | 'timelineSideItemsV1' | 'timelineTruncateLineItemsV1';
|
|
84
|
-
default: string;
|
|
85
|
-
} & ZPropertyBase;
|
|
86
|
-
type ZPropertyColorPicker = {
|
|
87
|
-
ui: 'colorPicker';
|
|
88
|
-
default: string;
|
|
89
|
-
} & ZPropertyBase;
|
|
90
|
-
type ZPropertyJsonEditor = {
|
|
91
|
-
ui: 'jsonEditor';
|
|
92
|
-
default: string;
|
|
93
|
-
} & ZPropertyBase;
|
|
94
|
-
type ZPropertyMultiTypes = {
|
|
95
|
-
ui: 'multiTypes';
|
|
96
|
-
types: 'borderWidthTypesV1' | 'colorTypesV1' | 'leftRightTypesV1' | 'marginTypesV1' | 'paddingTypesV1' | 'sizeTypesV1' | 'tableColumnAlignTypesV1' | 'topBottomTypesV1';
|
|
97
|
-
default: string;
|
|
98
|
-
} & ZPropertyBase;
|
|
99
|
-
type ZPropertySelectComp = {
|
|
100
|
-
ui: 'selectComp';
|
|
101
|
-
default: string;
|
|
102
|
-
} & ZPropertyBase;
|
|
103
|
-
type ZPropertySelectSlot = {
|
|
104
|
-
ui: 'selectSlot';
|
|
105
|
-
default: string;
|
|
106
|
-
} & ZPropertyBase;
|
|
107
|
-
type ZPropertySelectAdaptSlot = {
|
|
108
|
-
ui: 'selectAdaptSlot';
|
|
109
|
-
default: string;
|
|
110
|
-
} & ZPropertyBase;
|
|
111
|
-
export type ZProperty = ({
|
|
112
|
-
array?: false;
|
|
113
|
-
} & ZPropertyBranch) | ({
|
|
114
|
-
array: true;
|
|
115
|
-
defaultArray: any[];
|
|
116
|
-
} & ZPropertyBranch) | ({
|
|
117
|
-
array?: false;
|
|
118
|
-
} & ZPropertyDummy) | ({
|
|
119
|
-
array: true;
|
|
120
|
-
defaultArray: any[];
|
|
121
|
-
} & ZPropertyDummy) | ({
|
|
122
|
-
array?: false;
|
|
123
|
-
} & ZPropertyStrInput) | ({
|
|
124
|
-
array: true;
|
|
125
|
-
defaultArray: string[];
|
|
126
|
-
} & ZPropertyStrInput) | ({
|
|
127
|
-
array?: false;
|
|
128
|
-
} & ZPropertyNumInput) | ({
|
|
129
|
-
array: true;
|
|
130
|
-
defaultArray: number[];
|
|
131
|
-
} & ZPropertyNumInput) | ({
|
|
132
|
-
array?: false;
|
|
133
|
-
} & ZPropertySwitch) | ({
|
|
134
|
-
array: true;
|
|
135
|
-
defaultArray: boolean[];
|
|
136
|
-
} & ZPropertySwitch) | ({
|
|
137
|
-
array?: false;
|
|
138
|
-
} & ZPropertySelect) | ({
|
|
139
|
-
array: true;
|
|
140
|
-
defaultArray: string[];
|
|
141
|
-
} & ZPropertySelect) | ({
|
|
142
|
-
array?: false;
|
|
143
|
-
} & ZPropertyColorPicker) | ({
|
|
144
|
-
array: true;
|
|
145
|
-
defaultArray: string[];
|
|
146
|
-
} & ZPropertyColorPicker) | ({
|
|
147
|
-
array?: false;
|
|
148
|
-
} & ZPropertyJsonEditor) | ({
|
|
149
|
-
array: true;
|
|
150
|
-
defaultArray: string[];
|
|
151
|
-
} & ZPropertyJsonEditor) | ({
|
|
152
|
-
array?: false;
|
|
153
|
-
} & ZPropertyMultiTypes) | ({
|
|
154
|
-
array: true;
|
|
155
|
-
defaultArray: string[];
|
|
156
|
-
} & ZPropertyMultiTypes) | ({
|
|
157
|
-
array?: false;
|
|
158
|
-
} & ZPropertySelectComp) | ({
|
|
159
|
-
array: true;
|
|
160
|
-
defaultArray: string[];
|
|
161
|
-
} & ZPropertySelectComp) | ({
|
|
162
|
-
array?: false;
|
|
163
|
-
} & ZPropertySelectSlot) | ({
|
|
164
|
-
array: true;
|
|
165
|
-
defaultArray: string[];
|
|
166
|
-
} & ZPropertySelectSlot) | ({
|
|
167
|
-
array?: false;
|
|
168
|
-
} & ZPropertySelectAdaptSlot) | ({
|
|
169
|
-
array: true;
|
|
170
|
-
defaultArray: string[];
|
|
171
|
-
} & ZPropertySelectAdaptSlot);
|
|
172
|
-
export type ZMethod = {
|
|
173
|
-
key: string;
|
|
174
|
-
name: string;
|
|
175
|
-
inputs?: {
|
|
176
|
-
key: string;
|
|
177
|
-
name: string;
|
|
178
|
-
type: Type;
|
|
179
|
-
desc?: string;
|
|
180
|
-
}[];
|
|
181
|
-
outputs?: {
|
|
182
|
-
key: string;
|
|
183
|
-
name: string;
|
|
184
|
-
type: Type;
|
|
185
|
-
desc?: string;
|
|
186
|
-
}[];
|
|
187
|
-
desc?: string;
|
|
188
|
-
};
|
|
189
|
-
export type ZEvent = {
|
|
190
|
-
key: string;
|
|
191
|
-
name: string;
|
|
192
|
-
params?: {
|
|
193
|
-
key: string;
|
|
194
|
-
name: string;
|
|
195
|
-
type: Type;
|
|
196
|
-
desc?: string;
|
|
197
|
-
}[];
|
|
198
|
-
desc?: string;
|
|
199
|
-
};
|
|
200
|
-
export type ZSlotProperty = {
|
|
201
|
-
key: string;
|
|
202
|
-
name: string;
|
|
203
|
-
type: Type;
|
|
204
|
-
readonly?: boolean;
|
|
205
|
-
desc?: string;
|
|
206
|
-
};
|
|
207
|
-
export type ZSlotMethod = {
|
|
208
|
-
key: string;
|
|
209
|
-
name: string;
|
|
210
|
-
inputs?: {
|
|
211
|
-
key: string;
|
|
212
|
-
name: string;
|
|
213
|
-
type: Type;
|
|
214
|
-
desc?: string;
|
|
215
|
-
}[];
|
|
216
|
-
outputs?: {
|
|
217
|
-
key: string;
|
|
218
|
-
name: string;
|
|
219
|
-
type: Type;
|
|
220
|
-
desc?: string;
|
|
221
|
-
}[];
|
|
222
|
-
desc?: string;
|
|
223
|
-
};
|
|
224
|
-
export type ZSlotEvent = {
|
|
225
|
-
key: string;
|
|
226
|
-
name: string;
|
|
227
|
-
params?: {
|
|
228
|
-
key: string;
|
|
229
|
-
name: string;
|
|
230
|
-
type: Type;
|
|
231
|
-
desc?: string;
|
|
232
|
-
}[];
|
|
233
|
-
desc?: string;
|
|
234
|
-
};
|
|
235
|
-
export type ZSlot = {
|
|
236
|
-
key: string;
|
|
237
|
-
name: string;
|
|
238
|
-
multiple?: boolean;
|
|
239
|
-
properties?: ZSlotProperty[];
|
|
240
|
-
methods?: ZSlotMethod[];
|
|
241
|
-
events?: ZSlotEvent[];
|
|
242
|
-
desc?: string;
|
|
243
|
-
};
|
|
244
|
-
export declare const elementKeys: readonly ["globality_v1", "multiple_ref_v1", "multiple_slot_v1", "ref_v1", "render_switch_v1", "slot_v1", "ui_badge_v1", "ui_breadcrumbs_v1", "ui_bar_chart_v1", "ui_btn_v1", "ui_btn_toggle_v1", "ui_btn_toggle_entry_v1", "ui_card_v1", "ui_checkbox_v1", "ui_chip_v1", "ui_chip_group_v1", "ui_color_picker_v1", "ui_combobox_v1", "ui_container_v1", "ui_data_table_v1", "ui_date_picker_v1", "ui_dialog_v1", "ui_fab_v1", "ui_file_input_v1", "ui_flex_layout_v1", "ui_flex_layout_entry_v1", "ui_form_v1", "ui_icon_v1", "ui_line_chart_v1", "ui_menu_v1", "ui_number_input_v1", "ui_pagination_v1", "ui_radio_v1", "ui_radio_group_v1", "ui_range_slider_v1", "ui_rating_v1", "ui_select_v1", "ui_sheet_v1", "ui_slider_v1", "ui_speed_dial_v1", "ui_stepper_v1", "ui_stepper_header_v1", "ui_stepper_item_v1", "ui_stepper_window_v1", "ui_stepper_window_item_v1", "ui_switch_v1", "ui_tab_v1", "ui_table_v1", "ui_table_body_v1", "ui_table_body_cell_v1", "ui_table_head_v1", "ui_table_head_cell_v1", "ui_table_row_v1", "ui_tabs_v1", "ui_text_v1", "ui_textarea_v1", "ui_text_field_v1", "ui_timeline_v1", "ui_timeline_item_v1", "ui_window_v1", "ui_window_item_v1", "3d_ambient_light_v1", "3d_box_geometry_v1", "3d_directional_light_v1", "3d_group_v1", "3d_keyboard_controls_v1", "3d_map_controls_v1", "3d_mesh_v1", "3d_mesh_basic_material_v1", "3d_orbit_controls_v1", "3d_orthographic_camera_v1", "3d_perspective_camera_v1", "3d_point_light_v1", "3d_sphere_geometry_v1", "3d_spot_light_v1"];
|
|
245
|
-
export type ZElementKey = (typeof elementKeys)[number];
|
|
246
|
-
export type ZElement = {
|
|
247
|
-
key: ZElementKey;
|
|
248
|
-
name: string;
|
|
249
|
-
comp: any;
|
|
250
|
-
properties: {
|
|
251
|
-
[key in Tag]?: ZProperty[];
|
|
252
|
-
};
|
|
253
|
-
methods?: ZMethod[];
|
|
254
|
-
events?: ZEvent[];
|
|
255
|
-
slots?: ZSlot[];
|
|
256
|
-
leaf?: boolean;
|
|
257
|
-
internal?: boolean;
|
|
258
|
-
teleport?: boolean;
|
|
259
|
-
spawn?: (type: string, subtype: string, ...params: any[]) => NodePair;
|
|
260
|
-
};
|
|
261
|
-
export type ZElements = {
|
|
262
|
-
[key: string]: ZElement;
|
|
263
|
-
};
|
|
264
|
-
export type ZGroup = {
|
|
265
|
-
key: string;
|
|
266
|
-
name: string;
|
|
267
|
-
items: ZElementKey[];
|
|
268
|
-
};
|
|
269
|
-
export type ZPkg = {
|
|
270
|
-
version: string;
|
|
271
|
-
globalityKey: ZElementKey;
|
|
272
|
-
refKey: ZElementKey;
|
|
273
|
-
items: {
|
|
274
|
-
[key: string]: ZItem[];
|
|
275
|
-
};
|
|
276
|
-
types: {
|
|
277
|
-
[key: string]: ZType[];
|
|
278
|
-
};
|
|
279
|
-
elements: Set<string>;
|
|
280
|
-
groups: {
|
|
281
|
-
[tag: string]: ZGroup[];
|
|
282
|
-
};
|
|
283
|
-
};
|
|
284
|
-
export type ZPkgs = {
|
|
285
|
-
[key: string]: ZPkg;
|
|
286
|
-
};
|
|
287
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|