@fluid-topics/ft-reader-internal-link 1.4.5 → 2.0.1
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.
- package/build/define.d.ts +1 -0
- package/build/define.js +3 -0
- package/build/ft-reader-internal-link.light.js +1 -1
- package/build/index.js +0 -3
- package/package.json +24 -24
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/build/define.js
ADDED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var A=Object.create;var
|
|
1
|
+
"use strict";(()=>{var A=Object.create;var x=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,D=Object.prototype.hasOwnProperty;var d=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var G=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of B(t))!D.call(e,r)&&r!==o&&x(e,r,{get:()=>t[r],enumerable:!(i=w(t,r))||i.enumerable});return e};var l=(e,t,o)=>(o=e!=null?A(j(e)):{},G(t||!e||!e.__esModule?x(o,"default",{value:e,enumerable:!0}):o,e));var m=d((q,_)=>{_.exports=ftGlobals.wcUtils});var b=d((z,O)=>{O.exports=ftGlobals.lit});var g=d((F,M)=>{M.exports=ftGlobals.litDecorators});var I=d((J,S)=>{S.exports=ftGlobals.litClassMap});var P=l(m());var E=l(b()),p=l(g()),K=l(I());var u=l(m()),k=l(g());var R;(function(e){e.clusteringHelperCreated="clustering-helper-created",e.mapAttachmentsUpdate="map-attachments-update",e.visibleTopicChange="visible-topic-change"})(R||(R={}));var T;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(T||(T={}));var $=function(e,t,o,i){var r=arguments.length,s=r<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,i);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(s=(r<3?n(s):r>3?n(t,o,s):n(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},C=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},y=Symbol("registerInterval"),V=(0,u.applyMixinOnce)(Symbol("toFtReaderComponent"),function(e){var t;class o extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(r){this.clearStateManager(),this.stateManager=r,this.addStore(r.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var r;return(r=this.stateManager)===null||r===void 0?void 0:r.service}connectedCallback(){super.connectedCallback(),this[y]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[y]):this.dispatchEvent(new C)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=y,$([(0,k.state)()],o.prototype,"stateManager",void 0),o}),f=class extends V(u.FtLitElementRedux){};var h=l(m()),N=l(b()),U={outlineColor:h.FtCssVariableFactory.extend("--ft-reader-internal-link-outline-color","",h.designSystemVariables.colorPrimary)},L=N.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
package/build/index.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { customElement } from "@fluid-topics/ft-wc-utils";
|
|
2
|
-
import { FtReaderInternalLink } from "./ft-reader-internal-link";
|
|
3
1
|
export * from "./ft-reader-internal-link.styles";
|
|
4
2
|
export * from "./ft-reader-internal-link.properties";
|
|
5
3
|
export * from "./ft-reader-internal-link";
|
|
6
|
-
customElement("ft-reader-internal-link")(FtReaderInternalLink);
|
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
2
|
+
"name": "@fluid-topics/ft-reader-internal-link",
|
|
3
|
+
"version": "2.0.1",
|
|
4
|
+
"description": "Reader internal link for integrated reader",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"Lit"
|
|
7
|
+
],
|
|
8
|
+
"author": "Fluid Topics <devtopics@antidot.net>",
|
|
9
|
+
"license": "ISC",
|
|
10
|
+
"main": "build/index.js",
|
|
11
|
+
"web": "build/ft-reader-internal-link.min.js",
|
|
12
|
+
"typings": "build/index",
|
|
13
|
+
"files": [
|
|
14
|
+
"build/**/*.js",
|
|
15
|
+
"build/**/*.ts"
|
|
16
|
+
],
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@fluid-topics/ft-wc-utils": "2.0.1",
|
|
23
|
+
"lit": "3.1.0"
|
|
24
|
+
},
|
|
25
|
+
"gitHead": "26bf1bd750f8272124b045d597e18b1eff63c518"
|
|
26
26
|
}
|