@@ -33,7 +33,7 @@ export const getSettings = (data: IAlertComponentProps) => {
3333 type : 'textField' ,
3434 id : nanoid ( ) ,
3535 propertyName : 'componentName' ,
36- label : 'Component name ' ,
36+ label : 'Component Name ' ,
3737 size : 'small' ,
3838 jsSetting : true ,
3939 }
@@ -163,23 +163,6 @@ export const getSettings = (data: IAlertComponentProps) => {
163163 ] ,
164164 } )
165165 . toJson ( ) ]
166- }
167- ,
168- {
169- key : 'security' ,
170- title : 'Security' ,
171- id : securityTabId ,
172- components : [ ...new DesignerToolbarSettings ( )
173- . addSettingsInput ( {
174- id : nanoid ( ) ,
175- inputType : 'permissions' ,
176- propertyName : 'permissions' ,
177- label : 'Permissions' ,
178- size : 'small' ,
179- parentId : securityTabId
180- } )
181- . toJson ( )
182- ]
183166 } ,
184167 {
185168 key : 'appearance' ,
@@ -190,7 +173,7 @@ export const getSettings = (data: IAlertComponentProps) => {
190173 . addCollapsiblePanel ( {
191174 id : nanoid ( ) ,
192175 propertyName : 'customStyle' ,
193- label : 'Custom Style ' ,
176+ label : 'Custom Styles ' ,
194177 labelAlign : 'right' ,
195178 ghost : true ,
196179 parentId : appearanceTabId ,
@@ -199,7 +182,7 @@ export const getSettings = (data: IAlertComponentProps) => {
199182 id : nanoid ( ) ,
200183 components : [ ...new DesignerToolbarSettings ( )
201184 . addSettingsInput ( {
202-
185+
203186 id : nanoid ( ) ,
204187 inputType : 'codeEditor' ,
205188 propertyName : 'style' ,
@@ -213,6 +196,22 @@ export const getSettings = (data: IAlertComponentProps) => {
213196 } )
214197 . toJson ( )
215198 ]
199+ } ,
200+ {
201+ key : 'security' ,
202+ title : 'Security' ,
203+ id : securityTabId ,
204+ components : [ ...new DesignerToolbarSettings ( )
205+ . addSettingsInput ( {
206+ id : nanoid ( ) ,
207+ inputType : 'permissions' ,
208+ propertyName : 'permissions' ,
209+ label : 'Permissions' ,
210+ size : 'small' ,
211+ parentId : securityTabId
212+ } )
213+ . toJson ( )
214+ ]
216215 }
217216 ]
218217 } ) . toJson ( ) ,
0 commit comments