x-runtime-lib 0.8.102 → 0.8.103

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.
Files changed (94) hide show
  1. package/dist/components/element/3d/camera/orthographicCamera/v1/index.vue.d.ts +2 -2
  2. package/dist/components/element/3d/camera/perspectiveCamera/v1/index.vue.d.ts +2 -2
  3. package/dist/components/element/3d/geometry/boxGeometry/v1/index.vue.d.ts +2 -2
  4. package/dist/components/element/3d/geometry/sphereGeometry/v1/index.vue.d.ts +2 -2
  5. package/dist/components/element/3d/light/ambientLight/v1/index.vue.d.ts +2 -2
  6. package/dist/components/element/3d/light/directionalLight/v1/index.vue.d.ts +2 -2
  7. package/dist/components/element/3d/light/pointLight/v1/index.vue.d.ts +2 -2
  8. package/dist/components/element/3d/light/spotLight/v1/index.vue.d.ts +2 -2
  9. package/dist/components/element/3d/object/group/v1/index.vue.d.ts +2 -2
  10. package/dist/components/element/3d/object/mesh/v1/index.vue.d.ts +2 -2
  11. package/dist/components/element/chart/barChart/v1/index.vue.d.ts +2 -2
  12. package/dist/components/element/chart/lineChart/v1/index.vue.d.ts +2 -2
  13. package/dist/components/element/dynamic/multipleRef/v1/index.vue.d.ts +2 -2
  14. package/dist/components/element/dynamic/reference/v1/index.vue.d.ts +2 -2
  15. package/dist/components/element/dynamic/renderSwitch/v1/index.vue.d.ts +2 -2
  16. package/dist/components/element/dynamic/slot/v1/index.vue.d.ts +2 -7
  17. package/dist/components/element/regular/badge/v1/index.vue.d.ts +2 -2
  18. package/dist/components/element/regular/breadcrumbs/v1/index.vue.d.ts +2 -2
  19. package/dist/components/element/regular/btn/v1/index.vue.d.ts +2 -2
  20. package/dist/components/element/regular/btnToggle/v1/index.vue.d.ts +2 -2
  21. package/dist/components/element/regular/card/v1/index.vue.d.ts +2 -2
  22. package/dist/components/element/regular/checkbox/v1/index.vue.d.ts +2 -2
  23. package/dist/components/element/regular/chip/v1/index.vue.d.ts +2 -2
  24. package/dist/components/element/regular/chipGroup/v1/index.vue.d.ts +2 -2
  25. package/dist/components/element/regular/colorPicker/v1/index.vue.d.ts +2 -2
  26. package/dist/components/element/regular/combobox/v1/index.vue.d.ts +2 -2
  27. package/dist/components/element/regular/container/v1/index.vue.d.ts +2 -2
  28. package/dist/components/element/regular/dataTable/v1/index.vue.d.ts +2 -2
  29. package/dist/components/element/regular/dialog/v1/index.vue.d.ts +2 -2
  30. package/dist/components/element/regular/fileInput/v1/index.vue.d.ts +2 -2
  31. package/dist/components/element/regular/flexLayout/v1/index.vue.d.ts +2 -2
  32. package/dist/components/element/regular/flexLayoutEntry/v1/index.vue.d.ts +2 -2
  33. package/dist/components/element/regular/form/v1/index.vue.d.ts +2 -2
  34. package/dist/components/element/regular/icon/v1/index.vue.d.ts +2 -2
  35. package/dist/components/element/regular/menu/v1/index.vue.d.ts +2 -2
  36. package/dist/components/element/regular/numberInput/v1/index.vue.d.ts +2 -2
  37. package/dist/components/element/regular/pagination/v1/index.vue.d.ts +2 -2
  38. package/dist/components/element/regular/radio/v1/index.vue.d.ts +2 -2
  39. package/dist/components/element/regular/radioGroup/v1/index.vue.d.ts +2 -2
  40. package/dist/components/element/regular/rangeSlider/v1/index.vue.d.ts +2 -2
  41. package/dist/components/element/regular/rating/v1/index.vue.d.ts +2 -2
  42. package/dist/components/element/regular/select/v1/index.vue.d.ts +2 -2
  43. package/dist/components/element/regular/slider/v1/index.vue.d.ts +2 -2
  44. package/dist/components/element/regular/stepper/v1/index.vue.d.ts +2 -2
  45. package/dist/components/element/regular/stepperItem/v1/index.vue.d.ts +2 -2
  46. package/dist/components/element/regular/stepperWindowItem/v1/index.vue.d.ts +2 -2
  47. package/dist/components/element/regular/switch/v1/index.vue.d.ts +2 -2
  48. package/dist/components/element/regular/tab/v1/index.vue.d.ts +2 -2
  49. package/dist/components/element/regular/tabs/v1/index.vue.d.ts +2 -2
  50. package/dist/components/element/regular/text/v1/index.vue.d.ts +2 -2
  51. package/dist/components/element/regular/textField/v1/index.vue.d.ts +2 -2
  52. package/dist/components/element/regular/textarea/v1/index.vue.d.ts +2 -2
  53. package/dist/components/element/regular/timeline/v1/index.vue.d.ts +2 -2
  54. package/dist/components/element/regular/window/v1/index.vue.d.ts +2 -2
  55. package/dist/composables/core/elementBase.d.ts +4 -0
  56. package/dist/composables/core/elementMethod.d.ts +2 -2
  57. package/dist/composables/core/elementProperty.d.ts +4 -3
  58. package/dist/composables/core/index.d.ts +1 -0
  59. package/dist/composables/element/3d/transform/v1/index.d.ts +6 -5
  60. package/dist/composables/element/chart/legend/v1/index.d.ts +3 -2
  61. package/dist/composables/element/chart/series/v1/index.d.ts +3 -2
  62. package/dist/composables/element/chart/title/v1/index.d.ts +3 -2
  63. package/dist/composables/element/chart/xAxis/v1/index.d.ts +3 -2
  64. package/dist/composables/element/chart/yAxis/v1/index.d.ts +3 -2
  65. package/dist/composables/element/common/border/v1/index.d.ts +3 -3
  66. package/dist/composables/element/common/margin/v1/index.d.ts +3 -3
  67. package/dist/composables/element/common/padding/v1/index.d.ts +3 -3
  68. package/dist/composables/element/common/size/v1/index.d.ts +3 -3
  69. package/dist/element/3d/geometry/boxGeometry/v1/spawn.d.ts +2 -2
  70. package/dist/element/3d/geometry/sphereGeometry/v1/spawn.d.ts +2 -2
  71. package/dist/element/chart/barChart/v1/spawn.d.ts +2 -2
  72. package/dist/element/chart/lineChart/v1/spawn.d.ts +2 -2
  73. package/dist/element/regular/btn/v1/spawn.d.ts +2 -2
  74. package/dist/element/regular/card/v1/spawn.d.ts +2 -2
  75. package/dist/element/regular/chipGroup/v1/spawn.d.ts +2 -2
  76. package/dist/element/regular/flexLayout/v1/spawn.d.ts +2 -2
  77. package/dist/element/regular/form/v1/spawn.d.ts +2 -2
  78. package/dist/element/regular/numberInput/v1/spawn.d.ts +2 -2
  79. package/dist/element/regular/radioGroup/v1/spawn.d.ts +2 -2
  80. package/dist/element/regular/stepper/v1/spawn.d.ts +2 -2
  81. package/dist/element/regular/tabs/v1/spawn.d.ts +2 -2
  82. package/dist/element/regular/text/v1/spawn.d.ts +2 -2
  83. package/dist/element/regular/textarea/v1/spawn.d.ts +2 -2
  84. package/dist/element/regular/timeline/v1/spawn.d.ts +2 -2
  85. package/dist/element/regular/window/v1/spawn.d.ts +2 -2
  86. package/dist/index.js +3500 -3234
  87. package/dist/sandbox/sandbox/index.d.ts +3 -2
  88. package/dist/types/data.d.ts +21 -4
  89. package/dist/types/element.d.ts +2 -2
  90. package/dist/types/index.d.ts +1 -1
  91. package/dist/types/{comp.d.ts → props.d.ts} +3 -5
  92. package/dist/utils/node.d.ts +2 -2
  93. package/dist/utils/property.d.ts +2 -2
  94. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { BaseProps } from '@/types';
