@things-factory/notification 4.1.28 → 5.0.0-alpha.3

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,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
  import { store } from '@things-factory/shell'
4
4
 
@@ -9,7 +9,7 @@ export class NotificationBadge extends connect(store)(LitElement) {
9
9
  :host {
10
10
  font-size: 2em;
11
11
  margin: 0 5px 0 0;
12
- --badge-size:14px;
12
+ --badge-size: 14px;
13
13
  }
14
14
 
15
15
  mwc-icon {
@@ -52,9 +52,7 @@ export class NotificationBadge extends connect(store)(LitElement) {
52
52
 
53
53
  render() {
54
54
  var badge = this.badge || 0
55
- return html`
56
- <mwc-icon data-badge=${badge} class="badge">notifications_none</mwc-icon>
57
- `
55
+ return html` <mwc-icon data-badge=${badge} class="badge">notifications_none</mwc-icon> `
58
56
  }
59
57
 
60
58
  stateChanged(state) {
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
  import '@material/mwc-icon'
3
3
 
4
4
  function isOriginSameAsLocation(url) {
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
  import { connect } from 'pwa-helpers'
3
3
  import { store, notificationStore } from '@things-factory/shell'
4
4
  import { UPDATE_NOTIFICATION } from '../actions/notification-fcm'
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
  import { auth } from '@things-factory/auth-base'
3
3
  import { i18next, localize } from '@things-factory/i18n-base'
4
4
  import { ScrollbarStyles } from '@things-factory/styles'
@@ -1,4 +1,4 @@
1
- import { css, html, LitElement } from 'lit-element'
1
+ import { css, html, LitElement } from 'lit'
2
2
  import Clipboard from 'clipboard'
3
3
 
4
4
  import { notify } from '@things-factory/layout-base'
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wCAAqB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAqB"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAC5B,gDAA6B;AAC7B,gDAA6B;AAE7B,oBAAiB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAC5B,gDAA6B;AAC7B,gDAA6B;AAE7B,oBAAiB"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/service/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yBAAyB;AACzB,8DAA2C;AAE3C,mCAAmC;AACnC,iDAKuB;AAEV,QAAA,QAAQ,GAAG;IACtB,cAAc;IACd,GAAG,uBAAoB;CACxB,CAAA;AAEY,QAAA,MAAM,GAAG;IACpB,QAAQ,oBACH,uBAAoB,CACxB;IACD,eAAe,EAAE;QACf,sBAAsB;QACtB,GAAG,wBAAqB;KACzB;IACD,UAAU,oBACL,yBAAsB,CAC1B;CACF,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/service/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yBAAyB;AACzB,8DAA2C;AAE3C,mCAAmC;AACnC,iDAKuB;AAEV,QAAA,QAAQ,GAAG;IACtB,cAAc;IACd,GAAG,uBAAoB;CACxB,CAAA;AAEY,QAAA,MAAM,GAAG;IACpB,QAAQ,oBACH,uBAAoB,CACxB;IACD,eAAe,EAAE;QACf,sBAAsB;QACtB,GAAG,wBAAqB;KACzB;IACD,UAAU,oBACL,yBAAsB,CAC1B;CACF,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/notification",
3
- "version": "4.1.28",
3
+ "version": "5.0.0-alpha.3",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -27,14 +27,14 @@
27
27
  "@material/mwc-button": "^0.25.3",
28
28
  "@material/mwc-formfield": "^0.25.3",
29
29
  "@material/mwc-switch": "^0.25.3",
30
- "@things-factory/auth-base": "^4.1.28",
31
- "@things-factory/i18n-base": "^4.1.28",
32
- "@things-factory/layout-base": "^4.1.28",
33
- "@things-factory/setting-base": "^4.1.28",
34
- "@things-factory/shell": "^4.1.28",
30
+ "@things-factory/auth-base": "^5.0.0-alpha.3",
31
+ "@things-factory/i18n-base": "^5.0.0-alpha.3",
32
+ "@things-factory/layout-base": "^5.0.0-alpha.3",
33
+ "@things-factory/setting-base": "^5.0.0-alpha.3",
34
+ "@things-factory/shell": "^5.0.0-alpha.3",
35
35
  "clipboard": "^2.0.6",
36
36
  "firebase": "^8.0.1",
37
37
  "firebase-admin": "^9.4.1"
38
38
  },
39
- "gitHead": "3f902602b38074b6e4a2188ab16b2a486f812877"
39
+ "gitHead": "0584a36ba889ff0b426cc87c0d9c8f14ffa2f677"
40
40
  }