1import { MatAutocomplete, MatAutocompleteModule, MatAutocompleteTrigger } from "./chunk-F3ZV7P67.js"; 2import { EmployeeNamePipe } from "./chunk-FUNK3GHJ.js"; 3import { EhrAvatarComponent } from "./chunk-MRAVJSW3.js"; 4import { MatOption, MatOptionModule } from "./chunk-2SDCWOQR.js"; 5import { MatIcon, MatIconModule } from "./chunk-BFO5WUGI.js"; 6import { MatError, MatFormField, MatFormFieldModule, MatInput, MatInputModule, MatLabel, NG_VALIDATORS, NG_VALUE_ACCESSOR, ReactiveFormsModule } from "./chunk-CULTIHLT.js"; 7import { CommonModule } from "./chunk-HE5ARQDU.js"; 8import { Component, Input, NgModule, ViewChild, ViewEncapsulation, forwardRef, setClassMetadata, ɵsetClassDebugInfo, ɵɵNgOnChangesFeature, ɵɵProvidersFeature, ɵɵadvance, ɵɵclassProp, ɵɵconditional, ɵɵconditionalCreate, ɵɵdefineComponent, ɵɵdefineInjector, ɵɵdefineNgModule, ɵɵelementContainerEnd, ɵɵelementContainerStart, ɵɵelementEnd, ɵɵelementStart, ɵɵgetCurrentView, ɵɵi18n, ɵɵlistener, ɵɵloadQuery, ɵɵnextContext, ɵɵproperty, ɵɵqueryRefresh, ɵɵreference, ɵɵrepeater, ɵɵrepeaterCreate, ɵɵresetView, ɵɵrestoreView, ɵɵtext, ɵɵtextInterpolate1, ɵɵviewQuery } from "./chunk-ZGC4HH7K.js"; 9
10// src/app/_secure/_shared/ehr-owner-input/ehr-owner-input.component.ts 11var _forTrack0 = ($index, $item) => $item.id; 12function EhrOwnerInputComponent_Conditional_6_Template(rf, ctx) { 13 if (rf & 1) { 14 ɵɵelementStart(0, "mat-option", 7); 15 ɵɵi18n(1, 1); 16 ɵɵelementEnd(); 17 } 18 if (rf & 2) { 19 ɵɵproperty("disabled", true); 20 } 21} 22function EhrOwnerInputComponent_For_8_Template(rf, ctx) { 23 if (rf & 1) { 24 ɵɵelementStart(0, "mat-option", 8)(1, "div", 9)(2, "span"); 25 ɵɵtext(3); 26 ɵɵelementEnd()()(); 27 } 28 if (rf & 2) { 29 const option_r1 = ctx.$implicit; 30 const ctx_r1 = ɵɵnextContext(); 31 ɵɵproperty("value", option_r1.id); 32 ɵɵadvance(3); 33 ɵɵtextInterpolate1(" ", ctx_r1.getEmployeeOptionLabel(option_r1), " "); 34 } 35} 36function EhrOwnerInputComponent_Conditional_9_Template(rf, ctx) { 37 if (rf & 1) { 38 const _r3 = ɵɵgetCurrentView(); 39 ɵɵelementStart(0, "div", 10)(1, "span"); 40 ɵɵtext(2); 41 ɵɵelementEnd()(); 42 ɵɵelementStart(3, "mat-icon", 11); 43 ɵɵlistener("click", function EhrOwnerInputComponent_Conditional_9_Template_mat_icon_click_3_listener() { 44 ɵɵrestoreView(_r3); 45 const ctx_r1 = ɵɵnextContext(); 46 return ɵɵresetView(ctx_r1.onClear()); 47 }); 48 ɵɵtext(4, " close "); 49 ɵɵelementEnd(); 50 } 51 if (rf & 2) { 52 const ctx_r1 = ɵɵnextContext(); 53 ɵɵadvance(2); 54 ɵɵtextInterpolate1(" ", ctx_r1.getEmployeeOptionLabel(ctx_r1.owner), " "); 55 ɵɵadvance(); 56 ɵɵproperty("inline", true); 57 } 58} 59function EhrOwnerInputComponent_Conditional_10_Template(rf, ctx) { 60 if (rf & 1) { 61 ɵɵelementStart(0, "mat-error"); 62 ɵɵtext(1); 63 ɵɵelementContainerStart(2); 64 ɵɵi18n(3, 2); 65 ɵɵelementContainerEnd(); 66 ɵɵelementEnd(); 67 } 68 if (rf & 2) { 69 const ctx_r1 = ɵɵnextContext(); 70 ɵɵadvance(); 71 ɵɵtextInterpolate1(" ", ctx_r1.label, " "); 72 } 73} 74function EhrOwnerInputComponent_Conditional_11_Template(rf, ctx) { 75 if (rf & 1) { 76 ɵɵelementStart(0, "mat-error"); 77 ɵɵi18n(1, 3); 78 ɵɵelementEnd(); 79 } 80} 81var EhrOwnerInputComponent = class _EhrOwnerInputComponent { 82 constructor() { 83 this.ownerOptions = []; 84 this.allEmployees = []; 85 this.hideRequiredMarker = true; 86 this.controlName = "ownerId"; 87 this.hasError = false; 88 this.filteredOptions = []; 89 this.value = null; 90 this.displayValue = ""; 91 this.isDisabled = false; 92 this.inputFocused = false; 93 this.owner = null; 94 this.propagateChange = () => {}; 95 this.propagateTouched = () => {}; 96 this.validatorChange = () => {}; 97 this.displayEmployeeName = employeeId => { 98 const employee = this.getEmployee(employeeId ?? void 0); 99 return employee ? this.getEmployeeOptionLabel(employee) : ""; 100 }; 101 } 102 ngOnInit() { 103 this.ownerOptions = this.ownerOptions || []; 104 this.allEmployees = this.allEmployees || []; 105 } 106 ngOnChanges(changes) { 107 const hasListChange = changes["ownerOptions"] || changes["allEmployees"]; 108 const controlChanged = changes["control"]; 109 const currentValue = this.control?.value ?? this.value; 110 if (controlChanged?.currentValue?.value) { 111 this.setSelectedOwnerById(controlChanged.currentValue.value, false); 112 } 113 if (hasListChange && currentValue) { 114 this.setSelectedOwnerById(currentValue, false); 115 } 116 if (hasListChange && this.displayValue && !this.owner) { 117 this.filteredOptions = this.filterOptionsByText(this.displayValue); 118 } 119 this.validatorChange(); 120 } 121 writeValue(value) { 122 if (value) { 123 this.setSelectedOwnerById(value, false); 124 return; 125 } 126 this.clearLocalState(false); 127 } 128 registerOnChange(fn) { 129 this.propagateChange = fn; 130 } 131 registerOnTouched(fn) { 132 this.propagateTouched = fn; 133 } 134 registerOnValidatorChange(fn) { 135 this.validatorChange = fn; 136 } 137 setDisabledState(isDisabled) { 138 this.isDisabled = isDisabled; 139 } 140 validate(control) { 141 const controlValue = control?.value ?? this.value; 142 if (this.hasInvalidTypedInput) { 143 return { 144 invalidOwner: true 145 }; 146 } 147 if (controlValue && this.canValidateSelectedValue() && !this.getOwner(controlValue)) { 148 return { 149 invalidOwner: true 150 }; 151 } 152 return null; 153 } 154 get inputDisabled() { 155 return this.isDisabled || (this.ownerOptions?.length ?? 0) === 0; 156 } 157 get showValidationState() { 158 return !!(this.form?.submitted || this.control?.touched); 159 } 160 get hasPendingSearchInput() { 161 return this.inputFocused && this.displayValue.trim().length > 0 && !this.owner && this.filteredOptions.length > 0; 162 } 163 get hasInvalidTypedInput() { 164 return this.displayValue.trim().length > 0 && !this.owner && !this.value && !this.hasPendingSearchInput; 165 } 166 get hasInputError() { 167 if (!this.showValidationState) { 168 return false;
169 } 170 return !!(this.hasError || this.hasInvalidTypedInput || this.control?.hasError("required") || this.control?.hasError("invalidOwner")); 171 } 172 get showRequiredError() { 173 return !!(this.showValidationState && !this.inputDisabled && !this.hasInvalidTypedInput && this.control?.hasError("required")); 174 } 175 get showInvalidOwnerError() { 176 return !!(this.showValidationState && !this.inputDisabled && this.hasInvalidTypedInput); 177 } 178 onFocus() { 179 this.inputFocused = true; 180 } 181 get showNotFound() { 182 return !!(!this.inputDisabled && this.displayValue && !this.owner && this.filteredOptions.length === 0); 183 } 184 onInputChange(event) { 185 const inputValue = event.target.value; 186 this.displayValue = inputValue; 187 this.value = null; 188 this.owner = null; 189 this.filteredOptions = this.filterOptionsByText(inputValue); 190 this.propagateChange(null); 191 this.validatorChange(); 192 } 193 onFocusOut() { 194 window.setTimeout(() => { 195 this.inputFocused = false; 196 if (this.autocompleteTrigger?.panelOpen) { 197 return; 198 } 199 if (!this.owner && this.displayValue.trim().length > 0) { 200 this.clearLocalState(true); 201 } 202 this.propagateTouched(); 203 this.validatorChange(); 204 }, 150); 205 } 206 onOwnerSelected(event) { 207 const selectedId = event.option.value; 208 this.inputFocused = false; 209 this.setSelectedOwnerById(selectedId, true); 210 window.setTimeout(() => { 211 this.autocompleteTrigger?.closePanel(); 212 }); 213 } 214 onClear() { 215 this.clearLocalState(true); 216 } 217 getEmployee(employeeId) { 218 if (!employeeId) { 219 return void 0; 220 } 221 return this.getOwner(employeeId); 222 } 223 getEmployeeName(employeeId) { 224 if (!employeeId) { 225 return ""; 226 } 227 const employee = this.getOwner(employeeId); 228 if (!employee) { 229 return ""; 230 } 231 return this.buildEmployeeDisplayName(employee); 232 } 233 getEmployeeOptionLabel(employee) { 234 const displayName = this.buildEmployeeDisplayName(employee); 235 if (!this.hasDuplicateDisplayName(employee)) { 236 return displayName; 237 } 238 const disambiguator = employee.email?.trim() || employee.employeeNumber?.trim(); 239 return disambiguator ? `${displayName} \xB7 ${disambiguator}` : displayName; 240 } 241 setSelectedOwnerById(employeeId, emitChange) { 242 const owner = this.getOwner(employeeId); 243 this.value = employeeId; 244 this.owner = owner ?? null; 245 this.displayValue = owner ? this.getEmployeeOptionLabel(owner) : ""; 246 this.filteredOptions = owner ? [owner] : []; 247 if (emitChange) { 248 this.propagateChange(owner ? employeeId : null); 249 this.propagateTouched(); 250 } 251 this.validatorChange(); 252 this.autocompleteTrigger?.closePanel(); 253 } 254 clearLocalState(emitChange) { 255 this.value = null; 256 this.owner = null; 257 this.displayValue = ""; 258 this.filteredOptions = []; 259 if (emitChange) { 260 this.propagateChange(null); 261 this.propagateTouched(); 262 } 263 this.validatorChange(); 264 } 265 filterOptionsByText(value) { 266 if (!value) { 267 return []; 268 } 269 const filterValue = value.toLowerCase(); 270 return (this.ownerOptions ?? []).filter(option => { 271 const firstName = option.firstName?.toLowerCase() ?? ""; 272 const middleName = option.middleName?.toLowerCase() ?? ""; 273 const lastName = option.lastName?.toLowerCase() ?? ""; 274 const displayName = this.buildEmployeeDisplayName(option).toLowerCase(); 275 return firstName.includes(filterValue) || middleName.includes(filterValue) || lastName.includes(filterValue) || displayName.includes(filterValue); 276 }); 277 } 278 getOwner(employeeId) { 279 return (this.allEmployees ?? []).find(employee => employee.id === employeeId) ?? (this.ownerOptions ?? []).find(employee => employee.id === employeeId); 280 } 281 buildEmployeeDisplayName(employee) { 282 return [employee.firstName, employee.middleName, employee.lastName].filter(Boolean).join(" ").trim(); 283 } 284 hasDuplicateDisplayName(employee) { 285 const displayName = this.buildEmployeeDisplayName(employee).toLocaleLowerCase(); 286 return (this.ownerOptions ?? []).some(option => option.id !== employee.id && this.buildEmployeeDisplayName(option).toLocaleLowerCase() === displayName); 287 } 288 canValidateSelectedValue() { 289 return (this.allEmployees?.length ?? 0) > 0 || (this.ownerOptions?.length ?? 0) > 0; 290 } 291 static { 292 this.ɵfac = function EhrOwnerInputComponent_Factory(__ngFactoryType__) { 293 return new (__ngFactoryType__ || _EhrOwnerInputComponent)(); 294 }; 295 } 296 static { 297 this.ɵcmp = /* @__PURE__ */ɵɵdefineComponent({ 298 type: _EhrOwnerInputComponent, 299 selectors: [["ehr-owner-input"]], 300 viewQuery: function EhrOwnerInputComponent_Query(rf, ctx) { 301 if (rf & 1) { 302 ɵɵviewQuery(MatAutocompleteTrigger, 5); 303 } 304 if (rf & 2) { 305 let _t; 306 ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.autocompleteTrigger = _t.first); 307 } 308 }, 309 inputs: { 310 form: "form", 311 control: "control", 312 ownerOptions: "ownerOptions", 313 allEmployees: "allEmployees", 314 hideRequiredMarker: "hideRequiredMarker", 315 controlName: "controlName", 316 label: "label", 317 placeholder: "placeholder", 318 hasError: "hasError" 319 }, 320 standalone: false, 321 features: [ɵɵProvidersFeature([{ 322 provide: NG_VALUE_ACCESSOR, 323 useExisting: forwardRef(() => _EhrOwnerInputComponent), 324 multi: true 325 }, { 326 provide: NG_VALIDATORS, 327 useExisting: forwardRef(() => _EhrOwnerInputComponent), 328 multi: true 329 }]), ɵɵNgOnChangesFeature], 330 decls: 12, 331 vars: 18, 332 consts: () => { 333 let i18n_0; 334 if (false) { 335 const MSG_EXTERNAL_not_found$$SRC_APP__SECURE__SHARED_EHR_OWNER_INPUT_EHR_OWNER_INPUT_COMPONENT_TS_0 = goog.getMsg(" Not found "); 336 i18n_0 = MSG_EXTERNAL_not_found$$SRC_APP__SECURE__SHARED_EHR_OWNER_INPUT_EHR_OWNER_INPUT_COMPONENT_TS_0; 337 } else { 338 i18n_0 = "Niet gevonden"; 339 } 340 let i18n_1; 341 if (false) { 342 const MSG_EXTERNAL_is_required$$SRC_APP__SECURE__SHARED_EHR_OWNER_INPUT_EHR_OWNER_INPUT_COMPONENT_TS_1 = goog.getMsg(" is required "); 343 i18n_1 = MSG_EXTERNAL_is_required$$SRC_APP__SECURE__SHARED_EHR_OWNER_INPUT_EHR_OWNER_INPUT_COMPONENT_TS_1; 344 } else { 345 i18n_1 = "is vereist"; 346 } 347 let i18n_2; 348 if (false) {
349 const MSG_EXTERNAL_select_valid_employee$$SRC_APP__SECURE__SHARED_EHR_OWNER_INPUT_EHR_OWNER_INPUT_COMPONENT_TS_2 = goog.getMsg(" Select a valid employee "); 350 i18n_2 = MSG_EXTERNAL_select_valid_employee$$SRC_APP__SECURE__SHARED_EHR_OWNER_INPUT_EHR_OWNER_INPUT_COMPONENT_TS_2; 351 } else { 352 i18n_2 = " Selecteer een geldige medewerker "; 353 } 354 return [["auto", "matAutocomplete"], i18n_0, i18n_1, i18n_2, ["appearance", "outline", "floatLabel", "always", 1, "ehr-input", "ehr-form-field", "ehr-owner-input-field", 3, "hideRequiredMarker"], ["matInput", "", "autocomplete", "off", 3, "focus", "input", "focusout", "value", "disabled", "required", "placeholder", "matAutocomplete"], [1, "ehr-owner-input", 3, "optionSelected", "displayWith"], [3, "disabled"], [3, "value"], [1, "flex-row-start-center", "flex-row-gap-16px"], [1, "ehr-autocomplete-avatar"], [1, "ehr-x-icon", 3, "click", "inline"]]; 355 }, 356 template: function EhrOwnerInputComponent_Template(rf, ctx) { 357 if (rf & 1) { 358 ɵɵelementStart(0, "mat-form-field", 4)(1, "mat-label"); 359 ɵɵtext(2); 360 ɵɵelementEnd(); 361 ɵɵelementStart(3, "input", 5); 362 ɵɵlistener("focus", function EhrOwnerInputComponent_Template_input_focus_3_listener() { 363 return ctx.onFocus(); 364 })("input", function EhrOwnerInputComponent_Template_input_input_3_listener($event) { 365 return ctx.onInputChange($event); 366 })("focusout", function EhrOwnerInputComponent_Template_input_focusout_3_listener() { 367 return ctx.onFocusOut(); 368 }); 369 ɵɵelementEnd(); 370 ɵɵelementStart(4, "mat-autocomplete", 6, 0); 371 ɵɵlistener("optionSelected", function EhrOwnerInputComponent_Template_mat_autocomplete_optionSelected_4_listener($event) { 372 return ctx.onOwnerSelected($event); 373 }); 374 ɵɵconditionalCreate(6, EhrOwnerInputComponent_Conditional_6_Template, 2, 1, "mat-option", 7); 375 ɵɵrepeaterCreate(7, EhrOwnerInputComponent_For_8_Template, 4, 2, "mat-option", 8, _forTrack0); 376 ɵɵelementEnd(); 377 ɵɵconditionalCreate(9, EhrOwnerInputComponent_Conditional_9_Template, 5, 2); 378 ɵɵconditionalCreate(10, EhrOwnerInputComponent_Conditional_10_Template, 4, 1, "mat-error"); 379 ɵɵconditionalCreate(11, EhrOwnerInputComponent_Conditional_11_Template, 2, 0, "mat-error"); 380 ɵɵelementEnd(); 381 } 382 if (rf & 2) { 383 const auto_r4 = ɵɵreference(5); 384 ɵɵclassProp("disabled", ctx.inputDisabled)("ehr-invalid-input", ctx.hasInputError); 385 ɵɵproperty("hideRequiredMarker", ctx.hideRequiredMarker); 386 ɵɵadvance(2); 387 ɵɵtextInterpolate1(" ", ctx.label, " "); 388 ɵɵadvance(); 389 ɵɵclassProp("ehr-error-color", ctx.hasInputError); 390 ɵɵproperty("value", ctx.displayValue)("disabled", ctx.inputDisabled)("required", !ctx.hideRequiredMarker)("placeholder", ctx.placeholder)("matAutocomplete", auto_r4); 391 ɵɵadvance(); 392 ɵɵproperty("displayWith", ctx.displayEmployeeName); 393 ɵɵadvance(2); 394 ɵɵconditional(ctx.showNotFound ? 6 : -1); 395 ɵɵadvance(); 396 ɵɵrepeater(ctx.filteredOptions); 397 ɵɵadvance(2); 398 ɵɵconditional(ctx.owner ? 9 : -1); 399 ɵɵadvance(); 400 ɵɵconditional(ctx.showRequiredError && !ctx.showInvalidOwnerError ? 10 : -1); 401 ɵɵadvance(); 402 ɵɵconditional(ctx.showInvalidOwnerError ? 11 : -1); 403 } 404 }, 405 dependencies: [MatAutocomplete, MatOption, MatAutocompleteTrigger, MatFormField, MatLabel, MatError, MatIcon, MatInput], 406 styles: ["/* src/app/_secure/_shared/ehr-owner-input/ehr-owner-input.component.scss */\n.ehr-error-color {\n font-size: 0.75rem;\n margin-top: -0.5rem;\n}\n/*# sourceMappingURL=ehr-owner-input.component.css.map */\n"], 407 encapsulation: 2 408 }); 409 } 410}; 411(() => { 412 (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(EhrOwnerInputComponent, [{ 413 type: Component, 414 args: [{ 415 selector: "ehr-owner-input", 416 encapsulation: ViewEncapsulation.None, 417 providers: [{ 418 provide: NG_VALUE_ACCESSOR, 419 useExisting: forwardRef(() => EhrOwnerInputComponent), 420 multi: true 421 }, { 422 provide: NG_VALIDATORS, 423 useExisting: forwardRef(() => EhrOwnerInputComponent), 424 multi: true 425 }], 426 standalone: false, 427 template: '<mat-form-field appearance="outline"\r\n class="ehr-input ehr-form-field ehr-owner-input-field"\r\n floatLabel="always"\r\n [hideRequiredMarker]="hideRequiredMarker"\r\n [class.disabled]="inputDisabled"\r\n [class.ehr-invalid-input]="hasInputError">\r\n <mat-label>\r\n {{ label }}\r\n </mat-label>\r\n\r\n <input matInput\r\n autocomplete="off"\r\n [value]="displayValue"\r\n [class.ehr-error-color]="hasInputError"\r\n [disabled]="inputDisabled"\r\n [required]="!hideRequiredMarker"\r\n [placeholder]="placeholder"\r\n (focus)="onFocus()"\r\n (input)="onInputChange($event)"\r\n (focusout)="onFocusOut()"\r\n [matAutocomplete]="auto">\r\n\r\n <mat-autocomplete [displayWith]="displayEmployeeName"\r\n #auto="matAutocomplete"\r\n class="ehr-owner-input"\r\n (optionSelected)="onOwnerSelected($event)">\r\n\r\n @if (showNotFound) {\r\n <mat-option [disabled]="true"\r\n i18n="@@not-found">\r\n Not found\r\n </mat-option>\r\n }\r\n\r\n @for (option of filteredOptions; track option.id) {\r\n <mat-option [value]="option.id">\r\n <div class="flex-row-start-center flex-row-gap-16px">
427\r\n <span>\r\n {{ getEmployeeOptionLabel(option) }}\r\n </span>\r\n </div>\r\n </mat-option>\r\n }\r\n </mat-autocomplete>\r\n\r\n @if (owner) {\r\n <div class="ehr-autocomplete-avatar">\r\n <span>\r\n {{ getEmployeeOptionLabel(owner) }}\r\n </span>\r\n </div>\r\n\r\n <mat-icon (click)="onClear()"\r\n [inline]="true"\r\n class="ehr-x-icon">\r\n close\r\n </mat-icon>\r\n }\r\n\r\n @if (showRequiredError && !showInvalidOwnerError) {\r\n <mat-error>\r\n {{ label }}\r\n\r\n <ng-container i18n="@@is-required">\r\n is required\r\n </ng-container>\r\n </mat-error>\r\n }\r\n\r\n @if (showInvalidOwnerError) {\r\n <mat-error i18n="@@select-valid-employee">\r\n Select a valid employee\r\n </mat-error>\r\n }\r\n</mat-form-field>\r\n', 428 styles: ["/* src/app/_secure/_shared/ehr-owner-input/ehr-owner-input.component.scss */\n.ehr-error-color {\n font-size: 0.75rem;\n margin-top: -0.5rem;\n}\n/*# sourceMappingURL=ehr-owner-input.component.css.map */\n"] 429 }] 430 }], null, { 431 autocompleteTrigger: [{ 432 type: ViewChild, 433 args: [MatAutocompleteTrigger] 434 }], 435 form: [{ 436 type: Input 437 }], 438 control: [{ 439 type: Input 440 }], 441 ownerOptions: [{ 442 type: Input 443 }], 444 allEmployees: [{ 445 type: Input 446 }], 447 hideRequiredMarker: [{ 448 type: Input 449 }], 450 controlName: [{ 451 type: Input 452 }], 453 label: [{ 454 type: Input 455 }], 456 placeholder: [{ 457 type: Input 458 }], 459 hasError: [{ 460 type: Input 461 }] 462 }); 463})(); 464(() => { 465 (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassDebugInfo(EhrOwnerInputComponent, { 466 className: "EhrOwnerInputComponent", 467 filePath: "src/app/_secure/_shared/ehr-owner-input/ehr-owner-input.component.ts", 468 lineNumber: 45 469 }); 470})(); 471
472// src/app/_secure/_shared/ehr-owner-input/ehr-owner-input.module.ts 473var EhrOwnerInputModule = class _EhrOwnerInputModule { 474 static { 475 this.ɵfac = function EhrOwnerInputModule_Factory(__ngFactoryType__) { 476 return new (__ngFactoryType__ || _EhrOwnerInputModule)(); 477 }; 478 } 479 static { 480 this.ɵmod = /* @__PURE__ */ɵɵdefineNgModule({ 481 type: _EhrOwnerInputModule 482 }); 483 } 484 static { 485 this.ɵinj = /* @__PURE__ */ɵɵdefineInjector({ 486 imports: [CommonModule, MatAutocompleteModule, MatFormFieldModule, MatIconModule, MatInputModule, MatOptionModule, ReactiveFormsModule] 487 }); 488 } 489}; 490(() => { 491 (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(EhrOwnerInputModule, [{ 492 type: NgModule, 493 args: [{ 494 declarations: [EhrOwnerInputComponent], 495 imports: [CommonModule, EhrAvatarComponent, MatAutocompleteModule, MatFormFieldModule, MatIconModule, MatInputModule, MatOptionModule, ReactiveFormsModule, EmployeeNamePipe], 496 exports: [EhrOwnerInputComponent] 497 }] 498 }], null, null); 499})(); 500export { EhrOwnerInputComponent, EhrOwnerInputModule }; 501/**i18n:55a58011b6fcf12b70aba021cbe233ce2fe179902ce3502a5c6547ccaba0ed7f*/ 502//# sourceMappingURL=chunk-2EYS5Y64.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.