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M8G,UAAUnH,EAAS,CAACa,aAChC,CAEQ,qBAAAuG,CAAsBC,EAAWC,GACxC,OAAID,EAAIC,GACC,EACED,EAAIC,EACF,EAEA,CAEZ,GAvQF,GAAC,EAAA7F,W,0DAGD,GAAC,EAAAA,W,kEArBWK,EAAc,GAD1B,EAAAJ,W,uBAwB4B,KAA4B,IAAmC,EAAAE,gBAAmC,EAAAD,iBAAiC,IAAiC,IAAwB,EAAAE,KAA6B,IAA2C,OAvBpRC,E","sources":["webpack://client-app/./src/app/project/bulk-parameters/bulk-parameters.scss","webpack://client-app/./src/app/project/bulk-parameters/details/details.scss","webpack://client-app/./src/app/project/bulk-parameters/bulk-parameters.html","webpack://client-app/./src/app/project/bulk-parameters/details/details.html","webpack://client-app/./src/app/project/bulk-parameters/details/details.ts","webpack://client-app/./src/app/project/bulk-parameters/bulk-parameters.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, `.bulk-parameters-list .headers{grid-template-columns:calc(16px + 15px*2) minmax(200px, 220px) repeat(5, minmax(120px, 240px)) minmax(200px, 1fr)}.bulk-parameters-list .main .element{grid-template-columns:calc(16px + 15px*2) minmax(200px, 1fr)}.bulk-parameters-list .main .element .category{margin-right:calc(15px/2);padding:calc(15px/2) calc(15px/1.5);user-select:none}.bulk-parameters-list .main .element.custom .cell{background-color:#cbac3b !important}.bulk-parameters-list .cell-wrapper{display:grid;grid-template-columns:minmax(200px, 220px) repeat(5, minmax(120px, 240px)) minmax(200px, 1fr)}.notSaved{background-color:#00b3c9 !important;border-color:#00b3c9 !important}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/project/bulk-parameters/bulk-parameters.scss\"],\"names\":[],\"mappings\":\"AAQC,+BACC,iHAP8B,CAW9B,qCACC,4DAX8B,CAa9B,+CACC,yBAAA,CACA,mCAAA,CACA,gBAAA,CAKA,kDACC,mCAAA,CAOH,oCACC,YAAA,CACA,6FA9BqC,CAqCxC,UACE,mCAAA,CACA,+BAAA\",\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// 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, `.categories-viewer{min-width:500px;max-width:800px}.categories-viewer .parameter-definition,.categories-viewer .parameter-definition--loading{display:flex;flex-direction:column;overflow:hidden;position:relative;min-height:unset !important;width:100%}@media(min-width: 992px){[data-device-type=desktop] .categories-viewer .parameter-definition,[data-device-type=desktop] .categories-viewer .parameter-definition--loading{width:800px}}.categories-viewer .parameter-definition--loading{justify-content:center;align-items:center;height:400px}.categories-viewer .parameter-definition .section:not(.active) .section-header,.categories-viewer .parameter-definition--loading .section:not(.active) .section-header{background:#f0f3f4;color:inherit;cursor:pointer}.categories-viewer .parameter-definition .section:not(.active) .section-header svg,.categories-viewer .parameter-definition--loading .section:not(.active) .section-header svg{transform:rotateZ(180deg)}.categories-viewer .parameter-definition .section:not(.active):last-of-type .section-header,.categories-viewer .parameter-definition--loading .section:not(.active):last-of-type .section-header{border-bottom:none}.categories-viewer .parameter-definition .section:not(.active) .section-body,.categories-viewer .parameter-definition .section:not(.active) .section-body--select-categories,.categories-viewer .parameter-definition--loading .section:not(.active) .section-body,.categories-viewer .parameter-definition--loading .section:not(.active) .section-body--select-categories{display:inline-flex}.categories-viewer .parameter-definition .section-header,.categories-viewer .parameter-definition--loading .section-header{background:#00b3c9;border-bottom:1px solid rgba(0,0,0,.175);color:#fff;font-weight:600;display:flex;flex:1 1 100%;justify-content:space-between;align-items:center;padding:calc(15px/1.5) calc(15px*1.5) calc(15px/1.5) 15px}.categories-viewer .parameter-definition .section-header h4,.categories-viewer .parameter-definition--loading .section-header h4{margin-bottom:0}.categories-viewer .parameter-definition .section-body,.categories-viewer .parameter-definition .section-body--select-categories,.categories-viewer .parameter-definition--loading .section-body,.categories-viewer .parameter-definition--loading .section-body--select-categories{display:grid;grid-template-columns:1fr;gap:15px;padding:15px;width:100%}.categories-viewer .parameter-definition .section-body .parameter-settings__inner,.categories-viewer .parameter-definition .section-body--select-categories .parameter-settings__inner,.categories-viewer .parameter-definition--loading .section-body .parameter-settings__inner,.categories-viewer .parameter-definition--loading .section-body--select-categories .parameter-settings__inner{display:grid;gap:15px}.categories-viewer .parameter-definition .section-body--select-categories,.categories-viewer .parameter-definition--loading .section-body--select-categories{padding:0 !important}.categories-viewer .parameter-definition .section-body--select-categories .parameter-settings,.categories-viewer .parameter-definition--loading .section-body--select-categories .parameter-settings{border:none;padding:0}.categories-viewer .parameter-definition .section-body--select-categories .categories,.categories-viewer .parameter-definition--loading .section-body--select-categories .categories{border-right:1px solid rgba(0,0,0,.175)}[data-device-type=mobile] .categories-viewer .parameter-definition .section-body--select-categories .categories,[data-device-type=mobile] .categories-viewer .parameter-definition--loading .section-body--select-categories .categories{border-bottom:1px solid rgba(0,0,0,.175);border-right:none}.categories-viewer .parameter-definition .section-body--select-categories .selected-categories,.categories-viewer .parameter-definition--loading .section-body--select-categories .selected-categories{padding:15px 15px 15px 0;overflow:auto}[data-device-type=mobile] .categories-viewer .parameter-definition .section-body--select-categories .selected-categories,[data-device-type=mobile] .categories-viewer .parameter-definition--loading .section-body--select-categories .selected-categories{padding:15px}.categories-viewer .parameter-definition .section-body--select-categories .selected-categories .heading,.categories-viewer .parameter-definition--loading .section-body--select-categories .selected-categories .heading{font-weight:600;margin-bottom:calc(15px/1.5)}.categories-viewer .parameter-definition .section-body--select-categories .selected-categories .category,.categories-viewer .parameter-definition--loading .section-body--select-categories .selected-categories .category{margin-bottom:calc(15px/2);margin-right:calc(15px/2);padding:calc(15px/2) calc(15px/1.5)}.categories-viewer .parameter-definition .section-body--select-categories .selected-categories .category__btn,.categories-viewer .parameter-definition--loading .section-body--select-categories .selected-categories .category__btn{cursor:pointer;padding:0 calc(15px/5)}.categories-viewer .parameter-definition .section-body--select-categories .selected-categories .category .name,.categories-viewer .parameter-definition--loading .section-body--select-categories .selected-categories .category .name{user-select:none}.categories-viewer .parameter-definition .section-body--select-categories .description,.categories-viewer .parameter-definition--loading .section-body--select-categories .description{padding:0 15px 15px}.categories-viewer .parameter-definition .section-body--select-categories .categories-picker,.categories-viewer .parameter-definition--loading .section-body--select-categories .categories-picker{display:grid;grid-template-columns:300px 1fr;grid-template-rows:360px;column-gap:15px}.categories-viewer .parameter-definition .section-body--select-categories .categories-picker .categories,.categories-viewer .parameter-definition--loading .section-body--select-categories .categories-picker .categories{display:grid;grid-template-rows:36.5px 1fr 36.5px}[data-device-type=mobile] .categories-viewer .parameter-definition .section-body--select-categories .categories-picker,[data-device-type=mobile] .categories-viewer .parameter-definition--loading .section-body--select-categories .categories-picker{grid-template-columns:unset;grid-template-rows:286.5px}.categories-viewer .parameter-definition .section-body--select-categories .parameter-definition__categories-list,.categories-viewer .parameter-definition--loading .section-body--select-categories .parameter-definition__categories-list{height:100%;padding:calc(15px/2) 0;position:relative;overflow:auto}.categories-viewer .parameter-definition .section-body--select-categories .parameter-definition__categories-list .category,.categories-viewer .parameter-definition--loading .section-body--select-categories .parameter-definition__categories-list .category{cursor:pointer;padding:7.5px 15px}.categories-viewer .parameter-definition .section-body .description__inner,.categories-viewer .parameter-definition--loading .section-body .description__inner,.categories-viewer .parameter-definition .section-body--select-categories .description__inner,.categories-viewer .parameter-definition--loading .section-body--select-categories .description__inner{background:#f0f3f4;padding:15px}.categories-viewer .parameter-definition .section-actions,.categories-viewer .parameter-definition--loading .section-actions{display:flex;flex:1 1 100%;justify-content:flex-end;align-items:center;padding:15px}.categories-viewer .parameter-definition__row{display:grid;align-items:center;gap:calc(15px/3) 15px}@media screen and (min-width: 640px){.categories-viewer .parameter-definition__row{grid-template-columns:minmax(160px, 300px) minmax(180px, 1fr)}}.categories-viewer .parameter-definition__row .title{font-weight:600;display:flex;align-items:center;justify-content:space-between}.categories-viewer .parameter-definition__row .text-field{color:#000;width:400px}.categories-viewer .category{margin-right:calc(15px/2);margin:.4em;padding:calc(15px/2) calc(15px/1.5);user-select:none}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/project/bulk-parameters/details/details.scss\",\"webpack://./src/resources/customized-styles/variables.scss\",\"webpack://./src/resources/color-admin/_variables.scss\"],\"names\":[],\"mappings\":\"AAUA,mBACC,eAAA,CACA,eAAA,CAEA,2FACC,YAAA,CACA,qBAAA,CACA,eAAA,CACA,iBAAA,CACA,2BAAA,CACA,UAAA,CAGC,yBADD,iJAEE,WAAA,CAAA,CAIF,kDAEC,sBAAA,CACA,kBAAA,CACA,YAAA,CAMC,uKACC,kBC5BU,CD6BV,aAAA,CACA,cAAA,CAEA,+KACC,yBAAA,CAKD,iMACC,kBAAA,CAIF,4WACC,mBAAA,CAIF,2HACC,kBCtDK,CDuDL,wCAAA,CACA,UEZU,CFaV,eAAA,CACA,YAAA,CACA,aAAA,CACA,6BAAA,CACA,kBAAA,CACA,yDAAA,CACA,iIACC,eAAA,CAIF,oRACC,YAAA,CACA,yBAAA,CACA,QC5DK,CD6DL,YC7DK,CD8DL,UAAA,CAGC,gYACC,YAAA,CACA,QCnEG,CDuEL,6JAEC,oBAAA,CAEA,qMACC,WAAA,CACA,SAAA,CAGD,qLACC,uCAAA,CAEA,yOACC,wCAAA,CACA,iBAAA,CAIF,uMACC,wBAAA,CACA,aAAA,CAEA,2PACC,YC9FE,CDiGH,yNACC,eAAA,CACA,4BAAA,CAGD,2NACC,0BAAA,CACA,yBAAA,CACA,mCAAA,CAEA,qOACC,cAAA,CACA,sBAAA,CAGD,uOACC,gBAAA,CAKH,uLACC,mBAAA,CAGD,mMACC,YAAA,CACA,+BAAA,CACA,wBAAA,CACA,eC9HG,CDgIH,2NACC,YAAA,CACA,oCAAA,CAGD,uPACC,2BAAA,CACA,0BAAA,CAIF,2OACC,WAAA,CACA,sBAAA,CACA,iBAAA,CACA,aAAA,CAEA,+PACC,cAAA,CACA,kBAAA,CAMF,oWACC,kBChKS,CDiKT,YC3JG,CDgKN,6HACC,YAAA,CACA,aAAA,CACA,wBAAA,CACA,kBAAA,CACA,YCrKK,CD0KP,8CACC,YAAA,CACA,kBAAA,CACA,qBAAA,CAEA,qCALD,8CAME,6DAAA,CAAA,CAGD,qDACC,eAAA,CACA,YAAA,CACA,kBAAA,CACA,6BAAA,CAGD,0DACC,UAAA,CACA,WAAA,CAKH,6BACC,yBAAA,CACA,WAAA,CACA,mCAAA,CACA,gBAAA\",\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Module\nvar code = `<template> <require from=\"./bulk-parameters.scss\"></require> <top-bar show-search.bind=\"true\" with-breadcrumb.bind=\"true\"> <div slot=\"slot-right\"> <button click.delegate=\"assignParameters()\" class=\"btn btn-with-theme\" id=\"saveButton\" i18n=\"translate:[title]Save Selection\"> <i class=\"fas fa-save fa-fw\"></i> </button> <button click.delegate=\"toggleUnselected()\" class=\"btn btn-with-theme\" i18n=\"translate:[title]\\${toggleText}\"> <i id=\"visibility\" class=\"fas fa-eye-slash fa-fw\"></i> </button> </div> </top-bar> <div class=\"bulk-parameters-list widget-background\" css-grid-table> <div class=\"headers\"> <div class=\"cell\"> <label class=\"checkbox-with-theme\" change.delegate=\"toggleAll()\"> <input type=\"checkbox\" checked.bind=\"allSelected\"> </label> </div> <div class=\"cell\" click.delegate=\"sortBy('name')\"> <span i18n=\"translation:Name\"> Name </span> <span class=\"icon\" show.bind=\"column === 'name'\" innerhtml=\"<i class='fad \\${displayState.icon}'></i>\"></span> </div> <div class=\"cell\" click.delegate=\"sortBy('sharedParamId')\"> <span i18n=\"translation:SharedParameterID\">Shared Parameter ID</span> <span class=\"icon\" show.bind=\"column === 'sharedParamId'\" innerhtml=\"<i class='fad \\${displayState.icon}'></i>\"></span> </div> <div class=\"cell\" click.delegate=\"sortBy('scope')\"> <span i18n=\"translation:Scope\">Scope</span> <span class=\"icon\" show.bind=\"column === 'scope'\" innerhtml=\"<i class='fad \\${displayState.icon}'></i>\"></span> </div> <div class=\"cell\" click.delegate=\"sortBy('category')\"> <span i18n=\"translation:Category\">Category</span> <span class=\"icon\" show.bind=\"column === 'category'\" innerhtml=\"<i class='fad \\${displayState.icon}'></i>\"></span> </div> <div class=\"cell\" click.delegate=\"sortBy('dataType')\"> <span i18n=\"translation:DataType\">Data Type</span> <span class=\"icon\" show.bind=\"column === 'dataType'\" innerhtml=\"<i class='fad \\${displayState.icon}'></i>\"></span> </div> <div class=\"cell\" click.delegate=\"sortBy('builtIn')\"> <span i18n=\"translation:Parameter Context\">Parameter Context</span> <span class=\"icon\" show.bind=\"column === 'builtIn'\" innerhtml=\"<i class='fad \\${displayState.icon}'></i>\"></span> </div> <div class=\"cell\" click.delegate=\"sortBy('paramGroup')\"> <span i18n=\"translation:ParameterGroup\">Parameter Group</span> <span class=\"icon\" show.bind=\"column === 'paramGroup'\" innerhtml=\"<i class='fad \\${displayState.icon}'></i>\"></span> </div> </div> <div class=\"main\"> <div class=\"inner\"> <div if.bind=\"parameters.length === 0\" class=\"no-results\"> <span i18n=\"translation:NoContent\">No content...</span> </div> <div if.bind=\"parameters.length > 0\"> <div virtual-repeat.for=\"parameter of parameters | search : { searchTerm: searchTerm, columns: columnsToSearch} | sort: { propertyName: column, direction: displayState.direction }\" class=\"element \\${parameter.custom ? 'custom' : ''}\"> <div class=\"cell\"> <label class=\"checkbox-with-theme\" change.delegate=\"toggleParameter()\"> <input type=\"checkbox\" checked.bind=\"parameter.selected\"> </label> </div> <div class=\"cell-wrapper\" click.delegate=\"showDetails(parameter)\"> <div class=\"cell\" title=\"\\${parameter.name}\"> <span class=\"cell__inner\"> \\${parameter.name} </span> </div> <div class=\"cell\" title=\"\\${parameter.sharedParamId}\"> <span class=\"cell__inner\"> \\${parameter.sharedParamId} </span> </div> <div class=\"cell\" title=\"\\${parameter.scope}\"> <span class=\"cell__inner\"> \\${parameter.scopeText} </span> </div> <div class=\"cell\" title=\"\\${parameter.categories}\"> <div class=\"cell__inner\"> <span class=\"category badge badge-default\" repeat.for=\"category of parameter.categories\">\\${category}</span> </div> </div> <div class=\"cell\" title=\"\\${parameter.dataType}\"> <span class=\"cell__inner\"> \\${parameter.dataType} </span> </div> <div class=\"cell\" title=\"\\${parameter.builtIn}\"> <span class=\"cell__inner\"> \\${parameter.builtIn} </span> </div> <div class=\"cell\" title=\"\\${parameter.paramGroup}\"> <span class=\"cell__inner\"> \\${parameter.paramGroup} </span> </div> </div> </div> </div> </div> </div> </div> </template> `;\n// Exports\nexport default code;","// Module\nvar code = `<template> <require from=\"./details.scss\"></require> <require from=\"app/components/dialog/modal.scss\"></require> <ux-dialog class=\"categories-viewer\"> <ux-dialog-header class=\"headers\"> <h3>Details</h3> <button click.delegate=\"close()\" class=\"btn btn-icon btn-white btn-white-without-border\"> <i class=\"far fa-times\"></i> </button> </ux-dialog-header> <ux-dialog-body class=\"parameter-definition\"> <section class=\"section\"> <div class=\"section-header\"> <h4 i18n=\"translation:Parameter Information\">Parameter Information</h4> </div> <div class=\"section-body\"> <div class=\"parameter-settings\"> <div class=\"parameter-settings__inner\"> <div class=\"parameter-definition__row\"> <div class=\"title\" for=\"parameter-name\" i18n=\"translation:ParameterName\">Parameter Name</div> <div> <input disabled=\"disabled\" id=\"parameter-name\" value=\"\\${parameter.name}\" class=\"text-field\" type=\"text\"> </div> </div> <div class=\"parameter-definition__row\"> <div class=\"title\" for=\"shared-parameter-id\" i18n=\"translation:Shared Parameter ID\">Shared Parameter ID</div> <div> <input disabled=\"disabled\" id=\"shared-parameter-id\" value=\"\\${parameter.sharedParamId}\" class=\"text-field\" type=\"text\"> </div> </div> <div class=\"parameter-definition__row\"> <div class=\"title\" for=\"parameter-scope\" i18n=\"translation:Scope\">Scope</div> <div> <input disabled=\"disabled\" id=\"parameter-scope\" value=\"\\${parameter.scope}\" class=\"text-field\" type=\"text\"> </div> </div> <div class=\"parameter-definition__row\"> <div class=\"title\" for=\"parameter-contest\" i18n=\"translation:Parameter Context\">Parameter Context</div> <div> <input disabled=\"disabled\" id=\"parameter-context\" value=\"\\${parameter.builtIn}\" class=\"text-field\" type=\"text\"> </div> </div> <div class=\"parameter-definition__row\"> <div class=\"title\" for=\"parameter-data-type\" i18n=\"translation:Data Type\">Data Type</div> <div> <input disabled=\"disabled\" id=\"parameter-data-type\" value=\"\\${parameter.dataType}\" class=\"text-field\" type=\"text\"> </div> </div> <div class=\"parameter-definition__row\"> <div class=\"title\" for=\"parameter-param-group\" i18n=\"translation:Parameter Group\">Parameter Group</div> <div> <input disabled=\"disabled\" id=\"parameter-param-group\" value=\"\\${parameter.paramGroup}\" class=\"text-field\" type=\"text\"> </div> </div> <div class=\"parameter-definition__row\"> <div class=\"title\" for=\"parameter-param-group-id\" i18n=\"translation:Parameter Group ID\">Parameter Group ID</div> <div> <input disabled=\"disabled\" id=\"parameter-param-group-id\" value=\"\\${parameter.parameterGroup}\" class=\"text-field\" type=\"text\"> </div> </div> </div> </div> </div> </section> <section class=\"section\"> <div class=\"section-header\"> <h4 i18n=\"translation:Categories\">Categories</h4> </div> <div class=\"cell\"> <div class=\"category badge badge-default\" repeat.for=\"category of categories\"> <span class=\"name\">\\${category}</span> </div> </div> </section> </ux-dialog-body> </ux-dialog> </template> `;\n// Exports\nexport default code;","import { SyncDirectionEnum } from './../../../models/parameter-definition-dto';\r\nimport { ParameterDefinitionDto } from 'app/models/parameter-definition-dto';\r\nimport { Router } from 'aurelia-router';\r\nimport { EventAggregator, Subscription } from 'aurelia-event-aggregator';\r\nimport { ApiClient } from 'app/services/api-client';\r\nimport { AppContextService } from 'app/services/app-context-service';\r\nimport { ModalService } from 'app/services/modal-service';\r\nimport { DialogController } from 'aurelia-dialog';\r\nimport { autoinject, observable } from 'aurelia-framework';\r\nimport { I18N } from 'aurelia-i18n';\r\nimport { AocParameterDefinitionService } from \"../../../services/object-services/aoc-parameter-definition-service\";\r\nimport { ObjectServiceBuilder } from 'app/services/object-services/object-service-builder';\r\n\r\n@autoinject\r\nexport class Details{\r\n\tprivate parameterHasChanged:boolean = false;\r\n\tprivate parameterDefinitionService: AocParameterDefinitionService | undefined = undefined;\r\n\tparameter:ParameterDefinitionDto | undefined = undefined;\r\n\r\n\t@observable public loading:boolean = true;\r\n\tpublic categories:string[] = [];\r\n\r\n\tconstructor(protected dialog: DialogController, private apiClient: ApiClient, private appContext: AppContextService, private modal: ModalService, private events: EventAggregator, private i18n: I18N, private router: Router, private serviceBuilder: ObjectServiceBuilder) {\r\n\t\t\r\n\t}\r\n\r\n\tpublic async activate(params: any){\r\n\t\tthis.categories = params.parameter.categories;\r\n\t\tthis.parameter = params.parameter;\r\n\r\n\t\tthis.parameterDefinitionService = this.serviceBuilder.ForAjourCollab_OSB(this.appContext.projectId).BuildParameterDefinitionService();\r\n\r\n\t\tthis.loading = false;\r\n\t}\r\n\r\n\tpublic async deactivate(){\r\n\t\t\r\n\t}\r\n\r\n\tpublic close() {\r\n\t\t\tthis.dialog.cancel();\r\n\t}\r\n}\r\n","import { Details } from './details/details';\r\nimport { ParameterDefinitionDto, RevitEnumPair } from './../../models/parameter-definition-dto';\r\nimport { ListService, SelectResult } from './../../services/list-service';\r\nimport { ObjectServiceBuilder } from './../../services/object-services/object-service-builder';\r\nimport { Subscription, EventAggregator } from 'aurelia-event-aggregator';\r\nimport { I18N } from 'aurelia-i18n';\r\nimport { ApiClient } from 'app/services/api-client';\r\nimport { CheckboxParam, ParameterDefinitionService } from 'app/services/object-services/parameter-definition-service';\r\nimport { AppContextService } from './../../services/app-context-service';\r\nimport { ModalService } from 'app/services/modal-service';\r\nimport { autoinject, observable, bindable } from 'aurelia-framework';\r\nimport { DialogController } from 'aurelia-dialog';\r\nimport {Router} from 'aurelia-router';\r\n\r\n@autoinject\r\nexport class BulkParameters {\r\n\tpublic parameters:ParameterDefinitionDto[] = [];\r\n\tprivate selectedParameters: ParameterDefinitionDto[] = [];\r\n\tprivate initiallySelectedParameters: ParameterDefinitionDto[] = [];\r\n\tpublic viewContext:string = \"\";\r\n \tpublic column: string = \"name\";\r\n\tpublic displayState: { icon: string, direction: string } | undefined;\r\n\tprivate paramDefService: ParameterDefinitionService | undefined;\r\n\tprivate projectParameters: ParameterDefinitionDto[] = [];\r\n\tprivate showAllParams: boolean = true;\r\n\tprivate revitParams: ParameterDefinitionDto[] = [];\r\n\r\n\t// @ts-ignore // hmm, ts-ignore doesn't work, find some other way to shut up warning?\r\n\tprivate columnsToSearch: string[] = ['name', 'storageType', 'parameterType', 'parameterScope', 'unitType'];\r\n\tprivate searchTerm: string = \"\";\r\n\tprivate allSelected: boolean = false;\r\n\tprivate subscriptions: Subscription[] = [];  \r\n\r\n\t@observable public toggleText:string = \"Hide Unselected Parameters\";\r\n\tpublic saved:boolean = true;\r\n\r\n\t@observable public isPrerelease_bulk:boolean = true;\r\n\r\n\tconstructor(private router: Router, private appContext: AppContextService, private events: EventAggregator, protected dialog: DialogController, private modal: ModalService, private apiClient: ApiClient, private i18n:I18N, private serviceBuilder:ObjectServiceBuilder, private listService: ListService){\r\n\t\tthis.viewContext = \"TopBar\";\r\n\t}\r\n\r\n\tasync activate(params: any){\r\n\t\tif (params.projectId){\r\n\t\t\tthis.appContext.setProject(params.projectId);//in-activate.\r\n\t\t}\r\n\r\n\t\tthis.subscriptions = [];\r\n\t\tthis.parameters = [];\r\n\t\tthis.selectedParameters = [];\r\n\r\n\t\tthis.paramDefService = this.serviceBuilder.ForAjourCollab_OSB(this.appContext.projectId).BuildParameterDefinitionService();\r\n\t\t\r\n\t\tif(this.appContext.projectId){\r\n\t\t\tawait this.load();\r\n\t\t}\r\n\t\tthis.displayState = this.listService.displayState;\r\n\r\n\t\tconst searchHandler = (data: any) => this.handleSearchEvent(data);\r\n\r\n\t\tthis.subscriptions = [\r\n\t\t\tthis.events.subscribe(this.viewContext + \":SearchTermChanged\", searchHandler)\r\n\t\t];\r\n\r\n\t\tthis.initiallySelectedParameters = this.selectedParameters; // det kan du vist ikke, du er nødt til at udløse en kopiering, f.eks. vha ...\r\n\t\tthis.getParameterGroupEnums();\r\n\t\tthis.checkParameterContext();\r\n\t}\r\n\r\n\tdeactivate(){ }\r\n\r\n\tasync load(){\r\n\t\tawait this.getRevitParameters(); \r\n\t\tawait this.getProjectParameters();\r\n\t\tawait this.setSelection();\t\r\n\t}\r\n\r\n\t//Used before breadcrumbs were made.\r\n\t// public openParameters(){\r\n\t// \tif (this.saved === false) {\r\n\t// \t\tthis.modal.OpenConfirm(\r\n\t// \t\t\tthis.i18n.tr(\"Save changes\"),\r\n\t// \t\t\tthis.i18n.tr(\"Do you want to save your changes?\")\r\n\t// \t\t).whenClosed(x => {\r\n\t// \t\t\tif (!x.wasCancelled) {\r\n\t// \t\t\t\tthis.saveParameters().finally(() => this.saved = true);\r\n\t// \t\t\t} else {\r\n\t// \t\t\t\tthis.selectedParameters = this.initiallySelectedParameters;\r\n\t// \t\t\t}\r\n\t// \t\t}).finally(() => this.router.navigate('project/' + this.appContext.projectId + '/parameters/'));\r\n\t// \t} else {\r\n\t// \t\tthis.router.navigate('project/' + this.appContext.projectId + '/parameters/');\r\n\t// \t}\r\n\t// }\r\n\r\n\tprivate async setSelection() {\r\n\t\tthis.selectedParameters = []; // Initialize to empty selection.\r\n\r\n\t\tthis.projectParameters.forEach( (prjParam:ParameterDefinitionDto) => {\r\n\t\t\t/* For each item in projectParameters, \r\n\t\t\twe check whether it has a match in this.parameters.\r\n\t\t\t-if it DOES, we ensure that match is selected.\r\n\t\t\t-if it does NOT, we ADD it to this.parameters (and select it).\r\n\t\t\t*/\r\n\t\t\tlet isContainedInRevit:boolean = this.parameters.some( (bulkRevit:ParameterDefinitionDto) => {\r\n\t\t\t\tif (prjParam.name === bulkRevit.name) {\r\n\t\t\t\t\tlet isMatched:boolean = this.compareDefKey2(bulkRevit, prjParam);\r\n\t\t\t\t\tif (isMatched) { \r\n\t\t\t\t\t\tif (!bulkRevit.selected) {\r\n\t\t\t\t\t\t\tbulkRevit.selected = true; // mark a matched aoc<->revit param as pre-selected.\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t} \r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\tif (!isContainedInRevit) {\r\n\t\t\t\tprjParam.selected = true;\r\n\t\t\t\tthis.parameters.push(prjParam);\r\n\t\t\t\tthis.selectedParameters.push(prjParam);\r\n\t\t\t}\r\n\t\t});\r\n\t\tif (this.paramDefService) {\r\n\t\t\tlet selected:CheckboxParam[] = await this.paramDefService.getMatchedParameters(this.appContext.projectId);\r\n\t\t\tif (selected !== undefined) {\r\n\t\t\t\tfor (let matchedRevitParam of this.parameters) {\r\n\t\t\t\t\tfor (let select of selected) { \r\n\t\t\t\t\t\tlet aocParam:ParameterDefinitionDto = select.projectParameter; \r\n\t\t\t\t\t\tlet matched:boolean = this.compareDefKey2(matchedRevitParam, aocParam);\r\n\t\t\t\t\t\tif (matched) {\r\n\t\t\t\t\t\t\tmatchedRevitParam.selected = true;\r\n\t\t\t\t\t\t\tthis.selectedParameters.push(matchedRevitParam);\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} else {\r\n\t\t\t\tconsole.warn('no matched?');\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tprivate checkParameterContext(){\r\n\t\tthis.parameters.forEach((element: any) => { //Is actually ParameterDefinitionDto but strict mode does not allow the call [\"builtin\"] on that type\r\n\t\t\tif(element[\"builtInParameter\"] === -1 && element[\"sharedParamId\"] === '00000000-0000-0000-0000-000000000000'){\r\n\t\t\t\telement[\"builtIn\"] = \"Project\";\r\n\t\t\t}else if(element[\"builtInParameter\"] !== -1 && element[\"sharedParamId\"] === '00000000-0000-0000-0000-000000000000'){\r\n\t\t\t\telement[\"builtIn\"] = \"Built-in\";\r\n\t\t\t}else if(element[\"builtInParameter\"] === -1 && element[\"sharedParamId\"] !== '00000000-0000-0000-0000-000000000000'){\r\n\t\t\t\telement[\"builtIn\"] = \"Shared\";\r\n\t\t\t}\r\n\t\t})\r\n\t}\r\n\r\n\tprivate handleSearchEvent(data: any): void {\r\n\t\tthis.searchTerm = data;\r\n\t}\r\n\r\n\tprivate async getRevitParameters():Promise<void> {\r\n\t\tif (this.paramDefService) {\r\n\t\t\tthis.revitParams = await this.paramDefService.getRevitParameters();\r\n\t\t\t//console.log('getRevitParameters, setting params to:', this.revitParams);\r\n\t\t\tthis.parameters = this.revitParams;\r\n\t\t}\r\n\t}\r\n\r\n\tprivate async getProjectParameters():Promise<void> {\r\n\t\tif (this.paramDefService) {\r\n\t\t\tthis.projectParameters = await this.paramDefService.getParameters();\r\n\t\t}\r\n\t}\r\n\r\n\tprivate compareDefKey2(p1:ParameterDefinitionDto, p2_:ParameterDefinitionDto) : boolean { //any){ //async \r\n\t\tlet p2:ParameterDefinitionDto = <ParameterDefinitionDto> p2_;\r\n\r\n\t\tif (p1.builtInParameter === p2.builtInParameter \r\n\t\t\t&& p1.name === p2.name \r\n\t\t\t&& p1.parameterGroup === p2.parameterGroup \r\n\t\t\t&& p1.sharedParamId === p2.sharedParamId \r\n\t\t\t&& p1.parameterType === p2.parameterType // AHA! this was missing scope!\r\n\t\t\t&& p1.scope === p2.scope // AHA! this was missing scope!\r\n\t\t\t) {\r\n\t\t\t\treturn true;\r\n\t\t\t} else {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t}\r\n\r\n\tprivate async getParameterGroupEnums(): Promise<void> {\r\n\t\tif (this.paramDefService) {\r\n\t\t\tlet enums = await this.paramDefService.GetParameterGroupEnums();\r\n\t\t\tthis.parameters.forEach((element: any) => { //Is Actually ParameterDefinitionDto.\r\n\t\t\t\tenums.map((x: RevitEnumPair) => {\r\n\t\t\t\t\tif(x.enumInt === element.parameterGroup){\r\n\t\t\t\t\t\telement['paramGroup'] = x.enumString;\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tpublic async assignParameters(): Promise<void> {\r\n\t\tthis.modal.OpenConfirm(\r\n\t\t\tthis.i18n.tr('Save changes'),\r\n\t\t\tthis.i18n.tr('Are you sure you want to save the selected parameters for this project?')\r\n\t\t).whenClosed(x => {\r\n\t\t\tif(!x.wasCancelled){\r\n\t\t\t\tthis.saved = true;\r\n\t\t\t\tdocument.getElementById(\"saveButton\")?.classList.remove('notSaved');\r\n\t\t\t\tthis.saveParameters();\r\n\t\t\t}\r\n\t\t})\r\n\t}\r\n\r\n\tprivate async saveParameters(){\r\n\t\tthis.selectedParameters.forEach(item => {\r\n\t\t\tif(!this.initiallySelectedParameters.includes(item)){\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t})\r\n\r\n\t\tthis.paramDefService?.saveBulkParameters(this.appContext.projectId, this.selectedParameters).finally(() => {\r\n\t\t\tthis.appContext.changesSaved = true;\r\n\t\t})\r\n\t}\r\n\r\n\tpublic async sortBy(columnName: string){\r\n\t\tawait this.listService.sortBy(columnName).then(result => {\r\n\t\t\tthis.column = result.column;\r\n\t\t\tthis.displayState = result.displayState;\r\n\t\t})\r\n\t}\r\n\r\n\tpublic async toggleParameter(){\r\n\t\tawait this.listService.toggleElement(this.parameters).then(result => {\r\n\t\t\tthis.selectedParameters = result.selected;\r\n\t\t\tthis.allSelected = result.allSelected;\r\n\t\t}).finally(() => {\r\n\t\t\tif(this.selectedParameters === this.initiallySelectedParameters){\r\n\t\t\t\tdocument.getElementById(\"saveButton\")?.classList.remove('notSaved');\r\n\t\t\t}else{\r\n\t\t\t\tdocument.getElementById(\"saveButton\")?.classList.add('notSaved');\r\n\t\t\t\tthis.saved = false;\r\n\t\t\t}\r\n\t\t})\r\n\t}\r\n\r\n\tpublic async toggleAll(): Promise<void> {\r\n\t\tawait this.listService.toggleAll(this.parameters, this.searchTerm, this.columnsToSearch).then((result: SelectResult | undefined) => {\r\n\t\t\tif (result) {\r\n\t\t\t\tthis.selectedParameters = result.selected;\r\n\t\t\t\tthis.allSelected = result.allSelected;\r\n\t\t\t}\r\n\t\t}).finally(() => {\r\n\t\t\tif(this.selectedParameters.length === this.initiallySelectedParameters.length){\r\n\t\t\t\tdocument.getElementById(\"saveButton\")?.classList.remove('notSaved');\r\n\t\t\t}else{\r\n\t\t\t\tdocument.getElementById(\"saveButton\")?.classList.add('notSaved');\r\n\t\t\t\tthis.saved = false;\r\n\t\t\t}\r\n\t\t})\r\n\t}\r\n\r\n\tpublic async toggleUnselected(): Promise<void> {\r\n\t\tthis.parameters = [];\r\n\t\tif (this.showAllParams === true){\r\n\t\t\tthis.selectedParameters.forEach(element => {\r\n\t\t\t\tthis.parameters.push(element);\r\n\t\t\t})\r\n\t\t\tthis.allSelected = this.listService.allSelected;\r\n\t\t\tthis.showAllParams = false;\r\n\t\t\tthis.toggleText = \"Show All Parameters\";\r\n\t\t\tdocument.getElementById(\"visibility\")?.classList.remove('fa-eye-slash');\r\n\t\t\tdocument.getElementById(\"visibility\")?.classList.add('fa-eye');\r\n\t\t} else {\r\n\t\t\t//console.log('toggleUnselected, setting params to:', this.revitParams);\r\n\t\t\tthis.parameters = this.revitParams;\r\n\t\t\tthis.allSelected = this.listService.allSelected;\r\n\t\t\tthis.showAllParams = true;\r\n\t\t\tthis.toggleText = \"Hide Unselected Parameters\";\r\n\t\t\tdocument.getElementById(\"visibility\")?.classList.remove('fa-eye');\r\n\t\t\tdocument.getElementById(\"visibility\")?.classList.add('fa-eye-slash');\r\n\t\t}\r\n\t}\r\n\r\n\tpublic showDetails(parameter:ParameterDefinitionDto): void {\r\n\t\tthis.modal.OpenModal(Details, {parameter});\r\n\t}\r\n\r\n\tprivate not_used_compareNames(a: string, b: string): number {\r\n\t\tif (a < b) {\r\n\t\t\treturn -1;\r\n\t\t} else if (a > b){\r\n      \t\treturn 1;\r\n    \t} else {\r\n      \t\treturn 0;\r\n    \t}\r\n  \t}\r\n}\r\n"],"names":["___CSS_LOADER_EXPORT___","push","module","id","Details","constructor","dialog","apiClient","appContext","modal","events","i18n","router","serviceBuilder","parameterHasChanged","parameterDefinitionService","undefined","parameter","loading","categories","activate","params","this","ForAjourCollab_OSB","projectId","BuildParameterDefinitionService","deactivate","close","cancel","observable","autoinject","DialogController","EventAggregator","I18N","BulkParameters","listService","parameters","selectedParameters","initiallySelectedParameters","viewContext","column","projectParameters","showAllParams","revitParams","columnsToSearch","searchTerm","allSelected","subscriptions","toggleText","saved","isPrerelease_bulk","setProject","paramDefService","load","displayState","subscribe","data","handleSearchEvent","getParameterGroupEnums","checkParameterContext","getRevitParameters","getProjectParameters","setSelection","forEach","prjParam","some","bulkRevit","name","compareDefKey2","selected","getMatchedParameters","matchedRevitParam","select","aocParam","projectParameter","console","warn","element","getParameters","p1","p2_","p2","builtInParameter","parameterGroup","sharedParamId","parameterType","scope","enums","GetParameterGroupEnums","map","x","enumInt","enumString","assignParameters","OpenConfirm","tr","whenClosed","wasCancelled","document","getElementById","classList","remove","saveParameters","item","includes","saveBulkParameters","finally","changesSaved","sortBy","columnName","then","result","toggleParameter","toggleElement","add","toggleAll","length","toggleUnselected","showDetails","OpenModal","not_used_compareNames","a","b"],"sourceRoot":""}