@blocklet/ui-react 3.0.2 → 3.0.3
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/UserCenter/components/third-party-login/index.js +29 -23
- package/lib/{packages/blocklet-ui-react/src → types}/contexts/config-user-space.d.ts +1 -1
- package/package.json +5 -5
- package/src/Header/index.tsx +2 -0
- package/src/UserCenter/components/third-party-login/index.tsx +2 -0
- package/src/UserCenter/components/user-info/timezone-select.tsx +1 -0
- package/src/contexts/config-user-space.tsx +1 -2
- package/vite.config.mjs +4 -1
- package/lib/packages/blocklet-ui-react/build.config.d.ts +0 -2
- package/lib/packages/blocklet-ui-react/jest.config.d.ts +0 -8
- package/lib/packages/blocklet-ui-react/lib/@types/index.d.ts +0 -3
- package/lib/packages/blocklet-ui-react/lib/BlockletStudio/index.d.ts +0 -26
- package/lib/packages/blocklet-ui-react/lib/ComponentInstaller/index.d.ts +0 -18
- package/lib/packages/blocklet-ui-react/lib/ComponentInstaller/installer-item.d.ts +0 -18
- package/lib/packages/blocklet-ui-react/lib/ComponentInstaller/locales.d.ts +0 -28
- package/lib/packages/blocklet-ui-react/lib/ComponentInstaller/use-component-installed.d.ts +0 -12
- package/lib/packages/blocklet-ui-react/lib/ComponentManager/components/add-component.d.ts +0 -13
- package/lib/packages/blocklet-ui-react/lib/ComponentManager/components/check-component.d.ts +0 -2
- package/lib/packages/blocklet-ui-react/lib/ComponentManager/components/publish-component.d.ts +0 -7
- package/lib/packages/blocklet-ui-react/lib/ComponentManager/components/resource-dialog.d.ts +0 -11
- package/lib/packages/blocklet-ui-react/lib/ComponentManager/index.d.ts +0 -4
- package/lib/packages/blocklet-ui-react/lib/ComponentManager/libs/locales.d.ts +0 -19
- package/lib/packages/blocklet-ui-react/lib/Dashboard/index.d.ts +0 -27
- package/lib/packages/blocklet-ui-react/lib/Footer/brand.d.ts +0 -15
- package/lib/packages/blocklet-ui-react/lib/Footer/copyright.d.ts +0 -13
- package/lib/packages/blocklet-ui-react/lib/Footer/index.d.ts +0 -2
- package/lib/packages/blocklet-ui-react/lib/Footer/internal-footer.d.ts +0 -29
- package/lib/packages/blocklet-ui-react/lib/Footer/layout/plain.d.ts +0 -19
- package/lib/packages/blocklet-ui-react/lib/Footer/layout/row.d.ts +0 -13
- package/lib/packages/blocklet-ui-react/lib/Footer/layout/standard.d.ts +0 -21
- package/lib/packages/blocklet-ui-react/lib/Footer/links.d.ts +0 -20
- package/lib/packages/blocklet-ui-react/lib/Footer/social-media.d.ts +0 -14
- package/lib/packages/blocklet-ui-react/lib/Header/index.d.ts +0 -2
- package/lib/packages/blocklet-ui-react/lib/Icon/index.d.ts +0 -7
- package/lib/packages/blocklet-ui-react/lib/Notifications/Snackbar.d.ts +0 -8
- package/lib/packages/blocklet-ui-react/lib/Notifications/hooks/use-title.d.ts +0 -9
- package/lib/packages/blocklet-ui-react/lib/Notifications/hooks/use-width.d.ts +0 -2
- package/lib/packages/blocklet-ui-react/lib/Notifications/utils.d.ts +0 -10
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/config-inviter.d.ts +0 -4
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/config-profile.d.ts +0 -5
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/danger-zone.d.ts +0 -2
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/editable-field.d.ts +0 -50
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/nft.d.ts +0 -4
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/notification.d.ts +0 -5
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/passport.d.ts +0 -5
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/privacy.d.ts +0 -5
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/settings.d.ts +0 -8
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/status-dialog/date-picker.d.ts +0 -9
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/status-dialog/index.d.ts +0 -9
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/status-selector/duration-menu.d.ts +0 -7
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/status-selector/index.d.ts +0 -8
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/status-selector/menu-item.d.ts +0 -9
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/storage/action.d.ts +0 -7
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/storage/connected.d.ts +0 -4
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/storage/delete.d.ts +0 -5
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/storage/disconnect.d.ts +0 -2
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/storage/icons/empty-spaces-nft.svg.d.ts +0 -3
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/storage/index.d.ts +0 -2
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/storage/preview-nft.d.ts +0 -5
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/third-party-login/index.d.ts +0 -4
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/third-party-login/third-party-item.d.ts +0 -4
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/user-center.d.ts +0 -15
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/user-info/address.d.ts +0 -7
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/user-info/index.d.ts +0 -5
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/user-info/link-preview-input.d.ts +0 -6
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/user-info/metadata.d.ts +0 -7
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/user-info/switch-role.d.ts +0 -6
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/user-info/timezone-select.d.ts +0 -7
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/user-info/user-basic-info.d.ts +0 -12
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/user-info/user-info-item.d.ts +0 -6
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/user-info/user-info.d.ts +0 -6
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/user-info/user-status.d.ts +0 -9
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/user-info/utils.d.ts +0 -33
- package/lib/packages/blocklet-ui-react/lib/UserCenter/components/webhook-item.d.ts +0 -10
- package/lib/packages/blocklet-ui-react/lib/UserCenter/index.d.ts +0 -2
- package/lib/packages/blocklet-ui-react/lib/UserCenter/libs/locales.d.ts +0 -513
- package/lib/packages/blocklet-ui-react/lib/UserCenter/libs/utils.d.ts +0 -3
- package/lib/packages/blocklet-ui-react/lib/UserSessions/components/user-session-info.d.ts +0 -5
- package/lib/packages/blocklet-ui-react/lib/UserSessions/components/user-sessions.d.ts +0 -8
- package/lib/packages/blocklet-ui-react/lib/UserSessions/index.d.ts +0 -2
- package/lib/packages/blocklet-ui-react/lib/UserSessions/libs/locales.d.ts +0 -88
- package/lib/packages/blocklet-ui-react/lib/UserSessions/libs/utils.d.ts +0 -3
- package/lib/packages/blocklet-ui-react/lib/blocklets.d.ts +0 -18
- package/lib/packages/blocklet-ui-react/lib/common/domain-warning.d.ts +0 -12
- package/lib/packages/blocklet-ui-react/lib/common/header-addons.d.ts +0 -19
- package/lib/packages/blocklet-ui-react/lib/common/link-blocker.d.ts +0 -4
- package/lib/packages/blocklet-ui-react/lib/common/notification-addon.d.ts +0 -10
- package/lib/packages/blocklet-ui-react/lib/common/overridable-theme-provider.d.ts +0 -12
- package/lib/packages/blocklet-ui-react/lib/common/wallet-hidden-topbar.d.ts +0 -2
- package/lib/packages/blocklet-ui-react/lib/common/ws.d.ts +0 -4
- package/lib/packages/blocklet-ui-react/lib/contexts/config-user-space.d.ts +0 -7
- package/lib/packages/blocklet-ui-react/lib/hooks/use-mobile.d.ts +0 -4
- package/lib/packages/blocklet-ui-react/lib/index.d.ts +0 -12
- package/lib/packages/blocklet-ui-react/lib/libs/client.d.ts +0 -3
- package/lib/packages/blocklet-ui-react/lib/libs/constant.d.ts +0 -2
- package/lib/packages/blocklet-ui-react/lib/libs/spaces.d.ts +0 -3
- package/lib/packages/blocklet-ui-react/lib/libs/with-hide-when-embed.d.ts +0 -5
- package/lib/packages/blocklet-ui-react/lib/types.d.ts +0 -37
- package/lib/packages/blocklet-ui-react/lib/utils.d.ts +0 -11
- package/lib/packages/blocklet-ui-react/tools/auto-exports.d.ts +0 -1
- package/lib/packages/blocklet-ui-react/tools/jest.d.ts +0 -1
- package/lib/packages/blocklet-ui-react/vite.config.d.mts +0 -2
- /package/lib/{packages/blocklet-ui-react/src → types}/@types/index.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/BlockletStudio/index.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/ComponentInstaller/ComponentInstaller.stories.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/ComponentInstaller/demo/basic.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/ComponentInstaller/demo/mock-optional-components.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/ComponentInstaller/index.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/ComponentInstaller/installer-item.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/ComponentInstaller/locales.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/ComponentInstaller/use-component-installed.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/ComponentManager/components/add-component.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/ComponentManager/components/check-component.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/ComponentManager/components/publish-component.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/ComponentManager/components/resource-dialog.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/ComponentManager/index.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/ComponentManager/libs/locales.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Dashboard/Dashboard.stories.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Dashboard/demo/basic.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Dashboard/index.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Footer/Footer.stories.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Footer/brand.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Footer/copyright.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Footer/demo/arcblock-site.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Footer/demo/brand.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Footer/demo/copyright.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Footer/demo/footer.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Footer/demo/links.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Footer/demo/social-media-icons.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Footer/index.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Footer/internal-footer.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Footer/layout/plain.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Footer/layout/row.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Footer/layout/standard.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Footer/links.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Footer/social-media.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Header/Header.stories.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Header/demo/addons-customization.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Header/demo/basic.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Header/demo/fixtures/index.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Header/demo/with-enable-connect-enable-locale.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Header/index.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Icon/Icon.stories.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Icon/demo/basic.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Icon/index.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Notifications/Snackbar.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Notifications/hooks/use-title.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Notifications/hooks/use-width.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/Notifications/utils.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/config-inviter.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/config-profile.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/danger-zone.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/editable-field.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/nft.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/notification.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/passport.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/privacy.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/settings.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/status-dialog/date-picker.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/status-dialog/index.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/status-selector/duration-menu.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/status-selector/index.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/status-selector/menu-item.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/storage/action.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/storage/connected.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/storage/delete.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/storage/disconnect.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/storage/index.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/storage/preview-nft.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/third-party-login/index.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/third-party-login/third-party-item.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/user-center.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/user-info/address.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/user-info/index.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/user-info/link-preview-input.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/user-info/metadata.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/user-info/switch-role.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/user-info/timezone-select.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/user-info/user-basic-info.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/user-info/user-info-item.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/user-info/user-info.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/user-info/user-status.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/user-info/utils.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/components/webhook-item.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/index.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/libs/locales.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserCenter/libs/utils.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserSessions/components/user-session-info.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserSessions/components/user-sessions.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserSessions/index.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserSessions/libs/locales.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/UserSessions/libs/utils.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/blocklets.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/common/domain-warning.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/common/header-addons.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/common/link-blocker.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/common/notification-addon.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/common/overridable-theme-provider.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/common/wallet-hidden-topbar.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/common/ws.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/hooks/use-mobile.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/index.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/libs/client.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/libs/constant.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/libs/spaces.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/libs/with-hide-when-embed.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/types.d.ts +0 -0
- /package/lib/{packages/blocklet-ui-react/src → types}/utils.d.ts +0 -0
|
@@ -63,38 +63,44 @@ function q({ user: r }) {
|
|
|
63
63
|
display: "grid",
|
|
64
64
|
gridTemplateColumns: "1fr min-content"
|
|
65
65
|
},
|
|
66
|
-
children: !h.length && !g.length && !y.length ?
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
behavior: "only-new",
|
|
70
|
-
action: "connect",
|
|
71
|
-
createMode: "connect",
|
|
72
|
-
createButtonText: "Add Passkey",
|
|
73
|
-
onSuccess: a,
|
|
74
|
-
onError: a,
|
|
75
|
-
dense: !0
|
|
76
|
-
}
|
|
77
|
-
) : /* @__PURE__ */ L(O, { children: [
|
|
78
|
-
h.map((e) => /* @__PURE__ */ s(u, { item: e }, e == null ? void 0 : e.provider)),
|
|
79
|
-
g.map((e) => /* @__PURE__ */ s(u, { item: e }, e.id)),
|
|
80
|
-
y.map((e) => /* @__PURE__ */ s(u, { item: e }, e.id)),
|
|
81
|
-
A.wallet || A.arcSphere ? null : /* @__PURE__ */ s(
|
|
66
|
+
children: !h.length && !g.length && !y.length ? (
|
|
67
|
+
// @ts-expect-error 忽略 ref 类型
|
|
68
|
+
/* @__PURE__ */ s(
|
|
82
69
|
T,
|
|
83
70
|
{
|
|
84
71
|
behavior: "only-new",
|
|
85
72
|
action: "connect",
|
|
86
73
|
createMode: "connect",
|
|
87
|
-
createButtonText: "Add
|
|
74
|
+
createButtonText: "Add Passkey",
|
|
88
75
|
onSuccess: a,
|
|
89
76
|
onError: a,
|
|
90
|
-
dense: !0
|
|
91
|
-
sx: {
|
|
92
|
-
px: 1.5,
|
|
93
|
-
py: 1,
|
|
94
|
-
gap: 0.75
|
|
95
|
-
}
|
|
77
|
+
dense: !0
|
|
96
78
|
}
|
|
97
79
|
)
|
|
80
|
+
) : /* @__PURE__ */ L(O, { children: [
|
|
81
|
+
h.map((e) => /* @__PURE__ */ s(u, { item: e }, e == null ? void 0 : e.provider)),
|
|
82
|
+
g.map((e) => /* @__PURE__ */ s(u, { item: e }, e.id)),
|
|
83
|
+
y.map((e) => /* @__PURE__ */ s(u, { item: e }, e.id)),
|
|
84
|
+
A.wallet || A.arcSphere ? null : (
|
|
85
|
+
// @ts-expect-error 忽略 ref 类型
|
|
86
|
+
/* @__PURE__ */ s(
|
|
87
|
+
T,
|
|
88
|
+
{
|
|
89
|
+
behavior: "only-new",
|
|
90
|
+
action: "connect",
|
|
91
|
+
createMode: "connect",
|
|
92
|
+
createButtonText: "Add New Passkey",
|
|
93
|
+
onSuccess: a,
|
|
94
|
+
onError: a,
|
|
95
|
+
dense: !0,
|
|
96
|
+
sx: {
|
|
97
|
+
px: 1.5,
|
|
98
|
+
py: 1,
|
|
99
|
+
gap: 0.75
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
)
|
|
103
|
+
)
|
|
98
104
|
] })
|
|
99
105
|
}
|
|
100
106
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/ui-react",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "Some useful front-end web components that can be used in Blocklets.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@abtnode/constant": "^1.16.44",
|
|
36
36
|
"@abtnode/util": "^1.16.44",
|
|
37
|
-
"@arcblock/bridge": "3.0.
|
|
38
|
-
"@arcblock/icons": "3.0.
|
|
39
|
-
"@arcblock/react-hooks": "3.0.
|
|
37
|
+
"@arcblock/bridge": "3.0.3",
|
|
38
|
+
"@arcblock/icons": "3.0.3",
|
|
39
|
+
"@arcblock/react-hooks": "3.0.3",
|
|
40
40
|
"@arcblock/ws": "^1.20.14",
|
|
41
41
|
"@blocklet/constant": "^1.16.44",
|
|
42
42
|
"@blocklet/did-space-react": "^1.0.62",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"jest": "^29.7.0",
|
|
89
89
|
"unbuild": "^2.0.0"
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "2eebd00eee1be90587baa3847167f25d92643fa9"
|
|
92
92
|
}
|
package/src/Header/index.tsx
CHANGED
|
@@ -159,7 +159,9 @@ function Header({
|
|
|
159
159
|
// @ts-ignore
|
|
160
160
|
<HeaderAddons
|
|
161
161
|
formattedBlocklet={formattedBlocklet}
|
|
162
|
+
// @ts-ignore
|
|
162
163
|
addons={_addons}
|
|
164
|
+
// @ts-ignore
|
|
163
165
|
sessionManagerProps={sessionManagerProps}
|
|
164
166
|
showDomainWarningDialog={showDomainWarningDialog}
|
|
165
167
|
/>
|
|
@@ -156,6 +156,7 @@ export default function ThirdPartyLogin({ user }: { user: User }) {
|
|
|
156
156
|
gridTemplateColumns: '1fr min-content',
|
|
157
157
|
}}>
|
|
158
158
|
{!oauthAccounts.length && !passkeyAccounts.length && !walletAccounts.length ? (
|
|
159
|
+
// @ts-expect-error 忽略 ref 类型
|
|
159
160
|
<PasskeyActions
|
|
160
161
|
behavior="only-new"
|
|
161
162
|
action="connect"
|
|
@@ -177,6 +178,7 @@ export default function ThirdPartyLogin({ user }: { user: User }) {
|
|
|
177
178
|
return <ThirdPartyItem key={account.id} item={account as OAuthAccount} />;
|
|
178
179
|
})}
|
|
179
180
|
{browser.wallet || browser.arcSphere ? null : (
|
|
181
|
+
// @ts-expect-error 忽略 ref 类型
|
|
180
182
|
<PasskeyActions
|
|
181
183
|
behavior="only-new"
|
|
182
184
|
action="connect"
|
|
@@ -44,6 +44,7 @@ export function TimezoneSelect({ value, onChange, disabled = false, mode = 'self
|
|
|
44
44
|
disabled={disabled}
|
|
45
45
|
displayEmpty
|
|
46
46
|
variant="outlined"
|
|
47
|
+
// @ts-expect-error
|
|
47
48
|
placeholder="Timezone"
|
|
48
49
|
// eslint-disable-next-line react/no-unstable-nested-components
|
|
49
50
|
IconComponent={(props) => (
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { createContext, use, useMemo, useState, useEffect } from 'react';
|
|
2
2
|
import { SessionContext } from '@arcblock/did-connect/lib/Session';
|
|
3
3
|
|
|
4
|
-
import { SessionContext as TSessionContext } from '../@types';
|
|
5
|
-
import { Session } from '../../lib/@types';
|
|
4
|
+
import type { SessionContext as TSessionContext, Session } from '../@types';
|
|
6
5
|
|
|
7
6
|
export interface SpaceGateway {
|
|
8
7
|
did: string;
|
package/vite.config.mjs
CHANGED
|
@@ -11,11 +11,14 @@ export default defineConfig({
|
|
|
11
11
|
svgr({
|
|
12
12
|
include: ['**/*.svg', '**/*.svg?react'],
|
|
13
13
|
}),
|
|
14
|
+
dts({
|
|
15
|
+
outDir: 'lib/types',
|
|
16
|
+
entryRoot: 'src',
|
|
17
|
+
}),
|
|
14
18
|
noBundlePlugin({
|
|
15
19
|
root: 'src',
|
|
16
20
|
copy: ['**/*.png', '**/*.gif', '**/*.jpg', '**/*.jpeg'],
|
|
17
21
|
}),
|
|
18
|
-
dts(),
|
|
19
22
|
],
|
|
20
23
|
build: {
|
|
21
24
|
lib: {
|
|
@@ -1,26 +0,0 @@
|
|
|
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;
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export { e as default };
|
|
2
|
-
declare namespace e {
|
|
3
|
-
namespace zh {
|
|
4
|
-
let componentInstallerTitle: string;
|
|
5
|
-
let componentInstallerInstall: string;
|
|
6
|
-
let componentInstallerClose: string;
|
|
7
|
-
let componentInstallerRefresh: string;
|
|
8
|
-
let componentInstallerSuccessInstalled: string;
|
|
9
|
-
let componentInstallerSuggestions: string;
|
|
10
|
-
let componentInstallerNoDefinedInBlockletYML: string;
|
|
11
|
-
}
|
|
12
|
-
namespace en {
|
|
13
|
-
let componentInstallerTitle_1: string;
|
|
14
|
-
export { componentInstallerTitle_1 as componentInstallerTitle };
|
|
15
|
-
let componentInstallerInstall_1: string;
|
|
16
|
-
export { componentInstallerInstall_1 as componentInstallerInstall };
|
|
17
|
-
let componentInstallerClose_1: string;
|
|
18
|
-
export { componentInstallerClose_1 as componentInstallerClose };
|
|
19
|
-
let componentInstallerRefresh_1: string;
|
|
20
|
-
export { componentInstallerRefresh_1 as componentInstallerRefresh };
|
|
21
|
-
let componentInstallerSuccessInstalled_1: string;
|
|
22
|
-
export { componentInstallerSuccessInstalled_1 as componentInstallerSuccessInstalled };
|
|
23
|
-
let componentInstallerSuggestions_1: string;
|
|
24
|
-
export { componentInstallerSuggestions_1 as componentInstallerSuggestions };
|
|
25
|
-
let componentInstallerNoDefinedInBlockletYML_1: string;
|
|
26
|
-
export { componentInstallerNoDefinedInBlockletYML_1 as componentInstallerNoDefinedInBlockletYML };
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { B as default };
|
|
2
|
-
declare function B({ did: e, onInstalled: f, onError: p }: {
|
|
3
|
-
did: any;
|
|
4
|
-
onInstalled: any;
|
|
5
|
-
onError: any;
|
|
6
|
-
}): {
|
|
7
|
-
optComponents: any;
|
|
8
|
-
installed: any;
|
|
9
|
-
installStatus: {};
|
|
10
|
-
setInstallStatus: import('react').Dispatch<import('react').SetStateAction<{}>>;
|
|
11
|
-
definedInBlockletYML: any;
|
|
12
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
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>>;
|
package/lib/packages/blocklet-ui-react/lib/ComponentManager/components/publish-component.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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>>;
|
|
@@ -1,11 +0,0 @@
|
|
|
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>>;
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
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>>;
|
|
@@ -1,9 +0,0 @@
|
|
|
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;
|
|
@@ -1,10 +0,0 @@
|
|
|
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 };
|