@theia/messages 1.67.0-next.13 → 1.67.0-next.56
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/README.md +1 -1
- package/package.json +3 -3
- package/lib/browser/messages-frontend-module.d.ts +0 -5
- package/lib/browser/messages-frontend-module.d.ts.map +0 -1
- package/lib/browser/messages-frontend-module.js +0 -42
- package/lib/browser/messages-frontend-module.js.map +0 -1
- package/lib/browser/notification-center-component.d.ts +0 -19
- package/lib/browser/notification-center-component.d.ts.map +0 -1
- package/lib/browser/notification-center-component.js +0 -68
- package/lib/browser/notification-center-component.js.map +0 -1
- package/lib/browser/notification-component.d.ts +0 -16
- package/lib/browser/notification-component.d.ts.map +0 -1
- package/lib/browser/notification-component.js +0 -89
- package/lib/browser/notification-component.js.map +0 -1
- package/lib/browser/notification-content-renderer.d.ts +0 -6
- package/lib/browser/notification-content-renderer.d.ts.map +0 -1
- package/lib/browser/notification-content-renderer.js +0 -36
- package/lib/browser/notification-content-renderer.js.map +0 -1
- package/lib/browser/notification-content-renderer.spec.d.ts +0 -2
- package/lib/browser/notification-content-renderer.spec.d.ts.map +0 -1
- package/lib/browser/notification-content-renderer.spec.js +0 -42
- package/lib/browser/notification-content-renderer.spec.js.map +0 -1
- package/lib/browser/notification-toasts-component.d.ts +0 -19
- package/lib/browser/notification-toasts-component.d.ts.map +0 -1
- package/lib/browser/notification-toasts-component.js +0 -49
- package/lib/browser/notification-toasts-component.js.map +0 -1
- package/lib/browser/notifications-commands.d.ts +0 -8
- package/lib/browser/notifications-commands.d.ts.map +0 -1
- package/lib/browser/notifications-commands.js +0 -48
- package/lib/browser/notifications-commands.js.map +0 -1
- package/lib/browser/notifications-contribution.d.ts +0 -22
- package/lib/browser/notifications-contribution.d.ts.map +0 -1
- package/lib/browser/notifications-contribution.js +0 -204
- package/lib/browser/notifications-contribution.js.map +0 -1
- package/lib/browser/notifications-manager.d.ts +0 -72
- package/lib/browser/notifications-manager.d.ts.map +0 -1
- package/lib/browser/notifications-manager.js +0 -279
- package/lib/browser/notifications-manager.js.map +0 -1
- package/lib/browser/notifications-renderer.d.ts +0 -15
- package/lib/browser/notifications-renderer.d.ts.map +0 -1
- package/lib/browser/notifications-renderer.js +0 -69
- package/lib/browser/notifications-renderer.js.map +0 -1
- package/lib/common/notification-preferences.d.ts +0 -12
- package/lib/common/notification-preferences.d.ts.map +0 -1
- package/lib/common/notification-preferences.js +0 -46
- package/lib/common/notification-preferences.js.map +0 -1
- package/lib/node/messages-backend-module.d.ts +0 -4
- package/lib/node/messages-backend-module.d.ts.map +0 -1
- package/lib/node/messages-backend-module.js +0 -23
- package/lib/node/messages-backend-module.js.map +0 -1
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ The `@theia/messages` extension provides the ability to display user notificatio
|
|
|
16
16
|
|
|
17
17
|
## Additional Information
|
|
18
18
|
|
|
19
|
-
- [API documentation for `@theia/messages`](https://eclipse-theia.github.io/theia/docs/next/modules/
|
|
19
|
+
- [API documentation for `@theia/messages`](https://eclipse-theia.github.io/theia/docs/next/modules/_theia_messages.html)
|
|
20
20
|
- [Theia - GitHub](https://github.com/eclipse-theia/theia)
|
|
21
21
|
- [Theia - Website](https://theia-ide.org/)
|
|
22
22
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/messages",
|
|
3
|
-
"version": "1.67.0-next.
|
|
3
|
+
"version": "1.67.0-next.56+d8f18cc386c",
|
|
4
4
|
"description": "Theia - Messages Extension",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@theia/core": "1.67.0-next.
|
|
6
|
+
"@theia/core": "1.67.0-next.56+d8f18cc386c",
|
|
7
7
|
"react-perfect-scrollbar": "^1.5.3",
|
|
8
8
|
"ts-md5": "^1.2.2",
|
|
9
9
|
"tslib": "^2.6.2"
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"nyc": {
|
|
48
48
|
"extends": "../../configs/nyc.json"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "d8f18cc386c45a736cd193d42eab02c8f64c6b10"
|
|
51
51
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"messages-frontend-module.d.ts","sourceRoot":"","sources":["../../src/browser/messages-frontend-module.ts"],"names":[],"mappings":"AAgBA,OAAO,mCAAmC,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;;AAW/D,wBAYG"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2017 TypeFox and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
require("../../src/browser/style/index.css");
|
|
19
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
20
|
-
const common_1 = require("@theia/core/lib/common");
|
|
21
|
-
const notifications_manager_1 = require("./notifications-manager");
|
|
22
|
-
const notification_preferences_1 = require("../common/notification-preferences");
|
|
23
|
-
const notifications_renderer_1 = require("./notifications-renderer");
|
|
24
|
-
const notifications_contribution_1 = require("./notifications-contribution");
|
|
25
|
-
const browser_1 = require("@theia/core/lib/browser");
|
|
26
|
-
const core_1 = require("@theia/core");
|
|
27
|
-
const color_application_contribution_1 = require("@theia/core/lib/browser/color-application-contribution");
|
|
28
|
-
const notification_content_renderer_1 = require("./notification-content-renderer");
|
|
29
|
-
exports.default = new inversify_1.ContainerModule((bind, unbind, isBound, rebind) => {
|
|
30
|
-
bind(notification_content_renderer_1.NotificationContentRenderer).toSelf().inSingletonScope();
|
|
31
|
-
bind(notifications_renderer_1.NotificationsRenderer).toSelf().inSingletonScope();
|
|
32
|
-
bind(notifications_contribution_1.NotificationsContribution).toSelf().inSingletonScope();
|
|
33
|
-
bind(browser_1.FrontendApplicationContribution).toService(notifications_contribution_1.NotificationsContribution);
|
|
34
|
-
bind(core_1.CommandContribution).toService(notifications_contribution_1.NotificationsContribution);
|
|
35
|
-
bind(browser_1.KeybindingContribution).toService(notifications_contribution_1.NotificationsContribution);
|
|
36
|
-
bind(color_application_contribution_1.ColorContribution).toService(notifications_contribution_1.NotificationsContribution);
|
|
37
|
-
bind(browser_1.StylingParticipant).toService(notifications_contribution_1.NotificationsContribution);
|
|
38
|
-
bind(notifications_manager_1.NotificationManager).toSelf().inSingletonScope();
|
|
39
|
-
rebind(common_1.MessageClient).toService(notifications_manager_1.NotificationManager);
|
|
40
|
-
(0, notification_preferences_1.bindNotificationPreferences)(bind);
|
|
41
|
-
});
|
|
42
|
-
//# sourceMappingURL=messages-frontend-module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"messages-frontend-module.js","sourceRoot":"","sources":["../../src/browser/messages-frontend-module.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;AAEhF,6CAA2C;AAE3C,4DAA+D;AAC/D,mDAAuD;AACvD,mEAA8D;AAC9D,iFAAiF;AACjF,qEAAiE;AACjE,6EAAyE;AACzE,qDAAsH;AACtH,sCAAkD;AAClD,2GAA2F;AAC3F,mFAA8E;AAE9E,kBAAe,IAAI,2BAAe,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;IACjE,IAAI,CAAC,2DAA2B,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC9D,IAAI,CAAC,8CAAqB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACxD,IAAI,CAAC,sDAAyB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC5D,IAAI,CAAC,yCAA+B,CAAC,CAAC,SAAS,CAAC,sDAAyB,CAAC,CAAC;IAC3E,IAAI,CAAC,0BAAmB,CAAC,CAAC,SAAS,CAAC,sDAAyB,CAAC,CAAC;IAC/D,IAAI,CAAC,gCAAsB,CAAC,CAAC,SAAS,CAAC,sDAAyB,CAAC,CAAC;IAClE,IAAI,CAAC,kDAAiB,CAAC,CAAC,SAAS,CAAC,sDAAyB,CAAC,CAAC;IAC7D,IAAI,CAAC,4BAAkB,CAAC,CAAC,SAAS,CAAC,sDAAyB,CAAC,CAAC;IAC9D,IAAI,CAAC,2CAAmB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACtD,MAAM,CAAC,sBAAa,CAAC,CAAC,SAAS,CAAC,2CAAmB,CAAC,CAAC;IACrD,IAAA,sDAA2B,EAAC,IAAI,CAAC,CAAC;AACtC,CAAC,CAAC,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import * as React from '@theia/core/shared/react';
|
|
3
|
-
import { DisposableCollection } from '@theia/core';
|
|
4
|
-
import { NotificationManager, NotificationUpdateEvent } from './notifications-manager';
|
|
5
|
-
export interface NotificationCenterComponentProps {
|
|
6
|
-
readonly manager: NotificationManager;
|
|
7
|
-
}
|
|
8
|
-
type NotificationCenterComponentState = Pick<NotificationUpdateEvent, Exclude<keyof NotificationUpdateEvent, 'toasts'>>;
|
|
9
|
-
export declare class NotificationCenterComponent extends React.Component<NotificationCenterComponentProps, NotificationCenterComponentState> {
|
|
10
|
-
constructor(props: NotificationCenterComponentProps);
|
|
11
|
-
protected readonly toDisposeOnUnmount: DisposableCollection;
|
|
12
|
-
componentDidMount(): Promise<void>;
|
|
13
|
-
componentWillUnmount(): void;
|
|
14
|
-
render(): React.ReactNode;
|
|
15
|
-
protected onHide: () => void;
|
|
16
|
-
protected onClearAll: () => void;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=notification-center-component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification-center-component.d.ts","sourceRoot":"","sources":["../../src/browser/notification-center-component.tsx"],"names":[],"mappings":";AAgBA,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAOvF,MAAM,WAAW,gCAAgC;IAC7C,QAAQ,CAAC,OAAO,EAAE,mBAAmB,CAAC;CACzC;AAED,KAAK,gCAAgC,GAAG,IAAI,CAAC,uBAAuB,EAAE,OAAO,CAAC,MAAM,uBAAuB,EAAE,QAAQ,CAAC,CAAC,CAAC;AAExH,qBAAa,2BAA4B,SAAQ,KAAK,CAAC,SAAS,CAAC,gCAAgC,EAAE,gCAAgC,CAAC;gBAEpH,KAAK,EAAE,gCAAgC;IAQnD,SAAS,CAAC,QAAQ,CAAC,kBAAkB,uBAA8B;IAEpD,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAUxC,oBAAoB,IAAI,IAAI;IAI5B,MAAM,IAAI,KAAK,CAAC,SAAS;IA6BlC,SAAS,CAAC,MAAM,aAEd;IAEF,SAAS,CAAC,UAAU,aAElB;CAEL"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2019 TypeFox and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.NotificationCenterComponent = void 0;
|
|
19
|
-
const React = require("@theia/core/shared/react");
|
|
20
|
-
const core_1 = require("@theia/core");
|
|
21
|
-
const notification_component_1 = require("./notification-component");
|
|
22
|
-
const browser_1 = require("@theia/core/lib/browser");
|
|
23
|
-
const nls_1 = require("@theia/core/lib/common/nls");
|
|
24
|
-
const PerfectScrollbar = require('react-perfect-scrollbar');
|
|
25
|
-
class NotificationCenterComponent extends React.Component {
|
|
26
|
-
constructor(props) {
|
|
27
|
-
super(props);
|
|
28
|
-
this.toDisposeOnUnmount = new core_1.DisposableCollection();
|
|
29
|
-
this.onHide = () => {
|
|
30
|
-
this.props.manager.hideCenter();
|
|
31
|
-
};
|
|
32
|
-
this.onClearAll = () => {
|
|
33
|
-
this.props.manager.clearAll();
|
|
34
|
-
};
|
|
35
|
-
this.state = {
|
|
36
|
-
notifications: [],
|
|
37
|
-
visibilityState: 'hidden'
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
async componentDidMount() {
|
|
41
|
-
this.toDisposeOnUnmount.push(this.props.manager.onUpdated(({ notifications, visibilityState }) => {
|
|
42
|
-
this.setState({
|
|
43
|
-
notifications: notifications,
|
|
44
|
-
visibilityState
|
|
45
|
-
});
|
|
46
|
-
}));
|
|
47
|
-
}
|
|
48
|
-
componentWillUnmount() {
|
|
49
|
-
this.toDisposeOnUnmount.dispose();
|
|
50
|
-
}
|
|
51
|
-
render() {
|
|
52
|
-
const empty = this.state.notifications.length === 0;
|
|
53
|
-
const title = empty
|
|
54
|
-
? nls_1.nls.localizeByDefault('No New Notifications')
|
|
55
|
-
: nls_1.nls.localizeByDefault('Notifications');
|
|
56
|
-
return (React.createElement("div", { className: `theia-notifications-container theia-notification-center ${this.state.visibilityState === 'center' ? 'open' : 'closed'}` },
|
|
57
|
-
React.createElement("div", { className: 'theia-notification-center-header' },
|
|
58
|
-
React.createElement("div", { className: 'theia-notification-center-header-title' }, title),
|
|
59
|
-
React.createElement("div", { className: 'theia-notification-center-header-actions' },
|
|
60
|
-
React.createElement("ul", { className: 'theia-notification-actions' },
|
|
61
|
-
React.createElement("li", { className: (0, browser_1.codicon)('clear-all', true), title: nls_1.nls.localizeByDefault('Clear All Notifications'), onClick: this.onClearAll }),
|
|
62
|
-
React.createElement("li", { className: (0, browser_1.codicon)('chevron-down', true), title: nls_1.nls.localizeByDefault('Hide Notifications'), onClick: this.onHide })))),
|
|
63
|
-
React.createElement(PerfectScrollbar, { className: 'theia-notification-list-scroll-container' },
|
|
64
|
-
React.createElement("div", { className: 'theia-notification-list' }, this.state.notifications.map(notification => React.createElement(notification_component_1.NotificationComponent, { key: notification.messageId, notification: notification, manager: this.props.manager }))))));
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
exports.NotificationCenterComponent = NotificationCenterComponent;
|
|
68
|
-
//# sourceMappingURL=notification-center-component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification-center-component.js","sourceRoot":"","sources":["../../src/browser/notification-center-component.tsx"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,kDAAkD;AAClD,sCAAmD;AAEnD,qEAAiE;AACjE,qDAAkD;AAClD,oDAAiD;AAEjD,MAAM,gBAAgB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAAC;AAQ5D,MAAa,2BAA4B,SAAQ,KAAK,CAAC,SAA6E;IAEhI,YAAY,KAAuC;QAC/C,KAAK,CAAC,KAAK,CAAC,CAAC;QAOE,uBAAkB,GAAG,IAAI,2BAAoB,EAAE,CAAC;QA6CzD,WAAM,GAAG,GAAG,EAAE;YACpB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;QACpC,CAAC,CAAC;QAEQ,eAAU,GAAG,GAAG,EAAE;YACxB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;QAClC,CAAC,CAAC;QAzDE,IAAI,CAAC,KAAK,GAAG;YACT,aAAa,EAAE,EAAE;YACjB,eAAe,EAAE,QAAQ;SAC5B,CAAC;IACN,CAAC;IAIQ,KAAK,CAAC,iBAAiB;QAC5B,IAAI,CAAC,kBAAkB,CAAC,IAAI,CACxB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,EAAE;YAChE,IAAI,CAAC,QAAQ,CAAC;gBACV,aAAa,EAAE,aAAa;gBAC5B,eAAe;aAClB,CAAC,CAAC;QACP,CAAC,CAAC,CACL,CAAC;IACN,CAAC;IACQ,oBAAoB;QACzB,IAAI,CAAC,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C,OAAO,GAAI,CAClH,CACC,CACS,CACjB,CACT,CAAC;IACN,CAAC;CAUJ;AA/DD,kEA+DC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import * as React from '@theia/core/shared/react';
|
|
3
|
-
import { NotificationManager, Notification } from './notifications-manager';
|
|
4
|
-
export interface NotificationComponentProps {
|
|
5
|
-
readonly manager: NotificationManager;
|
|
6
|
-
readonly notification: Notification;
|
|
7
|
-
}
|
|
8
|
-
export declare class NotificationComponent extends React.Component<NotificationComponentProps> {
|
|
9
|
-
constructor(props: NotificationComponentProps);
|
|
10
|
-
protected onClear: (event: React.MouseEvent) => void;
|
|
11
|
-
protected onToggleExpansion: (event: React.MouseEvent) => void;
|
|
12
|
-
protected onAction: (event: React.MouseEvent) => void;
|
|
13
|
-
protected onMessageClick: (event: React.MouseEvent) => void;
|
|
14
|
-
render(): React.ReactNode;
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=notification-component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification-component.d.ts","sourceRoot":"","sources":["../../src/browser/notification-component.tsx"],"names":[],"mappings":";AAgBA,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAElD,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAI5E,MAAM,WAAW,0BAA0B;IACvC,QAAQ,CAAC,OAAO,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;CACvC;AAED,qBAAa,qBAAsB,SAAQ,KAAK,CAAC,SAAS,CAAC,0BAA0B,CAAC;gBAEtE,KAAK,EAAE,0BAA0B;IAK7C,SAAS,CAAC,OAAO,UAAW,gBAAgB,UAO1C;IAEF,SAAS,CAAC,iBAAiB,UAAW,gBAAgB,UAOpD;IAEF,SAAS,CAAC,QAAQ,UAAW,gBAAgB,UAQ3C;IAEF,SAAS,CAAC,cAAc,UAAW,gBAAgB,UAOjD;IAEO,MAAM,IAAI,KAAK,CAAC,SAAS;CAwDrC"}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2019 TypeFox and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.NotificationComponent = void 0;
|
|
19
|
-
const React = require("@theia/core/shared/react");
|
|
20
|
-
const DOMPurify = require("@theia/core/shared/dompurify");
|
|
21
|
-
const browser_1 = require("@theia/core/lib/browser");
|
|
22
|
-
const nls_1 = require("@theia/core/lib/common/nls");
|
|
23
|
-
class NotificationComponent extends React.Component {
|
|
24
|
-
constructor(props) {
|
|
25
|
-
super(props);
|
|
26
|
-
this.onClear = (event) => {
|
|
27
|
-
if (event.target instanceof HTMLElement) {
|
|
28
|
-
const messageId = event.target.dataset.messageId;
|
|
29
|
-
if (messageId) {
|
|
30
|
-
this.props.manager.clear(messageId);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
this.onToggleExpansion = (event) => {
|
|
35
|
-
if (event.target instanceof HTMLElement) {
|
|
36
|
-
const messageId = event.target.dataset.messageId;
|
|
37
|
-
if (messageId) {
|
|
38
|
-
this.props.manager.toggleExpansion(messageId);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
this.onAction = (event) => {
|
|
43
|
-
if (event.target instanceof HTMLElement) {
|
|
44
|
-
const messageId = event.target.dataset.messageId;
|
|
45
|
-
const action = event.target.dataset.action;
|
|
46
|
-
if (messageId && action) {
|
|
47
|
-
this.props.manager.accept(messageId, action);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
this.onMessageClick = (event) => {
|
|
52
|
-
if (event.target instanceof HTMLAnchorElement) {
|
|
53
|
-
event.stopPropagation();
|
|
54
|
-
event.preventDefault();
|
|
55
|
-
const link = event.target.href;
|
|
56
|
-
this.props.manager.openLink(link);
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
this.state = {};
|
|
60
|
-
}
|
|
61
|
-
render() {
|
|
62
|
-
const { messageId, message, type, progress, collapsed, expandable, source, actions } = this.props.notification;
|
|
63
|
-
const isProgress = type === 'progress' || typeof progress === 'number';
|
|
64
|
-
const icon = type === 'progress' ? 'info' : type;
|
|
65
|
-
return (React.createElement("div", { key: messageId, className: 'theia-notification-list-item-container' },
|
|
66
|
-
React.createElement("div", { className: 'theia-notification-list-item', tabIndex: 0 },
|
|
67
|
-
React.createElement("div", { className: `theia-notification-list-item-content ${collapsed ? 'collapsed' : ''}` },
|
|
68
|
-
React.createElement("div", { className: 'theia-notification-list-item-content-main' },
|
|
69
|
-
React.createElement("div", { className: `theia-notification-icon ${(0, browser_1.codicon)(icon)} ${icon}` }),
|
|
70
|
-
React.createElement("div", { className: 'theia-notification-message' },
|
|
71
|
-
React.createElement("span", {
|
|
72
|
-
// eslint-disable-next-line react/no-danger
|
|
73
|
-
dangerouslySetInnerHTML: {
|
|
74
|
-
__html: DOMPurify.sanitize(message, {
|
|
75
|
-
ALLOW_UNKNOWN_PROTOCOLS: true // DOMPurify usually strips non http(s) links from hrefs
|
|
76
|
-
})
|
|
77
|
-
}, onClick: this.onMessageClick })),
|
|
78
|
-
React.createElement("ul", { className: 'theia-notification-actions' },
|
|
79
|
-
expandable && (React.createElement("li", { className: (0, browser_1.codicon)('chevron-down', true) + (collapsed ? ' expand' : ' collapse'), title: collapsed ? 'Expand' : 'Collapse', "data-message-id": messageId, onClick: this.onToggleExpansion })),
|
|
80
|
-
!isProgress && (React.createElement("li", { className: (0, browser_1.codicon)('close', true), title: nls_1.nls.localizeByDefault('Clear'), "data-message-id": messageId, onClick: this.onClear })))),
|
|
81
|
-
(source || !!actions.length) && (React.createElement("div", { className: 'theia-notification-list-item-content-bottom' },
|
|
82
|
-
React.createElement("div", { className: 'theia-notification-source' }, source && (React.createElement("span", null, source))),
|
|
83
|
-
React.createElement("div", { className: 'theia-notification-buttons' }, actions && actions.map((action, index) => (React.createElement("button", { key: messageId + `-action-${index}`, className: 'theia-button', "data-message-id": messageId, "data-action": action, onClick: this.onAction }, action))))))),
|
|
84
|
-
isProgress && (React.createElement("div", { className: 'theia-notification-item-progress' },
|
|
85
|
-
React.createElement("div", { className: `theia-notification-item-progressbar ${progress ? 'determinate' : 'indeterminate'}`, style: { width: `${progress !== null && progress !== void 0 ? progress : '100'}%` } }))))));
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
exports.NotificationComponent = NotificationComponent;
|
|
89
|
-
//# sourceMappingURL=notification-component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification-component.js","sourceRoot":"","sources":["../../src/browser/notification-component.tsx"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,kDAAkD;AAClD,0DAA0D;AAE1D,qDAAkD;AAClD,oDAAiD;AA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AAe,EAAE,EAC/F,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,KAAK,GAAG,EAAE,GAAI,CAC/C,CACT,CACC,CACJ,CAAC,CAAC;IACZ,CAAC;CAEJ;AApGD,sDAoGC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification-content-renderer.d.ts","sourceRoot":"","sources":["../../src/browser/notification-content-renderer.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,UAAU,MAAM,gCAAgC,CAAC;AAG7D,qBACa,2BAA2B;IAEpC,SAAS,CAAC,QAAQ,CAAC,QAAQ,aAA+B;IAE1D,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM;CAMzC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2020 TypeFox and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.NotificationContentRenderer = void 0;
|
|
19
|
-
const tslib_1 = require("tslib");
|
|
20
|
-
const markdownit = require("@theia/core/shared/markdown-it");
|
|
21
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
22
|
-
let NotificationContentRenderer = class NotificationContentRenderer {
|
|
23
|
-
constructor() {
|
|
24
|
-
this.mdEngine = markdownit({ html: false });
|
|
25
|
-
}
|
|
26
|
-
renderMessage(content) {
|
|
27
|
-
// in alignment with vscode, new lines aren't supported
|
|
28
|
-
const contentWithoutNewlines = content.replace(/((\r)?\n)+/gm, ' ');
|
|
29
|
-
return this.mdEngine.renderInline(contentWithoutNewlines);
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
exports.NotificationContentRenderer = NotificationContentRenderer;
|
|
33
|
-
exports.NotificationContentRenderer = NotificationContentRenderer = tslib_1.__decorate([
|
|
34
|
-
(0, inversify_1.injectable)()
|
|
35
|
-
], NotificationContentRenderer);
|
|
36
|
-
//# sourceMappingURL=notification-content-renderer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification-content-renderer.js","sourceRoot":"","sources":["../../src/browser/notification-content-renderer.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,6DAA6D;AAC7D,4DAA0D;AAGnD,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAAjC;QAEgB,aAAQ,GAAG,UAAU,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;IAQ9D,CAAC;IANG,aAAa,CAAC,OAAe;QACzB,uDAAuD;QACvD,MAAM,sBAAsB,GAAG,OAAO,CAAC,OAAO,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC;QAEpE,OAAO,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,sBAAsB,CAAC,CAAC;IAC9D,CAAC;CACJ,CAAA;AAVY,kEAA2B;sCAA3B,2BAA2B;IADvC,IAAA,sBAAU,GAAE;GACA,2BAA2B,CAUvC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification-content-renderer.spec.d.ts","sourceRoot":"","sources":["../../src/browser/notification-content-renderer.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2020 TypeFox and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
const chai_1 = require("chai");
|
|
19
|
-
const notification_content_renderer_1 = require("./notification-content-renderer");
|
|
20
|
-
describe('notification-content-renderer', () => {
|
|
21
|
-
const contentRenderer = new notification_content_renderer_1.NotificationContentRenderer();
|
|
22
|
-
it('should remove new lines', () => {
|
|
23
|
-
expectRenderedContent('foo\nbar', 'foo bar');
|
|
24
|
-
expectRenderedContent('foo\n\n\nbar', 'foo bar');
|
|
25
|
-
});
|
|
26
|
-
it('should render links', () => {
|
|
27
|
-
expectRenderedContent('Link to [theia](https://github.com/eclipse-theia/theia)!', 'Link to <a href="https://github.com/eclipse-theia/theia">theia</a>!');
|
|
28
|
-
expectRenderedContent('Link to [theia](https://github.com/eclipse-theia/theia "title on hover")!', 'Link to <a href="https://github.com/eclipse-theia/theia" title="title on hover">theia</a>!');
|
|
29
|
-
expectRenderedContent('Click [here](command:my-command-id) to open stuff!', 'Click <a href="command:my-command-id">here</a> to open stuff!');
|
|
30
|
-
expectRenderedContent('Click [here](javascript:window.alert();) to open stuff!', 'Click [here](javascript:window.alert();) to open stuff!');
|
|
31
|
-
});
|
|
32
|
-
it('should render markdown', () => {
|
|
33
|
-
expectRenderedContent('*italic*', '<em>italic</em>');
|
|
34
|
-
expectRenderedContent('**bold**', '<strong>bold</strong>');
|
|
35
|
-
});
|
|
36
|
-
it('should not render html', () => {
|
|
37
|
-
expectRenderedContent('<script>document.getElementById("demo").innerHTML = "Hello JavaScript!";</script>', '<script>document.getElementById("demo").innerHTML = "Hello JavaScript!";</script>');
|
|
38
|
-
expectRenderedContent('<a href="javascript:window.alert();">foobar</a>', '<a href="javascript:window.alert();">foobar</a>');
|
|
39
|
-
});
|
|
40
|
-
const expectRenderedContent = (input, output) => (0, chai_1.expect)(contentRenderer.renderMessage(input)).to.be.equal(output);
|
|
41
|
-
});
|
|
42
|
-
//# sourceMappingURL=notification-content-renderer.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification-content-renderer.spec.js","sourceRoot":"","sources":["../../src/browser/notification-content-renderer.spec.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;AAEhF,+BAA8B;AAC9B,mFAA8E;AAE9E,QAAQ,CAAC,+BAA+B,EAAE,GAAG,EAAE;IAE3C,MAAM,eAAe,GAAG,IAAI,2DAA2B,EAAE,CAAC;IAE1D,EAAE,CAAC,yBAAyB,EAAE,GAAG,EAAE;QAC/B,qBAAqB,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;QAC7C,qBAAqB,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,qBAAqB,EAAE,GAAG,EAAE;QAC3B,qBAAqB,CACjB,0DAA0D,EAC1D,qEAAqE,CACxE,CAAC;QACF,qBAAqB,CACjB,2EAA2E,EAC3E,4FAA4F,CAC/F,CAAC;QACF,qBAAqB,CACjB,oDAAoD,EACpD,+DAA+D,CAClE,CAAC;QACF,qBAAqB,CACjB,yDAAyD,EACzD,yDAAyD,CAC5D,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,wBAAwB,EAAE,GAAG,EAAE;QAC9B,qBAAqB,CACjB,UAAU,EACV,iBAAiB,CACpB,CAAC;QACF,qBAAqB,CACjB,UAAU,EACV,uBAAuB,CAC1B,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,wBAAwB,EAAE,GAAG,EAAE;QAC9B,qBAAqB,CACjB,mFAAmF,EACnF,mHAAmH,CACtH,CAAC;QACF,qBAAqB,CACjB,iDAAiD,EACjD,uEAAuE,CAC1E,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,MAAM,qBAAqB,GAAG,CAAC,KAAa,EAAE,MAAc,EAAE,EAAE,CAC5D,IAAA,aAAM,EAAC,eAAe,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;AAEzE,CAAC,CAAC,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import * as React from '@theia/core/shared/react';
|
|
3
|
-
import { DisposableCollection } from '@theia/core';
|
|
4
|
-
import { NotificationManager, NotificationUpdateEvent } from './notifications-manager';
|
|
5
|
-
import { CorePreferences } from '@theia/core/lib/common';
|
|
6
|
-
export interface NotificationToastsComponentProps {
|
|
7
|
-
readonly manager: NotificationManager;
|
|
8
|
-
readonly corePreferences: CorePreferences;
|
|
9
|
-
}
|
|
10
|
-
type NotificationToastsComponentState = Pick<NotificationUpdateEvent, Exclude<keyof NotificationUpdateEvent, 'notifications'>>;
|
|
11
|
-
export declare class NotificationToastsComponent extends React.Component<NotificationToastsComponentProps, NotificationToastsComponentState> {
|
|
12
|
-
constructor(props: NotificationToastsComponentProps);
|
|
13
|
-
protected readonly toDisposeOnUnmount: DisposableCollection;
|
|
14
|
-
componentDidMount(): Promise<void>;
|
|
15
|
-
componentWillUnmount(): void;
|
|
16
|
-
render(): React.ReactNode;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=notification-toasts-component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification-toasts-component.d.ts","sourceRoot":"","sources":["../../src/browser/notification-toasts-component.tsx"],"names":[],"mappings":";AAgBA,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAEvF,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,MAAM,WAAW,gCAAgC;IAC7C,QAAQ,CAAC,OAAO,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;CAC7C;AAED,KAAK,gCAAgC,GAAG,IAAI,CAAC,uBAAuB,EAAE,OAAO,CAAC,MAAM,uBAAuB,EAAE,eAAe,CAAC,CAAC,CAAC;AAE/H,qBAAa,2BAA4B,SAAQ,KAAK,CAAC,SAAS,CAAC,gCAAgC,EAAE,gCAAgC,CAAC;gBAEpH,KAAK,EAAE,gCAAgC;IAQnD,SAAS,CAAC,QAAQ,CAAC,kBAAkB,uBAA8B;IAEpD,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAWxC,oBAAoB,IAAI,IAAI;IAI5B,MAAM,IAAI,KAAK,CAAC,SAAS;CAUrC"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2019 TypeFox and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.NotificationToastsComponent = void 0;
|
|
19
|
-
const React = require("@theia/core/shared/react");
|
|
20
|
-
const core_1 = require("@theia/core");
|
|
21
|
-
const notification_component_1 = require("./notification-component");
|
|
22
|
-
class NotificationToastsComponent extends React.Component {
|
|
23
|
-
constructor(props) {
|
|
24
|
-
super(props);
|
|
25
|
-
this.toDisposeOnUnmount = new core_1.DisposableCollection();
|
|
26
|
-
this.state = {
|
|
27
|
-
toasts: [],
|
|
28
|
-
visibilityState: 'hidden'
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
async componentDidMount() {
|
|
32
|
-
this.toDisposeOnUnmount.push(this.props.manager.onUpdated(({ toasts, visibilityState }) => {
|
|
33
|
-
visibilityState = this.props.corePreferences['workbench.silentNotifications'] ? 'hidden' : visibilityState;
|
|
34
|
-
this.setState({
|
|
35
|
-
toasts: toasts.slice(-3),
|
|
36
|
-
visibilityState
|
|
37
|
-
});
|
|
38
|
-
}));
|
|
39
|
-
}
|
|
40
|
-
componentWillUnmount() {
|
|
41
|
-
this.toDisposeOnUnmount.dispose();
|
|
42
|
-
}
|
|
43
|
-
render() {
|
|
44
|
-
return (React.createElement("div", { className: `theia-notifications-container theia-notification-toasts ${this.state.visibilityState === 'toasts' ? 'open' : 'closed'}` },
|
|
45
|
-
React.createElement("div", { className: 'theia-notification-list' }, this.state.toasts.map(notification => React.createElement(notification_component_1.NotificationComponent, { key: notification.messageId, notification: notification, manager: this.props.manager })))));
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
exports.NotificationToastsComponent = NotificationToastsComponent;
|
|
49
|
-
//# sourceMappingURL=notification-toasts-component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification-toasts-component.js","sourceRoot":"","sources":["../../src/browser/notification-toasts-component.tsx"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,kDAAkD;AAClD,sCAAmD;AAEnD,qEAAiE;AAUjE,MAAa,2BAA4B,SAAQ,KAAK,CAAC,SAA6E;IAEhI,YAAY,KAAuC;QAC/C,KAAK,CAAC,KAAK,CAAC,CAAC;QAOE,uBAAkB,GAAG,IAAI,2BAAoB,EAAE,CAAC;QAN/D,IAAI,CAAC,KAAK,GAAG;YACT,MAAM,EAAE,EAAE;YACV,eAAe,EAAE,QAAQ;SAC5B,CAAC;IACN,CAAC;IAIQ,KAAK,CAAC,iBAAiB;QAC5B,IAAI,CAAC,kBAAkB,CAAC,IAAI,CACxB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,EAAE,EAAE;YACzD,eAAe,GAAG,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,+BAA+B,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC;YAC3G,IAAI,CAAC,QAAQ,CAAC;gBACV,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBACxB,eAAe;aAClB,CAAC,CAAC;QACP,CAAC,CAAC,CACL,CAAC;IACN,CAAC;IACQ,oBAAoB;QACzB,IAAI,CAAC,kBAAkB,CAAC,OAAO,EAAE,CAAC;IACtC,CAAC;IAEQ,MAAM;QACX,OAAO,CACH,6BAAK,SAAS,EAAE,2DAA2D,IAAI,CAAC,KAAK,CAAC,eAAe,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE;YACpI,6BAAK,SAAS,EAAC,yBAAyB,IACnC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC,oBAAC,8CAAqB,IAAC,GAAG,EAAE,YAAY,CAAC,SAAS,EAAE,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,GAAI,CAAC,CACrJ,CACJ,CACT,CAAC;IACN,CAAC;CAEJ;AArCD,kEAqCC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notifications-commands.d.ts","sourceRoot":"","sources":["../../src/browser/notifications-commands.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,OAAO,EAAO,MAAM,aAAa,CAAC;AAG3C,yBAAiB,qBAAqB,CAAC;IAK5B,MAAM,MAAM,SAKiD,CAAC;IAE9D,MAAM,IAAI,SAIf,CAAC;IAEI,MAAM,IAAI,SAIf,CAAC;IAEI,MAAM,SAAS,SAKpB,CAAC;CACN"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2019 TypeFox and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.NotificationsCommands = void 0;
|
|
19
|
-
const core_1 = require("@theia/core");
|
|
20
|
-
const browser_1 = require("@theia/core/lib/browser");
|
|
21
|
-
var NotificationsCommands;
|
|
22
|
-
(function (NotificationsCommands) {
|
|
23
|
-
const NOTIFICATIONS_CATEGORY = 'Notifications';
|
|
24
|
-
const NOTIFICATIONS_CATEGORY_KEY = core_1.nls.getDefaultKey(NOTIFICATIONS_CATEGORY);
|
|
25
|
-
NotificationsCommands.TOGGLE = core_1.Command.toLocalizedCommand({
|
|
26
|
-
id: 'notifications.commands.toggle',
|
|
27
|
-
category: NOTIFICATIONS_CATEGORY,
|
|
28
|
-
iconClass: (0, browser_1.codicon)('list-unordered'),
|
|
29
|
-
label: 'Toggle Notifications'
|
|
30
|
-
}, 'theia/messages/toggleNotifications', NOTIFICATIONS_CATEGORY_KEY);
|
|
31
|
-
NotificationsCommands.SHOW = core_1.Command.toDefaultLocalizedCommand({
|
|
32
|
-
id: 'notifications.commands.show',
|
|
33
|
-
category: NOTIFICATIONS_CATEGORY,
|
|
34
|
-
label: 'Show Notifications'
|
|
35
|
-
});
|
|
36
|
-
NotificationsCommands.HIDE = core_1.Command.toDefaultLocalizedCommand({
|
|
37
|
-
id: 'notifications.commands.hide',
|
|
38
|
-
category: NOTIFICATIONS_CATEGORY,
|
|
39
|
-
label: 'Hide Notifications'
|
|
40
|
-
});
|
|
41
|
-
NotificationsCommands.CLEAR_ALL = core_1.Command.toDefaultLocalizedCommand({
|
|
42
|
-
id: 'notifications.commands.clearAll',
|
|
43
|
-
category: NOTIFICATIONS_CATEGORY,
|
|
44
|
-
iconClass: (0, browser_1.codicon)('clear-all'),
|
|
45
|
-
label: 'Clear All Notifications'
|
|
46
|
-
});
|
|
47
|
-
})(NotificationsCommands || (exports.NotificationsCommands = NotificationsCommands = {}));
|
|
48
|
-
//# sourceMappingURL=notifications-commands.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notifications-commands.js","sourceRoot":"","sources":["../../src/browser/notifications-commands.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,sCAA2C;AAC3C,qDAAkD;AAElD,IAAiB,qBAAqB,CA8BrC;AA9BD,WAAiB,qBAAqB;IAElC,MAAM,sBAAsB,GAAG,eAAe,CAAC;IAC/C,MAAM,0BAA0B,GAAG,UAAG,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAC;IAEhE,4BAAM,GAAG,cAAO,CAAC,kBAAkB,CAAC;QAC7C,EAAE,EAAE,+BAA+B;QACnC,QAAQ,EAAE,sBAAsB;QAChC,SAAS,EAAE,IAAA,iBAAO,EAAC,gBAAgB,CAAC;QACpC,KAAK,EAAE,sBAAsB;KAChC,EAAE,oCAAoC,EAAE,0BAA0B,CAAC,CAAC;IAExD,0BAAI,GAAG,cAAO,CAAC,yBAAyB,CAAC;QAClD,EAAE,EAAE,6BAA6B;QACjC,QAAQ,EAAE,sBAAsB;QAChC,KAAK,EAAE,oBAAoB;KAC9B,CAAC,CAAC;IAEU,0BAAI,GAAG,cAAO,CAAC,yBAAyB,CAAC;QAClD,EAAE,EAAE,6BAA6B;QACjC,QAAQ,EAAE,sBAAsB;QAChC,KAAK,EAAE,oBAAoB;KAC9B,CAAC,CAAC;IAEU,+BAAS,GAAG,cAAO,CAAC,yBAAyB,CAAC;QACvD,EAAE,EAAE,iCAAiC;QACrC,QAAQ,EAAE,sBAAsB;QAChC,SAAS,EAAE,IAAA,iBAAO,EAAC,WAAW,CAAC;QAC/B,KAAK,EAAE,yBAAyB;KACnC,CAAC,CAAC;AACP,CAAC,EA9BgB,qBAAqB,qCAArB,qBAAqB,QA8BrC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { FrontendApplicationContribution, StatusBar, FrontendApplication, KeybindingContribution, KeybindingRegistry, StylingParticipant, ColorTheme, CssStyleCollector } from '@theia/core/lib/browser';
|
|
2
|
-
import { CommandContribution, CommandRegistry } from '@theia/core';
|
|
3
|
-
import { NotificationManager } from './notifications-manager';
|
|
4
|
-
import { NotificationsRenderer } from './notifications-renderer';
|
|
5
|
-
import { ColorContribution } from '@theia/core/lib/browser/color-application-contribution';
|
|
6
|
-
import { ColorRegistry } from '@theia/core/lib/browser/color-registry';
|
|
7
|
-
export declare class NotificationsContribution implements FrontendApplicationContribution, CommandContribution, KeybindingContribution, ColorContribution, StylingParticipant {
|
|
8
|
-
protected readonly id = "theia-notification-center";
|
|
9
|
-
protected readonly manager: NotificationManager;
|
|
10
|
-
protected readonly notificationsRenderer: NotificationsRenderer;
|
|
11
|
-
protected readonly statusBar: StatusBar;
|
|
12
|
-
onStart(_app: FrontendApplication): void;
|
|
13
|
-
protected createStatusBarItem(): void;
|
|
14
|
-
protected updateStatusBarItem(count?: number): void;
|
|
15
|
-
protected getStatusBarItemText(count: number): string;
|
|
16
|
-
protected getStatusBarItemTooltip(count: number): string;
|
|
17
|
-
registerCommands(commands: CommandRegistry): void;
|
|
18
|
-
registerKeybindings(keybindings: KeybindingRegistry): void;
|
|
19
|
-
registerColors(colors: ColorRegistry): void;
|
|
20
|
-
registerThemeStyle(theme: ColorTheme, collector: CssStyleCollector): void;
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=notifications-contribution.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notifications-contribution.d.ts","sourceRoot":"","sources":["../../src/browser/notifications-contribution.ts"],"names":[],"mappings":"AAiBA,OAAO,EACH,+BAA+B,EAAE,SAAS,EAAE,mBAAmB,EAC/D,sBAAsB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,UAAU,EAAE,iBAAiB,EAChG,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wDAAwD,CAAC;AAC3F,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAKvE,qBACa,yBAA0B,YAAW,+BAA+B,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,kBAAkB;IAEjK,SAAS,CAAC,QAAQ,CAAC,EAAE,+BAA+B;IAGpD,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,mBAAmB,CAAC;IAGhD,SAAS,CAAC,QAAQ,CAAC,qBAAqB,EAAE,qBAAqB,CAAC;IAGhE,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAExC,OAAO,CAAC,IAAI,EAAE,mBAAmB,GAAG,IAAI;IAIxC,SAAS,CAAC,mBAAmB,IAAI,IAAI;IAIrC,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