x-runtime-lib 0.9.47 → 0.9.49

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.
@@ -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",
@@ -219,6 +232,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
219
232
  isDirty: "Is Dirty",
220
233
  isFocused: "Is Focused",
221
234
  isHovering: "Is Hovering",
235
+ isSelected: "Is Selected",
222
236
  isValid: "Is Valid",
223
237
  italic: "Italic",
224
238
  item: "Item",
@@ -327,7 +341,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
327
341
  prependIcon: "Prepend Icon",
328
342
  prependInner: "Prepend Inner",
329
343
  prependInnerIcon: "Prepend Inner Icon",
330
- previous: "Previous",
344
+ prev: "Previous",
331
345
  primary: "Primary",
332
346
  progressCircular: "Progress (Ciruclar)",
333
347
  progressLinear: "Progress (Linear)",
@@ -465,6 +479,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
465
479
  titleLarge: "Title Large",
466
480
  titleMedium: "Title Medium",
467
481
  titleSmall: "Title Small",
482
+ toggle: "Toggle",
468
483
  tonal: "Tonal",
469
484
  tooltip: "Tooltip",
470
485
  top: "Top",
@@ -477,6 +492,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
477
492
  trackColor: "Track Color",
478
493
  trackFillColor: "Track Fill Color",
479
494
  transform: "Transform",
495
+ transition: "Transition",
480
496
  triggerOpen: "Trigger Open",
481
497
  true: "True",
482
498
  truncate: "Truncate",
@@ -495,8 +511,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
495
511
  weight: "Weight",
496
512
  width: "Width",
497
513
  widthSegments: "Width Segments",
498
- window: "Window",
499
- windowItem: "Window Item",
514
+ windows: "Windows",
500
515
  wrap: "Wrap",
501
516
  x: "X",
502
517
  xAxis: "X Axis",
@@ -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)",
@@ -219,6 +232,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
219
232
  isDirty: "是否脏",
220
233
  isFocused: "是否聚集",
221
234
  isHovering: "是否悬浮",
235
+ isSelected: "是否选中",
222
236
  isValid: "是否有效",
223
237
  italic: "斜体",
224
238
  item: "项目",
@@ -327,7 +341,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
327
341
  prependIcon: "前置图标",
328
342
  prependInner: "前置内部",
329
343
  prependInnerIcon: "前置内部图标",
330
- previous: "前一个",
344
+ prev: "前一个",
331
345
  primary: "首要",
332
346
  progressCircular: "进度(环形)",
333
347
  progressLinear: "进度(线性)",
@@ -465,6 +479,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
465
479
  titleLarge: "标题(大)",
466
480
  titleMedium: "标题(中)",
467
481
  titleSmall: "标题(小)",
482
+ toggle: "切换",
468
483
  tonal: "色调",
469
484
  tooltip: "提示",
470
485
  top: "顶",
@@ -477,6 +492,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
477
492
  trackColor: "轨道颜色",
478
493
  trackFillColor: "轨道填充颜色",
479
494
  transform: "变换",
495
+ transition: "过渡",
480
496
  triggerOpen: "触发打开",
481
497
  true: "真",
482
498
  truncate: "截断",
@@ -495,8 +511,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
495
511
  weight: "重量",
496
512
  width: "宽度",
497
513
  widthSegments: "宽度分段(s)",
498
- window: "窗口",
499
- windowItem: "窗口项目",
514
+ windows: "窗口(s)",
500
515
  wrap: "换行",
501
516
  x: "X",
502
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_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_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[];