@abgov/angular-components 1.8.0-beta.9 → 2.0.0-alpha.4
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.
- package/abgov-angular-components.metadata.json +1 -1
- package/bundles/abgov-angular-components.umd.js +157 -80
- package/bundles/abgov-angular-components.umd.js.map +1 -1
- package/esm2015/abgov-angular-components.js +1 -1
- package/esm2015/experimental/app-version-header/app-version-header.component.js +3 -3
- package/esm2015/experimental/badge/badge.component.js +2 -2
- package/esm2015/experimental/components.module.js +3 -2
- package/esm2015/experimental/index.js +1 -1
- package/esm2015/experimental/number-input/number-input.component.js +67 -30
- package/esm2015/index.js +2 -1
- package/esm2015/lib/angular-components.module.js +5 -2
- package/esm2015/lib/button/button.component.js +2 -2
- package/esm2015/lib/button-link/button-link.component.js +2 -2
- package/esm2015/lib/callout/callout.component.js +2 -2
- package/esm2015/lib/card/card.component.js +2 -2
- package/esm2015/lib/card/content/card-content.component.js +1 -1
- package/esm2015/lib/card/footer/card-footer.component.js +1 -1
- package/esm2015/lib/card/header/card-header.component.js +1 -1
- package/esm2015/lib/card/thumb/card-thumb.component.js +2 -2
- package/esm2015/lib/card-group/card.group.component.js +2 -2
- package/esm2015/lib/checkbox/checkbox-change.js +1 -1
- package/esm2015/lib/checkbox/checkbox.component.js +2 -2
- package/esm2015/lib/dropdown/dropdown.component.js +2 -2
- package/esm2015/lib/dropdown/option/option.component.js +1 -1
- package/esm2015/lib/dropdown/option-group/option-group.component.js +2 -2
- package/esm2015/lib/element-load-indicator/element-load-indicator.component.js +2 -2
- package/esm2015/lib/header/header.component.js +2 -2
- package/esm2015/lib/hero-banner/content/hero-banner-content.component.js +2 -2
- package/esm2015/lib/hero-banner/hero-banner.component.js +2 -2
- package/esm2015/lib/hero-banner/link/hero-banner-link.component.js +2 -2
- package/esm2015/lib/microsite-logo/microsite-logo.component.js +2 -2
- package/esm2015/lib/notification/notification.component.js +2 -2
- package/esm2015/lib/notification-banner/notification-banner.component.js +2 -2
- package/esm2015/lib/page-load-indicator/page-load-indicator.component.js +2 -2
- package/esm2015/lib/radio/radio-change.js +1 -1
- package/esm2015/lib/radio/radio.component.js +2 -2
- package/esm2015/lib/radio/radio.service.js +1 -1
- package/esm2015/lib/radio-group/radio-group.component.js +2 -2
- package/esm2015/lib/skeleton/skeleton-element.component.js +2 -2
- package/esm2015/lib/skeleton/skeleton-image-content.component.js +2 -2
- package/experimental/number-input/number-input.component.d.ts +23 -15
- package/fesm2015/abgov-angular-components.js +97 -55
- package/fesm2015/abgov-angular-components.js.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +11 -8
- package/LICENSE +0 -21
- package/bundles/abgov-angular-components.umd.min.js +0 -2
- package/bundles/abgov-angular-components.umd.min.js.map +0 -1
- package/esm2015/abgov-angular-components.js.map +0 -1
- package/esm2015/abgov-angular-components.metadata.json +0 -1
- package/esm2015/experimental/app-version-header/app-version-header.component.js.map +0 -1
- package/esm2015/experimental/app-version-header/app-version-header.component.metadata.json +0 -1
- package/esm2015/experimental/badge/badge.component.js.map +0 -1
- package/esm2015/experimental/badge/badge.component.metadata.json +0 -1
- package/esm2015/experimental/components.module.js.map +0 -1
- package/esm2015/experimental/components.module.metadata.json +0 -1
- package/esm2015/experimental/index.js.map +0 -1
- package/esm2015/experimental/index.metadata.json +0 -1
- package/esm2015/experimental/number-input/number-input.component.js.map +0 -1
- package/esm2015/experimental/number-input/number-input.component.metadata.json +0 -1
- package/esm2015/index.js.map +0 -1
- package/esm2015/index.metadata.json +0 -1
- package/esm2015/lib/angular-components.module.js.map +0 -1
- package/esm2015/lib/angular-components.module.metadata.json +0 -1
- package/esm2015/lib/button/button.component.js.map +0 -1
- package/esm2015/lib/button/button.component.metadata.json +0 -1
- package/esm2015/lib/button-link/button-link.component.js.map +0 -1
- package/esm2015/lib/button-link/button-link.component.metadata.json +0 -1
- package/esm2015/lib/callout/callout.component.js.map +0 -1
- package/esm2015/lib/callout/callout.component.metadata.json +0 -1
- package/esm2015/lib/card/card.component.js.map +0 -1
- package/esm2015/lib/card/card.component.metadata.json +0 -1
- package/esm2015/lib/card/content/card-content.component.js.map +0 -1
- package/esm2015/lib/card/content/card-content.component.metadata.json +0 -1
- package/esm2015/lib/card/footer/card-footer.component.js.map +0 -1
- package/esm2015/lib/card/footer/card-footer.component.metadata.json +0 -1
- package/esm2015/lib/card/header/card-header.component.js.map +0 -1
- package/esm2015/lib/card/header/card-header.component.metadata.json +0 -1
- package/esm2015/lib/card/thumb/card-thumb.component.js.map +0 -1
- package/esm2015/lib/card/thumb/card-thumb.component.metadata.json +0 -1
- package/esm2015/lib/card-group/card.group.component.js.map +0 -1
- package/esm2015/lib/card-group/card.group.component.metadata.json +0 -1
- package/esm2015/lib/checkbox/checkbox-change.js.map +0 -1
- package/esm2015/lib/checkbox/checkbox-change.metadata.json +0 -1
- package/esm2015/lib/checkbox/checkbox.component.js.map +0 -1
- package/esm2015/lib/checkbox/checkbox.component.metadata.json +0 -1
- package/esm2015/lib/dropdown/dropdown.component.js.map +0 -1
- package/esm2015/lib/dropdown/dropdown.component.metadata.json +0 -1
- package/esm2015/lib/dropdown/option/option.component.js.map +0 -1
- package/esm2015/lib/dropdown/option/option.component.metadata.json +0 -1
- package/esm2015/lib/dropdown/option-group/option-group.component.js.map +0 -1
- package/esm2015/lib/dropdown/option-group/option-group.component.metadata.json +0 -1
- package/esm2015/lib/element-load-indicator/element-load-indicator.component.js.map +0 -1
- package/esm2015/lib/element-load-indicator/element-load-indicator.component.metadata.json +0 -1
- package/esm2015/lib/header/header.component.js.map +0 -1
- package/esm2015/lib/header/header.component.metadata.json +0 -1
- package/esm2015/lib/hero-banner/content/hero-banner-content.component.js.map +0 -1
- package/esm2015/lib/hero-banner/content/hero-banner-content.component.metadata.json +0 -1
- package/esm2015/lib/hero-banner/hero-banner.component.js.map +0 -1
- package/esm2015/lib/hero-banner/hero-banner.component.metadata.json +0 -1
- package/esm2015/lib/hero-banner/link/hero-banner-link.component.js.map +0 -1
- package/esm2015/lib/hero-banner/link/hero-banner-link.component.metadata.json +0 -1
- package/esm2015/lib/microsite-logo/microsite-logo.component.js.map +0 -1
- package/esm2015/lib/microsite-logo/microsite-logo.component.metadata.json +0 -1
- package/esm2015/lib/notification/notification.component.js.map +0 -1
- package/esm2015/lib/notification/notification.component.metadata.json +0 -1
- package/esm2015/lib/notification-banner/notification-banner.component.js.map +0 -1
- package/esm2015/lib/notification-banner/notification-banner.component.metadata.json +0 -1
- package/esm2015/lib/page-load-indicator/page-load-indicator.component.js.map +0 -1
- package/esm2015/lib/page-load-indicator/page-load-indicator.component.metadata.json +0 -1
- package/esm2015/lib/radio/radio-change.js.map +0 -1
- package/esm2015/lib/radio/radio-change.metadata.json +0 -1
- package/esm2015/lib/radio/radio.component.js.map +0 -1
- package/esm2015/lib/radio/radio.component.metadata.json +0 -1
- package/esm2015/lib/radio/radio.service.js.map +0 -1
- package/esm2015/lib/radio/radio.service.metadata.json +0 -1
- package/esm2015/lib/radio-group/radio-group.component.js.map +0 -1
- package/esm2015/lib/radio-group/radio-group.component.metadata.json +0 -1
- package/esm2015/lib/skeleton/skeleton-element.component.js.map +0 -1
- package/esm2015/lib/skeleton/skeleton-element.component.metadata.json +0 -1
- package/esm2015/lib/skeleton/skeleton-image-content.component.js.map +0 -1
- package/esm2015/lib/skeleton/skeleton-image-content.component.metadata.json +0 -1
- package/theme.css +0 -206
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoANumberInputComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"goa-number-input","template":"<div class=\"number-input-container\">\n <button\n [disabled]=\"disabled\"\n goa-button\n buttonType=\"primary\"\n buttonSize=\"small\"\n (click)=\"decrement()\"\n >\n <svg width=\"1em\" height=\"100%\" viewBox=\"0 0 100 100\">\n <line x1=\"25%\" y1=\"50%\" x2=\"75%\" y2=\"50%\" stroke-width=\"15%\" />\n </svg>\n </button>\n\n <input\n #input\n [disabled]=\"disabled\"\n type=\"number\"\n [name]=\"name\"\n [min]=\"min\"\n [max]=\"max\"\n [value]=\"value\"\n [step]=\"step\"\n (blur)=\"updateFromInput()\"\n />\n\n <button\n goa-button\n [disabled]=\"disabled\"\n buttonType=\"primary\"\n buttonSize=\"small\"\n (click)=\"increment()\"\n >\n <svg width=\"1em\" height=\"100%\" viewBox=\"0 0 100 100\">\n <line x1=\"25%\" y1=\"50%\" x2=\"75%\" y2=\"50%\" stroke-width=\"15%\" />\n <line x1=\"50%\" y1=\"25%\" x2=\"50%\" y2=\"75%\" stroke-width=\"15%\" />\n </svg>\n </button>\n</div>\n","styles":[".number-input-container{display:flex;flex-direction:row;align-items:stretch;height:30px;padding:0;outline:0}.number-input-container>input{border:1px solid #dcdcdc;min-width:75px;width:0;flex:1;border-radius:0;padding-left:4px;-moz-appearance:textfield}.number-input-container>input:focus-visible{outline:unset;border-color:#feba35;border-width:2px}.number-input-container>input::-webkit-inner-spin-button,.number-input-container>input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.number-input-container>:first-child{border-radius:4px 0 0 4px}.number-input-container>:last-child{border-radius:0 4px 4px 0}.number-input-container>button{min-width:30px;margin:0;padding:0;z-index:1;font-size:20px}.number-input-container>button>svg{stroke:#fff}.number-input-container>button:disabled>svg{stroke:#666}.number-input-container>button:hover>svg{stroke:#fff}"]}]}],"members":{"inputElement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":12,"character":3},"arguments":["input"]}]}],"name":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"step":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"valueChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":35,"character":3}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"min":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":61,"character":3}}]}],"max":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":77,"character":3}}]}],"increment":[{"__symbolic":"method"}],"decrement":[{"__symbolic":"method"}],"updateFromInput":[{"__symbolic":"method"}],"clampValue":[{"__symbolic":"method"}]}}}}]
|
package/esm2015/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/angular-components/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,oDAAoD,CAAC;AACnE,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yDAAyD,CAAC;AACxE,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC;AACtD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yCAAyC,CAAC;AACxD,cAAc,yDAAyD,CAAC;AACxE,cAAc,iDAAiD,CAAC;AAChE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+DAA+D,CAAC;AAE9E,cAAc,gBAAgB,CAAC","sourcesContent":["export * from './lib/angular-components.module';\nexport * from './lib/button/button.component';\nexport * from './lib/button-link/button-link.component';\nexport * from './lib/header/header.component';\nexport * from './lib/hero-banner/hero-banner.component';\nexport * from './lib/microsite-logo/microsite-logo.component';\nexport * from './lib/dropdown/dropdown.component';\nexport * from './lib/dropdown/option/option.component';\nexport * from './lib/dropdown/option-group/option-group.component';\nexport * from './lib/checkbox/checkbox.component';\nexport * from './lib/checkbox/checkbox-change';\nexport * from './lib/callout/callout.component';\nexport * from './lib/notification/notification.component';\nexport * from './lib/notification-banner/notification-banner.component';\nexport * from './lib/card/card.component';\nexport * from './lib/card-group/card.group.component';\nexport * from './lib/radio/radio.component';\nexport * from './lib/radio/radio-change';\nexport * from './lib/radio/radio.service';\nexport * from './lib/radio-group/radio-group.component';\nexport * from './lib/page-load-indicator/page-load-indicator.component';\nexport * from './lib/skeleton/skeleton-image-content.component';\nexport * from './lib/skeleton/skeleton-element.component';\nexport * from './lib/element-load-indicator/element-load-indicator.component';\n\nexport * from './experimental';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./lib/angular-components.module"},{"from":"./lib/button/button.component"},{"from":"./lib/button-link/button-link.component"},{"from":"./lib/header/header.component"},{"from":"./lib/hero-banner/hero-banner.component"},{"from":"./lib/microsite-logo/microsite-logo.component"},{"from":"./lib/dropdown/dropdown.component"},{"from":"./lib/dropdown/option/option.component"},{"from":"./lib/dropdown/option-group/option-group.component"},{"from":"./lib/checkbox/checkbox.component"},{"from":"./lib/checkbox/checkbox-change"},{"from":"./lib/callout/callout.component"},{"from":"./lib/notification/notification.component"},{"from":"./lib/notification-banner/notification-banner.component"},{"from":"./lib/card/card.component"},{"from":"./lib/card-group/card.group.component"},{"from":"./lib/radio/radio.component"},{"from":"./lib/radio/radio-change"},{"from":"./lib/radio/radio.service"},{"from":"./lib/radio-group/radio-group.component"},{"from":"./lib/page-load-indicator/page-load-indicator.component"},{"from":"./lib/skeleton/skeleton-image-content.component"},{"from":"./lib/skeleton/skeleton-element.component"},{"from":"./lib/element-load-indicator/element-load-indicator.component"},{"from":"./experimental"}]}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"angular-components.module.js","sourceRoot":"","sources":["../../../../../libs/angular-components/src/lib/angular-components.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AACzF,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,8BAA8B,EAAE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qB;oBACrB,wBAAwB;oBACxB,8BAA8B;oBAC9B,gBAAgB;oBAChB,sBAAsB;oBACtB,sBAAsB;oBACtB,uBAAuB;oBACvB,0BAA0B;oBAC1B,iBAAiB;oBACjB,sBAAsB;oBACtB,sBAAsB;oBACtB,6BAA6B;oBAC7B,0BAA0B;oBAC1B,6BAA6B;oBAC7B,gCAAgC;oBAChC,2BAA2B;oBAC3B,gCAAgC;iBACjC;gBACD,SAAS,EAAE,CAAC,eAAe,CAAC;aAC7B","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { FormsModule } from '@angular/forms';\n\nimport { GoAButtonComponent } from './button/button.component';\nimport { GoAMicrositeLogoComponent } from './microsite-logo/microsite-logo.component';\nimport { GoAHeaderComponent } from './header/header.component';\nimport { GoAButtonLinkComponent } from './button-link/button-link.component';\nimport { GoAOptionComponent } from './dropdown/option/option.component';\nimport { GoAOptionGroupComponent } from './dropdown/option-group/option-group.component';\nimport { GoADropdownComponent } from './dropdown/dropdown.component';\nimport { GoACheckboxComponent } from './checkbox/checkbox.component';\nimport { GoARadioComponent } from './radio/radio.component';\nimport { GoARadioService } from './radio/radio.service';\nimport { GoARadioGroupComponent } from './radio-group/radio-group.component';\nimport { GoACalloutComponent } from './callout/callout.component';\nimport { GoANotificationComponent } from './notification/notification.component';\nimport { GoANotificationBannerComponent } from './notification-banner/notification-banner.component';\nimport { GoASkeletonImageContentComponent } from './skeleton/skeleton-image-content.component';\nimport { GoASkeletonElementComponent } from './skeleton/skeleton-element.component';\nimport {\n GoACardComponent,\n GoACardHeaderComponent,\n GoACardFooterComponent,\n GoACardContentComponent,\n GoACardThumbImageComponent\n\n} from './card/card.component';\nimport { GoACardGroupComponent } from './card-group/card.group.component'\nimport {\n GoAHeroBannerComponent,\n GoAHeroBannerContentComponent,\n GoAHeroBannerLinkComponent,\n} from './hero-banner/hero-banner.component';\nimport { GoAPageLoadIndicatorComponent } from './page-load-indicator/page-load-indicator.component';\nimport { GoAElementLoadIndicatorComponent } from './element-load-indicator/element-load-indicator.component';\n\n@NgModule({\n imports: [CommonModule, OverlayModule],\n exports: [\n FormsModule,\n OverlayModule,\n CommonModule,\n GoAButtonComponent,\n GoAMicrositeLogoComponent,\n GoAHeaderComponent,\n GoAButtonLinkComponent,\n GoAOptionComponent,\n GoADropdownComponent,\n GoAOptionGroupComponent,\n GoACheckboxComponent,\n GoACalloutComponent,\n GoACardGroupComponent,\n GoANotificationComponent,\n GoANotificationBannerComponent,\n GoACardComponent,\n GoACardHeaderComponent,\n GoACardFooterComponent,\n GoACardContentComponent,\n GoACardThumbImageComponent,\n GoARadioComponent,\n GoARadioGroupComponent,\n GoAHeroBannerComponent,\n GoAHeroBannerContentComponent,\n GoAHeroBannerLinkComponent,\n GoAPageLoadIndicatorComponent,\n GoASkeletonImageContentComponent,\n GoASkeletonElementComponent,\n GoAElementLoadIndicatorComponent,\n ],\n declarations: [\n GoAButtonComponent,\n GoAMicrositeLogoComponent,\n GoAHeaderComponent,\n GoAButtonLinkComponent,\n GoAOptionComponent,\n GoADropdownComponent,\n GoAOptionGroupComponent,\n GoACheckboxComponent,\n GoACalloutComponent,\n GoACardGroupComponent,\n GoANotificationComponent,\n GoANotificationBannerComponent,\n GoACardComponent,\n GoACardHeaderComponent,\n GoACardFooterComponent,\n GoACardContentComponent,\n GoACardThumbImageComponent,\n GoARadioComponent,\n GoARadioGroupComponent,\n GoAHeroBannerComponent,\n GoAHeroBannerContentComponent,\n GoAHeroBannerLinkComponent,\n GoAPageLoadIndicatorComponent,\n GoASkeletonImageContentComponent,\n GoASkeletonElementComponent,\n GoAElementLoadIndicatorComponent,\n ],\n providers: [GoARadioService],\n})\nexport class AngularComponentsModule { }\n\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"AngularComponentsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":38,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":39,"character":12},{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayModule","line":39,"character":26}],"exports":[{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":41,"character":4},{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayModule","line":42,"character":4},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":43,"character":4},{"__symbolic":"reference","module":"./button/button.component","name":"GoAButtonComponent","line":44,"character":4},{"__symbolic":"reference","module":"./microsite-logo/microsite-logo.component","name":"GoAMicrositeLogoComponent","line":45,"character":4},{"__symbolic":"reference","module":"./header/header.component","name":"GoAHeaderComponent","line":46,"character":4},{"__symbolic":"reference","module":"./button-link/button-link.component","name":"GoAButtonLinkComponent","line":47,"character":4},{"__symbolic":"reference","module":"./dropdown/option/option.component","name":"GoAOptionComponent","line":48,"character":4},{"__symbolic":"reference","module":"./dropdown/dropdown.component","name":"GoADropdownComponent","line":49,"character":4},{"__symbolic":"reference","module":"./dropdown/option-group/option-group.component","name":"GoAOptionGroupComponent","line":50,"character":4},{"__symbolic":"reference","module":"./checkbox/checkbox.component","name":"GoACheckboxComponent","line":51,"character":4},{"__symbolic":"reference","module":"./callout/callout.component","name":"GoACalloutComponent","line":52,"character":4},{"__symbolic":"reference","module":"./card-group/card.group.component","name":"GoACardGroupComponent","line":53,"character":4},{"__symbolic":"reference","module":"./notification/notification.component","name":"GoANotificationComponent","line":54,"character":4},{"__symbolic":"reference","module":"./notification-banner/notification-banner.component","name":"GoANotificationBannerComponent","line":55,"character":4},{"__symbolic":"reference","module":"./card/card.component","name":"GoACardComponent","line":56,"character":4},{"__symbolic":"reference","module":"./card/card.component","name":"GoACardHeaderComponent","line":57,"character":4},{"__symbolic":"reference","module":"./card/card.component","name":"GoACardFooterComponent","line":58,"character":4},{"__symbolic":"reference","module":"./card/card.component","name":"GoACardContentComponent","line":59,"character":4},{"__symbolic":"reference","module":"./card/card.component","name":"GoACardThumbImageComponent","line":60,"character":4},{"__symbolic":"reference","module":"./radio/radio.component","name":"GoARadioComponent","line":61,"character":4},{"__symbolic":"reference","module":"./radio-group/radio-group.component","name":"GoARadioGroupComponent","line":62,"character":4},{"__symbolic":"reference","module":"./hero-banner/hero-banner.component","name":"GoAHeroBannerComponent","line":63,"character":4},{"__symbolic":"reference","module":"./hero-banner/hero-banner.component","name":"GoAHeroBannerContentComponent","line":64,"character":4},{"__symbolic":"reference","module":"./hero-banner/hero-banner.component","name":"GoAHeroBannerLinkComponent","line":65,"character":4},{"__symbolic":"reference","module":"./page-load-indicator/page-load-indicator.component","name":"GoAPageLoadIndicatorComponent","line":66,"character":4},{"__symbolic":"reference","module":"./skeleton/skeleton-image-content.component","name":"GoASkeletonImageContentComponent","line":67,"character":4},{"__symbolic":"reference","module":"./skeleton/skeleton-element.component","name":"GoASkeletonElementComponent","line":68,"character":4},{"__symbolic":"reference","module":"./element-load-indicator/element-load-indicator.component","name":"GoAElementLoadIndicatorComponent","line":69,"character":4}],"declarations":[{"__symbolic":"reference","module":"./button/button.component","name":"GoAButtonComponent","line":72,"character":4},{"__symbolic":"reference","module":"./microsite-logo/microsite-logo.component","name":"GoAMicrositeLogoComponent","line":73,"character":4},{"__symbolic":"reference","module":"./header/header.component","name":"GoAHeaderComponent","line":74,"character":4},{"__symbolic":"reference","module":"./button-link/button-link.component","name":"GoAButtonLinkComponent","line":75,"character":4},{"__symbolic":"reference","module":"./dropdown/option/option.component","name":"GoAOptionComponent","line":76,"character":4},{"__symbolic":"reference","module":"./dropdown/dropdown.component","name":"GoADropdownComponent","line":77,"character":4},{"__symbolic":"reference","module":"./dropdown/option-group/option-group.component","name":"GoAOptionGroupComponent","line":78,"character":4},{"__symbolic":"reference","module":"./checkbox/checkbox.component","name":"GoACheckboxComponent","line":79,"character":4},{"__symbolic":"reference","module":"./callout/callout.component","name":"GoACalloutComponent","line":80,"character":4},{"__symbolic":"reference","module":"./card-group/card.group.component","name":"GoACardGroupComponent","line":81,"character":4},{"__symbolic":"reference","module":"./notification/notification.component","name":"GoANotificationComponent","line":82,"character":4},{"__symbolic":"reference","module":"./notification-banner/notification-banner.component","name":"GoANotificationBannerComponent","line":83,"character":4},{"__symbolic":"reference","module":"./card/card.component","name":"GoACardComponent","line":84,"character":4},{"__symbolic":"reference","module":"./card/card.component","name":"GoACardHeaderComponent","line":85,"character":4},{"__symbolic":"reference","module":"./card/card.component","name":"GoACardFooterComponent","line":86,"character":4},{"__symbolic":"reference","module":"./card/card.component","name":"GoACardContentComponent","line":87,"character":4},{"__symbolic":"reference","module":"./card/card.component","name":"GoACardThumbImageComponent","line":88,"character":4},{"__symbolic":"reference","module":"./radio/radio.component","name":"GoARadioComponent","line":89,"character":4},{"__symbolic":"reference","module":"./radio-group/radio-group.component","name":"GoARadioGroupComponent","line":90,"character":4},{"__symbolic":"reference","module":"./hero-banner/hero-banner.component","name":"GoAHeroBannerComponent","line":91,"character":4},{"__symbolic":"reference","module":"./hero-banner/hero-banner.component","name":"GoAHeroBannerContentComponent","line":92,"character":4},{"__symbolic":"reference","module":"./hero-banner/hero-banner.component","name":"GoAHeroBannerLinkComponent","line":93,"character":4},{"__symbolic":"reference","module":"./page-load-indicator/page-load-indicator.component","name":"GoAPageLoadIndicatorComponent","line":94,"character":4},{"__symbolic":"reference","module":"./skeleton/skeleton-image-content.component","name":"GoASkeletonImageContentComponent","line":95,"character":4},{"__symbolic":"reference","module":"./skeleton/skeleton-element.component","name":"GoASkeletonElementComponent","line":96,"character":4},{"__symbolic":"reference","module":"./element-load-indicator/element-load-indicator.component","name":"GoAElementLoadIndicatorComponent","line":97,"character":4}],"providers":[{"__symbolic":"reference","module":"./radio/radio.service","name":"GoARadioService","line":99,"character":14}]}]}]}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.component.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/button/button.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEtE;;;GAGG;AAQH,MAAM,OAAO,kBAAkB;IA2C7B;QAVA;;WAEG;QACM,eAAU,GAAyC,SAAS,CAAC;QAEtE;;WAEG;QACM,eAAU,GAAuB,QAAQ,CAAC;IAEnC,CAAC;IA1CjB;;;OAGG;IACH,IAAqC,cAAc;QACjD,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;OAGG;IACH,IAAyC,gBAAgB;QACvD,OAAO,IAAI,CAAC,UAAU,KAAK,WAAW,CAAC;IACzC,CAAC;IAED;;;OAGG;IACH,IAAwC,eAAe;QACrD,OAAO,IAAI,CAAC,UAAU,KAAK,UAAU,CAAC;IACxC,CAAC;IAED;;;OAGG;IACH,IAAoC,YAAY;QAC9C,OAAO,IAAI,CAAC,UAAU,KAAK,OAAO,CAAC;IACrC,CAAC;IAcD,8DAA8D;IAC9D,QAAQ,KAAK,CAAC;;;YArDf,SAAS,SAAC;gBACT,QAAQ;gBACN,8DAA8D;gBAC9D,wFAAwF;gBAC1F,uCAAsC;;aAEvC;;;;6BAME,WAAW,SAAC,kBAAkB;+BAQ9B,WAAW,SAAC,sBAAsB;8BAQlC,WAAW,SAAC,qBAAqB;2BAQjC,WAAW,SAAC,iBAAiB;yBAO7B,KAAK;yBAKL,KAAK","sourcesContent":["import { Component, OnInit, Input, HostBinding } from '@angular/core';\n\n/**\n * A Government of Alberta styled button.\n * selector: button[goa-button], input[type=\"button\"][goa-button], input[type=\"submit\"][goa-button]\n */\n@Component({\n selector:\n // eslint-disable-next-line @angular-eslint/component-selector\n 'button[goa-button], input[type=\"button\"][goa-button], input[type=\"submit\"][goa-button]',\n templateUrl: './button.component.html',\n styleUrls: ['./button.component.scss'],\n})\nexport class GoAButtonComponent implements OnInit {\n /**\n * Adds class goa-button to the host.\n * @ignore\n */\n @HostBinding('class.goa-button') get primaryBinding() {\n return true;\n }\n\n /**\n * Adds class goa--secondary to the host if the buttonStyle = secondary.\n * @ignore\n */\n @HostBinding('class.goa--secondary') get secondaryBinding() {\n return this.buttonType === 'secondary';\n }\n\n /**\n * Adds class goa--tertiary to the host if the buttonStyle = tertiary.\n * @ignore\n */\n @HostBinding('class.goa--tertiary') get tertiaryBinding() {\n return this.buttonType === 'tertiary';\n }\n\n /**\n * Adds class btn-small to the host if the buttonSize = small.\n * @ignore\n */\n @HostBinding('class.btn-small') get smallBinding() {\n return this.buttonSize === 'small';\n }\n\n /**\n * The appearance style of the button.\n */\n @Input() buttonType: 'primary' | 'secondary' | 'tertiary' = 'primary';\n\n /**\n * The size of the button, controls font size and padding.\n */\n @Input() buttonSize: 'small' | 'normal' = 'normal';\n\n constructor() { }\n\n /* eslint-disable @angular-eslint/no-empty-lifecycle-method */\n ngOnInit() { }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoAButtonComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"button[goa-button], input[type=\"button\"][goa-button], input[type=\"submit\"][goa-button]","template":"<ng-content></ng-content>\n","styles":[":host.goa-button{box-sizing:border-box;min-width:70px;padding:12px;border:2px solid #0070c4;border-radius:4px;background:#0070c4;cursor:pointer;color:#fff;font-size:18px;font-weight:700;line-height:1em}:host.goa-button.btn-small{font-size:16px;padding:8px;margin:12px 12px 0 0}:host.goa-button:last-of-type{margin-right:0}:host.goa-button:disabled,:host.goa-button:disabled.goa--secondary,:host.goa-button:disabled.goa--tertiary{pointer-events:none;color:#666;background-color:#f1f1f1;border-color:#f1f1f1}:host.goa-button:hover{border-color:#004f84;background:#004f84}:host.goa-button:active,:host.goa-button:focus{border-color:#004f84;box-shadow:0 0 0 3px #feba35;background:#004f84;outline:none}:host.goa-button.goa--secondary{border:2px solid #0070c4;background:#fff;color:#0070c4}:host.goa-button.goa--secondary:hover{border-color:#004f84;background:#fff;color:#004f84}:host.goa-button.goa--secondary:active,:host.goa-button.goa--secondary:focus{color:#004f84;background-color:#fff;border:2px solid #004f84;box-shadow:0 0 0 3px #feba35;outline:none}:host.goa-button.goa--tertiary{border-color:#dcdcdc;background:#fff;color:#0070c4}:host.goa-button.goa--tertiary:hover{background:#fff;color:#004f84}:host.goa-button.goa--tertiary:active,:host.goa-button.goa--tertiary:focus{border:2px solid #004f84;color:#004f84;background-color:#fff;box-shadow:0 0 0 3px #feba35;outline:none}"]}]}],"members":{"primaryBinding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":18,"character":3},"arguments":["class.goa-button"]}]}],"secondaryBinding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":26,"character":3},"arguments":["class.goa--secondary"]}]}],"tertiaryBinding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":34,"character":3},"arguments":["class.goa--tertiary"]}]}],"smallBinding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":42,"character":3},"arguments":["class.btn-small"]}]}],"buttonType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"buttonSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-link.component.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/button-link/button-link.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEtE;;;;GAIG;AAOH,MAAM,OAAO,sBAAsB;IA2CjC;QAVA;;WAEG;QACM,aAAQ,GAAmB,OAAO,CAAC;QAE5C;;WAEG;QACM,eAAU,GAAuB,QAAQ,CAAC;IAEnC,CAAC;IA1CjB;;;OAGG;IACH,IAA0C,cAAc;QACtD,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;OAGG;IACH,IAAsC,YAAY;QAChD,OAAO,IAAI,CAAC,QAAQ,KAAK,OAAO,CAAC;IACnC,CAAC;IAED;;;OAGG;IACH,IAAmC,SAAS;QAC1C,OAAO,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC;IAChC,CAAC;IAED;;;OAGG;IACH,IAAoC,YAAY;QAC9C,OAAO,IAAI,CAAC,UAAU,KAAK,OAAO,CAAC;IACrC,CAAC;IAcD,8DAA8D;IAC9D,QAAQ,KAAK,CAAC;;;YApDf,SAAS,SAAC;gBACT,8DAA8D;gBAC9D,QAAQ,EAAE,eAAe;gBACzB,0DAA2C;;aAE5C;;;;6BAME,WAAW,SAAC,uBAAuB;2BAQnC,WAAW,SAAC,mBAAmB;wBAQ/B,WAAW,SAAC,gBAAgB;2BAQ5B,WAAW,SAAC,iBAAiB;uBAO7B,KAAK;yBAKL,KAAK","sourcesContent":["import { Component, OnInit, Input, HostBinding } from '@angular/core';\n\n/**\n * Styles an anchor Design system compliant.\n * selector: a[goa-button]\n * @example <a goa-button linkType='right' href='...'>Text</a>\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'a[goa-button]',\n templateUrl: './button-link.component.html',\n styleUrls: ['./button-link.component.scss'],\n})\nexport class GoAButtonLinkComponent implements OnInit {\n /**\n * Adds class goa-link-button to the host.\n * @ignore\n */\n @HostBinding('class.goa-link-button') get primaryBinding() {\n return true;\n }\n\n /**\n * Adds class right-arrow to the host if the linkType = right.\n * @ignore\n */\n @HostBinding('class.right-arrow') get rightBinding() {\n return this.linkType === 'right';\n }\n\n /**\n * Adds class right-arrow to the host if the linkType = right.\n * @ignore\n */\n @HostBinding('class.up-arrow') get upBinding() {\n return this.linkType === 'up';\n }\n\n /**\n * Adds class btn-small to the host if the buttonSize = small.\n * @ignore\n */\n @HostBinding('class.btn-small') get smallBinding() {\n return this.buttonSize === 'small';\n }\n\n /**\n * The type of arrow to use.\n */\n @Input() linkType: 'up' | 'right' = 'right';\n\n /**\n * The size of the button, controls font size and padding.\n */\n @Input() buttonSize: 'small' | 'normal' = 'normal';\n\n constructor() { }\n\n /* eslint-disable @angular-eslint/no-empty-lifecycle-method */\n ngOnInit() { }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoAButtonLinkComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"a[goa-button]","template":"<span>\n <ng-content></ng-content>\n</span>","styles":[":host.goa-link-button{display:inline-block;text-decoration:none;box-sizing:border-box;min-width:70px;padding:12px;border:2px solid #0070c4;border-radius:4px;background:#0070c4;cursor:pointer;color:#fff;font-size:18px;font-weight:700;line-height:1em}:host.goa-link-button.btn-small{font-size:16px;padding:8px;margin:12px 12px 0 0}:host.goa-link-button:last-of-type{margin-right:0}:host.goa-link-button:disabled,:host.goa-link-button:disabled.goa--secondary,:host.goa-link-button:disabled.goa--tertiary{pointer-events:none;color:#666;background-color:#f1f1f1;border-color:#f1f1f1}:host.goa-link-button:hover{border-color:#004f84;background:#004f84}:host.goa-link-button:active,:host.goa-link-button:focus{border-color:#004f84;box-shadow:0 0 0 3px #feba35;background:#004f84;outline:none}:host.goa-link-button.goa--secondary{border:2px solid #0070c4;background:#fff;color:#0070c4}:host.goa-link-button.goa--secondary:hover{border-color:#004f84;background:#fff;color:#004f84}:host.goa-link-button.goa--secondary:active,:host.goa-link-button.goa--secondary:focus{color:#004f84;background-color:#fff;border:2px solid #004f84;box-shadow:0 0 0 3px #feba35;outline:none}:host.goa-link-button.goa--tertiary{border-color:#dcdcdc;background:#fff;color:#0070c4}:host.goa-link-button.goa--tertiary:hover{background:#fff;color:#004f84}:host.goa-link-button.goa--tertiary:active,:host.goa-link-button.goa--tertiary:focus{border:2px solid #004f84;color:#004f84;background-color:#fff;box-shadow:0 0 0 3px #feba35;outline:none}:host.goa-link-button.right-arrow:after{color:#fff;margin-left:8px;content:\"\\2192\"}:host.goa-link-button.up-arrow:after{color:#fff;margin-left:8px;content:\"\\2191\"}:host.goa-link-button:link,:host.goa-link-button:visited{color:#fff}"]}]}],"members":{"primaryBinding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":18,"character":3},"arguments":["class.goa-link-button"]}]}],"rightBinding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":26,"character":3},"arguments":["class.right-arrow"]}]}],"upBinding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":34,"character":3},"arguments":["class.up-arrow"]}]}],"smallBinding":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":42,"character":3},"arguments":["class.btn-small"]}]}],"linkType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"buttonSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"callout.component.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/callout/callout.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,KAAK,EAAE,MAAM,eAAe,CAAC;AACzD;;;GAGG;AAMH,MAAM,OAAO,mBAAmB;IAU9B;QATA;;WAEG;QACM,SAAI,GAAoE,aAAa,CAAC;IAM/E,CAAC;IAEjB;;OAEG;IACH,QAAQ;QACN,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,EAAE;YACnD,MAAM,IAAI,SAAS,CAAC,4BAA4B,CAAC,CAAC;SACnD;IACH,CAAC;;;YAxBF,SAAS,SAAC;gBACT,QAAQ,EAAE,aAAa;gBACvB,6WAAuC;;aAExC;;;;mBAKE,KAAK;oBAKL,KAAK","sourcesContent":["import { Component, OnInit, Input } from '@angular/core';\n/**\n * Callout component to describe important changes or facts.\n * selector: goa-callout\n */\n@Component({\n selector: 'goa-callout',\n templateUrl: './callout.component.html',\n styleUrls: ['./callout.component.scss']\n})\nexport class GoACalloutComponent implements OnInit {\n /**\n * The type of the callout, changes stylings and icons.\n */\n @Input() type: 'important' | 'information' | 'event' | 'success' | 'emergency' = 'information';\n\n /**\n * The title of callout\n */\n @Input() title: string;\n constructor() { }\n\n /**\n * @ignore\n */\n ngOnInit(): void {\n if (this.title === undefined || this.title === null) {\n throw new TypeError(`Input 'title' is required.`);\n }\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoACalloutComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"goa-callout","template":"<div\n class=\"goa-callout\"\n [ngClass]=\"{\n 'goa--event': type === 'event',\n 'goa--important': type === 'important',\n 'goa--emergency': type === 'emergency',\n 'goa--success': type === 'success'\n }\"\n>\n <div>\n <h3>{{ title }}</h3>\n <div class=\"messages\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n","styles":[".goa-callout{box-sizing:border-box;display:inline-block;position:relative;width:100%;margin:24px 0 0;padding:23px 24px;border:solid #0070c4;border-width:0 0 0 48px;background:#f1f1f1}.goa-callout :first-child{margin-top:0}.goa-callout :last-child{margin-bottom:0}.goa-callout.goa--important{border-color:#feba35}.goa-callout.goa--emergency,.goa-callout.goa--error{border-color:#ec040b}.goa-callout.goa--success{border-color:#00853f}.goa-callout:before{position:absolute;top:28px;left:-36px;width:24px;height:24px;content:\"\";background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,20a9,9,0,1,1,9-9A9,9,0,0,1,12,21Z'/%3E%3Cpath fill='%23fff' d='M15.16,15.5h-2V9a1,1,0,0,0-1-1H9.82a1,1,0,0,0,0,2h1.36V15.5h-2a1,1,0,1,0,0,2h6a1,1,0,0,0,0-2Z'/%3E%3Cpath fill='%23fff' d='M12,7.33A1.29,1.29,0,1,0,10.73,6,1.29,1.29,0,0,0,12,7.33Z'/%3E%3C/svg%3E\")}.goa-callout.goa--emergency:before,.goa-callout:before{background-color:transparent;background-repeat:no-repeat;background-position:50%}.goa-callout.goa--emergency:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M11,9.41v4.52a1,1,0,0,0,2,0V9.41a1,1,0,0,0-2,0Z'/%3E%3Cpath fill='%23fff' d='M12,16.15a1.29,1.29,0,1,0,1.29,1.29A1.29,1.29,0,0,0,12,16.15Z'/%3E%3Cpath fill='%23fff' d='M22.87,20.14l-10-17.32a1,1,0,0,0-1.74,0l-10,17.32a1,1,0,0,0,0,1,1,1,0,0,0,.87.5H22a1,1,0,0,0,.87-.5A1,1,0,0,0,22.87,20.14Zm-19.14-.5L12,5.32l8.27,14.32Z'/%3E%3C/svg%3E\")}.goa-callout.goa--error:before{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><defs><style>.a{fill:none;}.b{fill:white;}</style></defs><rect class=\"a\" width=\"24\" height=\"24\"/><path class=\"b\" d=\"M48.1,23a11,11,0,1,0-11-11A10.968,10.968,0,0,0,48.1,23Zm0-20a9,9,0,1,1-9,9A8.963,8.963,0,0,1,48.1,3Z\" transform=\"translate(-36)\"/><path class=\"b\" d=\"M43.6,16.4a.967.967,0,0,0,1.4,0l3-3,3,3a.967.967,0,0,0,1.4,0,.967.967,0,0,0,0-1.4l-3-3,3-3A.99.99,0,0,0,51,7.6l-3,3-3-3A.99.99,0,0,0,43.6,9l3,3-3,3A1.2,1.2,0,0,0,43.6,16.4Z\" transform=\"translate(-36)\"/></svg>');background-repeat:no-repeat;background-size:contain;background-position:50%}.goa-callout.goa--important:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,20a9,9,0,1,1,9-9A9,9,0,0,1,12,21Z'/%3E%3Cpath fill='%23000' d='M12,14.46a1,1,0,0,0,1-1V6.57a1,1,0,0,0-2,0v6.89A1,1,0,0,0,12,14.46Z'/%3E%3Cpath fill='%23000' d='M12,15.68A1.29,1.29,0,1,0,13.29,17,1.29,1.29,0,0,0,12,15.68Z'/%3E%3C/svg%3E\")}.goa-callout.goa--event:before,.goa-callout.goa--important:before{background-color:transparent;background-repeat:no-repeat;background-position:50%}.goa-callout.goa--event:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M3.27,22.85H20.73a2.14,2.14,0,0,0,2.14-2.14V5A2.14,2.14,0,0,0,20.73,2.9h-2.1v2h2.1a.14.14,0,0,1,.14.14V8.31H3.13V5a.14.14,0,0,1,.14-.14H5.48V6.28a1,1,0,1,0,2,0V1.85a1,1,0,1,0-2,0v1H3.27A2.14,2.14,0,0,0,1.13,5V20.71A2.14,2.14,0,0,0,3.27,22.85Zm17.6-12.54v10.4a.14.14,0,0,1-.14.14H3.27a.14.14,0,0,1-.14-.14V10.31Z'/%3E%3Cpath fill='%23fff' d='M16.45,7.28a1,1,0,0,0,1-1V1.85a1,1,0,0,0-2,0v1h-1.8v2h1.8V6.28A1,1,0,0,0,16.45,7.28Z'/%3E%3Cpath fill='%23fff' d='M11.47,7.28a1,1,0,0,0,1-1V1.85a1,1,0,1,0-2,0v1H8.66v2h1.81V6.28A1,1,0,0,0,11.47,7.28Z'/%3E%3Crect fill='%23fff' x='6.67' y='11.52' width='2.33' height='2.33'/%3E%3Crect fill='%23fff' x='11.22' y='11.52' width='2.33' height='2.33'/%3E%3Crect fill='%23fff' x='15.77' y='11.52' width='2.33' height='2.33'/%3E%3Crect fill='%23fff' x='3.64' y='15.83' width='2.33' height='2.33'/%3E%3Crect fill='%23fff' x='8.19' y='15.83' width='2.33' height='2.33'/%3E%3Crect fill='%23fff' x='12.74' y='15.83' width='2.33' height='2.33'/%3E%3C/svg%3E\")}.goa-callout.goa--success:before{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><defs><style>.a{fill:none;}.b{fill:white;}</style></defs><g transform=\"translate(-23 -68)\"><rect class=\"a\" width=\"24\" height=\"24\" transform=\"translate(23 68)\"/><path class=\"b\" d=\"M12,23A11,11,0,1,0,1,12,10.968,10.968,0,0,0,12,23ZM12,3a9,9,0,1,1-9,9A8.963,8.963,0,0,1,12,3Z\" transform=\"translate(23 68)\"/><path class=\"b\" d=\"M10.9,16.4a.908.908,0,0,0,.7.3h.1a.842.842,0,0,0,.7-.4L17.6,9a.913.913,0,0,0-.2-1.4,1,1,0,0,0-1.4.3l-4.5,6.3L8,10.5a.99.99,0,0,0-1.4,1.4Z\" transform=\"translate(23 68)\"/></g></svg>');background-repeat:no-repeat;background-size:contain;background-position:50%}.goa-callout .messages{margin-bottom:0;margin-top:1em}"]}]}],"members":{"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card.component.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/card/card.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,KAAK,EAAE,MAAM,eAAe,CAAC;AAEzD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AAEjD;;;;GAIG;AAMH,MAAM,OAAO,gBAAgB;IAS3B;QAPA;;WAEG;QACM,aAAQ,GAAoB,MAAM,CAAC;IAI5B,CAAC;IAEjB;;OAEG;IACH,QAAQ;IACR,CAAC;;;YApBF,SAAS,SAAC;gBACT,QAAQ,EAAE,UAAU;gBACpB,4nBAAoC;;aAErC;;;;uBAME,KAAK;uBACL,KAAK;yBACL,KAAK","sourcesContent":["import { Component, OnInit, Input } from '@angular/core';\n\nexport * from './header/card-header.component';\nexport * from './footer/card-footer.component';\nexport * from './thumb/card-thumb.component';\nexport * from './content/card-content.component';\n\n/**\n * Card component with Government of Alberta styling.\n * Place desired sub-components (goa-card-thumb-image, goa-card-header, goa-card-content, goa-card-footer) inside of content.\n * selector: goa-card\n */\n@Component({\n selector: 'goa-card',\n templateUrl: './card.component.html',\n styleUrls: ['./card.component.scss']\n})\nexport class GoACardComponent implements OnInit {\n\n /**\n * What percentage of container width to take.\n */\n @Input() cardSize: 'full' | 'auto' = 'full';\n @Input() titleUrl: string;\n @Input() isSkeleton: false;\n\n constructor() { }\n\n /**\n * @ignore\n */\n ngOnInit(): void {\n }\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoACardComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":12,"character":1},"arguments":[{"selector":"goa-card","template":"<div\n class=\"goa-card\"\n [ngClass]=\"{\n 'card-auto': cardSize === 'auto'\n }\" [attr.data-skeleton]=\"isSkeleton ? '' : null\"\n>\n <div class=\"goa-poster\">\n <ng-content select=\"goa-card-thumb-image\"></ng-content>\n </div>\n <div class=\"card-content\">\n <a class=\"goa-title\" href=\"{{ titleUrl }}\">\n <ng-content select=\"goa-card-header\"></ng-content>\n </a>\n <div class=\"goa-text\">\n <ng-content select=\"goa-card-content\"></ng-content>\n </div>\n <div class=\"goa-footer\">\n <ng-content select=\"goa-card-footer\"></ng-content>\n </div>\n </div>\n</div>\n","styles":["@use \"../variables/main.css\";@-webkit-keyframes pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}[data-skeleton]{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-skeleton] *{border-color:#ddd!important;color:transparent!important}[data-skeleton] a,[data-skeleton] p{background-color:#ddd!important;-webkit-animation:pulse 2s ease-in-out infinite;animation:pulse 2s ease-in-out infinite;display:inline;line-height:0!important;font-size:50%!important}[data-skeleton] a:after,[data-skeleton] p:after{content:\"\"!important;display:block!important;margin-bottom:1rem!important;background-size:contain}[data-skeleton] h1,[data-skeleton] h2,[data-skeleton] h3,[data-skeleton] h4,[data-skeleton] h5,[data-skeleton] h6{background-color:#ddd!important;-webkit-animation:pulse 2s ease-in-out infinite;animation:pulse 2s ease-in-out infinite;margin-bottom:1rem}[data-skeleton] h1{height:calc(.6 * var(--fs-3xl))!important}[data-skeleton] h2{height:calc(.6 * var(--fs-2xl))!important}[data-skeleton] h3{height:calc(.6 * var(--fs-xl))!important}[data-skeleton] h4{height:calc(.6 * var(--fs-lg))!important}[data-skeleton] img{background-color:#ddd!important}.skeleton,[data-skeleton] img{-webkit-animation:pulse 2s ease-in-out infinite;animation:pulse 2s ease-in-out infinite}.skeleton{background-color:#ddd!important;background:#dcdcdc;overflow:hidden;margin:10px 0}.skeleton.text{width:100%;height:12px;border-radius:4px}.skeleton.paragraph{width:100%;height:70px;border-radius:4px}.skeleton.title{width:50%;height:20px;margin-bottom:15px;border-radius:4px}.skeleton.avatar{width:100px;height:100px;border-radius:50%}.skeleton.thumbnail{width:100px;height:100px;border-radius:4px}.skeleton-image-content{display:flex;flex-direction:row;gap:30px}.skeleton-image-content__text{flex:1 1 auto}.skeleton-content{display:grid;grid-template-columns:1fr;gap:30px;align-items:left}.goa-card{box-sizing:border-box;background:#fff;border:1px solid #dcdcdc;transition:opacity .3s ease-in-out}.goa-card .card-content{padding:28px;border-top:8px solid #0081a2}.goa-card .card-content .goa-content,.goa-card .card-content .goa-text,.goa-card .card-content .goa-title{margin-bottom:28px}.goa-card .card-content .goa-text{color:#333;font-size:var(--fs-base);line-height:28px}.goa-card .card-content .goa-footer{font-size:var(--fs-base)}.goa-card .card-content .goa-title{font-size:var(--fs-xl);font-weight:400;line-height:32px}.goa-card .goa-poster{position:relative;display:block;padding:56.25% 0 0;overflow:hidden;background:#e5e5e5}.goa-card .goa-poster:empty{display:none}.goa-card .goa-poster iframe,.goa-card .goa-poster img{position:absolute;top:0;left:0;width:100%;height:100%;border:none}.goa-card .goa-poster-image img{display:block;width:100%;-o-object-fit:cover;object-fit:cover}.goa-card.card-auto{width:auto}.goa-card.card-auto .card{flex-basis:auto;width:auto}.goa-card a:hover{color:#004f84;text-decoration:none}.goa-card a:focus{outline:3px solid #feba35;outline-offset:0}.goa-card[data-skeleton] .goa-poster-image{background-color:#ddd!important;-webkit-animation:pulse 2s ease-in-out infinite;animation:pulse 2s ease-in-out infinite;padding-bottom:56.25%}.goa-card[data-skeleton] .goa-poster-image img{display:none}.goa-card[data-skeleton] .goa-title{margin-bottom:1rem}.goa-card[data-skeleton] .goa-footer{background-color:#ddd!important;-webkit-animation:pulse 2s ease-in-out infinite;animation:pulse 2s ease-in-out infinite;max-height:1rem}"]}]}],"members":{"cardSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"titleUrl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"isSkeleton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}}},"exports":[{"from":"./header/card-header.component"},{"from":"./footer/card-footer.component"},{"from":"./thumb/card-thumb.component"},{"from":"./content/card-content.component"}]}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card-content.component.js","sourceRoot":"","sources":["../../../../../../../libs/angular-components/src/lib/card/content/card-content.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;AAElD;;;;;GAKG;AAMH,MAAM,OAAO,uBAAuB;IAElC,gBAAgB,CAAC;IAEjB;;OAEG;IACH,QAAQ;IACR,CAAC;;;YAbF,SAAS,SAAC;gBACT,QAAQ,EAAE,kBAAkB;gBAC5B,0EAA4C;;aAE7C","sourcesContent":["import { Component, OnInit } from '@angular/core';\n\n/**\n * Content component used for Government of Alberta cards. \n * Put content inside of component and it will project to the content section of the card.\n * selector: goa-card-content\n * @example <goa-card><goa-card-content>My content</goa-card-content></goa-card>\n */\n@Component({\n selector: 'goa-card-content',\n templateUrl: './card-content.component.html',\n styleUrls: ['./card-content.component.scss']\n})\nexport class GoACardContentComponent implements OnInit {\n\n constructor() { }\n \n /**\n * @ignore\n */\n ngOnInit(): void {\n }\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoACardContentComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"goa-card-content","template":"<ng-container>\n <ng-content></ng-content>\n</ng-container>","styles":[""]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card-footer.component.js","sourceRoot":"","sources":["../../../../../../../libs/angular-components/src/lib/card/footer/card-footer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;AAElD;;;;;GAKG;AAMH,MAAM,OAAO,sBAAsB;IAEjC,gBAAgB,CAAC;IAEjB;;OAEG;IACH,QAAQ;IACR,CAAC;;;YAbF,SAAS,SAAC;gBACT,QAAQ,EAAE,iBAAiB;gBAC3B,0EAA2C;;aAE5C","sourcesContent":["import { Component, OnInit } from '@angular/core';\n\n/**\n * Footer component used for Government of Alberta cards. \n * Put footer content inside of component and it will project to the confootertent section of the card.\n * selector: goa-card-footer\n * @example <goa-card><goa-card-footer>My content</goa-card-footer></goa-card>\n */\n@Component({\n selector: 'goa-card-footer',\n templateUrl: './card-footer.component.html',\n styleUrls: ['./card-footer.component.scss']\n})\nexport class GoACardFooterComponent implements OnInit {\n\n constructor() { }\n \n /**\n * @ignore\n */\n ngOnInit(): void {\n }\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoACardFooterComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"goa-card-footer","template":"<ng-container>\n <ng-content></ng-content>\n</ng-container>","styles":[""]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card-header.component.js","sourceRoot":"","sources":["../../../../../../../libs/angular-components/src/lib/card/header/card-header.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;AAElD;;;;;GAKG;AAMH,MAAM,OAAO,sBAAsB;IAEjC,gBAAgB,CAAC;IAEjB;;OAEG;IACH,QAAQ;IACR,CAAC;;;YAbF,SAAS,SAAC;gBACT,QAAQ,EAAE,iBAAiB;gBAC3B,0EAA2C;;aAE5C","sourcesContent":["import { Component, OnInit } from '@angular/core';\n\n/**\n * Header component used for Government of Alberta cards. \n * Put header content inside of component and it will project to the header section of the card.\n * selector: goa-card-header\n * @example <goa-card><goa-card-header>My content</goa-card-header></goa-card>\n */\n@Component({\n selector: 'goa-card-header',\n templateUrl: './card-header.component.html',\n styleUrls: ['./card-header.component.scss']\n})\nexport class GoACardHeaderComponent implements OnInit {\n\n constructor() { }\n \n /**\n * @ignore\n */\n ngOnInit(): void {\n }\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoACardHeaderComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"goa-card-header","template":"<ng-container>\n <ng-content></ng-content>\n</ng-container>","styles":[""]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card-thumb.component.js","sourceRoot":"","sources":["../../../../../../../libs/angular-components/src/lib/card/thumb/card-thumb.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,KAAK,EAAE,MAAM,eAAe,CAAC;AAEzD;;;;;GAKG;AAMH,MAAM,OAAO,0BAA0B;IAUrC,gBAAe,CAAC;IAEhB;;OAEG;IACH,QAAQ,KAAU,CAAC;;;YApBpB,SAAS,SAAC;gBACT,QAAQ,EAAE,sBAAsB;gBAChC,yFAAgD;;aAEjD;;;;kBAKE,KAAK;kBAIL,KAAK","sourcesContent":["import { Component, OnInit, Input } from '@angular/core';\n\n/**\n * cardImage image component used for Government of Alberta cards.\n * It will project to the content section of the card.\n * selector: goa-card-thumb-image\n * @example <goa-card><goa-card-thumb-image url=\"\" alt=\"\"></goa-card-thumb-image></goa-card>\n */\n@Component({\n selector: 'goa-card-thumb-image',\n templateUrl: './card-thumb-image.component.html',\n styleUrls: ['./card-thumb.component.scss'],\n})\nexport class GoACardThumbImageComponent implements OnInit {\n /**\n * The url of the image.\n */\n @Input() url: string;\n /**\n * The alt text for the image.\n */\n @Input() alt: string;\n\n constructor() {}\n\n /**\n * @ignore\n */\n ngOnInit(): void {}\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoACardThumbImageComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"goa-card-thumb-image","template":"<ng-container>\n <img src=\"{{url}}\" [attr.alt]=\"alt\">\n</ng-container>","styles":[":host iframe,:host img{position:absolute;top:0;left:0;width:100%;height:100%;border:none}"]}]}],"members":{"url":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"alt":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card.group.component.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/card-group/card.group.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,KAAK,EAAE,MAAM,eAAe,CAAC;AAczD;;GAEG;AAMH,MAAM,OAAO,qBAAqB;IAgBhC,gBAAgB,CAAC;IAEjB,8DAA8D;IAC9D,QAAQ,KAAK,CAAC;;;YAxBf,SAAS,SAAC;gBACT,QAAQ,EAAE,gBAAgB;gBAC1B,6uBAA0C;;aAE3C;;;;qBAKE,KAAK;oBAKL,KAAK;wBAKL,KAAK","sourcesContent":["import { Component, OnInit, Input } from '@angular/core';\n\ninterface CardItem {\n title: string;\n /** Card description */\n description?: string;\n /** Card image , display on top of title */\n cardImageUrl?: string;\n /** Display card size to allow card responsively show in different device*/\n cardWidth?: number;\n /** Navigation to relate webside from Card title */\n titleUrl?: string;\n}\n\n/**\n * A wrapper/group for a set of card display\n */\n@Component({\n selector: 'goa-card-group',\n templateUrl: './card.group.component.html',\n styleUrls: ['./card.group.component.scss'],\n})\nexport class GoACardGroupComponent implements OnInit {\n /**\n * The appearance style of the button.\n */\n @Input() layout: 'basic' | 'column';\n\n /**\n * Title header text.\n */\n @Input() title: string;\n\n /**\n * Card Items JSON array\n */\n @Input() cardItems?: CardItem[];\n\n constructor() { }\n\n /* eslint-disable @angular-eslint/no-empty-lifecycle-method */\n ngOnInit() { }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoACardGroupComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":17,"character":1},"arguments":[{"selector":"goa-card-group","template":"<ng-container>\n <div class=\"goa-card-group\">\n <div class=\"card-group-title\">{{ title }}</div>\n <div\n [ngClass]=\"{\n 'card-group-basic': layout === 'basic',\n 'card-group-column': layout === 'column'\n }\"\n >\n <ng-content></ng-content>\n <div *ngFor=\"let card of cardItems\">\n <goa-card titleUrl=\"{{ card.titleUrl }}\">\n <goa-card-thumb-image\n url=\"{{ card.cardImageUrl }}\"\n alt=\"hero pic\"\n ></goa-card-thumb-image>\n <goa-card-header>{{ card.title }}</goa-card-header>\n <goa-card-content>{{ card.description }}</goa-card-content>\n </goa-card>\n </div>\n </div>\n </div>\n</ng-container>\n","styles":[".goa-card-group{margin-top:14px;vertical-align:top}.goa-card-group .card-group-title{font-size:24px;font-weight:700;color:#333}.goa-card-group .card-group-basic{display:flex;flex-direction:row;flex-wrap:wrap;align-items:stretch}.goa-card-group .card-group-basic>div{margin:14px 10px}.goa-card-group .card-group-basic-vue>div{display:flex;flex-direction:row;flex-wrap:wrap;align-items:stretch}.goa-card-group .card-group-basic-vue>div>div{margin:14px 10px}.goa-card-group .card-group-column{display:inline-block;flex-direction:column;-moz-column-count:3;column-count:3;flex-wrap:wrap;align-items:stretch}.goa-card-group .card-group-column>div{margin:14px}.goa-card-group .card-group-column-vue>div{display:inline-block;flex-direction:column;-moz-column-count:3;column-count:3;flex-wrap:wrap;align-items:stretch}.goa-card-group .card-group-column>div>div{margin:14px}"]}]}],"members":{"layout":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"cardItems":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-change.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/checkbox/checkbox-change.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,iBAAiB;CAK3B","sourcesContent":["import { GoACheckboxComponent } from './checkbox.component';\n\nexport class GoACheckboxChange {\n /** The source MatCheckbox of the event. */\n source: GoACheckboxComponent;\n /** The new `checked` value of the checkbox. */\n checked: boolean;\n }"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoACheckboxChange":{"__symbolic":"class"}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.component.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/checkbox/checkbox.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,MAAM,EACN,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAwB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGzE,MAAM,CAAC,MAAM,mCAAmC,GAAG;IACjD,OAAO,EAAE,iBAAiB;IAC1B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,oBAAoB,CAAC;IACnD,KAAK,EAAE,IAAI;CACZ,CAAA;AAED;;;GAGG;AASH,MAAM,OAAO,oBAAoB;IAyE/B,YAAoB,kBAAqC;QAArC,uBAAkB,GAAlB,kBAAkB,CAAmB;QA1CzD;;WAEG;QACK,mBAAc,GAAG,KAAK,CAAC;QAmB/B;;WAEG;QACM,kBAAa,GAAuB,OAAO,CAAC;QAEpD;;UAEE;QACO,oBAAe,GAAoC,IAAI,YAAY,EAAqB,CAAC;QAOnG;;WAEG;QACH,qBAAgB,GAAG,CAAC,CAAM,EAAE,EAAE,GAAG,CAAC,CAAC;QAGjC,IAAI,CAAC,QAAQ,GAAG,gBAAgB,oBAAoB,CAAC,KAAK,EAAE,EAAE,CAAA;IAChE,CAAC;IAxCD;;;OAGG;IACH,IACI,aAAa,KAAc,OAAO,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC;IAC5D,IAAI,aAAa,CAAC,KAAc;QAC9B,sDAAsD;QACtD,IAAI,KAAK,KAAK,IAAI,C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AAC;IAC5C,CAAC;;AA/ID;;GAEG;AACI,0BAAK,GAAG,CAAC,CAAC;;YAblB,SAAS,SAAC;gBACT,QAAQ,EAAE,cAAc;gBACxB,0wCAAwC;gBAExC,gIAAgI;gBAChI,SAAS,EAAE,CAAC,mCAAmC,CAAC;gBAChD,eAAe,EAAE,uBAAuB,CAAC,MAAM;;aAChD;;;YAvBC,iBAAiB;;;oBAsChB,KAAK;sBAKL,KAAK;uBAKL,KAAK;uBAKL,KAAK;4BAUL,KAAK;4BAiBL,KAAK;8BAKL,MAAM","sourcesContent":["import {\n Component,\n Input,\n Output,\n EventEmitter,\n forwardRef,\n ChangeDetectorRef,\n ChangeDetectionStrategy\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { GoACheckboxChange } from './checkbox-change';\n\nexport const GOA_CHECKBOX_CONTROL_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => GoACheckboxComponent),\n multi: true\n}\n\n/**\n * Checkbox component with Government of Alberta styling.\n * selector: goa-checkbox\n */\n@Component({\n selector: 'goa-checkbox',\n templateUrl: './checkbox.component.html',\n styleUrls: ['./checkbox.component.scss'],\n //register our custom ControlValueAccessor with angular DI system so angular knows how to get instance of it for ngModel binding\n providers: [GOA_CHECKBOX_CONTROL_VALUE_ACCESSOR],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class GoACheckboxComponent implements ControlValueAccessor {\n\n /**\n * @ignore\n */\n static idNum = 0;\n /**\n * @ignore\n */\n uniqueId: string;\n\n /**\n * Value/unique identifier for the object the checkbox represents.\n */\n @Input() value: string;\n\n /**\n * Boolean indicating whether or not the checkbox is checked/selected.\n */\n @Input() checked: boolean;\n\n /**\n * Boolean indicating whether or not the checkbox is disabled.\n */\n @Input() disabled: boolean;\n\n /**\n * Boolean indicating whether or not the checkbox is required.\n */\n @Input() required: boolean;\n\n /**\n * @ignore\n */\n private _indeterminate = false;\n /**\n * Boolean indicating whether or not the checkbox should display as indeterminate\n * (i.e. it has associated 'child' checkboxes, some of which are selected).\n */\n @Input()\n get indeterminate(): boolean { return this._indeterminate; }\n set indeterminate(value: boolean) {\n // only do something if value has changed from current\n if (value !== this.indeterminate) {\n this._indeterminate = value;\n\n // can't be indeterminate and checked, so clear checked\n if (this._indeterminate){\n this.checked = false;\n }\n }\n }\n\n /**\n * The position to display the label/text for the checbox. Valid values are before and after.\n */\n @Input() labelPosition: 'before' | 'after' = 'after';\n\n /**\n * Event emitted containing the source checkbox, and whether or not it is checked.\n */\n @Output() selectionChange: EventEmitter<GoACheckboxChange> = new EventEmitter<GoACheckboxChange>();\n\n /**\n * @ignore\n */\n _onTouchedCallback: () => void;\n\n /**\n * @ignore\n */\n _propagateChange = (_: any) => { };\n\n constructor(private _changeDetectorRef: ChangeDetectorRef,) {\n this.uniqueId = `goa-checkbox-${GoACheckboxComponent.idNum++}`\n }\n\n /**\n * Boolean indicating if the checkbox is required and not checked\n * @ignore\n */\n hasError(): boolean {\n return this.required && !this.checked;\n }\n\n /**\n * Implemented as part of ControlValueAccessor.\n * @param value The model bound property, i.e. the value of checked\n * @ignore\n */\n writeValue(value: any) {\n if ((value !== undefined) && (value !== null)) {\n this.checked = value;\n this._changeDetectorRef.detectChanges();\n }\n }\n\n /**\n * Implemented as part of ControlValueAccessor.\n * @param fn The function to call on change. Provided by ControlValueAccessor\n * @ignore\n */\n registerOnChange(fn: any) {\n this._propagateChange = fn;\n }\n\n /**\n * Implemented as part of ControlValueAccessor.\n * @param fn The function to call on touch. Provided by ControlValueAccessor\n * @ignore\n */\n registerOnTouched(fn: any) {\n this._onTouchedCallback = fn;\n };\n\n /**\n * Toggles the checked value of the checkbox\n * @ignore\n */\n toggle(): void {\n this.checked = !this.checked;\n }\n\n /**\n * User interaction event on click of the checkbox or its label to indicate toggling of the current checked status.\n * Emits selectionChange to parent components.\n * @ignore\n */\n onChange(event) {\n event.stopPropagation();\n\n this.toggle();\n\n // user manually clicking overrides indeterminate and sets it to false\n // this is because if they click and set to checked/unchecked, all 'child' checkboxes should get set to\n // checked/unchecked (by user routine, not here), so this checkbox is no longer indeterminate\n this.indeterminate = false;\n\n const checkBoxChange = {\n source: this,\n checked: this.checked\n } as GoACheckboxChange;\n\n this._propagateChange(this.checked);\n this.selectionChange.emit(checkBoxChange);\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GOA_CHECKBOX_CONTROL_VALUE_ACCESSOR":{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":13,"character":11},"useExisting":{"__symbolic":"reference","name":"GoACheckboxComponent"},"multi":true},"GoACheckboxComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":22,"character":1},"arguments":[{"selector":"goa-checkbox","providers":[{"__symbolic":"reference","name":"GOA_CHECKBOX_CONTROL_VALUE_ACCESSOR"}],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":28,"character":19},"member":"OnPush"},"template":"\n<div class=\"goa-checkbox\" [ngClass]=\"{'goa-checkbox-disabled': disabled, 'has-error': hasError(), 'goa-checkbox-label-before': labelPosition === 'before'}\">\n <label class=\"goa-checkbox-layout\" [attr.for]=\"uniqueId\">\n <div class=\"goa-checkbox-container\"\n [ngClass]=\"{'goa-checkbox-selected': checked, 'goa-checkbox-indeterminate': indeterminate}\">\n <input type=\"checkbox\"\n [id]=\"uniqueId\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n [attr.value]=\"value\"\n (change)=\"onChange($event)\"\n />\n <svg *ngIf=\"checked\" id='checkmark' xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 12.18\" class=\"goa-checkmark\">\n <path d=\"M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z\"/>\n </svg>\n <svg *ngIf=\"indeterminate\" id='dashmark' xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 15 2\" class=\"goa-indeterminate\">\n <rect width=\"15\" height=\"2\"/>\n </svg>\n </div>\n <div class=\"goa-checkbox-label\">\n <ng-content></ng-content>\n </div>\n </label>\n</div>\n","styles":[".goa-checkbox input[type=checkbox]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none}.goa-checkbox .goa-checkbox-label{z-index:2;box-sizing:border-box;margin:0;padding:0 0 0 8px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:46px;display:flex;align-items:center}.goa-checkbox.goa-checkbox-disabled{opacity:1%}.goa-checkbox.goa-checkbox-disabled .goa-checkbox-label{cursor:default}.goa-checkbox.has-error .goa-checkbox-container{border:2px solid #fc1921;color:#fc1921}.goa-checkbox.has-error .goa-checkbox-container svg{fill:#fc1921}.goa-checkbox .goa-checkbox-container{box-sizing:border-box;border:1px solid #666;border-radius:2px;height:24px;line-height:24px;width:24px;display:flex;flex-direction:column;justify-content:center;padding:3px}.goa-checkbox .goa-checkbox-container svg{display:none;flex:1 1 auto;fill:#fff}.goa-checkbox .goa-checkbox-container.goa-checkbox-selected{background-color:#0070c4}.goa-checkbox .goa-checkbox-container.goa-checkbox-selected .goa-checkmark{display:block!important}.goa-checkbox .goa-checkbox-container.goa-checkbox-selected .goa-indeterminate{display:none!important}.goa-checkbox .goa-checkbox-container.goa-checkbox-indeterminate{background-color:#0070c4}.goa-checkbox .goa-checkbox-container.goa-checkbox-indeterminate .goa-checkmark{display:none}.goa-checkbox .goa-checkbox-container.goa-checkbox-indeterminate .goa-indeterminate{display:block}.goa-checkbox .goa-checkbox-container:hover:not(.goa-checkbox-selected):not(.goa-checkbox-indeterminate){background-color:#f1f1f1}.goa-checkbox .goa-checkbox-container:focus-within{box-shadow:0 0 0 3px #feba35;outline:none}.goa-checkbox.goa-checkbox-label-before .goa-checkbox-container{order:1;margin-left:8px;margin-right:auto}.goa-checkbox-layout{display:inline-flex;align-items:center;line-height:2.5rem}"]}]}],"members":{"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"checked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":3}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":3}}]}],"indeterminate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":69,"character":3}}]}],"labelPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":86,"character":3}}]}],"selectionChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":91,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":103,"character":42}]}],"hasError":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"toggle":[{"__symbolic":"method"}],"onChange":[{"__symbolic":"method"}]},"statics":{"idNum":0}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.component.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/dropdown/dropdown.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAGT,KAAK,EACL,MAAM,EACN,eAAe,EACf,YAAY,EACZ,SAAS,EACT,UAAU,EACV,S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,YAAY,EAAE;YAClC,OAAO,MAAM,CAAC,KAAK,CAAC,iBAAiB,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAC,CAAC;SACpF;QAED,IAAI,aAAa,KAAK,UAAU,EAAE;YAChC,OAAO,MAAM,CAAC,KAAK,CAAC,iBAAiB,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAC,CAAC;SAClF;IACH,CAAC;;;YAzZF,SAAS,SAAC;gBACT,QAAQ,EAAE,cAAc;gBACxB,42HAAwC;;aAEzC;;;YAhBC,iBAAiB;;;4BAqFhB,KAAK;yBAKL,KAAK;oBAKL,KAAK;0BAKL,KAAK;0BAKL,KAAK;uBAgCL,KAAK;uBAKL,KAAK;uBAqBL,KAAK;wBAiBL,SAAS,SAAC,WAAW;yBAMrB,eAAe,SAAC,kBAAkB,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;sBAMzD,eAAe,SAAC,kBAAkB,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;2BAM1D,eAAe,SAAC,uBAAuB,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;8BAK/D,MAAM","sourcesContent":["import {\n Component,\n OnInit,\n AfterViewInit,\n Input,\n Output,\n ContentChildren,\n EventEmitter,\n ViewChild,\n ElementRef,\n QueryList,\n ChangeDetectorRef\n} from '@angular/core';\n\nimport { GoAOptionComponent } from './option/option.component';\nimport { GoAOptionGroupComponent } from './option-group/option-group.component';\n\nimport { ConnectedPosition } from '@angular/cdk/overlay';\n\n/**\n * A dropdown component with Government of Alberta styling.\n * selector: goa-dropdown\n */\n@Component({\n selector: 'goa-dropdown',\n templateUrl: './dropdown.component.html',\n styleUrls: ['./dropdown.component.scss']\n})\nexport class GoADropdownComponent implements OnInit, AfterViewInit {\n /**\n * boolean for if the dropdown is open.\n * @ignore\n */\n _isOpen = false;\n\n /**\n * Is the required error tripped?\n * @ignore\n */\n _requiredError = false;\n\n /**\n * Bounding box of textInput.\n * @ignore\n */\n _triggerRect;\n\n /**\n * This position config ensures that the top \"start\" corner of the overlay\n * is aligned with with the bottom \"start\" of the origin by default (overlapping\n * the trigger completely). If the panel cannot fit below the trigger, it\n * will fall back to a position above the trigger.\n * @ignore\n */\n _positions: ConnectedPosition[] = [\n {\n originX: 'start',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'top',\n },\n {\n originX: 'start',\n originY: 'top',\n overlayX: 'start',\n overlayY: 'bottom',\n },\n ];\n\n /**\n * The current active option\n * @ignore\n */\n _activeOption: GoAOptionComponent;\n\n /**\n * The current active index\n * @ignore\n */\n _activeIndex;\n\n /**\n * All options currently matching filter including groups.\n * @ignore\n */\n _allFilteredOptions: Array<GoAOptionComponent> = [];\n\n /**\n * The list of filtered options to show in the view.\n * @ignore\n */\n _filteredOptions: Array<GoAOptionComponent>;\n\n /**\n * Whats the mode for typeahead.\n */\n @Input() typeaheadMode: 'none' | 'contains' | 'startsWith' = 'none';\n\n /**\n * The height for the dropdown. If none is set the dropdown grows until it reaches the viewport edge.\n */\n @Input() menuHeight: number;\n\n /**\n * The label for the dropdown.\n */\n @Input() label: string;\n\n /**\n * Helper text description of the dropdown.\n */\n @Input() description: string;\n\n /**\n * Update the selected options, select the options with the given ids\n */\n @Input()\n set selectedIds(ids: Array<string>) {\n if (this.allOptions === undefined) {\n // aren't initialized yet, return\n return;\n }\n\n if (ids === null || ids === undefined) {\n ids = [];\n }\n\n if (ids.length > 1 && this.multiple === false) {\n throw new Error('Cannot select multiple options when the dropdown has multiple set to false.');\n }\n\n const selectedOptions = [];\n this.allOptions.forEach(option => {\n if (ids.includes(option.id)) {\n option.selected = true;\n selectedOptions.push(option);\n }\n else {\n option.selected = false;\n }\n });\n\n this.selectionChanged(selectedOptions, true);\n }\n\n /**\n * Is the select disabled.\n */\n @Input() disabled = false;\n\n /**\n * Is multiple selection?\n */\n @Input()\n set multiple(value: boolean) {\n this._multiple = value;\n if (this._multiple === false) {\n // If we have changed from multiple to no multiple then deselect everything.\n this.selectedItems.forEach(option => {\n option.selected = false;\n });\n }\n }\n get multiple(): boolean {\n return this._multiple;\n }\n /**\n * @ignore\n */\n private _multiple = false;\n\n /**\n * Is a selection required?\n */\n @Input()\n set required(value: boolean) {\n this._required = value;\n this._requiredError = this.selectedItems.length === 0 && this._required === true;\n }\n get required(): boolean {\n return this._required;\n }\n /**\n * @ignore\n */\n private _required = false;\n\n /**\n * The select element.\n * @ignore\n */\n @ViewChild('textInput') textInput: ElementRef<HTMLInputElement>;\n\n /**\n * All options.\n * @ignore\n */\n @ContentChildren(GoAOptionComponent, { descendants: true }) allOptions: QueryList<GoAOptionComponent>;\n\n /**\n * The top level options for rendering options.\n * @ignore\n */\n @ContentChildren(GoAOptionComponent, { descendants: false }) options: QueryList<GoAOptionComponent>;\n\n /**\n * The option groups for rendering.\n * @ignore\n */\n @ContentChildren(GoAOptionGroupComponent, { descendants: false }) optionGroups: QueryList<GoAOptionGroupComponent>;\n\n /**\n * Event emitted containing the value field of all selected options when the selection changes.\n */\n @Output() selectionChange = new EventEmitter<Array<any>>();\n\n constructor(private cdr: ChangeDetectorRef) { }\n\n /**\n * Lifecycle hook OnInit\n * @ignore\n */\n /* eslint-disable @angular-eslint/no-empty-lifecycle-method */\n ngOnInit() { }\n\n /**\n * Lifecycle hook AfterViewInit\n * @ignore\n */\n ngAfterViewInit() {\n this._triggerRect = this.textInput.nativeElement.getBoundingClientRect();\n\n this._filteredOptions = [...this.options];\n this._allFilteredOptions = [...this.allOptions];\n\n if (this.selectedItems.length > 0) {\n this.setTextInput(this.selectedItems[0].label);\n }\n\n // The template output cache is populated by child components during render,\n // so tell angular that there have been changes during the render here.\n this.cdr.detectChanges();\n }\n\n /**\n * Called when user updates the text in the searchbox.\n * @param text The text of the input\n * @ignore\n */\n onFilterChange(text: string) {\n // open the dropdown if it is not already\n if (!this._isOpen === true) {\n this._isOpen = true;\n }\n\n this.filterOptions(text);\n }\n\n /**\n * Handler for keyboard events when menu is open.\n * @param event keyboard event\n * @ignore\n */\n overlayKeydown(event: KeyboardEvent) {\n if (event.code === 'Enter' || event.code === 'NumpadEnter') {\n this.optionClicked(this._activeOption);\n }\n else if (event.code === 'ArrowDown') {\n this._activeIndex = (this._activeIndex + 1) % this._allFilteredOptions.length;\n this._activeOption = this._allFilteredOptions[this._activeIndex];\n }\n else if (event.code === 'ArrowUp') {\n if (this._activeIndex > 0) {\n this._activeIndex = this._activeIndex - 1;\n this._activeOption = this._allFilteredOptions[this._activeIndex];\n }\n }\n }\n\n /**\n * Sets the active option. Active option is the option that when enter is pressed is selected.\n * @param option The option to make the active option\n * @ignore\n */\n setActiveOption(option) {\n this._activeOption = option;\n this._activeIndex = this._allFilteredOptions.findIndex(\n (filteredOption) => filteredOption.id === option.id\n );\n }\n\n /**\n * Handler for when the input is clicked.\n * @ignore\n */\n inputClicked() {\n if (this.disabled === false) {\n this._isOpen = !this._isOpen;\n\n // set the active option to the first in the list\n if (this._allFilteredOptions.length > 0) {\n this._activeOption = this._allFilteredOptions[0];\n this._activeIndex = 0;\n }\n }\n }\n\n /**\n * Handler for when descendant an option is clicked.\n * @ignore\n */\n optionClicked(option: GoAOptionComponent) {\n let selectedOptions = [];\n\n if (this.multiple === true) {\n option.selected = !option.selected;\n selectedOptions = this.selectedItems;\n }\n else {\n option.selected = !option.selected;\n this.selectedItems.forEach((o) => {\n if (option.id !== o.id) {\n // change all options that weren't selected to false without notifying change\n o.selected = false;\n }\n\n selectedOptions = [option];\n });\n }\n\n this.selectionChanged(selectedOptions, true);\n\n if (this.multiple === false) {\n // close the dropdown if we are in single selection mode\n this._isOpen = false;\n }\n }\n\n /**\n * Update view when selection changes\n * @param options\n * @ignore\n */\n private selectionChanged(options: Array<GoAOptionComponent>, emitEvent: boolean) {\n if (options.length > 0) {\n const selectedOptions = options.map(o => o.label).join(', ')\n this._requiredError = false;\n this.setTextInput(selectedOptions);\n }\n else {\n this._requiredError = this.required;\n this.setTextInput('');\n }\n\n if (emitEvent === true) {\n this.emitChange(options);\n }\n }\n\n /**\n * Emit selection change\n * @ignore\n */\n private emitChange(options: Array<GoAOptionComponent>) {\n const values = options.map(\n (option) => option.value\n );\n\n this.selectionChange.emit(values);\n }\n\n /**\n * Gets all the currently selected options\n * @ignore\n */\n private get selectedItems(): Array<GoAOptionComponent> {\n if (this.allOptions === undefined) {\n return [];\n }\n\n return [...this.allOptions.filter(\n (option) => option.selected === true\n )];\n }\n\n /**\n * Set the text of the input.\n * @param value The value to set\n * @ignore\n */\n private setTextInput(value: string) {\n if (this.textInput) {\n this.textInput.nativeElement.value = value;\n // Exact matches show whole list?\n this.filterOptions('');\n }\n }\n\n /**\n * Update the filtered options with the passed in filter text.\n * @param filterText The text to filter by\n * @ignore\n */\n private filterOptions(filterText: string) {\n this.optionGroups.forEach(group => {\n group._filteredOptions = group.options.filter(this.typeaheadFilter.bind(this, filterText, this.typeaheadMode));\n });\n\n this._filteredOptions = this.options.filter(this.typeaheadFilter.bind(this, filterText, this.typeaheadMode));\n this._allFilteredOptions = this.allOptions.filter(this.typeaheadFilter.bind(this, filterText, this.typeaheadMode));\n\n // The filters have changed so update the active option incase it has been filtered out.\n this._activeOption = this._allFilteredOptions[this._activeIndex % this._allFilteredOptions.length];\n }\n\n /**\n * Filter for typeahead with logic for what mode we are in.\n * @param option\n * @ignore\n */\n private typeaheadFilter(filterText: string, typeaheadMode: 'none' | 'startsWith' | 'contains', option: GoAOptionComponent) {\n if (typeaheadMode === 'none' || this.typeaheadMode === undefined) {\n return true;\n }\n\n if (typeaheadMode === 'startsWith') {\n return option.label.toLocaleLowerCase().startsWith(filterText.toLocaleLowerCase());\n }\n\n if (typeaheadMode === 'contains') {\n return option.label.toLocaleLowerCase().includes(filterText.toLocaleLowerCase());\n }\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoADropdownComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"goa-dropdown","template":"<div class=\"goa-dropdown\" [ngClass]=\"{\n 'single-selection': multiple === false,\n 'has-error': _requiredError === true,\n 'opened': _isOpen,\n 'disabled': disabled === true\n }\"> \n <label class=\"dropdown-label\">{{label}}\n <span *ngIf=\"required\" class=\"required-label\" i18n=\"Required label for dropdown\">(Required)</span>\n <div (click)=\"inputClicked()\" class=\"dropdown-grouping\" cdkOverlayOrigin #trigger=\"cdkOverlayOrigin\">\n <i class=\"goa-select-icon\"></i>\n <input class=\"dropdown-textbox margin-override\" \n #textInput \n (input)=\"onFilterChange($event.target.value)\"\n type=\"text\" \n [attr.readonly]=\"typeaheadMode === 'none' ? 'readonly' : null\"\n [attr.disabled]=\"disabled === true ? 'true' : null\"\n placeholder=\"{{description}}\"> \n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayLockPosition\n [cdkConnectedOverlayHasBackdrop]=\"true\"\n [cdkConnectedOverlayViewportMargin]=\"20\"\n cdkConnectedOverlayBackdropClass=\"cdk-overlay-transparent-backdrop\"\n (backdropClick)=\"_isOpen = false\"\n (overlayKeydown)=\"overlayKeydown($event)\"\n (detach)=\"_isOpen = false\"\n [cdkConnectedOverlayOrigin]=\"trigger\"\n [cdkConnectedOverlayOpen]=\"_isOpen\"\n [cdkConnectedOverlayPositions]=\"_positions\"\n [cdkConnectedOverlayMinWidth]=\"_triggerRect?.width\"\n [cdkConnectedOverlayHeight]=\"menuHeight\"\n [cdkConnectedOverlayFlexibleDimensions]=\"true\"\n >\n <div class=\"dropdown-menu\">\n <div *ngFor=\"let optionGroup of optionGroups\" class=\"option-group\">\n <div *ngIf=\"optionGroup._filteredOptions.length > 0\">\n <div class=\"option-group-label\">\n {{optionGroup.label}}\n </div>\n <!--Grab the <option> template from the GoAOption -->\n <div class=\"option\"\n [ngClass]=\"{\n 'selected': option.selected,\n 'active': option.id === _activeOption.id\n }\"\n *ngFor=\"let option of (optionGroup._filteredOptions)\" \n (click)=\"optionClicked(option)\"\n (mouseover)=\"setActiveOption(option)\">\n <ng-template [ngTemplateOutlet]=\"option.optionTemplate\"></ng-template>\n </div>\n </div>\n </div>\n <!--Grab the <option> template from the GoAOption -->\n <div class=\"option\" \n [ngClass]=\"{\n 'selected': option.selected,\n 'active': option.id === _activeOption.id\n }\"\n *ngFor=\"let option of (_filteredOptions)\" \n (click)=\"optionClicked(option)\"\n (mouseover)=\"setActiveOption(option)\"> \n <ng-template [ngTemplateOutlet]=\"option.optionTemplate\"></ng-template>\n </div>\n </div> \n </ng-template> \n </div>\n <span *ngIf=\"!_requiredError\" class=\"helper-text\">{{description}}</span>\n <span *ngIf=\"_requiredError === true\" class=\"error-text\" i18n=\"Required warning for dropdown\">At least one item must be selected.</span> \n </label>\n</div>\n","styles":[".dropdown-overlay{position:absolute;top:0;left:0;right:0;bottom:0}.dropdown-menu{border:1px solid #dcdcdc;border-radius:4px;background:#fff;padding:0;margin-top:3px;width:100%;overflow-y:auto}.dropdown-menu .option-group .option-group-label{font-weight:700;padding:4px 12px}.dropdown-menu .option-group .option{font-weight:400;padding:4px 24px}.dropdown-menu .option{padding:4px 12px;color:#0070c4;border:1px solid #f1f1f1}.dropdown-menu .option.selected{background-color:#0070c4;color:#fff}.dropdown-menu .option.selected.active{background-color:#004f84;color:#fff}.dropdown-menu .option.active{background-color:#f1f1f1;color:#333}.goa-dropdown{position:relative}.goa-dropdown .dropdown-grouping input[type=text]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-right:30px!important}.goa-dropdown .dropdown-grouping.disabled{opacity:1%}.goa-dropdown .dropdown-grouping .dropdown-textbox{box-sizing:border-box;width:100%;margin:8px 0 0;padding:12px 8px 12px 12px;border-radius:4px;border:1px solid #666;font-size:18px;font-weight:400;color:#0070c4;-webkit-appearance:none;-moz-appearance:none;appearance:none}.goa-dropdown .dropdown-grouping .dropdown-textbox:disabled{opacity:.3;pointer-events:none}.goa-dropdown .dropdown-grouping .dropdown-textbox::-ms-expand{display:none}.goa-dropdown .dropdown-grouping .dropdown-textbox:hover{border:1px solid #0070c4}.goa-dropdown .dropdown-grouping .dropdown-textbox:focus{box-shadow:0 0 0 3px #feba35;outline:none}.goa-dropdown .dropdown-grouping .dropdown-textbox.margin-override{margin:0}.goa-dropdown .dropdown-grouping .dropdown-textbox-filter{font-size:14px!important;border:none!important;margin:0!important;box-sizing:border-box;width:100%;margin:8px 0 0;padding:12px 8px 12px 12px;border-radius:4px;border:1px solid #666;font-size:18px;font-weight:400;color:#0070c4;-webkit-appearance:none;-moz-appearance:none;appearance:none}.goa-dropdown .dropdown-grouping .dropdown-textbox-filter:disabled{opacity:.3;pointer-events:none}.goa-dropdown .dropdown-grouping .dropdown-textbox-filter::-ms-expand{display:none}.goa-dropdown .dropdown-grouping .dropdown-textbox-filter:hover{border:1px solid #0070c4}.goa-dropdown .dropdown-grouping .dropdown-textbox-filter:focus{box-shadow:0 0 0 3px #feba35;box-shadow:none!important;outline:none}.goa-dropdown i.goa-select-icon{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='' opacity='1' d='M11.29,15.7a1,1,0,0,0,1.41,0l6-6A1,1,0,1,0,17.29,8.3L12,13.58,6.71,8.3a1,1,0,0,0-1.42,0,1,1,0,0,0,0,1.41Z'/%3E%3C/svg%3E%0A\");left:auto;right:8px;width:24px;height:24px;pointer-events:none;position:absolute;margin-top:16px;color:#0070c4}.goa-dropdown.disabled i.goa-select-icon,.goa-dropdown i.goa-select-icon{background-repeat:no-repeat;background-size:contain;background-position:50%}.goa-dropdown.disabled i.goa-select-icon{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='' opacity='0.3' d='M11.29,15.7a1,1,0,0,0,1.41,0l6-6A1,1,0,1,0,17.29,8.3L12,13.58,6.71,8.3a1,1,0,0,0-1.42,0,1,1,0,0,0,0,1.41Z'/%3E%3C/svg%3E%0A\")}.goa-dropdown.opened i.goa-select-icon{transform:rotate(180deg)}.goa-dropdown.has-error .dropdown-grouping .dropdown-textbox{border:2px solid #fc1921}.goa-dropdown .dropdown-label{font-size:18px;font-weight:700;color:#333}.goa-dropdown .required-label{margin-left:8px;font-size:14px;color:#666}.goa-dropdown .helper-text{font-size:14px;font-weight:400;color:#333}.goa-dropdown .error-text{color:#fc1921;font-size:14px}"]}]}],"members":{"typeaheadMode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":96,"character":3}}]}],"menuHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":101,"character":3}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":106,"character":3}}]}],"description":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":111,"character":3}}]}],"selectedIds":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":116,"character":3}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":148,"character":3}}]}],"multiple":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":153,"character":3}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":174,"character":3}}]}],"textInput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":191,"character":3},"arguments":["textInput"]}]}],"allOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":197,"character":3},"arguments":[{"__symbolic":"reference","module":"./option/option.component","name":"GoAOptionComponent","line":197,"character":19},{"descendants":true}]}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":203,"character":3},"arguments":[{"__symbolic":"reference","module":"./option/option.component","name":"GoAOptionComponent","line":203,"character":19},{"descendants":false}]}]}],"optionGroups":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":209,"character":3},"arguments":[{"__symbolic":"reference","module":"./option-group/option-group.component","name":"GoAOptionGroupComponent","line":209,"character":19},{"descendants":false}]}]}],"selectionChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":214,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":216,"character":27}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"onFilterChange":[{"__symbolic":"method"}],"overlayKeydown":[{"__symbolic":"method"}],"setActiveOption":[{"__symbolic":"method"}],"inputClicked":[{"__symbolic":"method"}],"optionClicked":[{"__symbolic":"method"}],"selectionChanged":[{"__symbolic":"method"}],"emitChange":[{"__symbolic":"method"}],"setTextInput":[{"__symbolic":"method"}],"filterOptions":[{"__symbolic":"method"}],"typeaheadFilter":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"option.component.js","sourceRoot":"","sources":["../../../../../../../libs/angular-components/src/lib/dropdown/option/option.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,uBAAuB,EAAgB,MAAM,eAAe,CAAC;AAExH;;;GAGG;AAOH,MAAM,OAAO,kBAAkB;IAkC7B;QAhCA;;;WAGG;QACH,aAAQ,GAAG,KAAK,CAAC;QAiBjB;;WAEG;QACM,oBAAe,GAAG,KAAK,CAAC;IAQlB,CAAC;IAEhB;;;OAGG;IACH,QAAQ;QACN,IAAG,IAAI,CAAC,EAAE,KAAK,SAAS,IAAI,IAAI,CAAC,EAAE,KAAK,IAAI,EAAE;YAC5C,MAAM,IAAI,SAAS,CAAC,yBAAyB,CAAC,CAAC;SAChD;QAED,IAAG,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,EAAE;YAClD,MAAM,IAAI,SAAS,CAAC,4BAA4B,CAAC,CAAC;SACnD;QAED,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,eAAe,CAAC;IACvC,CAAC;;;YAxDF,SAAS,SAAC;gBACT,QAAQ,EAAE,YAAY;gBACtB,wIAAsC;gBAEtC,eAAe,EAAE,uBAAuB,CAAC,MAAM;;aAChD;;;;iBAYE,KAAK;oBAKL,KAAK;oBAKL,KAAK;8BAKL,KAAK;6BAML,SAAS,SAAC,gBAAgB","sourcesContent":["import { Component, OnInit, Input, TemplateRef, ViewChild, ChangeDetectionStrategy, EventEmitter } from '@angular/core';\n\n/**\n * Option component with to use with GoADropdown.\n * selector: goa-option\n */\n@Component({\n selector: 'goa-option',\n templateUrl: './option.component.html',\n styleUrls: ['./option.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class GoAOptionComponent implements OnInit {\n\n /**\n * Is the option currently selected\n * @ignore\n */\n selected = false;\n\n /**\n * The unique id of the option.\n */\n @Input() id: string;\n\n /**\n * The value for the option\n */\n @Input() value: any;\n\n /**\n * Label to be used for option.\n */\n @Input() label: string;\n\n /**\n * Is the option selected by default?\n */\n @Input() defaultSelected = false;\n\n /**\n * The option template\n * @ignore\n */\n @ViewChild('optionTemplate') optionTemplate: TemplateRef<any>;\n\n constructor() {}\n\n /**\n * Lifecycle hook OnInit\n * @ignore\n */\n ngOnInit() {\n if(this.id === undefined || this.id === null) {\n throw new TypeError(`Input 'id' is required.`);\n }\n\n if(this.label === undefined || this.label === null) {\n throw new TypeError(`Input 'label' is required.`);\n }\n\n this.selected = this.defaultSelected;\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoAOptionComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"goa-option","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":10,"character":19},"member":"OnPush"},"template":"<ng-template #optionTemplate>\n <div class=\"goa-option\">\n <ng-content></ng-content>\n </div>\n</ng-template>","styles":[""]}]}],"members":{"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"defaultSelected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":3}}]}],"optionTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":44,"character":3},"arguments":["optionTemplate"]}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"option-group.component.js","sourceRoot":"","sources":["../../../../../../../libs/angular-components/src/lib/dropdown/option-group/option-group.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAET,KAAK,EACL,SAAS,EACT,eAAe,EACf,SAAS,EACT,WAAW,EACX,iBAAiB,EAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE;;;GAGG;AAMH,MAAM,OAAO,uBAAuB;IAwBlC,YAAoB,GAAsB;QAAtB,QAAG,GAAH,GAAG,CAAmB;IAAI,CAAC;IAE/C;;;OAGG;IACH,QAAQ;QACN,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,EAAE,EAAE;YACxE,MAAM,IAAI,SAAS,CAAC,gCAAgC,CAAC,CAAC;SACvD;IACH,CAAC;IAED;;;OAGG;IACH,eAAe;QACb,IAAI,CAAC,gBAAgB,GAAG,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1C,iGAAiG;QACjG,kDAAkD;QAClD,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;IAC3B,CAAC;;;YAlDF,SAAS,SAAC;gBACT,QAAQ,EAAE,kBAAkB;gBAC5B,ocAA4C;;aAE7C;;;YAZC,iBAAiB;;;oBAuBhB,KAAK;sBAML,eAAe,SAAC,kBAAkB,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;kCAMzD,SAAS,SAAC,qBAAqB","sourcesContent":["import {\n Component,\n OnInit,\n Input,\n QueryList,\n ContentChildren,\n ViewChild,\n TemplateRef,\n ChangeDetectorRef\n} from '@angular/core';\nimport { GoAOptionComponent } from '../option/option.component';\n\n/**\n * Option grouping component with to use with GoADropdown.\n * selector: goa-option-group\n */\n@Component({\n selector: 'goa-option-group',\n templateUrl: './option-group.component.html',\n styleUrls: ['./option-group.component.scss']\n})\nexport class GoAOptionGroupComponent implements OnInit {\n\n /**\n * Filtered options to show in the view.\n */\n _filteredOptions: Array<GoAOptionComponent>;\n\n /**\n * The label of the option group\n */\n @Input() label: string;\n\n /**\n * The defined options.\n * @ignore\n */\n @ContentChildren(GoAOptionComponent, { descendants: true }) options: QueryList<GoAOptionComponent>;\n\n /**\n * The option template\n * @ignore\n */\n @ViewChild('optionGroupTemplate') optionGroupTemplate: TemplateRef<any>;\n\n constructor(private cdr: ChangeDetectorRef) { }\n\n /**\n * Lifecycle hook OnInit\n * @ignore\n */\n ngOnInit() {\n if (this.label === undefined || this.label === null || this.label === '') {\n throw new TypeError(`The input 'label' is required.`);\n }\n }\n\n /**\n * Lifecycle hook AfterViewInit\n * @ignore\n */\n ngAfterViewInit() {\n this._filteredOptions = [...this.options];\n // The template output cache is populated by child components during render, so tell angular that\n // there have been changes during the render here.\n this.cdr.detectChanges();\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoAOptionGroupComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":16,"character":1},"arguments":[{"selector":"goa-option-group","template":"<!--Grab the <option> template from the GoAOption -->\n<ng-template #optionGroupTemplate>\n <div class=\"goa-option-group\">\n {{label}}\n <div class=\"group-options\">\n <ng-container class=\"goa-option\"> \n <ng-template *ngFor=\"let option of _filteredOptions\" [ngTemplateOutlet]=\"option.optionTemplate\"></ng-template>\n </ng-container>\n </div>\n </div>\n</ng-template>","styles":[".goa-option-group{font-weight:700}.goa-option-group .group-options{padding-left:1em;font-weight:400}"]}]}],"members":{"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":37,"character":3},"arguments":[{"__symbolic":"reference","module":"../option/option.component","name":"GoAOptionComponent","line":37,"character":19},{"descendants":true}]}]}],"optionGroupTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":43,"character":3},"arguments":["optionGroupTemplate"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":45,"character":27}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"element-load-indicator.component.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/element-load-indicator/element-load-indicator.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,GAIN,MAAM,eAAe,CAAC;AAGvB;;;GAGG;AAMH,MAAM,OAAO,gCAAgC;IAE3C;QAGA;;WAEG;QACM,YAAO,GAAG,IAAI,CAAC;QAExB;;UAEE;QACO,SAAI,GAAwB,SAAS,CAAC;QAE/C;;WAEG;QACM,eAAU,GAAG,SAAS,CAAC;QAEhC;;WAEG;QACM,kBAAa,GAAG,SAAS,CAAC;QAEnC,WAAM,GAAG,IAAI,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAEzC,gBAAW,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;QAC9B,aAAQ,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;QAC3B,cAAS,GAAG,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC;QAC3C,eAAU,GAAG,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,GAAG,GAAG,CAAC;QAC9C,YAAO,GAAG,OAAO,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;IA5BlD,CAAC;IA8BD;;MAEE;IACF,WAAW,CAAC,OAAsB;QAChC,IAAI,OAAO,CAAC,IAAI,EAAE;YAChB,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,YAAY,KAAK,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC9D,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;YACnC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;YAChC,IAAI,CAAC,OAAO,GAAG,OAAO,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YACvD,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC;YAChD,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,GAAG,GAAG,CAAC;SACpD;IACH,CAAC;IAED;;MAEE;IACF,QAAQ,KAAW,CAAC;;;YAvDrB,SAAS,SAAC;gBACT,QAAQ,EAAE,4BAA4B;gBACtC,+pBAAsD;;aAEvD;;;;sBASE,KAAK;mBAKL,KAAK;yBAKL,KAAK;4BAKL,KAAK","sourcesContent":["import {\n Component,\n Input,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\nimport { __values } from 'tslib';\n\n/**\n * A page load indicator component with Government of Alberta styling.\n * selector: goa-element-load-indicator\n */\n@Component({\n selector: 'goa-element-load-indicator',\n templateUrl: './element-load-indicator.component.html',\n styleUrls: ['./element-load-indicator.component.scss'],\n})\nexport class GoAElementLoadIndicatorComponent implements OnInit, OnChanges {\n\n constructor() {\n }\n\n /**\n * Sets the page loader visibility state.\n */\n @Input() visible = true;\n\n /**\n * The diameter of the loader in pixels.\n */\n @Input() size: 'small' | 'default' = 'default';\n\n /**\n * The base color of the spinner.\n */\n @Input() baseColour = '#c8eef9';\n\n /**\n * The spinner color of the spinner.\n */\n @Input() spinnerColour = '#0070c4';\n\n radius = this.size === 'small' ? 16 : 18;\n\n innerRadius = this.radius - 4;\n diameter = this.radius * 2;\n dashArray = this.innerRadius * Math.PI * 2;\n dashOffset = this.innerRadius * Math.PI * 0.5;\n viewBox = `0 0 ${this.diameter} ${this.diameter}`;\n\n /**\n * @ignore\n */\n ngOnChanges(changes: SimpleChanges): void {\n if (changes.size) {\n this.radius = changes.size.currentValue === 'small' ? 16 : 18;\n this.innerRadius = this.radius - 4;\n this.diameter = this.radius * 2;\n this.viewBox = `0 0 ${this.diameter} ${this.diameter}`;\n this.dashArray = this.innerRadius * Math.PI * 2;\n this.dashOffset = this.innerRadius * Math.PI * 0.5;\n }\n }\n\n /**\n * @ignore\n */\n ngOnInit(): void { }\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoAElementLoadIndicatorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":13,"character":1},"arguments":[{"selector":"goa-element-load-indicator","template":"<div *ngIf=\"visible\">\n <svg\n fill=\"none\"\n [attr.viewBox]=\"viewBox\"\n [attr.width]=\"radius\"\n [attr.height]=\"radius\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle\n class=\"base-circle\"\n [attr.cx]=\"radius\"\n [attr.cy]=\"radius\"\n [attr.r]=\"innerRadius\"\n [style.stroke]=\"baseColour\"\n />\n <circle\n class=\"rotating-circle\"\n [attr.cx]=\"radius\"\n [style.stroke-dasharray]=\"dashArray\"\n [style.stroke-dashoffset]=\"dashOffset\"\n [attr.cy]=\"radius\"\n [attr.r]=\"innerRadius\"\n [style.stroke]=\"spinnerColour\"\n />\n </svg>\n</div>\n","styles":["@-webkit-keyframes rotate{to{transform:rotate(1turn)}}@keyframes rotate{to{transform:rotate(1turn)}}.circular-loader{-webkit-animation:rotate 1s linear infinite;animation:rotate 1s linear infinite}.base-circle,.rotating-circle{display:block;fill:transparent;stroke-width:7px}.rotating-circle{-webkit-animation:rotate 1s linear infinite;animation:rotate 1s linear infinite;stroke-linecap:round;transform-origin:50% 50%}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"visible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"baseColour":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"spinnerColour":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":3}}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header.component.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/header/header.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,KAAK,EAAE,MAAM,eAAe,CAAC;AAIzD;;;GAGG;AAOH,MAAM,OAAO,kBAAkB;IAiB7B,oCAAoC;IAEpC;QAZA;;WAEG;QACM,gBAAW,GAAG,mCAAmC,CAAC;IAS3C,CAAC;IAEjB;;OAEG;IACH,QAAQ;QACN,IAAI,CAAC,kBAAkB,CAAC,cAAc,EAAE,aAAa,EAAE,aAAa,CAAC,CAAC;IACxE,CAAC;IAED,oBAAoB;QAClB,OAAO,kBAAkB,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,EAAE,CAAC;IAC7D,CAAC;IAED,qBAAqB;QACnB,OAAO,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC;IACzC,CAAC;IAED,kBAAkB,CAAC,GAAG,KAAe;QACnC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YACnB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBACf,MAAM,IAAI,SAAS,CAAC,UAAU,IAAI,gBAAgB,CAAC,CAAC;aACrD;QACH,CAAC,CAAC,CAAC;IACL,CAAC;;;YAhDF,SAAS,SAAC;gBACT,QAAQ,EAAE,YAAY;gBACtB,++BAAsC;;aAEvC;;;;0BAOE,KAAK;0BAKL,KAAK;2BAKL,KAAK","sourcesContent":["import { Component, OnInit, Input } from '@angular/core';\n\ntype ServiceLevel = 'alpha' | 'beta' | 'live'\n\n/**\n * A header component for a Government of Alberta hosted microsite.\n * selector: goa-header\n */\n@Component({\n selector: 'goa-header',\n templateUrl: './header.component.html',\n styleUrls: ['./header.component.scss'],\n})\n\nexport class GoAHeaderComponent implements OnInit {\n\n /**\n * The name to show on the header as the microsite.\n */\n @Input() serviceName: string;\n\n /**\n * The home page URL of the microsite.\n */\n @Input() serviceHome = 'https://www.alberta.ca/index.aspx';\n\n /**\n * The level at which the service is running within [Alpha | Beta | Live]\n */\n @Input() serviceLevel: ServiceLevel;\n\n // ServiceLevel = this.ServiceLevel;\n\n constructor() { }\n\n /**\n * @ignore\n */\n ngOnInit() {\n this.checkRequiredProps('serviceLevel', 'serviceName', 'serviceHome');\n }\n\n serviceLevelCssClass(): string {\n return `service-level--${this.serviceLevel.toLowerCase()}`;\n }\n\n serviceLevelFormatted(): string {\n return this.serviceLevel.toLowerCase();\n }\n\n checkRequiredProps(...props: string[]) {\n props.forEach(prop => {\n if (!this[prop]) {\n throw new TypeError(`Input '${prop}' is required.`);\n }\n });\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoAHeaderComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"goa-header","template":"<header class=\"goa-header goa-official-site-header\">\n <div>\n <span class=\"service-level\" [ngClass]=\"serviceLevelCssClass()\">\n {{ serviceLevelFormatted() }}\n </span>\n </div>\n <div\n *ngIf=\"serviceLevel === 'live'; else elseNotLive\"\n class=\"site-text\"\n i18n=\"Alberta.ca official site text on header\"\n >\n An official site of the\n <a href=\"https://www.alberta.ca/index.aspx\" class=\"web-link\"\n >Alberta Government</a\n >\n </div>\n <ng-template #elseNotLive>\n <div class=\"site-text\" i18n=\"Alberta.ca site text on header\">\n This is a new\n <a href=\"https://www.alberta.ca/index.aspx\" class=\"web-link\"\n >Alberta Government</a\n >\n service\n </div>\n </ng-template>\n</header>\n<header class=\"goa-header goa-microsite-header\">\n <goa-microsite-logo\n [serviceName]=\"serviceName\"\n [serviceHome]=\"serviceHome\"\n ></goa-microsite-logo>\n <ng-content></ng-content>\n</header>\n","styles":[".goa-header{display:flex;align-items:center;padding-left:28px;padding-right:28px}@media screen and (min-width:768px) and (max-width:1199px){.goa-header{padding-left:28px;padding-right:28px}}@media screen and (max-width:767px){.goa-header{padding-left:28px;padding-right:28px}}.goa-header.goa-microsite-header,.goa-header>.goa-microsite-header{background-color:#fff;top:0;display:flex;justify-content:space-between}.goa-header.goa-official-site-header,.goa-header>.goa-official-site-header{font-size:12px;background-color:#f1f1f1;line-height:22px}.goa-header.goa-official-site-header .site-text,.goa-header>.goa-official-site-header .site-text{white-space:nowrap;padding:0 4px}.goa-header.goa-official-site-header .service-level,.goa-header>.goa-official-site-header .service-level{padding:0 3px;font-weight:700;vertical-align:baseline;text-transform:capitalize}.goa-header.goa-official-site-header .service-level--alpha,.goa-header>.goa-official-site-header .service-level--alpha{background-color:#feba35;color:#333}.goa-header.goa-official-site-header .service-level--beta,.goa-header>.goa-official-site-header .service-level--beta{background-color:#0081a2;color:#fff}.goa-header.goa-official-site-header .service-level--live,.goa-header>.goa-official-site-header .service-level--live{height:16px;width:16px;padding:0;color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\");background-repeat:no-repeat;background-size:contain;background-position:50%}.goa-header .web-link{color:#0070c4;text-align:left}"]}]}],"members":{"serviceName":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"serviceHome":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":3}}]}],"serviceLevel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"serviceLevelCssClass":[{"__symbolic":"method"}],"serviceLevelFormatted":[{"__symbolic":"method"}],"checkRequiredProps":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hero-banner-content.component.js","sourceRoot":"","sources":["../../../../../../../libs/angular-components/src/lib/hero-banner/content/hero-banner-content.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;AAOlD,MAAM,OAAO,6BAA6B;IAExC,gBAAgB,CAAC;IAEjB,QAAQ;IACR,CAAC;;;YAVF,SAAS,SAAC;gBACT,QAAQ,EAAE,yBAAyB;gBACnC,2IAAmD;;aAEpD","sourcesContent":["import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'goa-hero-banner-content',\n templateUrl: './hero-banner-content.component.html',\n styleUrls: ['./hero-banner-content.component.scss']\n})\nexport class GoAHeroBannerContentComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoAHeroBannerContentComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"goa-hero-banner-content","template":"<ng-container>\n <p class=\"goa-hero-banner-content\" role=\"note\">\n <ng-content></ng-content>\n </p>\n</ng-container>\n","styles":[".goa-hero-banner-content{font-size:24px;line-height:32px;margin:0;color:#fff}@media screen and (min-width:768px) and (max-width:1199px){.goa-hero-banner-content{width:80%}}@media screen and (min-width:1200px){.goa-hero-banner-content{width:40%}}.goa-hero-banner-content:last-of-type{margin-bottom:28px}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hero-banner.component.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/hero-banner/hero-banner.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAU,MAAM,eAAe,CAAC;AAEzD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAOlD,MAAM,OAAO,sBAAsB;IAKjC,gBAAgB,CAAC;IAEjB,QAAQ;IACR,CAAC;;;YAbF,SAAS,SAAC;gBACT,QAAQ,EAAE,iBAAiB;gBAC3B,qWAA2C;;aAE5C;;;;oBAGE,KAAK;4BACL,KAAK","sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\n\nexport * from './content/hero-banner-content.component';\nexport * from './link/hero-banner-link.component';\n\n@Component({\n selector: 'goa-hero-banner',\n templateUrl: './hero-banner.component.html',\n styleUrls: ['./hero-banner.component.scss']\n})\nexport class GoAHeroBannerComponent implements OnInit {\n\n @Input() title: string;\n @Input() backgroundUrl: string;\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoAHeroBannerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"goa-hero-banner","template":"<div class=\"goa-hero\"\n style=\"background-image: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url({{backgroundUrl}});\"\n>\n <h1 role=\"heading\">{{ title }}</h1>\n <ng-content select=\"goa-hero-banner-content\"></ng-content>\n <ng-content select=\"goa-hero-banner-link\"></ng-content>\n</div>\n","styles":[".goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;align-items:stretch;flex-direction:column;height:600px;border-bottom:8px solid #0081a2;color:#fff;background-position:50%;width:100%;padding:56px 28px}.goa-hero h1{margin:0 0 28px;padding:0;font-size:48px;line-height:56px;font-weight:700;color:#fff}"]}]}],"members":{"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"backgroundUrl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}}},"exports":[{"from":"./content/hero-banner-content.component"},{"from":"./link/hero-banner-link.component"}]}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hero-banner-link.component.js","sourceRoot":"","sources":["../../../../../../../libs/angular-components/src/lib/hero-banner/link/hero-banner-link.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAU,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,0BAA0B;IAIrC,gBAAgB,CAAC;IAEjB,QAAQ;IACR,CAAC;;;YAZF,SAAS,SAAC;gBACT,QAAQ,EAAE,sBAAsB;gBAChC,8JAAgD;;aAEjD;;;;kBAGE,KAAK","sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'goa-hero-banner-link',\n templateUrl: './hero-banner-link.component.html',\n styleUrls: ['./hero-banner-link.component.scss']\n})\nexport class GoAHeroBannerLinkComponent implements OnInit {\n\n @Input() url: string;\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoAHeroBannerLinkComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"goa-hero-banner-link","template":"<ng-container>\n <a class=\"goa-link-button right-arrow\" [href]=\"url\" role=\"link\">\n <ng-content></ng-content>\n </a>\n</ng-container>\n","styles":[".goa-link-button.goa-link-button{display:inline-block;text-decoration:none;box-sizing:border-box;min-width:70px;padding:12px;border:2px solid #0070c4;border-radius:4px;background:#0070c4;cursor:pointer;color:#fff;font-size:18px;font-weight:700;line-height:1em}.goa-link-button.goa-link-button.btn-small{font-size:16px;padding:8px;margin:12px 12px 0 0}.goa-link-button.goa-link-button:last-of-type{margin-right:0}.goa-link-button.goa-link-button:disabled,.goa-link-button.goa-link-button:disabled.goa--secondary,.goa-link-button.goa-link-button:disabled.goa--tertiary{pointer-events:none;color:#666;background-color:#f1f1f1;border-color:#f1f1f1}.goa-link-button.goa-link-button:hover{border-color:#004f84;background:#004f84}.goa-link-button.goa-link-button:active,.goa-link-button.goa-link-button:focus{border-color:#004f84;box-shadow:0 0 0 3px #feba35;background:#004f84;outline:none}.goa-link-button.goa-link-button.goa--secondary{border:2px solid #0070c4;background:#fff;color:#0070c4}.goa-link-button.goa-link-button.goa--secondary:hover{border-color:#004f84;background:#fff;color:#004f84}.goa-link-button.goa-link-button.goa--secondary:active,.goa-link-button.goa-link-button.goa--secondary:focus{color:#004f84;background-color:#fff;border:2px solid #004f84;box-shadow:0 0 0 3px #feba35;outline:none}.goa-link-button.goa-link-button.goa--tertiary{border-color:#dcdcdc;background:#fff;color:#0070c4}.goa-link-button.goa-link-button.goa--tertiary:hover{background:#fff;color:#004f84}.goa-link-button.goa-link-button.goa--tertiary:active,.goa-link-button.goa-link-button.goa--tertiary:focus{border:2px solid #004f84;color:#004f84;background-color:#fff;box-shadow:0 0 0 3px #feba35;outline:none}.goa-link-button.goa-link-button.right-arrow:after{color:#fff;margin-left:8px;content:\"\\2192\"}.goa-link-button.goa-link-button.up-arrow:after{color:#fff;margin-left:8px;content:\"\\2191\"}.goa-link-button.goa-link-button:link,.goa-link-button.goa-link-button:visited{color:#fff}"]}]}],"members":{"url":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"microsite-logo.component.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/microsite-logo/microsite-logo.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAU,KAAK,EAAC,MAAM,eAAe,CAAC;AAEvD;;;GAGG;AAOH,MAAM,OAAO,yBAAyB;IAWpC;QALA;;WAEG;QACM,gBAAW,GAAG,mCAAmC,CAAC;IAG3D,CAAC;IAED;;OAEG;IACH,QAAQ;QACN,IAAI,IAAI,CAAC,WAAW,KAAK,SAAS,IAAI,IAAI,CAAC,WAAW,KAAK,IAAI,EAAE;YAC/D,MAAM,IAAI,SAAS,CAAC,kCAAkC,CAAC,CAAC;SACzD;IACH,CAAC;;;YA3BF,SAAS,SAAC;gBACT,QAAQ,EAAE,oBAAoB;gBAC9B,8PAA8C;;aAE/C;;;;0BAME,KAAK;0BAKL,KAAK","sourcesContent":["import {Component, OnInit, Input} from '@angular/core';\n\n/**\n * A logo for a Government of Alberta hosted microsite.\n * selector: goa-microsite-logo\n */\n@Component({\n selector: 'goa-microsite-logo',\n templateUrl: './microsite-logo.component.html',\n styleUrls: ['./microsite-logo.component.scss'],\n})\n\nexport class GoAMicrositeLogoComponent implements OnInit {\n /**\n * The name to show on the header/footer as the microsite.\n */\n @Input() serviceName: string;\n\n /**\n * The home page URL of the microsite.\n */\n @Input() serviceHome = 'https://www.alberta.ca/index.aspx';\n\n constructor() {\n }\n\n /**\n * @ignore\n */\n ngOnInit() {\n if (this.serviceName === undefined || this.serviceName === null) {\n throw new TypeError(`Input 'serviceName' is required.`);\n }\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoAMicrositeLogoComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"goa-microsite-logo","template":"<a href=\"{{serviceHome}}\" attr.aria-label=\"{{serviceHome}}\" class=\"microsite-link\">\n <span class=\"image-desktop-tablet\"></span>\n <span class=\"image-mobile\"></span>\n <span class=\"name\">\n {{serviceName}}\n </span>\n</a>\n","styles":["a.microsite-link{color:inherit;text-decoration:none;white-space:nowrap;display:flex;align-items:center;height:66px}a.microsite-link:active,a.microsite-link:focus,a.microsite-link:hover{outline:none}a.microsite-link .image-desktop-tablet{width:150px;height:42px;display:inline-block;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E\");background-repeat:no-repeat;background-size:contain;background-position:50%}@media screen and (max-width:767px){a.microsite-link .image-desktop-tablet{display:none}}@media screen and (min-width:768px) and (max-width:1199px){a.microsite-link .image-mobile{display:none}}@media screen and (min-width:1200px){a.microsite-link .image-mobile{display:none}}@media screen and (max-width:767px){a.microsite-link .image-mobile{width:34px;height:34px;display:inline-block;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\");background-repeat:no-repeat;background-size:contain;background-position:50%}}a.microsite-link .name{margin-left:8px;font-size:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media screen and (min-width:1200px){a.microsite-link .name{margin-left:28px}}@media screen and (min-width:768px) and (max-width:1199px){a.microsite-link .name{margin-left:28px}}"]}]}],"members":{"serviceName":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"serviceHome":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification.component.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/notification/notification.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClG;;;;GAIG;AAMH,MAAM,OAAO,wBAAwB;IAiCnC,YAAoB,kBAAqC;QAArC,uBAAkB,GAAlB,kBAAkB,CAAmB;QA/BzD;;;WAGG;QACH,iBAAY,GAAG,KAAK,CAAC;QAErB;;WAEG;QACM,SAAI,GAAwD,aAAa,CAAC;QAYnF;;WAEG;QACM,kBAAa,GAAG,IAAI,CAAC;QAE7B;;UAEE;QACO,YAAO,GAAsB,IAAI,YAAY,EAAO,CAAC;IAEF,CAAC;IAE9D;;OAEG;IACH,QAAQ;IACR,CAAC;IAED;;OAEG;IACH,YAAY;QACV,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QACzB,IAAI,CAAC,kBAAkB,CAAC,aAAa,EAAE,CAAC;QAExC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;IACtB,CAAC;;;YAtDF,SAAS,SAAC;gBACT,QAAQ,EAAE,kBAAkB;gBAC5B,uqCAA4C;;aAE7C;;;YAVwD,iBAAiB;;;mBAsBvE,KAAK;sBAKL,KAAK;8BAKL,KAAK;4BAKL,KAAK;sBAKL,MAAM","sourcesContent":["import { Component, OnInit, Input, Output, EventEmitter, ChangeDetectorRef } from '@angular/core';\n/**\n * Government of Alberta styled notification, comes in 4 variants: emergency, event, information, important.\n * Can set the message and optionally a link url.\n * selector: goa-notification\n */\n@Component({\n selector: 'goa-notification',\n templateUrl: './notification.component.html',\n styleUrls: ['./notification.component.scss']\n})\nexport class GoANotificationComponent implements OnInit {\n\n /**\n * Whether or not the notification has been dismissed.\n * @ignore\n */\n _isDismissed = false;\n\n /**\n * The type of the notification, changes stylings and icons.\n */\n @Input() type: 'important' | 'information' | 'event' | 'emergency' = 'information';\n\n /**\n * Message to display.\n */\n @Input() message: string;\n\n /**\n * Optional link for notification, if no link is provided notification will not contain anchor.\n */\n @Input() notificationUrl?: string;\n\n /**\n * Can the notification be dismissed?\n */\n @Input() isDismissable = true;\n\n /**\n * Event emitted when the notification has been dismissed by the user.\n */\n @Output() dismiss: EventEmitter<any> = new EventEmitter<any>();\n\n constructor(private _changeDetectorRef: ChangeDetectorRef) { }\n\n /**\n * @ignore\n */\n ngOnInit(): void {\n }\n\n /**\n * @ignore\n */\n dismissClick() {\n this._isDismissed = true;\n this._changeDetectorRef.detectChanges();\n\n this.dismiss.emit();\n }\n}\n"]}
|