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E,cAAcpB,OAAMC,GAASA,EAAML,WAChD,CAEQ,mBAAA2C,CAAoBtC,GAC3BpD,KAAKwE,WAAapB,CACnB,CAEQ,UAAA0D,GACP9G,KAAKuE,cAActF,KAAK,IAAI,EAAA2D,aAC7B,CAEQ,aAAAmE,CAAcC,GACrBhH,KAAKuE,cAAc5C,OAAOqF,EAAO,EAClC,GA1JY9C,E,mUAAkB,EAD9B,EAAAxB,W,kIAYmB,EAAAuE,iBACL,IACA,IACG,EAAAtE,mBAdLuB,E,gICjBN,IAAMgD,EAAN,MAIN,WAAA7H,CAAuB8E,GAAA,KAAAA,OAAAA,EAHvB,KAAAgD,cAAwB,EACxB,KAAAC,kBAA4B,CAI5B,CAEA,EAAA5B,GACCxF,KAAKmE,OAAOqB,GAAG,CACd2B,aAAcnH,KAAKmH,aACnBC,iBAAkBpH,KAAKoH,kBAEzB,CAEA,MAAAC,GACCrH,KAAKmE,OAAOkD,QACb,GAjBYH,E,mUAAU,EADtB,EAAAxE,W,kIAK+B,EAAAuE,oBAJnBC,E","sources":["webpack://client-app/./src/app/components/notification-center/notification-center.scss","webpack://client-app/./src/app/components/object/compound-values-tool/command-row/command-row.scss","webpack://client-app/./src/app/components/object/compound-values-tool/compound-values-tool.scss","webpack://client-app/./src/app/components/object/export-grid/export-grid.scss","webpack://client-app/./src/app/components/notification-center/notification-center.html","webpack://client-app/./src/app/components/object/compound-values-tool/command-row/command-row.html","webpack://client-app/./src/app/components/object/compound-values-tool/compound-values-tool.html","webpack://client-app/./src/app/components/object/export-grid/export-grid.html","webpack://client-app/./src/app/components/notification-center/notification-center.ts","webpack://client-app/./src/app/components/object/compound-values-tool/command-row/command-row.ts","webpack://client-app/./src/app/components/object/compound-values-tool/compound-values-tool.ts","webpack://client-app/./src/app/components/object/export-grid/export-grid.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, `.notification-center{display:flex;flex-direction:column;position:fixed;height:100vh;top:0;background:#fff;left:0;z-index:calc(1040 + 1);box-shadow:0 0 .25rem rgba(0,0,0,.175);opacity:0;transition:all 200ms ease-in-out}[data-device-type=mobile] .notification-center{left:-100vw;width:100vw}[data-device-type=mobile] .notification-center.open{width:100%;left:0;opacity:1;z-index:calc(1040 + 3)}[data-device-type=tablet] .notification-center{left:-500px;width:0}[data-device-type=tablet] .notification-center.open{width:500px;left:0;opacity:1;z-index:calc(1040 + 3)}[data-device-type=desktop] .notification-center{left:calc(275px - 500px);width:0}[data-device-type=desktop] .notification-center.open{width:500px;z-index:calc(1040 + 5);left:0;opacity:1}.notification-center__header{display:grid;align-items:center;grid-template-columns:1fr 3em;gap:15px;min-height:4em;padding:0 15px;color:#fff}.notification-center__header h4{margin:0}.notification-center .list{border-top:1px solid rgba(0,0,0,.175);display:flex;flex-direction:column;flex:1 1 100%;position:relative;min-height:calc(100vh - 4em);overflow:hidden}.notification-center .list__inner{display:flex;flex-direction:column;flex:1 1 100%;gap:15px;position:relative;overflow:auto;padding:15px 0}.notification-center .no-results{font-weight:600;padding:0 15px}.notification-center .notification{display:grid;grid-template-columns:3em 1fr auto;gap:15px;align-items:start;font-weight:600;min-height:5em;padding:0 15px;transition:all 200ms ease-in-out}.notification-center .notification--project-invitation{border-color:#00b3c9}.notification-center .notification__icon{border-radius:50%;display:flex;justify-content:center;align-items:center;height:3em;width:3em}.notification-center .notification__icon[data-type=invitation]{color:#fff}.notification-center .notification__actions{display:grid;grid-template-columns:auto auto}.notification-center .notification__actions .action,.notification-center .notification__actions .action--reject,.notification-center .notification__actions .action--accept{border:none}.notification-center .notification__actions .action--accept:hover{background:#00b3c9;color:#fff}.notification-center .notification__actions .action--reject:hover{background:#ff5b57;color:#fff}.notification-center .notification .cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/components/notification-center/notification-center.scss\",\"webpack://./src/resources/customized-styles/variables.scss\",\"webpack://./src/resources/color-admin/_variables.scss\"],\"names\":[],\"mappings\":\"AAMA,qBACC,YAAA,CACG,qBAAA,CACH,cAAA,CACA,YAAA,CACA,KAAA,CACA,eAAA,CACA,MAAA,CACA,sBAAA,CACA,sCCIY,CDHZ,SAAA,CACA,gCAAA,CAEA,+CACC,WAAA,CACA,WAAA,CAEA,oDACC,UAAA,CACA,MAAA,CACA,SAAA,CACA,sBAAA,CAIF,+CACC,WAAA,CACA,OAAA,CAEA,oDACC,WCkCyB,CDjCzB,MAAA,CACA,SAAA,CACA,sBAAA,CAIF,gDACC,wBAAA,CACA,OAAA,CAEA,qDACC,WCsByB,CDrBzB,sBAAA,CACA,MAAA,CACA,SAAA,CAcF,6BACC,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,QCpDO,CDqDP,cChCe,CDiCf,cAAA,CACA,UAAA,CAEA,gCACC,QAAA,CAIF,2BACC,qCAAA,CACA,YAAA,CACA,qBAAA,CACA,aAAA,CACA,iBAAA,CACA,4BAAA,CACA,eAAA,CAEA,kCACC,YAAA,CACA,qBAAA,CACA,aAAA,CACA,QC3EM,CD4EN,iBAAA,CACA,aAAA,CACA,cAAA,CAIF,iCACC,eAAA,CACA,cAAA,CAGD,mCACC,YAAA,CACA,kCAAA,CACG,QC1FI,CD2FP,iBAAA,CACA,eAAA,CACA,cAAA,CACA,cAAA,CACA,gCAAA,CAEA,uDACC,oBC7GM,CDgHP,yCACC,iBAAA,CACA,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,UAAA,CACA,SAAA,CAEA,+DAEC,UAAA,CAIF,4CACC,YAAA,CACA,+BAAA,CAEA,4KACC,WAAA,CAIC,kEACC,kBCxIG,CDyIH,UAAA,CAMD,kEACC,kBEvGQ,CFwGR,UAAA,CAMJ,yCACC,eAAA,CACA,sBAAA,CACA,kBAAA\",\"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, `.compound-values-input-group{max-width:700px;flex-grow:1;flex-wrap:nowrap}.compound-values-target-parameter-select{width:150px;flex-grow:1}.separator-container{width:120px;display:flex;align-items:center;gap:5px;margin-left:5px;margin-right:5px}.parameter-choice{width:145px}.command-row-container{display:flex;gap:20px}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/components/object/compound-values-tool/command-row/command-row.scss\"],\"names\":[],\"mappings\":\"AAAA,6BACC,eAAA,CACA,WAAA,CACA,gBAAA,CAGD,yCACC,WAAA,CACA,WAAA,CAGD,qBACC,WAAA,CACA,YAAA,CACA,kBAAA,CACA,OAAA,CACA,eAAA,CACA,gBAAA,CAGD,kBACC,WAAA,CAGD,uBACC,YAAA,CACA,QAAA\",\"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, `.compound-values{margin:30px 10px 10px;display:flex;flex-direction:column;gap:20px}.compound-values-settings-bar{display:flex;flex-direction:row;gap:20px;align-items:center}.compound-values-settings-bar-container{display:flex;flex-direction:column;gap:20px}.compound-values-preview-table{border-style:solid;border-width:1px;border-radius:10px;border-color:#d3d3d3}.compound-values-label{margin-bottom:5px}.compound-values-button-container{display:flex;gap:5px}.compound-tool-header-bar{display:flex;align-items:baseline;gap:20px;justify-content:space-between;margin-bottom:10px}.compound-command-row-with-delete{display:flex;flex-direction:row;gap:5px}command-row{display:flex;flex-grow:1;justify-content:flex-end}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/components/object/compound-values-tool/compound-values-tool.scss\"],\"names\":[],\"mappings\":\"AAIA,iBACC,qBAAA,CACA,YAAA,CACA,qBAAA,CACA,QAAA,CAGD,8BACC,YAAA,CACA,kBAAA,CACA,QAAA,CACA,kBAAA,CAGD,wCACC,YAAA,CACA,qBAAA,CACA,QAAA,CAGD,+BACC,kBAAA,CACA,gBAAA,CACA,kBAAA,CACA,oBAAA,CAGD,uBACC,iBAAA,CAGD,kCACC,YAAA,CACA,OAAA,CAGD,0BACC,YAAA,CACA,oBAAA,CACA,QAAA,CACA,6BAAA,CACA,kBAAA,CAGD,kCACC,YAAA,CACA,kBAAA,CACA,OAAA,CAGD,YACC,YAAA,CACA,WAAA,CACA,wBAAA\",\"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, `.export-grid-modal{width:500px}.export-grid{display:flex;flex-direction:column;overflow:hidden;position:relative;min-height:unset !important;width:100%}.export-grid-container{display:grid;gap:15px;padding:15px}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app/components/object/export-grid/export-grid.scss\",\"webpack://./src/resources/customized-styles/variables.scss\"],\"names\":[],\"mappings\":\"AAEA,mBACC,WAAA,CAGD,aACC,YAAA,CACA,qBAAA,CACA,eAAA,CACA,iBAAA,CACA,2BAAA,CACA,UAAA,CAEA,uBACC,YAAA,CACA,QCCO,CAAA,YAAA\",\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Module\nvar code = ` `;\n// Exports\nexport default code;","// Module\nvar code = ` `;\n// Exports\nexport default code;","// Module\nvar code = ` `;\n// Exports\nexport default code;","// Module\nvar code = ` `;\n// Exports\nexport default code;","import { ModalService } from './../../services/modal-service';\r\nimport { ApiClient } from './../../services/api-client';\r\nimport { EventAggregator, Subscription } from 'aurelia-event-aggregator';\r\nimport { autoinject } from 'aurelia-framework';\r\nimport { AppContextService } from 'app/services/app-context-service';\r\nimport { HttpResponseMessage } from 'aurelia-http-client';\r\nimport { OrgTokenService } from 'app/services/org-token-service';\r\nimport { ProjectInvitationDto } from 'app/models/project-invitation-dto';\r\n\r\n@autoinject\r\nexport class NotificationCenter {\r\n\tpublic searchTerm: string = \"\";\r\n\tpublic navCollapsed: boolean = false;\r\n\tpublic isOpen: boolean = false;\r\n\tpublic viewContext: string;\r\n\tprivate subscriptions: Subscription[] = [];\r\n\r\n\tconstructor(\r\n\t\tprivate events: EventAggregator, private appContext: AppContextService, \r\n\t\tprivate apiClient: ApiClient, private modal: ModalService,\r\n\t\tprivate orgTokenService: OrgTokenService\r\n\t) {\r\n\t\tthis.viewContext = \"NotificationCenter\";\r\n\t}\r\n\r\n\tattached() {\r\n\t\tconst notificationCenterHandler = () => this.toggleOpen();\r\n\t\tconst searchHandler = (data: any) => this.handleSearchEvent(data);\r\n\t\tthis.subscriptions = [\r\n\t\t\tthis.events.subscribe(this.viewContext + \":SearchTermChanged\", searchHandler),\r\n\t\t\tthis.events.subscribe(\"nav-collapsed\", (payload: any) => { this.navCollapsed = payload }),\r\n\t\t\tthis.events.subscribe(\"notification-center:toggle\", notificationCenterHandler),\r\n\t\t\tthis.events.subscribe('overlay:clicked', () => this.close())\r\n\t\t];\r\n\t}\r\n\r\n\tdetached() {\r\n\t\tthis.subscriptions.forEach(subscription => (\r\n\t\t\tsubscription.dispose()\r\n\t\t));\r\n\t}\r\n\r\n\r\n\tpublic async accept(id: string) {\r\n\t\tlet prjInv:ProjectInvitationDto = this.appContext.projectInvitations.find(e => e.id === id)!;\r\n\r\n\t\tlet response0: HttpResponseMessage = await this.apiClient.global.postJson('Project/AcceptInvitation', id).response();\r\n\t\tif (response0.statusCode != 200) { console.warn('response was NOT 200', response0.statusCode, response0); return; }\r\n\r\n\t\tlet userInfoState:UserInfoState = response0.content;\r\n\r\n\t\t//response.content is a UserInfoState.\r\n\t\tthis.appContext.projectInvitations.splice(this.appContext.projectInvitations.findIndex(e => e.id === id), 1);\r\n\t\tthis.events.publish(\"project-invitation-accepted\");\r\n\r\n\t\tlet prj_orgId:string = prjInv.invitedByOrganizationId;\r\n\t\t// we must have orgtoken for org we just got invited to: \t\t\r\n\t\t//await this.orgTokenService.updateOrgTokenIfNeeded(userInfoState.org_Id, this.apiClient); \r\n\t\tawait this.orgTokenService.updateOrgTokenIfNeeded( prj_orgId, this.apiClient); \r\n\r\n\t\t// todo: apiClient.orgById should SCREAM if current cached token doesn't match requested.\r\n\r\n\t\t//If everything goes well we insert the user into OrgDatabase.\t\t\r\n\t\t//let result2 = await this.apiClient.orgById(userInfoState.org_Id).postJson(\"UserInfo/AddUserToUserInfo\", userInfoState).response(); //response.content\r\n\t\tlet result2 = await this.apiClient.orgById(prj_orgId).postJson(\"UserInfo/AddUserToUserInfo\", userInfoState).response(); //response.content\r\n\t\tconsole.log(result2); // nb, doesnt really return much/true.\r\n\t}\r\n\r\n\tpublic reject(id: string) {\r\n\t\tthis.modal.OpenConfirm('Reject invitation', 'Are you sure you want to reject this invitation?').whenClosed(answer => {\r\n\t\t\tif (answer.wasCancelled) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\tthis.apiClient.global.postJson('Project/SetInvitationAsRejected', id).response().then(response => {\r\n\t\t\t\tthis.appContext.projectInvitations.splice(this.appContext.projectInvitations.findIndex(e => e.id === id), 1);\r\n\t\t\t\tthis.events.publish(\"project-invitation-rejected\");\r\n\t\t\t})\r\n\t\t});\r\n\t}\r\n\r\n\tpublic toggleOpen = () => {\r\n\t\tthis.isOpen = !this.isOpen;\r\n\t\tthis.events.publish(\"show-overlay\", !this.isOpen ? false : true);\r\n\t}\r\n\r\n\tprivate close() {\r\n\t\tthis.isOpen = false;\r\n\t\tthis.events.publish(\"show-overlay\", false);\r\n\t}\r\n\r\n\tprivate handleSearchEvent(data: string) {\r\n\t\tif (data !== undefined) {\r\n\t\t\tthis.searchTerm = data;\r\n\t\t} else {\r\n\t\t\tthis.close();\r\n\t\t}\r\n\t}\r\n}\r\n\r\n\r\nexport interface UserInfoState { // C:\\dev\\aoc\\AO.State.Model\\System\\UserInfoState.cs\r\n\tuser_Id:string; // { get; set; }\r\n\torg_Id:string; // { get; set; }\r\n\temail:string; // { get; set; }\r\n\tfullName:string; // { get; set; }\r\n\torgName:string; // { get; set; }\r\n\tlastUpdate:string; // { get; set; }\r\n}\r\n","import {bindable} from \"aurelia-framework\";\r\nimport {ValueFilter} from \"../../../../models/object-filter\";\r\n\r\nexport class CommandState {\r\n\tpublic parameterChoices: (ValueFilter | undefined)[] = [undefined, undefined];\r\n\tpublic separators: (string | undefined)[] = [\"\"];\t\t// Must be parameterChoices.Length - 1 long\r\n\tpublic targetParameter: ValueFilter | undefined;\r\n\t\r\n\tisValid() : boolean {\r\n\t\tif (!this.areParametersValid())\r\n\t\t\treturn false;\r\n\t\t\r\n\t\tif (!this.isTargetParameterValid()) \r\n\t\t\treturn false;\r\n\t\t\r\n\t\treturn true;\r\n\t}\r\n\r\n\tprivate isTargetParameterValid() {\r\n\t\treturn this.targetParameter !== undefined && this.targetParameter !== null;\r\n\t}\r\n\r\n\tprivate areParametersValid() {\r\n\t\tthis.parameterChoices = [...this.parameterChoices];\t\t// To update the view...\r\n\t\treturn this.parameterChoices.every(value => value !== undefined);\r\n\t}\r\n}\r\n\r\n/**\r\n * Component that represents a command that will create a compound value transformation.\r\n */\r\nexport class CommandRow {\r\n\t@bindable public sourceParameters: ValueFilter[] = [];\r\n\t@bindable public targetParameters: ValueFilter[] = [];\r\n\t@bindable public state: CommandState;\r\n\t@bindable public showRowErrors: boolean = false;\r\n\t\r\n\tpublic maxParameters: 3 = 3;\r\n\tpublic minParameters: 1 = 1;\r\n\t\r\n\tconstructor() {\r\n\t\tthis.state = new CommandState();\r\n\t}\r\n\t\r\n\tpublic AddParameterChoice() {\r\n\t\tif (this.state.parameterChoices.length < 3) {\r\n\t\t\tthis.state.parameterChoices.push(undefined);\r\n\t\t\tthis.state.separators.push(\"\");\r\n\t\t}\r\n\t}\r\n\t\r\n\tpublic RemoveParameterChoice() {\r\n\t\tif (this.state.parameterChoices.length > 1) {\r\n\t\t\tthis.state.parameterChoices.pop();\r\n\t\t\tthis.state.separators.pop();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic stateChanged() {\r\n\t\tconsole.log(\"stateChanged\")\r\n\t}\r\n}\r\n","import {ApiClient} from 'app/services/api-client';\r\nimport {AppContextService} from 'app/services/app-context-service';\r\nimport {DialogController} from 'aurelia-dialog';\r\nimport {autoinject} from 'aurelia-framework';\r\nimport {ObjectFilterService} from \"../../../services/object-services/object-filter-service\";\r\nimport {ValueFilter} from \"../../../models/object-filter\";\r\nimport {AocObjectFilterService} from \"../../../services/object-services/aoc-object-filter-service\";\r\nimport {CommandState} from \"./command-row/command-row\";\r\nimport {EventAggregator} from \"aurelia-event-aggregator\";\r\n\r\ninterface CompoundValuesSettings {\r\n\tcommands: CommandSettings[];\r\n}\r\n\r\nclass CommandSettings {\r\n\tpublic parameterIds: string[] = [];\r\n\tpublic separators: string[] = [];\r\n\tpublic targetParameterId: string | undefined;\r\n}\r\n\r\n@autoinject\r\nexport class CompoundValuesTool {\r\n\r\n\tpublic objectFilterService: ObjectFilterService | undefined;\r\n\r\n\tpublic sourceParameters: ValueFilter[] = [];\r\n\tpublic targetParameters: ValueFilter[] = [];\r\n\tpublic previewRows: PreviewRow[] = [];\r\n\tpublic commandStates: CommandState[] = [new CommandState()];\r\n\tprivate showErrors: boolean = false;\r\n\t\r\n\tconstructor(\r\n\t\tprotected dialog: DialogController, \r\n\t\tprivate api: ApiClient,\r\n\t\tprivate ctx: AppContextService,\r\n\t\tprivate events: EventAggregator\r\n\t) {\r\n\t\tconsole.log('AutoIDs ctor');\r\n\t}\r\n\r\n\tasync activate(): Promise {\r\n\t\tthis.objectFilterService = new AocObjectFilterService(this.api, this.ctx.projectId);\r\n\t\tawait this.loadFilters();\r\n\r\n\t\tconst commands = await this.loadSettings();\r\n\t\tthis.commandStates = commands.length > 0 ? commands : [new CommandState()];\t\t// If none add an empty command\r\n\t}\r\n\r\n\tprivate async loadFilters() {\r\n\t\tconst allTypeFilters = await this.getAllTypeFilters();\r\n\r\n\t\tlet writeableFilters = allTypeFilters.filter(value => !value.readOnly);\r\n\t\tlet writeableNonClassificationFilters = writeableFilters.filter(value => !value.hasClassification);\r\n\r\n\t\tthis.sourceParameters = writeableFilters;\r\n\t\tthis.targetParameters = writeableNonClassificationFilters;\r\n\t}\r\n\r\n\tprivate async getAllTypeFilters() : Promise {\r\n\t\tif (this.objectFilterService == null) {\r\n\t\t\treturn [];\r\n\t\t}\r\n\t\tconst valueFilters = await this.objectFilterService.getAvailableFilters([]);\r\n\t\t\r\n\t\tlet onlyTypeParameters = valueFilters.filter(value => value.targetType === 'typeParameter');\r\n\t\t\r\n\t\treturn onlyTypeParameters;\r\n\t}\r\n\t\r\n\tasync update() {\r\n\t\t\r\n\t\tconst ok = this.validateInput();\r\n\t\t\r\n\t\tconst showErrors: boolean = !ok;\r\n\t\tthis.indicateInputErrors(showErrors);\r\n\t\t\r\n\t\tif (!ok) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tconst settings: CompoundValuesSettings = this.getLocalSettings();\r\n\r\n\t\tthis.events.publish('is-loading', true);\r\n\t\tawait this.api.project(this.ctx.projectId)\r\n\t\t\t.postJson('CompoundValues/CreateCompoundValues', settings)\r\n\t\t\t.handleErrorMsgUsingReason(\"Could not create compound values\", \"An error has occured during the creation of the compound values.\")\r\n\t\t\t.response();\r\n\t\tthis.events.publish('is-loading', false);\r\n\t\tconsole.debug(\"Compound values have been generated using these settings: \", settings);\r\n\t\t\r\n\t\tawait this.saveSettings(settings);\r\n\t\tconsole.debug(\"Compound value settings have been saved\");\r\n\t\t\r\n\t\tawait this.dialog.ok();\r\n\t}\r\n\t\r\n\tasync createPreview(): Promise {\r\n\t\tconst settings = this.getLocalSettings();\r\n\t\t\r\n\t\tthis.previewRows = await this.api.project(this.ctx.projectId)\r\n\t\t\t.postJson('CompoundValues/GeneratePreview', settings)\r\n\t\t\t.handleErrorMsgUsingReason(\"Could not generate serial numbers\", \"An error has occured during the creation of the serial numbers.\")\r\n\t\t\t.objectResult();\r\n\t}\r\n\t\r\n\tprivate getLocalSettings() : CompoundValuesSettings {\r\n\t\t\r\n\t\tconst commandSettings: CommandSettings[] = this.commandStates.map(command => {\r\n\r\n\t\t\tconst commandSetting: CommandSettings = {\r\n\t\t\t\tparameterIds: command.parameterChoices\r\n\t\t\t\t\t.filter(param => param != undefined)\r\n\t\t\t\t\t.map(param => param?.targetId),\r\n\t\t\t\tseparators: command.separators.map(value => value),\r\n\r\n\t\t\t\ttargetParameterId: command.targetParameter?.targetId\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\treturn commandSetting;\r\n\t\t});\r\n\t\t\r\n\t\treturn {\r\n\t\t\tcommands: commandSettings\r\n\t\t};\r\n\t}\r\n\r\n\tprivate async loadSettings(): Promise {\r\n\r\n\t\tlet settings: CompoundValuesSettings = await this.api.project(this.ctx.projectId)\r\n\t\t\t.get('CompoundValues/GetSettings')\r\n\t\t\t.handleErrorMsgUsingReason(\"Could not load compound values settings\", \"An error has occured during the retrieval of the compound values settings.\")\r\n\t\t\t.objectResult();\r\n\t\t\r\n\t\tif (settings.commands === undefined) {\r\n\t\t\treturn [new CommandState()];\r\n\t\t}\r\n\t\t\r\n\t\tlet commandStates: CommandState[] = settings.commands.map(commandSettings => {\r\n\t\t\tconst commandState = new CommandState();\r\n\t\t\t\r\n\t\t\tcommandState.separators = commandSettings.separators;\r\n\t\t\tcommandState.targetParameter = this.sourceParameters.find(param => param.targetId === commandSettings.targetParameterId);\r\n\t\t\tcommandState.parameterChoices = commandSettings.parameterIds\r\n\t\t\t\t.map(paramId => \r\n\t\t\t\t\tthis.sourceParameters.find(param => param.targetId === paramId)\r\n\t\t\t\t);\r\n\t\t\t\r\n\t\t\treturn commandState;\r\n\t\t});\r\n\t\t\r\n\t\treturn commandStates; \r\n\t}\r\n\r\n\tprivate async saveSettings(settings: CompoundValuesSettings) {\r\n\r\n\t\tawait this.api.project(this.ctx.projectId)\r\n\t\t\t.postJson('CompoundValues/SaveSettings', settings)\r\n\t\t\t.handleErrorMsgUsingReason(\"Could not save compound values settings\", \"An error has occured during the saving of the compound values settings.\")\r\n\t\t\t.noResponse();\r\n\t}\r\n\r\n\tprivate validateInput() : boolean {\r\n\t\treturn this.commandStates.every(value => value.isValid())\r\n\t}\r\n\r\n\tprivate indicateInputErrors(value: boolean) {\r\n\t\tthis.showErrors = value;\r\n\t}\r\n\r\n\tprivate addCommand() {\r\n\t\tthis.commandStates.push(new CommandState());\r\n\t}\r\n\r\n\tprivate removeCommand(index: number) {\r\n\t\tthis.commandStates.splice(index, 1);\r\n\t}\r\n}\r\n\r\ninterface PreviewRow {\r\n\ttargetParameterValue: string;\r\n\tserialNumberValue: string;\r\n}\r\n","import { DialogController } from 'aurelia-dialog';\r\nimport { autoinject } from 'aurelia-framework';\r\n\r\n@autoinject\r\nexport class ExportGrid {\t\r\n\tincludeTypes: boolean = false;\r\n\tincludeInstances: boolean = false;\r\n\r\n\tconstructor (protected dialog: DialogController) {\r\n\r\n\t}\r\n\r\n\tok() {\r\n\t\tthis.dialog.ok({\r\n\t\t\tincludeTypes: this.includeTypes,\r\n\t\t\tincludeInstances: this.includeInstances\r\n\t\t});\r\n\t}\r\n\r\n\tcancel() {\r\n\t\tthis.dialog.cancel();\r\n\t}\r\n}\r\n"],"names":["___CSS_LOADER_EXPORT___","push","module","id","NotificationCenter","constructor","events","appContext","apiClient","modal","orgTokenService","searchTerm","navCollapsed","isOpen","subscriptions","toggleOpen","this","publish","viewContext","attached","subscribe","data","handleSearchEvent","payload","close","detached","forEach","subscription","dispose","accept","prjInv","projectInvitations","find","e","response0","global","postJson","response","statusCode","console","warn","userInfoState","content","splice","findIndex","prj_orgId","invitedByOrganizationId","updateOrgTokenIfNeeded","result2","orgById","log","reject","OpenConfirm","whenClosed","answer","wasCancelled","then","undefined","autoinject","EventAggregator","CommandState","parameterChoices","separators","isValid","areParametersValid","isTargetParameterValid","targetParameter","every","value","CommandRow","sourceParameters","targetParameters","showRowErrors","maxParameters","minParameters","state","AddParameterChoice","length","RemoveParameterChoice","pop","stateChanged","bindable","CompoundValuesTool","dialog","api","ctx","previewRows","commandStates","showErrors","activate","objectFilterService","projectId","loadFilters","commands","loadSettings","writeableFilters","getAllTypeFilters","filter","readOnly","writeableNonClassificationFilters","hasClassification","getAvailableFilters","targetType","update","ok","validateInput","indicateInputErrors","settings","getLocalSettings","project","handleErrorMsgUsingReason","debug","saveSettings","createPreview","objectResult","map","command","parameterIds","param","targetId","targetParameterId","get","commandSettings","commandState","paramId","noResponse","addCommand","removeCommand","index","DialogController","ExportGrid","includeTypes","includeInstances","cancel"],"sourceRoot":""}