x-runtime-lib 0.5.39 → 0.6.1

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 (31) hide show
  1. package/dist/components/element/barChart/v1/index.vue.d.ts +3 -0
  2. package/dist/components/element/card/v1/index.vue.d.ts +8 -11
  3. package/dist/components/element/container/v1/index.vue.d.ts +13 -12
  4. package/dist/components/element/dialog/v1/index.vue.d.ts +15 -11
  5. package/dist/composables/element/basic/{borderV1.d.ts → border/v1/index.d.ts} +1 -1
  6. package/dist/composables/element/basic/{marginV1.d.ts → margin/v1/index.d.ts} +1 -1
  7. package/dist/composables/element/basic/{paddingV1.d.ts → padding/v1/index.d.ts} +1 -1
  8. package/dist/composables/element/basic/{sizeV1.d.ts → size/v1/index.d.ts} +1 -1
  9. package/dist/composables/element/chart/legend/v1/index.d.ts +7 -0
  10. package/dist/composables/element/chart/title/v1/index.d.ts +8 -0
  11. package/dist/composables/element/common/echarts.d.ts +4 -0
  12. package/dist/composables/element/index.d.ts +8 -0
  13. package/dist/echarts/index.d.ts +6 -0
  14. package/dist/echarts-d1cinmqx.js +21641 -0
  15. package/dist/element/_common/items/index.d.ts +3 -0
  16. package/dist/element/_common/keys.d.ts +1 -0
  17. package/dist/element/_common/props/border/v1/index.d.ts +1 -2
  18. package/dist/element/_common/props/index.d.ts +5 -0
  19. package/dist/element/_common/props/margin/v1/index.d.ts +1 -2
  20. package/dist/element/_common/props/padding/v1/index.d.ts +1 -2
  21. package/dist/element/_common/props/size/v1/index.d.ts +1 -2
  22. package/dist/element/_common/types/index.d.ts +4 -0
  23. package/dist/element/chart/_common/props/title/v1/index.d.ts +2 -0
  24. package/dist/element/chart/_common/props/xAxis/v1/index.d.ts +2 -0
  25. package/dist/element/chart/_common/props/yAxis/v1/index.d.ts +2 -0
  26. package/dist/element/chart/barChart/v1/index.d.ts +3 -0
  27. package/dist/{i18n-en-ell9fdk3.js → i18n-en-gfjc7opo.js} +1 -0
  28. package/dist/{i18n-zhHans-eeguv06v.js → i18n-zhHans-n1biwdnr.js} +1 -0
  29. package/dist/index.js +5402 -5250
  30. package/package.json +23 -22
  31. package/dist/types/interpreter.d.ts +0 -7
@@ -0,0 +1,3 @@
1
+ import { BaseProps } from '../../../../types';
2
+ declare const _default: import("vue").DefineComponent<BaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BaseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
+ export default _default;
@@ -1,16 +1,13 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: any;
8
- };
9
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
1
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
2
+ declare var __VLS_6: {};
3
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
4
+ default?: (props: typeof __VLS_6) => any;
5
+ }>;
6
+ declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
7
  declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
8
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
9
  export default _default;
