@squirrel-cloud/ui-vue 0.2.35 → 0.2.37

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 (51) hide show
  1. package/dist/components/message/message.d.ts +2 -2
  2. package/dist/index.d.ts +2 -2
  3. package/dist/props/alert/alert.d.ts +1 -1
  4. package/dist/props/avatar/avatar.d.ts +1 -1
  5. package/dist/props/button/button.d.ts +1 -1
  6. package/dist/props/form/form.d.ts +1 -1
  7. package/dist/props/index.d.ts +1 -0
  8. package/dist/props/input/input.d.ts +1 -1
  9. package/dist/props/message/index.d.ts +1 -0
  10. package/dist/props/message/message.d.ts +34 -0
  11. package/dist/props/pagination/pagination-btn.d.ts +1 -1
  12. package/dist/props/pagination/pagination-pager.d.ts +1 -1
  13. package/dist/props/pagination/pagination.d.ts +1 -1
  14. package/dist/props/popover/popover.d.ts +1 -1
  15. package/dist/props/progress/progress.d.ts +1 -1
  16. package/dist/props/tag/check-tag.d.ts +1 -1
  17. package/dist/props/tag/tag.d.ts +1 -1
  18. package/dist/props/text/text.d.ts +1 -1
  19. package/dist/props/textarea/textarea.d.ts +1 -1
  20. package/dist/props/timeline/timeline-item.d.ts +1 -1
  21. package/dist/props/timeline/timeline.d.ts +1 -1
  22. package/dist/squirrel-cloud-ui-vue.js +114 -111
  23. package/dist/squirrel-cloud-ui-vue.umd.cjs +1 -1
  24. package/{typings → dist/typings}/Form.d.ts +1 -1
  25. package/{typings → dist/typings}/Message.d.ts +1 -41
  26. package/package.json +5 -3
  27. /package/{typings → dist/typings}/Alignment.d.ts +0 -0
  28. /package/{typings → dist/typings}/ButtonType.d.ts +0 -0
  29. /package/{typings → dist/typings}/ComponentSize.d.ts +0 -0
  30. /package/{typings → dist/typings}/ComponentType.d.ts +0 -0
  31. /package/{typings → dist/typings}/InputMode.d.ts +0 -0
  32. /package/{typings → dist/typings}/InputType.d.ts +0 -0
  33. /package/{typings → dist/typings}/LineType.d.ts +0 -0
  34. /package/{typings → dist/typings}/MarkdownItPlugin.d.ts +0 -0
  35. /package/{typings → dist/typings}/MdNodeItem.d.ts +0 -0
  36. /package/{typings → dist/typings}/MessageQueueItem.d.ts +0 -0
  37. /package/{typings → dist/typings}/PaginationLayout.d.ts +0 -0
  38. /package/{typings → dist/typings}/PopoverPlacement.d.ts +0 -0
  39. /package/{typings → dist/typings}/PopoverTrigger.d.ts +0 -0
  40. /package/{typings → dist/typings}/ProgressTheme.d.ts +0 -0
  41. /package/{typings → dist/typings}/TagTheme.d.ts +0 -0
  42. /package/{typings → dist/typings}/TextareaResizeType.d.ts +0 -0
  43. /package/{typings → dist/typings}/TimelineTheme.d.ts +0 -0
  44. /package/{typings → dist/typings}/TriggerType.d.ts +0 -0
  45. /package/{typings → dist/typings}/contexts/ButtonGroupContext.d.ts +0 -0
  46. /package/{typings → dist/typings}/contexts/FormContext.d.ts +0 -0
  47. /package/{typings → dist/typings}/contexts/index.d.ts +0 -0
  48. /package/{typings → dist/typings}/index.d.ts +0 -0
  49. /package/{typings → dist/typings}/utils/Arrayable.d.ts +0 -0
  50. /package/{typings → dist/typings}/utils/Promiseable.d.ts +0 -0
  51. /package/{typings → dist/typings}/utils/index.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { MessageProps } from '../../../typings';
1
+ import { MessageProps } from '../../props';
2
2
  /**
3
3
  * 关闭消息提示
4
4
  */