2
- declare const __VLS_export: import("vue").DefineComponent<BaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BaseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1
+ import { ElementProps } from '@/types';
2
+ declare const __VLS_export: import("vue").DefineComponent<ElementProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ElementProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
3
  declare const _default: typeof __VLS_export;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- import { BaseProps } from '@/types';
2
- declare const __VLS_export: import("vue").DefineComponent<BaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BaseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1
+ import { ElementProps } from '@/types';
2
+ declare const __VLS_export: import("vue").DefineComponent<ElementProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ElementProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
3
  declare const _default: typeof __VLS_export;
4
4
  export default _default;
@@ -1,9 +1,9 @@
1
- import { BaseProps } from '@/types';
1
+ import { ElementProps } from '@/types';
2
2
  declare var __VLS_8: {};
3
3
  type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_8) => any;
5
5
  };
6
- declare const __VLS_base: import("vue").DefineComponent<BaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BaseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
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>;
8
8
  declare const _default: typeof __VLS_export;
9
9
  export default _default;
@@ -1,9 +1,9 @@
1
- import { BaseProps } from '@/types';
1
+ import { ElementProps } from '@/types';
2
2
  declare var __VLS_8: {};
3
3
  type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_8) => any;
5
5
  };
6
- declare const __VLS_base: import("vue").DefineComponent<BaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BaseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
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>;
8
8
  declare const _default: typeof __VLS_export;
