x-runtime-lib 0.9.46 → 0.9.48

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.
@@ -47,7 +47,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
47
47
  boxGeometry: "Box Geometry",
48
48
  breadcrumbs: "Breadcrumbs",
49
49
  breakpoint: "Breakpoint",
50
- buffer: "Buffer",
50
+ bufferValue: "Buffer Value",
51
51
  button: "Button",
52
52
  buttonToggle: "Button Toggle",
53
53
  buttonToggleEntry: "Button Toggle Entry",
@@ -81,6 +81,18 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
81
81
  color: "Color",
82
82
  colorPicker: "Color Picker",
83
83
  column: "Column",
84
+ column1: "1 / 12",
85
+ column2: "2 / 12",
86
+ column3: "3 / 12",
87
+ column4: "4 / 12",
88
+ column5: "5 / 12",
89
+ column6: "6 / 12",
90
+ column7: "7 / 12",
91
+ column8: "8 / 12",
92
+ column9: "9 / 12",
93
+ column10: "10 / 12",
94
+ column11: "11 / 12",
95
+ column12: "12 / 12",
84
96
  columnReverse: "Column Reverse",
85
97
  columns: "Columns",
86
98
  combobox: "Combobox",
@@ -116,6 +128,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
116
128
  decay: "Decay",
117
129
  decoration: "Decoration",
118
130
  default: "Default",
131
+ delay: "Delay",
119
132
  density: "Density",
120
133
  depth: "Depth",
121
134
  depthSegments: "Depth Segments",
@@ -151,7 +164,6 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
151
164
  expandX: "Expand (X)",
152
165
  expandY: "Expand (Y)",
153
166
  expansionPanel: "Expansion Panel",
154
- expansionPanels: "Expansion Panels",
155
167
  extraData: "Extra Data",
156
168
  fade: "Fade",
157
169
  false: "False",
@@ -220,6 +232,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
220
232
  isDirty: "Is Dirty",
221
233
  isFocused: "Is Focused",
222
234
  isHovering: "Is Hovering",
235
+ isSelected: "Is Selected",
223
236
  isValid: "Is Valid",
224
237
  italic: "Italic",
225
238
  item: "Item",
@@ -328,7 +341,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
328
341
  prependIcon: "Prepend Icon",
329
342
  prependInner: "Prepend Inner",
330
343
  prependInnerIcon: "Prepend Inner Icon",
331
- previous: "Previous",
344
+ prev: "Previous",
332
345
  primary: "Primary",
333
346
  progressCircular: "Progress (Ciruclar)",
334
347
  progressLinear: "Progress (Linear)",
@@ -466,6 +479,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
466
479
  titleLarge: "Title Large",
467
480
  titleMedium: "Title Medium",
468
481
  titleSmall: "Title Small",
482
+ toggle: "Toggle",
469
483
  tonal: "Tonal",
470
484
  tooltip: "Tooltip",
471
485
  top: "Top",
@@ -478,6 +492,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
478
492
  trackColor: "Track Color",
479
493
  trackFillColor: "Track Fill Color",
480
494
  transform: "Transform",
495
+ transition: "Transition",
481
496
  triggerOpen: "Trigger Open",
482
497
  true: "True",
483
498
  truncate: "Truncate",
@@ -496,8 +511,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
496
511
  weight: "Weight",
497
512
  width: "Width",
498
513
  widthSegments: "Width Segments",
499
- window: "Window",
500
- windowItem: "Window Item",
514
+ windows: "Windows",
501
515
  wrap: "Wrap",
502
516
  x: "X",
503
517
  xAxis: "X Axis",
@@ -47,7 +47,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
47
47
  boxGeometry: "盒子几何体",
48
48
  breadcrumbs: "面包屑",
49
49
  breakpoint: "断点",
50
- buffer: "缓冲",
50
+ bufferValue: "缓冲值",
51
51
  button: "按钮",
