@fluid-topics/ft-confirm-button 1.3.19 → 1.3.21
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.
|
@@ -1154,7 +1154,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1154
1154
|
<span class="ft-i18n">
|
|
1155
1155
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
1156
1156
|
</span>
|
|
1157
|
-
`}update(r){var o;super.update(r),["context","key","defaultMessage"].some(n=>r.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Be.elementDefinitions={};Be.styles=Qi;wr([(0,Oo.redux)()],Be.prototype,"editorMode",void 0);wr([(0,So.property)()],Be.prototype,"context",void 0);wr([(0,So.property)()],Be.prototype,"key",void 0);wr([(0,Oo.jsonProperty)([])],Be.prototype,"args",void 0);wr([(0,So.property)()],Be.prototype,"defaultMessage",void 0);var Co=class e{static build(r){return new e(r)}static buildCustom(r){return new e(r,!0)}static fromGwt(r){return new e(r)}get service(){return this.custom?qr:Yt}constructor(r,o=!1){this.name=r,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return c=>({context:this.name,key:i,custom:this.custom,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)})}};(0,Mc.customElement)("ft-i18n")(Be);var _n=Co.build("dsModal"),$c={closeModal:"Close modal"};var kn=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Pn=class extends Event{constructor(){super("close")}},Ue=class extends xo(Eo.FtdsBase){constructor(){super(),this.heading="",this.size=fe.small,this.addI18nContext(_n,$c)}render(){let r={"ftds-modal":!0,...this.getDesignSystemBaseClasses()};return Rr.html`
|
|
1157
|
+
`}update(r){var o;super.update(r),["context","key","defaultMessage"].some(n=>r.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Be.elementDefinitions={};Be.styles=Qi;wr([(0,Oo.redux)()],Be.prototype,"editorMode",void 0);wr([(0,So.property)()],Be.prototype,"context",void 0);wr([(0,So.property)()],Be.prototype,"key",void 0);wr([(0,Oo.jsonProperty)([])],Be.prototype,"args",void 0);wr([(0,So.property)()],Be.prototype,"defaultMessage",void 0);var Co=class e{static build(r){return new e(r)}static buildCustom(r){return new e(r,!0)}static fromGwt(r){return new e(r)}get service(){return this.custom?qr:Yt}constructor(r,o=!1){this.name=r,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return c=>({context:this.name,key:i,custom:this.custom,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)}),this.keys=new Proxy({},{get:(n,a)=>()=>a})}};(0,Mc.customElement)("ft-i18n")(Be);var _n=Co.build("dsModal"),$c={closeModal:"Close modal"};var kn=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Pn=class extends Event{constructor(){super("close")}},Ue=class extends xo(Eo.FtdsBase){constructor(){super(),this.heading="",this.size=fe.small,this.addI18nContext(_n,$c)}render(){let r={"ftds-modal":!0,...this.getDesignSystemBaseClasses()};return Rr.html`
|
|
1158
1158
|
<div class="${(0,Fc.classMap)(r)}" part="container">
|
|
1159
1159
|
<dialog part="dialog"
|
|
1160
1160
|
@close="${()=>this.dispatchEvent(new Pn)}">
|
|
@@ -1221,7 +1221,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1221
1221
|
<span class="ft-i18n">
|
|
1222
1222
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
1223
1223
|
</span>
|
|
1224
|
-
`}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Ue.elementDefinitions={};Ue.styles=Dl;Qr([wo()],Ue.prototype,"editorMode",void 0);Qr([w()],Ue.prototype,"context",void 0);Qr([w()],Ue.prototype,"key",void 0);Qr([je([])],Ue.prototype,"args",void 0);Qr([w()],Ue.prototype,"defaultMessage",void 0);var qo=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?Ho:vr}constructor(e,o=!1){this.name=e,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return s=>({context:this.name,key:i,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)})}};ae("ft-i18n")(Ue);var ki=qo.build("dsModal"),Vl={closeModal:"Close modal"};var Mi=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Di=class extends Event{constructor(){super("close")}},Fe=class extends Zo(Ur){constructor(){super(),this.heading="",this.size=de.small,this.addI18nContext(ki,Vl)}render(){let e={"ftds-modal":!0,...this.getDesignSystemBaseClasses()};return W`
|
|
1224
|
+
`}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Ue.elementDefinitions={};Ue.styles=Dl;Qr([wo()],Ue.prototype,"editorMode",void 0);Qr([w()],Ue.prototype,"context",void 0);Qr([w()],Ue.prototype,"key",void 0);Qr([je([])],Ue.prototype,"args",void 0);Qr([w()],Ue.prototype,"defaultMessage",void 0);var qo=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?Ho:vr}constructor(e,o=!1){this.name=e,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return s=>({context:this.name,key:i,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)}),this.keys=new Proxy({},{get:(n,a)=>()=>a})}};ae("ft-i18n")(Ue);var ki=qo.build("dsModal"),Vl={closeModal:"Close modal"};var Mi=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Di=class extends Event{constructor(){super("close")}},Fe=class extends Zo(Ur){constructor(){super(),this.heading="",this.size=de.small,this.addI18nContext(ki,Vl)}render(){let e={"ftds-modal":!0,...this.getDesignSystemBaseClasses()};return W`
|
|
1225
1225
|
<div class="${ct(e)}" part="container">
|
|
1226
1226
|
<dialog part="dialog"
|
|
1227
1227
|
@close="${()=>this.dispatchEvent(new Di)}">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-confirm-button",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.21",
|
|
4
4
|
"description": "A two step confirmation button",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-wc-utils": "1.3.
|
|
22
|
+
"@fluid-topics/ft-wc-utils": "1.3.21",
|
|
23
23
|
"lit": "3.1.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@fluid-topics/ft-wc-test-utils": "1.3.
|
|
26
|
+
"@fluid-topics/ft-wc-test-utils": "1.3.21"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "fd30595cd89395cbcac48ca8146aecef2e9b8673"
|
|
29
29
|
}
|