@hmcts/opal-frontend-common 0.0.18 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/components/abstract/abstract-form-base/index.d.ts +5 -5
  2. package/components/govuk/govuk-tabs/govuk-tabs-list-item/README.md +64 -0
  3. package/components/govuk/govuk-tabs/govuk-tabs-list-item/index.d.ts +21 -0
  4. package/components/govuk/govuk-tabs/govuk-tabs-panel/README.md +52 -0
  5. package/components/govuk/govuk-tabs/govuk-tabs-panel/index.d.ts +8 -0
  6. package/components/govuk/govuk-tabs/index.d.ts +20 -32
  7. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-alias-base.mjs.map +1 -1
  8. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-base.mjs.map +1 -1
  9. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-removal-base.mjs.map +1 -1
  10. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-base.mjs +16 -13
  11. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-base.mjs.map +1 -1
  12. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-tab-data.mjs.map +1 -1
  13. package/fesm2022/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete.mjs.map +1 -1
  14. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-accordion.mjs.map +1 -1
  15. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-back-link.mjs.map +1 -1
  16. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-button.mjs.map +1 -1
  17. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-cancel-link.mjs.map +1 -1
  18. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-checkboxes.mjs.map +1 -1
  19. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-date-input.mjs.map +1 -1
  20. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-details.mjs.map +1 -1
  21. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-footer.mjs.map +1 -1
  22. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-header.mjs.map +1 -1
  23. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-heading-with-caption.mjs.map +1 -1
  24. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-pagination.mjs.map +1 -1
  25. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-panel.mjs.map +1 -1
  26. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-radio.mjs.map +1 -1
  27. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-select.mjs.map +1 -1
  28. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.mjs.map +1 -1
  29. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-summary-list.mjs.map +1 -1
  30. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-table.mjs.map +1 -1
  31. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-list-item.mjs +56 -0
  32. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-list-item.mjs.map +1 -0
  33. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-panel.mjs +18 -0
  34. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-panel.mjs.map +1 -0
  35. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs.mjs +34 -75
  36. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs.mjs.map +1 -1
  37. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tag.mjs.map +1 -1
  38. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-task-list.mjs.map +1 -1
  39. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-area.mjs.map +1 -1
  40. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-input-prefix-suffix.mjs.map +1 -1
  41. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-input.mjs.map +1 -1
  42. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-alert.mjs.map +1 -1
  43. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-badge.mjs.map +1 -1
  44. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-button-menu.mjs.map +1 -1
  45. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-date-picker.mjs.map +1 -1
  46. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-header.mjs.map +1 -1
  47. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-notification-badge.mjs.map +1 -1
  48. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-page-header.mjs.map +1 -1
  49. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-pagination.mjs.map +1 -1
  50. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-primary-navigation.mjs.map +1 -1
  51. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-sortable-table.mjs.map +1 -1
  52. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-sub-navigation.mjs.map +1 -1
  53. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-ticket-panel.mjs.map +1 -1
  54. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-timeline.mjs.map +1 -1
  55. package/fesm2022/hmcts-opal-frontend-common-constants.mjs.map +1 -1
  56. package/fesm2022/hmcts-opal-frontend-common-directives-capitalisation.mjs.map +1 -1
  57. package/fesm2022/hmcts-opal-frontend-common-guards-can-deactivate.mjs.map +1 -1
  58. package/fesm2022/hmcts-opal-frontend-common-guards-helpers.mjs.map +1 -1
  59. package/fesm2022/hmcts-opal-frontend-common-guards-route-permissions.mjs.map +1 -1
  60. package/fesm2022/hmcts-opal-frontend-common-pages-access-denied.component-hjYG8Hhi.mjs.map +1 -1
  61. package/fesm2022/hmcts-opal-frontend-common-pages-routing-constants.mjs.map +1 -1
  62. package/fesm2022/hmcts-opal-frontend-common-pages-sign-in-stub.component-CMgQc0uF.mjs.map +1 -1
  63. package/fesm2022/hmcts-opal-frontend-common-pages-sign-in.component-UHSDf5ya.mjs.map +1 -1
  64. package/fesm2022/hmcts-opal-frontend-common-pages.mjs.map +1 -1
  65. package/fesm2022/hmcts-opal-frontend-common-pipes-date-format.mjs.map +1 -1
  66. package/fesm2022/hmcts-opal-frontend-common-resolvers-title.mjs.map +1 -1
  67. package/fesm2022/hmcts-opal-frontend-common-resolvers-user-state.mjs.map +1 -1
  68. package/fesm2022/hmcts-opal-frontend-common-services-auth-service-constants.mjs.map +1 -1
  69. package/fesm2022/hmcts-opal-frontend-common-services-date-service-interfaces.mjs +4 -0
  70. package/fesm2022/hmcts-opal-frontend-common-services-date-service-interfaces.mjs.map +1 -0
  71. package/fesm2022/hmcts-opal-frontend-common-services-date-service.mjs +15 -0
  72. package/fesm2022/hmcts-opal-frontend-common-services-date-service.mjs.map +1 -1
  73. package/fesm2022/hmcts-opal-frontend-common-services-launch-darkly-service-mocks.mjs.map +1 -1
  74. package/fesm2022/hmcts-opal-frontend-common-services-session-service-constants.mjs.map +1 -1
  75. package/fesm2022/hmcts-opal-frontend-common-services-session-service-mocks.mjs.map +1 -1
  76. package/fesm2022/hmcts-opal-frontend-common-services-transfer-state-service-mocks.mjs.map +1 -1
  77. package/fesm2022/hmcts-opal-frontend-common-services-transfer-state-service.mjs.map +1 -1
  78. package/fesm2022/hmcts-opal-frontend-common-services-transformation-service.mjs +23 -0
  79. package/fesm2022/hmcts-opal-frontend-common-services-transformation-service.mjs.map +1 -1
  80. package/fesm2022/hmcts-opal-frontend-common-services-utils-service.mjs.map +1 -1
  81. package/fesm2022/hmcts-opal-frontend-common-stores-global.mjs.map +1 -1
  82. package/fesm2022/hmcts-opal-frontend-common-validators-amount.mjs.map +1 -1
  83. package/fesm2022/hmcts-opal-frontend-common-validators-driving-licence-number.mjs +23 -0
  84. package/fesm2022/hmcts-opal-frontend-common-validators-driving-licence-number.mjs.map +1 -0
  85. package/fesm2022/hmcts-opal-frontend-common-validators-future-date.mjs.map +1 -1
  86. package/fesm2022/hmcts-opal-frontend-common-validators-over-eighteen.mjs.map +1 -1
  87. package/fesm2022/hmcts-opal-frontend-common-validators-past-date.mjs.map +1 -1
  88. package/fesm2022/hmcts-opal-frontend-common-validators-pattern-validator.mjs +28 -0
  89. package/fesm2022/hmcts-opal-frontend-common-validators-pattern-validator.mjs.map +1 -0
  90. package/fesm2022/hmcts-opal-frontend-common-validators-time-format.mjs +20 -0
  91. package/fesm2022/hmcts-opal-frontend-common-validators-time-format.mjs.map +1 -0
  92. package/package.json +29 -1
  93. package/services/date-service/index.d.ts +10 -0
  94. package/services/date-service/interfaces/index.d.ts +10 -0
  95. package/services/transformation-service/index.d.ts +11 -0
  96. package/validators/driving-licence-number/index.d.ts +12 -0
  97. package/validators/pattern-validator/index.d.ts +14 -0
  98. package/validators/time-format/index.d.ts +9 -0
