index.d.ts 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. import type { ExtractPropTypes, PropType } from 'vue';
  2. import type { MouseEventHandler } from '../_util/EventInterface';
  3. export declare const pageHeaderProps: () => {
  4. backIcon: import("vue-types").VueTypeValidableDef<any>;
  5. prefixCls: StringConstructor;
  6. title: import("vue-types").VueTypeValidableDef<any>;
  7. subTitle: import("vue-types").VueTypeValidableDef<any>;
  8. breadcrumb: import("vue-types").VueTypeValidableDef<{
  9. [key: string]: any;
  10. }> & {
  11. default: () => {
  12. [key: string]: any;
  13. };
  14. };
  15. tags: import("vue-types").VueTypeValidableDef<any>;
  16. footer: import("vue-types").VueTypeValidableDef<any>;
  17. extra: import("vue-types").VueTypeValidableDef<any>;
  18. avatar: import("vue-types").VueTypeValidableDef<{
  19. [key: string]: any;
  20. }> & {
  21. default: () => {
  22. [key: string]: any;
  23. };
  24. };
  25. ghost: {
  26. type: BooleanConstructor;
  27. default: any;
  28. };
  29. onBack: PropType<MouseEventHandler>;
  30. };
  31. export declare type PageHeaderProps = Partial<ExtractPropTypes<ReturnType<typeof pageHeaderProps>>>;
  32. declare const _default: {
  33. new (...args: any[]): {
  34. $: import("vue").ComponentInternalInstance;
  35. $data: {};
  36. $props: Partial<{
  37. ghost: boolean;
  38. avatar: {
  39. [key: string]: any;
  40. };
  41. breadcrumb: {
  42. [key: string]: any;
  43. };
  44. }> & Omit<Readonly<ExtractPropTypes<{
  45. backIcon: import("vue-types").VueTypeValidableDef<any>;
  46. prefixCls: StringConstructor;
  47. title: import("vue-types").VueTypeValidableDef<any>;
  48. subTitle: import("vue-types").VueTypeValidableDef<any>;
  49. breadcrumb: import("vue-types").VueTypeValidableDef<{
  50. [key: string]: any;
  51. }> & {
  52. default: () => {
  53. [key: string]: any;
  54. };
  55. };
  56. tags: import("vue-types").VueTypeValidableDef<any>;
  57. footer: import("vue-types").VueTypeValidableDef<any>;
  58. extra: import("vue-types").VueTypeValidableDef<any>;
  59. avatar: import("vue-types").VueTypeValidableDef<{
  60. [key: string]: any;
  61. }> & {
  62. default: () => {
  63. [key: string]: any;
  64. };
  65. };
  66. ghost: {
  67. type: BooleanConstructor;
  68. default: any;
  69. };
  70. onBack: PropType<MouseEventHandler>;
  71. }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "ghost" | "avatar" | "breadcrumb">;
  72. $attrs: {
  73. [x: string]: unknown;
  74. };
  75. $refs: {
  76. [x: string]: unknown;
  77. };
  78. $slots: Readonly<{
  79. [name: string]: import("vue").Slot;
  80. }>;
  81. $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
  82. $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
  83. $emit: (event: string, ...args: any[]) => void;
  84. $el: any;
  85. $options: import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
  86. backIcon: import("vue-types").VueTypeValidableDef<any>;
  87. prefixCls: StringConstructor;
  88. title: import("vue-types").VueTypeValidableDef<any>;
  89. subTitle: import("vue-types").VueTypeValidableDef<any>;
  90. breadcrumb: import("vue-types").VueTypeValidableDef<{
  91. [key: string]: any;
  92. }> & {
  93. default: () => {
  94. [key: string]: any;
  95. };
  96. };
  97. tags: import("vue-types").VueTypeValidableDef<any>;
  98. footer: import("vue-types").VueTypeValidableDef<any>;
  99. extra: import("vue-types").VueTypeValidableDef<any>;
  100. avatar: import("vue-types").VueTypeValidableDef<{
  101. [key: string]: any;
  102. }> & {
  103. default: () => {
  104. [key: string]: any;
  105. };
  106. };
  107. ghost: {
  108. type: BooleanConstructor;
  109. default: any;
  110. };
  111. onBack: PropType<MouseEventHandler>;
  112. }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
  113. ghost: boolean;
  114. avatar: {
  115. [key: string]: any;
  116. };
  117. breadcrumb: {
  118. [key: string]: any;
  119. };
  120. }> & {
  121. beforeCreate?: (() => void) | (() => void)[];
  122. created?: (() => void) | (() => void)[];
  123. beforeMount?: (() => void) | (() => void)[];
  124. mounted?: (() => void) | (() => void)[];
  125. beforeUpdate?: (() => void) | (() => void)[];
  126. updated?: (() => void) | (() => void)[];
  127. activated?: (() => void) | (() => void)[];
  128. deactivated?: (() => void) | (() => void)[];
  129. beforeDestroy?: (() => void) | (() => void)[];
  130. beforeUnmount?: (() => void) | (() => void)[];
  131. destroyed?: (() => void) | (() => void)[];
  132. unmounted?: (() => void) | (() => void)[];
  133. renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
  134. renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
  135. errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
  136. };
  137. $forceUpdate: () => void;
  138. $nextTick: typeof import("vue").nextTick;
  139. $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
  140. } & Readonly<ExtractPropTypes<{
  141. backIcon: import("vue-types").VueTypeValidableDef<any>;
  142. prefixCls: StringConstructor;
  143. title: import("vue-types").VueTypeValidableDef<any>;
  144. subTitle: import("vue-types").VueTypeValidableDef<any>;
  145. breadcrumb: import("vue-types").VueTypeValidableDef<{
  146. [key: string]: any;
  147. }> & {
  148. default: () => {
  149. [key: string]: any;
  150. };
  151. };
  152. tags: import("vue-types").VueTypeValidableDef<any>;
  153. footer: import("vue-types").VueTypeValidableDef<any>;
  154. extra: import("vue-types").VueTypeValidableDef<any>;
  155. avatar: import("vue-types").VueTypeValidableDef<{
  156. [key: string]: any;
  157. }> & {
  158. default: () => {
  159. [key: string]: any;
  160. };
  161. };
  162. ghost: {
  163. type: BooleanConstructor;
  164. default: any;
  165. };
  166. onBack: PropType<MouseEventHandler>;
  167. }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties;
  168. __isFragment?: never;
  169. __isTeleport?: never;
  170. __isSuspense?: never;
  171. } & import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
  172. backIcon: import("vue-types").VueTypeValidableDef<any>;
  173. prefixCls: StringConstructor;
  174. title: import("vue-types").VueTypeValidableDef<any>;
  175. subTitle: import("vue-types").VueTypeValidableDef<any>;
  176. breadcrumb: import("vue-types").VueTypeValidableDef<{
  177. [key: string]: any;
  178. }> & {
  179. default: () => {
  180. [key: string]: any;
  181. };
  182. };
  183. tags: import("vue-types").VueTypeValidableDef<any>;
  184. footer: import("vue-types").VueTypeValidableDef<any>;
  185. extra: import("vue-types").VueTypeValidableDef<any>;
  186. avatar: import("vue-types").VueTypeValidableDef<{
  187. [key: string]: any;
  188. }> & {
  189. default: () => {
  190. [key: string]: any;
  191. };
  192. };
  193. ghost: {
  194. type: BooleanConstructor;
  195. default: any;
  196. };
  197. onBack: PropType<MouseEventHandler>;
  198. }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
  199. ghost: boolean;
  200. avatar: {
  201. [key: string]: any;
  202. };
  203. breadcrumb: {
  204. [key: string]: any;
  205. };
  206. }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
  207. export default _default;