@@ -6,7 +6,7 @@ declare function close(): void;
6
6
  declare const _default: import('vue').DefineComponent<MessageProps, {
7
7
  close: typeof close;
8
8
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MessageProps> & Readonly<{}>, {
9
- type: import('../../../typings').ComponentType;
9
+ type: import('../..').ComponentType;
10
10
  closeAfter: number;
11
11
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
12
  export default _default;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export * from './components';
2
- export * from './props';
3
- export type * from '../typings';
2
+ export type * from './props';
3
+ export type * from './typings';
@@ -1,5 +1,5 @@
1
1
  import { Component } from 'vue';
2
- import { ComponentType } from '../../../typings';
2
+ import { ComponentType } from '../../typings';
3
3
  /**
4
4
  * 提示属性
5
5
  */
@@ -1,4 +1,4 @@
1
- import { ComponentSize } from '../../../typings';
1
+ import { ComponentSize } from '../../typings';
2
2
  /**
3
3
  * 头像属性
4
4
  */
@@ -1,5 +1,5 @@
1
1
  import { Component } from 'vue';
2
- import { ButtonType, ComponentSize, ComponentType } from '../../../typings';
2
+ import { ButtonType, ComponentSize, ComponentType } from '../../typings';
3
3
  /**
4
4
  * 按钮属性
5
5
  */
@@ -1,4 +1,4 @@
1
- import { ComponentSize, FormConfig } from '../../../typings';
1
+ import { ComponentSize, FormConfig } from '../../typings';
2
2
  /**
3
3
  * 表单属性
4
4
  */
@@ -5,6 +5,7 @@ export * from './button';
5
5
  export * from './card';
6
6
  export * from './form';
7
7
  export * from './input';
8
+ export * from './message';
8
9
  export * from './pagination';
9
10
  export * from './popover';
10
11
  export * from './progress';
@@ -1,5 +1,5 @@
1
1
  import { Component } from 'vue';
2
- import { ComponentSize, ComponentTypeBase, InputMode, InputType } from '../../../typings';
2
+ import { ComponentSize, ComponentTypeBase, InputMode, InputType } from '../../typings';
3
3
  /**
4
4
  * 输入框属性
5
5
  */
@@ -0,0 +1 @@
1
+ export * from './message';
@@ -0,0 +1,34 @@
1
+ import { ComponentType } from '../../typings';
2
+ /**
3
+ * 消息提示配置项
4
+ */
5
+ export interface MessageProps {
6
+ /**
7
+ * 消息内容
8
+ */
9
+ message: string;
10
+ /**
11
+ * 消息类型
12
+ */
13
+ type: ComponentType;
14
+ /**
15
+ * 顶部间距
16
+ */
17
+ offsetTop: number;
18
+ /**
19
+ * 销毁回调
20
+ */
21
+ onDestroy: () => void;
22
+ /**
23
+ * 关闭回调
24
+ */
25
+ onClose: () => void;
26
+ /**
27
+ * 关闭时间延迟
28
+ */
29
+ closeAfter?: number;
30
+ /**
31
+ * 消息提示ID
32
+ */
33
+ id: string;
34
+ }
@@ -1,4 +1,4 @@
1
- import { ComponentSize } from '../../../typings';
1
+ import { ComponentSize } from '../../typings';
2
2
  /**
3
3
  * 分页器按钮属性
4
4
  */
@@ -1,4 +1,4 @@
1
- import { ComponentSize } from '../../../typings';
1
+ import { ComponentSize } from '../../typings';
2
2
  /**
3
3
  * 分页器页数选择器属性
4
4
  */
@@ -1,4 +1,4 @@
1
- import { ComponentSize, PaginationLayout } from '../../../typings';
1
+ import { ComponentSize, PaginationLayout } from '../../typings';
2
2
  /**
3
3
  * 分页器属性
4
4
  */
@@ -1,4 +1,4 @@
1
- import { PopoverTrigger, PopoverPlacement } from '../../../typings';
1
+ import { PopoverTrigger, PopoverPlacement } from '../../typings';
2
2
  /**
3
3
  * 气泡框属性
4
4
  */
@@ -1,4 +1,4 @@
1
- import { ComponentType, ProgressTheme } from '../../../typings';
1
+ import { ComponentType, ProgressTheme } from '../../typings';
2
2
  /**
3
3
  * 进度条属性
4
4
  */
@@ -1,5 +1,5 @@
1
1
  import { TagProps } from '..';
2
- import { TagThemeBase } from '../../../typings';
2
+ import { TagThemeBase } from '../../typings';
3
3
  /**
4
4
  * 可选中标签属性
5
5
  */
@@ -1,4 +1,4 @@
1
- import { TagTheme, ComponentSize, ComponentType } from '../../../typings';
1
+ import { TagTheme, ComponentSize, ComponentType } from '../../typings';
2
2
  /**
3
3
  * 标签属性
4
4
  */
@@ -1,4 +1,4 @@
1
- import { ComponentSize } from '../../../typings';
1
+ import { ComponentSize } from '../../typings';
2
2
  /**
3
3
  * 文本属性
4
4
  */
@@ -1,4 +1,4 @@
1
- import { TextareaResizeType } from '../../../typings';
1
+ import { TextareaResizeType } from '../../typings';
2
2
  import { InputProps } from '..';
3
3
  /**
4
4
  * 排除属性
@@ -1,5 +1,5 @@
1
1
  import { Component } from 'vue';
2
- import { ComponentType, TimelineTheme } from '../../../typings';
2
+ import { ComponentType, TimelineTheme } from '../../typings';
3
3
  /**
4
4
  * 时间线项目属性
5
5
  */
@@ -1,4 +1,4 @@
1
- import { Alignment } from '../../../typings';
1
+ import { Alignment } from '../../typings';
2
2
  /**
3
3
  * 时间线属性
4
4
  */