oasys-lib 1.11.0 → 1.12.0
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/bundles/oasys-lib.umd.js +1751 -1200
- package/bundles/oasys-lib.umd.js.map +1 -1
- package/esm2015/lib/components/alert/alert-cancel.directive.js +20 -0
- package/esm2015/lib/components/alert/alert-confirm.directive.js +20 -0
- package/esm2015/lib/components/alert/alert-content.directive.js +13 -0
- package/esm2015/lib/components/alert/alert-title.directive.js +13 -0
- package/esm2015/lib/components/alert/alert.component.js +51 -0
- package/esm2015/lib/components/alert/alert.module.js +58 -0
- package/esm2015/lib/components/alert/index.js +7 -0
- package/esm2015/lib/components/icon/icon.js +1 -1
- package/esm2015/lib/services/breakpoint.service.js +48 -0
- package/esm2015/public-api.js +2 -1
- package/fesm2015/oasys-lib.js +221 -30
- package/fesm2015/oasys-lib.js.map +1 -1
- package/lib/components/alert/alert-cancel.directive.d.ts +11 -0
- package/lib/components/alert/alert-cancel.directive.d.ts.map +1 -0
- package/lib/components/alert/alert-confirm.directive.d.ts +11 -0
- package/lib/components/alert/alert-confirm.directive.d.ts.map +1 -0
- package/lib/components/alert/alert-content.directive.d.ts +6 -0
- package/lib/components/alert/alert-content.directive.d.ts.map +1 -0
- package/lib/components/alert/alert-title.directive.d.ts +6 -0
- package/lib/components/alert/alert-title.directive.d.ts.map +1 -0
- package/lib/components/alert/alert.component.d.ts +21 -0
- package/lib/components/alert/alert.component.d.ts.map +1 -0
- package/lib/components/alert/alert.module.d.ts +16 -0
- package/lib/components/alert/alert.module.d.ts.map +1 -0
- package/lib/components/alert/index.d.ts +7 -0
- package/lib/components/alert/index.d.ts.map +1 -0
- package/lib/components/icon/icon.d.ts +1 -1
- package/lib/components/icon/icon.d.ts.map +1 -1
- package/lib/services/breakpoint.service.d.ts +21 -0
- package/lib/services/breakpoint.service.d.ts.map +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/public-api.d.ts.map +1 -1
- package/src/assets/bloomandwild/icons/icons.svg +1 -1
- package/src/assets/bloomandwild/variables.css +11 -5
- package/src/assets/bloomon/icons/icons.svg +1 -1
- package/src/assets/bloomon/variables.css +11 -5
- package/src/assets/global/scss-breakpoints.scss +1 -1
- package/src/assets/global/variables.css +4 -3
package/bundles/oasys-lib.umd.js
CHANGED
|
@@ -1,1239 +1,1790 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
})(this, (function (exports, i0,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('@angular/cdk/layout'), require('@angular/common'), require('@angular/router')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('oasys-lib', ['exports', '@angular/core', 'rxjs', 'rxjs/operators', '@angular/cdk/layout', '@angular/common', '@angular/router'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["oasys-lib"] = {}, global.ng.core, global.rxjs, global.rxjs.operators, global.ng.cdk.layout, global.ng.common, global.ng.router));
|
|
5
|
+
})(this, (function (exports, i0, rxjs, operators, i1, i6, i2) { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
18
20
|
}
|
|
19
|
-
|
|
21
|
+
n["default"] = e;
|
|
22
|
+
return Object.freeze(n);
|
|
20
23
|
}
|
|
21
|
-
n["default"] = e;
|
|
22
|
-
return Object.freeze(n);
|
|
23
|
-
}
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
27
|
+
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
28
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
28
29
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
TokenService.prototype.getTokenValue = function (tokenName, element) {
|
|
48
|
-
var rootElement = element || this.document.querySelector('[class*="brand-tokens"]');
|
|
49
|
-
if (!rootElement) {
|
|
50
|
-
return '';
|
|
51
|
-
}
|
|
52
|
-
return this.document.defaultView.getComputedStyle(rootElement)
|
|
53
|
-
.getPropertyValue(tokenName)
|
|
54
|
-
.trim() || '';
|
|
55
|
-
};
|
|
56
|
-
return TokenService;
|
|
57
|
-
}());
|
|
58
|
-
TokenService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TokenService, deps: [{ token: i3.DOCUMENT }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
59
|
-
TokenService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TokenService });
|
|
60
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TokenService, decorators: [{
|
|
61
|
-
type: i0.Injectable
|
|
62
|
-
}], ctorParameters: function () {
|
|
63
|
-
return [{ type: Document, decorators: [{
|
|
64
|
-
type: i0.Inject,
|
|
65
|
-
args: [i3.DOCUMENT]
|
|
66
|
-
}] }];
|
|
67
|
-
} });
|
|
30
|
+
var OasysAlertCancelDirective = /** @class */ (function () {
|
|
31
|
+
function OasysAlertCancelDirective(elem) {
|
|
32
|
+
this.elem = elem;
|
|
33
|
+
this.text = '';
|
|
34
|
+
}
|
|
35
|
+
OasysAlertCancelDirective.prototype.ngAfterContentChecked = function () {
|
|
36
|
+
this.text = this.elem.nativeElement.innerText;
|
|
37
|
+
};
|
|
38
|
+
return OasysAlertCancelDirective;
|
|
39
|
+
}());
|
|
40
|
+
OasysAlertCancelDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysAlertCancelDirective, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
41
|
+
OasysAlertCancelDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: OasysAlertCancelDirective, selector: "ui-alert-cancel, [ui-alert-cancel]", ngImport: i0__namespace });
|
|
42
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysAlertCancelDirective, decorators: [{
|
|
43
|
+
type: i0.Directive,
|
|
44
|
+
args: [{
|
|
45
|
+
selector: 'ui-alert-cancel, [ui-alert-cancel]',
|
|
46
|
+
}]
|
|
47
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; } });
|
|
68
48
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
* @returns - boolean
|
|
88
|
-
*/
|
|
89
|
-
LayoutBoxComponent.prototype.stringContainsJson = function (string) {
|
|
90
|
-
try {
|
|
91
|
-
JSON.parse(string);
|
|
92
|
-
}
|
|
93
|
-
catch (e) {
|
|
94
|
-
return false;
|
|
95
|
-
}
|
|
96
|
-
return true;
|
|
97
|
-
};
|
|
98
|
-
LayoutBoxComponent.prototype.getSizeClasses = function (spaceInput, overrideName) {
|
|
99
|
-
var _this = this;
|
|
100
|
-
if (!spaceInput || spaceInput === undefined) {
|
|
101
|
-
return null;
|
|
102
|
-
}
|
|
103
|
-
// Used for responsive spacing, check if the input is either an object or JSON
|
|
104
|
-
if (typeof spaceInput === 'object' || this.stringContainsJson(spaceInput)) {
|
|
105
|
-
// If JSON then convert this to an object
|
|
106
|
-
var spaceInputObject_1 = typeof spaceInput === 'object' ? spaceInput : JSON.parse(spaceInput);
|
|
107
|
-
return Object.keys(spaceInputObject_1).map(function (key) {
|
|
108
|
-
return _this.prefix + "-" + spaceInputObject_1[key] + "-" + key + (overrideName ? "-" + overrideName : "");
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
return [
|
|
112
|
-
this.prefix,
|
|
113
|
-
this.prefix + "-" + spaceInput + (overrideName ? "-" + overrideName : "")
|
|
114
|
-
];
|
|
115
|
-
};
|
|
116
|
-
LayoutBoxComponent.prototype.getOverrideClasses = function (spaceOverrides) {
|
|
117
|
-
var _this = this;
|
|
118
|
-
var spaceTypes = ['top', 'right', 'bottom', 'left'];
|
|
119
|
-
return spaceOverrides.map(function (item, index) {
|
|
120
|
-
return _this.getSizeClasses(item, spaceTypes[index]);
|
|
121
|
-
}).filter(Boolean);
|
|
122
|
-
};
|
|
123
|
-
LayoutBoxComponent.prototype.getAlignmentClasses = function (alignmentOverride) {
|
|
124
|
-
var _this = this;
|
|
125
|
-
var spaceTypes = ['align-x', 'distribute-y'];
|
|
126
|
-
return alignmentOverride.map(function (item, index) {
|
|
127
|
-
return item ? _this.prefix + "-" + spaceTypes[index] + "-" + item : undefined;
|
|
128
|
-
}).filter(Boolean);
|
|
129
|
-
};
|
|
130
|
-
LayoutBoxComponent.prototype.getBackgroundClass = function () {
|
|
131
|
-
var value = this.box_background ? this.prefix + "-background-" + this.box_background : "";
|
|
132
|
-
return value;
|
|
133
|
-
};
|
|
134
|
-
LayoutBoxComponent.prototype.ngOnChanges = function () {
|
|
135
|
-
if (!this.didFirstInit) {
|
|
136
|
-
return;
|
|
137
|
-
}
|
|
138
|
-
this.ngOnInit();
|
|
139
|
-
this.changes.markForCheck();
|
|
140
|
-
};
|
|
141
|
-
LayoutBoxComponent.prototype.ngOnInit = function () {
|
|
142
|
-
var spaceOverrides = [this.box_space_top, this.box_space_right, this.box_space_bottom, this.box_space_left];
|
|
143
|
-
var alignmentOverride = [this.box_align_x, this.box_align_y];
|
|
144
|
-
this.backgroundIsDark = this.tokenService.getTokenValue("--semantic-on-dark-" + this.box_background) === 'on-dark';
|
|
145
|
-
// Basic basic classes
|
|
146
|
-
this.boxLayoutClasses = [
|
|
147
|
-
this.getSizeClasses(this.box_space),
|
|
148
|
-
this.getOverrideClasses(spaceOverrides),
|
|
149
|
-
this.getAlignmentClasses(alignmentOverride),
|
|
150
|
-
this.getBackgroundClass(),
|
|
151
|
-
this.box_fill_mode === 'fit' ? this.prefix + "-fit-content" : this.prefix + "-fill-container",
|
|
152
|
-
this.backgroundIsDark ? 'text-color--on-dark' : '',
|
|
153
|
-
this.box_content_fill_width ? '' : this.prefix + "-content-max-width"
|
|
154
|
-
].flat(10).filter(Boolean);
|
|
155
|
-
this.didFirstInit = true;
|
|
156
|
-
};
|
|
157
|
-
return LayoutBoxComponent;
|
|
158
|
-
}());
|
|
159
|
-
LayoutBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayoutBoxComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: TokenService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
160
|
-
LayoutBoxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LayoutBoxComponent, selector: "ui-box", inputs: { box_space: "box_space", box_space_top: "box_space_top", box_space_right: "box_space_right", box_space_bottom: "box_space_bottom", box_space_left: "box_space_left", box_align_x: "box_align_x", box_align_y: "box_align_y", box_fill_mode: "box_fill_mode", box_background: "box_background", box_content_fill_width: "box_content_fill_width" }, host: { properties: { "class": "boxLayoutClasses" } }, usesOnChanges: true, ngImport: i0__namespace, template: '<div class="ui-box-content"><ng-content></ng-content></div>', isInline: true, styles: ["ui-box{display:flex;justify-self:stretch;flex-direction:column}ui-box.ui-layout-box-none{padding:var(--semantic-spacing-box-none)}@media only screen and (max-width: 767px){ui-box.ui-layout-box-none-mobile{padding:var(--semantic-spacing-box-none)}ui-box.ui-layout-box-none-mobile-top{padding-top:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-mobile-right{padding-right:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-mobile-bottom{padding-bottom:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-mobile-left{padding-left:var(--semantic-spacing-box-none)!important}}@media only screen and (min-width: 768px){ui-box.ui-layout-box-none-tablet{padding:var(--semantic-spacing-box-none)}ui-box.ui-layout-box-none-tablet-top{padding-top:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-tablet-right{padding-right:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-tablet-bottom{padding-bottom:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-tablet-left{padding-left:var(--semantic-spacing-box-none)!important}}@media only screen and (min-width: 1080px){ui-box.ui-layout-box-none-laptop{padding:var(--semantic-spacing-box-none)}ui-box.ui-layout-box-none-laptop-top{padding-top:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-laptop-right{padding-right:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-laptop-bottom{padding-bottom:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-laptop-left{padding-left:var(--semantic-spacing-box-none)!important}}@media only screen and (min-width: 1440px){ui-box.ui-layout-box-none-desktop{padding:var(--semantic-spacing-box-none)}ui-box.ui-layout-box-none-desktop-top{padding-top:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-desktop-right{padding-right:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-desktop-bottom{padding-bottom:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-desktop-left{padding-left:var(--semantic-spacing-box-none)!important}}ui-box.ui-layout-box-none-top{padding-top:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-right{padding-right:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-bottom{padding-bottom:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-left{padding-left:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-tight{padding:var(--semantic-spacing-box-tight)}@media only screen and (max-width: 767px){ui-box.ui-layout-box-tight-mobile{padding:var(--semantic-spacing-box-tight)}ui-box.ui-layout-box-tight-mobile-top{padding-top:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-mobile-right{padding-right:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-mobile-bottom{padding-bottom:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-mobile-left{padding-left:var(--semantic-spacing-box-tight)!important}}@media only screen and (min-width: 768px){ui-box.ui-layout-box-tight-tablet{padding:var(--semantic-spacing-box-tight)}ui-box.ui-layout-box-tight-tablet-top{padding-top:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-tablet-right{padding-right:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-tablet-bottom{padding-bottom:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-tablet-left{padding-left:var(--semantic-spacing-box-tight)!important}}@media only screen and (min-width: 1080px){ui-box.ui-layout-box-tight-laptop{padding:var(--semantic-spacing-box-tight)}ui-box.ui-layout-box-tight-laptop-top{padding-top:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-laptop-right{padding-right:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-laptop-bottom{padding-bottom:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-laptop-left{padding-left:var(--semantic-spacing-box-tight)!important}}@media only screen and (min-width: 1440px){ui-box.ui-layout-box-tight-desktop{padding:var(--semantic-spacing-box-tight)}ui-box.ui-layout-box-tight-desktop-top{padding-top:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-desktop-right{padding-right:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-desktop-bottom{padding-bottom:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-desktop-left{padding-left:var(--semantic-spacing-box-tight)!important}}ui-box.ui-layout-box-tight-top{padding-top:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-right{padding-right:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-bottom{padding-bottom:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-left{padding-left:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-near{padding:var(--semantic-spacing-box-near)}@media only screen and (max-width: 767px){ui-box.ui-layout-box-near-mobile{padding:var(--semantic-spacing-box-near)}ui-box.ui-layout-box-near-mobile-top{padding-top:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-mobile-right{padding-right:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-mobile-bottom{padding-bottom:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-mobile-left{padding-left:var(--semantic-spacing-box-near)!important}}@media only screen and (min-width: 768px){ui-box.ui-layout-box-near-tablet{padding:var(--semantic-spacing-box-near)}ui-box.ui-layout-box-near-tablet-top{padding-top:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-tablet-right{padding-right:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-tablet-bottom{padding-bottom:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-tablet-left{padding-left:var(--semantic-spacing-box-near)!important}}@media only screen and (min-width: 1080px){ui-box.ui-layout-box-near-laptop{padding:var(--semantic-spacing-box-near)}ui-box.ui-layout-box-near-laptop-top{padding-top:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-laptop-right{padding-right:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-laptop-bottom{padding-bottom:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-laptop-left{padding-left:var(--semantic-spacing-box-near)!important}}@media only screen and (min-width: 1440px){ui-box.ui-layout-box-near-desktop{padding:var(--semantic-spacing-box-near)}ui-box.ui-layout-box-near-desktop-top{padding-top:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-desktop-right{padding-right:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-desktop-bottom{padding-bottom:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-desktop-left{padding-left:var(--semantic-spacing-box-near)!important}}ui-box.ui-layout-box-near-top{padding-top:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-right{padding-right:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-bottom{padding-bottom:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-left{padding-left:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-default{padding:var(--semantic-spacing-box-default)}@media only screen and (max-width: 767px){ui-box.ui-layout-box-default-mobile{padding:var(--semantic-spacing-box-default)}ui-box.ui-layout-box-default-mobile-top{padding-top:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-mobile-right{padding-right:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-mobile-bottom{padding-bottom:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-mobile-left{padding-left:var(--semantic-spacing-box-default)!important}}@media only screen and (min-width: 768px){ui-box.ui-layout-box-default-tablet{padding:var(--semantic-spacing-box-default)}ui-box.ui-layout-box-default-tablet-top{padding-top:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-tablet-right{padding-right:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-tablet-bottom{padding-bottom:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-tablet-left{padding-left:var(--semantic-spacing-box-default)!important}}@media only screen and (min-width: 1080px){ui-box.ui-layout-box-default-laptop{padding:var(--semantic-spacing-box-default)}ui-box.ui-layout-box-default-laptop-top{padding-top:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-laptop-right{padding-right:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-laptop-bottom{padding-bottom:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-laptop-left{padding-left:var(--semantic-spacing-box-default)!important}}@media only screen and (min-width: 1440px){ui-box.ui-layout-box-default-desktop{padding:var(--semantic-spacing-box-default)}ui-box.ui-layout-box-default-desktop-top{padding-top:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-desktop-right{padding-right:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-desktop-bottom{padding-bottom:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-desktop-left{padding-left:var(--semantic-spacing-box-default)!important}}ui-box.ui-layout-box-default-top{padding-top:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-right{padding-right:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-bottom{padding-bottom:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-left{padding-left:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-expanded{padding:var(--semantic-spacing-box-expanded)}@media only screen and (max-width: 767px){ui-box.ui-layout-box-expanded-mobile{padding:var(--semantic-spacing-box-expanded)}ui-box.ui-layout-box-expanded-mobile-top{padding-top:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-mobile-right{padding-right:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-mobile-bottom{padding-bottom:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-mobile-left{padding-left:var(--semantic-spacing-box-expanded)!important}}@media only screen and (min-width: 768px){ui-box.ui-layout-box-expanded-tablet{padding:var(--semantic-spacing-box-expanded)}ui-box.ui-layout-box-expanded-tablet-top{padding-top:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-tablet-right{padding-right:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-tablet-bottom{padding-bottom:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-tablet-left{padding-left:var(--semantic-spacing-box-expanded)!important}}@media only screen and (min-width: 1080px){ui-box.ui-layout-box-expanded-laptop{padding:var(--semantic-spacing-box-expanded)}ui-box.ui-layout-box-expanded-laptop-top{padding-top:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-laptop-right{padding-right:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-laptop-bottom{padding-bottom:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-laptop-left{padding-left:var(--semantic-spacing-box-expanded)!important}}@media only screen and (min-width: 1440px){ui-box.ui-layout-box-expanded-desktop{padding:var(--semantic-spacing-box-expanded)}ui-box.ui-layout-box-expanded-desktop-top{padding-top:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-desktop-right{padding-right:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-desktop-bottom{padding-bottom:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-desktop-left{padding-left:var(--semantic-spacing-box-expanded)!important}}ui-box.ui-layout-box-expanded-top{padding-top:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-right{padding-right:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-bottom{padding-bottom:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-left{padding-left:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-section-inset{padding:var(--semantic-spacing-box-section-inset)}@media only screen and (max-width: 767px){ui-box.ui-layout-box-section-inset-mobile{padding:var(--semantic-spacing-box-section-inset)}ui-box.ui-layout-box-section-inset-mobile-top{padding-top:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-mobile-right{padding-right:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-mobile-bottom{padding-bottom:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-mobile-left{padding-left:var(--semantic-spacing-box-section-inset)!important}}@media only screen and (min-width: 768px){ui-box.ui-layout-box-section-inset-tablet{padding:var(--semantic-spacing-box-section-inset)}ui-box.ui-layout-box-section-inset-tablet-top{padding-top:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-tablet-right{padding-right:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-tablet-bottom{padding-bottom:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-tablet-left{padding-left:var(--semantic-spacing-box-section-inset)!important}}@media only screen and (min-width: 1080px){ui-box.ui-layout-box-section-inset-laptop{padding:var(--semantic-spacing-box-section-inset)}ui-box.ui-layout-box-section-inset-laptop-top{padding-top:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-laptop-right{padding-right:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-laptop-bottom{padding-bottom:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-laptop-left{padding-left:var(--semantic-spacing-box-section-inset)!important}}@media only screen and (min-width: 1440px){ui-box.ui-layout-box-section-inset-desktop{padding:var(--semantic-spacing-box-section-inset)}ui-box.ui-layout-box-section-inset-desktop-top{padding-top:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-desktop-right{padding-right:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-desktop-bottom{padding-bottom:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-desktop-left{padding-left:var(--semantic-spacing-box-section-inset)!important}}ui-box.ui-layout-box-section-inset-top{padding-top:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-right{padding-right:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-bottom{padding-bottom:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-left{padding-left:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-background-transparent{background-color:var(--semantic-color-background-transparent)}ui-box.ui-layout-box-background-core-primary{background-color:var(--semantic-color-background-core-primary)}ui-box.ui-layout-box-background-core-secondary{background-color:var(--semantic-color-background-core-secondary)}ui-box.ui-layout-box-background-core-tertiary{background-color:var(--semantic-color-background-core-tertiary)}ui-box.ui-layout-box-background-core-quaternary{background-color:var(--semantic-color-background-core-quaternary)}ui-box.ui-layout-box-background-tint-highlight{background-color:var(--semantic-color-background-tint-highlight)}ui-box.ui-layout-box-align-start{justify-content:flex-start}ui-box.ui-layout-box-align-x-start{align-items:flex-start;align-content:flex-start}ui-box.ui-layout-box-align-center{justify-content:center}ui-box.ui-layout-box-align-x-center{align-items:center;align-content:center}ui-box.ui-layout-box-align-end{justify-content:flex-end}ui-box.ui-layout-box-align-x-end{align-items:flex-end;align-content:flex-end}ui-box.ui-layout-box-distribute-fill{justify-content:unset}ui-box.ui-layout-box-distribute-start{justify-content:flex-start}ui-box.ui-layout-box-distribute-center{justify-content:center}ui-box.ui-layout-box-distribute-end{justify-content:flex-end}ui-box.ui-layout-box-distribute-space-between{justify-content:space-between}ui-box.ui-layout-box-distribute-space-around{justify-content:space-around}ui-box.ui-layout-box-distribute-space-evenly{justify-content:space-evenly}ui-box.ui-layout-box-align-start{align-items:flex-start;align-content:flex-start}ui-box.ui-layout-box-align-center{align-items:center;align-content:center}ui-box.ui-layout-box-align-end{align-items:flex-end;align-content:flex-end}ui-box.ui-layout-box-distribute-y-fill{justify-content:unset}ui-box.ui-layout-box-distribute-y-start{justify-content:flex-start}ui-box.ui-layout-box-distribute-y-center{justify-content:center}ui-box.ui-layout-box-distribute-y-end{justify-content:flex-end}ui-box.ui-layout-box-distribute-y-space-between{justify-content:space-between}ui-box.ui-layout-box-distribute-y-space-around{justify-content:space-around}ui-box.ui-layout-box-distribute-y-space-evenly{justify-content:space-evenly}ui-box.ui-layout-box-fit-content{width:-moz-fit-content;width:fit-content}ui-box.ui-layout-box-fill-container{width:100%;height:100%}ui-box.ui-layout-box .ui-box-content{display:block;width:100%}ui-box.ui-layout-box-content-max-width .ui-box-content{max-width:1440px;margin:0 auto;display:block}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
161
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayoutBoxComponent, decorators: [{
|
|
162
|
-
type: i0.Component,
|
|
163
|
-
args: [{
|
|
164
|
-
selector: 'ui-box',
|
|
165
|
-
template: '<div class="ui-box-content"><ng-content></ng-content></div>',
|
|
166
|
-
host: {
|
|
167
|
-
'[class]': 'boxLayoutClasses'
|
|
168
|
-
},
|
|
169
|
-
styleUrls: ['./box.component.scss'],
|
|
170
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
171
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
172
|
-
}]
|
|
173
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: TokenService }]; }, propDecorators: { box_space: [{
|
|
174
|
-
type: i0.Input
|
|
175
|
-
}], box_space_top: [{
|
|
176
|
-
type: i0.Input
|
|
177
|
-
}], box_space_right: [{
|
|
178
|
-
type: i0.Input
|
|
179
|
-
}], box_space_bottom: [{
|
|
180
|
-
type: i0.Input
|
|
181
|
-
}], box_space_left: [{
|
|
182
|
-
type: i0.Input
|
|
183
|
-
}], box_align_x: [{
|
|
184
|
-
type: i0.Input
|
|
185
|
-
}], box_align_y: [{
|
|
186
|
-
type: i0.Input
|
|
187
|
-
}], box_fill_mode: [{
|
|
188
|
-
type: i0.Input
|
|
189
|
-
}], box_background: [{
|
|
190
|
-
type: i0.Input
|
|
191
|
-
}], box_content_fill_width: [{
|
|
192
|
-
type: i0.Input
|
|
193
|
-
}] } });
|
|
49
|
+
var OasysAlertConfirmDirective = /** @class */ (function () {
|
|
50
|
+
function OasysAlertConfirmDirective(elem) {
|
|
51
|
+
this.elem = elem;
|
|
52
|
+
this.text = '';
|
|
53
|
+
}
|
|
54
|
+
OasysAlertConfirmDirective.prototype.ngAfterContentChecked = function () {
|
|
55
|
+
this.text = this.elem.nativeElement.innerText;
|
|
56
|
+
};
|
|
57
|
+
return OasysAlertConfirmDirective;
|
|
58
|
+
}());
|
|
59
|
+
OasysAlertConfirmDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysAlertConfirmDirective, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
60
|
+
OasysAlertConfirmDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: OasysAlertConfirmDirective, selector: "ui-alert-confirm, [ui-alert-confirm]", ngImport: i0__namespace });
|
|
61
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysAlertConfirmDirective, decorators: [{
|
|
62
|
+
type: i0.Directive,
|
|
63
|
+
args: [{
|
|
64
|
+
selector: 'ui-alert-confirm, [ui-alert-confirm]',
|
|
65
|
+
}]
|
|
66
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; } });
|
|
194
67
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
return this.stack_distribute;
|
|
209
|
-
}
|
|
210
|
-
return this.stack_direction === 'x' ? 'fit' : 'fill';
|
|
211
|
-
};
|
|
212
|
-
LayoutStackComponent.prototype.ngOnChanges = function () {
|
|
213
|
-
if (!this.didFirstInit) {
|
|
214
|
-
return;
|
|
215
|
-
}
|
|
216
|
-
this.ngOnInit();
|
|
217
|
-
this.changes.markForCheck();
|
|
218
|
-
};
|
|
219
|
-
LayoutStackComponent.prototype.ngOnInit = function () {
|
|
220
|
-
this.stack_distribute = this.defaultDistribution();
|
|
221
|
-
this.stackLayoutClasses = [
|
|
222
|
-
this.prefix,
|
|
223
|
-
this.prefix + "-" + this.stack_gap,
|
|
224
|
-
this.prefix + "-align-" + this.stack_align,
|
|
225
|
-
this.prefix + "-distribute-" + this.stack_distribute,
|
|
226
|
-
this.prefix + "-direction-" + this.stack_direction,
|
|
227
|
-
this.prefix + "-" + (this.stack_wrap ? 'wrap' : 'no-wrap'),
|
|
228
|
-
];
|
|
229
|
-
this.didFirstInit = true;
|
|
230
|
-
};
|
|
231
|
-
return LayoutStackComponent;
|
|
232
|
-
}());
|
|
233
|
-
LayoutStackComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayoutStackComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
234
|
-
LayoutStackComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LayoutStackComponent, selector: "ui-stack", inputs: { stack_gap: "stack_gap", stack_align: "stack_align", stack_direction: "stack_direction", stack_distribute: "stack_distribute", stack_wrap: "stack_wrap" }, host: { properties: { "class": "stackLayoutClasses" } }, usesOnChanges: true, ngImport: i0__namespace, template: '<ng-content></ng-content>', isInline: true, styles: [".ui-layout-stack{display:flex;position:relative;align-items:inherit;justify-content:inherit;width:100%}.ui-layout-stack-none{grid-gap:var(--semantic-spacing-stack-none);gap:var(--semantic-spacing-stack-none)}.ui-layout-stack-tight{grid-gap:var(--semantic-spacing-stack-tight);gap:var(--semantic-spacing-stack-tight)}.ui-layout-stack-near{grid-gap:var(--semantic-spacing-stack-near);gap:var(--semantic-spacing-stack-near)}.ui-layout-stack-default{grid-gap:var(--semantic-spacing-stack-default);gap:var(--semantic-spacing-stack-default)}.ui-layout-stack-expanded{grid-gap:var(--semantic-spacing-stack-expanded);gap:var(--semantic-spacing-stack-expanded)}.ui-layout-stack-section{grid-gap:var(--semantic-spacing-stack-section);gap:var(--semantic-spacing-stack-section)}.ui-layout-stack-align-start{justify-content:flex-start}.ui-layout-stack-align-x-start{align-items:flex-start;align-content:flex-start}.ui-layout-stack-align-center{justify-content:center}.ui-layout-stack-align-x-center{align-items:center;align-content:center}.ui-layout-stack-align-end{justify-content:flex-end}.ui-layout-stack-align-x-end{align-items:flex-end;align-content:flex-end}.ui-layout-stack-distribute-fill{justify-content:unset}.ui-layout-stack-distribute-start{justify-content:flex-start}.ui-layout-stack-distribute-center{justify-content:center}.ui-layout-stack-distribute-end{justify-content:flex-end}.ui-layout-stack-distribute-space-between{justify-content:space-between}.ui-layout-stack-distribute-space-around{justify-content:space-around}.ui-layout-stack-distribute-space-evenly{justify-content:space-evenly}.ui-layout-stack-align-start{align-items:flex-start;align-content:flex-start}.ui-layout-stack-align-center{align-items:center;align-content:center}.ui-layout-stack-align-end{align-items:flex-end;align-content:flex-end}.ui-layout-stack-distribute-y-fill{justify-content:unset}.ui-layout-stack-distribute-y-start{justify-content:flex-start}.ui-layout-stack-distribute-y-center{justify-content:center}.ui-layout-stack-distribute-y-end{justify-content:flex-end}.ui-layout-stack-distribute-y-space-between{justify-content:space-between}.ui-layout-stack-distribute-y-space-around{justify-content:space-around}.ui-layout-stack-distribute-y-space-evenly{justify-content:space-evenly}.ui-layout-stack-direction-x{flex-direction:row}.ui-layout-stack-direction-y{flex-direction:column}.ui-layout-stack-distribute-fill>*{flex:1 1 auto}.ui-layout-stack-distribute-fit>ui-stack{flex-basis:0%}.ui-layout-stack-wrap{flex-wrap:wrap}.ui-layout-stack-no-wrap{flex-wrap:nowrap}.ui-layout-stack.ui-layout-stack-direction-y.ui-layout-stack-wrap{height:100%}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
235
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayoutStackComponent, decorators: [{
|
|
236
|
-
type: i0.Component,
|
|
237
|
-
args: [{
|
|
238
|
-
selector: 'ui-stack',
|
|
239
|
-
template: '<ng-content></ng-content>',
|
|
240
|
-
host: {
|
|
241
|
-
'[class]': 'stackLayoutClasses'
|
|
242
|
-
},
|
|
243
|
-
styleUrls: ['./stack.component.scss'],
|
|
244
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
245
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
246
|
-
}]
|
|
247
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { stack_gap: [{
|
|
248
|
-
type: i0.Input
|
|
249
|
-
}], stack_align: [{
|
|
250
|
-
type: i0.Input
|
|
251
|
-
}], stack_direction: [{
|
|
252
|
-
type: i0.Input
|
|
253
|
-
}], stack_distribute: [{
|
|
254
|
-
type: i0.Input
|
|
255
|
-
}], stack_wrap: [{
|
|
256
|
-
type: i0.Input
|
|
257
|
-
}] } });
|
|
68
|
+
var OasysAlertContentDirective = /** @class */ (function () {
|
|
69
|
+
function OasysAlertContentDirective() {
|
|
70
|
+
}
|
|
71
|
+
return OasysAlertContentDirective;
|
|
72
|
+
}());
|
|
73
|
+
OasysAlertContentDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysAlertContentDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
74
|
+
OasysAlertContentDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: OasysAlertContentDirective, selector: "ui-alert-content, [ui-alert-content]", ngImport: i0__namespace });
|
|
75
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysAlertContentDirective, decorators: [{
|
|
76
|
+
type: i0.Directive,
|
|
77
|
+
args: [{
|
|
78
|
+
selector: 'ui-alert-content, [ui-alert-content]',
|
|
79
|
+
}]
|
|
80
|
+
}] });
|
|
258
81
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
};
|
|
273
|
-
IconComponent.prototype.ngOnInit = function () {
|
|
274
|
-
this.iconBrandPath = "" + this.tokenService.getBrandName();
|
|
275
|
-
this.size = this.tokenService.getTokenValue("--global-size-icon-" + this.icon_size);
|
|
276
|
-
this.iconDisplayClasses = [
|
|
277
|
-
"icon-context-" + this.icon_context,
|
|
278
|
-
"icon-size-" + this.icon_size
|
|
279
|
-
];
|
|
280
|
-
var sizeInPixels = this.convertRemToPixels(this.size);
|
|
281
|
-
this.icon_width = sizeInPixels;
|
|
282
|
-
this.icon_height = sizeInPixels;
|
|
283
|
-
};
|
|
284
|
-
return IconComponent;
|
|
285
|
-
}());
|
|
286
|
-
IconComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IconComponent, deps: [{ token: i3.DOCUMENT }, { token: TokenService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
287
|
-
IconComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IconComponent, selector: "ui-icon", inputs: { icon_size: "icon_size", icon_name: "icon_name", icon_context: "icon_context", icon_width: "icon_width", icon_height: "icon_height", icon_class: "icon_class" }, usesOnChanges: true, ngImport: i0__namespace, template: "<div class=\"ui-icon\" [ngClass]=\"iconDisplayClasses\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" [attr.width]=\"icon_width\" [attr.height]=\"icon_height\" [attr.class]=\"icon_class\">\n <use attr.xlink:href=\"./{{iconBrandPath}}/assets/icons/icons.svg#icon-{{icon_name}}\"></use>\n </svg>\n</div>\n", styles: [".ui-icon{display:flex}\n"], directives: [{ type: i3__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
288
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IconComponent, decorators: [{
|
|
289
|
-
type: i0.Component,
|
|
290
|
-
args: [{
|
|
291
|
-
selector: 'ui-icon',
|
|
292
|
-
templateUrl: './icon.component.html',
|
|
293
|
-
styleUrls: ['./icon.component.scss'],
|
|
294
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
295
|
-
}]
|
|
296
|
-
}], ctorParameters: function () {
|
|
297
|
-
return [{ type: Document, decorators: [{
|
|
298
|
-
type: i0.Inject,
|
|
299
|
-
args: [i3.DOCUMENT]
|
|
300
|
-
}] }, { type: TokenService }];
|
|
301
|
-
}, propDecorators: { icon_size: [{
|
|
302
|
-
type: i0.Input
|
|
303
|
-
}], icon_name: [{
|
|
304
|
-
type: i0.Input
|
|
305
|
-
}], icon_context: [{
|
|
306
|
-
type: i0.Input
|
|
307
|
-
}], icon_width: [{
|
|
308
|
-
type: i0.Input
|
|
309
|
-
}], icon_height: [{
|
|
310
|
-
type: i0.Input
|
|
311
|
-
}], icon_class: [{
|
|
312
|
-
type: i0.Input
|
|
313
|
-
}] } });
|
|
82
|
+
var OasysAlertTitleDirective = /** @class */ (function () {
|
|
83
|
+
function OasysAlertTitleDirective() {
|
|
84
|
+
}
|
|
85
|
+
return OasysAlertTitleDirective;
|
|
86
|
+
}());
|
|
87
|
+
OasysAlertTitleDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysAlertTitleDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
88
|
+
OasysAlertTitleDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: OasysAlertTitleDirective, selector: "ui-alert-title, [ui-alert-title]", ngImport: i0__namespace });
|
|
89
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysAlertTitleDirective, decorators: [{
|
|
90
|
+
type: i0.Directive,
|
|
91
|
+
args: [{
|
|
92
|
+
selector: 'ui-alert-title, [ui-alert-title]',
|
|
93
|
+
}]
|
|
94
|
+
}] });
|
|
314
95
|
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
this.changes = changes;
|
|
318
|
-
this.button_icon_placement = 'leading';
|
|
319
|
-
// Button Stylings
|
|
320
|
-
this.button_size = 'large';
|
|
321
|
-
this.button_full_width = false;
|
|
322
|
-
this.button_type = 'primary';
|
|
323
|
-
this.button_disabled = false;
|
|
324
|
-
// Button Actions
|
|
325
|
-
this.href = '';
|
|
326
|
-
this.clicked = new i0.EventEmitter();
|
|
327
|
-
this.iconContext = 'none';
|
|
328
|
-
this.outlineButtonTypes = ['secondary', 'secondary-inverse'];
|
|
329
|
-
}
|
|
330
|
-
OasysButtonComponent.prototype.onClick = function () {
|
|
331
|
-
this.clicked.emit();
|
|
332
|
-
};
|
|
333
|
-
OasysButtonComponent.prototype.createButton = function () {
|
|
334
|
-
return {
|
|
335
|
-
buttonIcon: this.button_icon,
|
|
336
|
-
buttonIconPlacement: this.button_icon_placement,
|
|
337
|
-
buttonType: this.button_type,
|
|
338
|
-
buttonSize: this.button_size,
|
|
339
|
-
buttonDisabled: this.button_disabled,
|
|
340
|
-
href: this.href,
|
|
341
|
-
target: '',
|
|
342
|
-
buttonDisplayClasses: [
|
|
343
|
-
"type-" + this.button_type,
|
|
344
|
-
"size-" + this.button_size,
|
|
345
|
-
"" + (this.button_icon ? 'button--has-icon' : ''),
|
|
346
|
-
"" + (this.button_full_width ? 'button--full-width' : ''),
|
|
347
|
-
"" + (this.button_icon ? 'button--icon--' + this.button_icon_placement : ''),
|
|
348
|
-
"" + (this.outlineButtonTypes.indexOf(this.button_type) !== -1 ? 'button--outline' : '')
|
|
349
|
-
].filter(function (d) { return !!d; })
|
|
350
|
-
};
|
|
351
|
-
};
|
|
352
|
-
OasysButtonComponent.prototype.ngAfterViewInit = function () {
|
|
353
|
-
var _a, _b;
|
|
354
|
-
if ((_b = (_a = this.ngContent) === null || _a === void 0 ? void 0 : _a.nativeElement) === null || _b === void 0 ? void 0 : _b.innerText) {
|
|
355
|
-
this.accessibleButtonContent = this.ngContent.nativeElement.innerText;
|
|
356
|
-
}
|
|
357
|
-
else {
|
|
358
|
-
throw new Error("\n No inner text found. All buttons should have text passed via ng-content to enable accessibility for screen readers, this includes icon-only buttons.\n\n Pass content using the template variable #buttontext eg:\n ui-button()\n span(#buttontext) Buy All The Things\n ");
|
|
359
|
-
}
|
|
360
|
-
};
|
|
361
|
-
OasysButtonComponent.prototype.ngOnChanges = function () {
|
|
362
|
-
this.button = this.createButton();
|
|
363
|
-
this.changes.markForCheck();
|
|
364
|
-
};
|
|
365
|
-
OasysButtonComponent.prototype.ngOnInit = function () {
|
|
366
|
-
this.button = this.createButton();
|
|
367
|
-
};
|
|
368
|
-
return OasysButtonComponent;
|
|
369
|
-
}());
|
|
370
|
-
OasysButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysButtonComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
371
|
-
OasysButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OasysButtonComponent, selector: "ui-button", inputs: { button_icon: "button_icon", button_icon_placement: "button_icon_placement", button_size: "button_size", button_full_width: "button_full_width", button_type: "button_type", button_disabled: "button_disabled", href: "href" }, outputs: { clicked: "clicked" }, queries: [{ propertyName: "ngContent", first: true, predicate: ["buttontext"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<button (click)=\"onClick()\"\n [routerLink]=\"button.href || null\"\n [ngClass]=\"button.buttonDisplayClasses\"\n [attr.disabled]=\"button.buttonDisabled === true || null\"\n [attr.aria-label]=\"accessibleButtonContent\"\n [attr.title]=\"accessibleButtonContent\"\n role=\"button\">\n <div class=\"button-content\">\n <ui-icon *ngIf=\"button.buttonIcon && button.buttonIconPlacement !== 'none'\" [icon_name]=\"button.buttonIcon\" [icon_size]=\"button.buttonSize\" [icon_class]=\"'buttonIcon'\" [icon_context]=\"button.buttonIconPlacement\"></ui-icon>\n <span class=\"ui-text\" [ngClass]=\"{'visuallyhidden': button.buttonIconPlacement === 'iconOnly'}\">\n <ng-content></ng-content>\n </span>\n </div>\n <div class=\"button-overlay\"></div>\n <div class=\"button-overlay-focus\"></div>\n</button>\n", styles: ["ui-button button{border:0;padding:0;position:relative;display:inline-flex;text-align:center;justify-content:center;align-items:center;border-style:solid;cursor:pointer;user-select:none;appearance:none;-webkit-appearance:none;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;border-radius:var(--component-button-border-radius);font-family:var(--semantic-font-family-body)}ui-button button .button-content{display:flex;align-items:center}ui-button button .button-content .ui-icon{display:flex;align-items:center;max-height:var(--component-button-line-height)}ui-button button .button-content .ui-text{text-transform:var(--component-button-text-transform);letter-spacing:var(--component-button-letter-spacing);font-weight:var(--component-button-font-weight);line-height:var(--component-button-line-height)}ui-button button .button-overlay,ui-button button .button-overlay-focus{position:absolute;top:0;right:0;bottom:0;left:0;touch-action:none;pointer-events:none;border-radius:var(--component-button-border-radius);opacity:0}ui-button button:hover .button-overlay{opacity:var(--component-button-opacity-overlay-hover)}ui-button button:focus .button-overlay{opacity:var(--component-button-opacity-overlay-focus)}ui-button button:focus-visible .button-overlay{opacity:var(--component-button-opacity-overlay-focus-visible)}ui-button button:focus-visible{outline:none}ui-button button:focus-visible .button-overlay-focus{top:calc(var(--component-button-outline-gap) * -1);right:calc(var(--component-button-outline-gap) * -1);bottom:calc(var(--component-button-outline-gap) * -1);left:calc(var(--component-button-outline-gap) * -1);box-shadow:0 0 0 var(--component-button-outline-width) var(--component-button-color-focus-visible);opacity:1;border-radius:calc(var(--component-button-border-radius) + var(--component-button-outline-width))}ui-button button:focus{outline:none}ui-button button.type-primary{background-color:var(--component-button-color-primary-background);border-color:var(--component-button-color-primary-border);color:var(--component-button-color-primary-text)}ui-button button.type-primary .button-overlay{background-color:var(--component-button-color-primary-text)}ui-button button.type-secondary{background-color:var(--component-button-color-secondary-background);border-color:var(--component-button-color-secondary-border);color:var(--component-button-color-secondary-text)}ui-button button.type-secondary .button-overlay{background-color:var(--component-button-color-secondary-text)}ui-button button.type-tertiary{background-color:var(--component-button-color-tertiary-background);border-color:var(--component-button-color-tertiary-border);color:var(--component-button-color-tertiary-text)}ui-button button.type-tertiary .button-overlay{background-color:var(--component-button-color-tertiary-text)}ui-button button.type-primary-inverse{background-color:var(--component-button-color-primary-inverse-background);border-color:var(--component-button-color-primary-inverse-border);color:var(--component-button-color-primary-inverse-text)}ui-button button.type-primary-inverse .button-overlay{background-color:var(--component-button-color-primary-inverse-text)}ui-button button.type-secondary-inverse{background-color:var(--component-button-color-secondary-inverse-background);border-color:var(--component-button-color-secondary-inverse-border);color:var(--component-button-color-secondary-inverse-text)}ui-button button.type-secondary-inverse .button-overlay{background-color:var(--component-button-color-secondary-inverse-text)}ui-button button.type-tertiary-inverse{background-color:var(--component-button-color-tertiary-inverse-background);border-color:var(--component-button-color-tertiary-inverse-border);color:var(--component-button-color-tertiary-inverse-text)}ui-button button.type-tertiary-inverse .button-overlay{background-color:var(--component-button-color-tertiary-inverse-text)}ui-button button.type-expressive{background-color:var(--component-button-color-expressive-background);border-color:var(--component-button-color-expressive-border);color:var(--component-button-color-expressive-text)}ui-button button.type-expressive .button-overlay{background-color:var(--component-button-color-expressive-text)}ui-button button.type-danger{background-color:var(--component-button-color-danger-background);border-color:var(--component-button-color-danger-border);color:var(--component-button-color-danger-text)}ui-button button.type-danger .button-overlay{background-color:var(--component-button-color-danger-text)}ui-button button.type-facebook{background-color:var(--component-button-color-facebook-background);border-color:var(--component-button-color-facebook-border);color:var(--component-button-color-facebook-text)}ui-button button.type-facebook .button-overlay{background-color:var(--component-button-color-facebook-text)}ui-button button.type-paypal{background-color:var(--component-button-color-paypal-background);border-color:var(--component-button-color-paypal-border);color:var(--component-button-color-paypal-text)}ui-button button.type-paypal .button-overlay{background-color:var(--component-button-color-paypal-text)}ui-button button.type-trustpilot{background-color:var(--component-button-color-trustpilot-background);border-color:var(--component-button-color-trustpilot-border);color:var(--component-button-color-trustpilot-text)}ui-button button.type-trustpilot .button-overlay{background-color:var(--component-button-color-trustpilot-text)}ui-button button .buttonIcon{fill:currentColor}ui-button button.size-large{padding:var(--component-button-size-large-padding-y) var(--component-button-size-large-padding-x);border-width:var(--component-button-size-large-border-width);font-size:var(--component-button-size-large-font-size)}ui-button button.size-large .button-content{grid-gap:var(--component-button-size-large-stack-spacing);gap:var(--component-button-size-large-stack-spacing)}ui-button button.size-large .ui-icon.icon-context-leading{margin-left:calc(var(--component-button-size-large-icon-offset-leading) * -1)}ui-button button.size-large .ui-icon.icon-context-trailing{margin-right:calc(var(--component-button-size-large-icon-offset-trailing) * -1)}ui-button button.size-large .ui-icon.icon-context-iconOnly{margin-left:calc(var(--component-button-size-large-icon-offset-icon-only) * -1);margin-right:calc(var(--component-button-size-large-icon-offset-icon-only) * -1)}ui-button button.size-small{padding:var(--component-button-size-small-padding-y) var(--component-button-size-small-padding-x);border-width:var(--component-button-size-small-border-width);font-size:var(--component-button-size-small-font-size)}ui-button button.size-small .button-content{grid-gap:var(--component-button-size-small-stack-spacing);gap:var(--component-button-size-small-stack-spacing)}ui-button button.size-small .ui-icon.icon-context-leading{margin-left:calc(var(--component-button-size-small-icon-offset-leading) * -1)}ui-button button.size-small .ui-icon.icon-context-trailing{margin-right:calc(var(--component-button-size-small-icon-offset-trailing) * -1)}ui-button button.size-small .ui-icon.icon-context-iconOnly{margin-left:calc(var(--component-button-size-small-icon-offset-icon-only) * -1);margin-right:calc(var(--component-button-size-small-icon-offset-icon-only) * -1)}ui-button button.button--outline.size-large{padding:var(--component-button-size-large-with-outline-padding-y) var(--component-button-size-large-with-outline-padding-x);border-width:var(--component-button-size-large-with-outline-border-width);font-size:var(--component-button-size-large-font-size)}ui-button button.button--outline.size-large .button-content{grid-gap:var(--component-button-size-large-stack-spacing);gap:var(--component-button-size-large-stack-spacing)}ui-button button.button--outline.size-large .ui-icon.icon-context-leading{margin-left:calc(var(--component-button-size-large-with-outline-icon-offset-leading) * -1)}ui-button button.button--outline.size-large .ui-icon.icon-context-trailing{margin-right:calc(var(--component-button-size-large-with-outline-icon-offset-trailing) * -1)}ui-button button.button--outline.size-large .ui-icon.icon-context-iconOnly{margin-left:calc(var(--component-button-size-large-with-outline-icon-offset-icon-only) * -1);margin-right:calc(var(--component-button-size-large-with-outline-icon-offset-icon-only) * -1)}ui-button button.button--outline.size-small{padding:var(--component-button-size-small-with-outline-padding-y) var(--component-button-size-small-with-outline-padding-x);border-width:var(--component-button-size-small-with-outline-border-width);font-size:var(--component-button-size-small-font-size)}ui-button button.button--outline.size-small .button-content{grid-gap:var(--component-button-size-small-stack-spacing);gap:var(--component-button-size-small-stack-spacing)}ui-button button.button--outline.size-small .ui-icon.icon-context-leading{margin-left:calc(var(--component-button-size-small-with-outline-icon-offset-leading) * -1)}ui-button button.button--outline.size-small .ui-icon.icon-context-trailing{margin-right:calc(var(--component-button-size-small-with-outline-icon-offset-trailing) * -1)}ui-button button.button--outline.size-small .ui-icon.icon-context-iconOnly{margin-left:calc(var(--component-button-size-small-with-outline-icon-offset-icon-only) * -1);margin-right:calc(var(--component-button-size-small-with-outline-icon-offset-icon-only) * -1)}ui-button button[disabled]{background-color:var(--component-button-color-disabled-background);border-color:var(--component-button-color-disabled-border);color:var(--component-button-color-disabled-text);cursor:default}ui-button button.button--has-icon.button--icon--trailing .button-content{flex-direction:row-reverse}ui-button button.button--full-width{display:flex;width:100%}\n"], components: [{ type: IconComponent, selector: "ui-icon", inputs: ["icon_size", "icon_name", "icon_context", "icon_width", "icon_height", "icon_class"] }], directives: [{ type: i2__namespace.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["routerLink", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i3__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
372
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysButtonComponent, decorators: [{
|
|
373
|
-
type: i0.Component,
|
|
374
|
-
args: [{
|
|
375
|
-
selector: 'ui-button',
|
|
376
|
-
templateUrl: './button.component.html',
|
|
377
|
-
styleUrls: ['./button.component.scss'],
|
|
378
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
379
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
380
|
-
}]
|
|
381
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { button_icon: [{
|
|
382
|
-
type: i0.Input
|
|
383
|
-
}], button_icon_placement: [{
|
|
384
|
-
type: i0.Input
|
|
385
|
-
}], ngContent: [{
|
|
386
|
-
type: i0.ContentChild,
|
|
387
|
-
args: ['buttontext']
|
|
388
|
-
}], button_size: [{
|
|
389
|
-
type: i0.Input
|
|
390
|
-
}], button_full_width: [{
|
|
391
|
-
type: i0.Input
|
|
392
|
-
}], button_type: [{
|
|
393
|
-
type: i0.Input
|
|
394
|
-
}], button_disabled: [{
|
|
395
|
-
type: i0.Input
|
|
396
|
-
}], href: [{
|
|
397
|
-
type: i0.Input
|
|
398
|
-
}], clicked: [{
|
|
399
|
-
type: i0.Output
|
|
400
|
-
}] } });
|
|
96
|
+
/******************************************************************************
|
|
97
|
+
Copyright (c) Microsoft Corporation.
|
|
401
98
|
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
}
|
|
405
|
-
BreadcrumbsComponent.prototype.ngOnInit = function () {
|
|
406
|
-
var _a;
|
|
407
|
-
if (typeof this.breadcrumbs_values === 'string') {
|
|
408
|
-
this.values = (_a = JSON.parse(this.breadcrumbs_values)) !== null && _a !== void 0 ? _a : [];
|
|
409
|
-
}
|
|
410
|
-
else {
|
|
411
|
-
this.values = this.breadcrumbs_values;
|
|
412
|
-
}
|
|
413
|
-
};
|
|
414
|
-
return BreadcrumbsComponent;
|
|
415
|
-
}());
|
|
416
|
-
BreadcrumbsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BreadcrumbsComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
417
|
-
BreadcrumbsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: BreadcrumbsComponent, selector: "ui-breadcrumbs", inputs: { breadcrumbs_values: "breadcrumbs_values" }, ngImport: i0__namespace, template: "<ui-box box_fill_mode=\"fill\" box_space=\"near\" box_background=\"core-secondary\" *ngIf=\"values\">\n <nav aria-label=\"breadcrumbs\">\n <ui-stack stack_gap=\"none\" stack_direction=\"x\" stack_align=\"center\" stack_wrap=\"true\">\n <ng-container *ngFor=\"let item of values; let i = index\">\n <!-- Link followed by an icon -->\n <ui-box box_space=\"none\" box_background=\"none\" box_fill_mode=\"fit\">\n <ui-stack stack_direction=\"x\" stack_align=\"center\" stack_wrap=\"false\" stack_gap=\"none\">\n <ui-button *ngIf=\"i<values.length-1\" button_size=\"small\" button_type=\"tertiary\" button_full_width=\"true\" href=\"{{item.href}}\"> \n <span #buttontext> {{item.name}} </span>\n </ui-button> \n <ui-icon *ngIf=\"i<values.length-1\" icon_name=\"chevron-right\" icon_size=\"small\" icon_class=\"buttonIcon\" aria-hidden=\"true\"></ui-icon>\n </ui-stack>\n </ui-box>\n <!-- Last link and current page -->\n <ui-button *ngIf=\"i===values.length-1\" button_size=\"small\" button_type=\"tertiary\" button_full_width=\"true\" href=\"{{item.href}}\" [attr.aria-current]=\"item.name\"> \n <span #buttontext> {{item.name}} </span>\n </ui-button> \n </ng-container>\n </ui-stack>\n </nav>\n</ui-box>\n", styles: ["ui-breadcrumbs{display:contents}ui-breadcrumbs nav{display:block}\n"], components: [{ type: LayoutBoxComponent, selector: "ui-box", inputs: ["box_space", "box_space_top", "box_space_right", "box_space_bottom", "box_space_left", "box_align_x", "box_align_y", "box_fill_mode", "box_background", "box_content_fill_width"] }, { type: LayoutStackComponent, selector: "ui-stack", inputs: ["stack_gap", "stack_align", "stack_direction", "stack_distribute", "stack_wrap"] }, { type: OasysButtonComponent, selector: "ui-button", inputs: ["button_icon", "button_icon_placement", "button_size", "button_full_width", "button_type", "button_disabled", "href"], outputs: ["clicked"] }, { type: IconComponent, selector: "ui-icon", inputs: ["icon_size", "icon_name", "icon_context", "icon_width", "icon_height", "icon_class"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
418
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BreadcrumbsComponent, decorators: [{
|
|
419
|
-
type: i0.Component,
|
|
420
|
-
args: [{
|
|
421
|
-
selector: 'ui-breadcrumbs',
|
|
422
|
-
templateUrl: './breadcrumbs.component.html',
|
|
423
|
-
styleUrls: ['./breadcrumbs.component.scss'],
|
|
424
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
425
|
-
}]
|
|
426
|
-
}], ctorParameters: function () { return []; }, propDecorators: { breadcrumbs_values: [{
|
|
427
|
-
type: i0.Input
|
|
428
|
-
}] } });
|
|
99
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
100
|
+
purpose with or without fee is hereby granted.
|
|
429
101
|
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
102
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
103
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
104
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
105
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
106
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
107
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
108
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
109
|
+
***************************************************************************** */
|
|
110
|
+
/* global Reflect, Promise */
|
|
111
|
+
var extendStatics = function (d, b) {
|
|
112
|
+
extendStatics = Object.setPrototypeOf ||
|
|
113
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
114
|
+
function (d, b) { for (var p in b)
|
|
115
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
116
|
+
d[p] = b[p]; };
|
|
117
|
+
return extendStatics(d, b);
|
|
118
|
+
};
|
|
119
|
+
function __extends(d, b) {
|
|
120
|
+
if (typeof b !== "function" && b !== null)
|
|
121
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
122
|
+
extendStatics(d, b);
|
|
123
|
+
function __() { this.constructor = d; }
|
|
124
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
125
|
+
}
|
|
126
|
+
var __assign = function () {
|
|
127
|
+
__assign = Object.assign || function __assign(t) {
|
|
128
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
129
|
+
s = arguments[i];
|
|
130
|
+
for (var p in s)
|
|
131
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
132
|
+
t[p] = s[p];
|
|
133
|
+
}
|
|
134
|
+
return t;
|
|
135
|
+
};
|
|
136
|
+
return __assign.apply(this, arguments);
|
|
137
|
+
};
|
|
138
|
+
function __rest(s, e) {
|
|
139
|
+
var t = {};
|
|
140
|
+
for (var p in s)
|
|
141
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
142
|
+
t[p] = s[p];
|
|
143
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
144
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
145
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
146
|
+
t[p[i]] = s[p[i]];
|
|
147
|
+
}
|
|
148
|
+
return t;
|
|
149
|
+
}
|
|
150
|
+
function __decorate(decorators, target, key, desc) {
|
|
151
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
152
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
153
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
154
|
+
else
|
|
155
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
156
|
+
if (d = decorators[i])
|
|
157
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
158
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
159
|
+
}
|
|
160
|
+
function __param(paramIndex, decorator) {
|
|
161
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
162
|
+
}
|
|
163
|
+
function __metadata(metadataKey, metadataValue) {
|
|
164
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
165
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
166
|
+
}
|
|
167
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
168
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
169
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
170
|
+
function fulfilled(value) { try {
|
|
171
|
+
step(generator.next(value));
|
|
172
|
+
}
|
|
173
|
+
catch (e) {
|
|
174
|
+
reject(e);
|
|
175
|
+
} }
|
|
176
|
+
function rejected(value) { try {
|
|
177
|
+
step(generator["throw"](value));
|
|
178
|
+
}
|
|
179
|
+
catch (e) {
|
|
180
|
+
reject(e);
|
|
181
|
+
} }
|
|
182
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
183
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
function __generator(thisArg, body) {
|
|
187
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
188
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
189
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
190
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
191
|
+
function step(op) {
|
|
192
|
+
if (f)
|
|
193
|
+
throw new TypeError("Generator is already executing.");
|
|
194
|
+
while (_)
|
|
195
|
+
try {
|
|
196
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
197
|
+
return t;
|
|
198
|
+
if (y = 0, t)
|
|
199
|
+
op = [op[0] & 2, t.value];
|
|
200
|
+
switch (op[0]) {
|
|
201
|
+
case 0:
|
|
202
|
+
case 1:
|
|
203
|
+
t = op;
|
|
204
|
+
break;
|
|
205
|
+
case 4:
|
|
206
|
+
_.label++;
|
|
207
|
+
return { value: op[1], done: false };
|
|
208
|
+
case 5:
|
|
209
|
+
_.label++;
|
|
210
|
+
y = op[1];
|
|
211
|
+
op = [0];
|
|
212
|
+
continue;
|
|
213
|
+
case 7:
|
|
214
|
+
op = _.ops.pop();
|
|
215
|
+
_.trys.pop();
|
|
216
|
+
continue;
|
|
217
|
+
default:
|
|
218
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
219
|
+
_ = 0;
|
|
220
|
+
continue;
|
|
221
|
+
}
|
|
222
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
223
|
+
_.label = op[1];
|
|
224
|
+
break;
|
|
225
|
+
}
|
|
226
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
227
|
+
_.label = t[1];
|
|
228
|
+
t = op;
|
|
229
|
+
break;
|
|
230
|
+
}
|
|
231
|
+
if (t && _.label < t[2]) {
|
|
232
|
+
_.label = t[2];
|
|
233
|
+
_.ops.push(op);
|
|
234
|
+
break;
|
|
235
|
+
}
|
|
236
|
+
if (t[2])
|
|
237
|
+
_.ops.pop();
|
|
238
|
+
_.trys.pop();
|
|
239
|
+
continue;
|
|
240
|
+
}
|
|
241
|
+
op = body.call(thisArg, _);
|
|
242
|
+
}
|
|
243
|
+
catch (e) {
|
|
244
|
+
op = [6, e];
|
|
245
|
+
y = 0;
|
|
246
|
+
}
|
|
247
|
+
finally {
|
|
248
|
+
f = t = 0;
|
|
249
|
+
}
|
|
250
|
+
if (op[0] & 5)
|
|
251
|
+
throw op[1];
|
|
252
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
256
|
+
if (k2 === undefined)
|
|
257
|
+
k2 = k;
|
|
258
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
259
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
260
|
+
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
261
|
+
}
|
|
262
|
+
Object.defineProperty(o, k2, desc);
|
|
263
|
+
}) : (function (o, m, k, k2) {
|
|
264
|
+
if (k2 === undefined)
|
|
265
|
+
k2 = k;
|
|
266
|
+
o[k2] = m[k];
|
|
267
|
+
});
|
|
268
|
+
function __exportStar(m, o) {
|
|
269
|
+
for (var p in m)
|
|
270
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
271
|
+
__createBinding(o, m, p);
|
|
272
|
+
}
|
|
273
|
+
function __values(o) {
|
|
274
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
275
|
+
if (m)
|
|
276
|
+
return m.call(o);
|
|
277
|
+
if (o && typeof o.length === "number")
|
|
278
|
+
return {
|
|
279
|
+
next: function () {
|
|
280
|
+
if (o && i >= o.length)
|
|
281
|
+
o = void 0;
|
|
282
|
+
return { value: o && o[i++], done: !o };
|
|
283
|
+
}
|
|
284
|
+
};
|
|
285
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
286
|
+
}
|
|
287
|
+
function __read(o, n) {
|
|
288
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
289
|
+
if (!m)
|
|
290
|
+
return o;
|
|
291
|
+
var i = m.call(o), r, ar = [], e;
|
|
292
|
+
try {
|
|
293
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
294
|
+
ar.push(r.value);
|
|
295
|
+
}
|
|
296
|
+
catch (error) {
|
|
297
|
+
e = { error: error };
|
|
298
|
+
}
|
|
299
|
+
finally {
|
|
300
|
+
try {
|
|
301
|
+
if (r && !r.done && (m = i["return"]))
|
|
302
|
+
m.call(i);
|
|
303
|
+
}
|
|
304
|
+
finally {
|
|
305
|
+
if (e)
|
|
306
|
+
throw e.error;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
return ar;
|
|
310
|
+
}
|
|
311
|
+
/** @deprecated */
|
|
312
|
+
function __spread() {
|
|
313
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
314
|
+
ar = ar.concat(__read(arguments[i]));
|
|
315
|
+
return ar;
|
|
316
|
+
}
|
|
317
|
+
/** @deprecated */
|
|
318
|
+
function __spreadArrays() {
|
|
319
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
320
|
+
s += arguments[i].length;
|
|
321
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
322
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
323
|
+
r[k] = a[j];
|
|
324
|
+
return r;
|
|
325
|
+
}
|
|
326
|
+
function __spreadArray(to, from, pack) {
|
|
327
|
+
if (pack || arguments.length === 2)
|
|
328
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
329
|
+
if (ar || !(i in from)) {
|
|
330
|
+
if (!ar)
|
|
331
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
332
|
+
ar[i] = from[i];
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
336
|
+
}
|
|
337
|
+
function __await(v) {
|
|
338
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
339
|
+
}
|
|
340
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
341
|
+
if (!Symbol.asyncIterator)
|
|
342
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
343
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
344
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
345
|
+
function verb(n) { if (g[n])
|
|
346
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
347
|
+
function resume(n, v) { try {
|
|
348
|
+
step(g[n](v));
|
|
349
|
+
}
|
|
350
|
+
catch (e) {
|
|
351
|
+
settle(q[0][3], e);
|
|
352
|
+
} }
|
|
353
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
354
|
+
function fulfill(value) { resume("next", value); }
|
|
355
|
+
function reject(value) { resume("throw", value); }
|
|
356
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
357
|
+
resume(q[0][0], q[0][1]); }
|
|
358
|
+
}
|
|
359
|
+
function __asyncDelegator(o) {
|
|
360
|
+
var i, p;
|
|
361
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
362
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
363
|
+
}
|
|
364
|
+
function __asyncValues(o) {
|
|
365
|
+
if (!Symbol.asyncIterator)
|
|
366
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
367
|
+
var m = o[Symbol.asyncIterator], i;
|
|
368
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
369
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
370
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
371
|
+
}
|
|
372
|
+
function __makeTemplateObject(cooked, raw) {
|
|
373
|
+
if (Object.defineProperty) {
|
|
374
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
375
|
+
}
|
|
376
|
+
else {
|
|
377
|
+
cooked.raw = raw;
|
|
378
|
+
}
|
|
379
|
+
return cooked;
|
|
380
|
+
}
|
|
381
|
+
;
|
|
382
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
383
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
384
|
+
}) : function (o, v) {
|
|
385
|
+
o["default"] = v;
|
|
386
|
+
};
|
|
387
|
+
function __importStar(mod) {
|
|
388
|
+
if (mod && mod.__esModule)
|
|
389
|
+
return mod;
|
|
390
|
+
var result = {};
|
|
391
|
+
if (mod != null)
|
|
392
|
+
for (var k in mod)
|
|
393
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
394
|
+
__createBinding(result, mod, k);
|
|
395
|
+
__setModuleDefault(result, mod);
|
|
396
|
+
return result;
|
|
397
|
+
}
|
|
398
|
+
function __importDefault(mod) {
|
|
399
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
400
|
+
}
|
|
401
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
402
|
+
if (kind === "a" && !f)
|
|
403
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
404
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
405
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
406
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
407
|
+
}
|
|
408
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
409
|
+
if (kind === "m")
|
|
410
|
+
throw new TypeError("Private method is not writable");
|
|
411
|
+
if (kind === "a" && !f)
|
|
412
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
413
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
414
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
415
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
416
|
+
}
|
|
417
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
418
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
419
|
+
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
420
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
421
|
+
}
|
|
447
422
|
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
423
|
+
var Breakpoint;
|
|
424
|
+
(function (Breakpoint) {
|
|
425
|
+
Breakpoint["MOBILE"] = "(min-width: 0px)";
|
|
426
|
+
Breakpoint["TABLET"] = "(min-width: 768px)";
|
|
427
|
+
Breakpoint["LAPTOP"] = "(min-width: 1080px)";
|
|
428
|
+
Breakpoint["DESKTOP"] = "(min-width: 1440px)";
|
|
429
|
+
})(Breakpoint || (Breakpoint = {}));
|
|
430
|
+
var BreakpointService = /** @class */ (function () {
|
|
431
|
+
function BreakpointService(breakpointObserver) {
|
|
432
|
+
var _this = this;
|
|
433
|
+
this.breakpointObserver = breakpointObserver;
|
|
434
|
+
this.currentSize = new rxjs.BehaviorSubject(Breakpoint.MOBILE);
|
|
435
|
+
this.breakpoints = [
|
|
436
|
+
Breakpoint.DESKTOP,
|
|
437
|
+
Breakpoint.LAPTOP,
|
|
438
|
+
Breakpoint.TABLET,
|
|
439
|
+
Breakpoint.MOBILE,
|
|
440
|
+
];
|
|
441
|
+
this.isDestroyed = new rxjs.Subject();
|
|
442
|
+
breakpointObserver
|
|
443
|
+
.observe(this.breakpoints)
|
|
444
|
+
.pipe(operators.takeUntil(this.isDestroyed))
|
|
445
|
+
.subscribe(function (result) {
|
|
446
|
+
var e_1, _a;
|
|
447
|
+
try {
|
|
448
|
+
for (var _b = __values(Object.keys(result.breakpoints)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
449
|
+
var match = _c.value;
|
|
450
|
+
if (result.breakpoints[match]) {
|
|
451
|
+
return _this.currentSize.next(match);
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
456
|
+
finally {
|
|
457
|
+
try {
|
|
458
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
459
|
+
}
|
|
460
|
+
finally { if (e_1) throw e_1.error; }
|
|
461
|
+
}
|
|
462
|
+
});
|
|
463
|
+
}
|
|
464
|
+
BreakpointService.prototype.ngOnDestroy = function () {
|
|
465
|
+
this.isDestroyed.next();
|
|
466
|
+
this.isDestroyed.complete();
|
|
467
|
+
};
|
|
468
|
+
return BreakpointService;
|
|
469
|
+
}());
|
|
470
|
+
BreakpointService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BreakpointService, deps: [{ token: i1__namespace.BreakpointObserver }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
471
|
+
BreakpointService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BreakpointService, providedIn: 'root' });
|
|
472
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BreakpointService, decorators: [{
|
|
473
|
+
type: i0.Injectable,
|
|
474
|
+
args: [{
|
|
475
|
+
providedIn: 'root',
|
|
476
|
+
}]
|
|
477
|
+
}], ctorParameters: function () { return [{ type: i1__namespace.BreakpointObserver }]; } });
|
|
464
478
|
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
479
|
+
var TokenService = /** @class */ (function () {
|
|
480
|
+
function TokenService(document) {
|
|
481
|
+
this.document = document;
|
|
482
|
+
this.brandCustomPropertyName = '--utility-brand-name';
|
|
483
|
+
}
|
|
484
|
+
/*
|
|
485
|
+
Get the brand name for the currently enable custom property set (ie. /bloomon/variables.css)
|
|
486
|
+
Because variables are scoped via a selector (ie: ':root .bloomon {}')
|
|
487
|
+
we cannot get brand-specific custom properties programatically
|
|
488
|
+
|
|
489
|
+
Important: Ensure that the component requiring the brand name has locally scoped the custom property:
|
|
490
|
+
| ui-icon {
|
|
491
|
+
| --icon-component-brand: var(--utility-brand-name);
|
|
492
|
+
| }
|
|
493
|
+
*/
|
|
494
|
+
TokenService.prototype.getBrandName = function () {
|
|
495
|
+
return this.getTokenValue(this.brandCustomPropertyName);
|
|
496
|
+
};
|
|
497
|
+
TokenService.prototype.getTokenValue = function (tokenName, element) {
|
|
498
|
+
var rootElement = element || this.document.querySelector('[class*="brand-tokens"]');
|
|
499
|
+
if (!rootElement) {
|
|
500
|
+
return '';
|
|
501
|
+
}
|
|
502
|
+
return this.document.defaultView.getComputedStyle(rootElement)
|
|
503
|
+
.getPropertyValue(tokenName)
|
|
504
|
+
.trim() || '';
|
|
505
|
+
};
|
|
506
|
+
return TokenService;
|
|
507
|
+
}());
|
|
508
|
+
TokenService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TokenService, deps: [{ token: i6.DOCUMENT }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
509
|
+
TokenService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TokenService });
|
|
510
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TokenService, decorators: [{
|
|
511
|
+
type: i0.Injectable
|
|
512
|
+
}], ctorParameters: function () {
|
|
513
|
+
return [{ type: Document, decorators: [{
|
|
514
|
+
type: i0.Inject,
|
|
515
|
+
args: [i6.DOCUMENT]
|
|
516
|
+
}] }];
|
|
517
|
+
} });
|
|
503
518
|
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
519
|
+
var LayoutBoxComponent = /** @class */ (function () {
|
|
520
|
+
function LayoutBoxComponent(changes, tokenService) {
|
|
521
|
+
this.changes = changes;
|
|
522
|
+
this.tokenService = tokenService;
|
|
523
|
+
this.didFirstInit = false;
|
|
524
|
+
this.prefix = 'ui-layout-box';
|
|
525
|
+
this.backgroundIsDark = false;
|
|
526
|
+
this.box_space = 'default';
|
|
527
|
+
this.box_align_x = 'start';
|
|
528
|
+
this.box_align_y = 'start';
|
|
529
|
+
this.box_fill_mode = 'fill';
|
|
530
|
+
this.box_background = 'core-primary';
|
|
531
|
+
this.box_content_fill_width = false;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* Check the passed string to see if it contains JSON
|
|
535
|
+
*
|
|
536
|
+
* @param string
|
|
537
|
+
* @returns - boolean
|
|
538
|
+
*/
|
|
539
|
+
LayoutBoxComponent.prototype.stringContainsJson = function (string) {
|
|
540
|
+
try {
|
|
541
|
+
JSON.parse(string);
|
|
542
|
+
}
|
|
543
|
+
catch (e) {
|
|
544
|
+
return false;
|
|
545
|
+
}
|
|
546
|
+
return true;
|
|
547
|
+
};
|
|
548
|
+
LayoutBoxComponent.prototype.getSizeClasses = function (spaceInput, overrideName) {
|
|
549
|
+
var _this = this;
|
|
550
|
+
if (!spaceInput || spaceInput === undefined) {
|
|
551
|
+
return null;
|
|
552
|
+
}
|
|
553
|
+
// Used for responsive spacing, check if the input is either an object or JSON
|
|
554
|
+
if (typeof spaceInput === 'object' || this.stringContainsJson(spaceInput)) {
|
|
555
|
+
// If JSON then convert this to an object
|
|
556
|
+
var spaceInputObject_1 = typeof spaceInput === 'object' ? spaceInput : JSON.parse(spaceInput);
|
|
557
|
+
return Object.keys(spaceInputObject_1).map(function (key) {
|
|
558
|
+
return _this.prefix + "-" + spaceInputObject_1[key] + "-" + key + (overrideName ? "-" + overrideName : "");
|
|
559
|
+
});
|
|
560
|
+
}
|
|
561
|
+
return [
|
|
562
|
+
this.prefix,
|
|
563
|
+
this.prefix + "-" + spaceInput + (overrideName ? "-" + overrideName : "")
|
|
564
|
+
];
|
|
565
|
+
};
|
|
566
|
+
LayoutBoxComponent.prototype.getOverrideClasses = function (spaceOverrides) {
|
|
567
|
+
var _this = this;
|
|
568
|
+
var spaceTypes = ['top', 'right', 'bottom', 'left'];
|
|
569
|
+
return spaceOverrides.map(function (item, index) {
|
|
570
|
+
return _this.getSizeClasses(item, spaceTypes[index]);
|
|
571
|
+
}).filter(Boolean);
|
|
572
|
+
};
|
|
573
|
+
LayoutBoxComponent.prototype.getAlignmentClasses = function (alignmentOverride) {
|
|
574
|
+
var _this = this;
|
|
575
|
+
var spaceTypes = ['align-x', 'distribute-y'];
|
|
576
|
+
return alignmentOverride.map(function (item, index) {
|
|
577
|
+
return item ? _this.prefix + "-" + spaceTypes[index] + "-" + item : undefined;
|
|
578
|
+
}).filter(Boolean);
|
|
579
|
+
};
|
|
580
|
+
LayoutBoxComponent.prototype.getBackgroundClass = function () {
|
|
581
|
+
var value = this.box_background ? this.prefix + "-background-" + this.box_background : "";
|
|
582
|
+
return value;
|
|
583
|
+
};
|
|
584
|
+
LayoutBoxComponent.prototype.ngOnChanges = function () {
|
|
585
|
+
if (!this.didFirstInit) {
|
|
586
|
+
return;
|
|
587
|
+
}
|
|
588
|
+
this.ngOnInit();
|
|
589
|
+
this.changes.markForCheck();
|
|
590
|
+
};
|
|
591
|
+
LayoutBoxComponent.prototype.ngOnInit = function () {
|
|
592
|
+
var spaceOverrides = [this.box_space_top, this.box_space_right, this.box_space_bottom, this.box_space_left];
|
|
593
|
+
var alignmentOverride = [this.box_align_x, this.box_align_y];
|
|
594
|
+
this.backgroundIsDark = this.tokenService.getTokenValue("--semantic-on-dark-" + this.box_background) === 'on-dark';
|
|
595
|
+
// Basic basic classes
|
|
596
|
+
this.boxLayoutClasses = [
|
|
597
|
+
this.getSizeClasses(this.box_space),
|
|
598
|
+
this.getOverrideClasses(spaceOverrides),
|
|
599
|
+
this.getAlignmentClasses(alignmentOverride),
|
|
600
|
+
this.getBackgroundClass(),
|
|
601
|
+
this.box_fill_mode === 'fit' ? this.prefix + "-fit-content" : this.prefix + "-fill-container",
|
|
602
|
+
this.backgroundIsDark ? 'text-color--on-dark' : '',
|
|
603
|
+
this.box_content_fill_width ? '' : this.prefix + "-content-max-width"
|
|
604
|
+
].flat(10).filter(Boolean);
|
|
605
|
+
this.didFirstInit = true;
|
|
606
|
+
};
|
|
607
|
+
return LayoutBoxComponent;
|
|
608
|
+
}());
|
|
609
|
+
LayoutBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayoutBoxComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: TokenService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
610
|
+
LayoutBoxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LayoutBoxComponent, selector: "ui-box", inputs: { box_space: "box_space", box_space_top: "box_space_top", box_space_right: "box_space_right", box_space_bottom: "box_space_bottom", box_space_left: "box_space_left", box_align_x: "box_align_x", box_align_y: "box_align_y", box_fill_mode: "box_fill_mode", box_background: "box_background", box_content_fill_width: "box_content_fill_width" }, host: { properties: { "class": "boxLayoutClasses" } }, usesOnChanges: true, ngImport: i0__namespace, template: '<div class="ui-box-content"><ng-content></ng-content></div>', isInline: true, styles: ["ui-box{display:flex;justify-self:stretch;flex-direction:column}ui-box.ui-layout-box-none{padding:var(--semantic-spacing-box-none)}@media only screen and (max-width: 767px){ui-box.ui-layout-box-none-mobile{padding:var(--semantic-spacing-box-none)}ui-box.ui-layout-box-none-mobile-top{padding-top:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-mobile-right{padding-right:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-mobile-bottom{padding-bottom:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-mobile-left{padding-left:var(--semantic-spacing-box-none)!important}}@media only screen and (min-width: 768px){ui-box.ui-layout-box-none-tablet{padding:var(--semantic-spacing-box-none)}ui-box.ui-layout-box-none-tablet-top{padding-top:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-tablet-right{padding-right:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-tablet-bottom{padding-bottom:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-tablet-left{padding-left:var(--semantic-spacing-box-none)!important}}@media only screen and (min-width: 1080px){ui-box.ui-layout-box-none-laptop{padding:var(--semantic-spacing-box-none)}ui-box.ui-layout-box-none-laptop-top{padding-top:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-laptop-right{padding-right:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-laptop-bottom{padding-bottom:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-laptop-left{padding-left:var(--semantic-spacing-box-none)!important}}@media only screen and (min-width: 1440px){ui-box.ui-layout-box-none-desktop{padding:var(--semantic-spacing-box-none)}ui-box.ui-layout-box-none-desktop-top{padding-top:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-desktop-right{padding-right:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-desktop-bottom{padding-bottom:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-desktop-left{padding-left:var(--semantic-spacing-box-none)!important}}ui-box.ui-layout-box-none-top{padding-top:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-right{padding-right:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-bottom{padding-bottom:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-none-left{padding-left:var(--semantic-spacing-box-none)!important}ui-box.ui-layout-box-tight{padding:var(--semantic-spacing-box-tight)}@media only screen and (max-width: 767px){ui-box.ui-layout-box-tight-mobile{padding:var(--semantic-spacing-box-tight)}ui-box.ui-layout-box-tight-mobile-top{padding-top:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-mobile-right{padding-right:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-mobile-bottom{padding-bottom:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-mobile-left{padding-left:var(--semantic-spacing-box-tight)!important}}@media only screen and (min-width: 768px){ui-box.ui-layout-box-tight-tablet{padding:var(--semantic-spacing-box-tight)}ui-box.ui-layout-box-tight-tablet-top{padding-top:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-tablet-right{padding-right:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-tablet-bottom{padding-bottom:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-tablet-left{padding-left:var(--semantic-spacing-box-tight)!important}}@media only screen and (min-width: 1080px){ui-box.ui-layout-box-tight-laptop{padding:var(--semantic-spacing-box-tight)}ui-box.ui-layout-box-tight-laptop-top{padding-top:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-laptop-right{padding-right:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-laptop-bottom{padding-bottom:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-laptop-left{padding-left:var(--semantic-spacing-box-tight)!important}}@media only screen and (min-width: 1440px){ui-box.ui-layout-box-tight-desktop{padding:var(--semantic-spacing-box-tight)}ui-box.ui-layout-box-tight-desktop-top{padding-top:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-desktop-right{padding-right:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-desktop-bottom{padding-bottom:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-desktop-left{padding-left:var(--semantic-spacing-box-tight)!important}}ui-box.ui-layout-box-tight-top{padding-top:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-right{padding-right:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-bottom{padding-bottom:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-tight-left{padding-left:var(--semantic-spacing-box-tight)!important}ui-box.ui-layout-box-near{padding:var(--semantic-spacing-box-near)}@media only screen and (max-width: 767px){ui-box.ui-layout-box-near-mobile{padding:var(--semantic-spacing-box-near)}ui-box.ui-layout-box-near-mobile-top{padding-top:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-mobile-right{padding-right:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-mobile-bottom{padding-bottom:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-mobile-left{padding-left:var(--semantic-spacing-box-near)!important}}@media only screen and (min-width: 768px){ui-box.ui-layout-box-near-tablet{padding:var(--semantic-spacing-box-near)}ui-box.ui-layout-box-near-tablet-top{padding-top:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-tablet-right{padding-right:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-tablet-bottom{padding-bottom:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-tablet-left{padding-left:var(--semantic-spacing-box-near)!important}}@media only screen and (min-width: 1080px){ui-box.ui-layout-box-near-laptop{padding:var(--semantic-spacing-box-near)}ui-box.ui-layout-box-near-laptop-top{padding-top:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-laptop-right{padding-right:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-laptop-bottom{padding-bottom:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-laptop-left{padding-left:var(--semantic-spacing-box-near)!important}}@media only screen and (min-width: 1440px){ui-box.ui-layout-box-near-desktop{padding:var(--semantic-spacing-box-near)}ui-box.ui-layout-box-near-desktop-top{padding-top:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-desktop-right{padding-right:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-desktop-bottom{padding-bottom:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-desktop-left{padding-left:var(--semantic-spacing-box-near)!important}}ui-box.ui-layout-box-near-top{padding-top:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-right{padding-right:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-bottom{padding-bottom:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-near-left{padding-left:var(--semantic-spacing-box-near)!important}ui-box.ui-layout-box-default{padding:var(--semantic-spacing-box-default)}@media only screen and (max-width: 767px){ui-box.ui-layout-box-default-mobile{padding:var(--semantic-spacing-box-default)}ui-box.ui-layout-box-default-mobile-top{padding-top:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-mobile-right{padding-right:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-mobile-bottom{padding-bottom:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-mobile-left{padding-left:var(--semantic-spacing-box-default)!important}}@media only screen and (min-width: 768px){ui-box.ui-layout-box-default-tablet{padding:var(--semantic-spacing-box-default)}ui-box.ui-layout-box-default-tablet-top{padding-top:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-tablet-right{padding-right:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-tablet-bottom{padding-bottom:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-tablet-left{padding-left:var(--semantic-spacing-box-default)!important}}@media only screen and (min-width: 1080px){ui-box.ui-layout-box-default-laptop{padding:var(--semantic-spacing-box-default)}ui-box.ui-layout-box-default-laptop-top{padding-top:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-laptop-right{padding-right:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-laptop-bottom{padding-bottom:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-laptop-left{padding-left:var(--semantic-spacing-box-default)!important}}@media only screen and (min-width: 1440px){ui-box.ui-layout-box-default-desktop{padding:var(--semantic-spacing-box-default)}ui-box.ui-layout-box-default-desktop-top{padding-top:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-desktop-right{padding-right:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-desktop-bottom{padding-bottom:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-desktop-left{padding-left:var(--semantic-spacing-box-default)!important}}ui-box.ui-layout-box-default-top{padding-top:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-right{padding-right:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-bottom{padding-bottom:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-default-left{padding-left:var(--semantic-spacing-box-default)!important}ui-box.ui-layout-box-expanded{padding:var(--semantic-spacing-box-expanded)}@media only screen and (max-width: 767px){ui-box.ui-layout-box-expanded-mobile{padding:var(--semantic-spacing-box-expanded)}ui-box.ui-layout-box-expanded-mobile-top{padding-top:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-mobile-right{padding-right:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-mobile-bottom{padding-bottom:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-mobile-left{padding-left:var(--semantic-spacing-box-expanded)!important}}@media only screen and (min-width: 768px){ui-box.ui-layout-box-expanded-tablet{padding:var(--semantic-spacing-box-expanded)}ui-box.ui-layout-box-expanded-tablet-top{padding-top:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-tablet-right{padding-right:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-tablet-bottom{padding-bottom:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-tablet-left{padding-left:var(--semantic-spacing-box-expanded)!important}}@media only screen and (min-width: 1080px){ui-box.ui-layout-box-expanded-laptop{padding:var(--semantic-spacing-box-expanded)}ui-box.ui-layout-box-expanded-laptop-top{padding-top:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-laptop-right{padding-right:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-laptop-bottom{padding-bottom:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-laptop-left{padding-left:var(--semantic-spacing-box-expanded)!important}}@media only screen and (min-width: 1440px){ui-box.ui-layout-box-expanded-desktop{padding:var(--semantic-spacing-box-expanded)}ui-box.ui-layout-box-expanded-desktop-top{padding-top:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-desktop-right{padding-right:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-desktop-bottom{padding-bottom:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-desktop-left{padding-left:var(--semantic-spacing-box-expanded)!important}}ui-box.ui-layout-box-expanded-top{padding-top:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-right{padding-right:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-bottom{padding-bottom:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-expanded-left{padding-left:var(--semantic-spacing-box-expanded)!important}ui-box.ui-layout-box-section-inset{padding:var(--semantic-spacing-box-section-inset)}@media only screen and (max-width: 767px){ui-box.ui-layout-box-section-inset-mobile{padding:var(--semantic-spacing-box-section-inset)}ui-box.ui-layout-box-section-inset-mobile-top{padding-top:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-mobile-right{padding-right:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-mobile-bottom{padding-bottom:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-mobile-left{padding-left:var(--semantic-spacing-box-section-inset)!important}}@media only screen and (min-width: 768px){ui-box.ui-layout-box-section-inset-tablet{padding:var(--semantic-spacing-box-section-inset)}ui-box.ui-layout-box-section-inset-tablet-top{padding-top:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-tablet-right{padding-right:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-tablet-bottom{padding-bottom:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-tablet-left{padding-left:var(--semantic-spacing-box-section-inset)!important}}@media only screen and (min-width: 1080px){ui-box.ui-layout-box-section-inset-laptop{padding:var(--semantic-spacing-box-section-inset)}ui-box.ui-layout-box-section-inset-laptop-top{padding-top:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-laptop-right{padding-right:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-laptop-bottom{padding-bottom:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-laptop-left{padding-left:var(--semantic-spacing-box-section-inset)!important}}@media only screen and (min-width: 1440px){ui-box.ui-layout-box-section-inset-desktop{padding:var(--semantic-spacing-box-section-inset)}ui-box.ui-layout-box-section-inset-desktop-top{padding-top:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-desktop-right{padding-right:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-desktop-bottom{padding-bottom:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-desktop-left{padding-left:var(--semantic-spacing-box-section-inset)!important}}ui-box.ui-layout-box-section-inset-top{padding-top:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-right{padding-right:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-bottom{padding-bottom:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-section-inset-left{padding-left:var(--semantic-spacing-box-section-inset)!important}ui-box.ui-layout-box-background-transparent{background-color:var(--semantic-color-background-transparent)}ui-box.ui-layout-box-background-core-primary{background-color:var(--semantic-color-background-core-primary)}ui-box.ui-layout-box-background-core-secondary{background-color:var(--semantic-color-background-core-secondary)}ui-box.ui-layout-box-background-core-tertiary{background-color:var(--semantic-color-background-core-tertiary)}ui-box.ui-layout-box-background-core-quaternary{background-color:var(--semantic-color-background-core-quaternary)}ui-box.ui-layout-box-background-tint-highlight{background-color:var(--semantic-color-background-tint-highlight)}ui-box.ui-layout-box-align-start{justify-content:flex-start}ui-box.ui-layout-box-align-x-start{align-items:flex-start;align-content:flex-start}ui-box.ui-layout-box-align-center{justify-content:center}ui-box.ui-layout-box-align-x-center{align-items:center;align-content:center}ui-box.ui-layout-box-align-end{justify-content:flex-end}ui-box.ui-layout-box-align-x-end{align-items:flex-end;align-content:flex-end}ui-box.ui-layout-box-distribute-fill{justify-content:unset}ui-box.ui-layout-box-distribute-start{justify-content:flex-start}ui-box.ui-layout-box-distribute-center{justify-content:center}ui-box.ui-layout-box-distribute-end{justify-content:flex-end}ui-box.ui-layout-box-distribute-space-between{justify-content:space-between}ui-box.ui-layout-box-distribute-space-around{justify-content:space-around}ui-box.ui-layout-box-distribute-space-evenly{justify-content:space-evenly}ui-box.ui-layout-box-align-start{align-items:flex-start;align-content:flex-start}ui-box.ui-layout-box-align-center{align-items:center;align-content:center}ui-box.ui-layout-box-align-end{align-items:flex-end;align-content:flex-end}ui-box.ui-layout-box-distribute-y-fill{justify-content:unset}ui-box.ui-layout-box-distribute-y-start{justify-content:flex-start}ui-box.ui-layout-box-distribute-y-center{justify-content:center}ui-box.ui-layout-box-distribute-y-end{justify-content:flex-end}ui-box.ui-layout-box-distribute-y-space-between{justify-content:space-between}ui-box.ui-layout-box-distribute-y-space-around{justify-content:space-around}ui-box.ui-layout-box-distribute-y-space-evenly{justify-content:space-evenly}ui-box.ui-layout-box-fit-content{width:-moz-fit-content;width:fit-content}ui-box.ui-layout-box-fill-container{width:100%;height:100%}ui-box.ui-layout-box .ui-box-content{display:block;width:100%}ui-box.ui-layout-box-content-max-width .ui-box-content{max-width:1440px;margin:0 auto;display:block}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
611
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayoutBoxComponent, decorators: [{
|
|
612
|
+
type: i0.Component,
|
|
613
|
+
args: [{
|
|
614
|
+
selector: 'ui-box',
|
|
615
|
+
template: '<div class="ui-box-content"><ng-content></ng-content></div>',
|
|
616
|
+
host: {
|
|
617
|
+
'[class]': 'boxLayoutClasses'
|
|
618
|
+
},
|
|
619
|
+
styleUrls: ['./box.component.scss'],
|
|
620
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
621
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
622
|
+
}]
|
|
623
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: TokenService }]; }, propDecorators: { box_space: [{
|
|
624
|
+
type: i0.Input
|
|
625
|
+
}], box_space_top: [{
|
|
626
|
+
type: i0.Input
|
|
627
|
+
}], box_space_right: [{
|
|
628
|
+
type: i0.Input
|
|
629
|
+
}], box_space_bottom: [{
|
|
630
|
+
type: i0.Input
|
|
631
|
+
}], box_space_left: [{
|
|
632
|
+
type: i0.Input
|
|
633
|
+
}], box_align_x: [{
|
|
634
|
+
type: i0.Input
|
|
635
|
+
}], box_align_y: [{
|
|
636
|
+
type: i0.Input
|
|
637
|
+
}], box_fill_mode: [{
|
|
638
|
+
type: i0.Input
|
|
639
|
+
}], box_background: [{
|
|
640
|
+
type: i0.Input
|
|
641
|
+
}], box_content_fill_width: [{
|
|
642
|
+
type: i0.Input
|
|
643
|
+
}] } });
|
|
559
644
|
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
645
|
+
var LayoutStackComponent = /** @class */ (function () {
|
|
646
|
+
function LayoutStackComponent(changes) {
|
|
647
|
+
this.changes = changes;
|
|
648
|
+
this.didFirstInit = false;
|
|
649
|
+
this.prefix = 'ui-layout-stack';
|
|
650
|
+
this.stack_gap = 'default';
|
|
651
|
+
this.stack_align = 'start';
|
|
652
|
+
this.stack_direction = 'y';
|
|
653
|
+
this.stack_distribute = 'start';
|
|
654
|
+
this.stack_wrap = false;
|
|
655
|
+
}
|
|
656
|
+
LayoutStackComponent.prototype.defaultDistribution = function () {
|
|
657
|
+
if (this.stack_distribute) {
|
|
658
|
+
return this.stack_distribute;
|
|
659
|
+
}
|
|
660
|
+
return this.stack_direction === 'x' ? 'fit' : 'fill';
|
|
661
|
+
};
|
|
662
|
+
LayoutStackComponent.prototype.ngOnChanges = function () {
|
|
663
|
+
if (!this.didFirstInit) {
|
|
664
|
+
return;
|
|
665
|
+
}
|
|
666
|
+
this.ngOnInit();
|
|
667
|
+
this.changes.markForCheck();
|
|
668
|
+
};
|
|
669
|
+
LayoutStackComponent.prototype.ngOnInit = function () {
|
|
670
|
+
this.stack_distribute = this.defaultDistribution();
|
|
671
|
+
this.stackLayoutClasses = [
|
|
672
|
+
this.prefix,
|
|
673
|
+
this.prefix + "-" + this.stack_gap,
|
|
674
|
+
this.prefix + "-align-" + this.stack_align,
|
|
675
|
+
this.prefix + "-distribute-" + this.stack_distribute,
|
|
676
|
+
this.prefix + "-direction-" + this.stack_direction,
|
|
677
|
+
this.prefix + "-" + (this.stack_wrap ? 'wrap' : 'no-wrap'),
|
|
678
|
+
];
|
|
679
|
+
this.didFirstInit = true;
|
|
680
|
+
};
|
|
681
|
+
return LayoutStackComponent;
|
|
682
|
+
}());
|
|
683
|
+
LayoutStackComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayoutStackComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
684
|
+
LayoutStackComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LayoutStackComponent, selector: "ui-stack", inputs: { stack_gap: "stack_gap", stack_align: "stack_align", stack_direction: "stack_direction", stack_distribute: "stack_distribute", stack_wrap: "stack_wrap" }, host: { properties: { "class": "stackLayoutClasses" } }, usesOnChanges: true, ngImport: i0__namespace, template: '<ng-content></ng-content>', isInline: true, styles: [".ui-layout-stack{display:flex;position:relative;align-items:inherit;justify-content:inherit;width:100%}.ui-layout-stack-none{grid-gap:var(--semantic-spacing-stack-none);gap:var(--semantic-spacing-stack-none)}.ui-layout-stack-tight{grid-gap:var(--semantic-spacing-stack-tight);gap:var(--semantic-spacing-stack-tight)}.ui-layout-stack-near{grid-gap:var(--semantic-spacing-stack-near);gap:var(--semantic-spacing-stack-near)}.ui-layout-stack-default{grid-gap:var(--semantic-spacing-stack-default);gap:var(--semantic-spacing-stack-default)}.ui-layout-stack-expanded{grid-gap:var(--semantic-spacing-stack-expanded);gap:var(--semantic-spacing-stack-expanded)}.ui-layout-stack-section{grid-gap:var(--semantic-spacing-stack-section);gap:var(--semantic-spacing-stack-section)}.ui-layout-stack-align-start{justify-content:flex-start}.ui-layout-stack-align-x-start{align-items:flex-start;align-content:flex-start}.ui-layout-stack-align-center{justify-content:center}.ui-layout-stack-align-x-center{align-items:center;align-content:center}.ui-layout-stack-align-end{justify-content:flex-end}.ui-layout-stack-align-x-end{align-items:flex-end;align-content:flex-end}.ui-layout-stack-distribute-fill{justify-content:unset}.ui-layout-stack-distribute-start{justify-content:flex-start}.ui-layout-stack-distribute-center{justify-content:center}.ui-layout-stack-distribute-end{justify-content:flex-end}.ui-layout-stack-distribute-space-between{justify-content:space-between}.ui-layout-stack-distribute-space-around{justify-content:space-around}.ui-layout-stack-distribute-space-evenly{justify-content:space-evenly}.ui-layout-stack-align-start{align-items:flex-start;align-content:flex-start}.ui-layout-stack-align-center{align-items:center;align-content:center}.ui-layout-stack-align-end{align-items:flex-end;align-content:flex-end}.ui-layout-stack-distribute-y-fill{justify-content:unset}.ui-layout-stack-distribute-y-start{justify-content:flex-start}.ui-layout-stack-distribute-y-center{justify-content:center}.ui-layout-stack-distribute-y-end{justify-content:flex-end}.ui-layout-stack-distribute-y-space-between{justify-content:space-between}.ui-layout-stack-distribute-y-space-around{justify-content:space-around}.ui-layout-stack-distribute-y-space-evenly{justify-content:space-evenly}.ui-layout-stack-direction-x{flex-direction:row}.ui-layout-stack-direction-y{flex-direction:column}.ui-layout-stack-distribute-fill>*{flex:1 1 auto}.ui-layout-stack-distribute-fit>ui-stack{flex-basis:0%}.ui-layout-stack-wrap{flex-wrap:wrap}.ui-layout-stack-no-wrap{flex-wrap:nowrap}.ui-layout-stack.ui-layout-stack-direction-y.ui-layout-stack-wrap{height:100%}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
685
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayoutStackComponent, decorators: [{
|
|
686
|
+
type: i0.Component,
|
|
687
|
+
args: [{
|
|
688
|
+
selector: 'ui-stack',
|
|
689
|
+
template: '<ng-content></ng-content>',
|
|
690
|
+
host: {
|
|
691
|
+
'[class]': 'stackLayoutClasses'
|
|
692
|
+
},
|
|
693
|
+
styleUrls: ['./stack.component.scss'],
|
|
694
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
695
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
696
|
+
}]
|
|
697
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { stack_gap: [{
|
|
698
|
+
type: i0.Input
|
|
699
|
+
}], stack_align: [{
|
|
700
|
+
type: i0.Input
|
|
701
|
+
}], stack_direction: [{
|
|
702
|
+
type: i0.Input
|
|
703
|
+
}], stack_distribute: [{
|
|
704
|
+
type: i0.Input
|
|
705
|
+
}], stack_wrap: [{
|
|
706
|
+
type: i0.Input
|
|
707
|
+
}] } });
|
|
608
708
|
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
709
|
+
var IconComponent = /** @class */ (function () {
|
|
710
|
+
function IconComponent(document, tokenService) {
|
|
711
|
+
this.document = document;
|
|
712
|
+
this.tokenService = tokenService;
|
|
713
|
+
this.icon_size = 'large';
|
|
714
|
+
this.icon_context = 'none';
|
|
715
|
+
}
|
|
716
|
+
IconComponent.prototype.convertRemToPixels = function (remString) {
|
|
717
|
+
var remNumber = parseFloat(remString.replace('rem', ''));
|
|
718
|
+
return remNumber * parseFloat(getComputedStyle(this.document.documentElement).fontSize);
|
|
719
|
+
};
|
|
720
|
+
IconComponent.prototype.ngOnChanges = function () {
|
|
721
|
+
this.ngOnInit();
|
|
722
|
+
};
|
|
723
|
+
IconComponent.prototype.ngOnInit = function () {
|
|
724
|
+
this.iconBrandPath = "" + this.tokenService.getBrandName();
|
|
725
|
+
this.size = this.tokenService.getTokenValue("--global-size-icon-" + this.icon_size);
|
|
726
|
+
this.iconDisplayClasses = [
|
|
727
|
+
"icon-context-" + this.icon_context,
|
|
728
|
+
"icon-size-" + this.icon_size
|
|
729
|
+
];
|
|
730
|
+
var sizeInPixels = this.convertRemToPixels(this.size);
|
|
731
|
+
this.icon_width = sizeInPixels;
|
|
732
|
+
this.icon_height = sizeInPixels;
|
|
733
|
+
};
|
|
734
|
+
return IconComponent;
|
|
735
|
+
}());
|
|
736
|
+
IconComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IconComponent, deps: [{ token: i6.DOCUMENT }, { token: TokenService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
737
|
+
IconComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IconComponent, selector: "ui-icon", inputs: { icon_size: "icon_size", icon_name: "icon_name", icon_context: "icon_context", icon_width: "icon_width", icon_height: "icon_height", icon_class: "icon_class" }, usesOnChanges: true, ngImport: i0__namespace, template: "<div class=\"ui-icon\" [ngClass]=\"iconDisplayClasses\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" [attr.width]=\"icon_width\" [attr.height]=\"icon_height\" [attr.class]=\"icon_class\">\n <use attr.xlink:href=\"./{{iconBrandPath}}/assets/icons/icons.svg#icon-{{icon_name}}\"></use>\n </svg>\n</div>\n", styles: [".ui-icon{display:flex}\n"], directives: [{ type: i6__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
738
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IconComponent, decorators: [{
|
|
739
|
+
type: i0.Component,
|
|
740
|
+
args: [{
|
|
741
|
+
selector: 'ui-icon',
|
|
742
|
+
templateUrl: './icon.component.html',
|
|
743
|
+
styleUrls: ['./icon.component.scss'],
|
|
744
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
745
|
+
}]
|
|
746
|
+
}], ctorParameters: function () {
|
|
747
|
+
return [{ type: Document, decorators: [{
|
|
748
|
+
type: i0.Inject,
|
|
749
|
+
args: [i6.DOCUMENT]
|
|
750
|
+
}] }, { type: TokenService }];
|
|
751
|
+
}, propDecorators: { icon_size: [{
|
|
752
|
+
type: i0.Input
|
|
753
|
+
}], icon_name: [{
|
|
754
|
+
type: i0.Input
|
|
755
|
+
}], icon_context: [{
|
|
756
|
+
type: i0.Input
|
|
757
|
+
}], icon_width: [{
|
|
758
|
+
type: i0.Input
|
|
759
|
+
}], icon_height: [{
|
|
760
|
+
type: i0.Input
|
|
761
|
+
}], icon_class: [{
|
|
762
|
+
type: i0.Input
|
|
763
|
+
}] } });
|
|
645
764
|
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
765
|
+
var OasysButtonComponent = /** @class */ (function () {
|
|
766
|
+
function OasysButtonComponent(changes) {
|
|
767
|
+
this.changes = changes;
|
|
768
|
+
this.button_icon_placement = 'leading';
|
|
769
|
+
// Button Stylings
|
|
770
|
+
this.button_size = 'large';
|
|
771
|
+
this.button_full_width = false;
|
|
772
|
+
this.button_type = 'primary';
|
|
773
|
+
this.button_disabled = false;
|
|
774
|
+
// Button Actions
|
|
775
|
+
this.href = '';
|
|
776
|
+
this.clicked = new i0.EventEmitter();
|
|
777
|
+
this.iconContext = 'none';
|
|
778
|
+
this.outlineButtonTypes = ['secondary', 'secondary-inverse'];
|
|
779
|
+
}
|
|
780
|
+
OasysButtonComponent.prototype.onClick = function () {
|
|
781
|
+
this.clicked.emit();
|
|
782
|
+
};
|
|
783
|
+
OasysButtonComponent.prototype.createButton = function () {
|
|
784
|
+
return {
|
|
785
|
+
buttonIcon: this.button_icon,
|
|
786
|
+
buttonIconPlacement: this.button_icon_placement,
|
|
787
|
+
buttonType: this.button_type,
|
|
788
|
+
buttonSize: this.button_size,
|
|
789
|
+
buttonDisabled: this.button_disabled,
|
|
790
|
+
href: this.href,
|
|
791
|
+
target: '',
|
|
792
|
+
buttonDisplayClasses: [
|
|
793
|
+
"type-" + this.button_type,
|
|
794
|
+
"size-" + this.button_size,
|
|
795
|
+
"" + (this.button_icon ? 'button--has-icon' : ''),
|
|
796
|
+
"" + (this.button_full_width ? 'button--full-width' : ''),
|
|
797
|
+
"" + (this.button_icon ? 'button--icon--' + this.button_icon_placement : ''),
|
|
798
|
+
"" + (this.outlineButtonTypes.indexOf(this.button_type) !== -1 ? 'button--outline' : '')
|
|
799
|
+
].filter(function (d) { return !!d; })
|
|
800
|
+
};
|
|
801
|
+
};
|
|
802
|
+
OasysButtonComponent.prototype.ngAfterViewInit = function () {
|
|
803
|
+
var _a, _b;
|
|
804
|
+
if ((_b = (_a = this.ngContent) === null || _a === void 0 ? void 0 : _a.nativeElement) === null || _b === void 0 ? void 0 : _b.innerText) {
|
|
805
|
+
this.accessibleButtonContent = this.ngContent.nativeElement.innerText;
|
|
806
|
+
}
|
|
807
|
+
else {
|
|
808
|
+
throw new Error("\n No inner text found. All buttons should have text passed via ng-content to enable accessibility for screen readers, this includes icon-only buttons.\n\n Pass content using the template variable #buttontext eg:\n ui-button()\n span(#buttontext) Buy All The Things\n ");
|
|
809
|
+
}
|
|
810
|
+
};
|
|
811
|
+
OasysButtonComponent.prototype.ngOnChanges = function () {
|
|
812
|
+
this.button = this.createButton();
|
|
813
|
+
this.changes.markForCheck();
|
|
814
|
+
};
|
|
815
|
+
OasysButtonComponent.prototype.ngOnInit = function () {
|
|
816
|
+
this.button = this.createButton();
|
|
817
|
+
};
|
|
818
|
+
return OasysButtonComponent;
|
|
819
|
+
}());
|
|
820
|
+
OasysButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysButtonComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
821
|
+
OasysButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OasysButtonComponent, selector: "ui-button", inputs: { button_icon: "button_icon", button_icon_placement: "button_icon_placement", button_size: "button_size", button_full_width: "button_full_width", button_type: "button_type", button_disabled: "button_disabled", href: "href" }, outputs: { clicked: "clicked" }, queries: [{ propertyName: "ngContent", first: true, predicate: ["buttontext"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<button (click)=\"onClick()\"\n [routerLink]=\"button.href || null\"\n [ngClass]=\"button.buttonDisplayClasses\"\n [attr.disabled]=\"button.buttonDisabled === true || null\"\n [attr.aria-label]=\"accessibleButtonContent\"\n [attr.title]=\"accessibleButtonContent\"\n role=\"button\">\n <div class=\"button-content\">\n <ui-icon *ngIf=\"button.buttonIcon && button.buttonIconPlacement !== 'none'\" [icon_name]=\"button.buttonIcon\" [icon_size]=\"button.buttonSize\" [icon_class]=\"'buttonIcon'\" [icon_context]=\"button.buttonIconPlacement\"></ui-icon>\n <span class=\"ui-text\" [ngClass]=\"{'visuallyhidden': button.buttonIconPlacement === 'iconOnly'}\">\n <ng-content></ng-content>\n </span>\n </div>\n <div class=\"button-overlay\"></div>\n <div class=\"button-overlay-focus\"></div>\n</button>\n", styles: ["ui-button button{border:0;padding:0;position:relative;display:inline-flex;text-align:center;justify-content:center;align-items:center;border-style:solid;cursor:pointer;user-select:none;appearance:none;-webkit-appearance:none;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;border-radius:var(--component-button-border-radius);font-family:var(--semantic-font-family-body)}ui-button button .button-content{display:flex;align-items:center}ui-button button .button-content .ui-icon{display:flex;align-items:center;max-height:var(--component-button-line-height)}ui-button button .button-content .ui-text{text-transform:var(--component-button-text-transform);letter-spacing:var(--component-button-letter-spacing);font-weight:var(--component-button-font-weight);line-height:var(--component-button-line-height)}ui-button button .button-overlay,ui-button button .button-overlay-focus{position:absolute;top:0;right:0;bottom:0;left:0;touch-action:none;pointer-events:none;border-radius:var(--component-button-border-radius);opacity:0}ui-button button:hover .button-overlay{opacity:var(--component-button-opacity-overlay-hover)}ui-button button:focus .button-overlay{opacity:var(--component-button-opacity-overlay-focus)}ui-button button:focus-visible .button-overlay{opacity:var(--component-button-opacity-overlay-focus-visible)}ui-button button:focus-visible{outline:none}ui-button button:focus-visible .button-overlay-focus{top:calc(var(--component-button-outline-gap) * -1);right:calc(var(--component-button-outline-gap) * -1);bottom:calc(var(--component-button-outline-gap) * -1);left:calc(var(--component-button-outline-gap) * -1);box-shadow:0 0 0 var(--component-button-outline-width) var(--component-button-color-focus-visible);opacity:1;border-radius:calc(var(--component-button-border-radius) + var(--component-button-outline-width))}ui-button button:focus{outline:none}ui-button button.type-primary{background-color:var(--component-button-color-primary-background);border-color:var(--component-button-color-primary-border);color:var(--component-button-color-primary-text)}ui-button button.type-primary .button-overlay{background-color:var(--component-button-color-primary-text)}ui-button button.type-secondary{background-color:var(--component-button-color-secondary-background);border-color:var(--component-button-color-secondary-border);color:var(--component-button-color-secondary-text)}ui-button button.type-secondary .button-overlay{background-color:var(--component-button-color-secondary-text)}ui-button button.type-tertiary{background-color:var(--component-button-color-tertiary-background);border-color:var(--component-button-color-tertiary-border);color:var(--component-button-color-tertiary-text)}ui-button button.type-tertiary .button-overlay{background-color:var(--component-button-color-tertiary-text)}ui-button button.type-primary-inverse{background-color:var(--component-button-color-primary-inverse-background);border-color:var(--component-button-color-primary-inverse-border);color:var(--component-button-color-primary-inverse-text)}ui-button button.type-primary-inverse .button-overlay{background-color:var(--component-button-color-primary-inverse-text)}ui-button button.type-secondary-inverse{background-color:var(--component-button-color-secondary-inverse-background);border-color:var(--component-button-color-secondary-inverse-border);color:var(--component-button-color-secondary-inverse-text)}ui-button button.type-secondary-inverse .button-overlay{background-color:var(--component-button-color-secondary-inverse-text)}ui-button button.type-tertiary-inverse{background-color:var(--component-button-color-tertiary-inverse-background);border-color:var(--component-button-color-tertiary-inverse-border);color:var(--component-button-color-tertiary-inverse-text)}ui-button button.type-tertiary-inverse .button-overlay{background-color:var(--component-button-color-tertiary-inverse-text)}ui-button button.type-expressive{background-color:var(--component-button-color-expressive-background);border-color:var(--component-button-color-expressive-border);color:var(--component-button-color-expressive-text)}ui-button button.type-expressive .button-overlay{background-color:var(--component-button-color-expressive-text)}ui-button button.type-danger{background-color:var(--component-button-color-danger-background);border-color:var(--component-button-color-danger-border);color:var(--component-button-color-danger-text)}ui-button button.type-danger .button-overlay{background-color:var(--component-button-color-danger-text)}ui-button button.type-facebook{background-color:var(--component-button-color-facebook-background);border-color:var(--component-button-color-facebook-border);color:var(--component-button-color-facebook-text)}ui-button button.type-facebook .button-overlay{background-color:var(--component-button-color-facebook-text)}ui-button button.type-paypal{background-color:var(--component-button-color-paypal-background);border-color:var(--component-button-color-paypal-border);color:var(--component-button-color-paypal-text)}ui-button button.type-paypal .button-overlay{background-color:var(--component-button-color-paypal-text)}ui-button button.type-trustpilot{background-color:var(--component-button-color-trustpilot-background);border-color:var(--component-button-color-trustpilot-border);color:var(--component-button-color-trustpilot-text)}ui-button button.type-trustpilot .button-overlay{background-color:var(--component-button-color-trustpilot-text)}ui-button button .buttonIcon{fill:currentColor}ui-button button.size-large{padding:var(--component-button-size-large-padding-y) var(--component-button-size-large-padding-x);border-width:var(--component-button-size-large-border-width);font-size:var(--component-button-size-large-font-size)}ui-button button.size-large .button-content{grid-gap:var(--component-button-size-large-stack-spacing);gap:var(--component-button-size-large-stack-spacing)}ui-button button.size-large .ui-icon.icon-context-leading{margin-left:calc(var(--component-button-size-large-icon-offset-leading) * -1)}ui-button button.size-large .ui-icon.icon-context-trailing{margin-right:calc(var(--component-button-size-large-icon-offset-trailing) * -1)}ui-button button.size-large .ui-icon.icon-context-iconOnly{margin-left:calc(var(--component-button-size-large-icon-offset-icon-only) * -1);margin-right:calc(var(--component-button-size-large-icon-offset-icon-only) * -1)}ui-button button.size-small{padding:var(--component-button-size-small-padding-y) var(--component-button-size-small-padding-x);border-width:var(--component-button-size-small-border-width);font-size:var(--component-button-size-small-font-size)}ui-button button.size-small .button-content{grid-gap:var(--component-button-size-small-stack-spacing);gap:var(--component-button-size-small-stack-spacing)}ui-button button.size-small .ui-icon.icon-context-leading{margin-left:calc(var(--component-button-size-small-icon-offset-leading) * -1)}ui-button button.size-small .ui-icon.icon-context-trailing{margin-right:calc(var(--component-button-size-small-icon-offset-trailing) * -1)}ui-button button.size-small .ui-icon.icon-context-iconOnly{margin-left:calc(var(--component-button-size-small-icon-offset-icon-only) * -1);margin-right:calc(var(--component-button-size-small-icon-offset-icon-only) * -1)}ui-button button.button--outline.size-large{padding:var(--component-button-size-large-with-outline-padding-y) var(--component-button-size-large-with-outline-padding-x);border-width:var(--component-button-size-large-with-outline-border-width);font-size:var(--component-button-size-large-font-size)}ui-button button.button--outline.size-large .button-content{grid-gap:var(--component-button-size-large-stack-spacing);gap:var(--component-button-size-large-stack-spacing)}ui-button button.button--outline.size-large .ui-icon.icon-context-leading{margin-left:calc(var(--component-button-size-large-with-outline-icon-offset-leading) * -1)}ui-button button.button--outline.size-large .ui-icon.icon-context-trailing{margin-right:calc(var(--component-button-size-large-with-outline-icon-offset-trailing) * -1)}ui-button button.button--outline.size-large .ui-icon.icon-context-iconOnly{margin-left:calc(var(--component-button-size-large-with-outline-icon-offset-icon-only) * -1);margin-right:calc(var(--component-button-size-large-with-outline-icon-offset-icon-only) * -1)}ui-button button.button--outline.size-small{padding:var(--component-button-size-small-with-outline-padding-y) var(--component-button-size-small-with-outline-padding-x);border-width:var(--component-button-size-small-with-outline-border-width);font-size:var(--component-button-size-small-font-size)}ui-button button.button--outline.size-small .button-content{grid-gap:var(--component-button-size-small-stack-spacing);gap:var(--component-button-size-small-stack-spacing)}ui-button button.button--outline.size-small .ui-icon.icon-context-leading{margin-left:calc(var(--component-button-size-small-with-outline-icon-offset-leading) * -1)}ui-button button.button--outline.size-small .ui-icon.icon-context-trailing{margin-right:calc(var(--component-button-size-small-with-outline-icon-offset-trailing) * -1)}ui-button button.button--outline.size-small .ui-icon.icon-context-iconOnly{margin-left:calc(var(--component-button-size-small-with-outline-icon-offset-icon-only) * -1);margin-right:calc(var(--component-button-size-small-with-outline-icon-offset-icon-only) * -1)}ui-button button[disabled]{background-color:var(--component-button-color-disabled-background);border-color:var(--component-button-color-disabled-border);color:var(--component-button-color-disabled-text);cursor:default}ui-button button.button--has-icon.button--icon--trailing .button-content{flex-direction:row-reverse}ui-button button.button--full-width{display:flex;width:100%}\n"], components: [{ type: IconComponent, selector: "ui-icon", inputs: ["icon_size", "icon_name", "icon_context", "icon_width", "icon_height", "icon_class"] }], directives: [{ type: i2__namespace.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["routerLink", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i6__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
822
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysButtonComponent, decorators: [{
|
|
823
|
+
type: i0.Component,
|
|
824
|
+
args: [{
|
|
825
|
+
selector: 'ui-button',
|
|
826
|
+
templateUrl: './button.component.html',
|
|
827
|
+
styleUrls: ['./button.component.scss'],
|
|
828
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
829
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
830
|
+
}]
|
|
831
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { button_icon: [{
|
|
832
|
+
type: i0.Input
|
|
833
|
+
}], button_icon_placement: [{
|
|
834
|
+
type: i0.Input
|
|
835
|
+
}], ngContent: [{
|
|
836
|
+
type: i0.ContentChild,
|
|
837
|
+
args: ['buttontext']
|
|
838
|
+
}], button_size: [{
|
|
839
|
+
type: i0.Input
|
|
840
|
+
}], button_full_width: [{
|
|
841
|
+
type: i0.Input
|
|
842
|
+
}], button_type: [{
|
|
843
|
+
type: i0.Input
|
|
844
|
+
}], button_disabled: [{
|
|
845
|
+
type: i0.Input
|
|
846
|
+
}], href: [{
|
|
847
|
+
type: i0.Input
|
|
848
|
+
}], clicked: [{
|
|
849
|
+
type: i0.Output
|
|
850
|
+
}] } });
|
|
662
851
|
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
}], label_text: [{
|
|
708
|
-
type: i0.Input
|
|
709
|
-
}], image: [{
|
|
710
|
-
type: i0.Input
|
|
711
|
-
}], alt_text: [{
|
|
712
|
-
type: i0.Input
|
|
713
|
-
}], image_format: [{
|
|
714
|
-
type: i0.Input
|
|
715
|
-
}], small_title_left: [{
|
|
716
|
-
type: i0.Input
|
|
717
|
-
}], small_sub_title_right: [{
|
|
718
|
-
type: i0.Input
|
|
719
|
-
}], standard_content: [{
|
|
720
|
-
type: i0.Input
|
|
721
|
-
}], bold_content: [{
|
|
722
|
-
type: i0.Input
|
|
723
|
-
}] } });
|
|
852
|
+
var OasysAlertComponent = /** @class */ (function () {
|
|
853
|
+
function OasysAlertComponent(breakpointService) {
|
|
854
|
+
this.breakpointService = breakpointService;
|
|
855
|
+
this.tone = 'neutral';
|
|
856
|
+
this.cancel = new i0.EventEmitter();
|
|
857
|
+
this.confirm = new i0.EventEmitter();
|
|
858
|
+
}
|
|
859
|
+
Object.defineProperty(OasysAlertComponent.prototype, "isMobile", {
|
|
860
|
+
get: function () {
|
|
861
|
+
return this.breakpointService.currentSize.value === Breakpoint.MOBILE;
|
|
862
|
+
},
|
|
863
|
+
enumerable: false,
|
|
864
|
+
configurable: true
|
|
865
|
+
});
|
|
866
|
+
OasysAlertComponent.prototype.cancelled = function () {
|
|
867
|
+
this.cancel.emit();
|
|
868
|
+
};
|
|
869
|
+
OasysAlertComponent.prototype.confirmed = function () {
|
|
870
|
+
this.confirm.emit();
|
|
871
|
+
};
|
|
872
|
+
return OasysAlertComponent;
|
|
873
|
+
}());
|
|
874
|
+
OasysAlertComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysAlertComponent, deps: [{ token: BreakpointService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
875
|
+
OasysAlertComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OasysAlertComponent, selector: "ui-alert", inputs: { tone: "tone" }, outputs: { cancel: "cancel", confirm: "confirm" }, queries: [{ propertyName: "cancelButton", first: true, predicate: OasysAlertCancelDirective, descendants: true }, { propertyName: "confirmButton", first: true, predicate: OasysAlertConfirmDirective, descendants: true }], ngImport: i0__namespace, template: "<ui-box class=\"ui-alert\" box_space=\"near\" box_align_x=\"center\" [ngClass]=\"tone\">\n <ui-stack stack_direction=\"x\" stack_gap=\"near\">\n <div class=\"badge\" [ngClass]=\"tone\" [ngSwitch]=\"tone\">\n <ui-icon *ngSwitchCase=\"'negative'\" icon_name=\"error\"></ui-icon>\n <ui-icon *ngSwitchCase=\"'positive'\" icon_name=\"tick\"></ui-icon>\n <ui-icon *ngSwitchDefault icon_name=\"info\"></ui-icon>\n </div>\n\n <ui-stack stack_gap=\"near\" [stack_direction]=\"isMobile ? 'y' : 'x'\">\n <ui-stack class=\"content\" stack_direction=\"y\">\n <div class=\"text-body--emphasis\">\n <ng-content select=\"ui-alert-title\"></ng-content>\n </div>\n <div>\n <ng-content select=\"ui-alert-content\"></ng-content>\n </div>\n </ui-stack>\n\n <ui-box\n box_space=\"none\"\n box_background=\"transparent\"\n [box_fill_mode]=\"isMobile ? 'fill' : 'fit'\"\n >\n <ui-stack stack_direction=\"x\" stack_gap=\"near\" stack_distribute=\"end\">\n <ui-button\n *ngIf=\"cancelButton.text\"\n button_type=\"tertiary\"\n (clicked)=\"cancelled()\"\n >\n <span #buttontext>\n <ng-content select=\"ui-alert-cancel\"></ng-content>\n </span>\n </ui-button>\n <ui-button\n *ngIf=\"confirmButton.text\"\n button_type=\"secondary\"\n (clicked)=\"confirmed()\"\n >\n <span #buttontext>\n <ng-content select=\"ui-alert-confirm\"></ng-content>\n </span>\n </ui-button>\n </ui-stack>\n </ui-box>\n </ui-stack>\n </ui-stack>\n</ui-box>\n", styles: [".ui-alert{background-color:var(--component-alert-background-neutral)}.ui-alert.negative{background-color:var(--component-alert-background-negative)}.ui-alert.positive{background-color:var(--component-alert-background-positive)}.ui-alert .badge{padding:2px;border-radius:9999px;color:var(--global-color-black);background-color:var(--component-alert-badge-neutral)}.ui-alert .badge.negative{color:var(--global-color-white);background-color:var(--component-alert-badge-negative)}.ui-alert .badge.positive{color:var(--global-color-white);background-color:var(--component-alert-badge-positive)}.ui-alert .badge ui-icon{fill:currentColor}.ui-alert .content{grid-gap:4px;gap:4px}\n"], components: [{ type: LayoutBoxComponent, selector: "ui-box", inputs: ["box_space", "box_space_top", "box_space_right", "box_space_bottom", "box_space_left", "box_align_x", "box_align_y", "box_fill_mode", "box_background", "box_content_fill_width"] }, { type: LayoutStackComponent, selector: "ui-stack", inputs: ["stack_gap", "stack_align", "stack_direction", "stack_distribute", "stack_wrap"] }, { type: IconComponent, selector: "ui-icon", inputs: ["icon_size", "icon_name", "icon_context", "icon_width", "icon_height", "icon_class"] }, { type: OasysButtonComponent, selector: "ui-button", inputs: ["button_icon", "button_icon_placement", "button_size", "button_full_width", "button_type", "button_disabled", "href"], outputs: ["clicked"] }], directives: [{ type: i6__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i6__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i6__namespace.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i6__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
876
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysAlertComponent, decorators: [{
|
|
877
|
+
type: i0.Component,
|
|
878
|
+
args: [{
|
|
879
|
+
selector: 'ui-alert',
|
|
880
|
+
templateUrl: './alert.component.html',
|
|
881
|
+
styleUrls: ['./alert.component.scss'],
|
|
882
|
+
}]
|
|
883
|
+
}], ctorParameters: function () { return [{ type: BreakpointService }]; }, propDecorators: { tone: [{
|
|
884
|
+
type: i0.Input
|
|
885
|
+
}], cancel: [{
|
|
886
|
+
type: i0.Output
|
|
887
|
+
}], confirm: [{
|
|
888
|
+
type: i0.Output
|
|
889
|
+
}], cancelButton: [{
|
|
890
|
+
type: i0.ContentChild,
|
|
891
|
+
args: [OasysAlertCancelDirective]
|
|
892
|
+
}], confirmButton: [{
|
|
893
|
+
type: i0.ContentChild,
|
|
894
|
+
args: [OasysAlertConfirmDirective]
|
|
895
|
+
}] } });
|
|
724
896
|
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
897
|
+
var OasysIconModule = /** @class */ (function () {
|
|
898
|
+
function OasysIconModule() {
|
|
899
|
+
}
|
|
900
|
+
return OasysIconModule;
|
|
901
|
+
}());
|
|
902
|
+
OasysIconModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysIconModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
903
|
+
OasysIconModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysIconModule, declarations: [IconComponent], imports: [i6.CommonModule], exports: [IconComponent] });
|
|
904
|
+
OasysIconModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysIconModule, providers: [TokenService], imports: [[i6.CommonModule]] });
|
|
905
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysIconModule, decorators: [{
|
|
906
|
+
type: i0.NgModule,
|
|
907
|
+
args: [{
|
|
908
|
+
declarations: [IconComponent],
|
|
909
|
+
imports: [i6.CommonModule],
|
|
910
|
+
exports: [IconComponent],
|
|
911
|
+
providers: [TokenService],
|
|
912
|
+
}]
|
|
913
|
+
}] });
|
|
742
914
|
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
styleUrls: ['./divider.component.scss'],
|
|
760
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
761
|
-
}]
|
|
762
|
-
}], propDecorators: { divider_type: [{
|
|
763
|
-
type: i0.Input
|
|
764
|
-
}] } });
|
|
915
|
+
var OasysButtonModule = /** @class */ (function () {
|
|
916
|
+
function OasysButtonModule() {
|
|
917
|
+
}
|
|
918
|
+
return OasysButtonModule;
|
|
919
|
+
}());
|
|
920
|
+
OasysButtonModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysButtonModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
921
|
+
OasysButtonModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysButtonModule, declarations: [OasysButtonComponent], imports: [i6.CommonModule, i2.RouterModule, OasysIconModule], exports: [OasysButtonComponent] });
|
|
922
|
+
OasysButtonModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysButtonModule, imports: [[i6.CommonModule, i2.RouterModule, OasysIconModule]] });
|
|
923
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysButtonModule, decorators: [{
|
|
924
|
+
type: i0.NgModule,
|
|
925
|
+
args: [{
|
|
926
|
+
declarations: [OasysButtonComponent],
|
|
927
|
+
imports: [i6.CommonModule, i2.RouterModule, OasysIconModule],
|
|
928
|
+
exports: [OasysButtonComponent],
|
|
929
|
+
}]
|
|
930
|
+
}] });
|
|
765
931
|
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
932
|
+
var LayoutContainerComponent = /** @class */ (function () {
|
|
933
|
+
function LayoutContainerComponent(changes) {
|
|
934
|
+
this.changes = changes;
|
|
935
|
+
this.container_fluid = false;
|
|
936
|
+
this.container_gutter = true;
|
|
937
|
+
this.prefix = 'ui-layout-container';
|
|
938
|
+
}
|
|
939
|
+
LayoutContainerComponent.prototype.ngOnChanges = function () {
|
|
940
|
+
this.ngOnInit();
|
|
941
|
+
this.changes.markForCheck();
|
|
942
|
+
};
|
|
943
|
+
LayoutContainerComponent.prototype.ngOnInit = function () {
|
|
944
|
+
this.containerLayoutClasses = [
|
|
945
|
+
this.prefix,
|
|
946
|
+
this.container_fluid ? this.prefix + "-fluid" : '',
|
|
947
|
+
this.container_gutter ? '' : this.prefix + "-no-gutter"
|
|
948
|
+
].flat(10).filter(Boolean);
|
|
949
|
+
};
|
|
950
|
+
return LayoutContainerComponent;
|
|
951
|
+
}());
|
|
952
|
+
LayoutContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayoutContainerComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
953
|
+
LayoutContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LayoutContainerComponent, selector: "ui-container", inputs: { container_fluid: "container_fluid", container_gutter: "container_gutter" }, host: { properties: { "class": "containerLayoutClasses" } }, usesOnChanges: true, ngImport: i0__namespace, template: "\n <ng-content></ng-content>\n ", isInline: true, styles: [":host{--container-component-gutter-size: var(--semantic-spacing-container-gutter-size-small);display:block;width:100%;max-width:1440px;margin:0 auto;padding:0 var(--container-component-gutter-size)}@media only screen and (max-width: 767px){:host{--container-component-gutter-size: var(--semantic-spacing-container-gutter-size-small)}}@media only screen and (min-width: 768px){:host{--container-component-gutter-size: var(--semantic-spacing-container-gutter-size-small)}}@media only screen and (min-width: 1080px){:host{--container-component-gutter-size: var(--semantic-spacing-container-gutter-size-large)}}@media only screen and (min-width: 1440px){:host{--container-component-gutter-size: var(--semantic-spacing-container-gutter-size-large)}}:host.ui-layout-container-no-gutter{padding:0}@media only screen and (max-width: 767px){:host{max-width:100%}}@media only screen and (min-width: 768px){:host{max-width:calc(767px)}}@media only screen and (min-width: 1080px){:host{max-width:calc(1080px)}}@media only screen and (min-width: 1440px){:host{max-width:calc(1440px)}}:host.ui-layout-container-fluid{max-width:100%}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
954
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayoutContainerComponent, decorators: [{
|
|
955
|
+
type: i0.Component,
|
|
956
|
+
args: [{
|
|
957
|
+
selector: 'ui-container',
|
|
958
|
+
template: "\n <ng-content></ng-content>\n ",
|
|
959
|
+
host: {
|
|
960
|
+
'[class]': 'containerLayoutClasses'
|
|
961
|
+
},
|
|
962
|
+
styleUrls: ['./container.component.scss'],
|
|
963
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
964
|
+
}]
|
|
965
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { container_fluid: [{
|
|
966
|
+
type: i0.Input
|
|
967
|
+
}], container_gutter: [{
|
|
968
|
+
type: i0.Input
|
|
969
|
+
}] } });
|
|
782
970
|
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
selector: 'ui-heading',
|
|
839
|
-
templateUrl: './heading.component.html',
|
|
840
|
-
styleUrls: ['./heading.component.scss'],
|
|
841
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
842
|
-
}]
|
|
843
|
-
}], ctorParameters: function () { return [{ type: TokenService }]; }, propDecorators: { heading_type: [{
|
|
844
|
-
type: i0.Input
|
|
845
|
-
}], heading_on_dark: [{
|
|
846
|
-
type: i0.Input
|
|
847
|
-
}], heading_title: [{
|
|
848
|
-
type: i0.Input
|
|
849
|
-
}], heading_seo_priority: [{
|
|
850
|
-
type: i0.Input
|
|
851
|
-
}], heading_priority: [{
|
|
852
|
-
type: i0.Input
|
|
853
|
-
}], heading_alignment_override: [{
|
|
854
|
-
type: i0.Input
|
|
855
|
-
}], heading_subtitle: [{
|
|
856
|
-
type: i0.Input
|
|
857
|
-
}], heading_surtitle: [{
|
|
858
|
-
type: i0.Input
|
|
859
|
-
}], class: [{
|
|
860
|
-
type: i0.HostBinding,
|
|
861
|
-
args: ['class']
|
|
862
|
-
}] } });
|
|
971
|
+
var LayoutGridColumnComponent = /** @class */ (function () {
|
|
972
|
+
function LayoutGridColumnComponent(changes) {
|
|
973
|
+
this.changes = changes;
|
|
974
|
+
this.didFirstInit = false;
|
|
975
|
+
this.prefix = 'ui-layout-column';
|
|
976
|
+
this.columns = 12;
|
|
977
|
+
}
|
|
978
|
+
LayoutGridColumnComponent.prototype.getSizeClasses = function (columns) {
|
|
979
|
+
var _this = this;
|
|
980
|
+
if (!columns) {
|
|
981
|
+
return [''];
|
|
982
|
+
}
|
|
983
|
+
if (typeof columns === 'object') {
|
|
984
|
+
return Object.keys(columns).map(function (key) {
|
|
985
|
+
return _this.prefix + "-" + key + "-" + columns[key];
|
|
986
|
+
});
|
|
987
|
+
}
|
|
988
|
+
return [
|
|
989
|
+
this.prefix,
|
|
990
|
+
this.prefix + "-col-" + columns
|
|
991
|
+
];
|
|
992
|
+
};
|
|
993
|
+
LayoutGridColumnComponent.prototype.ngOnChanges = function () {
|
|
994
|
+
if (!this.didFirstInit) {
|
|
995
|
+
return;
|
|
996
|
+
}
|
|
997
|
+
this.ngOnInit();
|
|
998
|
+
this.changes.markForCheck();
|
|
999
|
+
};
|
|
1000
|
+
LayoutGridColumnComponent.prototype.ngOnInit = function () {
|
|
1001
|
+
this.columnLayoutClasses = [
|
|
1002
|
+
this.prefix,
|
|
1003
|
+
this.getSizeClasses(this.columns)
|
|
1004
|
+
].flat(10).filter(Boolean);
|
|
1005
|
+
this.didFirstInit = true;
|
|
1006
|
+
};
|
|
1007
|
+
return LayoutGridColumnComponent;
|
|
1008
|
+
}());
|
|
1009
|
+
LayoutGridColumnComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayoutGridColumnComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1010
|
+
LayoutGridColumnComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LayoutGridColumnComponent, selector: "ui-column", inputs: { columns: "columns" }, host: { properties: { "class": "columnLayoutClasses" } }, usesOnChanges: true, ngImport: i0__namespace, template: '<ng-content></ng-content>', isInline: true, styles: ["ui-grid{width:100%}ui-grid.ui-layout-grid-default{grid-gap:var(--semantic-spacing-grid-default);gap:var(--semantic-spacing-grid-default)}ui-grid.ui-layout-grid-none{grid-gap:var(--semantic-spacing-grid-none);gap:var(--semantic-spacing-grid-none)}ui-grid.ui-layout-grid-width-auto{display:flex;flex-wrap:nowrap}ui-grid.ui-layout-grid-width-auto ui-column{flex:1 1 0}ui-grid:not(.ui-layout-grid-width-auto){display:grid;grid-template-columns:repeat(12,1fr)}ui-grid:not(.ui-layout-grid-width-auto) ui-column{grid-column:span 12}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-1{grid-column:span 1}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-2{grid-column:span 2}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-3{grid-column:span 3}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-4{grid-column:span 4}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-5{grid-column:span 5}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-6{grid-column:span 6}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-7{grid-column:span 7}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-8{grid-column:span 8}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-9{grid-column:span 9}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-10{grid-column:span 10}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-11{grid-column:span 11}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-12{grid-column:span 12}@media only screen and (max-width: 767px){ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-1{grid-column:span 1}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-2{grid-column:span 2}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-3{grid-column:span 3}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-4{grid-column:span 4}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-5{grid-column:span 5}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-6{grid-column:span 6}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-7{grid-column:span 7}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-8{grid-column:span 8}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-9{grid-column:span 9}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-10{grid-column:span 10}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-11{grid-column:span 11}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-12{grid-column:span 12}}@media only screen and (min-width: 768px){ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-1{grid-column:span 1}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-2{grid-column:span 2}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-3{grid-column:span 3}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-4{grid-column:span 4}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-5{grid-column:span 5}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-6{grid-column:span 6}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-7{grid-column:span 7}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-8{grid-column:span 8}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-9{grid-column:span 9}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-10{grid-column:span 10}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-11{grid-column:span 11}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-12{grid-column:span 12}}@media only screen and (min-width: 1080px){ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-1{grid-column:span 1}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-2{grid-column:span 2}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-3{grid-column:span 3}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-4{grid-column:span 4}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-5{grid-column:span 5}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-6{grid-column:span 6}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-7{grid-column:span 7}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-8{grid-column:span 8}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-9{grid-column:span 9}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-10{grid-column:span 10}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-11{grid-column:span 11}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-12{grid-column:span 12}}@media only screen and (min-width: 1440px){ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-1{grid-column:span 1}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-2{grid-column:span 2}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-3{grid-column:span 3}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-4{grid-column:span 4}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-5{grid-column:span 5}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-6{grid-column:span 6}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-7{grid-column:span 7}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-8{grid-column:span 8}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-9{grid-column:span 9}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-10{grid-column:span 10}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-11{grid-column:span 11}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-12{grid-column:span 12}}@media only screen and (max-width: 767px){ui-grid.ui-layout-grid-collapse-below-tablet{display:flex;flex-direction:column}}@media only screen and (max-width: 1079px){ui-grid.ui-layout-grid-collapse-below-laptop{display:flex;flex-direction:column}}@media only screen and (max-width: 1439px){ui-grid.ui-layout-grid-collapse-below-desktop{display:flex;flex-direction:column}}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1011
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayoutGridColumnComponent, decorators: [{
|
|
1012
|
+
type: i0.Component,
|
|
1013
|
+
args: [{
|
|
1014
|
+
selector: 'ui-column',
|
|
1015
|
+
template: '<ng-content></ng-content>',
|
|
1016
|
+
host: {
|
|
1017
|
+
'[class]': 'columnLayoutClasses'
|
|
1018
|
+
},
|
|
1019
|
+
styleUrls: ['./grid.component.scss'],
|
|
1020
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
1021
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
1022
|
+
}]
|
|
1023
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { columns: [{
|
|
1024
|
+
type: i0.Input
|
|
1025
|
+
}] } });
|
|
863
1026
|
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
1027
|
+
var LayoutGridComponent = /** @class */ (function () {
|
|
1028
|
+
function LayoutGridComponent(changes) {
|
|
1029
|
+
this.changes = changes;
|
|
1030
|
+
this.didFirstInit = false;
|
|
1031
|
+
this.prefix = 'ui-layout-grid';
|
|
1032
|
+
this.grid_auto = false;
|
|
1033
|
+
this.grid_collapse_below = 'tablet';
|
|
1034
|
+
this.grid_gap = 'default';
|
|
1035
|
+
}
|
|
1036
|
+
LayoutGridComponent.prototype.ngOnChanges = function () {
|
|
1037
|
+
if (!this.didFirstInit) {
|
|
1038
|
+
return;
|
|
1039
|
+
}
|
|
1040
|
+
this.ngOnInit();
|
|
1041
|
+
this.changes.markForCheck();
|
|
1042
|
+
};
|
|
1043
|
+
LayoutGridComponent.prototype.ngOnInit = function () {
|
|
1044
|
+
this.gridLayoutClasses = [
|
|
1045
|
+
this.prefix,
|
|
1046
|
+
this.prefix + "-" + this.grid_gap,
|
|
1047
|
+
this.prefix + "-" + (this.grid_auto ? 'width-auto' : ''),
|
|
1048
|
+
this.prefix + "-collapse-below-" + this.grid_collapse_below,
|
|
1049
|
+
];
|
|
1050
|
+
this.didFirstInit = true;
|
|
1051
|
+
};
|
|
1052
|
+
return LayoutGridComponent;
|
|
1053
|
+
}());
|
|
1054
|
+
LayoutGridComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayoutGridComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1055
|
+
LayoutGridComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LayoutGridComponent, selector: "ui-grid", inputs: { grid_auto: "grid_auto", grid_collapse_below: "grid_collapse_below", grid_gap: "grid_gap" }, host: { properties: { "class": "gridLayoutClasses" } }, usesOnChanges: true, ngImport: i0__namespace, template: '<ng-content></ng-content>', isInline: true, styles: ["ui-grid{width:100%}ui-grid.ui-layout-grid-default{grid-gap:var(--semantic-spacing-grid-default);gap:var(--semantic-spacing-grid-default)}ui-grid.ui-layout-grid-none{grid-gap:var(--semantic-spacing-grid-none);gap:var(--semantic-spacing-grid-none)}ui-grid.ui-layout-grid-width-auto{display:flex;flex-wrap:nowrap}ui-grid.ui-layout-grid-width-auto ui-column{flex:1 1 0}ui-grid:not(.ui-layout-grid-width-auto){display:grid;grid-template-columns:repeat(12,1fr)}ui-grid:not(.ui-layout-grid-width-auto) ui-column{grid-column:span 12}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-1{grid-column:span 1}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-2{grid-column:span 2}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-3{grid-column:span 3}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-4{grid-column:span 4}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-5{grid-column:span 5}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-6{grid-column:span 6}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-7{grid-column:span 7}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-8{grid-column:span 8}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-9{grid-column:span 9}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-10{grid-column:span 10}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-11{grid-column:span 11}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-col-12{grid-column:span 12}@media only screen and (max-width: 767px){ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-1{grid-column:span 1}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-2{grid-column:span 2}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-3{grid-column:span 3}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-4{grid-column:span 4}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-5{grid-column:span 5}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-6{grid-column:span 6}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-7{grid-column:span 7}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-8{grid-column:span 8}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-9{grid-column:span 9}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-10{grid-column:span 10}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-11{grid-column:span 11}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-mobile-12{grid-column:span 12}}@media only screen and (min-width: 768px){ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-1{grid-column:span 1}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-2{grid-column:span 2}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-3{grid-column:span 3}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-4{grid-column:span 4}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-5{grid-column:span 5}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-6{grid-column:span 6}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-7{grid-column:span 7}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-8{grid-column:span 8}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-9{grid-column:span 9}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-10{grid-column:span 10}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-11{grid-column:span 11}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-tablet-12{grid-column:span 12}}@media only screen and (min-width: 1080px){ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-1{grid-column:span 1}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-2{grid-column:span 2}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-3{grid-column:span 3}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-4{grid-column:span 4}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-5{grid-column:span 5}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-6{grid-column:span 6}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-7{grid-column:span 7}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-8{grid-column:span 8}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-9{grid-column:span 9}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-10{grid-column:span 10}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-11{grid-column:span 11}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-laptop-12{grid-column:span 12}}@media only screen and (min-width: 1440px){ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-1{grid-column:span 1}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-2{grid-column:span 2}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-3{grid-column:span 3}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-4{grid-column:span 4}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-5{grid-column:span 5}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-6{grid-column:span 6}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-7{grid-column:span 7}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-8{grid-column:span 8}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-9{grid-column:span 9}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-10{grid-column:span 10}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-11{grid-column:span 11}ui-grid:not(.ui-layout-grid-width-auto) ui-column.ui-layout-column-desktop-12{grid-column:span 12}}@media only screen and (max-width: 767px){ui-grid.ui-layout-grid-collapse-below-tablet{display:flex;flex-direction:column}}@media only screen and (max-width: 1079px){ui-grid.ui-layout-grid-collapse-below-laptop{display:flex;flex-direction:column}}@media only screen and (max-width: 1439px){ui-grid.ui-layout-grid-collapse-below-desktop{display:flex;flex-direction:column}}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1056
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayoutGridComponent, decorators: [{
|
|
1057
|
+
type: i0.Component,
|
|
1058
|
+
args: [{
|
|
1059
|
+
selector: 'ui-grid',
|
|
1060
|
+
template: '<ng-content></ng-content>',
|
|
1061
|
+
host: {
|
|
1062
|
+
'[class]': 'gridLayoutClasses'
|
|
1063
|
+
},
|
|
1064
|
+
styleUrls: ['./grid.component.scss'],
|
|
1065
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
1066
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
1067
|
+
}]
|
|
1068
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { grid_auto: [{
|
|
1069
|
+
type: i0.Input
|
|
1070
|
+
}], grid_collapse_below: [{
|
|
1071
|
+
type: i0.Input
|
|
1072
|
+
}], grid_gap: [{
|
|
1073
|
+
type: i0.Input
|
|
1074
|
+
}] } });
|
|
881
1075
|
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
type: i0.Input
|
|
919
|
-
}], heading_subtitle: [{
|
|
920
|
-
type: i0.Input
|
|
921
|
-
}], heading_surtitle: [{
|
|
922
|
-
type: i0.Input
|
|
923
|
-
}], primary_cta_text: [{
|
|
924
|
-
type: i0.Input
|
|
925
|
-
}], secondary_cta_text: [{
|
|
926
|
-
type: i0.Input
|
|
927
|
-
}], image: [{
|
|
928
|
-
type: i0.Input
|
|
929
|
-
}], alt_text: [{
|
|
930
|
-
type: i0.Input
|
|
931
|
-
}], media_type: [{
|
|
932
|
-
type: i0.Input
|
|
933
|
-
}], href_primary_cta: [{
|
|
934
|
-
type: i0.Input
|
|
935
|
-
}], href_secondary_cta: [{
|
|
936
|
-
type: i0.Input
|
|
937
|
-
}] } });
|
|
1076
|
+
var OasysLayoutModule = /** @class */ (function () {
|
|
1077
|
+
function OasysLayoutModule() {
|
|
1078
|
+
}
|
|
1079
|
+
return OasysLayoutModule;
|
|
1080
|
+
}());
|
|
1081
|
+
OasysLayoutModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysLayoutModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1082
|
+
OasysLayoutModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysLayoutModule, declarations: [LayoutBoxComponent,
|
|
1083
|
+
LayoutContainerComponent,
|
|
1084
|
+
LayoutGridComponent,
|
|
1085
|
+
LayoutGridColumnComponent,
|
|
1086
|
+
LayoutStackComponent], exports: [LayoutBoxComponent,
|
|
1087
|
+
LayoutContainerComponent,
|
|
1088
|
+
LayoutGridComponent,
|
|
1089
|
+
LayoutGridColumnComponent,
|
|
1090
|
+
LayoutStackComponent] });
|
|
1091
|
+
OasysLayoutModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysLayoutModule, providers: [TokenService] });
|
|
1092
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysLayoutModule, decorators: [{
|
|
1093
|
+
type: i0.NgModule,
|
|
1094
|
+
args: [{
|
|
1095
|
+
declarations: [
|
|
1096
|
+
LayoutBoxComponent,
|
|
1097
|
+
LayoutContainerComponent,
|
|
1098
|
+
LayoutGridComponent,
|
|
1099
|
+
LayoutGridColumnComponent,
|
|
1100
|
+
LayoutStackComponent,
|
|
1101
|
+
],
|
|
1102
|
+
exports: [
|
|
1103
|
+
LayoutBoxComponent,
|
|
1104
|
+
LayoutContainerComponent,
|
|
1105
|
+
LayoutGridComponent,
|
|
1106
|
+
LayoutGridColumnComponent,
|
|
1107
|
+
LayoutStackComponent,
|
|
1108
|
+
],
|
|
1109
|
+
providers: [TokenService],
|
|
1110
|
+
}]
|
|
1111
|
+
}] });
|
|
938
1112
|
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
1113
|
+
var OasysAlertModule = /** @class */ (function () {
|
|
1114
|
+
function OasysAlertModule() {
|
|
1115
|
+
}
|
|
1116
|
+
return OasysAlertModule;
|
|
1117
|
+
}());
|
|
1118
|
+
OasysAlertModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysAlertModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1119
|
+
OasysAlertModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysAlertModule, declarations: [OasysAlertCancelDirective,
|
|
1120
|
+
OasysAlertConfirmDirective,
|
|
1121
|
+
OasysAlertContentDirective,
|
|
1122
|
+
OasysAlertTitleDirective,
|
|
1123
|
+
OasysAlertComponent], imports: [i6.CommonModule,
|
|
1124
|
+
OasysLayoutModule,
|
|
1125
|
+
OasysButtonModule,
|
|
1126
|
+
OasysIconModule], exports: [OasysAlertCancelDirective,
|
|
1127
|
+
OasysAlertConfirmDirective,
|
|
1128
|
+
OasysAlertContentDirective,
|
|
1129
|
+
OasysAlertTitleDirective,
|
|
1130
|
+
OasysAlertComponent] });
|
|
1131
|
+
OasysAlertModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysAlertModule, imports: [[
|
|
1132
|
+
i6.CommonModule,
|
|
1133
|
+
OasysLayoutModule,
|
|
1134
|
+
OasysButtonModule,
|
|
1135
|
+
OasysIconModule,
|
|
1136
|
+
]] });
|
|
1137
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysAlertModule, decorators: [{
|
|
1138
|
+
type: i0.NgModule,
|
|
1139
|
+
args: [{
|
|
1140
|
+
declarations: [
|
|
1141
|
+
OasysAlertCancelDirective,
|
|
1142
|
+
OasysAlertConfirmDirective,
|
|
1143
|
+
OasysAlertContentDirective,
|
|
1144
|
+
OasysAlertTitleDirective,
|
|
1145
|
+
OasysAlertComponent,
|
|
1146
|
+
],
|
|
1147
|
+
imports: [
|
|
1148
|
+
i6.CommonModule,
|
|
1149
|
+
OasysLayoutModule,
|
|
1150
|
+
OasysButtonModule,
|
|
1151
|
+
OasysIconModule,
|
|
1152
|
+
],
|
|
1153
|
+
exports: [
|
|
1154
|
+
OasysAlertCancelDirective,
|
|
1155
|
+
OasysAlertConfirmDirective,
|
|
1156
|
+
OasysAlertContentDirective,
|
|
1157
|
+
OasysAlertTitleDirective,
|
|
1158
|
+
OasysAlertComponent,
|
|
1159
|
+
],
|
|
1160
|
+
}]
|
|
1161
|
+
}] });
|
|
956
1162
|
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
this.linksColumnsNumber = 3;
|
|
985
|
-
}
|
|
986
|
-
};
|
|
987
|
-
return SeoBlockComponent;
|
|
988
|
-
}());
|
|
989
|
-
SeoBlockComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SeoBlockComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
990
|
-
SeoBlockComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SeoBlockComponent, selector: "ui-seo-block", inputs: { heading_paragraph: "heading_paragraph", heading_links: "heading_links", main_content: "main_content", expanded_content: "expanded_content", links: "links", read_more_content_text: "read_more_content_text", read_less_content_text: "read_less_content_text", show_more_links_text: "show_more_links_text", show_less_links_text: "show_less_links_text", visible_links_on_mobile: "visible_links_on_mobile" }, ngImport: i0__namespace, template: "<ui-box>\n <ui-grid>\n <ui-column columns=\"6\">\n <ui-box box_space=\"none\" [box_space_right]=\"{\n mobile: 'none',\n tablet: 'expanded',\n laptop: 'expanded',\n desktop: 'expanded'\n }\">\n <ui-stack stack_gap=\"near\">\n <ui-box box_space=\"none\">\n <ui-heading heading_type=\"functional-primary\" heading_title=\"{{ heading_paragraph }}\"></ui-heading>\n </ui-box>\n <ui-box box_space=\"none\">\n <span class=\"text-body--default\" class=\"ui-prose\" [innerHTML]=\"main_content\"></span>\n <span class=\"text-body--default\" class=\"ui-prose\" *ngIf=\"expandedContentVisible\"\n [innerHTML]=\"expanded_content\"></span>\n </ui-box>\n <ui-box box_space=\"none\" *ngIf=\"expanded_content\">\n <span *ngIf=\"!expandedContentVisible\" role=\"button\" (click)=\"showMoreContent(true)\"\n class=\"text-link text-link--standalone\">\n {{read_more_content_text}}\n </span>\n <span *ngIf=\"expandedContentVisible\" role=\"button\" (click)=\"showMoreContent(false)\"\n class=\"text-link text-link--standalone\">\n {{read_less_content_text}}\n </span>\n </ui-box>\n </ui-stack>\n </ui-box>\n </ui-column>\n <ui-column columns=\"6\">\n <ui-box box_space=\"none\">\n <ui-stack stack_gap=\"near\">\n <ui-box box_space=\"none\">\n <ui-heading heading_type=\"functional-secondary\" heading_title=\"{{ heading_links }}\"></ui-heading>\n </ui-box>\n <ui-stack stack_gap=\"tight\">\n <ui-box box_space=\"none\" box_fill_mode=\"fit\" [ngStyle]=\"{'column-count': linksColumnsNumber}\"\n class=\"links-container text-body--supporting\">\n <ng-container *ngFor=\"let link of linksValues; index as i\">\n <ui-box box_space=\"none\" box_space_bottom=\"tight\" box_fill_mode=\"fit\" class=\"link-container\"\n [ngClass]=\"{ 'hidden-mobile': i > 4 && !expandedLinksVisible }\">\n <a href=\"{{ link.href }}\">\n {{ link.name }}\n </a>\n </ui-box>\n </ng-container>\n </ui-box>\n <ui-box box_space=\"none\" class=\"hidden-desktop hidden-tablet\" *ngIf=\"linksValues.length > 4\">\n <span *ngIf=\"!expandedLinksVisible\" (click)=\"showMoreLinks(true)\" class=\"text-link text-link--standalone\">\n {{show_more_links_text}}\n </span>\n <span *ngIf=\"expandedLinksVisible\" (click)=\"showMoreLinks(false)\" class=\"text-link text-link--standalone\">\n {{show_less_links_text}}\n </span>\n </ui-box>\n </ui-stack>\n\n </ui-stack>\n </ui-box>\n </ui-column>\n </ui-grid>\n</ui-box>\n", styles: [".links-container{display:block}@media only screen and (max-width: 767px){.links-container{display:flex}}.links-container .link-container{page-break-inside:avoid;break-inside:avoid-column}\n"], components: [{ type: LayoutBoxComponent, selector: "ui-box", inputs: ["box_space", "box_space_top", "box_space_right", "box_space_bottom", "box_space_left", "box_align_x", "box_align_y", "box_fill_mode", "box_background", "box_content_fill_width"] }, { type: LayoutGridComponent, selector: "ui-grid", inputs: ["grid_auto", "grid_collapse_below", "grid_gap"] }, { type: LayoutGridColumnComponent, selector: "ui-column", inputs: ["columns"] }, { type: LayoutStackComponent, selector: "ui-stack", inputs: ["stack_gap", "stack_align", "stack_direction", "stack_distribute", "stack_wrap"] }, { type: OasysHeadingComponent, selector: "ui-heading", inputs: ["heading_type", "heading_on_dark", "heading_title", "heading_seo_priority", "heading_priority", "heading_alignment_override", "heading_subtitle", "heading_surtitle"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
991
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SeoBlockComponent, decorators: [{
|
|
992
|
-
type: i0.Component,
|
|
993
|
-
args: [{
|
|
994
|
-
selector: 'ui-seo-block',
|
|
995
|
-
templateUrl: './seo-block.component.html',
|
|
996
|
-
styleUrls: ['./seo-block.component.scss'],
|
|
997
|
-
}]
|
|
998
|
-
}], ctorParameters: function () { return []; }, propDecorators: { heading_paragraph: [{
|
|
999
|
-
type: i0.Input
|
|
1000
|
-
}], heading_links: [{
|
|
1001
|
-
type: i0.Input
|
|
1002
|
-
}], main_content: [{
|
|
1003
|
-
type: i0.Input
|
|
1004
|
-
}], expanded_content: [{
|
|
1005
|
-
type: i0.Input
|
|
1006
|
-
}], links: [{
|
|
1007
|
-
type: i0.Input
|
|
1008
|
-
}], read_more_content_text: [{
|
|
1009
|
-
type: i0.Input
|
|
1010
|
-
}], read_less_content_text: [{
|
|
1011
|
-
type: i0.Input
|
|
1012
|
-
}], show_more_links_text: [{
|
|
1013
|
-
type: i0.Input
|
|
1014
|
-
}], show_less_links_text: [{
|
|
1015
|
-
type: i0.Input
|
|
1016
|
-
}], visible_links_on_mobile: [{
|
|
1017
|
-
type: i0.Input
|
|
1018
|
-
}] } });
|
|
1163
|
+
var BreadcrumbsComponent = /** @class */ (function () {
|
|
1164
|
+
function BreadcrumbsComponent() {
|
|
1165
|
+
}
|
|
1166
|
+
BreadcrumbsComponent.prototype.ngOnInit = function () {
|
|
1167
|
+
var _a;
|
|
1168
|
+
if (typeof this.breadcrumbs_values === 'string') {
|
|
1169
|
+
this.values = (_a = JSON.parse(this.breadcrumbs_values)) !== null && _a !== void 0 ? _a : [];
|
|
1170
|
+
}
|
|
1171
|
+
else {
|
|
1172
|
+
this.values = this.breadcrumbs_values;
|
|
1173
|
+
}
|
|
1174
|
+
};
|
|
1175
|
+
return BreadcrumbsComponent;
|
|
1176
|
+
}());
|
|
1177
|
+
BreadcrumbsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BreadcrumbsComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1178
|
+
BreadcrumbsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: BreadcrumbsComponent, selector: "ui-breadcrumbs", inputs: { breadcrumbs_values: "breadcrumbs_values" }, ngImport: i0__namespace, template: "<ui-box box_fill_mode=\"fill\" box_space=\"near\" box_background=\"core-secondary\" *ngIf=\"values\">\n <nav aria-label=\"breadcrumbs\">\n <ui-stack stack_gap=\"none\" stack_direction=\"x\" stack_align=\"center\" stack_wrap=\"true\">\n <ng-container *ngFor=\"let item of values; let i = index\">\n <!-- Link followed by an icon -->\n <ui-box box_space=\"none\" box_background=\"none\" box_fill_mode=\"fit\">\n <ui-stack stack_direction=\"x\" stack_align=\"center\" stack_wrap=\"false\" stack_gap=\"none\">\n <ui-button *ngIf=\"i<values.length-1\" button_size=\"small\" button_type=\"tertiary\" button_full_width=\"true\" href=\"{{item.href}}\"> \n <span #buttontext> {{item.name}} </span>\n </ui-button> \n <ui-icon *ngIf=\"i<values.length-1\" icon_name=\"chevron-right\" icon_size=\"small\" icon_class=\"buttonIcon\" aria-hidden=\"true\"></ui-icon>\n </ui-stack>\n </ui-box>\n <!-- Last link and current page -->\n <ui-button *ngIf=\"i===values.length-1\" button_size=\"small\" button_type=\"tertiary\" button_full_width=\"true\" href=\"{{item.href}}\" [attr.aria-current]=\"item.name\"> \n <span #buttontext> {{item.name}} </span>\n </ui-button> \n </ng-container>\n </ui-stack>\n </nav>\n</ui-box>\n", styles: ["ui-breadcrumbs{display:contents}ui-breadcrumbs nav{display:block}\n"], components: [{ type: LayoutBoxComponent, selector: "ui-box", inputs: ["box_space", "box_space_top", "box_space_right", "box_space_bottom", "box_space_left", "box_align_x", "box_align_y", "box_fill_mode", "box_background", "box_content_fill_width"] }, { type: LayoutStackComponent, selector: "ui-stack", inputs: ["stack_gap", "stack_align", "stack_direction", "stack_distribute", "stack_wrap"] }, { type: OasysButtonComponent, selector: "ui-button", inputs: ["button_icon", "button_icon_placement", "button_size", "button_full_width", "button_type", "button_disabled", "href"], outputs: ["clicked"] }, { type: IconComponent, selector: "ui-icon", inputs: ["icon_size", "icon_name", "icon_context", "icon_width", "icon_height", "icon_class"] }], directives: [{ type: i6__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1179
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BreadcrumbsComponent, decorators: [{
|
|
1180
|
+
type: i0.Component,
|
|
1181
|
+
args: [{
|
|
1182
|
+
selector: 'ui-breadcrumbs',
|
|
1183
|
+
templateUrl: './breadcrumbs.component.html',
|
|
1184
|
+
styleUrls: ['./breadcrumbs.component.scss'],
|
|
1185
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
1186
|
+
}]
|
|
1187
|
+
}], ctorParameters: function () { return []; }, propDecorators: { breadcrumbs_values: [{
|
|
1188
|
+
type: i0.Input
|
|
1189
|
+
}] } });
|
|
1019
1190
|
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysSeoBlockModule, decorators: [{
|
|
1037
|
-
type: i0.NgModule,
|
|
1038
|
-
args: [{
|
|
1039
|
-
declarations: [SeoBlockComponent],
|
|
1040
|
-
imports: [
|
|
1041
|
-
i3.CommonModule,
|
|
1042
|
-
OasysButtonModule,
|
|
1043
|
-
OasysHeadingModule,
|
|
1044
|
-
OasysLayoutModule,
|
|
1045
|
-
],
|
|
1046
|
-
exports: [SeoBlockComponent],
|
|
1047
|
-
providers: [TokenService],
|
|
1048
|
-
}]
|
|
1049
|
-
}] });
|
|
1191
|
+
var OasysBreadcrumbModule = /** @class */ (function () {
|
|
1192
|
+
function OasysBreadcrumbModule() {
|
|
1193
|
+
}
|
|
1194
|
+
return OasysBreadcrumbModule;
|
|
1195
|
+
}());
|
|
1196
|
+
OasysBreadcrumbModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysBreadcrumbModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1197
|
+
OasysBreadcrumbModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysBreadcrumbModule, declarations: [BreadcrumbsComponent], imports: [i6.CommonModule, OasysButtonModule, OasysIconModule, OasysLayoutModule], exports: [BreadcrumbsComponent] });
|
|
1198
|
+
OasysBreadcrumbModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysBreadcrumbModule, imports: [[i6.CommonModule, OasysButtonModule, OasysIconModule, OasysLayoutModule]] });
|
|
1199
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysBreadcrumbModule, decorators: [{
|
|
1200
|
+
type: i0.NgModule,
|
|
1201
|
+
args: [{
|
|
1202
|
+
declarations: [BreadcrumbsComponent],
|
|
1203
|
+
imports: [i6.CommonModule, OasysButtonModule, OasysIconModule, OasysLayoutModule],
|
|
1204
|
+
exports: [BreadcrumbsComponent],
|
|
1205
|
+
}]
|
|
1206
|
+
}] });
|
|
1050
1207
|
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1208
|
+
var CardComponent = /** @class */ (function () {
|
|
1209
|
+
function CardComponent(tokenService) {
|
|
1210
|
+
this.tokenService = tokenService;
|
|
1211
|
+
}
|
|
1212
|
+
CardComponent.prototype.ngOnInit = function () {
|
|
1213
|
+
this.aspectRatio = this.setImageAspectRatio(this.image_format);
|
|
1214
|
+
};
|
|
1215
|
+
/**
|
|
1216
|
+
* This function retrieves the appropriate design token value based on the passed imageFormat choice
|
|
1217
|
+
*
|
|
1218
|
+
* @param format - The format of the image e.g. square, portrait, landscape
|
|
1219
|
+
* @returns - string to be used as the aspect ratio
|
|
1220
|
+
*/
|
|
1221
|
+
CardComponent.prototype.setImageAspectRatio = function (format) {
|
|
1222
|
+
switch (format) {
|
|
1223
|
+
case 'square':
|
|
1224
|
+
return this.tokenService.getTokenValue('--component-card-aspect-ratio-square');
|
|
1225
|
+
case 'portrait':
|
|
1226
|
+
return this.tokenService.getTokenValue('--component-card-aspect-ratio-portrait');
|
|
1227
|
+
case 'landscape':
|
|
1228
|
+
return this.tokenService.getTokenValue('--component-card-aspect-ratio-landscape');
|
|
1229
|
+
default:
|
|
1230
|
+
return this.tokenService.getTokenValue('--component-card-aspect-ratio-portrait');
|
|
1231
|
+
}
|
|
1232
|
+
};
|
|
1233
|
+
return CardComponent;
|
|
1234
|
+
}());
|
|
1235
|
+
CardComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CardComponent, deps: [{ token: TokenService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1236
|
+
CardComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CardComponent, selector: "ui-card", inputs: { card_link: "card_link", label_text: "label_text", image: "image", alt_text: "alt_text", image_format: "image_format", small_title_left: "small_title_left", small_sub_title_right: "small_sub_title_right", standard_content: "standard_content", bold_content: "bold_content" }, host: { listeners: { "window:resize": "imageLabel($event)" } }, viewQueries: [{ propertyName: "imageLabel", first: true, predicate: ["imagelabel"], descendants: true, read: i0.ElementRef }], ngImport: i0__namespace, template: "<ng-template #content>\n <ui-box class=\"ui-card\" box_background=\"core-primary\" box_space=\"near\">\n <ui-stack stack_align=\"center\" stack_gap=\"none\"> \n <ui-box \n class=\"ui-card__image\"\n [ngStyle]=\"{'aspect-ratio': aspectRatio}\" \n box_background=\"transparent\" \n box_align_x=\"center\" \n box_space=\"none\">\n <img [src]=\"image\" [attr.alt]=\"alt_text\">\n </ui-box>\n <ui-stack stack_gap=\"tight\" [ngStyle]=\"{'margin-top': '-' + (imageLabel?.nativeElement?.offsetHeight/2) + 'px'}\">\n <ui-box\n #imagelabel \n *ngIf=\"label_text\"\n class=\"card__image-label center-content\" \n box_background=\"tint-highlight\" \n box_align_x=\"center\" \n box_align_y=\"center\"\n box_space_left=\"near\"\n box_space_right=\"near\"\n box_space_bottom=\"tight\"\n box_space_top=\"tight\">\n <h5>{{label_text}}</h5>\n </ui-box>\n <ui-box *ngIf=\"small_title_left || small_sub_title_right\" [box_space_top]=\"label_text ? 'none' : 'tight'\" box_space=\"none\" box_background=\"transparent\" > \n <ui-stack stack_direction=\"x\" stack_distribute=\"space-between\" stack_gap=\"tight\">\n <span class=\"text-body--supporting text-color--supporting\">{{small_title_left}}</span>\n <span class=\"text-body--supporting text-color--supporting\">{{small_sub_title_right}}</span>\n </ui-stack>\n </ui-box>\n <p *ngIf=\"standard_content\" class=\"text-label--default center-content\">{{standard_content}}</p>\n <p *ngIf=\"bold_content\" class=\"text-label--primary text-body--emphasis\">{{bold_content}}</p>\n </ui-stack> \n </ui-stack>\n </ui-box>\n</ng-template>\n\n<!-- Wrap the content in an <a> tag if the card is a link -->\n<a *ngIf=\"card_link\" [routerLink]=\"cardLink || null\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</a>\n<!-- Display the content as normal if the card is not a link -->\n<ng-container *ngIf=\"!card_link\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</ng-container>\n", styles: [".ui-card__image{position:relative}.ui-card__image img{position:absolute;height:100%;object-fit:cover;width:100%;left:0}.ui-card .center-content{text-align:center;align-self:center}.ui-card .card__image-label{width:auto;height:auto;border-radius:2px;margin:0 8px;text-align:center;overflow:hidden;z-index:2}\n"], components: [{ type: LayoutBoxComponent, selector: "ui-box", inputs: ["box_space", "box_space_top", "box_space_right", "box_space_bottom", "box_space_left", "box_align_x", "box_align_y", "box_fill_mode", "box_background", "box_content_fill_width"] }, { type: LayoutStackComponent, selector: "ui-stack", inputs: ["stack_gap", "stack_align", "stack_direction", "stack_distribute", "stack_wrap"] }], directives: [{ type: i6__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i6__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
1237
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CardComponent, decorators: [{
|
|
1238
|
+
type: i0.Component,
|
|
1239
|
+
args: [{
|
|
1240
|
+
selector: 'ui-card',
|
|
1241
|
+
templateUrl: './card.component.html',
|
|
1242
|
+
styleUrls: ['./card.component.scss']
|
|
1243
|
+
}]
|
|
1244
|
+
}], ctorParameters: function () { return [{ type: TokenService }]; }, propDecorators: { imageLabel: [{
|
|
1245
|
+
type: i0.HostListener,
|
|
1246
|
+
args: ['window:resize', ['$event']]
|
|
1247
|
+
}, {
|
|
1248
|
+
type: i0.ViewChild,
|
|
1249
|
+
args: ["imagelabel", { static: false, read: i0.ElementRef }]
|
|
1250
|
+
}], card_link: [{
|
|
1251
|
+
type: i0.Input
|
|
1252
|
+
}], label_text: [{
|
|
1253
|
+
type: i0.Input
|
|
1254
|
+
}], image: [{
|
|
1255
|
+
type: i0.Input
|
|
1256
|
+
}], alt_text: [{
|
|
1257
|
+
type: i0.Input
|
|
1258
|
+
}], image_format: [{
|
|
1259
|
+
type: i0.Input
|
|
1260
|
+
}], small_title_left: [{
|
|
1261
|
+
type: i0.Input
|
|
1262
|
+
}], small_sub_title_right: [{
|
|
1263
|
+
type: i0.Input
|
|
1264
|
+
}], standard_content: [{
|
|
1265
|
+
type: i0.Input
|
|
1266
|
+
}], bold_content: [{
|
|
1267
|
+
type: i0.Input
|
|
1268
|
+
}] } });
|
|
1084
1269
|
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1270
|
+
var OasysCardModule = /** @class */ (function () {
|
|
1271
|
+
function OasysCardModule() {
|
|
1272
|
+
}
|
|
1273
|
+
return OasysCardModule;
|
|
1274
|
+
}());
|
|
1275
|
+
OasysCardModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysCardModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1276
|
+
OasysCardModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysCardModule, declarations: [CardComponent], imports: [i6.CommonModule, OasysLayoutModule], exports: [CardComponent] });
|
|
1277
|
+
OasysCardModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysCardModule, providers: [TokenService], imports: [[i6.CommonModule, OasysLayoutModule]] });
|
|
1278
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysCardModule, decorators: [{
|
|
1279
|
+
type: i0.NgModule,
|
|
1280
|
+
args: [{
|
|
1281
|
+
declarations: [CardComponent],
|
|
1282
|
+
imports: [i6.CommonModule, OasysLayoutModule],
|
|
1283
|
+
exports: [CardComponent],
|
|
1284
|
+
providers: [TokenService],
|
|
1285
|
+
}]
|
|
1286
|
+
}] });
|
|
1101
1287
|
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
}
|
|
1142
|
-
}
|
|
1143
|
-
};
|
|
1144
|
-
return SectionComponent;
|
|
1145
|
-
}());
|
|
1146
|
-
SectionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SectionComponent, deps: [{ token: TokenService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1147
|
-
SectionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SectionComponent, selector: "ui-section", inputs: { brand_background_colour: "brand_background_colour", non_brand_background_colour: "non_brand_background_colour", text_on_dark_override: "text_on_dark_override", image_on_left: "image_on_left", section_type: "section_type", heading_title: "heading_title", heading_subtitle: "heading_subtitle", primary_cta_text: "primary_cta_text", secondary_cta_text: "secondary_cta_text", image: "image", alt_text: "alt_text", href_primary_cta: "href_primary_cta", href_secondary_cta: "href_secondary_cta" }, ngImport: i0__namespace, template: "<ui-box\nid=\"ui-box-{{uiBoxId}}\"\n[box_background]=\"brand_background_colour\"\n[box_space_left]=\"section_type === 'spotlight' && !image_on_left ? 'none' : ''\"\n[box_space_right]=\"section_type === 'spotlight' && image_on_left ? 'none' : ''\"\n[box_space]=\"section_type === 'spotlight' ? 'none' : {mobile: containerInsetSpaceSmall, tablet: containerInsetSpaceLarge, laptop: containerInsetSpaceLarge, desktop: containerInsetSpaceLarge}\">\n\n <ui-grid [grid_gap]=\"section_type === 'spotlight' ? 'none' : 'default'\">\n <ui-column columns=\"6\" [ngClass]=\"{'image-left': image_on_left, 'image-top-mobile': image_on_left}\">\n <ui-box\n \n box_space=\"none\"\n box_background=\"none\"\n box_align_y=\"center\"\n >\n <img [src]=\"image\" [alt]=\"alt_text\" loading=\"lazy\">\n </ui-box>\n </ui-column>\n\n <ui-column columns=\"6\">\n <ui-box\n [box_background]=\"brand_background_colour\"\n box_align_y=\"center\"\n [box_space]=\"section_type === 'spotlight' ? {mobile: contentInsetSpaceSmall, tablet: contentInsetSpaceLarge, laptop: contentInsetSpaceLarge, desktop: contentInsetSpaceLarge} : {mobile: contentInsetSpaceSmall, tablet: contentInsetSpaceSmall, laptop: contentInsetSpaceLarge, desktop: contentInsetSpaceLarge}\">\n <ui-stack\n stack_direction=\"y\"\n stack_align=\"center\"\n stack_distribute=\"center\"\n stack_wrap=\"true\"\n >\n <ui-heading\n [heading_type]=\"section_type === 'spotlight' ? 'primary' : 'functional-primary'\"\n [heading_title]=\"heading_title\"\n [heading_subtitle]=\"heading_subtitle\">\n </ui-heading>\n\n <ui-stack\n stack_direction=\"x\"\n stack_align=\"start\"\n [stack_distribute]=\"section_type === 'spotlight' ? 'center' : 'start'\"\n stack_wrap=\"true\"\n stack_gap=\"near\">\n\n <a class=\"text-link text-link--standalone\" [href]=\"href_primary_cta\">{{primary_cta_text}}</a>\n <a *ngIf=\"section_type !== 'spotlight'\" class=\"text-link text-link--standalone\" [href]=\"href_secondary_cta\">{{secondary_cta_text}}</a>\n\n </ui-stack>\n </ui-stack>\n </ui-box>\n </ui-column>\n </ui-grid>\n</ui-box>", styles: ["ui-grid ui-column img{width:100%;display:block}ui-grid .image-left{order:1}@media only screen and (max-width: 767px){ui-grid .image-top-mobile{order:0}}\n"], components: [{ type: LayoutBoxComponent, selector: "ui-box", inputs: ["box_space", "box_space_top", "box_space_right", "box_space_bottom", "box_space_left", "box_align_x", "box_align_y", "box_fill_mode", "box_background", "box_content_fill_width"] }, { type: LayoutGridComponent, selector: "ui-grid", inputs: ["grid_auto", "grid_collapse_below", "grid_gap"] }, { type: LayoutGridColumnComponent, selector: "ui-column", inputs: ["columns"] }, { type: LayoutStackComponent, selector: "ui-stack", inputs: ["stack_gap", "stack_align", "stack_direction", "stack_distribute", "stack_wrap"] }, { type: OasysHeadingComponent, selector: "ui-heading", inputs: ["heading_type", "heading_on_dark", "heading_title", "heading_seo_priority", "heading_priority", "heading_alignment_override", "heading_subtitle", "heading_surtitle"] }], directives: [{ type: i3__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1148
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SectionComponent, decorators: [{
|
|
1149
|
-
type: i0.Component,
|
|
1150
|
-
args: [{
|
|
1151
|
-
selector: 'ui-section',
|
|
1152
|
-
templateUrl: './section.component.html',
|
|
1153
|
-
styleUrls: ['./section.component.scss']
|
|
1154
|
-
}]
|
|
1155
|
-
}], ctorParameters: function () { return [{ type: TokenService }]; }, propDecorators: { brand_background_colour: [{
|
|
1156
|
-
type: i0.Input
|
|
1157
|
-
}], non_brand_background_colour: [{
|
|
1158
|
-
type: i0.Input
|
|
1159
|
-
}], text_on_dark_override: [{
|
|
1160
|
-
type: i0.Input
|
|
1161
|
-
}], image_on_left: [{
|
|
1162
|
-
type: i0.Input
|
|
1163
|
-
}], section_type: [{
|
|
1164
|
-
type: i0.Input
|
|
1165
|
-
}], heading_title: [{
|
|
1166
|
-
type: i0.Input
|
|
1167
|
-
}], heading_subtitle: [{
|
|
1168
|
-
type: i0.Input
|
|
1169
|
-
}], primary_cta_text: [{
|
|
1170
|
-
type: i0.Input
|
|
1171
|
-
}], secondary_cta_text: [{
|
|
1172
|
-
type: i0.Input
|
|
1173
|
-
}], image: [{
|
|
1174
|
-
type: i0.Input
|
|
1175
|
-
}], alt_text: [{
|
|
1176
|
-
type: i0.Input
|
|
1177
|
-
}], href_primary_cta: [{
|
|
1178
|
-
type: i0.Input
|
|
1179
|
-
}], href_secondary_cta: [{
|
|
1180
|
-
type: i0.Input
|
|
1181
|
-
}] } });
|
|
1288
|
+
var DividerComponent = /** @class */ (function () {
|
|
1289
|
+
function DividerComponent() {
|
|
1290
|
+
this.divider_type = 'secondary';
|
|
1291
|
+
}
|
|
1292
|
+
DividerComponent.prototype.getClass = function () {
|
|
1293
|
+
return this.divider_type === 'secondary' ? "ui-divider--type-" + this.divider_type : "ui-divider--type-" + this.divider_type;
|
|
1294
|
+
};
|
|
1295
|
+
return DividerComponent;
|
|
1296
|
+
}());
|
|
1297
|
+
DividerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DividerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1298
|
+
DividerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DividerComponent, selector: "ui-divider", inputs: { divider_type: "divider_type" }, ngImport: i0__namespace, template: "<ui-box box_fill_mode=\"fill\" box_space=\"none\" box_background=\"core-secondary\" [ngClass]=\"getClass()\"></ui-box>", styles: ["ui-divider{display:block;width:100%}ui-divider ui-box.ui-divider--type-secondary:after{content:\"\";display:block;height:var(--global-size-unit-01);width:100%}ui-divider ui-box.ui-divider--type-primary:after{content:\"\";display:block;height:var(--global-size-unit-08);width:100%}\n"], components: [{ type: LayoutBoxComponent, selector: "ui-box", inputs: ["box_space", "box_space_top", "box_space_right", "box_space_bottom", "box_space_left", "box_align_x", "box_align_y", "box_fill_mode", "box_background", "box_content_fill_width"] }], directives: [{ type: i6__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1299
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DividerComponent, decorators: [{
|
|
1300
|
+
type: i0.Component,
|
|
1301
|
+
args: [{
|
|
1302
|
+
selector: 'ui-divider',
|
|
1303
|
+
templateUrl: './divider.component.html',
|
|
1304
|
+
styleUrls: ['./divider.component.scss'],
|
|
1305
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
1306
|
+
}]
|
|
1307
|
+
}], propDecorators: { divider_type: [{
|
|
1308
|
+
type: i0.Input
|
|
1309
|
+
}] } });
|
|
1310
|
+
|
|
1311
|
+
var OasysDividerModule = /** @class */ (function () {
|
|
1312
|
+
function OasysDividerModule() {
|
|
1313
|
+
}
|
|
1314
|
+
return OasysDividerModule;
|
|
1315
|
+
}());
|
|
1316
|
+
OasysDividerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysDividerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1317
|
+
OasysDividerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysDividerModule, declarations: [DividerComponent], imports: [i6.CommonModule, OasysLayoutModule], exports: [DividerComponent] });
|
|
1318
|
+
OasysDividerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysDividerModule, imports: [[i6.CommonModule, OasysLayoutModule]] });
|
|
1319
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysDividerModule, decorators: [{
|
|
1320
|
+
type: i0.NgModule,
|
|
1321
|
+
args: [{
|
|
1322
|
+
declarations: [DividerComponent],
|
|
1323
|
+
imports: [i6.CommonModule, OasysLayoutModule],
|
|
1324
|
+
exports: [DividerComponent],
|
|
1325
|
+
}]
|
|
1326
|
+
}] });
|
|
1182
1327
|
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1328
|
+
var OasysHeadingComponent = /** @class */ (function () {
|
|
1329
|
+
function OasysHeadingComponent(tokenService) {
|
|
1330
|
+
this.tokenService = tokenService;
|
|
1331
|
+
this.heading_type = 'primary';
|
|
1332
|
+
this.heading_seo_priority = false;
|
|
1333
|
+
this.heading_subtitle = '';
|
|
1334
|
+
this.heading_surtitle = '';
|
|
1335
|
+
}
|
|
1336
|
+
Object.defineProperty(OasysHeadingComponent.prototype, "class", {
|
|
1337
|
+
get: function () {
|
|
1338
|
+
return "\n " + (this.heading_on_dark ? 'text-color--on-dark' : '') + "\n ui-heading-alignment-" + this.headingAlignment + "\n ";
|
|
1339
|
+
},
|
|
1340
|
+
enumerable: false,
|
|
1341
|
+
configurable: true
|
|
1342
|
+
});
|
|
1343
|
+
OasysHeadingComponent.prototype.headingTypeIsFunctional = function (headingType) {
|
|
1344
|
+
return (headingType || '').indexOf('functional') !== -1;
|
|
1345
|
+
};
|
|
1346
|
+
OasysHeadingComponent.prototype.setupHeadingStackAlignment = function (headingType) {
|
|
1347
|
+
if (this.heading_alignment_override) {
|
|
1348
|
+
this.headingAlignment = this.heading_alignment_override;
|
|
1349
|
+
return;
|
|
1350
|
+
}
|
|
1351
|
+
var alignment = this.tokenService.getTokenValue('--component-heading-alignment-default');
|
|
1352
|
+
var functionalAlignment = this.tokenService.getTokenValue('--component-heading-alignment-functional');
|
|
1353
|
+
this.headingAlignment = this.headingTypeIsFunctional(headingType) ? functionalAlignment : alignment;
|
|
1354
|
+
};
|
|
1355
|
+
OasysHeadingComponent.prototype.setupHeadingStackGap = function (headingType) {
|
|
1356
|
+
if (this.headingTypeIsFunctional(headingType)) {
|
|
1357
|
+
this.headingGap = this.tokenService.getTokenValue('--component-heading-gap-functional');
|
|
1358
|
+
return;
|
|
1359
|
+
}
|
|
1360
|
+
if (this.heading_type === 'secondary') {
|
|
1361
|
+
this.headingGap = this.tokenService.getTokenValue('--component-heading-gap-secondary');
|
|
1362
|
+
return;
|
|
1363
|
+
}
|
|
1364
|
+
if (this.heading_type === 'primary') {
|
|
1365
|
+
this.headingGap = this.tokenService.getTokenValue('--component-heading-gap-primary');
|
|
1366
|
+
return;
|
|
1367
|
+
}
|
|
1368
|
+
// Hero gap
|
|
1369
|
+
this.headingGap = this.tokenService.getTokenValue('--component-heading-gap-default');
|
|
1370
|
+
};
|
|
1371
|
+
OasysHeadingComponent.prototype.ngOnInit = function () {
|
|
1372
|
+
this.setupHeadingStackAlignment(this.heading_type);
|
|
1373
|
+
this.setupHeadingStackGap(this.heading_type);
|
|
1374
|
+
this.heading_priority = this.heading_priority || this.heading_seo_priority ? 1 : 2;
|
|
1375
|
+
};
|
|
1376
|
+
return OasysHeadingComponent;
|
|
1377
|
+
}());
|
|
1378
|
+
OasysHeadingComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysHeadingComponent, deps: [{ token: TokenService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1379
|
+
OasysHeadingComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OasysHeadingComponent, selector: "ui-heading", inputs: { heading_type: "heading_type", heading_on_dark: "heading_on_dark", heading_title: "heading_title", heading_seo_priority: "heading_seo_priority", heading_priority: "heading_priority", heading_alignment_override: "heading_alignment_override", heading_subtitle: "heading_subtitle", heading_surtitle: "heading_surtitle" }, host: { properties: { "class": "this.class" } }, ngImport: i0__namespace, template: "<div>\n <ui-stack [stack_align]=\"headingAlignment\" [stack_gap]=\"headingGap\">\n\n <p *ngIf=\"heading_surtitle && heading_surtitle.length\" class=\"heading-surtitle text-body--supporting text-color--supporting\">\n {{heading_surtitle}}\n </p>\n\n <ng-template #content>\n <span\n class=\"heading-title\"\n [ngClass]=\"{\n 'text-heading': !headingTypeIsFunctional(heading_type),\n 'text-heading--functional': headingTypeIsFunctional(heading_type),\n\n 'text-heading--hero': heading_type === 'hero',\n 'text-heading--primary': heading_type === 'primary',\n 'text-heading--secondary': heading_type === 'secondary',\n 'text-heading--functional--primary': heading_type === 'functional-primary',\n 'text-heading--functional--secondary': heading_type === 'functional-secondary'\n }\"\n >{{heading_title}}</span>\n </ng-template>\n\n <h1 role=\"heading\" [attr.aria-level]=\"heading_priority\" class=\"seo-h1\" *ngIf=\"heading_seo_priority\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </h1>\n <span role=\"heading\" [attr.aria-level]=\"heading_priority\" *ngIf=\"!heading_seo_priority\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </span>\n\n <p\n *ngIf=\"heading_subtitle && heading_subtitle.length\"\n class=\"heading-subtitle\"\n [ngClass]=\"{\n 'text-body--hero': heading_type === 'hero',\n 'text-body--default': heading_type !== 'hero'\n }\"\n >{{heading_subtitle}}</p>\n\n </ui-stack>\n</div>", styles: ["ui-heading.ui-heading-alignment-start{text-align:start}ui-heading.ui-heading-alignment-center{text-align:center}\n"], components: [{ type: LayoutStackComponent, selector: "ui-stack", inputs: ["stack_gap", "stack_align", "stack_direction", "stack_distribute", "stack_wrap"] }], directives: [{ type: i6__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1380
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysHeadingComponent, decorators: [{
|
|
1381
|
+
type: i0.Component,
|
|
1382
|
+
args: [{
|
|
1383
|
+
selector: 'ui-heading',
|
|
1384
|
+
templateUrl: './heading.component.html',
|
|
1385
|
+
styleUrls: ['./heading.component.scss'],
|
|
1386
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
1387
|
+
}]
|
|
1388
|
+
}], ctorParameters: function () { return [{ type: TokenService }]; }, propDecorators: { heading_type: [{
|
|
1389
|
+
type: i0.Input
|
|
1390
|
+
}], heading_on_dark: [{
|
|
1391
|
+
type: i0.Input
|
|
1392
|
+
}], heading_title: [{
|
|
1393
|
+
type: i0.Input
|
|
1394
|
+
}], heading_seo_priority: [{
|
|
1395
|
+
type: i0.Input
|
|
1396
|
+
}], heading_priority: [{
|
|
1397
|
+
type: i0.Input
|
|
1398
|
+
}], heading_alignment_override: [{
|
|
1399
|
+
type: i0.Input
|
|
1400
|
+
}], heading_subtitle: [{
|
|
1401
|
+
type: i0.Input
|
|
1402
|
+
}], heading_surtitle: [{
|
|
1403
|
+
type: i0.Input
|
|
1404
|
+
}], class: [{
|
|
1405
|
+
type: i0.HostBinding,
|
|
1406
|
+
args: ['class']
|
|
1407
|
+
}] } });
|
|
1408
|
+
|
|
1409
|
+
var OasysHeadingModule = /** @class */ (function () {
|
|
1410
|
+
function OasysHeadingModule() {
|
|
1411
|
+
}
|
|
1412
|
+
return OasysHeadingModule;
|
|
1413
|
+
}());
|
|
1414
|
+
OasysHeadingModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysHeadingModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1415
|
+
OasysHeadingModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysHeadingModule, declarations: [OasysHeadingComponent], imports: [i6.CommonModule, OasysLayoutModule], exports: [OasysHeadingComponent] });
|
|
1416
|
+
OasysHeadingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysHeadingModule, providers: [TokenService], imports: [[i6.CommonModule, OasysLayoutModule]] });
|
|
1417
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysHeadingModule, decorators: [{
|
|
1418
|
+
type: i0.NgModule,
|
|
1419
|
+
args: [{
|
|
1420
|
+
declarations: [OasysHeadingComponent],
|
|
1421
|
+
imports: [i6.CommonModule, OasysLayoutModule],
|
|
1422
|
+
exports: [OasysHeadingComponent],
|
|
1423
|
+
providers: [TokenService],
|
|
1424
|
+
}]
|
|
1425
|
+
}] });
|
|
1426
|
+
|
|
1427
|
+
var HeroComponent = /** @class */ (function () {
|
|
1428
|
+
function HeroComponent(tokenService) {
|
|
1429
|
+
this.tokenService = tokenService;
|
|
1430
|
+
this.image_left_desktop = false;
|
|
1431
|
+
this.image_top_mobile = true;
|
|
1432
|
+
this.media_type = 'image';
|
|
1433
|
+
// Event input variables
|
|
1434
|
+
this.href_primary_cta = '';
|
|
1435
|
+
this.href_secondary_cta = '';
|
|
1436
|
+
}
|
|
1437
|
+
HeroComponent.prototype.ngOnInit = function () {
|
|
1438
|
+
this.heroCtaAlignment = this.tokenService.getTokenValue('--component-hero-actions-alignment');
|
|
1439
|
+
this.backgroundIsDark = this.tokenService.getTokenValue("--semantic-on-dark-" + this.background_colour);
|
|
1440
|
+
this.heroInsetSpaceSmall = this.tokenService.getTokenValue("--component-hero-inset-spacing-small");
|
|
1441
|
+
this.heroInsetSpaceLarge = this.tokenService.getTokenValue("--component-hero-inset-spacing-large");
|
|
1442
|
+
};
|
|
1443
|
+
return HeroComponent;
|
|
1444
|
+
}());
|
|
1445
|
+
HeroComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HeroComponent, deps: [{ token: TokenService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1446
|
+
HeroComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: HeroComponent, selector: "ui-hero", inputs: { min_container_height: "min_container_height", image_left_desktop: "image_left_desktop", image_top_mobile: "image_top_mobile", background_colour: "background_colour", heading_title: "heading_title", heading_subtitle: "heading_subtitle", heading_surtitle: "heading_surtitle", primary_cta_text: "primary_cta_text", secondary_cta_text: "secondary_cta_text", image: "image", alt_text: "alt_text", media_type: "media_type", href_primary_cta: "href_primary_cta", href_secondary_cta: "href_secondary_cta" }, ngImport: i0__namespace, template: "<ui-box [box_background]=\"background_colour\" box_space=\"none\">\n <ui-grid [ngStyle]=\"{'min-height' : min_container_height ? min_container_height + 'px' : 'auto'}\" grid_gap=\"none\" grid_collapse_below=\"tablet\">\n <ui-column columns=\"5\" [ngClass]=\"{'image-left': image_left_desktop, 'image-top': image_top_mobile}\">\n <ui-box box_fill_mode=\"fill\" box_align_y=\"center\" box_background=\"transparent\" [box_space]=\"{mobile: heroInsetSpaceSmall, tablet: heroInsetSpaceSmall, laptop: heroInsetSpaceLarge, desktop: heroInsetSpaceLarge}\">\n <ui-stack stack_direction=\"y\" stack_align=\"center\" stack_distribute=\"center\" stack_gap=\"default\">\n <ui-heading\n heading_type=\"primary\"\n [heading_on_dark]=\"backgroundIsDark === 'on-dark' ? true : false\"\n [heading_title]=\"heading_title\"\n [heading_seo_priority]=\"true\"\n [heading_subtitle]=\"heading_subtitle\"\n [heading_surtitle]=\"heading_surtitle\">\n </ui-heading>\n <!-- TODO: replace with ui-button-group once built-->\n <ui-stack\n *ngIf=\"primary_cta_text\"\n class=\"cta-container\"\n stack_direction=\"x\"\n [stack_align]=\"heroCtaAlignment\"\n [stack_distribute]=\"heroCtaAlignment\"\n stack_wrap=\"true\"\n stack_gap=\"near\">\n <ui-button\n button_size=\"large\"\n [button_type]=\"backgroundIsDark === 'on-dark' ? 'primary-inverse' : 'primary'\"\n [href]=\"href_primary_cta\">\n <span #buttontext>{{primary_cta_text}}</span>\n </ui-button>\n <ui-button\n *ngIf=\"secondary_cta_text\"\n button-size=\"large\"\n [button_type]=\"backgroundIsDark === 'on-dark' ? 'secondary-inverse' : 'secondary'\"\n [href]=\"href_secondary_cta\">\n <span #buttontext>{{secondary_cta_text}}</span>\n </ui-button>\n </ui-stack>\n </ui-stack>\n </ui-box>\n </ui-column>\n <ui-column columns=\"7\">\n <picture *ngIf=\"media_type === 'image'\">\n <source [srcset]=\"image + '?w=880&h=880&fm=webp&q=75 1x,' + image + '?w=1760&h=1760&fm=webp&q=40 2x'\" media=\"(min-width: 1440px)\" type=\"image/webp\">\n <source [srcset]=\"image + '?w=720&h=720&fm=webp&q=75 1x,' + image + '?w=1440&h=1440&fm=webp&q=40 2x'\" media=\"(min-width: 1200px)\" type=\"image/webp\">\n <source [srcset]=\"image + '?w=580&h=580&fm=webp&q=75 1x,' + image + '?w=1160&h=1160&fm=webp&q=40 2x'\" media=\"(min-width: 992px)\" type=\"image/webp\">\n <source [srcset]=\"image + '?w=430&h=430&fm=webp&q=75 1x,' + image + '?w=860&h=860&fm=webp&q=40 2x'\" media=\"(min-width: 768px)\" type=\"image/webp\">\n <source [srcset]=\"image + '?w=720&h=720&fm=webp&q=40 2x'\" media=\"(min-width: 454px)\" type=\"image/webp\">\n <img [src]=\"image + '?w=430&h=430&fm=webp&q=75'\" [attr.alt]=\"alt_text\">\n </picture>\n <ng-content *ngIf=\"media_type === 'video'\"></ng-content>\n </ui-column>\n </ui-grid>\n</ui-box>\n\n", styles: ["ui-grid ui-column{position:relative}ui-grid ui-column img{width:100%}@media only screen and (min-width: 768px){ui-grid ui-column img{position:absolute;height:100%;object-fit:cover}}@media only screen and (max-width: 767px){ui-grid .image-top{order:1}}@media only screen and (min-width: 768px){ui-grid .image-top{order:0}ui-grid .image-left{order:1}}\n"], components: [{ type: LayoutBoxComponent, selector: "ui-box", inputs: ["box_space", "box_space_top", "box_space_right", "box_space_bottom", "box_space_left", "box_align_x", "box_align_y", "box_fill_mode", "box_background", "box_content_fill_width"] }, { type: LayoutGridComponent, selector: "ui-grid", inputs: ["grid_auto", "grid_collapse_below", "grid_gap"] }, { type: LayoutGridColumnComponent, selector: "ui-column", inputs: ["columns"] }, { type: LayoutStackComponent, selector: "ui-stack", inputs: ["stack_gap", "stack_align", "stack_direction", "stack_distribute", "stack_wrap"] }, { type: OasysHeadingComponent, selector: "ui-heading", inputs: ["heading_type", "heading_on_dark", "heading_title", "heading_seo_priority", "heading_priority", "heading_alignment_override", "heading_subtitle", "heading_surtitle"] }, { type: OasysButtonComponent, selector: "ui-button", inputs: ["button_icon", "button_icon_placement", "button_size", "button_full_width", "button_type", "button_disabled", "href"], outputs: ["clicked"] }], directives: [{ type: i6__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i6__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1447
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HeroComponent, decorators: [{
|
|
1448
|
+
type: i0.Component,
|
|
1449
|
+
args: [{
|
|
1450
|
+
selector: 'ui-hero',
|
|
1451
|
+
templateUrl: './hero.component.html',
|
|
1452
|
+
styleUrls: ['./hero.component.scss']
|
|
1453
|
+
}]
|
|
1454
|
+
}], ctorParameters: function () { return [{ type: TokenService }]; }, propDecorators: { min_container_height: [{
|
|
1455
|
+
type: i0.Input
|
|
1456
|
+
}], image_left_desktop: [{
|
|
1457
|
+
type: i0.Input
|
|
1458
|
+
}], image_top_mobile: [{
|
|
1459
|
+
type: i0.Input
|
|
1460
|
+
}], background_colour: [{
|
|
1461
|
+
type: i0.Input
|
|
1462
|
+
}], heading_title: [{
|
|
1463
|
+
type: i0.Input
|
|
1464
|
+
}], heading_subtitle: [{
|
|
1465
|
+
type: i0.Input
|
|
1466
|
+
}], heading_surtitle: [{
|
|
1467
|
+
type: i0.Input
|
|
1468
|
+
}], primary_cta_text: [{
|
|
1469
|
+
type: i0.Input
|
|
1470
|
+
}], secondary_cta_text: [{
|
|
1471
|
+
type: i0.Input
|
|
1472
|
+
}], image: [{
|
|
1473
|
+
type: i0.Input
|
|
1474
|
+
}], alt_text: [{
|
|
1475
|
+
type: i0.Input
|
|
1476
|
+
}], media_type: [{
|
|
1477
|
+
type: i0.Input
|
|
1478
|
+
}], href_primary_cta: [{
|
|
1479
|
+
type: i0.Input
|
|
1480
|
+
}], href_secondary_cta: [{
|
|
1481
|
+
type: i0.Input
|
|
1482
|
+
}] } });
|
|
1483
|
+
|
|
1484
|
+
var OasysHeroModule = /** @class */ (function () {
|
|
1485
|
+
function OasysHeroModule() {
|
|
1486
|
+
}
|
|
1487
|
+
return OasysHeroModule;
|
|
1488
|
+
}());
|
|
1489
|
+
OasysHeroModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysHeroModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1490
|
+
OasysHeroModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysHeroModule, declarations: [HeroComponent], imports: [i6.CommonModule, OasysButtonModule, OasysHeadingModule, OasysLayoutModule], exports: [HeroComponent] });
|
|
1491
|
+
OasysHeroModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysHeroModule, providers: [TokenService], imports: [[i6.CommonModule, OasysButtonModule, OasysHeadingModule, OasysLayoutModule]] });
|
|
1492
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysHeroModule, decorators: [{
|
|
1493
|
+
type: i0.NgModule,
|
|
1494
|
+
args: [{
|
|
1495
|
+
declarations: [HeroComponent],
|
|
1496
|
+
imports: [i6.CommonModule, OasysButtonModule, OasysHeadingModule, OasysLayoutModule],
|
|
1497
|
+
exports: [HeroComponent],
|
|
1498
|
+
providers: [TokenService],
|
|
1499
|
+
}]
|
|
1500
|
+
}] });
|
|
1501
|
+
|
|
1502
|
+
var SeoBlockComponent = /** @class */ (function () {
|
|
1503
|
+
function SeoBlockComponent() {
|
|
1504
|
+
this.expandedLinksVisible = false;
|
|
1505
|
+
this.expandedContentVisible = false;
|
|
1506
|
+
}
|
|
1507
|
+
SeoBlockComponent.prototype.showMoreLinks = function (flag) {
|
|
1508
|
+
this.expandedLinksVisible = flag;
|
|
1509
|
+
};
|
|
1510
|
+
SeoBlockComponent.prototype.showMoreContent = function (flag) {
|
|
1511
|
+
this.expandedContentVisible = flag;
|
|
1512
|
+
};
|
|
1513
|
+
SeoBlockComponent.prototype.ngOnInit = function () {
|
|
1514
|
+
var _a;
|
|
1515
|
+
// This is to fix a bug in Oasys that threats arrays as string initially
|
|
1516
|
+
if (typeof this.links === 'string') {
|
|
1517
|
+
this.linksValues = (_a = JSON.parse(this.links)) !== null && _a !== void 0 ? _a : [];
|
|
1518
|
+
}
|
|
1519
|
+
else {
|
|
1520
|
+
this.linksValues = this.links;
|
|
1521
|
+
}
|
|
1522
|
+
if (this.linksValues.length <= 10) {
|
|
1523
|
+
this.linksColumnsNumber = 1;
|
|
1524
|
+
}
|
|
1525
|
+
else if (this.linksValues.length <= 20) {
|
|
1526
|
+
this.linksColumnsNumber = 2;
|
|
1527
|
+
}
|
|
1528
|
+
else {
|
|
1529
|
+
this.linksColumnsNumber = 3;
|
|
1530
|
+
}
|
|
1531
|
+
};
|
|
1532
|
+
return SeoBlockComponent;
|
|
1533
|
+
}());
|
|
1534
|
+
SeoBlockComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SeoBlockComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1535
|
+
SeoBlockComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SeoBlockComponent, selector: "ui-seo-block", inputs: { heading_paragraph: "heading_paragraph", heading_links: "heading_links", main_content: "main_content", expanded_content: "expanded_content", links: "links", read_more_content_text: "read_more_content_text", read_less_content_text: "read_less_content_text", show_more_links_text: "show_more_links_text", show_less_links_text: "show_less_links_text", visible_links_on_mobile: "visible_links_on_mobile" }, ngImport: i0__namespace, template: "<ui-box>\n <ui-grid>\n <ui-column columns=\"6\">\n <ui-box box_space=\"none\" [box_space_right]=\"{\n mobile: 'none',\n tablet: 'expanded',\n laptop: 'expanded',\n desktop: 'expanded'\n }\">\n <ui-stack stack_gap=\"near\">\n <ui-box box_space=\"none\">\n <ui-heading heading_type=\"functional-primary\" heading_title=\"{{ heading_paragraph }}\"></ui-heading>\n </ui-box>\n <ui-box box_space=\"none\">\n <span class=\"text-body--default\" class=\"ui-prose\" [innerHTML]=\"main_content\"></span>\n <span class=\"text-body--default\" class=\"ui-prose\" *ngIf=\"expandedContentVisible\"\n [innerHTML]=\"expanded_content\"></span>\n </ui-box>\n <ui-box box_space=\"none\" *ngIf=\"expanded_content\">\n <span *ngIf=\"!expandedContentVisible\" role=\"button\" (click)=\"showMoreContent(true)\"\n class=\"text-link text-link--standalone\">\n {{read_more_content_text}}\n </span>\n <span *ngIf=\"expandedContentVisible\" role=\"button\" (click)=\"showMoreContent(false)\"\n class=\"text-link text-link--standalone\">\n {{read_less_content_text}}\n </span>\n </ui-box>\n </ui-stack>\n </ui-box>\n </ui-column>\n <ui-column columns=\"6\">\n <ui-box box_space=\"none\">\n <ui-stack stack_gap=\"near\">\n <ui-box box_space=\"none\">\n <ui-heading heading_type=\"functional-secondary\" heading_title=\"{{ heading_links }}\"></ui-heading>\n </ui-box>\n <ui-stack stack_gap=\"tight\">\n <ui-box box_space=\"none\" box_fill_mode=\"fit\" [ngStyle]=\"{'column-count': linksColumnsNumber}\"\n class=\"links-container text-body--supporting\">\n <ng-container *ngFor=\"let link of linksValues; index as i\">\n <ui-box box_space=\"none\" box_space_bottom=\"tight\" box_fill_mode=\"fit\" class=\"link-container\"\n [ngClass]=\"{ 'hidden-mobile': i > 4 && !expandedLinksVisible }\">\n <a href=\"{{ link.href }}\">\n {{ link.name }}\n </a>\n </ui-box>\n </ng-container>\n </ui-box>\n <ui-box box_space=\"none\" class=\"hidden-desktop hidden-tablet\" *ngIf=\"linksValues.length > 4\">\n <span *ngIf=\"!expandedLinksVisible\" (click)=\"showMoreLinks(true)\" class=\"text-link text-link--standalone\">\n {{show_more_links_text}}\n </span>\n <span *ngIf=\"expandedLinksVisible\" (click)=\"showMoreLinks(false)\" class=\"text-link text-link--standalone\">\n {{show_less_links_text}}\n </span>\n </ui-box>\n </ui-stack>\n\n </ui-stack>\n </ui-box>\n </ui-column>\n </ui-grid>\n</ui-box>\n", styles: [".links-container{display:block}@media only screen and (max-width: 767px){.links-container{display:flex}}.links-container .link-container{page-break-inside:avoid;break-inside:avoid-column}\n"], components: [{ type: LayoutBoxComponent, selector: "ui-box", inputs: ["box_space", "box_space_top", "box_space_right", "box_space_bottom", "box_space_left", "box_align_x", "box_align_y", "box_fill_mode", "box_background", "box_content_fill_width"] }, { type: LayoutGridComponent, selector: "ui-grid", inputs: ["grid_auto", "grid_collapse_below", "grid_gap"] }, { type: LayoutGridColumnComponent, selector: "ui-column", inputs: ["columns"] }, { type: LayoutStackComponent, selector: "ui-stack", inputs: ["stack_gap", "stack_align", "stack_direction", "stack_distribute", "stack_wrap"] }, { type: OasysHeadingComponent, selector: "ui-heading", inputs: ["heading_type", "heading_on_dark", "heading_title", "heading_seo_priority", "heading_priority", "heading_alignment_override", "heading_subtitle", "heading_surtitle"] }], directives: [{ type: i6__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i6__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1536
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SeoBlockComponent, decorators: [{
|
|
1537
|
+
type: i0.Component,
|
|
1538
|
+
args: [{
|
|
1539
|
+
selector: 'ui-seo-block',
|
|
1540
|
+
templateUrl: './seo-block.component.html',
|
|
1541
|
+
styleUrls: ['./seo-block.component.scss'],
|
|
1542
|
+
}]
|
|
1543
|
+
}], ctorParameters: function () { return []; }, propDecorators: { heading_paragraph: [{
|
|
1544
|
+
type: i0.Input
|
|
1545
|
+
}], heading_links: [{
|
|
1546
|
+
type: i0.Input
|
|
1547
|
+
}], main_content: [{
|
|
1548
|
+
type: i0.Input
|
|
1549
|
+
}], expanded_content: [{
|
|
1550
|
+
type: i0.Input
|
|
1551
|
+
}], links: [{
|
|
1552
|
+
type: i0.Input
|
|
1553
|
+
}], read_more_content_text: [{
|
|
1554
|
+
type: i0.Input
|
|
1555
|
+
}], read_less_content_text: [{
|
|
1556
|
+
type: i0.Input
|
|
1557
|
+
}], show_more_links_text: [{
|
|
1558
|
+
type: i0.Input
|
|
1559
|
+
}], show_less_links_text: [{
|
|
1560
|
+
type: i0.Input
|
|
1561
|
+
}], visible_links_on_mobile: [{
|
|
1562
|
+
type: i0.Input
|
|
1563
|
+
}] } });
|
|
1564
|
+
|
|
1565
|
+
var OasysSeoBlockModule = /** @class */ (function () {
|
|
1566
|
+
function OasysSeoBlockModule() {
|
|
1567
|
+
}
|
|
1568
|
+
return OasysSeoBlockModule;
|
|
1569
|
+
}());
|
|
1570
|
+
OasysSeoBlockModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysSeoBlockModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1571
|
+
OasysSeoBlockModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysSeoBlockModule, declarations: [SeoBlockComponent], imports: [i6.CommonModule,
|
|
1572
|
+
OasysButtonModule,
|
|
1573
|
+
OasysHeadingModule,
|
|
1574
|
+
OasysLayoutModule], exports: [SeoBlockComponent] });
|
|
1575
|
+
OasysSeoBlockModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysSeoBlockModule, providers: [TokenService], imports: [[
|
|
1576
|
+
i6.CommonModule,
|
|
1577
|
+
OasysButtonModule,
|
|
1578
|
+
OasysHeadingModule,
|
|
1579
|
+
OasysLayoutModule,
|
|
1580
|
+
]] });
|
|
1581
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysSeoBlockModule, decorators: [{
|
|
1582
|
+
type: i0.NgModule,
|
|
1583
|
+
args: [{
|
|
1584
|
+
declarations: [SeoBlockComponent],
|
|
1585
|
+
imports: [
|
|
1586
|
+
i6.CommonModule,
|
|
1587
|
+
OasysButtonModule,
|
|
1588
|
+
OasysHeadingModule,
|
|
1589
|
+
OasysLayoutModule,
|
|
1590
|
+
],
|
|
1591
|
+
exports: [SeoBlockComponent],
|
|
1592
|
+
providers: [TokenService],
|
|
1593
|
+
}]
|
|
1594
|
+
}] });
|
|
1595
|
+
|
|
1596
|
+
var TextComponent = /** @class */ (function () {
|
|
1597
|
+
function TextComponent() {
|
|
1598
|
+
this.textAlign = 'left';
|
|
1599
|
+
this.textWeight = 'normal';
|
|
1600
|
+
this.textTransform = 'none';
|
|
1601
|
+
}
|
|
1602
|
+
TextComponent.prototype.ngOnInit = function () {
|
|
1603
|
+
this.uiTextClasses = [
|
|
1604
|
+
"ui-text--align-" + this.textAlign,
|
|
1605
|
+
"ui-text--weight-" + this.textWeight,
|
|
1606
|
+
"ui-text--transform-" + this.textTransform,
|
|
1607
|
+
].join(' ');
|
|
1608
|
+
};
|
|
1609
|
+
return TextComponent;
|
|
1610
|
+
}());
|
|
1611
|
+
TextComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TextComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1612
|
+
TextComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TextComponent, selector: "ui-text", inputs: { textAlign: "textAlign", textWeight: "textWeight", textTransform: "textTransform" }, ngImport: i0__namespace, template: "<span class=\"ui-text\" [ngClass]=\"uiTextClasses\"><ng-content></ng-content></span>", styles: [".ui-text{font-size:var(--size-font-base);font-family:var(--font-family-body);font-weight:var(--font-weight-normal)}.ui-text.ui-text--weight-medium{font-weight:var(--font-weight-medium)}.ui-text.ui-text--weight-bold{font-weight:var(--font-weight-bold)}.ui-text.ui-text--transform-uppercase{text-transform:uppercase}.ui-text.ui-text--align-left{text-align:left}.ui-text.ui-text--align-center{text-align:center}.ui-text.ui-text--align-right{text-align:right}\n"], directives: [{ type: i6__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1613
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TextComponent, decorators: [{
|
|
1614
|
+
type: i0.Component,
|
|
1615
|
+
args: [{
|
|
1616
|
+
selector: 'ui-text',
|
|
1617
|
+
templateUrl: './text.component.html',
|
|
1618
|
+
styleUrls: ['./text.component.scss'],
|
|
1619
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
1620
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
1621
|
+
}]
|
|
1622
|
+
}], ctorParameters: function () { return []; }, propDecorators: { textAlign: [{
|
|
1623
|
+
type: i0.Input
|
|
1624
|
+
}], textWeight: [{
|
|
1625
|
+
type: i0.Input
|
|
1626
|
+
}], textTransform: [{
|
|
1627
|
+
type: i0.Input
|
|
1628
|
+
}] } });
|
|
1629
|
+
|
|
1630
|
+
var OasysTextModule = /** @class */ (function () {
|
|
1631
|
+
function OasysTextModule() {
|
|
1632
|
+
}
|
|
1633
|
+
return OasysTextModule;
|
|
1634
|
+
}());
|
|
1635
|
+
OasysTextModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysTextModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1636
|
+
OasysTextModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysTextModule, declarations: [TextComponent], imports: [i6.CommonModule], exports: [TextComponent] });
|
|
1637
|
+
OasysTextModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysTextModule, imports: [[i6.CommonModule]] });
|
|
1638
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OasysTextModule, decorators: [{
|
|
1639
|
+
type: i0.NgModule,
|
|
1640
|
+
args: [{
|
|
1641
|
+
declarations: [TextComponent],
|
|
1642
|
+
imports: [i6.CommonModule],
|
|
1643
|
+
exports: [TextComponent],
|
|
1644
|
+
}]
|
|
1645
|
+
}] });
|
|
1646
|
+
|
|
1647
|
+
var SectionComponent = /** @class */ (function () {
|
|
1648
|
+
function SectionComponent(tokenService) {
|
|
1649
|
+
this.tokenService = tokenService;
|
|
1650
|
+
this.text_on_dark_override = false; // This is for custom/non-brand BG colours
|
|
1651
|
+
this.image_on_left = false;
|
|
1652
|
+
this.section_type = 'inform';
|
|
1653
|
+
// Event input variables
|
|
1654
|
+
this.href_primary_cta = '';
|
|
1655
|
+
this.href_secondary_cta = '';
|
|
1656
|
+
this.outterContainer = {};
|
|
1657
|
+
this.innerContainer = {};
|
|
1658
|
+
}
|
|
1659
|
+
SectionComponent.prototype.ngAfterViewInit = function () {
|
|
1660
|
+
if (this.non_brand_background_colour) {
|
|
1661
|
+
this.setNonBrandBackgroundColour();
|
|
1662
|
+
}
|
|
1663
|
+
this.backgroundIsDark = this.tokenService.getTokenValue("--semantic-on-dark-" + this.brand_background_colour);
|
|
1664
|
+
};
|
|
1665
|
+
SectionComponent.prototype.ngOnInit = function () {
|
|
1666
|
+
this.containerInsetSpaceSmall = this.tokenService.getTokenValue("--component-section-inset-spacing-container-small");
|
|
1667
|
+
this.containerInsetSpaceLarge = this.tokenService.getTokenValue("--component-section-inset-spacing-container-large");
|
|
1668
|
+
this.contentInsetSpaceSmall = this.tokenService.getTokenValue("--component-section-inset-spacing-content-small-" + this.section_type);
|
|
1669
|
+
this.contentInsetSpaceLarge = this.tokenService.getTokenValue("--component-section-inset-spacing-content-large-" + this.section_type);
|
|
1670
|
+
// Setting a unique ID, this is important & needed to apply
|
|
1671
|
+
// styles to ui-box
|
|
1672
|
+
this.uiBoxId = Date.now() + '-' + Math.random();
|
|
1673
|
+
};
|
|
1674
|
+
/**
|
|
1675
|
+
* Users are able to set custom non brand background colours
|
|
1676
|
+
* If a non brand background colour is provided we ignore branded colours
|
|
1677
|
+
* even if they are provided.
|
|
1678
|
+
*/
|
|
1679
|
+
SectionComponent.prototype.setNonBrandBackgroundColour = function () {
|
|
1680
|
+
var box = document.getElementById("ui-box-" + this.uiBoxId);
|
|
1681
|
+
if (box) {
|
|
1682
|
+
this.brand_background_colour = undefined;
|
|
1683
|
+
box.style.background = this.non_brand_background_colour;
|
|
1684
|
+
if (this.text_on_dark_override) {
|
|
1685
|
+
box.classList.add('text-color--on-dark');
|
|
1686
|
+
}
|
|
1687
|
+
}
|
|
1688
|
+
};
|
|
1689
|
+
return SectionComponent;
|
|
1690
|
+
}());
|
|
1691
|
+
SectionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SectionComponent, deps: [{ token: TokenService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1692
|
+
SectionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SectionComponent, selector: "ui-section", inputs: { brand_background_colour: "brand_background_colour", non_brand_background_colour: "non_brand_background_colour", text_on_dark_override: "text_on_dark_override", image_on_left: "image_on_left", section_type: "section_type", heading_title: "heading_title", heading_subtitle: "heading_subtitle", primary_cta_text: "primary_cta_text", secondary_cta_text: "secondary_cta_text", image: "image", alt_text: "alt_text", href_primary_cta: "href_primary_cta", href_secondary_cta: "href_secondary_cta" }, ngImport: i0__namespace, template: "<ui-box\nid=\"ui-box-{{uiBoxId}}\"\n[box_background]=\"brand_background_colour\"\n[box_space_left]=\"section_type === 'spotlight' && !image_on_left ? 'none' : ''\"\n[box_space_right]=\"section_type === 'spotlight' && image_on_left ? 'none' : ''\"\n[box_space]=\"section_type === 'spotlight' ? 'none' : {mobile: containerInsetSpaceSmall, tablet: containerInsetSpaceLarge, laptop: containerInsetSpaceLarge, desktop: containerInsetSpaceLarge}\">\n\n <ui-grid [grid_gap]=\"section_type === 'spotlight' ? 'none' : 'default'\">\n <ui-column columns=\"6\" [ngClass]=\"{'image-left': image_on_left, 'image-top-mobile': image_on_left}\">\n <ui-box\n \n box_space=\"none\"\n box_background=\"none\"\n box_align_y=\"center\"\n >\n <img [src]=\"image\" [alt]=\"alt_text\" loading=\"lazy\">\n </ui-box>\n </ui-column>\n\n <ui-column columns=\"6\">\n <ui-box\n [box_background]=\"brand_background_colour\"\n box_align_y=\"center\"\n [box_space]=\"section_type === 'spotlight' ? {mobile: contentInsetSpaceSmall, tablet: contentInsetSpaceLarge, laptop: contentInsetSpaceLarge, desktop: contentInsetSpaceLarge} : {mobile: contentInsetSpaceSmall, tablet: contentInsetSpaceSmall, laptop: contentInsetSpaceLarge, desktop: contentInsetSpaceLarge}\">\n <ui-stack\n stack_direction=\"y\"\n stack_align=\"center\"\n stack_distribute=\"center\"\n stack_wrap=\"true\"\n >\n <ui-heading\n [heading_type]=\"section_type === 'spotlight' ? 'primary' : 'functional-primary'\"\n [heading_title]=\"heading_title\"\n [heading_subtitle]=\"heading_subtitle\">\n </ui-heading>\n\n <ui-stack\n stack_direction=\"x\"\n stack_align=\"start\"\n [stack_distribute]=\"section_type === 'spotlight' ? 'center' : 'start'\"\n stack_wrap=\"true\"\n stack_gap=\"near\">\n\n <a class=\"text-link text-link--standalone\" [href]=\"href_primary_cta\">{{primary_cta_text}}</a>\n <a *ngIf=\"section_type !== 'spotlight'\" class=\"text-link text-link--standalone\" [href]=\"href_secondary_cta\">{{secondary_cta_text}}</a>\n\n </ui-stack>\n </ui-stack>\n </ui-box>\n </ui-column>\n </ui-grid>\n</ui-box>", styles: ["ui-grid ui-column img{width:100%;display:block}ui-grid .image-left{order:1}@media only screen and (max-width: 767px){ui-grid .image-top-mobile{order:0}}\n"], components: [{ type: LayoutBoxComponent, selector: "ui-box", inputs: ["box_space", "box_space_top", "box_space_right", "box_space_bottom", "box_space_left", "box_align_x", "box_align_y", "box_fill_mode", "box_background", "box_content_fill_width"] }, { type: LayoutGridComponent, selector: "ui-grid", inputs: ["grid_auto", "grid_collapse_below", "grid_gap"] }, { type: LayoutGridColumnComponent, selector: "ui-column", inputs: ["columns"] }, { type: LayoutStackComponent, selector: "ui-stack", inputs: ["stack_gap", "stack_align", "stack_direction", "stack_distribute", "stack_wrap"] }, { type: OasysHeadingComponent, selector: "ui-heading", inputs: ["heading_type", "heading_on_dark", "heading_title", "heading_seo_priority", "heading_priority", "heading_alignment_override", "heading_subtitle", "heading_surtitle"] }], directives: [{ type: i6__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1693
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SectionComponent, decorators: [{
|
|
1694
|
+
type: i0.Component,
|
|
1695
|
+
args: [{
|
|
1696
|
+
selector: 'ui-section',
|
|
1697
|
+
templateUrl: './section.component.html',
|
|
1698
|
+
styleUrls: ['./section.component.scss']
|
|
1699
|
+
}]
|
|
1700
|
+
}], ctorParameters: function () { return [{ type: TokenService }]; }, propDecorators: { brand_background_colour: [{
|
|
1701
|
+
type: i0.Input
|
|
1702
|
+
}], non_brand_background_colour: [{
|
|
1703
|
+
type: i0.Input
|
|
1704
|
+
}], text_on_dark_override: [{
|
|
1705
|
+
type: i0.Input
|
|
1706
|
+
}], image_on_left: [{
|
|
1707
|
+
type: i0.Input
|
|
1708
|
+
}], section_type: [{
|
|
1709
|
+
type: i0.Input
|
|
1710
|
+
}], heading_title: [{
|
|
1711
|
+
type: i0.Input
|
|
1712
|
+
}], heading_subtitle: [{
|
|
1713
|
+
type: i0.Input
|
|
1714
|
+
}], primary_cta_text: [{
|
|
1715
|
+
type: i0.Input
|
|
1716
|
+
}], secondary_cta_text: [{
|
|
1717
|
+
type: i0.Input
|
|
1718
|
+
}], image: [{
|
|
1719
|
+
type: i0.Input
|
|
1720
|
+
}], alt_text: [{
|
|
1721
|
+
type: i0.Input
|
|
1722
|
+
}], href_primary_cta: [{
|
|
1723
|
+
type: i0.Input
|
|
1724
|
+
}], href_secondary_cta: [{
|
|
1725
|
+
type: i0.Input
|
|
1726
|
+
}] } });
|
|
1727
|
+
|
|
1728
|
+
var SectionModule = /** @class */ (function () {
|
|
1729
|
+
function SectionModule() {
|
|
1730
|
+
}
|
|
1731
|
+
return SectionModule;
|
|
1732
|
+
}());
|
|
1733
|
+
SectionModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SectionModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1734
|
+
SectionModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SectionModule, declarations: [SectionComponent], imports: [i6.CommonModule, OasysHeadingModule, OasysLayoutModule], exports: [SectionComponent] });
|
|
1735
|
+
SectionModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SectionModule, providers: [TokenService], imports: [[i6.CommonModule, OasysHeadingModule, OasysLayoutModule]] });
|
|
1736
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SectionModule, decorators: [{
|
|
1737
|
+
type: i0.NgModule,
|
|
1738
|
+
args: [{
|
|
1739
|
+
declarations: [SectionComponent],
|
|
1740
|
+
imports: [i6.CommonModule, OasysHeadingModule, OasysLayoutModule],
|
|
1741
|
+
exports: [SectionComponent],
|
|
1742
|
+
providers: [TokenService]
|
|
1743
|
+
}]
|
|
1744
|
+
}] });
|
|
1200
1745
|
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1746
|
+
/*
|
|
1747
|
+
* Public API Surface of oasys-lib
|
|
1748
|
+
*/
|
|
1204
1749
|
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1750
|
+
/**
|
|
1751
|
+
* Generated bundle index. Do not edit.
|
|
1752
|
+
*/
|
|
1208
1753
|
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1754
|
+
exports.BreadcrumbsComponent = BreadcrumbsComponent;
|
|
1755
|
+
exports.CardComponent = CardComponent;
|
|
1756
|
+
exports.DividerComponent = DividerComponent;
|
|
1757
|
+
exports.HeroComponent = HeroComponent;
|
|
1758
|
+
exports.IconComponent = IconComponent;
|
|
1759
|
+
exports.LayoutBoxComponent = LayoutBoxComponent;
|
|
1760
|
+
exports.LayoutContainerComponent = LayoutContainerComponent;
|
|
1761
|
+
exports.LayoutGridColumnComponent = LayoutGridColumnComponent;
|
|
1762
|
+
exports.LayoutGridComponent = LayoutGridComponent;
|
|
1763
|
+
exports.LayoutStackComponent = LayoutStackComponent;
|
|
1764
|
+
exports.OasysAlertCancelDirective = OasysAlertCancelDirective;
|
|
1765
|
+
exports.OasysAlertComponent = OasysAlertComponent;
|
|
1766
|
+
exports.OasysAlertConfirmDirective = OasysAlertConfirmDirective;
|
|
1767
|
+
exports.OasysAlertContentDirective = OasysAlertContentDirective;
|
|
1768
|
+
exports.OasysAlertModule = OasysAlertModule;
|
|
1769
|
+
exports.OasysAlertTitleDirective = OasysAlertTitleDirective;
|
|
1770
|
+
exports.OasysBreadcrumbModule = OasysBreadcrumbModule;
|
|
1771
|
+
exports.OasysButtonComponent = OasysButtonComponent;
|
|
1772
|
+
exports.OasysButtonModule = OasysButtonModule;
|
|
1773
|
+
exports.OasysCardModule = OasysCardModule;
|
|
1774
|
+
exports.OasysDividerModule = OasysDividerModule;
|
|
1775
|
+
exports.OasysHeadingComponent = OasysHeadingComponent;
|
|
1776
|
+
exports.OasysHeadingModule = OasysHeadingModule;
|
|
1777
|
+
exports.OasysHeroModule = OasysHeroModule;
|
|
1778
|
+
exports.OasysIconModule = OasysIconModule;
|
|
1779
|
+
exports.OasysLayoutModule = OasysLayoutModule;
|
|
1780
|
+
exports.OasysSeoBlockModule = OasysSeoBlockModule;
|
|
1781
|
+
exports.OasysTextModule = OasysTextModule;
|
|
1782
|
+
exports.SectionComponent = SectionComponent;
|
|
1783
|
+
exports.SectionModule = SectionModule;
|
|
1784
|
+
exports.SeoBlockComponent = SeoBlockComponent;
|
|
1785
|
+
exports.TextComponent = TextComponent;
|
|
1235
1786
|
|
|
1236
|
-
|
|
1787
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1237
1788
|
|
|
1238
1789
|
}));
|
|
1239
1790
|
//# sourceMappingURL=oasys-lib.umd.js.map
|