@fluid-topics/ft-filterable-table 0.2.16 → 0.2.19
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.
|
@@ -39,12 +39,13 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
|
|
|
39
39
|
* @license
|
|
40
40
|
* Copyright 2021 Google LLC
|
|
41
41
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
|
-
*/var l;const a=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));const p=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}
|
|
42
|
+
*/var l;const a=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));const p=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
|
|
43
43
|
/**
|
|
44
44
|
* @license
|
|
45
45
|
* Copyright 2019 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
-
|
|
47
|
+
*/
|
|
48
|
+
const c=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,d=Symbol(),f=new Map;class h{constructor(t,e){if(this._$cssResult$=!0,e!==d)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=f.get(this.cssText);return c&&void 0===t&&(f.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const u=t=>new h("string"==typeof t?t:t+"",d),b=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new h(i,d)},x=(t,e)=>{c?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=window.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},v=c?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return u(e)})(t):t
|
|
48
49
|
/**
|
|
49
50
|
* @license
|
|
50
51
|
* Copyright 2017 Google LLC
|
|
@@ -55,23 +56,23 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
|
|
|
55
56
|
* Copyright 2017 Google LLC
|
|
56
57
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
57
58
|
*/
|
|
58
|
-
var C;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==$||$({ReactiveElement:k}),(null!==(y=globalThis.reactiveElementVersions)&&void 0!==y?y:globalThis.reactiveElementVersions=[]).push("1.3.2");const E=globalThis.trustedTypes,N=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,R=`lit$${(Math.random()+"").slice(9)}$`,z="?"+R,M=`<${z}>`,F=document,U=(t="")=>F.createComment(t),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,j=t=>{var e;return D(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},
|
|
59
|
+
var C;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==$||$({ReactiveElement:k}),(null!==(y=globalThis.reactiveElementVersions)&&void 0!==y?y:globalThis.reactiveElementVersions=[]).push("1.3.2");const E=globalThis.trustedTypes,N=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,R=`lit$${(Math.random()+"").slice(9)}$`,z="?"+R,M=`<${z}>`,F=document,U=(t="")=>F.createComment(t),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,j=t=>{var e;return D(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,L=/>/g,I=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,P=/'/g,_=/"/g,H=/^(?:script|style|textarea|title)$/i,W=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Z=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),V=new WeakMap,J=F.createTreeWalker(F,129,null,!1),q=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=A;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,c=0;for(;c<i.length&&(r.lastIndex=c,a=r.exec(i),null!==a);)c=r.lastIndex,r===A?"!--"===a[1]?r=T:void 0!==a[1]?r=L:void 0!==a[2]?(H.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=I):void 0!==a[3]&&(r=I):r===I?">"===a[0]?(r=null!=n?n:A,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?I:'"'===a[3]?_:P):r===_||r===P?r=I:r===T||r===L?r=A:(r=I,n=void 0);const d=r===I&&t[e+1].startsWith("/>")?" ":"";s+=r===A?i+M:p>=0?(o.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+R+d):i+R+(-2===p?(o.push(void 0),e):d)}const l=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==N?N.createHTML(l):l,o]};class X{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[a,p]=q(t,e);if(this.el=X.createElement(a,i),J.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=J.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(R)){const i=p[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(R),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?et:"?"===e[1]?ot:"@"===e[1]?nt:tt})}else l.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(H.test(o.tagName)){const t=o.textContent.split(R),e=t.length-1;if(e>0){o.textContent=E?E.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),J.nextNode(),l.push({type:2,index:++n});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===z)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(R,t+1));)l.push({type:7,index:n}),t+=R.length-1}n++}}static createElement(t,e){const i=F.createElement("template");return i.innerHTML=t,i}}function Y(t,e,i=t,o){var n,s,r,l;if(e===Z)return e;let a=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const p=B(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:i._$Cu=a),void 0!==a&&(e=Y(t,a._$AS(t,e.values),a,o)),e}class G{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:F).importNode(i,!0);J.currentNode=n;let s=J.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new Q(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new st(s,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=J.nextNode(),r++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Q{constructor(t,e,i,o){var n;this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Y(this,t,e),B(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==Z&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):j(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==K&&B(this._$AH)?this._$AA.nextSibling.data=t:this.k(F.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=X.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new G(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=V.get(t.strings);return void 0===e&&V.set(t.strings,e=new X(t)),e}S(t){D(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new Q(this.M(U()),this.M(U()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class tt{constructor(t,e,i,o,n){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=Y(this,t,e,0),s=!B(t)||t!==this._$AH&&t!==Z,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=Y(this,o[i+r],e,r),l===Z&&(l=this._$AH[r]),s||(s=!B(l)||l!==this._$AH[r]),l===K?t=K:t!==K&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.C(t)}C(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class et extends tt{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===K?void 0:t}}const it=E?E.emptyScript:"";class ot extends tt{constructor(){super(...arguments),this.type=4}C(t){t&&t!==K?this.element.setAttribute(this.name,it):this.element.removeAttribute(this.name)}}class nt extends tt{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Y(this,t,e,0))&&void 0!==i?i:K)===Z)return;const o=this._$AH,n=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==K&&(o===K||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class st{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}}const rt={L:"$lit$",P:R,V:z,I:1,N:q,R:G,j,D:Y,H:Q,F:tt,O:ot,W:nt,B:et,Z:st},lt=window.litHtmlPolyfillSupport;
|
|
59
60
|
/**
|
|
60
61
|
* @license
|
|
61
62
|
* Copyright 2017 Google LLC
|
|
62
63
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
63
64
|
*/
|
|
64
|
-
var at,pt;null==lt||lt(
|
|
65
|
+
var at,pt;null==lt||lt(X,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C:globalThis.litHtmlVersions=[]).push("2.2.4");class ct extends k{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,n;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=s._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;s._$litPart$=r=new Q(e.insertBefore(U(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return Z}}ct.finalized=!0,ct._$litElement$=!0,null===(at=globalThis.litElementHydrateSupport)||void 0===at||at.call(globalThis,{LitElement:ct});const dt=globalThis.litElementPolyfillSupport;null==dt||dt({LitElement:ct}),(null!==(pt=globalThis.litElementVersions)&&void 0!==pt?pt:globalThis.litElementVersions=[]).push("3.2.0");class ft{constructor(t,e,i,o,n){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=n,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new ft(t,e,void 0,i)}static extend(t,e,i){return new ft(t,e.category,e,i)}static external(t,e){return new ft(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return b`var(${u(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):u(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function ht(t,e){return u(`${t.name}: ${e}`)}const ut={colorPrimary:ft.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ft.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ft.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ft.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ft.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ft.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ft.create("--ft-color-error","COLOR","#B00020"),colorOutline:ft.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ft.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ft.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ft.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ft.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ft.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ft.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ft.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ft.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ft.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ft.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ft.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ft.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ft.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ft.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ft.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ft.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ft.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ft.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ft.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ft.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ft.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ft.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ft.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ft.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ft.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ft.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ft.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ft.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ft.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ft.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ft.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ft.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ft.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ft.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ft.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ft.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ft.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:ft.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:ft.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:ft.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:ft.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:ft.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:ft.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:ft.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:ft.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:ft.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:ft.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ft.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ft.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ft.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ft.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ft.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ft.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ft.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
|
|
65
66
|
/**
|
|
66
67
|
* @license
|
|
67
68
|
* Copyright 2021 Google LLC
|
|
68
69
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
69
|
-
*/
|
|
70
|
+
*/var bt=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class xt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return x(n,this.constructor.elementStyles),n}}}(ct)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),W`
|
|
70
71
|
${t.map((t=>W`
|
|
71
72
|
<style>${t}</style>
|
|
72
73
|
`))}
|
|
73
74
|
${this.getTemplate()}
|
|
74
|
-
`}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}const xt=b`
|
|
75
|
+
`}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,i,o,n,s,r;const l=t=>null!=t&&t.trim().length>0,a=t.filter(l).map((t=>t.trim()));if(0===a.length)return void this.removeAttribute("exportparts");const p=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(r=null===(s=t.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...e,...i).filter(l).map((t=>t.trim())).forEach((t=>p.add(t)))}if(0===p.size)return void this.removeAttribute("exportparts");const c=[...p.values()].flatMap((t=>a.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}contentAvailableCallback(t){}}bt([o()],xt.prototype,"exportpartsPrefix",void 0),bt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],xt.prototype,"exportpartsPrefixes",void 0);const vt=b`
|
|
75
76
|
.ft-no-text-select {
|
|
76
77
|
-webkit-touch-callout: none;
|
|
77
78
|
-webkit-user-select: none;
|
|
@@ -80,17 +81,17 @@ var at,pt;null==lt||lt(J,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
|
|
|
80
81
|
-ms-user-select: none;
|
|
81
82
|
user-select: none;
|
|
82
83
|
}
|
|
83
|
-
`;var
|
|
84
|
+
`;var yt,gt,mt;const $t=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(mt=null===(gt=null===(yt=window.safari)||void 0===yt?void 0:yt.pushNotification)||void 0===gt?void 0:gt.toString())&&void 0!==mt?mt:""),wt=1,Ot=2,St=t=>(...e)=>({_$litDirective$:t,values:e});
|
|
84
85
|
/**
|
|
85
86
|
* @license
|
|
86
87
|
* Copyright 2017 Google LLC
|
|
87
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
88
|
-
*/class
|
|
89
|
+
*/class kt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
|
|
89
90
|
/**
|
|
90
91
|
* @license
|
|
91
92
|
* Copyright 2020 Google LLC
|
|
92
93
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
93
|
-
*/const{H:
|
|
94
|
+
*/const{H:Ct}=rt,Et=()=>document.createComment(""),Nt=(t,e,i)=>{var o;const n=t._$AA.parentNode,s=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=n.insertBefore(Et(),s),o=n.insertBefore(Et(),s);i=new Ct(e,o,t,t.options)}else{const e=i._$AB.nextSibling,r=i._$AM,l=r!==t;if(l){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==r._$AU&&i._$AP(e)}if(e!==s||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;n.insertBefore(t,s),t=e}}}return i},Rt=(t,e,i=t)=>(t._$AI(e,i),t),zt={},Mt=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Ft=(t,e,i)=>{const o=new Map;for(let n=e;n<=i;n++)o.set(t[n],n);return o},Ut=St(class extends kt{constructor(t){if(super(t),t.type!==Ot)throw Error("repeat() can only be used in text expressions")}dt(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const n=[],s=[];let r=0;for(const e of t)n[r]=o?o(e,r):r,s[r]=i(e,r),r++;return{values:s,keys:n}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,o]){var n;const s=(t=>t._$AH)(t),{values:r,keys:l}=this.dt(e,i,o);if(!Array.isArray(s))return this.ut=l,r;const a=null!==(n=this.ut)&&void 0!==n?n:this.ut=[],p=[];let c,d,f=0,h=s.length-1,u=0,b=r.length-1;for(;f<=h&&u<=b;)if(null===s[f])f++;else if(null===s[h])h--;else if(a[f]===l[u])p[u]=Rt(s[f],r[u]),f++,u++;else if(a[h]===l[b])p[b]=Rt(s[h],r[b]),h--,b--;else if(a[f]===l[b])p[b]=Rt(s[f],r[b]),Nt(t,p[b+1],s[f]),f++,b--;else if(a[h]===l[u])p[u]=Rt(s[h],r[u]),Nt(t,s[f],s[h]),h--,u++;else if(void 0===c&&(c=Ft(l,u,b),d=Ft(a,f,h)),c.has(a[f]))if(c.has(a[h])){const e=d.get(l[u]),i=void 0!==e?s[e]:null;if(null===i){const e=Nt(t,s[f]);Rt(e,r[u]),p[u]=e}else p[u]=Rt(i,r[u]),Nt(t,s[f],i),s[e]=null;u++}else Mt(s[h]),h--;else Mt(s[f]),f++;for(;u<=b;){const e=Nt(t,p[b+1]);Rt(e,r[u]),p[u++]=e}for(;f<=h;){const t=s[f++];null!==t&&Mt(t)}return this.ut=l,((t,e=zt)=>{t._$AH=e})(t,p),Z}});
|
|
94
95
|
/**
|
|
95
96
|
* @license
|
|
96
97
|
* Copyright 2017 Google LLC
|
|
@@ -101,115 +102,115 @@ var at,pt;null==lt||lt(J,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
|
|
|
101
102
|
* Copyright 2017 Google LLC
|
|
102
103
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
103
104
|
*/
|
|
104
|
-
class
|
|
105
|
+
class Bt extends kt{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||null==t)return this.ft=void 0,this.it=t;if(t===Z)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.ft;this.it=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Bt.directiveName="unsafeHTML",Bt.resultType=1;const Dt=St(Bt),jt=St(class extends kt{constructor(t){var e;if(super(t),t.type!==wt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.et){this.et=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.et.add(t);return this.render(e)}const n=t.element.classList;this.et.forEach((t=>{t in e||(n.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.et.add(t)):(n.remove(t),this.et.delete(t)))}return Z}}),At=Symbol.for(""),Tt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===At)return null===(i=t)||void 0===i?void 0:i._$litStatic$},Lt=t=>({_$litStatic$:t,r:At}),It=new Map,Pt=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],l=[];let a,p=0,c=!1;for(;p<o;){for(a=e[p];p<o&&void 0!==(s=i[p],n=Tt(s));)a+=n+e[++p],c=!0;l.push(s),r.push(a),p++}if(p===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=It.get(t))&&(r.raw=r,It.set(t,e=r)),i=l}return t(e,...i)})(W);
|
|
105
106
|
/**
|
|
106
107
|
* @license
|
|
107
108
|
* Copyright 2018 Google LLC
|
|
108
109
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
109
|
-
*/var _t,
|
|
110
|
+
*/var _t,Ht=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!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"}(_t||(_t={}));const Wt=ft.extend("--ft-typography-font-family",ut.titleFont),Zt=ft.extend("--ft-typography-font-family",ut.contentFont),Kt={fontFamily:Zt,fontSize:ft.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ft.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ft.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ft.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ft.create("--ft-typography-text-transform","UNKNOWN","inherit")},Vt=ft.extend("--ft-typography-title-font-family",Wt),Jt=ft.extend("--ft-typography-title-font-size",Kt.fontSize,"20px"),qt=ft.extend("--ft-typography-title-font-weight",Kt.fontWeight,"normal"),Xt=ft.extend("--ft-typography-title-letter-spacing",Kt.letterSpacing,"0.15px"),Yt=ft.extend("--ft-typography-title-line-height",Kt.lineHeight,"1.2"),Gt=ft.extend("--ft-typography-title-text-transform",Kt.textTransform,"inherit"),Qt=ft.extend("--ft-typography-title-dense-font-family",Wt),te=ft.extend("--ft-typography-title-dense-font-size",Kt.fontSize,"14px"),ee=ft.extend("--ft-typography-title-dense-font-weight",Kt.fontWeight,"normal"),ie=ft.extend("--ft-typography-title-dense-letter-spacing",Kt.letterSpacing,"0.105px"),oe=ft.extend("--ft-typography-title-dense-line-height",Kt.lineHeight,"1.7"),ne=ft.extend("--ft-typography-title-dense-text-transform",Kt.textTransform,"inherit"),se=ft.extend("--ft-typography-subtitle1-font-family",Zt),re=ft.extend("--ft-typography-subtitle1-font-size",Kt.fontSize,"16px"),le=ft.extend("--ft-typography-subtitle1-font-weight",Kt.fontWeight,"600"),ae=ft.extend("--ft-typography-subtitle1-letter-spacing",Kt.letterSpacing,"0.144px"),pe=ft.extend("--ft-typography-subtitle1-line-height",Kt.lineHeight,"1.5"),ce=ft.extend("--ft-typography-subtitle1-text-transform",Kt.textTransform,"inherit"),de=ft.extend("--ft-typography-subtitle2-font-family",Zt),fe=ft.extend("--ft-typography-subtitle2-font-size",Kt.fontSize,"14px"),he=ft.extend("--ft-typography-subtitle2-font-weight",Kt.fontWeight,"normal"),ue=ft.extend("--ft-typography-subtitle2-letter-spacing",Kt.letterSpacing,"0.098px"),be=ft.extend("--ft-typography-subtitle2-line-height",Kt.lineHeight,"1.7"),xe=ft.extend("--ft-typography-subtitle2-text-transform",Kt.textTransform,"inherit"),ve={fontFamily:ft.extend("--ft-typography-body1-font-family",Zt),fontSize:ft.extend("--ft-typography-body1-font-size",Kt.fontSize,"16px"),fontWeight:ft.extend("--ft-typography-body1-font-weight",Kt.fontWeight,"normal"),letterSpacing:ft.extend("--ft-typography-body1-letter-spacing",Kt.letterSpacing,"0.496px"),lineHeight:ft.extend("--ft-typography-body1-line-height",Kt.lineHeight,"1.5"),textTransform:ft.extend("--ft-typography-body1-text-transform",Kt.textTransform,"inherit")},ye=ft.extend("--ft-typography-body2-font-family",Zt),ge=ft.extend("--ft-typography-body2-font-size",Kt.fontSize,"14px"),me=ft.extend("--ft-typography-body2-font-weight",Kt.fontWeight,"normal"),$e=ft.extend("--ft-typography-body2-letter-spacing",Kt.letterSpacing,"0.252px"),we=ft.extend("--ft-typography-body2-line-height",Kt.lineHeight,"1.4"),Oe=ft.extend("--ft-typography-body2-text-transform",Kt.textTransform,"inherit"),Se={fontFamily:ft.extend("--ft-typography-caption-font-family",Zt),fontSize:ft.extend("--ft-typography-caption-font-size",Kt.fontSize,"12px"),fontWeight:ft.extend("--ft-typography-caption-font-weight",Kt.fontWeight,"normal"),letterSpacing:ft.extend("--ft-typography-caption-letter-spacing",Kt.letterSpacing,"0.396px"),lineHeight:ft.extend("--ft-typography-caption-line-height",Kt.lineHeight,"1.33"),textTransform:ft.extend("--ft-typography-caption-text-transform",Kt.textTransform,"inherit")},ke=ft.extend("--ft-typography-breadcrumb-font-family",Zt),Ce=ft.extend("--ft-typography-breadcrumb-font-size",Kt.fontSize,"10px"),Ee=ft.extend("--ft-typography-breadcrumb-font-weight",Kt.fontWeight,"normal"),Ne=ft.extend("--ft-typography-breadcrumb-letter-spacing",Kt.letterSpacing,"0.33px"),Re=ft.extend("--ft-typography-breadcrumb-line-height",Kt.lineHeight,"1.6"),ze=ft.extend("--ft-typography-breadcrumb-text-transform",Kt.textTransform,"inherit"),Me=ft.extend("--ft-typography-overline-font-family",Zt),Fe=ft.extend("--ft-typography-overline-font-size",Kt.fontSize,"10px"),Ue=ft.extend("--ft-typography-overline-font-weight",Kt.fontWeight,"normal"),Be=ft.extend("--ft-typography-overline-letter-spacing",Kt.letterSpacing,"1.5px"),De=ft.extend("--ft-typography-overline-line-height",Kt.lineHeight,"1.6"),je=ft.extend("--ft-typography-overline-text-transform",Kt.textTransform,"uppercase"),Ae={fontFamily:ft.extend("--ft-typography-button-font-family",Zt),fontSize:ft.extend("--ft-typography-button-font-size",Kt.fontSize,"14px"),fontWeight:ft.extend("--ft-typography-button-font-weight",Kt.fontWeight,"600"),letterSpacing:ft.extend("--ft-typography-button-letter-spacing",Kt.letterSpacing,"1.246px"),lineHeight:ft.extend("--ft-typography-button-line-height",Kt.lineHeight,"1.15"),textTransform:ft.extend("--ft-typography-button-text-transform",Kt.textTransform,"uppercase")},Te=b`
|
|
110
111
|
.ft-typography--title {
|
|
111
|
-
font-family: ${
|
|
112
|
-
font-size: ${
|
|
112
|
+
font-family: ${Vt};
|
|
113
|
+
font-size: ${Jt};
|
|
113
114
|
font-weight: ${qt};
|
|
114
115
|
letter-spacing: ${Xt};
|
|
115
|
-
line-height: ${
|
|
116
|
-
text-transform: ${
|
|
116
|
+
line-height: ${Yt};
|
|
117
|
+
text-transform: ${Gt};
|
|
117
118
|
}
|
|
118
119
|
`,Le=b`
|
|
119
120
|
.ft-typography--title-dense {
|
|
120
|
-
font-family: ${
|
|
121
|
-
font-size: ${
|
|
122
|
-
font-weight: ${
|
|
123
|
-
letter-spacing: ${
|
|
124
|
-
line-height: ${
|
|
125
|
-
text-transform: ${
|
|
121
|
+
font-family: ${Qt};
|
|
122
|
+
font-size: ${te};
|
|
123
|
+
font-weight: ${ee};
|
|
124
|
+
letter-spacing: ${ie};
|
|
125
|
+
line-height: ${oe};
|
|
126
|
+
text-transform: ${ne};
|
|
126
127
|
}
|
|
127
|
-
`,
|
|
128
|
+
`,Ie=b`
|
|
128
129
|
.ft-typography--subtitle1 {
|
|
129
|
-
font-family: ${
|
|
130
|
-
font-size: ${
|
|
131
|
-
font-weight: ${
|
|
132
|
-
letter-spacing: ${
|
|
133
|
-
line-height: ${
|
|
134
|
-
text-transform: ${
|
|
130
|
+
font-family: ${se};
|
|
131
|
+
font-size: ${re};
|
|
132
|
+
font-weight: ${le};
|
|
133
|
+
letter-spacing: ${ae};
|
|
134
|
+
line-height: ${pe};
|
|
135
|
+
text-transform: ${ce};
|
|
135
136
|
}
|
|
136
|
-
`,
|
|
137
|
+
`,Pe=b`
|
|
137
138
|
.ft-typography--subtitle2 {
|
|
138
|
-
font-family: ${
|
|
139
|
-
font-size: ${
|
|
140
|
-
font-weight: ${
|
|
141
|
-
letter-spacing: ${
|
|
142
|
-
line-height: ${
|
|
143
|
-
text-transform: ${
|
|
139
|
+
font-family: ${de};
|
|
140
|
+
font-size: ${fe};
|
|
141
|
+
font-weight: ${he};
|
|
142
|
+
letter-spacing: ${ue};
|
|
143
|
+
line-height: ${be};
|
|
144
|
+
text-transform: ${xe};
|
|
144
145
|
}
|
|
145
146
|
|
|
146
147
|
`,_e=b`
|
|
147
148
|
.ft-typography--body1 {
|
|
148
|
-
font-family: ${
|
|
149
|
-
font-size: ${
|
|
150
|
-
font-weight: ${
|
|
151
|
-
letter-spacing: ${
|
|
152
|
-
line-height: ${
|
|
153
|
-
text-transform: ${
|
|
149
|
+
font-family: ${ve.fontFamily};
|
|
150
|
+
font-size: ${ve.fontSize};
|
|
151
|
+
font-weight: ${ve.fontWeight};
|
|
152
|
+
letter-spacing: ${ve.letterSpacing};
|
|
153
|
+
line-height: ${ve.lineHeight};
|
|
154
|
+
text-transform: ${ve.textTransform};
|
|
154
155
|
}
|
|
155
|
-
`,
|
|
156
|
+
`,He=b`
|
|
156
157
|
.ft-typography--body2 {
|
|
157
|
-
font-family: ${
|
|
158
|
-
font-size: ${
|
|
159
|
-
font-weight: ${
|
|
160
|
-
letter-spacing: ${
|
|
161
|
-
line-height: ${
|
|
162
|
-
text-transform: ${
|
|
158
|
+
font-family: ${ye};
|
|
159
|
+
font-size: ${ge};
|
|
160
|
+
font-weight: ${me};
|
|
161
|
+
letter-spacing: ${$e};
|
|
162
|
+
line-height: ${we};
|
|
163
|
+
text-transform: ${Oe};
|
|
163
164
|
}
|
|
164
|
-
`,
|
|
165
|
+
`,We=b`
|
|
165
166
|
.ft-typography--caption {
|
|
166
|
-
font-family: ${
|
|
167
|
-
font-size: ${
|
|
168
|
-
font-weight: ${
|
|
169
|
-
letter-spacing: ${
|
|
170
|
-
line-height: ${
|
|
171
|
-
text-transform: ${
|
|
167
|
+
font-family: ${Se.fontFamily};
|
|
168
|
+
font-size: ${Se.fontSize};
|
|
169
|
+
font-weight: ${Se.fontWeight};
|
|
170
|
+
letter-spacing: ${Se.letterSpacing};
|
|
171
|
+
line-height: ${Se.lineHeight};
|
|
172
|
+
text-transform: ${Se.textTransform};
|
|
172
173
|
}
|
|
173
|
-
`,
|
|
174
|
+
`,Ze=b`
|
|
174
175
|
.ft-typography--breadcrumb {
|
|
175
|
-
font-family: ${
|
|
176
|
-
font-size: ${
|
|
177
|
-
font-weight: ${
|
|
178
|
-
letter-spacing: ${
|
|
179
|
-
line-height: ${
|
|
180
|
-
text-transform: ${
|
|
176
|
+
font-family: ${ke};
|
|
177
|
+
font-size: ${Ce};
|
|
178
|
+
font-weight: ${Ee};
|
|
179
|
+
letter-spacing: ${Ne};
|
|
180
|
+
line-height: ${Re};
|
|
181
|
+
text-transform: ${ze};
|
|
181
182
|
}
|
|
182
|
-
`,
|
|
183
|
+
`,Ke=b`
|
|
183
184
|
.ft-typography--overline {
|
|
184
|
-
font-family: ${
|
|
185
|
-
font-size: ${
|
|
186
|
-
font-weight: ${
|
|
187
|
-
letter-spacing: ${
|
|
188
|
-
line-height: ${
|
|
189
|
-
text-transform: ${
|
|
185
|
+
font-family: ${Me};
|
|
186
|
+
font-size: ${Fe};
|
|
187
|
+
font-weight: ${Ue};
|
|
188
|
+
letter-spacing: ${Be};
|
|
189
|
+
line-height: ${De};
|
|
190
|
+
text-transform: ${je};
|
|
190
191
|
}
|
|
191
|
-
`,
|
|
192
|
+
`,Ve=b`
|
|
192
193
|
.ft-typography--button {
|
|
193
|
-
font-family: ${
|
|
194
|
-
font-size: ${
|
|
195
|
-
font-weight: ${
|
|
196
|
-
letter-spacing: ${
|
|
197
|
-
line-height: ${
|
|
198
|
-
text-transform: ${
|
|
194
|
+
font-family: ${Ae.fontFamily};
|
|
195
|
+
font-size: ${Ae.fontSize};
|
|
196
|
+
font-weight: ${Ae.fontWeight};
|
|
197
|
+
letter-spacing: ${Ae.letterSpacing};
|
|
198
|
+
line-height: ${Ae.lineHeight};
|
|
199
|
+
text-transform: ${Ae.textTransform};
|
|
199
200
|
}
|
|
200
|
-
`;class
|
|
201
|
+
`;class Je extends xt{constructor(){super(...arguments),this.variant=_t.body1}render(){return this.element?Pt`
|
|
201
202
|
<${Lt(this.element)}
|
|
202
203
|
class="ft-typography ft-typography--${this.variant}">
|
|
203
204
|
<slot></slot>
|
|
204
205
|
</${Lt(this.element)}>
|
|
205
|
-
`:
|
|
206
|
+
`:Pt`
|
|
206
207
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
207
|
-
`}}
|
|
208
|
+
`}}Je.styles=[Te,Le,Ie,Pe,_e,He,We,Ze,Ke,Ve,b`
|
|
208
209
|
.ft-typography {
|
|
209
210
|
vertical-align: inherit;
|
|
210
211
|
}
|
|
211
|
-
`],
|
|
212
|
-
<div class="${
|
|
212
|
+
`],Ht([o()],Je.prototype,"element",void 0),Ht([o()],Je.prototype,"variant",void 0),p("ft-typography")(Je);var qe=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const Xe={fontSize:ft.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:ft.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:ft.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:ft.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:ft.create("--ft-input-label-horizontal-spacing","SIZE","12px"),borderColor:ft.extend("--ft-input-label-border-color",ut.colorOutline),textColor:ft.extend("--ft-input-label-text-color",ut.colorOnSurfaceMedium),disabledTextColor:ft.extend("--ft-input-label-disabled-text-color",ut.colorOnSurfaceDisabled),colorSurface:ft.external(ut.colorSurface,"Design system"),borderRadiusS:ft.external(ut.borderRadiusS,"Design system"),colorError:ft.external(ut.colorError,"Design system")};class Ye extends xt{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"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};return W`
|
|
213
|
+
<div class="${jt(t)}">
|
|
213
214
|
${this.text?W`
|
|
214
215
|
<div class="ft-input-label--text ft-typography--caption">
|
|
215
216
|
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
@@ -217,11 +218,17 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
217
218
|
</div>
|
|
218
219
|
`:null}
|
|
219
220
|
</div>
|
|
220
|
-
`}}
|
|
221
|
+
`}}Ye.elementDefinitions={},Ye.styles=[We,b`
|
|
221
222
|
.ft-input-label {
|
|
222
223
|
position: absolute;
|
|
223
224
|
inset: 0;
|
|
224
225
|
display: flex;
|
|
226
|
+
background-color: ${Xe.colorSurface};
|
|
227
|
+
border-radius: ${Xe.borderRadiusS} ${Xe.borderRadiusS} 0 0;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.ft-input-label--outlined {
|
|
231
|
+
border-radius: ${Xe.borderRadiusS};
|
|
225
232
|
}
|
|
226
233
|
|
|
227
234
|
.ft-input-label {
|
|
@@ -260,8 +267,8 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
260
267
|
border-color: inherit;
|
|
261
268
|
color: ${Xe.textColor};
|
|
262
269
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
263
|
-
${ht(
|
|
264
|
-
${ht(
|
|
270
|
+
${ht(Se.fontSize,Xe.fontSize)};
|
|
271
|
+
${ht(Se.lineHeight,Xe.fontSize)};
|
|
265
272
|
}
|
|
266
273
|
|
|
267
274
|
.ft-input-label--in-error .ft-input-label--text {
|
|
@@ -290,8 +297,8 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
290
297
|
}
|
|
291
298
|
|
|
292
299
|
.ft-input-label--raised .ft-input-label--text {
|
|
293
|
-
${ht(
|
|
294
|
-
${ht(
|
|
300
|
+
${ht(Se.fontSize,Xe.raisedFontSize)};
|
|
301
|
+
${ht(Se.lineHeight,Xe.raisedFontSize)};
|
|
295
302
|
}
|
|
296
303
|
|
|
297
304
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
@@ -328,7 +335,7 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
328
335
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
329
336
|
border-top: none;
|
|
330
337
|
}
|
|
331
|
-
`],qe([o({type:String})],
|
|
338
|
+
`],qe([o({type:String})],Ye.prototype,"text",void 0),qe([o({type:Boolean})],Ye.prototype,"raised",void 0),qe([o({type:Boolean})],Ye.prototype,"outlined",void 0),qe([o({type:Boolean})],Ye.prototype,"disabled",void 0),qe([o({type:Boolean})],Ye.prototype,"error",void 0),p("ft-input-label")(Ye);var Ge=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const Qe=ft.extend("--ft-ripple-color",ut.colorContent),ti={color:Qe,backgroundColor:ft.extend("--ft-ripple-background-color",Qe),opacityContentOnSurfacePressed:ft.external(ut.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ft.external(ut.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ft.external(ut.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ft.external(ut.opacityContentOnSurfaceSelected,"Design system")},ei=ft.extend("--ft-ripple-color",ut.colorPrimary),ii=ei,oi=ft.extend("--ft-ripple-background-color",ei),ni=ft.extend("--ft-ripple-color",ut.colorSecondary),si=ni,ri=ft.extend("--ft-ripple-background-color",ni);class li extends xt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:n}=this.getCoordinates(t),s=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return W`
|
|
332
339
|
<style>
|
|
333
340
|
.ft-ripple .ft-ripple--effect,
|
|
334
341
|
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
@@ -341,11 +348,11 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
341
348
|
top: ${this.originY}px;
|
|
342
349
|
}
|
|
343
350
|
</style>
|
|
344
|
-
<div class="${
|
|
351
|
+
<div class="${jt(t)}">
|
|
345
352
|
<div class="ft-ripple--background"></div>
|
|
346
353
|
<div class="ft-ripple--effect"></div>
|
|
347
354
|
</div>
|
|
348
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,n;return null!=e.x?({x:o,y:n}=e):null!=i.touches&&(o=i.touches[0].clientX,n=i.touches[0].clientY),{x:o,y:n}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}var
|
|
355
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,n;return null!=e.x?({x:o,y:n}=e):null!=i.touches&&(o=i.touches[0].clientX,n=i.touches[0].clientY),{x:o,y:n}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}var ai,pi;li.elementDefinitions={},li.styles=b`
|
|
349
356
|
:host {
|
|
350
357
|
display: contents;
|
|
351
358
|
}
|
|
@@ -367,27 +374,27 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
367
374
|
}
|
|
368
375
|
|
|
369
376
|
.ft-ripple .ft-ripple--background {
|
|
370
|
-
background-color: ${
|
|
377
|
+
background-color: ${ti.backgroundColor};
|
|
371
378
|
}
|
|
372
379
|
|
|
373
380
|
.ft-ripple .ft-ripple--effect {
|
|
374
|
-
background-color: ${
|
|
381
|
+
background-color: ${ti.color};
|
|
375
382
|
}
|
|
376
383
|
|
|
377
384
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
378
|
-
background-color: ${
|
|
385
|
+
background-color: ${ri};
|
|
379
386
|
}
|
|
380
387
|
|
|
381
388
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
382
|
-
background-color: ${
|
|
389
|
+
background-color: ${si};
|
|
383
390
|
}
|
|
384
391
|
|
|
385
392
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
386
|
-
background-color: ${
|
|
393
|
+
background-color: ${oi};
|
|
387
394
|
}
|
|
388
395
|
|
|
389
396
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
390
|
-
background-color: ${
|
|
397
|
+
background-color: ${ii};
|
|
391
398
|
}
|
|
392
399
|
|
|
393
400
|
.ft-ripple .ft-ripple--background {
|
|
@@ -419,38 +426,38 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
419
426
|
}
|
|
420
427
|
|
|
421
428
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
422
|
-
opacity: ${
|
|
429
|
+
opacity: ${ti.opacityContentOnSurfaceHover};
|
|
423
430
|
}
|
|
424
431
|
|
|
425
432
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
426
|
-
opacity: ${
|
|
433
|
+
opacity: ${ti.opacityContentOnSurfaceSelected};
|
|
427
434
|
}
|
|
428
435
|
|
|
429
436
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
430
|
-
opacity: ${
|
|
437
|
+
opacity: ${ti.opacityContentOnSurfaceFocused};
|
|
431
438
|
}
|
|
432
439
|
|
|
433
440
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
434
|
-
opacity: ${
|
|
441
|
+
opacity: ${ti.opacityContentOnSurfacePressed};
|
|
435
442
|
transform: translate(-50%, -50%) scale(1);
|
|
436
443
|
}
|
|
437
|
-
`,
|
|
444
|
+
`,Ge([o({type:Boolean})],li.prototype,"primary",void 0),Ge([o({type:Boolean})],li.prototype,"secondary",void 0),Ge([o({type:Boolean})],li.prototype,"unbounded",void 0),Ge([o({type:Boolean})],li.prototype,"activated",void 0),Ge([o({type:Boolean})],li.prototype,"selected",void 0),Ge([o({type:Boolean})],li.prototype,"disabled",void 0),Ge([n()],li.prototype,"hovered",void 0),Ge([n()],li.prototype,"focused",void 0),Ge([n()],li.prototype,"pressed",void 0),Ge([n()],li.prototype,"rippling",void 0),Ge([n()],li.prototype,"rippleSize",void 0),Ge([n()],li.prototype,"originX",void 0),Ge([n()],li.prototype,"originY",void 0),Ge([r(".ft-ripple")],li.prototype,"ripple",void 0),Ge([r(".ft-ripple--effect")],li.prototype,"rippleEffect",void 0),p("ft-ripple")(li),function(t){t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.STAR_PLAIN="",t.STAR="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_DOWN="",t.THUMBS_UP_PLAIN="",t.THUMBS_UP="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="\f06e",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_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL=""}(ai||(ai={})),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=""}(pi||(pi={})),new Map([...["abw"].map((t=>[t,pi.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,pi.AUDIO])),...["avi"].map((t=>[t,pi.AVI])),...["chm","xhs"].map((t=>[t,pi.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,pi.CODE])),...["csv"].map((t=>[t,pi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,pi.DITA])),...["epub"].map((t=>[t,pi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,pi.EXCEL])),...["flac"].map((t=>[t,pi.FLAC])),...["gif"].map((t=>[t,pi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,pi.GZIP])),...["html","htm","xhtml"].map((t=>[t,pi.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,pi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,pi.JPEG])),...["json"].map((t=>[t,pi.JSON])),...["m4a","m4p"].map((t=>[t,pi.M4A])),...["mov","qt"].map((t=>[t,pi.MOV])),...["mp3"].map((t=>[t,pi.MP3])),...["mp4","m4v"].map((t=>[t,pi.MP4])),...["ogg","oga"].map((t=>[t,pi.OGG])),...["pdf","ps"].map((t=>[t,pi.PDF])),...["png"].map((t=>[t,pi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,pi.POWERPOINT])),...["rar"].map((t=>[t,pi.RAR])),...["stp"].map((t=>[t,pi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,pi.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,pi.VIDEO])),...["wav"].map((t=>[t,pi.WAV])),...["wma"].map((t=>[t,pi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,pi.WORD])),...["xml","xsl","rdf"].map((t=>[t,pi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,pi.YAML])),...["zip"].map((t=>[t,pi.ZIP]))]);var ci,di=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ci||(ci={}));const fi={size:ft.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ft.extend("--ft-icon-fluid-topics-font-family",ft.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ft.extend("--ft-icon-file-format-font-family",ft.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ft.extend("--ft-icon-material-font-family",ft.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class hi extends xt{constructor(){super(...arguments),this.variant=ci.fluid_topics}render(){return W`
|
|
438
445
|
<i class="ft-icon ${"ft-icon--"+this.variant}">
|
|
439
|
-
${
|
|
446
|
+
${Dt(this.getIcon())}
|
|
440
447
|
<slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
|
|
441
448
|
</i>
|
|
442
|
-
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===
|
|
449
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===ci.file_format?null!==(t=pi[i.toUpperCase()])&&void 0!==t?t:i:this.variant===ci.fluid_topics?null!==(e=ai[i.toUpperCase()])&&void 0!==e?e:i:K}}hi.elementDefinitions={},hi.styles=b`
|
|
443
450
|
:host {
|
|
444
451
|
display: inline-block;
|
|
445
452
|
}
|
|
446
453
|
:host, i.ft-icon {
|
|
447
|
-
width: ${
|
|
448
|
-
height: ${
|
|
454
|
+
width: ${fi.size};
|
|
455
|
+
height: ${fi.size};
|
|
449
456
|
text-align: center;
|
|
450
457
|
}
|
|
451
458
|
|
|
452
459
|
i.ft-icon {
|
|
453
|
-
font-size: ${
|
|
460
|
+
font-size: ${fi.size};
|
|
454
461
|
line-height: 1;
|
|
455
462
|
font-weight: normal;
|
|
456
463
|
text-transform: none;
|
|
@@ -464,18 +471,18 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
464
471
|
}
|
|
465
472
|
|
|
466
473
|
.ft-icon--fluid-topics {
|
|
467
|
-
font-family: ${
|
|
474
|
+
font-family: ${fi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
468
475
|
}
|
|
469
476
|
|
|
470
477
|
.ft-icon--file-format {
|
|
471
|
-
font-family: ${
|
|
478
|
+
font-family: ${fi.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
472
479
|
}
|
|
473
480
|
|
|
474
481
|
.ft-icon--material {
|
|
475
|
-
font-family: ${
|
|
482
|
+
font-family: ${fi.materialFontFamily}, "Material Icons", sans-serif;
|
|
476
483
|
}
|
|
477
|
-
`,
|
|
478
|
-
<div class="${
|
|
484
|
+
`,di([o()],hi.prototype,"variant",void 0),di([r("slot")],hi.prototype,"slottedContent",void 0),p("ft-icon")(hi);var ui=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class bi extends xt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return W``}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}bi.elementDefinitions={},ui([o({type:String})],bi.prototype,"label",void 0),ui([o({type:Object,converter:t=>t})],bi.prototype,"value",void 0),ui([o({type:Boolean,reflect:!0})],bi.prototype,"selected",void 0);const xi={labelSize:ft.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:ft.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:ft.create("--ft-select-vertical-spacing","SIZE","4px"),optionsHeight:ft.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:ft.extend("--ft-select-selected-option-color",ut.colorOnSurface),helperColor:ft.extend("--ft-select-helper-color",ut.colorOnSurfaceMedium),optionsColor:ft.extend("--ft-select-options-color",ut.colorOnSurface),optionsZIndex:ft.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:ft.external(ut.colorSurface,"Design system"),colorOnSurfaceDisabled:ft.external(ut.colorOnSurfaceDisabled,"Design system"),colorPrimary:ft.external(ut.colorPrimary,"Design system"),borderRadiusS:ft.external(ut.borderRadiusS,"Design system"),elevation02:ft.external(ut.elevation02,"Design system"),colorError:ft.external(ut.colorError,"Design system")};class vi extends xt{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,i,o,n;let s=this.hasOptionsMenuOpen,r=this.disabled||!this.hasOptions;const l=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==i?i:"").length>0,a={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":r,"ft-select--options-displayed":s,"ft-select--has-option-selected":l,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return W`
|
|
485
|
+
<div class="${jt(a)}" part="container">
|
|
479
486
|
<div class="ft-select--main-panel" part="main-panel">
|
|
480
487
|
<ft-input-label text="${this.label}"
|
|
481
488
|
part="label"
|
|
@@ -502,7 +509,7 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
502
509
|
part="options"
|
|
503
510
|
@keydown=${this.onOptionsKeyDown}
|
|
504
511
|
innerrole="listbox">
|
|
505
|
-
${
|
|
512
|
+
${Ut(this.options,(t=>t.value),(t=>this.renderOption(t)))}
|
|
506
513
|
</div>
|
|
507
514
|
</div>
|
|
508
515
|
${this.helper?W`
|
|
@@ -513,7 +520,7 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
513
520
|
@option-change=${this.updateOptionsFromSlot}
|
|
514
521
|
></slot>
|
|
515
522
|
`}renderOption(t){let e=this.selectedOption===t;return W`
|
|
516
|
-
<div class="${
|
|
523
|
+
<div class="${jt({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
|
|
517
524
|
part="option"
|
|
518
525
|
tabindex="0"
|
|
519
526
|
data-value="${t.value}"
|
|
@@ -522,7 +529,7 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
522
529
|
<ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
|
|
523
530
|
${t.label}
|
|
524
531
|
</div>
|
|
525
|
-
`}updated(t){var e;super.updated(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1,this.dispatchEvent(new CustomEvent("change",{detail:null===(e=this.selectedOption)||void 0===e?void 0:e.value}))),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,i;t.has("focusOptions")&&this.focusOptions&&(null===(i=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===i||i.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let i=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,i,o,n,s;let r;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),r=null!==(o=null===(i=this.focusedOption)||void 0===i?void 0:i.previousElementSibling)&&void 0!==o?o:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),r=null!==(s=null===(n=this.focusedOption)||void 0===n?void 0:n.nextElementSibling)&&void 0!==s?s:this.firstOption}null==r||r.focus()}onOptionKeyDown(t,e){var i;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(i=this.mainPanel)||void 0===i||i.focus())}selectOption(t){this.selectedOption=t;for(let e of this.options)e.selected=e===t}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}
|
|
532
|
+
`}updated(t){var e;super.updated(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1,this.dispatchEvent(new CustomEvent("change",{detail:null===(e=this.selectedOption)||void 0===e?void 0:e.value}))),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,i;t.has("focusOptions")&&this.focusOptions&&(null===(i=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===i||i.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let i=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,i,o,n,s;let r;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),r=null!==(o=null===(i=this.focusedOption)||void 0===i?void 0:i.previousElementSibling)&&void 0!==o?o:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),r=null!==(s=null===(n=this.focusedOption)||void 0===n?void 0:n.nextElementSibling)&&void 0!==s?s:this.firstOption}null==r||r.focus()}onOptionKeyDown(t,e){var i;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(i=this.mainPanel)||void 0===i||i.focus())}selectOption(t){this.selectedOption=t;for(let e of this.options)e.selected=e===t}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}vi.elementDefinitions={"ft-input-label":Ye,"ft-typography":Je,"ft-ripple":li,"ft-icon":hi},vi.styles=[He,We,b`
|
|
526
533
|
*:focus {
|
|
527
534
|
outline: none;
|
|
528
535
|
}
|
|
@@ -536,7 +543,7 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
536
543
|
.ft-select--main-panel {
|
|
537
544
|
position: relative;
|
|
538
545
|
display: flex;
|
|
539
|
-
height: calc(4 * ${
|
|
546
|
+
height: calc(4 * ${xi.verticalSpacing} + ${xi.labelSize} + ${xi.selectedOptionSize});
|
|
540
547
|
}
|
|
541
548
|
|
|
542
549
|
.ft-select--input-panel {
|
|
@@ -548,14 +555,14 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
548
555
|
padding-left: 16px;
|
|
549
556
|
padding-right: 8px;
|
|
550
557
|
gap: 8px;
|
|
551
|
-
color: ${
|
|
552
|
-
${ht(
|
|
558
|
+
color: ${xi.selectedOptionColor};
|
|
559
|
+
${ht(ti.color,xi.selectedOptionColor)};
|
|
553
560
|
}
|
|
554
561
|
|
|
555
562
|
.ft-select--input-panel,
|
|
556
563
|
.ft-select--option {
|
|
557
|
-
${ht(
|
|
558
|
-
${ht(
|
|
564
|
+
${ht(ti.opacityContentOnSurfaceHover,"0.08")};
|
|
565
|
+
${ht(ti.opacityContentOnSurfacePressed,"0.04")};
|
|
559
566
|
}
|
|
560
567
|
|
|
561
568
|
.ft-select--input-panel > *:not(ft-ripple),
|
|
@@ -565,7 +572,7 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
565
572
|
|
|
566
573
|
.ft-select--disabled .ft-select--input-panel,
|
|
567
574
|
.ft-select--disabled .ft-select--option {
|
|
568
|
-
color: ${
|
|
575
|
+
color: ${xi.colorOnSurfaceDisabled};
|
|
569
576
|
}
|
|
570
577
|
|
|
571
578
|
.ft-select:not(.ft-select--disabled) .ft-select--input-panel,
|
|
@@ -574,18 +581,18 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
574
581
|
}
|
|
575
582
|
|
|
576
583
|
ft-input-label {
|
|
577
|
-
${ht(Xe.fontSize,
|
|
578
|
-
${ht(Xe.raisedFontSize,
|
|
579
|
-
${ht(Xe.verticalSpacing,
|
|
584
|
+
${ht(Xe.fontSize,xi.selectedOptionSize)};
|
|
585
|
+
${ht(Xe.raisedFontSize,xi.labelSize)};
|
|
586
|
+
${ht(Xe.verticalSpacing,xi.verticalSpacing)};
|
|
580
587
|
}
|
|
581
588
|
|
|
582
589
|
.ft-select:not(.ft-select--disabled):focus-within ft-icon {
|
|
583
|
-
color: ${
|
|
590
|
+
color: ${xi.colorPrimary};
|
|
584
591
|
}
|
|
585
592
|
|
|
586
593
|
.ft-select:not(.ft-select--disabled):focus-within ft-input-label {
|
|
587
|
-
${ht(Xe.borderColor,
|
|
588
|
-
${ht(Xe.textColor,
|
|
594
|
+
${ht(Xe.borderColor,xi.colorPrimary)};
|
|
595
|
+
${ht(Xe.textColor,xi.colorPrimary)};
|
|
589
596
|
}
|
|
590
597
|
|
|
591
598
|
.ft-select--selected-option {
|
|
@@ -595,12 +602,12 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
595
602
|
overflow: hidden;
|
|
596
603
|
white-space: nowrap;
|
|
597
604
|
text-overflow: ellipsis;
|
|
598
|
-
${ht(
|
|
599
|
-
${ht(
|
|
605
|
+
${ht(ve.fontSize,xi.selectedOptionSize)};
|
|
606
|
+
${ht(ve.lineHeight,xi.selectedOptionSize)};
|
|
600
607
|
}
|
|
601
608
|
|
|
602
609
|
.ft-select--in-error .ft-select--selected-option {
|
|
603
|
-
color: ${
|
|
610
|
+
color: ${xi.colorError};
|
|
604
611
|
}
|
|
605
612
|
|
|
606
613
|
ft-icon {
|
|
@@ -612,16 +619,16 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
612
619
|
}
|
|
613
620
|
|
|
614
621
|
.ft-select--filled .ft-select--input-panel {
|
|
615
|
-
border-radius: ${
|
|
622
|
+
border-radius: ${xi.borderRadiusS} ${xi.borderRadiusS} 0 0;
|
|
616
623
|
}
|
|
617
624
|
|
|
618
625
|
.ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
|
|
619
626
|
align-self: stretch;
|
|
620
|
-
padding-top: calc(${
|
|
627
|
+
padding-top: calc(${xi.labelSize} + 2 * ${xi.verticalSpacing});
|
|
621
628
|
}
|
|
622
629
|
|
|
623
630
|
.ft-select--outlined .ft-select--input-panel {
|
|
624
|
-
border-radius: ${
|
|
631
|
+
border-radius: ${xi.borderRadiusS};
|
|
625
632
|
}
|
|
626
633
|
|
|
627
634
|
.ft-select--options {
|
|
@@ -630,10 +637,10 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
630
637
|
top: 100%;
|
|
631
638
|
left: 0;
|
|
632
639
|
right: 0;
|
|
633
|
-
color: ${
|
|
634
|
-
background: ${
|
|
635
|
-
z-index: ${
|
|
636
|
-
box-shadow: ${
|
|
640
|
+
color: ${xi.optionsColor};
|
|
641
|
+
background: ${xi.colorSurface};
|
|
642
|
+
z-index: ${xi.optionsZIndex};
|
|
643
|
+
box-shadow: ${xi.elevation02};
|
|
637
644
|
}
|
|
638
645
|
|
|
639
646
|
.ft-select--fixed .ft-select--options {
|
|
@@ -644,7 +651,7 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
644
651
|
|
|
645
652
|
.ft-select--options-displayed .ft-select--options {
|
|
646
653
|
display: block;
|
|
647
|
-
max-height: ${
|
|
654
|
+
max-height: ${xi.optionsHeight};
|
|
648
655
|
overflow-y: auto;
|
|
649
656
|
}
|
|
650
657
|
|
|
@@ -658,14 +665,14 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
658
665
|
|
|
659
666
|
.ft-select--helper-text {
|
|
660
667
|
padding: 0 12px 0 16px;
|
|
661
|
-
color: ${
|
|
668
|
+
color: ${xi.helperColor};
|
|
662
669
|
}
|
|
663
670
|
|
|
664
671
|
.ft-select--in-error .ft-select--helper-text {
|
|
665
|
-
color: ${
|
|
672
|
+
color: ${xi.colorError};
|
|
666
673
|
}
|
|
667
|
-
`],
|
|
668
|
-
<div class="${
|
|
674
|
+
`],ui([o({type:String})],vi.prototype,"label",void 0),ui([o({type:String})],vi.prototype,"helper",void 0),ui([o({type:Boolean})],vi.prototype,"outlined",void 0),ui([o({type:Boolean})],vi.prototype,"disabled",void 0),ui([o({type:Boolean})],vi.prototype,"error",void 0),ui([o({type:Boolean})],vi.prototype,"fixedMenuPosition",void 0),ui([o({type:Array})],vi.prototype,"options",void 0),ui([n()],vi.prototype,"selectedOption",void 0),ui([n()],vi.prototype,"optionsDisplayed",void 0),ui([n()],vi.prototype,"focusOptions",void 0),ui([r(".ft-select")],vi.prototype,"container",void 0),ui([r(".ft-select--options")],vi.prototype,"optionsMenu",void 0),ui([r(".ft-select--input-panel")],vi.prototype,"mainPanel",void 0),ui([r(".ft-select--option:first-child")],vi.prototype,"firstOption",void 0),ui([r(".ft-select--option:focus")],vi.prototype,"focusedOption",void 0),ui([r(".ft-select--option.ft-select--option-selected")],vi.prototype,"selectedOptionElement",void 0),ui([r(".ft-select--option:last-child")],vi.prototype,"lastOption",void 0),ui([r("slot")],vi.prototype,"optionsSlot",void 0),p("ft-select")(vi),p("ft-select-option")(bi);var yi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const gi={fontSize:ft.create("--ft-text-field-font-size","SIZE","14px"),labelSize:ft.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:ft.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:ft.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:ft.extend("--ft-text-field-helper-color",ut.colorOnSurfaceMedium),colorPrimary:ft.external(ut.colorPrimary,"Design system"),colorOnSurface:ft.external(ut.colorOnSurface,"Design system"),colorOnSurfaceDisabled:ft.external(ut.colorOnSurfaceDisabled,"Design system"),borderRadiusS:ft.external(ut.borderRadiusS,"Design system"),colorError:ft.external(ut.colorError,"Design system"),prefixColor:ft.extend("--ft-text-field-prefix-color",ut.colorOnSurfaceMedium),iconColor:ft.extend("--ft-text-field-icon-color",ut.colorOnSurfaceMedium)};class mi extends xt{constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix="",this.icon="",this.iconVariant="",this.focused=!1}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"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--no-label":!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--raised-label":this.focused||""!=this.value};return W`
|
|
675
|
+
<div class="${jt(t)}">
|
|
669
676
|
<div class="ft-text-field--main-panel">
|
|
670
677
|
<ft-input-label text="${this.label}"
|
|
671
678
|
?disabled=${this.disabled}
|
|
@@ -699,7 +706,7 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
699
706
|
<ft-typography class="ft-text-field--helper-text" variant="caption">${this.helper}
|
|
700
707
|
</ft-typography>`:void 0}
|
|
701
708
|
</div>
|
|
702
|
-
`}updated(t){super.updated(t),t.has("value")&&this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}updateValueFromInputField(){var t;this.value=(null===(t=this.input)||void 0===t?void 0:t.value)||"",this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.input)||void 0===t?void 0:t.value)||""}}
|
|
709
|
+
`}updated(t){super.updated(t),t.has("value")&&this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}updateValueFromInputField(){var t;this.value=(null===(t=this.input)||void 0===t?void 0:t.value)||"",this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.input)||void 0===t?void 0:t.value)||""}}mi.elementDefinitions={"ft-input-label":Ye,"ft-ripple":li,"ft-typography":Je,"ft-icon":hi},mi.styles=[_e,b`
|
|
703
710
|
*:focus {
|
|
704
711
|
outline: none;
|
|
705
712
|
}
|
|
@@ -711,16 +718,16 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
711
718
|
}
|
|
712
719
|
|
|
713
720
|
ft-input-label {
|
|
714
|
-
${ht(Xe.fontSize,
|
|
715
|
-
${ht(Xe.raisedFontSize,
|
|
716
|
-
${ht(Xe.verticalSpacing,
|
|
717
|
-
${ht(Xe.horizontalSpacing,b`calc(${
|
|
721
|
+
${ht(Xe.fontSize,gi.fontSize)};
|
|
722
|
+
${ht(Xe.raisedFontSize,gi.labelSize)};
|
|
723
|
+
${ht(Xe.verticalSpacing,gi.verticalSpacing)};
|
|
724
|
+
${ht(Xe.horizontalSpacing,b`calc(${gi.horizontalSpacing} - 4px)`)};
|
|
718
725
|
}
|
|
719
726
|
|
|
720
727
|
.ft-text-field--main-panel {
|
|
721
728
|
position: relative;
|
|
722
729
|
display: flex;
|
|
723
|
-
height: calc(4 * ${
|
|
730
|
+
height: calc(4 * ${gi.verticalSpacing} + ${gi.labelSize} + ${gi.fontSize});
|
|
724
731
|
}
|
|
725
732
|
|
|
726
733
|
.ft-text-field--input-panel {
|
|
@@ -732,8 +739,8 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
732
739
|
}
|
|
733
740
|
|
|
734
741
|
.ft-text-field--input-panel ft-ripple {
|
|
735
|
-
${ht(
|
|
736
|
-
${ht(
|
|
742
|
+
${ht(ti.opacityContentOnSurfaceHover,"0.08")};
|
|
743
|
+
${ht(ti.opacityContentOnSurfacePressed,"0.04")};
|
|
737
744
|
}
|
|
738
745
|
|
|
739
746
|
.ft-text-field--input-wrapper {
|
|
@@ -743,20 +750,20 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
743
750
|
display: flex;
|
|
744
751
|
align-items: center;
|
|
745
752
|
|
|
746
|
-
${ht(
|
|
747
|
-
${ht(
|
|
753
|
+
${ht(ve.fontSize,gi.fontSize)};
|
|
754
|
+
${ht(ve.lineHeight,gi.fontSize)};
|
|
748
755
|
|
|
749
|
-
padding: 0 ${
|
|
756
|
+
padding: 0 ${gi.horizontalSpacing};
|
|
750
757
|
}
|
|
751
758
|
|
|
752
759
|
.ft-text-field--filled:not(.ft-text-field--no-label) .ft-text-field--input-wrapper {
|
|
753
760
|
align-items: flex-end;
|
|
754
|
-
padding: 0 ${
|
|
761
|
+
padding: 0 ${gi.horizontalSpacing} ${gi.verticalSpacing} ${gi.horizontalSpacing};
|
|
755
762
|
}
|
|
756
763
|
|
|
757
764
|
.ft-text-field--prefix {
|
|
758
765
|
display: none;
|
|
759
|
-
color: ${
|
|
766
|
+
color: ${gi.prefixColor}
|
|
760
767
|
}
|
|
761
768
|
|
|
762
769
|
.ft-text-field--with-prefix.ft-text-field--raised-label .ft-text-field--prefix {
|
|
@@ -770,15 +777,15 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
770
777
|
flex-shrink: 1;
|
|
771
778
|
min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
|
|
772
779
|
|
|
773
|
-
color: ${
|
|
774
|
-
padding: calc(2 * ${
|
|
780
|
+
color: ${gi.colorOnSurface};
|
|
781
|
+
padding: calc(2 * ${gi.verticalSpacing}) 0;
|
|
775
782
|
border: none;
|
|
776
783
|
background: none;
|
|
777
784
|
}
|
|
778
785
|
|
|
779
786
|
.ft-text-field--filled:not(.ft-text-field--no-label) .ft-text-field--input {
|
|
780
787
|
padding-bottom: 0;
|
|
781
|
-
padding-top: calc(${
|
|
788
|
+
padding-top: calc(${gi.labelSize} + 2 * ${gi.verticalSpacing});
|
|
782
789
|
}
|
|
783
790
|
|
|
784
791
|
.ft-text-field--input::-webkit-calendar-picker-indicator,
|
|
@@ -787,7 +794,7 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
787
794
|
}
|
|
788
795
|
|
|
789
796
|
.ft-text-field--disabled .ft-text-field--input {
|
|
790
|
-
color: ${
|
|
797
|
+
color: ${gi.colorOnSurfaceDisabled};
|
|
791
798
|
}
|
|
792
799
|
|
|
793
800
|
.ft-text-field:not(.ft-text-field--disabled) .ft-text-field--input-panel {
|
|
@@ -795,34 +802,34 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
795
802
|
}
|
|
796
803
|
|
|
797
804
|
.ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
|
|
798
|
-
${ht(Xe.borderColor,
|
|
799
|
-
${ht(Xe.textColor,
|
|
805
|
+
${ht(Xe.borderColor,gi.colorPrimary)};
|
|
806
|
+
${ht(Xe.textColor,gi.colorPrimary)};
|
|
800
807
|
}
|
|
801
808
|
|
|
802
809
|
.ft-text-field--filled .ft-text-field--input-panel {
|
|
803
|
-
border-radius: ${
|
|
810
|
+
border-radius: ${gi.borderRadiusS} ${gi.borderRadiusS} 0 0;
|
|
804
811
|
}
|
|
805
812
|
|
|
806
813
|
.ft-text-field--outlined .ft-text-field--input-panel {
|
|
807
|
-
border-radius: ${
|
|
814
|
+
border-radius: ${gi.borderRadiusS};
|
|
808
815
|
}
|
|
809
816
|
|
|
810
817
|
.ft-text-field--helper-text {
|
|
811
|
-
padding: 0 12px 0 ${
|
|
812
|
-
color: ${
|
|
818
|
+
padding: 0 12px 0 ${gi.horizontalSpacing};
|
|
819
|
+
color: ${gi.helperColor};
|
|
813
820
|
}
|
|
814
821
|
|
|
815
822
|
.ft-text-field--in-error .ft-text-field--input,
|
|
816
823
|
.ft-text-field--in-error .ft-text-field--helper-text,
|
|
817
824
|
.ft-text-field--in-error .ft-text-field--prefix {
|
|
818
|
-
color: ${
|
|
825
|
+
color: ${gi.colorError};
|
|
819
826
|
}
|
|
820
827
|
|
|
821
828
|
.ft-text-field--icon {
|
|
822
|
-
padding-right: ${
|
|
823
|
-
color: ${
|
|
829
|
+
padding-right: ${gi.horizontalSpacing};
|
|
830
|
+
color: ${gi.iconColor};
|
|
824
831
|
}
|
|
825
|
-
`],
|
|
832
|
+
`],yi([o({type:String})],mi.prototype,"label",void 0),yi([o({reflect:!0})],mi.prototype,"value",void 0),yi([o({type:String})],mi.prototype,"helper",void 0),yi([o({type:Boolean})],mi.prototype,"outlined",void 0),yi([o({type:Boolean})],mi.prototype,"disabled",void 0),yi([o({type:Boolean})],mi.prototype,"error",void 0),yi([r(".ft-text-field--input")],mi.prototype,"input",void 0),yi([o({type:String})],mi.prototype,"prefix",void 0),yi([o({type:String})],mi.prototype,"icon",void 0),yi([o({type:String})],mi.prototype,"iconVariant",void 0),yi([n()],mi.prototype,"focused",void 0),p("ft-text-field")(mi);var $i=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const wi=ft.create("--ft-tooltip-distance","SIZE","4px"),Oi=ft.create("--ft-tooltip-color","COLOR","#FFFFFF"),Si=ft.create("--ft-tooltip-background-color","COLOR","#666666"),ki=ft.create("--ft-tooltip-z-index","NUMBER","1"),Ci=ft.external(ut.borderRadiusS,"Design system");class Ei extends xt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new e,this.revealDebouncer=new e}render(){return W`
|
|
826
833
|
<div part="container"
|
|
827
834
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
828
835
|
@mouseenter=${this.onHover}
|
|
@@ -837,7 +844,7 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
837
844
|
</div>
|
|
838
845
|
<slot></slot>
|
|
839
846
|
</div>
|
|
840
|
-
`}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2,n=this.tooltip.style;switch(this.position){case"top":n.top=-this.tooltip.clientHeight+"px",n.left=o+"px";break;case"bottom":n.top=e.height+"px",n.left=o+"px";break;case"left":n.top=i+"px",n.left=-this.tooltip.clientWidth+"px";break;case"right":n.top=i+"px",n.left=e.width+"px"}n.maxWidth=Math.max(e.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}
|
|
847
|
+
`}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2,n=this.tooltip.style;switch(this.position){case"top":n.top=-this.tooltip.clientHeight+"px",n.left=o+"px";break;case"bottom":n.top=e.height+"px",n.left=o+"px";break;case"left":n.top=i+"px",n.left=-this.tooltip.clientWidth+"px";break;case"right":n.top=i+"px",n.left=e.width+"px"}n.maxWidth=Math.max(e.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}Ei.elementDefinitions={"ft-typography":Je},Ei.styles=b`
|
|
841
848
|
.ft-tooltip--container {
|
|
842
849
|
display: block;
|
|
843
850
|
position: relative;
|
|
@@ -855,27 +862,27 @@ class Ut extends St{constructor(t){if(super(t),this.it=K,t.type!==wt)throw Error
|
|
|
855
862
|
width: max-content;
|
|
856
863
|
max-width: 150px;
|
|
857
864
|
text-align: center;
|
|
858
|
-
padding: ${
|
|
859
|
-
z-index: ${
|
|
865
|
+
padding: ${wi};
|
|
866
|
+
z-index: ${ki};
|
|
860
867
|
}
|
|
861
868
|
|
|
862
869
|
.ft-tooltip--content {
|
|
863
870
|
padding: 4px 8px;
|
|
864
|
-
border-radius: ${
|
|
865
|
-
background-color: ${
|
|
866
|
-
color: ${
|
|
871
|
+
border-radius: ${Ci};
|
|
872
|
+
background-color: ${Si};
|
|
873
|
+
color: ${Oi};
|
|
867
874
|
top: -500px;
|
|
868
875
|
left: -500px;
|
|
869
876
|
position: relative;
|
|
870
877
|
word-break: break-word;
|
|
871
878
|
}
|
|
872
|
-
|
|
879
|
+
`,$i([o()],Ei.prototype,"text",void 0),$i([o({type:Boolean})],Ei.prototype,"manual",void 0),$i([o({type:Boolean})],Ei.prototype,"inline",void 0),$i([o({type:Number})],Ei.prototype,"delay",void 0),$i([o()],Ei.prototype,"position",void 0),$i([
|
|
873
880
|
/**
|
|
874
881
|
* @license
|
|
875
882
|
* Copyright 2017 Google LLC
|
|
876
883
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
877
884
|
*/
|
|
878
|
-
function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?a(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],
|
|
885
|
+
function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?a(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],Ei.prototype,"slotNodes",void 0),$i([r(".ft-tooltip--container")],Ei.prototype,"container",void 0),$i([r("slot")],Ei.prototype,"target",void 0),$i([r(".ft-tooltip")],Ei.prototype,"tooltip",void 0),$i([r(".ft-tooltip--content")],Ei.prototype,"tooltipContent",void 0),$i([n()],Ei.prototype,"visible",void 0),p("ft-tooltip")(Ei);const Ni={color:ft.extend("--ft-loader-color",ut.colorPrimary),size:ft.create("--ft-loader-size","SIZE","80px")};class Ri extends xt{static get styles(){return b`
|
|
879
886
|
:host {
|
|
880
887
|
line-height: 0;
|
|
881
888
|
}
|
|
@@ -884,8 +891,8 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
884
891
|
display: inline-block;
|
|
885
892
|
position: relative;
|
|
886
893
|
|
|
887
|
-
width: ${
|
|
888
|
-
height: ${
|
|
894
|
+
width: ${Ni.size};
|
|
895
|
+
height: ${Ni.size};
|
|
889
896
|
}
|
|
890
897
|
|
|
891
898
|
.ft-loader div {
|
|
@@ -894,7 +901,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
894
901
|
width: 25%;
|
|
895
902
|
height: 25%;
|
|
896
903
|
border-radius: 50%;
|
|
897
|
-
background: ${
|
|
904
|
+
background: ${Ni.color};
|
|
898
905
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
899
906
|
}
|
|
900
907
|
|
|
@@ -941,7 +948,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
941
948
|
transform: translate(0, 0);
|
|
942
949
|
}
|
|
943
950
|
100% {
|
|
944
|
-
transform: translate(calc(0.35 * ${
|
|
951
|
+
transform: translate(calc(0.35 * ${Ni.size}), 0);
|
|
945
952
|
}
|
|
946
953
|
}
|
|
947
954
|
`}render(){return W`
|
|
@@ -951,7 +958,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
951
958
|
<div></div>
|
|
952
959
|
<div></div>
|
|
953
960
|
</div>
|
|
954
|
-
`}}p("ft-loader")(
|
|
961
|
+
`}}p("ft-loader")(Ri);var zi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const Mi=ft.extend("--ft-button-color",ut.colorPrimary),Fi={backgroundColor:ft.extend("--ft-button-background-color",ut.colorSurface),borderRadius:ft.extend("--ft-button-border-radius",ut.borderRadiusL),color:Mi,fontSize:ft.extend("--ft-button-font-size",Ae.fontSize),iconSize:ft.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ft.extend("--ft-button-ripple-color",Mi),opacityDisabled:ft.external(ut.colorOpacityDisabled,"Design system")},Ui=ft.extend("--ft-button-primary-color",ft.extend("--ft-button-color",ut.colorOnPrimary)),Bi={backgroundColor:ft.extend("--ft-button-primary-background-color",ft.extend("--ft-button-background-color",ut.colorPrimary)),color:Ui,rippleColor:ft.extend("--ft-button-primary-ripple-color",Ui)},Di=ft.extend("--ft-button-dense-border-radius",ft.extend("--ft-button-border-radius",ut.borderRadiusM));class ji extends xt{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[vt,b`
|
|
955
962
|
:host {
|
|
956
963
|
display: inline-block;
|
|
957
964
|
max-width: 100%;
|
|
@@ -962,7 +969,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
962
969
|
box-shadow: 0px 0px 0px transparent;
|
|
963
970
|
border: 0px solid transparent;
|
|
964
971
|
text-shadow: 0px 0px 0px transparent;
|
|
965
|
-
font-size:
|
|
972
|
+
font-size: 16px;
|
|
966
973
|
}
|
|
967
974
|
|
|
968
975
|
button:hover {
|
|
@@ -990,20 +997,19 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
990
997
|
box-sizing: border-box;
|
|
991
998
|
border: none;
|
|
992
999
|
pointer-events: auto;
|
|
993
|
-
line-height: 0;
|
|
994
1000
|
|
|
995
|
-
--ft-button-internal-font-size: ${
|
|
1001
|
+
--ft-button-internal-font-size: ${Fi.fontSize};
|
|
996
1002
|
--ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
|
|
997
|
-
--ft-button-internal-color: ${
|
|
998
|
-
${ht(
|
|
1003
|
+
--ft-button-internal-color: ${Fi.color};
|
|
1004
|
+
${ht(fi.size,Fi.iconSize)};
|
|
999
1005
|
--ft-button-internal-vertical-padding: 6px;
|
|
1000
1006
|
--ft-button-internal-horizontal-padding: 8px;
|
|
1001
|
-
${ht(
|
|
1002
|
-
--ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${
|
|
1007
|
+
${ht(ti.color,Fi.rippleColor)};
|
|
1008
|
+
--ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Fi.iconSize});
|
|
1003
1009
|
|
|
1004
|
-
border-radius: ${
|
|
1010
|
+
border-radius: ${Fi.borderRadius};
|
|
1005
1011
|
padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
|
|
1006
|
-
background-color: ${
|
|
1012
|
+
background-color: ${Fi.backgroundColor};
|
|
1007
1013
|
color: var(--ft-button-internal-color);
|
|
1008
1014
|
-webkit-mask-image: radial-gradient(white, black);
|
|
1009
1015
|
}
|
|
@@ -1015,7 +1021,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
1015
1021
|
.ft-button--dense {
|
|
1016
1022
|
--ft-button-internal-vertical-padding: 2px;
|
|
1017
1023
|
--ft-button-internal-horizontal-padding: 4px;
|
|
1018
|
-
border-radius: ${
|
|
1024
|
+
border-radius: ${Di};
|
|
1019
1025
|
}
|
|
1020
1026
|
|
|
1021
1027
|
.ft-button--round {
|
|
@@ -1024,13 +1030,13 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
1024
1030
|
|
|
1025
1031
|
.ft-button[disabled] {
|
|
1026
1032
|
filter: grayscale(1);
|
|
1027
|
-
opacity: ${
|
|
1033
|
+
opacity: ${Fi.opacityDisabled};
|
|
1028
1034
|
}
|
|
1029
1035
|
|
|
1030
1036
|
.ft-button.ft-button--primary {
|
|
1031
|
-
background-color: ${
|
|
1032
|
-
--ft-button-internal-color: ${
|
|
1033
|
-
${ht(
|
|
1037
|
+
background-color: ${Bi.backgroundColor};
|
|
1038
|
+
--ft-button-internal-color: ${Bi.color};
|
|
1039
|
+
${ht(ti.color,Bi.rippleColor)};
|
|
1034
1040
|
}
|
|
1035
1041
|
|
|
1036
1042
|
.ft-button.ft-button--outlined {
|
|
@@ -1049,8 +1055,8 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
1049
1055
|
text-overflow: ellipsis;
|
|
1050
1056
|
display: block;
|
|
1051
1057
|
margin: 0 var(--ft-button-internal-horizontal-padding);
|
|
1052
|
-
${ht(
|
|
1053
|
-
${ht(
|
|
1058
|
+
${ht(Ae.fontSize,"var(--ft-button-internal-font-size)")};
|
|
1059
|
+
${ht(Ae.lineHeight,"var(--ft-button-internal-content-height)")};
|
|
1054
1060
|
}
|
|
1055
1061
|
|
|
1056
1062
|
.ft-button--safari-fix .ft-button--label {
|
|
@@ -1083,12 +1089,12 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
1083
1089
|
}
|
|
1084
1090
|
|
|
1085
1091
|
ft-loader {
|
|
1086
|
-
${ht(
|
|
1087
|
-
${ht(
|
|
1092
|
+
${ht(Ni.size,Fi.iconSize)};
|
|
1093
|
+
${ht(Ni.color,"var(--ft-button-internal-color)")};
|
|
1088
1094
|
}
|
|
1089
|
-
`]}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--safari-fix"
|
|
1095
|
+
`]}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--safari-fix":$t,"ft-no-text-select":!0};return this.addTooltip(W`
|
|
1090
1096
|
<button part="button"
|
|
1091
|
-
class="${
|
|
1097
|
+
class="${jt(t)}"
|
|
1092
1098
|
aria-label="${this.getLabel()}"
|
|
1093
1099
|
?disabled=${this.isDisabled()}>
|
|
1094
1100
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
@@ -1108,7 +1114,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
1108
1114
|
</ft-tooltip>
|
|
1109
1115
|
`}resolveIcon(){return this.loading?W`
|
|
1110
1116
|
<ft-loader></ft-loader> `:this.icon?W`
|
|
1111
|
-
<ft-icon variant="material">${this.icon}</ft-icon> `:K}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}
|
|
1117
|
+
<ft-icon variant="material">${this.icon}</ft-icon> `:K}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}ji.elementDefinitions={"ft-ripple":li,"ft-tooltip":Ei,"ft-typography":Je,"ft-icon":hi,"ft-loader":Ri},zi([o({type:Boolean})],ji.prototype,"primary",void 0),zi([o({type:Boolean})],ji.prototype,"outlined",void 0),zi([o({type:Boolean})],ji.prototype,"disabled",void 0),zi([o({type:Boolean})],ji.prototype,"dense",void 0),zi([o({type:Boolean})],ji.prototype,"round",void 0),zi([o({type:String})],ji.prototype,"label",void 0),zi([o({type:String})],ji.prototype,"icon",void 0),zi([o({type:Boolean})],ji.prototype,"trailingIcon",void 0),zi([o({type:Boolean})],ji.prototype,"loading",void 0),zi([o({type:String})],ji.prototype,"tooltipPosition",void 0),zi([r(".ft-button")],ji.prototype,"button",void 0),zi([r(".ft-button--label slot")],ji.prototype,"slottedContent",void 0),p("ft-button")(ji);var Ai=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Ti extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Li={headerBackground:ft.create("--ft-filterable-table-header-background","COLOR","whitesmoke"),oddRowBackground:ft.create("--ft-filterable-table-odd-row-background","COLOR","#FFFFFF"),evenRowBackground:ft.create("--ft-filterable-table-even-row-background","COLOR","#fdfdfd"),rowHoverBackground:ft.create("--ft-filterable-table-row-hover-background","COLOR","#fafafa"),stickyHeaderZIndex:ft.create("--ft-filterable-table-sticky-header-zindex","NUMBER","100"),colorOnSurfaceHigh:ft.external(ut.colorOnSurfaceHigh,"Design system"),titleFont:ft.external(ut.titleFont,"Design system"),contentFont:ft.external(ut.contentFont,"Design system")},Ii=t=>W`${t}`,Pi=(t,e)=>t-e;class _i extends xt{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.filters=[],this.selectData=[]}init(t,e,i){this.data=t,this.columns=e,this.sort=i}render(){let t=this.sortData(this.filterData());return W`
|
|
1112
1118
|
<style>
|
|
1113
1119
|
.table {
|
|
1114
1120
|
grid-template-columns: repeat(${this.columns.length}, minmax(min-content, auto));
|
|
@@ -1116,17 +1122,17 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
1116
1122
|
</style>
|
|
1117
1123
|
<div class="table">
|
|
1118
1124
|
<div class="header">
|
|
1119
|
-
${
|
|
1125
|
+
${Ut(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
|
|
1120
1126
|
</div>
|
|
1121
|
-
${
|
|
1127
|
+
${Ut(t,((t,e)=>"row-"+e),((t,e)=>W`
|
|
1122
1128
|
<div class="row"
|
|
1123
1129
|
@click=${()=>this.dispatchEvent(new Ti(t))}>
|
|
1124
|
-
${
|
|
1130
|
+
${Ut(this.columns,((t,i)=>"cell-"+e+" "+i),(i=>this.renderCell(i,t,e)))}
|
|
1125
1131
|
</div>
|
|
1126
1132
|
`))}
|
|
1127
1133
|
</div>
|
|
1128
|
-
`}filterData(){let t=[...this.data];return this.filters.forEach(((e,i)=>{var o;const n=this.columns[i];if(e)switch(null!==(o=n.filter)&&void 0!==o?o:"text"){case"text":e.value&&(t=t.filter((t=>this.getValueAsString(n,t,i).toLowerCase().includes(e.value.toLowerCase()))));break;case"select":e.value&&(t=t.filter((t=>this.getValueAsString(n,t,i)===e.value)))}})),t}sortData(t){var e;if(this.currentSort){const i=this.columns[this.currentSort.column],o=null!==(e=i.comparator)&&void 0!==e?e:
|
|
1129
|
-
<div class="${
|
|
1134
|
+
`}filterData(){let t=[...this.data];return this.filters.forEach(((e,i)=>{var o;const n=this.columns[i];if(e)switch(null!==(o=n.filter)&&void 0!==o?o:"text"){case"text":e.value&&(t=t.filter((t=>this.getValueAsString(n,t,i).toLowerCase().includes(e.value.toLowerCase()))));break;case"select":e.value&&(t=t.filter((t=>this.getValueAsString(n,t,i)===e.value)))}})),t}sortData(t){var e;if(this.currentSort){const i=this.columns[this.currentSort.column],o=null!==(e=i.comparator)&&void 0!==e?e:Pi,n="asc"===this.currentSort.order?o:(t,e)=>-o(t,e);return t.sort(((t,e)=>n(this.getValue(i,t),this.getValue(i,e))))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateSelectData()}updateSelectData(){this.selectData=[];const t=this.data,e=this.columns;for(let i in e){const o=e[i];"select"===o.filter&&(this.selectData[i]=[...new Set(t.map(((t,e)=>this.getValueAsString(o,t,e))))].sort(((t,e)=>t.localeCompare(e))))}this.requestUpdate()}renderHeader(t,e){const i={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return W`
|
|
1135
|
+
<div class="${jt(i)}">
|
|
1130
1136
|
<div class="column-title-container">
|
|
1131
1137
|
<span class="column-title">${t.title}</span>
|
|
1132
1138
|
${this.renderColumnSort(t,e)}
|
|
@@ -1157,8 +1163,8 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
1157
1163
|
<ft-select-option value="${t}" label="${t}"></ft-select-option>
|
|
1158
1164
|
`))}
|
|
1159
1165
|
</ft-select>
|
|
1160
|
-
`:null}return null}renderCell(t,e,i){var o;const n=null!==(o=t.render)&&void 0!==o?o:
|
|
1161
|
-
<div class="cell">${(t=>{const e=n(t,i);return"string"==typeof e?
|
|
1166
|
+
`:null}return null}renderCell(t,e,i){var o;const n=null!==(o=t.render)&&void 0!==o?o:Ii;return W`
|
|
1167
|
+
<div class="cell">${(t=>{const e=n(t,i);return"string"==typeof e?Dt(e):e})(this.getValue(t,e))}</div>
|
|
1162
1168
|
`}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,i){const o=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(o,i):(t=>""+t)(o)}}_i.styles=b`
|
|
1163
1169
|
:host {
|
|
1164
1170
|
display: block;
|
|
@@ -1201,8 +1207,8 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
1201
1207
|
}
|
|
1202
1208
|
|
|
1203
1209
|
.column-title-container ft-button {
|
|
1204
|
-
${ht(
|
|
1205
|
-
${ht(
|
|
1210
|
+
${ht(Fi.backgroundColor,Li.headerBackground)};
|
|
1211
|
+
${ht(Fi.color,Li.colorOnSurfaceHigh)};
|
|
1206
1212
|
}
|
|
1207
1213
|
|
|
1208
1214
|
.column-title {
|
|
@@ -1267,4 +1273,4 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
1267
1273
|
.hidden {
|
|
1268
1274
|
visibility: hidden;
|
|
1269
1275
|
}
|
|
1270
|
-
`,
|
|
1276
|
+
`,Ai([o({attribute:!1})],_i.prototype,"data",void 0),Ai([o({attribute:!1})],_i.prototype,"columns",void 0),Ai([o({attribute:!1})],_i.prototype,"sort",void 0),Ai([o()],_i.prototype,"stickyHeaders",void 0),Ai([n()],_i.prototype,"currentSort",void 0),p("ft-filterable-table")(_i),t.FtFilterableTable=_i,t.FtFilterableTableCssVariables=Li,t.RowClickEvent=Ti,Object.defineProperty(t,"t",{value:!0})}({});
|