@@ -38,7 +38,7 @@ import {
38
38
} from "comps/controls/styleControlConstants" ;
39
39
// Initialise exposed values
40
40
import { stateComp , valueComp } from "comps/generators/simpleGenerators" ;
41
- // The component' s api for exposing properties externally
41
+ // The component" s api for exposing properties externally
42
42
import {
43
43
NameConfig ,
44
44
NameConfigHidden ,
@@ -86,26 +86,26 @@ const EventOptions = [
86
86
87
87
const childrenMap = {
88
88
value : jsonControl ( convertCommentData , commentDate ) ,
89
- title : withDefault ( StringControl , trans ( ' comment.titledDefaultValue' ) ) ,
90
- placeholder : withDefault ( StringControl , trans ( ' comment.placeholder' ) ) ,
91
- buttonText : withDefault ( StringControl , trans ( ' comment.buttonText' ) ) ,
89
+ title : withDefault ( StringControl , trans ( " comment.titledDefaultValue" ) ) ,
90
+ placeholder : withDefault ( StringControl , trans ( " comment.placeholder" ) ) ,
91
+ buttonText : withDefault ( StringControl , trans ( " comment.buttonText" ) ) ,
92
92
sendCommentAble : BoolControl . DEFAULT_TRUE ,
93
93
deleteAble : BoolControl ,
94
94
userInfo : jsonControl ( checkUserInfoData , {
95
- name : ' {{currentUser.name}}' ,
96
- email : ' {{currentUser.email}}' ,
95
+ name : " {{currentUser.name}}" ,
96
+ email : " {{currentUser.email}}" ,
97
97
} ) ,
98
98
mentionList : jsonControl ( checkMentionListData , {
99
- '@' : [ ' Li Lei' , ' Han Meimei' ] ,
100
- '#' : [ ' 123' , ' 456' , ' 789' ] ,
99
+ "@" : [ " Li Lei" , " Han Meimei" ] ,
100
+ "#" : [ " 123" , " 456" , " 789" ] ,
101
101
} ) ,
102
102
onEvent : eventHandlerControl ( EventOptions ) ,
103
103
style : styleControl ( CommentStyle ) ,
104
104
animationStyle : styleControl ( AnimationStyle ) ,
105
- commentList : jsonValueExposingStateControl ( ' commentList' , [ ] ) ,
106
- deletedItem : jsonValueExposingStateControl ( ' deletedItem' , [ ] ) ,
107
- submitedItem : jsonValueExposingStateControl ( ' submitedItem' , [ ] ) ,
108
- mentionName : valueComp < string > ( '' ) ,
105
+ commentList : jsonValueExposingStateControl ( " commentList" , [ ] ) ,
106
+ deletedItem : jsonValueExposingStateControl ( " deletedItem" , [ ] ) ,
107
+ submitedItem : jsonValueExposingStateControl ( " submitedItem" , [ ] ) ,
108
+ mentionName : valueComp < string > ( "" ) ,
109
109
} ;
110
110
111
111
const CommentCompBase = (
@@ -253,7 +253,7 @@ const CommentCompBase = (
253
253
< List
254
254
header = {
255
255
title !== "" ? (
256
- < div style = { { position : ' sticky' , top :0 , background : style . background } } >
256
+ < div style = { { position : " sticky" , top :0 , background : style . background } } >
257
257
{ commentListData . length > 1
258
258
? title
259
259
. replaceAll ( "%d" , commentListData . length . toString ( ) )
0 commit comments