@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":{"GoANotificationComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"goa-notification","template":"\n<div class=\"goa-notification\"\n [ngClass]=\"{\n 'dismissed': _isDismissed === true,\n 'goa--event': type === 'event',\n 'goa--important': type === 'important',\n 'goa--emergency': type === 'emergency'\n }\">\n <div class=\"content\">\n <a *ngIf=\"notificationUrl\" class=\"message\" href={{notificationUrl}}>{{message}}</a>\n <span *ngIf=\"!notificationUrl\" class=\"message\">{{message}}</span>\n <a *ngIf=\"isDismissable === true\" class=\"close\" i18n-title title=\"Dismiss\" (click)=\"dismissClick()\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n <path d=\"M 15.99 14.54C 15.99 14.54 14.54 15.99 14.54 15.99 14.54 15.99 8 9.45 8 9.45 8 9.45 1.46 15.99 1.46 15.99 1.46 15.99 0.01 14.54 0.01 14.54 0.01 14.54 6.55 8 6.55 8 6.55 8 0.01 1.46 0.01 1.46 0.01 1.46 1.46 0.01 1.46 0.01 1.46 0.01 8 6.55 8 6.55 8 6.55 14.54 0.01 14.54 0.01 14.54 0.01 15.99 1.46 15.99 1.46 15.99 1.46 9.45 8 9.45 8 9.45 8 15.99 14.54 15.99 14.54Z\"/>\n </svg>\n </a>\n </div>\n</div>\n\n","styles":[".goa-notification{box-sizing:border-box;display:inline-block;position:relative;width:100%;padding-left:72px;padding-right:72px;color:#fff;background:#0070c4}.goa-notification.dismissed{display:none}@media screen and (min-width:768px) and (max-width:1199px){.goa-notification{padding-left:24px;padding-right:24px}}@media screen and (max-width:767px){.goa-notification{padding-left:24px;padding-right:24px}}.goa-notification .content{box-sizing:border-box;display:flex;width:100%;margin:0;position:relative;padding:0 36px}.goa-notification .content .message{flex:1 0 0;box-sizing:border-box;min-height:56px;padding:28px 0}.goa-notification .content .close{flex:0 1 auto;color:#fff}.goa-notification a{color:#fff}.goa-notification a:focus,.goa-notification a:hover{color:#fff;text-decoration:none}.goa-notification.goa--event{background-color:#00853f}.goa-notification.goa--important{background-color:#feba35}.goa-notification.goa--important .message,.goa-notification.goa--important a,.goa-notification.goa--important a:focus,.goa-notification.goa--important a:hover{color:#333}.goa-notification.goa--emergency{background-color:#ec040b}.goa-notification .close{align-self:center;position:absolute;right:12px;cursor:pointer}.goa-notification .close svg{fill:#fff;color:#fff}.goa-notification .content:before{position:absolute;top:50%;left:6px;width:24px;height:24px;margin-top:-12px;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\");background-color:transparent;background-repeat:no-repeat;background-position:50%}.goa-notification.goa--emergency .content: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\");background-color:transparent;background-repeat:no-repeat;background-position:50%}.goa-notification.goa--important .content: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\");background-color:transparent;background-repeat:no-repeat;background-position:50%}.goa-notification.goa--event .content: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\");background-color:transparent;background-repeat:no-repeat;background-position:50%}"]}]}],"members":{"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"message":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"notificationUrl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"isDismissable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"dismiss":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":44,"character":42}]}],"ngOnInit":[{"__symbolic":"method"}],"dismissClick":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notification-banner.component.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/notification-banner/notification-banner.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,KAAK,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACrF,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAElF;;;GAGG;AAMH,MAAM,OAAO,8BAA8B;IAazC;QAXA;;WAEG;QACM,UAAK,GAAG,eAAe,CAAC;IAQjB,CAAC;IAEjB;;OAEG;IACH,QAAQ;IACR,CAAC;;;YAxBF,SAAS,SAAC;gBACT,QAAQ,EAAE,yBAAyB;gBACnC,0IAAmD;;aAEpD;;;;oBAME,KAAK;6BAML,eAAe,SAAC,wBAAwB,EAAE,EAAC,WAAW,EAAE,KAAK,EAAC","sourcesContent":["import { Component, OnInit, Input, ContentChildren, QueryList } from '@angular/core';\nimport { GoANotificationComponent } from '../notification/notification.component';\n\n/**\n * Government of Alberta styled notification banner. Contains one or more notifications.\n * selector: goa-notification-banner\n */\n@Component({\n selector: 'goa-notification-banner',\n templateUrl: './notification-banner.component.html',\n styleUrls: ['./notification-banner.component.scss']\n})\nexport class GoANotificationBannerComponent implements OnInit {\n\n /**\n * The accessibility title for the notification banner. Is not displayed.\n */\n @Input() title = 'Notifications';\n\n /**\n * The notifications in this banner.\n * @ignore\n */\n @ContentChildren(GoANotificationComponent, {descendants: false}) _notifications: QueryList<GoANotificationComponent>;\n\n constructor() { }\n\n /**\n * @ignore\n */\n ngOnInit(): void {\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoANotificationBannerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"goa-notification-banner","template":"<div class=\"goa-notifications\">\r\n <h2 class=\"title\">{{title}}</h2>\r\n <ng-content></ng-content>\r\n</div>\r\n\r\n","styles":[".goa-notifications .title{position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);left:-10px;width:1px;height:1px;white-space:nowrap}.goa-notifications ul{display:inline-block;list-style-type:none}.goa-notifications ul,.goa-notifications ul li{box-sizing:border-box;width:100%;margin:0;padding:0}.goa-notifications ul li{display:block}"]}]}],"members":{"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"_notifications":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":23,"character":3},"arguments":[{"__symbolic":"reference","module":"../notification/notification.component","name":"GoANotificationComponent","line":23,"character":19},{"descendants":false}]}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"page-load-indicator.component.js","sourceRoot":"","sources":["../../../../../../libs/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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-page-load-indicator\n */\n@Component({\n selector: 'goa-page-load-indicator',\n templateUrl: './page-load-indicator.component.html',\n styleUrls: ['./page-load-indicator.component.scss'],\n})\nexport class GoAPageLoadIndicatorComponent implements OnInit, OnChanges, OnDestroy {\n\n constructor() {\n }\n\n /**\n * Sets the page loader visibility state.\n */\n @Input() visible = false;\n\n /**\n * The type of page loader, deterministic and indeterministic.\n */\n @Input() type: 'progress' | 'infinite' = 'infinite';\n\n /**\n * The message to display while loading.\n */\n @Input() message = '';\n\n /**\n * Sets the percentage value of the page loader while set to progress type, 0 - 100 percent.\n */\n @Input() value = 0;\n\n /**\n * Sets the page to locked and does not accept user input. When not set the component\n * can be used as a child element without blocking user input.\n */\n @Input()\n pagelock = true;\n\n /**\n * Sets the progress indicator display type size.\n */\n @Input() displayType: 'large' | 'small' = 'large';\n\n /**\n * Set defaults\n */\n strokeDashoffsetDefault = 280;\n progressMaxValue = 283;\n strokeDashoffset = 0;\n\n ngOnInit(): void {\n if (this.type !== 'progress') {\n this.strokeDashoffset = this.strokeDashoffsetDefault;\n }\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes.visible) {\n this.blockScrollingToggle(changes.visible.currentValue);\n }\n if (changes.value) {\n if (this.type === 'progress') {\n this.setProgress(changes.value.currentValue);\n }\n }\n }\n\n /**\n * Toggles the page scrolling based on page load indicator's visibility.\n * @param isBlock The flag to enable/disable page scroll.\n * @ignore\n */\n private blockScrollingToggle(isBlock: boolean): void {\n if (!isBlock || !this.pagelock) {\n document.body.style.removeProperty('height');\n document.body.style.removeProperty('overflow');\n } else {\n document.body.style.height = '100%';\n document.body.style.overflow = 'hidden';\n }\n }\n\n /**\n * Blocks the keyboard input when page load indicator is visible.\n * @ignore\n */\n @HostListener('document:keydown', ['$event'])\n disableKeyboardInputHandler(event: KeyboardEvent) {\n if (this.visible) {\n event.returnValue = false;\n event.preventDefault();\n }\n }\n\n ngOnDestroy(): void {\n this.blockScrollingToggle(false);\n }\n\n setProgress(progress: number): void {\n if (this.type !== 'progress') {\n return;\n };\n\n if (progress === 0) {\n this.strokeDashoffset = this.progressMaxValue;\n return;\n }\n\n if (progress >= 100) {\n return;\n }\n\n const value = this.progressMaxValue - Math.round(this.progressMaxValue * progress / 100);\n this.strokeDashoffset = value;\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoAPageLoadIndicatorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":15,"character":1},"arguments":[{"selector":"goa-page-load-indicator","template":"<div *ngIf=\"visible\" class=\"progress-container--{{ displayType }}\">\n <svg\n [ngClass]=\"{\n 'svg': displayType === 'large',\n 'svg--small': displayType === 'small'\n }\"\n fill=\"none\"\n viewBox=\"0 0 100 100\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <circle class=\"base-circle\" cx=\"50\" cy=\"50\" r=\"45\"/>\n <circle\n [ngClass]=\"{\n 'progress-circle--infinite': type === 'infinite',\n 'progress-circle': type === 'progress'\n }\"\n cx=\"50\"\n cy=\"50\"\n r=\"45\"\n [style.stroke-dashoffset]=\"strokeDashoffset\"/>\n </svg>\n\n <span class=\"progress-message--{{ displayType }}\">\n {{ message }}\n </span>\n</div>\n","styles":[".svg{max-width:100px}.svg--small{max-width:65px}@-webkit-keyframes circle-animation{0%{stroke-dashoffset:75;transform:rotate(0)}to{stroke-dashoffset:75;transform:rotate(1turn)}}@keyframes circle-animation{0%{stroke-dashoffset:75;transform:rotate(0)}to{stroke-dashoffset:75;transform:rotate(1turn)}}.base-circle{display:block;fill:transparent;stroke:#c8eef9;stroke-width:7px}.progress-circle,.progress-circle--infinite{display:block;fill:transparent;stroke:#0070c4;stroke-linecap:round;stroke-dasharray:283;stroke-dashoffset:280;stroke-width:7px;transform-origin:50% 50%}.progress-circle--infinite{-webkit-animation:circle-animation 1.2s linear infinite;animation:circle-animation 1.2s linear infinite}.progress-message,.progress-message--large,.progress-message--small{font-style:normal;font-weight:400}.progress-message--large{margin-top:32px;font-size:24px;color:#000}.progress-message--small{margin-top:18px;font-size:18px;color:#000}.progress-container,.progress-container--large,.progress-container--small{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff}.progress-container--large{width:100%;height:100%}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"visible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"message":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":3}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"pagelock":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"displayType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"blockScrollingToggle":[{"__symbolic":"method"}],"disableKeyboardInputHandler":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":100,"character":3},"arguments":["document:keydown",["$event"]]}]}],"ngOnDestroy":[{"__symbolic":"method"}],"setProgress":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"radio-change.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/radio/radio-change.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,cAAc;CAKxB","sourcesContent":["import { GoARadioComponent } from './radio.component';\n\nexport class GoARadioChange {\n /** The source radiobutton of the event. */\n source: GoARadioComponent;\n /** The new `checked` value of the radiobutton. */\n checked: boolean;\n }\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoARadioChange":{"__symbolic":"class"}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"radio.component.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/radio/radio.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAET,uBAAuB,EACvB,UAAU,EACV,KAAK,EACL,MAAM,EACN,YAAY,EACZ,iBAAiB,EAElB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAwB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGzE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,OAAO,EAAE,iBAAiB;IAC1B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,iBAAiB,CAAC;IAChD,KAAK,EAAE,IAAI;CACZ,CAAA;AAED;;GAEG;AASH,MAAM,OAAO,iBAAiB;IAgE5B,YAAoB,eAAkC,EAClC,aAA8B;QAD9B,oBAAe,GAAf,eAAe,CAAmB;QAClC,kBAAa,GAAb,aAAa,CAAiB;QArBlD;;WAEG;QACM,kBAAa,GAAuB,OAAO,CAAC;QAEpD;;UAEE;QACO,oBAAe,GAAiC,IAAI,YAAY,EAAkB,CAAC;QAO7F;;WAEG;QACH,qBAAgB,GAAG,CAAC,CAAM,EAAE,EAAE,GAAG,CAAC,CAAC;QAIjC,IAAI,CAAC,QAAQ,GAAG,mBAAmB,iBAAiB,CAAC,KAAK,EAAE,EAAE,CAAC;IACjE,CAAC;IAED;;;;OAIG;IACH,QAAQ;QACN,IA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,CAAC;QAE7B,+CAA+C;QAC/C,MAAM,WAAW,GAAG;YAClB,MAAM,EAAE,IAAI;YACZ,OAAO,EAAE,IAAI,CAAC,OAAO;SACJ,CAAC;QAEpB,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAEvC,iHAAiH;QACjH,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;IAC9C,CAAC;;AA/JD;;;GAGG;AACI,uBAAK,GAAG,CAAC,CAAC;;YAblB,SAAS,SAAC;gBACT,QAAQ,EAAE,WAAW;gBACrB,2uCAAqC;gBAErC,gIAAgI;gBAChI,SAAS,EAAE,CAAC,gCAAgC,CAAC;gBAC7C,eAAe,EAAE,uBAAuB,CAAC,MAAM;;aAChD;;;YA5BC,iBAAiB;YAMV,eAAe;;;mBA6CrB,KAAK;oBAKL,KAAK;sBAKL,KAAK;uBAKL,KAAK;uBAKL,KAAK;4BAKL,KAAK;8BAKL,MAAM","sourcesContent":["import {\n Component,\n OnInit,\n ChangeDetectionStrategy,\n forwardRef,\n Input,\n Output,\n EventEmitter,\n ChangeDetectorRef,\n OnDestroy\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { Subscription } from 'rxjs';\nimport { GoARadioChange } from './radio-change';\nimport { GoARadioService } from './radio.service';\n\n/**\n * Control value accessor to use for the component's provider\n * @ignore\n */\nexport const GOA_RADIO_CONTROL_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => GoARadioComponent),\n multi: true\n}\n\n/**\n * Radiobutton component with Government of Alberta styling.\n */\n@Component({\n selector: 'goa-radio',\n templateUrl: './radio.component.html',\n styleUrls: ['./radio.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_RADIO_CONTROL_VALUE_ACCESSOR],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class GoARadioComponent implements ControlValueAccessor, OnInit, OnDestroy {\n /**\n * Used to generate unique Id for this component\n * @ignore\n */\n static idNum = 0;\n\n /**\n * Unique Id for this component\n * @ignore\n */\n uniqueId: string;\n\n /**\n * Reference to the subscription to the radio change events so it can be unsubscribed on destroy\n * @ignore\n */\n radioServiceSubscription: Subscription;\n\n /**\n * Indicates the \"group\" or set of radios this radio belongs to.\n */\n @Input() name: string;\n\n /**\n * Value/unique identifier for the object the radiobutton represents.\n */\n @Input() value: any;\n\n /**\n * Boolean indicating whether or not the radiobutton is checked/selected.\n */\n @Input() checked: boolean;\n\n /**\n * Boolean indicating whether or not the radiobutton is disabled.\n */\n @Input() disabled: boolean;\n\n /**\n * Boolean indicating whether or not the radiobutton is required.\n */\n @Input() required: boolean;\n\n /**\n * The position to display the label/text for the radiobutton. Valid values are before and after.\n */\n @Input() labelPosition: 'before' | 'after' = 'after';\n\n /**\n * Event emitted containing the source radiobutton, and whether or not it is checked.\n */\n @Output() selectionChange: EventEmitter<GoARadioChange> = new EventEmitter<GoARadioChange>();\n\n /**\n * @ignore\n */\n _onTouchedCallback: () => void;\n\n /**\n * @ignore\n */\n _propagateChange = (_: any) => { };\n\n constructor(private _changeDetector: ChangeDetectorRef,\n private _radioService: GoARadioService) {\n this.uniqueId = `goa-radiobutton-${GoARadioComponent.idNum++}`;\n }\n\n /**\n * Lifecycle hook OnInit. Used to subscribe to radio change messages from the radioService in order to know whether or not\n * this radio should be checked or not.\n * @ignore\n */\n ngOnInit() {\n this.radioServiceSubscription = this._radioService.radioChangeMessage.subscribe(rcm => {\n if (rcm && rcm.source && rcm.source.name === this.name && rcm.source.uniqueId !== this.uniqueId) {\n this.checked = false;\n this._changeDetector.detectChanges();\n }\n });\n }\n\n /**\n * Lifecycle hook OnDestroy. Used to unsubscribe from the radio change messages.\n * @ignore\n */\n ngOnDestroy(): void {\n this.radioServiceSubscription.unsubscribe();\n }\n\n /**\n * Boolean indicating if the radiobutton is required and not checked\n * @ignore\n */\n hasError(): boolean {\n return this.required && !this.checked;\n }\n\n /**\n * Marks the radio button as needing checking for change detection.\n * This method is exposed because the parent radio group will directly\n * update bound properties of the radio button.\n */\n markForCheck(): void {\n // When group value changes, the button will not be notified. Use `markForCheck` to explicitly\n // update radio button's status\n this._changeDetector.markForCheck();\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._changeDetector.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 * User interaction event on click of the radiobutton or its label to indicate toggling of the current checked status.\n * Emits selectionChange to parent components.\n * @ignore\n */\n onClick() {\n // flip the checked state of this radio\n this.checked = !this.checked;\n\n // emit radio change event for those interested\n const radioChange = {\n source: this,\n checked: this.checked\n } as GoARadioChange;\n\n this._propagateChange(this.checked);\n this.selectionChange.emit(radioChange);\n\n // notify other radios in group/with same name via radio service so they know to flip their states to not checked\n this._radioService.selectRadio(radioChange);\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GOA_RADIO_CONTROL_VALUE_ACCESSOR":{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":21,"character":11},"useExisting":{"__symbolic":"reference","name":"GoARadioComponent"},"multi":true},"GoARadioComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":29,"character":1},"arguments":[{"selector":"goa-radio","providers":[{"__symbolic":"reference","name":"GOA_RADIO_CONTROL_VALUE_ACCESSOR"}],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":35,"character":19},"member":"OnPush"},"template":"<div\n class=\"goa-radio\"\n [ngClass]=\"{\n 'goa-radio-disabled': disabled,\n 'has-error': hasError(),\n 'goa-radio-label-before': labelPosition === 'before'\n }\"\n>\n <div class=\"goa-radio-inline-block\">\n <label class=\"goa-radio-layout\" [attr.for]=\"uniqueId\">\n <div\n class=\"goa-radio-container\"\n [ngClass]=\"{ 'goa-radio-selected': checked }\"\n >\n <input\n type=\"radio\"\n [id]=\"uniqueId\"\n [(checked)]=\"checked\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n [attr.value]=\"value\"\n [name]=\"name\"\n (change)=\"onClick()\"\n />\n <svg\n *ngIf=\"checked\"\n id=\"radiomark\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"12\"\n height=\"12\"\n viewBox=\"0 0 12 12\"\n >\n <circle\n id=\"Ellipse_128\"\n data-name=\"Ellipse 128\"\n cx=\"6\"\n cy=\"6\"\n r=\"6\"\n fill=\"#fff\"\n />\n </svg>\n </div>\n <span class=\"goa-radio-label\">\n <ng-content></ng-content>\n </span>\n </label>\n </div>\n</div>\n","styles":[".goa-radio{margin-bottom:10px}.goa-radio input[type=radio]{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-radio .goa-radio-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}.goa-radio.goa-radio-disabled{opacity:1%}.goa-radio.goa-radio-disabled .goa-radio-label{cursor:default}.goa-radio.has-error .goa-radio-container{border:2px solid #fc1921;color:#fc1921}.goa-radio.has-error .goa-radio-container svg{fill:#fc1921}.goa-radio .goa-radio-container{z-index:2;box-sizing:border-box;margin:0;border:1px solid #666;border-radius:12px;height:24px;width:24px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:3px}.goa-radio .goa-radio-container svg{fill:#fff}.goa-radio .goa-radio-container.goa-radio-selected{background-color:#0070c4}.goa-radio .goa-radio-container.goa-radio-selected .goa-radiomark{display:block!important}.goa-radio .goa-radio-container:hover:not(.goa-radio-selected){background-color:#f1f1f1}.goa-radio .goa-radio-container:focus-within{box-shadow:0 0 0 3px #feba35;outline:none}.goa-radio.goa-radio-label-before .goa-radio-container{order:1;margin-left:8px;margin-right:auto}.goa-radio-layout{display:flex;flex-direction:row;align-items:center}.goa-radio-inline-block{display:inline-block;margin-bottom:5px;margin-top:5px;margin-left:5px}"]}]}],"members":{"name":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":3}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":64,"character":3}}]}],"checked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":69,"character":3}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":74,"character":3}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":79,"character":3}}]}],"labelPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":84,"character":3}}]}],"selectionChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":89,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":101,"character":39},{"__symbolic":"reference","module":"./radio.service","name":"GoARadioService","line":102,"character":37}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"hasError":[{"__symbolic":"method"}],"markForCheck":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method"}]},"statics":{"idNum":0}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"radio.service.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/radio/radio.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;;AAKhD,MAAM,OAAO,eAAe;IAG1B;QAFA,uBAAkB,GAAG,IAAI,eAAe,CAAC,IAAI,cAAc,EAAE,CAAC,CAAC;IAEhD,CAAC;IAEhB,WAAW,CAAC,WAAW;QACrB,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAC5C,CAAC;;;;YAVF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB","sourcesContent":["import { Injectable } from '@angular/core';\nimport { BehaviorSubject } from 'rxjs';\nimport { GoARadioChange } from './radio-change';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class GoARadioService {\n radioChangeMessage = new BehaviorSubject(new GoARadioChange());\n\n constructor() {}\n\n selectRadio(radioChange) {\n this.radioChangeMessage.next(radioChange);\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoARadioService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"selectRadio":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"radio-group.component.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/radio-group/radio-group.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAET,uBAAuB,EACvB,UAAU,EACV,KAAK,EACL,MAAM,EACN,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,cAAc,EAGf,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAwB,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAGzD;;;GAGG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG;IACpD,OAAO,EAAE,iBAAiB;IAC1B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,sBAAsB,CAAC;IACrD,KAAK,EAAE,IAAI;CACZ,CAAA;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,cAAc,CAAyB,eAAe,CAAC,CAAC;AAE3F;;GAEG;AAWH,MAAM,OAAO,sBAAsB;IAuJjC,YAAoB,eAAkC,EAAU,aAA8B;QAA1E,oBAAe,GAAf,eAAe,CAAmB;QAAU,kBAAa,GAAb,aAAa,CAAiB;QA/H9F;;WAEG;QACK,UAAK,GAAG,mBAAmB,sBAAsB,CAAC,KAAK,EAAE,EAAE,CAAC;QAEpE;;WAEG;QACK,WAAM,GAAQ,IAAI,CAAC;QAiB3B;;WAEG;QACK,mBAAc,GAAuB,OAAO,CAAC;QAYrD;;WAEG;QACM,yBAAoB,GAAG,4CAA4C,CAAC;QAqE5E;;UAEE;QACO,oBAAe,GAAiC,IAAI,YAAY,EAAkB,CAAC;QAO7F;;WAEG;QACH,qBAAgB,GAAG,CAAC,CAAM,EAAE,EAAE,GAAG,CAAC,CAAC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SF;;;GAGG;AACI,4BAAK,GAAG,CAAC,CAAC;;YAflB,SAAS,SAAC;gBACT,QAAQ,EAAE,iBAAiB;gBAC3B,4fAA2C;gBAE3C,SAAS,EAAE;oBACT,sCAAsC;oBACtC,EAAC,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,sBAAsB,EAAC;iBAChE;gBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;;aAChD;;;YA3CC,iBAAiB;YAUV,eAAe;;;sBAwDrB,eAAe,SAAC,UAAU,CAAC,GAAG,EAAE,CAAC,iBAAiB,CAAC,EAAE,EAAC,WAAW,EAAE,IAAI,EAAC;oBAmCxE,KAAK;yBAKL,KAAK;mCAKL,KAAK;mBAKL,KAAK;oBAUL,KAAK;uBAeL,KAAK;uBAWL,KAAK;uBAUL,KAAK;4BASL,KAAK;8BAYL,MAAM","sourcesContent":["import {\n Component,\n OnInit,\n ChangeDetectionStrategy,\n forwardRef,\n Input,\n Output,\n EventEmitter,\n ChangeDetectorRef,\n QueryList,\n ContentChildren,\n InjectionToken,\n AfterContentInit,\n OnDestroy\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR, ControlValueAccessor } from '@angular/forms';\nimport { GoARadioComponent } from '../radio/radio.component';\nimport { GoARadioChange } from '../radio/radio-change';\nimport { GoARadioService } from '../radio/radio.service';\nimport { Subscription } from 'rxjs';\n\n/**\n * Control value accessor to use for the component's provider\n * @ignore\n */\nexport const GOA_RADIO_GROUP_CONTROL_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => GoARadioGroupComponent),\n multi: true\n}\n\n/**\n * Injection token that can be used to inject instances of `GoARadioGroupComponent`. It serves as\n * alternative token to the actual `GoARadioGroupComponent` class which could cause unnecessary\n * retention of the class and its component metadata.\n * @ignore\n */\nexport const GOA_RADIO_GROUP = new InjectionToken<GoARadioGroupComponent>('GoARadioGroup');\n\n/**\n * Radiobutton group component with Government of Alberta styling. Used to group a set of related radio buttons.\n */\n@Component({\n selector: 'goa-radio-group',\n templateUrl: './radio-group.component.html',\n styleUrls: ['./radio-group.component.scss'],\n providers: [\n GOA_RADIO_GROUP_CONTROL_VALUE_ACCESSOR,\n {provide: GOA_RADIO_GROUP, useExisting: GoARadioGroupComponent}\n ],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class GoARadioGroupComponent implements ControlValueAccessor, OnInit, AfterContentInit, OnDestroy {\n /**\n * Used to generate unique Id for this component\n * @ignore\n */\n static idNum = 0;\n\n /**\n * Unique Id for this component\n * @ignore\n */\n uniqueId: string;\n\n /**\n * Reference to the subscription to the radio change events so it can be unsubscribed on destroy\n * @ignore\n */\n radioServiceSubscription: Subscription;\n\n /**\n * The child radio buttons inside the radio group\n */\n @ContentChildren(forwardRef(() => GoARadioComponent), {descendants: true}) _radios: QueryList<GoARadioComponent>;\n\n /**\n * @ignore\n */\n private _name = `goa-radio-group-${GoARadioGroupComponent.idNum++}`;\n\n /**\n * @ignore\n */\n private _value: any = null;\n\n /**\n * @ignore\n */\n private _selected: GoARadioComponent;\n\n /**\n * @ignore\n */\n private _required: boolean;\n\n /**\n * @ignore\n */\n private _disabled: boolean;\n\n /**\n * @ignore\n */\n private _labelPosition: 'before' | 'after' = 'after';\n\n /**\n * The title for the radio group. Put the question being asked here\n */\n @Input() title: string;\n\n /**\n * Helper text to provide further context as to what the radio group is for/asking\n */\n @Input() helperText: string;\n\n /**\n * The error message to display when the radio group selection is required and nothing has been selected\n */\n @Input() requiredErrorMessage = 'Please select one of the provided options.';\n\n /**\n * Indicates the \"group\" or set of radios this radio belongs to.\n */\n @Input()\n get name(): string { return this._name; }\n set name(value: string) {\n this._name = value;\n this._updateRadioButtonNames();\n }\n\n /**\n * Value/unique identifier for the object the radiobutton represents.\n */\n @Input()\n get value(): any { return this._value; }\n set value(newValue: any) {\n if (this._value !== newValue) {\n // Set this before proceeding to ensure no circular loop occurs with selection.\n this._value = newValue;\n\n this._updateSelectedRadioFromValue();\n this._setSelectedRadioToChecked();\n }\n }\n\n /**\n * The currently selected radio.\n */\n @Input()\n get selected() { return this._selected; }\n set selected(selected: GoARadioComponent | null) {\n this._selected = selected;\n this.value = selected ? selected.value : null;\n this._setSelectedRadioToChecked();\n }\n\n /**\n * Boolean indicating whether or not the radiobutton is disabled.\n */\n @Input()\n get disabled(): boolean { return this._disabled; }\n set disabled(value) {\n this._disabled = value;\n this._updateRadioButtonDisabled();\n }\n\n /**\n * Boolean indicating whether or not the radiobutton is required.\n */\n @Input()\n get required(): boolean { return this._required; }\n set required(value) {\n this._required = value;\n this._updateRadioButtonRequired();\n }\n /**\n * The position to display the label/text for the radiobutton. Valid values are before and after.\n */\n @Input()\n get labelPosition(): 'before' | 'after' {\n return this._labelPosition;\n }\n set labelPosition(position) {\n this._labelPosition = position === 'before' ? 'before' : 'after';\n this._updateRadioButtonLabelPosition();\n }\n\n /**\n * Event emitted containing the source radiobutton, and whether or not it is checked.\n */\n @Output() selectionChange: EventEmitter<GoARadioChange> = new EventEmitter<GoARadioChange>();\n\n /**\n * @ignore\n */\n _onTouchedCallback: () => void;\n\n /**\n * @ignore\n */\n _propagateChange = (_: any) => { };\n\n constructor(private _changeDetector: ChangeDetectorRef, private _radioService: GoARadioService) {\n this.uniqueId = `goa-radiobutton-group-${GoARadioGroupComponent.idNum++}`;\n }\n\n /**\n * Lifecycle hook AfterContentInit. Used to set properties on child radios based on the radio group's properties.\n * @ignore\n */\n ngAfterContentInit(): void {\n this._updateRadioButtonNames();\n this._updateRadioButtonDisabled();\n this._updateRadioButtonRequired();\n this._updateRadioButtonLabelPosition();\n this._updateSelectedRadioFromValue();\n }\n\n /**\n * Lifecycle hook OnInit. Used to subscribe to radio change messages from the radioService in order to set the 'selected' property\n * of the radio group based on which radio was selected\n * @ignore\n */\n ngOnInit(): void {\n this.radioServiceSubscription = this._radioService.radioChangeMessage.subscribe(rcm => {\n if(rcm && rcm.source && rcm.source.name === this.name && rcm.checked) {\n this.selected = this._radios.find(r => r.uniqueId === rcm.source.uniqueId);\n this.selectionChange.emit(rcm);\n }\n });\n }\n\n /**\n * Lifecycle hook OnDestroy. Used to unsubscribe from the radio change messages.\n * @ignore\n */\n ngOnDestroy(): void {\n this.radioServiceSubscription.unsubscribe();\n }\n\n /**\n * Updates the `selected` radio button from the internal _value state.\n */\n private _updateSelectedRadioFromValue(): void {\n // If the value already matches the selected radio, do nothing.\n const isAlreadySelected = this._selected !== undefined && this._selected !== null && this._selected.value === this._value;\n\n // need to wrap in setTimeout because _radios hasnt resolved yet when Input setter fires, need to get to next cycle in page lifecycle\n setTimeout(() => {\n if (this._radios && !isAlreadySelected) {\n this._selected = null;\n this._radios.forEach(radio => {\n radio.checked = this.value === radio.value;\n if (radio.checked) {\n this._selected = radio;\n }\n });\n }\n });\n }\n\n /**\n * Sets the selected radio to checked if it is not already checked\n */\n private _setSelectedRadioToChecked(): void {\n if (this.selected && !this.selected.checked) {\n this.selected.checked = true;\n }\n }\n\n /**\n * Updates the 'name' property of the child radio buttons to match that of the group so they all function together\n */\n private _updateRadioButtonNames(): void {\n if (this._radios) {\n this._radios.forEach(radio => {\n radio.name = this.name;\n radio.markForCheck();\n });\n }\n }\n\n /**\n * Updates the 'disabled' property of the child radio buttons to match the disabled state of the radio group\n */\n private _updateRadioButtonDisabled(): void {\n if (this._radios) {\n this._radios.forEach(radio => {\n radio.required = this._required;\n radio.markForCheck();\n });\n }\n }\n\n /**\n * Updates the 'required' property of the child radio buttons to match the required state of the radio group\n */\n private _updateRadioButtonRequired(): void {\n if (this._radios) {\n this._radios.forEach(radio => {\n radio.required = this._required;\n radio.markForCheck();\n });\n }\n }\n\n /**\n * Updates the 'labelPosition' property of the child radio buttons to match the labelPosition state of the radio group\n */\n private _updateRadioButtonLabelPosition(): void {\n if (this._radios) {\n this._radios.forEach(radio => {\n radio.labelPosition = this._labelPosition;\n radio.markForCheck();\n });\n }\n }\n\n /**\n * Boolean indicating if the radiobutton is required and not checked\n * @ignore\n */\n hasError(): boolean {\n const hasSelectedRadio = this._radios.some(r => r.checked);\n return this.required && !hasSelectedRadio;\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.selected = value;\n this._changeDetector.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"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GOA_RADIO_GROUP_CONTROL_VALUE_ACCESSOR":{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":26,"character":11},"useExisting":{"__symbolic":"reference","name":"GoARadioGroupComponent"},"multi":true},"GOA_RADIO_GROUP":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":37,"character":35},"arguments":["GoARadioGroup"]},"GoARadioGroupComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":42,"character":1},"arguments":[{"selector":"goa-radio-group","providers":[{"__symbolic":"reference","name":"GOA_RADIO_GROUP_CONTROL_VALUE_ACCESSOR"},{"provide":{"__symbolic":"reference","name":"GOA_RADIO_GROUP"},"useExisting":{"__symbolic":"reference","name":"GoARadioGroupComponent"}}],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":50,"character":19},"member":"OnPush"},"template":"<div class=\"goa-radio-group\" [ngClass]=\"{'goa-radio-group-disabled': disabled}\">\n <span *ngIf=\"title\" class=\"radio-group-title\">{{title}}</span>\n <span *ngIf=\"required\" class=\"required-label\" i18n=\"Required label for dropdown\">(Required)</span>\n <div *ngIf=\"helperText\" class=\"helper-text\">{{helperText}}</div>\n <div class=\"goa-radios\">\n <ng-content></ng-content>\n </div>\n <div *ngIf=\"hasError()\" class=\"error-text\">{{requiredErrorMessage}}</div>\n</div>\n","styles":[".goa-radio-group{margin-top:28px}.goa-radio-group.goa-radio-group-disabled.goa-radios{opacity:1%;cursor:default}.goa-radio-group .radio-group-title{font-size:18px;font-weight:700;color:#333;line-height:28px}.goa-radio-group .helper-text{font-size:14px;font-weight:400;color:#333;margin-bottom:20px}.goa-radio-group .required-label{margin-left:8px;font-size:14px;color:#666}.goa-radio-group .error-text{color:#fc1921;font-size:14px;margin-bottom:20px}"]}]}],"members":{"_radios":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":74,"character":3},"arguments":[{"__symbolic":"reference","module":"../radio/radio.component","name":"GoARadioComponent","line":74,"character":36},{"descendants":true}]}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":109,"character":3}}]}],"helperText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":114,"character":3}}]}],"requiredErrorMessage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":119,"character":3}}]}],"name":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":124,"character":3}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":134,"character":3}}]}],"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":149,"character":3}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":160,"character":3}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":170,"character":3}}]}],"labelPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":179,"character":3}}]}],"selectionChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":191,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":203,"character":39},{"__symbolic":"reference","module":"../radio/radio.service","name":"GoARadioService","line":203,"character":81}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"_updateSelectedRadioFromValue":[{"__symbolic":"method"}],"_setSelectedRadioToChecked":[{"__symbolic":"method"}],"_updateRadioButtonNames":[{"__symbolic":"method"}],"_updateRadioButtonDisabled":[{"__symbolic":"method"}],"_updateRadioButtonRequired":[{"__symbolic":"method"}],"_updateRadioButtonLabelPosition":[{"__symbolic":"method"}],"hasError":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}]},"statics":{"idNum":0}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"skeleton-element.component.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/skeleton/skeleton-element.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,KAAK,EAAE,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,2BAA2B;IAStC;QARS,SAAI,GAMA,MAAM,CAAC;IAEL,CAAC;IAEhB,IAAI,YAAY;QACd,OAAO,YAAY,IAAI,CAAC,IAAI,EAAE,CAAC;IACjC,CAAC;;;YAlBF,SAAS,SAAC;gBACT,QAAQ,EAAE,sBAAsB;gBAChC,kDAAgD;;aAEjD;;;;mBAEE,KAAK","sourcesContent":["import { Component, OnInit, Input } from '@angular/core';\n\n@Component({\n selector: 'goa-skeleton-element',\n templateUrl: './skeleton-element.component.html',\n styleUrls: ['./skeleton-element.component.scss'],\n})\nexport class GoASkeletonElementComponent {\n @Input() type:\n | 'text'\n | 'avatar'\n | 'title'\n | 'paragraph'\n | 'thumbnail'\n | 'card' = 'text';\n\n constructor() {}\n\n get elementClass(): string {\n return `skeleton ${this.type}`;\n }\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoASkeletonElementComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"goa-skeleton-element","template":"<div [ngClass]=\"elementClass\"></div>","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":{"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}]}}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"skeleton-image-content.component.js","sourceRoot":"","sources":["../../../../../../libs/angular-components/src/lib/skeleton/skeleton-image-content.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,KAAK,EAAE,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,gCAAgC;IAI3C;QAHS,SAAI,GAAG,CAAC,CAAC;QAElB,QAAG,GAAG,KAAK,CAAC;IACG,CAAC;;;YATjB,SAAS,SAAC;gBACT,QAAQ,EAAE,4BAA4B;gBACtC,sTAAsD;;aAEvD;;;;mBAEE,KAAK","sourcesContent":["import { Component, OnInit, Input } from '@angular/core';\n\n@Component({\n selector: 'goa-skeleton-image-content',\n templateUrl: './skeleton-image-content.component.html',\n styleUrls: ['./skeleton-element.component.scss'],\n})\nexport class GoASkeletonImageContentComponent {\n @Input() rows = 1;\n\n arr = Array;\n constructor() {}\n\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"GoASkeletonImageContentComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"goa-skeleton-image-content","template":"<div class=\"skeleton-image-content\">\n <goa-skeleton-element type=\"thumbnail\"></goa-skeleton-element>\n <div class=\"skeleton-image-content__text\">\n <goa-skeleton-element\n type=\"title\"\n *ngFor=\"let i of arr(rows).fill(1)\"\n ></goa-skeleton-element>\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":{"rows":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}]}}}}]
|
package/theme.css
DELETED
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
@import url("https://p.typekit.net/p.css?s=1&k=nur5yta&ht=tk&f=26036.26037.26044.26046.26047&a=14638192&app=typekit&e=css");
|
|
2
|
-
.cdk-overlay-container, .cdk-global-overlay-wrapper {
|
|
3
|
-
pointer-events: none;
|
|
4
|
-
top: 0;
|
|
5
|
-
left: 0;
|
|
6
|
-
height: 100%;
|
|
7
|
-
width: 100%; }
|
|
8
|
-
|
|
9
|
-
.cdk-overlay-container {
|
|
10
|
-
position: fixed;
|
|
11
|
-
z-index: 1000; }
|
|
12
|
-
.cdk-overlay-container:empty {
|
|
13
|
-
display: none; }
|
|
14
|
-
|
|
15
|
-
.cdk-global-overlay-wrapper {
|
|
16
|
-
display: flex;
|
|
17
|
-
position: absolute;
|
|
18
|
-
z-index: 1000; }
|
|
19
|
-
|
|
20
|
-
.cdk-overlay-pane {
|
|
21
|
-
position: absolute;
|
|
22
|
-
pointer-events: auto;
|
|
23
|
-
box-sizing: border-box;
|
|
24
|
-
z-index: 1000;
|
|
25
|
-
display: flex;
|
|
26
|
-
max-width: 100%;
|
|
27
|
-
max-height: 100%; }
|
|
28
|
-
|
|
29
|
-
.cdk-overlay-backdrop {
|
|
30
|
-
position: absolute;
|
|
31
|
-
top: 0;
|
|
32
|
-
bottom: 0;
|
|
33
|
-
left: 0;
|
|
34
|
-
right: 0;
|
|
35
|
-
z-index: 1000;
|
|
36
|
-
pointer-events: auto;
|
|
37
|
-
-webkit-tap-highlight-color: transparent;
|
|
38
|
-
transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
39
|
-
opacity: 0; }
|
|
40
|
-
.cdk-overlay-backdrop.cdk-overlay-backdrop-showing {
|
|
41
|
-
opacity: 1; }
|
|
42
|
-
@media screen and (-ms-high-contrast: active) {
|
|
43
|
-
.cdk-overlay-backdrop.cdk-overlay-backdrop-showing {
|
|
44
|
-
opacity: 0.6; } }
|
|
45
|
-
|
|
46
|
-
.cdk-overlay-dark-backdrop {
|
|
47
|
-
background: rgba(0, 0, 0, 0.32); }
|
|
48
|
-
|
|
49
|
-
.cdk-overlay-transparent-backdrop, .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {
|
|
50
|
-
opacity: 0; }
|
|
51
|
-
|
|
52
|
-
.cdk-overlay-connected-position-bounding-box {
|
|
53
|
-
position: absolute;
|
|
54
|
-
z-index: 1000;
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-direction: column;
|
|
57
|
-
min-width: 1px;
|
|
58
|
-
min-height: 1px; }
|
|
59
|
-
|
|
60
|
-
.cdk-global-scrollblock {
|
|
61
|
-
position: fixed;
|
|
62
|
-
width: 100%;
|
|
63
|
-
overflow-y: scroll; }
|
|
64
|
-
|
|
65
|
-
/* typekit ***/
|
|
66
|
-
/* This style is from the alberta design system */
|
|
67
|
-
@font-face {
|
|
68
|
-
font-family: 'acumin-pro-semi-condensed';
|
|
69
|
-
src: url("https://use.typekit.net/af/3f7b4d/00000000000000003b9acb2d/27/l?subset_id=1&fvd=n4&v=3") format("woff2"), url("https://use.typekit.net/af/3f7b4d/00000000000000003b9acb2d/27/d?subset_id=1&fvd=n4&v=3") format("woff"), url("https://use.typekit.net/af/3f7b4d/00000000000000003b9acb2d/27/a?subset_id=1&fvd=n4&v=3") format("opentype");
|
|
70
|
-
font-style: normal;
|
|
71
|
-
font-weight: 400; }
|
|
72
|
-
|
|
73
|
-
@font-face {
|
|
74
|
-
font-family: 'acumin-pro-semi-condensed';
|
|
75
|
-
src: url("https://use.typekit.net/af/761912/00000000000000003b9acb2e/27/l?subset_id=1&fvd=i4&v=3") format("woff2"), url("https://use.typekit.net/af/761912/00000000000000003b9acb2e/27/d?subset_id=1&fvd=i4&v=3") format("woff"), url("https://use.typekit.net/af/761912/00000000000000003b9acb2e/27/a?subset_id=1&fvd=i4&v=3") format("opentype");
|
|
76
|
-
font-style: italic;
|
|
77
|
-
font-weight: 400; }
|
|
78
|
-
|
|
79
|
-
@font-face {
|
|
80
|
-
font-family: 'acumin-pro-semi-condensed';
|
|
81
|
-
src: url("https://use.typekit.net/af/ee7f3d/00000000000000003b9acb33/27/l?subset_id=1&fvd=n7&v=3") format("woff2"), url("https://use.typekit.net/af/ee7f3d/00000000000000003b9acb33/27/d?subset_id=1&fvd=n7&v=3") format("woff"), url("https://use.typekit.net/af/ee7f3d/00000000000000003b9acb33/27/a?subset_id=1&fvd=n7&v=3") format("opentype");
|
|
82
|
-
font-style: normal;
|
|
83
|
-
font-weight: 700; }
|
|
84
|
-
|
|
85
|
-
@font-face {
|
|
86
|
-
font-family: 'acumin-pro-semi-condensed';
|
|
87
|
-
src: url("https://use.typekit.net/af/503f80/00000000000000003b9acb34/27/l?subset_id=1&fvd=i7&v=3") format("woff2"), url("https://use.typekit.net/af/503f80/00000000000000003b9acb34/27/d?subset_id=1&fvd=i7&v=3") format("woff"), url("https://use.typekit.net/af/503f80/00000000000000003b9acb34/27/a?subset_id=1&fvd=i7&v=3") format("opentype");
|
|
88
|
-
font-style: italic;
|
|
89
|
-
font-weight: 700; }
|
|
90
|
-
|
|
91
|
-
@font-face {
|
|
92
|
-
font-family: 'acumin-pro-semi-condensed';
|
|
93
|
-
src: url("https://use.typekit.net/af/e60e87/00000000000000003b9acb31/27/l?subset_id=1&fvd=n6&v=3") format("woff2"), url("https://use.typekit.net/af/e60e87/00000000000000003b9acb31/27/d?subset_id=1&fvd=n6&v=3") format("woff"), url("https://use.typekit.net/af/e60e87/00000000000000003b9acb31/27/a?subset_id=1&fvd=n6&v=3") format("opentype");
|
|
94
|
-
font-style: normal;
|
|
95
|
-
font-weight: 600; }
|
|
96
|
-
|
|
97
|
-
/* This style is from the alberta design system */
|
|
98
|
-
body,
|
|
99
|
-
input,
|
|
100
|
-
button,
|
|
101
|
-
textarea {
|
|
102
|
-
background: #fff;
|
|
103
|
-
font-family: acumin-pro-semi-condensed, sans-serif;
|
|
104
|
-
font-weight: 400;
|
|
105
|
-
font-size: 18px;
|
|
106
|
-
line-height: 28px; }
|
|
107
|
-
|
|
108
|
-
h1 {
|
|
109
|
-
margin: 0;
|
|
110
|
-
padding: 0;
|
|
111
|
-
line-height: 56px;
|
|
112
|
-
font-size: 48px; }
|
|
113
|
-
|
|
114
|
-
h2 {
|
|
115
|
-
margin: 24px 0 0;
|
|
116
|
-
padding: 0;
|
|
117
|
-
line-height: 44px;
|
|
118
|
-
color: #333;
|
|
119
|
-
font-size: 36px;
|
|
120
|
-
font-weight: 400; }
|
|
121
|
-
|
|
122
|
-
h3 {
|
|
123
|
-
margin: 24px 0 0;
|
|
124
|
-
padding: 0;
|
|
125
|
-
line-height: 32px;
|
|
126
|
-
color: #333;
|
|
127
|
-
font-size: 24px;
|
|
128
|
-
font-weight: 400; }
|
|
129
|
-
|
|
130
|
-
h4 {
|
|
131
|
-
margin: 23px 0 0;
|
|
132
|
-
padding: 0;
|
|
133
|
-
line-height: 28px;
|
|
134
|
-
color: #333;
|
|
135
|
-
font-size: 18px;
|
|
136
|
-
font-weight: 700; }
|
|
137
|
-
|
|
138
|
-
h5 {
|
|
139
|
-
margin: 23px 0 0;
|
|
140
|
-
padding: 0;
|
|
141
|
-
line-height: 28px;
|
|
142
|
-
color: #333;
|
|
143
|
-
font-size: 18px;
|
|
144
|
-
font-weight: 700; }
|
|
145
|
-
|
|
146
|
-
h6 {
|
|
147
|
-
margin: 23px 0 0;
|
|
148
|
-
padding: 0;
|
|
149
|
-
line-height: 28px;
|
|
150
|
-
color: #333;
|
|
151
|
-
font-size: 18px;
|
|
152
|
-
font-weight: 700; }
|
|
153
|
-
|
|
154
|
-
p {
|
|
155
|
-
margin: 23px 0 0;
|
|
156
|
-
font-size: 18px;
|
|
157
|
-
line-height: 28px; }
|
|
158
|
-
|
|
159
|
-
dt {
|
|
160
|
-
font-weight: 700; }
|
|
161
|
-
|
|
162
|
-
li {
|
|
163
|
-
margin: 13px 0 0 28px;
|
|
164
|
-
font-size: 18px;
|
|
165
|
-
line-height: 28px; }
|
|
166
|
-
|
|
167
|
-
ul {
|
|
168
|
-
list-style-type: disc;
|
|
169
|
-
margin-top: 28px; }
|
|
170
|
-
|
|
171
|
-
ul ul {
|
|
172
|
-
list-style-type: disc; }
|
|
173
|
-
|
|
174
|
-
a:link {
|
|
175
|
-
color: #0070c4; }
|
|
176
|
-
|
|
177
|
-
a:visited {
|
|
178
|
-
color: #756693; }
|
|
179
|
-
|
|
180
|
-
a:hover {
|
|
181
|
-
color: #004f84; }
|
|
182
|
-
|
|
183
|
-
a:focus {
|
|
184
|
-
outline-width: thin;
|
|
185
|
-
outline-style: solid;
|
|
186
|
-
outline-color: #004f84;
|
|
187
|
-
outline-offset: 0px; }
|
|
188
|
-
|
|
189
|
-
/* anchors *******************************************************************/
|
|
190
|
-
html:not([dir='rtl']) main a[target='_blank']:after {
|
|
191
|
-
display: inline-block;
|
|
192
|
-
width: 17px;
|
|
193
|
-
height: 16px;
|
|
194
|
-
margin: 0px 0px -2px 5px;
|
|
195
|
-
background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='16' viewBox='0 0 22 20.51'%3E%3Cpath fill='%23333' d='M21,19.69a.58.58,0,0,1-.57.57H3.57A.58.58,0,0,1,3,19.69V4.31a.58.58,0,0,1,.57-.57H6.82v-2H3.57A2.58,2.58,0,0,0,1,4.31V19.69a2.58,2.58,0,0,0,2.57,2.57H20.43A2.58,2.58,0,0,0,23,19.69V16.44H21Z' transform='translate(-1 -1.74)'/%3E%3Cpath fill='%23333' d='M22,1.75H14.15a1,1,0,1,0,0,2h5.44l-7.41,7.41a1,1,0,0,0,.71,1.71,1,1,0,0,0,.7-.3L21,5.17V10.6a1,1,0,1,0,2,0V2.75A1,1,0,0,0,22,1.75Z' transform='translate(-1 -1.74)'/%3E%3C/svg%3E") no-repeat center center;
|
|
196
|
-
content: ''; }
|
|
197
|
-
|
|
198
|
-
a[href$='.pdf']:after,
|
|
199
|
-
a[href$='.doc']:after,
|
|
200
|
-
a[href$='.docx']:after {
|
|
201
|
-
display: inline-block;
|
|
202
|
-
width: 16px;
|
|
203
|
-
height: 16px;
|
|
204
|
-
margin: 0px 0px -3px 5px;
|
|
205
|
-
background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' shape-rendering='geometricPrecision'%3E%3Cpath d='M0 16L16 16L16 14L0 14Z M8 14L0 6L4 6L4 0L12 0L12 6L16 6Z' fill='%2336424a'/%3E%3C/svg%3E") no-repeat center center;
|
|
206
|
-
content: ''; }
|