@fluid-topics/ft-dialog 0.1.18 → 0.2.0
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-dialog.inline-styles.js +128 -97
- package/build/ft-dialog.js +3 -3
- package/build/ft-dialog.light.js +118 -106
- package/build/ft-dialog.min.js +129 -98
- package/package.json +5 -5
package/build/ft-dialog.js
CHANGED
|
@@ -8,7 +8,7 @@ import { css, html } from "lit";
|
|
|
8
8
|
import { property, } from "lit/decorators.js";
|
|
9
9
|
import { designSystemVariables, FtCssVariable, FtLitElement } from "@fluid-topics/ft-wc-utils";
|
|
10
10
|
import { FtTypography } from "@fluid-topics/ft-typography";
|
|
11
|
-
import {
|
|
11
|
+
import { FtIcon } from "@fluid-topics/ft-icon";
|
|
12
12
|
export const FtDialogCssVariables = {
|
|
13
13
|
zIndex: FtCssVariable.create("--ft-dialog-z-index", "NUMBER", "2"),
|
|
14
14
|
overlayBackgroundColor: FtCssVariable.create("--ft-dialog-overlay-background-color", "COLOR", "rgba(0, 0, 0, 0.3)"),
|
|
@@ -129,7 +129,7 @@ export class FtDialog extends FtLitElement {
|
|
|
129
129
|
${this.heading ? html `
|
|
130
130
|
<div class="ft-dialog-heading">
|
|
131
131
|
${this.icon ? html `
|
|
132
|
-
<
|
|
132
|
+
<ft-icon variant="material">${this.icon}</ft-icon>` : undefined}
|
|
133
133
|
<ft-typography element="span" variant="title">${this.heading}</ft-typography>
|
|
134
134
|
</div>
|
|
135
135
|
` : null}
|
|
@@ -176,7 +176,7 @@ export class FtDialog extends FtLitElement {
|
|
|
176
176
|
}
|
|
177
177
|
FtDialog.elementDefinitions = {
|
|
178
178
|
"ft-typography": FtTypography,
|
|
179
|
-
"
|
|
179
|
+
"ft-icon": FtIcon,
|
|
180
180
|
};
|
|
181
181
|
__decorate([
|
|
182
182
|
property({
|
package/build/ft-dialog.light.js
CHANGED
|
@@ -1,151 +1,163 @@
|
|
|
1
|
-
!function(t,i,o,
|
|
1
|
+
!function(t,e,i,o,n){
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2017 Google LLC
|
|
5
5
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
-
var
|
|
7
|
+
var s;const a=globalThis.trustedTypes,r=a?a.createPolicy("lit-html",{createHTML:t=>t}):void 0,l=`lit$${(Math.random()+"").slice(9)}$`,p="?"+l,h=`<${p}>`,f=document,x=(t="")=>f.createComment(t),g=t=>null===t||"object"!=typeof t&&"function"!=typeof t,d=Array.isArray,y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,c=/-->/g,m=/>/g,u=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,v=/'/g,$=/"/g,b=/^(?:script|style|textarea|title)$/i,w=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),z=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),S=new WeakMap,N=f.createTreeWalker(f,129,null,!1),j=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",a=y;for(let e=0;e<i;e++){const i=t[e];let r,p,f=-1,x=0;for(;x<i.length&&(a.lastIndex=x,p=a.exec(i),null!==p);)x=a.lastIndex,a===y?"!--"===p[1]?a=c:void 0!==p[1]?a=m:void 0!==p[2]?(b.test(p[2])&&(n=RegExp("</"+p[2],"g")),a=u):void 0!==p[3]&&(a=u):a===u?">"===p[0]?(a=null!=n?n:y,f=-1):void 0===p[1]?f=-2:(f=a.lastIndex-p[2].length,r=p[1],a=void 0===p[3]?u:'"'===p[3]?$:v):a===$||a===v?a=u:a===c||a===m?a=y:(a=u,n=void 0);const g=a===u&&t[e+1].startsWith("/>")?" ":"";s+=a===y?i+h:f>=0?(o.push(r),i.slice(0,f)+"$lit$"+i.slice(f)+l+g):i+l+(-2===f?(o.push(void 0),e):g)}const p=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==r?r.createHTML(p):p,o]};class E{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,h=this.parts,[f,g]=j(t,e);if(this.el=E.createElement(f,i),N.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=N.nextNode())&&h.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(l)){const i=g[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(l),e=/([.?@])?(.*)/.exec(i);h.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?C:"?"===e[1]?M:"@"===e[1]?T:_})}else h.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(b.test(o.tagName)){const t=o.textContent.split(l),e=t.length-1;if(e>0){o.textContent=a?a.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],x()),N.nextNode(),h.push({type:2,index:++n});o.append(t[e],x())}}}else if(8===o.nodeType)if(o.data===p)h.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(l,t+1));)h.push({type:7,index:n}),t+=l.length-1}n++}}static createElement(t,e){const i=f.createElement("template");return i.innerHTML=t,i}}function I(t,e,i=t,o){var n,s,a,r;if(e===z)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const p=g(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,i,o)),void 0!==o?(null!==(a=(r=i)._$Cl)&&void 0!==a?a:r._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=I(t,l._$AS(t,e.values),l,o)),e}class O{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:f).importNode(i,!0);N.currentNode=n;let s=N.nextNode(),a=0,r=0,l=o[0];for(;void 0!==l;){if(a===l.index){let e;2===l.type?e=new A(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new U(s,this,t)),this.v.push(e),l=o[++r]}a!==(null==l?void 0:l.index)&&(s=N.nextNode(),a++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class A{constructor(t,e,i,o){var n;this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=I(this,t,e),g(t)?t===k||null==t||""===t?(this._$AH!==k&&this._$AR(),this._$AH=k):t!==this._$AH&&t!==z&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return d(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==k&&g(this._$AH)?this._$AA.nextSibling.data=t:this.S(f.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=E.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new O(n,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=S.get(t.strings);return void 0===e&&S.set(t.strings,e=new E(t)),e}A(t){d(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new A(this.M(x()),this.M(x()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class _{constructor(t,e,i,o,n){this.type=1,this._$AH=k,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=k}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=I(this,t,e,0),s=!g(t)||t!==this._$AH&&t!==z,s&&(this._$AH=t);else{const o=t;let a,r;for(t=n[0],a=0;a<n.length-1;a++)r=I(this,o[i+a],e,a),r===z&&(r=this._$AH[a]),s||(s=!g(r)||r!==this._$AH[a]),r===k?t=k:t!==k&&(t+=(null!=r?r:"")+n[a+1]),this._$AH[a]=r}s&&!o&&this.k(t)}k(t){t===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class C extends _{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===k?void 0:t}}const Z=a?a.emptyScript:"";class M extends _{constructor(){super(...arguments),this.type=4}k(t){t&&t!==k?this.element.setAttribute(this.name,Z):this.element.removeAttribute(this.name)}}class T extends _{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=I(this,t,e,0))&&void 0!==i?i:k)===z)return;const o=this._$AH,n=t===k&&o!==k||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==k&&(o===k||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class U{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){I(this,t)}}const W=window.litHtmlPolyfillSupport;null==W||W(E,A),(null!==(s=globalThis.litHtmlVersions)&&void 0!==s?s:globalThis.litHtmlVersions=[]).push("2.1.3");
|
|
8
8
|
/**
|
|
9
9
|
* @license
|
|
10
10
|
* Copyright 2020 Google LLC
|
|
11
11
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12
12
|
*/
|
|
13
|
-
const B=t=>({_$litStatic$:t}),
|
|
13
|
+
const B=t=>({_$litStatic$:t}),K=new Map,R=(t=>(e,...i)=>{var o;const n=i.length;let s,a;const r=[],l=[];let p,h=0,f=!1;for(;h<n;){for(p=e[h];h<n&&void 0!==(a=i[h],s=null===(o=a)||void 0===o?void 0:o._$litStatic$);)p+=s+e[++h],f=!0;l.push(a),r.push(p),h++}if(h===n&&r.push(e[n]),f){const t=r.join("$$lit$$");void 0===(e=K.get(t))&&(r.raw=r,K.set(t,e=r)),i=l}return t(e,...i)})(w);var D,G=function(t,e,i,o){for(var n,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(n=t[r])&&(a=(s<3?n(a):s>3?n(e,i,a):n(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};!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"}(D||(D={}));const q=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),H=e.FtCssVariable.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),L={fontFamily:H,fontSize:e.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:e.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},F=e.FtCssVariable.extend("--ft-typography-title-font-family",q),J=e.FtCssVariable.extend("--ft-typography-title-font-size",L.fontSize,"20px"),P=e.FtCssVariable.extend("--ft-typography-title-font-weight",L.fontWeight,"normal"),Q=e.FtCssVariable.extend("--ft-typography-title-letter-spacing",L.letterSpacing,"0.15px"),V=e.FtCssVariable.extend("--ft-typography-title-line-height",L.lineHeight,"24px"),X=e.FtCssVariable.extend("--ft-typography-title-text-transform",L.textTransform,"inherit"),Y=e.FtCssVariable.extend("--ft-typography-title-dense-font-family",q),tt=e.FtCssVariable.extend("--ft-typography-title-dense-font-size",L.fontSize,"14px"),et=e.FtCssVariable.extend("--ft-typography-title-dense-font-weight",L.fontWeight,"normal"),it=e.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",L.letterSpacing,"0.105px"),ot=e.FtCssVariable.extend("--ft-typography-title-dense-line-height",L.lineHeight,"24px"),nt=e.FtCssVariable.extend("--ft-typography-title-dense-text-transform",L.textTransform,"inherit"),st=e.FtCssVariable.extend("--ft-typography-subtitle1-font-family",H),at=e.FtCssVariable.extend("--ft-typography-subtitle1-font-size",L.fontSize,"16px"),rt=e.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",L.fontWeight,"600"),lt=e.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",L.letterSpacing,"0.144px"),pt=e.FtCssVariable.extend("--ft-typography-subtitle1-line-height",L.lineHeight,"24px"),ht=e.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",L.textTransform,"inherit"),ft=e.FtCssVariable.extend("--ft-typography-subtitle2-font-family",H),xt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-size",L.fontSize,"14px"),gt=e.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",L.fontWeight,"normal"),dt=e.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",L.letterSpacing,"0.098px"),yt=e.FtCssVariable.extend("--ft-typography-subtitle2-line-height",L.lineHeight,"24px"),ct=e.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",L.textTransform,"inherit"),mt=e.FtCssVariable.extend("--ft-typography-body1-font-family",H),ut=e.FtCssVariable.extend("--ft-typography-body1-font-size",L.fontSize,"16px"),vt=e.FtCssVariable.extend("--ft-typography-body1-font-weight",L.fontWeight,"normal"),$t=e.FtCssVariable.extend("--ft-typography-body1-letter-spacing",L.letterSpacing,"0.496px"),bt=e.FtCssVariable.extend("--ft-typography-body1-line-height",L.lineHeight,"24px"),wt=e.FtCssVariable.extend("--ft-typography-body1-text-transform",L.textTransform,"inherit"),zt=e.FtCssVariable.extend("--ft-typography-body2-font-family",H),kt=e.FtCssVariable.extend("--ft-typography-body2-font-size",L.fontSize,"14px"),St=e.FtCssVariable.extend("--ft-typography-body2-font-weight",L.fontWeight,"normal"),Nt=e.FtCssVariable.extend("--ft-typography-body2-letter-spacing",L.letterSpacing,"0.252px"),jt=e.FtCssVariable.extend("--ft-typography-body2-line-height",L.lineHeight,"20px"),Et=e.FtCssVariable.extend("--ft-typography-body2-text-transform",L.textTransform,"inherit"),It=e.FtCssVariable.extend("--ft-typography-caption-font-family",H),Ot=e.FtCssVariable.extend("--ft-typography-caption-font-size",L.fontSize,"12px"),At=e.FtCssVariable.extend("--ft-typography-caption-font-weight",L.fontWeight,"normal"),_t=e.FtCssVariable.extend("--ft-typography-caption-letter-spacing",L.letterSpacing,"0.396px"),Ct=e.FtCssVariable.extend("--ft-typography-caption-line-height",L.lineHeight,"16px"),Zt=e.FtCssVariable.extend("--ft-typography-caption-text-transform",L.textTransform,"inherit"),Mt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",H),Tt=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",L.fontSize,"10px"),Ut=e.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",L.fontWeight,"normal"),Wt=e.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",L.letterSpacing,"0.33px"),Bt=e.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",L.lineHeight,"16px"),Kt=e.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",L.textTransform,"inherit"),Rt=e.FtCssVariable.extend("--ft-typography-overline-font-family",H),Dt=e.FtCssVariable.extend("--ft-typography-overline-font-size",L.fontSize,"10px"),Gt=e.FtCssVariable.extend("--ft-typography-overline-font-weight",L.fontWeight,"normal"),qt=e.FtCssVariable.extend("--ft-typography-overline-letter-spacing",L.letterSpacing,"1.5px"),Ht=e.FtCssVariable.extend("--ft-typography-overline-line-height",L.lineHeight,"16px"),Lt=e.FtCssVariable.extend("--ft-typography-overline-text-transform",L.textTransform,"uppercase"),Ft=e.FtCssVariable.extend("--ft-typography-button-font-family",H),Jt=e.FtCssVariable.extend("--ft-typography-button-font-size",L.fontSize,"14px"),Pt=e.FtCssVariable.extend("--ft-typography-button-font-weight",L.fontWeight,"600"),Qt=e.FtCssVariable.extend("--ft-typography-button-letter-spacing",L.letterSpacing,"1.246px"),Vt=e.FtCssVariable.extend("--ft-typography-button-line-height",L.lineHeight,"16px"),Xt=e.FtCssVariable.extend("--ft-typography-button-text-transform",L.textTransform,"uppercase"),Yt=i.css`
|
|
14
14
|
.ft-typography--title {
|
|
15
15
|
font-family: ${F};
|
|
16
|
-
font-size: ${
|
|
17
|
-
font-weight: ${
|
|
18
|
-
letter-spacing: ${
|
|
19
|
-
line-height: ${
|
|
20
|
-
text-transform: ${
|
|
16
|
+
font-size: ${J};
|
|
17
|
+
font-weight: ${P};
|
|
18
|
+
letter-spacing: ${Q};
|
|
19
|
+
line-height: ${V};
|
|
20
|
+
text-transform: ${X};
|
|
21
21
|
}
|
|
22
|
-
`,
|
|
22
|
+
`,te=i.css`
|
|
23
23
|
.ft-typography--title-dense {
|
|
24
|
-
font-family: ${
|
|
25
|
-
font-size: ${
|
|
26
|
-
font-weight: ${
|
|
24
|
+
font-family: ${Y};
|
|
25
|
+
font-size: ${tt};
|
|
26
|
+
font-weight: ${et};
|
|
27
27
|
letter-spacing: ${it};
|
|
28
28
|
line-height: ${ot};
|
|
29
|
-
text-transform: ${
|
|
29
|
+
text-transform: ${nt};
|
|
30
30
|
}
|
|
31
|
-
`,
|
|
31
|
+
`,ee=i.css`
|
|
32
32
|
.ft-typography--subtitle1 {
|
|
33
|
-
font-family: ${
|
|
34
|
-
font-size: ${
|
|
33
|
+
font-family: ${st};
|
|
34
|
+
font-size: ${at};
|
|
35
35
|
font-weight: ${rt};
|
|
36
|
-
letter-spacing: ${
|
|
37
|
-
line-height: ${
|
|
38
|
-
text-transform: ${
|
|
36
|
+
letter-spacing: ${lt};
|
|
37
|
+
line-height: ${pt};
|
|
38
|
+
text-transform: ${ht};
|
|
39
39
|
}
|
|
40
|
-
`,
|
|
40
|
+
`,ie=i.css`
|
|
41
41
|
.ft-typography--subtitle2 {
|
|
42
|
-
font-family: ${
|
|
43
|
-
font-size: ${
|
|
42
|
+
font-family: ${ft};
|
|
43
|
+
font-size: ${xt};
|
|
44
44
|
font-weight: ${gt};
|
|
45
|
-
letter-spacing: ${
|
|
46
|
-
line-height: ${
|
|
45
|
+
letter-spacing: ${dt};
|
|
46
|
+
line-height: ${yt};
|
|
47
47
|
text-transform: ${ct};
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
`,
|
|
50
|
+
`,oe=i.css`
|
|
51
51
|
.ft-typography--body1 {
|
|
52
|
-
font-family: ${
|
|
53
|
-
font-size: ${
|
|
54
|
-
font-weight: ${
|
|
52
|
+
font-family: ${mt};
|
|
53
|
+
font-size: ${ut};
|
|
54
|
+
font-weight: ${vt};
|
|
55
55
|
letter-spacing: ${$t};
|
|
56
|
-
line-height: ${
|
|
57
|
-
text-transform: ${
|
|
56
|
+
line-height: ${bt};
|
|
57
|
+
text-transform: ${wt};
|
|
58
58
|
}
|
|
59
|
-
`,
|
|
59
|
+
`,ne=i.css`
|
|
60
60
|
.ft-typography--body2 {
|
|
61
|
-
font-family: ${
|
|
62
|
-
font-size: ${
|
|
61
|
+
font-family: ${zt};
|
|
62
|
+
font-size: ${kt};
|
|
63
63
|
font-weight: ${St};
|
|
64
|
-
letter-spacing: ${
|
|
65
|
-
line-height: ${
|
|
66
|
-
text-transform: ${
|
|
64
|
+
letter-spacing: ${Nt};
|
|
65
|
+
line-height: ${jt};
|
|
66
|
+
text-transform: ${Et};
|
|
67
67
|
}
|
|
68
|
-
`,
|
|
68
|
+
`,se=i.css`
|
|
69
69
|
.ft-typography--caption {
|
|
70
|
-
font-family: ${
|
|
71
|
-
font-size: ${
|
|
72
|
-
font-weight: ${
|
|
73
|
-
letter-spacing: ${
|
|
74
|
-
line-height: ${
|
|
70
|
+
font-family: ${It};
|
|
71
|
+
font-size: ${Ot};
|
|
72
|
+
font-weight: ${At};
|
|
73
|
+
letter-spacing: ${_t};
|
|
74
|
+
line-height: ${Ct};
|
|
75
75
|
text-transform: ${Zt};
|
|
76
76
|
}
|
|
77
|
-
`,
|
|
77
|
+
`,ae=i.css`
|
|
78
78
|
.ft-typography--breadcrumb {
|
|
79
|
-
font-family: ${
|
|
79
|
+
font-family: ${Mt};
|
|
80
80
|
font-size: ${Tt};
|
|
81
|
-
font-weight: ${
|
|
82
|
-
letter-spacing: ${
|
|
81
|
+
font-weight: ${Ut};
|
|
82
|
+
letter-spacing: ${Wt};
|
|
83
83
|
line-height: ${Bt};
|
|
84
|
-
text-transform: ${
|
|
84
|
+
text-transform: ${Kt};
|
|
85
85
|
}
|
|
86
|
-
`,
|
|
86
|
+
`,re=i.css`
|
|
87
87
|
.ft-typography--overline {
|
|
88
|
-
font-family: ${
|
|
88
|
+
font-family: ${Rt};
|
|
89
89
|
font-size: ${Dt};
|
|
90
90
|
font-weight: ${Gt};
|
|
91
|
-
letter-spacing: ${
|
|
92
|
-
line-height: ${
|
|
93
|
-
text-transform: ${
|
|
91
|
+
letter-spacing: ${qt};
|
|
92
|
+
line-height: ${Ht};
|
|
93
|
+
text-transform: ${Lt};
|
|
94
94
|
}
|
|
95
|
-
`,
|
|
95
|
+
`,le=i.css`
|
|
96
96
|
.ft-typography--button {
|
|
97
97
|
font-family: ${Ft};
|
|
98
|
-
font-size: ${
|
|
99
|
-
font-weight: ${
|
|
100
|
-
letter-spacing: ${
|
|
101
|
-
line-height: ${
|
|
102
|
-
text-transform: ${
|
|
98
|
+
font-size: ${Jt};
|
|
99
|
+
font-weight: ${Pt};
|
|
100
|
+
letter-spacing: ${Qt};
|
|
101
|
+
line-height: ${Vt};
|
|
102
|
+
text-transform: ${Xt};
|
|
103
103
|
}
|
|
104
|
-
`;class
|
|
104
|
+
`;class pe extends e.FtLitElement{constructor(){super(...arguments),this.variant=D.body1}render(){return this.element?R`
|
|
105
105
|
<${B(this.element)}
|
|
106
106
|
class="ft-typography ft-typography--${this.variant}">
|
|
107
107
|
<slot></slot>
|
|
108
108
|
</${B(this.element)}>
|
|
109
|
-
`:
|
|
109
|
+
`:R`
|
|
110
110
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
111
|
-
`}}
|
|
111
|
+
`}}var he,fe;pe.styles=[Yt,te,ee,ie,oe,ne,se,ae,re,le,i.css`
|
|
112
112
|
.ft-typography {
|
|
113
113
|
vertical-align: inherit;
|
|
114
114
|
}
|
|
115
|
-
`],G([
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
115
|
+
`],G([o.property()],pe.prototype,"element",void 0),G([o.property()],pe.prototype,"variant",void 0),e.customElement("ft-typography")(pe),function(t){t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.STAR_PLAIN="",t.STAR="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_DOWN="",t.THUMBS_UP_PLAIN="",t.THUMBS_UP="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="\f06e",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL=""}(he||(he={})),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=""}(fe||(fe={})),new Map([...["abw"].map((t=>[t,fe.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,fe.AUDIO])),...["avi"].map((t=>[t,fe.AVI])),...["chm","xhs"].map((t=>[t,fe.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,fe.CODE])),...["csv"].map((t=>[t,fe.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,fe.DITA])),...["epub"].map((t=>[t,fe.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,fe.EXCEL])),...["flac"].map((t=>[t,fe.FLAC])),...["gif"].map((t=>[t,fe.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,fe.GZIP])),...["html","htm","xhtml"].map((t=>[t,fe.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,fe.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,fe.JPEG])),...["json"].map((t=>[t,fe.JSON])),...["m4a","m4p"].map((t=>[t,fe.M4A])),...["mov","qt"].map((t=>[t,fe.MOV])),...["mp3"].map((t=>[t,fe.MP3])),...["mp4","m4v"].map((t=>[t,fe.MP4])),...["ogg","oga"].map((t=>[t,fe.OGG])),...["pdf","ps"].map((t=>[t,fe.PDF])),...["png"].map((t=>[t,fe.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,fe.POWERPOINT])),...["rar"].map((t=>[t,fe.RAR])),...["stp"].map((t=>[t,fe.STP])),...["txt","rtf","md","mdown"].map((t=>[t,fe.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,fe.VIDEO])),...["wav"].map((t=>[t,fe.WAV])),...["wma"].map((t=>[t,fe.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,fe.WORD])),...["xml","xsl","rdf"].map((t=>[t,fe.XML])),...["yaml","yml","x-yaml"].map((t=>[t,fe.YAML])),...["zip"].map((t=>[t,fe.ZIP]))]);var xe,ge=function(t,e,i,o){for(var n,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(n=t[r])&&(a=(s<3?n(a):s>3?n(e,i,a):n(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(xe||(xe={}));const de=e.FtCssVariable.create("--ft-icon-font-size","SIZE","24px"),ye=e.FtCssVariable.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-icons")),ce=e.FtCssVariable.extend("--ft-icon-file-format-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","ft-mime")),me=e.FtCssVariable.extend("--ft-icon-material-font-family",e.FtCssVariable.create("--ft-icon-font-family","UNKNOWN","Material Icons"));class ue extends e.FtLitElement{constructor(){super(...arguments),this.variant=xe.fluid_topics}render(){return i.html`
|
|
116
|
+
<i class="ft-icon ${"ft-icon--"+this.variant}">
|
|
117
|
+
${n.unsafeHTML(this.getIcon())}
|
|
118
|
+
<slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
|
|
119
|
+
</i>
|
|
120
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let o=this.textContent;return this.variant===xe.file_format?null!==(t=fe[o.toUpperCase()])&&void 0!==t?t:o:this.variant===xe.fluid_topics?null!==(e=he[o.toUpperCase()])&&void 0!==e?e:o:i.nothing}}ue.elementDefinitions={},ue.styles=i.css`
|
|
121
|
+
:host, i.ft-icon {
|
|
122
|
+
display: inline-block;
|
|
123
|
+
width: ${de};
|
|
124
|
+
height: ${de};
|
|
125
|
+
text-align: center;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
i.ft-icon {
|
|
129
|
+
font-size: ${de};
|
|
130
|
+
line-height: 1;
|
|
131
|
+
font-weight: normal;
|
|
132
|
+
text-transform: none;
|
|
133
|
+
font-style: normal;
|
|
134
|
+
font-variant: normal;
|
|
135
|
+
speak: none;
|
|
136
|
+
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
|
|
137
|
+
text-rendering: auto;
|
|
138
|
+
-webkit-font-smoothing: antialiased;
|
|
139
|
+
-moz-osx-font-smoothing: grayscale;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.ft-icon--fluid-topics {
|
|
143
|
+
font-family: ${ye}, ft-icons, fticons, sans-serif;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.ft-icon--file-format {
|
|
147
|
+
font-family: ${ce}, ft-mime, sans-serif;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.ft-icon--material {
|
|
151
|
+
font-family: ${me}, "Material Icons", sans-serif;
|
|
152
|
+
}
|
|
153
|
+
`,ge([o.property()],ue.prototype,"variant",void 0),ge([o.query("slot")],ue.prototype,"slottedContent",void 0),e.customElement("ft-icon")(ue);var ve=function(t,e,i,o){for(var n,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(n=t[r])&&(a=(s<3?n(a):s>3?n(e,i,a):n(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};const $e={zIndex:e.FtCssVariable.create("--ft-dialog-z-index","NUMBER","2"),overlayBackgroundColor:e.FtCssVariable.create("--ft-dialog-overlay-background-color","COLOR","rgba(0, 0, 0, 0.3)"),height:e.FtCssVariable.create("--ft-dialog-height","SIZE","unset"),width:e.FtCssVariable.create("--ft-dialog-width","SIZE","unset"),minWidth:e.FtCssVariable.create("--ft-dialog-min-width","SIZE","unset"),paddingTop:e.FtCssVariable.create("--ft-dialog-padding-top","SIZE","20px"),paddingSide:e.FtCssVariable.create("--ft-dialog-padding-side","SIZE","16px"),paddingButtons:e.FtCssVariable.create("--ft-dialog-padding-buttons","SIZE","20px"),colorSurface:e.FtCssVariable.external(e.designSystemVariables.colorSurface,"Design system"),headingColor:e.FtCssVariable.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),borderRadiusS:e.FtCssVariable.external(e.designSystemVariables.borderRadiusS,"Design system"),elevation24:e.FtCssVariable.external(e.designSystemVariables.elevation24,"Design system")};class be extends e.FtLitElement{constructor(){super(...arguments),this.opened=!1,this.closeOnEsc=!1,this.closeOnClickOutside=!1,this.heading="",this.icon=""}static get styles(){return i.css`
|
|
142
154
|
.ft-dialog {
|
|
143
155
|
position: fixed;
|
|
144
156
|
top: 0;
|
|
145
157
|
right: 0;
|
|
146
158
|
bottom: 0;
|
|
147
159
|
left: 0;
|
|
148
|
-
z-index: ${
|
|
160
|
+
z-index: ${$e.zIndex};
|
|
149
161
|
|
|
150
162
|
display: flex;
|
|
151
163
|
flex-direction: column;
|
|
@@ -165,7 +177,7 @@ function(t,i,o,e){for(var n,s=arguments.length,r=s<3?i:null===e?e=Object.getOwnP
|
|
|
165
177
|
height: 100%;
|
|
166
178
|
width: 100%;
|
|
167
179
|
|
|
168
|
-
background-color: ${
|
|
180
|
+
background-color: ${$e.overlayBackgroundColor};
|
|
169
181
|
|
|
170
182
|
}
|
|
171
183
|
|
|
@@ -174,20 +186,20 @@ function(t,i,o,e){for(var n,s=arguments.length,r=s<3?i:null===e?e=Object.getOwnP
|
|
|
174
186
|
display: flex;
|
|
175
187
|
flex-direction: column;
|
|
176
188
|
|
|
177
|
-
width: ${
|
|
178
|
-
height: ${
|
|
189
|
+
width: ${$e.width};
|
|
190
|
+
height: ${$e.height};
|
|
179
191
|
max-width: 95vw;
|
|
180
192
|
max-height: 95vh;
|
|
181
|
-
min-width: ${
|
|
193
|
+
min-width: ${$e.minWidth};
|
|
182
194
|
|
|
183
|
-
padding-top: ${
|
|
184
|
-
padding-right: ${
|
|
185
|
-
padding-left: ${
|
|
195
|
+
padding-top: ${$e.paddingTop};
|
|
196
|
+
padding-right: ${$e.paddingSide};
|
|
197
|
+
padding-left: ${$e.paddingSide};
|
|
186
198
|
|
|
187
|
-
background-color: ${
|
|
199
|
+
background-color: ${$e.colorSurface};
|
|
188
200
|
|
|
189
|
-
border-radius: ${
|
|
190
|
-
box-shadow: ${
|
|
201
|
+
border-radius: ${$e.borderRadiusS};
|
|
202
|
+
box-shadow: ${$e.elevation24};
|
|
191
203
|
}
|
|
192
204
|
|
|
193
205
|
.ft-dialog-content {
|
|
@@ -201,11 +213,11 @@ function(t,i,o,e){for(var n,s=arguments.length,r=s<3?i:null===e?e=Object.getOwnP
|
|
|
201
213
|
margin-bottom: 20px;
|
|
202
214
|
gap: 8px;
|
|
203
215
|
|
|
204
|
-
color: ${
|
|
216
|
+
color: ${$e.headingColor};
|
|
205
217
|
}
|
|
206
218
|
|
|
207
219
|
.ft-dialog-buttons {
|
|
208
|
-
padding-top: ${
|
|
220
|
+
padding-top: ${$e.paddingButtons};
|
|
209
221
|
}
|
|
210
222
|
|
|
211
223
|
slot[name=buttons] {
|
|
@@ -220,14 +232,14 @@ function(t,i,o,e){for(var n,s=arguments.length,r=s<3?i:null===e?e=Object.getOwnP
|
|
|
220
232
|
margin-bottom: 8px
|
|
221
233
|
}
|
|
222
234
|
|
|
223
|
-
`}render(){return this.opened?
|
|
235
|
+
`}render(){return this.opened?i.html`
|
|
224
236
|
<div class="ft-dialog">
|
|
225
237
|
<div class="ft-dialog-overlay" @click="${()=>this.watchClickOutside()}"></div>
|
|
226
238
|
<div class="ft-dialog-wrapper">
|
|
227
|
-
${this.heading?
|
|
239
|
+
${this.heading?i.html`
|
|
228
240
|
<div class="ft-dialog-heading">
|
|
229
|
-
${this.icon?
|
|
230
|
-
<
|
|
241
|
+
${this.icon?i.html`
|
|
242
|
+
<ft-icon variant="material">${this.icon}</ft-icon>`:void 0}
|
|
231
243
|
<ft-typography element="span" variant="title">${this.heading}</ft-typography>
|
|
232
244
|
</div>
|
|
233
245
|
`:null}
|
|
@@ -239,4 +251,4 @@ function(t,i,o,e){for(var n,s=arguments.length,r=s<3?i:null===e?e=Object.getOwnP
|
|
|
239
251
|
</div>
|
|
240
252
|
</div>
|
|
241
253
|
</div>
|
|
242
|
-
`:null}updated(t){if(t.has("opened")){const t=new CustomEvent("opened-changed",{detail:{opened:this.opened}});this.dispatchEvent(t)}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.watchEscapeKey.bind(this))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.watchEscapeKey.bind(this))}close(){this.opened=!1}open(){this.opened=!0}watchEscapeKey(t){"Escape"===t.key&&this.closeOnEsc&&this.close()}watchClickOutside(){this.closeOnClickOutside&&this.close()}}
|
|
254
|
+
`:null}updated(t){if(t.has("opened")){const t=new CustomEvent("opened-changed",{detail:{opened:this.opened}});this.dispatchEvent(t)}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.watchEscapeKey.bind(this))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.watchEscapeKey.bind(this))}close(){this.opened=!1}open(){this.opened=!0}watchEscapeKey(t){"Escape"===t.key&&this.closeOnEsc&&this.close()}watchClickOutside(){this.closeOnClickOutside&&this.close()}}be.elementDefinitions={"ft-typography":pe,"ft-icon":ue},ve([o.property({type:Boolean,hasChanged:(t,e)=>!1===e&&!0===t||!0===e&&!1===t})],be.prototype,"opened",void 0),ve([o.property({type:Boolean})],be.prototype,"closeOnEsc",void 0),ve([o.property({type:Boolean})],be.prototype,"closeOnClickOutside",void 0),ve([o.property({type:String})],be.prototype,"heading",void 0),ve([o.property({type:String})],be.prototype,"icon",void 0),e.customElement("ft-dialog")(be),t.FtDialog=be,t.FtDialogCssVariables=$e,t.default=be,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
|