iglooform 3.0.0-alpha.9 → 3.0.1

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 (64) hide show
  1. package/.dumi/tmp/dumi/theme/ContextWrapper.tsx +2 -2
  2. package/es/form/hsteps/index.js +8 -11
  3. package/es/form/steps/index.js +8 -11
  4. package/es/free-form/steps/index.js +8 -11
  5. package/es/hooks/ocr/index.js +1 -3
  6. package/es/hooks/ocr/micro-blink.d.ts +4 -1
  7. package/es/hooks/ocr/micro-blink.js +42 -20
  8. package/es/locale/en-US/messages.json +4 -0
  9. package/es/locale/id-ID/messages.json +4 -0
  10. package/es/locale/th-TH/messages.json +4 -0
  11. package/es/locale/vi-VN/messages.json +4 -0
  12. package/es/locale/zh-CN/messages.json +4 -0
  13. package/es/locale/zh-TW/messages.json +4 -0
  14. package/es/ocr/micro-blink/index.js +52 -48
  15. package/es/types.d.ts +1 -0
  16. package/lib/form/hsteps/index.js +8 -11
  17. package/lib/form/steps/index.js +8 -11
  18. package/lib/free-form/steps/index.js +8 -11
  19. package/lib/hooks/ocr/index.js +1 -3
  20. package/lib/hooks/ocr/micro-blink.d.ts +4 -1
  21. package/lib/hooks/ocr/micro-blink.js +41 -19
  22. package/lib/locale/en-US/messages.json +4 -0
  23. package/lib/locale/id-ID/messages.json +4 -0
  24. package/lib/locale/th-TH/messages.json +4 -0
  25. package/lib/locale/vi-VN/messages.json +4 -0
  26. package/lib/locale/zh-CN/messages.json +4 -0
  27. package/lib/locale/zh-TW/messages.json +4 -0
  28. package/lib/ocr/micro-blink/index.js +51 -47
  29. package/lib/types.d.ts +1 -0
  30. package/package.json +1 -1
  31. package/es/admin-amount/style/index.d.ts +0 -0
  32. package/es/babel-plugin-import-option.d.ts +0 -7
  33. package/es/back-top/index.d.ts +0 -5
  34. package/es/input/style/amount/index.d.ts +0 -2
  35. package/es/input/style/index.d.ts +0 -2
  36. package/es/input/style/input-date/index.d.ts +0 -2
  37. package/es/input/style/otp/index.d.ts +0 -2
  38. package/es/input/style/phone-number/index.d.ts +0 -2
  39. package/es/input/style/text-area/index.d.ts +0 -2
  40. package/es/locale/locale-provider.d.ts +0 -11
  41. package/es/login-page/index.d.ts +0 -7
  42. package/es/message/style/index.d.ts +0 -1
  43. package/es/ocr/micro-blink/style/index.d.ts +0 -1
  44. package/es/platform/platform-card/index.d.ts +0 -12
  45. package/es/platform/switch-platform/index.d.ts +0 -12
  46. package/es/tabs/index.d.ts +0 -15
  47. package/es/utils/useAsyncEffect.d.ts +0 -3
  48. package/lib/admin-amount/style/index.d.ts +0 -0
  49. package/lib/babel-plugin-import-option.d.ts +0 -7
  50. package/lib/back-top/index.d.ts +0 -5
  51. package/lib/input/style/amount/index.d.ts +0 -2
  52. package/lib/input/style/index.d.ts +0 -2
  53. package/lib/input/style/input-date/index.d.ts +0 -2
  54. package/lib/input/style/otp/index.d.ts +0 -2
  55. package/lib/input/style/phone-number/index.d.ts +0 -2
  56. package/lib/input/style/text-area/index.d.ts +0 -2
  57. package/lib/locale/locale-provider.d.ts +0 -11
  58. package/lib/login-page/index.d.ts +0 -7
  59. package/lib/message/style/index.d.ts +0 -1
  60. package/lib/ocr/micro-blink/style/index.d.ts +0 -1
  61. package/lib/platform/platform-card/index.d.ts +0 -12
  62. package/lib/platform/switch-platform/index.d.ts +0 -12
  63. package/lib/tabs/index.d.ts +0 -15
  64. package/lib/utils/useAsyncEffect.d.ts +0 -3
@@ -1,11 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- export declare const locales: {
3
- [key: string]: {
4
- [id: string]: string;
5
- };
6
- };
7
- declare const LocaleProvider: FC<{
8
- currentLang: string;
9
- children?: ReactNode;
10
- }>;
11
- export default LocaleProvider;
@@ -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 +0,0 @@
1
- import './index.less';
@@ -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,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,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,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,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,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,11 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- export declare const locales: {
3
- [key: string]: {
4
- [id: string]: string;
5
- };
6
- };
7
- declare const LocaleProvider: FC<{
8
- currentLang: string;
9
- children?: ReactNode;
10
- }>;
11
- export default LocaleProvider;
@@ -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 +0,0 @@
1
- import './index.less';
@@ -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,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,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,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;