@squirrel-cloud/ui-vue 0.2.18 → 0.2.20

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,5 @@
1
+ import { AlertProps } from '../../props';
2
+ declare const _default: import('vue').DefineComponent<AlertProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AlertProps> & Readonly<{}>, {
3
+ type: import('../..').ComponentType;
4
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
5
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { default as SqAlert } from './alert';
2
+ export { SqAlert };
@@ -9,10 +9,10 @@ declare function __VLS_template(): {
9
9
  };
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
11
  declare const __VLS_component: import('vue').DefineComponent<BacktopProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BacktopProps> & Readonly<{}>, {
12
- progress: boolean;
13
- target: string;
14
12
  icon: import('vue').Component;
15
13
  transition: string;
14
+ target: string;
15
+ progress: boolean;
16
16
  visibilityHeight: number;
17
17
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
18
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,3 +1,4 @@
1
+ export * from './alert';
1
2
  export * from './article';
2
3
  export * from './backtop';
3
4
  export * from './button';
@@ -13,12 +13,12 @@ declare function __VLS_template(): {
13
13
  };
14
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
15
  declare const __VLS_component: import('vue').DefineComponent<ProgressProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProgressProps> & Readonly<{}>, {
16
- type: import('../..').ComponentType;
17
- label: boolean;
18
16
  stroke: number;
17
+ type: import('../..').ComponentType;
19
18
  min: number;
20
19
  max: number;
21
20
  theme: import('../..').ProgressTheme;
21
+ label: boolean;
22
22
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
23
23
  progressRef: HTMLDivElement;
24
24
  }, HTMLDivElement>;
@@ -14,9 +14,9 @@ declare const __VLS_component: import('vue').DefineComponent<CheckTagProps, {},
14
14
  onChange?: ((...args: any[]) => any) | undefined;
15
15
  }>, {
16
16
  type: import('../..').ComponentType;
17
- checked: boolean;
18
- size: import('../..').ComponentSize;
19
17
  theme: import('../..').TagThemeBase;
18
+ size: import('../..').ComponentSize;
19
+ checked: boolean;
20
20
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
21
21
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
22
  export default _default;
@@ -9,8 +9,8 @@ declare function __VLS_template(): {
9
9
  };
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
11
  declare const __VLS_component: import('vue').DefineComponent<TagProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TagProps> & Readonly<{}>, {
12
- size: import('../..').ComponentSize;
13
12
  theme: import('../..').TagTheme;
13
+ size: import('../..').ComponentSize;
14
14
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
15
15
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
16
  export default _default;
@@ -0,0 +1,23 @@
1
+ import { Component } from 'vue';
2
+ import { ComponentType } from '../../../typings';
3
+ /**
4
+ * 提示属性
5
+ */
6
+ export interface AlertProps {
7
+ /**
8
+ * 提示类型
9
+ */
10
+ type?: ComponentType;
11
+ /**
12
+ * 是否显示图标
13
+ */
14
+ showIcon?: boolean;
15
+ /**
16
+ * 提示图标
17
+ */
18
+ icon?: Component;
19
+ /**
20
+ * 提示内容
21
+ */
22
+ text: string;
23
+ }
@@ -0,0 +1 @@
1
+ export * from './alert';
@@ -1,3 +1,4 @@
1
+ export * from './alert';
1
2
  export * from './backtop';
2
3
  export * from './button';
3
4
  export * from './card';