@arcblock/ux 2.10.36 → 2.10.38
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/Address/compact-text.d.ts +27 -0
- package/lib/Address/did-address.d.ts +16 -0
- package/lib/Address/index.d.ts +15 -0
- package/lib/Address/responsive-did-address.d.ts +33 -0
- package/lib/AnimationWaiter/index.d.ts +54 -0
- package/lib/Async/index.d.ts +30 -0
- package/lib/BlockletContext/index.d.ts +31 -0
- package/lib/BlockletV2/blocklet.d.ts +18 -0
- package/lib/BlockletV2/blocklet.js +156 -0
- package/lib/BlockletV2/components/icon-text.d.ts +7 -0
- package/lib/BlockletV2/components/icon-text.js +30 -0
- package/lib/BlockletV2/index.d.ts +4 -0
- package/lib/BlockletV2/index.js +4 -0
- package/lib/BlockletV2/utils.d.ts +4 -0
- package/lib/BlockletV2/utils.js +71 -0
- package/lib/Button/wrap.js +2 -2
- package/lib/ButtonGroup/index.d.ts +2 -0
- package/lib/CardSelector/index.d.ts +34 -0
- package/lib/Center/index.d.ts +18 -0
- package/lib/ClickToCopy/copy-button.d.ts +27 -0
- package/lib/ClickToCopy/hook.d.ts +9 -0
- package/lib/ClickToCopy/index.d.ts +32 -0
- package/lib/CodeBlock/LightBox.d.ts +5 -0
- package/lib/CodeBlock/index.d.ts +27 -0
- package/lib/ContactForm/index.d.ts +41 -0
- package/lib/CookieConsent/index.d.ts +34 -0
- package/lib/CountDown/index.d.ts +30 -0
- package/lib/DID/index.d.ts +23 -0
- package/lib/DidLogo/index.d.ts +26 -0
- package/lib/DriftBot/index.d.ts +24 -0
- package/lib/Earth/index.d.ts +2 -0
- package/lib/Earth/util.d.ts +7 -0
- package/lib/ErrorBoundary/fallback.d.ts +21 -0
- package/lib/ErrorBoundary/index.d.ts +1 -0
- package/lib/Footer/index.d.ts +27 -0
- package/lib/Header/auto-hidden.d.ts +14 -0
- package/lib/Header/header.d.ts +55 -0
- package/lib/Header/index.d.ts +2 -0
- package/lib/Header/responsive-header.d.ts +29 -0
- package/lib/Icon/image.d.ts +37 -0
- package/lib/InfoRow/index.d.ts +33 -0
- package/lib/Layout/dashboard/external-link.d.ts +15 -0
- package/lib/Layout/dashboard/full-page.d.ts +12 -0
- package/lib/Layout/dashboard/index.d.ts +40 -0
- package/lib/Layout/dashboard/sidebar.d.ts +21 -0
- package/lib/Layout/dashboard-legacy/header.d.ts +37 -0
- package/lib/Layout/dashboard-legacy/index.d.ts +57 -0
- package/lib/Layout/dashboard-legacy/sidebar.d.ts +27 -0
- package/lib/Layout/index.d.ts +57 -0
- package/lib/LoadingMask/index.d.ts +32 -0
- package/lib/Locale/browser-lang.d.ts +2 -0
- package/lib/Locale/context.d.ts +39 -0
- package/lib/Locale/languages.d.ts +57 -0
- package/lib/Locale/selector.d.ts +27 -0
- package/lib/Locale/util.d.ts +3 -0
- package/lib/Metric/index.d.ts +32 -0
- package/lib/MuiWrap/index.d.ts +3 -2
- package/lib/NFTDisplay/aspect-ratio-container.d.ts +13 -0
- package/lib/NFTDisplay/broken.d.ts +14 -0
- package/lib/NFTDisplay/displayApi.d.ts +2 -0
- package/lib/NFTDisplay/index.d.ts +12 -0
- package/lib/NFTDisplay/index.js +7 -0
- package/lib/NFTDisplay/loading.d.ts +1 -0
- package/lib/NFTDisplay/svg-embedder/img.d.ts +24 -0
- package/lib/NFTDisplay/svg-embedder/inline-svg.d.ts +14 -0
- package/lib/NavMenu/index.d.ts +1 -0
- package/lib/NavMenu/nav-menu.d.ts +56 -0
- package/lib/NavMenu/style.d.ts +2 -0
- package/lib/PageScroller/index.d.ts +2 -0
- package/lib/PageScroller/story/FifthComponent.d.ts +1 -0
- package/lib/PageScroller/story/FirstComponent.d.ts +1 -0
- package/lib/PageScroller/story/FourthComponent.d.ts +1 -0
- package/lib/PageScroller/story/FullPage.d.ts +1 -0
- package/lib/PageScroller/story/PageContain.d.ts +1 -0
- package/lib/PageScroller/story/SecondComponent.d.ts +1 -0
- package/lib/PageScroller/story/ThirdComponent.d.ts +1 -0
- package/lib/PageScroller/usePrevValue.d.ts +1 -0
- package/lib/Passport/index.d.ts +2 -0
- package/lib/Passport/passport.d.ts +31 -0
- package/lib/PoweredByArcBlock/index.d.ts +15 -0
- package/lib/PricingTable/PricingPlan.d.ts +10 -0
- package/lib/PricingTable/index.d.ts +2 -0
- package/lib/QRCode/index.d.ts +23 -0
- package/lib/RelativeTime/index.d.ts +41 -0
- package/lib/Result/common.d.ts +52 -0
- package/lib/Result/index.d.ts +19 -0
- package/lib/Result/result.d.ts +30 -0
- package/lib/Result/translations.d.ts +55 -0
- package/lib/Screenshot/BaseScreenshot/index.d.ts +25 -0
- package/lib/Screenshot/BaseScreenshot/shells/Macbook.d.ts +21 -0
- package/lib/Screenshot/BaseScreenshot/shells/Phone.d.ts +21 -0
- package/lib/Screenshot/index.d.ts +29 -0
- package/lib/SessionBlocklet/index.d.ts +20 -0
- package/lib/SessionManager/index.d.ts +2 -0
- package/lib/SessionPermission/index.d.ts +18 -0
- package/lib/SessionUser/components/logged-in.d.ts +32 -0
- package/lib/SessionUser/components/session-user-item.d.ts +2 -0
- package/lib/SessionUser/components/session-user-switch.d.ts +22 -0
- package/lib/SessionUser/components/un-login.d.ts +24 -0
- package/lib/SessionUser/components/user-info.d.ts +30 -0
- package/lib/SessionUser/index.d.ts +31 -0
- package/lib/SessionUser/libs/translation.d.ts +31 -0
- package/lib/SessionUser/libs/utils.d.ts +9 -0
- package/lib/Sparkline/index.d.ts +1 -0
- package/lib/Spinner/index.d.ts +2 -0
- package/lib/SplitButton/index.d.ts +2 -1
- package/lib/SplitButton/index.js +1 -1
- package/lib/Success/index.d.ts +22 -0
- package/lib/Tabs/index.d.ts +27 -0
- package/lib/TextCollapse/index.d.ts +2 -0
- package/lib/Typography/index.d.ts +25 -0
- package/lib/Util/federated.d.ts +61 -0
- package/lib/Util/passport.d.ts +33 -0
- package/lib/Util/wallet.d.ts +3 -0
- package/lib/Video/index.d.ts +19 -0
- package/lib/Wallet/Action.d.ts +21 -0
- package/lib/Wallet/Download.d.ts +33 -0
- package/lib/Wallet/Open.d.ts +16 -0
- package/lib/WalletOSIcon/index.d.ts +26 -0
- package/lib/WebWalletSWKeeper/index.d.ts +21 -0
- package/lib/WechatPrompt/index.d.ts +1 -0
- package/lib/index.d.ts +36 -0
- package/lib/withTheme/index.d.ts +7 -0
- package/lib/withTracker/error_boundary.d.ts +9 -0
- package/lib/withTracker/index.d.ts +2 -0
- package/package.json +10 -7
- package/src/BlockletV2/blocklet.tsx +130 -0
- package/src/BlockletV2/components/icon-text.tsx +29 -0
- package/src/BlockletV2/index.ts +5 -0
- package/src/BlockletV2/utils.js +75 -0
- package/src/Button/wrap.js +9 -5
- package/src/MuiWrap/index.tsx +3 -2
- package/src/NFTDisplay/index.js +23 -0
- package/src/SplitButton/index.tsx +2 -2
@@ -0,0 +1,57 @@
|
|
1
|
+
declare function Layout({ title, brand, description, links, logo, showLogo, addons, footer, baseUrl, homeUrl, children, variant, contentOnly, ...rest }: {
|
2
|
+
[x: string]: any;
|
3
|
+
title: any;
|
4
|
+
brand: any;
|
5
|
+
description: any;
|
6
|
+
links: any;
|
7
|
+
logo: any;
|
8
|
+
showLogo: any;
|
9
|
+
addons: any;
|
10
|
+
footer: any;
|
11
|
+
baseUrl: any;
|
12
|
+
homeUrl: any;
|
13
|
+
children: any;
|
14
|
+
variant: any;
|
15
|
+
contentOnly: any;
|
16
|
+
}): import("react/jsx-runtime").JSX.Element;
|
17
|
+
declare namespace Layout {
|
18
|
+
namespace propTypes {
|
19
|
+
let title: PropTypes.Validator<string>;
|
20
|
+
let brand: PropTypes.Validator<any>;
|
21
|
+
let description: PropTypes.Requireable<any>;
|
22
|
+
let addons: PropTypes.Requireable<any>;
|
23
|
+
let showLogo: PropTypes.Requireable<boolean>;
|
24
|
+
let logo: PropTypes.Requireable<any>;
|
25
|
+
let links: PropTypes.Requireable<any[]>;
|
26
|
+
let children: PropTypes.Validator<any>;
|
27
|
+
let baseUrl: PropTypes.Requireable<string>;
|
28
|
+
let homeUrl: PropTypes.Requireable<string>;
|
29
|
+
let variant: PropTypes.Requireable<string>;
|
30
|
+
let footer: PropTypes.Requireable<any>;
|
31
|
+
let contentOnly: PropTypes.Requireable<boolean>;
|
32
|
+
}
|
33
|
+
namespace defaultProps {
|
34
|
+
let contentOnly_1: boolean;
|
35
|
+
export { contentOnly_1 as contentOnly };
|
36
|
+
let baseUrl_1: string;
|
37
|
+
export { baseUrl_1 as baseUrl };
|
38
|
+
let homeUrl_1: string;
|
39
|
+
export { homeUrl_1 as homeUrl };
|
40
|
+
let links_1: never[];
|
41
|
+
export { links_1 as links };
|
42
|
+
let showLogo_1: boolean;
|
43
|
+
export { showLogo_1 as showLogo };
|
44
|
+
let logo_1: import("react/jsx-runtime").JSX.Element;
|
45
|
+
export { logo_1 as logo };
|
46
|
+
let variant_1: string;
|
47
|
+
export { variant_1 as variant };
|
48
|
+
let addons_1: undefined;
|
49
|
+
export { addons_1 as addons };
|
50
|
+
let description_1: undefined;
|
51
|
+
export { description_1 as description };
|
52
|
+
let footer_1: import("react/jsx-runtime").JSX.Element;
|
53
|
+
export { footer_1 as footer };
|
54
|
+
}
|
55
|
+
}
|
56
|
+
export default Layout;
|
57
|
+
import PropTypes from 'prop-types';
|
@@ -0,0 +1,32 @@
|
|
1
|
+
declare function LoadingMask({ size, padding, borderWidth, borderRadius, duration, children }: {
|
2
|
+
size: any;
|
3
|
+
padding: any;
|
4
|
+
borderWidth: any;
|
5
|
+
borderRadius: any;
|
6
|
+
duration: any;
|
7
|
+
children: any;
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
9
|
+
declare namespace LoadingMask {
|
10
|
+
namespace propTypes {
|
11
|
+
let size: PropTypes.Requireable<number>;
|
12
|
+
let padding: PropTypes.Requireable<number>;
|
13
|
+
let borderRadius: PropTypes.Requireable<number>;
|
14
|
+
let borderWidth: PropTypes.Requireable<number>;
|
15
|
+
let duration: PropTypes.Requireable<number>;
|
16
|
+
let children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
17
|
+
}
|
18
|
+
namespace defaultProps {
|
19
|
+
let size_1: number;
|
20
|
+
export { size_1 as size };
|
21
|
+
let padding_1: undefined;
|
22
|
+
export { padding_1 as padding };
|
23
|
+
let borderWidth_1: undefined;
|
24
|
+
export { borderWidth_1 as borderWidth };
|
25
|
+
let duration_1: undefined;
|
26
|
+
export { duration_1 as duration };
|
27
|
+
let borderRadius_1: undefined;
|
28
|
+
export { borderRadius_1 as borderRadius };
|
29
|
+
}
|
30
|
+
}
|
31
|
+
export default LoadingMask;
|
32
|
+
import PropTypes from 'prop-types';
|
@@ -0,0 +1,39 @@
|
|
1
|
+
export function LocaleProvider({ children, locale, fallbackLocale, translations, onLoadingTranslation, languages, ...rest }: {
|
2
|
+
[x: string]: any;
|
3
|
+
children: any;
|
4
|
+
locale: any;
|
5
|
+
fallbackLocale: any;
|
6
|
+
translations: any;
|
7
|
+
onLoadingTranslation: any;
|
8
|
+
languages: any;
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
10
|
+
export namespace LocaleProvider {
|
11
|
+
namespace propTypes {
|
12
|
+
let children: PropTypes.Validator<any>;
|
13
|
+
let translations: PropTypes.Validator<object>;
|
14
|
+
let onLoadingTranslation: PropTypes.Requireable<(...args: any[]) => any>;
|
15
|
+
let locale: PropTypes.Requireable<string>;
|
16
|
+
let fallbackLocale: PropTypes.Requireable<string>;
|
17
|
+
let languages: PropTypes.Requireable<(PropTypes.InferProps<{
|
18
|
+
code: PropTypes.Requireable<string>;
|
19
|
+
name: PropTypes.Requireable<string>;
|
20
|
+
}> | null | undefined)[]>;
|
21
|
+
}
|
22
|
+
namespace defaultProps {
|
23
|
+
let locale_1: string;
|
24
|
+
export { locale_1 as locale };
|
25
|
+
let fallbackLocale_1: string;
|
26
|
+
export { fallbackLocale_1 as fallbackLocale };
|
27
|
+
let languages_1: never[];
|
28
|
+
export { languages_1 as languages };
|
29
|
+
export function onLoadingTranslation_1(): void;
|
30
|
+
export { onLoadingTranslation_1 as onLoadingTranslation };
|
31
|
+
}
|
32
|
+
}
|
33
|
+
declare const Consumer: import("react").Consumer<any>;
|
34
|
+
export const LocaleContext: import("react").Context<any>;
|
35
|
+
export function useLocaleContext(): any;
|
36
|
+
export function setLocale(locale: any): void;
|
37
|
+
export function getLocale(languages?: any[]): any;
|
38
|
+
import PropTypes from 'prop-types';
|
39
|
+
export { Consumer as LocaleConsumer };
|
@@ -0,0 +1,57 @@
|
|
1
|
+
declare const _default: any[];
|
2
|
+
export default _default;
|
3
|
+
export { languages as map };
|
4
|
+
declare const languages: {
|
5
|
+
ar: {
|
6
|
+
name: string;
|
7
|
+
nativeName: string;
|
8
|
+
};
|
9
|
+
de: {
|
10
|
+
name: string;
|
11
|
+
nativeName: string;
|
12
|
+
};
|
13
|
+
en: {
|
14
|
+
name: string;
|
15
|
+
nativeName: string;
|
16
|
+
};
|
17
|
+
es: {
|
18
|
+
name: string;
|
19
|
+
nativeName: string;
|
20
|
+
};
|
21
|
+
fr: {
|
22
|
+
name: string;
|
23
|
+
nativeName: string;
|
24
|
+
};
|
25
|
+
it: {
|
26
|
+
name: string;
|
27
|
+
nativeName: string;
|
28
|
+
};
|
29
|
+
ja: {
|
30
|
+
name: string;
|
31
|
+
nativeName: string;
|
32
|
+
};
|
33
|
+
ko: {
|
34
|
+
name: string;
|
35
|
+
nativeName: string;
|
36
|
+
};
|
37
|
+
mn: {
|
38
|
+
name: string;
|
39
|
+
nativeName: string;
|
40
|
+
};
|
41
|
+
pt: {
|
42
|
+
name: string;
|
43
|
+
nativeName: string;
|
44
|
+
};
|
45
|
+
ru: {
|
46
|
+
name: string;
|
47
|
+
nativeName: string;
|
48
|
+
};
|
49
|
+
zh: {
|
50
|
+
name: string;
|
51
|
+
nativeName: string;
|
52
|
+
};
|
53
|
+
'zh-TW': {
|
54
|
+
name: string;
|
55
|
+
nativeName: string;
|
56
|
+
};
|
57
|
+
};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
declare function LocaleSelector(props: any): import("react/jsx-runtime").JSX.Element;
|
2
|
+
declare namespace LocaleSelector {
|
3
|
+
namespace propTypes {
|
4
|
+
let size: PropTypes.Requireable<number>;
|
5
|
+
let showText: PropTypes.Requireable<boolean>;
|
6
|
+
let popperProps: PropTypes.Requireable<object>;
|
7
|
+
let onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
8
|
+
let popperType: PropTypes.Requireable<string>;
|
9
|
+
let icon: PropTypes.Requireable<any>;
|
10
|
+
}
|
11
|
+
namespace defaultProps {
|
12
|
+
let showText_1: boolean;
|
13
|
+
export { showText_1 as showText };
|
14
|
+
let size_1: number;
|
15
|
+
export { size_1 as size };
|
16
|
+
let popperProps_1: {};
|
17
|
+
export { popperProps_1 as popperProps };
|
18
|
+
export { noop as onChange };
|
19
|
+
let popperType_1: string;
|
20
|
+
export { popperType_1 as popperType };
|
21
|
+
let icon_1: null;
|
22
|
+
export { icon_1 as icon };
|
23
|
+
}
|
24
|
+
}
|
25
|
+
export default LocaleSelector;
|
26
|
+
import PropTypes from 'prop-types';
|
27
|
+
import noop from 'lodash/noop';
|
@@ -0,0 +1,32 @@
|
|
1
|
+
declare function Metric({ icon, value, name, url, animated, LinkComponent, prefix }: {
|
2
|
+
icon: any;
|
3
|
+
value: any;
|
4
|
+
name: any;
|
5
|
+
url: any;
|
6
|
+
animated: any;
|
7
|
+
LinkComponent: any;
|
8
|
+
prefix: any;
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
10
|
+
declare namespace Metric {
|
11
|
+
namespace propTypes {
|
12
|
+
let icon: PropTypes.Validator<string>;
|
13
|
+
let value: PropTypes.Validator<NonNullable<NonNullable<string | number | null | undefined>>>;
|
14
|
+
let name: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
15
|
+
let animated: PropTypes.Requireable<boolean>;
|
16
|
+
let url: PropTypes.Requireable<string>;
|
17
|
+
let LinkComponent: PropTypes.Requireable<any>;
|
18
|
+
let prefix: PropTypes.Requireable<string>;
|
19
|
+
}
|
20
|
+
namespace defaultProps {
|
21
|
+
let animated_1: boolean;
|
22
|
+
export { animated_1 as animated };
|
23
|
+
let url_1: string;
|
24
|
+
export { url_1 as url };
|
25
|
+
let LinkComponent_1: null;
|
26
|
+
export { LinkComponent_1 as LinkComponent };
|
27
|
+
let prefix_1: string;
|
28
|
+
export { prefix_1 as prefix };
|
29
|
+
}
|
30
|
+
}
|
31
|
+
export default Metric;
|
32
|
+
import PropTypes from 'prop-types';
|
package/lib/MuiWrap/index.d.ts
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
import { BoxProps, TypographyProps } from '@mui/material';
|
2
|
-
|
2
|
+
import { ElementType } from 'react';
|
3
|
+
export declare function TBox<C extends ElementType>({ component, ...rest }: BoxProps<C, {
|
3
4
|
component: C;
|
4
5
|
}>): import("react/jsx-runtime").JSX.Element;
|
5
|
-
export declare function TTypography<C extends
|
6
|
+
export declare function TTypography<C extends ElementType>({ component, ...rest }: TypographyProps<C, {
|
6
7
|
component: C;
|
7
8
|
}>): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export default AspectRatioContainer;
|
2
|
+
declare function AspectRatioContainer({ aspect, children, ...rest }: {
|
3
|
+
[x: string]: any;
|
4
|
+
aspect: any;
|
5
|
+
children: any;
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
7
|
+
declare namespace AspectRatioContainer {
|
8
|
+
namespace propTypes {
|
9
|
+
let aspect: PropTypes.Validator<number>;
|
10
|
+
let children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
import PropTypes from 'prop-types';
|
@@ -0,0 +1,14 @@
|
|
1
|
+
declare function Broken({ children }?: {
|
2
|
+
children: any;
|
3
|
+
}): import("react/jsx-runtime").JSX.Element;
|
4
|
+
declare namespace Broken {
|
5
|
+
namespace propTypes {
|
6
|
+
let children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
7
|
+
}
|
8
|
+
namespace defaultProps {
|
9
|
+
let children_1: string;
|
10
|
+
export { children_1 as children };
|
11
|
+
}
|
12
|
+
}
|
13
|
+
export default Broken;
|
14
|
+
import PropTypes from 'prop-types';
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* 从 assetState 中获取 nft data, 兼容新旧两种类型的数据结构, 建议将该方法的返回值传入 NFTDisplay 组件的 data prop
|
3
|
+
* - 旧: assetState.data.value (.credentialSubject.display)
|
4
|
+
* - 新: assetState.display
|
5
|
+
*/
|
6
|
+
export function getNFTData(assetState: any): any;
|
7
|
+
declare function _default({ aspect, inset, ...rest }: {
|
8
|
+
[x: string]: any;
|
9
|
+
aspect: any;
|
10
|
+
inset: any;
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
12
|
+
export default _default;
|
package/lib/NFTDisplay/index.js
CHANGED
@@ -228,6 +228,13 @@ function NFTDisplay({
|
|
228
228
|
const renderObject = () => {
|
229
229
|
const objectType = state.urlType || 'image/svg+xml';
|
230
230
|
const url = getFullContentUrl();
|
231
|
+
|
232
|
+
// do naive image render
|
233
|
+
const pathname = new URL(url).pathname.toLowerCase();
|
234
|
+
const imageExtensions = ['.jpg', '.jpeg', '.png', '.gif', '.bmp', '.webp', '.svg', '.tiff', '.tif', '.ico', '.jfif', '.pjpeg', '.pjp', '.avif'];
|
235
|
+
if (imageExtensions.some(ext => pathname.endsWith(ext))) {
|
236
|
+
return renderImg();
|
237
|
+
}
|
231
238
|
return (
|
232
239
|
/*#__PURE__*/
|
233
240
|
// eslint-disable-next-line jsx-a11y/alt-text
|
@@ -0,0 +1 @@
|
|
1
|
+
export default function Loading(): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
export default ImgEmbedder;
|
2
|
+
/**
|
3
|
+
* 基于 <img> 嵌入 svg
|
4
|
+
*/
|
5
|
+
declare function ImgEmbedder({ svg, alt, fallback, ...rest }: {
|
6
|
+
[x: string]: any;
|
7
|
+
svg: any;
|
8
|
+
alt: any;
|
9
|
+
fallback: any;
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
11
|
+
declare namespace ImgEmbedder {
|
12
|
+
namespace propTypes {
|
13
|
+
let svg: PropTypes.Validator<string>;
|
14
|
+
let alt: PropTypes.Requireable<string>;
|
15
|
+
let fallback: PropTypes.Requireable<boolean>;
|
16
|
+
}
|
17
|
+
namespace defaultProps {
|
18
|
+
let alt_1: string;
|
19
|
+
export { alt_1 as alt };
|
20
|
+
let fallback_1: boolean;
|
21
|
+
export { fallback_1 as fallback };
|
22
|
+
}
|
23
|
+
}
|
24
|
+
import PropTypes from 'prop-types';
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export default InlineSvg;
|
2
|
+
/**
|
3
|
+
* inline svg 的方式嵌入 svg, 使用 shadow DOM 避免样式污染
|
4
|
+
*/
|
5
|
+
declare function InlineSvg({ svg, ...rest }: {
|
6
|
+
[x: string]: any;
|
7
|
+
svg: any;
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
9
|
+
declare namespace InlineSvg {
|
10
|
+
namespace propTypes {
|
11
|
+
let svg: PropTypes.Validator<string>;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
import PropTypes from 'prop-types';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from "./nav-menu";
|
@@ -0,0 +1,56 @@
|
|
1
|
+
export default NavMenu;
|
2
|
+
/**
|
3
|
+
* NavMenu, 导航组件, 可用于 header/footer/sidebar
|
4
|
+
*/
|
5
|
+
declare function NavMenu({ items, mode, children, activeId, textColor, activeTextColor, bgColor, onSelected, ...rest }: {
|
6
|
+
[x: string]: any;
|
7
|
+
items: any;
|
8
|
+
mode: any;
|
9
|
+
children: any;
|
10
|
+
activeId: any;
|
11
|
+
textColor: any;
|
12
|
+
activeTextColor: any;
|
13
|
+
bgColor: any;
|
14
|
+
onSelected: any;
|
15
|
+
}): import("react/jsx-runtime").JSX.Element;
|
16
|
+
declare namespace NavMenu {
|
17
|
+
export namespace propTypes {
|
18
|
+
let items: PropTypes.Requireable<any[]>;
|
19
|
+
let mode: PropTypes.Requireable<string>;
|
20
|
+
let children: PropTypes.Requireable<any[]>;
|
21
|
+
let activeId: PropTypes.Requireable<string>;
|
22
|
+
let textColor: PropTypes.Requireable<string>;
|
23
|
+
let activeTextColor: PropTypes.Requireable<string>;
|
24
|
+
let bgColor: PropTypes.Requireable<string>;
|
25
|
+
let onSelected: PropTypes.Requireable<(...args: any[]) => any>;
|
26
|
+
}
|
27
|
+
export namespace defaultProps {
|
28
|
+
let items_1: null;
|
29
|
+
export { items_1 as items };
|
30
|
+
let mode_1: string;
|
31
|
+
export { mode_1 as mode };
|
32
|
+
let children_1: null;
|
33
|
+
export { children_1 as children };
|
34
|
+
let activeId_1: null;
|
35
|
+
export { activeId_1 as activeId };
|
36
|
+
let textColor_1: string;
|
37
|
+
export { textColor_1 as textColor };
|
38
|
+
let activeTextColor_1: string;
|
39
|
+
export { activeTextColor_1 as activeTextColor };
|
40
|
+
let bgColor_1: string;
|
41
|
+
export { bgColor_1 as bgColor };
|
42
|
+
let onSelected_1: null;
|
43
|
+
export { onSelected_1 as onSelected };
|
44
|
+
}
|
45
|
+
export { Item };
|
46
|
+
export { Sub };
|
47
|
+
}
|
48
|
+
import PropTypes from 'prop-types';
|
49
|
+
/**
|
50
|
+
* Item
|
51
|
+
*/
|
52
|
+
declare const Item: import("react").ForwardRefExoticComponent<import("react").RefAttributes<any>>;
|
53
|
+
/**
|
54
|
+
* Sub
|
55
|
+
*/
|
56
|
+
declare const Sub: import("react").ForwardRefExoticComponent<import("react").RefAttributes<any>>;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export const HorizontalStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & import("react").ClassAttributes<HTMLElement> & import("react").HTMLAttributes<HTMLElement>, {}, {}>;
|
2
|
+
export const InlineStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & import("react").ClassAttributes<HTMLElement> & import("react").HTMLAttributes<HTMLElement>, {}, {}>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export default function FifthComponent(): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export default function FirstComponent(): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export default function FourthComponent(): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export default function FullPage(): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export default function FullPage(): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export default function SecondComponent(): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export default function ThirdComponent(): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export default function usePrevious(value: any): {};
|
@@ -0,0 +1,31 @@
|
|
1
|
+
declare function Passport({ passport, user, color, width, icon, children, createPassportSvg, ...rest }: {
|
2
|
+
[x: string]: any;
|
3
|
+
passport: any;
|
4
|
+
user: any;
|
5
|
+
color: any;
|
6
|
+
width: any;
|
7
|
+
icon: any;
|
8
|
+
children: any;
|
9
|
+
createPassportSvg: any;
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
11
|
+
declare namespace Passport {
|
12
|
+
namespace propTypes {
|
13
|
+
let passport: PropTypes.Validator<any>;
|
14
|
+
let user: PropTypes.Validator<any>;
|
15
|
+
let color: PropTypes.Validator<string>;
|
16
|
+
let createPassportSvg: PropTypes.Validator<(...args: any[]) => any>;
|
17
|
+
let icon: PropTypes.Requireable<any>;
|
18
|
+
let children: PropTypes.Requireable<any>;
|
19
|
+
let width: PropTypes.Requireable<number>;
|
20
|
+
}
|
21
|
+
namespace defaultProps {
|
22
|
+
let icon_1: null;
|
23
|
+
export { icon_1 as icon };
|
24
|
+
let children_1: null;
|
25
|
+
export { children_1 as children };
|
26
|
+
let width_1: number;
|
27
|
+
export { width_1 as width };
|
28
|
+
}
|
29
|
+
}
|
30
|
+
export default Passport;
|
31
|
+
import PropTypes from 'prop-types';
|
@@ -0,0 +1,15 @@
|
|
1
|
+
declare function PoweredByArcBlock({ linkProps, ...props }: {
|
2
|
+
[x: string]: any;
|
3
|
+
linkProps: any;
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
5
|
+
declare namespace PoweredByArcBlock {
|
6
|
+
namespace propTypes {
|
7
|
+
let linkProps: PropTypes.Requireable<object>;
|
8
|
+
}
|
9
|
+
namespace defaultProps {
|
10
|
+
let linkProps_1: {};
|
11
|
+
export { linkProps_1 as linkProps };
|
12
|
+
}
|
13
|
+
}
|
14
|
+
export default PoweredByArcBlock;
|
15
|
+
import PropTypes from 'prop-types';
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export default PricingPlan;
|
2
|
+
declare function PricingPlan({ plan }: {
|
3
|
+
plan: any;
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
5
|
+
declare namespace PricingPlan {
|
6
|
+
namespace propTypes {
|
7
|
+
let plan: PropTypes.Validator<object>;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
import PropTypes from 'prop-types';
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export default QRCode;
|
2
|
+
declare function QRCode({ data, size, image, config, ...rest }: {
|
3
|
+
[x: string]: any;
|
4
|
+
data: any;
|
5
|
+
size: any;
|
6
|
+
image: any;
|
7
|
+
config: any;
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
9
|
+
declare namespace QRCode {
|
10
|
+
namespace propTypes {
|
11
|
+
let data: PropTypes.Validator<string>;
|
12
|
+
let size: PropTypes.Validator<number>;
|
13
|
+
let image: PropTypes.Requireable<string>;
|
14
|
+
let config: PropTypes.Requireable<object>;
|
15
|
+
}
|
16
|
+
namespace defaultProps {
|
17
|
+
let image_1: null;
|
18
|
+
export { image_1 as image };
|
19
|
+
let config_1: {};
|
20
|
+
export { config_1 as config };
|
21
|
+
}
|
22
|
+
}
|
23
|
+
import PropTypes from 'prop-types';
|
@@ -0,0 +1,41 @@
|
|
1
|
+
declare function RelativeTime({ value, locale, withoutSuffix, from, to, type, tz, relativeRange, ...rest }: {
|
2
|
+
[x: string]: any;
|
3
|
+
value: any;
|
4
|
+
locale: any;
|
5
|
+
withoutSuffix: any;
|
6
|
+
from: any;
|
7
|
+
to: any;
|
8
|
+
type: any;
|
9
|
+
tz: any;
|
10
|
+
relativeRange: any;
|
11
|
+
}): import("react/jsx-runtime").JSX.Element | "-";
|
12
|
+
declare namespace RelativeTime {
|
13
|
+
namespace propTypes {
|
14
|
+
let value: PropTypes.Validator<NonNullable<NonNullable<string | number | null | undefined>>>;
|
15
|
+
let locale: PropTypes.Requireable<string>;
|
16
|
+
let withoutSuffix: PropTypes.Requireable<boolean>;
|
17
|
+
let from: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
18
|
+
let to: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
19
|
+
let type: PropTypes.Requireable<string>;
|
20
|
+
let tz: PropTypes.Requireable<string>;
|
21
|
+
let relativeRange: PropTypes.Requireable<number>;
|
22
|
+
}
|
23
|
+
namespace defaultProps {
|
24
|
+
let locale_1: string;
|
25
|
+
export { locale_1 as locale };
|
26
|
+
let withoutSuffix_1: boolean;
|
27
|
+
export { withoutSuffix_1 as withoutSuffix };
|
28
|
+
let from_1: string;
|
29
|
+
export { from_1 as from };
|
30
|
+
let to_1: string;
|
31
|
+
export { to_1 as to };
|
32
|
+
let type_1: string;
|
33
|
+
export { type_1 as type };
|
34
|
+
let tz_1: undefined;
|
35
|
+
export { tz_1 as tz };
|
36
|
+
let relativeRange_1: undefined;
|
37
|
+
export { relativeRange_1 as relativeRange };
|
38
|
+
}
|
39
|
+
}
|
40
|
+
export default RelativeTime;
|
41
|
+
import PropTypes from 'prop-types';
|
@@ -0,0 +1,52 @@
|
|
1
|
+
export function PageNotFound({ locale, ...rest }: {
|
2
|
+
[x: string]: any;
|
3
|
+
locale: any;
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
5
|
+
export namespace PageNotFound {
|
6
|
+
let status: string;
|
7
|
+
}
|
8
|
+
export function Forbidden({ locale, ...rest }: {
|
9
|
+
[x: string]: any;
|
10
|
+
locale: any;
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
12
|
+
export namespace Forbidden {
|
13
|
+
let status_1: string;
|
14
|
+
export { status_1 as status };
|
15
|
+
}
|
16
|
+
export function InternalServerError({ locale, ...rest }: {
|
17
|
+
[x: string]: any;
|
18
|
+
locale: any;
|
19
|
+
}): import("react/jsx-runtime").JSX.Element;
|
20
|
+
export namespace InternalServerError {
|
21
|
+
let status_2: string;
|
22
|
+
export { status_2 as status };
|
23
|
+
}
|
24
|
+
export function Error({ locale, ...rest }: {
|
25
|
+
[x: string]: any;
|
26
|
+
locale: any;
|
27
|
+
}): import("react/jsx-runtime").JSX.Element;
|
28
|
+
export namespace Error {
|
29
|
+
let status_3: string;
|
30
|
+
export { status_3 as status };
|
31
|
+
}
|
32
|
+
export function Maintenance({ locale, ...rest }: {
|
33
|
+
[x: string]: any;
|
34
|
+
locale: any;
|
35
|
+
}): import("react/jsx-runtime").JSX.Element;
|
36
|
+
export namespace Maintenance {
|
37
|
+
let status_4: string;
|
38
|
+
export { status_4 as status };
|
39
|
+
}
|
40
|
+
export function ComingSoon({ locale, ...rest }: {
|
41
|
+
[x: string]: any;
|
42
|
+
locale: any;
|
43
|
+
}): import("react/jsx-runtime").JSX.Element;
|
44
|
+
export namespace ComingSoon {
|
45
|
+
let status_5: string;
|
46
|
+
export { status_5 as status };
|
47
|
+
}
|
48
|
+
export function Info(props: any): import("react/jsx-runtime").JSX.Element;
|
49
|
+
export namespace Info {
|
50
|
+
let status_6: string;
|
51
|
+
export { status_6 as status };
|
52
|
+
}
|