iglooform 3.3.7 → 3.4.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.
Files changed (250) hide show
  1. package/.dumi/tmp/core/defineApp.ts +1 -1
  2. package/.dumi/tmp/core/helmet.ts +1 -1
  3. package/.dumi/tmp/core/history.ts +1 -1
  4. package/.dumi/tmp/core/historyIntelli.ts +1 -1
  5. package/.dumi/tmp/core/plugin.ts +2 -2
  6. package/.dumi/tmp/core/polyfill.ts +197 -197
  7. package/.dumi/tmp/core/route.tsx +33 -33
  8. package/.dumi/tmp/dumi/exports.ts +1 -1
  9. package/.dumi/tmp/dumi/locales/runtime.tsx +2 -2
  10. package/.dumi/tmp/dumi/meta/index.ts +33 -33
  11. package/.dumi/tmp/dumi/meta/runtime.ts +1 -1
  12. package/.dumi/tmp/dumi/theme/ContextWrapper.tsx +2 -2
  13. package/.dumi/tmp/dumi/theme/builtins/API.ts +1 -1
  14. package/.dumi/tmp/dumi/theme/builtins/Badge.ts +1 -1
  15. package/.dumi/tmp/dumi/theme/builtins/Container.ts +1 -1
  16. package/.dumi/tmp/dumi/theme/builtins/Previewer.ts +1 -1
  17. package/.dumi/tmp/dumi/theme/builtins/SourceCode.ts +1 -1
  18. package/.dumi/tmp/dumi/theme/builtins/Table.ts +1 -1
  19. package/.dumi/tmp/dumi/theme/builtins/Tree.ts +1 -1
  20. package/.dumi/tmp/dumi/theme/layouts/DocLayout.ts +1 -1
  21. package/.dumi/tmp/dumi/theme/loading.tsx +1 -1
  22. package/.dumi/tmp/dumi/theme/slots/ColorSwitch.ts +1 -1
  23. package/.dumi/tmp/dumi/theme/slots/Content.ts +1 -1
  24. package/.dumi/tmp/dumi/theme/slots/ContentFooter.ts +1 -1
  25. package/.dumi/tmp/dumi/theme/slots/ContentTabs.ts +1 -1
  26. package/.dumi/tmp/dumi/theme/slots/Features.ts +1 -1
  27. package/.dumi/tmp/dumi/theme/slots/Footer.ts +1 -1
  28. package/.dumi/tmp/dumi/theme/slots/Header.ts +1 -1
  29. package/.dumi/tmp/dumi/theme/slots/HeaderExtra.ts +1 -1
  30. package/.dumi/tmp/dumi/theme/slots/Hero.ts +1 -1
  31. package/.dumi/tmp/dumi/theme/slots/HeroTitle.ts +1 -1
  32. package/.dumi/tmp/dumi/theme/slots/LangSwitch.ts +1 -1
  33. package/.dumi/tmp/dumi/theme/slots/Logo.ts +1 -1
  34. package/.dumi/tmp/dumi/theme/slots/Navbar.ts +1 -1
  35. package/.dumi/tmp/dumi/theme/slots/NavbarExtra.ts +1 -1
  36. package/.dumi/tmp/dumi/theme/slots/NotFound.ts +1 -1
  37. package/.dumi/tmp/dumi/theme/slots/PreviewerActions.ts +1 -1
  38. package/.dumi/tmp/dumi/theme/slots/PreviewerActionsExtra.ts +1 -1
  39. package/.dumi/tmp/dumi/theme/slots/RtlSwitch.ts +1 -1
  40. package/.dumi/tmp/dumi/theme/slots/SearchBar.ts +2 -2
  41. package/.dumi/tmp/dumi/theme/slots/SearchResult.ts +1 -1
  42. package/.dumi/tmp/dumi/theme/slots/Sidebar.ts +1 -1
  43. package/.dumi/tmp/dumi/theme/slots/SocialIcon.ts +1 -1
  44. package/.dumi/tmp/dumi/theme/slots/Toc.ts +1 -1
  45. package/.dumi/tmp/exports.ts +5 -5
  46. package/.dumi/tmp/testBrowser.tsx +3 -3
  47. package/.dumi/tmp/umi.ts +4 -4
  48. package/es/button/style/index.less +24 -20
  49. package/es/documents/index.js +27 -3
  50. package/es/media/index.d.ts +1 -0
  51. package/es/media/index.js +67 -36
  52. package/es/media/media.d.ts +4 -1
  53. package/es/media/media.js +76 -29
  54. package/lib/button/style/index.less +24 -20
  55. package/lib/documents/index.js +27 -3
  56. package/lib/media/index.d.ts +1 -0
  57. package/lib/media/index.js +66 -36
  58. package/lib/media/media.d.ts +4 -1
  59. package/lib/media/media.js +75 -29
  60. package/package.json +1 -1
  61. package/.idea/iglooform.iml +0 -9
  62. package/.idea/misc.xml +0 -5
  63. package/.idea/modules.xml +0 -8
  64. package/.idea/vcs.xml +0 -6
  65. package/es/admin-amount/style/index.d.ts +0 -0
  66. package/es/admin-upload/style/index.d.ts +0 -1
  67. package/es/alert-message/style/index.d.ts +0 -1
  68. package/es/babel-plugin-import-option.d.ts +0 -7
  69. package/es/back-top/index.d.ts +0 -5
  70. package/es/back-top/style/index.d.ts +0 -1
  71. package/es/button/style/index.d.ts +0 -1
  72. package/es/card-detail/style/index.d.ts +0 -1
  73. package/es/checkbox/style/index.d.ts +0 -1
  74. package/es/claim-list/style/index.d.ts +0 -1
  75. package/es/config-provider.d.ts +0 -9
  76. package/es/confirmation/style/index.d.ts +0 -1
  77. package/es/currency-context/index.d.ts +0 -8
  78. package/es/currency-context/style/index.d.ts +0 -0
  79. package/es/date-picker/style/index.d.ts +0 -1
  80. package/es/declaration/style/index.d.ts +0 -1
  81. package/es/detail-panel/style/index.d.ts +0 -1
  82. package/es/documents/style/index.d.ts +0 -1
  83. package/es/filter/style/index.d.ts +0 -1
  84. package/es/form/addable-section/style/index.d.ts +0 -1
  85. package/es/form/divider/style/index.d.ts +0 -1
  86. package/es/form/element/style/index.d.ts +0 -1
  87. package/es/form/hstep/style/index.d.ts +0 -1
  88. package/es/form/hsteps/style/index.d.ts +0 -1
  89. package/es/form/login/style/index.d.ts +0 -1
  90. package/es/form/messages.d.ts +0 -48
  91. package/es/form/page/style/index.d.ts +0 -1
  92. package/es/form/pages/style/index.d.ts +0 -1
  93. package/es/form/render/style/index.d.ts +0 -1
  94. package/es/form/section/style/index.d.ts +0 -1
  95. package/es/form/step/style/index.d.ts +0 -1
  96. package/es/form/steps/style/index.d.ts +0 -1
  97. package/es/form/style/index.d.ts +0 -1
  98. package/es/free-form/addable-section/style/index.d.ts +0 -1
  99. package/es/free-form/element/style/index.d.ts +0 -1
  100. package/es/free-form/messages.d.ts +0 -48
  101. package/es/free-form/page/style/index.d.ts +0 -1
  102. package/es/free-form/pages/style/index.d.ts +0 -1
  103. package/es/free-form/section/style/index.d.ts +0 -1
  104. package/es/free-form/step/style/index.d.ts +0 -1
  105. package/es/free-form/steps/style/index.d.ts +0 -1
  106. package/es/free-form/style/index.d.ts +0 -1
  107. package/es/home-menu/style/index.d.ts +0 -1
  108. package/es/input/style/amount/index.d.ts +0 -2
  109. package/es/input/style/index.d.ts +0 -2
  110. package/es/input/style/input-date/index.d.ts +0 -2
  111. package/es/input/style/otp/index.d.ts +0 -2
  112. package/es/input/style/phone-number/index.d.ts +0 -2
  113. package/es/input/style/text-area/index.d.ts +0 -2
  114. package/es/layout/defaultHeader.d.ts +0 -4
  115. package/es/layout/style/index.d.ts +0 -1
  116. package/es/locale/en-US.d.ts +0 -2
  117. package/es/locale/format-message.d.ts +0 -10
  118. package/es/locale/formatted-message.d.ts +0 -6
  119. package/es/locale/id-ID.d.ts +0 -2
  120. package/es/locale/index.d.ts +0 -4
  121. package/es/locale/locale-context.d.ts +0 -12
  122. package/es/locale/locale-provider.d.ts +0 -13
  123. package/es/locale/ms-MY.d.ts +0 -2
  124. package/es/locale/th-TH.d.ts +0 -2
  125. package/es/locale/vi-VN.d.ts +0 -2
  126. package/es/locale/zh-CN.d.ts +0 -2
  127. package/es/locale/zh-TW.d.ts +0 -2
  128. package/es/login-page/index.d.ts +0 -7
  129. package/es/login-page/style/index.d.ts +0 -1
  130. package/es/media/file-icon.d.ts +0 -9
  131. package/es/media/style/index.d.ts +0 -1
  132. package/es/message/style/index.d.ts +0 -1
  133. package/es/mobile-insurer-detail/style/index.d.ts +0 -1
  134. package/es/mobile-insurer-list/style/index.d.ts +0 -1
  135. package/es/modal/style/index.d.ts +0 -1
  136. package/es/ocr/micro-blink/style/index.d.ts +0 -1
  137. package/es/platform/index.d.ts +0 -2
  138. package/es/platform/platform-card/index.d.ts +0 -12
  139. package/es/platform/platform-card/style/index.d.ts +0 -1
  140. package/es/platform/switch-platform/index.d.ts +0 -12
  141. package/es/platform/switch-platform/style/index.d.ts +0 -1
  142. package/es/policy-list/style/index.d.ts +0 -1
  143. package/es/radio/style/index.d.ts +0 -1
  144. package/es/search-box/style/index.d.ts +0 -1
  145. package/es/select/style/index.d.ts +0 -1
  146. package/es/status-box/style/index.d.ts +0 -1
  147. package/es/table/style/index.d.ts +0 -1
  148. package/es/tabs/index.d.ts +0 -15
  149. package/es/tabs/style/index.d.ts +0 -1
  150. package/es/typography/style/index.d.ts +0 -1
  151. package/es/upload/style/index.d.ts +0 -1
  152. package/es/upload-photo/media.d.ts +0 -7
  153. package/es/upload-photo/style/index.d.ts +0 -1
  154. package/es/upload-preview/style/index.d.ts +0 -1
  155. package/es/utils/agent-detect.d.ts +0 -1
  156. package/es/utils/tools.d.ts +0 -5
  157. package/es/utils/useAsyncEffect.d.ts +0 -3
  158. package/lib/admin-amount/style/index.d.ts +0 -0
  159. package/lib/admin-upload/style/index.d.ts +0 -1
  160. package/lib/alert-message/style/index.d.ts +0 -1
  161. package/lib/babel-plugin-import-option.d.ts +0 -7
  162. package/lib/back-top/index.d.ts +0 -5
  163. package/lib/back-top/style/index.d.ts +0 -1
  164. package/lib/button/style/index.d.ts +0 -1
  165. package/lib/card-detail/style/index.d.ts +0 -1
  166. package/lib/checkbox/style/index.d.ts +0 -1
  167. package/lib/claim-list/style/index.d.ts +0 -1
  168. package/lib/config-provider.d.ts +0 -9
  169. package/lib/confirmation/style/index.d.ts +0 -1
  170. package/lib/currency-context/index.d.ts +0 -8
  171. package/lib/currency-context/style/index.d.ts +0 -0
  172. package/lib/date-picker/style/index.d.ts +0 -1
  173. package/lib/declaration/style/index.d.ts +0 -1
  174. package/lib/detail-panel/style/index.d.ts +0 -1
  175. package/lib/documents/style/index.d.ts +0 -1
  176. package/lib/filter/style/index.d.ts +0 -1
  177. package/lib/form/addable-section/style/index.d.ts +0 -1
  178. package/lib/form/divider/style/index.d.ts +0 -1
  179. package/lib/form/element/style/index.d.ts +0 -1
  180. package/lib/form/hstep/style/index.d.ts +0 -1
  181. package/lib/form/hsteps/style/index.d.ts +0 -1
  182. package/lib/form/login/style/index.d.ts +0 -1
  183. package/lib/form/messages.d.ts +0 -48
  184. package/lib/form/page/style/index.d.ts +0 -1
  185. package/lib/form/pages/style/index.d.ts +0 -1
  186. package/lib/form/render/style/index.d.ts +0 -1
  187. package/lib/form/section/style/index.d.ts +0 -1
  188. package/lib/form/step/style/index.d.ts +0 -1
  189. package/lib/form/steps/style/index.d.ts +0 -1
  190. package/lib/form/style/index.d.ts +0 -1
  191. package/lib/free-form/addable-section/style/index.d.ts +0 -1
  192. package/lib/free-form/element/style/index.d.ts +0 -1
  193. package/lib/free-form/messages.d.ts +0 -48
  194. package/lib/free-form/page/style/index.d.ts +0 -1
  195. package/lib/free-form/pages/style/index.d.ts +0 -1
  196. package/lib/free-form/section/style/index.d.ts +0 -1
  197. package/lib/free-form/step/style/index.d.ts +0 -1
  198. package/lib/free-form/steps/style/index.d.ts +0 -1
  199. package/lib/free-form/style/index.d.ts +0 -1
  200. package/lib/home-menu/style/index.d.ts +0 -1
  201. package/lib/input/style/amount/index.d.ts +0 -2
  202. package/lib/input/style/index.d.ts +0 -2
  203. package/lib/input/style/input-date/index.d.ts +0 -2
  204. package/lib/input/style/otp/index.d.ts +0 -2
  205. package/lib/input/style/phone-number/index.d.ts +0 -2
  206. package/lib/input/style/text-area/index.d.ts +0 -2
  207. package/lib/layout/defaultHeader.d.ts +0 -4
  208. package/lib/layout/style/index.d.ts +0 -1
  209. package/lib/locale/en-US.d.ts +0 -2
  210. package/lib/locale/format-message.d.ts +0 -10
  211. package/lib/locale/formatted-message.d.ts +0 -6
  212. package/lib/locale/id-ID.d.ts +0 -2
  213. package/lib/locale/index.d.ts +0 -4
  214. package/lib/locale/locale-context.d.ts +0 -12
  215. package/lib/locale/locale-provider.d.ts +0 -13
  216. package/lib/locale/ms-MY.d.ts +0 -2
  217. package/lib/locale/th-TH.d.ts +0 -2
  218. package/lib/locale/vi-VN.d.ts +0 -2
  219. package/lib/locale/zh-CN.d.ts +0 -2
  220. package/lib/locale/zh-TW.d.ts +0 -2
  221. package/lib/login-page/index.d.ts +0 -7
  222. package/lib/login-page/style/index.d.ts +0 -1
  223. package/lib/media/file-icon.d.ts +0 -9
  224. package/lib/media/style/index.d.ts +0 -1
  225. package/lib/message/style/index.d.ts +0 -1
  226. package/lib/mobile-insurer-detail/style/index.d.ts +0 -1
  227. package/lib/mobile-insurer-list/style/index.d.ts +0 -1
  228. package/lib/modal/style/index.d.ts +0 -1
  229. package/lib/ocr/micro-blink/style/index.d.ts +0 -1
  230. package/lib/platform/index.d.ts +0 -2
  231. package/lib/platform/platform-card/index.d.ts +0 -12
  232. package/lib/platform/platform-card/style/index.d.ts +0 -1
  233. package/lib/platform/switch-platform/index.d.ts +0 -12
  234. package/lib/platform/switch-platform/style/index.d.ts +0 -1
  235. package/lib/policy-list/style/index.d.ts +0 -1
  236. package/lib/radio/style/index.d.ts +0 -1
  237. package/lib/search-box/style/index.d.ts +0 -1
  238. package/lib/select/style/index.d.ts +0 -1
  239. package/lib/status-box/style/index.d.ts +0 -1
  240. package/lib/table/style/index.d.ts +0 -1
  241. package/lib/tabs/index.d.ts +0 -15
  242. package/lib/tabs/style/index.d.ts +0 -1
  243. package/lib/typography/style/index.d.ts +0 -1
  244. package/lib/upload/style/index.d.ts +0 -1
  245. package/lib/upload-photo/media.d.ts +0 -7
  246. package/lib/upload-photo/style/index.d.ts +0 -1
  247. package/lib/upload-preview/style/index.d.ts +0 -1
  248. package/lib/utils/agent-detect.d.ts +0 -1
  249. package/lib/utils/tools.d.ts +0 -5
  250. package/lib/utils/useAsyncEffect.d.ts +0 -3
