@gravitee/ui-particles-angular 7.56.0 → 7.56.1
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/esm2020/lib/gio-license-expiration-notification/gio-license-expiration-notification.component.mjs +72 -0
- package/esm2020/lib/gio-license-expiration-notification/gio-license-expiration-notification.harness.mjs +44 -0
- package/esm2020/lib/gio-license-expiration-notification/gio-license-expiration-notification.module.mjs +36 -0
- package/esm2020/lib/public-api.mjs +4 -1
- package/fesm2015/gravitee-ui-particles-angular.mjs +136 -1
- package/fesm2015/gravitee-ui-particles-angular.mjs.map +1 -1
- package/fesm2020/gravitee-ui-particles-angular.mjs +141 -1
- package/fesm2020/gravitee-ui-particles-angular.mjs.map +1 -1
- package/lib/gio-license-expiration-notification/gio-license-expiration-notification.component.d.ts +17 -0
- package/lib/gio-license-expiration-notification/gio-license-expiration-notification.harness.d.ts +13 -0
- package/lib/gio-license-expiration-notification/gio-license-expiration-notification.module.d.ts +11 -0
- package/lib/public-api.d.ts +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2024 The Gravitee team (http://gravitee.io)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Component, Input } from '@angular/core';
|
|
17
|
+
import * as i0 from "@angular/core";
|
|
18
|
+
import * as i1 from "@angular/material/icon";
|
|
19
|
+
import * as i2 from "@angular/common";
|
|
20
|
+
export class GioLicenseExpirationNotificationComponent {
|
|
21
|
+
constructor() {
|
|
22
|
+
this.showCallToAction = true;
|
|
23
|
+
this.inError = false;
|
|
24
|
+
this.title = '';
|
|
25
|
+
this.daysRemaining = 0;
|
|
26
|
+
this.statusColor = 'blue';
|
|
27
|
+
}
|
|
28
|
+
ngOnInit() {
|
|
29
|
+
if (!this.expirationDate) {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
if (this.inError) {
|
|
33
|
+
this.title = "There's an issue with your license";
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
const timeRemaining = this.transformDateWithoutHours(this.expirationDate) - this.transformDateWithoutHours(new Date());
|
|
37
|
+
this.daysRemaining = timeRemaining / (1000 * 3600 * 24);
|
|
38
|
+
if (this.daysRemaining <= 0) {
|
|
39
|
+
this.title = 'Your license has expired';
|
|
40
|
+
this.statusColor = 'red';
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
this.title = `Your license will expire in ${this.daysRemaining} day${this.daysRemaining === 1 ? '' : 's'}`;
|
|
44
|
+
this.statusColor = this.daysRemaining > 5 ? 'blue' : 'orange';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
ngOnChanges(changes) {
|
|
48
|
+
if (changes.expirationDate) {
|
|
49
|
+
this.ngOnInit();
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
transformDateWithoutHours(date) {
|
|
53
|
+
return new Date(date.toDateString()).valueOf();
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
GioLicenseExpirationNotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioLicenseExpirationNotificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
57
|
+
GioLicenseExpirationNotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GioLicenseExpirationNotificationComponent, selector: "gio-license-expiration-notification", inputs: { expirationDate: "expirationDate", showCallToAction: "showCallToAction", callToActionMessage: "callToActionMessage", link: "link", inError: "inError" }, usesOnChanges: true, ngImport: i0, template: "<!--\n\n Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<div *ngIf=\"expirationDate && daysRemaining <= 30\" class=\"status mat-elevation-z2\" rel=\"noopener\">\n <div [ngClass]=\"'status__title ' + statusColor\">\n <div class=\"status__title__text\">\n {{ title }}\n <img src=\"assets/license-expiration-notification-background.svg\" />\n </div>\n </div>\n <a *ngIf=\"showCallToAction\" class=\"status__action\" [href]=\"link ?? 'https://www.gravitee.io/contact-us-license'\" target=\"_blank\">\n <div class=\"status__action__text\">{{ callToActionMessage ?? 'Contact Gravitee' }}</div>\n <mat-icon svgIcon=\"gio:right-circle\" class=\"status__action__icon\"></mat-icon>\n </a>\n</div>\n", styles: [".gio-top-bar-menu .gio-badge-accent{background-color:var(--gio-oem-palette--active, #e7e2fb);color:var(--gio-oem-palette--active-contrast, #100c27)}.status{position:relative;display:flex;width:192px;height:152px;flex-direction:column;padding:0;border-radius:4px;color:#100c27;border:none;background:white;text-decoration:none}.status--disabled{cursor:not-allowed}.status__sub-tile{height:56px;margin-top:16px}.status__title img{position:absolute;top:0;right:0}.status__title.red{display:flex;width:inherit;flex:1 1 100%;align-items:center;border-radius:4px;background:#ffe9f4;color:#930149}.status__title.red img{filter:invert(21%) sepia(96%) saturate(2923%) hue-rotate(316deg) brightness(75%) contrast(116%)}.status__title.blue{display:flex;width:inherit;flex:1 1 100%;align-items:center;border-radius:4px;background:#e9f6ff;color:#006fb9}.status__title.blue img{filter:invert(27%) sepia(98%) saturate(1450%) hue-rotate(183deg) brightness(91%) contrast(102%)}.status__title.orange{display:flex;width:inherit;flex:1 1 100%;align-items:center;border-radius:4px;background:#ffece5;color:#983611}.status__title.orange img{filter:invert(23%) sepia(92%) saturate(1610%) hue-rotate(357deg) brightness(103%) contrast(94%)}.status__title__text{font:600 16px/24px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:.4px;margin:24px 12px;text-align:left}.status__action{font:400 12px/16px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;display:flex;width:100%;height:100%;align-items:center;justify-content:space-between;padding:0 12px;color:#1c1e39;font-weight:700;text-decoration:none}.status__action__icon{width:20px;height:20px}:host-context(.gio-menu__reduced) .status{display:none}\n"], components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioLicenseExpirationNotificationComponent, decorators: [{
|
|
59
|
+
type: Component,
|
|
60
|
+
args: [{ selector: 'gio-license-expiration-notification', template: "<!--\n\n Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<div *ngIf=\"expirationDate && daysRemaining <= 30\" class=\"status mat-elevation-z2\" rel=\"noopener\">\n <div [ngClass]=\"'status__title ' + statusColor\">\n <div class=\"status__title__text\">\n {{ title }}\n <img src=\"assets/license-expiration-notification-background.svg\" />\n </div>\n </div>\n <a *ngIf=\"showCallToAction\" class=\"status__action\" [href]=\"link ?? 'https://www.gravitee.io/contact-us-license'\" target=\"_blank\">\n <div class=\"status__action__text\">{{ callToActionMessage ?? 'Contact Gravitee' }}</div>\n <mat-icon svgIcon=\"gio:right-circle\" class=\"status__action__icon\"></mat-icon>\n </a>\n</div>\n", styles: [".gio-top-bar-menu .gio-badge-accent{background-color:var(--gio-oem-palette--active, #e7e2fb);color:var(--gio-oem-palette--active-contrast, #100c27)}.status{position:relative;display:flex;width:192px;height:152px;flex-direction:column;padding:0;border-radius:4px;color:#100c27;border:none;background:white;text-decoration:none}.status--disabled{cursor:not-allowed}.status__sub-tile{height:56px;margin-top:16px}.status__title img{position:absolute;top:0;right:0}.status__title.red{display:flex;width:inherit;flex:1 1 100%;align-items:center;border-radius:4px;background:#ffe9f4;color:#930149}.status__title.red img{filter:invert(21%) sepia(96%) saturate(2923%) hue-rotate(316deg) brightness(75%) contrast(116%)}.status__title.blue{display:flex;width:inherit;flex:1 1 100%;align-items:center;border-radius:4px;background:#e9f6ff;color:#006fb9}.status__title.blue img{filter:invert(27%) sepia(98%) saturate(1450%) hue-rotate(183deg) brightness(91%) contrast(102%)}.status__title.orange{display:flex;width:inherit;flex:1 1 100%;align-items:center;border-radius:4px;background:#ffece5;color:#983611}.status__title.orange img{filter:invert(23%) sepia(92%) saturate(1610%) hue-rotate(357deg) brightness(103%) contrast(94%)}.status__title__text{font:600 16px/24px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:.4px;margin:24px 12px;text-align:left}.status__action{font:400 12px/16px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;display:flex;width:100%;height:100%;align-items:center;justify-content:space-between;padding:0 12px;color:#1c1e39;font-weight:700;text-decoration:none}.status__action__icon{width:20px;height:20px}:host-context(.gio-menu__reduced) .status{display:none}\n"] }]
|
|
61
|
+
}], propDecorators: { expirationDate: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}], showCallToAction: [{
|
|
64
|
+
type: Input
|
|
65
|
+
}], callToActionMessage: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], link: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], inError: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}] } });
|
|
72
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2lvLWxpY2Vuc2UtZXhwaXJhdGlvbi1ub3RpZmljYXRpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWktcGFydGljbGVzLWFuZ3VsYXIvc3JjL2xpYi9naW8tbGljZW5zZS1leHBpcmF0aW9uLW5vdGlmaWNhdGlvbi9naW8tbGljZW5zZS1leHBpcmF0aW9uLW5vdGlmaWNhdGlvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1wYXJ0aWNsZXMtYW5ndWxhci9zcmMvbGliL2dpby1saWNlbnNlLWV4cGlyYXRpb24tbm90aWZpY2F0aW9uL2dpby1saWNlbnNlLWV4cGlyYXRpb24tbm90aWZpY2F0aW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztHQWNHO0FBQ0gsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQW9DLE1BQU0sZUFBZSxDQUFDOzs7O0FBT25GLE1BQU0sT0FBTyx5Q0FBeUM7SUFMdEQ7UUFVUyxxQkFBZ0IsR0FBRyxJQUFJLENBQUM7UUFTeEIsWUFBTyxHQUFHLEtBQUssQ0FBQztRQUVoQixVQUFLLEdBQUcsRUFBRSxDQUFDO1FBQ1gs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fX2ljb25cIj48L21hdC1pY29uPlxuICA8L2E+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { ComponentHarness } from '@angular/cdk/testing';
|
|
17
|
+
export class GioLicenseExpirationNotificationHarness extends ComponentHarness {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments);
|
|
20
|
+
this.getTitleContainer = this.locatorFor('.status__title');
|
|
21
|
+
this.getTitleMessage = this.locatorFor('.status__title__text');
|
|
22
|
+
this.getCallToActionMessage = this.locatorFor('.status__action__text');
|
|
23
|
+
this.getCallToActionLink = this.locatorFor('.status__action');
|
|
24
|
+
}
|
|
25
|
+
async getTitleText() {
|
|
26
|
+
return this.getTitleMessage().then(el => el.text());
|
|
27
|
+
}
|
|
28
|
+
async isCallToActionVisible() {
|
|
29
|
+
return this.getCallToActionLink()
|
|
30
|
+
.then(_ => true)
|
|
31
|
+
.catch(_ => false);
|
|
32
|
+
}
|
|
33
|
+
async getCallToActionText() {
|
|
34
|
+
return this.getCallToActionMessage().then(el => el.text());
|
|
35
|
+
}
|
|
36
|
+
async getLink() {
|
|
37
|
+
return this.getCallToActionLink().then(el => el.getAttribute('href'));
|
|
38
|
+
}
|
|
39
|
+
async isColor(color) {
|
|
40
|
+
return this.getTitleContainer().then(el => el.hasClass(color));
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
GioLicenseExpirationNotificationHarness.hostSelector = 'gio-license-expiration-notification';
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2lvLWxpY2Vuc2UtZXhwaXJhdGlvbi1ub3RpZmljYXRpb24uaGFybmVzcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLXBhcnRpY2xlcy1hbmd1bGFyL3NyYy9saWIvZ2lvLWxpY2Vuc2UtZXhwaXJhdGlvbi1ub3RpZmljYXRpb24vZ2lvLWxpY2Vuc2UtZXhwaXJhdGlvbi1ub3RpZmljYXRpb24uaGFybmVzcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7R0FjRztBQUVILE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBRXhELE1BQU0sT0FBTyx1Q0FBd0MsU0FBUSxnQkFBZ0I7SUFBN0U7O1FBR1ksc0JBQWlCLEdBQUcsSUFBSSxDQUFDLFVBQVUsQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFDO1FBQ3RELG9CQUFlLEdBQUcsSUFBSSxDQUFDLFVBQVUsQ0FBQyxzQkFBc0IsQ0FBQyxDQUFDO1FBQzFELDJCQUFzQixHQUFHLElBQUksQ0FBQyxVQUFVLENBQUMsdUJBQXVCLENBQUMsQ0FBQztRQUNsRSx3QkFBbUIsR0FBRyxJQUFJLENBQUMsVUFBVSxDQUFDLGlCQUFpQixDQUFDLENBQUM7SUF1QnJFLENBQUM7SUFyQlEsS0FBSyxDQUFDLFlBQVk7UUFDdkIsT0FBTyxJQUFJLENBQUMsZUFBZSxFQUFFLENBQUMsSUFBSSxDQUFDLEVBQU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uXG4gIHB1YmxpYyBhc3luYyBpc0NvbG9yKGNvbG9yOiBzdHJpbmcpOiBQcm9taXNlPGJvb2xlYW4+IHtcbiAgICByZXR1cm4gdGhpcy5nZXRUaXRsZUNvbnRhaW5lcigpLnRoZW4oZWwgPT4gZWwuaGFzQ2xhc3MoY29sb3IpKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2024 The Gravitee team (http://gravitee.io)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { NgModule } from '@angular/core';
|
|
17
|
+
import { CommonModule } from '@angular/common';
|
|
18
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
19
|
+
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
20
|
+
import { GioIconsModule } from '../gio-icons/gio-icons.module';
|
|
21
|
+
import { GioLicenseExpirationNotificationComponent } from './gio-license-expiration-notification.component';
|
|
22
|
+
import * as i0 from "@angular/core";
|
|
23
|
+
export class GioLicenseExpirationNotificationModule {
|
|
24
|
+
}
|
|
25
|
+
GioLicenseExpirationNotificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioLicenseExpirationNotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
26
|
+
GioLicenseExpirationNotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioLicenseExpirationNotificationModule, declarations: [GioLicenseExpirationNotificationComponent], imports: [CommonModule, MatButtonModule, MatTooltipModule, GioIconsModule], exports: [GioLicenseExpirationNotificationComponent] });
|
|
27
|
+
GioLicenseExpirationNotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioLicenseExpirationNotificationModule, imports: [[CommonModule, MatButtonModule, MatTooltipModule, GioIconsModule]] });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioLicenseExpirationNotificationModule, decorators: [{
|
|
29
|
+
type: NgModule,
|
|
30
|
+
args: [{
|
|
31
|
+
imports: [CommonModule, MatButtonModule, MatTooltipModule, GioIconsModule],
|
|
32
|
+
declarations: [GioLicenseExpirationNotificationComponent],
|
|
33
|
+
exports: [GioLicenseExpirationNotificationComponent],
|
|
34
|
+
}]
|
|
35
|
+
}] });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2lvLWxpY2Vuc2UtZXhwaXJhdGlvbi1ub3RpZmljYXRpb24ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWktcGFydGljbGVzLWFuZ3VsYXIvc3JjL2xpYi9naW8tbGljZW5zZS1leHBpcmF0aW9uLW5vdGlmaWNhdGlvbi9naW8tbGljZW5zZS1leHBpcmF0aW9uLW5vdGlmaWNhdGlvbi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0dBY0c7QUFDSCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUF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leHBpcmF0aW9uLW5vdGlmaWNhdGlvbi5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBNYXRCdXR0b25Nb2R1bGUsIE1hdFRvb2x0aXBNb2R1bGUsIEdpb0ljb25zTW9kdWxlXSxcbiAgZGVjbGFyYXRpb25zOiBbR2lvTGljZW5zZUV4cGlyYXRpb25Ob3RpZmljYXRpb25Db21wb25lbnRdLFxuICBleHBvcnRzOiBbR2lvTGljZW5zZUV4cGlyYXRpb25Ob3RpZmljYXRpb25Db21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBHaW9MaWNlbnNlRXhwaXJhdGlvbk5vdGlmaWNhdGlvbk1vZHVsZSB7fVxuIl19
|
|
@@ -70,6 +70,9 @@ export * from './gio-license/gio-license.directive';
|
|
|
70
70
|
export * from './gio-license/gio-license-dialog/gio-license-dialog.module';
|
|
71
71
|
export * from './gio-license/gio-license-dialog/gio-license-dialog.component';
|
|
72
72
|
export * from './gio-license/gio-license.testing.module';
|
|
73
|
+
export * from './gio-license-expiration-notification/gio-license-expiration-notification.module';
|
|
74
|
+
export * from './gio-license-expiration-notification/gio-license-expiration-notification.component';
|
|
75
|
+
export * from './gio-license-expiration-notification/gio-license-expiration-notification.harness';
|
|
73
76
|
export * from './gio-form-cron/gio-form-cron.component';
|
|
74
77
|
export * from './gio-form-cron/gio-form-cron-label.component';
|
|
75
78
|
export * from './gio-form-cron/gio-form-cron-hint.component';
|
|
@@ -78,4 +81,4 @@ export * from './gio-form-cron/gio-form-cron.harness';
|
|
|
78
81
|
export * from './gio-radio-button/gio-radio-button-content.component';
|
|
79
82
|
export * from './gio-radio-button/gio-radio-button.module';
|
|
80
83
|
export * from './oem-theme/public-api';
|
|
81
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
84
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInN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LXJhZGlvLWJ1dHRvbi1jb250ZW50LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2dpby1yYWRpby1idXR0b24vZ2lvLXJhZGlvLWJ1dHRvbi5tb2R1bGUnO1xuXG5leHBvcnQgKiBmcm9tICcuL29lbS10aGVtZS9wdWJsaWMtYXBpJztcbiJdfQ==
|
|
@@ -5101,6 +5101,141 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
5101
5101
|
}]
|
|
5102
5102
|
}] });
|
|
5103
5103
|
|
|
5104
|
+
/*
|
|
5105
|
+
* Copyright (C) 2024 The Gravitee team (http://gravitee.io)
|
|
5106
|
+
*
|
|
5107
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5108
|
+
* you may not use this file except in compliance with the License.
|
|
5109
|
+
* You may obtain a copy of the License at
|
|
5110
|
+
*
|
|
5111
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
5112
|
+
*
|
|
5113
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
5114
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
5115
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
5116
|
+
* See the License for the specific language governing permissions and
|
|
5117
|
+
* limitations under the License.
|
|
5118
|
+
*/
|
|
5119
|
+
class GioLicenseExpirationNotificationComponent {
|
|
5120
|
+
constructor() {
|
|
5121
|
+
this.showCallToAction = true;
|
|
5122
|
+
this.inError = false;
|
|
5123
|
+
this.title = '';
|
|
5124
|
+
this.daysRemaining = 0;
|
|
5125
|
+
this.statusColor = 'blue';
|
|
5126
|
+
}
|
|
5127
|
+
ngOnInit() {
|
|
5128
|
+
if (!this.expirationDate) {
|
|
5129
|
+
return;
|
|
5130
|
+
}
|
|
5131
|
+
if (this.inError) {
|
|
5132
|
+
this.title = "There's an issue with your license";
|
|
5133
|
+
return;
|
|
5134
|
+
}
|
|
5135
|
+
const timeRemaining = this.transformDateWithoutHours(this.expirationDate) - this.transformDateWithoutHours(new Date());
|
|
5136
|
+
this.daysRemaining = timeRemaining / (1000 * 3600 * 24);
|
|
5137
|
+
if (this.daysRemaining <= 0) {
|
|
5138
|
+
this.title = 'Your license has expired';
|
|
5139
|
+
this.statusColor = 'red';
|
|
5140
|
+
}
|
|
5141
|
+
else {
|
|
5142
|
+
this.title = `Your license will expire in ${this.daysRemaining} day${this.daysRemaining === 1 ? '' : 's'}`;
|
|
5143
|
+
this.statusColor = this.daysRemaining > 5 ? 'blue' : 'orange';
|
|
5144
|
+
}
|
|
5145
|
+
}
|
|
5146
|
+
ngOnChanges(changes) {
|
|
5147
|
+
if (changes.expirationDate) {
|
|
5148
|
+
this.ngOnInit();
|
|
5149
|
+
}
|
|
5150
|
+
}
|
|
5151
|
+
transformDateWithoutHours(date) {
|
|
5152
|
+
return new Date(date.toDateString()).valueOf();
|
|
5153
|
+
}
|
|
5154
|
+
}
|
|
5155
|
+
GioLicenseExpirationNotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioLicenseExpirationNotificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5156
|
+
GioLicenseExpirationNotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GioLicenseExpirationNotificationComponent, selector: "gio-license-expiration-notification", inputs: { expirationDate: "expirationDate", showCallToAction: "showCallToAction", callToActionMessage: "callToActionMessage", link: "link", inError: "inError" }, usesOnChanges: true, ngImport: i0, template: "<!--\n\n Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<div *ngIf=\"expirationDate && daysRemaining <= 30\" class=\"status mat-elevation-z2\" rel=\"noopener\">\n <div [ngClass]=\"'status__title ' + statusColor\">\n <div class=\"status__title__text\">\n {{ title }}\n <img src=\"assets/license-expiration-notification-background.svg\" />\n </div>\n </div>\n <a *ngIf=\"showCallToAction\" class=\"status__action\" [href]=\"link ?? 'https://www.gravitee.io/contact-us-license'\" target=\"_blank\">\n <div class=\"status__action__text\">{{ callToActionMessage ?? 'Contact Gravitee' }}</div>\n <mat-icon svgIcon=\"gio:right-circle\" class=\"status__action__icon\"></mat-icon>\n </a>\n</div>\n", styles: [".gio-top-bar-menu .gio-badge-accent{background-color:var(--gio-oem-palette--active, #e7e2fb);color:var(--gio-oem-palette--active-contrast, #100c27)}.status{position:relative;display:flex;width:192px;height:152px;flex-direction:column;padding:0;border-radius:4px;color:#100c27;border:none;background:white;text-decoration:none}.status--disabled{cursor:not-allowed}.status__sub-tile{height:56px;margin-top:16px}.status__title img{position:absolute;top:0;right:0}.status__title.red{display:flex;width:inherit;flex:1 1 100%;align-items:center;border-radius:4px;background:#ffe9f4;color:#930149}.status__title.red img{filter:invert(21%) sepia(96%) saturate(2923%) hue-rotate(316deg) brightness(75%) contrast(116%)}.status__title.blue{display:flex;width:inherit;flex:1 1 100%;align-items:center;border-radius:4px;background:#e9f6ff;color:#006fb9}.status__title.blue img{filter:invert(27%) sepia(98%) saturate(1450%) hue-rotate(183deg) brightness(91%) contrast(102%)}.status__title.orange{display:flex;width:inherit;flex:1 1 100%;align-items:center;border-radius:4px;background:#ffece5;color:#983611}.status__title.orange img{filter:invert(23%) sepia(92%) saturate(1610%) hue-rotate(357deg) brightness(103%) contrast(94%)}.status__title__text{font:600 16px/24px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:.4px;margin:24px 12px;text-align:left}.status__action{font:400 12px/16px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;display:flex;width:100%;height:100%;align-items:center;justify-content:space-between;padding:0 12px;color:#1c1e39;font-weight:700;text-decoration:none}.status__action__icon{width:20px;height:20px}:host-context(.gio-menu__reduced) .status{display:none}\n"], components: [{ type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
5157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioLicenseExpirationNotificationComponent, decorators: [{
|
|
5158
|
+
type: Component,
|
|
5159
|
+
args: [{ selector: 'gio-license-expiration-notification', template: "<!--\n\n Copyright (C) 2024 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<div *ngIf=\"expirationDate && daysRemaining <= 30\" class=\"status mat-elevation-z2\" rel=\"noopener\">\n <div [ngClass]=\"'status__title ' + statusColor\">\n <div class=\"status__title__text\">\n {{ title }}\n <img src=\"assets/license-expiration-notification-background.svg\" />\n </div>\n </div>\n <a *ngIf=\"showCallToAction\" class=\"status__action\" [href]=\"link ?? 'https://www.gravitee.io/contact-us-license'\" target=\"_blank\">\n <div class=\"status__action__text\">{{ callToActionMessage ?? 'Contact Gravitee' }}</div>\n <mat-icon svgIcon=\"gio:right-circle\" class=\"status__action__icon\"></mat-icon>\n </a>\n</div>\n", styles: [".gio-top-bar-menu .gio-badge-accent{background-color:var(--gio-oem-palette--active, #e7e2fb);color:var(--gio-oem-palette--active-contrast, #100c27)}.status{position:relative;display:flex;width:192px;height:152px;flex-direction:column;padding:0;border-radius:4px;color:#100c27;border:none;background:white;text-decoration:none}.status--disabled{cursor:not-allowed}.status__sub-tile{height:56px;margin-top:16px}.status__title img{position:absolute;top:0;right:0}.status__title.red{display:flex;width:inherit;flex:1 1 100%;align-items:center;border-radius:4px;background:#ffe9f4;color:#930149}.status__title.red img{filter:invert(21%) sepia(96%) saturate(2923%) hue-rotate(316deg) brightness(75%) contrast(116%)}.status__title.blue{display:flex;width:inherit;flex:1 1 100%;align-items:center;border-radius:4px;background:#e9f6ff;color:#006fb9}.status__title.blue img{filter:invert(27%) sepia(98%) saturate(1450%) hue-rotate(183deg) brightness(91%) contrast(102%)}.status__title.orange{display:flex;width:inherit;flex:1 1 100%;align-items:center;border-radius:4px;background:#ffece5;color:#983611}.status__title.orange img{filter:invert(23%) sepia(92%) saturate(1610%) hue-rotate(357deg) brightness(103%) contrast(94%)}.status__title__text{font:600 16px/24px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:.4px;margin:24px 12px;text-align:left}.status__action{font:400 12px/16px Golos UI,Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;display:flex;width:100%;height:100%;align-items:center;justify-content:space-between;padding:0 12px;color:#1c1e39;font-weight:700;text-decoration:none}.status__action__icon{width:20px;height:20px}:host-context(.gio-menu__reduced) .status{display:none}\n"] }]
|
|
5160
|
+
}], propDecorators: { expirationDate: [{
|
|
5161
|
+
type: Input
|
|
5162
|
+
}], showCallToAction: [{
|
|
5163
|
+
type: Input
|
|
5164
|
+
}], callToActionMessage: [{
|
|
5165
|
+
type: Input
|
|
5166
|
+
}], link: [{
|
|
5167
|
+
type: Input
|
|
5168
|
+
}], inError: [{
|
|
5169
|
+
type: Input
|
|
5170
|
+
}] } });
|
|
5171
|
+
|
|
5172
|
+
/*
|
|
5173
|
+
* Copyright (C) 2024 The Gravitee team (http://gravitee.io)
|
|
5174
|
+
*
|
|
5175
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5176
|
+
* you may not use this file except in compliance with the License.
|
|
5177
|
+
* You may obtain a copy of the License at
|
|
5178
|
+
*
|
|
5179
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
5180
|
+
*
|
|
5181
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
5182
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
5183
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
5184
|
+
* See the License for the specific language governing permissions and
|
|
5185
|
+
* limitations under the License.
|
|
5186
|
+
*/
|
|
5187
|
+
class GioLicenseExpirationNotificationModule {
|
|
5188
|
+
}
|
|
5189
|
+
GioLicenseExpirationNotificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioLicenseExpirationNotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5190
|
+
GioLicenseExpirationNotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioLicenseExpirationNotificationModule, declarations: [GioLicenseExpirationNotificationComponent], imports: [CommonModule, MatButtonModule, MatTooltipModule, GioIconsModule], exports: [GioLicenseExpirationNotificationComponent] });
|
|
5191
|
+
GioLicenseExpirationNotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioLicenseExpirationNotificationModule, imports: [[CommonModule, MatButtonModule, MatTooltipModule, GioIconsModule]] });
|
|
5192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioLicenseExpirationNotificationModule, decorators: [{
|
|
5193
|
+
type: NgModule,
|
|
5194
|
+
args: [{
|
|
5195
|
+
imports: [CommonModule, MatButtonModule, MatTooltipModule, GioIconsModule],
|
|
5196
|
+
declarations: [GioLicenseExpirationNotificationComponent],
|
|
5197
|
+
exports: [GioLicenseExpirationNotificationComponent],
|
|
5198
|
+
}]
|
|
5199
|
+
}] });
|
|
5200
|
+
|
|
5201
|
+
class GioLicenseExpirationNotificationHarness extends ComponentHarness {
|
|
5202
|
+
constructor() {
|
|
5203
|
+
super(...arguments);
|
|
5204
|
+
this.getTitleContainer = this.locatorFor('.status__title');
|
|
5205
|
+
this.getTitleMessage = this.locatorFor('.status__title__text');
|
|
5206
|
+
this.getCallToActionMessage = this.locatorFor('.status__action__text');
|
|
5207
|
+
this.getCallToActionLink = this.locatorFor('.status__action');
|
|
5208
|
+
}
|
|
5209
|
+
getTitleText() {
|
|
5210
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5211
|
+
return this.getTitleMessage().then(el => el.text());
|
|
5212
|
+
});
|
|
5213
|
+
}
|
|
5214
|
+
isCallToActionVisible() {
|
|
5215
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5216
|
+
return this.getCallToActionLink()
|
|
5217
|
+
.then(_ => true)
|
|
5218
|
+
.catch(_ => false);
|
|
5219
|
+
});
|
|
5220
|
+
}
|
|
5221
|
+
getCallToActionText() {
|
|
5222
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5223
|
+
return this.getCallToActionMessage().then(el => el.text());
|
|
5224
|
+
});
|
|
5225
|
+
}
|
|
5226
|
+
getLink() {
|
|
5227
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5228
|
+
return this.getCallToActionLink().then(el => el.getAttribute('href'));
|
|
5229
|
+
});
|
|
5230
|
+
}
|
|
5231
|
+
isColor(color) {
|
|
5232
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5233
|
+
return this.getTitleContainer().then(el => el.hasClass(color));
|
|
5234
|
+
});
|
|
5235
|
+
}
|
|
5236
|
+
}
|
|
5237
|
+
GioLicenseExpirationNotificationHarness.hostSelector = 'gio-license-expiration-notification';
|
|
5238
|
+
|
|
5104
5239
|
/*
|
|
5105
5240
|
* Copyright (C) 2023 The Gravitee team (http://gravitee.io)
|
|
5106
5241
|
*
|
|
@@ -6727,5 +6862,5 @@ const computeStyleAndContrastByPrefix = (prefix, color) => {
|
|
|
6727
6862
|
* Generated bundle index. Do not edit.
|
|
6728
6863
|
*/
|
|
6729
6864
|
|
|
6730
|
-
export { ConfigureTestingGioMonacoEditor, GIO_DIALOG_WIDTH, GIO_FORM_FOCUS_INVALID_IGNORE_SELECTOR, GioAsciidoctorComponent, GioAsciidoctorModule, GioAsciidoctorService, GioAvatarComponent, GioAvatarModule, GioBannerActionDirective, GioBannerBodyDirective, GioBannerComponent, GioBannerErrorComponent, GioBannerInfoComponent, GioBannerModule, GioBannerSuccessComponent, GioBannerWarningComponent, GioBaseFormFocusInvalidDirective, GioBreadcrumbComponent, GioBreadcrumbItemDirective, GioBreadcrumbModule, GioButtonFocusInvalidButtonDirective, GioClipboardCopyIconComponent, GioClipboardCopyWrapperComponent, GioClipboardModule, GioConfirmAndValidateDialogComponent, GioConfirmAndValidateDialogHarness, GioConfirmAndValidateDialogModule, GioConfirmDialogComponent, GioConfirmDialogHarness, GioConfirmDialogModule, GioFormCronComponent, GioFormCronHarness, GioFormCronHintComponent, GioFormCronLabelComponent, GioFormCronModule, GioFormFilePickerAddButtonComponent, GioFormFilePickerComponent, GioFormFilePickerEmptyComponent, GioFormFilePickerInputHarness, GioFormFilePickerLabelComponent, GioFormFilePickerModule, GioFormFocusInvalidFormDirective, GioFormFocusInvalidIgnoreDirective, GioFormFocusInvalidModule, GioFormHeadersComponent, GioFormHeadersHarness, GioFormHeadersLabelComponent, GioFormHeadersModule, GioFormJsonSchemaComponent, GioFormJsonSchemaModule, GioFormLabelComponent, GioFormPrefixDirective, GioFormSlideToggleComponent, GioFormSlideToggleDirective, GioFormSlideToggleModule, GioFormTagsInputComponent, GioFormTagsInputHarness, GioFormTagsInputModule, GioIconsModule, GioLicenseDialogComponent, GioLicenseDialogModule, GioLicenseDirective, GioLicenseModule, GioLicenseService, GioLicenseTestingModule, GioLoaderComponent, GioLoaderModule, GioMatConfigModule, GioMenuComponent, GioMenuFooterComponent, GioMenuHeaderComponent, GioMenuItemComponent, GioMenuLicenseExpirationNotificationComponent, GioMenuListComponent, GioMenuModule, GioMenuSelectorComponent, GioMenuSelectorHarness, GioMenuService, GioMonacoEditorComponent, GioMonacoEditorFormFieldDirective, GioMonacoEditorHarness, GioMonacoEditorModule, GioPrismJsService, GioRadioButtonContentComponent, GioRadioButtonModule, GioRadioButtonSubitleComponent, GioRadioButtonTitleComponent, GioSafePipeModule, GioSaveBarComponent, GioSaveBarHarness, GioSaveBarModule, GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent, GioSubmenuModule, GioSubmenuTitleDirective, GioTopBarComponent, GioTopBarContentComponent, GioTopBarLinkComponent, GioTopBarLinkModule, GioTopBarMenuComponent, GioTopBarMenuModule, GioTopBarModule, LICENSE_CONFIGURATION_TESTING, NewFile, OEM_LICENSE_CONFIGURATION_TESTING, OEM_THEME_ARG_TYPES, SafePipe, computeStyles, computeStylesForStory };
|
|
6865
|
+
export { ConfigureTestingGioMonacoEditor, GIO_DIALOG_WIDTH, GIO_FORM_FOCUS_INVALID_IGNORE_SELECTOR, GioAsciidoctorComponent, GioAsciidoctorModule, GioAsciidoctorService, GioAvatarComponent, GioAvatarModule, GioBannerActionDirective, GioBannerBodyDirective, GioBannerComponent, GioBannerErrorComponent, GioBannerInfoComponent, GioBannerModule, GioBannerSuccessComponent, GioBannerWarningComponent, GioBaseFormFocusInvalidDirective, GioBreadcrumbComponent, GioBreadcrumbItemDirective, GioBreadcrumbModule, GioButtonFocusInvalidButtonDirective, GioClipboardCopyIconComponent, GioClipboardCopyWrapperComponent, GioClipboardModule, GioConfirmAndValidateDialogComponent, GioConfirmAndValidateDialogHarness, GioConfirmAndValidateDialogModule, GioConfirmDialogComponent, GioConfirmDialogHarness, GioConfirmDialogModule, GioFormCronComponent, GioFormCronHarness, GioFormCronHintComponent, GioFormCronLabelComponent, GioFormCronModule, GioFormFilePickerAddButtonComponent, GioFormFilePickerComponent, GioFormFilePickerEmptyComponent, GioFormFilePickerInputHarness, GioFormFilePickerLabelComponent, GioFormFilePickerModule, GioFormFocusInvalidFormDirective, GioFormFocusInvalidIgnoreDirective, GioFormFocusInvalidModule, GioFormHeadersComponent, GioFormHeadersHarness, GioFormHeadersLabelComponent, GioFormHeadersModule, GioFormJsonSchemaComponent, GioFormJsonSchemaModule, GioFormLabelComponent, GioFormPrefixDirective, GioFormSlideToggleComponent, GioFormSlideToggleDirective, GioFormSlideToggleModule, GioFormTagsInputComponent, GioFormTagsInputHarness, GioFormTagsInputModule, GioIconsModule, GioLicenseDialogComponent, GioLicenseDialogModule, GioLicenseDirective, GioLicenseExpirationNotificationComponent, GioLicenseExpirationNotificationHarness, GioLicenseExpirationNotificationModule, GioLicenseModule, GioLicenseService, GioLicenseTestingModule, GioLoaderComponent, GioLoaderModule, GioMatConfigModule, GioMenuComponent, GioMenuFooterComponent, GioMenuHeaderComponent, GioMenuItemComponent, GioMenuLicenseExpirationNotificationComponent, GioMenuListComponent, GioMenuModule, GioMenuSelectorComponent, GioMenuSelectorHarness, GioMenuService, GioMonacoEditorComponent, GioMonacoEditorFormFieldDirective, GioMonacoEditorHarness, GioMonacoEditorModule, GioPrismJsService, GioRadioButtonContentComponent, GioRadioButtonModule, GioRadioButtonSubitleComponent, GioRadioButtonTitleComponent, GioSafePipeModule, GioSaveBarComponent, GioSaveBarHarness, GioSaveBarModule, GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent, GioSubmenuModule, GioSubmenuTitleDirective, GioTopBarComponent, GioTopBarContentComponent, GioTopBarLinkComponent, GioTopBarLinkModule, GioTopBarMenuComponent, GioTopBarMenuModule, GioTopBarModule, LICENSE_CONFIGURATION_TESTING, NewFile, OEM_LICENSE_CONFIGURATION_TESTING, OEM_THEME_ARG_TYPES, SafePipe, computeStyles, computeStylesForStory };
|
|
6731
6866
|
//# sourceMappingURL=gravitee-ui-particles-angular.mjs.map
|