@farris/x-ui 0.5.8 → 0.6.0

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.
@@ -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,7 +112,13 @@ 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<{}>, {
121
+ onCancel: () => void;
111
122
  required: boolean;
112
123
  disabled: boolean;
113
124
  teleportTo: string | HTMLElement;