@@ -1,2 +0,0 @@
1
- import '../index';
2
- import './index.less';
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import './style';
3
- declare const DefaultHeader: FC<any>;
4
- export default DefaultHeader;
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1,2 +0,0 @@
1
- declare const messages: any;
2
- export default messages;
@@ -1,10 +0,0 @@
1
- export declare let staticLang: {
2
- current: string;
3
- };
4
- declare const formatMessage: (props: {
5
- id: string;
6
- values?: {
7
- [key: string]: any;
8
- } | undefined;
9
- }) => any;
10
- export default formatMessage;
@@ -1,6 +0,0 @@
1
- export default function (props: {
2
- id: string;
3
- values?: {
4
- [key: string]: any;
5
- };
6
- }): any;
@@ -1,2 +0,0 @@
1
- declare const messages: any;
2
- export default messages;
@@ -1,4 +0,0 @@
1
- export { default as LocaleProvider } from './locale-provider';
2
- export { default as LocaleContext } from './locale-context';
3
- export { default as FormattedMessage } from './formatted-message';
4
- export { default as staticFormatMessage } from './format-message';
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- export interface LocaleContextType {
3
- formatMessage: (propr: {
4
- id: string;
5
- values?: {
6
- [key: string]: any;
7
- };
8
- }) => any;
9
- currentLang: string;
10
- }
11
- declare const _default: import("react").Context<LocaleContextType>;
12
- export default _default;
@@ -1,13 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- import { ConfigProviderProps } from 'antd/es/config-provider';
3
- export declare const locales: {
4
- [key: string]: {
5
- [id: string]: string;
6
- };
7
- };
8
- declare const LocaleProvider: FC<{
9
- currentLang: string;
10
- antdConfig?: ConfigProviderProps;
11
- children?: ReactNode;
12
- }>;
13
- export default LocaleProvider;
@@ -1,2 +0,0 @@
1
- declare const messages: any;
2
- export default messages;
@@ -1,2 +0,0 @@
1
- declare const messages: any;
2
- export default messages;
@@ -1,2 +0,0 @@
1
- declare const messages: any;
2
- export default messages;
@@ -1,2 +0,0 @@
1
- declare const messages: any;
2
- export default messages;
@@ -1,2 +0,0 @@
1
- declare const messages: any;
2
- export default messages;
@@ -1,7 +0,0 @@
1
- import { FC, PropsWithChildren } from 'react';
2
- import './style';
3
- interface Props {
4
- showAppStore?: boolean;
5
- }
6
- declare const LoginPage: FC<PropsWithChildren<Props>>;
7
- export default LoginPage;
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1,9 +0,0 @@
1
- import type { FC } from 'react';
2
- import './style/file-icon.less';
3
- type Props = {
4
- type: string;
5
- onDownloadClick?: () => void;
6
- disabledDownload?: boolean;
7
- };
8
- declare const FileIcon: FC<Props>;
9
- export default FileIcon;
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1,2 +0,0 @@
1
- export { default as PlatformCard } from './platform-card';
2
- export { default as SwitchPlatform } from './switch-platform';
@@ -1,12 +0,0 @@
1
- import { FC, CSSProperties } from 'react';
2
- import './style';
3
- declare const PlatformCard: FC<{
4
- platform: string | {
5
- name: string;
6
- key: string;
7
- };
8
- onClick: any;
9
- className?: any;
10
- style?: CSSProperties;
11
- }>;
12
- export default PlatformCard;
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1,12 +0,0 @@
1
- import { FC } from 'react';
2
- import './style';
3
- interface Props {
4
- platforms: (string | {
5
- name: string;
6
- key: string;
7
- })[];
8
- currentPlatform: string;
9
- onChange: (platform: string) => any;
10
- }
11
- declare const SwitchPlatform: FC<Props>;
12
- export default SwitchPlatform;
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import { TabsProps } from 'antd';
3
- import './style';
4
- interface IglooTabsProps extends TabsProps {
5
- }
6
- export declare const TabPane: React.FC<import("antd").TabPaneProps>;
7
- /**
8
- * Tab
9
- * @param {*} 所有antd的tabs
10
- */
11
- declare function Tabs(props: IglooTabsProps): import("react/jsx-runtime").JSX.Element;
12
- declare namespace Tabs {
13
- var TabPane: React.FC<import("antd").TabPaneProps>;
14
- }
15
- export default Tabs;
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1,7 +0,0 @@
1
- import { FC } from 'react';
2
- declare const MediaItem: FC<{
3
- type: string;
4
- src: string;
5
- className: any;
6
- }>;
7
- export default MediaItem;
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- export declare function isMobileAgent(): boolean;
@@ -1,5 +0,0 @@
1
- export declare const parseFileSize: (size: number) => string;
2
- export declare function classifyType(mimeType: string): string;
3
- export declare const downloadByUrl: (filename: string, url: string) => void;
4
- export declare const getFileNameByUrl: (fileUrl: string) => string;
5
- export declare const getResourceContentType: (resourceUrl: string) => Promise<string | undefined>;
@@ -1,3 +0,0 @@
1
- import type { DependencyList } from 'react';
2
- declare function useAsyncEffect(effect: () => AsyncGenerator<void, void, void> | Promise<void>, deps?: DependencyList): void;
3
- export default useAsyncEffect;
File without changes
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1,7 +0,0 @@
1
- declare const _default: {
2
- libraryName: string;
3
- libraryDirectory: string;
4
- style: boolean;
5
- customName: (name: string) => string;
6
- };
7
- export default _default;
@@ -1,5 +0,0 @@
1
- import { FC } from 'react';
2
- import './style';
3
- import { BackTopProps } from 'antd';
4
- declare const BackToTop: FC<BackTopProps>;
5
- export default BackToTop;
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1,9 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- import { ConfigProviderProps } from 'antd/es/config-provider';
3
- export declare let staticAntdConfig: ConfigProviderProps;
4
- declare const ConfigProvider: FC<{
5
- currentLang: string;
6
- config?: ConfigProviderProps;
7
- children?: ReactNode;
8
- }>;
9
- export default ConfigProvider;
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- interface CurrencyMethod {
3
- exchange: (value: any) => any;
4
- exchangeBack: (value: any) => any;
5
- currentCurrency: string;
6
- }
7
- declare const _default: import("react").Context<CurrencyMethod>;
8
- export default _default;
File without changes
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1,48 +0,0 @@
1
- declare const messages: {
2
- default: string;
3
- required: string;
4
- enum: string;
5
- whitespace: string;
6
- date: {
7
- format: string;
8
- parse: string;
9
- invalid: string;
10
- };
11
- types: {
12
- string: string;
13
- method: string;
14
- array: string;
15
- object: string;
16
- number: string;
17
- date: string;
18
- boolean: string;
19
- integer: string;
20
- float: string;
21
- regexp: string;
22
- email: string;
23
- url: string;
24
- hex: string;
25
- };
26
- string: {
27
- len: string;
28
- min: string;
29
- max: string;
30
- range: string;
31
- };
32
- number: {
33
- len: string;
34
- min: string;
35
- max: string;
36
- range: string;
37
- };
38
- array: {
39
- len: string;
40
- min: string;
41
- max: string;
42
- range: string;
43
- };
44
- pattern: {
45
- mismatch: string;
46
- };
47
- };
48
- export default messages;
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1,48 +0,0 @@
1
- declare const messages: {
2
- default: string;
3
- required: string;
4
- enum: string;
5
- whitespace: string;
6
- date: {
7
- format: string;
8
- parse: string;
9
- invalid: string;
10
- };
11
- types: {
12
- string: string;
13
- method: string;
14
- array: string;
15
- object: string;
16
- number: string;
17
- date: string;
18
- boolean: string;
19
- integer: string;
20
- float: string;
21
- regexp: string;
22
- email: string;
23
- url: string;
24
- hex: string;
25
- };
26
- string: {
27
- len: string;
28
- min: string;
29
- max: string;
30
- range: string;
31
- };
32
- number: {
33
- len: string;
34
- min: string;
35
- max: string;
36
- range: string;
37
- };
38
- array: {
39
- len: string;
40
- min: string;
41
- max: string;
42
- range: string;
43
- };
44
- pattern: {
45
- mismatch: string;
46
- };
47
- };
48
- export default messages;
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1,2 +0,0 @@
1
- import '../index';
2
- import './index.less';
@@ -1,2 +0,0 @@
1
- import './default-input.less';
2
- import './common.less';
@@ -1,2 +0,0 @@
1
- import '../index';
2
- import './index.less';
@@ -1,2 +0,0 @@
1
- import '../index';
2
- import './index.less';
@@ -1,2 +0,0 @@
1
- import '../index';
2
- import './index.less';
@@ -1,2 +0,0 @@
1
- import '../index';
2
- import './index.less';
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import './style';
3
- declare const DefaultHeader: FC<any>;
4
- export default DefaultHeader;
@@ -1 +0,0 @@
1
- import './index.less';
@@ -1,2 +0,0 @@
1
- declare const messages: any;
2
- export default messages;
@@ -1,10 +0,0 @@
1
- export declare let staticLang: {
2
- current: string;
3
- };
4
- declare const formatMessage: (props: {
5
- id: string;
6
- values?: {
7
- [key: string]: any;
8
- } | undefined;
9
- }) => any;
10
- export default formatMessage;
@@ -1,6 +0,0 @@
1
- export default function (props: {
2
- id: string;
3
- values?: {
4
- [key: string]: any;
5
- };
6
- }): any;
@@ -1,2 +0,0 @@
1
- declare const messages: any;
2
- export default messages;
@@ -1,4 +0,0 @@
1
- export { default as LocaleProvider } from './locale-provider';
2
- export { default as LocaleContext } from './locale-context';
3
- export { default as FormattedMessage } from './formatted-message';
4
- export { default as staticFormatMessage } from './format-message';
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- export interface LocaleContextType {
3
- formatMessage: (propr: {
4
- id: string;
5
- values?: {
6
- [key: string]: any;
7
- };
8
- }) => any;
9
- currentLang: string;
10
- }
11
- declare const _default: import("react").Context<LocaleContextType>;
12
- export default _default;
@@ -1,13 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- import { ConfigProviderProps } from 'antd/es/config-provider';
3
- export declare const locales: {
4
- [key: string]: {
5
- [id: string]: string;
6
- };
7
- };
8
- declare const LocaleProvider: FC<{
9
- currentLang: string;
10
- antdConfig?: ConfigProviderProps;
11
- children?: ReactNode;
12
- }>;
13
- export default LocaleProvider;
@@ -1,2 +0,0 @@
1
- declare const messages: any;
2
- export default messages;
@@ -1,2 +0,0 @@
1
- declare const messages: any;
2
- export default messages;
@@ -1,2 +0,0 @@
1
- declare const messages: any;
2
- export default messages;