@fluid-topics/ft-reader-topic-title 0.3.40 → 0.3.42

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.
@@ -2,7 +2,7 @@
2
2
  .title {
3
3
  font-family: ${o.fontFamily};
4
4
  }
5
- `;var l=function(t,e,s,n){for(var i,o=arguments.length,r=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,s):n,l=t.length-1;l>=0;l--)(i=t[l])&&(r=(o<3?i(r):o>3?i(e,s,r):i(e,s))||r);return o>3&&r&&Object.defineProperty(e,s,r),r};class c extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class d extends(function(t){class e extends t{constructor(){super(...arguments),this.registerInterval=0}setReaderStateManager(t){this.stateManager=t,this.store=t.store}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this.registerInterval=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.store?window.clearInterval(this.registerInterval):this.dispatchEvent(new c)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}return l([n.state()],e.prototype,"stateManager",void 0),e}(e.FtLitElementRedux)){}var a=function(t,e,s,n){for(var i,o=arguments.length,r=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,s):n,l=t.length-1;l>=0;l--)(i=t[l])&&(r=(o<3?i(r):o>3?i(e,s,r):i(e,s))||r);return o>3&&r&&Object.defineProperty(e,s,r),r};class u extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}class v extends(function(t){class e extends t{constructor(){super(...arguments),this.registerInterval=0}connectedCallback(){super.connectedCallback(),this.registerInterval=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this.registerInterval):this.dispatchEvent(new u)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return a([n.state()],e.prototype,"tocNode",void 0),e}(d)){}var h=function(t,e,s,n){for(var i,o=arguments.length,r=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,s):n,l=t.length-1;l>=0;l--)(i=t[l])&&(r=(o<3?i(r):o>3?i(e,s,r):i(e,s))||r);return o>3&&r&&Object.defineProperty(e,s,r),r};class b extends v{render(){var t,e,n,o,r,l;if(!this.map||!this.tocNode)return s.nothing;const c=Math.min((null===(t=this.tocNode)||void 0===t?void 0:t.depth)||1,6),d=null!==(n=null===(e=this.map)||void 0===e?void 0:e.contentStyles.customCssClasses.join(" "))&&void 0!==n?n:"",a=null===(o=this.map)||void 0===o?void 0:o.lang;return s.html`
5
+ `;var l=function(t,e,s,n){for(var i,o=arguments.length,r=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,s):n,l=t.length-1;l>=0;l--)(i=t[l])&&(r=(o<3?i(r):o>3?i(e,s,r):i(e,s))||r);return o>3&&r&&Object.defineProperty(e,s,r),r};class c extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class d extends(function(t){class e extends t{constructor(){super(...arguments),this.registerIntervalReader=0}setReaderStateManager(t){this.stateManager=t,this.store=t.store}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this.registerIntervalReader=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.store?window.clearInterval(this.registerIntervalReader):this.dispatchEvent(new c)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}return l([n.state()],e.prototype,"stateManager",void 0),e}(e.FtLitElementRedux)){}var a=function(t,e,s,n){for(var i,o=arguments.length,r=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,s):n,l=t.length-1;l>=0;l--)(i=t[l])&&(r=(o<3?i(r):o>3?i(e,s,r):i(e,s))||r);return o>3&&r&&Object.defineProperty(e,s,r),r};class u extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}class v extends(function(t){class e extends t{constructor(){super(...arguments),this.registerIntervalTopic=0}connectedCallback(){super.connectedCallback(),this.registerIntervalTopic=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this.registerIntervalTopic):this.dispatchEvent(new u)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return a([n.state()],e.prototype,"tocNode",void 0),e}(d)){}var h=function(t,e,s,n){for(var i,o=arguments.length,r=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,s):n,l=t.length-1;l>=0;l--)(i=t[l])&&(r=(o<3?i(r):o>3?i(e,s,r):i(e,s))||r);return o>3&&r&&Object.defineProperty(e,s,r),r};class b extends v{render(){var t,e,n,o,r,l;if(!this.map||!this.tocNode)return s.nothing;const c=Math.min((null===(t=this.tocNode)||void 0===t?void 0:t.depth)||1,6),d=null!==(n=null===(e=this.map)||void 0===e?void 0:e.contentStyles.customCssClasses.join(" "))&&void 0!==n?n:"",a=null===(o=this.map)||void 0===o?void 0:o.lang;return s.html`
6
6
  <style>
7
7
  @import "${null===(r=this.map)||void 0===r?void 0:r.contentStyles.titleStylesheetUrl}";
8
8
  </style>
@@ -86,7 +86,7 @@ var nt,at;class lt extends C{constructor(){super(...arguments),this.renderOption
86
86
  .title {
87
87
  font-family: ${yt.fontFamily};
88
88
  }
89
- `;var xt=function(t,e,i,s){for(var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class wt extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class gt extends(function(t){class e extends t{constructor(){super(...arguments),this.registerInterval=0}setReaderStateManager(t){this.stateManager=t,this.store=t.store}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this.registerInterval=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.store?window.clearInterval(this.registerInterval):this.dispatchEvent(new wt)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}return xt([o()],e.prototype,"stateManager",void 0),e}(ft)){}var Ot=function(t,e,i,s){for(var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class St extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}class Ct extends(function(t){class e extends t{constructor(){super(...arguments),this.registerInterval=0}connectedCallback(){super.connectedCallback(),this.registerInterval=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this.registerInterval):this.dispatchEvent(new St)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return Ot([o()],e.prototype,"tocNode",void 0),e}(gt)){}
89
+ `;var xt=function(t,e,i,s){for(var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class wt extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class gt extends(function(t){class e extends t{constructor(){super(...arguments),this.registerIntervalReader=0}setReaderStateManager(t){this.stateManager=t,this.store=t.store}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this.registerIntervalReader=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.store?window.clearInterval(this.registerIntervalReader):this.dispatchEvent(new wt)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}return xt([o()],e.prototype,"stateManager",void 0),e}(ft)){}var Ot=function(t,e,i,s){for(var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class St extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}class Ct extends(function(t){class e extends t{constructor(){super(...arguments),this.registerIntervalTopic=0}connectedCallback(){super.connectedCallback(),this.registerIntervalTopic=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this.registerIntervalTopic):this.dispatchEvent(new St)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return Ot([o()],e.prototype,"tocNode",void 0),e}(gt)){}
90
90
  /**
91
91
  * @license
92
92
  * Copyright 2017 Google LLC
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-topic-title",
3
- "version": "0.3.40",
3
+ "version": "0.3.42",
4
4
  "description": "Title of a topic in 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-topic-context": "0.3.40",
23
- "@fluid-topics/ft-wc-utils": "0.3.40",
22
+ "@fluid-topics/ft-reader-topic-context": "0.3.42",
23
+ "@fluid-topics/ft-wc-utils": "0.3.42",
24
24
  "@fluid-topics/public-api": "1.0.27",
25
25
  "lit": "2.2.8"
26
26
  },
27
- "gitHead": "00f0bb16ca98f5ade4f3d9a1c3d1dce54eae97b7"
27
+ "gitHead": "7eea757ebb04b086cdfc1d6dafac078688720aec"
28
28
  }