@fluid-topics/ft-reader-toc 0.3.8 → 0.3.9

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.
@@ -71,7 +71,7 @@ var rt,nt;null==ot||ot(Z,X),(null!==($=globalThis.litHtmlVersions)&&void 0!==$?$
71
71
  -ms-user-select: none;
72
72
  user-select: none;
73
73
  }
74
- `;const ft=(t,e)=>(i,o)=>{i.constructor.createProperty(o,{attribute:!1,hasChanged:null!=e?e:n});const r=i;r.reduxProperties=r.reduxProperties||new Map,r.reduxProperties.set(o,null!=t?t:t=>t[o])};class ut extends pt{get store(){return this.internalStore}set store(t){this.internalStore=t,this.store&&this.setupStore()}updateFromStore(){const t=this.store.getState();this.reduxProperties&&this.reduxProperties.forEach(((e,i)=>{this[i]=e(t,this)}))}setupStore(){this.unsubscribeFromStore&&this.unsubscribeFromStore(),this.updateFromStore(),this.unsubscribeFromStore=this.store.subscribe((()=>{this.updateFromStore()})),this.onStoreAvailable(),this.requestUpdate()}onStoreAvailable(){}connectedCallback(){super.connectedCallback(),this.store&&this.setupStore()}disconnectedCallback(){this.unsubscribeFromStore&&this.unsubscribeFromStore(),super.disconnectedCallback()}}var dt,yt;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(yt=null===(dt=window.safari)||void 0===dt?void 0:dt.pushNotification)||void 0===yt||yt.toString());
74
+ `;const ft=(t,e)=>(i,o)=>{i.constructor.createProperty(o,{attribute:!1,hasChanged:null!=e?e:(t,e)=>!n(t,e)});const r=i;r.reduxProperties=r.reduxProperties||new Map,r.reduxProperties.set(o,null!=t?t:t=>t[o])};class ut extends pt{get store(){return this.internalStore}set store(t){this.internalStore=t,this.store&&this.setupStore()}updateFromStore(){const t=this.store.getState();this.reduxProperties&&this.reduxProperties.forEach(((e,i)=>{this[i]=e(t,this)}))}setupStore(){this.unsubscribeFromStore&&this.unsubscribeFromStore(),this.updateFromStore(),this.unsubscribeFromStore=this.store.subscribe((()=>{this.updateFromStore()})),this.onStoreAvailable(),this.requestUpdate()}onStoreAvailable(){}connectedCallback(){super.connectedCallback(),this.store&&this.setupStore()}disconnectedCallback(){this.unsubscribeFromStore&&this.unsubscribeFromStore(),super.disconnectedCallback()}}var dt,yt;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(yt=null===(dt=window.safari)||void 0===dt?void 0:dt.pushNotification)||void 0===yt||yt.toString());
75
75
  /**
76
76
  * @license
77
77
  * Copyright 2017 Google LLC
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-toc",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "Main table of content for integrated reader",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,10 +19,10 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-reader-context": "0.3.8",
23
- "@fluid-topics/ft-typography": "0.3.8",
24
- "@fluid-topics/ft-wc-utils": "0.3.8",
22
+ "@fluid-topics/ft-reader-context": "0.3.9",
23
+ "@fluid-topics/ft-typography": "0.3.9",
24
+ "@fluid-topics/ft-wc-utils": "0.3.9",
25
25
  "lit": "2.2.8"
26
26
  },
27
- "gitHead": "1f42b53be98492f7b9c614f005535bdacc0229a1"
27
+ "gitHead": "b326dc3ac2a2e625407370a2fc240df938e0d09f"
28
28
  }