@fluid-topics/ft-floating-menu 1.0.57 → 1.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-floating-menu.light.js +17 -17
- package/build/ft-floating-menu.min.js +191 -191
- package/package.json +7 -7
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
*
|
|
15
15
|
* @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
|
|
16
16
|
*/
|
|
17
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,
|
|
17
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,r=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(r.set(n,h),h.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,h,!0)}const x=this._whenDefinedPromises.get(t);return void 0!==x&&(x.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){v.push(this),o.upgrade.apply(o,arguments),v.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=v[v.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=x.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const b=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),v.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.pop()}})};if(y(Element,"innerHTML"),y(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(Fi){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{if(null!==i)try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
18
18
|
/**
|
|
19
19
|
* @license
|
|
20
20
|
* Copyright 2017 Google LLC
|
|
21
21
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
22
|
-
*/const
|
|
22
|
+
*/const i=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function o(t){return(e,o)=>void 0!==o?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,o):i(t,e)
|
|
23
23
|
/**
|
|
24
24
|
* @license
|
|
25
25
|
* Copyright 2017 Google LLC
|
|
@@ -29,39 +29,39 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,i=window.cust
|
|
|
29
29
|
* @license
|
|
30
30
|
* Copyright 2017 Google LLC
|
|
31
31
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
32
|
-
*/const s=({finisher:t,descriptor:
|
|
32
|
+
*/const s=({finisher:t,descriptor:e})=>(i,o)=>{var n;if(void 0===o){const o=null!==(n=i.originalKey)&&void 0!==n?n:i.key,s=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(s.finisher=function(e){t(e,o)}),s}{const n=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(n,o)}}
|
|
33
33
|
/**
|
|
34
34
|
* @license
|
|
35
35
|
* Copyright 2017 Google LLC
|
|
36
36
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
37
|
-
*/;function r(t,
|
|
37
|
+
*/;function r(t,e){return s({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}
|
|
38
38
|
/**
|
|
39
39
|
* @license
|
|
40
40
|
* Copyright 2021 Google LLC
|
|
41
41
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
|
-
*/var a;const l=null!=(null===(a=window.HTMLSlotElement)||void 0===a?void 0:a.prototype.assignedElements)?(t,
|
|
42
|
+
*/var a;const l=null!=(null===(a=window.HTMLSlotElement)||void 0===a?void 0:a.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function h(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var i,o,n;if(Array.isArray(t)){if((i=t.length)!=e.length)return!1;for(o=i;0!=o--;)if(!h(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!h(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((i=(n=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(o=i;0!=o--;)if(!Object.prototype.hasOwnProperty.call(e,n[o]))return!1;for(o=i;0!=o--;){var s=n[o];if(!h(t[s],e[s]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const c=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function p(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)},hasChanged:(t,e)=>!h(t,e),...null!=e?e:{}})}
|
|
43
43
|
/**
|
|
44
44
|
* @license
|
|
45
45
|
* Copyright 2019 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
-
*/const f=window,d=f.ShadowRoot&&(void 0===f.ShadyCSS||f.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,u=Symbol(),x=new WeakMap;let v=class{constructor(t,i
|
|
47
|
+
*/const f=window,d=f.ShadowRoot&&(void 0===f.ShadyCSS||f.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,u=Symbol(),x=new WeakMap;let v=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==u)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(d&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=x.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&x.set(e,t))}return t}toString(){return this.cssText}};const b=t=>new v("string"==typeof t?t:t+"",void 0,u),y=(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 v(i,t,u)},m=(t,e)=>{d?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=f.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},g=d?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return b(e)})(t):t
|
|
48
48
|
/**
|
|
49
49
|
* @license
|
|
50
50
|
* Copyright 2017 Google LLC
|
|
51
51
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
52
|
-
*/;var w;const $=window,O=$.trustedTypes,k=O?O.emptyScript:"",S=$.reactiveElementPolyfillSupport,C={toAttribute(t,
|
|
52
|
+
*/;var w;const $=window,O=$.trustedTypes,k=O?O.emptyScript:"",S=$.reactiveElementPolyfillSupport,C={toAttribute(t,e){switch(e){case Boolean:t=t?k:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},N=(t,e)=>e!==t&&(e==e||t==t),E={attribute:!0,type:String,converter:C,reflect:!1,hasChanged:N};let M=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=E){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||E}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(g(t))}else void 0!==t&&e.push(g(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return m(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=E){var o;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const s=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:C).toAttribute(e,i.type);this._$El=t,null==s?this.removeAttribute(n):this.setAttribute(n,s),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:C;this._$El=n,this[n]=s.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||N)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
|
|
53
53
|
/**
|
|
54
54
|
* @license
|
|
55
55
|
* Copyright 2017 Google LLC
|
|
56
56
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
57
57
|
*/
|
|
58
|
-
var R;M.finalized=!0,M.elementProperties=new Map,M.elementStyles=[],M.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:M}),(null!==(w=$.reactiveElementVersions)&&void 0!==w?w:$.reactiveElementVersions=[]).push("1.6.1");const U=window,j=U.trustedTypes,F=j?j.createPolicy("lit-html",{createHTML:t=>t}):void 0,z="$lit$",B=`lit$${(Math.random()+"").slice(9)}$`,A="?"+B,T=`<${A}>`,P=document,L=()=>P.createComment(""),I=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,D="[ \t\n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,K=/>/g,Z=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(i
|
|
58
|
+
var R;M.finalized=!0,M.elementProperties=new Map,M.elementStyles=[],M.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:M}),(null!==(w=$.reactiveElementVersions)&&void 0!==w?w:$.reactiveElementVersions=[]).push("1.6.1");const U=window,j=U.trustedTypes,F=j?j.createPolicy("lit-html",{createHTML:t=>t}):void 0,z="$lit$",B=`lit$${(Math.random()+"").slice(9)}$`,A="?"+B,T=`<${A}>`,P=document,L=()=>P.createComment(""),I=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,D="[ \t\n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,K=/>/g,Z=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Y=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Q=new WeakMap,tt=P.createTreeWalker(P,129,null,!1),et=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=W;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(r.lastIndex=c,l=r.exec(i),null!==l);)c=r.lastIndex,r===W?"!--"===l[1]?r=H:void 0!==l[1]?r=K:void 0!==l[2]?(q.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=Z):void 0!==l[3]&&(r=Z):r===Z?">"===l[0]?(r=null!=n?n:W,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?Z:'"'===l[3]?J:V):r===J||r===V?r=Z:r===H||r===K?r=W:(r=Z,n=void 0);const p=r===Z&&t[e+1].startsWith("/>")?" ":"";s+=r===W?i+T:h>=0?(o.push(a),i.slice(0,h)+z+i.slice(h)+B+p):i+B+(-2===h?(o.push(void 0),e):p)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==F?F.createHTML(a):a,o]};class it{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,h]=et(t,e);if(this.el=it.createElement(l,i),tt.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=tt.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(z)||e.startsWith(B)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+z).split(B),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?at:"?"===e[1]?ht:"@"===e[1]?ct:rt})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(q.test(o.tagName)){const t=o.textContent.split(B),e=t.length-1;if(e>0){o.textContent=j?j.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],L()),tt.nextNode(),a.push({type:2,index:++n});o.append(t[e],L())}}}else if(8===o.nodeType)if(o.data===A)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(B,t+1));)a.push({type:7,index:n}),t+=B.length-1}n++}}static createElement(t,e){const i=P.createElement("template");return i.innerHTML=t,i}}function ot(t,e,i=t,o){var n,s,r,a;if(e===Y)return e;let l=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=I(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Co)&&void 0!==r?r:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=ot(t,l._$AS(t,e.values),l,o)),e}class nt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:P).importNode(i,!0);tt.currentNode=n;let s=tt.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new st(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new pt(s,this,t)),this._$AV.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=tt.nextNode(),r++)}return n}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class st{constructor(t,e,i,o){var n;this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=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._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ot(this,t,e),I(t)?t===G||null==t||""===t?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==Y&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==G&&I(this._$AH)?this._$AA.nextSibling.data=t:this.$(P.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=it.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.v(i);else{const t=new nt(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=Q.get(t.strings);return void 0===e&&Q.set(t.strings,e=new it(t)),e}T(t){_(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 st(this.k(L()),this.k(L()),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._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class rt{constructor(t,e,i,o,n){this.type=1,this._$AH=G,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=G}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=ot(this,t,e,0),s=!I(t)||t!==this._$AH&&t!==Y,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=ot(this,o[i+r],e,r),a===Y&&(a=this._$AH[r]),s||(s=!I(a)||a!==this._$AH[r]),a===G?t=G:t!==G&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class at extends rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}}const lt=j?j.emptyScript:"";class ht extends rt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==G?this.element.setAttribute(this.name,lt):this.element.removeAttribute(this.name)}}class ct extends rt{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=ot(this,t,e,0))&&void 0!==i?i:G)===Y)return;const o=this._$AH,n=t===G&&o!==G||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==G&&(o===G||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 pt{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){ot(this,t)}}const ft=U.litHtmlPolyfillSupport;null==ft||ft(it,st),(null!==(R=U.litHtmlVersions)&&void 0!==R?R:U.litHtmlVersions=[]).push("2.7.3");
|
|
59
59
|
/**
|
|
60
60
|
* @license
|
|
61
61
|
* Copyright 2017 Google LLC
|
|
62
62
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
63
63
|
*/
|
|
64
|
-
var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,i;const e=super.createRenderRoot();return null!==(t=(i=this.renderOptions).renderBefore)&&void 0!==t||(i.renderBefore=e.firstChild),e}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,i,e)=>{var o,n;const s=null!==(o=null==e?void 0:e.renderBefore)&&void 0!==o?o:i;let r=s._$litPart$;if(void 0===r){const t=null!==(n=null==e?void 0:e.renderBefore)&&void 0!==n?n:null;s._$litPart$=r=new st(i.insertBefore(L(),t),t,void 0,null!=e?e:{})}return r._$AI(t),r})(i,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return Y}};xt.finalized=!0,xt._$litElement$=!0,null===(dt=globalThis.litElementHydrateSupport)||void 0===dt||dt.call(globalThis,{LitElement:xt});const vt=globalThis.litElementPolyfillSupport;null==vt||vt({LitElement:xt}),(null!==(ut=globalThis.litElementVersions)&&void 0!==ut?ut:globalThis.litElementVersions=[]).push("3.3.2");class bt{static create(t,i,e){let o=t=>b(null!=t?t:e),n=y`var(${b(t)}, ${o(e)})`;return n.name=t,n.category=i,n.defaultValue=e,n.defaultCssValue=o,n.get=i=>y`var(${b(t)}, ${o(i)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>e,n}static extend(t,i,e){let o=t=>i.get(null!=t?t:e),n=y`var(${b(t)}, ${o(e)})`;return n.name=t,n.category=i.category,n.fallbackVariable=i,n.defaultValue=e,n.defaultCssValue=o,n.get=i=>y`var(${b(t)}, ${o(i)})`,n.breadcrumb=()=>[i.name,...i.breadcrumb()],n.lastResortDefaultValue=()=>e,n}static external(t,i){let e=i=>t.fallbackVariable?t.fallbackVariable.get(null!=i?i:t.defaultValue):b(null!=i?i:t.defaultValue),o=y`var(${b(t.name)}, ${e(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=i,o.defaultCssValue=e,o.get=i=>y`var(${b(t.name)}, ${e(i)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var i,e;return null!==(i=t.defaultValue)&&void 0!==i?i:null===(e=t.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()},o}}function yt(t,i){return b(`${t.name}: ${i}`)}const gt={colorPrimary:bt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:bt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:bt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:bt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:bt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:bt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:bt.create("--ft-color-error","COLOR","#B00020"),colorOutline:bt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:bt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:bt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:bt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:bt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:bt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:bt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:bt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:bt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:bt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:bt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:bt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:bt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:bt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:bt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:bt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:bt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:bt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:bt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:bt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:bt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:bt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:bt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:bt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:bt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:bt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:bt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:bt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:bt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:bt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:bt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:bt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:bt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:bt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:bt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:bt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:bt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:bt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:bt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:bt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:bt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:bt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:bt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:bt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class mt extends xt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([i,e])=>t.registry.define(i,e))));const i={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(i);return g(e,t.elementStyles),e}}var wt,$t=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const Ot=Symbol("constructorPrototype"),kt=Symbol("constructorName"),St=Symbol("exportpartsDebouncer");class Ct extends mt{constructor(){super(),this[wt]=new i(5),this[kt]=this.constructor.name,this[Ot]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[kt]&&Object.setPrototypeOf(this,this[Ot])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var i,e;if((null!==(e=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[St].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var i,e,o,n,s,r;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(e=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const i=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],e=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(...i,...e).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>l.map((i=>`${t}:${i}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}wt=St,$t([o()],Ct.prototype,"exportpartsPrefix",void 0),$t([p([])],Ct.prototype,"exportpartsPrefixes",void 0),$t([o()],Ct.prototype,"customStylesheet",void 0);const Nt=y`
|
|
64
|
+
var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=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._$Do=((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 st(e.insertBefore(L(),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._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return Y}};xt.finalized=!0,xt._$litElement$=!0,null===(dt=globalThis.litElementHydrateSupport)||void 0===dt||dt.call(globalThis,{LitElement:xt});const vt=globalThis.litElementPolyfillSupport;null==vt||vt({LitElement:xt}),(null!==(ut=globalThis.litElementVersions)&&void 0!==ut?ut:globalThis.litElementVersions=[]).push("3.3.2");class bt{static create(t,e,i){let o=t=>b(null!=t?t:i),n=y`var(${b(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>y`var(${b(t)}, ${o(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),n=y`var(${b(t)}, ${o(i)})`;return n.name=t,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>y`var(${b(t)}, ${o(e)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>i,n}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):b(null!=e?e:t.defaultValue),o=y`var(${b(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>y`var(${b(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function yt(t,e){return b(`${t.name}: ${e}`)}const mt={colorPrimary:bt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:bt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:bt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:bt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:bt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:bt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:bt.create("--ft-color-error","COLOR","#B00020"),colorOutline:bt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:bt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:bt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:bt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:bt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:bt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:bt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:bt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:bt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:bt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:bt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:bt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:bt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:bt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:bt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:bt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:bt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:bt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:bt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:bt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:bt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:bt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:bt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:bt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:bt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:bt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:bt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:bt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:bt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:bt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:bt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:bt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:bt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:bt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:bt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:bt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:bt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:bt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:bt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:bt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:bt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:bt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:bt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:bt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class gt extends xt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return m(i,t.elementStyles),i}}var wt,$t=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const Ot=Symbol("constructorPrototype"),kt=Symbol("constructorName"),St=Symbol("exportpartsDebouncer");class Ct extends gt{constructor(){super(),this[wt]=new e(5),this[kt]=this.constructor.name,this[Ot]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[kt]&&Object.setPrototypeOf(this,this[Ot])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[St].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,n,s,r;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=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(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}wt=St,$t([o()],Ct.prototype,"exportpartsPrefix",void 0),$t([p([])],Ct.prototype,"exportpartsPrefixes",void 0),$t([o()],Ct.prototype,"customStylesheet",void 0);const Nt=y`
|
|
65
65
|
.ft-no-text-select {
|
|
66
66
|
-webkit-touch-callout: none;
|
|
67
67
|
-webkit-user-select: none;
|
|
@@ -93,9 +93,9 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
|
|
|
93
93
|
display: inline-block;
|
|
94
94
|
width: 0;
|
|
95
95
|
}
|
|
96
|
-
`;
|
|
96
|
+
`;window.ftReduxStores||(window.ftReduxStores={});const Mt=Symbol("elementInternals");var Rt,Ut,jt;const Ft=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(jt=null===(Ut=null===(Rt=window.safari)||void 0===Rt?void 0:Rt.pushNotification)||void 0===Ut?void 0:Ut.toString())&&void 0!==jt?jt:""),zt={zIndex:bt.create("--ft-floating-menu-z-index","NUMBER","8"),maxWidth:bt.create("--ft-floating-menu-max-width","SIZE","300px"),maxHeight:bt.create("--ft-floating-menu-max-height","SIZE","500px"),textColor:bt.extend("--ft-floating-menu-text-color",mt.colorOnSurfaceHigh),colorSurface:bt.external(mt.colorSurface,"Design system"),menuElevation:bt.external(mt.elevation02,"Design system"),borderRadiusS:bt.external(mt.borderRadiusS,"Design system")},Bt=y`
|
|
97
97
|
.ft-floating-menu {
|
|
98
|
-
color: ${
|
|
98
|
+
color: ${zt.textColor};
|
|
99
99
|
display: inline-block;
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -112,13 +112,13 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
|
|
|
112
112
|
display: none;
|
|
113
113
|
position: relative;
|
|
114
114
|
overflow: auto;
|
|
115
|
-
max-width: ${
|
|
116
|
-
max-height: ${
|
|
117
|
-
box-shadow: ${
|
|
118
|
-
background-color: ${
|
|
119
|
-
border-radius: ${
|
|
120
|
-
color: ${
|
|
121
|
-
z-index: ${
|
|
115
|
+
max-width: ${zt.maxWidth};
|
|
116
|
+
max-height: ${zt.maxHeight};
|
|
117
|
+
box-shadow: ${zt.menuElevation};
|
|
118
|
+
background-color: ${zt.colorSurface};
|
|
119
|
+
border-radius: ${zt.borderRadiusS};
|
|
120
|
+
color: ${zt.textColor};
|
|
121
|
+
z-index: ${zt.zIndex};
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
.ft-floating-menu--open .ft-floating-menu--options {
|
|
@@ -129,12 +129,12 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
|
|
|
129
129
|
* @license
|
|
130
130
|
* Copyright 2017 Google LLC
|
|
131
131
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
132
|
-
*/,
|
|
132
|
+
*/,At=1,Tt=2,Pt=t=>(...e)=>({_$litDirective$:t,values:e});class Lt{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)}}
|
|
133
133
|
/**
|
|
134
134
|
* @license
|
|
135
135
|
* Copyright 2018 Google LLC
|
|
136
136
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
137
|
-
*/const
|
|
137
|
+
*/const It=Pt(class extends Lt{constructor(t){var e;if(super(t),t.type!==At||"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.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.nt)||void 0===i?void 0:i.has(t))&&this.it.add(t);return this.render(e)}const n=t.element.classList;this.it.forEach((t=>{t in e||(n.remove(t),this.it.delete(t))}));for(const t in e){const i=!!e[t];i===this.it.has(t)||(null===(o=this.nt)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.it.add(t)):(n.remove(t),this.it.delete(t)))}return Y}}),_t=bt.extend("--ft-ripple-color",mt.colorContent),Dt={color:_t,backgroundColor:bt.extend("--ft-ripple-background-color",_t),opacityContentOnSurfacePressed:bt.external(mt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:bt.external(mt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:bt.external(mt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:bt.external(mt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:bt.create("--ft-ripple-border-radius","SIZE","0px")},Wt=bt.extend("--ft-ripple-color",mt.colorPrimary),Ht=Wt,Kt=bt.extend("--ft-ripple-background-color",Wt),Zt=bt.extend("--ft-ripple-color",mt.colorSecondary),Vt=Zt,Jt=bt.extend("--ft-ripple-background-color",Zt),qt=y`
|
|
138
138
|
:host {
|
|
139
139
|
display: contents;
|
|
140
140
|
}
|
|
@@ -147,7 +147,7 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
|
|
|
147
147
|
|
|
148
148
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
149
149
|
overflow: hidden;
|
|
150
|
-
border-radius: ${
|
|
150
|
+
border-radius: ${Dt.borderRadius};
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
.ft-ripple .ft-ripple--background,
|
|
@@ -181,27 +181,27 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
|
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
.ft-ripple .ft-ripple--background {
|
|
184
|
-
background-color: ${
|
|
184
|
+
background-color: ${Dt.backgroundColor};
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
.ft-ripple .ft-ripple--effect {
|
|
188
|
-
background-color: ${
|
|
188
|
+
background-color: ${Dt.color};
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
192
|
-
background-color: ${
|
|
192
|
+
background-color: ${Jt};
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
196
|
-
background-color: ${
|
|
196
|
+
background-color: ${Vt};
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
200
|
-
background-color: ${
|
|
200
|
+
background-color: ${Kt};
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
204
|
-
background-color: ${
|
|
204
|
+
background-color: ${Ht};
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
.ft-ripple .ft-ripple--background {
|
|
@@ -231,141 +231,141 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
|
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
234
|
-
opacity: ${
|
|
234
|
+
opacity: ${Dt.opacityContentOnSurfaceHover};
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
238
|
-
opacity: ${
|
|
238
|
+
opacity: ${Dt.opacityContentOnSurfaceSelected};
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
242
|
-
opacity: ${
|
|
242
|
+
opacity: ${Dt.opacityContentOnSurfaceFocused};
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
246
|
-
opacity: ${
|
|
246
|
+
opacity: ${Dt.opacityContentOnSurfacePressed};
|
|
247
247
|
transform: translate(-50%, -50%) scale(1);
|
|
248
248
|
}
|
|
249
|
-
`;var
|
|
249
|
+
`;var Xt=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Yt extends Ct{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.originX=0,this.originY=0,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.setupDebouncer=new e(10),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.isFocusVisible(null==t?void 0:t.target)&&!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 X`
|
|
250
250
|
<style>
|
|
251
251
|
.ft-ripple .ft-ripple--effect {
|
|
252
252
|
left: ${this.originX}px;
|
|
253
253
|
top: ${this.originY}px;
|
|
254
254
|
}
|
|
255
255
|
</style>
|
|
256
|
-
<div class="${
|
|
256
|
+
<div class="${It(t)}">
|
|
257
257
|
<div class="ft-ripple--background"></div>
|
|
258
258
|
<div class="ft-ripple--effect"></div>
|
|
259
259
|
</div>
|
|
260
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var i
|
|
260
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,i;super.update(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"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i)}setupFor(t){if(this.setupDebouncer.cancel(),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,this.target=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}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}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.endRipple()}}Yt.elementDefinitions={},Yt.styles=qt,Xt([o({type:Boolean})],Yt.prototype,"primary",void 0),Xt([o({type:Boolean})],Yt.prototype,"secondary",void 0),Xt([o({type:Boolean})],Yt.prototype,"unbounded",void 0),Xt([o({type:Boolean})],Yt.prototype,"activated",void 0),Xt([o({type:Boolean})],Yt.prototype,"selected",void 0),Xt([o({type:Boolean})],Yt.prototype,"disabled",void 0),Xt([n()],Yt.prototype,"hovered",void 0),Xt([n()],Yt.prototype,"focused",void 0),Xt([n()],Yt.prototype,"pressed",void 0),Xt([n()],Yt.prototype,"rippling",void 0),Xt([n()],Yt.prototype,"originX",void 0),Xt([n()],Yt.prototype,"originY",void 0),Xt([r(".ft-ripple")],Yt.prototype,"ripple",void 0),Xt([r(".ft-ripple--effect")],Yt.prototype,"rippleEffect",void 0),c("ft-ripple")(Yt);
|
|
261
261
|
/**
|
|
262
262
|
* @license
|
|
263
263
|
* Copyright 2020 Google LLC
|
|
264
264
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
265
265
|
*/
|
|
266
|
-
const
|
|
266
|
+
const Gt=Symbol.for(""),Qt=t=>{if((null==t?void 0:t.r)===Gt)return null==t?void 0:t._$litStatic$},te=t=>({_$litStatic$:t,r:Gt}),ee=new Map,ie=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],n=Qt(s));)l+=n+e[++h],c=!0;h!==o&&a.push(s),r.push(l),h++}if(h===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=ee.get(t))&&(r.raw=r,ee.set(t,e=r)),i=a}return t(e,...i)})(X);var oe;!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"}(oe||(oe={}));const ne=bt.extend("--ft-typography-font-family",mt.titleFont),se=bt.extend("--ft-typography-font-family",mt.contentFont),re={fontFamily:se,fontSize:bt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:bt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:bt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:bt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:bt.create("--ft-typography-text-transform","UNKNOWN","inherit")},ae=bt.extend("--ft-typography-title-font-family",ne),le=bt.extend("--ft-typography-title-font-size",re.fontSize,"20px"),he=bt.extend("--ft-typography-title-font-weight",re.fontWeight,"normal"),ce=bt.extend("--ft-typography-title-letter-spacing",re.letterSpacing,"0.15px"),pe=bt.extend("--ft-typography-title-line-height",re.lineHeight,"1.2"),fe=bt.extend("--ft-typography-title-text-transform",re.textTransform,"inherit"),de=bt.extend("--ft-typography-title-dense-font-family",ne),ue=bt.extend("--ft-typography-title-dense-font-size",re.fontSize,"14px"),xe=bt.extend("--ft-typography-title-dense-font-weight",re.fontWeight,"normal"),ve=bt.extend("--ft-typography-title-dense-letter-spacing",re.letterSpacing,"0.105px"),be=bt.extend("--ft-typography-title-dense-line-height",re.lineHeight,"1.7"),ye=bt.extend("--ft-typography-title-dense-text-transform",re.textTransform,"inherit"),me=bt.extend("--ft-typography-subtitle1-font-family",se),ge=bt.extend("--ft-typography-subtitle1-font-size",re.fontSize,"16px"),we=bt.extend("--ft-typography-subtitle1-font-weight",re.fontWeight,"600"),$e=bt.extend("--ft-typography-subtitle1-letter-spacing",re.letterSpacing,"0.144px"),Oe=bt.extend("--ft-typography-subtitle1-line-height",re.lineHeight,"1.5"),ke=bt.extend("--ft-typography-subtitle1-text-transform",re.textTransform,"inherit"),Se=bt.extend("--ft-typography-subtitle2-font-family",se),Ce=bt.extend("--ft-typography-subtitle2-font-size",re.fontSize,"14px"),Ne=bt.extend("--ft-typography-subtitle2-font-weight",re.fontWeight,"normal"),Ee=bt.extend("--ft-typography-subtitle2-letter-spacing",re.letterSpacing,"0.098px"),Me=bt.extend("--ft-typography-subtitle2-line-height",re.lineHeight,"1.7"),Re=bt.extend("--ft-typography-subtitle2-text-transform",re.textTransform,"inherit"),Ue=bt.extend("--ft-typography-body1-font-family",se),je=bt.extend("--ft-typography-body1-font-size",re.fontSize,"16px"),Fe=bt.extend("--ft-typography-body1-font-weight",re.fontWeight,"normal"),ze=bt.extend("--ft-typography-body1-letter-spacing",re.letterSpacing,"0.496px"),Be=bt.extend("--ft-typography-body1-line-height",re.lineHeight,"1.5"),Ae=bt.extend("--ft-typography-body1-text-transform",re.textTransform,"inherit"),Te=bt.extend("--ft-typography-body2-font-family",se),Pe=bt.extend("--ft-typography-body2-font-size",re.fontSize,"14px"),Le=bt.extend("--ft-typography-body2-font-weight",re.fontWeight,"normal"),Ie=bt.extend("--ft-typography-body2-letter-spacing",re.letterSpacing,"0.252px"),_e=bt.extend("--ft-typography-body2-line-height",re.lineHeight,"1.4"),De=bt.extend("--ft-typography-body2-text-transform",re.textTransform,"inherit"),We=bt.extend("--ft-typography-caption-font-family",se),He=bt.extend("--ft-typography-caption-font-size",re.fontSize,"12px"),Ke=bt.extend("--ft-typography-caption-font-weight",re.fontWeight,"normal"),Ze=bt.extend("--ft-typography-caption-letter-spacing",re.letterSpacing,"0.396px"),Ve=bt.extend("--ft-typography-caption-line-height",re.lineHeight,"1.33"),Je=bt.extend("--ft-typography-caption-text-transform",re.textTransform,"inherit"),qe=bt.extend("--ft-typography-breadcrumb-font-family",se),Xe=bt.extend("--ft-typography-breadcrumb-font-size",re.fontSize,"10px"),Ye=bt.extend("--ft-typography-breadcrumb-font-weight",re.fontWeight,"normal"),Ge=bt.extend("--ft-typography-breadcrumb-letter-spacing",re.letterSpacing,"0.33px"),Qe=bt.extend("--ft-typography-breadcrumb-line-height",re.lineHeight,"1.6"),ti=bt.extend("--ft-typography-breadcrumb-text-transform",re.textTransform,"inherit"),ei=bt.extend("--ft-typography-overline-font-family",se),ii=bt.extend("--ft-typography-overline-font-size",re.fontSize,"10px"),oi=bt.extend("--ft-typography-overline-font-weight",re.fontWeight,"normal"),ni=bt.extend("--ft-typography-overline-letter-spacing",re.letterSpacing,"1.5px"),si=bt.extend("--ft-typography-overline-line-height",re.lineHeight,"1.6"),ri=bt.extend("--ft-typography-overline-text-transform",re.textTransform,"uppercase"),ai={fontFamily:bt.extend("--ft-typography-button-font-family",se),fontSize:bt.extend("--ft-typography-button-font-size",re.fontSize,"14px"),fontWeight:bt.extend("--ft-typography-button-font-weight",re.fontWeight,"600"),letterSpacing:bt.extend("--ft-typography-button-letter-spacing",re.letterSpacing,"1.246px"),lineHeight:bt.extend("--ft-typography-button-line-height",re.lineHeight,"1.15"),textTransform:bt.extend("--ft-typography-button-text-transform",re.textTransform,"uppercase")},li=y`
|
|
267
267
|
.ft-typography--title {
|
|
268
|
-
font-family: ${
|
|
269
|
-
font-size: ${
|
|
270
|
-
font-weight: ${
|
|
271
|
-
letter-spacing: ${
|
|
272
|
-
line-height: ${
|
|
273
|
-
text-transform: ${
|
|
274
|
-
}
|
|
275
|
-
`,
|
|
268
|
+
font-family: ${ae};
|
|
269
|
+
font-size: ${le};
|
|
270
|
+
font-weight: ${he};
|
|
271
|
+
letter-spacing: ${ce};
|
|
272
|
+
line-height: ${pe};
|
|
273
|
+
text-transform: ${fe};
|
|
274
|
+
}
|
|
275
|
+
`,hi=y`
|
|
276
276
|
.ft-typography--title-dense {
|
|
277
|
-
font-family: ${
|
|
278
|
-
font-size: ${
|
|
279
|
-
font-weight: ${
|
|
280
|
-
letter-spacing: ${
|
|
281
|
-
line-height: ${
|
|
282
|
-
text-transform: ${
|
|
283
|
-
}
|
|
284
|
-
`,
|
|
277
|
+
font-family: ${de};
|
|
278
|
+
font-size: ${ue};
|
|
279
|
+
font-weight: ${xe};
|
|
280
|
+
letter-spacing: ${ve};
|
|
281
|
+
line-height: ${be};
|
|
282
|
+
text-transform: ${ye};
|
|
283
|
+
}
|
|
284
|
+
`,ci=y`
|
|
285
285
|
.ft-typography--subtitle1 {
|
|
286
|
-
font-family: ${
|
|
287
|
-
font-size: ${
|
|
288
|
-
font-weight: ${
|
|
289
|
-
letter-spacing: ${
|
|
290
|
-
line-height: ${
|
|
291
|
-
text-transform: ${
|
|
292
|
-
}
|
|
293
|
-
`,
|
|
286
|
+
font-family: ${me};
|
|
287
|
+
font-size: ${ge};
|
|
288
|
+
font-weight: ${we};
|
|
289
|
+
letter-spacing: ${$e};
|
|
290
|
+
line-height: ${Oe};
|
|
291
|
+
text-transform: ${ke};
|
|
292
|
+
}
|
|
293
|
+
`,pi=y`
|
|
294
294
|
.ft-typography--subtitle2 {
|
|
295
|
-
font-family: ${
|
|
296
|
-
font-size: ${
|
|
297
|
-
font-weight: ${
|
|
298
|
-
letter-spacing: ${
|
|
299
|
-
line-height: ${
|
|
300
|
-
text-transform: ${
|
|
295
|
+
font-family: ${Se};
|
|
296
|
+
font-size: ${Ce};
|
|
297
|
+
font-weight: ${Ne};
|
|
298
|
+
letter-spacing: ${Ee};
|
|
299
|
+
line-height: ${Me};
|
|
300
|
+
text-transform: ${Re};
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
`,
|
|
303
|
+
`,fi=y`
|
|
304
304
|
.ft-typography--body1 {
|
|
305
|
-
font-family: ${
|
|
306
|
-
font-size: ${
|
|
307
|
-
font-weight: ${
|
|
308
|
-
letter-spacing: ${
|
|
309
|
-
line-height: ${
|
|
310
|
-
text-transform: ${
|
|
311
|
-
}
|
|
312
|
-
`,
|
|
305
|
+
font-family: ${Ue};
|
|
306
|
+
font-size: ${je};
|
|
307
|
+
font-weight: ${Fe};
|
|
308
|
+
letter-spacing: ${ze};
|
|
309
|
+
line-height: ${Be};
|
|
310
|
+
text-transform: ${Ae};
|
|
311
|
+
}
|
|
312
|
+
`,di=y`
|
|
313
313
|
.ft-typography--body2 {
|
|
314
|
-
font-family: ${
|
|
315
|
-
font-size: ${
|
|
316
|
-
font-weight: ${
|
|
317
|
-
letter-spacing: ${
|
|
318
|
-
line-height: ${
|
|
319
|
-
text-transform: ${
|
|
320
|
-
}
|
|
321
|
-
`,
|
|
314
|
+
font-family: ${Te};
|
|
315
|
+
font-size: ${Pe};
|
|
316
|
+
font-weight: ${Le};
|
|
317
|
+
letter-spacing: ${Ie};
|
|
318
|
+
line-height: ${_e};
|
|
319
|
+
text-transform: ${De};
|
|
320
|
+
}
|
|
321
|
+
`,ui=y`
|
|
322
322
|
.ft-typography--caption {
|
|
323
|
-
font-family: ${
|
|
324
|
-
font-size: ${
|
|
325
|
-
font-weight: ${
|
|
326
|
-
letter-spacing: ${
|
|
327
|
-
line-height: ${
|
|
328
|
-
text-transform: ${
|
|
329
|
-
}
|
|
330
|
-
`,
|
|
323
|
+
font-family: ${We};
|
|
324
|
+
font-size: ${He};
|
|
325
|
+
font-weight: ${Ke};
|
|
326
|
+
letter-spacing: ${Ze};
|
|
327
|
+
line-height: ${Ve};
|
|
328
|
+
text-transform: ${Je};
|
|
329
|
+
}
|
|
330
|
+
`,xi=y`
|
|
331
331
|
.ft-typography--breadcrumb {
|
|
332
|
-
font-family: ${
|
|
333
|
-
font-size: ${
|
|
334
|
-
font-weight: ${
|
|
335
|
-
letter-spacing: ${
|
|
336
|
-
line-height: ${
|
|
337
|
-
text-transform: ${
|
|
338
|
-
}
|
|
339
|
-
`,
|
|
332
|
+
font-family: ${qe};
|
|
333
|
+
font-size: ${Xe};
|
|
334
|
+
font-weight: ${Ye};
|
|
335
|
+
letter-spacing: ${Ge};
|
|
336
|
+
line-height: ${Qe};
|
|
337
|
+
text-transform: ${ti};
|
|
338
|
+
}
|
|
339
|
+
`,vi=y`
|
|
340
340
|
.ft-typography--overline {
|
|
341
|
-
font-family: ${
|
|
342
|
-
font-size: ${
|
|
343
|
-
font-weight: ${
|
|
344
|
-
letter-spacing: ${
|
|
345
|
-
line-height: ${
|
|
346
|
-
text-transform: ${
|
|
347
|
-
}
|
|
348
|
-
`,
|
|
341
|
+
font-family: ${ei};
|
|
342
|
+
font-size: ${ii};
|
|
343
|
+
font-weight: ${oi};
|
|
344
|
+
letter-spacing: ${ni};
|
|
345
|
+
line-height: ${si};
|
|
346
|
+
text-transform: ${ri};
|
|
347
|
+
}
|
|
348
|
+
`,bi=y`
|
|
349
349
|
.ft-typography--button {
|
|
350
|
-
font-family: ${
|
|
351
|
-
font-size: ${
|
|
352
|
-
font-weight: ${
|
|
353
|
-
letter-spacing: ${
|
|
354
|
-
line-height: ${
|
|
355
|
-
text-transform: ${
|
|
356
|
-
}
|
|
357
|
-
`,
|
|
350
|
+
font-family: ${ai.fontFamily};
|
|
351
|
+
font-size: ${ai.fontSize};
|
|
352
|
+
font-weight: ${ai.fontWeight};
|
|
353
|
+
letter-spacing: ${ai.letterSpacing};
|
|
354
|
+
line-height: ${ai.lineHeight};
|
|
355
|
+
text-transform: ${ai.textTransform};
|
|
356
|
+
}
|
|
357
|
+
`,yi=y`
|
|
358
358
|
.ft-typography {
|
|
359
359
|
vertical-align: inherit;
|
|
360
360
|
}
|
|
361
|
-
`;var
|
|
362
|
-
<${
|
|
361
|
+
`;var mi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class gi extends Ct{constructor(){super(...arguments),this.variant=oe.body1}render(){return this.element?ie`
|
|
362
|
+
<${te(this.element)}
|
|
363
363
|
class="ft-typography ft-typography--${this.variant}">
|
|
364
364
|
<slot></slot>
|
|
365
|
-
</${
|
|
366
|
-
`:
|
|
365
|
+
</${te(this.element)}>
|
|
366
|
+
`:ie`
|
|
367
367
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
368
|
-
`}}
|
|
368
|
+
`}}gi.styles=[li,hi,ci,pi,fi,di,ui,xi,vi,bi,yi],mi([o()],gi.prototype,"element",void 0),mi([o()],gi.prototype,"variant",void 0),c("ft-typography")(gi);const wi=bt.create("--ft-tooltip-distance","SIZE","4px"),$i=bt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Oi=bt.create("--ft-tooltip-background-color","COLOR","#666666"),ki=bt.create("--ft-tooltip-z-index","NUMBER","100"),Si=bt.external(mt.borderRadiusS,"Design system"),Ci=bt.create("--ft-tooltip-max-width","SIZE","150px"),Ni=y`
|
|
369
369
|
.ft-tooltip--container {
|
|
370
370
|
display: block;
|
|
371
371
|
}
|
|
@@ -380,21 +380,21 @@ const Yt=Symbol.for(""),Gt=t=>{if((null==t?void 0:t.r)===Yt)return null==t?void
|
|
|
380
380
|
box-sizing: border-box;
|
|
381
381
|
overflow: hidden;
|
|
382
382
|
width: max-content;
|
|
383
|
-
max-width: ${
|
|
383
|
+
max-width: ${Ci};
|
|
384
384
|
text-align: center;
|
|
385
|
-
padding: ${
|
|
386
|
-
z-index: ${
|
|
385
|
+
padding: ${wi};
|
|
386
|
+
z-index: ${ki};
|
|
387
387
|
}
|
|
388
388
|
|
|
389
389
|
.ft-tooltip--content {
|
|
390
390
|
padding: 4px 8px;
|
|
391
|
-
border-radius: ${
|
|
392
|
-
background-color: ${
|
|
393
|
-
color: ${
|
|
391
|
+
border-radius: ${Si};
|
|
392
|
+
background-color: ${Oi};
|
|
393
|
+
color: ${$i};
|
|
394
394
|
position: relative;
|
|
395
395
|
word-break: break-word;
|
|
396
396
|
}
|
|
397
|
-
`;var
|
|
397
|
+
`;var Ei=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Mi extends Ct{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return X`
|
|
398
398
|
<div part="container"
|
|
399
399
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
400
400
|
@mouseenter=${this.onHover}
|
|
@@ -412,13 +412,13 @@ const Yt=Symbol.for(""),Gt=t=>{if((null==t?void 0:t.r)===Yt)return null==t?void
|
|
|
412
412
|
</div>
|
|
413
413
|
</div>
|
|
414
414
|
</div>
|
|
415
|
-
`}
|
|
415
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&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.validPosition){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=this.tooltip.offsetWidth,i=this.tooltip.offsetHeight,o=(t.offsetHeight-i)/2,n=(t.offsetWidth-e)/2;let s=0,r=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":r=t.offsetTop-i-this.tooltip.offsetTop,s=t.offsetLeft+n-this.tooltip.offsetLeft;break;case"bottom":r=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,s=t.offsetLeft+n-this.tooltip.offsetLeft;break;case"left":r=t.offsetTop+o-this.tooltip.offsetTop,s=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":r=t.offsetTop+o-this.tooltip.offsetTop,s=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const a=this.tooltip.style;a.left=s+"px",a.top=r+"px";const l=this.tooltip.getBoundingClientRect();let h=-l.x,c=l.x+l.width-window.innerWidth;a.left=s+Math.round(this.correctOutOfWindowPixels(h,c))+"px";let p=-l.y,f=l.y+l.height-window.innerHeight;a.top=r+Math.round(this.correctOutOfWindowPixels(p,f))+"px",a.maxWidth=`max(${t.offsetWidth}px, ${Ci})`}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())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Mi.elementDefinitions={"ft-typography":gi},Mi.styles=Ni,Ei([o()],Mi.prototype,"text",void 0),Ei([o({type:Boolean})],Mi.prototype,"manual",void 0),Ei([o({type:Boolean})],Mi.prototype,"inline",void 0),Ei([o({type:Number})],Mi.prototype,"delay",void 0),Ei([o()],Mi.prototype,"position",void 0),Ei([
|
|
416
416
|
/**
|
|
417
417
|
* @license
|
|
418
418
|
* Copyright 2017 Google LLC
|
|
419
419
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
420
420
|
*/
|
|
421
|
-
function(t,i
|
|
421
|
+
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?l(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)],Mi.prototype,"slotNodes",void 0),Ei([r(".ft-tooltip--container")],Mi.prototype,"container",void 0),Ei([r(".ft-tooltip")],Mi.prototype,"tooltip",void 0),Ei([r(".ft-tooltip--content")],Mi.prototype,"tooltipContent",void 0),Ei([n()],Mi.prototype,"visible",void 0),c("ft-tooltip")(Mi);const Ri={color:bt.extend("--ft-loader-color",mt.colorPrimary),size:bt.create("--ft-loader-size","SIZE","80px")},Ui=y`
|
|
422
422
|
:host {
|
|
423
423
|
line-height: 0;
|
|
424
424
|
}
|
|
@@ -427,8 +427,8 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
|
|
|
427
427
|
display: inline-block;
|
|
428
428
|
position: relative;
|
|
429
429
|
|
|
430
|
-
width: ${
|
|
431
|
-
height: ${
|
|
430
|
+
width: ${Ri.size};
|
|
431
|
+
height: ${Ri.size};
|
|
432
432
|
}
|
|
433
433
|
|
|
434
434
|
.ft-loader div {
|
|
@@ -437,7 +437,7 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
|
|
|
437
437
|
width: 25%;
|
|
438
438
|
height: 25%;
|
|
439
439
|
border-radius: 50%;
|
|
440
|
-
background: ${
|
|
440
|
+
background: ${Ri.color};
|
|
441
441
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
442
442
|
}
|
|
443
443
|
|
|
@@ -484,23 +484,23 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
|
|
|
484
484
|
transform: translate(0, 0);
|
|
485
485
|
}
|
|
486
486
|
100% {
|
|
487
|
-
transform: translate(calc(0.35 * ${
|
|
487
|
+
transform: translate(calc(0.35 * ${Ri.size}), 0);
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
`;class
|
|
490
|
+
`;class ji extends Ct{render(){return X`
|
|
491
491
|
<div class="ft-loader">
|
|
492
492
|
<div></div>
|
|
493
493
|
<div></div>
|
|
494
494
|
<div></div>
|
|
495
495
|
<div></div>
|
|
496
496
|
</div>
|
|
497
|
-
`}}
|
|
497
|
+
`}}ji.styles=Ui,c("ft-loader")(ji);
|
|
498
498
|
/**
|
|
499
499
|
* @license
|
|
500
500
|
* Copyright 2017 Google LLC
|
|
501
501
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
502
502
|
*/
|
|
503
|
-
class
|
|
503
|
+
class Fi extends Lt{constructor(t){if(super(t),this.et=G,t.type!==Tt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===G||null==t)return this.ft=void 0,this.et=t;if(t===Y)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Fi.directiveName="unsafeHTML",Fi.resultType=1;const zi=Pt(Fi);var Bi,Ai;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",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.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.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",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="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Bi||(Bi={})),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=""}(Ai||(Ai={})),new Map([...["abw"].map((t=>[t,Ai.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,Ai.AUDIO])),...["avi"].map((t=>[t,Ai.AVI])),...["chm","xhs"].map((t=>[t,Ai.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,Ai.CODE])),...["csv"].map((t=>[t,Ai.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ai.DITA])),...["epub"].map((t=>[t,Ai.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ai.EXCEL])),...["flac"].map((t=>[t,Ai.FLAC])),...["gif"].map((t=>[t,Ai.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ai.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ai.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,Ai.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ai.JPEG])),...["json"].map((t=>[t,Ai.JSON])),...["m4a","m4p"].map((t=>[t,Ai.M4A])),...["mov","qt"].map((t=>[t,Ai.MOV])),...["mp3"].map((t=>[t,Ai.MP3])),...["mp4","m4v"].map((t=>[t,Ai.MP4])),...["ogg","oga"].map((t=>[t,Ai.OGG])),...["pdf","ps"].map((t=>[t,Ai.PDF])),...["png"].map((t=>[t,Ai.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ai.POWERPOINT])),...["rar"].map((t=>[t,Ai.RAR])),...["stp"].map((t=>[t,Ai.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ai.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,Ai.VIDEO])),...["wav"].map((t=>[t,Ai.WAV])),...["wma"].map((t=>[t,Ai.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ai.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ai.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ai.YAML])),...["zip"].map((t=>[t,Ai.ZIP]))]);const Ti={size:bt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:bt.extend("--ft-icon-fluid-topics-font-family",bt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:bt.extend("--ft-icon-file-format-font-family",bt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:bt.extend("--ft-icon-material-font-family",bt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:bt.create("--ft-icon-vertical-align","UNKNOWN","unset")},Pi=y`
|
|
504
504
|
:host, i.ft-icon {
|
|
505
505
|
display: inline-flex;
|
|
506
506
|
align-items: center;
|
|
@@ -509,14 +509,14 @@ class je extends Pt{constructor(t){if(super(t),this.et=G,t.type!==At)throw Error
|
|
|
509
509
|
}
|
|
510
510
|
|
|
511
511
|
:host {
|
|
512
|
-
width: ${
|
|
513
|
-
height: ${
|
|
512
|
+
width: ${Ti.size};
|
|
513
|
+
height: ${Ti.size};
|
|
514
514
|
}
|
|
515
515
|
|
|
516
516
|
i.ft-icon {
|
|
517
517
|
width: 100%;
|
|
518
518
|
height: 100%;
|
|
519
|
-
font-size: ${
|
|
519
|
+
font-size: ${Ti.size};
|
|
520
520
|
line-height: 1;
|
|
521
521
|
font-weight: normal;
|
|
522
522
|
text-transform: none;
|
|
@@ -527,33 +527,33 @@ class je extends Pt{constructor(t){if(super(t),this.et=G,t.type!==At)throw Error
|
|
|
527
527
|
text-rendering: auto;
|
|
528
528
|
-webkit-font-smoothing: antialiased;
|
|
529
529
|
-moz-osx-font-smoothing: grayscale;
|
|
530
|
-
vertical-align: ${
|
|
530
|
+
vertical-align: ${Ti.verticalAlign};
|
|
531
531
|
}
|
|
532
532
|
|
|
533
533
|
i.ft-icon.ft-icon--fluid-topics {
|
|
534
|
-
font-family: ${
|
|
534
|
+
font-family: ${Ti.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
535
535
|
|
|
536
536
|
/* Ugly fix because font is broken */
|
|
537
|
-
font-size: calc(0.75 * ${
|
|
538
|
-
line-height: ${
|
|
537
|
+
font-size: calc(0.75 * ${Ti.size});
|
|
538
|
+
line-height: ${Ti.size};
|
|
539
539
|
position: relative;
|
|
540
540
|
top: -4%;
|
|
541
541
|
justify-content: center;
|
|
542
542
|
}
|
|
543
543
|
|
|
544
544
|
.ft-icon--file-format {
|
|
545
|
-
font-family: ${
|
|
545
|
+
font-family: ${Ti.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
546
546
|
}
|
|
547
547
|
|
|
548
548
|
.ft-icon--material {
|
|
549
|
-
font-family: ${
|
|
549
|
+
font-family: ${Ti.materialFontFamily}, "Material Icons", sans-serif;
|
|
550
550
|
}
|
|
551
|
-
`;var
|
|
551
|
+
`;var Li;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Li||(Li={}));var Ii=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class _i extends Ct{constructor(){super(...arguments),this.resolvedIcon=G}render(){const t=this.variant&&Object.values(Li).includes(this.variant)?this.variant:Li.fluid_topics,e=t!==Li.material||!!this.value;return X`
|
|
552
552
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
553
|
-
${
|
|
554
|
-
<slot ?hidden=${
|
|
553
|
+
${zi(this.resolvedIcon)}
|
|
554
|
+
<slot ?hidden=${e}></slot>
|
|
555
555
|
</i>
|
|
556
|
-
`}get textContent(){var t,
|
|
556
|
+
`}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:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case Li.file_format:this.resolvedIcon=null!==(t=Ai[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Li.material:this.resolvedIcon=this.value||G;break;default:this.resolvedIcon=null!==(e=Bi[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}_i.elementDefinitions={},_i.styles=Pi,Ii([o()],_i.prototype,"variant",void 0),Ii([o()],_i.prototype,"value",void 0),Ii([n()],_i.prototype,"resolvedIcon",void 0),Ii([r("slot")],_i.prototype,"slottedContent",void 0),c("ft-icon")(_i);const Di=bt.extend("--ft-button-color",mt.colorPrimary),Wi={backgroundColor:bt.extend("--ft-button-background-color",mt.colorSurface),borderRadius:bt.extend("--ft-button-border-radius",mt.borderRadiusL),color:Di,fontSize:bt.extend("--ft-button-font-size",ai.fontSize),iconSize:bt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:bt.extend("--ft-button-ripple-color",Di),verticalPadding:bt.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:bt.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:bt.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:bt.external(mt.colorOpacityDisabled,"Design system")},Hi=bt.extend("--ft-button-primary-color",bt.extend("--ft-button-color",mt.colorOnPrimary)),Ki={backgroundColor:bt.extend("--ft-button-primary-background-color",bt.extend("--ft-button-background-color",mt.colorPrimary)),color:Hi,rippleColor:bt.extend("--ft-button-primary-ripple-color",Hi)},Zi=bt.extend("--ft-button-dense-border-radius",bt.extend("--ft-button-border-radius",mt.borderRadiusM)),Vi=bt.create("--ft-button-dense-vertical-padding","SIZE","2px"),Ji=bt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),qi=bt.create("--ft-button-dense-icon-padding","SIZE","4px"),Xi=[y`
|
|
557
557
|
:host {
|
|
558
558
|
display: inline-block;
|
|
559
559
|
max-width: 100%;
|
|
@@ -564,7 +564,7 @@ class je extends Pt{constructor(t){if(super(t),this.et=G,t.type!==At)throw Error
|
|
|
564
564
|
box-shadow: 0px 0px 0px transparent;
|
|
565
565
|
border: 0px solid transparent;
|
|
566
566
|
text-shadow: 0px 0px 0px transparent;
|
|
567
|
-
font-size: ${
|
|
567
|
+
font-size: ${Wi.fontSize};
|
|
568
568
|
}
|
|
569
569
|
|
|
570
570
|
button:hover {
|
|
@@ -593,31 +593,31 @@ class je extends Pt{constructor(t){if(super(t),this.et=G,t.type!==At)throw Error
|
|
|
593
593
|
border: none;
|
|
594
594
|
pointer-events: auto;
|
|
595
595
|
|
|
596
|
-
--ft-button-internal-line-height: max(calc(${
|
|
597
|
-
--ft-button-internal-color: ${
|
|
598
|
-
${yt(
|
|
599
|
-
${yt(
|
|
596
|
+
--ft-button-internal-line-height: max(calc(${Wi.fontSize} + 2px), ${Wi.iconSize});
|
|
597
|
+
--ft-button-internal-color: ${Wi.color};
|
|
598
|
+
${yt(Ti.size,Wi.iconSize)};
|
|
599
|
+
${yt(Dt.color,Wi.rippleColor)};
|
|
600
600
|
|
|
601
|
-
border-radius: ${
|
|
602
|
-
padding: ${
|
|
603
|
-
background-color: ${
|
|
601
|
+
border-radius: ${Wi.borderRadius};
|
|
602
|
+
padding: ${Wi.verticalPadding} ${Wi.horizontalPadding};
|
|
603
|
+
background-color: ${Wi.backgroundColor};
|
|
604
604
|
color: var(--ft-button-internal-color);
|
|
605
605
|
-webkit-mask-image: radial-gradient(white, black);
|
|
606
606
|
}
|
|
607
607
|
|
|
608
608
|
.ft-button.ft-button--outlined {
|
|
609
609
|
border: 1px solid var(--ft-button-internal-color);
|
|
610
|
-
padding: calc(${
|
|
610
|
+
padding: calc(${Wi.verticalPadding} - 1px) calc(${Wi.horizontalPadding} - 1px);
|
|
611
611
|
}
|
|
612
612
|
|
|
613
613
|
.ft-button.ft-button--dense {
|
|
614
|
-
padding: ${
|
|
615
|
-
border-radius: ${
|
|
616
|
-
gap: ${
|
|
614
|
+
padding: ${Vi} ${Ji};
|
|
615
|
+
border-radius: ${Zi};
|
|
616
|
+
gap: ${qi};
|
|
617
617
|
}
|
|
618
618
|
|
|
619
619
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
620
|
-
padding: calc(${
|
|
620
|
+
padding: calc(${Vi} - 1px) calc(${Ji} - 1px);
|
|
621
621
|
}
|
|
622
622
|
|
|
623
623
|
.ft-button:not([disabled]):hover {
|
|
@@ -625,22 +625,22 @@ class je extends Pt{constructor(t){if(super(t),this.et=G,t.type!==At)throw Error
|
|
|
625
625
|
}
|
|
626
626
|
|
|
627
627
|
.ft-button--round {
|
|
628
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
628
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Wi.verticalPadding});
|
|
629
629
|
}
|
|
630
630
|
|
|
631
631
|
.ft-button--round.ft-button--dense {
|
|
632
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
632
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Vi});
|
|
633
633
|
}
|
|
634
634
|
|
|
635
635
|
.ft-button[disabled] {
|
|
636
636
|
filter: grayscale(1);
|
|
637
|
-
opacity: ${
|
|
637
|
+
opacity: ${Wi.opacityDisabled};
|
|
638
638
|
}
|
|
639
639
|
|
|
640
640
|
.ft-button.ft-button--primary {
|
|
641
|
-
background-color: ${
|
|
642
|
-
--ft-button-internal-color: ${
|
|
643
|
-
${yt(
|
|
641
|
+
background-color: ${Ki.backgroundColor};
|
|
642
|
+
--ft-button-internal-color: ${Ki.color};
|
|
643
|
+
${yt(Dt.color,Ki.rippleColor)};
|
|
644
644
|
}
|
|
645
645
|
|
|
646
646
|
.ft-button:focus {
|
|
@@ -653,13 +653,13 @@ class je extends Pt{constructor(t){if(super(t),this.et=G,t.type!==At)throw Error
|
|
|
653
653
|
white-space: nowrap;
|
|
654
654
|
text-overflow: ellipsis;
|
|
655
655
|
display: block;
|
|
656
|
-
margin: 0 ${
|
|
657
|
-
${yt(
|
|
658
|
-
${yt(
|
|
656
|
+
margin: 0 ${Wi.iconPadding};
|
|
657
|
+
${yt(ai.fontSize,"1em")};
|
|
658
|
+
${yt(ai.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
659
659
|
}
|
|
660
660
|
|
|
661
661
|
.ft-button--dense .ft-button--label {
|
|
662
|
-
margin: 0 ${
|
|
662
|
+
margin: 0 ${qi};
|
|
663
663
|
}
|
|
664
664
|
|
|
665
665
|
.ft-button--label[hidden] {
|
|
@@ -672,13 +672,13 @@ class je extends Pt{constructor(t){if(super(t),this.et=G,t.type!==At)throw Error
|
|
|
672
672
|
}
|
|
673
673
|
|
|
674
674
|
.ft-button--label[hidden] + ft-icon {
|
|
675
|
-
margin: 0 calc(${
|
|
676
|
-
padding: 0 ${
|
|
675
|
+
margin: 0 calc(${Wi.horizontalPadding} * -1);
|
|
676
|
+
padding: 0 ${Wi.verticalPadding};
|
|
677
677
|
}
|
|
678
678
|
|
|
679
679
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
680
|
-
margin: 0 calc(${
|
|
681
|
-
padding: 0 ${
|
|
680
|
+
margin: 0 calc(${Ji} * -1);
|
|
681
|
+
padding: 0 ${Vi};
|
|
682
682
|
}
|
|
683
683
|
|
|
684
684
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -687,33 +687,33 @@ class je extends Pt{constructor(t){if(super(t),this.et=G,t.type!==At)throw Error
|
|
|
687
687
|
}
|
|
688
688
|
|
|
689
689
|
ft-loader {
|
|
690
|
-
${yt(
|
|
691
|
-
${yt(
|
|
690
|
+
${yt(Ri.size,Wi.iconSize)};
|
|
691
|
+
${yt(Ri.color,"var(--ft-button-internal-color)")};
|
|
692
692
|
}
|
|
693
|
-
`,Nt];var
|
|
693
|
+
`,Nt];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,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Gi extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Mt].form}constructor(...t){super(t),this[Mt]=this.attachInternals(),this[Mt].role=e}setFormValue(t){this[Mt].setFormValue(t)}}}(Ct,"button")){constructor(){super(...arguments),this.role="button",this.type="button",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.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}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-no-text-select":!0};return this.addTooltipIfNeeded(X`
|
|
694
694
|
<button part="button"
|
|
695
|
-
class="${
|
|
695
|
+
class="${It(t)}"
|
|
696
696
|
aria-label="${this.getLabel()}"
|
|
697
697
|
?disabled=${this.isDisabled()}>
|
|
698
698
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
699
699
|
<ft-typography part="label"
|
|
700
700
|
variant="button"
|
|
701
701
|
element="span"
|
|
702
|
-
class="ft-button--label ${
|
|
702
|
+
class="ft-button--label ${Ft?"ft-safari-ellipsis-fix":""}"
|
|
703
703
|
?hidden=${!this.hasTextContent()}>
|
|
704
704
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
705
705
|
</ft-typography>
|
|
706
706
|
${this.resolveIcon()}
|
|
707
707
|
</button>
|
|
708
708
|
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?X`
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
709
|
+
<ft-tooltip part="tooltip"
|
|
710
|
+
text="${this.getLabel()}"
|
|
711
|
+
position="${this.tooltipPosition}">
|
|
712
|
+
${t}
|
|
713
|
+
</ft-tooltip>
|
|
714
714
|
`:t}resolveIcon(){return this.loading?X`
|
|
715
715
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?X`
|
|
716
|
-
|
|
716
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:G}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}}Gi.elementDefinitions={"ft-ripple":Yt,"ft-tooltip":Mi,"ft-typography":gi,"ft-icon":_i,"ft-loader":ji},Gi.styles=[Et,Xi],Yi([o({type:String,reflect:!0})],Gi.prototype,"role",void 0),Yi([o()],Gi.prototype,"type",void 0),Yi([o({type:Boolean})],Gi.prototype,"primary",void 0),Yi([o({type:Boolean})],Gi.prototype,"outlined",void 0),Yi([o({type:Boolean})],Gi.prototype,"disabled",void 0),Yi([o({type:Boolean})],Gi.prototype,"dense",void 0),Yi([o({type:Boolean})],Gi.prototype,"round",void 0),Yi([o()],Gi.prototype,"label",void 0),Yi([o()],Gi.prototype,"icon",void 0),Yi([o()],Gi.prototype,"iconVariant",void 0),Yi([o({type:Boolean})],Gi.prototype,"trailingIcon",void 0),Yi([o({type:Boolean})],Gi.prototype,"loading",void 0),Yi([o()],Gi.prototype,"tooltipPosition",void 0),Yi([o({type:Boolean})],Gi.prototype,"hideTooltip",void 0),Yi([o({type:Boolean})],Gi.prototype,"forceTooltip",void 0),Yi([r(".ft-button")],Gi.prototype,"button",void 0),Yi([r(".ft-button--label slot")],Gi.prototype,"slottedContent",void 0),c("ft-button")(Gi);const Qi={iconColor:bt.extend("--ft-floating-menu-icon-color",mt.colorOnSurfaceMedium)},to=y`
|
|
717
717
|
.ft-floating-menu-item {
|
|
718
718
|
cursor: pointer;
|
|
719
719
|
display: flex;
|
|
@@ -728,7 +728,7 @@ class je extends Pt{constructor(t){if(super(t),this.et=G,t.type!==At)throw Error
|
|
|
728
728
|
}
|
|
729
729
|
|
|
730
730
|
.ft-floating-menu-item ft-icon {
|
|
731
|
-
color: ${
|
|
731
|
+
color: ${Qi.iconColor};
|
|
732
732
|
margin-left: 0;
|
|
733
733
|
flex-shrink: 0;
|
|
734
734
|
flex-grow: 0;
|
|
@@ -743,7 +743,7 @@ class je extends Pt{constructor(t){if(super(t),this.et=G,t.type!==At)throw Error
|
|
|
743
743
|
word-break: break-word;
|
|
744
744
|
hyphens: auto;
|
|
745
745
|
}
|
|
746
|
-
`;var
|
|
746
|
+
`;var eo=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class io extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class oo extends Ct{constructor(){super(...arguments),this.value=""}render(){return X`
|
|
747
747
|
<div class="ft-floating-menu-item"
|
|
748
748
|
@click=${this.onClick}>
|
|
749
749
|
<ft-ripple></ft-ripple>
|
|
@@ -754,8 +754,8 @@ class je extends Pt{constructor(t){if(super(t),this.et=G,t.type!==At)throw Error
|
|
|
754
754
|
<slot></slot>
|
|
755
755
|
</ft-typography>
|
|
756
756
|
</div>
|
|
757
|
-
`}onClick(t){this.dispatchEvent(new io(this.value))}}
|
|
758
|
-
<div class="${
|
|
757
|
+
`}onClick(t){this.dispatchEvent(new io(this.value))}}oo.elementDefinitions={"ft-icon":_i,"ft-ripple":Yt,"ft-typography":gi},oo.styles=to,eo([o()],oo.prototype,"iconVariant",void 0),eo([o()],oo.prototype,"icon",void 0),eo([o()],oo.prototype,"value",void 0);var no=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class so extends CustomEvent{constructor(){super("close-ft-floating-menu")}}class ro extends Ct{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.iconVariant=Li.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptions=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container),this.menuOpen||document.removeEventListener("click",this.hideOptions)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return X`
|
|
758
|
+
<div class="${It(t)}">
|
|
759
759
|
<ft-button id="actions-button"
|
|
760
760
|
part="button"
|
|
761
761
|
dense round
|
|
@@ -780,4 +780,4 @@ class je extends Pt{constructor(t){if(super(t),this.et=G,t.type!==At)throw Error
|
|
|
780
780
|
</div>
|
|
781
781
|
</div>
|
|
782
782
|
</div>
|
|
783
|
-
`}onClick(){this.menuOpen=!this.menuOpen,setTimeout((()=>document.addEventListener("click",this.hideOptions)))}onClickItem(){this.closeMenu()}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(function(t,i
|
|
783
|
+
`}onClick(){this.menuOpen=!this.menuOpen,setTimeout((()=>document.addEventListener("click",this.hideOptions)))}onClickItem(){this.closeMenu()}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(function(t,e,i){if(e.length>0){const o=t.composedPath();for(let t of o){if(t===i)return!1;if(t.matches&&e.some((e=>t.matches(e))))return!0}}return!1})(t,this.closeMenuMatchers,this)&&(this.closeMenu(),t.stopPropagation())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}contentAvailableCallback(t){super.contentAvailableCallback(t),["menuOpen"].some((e=>t.has(e)))&&this.menuOpen&&(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper())}positionMenuWrapper(){const t=this.menuContent.offsetWidth,e=this.menuContent.offsetHeight,i=this.actionButton.offsetWidth,o=this.actionButton.offsetHeight;let n=0,s=0;switch(this.menuWrapper.style.left="0",this.menuWrapper.style.top="0",this.horizontalAlignment){case"left":n=this.actionButton.offsetLeft-this.menuWrapper.offsetLeft;break;case"right":n=this.actionButton.offsetLeft+i-t-this.menuWrapper.offsetLeft;break;case"center":n=this.actionButton.offsetLeft+i/2-t/2-this.menuWrapper.offsetLeft}switch(this.verticalAlignment){case"bottom":s=this.actionButton.offsetTop+o+4-this.menuWrapper.offsetTop;break;case"top":s=this.actionButton.offsetTop-e-4-this.menuWrapper.offsetTop}const r=this.menuWrapper.style;r.left=n+"px",r.top=s+"px";const a=this.menuWrapper.getBoundingClientRect();let l=-a.x,h=a.x+a.width-window.innerWidth;r.left=n+Math.round(this.correctOutOfWindowPixels(l,h))+"px";let c=-a.y,p=a.y+a.height-window.innerHeight;r.top=s+Math.round(this.correctOutOfWindowPixels(c,p))+"px",this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}ro.elementDefinitions={"ft-button":Gi,"ft-floating-menu-item":oo},ro.styles=Bt,no([n()],ro.prototype,"menuOpen",void 0),no([n()],ro.prototype,"forceMenuOpen",void 0),no([r(".ft-floating-menu")],ro.prototype,"container",void 0),no([r(".ft-floating-menu--wrapper")],ro.prototype,"menuWrapper",void 0),no([r("#ft-floating-menu-options")],ro.prototype,"menuContent",void 0),no([r("#actions-button")],ro.prototype,"actionButton",void 0),no([o()],ro.prototype,"label",void 0),no([o()],ro.prototype,"tooltipPosition",void 0),no([o()],ro.prototype,"iconVariant",void 0),no([o()],ro.prototype,"icon",void 0),no([o()],ro.prototype,"text",void 0),no([o()],ro.prototype,"horizontalAlignment",void 0),no([o()],ro.prototype,"verticalAlignment",void 0),no([o({type:Boolean})],ro.prototype,"disabled",void 0),no([p([])],ro.prototype,"closeMenuMatchers",void 0),c("ft-floating-menu")(ro),c("ft-floating-menu-item")(oo),t.FloatingMenuCloseEvent=so,t.FtFloatingMenu=ro,t.FtFloatingMenuCssVariables=zt,t.FtFloatingMenuItem=oo,t.FtFloatingMenuItemCssVariables=Qi,t.FtFloatingMenuItemSelect=io,t.itemStyles=to,t.styles=Bt}({});
|