52
52
  buttonToggle: "按钮切换",
53
53
  buttonToggleEntry: "按钮切换条目",
@@ -81,8 +81,20 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
81
81
  color: "颜色",
82
82
  colorPicker: "颜色拾取器",
83
83
  column: "列",
84
+ column1: "1 / 12",
85
+ column2: "2 / 12",
86
+ column3: "3 / 12",
87
+ column4: "4 / 12",
88
+ column5: "5 / 12",
89
+ column6: "6 / 12",
90
+ column7: "7 / 12",
91
+ column8: "8 / 12",
92
+ column9: "9 / 12",
93
+ column10: "10 / 12",
94
+ column11: "11 / 12",
95
+ column12: "12 / 12",
84
96
  columnReverse: "列反向",
85
- columns: "列(s)",
97
+ columns: "列数",
86
98
  combobox: "组合框",
87
99
  comfortable: "舒适",
88
100
  comp: "组件",
@@ -116,6 +128,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
116
128
  decay: "衰减",
117
129
  decoration: "装饰",
118
130
  default: "缺省",
131
+ delay: "延迟",
119
132
  density: "密度",
120
133
  depth: "深度",
121
134
  depthSegments: "深度分段(s)",
@@ -151,7 +164,6 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
151
164
  expandX: "展开(X)",
152
165
  expandY: "展开(Y)",
153
166
  expansionPanel: "折叠面板",
154
- expansionPanels: "折叠面板(s)",
155
167
  extraData: "附加数据",
156
168
  fade: "淡入淡出",
157
169
  false: "假",
@@ -220,6 +232,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
220
232
  isDirty: "是否脏",
221
233
  isFocused: "是否聚集",
222
234
  isHovering: "是否悬浮",
235
+ isSelected: "是否选中",
223
236
  isValid: "是否有效",
224
237
  italic: "斜体",
225
238
  item: "项目",
@@ -328,7 +341,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
328
341
  prependIcon: "前置图标",
329
342
  prependInner: "前置内部",
330
343
  prependInnerIcon: "前置内部图标",
331
- previous: "前一个",
344
+ prev: "前一个",
332
345
  primary: "首要",
333
346
  progressCircular: "进度(环形)",
334
347
  progressLinear: "进度(线性)",
@@ -466,6 +479,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
466
479
  titleLarge: "标题(大)",
467
480
  titleMedium: "标题(中)",
468
481
  titleSmall: "标题(小)",
482
+ toggle: "切换",
469
483
  tonal: "色调",
470
484
  tooltip: "提示",
471
485
  top: "顶",
@@ -478,6 +492,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
478
492
  trackColor: "轨道颜色",
479
493
  trackFillColor: "轨道填充颜色",
480
494
  transform: "变换",
495
+ transition: "过渡",
481
496
  triggerOpen: "触发打开",
482
497
  true: "真",
483
498
  truncate: "截断",
@@ -496,8 +511,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
496
511
  weight: "重量",
497
512
  width: "宽度",
498
513
  widthSegments: "宽度分段(s)",
499
- window: "窗口",
500
- windowItem: "窗口项目",
514
+ windows: "窗口(s)",
501
515
  wrap: "换行",
502
516
  x: "X",
503
517
  xAxis: "x轴",
package/dist/index.d.ts CHANGED
@@ -11,12 +11,10 @@ import { Type } from 'x-essential-lib';
11
11
  import { VNode } from 'vue';
12
12
  import { WritableComputedRef } from 'vue';
13
13
 
14
- export declare interface ActivatorContext {
15
- props?: Record<string, any>;
16
- }
17
-
18
14
  export declare function addIndent(code: string, spaces?: number): string;
19
15
 
16
+ export declare function addUnique(items: string[], item: string): void;
17
+
20
18
  export declare function applyBlockBind(state: BlockState, nodeIds?: {
21
19
  [alias: string]: string;
22
20
  }): void;
