@fluid-topics/ft-reader-feedback 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.
|
@@ -1668,7 +1668,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1668
1668
|
<span class="ft-i18n">
|
|
1669
1669
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
1670
1670
|
</span>
|
|
1671
|
-
`}update(e){var o;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Ot.elementDefinitions={};Ot.styles=jc;Mo([(0,Mi.redux)()],Ot.prototype,"editorMode",void 0);Mo([(0,Bi.property)()],Ot.prototype,"context",void 0);Mo([(0,Bi.property)()],Ot.prototype,"key",void 0);Mo([(0,Mi.jsonProperty)([])],Ot.prototype,"args",void 0);Mo([(0,Bi.property)()],Ot.prototype,"defaultMessage",void 0);var fr=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?gi:oo}constructor(e,o=!1){this.name=e,this.custom=o,this.properties=new Proxy({},{get:(i,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(i,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(i,n)=>this.service.resolveRawMessage(this.name,n)})}};var Fi=(t,e)=>(o,i)=>{var n,a;o.constructor.createProperty(i,e??{attribute:!1,type:String});let s={...t,key:(n=t.key)!==null&&n!==void 0?n:i};o[Bo]=(a=o[Bo])!==null&&a!==void 0?a:new Map,o[Bo].set(i,s)};(0,Jd.customElement)("ft-i18n")(Ot);var V=fr.build("integratedFeedbackComponent"),eu={starsRating:"{0} stars","starsRating[\\=1]":"1 star",like:"Like",dislike:"Dislike",dichotomousYes:"Yes",dichotomousNo:"No",notRated:"Not rated",ratedNow:"Rated now",ratedToday:"Rated today",ratedOn:"Rated on {0, date}",feedbackInputLabel:"How can we improve it?",feedbackfromEmail:"Your email",feedbackfromEmailInvalid:"Please enter a valid email address",okButton:"Send feedback",cancelButton:"Cancel",moreOptionsButton:"More options",feedbackSuccess:"Feedback successfully sent. Thank you!",feedbackFailure:"Failed to send feedback. Please try again later.",ratingSuccess:"Rating successfully sent. Thank you!",ratingFailure:"Failed to send rating. Please try again later.",mapFeedbackMainTitle:"Send feedback",mapRatingSectionTitle:"Rate this document",mapDichotomousRatingSectionTitle:"Did it solve your problem?",mapFeedbackSectionTitle:"Write your review",topicFeedbackMainTitle:"Send feedback",topicRatingSectionTitle:"Rate this content",topicDichotomousRatingSectionTitle:"Did this content solve your problem?",topicFeedbackSectionTitle:"Write your review"};var Ta=m(T());var Re=m(B()),z=m(Z()),su=m(Kn()),lu=m($t());var Ui=t=>t??ve;var hr=m(T());var tu=m(B()),D=m(T());var U={fontSize:D.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:D.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:D.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:D.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:D.FtCssVariableFactory.extend("--ft-text-field-helper-color","",D.designSystemVariables.colorOnSurfaceMedium),colorPrimary:D.FtCssVariableFactory.external(D.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:D.FtCssVariableFactory.external(D.designSystemVariables.borderRadiusS,"Design system"),colorError:D.FtCssVariableFactory.external(D.designSystemVariables.colorError,"Design system"),prefixColor:D.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",D.designSystemVariables.colorOnSurfaceMedium),iconColor:D.FtCssVariableFactory.extend("--ft-text-field-icon-color","",D.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:D.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:D.FtCssVariableFactory.extend("--ft-text-field-background-color","",D.designSystemVariables.colorSurface),colorOutline:D.FtCssVariableFactory.external(D.designSystemVariables.colorOutline,"Design system"),elevation02:D.FtCssVariableFactory.external(D.designSystemVariables.elevation02,"Design system"),suggestSize:D.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},ru=tu.css`
|
|
1671
|
+
`}update(e){var o;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Ot.elementDefinitions={};Ot.styles=jc;Mo([(0,Mi.redux)()],Ot.prototype,"editorMode",void 0);Mo([(0,Bi.property)()],Ot.prototype,"context",void 0);Mo([(0,Bi.property)()],Ot.prototype,"key",void 0);Mo([(0,Mi.jsonProperty)([])],Ot.prototype,"args",void 0);Mo([(0,Bi.property)()],Ot.prototype,"defaultMessage",void 0);var fr=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?gi:oo}constructor(e,o=!1){this.name=e,this.custom=o,this.properties=new Proxy({},{get:(i,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(i,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(i,n)=>this.service.resolveRawMessage(this.name,n)}),this.keys=new Proxy({},{get:(i,n)=>()=>n})}};var Fi=(t,e)=>(o,i)=>{var n,a;o.constructor.createProperty(i,e??{attribute:!1,type:String});let s={...t,key:(n=t.key)!==null&&n!==void 0?n:i};o[Bo]=(a=o[Bo])!==null&&a!==void 0?a:new Map,o[Bo].set(i,s)};(0,Jd.customElement)("ft-i18n")(Ot);var V=fr.build("integratedFeedbackComponent"),eu={starsRating:"{0} stars","starsRating[\\=1]":"1 star",like:"Like",dislike:"Dislike",dichotomousYes:"Yes",dichotomousNo:"No",notRated:"Not rated",ratedNow:"Rated now",ratedToday:"Rated today",ratedOn:"Rated on {0, date}",feedbackInputLabel:"How can we improve it?",feedbackfromEmail:"Your email",feedbackfromEmailInvalid:"Please enter a valid email address",okButton:"Send feedback",cancelButton:"Cancel",moreOptionsButton:"More options",feedbackSuccess:"Feedback successfully sent. Thank you!",feedbackFailure:"Failed to send feedback. Please try again later.",ratingSuccess:"Rating successfully sent. Thank you!",ratingFailure:"Failed to send rating. Please try again later.",mapFeedbackMainTitle:"Send feedback",mapRatingSectionTitle:"Rate this document",mapDichotomousRatingSectionTitle:"Did it solve your problem?",mapFeedbackSectionTitle:"Write your review",topicFeedbackMainTitle:"Send feedback",topicRatingSectionTitle:"Rate this content",topicDichotomousRatingSectionTitle:"Did this content solve your problem?",topicFeedbackSectionTitle:"Write your review"};var Ta=m(T());var Re=m(B()),z=m(Z()),su=m(Kn()),lu=m($t());var Ui=t=>t??ve;var hr=m(T());var tu=m(B()),D=m(T());var U={fontSize:D.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:D.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:D.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:D.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:D.FtCssVariableFactory.extend("--ft-text-field-helper-color","",D.designSystemVariables.colorOnSurfaceMedium),colorPrimary:D.FtCssVariableFactory.external(D.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:D.FtCssVariableFactory.external(D.designSystemVariables.borderRadiusS,"Design system"),colorError:D.FtCssVariableFactory.external(D.designSystemVariables.colorError,"Design system"),prefixColor:D.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",D.designSystemVariables.colorOnSurfaceMedium),iconColor:D.FtCssVariableFactory.extend("--ft-text-field-icon-color","",D.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:D.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:D.FtCssVariableFactory.extend("--ft-text-field-background-color","",D.designSystemVariables.colorSurface),colorOutline:D.FtCssVariableFactory.external(D.designSystemVariables.colorOutline,"Design system"),elevation02:D.FtCssVariableFactory.external(D.designSystemVariables.elevation02,"Design system"),suggestSize:D.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},ru=tu.css`
|
|
1672
1672
|
*:focus {
|
|
1673
1673
|
outline: none;
|
|
1674
1674
|
}
|
|
@@ -1735,7 +1735,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1735
1735
|
<span class="ft-i18n">
|
|
1736
1736
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
1737
1737
|
</span>
|
|
1738
|
-
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};dt.elementDefinitions={};dt.styles=ip;qo([se()],dt.prototype,"editorMode",void 0);qo([g()],dt.prototype,"context",void 0);qo([g()],dt.prototype,"key",void 0);qo([mt([])],dt.prototype,"args",void 0);qo([g()],dt.prototype,"defaultMessage",void 0);var ir=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?$i:so}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(i,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(i,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(i,n)=>this.service.resolveRawMessage(this.name,n)})}};var Hi=(t,e)=>(r,i)=>{var n,a;r.constructor.createProperty(i,e??{attribute:!1,type:String});let s={...t,key:(n=t.key)!==null&&n!==void 0?n:i};r[Zo]=(a=r[Zo])!==null&&a!==void 0?a:new Map,r[Zo].set(i,s)};K("ft-i18n")(dt);var J=ir.build("integratedFeedbackComponent"),hp={starsRating:"{0} stars","starsRating[\\=1]":"1 star",like:"Like",dislike:"Dislike",dichotomousYes:"Yes",dichotomousNo:"No",notRated:"Not rated",ratedNow:"Rated now",ratedToday:"Rated today",ratedOn:"Rated on {0, date}",feedbackInputLabel:"How can we improve it?",feedbackfromEmail:"Your email",feedbackfromEmailInvalid:"Please enter a valid email address",okButton:"Send feedback",cancelButton:"Cancel",moreOptionsButton:"More options",feedbackSuccess:"Feedback successfully sent. Thank you!",feedbackFailure:"Failed to send feedback. Please try again later.",ratingSuccess:"Rating successfully sent. Thank you!",ratingFailure:"Failed to send rating. Please try again later.",mapFeedbackMainTitle:"Send feedback",mapRatingSectionTitle:"Rate this document",mapDichotomousRatingSectionTitle:"Did it solve your problem?",mapFeedbackSectionTitle:"Write your review",topicFeedbackMainTitle:"Send feedback",topicRatingSectionTitle:"Rate this content",topicDichotomousRatingSectionTitle:"Did this content solve your problem?",topicFeedbackSectionTitle:"Write your review"};var Wi=t=>t??B;var G={fontSize:o.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:o.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:o.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:o.extend("--ft-text-field-helper-color","",T.colorOnSurfaceMedium),colorPrimary:o.external(T.colorPrimary,"Design system"),colorOnSurface:o.external(T.colorOnSurface,"Design system"),colorOnSurfaceDisabled:o.external(T.colorOnSurfaceDisabled,"Design system"),borderRadiusS:o.external(T.borderRadiusS,"Design system"),colorError:o.external(T.colorError,"Design system"),prefixColor:o.extend("--ft-text-field-prefix-color","",T.colorOnSurfaceMedium),iconColor:o.extend("--ft-text-field-icon-color","",T.colorOnSurfaceMedium),floatingZIndex:o.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:o.extend("--ft-text-field-background-color","",T.colorSurface),colorOutline:o.external(T.colorOutline,"Design system"),elevation02:o.external(T.elevation02,"Design system"),suggestSize:o.create("--ft-text-field-suggest-size","","SIZE","300px")},mp=k`
|
|
1738
|
+
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};dt.elementDefinitions={};dt.styles=ip;qo([se()],dt.prototype,"editorMode",void 0);qo([g()],dt.prototype,"context",void 0);qo([g()],dt.prototype,"key",void 0);qo([mt([])],dt.prototype,"args",void 0);qo([g()],dt.prototype,"defaultMessage",void 0);var ir=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?$i:so}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(i,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(i,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(i,n)=>this.service.resolveRawMessage(this.name,n)}),this.keys=new Proxy({},{get:(i,n)=>()=>n})}};var Hi=(t,e)=>(r,i)=>{var n,a;r.constructor.createProperty(i,e??{attribute:!1,type:String});let s={...t,key:(n=t.key)!==null&&n!==void 0?n:i};r[Zo]=(a=r[Zo])!==null&&a!==void 0?a:new Map,r[Zo].set(i,s)};K("ft-i18n")(dt);var J=ir.build("integratedFeedbackComponent"),hp={starsRating:"{0} stars","starsRating[\\=1]":"1 star",like:"Like",dislike:"Dislike",dichotomousYes:"Yes",dichotomousNo:"No",notRated:"Not rated",ratedNow:"Rated now",ratedToday:"Rated today",ratedOn:"Rated on {0, date}",feedbackInputLabel:"How can we improve it?",feedbackfromEmail:"Your email",feedbackfromEmailInvalid:"Please enter a valid email address",okButton:"Send feedback",cancelButton:"Cancel",moreOptionsButton:"More options",feedbackSuccess:"Feedback successfully sent. Thank you!",feedbackFailure:"Failed to send feedback. Please try again later.",ratingSuccess:"Rating successfully sent. Thank you!",ratingFailure:"Failed to send rating. Please try again later.",mapFeedbackMainTitle:"Send feedback",mapRatingSectionTitle:"Rate this document",mapDichotomousRatingSectionTitle:"Did it solve your problem?",mapFeedbackSectionTitle:"Write your review",topicFeedbackMainTitle:"Send feedback",topicRatingSectionTitle:"Rate this content",topicDichotomousRatingSectionTitle:"Did this content solve your problem?",topicFeedbackSectionTitle:"Write your review"};var Wi=t=>t??B;var G={fontSize:o.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:o.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:o.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:o.extend("--ft-text-field-helper-color","",T.colorOnSurfaceMedium),colorPrimary:o.external(T.colorPrimary,"Design system"),colorOnSurface:o.external(T.colorOnSurface,"Design system"),colorOnSurfaceDisabled:o.external(T.colorOnSurfaceDisabled,"Design system"),borderRadiusS:o.external(T.borderRadiusS,"Design system"),colorError:o.external(T.colorError,"Design system"),prefixColor:o.extend("--ft-text-field-prefix-color","",T.colorOnSurfaceMedium),iconColor:o.extend("--ft-text-field-icon-color","",T.colorOnSurfaceMedium),floatingZIndex:o.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:o.extend("--ft-text-field-background-color","",T.colorSurface),colorOutline:o.external(T.colorOutline,"Design system"),elevation02:o.external(T.elevation02,"Design system"),suggestSize:o.create("--ft-text-field-suggest-size","","SIZE","300px")},mp=k`
|
|
1739
1739
|
*:focus {
|
|
1740
1740
|
outline: none;
|
|
1741
1741
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-reader-feedback",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.21",
|
|
4
4
|
"description": "Feedback forms for a map and its topics in an integrated reader",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-app-context": "1.3.
|
|
23
|
-
"@fluid-topics/ft-reader-context": "1.3.
|
|
24
|
-
"@fluid-topics/ft-wc-utils": "1.3.
|
|
22
|
+
"@fluid-topics/ft-app-context": "1.3.21",
|
|
23
|
+
"@fluid-topics/ft-reader-context": "1.3.21",
|
|
24
|
+
"@fluid-topics/ft-wc-utils": "1.3.21",
|
|
25
25
|
"lit": "3.1.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@fluid-topics/public-api": "1.0.102"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "fd30595cd89395cbcac48ca8146aecef2e9b8673"
|
|
31
31
|
}
|