@abtnode/ux 1.16.25-beta-44800645 → 1.16.25-beta-cfcab4af
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/es/actions.js +2 -4
- package/es/analytics/card.js +1 -2
- package/es/analytics/chart.js +1 -2
- package/es/analytics/disk.js +1 -2
- package/es/analytics/memory.js +1 -2
- package/es/analytics/runtime.js +1 -2
- package/es/analytics/traffic.js +1 -2
- package/es/blocklet/access/config-access.js +1 -3
- package/es/blocklet/access/index.js +1 -2
- package/es/blocklet/actions.js +1 -2
- package/es/blocklet/add-cert.js +1 -3
- package/es/blocklet/agreement-app.js +1 -2
- package/es/blocklet/agreement.js +1 -2
- package/es/blocklet/audit-logs.js +1 -2
- package/es/blocklet/blocklet-source.js +1 -2
- package/es/blocklet/component/add-component-button.js +1 -3
- package/es/blocklet/component/add-component-core.js +1 -3
- package/es/blocklet/component/component-cell.js +1 -2
- package/es/blocklet/component/configuration.js +1 -2
- package/es/blocklet/component/delete.js +1 -3
- package/es/blocklet/component/did-space/connect-to.js +1 -3
- package/es/blocklet/component/did-space/connected.js +1 -2
- package/es/blocklet/component/did-space/delete.js +1 -3
- package/es/blocklet/component/did-space/disconnect.js +1 -2
- package/es/blocklet/component/did-space/index.js +1 -2
- package/es/blocklet/component/did-space/item.js +1 -3
- package/es/blocklet/component/domain-list.js +1 -3
- package/es/blocklet/component/environment.js +1 -2
- package/es/blocklet/component/index.js +1 -3
- package/es/blocklet/component/navigation/locale-tabs.js +1 -3
- package/es/blocklet/component/navigation/navigation-actions.js +1 -2
- package/es/blocklet/component/navigation/navigation-dialog.js +1 -2
- package/es/blocklet/component/navigation/navigation-preview.js +1 -2
- package/es/blocklet/component/navigation/simple-select.js +1 -2
- package/es/blocklet/component/optional-component-cell.js +1 -2
- package/es/blocklet/component/related-components-dialog.js +1 -2
- package/es/blocklet/component/select-store.js +1 -3
- package/es/blocklet/component/selected/index.js +1 -2
- package/es/blocklet/component/sortable-tree.js +1 -3
- package/es/blocklet/component/space-connector.js +1 -3
- package/es/blocklet/component/space-selector.js +1 -2
- package/es/blocklet/component/step-actions.js +1 -2
- package/es/blocklet/component/store-blocklet-list.js +1 -3
- package/es/blocklet/config-navigation.js +1 -3
- package/es/blocklet/configuration.js +1 -2
- package/es/blocklet/disk-info.js +1 -2
- package/es/blocklet/install-from-url.js +1 -3
- package/es/blocklet/logo-uploader.js +1 -2
- package/es/blocklet/migration.js +1 -2
- package/es/blocklet/notification/email.js +1 -2
- package/es/blocklet/notification/index.js +1 -2
- package/es/blocklet/oauth/auth0.js +1 -2
- package/es/blocklet/oauth/common-settings.js +1 -2
- package/es/blocklet/oauth/federated-detail-dialog.js +1 -3
- package/es/blocklet/oauth/federated-invite-dialog.js +1 -2
- package/es/blocklet/oauth/federated-join-dialog.js +1 -2
- package/es/blocklet/oauth/federated-site-list.js +1 -3
- package/es/blocklet/oauth/federated.js +1 -3
- package/es/blocklet/oauth/index.js +1 -2
- package/es/blocklet/overview.js +1 -2
- package/es/blocklet/preferences/app-sk.js +1 -2
- package/es/blocklet/preferences/index.js +1 -2
- package/es/blocklet/publish/create-project.js +1 -2
- package/es/blocklet/publish/create-release.js +1 -3
- package/es/blocklet/publish/index.js +1 -2
- package/es/blocklet/publish/project-list.js +1 -2
- package/es/blocklet/publish/release-list.js +1 -3
- package/es/blocklet/publish/resource.js +1 -2
- package/es/blocklet/publish/select-components.js +1 -2
- package/es/blocklet/publish/tree.js +1 -2
- package/es/blocklet/purchase/common.js +1 -3
- package/es/blocklet/purchase/component-purchase.js +1 -3
- package/es/blocklet/router/action/add-domain-alias.js +1 -3
- package/es/blocklet/router/action/add-rule.js +1 -3
- package/es/blocklet/router/action/config-routing-rule.js +1 -3
- package/es/blocklet/router/action/delete-domain-alias.js +1 -3
- package/es/blocklet/router/action/delete-rule.js +1 -3
- package/es/blocklet/router/action/update-rule.js +1 -3
- package/es/blocklet/router/add-domain.js +1 -3
- package/es/blocklet/router/dns-tip.js +1 -2
- package/es/blocklet/router/domain-actions.js +1 -2
- package/es/blocklet/router/rule-actions.js +1 -2
- package/es/blocklet/router/rule-list.js +1 -2
- package/es/blocklet/runtime-info.js +1 -2
- package/es/blocklet/status.js +1 -2
- package/es/blocklet/storage/action.js +1 -3
- package/es/blocklet/storage/auto-check-update.js +1 -2
- package/es/blocklet/storage/backups.js +1 -3
- package/es/blocklet/storage/connect-to.js +1 -3
- package/es/blocklet/storage/connected.js +1 -2
- package/es/blocklet/storage/delete.js +1 -3
- package/es/blocklet/storage/disconnect.js +1 -2
- package/es/blocklet/storage/item.js +1 -3
- package/es/blocklet/storage/preview-nft.js +1 -3
- package/es/blocklet/transfer-owner.js +1 -3
- package/es/blocklet/version.js +1 -3
- package/es/certificate.js +1 -3
- package/es/clear-cache.js +1 -2
- package/es/confirm.js +1 -2
- package/es/delete-confirm.js +1 -2
- package/es/form/form-autocomplete-input.js +2 -5
- package/es/form/form-select-input.js +1 -3
- package/es/form/form-text-input.js +1 -3
- package/es/form/input-triggers.js +1 -3
- package/es/invitation/invitation-app.js +1 -2
- package/es/invitation/invitation-passport.js +1 -3
- package/es/invitation/invitation-receive.js +1 -2
- package/es/invitation/invitation-success.js +1 -2
- package/es/invitation/invitation-user.js +1 -2
- package/es/invitation/invitation.js +1 -3
- package/es/issue-passport.js +1 -2
- package/es/launch-blocklet/page-header.js +1 -2
- package/es/layout/addon.js +1 -2
- package/es/logs/download.js +1 -2
- package/es/logs/log-terminal.js +1 -2
- package/es/lost-passport.js +1 -2
- package/es/nav-logo.js +1 -3
- package/es/notifications/addon.js +1 -2
- package/es/notifications/list.js +1 -3
- package/es/notifications/notification.js +1 -2
- package/es/notifications/page.js +1 -3
- package/es/passport-tag.js +1 -2
- package/es/schema-form/color-input.js +1 -2
- package/es/schema-form/index.js +1 -3
- package/es/schema-form/passport-input.js +1 -2
- package/es/store/add.js +1 -3
- package/es/store/delete.js +1 -3
- package/es/store/item.js +1 -2
- package/es/subscription.js +1 -3
- package/es/team/members/actions.js +1 -3
- package/es/team/members/index.js +1 -2
- package/es/team/members/invitations.js +1 -2
- package/es/team/members/invite-member.js +1 -3
- package/es/team/members/issue-passport.js +1 -3
- package/es/team/members/member.js +1 -2
- package/es/team/members/passport-issuances.js +1 -2
- package/es/team/members/passport-item.js +1 -2
- package/es/team/members/passports.js +1 -2
- package/es/team/members/toggle-user-approval.js +1 -3
- package/es/team/members/transfer-node.js +1 -3
- package/es/team/passports/color.js +1 -3
- package/es/team/passports/detail.js +1 -3
- package/es/team/passports/index.js +1 -3
- package/es/team/passports/mutate-role.js +1 -3
- package/es/team/passports/trusted-factories.js +1 -2
- package/es/team/passports/trusted-factory.js +1 -3
- package/es/team/passports/trusted-issuer.js +1 -3
- package/es/team/passports/trusted-issuers.js +1 -2
- package/lib/actions.js +1 -1
- package/lib/analytics/card.js +1 -1
- package/lib/analytics/chart.js +2 -2
- package/lib/analytics/disk.js +1 -1
- package/lib/analytics/runtime.js +1 -1
- package/lib/analytics/traffic.js +1 -1
- package/lib/blocklet/access/index.js +1 -1
- package/lib/blocklet/actions.js +6 -6
- package/lib/blocklet/add-cert.js +1 -1
- package/lib/blocklet/agreement-app.js +1 -1
- package/lib/blocklet/app-avatar.js +1 -1
- package/lib/blocklet/blocklet-source.js +1 -1
- package/lib/blocklet/bundle-avatar.js +1 -1
- package/lib/blocklet/component/add-component-core.js +14 -14
- package/lib/blocklet/component/button.js +1 -1
- package/lib/blocklet/component/component-cell.js +2 -2
- package/lib/blocklet/component/delete.js +1 -1
- package/lib/blocklet/component/did-space/connect-to.js +2 -2
- package/lib/blocklet/component/did-space/delete.js +3 -3
- package/lib/blocklet/component/did-space/disconnect.js +1 -1
- package/lib/blocklet/component/did-space/index.js +3 -3
- package/lib/blocklet/component/did-space/item.js +2 -2
- package/lib/blocklet/component/domain-list.js +4 -4
- package/lib/blocklet/component/environment.js +1 -1
- package/lib/blocklet/component/index.js +2 -2
- package/lib/blocklet/component/navigation/navigation-dialog.js +6 -6
- package/lib/blocklet/component/navigation/navigation-preview.js +3 -3
- package/lib/blocklet/component/navigation/simple-select.js +1 -1
- package/lib/blocklet/component/select-store.js +1 -1
- package/lib/blocklet/component/setting.js +1 -1
- package/lib/blocklet/component/sortable-tree.js +1 -1
- package/lib/blocklet/component/space-connector.js +9 -9
- package/lib/blocklet/component/space-selector.js +2 -2
- package/lib/blocklet/component/start.js +1 -1
- package/lib/blocklet/component/store-blocklet-list.js +2 -2
- package/lib/blocklet/component/switch-control.js +1 -1
- package/lib/blocklet/config-navigation.js +1 -1
- package/lib/blocklet/configuration.js +3 -3
- package/lib/blocklet/disk-info.js +1 -1
- package/lib/blocklet/install-from-url.js +1 -1
- package/lib/blocklet/log.js +1 -1
- package/lib/blocklet/logo-uploader.js +3 -3
- package/lib/blocklet/migration.js +1 -1
- package/lib/blocklet/mode.js +1 -1
- package/lib/blocklet/notification/email.js +6 -6
- package/lib/blocklet/oauth/auth0.js +6 -6
- package/lib/blocklet/oauth/common-settings.js +4 -4
- package/lib/blocklet/oauth/federated-detail-dialog.js +4 -4
- package/lib/blocklet/oauth/federated-invite-dialog.js +2 -2
- package/lib/blocklet/oauth/federated-join-dialog.js +3 -3
- package/lib/blocklet/oauth/federated-site-list.js +5 -5
- package/lib/blocklet/oauth/federated.js +6 -6
- package/lib/blocklet/overview.js +3 -3
- package/lib/blocklet/page-group.js +1 -1
- package/lib/blocklet/preferences/index.js +2 -2
- package/lib/blocklet/publish/create-project.js +2 -2
- package/lib/blocklet/publish/create-release.js +5 -5
- package/lib/blocklet/publish/index.js +1 -1
- package/lib/blocklet/publish/project-list.js +1 -1
- package/lib/blocklet/publish/release-list.js +1 -1
- package/lib/blocklet/publish/select-components.js +1 -1
- package/lib/blocklet/purchase/component-purchase.js +1 -1
- package/lib/blocklet/resource-type.js +2 -2
- package/lib/blocklet/router/action/add-domain-alias.js +1 -1
- package/lib/blocklet/router/action/add-rule.js +2 -2
- package/lib/blocklet/router/action/config-routing-rule.js +2 -2
- package/lib/blocklet/router/action/update-rule.js +1 -1
- package/lib/blocklet/router/add-domain.js +1 -1
- package/lib/blocklet/router/dns-tip.js +1 -1
- package/lib/blocklet/router/domain-actions.js +1 -1
- package/lib/blocklet/router/rule-actions.js +1 -1
- package/lib/blocklet/router/rule-list.js +1 -1
- package/lib/blocklet/runtime-info.js +1 -1
- package/lib/blocklet/status.js +1 -1
- package/lib/blocklet/storage/action.js +2 -2
- package/lib/blocklet/storage/auto-backup.js +1 -1
- package/lib/blocklet/storage/auto-check-update.js +1 -1
- package/lib/blocklet/storage/backups.js +1 -1
- package/lib/blocklet/storage/connect-to.js +2 -2
- package/lib/blocklet/storage/delete.js +4 -4
- package/lib/blocklet/storage/disconnect.js +1 -1
- package/lib/blocklet/storage/item.js +2 -2
- package/lib/blocklet/storage/preview-nft.js +2 -2
- package/lib/blocklet/util.js +2 -2
- package/lib/blocklet/version.js +1 -1
- package/lib/clear-cache.js +2 -2
- package/lib/click-to-copy.js +1 -1
- package/lib/confirm.js +1 -1
- package/lib/contexts/blocklet-storage.js +1 -1
- package/lib/contexts/node.js +1 -1
- package/lib/delete-confirm.js +1 -1
- package/lib/did-address.js +1 -1
- package/lib/empty-spinner.js +1 -1
- package/lib/exchange-passport.js +3 -3
- package/lib/form/form-autocomplete-input.js +2 -2
- package/lib/form/form-select-input.js +2 -2
- package/lib/form/form-text-input.js +2 -2
- package/lib/hooks/blocklet.js +15 -15
- package/lib/hooks/confirm.js +3 -3
- package/lib/hooks/url-evaluation.js +1 -1
- package/lib/hooks/use-app-logo.js +1 -1
- package/lib/hooks/use-auto-backup.js +1 -1
- package/lib/hooks/use-auto-check-update.js +1 -1
- package/lib/hooks/use-backup-progress.js +1 -1
- package/lib/hooks/use-backups.js +1 -1
- package/lib/hooks/use-blocklet-info-for-connect-did-spaces.js +3 -3
- package/lib/hooks/use-bundle-logo.js +1 -1
- package/lib/hooks/use-navigation.js +1 -1
- package/lib/hooks/use-space-gateways.js +3 -3
- package/lib/images.js +1 -1
- package/lib/invitation/invitation-app.js +1 -1
- package/lib/invitation/invitation-receive.js +5 -5
- package/lib/invitation/invitation.js +3 -3
- package/lib/issue-passport.js +2 -2
- package/lib/launch-blocklet/content-layout.js +1 -1
- package/lib/layout/addon.js +1 -1
- package/lib/locales/index.js +1 -1
- package/lib/logs/log-terminal.js +1 -1
- package/lib/lost-passport.js +3 -3
- package/lib/nav-logo.js +1 -1
- package/lib/notifications/default-icon-variants.js +1 -1
- package/lib/notifications/notification.js +1 -1
- package/lib/notifications/tag.js +1 -1
- package/lib/passport-tag.js +1 -1
- package/lib/permission.js +1 -1
- package/lib/relative-time.js +1 -1
- package/lib/schema-form/index.js +1 -1
- package/lib/schema-form/passport-input.js +1 -1
- package/lib/schema-form/text-input.js +1 -1
- package/lib/subscription.js +1 -1
- package/lib/tag.js +1 -1
- package/lib/team/members/index.js +5 -5
- package/lib/team/members/invitations.js +1 -1
- package/lib/team/members/member.js +1 -1
- package/lib/team/members/passport-item.js +1 -1
- package/lib/team/members/passports.js +2 -2
- package/lib/team/passports/color.js +1 -1
- package/lib/team/passports/detail.js +1 -1
- package/lib/team/passports/index.js +1 -1
- package/lib/team/passports/trusted-factories.js +2 -2
- package/lib/team/passports/trusted-factory.js +1 -1
- package/lib/team/passports/trusted-issuer.js +2 -2
- package/lib/team/passports/trusted-issuers.js +2 -2
- package/lib/team/search-input.js +1 -1
- package/lib/util/index.js +7 -7
- package/lib/util/space-gateway.js +1 -1
- package/lib/util/spaces.js +3 -3
- package/lib/wrap-locale.js +1 -1
- package/package.json +17 -17
|
@@ -14,9 +14,7 @@ import isUrl from 'is-url';
|
|
|
14
14
|
import joinUrl from 'url-join';
|
|
15
15
|
import { useBlockletContext } from '../../contexts/blocklet';
|
|
16
16
|
import { useNodeContext } from '../../contexts/node';
|
|
17
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
17
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
20
18
|
const FederatedDetailDialog = /*#__PURE__*/forwardRef((props, ref) => {
|
|
21
19
|
const {
|
|
22
20
|
t
|
|
@@ -8,8 +8,7 @@ import Dialog from '@arcblock/ux/lib/Dialog';
|
|
|
8
8
|
import CodeBlock from '@arcblock/ux/lib/CodeBlock';
|
|
9
9
|
import copy from 'copy-to-clipboard';
|
|
10
10
|
import { useTheme } from '@arcblock/ux/lib/Theme';
|
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
12
|
const FederatedInviteDialog = /*#__PURE__*/forwardRef((props, ref) => {
|
|
14
13
|
const theme = useTheme();
|
|
15
14
|
const leavingScreen = theme?.transitions?.duration?.leavingScreen || 300;
|
|
@@ -10,8 +10,7 @@ import noop from 'lodash/noop';
|
|
|
10
10
|
import isUrl from 'is-url';
|
|
11
11
|
import { useBlockletContext } from '../../contexts/blocklet';
|
|
12
12
|
import { useNodeContext } from '../../contexts/node';
|
|
13
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
14
|
const FederatedJoinDialog = /*#__PURE__*/forwardRef((props, ref) => {
|
|
16
15
|
const {
|
|
17
16
|
t
|
|
@@ -16,9 +16,7 @@ import { useNodeContext } from '../../contexts/node';
|
|
|
16
16
|
import useConfirm from '../../hooks/confirm';
|
|
17
17
|
import FederatedDetailDialog from './federated-detail-dialog';
|
|
18
18
|
import FederatedInviteDialog from './federated-invite-dialog';
|
|
19
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
20
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
19
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
22
20
|
function FederatedSiteList({
|
|
23
21
|
mode
|
|
24
22
|
}) {
|
|
@@ -10,9 +10,7 @@ import { useBlockletContext } from '../../contexts/blocklet';
|
|
|
10
10
|
import FederatedSiteList from './federated-site-list';
|
|
11
11
|
import FederatedJoinDialog from './federated-join-dialog';
|
|
12
12
|
import FederatedInviteDialog from './federated-invite-dialog';
|
|
13
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
16
14
|
export default function FederatedLogin() {
|
|
17
15
|
const federatedInviteRef = useRef(null);
|
|
18
16
|
const federatedJoinRef = useRef(null);
|
|
@@ -7,8 +7,7 @@ import { useContext, useState } from 'react';
|
|
|
7
7
|
import OAuthAuth0 from './auth0';
|
|
8
8
|
import CommonSettings from './common-settings';
|
|
9
9
|
import FederatedLogin from './federated';
|
|
10
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
11
|
function OAuth() {
|
|
13
12
|
const {
|
|
14
13
|
t
|
package/es/blocklet/overview.js
CHANGED
|
@@ -15,8 +15,7 @@ import { formatToDatetime, getExplorerLink } from '../util';
|
|
|
15
15
|
import BlockletStatus from './status';
|
|
16
16
|
import { isServerless } from './util';
|
|
17
17
|
import DomainListWithPermission from './component/domain-list';
|
|
18
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
19
|
const WalletType = {
|
|
21
20
|
arcblock: 'ArcBlock',
|
|
22
21
|
ethereum: 'Ethereum'
|
|
@@ -13,8 +13,7 @@ import Confirm from '../../confirm';
|
|
|
13
13
|
import { useSessionContext } from '../../contexts/session';
|
|
14
14
|
import { useBlockletContext } from '../../contexts/blocklet';
|
|
15
15
|
import { isRunning } from '../../util';
|
|
16
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
17
|
export default function AppSk({
|
|
19
18
|
initialValue,
|
|
20
19
|
onChange,
|
|
@@ -23,8 +23,7 @@ import BlockletNotification from '../notification';
|
|
|
23
23
|
import Access from '../access/index';
|
|
24
24
|
import { useNodeContext } from '../../contexts/node';
|
|
25
25
|
import OAuth from '../oauth';
|
|
26
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
27
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
26
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
28
27
|
const addComponentTabs = ({
|
|
29
28
|
tabs,
|
|
30
29
|
blocklet,
|
|
@@ -15,8 +15,7 @@ import Toast from '@arcblock/ux/lib/Toast';
|
|
|
15
15
|
import { useNodeContext } from '../../contexts/node';
|
|
16
16
|
import { useBlockletContext } from '../../contexts/blocklet';
|
|
17
17
|
import { useSessionContext } from '../../contexts/session';
|
|
18
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
19
|
const Types = [{
|
|
21
20
|
label: {
|
|
22
21
|
en: 'Resource',
|
|
@@ -31,9 +31,7 @@ import ClickToCopy from '../../click-to-copy';
|
|
|
31
31
|
import { formatError } from '../../util';
|
|
32
32
|
import Resource from './resource';
|
|
33
33
|
import SelectComponents from './select-components';
|
|
34
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
35
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
36
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
34
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
37
35
|
const allowedFileTypes = ['image/*', '.jpg', '.jpeg', '.png', '.gif', '.svg'];
|
|
38
36
|
const maxFileSize = 1024 * 1024 * 10; // 10 MB
|
|
39
37
|
|
|
@@ -8,8 +8,7 @@ import ProjectList from './project-list';
|
|
|
8
8
|
import CreateProject from './create-project';
|
|
9
9
|
import ReleasesList from './release-list';
|
|
10
10
|
import CreateRelease from './create-release';
|
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
12
|
export default function BlockletPublish({
|
|
14
13
|
padding
|
|
15
14
|
}) {
|
|
@@ -17,8 +17,7 @@ import EmptySpinner from '../../empty-spinner';
|
|
|
17
17
|
import DidAddress from '../../did-address';
|
|
18
18
|
import Confirm from '../../confirm';
|
|
19
19
|
import BlockletBundleAvatar from '../bundle-avatar';
|
|
20
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
21
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
22
21
|
export default function ProjectList() {
|
|
23
22
|
const {
|
|
24
23
|
t,
|
|
@@ -22,9 +22,7 @@ import { useBlockletContext } from '../../contexts/blocklet';
|
|
|
22
22
|
import { useNodeContext } from '../../contexts/node';
|
|
23
23
|
import EmptySpinner from '../../empty-spinner';
|
|
24
24
|
import Confirm from '../../confirm';
|
|
25
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
26
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
27
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
25
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
28
26
|
export default function ReleaseList() {
|
|
29
27
|
const {
|
|
30
28
|
t,
|
|
@@ -10,8 +10,7 @@ import Toast from '@arcblock/ux/lib/Toast';
|
|
|
10
10
|
import Tree from './tree';
|
|
11
11
|
import { useNodeContext } from '../../contexts/node';
|
|
12
12
|
import { axios } from '../../util/api';
|
|
13
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
14
|
const fillParent = (nodes, parentId) => {
|
|
16
15
|
nodes.forEach(node => {
|
|
17
16
|
if (parentId) {
|
|
@@ -8,8 +8,7 @@ import Box from '@mui/material/Box';
|
|
|
8
8
|
import Datatable from '@arcblock/ux/lib/Datatable';
|
|
9
9
|
import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
|
|
10
10
|
import BlockletBundleAvatar from '../bundle-avatar';
|
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
12
|
export default function SelectComponents({
|
|
14
13
|
value,
|
|
15
14
|
app,
|
|
@@ -14,8 +14,7 @@ import { Icon } from '@iconify/react';
|
|
|
14
14
|
import Images from '../../images';
|
|
15
15
|
|
|
16
16
|
// BFS algorithm to find node by his ID
|
|
17
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
18
|
const bfsSearch = (graph, targetId) => {
|
|
20
19
|
const queue = [...graph];
|
|
21
20
|
while (queue.length > 0) {
|
|
@@ -9,9 +9,7 @@ import IconVerify from '@mui/icons-material/VerifiedUser';
|
|
|
9
9
|
import Button from '@arcblock/ux/lib/Button';
|
|
10
10
|
import colors from '@arcblock/ux/lib/Colors';
|
|
11
11
|
import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
15
13
|
const commonProps = {
|
|
16
14
|
meta: PropTypes.object.isRequired,
|
|
17
15
|
onCancel: PropTypes.func.isRequired
|
|
@@ -11,9 +11,7 @@ import { useNodeContext } from '../../contexts/node';
|
|
|
11
11
|
import { getWebWalletUrl, extractStatusUrlFromNextWorkflow } from '../../util';
|
|
12
12
|
import { api as $api, axios } from '../../util/api';
|
|
13
13
|
import { commonProps, CustomSelect } from './common';
|
|
14
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
16
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
15
|
export function ComponentPurchase({
|
|
18
16
|
meta,
|
|
19
17
|
onCancel,
|
|
@@ -11,9 +11,7 @@ import { useNodeContext } from '../../../contexts/node';
|
|
|
11
11
|
import { sleep } from '../../../util';
|
|
12
12
|
import AddDomain from '../add-domain';
|
|
13
13
|
import { parseDomainFromURL } from '../util';
|
|
14
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
14
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
17
15
|
function AddDomainAliasComponent({
|
|
18
16
|
id,
|
|
19
17
|
children,
|
|
@@ -15,9 +15,7 @@ import Confirm from '../../../confirm';
|
|
|
15
15
|
import { validateRule, validatePathPrefix } from '../util';
|
|
16
16
|
import ConfigRoutingRule from './config-routing-rule';
|
|
17
17
|
import { formatMountPoint } from '../../../util';
|
|
18
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
18
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
21
19
|
export default function AddRule({
|
|
22
20
|
children
|
|
23
21
|
}) {
|
|
@@ -7,9 +7,7 @@ import { ROUTING_RULE_TYPES, ROUTING_RESPONSE_TYPES } from '@abtnode/constant';
|
|
|
7
7
|
import { BLOCKLET_INTERFACE_TYPE_WEB } from '@blocklet/constant';
|
|
8
8
|
import { findWebInterface, getDisplayName } from '@blocklet/meta/lib/util';
|
|
9
9
|
import { useBlockletContext } from '../../../contexts/blocklet';
|
|
10
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
12
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
11
|
const getComponents = blocklet => blocklet.children.filter(x => x.meta.interfaces.find(i => i.type === BLOCKLET_INTERFACE_TYPE_WEB));
|
|
14
12
|
export default function ConfigRoutingRule({
|
|
15
13
|
params,
|
|
@@ -8,9 +8,7 @@ import Toast from '@arcblock/ux/lib/Toast';
|
|
|
8
8
|
import Confirm from '../../../confirm';
|
|
9
9
|
import { useNodeContext } from '../../../contexts/node';
|
|
10
10
|
import { sleep } from '../../../util';
|
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
14
12
|
export default function DeleteDomainAlias(props) {
|
|
15
13
|
const {
|
|
16
14
|
t
|
|
@@ -8,9 +8,7 @@ import Toast from '@arcblock/ux/lib/Toast';
|
|
|
8
8
|
import { useNodeContext } from '../../../contexts/node';
|
|
9
9
|
import { useBlockletContext } from '../../../contexts/blocklet';
|
|
10
10
|
import DelConfirm from '../../../delete-confirm';
|
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
14
12
|
export default function DeleteRule({
|
|
15
13
|
id: ruleId,
|
|
16
14
|
from,
|
|
@@ -15,9 +15,7 @@ import Confirm from '../../../confirm';
|
|
|
15
15
|
import { validateRule } from '../util';
|
|
16
16
|
import ConfigRoutingRule from './config-routing-rule';
|
|
17
17
|
import { formatMountPoint } from '../../../util';
|
|
18
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
18
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
21
19
|
export default function UpdateRule({
|
|
22
20
|
id: ruleId,
|
|
23
21
|
from,
|
|
@@ -22,9 +22,7 @@ import { sleep, validateDomain } from '../../util';
|
|
|
22
22
|
import { axios } from '../../util/api';
|
|
23
23
|
import DNSTip from './dns-tip';
|
|
24
24
|
import { parseDomainFromURL } from './util';
|
|
25
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
26
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
27
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
25
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
28
26
|
export default function AddDomain({
|
|
29
27
|
siteId,
|
|
30
28
|
teamDid,
|
|
@@ -6,8 +6,7 @@ import Box from '@mui/material/Box';
|
|
|
6
6
|
import useTheme from '@mui/material/styles/useTheme';
|
|
7
7
|
import useMediaQuery from '@mui/material/useMediaQuery';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
10
|
export default function DNSTip({
|
|
12
11
|
domain,
|
|
13
12
|
resolvedTarget,
|
|
@@ -7,8 +7,7 @@ import DeleteIcon from '@mui/icons-material/Delete';
|
|
|
7
7
|
import Tooltip from '@mui/material/Tooltip';
|
|
8
8
|
import Actions from '../../actions';
|
|
9
9
|
import DeleteDomainAlias from './action/delete-domain-alias';
|
|
10
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
11
|
export default function DomainActions({
|
|
13
12
|
site,
|
|
14
13
|
domain,
|
|
@@ -10,8 +10,7 @@ import { useBlockletContext } from '../../contexts/blocklet';
|
|
|
10
10
|
import DeleteRule from './action/delete-rule';
|
|
11
11
|
import UpdateRule from './action/update-rule';
|
|
12
12
|
import { getBlockletUrlParams, getAccessUrl } from '../../util';
|
|
13
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
14
|
export default function RuleActions(rule) {
|
|
16
15
|
const {
|
|
17
16
|
locale
|
|
@@ -19,8 +19,7 @@ import { withPermission } from '../../permission';
|
|
|
19
19
|
import Line from '../component/line';
|
|
20
20
|
import RuleActions from './rule-actions';
|
|
21
21
|
import BlockletPageGroup from '../page-group';
|
|
22
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
22
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
23
|
function RedirectRule({
|
|
25
24
|
domain,
|
|
26
25
|
isHttps,
|
|
@@ -4,8 +4,7 @@ import Typography from '@mui/material/Typography';
|
|
|
4
4
|
import Grid from '@mui/material/Grid';
|
|
5
5
|
import CpuMonitor from '../analytics/cpu';
|
|
6
6
|
import MemoryMonitor from '../analytics/memory';
|
|
7
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
8
|
export default function BlockletRuntimeInfo({
|
|
10
9
|
blocklet,
|
|
11
10
|
cpuHistory,
|
package/es/blocklet/status.js
CHANGED
|
@@ -6,8 +6,7 @@ import { LocaleContext } from '@arcblock/ux/lib/Locale/context';
|
|
|
6
6
|
import { isInProgress } from '@blocklet/meta/lib/util';
|
|
7
7
|
import Dot from '../dot';
|
|
8
8
|
import Tag from '../tag';
|
|
9
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
10
|
const colors = {
|
|
12
11
|
yellow: '#FFCF71',
|
|
13
12
|
grey: '#888888'
|
|
@@ -21,9 +21,7 @@ import DeleteDIDSpacesGateWay from './delete';
|
|
|
21
21
|
* } & import('@mui/material').IconButtonProps} { spaceGateway, onDelete, onConnect, enableSwitchToSpace, connected, ...rest }
|
|
22
22
|
* @return {React.Component}
|
|
23
23
|
*/
|
|
24
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
26
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
24
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
27
25
|
function SpaceItemAction({
|
|
28
26
|
spaceGateway,
|
|
29
27
|
connected,
|
|
@@ -14,8 +14,7 @@ import { useBlockletStorageContext } from '../../contexts/blocklet-storage';
|
|
|
14
14
|
* }} {...rest}
|
|
15
15
|
* @return {*}
|
|
16
16
|
*/
|
|
17
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
18
|
function AutoCheckUpdate({
|
|
20
19
|
children,
|
|
21
20
|
...rest
|
|
@@ -19,9 +19,7 @@ import { getDIDSpaceDidFromEndpoint } from '../../util/spaces';
|
|
|
19
19
|
* } & import('@mui/material').BoxProps} { progress, ...rest }
|
|
20
20
|
* @return {React.Component}
|
|
21
21
|
*/
|
|
22
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
22
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
25
23
|
function SpacesBackupRecords({
|
|
26
24
|
...rest
|
|
27
25
|
}) {
|
|
@@ -21,9 +21,7 @@ import { useBlockletStorageContext } from '../../contexts/blocklet-storage';
|
|
|
21
21
|
* @param {{}} { ...rest }
|
|
22
22
|
* @return {React.Component}
|
|
23
23
|
*/
|
|
24
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
26
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
24
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
27
25
|
function ConnectTo({
|
|
28
26
|
...rest
|
|
29
27
|
}) {
|
|
@@ -21,8 +21,7 @@ import AutoBackup from './auto-backup';
|
|
|
21
21
|
* loading?: boolean,
|
|
22
22
|
* }} SpaceGateway
|
|
23
23
|
*/
|
|
24
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
26
25
|
function Connected() {
|
|
27
26
|
const {
|
|
28
27
|
t
|
|
@@ -17,9 +17,7 @@ import { formatError } from '../../util';
|
|
|
17
17
|
* }} { spaceGateway, onDelete }
|
|
18
18
|
* @return {*}
|
|
19
19
|
*/
|
|
20
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
21
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
22
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
20
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
23
21
|
function DeleteDIDSpacesGateWay({
|
|
24
22
|
spaceGateway,
|
|
25
23
|
onDelete
|
|
@@ -202,8 +202,7 @@ EmptySpacesNFT.defaultProps = {
|
|
|
202
202
|
import { useBlockletContext } from '../../contexts/blocklet';
|
|
203
203
|
import ConnectTo from './connect-to';
|
|
204
204
|
import DiskInfo from '../disk-info';
|
|
205
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
206
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
205
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
207
206
|
function Disconnect() {
|
|
208
207
|
const {
|
|
209
208
|
t
|
|
@@ -68,9 +68,7 @@ import { useBlockletStorageContext } from '../../contexts/blocklet-storage';
|
|
|
68
68
|
* onBackupNow: () => Promise<void>,
|
|
69
69
|
* }} { spaceGateway, connected,, onDelete, onBackupNow }
|
|
70
70
|
*/
|
|
71
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
72
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
73
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
71
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
74
72
|
function SpaceItem({
|
|
75
73
|
spaceGateway,
|
|
76
74
|
connected,
|
|
@@ -4,9 +4,7 @@ import ReactPlaceholder from 'react-placeholder';
|
|
|
4
4
|
import { string } from 'prop-types';
|
|
5
5
|
import { Dialog, DialogContent, IconButton } from '@mui/material';
|
|
6
6
|
import CloseOutlinedIcon from '@mui/icons-material/CloseOutlined';
|
|
7
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
7
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
10
8
|
var EmptySpacesNFT = function EmptySpacesNFT(props) {
|
|
11
9
|
return /*#__PURE__*/_jsxs("svg", {
|
|
12
10
|
...props,
|
|
@@ -17,9 +17,7 @@ import ClickToCopy from '../click-to-copy';
|
|
|
17
17
|
import { formatError, getTransferAppLink, formatToDatetime } from '../util';
|
|
18
18
|
import { SessionContext } from '../contexts/session';
|
|
19
19
|
import { useTeamContext } from '../contexts/team';
|
|
20
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
21
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
22
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
20
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
23
21
|
export default function TransferOwner({
|
|
24
22
|
onCancel,
|
|
25
23
|
onSuccess,
|
package/es/blocklet/version.js
CHANGED
|
@@ -13,9 +13,7 @@ import Confirm from '../confirm';
|
|
|
13
13
|
import { useNodeContext } from '../contexts/node';
|
|
14
14
|
import { sleep, formatError, BlockletAdminRoles } from '../util';
|
|
15
15
|
import { withPermission } from '../permission';
|
|
16
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
18
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
17
|
function Version({
|
|
20
18
|
blocklet,
|
|
21
19
|
checkUpgrade,
|
package/es/certificate.js
CHANGED
|
@@ -9,9 +9,7 @@ import Typography from '@mui/material/Typography';
|
|
|
9
9
|
import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
|
|
10
10
|
import { formatToDate } from './util';
|
|
11
11
|
import { useNodeContext } from './contexts/node';
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
15
13
|
export default function Certificate({
|
|
16
14
|
certificate
|
|
17
15
|
}) {
|
package/es/clear-cache.js
CHANGED
|
@@ -8,8 +8,7 @@ import { useNodeContext } from './contexts/node';
|
|
|
8
8
|
import Confirm from './confirm';
|
|
9
9
|
|
|
10
10
|
// eslint-disable-next-line react/prop-types
|
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
12
|
export default function ClearCache({
|
|
14
13
|
teamDid,
|
|
15
14
|
size = 'small',
|
package/es/confirm.js
CHANGED
|
@@ -14,8 +14,7 @@ import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
|
|
|
14
14
|
import Button from '@arcblock/ux/lib/Button';
|
|
15
15
|
import { formatError } from './util';
|
|
16
16
|
import useMobileWidth from './hooks/mobile-width';
|
|
17
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
18
|
export default function ConfirmDialog({
|
|
20
19
|
title,
|
|
21
20
|
description,
|
package/es/delete-confirm.js
CHANGED
|
@@ -8,8 +8,7 @@ import Alert from '@mui/material/Alert';
|
|
|
8
8
|
import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
|
|
9
9
|
import ClickToCopy from './click-to-copy';
|
|
10
10
|
import Confirm from './confirm';
|
|
11
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
13
12
|
export default function CancelConfirm({
|
|
14
13
|
title,
|
|
15
14
|
description,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useMemo, useState } from 'react';
|
|
1
|
+
import React, { useMemo, useState, createElement as _createElement } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import Box from '@mui/material/Box';
|
|
4
4
|
import CircularProgress from '@mui/material/CircularProgress';
|
|
@@ -14,10 +14,7 @@ import Popper from '@mui/material/Popper';
|
|
|
14
14
|
import Required from './required';
|
|
15
15
|
import FormWrapper from './form-wrapper';
|
|
16
16
|
import InputTriggers from './input-triggers';
|
|
17
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
|
-
import { createElement as _createElement } from "react";
|
|
19
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
17
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
21
18
|
export default function FormAutocompleteInput({
|
|
22
19
|
label,
|
|
23
20
|
disabled,
|
|
@@ -13,9 +13,7 @@ import FormHelperText from '@mui/material/FormHelperText';
|
|
|
13
13
|
import Required from './required';
|
|
14
14
|
import FormWrapper from './form-wrapper';
|
|
15
15
|
import InputTriggers from './input-triggers';
|
|
16
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
16
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
19
17
|
const ITEM_HEIGHT = 48;
|
|
20
18
|
const ITEM_PADDING_TOP = 8;
|
|
21
19
|
const MenuProps = {
|
|
@@ -14,9 +14,7 @@ import InputTriggers from './input-triggers';
|
|
|
14
14
|
* @param {*} value value 空时, null 表示未修改, '' 表示已修改
|
|
15
15
|
* @returns
|
|
16
16
|
*/
|
|
17
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
17
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
20
18
|
const getDisplayValue = (value, secure, initialValue) => {
|
|
21
19
|
if (value === null && secure && initialValue) {
|
|
22
20
|
return '******';
|
|
@@ -10,9 +10,7 @@ import Paper from '@mui/material/Paper';
|
|
|
10
10
|
import Popper from '@mui/material/Popper';
|
|
11
11
|
import MenuItem from '@mui/material/MenuItem';
|
|
12
12
|
import MenuList from '@mui/material/MenuList';
|
|
13
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
16
14
|
export default function InputTriggers({
|
|
17
15
|
triggers,
|
|
18
16
|
onEnterEdit,
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import DidAvatar from '@arcblock/did-connect/lib/Avatar';
|
|
4
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
5
|
function InvitationApp({
|
|
7
6
|
invitation,
|
|
8
7
|
...rest
|