@@ -1 +1 @@
1
- {"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-text-input-prefix-suffix.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-text-input-prefix-suffix/govuk-text-input-prefix-suffix.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-text-input-prefix-suffix/govuk-text-input-prefix-suffix.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-text-input-prefix-suffix/hmcts-opal-frontend-common-components-govuk-govuk-text-input-prefix-suffix.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl, AbstractControl, ReactiveFormsModule } from '@angular/forms';\n\n@Component({\n selector: 'opal-lib-govuk-text-input-prefix-suffix',\n imports: [CommonModule, ReactiveFormsModule],\n templateUrl: './govuk-text-input-prefix-suffix.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTextInputPrefixSuffixComponent {\n private _control!: FormControl;\n\n @Input({ required: true }) labelText!: string;\n @Input({ required: false }) labelClasses!: string;\n @Input({ required: true }) inputId!: string;\n @Input({ required: true }) inputName!: string;\n @Input({ required: false }) inputClasses!: string;\n @Input({ required: false }) errors: string | null = null;\n\n @Input({ required: false }) prefixText!: string;\n @Input({ required: false }) suffixText!: string;\n\n @Input({ required: false }) forceTwoDecimalPoints!: boolean;\n\n @Input({ required: true }) set control(abstractControl: AbstractControl | null) {\n // Form controls are passed in as abstract controls, we need to re-cast it.\n this._control = abstractControl as FormControl;\n }\n\n /**\n * Formats the value of the control to two decimal places when the control loses focus.\n */\n public onBlurFormatToTwoDecimalPlaces() {\n let value = this._control.value;\n\n if (value && !isNaN(parseFloat(value))) {\n const parts = value.split('.');\n\n // Check if the value has a decimal point and exactly one digit after it\n if (parts.length === 2 && parts[1].length === 1) {\n // Convert the value to two decimal places\n value = parseFloat(value).toFixed(2);\n this._control.setValue(value, { emitEvent: false });\n }\n }\n }\n\n get getControl() {\n return this._control;\n }\n}\n","<div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"!!errors\">\n <label class=\"govuk-label {{ labelClasses }}\" [for]=\"inputId\"> {{ labelText }} </label>\n @if (errors) {\n <p id=\"{{ this.inputId }}-error-message\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error: </span> {{ errors }}\n </p>\n }\n <div class=\"govuk-input__wrapper\">\n @if (prefixText) {\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\">{{ prefixText }}</div>\n }\n <input\n class=\"govuk-input {{ inputClasses }}\"\n [id]=\"inputId\"\n [name]=\"inputName\"\n type=\"text\"\n [formControl]=\"getControl\"\n (blur)=\"forceTwoDecimalPoints && onBlurFormatToTwoDecimalPlaces()\"\n />\n @if (suffixText) {\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\">{{ suffixText }}</div>\n }\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";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K;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACE,SAAS,EAAA,CAAA;sBAAnC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACG,YAAY,EAAA,CAAA;sBAAvC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACE,MAAM,EAAA,CAAA;sBAAjC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBAEE,UAAU,EAAA,CAAA;sBAArC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACE,UAAU,EAAA,CAAA;sBAArC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBAEE,qBAAqB,EAAA,CAAA;sBAAhD,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBAEK,OAAO,EAAA,CAAA;sBAArC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;;AEzB3B;;AAEG;;;;"}
1
+ {"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-text-input-prefix-suffix.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-text-input-prefix-suffix/govuk-text-input-prefix-suffix.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-text-input-prefix-suffix/govuk-text-input-prefix-suffix.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-text-input-prefix-suffix/hmcts-opal-frontend-common-components-govuk-govuk-text-input-prefix-suffix.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormControl, AbstractControl, ReactiveFormsModule } from '@angular/forms';\n\n@Component({\n selector: 'opal-lib-govuk-text-input-prefix-suffix',\n imports: [CommonModule, ReactiveFormsModule],\n templateUrl: './govuk-text-input-prefix-suffix.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTextInputPrefixSuffixComponent {\n private _control!: FormControl;\n\n @Input({ required: true }) labelText!: string;\n @Input({ required: false }) labelClasses!: string;\n @Input({ required: true }) inputId!: string;\n @Input({ required: true }) inputName!: string;\n @Input({ required: false }) inputClasses!: string;\n @Input({ required: false }) errors: string | null = null;\n\n @Input({ required: false }) prefixText!: string;\n @Input({ required: false }) suffixText!: string;\n\n @Input({ required: false }) forceTwoDecimalPoints!: boolean;\n\n @Input({ required: true }) set control(abstractControl: AbstractControl | null) {\n // Form controls are passed in as abstract controls, we need to re-cast it.\n this._control = abstractControl as FormControl;\n }\n\n /**\n * Formats the value of the control to two decimal places when the control loses focus.\n */\n public onBlurFormatToTwoDecimalPlaces() {\n let value = this._control.value;\n\n if (value && !isNaN(parseFloat(value))) {\n const parts = value.split('.');\n\n // Check if the value has a decimal point and exactly one digit after it\n if (parts.length === 2 && parts[1].length === 1) {\n // Convert the value to two decimal places\n value = parseFloat(value).toFixed(2);\n this._control.setValue(value, { emitEvent: false });\n }\n }\n }\n\n get getControl() {\n return this._control;\n }\n}\n","<div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"!!errors\">\n <label class=\"govuk-label {{ labelClasses }}\" [for]=\"inputId\"> {{ labelText }} </label>\n @if (errors) {\n <p id=\"{{ this.inputId }}-error-message\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error: </span> {{ errors }}\n </p>\n }\n <div class=\"govuk-input__wrapper\">\n @if (prefixText) {\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\">{{ prefixText }}</div>\n }\n <input\n class=\"govuk-input {{ inputClasses }}\"\n [id]=\"inputId\"\n [name]=\"inputName\"\n type=\"text\"\n [formControl]=\"getControl\"\n (blur)=\"forceTwoDecimalPoints && onBlurFormatToTwoDecimalPlaces()\"\n />\n @if (suffixText) {\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\">{{ suffixText }}</div>\n }\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAUa,mCAAmC,CAAA;AACtC,IAAA,Q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;gBACE,SAAS,EAAA,CAAA;sBAAnC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACG,YAAY,EAAA,CAAA;sBAAvC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACE,MAAM,EAAA,CAAA;sBAAjC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBAEE,UAAU,EAAA,CAAA;sBAArC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACE,UAAU,EAAA,CAAA;sBAArC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBAEE,qBAAqB,EAAA,CAAA;sBAAhD,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBAEK,OAAO,EAAA,CAAA;sBAArC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;;AEzB3B;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-text-input.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-text-input/govuk-text-input.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-text-input/govuk-text-input.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-text-input/hmcts-opal-frontend-common-components-govuk-govuk-text-input.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { AbstractControl, FormControl, ReactiveFormsModule } from '@angular/forms';\n\n@Component({\n selector: 'opal-lib-govuk-text-input',\n imports: [CommonModule, ReactiveFormsModule],\n templateUrl: './govuk-text-input.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTextInputComponent {\n private _control!: FormControl;\n\n @Input({ required: true }) labelText!: string;\n @Input({ required: false }) labelClasses!: string;\n @Input({ required: true }) inputId!: string;\n @Input({ required: true }) inputName!: string;\n @Input({ required: false }) inputClasses!: string;\n @Input({ required: false }) hintText!: string;\n @Input({ required: false }) hintHtml!: boolean;\n @Input({ required: false }) errors: string | null = null;\n @Input({ required: true }) set control(abstractControl: AbstractControl | null) {\n // Form controls are passed in as abstract controls, we need to re-cast it.\n this._control = abstractControl as FormControl;\n }\n\n get getControl() {\n return this._control;\n }\n}\n","<div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"!!errors\">\n <h1 class=\"govuk-label-wrapper\">\n <label class=\"govuk-label {{ labelClasses }}\" [for]=\"inputId\">\n {{ labelText }}\n </label>\n </h1>\n @if (hintText) {\n <div id=\"{{ inputId }}-hint\" class=\"govuk-hint\">\n {{ hintText }}\n </div>\n }\n\n @if (hintHtml) {\n <div id=\"{{ inputId }}-hint\" class=\"govuk-hint\"><ng-content></ng-content></div>\n }\n\n @if (errors) {\n <p id=\"{{ this.inputId }}-error-message\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error: </span> {{ errors }}\n </p>\n }\n\n <input\n class=\"govuk-input {{ inputClasses }}\"\n [id]=\"inputId\"\n [name]=\"inputName\"\n type=\"text\"\n [formControl]=\"getControl\"\n />\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAUa,uBAAuB,CAAA;AAC1B,IAAA,QAAQ;AAEW,IAAA,SAAS;AACR,IAAA,YAAY;AACb,IAAA,OAAO;AACP,IAAA,SAAS;AACR,IAAA,YAAY;AACZ,IAAA,QAAQ;AACR,IAAA,QAAQ;IACR,MAAM,GAAkB,IAAI;IACxD,IAA+B,OAAO,CAAC,eAAuC,EAAA;;AAE5E,QAAA,IAAI,CAAC,QAAQ,GAAG,eAA8B;;AAGhD,IAAA,IAAI,UAAU,GAAA;QACZ,OAAO,IAAI,CAAC,QAAQ;;wGAjBX,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAvB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAA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A;sBAAnC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACG,YAAY,EAAA,CAAA;sBAAvC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACC,OAAO,EAAA,CAAA;sBAAjC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACE,SAAS,EAAA,CAAA;sBAAnC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACG,YAAY,EAAA,CAAA;sBAAvC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACE,QAAQ,EAAA,CAAA;sBAAnC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACE,QAAQ,EAAA,CAAA;sBAAnC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACE,MAAM,EAAA,CAAA;sBAAjC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACK,OAAO,EAAA,CAAA;sBAArC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;;AErB3B;;AAEG;;;;"}
1
+ {"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-text-input.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-text-input/govuk-text-input.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-text-input/govuk-text-input.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-text-input/hmcts-opal-frontend-common-components-govuk-govuk-text-input.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { AbstractControl, FormControl, ReactiveFormsModule } from '@angular/forms';\n\n@Component({\n selector: 'opal-lib-govuk-text-input',\n imports: [CommonModule, ReactiveFormsModule],\n templateUrl: './govuk-text-input.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTextInputComponent {\n private _control!: FormControl;\n\n @Input({ required: true }) labelText!: string;\n @Input({ required: false }) labelClasses!: string;\n @Input({ required: true }) inputId!: string;\n @Input({ required: true }) inputName!: string;\n @Input({ required: false }) inputClasses!: string;\n @Input({ required: false }) hintText!: string;\n @Input({ required: false }) hintHtml!: boolean;\n @Input({ required: false }) errors: string | null = null;\n @Input({ required: true }) set control(abstractControl: AbstractControl | null) {\n // Form controls are passed in as abstract controls, we need to re-cast it.\n this._control = abstractControl as FormControl;\n }\n\n get getControl() {\n return this._control;\n }\n}\n","<div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"!!errors\">\n <h1 class=\"govuk-label-wrapper\">\n <label class=\"govuk-label {{ labelClasses }}\" [for]=\"inputId\">\n {{ labelText }}\n </label>\n </h1>\n @if (hintText) {\n <div id=\"{{ inputId }}-hint\" class=\"govuk-hint\">\n {{ hintText }}\n </div>\n }\n\n @if (hintHtml) {\n <div id=\"{{ inputId }}-hint\" class=\"govuk-hint\"><ng-content></ng-content></div>\n }\n\n @if (errors) {\n <p id=\"{{ this.inputId }}-error-message\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error: </span> {{ errors }}\n </p>\n }\n\n <input\n class=\"govuk-input {{ inputClasses }}\"\n [id]=\"inputId\"\n [name]=\"inputName\"\n type=\"text\"\n [formControl]=\"getControl\"\n />\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAUa,uBAAuB,CAAA;AAC1B,IAAA,QAAQ;AAEW,IAAA,SAAS;AACR,IAAA,YAAY;AACb,IAAA,OAAO;AACP,IAAA,SAAS;AACR,IAAA,YAAY;AACZ,IAAA,QAAQ;AACR,IAAA,QAAQ;IACR,MAAM,GAAkB,IAAI;IACxD,IAA+B,OAAO,CAAC,eAAuC,EAAA;;AAE5E,QAAA,IAAI,CAAC,QAAQ,GAAG,eAA8B;;AAGhD,IAAA,IAAI,UAAU,GAAA;QACZ,OAAO,IAAI,CAAC,QAAQ;;wGAjBX,uBAAuB,EAAA,IAAA,EAAA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AAE,mBAAmB,CAAC,EAAA,eAAA,EAE3B,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,8zBAAA,EAAA;8BAKpB,SAAS,EAAA,CAAA;sBAAnC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACG,YAAY,EAAA,CAAA;sBAAvC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACC,OAAO,EAAA,CAAA;sBAAjC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACE,SAAS,EAAA,CAAA;sBAAnC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACG,YAAY,EAAA,CAAA;sBAAvC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACE,QAAQ,EAAA,CAAA;sBAAnC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACE,QAAQ,EAAA,CAAA;sBAAnC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACE,MAAM,EAAA,CAAA;sBAAjC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACK,OAAO,EAAA,CAAA;sBAArC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;;AErB3B;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"hmcts-opal-frontend-common-components-moj-moj-alert.mjs","sources":["../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-dismiss/moj-alert-dismiss.component.ts","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-dismiss/moj-alert-dismiss.component.html","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert.component.ts","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert.component.html","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-icon/moj-alert-path-directive/constants/alert-icon-path.constant.ts","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-icon/moj-alert-path-directive/moj-alert-path.directive.ts","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-icon/moj-alert-icon.component.ts","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-icon/moj-alert-icon.component.html","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-content/moj-alert-content-heading/moj-alert-content-heading.component.ts","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-content/moj-alert-content-heading/moj-alert-content-heading.component.html","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-content/moj-alert-content.component.ts","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-content/moj-alert-content.component.html","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-content/moj-alert-content-text/moj-alert-content-text.component.ts","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-content/moj-alert-content-text/moj-alert-content-text.component.html","../../../projects/opal-frontend-common/components/moj/moj-alert/hmcts-opal-frontend-common-components-moj-moj-alert.ts"],"sourcesContent":["import { Component, EventEmitter, HostBinding, Output } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-alert-dismiss',\n imports: [],\n templateUrl: './moj-alert-dismiss.component.html',\n})\nexport class MojAlertDismissComponent {\n @HostBinding('class') hostClass = 'moj-alert__action';\n @Output() public dismiss = new EventEmitter<void>();\n\n /**\n * Dismisses the alert.\n *\n * If an event is provided, its default behavior is prevented before emitting the dismiss event.\n *\n * @param event An optional DOM event that triggered the dismissal.\n */\n public dismissAlert(event?: Event): void {\n if (event) {\n event.preventDefault();\n }\n this.dismiss.emit();\n }\n}\n","<button class=\"moj-alert__dismiss\" (click)=\"dismissAlert($event)\" (keyup.enter)=\"dismissAlert($event)\">Dismiss</button>\n","import { Component, HostBinding, Input } from '@angular/core';\nimport { MojAlertType } from './constants/alert-types.constant';\nimport { CommonModule } from '@angular/common';\nimport { MojAlertDismissComponent } from './moj-alert-dismiss/moj-alert-dismiss.component';\n\n@Component({\n selector: 'opal-lib-moj-alert, [opal-lib-moj-alert]',\n imports: [CommonModule, MojAlertDismissComponent],\n templateUrl: './moj-alert.component.html',\n})\nexport class MojAlertComponent {\n @Input({ required: true }) ariaLabel!: string;\n @Input({ required: true }) type: MojAlertType = 'information';\n @Input({ required: false }) showDismiss!: boolean;\n\n public isVisible: boolean = true;\n\n @HostBinding('class')\n get hostClass(): string {\n return !this.isVisible ? '' : `moj-alert moj-alert--${this.type}`;\n }\n @HostBinding('attr.aria-label')\n get computedAriaLabel(): string {\n return `${this.type} : ${this.ariaLabel}`;\n }\n @HostBinding('attr.data-module') dataModule = 'moj-alert';\n\n /**\n * Dismisses the alert component.\n *\n * This method sets the component's visibility state to false,\n * effectively hiding the alert from view.\n */\n public dismiss(): void {\n this.isVisible = false;\n }\n}\n","@if (isVisible) {\n <ng-content select=\"[icon]\"></ng-content>\n <ng-content select=\"[content]\"></ng-content>\n\n @if (showDismiss) {\n <opal-lib-moj-alert-dismiss (dismiss)=\"dismiss()\"></opal-lib-moj-alert-dismiss>\n }\n}\n","export const MOJ_ALERT_ICON_PATHS = {\n success:\n 'M11.2869 24.6726L2.00415 15.3899L4.62189 12.7722L11.2869 19.4186L25.3781 5.32739L27.9958 7.96369L11.2869 24.6726Z',\n warning:\n 'M15 2.44922L28.75 26.1992H1.25L15 2.44922ZM13.5107 9.49579H16.4697L16.2431 17.7678H13.7461L13.5107 9.49579ZM13.1299 21.82C13.1299 21.5661 13.1787 21.3285 13.2764 21.1071C13.374 20.8793 13.5075 20.6807 13.6768 20.5114C13.8525 20.3421 14.0544 20.2087 14.2822 20.111C14.5101 20.0134 14.7542 19.9645 15.0146 19.9645C15.2686 19.9645 15.5062 20.0134 15.7275 20.111C15.9554 20.2087 16.154 20.3421 16.3232 20.5114C16.4925 20.6807 16.626 20.8793 16.7236 21.1071C16.8213 21.3285 16.8701 21.5661 16.8701 21.82C16.8701 22.0804 16.8213 22.3246 16.7236 22.5524C16.626 22.7803 16.4925 22.9789 16.3232 23.1481C16.154 23.3174 15.9554 23.4509 15.7275 23.5485C15.5062 23.6462 15.2686 23.695 15.0146 23.695C14.7542 23.695 14.5101 23.6462 14.2822 23.5485C14.0544 23.4509 13.8525 23.3174 13.6768 23.1481C13.5075 22.9789 13.374 22.7803 13.2764 22.5524C13.1787 22.3246 13.1299 22.0804 13.1299 21.82Z',\n information:\n 'M10.2165 3.45151C11.733 2.82332 13.3585 2.5 15 2.5C16.6415 2.5 18.267 2.82332 19.7835 3.45151C21.3001 4.07969 22.6781 5.00043 23.8388 6.16117C24.9996 7.3219 25.9203 8.69989 26.5485 10.2165C27.1767 11.733 27.5 13.3585 27.5 15C27.5 18.3152 26.183 21.4946 23.8388 23.8388C21.4946 26.183 18.3152 27.5 15 27.5C13.3585 27.5 11.733 27.1767 10.2165 26.5485C8.69989 25.9203 7.3219 24.9996 6.16117 23.8388C3.81696 21.4946 2.5 18.3152 2.5 15C2.5 11.6848 3.81696 8.50537 6.16117 6.16117C7.3219 5.00043 8.69989 4.07969 10.2165 3.45151ZM16.3574 22.4121H13.6621V12.95H16.3574V22.4121ZM13.3789 9.20898C13.3789 8.98763 13.4212 8.7793 13.5059 8.58398C13.5905 8.38216 13.7044 8.20964 13.8477 8.06641C13.9974 7.91667 14.1699 7.79948 14.3652 7.71484C14.5605 7.63021 14.7721 7.58789 15 7.58789C15.2214 7.58789 15.4297 7.63021 15.625 7.71484C15.8268 7.79948 15.9993 7.91667 16.1426 8.06641C16.2923 8.20964 16.4095 8.38216 16.4941 8.58398C16.5788 8.7793 16.6211 8.98763 16.6211 9.20898C16.6211 9.43685 16.5788 9.64844 16.4941 9.84375C16.4095 10.0391 16.2923 10.2116 16.1426 10.3613C15.9993 10.5046 15.8268 10.6185 15.625 10.7031C15.4297 10.7878 15.2214 10.8301 15 10.8301C14.7721 10.8301 14.5605 10.7878 14.3652 10.7031C14.1699 10.6185 13.9974 10.5046 13.8477 10.3613C13.7044 10.2116 13.5905 10.0391 13.5059 9.84375C13.4212 9.64844 13.3789 9.43685 13.3789 9.20898Z',\n error:\n 'M20.1777 2.5H9.82233L2.5 9.82233V20.1777L9.82233 27.5H20.1777L27.5 20.1777V9.82233L20.1777 2.5ZM10.9155 8.87769L15.0001 12.9623L19.0847 8.87771L21.1224 10.9154L17.0378 15L21.1224 19.0846L19.0847 21.1222L15.0001 17.0376L10.9155 21.1223L8.87782 19.0846L12.9624 15L8.87783 10.9153L10.9155 8.87769Z',\n};\n","import { Directive, OnChanges, Input, ElementRef, Renderer2 } from '@angular/core';\nimport { MojAlertType } from '../../constants/alert-types.constant';\nimport { MOJ_ALERT_ICON_PATHS } from './constants/alert-icon-path.constant';\n@Directive({\n selector: '[opalLibMojAlertSortIcon]',\n standalone: true,\n})\nexport class MojAlertPathDirective implements OnChanges {\n @Input('opalLibMojAlertSortIcon') type: MojAlertType = 'information';\n\n private readonly icons = MOJ_ALERT_ICON_PATHS;\n\n constructor(\n private readonly el: ElementRef<SVGSVGElement>,\n private readonly renderer: Renderer2,\n ) {}\n\n /**\n * Retrieves the SVG path(s) corresponding to a given alert type.\n *\n * @param type - The alert type for which to get the icon path. Valid values include 'information', 'success', 'warning', and 'error'.\n * @returns An array containing the SVG path string for the specified alert type.\n *\n * If the provided type does not match any known alert types, the function defaults to returning the 'information' icon path.\n */\n private getPathsForType(type: MojAlertType): string[] {\n switch (type) {\n case 'information':\n return [this.icons.information];\n case 'success':\n return [this.icons.success];\n case 'warning':\n return [this.icons.warning];\n case 'error':\n return [this.icons.error];\n default:\n return [this.icons.information];\n }\n }\n\n /**\n * Angular lifecycle hook that is called when any data-bound property of a directive changes.\n *\n * This method updates the SVG element by setting its namespace and fill attributes,\n * removing all existing child nodes, and appending new <path> elements corresponding\n * to the alert type. Each new path element is created with the appropriate attributes,\n * ensuring that the SVG reflects the current alert type consistently.\n */\n public ngOnChanges(): void {\n const svg = this.el.nativeElement;\n this.renderer.setAttribute(svg, 'xmlns', 'http://www.w3.org/2000/svg');\n this.renderer.setAttribute(svg, 'fill', 'none');\n\n while (svg.firstChild) {\n svg.removeChild(svg.firstChild);\n }\n\n const paths = this.getPathsForType(this.type);\n paths.forEach((pathD) => {\n const path = this.renderer.createElement('path', 'svg');\n this.renderer.setAttribute(path, 'd', pathD);\n this.renderer.setAttribute(path, 'fill', 'currentColor');\n this.renderer.setAttribute(path, 'fill-rule', 'evenodd');\n this.renderer.setAttribute(path, 'clip-rule', 'evenodd');\n\n svg.appendChild(path);\n });\n }\n}\n","import { Component, Input } from '@angular/core';\nimport { MojAlertPathDirective } from './moj-alert-path-directive/moj-alert-path.directive';\nimport { MojAlertType } from '../constants/alert-types.constant';\n@Component({\n selector: 'opal-lib-moj-alert-icon',\n imports: [MojAlertPathDirective],\n templateUrl: './moj-alert-icon.component.html',\n})\nexport class MojAlertIconComponent {\n @Input({ required: true }) type: MojAlertType = 'information';\n}\n","<svg\n [opalLibMojAlertSortIcon]=\"type\"\n class=\"moj-alert__icon\"\n role=\"presentation\"\n focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 30 30\"\n height=\"30\"\n width=\"30\"\n fill=\"currentColor\"\n></svg>\n","import { Component, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-alert-content-heading',\n imports: [],\n templateUrl: './moj-alert-content-heading.component.html',\n})\nexport class MojAlertHeadingComponent {\n @HostBinding('class') hostClass = 'moj-alert__heading';\n}\n","<ng-content></ng-content>\n","import { Component, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-alert-content',\n imports: [],\n templateUrl: './moj-alert-content.component.html',\n})\nexport class MojAlertContentComponent {\n @HostBinding('class') hostClass = 'moj-alert__content';\n}\n","<ng-content></ng-content>\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-alert-content-text',\n imports: [],\n templateUrl: './moj-alert-content-text.component.html',\n})\nexport class MojAlertTextComponent {}\n","<ng-content></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAOa,wBAAwB,CAAA;IACb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AW;uBAAC,OAAO;;;MEDT,wBAAwB,CAAA;IACb,SAAS,GAAG,oBAAoB;wGAD3C,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAxB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,wBAAwB,2ICPrC,6BACA,EAAA,CAAA;;4FDMa,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBALpC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,4BAA4B,WAC7B,EAAE,EAAA,QAAA,EAAA,6BAAA,EAAA;8BAIW,SAAS,EAAA,CAAA;sBAA9B,WAAW;uBAAC,OAAO;;;MEDT,qBAAqB,CAAA;wGAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAArB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,qBAAqB,2FCPlC,6BACA,EAAA,CAAA;;4FDMa,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iCAAiC,WAClC,EAAE,EAAA,QAAA,EAAA,6BAAA,EAAA;;;AEJb;;AAEG;;;;"}
1
+ {"version":3,"file":"hmcts-opal-frontend-common-components-moj-moj-alert.mjs","sources":["../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-dismiss/moj-alert-dismiss.component.ts","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-dismiss/moj-alert-dismiss.component.html","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert.component.ts","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert.component.html","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-icon/moj-alert-path-directive/constants/alert-icon-path.constant.ts","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-icon/moj-alert-path-directive/moj-alert-path.directive.ts","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-icon/moj-alert-icon.component.ts","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-icon/moj-alert-icon.component.html","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-content/moj-alert-content-heading/moj-alert-content-heading.component.ts","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-content/moj-alert-content-heading/moj-alert-content-heading.component.html","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-content/moj-alert-content.component.ts","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-content/moj-alert-content.component.html","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-content/moj-alert-content-text/moj-alert-content-text.component.ts","../../../projects/opal-frontend-common/components/moj/moj-alert/moj-alert-content/moj-alert-content-text/moj-alert-content-text.component.html","../../../projects/opal-frontend-common/components/moj/moj-alert/hmcts-opal-frontend-common-components-moj-moj-alert.ts"],"sourcesContent":["import { Component, EventEmitter, HostBinding, Output } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-alert-dismiss',\n imports: [],\n templateUrl: './moj-alert-dismiss.component.html',\n})\nexport class MojAlertDismissComponent {\n @HostBinding('class') hostClass = 'moj-alert__action';\n @Output() public dismiss = new EventEmitter<void>();\n\n /**\n * Dismisses the alert.\n *\n * If an event is provided, its default behavior is prevented before emitting the dismiss event.\n *\n * @param event An optional DOM event that triggered the dismissal.\n */\n public dismissAlert(event?: Event): void {\n if (event) {\n event.preventDefault();\n }\n this.dismiss.emit();\n }\n}\n","<button class=\"moj-alert__dismiss\" (click)=\"dismissAlert($event)\" (keyup.enter)=\"dismissAlert($event)\">Dismiss</button>\n","import { Component, HostBinding, Input } from '@angular/core';\nimport { MojAlertType } from './constants/alert-types.constant';\nimport { CommonModule } from '@angular/common';\nimport { MojAlertDismissComponent } from './moj-alert-dismiss/moj-alert-dismiss.component';\n\n@Component({\n selector: 'opal-lib-moj-alert, [opal-lib-moj-alert]',\n imports: [CommonModule, MojAlertDismissComponent],\n templateUrl: './moj-alert.component.html',\n})\nexport class MojAlertComponent {\n @Input({ required: true }) ariaLabel!: string;\n @Input({ required: true }) type: MojAlertType = 'information';\n @Input({ required: false }) showDismiss!: boolean;\n\n public isVisible: boolean = true;\n\n @HostBinding('class')\n get hostClass(): string {\n return !this.isVisible ? '' : `moj-alert moj-alert--${this.type}`;\n }\n @HostBinding('attr.aria-label')\n get computedAriaLabel(): string {\n return `${this.type} : ${this.ariaLabel}`;\n }\n @HostBinding('attr.data-module') dataModule = 'moj-alert';\n\n /**\n * Dismisses the alert component.\n *\n * This method sets the component's visibility state to false,\n * effectively hiding the alert from view.\n */\n public dismiss(): void {\n this.isVisible = false;\n }\n}\n","@if (isVisible) {\n <ng-content select=\"[icon]\"></ng-content>\n <ng-content select=\"[content]\"></ng-content>\n\n @if (showDismiss) {\n <opal-lib-moj-alert-dismiss (dismiss)=\"dismiss()\"></opal-lib-moj-alert-dismiss>\n }\n}\n","export const MOJ_ALERT_ICON_PATHS = {\n success:\n 'M11.2869 24.6726L2.00415 15.3899L4.62189 12.7722L11.2869 19.4186L25.3781 5.32739L27.9958 7.96369L11.2869 24.6726Z',\n warning:\n 'M15 2.44922L28.75 26.1992H1.25L15 2.44922ZM13.5107 9.49579H16.4697L16.2431 17.7678H13.7461L13.5107 9.49579ZM13.1299 21.82C13.1299 21.5661 13.1787 21.3285 13.2764 21.1071C13.374 20.8793 13.5075 20.6807 13.6768 20.5114C13.8525 20.3421 14.0544 20.2087 14.2822 20.111C14.5101 20.0134 14.7542 19.9645 15.0146 19.9645C15.2686 19.9645 15.5062 20.0134 15.7275 20.111C15.9554 20.2087 16.154 20.3421 16.3232 20.5114C16.4925 20.6807 16.626 20.8793 16.7236 21.1071C16.8213 21.3285 16.8701 21.5661 16.8701 21.82C16.8701 22.0804 16.8213 22.3246 16.7236 22.5524C16.626 22.7803 16.4925 22.9789 16.3232 23.1481C16.154 23.3174 15.9554 23.4509 15.7275 23.5485C15.5062 23.6462 15.2686 23.695 15.0146 23.695C14.7542 23.695 14.5101 23.6462 14.2822 23.5485C14.0544 23.4509 13.8525 23.3174 13.6768 23.1481C13.5075 22.9789 13.374 22.7803 13.2764 22.5524C13.1787 22.3246 13.1299 22.0804 13.1299 21.82Z',\n information:\n 'M10.2165 3.45151C11.733 2.82332 13.3585 2.5 15 2.5C16.6415 2.5 18.267 2.82332 19.7835 3.45151C21.3001 4.07969 22.6781 5.00043 23.8388 6.16117C24.9996 7.3219 25.9203 8.69989 26.5485 10.2165C27.1767 11.733 27.5 13.3585 27.5 15C27.5 18.3152 26.183 21.4946 23.8388 23.8388C21.4946 26.183 18.3152 27.5 15 27.5C13.3585 27.5 11.733 27.1767 10.2165 26.5485C8.69989 25.9203 7.3219 24.9996 6.16117 23.8388C3.81696 21.4946 2.5 18.3152 2.5 15C2.5 11.6848 3.81696 8.50537 6.16117 6.16117C7.3219 5.00043 8.69989 4.07969 10.2165 3.45151ZM16.3574 22.4121H13.6621V12.95H16.3574V22.4121ZM13.3789 9.20898C13.3789 8.98763 13.4212 8.7793 13.5059 8.58398C13.5905 8.38216 13.7044 8.20964 13.8477 8.06641C13.9974 7.91667 14.1699 7.79948 14.3652 7.71484C14.5605 7.63021 14.7721 7.58789 15 7.58789C15.2214 7.58789 15.4297 7.63021 15.625 7.71484C15.8268 7.79948 15.9993 7.91667 16.1426 8.06641C16.2923 8.20964 16.4095 8.38216 16.4941 8.58398C16.5788 8.7793 16.6211 8.98763 16.6211 9.20898C16.6211 9.43685 16.5788 9.64844 16.4941 9.84375C16.4095 10.0391 16.2923 10.2116 16.1426 10.3613C15.9993 10.5046 15.8268 10.6185 15.625 10.7031C15.4297 10.7878 15.2214 10.8301 15 10.8301C14.7721 10.8301 14.5605 10.7878 14.3652 10.7031C14.1699 10.6185 13.9974 10.5046 13.8477 10.3613C13.7044 10.2116 13.5905 10.0391 13.5059 9.84375C13.4212 9.64844 13.3789 9.43685 13.3789 9.20898Z',\n error:\n 'M20.1777 2.5H9.82233L2.5 9.82233V20.1777L9.82233 27.5H20.1777L27.5 20.1777V9.82233L20.1777 2.5ZM10.9155 8.87769L15.0001 12.9623L19.0847 8.87771L21.1224 10.9154L17.0378 15L21.1224 19.0846L19.0847 21.1222L15.0001 17.0376L10.9155 21.1223L8.87782 19.0846L12.9624 15L8.87783 10.9153L10.9155 8.87769Z',\n};\n","import { Directive, OnChanges, Input, ElementRef, Renderer2 } from '@angular/core';\nimport { MojAlertType } from '../../constants/alert-types.constant';\nimport { MOJ_ALERT_ICON_PATHS } from './constants/alert-icon-path.constant';\n@Directive({\n selector: '[opalLibMojAlertSortIcon]',\n standalone: true,\n})\nexport class MojAlertPathDirective implements OnChanges {\n @Input('opalLibMojAlertSortIcon') type: MojAlertType = 'information';\n\n private readonly icons = MOJ_ALERT_ICON_PATHS;\n\n constructor(\n private readonly el: ElementRef<SVGSVGElement>,\n private readonly renderer: Renderer2,\n ) {}\n\n /**\n * Retrieves the SVG path(s) corresponding to a given alert type.\n *\n * @param type - The alert type for which to get the icon path. Valid values include 'information', 'success', 'warning', and 'error'.\n * @returns An array containing the SVG path string for the specified alert type.\n *\n * If the provided type does not match any known alert types, the function defaults to returning the 'information' icon path.\n */\n private getPathsForType(type: MojAlertType): string[] {\n switch (type) {\n case 'information':\n return [this.icons.information];\n case 'success':\n return [this.icons.success];\n case 'warning':\n return [this.icons.warning];\n case 'error':\n return [this.icons.error];\n default:\n return [this.icons.information];\n }\n }\n\n /**\n * Angular lifecycle hook that is called when any data-bound property of a directive changes.\n *\n * This method updates the SVG element by setting its namespace and fill attributes,\n * removing all existing child nodes, and appending new <path> elements corresponding\n * to the alert type. Each new path element is created with the appropriate attributes,\n * ensuring that the SVG reflects the current alert type consistently.\n */\n public ngOnChanges(): void {\n const svg = this.el.nativeElement;\n this.renderer.setAttribute(svg, 'xmlns', 'http://www.w3.org/2000/svg');\n this.renderer.setAttribute(svg, 'fill', 'none');\n\n while (svg.firstChild) {\n svg.removeChild(svg.firstChild);\n }\n\n const paths = this.getPathsForType(this.type);\n paths.forEach((pathD) => {\n const path = this.renderer.createElement('path', 'svg');\n this.renderer.setAttribute(path, 'd', pathD);\n this.renderer.setAttribute(path, 'fill', 'currentColor');\n this.renderer.setAttribute(path, 'fill-rule', 'evenodd');\n this.renderer.setAttribute(path, 'clip-rule', 'evenodd');\n\n svg.appendChild(path);\n });\n }\n}\n","import { Component, Input } from '@angular/core';\nimport { MojAlertPathDirective } from './moj-alert-path-directive/moj-alert-path.directive';\nimport { MojAlertType } from '../constants/alert-types.constant';\n@Component({\n selector: 'opal-lib-moj-alert-icon',\n imports: [MojAlertPathDirective],\n templateUrl: './moj-alert-icon.component.html',\n})\nexport class MojAlertIconComponent {\n @Input({ required: true }) type: MojAlertType = 'information';\n}\n","<svg\n [opalLibMojAlertSortIcon]=\"type\"\n class=\"moj-alert__icon\"\n role=\"presentation\"\n focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 30 30\"\n height=\"30\"\n width=\"30\"\n fill=\"currentColor\"\n></svg>\n","import { Component, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-alert-content-heading',\n imports: [],\n templateUrl: './moj-alert-content-heading.component.html',\n})\nexport class MojAlertHeadingComponent {\n @HostBinding('class') hostClass = 'moj-alert__heading';\n}\n","<ng-content></ng-content>\n","import { Component, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-alert-content',\n imports: [],\n templateUrl: './moj-alert-content.component.html',\n})\nexport class MojAlertContentComponent {\n @HostBinding('class') hostClass = 'moj-alert__content';\n}\n","<ng-content></ng-content>\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-alert-content-text',\n imports: [],\n templateUrl: './moj-alert-content-text.component.html',\n})\nexport class MojAlertTextComponent {}\n","<ng-content></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAOa,wBAAwB,CAAA;IACb,SAAS,GAAG,mBAAmB;AACpC,IAAA,OAAO,GAAG,IAAI,YAAY,EAAQ;AAEnD;;;;;;AAMG;AACI,IAAA,YAAY,CAAC,KAAa,EAAA;QAC/B,IAAI,KAAK,EAAE;YACT,KAAK,CAAC,cAAc,EAAE;;AAExB,QAAA,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE;;wGAfV,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAxB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,wBAAwB,4KCPrC,iIACA,EAAA,CAAA;;4FDMa,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBALpC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,4BAA4B,WAC7B,EAAE,EAAA,QAAA,EAAA,iIAAA,EAAA;8BAIW,SAAS,EAAA,CAAA;sBAA9B,WAAW;uBAAC,OAAO;gBACH,OAAO,EAAA,CAAA;sBAAvB;;;MECU,iBAAiB,CAAA;AACD,IAAA,SAAS;IACT,IAAI,GAAiB,aAAa;AACjC,IAAA,WAAW;IAEhC,SAAS,GAAY,IAAI;AAEhC,IAAA,IACI,SAAS,GAAA;AACX,QAAA,OAAO,CAAC,IAAI,CAAC,SAAS,GAAG,EAAE,GAAG,CAAA,qBAAA,EAAwB,IAAI,CAAC,IAAI,EAAE;;AAEnE,IAAA,IACI,iBAAiB,GAAA;QACnB,OAAO,CAAA,EAAG,IAAI,CAAC,IAAI,MAAM,IAAI,CAAC,SAAS,CAAA,CAAE;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/components/moj/moj-badge/moj.badge.component.ts","../../../projects/opal-frontend-common/components/moj/moj-badge/moj-badge.component.html","../../../projects/opal-frontend-common/components/moj/moj-badge/hmcts-opal-frontend-common-components-moj-moj-badge.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-badge',\n imports: [],\n templateUrl: './moj-badge.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojBadgeComponent {\n @Input({ required: true }) badgeId!: string;\n @Input({ required: false }) badgeClasses!: string;\n}\n","<span class=\"moj-notification-badge {{ badgeClasses }}\" [id]=\"badgeId\"><ng-content></ng-content> </span>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,iBAAiB,CAAA;AACD,IAAA,OAAO;AACN,IAAA,YAAY;wGAF7B,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAjB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,iBAAiB,4ICR9B,gHACA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDOa,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAN7B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,EACrB,OAAA,EAAA,EAAE,EAEM,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,gHAAA,EAAA;8BAGpB,OAAO,EAAA,CAAA;sBAAjC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACG,YAAY,EAAA,CAAA;sBAAvC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;;;AEV5B;;AAEG;;;;"}
1
+ {"version":3,"file":"hmcts-opal-frontend-common-components-moj-moj-badge.mjs","sources":["../../../projects/opal-frontend-common/components/moj/moj-badge/moj.badge.component.ts","../../../projects/opal-frontend-common/components/moj/moj-badge/moj-badge.component.html","../../../projects/opal-frontend-common/components/moj/moj-badge/hmcts-opal-frontend-common-components-moj-moj-badge.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-badge',\n imports: [],\n templateUrl: './moj-badge.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojBadgeComponent {\n @Input({ required: true }) badgeId!: string;\n @Input({ required: false }) badgeClasses!: string;\n}\n","<span class=\"moj-notification-badge {{ badgeClasses }}\" [id]=\"badgeId\"><ng-content></ng-content> </span>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,iBAAiB,CAAA;AACD,IAAA,OAAO;AACN,IAAA,YAAY;wGAF7B,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAjB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,iBAAiB,4ICR9B,gHACA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDOa,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAN7B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,EAAA,OAAA,EACrB,EAAE,EAAA,eAAA,EAEM,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,gHAAA,EAAA;8BAGpB,OAAO,EAAA,CAAA;sBAAjC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACG,YAAY,EAAA,CAAA;sBAAvC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;;;AEV5B;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"hmcts-opal-frontend-common-components-moj-moj-button-menu.mjs","sources":["../../../projects/opal-frontend-common/components/moj/moj-button-menu/moj-button-menu-item/moj-button-menu-item.component.ts","../../../projects/opal-frontend-common/components/moj/moj-button-menu/moj-button-menu-item/moj-button-menu-item.component.html","../../../projects/opal-frontend-common/components/moj/moj-button-menu/moj-button-menu.component.ts","../../../projects/opal-frontend-common/components/moj/moj-button-menu/moj-button-menu.component.html","../../../projects/opal-frontend-common/components/moj/moj-button-menu/hmcts-opal-frontend-common-components-moj-moj-button-menu.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Output } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-button-menu-item',\n imports: [],\n templateUrl: './moj-button-menu-item.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojButtonMenuItemComponent {\n @Output() actionClick = new EventEmitter<boolean>();\n\n public handleClick(event: Event) {\n event.preventDefault();\n this.actionClick.emit(true);\n }\n}\n","<a\n href=\"\"\n role=\"menuitem\"\n draggable=\"false\"\n class=\"moj-button-menu__item\"\n data-module=\"govuk-button\"\n data-secondary=\"true\"\n (click)=\"handleClick($event)\"\n>\n <ng-content select=\"[linkText]\"></ng-content>\n</a>\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-button-menu',\n imports: [],\n templateUrl: './moj-button-menu.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojButtonMenuComponent {\n @Input({ required: true }) menuButtonTitle!: string;\n\n /**\n * Toggles the button menu by changing the `aria-expanded` attribute of the toggle button.\n */\n public toggleButtonMenu() {\n const button = document.querySelector('.moj-button-menu__toggle-button')!;\n const isExpanded = button.getAttribute('aria-expanded') === 'true';\n button.setAttribute('aria-expanded', String(!isExpanded));\n }\n}\n","<div class=\"moj-button-menu\">\n <button\n class=\"govuk-button moj-button-menu__toggle-button govuk-button--secondary moj-button-menu__toggle-button--secondary\"\n type=\"button\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n (click)=\"toggleButtonMenu()\"\n >\n {{ menuButtonTitle }}\n </button>\n <div class=\"moj-button-menu__wrapper\" role=\"menu\">\n <ng-content></ng-content>\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,0BAA0B,CAAA;AAC3B,IAAA,WAAW,GAAG,IAAI,YAAY,EAAW;AAE5C,IAAA,WAAW,CAAC,KAAY,EAAA;QAC7B,KAAK,CAAC,cAAc,EAAE;AACtB,QAAA,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC;;wGALlB,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAA1B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,0BAA0B,kICRvC,4PAWA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDHa,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBANtC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,+BAA+B,EAChC,OAAA,EAAA,EAAE,EAEM,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,4PAAA,EAAA;8BAGrC,WAAW,EAAA,CAAA;sBAApB;;;MEDU,sBAAsB,CAAA;AACN,IAAA,eAAe;AAE1C;;AAEG;IACI,gBAAgB,GAAA;QACrB,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,iCAAiC,CAAE;QACzE,MAAM,UAAU,GAAG,MAAM,CAAC,YAAY,CAAC,eAAe,CAAC,KAAK,MAAM;QAClE,MAAM,CAAC,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC;;wGAThD,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAtB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,oICRnC,qbAcA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDNa,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBANlC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,0BAA0B,EAC3B,OAAA,EAAA,EAAE,EAEM,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,qbAAA,EAAA;8BAGpB,eAAe,EAAA,CAAA;sBAAzC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;;AET3B;;AAEG;;;;"}
1
+ {"version":3,"file":"hmcts-opal-frontend-common-components-moj-moj-button-menu.mjs","sources":["../../../projects/opal-frontend-common/components/moj/moj-button-menu/moj-button-menu-item/moj-button-menu-item.component.ts","../../../projects/opal-frontend-common/components/moj/moj-button-menu/moj-button-menu-item/moj-button-menu-item.component.html","../../../projects/opal-frontend-common/components/moj/moj-button-menu/moj-button-menu.component.ts","../../../projects/opal-frontend-common/components/moj/moj-button-menu/moj-button-menu.component.html","../../../projects/opal-frontend-common/components/moj/moj-button-menu/hmcts-opal-frontend-common-components-moj-moj-button-menu.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Output } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-button-menu-item',\n imports: [],\n templateUrl: './moj-button-menu-item.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojButtonMenuItemComponent {\n @Output() actionClick = new EventEmitter<boolean>();\n\n public handleClick(event: Event) {\n event.preventDefault();\n this.actionClick.emit(true);\n }\n}\n","<a\n href=\"\"\n role=\"menuitem\"\n draggable=\"false\"\n class=\"moj-button-menu__item\"\n data-module=\"govuk-button\"\n data-secondary=\"true\"\n (click)=\"handleClick($event)\"\n>\n <ng-content select=\"[linkText]\"></ng-content>\n</a>\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-button-menu',\n imports: [],\n templateUrl: './moj-button-menu.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojButtonMenuComponent {\n @Input({ required: true }) menuButtonTitle!: string;\n\n /**\n * Toggles the button menu by changing the `aria-expanded` attribute of the toggle button.\n */\n public toggleButtonMenu() {\n const button = document.querySelector('.moj-button-menu__toggle-button')!;\n const isExpanded = button.getAttribute('aria-expanded') === 'true';\n button.setAttribute('aria-expanded', String(!isExpanded));\n }\n}\n","<div class=\"moj-button-menu\">\n <button\n class=\"govuk-button moj-button-menu__toggle-button govuk-button--secondary moj-button-menu__toggle-button--secondary\"\n type=\"button\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n (click)=\"toggleButtonMenu()\"\n >\n {{ menuButtonTitle }}\n </button>\n <div class=\"moj-button-menu__wrapper\" role=\"menu\">\n <ng-content></ng-content>\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,0BAA0B,CAAA;AAC3B,IAAA,WAAW,GAAG,IAAI,YAAY,EAAW;AAE5C,IAAA,WAAW,CAAC,KAAY,EAAA;QAC7B,KAAK,CAAC,cAAc,EAAE;AACtB,QAAA,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC;;wGALlB,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,C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AM,EAAA,QAAA,EAAA,qbAAA,EAAA;8BAGpB,eAAe,EAAA,CAAA;sBAAzC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;;AET3B;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"hmcts-opal-frontend-common-components-moj-moj-date-picker.mjs","sources":["../../../projects/opal-frontend-common/components/moj/moj-date-picker/moj-date-picker.component.ts","../../../projects/opal-frontend-common/components/moj/moj-date-picker/moj-date-picker.component.html","../../../projects/opal-frontend-common/components/moj/moj-date-picker/hmcts-opal-frontend-common-components-moj-moj-date-picker.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n OnInit,\n Output,\n afterNextRender,\n inject,\n} from '@angular/core';\nimport { FormControl, AbstractControl, ReactiveFormsModule } from '@angular/forms';\nimport { DateService } from '@hmcts/opal-frontend-common/services/date-service';\nimport { addGdsBodyClass } from '@hmcts/opal-frontend-common/components/govuk/helpers';\n\n@Component({\n selector: 'opal-lib-moj-date-picker',\n imports: [CommonModule, ReactiveFormsModule],\n templateUrl: './moj-date-picker.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojDatePickerComponent implements OnInit {\n private _control!: FormControl;\n public disabledDatesConcatenated!: string;\n\n private readonly dateService = inject(DateService);\n\n @Input({ required: true }) labelText!: string;\n @Input({ required: false }) labelClasses!: string;\n @Input({ required: false }) hintText!: string;\n @Input({ required: true }) inputId!: string;\n @Input({ required: true }) inputName!: string;\n @Input({ required: false }) inputClasses!: string;\n @Input({ required: false }) minDate!: string;\n @Input({ required: false }) maxDate!: string;\n @Input({ required: false }) disabledDates!: string[];\n @Input({ required: false }) disabledDays!: string;\n @Input({ required: false }) errors: string | null = null;\n @Output() dateChange = new EventEmitter<string>();\n\n @Input({ required: true }) set control(abstractControl: AbstractControl) {\n // Form controls are passed in as abstract controls, we need to re-cast it.\n this._control = abstractControl as FormControl;\n }\n\n get getControl() {\n return this._control;\n }\n\n constructor() {\n afterNextRender(() => {\n // Only trigger the render of the component in the browser\n this.configureDatePicker();\n });\n }\n\n /**\n * Retrieves the disabled dates and concatenates them into a single string.\n */\n private concatenateDisabledDates(): void {\n this.disabledDatesConcatenated = this.disabledDates ? this.disabledDates.join(' ') : '';\n }\n\n /**\n * Sets the date value and emits the updated value through the `dateChange` event.\n *\n * @param value - The new date value to set.\n */\n protected setDateValue(value: string) {\n const parsedDate = this.dateService.getFromFormat(value, 'd/M/yyyy');\n if (parsedDate.isValid) {\n const formattedDate = parsedDate.toFormat('dd/MM/yyyy'); // Formats with leading zeros\n this.dateChange.emit(formattedDate);\n } else {\n this.dateChange.emit(value);\n }\n }\n\n /**\n * Configures the date picker functionality using the moj library.\n */\n public configureDatePicker(): void {\n import('@ministryofjustice/frontend/moj/all').then((datePicker) => {\n addGdsBodyClass();\n datePicker.initAll();\n });\n }\n\n public ngOnInit(): void {\n this.concatenateDisabledDates();\n }\n}\n","<div\n class=\"moj-datepicker\"\n data-module=\"moj-date-picker\"\n [attr.data-min-date]=\"minDate\"\n [attr.data-max-date]=\"maxDate\"\n [attr.data-excluded-dates]=\"disabledDatesConcatenated\"\n [attr.data-excluded-days]=\"disabledDays\"\n>\n <div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"!!errors\">\n <label class=\"govuk-label {{ labelClasses }}\" [for]=\"inputId\"> {{ labelText }} </label>\n\n @if (hintText) {\n <div id=\"date-hint\" class=\"govuk-hint\">{{ hintText }}</div>\n }\n\n @if (errors) {\n <p id=\"{{ inputId }}-date-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error: </span> {{ errors }}\n </p>\n }\n\n <input\n class=\"govuk-input moj-js-datepicker-input {{ inputClasses }}\"\n [id]=\"inputId\"\n [name]=\"inputName\"\n type=\"text\"\n aria-describedby=\"date-hint\"\n autocomplete=\"off\"\n [formControl]=\"getControl\"\n (change)=\"setDateValue($any($event).target.value)\"\n />\n </div>\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MAAM,EAAA,CAAA;sBAAjC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBAChB,UAAU,EAAA,CAAA;sBAAnB;gBAE8B,OAAO,EAAA,CAAA;sBAArC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;;AExC3B;;AAEG;;;;"}
1
+ {"version":3,"file":"hmcts-opal-frontend-common-components-moj-moj-date-picker.mjs","sources":["../../../projects/opal-frontend-common/components/moj/moj-date-picker/moj-date-picker.component.ts","../../../projects/opal-frontend-common/components/moj/moj-date-picker/moj-date-picker.component.html","../../../projects/opal-frontend-common/components/moj/moj-date-picker/hmcts-opal-frontend-common-components-moj-moj-date-picker.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n OnInit,\n Output,\n afterNextRender,\n inject,\n} from '@angular/core';\nimport { FormControl, AbstractControl, ReactiveFormsModule } from '@angular/forms';\nimport { DateService } from '@hmcts/opal-frontend-common/services/date-service';\nimport { addGdsBodyClass } from '@hmcts/opal-frontend-common/components/govuk/helpers';\n\n@Component({\n selector: 'opal-lib-moj-date-picker',\n imports: [CommonModule, ReactiveFormsModule],\n templateUrl: './moj-date-picker.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojDatePickerComponent implements OnInit {\n private _control!: FormControl;\n public disabledDatesConcatenated!: string;\n\n private readonly dateService = inject(DateService);\n\n @Input({ required: true }) labelText!: string;\n @Input({ required: false }) labelClasses!: string;\n @Input({ required: false }) hintText!: string;\n @Input({ required: true }) inputId!: string;\n @Input({ required: true }) inputName!: string;\n @Input({ required: false }) inputClasses!: string;\n @Input({ required: false }) minDate!: string;\n @Input({ required: false }) maxDate!: string;\n @Input({ required: false }) disabledDates!: string[];\n @Input({ required: false }) disabledDays!: string;\n @Input({ required: false }) errors: string | null = null;\n @Output() dateChange = new EventEmitter<string>();\n\n @Input({ required: true }) set control(abstractControl: AbstractControl) {\n // Form controls are passed in as abstract controls, we need to re-cast it.\n this._control = abstractControl as FormControl;\n }\n\n get getControl() {\n return this._control;\n }\n\n constructor() {\n afterNextRender(() => {\n // Only trigger the render of the component in the browser\n this.configureDatePicker();\n });\n }\n\n /**\n * Retrieves the disabled dates and concatenates them into a single string.\n */\n private concatenateDisabledDates(): void {\n this.disabledDatesConcatenated = this.disabledDates ? this.disabledDates.join(' ') : '';\n }\n\n /**\n * Sets the date value and emits the updated value through the `dateChange` event.\n *\n * @param value - The new date value to set.\n */\n protected setDateValue(value: string) {\n const parsedDate = this.dateService.getFromFormat(value, 'd/M/yyyy');\n if (parsedDate.isValid) {\n const formattedDate = parsedDate.toFormat('dd/MM/yyyy'); // Formats with leading zeros\n this.dateChange.emit(formattedDate);\n } else {\n this.dateChange.emit(value);\n }\n }\n\n /**\n * Configures the date picker functionality using the moj library.\n */\n public configureDatePicker(): void {\n import('@ministryofjustice/frontend/moj/all').then((datePicker) => {\n addGdsBodyClass();\n datePicker.initAll();\n });\n }\n\n public ngOnInit(): void {\n this.concatenateDisabledDates();\n }\n}\n","<div\n class=\"moj-datepicker\"\n data-module=\"moj-date-picker\"\n [attr.data-min-date]=\"minDate\"\n [attr.data-max-date]=\"maxDate\"\n [attr.data-excluded-dates]=\"disabledDatesConcatenated\"\n [attr.data-excluded-days]=\"disabledDays\"\n>\n <div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"!!errors\">\n <label class=\"govuk-label {{ labelClasses }}\" [for]=\"inputId\"> {{ labelText }} </label>\n\n @if (hintText) {\n <div id=\"date-hint\" class=\"govuk-hint\">{{ hintText }}</div>\n }\n\n @if (errors) {\n <p id=\"{{ inputId }}-date-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error: </span> {{ errors }}\n </p>\n }\n\n <input\n class=\"govuk-input moj-js-datepicker-input {{ inputClasses }}\"\n [id]=\"inputId\"\n [name]=\"inputName\"\n type=\"text\"\n aria-describedby=\"date-hint\"\n autocomplete=\"off\"\n [formControl]=\"getControl\"\n (change)=\"setDateValue($any($event).target.value)\"\n />\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;MAqBa,sBAAsB,CAAA;AACzB,IAAA,QAAQ;AACT,IAAA,yBAAyB;AAEf,IAAA,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;AAEvB,IAAA,SAAS;AACR,IAAA,YAAY;AACZ,IAAA,QAAQ;AACT,IAAA,OAAO;AACP,IAAA,SAAS;AACR,IAAA,YAAY;AACZ,IAAA,OAAO;AACP,IAAA,OAAO;AACP,IAAA,aAAa;AACb,IAAA,YAAY;IACZ,MAAM,GAAkB,IAAI;AAC9C,IAAA,UAAU,GAAG,IAAI,YAAY,EAAU;IAEjD,IAA+B,OAAO,CAAC,eAAgC,EAAA;;AAErE,QAAA,IAAI,CAAC,QAAQ,GAAG,eAA8B;;AAGhD,IAAA,IAAI,UAAU,GAAA;QACZ,OAAO,IAAI,CAAC,QAAQ;;AAGtB,IAAA,WAAA,GAAA;QACE,eAAe,CAAC,MAAK;;YAEnB,IAAI,CAAC,mBAAmB,EAAE;AAC5B,SAAC,CAAC;;AAGJ;;AAEG;IACK,wBAAwB,GAAA;QAC9B,IAAI,CAAC,yBAAyB,GAAG,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE;;AAGzF;;;;AAIG;AACO,IAAA,YAAY,CAAC,KAAa,EAAA;AAClC,QAAA,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,KAAK,EAAE,UAAU,CAAC;AACpE,QAAA,IAAI,UAAU,CAAC,OAAO,EAAE;YACtB,MAAM,aAAa,GAAG,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;AACxD,YAAA,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,aAAa,CAAC;;aAC9B;AACL,YAAA,IAAI,CAA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AAvC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACE,MAAM,EAAA,CAAA;sBAAjC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBAChB,UAAU,EAAA,CAAA;sBAAnB;gBAE8B,OAAO,EAAA,CAAA;sBAArC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;;AExC3B;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"hmcts-opal-frontend-common-components-moj-moj-header.mjs","sources":["../../../projects/opal-frontend-common/components/moj/moj-header/moj-header-navigation-item/moj-header-navigation-item.component.ts","../../../projects/opal-frontend-common/components/moj/moj-header/moj-header-navigation-item/moj-header-navigation-item.component.html","../../../projects/opal-frontend-common/components/moj/moj-header/moj-header.component.ts","../../../projects/opal-frontend-common/components/moj/moj-header/moj-header.component.html","../../../projects/opal-frontend-common/components/moj/moj-header/hmcts-opal-frontend-common-components-moj-moj-header.ts"],"sourcesContent":["import { Component, EventEmitter, Output } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-header-navigation-item, [opal-lib-moj-header-navigation-item]',\n templateUrl: './moj-header-navigation-item.component.html',\n})\nexport class MojHeaderNavigationItemComponent {\n @Output() public actionClick = new EventEmitter<boolean>();\n\n /**\n * Handles the click event for the action button.\n * @param event - The click event.\n */\n handleClick(event: Event): void {\n event.preventDefault();\n this.actionClick.emit(true);\n }\n}\n","<li class=\"moj-header__navigation-item\" role=\"listitem\">\n <a\n class=\"moj-header__navigation-link\"\n (click)=\"handleClick($event)\"\n (keyup.enter)=\"handleClick($event)\"\n tabindex=\"0\"\n href=\"#\"\n >\n <ng-content select=\"[linkText]\"></ng-content>\n </a>\n</li>\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { RouterLink } from '@angular/router';\nimport { IMojHeaderLinks } from './interfaces/moj-header-links.interface';\n\n@Component({\n selector: 'opal-lib-moj-header',\n imports: [RouterLink],\n templateUrl: './moj-header.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojHeaderComponent {\n @Input() public headerLinks!: IMojHeaderLinks;\n}\n","<header class=\"moj-header\" role=\"banner\">\n <div class=\"moj-header__container\">\n <div class=\"moj-header__logo\">\n <a [href]=\"headerLinks.govukLink\" class=\"govuk-header__link\" title=\"GOV.UK\" aria-label=\"GOV.UK home page\">\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"moj-header__logotype-crest\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 40 40\"\n height=\"40\"\n width=\"40\"\n >\n <path\n fill=\"#ffffff\"\n fill-rule=\"evenodd\"\n d=\"M38.1 16.9c.1 1.8 2.2 1.3 1.9 2.7 0-.9-3-.8-3-2.6 0-.3.1-.7.3-.9-.1-.1-.2-.1-.5-.1-.6 0-1.2.6-1.2 1.3 0 2.2 3 2.6 3 5.1 0 .6-.2 1-.6 1.2.2 0 .7-.1.8-.3-.2 1-1.2 1-1.6.6h-.3c.2.4.4.8.9.7-.9.7-2-.2-1.8-1.2-.2-.3-.4-.7-.6-.9-.1-.2-.2-.1-.2.1 0 .8-.6 1.6-.6 2.1 0 .6.6 1.1.8 1.1s.3-.2.4-.2c.1.1.1.2.1.7 0 .2 0 1 .1 1.7 0-.2.2-.3.3-.4.2-.1.4-.2.7-.1.1 0 .3.1.3.2.1.1.1.2.1.3 0 .2-.2.4-.3.6-.2.1-.3.2-.6.1-.2 0-.3-.1-.4-.2v-.1.7c0 .6-.1.8-.3.9 0-.1-.2-.2-.3-.2-.1 0-.3.1-.3.2 0 .2.3.2.3.6s-.8.8-1.3.8c.1-.2.2-.8.3-1.1-.1.1-.3.3-.4.7-.1.4-.3.4-.6.3.2-.2.6-1.1 1-1.3.4-.3.6-.4.7-1.1.1-.7 0-1.1 0-1.7 0-.8-.3-.7-.6-.7-.6 0-2.6-1.3-2.6-2.7v-.4c-.9 0-1.5.2-1.5 1.1 0 .3 0 .6.2.8.2.1.3.3 0 .4-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.4-.9z\"\n ></path>\n </svg>\n </a>\n\n @if (headerLinks.serviceLink) {\n <a [routerLink]=\"headerLinks.serviceLink\" class=\"moj-header__link moj-header__link--organisation-name\">\n <ng-content select=\"[organisationName]\"></ng-content>\n </a>\n\n <a [routerLink]=\"headerLinks.serviceLink\" class=\"moj-header__link moj-header__link--service-name\">\n <ng-content select=\"[serviceName]\"></ng-content>\n </a>\n } @else {\n <span class=\"moj-header__link--organisation-name\">\n <ng-content select=\"[organisationName]\"></ng-content>\n </span>\n\n <span class=\"moj-header__link--service-name\">\n <ng-content select=\"[serviceName]\"></ng-content>\n </span>\n }\n </div>\n <div class=\"moj-header__content\">\n <nav class=\"moj-header__navigation\" aria-label=\"Account navigation\">\n <!--PO-322\n For accessibility we need to add a role to prevent any accessibility issues\n-->\n <ul class=\"moj-header__navigation-list\" role=\"list\">\n <ng-content></ng-content>\n </ul>\n </nav>\n </div>\n </div>\n</header>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAMa,gCAAgC,CAAA;AAC1B,IAAA,WAAW,GAAG,IAAI,YAAY,EAAW;AAE1D;;;AAGG;AACH,IAAA,WAAW,CAAC,KAAY,EAAA;QACtB,KAAK,CAAC,cAAc,EAAE;AACtB,QAAA,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC;;wGATlB,gCAAgC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAhC,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gCAAgC,+KCN7C,8SAWA,EAAA,CAAA;;4FDLa,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAJ5C,SAAS;+BACE,4EAA4E,EAAA,QAAA,EAAA,8SAAA,EAAA;8BAIrE,WAAW,EAAA,CAAA;sBAA3B;;;MEGU,kBAAkB,CAAA;AACb,IAAA,WAAW;wGADhB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECV/B,s+sBAmDA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,ED7CY,UAAU,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,aAAA,EAAA,UAAA,EAAA,qBAAA,EAAA,OAAA,EAAA,MAAA,EAAA,YAAA,EAAA,kBAAA,EAAA,oBAAA,EAAA,YAAA,EAAA,YAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAIT,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,qBAAqB,WACtB,CAAC,UAAU,CAAC,EAEJ,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,s+sBAAA,EAAA;8BAG/B,WAAW,EAAA,CAAA;sBAA1B;;;AEXH;;AAEG;;;;"}
1
+ {"version":3,"file":"hmcts-opal-frontend-common-components-moj-moj-header.mjs","sources":["../../../projects/opal-frontend-common/components/moj/moj-header/moj-header-navigation-item/moj-header-navigation-item.component.ts","../../../projects/opal-frontend-common/components/moj/moj-header/moj-header-navigation-item/moj-header-navigation-item.component.html","../../../projects/opal-frontend-common/components/moj/moj-header/moj-header.component.ts","../../../projects/opal-frontend-common/components/moj/moj-header/moj-header.component.html","../../../projects/opal-frontend-common/components/moj/moj-header/hmcts-opal-frontend-common-components-moj-moj-header.ts"],"sourcesContent":["import { Component, EventEmitter, Output } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-header-navigation-item, [opal-lib-moj-header-navigation-item]',\n templateUrl: './moj-header-navigation-item.component.html',\n})\nexport class MojHeaderNavigationItemComponent {\n @Output() public actionClick = new EventEmitter<boolean>();\n\n /**\n * Handles the click event for the action button.\n * @param event - The click event.\n */\n handleClick(event: Event): void {\n event.preventDefault();\n this.actionClick.emit(true);\n }\n}\n","<li class=\"moj-header__navigation-item\" role=\"listitem\">\n <a\n class=\"moj-header__navigation-link\"\n (click)=\"handleClick($event)\"\n (keyup.enter)=\"handleClick($event)\"\n tabindex=\"0\"\n href=\"#\"\n >\n <ng-content select=\"[linkText]\"></ng-content>\n </a>\n</li>\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { RouterLink } from '@angular/router';\nimport { IMojHeaderLinks } from './interfaces/moj-header-links.interface';\n\n@Component({\n selector: 'opal-lib-moj-header',\n imports: [RouterLink],\n templateUrl: './moj-header.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojHeaderComponent {\n @Input() public headerLinks!: IMojHeaderLinks;\n}\n","<header class=\"moj-header\" role=\"banner\">\n <div class=\"moj-header__container\">\n <div class=\"moj-header__logo\">\n <a [href]=\"headerLinks.govukLink\" class=\"govuk-header__link\" title=\"GOV.UK\" aria-label=\"GOV.UK home page\">\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n class=\"moj-header__logotype-crest\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 40 40\"\n height=\"40\"\n width=\"40\"\n >\n <path\n fill=\"#ffffff\"\n fill-rule=\"evenodd\"\n d=\"M38.1 16.9c.1 1.8 2.2 1.3 1.9 2.7 0-.9-3-.8-3-2.6 0-.3.1-.7.3-.9-.1-.1-.2-.1-.5-.1-.6 0-1.2.6-1.2 1.3 0 2.2 3 2.6 3 5.1 0 .6-.2 1-.6 1.2.2 0 .7-.1.8-.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3.3.3zm-2.3.8c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3s-.3.1-.3.3c0 .2.1.3.3.3zm.6-.6c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3s-.3.1-.3.3c-.1.2.2.3.3.3zm.9-.2c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3s-.3.1-.3.3c-.1.1.1.3.3.3zm-1.5 2.8c0-.2-.1-.3-.3-.3s-.3 0-.3.3c0 .2.1.3.3.3.1 0 .3-.1.3-.3zm-.2-.8c0-.2-.1-.3-.3-.3-.2 0-.3.1-.3.3 0 .2.1.3.3.3.2 0 .3-.2.3-.3zm-.2-.5c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3s-.4.1-.4.3c0 .1.3.3.4.3zm7.7.3c-.1.1-.4.4-.4.8 0 .2.2.6.3.8.1-.3.4-.4.4-.8 0-.3-.2-.5-.3-.8zm-4.9 0c-.2.3-.3.6-.3.9 0 .3.3.4.4.8.1-.3.3-.6.3-.8 0-.5-.3-.8-.4-.9z\"\n ></path>\n </svg>\n </a>\n\n @if (headerLinks.serviceLink) {\n <a [routerLink]=\"headerLinks.serviceLink\" class=\"moj-header__link moj-header__link--organisation-name\">\n <ng-content select=\"[organisationName]\"></ng-content>\n </a>\n\n <a [routerLink]=\"headerLinks.serviceLink\" class=\"moj-header__link moj-header__link--service-name\">\n <ng-content select=\"[serviceName]\"></ng-content>\n </a>\n } @else {\n <span class=\"moj-header__link--organisation-name\">\n <ng-content select=\"[organisationName]\"></ng-content>\n </span>\n\n <span class=\"moj-header__link--service-name\">\n <ng-content select=\"[serviceName]\"></ng-content>\n </span>\n }\n </div>\n <div class=\"moj-header__content\">\n <nav class=\"moj-header__navigation\" aria-label=\"Account navigation\">\n <!--PO-322\n For accessibility we need to add a role to prevent any accessibility issues\n-->\n <ul class=\"moj-header__navigation-list\" role=\"list\">\n <ng-content></ng-content>\n </ul>\n </nav>\n </div>\n </div>\n</header>\n","/**\n * Generated bundle index.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,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAIT,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,qBAAqB,WACtB,CAAC,UAAU,CAAC,EAAA,eAAA,EAEJ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,s+sBAAA,EAAA;8BAG/B,WAAW,EAAA,CAAA;sBAA1B;;;AEXH;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"hmcts-opal-frontend-common-components-moj-moj-notification-badge.mjs","sources":["../../../projects/opal-frontend-common/components/moj/moj-notification-badge/moj-notification-badge.component.ts","../../../projects/opal-frontend-common/components/moj/moj-notification-badge/moj-notification-badge.component.html","../../../projects/opal-frontend-common/components/moj/moj-notification-badge/hmcts-opal-frontend-common-components-moj-moj-notification-badge.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-notification-badge',\n standalone: true,\n imports: [],\n templateUrl: './moj-notification-badge.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojNotificationBadgeComponent {\n @Input({ required: true }) badgeId!: string;\n}\n","<span id=\"{{ badgeId }}-notifications\" class=\"moj-notification-badge\"><ng-content></ng-content></span>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MASa,6BAA6B,CAAA;AACb,IAAA,OAAO;wGADvB,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAA7B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,6BAA6B,2HCT1C,8GACA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDQa,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAPzC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iCAAiC,cAC/B,IAAI,EAAA,OAAA,EACP,EAAE,EAEM,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,8GAAA,EAAA;8BAGpB,OAAO,EAAA,CAAA;sBAAjC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;;AEV3B;;AAEG;;;;"}
1
+ {"version":3,"file":"hmcts-opal-frontend-common-components-moj-moj-notification-badge.mjs","sources":["../../../projects/opal-frontend-common/components/moj/moj-notification-badge/moj-notification-badge.component.ts","../../../projects/opal-frontend-common/components/moj/moj-notification-badge/moj-notification-badge.component.html","../../../projects/opal-frontend-common/components/moj/moj-notification-badge/hmcts-opal-frontend-common-components-moj-moj-notification-badge.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-notification-badge',\n standalone: true,\n imports: [],\n templateUrl: './moj-notification-badge.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojNotificationBadgeComponent {\n @Input({ required: true }) badgeId!: string;\n}\n","<span id=\"{{ badgeId }}-notifications\" class=\"moj-notification-badge\"><ng-content></ng-content></span>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MASa,6BAA6B,CAAA;AACb,IAAA,OAAO;wGADvB,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAA7B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,6BAA6B,2HCT1C,8GACA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDQa,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAPzC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iCAAiC,cAC/B,IAAI,EAAA,OAAA,EACP,EAAE,EAAA,eAAA,EAEM,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,8GAAA,EAAA;8BAGpB,OAAO,EAAA,CAAA;sBAAjC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;;AEV3B;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"hmcts-opal-frontend-common-components-moj-moj-page-header.mjs","sources":["../../../projects/opal-frontend-common/components/moj/moj-page-header/moj-page-header.component.ts","../../../projects/opal-frontend-common/components/moj/moj-page-header/moj-page-header.component.html","../../../projects/opal-frontend-common/components/moj/moj-page-header/hmcts-opal-frontend-common-components-moj-moj-page-header.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-page-header',\n imports: [],\n templateUrl: './moj-page-header.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n styleUrl: './moj-page-header.component.scss',\n})\nexport class MojPageHeaderComponent {\n @Input({ required: true }) title!: string;\n}\n","<div class=\"moj-page-header-actions\">\n <div class=\"moj-page-header-actions__title\">\n <h1 class=\"govuk-heading-xl\">{{ title }}</h1>\n </div>\n <div class=\"moj-page-header-actions__actions\">\n <div class=\"moj-button-menu\">\n <div class=\"moj-button-menu__wrapper\">\n <ng-content select=\"[buttons]\"></ng-content>\n </div>\n </div>\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MASa,sBAAsB,CAAA;AACN,IAAA,KAAK;wGADrB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAtB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,gHCTnC,yYAYA,EAAA,MAAA,EAAA,CAAA,kDAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDHa,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAPlC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,0BAA0B,EAC3B,OAAA,EAAA,EAAE,EAEM,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,yYAAA,EAAA,MAAA,EAAA,CAAA,kDAAA,CAAA,EAAA;8BAIpB,KAAK,EAAA,CAAA;sBAA/B,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;;AEV3B;;AAEG;;;;"}
1
+ {"version":3,"file":"hmcts-opal-frontend-common-components-moj-moj-page-header.mjs","sources":["../../../projects/opal-frontend-common/components/moj/moj-page-header/moj-page-header.component.ts","../../../projects/opal-frontend-common/components/moj/moj-page-header/moj-page-header.component.html","../../../projects/opal-frontend-common/components/moj/moj-page-header/hmcts-opal-frontend-common-components-moj-moj-page-header.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-page-header',\n imports: [],\n templateUrl: './moj-page-header.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n styleUrl: './moj-page-header.component.scss',\n})\nexport class MojPageHeaderComponent {\n @Input({ required: true }) title!: string;\n}\n","<div class=\"moj-page-header-actions\">\n <div class=\"moj-page-header-actions__title\">\n <h1 class=\"govuk-heading-xl\">{{ title }}</h1>\n </div>\n <div class=\"moj-page-header-actions__actions\">\n <div class=\"moj-button-menu\">\n <div class=\"moj-button-menu__wrapper\">\n <ng-content select=\"[buttons]\"></ng-content>\n </div>\n </div>\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MASa,sBAAsB,CAAA;AACN,IAAA,KAAK;wGADrB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAtB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,gHCTnC,yYAYA,EAAA,MAAA,EAAA,CAAA,kDAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDHa,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAPlC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,0BAA0B,EAAA,OAAA,EAC3B,EAAE,EAAA,eAAA,EAEM,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,yYAAA,EAAA,MAAA,EAAA,CAAA,kDAAA,CAAA,EAAA;8BAIpB,KAAK,EAAA,CAAA;sBAA/B,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;;AEV3B;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"hmcts-opal-frontend-common-components-moj-moj-pagination.mjs","sources":["../../../projects/opal-frontend-common/components/moj/moj-pagination/moj-pagination-item/moj-pagination-item.component.ts","../../../projects/opal-frontend-common/components/moj/moj-pagination/moj-pagination-item/moj-pagination-item.component.html","../../../projects/opal-frontend-common/components/moj/moj-pagination/moj-pagination-link/moj-pagination-link.component.ts","../../../projects/opal-frontend-common/components/moj/moj-pagination/moj-pagination-link/moj-pagination-link.component.html","../../../projects/opal-frontend-common/components/moj/moj-pagination/moj-pagination-list/moj-pagination-list.component.ts","../../../projects/opal-frontend-common/components/moj/moj-pagination/moj-pagination-list/moj-pagination-list.component.html","../../../projects/opal-frontend-common/components/moj/moj-pagination/moj-pagination.component.ts","../../../projects/opal-frontend-common/components/moj/moj-pagination/moj-pagination.component.html","../../../projects/opal-frontend-common/components/moj/moj-pagination/hmcts-opal-frontend-common-components-moj-moj-pagination.ts"],"sourcesContent":["import { Component, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-pagination-item , [opal-lib-moj-pagination-item]',\n imports: [],\n templateUrl: './moj-pagination-item.component.html',\n})\nexport class MojPaginationItemComponent {\n @HostBinding('class') class = 'moj-pagination__item';\n}\n","<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-pagination-link',\n imports: [],\n templateUrl: './moj-pagination-link.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojPaginationLinkComponent {\n @Input({ required: true }) page: number | string = 1;\n @Input({ required: true }) currentPage: number = 1;\n @Input({ required: true }) totalPages: number = 1;\n @Input() changePage: EventEmitter<number> = new EventEmitter<number>();\n\n /**\n * Checks if the given page number is not the current page.\n *\n * @param page - The page number to check.\n * @returns A boolean indicating whether the given page is not the current page.\n */\n\n private pageIsNotCurrentPage(page: number): boolean {\n return page !== this.currentPage;\n }\n\n /**\n * Checks if the given page number is not negative.\n *\n * @param page - The page number to check.\n * @returns `true` if the page number is greater than 0, otherwise `false`.\n */\n\n private pageIsNotNegative(page: number): boolean {\n return page > 0;\n }\n\n /**\n * Checks if the given page number is not greater than the total number of pages.\n *\n * @param page - The page number to check.\n * @returns `true` if the page number is less than or equal to the total number of pages, otherwise `false`.\n */\n\n private pageIsNotGreaterThanTotalPages(page: number): boolean {\n return page <= this.totalPages;\n }\n /**\n * Handles the page change event.\n *\n * @param event - The mouse event that triggered the page change.\n * @param page - The page number to change to.\n *\n * Prevents the default action of the event and checks if the page number is valid.\n * A valid page number is one that is not the current page, is greater than 0,\n * and is less than or equal to the total number of pages.\n * If the page number is valid, emits the changePage event with the new page number.\n */\n public changePageEvent(event: MouseEvent, page: number): void {\n event.preventDefault();\n\n if (this.pageIsNotCurrentPage(page) && this.pageIsNotNegative(page) && this.pageIsNotGreaterThanTotalPages(page)) {\n this.changePage.emit(page);\n }\n }\n}\n","<a class=\"moj-pagination__link\" href=\"#\" (click)=\"changePageEvent($event, +page)\"> <ng-content></ng-content></a>\n","import { Component, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-pagination-list , [opal-lib-moj-pagination-list]',\n imports: [],\n templateUrl: './moj-pagination-list.component.html',\n})\nexport class MojPaginationListComponent {\n @HostBinding('class') class = 'moj-pagination__list';\n}\n","<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnChanges, Output, signal } from '@angular/core';\nimport { MojPaginationItemComponent } from './moj-pagination-item/moj-pagination-item.component';\nimport { MojPaginationListComponent } from './moj-pagination-list/moj-pagination-list.component';\nimport { MojPaginationLinkComponent } from './moj-pagination-link/moj-pagination-link.component';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'opal-lib-moj-pagination,',\n styleUrls: ['./moj-pagination.component.scss'],\n\n imports: [CommonModule, MojPaginationItemComponent, MojPaginationListComponent, MojPaginationLinkComponent],\n templateUrl: './moj-pagination.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojPaginationComponent implements OnChanges {\n @Input() currentPage = 1;\n @Input() total = 0;\n @Input() maxPagesToShow = 5;\n @Input() limit = 100;\n @Input() ariaLabel = 'Pagination navigation';\n @Output() changePage = new EventEmitter<number>();\n\n public pages = signal<(number | string)[]>([]);\n public totalPages = signal<number>(0);\n public startItem = signal<number>(0);\n public endItem = signal<number>(0);\n public totalItems = signal<number>(0);\n\n /**\n * Updates the pagination signals based on the current state.\n *\n * This method recalculates and sets the following signals:\n * - `totalPages`: The total number of pages based on the total items and items per page limit.\n * - `startItem`: The index of the first item on the current page.\n * - `endItem`: The index of the last item on the current page.\n * - `pages`: The array of page numbers to be displayed.\n * - `totalItems`: The total number of items.\n *\n * @private\n */\n private setSignals(): void {\n this.totalPages.set(this.getTotalPages(this.total, this.limit));\n this.startItem.set(this.getStartItem(this.currentPage, this.limit));\n this.endItem.set(this.getEndItem(this.currentPage, this.limit, this.total));\n this.setPages();\n this.setTotalItems();\n }\n\n /**\n * Calculates the total number of pages based on the total number of items and the limit of items per page.\n *\n * @param total - The total number of items.\n * @param limit - The number of items per page.\n * @returns The total number of pages.\n */\n private getTotalPages(total: number, limit: number): number {\n return Math.ceil(total / limit);\n }\n /**\n * Sets the pagination pages based on the current page and total pages.\n * This method updates the `pages` property with the result of the `getPages` method.\n *\n * @private\n */\n private setPages(): void {\n this.pages.set(this.getPages(this.currentPage, this.totalPages()));\n }\n\n /**\n * Calculates the starting item index for pagination.\n *\n * @param currentPage - The current page number.\n * @param limit - The number of items per page.\n * @returns The starting item index for the given page.\n */\n private getStartItem(currentPage: number, limit: number): number {\n return (currentPage - 1) * limit + 1;\n }\n\n /**\n * Calculates the end item index for pagination.\n *\n * @param currentPage - The current page number.\n * @param limit - The number of items per page.\n * @param total - The total number of items.\n * @returns The index of the last item on the current page, or the total number of items if the end of the list is reached.\n */\n private getEndItem(currentPage: number, limit: number, total: number): number {\n return Math.min(currentPage * limit, total);\n }\n /**\n * Updates the total number of items by setting the value of `totalItems` to the current `total`.\n *\n * @private\n */\n private setTotalItems(): void {\n this.totalItems.set(this.total);\n }\n\n /**\n * Generates an array of page numbers and ellipses for pagination display.\n *\n * @param currentPage - The current active page number.\n * @param totalPages - The total number of pages available.\n * @returns An array of page numbers and ellipses representing the pagination.\n *\n * The function ensures that the pagination display shows a maximum of 5 pages at a time.\n * It calculates the range of pages to display based on the current page and total pages.\n * If the start page is greater than 1, it adds an ellipsis and the first page at the beginning.\n * If the end page is less than the total pages, it adds an ellipsis and the last page at the end.\n */\n private getPages(currentPage: number, totalPages: number): (number | string)[] {\n const halfPagesToShow = Math.floor(this.maxPagesToShow / 2);\n const eclipses = '...';\n\n const startPage = this.calculateStartPage(currentPage, totalPages, halfPagesToShow);\n const endPage = this.calculateEndPage(currentPage, totalPages, halfPagesToShow);\n\n const pages = this.generatePageNumbers(startPage, endPage);\n\n if (startPage > 1) {\n pages.unshift(eclipses);\n pages.unshift(1);\n }\n\n if (endPage < totalPages) {\n pages.push(eclipses);\n pages.push(totalPages);\n }\n\n return pages;\n }\n\n /**\n * Calculates the start page for pagination based on the current page, total pages, and the number of pages to show on either side of the current page.\n *\n * @param currentPage - The current active page number.\n * @param totalPages - The total number of pages available.\n * @param halfPagesToShow - The number of pages to show on either side of the current page.\n * @returns The start page number for pagination.\n */\n private calculateStartPage(currentPage: number, totalPages: number, halfPagesToShow: number): number {\n let startPage = Math.max(1, currentPage - halfPagesToShow);\n\n if (currentPage - halfPagesToShow <= 0) {\n startPage = 1;\n } else if (currentPage + halfPagesToShow > totalPages) {\n startPage = Math.max(1, startPage - (currentPage + halfPagesToShow - totalPages));\n }\n\n return startPage;\n }\n\n /**\n * Calculates the end page number for pagination based on the current page, total pages, and the number of pages to show.\n *\n * @param currentPage - The current page number.\n * @param totalPages - The total number of pages.\n * @param halfPagesToShow - Half the number of pages to show around the current page.\n * @returns The calculated end page number.\n */\n private calculateEndPage(currentPage: number, totalPages: number, halfPagesToShow: number): number {\n let endPage = Math.min(totalPages, currentPage + halfPagesToShow);\n\n if (currentPage - halfPagesToShow <= 0) {\n endPage = Math.min(totalPages, endPage + (halfPagesToShow - currentPage + 1));\n } else if (currentPage + halfPagesToShow > totalPages) {\n endPage = totalPages;\n }\n\n return endPage;\n }\n\n /**\n * Generates an array of page numbers from the startPage to the endPage.\n *\n * @param startPage - The starting page number.\n * @param endPage - The ending page number.\n * @returns An array of page numbers from startPage to endPage.\n */\n private generatePageNumbers(startPage: number, endPage: number): (number | string)[] {\n const pages: (number | string)[] = [];\n for (let i = startPage; i <= endPage; i++) {\n pages.push(i);\n }\n return pages;\n }\n\n public ngOnChanges(): void {\n this.setSignals();\n }\n}\n","<nav class=\"moj-pagination moj-pagination-alignment\" [attr.aria-label]=\"ariaLabel\">\n <ul opal-lib-moj-pagination-list>\n <li opal-lib-moj-pagination-item class=\"moj-pagination__item moj-pagination__item--prev\">\n @if (currentPage > 1) {\n <opal-lib-moj-pagination-link\n [changePage]=\"changePage\"\n [page]=\"currentPage - 1\"\n [currentPage]=\"currentPage\"\n [totalPages]=\"totalPages()\"\n >Previous<span class=\"govuk-visually-hidden\"> page </span></opal-lib-moj-pagination-link\n >\n }\n </li>\n @for (page of pages(); track page) {\n <li\n opal-lib-moj-pagination-item\n [class.moj-pagination__item--active]=\"page === currentPage\"\n [class.moj-pagination__item--dot]=\"page === '...'\"\n >\n @if (page !== currentPage && page !== '...') {\n <opal-lib-moj-pagination-link\n [changePage]=\"changePage\"\n [page]=\"+page\"\n [currentPage]=\"currentPage\"\n [totalPages]=\"totalPages()\"\n >\n {{ page }}\n </opal-lib-moj-pagination-link>\n } @else if (page === '...') {\n <strong>...</strong>\n } @else {\n {{ page }}\n }\n </li>\n }\n\n <li opal-lib-moj-pagination-item class=\"moj-pagination__item moj-pagination__item--next\">\n @if (currentPage < totalPages()) {\n <opal-lib-moj-pagination-link\n [changePage]=\"changePage\"\n [page]=\"currentPage + 1\"\n [currentPage]=\"currentPage\"\n [totalPages]=\"totalPages()\"\n >Next<span class=\"govuk-visually-hidden\"> page</span></opal-lib-moj-pagination-link\n >\n }\n </li>\n </ul>\n <p class=\"moj-pagination__results\">\n Showing <b>{{ startItem() - 1 }}</b> to <b>{{ endItem() }}</b> of <b>{{ totalItems() }}</b> results\n </p>\n</nav>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAOa,0BAA0B,CAAA;IACf,KAAK,GAAG,sBAAsB;wGADzC,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAA1B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CA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moj-moj-pagination.mjs","sources":["../../../projects/opal-frontend-common/components/moj/moj-pagination/moj-pagination-item/moj-pagination-item.component.ts","../../../projects/opal-frontend-common/components/moj/moj-pagination/moj-pagination-item/moj-pagination-item.component.html","../../../projects/opal-frontend-common/components/moj/moj-pagination/moj-pagination-link/moj-pagination-link.component.ts","../../../projects/opal-frontend-common/components/moj/moj-pagination/moj-pagination-link/moj-pagination-link.component.html","../../../projects/opal-frontend-common/components/moj/moj-pagination/moj-pagination-list/moj-pagination-list.component.ts","../../../projects/opal-frontend-common/components/moj/moj-pagination/moj-pagination-list/moj-pagination-list.component.html","../../../projects/opal-frontend-common/components/moj/moj-pagination/moj-pagination.component.ts","../../../projects/opal-frontend-common/components/moj/moj-pagination/moj-pagination.component.html","../../../projects/opal-frontend-common/components/moj/moj-pagination/hmcts-opal-frontend-common-components-moj-moj-pagination.ts"],"sourcesContent":["import { Component, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-pagination-item , [opal-lib-moj-pagination-item]',\n imports: [],\n templateUrl: './moj-pagination-item.component.html',\n})\nexport class MojPaginationItemComponent {\n @HostBinding('class') class = 'moj-pagination__item';\n}\n","<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-pagination-link',\n imports: [],\n templateUrl: './moj-pagination-link.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojPaginationLinkComponent {\n @Input({ required: true }) page: number | string = 1;\n @Input({ required: true }) currentPage: number = 1;\n @Input({ required: true }) totalPages: number = 1;\n @Input() changePage: EventEmitter<number> = new EventEmitter<number>();\n\n /**\n * Checks if the given page number is not the current page.\n *\n * @param page - The page number to check.\n * @returns A boolean indicating whether the given page is not the current page.\n */\n\n private pageIsNotCurrentPage(page: number): boolean {\n return page !== this.currentPage;\n }\n\n /**\n * Checks if the given page number is not negative.\n *\n * @param page - The page number to check.\n * @returns `true` if the page number is greater than 0, otherwise `false`.\n */\n\n private pageIsNotNegative(page: number): boolean {\n return page > 0;\n }\n\n /**\n * Checks if the given page number is not greater than the total number of pages.\n *\n * @param page - The page number to check.\n * @returns `true` if the page number is less than or equal to the total number of pages, otherwise `false`.\n */\n\n private pageIsNotGreaterThanTotalPages(page: number): boolean {\n return page <= this.totalPages;\n }\n /**\n * Handles the page change event.\n *\n * @param event - The mouse event that triggered the page change.\n * @param page - The page number to change to.\n *\n * Prevents the default action of the event and checks if the page number is valid.\n * A valid page number is one that is not the current page, is greater than 0,\n * and is less than or equal to the total number of pages.\n * If the page number is valid, emits the changePage event with the new page number.\n */\n public changePageEvent(event: MouseEvent, page: number): void {\n event.preventDefault();\n\n if (this.pageIsNotCurrentPage(page) && this.pageIsNotNegative(page) && this.pageIsNotGreaterThanTotalPages(page)) {\n this.changePage.emit(page);\n }\n }\n}\n","<a class=\"moj-pagination__link\" href=\"#\" (click)=\"changePageEvent($event, +page)\"> <ng-content></ng-content></a>\n","import { Component, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-moj-pagination-list , [opal-lib-moj-pagination-list]',\n imports: [],\n templateUrl: './moj-pagination-list.component.html',\n})\nexport class MojPaginationListComponent {\n @HostBinding('class') class = 'moj-pagination__list';\n}\n","<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnChanges, Output, signal } from '@angular/core';\nimport { MojPaginationItemComponent } from './moj-pagination-item/moj-pagination-item.component';\nimport { MojPaginationListComponent } from './moj-pagination-list/moj-pagination-list.component';\nimport { MojPaginationLinkComponent } from './moj-pagination-link/moj-pagination-link.component';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'opal-lib-moj-pagination,',\n styleUrls: ['./moj-pagination.component.scss'],\n\n imports: [CommonModule, MojPaginationItemComponent, MojPaginationListComponent, MojPaginationLinkComponent],\n templateUrl: './moj-pagination.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojPaginationComponent implements OnChanges {\n @Input() currentPage = 1;\n @Input() total = 0;\n @Input() maxPagesToShow = 5;\n @Input() limit = 100;\n @Input() ariaLabel = 'Pagination navigation';\n @Output() changePage = new EventEmitter<number>();\n\n public pages = signal<(number | string)[]>([]);\n public totalPages = signal<number>(0);\n public startItem = signal<number>(0);\n public endItem = signal<number>(0);\n public totalItems = signal<number>(0);\n\n /**\n * Updates the pagination signals based on the current state.\n *\n * This method recalculates and sets the following signals:\n * - `totalPages`: The total number of pages based on the total items and items per page limit.\n * - `startItem`: The index of the first item on the current page.\n * - `endItem`: The index of the last item on the current page.\n * - `pages`: The array of page numbers to be displayed.\n * - `totalItems`: The total number of items.\n *\n * @private\n */\n private setSignals(): void {\n this.totalPages.set(this.getTotalPages(this.total, this.limit));\n this.startItem.set(this.getStartItem(this.currentPage, this.limit));\n this.endItem.set(this.getEndItem(this.currentPage, this.limit, this.total));\n this.setPages();\n this.setTotalItems();\n }\n\n /**\n * Calculates the total number of pages based on the total number of items and the limit of items per page.\n *\n * @param total - The total number of items.\n * @param limit - The number of items per page.\n * @returns The total number of pages.\n */\n private getTotalPages(total: number, limit: number): number {\n return Math.ceil(total / limit);\n }\n /**\n * Sets the pagination pages based on the current page and total pages.\n * This method updates the `pages` property with the result of the `getPages` method.\n *\n * @private\n */\n private setPages(): void {\n this.pages.set(this.getPages(this.currentPage, this.totalPages()));\n }\n\n /**\n * Calculates the starting item index for pagination.\n *\n * @param currentPage - The current page number.\n * @param limit - The number of items per page.\n * @returns The starting item index for the given page.\n */\n private getStartItem(currentPage: number, limit: number): number {\n return (currentPage - 1) * limit + 1;\n }\n\n /**\n * Calculates the end item index for pagination.\n *\n * @param currentPage - The current page number.\n * @param limit - The number of items per page.\n * @param total - The total number of items.\n * @returns The index of the last item on the current page, or the total number of items if the end of the list is reached.\n */\n private getEndItem(currentPage: number, limit: number, total: number): number {\n return Math.min(currentPage * limit, total);\n }\n /**\n * Updates the total number of items by setting the value of `totalItems` to the current `total`.\n *\n * @private\n */\n private setTotalItems(): void {\n this.totalItems.set(this.total);\n }\n\n /**\n * Generates an array of page numbers and ellipses for pagination display.\n *\n * @param currentPage - The current active page number.\n * @param totalPages - The total number of pages available.\n * @returns An array of page numbers and ellipses representing the pagination.\n *\n * The function ensures that the pagination display shows a maximum of 5 pages at a time.\n * It calculates the range of pages to display based on the current page and total pages.\n * If the start page is greater than 1, it adds an ellipsis and the first page at the beginning.\n * If the end page is less than the total pages, it adds an ellipsis and the last page at the end.\n */\n private getPages(currentPage: number, totalPages: number): (number | string)[] {\n const halfPagesToShow = Math.floor(this.maxPagesToShow / 2);\n const eclipses = '...';\n\n const startPage = this.calculateStartPage(currentPage, totalPages, halfPagesToShow);\n const endPage = this.calculateEndPage(currentPage, totalPages, halfPagesToShow);\n\n const pages = this.generatePageNumbers(startPage, endPage);\n\n if (startPage > 1) {\n pages.unshift(eclipses);\n pages.unshift(1);\n }\n\n if (endPage < totalPages) {\n pages.push(eclipses);\n pages.push(totalPages);\n }\n\n return pages;\n }\n\n /**\n * Calculates the start page for pagination based on the current page, total pages, and the number of pages to show on either side of the current page.\n *\n * @param currentPage - The current active page number.\n * @param totalPages - The total number of pages available.\n * @param halfPagesToShow - The number of pages to show on either side of the current page.\n * @returns The start page number for pagination.\n */\n private calculateStartPage(currentPage: number, totalPages: number, halfPagesToShow: number): number {\n let startPage = Math.max(1, currentPage - halfPagesToShow);\n\n if (currentPage - halfPagesToShow <= 0) {\n startPage = 1;\n } else if (currentPage + halfPagesToShow > totalPages) {\n startPage = Math.max(1, startPage - (currentPage + halfPagesToShow - totalPages));\n }\n\n return startPage;\n }\n\n /**\n * Calculates the end page number for pagination based on the current page, total pages, and the number of pages to show.\n *\n * @param currentPage - The current page number.\n * @param totalPages - The total number of pages.\n * @param halfPagesToShow - Half the number of pages to show around the current page.\n * @returns The calculated end page number.\n */\n private calculateEndPage(currentPage: number, totalPages: number, halfPagesToShow: number): number {\n let endPage = Math.min(totalPages, currentPage + halfPagesToShow);\n\n if (currentPage - halfPagesToShow <= 0) {\n endPage = Math.min(totalPages, endPage + (halfPagesToShow - currentPage + 1));\n } else if (currentPage + halfPagesToShow > totalPages) {\n endPage = totalPages;\n }\n\n return endPage;\n }\n\n /**\n * Generates an array of page numbers from the startPage to the endPage.\n *\n * @param startPage - The starting page number.\n * @param endPage - The ending page number.\n * @returns An array of page numbers from startPage to endPage.\n */\n private generatePageNumbers(startPage: number, endPage: number): (number | string)[] {\n const pages: (number | string)[] = [];\n for (let i = startPage; i <= endPage; i++) {\n pages.push(i);\n }\n return pages;\n }\n\n public ngOnChanges(): void {\n this.setSignals();\n }\n}\n","<nav class=\"moj-pagination moj-pagination-alignment\" [attr.aria-label]=\"ariaLabel\">\n <ul opal-lib-moj-pagination-list>\n <li opal-lib-moj-pagination-item class=\"moj-pagination__item moj-pagination__item--prev\">\n @if (currentPage > 1) {\n <opal-lib-moj-pagination-link\n [changePage]=\"changePage\"\n [page]=\"currentPage - 1\"\n [currentPage]=\"currentPage\"\n [totalPages]=\"totalPages()\"\n >Previous<span class=\"govuk-visually-hidden\"> page </span></opal-lib-moj-pagination-link\n >\n }\n </li>\n @for (page of pages(); track page) {\n <li\n opal-lib-moj-pagination-item\n [class.moj-pagination__item--active]=\"page === currentPage\"\n [class.moj-pagination__item--dot]=\"page === '...'\"\n >\n @if (page !== currentPage && page !== '...') {\n <opal-lib-moj-pagination-link\n [changePage]=\"changePage\"\n [page]=\"+page\"\n [currentPage]=\"currentPage\"\n [totalPages]=\"totalPages()\"\n >\n {{ page }}\n </opal-lib-moj-pagination-link>\n } @else if (page === '...') {\n <strong>...</strong>\n } @else {\n {{ page }}\n }\n </li>\n }\n\n <li opal-lib-moj-pagination-item class=\"moj-pagination__item moj-pagination__item--next\">\n @if (currentPage < totalPages()) {\n <opal-lib-moj-pagination-link\n [changePage]=\"changePage\"\n [page]=\"currentPage + 1\"\n [currentPage]=\"currentPage\"\n [totalPages]=\"totalPages()\"\n >Next<span class=\"govuk-visually-hidden\"> page</span></opal-lib-moj-pagination-link\n >\n }\n </li>\n </ul>\n <p class=\"moj-pagination__results\">\n Showing <b>{{ startItem() - 1 }}</b> to <b>{{ endItem() }}</b> of <b>{{ totalItems() }}</b> results\n </p>\n</nav>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAOa,0BAA0B,CAAA;IACf,KAAK,GAAG,sBAAsB;wGADzC,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAA1B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,0BAA0B,0KCPvC,6BACA,EAAA,CAAA;;4FDMa,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBALtC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,+DAA+D,WAChE,EAAE,EAAA,QAAA,EAAA,6BAAA,EAAA;8BAIW,KAAK,EAAA,CAAA;sBAA1B,WAAW;uBAAC,OAAO;;;MEAT,0BAA0B,CAAA;IACV,IAAI,GAAoB,CAAC;IACzB,WAAW,GAAW,CAAC;IACvB,UAAU,GAAW,CAAC;AACxC,IAAA,UAAU,GAAyB,IAAI,YAAY,EAAU;AAEtE;;;;;AAKG;AAEK,IAAA,oBAAoB,CAAC,IAAY,EAAA;AACvC,QAAA,OAAO,IAAI,KAAK,IAAI,CAAC,WAAW;;AAGlC;;;;;AAKG;AAEK,IAAA,iBAAiB,CAAC,IAAY,EAAA;QACpC,OAAO,IAAI,GAAG,CAAC;;AAGjB;;;;;AAKG;AAEK,IAAA,8BAA8B,CAAC,IAAY,EAAA;AACjD,QAAA,OAAO,IAAI,IAAI,IAAI,CAAC,UAAU;;AAEhC;;;;;;;;;;AAUG;IACI,eAAe,CAAC,KAAiB,EAAE,IAAY,EAAA;QACpD,KAAK,CAAC,cAAc,EAAE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AAE,0BAA0B,CAAC,EAAA,eAAA,EAE1F,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,+4DAAA,EAAA,MAAA,EAAA,CAAA,sFAAA,CAAA,EAAA;8BAGtC,WAAW,EAAA,CAAA;sBAAnB;gBACQ,KAAK,EAAA,CAAA;sBAAb;gBACQ,cAAc,EAAA,CAAA;sBAAtB;gBACQ,KAAK,EAAA,CAAA;sBAAb;gBACQ,SAAS,EAAA,CAAA;sBAAjB;gBACS,UAAU,EAAA,CAAA;sBAAnB;;;AEpBH;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"hmcts-opal-frontend-common-components-moj-moj-primary-navigation.mjs","sources":["../../../projects/opal-frontend-common/components/moj/moj-primary-navigation/moj-primary-navigation-item/moj-primary-navigation-item.component.ts","../../../projects/opal-frontend-common/components/moj/moj-primary-navigation/moj-primary-navigation-item/moj-primary-navigation-item.component.html","../../../projects/opal-frontend-common/components/moj/moj-primary-navigation/moj-primary-navigation.component.ts","../../../projects/opal-frontend-common/components/moj/moj-primary-navigation/moj-primary-navigation.component.html","../../../projects/opal-frontend-common/components/moj/moj-primary-navigation/hmcts-opal-frontend-common-components-moj-moj-primary-navigation.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, HostBinding, Input, inject } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\n\n@Component({\n selector: 'opal-lib-moj-primary-navigation-item, [opal-lib-moj-primary-navigation-item]',\n imports: [],\n templateUrl: './moj-primary-navigation-item.component.html',\n styleUrls: ['./moj-primary-navigation-item.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojPrimaryNavigationItemComponent {\n private readonly router = inject(Router);\n private readonly route = inject(ActivatedRoute);\n\n @Input({ required: true }) public primaryNavigationItemId!: string;\n @Input({ required: true }) public primaryNavigationItemFragment!: string;\n @Input({ required: true }) public primaryNavigationItemText!: string;\n @Input({ required: true }) public activeItemFragment!: string;\n @Input({ required: false }) public isLastItem: boolean = false;\n\n @HostBinding('class') hostClass = 'moj-primary-navigation__item';\n @HostBinding('id') hostId = `${this.primaryNavigationItemId}`;\n @HostBinding('class.last-item') hostLastItem = this.isLastItem;\n\n /**\n * Handles the click event of a sub-navigation item.\n * @param event - The click event.\n * @param item - The item string.\n */\n public handleItemClick(event: Event, item: string): void {\n event.preventDefault();\n // Basically we want to mimic the behaviour of the GDS tabs component, as this is how these will be used.\n this.router.navigate(['./'], { relativeTo: this.route, fragment: item });\n }\n}\n","<a\n href=\"\"\n class=\"moj-primary-navigation__link cursor-pointer\"\n [attr.aria-current]=\"primaryNavigationItemFragment === activeItemFragment ? 'page' : null\"\n (click)=\"handleItemClick($event, primaryNavigationItemFragment)\"\n (keyup.enter)=\"handleItemClick($event, primaryNavigationItemFragment)\"\n >{{ primaryNavigationItemText }}</a\n>\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n OnDestroy,\n OnInit,\n Output,\n inject,\n} from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { Subject, takeUntil } from 'rxjs';\n\n@Component({\n selector: 'opal-lib-moj-primary-navigation',\n imports: [],\n templateUrl: './moj-primary-navigation.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojPrimaryNavigationComponent implements OnInit, OnDestroy {\n private readonly router = inject(Router);\n private readonly route = inject(ActivatedRoute);\n private readonly ngUnsubscribe = new Subject<void>();\n\n @Input({ required: true }) public primaryNavigationId!: string;\n @Output() activeItemFragment = new EventEmitter<string>();\n\n /**\n * Sets up the listeners for the route fragment changes.\n * Emits the active navigation item when a fragment is present in the route.\n */\n private setupListeners(): void {\n // Basically we want to mimic the behaviour of the GDS tabs component, as this is how these will be used.\n this.route.fragment.pipe(takeUntil(this.ngUnsubscribe)).subscribe((fragment) => {\n if (fragment) {\n this.activeItemFragment.emit(fragment);\n }\n });\n }\n\n /**\n * Initializes the component.\n * This method is called after the component has been created and initialized.\n */\n public ngOnInit(): void {\n this.setupListeners();\n }\n\n /**\n * Lifecycle hook that is called when the component is about to be destroyed.\n * Unsubscribes from the route fragment subscription.\n */\n public ngOnDestroy(): void {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n }\n}\n","<div class=\"moj-primary-navigation\" [id]=\"primaryNavigationId\">\n <div class=\"moj-primary-navigation__container\">\n <div class=\"moj-primary-navigation__nav\">\n <nav class=\"moj-primary-navigation\" aria-label=\"Primary navigation\">\n <ul class=\"moj-primary-navigation__list\">\n <ng-content></ng-content>\n </ul>\n </nav>\n </div>\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAUa,iCAAiC,CAAA;AAC3B,IAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACvB,IAAA,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC;AAEb,IAAA,uBAAuB;AACvB,IAAA,6BAA6B;AAC7B,IAAA,yBAAyB;AACzB,IAAA,kBAAkB;IACjB,UAAU,GAAY,KAAK;IAExC,SAAS,GAAG,8BAA8B;AAC7C,IAAA,MAAM,GAAG,CAAG,EAAA,IAAI,CAAC,uBAAuB,EAAE;AAC7B,IAAA,YAAY,GAAG,IAAI,CAAC,UAAU;AAE9D;;;;AAIG;IACI,eAAe,CAAC,KAAY,EAAE,IAAY,EAAA;QAC/C,KAAK,CAAC,cAAc,EAAE;;QAEtB,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wGAtB/D,iCAAiC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAjC,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAA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,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ,KAAI;YAC7E,IAAI,QAAQ,EAAE;AACZ,gBAAA,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC;;AAE1C,SAAC,CAAC;;AAGJ;;;AAGG;IACI,QAAQ,GAAA;QACb,IAAI,CAAC,cAAc,EAAE;;AAGvB;;;AAGG;IACI,WAAW,GAAA;AAChB,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE;AACzB,QAAA,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE;;wGAnCpB,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAA7B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,6BAA6B,0MCnB1C,kZAWA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDQa,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBANzC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iCAAiC,EAClC,OAAA,EAAA,EAAE,EAEM,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,kZAAA,EAAA;8BAOb,mBAAmB,EAAA,CAAA;sBAApD,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACf,kBAAkB,EAAA,CAAA;sBAA3B;;;AEzBH;;AAEG;;;;"}
1
+ {"version":3,"file":"hmcts-opal-frontend-common-components-moj-moj-primary-navigation.mjs","sources":["../../../projects/opal-frontend-common/components/moj/moj-primary-navigation/moj-primary-navigation-item/moj-primary-navigation-item.component.ts","../../../projects/opal-frontend-common/components/moj/moj-primary-navigation/moj-primary-navigation-item/moj-primary-navigation-item.component.html","../../../projects/opal-frontend-common/components/moj/moj-primary-navigation/moj-primary-navigation.component.ts","../../../projects/opal-frontend-common/components/moj/moj-primary-navigation/moj-primary-navigation.component.html","../../../projects/opal-frontend-common/components/moj/moj-primary-navigation/hmcts-opal-frontend-common-components-moj-moj-primary-navigation.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, HostBinding, Input, inject } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\n\n@Component({\n selector: 'opal-lib-moj-primary-navigation-item, [opal-lib-moj-primary-navigation-item]',\n imports: [],\n templateUrl: './moj-primary-navigation-item.component.html',\n styleUrls: ['./moj-primary-navigation-item.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojPrimaryNavigationItemComponent {\n private readonly router = inject(Router);\n private readonly route = inject(ActivatedRoute);\n\n @Input({ required: true }) public primaryNavigationItemId!: string;\n @Input({ required: true }) public primaryNavigationItemFragment!: string;\n @Input({ required: true }) public primaryNavigationItemText!: string;\n @Input({ required: true }) public activeItemFragment!: string;\n @Input({ required: false }) public isLastItem: boolean = false;\n\n @HostBinding('class') hostClass = 'moj-primary-navigation__item';\n @HostBinding('id') hostId = `${this.primaryNavigationItemId}`;\n @HostBinding('class.last-item') hostLastItem = this.isLastItem;\n\n /**\n * Handles the click event of a sub-navigation item.\n * @param event - The click event.\n * @param item - The item string.\n */\n public handleItemClick(event: Event, item: string): void {\n event.preventDefault();\n // Basically we want to mimic the behaviour of the GDS tabs component, as this is how these will be used.\n this.router.navigate(['./'], { relativeTo: this.route, fragment: item });\n }\n}\n","<a\n href=\"\"\n class=\"moj-primary-navigation__link cursor-pointer\"\n [attr.aria-current]=\"primaryNavigationItemFragment === activeItemFragment ? 'page' : null\"\n (click)=\"handleItemClick($event, primaryNavigationItemFragment)\"\n (keyup.enter)=\"handleItemClick($event, primaryNavigationItemFragment)\"\n >{{ primaryNavigationItemText }}</a\n>\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n OnDestroy,\n OnInit,\n Output,\n inject,\n} from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { Subject, takeUntil } from 'rxjs';\n\n@Component({\n selector: 'opal-lib-moj-primary-navigation',\n imports: [],\n templateUrl: './moj-primary-navigation.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MojPrimaryNavigationComponent implements OnInit, OnDestroy {\n private readonly router = inject(Router);\n private readonly route = inject(ActivatedRoute);\n private readonly ngUnsubscribe = new Subject<void>();\n\n @Input({ required: true }) public primaryNavigationId!: string;\n @Output() activeItemFragment = new EventEmitter<string>();\n\n /**\n * Sets up the listeners for the route fragment changes.\n * Emits the active navigation item when a fragment is present in the route.\n */\n private setupListeners(): void {\n // Basically we want to mimic the behaviour of the GDS tabs component, as this is how these will be used.\n this.route.fragment.pipe(takeUntil(this.ngUnsubscribe)).subscribe((fragment) => {\n if (fragment) {\n this.activeItemFragment.emit(fragment);\n }\n });\n }\n\n /**\n * Initializes the component.\n * This method is called after the component has been created and initialized.\n */\n public ngOnInit(): void {\n this.setupListeners();\n }\n\n /**\n * Lifecycle hook that is called when the component is about to be destroyed.\n * Unsubscribes from the route fragment subscription.\n */\n public ngOnDestroy(): void {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n }\n}\n","<div class=\"moj-primary-navigation\" [id]=\"primaryNavigationId\">\n <div class=\"moj-primary-navigation__container\">\n <div class=\"moj-primary-navigation__nav\">\n <nav class=\"moj-primary-navigation\" aria-label=\"Primary navigation\">\n <ul class=\"moj-primary-navigation__list\">\n <ng-content></ng-content>\n </ul>\n </nav>\n </div>\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAUa,iCAAiC,CAAA;AAC3B,IAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACvB,IAAA,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC;AAEb,IA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