@fluid-topics/ft-text-field 1.1.1 → 1.1.3
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-text-field.min.js +184 -180
- package/package.json +7 -7
|
@@ -12,43 +12,43 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
14
|
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=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,r){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(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=o.call(i,t);p||(p=f(t),e.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),g(t,c,!0)}const u=this._whenDefinedPromises.get(t);return void 0!==u&&(u.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){y.push(this),i.upgrade.apply(i,arguments),y.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 o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=p(o)||window.customElements,r=i._getDefinition(e);return r?g(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},g=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},u=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=u.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),y.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){y.push(this),o.set.call(this,t),y.pop()}})};if(m(Element,"innerHTML"),m(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,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=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,r){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(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=o.call(i,t);p||(p=f(t),e.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),g(t,c,!0)}const u=this._whenDefinedPromises.get(t);return void 0!==u&&(u.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){y.push(this),i.upgrade.apply(i,arguments),y.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 o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=p(o)||window.customElements,r=i._getDefinition(e);return r?g(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},g=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},u=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=u.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),y.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){y.push(this),o.set.call(this,t),y.pop()}})};if(m(Element,"innerHTML"),m(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,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Si){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
19
19
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
-
*/const
|
|
20
|
+
*/const e=globalThis,o=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),r=new WeakMap;const n=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==i)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(o&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&r.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,i),a=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return n(e)})(t):t
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:
|
|
25
|
+
*/,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:p,getOwnPropertySymbols:f,getPrototypeOf:h}=Object,d=globalThis,g=d.trustedTypes,u=g?g.emptyScript:"",y=d.reactiveElementPolyfillSupport,b=(t,e)=>t,m={toAttribute(t,e){switch(e){case Boolean:t=t?u:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},x=(t,e)=>!s(t,e),O={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x};Symbol.metadata??=Symbol("metadata"),d.litPropertyMetadata??=new WeakMap;let v=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=O){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&l(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,e=[...p(t),...f(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,i)=>{if(o)t.adoptedStyleSheets=i.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of i){const i=document.createElement("style"),r=e.litNonce;void 0!==r&&i.setAttribute("nonce",r),i.textContent=o.cssText,t.appendChild(i)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:m).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??x)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};v.elementStyles=[],v.shadowRootOptions={mode:"open"},v[b("elementProperties")]=new Map,v[b("finalized")]=new Map,y?.({ReactiveElement:v}),(d.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
29
29
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
30
|
*/
|
|
31
|
-
const
|
|
31
|
+
const N={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},S=(t=N,e,o)=>{const{kind:i,metadata:r}=o;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function w(t){return(e,o)=>"object"==typeof o?S(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
34
34
|
* Copyright 2017 Google LLC
|
|
35
35
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
-
*/}function
|
|
36
|
+
*/}function C(t){return w({...t,state:!0,attribute:!1})}
|
|
37
37
|
/**
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2017 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
-
*/const
|
|
41
|
+
*/const $=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
|
|
42
42
|
/**
|
|
43
43
|
* @license
|
|
44
44
|
* Copyright 2017 Google LLC
|
|
45
45
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
-
*/;function
|
|
46
|
+
*/;function E(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return $(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return $(0,0,{get(){return n(this)}})}}
|
|
47
47
|
/**
|
|
48
48
|
* @license
|
|
49
49
|
* Copyright 2021 Google LLC
|
|
50
50
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
-
*/function U(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 o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!U(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!U(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[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((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!U(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const I=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
|
|
51
|
+
*/class R{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 o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}function U(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 o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!U(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!U(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[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((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!U(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const I=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
|
|
52
52
|
/**
|
|
53
53
|
* @license
|
|
54
54
|
* Copyright 2017 Google LLC
|
|
@@ -82,7 +82,11 @@ class ue extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
82
82
|
* @license
|
|
83
83
|
* Copyright 2019 Google LLC
|
|
84
84
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
85
|
-
*/class $e extends ue{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ce?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=we.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Ee,Re=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ue=Symbol("constructorPrototype"),Ie=Symbol("constructorName"),ke=Symbol("exportpartsDebouncer");class We extends $e{constructor(){super(),this[Ee]=new
|
|
85
|
+
*/class $e extends ue{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ce?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=we.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Ee,Re=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ue=Symbol("constructorPrototype"),Ie=Symbol("constructorName"),ke=Symbol("exportpartsDebouncer");class We extends $e{constructor(){super(),this[Ee]=new R(5),this[Ie]=this.constructor.name,this[Ue]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ie]&&Object.setPrototypeOf(this,this[Ue])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).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[ke].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,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Ee=ke,Re([w()],We.prototype,"exportpartsPrefix",void 0),Re([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!U(t,e),...null!=e?e:{}})}([])],We.prototype,"exportpartsPrefixes",void 0),Re([w()],We.prototype,"customStylesheet",void 0);const Le=me.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");bt`
|
|
86
|
+
.highlight-html-match {
|
|
87
|
+
background: ${Le};
|
|
88
|
+
}
|
|
89
|
+
`,bt`
|
|
86
90
|
.ft-no-text-select {
|
|
87
91
|
-webkit-touch-callout: none;
|
|
88
92
|
-webkit-user-select: none;
|
|
@@ -114,118 +118,118 @@ class ue extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
114
118
|
display: inline-block;
|
|
115
119
|
width: 0;
|
|
116
120
|
}
|
|
117
|
-
`,window.ftReduxStores||(window.ftReduxStores={});const
|
|
121
|
+
`,window.ftReduxStores||(window.ftReduxStores={});const Ke=Symbol("elementInternals");var ze,Ze;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Ze=null===(ze=window.safari)||void 0===ze?void 0:ze.pushNotification)||void 0===Ze||Ze.toString());
|
|
118
122
|
/**
|
|
119
123
|
* @license
|
|
120
124
|
* Copyright 2017 Google LLC
|
|
121
125
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
122
126
|
*/
|
|
123
|
-
const
|
|
127
|
+
const Fe=1,De=2,Ae=t=>(...e)=>({_$litDirective$:t,values:e});let Me=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
124
128
|
/**
|
|
125
129
|
* @license
|
|
126
130
|
* Copyright 2018 Google LLC
|
|
127
131
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
128
|
-
*/const
|
|
132
|
+
*/const Be=Ae(class extends Me{constructor(t){if(super(t),t.type!==Fe||"class"!==t.name||t.strings?.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]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return q}}),Pe=Symbol.for(""),He=t=>{if(t?.r===Pe)return t?._$litStatic$},je=t=>({_$litStatic$:t,r:Pe}),_e=new Map,Te=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=He(n));)l+=r+e[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),p){const t=a.join("$$lit$$");void 0===(e=_e.get(t))&&(a.raw=a,_e.set(t,e=a)),o=s}return t(e,...o)})(J);
|
|
129
133
|
/**
|
|
130
134
|
* @license
|
|
131
135
|
* Copyright 2018 Google LLC
|
|
132
136
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
133
|
-
*/var
|
|
137
|
+
*/var Ge;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Ge||(Ge={}));const Ve=me.extend("--ft-typography-font-family","",Se.titleFont),Ye=me.extend("--ft-typography-font-family","",Se.contentFont),Je={fontFamily:Ye,fontSize:me.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:me.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:me.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:me.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:me.create("--ft-typography-text-transform","","UNKNOWN","inherit")},qe=me.extend("--ft-typography-title-font-family","",Ve),Xe=me.extend("--ft-typography-title-font-size","",Je.fontSize,"20px"),Qe=me.extend("--ft-typography-title-font-weight","",Je.fontWeight,"normal"),to=me.extend("--ft-typography-title-letter-spacing","",Je.letterSpacing,"0.15px"),eo=me.extend("--ft-typography-title-line-height","",Je.lineHeight,"1.2"),oo=me.extend("--ft-typography-title-text-transform","",Je.textTransform,"inherit"),io=me.extend("--ft-typography-title-dense-font-family","",Ve),ro=me.extend("--ft-typography-title-dense-font-size","",Je.fontSize,"14px"),no=me.extend("--ft-typography-title-dense-font-weight","",Je.fontWeight,"normal"),ao=me.extend("--ft-typography-title-dense-letter-spacing","",Je.letterSpacing,"0.105px"),so=me.extend("--ft-typography-title-dense-line-height","",Je.lineHeight,"1.7"),lo=me.extend("--ft-typography-title-dense-text-transform","",Je.textTransform,"inherit"),co=me.extend("--ft-typography-subtitle1-font-family","",Ye),po=me.extend("--ft-typography-subtitle1-font-size","",Je.fontSize,"16px"),fo=me.extend("--ft-typography-subtitle1-font-weight","",Je.fontWeight,"600"),ho=me.extend("--ft-typography-subtitle1-letter-spacing","",Je.letterSpacing,"0.144px"),go=me.extend("--ft-typography-subtitle1-line-height","",Je.lineHeight,"1.5"),uo=me.extend("--ft-typography-subtitle1-text-transform","",Je.textTransform,"inherit"),yo=me.extend("--ft-typography-subtitle2-font-family","",Ye),bo=me.extend("--ft-typography-subtitle2-font-size","",Je.fontSize,"14px"),mo=me.extend("--ft-typography-subtitle2-font-weight","",Je.fontWeight,"normal"),xo=me.extend("--ft-typography-subtitle2-letter-spacing","",Je.letterSpacing,"0.098px"),Oo=me.extend("--ft-typography-subtitle2-line-height","",Je.lineHeight,"1.7"),vo=me.extend("--ft-typography-subtitle2-text-transform","",Je.textTransform,"inherit"),No={fontFamily:me.extend("--ft-typography-body1-font-family","",Ye),fontSize:me.extend("--ft-typography-body1-font-size","",Je.fontSize,"16px"),fontWeight:me.extend("--ft-typography-body1-font-weight","",Je.fontWeight,"normal"),letterSpacing:me.extend("--ft-typography-body1-letter-spacing","",Je.letterSpacing,"0.496px"),lineHeight:me.extend("--ft-typography-body1-line-height","",Je.lineHeight,"1.5"),textTransform:me.extend("--ft-typography-body1-text-transform","",Je.textTransform,"inherit")},So=me.extend("--ft-typography-body2-font-family","",Ye),wo=me.extend("--ft-typography-body2-font-size","",Je.fontSize,"14px"),Co=me.extend("--ft-typography-body2-font-weight","",Je.fontWeight,"normal"),$o=me.extend("--ft-typography-body2-letter-spacing","",Je.letterSpacing,"0.252px"),Eo=me.extend("--ft-typography-body2-line-height","",Je.lineHeight,"1.4"),Ro=me.extend("--ft-typography-body2-text-transform","",Je.textTransform,"inherit"),Uo={fontFamily:me.extend("--ft-typography-caption-font-family","",Ye),fontSize:me.extend("--ft-typography-caption-font-size","",Je.fontSize,"12px"),fontWeight:me.extend("--ft-typography-caption-font-weight","",Je.fontWeight,"normal"),letterSpacing:me.extend("--ft-typography-caption-letter-spacing","",Je.letterSpacing,"0.396px"),lineHeight:me.extend("--ft-typography-caption-line-height","",Je.lineHeight,"1.33"),textTransform:me.extend("--ft-typography-caption-text-transform","",Je.textTransform,"inherit")},Io=me.extend("--ft-typography-breadcrumb-font-family","",Ye),ko=me.extend("--ft-typography-breadcrumb-font-size","",Je.fontSize,"10px"),Wo=me.extend("--ft-typography-breadcrumb-font-weight","",Je.fontWeight,"normal"),Lo=me.extend("--ft-typography-breadcrumb-letter-spacing","",Je.letterSpacing,"0.33px"),Ko=me.extend("--ft-typography-breadcrumb-line-height","",Je.lineHeight,"1.6"),zo=me.extend("--ft-typography-breadcrumb-text-transform","",Je.textTransform,"inherit"),Zo=me.extend("--ft-typography-overline-font-family","",Ye),Fo=me.extend("--ft-typography-overline-font-size","",Je.fontSize,"10px"),Do=me.extend("--ft-typography-overline-font-weight","",Je.fontWeight,"normal"),Ao=me.extend("--ft-typography-overline-letter-spacing","",Je.letterSpacing,"1.5px"),Mo=me.extend("--ft-typography-overline-line-height","",Je.lineHeight,"1.6"),Bo=me.extend("--ft-typography-overline-text-transform","",Je.textTransform,"uppercase"),Po=me.extend("--ft-typography-button-font-family","",Ye),Ho=me.extend("--ft-typography-button-font-size","",Je.fontSize,"14px"),jo=me.extend("--ft-typography-button-font-weight","",Je.fontWeight,"600"),_o=me.extend("--ft-typography-button-letter-spacing","",Je.letterSpacing,"1.246px"),To=me.extend("--ft-typography-button-line-height","",Je.lineHeight,"1.15"),Go=me.extend("--ft-typography-button-text-transform","",Je.textTransform,"uppercase"),Vo=bt`
|
|
134
138
|
.ft-typography--title {
|
|
135
|
-
font-family: ${
|
|
136
|
-
font-size: ${
|
|
137
|
-
font-weight: ${
|
|
138
|
-
letter-spacing: ${
|
|
139
|
-
line-height: ${
|
|
140
|
-
text-transform: ${
|
|
141
|
-
}
|
|
142
|
-
`,Vo=bt`
|
|
143
|
-
.ft-typography--title-dense {
|
|
144
|
-
font-family: ${oo};
|
|
145
|
-
font-size: ${io};
|
|
146
|
-
font-weight: ${ro};
|
|
147
|
-
letter-spacing: ${no};
|
|
148
|
-
line-height: ${ao};
|
|
149
|
-
text-transform: ${so};
|
|
139
|
+
font-family: ${qe};
|
|
140
|
+
font-size: ${Xe};
|
|
141
|
+
font-weight: ${Qe};
|
|
142
|
+
letter-spacing: ${to};
|
|
143
|
+
line-height: ${eo};
|
|
144
|
+
text-transform: ${oo};
|
|
150
145
|
}
|
|
151
146
|
`,Yo=bt`
|
|
152
|
-
.ft-typography--
|
|
153
|
-
font-family: ${
|
|
154
|
-
font-size: ${
|
|
155
|
-
font-weight: ${
|
|
156
|
-
letter-spacing: ${
|
|
157
|
-
line-height: ${
|
|
158
|
-
text-transform: ${
|
|
147
|
+
.ft-typography--title-dense {
|
|
148
|
+
font-family: ${io};
|
|
149
|
+
font-size: ${ro};
|
|
150
|
+
font-weight: ${no};
|
|
151
|
+
letter-spacing: ${ao};
|
|
152
|
+
line-height: ${so};
|
|
153
|
+
text-transform: ${lo};
|
|
159
154
|
}
|
|
160
155
|
`,Jo=bt`
|
|
161
|
-
.ft-typography--
|
|
162
|
-
font-family: ${
|
|
163
|
-
font-size: ${
|
|
164
|
-
font-weight: ${
|
|
165
|
-
letter-spacing: ${
|
|
166
|
-
line-height: ${
|
|
167
|
-
text-transform: ${
|
|
156
|
+
.ft-typography--subtitle1 {
|
|
157
|
+
font-family: ${co};
|
|
158
|
+
font-size: ${po};
|
|
159
|
+
font-weight: ${fo};
|
|
160
|
+
letter-spacing: ${ho};
|
|
161
|
+
line-height: ${go};
|
|
162
|
+
text-transform: ${uo};
|
|
168
163
|
}
|
|
169
|
-
|
|
170
164
|
`,qo=bt`
|
|
171
|
-
.ft-typography--
|
|
172
|
-
font-family: ${
|
|
173
|
-
font-size: ${
|
|
174
|
-
font-weight: ${
|
|
175
|
-
letter-spacing: ${
|
|
176
|
-
line-height: ${
|
|
177
|
-
text-transform: ${vo
|
|
165
|
+
.ft-typography--subtitle2 {
|
|
166
|
+
font-family: ${yo};
|
|
167
|
+
font-size: ${bo};
|
|
168
|
+
font-weight: ${mo};
|
|
169
|
+
letter-spacing: ${xo};
|
|
170
|
+
line-height: ${Oo};
|
|
171
|
+
text-transform: ${vo};
|
|
178
172
|
}
|
|
173
|
+
|
|
179
174
|
`,Xo=bt`
|
|
180
|
-
.ft-typography--
|
|
181
|
-
font-family: ${No};
|
|
182
|
-
font-size: ${
|
|
183
|
-
font-weight: ${
|
|
184
|
-
letter-spacing: ${
|
|
185
|
-
line-height: ${
|
|
186
|
-
text-transform: ${
|
|
175
|
+
.ft-typography--body1 {
|
|
176
|
+
font-family: ${No.fontFamily};
|
|
177
|
+
font-size: ${No.fontSize};
|
|
178
|
+
font-weight: ${No.fontWeight};
|
|
179
|
+
letter-spacing: ${No.letterSpacing};
|
|
180
|
+
line-height: ${No.lineHeight};
|
|
181
|
+
text-transform: ${No.textTransform};
|
|
187
182
|
}
|
|
188
183
|
`,Qo=bt`
|
|
189
|
-
.ft-typography--
|
|
190
|
-
font-family: ${
|
|
191
|
-
font-size: ${
|
|
192
|
-
font-weight: ${
|
|
193
|
-
letter-spacing: ${
|
|
194
|
-
line-height: ${
|
|
195
|
-
text-transform: ${Ro
|
|
184
|
+
.ft-typography--body2 {
|
|
185
|
+
font-family: ${So};
|
|
186
|
+
font-size: ${wo};
|
|
187
|
+
font-weight: ${Co};
|
|
188
|
+
letter-spacing: ${$o};
|
|
189
|
+
line-height: ${Eo};
|
|
190
|
+
text-transform: ${Ro};
|
|
196
191
|
}
|
|
197
192
|
`,ti=bt`
|
|
198
|
-
.ft-typography--
|
|
199
|
-
font-family: ${Uo};
|
|
200
|
-
font-size: ${
|
|
201
|
-
font-weight: ${
|
|
202
|
-
letter-spacing: ${
|
|
203
|
-
line-height: ${
|
|
204
|
-
text-transform: ${
|
|
193
|
+
.ft-typography--caption {
|
|
194
|
+
font-family: ${Uo.fontFamily};
|
|
195
|
+
font-size: ${Uo.fontSize};
|
|
196
|
+
font-weight: ${Uo.fontWeight};
|
|
197
|
+
letter-spacing: ${Uo.letterSpacing};
|
|
198
|
+
line-height: ${Uo.lineHeight};
|
|
199
|
+
text-transform: ${Uo.textTransform};
|
|
205
200
|
}
|
|
206
201
|
`,ei=bt`
|
|
207
|
-
.ft-typography--
|
|
208
|
-
font-family: ${
|
|
209
|
-
font-size: ${
|
|
210
|
-
font-weight: ${
|
|
211
|
-
letter-spacing: ${
|
|
212
|
-
line-height: ${
|
|
213
|
-
text-transform: ${
|
|
202
|
+
.ft-typography--breadcrumb {
|
|
203
|
+
font-family: ${Io};
|
|
204
|
+
font-size: ${ko};
|
|
205
|
+
font-weight: ${Wo};
|
|
206
|
+
letter-spacing: ${Lo};
|
|
207
|
+
line-height: ${Ko};
|
|
208
|
+
text-transform: ${zo};
|
|
214
209
|
}
|
|
215
210
|
`,oi=bt`
|
|
216
|
-
.ft-typography--
|
|
217
|
-
font-family: ${
|
|
218
|
-
font-size: ${
|
|
219
|
-
font-weight: ${
|
|
220
|
-
letter-spacing: ${
|
|
221
|
-
line-height: ${
|
|
222
|
-
text-transform: ${
|
|
211
|
+
.ft-typography--overline {
|
|
212
|
+
font-family: ${Zo};
|
|
213
|
+
font-size: ${Fo};
|
|
214
|
+
font-weight: ${Do};
|
|
215
|
+
letter-spacing: ${Ao};
|
|
216
|
+
line-height: ${Mo};
|
|
217
|
+
text-transform: ${Bo};
|
|
223
218
|
}
|
|
224
219
|
`,ii=bt`
|
|
220
|
+
.ft-typography--button {
|
|
221
|
+
font-family: ${Po};
|
|
222
|
+
font-size: ${Ho};
|
|
223
|
+
font-weight: ${jo};
|
|
224
|
+
letter-spacing: ${_o};
|
|
225
|
+
line-height: ${To};
|
|
226
|
+
text-transform: ${Go};
|
|
227
|
+
}
|
|
228
|
+
`,ri=bt`
|
|
225
229
|
.ft-typography {
|
|
226
230
|
vertical-align: inherit;
|
|
227
231
|
}
|
|
228
|
-
`,
|
|
232
|
+
`,ni=[Object.keys(ve).map((t=>function(t){const e=ve[t];return bt`
|
|
229
233
|
.ft-typography--${yt(t)} {
|
|
230
234
|
font-family: ${e.fontFamily};
|
|
231
235
|
font-size: ${e.fontSize};
|
|
@@ -234,32 +238,32 @@ const Ze=1,Fe=2,De=t=>(...e)=>({_$litDirective$:t,values:e});let Ae=class{constr
|
|
|
234
238
|
line-height: ${e.lineHeight};
|
|
235
239
|
text-transform: ${e.textCase};
|
|
236
240
|
}
|
|
237
|
-
`}(t)))];var
|
|
238
|
-
<${
|
|
241
|
+
`}(t)))];var ai=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class si extends We{constructor(){super(...arguments),this.variant=Ge.body1}render(){return this.element?Te`
|
|
242
|
+
<${je(this.element)}
|
|
239
243
|
class="ft-typography ft-typography--${this.variant}">
|
|
240
244
|
<slot></slot>
|
|
241
|
-
</${
|
|
242
|
-
`:
|
|
245
|
+
</${je(this.element)}>
|
|
246
|
+
`:Te`
|
|
243
247
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
244
|
-
`}}
|
|
248
|
+
`}}si.styles=[Vo,Yo,Jo,qo,Xo,Qo,ti,ei,oi,ii,ri,...ni],ai([w()],si.prototype,"element",void 0),ai([w()],si.prototype,"variant",void 0),I("ft-typography")(si);const li={fontSize:me.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:me.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:me.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:me.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:me.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:me.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:me.extend("--ft-input-label-border-color","",Se.colorOutline),textColor:me.extend("--ft-input-label-text-color","",Se.colorOnSurfaceMedium),disabledTextColor:me.extend("--ft-input-label-disabled-text-color","",Se.colorOnSurfaceDisabled),colorSurface:me.external(Se.colorSurface,"Design system"),borderRadiusS:me.external(Se.borderRadiusS,"Design system"),colorError:me.external(Se.colorError,"Design system")},ci=bt`
|
|
245
249
|
.ft-input-label {
|
|
246
250
|
position: absolute;
|
|
247
251
|
inset: 0;
|
|
248
252
|
display: flex;
|
|
249
|
-
background-color: ${
|
|
250
|
-
border-radius: ${
|
|
253
|
+
background-color: ${li.colorSurface};
|
|
254
|
+
border-radius: ${li.borderRadiusS} ${li.borderRadiusS} 0 0;
|
|
251
255
|
}
|
|
252
256
|
|
|
253
257
|
.ft-input-label--outlined {
|
|
254
|
-
border-radius: ${
|
|
258
|
+
border-radius: ${li.borderRadiusS};
|
|
255
259
|
}
|
|
256
260
|
|
|
257
261
|
.ft-input-label {
|
|
258
|
-
border-color: ${
|
|
262
|
+
border-color: ${li.borderColor};
|
|
259
263
|
}
|
|
260
264
|
|
|
261
265
|
.ft-input-label.ft-input-label--in-error {
|
|
262
|
-
border-color: ${
|
|
266
|
+
border-color: ${li.colorError}
|
|
263
267
|
}
|
|
264
268
|
|
|
265
269
|
.ft-input-label:before,
|
|
@@ -272,7 +276,7 @@ const Ze=1,Fe=2,De=t=>(...e)=>({_$litDirective$:t,values:e});let Ae=class{constr
|
|
|
272
276
|
}
|
|
273
277
|
|
|
274
278
|
.ft-input-label:before {
|
|
275
|
-
width: calc(${
|
|
279
|
+
width: calc(${li.horizontalSpacing} - 4px);
|
|
276
280
|
flex-shrink: 0;
|
|
277
281
|
}
|
|
278
282
|
|
|
@@ -288,20 +292,20 @@ const Ze=1,Fe=2,De=t=>(...e)=>({_$litDirective$:t,values:e});let Ae=class{constr
|
|
|
288
292
|
border-bottom-width: 1px;
|
|
289
293
|
border-bottom-style: solid;
|
|
290
294
|
border-color: inherit;
|
|
291
|
-
color: ${
|
|
295
|
+
color: ${li.textColor};
|
|
292
296
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
293
|
-
max-width: calc(${
|
|
297
|
+
max-width: calc(${li.labelMaxWidth} - 2 * (${li.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
294
298
|
text-overflow: ellipsis;
|
|
295
|
-
${xe(
|
|
296
|
-
${xe(
|
|
299
|
+
${xe(Uo.fontSize,li.fontSize)};
|
|
300
|
+
${xe(Uo.lineHeight,li.fontSize)};
|
|
297
301
|
}
|
|
298
302
|
|
|
299
303
|
.ft-input-label--in-error .ft-input-label--text {
|
|
300
|
-
color: ${
|
|
304
|
+
color: ${li.colorError}
|
|
301
305
|
}
|
|
302
306
|
|
|
303
307
|
.ft-input-label--disabled .ft-input-label--text {
|
|
304
|
-
color: ${
|
|
308
|
+
color: ${li.disabledTextColor};
|
|
305
309
|
}
|
|
306
310
|
|
|
307
311
|
.ft-input-label--hidden-text {
|
|
@@ -318,19 +322,19 @@ const Ze=1,Fe=2,De=t=>(...e)=>({_$litDirective$:t,values:e});let Ae=class{constr
|
|
|
318
322
|
overflow: hidden;
|
|
319
323
|
white-space: nowrap;
|
|
320
324
|
text-overflow: ellipsis;
|
|
321
|
-
padding: ${
|
|
322
|
-
margin: calc(${
|
|
325
|
+
padding: ${li.verticalSpacing} 4px;
|
|
326
|
+
margin: calc(${li.verticalSpacing} * -1) 0;
|
|
323
327
|
max-width: 100%;
|
|
324
328
|
box-sizing: border-box;
|
|
325
329
|
}
|
|
326
330
|
|
|
327
331
|
.ft-input-label--raised .ft-input-label--text {
|
|
328
|
-
${xe(
|
|
329
|
-
${xe(
|
|
332
|
+
${xe(Uo.fontSize,li.raisedFontSize)};
|
|
333
|
+
${xe(Uo.lineHeight,li.raisedFontSize)};
|
|
330
334
|
}
|
|
331
335
|
|
|
332
336
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
333
|
-
top: ${
|
|
337
|
+
top: ${li.verticalSpacing};
|
|
334
338
|
}
|
|
335
339
|
|
|
336
340
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -343,28 +347,28 @@ const Ze=1,Fe=2,De=t=>(...e)=>({_$litDirective$:t,values:e});let Ae=class{constr
|
|
|
343
347
|
.ft-input-label--outlined:before {
|
|
344
348
|
border-left-width: 1px;
|
|
345
349
|
border-left-style: solid;
|
|
346
|
-
border-radius: ${
|
|
350
|
+
border-radius: ${li.borderRadiusS} 0 0 ${li.borderRadiusS};
|
|
347
351
|
}
|
|
348
352
|
|
|
349
353
|
.ft-input-label--outlined:after {
|
|
350
354
|
border-right-width: 1px;
|
|
351
355
|
border-right-style: solid;
|
|
352
|
-
border-radius: 0 ${
|
|
356
|
+
border-radius: 0 ${li.borderRadiusS} ${li.borderRadiusS} 0;
|
|
353
357
|
}
|
|
354
358
|
|
|
355
359
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
356
360
|
padding: 2px 4px;
|
|
357
|
-
z-index: ${
|
|
358
|
-
background-color: ${
|
|
359
|
-
border-radius: ${
|
|
361
|
+
z-index: ${li.raisedZIndex};
|
|
362
|
+
background-color: ${li.colorSurface};
|
|
363
|
+
border-radius: ${li.borderRadiusS};
|
|
360
364
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
361
365
|
}
|
|
362
366
|
|
|
363
367
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
364
368
|
border-top: none;
|
|
365
369
|
}
|
|
366
|
-
`;var
|
|
367
|
-
<div class="${
|
|
370
|
+
`;var pi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class fi extends We{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return Qt`
|
|
371
|
+
<div class="${Be(t)}">
|
|
368
372
|
${this.text?Qt`
|
|
369
373
|
<div class="ft-input-label--text ft-typography--caption">
|
|
370
374
|
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
@@ -372,7 +376,7 @@ const Ze=1,Fe=2,De=t=>(...e)=>({_$litDirective$:t,values:e});let Ae=class{constr
|
|
|
372
376
|
</div>
|
|
373
377
|
`:null}
|
|
374
378
|
</div>
|
|
375
|
-
`}}
|
|
379
|
+
`}}fi.elementDefinitions={},fi.styles=[ti,ci],pi([w({type:String})],fi.prototype,"text",void 0),pi([w({type:Boolean})],fi.prototype,"raised",void 0),pi([w({type:Boolean})],fi.prototype,"outlined",void 0),pi([w({type:Boolean})],fi.prototype,"disabled",void 0),pi([w({type:Boolean})],fi.prototype,"error",void 0),I("ft-input-label")(fi);const hi=me.extend("--ft-ripple-color","",Se.colorContent),di={color:hi,backgroundColor:me.extend("--ft-ripple-background-color","",hi),opacityContentOnSurfacePressed:me.external(Se.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:me.external(Se.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:me.external(Se.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:me.external(Se.opacityContentOnSurfaceSelected,"Design system"),borderRadius:me.create("--ft-ripple-border-radius","","SIZE","0px")},gi=me.extend("--ft-ripple-color","",Se.colorPrimary),ui=gi,yi=me.extend("--ft-ripple-background-color","",gi),bi=me.extend("--ft-ripple-color","",Se.colorSecondary),mi=bi,xi=me.extend("--ft-ripple-background-color","",bi),Oi=bt`
|
|
376
380
|
:host {
|
|
377
381
|
display: contents;
|
|
378
382
|
}
|
|
@@ -385,7 +389,7 @@ const Ze=1,Fe=2,De=t=>(...e)=>({_$litDirective$:t,values:e});let Ae=class{constr
|
|
|
385
389
|
|
|
386
390
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
387
391
|
overflow: hidden;
|
|
388
|
-
border-radius: ${
|
|
392
|
+
border-radius: ${di.borderRadius};
|
|
389
393
|
}
|
|
390
394
|
|
|
391
395
|
.ft-ripple .ft-ripple--background,
|
|
@@ -419,27 +423,27 @@ const Ze=1,Fe=2,De=t=>(...e)=>({_$litDirective$:t,values:e});let Ae=class{constr
|
|
|
419
423
|
}
|
|
420
424
|
|
|
421
425
|
.ft-ripple .ft-ripple--background {
|
|
422
|
-
background-color: ${
|
|
426
|
+
background-color: ${di.backgroundColor};
|
|
423
427
|
}
|
|
424
428
|
|
|
425
429
|
.ft-ripple .ft-ripple--effect {
|
|
426
|
-
background-color: ${
|
|
430
|
+
background-color: ${di.color};
|
|
427
431
|
}
|
|
428
432
|
|
|
429
433
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
430
|
-
background-color: ${
|
|
434
|
+
background-color: ${xi};
|
|
431
435
|
}
|
|
432
436
|
|
|
433
437
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
434
|
-
background-color: ${
|
|
438
|
+
background-color: ${mi};
|
|
435
439
|
}
|
|
436
440
|
|
|
437
441
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
438
|
-
background-color: ${
|
|
442
|
+
background-color: ${yi};
|
|
439
443
|
}
|
|
440
444
|
|
|
441
445
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
442
|
-
background-color: ${
|
|
446
|
+
background-color: ${ui};
|
|
443
447
|
}
|
|
444
448
|
|
|
445
449
|
.ft-ripple .ft-ripple--background {
|
|
@@ -469,39 +473,39 @@ const Ze=1,Fe=2,De=t=>(...e)=>({_$litDirective$:t,values:e});let Ae=class{constr
|
|
|
469
473
|
}
|
|
470
474
|
|
|
471
475
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
472
|
-
opacity: ${
|
|
476
|
+
opacity: ${di.opacityContentOnSurfaceHover};
|
|
473
477
|
}
|
|
474
478
|
|
|
475
479
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
476
|
-
opacity: ${
|
|
480
|
+
opacity: ${di.opacityContentOnSurfaceSelected};
|
|
477
481
|
}
|
|
478
482
|
|
|
479
483
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
480
|
-
opacity: ${
|
|
484
|
+
opacity: ${di.opacityContentOnSurfaceFocused};
|
|
481
485
|
}
|
|
482
486
|
|
|
483
487
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
484
|
-
opacity: ${
|
|
488
|
+
opacity: ${di.opacityContentOnSurfacePressed};
|
|
485
489
|
transform: translate(-50%, -50%) scale(1);
|
|
486
490
|
}
|
|
487
|
-
`;var
|
|
491
|
+
`;var vi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ni extends We{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 R(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 R(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.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 Qt`
|
|
488
492
|
<style>
|
|
489
493
|
.ft-ripple .ft-ripple--effect {
|
|
490
494
|
left: ${this.originX}px;
|
|
491
495
|
top: ${this.originY}px;
|
|
492
496
|
}
|
|
493
497
|
</style>
|
|
494
|
-
<div class="${
|
|
498
|
+
<div class="${Be(t)}">
|
|
495
499
|
<div class="ft-ripple--background"></div>
|
|
496
500
|
<div class="ft-ripple--effect"></div>
|
|
497
501
|
</div>
|
|
498
|
-
`}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,o;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===(o=this.target)||void 0===o||o.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 o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}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)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=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",o),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),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",o),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),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,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}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()}}
|
|
502
|
+
`}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,o;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===(o=this.target)||void 0===o||o.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 o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}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)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=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",o),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),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",o),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),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,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}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()}}Ni.elementDefinitions={},Ni.styles=Oi,vi([w({type:Boolean})],Ni.prototype,"primary",void 0),vi([w({type:Boolean})],Ni.prototype,"secondary",void 0),vi([w({type:Boolean})],Ni.prototype,"unbounded",void 0),vi([w({type:Boolean})],Ni.prototype,"activated",void 0),vi([w({type:Boolean})],Ni.prototype,"selected",void 0),vi([w({type:Boolean})],Ni.prototype,"disabled",void 0),vi([C()],Ni.prototype,"hovered",void 0),vi([C()],Ni.prototype,"focused",void 0),vi([C()],Ni.prototype,"pressed",void 0),vi([C()],Ni.prototype,"rippling",void 0),vi([C()],Ni.prototype,"originX",void 0),vi([C()],Ni.prototype,"originY",void 0),vi([E(".ft-ripple")],Ni.prototype,"ripple",void 0),vi([E(".ft-ripple--effect")],Ni.prototype,"rippleEffect",void 0),I("ft-ripple")(Ni);
|
|
499
503
|
/**
|
|
500
504
|
* @license
|
|
501
505
|
* Copyright 2017 Google LLC
|
|
502
506
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
503
507
|
*/
|
|
504
|
-
class
|
|
508
|
+
class Si extends Me{constructor(t){if(super(t),this.et=X,t.type!==De)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===X||null==t)return this.vt=void 0,this.et=t;if(t===q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Si.directiveName="unsafeHTML",Si.resultType=1;const wi=Ae(Si);var Ci,$i;!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=""}(Ci||(Ci={})),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=""}($i||($i={})),new Map([...["abw"].map((t=>[t,$i.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,$i.AUDIO])),...["avi"].map((t=>[t,$i.AVI])),...["chm","xhs"].map((t=>[t,$i.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,$i.CODE])),...["csv"].map((t=>[t,$i.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,$i.DITA])),...["epub"].map((t=>[t,$i.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,$i.EXCEL])),...["flac"].map((t=>[t,$i.FLAC])),...["gif"].map((t=>[t,$i.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,$i.GZIP])),...["html","htm","xhtml"].map((t=>[t,$i.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,$i.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,$i.JPEG])),...["json"].map((t=>[t,$i.JSON])),...["m4a","m4p"].map((t=>[t,$i.M4A])),...["mov","qt"].map((t=>[t,$i.MOV])),...["mp3"].map((t=>[t,$i.MP3])),...["mp4","m4v"].map((t=>[t,$i.MP4])),...["ogg","oga"].map((t=>[t,$i.OGG])),...["pdf","ps"].map((t=>[t,$i.PDF])),...["png"].map((t=>[t,$i.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,$i.POWERPOINT])),...["rar"].map((t=>[t,$i.RAR])),...["stp"].map((t=>[t,$i.STP])),...["txt","rtf","md","mdown"].map((t=>[t,$i.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,$i.VIDEO])),...["wav"].map((t=>[t,$i.WAV])),...["wma"].map((t=>[t,$i.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,$i.WORD])),...["xml","xsl","rdf"].map((t=>[t,$i.XML])),...["yaml","yml","x-yaml"].map((t=>[t,$i.YAML])),...["zip"].map((t=>[t,$i.ZIP]))]);const Ei=me.create("--ft-icon-font-size","","SIZE","24px"),Ri=me.extend("--ft-icon-fluid-topics-font-family","",me.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),Ui=me.extend("--ft-icon-file-format-font-family","",me.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),Ii=me.extend("--ft-icon-material-font-family","",me.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),ki=me.create("--ft-icon-vertical-align","","UNKNOWN","unset"),Wi=bt`
|
|
505
509
|
:host, i.ft-icon {
|
|
506
510
|
display: inline-flex;
|
|
507
511
|
align-items: center;
|
|
@@ -510,14 +514,14 @@ class Ni extends Ae{constructor(t){if(super(t),this.et=X,t.type!==Fe)throw Error
|
|
|
510
514
|
}
|
|
511
515
|
|
|
512
516
|
:host {
|
|
513
|
-
width: ${
|
|
514
|
-
height: ${
|
|
517
|
+
width: ${Ei};
|
|
518
|
+
height: ${Ei};
|
|
515
519
|
}
|
|
516
520
|
|
|
517
521
|
i.ft-icon {
|
|
518
522
|
width: 100%;
|
|
519
523
|
height: 100%;
|
|
520
|
-
font-size: ${
|
|
524
|
+
font-size: ${Ei};
|
|
521
525
|
line-height: 1;
|
|
522
526
|
font-weight: normal;
|
|
523
527
|
text-transform: none;
|
|
@@ -528,33 +532,33 @@ class Ni extends Ae{constructor(t){if(super(t),this.et=X,t.type!==Fe)throw Error
|
|
|
528
532
|
text-rendering: auto;
|
|
529
533
|
-webkit-font-smoothing: antialiased;
|
|
530
534
|
-moz-osx-font-smoothing: grayscale;
|
|
531
|
-
vertical-align: ${
|
|
535
|
+
vertical-align: ${ki};
|
|
532
536
|
}
|
|
533
537
|
|
|
534
538
|
i.ft-icon.ft-icon--fluid-topics {
|
|
535
|
-
font-family: ${
|
|
539
|
+
font-family: ${Ri}, ft-icons, fticons, sans-serif;
|
|
536
540
|
|
|
537
541
|
/* Ugly fix because font is broken */
|
|
538
|
-
font-size: calc(0.75 * ${
|
|
539
|
-
line-height: ${
|
|
542
|
+
font-size: calc(0.75 * ${Ei});
|
|
543
|
+
line-height: ${Ei};
|
|
540
544
|
position: relative;
|
|
541
545
|
top: -4%;
|
|
542
546
|
justify-content: center;
|
|
543
547
|
}
|
|
544
548
|
|
|
545
549
|
.ft-icon--file-format {
|
|
546
|
-
font-family: ${
|
|
550
|
+
font-family: ${Ui}, ft-mime, sans-serif;
|
|
547
551
|
}
|
|
548
552
|
|
|
549
553
|
.ft-icon--material {
|
|
550
|
-
font-family: ${
|
|
554
|
+
font-family: ${Ii}, "Material Icons", sans-serif;
|
|
551
555
|
}
|
|
552
|
-
`;var
|
|
556
|
+
`;var Li;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Li||(Li={}));var Ki=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class zi extends We{constructor(){super(...arguments),this.resolvedIcon=ee}render(){const t=this.variant&&Object.values(Li).includes(this.variant)?this.variant:Li.fluid_topics,e=t!==Li.material||!!this.value;return Qt`
|
|
553
557
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
554
|
-
${
|
|
558
|
+
${wi(this.resolvedIcon)}
|
|
555
559
|
<slot ?hidden=${e}></slot>
|
|
556
560
|
</i>
|
|
557
|
-
`}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 o=this.value||this.textContent;switch(this.variant){case
|
|
561
|
+
`}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 o=this.value||this.textContent;switch(this.variant){case Li.file_format:this.resolvedIcon=null!==(t=$i[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Li.material:this.resolvedIcon=this.value||ee;break;default:this.resolvedIcon=null!==(e=Ci[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}zi.elementDefinitions={},zi.styles=Wi,Ki([w()],zi.prototype,"variant",void 0),Ki([w()],zi.prototype,"value",void 0),Ki([C()],zi.prototype,"resolvedIcon",void 0),Ki([E("slot")],zi.prototype,"slottedContent",void 0),I("ft-icon")(zi);const Zi={fontSize:me.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:me.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:me.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:me.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:me.extend("--ft-text-field-helper-color","",Se.colorOnSurfaceMedium),colorPrimary:me.external(Se.colorPrimary,"Design system"),colorOnSurface:me.external(Se.colorOnSurface,"Design system"),colorOnSurfaceDisabled:me.external(Se.colorOnSurfaceDisabled,"Design system"),borderRadiusS:me.external(Se.borderRadiusS,"Design system"),colorError:me.external(Se.colorError,"Design system"),prefixColor:me.extend("--ft-text-field-prefix-color","",Se.colorOnSurfaceMedium),iconColor:me.extend("--ft-text-field-icon-color","",Se.colorOnSurfaceMedium),floatingZIndex:me.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:me.external(Se.colorSurface,"Design system"),colorOutline:me.external(Se.colorOutline,"Design system"),elevation02:me.external(Se.elevation02,"Design system"),suggestSize:me.create("--ft-text-field-suggest-size","","SIZE","300px")},Fi=bt`
|
|
558
562
|
*:focus {
|
|
559
563
|
outline: none;
|
|
560
564
|
}
|
|
@@ -567,16 +571,16 @@ class Ni extends Ae{constructor(t){if(super(t),this.et=X,t.type!==Fe)throw Error
|
|
|
567
571
|
}
|
|
568
572
|
|
|
569
573
|
ft-input-label {
|
|
570
|
-
${xe(
|
|
571
|
-
${xe(
|
|
572
|
-
${xe(
|
|
573
|
-
${xe(
|
|
574
|
+
${xe(li.fontSize,Zi.fontSize)};
|
|
575
|
+
${xe(li.raisedFontSize,Zi.labelSize)};
|
|
576
|
+
${xe(li.verticalSpacing,Zi.verticalSpacing)};
|
|
577
|
+
${xe(li.horizontalSpacing,Zi.horizontalSpacing)};
|
|
574
578
|
}
|
|
575
579
|
|
|
576
580
|
.ft-text-field--main-panel {
|
|
577
581
|
position: relative;
|
|
578
582
|
display: flex;
|
|
579
|
-
height: calc(4 * ${
|
|
583
|
+
height: calc(4 * ${Zi.verticalSpacing} + ${Zi.labelSize} + ${Zi.fontSize});
|
|
580
584
|
}
|
|
581
585
|
|
|
582
586
|
.ft-text-field--input-panel {
|
|
@@ -585,24 +589,24 @@ class Ni extends Ae{constructor(t){if(super(t),this.et=X,t.type!==Fe)throw Error
|
|
|
585
589
|
display: flex;
|
|
586
590
|
align-items: center;
|
|
587
591
|
overflow: hidden;
|
|
588
|
-
padding: 0 ${
|
|
592
|
+
padding: 0 ${Zi.horizontalSpacing};
|
|
589
593
|
|
|
590
|
-
${xe(
|
|
591
|
-
${xe(
|
|
594
|
+
${xe(No.fontSize,Zi.fontSize)};
|
|
595
|
+
${xe(No.lineHeight,Zi.fontSize)};
|
|
592
596
|
}
|
|
593
597
|
|
|
594
598
|
.ft-text-field--input-panel ft-ripple {
|
|
595
|
-
${xe(
|
|
596
|
-
${xe(
|
|
599
|
+
${xe(di.opacityContentOnSurfaceHover,"0.08")};
|
|
600
|
+
${xe(di.opacityContentOnSurfacePressed,"0.04")};
|
|
597
601
|
}
|
|
598
602
|
|
|
599
603
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
|
|
600
604
|
align-items: flex-end;
|
|
601
|
-
padding: 0 ${
|
|
605
|
+
padding: 0 ${Zi.horizontalSpacing} ${Zi.verticalSpacing} ${Zi.horizontalSpacing};
|
|
602
606
|
}
|
|
603
607
|
|
|
604
608
|
.ft-text-field--prefix {
|
|
605
|
-
color: ${
|
|
609
|
+
color: ${Zi.prefixColor};
|
|
606
610
|
margin-right: 2px;
|
|
607
611
|
flex-shrink: 1;
|
|
608
612
|
overflow: hidden;
|
|
@@ -621,15 +625,15 @@ class Ni extends Ae{constructor(t){if(super(t),this.et=X,t.type!==Fe)throw Error
|
|
|
621
625
|
flex-shrink: 1;
|
|
622
626
|
min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
|
|
623
627
|
|
|
624
|
-
color: ${
|
|
625
|
-
padding: calc(2 * ${
|
|
628
|
+
color: ${Zi.colorOnSurface};
|
|
629
|
+
padding: calc(2 * ${Zi.verticalSpacing}) 0;
|
|
626
630
|
border: none;
|
|
627
631
|
background: none;
|
|
628
632
|
}
|
|
629
633
|
|
|
630
634
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
|
|
631
635
|
padding-bottom: 0;
|
|
632
|
-
padding-top: calc(${
|
|
636
|
+
padding-top: calc(${Zi.labelSize} + 2 * ${Zi.verticalSpacing});
|
|
633
637
|
}
|
|
634
638
|
|
|
635
639
|
.ft-text-field--input::-webkit-calendar-picker-indicator,
|
|
@@ -638,37 +642,37 @@ class Ni extends Ae{constructor(t){if(super(t),this.et=X,t.type!==Fe)throw Error
|
|
|
638
642
|
}
|
|
639
643
|
|
|
640
644
|
.ft-text-field--disabled .ft-text-field--input {
|
|
641
|
-
color: ${
|
|
645
|
+
color: ${Zi.colorOnSurfaceDisabled};
|
|
642
646
|
}
|
|
643
647
|
|
|
644
648
|
.ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
|
|
645
|
-
${xe(
|
|
646
|
-
${xe(
|
|
649
|
+
${xe(li.borderColor,Zi.colorPrimary)};
|
|
650
|
+
${xe(li.textColor,Zi.colorPrimary)};
|
|
647
651
|
}
|
|
648
652
|
|
|
649
653
|
.ft-text-field--filled .ft-text-field--input-panel {
|
|
650
|
-
border-radius: ${
|
|
654
|
+
border-radius: ${Zi.borderRadiusS} ${Zi.borderRadiusS} 0 0;
|
|
651
655
|
}
|
|
652
656
|
|
|
653
657
|
.ft-text-field--outlined .ft-text-field--input-panel {
|
|
654
|
-
border-radius: ${
|
|
658
|
+
border-radius: ${Zi.borderRadiusS};
|
|
655
659
|
}
|
|
656
660
|
|
|
657
661
|
.ft-text-field--helper-text {
|
|
658
|
-
padding: 0 12px 0 ${
|
|
659
|
-
color: ${
|
|
662
|
+
padding: 0 12px 0 ${Zi.horizontalSpacing};
|
|
663
|
+
color: ${Zi.helperColor};
|
|
660
664
|
}
|
|
661
665
|
|
|
662
666
|
.ft-text-field--in-error .ft-text-field--input,
|
|
663
667
|
.ft-text-field--in-error .ft-text-field--helper-text,
|
|
664
668
|
.ft-text-field--in-error .ft-text-field--prefix {
|
|
665
|
-
color: ${
|
|
669
|
+
color: ${Zi.colorError};
|
|
666
670
|
}
|
|
667
671
|
|
|
668
672
|
.ft-text-field--icon {
|
|
669
673
|
align-self: center;
|
|
670
674
|
margin-left: 8px;
|
|
671
|
-
color: ${
|
|
675
|
+
color: ${Zi.iconColor};
|
|
672
676
|
}
|
|
673
677
|
|
|
674
678
|
.ft-text-field--container {
|
|
@@ -681,13 +685,13 @@ class Ni extends Ae{constructor(t){if(super(t),this.et=X,t.type!==Fe)throw Error
|
|
|
681
685
|
position: absolute;
|
|
682
686
|
left: 0;
|
|
683
687
|
right: 0;
|
|
684
|
-
z-index: ${
|
|
685
|
-
background: ${
|
|
686
|
-
border: 1px solid ${
|
|
687
|
-
border-radius: 0 0 ${
|
|
688
|
-
box-shadow: ${
|
|
688
|
+
z-index: ${Zi.floatingZIndex};
|
|
689
|
+
background: ${Zi.colorSurface};
|
|
690
|
+
border: 1px solid ${Zi.colorOutline};
|
|
691
|
+
border-radius: 0 0 ${Zi.borderRadiusS} ${Zi.borderRadiusS};
|
|
692
|
+
box-shadow: ${Zi.elevation02};
|
|
689
693
|
outline: none;
|
|
690
|
-
max-height: ${
|
|
694
|
+
max-height: ${Zi.suggestSize};
|
|
691
695
|
overflow-y: auto;
|
|
692
696
|
}
|
|
693
697
|
|
|
@@ -704,14 +708,14 @@ class Ni extends Ae{constructor(t){if(super(t),this.et=X,t.type!==Fe)throw Error
|
|
|
704
708
|
}
|
|
705
709
|
|
|
706
710
|
.ft-text-field--with-icon {
|
|
707
|
-
${xe(
|
|
711
|
+
${xe(li.labelMaxWidth,`calc(100% - ${Ei} - ${li.horizontalSpacing})`)};
|
|
708
712
|
}
|
|
709
713
|
|
|
710
714
|
.ft-text-field--with-password ft-icon:hover {
|
|
711
715
|
cursor: pointer;
|
|
712
716
|
}
|
|
713
|
-
`;var
|
|
714
|
-
<div class="${
|
|
717
|
+
`;var Di=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ai extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Ke].form}constructor(...t){super(t),this[Ke]=this.attachInternals(),this[Ke].role=e}setFormValue(t){this[Ke].setFormValue(t)}}}(We,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=Ci.EYE_SLASH,this.passwordRevealedIcon=Ci.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){const e=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",e)}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return Qt`
|
|
718
|
+
<div class="${Be(t)}">
|
|
715
719
|
<div class="ft-text-field--main-panel"
|
|
716
720
|
@keydown=${this.handleKeyboardNavigation}
|
|
717
721
|
@focusout=${this.onMainPanelBlur}>
|
|
@@ -766,12 +770,12 @@ class Ni extends Ae{constructor(t){if(super(t),this.et=X,t.type!==Fe)throw Error
|
|
|
766
770
|
.variant=${this.iconVariant}
|
|
767
771
|
.value=${this.icon}
|
|
768
772
|
@click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
|
|
769
|
-
`:ee}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,o;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),i=null===(o=this.suggestionsContainer)||void 0===o?void 0:o.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const o=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(o,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const o=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?o<this.visibleSuggestions.length-1?o+1:0:o>0?o-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[i])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}
|
|
773
|
+
`:ee}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,o;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),i=null===(o=this.suggestionsContainer)||void 0===o?void 0:o.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const o=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(o,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const o=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?o<this.visibleSuggestions.length-1?o+1:0:o>0?o-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[i])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}Ai.elementDefinitions={"ft-input-label":fi,"ft-ripple":Ni,"ft-typography":si,"ft-icon":zi},Ai.styles=[Xo,Fi],Di([w()],Ai.prototype,"label",void 0),Di([w({noAccessor:!0})],Ai.prototype,"value",null),Di([C()],Ai.prototype,"dispatchedValue",void 0),Di([w()],Ai.prototype,"helper",void 0),Di([w({type:Boolean})],Ai.prototype,"outlined",void 0),Di([w({type:Boolean})],Ai.prototype,"disabled",void 0),Di([w({type:Boolean})],Ai.prototype,"error",void 0),Di([w()],Ai.prototype,"prefix",void 0),Di([w()],Ai.prototype,"icon",void 0),Di([w()],Ai.prototype,"passwordHiddenIcon",void 0),Di([w()],Ai.prototype,"passwordRevealedIcon",void 0),Di([w()],Ai.prototype,"iconVariant",void 0),Di([w({type:Boolean})],Ai.prototype,"filterSuggestions",void 0),Di([w({type:Number})],Ai.prototype,"maxLength",void 0),Di([w({type:Boolean})],Ai.prototype,"password",void 0),Di([C()],Ai.prototype,"focused",void 0),Di([C()],Ai.prototype,"hidePassword",void 0),Di([C()],Ai.prototype,"suggestionsOnTop",void 0),Di([C()],Ai.prototype,"hideSuggestions",void 0),Di([C()],Ai.prototype,"visibleSuggestions",void 0),Di([E(".ft-text-field--main-panel")],Ai.prototype,"mainPanel",void 0),Di([E(".ft-text-field--input")],Ai.prototype,"input",void 0),Di([E(".ft-text-field--suggestions")],Ai.prototype,"suggestionsContainer",void 0),Di([function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return $(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}
|
|
770
774
|
/**
|
|
771
775
|
* @license
|
|
772
776
|
* Copyright 2017 Google LLC
|
|
773
777
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
774
|
-
*/({selector:"ft-text-field-suggestion"})],
|
|
778
|
+
*/({selector:"ft-text-field-suggestion"})],Ai.prototype,"suggestions",void 0);const Mi=bt`
|
|
775
779
|
.ft-text-field-suggestion {
|
|
776
780
|
position: relative;
|
|
777
781
|
padding: 8px 16px;
|
|
@@ -796,7 +800,7 @@ class Ni extends Ae{constructor(t){if(super(t),this.et=X,t.type!==Fe)throw Error
|
|
|
796
800
|
slot {
|
|
797
801
|
pointer-events: none;
|
|
798
802
|
}
|
|
799
|
-
`;var
|
|
803
|
+
`;var Bi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Pi extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class Hi extends We{render(){return Qt`
|
|
800
804
|
<div class="ft-text-field-suggestion"
|
|
801
805
|
tabindex="-1"
|
|
802
806
|
@keydown=${this.onKeyDown}
|
|
@@ -808,4 +812,4 @@ class Ni extends Ae{constructor(t){if(super(t),this.et=X,t.type!==Fe)throw Error
|
|
|
808
812
|
<slot></slot>
|
|
809
813
|
</ft-typography>
|
|
810
814
|
</div>
|
|
811
|
-
`}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new
|
|
815
|
+
`}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new Pi(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}Hi.elementDefinitions={"ft-ripple":Ni,"ft-typography":si,"ft-icon":zi},Hi.styles=Mi,Bi([w()],Hi.prototype,"value",void 0),Bi([E(".ft-text-field-suggestion")],Hi.prototype,"container",void 0),Bi([function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return $(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],Hi.prototype,"assignedNodes",void 0),I("ft-text-field")(Ai),I("ft-text-field-suggestion")(Hi),t.FtTextField=Ai,t.FtTextFieldCssVariables=Zi,t.FtTextFieldSuggestion=Hi,t.SuggestionSelectedEvent=Pi,t.styles=Fi,t.suggestionStyles=Mi}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-text-field",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "A fluidtopics text field",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-icon": "1.1.
|
|
23
|
-
"@fluid-topics/ft-input-label": "1.1.
|
|
24
|
-
"@fluid-topics/ft-ripple": "1.1.
|
|
25
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
26
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-icon": "1.1.3",
|
|
23
|
+
"@fluid-topics/ft-input-label": "1.1.3",
|
|
24
|
+
"@fluid-topics/ft-ripple": "1.1.3",
|
|
25
|
+
"@fluid-topics/ft-typography": "1.1.3",
|
|
26
|
+
"@fluid-topics/ft-wc-utils": "1.1.3",
|
|
27
27
|
"lit": "3.1.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "0d44a470e710f185c37e42ee87be4481a3bdf793"
|
|
30
30
|
}
|