@abtnode/ux 1.16.25-beta-be3a37f4 → 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 +13 -3
- package/es/blocklet/router/action/config-routing-rule.js +56 -7
- 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 +13 -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 +11 -4
- 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/locales/ar.js +5 -1
- package/es/locales/de.js +5 -1
- package/es/locales/en.js +5 -1
- package/es/locales/es.js +5 -1
- package/es/locales/fr.js +5 -1
- package/es/locales/hi.js +5 -1
- package/es/locales/i18n.db +0 -0
- package/es/locales/id.js +5 -1
- package/es/locales/ja.js +5 -1
- package/es/locales/ko.js +5 -1
- package/es/locales/pt.js +5 -1
- package/es/locales/ru.js +5 -1
- package/es/locales/th.js +5 -1
- package/es/locales/vi.js +5 -1
- package/es/locales/zh-tw.js +5 -1
- package/es/locales/zh.js +5 -1
- 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 +14 -2
- package/lib/blocklet/router/action/config-routing-rule.js +54 -5
- package/lib/blocklet/router/action/update-rule.js +14 -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 +11 -2
- 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/ar.js +5 -1
- package/lib/locales/de.js +5 -1
- package/lib/locales/en.js +5 -1
- package/lib/locales/es.js +5 -1
- package/lib/locales/fr.js +5 -1
- package/lib/locales/hi.js +5 -1
- package/lib/locales/i18n.db +0 -0
- package/lib/locales/id.js +5 -1
- package/lib/locales/index.js +1 -1
- package/lib/locales/ja.js +5 -1
- package/lib/locales/ko.js +5 -1
- package/lib/locales/pt.js +5 -1
- package/lib/locales/ru.js +5 -1
- package/lib/locales/th.js +5 -1
- package/lib/locales/vi.js +5 -1
- package/lib/locales/zh-tw.js +5 -1
- package/lib/locales/zh.js +5 -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
package/lib/team/search-input.js
CHANGED
|
@@ -14,7 +14,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
14
14
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
15
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
16
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
17
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i :
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
18
18
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19
19
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
20
20
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
package/lib/util/index.js
CHANGED
|
@@ -155,10 +155,10 @@ function getBlockletUrls() {
|
|
|
155
155
|
}
|
|
156
156
|
let mountPoint = inputMountPoint;
|
|
157
157
|
if (!mountPoint) {
|
|
158
|
-
var _rule,
|
|
158
|
+
var _rule, _rule2;
|
|
159
159
|
const rules = site.rules.filter(x => !x.from.pathPrefix.startsWith(_constant.WELLKNOWN_PATH_PREFIX));
|
|
160
160
|
let rule = rules[0];
|
|
161
|
-
if (((_rule = rule) === null || _rule === void 0
|
|
161
|
+
if (((_rule = rule) === null || _rule === void 0 || (_rule = _rule.from) === null || _rule === void 0 ? void 0 : _rule.pathPrefix) !== '/') {
|
|
162
162
|
const rootRule = rules.find(x => {
|
|
163
163
|
var _x$from;
|
|
164
164
|
return ((_x$from = x.from) === null || _x$from === void 0 ? void 0 : _x$from.pathPrefix) === '/';
|
|
@@ -167,7 +167,7 @@ function getBlockletUrls() {
|
|
|
167
167
|
rule = rootRule;
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
mountPoint = (0, _normalizePathPrefix.default)(((_rule2 = rule) === null || _rule2 === void 0
|
|
170
|
+
mountPoint = (0, _normalizePathPrefix.default)(((_rule2 = rule) === null || _rule2 === void 0 || (_rule2 = _rule2.from) === null || _rule2 === void 0 ? void 0 : _rule2.pathPrefix) || '/');
|
|
171
171
|
}
|
|
172
172
|
return domains.map(domain => getAccessUrl(domain.value, mountPoint, params));
|
|
173
173
|
}
|
|
@@ -684,8 +684,8 @@ const getStoreList = _ref6 => {
|
|
|
684
684
|
nodeInfo,
|
|
685
685
|
blocklet
|
|
686
686
|
} = _ref6;
|
|
687
|
-
const teamDid = fromBlocklet ? blocklet === null || blocklet === void 0
|
|
688
|
-
const storeList = fromBlocklet ? (blocklet === null || blocklet === void 0
|
|
687
|
+
const teamDid = fromBlocklet ? blocklet === null || blocklet === void 0 || (_blocklet$meta = blocklet.meta) === null || _blocklet$meta === void 0 ? void 0 : _blocklet$meta.did : nodeInfo === null || nodeInfo === void 0 ? void 0 : nodeInfo.did;
|
|
688
|
+
const storeList = fromBlocklet ? (blocklet === null || blocklet === void 0 || (_blocklet$settings = blocklet.settings) === null || _blocklet$settings === void 0 ? void 0 : _blocklet$settings.storeList) || [] : (nodeInfo === null || nodeInfo === void 0 ? void 0 : nodeInfo.blockletRegistryList) || [];
|
|
689
689
|
return {
|
|
690
690
|
teamDid,
|
|
691
691
|
storeList
|
|
@@ -760,7 +760,7 @@ const getLogoHash = logo => encodeURIComponent((logo || '').split('/').slice(-1)
|
|
|
760
760
|
exports.getLogoHash = getLogoHash;
|
|
761
761
|
const hasRequiredEnvironments = meta => (meta.environments || []).some(x => x.required);
|
|
762
762
|
const hasRequiredSteps = meta => {
|
|
763
|
-
var _meta$requirements
|
|
764
|
-
return !!((_meta$requirements = meta.requirements) !== null && _meta$requirements !== void 0 && (_meta$requirements
|
|
763
|
+
var _meta$requirements;
|
|
764
|
+
return !!((_meta$requirements = meta.requirements) !== null && _meta$requirements !== void 0 && (_meta$requirements = _meta$requirements.fuels) !== null && _meta$requirements !== void 0 && _meta$requirements.length) || hasRequiredEnvironments(meta);
|
|
765
765
|
};
|
|
766
766
|
exports.hasRequiredSteps = hasRequiredSteps;
|
|
@@ -9,7 +9,7 @@ var _spaces = require("./spaces");
|
|
|
9
9
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
10
10
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11
11
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
12
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i :
|
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
13
13
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /* eslint-disable import/prefer-default-export */
|
|
14
14
|
/**
|
|
15
15
|
* @description
|
package/lib/util/spaces.js
CHANGED
|
@@ -98,7 +98,7 @@ async function hasPermissionByEndpoint(endpoint) {
|
|
|
98
98
|
*/
|
|
99
99
|
function getSpaceBackupEndpoint(environments) {
|
|
100
100
|
var _environments$find;
|
|
101
|
-
return (environments === null || environments === void 0
|
|
101
|
+
return (environments === null || environments === void 0 || (_environments$find = environments.find(e => e.key === _constant.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT)) === null || _environments$find === void 0 ? void 0 : _environments$find.value) || '';
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
/**
|
|
@@ -198,8 +198,8 @@ function getSpaceNftDisplayUrlFromEndpoint(endpoint) {
|
|
|
198
198
|
* @return {string}
|
|
199
199
|
*/
|
|
200
200
|
const getDIDSpaceEndpoint = blocklet => {
|
|
201
|
-
var _blocklet$configs
|
|
202
|
-
return (blocklet === null || blocklet === void 0
|
|
201
|
+
var _blocklet$configs;
|
|
202
|
+
return (blocklet === null || blocklet === void 0 || (_blocklet$configs = blocklet.configs) === null || _blocklet$configs === void 0 || (_blocklet$configs = _blocklet$configs.find(item => item.key === _constant.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_SPACE_ENDPOINT)) === null || _blocklet$configs === void 0 ? void 0 : _blocklet$configs.value) || null;
|
|
203
203
|
};
|
|
204
204
|
|
|
205
205
|
/**
|
package/lib/wrap-locale.js
CHANGED
|
@@ -10,7 +10,7 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
10
10
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11
11
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12
12
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
13
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i :
|
|
13
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
14
14
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /* eslint-disable react/jsx-props-no-spreading */ /* eslint-disable import/no-extraneous-dependencies */
|
|
15
15
|
function wrapLocale(Component) {
|
|
16
16
|
return function LocaleWrapper(props) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abtnode/ux",
|
|
3
|
-
"version": "1.16.25-beta-
|
|
3
|
+
"version": "1.16.25-beta-cfcab4af",
|
|
4
4
|
"description": "UX components shared across abtnode packages",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -28,24 +28,24 @@
|
|
|
28
28
|
"author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@abtnode/auth": "1.16.25-beta-
|
|
32
|
-
"@abtnode/constant": "1.16.25-beta-
|
|
33
|
-
"@abtnode/util": "1.16.25-beta-
|
|
31
|
+
"@abtnode/auth": "1.16.25-beta-cfcab4af",
|
|
32
|
+
"@abtnode/constant": "1.16.25-beta-cfcab4af",
|
|
33
|
+
"@abtnode/util": "1.16.25-beta-cfcab4af",
|
|
34
34
|
"@ahooksjs/use-url-state": "^3.5.1",
|
|
35
35
|
"@arcblock/did": "^1.18.113",
|
|
36
|
-
"@arcblock/did-connect": "^2.9.
|
|
36
|
+
"@arcblock/did-connect": "^2.9.58",
|
|
37
37
|
"@arcblock/did-motif": "^1.1.13",
|
|
38
|
-
"@arcblock/icons": "^2.9.
|
|
39
|
-
"@arcblock/nft-display": "2.9.
|
|
40
|
-
"@arcblock/react-hooks": "^2.9.
|
|
41
|
-
"@arcblock/terminal": "^2.9.
|
|
42
|
-
"@arcblock/ux": "^2.9.
|
|
43
|
-
"@blocklet/constant": "1.16.25-beta-
|
|
44
|
-
"@blocklet/launcher-layout": "2.2.
|
|
45
|
-
"@blocklet/list": "^0.12.
|
|
46
|
-
"@blocklet/meta": "1.16.25-beta-
|
|
47
|
-
"@blocklet/ui-react": "^2.9.
|
|
48
|
-
"@blocklet/uploader": "^0.0.
|
|
38
|
+
"@arcblock/icons": "^2.9.58",
|
|
39
|
+
"@arcblock/nft-display": "2.9.58",
|
|
40
|
+
"@arcblock/react-hooks": "^2.9.58",
|
|
41
|
+
"@arcblock/terminal": "^2.9.58",
|
|
42
|
+
"@arcblock/ux": "^2.9.58",
|
|
43
|
+
"@blocklet/constant": "1.16.25-beta-cfcab4af",
|
|
44
|
+
"@blocklet/launcher-layout": "2.2.58",
|
|
45
|
+
"@blocklet/list": "^0.12.78",
|
|
46
|
+
"@blocklet/meta": "1.16.25-beta-cfcab4af",
|
|
47
|
+
"@blocklet/ui-react": "^2.9.58",
|
|
48
|
+
"@blocklet/uploader": "^0.0.75",
|
|
49
49
|
"@emotion/react": "^11.10.4",
|
|
50
50
|
"@emotion/styled": "^11.10.4",
|
|
51
51
|
"@iconify/react": "^4.0.0",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"jest": "^29.7.0",
|
|
108
108
|
"jest-environment-jsdom": "^29.7.0"
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "061cbc96f4e918e2186f3834960c0c2e14de9317",
|
|
111
111
|
"exports": {
|
|
112
112
|
".": {
|
|
113
113
|
"import": "./es/index.js",
|