@@ -177,7 +177,7 @@ export class ArtIframeDialogComponent {
177177 }
178178
179179 processCategory ( category ) {
180- console . log ( 'category (processCategory):' , category )
180+ console . debug ( 'category (processCategory):' , category )
181181
182182 let artBody = { }
183183
@@ -202,16 +202,16 @@ export class ArtIframeDialogComponent {
202202 artBody [ category . art_api ] = true
203203 }
204204
205- console . log ( 'Art Body (processCategory):' , artBody )
205+ console . debug ( 'Art Body (processCategory):' , artBody )
206206
207207 return artBody
208208
209209 }
210210
211211 createARTBody ( ) {
212212 // Make ART JSON body in structure shown above
213- //console.log ('selected Categories:', this.selectedCategories)
214- //console.log ('selected SubCategories:', this.selectedSubcategories)
213+ //console.debug ('selected Categories:', this.selectedCategories)
214+ //console.debug ('selected SubCategories:', this.selectedSubcategories)
215215
216216 this . categories . forEach ( category => {
217217
@@ -226,8 +226,8 @@ export class ArtIframeDialogComponent {
226226
227227 onSubmit ( ) : void {
228228 // Process ART data here
229- console . log ( 'Selected Categories:' , this . selectedCategories )
230- console . log ( 'Selected Subcategories:' , this . selectedSubcategories )
229+ console . debug ( 'Selected Categories:' , this . selectedCategories )
230+ console . debug ( 'Selected Subcategories:' , this . selectedSubcategories )
231231
232232 if ( this . selectedCategories . length === 0 && this . selectedSubcategories . length === 0 ) {
233233 this . alert_display = 'inherit'
@@ -239,19 +239,19 @@ export class ArtIframeDialogComponent {
239239
240240 this . createARTBody ( )
241241
242- console . log ( 'Art Body:' , this . art_body )
242+ console . debug ( 'Art Body:' , this . art_body )
243243
244244
245245 this . artService . getArtLanguage ( this . art_body )
246246 . subscribe ( {
247247 next : data => {
248- console . log ( 'Art Language Data:' , data )
248+ console . debug ( 'Art Language Data:' , data )
249249 this . art_language = data ;
250250
251251 if ( data ) {
252252 this . display = 'inherit'
253253 this . solicitationService . postSolicitationART ( this . solicitationId , data ) . subscribe ( {
254- next : ( response ) => console . log ( 'Post Solicitation ART Response:' , response ) ,
254+ next : ( response ) => console . debug ( 'Post Solicitation ART Response:' , response ) ,
255255 error : ( error ) => console . error ( 'Post Solicitation ART Error:' , error )
256256 } )
257257
@@ -265,8 +265,8 @@ export class ArtIframeDialogComponent {
265265
266266 const replaceFieldNames = ( error : string , fieldNames : { [ key : string ] : string } ) : string => {
267267 return error . replace ( / ' ( [ ^ ' ] + ) ' / g, ( match , p1 ) => {
268- console . log ( 'Match:' , match )
269- console . log ( 'P1:' , p1 )
268+ console . debug ( 'Match:' , match )
269+ console . debug ( 'P1:' , p1 )
270270 const parts = p1 . split ( '.' ) ;
271271 const art_api = parts [ parts . length - 1 ] ;
272272 return fieldNames [ art_api ] ? `'${ fieldNames [ art_api ] } '` : match ;
@@ -285,7 +285,7 @@ export class ArtIframeDialogComponent {
285285 }
286286 } ) ;
287287
288- console . log ( 'Art Language:' , this . art_language )
288+ console . debug ( 'Art Language:' , this . art_language )
289289 }
290290
291291 clearAll ( ) {
@@ -322,7 +322,7 @@ export class ArtIframeDialogComponent {
322322 }
323323
324324 onCategoryChange ( selected ) {
325- console . log ( 'Selected:' , selected )
325+ console . debug ( 'Selected:' , selected )
326326
327327 this . selectedCategories = selected . selectedCategories ;
328328 let parent = selected . parent ;
@@ -335,13 +335,13 @@ export class ArtIframeDialogComponent {
335335
336336 }
337337
338- console . log ( 'Selected Subcategories:' , this . selectedSubcategories )
338+ console . debug ( 'Selected Subcategories:' , this . selectedSubcategories )
339339 }
340340
341341 copyToClipBoard ( elem ) {
342342 navigator . clipboard . writeText ( elem . innerText )
343343 . then ( ( ) => {
344- console . log ( 'Text copied to clipboard' ) ;
344+ console . debug ( 'Text copied to clipboard' ) ;
345345 // Additional code after copying to clipboard
346346 } )
347347 . catch ( ( error ) => {
0 commit comments