@@ -453,11 +453,11 @@ export class Edt {
453453
454454 fillObjectItemsByMetadata ( idPrefix : string , metadataType : string , metadata : Metadata ) {
455455 const attributes = metadata . attributes ?.
456- map ( ( attr : any ) => GetTreeItem ( idPrefix + attr . $_uuid , attr . name , { icon : 'attribute' } ) ) ;
456+ map ( ( attr ) => GetTreeItem ( idPrefix + attr . $_uuid , attr . name , { icon : 'attribute' } ) ) ;
457457 const tabularSection = metadata . tabularSections ?.
458- map ( ( tabularSection : any ) => GetTreeItem ( idPrefix + tabularSection . $_uuid , tabularSection . name , { icon : 'tabularSection' ,
458+ map ( ( tabularSection ) => GetTreeItem ( idPrefix + tabularSection . $_uuid , tabularSection . name , { icon : 'tabularSection' ,
459459 children : tabularSection . attributes ?.
460- map ( ( tsAttr : any ) => GetTreeItem ( idPrefix + tsAttr . $_uuid , tsAttr . name , { icon : 'attribute' } ) ) } ) ) ;
460+ map ( ( tsAttr ) => GetTreeItem ( idPrefix + tsAttr . $_uuid , tsAttr . name , { icon : 'attribute' } ) ) } ) ) ;
461461
462462 const items = [
463463 GetTreeItem ( '' , 'Реквизиты' , { icon : 'attribute' , children : attributes ?. length === 0 ? undefined : attributes } ) ,
@@ -479,7 +479,7 @@ export class Edt {
479479 return [
480480 GetTreeItem ( '' , 'Формы' , {
481481 icon : 'form' ,
482- children : metadata . forms ?. map ( ( form : any ) => GetTreeItem ( idPrefix + form . $_uuid , form . name , {
482+ children : metadata . forms ?. map ( ( form ) => GetTreeItem ( idPrefix + form . $_uuid , form . name , {
483483 icon : 'form' ,
484484 context : 'form' ,
485485 path : `${ idPrefix } ${ metadataType } /${ metadata . name } /Forms/${ form . name } ` ,
@@ -488,7 +488,7 @@ export class Edt {
488488 } ) ,
489489 GetTreeItem ( '' , 'Команды' , {
490490 icon : 'command' ,
491- children : metadata . commands ?. map ( ( command : any ) => GetTreeItem ( idPrefix + command . $_uuid , command . name , {
491+ children : metadata . commands ?. map ( ( command ) => GetTreeItem ( idPrefix + command . $_uuid , command . name , {
492492 icon : 'command' ,
493493 context : 'command' ,
494494 path : `${ idPrefix } ${ metadataType } /${ metadata . name } /Commands/${ command . name } ` ,
@@ -497,7 +497,7 @@ export class Edt {
497497 } ) ,
498498 GetTreeItem ( '' , 'Макеты' , {
499499 icon : 'template' ,
500- children : metadata . templates ?. map ( ( template : any ) => {
500+ children : metadata . templates ?. map ( ( template ) => {
501501 const path = `${ idPrefix } ${ metadataType } /${ metadata . name } /Templates/${ template . name } ` ;
502502
503503 return GetTreeItem ( idPrefix + template . $_uuid , template . name , {
@@ -516,7 +516,7 @@ export class Edt {
516516 fillDocumentJournalItemsByMetadata ( idPrefix : string , metadata : Metadata ) {
517517 const items = [
518518 GetTreeItem ( '' , 'Графы' , { icon : 'column' , children : metadata . columns ?.
519- map ( ( column : any ) => GetTreeItem ( idPrefix + column . $_uuid , column . name , {
519+ map ( ( column ) => GetTreeItem ( idPrefix + column . $_uuid , column . name , {
520520 icon : 'template'
521521 } ) )
522522 } ) ,
@@ -528,7 +528,7 @@ export class Edt {
528528 fillEnumItemsByMetadata ( idPrefix : string , metadata : Metadata ) {
529529 const items = [
530530 GetTreeItem ( '' , 'Значения' , { icon : 'attribute' , children : metadata . enumValues ?.
531- map ( ( enumValue : any ) => GetTreeItem ( idPrefix + enumValue . $_uuid , enumValue . name , {
531+ map ( ( enumValue ) => GetTreeItem ( idPrefix + enumValue . $_uuid , enumValue . name , {
532532 icon : 'attribute'
533533 } ) )
534534 } ) ,
@@ -540,13 +540,13 @@ export class Edt {
540540 fillChartOfAccountsItemsByMetadata ( idPrefix : string , metadata : Metadata ) {
541541 const items = [
542542 GetTreeItem ( '' , 'Признаки учета' , { icon : 'accountingFlag' , children : metadata . accountingFlags ?.
543- map ( ( accountingFlag : any ) => GetTreeItem ( idPrefix + accountingFlag . $_uuid , accountingFlag . name , {
543+ map ( ( accountingFlag ) => GetTreeItem ( idPrefix + accountingFlag . $_uuid , accountingFlag . name , {
544544 icon : 'accountingFlag'
545545 } ) )
546546 } ) ,
547547 GetTreeItem ( '' , 'Признаки учета субконто' , { icon : 'extDimensionAccountingFlag' ,
548548 children : metadata . extDimensionAccountingFlags ?.
549- map ( ( extDimensionAccountingFlag : any ) => GetTreeItem ( idPrefix + extDimensionAccountingFlag . $_uuid , extDimensionAccountingFlag . name , {
549+ map ( ( extDimensionAccountingFlag ) => GetTreeItem ( idPrefix + extDimensionAccountingFlag . $_uuid , extDimensionAccountingFlag . name , {
550550 icon : 'extDimensionAccountingFlag'
551551 } ) )
552552 } ) ,
@@ -559,13 +559,13 @@ export class Edt {
559559 fillRegisterItemsByMetadata ( idPrefix : string , metadataType : string , metadata : Metadata ) {
560560 const items = [
561561 GetTreeItem ( '' , 'Измерения' , { icon : 'dimension' , children : metadata . dimensions ?.
562- map ( ( dimension : any ) => GetTreeItem ( idPrefix + dimension . $_uuid , dimension . name , { icon : 'dimension' } ) )
562+ map ( ( dimension ) => GetTreeItem ( idPrefix + dimension . $_uuid , dimension . name , { icon : 'dimension' } ) )
563563 } ) ,
564564 GetTreeItem ( '' , 'Ресурсы' , { icon : 'resource' , children : metadata . resources ?.
565- map ( ( resource : any ) => GetTreeItem ( idPrefix + resource . $_uuid , resource . name , { icon : 'resource' } ) )
565+ map ( ( resource ) => GetTreeItem ( idPrefix + resource . $_uuid , resource . name , { icon : 'resource' } ) )
566566 } ) ,
567567 GetTreeItem ( '' , 'Реквизиты' , { icon : 'attribute' , children : metadata . attributes ?.
568- map ( ( attr : any ) => GetTreeItem ( idPrefix + attr . $_uuid , attr . name , { icon : 'attribute' } ) )
568+ map ( ( attr ) => GetTreeItem ( idPrefix + attr . $_uuid , attr . name , { icon : 'attribute' } ) )
569569 } ) ,
570570 ] ;
571571
@@ -583,7 +583,7 @@ export class Edt {
583583 fillTaskItemsByMetadata ( idPrefix : string , metadata : Metadata ) {
584584 const items = [
585585 GetTreeItem ( '' , 'Реквизиты адресации' , { icon : 'attribute' , children : metadata . addressingAttributes ?.
586- map ( ( attr : any ) => GetTreeItem ( idPrefix + attr . $_uuid , attr . name , { icon : 'attribute' } ) )
586+ map ( ( attr ) => GetTreeItem ( idPrefix + attr . $_uuid , attr . name , { icon : 'attribute' } ) )
587587 } ) ,
588588 ] ;
589589
0 commit comments