9
9
  export default _default;
@@ -0,0 +1,4 @@
1
+ import { ElementProps } from '@/types';
2
+ export declare function useElementBase(props: ElementProps): {
3
+ node: import("vue").Ref<import("@/types").Node, import("@/types").Node>;
4
+ };
@@ -1,4 +1,4 @@
1
- import { BaseProps } from '@/types';
1
+ import { ElementProps } from '@/types';
2
2
  interface Params {
3
3
  inputs: {
4
4
  [key: string]: any;
@@ -7,5 +7,5 @@ interface Params {
7
7
  [key: string]: any;
8
8
  };
9
9
  }
10
- export declare function useElementMethod(props: BaseProps, methodKey: string, hook: (params: Params) => void): void;
10
+ export declare function useElementMethod(props: ElementProps, methodKey: string, hook: (params: Params) => void): void;
11
11
  export {};
@@ -1,4 +1,5 @@
1
- import { BaseProps } from '@/types';
2
- export declare function useElementProperty(props: BaseProps, keys: string[], json?: boolean): {
3
- property: import("vue").Ref<any, any>;
1
+ import { Ref } from 'vue';
2
+ import { Node } from '@/types';
3
+ export declare function useElementProperty(node: Ref<Node>, keys: string[], json?: boolean): {
4
+ property: Ref<any, any>;
4
5
  };
@@ -1,3 +1,4 @@
1
+ export * from './elementBase';
1
2
  export * from './elementMethod';
2
3
  export * from './elementProperty';
3
4
  export * from './theme';
@@ -1,6 +1,7 @@
1
- import { BaseProps } from '@/types';
2
- export declare function useTransformV1(props: BaseProps): {
3
- position: import("vue").Ref<[number, number, number], [number, number, number]>;
4
- rotation: import("vue").Ref<[number, number, number], [number, number, number]>;
5
- scale: import("vue").Ref<[number, number, number], [number, number, number]>;
1
+ import { Ref } from 'vue';
2
+ import { Node } from '@/types';
3
+ export declare function useTransformV1(node: Ref<Node>): {
4
+ position: Ref<[number, number, number], [number, number, number]>;
5
+ rotation: Ref<[number, number, number], [number, number, number]>;
6
+ scale: Ref<[number, number, number], [number, number, number]>;
6
7
  };
@@ -1,6 +1,7 @@
1
- import { BaseProps } from '@/types';
1
+ import { Ref } from 'vue';
2
+ import { Node } from '@/types';
2
3
  import { EChartsOption } from '@/echarts';
3
- export declare function useLegendV1(props: BaseProps): {
4
+ export declare function useLegendV1(node: Ref<Node>): {
4
5
  show: import("vue").ComputedRef<any>;
5
6
  data: import("vue").ComputedRef<any>;
6
7
  applyLegend: (option: EChartsOption) => void;
@@ -1,6 +1,7 @@
1
+ import { Ref } from 'vue';
1
2
  import { EChartsOption } from '@/echarts';
2
- import { BaseProps } from '@/types';
3
- export declare function useSeriesV1(props: BaseProps): {
3
+ import { Node } from '@/types';
4
+ export declare function useSeriesV1(node: Ref<Node>): {
4
5
  series: import("vue").ComputedRef<any>;
5
6
  applySeries: (option: EChartsOption) => void;
6
7
  };
@@ -1,6 +1,7 @@
1
+ import { Ref } from 'vue';
1
2
  import { EChartsOption } from '@/echarts';
2
- import { BaseProps } from '@/types';
3
- export declare function useTitleV1(props: BaseProps): {
3
+ import { Node } from '@/types';
4
+ export declare function useTitleV1(node: Ref<Node>): {
4
5
  show: import("vue").ComputedRef<any>;
5
6
  text: import("vue").ComputedRef<any>;
6
7
  subtext: import("vue").ComputedRef<any>;
@@ -1,6 +1,7 @@
1
+ import { Ref } from 'vue';
1
2
  import { EChartsOption } from '@/echarts';
2
- import { BaseProps } from '@/types';
3
- export declare function useXAxisV1(props: BaseProps): {
3
+ import { Node } from '@/types';
4
+ export declare function useXAxisV1(node: Ref<Node>): {
4
5
  show: import("vue").ComputedRef<any>;
5
6
  position: import("vue").ComputedRef<any>;
6
7
  type: import("vue").ComputedRef<any>;
@@ -1,6 +1,7 @@
1
+ import { Ref } from 'vue';
1
2
  import { EChartsOption } from '@/echarts';
2
- import { BaseProps } from '@/types';
3
- export declare function useYAxisV1(props: BaseProps): {
3
+ import { Node } from '@/types';
4
+ export declare function useYAxisV1(node: Ref<Node>): {
4
5
  show: import("vue").ComputedRef<any>;
5
6
  position: import("vue").ComputedRef<any>;
6
7
  type: import("vue").ComputedRef<any>;
@@ -1,6 +1,6 @@
1
- import { CSSProperties } from 'vue';
2
- import { BaseProps } from '@/types';
3
- export declare function useBorderV1(props: BaseProps): {
1
+ import { CSSProperties, Ref } from 'vue';
2
+ import { Node } from '@/types';
3
+ export declare function useBorderV1(node: Ref<Node>): {
4
4
  borderStyle: import("vue").ComputedRef<any>;
5
5
  borderWidth: import("vue").ComputedRef<any>;
6
6
  borderColor: import("vue").ComputedRef<any>;
@@ -1,6 +1,6 @@
1
- import { CSSProperties } from 'vue';
2
- import { BaseProps } from '@/types';
3
- export declare function useMarginV1(props: BaseProps): {
1
+ import { CSSProperties, Ref } from 'vue';
2
+ import { Node } from '@/types';
3
+ export declare function useMarginV1(node: Ref<Node>): {
4
4
  marginTop: import("vue").ComputedRef<any>;
5
5
  marginLeft: import("vue").ComputedRef<any>;
6
6
  marginBottom: import("vue").ComputedRef<any>;
@@ -1,6 +1,6 @@
1
- import { CSSProperties } from 'vue';
2
- import { BaseProps } from '@/types';
3
- export declare function usePaddingV1(props: BaseProps): {
1
+ import { CSSProperties, Ref } from 'vue';
2
+ import { Node } from '@/types';
3
+ export declare function usePaddingV1(node: Ref<Node>): {
4
4
  paddingTop: import("vue").ComputedRef<any>;
5
5
  paddingLeft: import("vue").ComputedRef<any>;
6
6
  paddingBottom: import("vue").ComputedRef<any>;
@@ -1,6 +1,6 @@
1
- import { CSSProperties } from 'vue';
2
- import { BaseProps } from '@/types';
3
- export declare function useSizeV1(props: BaseProps): {
1
+ import { CSSProperties, Ref } from 'vue';
2
+ import { ElementProps, Node } from '@/types';
3
+ export declare function useSizeV1(props: ElementProps, node: Ref<Node>): {
4
4
  width: import("vue").ComputedRef<any>;
5
5
  minWidth: import("vue").ComputedRef<any>;
6
6
  maxWidth: import("vue").ComputedRef<any>;
@@ -1,2 +1,2 @@
1
- import { Node } from '@/types';
2
- export declare function spawn(type: string, subtype: string): Node | undefined;
1
+ import { SpawnedNode } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): SpawnedNode | undefined;
@@ -1,2 +1,2 @@
1
- import { Node } from '@/types';
2
- export declare function spawn(type: string, subtype: string): Node | undefined;
1
+ import { SpawnedNode } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): SpawnedNode | undefined;
@@ -1,2 +1,2 @@
1
- import { Node } from '@/types';
2
- export declare function spawn(type: string, subtype: string): Node | undefined;
1
+ import { SpawnedNode } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): SpawnedNode | undefined;
@@ -1,2 +1,2 @@
1
- import { Node } from '@/types';
2
- export declare function spawn(type: string, subtype: string): Node | undefined;
1
+ import { SpawnedNode } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): SpawnedNode | undefined;
@@ -1,2 +1,2 @@
1
- import { Node } from '@/types';
2
- export declare function spawn(type: string, subtype: string): Node | undefined;
1
+ import { SpawnedNode } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): SpawnedNode | undefined;
@@ -1,2 +1,2 @@
1
- import { Node } from '@/types';
2
- export declare function spawn(type: string, subtype: string): Node | undefined;
1
+ import { SpawnedNode } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): SpawnedNode | undefined;
@@ -1,2 +1,2 @@
1
- import { Node } from '@/types';
2
- export declare function spawn(type: string, subtype: string): Node | undefined;
1
+ import { SpawnedNode } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): SpawnedNode | undefined;
@@ -1,2 +1,2 @@
1
- import { Node } from '@/types';
2
- export declare function spawn(type: string, subtype: string): Node | undefined;
1
+ import { SpawnedNode } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): SpawnedNode | undefined;
@@ -1,2 +1,2 @@
1
- import { Node } from '@/types';
2
- export declare function spawn(type: string, subtype: string): Node | undefined;
1
+ import { SpawnedNode } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): SpawnedNode | undefined;
@@ -1,2 +1,2 @@
1
- import { Node } from '@/types';
2
- export declare function spawn(type: string, subtype: string): Node | undefined;
1
+ import { SpawnedNode } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): SpawnedNode | undefined;
@@ -1,2 +1,2 @@
1
- import { Node } from '@/types';
2
- export declare function spawn(type: string, subtype: string): Node | undefined;
1
+ import { SpawnedNode } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): SpawnedNode | undefined;
@@ -1,2 +1,2 @@
1
- import { Node } from '@/types';
2
- export declare function spawn(type: string, subtype: string): Node | undefined;
1
+ import { SpawnedNode } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): SpawnedNode | undefined;
@@ -1,2 +1,2 @@
1
- import { Node } from '@/types';
2
- export declare function spawn(type: string, subtype: string): Node | undefined;
1
+ import { SpawnedNode } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): SpawnedNode | undefined;
@@ -1,2 +1,2 @@
1
- import { Node } from '@/types';
2
- export declare function spawn(type: string, subtype: string): Node | undefined;
1
+ import { SpawnedNode } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): SpawnedNode | undefined;
@@ -1,2 +1,2 @@
1
- import { Node } from '@/types';
2
- export declare function spawn(type: string, subtype: string): Node | undefined;
1
+ import { SpawnedNode } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): SpawnedNode | undefined;
@@ -1,2 +1,2 @@
1
- import { Node } from '@/types';
2
- export declare function spawn(type: string, subtype: string): Node | undefined;
1
+ import { SpawnedNode } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): SpawnedNode | undefined;
@@ -1,2 +1,2 @@
1
- import { Node } from '@/types';
2
- export declare function spawn(type: string, subtype: string): Node | undefined;
1
+ import { SpawnedNode } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): SpawnedNode | undefined;