@servicetitan/notifications 27.0.0 → 27.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/common.d.ts +1 -1
- package/dist/common.d.ts.map +1 -1
- package/dist/components/container.js.map +1 -1
- package/dist/components/default-notification.js +1 -1
- package/dist/components/default-notification.js.map +1 -1
- package/dist/components/no-ssr.d.ts.map +1 -1
- package/dist/components/notifications-unwrapped.js.map +1 -1
- package/dist/components/notifications.js +2 -2
- package/dist/components/notifications.js.map +1 -1
- package/dist/components/shadow-dom.js +1 -1
- package/dist/components/shadow-dom.js.map +1 -1
- package/dist/components/use-style-sheets.js.map +1 -1
- package/dist/create-element.d.ts.map +1 -1
- package/dist/create-element.js.map +1 -1
- package/dist/date-from-string.js.map +1 -1
- package/dist/demo/action-button-preview.js +1 -1
- package/dist/demo/action-button-preview.js.map +1 -1
- package/dist/demo/basic-preview.js +1 -1
- package/dist/demo/basic-preview.js.map +1 -1
- package/dist/demo/container.js +2 -2
- package/dist/demo/container.js.map +1 -1
- package/dist/demo/duration-preview.js +1 -1
- package/dist/demo/duration-preview.js.map +1 -1
- package/dist/demo/multiline-message-preview.js +1 -1
- package/dist/demo/multiline-message-preview.js.map +1 -1
- package/dist/demo/prevent-duplicates-preview.js +1 -1
- package/dist/demo/prevent-duplicates-preview.js.map +1 -1
- package/dist/demo/progress-preview.js +1 -1
- package/dist/demo/progress-preview.js.map +1 -1
- package/dist/demo/server-custom-preview.js +1 -1
- package/dist/demo/server-custom-preview.js.map +1 -1
- package/dist/demo/server-custom.js +1 -1
- package/dist/demo/server-custom.js.map +1 -1
- package/dist/demo/server-default.js +1 -1
- package/dist/demo/server-default.js.map +1 -1
- package/dist/demo/status-variations-preview.js +1 -1
- package/dist/demo/status-variations-preview.js.map +1 -1
- package/dist/notifications-service.js +1 -1
- package/dist/notifications-service.js.map +1 -1
- package/dist/stores/notifications.store.js.map +1 -1
- package/package.json +5 -5
package/dist/common.d.ts
CHANGED
@@ -3,7 +3,7 @@ import { Notification as ServerNotification } from './api/notifications.api';
|
|
3
3
|
export interface Notification extends Omit<ServerNotification, 'payload'> {
|
4
4
|
payload: Record<keyof any, any>;
|
5
5
|
}
|
6
|
-
export
|
6
|
+
export type NotificationMapper = ComponentType<{
|
7
7
|
notification: Notification;
|
8
8
|
onClose(): void;
|
9
9
|
}>;
|
package/dist/common.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7E,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC;IACrE,OAAO,EAAE,MAAM,CAAC,MAAM,GAAG,EAAE,GAAG,CAAC,CAAC;CACnC;AAED,
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7E,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC;IACrE,OAAO,EAAE,MAAM,CAAC,MAAM,GAAG,EAAE,GAAG,CAAC,CAAC;CACnC;AAED,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAC;IAC3C,YAAY,EAAE,YAAY,CAAC;IAC3B,OAAO,IAAI,IAAI,CAAC;CACnB,CAAC,CAAC;AAEH,wBAAgB,OAAO,CACnB,IAAI,EAAE,YAAY,GAAG,kBAAkB,EACvC,IAAI,EAAE,YAAY,GAAG,kBAAkB,WAM1C;AAED,wBAAgB,oBAAoB,CAAC,kBAAkB,EAAE,kBAAkB;;;;;;;;;;EAE1E;AAED,eAAO,MAAM,gCAAgC,8BAA8B,CAAC;AAC5E,eA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CAAC,UAAU,CAAC,CAAC;IAElD,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,CAAC,UAAU,EAAE,CAAC;YACd,aAAa,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CAAC;YACzC,0EAA0E;YAC1E,SAAS,CAAC,SAAS,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;QAC3C,CAAC;IACL,CAAC,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC;IAE5B,OAAO,CACH,MAAC,QAAQ,eACJ,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAC,KAAK,CAAC,KAAK,IAAC,MAAM,EAAE,SAAS,GAAI,EACtD,UAAU,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,IAChD,CACd,CAAC;AACN,CAAC,CAAC;AAEF,SAAS,cAAc,CAAC,MAAmB;;IACvC,OAAO,MAAA,MAAM,CAAC,sBAAsB,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,mCAAI,IAAI,CAAC;AAClE,CAAC"}
|
@@ -21,6 +21,6 @@ export const DefaultNotification = ({ status = Status.Info, title, message, dura
|
|
21
21
|
}
|
22
22
|
onClose();
|
23
23
|
};
|
24
|
-
return (_jsxs(Toast,
|
24
|
+
return (_jsxs(Toast, { portal: false, status: status, title: title, duration: duration, primaryActionName: action === null || action === void 0 ? void 0 : action.label, onPrimaryActionClick: handleActionClick, className: Styles.defaultNotification, onClose: onClose, children: [_jsx("div", { className: Styles.message, children: message }), progress != null && (_jsx(ProgressBar, { progress: progress, small: true, blue: true, className: message && 'm-t-1' }))] }));
|
25
25
|
};
|
26
26
|
//# sourceMappingURL=default-notification.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"default-notification.js","sourceRoot":"","sources":["../../src/components/default-notification.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAEjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAA8B,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE7E,OAAO,KAAK,MAAM,MAAM,mCAAmC,CAAC;AAM5D,MAAM,CAAC,MAAM,mBAAmB,GAAiC,CAAC,EAC9D,MAAM,GAAG,MAAM,CAAC,IAAI,EACpB,KAAK,EACL,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,OAAO,GACV,EAAE,EAAE;IACD,MAAM,QAAQ,GAAG,qBAAqB,EAAE,CAAC;IAEzC,MAAM,iBAAiB,GAAG,GAAG,EAAE;QAC3B,IAAI,MAAM,EAAE;
|
1
|
+
{"version":3,"file":"default-notification.js","sourceRoot":"","sources":["../../src/components/default-notification.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAEjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAA8B,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE7E,OAAO,KAAK,MAAM,MAAM,mCAAmC,CAAC;AAM5D,MAAM,CAAC,MAAM,mBAAmB,GAAiC,CAAC,EAC9D,MAAM,GAAG,MAAM,CAAC,IAAI,EACpB,KAAK,EACL,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,OAAO,GACV,EAAE,EAAE;IACD,MAAM,QAAQ,GAAG,qBAAqB,EAAE,CAAC;IAEzC,MAAM,iBAAiB,GAAG,GAAG,EAAE;QAC3B,IAAI,MAAM,EAAE,CAAC;YACT,IAAI,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;gBACvB,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;oBAClB,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;gBAC7B,CAAC;qBAAM,CAAC;oBACJ,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;gBAC1B,CAAC;YACL,CAAC;iBAAM,CAAC;gBACJ,MAAM,CAAC,OAAO,EAAE,CAAC;YACrB,CAAC;QACL,CAAC;QAED,OAAO,EAAE,CAAC;IACd,CAAC,CAAC;IAEF,OAAO,CACH,MAAC,KAAK,IACF,MAAM,EAAE,KAAK,EACb,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,iBAAiB,EAAE,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,KAAK,EAChC,oBAAoB,EAAE,iBAAiB,EACvC,SAAS,EAAE,MAAM,CAAC,mBAAmB,EACrC,OAAO,EAAE,OAAO,aAEhB,cAAK,SAAS,EAAE,MAAM,CAAC,OAAO,YAAG,OAAO,GAAO,EAE9C,QAAQ,IAAI,IAAI,IAAI,CACjB,KAAC,WAAW,IAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,QAAC,IAAI,QAAC,SAAS,EAAE,OAAO,IAAI,OAAO,GAAI,CAChF,IACG,CACX,CAAC;AACN,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"no-ssr.d.ts","sourceRoot":"","sources":["../../src/components/no-ssr.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,KAAK;
|
1
|
+
{"version":3,"file":"no-ssr.d.ts","sourceRoot":"","sources":["../../src/components/no-ssr.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,KAAK,iBAAkB;IAAE,QAAQ,EAAE,WAAW,CAAA;CAAE,uBAQ5D,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"notifications-unwrapped.js","sourceRoot":"","sources":["../../src/components/notifications-unwrapped.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAM,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AACnF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;YACN,CAAC,CAAC,GACM,GACR,CACX,CAAC;AACN,CAAC,CAAC,CAAC"}
|
@@ -7,11 +7,11 @@ import { register } from '../register';
|
|
7
7
|
import { DEFAULT_CLIENT_NOTIFICATION_TYPE, DEFAULT_SERVER_NOTIFICATION_TYPE, Status, } from '../common';
|
8
8
|
import { DefaultNotification } from './default-notification';
|
9
9
|
import { NotificationsUnwrapped } from './notifications-unwrapped';
|
10
|
-
export const Notifications = ({ apiService, children }) => (_jsxs(Provider,
|
10
|
+
export const Notifications = ({ apiService, children }) => (_jsxs(Provider, { singletons: [
|
11
11
|
...(apiService ? [{ provide: NotificationsApi, useClass: apiService }] : []),
|
12
12
|
NotificationsStore,
|
13
13
|
NotificationsService,
|
14
|
-
]
|
14
|
+
], children: [_jsx(NotificationsUnwrapped, {}), children] }));
|
15
15
|
register(DEFAULT_CLIENT_NOTIFICATION_TYPE, ({ notification, onClose }) => {
|
16
16
|
const payload = notification.payload;
|
17
17
|
return _jsx(DefaultNotification, Object.assign({}, payload, { onClose: onClose }));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"notifications.js","sourceRoot":"","sources":["../../src/components/notifications.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAc,MAAM,yBAAyB,CAAC;AAE/D,OAAO,EACH,gBAAgB,EAEhB,yBAAyB,GAC5B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,EACH,gCAAgC,EAChC,gCAAgC,EAEhC,MAAM,GACT,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAMnE,MAAM,CAAC,MAAM,aAAa,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AC,gCAAgC,EAAE,CAAC,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,EAAE;IACrE,MAAM,OAAO,GAAG,YAAY,CAAC,OAA2C,CAAC;IAEzE,QAAQ,YAAY,CAAC,MAAM,EAAE,CAAC;QAC1B,KAAK,yBAAyB,CAAC,IAAI;YAC/B,OAAO,KAAC,mBAAmB,oBAAK,OAAO,IAAE,OAAO,EAAE,OAAO,IAAI,CAAC;QAElE,KAAK,yBAAyB,CAAC,UAAU;YACrC,OAAO,KAAC,mBAAmB,oBAAK,OAAO,IAAE,QAAQ,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,IAAI,CAAC;QAE/E,KAAK,yBAAyB,CAAC,OAAO;YAClC,OAAO,KAAC,mBAAmB,oBAAK,OAAO,IAAE,MAAM,EAAE,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,IAAI,CAAC;QAE1F,KAAK,yBAAyB,CAAC,OAAO;YAClC,OAAO,KAAC,mBAAmB,oBAAK,OAAO,IAAE,MAAM,EAAE,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,IAAI,CAAC;IAC5F,CAAC;AACL,CAAC,CAAC,CAAC"}
|
@@ -36,6 +36,6 @@ export const ShadowDOM = ({ children }) => {
|
|
36
36
|
retargetEvents(root);
|
37
37
|
setTarget(root.appendChild(document.createElement('div')));
|
38
38
|
};
|
39
|
-
return _jsx("div",
|
39
|
+
return _jsx("div", { ref: handleRef, children: target && loaded ? createPortal(children, target) : null });
|
40
40
|
};
|
41
41
|
//# sourceMappingURL=shadow-dom.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"shadow-dom.js","sourceRoot":"","sources":["../../src/components/shadow-dom.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAyB,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,cAAc,MAAM,kCAAkC,CAAC;AAE9D,OAAO,EA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O,cAAK,GAAG,EAAE,SAAS,YAAG,MAAM,IAAI,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,GAAO,CAAC;AACjG,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"use-style-sheets.js","sourceRoot":"","sources":["../../src/components/use-style-sheets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,EAAE;IAC/B,MAAM,aAAa,GAAG,UAAU,CAAC,oBAAoB,CAAC,CAAC;IAEvD,OAAO,OAAO,CAAC,GAAG,EAAE;QAChB,MAAM,WAAW,GAAa,EAAE,CAAC;QAEjC,KAAK,MAAM,OAAO,IAAI,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE;
|
1
|
+
{"version":3,"file":"use-style-sheets.js","sourceRoot":"","sources":["../../src/components/use-style-sheets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,EAAE;IAC/B,MAAM,aAAa,GAAG,UAAU,CAAC,oBAAoB,CAAC,CAAC;IAEvD,OAAO,OAAO,CAAC,GAAG,EAAE;QAChB,MAAM,WAAW,GAAa,EAAE,CAAC;QAEjC,KAAK,MAAM,OAAO,IAAI,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE,CAAC;YACvD,IAAI,OAAO,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,MAAM,EAAE,CAAC;gBAC3C,WAAW,CAAC,IAAI,CAAE,OAA2B,CAAC,IAAI,CAAC,CAAC;YACxD,CAAC;QACL,CAAC;QAED,OAAO,WAAW,CAAC;IACvB,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;AACxB,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-element.d.ts","sourceRoot":"","sources":["../src/create-element.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,
|
1
|
+
{"version":3,"file":"create-element.d.ts","sourceRoot":"","sources":["../src/create-element.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,mDACb,CAAC,cACE,OAAO,MAAM,EAAE,MAAM,CAAC,6BASrC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-element.js","sourceRoot":"","sources":["../src/create-element.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG,CACzB,OAAU,EACV,UAAkC,EACpC,EAAE;IACA,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAEhD,KAAK,MAAM,CAAC,aAAa,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;
|
1
|
+
{"version":3,"file":"create-element.js","sourceRoot":"","sources":["../src/create-element.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG,CACzB,OAAU,EACV,UAAkC,EACpC,EAAE;IACA,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAEhD,KAAK,MAAM,CAAC,aAAa,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;QAC9D,OAAO,CAAC,YAAY,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;IAC/C,CAAC;IAED,OAAO,OAAO,CAAC;AACnB,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"date-from-string.js","sourceRoot":"","sources":["../src/date-from-string.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,GAAG,sDAAsD,CAAC;AACvE,MAAM,mBAAmB,GAAG,YAAY,CAAC;AACzC,MAAM,OAAO,GAAG,+BAA+B,CAAC;AAEhD,MAAM,UAAU,cAAc,CAAC,IAAmB;IAC9C,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;
|
1
|
+
{"version":3,"file":"date-from-string.js","sourceRoot":"","sources":["../src/date-from-string.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,GAAG,sDAAsD,CAAC;AACvE,MAAM,mBAAmB,GAAG,YAAY,CAAC;AACzC,MAAM,OAAO,GAAG,+BAA+B,CAAC;AAEhD,MAAM,UAAU,cAAc,CAAC,IAAmB;IAC9C,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACrB,MAAM,EAAE,GAAG,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC1C,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,mBAAmB,EAAE,EAAE,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC;QACpC,IAAI,EAAE,KAAK,IAAI,EAAE,CAAC;YACd,IAAI,WAAW,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YACnD,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;YACnD,MAAM,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;QACxC,CAAC;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;IAED,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACrB,MAAM,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACtC,IAAI,UAAU,KAAK,IAAI,EAAE,CAAC;YACtB,OAAO,IAAI,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;QACjD,CAAC;IACL,CAAC;IAED,MAAM,uBAAuB,CAAC;AAClC,CAAC"}
|
@@ -26,6 +26,6 @@ export const ActionButtonPreview = () => {
|
|
26
26
|
onClick: () => alert("You've clicked the action button"),
|
27
27
|
},
|
28
28
|
});
|
29
|
-
return (_jsxs(ButtonGroup, { children: [_jsx(Button,
|
29
|
+
return (_jsxs(ButtonGroup, { children: [_jsx(Button, { onClick: handleWithLinkClick, children: "With Link" }), _jsx(Button, { onClick: handleWithExternalLinkClick, children: "With Link (new tab)" }), _jsx(Button, { onClick: handleWithHandlerClick, children: "With Handler" })] }));
|
30
30
|
};
|
31
31
|
//# sourceMappingURL=action-button-preview.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"action-button-preview.js","sourceRoot":"","sources":["../../src/demo/action-button-preview.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAE1C,MAAM,CAAC,MAAM,mBAAmB,GAAO,GAAG,EAAE;IACxC,MAAM,CAAC,aAAa,CAAC,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;IAE9D,MAAM,mBAAmB,GAAG,GAAG,EAAE,CAC7B,aAAa,CAAC,IAAI,CAAC;QACf,KAAK,EAAE,sEAAsE;QAC7E,MAAM,EAAE;YACJ,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE,sBAAsB;SAC/B;KACJ,CAAC,CAAC;IAEP,MAAM,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ACJ,CAAC,CAAC;IAEP,MAAM,sBAAsB,GAAG,GAAG,EAAE,CAChC,aAAa,CAAC,IAAI,CAAC;QACf,KAAK,EAAE,mDAAmD;QAC1D,MAAM,EAAE;YACJ,KAAK,EAAE,WAAW;YAClB,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,kCAAkC,CAAC;SAC3D;KACJ,CAAC,CAAC;IAEP,OAAO,CACH,MAAC,WAAW,eACR,KAAC,MAAM,IAAC,OAAO,EAAE,mBAAmB,0BAAoB,EACxD,KAAC,MAAM,IAAC,OAAO,EAAE,2BAA2B,oCAA8B,EAC1E,KAAC,MAAM,IAAC,OAAO,EAAE,sBAAsB,6BAAuB,IACpD,CACjB,CAAC;AACN,CAAC,CAAC"}
|
@@ -8,6 +8,6 @@ export const BasicPreview = () => {
|
|
8
8
|
title: 'Congratulations!',
|
9
9
|
message: "You've successfully clicked the button.",
|
10
10
|
});
|
11
|
-
return _jsx(Button,
|
11
|
+
return _jsx(Button, { onClick: handleClick, children: "Show" });
|
12
12
|
};
|
13
13
|
//# sourceMappingURL=basic-preview.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"basic-preview.js","sourceRoot":"","sources":["../../src/demo/basic-preview.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAErD,OAAO,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAE1C,MAAM,CAAC,MAAM,YAAY,GAAO,GAAG,EAAE;IACjC,MAAM,CAAC,aAAa,CAAC,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;IAE9D,MAAM,WAAW,GAAG,GAAG,EAAE,CACrB,aAAa,CAAC,IAAI,CAAC;QACf,KAAK,EAAE,kBAAkB;QACzB,OAAO,EAAE,yCAAyC;KACrD,CAAC,CAAC;IAEP,OAAO,KAAC,MAAM,
|
1
|
+
{"version":3,"file":"basic-preview.js","sourceRoot":"","sources":["../../src/demo/basic-preview.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAErD,OAAO,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAE1C,MAAM,CAAC,MAAM,YAAY,GAAO,GAAG,EAAE;IACjC,MAAM,CAAC,aAAa,CAAC,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;IAE9D,MAAM,WAAW,GAAG,GAAG,EAAE,CACrB,aAAa,CAAC,IAAI,CAAC;QACf,KAAK,EAAE,kBAAkB;QACzB,OAAO,EAAE,yCAAyC;KACrD,CAAC,CAAC;IAEP,OAAO,KAAC,MAAM,IAAC,OAAO,EAAE,WAAW,qBAAe,CAAC;AACvD,CAAC,CAAC"}
|
package/dist/demo/container.js
CHANGED
@@ -55,11 +55,11 @@ const NotificationsInitializer = () => {
|
|
55
55
|
};
|
56
56
|
export const Container = ({ children }) => {
|
57
57
|
const publisherInstance = useMemo(() => new Publisher(), []);
|
58
|
-
return (_jsx(Provider,
|
58
|
+
return (_jsx(Provider, { singletons: [
|
59
59
|
{
|
60
60
|
provide: NOTIFICATIONS_CHANNEL_TOKEN,
|
61
61
|
useValue: () => publisherInstance,
|
62
62
|
},
|
63
|
-
]
|
63
|
+
], children: _jsxs(Notifications, { children: [_jsx(NotificationsInitializer, {}), children(publisherInstance)] }) }));
|
64
64
|
};
|
65
65
|
//# sourceMappingURL=container.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"container.js","sourceRoot":"","sources":["../../src/demo/container.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAM,MAAM,OAAO,CAAC;AAE/C,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAIpE,OAAO,EAAE,2BAA2B,EAAE,aAAa,EAA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B,CAAC,CAAC;AAMF,MAAM,CAAC,MAAM,SAAS,GAAuB,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC1D,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,SAAS,EAAE,EAAE,EAAE,CAAC,CAAC;IAE7D,OAAO,CACH,KAAC,QAAQ,IACL,UAAU,EAAE;YACR;gBACI,OAAO,EAAE,2BAA2B;gBACpC,QAAQ,EAAE,GAAG,EAAE,CAAC,iBAAiB;aACpC;SACJ,YAED,MAAC,aAAa,eACV,KAAC,wBAAwB,KAAG,EAC3B,QAAQ,CAAC,iBAAiB,CAAC,IAChB,GACT,CACd,CAAC;AACN,CAAC,CAAC"}
|
@@ -12,6 +12,6 @@ export const DurationPreview = () => {
|
|
12
12
|
title: "This message won't be closed automatically.",
|
13
13
|
duration: 0,
|
14
14
|
});
|
15
|
-
return (_jsxs(ButtonGroup, { children: [_jsx(Button,
|
15
|
+
return (_jsxs(ButtonGroup, { children: [_jsx(Button, { onClick: handleOneSecondClick, children: "1 second" }), _jsx(Button, { onClick: handleUnlimitedClick, children: "Unlimited" })] }));
|
16
16
|
};
|
17
17
|
//# sourceMappingURL=duration-preview.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"duration-preview.js","sourceRoot":"","sources":["../../src/demo/duration-preview.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAE1C,MAAM,CAAC,MAAM,eAAe,GAAO,GAAG,EAAE;IACpC,MAAM,CAAC,aAAa,CAAC,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;IAE9D,MAAM,oBAAoB,GAAG,GAAG,EAAE,CAC9B,aAAa,CAAC,IAAI,CAAC;QACf,KAAK,EAAE,0CAA0C;QACjD,QAAQ,EAAE,IAAI;KACjB,CAAC,CAAC;IAEP,MAAM,oBAAoB,GAAG,GAAG,EAAE,CAC9B,aAAa,CAAC,IAAI,CAAC;QACf,KAAK,EAAE,6CAA6C;QACpD,QAAQ,EAAE,CAAC;KACd,CAAC,CAAC;IAEP,OAAO,CACH,MAAC,WAAW,eACR,KAAC,MAAM,
|
1
|
+
{"version":3,"file":"duration-preview.js","sourceRoot":"","sources":["../../src/demo/duration-preview.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAE1C,MAAM,CAAC,MAAM,eAAe,GAAO,GAAG,EAAE;IACpC,MAAM,CAAC,aAAa,CAAC,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;IAE9D,MAAM,oBAAoB,GAAG,GAAG,EAAE,CAC9B,aAAa,CAAC,IAAI,CAAC;QACf,KAAK,EAAE,0CAA0C;QACjD,QAAQ,EAAE,IAAI;KACjB,CAAC,CAAC;IAEP,MAAM,oBAAoB,GAAG,GAAG,EAAE,CAC9B,aAAa,CAAC,IAAI,CAAC;QACf,KAAK,EAAE,6CAA6C;QACpD,QAAQ,EAAE,CAAC;KACd,CAAC,CAAC;IAEP,OAAO,CACH,MAAC,WAAW,eACR,KAAC,MAAM,IAAC,OAAO,EAAE,oBAAoB,yBAAmB,EACxD,KAAC,MAAM,IAAC,OAAO,EAAE,oBAAoB,0BAAoB,IAC/C,CACjB,CAAC;AACN,CAAC,CAAC"}
|
@@ -8,6 +8,6 @@ export const MultilineMessagePreview = () => {
|
|
8
8
|
title: 'Notification with multiline message',
|
9
9
|
message: '1. First\r\n2. Second\r\n3. Third',
|
10
10
|
});
|
11
|
-
return (_jsx(ButtonGroup, { children: _jsx(Button,
|
11
|
+
return (_jsx(ButtonGroup, { children: _jsx(Button, { onClick: handleClick, children: "Show" }) }));
|
12
12
|
};
|
13
13
|
//# sourceMappingURL=multiline-message-preview.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"multiline-message-preview.js","sourceRoot":"","sources":["../../src/demo/multiline-message-preview.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAE1C,MAAM,CAAC,MAAM,uBAAuB,GAAO,GAAG,EAAE;IAC5C,MAAM,CAAC,aAAa,CAAC,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;IAE9D,MAAM,WAAW,GAAG,GAAG,EAAE,CACrB,aAAa,CAAC,IAAI,CAAC;QACf,KAAK,EAAE,qCAAqC;QAC5C,OAAO,EAAE,mCAAmC;KAC/C,CAAC,CAAC;IAEP,OAAO,CACH,KAAC,WAAW,cACR,KAAC,MAAM,
|
1
|
+
{"version":3,"file":"multiline-message-preview.js","sourceRoot":"","sources":["../../src/demo/multiline-message-preview.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAE1C,MAAM,CAAC,MAAM,uBAAuB,GAAO,GAAG,EAAE;IAC5C,MAAM,CAAC,aAAa,CAAC,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;IAE9D,MAAM,WAAW,GAAG,GAAG,EAAE,CACrB,aAAa,CAAC,IAAI,CAAC;QACf,KAAK,EAAE,qCAAqC;QAC5C,OAAO,EAAE,mCAAmC;KAC/C,CAAC,CAAC;IAEP,OAAO,CACH,KAAC,WAAW,cACR,KAAC,MAAM,IAAC,OAAO,EAAE,WAAW,qBAAe,GACjC,CACjB,CAAC;AACN,CAAC,CAAC"}
|
@@ -7,6 +7,6 @@ export const PreventDuplicatesPreview = () => {
|
|
7
7
|
const handleClick = () => notifications.show({
|
8
8
|
title: 'Equal notifications will be skipped.',
|
9
9
|
}, true);
|
10
|
-
return (_jsx(ButtonGroup, { children: _jsx(Button,
|
10
|
+
return (_jsx(ButtonGroup, { children: _jsx(Button, { onClick: handleClick, children: "Show" }) }));
|
11
11
|
};
|
12
12
|
//# sourceMappingURL=prevent-duplicates-preview.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"prevent-duplicates-preview.js","sourceRoot":"","sources":["../../src/demo/prevent-duplicates-preview.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAE1C,MAAM,CAAC,MAAM,wBAAwB,GAAO,GAAG,EAAE;IAC7C,MAAM,CAAC,aAAa,CAAC,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;IAE9D,MAAM,WAAW,GAAG,GAAG,EAAE,CACrB,aAAa,CAAC,IAAI,CACd;QACI,KAAK,EAAE,sCAAsC;KAChD,EACD,IAAI,CACP,CAAC;IAEN,OAAO,CACH,KAAC,WAAW,cACR,KAAC,MAAM,
|
1
|
+
{"version":3,"file":"prevent-duplicates-preview.js","sourceRoot":"","sources":["../../src/demo/prevent-duplicates-preview.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAE1C,MAAM,CAAC,MAAM,wBAAwB,GAAO,GAAG,EAAE;IAC7C,MAAM,CAAC,aAAa,CAAC,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;IAE9D,MAAM,WAAW,GAAG,GAAG,EAAE,CACrB,aAAa,CAAC,IAAI,CACd;QACI,KAAK,EAAE,sCAAsC;KAChD,EACD,IAAI,CACP,CAAC;IAEN,OAAO,CACH,KAAC,WAAW,cACR,KAAC,MAAM,IAAC,OAAO,EAAE,WAAW,qBAAe,GACjC,CACjB,CAAC;AACN,CAAC,CAAC"}
|
@@ -8,6 +8,6 @@ export const ProgressPreview = () => {
|
|
8
8
|
title: 'This message contains progress.',
|
9
9
|
progress: 25,
|
10
10
|
});
|
11
|
-
return (_jsx(ButtonGroup, { children: _jsx(Button,
|
11
|
+
return (_jsx(ButtonGroup, { children: _jsx(Button, { onClick: handleClick, children: "Show" }) }));
|
12
12
|
};
|
13
13
|
//# sourceMappingURL=progress-preview.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"progress-preview.js","sourceRoot":"","sources":["../../src/demo/progress-preview.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAE1C,MAAM,CAAC,MAAM,eAAe,GAAO,GAAG,EAAE;IACpC,MAAM,CAAC,aAAa,CAAC,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;IAE9D,MAAM,WAAW,GAAG,GAAG,EAAE,CACrB,aAAa,CAAC,IAAI,CAAC;QACf,KAAK,EAAE,iCAAiC;QACxC,QAAQ,EAAE,EAAE;KACf,CAAC,CAAC;IAEP,OAAO,CACH,KAAC,WAAW,cACR,KAAC,MAAM,
|
1
|
+
{"version":3,"file":"progress-preview.js","sourceRoot":"","sources":["../../src/demo/progress-preview.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAE1C,MAAM,CAAC,MAAM,eAAe,GAAO,GAAG,EAAE;IACpC,MAAM,CAAC,aAAa,CAAC,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;IAE9D,MAAM,WAAW,GAAG,GAAG,EAAE,CACrB,aAAa,CAAC,IAAI,CAAC;QACf,KAAK,EAAE,iCAAiC;QACxC,QAAQ,EAAE,EAAE;KACf,CAAC,CAAC;IAEP,OAAO,CACH,KAAC,WAAW,cACR,KAAC,MAAM,IAAC,OAAO,EAAE,WAAW,qBAAe,GACjC,CACjB,CAAC;AACN,CAAC,CAAC"}
|
@@ -3,6 +3,6 @@ import { Toast, Avatar, Stack } from '@servicetitan/design-system';
|
|
3
3
|
import { register } from '..';
|
4
4
|
register('CustomServerNotification', ({ notification, onClose }) => {
|
5
5
|
const { username, message } = notification.payload;
|
6
|
-
return (_jsx(Toast,
|
6
|
+
return (_jsx(Toast, { title: "You have a new message", portal: false, onClose: onClose, children: _jsxs(Stack, { alignItems: "center", children: [_jsx(Avatar, { name: username, className: "m-r-1" }), _jsx(Stack.Item, { fill: true, children: message })] }) }));
|
7
7
|
});
|
8
8
|
//# sourceMappingURL=server-custom-preview.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"server-custom-preview.js","sourceRoot":"","sources":["../../src/demo/server-custom-preview.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAEnE,OAAO,EAAE,QAAQ,EAAE,MAAM,IAAI,CAAC;AAE9B,QAAQ,CAAC,0BAA0B,EAAE,CAAC,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,EAAE;IAC/D,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,YAAY,CAAC,OAAO,CAAC;IAEnD,OAAO,CACH,KAAC,KAAK,
|
1
|
+
{"version":3,"file":"server-custom-preview.js","sourceRoot":"","sources":["../../src/demo/server-custom-preview.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAEnE,OAAO,EAAE,QAAQ,EAAE,MAAM,IAAI,CAAC;AAE9B,QAAQ,CAAC,0BAA0B,EAAE,CAAC,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,EAAE;IAC/D,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,YAAY,CAAC,OAAO,CAAC;IAEnD,OAAO,CACH,KAAC,KAAK,IAAC,KAAK,EAAC,wBAAwB,EAAC,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,YACjE,MAAC,KAAK,IAAC,UAAU,EAAC,QAAQ,aACtB,KAAC,MAAM,IAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAC,OAAO,GAAG,EAC5C,KAAC,KAAK,CAAC,IAAI,IAAC,IAAI,kBAAE,OAAO,GAAc,IACnC,GACJ,CACX,CAAC;AACN,CAAC,CAAC,CAAC"}
|
@@ -21,6 +21,6 @@ export const ServerCustomExample = () => (_jsx(Container, { children: publisher
|
|
21
21
|
};
|
22
22
|
publisher.fire(notification);
|
23
23
|
};
|
24
|
-
return _jsx(Button,
|
24
|
+
return _jsx(Button, { onClick: handleClick, children: "Show" });
|
25
25
|
} }));
|
26
26
|
//# sourceMappingURL=server-custom.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"server-custom.js","sourceRoot":"","sources":["../../src/demo/server-custom.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAErD,OAAO,EAAE,yBAAyB,EAAE,MAAM,IAAI,CAAC;AAE/C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAA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;gBACb,SAAS,EAAE,IAAI,IAAI,EAAE;gBACrB,UAAU,EAAE,IAAI,IAAI,EAAE;gBACtB,OAAO,EAAE,yBAAyB,CAAC,IAAI;gBACvC,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC;oBACpB,QAAQ,EAAE,MAAM;oBAChB,OAAO,EAAE,8BAA8B;iBAC1C,CAAC;aACL,CAAC;YAEF,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACjC,CAAC,CAAC;QAEF,OAAO,KAAC,MAAM,IAAC,OAAO,EAAE,WAAW,qBAAe,CAAC;IACvD,CAAC,GACO,CACf,CAAC"}
|
@@ -37,6 +37,6 @@ export const ServerDefaultExample = () => (_jsx(Container, { children: publisher
|
|
37
37
|
}, 250);
|
38
38
|
}, 2000);
|
39
39
|
};
|
40
|
-
return _jsx(Button,
|
40
|
+
return _jsx(Button, { onClick: handleClick, children: "Show" });
|
41
41
|
} }));
|
42
42
|
//# sourceMappingURL=server-default.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"server-default.js","sourceRoot":"","sources":["../../src/demo/server-default.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAErD,OAAO,EAAE,yBAAyB,EAAE,MAAM,IAAI,CAAC;AAE/C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,CAAC,MAAM,oBAAoB,GAAO,GAAG,EAAE,CAAC,CAC1C,KAAC,SAAS,cACL,SAAS,CAAC,EAAE;QACT,MAAM,WAAW,GAAG,GAAG,EAAE;YACrB,IAAI,YAAY,GAAG;gBACf,EAAE,EAAE,IAAI,CAAC,GAAG,EAAE;gBACd,MAAM,EAAE,CAAC;gBACT,IAAI,EAAE,2BAA2B;gBACjC,MAAM,EAAE,yBAAyB,CAAC,IAAI;gBACtC,MAAM,EAAE,KAAK;gBACb,SAAS,EAAE,IAAI,IAAI,EAAE;gBACrB,UAAU,EAAE,IA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,EAAE,KAAK,EACb,UAAU,EAAE,IAAI,IAAI,EAAE,EACtB,OAAO,EAAE,yBAAyB,CAAC,OAAO,EAC1C,OAAO,EAAE,IAAI,CAAC,SAAS,iCAChB,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,KACnC,OAAO,EAAE,kCAAkC,EAC3C,QAAQ,EAAE,SAAS,IACrB,GACL,CAAC;wBAEF,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;wBAE7B,aAAa,CAAC,UAAU,CAAC,CAAC;oBAC9B,CAAC;gBACL,CAAC,EAAE,GAAG,CAAC,CAAC;YACZ,CAAC,EAAE,IAAI,CAAC,CAAC;QACb,CAAC,CAAC;QAEF,OAAO,KAAC,MAAM,IAAC,OAAO,EAAE,WAAW,qBAAe,CAAC;IACvD,CAAC,GACO,CACf,CAAC"}
|
@@ -16,6 +16,6 @@ export const StatusVariationsPreview = () => {
|
|
16
16
|
const handleErrorClick = () => notifications.error({
|
17
17
|
title: "You've successfully clicked the 'Error' button.",
|
18
18
|
});
|
19
|
-
return (_jsxs(ButtonGroup, { children: [_jsx(Button,
|
19
|
+
return (_jsxs(ButtonGroup, { children: [_jsx(Button, { onClick: handleInfoClick, children: "Info" }), _jsx(Button, { onClick: handleSuccessClick, children: "Success" }), _jsx(Button, { onClick: handleWarningClick, children: "Warning" }), _jsx(Button, { onClick: handleErrorClick, children: "Error" })] }));
|
20
20
|
};
|
21
21
|
//# sourceMappingURL=status-variations-preview.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"status-variations-preview.js","sourceRoot":"","sources":["../../src/demo/status-variations-preview.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAE1C,MAAM,CAAC,MAAM,uBAAuB,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CAC5B,aAAa,CAAC,OAAO,CAAC;QAClB,KAAK,EAAE,mDAAmD;KAC7D,CAAC,CAAC;IAEP,MAAM,gBAAgB,GAAG,GAAG,EAAE,CAC1B,aAAa,CAAC,KAAK,CAAC;QAChB,KAAK,EAAE,iDAAiD;KAC3D,CAAC,CAAC;IAEP,OAAO,CACH,MAAC,WAAW,eACR,KAAC,MAAM,IAAC,OAAO,EAAE,eAAe,qBAAe,EAC/C,KAAC,MAAM,IAAC,OAAO,EAAE,kBAAkB,wBAAkB,EACrD,KAAC,MAAM,IAAC,OAAO,EAAE,kBAAkB,wBAAkB,EACrD,KAAC,MAAM,IAAC,OAAO,EAAE,gBAAgB,sBAAgB,IACvC,CACjB,CAAC;AACN,CAAC,CAAC"}
|
@@ -34,7 +34,7 @@ let NotificationsService = class NotificationsService {
|
|
34
34
|
enumerable: true,
|
35
35
|
configurable: true,
|
36
36
|
writable: true,
|
37
|
-
value: (
|
37
|
+
value: (...args_1) => __awaiter(this, [...args_1], void 0, function* (userId = 0) {
|
38
38
|
yield this.store.initialize(userId);
|
39
39
|
})
|
40
40
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"notifications-service.js","sourceRoot":"","sources":["../src/notifications-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,EAA8B,MAAM,EAAE,MAAM,UAAU,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;
|
1
|
+
{"version":3,"file":"notifications-service.js","sourceRoot":"","sources":["../src/notifications-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,EAA8B,MAAM,EAAE,MAAM,UAAU,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8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AC,kBAAkB,CAAC,CAAA;qCAAyB,kBAAkB;GADzE,oBAAoB,CAwDhC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"notifications.store.js","sourceRoot":"","sources":["../../src/stores/notifications.store.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEvE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAE3F,OAAO,EAAwB,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAE7F,OAAO,EACH,gBAAgB,EAEhB,yBAAyB,GAC5B,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACH,OAAO,EAGP,oBAAoB,EACpB,gCAAgC,GAEnC,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,MAAM,UAAU,GAAG,mBAAmB,CAAC;AAOvC,MAAM,YAAY,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;
|
1
|
+
{"version":3,"file":"notifications.store.js","sourceRoot":"","sources":["../../src/stores/notifications.store.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEvE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAE3F,OAAO,EAAwB,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAE7F,OAAO,EACH,gBAAgB,EAEhB,yBAAyB,GAC5B,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACH,OAAO,EAGP,oBAAoB,EACpB,gCAAgC,GAEnC,MAAM,WAA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AAM,CAAC,2BAA2B,CAAC,CAAA;IACnC,WAAA,QAAQ,EAAE,CAAA;qCAF+D,gBAAgB;GAfrF,kBAAkB,CAuJ9B"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@servicetitan/notifications",
|
3
|
-
"version": "27.
|
3
|
+
"version": "27.2.0",
|
4
4
|
"description": "",
|
5
5
|
"homepage": "https://docs.st.dev/docs/frontend/notifications-center",
|
6
6
|
"repository": {
|
@@ -22,9 +22,9 @@
|
|
22
22
|
},
|
23
23
|
"devDependencies": {
|
24
24
|
"@servicetitan/design-system": "~13.4.5",
|
25
|
-
"@servicetitan/log-service": "^
|
26
|
-
"@servicetitan/react-ioc": "^
|
27
|
-
"@servicetitan/web-components": "^
|
25
|
+
"@servicetitan/log-service": "^24.0.3",
|
26
|
+
"@servicetitan/react-ioc": "^24.0.3",
|
27
|
+
"@servicetitan/web-components": "^24.0.3",
|
28
28
|
"@testing-library/jest-dom": "^6.4.2",
|
29
29
|
"@testing-library/react": "^14.2.1",
|
30
30
|
"@types/react": "~18.2.55",
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"cli": {
|
56
56
|
"webpack": false
|
57
57
|
},
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "7f15f8442d74bbba1435bacfc365066ff02c3c9d"
|
59
59
|
}
|