{"version":3,"file":"app-76afd423.0b9aaecf64cebc22.bundle.js","mappings":"yOAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,w6EAAy6E,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,qFAAqF,8DAA8D,MAAQ,GAAG,SAAW,msBAAmsB,eAAiB,CAAC,mkGAAqkG,8jGAA8jG,WAAa,MAE3/S,S,+DCPAD,EAAOE,QAAU,yS,2ECAjBF,EAAOE,QAAU,8vK,+BCEjB,IAAYC,E,iBAAZ,SAAYA,GACX,iCACA,2BACA,mCACA,sBACA,CALD,CAAYA,IAAAA,EAAiB,I,+BCM7B,IAAYC,E,iBAAZ,SAAYA,GACX,2BACA,yBACA,qBACA,4BACA,CALD,CAAYA,IAAAA,EAAM,I,+BCmElB,IAAYC,E,iBAAZ,SAAYA,GACX,yBACA,0BACA,CAHD,CAAYA,IAAAA,EAAc,I,+BCzE1B,IAAYC,EAaAC,E,yBAbZ,SAAYD,GACR,2BACA,2CACA,6BACA,0BACA,iCACH,CAND,CAAYA,IAAAA,EAAW,KAavB,SAAYC,GACR,0BACA,0CACA,4BACA,oBACA,2BACH,CAND,CAAYA,IAAAA,EAAc,I,gDCRnB,MAAMC,GACO,EAAAC,gBAAkB,kBAClB,EAAAC,mBAAqB,qBACxB,EAAAC,qBAAuB,sB,wDC4GjC,MAAMC,EAGZ,WAAAC,CAAYZ,EAAca,GACzBC,KAAKd,GAAKA,EACVc,KAAKD,KAAOA,CACb,EAGM,MAAME,EAIZ,WAAAH,CAAYI,EAAoBC,EAAgBJ,GAC/CC,KAAKE,WAAaA,EAClBF,KAAKG,QAAUA,EACfH,KAAKD,KAAOA,CACb,E,gDCvIM,MAAMK,G,gDCAN,MAAMC,EAAb,cAEC,KAAAC,iBAA2B,EAC3B,KAAAC,KAAe,GACf,KAAAC,gBAA0B,CAE3B,E,iJCHO,IAAMC,EAAN,MAEN,WAAAX,GACA,CAIA,cAAMY,CAASC,GACdX,KAAKY,UAAYD,EAAOC,SACzB,GATYH,E,mUAAgB,EAD5B,EAAAI,W,sIACYJ,E,+DCCNK,eAAeC,EAAuBJ,EAAaK,EAA0CC,SAC7FD,EAAoBE,uBAAuBP,EAAOC,UAAWK,GAEnE,MAAML,EAAYD,EAAOC,UAGzB,OAAIA,IAFmBI,EAAoBG,kBAAkBC,OAGrD,IAAI,KAAS,WAAaR,EAAY,4BAI/C,C","sources":["webpack://client-app/./src/app/project/building-parts-component/building-parts-component.scss","webpack://client-app/./src/app/project/access-denied-page/access-denied-page.html","webpack://client-app/./src/app/project/building-parts-component/building-parts-component.html","webpack://client-app/./src/app/models/parameter-definition-dto.ts","webpack://client-app/./src/app/models/parameter-definition-transfer-model.ts","webpack://client-app/./src/app/models/project-dto.ts","webpack://client-app/./src/app/models/project-role.ts","webpack://client-app/./src/app/models/setting-dto.ts","webpack://client-app/./src/app/models/viewer-dtos/Dtos/bimviewer-dtos.ts","webpack://client-app/./src/app/models/viewmodels/import-classification-model.ts","webpack://client-app/./src/app/models/viewmodels/import-valuelist-model.ts","webpack://client-app/./src/app/project/access-denied-page/access-denied-page.ts","webpack://client-app/./src/app/project/access-denied-page/access-redirecter.ts"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `object-grid.buildpart{padding-left:2px;display:flex;flex-direction:column;justify-content:space-between;height:calc(100vh - 115px)}[data-device-type=mobile] object-grid.buildpart,[data-device-type=tablet] object-grid.buildpart{height:calc(100vh - 4em - 50px)}.result-container object-grid.buildpart{height:100%}.buildpart .table-container{height:calc(100vh - 4em);z-index:0}[data-device-type=mobile] .buildpart .table-container,[data-device-type=tablet] .buildpart .table-container{height:calc(100vh - 4em - 50px)}.result-container .buildpart .table-container{height:100%}.header-menu{margin-top:3px;margin-bottom:15px;min-width:600px}.header-menu .left-side-header{display:inline-block;margin-left:15px}.header-menu .left-side-header h4{display:inline-block}.header-menu .right-side-header{float:right;margin-right:15px}.header-menu .right-side-header .multiline-setting{padding-right:20px}.header-menu .right-side-header .multiline-setting .number-input{display:inline-block;width:60px}.header-menu .right-side-header .multiline-setting button{display:inline-block}.object-container[data-object-properties=true]{display:grid;grid-template-columns:calc(100% - 480px) 480px}[data-device-type=mobile] .object-container[data-object-properties=true]{grid-template-columns:0 100vw}[data-device-type=tablet] .object-container[data-object-properties=true]{grid-template-columns:calc(100% - 480px) 480px}.object-container[data-object-properties=true][data-object-properties-detailed=true]{grid-template-columns:calc(100% - 560px) 560px}[data-device-type=mobile] .object-container[data-object-properties=true][data-object-properties-detailed=true]{grid-template-columns:0 100vw}[data-device-type=tablet] .object-container[data-object-properties=true][data-object-properties-detailed=true]{grid-template-columns:calc(100% - 560px) 560px}.object-container .properties-info{z-index:0}.dropdown-menu--saved-filters{position:absolute;transform:translateX(-200px);width:300px}.dropdown-menu--saved-filters__inner{max-height:600px;z-index:5}.dropdown-menu--saved-filters__inner .filter-name{width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-menu--saved-filters .dropdown-item{display:grid;grid-template-columns:auto 2.5em;align-items:center;gap:15px;padding:calc(15px/2) calc(15px/2) calc(15px/2) 0;min-height:3.75em}.dropdown-menu--saved-filters .load-filter{cursor:pointer;display:flex;align-items:center;gap:calc(15px/2);height:100%;padding-left:15px}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/project/building-parts-component/building-parts-component.scss\",\"webpack://./src/resources/customized-styles/variables.scss\"],\"names\":[],\"mappings\":\"AAEA,sBACC,gBAAA,CACG,YAAA,CACA,qBAAA,CACH,6BAAA,CACA,0BAAA,CAEA,gGACC,+BAAA,CAGD,wCACC,WAAA,CAIF,4BACC,wBAAA,CASA,SAAA,CAPA,4GACC,+BAAA,CAGD,8CACC,WAAA,CAKF,aACC,cAAA,CACA,kBAAA,CACA,eAAA,CACA,+BACC,oBAAA,CACA,gBAAA,CACA,kCACC,oBAAA,CAIF,gCACC,WAAA,CACA,iBAAA,CACA,mDACC,kBAAA,CACA,iEACC,oBAAA,CACA,UAAA,CAED,0DACC,oBAAA,CAQH,+CACC,YAAA,CACA,8CAAA,CAEA,yEACC,6BAAA,CAGD,yEACC,8CAAA,CAGD,qFACC,8CAAA,CAEA,+GACC,6BAAA,CAGD,+GACC,8CAAA,CAIH,mCACC,SAAA,CAIF,8BACC,iBAAA,CACA,4BAAA,CACA,WAAA,CACA,qCACC,gBAAA,CAOA,SAAA,CANA,kDACC,WAAA,CACA,eAAA,CACA,sBAAA,CACA,kBAAA,CAKF,6CACC,YAAA,CACA,gCAAA,CACA,kBAAA,CACA,QCnGO,CDoGP,gDAAA,CACA,iBAAA,CAGD,2CACC,cAAA,CACA,YAAA,CACA,kBAAA,CACA,gBAAA,CACA,WAAA,CACA,iBC9GO\",\"sourcesContent\":[\"@import \\\"src/resources/customized-styles/variables\\\";\\r\\n\\r\\nobject-grid.buildpart {\\r\\n\\tpadding-left: 2px;\\r\\n display: flex;\\r\\n flex-direction: column;\\r\\n\\tjustify-content: space-between;\\r\\n\\theight: calc(100vh - 115px);\\r\\n\\r\\n\\t[data-device-type=mobile] &, [data-device-type=tablet] & {\\r\\n\\t\\theight: calc(100vh - #{$top-bar-height} - #{$nav-height-mobile});\\r\\n\\t}\\r\\n\\r\\n\\t.result-container & {\\r\\n\\t\\theight: 100%;\\r\\n\\t}\\r\\n}\\r\\n\\r\\n.buildpart .table-container {\\r\\n\\theight: calc(100vh - #{$top-bar-height});\\r\\n\\r\\n\\t[data-device-type=mobile] &, [data-device-type=tablet] & {\\r\\n\\t\\theight: calc(100vh - #{$top-bar-height} - #{$nav-height-mobile});\\r\\n\\t}\\r\\n\\r\\n\\t.result-container & {\\r\\n\\t\\theight: 100%;\\r\\n\\t}\\r\\n\\tz-index:0;\\r\\n}\\r\\n\\r\\n.header-menu {\\r\\n\\tmargin-top: 3px;\\r\\n\\tmargin-bottom:15px;\\r\\n\\tmin-width: 600px;\\r\\n\\t.left-side-header {\\r\\n\\t\\tdisplay: inline-block;\\r\\n\\t\\tmargin-left: 15px;\\r\\n\\t\\th4 {\\r\\n\\t\\t\\tdisplay: inline-block;\\r\\n\\t\\t}\\r\\n\\t}\\r\\n\\t\\r\\n\\t.right-side-header {\\r\\n\\t\\tfloat: right;\\r\\n\\t\\tmargin-right: 15px;\\r\\n\\t\\t.multiline-setting {\\r\\n\\t\\t\\tpadding-right: 20px;\\r\\n\\t\\t\\t.number-input {\\r\\n\\t\\t\\t\\tdisplay: inline-block;\\r\\n\\t\\t\\t\\twidth: 60px;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tbutton {\\r\\n\\t\\t\\t\\tdisplay: inline-block;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\\r\\n}\\r\\n\\r\\n.object-container {\\r\\n\\t\\r\\n\\t&[data-object-properties=true] {\\r\\n\\t\\tdisplay: grid;\\r\\n\\t\\tgrid-template-columns: calc(100% - #{$object-properties-width}) $object-properties-width;\\r\\n\\r\\n\\t\\t[data-device-type=mobile] & {\\r\\n\\t\\t\\tgrid-template-columns: 0 $object-properties-width-mobile;\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t[data-device-type=tablet] & {\\r\\n\\t\\t\\tgrid-template-columns: calc(100% - #{$object-properties-width-tablet}) $object-properties-width-tablet;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t&[data-object-properties-detailed=true] {\\r\\n\\t\\t\\tgrid-template-columns: calc(100% - #{$object-properties-width--detailed}) $object-properties-width--detailed;\\r\\n\\r\\n\\t\\t\\t[data-device-type=mobile] & {\\r\\n\\t\\t\\t\\tgrid-template-columns: 0 $object-properties-width-mobile--detailed;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t[data-device-type=tablet] & {\\r\\n\\t\\t\\t\\tgrid-template-columns: calc(100% - #{$object-properties-width-tablet--detailed}) $object-properties-width-tablet--detailed;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\\r\\n\\t.properties-info {\\r\\n\\t\\tz-index: 0;\\r\\n\\t}\\r\\n}\\r\\n\\r\\n.dropdown-menu--saved-filters {\\r\\n\\tposition:absolute;\\r\\n\\ttransform: translateX(-200px);\\r\\n\\twidth: 300px;\\r\\n\\t&__inner {\\r\\n\\t\\tmax-height: 600px;\\r\\n\\t\\t.filter-name {\\r\\n\\t\\t\\twidth: 200px;\\r\\n\\t\\t\\toverflow: hidden;\\r\\n\\t\\t\\ttext-overflow: ellipsis;\\r\\n\\t\\t\\twhite-space: nowrap;\\r\\n\\t\\t}\\r\\n\\t\\tz-index: 5;\\r\\n\\t}\\r\\n\\t\\r\\n\\t.dropdown-item {\\r\\n\\t\\tdisplay: grid;\\r\\n\\t\\tgrid-template-columns: auto 2.5em;\\r\\n\\t\\talign-items: center;\\r\\n\\t\\tgap: $gutter;\\r\\n\\t\\tpadding: calc(#{$gutter} / 2) calc(#{$gutter} / 2) calc(#{$gutter} / 2) 0;\\r\\n\\t\\tmin-height: 3.75em;\\r\\n\\t}\\r\\n\\r\\n\\t.load-filter {\\r\\n\\t\\tcursor: pointer;\\r\\n\\t\\tdisplay: flex;\\r\\n\\t\\talign-items: center;\\r\\n\\t\\tgap: calc(#{$gutter} / 2);\\r\\n\\t\\theight: 100%;\\r\\n\\t\\tpadding-left: $gutter;\\r\\n\\t}\\r\\n}\\r\\n\",\"$text-color: #333;\\r\\n$accent: #00B3C9;\\r\\n$accent-15pct: #D9F4F7;\\r\\n$bs-default: #f1f3f4;\\r\\n$grey: #dddddd;\\r\\n$grey-light: #efefef;\\r\\n$grey-lighter: #F0F3F4;\\r\\n$grey-darker: #A5A3A3;\\r\\n$white-hsl-97: hsla(0deg, 0%, 97%, 1);\\r\\n\\r\\n$gutter: 15px;\\r\\n\\r\\n$box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.175);\\r\\n$box-shadow-right: 0.05rem 0 0.25rem rgba(0, 0, 0, 0.175);\\r\\n$box-shadow-left: -0.05rem 0 0.25rem rgba(0, 0, 0, 0.175);\\r\\n$box-shadow-color: rgba(0, 0, 0, 0.175);\\r\\n\\r\\n$border-color: rgba(0, 0, 0, 0.175);\\r\\n\\r\\n\\r\\n// Showroom header\\r\\n$showroom-header-height: 350px;\\r\\n$showroom-header-height-small: 150px;\\r\\n$showroom-header-height-mobile: 200px;\\r\\n\\r\\n// Navigation\\r\\n$nav-width: 275px;\\r\\n$nav-width-collapsed: 50px;\\r\\n$nav-height-mobile: 50px;\\r\\n\\r\\n// Top bar\\r\\n$top-bar-height: 4em;\\r\\n\\r\\n// CSS grid table\\r\\n$css-grid-header-height: calc(4em + 1px);\\r\\n\\r\\n// Object Presentation\\r\\n$object-presentation-left-content-width: 250px;\\r\\n$object-presentation-left-content-width-lg: 350px;\\r\\n$object-presentation-img-height: 250px;\\r\\n\\r\\n\\r\\n// Card deck\\r\\n$card-height: 250px;\\r\\n\\r\\n\\r\\n// Select\\r\\n$select-min-width: 200px;\\r\\n\\r\\n\\r\\n// Modal\\r\\n$modal-header-height: 50px;\\r\\n$modal-footer-height: 50px;\\r\\n\\r\\n// Object Properties\\r\\n$object-properties-width: 480px;\\r\\n$object-properties-width--detailed: 560px;\\r\\n$object-properties-width-mobile: 100vw;\\r\\n$object-properties-width-mobile--detailed: 100vw;\\r\\n$object-properties-width-tablet: 480px;\\r\\n$object-properties-width-tablet--detailed: 560px;\\r\\n\\r\\n// Notification Center\\r\\n$notification-center-width: 500px;\\r\\n\\r\\n// 7.0 z-index Setting\\r\\n\\r\\n$btn-scroll-to-top-zindex: 1020 !default;\\r\\n$content-zindex: 1020 !default;\\r\\n$float-submenu-zindex: 1020 !default;\\r\\n$footer-zindex: 1020 !default;\\r\\n$header-zindex: 1020 !default;\\r\\n$header-fixed-zindex: 1040 !default;\\r\\n$sidebar-zindex: 1010 !default;\\r\\n$top-menu-zindex: 1015 !default;\\r\\n$theme-panel-zindex: 1020 !default;\\r\\n$page-loader-zindex : 9999 !default;\\r\\n$page-title-zindex: 1020 !default;\\r\\n$pace-loader-zindex: 1030 !default;\\r\\n$panel-expand-zindex: 1080 !default;\\r\\n\\r\\n// 2.0 RTL Setting\\r\\n\\r\\n$enable-rtl: false !default;\\r\\n\\r\\n// 6.0 App Component Setting\\r\\n@import 'functions.scss';\\r\\n$boxed-layout-width: rem(1280px) !default;\\r\\n$content-padding-x: rem(30px) !default;\\r\\n$content-padding-y: rem(20px) !default;\\r\\n$content-padding-x-sm: rem(20px) !default;\\r\\n$content-padding-y-sm: rem(20px) !default;\\r\\n$header-height: rem(50px) !default;\\r\\n$header-height-sm: rem(50px) !default;\\r\\n$sidebar-width: rem(220px) !default;\\r\\n$sidebar-minified-width: rem(60px) !default;\\r\\n$sidebar-wide-width: rem(250px) !default;\\r\\n$top-menu-height: rem(40px) !default;\\r\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","module.exports = \"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\tAccess Denied\\r\\n\\t\\t\\tYou do not have permission to access this project.\\r\\n\\t\\t\\t${projectId}\\r\\n\\t\\t\\r\\n\\t\\r\\n\\r\\n\";","module.exports = \"\\r\\n\\t\\r\\n \\r\\n \\r\\n\\t\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\tBuilding Parts\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\tNumber of lines:\\r\\n\\t\\t\\t\\t Apply\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\t 0 && objects.mode !== 'grid'\\\">\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t${selectedCombinedName.length > 15 ? selectedCombinedName.substring(0,12)+\\\"...\\\" : selectedCombinedName}\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t${filter.name}\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t \\r\\n\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\t 0\\\">\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t${appContext.selectedFilterNAME.length > 15 ? appContext.selectedFilterNAME.substring(0,12)+\\\"...\\\" : appContext.selectedFilterNAME}\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t${filter.name}\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tMenu\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\r\\n\\t\\r\\n\\r\\n\";","////////////////'ParameterDefinitionDto2\r\n\r\nexport enum SyncDirectionEnum {\r\n\tSyncToRevit = 0,\r\n\tSyncToAc = 1,\r\n\tSyncBothWays = 2,\r\n\tAcOnly = 3\r\n}\r\n\r\nexport interface ParamCatDto {\r\n\tname: string;\r\n\tbuiltInCat: number;\r\n}\r\n\r\nexport interface ParameterDefinitionDto { \r\n\r\n\tid: string;\r\n\t/** User defined parameter name */\r\n\tname: string;\r\n\t/** eg. Type, Instance, Family, Project */\r\n\tscope: number; // C:\\dev\\aoc\\AO.Client\\ClientApp\\src\\app\\models\\parameter-definition-dto.ts only has a single NUMBER scope.\r\n\tscopeText: string; // in csharp, sourced from x.\r\n\r\n\tvalueList_Id: string;\r\n\tvalueListEnforced: boolean;\r\n\r\n\t/** eg. FromRevitToAo, FromAoToRevit, BothWays, AO Only */\r\n\t// Det var, muligivs, forkert hvis der stod NUMBER her, fordi csharp sender den som streng-rendering!\r\n\t// Henrik har forventet, at den var et NUMBER.\r\n\t//syncDirection: number; // Denne svarer paa csharp siden til streng-rendering af C:\\dev\\aoc\\AO.State.Model\\Enums\\SyncDirection.cs\r\n\tsyncDirection: SyncDirectionEnum; // = SyncDirectionEnum.SyncToAc;\r\n\r\n\tcreateInRevit: boolean;\r\n\r\n\tparameterType: number;\r\n\tparameterGroup: number;\r\n\tbuiltInParameter: number;\r\n\t/** eg. Integer, length, area, text, volume, slope */\r\n\tunitType: number;\r\n\t// displayUnitTypeId: the field with that name is NOT allowed here!\r\n\tunitShort: string;\r\n\tconvertionRate: number;\r\n\toffset: number;\r\n\tstorageType: number; //None = 0, Integer = 1, Double = 2, String = 3, ElementId = 4\r\n\tgroup: number;\r\n\tsharedParamId: string;\r\n\tbuiltInCategories: number[];\r\n\tcreated?: Date;\r\n\t//created?: string;\r\n\tclassificationId: string;\r\n\tisClassificationKey: boolean;\r\n\treadOnly: boolean;//field-in-ParameterDefinitionDto\r\n\tselected: boolean;\r\n\r\n\tcategories: string[]; // xx. her skulle ha vaeret categoryID'er -builtincategory - instead.\r\n\tcategories2: ParamCatDto[]; \r\n\t\r\n\taggregateParameterId: string;\r\n\tisAggregateParameter: boolean;\r\n\tisDeleted: boolean;\r\n}\r\n\r\n/*\r\nexport interface Row2 extends ParameterDefinitionDto {\r\n theOtherId:string;\r\n existsInAOC: boolean;\r\n}\r\n*/\r\n\r\nexport interface RevitEnumPair {\r\n\tenumInt: number;\r\n\tenumString: string;\r\n}\r\n\r\nexport interface BuiltInParameterEnum {\r\n\tenumInt: number;\r\n\tenumString: string;\r\n\tparameterType_Id: number;\r\n}\r\n\r\nexport interface ParameterTypeEnumDto {\r\n\tenumInt: number;\r\n\tenumString: string;\r\n\tunitType_Id: number;\r\n\tstorageType: number;\r\n}\r\n\r\nexport interface Category {\r\n\tid: number;\r\n\tname: string;\r\n\tallowsBoundParametersAsType: boolean;\r\n\tallowsBoundParametersAsInstance: boolean;\r\n}\r\n\r\nexport interface DisplayUnitTypesDto {\r\n\tenumInt: number;\r\n\tenumString: string;\r\n\tconvertionRate: number;\r\n\tunitString: string;\r\n\tunitShort: string;\r\n\trate: number;\r\n\toffset:number;\r\n}\r\n\r\nexport interface DisplayUnitTypesOnProject {\r\n\tenumInt: number;\r\n\tenumString: string;\r\n\tconvertionRate: number;\r\n\tunitString: string;\r\n\tunitShort: string;\r\n\trate: number;\r\n\tunitTypeEnumInt: number;\r\n\tunitTypeEnumString: string;\r\n}\r\n","import { ParameterDefinitionDto } from \"./parameter-definition-dto\";\r\n\r\nexport interface ParameterDefinitionTransferModel extends ParameterDefinitionDto {\r\n\ttransfer: boolean;\r\n\tcopyWithValueList: boolean;\r\n\ttriage: Triage;\r\n}\r\n\r\nexport enum Triage {\r\n\tNotInPrj,\r\n\tInRevit,\r\n\tInPrj,\r\n\tAggrParam\r\n}\r\n","import { ProjectRole } from \"./project-role\";\r\n\r\nexport interface ProjectDto { // corresponds to ProjectInformationDto in csharp, sigh.\r\n\tid: string,\r\n\tname: string,\r\n\tregion: string,\r\n\tnumber?: string, // User defined project number e.g. '123456' or '123456-A'\r\n\ttypeId?: string,\r\n\tclassificationId: string,\r\n\twhitelistId: string,\r\n\tgrossArea?: string,\r\n\timageFileId?: string,\r\n\townerCompanyId: string,\r\n\townerCompanyName: string,\r\n\tlocation?: Location,\r\n\tfacilityManager?: FacilityManager,\r\n\tmembers: Member[],\r\n\tprojectInvitations: ProjectInvitation[],\r\n\tselected: boolean,\r\n\tcreated_UTC: Date\r\n}\r\n\r\nexport interface FacilityManager {\r\n\tname?: string,\r\n\tlocation?: Location,\r\n\tvat?: string\r\n}\r\n\r\nexport interface Location {\r\n\taddress?: string;\r\n\tzipCode?: string;\r\n\tcity?: string;\r\n\tcoordinates?: {\r\n\t\tlatitude: string | null;\r\n\t\tlongitude: string | null;\r\n\t},\r\n\tregion?:string\r\n}\r\n\r\nexport interface Member {\r\n\tuserId: string,\r\n\tname: string,\r\n\temail: string,\r\n\tcompanyName:string,\r\n\tuserCompanyId:string,\r\n\trole?: ProjectRole //Should not be optional. Everyone has a projectRole.\r\n}\r\n\r\nexport interface ProjectInvitation {\r\n\tid:string,\r\n\tprojectId: string,\r\n\temail: string,\r\n\thost: string, // base addr of client, e.g. https://aoc-linux-client-test.azurewebsites.net/\r\n\tresponseStatus: ResponseStatus,\r\n\tasOrgUser: boolean,\r\n\tinviteeName: string,\r\n\tinviteeOrgName: string,\r\n\tprojectRole: ProjectRole\r\n\r\n}\r\n\r\nexport interface ClassificationDto {\r\n\tid:string,\r\n\tname: string,\r\n}\r\n\r\nexport interface ClassificationList extends ClassificationDto{\r\n\tselected: boolean\r\n}\r\n\r\nexport interface RegionDto{\r\n\tregion:string,\r\n\tnativeName:string\r\n}\r\n\r\nexport enum ResponseStatus {\r\n\tPending = 0,\r\n\tRejected = 1\r\n}\r\n\r\nexport interface SimpleProjectDto {\r\n\tid: string,\r\n\tname: string,\r\n\tnumber: number,\r\n\tlocation: Location\r\n\townerCompanyName: string,\r\n\tcreated_UTC: Date\r\n}","import { OrgRole } from \"./org-role\";\r\n\r\nexport enum ProjectRole {\r\n Prj_User = 0, \r\n Prj_Setting_User = 1, \r\n Prj_Admin = 2, \r\n Unknown = -1,\r\n VeryUnknown = -2 // to see if we fail to init.\r\n}\r\n\r\nexport interface ProjectRoleAccess {\r\n projectRole: ProjectRole,\r\n orgRole?: OrgRole\r\n}\r\n\r\nexport enum UIPrjRoleNames {\r\n Prj_User = \"Project user\", \r\n Prj_Setting_User = \"Project setting user\", \r\n Prj_Admin = \"Project admin\", \r\n Unknown = \"Unknown\", \r\n VeryUnknown = \"VeryUnknown\" \r\n}\r\n","export interface SettingDto {\r\n projectId: string,\r\n userId : string,\r\n name : string,\r\n target: string\r\n}\r\n\r\nexport class SettingNames {\r\n static readonly defaultCategory = \"DefaultCategory\";\r\n static readonly lastAppliedFilters = \"LastAppliedFilters\";\r\n\tstatic readonly lastAppliedGroupings = \"LastAppliedGroupings\";\r\n}\r\n","\r\nexport interface BimViewerParent {\r\n\tid : string;\r\n\tname? : string,\r\n\tcreatedByUser_Id: string;\r\n\tusername: string;\r\n\tcreated: string;\r\n}\r\n\r\nexport interface BimViewerRevisionDto extends BimViewerParent {\r\n\t// These are the fields we have from base-class BimViewerParent.\r\n\t//id : string;\r\n\t//name? : string,\r\n\t//createdByUser_Id: string;\r\n\t//username: string;\r\n\t//created: string;\r\n\trevision : number,\r\n\tfileName : string,\r\n\tnote : string,\r\n\tbimViewerFile_Id : string,\r\n\tisSynced: boolean,\r\n\tinfo:string;\r\n\t\r\n\taltUpload:string;\r\n\tinOpenBim:boolean;\r\n}\r\n\r\nexport interface BimViewerFileDto extends BimViewerParent {\r\n\t// These are the fields we have from base-class BimViewerParent.\r\n\t//id : string;\r\n\t//name? : string,\r\n\t//createdByUser_Id: string;\r\n\t//username: string;\r\n\t//created: string;\r\n\tprojectId: string;\r\n\tcurrentRevision: number;\r\n\tisChecked: boolean;\r\n\tisOpen: boolean;\r\n\tpluginUpload: boolean;\r\n\tisSynced: boolean;\r\n\tcreated: string;\r\n\tnewestRevisionDate: string;\r\n\taltUpload: string; // not sent yet.\r\n}\r\n\r\nexport interface CheckRevisionSyncStatusResponseDto {\r\n\trevisionId: string;\r\n\tname: string;\r\n\tsyncProgress: number\r\n\tisSynced: boolean;\r\n\tisFailed: boolean;\r\n\tsyncMessage: string;\r\n\tbimRevisionId: string;\r\n\tfileBimId: string;\r\n}\r\n\r\nexport interface BimViewerRevisionDtoSplitView extends BimViewerParent {\r\n\trevision : number;\r\n\tfileName : string;\r\n\tnote : string;\r\n\tbimViewerFile_Id : string;\r\n\tpressed2d: boolean;\r\n\tpressed3d: boolean;\r\n\tobjectsIdNotDoneLoading: boolean | undefined;\r\n\tisSynced: boolean;\r\n altUpload: string;\r\n}\r\n\r\nexport interface BimViewerFileDtoSplitView extends BimViewerParent {\r\n\tprojectId?: string;\r\n\tcurrentRevision: number;\r\n\tisChecked: boolean;\r\n\tisOpen: boolean;\r\n\tpluginUpload: boolean;\r\n\tpressed2d: boolean;\r\n\tpressed3d: boolean;\r\n\tobjectsIdNotDoneLoading: boolean | undefined;\r\n\tisSynced: boolean;\r\n\tcreated: string;\r\n\tnewestRevisionDate: string;\r\n\taltUpload: string;\r\n}\r\n\r\nexport interface BimViewerModelAndRevision {\r\n\tmodel: BimViewerFileDtoSplitView;\r\n\trevision: BimViewerRevisionDtoSplitView;\r\n\tisNewestPluginRevision: boolean;\r\n\tisAny3dRevisionOn: boolean;\r\n}\r\n\r\nexport interface BimViewerModelAndAllRevisions {\r\n\tmodel: BimViewerFileDtoSplitView;\r\n\trevisions: BimViewerRevisionDtoSplitView[];\r\n\tisNewestPluginRevision: boolean;\r\n}\r\n\r\nexport interface BimViewerFileAndRevisionId {\r\n\tmodel: BimViewerFileDtoSplitView;\r\n\trevisionId: string;\r\n}\r\n\r\nexport interface BimViewerFileFromModelRevisionResponse {\r\n\tmodel: BimViewerFileDtoSplitView;\r\n\trevision: BimViewerRevisionDtoSplitView;\r\n\tis2d: boolean;\r\n}\r\n\r\nexport interface ModelById {\r\n\tid: string;\r\n\tis2d: boolean;\r\n}\r\n\r\nexport interface RevisionById {\r\n\trevisionId: string;\r\n\tmodelId: string;\r\n\tis2d: boolean;\r\n}\r\n\r\nexport class BimViewerFileFromModelRevision {\r\n\tid: string[];\r\n\tis2d: boolean;\r\n\tconstructor(id: string[], is2d: boolean) {\r\n\t\tthis.id = id;\r\n\t\tthis.is2d = is2d;\r\n\t}\r\n}\r\n\r\nexport class BimViewerRevisionFromModelRevision {\r\n\trevisionId: string;\r\n\tmodelId: string;\r\n\tis2d: boolean;\r\n\tconstructor(revisionId: string, modelId:string, is2d: boolean) {\r\n\t\tthis.revisionId = revisionId;\r\n\t\tthis.modelId = modelId;\r\n\t\tthis.is2d = is2d;\r\n\t}\r\n}\r\n","export class ImportClassificationModel{\r\n\tfiles?: FileList;\r\n\tclassificationType?: number;\r\n\tversion?: string;\r\n}\r\n","export class ImportValuelistModel{\r\n files?: FileList;\r\n\tcontainsHeaders: boolean = false;\r\n\tname: string = \"\";\r\n\tisNewValueList: boolean = false;\r\n\tselectedValueListId: string | null | undefined\r\n}\r\n","import { autoinject } from 'aurelia-framework';\r\n\r\n@autoinject\r\nexport class AccessDeniedPage {\r\n\t\r\n\tconstructor(){\r\n\t}\r\n\r\n\tpublic projectId: string | undefined;\r\n\r\n\tasync activate(params: any) {\r\n\t\tthis.projectId = params.projectId;\r\n\t}\r\n}\r\n","import {ProjectTokenService} from \"../../services/project-token-service\";\r\nimport {ApiClient} from \"../../services/api-client\";\r\nimport {NavigationCommand, Redirect} from \"aurelia-router\";\r\n\r\nexport async function verifyAccessOrRedirect(params: any, projectTokenService: ProjectTokenService, api: ApiClient): Promise {\r\n\tawait projectTokenService.updatePrjTokenIfNeeded(params.projectId, api)\r\n\r\n\tconst projectId = params.projectId;\r\n\tconst tokenProjectId = projectTokenService.getPrjTokenInfo().prjId;\r\n\r\n\tif (projectId !== tokenProjectId) {\r\n\t\treturn new Redirect('project/' + projectId + '/access-denied-to-project');\r\n\t}\r\n\t\r\n\treturn true;\r\n}\r\n"],"names":["___CSS_LOADER_EXPORT___","push","module","id","exports","SyncDirectionEnum","Triage","ResponseStatus","ProjectRole","UIPrjRoleNames","SettingNames","defaultCategory","lastAppliedFilters","lastAppliedGroupings","BimViewerFileFromModelRevision","constructor","is2d","this","BimViewerRevisionFromModelRevision","revisionId","modelId","ImportClassificationModel","ImportValuelistModel","containsHeaders","name","isNewValueList","AccessDeniedPage","activate","params","projectId","autoinject","async","verifyAccessOrRedirect","projectTokenService","api","updatePrjTokenIfNeeded","getPrjTokenInfo","prjId"],"sourceRoot":""}