@fluid-topics/ft-reader-navigation-button 1.0.49 → 1.0.50

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.
@@ -575,7 +575,7 @@ const ot=Symbol.for(""),nt=t=>{if((null==t?void 0:t.r)===ot)return null==t?void
575
575
  @click=${t=>this.onLinkClick(t)}>
576
576
  <slot></slot>
577
577
  </a>
578
- `}onLinkClick(t){var i;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),this.tocId&&(null===(i=this.stateManager)||void 0===i||i.navigateToTopic(this.tocId,this.section,this.pageNumber)),this.click())}}le.styles=l,re([o.property()],le.prototype,"tocId",void 0),re([o.property()],le.prototype,"section",void 0),re([o.property({type:Number})],le.prototype,"pageNumber",void 0),re([o.property({type:Boolean})],le.prototype,"removeStyle",void 0),i.customElement("ft-reader-internal-link")(le);var ae=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class pe extends se{constructor(){super(...arguments),this.target="next",this.tooltipPosition="bottom",this.hideTooltip=!1,this.trailingIcon=!1,this.editorMode=!1,this.isReady=!1,this.debouncer=new i.Debouncer(10)}get defaultContent(){return this.target.substring(0,1).toUpperCase()+this.target.substring(1)}get defaultIcon(){return"next"===this.target?Zi.THIN_ARROW_RIGHT:Zi.THIN_ARROW_LEFT}render(){var t,i,o,n,s;if(null==this.targetPage&&!this.editorMode)return e.nothing;const r=e.html`
578
+ `}onLinkClick(t){var i;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(i=this.stateManager)||void 0===i||i.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}le.styles=l,re([o.property()],le.prototype,"tocId",void 0),re([o.property()],le.prototype,"section",void 0),re([o.property({type:Number})],le.prototype,"pageNumber",void 0),re([o.property({type:Boolean})],le.prototype,"removeStyle",void 0),i.customElement("ft-reader-internal-link")(le);var ae=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class pe extends se{constructor(){super(...arguments),this.target="next",this.tooltipPosition="bottom",this.hideTooltip=!1,this.trailingIcon=!1,this.editorMode=!1,this.isReady=!1,this.debouncer=new i.Debouncer(10)}get defaultContent(){return this.target.substring(0,1).toUpperCase()+this.target.substring(1)}get defaultIcon(){return"next"===this.target?Zi.THIN_ARROW_RIGHT:Zi.THIN_ARROW_LEFT}render(){var t,i,o,n,s;if(null==this.targetPage&&!this.editorMode)return e.nothing;const r=e.html`
579
579
  <ft-button ?forceTooltip=${!this.hideTooltip}
580
580
  ?hideTooltip=${this.hideTooltip}
581
581
  ?trailingIcon=${this.trailingIcon}
@@ -693,7 +693,7 @@ class Ii extends Zt{constructor(t){if(super(t),this.et=Y,t.type!==Ht)throw Error
693
693
  @click=${t=>this.onLinkClick(t)}>
694
694
  <slot></slot>
695
695
  </a>
696
- `}onLinkClick(t){var e;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),this.tocId&&(null===(e=this.stateManager)||void 0===e||e.navigateToTopic(this.tocId,this.section,this.pageNumber)),this.click())}}po.styles=_t,co([o()],po.prototype,"tocId",void 0),co([o()],po.prototype,"section",void 0),co([o({type:Number})],po.prototype,"pageNumber",void 0),co([o({type:Boolean})],po.prototype,"removeStyle",void 0),c("ft-reader-internal-link")(po);var fo=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class uo extends ho{constructor(){super(...arguments),this.target="next",this.tooltipPosition="bottom",this.hideTooltip=!1,this.trailingIcon=!1,this.editorMode=!1,this.isReady=!1,this.debouncer=new e(10)}get defaultContent(){return this.target.substring(0,1).toUpperCase()+this.target.substring(1)}get defaultIcon(){return"next"===this.target?Di.THIN_ARROW_RIGHT:Di.THIN_ARROW_LEFT}render(){var t,e,i,o,n;if(null==this.targetPage&&!this.editorMode)return Y;const s=q`
696
+ `}onLinkClick(t){var e;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(e=this.stateManager)||void 0===e||e.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}po.styles=_t,co([o()],po.prototype,"tocId",void 0),co([o()],po.prototype,"section",void 0),co([o({type:Number})],po.prototype,"pageNumber",void 0),co([o({type:Boolean})],po.prototype,"removeStyle",void 0),c("ft-reader-internal-link")(po);var fo=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class uo extends ho{constructor(){super(...arguments),this.target="next",this.tooltipPosition="bottom",this.hideTooltip=!1,this.trailingIcon=!1,this.editorMode=!1,this.isReady=!1,this.debouncer=new e(10)}get defaultContent(){return this.target.substring(0,1).toUpperCase()+this.target.substring(1)}get defaultIcon(){return"next"===this.target?Di.THIN_ARROW_RIGHT:Di.THIN_ARROW_LEFT}render(){var t,e,i,o,n;if(null==this.targetPage&&!this.editorMode)return Y;const s=q`
697
697
  <ft-button ?forceTooltip=${!this.hideTooltip}
698
698
  ?hideTooltip=${this.hideTooltip}
699
699
  ?trailingIcon=${this.trailingIcon}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-navigation-button",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "description": "Button used to navigate between pages in an integrated reader context.",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-button": "1.0.49",
23
- "@fluid-topics/ft-reader-context": "1.0.49",
24
- "@fluid-topics/ft-reader-internal-link": "1.0.49",
25
- "@fluid-topics/ft-tooltip": "1.0.49",
26
- "@fluid-topics/ft-wc-utils": "1.0.49",
22
+ "@fluid-topics/ft-button": "1.0.50",
23
+ "@fluid-topics/ft-reader-context": "1.0.50",
24
+ "@fluid-topics/ft-reader-internal-link": "1.0.50",
25
+ "@fluid-topics/ft-tooltip": "1.0.50",
26
+ "@fluid-topics/ft-wc-utils": "1.0.50",
27
27
  "lit": "2.7.2"
28
28
  },
29
- "gitHead": "77eac237aeec17a50f5bcc09890746d9a9f097f0"
29
+ "gitHead": "a5089c2cb78f1b703cfcaa915b24938d58abd420"
30
30
  }