@teambit/notifications 0.0.1158 → 0.0.1159
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.
|
@@ -1,26 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
require("core-js/modules/es.array.iterator.js");
|
|
5
|
-
require("core-js/modules/es.promise.js");
|
|
6
3
|
Object.defineProperty(exports, "__esModule", {
|
|
7
4
|
value: true
|
|
8
5
|
});
|
|
9
6
|
exports.default = void 0;
|
|
10
|
-
function _extends2() {
|
|
11
|
-
const data = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
12
|
-
_extends2 = function () {
|
|
13
|
-
return data;
|
|
14
|
-
};
|
|
15
|
-
return data;
|
|
16
|
-
}
|
|
17
|
-
function _defineProperty2() {
|
|
18
|
-
const data = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
19
|
-
_defineProperty2 = function () {
|
|
20
|
-
return data;
|
|
21
|
-
};
|
|
22
|
-
return data;
|
|
23
|
-
}
|
|
24
7
|
function _ui() {
|
|
25
8
|
const data = require("@teambit/ui");
|
|
26
9
|
_ui = function () {
|
|
@@ -79,6 +62,10 @@ function _notifications() {
|
|
|
79
62
|
}
|
|
80
63
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
81
64
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
65
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
66
|
+
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; }
|
|
67
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
68
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
82
69
|
/**
|
|
83
70
|
* extension
|
|
84
71
|
*/
|
|
@@ -87,9 +74,9 @@ class NotificationUI {
|
|
|
87
74
|
return new NotificationUI(uiRuntimeExtension);
|
|
88
75
|
}
|
|
89
76
|
constructor(uiRuntimeExtension) {
|
|
90
|
-
(
|
|
77
|
+
_defineProperty(this, "dispatch", void 0);
|
|
91
78
|
/** adds a full message to the log */
|
|
92
|
-
(
|
|
79
|
+
_defineProperty(this, "add", (message, level) => {
|
|
93
80
|
var _this$dispatch;
|
|
94
81
|
const id = (0, _uuid().v1)();
|
|
95
82
|
(_this$dispatch = this.dispatch) === null || _this$dispatch === void 0 ? void 0 : _this$dispatch.call(this, {
|
|
@@ -104,29 +91,29 @@ class NotificationUI {
|
|
|
104
91
|
return id;
|
|
105
92
|
});
|
|
106
93
|
/** adds a message with level "info" to the log */
|
|
107
|
-
(
|
|
94
|
+
_defineProperty(this, "log", message => this.add(message, _uiFoundationUiNotifications3().MessageLevel.info));
|
|
108
95
|
/** adds a message with level "warning" to the log */
|
|
109
|
-
(
|
|
96
|
+
_defineProperty(this, "warn", message => this.add(message, _uiFoundationUiNotifications3().MessageLevel.warning));
|
|
110
97
|
/** adds a message with level "error" to the log */
|
|
111
|
-
(
|
|
98
|
+
_defineProperty(this, "error", message => this.add(message, _uiFoundationUiNotifications3().MessageLevel.error));
|
|
112
99
|
/** adds a message with level "success" to the log */
|
|
113
|
-
(
|
|
100
|
+
_defineProperty(this, "success", message => this.add(message, _uiFoundationUiNotifications3().MessageLevel.success));
|
|
114
101
|
/** removes all notifications */
|
|
115
|
-
(
|
|
102
|
+
_defineProperty(this, "clear", () => {
|
|
116
103
|
var _this$dispatch2;
|
|
117
104
|
(_this$dispatch2 = this.dispatch) === null || _this$dispatch2 === void 0 ? void 0 : _this$dispatch2.call(this, {
|
|
118
105
|
type: 'clear'
|
|
119
106
|
});
|
|
120
107
|
});
|
|
121
|
-
(
|
|
108
|
+
_defineProperty(this, "render", props => {
|
|
122
109
|
// this code assumes a single place of render per instance of NotificationUI
|
|
123
110
|
const [messages, dispatch] = (0, _react().useReducer)(_notificationReducer().notificationReducer, []);
|
|
124
111
|
this.dispatch = dispatch;
|
|
125
|
-
return /*#__PURE__*/_react().default.createElement(_uiFoundationUiNotifications2().NotificationCenter, (
|
|
112
|
+
return /*#__PURE__*/_react().default.createElement(_uiFoundationUiNotifications2().NotificationCenter, _extends({}, props, {
|
|
126
113
|
notifications: messages
|
|
127
114
|
}));
|
|
128
115
|
});
|
|
129
|
-
(
|
|
116
|
+
_defineProperty(this, "renderContext", ({
|
|
130
117
|
children
|
|
131
118
|
}) => {
|
|
132
119
|
return /*#__PURE__*/_react().default.createElement(_uiFoundationUiNotifications().NotificationContext.Provider, {
|
|
@@ -150,8 +137,8 @@ class NotificationUI {
|
|
|
150
137
|
}
|
|
151
138
|
}
|
|
152
139
|
exports.default = NotificationUI;
|
|
153
|
-
(
|
|
154
|
-
(
|
|
140
|
+
_defineProperty(NotificationUI, "dependencies", [_ui().UIAspect]);
|
|
141
|
+
_defineProperty(NotificationUI, "runtime", _ui().UIRuntime);
|
|
155
142
|
_notifications().NotificationsAspect.addRuntime(NotificationUI);
|
|
156
143
|
|
|
157
144
|
//# sourceMappingURL=notification.ui.runtime.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_ui","data","require","_react","_interopRequireWildcard","_uuid","_uiFoundationUiNotifications","_uiFoundationUiNotifications2","_uiFoundationUiNotifications3","_notificationReducer","_notifications","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","NotificationUI","provider","uiRuntimeExtension","constructor","
|
|
1
|
+
{"version":3,"names":["_ui","data","require","_react","_interopRequireWildcard","_uuid","_uiFoundationUiNotifications","_uiFoundationUiNotifications2","_uiFoundationUiNotifications3","_notificationReducer","_notifications","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","_defineProperty","value","_toPropertyKey","enumerable","configurable","writable","arg","_toPrimitive","String","input","hint","prim","Symbol","toPrimitive","undefined","res","TypeError","Number","NotificationUI","provider","uiRuntimeExtension","constructor","message","level","_this$dispatch","id","v1","dispatch","type","content","time","Date","toISOString","add","MessageLevel","info","warning","error","success","_this$dispatch2","props","messages","useReducer","notificationReducer","createElement","NotificationCenter","notifications","children","NotificationContext","Provider","registerHudItem","render","registerRenderHooks","reactContext","renderContext","dismiss","_this$dispatch3","exports","UIAspect","UIRuntime","NotificationsAspect","addRuntime"],"sources":["notification.ui.runtime.tsx"],"sourcesContent":["import { UIAspect, UIRuntime, UiUI } from '@teambit/ui';\nimport React, { ReactNode, useReducer } from 'react';\nimport { v1 } from 'uuid';\n\nimport { NotificationContext } from '@teambit/ui-foundation.ui.notifications.notification-context';\nimport {\n NotificationCenter,\n NotificationCenterProps,\n} from '@teambit/ui-foundation.ui.notifications.notification-center';\nimport { MessageLevel, NotificationsStore } from '@teambit/ui-foundation.ui.notifications.store';\nimport { NotificationAction, notificationReducer } from './notification-reducer';\nimport { NotificationsAspect } from './notifications.aspect';\n\n/**\n * extension\n */\nexport default class NotificationUI implements NotificationsStore {\n static dependencies = [UIAspect];\n\n static runtime = UIRuntime;\n\n static async provider([uiRuntimeExtension]: [UiUI]) {\n return new NotificationUI(uiRuntimeExtension);\n }\n\n constructor(uiRuntimeExtension: UiUI) {\n uiRuntimeExtension.registerHudItem(<this.render key=\"NotificationUI\" />);\n uiRuntimeExtension.registerRenderHooks({ reactContext: this.renderContext });\n }\n\n private dispatch?: React.Dispatch<NotificationAction>;\n\n /** adds a full message to the log */\n add = (message: string, level: MessageLevel) => {\n const id = v1();\n\n this.dispatch?.({\n type: 'add',\n content: {\n id,\n message,\n level,\n time: new Date().toISOString(),\n },\n });\n\n return id;\n };\n\n /** removes/archives a message from the log */\n dismiss(id: string) {\n this.dispatch?.({\n type: 'dismiss',\n id,\n });\n }\n\n /** adds a message with level \"info\" to the log */\n log = (message: string) => this.add(message, MessageLevel.info);\n /** adds a message with level \"warning\" to the log */\n warn = (message: string) => this.add(message, MessageLevel.warning);\n /** adds a message with level \"error\" to the log */\n error = (message: string) => this.add(message, MessageLevel.error);\n /** adds a message with level \"success\" to the log */\n success = (message: string) => this.add(message, MessageLevel.success);\n\n /** removes all notifications */\n clear = () => {\n this.dispatch?.({\n type: 'clear',\n });\n };\n\n private render = (props: Omit<NotificationCenterProps, 'notifications'>) => {\n // this code assumes a single place of render per instance of NotificationUI\n const [messages, dispatch] = useReducer(notificationReducer, []);\n this.dispatch = dispatch;\n\n return <NotificationCenter {...props} notifications={messages} />;\n };\n\n private renderContext = ({ children }: { children: ReactNode }) => {\n return <NotificationContext.Provider value={this}>{children}</NotificationContext.Provider>;\n };\n}\n\nNotificationsAspect.addRuntime(NotificationUI);\n"],"mappings":";;;;;;AAAA,SAAAA,IAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,GAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,OAAA;EAAA,MAAAF,IAAA,GAAAG,uBAAA,CAAAF,OAAA;EAAAC,MAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,MAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,KAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAK,6BAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,4BAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAM,8BAAA;EAAA,MAAAN,IAAA,GAAAC,OAAA;EAAAK,6BAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAIA,SAAAO,8BAAA;EAAA,MAAAP,IAAA,GAAAC,OAAA;EAAAM,6BAAA,YAAAA,CAAA;IAAA,OAAAP,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAQ,qBAAA;EAAA,MAAAR,IAAA,GAAAC,OAAA;EAAAO,oBAAA,YAAAA,CAAA;IAAA,OAAAR,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAS,eAAA;EAAA,MAAAT,IAAA,GAAAC,OAAA;EAAAQ,cAA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cloud/teambit/ui-foundation/notifications",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.ui-foundation",
|
|
8
8
|
"name": "notifications",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.1159"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"uuid": "8.3.2",
|
|
13
|
-
"core-js": "^3.0.0",
|
|
14
|
-
"@babel/runtime": "7.20.0",
|
|
15
13
|
"@teambit/harmony": "0.4.6",
|
|
16
|
-
"@teambit/ui-foundation.ui.notifications.store": "0.0.
|
|
17
|
-
"@teambit/ui-foundation.ui.notifications.notification-center": "0.0.
|
|
18
|
-
"@teambit/ui-foundation.ui.notifications.notification-context": "0.0.
|
|
19
|
-
"@teambit/ui": "0.0.
|
|
14
|
+
"@teambit/ui-foundation.ui.notifications.store": "0.0.496",
|
|
15
|
+
"@teambit/ui-foundation.ui.notifications.notification-center": "0.0.516",
|
|
16
|
+
"@teambit/ui-foundation.ui.notifications.notification-context": "0.0.497",
|
|
17
|
+
"@teambit/ui": "0.0.1159"
|
|
20
18
|
},
|
|
21
19
|
"devDependencies": {
|
|
22
20
|
"@types/react": "^17.0.8",
|
|
@@ -28,7 +26,7 @@
|
|
|
28
26
|
"@types/testing-library__jest-dom": "5.9.5"
|
|
29
27
|
},
|
|
30
28
|
"peerDependencies": {
|
|
31
|
-
"@teambit/legacy": "1.0.
|
|
29
|
+
"@teambit/legacy": "1.0.558",
|
|
32
30
|
"react": "^16.8.0 || ^17.0.0",
|
|
33
31
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
34
32
|
},
|
|
File without changes
|