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client-app/./src/app/components/object/new-properties/new-object-properties.html","webpack://client-app/./src/app/components/object/new-properties/new-object-properties.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, `.new-object-properties{display:flex;flex-direction:column;overflow:hidden;max-width:100%;height:100%}.new-object-properties .warning-message{position:relative;text-align:center;justify-content:center;background-color:#ffe100;opacity:.9;white-space:nowrap;height:25px}.new-object-properties .warning-message b{line-height:25px}[data-device-type=mobile] .new-object-properties{width:100vw}[data-device-type=tablet] .new-object-properties{width:480px}.new-object-properties button{margin-right:5px}.new-object-properties__header{padding-top:8px;padding-left:10px;padding-right:10px;display:flex;justify-content:space-between;align-items:center;margin-top:2px;margin-bottom:15px;height:auto}.new-object-properties__header .title{margin:0}.new-object-properties__body{padding-left:10px;padding-right:10px;display:grid;position:relative;row-gap:15px;width:100%;margin-bottom:5px;height:auto;overflow:auto}.new-object-properties-section{display:grid;row-gap:calc(15px/3)}.new-object-properties-section>.new-object-properties-section{padding:calc(15px/3)}.new-object-properties-section__header{display:flex;justify-content:space-between;align-items:center}.new-object-properties-section__header .title{margin:0}.new-object-properties details[open]>summary .icon{transform:rotate(180deg)}.new-object-properties details summary{background:#f0f3f4;font-weight:600;height:3em;display:flex;align-items:center;justify-content:space-between;padding:0 calc(15px/1.5);border:1px solid rgba(0,0,0,.175)}.new-object-properties details summary::-webkit-details-marker{display:none}.new-object-properties details summary:focus{outline:none}.new-object-properties details summary .title{text-transform:capitalize}.new-object-properties[data-properties-detailed=true]{width:560px}[data-device-type=mobile] .new-object-properties[data-properties-detailed=true]{width:100vw}[data-device-type=tablet] .new-object-properties[data-properties-detailed=true]{width:560px}.new-object-properties[data-properties-detailed=true] .property{grid-template-columns:1fr 1.25fr 8em}.new-object-properties .property{display:grid;grid-template-columns:1fr 1.25fr}.new-object-properties .property[data-readonly-property=true]{color:rgba(51,51,51,.6)}.new-object-properties .property[data-editable=false]{background:rgba(51,51,51,.15);opacity:.8}.new-object-properties .property[data-editable=true]{cursor:text}.new-object-properties .property[data-simple-value=true].editing{padding:0 !important}.new-object-properties .property[data-multiline=true] .cell{height:10em}.new-object-properties .property[data-multiline=true] .cell.cell--value{white-space:unset;line-height:normal}.new-object-properties .property[data-multiline=true] .cell.cell--value>span{display:block;padding:calc(15px/2) calc(15px/1.5);height:inherit;overflow:auto;white-space:pre-line}.new-object-properties .property .edit-cell{border:0;height:100%;line-height:inherit;padding:0 calc(15px/1.5);width:100%}.new-object-properties .property .cell{border-bottom:1px solid rgba(0,0,0,.175);height:3em;line-height:3em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.new-object-properties .property .cell--title{position:relative;padding:0 calc(15px/1.5)}.new-object-properties .property .cell--title .url-icon{position:absolute;right:0px;top:.5px;cursor:pointer}.new-object-properties .property .cell--title .url-icon:hover{text-decoration:none}.new-object-properties .property .cell--value{padding:0}.new-object-properties .property .cell--value>span{padding:0 calc(15px/1.5)}.new-object-properties .property .cell:first-of-type{border-left:1px solid rgba(0,0,0,.175)}.new-object-properties[data-properties-detailed=true]{width:560px}[data-device-type=mobile] .new-object-properties[data-properties-detailed=true]{width:100vw}[data-device-type=tablet] .new-object-properties[data-properties-detailed=true]{width:560px}.new-object-properties[data-properties-detailed=true] .property{grid-template-columns:1fr 5px 1.25fr .8fr}.new-object-properties .property{display:grid;grid-template-columns:1fr 5px 1.25fr}.new-object-properties .property .dragbar{background-color:#a9a9a9;border-bottom:1px solid rgba(0,0,0,.175);background:linear-gradient(rgba(0, 0, 0, 0.175), rgba(0, 0, 0, 0.175)) no-repeat center/1px 100%}.new-object-properties .property .dragbar:hover{cursor:col-resize}.new-object-properties .property[data-readonly-property=true]{color:rgba(51,51,51,.6)}.new-object-properties .property[data-editable=false]{background:rgba(51,51,51,.15);opacity:.8}.new-object-properties .property[data-editable=true]{cursor:text}.new-object-properties .property[data-simple-value=true].editing{padding:0 !important}.new-object-properties .property[data-multiline=true] .cell{height:10em}.new-object-properties .property[data-multiline=true] .cell.cell--value{white-space:unset;line-height:normal}.new-object-properties .property[data-multiline=true] .cell.cell--value>span{display:block;padding:calc(15px/2) calc(15px/1.5);height:inherit;overflow:auto;white-space:pre-line}.new-object-properties .property .edit-cell{border:0;height:100%;line-height:inherit;padding:0 calc(15px/1.5);width:100%}.new-object-properties .property .cell{border-bottom:1px solid rgba(0,0,0,.175);height:3em;line-height:3em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.new-object-properties .property .cell--title{position:relative;padding:0 calc(15px/1.5)}.new-object-properties .property .cell--title .url-icon{position:absolute;right:0px;top:.5px;cursor:pointer;text-decoration:none}.new-object-properties .property .cell--title .url-icon:hover{text-decoration:none}.new-object-properties .property .cell--value{padding:0;border-right:1px solid rgba(0,0,0,.175)}.new-object-properties .property .cell--value>span{padding:0 calc(15px/1.5)}.new-object-properties .property .cell:first-of-type{border-left:1px solid rgba(0,0,0,.175)}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/components/object/new-properties/new-object-properties.scss\",\"webpack://./src/resources/customized-styles/variables.scss\"],\"names\":[],\"mappings\":\"AAEA,uBACC,YAAA,CACA,qBAAA,CACA,eAAA,CACA,cAAA,CACA,WAAA,CACA,wCACC,iBAAA,CACA,iBAAA,CACA,sBAAA,CACA,wBAAA,CACA,UAAA,CACA,kBAAA,CACA,WAAA,CACA,0CACC,gBAAA,CAKF,iDACC,WCkC+B,CD/BhC,iDACC,WCgC+B,CD9BhC,8BACC,gBAAA,CAED,+BACC,eAAA,CACA,iBAAA,CACA,kBAAA,CACA,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,cAAA,CACA,kBC9BO,CD+BP,WAAA,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AA,CAGD,sDACC,6BAAA,CACA,UAAA,CAGD,qDACC,WAAA,CAIA,iEACC,oBAAA,CAIF,4DACC,WAAA,CAEA,wEACC,iBAAA,CACA,kBAAA,CAEA,6EACC,aAAA,CACA,mCAAA,CACA,cAAA,CACA,aAAA,CACA,oBAAA,CAKH,4CACC,QAAA,CACA,WAAA,CACA,mBAAA,CACA,wBAAA,CACA,UAAA,CAGD,uCACC,wCAAA,CACA,UAAA,CACA,eAAA,CA0BA,eAAA,CACA,sBAAA,CACA,kBAAA,CA1BA,8CACC,iBAAA,CACA,wBAAA,CAEA,wDACC,iBAAA,CACA,SAAA,CACA,QAAA,CACA,cAAA,CACA,oBAAA,CAED,8DACC,oBAAA,CAIF,8CACC,SAAA,CACA,uCAAA,CACA,mDACC,wBAAA,CAQF,qDACC,sCAAA\",\"sourcesContent\":[\"@import \\\"src/resources/customized-styles/variables\\\";\\r\\n\\r\\n.new-object-properties {\\r\\n\\tdisplay: flex;\\r\\n\\tflex-direction: column;\\r\\n\\toverflow: hidden;\\r\\n\\tmax-width: 100%;\\r\\n\\theight: 100%;\\r\\n\\t.warning-message {\\r\\n\\t\\tposition: relative;\\r\\n\\t\\ttext-align: center;\\r\\n\\t\\tjustify-content: center;\\r\\n\\t\\tbackground-color: rgb(255, 225, 0);\\r\\n\\t\\topacity: 0.9;\\r\\n\\t\\twhite-space:nowrap;\\r\\n\\t\\theight: 25px;\\r\\n\\t\\tb {\\r\\n\\t\\t\\tline-height:25px;\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t}\\r\\n\\r\\n\\t[data-device-type=mobile] & {\\r\\n\\t\\twidth: $object-properties-width-mobile;\\r\\n\\t}\\r\\n\\t\\r\\n\\t[data-device-type=tablet] & {\\r\\n\\t\\twidth: $object-properties-width-tablet;\\r\\n\\t}\\r\\n\\tbutton {\\r\\n\\t\\tmargin-right: 5px;\\r\\n\\t}\\r\\n\\t&__header {\\r\\n\\t\\tpadding-top: 8px;\\r\\n\\t\\tpadding-left: 10px;\\r\\n\\t\\tpadding-right: 10px;\\r\\n\\t\\tdisplay: flex;\\r\\n\\t\\tjustify-content: space-between;\\r\\n\\t\\talign-items: center;\\r\\n\\t\\tmargin-top: 2px;\\r\\n\\t\\tmargin-bottom: $gutter;\\r\\n\\t\\theight: auto;\\r\\n\\t\\t.title {\\r\\n\\t\\t\\tmargin: 0;\\r\\n\\t\\t}\\r\\n\\t}\\r\\n\\t\\r\\n\\t&__body {\\r\\n\\t\\tpadding-left: 10px;\\r\\n\\t\\tpadding-right: 10px;\\r\\n\\t\\tdisplay: grid;\\r\\n\\t\\tposition: relative;\\r\\n\\t\\trow-gap: $gutter;\\r\\n\\t\\twidth: 100%;\\r\\n\\t\\tmargin-bottom: 5px;\\r\\n\\t\\theight: auto;\\r\\n\\t\\toverflow: auto;\\r\\n\\t}\\r\\n\\r\\n\\t&-section {\\r\\n\\t\\tdisplay: grid;\\r\\n\\t\\trow-gap: calc(#{$gutter} / 3);\\r\\n\\r\\n\\t\\t& > & {\\r\\n\\t\\t\\tpadding: calc(#{$gutter} / 3);\\r\\n\\t\\t}\\r\\n\\t\\t&__header {\\r\\n\\t\\t\\tdisplay: flex;\\r\\n\\t\\t\\tjustify-content: space-between;\\r\\n\\t\\t\\talign-items: center;\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t.title {\\r\\n\\t\\t\\t\\tmargin: 0;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\\r\\n\\r\\n\\tdetails {\\r\\n\\t\\t&[open] {\\r\\n\\t\\t\\t> summary {\\r\\n\\t\\t\\t\\t.icon {\\r\\n\\t\\t\\t\\t\\ttransform: rotate(180deg);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\tsummary {\\r\\n\\t\\t\\tbackground: $grey-lighter;\\r\\n\\t\\t\\tfont-weight: 600;\\r\\n\\t\\t\\theight: 3em;\\r\\n\\t\\t\\tdisplay: flex;\\r\\n\\t\\t\\talign-items: center;\\r\\n\\t\\t\\tjustify-content: space-between;\\r\\n\\t\\t\\tpadding: 0 calc(#{$gutter} / 1.5);\\r\\n\\t\\t\\tborder: 1px solid $border-color;\\r\\n\\r\\n\\t\\t\\t&::-webkit-details-marker {\\r\\n\\t\\t\\t\\tdisplay: none;\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t&:focus {\\r\\n\\t\\t\\t\\toutline: none;\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t.title {\\r\\n\\t\\t\\t\\ttext-transform: capitalize;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\\r\\n\\r\\n\\t&[data-properties-detailed=true] {\\r\\n\\t\\twidth: $object-properties-width--detailed;\\r\\n\\r\\n\\t\\t[data-device-type=mobile] & {\\r\\n\\t\\t\\twidth: $object-properties-width-mobile--detailed;\\r\\n\\t\\t}\\r\\n\\t\\r\\n\\t\\t[data-device-type=tablet] & {\\r\\n\\t\\t\\twidth: $object-properties-width-tablet--detailed;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t.property {\\r\\n\\t\\t\\tgrid-template-columns: 1fr 1.25fr min(8em);\\r\\n\\t\\t}\\r\\n\\t}\\r\\n\\r\\n\\t.property {\\r\\n\\t\\tdisplay: grid;\\r\\n\\t\\tgrid-template-columns: 1fr 1.25fr;\\r\\n\\r\\n\\t\\t&[data-readonly-property=true] {\\r\\n\\t\\t\\tcolor: rgba($text-color, 0.6);\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t&[data-editable=false] {\\r\\n\\t\\t\\tbackground: rgba($text-color, 0.15);\\r\\n\\t\\t\\topacity: 0.8;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t&[data-editable=true] {\\r\\n\\t\\t\\tcursor: text;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t&[data-simple-value=true] {\\r\\n\\t\\t\\t&.editing {\\r\\n\\t\\t\\t\\tpadding: 0 !important;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t&[data-multiline=true] .cell {\\r\\n\\t\\t\\theight: 10em;\\r\\n\\r\\n\\t\\t\\t&.cell--value {\\r\\n\\t\\t\\t\\twhite-space: unset;\\r\\n\\t\\t\\t\\tline-height: normal;\\r\\n\\r\\n\\t\\t\\t\\t& > span {\\r\\n\\t\\t\\t\\t\\tdisplay: block;\\r\\n\\t\\t\\t\\t\\tpadding: calc(#{$gutter} / 2) calc(#{$gutter} / 1.5);\\r\\n\\t\\t\\t\\t\\theight: inherit;\\r\\n\\t\\t\\t\\t\\toverflow: auto;\\r\\n\\t\\t\\t\\t\\twhite-space: pre-line;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t.edit-cell {\\r\\n\\t\\t\\tborder: 0;\\r\\n\\t\\t\\theight: 100%;\\r\\n\\t\\t\\tline-height: inherit;\\r\\n\\t\\t\\tpadding: 0 calc(#{$gutter} / 1.5);\\r\\n\\t\\t\\twidth: 100%;\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t.cell {\\r\\n\\t\\t\\t// border-right: 1px solid $border-color;\\r\\n\\t\\t\\tborder-bottom: 1px solid $border-color;\\r\\n\\t\\t\\theight: 3em;\\r\\n\\t\\t\\tline-height: 3em;\\r\\n\\r\\n\\t\\t\\t&--title {\\r\\n\\t\\t\\t\\tposition: relative;\\r\\n\\t\\t\\t\\tpadding: 0 calc(#{$gutter} / 1.5);\\r\\n\\t\\t\\t\\t.url-icon {\\r\\n\\t\\t\\t\\t\\tposition: absolute;\\r\\n\\t\\t\\t\\t\\tright:0px;\\r\\n\\t\\t\\t\\t\\ttop:0.5px;\\r\\n\\t\\t\\t\\t\\tcursor: pointer;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t.url-icon:hover {\\r\\n\\t\\t\\t\\t\\ttext-decoration: none;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t&--value {\\r\\n\\t\\t\\t\\tpadding: 0;\\r\\n\\r\\n\\t\\t\\t\\t> span {\\r\\n\\t\\t\\t\\t\\tpadding: 0 calc(#{$gutter} / 1.5);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\toverflow: hidden;\\r\\n\\t\\t\\ttext-overflow: ellipsis;\\r\\n\\t\\t\\twhite-space: nowrap;\\r\\n\\r\\n\\t\\t\\t&:first-of-type {\\r\\n\\t\\t\\t\\tborder-left: 1px solid $border-color;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\\r\\n\\t&[data-properties-detailed=true] {\\r\\n\\t\\twidth: $object-properties-width--detailed;\\r\\n\\r\\n\\t\\t[data-device-type=mobile] & {\\r\\n\\t\\t\\twidth: $object-properties-width-mobile--detailed;\\r\\n\\t\\t}\\r\\n\\t\\r\\n\\t\\t[data-device-type=tablet] & {\\r\\n\\t\\t\\twidth: $object-properties-width-tablet--detailed;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t.property {\\r\\n\\t\\t\\tgrid-template-columns: 1fr 5px 1.25fr 0.8fr; //title dragbar, value, Details(AC/REVIT)\\r\\n\\t\\t}\\r\\n\\t}\\r\\n\\r\\n\\t.property {\\r\\n\\t\\tdisplay: grid;\\r\\n\\t\\tgrid-template-columns: 1fr 5px 1.25fr;//title dragbar, value\\r\\n\\t\\t\\r\\n\\t\\t.dragbar {\\r\\n\\t\\t\\tbackground-color: #a9a9a9;\\r\\n\\t\\t\\tborder-bottom: 1px solid $border-color;\\r\\n\\t\\t\\tbackground: linear-gradient($border-color, $border-color) no-repeat center/1px 100%;\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t.dragbar:hover {\\r\\n\\t\\t\\tcursor: col-resize;\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t&[data-readonly-property=true] {\\r\\n\\t\\t\\tcolor: rgba($text-color, 0.6);\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t&[data-editable=false] {\\r\\n\\t\\t\\tbackground: rgba($text-color, 0.15);\\r\\n\\t\\t\\topacity: 0.8;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t&[data-editable=true] {\\r\\n\\t\\t\\tcursor: text;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t&[data-simple-value=true] {\\r\\n\\t\\t\\t&.editing {\\r\\n\\t\\t\\t\\tpadding: 0 !important;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t&[data-multiline=true] .cell {\\r\\n\\t\\t\\theight: 10em;\\r\\n\\r\\n\\t\\t\\t&.cell--value {\\r\\n\\t\\t\\t\\twhite-space: unset;\\r\\n\\t\\t\\t\\tline-height: normal;\\r\\n\\r\\n\\t\\t\\t\\t& > span {\\r\\n\\t\\t\\t\\t\\tdisplay: block;\\r\\n\\t\\t\\t\\t\\tpadding: calc(#{$gutter} / 2) calc(#{$gutter} / 1.5);\\r\\n\\t\\t\\t\\t\\theight: inherit;\\r\\n\\t\\t\\t\\t\\toverflow: auto;\\r\\n\\t\\t\\t\\t\\twhite-space: pre-line;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t.edit-cell {\\r\\n\\t\\t\\tborder: 0;\\r\\n\\t\\t\\theight: 100%;\\r\\n\\t\\t\\tline-height: inherit;\\r\\n\\t\\t\\tpadding: 0 calc(#{$gutter} / 1.5);\\r\\n\\t\\t\\twidth: 100%;\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t.cell {\\r\\n\\t\\t\\tborder-bottom: 1px solid $border-color;\\r\\n\\t\\t\\theight: 3em;\\r\\n\\t\\t\\tline-height: 3em;\\r\\n\\r\\n\\t\\t\\t&--title {\\r\\n\\t\\t\\t\\tposition: relative;\\r\\n\\t\\t\\t\\tpadding: 0 calc(#{$gutter} / 1.5);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t.url-icon {\\r\\n\\t\\t\\t\\t\\tposition: absolute;\\r\\n\\t\\t\\t\\t\\tright:0px;\\r\\n\\t\\t\\t\\t\\ttop:0.5px;\\r\\n\\t\\t\\t\\t\\tcursor: pointer;\\t\\r\\n\\t\\t\\t\\t\\ttext-decoration: none;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t.url-icon:hover {\\r\\n\\t\\t\\t\\t\\ttext-decoration: none;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t&--value {\\r\\n\\t\\t\\t\\tpadding: 0;\\r\\n\\t\\t\\t\\tborder-right: 1px solid $border-color;//Should only be on right end cell?\\r\\n\\t\\t\\t\\t> span {\\r\\n\\t\\t\\t\\t\\tpadding: 0 calc(#{$gutter} / 1.5);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\toverflow: hidden;\\r\\n\\t\\t\\ttext-overflow: ellipsis;\\r\\n\\t\\t\\twhite-space: nowrap;\\r\\n\\r\\n\\t\\t\\t&:first-of-type {\\r\\n\\t\\t\\t\\tborder-left: 1px solid $border-color;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\\r\\n}\\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\";","import { ObjectListManager } from 'app/services/object-list/object-list-manager';\r\nimport { AppContextService } from 'app/services/app-context-service';\r\nimport { ApiClient } from 'app/services/api-client';\r\nimport { RequestMethod } from 'app/services/RequestMethod';\r\nimport { EventAggregator, Subscription } from 'aurelia-event-aggregator';\r\nimport { autoinject, bindable } from 'aurelia-framework';\r\nimport { ObjectRow, ObjectCell } from 'app/services/object-list/object-list-row';\r\nimport { IPropertyGroup, PropertyGroup, TypeOrInstance, ITypeOrInstance, ObjectProperty } from 'app/models/object-properties-dto';\r\nimport { CellEditService } from 'app/services/cell-edit-service';\r\nimport {ObjectListColumnManager} from \"../../../services/object-list/object-list-column-manager\";\r\nimport { UrlFormatter } from 'app/services/url-formatter';\r\nimport * as environment from \"../../../../../config/environment.json\";\r\nimport { ParameterDefinitionDto } from 'app/models/parameter-definition-dto';\r\nimport { PropertyResizeHandler } from './property-resize-handler';\r\n\r\n@autoinject\r\nexport class NewObjectProperties {\r\n\t@bindable public projectId : string = \"\";\r\n\tpublic objects: ObjectListManager | undefined;\r\n\tpublic item: ObjectRow | undefined;\r\n\tpublic itemPropertyGroups: TypeOrInstance[] = [];\r\n\tpublic showPropertiesDetailed: boolean = false;\r\n\tprivate subscriptions: Subscription[] = [];\r\n\tprivate isVisible: boolean = false;\r\n\tprivate isSwitchAvailable: boolean = false;\r\n\t@bindable public isBpVisible: boolean = false;\r\n\r\n\tconstructor(private events: EventAggregator, private apiClient: ApiClient, private appContext: AppContextService, private cellEditService: CellEditService,\r\n\t\t\t\tprivate propertyResizeHandler: PropertyResizeHandler) {\t\t\r\n\r\n\t}\r\n\r\n\tasync attached(): Promise {\r\n\t\tthis.subscriptions = [\r\n\t\t\tthis.events.subscribe('object-properties:objListMgr', (objListMgr: ObjectListManager) => this.setObjectListManager(objListMgr)),\r\n\t\t\tthis.events.subscribe('object-properties:show', async (item: ObjectRow) => this.getObjectProperties(item, true)),\r\n\t\t\tthis.events.subscribe('object-properties:update', async (item: ObjectRow) => this.getObjectProperties(item)),\r\n\t\t\tthis.events.subscribe('object-properties:setIsSwitchAvailable', (available: boolean) => {this.isSwitchAvailable = available})\r\n\t\t];\r\n\t\tthis.events.publish('object-grid:sendMgr'); //Not sure if this is the best way to do it. Keeping it for now.\r\n\t}\r\n\r\n\tsetObjectListManager(objListMgr: ObjectListManager): void {\r\n\t\tthis.objects = objListMgr;\r\n\t\tthis.isVisible = true;\r\n\t\tthis.getObjectProperties(this.objects.selectedItems[0]);\r\n\t}\r\n\r\n\tdetached(): void {\r\n\t\tthis.subscriptions.forEach((subscription: Subscription) => subscription.dispose());\r\n\t}\r\n\tpublic async projectIdChanged() : Promise {\r\n\t\tawait this.projectChangedHandler();\r\n\t}\r\n\t\r\n\tprivate async projectChangedHandler(): Promise {\r\n\t\tthis.objects = undefined;\r\n\t\tthis.itemPropertyGroups = [];\r\n\t}\r\n\r\n\tpublic async getObjectProperties(item: ObjectRow, show: boolean = false): Promise {\r\n\t\tthis.isVisible = true; \r\n\t\tif ((!this.isVisible && !show) || item == undefined) { return; }\r\n\t\tlet prjApi:RequestMethod = this.apiClient.project(this.appContext.projectId);\r\n\t\tif (this.objects == undefined) {\r\n\t\t\tthis.events.publish('object-grid:sendMgr');\r\n\t\t}\r\n\t\tif (this.objects) {\r\n\t\t\tlet allProps:ITypeOrInstance[] = await prjApi.get(`ObjectDetail/GetAllPropertiesByObjectId/${item.id}`).jsonResult();\r\n\t\t\tconsole.log('allProps:',allProps);\r\n\t\t\tlet allItems:TypeOrInstance[] = await ObjectPropertyFactory.makeObjectProperties(allProps, this.cellEditService, item, this.objects.columns);\r\n\t\t\tconsole.log('allItems:',allItems);\r\n\t\t\tthis.itemPropertyGroups = allItems;\r\n\t\t\tthis.item = item;\r\n\t\t\tconsole.log('b-item:',item);\r\n\t\t}\r\n\t\tthis.propertyResizeHandler.resetColSizes(this.showPropertiesDetailed);\r\n\t}\r\n\r\n\tpublic toggleDetails(): void {\r\n\t\tconsole.log(\"TOGGLEDETAILS\")\r\n\t\tthis.showPropertiesDetailed = !this.showPropertiesDetailed;\r\n\t\tthis.propertyResizeHandler.resetColSizes(this.showPropertiesDetailed);\r\n\t}\r\n\r\n\tpublic enableCellEdit(cell: ObjectProperty, event: Event): void {\r\n\t\tconsole.log(\"ENABLECELLEDIT\")\r\n\t\tif (cell.readOnly || Boolean(cell.syncDirection === \"SyncToAc\")) return;\r\n\t\tif (this.objects && this.item) {\r\n\t\t\tthis.cellEditService.enableCellEdit(this.objects, cell.objectCell, this.item, event);\r\n\t\t}\r\n\t}\r\n\t\r\n\tpublic saveCell(objectCell: ObjectCell): void {\r\n\t\tconsole.log(\"SAVECELL\")\r\n\t\tif (this.item) {\r\n\t\t\tthis.objects?.source.saveCell(this.item, this.objects.selectedItems, objectCell).finally(() => {\r\n\t\t\t\tif (this.item?.isSelected) {\r\n\t\t\t\t\tthis.getObjectProperties(this.item);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tprivate switchPropertyAndColor() {\r\n\t\tthis.events.publish('WorkAreaContainer:SwitchPropertyAndColor');\r\n\t}\r\n\r\n\tformatUrl(url: string): string {\r\n\t\treturn UrlFormatter.formatUrl(url);\r\n\t}\r\n\r\n\tisUrl(property: ObjectProperty): boolean {\r\n\t\tlet parameterDefinition: ParameterDefinitionDto[] | undefined = this.objects?.columns.columnParameterDefinitionMetadata.filter(x => x.id == property.objectCell.definitionId);\r\n\t\tif (parameterDefinition && parameterDefinition.length > 0 ) {\r\n\t\t\treturn parameterDefinition[0].parameterType == 8; //URL Type\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n\tgoToUrl(url: string): void {\r\n\t\twindow.open(this.formatUrl(url), '_blank');\r\n\t}\r\n}\r\n\r\nclass ObjectPropertyFactory {\r\n\r\n\tpublic static async makeObjectProperties(items: ITypeOrInstance[], cellEditService: CellEditService, row: ObjectRow, objectListColumnManager: ObjectListColumnManager): Promise {\r\n\t\tlet ids: string[] = [];\r\n\t\titems.forEach((item: ITypeOrInstance) => {\r\n\t\t\titem.propertyGroups.forEach((x: IPropertyGroup) => {\r\n\t\t\t\tids = [...ids, ...x.properties.map( y => y.parameterDefinitionId)];\r\n\t\t\t});\r\n\t\t});\r\n\t\t\r\n\t\tlet knownParamDefIds = objectListColumnManager.columnParameterDefinitionMetadata.filter(x => x !== undefined).map(y => y.id);\r\n\t\tlet difference = ids.filter(x => !knownParamDefIds.includes(x));\r\n\t\t\r\n\t\tconsole.log('ObjectPropertyFactory.makeObjectProperties calling getProjectParameterByIds.');\r\n\t\tlet moreParameterDefinitions = await objectListColumnManager.parameterDefinitionService.getProjectParameterByIds(difference);\r\n\t\t\r\n\t\tobjectListColumnManager.columnParameterDefinitionMetadata = [...objectListColumnManager.columnParameterDefinitionMetadata, ...moreParameterDefinitions];\r\n\t\tconsole.log('makeObjectProperties,columnParameterDefinitionMetadata:', objectListColumnManager.columnParameterDefinitionMetadata);\r\n\t\t\r\n\t\treturn items.map(x => new TypeOrInstance(x.name, x.propertyGroups.map((y: IPropertyGroup) => new PropertyGroup(y, cellEditService, row, objectListColumnManager))));\t\t\r\n\t}\r\n}\r\n"],"names":["___CSS_LOADER_EXPORT___","push","module","id","exports","NewObjectProperties","constructor","events","apiClient","appContext","cellEditService","propertyResizeHandler","projectId","itemPropertyGroups","showPropertiesDetailed","subscriptions","isVisible","isSwitchAvailable","isBpVisible","attached","this","subscribe","objListMgr","setObjectListManager","async","item","getObjectProperties","available","publish","objects","selectedItems","detached","forEach","subscription","dispose","projectIdChanged","projectChangedHandler","undefined","show","prjApi","project","allProps","get","jsonResult","console","log","allItems","ObjectPropertyFactory","makeObjectProperties","columns","resetColSizes","toggleDetails","enableCellEdit","cell","event","readOnly","Boolean","syncDirection","objectCell","saveCell","source","finally","isSelected","switchPropertyAndColor","formatUrl","url","U","isUrl","property","parameterDefinition","columnParameterDefinitionMetadata","filter","x","definitionId","length","parameterType","goToUrl","window","open","bindable","autoinject","EventAggregator","items","row","objectListColumnManager","ids","propertyGroups","properties","map","y","parameterDefinitionId","knownParamDefIds","difference","includes","moreParameterDefinitions","parameterDefinitionService","getProjectParameterByIds","name"],"sourceRoot":""}