@blocklet/ui-react 3.0.3 → 3.0.4
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.
- package/lib/@types/index.d.ts +3 -0
- package/lib/BlockletStudio/index.d.ts +26 -0
- package/lib/ComponentInstaller/index.d.ts +18 -0
- package/lib/ComponentInstaller/installer-item.d.ts +18 -0
- package/lib/{types/ComponentInstaller → ComponentInstaller}/locales.d.ts +2 -2
- package/lib/{types/ComponentInstaller → ComponentInstaller}/use-component-installed.d.ts +2 -2
- package/lib/ComponentManager/components/add-component.d.ts +13 -0
- package/lib/ComponentManager/components/check-component.d.ts +2 -0
- package/lib/ComponentManager/components/publish-component.d.ts +7 -0
- package/lib/ComponentManager/components/resource-dialog.d.ts +11 -0
- package/lib/ComponentManager/index.d.ts +4 -0
- package/lib/ComponentManager/libs/locales.d.ts +19 -0
- package/lib/Dashboard/index.d.ts +27 -0
- package/lib/Footer/brand.d.ts +15 -0
- package/lib/Footer/copyright.d.ts +13 -0
- package/lib/{types/Footer → Footer}/index.d.ts +2 -2
- package/lib/Footer/internal-footer.d.ts +29 -0
- package/lib/Footer/layout/plain.d.ts +19 -0
- package/lib/Footer/layout/row.d.ts +13 -0
- package/lib/Footer/layout/standard.d.ts +21 -0
- package/lib/Footer/links.d.ts +20 -0
- package/lib/Footer/social-media.d.ts +14 -0
- package/lib/Header/index.d.ts +13 -0
- package/lib/Icon/index.d.ts +7 -0
- package/lib/Notifications/Snackbar.d.ts +8 -0
- package/lib/Notifications/hooks/use-title.d.ts +9 -0
- package/lib/Notifications/hooks/use-width.d.ts +2 -0
- package/lib/Notifications/utils.d.ts +10 -0
- package/lib/UserCenter/components/config-inviter.d.ts +4 -0
- package/lib/UserCenter/components/config-profile.d.ts +5 -0
- package/lib/UserCenter/components/danger-zone.d.ts +2 -0
- package/lib/UserCenter/components/editable-field.d.ts +50 -0
- package/lib/UserCenter/components/nft.d.ts +4 -0
- package/lib/UserCenter/components/notification.d.ts +5 -0
- package/lib/UserCenter/components/passport.d.ts +5 -0
- package/lib/UserCenter/components/privacy.d.ts +5 -0
- package/lib/UserCenter/components/settings.d.ts +8 -0
- package/lib/UserCenter/components/status-dialog/date-picker.d.ts +9 -0
- package/lib/UserCenter/components/status-dialog/index.d.ts +9 -0
- package/lib/UserCenter/components/status-selector/duration-menu.d.ts +7 -0
- package/lib/UserCenter/components/status-selector/index.d.ts +8 -0
- package/lib/UserCenter/components/status-selector/menu-item.d.ts +9 -0
- package/lib/UserCenter/components/storage/action.d.ts +7 -0
- package/lib/UserCenter/components/storage/connected.d.ts +4 -0
- package/lib/UserCenter/components/storage/delete.d.ts +5 -0
- package/lib/UserCenter/components/storage/disconnect.d.ts +2 -0
- package/lib/UserCenter/components/storage/icons/empty-spaces-nft.svg.d.ts +3 -0
- package/lib/UserCenter/components/storage/index.d.ts +2 -0
- package/lib/UserCenter/components/storage/preview-nft.d.ts +5 -0
- package/lib/UserCenter/components/third-party-login/index.d.ts +4 -0
- package/lib/UserCenter/components/third-party-login/third-party-item.d.ts +4 -0
- package/lib/UserCenter/components/user-center.d.ts +15 -0
- package/lib/UserCenter/components/user-info/address.d.ts +7 -0
- package/lib/UserCenter/components/user-info/index.d.ts +5 -0
- package/lib/UserCenter/components/user-info/link-preview-input.d.ts +6 -0
- package/lib/UserCenter/components/user-info/metadata.d.ts +7 -0
- package/lib/UserCenter/components/user-info/switch-role.d.ts +6 -0
- package/lib/UserCenter/components/user-info/timezone-select.d.ts +7 -0
- package/lib/UserCenter/components/user-info/user-basic-info.d.ts +12 -0
- package/lib/UserCenter/components/user-info/user-info-item.d.ts +6 -0
- package/lib/UserCenter/components/user-info/user-info.d.ts +6 -0
- package/lib/UserCenter/components/user-info/user-status.d.ts +9 -0
- package/lib/UserCenter/components/user-info/utils.d.ts +33 -0
- package/lib/UserCenter/components/webhook-item.d.ts +10 -0
- package/lib/UserCenter/index.d.ts +2 -0
- package/lib/UserCenter/libs/locales.d.ts +513 -0
- package/lib/UserCenter/libs/utils.d.ts +3 -0
- package/lib/UserSessions/components/user-session-info.d.ts +5 -0
- package/lib/UserSessions/components/user-sessions.d.ts +8 -0
- package/lib/UserSessions/index.d.ts +2 -0
- package/lib/UserSessions/libs/locales.d.ts +88 -0
- package/lib/UserSessions/libs/utils.d.ts +3 -0
- package/lib/blocklets.d.ts +18 -0
- package/lib/common/domain-warning.d.ts +12 -0
- package/lib/common/header-addons.d.ts +19 -0
- package/lib/common/link-blocker.d.ts +4 -0
- package/lib/common/notification-addon.d.ts +10 -0
- package/lib/common/overridable-theme-provider.d.ts +12 -0
- package/lib/common/wallet-hidden-topbar.d.ts +2 -0
- package/lib/common/ws.d.ts +4 -0
- package/lib/contexts/config-user-space.d.ts +7 -0
- package/lib/hooks/use-mobile.d.ts +4 -0
- package/lib/index.d.ts +12 -0
- package/lib/libs/client.d.ts +3 -0
- package/lib/libs/constant.d.ts +2 -0
- package/lib/libs/spaces.d.ts +3 -0
- package/lib/libs/with-hide-when-embed.d.ts +5 -0
- package/lib/types.d.ts +37 -0
- package/lib/utils.d.ts +11 -0
- package/package.json +5 -5
- package/vite.config.mjs +1 -1
- package/lib/types/@types/index.d.ts +0 -204
- package/lib/types/BlockletStudio/index.d.ts +0 -27
- package/lib/types/ComponentInstaller/ComponentInstaller.stories.d.ts +0 -9
- package/lib/types/ComponentInstaller/demo/basic.d.ts +0 -29
- package/lib/types/ComponentInstaller/demo/mock-optional-components.d.ts +0 -2
- package/lib/types/ComponentInstaller/index.d.ts +0 -18
- package/lib/types/ComponentInstaller/installer-item.d.ts +0 -18
- package/lib/types/ComponentManager/components/add-component.d.ts +0 -16
- package/lib/types/ComponentManager/components/check-component.d.ts +0 -2
- package/lib/types/ComponentManager/components/publish-component.d.ts +0 -10
- package/lib/types/ComponentManager/components/resource-dialog.d.ts +0 -13
- package/lib/types/ComponentManager/index.d.ts +0 -3
- package/lib/types/ComponentManager/libs/locales.d.ts +0 -14
- package/lib/types/Dashboard/Dashboard.stories.d.ts +0 -13
- package/lib/types/Dashboard/demo/basic.d.ts +0 -29
- package/lib/types/Dashboard/index.d.ts +0 -30
- package/lib/types/Footer/Footer.stories.d.ts +0 -19
- package/lib/types/Footer/brand.d.ts +0 -15
- package/lib/types/Footer/copyright.d.ts +0 -13
- package/lib/types/Footer/demo/arcblock-site.d.ts +0 -31
- package/lib/types/Footer/demo/brand.d.ts +0 -1
- package/lib/types/Footer/demo/copyright.d.ts +0 -1
- package/lib/types/Footer/demo/footer.d.ts +0 -10
- package/lib/types/Footer/demo/links.d.ts +0 -1
- package/lib/types/Footer/demo/social-media-icons.d.ts +0 -1
- package/lib/types/Footer/internal-footer.d.ts +0 -32
- package/lib/types/Footer/layout/plain.d.ts +0 -22
- package/lib/types/Footer/layout/row.d.ts +0 -13
- package/lib/types/Footer/layout/standard.d.ts +0 -24
- package/lib/types/Footer/links.d.ts +0 -23
- package/lib/types/Footer/social-media.d.ts +0 -14
- package/lib/types/Header/Header.stories.d.ts +0 -26
- package/lib/types/Header/demo/addons-customization.d.ts +0 -11
- package/lib/types/Header/demo/basic.d.ts +0 -1
- package/lib/types/Header/demo/fixtures/index.d.ts +0 -49
- package/lib/types/Header/demo/with-enable-connect-enable-locale.d.ts +0 -1
- package/lib/types/Header/index.d.ts +0 -23
- package/lib/types/Icon/Icon.stories.d.ts +0 -12
- package/lib/types/Icon/demo/basic.d.ts +0 -1
- package/lib/types/Icon/index.d.ts +0 -9
- package/lib/types/Notifications/Snackbar.d.ts +0 -16
- package/lib/types/Notifications/hooks/use-title.d.ts +0 -48
- package/lib/types/Notifications/hooks/use-width.d.ts +0 -2
- package/lib/types/Notifications/utils.d.ts +0 -70
- package/lib/types/UserCenter/components/config-inviter.d.ts +0 -4
- package/lib/types/UserCenter/components/config-profile.d.ts +0 -5
- package/lib/types/UserCenter/components/danger-zone.d.ts +0 -1
- package/lib/types/UserCenter/components/editable-field.d.ts +0 -54
- package/lib/types/UserCenter/components/nft.d.ts +0 -4
- package/lib/types/UserCenter/components/notification.d.ts +0 -5
- package/lib/types/UserCenter/components/passport.d.ts +0 -5
- package/lib/types/UserCenter/components/privacy.d.ts +0 -11
- package/lib/types/UserCenter/components/settings.d.ts +0 -10
- package/lib/types/UserCenter/components/status-dialog/date-picker.d.ts +0 -10
- package/lib/types/UserCenter/components/status-dialog/index.d.ts +0 -12
- package/lib/types/UserCenter/components/status-selector/duration-menu.d.ts +0 -7
- package/lib/types/UserCenter/components/status-selector/index.d.ts +0 -9
- package/lib/types/UserCenter/components/status-selector/menu-item.d.ts +0 -24
- package/lib/types/UserCenter/components/storage/action.d.ts +0 -9
- package/lib/types/UserCenter/components/storage/connected.d.ts +0 -5
- package/lib/types/UserCenter/components/storage/delete.d.ts +0 -6
- package/lib/types/UserCenter/components/storage/disconnect.d.ts +0 -2
- package/lib/types/UserCenter/components/storage/index.d.ts +0 -2
- package/lib/types/UserCenter/components/storage/preview-nft.d.ts +0 -5
- package/lib/types/UserCenter/components/third-party-login/index.d.ts +0 -4
- package/lib/types/UserCenter/components/third-party-login/third-party-item.d.ts +0 -13
- package/lib/types/UserCenter/components/user-center.d.ts +0 -16
- package/lib/types/UserCenter/components/user-info/address.d.ts +0 -16
- package/lib/types/UserCenter/components/user-info/index.d.ts +0 -4
- package/lib/types/UserCenter/components/user-info/link-preview-input.d.ts +0 -5
- package/lib/types/UserCenter/components/user-info/metadata.d.ts +0 -10
- package/lib/types/UserCenter/components/user-info/switch-role.d.ts +0 -7
- package/lib/types/UserCenter/components/user-info/timezone-select.d.ts +0 -8
- package/lib/types/UserCenter/components/user-info/user-basic-info.d.ts +0 -13
- package/lib/types/UserCenter/components/user-info/user-info-item.d.ts +0 -11
- package/lib/types/UserCenter/components/user-info/user-info.d.ts +0 -6
- package/lib/types/UserCenter/components/user-info/user-status.d.ts +0 -9
- package/lib/types/UserCenter/components/user-info/utils.d.ts +0 -51
- package/lib/types/UserCenter/components/webhook-item.d.ts +0 -2
- package/lib/types/UserCenter/index.d.ts +0 -1
- package/lib/types/UserCenter/libs/locales.d.ts +0 -345
- package/lib/types/UserCenter/libs/utils.d.ts +0 -4
- package/lib/types/UserSessions/components/user-session-info.d.ts +0 -5
- package/lib/types/UserSessions/components/user-sessions.d.ts +0 -20
- package/lib/types/UserSessions/index.d.ts +0 -1
- package/lib/types/UserSessions/libs/locales.d.ts +0 -60
- package/lib/types/UserSessions/libs/utils.d.ts +0 -2
- package/lib/types/blocklets.d.ts +0 -17
- package/lib/types/common/domain-warning.d.ts +0 -12
- package/lib/types/common/header-addons.d.ts +0 -19
- package/lib/types/common/link-blocker.d.ts +0 -7
- package/lib/types/common/notification-addon.d.ts +0 -10
- package/lib/types/common/overridable-theme-provider.d.ts +0 -15
- package/lib/types/common/wallet-hidden-topbar.d.ts +0 -1
- package/lib/types/common/ws.d.ts +0 -3
- package/lib/types/contexts/config-user-space.d.ts +0 -27
- package/lib/types/hooks/use-mobile.d.ts +0 -4
- package/lib/types/index.d.ts +0 -10
- package/lib/types/libs/client.d.ts +0 -2
- package/lib/types/libs/constant.d.ts +0 -1
- package/lib/types/libs/spaces.d.ts +0 -2
- package/lib/types/libs/with-hide-when-embed.d.ts +0 -4
- package/lib/types/types.d.ts +0 -36
- package/lib/types/utils.d.ts +0 -10
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export { G as default };
|
|
2
|
+
declare function G({ open: a, setOpen: s, onOpened: t, componentDid: i, tenantScope: o, resourcesParams: h, mode: w, title: E, logo: R, description: L, introduction: y, note: D, componentsTitle: S, resourcesTitle: b, onUploaded: j, onReleased: x, onConnected: B, components: P, resources: U, style: _, zIndex: k, dependentComponentsMode: C, ...F }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
open: any;
|
|
5
|
+
setOpen: any;
|
|
6
|
+
onOpened: any;
|
|
7
|
+
componentDid: any;
|
|
8
|
+
tenantScope: any;
|
|
9
|
+
resourcesParams?: {} | undefined;
|
|
10
|
+
mode?: string | undefined;
|
|
11
|
+
title: any;
|
|
12
|
+
logo: any;
|
|
13
|
+
description: any;
|
|
14
|
+
introduction: any;
|
|
15
|
+
note: any;
|
|
16
|
+
componentsTitle: any;
|
|
17
|
+
resourcesTitle: any;
|
|
18
|
+
onUploaded: any;
|
|
19
|
+
onReleased: any;
|
|
20
|
+
onConnected: any;
|
|
21
|
+
components?: any[] | undefined;
|
|
22
|
+
resources?: {} | undefined;
|
|
23
|
+
style?: {} | undefined;
|
|
24
|
+
zIndex?: number | undefined;
|
|
25
|
+
dependentComponentsMode: any;
|
|
26
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | null;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as t } from 'prop-types';
|
|
2
|
+
export { G as default };
|
|
3
|
+
declare function G(l: any): any;
|
|
4
|
+
declare namespace G {
|
|
5
|
+
namespace propTypes {
|
|
6
|
+
let children: t.Validator<any>;
|
|
7
|
+
let disabled: t.Requireable<boolean>;
|
|
8
|
+
let warnIcon: t.Requireable<t.ReactNodeLike>;
|
|
9
|
+
let did: t.Validator<NonNullable<NonNullable<string | (string | null | undefined)[] | null | undefined>>>;
|
|
10
|
+
let noPermissionMute: t.Requireable<boolean>;
|
|
11
|
+
let onInstalled: t.Requireable<(...args: any[]) => any>;
|
|
12
|
+
let onError: t.Requireable<(...args: any[]) => any>;
|
|
13
|
+
let closeByOutSize: t.Requireable<boolean>;
|
|
14
|
+
let onClose: t.Requireable<(...args: any[]) => any>;
|
|
15
|
+
let fallback: t.Requireable<t.ReactNodeLike>;
|
|
16
|
+
let roles: t.Requireable<any[]>;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as s } from 'prop-types';
|
|
2
|
+
export { I as default };
|
|
3
|
+
declare function I({ optionalComponent: e, index: h, installStatus: l, hasPermission: f, t: c }: {
|
|
4
|
+
optionalComponent: any;
|
|
5
|
+
index: any;
|
|
6
|
+
installStatus?: string | undefined;
|
|
7
|
+
hasPermission: any;
|
|
8
|
+
t: any;
|
|
9
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
10
|
+
declare namespace I {
|
|
11
|
+
namespace propTypes {
|
|
12
|
+
let t: s.Validator<(...args: any[]) => any>;
|
|
13
|
+
let optionalComponent: s.Validator<object>;
|
|
14
|
+
let index: s.Validator<number>;
|
|
15
|
+
let installStatus: s.Requireable<string>;
|
|
16
|
+
let hasPermission: s.Validator<boolean>;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { $ as default };
|
|
2
|
+
declare function $({ componentDid: a, resourceType: w, resourceDid: p, grantedRoles: L, autoClose: R, selectedMeta: D, storeUrl: E, onComplete: n, onClose: t, render: m }: {
|
|
3
|
+
componentDid: any;
|
|
4
|
+
resourceType: any;
|
|
5
|
+
resourceDid: any;
|
|
6
|
+
grantedRoles?: string[] | undefined;
|
|
7
|
+
autoClose?: boolean | undefined;
|
|
8
|
+
selectedMeta: any;
|
|
9
|
+
storeUrl: any;
|
|
10
|
+
onComplete: any;
|
|
11
|
+
onClose: any;
|
|
12
|
+
render: any;
|
|
13
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { H as default };
|
|
2
|
+
declare function H({ componentDid: s, grantedRoles: r, onClose: i, render: a }: {
|
|
3
|
+
componentDid: any;
|
|
4
|
+
grantedRoles: any;
|
|
5
|
+
onClose: any;
|
|
6
|
+
render: any;
|
|
7
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { I as default };
|
|
2
|
+
declare const I: import('react').ForwardRefExoticComponent<{
|
|
3
|
+
src: any;
|
|
4
|
+
open?: boolean | undefined;
|
|
5
|
+
componentDid: any;
|
|
6
|
+
loading?: boolean | undefined;
|
|
7
|
+
storeUrl: any;
|
|
8
|
+
onClose?: (() => void) | undefined;
|
|
9
|
+
onComplete?: (() => void) | undefined;
|
|
10
|
+
onLoad?: (() => void) | undefined;
|
|
11
|
+
} & import('react').RefAttributes<any>>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { o as translations };
|
|
2
|
+
declare namespace o {
|
|
3
|
+
namespace zh {
|
|
4
|
+
let importResource: string;
|
|
5
|
+
let exportResource: string;
|
|
6
|
+
let noPermission: string;
|
|
7
|
+
let needLogin: string;
|
|
8
|
+
}
|
|
9
|
+
namespace en {
|
|
10
|
+
let importResource_1: string;
|
|
11
|
+
export { importResource_1 as importResource };
|
|
12
|
+
let exportResource_1: string;
|
|
13
|
+
export { exportResource_1 as exportResource };
|
|
14
|
+
let noPermission_1: string;
|
|
15
|
+
export { noPermission_1 as noPermission };
|
|
16
|
+
let needLogin_1: string;
|
|
17
|
+
export { needLogin_1 as needLogin };
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { BlockletMetaProps as S, SessionManagerProps as H } from '../types.js';
|
|
2
|
+
import { default as t } from 'prop-types';
|
|
3
|
+
export { K as default };
|
|
4
|
+
declare function K({ meta: l, fallbackUrl: c, invalidPathFallback: d, headerAddons: k, sessionManagerProps: W, links: f, showDomainWarningDialog: I, ...g }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
meta?: {} | undefined;
|
|
7
|
+
fallbackUrl?: any;
|
|
8
|
+
invalidPathFallback?: null | undefined;
|
|
9
|
+
headerAddons?: undefined;
|
|
10
|
+
sessionManagerProps?: {
|
|
11
|
+
showRole: boolean;
|
|
12
|
+
onLogout: () => void;
|
|
13
|
+
} | undefined;
|
|
14
|
+
links?: any[] | undefined;
|
|
15
|
+
showDomainWarningDialog?: boolean | undefined;
|
|
16
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | null;
|
|
17
|
+
declare namespace K {
|
|
18
|
+
namespace propTypes {
|
|
19
|
+
export { S as meta };
|
|
20
|
+
export let fallbackUrl: t.Requireable<string>;
|
|
21
|
+
export let invalidPathFallback: t.Requireable<(...args: any[]) => any>;
|
|
22
|
+
export let headerAddons: t.Requireable<NonNullable<((...args: any[]) => any) | t.ReactNodeLike>>;
|
|
23
|
+
export { H as sessionManagerProps };
|
|
24
|
+
export let links: t.Requireable<NonNullable<any[] | ((...args: any[]) => any) | null | undefined>>;
|
|
25
|
+
export let showDomainWarningDialog: t.Requireable<boolean>;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as i } from 'prop-types';
|
|
2
|
+
export { p as default };
|
|
3
|
+
declare function p({ name: e, logo: t, description: r, ...a }: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
name?: string | undefined;
|
|
6
|
+
logo?: string | undefined;
|
|
7
|
+
description?: string | undefined;
|
|
8
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | null;
|
|
9
|
+
declare namespace p {
|
|
10
|
+
namespace propTypes {
|
|
11
|
+
let name: i.Requireable<i.ReactNodeLike>;
|
|
12
|
+
let logo: i.Requireable<i.ReactNodeLike>;
|
|
13
|
+
let description: i.Requireable<string>;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as r } from 'prop-types';
|
|
2
|
+
export { n as default };
|
|
3
|
+
declare function n({ owner: t, year: e, ...o }: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
owner?: string | undefined;
|
|
6
|
+
year?: string | undefined;
|
|
7
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
8
|
+
declare namespace n {
|
|
9
|
+
namespace propTypes {
|
|
10
|
+
let owner: r.Requireable<string>;
|
|
11
|
+
let year: r.Requireable<string>;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { default as n } from 'prop-types';
|
|
2
|
+
export { _ as default };
|
|
3
|
+
declare function _(a: any): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
4
|
+
declare namespace _ {
|
|
5
|
+
namespace propTypes {
|
|
6
|
+
let brand: n.Requireable<n.InferProps<{
|
|
7
|
+
name: n.Requireable<n.ReactNodeLike>;
|
|
8
|
+
description: n.Requireable<string>;
|
|
9
|
+
logo: n.Requireable<n.ReactNodeLike>;
|
|
10
|
+
}>>;
|
|
11
|
+
let navigation: n.Requireable<(n.InferProps<{
|
|
12
|
+
label: n.Requireable<n.ReactNodeLike>;
|
|
13
|
+
link: n.Requireable<string>;
|
|
14
|
+
}> | null | undefined)[]>;
|
|
15
|
+
let socialMedia: n.Requireable<(n.InferProps<{
|
|
16
|
+
icon: n.Requireable<n.ReactNodeLike>;
|
|
17
|
+
link: n.Requireable<string>;
|
|
18
|
+
}> | null | undefined)[]>;
|
|
19
|
+
let copyright: n.Requireable<n.InferProps<{
|
|
20
|
+
owner: n.Requireable<string>;
|
|
21
|
+
year: n.Requireable<NonNullable<string | number | null | undefined>>;
|
|
22
|
+
}>>;
|
|
23
|
+
let links: n.Requireable<(n.InferProps<{
|
|
24
|
+
label: n.Requireable<n.ReactNodeLike>;
|
|
25
|
+
link: n.Requireable<string>;
|
|
26
|
+
}> | null | undefined)[]>;
|
|
27
|
+
let layout: n.Requireable<string>;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as e } from 'prop-types';
|
|
2
|
+
export { s as default };
|
|
3
|
+
declare function s({ elements: i, data: m, ...o }: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
elements: any;
|
|
6
|
+
data: any;
|
|
7
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
8
|
+
declare namespace s {
|
|
9
|
+
namespace propTypes {
|
|
10
|
+
let elements: e.Validator<NonNullable<e.InferProps<{
|
|
11
|
+
brand: e.Requireable<e.ReactElementLike>;
|
|
12
|
+
navigation: e.Requireable<e.ReactElementLike>;
|
|
13
|
+
socialMedia: e.Requireable<e.ReactElementLike>;
|
|
14
|
+
copyright: e.Requireable<e.ReactElementLike>;
|
|
15
|
+
links: e.Requireable<e.ReactElementLike>;
|
|
16
|
+
}>>>;
|
|
17
|
+
let data: e.Validator<object>;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as e } from 'prop-types';
|
|
2
|
+
export { m as default };
|
|
3
|
+
declare function m({ children: o, autoCenter: r, ...t }: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
children?: null | undefined;
|
|
6
|
+
autoCenter?: boolean | undefined;
|
|
7
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | null;
|
|
8
|
+
declare namespace m {
|
|
9
|
+
namespace propTypes {
|
|
10
|
+
let children: e.Requireable<any>;
|
|
11
|
+
let autoCenter: e.Requireable<boolean>;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as o } from 'prop-types';
|
|
2
|
+
export { g as default };
|
|
3
|
+
declare function g({ elements: e, data: s, className: p, ...c }: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
elements: any;
|
|
6
|
+
data: any;
|
|
7
|
+
className: any;
|
|
8
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
9
|
+
declare namespace g {
|
|
10
|
+
namespace propTypes {
|
|
11
|
+
let elements: o.Validator<NonNullable<o.InferProps<{
|
|
12
|
+
brand: o.Requireable<o.ReactElementLike>;
|
|
13
|
+
navigation: o.Requireable<o.ReactElementLike>;
|
|
14
|
+
socialMedia: o.Requireable<o.ReactElementLike>;
|
|
15
|
+
copyright: o.Requireable<o.ReactElementLike>;
|
|
16
|
+
links: o.Requireable<o.ReactElementLike>;
|
|
17
|
+
}>>>;
|
|
18
|
+
let data: o.Validator<object>;
|
|
19
|
+
let className: o.Requireable<string>;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { default as l } from 'prop-types';
|
|
2
|
+
export { F as default };
|
|
3
|
+
declare function F({ links: e, flowLayout: d, columns: u, ...k }: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
links?: any[] | undefined;
|
|
6
|
+
flowLayout?: boolean | undefined;
|
|
7
|
+
columns: any;
|
|
8
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | null;
|
|
9
|
+
declare namespace F {
|
|
10
|
+
namespace propTypes {
|
|
11
|
+
let links: l.Requireable<(l.InferProps<{
|
|
12
|
+
label: l.Requireable<string>;
|
|
13
|
+
link: l.Requireable<string>;
|
|
14
|
+
render: l.Requireable<(...args: any[]) => any>;
|
|
15
|
+
props: l.Requireable<object>;
|
|
16
|
+
}> | null | undefined)[]>;
|
|
17
|
+
let flowLayout: l.Requireable<boolean>;
|
|
18
|
+
let columns: l.Requireable<number>;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as o } from 'prop-types';
|
|
2
|
+
export { p as default };
|
|
3
|
+
declare function p({ items: r, ...t }: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
items?: null | undefined;
|
|
6
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | null;
|
|
7
|
+
declare namespace p {
|
|
8
|
+
namespace propTypes {
|
|
9
|
+
let items: o.Requireable<(o.InferProps<{
|
|
10
|
+
icon: o.Requireable<string>;
|
|
11
|
+
link: o.Requireable<string>;
|
|
12
|
+
}> | null | undefined)[]>;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { No as default };
|
|
2
|
+
declare const No: import('react').ComponentType<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
meta?: {} | undefined;
|
|
5
|
+
addons: any;
|
|
6
|
+
sessionManagerProps?: {
|
|
7
|
+
showRole: boolean;
|
|
8
|
+
} | undefined;
|
|
9
|
+
homeLink?: any;
|
|
10
|
+
theme: any;
|
|
11
|
+
hideNavMenu?: boolean | undefined;
|
|
12
|
+
showDomainWarningDialog?: boolean | undefined;
|
|
13
|
+
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { xe as default };
|
|
2
|
+
declare function xe({ ref: t, keyId: i, notification: e, viewAllUrl: w, content: f }: {
|
|
3
|
+
ref: any;
|
|
4
|
+
keyId: any;
|
|
5
|
+
notification?: {} | undefined;
|
|
6
|
+
viewAllUrl: any;
|
|
7
|
+
content?: null | undefined;
|
|
8
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as M } from 'react';
|
|
2
|
+
export { H as default };
|
|
3
|
+
declare function H({ activity: r, users: l, actors: d, extra: h, mountPoint: m }: {
|
|
4
|
+
activity: any;
|
|
5
|
+
users: any;
|
|
6
|
+
actors: any;
|
|
7
|
+
extra?: {} | undefined;
|
|
8
|
+
mountPoint?: string | undefined;
|
|
9
|
+
}): M.ReactElement<unknown, string | M.JSXElementConstructor<any>> | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare function D(s: any): boolean;
|
|
2
|
+
declare function R(s: any): {
|
|
3
|
+
metaLink: any;
|
|
4
|
+
targetLink: any;
|
|
5
|
+
} | null;
|
|
6
|
+
declare function z(s: any): boolean;
|
|
7
|
+
declare function M(s: any): any[];
|
|
8
|
+
declare function _(s: any): string;
|
|
9
|
+
declare function S(s: any, t: any, r?: boolean): Promise<string>;
|
|
10
|
+
export { D as canAutoRead, R as getActivityLink, z as isIncludeActivity, M as mergeAdjacentNotifications, _ as sanitize, S as toClickableSpan };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { default as L } from 'react';
|
|
2
|
+
declare const E: {
|
|
3
|
+
".MuiOutlinedInput-root": {
|
|
4
|
+
"&:hover": {
|
|
5
|
+
fieldset: {
|
|
6
|
+
borderColor: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
"&.Mui-focused": {
|
|
10
|
+
fieldset: {
|
|
11
|
+
borderColor: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
declare function re({ value: t, onChange: f, onValueValidate: c, errorMsg: i, editable: h, component: x, placeholder: a, rows: g, maxLength: r, icon: w, label: b, children: p, tooltip: I, inline: P, style: X, verified: Y, canEdit: k, renderValue: v, disabled: y, hidePreview: z }: {
|
|
17
|
+
value: any;
|
|
18
|
+
onChange?: (() => void) | undefined;
|
|
19
|
+
onValueValidate?: (() => void) | undefined;
|
|
20
|
+
errorMsg?: string | undefined;
|
|
21
|
+
editable?: boolean | undefined;
|
|
22
|
+
component?: string | undefined;
|
|
23
|
+
placeholder?: string | undefined;
|
|
24
|
+
rows?: number | undefined;
|
|
25
|
+
maxLength: any;
|
|
26
|
+
icon: any;
|
|
27
|
+
label?: string | undefined;
|
|
28
|
+
children: any;
|
|
29
|
+
tooltip: any;
|
|
30
|
+
inline?: boolean | undefined;
|
|
31
|
+
style?: {} | undefined;
|
|
32
|
+
verified?: boolean | undefined;
|
|
33
|
+
canEdit?: boolean | undefined;
|
|
34
|
+
renderValue: any;
|
|
35
|
+
disabled?: boolean | undefined;
|
|
36
|
+
hidePreview?: boolean | undefined;
|
|
37
|
+
}): L.ReactElement<unknown, string | L.JSXElementConstructor<any>> | null;
|
|
38
|
+
declare const F: {
|
|
39
|
+
width: string;
|
|
40
|
+
"& .MuiFormHelperText-root": {
|
|
41
|
+
position: string;
|
|
42
|
+
bottom: number;
|
|
43
|
+
left: number;
|
|
44
|
+
margin: number;
|
|
45
|
+
};
|
|
46
|
+
fieldset: {
|
|
47
|
+
borderColor: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export { E as commonInputStyle, re as default, F as inputFieldStyle };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { O as default };
|
|
2
|
+
declare function O({ user: i, settings: n, onSave: m, isMobile: s, ...a }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
user: any;
|
|
5
|
+
settings: any;
|
|
6
|
+
onSave: any;
|
|
7
|
+
isMobile: any;
|
|
8
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { T as default };
|
|
2
|
+
declare function T({ value: e, onChange: a, error: o, helperText: i, label: m, timezone: n }: {
|
|
3
|
+
value: any;
|
|
4
|
+
onChange: any;
|
|
5
|
+
error: any;
|
|
6
|
+
helperText: any;
|
|
7
|
+
label: any;
|
|
8
|
+
timezone: any;
|
|
9
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { go as default };
|
|
2
|
+
declare function go({ open: j, onClose: u, data: m, selected: i, onSelect: h, timezone: F }: {
|
|
3
|
+
open: any;
|
|
4
|
+
onClose: any;
|
|
5
|
+
data: any;
|
|
6
|
+
selected: any;
|
|
7
|
+
onSelect: any;
|
|
8
|
+
timezone: any;
|
|
9
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const $: import('@emotion/styled').StyledComponent<import('@mui/material').MenuProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
2
|
+
declare function I({ data: n, selected: r, onSelect: m }: {
|
|
3
|
+
data: any;
|
|
4
|
+
selected: any;
|
|
5
|
+
onSelect: any;
|
|
6
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
7
|
+
export { $ as MenuDiv, I as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { L as default };
|
|
2
|
+
declare function L({ data: e, open: a, onSelect: u, anchorEl: i, selected: r }: {
|
|
3
|
+
data: any;
|
|
4
|
+
open: any;
|
|
5
|
+
onSelect: any;
|
|
6
|
+
anchorEl: any;
|
|
7
|
+
selected: any;
|
|
8
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as d } from 'react';
|
|
2
|
+
declare const h: import('@emotion/styled').StyledComponent<import('@mui/material').MenuProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
3
|
+
declare function c({ icon: e, selected: t, onClick: o, children: r }: {
|
|
4
|
+
icon: any;
|
|
5
|
+
selected: any;
|
|
6
|
+
onClick: any;
|
|
7
|
+
children: any;
|
|
8
|
+
}): d.ReactElement<unknown, string | d.JSXElementConstructor<any>>;
|
|
9
|
+
export { h as StyledMenu, c as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { y as default };
|
|
2
|
+
declare function y({ session: r, spaceGateway: i, spaceStatus: p, refresh: m }: {
|
|
3
|
+
session: any;
|
|
4
|
+
spaceGateway: any;
|
|
5
|
+
spaceStatus: any;
|
|
6
|
+
refresh: any;
|
|
7
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { Le as default };
|
|
2
|
+
declare function Le({ children: v, notLoginContent: N, currentTab: x, contentProps: _, disableAutoRedirect: E, hideFooter: cr, headerProps: pr, footerProps: mr, userDid: S, stickySidebar: O, embed: Q, onlyProfile: b }: {
|
|
3
|
+
children: any;
|
|
4
|
+
notLoginContent?: null | undefined;
|
|
5
|
+
currentTab: any;
|
|
6
|
+
contentProps?: {} | undefined;
|
|
7
|
+
disableAutoRedirect?: boolean | undefined;
|
|
8
|
+
hideFooter?: boolean | undefined;
|
|
9
|
+
headerProps?: {} | undefined;
|
|
10
|
+
footerProps?: {} | undefined;
|
|
11
|
+
userDid?: undefined;
|
|
12
|
+
stickySidebar?: boolean | undefined;
|
|
13
|
+
embed?: boolean | undefined;
|
|
14
|
+
onlyProfile?: boolean | undefined;
|
|
15
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | null;
|