{"version":3,"file":"bloomreach-brie-heading.mjs","sources":["../../../../projects/brie/heading/models/heading.ts","../../../../projects/brie/heading/components/heading.component.ts","../../../../projects/brie/heading/components/heading.component.html","../../../../projects/brie/heading/heading.module.ts","../../../../projects/brie/heading/public-api.ts","../../../../projects/brie/heading/bloomreach-brie-heading.ts"],"sourcesContent":["/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BrieButtonGroupActions } from '@bloomreach/brie/button-group';\n\nexport type BrieHeadingActions = BrieButtonGroupActions;\n\n// These values reflects with heading size styles\nexport enum BrieHeadingSize {\n  H1 = 'h1',\n  H2 = 'h2',\n  H3 = 'h3',\n}\n","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Input, ChangeDetectionStrategy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BrieButtonGroupModule } from '@bloomreach/brie/button-group';\nimport { BrieHeadingActions, BrieHeadingSize } from '../models/heading';\n\n@Component({\n  selector: 'brie-heading',\n  templateUrl: './heading.component.html',\n  styleUrls: ['./heading.component.scss'],\n  changeDetection: ChangeDetectionStrategy.Eager,\n  imports: [\n    CommonModule,\n    BrieButtonGroupModule,\n  ],\n\n})\nexport class BrieHeadingComponent {\n  @Input() actions: BrieHeadingActions;\n  @Input() title: string;\n  @Input() description?: string;\n  @Input() size?: string = BrieHeadingSize.H2;\n\n  get headingSize(): string {\n    return `brie-${this.size}`;\n  }\n}\n","<!--\nCopyright 2022-2023 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttps://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n<div class=\"brie-heading-left\">\n  <div class=\"brie-heading-title\" [ngClass]=\"headingSize\">{{ title || '' }}</div>\n  @if (description) {\n    <div class=\"brie-heading-description\">{{ description }}</div>\n  }\n</div>\n\n@if (actions) {\n  <div class=\"brie-heading-actions\">\n    <brie-button-group [actions]=\"actions\"></brie-button-group>\n  </div>\n}\n","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BrieButtonGroupModule } from '@bloomreach/brie/button-group';\n\nimport { BrieHeadingComponent } from './components/heading.component';\n\n@NgModule({\n  imports: [\n    CommonModule,\n    BrieButtonGroupModule,\n    BrieHeadingComponent,\n  ],\n  exports: [\n    BrieHeadingComponent,\n  ],\n})\nexport class BrieHeadingModule { }\n","/*\n * Copyright 2025-2026 Bloomreach. All rights reserved. (https://www.bloomreach.com/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './heading.module';\nexport * from './components/heading.component';\nexport * from './models/heading';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAcG;AAMH;IACY;AAAZ,CAAA,UAAY,eAAe,EAAA;AACzB,IAAA,eAAA,CAAA,IAAA,CAAA,GAAA,IAAS;AACT,IAAA,eAAA,CAAA,IAAA,CAAA,GAAA,IAAS;AACT,IAAA,eAAA,CAAA,IAAA,CAAA,GAAA,IAAS;AACX,CAAC,EAJW,eAAe,KAAf,eAAe,GAAA,EAAA,CAAA,CAAA;;ACrB3B;;;;;;;;;;;;;;AAcG;MAkBU,oBAAoB,CAAA;AAXjC,IAAA,WAAA,GAAA;AAeW,QAAA,IAAA,CAAA,IAAI,GAAY,eAAe,CAAC,EAAE;AAK5C,IAAA;AAHC,IAAA,IAAI,WAAW,GAAA;AACb,QAAA,OAAO,CAAA,KAAA,EAAQ,IAAI,CAAC,IAAI,EAAE;IAC5B;8GARW,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,E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