x-runtime-lib 0.5.1 → 0.5.3

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.
@@ -0,0 +1,17 @@
1
+ import { BaseProps } from '../../../../types';
2
+ declare function __VLS_template(): {
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ attrs: Partial<{}>;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ 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>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
+ export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -1,6 +1,6 @@
1
1
  import { CSSProperties } from 'vue';
2
2
  import { BaseProps } from '../../../types';
3
- export declare function useBorder(props: BaseProps): {
3
+ export declare function useBorderV1(props: BaseProps): {
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
1
  import { CSSProperties } from 'vue';
2
2
  import { BaseProps } from '../../../types';
3
- export declare function useMargin(props: BaseProps): {
3
+ export declare function useMarginV1(props: BaseProps): {
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
1
  import { CSSProperties } from 'vue';
2
2
  import { BaseProps } from '../../../types';
3
- export declare function usePadding(props: BaseProps): {
3
+ export declare function usePaddingV1(props: BaseProps): {
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
1
  import { CSSProperties, Ref } from 'vue';
2
2
  import { BaseProps, Mode } from '../../../types';
3
- export declare function useSize(mode: Mode, device: Ref<any>, props: BaseProps): {
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>;
6
6
  maxWidth: import("vue").ComputedRef<any>;
@@ -0,0 +1,4 @@
1
+ export declare const keyBtnV1 = "btn_v1";
2
+ export declare const keyContainerV1 = "container_v1";
3
+ export declare const keyGlobalityV1 = "globality_v1";
4
+ export declare const keyRefV1 = "ref_v1";
@@ -0,0 +1,3 @@
1
+ import { ZProp } from '../../../../../types';
2
+ declare const marginV1: ZProp;
3
+ export default marginV1;
@@ -0,0 +1,3 @@
1
+ import { ZProp } from '../../../../../types';
2
+ declare const paddingV1: ZProp;
3
+ export default paddingV1;
@@ -0,0 +1,3 @@
1
+ import { ZProp } from '../../../../../types';
2
+ declare const sizeV1: ZProp;
3
+ export default sizeV1;
@@ -0,0 +1,3 @@
1
+ import { ZElement } from '../../../../types';
2
+ declare const element: ZElement;
3
+ export default element;
@@ -1,3 +1,3 @@
1
- export * from './_pkgs';
2
1
  import { ZElements } from '../types';
3
2
  export declare const elements: ZElements;
3
+ export * from './_pkgs';
@@ -5,12 +5,15 @@ const t = {
5
5
  backgroundColor: "Background Color",
6
6
  basic: "Basic",
7
7
  block: "Block",
8
+ bottom: "Bottom",
8
9
  button: "Button",
9
10
  circularRef: "Circular Reference",
10
11
  click: "Click",
11
12
  comfortable: "Comfortable",
13
+ comp: "Comp",
12
14
  compNotAvail: "Comp Not Available",
13
15
  compact: "Compact",
16
+ container: "Container",
14
17
  default: "Default",
15
18
  density: "Density",
16
19
  disabled: "Disabled",
@@ -20,20 +23,25 @@ const t = {
20
23
  globalSettings: "Global Settings",
21
24
  height: "Height",
22
25
  id: "ID",
26
+ left: "Left",
27
+ margin: "Margin",
23
28
  maxHeight: "Max Height",
24
29
  maxWidth: "Max Width",
25
30
  minHeight: "Min Height",
26
31
  minWidth: "Min Width",
27
32
  name: "Name",
28
33
  outlined: "Outlined",
34
+ padding: "Padding",
29
35
  percent: "Percent",
30
36
  pixel: "Pixel",
31
37
  plain: "Plain",
32
38
  ref: "Reference",
39
+ right: "Right",
33
40
  settings: "Settings",
41
+ size: "Size",
34
42
  text: "Text",
35
43
  tonal: "Tonal",
36
- unset: "Unset",
44
+ top: "Top",
37
45
  variant: "Variant",
38
46
  width: "Width"
39
47
  }
@@ -5,12 +5,15 @@ const t = {
5
5
  backgroundColor: "背景颜色",
6
6
  basic: "基本",
7
7
  block: "块",
8
+ bottom: "底部",
8
9
  button: "按钮",
9
10
  circularRef: "循环引用",
10
11
  click: "单击",
11
12
  comfortable: "舒适",
13
+ comp: "组件",
12
14
  compNotAvail: "组件不可用",
13
15
  compact: "紧凑",
16
+ container: "容器",
14
17
  default: "缺省",
15
18
  density: "密度",
16
19
  disabled: "禁用",
@@ -20,20 +23,25 @@ const t = {
20
23
  globalSettings: "全局设置",
21
24
  height: "高度",
22
25
  id: "ID",
26
+ left: "左边",
27
+ margin: "外边距",
23
28
  maxHeight: "最大高度",
24
29
  maxWidth: "最大宽度",
25
30
  minHeight: "最小高度",
26
31
  minWidth: "最小宽度",
27
32
  name: "名称",
28
33
  outlined: "轮廓",
34
+ padding: "内边距",
29
35
  percent: "百分比",
30
36
  pixel: "像素",
31
37
  plain: "朴素",
32
38
  ref: "引用",
39
+ right: "右边",
33
40
  settings: "设置",
41
+ size: "大小",
34
42
  text: "文本",
35
43
  tonal: "色调",
36
- unset: "未设置",
44
+ top: "顶部",
37
45
  variant: "变种",
38
46
  width: "宽度"
39
47
  }