@fluid-topics/ft-viewer 2.2.19 → 2.2.20
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/ft-viewer.light.js +56 -54
- package/build/ft-viewer.min.js +4 -2
- package/package.json +9 -9
package/build/ft-viewer.light.js
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
}
|
|
25
25
|
`;var Er=c(S()),zi=c(F());var ou=c(br()),su=c(h());var Da=globalThis,Od=t=>t,Lo=Da.trustedTypes,kd=Lo?Lo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Nd="$lit$",fi=`lit$${Math.random().toFixed(9).slice(2)}$`,$d="?"+fi,_m=`<${$d}>`,Fi=document,Io=()=>Fi.createComment(""),ln=t=>t===null||typeof t!="object"&&typeof t!="function",La=Array.isArray,Cm=t=>La(t)||typeof t?.[Symbol.iterator]=="function",_a=`[
|
|
26
26
|
\f\r]`,an=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dd=/-->/g,Ld=/>/g,Ni=RegExp(`>|${_a}(?:([^\\s"'>=/]+)(${_a}*=${_a}*(?:[^
|
|
27
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Id=/'/g,Pd=/"/g,Fd=/^(?:script|style|textarea|title)$/i,Ia=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),Ud=Ia(1),Vd=Ia(2),Bd=Ia(3),cn=Symbol.for("lit-noChange"),he=Symbol.for("lit-nothing"),Md=new WeakMap,$i=Fi.createTreeWalker(Fi,129);function Hd(t,e){if(!La(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return kd!==void 0?kd.createHTML(e):e}var Tm=(t,e)=>{let i=t.length-1,r=[],n,o=e===2?"<svg>":e===3?"<math>":"",s=an;for(let a=0;a<i;a++){let l=t[a],d,u,p=-1,f=0;for(;f<l.length&&(s.lastIndex=f,u=s.exec(l),u!==null);)f=s.lastIndex,s===an?u[1]==="!--"?s=Dd:u[1]!==void 0?s=Ld:u[2]!==void 0?(Fd.test(u[2])&&(n=RegExp("</"+u[2],"g")),s=Ni):u[3]!==void 0&&(s=Ni):s===Ni?u[0]===">"?(s=n??an,p=-1):u[1]===void 0?p=-2:(p=s.lastIndex-u[2].length,d=u[1],s=u[3]===void 0?Ni:u[3]==='"'?Pd:Id):s===Pd||s===Id?s=Ni:s===Dd||s===Ld?s=an:(s=Ni,n=void 0);let y=s===Ni&&t[a+1].startsWith("/>")?" ":"";o+=s===an?l+_m:p>=0?(r.push(d),l.slice(0,p)+Nd+l.slice(p)+fi+y):l+fi+(p===-2?a:y)}return[Hd(t,o+(t[i]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),r]},dn=class t{constructor({strings:e,_$litType$:i},r){let n;this.parts=[];let o=0,s=0,a=e.length-1,l=this.parts,[d,u]=Tm(e,i);if(this.el=t.createElement(d,r),$i.currentNode=this.el.content,i===2||i===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(n=$i.nextNode())!==null&&l.length<a;){if(n.nodeType===1){if(n.hasAttributes())for(let p of n.getAttributeNames())if(p.endsWith(Nd)){let f=u[s++],y=n.getAttribute(p).split(fi),w=/([.?@])?(.*)/.exec(f);l.push({type:1,index:o,name:w[2],strings:y,ctor:w[1]==="."?Ta:w[1]==="?"?Ra:w[1]==="@"?Oa:wr}),n.removeAttribute(p)}else p.startsWith(fi)&&(l.push({type:6,index:o}),n.removeAttribute(p));if(Fd.test(n.tagName)){let p=n.textContent.split(fi),f=p.length-1;if(f>0){n.textContent=Lo?Lo.emptyScript:"";for(let y=0;y<f;y++)n.append(p[y],Io()),$i.nextNode(),l.push({type:2,index:++o});n.append(p[f],Io())}}}else if(n.nodeType===8)if(n.data===$d)l.push({type:2,index:o});else{let p=-1;for(;(p=n.data.indexOf(fi,p+1))!==-1;)l.push({type:7,index:o}),p+=fi.length-1}o++}}static createElement(e,i){let r=Fi.createElement("template");return r.innerHTML=e,r}};function Sr(t,e,i=t,r){if(e===cn)return e;let n=r!==void 0?i._$Co?.[r]:i._$Cl,o=ln(e)?void 0:e._$litDirective$;return n?.constructor!==o&&(n?._$AO?.(!1),o===void 0?n=void 0:(n=new o(t),n._$AT(t,i,r)),r!==void 0?(i._$Co??=[])[r]=n:i._$Cl=n),n!==void 0&&(e=Sr(t,n._$AS(t,e.values),n,r)),e}var Ca=class{constructor(e,i){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:i},parts:r}=this._$AD,n=(e?.creationScope??Fi).importNode(i,!0);$i.currentNode=n;let o=$i.nextNode(),s=0,a=0,l=r[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new Po(o,o.nextSibling,this,e):l.type===1?d=new l.ctor(o,l.name,l.strings,this,e):l.type===6&&(d=new ka(o,this,e)),this._$AV.push(d),l=r[++a]}s!==l?.index&&(o=$i.nextNode(),s++)}return $i.currentNode=Fi,n}p(e){let i=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,i),i+=r.strings.length-2):r._$AI(e[i])),i++}},Po=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,i,r,n){this.type=2,this._$AH=he,this._$AN=void 0,this._$AA=e,this._$AB=i,this._$AM=r,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,i=this._$AM;return i!==void 0&&e?.nodeType===11&&(e=i.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,i=this){e=Sr(this,e,i),ln(e)?e===he||e==null||e===""?(this._$AH!==he&&this._$AR(),this._$AH=he):e!==this._$AH&&e!==cn&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Cm(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==he&&ln(this._$AH)?this._$AA.nextSibling.data=e:this.T(Fi.createTextNode(e)),this._$AH=e}$(e){let{values:i,_$litType$:r}=e,n=typeof r=="number"?this._$AC(e):(r.el===void 0&&(r.el=dn.createElement(Hd(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===n)this._$AH.p(i);else{let o=new Ca(n,this),s=o.u(this.options);o.p(i),this.T(s),this._$AH=o}}_$AC(e){let i=Md.get(e.strings);return i===void 0&&Md.set(e.strings,i=new dn(e)),i}k(e){La(this._$AH)||(this._$AH=[],this._$AR());let i=this._$AH,r,n=0;for(let o of e)n===i.length?i.push(r=new t(this.O(Io()),this.O(Io()),this,this.options)):r=i[n],r._$AI(o),n++;n<i.length&&(this._$AR(r&&r._$AB.nextSibling,n),i.length=n)}_$AR(e=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);e!==this._$AB;){let r=Od(e).nextSibling;Od(e).remove(),e=r}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},wr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,i,r,n,o){this.type=1,this._$AH=he,this._$AN=void 0,this.element=e,this.name=i,this._$AM=n,this.options=o,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=he}_$AI(e,i=this,r,n){let o=this.strings,s=!1;if(o===void 0)e=Sr(this,e,i,0),s=!ln(e)||e!==this._$AH&&e!==cn,s&&(this._$AH=e);else{let a=e,l,d;for(e=o[0],l=0;l<o.length-1;l++)d=Sr(this,a[r+l],i,l),d===cn&&(d=this._$AH[l]),s||=!ln(d)||d!==this._$AH[l],d===he?e=he:e!==he&&(e+=(d??"")+o[l+1]),this._$AH[l]=d}s&&!n&&this.j(e)}j(e){e===he?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ta=class extends wr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===he?void 0:e}},Ra=class extends wr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==he)}},Oa=class extends wr{constructor(e,i,r,n,o){super(e,i,r,n,o),this.type=5}_$AI(e,i=this){if((e=Sr(this,e,i,0)??he)===cn)return;let r=this._$AH,n=e===he&&r!==he||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,o=e!==he&&(r===he||n);n&&this.element.removeEventListener(this.name,this,r),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},ka=class{constructor(e,i,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=i,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){Sr(this,e)}};var Rm=Da.litHtmlPolyfillSupport;Rm?.(dn,Po),(Da.litHtmlVersions??=[]).push("3.3.3");var jd=Symbol.for(""),Om=t=>{if(t?.r===jd)return t?._$litStatic$},Pa=t=>({_$litStatic$:t,r:jd});var zd=new Map,Ma=t=>(e,...i)=>{let r=i.length,n,o,s=[],a=[],l,d=0,u=!1;for(;d<r;){for(l=e[d];d<r&&(o=i[d],(n=Om(o))!==void 0);)l+=n+e[++d],u=!0;d!==r&&a.push(o),s.push(l),d++}if(d===r&&s.push(e[r]),u){let p=s.join("$$lit$$");(e=zd.get(p))===void 0&&(s.raw=s,zd.set(p,e=s)),i=a}return t(e,...i)},Na=Ma(Ud),Tb=Ma(Vd),Rb=Ma(Bd);var $a=c(F()),iu=c(h());var V;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(V||(V={}));var ht=c(S()),m=c(h()),Wd=m.FtCssVariableFactory.extend("--ft-typography-font-family","",m.designSystemVariables.titleFont),ei=m.FtCssVariableFactory.extend("--ft-typography-font-family","",m.designSystemVariables.contentFont),x={fontFamily:ei,fontSize:m.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:m.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:m.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:m.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:m.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit"),textDecoration:m.FtCssVariableFactory.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},Jt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Wd),fontSize:m.FtCssVariableFactory.extend("--ft-typography-title-font-size","",x.fontSize,"20px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",x.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",x.letterSpacing,"0.15px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-title-line-height","",x.lineHeight,"1.2"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",x.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-title-text-decoration","",x.textDecoration,"inherit")},Qt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Wd),fontSize:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",x.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",x.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",x.letterSpacing,"0.105px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",x.lineHeight,"1.7"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",x.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-title-dense-text-decoration","",x.textDecoration,"inherit")},Ui={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ei),fontSize:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",x.fontSize,"16px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",x.fontWeight,"600"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",x.letterSpacing,"0.144px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",x.lineHeight,"1.5"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",x.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-decoration","",x.textDecoration,"inherit")},Vi={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ei),fontSize:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",x.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",x.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",x.letterSpacing,"0.098px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",x.lineHeight,"1.7"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",x.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-decoration","",x.textDecoration,"inherit")},nt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ei),fontSize:m.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",x.fontSize,"16px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",x.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",x.letterSpacing,"0.496px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",x.lineHeight,"1.5"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",x.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-body1-text-decoration","",x.textDecoration,"inherit")},ot={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ei),fontSize:m.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",x.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",x.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",x.letterSpacing,"0.252px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",x.lineHeight,"1.4"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",x.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-body2-text-decoration","",x.textDecoration,"inherit")},Ge={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ei),fontSize:m.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",x.fontSize,"12px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",x.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",x.letterSpacing,"0.396px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",x.lineHeight,"1.33"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",x.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-caption-text-decoration","",x.textDecoration,"inherit")},Bi={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ei),fontSize:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",x.fontSize,"10px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",x.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",x.letterSpacing,"0.33px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",x.lineHeight,"1.6"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",x.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-decoration","",x.textDecoration,"inherit")},Hi={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ei),fontSize:m.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",x.fontSize,"10px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",x.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",x.letterSpacing,"1.5px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",x.lineHeight,"1.6"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",x.textTransform,"uppercase"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-overline-text-decoration","",x.textDecoration,"inherit")},Ie={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ei),fontSize:m.FtCssVariableFactory.extend("--ft-typography-button-font-size","",x.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",x.fontWeight,"600"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",x.letterSpacing,"1.246px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-button-line-height","",x.lineHeight,"1.15"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",x.textTransform,"uppercase"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-button-text-decoration","",x.textDecoration,"inherit")},Kd=ht.css`
|
|
27
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Id=/'/g,Pd=/"/g,Fd=/^(?:script|style|textarea|title)$/i,Ia=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),Ud=Ia(1),Vd=Ia(2),Bd=Ia(3),cn=Symbol.for("lit-noChange"),me=Symbol.for("lit-nothing"),Md=new WeakMap,$i=Fi.createTreeWalker(Fi,129);function Hd(t,e){if(!La(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return kd!==void 0?kd.createHTML(e):e}var Tm=(t,e)=>{let i=t.length-1,r=[],n,o=e===2?"<svg>":e===3?"<math>":"",s=an;for(let a=0;a<i;a++){let l=t[a],d,u,p=-1,f=0;for(;f<l.length&&(s.lastIndex=f,u=s.exec(l),u!==null);)f=s.lastIndex,s===an?u[1]==="!--"?s=Dd:u[1]!==void 0?s=Ld:u[2]!==void 0?(Fd.test(u[2])&&(n=RegExp("</"+u[2],"g")),s=Ni):u[3]!==void 0&&(s=Ni):s===Ni?u[0]===">"?(s=n??an,p=-1):u[1]===void 0?p=-2:(p=s.lastIndex-u[2].length,d=u[1],s=u[3]===void 0?Ni:u[3]==='"'?Pd:Id):s===Pd||s===Id?s=Ni:s===Dd||s===Ld?s=an:(s=Ni,n=void 0);let y=s===Ni&&t[a+1].startsWith("/>")?" ":"";o+=s===an?l+_m:p>=0?(r.push(d),l.slice(0,p)+Nd+l.slice(p)+fi+y):l+fi+(p===-2?a:y)}return[Hd(t,o+(t[i]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),r]},dn=class t{constructor({strings:e,_$litType$:i},r){let n;this.parts=[];let o=0,s=0,a=e.length-1,l=this.parts,[d,u]=Tm(e,i);if(this.el=t.createElement(d,r),$i.currentNode=this.el.content,i===2||i===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(n=$i.nextNode())!==null&&l.length<a;){if(n.nodeType===1){if(n.hasAttributes())for(let p of n.getAttributeNames())if(p.endsWith(Nd)){let f=u[s++],y=n.getAttribute(p).split(fi),w=/([.?@])?(.*)/.exec(f);l.push({type:1,index:o,name:w[2],strings:y,ctor:w[1]==="."?Ta:w[1]==="?"?Ra:w[1]==="@"?Oa:wr}),n.removeAttribute(p)}else p.startsWith(fi)&&(l.push({type:6,index:o}),n.removeAttribute(p));if(Fd.test(n.tagName)){let p=n.textContent.split(fi),f=p.length-1;if(f>0){n.textContent=Lo?Lo.emptyScript:"";for(let y=0;y<f;y++)n.append(p[y],Io()),$i.nextNode(),l.push({type:2,index:++o});n.append(p[f],Io())}}}else if(n.nodeType===8)if(n.data===$d)l.push({type:2,index:o});else{let p=-1;for(;(p=n.data.indexOf(fi,p+1))!==-1;)l.push({type:7,index:o}),p+=fi.length-1}o++}}static createElement(e,i){let r=Fi.createElement("template");return r.innerHTML=e,r}};function Sr(t,e,i=t,r){if(e===cn)return e;let n=r!==void 0?i._$Co?.[r]:i._$Cl,o=ln(e)?void 0:e._$litDirective$;return n?.constructor!==o&&(n?._$AO?.(!1),o===void 0?n=void 0:(n=new o(t),n._$AT(t,i,r)),r!==void 0?(i._$Co??=[])[r]=n:i._$Cl=n),n!==void 0&&(e=Sr(t,n._$AS(t,e.values),n,r)),e}var Ca=class{constructor(e,i){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:i},parts:r}=this._$AD,n=(e?.creationScope??Fi).importNode(i,!0);$i.currentNode=n;let o=$i.nextNode(),s=0,a=0,l=r[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new Po(o,o.nextSibling,this,e):l.type===1?d=new l.ctor(o,l.name,l.strings,this,e):l.type===6&&(d=new ka(o,this,e)),this._$AV.push(d),l=r[++a]}s!==l?.index&&(o=$i.nextNode(),s++)}return $i.currentNode=Fi,n}p(e){let i=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,i),i+=r.strings.length-2):r._$AI(e[i])),i++}},Po=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,i,r,n){this.type=2,this._$AH=me,this._$AN=void 0,this._$AA=e,this._$AB=i,this._$AM=r,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,i=this._$AM;return i!==void 0&&e?.nodeType===11&&(e=i.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,i=this){e=Sr(this,e,i),ln(e)?e===me||e==null||e===""?(this._$AH!==me&&this._$AR(),this._$AH=me):e!==this._$AH&&e!==cn&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Cm(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==me&&ln(this._$AH)?this._$AA.nextSibling.data=e:this.T(Fi.createTextNode(e)),this._$AH=e}$(e){let{values:i,_$litType$:r}=e,n=typeof r=="number"?this._$AC(e):(r.el===void 0&&(r.el=dn.createElement(Hd(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===n)this._$AH.p(i);else{let o=new Ca(n,this),s=o.u(this.options);o.p(i),this.T(s),this._$AH=o}}_$AC(e){let i=Md.get(e.strings);return i===void 0&&Md.set(e.strings,i=new dn(e)),i}k(e){La(this._$AH)||(this._$AH=[],this._$AR());let i=this._$AH,r,n=0;for(let o of e)n===i.length?i.push(r=new t(this.O(Io()),this.O(Io()),this,this.options)):r=i[n],r._$AI(o),n++;n<i.length&&(this._$AR(r&&r._$AB.nextSibling,n),i.length=n)}_$AR(e=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);e!==this._$AB;){let r=Od(e).nextSibling;Od(e).remove(),e=r}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},wr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,i,r,n,o){this.type=1,this._$AH=me,this._$AN=void 0,this.element=e,this.name=i,this._$AM=n,this.options=o,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=me}_$AI(e,i=this,r,n){let o=this.strings,s=!1;if(o===void 0)e=Sr(this,e,i,0),s=!ln(e)||e!==this._$AH&&e!==cn,s&&(this._$AH=e);else{let a=e,l,d;for(e=o[0],l=0;l<o.length-1;l++)d=Sr(this,a[r+l],i,l),d===cn&&(d=this._$AH[l]),s||=!ln(d)||d!==this._$AH[l],d===me?e=me:e!==me&&(e+=(d??"")+o[l+1]),this._$AH[l]=d}s&&!n&&this.j(e)}j(e){e===me?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ta=class extends wr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===me?void 0:e}},Ra=class extends wr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==me)}},Oa=class extends wr{constructor(e,i,r,n,o){super(e,i,r,n,o),this.type=5}_$AI(e,i=this){if((e=Sr(this,e,i,0)??me)===cn)return;let r=this._$AH,n=e===me&&r!==me||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,o=e!==me&&(r===me||n);n&&this.element.removeEventListener(this.name,this,r),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},ka=class{constructor(e,i,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=i,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){Sr(this,e)}};var Rm=Da.litHtmlPolyfillSupport;Rm?.(dn,Po),(Da.litHtmlVersions??=[]).push("3.3.3");var jd=Symbol.for(""),Om=t=>{if(t?.r===jd)return t?._$litStatic$},Pa=t=>({_$litStatic$:t,r:jd});var zd=new Map,Ma=t=>(e,...i)=>{let r=i.length,n,o,s=[],a=[],l,d=0,u=!1;for(;d<r;){for(l=e[d];d<r&&(o=i[d],(n=Om(o))!==void 0);)l+=n+e[++d],u=!0;d!==r&&a.push(o),s.push(l),d++}if(d===r&&s.push(e[r]),u){let p=s.join("$$lit$$");(e=zd.get(p))===void 0&&(s.raw=s,zd.set(p,e=s)),i=a}return t(e,...i)},Na=Ma(Ud),Tb=Ma(Vd),Rb=Ma(Bd);var $a=c(F()),iu=c(h());var V;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(V||(V={}));var ht=c(S()),m=c(h()),Wd=m.FtCssVariableFactory.extend("--ft-typography-font-family","",m.designSystemVariables.titleFont),ei=m.FtCssVariableFactory.extend("--ft-typography-font-family","",m.designSystemVariables.contentFont),x={fontFamily:ei,fontSize:m.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:m.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:m.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:m.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:m.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit"),textDecoration:m.FtCssVariableFactory.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},Jt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Wd),fontSize:m.FtCssVariableFactory.extend("--ft-typography-title-font-size","",x.fontSize,"20px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",x.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",x.letterSpacing,"0.15px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-title-line-height","",x.lineHeight,"1.2"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",x.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-title-text-decoration","",x.textDecoration,"inherit")},Qt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Wd),fontSize:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",x.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",x.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",x.letterSpacing,"0.105px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",x.lineHeight,"1.7"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",x.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-title-dense-text-decoration","",x.textDecoration,"inherit")},Ui={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ei),fontSize:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",x.fontSize,"16px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",x.fontWeight,"600"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",x.letterSpacing,"0.144px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",x.lineHeight,"1.5"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",x.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-decoration","",x.textDecoration,"inherit")},Vi={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ei),fontSize:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",x.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",x.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",x.letterSpacing,"0.098px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",x.lineHeight,"1.7"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",x.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-decoration","",x.textDecoration,"inherit")},nt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ei),fontSize:m.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",x.fontSize,"16px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",x.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",x.letterSpacing,"0.496px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",x.lineHeight,"1.5"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",x.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-body1-text-decoration","",x.textDecoration,"inherit")},ot={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ei),fontSize:m.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",x.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",x.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",x.letterSpacing,"0.252px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",x.lineHeight,"1.4"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",x.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-body2-text-decoration","",x.textDecoration,"inherit")},Ge={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ei),fontSize:m.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",x.fontSize,"12px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",x.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",x.letterSpacing,"0.396px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",x.lineHeight,"1.33"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",x.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-caption-text-decoration","",x.textDecoration,"inherit")},Bi={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ei),fontSize:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",x.fontSize,"10px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",x.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",x.letterSpacing,"0.33px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",x.lineHeight,"1.6"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",x.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-decoration","",x.textDecoration,"inherit")},Hi={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ei),fontSize:m.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",x.fontSize,"10px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",x.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",x.letterSpacing,"1.5px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",x.lineHeight,"1.6"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",x.textTransform,"uppercase"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-overline-text-decoration","",x.textDecoration,"inherit")},Ie={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ei),fontSize:m.FtCssVariableFactory.extend("--ft-typography-button-font-size","",x.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",x.fontWeight,"600"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",x.letterSpacing,"1.246px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-button-line-height","",x.lineHeight,"1.15"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",x.textTransform,"uppercase"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-button-text-decoration","",x.textDecoration,"inherit")},Kd=ht.css`
|
|
28
28
|
.ft-typography--title {
|
|
29
29
|
font-family: ${Jt.fontFamily};
|
|
30
30
|
font-size: ${Jt.fontSize};
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
[part="display-name"]::part(text) {
|
|
242
242
|
margin: unset;
|
|
243
243
|
}
|
|
244
|
-
`;Dm([(0,pu.redux)({store:"viewer",selector:({descriptor:t})=>t?.displayName})],Wi.prototype,"displayName",void 0);var Uo=class extends Nt(Wi){};var fn=c(h()),Bo=c(S());var fu=c(S()),Ct=c(h()),
|
|
244
|
+
`;Dm([(0,pu.redux)({store:"viewer",selector:({descriptor:t})=>t?.displayName})],Wi.prototype,"displayName",void 0);var Uo=class extends Nt(Wi){};var fn=c(h()),Bo=c(S());var fu=c(S()),Ct=c(h()),ge={size:Ct.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ct.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ct.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ct.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ct.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ct.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ct.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ct.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},hu=[fu.css`
|
|
245
245
|
:host, i.ft-icon {
|
|
246
246
|
display: inline-flex;
|
|
247
247
|
align-items: center;
|
|
@@ -250,14 +250,14 @@
|
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
:host {
|
|
253
|
-
width: ${
|
|
254
|
-
height: ${
|
|
253
|
+
width: ${ge.size};
|
|
254
|
+
height: ${ge.size};
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
i.ft-icon {
|
|
258
258
|
width: 100%;
|
|
259
259
|
height: 100%;
|
|
260
|
-
font-size: ${
|
|
260
|
+
font-size: ${ge.size};
|
|
261
261
|
line-height: 1;
|
|
262
262
|
font-weight: normal;
|
|
263
263
|
text-transform: none;
|
|
@@ -268,26 +268,26 @@
|
|
|
268
268
|
text-rendering: auto;
|
|
269
269
|
-webkit-font-smoothing: antialiased;
|
|
270
270
|
-moz-osx-font-smoothing: grayscale;
|
|
271
|
-
vertical-align: ${
|
|
271
|
+
vertical-align: ${ge.verticalAlign};
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
i.ft-icon.ft-icon--fluid-topics {
|
|
275
|
-
font-family: ${
|
|
275
|
+
font-family: ${ge.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
276
276
|
|
|
277
277
|
/* Ugly fix because font is broken */
|
|
278
|
-
font-size: calc(0.75 * ${
|
|
279
|
-
line-height: ${
|
|
278
|
+
font-size: calc(0.75 * ${ge.size});
|
|
279
|
+
line-height: ${ge.size};
|
|
280
280
|
position: relative;
|
|
281
281
|
top: -4%;
|
|
282
282
|
justify-content: center;
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
.ft-icon--file-format {
|
|
286
|
-
font-family: ${
|
|
286
|
+
font-family: ${ge.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
.ft-icon--material {
|
|
290
|
-
font-family: ${
|
|
290
|
+
font-family: ${ge.materialFontFamily}, "Material Icons", sans-serif;
|
|
291
291
|
}
|
|
292
292
|
`,Ct.noTextSelect];var Pe;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Pe||(Pe={}));var un=c(S()),mi=c(F()),mu=c(h()),gu=c(Fa());var ii;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.MOBILE_SMALL="",t.SPARKLES="",t.HAND_SOLID="",t.CLOCK_SOLID="",t.CONTEXT_MENU_CURSOR="",t.LANGUAGE_SLASH="",t.MAGNIFYING_GLASS_FLOPPY_DISK="",t.CABINET_FILING_FLOPPY_DISK="",t.BOOKMARK_SLASH="",t.CIRCLE_PAUSE="",t.CIRCLE_PLAY="",t.CIRCLE_STOP_PLAIN="",t.CIRCLE_ARROW_DOWN="",t.SHARE_NODES="",t.BELL="",t.BELL_SLASH="",t.FILE="",t.HAND="",t.SQUARE_INFO_SOLID="",t.FILE_CODE="",t.BOX_CODE="",t.TOPICS_SOLID="",t.PHOTO_FILM="",t.HYPHEN_SOLID="",t.CROSSHAIRS="",t.PERSON_CHALKBOARD="",t.CIRCLE_ARROW_DOWN_SLASH="",t.BOOK_OPEN_COVER="",t.LIGHTBULB="",t.MESSAGE_BOT_AGENTIC_SOLID="",t.CHART_LINE_USER="",t.SERVER_CIRCLE_ARROW_DOWN="",t.EYE="",t.SHARE="󨃱"})(ii||(ii={}));var g;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(g||(g={}));var Ua=new Map([...["abw"].map(t=>[t,g.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,g.AUDIO]),...["avi"].map(t=>[t,g.AVI]),...["chm","xhs"].map(t=>[t,g.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,g.CODE]),...["csv"].map(t=>[t,g.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,g.DITA]),...["epub"].map(t=>[t,g.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,g.EXCEL]),...["flac"].map(t=>[t,g.FLAC]),...["gif"].map(t=>[t,g.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,g.GZIP]),...["html","htm","xhtml"].map(t=>[t,g.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,g.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,g.JPEG]),...["json"].map(t=>[t,g.JSON]),...["m4a","m4p"].map(t=>[t,g.M4A]),...["mov","qt"].map(t=>[t,g.MOV]),...["mp3"].map(t=>[t,g.MP3]),...["mp4","m4v"].map(t=>[t,g.MP4]),...["ogg","oga"].map(t=>[t,g.OGG]),...["pdf","ps"].map(t=>[t,g.PDF]),...["png"].map(t=>[t,g.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,g.POWERPOINT]),...["rar"].map(t=>[t,g.RAR]),...["stp"].map(t=>[t,g.STP]),...["txt","rtf","md","mdown"].map(t=>[t,g.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,g.VIDEO]),...["wav"].map(t=>[t,g.WAV]),...["wma"].map(t=>[t,g.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,g.WORD]),...["xml","xsl","rdf"].map(t=>[t,g.XML]),...["yaml","yml","x-yaml"].map(t=>[t,g.YAML]),...["zip"].map(t=>[t,g.ZIP])]),Lm=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function Vo(t,e){var i,r,n,o;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,a]=(((i=Lm.get(t))!==null&&i!==void 0?i:t)+"/").split("/");return(o=(n=(r=Ua.get(a))!==null&&r!==void 0?r:Ua.get(e))!==null&&n!==void 0?n:Ua.get(s))!==null&&o!==void 0?o:g.UNKNOWN}var Va={[g.ABW]:"#91ABC6",[g.AUDIO]:"#1795E3",[g.AVI]:"#E63324",[g.CHM]:"#71C3EB",[g.CODE]:"#71C3EB",[g.CSV]:"#1F7345",[g.DITA]:"#71C3EB",[g.EPUB]:"#85B926",[g.EXCEL]:"#1F7345",[g.FLAC]:"#1795E3",[g.GIF]:"#59B031",[g.GZIP]:"#F8AB36",[g.HTML]:"#71C3EB",[g.IMAGE]:"#59B031",[g.JPEG]:"#59B031",[g.JSON]:"#71C3EB",[g.M4A]:"#1795E3",[g.MOV]:"#E63324",[g.MP3]:"#1795E3",[g.MP4]:"#E63324",[g.OGG]:"#1795E3",[g.PDF]:"#E44948",[g.PNG]:"#59B031",[g.POWERPOINT]:"#B54A2B",[g.RAR]:"#F8AB36",[g.STP]:"#3764B1",[g.TEXT]:"#3162AB",[g.UNKNOWN]:"#999999",[g.VIDEO]:"#E63324",[g.WAV]:"#1795E3",[g.WMA]:"#1795E3",[g.WORD]:"#3162AB",[g.XML]:"#71C3EB",[g.YAML]:"#71C3EB",[g.ZIP]:"#F8AB36"};var pn=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(n<3?s(o):n>3?s(e,i,o):s(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o},z=class extends mu.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=un.nothing}render(){let e=this.variant&&Object.values(Pe).includes(this.variant)?this.variant:Pe.fluid_topics,i=e!==Pe.material||!!this.value;return un.html`
|
|
293
293
|
<i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
<span class="ft-i18n">
|
|
314
314
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
315
315
|
</span>
|
|
316
|
-
`}update(e){var i;super.update(e),["context","key","defaultMessage"].some(r=>e.has(r))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(i=this.defaultMessage)!==null&&i!==void 0?i:""})}};yt.elementDefinitions={};yt.styles=Ru;Or([(0,rs.redux)()],yt.prototype,"editorMode",void 0);Or([(0,kr.property)()],yt.prototype,"context",void 0);Or([(0,kr.property)()],yt.prototype,"key",void 0);Or([(0,rs.jsonProperty)([])],yt.prototype,"args",void 0);Or([(0,kr.property)()],yt.prototype,"defaultMessage",void 0);Or([(0,kr.state)()],yt.prototype,"editorMessage",void 0);var ku=c(h());var Ou={"ft-i18n":yt};(0,ku.customElements)(Ou);var xe=c(h()),Du={itemsGap:xe.FtCssVariableFactory.create("--ft-reader-attachments-items-gap","","SIZE","8px"),itemPadding:xe.FtCssVariableFactory.create("--ft-reader-attachments-item-padding","","SIZE","8px"),itemBorderWidth:xe.FtCssVariableFactory.create("--ft-reader-attachments-item-border-width","","SIZE","1px"),itemBorderColor:xe.FtCssVariableFactory.extend("--ft-reader-attachments-item-border-color","",xe.designSystemVariables.colorOutline),itemBorderRadius:xe.FtCssVariableFactory.extend("--ft-reader-attachments-item-border-radius","",xe.designSystemVariables.borderRadiusS),itemBackgroundColor:xe.FtCssVariableFactory.extend("--ft-reader-attachments-item-background-color","",xe.designSystemVariables.colorSurface),itemTextColor:xe.FtCssVariableFactory.extend("--ft-reader-attachments-item-text-color","",xe.designSystemVariables.colorOnSurfaceMedium),itemHoverBackgroundColor:xe.FtCssVariableFactory.extend("--ft-reader-attachments-item-hover-background-color","",xe.designSystemVariables.colorPrimary),itemHoverTextColor:xe.FtCssVariableFactory.extend("--ft-reader-attachments-item-hover-text-color","",xe.designSystemVariables.colorOnSurfaceHigh),fileFormatIconSize:xe.FtCssVariableFactory.create("--ft-reader-attachments-file-format-icon-size","","SIZE","30px"),downloadIconSize:xe.FtCssVariableFactory.create("--ft-reader-attachments-down-icon-size","","SIZE","20px")};var ls=c(h());var os=c(h()),Pu=c(F());var ns;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update",t.visibleTopicChange="visible-topic-change",t.requestedTopicNotFound="requested-topic-not-found",t.requestedTopicFiltered="requested-topic-filtered"})(ns||(ns={}));var Lu;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Lu||(Lu={}));var Mm=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(n<3?s(o):n>3?s(e,i,o):s(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o},Wa=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},ja=Symbol("registerInterval"),Ka=(0,os.applyMixinOnce)(Symbol("toFtReaderComponent"),function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[ja]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[ja]):this.dispatchEvent(new Wa)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ja,Mm([(0,Pu.state)()],i.prototype,"stateManager",void 0),i}),Iu=class extends Ka(os.FtLitElementRedux){};var Ga=mt.build("designedReaderAttachments"),Mu={download:"Download \u201C{0}\u201D"};var qi=c(S()),Dr=c(F()),Lr=c(h()),qu=c(br());var Yu=c(at());var ju=c(S()),Oe=c(F()),Wu=c(at()),yn=c(h());var Hu=c(S()),
|
|
316
|
+
`}update(e){var i;super.update(e),["context","key","defaultMessage"].some(r=>e.has(r))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(i=this.defaultMessage)!==null&&i!==void 0?i:""})}};yt.elementDefinitions={};yt.styles=Ru;Or([(0,rs.redux)()],yt.prototype,"editorMode",void 0);Or([(0,kr.property)()],yt.prototype,"context",void 0);Or([(0,kr.property)()],yt.prototype,"key",void 0);Or([(0,rs.jsonProperty)([])],yt.prototype,"args",void 0);Or([(0,kr.property)()],yt.prototype,"defaultMessage",void 0);Or([(0,kr.state)()],yt.prototype,"editorMessage",void 0);var ku=c(h());var Ou={"ft-i18n":yt};(0,ku.customElements)(Ou);var xe=c(h()),Du={itemsGap:xe.FtCssVariableFactory.create("--ft-reader-attachments-items-gap","","SIZE","8px"),itemPadding:xe.FtCssVariableFactory.create("--ft-reader-attachments-item-padding","","SIZE","8px"),itemBorderWidth:xe.FtCssVariableFactory.create("--ft-reader-attachments-item-border-width","","SIZE","1px"),itemBorderColor:xe.FtCssVariableFactory.extend("--ft-reader-attachments-item-border-color","",xe.designSystemVariables.colorOutline),itemBorderRadius:xe.FtCssVariableFactory.extend("--ft-reader-attachments-item-border-radius","",xe.designSystemVariables.borderRadiusS),itemBackgroundColor:xe.FtCssVariableFactory.extend("--ft-reader-attachments-item-background-color","",xe.designSystemVariables.colorSurface),itemTextColor:xe.FtCssVariableFactory.extend("--ft-reader-attachments-item-text-color","",xe.designSystemVariables.colorOnSurfaceMedium),itemHoverBackgroundColor:xe.FtCssVariableFactory.extend("--ft-reader-attachments-item-hover-background-color","",xe.designSystemVariables.colorPrimary),itemHoverTextColor:xe.FtCssVariableFactory.extend("--ft-reader-attachments-item-hover-text-color","",xe.designSystemVariables.colorOnSurfaceHigh),fileFormatIconSize:xe.FtCssVariableFactory.create("--ft-reader-attachments-file-format-icon-size","","SIZE","30px"),downloadIconSize:xe.FtCssVariableFactory.create("--ft-reader-attachments-down-icon-size","","SIZE","20px")};var ls=c(h());var os=c(h()),Pu=c(F());var ns;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update",t.visibleTopicChange="visible-topic-change",t.requestedTopicNotFound="requested-topic-not-found",t.requestedTopicFiltered="requested-topic-filtered"})(ns||(ns={}));var Lu;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Lu||(Lu={}));var Mm=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(n<3?s(o):n>3?s(e,i,o):s(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o},Wa=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},ja=Symbol("registerInterval"),Ka=(0,os.applyMixinOnce)(Symbol("toFtReaderComponent"),function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[ja]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[ja]):this.dispatchEvent(new Wa)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ja,Mm([(0,Pu.state)()],i.prototype,"stateManager",void 0),i}),Iu=class extends Ka(os.FtLitElementRedux){};var Ga=mt.build("designedReaderAttachments"),Mu={download:"Download \u201C{0}\u201D"};var qi=c(S()),Dr=c(F()),Lr=c(h()),qu=c(br());var Yu=c(at());var ju=c(S()),Oe=c(F()),Wu=c(at()),yn=c(h());var Hu=c(S()),ye=c(h()),$u=ye.FtCssVariableFactory.extend("--ft-ripple-color","",ye.designSystemVariables.colorContent),G={color:$u,backgroundColor:ye.FtCssVariableFactory.extend("--ft-ripple-background-color","",$u),opacityContentOnSurfacePressed:ye.FtCssVariableFactory.external(ye.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ye.FtCssVariableFactory.external(ye.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ye.FtCssVariableFactory.external(ye.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ye.FtCssVariableFactory.external(ye.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ye.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Fu=ye.FtCssVariableFactory.extend("--ft-ripple-color","",ye.designSystemVariables.colorPrimary),Uu={color:Fu,backgroundColor:ye.FtCssVariableFactory.extend("--ft-ripple-background-color","",Fu)},Vu=ye.FtCssVariableFactory.extend("--ft-ripple-color","",ye.designSystemVariables.colorSecondary),Bu={color:Vu,backgroundColor:ye.FtCssVariableFactory.extend("--ft-ripple-background-color","",Vu)},zu=Hu.css`
|
|
317
317
|
:host {
|
|
318
318
|
display: contents;
|
|
319
319
|
}
|
|
@@ -512,11 +512,11 @@
|
|
|
512
512
|
}
|
|
513
513
|
|
|
514
514
|
[part="file-format-icon"] {
|
|
515
|
-
${(0,vn.setVariable)(
|
|
515
|
+
${(0,vn.setVariable)(ge.size,t.fileFormatIconSize)};
|
|
516
516
|
}
|
|
517
517
|
|
|
518
518
|
[part="download-icon"] {
|
|
519
|
-
${(0,vn.setVariable)(
|
|
519
|
+
${(0,vn.setVariable)(ge.size,t.downloadIconSize)};
|
|
520
520
|
}
|
|
521
521
|
|
|
522
522
|
.hide-file-format-icon [part="file-format-icon"] {
|
|
@@ -652,7 +652,7 @@
|
|
|
652
652
|
<div></div>
|
|
653
653
|
<div></div>
|
|
654
654
|
</div>
|
|
655
|
-
`}};tr.styles=Fp;var Hp=c(h());var Bp={"ft-loader":tr};(0,Hp.customElements)(Bp);var Ei=c(S()),Ss=c(at()),W=c(F());var Dt=t=>t??
|
|
655
|
+
`}};tr.styles=Fp;var Hp=c(h());var Bp={"ft-loader":tr};(0,Hp.customElements)(Bp);var Ei=c(S()),Ss=c(at()),W=c(F());var Dt=t=>t??me;var Wp=c(S()),O=c(h());var zp=O.FtCssVariableFactory.extend("--ft-button-color","",O.designSystemVariables.colorPrimary),H={backgroundColor:O.FtCssVariableFactory.extend("--ft-button-background-color","",O.designSystemVariables.colorSurface),borderRadius:O.FtCssVariableFactory.extend("--ft-button-border-radius","",O.designSystemVariables.borderRadiusL),color:zp,fontSize:O.FtCssVariableFactory.extend("--ft-button-font-size","",Ie.fontSize),iconSize:O.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:O.FtCssVariableFactory.extend("--ft-button-ripple-color","",zp),verticalPadding:O.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:O.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:O.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:O.FtCssVariableFactory.external(O.designSystemVariables.colorOpacityDisabled,"Design system")},jp=O.FtCssVariableFactory.extend("--ft-button-primary-color","",O.FtCssVariableFactory.extend("--ft-button-color","",O.designSystemVariables.colorOnPrimary)),rl={backgroundColor:O.FtCssVariableFactory.extend("--ft-button-primary-background-color","",O.FtCssVariableFactory.extend("--ft-button-background-color","",O.designSystemVariables.colorPrimary)),color:jp,rippleColor:O.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",jp)},Bt={borderRadius:O.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",O.FtCssVariableFactory.extend("--ft-button-border-radius","",O.designSystemVariables.borderRadiusM)),verticalPadding:O.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:O.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:O.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Kp=Wp.css`
|
|
656
656
|
:host {
|
|
657
657
|
display: inline-block;
|
|
658
658
|
max-width: 100%;
|
|
@@ -699,7 +699,7 @@
|
|
|
699
699
|
|
|
700
700
|
--button-internal-line-height: max(calc(${H.fontSize} + 2px), ${H.iconSize});
|
|
701
701
|
--button-internal-color: ${H.color};
|
|
702
|
-
${(0,O.setVariable)(
|
|
702
|
+
${(0,O.setVariable)(ge.size,H.iconSize)};
|
|
703
703
|
${(0,O.setVariable)(G.color,H.rippleColor)};
|
|
704
704
|
${(0,O.setVariable)(G.borderRadius,H.borderRadius)};
|
|
705
705
|
|
|
@@ -855,7 +855,7 @@
|
|
|
855
855
|
align-items: center;
|
|
856
856
|
justify-content: center;
|
|
857
857
|
overflow: hidden;
|
|
858
|
-
${(0,Ve.setVariable)(
|
|
858
|
+
${(0,Ve.setVariable)(ge.size,se.iconSize)};
|
|
859
859
|
padding: var(--switch-internal-vertical-padding, 6px) var(--switch-internal-horizontal-padding, 8px);
|
|
860
860
|
background-color: ${se.backgroundColor};
|
|
861
861
|
-webkit-mask-image: radial-gradient(white, black);
|
|
@@ -1042,7 +1042,7 @@
|
|
|
1042
1042
|
[part="buttons-container"] {
|
|
1043
1043
|
align-self: flex-end;
|
|
1044
1044
|
}
|
|
1045
|
-
`}var ke=c(h());var As={feedbackInputMinWidth:ke.FtCssVariableFactory.create("--ft-viewer-feedback-input-min-width","","SIZE","300px"),ratedDateColor:ke.FtCssVariableFactory.external(ke.designSystemVariables.colorOnSurfaceMedium,"Design system"),sendFeedbackColor:ke.FtCssVariableFactory.extend("--ft-viewer-feedback-send-feedback-color","",ke.designSystemVariables.colorOnPrimary),sendFeedbackBackgroundColor:ke.FtCssVariableFactory.extend("--ft-viewer-feedback-send-feedback-background-color","",ke.designSystemVariables.colorPrimary),filledRatingColor:ke.FtCssVariableFactory.extend("--ft-viewer-feedback-filled-rating-color","",ke.designSystemVariables.colorPrimary),emptyRatingColor:ke.FtCssVariableFactory.extend("--ft-viewer-feedback-empty-rating-color","",ke.designSystemVariables.colorOnSurfaceMedium),mainTitleFontSize:ke.FtCssVariableFactory.external(Jt.fontSize,"Typography"),sectionTitleFontSize:ke.FtCssVariableFactory.external(Qt.fontSize,"Typography"),starsBackgroundColor:ke.FtCssVariableFactory.create("--ft-viewer-feedback-stars-background-color","","COLOR",ke.designSystemVariables.colorSurface)};var
|
|
1045
|
+
`}var ke=c(h());var As={feedbackInputMinWidth:ke.FtCssVariableFactory.create("--ft-viewer-feedback-input-min-width","","SIZE","300px"),ratedDateColor:ke.FtCssVariableFactory.external(ke.designSystemVariables.colorOnSurfaceMedium,"Design system"),sendFeedbackColor:ke.FtCssVariableFactory.extend("--ft-viewer-feedback-send-feedback-color","",ke.designSystemVariables.colorOnPrimary),sendFeedbackBackgroundColor:ke.FtCssVariableFactory.extend("--ft-viewer-feedback-send-feedback-background-color","",ke.designSystemVariables.colorPrimary),filledRatingColor:ke.FtCssVariableFactory.extend("--ft-viewer-feedback-filled-rating-color","",ke.designSystemVariables.colorPrimary),emptyRatingColor:ke.FtCssVariableFactory.extend("--ft-viewer-feedback-empty-rating-color","",ke.designSystemVariables.colorOnSurfaceMedium),mainTitleFontSize:ke.FtCssVariableFactory.external(Jt.fontSize,"Typography"),sectionTitleFontSize:ke.FtCssVariableFactory.external(Qt.fontSize,"Typography"),starsBackgroundColor:ke.FtCssVariableFactory.create("--ft-viewer-feedback-stars-background-color","","COLOR",ke.designSystemVariables.colorSurface)};var pe=c(S()),fe=c(F()),Vr=c(h());var of=c(S()),j=c(h());var rf=c(S()),Z=c(h());var D={fontSize:Z.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:Z.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:Z.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:Z.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:Z.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:Z.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:Z.FtCssVariableFactory.extend("--ft-input-label-border-color","",Z.designSystemVariables.colorOutline),textColor:Z.FtCssVariableFactory.extend("--ft-input-label-text-color","",Z.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:Z.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",Z.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:Z.FtCssVariableFactory.extend("--ft-input-label-background-color","",Z.designSystemVariables.colorSurface),borderRadius:Z.FtCssVariableFactory.extend("--ft-input-label-border-radius","",Z.designSystemVariables.borderRadiusS),colorError:Z.FtCssVariableFactory.external(Z.designSystemVariables.colorError,"Design system")},nf=rf.css`
|
|
1046
1046
|
.ft-input-label {
|
|
1047
1047
|
position: absolute;
|
|
1048
1048
|
inset: 0;
|
|
@@ -1279,7 +1279,7 @@
|
|
|
1279
1279
|
</div>
|
|
1280
1280
|
`)}
|
|
1281
1281
|
</div>
|
|
1282
|
-
`}};rr.elementDefinitions={};ff([(0,ll.property)({type:String})],rr.prototype,"text",void 0);ff([(0,ll.property)({type:Boolean})],rr.prototype,"raised",void 0);var cl=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(n<3?s(o):n>3?s(e,i,o):s(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o},ct=class extends rr{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};ct.elementDefinitions={};ct.styles=[Mo,nf];cl([(0,Rs.property)({type:Boolean})],ct.prototype,"outlined",void 0);cl([(0,Rs.property)({type:Boolean})],ct.prototype,"error",void 0);cl([(0,Rs.property)({type:Boolean})],ct.prototype,"disabled",void 0);var yf=c(h());var gf={"ft-input-label":ct};(0,yf.customElements)(gf);var bt=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(n<3?s(o):n>3?s(e,i,o):s(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o},
|
|
1282
|
+
`}};rr.elementDefinitions={};ff([(0,ll.property)({type:String})],rr.prototype,"text",void 0);ff([(0,ll.property)({type:Boolean})],rr.prototype,"raised",void 0);var cl=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(n<3?s(o):n>3?s(e,i,o):s(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o},ct=class extends rr{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};ct.elementDefinitions={};ct.styles=[Mo,nf];cl([(0,Rs.property)({type:Boolean})],ct.prototype,"outlined",void 0);cl([(0,Rs.property)({type:Boolean})],ct.prototype,"error",void 0);cl([(0,Rs.property)({type:Boolean})],ct.prototype,"disabled",void 0);var yf=c(h());var gf={"ft-input-label":ct};(0,yf.customElements)(gf);var bt=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(n<3?s(o):n>3?s(e,i,o):s(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o},ve=class extends(0,Wt.toFtFormComponent)(Wt.FtLitElement){constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.height=50,this.focused=!1}render(){let e={"ft-text-area":!0,"ft-text-area--filled":!this.outlined,"ft-text-area--outlined":this.outlined,"ft-text-area--disabled":this.disabled,"ft-text-area--has-value":!!this.value,"ft-text-area--no-label":!this.label,"ft-text-area--in-error":this.error};return Os.html`
|
|
1283
1283
|
<style>
|
|
1284
1284
|
.ft-text-area--main-panel {
|
|
1285
1285
|
height: calc(4 * ${K.verticalSpacing} + ${K.labelSize} + ${K.fontSize} + ${this.height}px);
|
|
@@ -1324,7 +1324,7 @@
|
|
|
1324
1324
|
${this.helper}
|
|
1325
1325
|
</ft-typography>`:void 0}
|
|
1326
1326
|
</div>
|
|
1327
|
-
`}setValue(e,i=!1){this.value=e,this.setFormValue(e),i&&(this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})),this.dispatchEvent(new CustomEvent("change",{detail:this.value})))}onKeyDown(e){(e.key==="Enter"||e.key===" ")&&e.stopPropagation()}updateValueFromInputField(){var e;this.value=((e=this.textarea)===null||e===void 0?void 0:e.value)||"",this.setFormValue(this.value),this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var e;this.value=((e=this.textarea)===null||e===void 0?void 0:e.value)||"",this.setFormValue(this.value),this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}onResize(e){e.detail.height>=50&&(!this.maxHeight||this.maxHeight>0&&e.detail.height<this.maxHeight)&&(this.height=e.detail.height)}};
|
|
1327
|
+
`}setValue(e,i=!1){this.value=e,this.setFormValue(e),i&&(this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})),this.dispatchEvent(new CustomEvent("change",{detail:this.value})))}onKeyDown(e){(e.key==="Enter"||e.key===" ")&&e.stopPropagation()}updateValueFromInputField(){var e;this.value=((e=this.textarea)===null||e===void 0?void 0:e.value)||"",this.setFormValue(this.value),this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var e;this.value=((e=this.textarea)===null||e===void 0?void 0:e.value)||"",this.setFormValue(this.value),this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}onResize(e){e.detail.height>=50&&(!this.maxHeight||this.maxHeight>0&&e.detail.height<this.maxHeight)&&(this.height=e.detail.height)}};ve.elementDefinitions={"ft-input-label":ct,"ft-resizer":Ce,"ft-ripple":P,"ft-typography":U};ve.styles=[hi,sf];bt([(0,It.property)({type:String})],ve.prototype,"label",void 0);bt([(0,It.property)({reflect:!0})],ve.prototype,"value",void 0);bt([(0,It.property)({type:String})],ve.prototype,"helper",void 0);bt([(0,It.property)({type:Boolean})],ve.prototype,"outlined",void 0);bt([(0,It.property)({type:Boolean})],ve.prototype,"disabled",void 0);bt([(0,It.property)({type:Boolean})],ve.prototype,"error",void 0);bt([(0,Wt.numberProperty)({reflect:!0})],ve.prototype,"height",void 0);bt([(0,Wt.numberProperty)()],ve.prototype,"maxHeight",void 0);bt([(0,It.query)("textarea")],ve.prototype,"textarea",void 0);bt([(0,It.state)()],ve.prototype,"focused",void 0);bt([(0,Wt.ignoreComposingEvents)()],ve.prototype,"onKeyDown",null);bt([(0,Wt.ignoreComposingEvents)()],ve.prototype,"liveUpdateValueFromInputField",null);var bf=c(h());var xf={"ft-text-area":ve};(0,bf.customElements)(xf);var Lf=c(br());var J=mt.build("integratedFeedbackComponent"),Sf={starsRating:"{0} stars","starsRating[\\=1]":"1 star",like:"Like",dislike:"Dislike",dichotomousYes:"Yes",dichotomousNo:"No",notRated:"Not rated",ratedNow:"Rated now",ratedToday:"Rated today",ratedOn:"Rated on {0, date}",feedbackInputLabel:"How can we improve it?",feedbackfromEmail:"Your email",feedbackfromEmailInvalid:"Please enter a valid email address",okButton:"Send feedback",cancelButton:"Cancel",moreOptionsButton:"More options",feedbackSuccess:"Feedback successfully sent. Thank you!",feedbackFailure:"Failed to send feedback. Please try again later.",ratingSuccess:"Rating successfully sent. Thank you!",ratingFailure:"Failed to send rating. Please try again later.",mapFeedbackMainTitle:"Send feedback",mapRatingSectionTitle:"Rate this document",mapDichotomousRatingSectionTitle:"Did it solve your problem?",mapFeedbackSectionTitle:"Write your review",topicFeedbackMainTitle:"Send feedback",topicRatingSectionTitle:"Rate this content",topicDichotomousRatingSectionTitle:"Did this content solve your problem?",topicFeedbackSectionTitle:"Write your review",viewerFeedbackMainTitle:"Send feedback",viewerRatingSectionTitle:"Rate this content",viewerDichotomousRatingSectionTitle:"Did this content solve your problem?",viewerFeedbackSectionTitle:"Write your review"};var ks=class extends CustomEvent{constructor(e){super("live-change",{detail:e})}},Ds=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Ls=class extends CustomEvent{constructor(e){super("invalid",{detail:e})}};var wf=c(S()),_=c(h());var L={fontSize:_.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:_.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:_.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:_.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:_.FtCssVariableFactory.extend("--ft-text-field-helper-color","",_.designSystemVariables.colorOnSurfaceMedium),colorPrimary:_.FtCssVariableFactory.external(_.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:_.FtCssVariableFactory.external(_.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:_.FtCssVariableFactory.external(_.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:_.FtCssVariableFactory.external(_.designSystemVariables.borderRadiusS,"Design system"),colorError:_.FtCssVariableFactory.external(_.designSystemVariables.colorError,"Design system"),prefixColor:_.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",_.designSystemVariables.colorOnSurfaceMedium),iconColor:_.FtCssVariableFactory.extend("--ft-text-field-icon-color","",_.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:_.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:_.FtCssVariableFactory.extend("--ft-text-field-background-color","",_.designSystemVariables.colorSurface),colorOutline:_.FtCssVariableFactory.external(_.designSystemVariables.colorOutline,"Design system"),elevation02:_.FtCssVariableFactory.external(_.designSystemVariables.elevation02,"Design system"),suggestSize:_.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},Ef=wf.css`
|
|
1328
1328
|
*:focus {
|
|
1329
1329
|
outline: none;
|
|
1330
1330
|
}
|
|
@@ -1477,13 +1477,13 @@
|
|
|
1477
1477
|
}
|
|
1478
1478
|
|
|
1479
1479
|
.ft-text-field--with-icon {
|
|
1480
|
-
${(0,_.setVariable)(D.labelMaxWidth,`calc(100% - ${
|
|
1480
|
+
${(0,_.setVariable)(D.labelMaxWidth,`calc(100% - ${ge.size} - ${D.horizontalSpacing})`)};
|
|
1481
1481
|
}
|
|
1482
1482
|
|
|
1483
1483
|
.ft-text-field--with-password ft-icon:hover {
|
|
1484
1484
|
cursor: pointer;
|
|
1485
1485
|
}
|
|
1486
|
-
`;var
|
|
1486
|
+
`;var ue=c(S()),M=c(F()),Rf=c(br()),Of=c(at());var ze=c(h());var Cf=c(h()),nr=c(S()),Kt=c(F());var Af=c(S());var _f=Af.css`
|
|
1487
1487
|
.ft-text-field-suggestion--suggestion {
|
|
1488
1488
|
position: relative;
|
|
1489
1489
|
padding: 8px 16px;
|
|
@@ -1561,7 +1561,7 @@
|
|
|
1561
1561
|
</ft-button>
|
|
1562
1562
|
`:nr.nothing}
|
|
1563
1563
|
</div>
|
|
1564
|
-
`}focus(e,i){var r,n;i&&this.removable?(r=this.removeButton)===null||r===void 0||r.focus():(n=this.suggestion)===null||n===void 0||n.focus(e)}click(e){var i;(i=e?this.removeButton:this.suggestion)===null||i===void 0||i.click()}isRemoveButtonFocused(){var e,i;return(i=(e=this.removeButton)===null||e===void 0?void 0:e.matches(":focus-within"))!==null&&i!==void 0?i:!1}selectSuggestion(){this.dispatchEvent(new dl(this.getValue()))}removeSuggestion(){this.dispatchEvent(new ul(this.getValue()))}getValue(){return this.value||this.getTextContent()}getTextContent(){return this.assignedNodes.map(e=>e.textContent).join("").trim()}suggestionKeyDown(e){var i;switch(e.key){case"Enter":case" ":e.preventDefault(),e.stopPropagation(),this.selectSuggestion();break;case"ArrowRight":this.removable&&(e.preventDefault(),e.stopPropagation(),(i=this.removeButton)===null||i===void 0||i.focus());break}}removeButtonKeyDown(e){var i;switch(e.key){case"Enter":case" ":e.preventDefault(),e.stopPropagation(),this.removeSuggestion();break;case"ArrowLeft":e.preventDefault(),e.stopPropagation(),(i=this.suggestion)===null||i===void 0||i.focus();break}}};He.elementDefinitions={"ft-ripple":P,"ft-typography":U,"ft-icon":z,"ft-button":R};He.styles=_f;or([(0,Kt.property)()],He.prototype,"value",void 0);or([(0,Kt.property)()],He.prototype,"helper",void 0);or([(0,Kt.property)({type:Boolean})],He.prototype,"removable",void 0);or([(0,Kt.property)()],He.prototype,"removeButtonLabel",void 0);or([(0,Kt.query)(".ft-text-field-suggestion--suggestion")],He.prototype,"suggestion",void 0);or([(0,Kt.query)(".ft-text-field-suggestion--remove")],He.prototype,"removeButton",void 0);or([(0,Kt.queryAssignedNodes)()],He.prototype,"assignedNodes",void 0);var $=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(n<3?s(o):n>3?s(e,i,o):s(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o},A=class extends(0,ze.toFtFormComponent)(ze.FtLitElement){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=ii.EYE_SLASH,this.passwordRevealedIcon=ii.EYE,this.filterSuggestions=!1,this.password=!1,this.hideCurrentValueSuggestion=!1,this.focused=!1,this.inputValid=!0,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[],this.providedSuggestions=[]}get value(){return this._value||""}set value(e){this.setInternalValue(e||""),this.dispatchedValue=e||""}setInternalValue(e){let i=this._value;this._value=e||"",this.setFormValue(this._value),this.requestUpdate("value",i)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}blur(){var e;(e=this.input)===null||e===void 0||e.blur()}render(){var e;let i={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":!this.inputValid||this.error,"ft-text-field--fixed":this.fixedMenuPosition,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":!this.suggestionsShouldBeDisplayed(),"ft-text-field--raised-label":this.focused||this.value!="","ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.isPasswordField()},r=this.suggestionsProvider&&this.value&&this.value!=""&&!this.providedSuggestions.map(a=>a.label).includes(this.value),o=!this.suggestionsProvider&&this.filterSuggestions&&this.value&&this.value!=""||r,s=this.inputValid?this.helper:(e=this.input)===null||e===void 0?void 0:e.validationMessage;return
|
|
1564
|
+
`}focus(e,i){var r,n;i&&this.removable?(r=this.removeButton)===null||r===void 0||r.focus():(n=this.suggestion)===null||n===void 0||n.focus(e)}click(e){var i;(i=e?this.removeButton:this.suggestion)===null||i===void 0||i.click()}isRemoveButtonFocused(){var e,i;return(i=(e=this.removeButton)===null||e===void 0?void 0:e.matches(":focus-within"))!==null&&i!==void 0?i:!1}selectSuggestion(){this.dispatchEvent(new dl(this.getValue()))}removeSuggestion(){this.dispatchEvent(new ul(this.getValue()))}getValue(){return this.value||this.getTextContent()}getTextContent(){return this.assignedNodes.map(e=>e.textContent).join("").trim()}suggestionKeyDown(e){var i;switch(e.key){case"Enter":case" ":e.preventDefault(),e.stopPropagation(),this.selectSuggestion();break;case"ArrowRight":this.removable&&(e.preventDefault(),e.stopPropagation(),(i=this.removeButton)===null||i===void 0||i.focus());break}}removeButtonKeyDown(e){var i;switch(e.key){case"Enter":case" ":e.preventDefault(),e.stopPropagation(),this.removeSuggestion();break;case"ArrowLeft":e.preventDefault(),e.stopPropagation(),(i=this.suggestion)===null||i===void 0||i.focus();break}}};He.elementDefinitions={"ft-ripple":P,"ft-typography":U,"ft-icon":z,"ft-button":R};He.styles=_f;or([(0,Kt.property)()],He.prototype,"value",void 0);or([(0,Kt.property)()],He.prototype,"helper",void 0);or([(0,Kt.property)({type:Boolean})],He.prototype,"removable",void 0);or([(0,Kt.property)()],He.prototype,"removeButtonLabel",void 0);or([(0,Kt.query)(".ft-text-field-suggestion--suggestion")],He.prototype,"suggestion",void 0);or([(0,Kt.query)(".ft-text-field-suggestion--remove")],He.prototype,"removeButton",void 0);or([(0,Kt.queryAssignedNodes)()],He.prototype,"assignedNodes",void 0);var $=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(n<3?s(o):n>3?s(e,i,o):s(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o},A=class extends(0,ze.toFtFormComponent)(ze.FtLitElement){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=ii.EYE_SLASH,this.passwordRevealedIcon=ii.EYE,this.filterSuggestions=!1,this.password=!1,this.hideCurrentValueSuggestion=!1,this.focused=!1,this.inputValid=!0,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[],this.providedSuggestions=[]}get value(){return this._value||""}set value(e){this.setInternalValue(e||""),this.dispatchedValue=e||""}setInternalValue(e){let i=this._value;this._value=e||"",this.setFormValue(this._value),this.requestUpdate("value",i)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}blur(){var e;(e=this.input)===null||e===void 0||e.blur()}render(){var e;let i={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":!this.inputValid||this.error,"ft-text-field--fixed":this.fixedMenuPosition,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":!this.suggestionsShouldBeDisplayed(),"ft-text-field--raised-label":this.focused||this.value!="","ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.isPasswordField()},r=this.suggestionsProvider&&this.value&&this.value!=""&&!this.providedSuggestions.map(a=>a.label).includes(this.value),o=!this.suggestionsProvider&&this.filterSuggestions&&this.value&&this.value!=""||r,s=this.inputValid?this.helper:(e=this.input)===null||e===void 0?void 0:e.validationMessage;return ue.html`
|
|
1565
1565
|
<div class="${(0,Of.classMap)(i)}">
|
|
1566
1566
|
<div class="ft-text-field--main-panel"
|
|
1567
1567
|
@keydown=${this.handleKeyboardNavigation}
|
|
@@ -1572,14 +1572,14 @@
|
|
|
1572
1572
|
?raised=${this.focused||this.value!=""}
|
|
1573
1573
|
?error=${!this.inputValid||this.error}></ft-input-label>
|
|
1574
1574
|
<div class="ft-text-field--input-panel">
|
|
1575
|
-
${this.outlined?
|
|
1575
|
+
${this.outlined?ue.nothing:ue.html`
|
|
1576
1576
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
1577
1577
|
`}
|
|
1578
|
-
${this.prefix?
|
|
1578
|
+
${this.prefix?ue.html`
|
|
1579
1579
|
<ft-typography class="ft-text-field--prefix" variant="body1">
|
|
1580
1580
|
${this.prefix}
|
|
1581
1581
|
</ft-typography>
|
|
1582
|
-
`:
|
|
1582
|
+
`:ue.nothing}
|
|
1583
1583
|
<input type="${this.resolveInputType()}"
|
|
1584
1584
|
name="${Dt(this.name)}"
|
|
1585
1585
|
maxlength="${Dt(this.maxLength||void 0)}"
|
|
@@ -1604,48 +1604,50 @@
|
|
|
1604
1604
|
@suggestion-removed=${this.onSuggestionRemoved}
|
|
1605
1605
|
>
|
|
1606
1606
|
${this.renderSuggestions()}
|
|
1607
|
-
${!this.hideCurrentValueSuggestion&&o?
|
|
1607
|
+
${!this.hideCurrentValueSuggestion&&o?ue.html`
|
|
1608
1608
|
<ft-text-field-suggestion
|
|
1609
1609
|
class="ft-text-field-suggestion--new-value"
|
|
1610
1610
|
part="suggestion current-value-suggestion"
|
|
1611
1611
|
helper="${this.suggestionsHelper}">
|
|
1612
1612
|
${this.value}
|
|
1613
1613
|
</ft-text-field-suggestion>
|
|
1614
|
-
`:
|
|
1614
|
+
`:ue.nothing}
|
|
1615
1615
|
</div>
|
|
1616
1616
|
</div>
|
|
1617
|
-
${s?
|
|
1617
|
+
${s?ue.html`
|
|
1618
1618
|
<ft-typography class="ft-text-field--helper-text" variant="${V.caption}" id="helper" role="alert">
|
|
1619
1619
|
${s}
|
|
1620
1620
|
</ft-typography>
|
|
1621
|
-
`:
|
|
1621
|
+
`:ue.nothing}
|
|
1622
1622
|
</div>
|
|
1623
|
-
`}resolveInputType(){var e;return this.isPasswordField()?this.hidePassword?"password":"text":(e=this.type)!==null&&e!==void 0?e:"text"}renderSuggestions(){return this.suggestionsProvider?
|
|
1624
|
-
${(0,Rf.repeat)(this.providedSuggestions,e=>{var i;return
|
|
1623
|
+
`}resolveInputType(){var e;return this.isPasswordField()?this.hidePassword?"password":"text":(e=this.type)!==null&&e!==void 0?e:"text"}renderSuggestions(){return this.suggestionsProvider?ue.html`
|
|
1624
|
+
${(0,Rf.repeat)(this.providedSuggestions,e=>{var i,r;return ue.html`
|
|
1625
1625
|
<ft-text-field-suggestion part="suggestion"
|
|
1626
1626
|
value="${e.value}"
|
|
1627
1627
|
?removable=${e.removable} }
|
|
1628
|
-
removeButtonLabel="${(i=e.removeButtonLabel)!==null&&i!==void 0?i:
|
|
1628
|
+
removeButtonLabel="${(i=e.removeButtonLabel)!==null&&i!==void 0?i:ue.nothing}"
|
|
1629
|
+
@suggestion-selected=${(r=e.selectedHandler)!==null&&r!==void 0?r:ue.nothing}
|
|
1629
1630
|
>
|
|
1630
|
-
${e.icon?
|
|
1631
|
+
${e.icon?ue.html`
|
|
1632
|
+
<ft-icon .value=${e.icon}></ft-icon>`:ue.nothing}
|
|
1631
1633
|
${e.label}
|
|
1632
1634
|
</ft-text-field-suggestion>
|
|
1633
1635
|
`})}
|
|
1634
|
-
`:
|
|
1636
|
+
`:ue.html`
|
|
1635
1637
|
<slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
|
|
1636
|
-
`}renderPasswordIcon(){return
|
|
1638
|
+
`}renderPasswordIcon(){return ue.html`
|
|
1637
1639
|
<ft-icon class="ft-text-field--icon"
|
|
1638
1640
|
.variant=${this.iconVariant}
|
|
1639
1641
|
.value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
|
|
1640
1642
|
@click=${()=>this.togglePasswordVisibility()}></ft-icon>
|
|
1641
|
-
`}renderIcon(){return this.isPasswordField()?this.renderPasswordIcon():this.icon?
|
|
1643
|
+
`}renderIcon(){return this.isPasswordField()?this.renderPasswordIcon():this.icon?ue.html`
|
|
1642
1644
|
<ft-icon class="ft-text-field--icon"
|
|
1643
1645
|
.variant=${this.iconVariant}
|
|
1644
1646
|
.value=${this.icon}
|
|
1645
1647
|
@click=${()=>{var e;return(e=this.input)===null||e===void 0?void 0:e.focus()}}></ft-icon>
|
|
1646
|
-
`:
|
|
1648
|
+
`:ue.nothing}update(e){super.update(e),(e.has("value")||e.has("filterSuggestions")||e.has("suggestionsProvider"))&&this.updateSuggestions(),e.has("value")&&e.get("value")!=null&&(this.hideSuggestions=!1),e.has("dispatchedValue")&&e.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}async updateSuggestions(){var e;if(this.suggestionsProvider){(e=this.cancelableSuggest)===null||e===void 0||e.cancel();let i=this.suggestionsProvider(this.value);i instanceof Promise?(this.cancelableSuggest=(0,ze.cancelable)(i),this.providedSuggestions=await this.cancelableSuggest):(this.cancelableSuggest=void 0,this.providedSuggestions=i)}else this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.slottedSuggestions.forEach(e=>e.hidden=!e.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.slottedSuggestions.filter(e=>!e.hidden)):this.visibleSuggestions=this.slottedSuggestions,this.newValueSuggestion&&(this.visibleSuggestions=[...this.visibleSuggestions,this.newValueSuggestion]),this.hideSuggestions=this.visibleSuggestions.length<=0}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&this.setSuggestionPosition(),e.has("providedSuggestions")&&this.suggestionsProvider&&(this.visibleSuggestions=[...this.providedSuggestionsInDom]),e.has("autocomplete")&&this.setupWatchAutofill(),this.suggestionsShouldBeDisplayed()&&this.setSuggestionPosition()}setupWatchAutofill(){var e;this.clearWatchAutofill(),((e=this.autocomplete)!==null&&e!==void 0?e:"off")!=="off"&&(this.watchAutofillInterval=setInterval(()=>{var i,r,n;!((i=this.input)===null||i===void 0)&&i.matches(":autofill")&&this.dispatchedValue!==((r=this.input)===null||r===void 0?void 0:r.value)&&this.setValue((n=this.input)===null||n===void 0?void 0:n.value,!0)},200))}clearWatchAutofill(){this.watchAutofillInterval&&clearInterval(this.watchAutofillInterval)}connectedCallback(){super.connectedCallback(),this.setupWatchAutofill()}disconnectedCallback(){super.disconnectedCallback(),this.clearWatchAutofill()}setValue(e,i=!1){var r,n;this.value!==e&&(this.inputValid=!0,this.setInternalValue(e),this.dispatchEvent(new ks(e))),i&&this.dispatchedValue!==e&&(this.inputValid=(n=(r=this.input)===null||r===void 0?void 0:r.checkValidity())!==null&&n!==void 0?n:!0,this.inputValid?(this.dispatchedValue=e,this.dispatchEvent(new Ds(e))):this.dispatchEvent(new Ls(this.input.validationMessage)))}handleInput(e){var i;let r=((i=this.input)===null||i===void 0?void 0:i.value)||"";this.setValue(r,e.key=="Escape"||e.key=="Enter")}catchComposingEvents(e){}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(e){var i,r;if(e.key==="ArrowDown"||e.key==="ArrowUp"){e.preventDefault(),e.stopPropagation(),this.hideSuggestions=!1;let n=this.visibleSuggestions.findIndex(s=>s.matches(":focus-within")),o;e.key==="ArrowDown"?o=n<this.visibleSuggestions.length-1?n+1:0:o=n>0?n-1:this.visibleSuggestions.length-1,(i=this.visibleSuggestions[o])===null||i===void 0||i.focus(void 0,(r=this.visibleSuggestions[n])===null||r===void 0?void 0:r.isRemoveButtonFocused())}(e.key=="Escape"||e.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(e){var i;this.setValue(e.detail,!0),(i=this.input)===null||i===void 0||i.focus(),setTimeout(()=>this.hideSuggestions=!0,0)}onSuggestionRemoved(){setTimeout(()=>this.updateSuggestions())}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var e,i;!((e=this.mainPanel)===null||e===void 0)&&e.matches(":focus-within")||(this.focused=!1,this.setValue(((i=this.input)===null||i===void 0?void 0:i.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}isPasswordField(){return this.password||this.type==="password"}setSuggestionPosition(){this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px";let e=["bottom","top"];(0,ze.computeOffsetAutoPosition)(this.mainPanel,this.suggestionsContainer,"bottom",e,"fixed","--text-field-internal-suggest-size",0).then(({x:i,y:r})=>{this.suggestionsContainer.style.left=`${i}px`,this.suggestionsContainer.style.top=`${r}px`})}suggestionsShouldBeDisplayed(){return!this.hideSuggestions&&(this.visibleSuggestions.length||this.providedSuggestions.length)}};A.elementDefinitions={"ft-input-label":ct,"ft-ripple":P,"ft-typography":U,"ft-icon":z,"ft-text-field-suggestion":He};A.styles=[hi,ze.noTextInputDefaultClearButton,Ef];$([(0,M.property)()],A.prototype,"label",void 0);$([(0,M.property)({noAccessor:!0})],A.prototype,"value",null);$([(0,M.state)()],A.prototype,"dispatchedValue",void 0);$([(0,M.property)()],A.prototype,"helper",void 0);$([(0,M.property)()],A.prototype,"suggestionsHelper",void 0);$([(0,M.property)({type:Boolean})],A.prototype,"outlined",void 0);$([(0,M.property)({type:Boolean})],A.prototype,"disabled",void 0);$([(0,M.property)({type:Boolean})],A.prototype,"error",void 0);$([(0,M.property)({type:Boolean})],A.prototype,"fixedMenuPosition",void 0);$([(0,M.property)()],A.prototype,"prefix",void 0);$([(0,M.property)()],A.prototype,"icon",void 0);$([(0,M.property)()],A.prototype,"name",void 0);$([(0,M.property)()],A.prototype,"type",void 0);$([(0,M.property)()],A.prototype,"passwordHiddenIcon",void 0);$([(0,M.property)()],A.prototype,"passwordRevealedIcon",void 0);$([(0,M.property)()],A.prototype,"iconVariant",void 0);$([(0,M.property)({type:Boolean})],A.prototype,"filterSuggestions",void 0);$([(0,ze.numberProperty)()],A.prototype,"maxLength",void 0);$([(0,M.property)({type:Boolean})],A.prototype,"password",void 0);$([(0,M.property)({type:String})],A.prototype,"autocomplete",void 0);$([(0,M.property)({attribute:!1})],A.prototype,"suggestionsProvider",void 0);$([(0,M.property)({type:Boolean})],A.prototype,"hideCurrentValueSuggestion",void 0);$([(0,M.state)()],A.prototype,"focused",void 0);$([(0,M.state)()],A.prototype,"inputValid",void 0);$([(0,M.state)()],A.prototype,"hidePassword",void 0);$([(0,M.state)()],A.prototype,"hideSuggestions",void 0);$([(0,M.state)()],A.prototype,"visibleSuggestions",void 0);$([(0,M.state)()],A.prototype,"providedSuggestions",void 0);$([(0,M.query)(".ft-text-field--main-panel")],A.prototype,"mainPanel",void 0);$([(0,M.query)(".ft-text-field--input")],A.prototype,"input",void 0);$([(0,M.query)(".ft-text-field-suggestion--new-value")],A.prototype,"newValueSuggestion",void 0);$([(0,M.query)(".ft-text-field--suggestions")],A.prototype,"suggestionsContainer",void 0);$([(0,M.queryAll)("ft-text-field-suggestion")],A.prototype,"providedSuggestionsInDom",void 0);$([(0,M.queryAssignedElements)({selector:"ft-text-field-suggestion"})],A.prototype,"slottedSuggestions",void 0);$([(0,ze.ignoreComposingEvents)()],A.prototype,"handleInput",null);$([(0,ze.ignoreComposingEvents)()],A.prototype,"catchComposingEvents",null);var Df=c(h());var kf={"ft-text-field":A,"ft-text-field-suggestion":He};(0,Df.customElements)(kf);var Is=class extends CustomEvent{constructor(e){super("send-feedback",{detail:e})}};var we=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(n<3?s(o):n>3?s(e,i,o):s(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o},Q=class extends gt(Vr.FtLitElementRedux){constructor(){super(),this.hideTitle=!1,this.withMoreOptionsButton=!1,this.emptyStarIcon="STAR",this.filledStarIcon="STAR_PLAIN",this.emptyLikeIcon="THUMBS_UP",this.filledLikeIcon="THUMBS_UP_PLAIN",this.emptyDislikeIcon="THUMBS_DOWN",this.filledDislikeIcon="THUMBS_DOWN_PLAIN",this.canAccessFeedback=!1,this.canRateThisContent=!1,this.from="",this.feedbackMessage="",this.addI18nContext(J,Sf),this.addStore(v)}get configuredRatingType(){var e,i;return(i=(e=this.ratingSummary)===null||e===void 0?void 0:e.type)!==null&&i!==void 0?i:Ae.NO_RATING}get ratingTypeOfDoneRatingOfThisContent(){var e,i,r;return(r=(i=(e=this.ratingSummary)===null||e===void 0?void 0:e.rating)===null||i===void 0?void 0:i.type)!==null&&r!==void 0?r:Ae.NO_RATING}get ratingValue(){var e,i,r;return(r=(i=(e=this.ratingSummary)===null||e===void 0?void 0:e.rating)===null||i===void 0?void 0:i.value)!==null&&r!==void 0?r:-1}get ratingDate(){var e,i;let r=(i=(e=this.ratingSummary)===null||e===void 0?void 0:e.rating)===null||i===void 0?void 0:i.date;return typeof r=="string"?(0,Vr.parseDate)(r):r}render(){return!this.canAccessFeedback&&!this.canRateThisContent?pe.nothing:pe.html`
|
|
1647
1649
|
<div part="container">
|
|
1648
|
-
${this.hideTitle?
|
|
1650
|
+
${this.hideTitle?pe.nothing:pe.html`
|
|
1649
1651
|
<ft-typography variant="${V.title}" part="main-title">
|
|
1650
1652
|
${this.i18n(this.i18nProperties.feedbackMainTitle)}
|
|
1651
1653
|
</ft-typography>
|
|
@@ -1653,7 +1655,7 @@
|
|
|
1653
1655
|
${this.renderRatingSection()}
|
|
1654
1656
|
${this.renderFeedbackSection()}
|
|
1655
1657
|
</div>
|
|
1656
|
-
`}renderRatingSection(){var e;return this.canRateThisContent?
|
|
1658
|
+
`}renderRatingSection(){var e;return this.canRateThisContent?pe.html`
|
|
1657
1659
|
<div part="rating-container">
|
|
1658
1660
|
<ft-typography variant="${V.title_dense}" part="section-title">
|
|
1659
1661
|
${this.i18n(((e=this.ratingSummary)===null||e===void 0?void 0:e.type)===Ae.DICHOTOMOUS?this.i18nProperties.dichotomousRatingSectionTitle:this.i18nProperties.ratingSectionTitle)}
|
|
@@ -1663,9 +1665,9 @@
|
|
|
1663
1665
|
${this.renderRatingDate()}
|
|
1664
1666
|
</ft-typography>
|
|
1665
1667
|
</div>
|
|
1666
|
-
`:
|
|
1668
|
+
`:pe.nothing}renderRatingDate(){let e=this.ratingDate;if(e==null)return J.messages.notRated();if(e.getTime()>new Date().getTime()-6e4)return J.messages.ratedNow();let i=new Date().toLocaleDateString(),r=e.toLocaleDateString();return i===r?J.messages.ratedToday():J.messages.ratedOn(e)}renderRating(){switch(this.configuredRatingType){case Ae.STARS:return pe.html`
|
|
1667
1669
|
<div part="rating rating-stars">
|
|
1668
|
-
${(0,Lf.repeat)(new Array(5),(e,i)=>i,(e,i)=>{let r=this.ratingTypeOfDoneRatingOfThisContent===Ae.STARS&&this.ratingValue>i,n=i+1;return
|
|
1670
|
+
${(0,Lf.repeat)(new Array(5),(e,i)=>i,(e,i)=>{let r=this.ratingTypeOfDoneRatingOfThisContent===Ae.STARS&&this.ratingValue>i,n=i+1;return pe.html`
|
|
1669
1671
|
<ft-button round part="rating-stars-${n}"
|
|
1670
1672
|
label="${J.messages.starsRating(n)}"
|
|
1671
1673
|
tooltipPosition="top"
|
|
@@ -1676,7 +1678,7 @@
|
|
|
1676
1678
|
></ft-button>
|
|
1677
1679
|
`})}
|
|
1678
1680
|
</div>
|
|
1679
|
-
`;case Ae.LIKE:{let e=this.ratingTypeOfDoneRatingOfThisContent===Ae.LIKE&&this.ratingValue===0,i=this.ratingTypeOfDoneRatingOfThisContent===Ae.LIKE&&this.ratingValue===1;return
|
|
1681
|
+
`;case Ae.LIKE:{let e=this.ratingTypeOfDoneRatingOfThisContent===Ae.LIKE&&this.ratingValue===0,i=this.ratingTypeOfDoneRatingOfThisContent===Ae.LIKE&&this.ratingValue===1;return pe.html`
|
|
1680
1682
|
<ft-switch unselectable
|
|
1681
1683
|
@change=${r=>this.rate(r.detail)}
|
|
1682
1684
|
part="rating rating-like"
|
|
@@ -1696,7 +1698,7 @@
|
|
|
1696
1698
|
${J.messages.dislike()}
|
|
1697
1699
|
</ft-switch-option>
|
|
1698
1700
|
</ft-switch>
|
|
1699
|
-
`}case Ae.DICHOTOMOUS:{let e=this.ratingTypeOfDoneRatingOfThisContent===Ae.DICHOTOMOUS&&this.ratingValue===0,i=this.ratingTypeOfDoneRatingOfThisContent===Ae.DICHOTOMOUS&&this.ratingValue===1;return
|
|
1701
|
+
`}case Ae.DICHOTOMOUS:{let e=this.ratingTypeOfDoneRatingOfThisContent===Ae.DICHOTOMOUS&&this.ratingValue===0,i=this.ratingTypeOfDoneRatingOfThisContent===Ae.DICHOTOMOUS&&this.ratingValue===1;return pe.html`
|
|
1700
1702
|
<ft-switch unselectable
|
|
1701
1703
|
@change=${r=>this.rate(r.detail)}
|
|
1702
1704
|
part="rating rating-dichotomous">
|
|
@@ -1709,31 +1711,31 @@
|
|
|
1709
1711
|
${J.messages.dichotomousNo()}
|
|
1710
1712
|
</ft-switch-option>
|
|
1711
1713
|
</ft-switch>
|
|
1712
|
-
`}}return
|
|
1714
|
+
`}}return pe.nothing}rate(e){(e??-1)!==this.ratingValue&&this.dispatchEvent(new CustomEvent("rate",{detail:e}))}renderFeedbackSection(){var e,i,r,n,o;if(this.canAccessFeedback){let s=this.feedbackMailLinkBuilder(this.feedbackMessage),a=pe.html`
|
|
1713
1715
|
<ft-button primary
|
|
1714
1716
|
type="submit" name="submit"
|
|
1715
1717
|
?disabled=${!this.feedbackMessage||!this.validFromEmail()}
|
|
1716
1718
|
part="send-feedback">
|
|
1717
1719
|
${J.messages.okButton()}
|
|
1718
1720
|
</ft-button>
|
|
1719
|
-
`;s&&(a=
|
|
1721
|
+
`;s&&(a=pe.html`
|
|
1720
1722
|
<a part="send-feedback-link" href="${s}">
|
|
1721
1723
|
${a}
|
|
1722
1724
|
</a>
|
|
1723
|
-
`);let l=this.withMoreOptionsButton&&(!((e=this.configuration)===null||e===void 0)&&e.mailsSentByFluidTopics||!((i=this.configuration)===null||i===void 0)&&i.mailsSentByFluidTopicsForUnauthenticatedUsers)?
|
|
1725
|
+
`);let l=this.withMoreOptionsButton&&(!((e=this.configuration)===null||e===void 0)&&e.mailsSentByFluidTopics||!((i=this.configuration)===null||i===void 0)&&i.mailsSentByFluidTopicsForUnauthenticatedUsers)?pe.html`
|
|
1724
1726
|
<ft-button outlined
|
|
1725
1727
|
type="button" name="more-options"
|
|
1726
1728
|
@click=${this.onOpenMoreDetails}
|
|
1727
1729
|
part="more-options">
|
|
1728
1730
|
${J.messages.moreOptionsButton()}
|
|
1729
1731
|
</ft-button>
|
|
1730
|
-
`:
|
|
1732
|
+
`:pe.nothing;return pe.html`
|
|
1731
1733
|
<form part="feedback-container" autocomplete="on"
|
|
1732
1734
|
@submit=${d=>this.onFormSubmitEvent(d,!!s)}>
|
|
1733
1735
|
<ft-typography variant="${V.title_dense}" part="section-title">
|
|
1734
1736
|
${this.i18n(this.i18nProperties.feedbackSectionTitle)}
|
|
1735
1737
|
</ft-typography>
|
|
1736
|
-
${((n=(r=this.session)===null||r===void 0?void 0:r.profile)===null||n===void 0?void 0:n.userId)==null&&(!((o=this.configuration)===null||o===void 0)&&o.mailsSentByFluidTopicsForUnauthenticatedUsers)?
|
|
1738
|
+
${((n=(r=this.session)===null||r===void 0?void 0:r.profile)===null||n===void 0?void 0:n.userId)==null&&(!((o=this.configuration)===null||o===void 0)&&o.mailsSentByFluidTopicsForUnauthenticatedUsers)?pe.html`
|
|
1737
1739
|
<ft-text-field outlined name="email" type="email" autocomplete="email"
|
|
1738
1740
|
part="feedback-from-input"
|
|
1739
1741
|
label="${J.messages.feedbackfromEmail()}"
|
|
@@ -1741,7 +1743,7 @@
|
|
|
1741
1743
|
?error=${this.from&&!this.validFromEmail()}
|
|
1742
1744
|
helper="${this.from&&!this.validFromEmail()?J.messages.feedbackfromEmailInvalid():""}"
|
|
1743
1745
|
></ft-text-field>
|
|
1744
|
-
`:
|
|
1746
|
+
`:pe.nothing}
|
|
1745
1747
|
<ft-text-area outlined
|
|
1746
1748
|
part="feedback-input"
|
|
1747
1749
|
label="${J.messages.feedbackInputLabel()}"
|
|
@@ -1752,7 +1754,7 @@
|
|
|
1752
1754
|
${a}
|
|
1753
1755
|
</div>
|
|
1754
1756
|
</form>
|
|
1755
|
-
`}return
|
|
1757
|
+
`}return pe.nothing}onFormSubmitEvent(e,i){e.preventDefault(),i?this.onMailerFeedbackSent():this.sendFeedback()}validFromEmail(){var e,i,r;let n=/^[a-zA-Z0-9_+&*-]+(?:\.[a-zA-Z0-9_+&*-]+)*@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$/;return!(((i=(e=this.session)===null||e===void 0?void 0:e.profile)===null||i===void 0?void 0:i.userId)==null&&(!((r=this.configuration)===null||r===void 0)&&r.mailsSentByFluidTopicsForUnauthenticatedUsers))||n.test(this.from)}sendFeedback(){var e;this.dispatchEvent(new Is({message:this.feedbackInput.value,...((e=this.configuration)===null||e===void 0?void 0:e.mailsSentByFluidTopicsForUnauthenticatedUsers)&&{from:this.from}}))}onMailerFeedbackSent(){this.dispatchEvent(new CustomEvent("mailer-feedback"))}onOpenMoreDetails(){this.dispatchEvent(new CustomEvent("open-more-options"))}clearFeedbackInput(){setTimeout(()=>this.feedbackInput.setValue("",!0),0)}};Q.elementDefinitions={"ft-button":R,"ft-typography":U,"ft-switch":Be,"ft-switch-option":de,"ft-text-area":ve,"ft-text-field":A};we([(0,fe.property)({type:Boolean})],Q.prototype,"hideTitle",void 0);we([(0,fe.property)({type:Boolean})],Q.prototype,"withMoreOptionsButton",void 0);we([(0,fe.property)()],Q.prototype,"iconVariant",void 0);we([(0,fe.property)()],Q.prototype,"emptyStarIcon",void 0);we([(0,fe.property)()],Q.prototype,"filledStarIcon",void 0);we([(0,fe.property)()],Q.prototype,"emptyLikeIcon",void 0);we([(0,fe.property)()],Q.prototype,"filledLikeIcon",void 0);we([(0,fe.property)()],Q.prototype,"emptyDislikeIcon",void 0);we([(0,fe.property)()],Q.prototype,"filledDislikeIcon",void 0);we([(0,fe.property)({type:Boolean})],Q.prototype,"canAccessFeedback",void 0);we([(0,fe.property)({type:Boolean})],Q.prototype,"canRateThisContent",void 0);we([(0,fe.property)({attribute:!1})],Q.prototype,"i18nProperties",void 0);we([(0,fe.property)({attribute:!1})],Q.prototype,"ratingSummary",void 0);we([(0,fe.property)()],Q.prototype,"configuration",void 0);we([(0,fe.property)()],Q.prototype,"feedbackMailLinkBuilder",void 0);we([(0,Vr.redux)({store:v.name})],Q.prototype,"session",void 0);we([(0,fe.query)("[part='feedback-input']")],Q.prototype,"feedbackInput",void 0);we([(0,fe.state)()],Q.prototype,"from",void 0);we([(0,fe.state)()],Q.prototype,"feedbackMessage",void 0);var Rn=class extends Q{};Rn.styles=Es(As);var pl=mt.build("inDesignerFeedbackComponent"),If={feedbackAndRatingDisabledInEditor:"Feedback and ratings performed here are not taken into account."};var Ps=mt.fromGwt("server");var Ms=class{constructor(){this.subject="",this.url="",this.subjectMetadata="",this.bodyMetadata="",this.isAuthenticated=!1}update(e,i,r,n,o){var s;this.subject=e,this.url=i,this.configuration=n,this.isAuthenticated=o,this.subjectMetadata=this.filterMetadata(r,n.subjectMetadataIds).map(a=>"["+a.values[a.values.length-1]+"]").join(""),this.bodyMetadata=this.filterMetadata(r,(s=n.bodyMetadataIds)!==null&&s!==void 0?s:[]).map(a=>"["+a.values.join(", ")+"]").join(" ")}filterMetadata(e,i){return i.map(r=>e.find(n=>n.key===r)).filter(r=>r!=null&&r.values.length>0)}shouldUseMailer(){var e,i;let r=this.isAuthenticated&&!(!((e=this.configuration)===null||e===void 0)&&e.mailsSentByFluidTopics),n=!this.isAuthenticated&&!(!((i=this.configuration)===null||i===void 0)&&i.mailsSentByFluidTopicsForUnauthenticatedUsers);return r||n}build(e){var i;if(e!=null&&e.length===0||!this.shouldUseMailer())return;let r=encodeURIComponent(this.subject+" "+this.subjectMetadata),n=encodeURIComponent(`
|
|
1756
1758
|
${this.bodyMetadata}
|
|
1757
1759
|
${this.url}
|
|
1758
1760
|
_________________________________________________________________
|
|
@@ -1820,7 +1822,7 @@ ${Ps.messages["mail.feedback.disclaimer"]()}`);return`mailto:${(i=this.configura
|
|
|
1820
1822
|
--chip-internal-font-size: ${Qe.fontSize};
|
|
1821
1823
|
--chip-internal-font-weight: ${Qe.fontWeight};
|
|
1822
1824
|
--chip-internal-line-height: max(20px, calc(var(--chip-internal-font-size) + 2px));
|
|
1823
|
-
${(0,I.setVariable)(
|
|
1825
|
+
${(0,I.setVariable)(ge.size,Qe.iconSize)};
|
|
1824
1826
|
--chip-internal-vertical-padding: ${Qe.verticalPadding};
|
|
1825
1827
|
--chip-internal-horizontal-padding: ${Qe.horizontalPadding};
|
|
1826
1828
|
--chip-internal-icon-padding: 3px;
|
|
@@ -2100,7 +2102,7 @@ ${Ps.messages["mail.feedback.disclaimer"]()}`);return`mailto:${(i=this.configura
|
|
|
2100
2102
|
<slot></slot>
|
|
2101
2103
|
</ft-typography>
|
|
2102
2104
|
</div>
|
|
2103
|
-
`}};_i.elementDefinitions={"ft-typography":U};_i.styles=Qf;var rh=c(h());var ih={"ft-floating-menu":te,"ft-floating-menu-item":Ne,"ft-floating-menu-label":_i};(0,rh.customElements)(ih);var et=c(S()),oh=c(br());var Dn=c(h());function ag(t){var e;return((e=(0,Dn.accessResult)(t))===null||e===void 0?void 0:e.openMode)===po.EXTERNAL}function nh(t,e){return ag(t)?(0,Dn.accessResult)(t).originUrl:(0,Dn.accessResultUrl)(t,e)}var Ln=class{constructor(e){this.contentLocales=e}localize(e){var i,r;return e?.key!=="ft:locale"?e:{...e,displayValue:(i=this.findLocaleValue(e))!==null&&i!==void 0?i:e.displayValue,displayTooltipValue:(r=this.findLocaleValue(e))!==null&&r!==void 0?r:e.displayTooltipValue}}findLocaleValue(e){var i;return(i=this.contentLocales.find(r=>r.lang===e.value))===null||i===void 0?void 0:i.label}};var We=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(n<3?s(o):n>3?s(e,i,o):s(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o},
|
|
2105
|
+
`}};_i.elementDefinitions={"ft-typography":U};_i.styles=Qf;var rh=c(h());var ih={"ft-floating-menu":te,"ft-floating-menu-item":Ne,"ft-floating-menu-label":_i};(0,rh.customElements)(ih);var et=c(S()),oh=c(br());var Dn=c(h());function ag(t){var e;return((e=(0,Dn.accessResult)(t))===null||e===void 0?void 0:e.openMode)===po.EXTERNAL}function nh(t,e){return ag(t)?(0,Dn.accessResult)(t).originUrl:(0,Dn.accessResultUrl)(t,e)}var Ln=class{constructor(e){this.contentLocales=e}localize(e){var i,r;return e?.key!=="ft:locale"?e:{...e,displayValue:(i=this.findLocaleValue(e))!==null&&i!==void 0?i:e.displayValue,displayTooltipValue:(r=this.findLocaleValue(e))!==null&&r!==void 0?r:e.displayTooltipValue}}findLocaleValue(e){var i;return(i=this.contentLocales.find(r=>r.lang===e.value))===null||i===void 0?void 0:i.label}};var We=function(t,e,i,r){var n=arguments.length,o=n<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(n<3?s(o):n>3?s(e,i,o):s(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o},he=class extends bc(gt(Ns)){get metadataValue(){return this.flatMetadata?this.flatMetadata.displayValue:this.editorMode?this.key?`no value for ${this.key}`:"no metadata selected":this.noValueMessage}get metadataLabel(){var e,i,r,n,o,s;return this.metadata?this.metadata.label:(s=(o=(r=(i=(e=this.viewerStateManager)===null||e===void 0?void 0:e.clusteringHelper)===null||i===void 0?void 0:i.getMetadataDescriptor(this.key))===null||r===void 0?void 0:r.label)!==null&&o!==void 0?o:(n=this.relatives.find(a=>a.metadata.value))===null||n===void 0?void 0:n.metadata.label)!==null&&s!==void 0?s:this.key}setUdvStateManager(e){super.setUdvStateManager(e),this.key&&this.useForSwitchingToRelatives&&e.registerMetadataForSwitchToRelatives(this.key)}constructor(){super(),this.multiLine=!1,this.useForSwitchingToRelatives=!1,this.displayLabel=!1,this.hierarchicalValueTruncatingLevel=3,this.forceTooltip=!1,this.editorMode=!1,this.translateValues=!1,this.relatives=[],this.noValueMessage="No value",this.addI18nContext(Ir)}willUpdate(e){var i,r,n,o,s;super.willUpdate(e),e.has("key")&&this.useForSwitchingToRelatives&&(e.get("key")&&((i=this.viewerStateManager)===null||i===void 0||i.unregisterMetadataForSwitchToRelatives(e.get("key"))),this.key&&((r=this.viewerStateManager)===null||r===void 0||r.registerMetadataForSwitchToRelatives(this.key))),e.has("useForSwitchingToRelatives")&&this.key&&(this.useForSwitchingToRelatives?(n=this.viewerStateManager)===null||n===void 0||n.registerMetadataForSwitchToRelatives(this.key):(o=this.viewerStateManager)===null||o===void 0||o.unregisterMetadataForSwitchToRelatives(this.key)),(e.has("translateValues")||e.has("metadata")||e.has("hierarchicalValueTruncatingLevel")||e.has("availableContentLocales")||this.dateFormatOptionsChanged(e))&&(this.flatMetadata=this.metadata?St.ClusteringHelper.flattenMetadata(this.metadata,this.hierarchicalValueTruncatingLevel,this.getDateFormatter(this.metadata.key)):void 0,this.translateValues&&(this.flatMetadata=new Ln((s=this.availableContentLocales)!==null&&s!==void 0?s:[]).localize(this.flatMetadata)))}updateRelatives(){var e,i,r,n;this.useForSwitchingToRelatives&&this.key?this.relatives=(n=(i=(e=this.viewerStateManager)===null||e===void 0?void 0:e.clusteringHelper)===null||i===void 0?void 0:i.computeClustersItemsForMetadata(this.key,((r=this.document)===null||r===void 0?void 0:r.lang)||"en",this.noValueMessage,this.hierarchicalValueTruncatingLevel,this.getDateFormatter(this.key)))!==null&&n!==void 0?n:[]:this.relatives=[]}render(){return et.html`
|
|
2104
2106
|
${this.useForSwitchingToRelatives&&this.relatives.length>0?this.renderSwitchToRelatives():this.renderChip()}
|
|
2105
2107
|
${this.hideIfEmpty()}
|
|
2106
2108
|
`}hideIfEmpty(){let e=this.flatMetadata==null&&(this.useForSwitchingToRelatives?this.relatives.length===0:!0);return!this.editorMode&&e?et.html`
|
|
@@ -2150,7 +2152,7 @@ ${Ps.messages["mail.feedback.disclaimer"]()}`);return`mailto:${(i=this.configura
|
|
|
2150
2152
|
text="${d}">
|
|
2151
2153
|
${u}
|
|
2152
2154
|
</ft-tooltip>
|
|
2153
|
-
`}};
|
|
2155
|
+
`}};he.elementDefinitions={"ft-chip":ne,"ft-floating-menu":te,"ft-floating-menu-item":Ne,"ft-floating-menu-label":_i,"ft-ripple":P,"ft-tooltip":re};he.styles=$f;We([(0,Mt.property)(),(0,St.reduxReactive)()],he.prototype,"key",void 0);We([(0,Mt.property)({type:Boolean})],he.prototype,"multiLine",void 0);We([(0,Mt.property)({type:Boolean})],he.prototype,"useForSwitchingToRelatives",void 0);We([(0,Mt.property)({type:Boolean})],he.prototype,"displayLabel",void 0);We([(0,St.numberProperty)()],he.prototype,"hierarchicalValueTruncatingLevel",void 0);We([(0,Mt.property)({type:Boolean})],he.prototype,"forceTooltip",void 0);We([(0,Mt.property)({attribute:!1})],he.prototype,"editorMode",void 0);We([(0,Mt.property)({type:Boolean})],he.prototype,"translateValues",void 0);We([(0,St.redux)({store:"viewer",selector:(t,e)=>{var i,r;return(r=(i=t.document)===null||i===void 0?void 0:i.metadata)===null||r===void 0?void 0:r.find(n=>n.key===e.key)}})],he.prototype,"metadata",void 0);We([(0,Mt.state)()],he.prototype,"flatMetadata",void 0);We([(0,St.redux)({store:"viewer"})],he.prototype,"document",void 0);We([(0,Mt.state)()],he.prototype,"relatives",void 0);We([(0,St.redux)({store:v.name})],he.prototype,"availableContentLocales",void 0);We([ts(Ir.properties.itemWithNoValueForSwitchToRelatives())],he.prototype,"noValueMessage",void 0);We([(0,St.reduxEventListener)({eventName:gi.clusteringHelperCreated})],he.prototype,"updateRelatives",null);var sh={"ft-asset-viewer-content":$o,"ft-asset-viewer-context":Xt,"ft-asset-viewer-document-title":zo,"ft-asset-viewer-filename":Fo,"ft-asset-viewer-mime-type-icon":Ho,"ft-asset-viewer-title":Uo,"ft-ud-viewer-attachments":Zi,"ft-ud-viewer-content":qo,"ft-ud-viewer-context":vi,"ft-ud-viewer-filename":Yo,"ft-ud-viewer-metadata":he,"ft-ud-viewer-mime-type-icon":Xo,"ft-ud-viewer-title":Zo,"ft-ud-viewer-feedback":ee};(0,ah.customElements)(sh);})();
|
|
2154
2156
|
/*! Bundled license information:
|
|
2155
2157
|
|
|
2156
2158
|
@lit/context/lib/context-request-event.js:
|
package/build/ft-viewer.min.js
CHANGED
|
@@ -1702,13 +1702,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
1702
1702
|
`:R}
|
|
1703
1703
|
</div>
|
|
1704
1704
|
`}resolveInputType(){var e;return this.isPasswordField()?this.hidePassword?"password":"text":(e=this.type)!==null&&e!==void 0?e:"text"}renderSuggestions(){return this.suggestionsProvider?x`
|
|
1705
|
-
${Ke(this.providedSuggestions,e=>{var r;return x`
|
|
1705
|
+
${Ke(this.providedSuggestions,e=>{var r,i;return x`
|
|
1706
1706
|
<ft-text-field-suggestion part="suggestion"
|
|
1707
1707
|
value="${e.value}"
|
|
1708
1708
|
?removable=${e.removable} }
|
|
1709
1709
|
removeButtonLabel="${(r=e.removeButtonLabel)!==null&&r!==void 0?r:R}"
|
|
1710
|
+
@suggestion-selected=${(i=e.selectedHandler)!==null&&i!==void 0?i:R}
|
|
1710
1711
|
>
|
|
1711
|
-
${e.icon?x
|
|
1712
|
+
${e.icon?x`
|
|
1713
|
+
<ft-icon .value=${e.icon}></ft-icon>`:R}
|
|
1712
1714
|
${e.label}
|
|
1713
1715
|
</ft-text-field-suggestion>
|
|
1714
1716
|
`})}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-viewer",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.20",
|
|
4
4
|
"description": "File viewer components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,18 +19,18 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-content-watermark": "2.2.
|
|
23
|
-
"@fluid-topics/ft-i18n": "2.2.
|
|
24
|
-
"@fluid-topics/ft-reader-attachments": "2.2.
|
|
25
|
-
"@fluid-topics/ft-reader-feedback": "2.2.
|
|
26
|
-
"@fluid-topics/ft-search-result-context": "2.2.
|
|
27
|
-
"@fluid-topics/ft-wc-utils": "2.2.
|
|
22
|
+
"@fluid-topics/ft-content-watermark": "2.2.20",
|
|
23
|
+
"@fluid-topics/ft-i18n": "2.2.20",
|
|
24
|
+
"@fluid-topics/ft-reader-attachments": "2.2.20",
|
|
25
|
+
"@fluid-topics/ft-reader-feedback": "2.2.20",
|
|
26
|
+
"@fluid-topics/ft-search-result-context": "2.2.20",
|
|
27
|
+
"@fluid-topics/ft-wc-utils": "2.2.20",
|
|
28
28
|
"@fluid-topics/public-api": "1.0.143",
|
|
29
29
|
"@lit/context": "1.1.6",
|
|
30
30
|
"lit": "3.3.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@fluid-topics/ft-wc-test-utils": "2.2.
|
|
33
|
+
"@fluid-topics/ft-wc-test-utils": "2.2.20"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "1edf5039fd9e6f390f81d9f7f3bbb8b1e3e6d2db"
|
|
36
36
|
}
|