@farris/x-ui 0.6.3 → 0.6.5

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 (42) hide show
  1. package/assets/css/icons.css +1 -1
  2. package/assets/icon-preview.html +42 -3
  3. package/bubble/src/bubble.component.d.ts +3 -3
  4. package/calendar/index.d.ts +9 -0
  5. package/calendar/src/calendar.component.d.ts +22 -0
  6. package/calendar/src/calendar.props.d.ts +39 -0
  7. package/calendar/src/composition/calendar-date.d.ts +8 -0
  8. package/calendar/src/composition/calendar-lunar.d.ts +1 -0
  9. package/calendar/src/composition/calendar-swipe.d.ts +2 -0
  10. package/calendar/src/test/calendar.spec.d.ts +1 -0
  11. package/carousel/src/carousel.component.d.ts +4 -4
  12. package/carousel/src/components/carousel-item.component.d.ts +1 -1
  13. package/common/src/runtime-attachment-download.d.ts +19 -3
  14. package/components.d.ts +4 -0
  15. package/confirm-dialog/src/confirm-dialog.component.d.ts +3 -3
  16. package/credential-auth-dialog/src/credential-auth-dialog.component.d.ts +2 -2
  17. package/dialog-shell/src/dialog-shell.component.d.ts +3 -3
  18. package/empty-state/src/empty-state.component.d.ts +3 -3
  19. package/farris.x-ui.esm.js +26883 -16032
  20. package/farris.x-ui.umd.cjs +125 -125
  21. package/generate-process/src/generate-process.component.d.ts +6 -6
  22. package/hitl-question/src/hitl-question.component.d.ts +12 -1
  23. package/hitl-question/src/types.d.ts +2 -0
  24. package/image-preview/src/image-preview.component.d.ts +4 -4
  25. package/index.css +1 -1
  26. package/list-view/src/components/list-view-item.component.d.ts +2 -2
  27. package/list-view/src/list-view.component.d.ts +6 -6
  28. package/notify/index.d.ts +28 -0
  29. package/notify/src/components/toast.component.d.ts +13 -0
  30. package/notify/src/components/toast.props.d.ts +4 -0
  31. package/notify/src/notify-utils.d.ts +12 -0
  32. package/notify/src/notify.component.d.ts +16 -0
  33. package/notify/src/notify.props.d.ts +59 -0
  34. package/notify/src/notify.service.d.ts +21 -0
  35. package/notify/test/notify-utils.spec.d.ts +1 -0
  36. package/package.json +1 -1
  37. package/popover/src/popover.component.d.ts +9 -9
  38. package/search-box/src/search-box.component.d.ts +10 -10
  39. package/splitter/src/composition/types.d.ts +5 -0
  40. package/splitter/src/composition/use-collapse-pane.d.ts +10 -0
  41. package/splitter/test/splitter-pane.spec.d.ts +1 -0
  42. package/todo/src/todo.component.d.ts +1 -1
@@ -1,10 +1,10 @@
1
1
  declare const _default: import('../../../vue').DefineComponent<{
2
- progress: number;
3
2
  customClass: string | string[] | Record<string, boolean>;
3
+ progress: number;
4
+ visible: boolean;
4
5
  icon: string | import('../../../vue').VNode<import('../../../vue').RendererNode, import('../../../vue').RendererElement, {
5
6
  [key: string]: any;
6
7
  }>;
7
- visible: boolean;
8
8
  classNames: Record<import('../../../composition/type').AppearanceType, string | string[] | Record<string, boolean>>;
9
9
  customStyle: string | import('../../../vue').CSSProperties;
10
10
  styles: Record<import('../../../composition/type').AppearanceType, import('../../../vue').CSSProperties>;
@@ -13,12 +13,12 @@ declare const _default: import('../../../vue').DefineComponent<{
13
13
  [key: string]: any;
14
14
  }> | undefined;
15
15
  }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../../vue').ComponentOptionsMixin, import('../../../vue').ComponentOptionsMixin, {}, "closed", import('../../../vue').PublicProps, Readonly<{
16
- progress: number;
17
16
  customClass: string | string[] | Record<string, boolean>;
17
+ progress: number;
18
+ visible: boolean;
18
19
  icon: string | import('../../../vue').VNode<import('../../../vue').RendererNode, import('../../../vue').RendererElement, {
19
20
  [key: string]: any;
20
21
  }>;
21
- visible: boolean;
22
22
  classNames: Record<import('../../../composition/type').AppearanceType, string | string[] | Record<string, boolean>>;
23
23
  customStyle: string | import('../../../vue').CSSProperties;
24
24
  styles: Record<import('../../../composition/type').AppearanceType, import('../../../vue').CSSProperties>;
