x-runtime-lib 0.9.53 → 0.9.55
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.
|
@@ -132,6 +132,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
|
|
|
132
132
|
density: "Density",
|
|
133
133
|
depth: "Depth",
|
|
134
134
|
depthSegments: "Depth Segments",
|
|
135
|
+
desc: "Description",
|
|
135
136
|
detail: "Detail",
|
|
136
137
|
dialog: "Dialog",
|
|
137
138
|
dialogBottom: "Dialog (Bottom)",
|
package/dist/index.d.ts
CHANGED
|
@@ -119,7 +119,7 @@ export declare function duplicateNodePair(src: NodePair): NodePair;
|
|
|
119
119
|
|
|
120
120
|
export declare function duplicateNodePairs(srcs: NodePair[]): NodePair[];
|
|
121
121
|
|
|
122
|
-
export declare const elementKeys: readonly ["globality_v1", "inline_slot_v1", "multiple_ref_v1", "multiple_slot_v1", "ref_v1", "render_switch_v1", "slot_v1", "ui_activator_v1", "ui_avatar_v1", "ui_badge_v1", "ui_banner_v1", "ui_breadcrumbs_v1", "ui_bar_chart_v1", "ui_btn_v1", "ui_btn_toggle_v1", "ui_card_v1", "ui_checkbox_v1", "ui_chip_v1", "ui_chip_group_v1", "ui_color_picker_v1", "ui_column_v1", "ui_combobox_v1", "ui_container_v1", "ui_data_table_client_v1", "ui_data_table_server_v1", "ui_date_picker_v1", "ui_dialog_v1", "ui_divider_v1", "ui_expansion_panel_v1", "ui_fab_v1", "ui_file_input_v1", "ui_flexbox_v1", "ui_flexbox_entry_v1", "ui_form_v1", "ui_hover_v1", "ui_icon_v1", "ui_item_group_v1", "ui_line_chart_v1", "ui_list_v1", "ui_menu_v1", "ui_number_input_v1", "ui_opt_input_v1", "ui_pagination_v1", "ui_positioner_v1", "ui_progress_circular_v1", "ui_progress_linear_v1", "ui_radio_v1", "ui_radio_group_v1", "ui_range_slider_v1", "ui_rating_v1", "ui_row_v1", "ui_select_v1", "ui_slider_v1", "ui_slide_group_v1", "ui_spacer_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_tooltip_v1", "ui_windows_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"];
|
|
122
|
+
export declare const elementKeys: readonly ["globality_v1", "inline_slot_v1", "multiple_ref_v1", "multiple_slot_v1", "ref_v1", "render_switch_v1", "slot_v1", "ui_activator_v1", "ui_avatar_v1", "ui_badge_v1", "ui_banner_v1", "ui_breadcrumbs_v1", "ui_bar_chart_v1", "ui_btn_v1", "ui_btn_toggle_v1", "ui_card_v1", "ui_checkbox_v1", "ui_chip_v1", "ui_chip_group_v1", "ui_color_picker_v1", "ui_column_v1", "ui_combobox_v1", "ui_container_v1", "ui_data_table_client_v1", "ui_data_table_server_v1", "ui_date_picker_v1", "ui_dialog_v1", "ui_divider_v1", "ui_expansion_panel_v1", "ui_fab_v1", "ui_file_input_v1", "ui_flexbox_v1", "ui_flexbox_entry_v1", "ui_form_v1", "ui_hover_v1", "ui_icon_v1", "ui_image_v1", "ui_item_group_v1", "ui_line_chart_v1", "ui_list_v1", "ui_menu_v1", "ui_number_input_v1", "ui_opt_input_v1", "ui_pagination_v1", "ui_positioner_v1", "ui_progress_circular_v1", "ui_progress_linear_v1", "ui_radio_v1", "ui_radio_group_v1", "ui_range_slider_v1", "ui_rating_v1", "ui_row_v1", "ui_select_v1", "ui_slider_v1", "ui_slide_group_v1", "ui_spacer_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_tooltip_v1", "ui_windows_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"];
|
|
123
123
|
|
|
124
124
|
export declare interface ElementProps {
|
|
125
125
|
nodeId: string;
|
|
@@ -187,7 +187,22 @@ export declare function getNodeLite(nodeLites: NodeLite[], id: string): NodeLite
|
|
|
187
187
|
|
|
188
188
|
export declare function getPropertyDefault(property: ZProperty): any;
|
|
189
189
|
|
|
190
|
-
export declare function getPropertyDefaultArray(property: ZProperty): any[] | string[] | (number | null)[] | boolean[] | (
|
|
190
|
+
export declare function getPropertyDefaultArray(property: ZProperty): any[] | string[] | (number | null)[] | boolean[] | ({
|
|
191
|
+
id: string;
|
|
192
|
+
name: string;
|
|
193
|
+
properties?: {
|
|
194
|
+
id: string;
|
|
195
|
+
name: string;
|
|
196
|
+
type: Type;
|
|
197
|
+
value: any;
|
|
198
|
+
}[];
|
|
199
|
+
} | null)[] | ({
|
|
200
|
+
id: string;
|
|
201
|
+
name: string;
|
|
202
|
+
} | null)[] | ({
|
|
203
|
+
id: string;
|
|
204
|
+
names: string[];
|
|
205
|
+
} | null)[] | ("" | "required" | "email" | "minLength" | "maxLength" | "length")[];
|
|
191
206
|
|
|
192
207
|
export declare function getRadius(val: unknown): string | undefined;
|
|
193
208
|
|
|
@@ -361,7 +376,8 @@ declare type Node_2 = {
|
|
|
361
376
|
basic: {
|
|
362
377
|
id: string;
|
|
363
378
|
key: string;
|
|
364
|
-
|
|
379
|
+
desc: string;
|
|
380
|
+
alias: string;
|
|
365
381
|
};
|
|
366
382
|
[key: string]: any;
|
|
367
383
|
};
|
|
@@ -866,7 +882,10 @@ export declare type ZProperty = ({
|
|
|
866
882
|
|
|
867
883
|
declare type ZPropertyAdaptSlot = {
|
|
868
884
|
ui: 'adaptSlot';
|
|
869
|
-
default:
|
|
885
|
+
default: {
|
|
886
|
+
id: string;
|
|
887
|
+
names: string[];
|
|
888
|
+
} | null;
|
|
870
889
|
} & ZPropertyBase;
|
|
871
890
|
|
|
872
891
|
declare type ZPropertyBase = {
|
|
@@ -886,7 +905,16 @@ declare type ZPropertyBranch = {
|
|
|
886
905
|
|
|
887
906
|
declare type ZPropertyComp = {
|
|
888
907
|
ui: 'comp';
|
|
889
|
-
default:
|
|
908
|
+
default: {
|
|
909
|
+
id: string;
|
|
910
|
+
name: string;
|
|
911
|
+
properties?: {
|
|
912
|
+
id: string;
|
|
913
|
+
name: string;
|
|
914
|
+
type: Type;
|
|
915
|
+
value: any;
|
|
916
|
+
}[];
|
|
917
|
+
} | null;
|
|
890
918
|
} & ZPropertyBase;
|
|
891
919
|
|
|
892
920
|
declare type ZPropertyDummy = {
|
|
@@ -942,7 +970,10 @@ declare type ZPropertySelect = {
|
|
|
942
970
|
|
|
943
971
|
declare type ZPropertySlot = {
|
|
944
972
|
ui: 'slot';
|
|
945
|
-
default:
|
|
973
|
+
default: {
|
|
974
|
+
id: string;
|
|
975
|
+
name: string;
|
|
976
|
+
} | null;
|
|
946
977
|
} & ZPropertyBase;
|
|
947
978
|
|
|
948
979
|
declare type ZPropertySwitch = {
|