13
- type __VLS_WithTemplateSlots<T, S> = T & {
10
+ type __VLS_WithSlots<T, S> = T & {
14
11
  new (): {
15
12
  $slots: S;
16
13
  };
@@ -1,17 +1,18 @@
1
+ import { CSSProperties } from 'vue';
1
2
  import { BaseProps } from '../../../../types';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: HTMLDivElement;
9
- };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import("vue").DefineComponent<BaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BaseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
12
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
3
+ declare const style: import("vue").ComputedRef<CSSProperties>;
4
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
5
+ declare var __VLS_1: {};
6
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
7
+ default?: (props: typeof __VLS_1) => any;
8
+ }>;
9
+ declare const __VLS_self: import("vue").DefineComponent<BaseProps, {
10
+ style: typeof style;
11
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BaseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_component: import("vue").DefineComponent<BaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BaseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
14
  export default _default;
14
- type __VLS_WithTemplateSlots<T, S> = T & {
15
+ type __VLS_WithSlots<T, S> = T & {
15
16
  new (): {
16
17
  $slots: S;
17
18
  };
@@ -1,17 +1,21 @@
1
1
  import { BaseProps } from '../../../../types';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: any;
9
- };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
2
+ declare const mode: import("../../../../types").Mode;
3
+ declare const id: import("vue").ComputedRef<any>;
4
+ declare const open: import("vue").WritableComputedRef<boolean, boolean>;
5
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
6
+ declare var __VLS_6: {};
7
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
8
+ default?: (props: typeof __VLS_6) => any;
9
+ }>;
10
+ declare const __VLS_self: import("vue").DefineComponent<BaseProps, {
11
+ mode: typeof mode;
12
+ id: typeof id;
13
+ open: typeof open;
14
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BaseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
15
  declare const __VLS_component: import("vue").DefineComponent<BaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BaseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
17
  export default _default;
14
- type __VLS_WithTemplateSlots<T, S> = T & {
18
+ type __VLS_WithSlots<T, S> = T & {
15
19
  new (): {
16
20
  $slots: S;
17
21
  };
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from 'vue';
2
- import { BaseProps } from '../../../types';
2
+ import { BaseProps } from '../../../../../types';
3
3
  export declare function useBorderV1(props: BaseProps): {
4
4
  borderStyle: import("vue").ComputedRef<any>;
5
5
  borderWidth: import("vue").ComputedRef<any>;
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from 'vue';
2
- import { BaseProps } from '../../../types';
2
+ import { BaseProps } from '../../../../../types';
3
3
  export declare function useMarginV1(props: BaseProps): {
4
4
  marginTop: import("vue").ComputedRef<any>;
5
5
  marginLeft: import("vue").ComputedRef<any>;
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from 'vue';
2
- import { BaseProps } from '../../../types';
2
+ import { BaseProps } from '../../../../../types';
3
3
  export declare function usePaddingV1(props: BaseProps): {
4
4
  paddingTop: import("vue").ComputedRef<any>;
5
5
  paddingLeft: import("vue").ComputedRef<any>;
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties, Ref } from 'vue';
2
- import { BaseProps, Mode } from '../../../types';
2
+ import { BaseProps, Mode } from '../../../../../types';
3
3
  export declare function useSizeV1(mode: Mode, device: Ref<any>, props: BaseProps): {
4
4
  width: import("vue").ComputedRef<any>;
5
5
  minWidth: import("vue").ComputedRef<any>;
@@ -0,0 +1,7 @@
1
+ import { BaseProps } from '../../../../../types';
2
+ import { EChartsOption } from '../../../../../echarts';
3
+ export declare function useLegendV1(props: BaseProps): {
4
+ show: import("vue").ComputedRef<any>;
5
+ data: import("vue").ComputedRef<any>;
6
+ applyLegend: (option: EChartsOption) => void;
7
+ };
@@ -0,0 +1,8 @@
1
+ import { BaseProps } from '../../../../../types';
2
+ import { EChartsOption } from '../../../../../echarts';
3
+ export declare function useTitleV1(props: BaseProps): {
4
+ show: import("vue").ComputedRef<any>;
5
+ text: import("vue").ComputedRef<any>;
6
+ subtext: import("vue").ComputedRef<any>;
7
+ applyTitle: (option: EChartsOption) => void;
8
+ };
@@ -0,0 +1,4 @@
1
+ import echarts, { EChartsOption } from '../../../echarts';
2
+ export declare function useEcharts(dom: HTMLElement, option: EChartsOption, refreshOption: (inst: echarts.ECharts) => void): {
3
+ onResize: () => void;
4
+ };
@@ -0,0 +1,8 @@
1
+ export * from './basic/border/v1';
2
+ export * from './basic/margin/v1';
3
+ export * from './basic/padding/v1';
4
+ export * from './basic/size/v1';
5
+ export * from './chart/legend/v1';
6
+ export * from './chart/title/v1';
7
+ export * from './common/echarts';
8
+ export * from './common/method';
@@ -0,0 +1,6 @@
1
+ import * as echarts from 'echarts/core';
2
+ import type { ComposeOption } from 'echarts/core';
3
+ import type { TitleComponentOption, LegendComponentOption, TooltipComponentOption } from 'echarts/components';
4
+ import type { GraphSeriesOption } from 'echarts/charts';
5
+ export type EChartsOption = ComposeOption<TitleComponentOption | LegendComponentOption | TooltipComponentOption | GraphSeriesOption>;
6
+ export default echarts;