@@ -27,12 +27,12 @@ declare const _default: import('../../../vue').DefineComponent<{
27
27
  [key: string]: any;
28
28
  }> | undefined;
29
29
  }> & Readonly<{}>, {
30
- progress: number;
31
30
  customClass: string | string[] | Record<string, boolean>;
31
+ progress: number;
32
+ visible: boolean;
32
33
  icon: string | import('../../../vue').VNode<import('../../../vue').RendererNode, import('../../../vue').RendererElement, {
33
34
  [key: string]: any;
34
35
  }>;
35
- visible: boolean;
36
36
  classNames: Record<import('../../../composition/type').AppearanceType, string | string[] | Record<string, boolean>>;
37
37
  customStyle: string | import('../../../vue').CSSProperties;
38
38
  styles: Record<import('../../../composition/type').AppearanceType, import('../../../vue').CSSProperties>;
@@ -54,6 +54,11 @@ declare const _default: import('../../../vue').DefineComponent<import('../../../
54
54
  }) => void>;
55
55
  default: undefined;
56
56
  };
57
+ /** 取消/终止交互回调:传入后卡片右上角出现 × 入口,二次确认后触发(宿主用于中断任务) */
58
+ onCancel: {
59
+ type: PropType<() => void>;
60
+ default: undefined;
61
+ };
57
62
  }>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('../../../vue').ComponentOptionsMixin, import('../../../vue').ComponentOptionsMixin, {}, string, import('../../../vue').PublicProps, Readonly<import('../../../vue').ExtractPropTypes<{
58
63
  content: {
59
64
  type: PropType<MessageContentHitlQuestion>;
@@ -107,9 +112,14 @@ declare const _default: import('../../../vue').DefineComponent<import('../../../
107
112
  }) => void>;
108
113
  default: undefined;
109
114
  };
115
+ /** 取消/终止交互回调:传入后卡片右上角出现 × 入口,二次确认后触发(宿主用于中断任务) */
116
+ onCancel: {
117
+ type: PropType<() => void>;
118
+ default: undefined;
119
+ };
110
120
  }>> & Readonly<{}>, {
111
- required: boolean;
112
121
  disabled: boolean;
122
+ required: boolean;
113
123
  teleportTo: string | HTMLElement;
114
124
  pinned: boolean;
115
125
  pinnedWidth: string;
@@ -123,5 +133,6 @@ declare const _default: import('../../../vue').DefineComponent<import('../../../
123
133
  questionId: string;
124
134
  answer: CredentialAuthAnswer;
125
135
  }) => void;
136
+ onCancel: () => void;
126
137
  }, {}, {}, {}, string, import('../../../vue').ComponentProvideOptions, true, {}, any>;
127
138
  export default _default;
@@ -10,6 +10,8 @@ export interface HitlQuestionOption {
10
10
  label: string;
11
11
  description?: string;
12
12
  preview?: string;
13
+ /** 为 true 时在选项标题旁展示「推荐」标记 */
14
+ recommended?: boolean;
13
15
  }
14
16
  export interface HitlQuestionField {
15
17
  name: string;
@@ -16,7 +16,7 @@ declare const _default: import('../../../vue').DefineComponent<import('../../../
16
16
  type: NumberConstructor;
17
17
  default: number;
18
18
  };
19
- }>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('../../../vue').ComponentOptionsMixin, import('../../../vue').ComponentOptionsMixin, ("close" | "update:modelValue")[], "close" | "update:modelValue", import('../../../vue').PublicProps, Readonly<import('../../../vue').ExtractPropTypes<{
19
+ }>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('../../../vue').ComponentOptionsMixin, import('../../../vue').ComponentOptionsMixin, ("update:modelValue" | "close")[], "update:modelValue" | "close", import('../../../vue').PublicProps, Readonly<import('../../../vue').ExtractPropTypes<{
20
20
  modelValue: {
21
21
  type: BooleanConstructor;
22
22
  default: boolean;
@@ -34,12 +34,12 @@ declare const _default: import('../../../vue').DefineComponent<import('../../../
34
34
  default: number;
35
35
  };
36
36
  }>> & Readonly<{
37
- onClose?: ((...args: any[]) => any) | undefined;
38
37
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
38
+ onClose?: ((...args: any[]) => any) | undefined;
39
39
  }>, {
40
+ modelValue: boolean;
41
+ name: string;
40
42
  src: string;
41
43
  zIndex: number;
42
- name: string;
43
- modelValue: boolean;
44
44
  }, {}, {}, {}, string, import('../../../vue').ComponentProvideOptions, true, {}, any>;
45
45
  export default _default;