@@ -121,7 +119,7 @@ export declare function duplicateNodePair(src: NodePair): NodePair;
121
119
 
122
120
  export declare function duplicateNodePairs(srcs: NodePair[]): NodePair[];
123
121
 
124
- 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_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_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_panels_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_select_v1", "ui_sheet_v1", "ui_slider_v1", "ui_slide_group_v1", "ui_slide_group_item_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_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"];
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_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_sheet_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"];
125
123
 
126
124
  export declare interface ElementProps {
127
125
  nodeId: string;
@@ -249,6 +247,8 @@ export declare function injectNodeLite(): Ref<NodeLite> | undefined;
249
247
 
250
248
  export declare function injectOrg(): string;
251
249
 
250
+ export declare function injectRadioGroupProps(): RadioGroupProps | undefined;
251
+
252
252
  export declare function injectRuntime(): QuickJSRuntime;
253
253
 
254
254
  export declare function injectSandbox(): Sandbox | undefined;
@@ -285,7 +285,7 @@ export declare function isRenderSwitch(key: string): boolean;
285
285
 
286
286
  export declare function isThemeColor(v: unknown): boolean;
287
287
 
288
- export declare const itemsKeys: readonly ["alignTabsV1", "axisTypeV1", "borderStyleV1", "btnSpacedV1", "btnTypeV1", "densityV1", "directionV1", "expansionPanelVariantV1", "fieldVariantV1", "flexCrossAlignV1", "flexDirectionV1", "flexMainAlignV1", "flexWrapV1", "fontWeightV1", "inputTypeV1", "linesV1", "numberInputControlVariantV1", "positionV1", "sheetVariantV1", "sizeV1", "speedDialOpenWayV1", "textAlignV1", "textDecorationV1", "textEmphasisV1", "textSizeV1", "textTypeV1", "thumbLabelV1", "tickShowV1", "timelineAlignV1", "timelineDirectionV1", "timelineSideV1", "timelineTruncateLineV1", "transitionV1"];
288
+ export declare const itemsKeys: readonly ["alignTabsV1", "axisTypeV1", "borderStyleV1", "btnSpacedV1", "btnTypeV1", "columnsV1", "densityV1", "directionV1", "expansionPanelVariantV1", "fieldVariantV1", "flexCrossAlignV1", "flexDirectionV1", "flexMainAlignV1", "flexWrapV1", "fontWeightV1", "inputTypeV1", "linesV1", "numberInputControlVariantV1", "positionV1", "sheetVariantV1", "sizeV1", "speedDialOpenWayV1", "textAlignV1", "textDecorationV1", "textEmphasisV1", "textSizeV1", "textTypeV1", "thumbLabelV1", "tickShowV1", "timelineAlignV1", "timelineDirectionV1", "timelineSideV1", "timelineTruncateLineV1", "transitionV1"];
289
289
 
290
290
  export declare function loadLocaleMessageRuntime(locale: string): Promise<object>;
291
291
 
@@ -460,6 +460,8 @@ export declare function provideNodeLite(nodeLite: Ref<NodeLite>): void;
460
460
 
461
461
  export declare function provideOrg(org: string): void;
462
462
 
463
+ export declare function provideRadioGroupProps(radioGroupProps: RadioGroupProps): void;
464
+
463
465
  export declare function provideRuntime(runtime: QuickJSRuntime): void;
464
466
 
465
467
  export declare function provideSandbox(sandbox: Sandbox): void;
@@ -470,6 +472,11 @@ export declare function provideTransients(transients: Reactive<Transients>): voi
470
472
 
471
473
  export declare function provideType(type: 'page' | 'comp'): void;
472
474
 
475
+ declare interface RadioGroupProps {
476
+ disabled: ComputedRef<any>;
477
+ readonly: ComputedRef<any>;
478
+ }
479
+
473
480
  export declare interface Reactivity {
474
481
  watchEffect: {
475
482
  ids: string[];