@rossigee/clarity-angular 18.2.1-fixed → 18.2.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/fesm2022/clr-angular-accordion.mjs +355 -0
- package/fesm2022/clr-angular-accordion.mjs.map +1 -0
- package/fesm2022/clr-angular-button.mjs +713 -0
- package/fesm2022/clr-angular-button.mjs.map +1 -0
- package/fesm2022/clr-angular-collapsible-panel.mjs +201 -0
- package/fesm2022/clr-angular-collapsible-panel.mjs.map +1 -0
- package/fesm2022/clr-angular-data-datagrid.mjs +7635 -0
- package/fesm2022/clr-angular-data-datagrid.mjs.map +1 -0
- package/fesm2022/clr-angular-data-stack-view.mjs +442 -0
- package/fesm2022/clr-angular-data-stack-view.mjs.map +1 -0
- package/fesm2022/clr-angular-data-tree-view.mjs +1106 -0
- package/fesm2022/clr-angular-data-tree-view.mjs.map +1 -0
- package/fesm2022/clr-angular-data.mjs +40 -0
- package/fesm2022/clr-angular-data.mjs.map +1 -0
- package/fesm2022/clr-angular-emphasis-alert.mjs +624 -0
- package/fesm2022/clr-angular-emphasis-alert.mjs.map +1 -0
- package/fesm2022/clr-angular-emphasis-badge.mjs +69 -0
- package/fesm2022/clr-angular-emphasis-badge.mjs.map +1 -0
- package/fesm2022/clr-angular-emphasis-common.mjs +25 -0
- package/fesm2022/clr-angular-emphasis-common.mjs.map +1 -0
- package/fesm2022/clr-angular-emphasis-label.mjs +105 -0
- package/fesm2022/clr-angular-emphasis-label.mjs.map +1 -0
- package/fesm2022/clr-angular-emphasis.mjs +41 -0
- package/fesm2022/clr-angular-emphasis.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-checkbox.mjs +270 -0
- package/fesm2022/clr-angular-forms-checkbox.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-combobox.mjs +1775 -0
- package/fesm2022/clr-angular-forms-combobox.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-common.mjs +1251 -0
- package/fesm2022/clr-angular-forms-common.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-datalist.mjs +263 -0
- package/fesm2022/clr-angular-forms-datalist.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-datepicker.mjs +3274 -0
- package/fesm2022/clr-angular-forms-datepicker.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-file-input.mjs +826 -0
- package/fesm2022/clr-angular-forms-file-input.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-input.mjs +153 -0
- package/fesm2022/clr-angular-forms-input.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-number-input.mjs +236 -0
- package/fesm2022/clr-angular-forms-number-input.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-password.mjs +233 -0
- package/fesm2022/clr-angular-forms-password.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-radio.mjs +231 -0
- package/fesm2022/clr-angular-forms-radio.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-range.mjs +186 -0
- package/fesm2022/clr-angular-forms-range.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-select.mjs +153 -0
- package/fesm2022/clr-angular-forms-select.mjs.map +1 -0
- package/fesm2022/clr-angular-forms-textarea.mjs +136 -0
- package/fesm2022/clr-angular-forms-textarea.mjs.map +1 -0
- package/fesm2022/clr-angular-forms.mjs +100 -0
- package/fesm2022/clr-angular-forms.mjs.map +1 -0
- package/fesm2022/clr-angular-icon.mjs +7397 -0
- package/fesm2022/clr-angular-icon.mjs.map +1 -0
- package/fesm2022/clr-angular-layout-breadcrumbs.mjs +120 -0
- package/fesm2022/clr-angular-layout-breadcrumbs.mjs.map +1 -0
- package/fesm2022/clr-angular-layout-main-container.mjs +100 -0
- package/fesm2022/clr-angular-layout-main-container.mjs.map +1 -0
- package/fesm2022/clr-angular-layout-nav.mjs +582 -0
- package/fesm2022/clr-angular-layout-nav.mjs.map +1 -0
- package/fesm2022/clr-angular-layout-tabs.mjs +807 -0
- package/fesm2022/clr-angular-layout-tabs.mjs.map +1 -0
- package/fesm2022/clr-angular-layout-vertical-nav.mjs +507 -0
- package/fesm2022/clr-angular-layout-vertical-nav.mjs.map +1 -0
- package/fesm2022/clr-angular-layout.mjs +44 -0
- package/fesm2022/clr-angular-layout.mjs.map +1 -0
- package/fesm2022/clr-angular-modal.mjs +617 -0
- package/fesm2022/clr-angular-modal.mjs.map +1 -0
- package/fesm2022/clr-angular-popover-common.mjs +1082 -0
- package/fesm2022/clr-angular-popover-common.mjs.map +1 -0
- package/fesm2022/clr-angular-popover-dropdown.mjs +492 -0
- package/fesm2022/clr-angular-popover-dropdown.mjs.map +1 -0
- package/fesm2022/clr-angular-popover-signpost.mjs +494 -0
- package/fesm2022/clr-angular-popover-signpost.mjs.map +1 -0
- package/fesm2022/clr-angular-popover-tooltip.mjs +293 -0
- package/fesm2022/clr-angular-popover-tooltip.mjs.map +1 -0
- package/fesm2022/clr-angular-popover.mjs +41 -0
- package/fesm2022/clr-angular-popover.mjs.map +1 -0
- package/fesm2022/clr-angular-progress-progress-bars.mjs +217 -0
- package/fesm2022/clr-angular-progress-progress-bars.mjs.map +1 -0
- package/fesm2022/clr-angular-progress-spinner.mjs +132 -0
- package/fesm2022/clr-angular-progress-spinner.mjs.map +1 -0
- package/fesm2022/clr-angular-stepper.mjs +694 -0
- package/fesm2022/clr-angular-stepper.mjs.map +1 -0
- package/fesm2022/clr-angular-timeline.mjs +316 -0
- package/fesm2022/clr-angular-timeline.mjs.map +1 -0
- package/fesm2022/clr-angular-utils-conditional.mjs +351 -0
- package/fesm2022/clr-angular-utils-conditional.mjs.map +1 -0
- package/fesm2022/clr-angular-utils-loading.mjs +107 -0
- package/fesm2022/clr-angular-utils-loading.mjs.map +1 -0
- package/fesm2022/clr-angular-utils.mjs +2079 -0
- package/fesm2022/clr-angular-utils.mjs.map +1 -0
- package/fesm2022/clr-angular-wizard.mjs +3074 -0
- package/fesm2022/clr-angular-wizard.mjs.map +1 -0
- package/fesm2022/{rossigee-clarity-angular.mjs → clr-angular.mjs} +2 -2
- package/fesm2022/clr-angular.mjs.map +1 -0
- package/package.json +105 -103
- package/schematics/ng-update/index.d.ts +2 -0
- package/schematics/ng-update/index.js +69 -0
- package/schematics/ng-update/index.js.map +1 -0
- package/schematics/ng-update/migrations/css-migration.d.ts +6 -0
- package/schematics/ng-update/migrations/css-migration.js +177 -0
- package/schematics/ng-update/migrations/css-migration.js.map +1 -0
- package/schematics/ng-update/migrations/import-migration.d.ts +4 -0
- package/schematics/ng-update/migrations/import-migration.js +187 -0
- package/schematics/ng-update/migrations/import-migration.js.map +1 -0
- package/schematics/ng-update/migrations/template-migration.d.ts +6 -0
- package/schematics/ng-update/migrations/template-migration.js +261 -0
- package/schematics/ng-update/migrations/template-migration.js.map +1 -0
- package/schematics/ng-update/replacements/css-replacements.d.ts +17 -0
- package/schematics/ng-update/replacements/css-replacements.js +74 -0
- package/schematics/ng-update/replacements/css-replacements.js.map +1 -0
- package/schematics/ng-update/replacements/import-replacements.d.ts +13 -0
- package/schematics/ng-update/replacements/import-replacements.js +108 -0
- package/schematics/ng-update/replacements/import-replacements.js.map +1 -0
- package/schematics/ng-update/replacements/symbol-replacements.d.ts +12 -0
- package/schematics/ng-update/replacements/symbol-replacements.js +67 -0
- package/schematics/ng-update/replacements/symbol-replacements.js.map +1 -0
- package/schematics/ng-update/replacements/template-replacements.d.ts +19 -0
- package/schematics/ng-update/replacements/template-replacements.js +57 -0
- package/schematics/ng-update/replacements/template-replacements.js.map +1 -0
- package/schematics/ng-update/tests/test-helpers.d.ts +6 -0
- package/schematics/ng-update/tests/test-helpers.js +34 -0
- package/schematics/ng-update/tests/test-helpers.js.map +1 -0
- package/schematics/ng-update/utils/file-visitor.d.ts +8 -0
- package/schematics/ng-update/utils/file-visitor.js +44 -0
- package/schematics/ng-update/utils/file-visitor.js.map +1 -0
- package/schematics/ng-update/utils/regexp-utils.d.ts +16 -0
- package/schematics/ng-update/utils/regexp-utils.js +34 -0
- package/schematics/ng-update/utils/regexp-utils.js.map +1 -0
- package/schematics/vitest.config.d.ts +2 -0
- package/schematics/vitest.config.js +17 -0
- package/schematics/vitest.config.js.map +1 -0
- package/types/clr-angular-accordion.d.ts +100 -0
- package/types/clr-angular-button.d.ts +169 -0
- package/types/clr-angular-collapsible-panel.d.ts +73 -0
- package/types/clr-angular-data-datagrid.d.ts +1843 -0
- package/types/clr-angular-data-stack-view.d.ts +87 -0
- package/types/clr-angular-data-tree-view.d.ts +229 -0
- package/types/clr-angular-data.d.ts +15 -0
- package/types/clr-angular-emphasis-alert.d.ts +175 -0
- package/types/clr-angular-emphasis-badge.d.ts +25 -0
- package/types/clr-angular-emphasis-common.d.ts +6 -0
- package/types/clr-angular-emphasis-label.d.ts +29 -0
- package/types/clr-angular-emphasis.d.ts +15 -0
- package/types/clr-angular-forms-checkbox.d.ts +69 -0
- package/types/clr-angular-forms-combobox.d.ts +353 -0
- package/types/clr-angular-forms-common.d.ts +339 -0
- package/types/clr-angular-forms-datalist.d.ts +59 -0
- package/types/clr-angular-forms-datepicker.d.ts +986 -0
- package/types/clr-angular-forms-file-input.d.ts +193 -0
- package/types/clr-angular-forms-input.d.ts +29 -0
- package/types/clr-angular-forms-number-input.d.ts +43 -0
- package/types/clr-angular-forms-password.d.ts +52 -0
- package/types/clr-angular-forms-radio.d.ts +50 -0
- package/types/clr-angular-forms-range.d.ts +37 -0
- package/types/clr-angular-forms-select.d.ts +36 -0
- package/types/clr-angular-forms-textarea.d.ts +29 -0
- package/types/clr-angular-forms.d.ts +36 -0
- package/types/clr-angular-icon.d.ts +1498 -0
- package/types/clr-angular-layout-breadcrumbs.d.ts +45 -0
- package/types/clr-angular-layout-main-container.d.ts +28 -0
- package/types/clr-angular-layout-nav.d.ts +142 -0
- package/types/clr-angular-layout-tabs.d.ts +158 -0
- package/types/clr-angular-layout-vertical-nav.d.ts +128 -0
- package/types/clr-angular-layout.d.ts +19 -0
- package/types/clr-angular-modal.d.ts +160 -0
- package/types/clr-angular-popover-common.d.ts +254 -0
- package/types/clr-angular-popover-dropdown.d.ts +123 -0
- package/types/clr-angular-popover-signpost.d.ts +157 -0
- package/types/clr-angular-popover-tooltip.d.ts +83 -0
- package/types/clr-angular-popover.d.ts +16 -0
- package/types/clr-angular-progress-progress-bars.d.ts +57 -0
- package/types/clr-angular-progress-spinner.d.ts +44 -0
- package/types/clr-angular-stepper.d.ts +179 -0
- package/types/clr-angular-timeline.d.ts +86 -0
- package/types/clr-angular-utils-conditional.d.ts +132 -0
- package/types/clr-angular-utils-loading.d.ts +38 -0
- package/types/clr-angular-utils.d.ts +913 -0
- package/types/clr-angular-wizard.d.ts +1508 -0
- package/fesm2022/rossigee-clarity-angular.mjs.map +0 -1
- /package/types/{rossigee-clarity-angular.d.ts → clr-angular.d.ts} +0 -0
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Injectable, Component, HostListener, Directive, Input, Optional, Inject, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@clr/angular/popover/common';
|
|
4
|
+
import { ClrPopoverHostDirective, ClrPopoverPosition, ClrPopoverType, TOOLTIP_POSITIONS, POPOVER_HOST_ORIGIN, ClrPopoverContent, ClrIfOpen, ClrPopoverModuleNext } from '@clr/angular/popover/common';
|
|
5
|
+
import { Subject } from 'rxjs';
|
|
6
|
+
import { uniqueIdFactory } from '@clr/angular/utils';
|
|
7
|
+
import { CommonModule } from '@angular/common';
|
|
8
|
+
import { ClrIcon } from '@clr/angular/icon';
|
|
9
|
+
|
|
10
|
+
/*
|
|
11
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
12
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
13
|
+
* This software is released under MIT license.
|
|
14
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
15
|
+
*/
|
|
16
|
+
class TooltipIdService {
|
|
17
|
+
constructor() {
|
|
18
|
+
this._id = new Subject();
|
|
19
|
+
}
|
|
20
|
+
get id() {
|
|
21
|
+
return this._id.asObservable();
|
|
22
|
+
}
|
|
23
|
+
updateId(id) {
|
|
24
|
+
this._id.next(id);
|
|
25
|
+
}
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: TooltipIdService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
27
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: TooltipIdService }); }
|
|
28
|
+
}
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: TooltipIdService, decorators: [{
|
|
30
|
+
type: Injectable
|
|
31
|
+
}] });
|
|
32
|
+
|
|
33
|
+
/*
|
|
34
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
35
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
36
|
+
* This software is released under MIT license.
|
|
37
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
38
|
+
*/
|
|
39
|
+
class TooltipMouseService {
|
|
40
|
+
constructor(popoverService) {
|
|
41
|
+
this.popoverService = popoverService;
|
|
42
|
+
this.mouseOutDelay = 100;
|
|
43
|
+
}
|
|
44
|
+
onMouseEnterTrigger() {
|
|
45
|
+
this.mouseOverTrigger = true;
|
|
46
|
+
this.popoverService.open = true;
|
|
47
|
+
}
|
|
48
|
+
onMouseLeaveTrigger() {
|
|
49
|
+
this.mouseOverTrigger = false;
|
|
50
|
+
this.hideIfMouseOut();
|
|
51
|
+
}
|
|
52
|
+
onMouseEnterContent() {
|
|
53
|
+
this.mouseOverContent = true;
|
|
54
|
+
}
|
|
55
|
+
onMouseLeaveContent() {
|
|
56
|
+
this.mouseOverContent = false;
|
|
57
|
+
this.hideIfMouseOut();
|
|
58
|
+
}
|
|
59
|
+
hideIfMouseOut() {
|
|
60
|
+
// A zero timeout is used so that the code has a chance to update
|
|
61
|
+
// the `mouseOverContent` property after the user moves the mouse from the trigger to the content.
|
|
62
|
+
setTimeout(() => {
|
|
63
|
+
if (!this.mouseOverTrigger && !this.mouseOverContent) {
|
|
64
|
+
this.popoverService.open = false;
|
|
65
|
+
}
|
|
66
|
+
}, this.mouseOutDelay);
|
|
67
|
+
}
|
|
68
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: TooltipMouseService, deps: [{ token: i1.ClrPopoverService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
69
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: TooltipMouseService }); }
|
|
70
|
+
}
|
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: TooltipMouseService, decorators: [{
|
|
72
|
+
type: Injectable
|
|
73
|
+
}], ctorParameters: () => [{ type: i1.ClrPopoverService }] });
|
|
74
|
+
|
|
75
|
+
/*
|
|
76
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
77
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
78
|
+
* This software is released under MIT license.
|
|
79
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
80
|
+
*/
|
|
81
|
+
class ClrTooltip {
|
|
82
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrTooltip, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
83
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.3", type: ClrTooltip, isStandalone: false, selector: "clr-tooltip", host: { properties: { "class.clr-tooltip-container": "true" } }, providers: [TooltipIdService, TooltipMouseService], hostDirectives: [{ directive: i1.ClrPopoverHostDirective }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true }); }
|
|
84
|
+
}
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrTooltip, decorators: [{
|
|
86
|
+
type: Component,
|
|
87
|
+
args: [{
|
|
88
|
+
selector: 'clr-tooltip',
|
|
89
|
+
template: `<ng-content></ng-content>`,
|
|
90
|
+
host: {
|
|
91
|
+
'[class.clr-tooltip-container]': 'true',
|
|
92
|
+
},
|
|
93
|
+
providers: [TooltipIdService, TooltipMouseService],
|
|
94
|
+
hostDirectives: [ClrPopoverHostDirective],
|
|
95
|
+
standalone: false,
|
|
96
|
+
}]
|
|
97
|
+
}] });
|
|
98
|
+
|
|
99
|
+
/*
|
|
100
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
101
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
102
|
+
* This software is released under MIT license.
|
|
103
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
104
|
+
*/
|
|
105
|
+
class ClrTooltipTrigger {
|
|
106
|
+
constructor(popoverService, tooltipIdService, tooltipMouseService, element) {
|
|
107
|
+
this.popoverService = popoverService;
|
|
108
|
+
this.tooltipMouseService = tooltipMouseService;
|
|
109
|
+
this.subs = [];
|
|
110
|
+
// The aria-described by comes from the id of content. It
|
|
111
|
+
this.subs.push(tooltipIdService.id.subscribe(tooltipId => (this.ariaDescribedBy = tooltipId)));
|
|
112
|
+
popoverService.origin = element;
|
|
113
|
+
}
|
|
114
|
+
ngOnDestroy() {
|
|
115
|
+
this.subs.forEach(sub => sub.unsubscribe());
|
|
116
|
+
}
|
|
117
|
+
showTooltip() {
|
|
118
|
+
this.popoverService.open = true;
|
|
119
|
+
}
|
|
120
|
+
hideTooltip() {
|
|
121
|
+
this.popoverService.open = false;
|
|
122
|
+
}
|
|
123
|
+
onMouseEnter() {
|
|
124
|
+
this.tooltipMouseService.onMouseEnterTrigger();
|
|
125
|
+
}
|
|
126
|
+
onMouseLeave() {
|
|
127
|
+
this.tooltipMouseService.onMouseLeaveTrigger();
|
|
128
|
+
}
|
|
129
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrTooltipTrigger, deps: [{ token: i1.ClrPopoverService }, { token: TooltipIdService }, { token: TooltipMouseService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
130
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.3", type: ClrTooltipTrigger, isStandalone: false, selector: "[clrTooltipTrigger]", host: { attributes: { "tabindex": "0" }, listeners: { "focus": "showTooltip()", "blur": "hideTooltip()", "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()" }, properties: { "class.tooltip-trigger": "true", "attr.aria-describedby": "ariaDescribedBy", "attr.role": "\"button\"" } }, ngImport: i0 }); }
|
|
131
|
+
}
|
|
132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrTooltipTrigger, decorators: [{
|
|
133
|
+
type: Directive,
|
|
134
|
+
args: [{
|
|
135
|
+
selector: '[clrTooltipTrigger]',
|
|
136
|
+
host: {
|
|
137
|
+
tabindex: '0',
|
|
138
|
+
'[class.tooltip-trigger]': 'true',
|
|
139
|
+
'[attr.aria-describedby]': 'ariaDescribedBy',
|
|
140
|
+
'[attr.role]': '"button"',
|
|
141
|
+
},
|
|
142
|
+
standalone: false,
|
|
143
|
+
}]
|
|
144
|
+
}], ctorParameters: () => [{ type: i1.ClrPopoverService }, { type: TooltipIdService }, { type: TooltipMouseService }, { type: i0.ElementRef }], propDecorators: { showTooltip: [{
|
|
145
|
+
type: HostListener,
|
|
146
|
+
args: ['focus']
|
|
147
|
+
}], hideTooltip: [{
|
|
148
|
+
type: HostListener,
|
|
149
|
+
args: ['blur']
|
|
150
|
+
}], onMouseEnter: [{
|
|
151
|
+
type: HostListener,
|
|
152
|
+
args: ['mouseenter']
|
|
153
|
+
}], onMouseLeave: [{
|
|
154
|
+
type: HostListener,
|
|
155
|
+
args: ['mouseleave']
|
|
156
|
+
}] } });
|
|
157
|
+
|
|
158
|
+
/*
|
|
159
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
160
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
161
|
+
* This software is released under MIT license.
|
|
162
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
163
|
+
*/
|
|
164
|
+
const SIZES = ['xs', 'sm', 'md', 'lg'];
|
|
165
|
+
const defaultPosition = ClrPopoverPosition.RIGHT;
|
|
166
|
+
const defaultSize = 'sm';
|
|
167
|
+
class ClrTooltipContent {
|
|
168
|
+
constructor(parentHost, tooltipIdService, el, renderer, popoverService, tooltipMouseService, popoverContent) {
|
|
169
|
+
this.tooltipIdService = tooltipIdService;
|
|
170
|
+
this.el = el;
|
|
171
|
+
this.renderer = renderer;
|
|
172
|
+
this.tooltipMouseService = tooltipMouseService;
|
|
173
|
+
this.popoverContent = popoverContent;
|
|
174
|
+
popoverService.panelClass.push('clr-tooltip-container');
|
|
175
|
+
popoverContent.contentType = ClrPopoverType.TOOLTIP;
|
|
176
|
+
popoverContent.scrollToClose = true;
|
|
177
|
+
if (!parentHost) {
|
|
178
|
+
throw new Error('clr-tooltip-content should only be used inside of a clr-tooltip');
|
|
179
|
+
}
|
|
180
|
+
// Set the default id in case consumer does not supply a custom id.
|
|
181
|
+
this.id = uniqueIdFactory();
|
|
182
|
+
}
|
|
183
|
+
get id() {
|
|
184
|
+
return this._id;
|
|
185
|
+
}
|
|
186
|
+
set id(value) {
|
|
187
|
+
const id = value || '';
|
|
188
|
+
this._id = id;
|
|
189
|
+
this.tooltipIdService.updateId(id);
|
|
190
|
+
}
|
|
191
|
+
get position() {
|
|
192
|
+
return this._position;
|
|
193
|
+
}
|
|
194
|
+
set position(value) {
|
|
195
|
+
const posIndex = TOOLTIP_POSITIONS.indexOf(value);
|
|
196
|
+
this._position = value && posIndex > -1 ? TOOLTIP_POSITIONS[posIndex] : defaultPosition;
|
|
197
|
+
this.popoverContent.contentAt = this._position;
|
|
198
|
+
}
|
|
199
|
+
get size() {
|
|
200
|
+
return this._size;
|
|
201
|
+
}
|
|
202
|
+
set size(value) {
|
|
203
|
+
const oldSize = this._size;
|
|
204
|
+
const newSize = SIZES.includes(value) ? value : defaultSize;
|
|
205
|
+
this._size = newSize;
|
|
206
|
+
this.updateCssClass({ oldClass: `tooltip-${oldSize}`, newClass: `tooltip-${newSize}` });
|
|
207
|
+
}
|
|
208
|
+
ngOnInit() {
|
|
209
|
+
this.size = this.size || defaultSize;
|
|
210
|
+
this.position = this.position || defaultPosition;
|
|
211
|
+
}
|
|
212
|
+
onMouseEnter() {
|
|
213
|
+
this.tooltipMouseService.onMouseEnterContent();
|
|
214
|
+
}
|
|
215
|
+
onMouseLeave() {
|
|
216
|
+
this.tooltipMouseService.onMouseLeaveContent();
|
|
217
|
+
}
|
|
218
|
+
updateCssClass({ oldClass, newClass }) {
|
|
219
|
+
this.renderer.removeClass(this.el.nativeElement, oldClass);
|
|
220
|
+
this.renderer.addClass(this.el.nativeElement, newClass);
|
|
221
|
+
}
|
|
222
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrTooltipContent, deps: [{ token: POPOVER_HOST_ORIGIN, optional: true }, { token: TooltipIdService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.ClrPopoverService }, { token: TooltipMouseService }, { token: i1.ClrPopoverContent }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
223
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.3", type: ClrTooltipContent, isStandalone: false, selector: "clr-tooltip-content", inputs: { id: "id", position: ["clrPosition", "position"], size: ["clrSize", "size"] }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()" }, properties: { "class.tooltip-content": "true", "style.opacity": "1", "attr.role": "\"tooltip\"", "id": "id" } }, hostDirectives: [{ directive: i1.ClrPopoverContent }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true }); }
|
|
224
|
+
}
|
|
225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrTooltipContent, decorators: [{
|
|
226
|
+
type: Component,
|
|
227
|
+
args: [{
|
|
228
|
+
selector: 'clr-tooltip-content',
|
|
229
|
+
template: `<ng-content></ng-content>`,
|
|
230
|
+
host: {
|
|
231
|
+
'[class.tooltip-content]': 'true',
|
|
232
|
+
'[style.opacity]': '1',
|
|
233
|
+
'[attr.role]': '"tooltip"',
|
|
234
|
+
'[id]': 'id',
|
|
235
|
+
},
|
|
236
|
+
standalone: false,
|
|
237
|
+
hostDirectives: [ClrPopoverContent],
|
|
238
|
+
}]
|
|
239
|
+
}], ctorParameters: () => [{ type: i0.ElementRef, decorators: [{
|
|
240
|
+
type: Optional
|
|
241
|
+
}, {
|
|
242
|
+
type: Inject,
|
|
243
|
+
args: [POPOVER_HOST_ORIGIN]
|
|
244
|
+
}] }, { type: TooltipIdService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.ClrPopoverService }, { type: TooltipMouseService }, { type: i1.ClrPopoverContent }], propDecorators: { id: [{
|
|
245
|
+
type: Input
|
|
246
|
+
}], position: [{
|
|
247
|
+
type: Input,
|
|
248
|
+
args: ['clrPosition']
|
|
249
|
+
}], size: [{
|
|
250
|
+
type: Input,
|
|
251
|
+
args: ['clrSize']
|
|
252
|
+
}], onMouseEnter: [{
|
|
253
|
+
type: HostListener,
|
|
254
|
+
args: ['mouseenter']
|
|
255
|
+
}], onMouseLeave: [{
|
|
256
|
+
type: HostListener,
|
|
257
|
+
args: ['mouseleave']
|
|
258
|
+
}] } });
|
|
259
|
+
|
|
260
|
+
/*
|
|
261
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
262
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
263
|
+
* This software is released under MIT license.
|
|
264
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
265
|
+
*/
|
|
266
|
+
const CLR_TOOLTIP_DIRECTIVES = [ClrTooltip, ClrTooltipTrigger, ClrTooltipContent];
|
|
267
|
+
class ClrTooltipModule {
|
|
268
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
269
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: ClrTooltipModule, declarations: [ClrTooltip, ClrTooltipTrigger, ClrTooltipContent], imports: [CommonModule, ClrIcon, ClrPopoverModuleNext], exports: [ClrTooltip, ClrTooltipTrigger, ClrTooltipContent, ClrIfOpen, ClrIcon] }); }
|
|
270
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrTooltipModule, imports: [CommonModule, ClrIcon, ClrPopoverModuleNext] }); }
|
|
271
|
+
}
|
|
272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrTooltipModule, decorators: [{
|
|
273
|
+
type: NgModule,
|
|
274
|
+
args: [{
|
|
275
|
+
imports: [CommonModule, ClrIcon, ClrPopoverModuleNext],
|
|
276
|
+
declarations: [CLR_TOOLTIP_DIRECTIVES],
|
|
277
|
+
exports: [CLR_TOOLTIP_DIRECTIVES, ClrIfOpen, ClrIcon],
|
|
278
|
+
}]
|
|
279
|
+
}] });
|
|
280
|
+
|
|
281
|
+
/*
|
|
282
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
283
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
284
|
+
* This software is released under MIT license.
|
|
285
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
286
|
+
*/
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Generated bundle index. Do not edit.
|
|
290
|
+
*/
|
|
291
|
+
|
|
292
|
+
export { CLR_TOOLTIP_DIRECTIVES, ClrTooltip, ClrTooltipContent, ClrTooltipModule, ClrTooltipTrigger };
|
|
293
|
+
//# sourceMappingURL=clr-angular-popover-tooltip.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clr-angular-popover-tooltip.mjs","sources":["../../../projects/angular/popover/tooltip/providers/tooltip-id.service.ts","../../../projects/angular/popover/tooltip/providers/tooltip-mouse.service.ts","../../../projects/angular/popover/tooltip/tooltip.ts","../../../projects/angular/popover/tooltip/tooltip-trigger.ts","../../../projects/angular/popover/tooltip/tooltip-content.ts","../../../projects/angular/popover/tooltip/tooltip.module.ts","../../../projects/angular/popover/tooltip/index.ts","../../../projects/angular/popover/tooltip/clr-angular-popover-tooltip.ts"],"sourcesContent":["/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { Injectable } from '@angular/core';\nimport { Observable, Subject } from 'rxjs';\n\n@Injectable()\nexport class TooltipIdService {\n private _id = new Subject<string>();\n\n get id(): Observable<string> {\n return this._id.asObservable();\n }\n\n updateId(id: string) {\n this._id.next(id);\n }\n}\n","/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { Injectable } from '@angular/core';\nimport { ClrPopoverService } from '@clr/angular/popover/common';\n\n@Injectable()\nexport class TooltipMouseService {\n private mouseOutDelay = 100;\n private mouseOverTrigger: boolean;\n private mouseOverContent: boolean;\n\n constructor(private readonly popoverService: ClrPopoverService) {}\n\n onMouseEnterTrigger() {\n this.mouseOverTrigger = true;\n this.popoverService.open = true;\n }\n\n onMouseLeaveTrigger() {\n this.mouseOverTrigger = false;\n this.hideIfMouseOut();\n }\n\n onMouseEnterContent() {\n this.mouseOverContent = true;\n }\n\n onMouseLeaveContent() {\n this.mouseOverContent = false;\n this.hideIfMouseOut();\n }\n\n private hideIfMouseOut() {\n // A zero timeout is used so that the code has a chance to update\n // the `mouseOverContent` property after the user moves the mouse from the trigger to the content.\n setTimeout(() => {\n if (!this.mouseOverTrigger && !this.mouseOverContent) {\n this.popoverService.open = false;\n }\n }, this.mouseOutDelay);\n }\n}\n","/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { Component } from '@angular/core';\nimport { ClrPopoverHostDirective } from '@clr/angular/popover/common';\n\nimport { TooltipIdService } from './providers/tooltip-id.service';\nimport { TooltipMouseService } from './providers/tooltip-mouse.service';\n\n@Component({\n selector: 'clr-tooltip',\n template: `<ng-content></ng-content>`,\n host: {\n '[class.clr-tooltip-container]': 'true',\n },\n providers: [TooltipIdService, TooltipMouseService],\n hostDirectives: [ClrPopoverHostDirective],\n standalone: false,\n})\nexport class ClrTooltip {}\n","/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { Directive, ElementRef, HostListener } from '@angular/core';\nimport { ClrPopoverService } from '@clr/angular/popover/common';\nimport { Subscription } from 'rxjs';\n\nimport { TooltipIdService } from './providers/tooltip-id.service';\nimport { TooltipMouseService } from './providers/tooltip-mouse.service';\n\n@Directive({\n selector: '[clrTooltipTrigger]',\n host: {\n tabindex: '0',\n '[class.tooltip-trigger]': 'true',\n '[attr.aria-describedby]': 'ariaDescribedBy',\n '[attr.role]': '\"button\"',\n },\n standalone: false,\n})\nexport class ClrTooltipTrigger {\n ariaDescribedBy: string;\n private subs: Subscription[] = [];\n\n constructor(\n private popoverService: ClrPopoverService,\n tooltipIdService: TooltipIdService,\n private tooltipMouseService: TooltipMouseService,\n element: ElementRef\n ) {\n // The aria-described by comes from the id of content. It\n this.subs.push(tooltipIdService.id.subscribe(tooltipId => (this.ariaDescribedBy = tooltipId)));\n popoverService.origin = element;\n }\n\n ngOnDestroy() {\n this.subs.forEach(sub => sub.unsubscribe());\n }\n\n @HostListener('focus')\n showTooltip(): void {\n this.popoverService.open = true;\n }\n\n @HostListener('blur')\n hideTooltip(): void {\n this.popoverService.open = false;\n }\n\n @HostListener('mouseenter')\n private onMouseEnter() {\n this.tooltipMouseService.onMouseEnterTrigger();\n }\n\n @HostListener('mouseleave')\n private onMouseLeave() {\n this.tooltipMouseService.onMouseLeaveTrigger();\n }\n}\n","/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { Component, ElementRef, HostListener, Inject, Input, OnInit, Optional, Renderer2 } from '@angular/core';\nimport {\n ClrPopoverContent,\n ClrPopoverPosition,\n ClrPopoverService,\n ClrPopoverType,\n POPOVER_HOST_ORIGIN,\n TOOLTIP_POSITIONS,\n} from '@clr/angular/popover/common';\nimport { uniqueIdFactory } from '@clr/angular/utils';\n\nimport { TooltipIdService } from './providers/tooltip-id.service';\nimport { TooltipMouseService } from './providers/tooltip-mouse.service';\n\nconst SIZES = ['xs', 'sm', 'md', 'lg'];\n\nconst defaultPosition = ClrPopoverPosition.RIGHT;\nconst defaultSize = 'sm';\n\n@Component({\n selector: 'clr-tooltip-content',\n template: `<ng-content></ng-content>`,\n host: {\n '[class.tooltip-content]': 'true',\n '[style.opacity]': '1',\n '[attr.role]': '\"tooltip\"',\n '[id]': 'id',\n },\n standalone: false,\n hostDirectives: [ClrPopoverContent],\n})\nexport class ClrTooltipContent implements OnInit {\n private _id: string;\n private _position: ClrPopoverPosition;\n private _size: string;\n\n constructor(\n @Optional()\n @Inject(POPOVER_HOST_ORIGIN)\n parentHost: ElementRef<HTMLElement>,\n private tooltipIdService: TooltipIdService,\n public el: ElementRef,\n private renderer: Renderer2,\n popoverService: ClrPopoverService,\n private tooltipMouseService: TooltipMouseService,\n private popoverContent: ClrPopoverContent\n ) {\n popoverService.panelClass.push('clr-tooltip-container');\n popoverContent.contentType = ClrPopoverType.TOOLTIP;\n\n popoverContent.scrollToClose = true;\n\n if (!parentHost) {\n throw new Error('clr-tooltip-content should only be used inside of a clr-tooltip');\n }\n\n // Set the default id in case consumer does not supply a custom id.\n this.id = uniqueIdFactory();\n }\n\n @Input()\n get id(): string {\n return this._id;\n }\n set id(value: string) {\n const id = value || '';\n\n this._id = id;\n this.tooltipIdService.updateId(id);\n }\n\n @Input('clrPosition')\n get position() {\n return this._position;\n }\n set position(value: string | ClrPopoverPosition) {\n const posIndex = TOOLTIP_POSITIONS.indexOf(value as ClrPopoverPosition);\n\n this._position = value && posIndex > -1 ? TOOLTIP_POSITIONS[posIndex] : defaultPosition;\n\n this.popoverContent.contentAt = this._position;\n }\n\n @Input('clrSize')\n get size() {\n return this._size;\n }\n set size(value: string) {\n const oldSize = this._size;\n const newSize = SIZES.includes(value) ? value : defaultSize;\n\n this._size = newSize;\n this.updateCssClass({ oldClass: `tooltip-${oldSize}`, newClass: `tooltip-${newSize}` });\n }\n\n ngOnInit() {\n this.size = this.size || defaultSize;\n this.position = this.position || defaultPosition;\n }\n\n @HostListener('mouseenter')\n private onMouseEnter() {\n this.tooltipMouseService.onMouseEnterContent();\n }\n\n @HostListener('mouseleave')\n private onMouseLeave() {\n this.tooltipMouseService.onMouseLeaveContent();\n }\n\n private updateCssClass({ oldClass, newClass }: { oldClass: string; newClass: string }) {\n this.renderer.removeClass(this.el.nativeElement, oldClass);\n this.renderer.addClass(this.el.nativeElement, newClass);\n }\n}\n","/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule, Type } from '@angular/core';\nimport { ClrIcon } from '@clr/angular/icon';\nimport { ClrIfOpen, ClrPopoverModuleNext } from '@clr/angular/popover/common';\n\nimport { ClrTooltip } from './tooltip';\nimport { ClrTooltipContent } from './tooltip-content';\nimport { ClrTooltipTrigger } from './tooltip-trigger';\n\nexport const CLR_TOOLTIP_DIRECTIVES: Type<any>[] = [ClrTooltip, ClrTooltipTrigger, ClrTooltipContent];\n\n@NgModule({\n imports: [CommonModule, ClrIcon, ClrPopoverModuleNext],\n declarations: [CLR_TOOLTIP_DIRECTIVES],\n exports: [CLR_TOOLTIP_DIRECTIVES, ClrIfOpen, ClrIcon],\n})\nexport class ClrTooltipModule {}\n","/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nexport * from './tooltip';\nexport * from './tooltip-trigger';\nexport * from './tooltip-content';\nexport * from './tooltip.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2.TooltipIdService","i3.TooltipMouseService","i1.TooltipIdService","i2"],"mappings":";;;;;;;;;AAAA;;;;;AAKG;MAMU,gBAAgB,CAAA;AAD7B,IAAA,WAAA,GAAA;AAEU,QAAA,IAAA,CAAA,GAAG,GAAG,IAAI,OAAO,EAAU;AASpC,IAAA;AAPC,IAAA,IAAI,EAAE,GAAA;AACJ,QAAA,OAAO,IAAI,CAAC,GAAG,CAAC,YAAY,EAAE;IAChC;AAEA,IAAA,QAAQ,CAAC,EAAU,E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AA,EAAA,CAAA;kBAL5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,OAAO,EAAE,oBAAoB,CAAC;oBACtD,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE,CAAC,sBAAsB,EAAE,SAAS,EAAE,OAAO,CAAC;AACtD,iBAAA;;;ACtBD;;;;;AAKG;;ACLH;;AAEG;;;;"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ClrDropdownModule } from '@clr/angular/popover/dropdown';
|
|
2
|
+
export * from '@clr/angular/popover/dropdown';
|
|
3
|
+
export * from '@clr/angular/popover/common';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
import { NgModule } from '@angular/core';
|
|
6
|
+
import { ClrSignpostModule } from '@clr/angular/popover/signpost';
|
|
7
|
+
export * from '@clr/angular/popover/signpost';
|
|
8
|
+
import { ClrTooltipModule } from '@clr/angular/popover/tooltip';
|
|
9
|
+
export * from '@clr/angular/popover/tooltip';
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
13
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
14
|
+
* This software is released under MIT license.
|
|
15
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
16
|
+
*/
|
|
17
|
+
class ClrPopoverModule {
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
19
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: ClrPopoverModule, exports: [ClrDropdownModule, ClrSignpostModule, ClrTooltipModule] }); }
|
|
20
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrPopoverModule, imports: [ClrDropdownModule, ClrSignpostModule, ClrTooltipModule] }); }
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrPopoverModule, decorators: [{
|
|
23
|
+
type: NgModule,
|
|
24
|
+
args: [{
|
|
25
|
+
exports: [ClrDropdownModule, ClrSignpostModule, ClrTooltipModule],
|
|
26
|
+
}]
|
|
27
|
+
}] });
|
|
28
|
+
|
|
29
|
+
/*
|
|
30
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
31
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
32
|
+
* This software is released under MIT license.
|
|
33
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Generated bundle index. Do not edit.
|
|
38
|
+
*/
|
|
39
|
+
|
|
40
|
+
export { ClrPopoverModule };
|
|
41
|
+
//# sourceMappingURL=clr-angular-popover.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clr-angular-popover.mjs","sources":["../../../projects/angular/popover/popover.module.ts","../../../projects/angular/popover/index.ts","../../../projects/angular/popover/clr-angular-popover.ts"],"sourcesContent":["/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { NgModule } from '@angular/core';\nimport { ClrDropdownModule } from '@clr/angular/popover/dropdown';\nimport { ClrSignpostModule } from '@clr/angular/popover/signpost';\nimport { ClrTooltipModule } from '@clr/angular/popover/tooltip';\n\n@NgModule({\n exports: [ClrDropdownModule, ClrSignpostModule, ClrTooltipModule],\n})\nexport class ClrPopoverModule {}\n","/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nexport * from '@clr/angular/popover/dropdown';\nexport * from '@clr/angular/popover/common';\nexport * from './popover.module';\nexport * from '@clr/angular/popover/signpost';\nexport * from '@clr/angular/popover/tooltip';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAAA;;;;;AAKG;MAUU,gBAAgB,CAAA;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,EAAA,OAAA,EAAA,CAFjB,iBAAiB,EAAE,iBAAiB,EAAE,gBAAgB,CAAA,EAAA,CAAA,CAAA;AAErD,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,EAAA,OAAA,EAAA,CAFjB,iBAAiB,EAAE,iBAAiB,EAAE,gBAAgB,CAAA,EAAA,CAAA,CAAA;;2FAErD,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAH5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,gBAAgB,CAAC;AAClE,iBAAA;;;ACdD;;;;;AAKG;;ACLH;;AAEG;;;;"}
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { HostBinding, Input, Component, NgModule } from '@angular/core';
|
|
4
|
+
import { isBooleanAttributeSet } from '@clr/angular/utils';
|
|
5
|
+
|
|
6
|
+
/*
|
|
7
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
8
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
9
|
+
* This software is released under MIT license.
|
|
10
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
11
|
+
*/
|
|
12
|
+
class ClrProgressBar {
|
|
13
|
+
constructor() {
|
|
14
|
+
this.max = 100;
|
|
15
|
+
/*
|
|
16
|
+
* No need to convert to `number` cause we could have
|
|
17
|
+
* floating point and parseInt will round the numbers
|
|
18
|
+
*
|
|
19
|
+
* working with string won't have any side-effects,
|
|
20
|
+
* we don't do any math so string will do the job.
|
|
21
|
+
*/
|
|
22
|
+
this.value = 0;
|
|
23
|
+
this.externalId = '';
|
|
24
|
+
}
|
|
25
|
+
get id() {
|
|
26
|
+
return this._ID;
|
|
27
|
+
}
|
|
28
|
+
set id(value) {
|
|
29
|
+
this._ID = value;
|
|
30
|
+
this.externalId = null;
|
|
31
|
+
}
|
|
32
|
+
get progressClass() {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
set clrCompact(value) {
|
|
36
|
+
this._compact = isBooleanAttributeSet(value);
|
|
37
|
+
}
|
|
38
|
+
get compactClass() {
|
|
39
|
+
return this._compact;
|
|
40
|
+
}
|
|
41
|
+
set clrLabeled(value) {
|
|
42
|
+
this._labeled = isBooleanAttributeSet(value);
|
|
43
|
+
}
|
|
44
|
+
get labeledClass() {
|
|
45
|
+
return this._labeled;
|
|
46
|
+
}
|
|
47
|
+
set clrFade(value) {
|
|
48
|
+
this._fade = isBooleanAttributeSet(value);
|
|
49
|
+
}
|
|
50
|
+
get fadeClass() {
|
|
51
|
+
return this._fade;
|
|
52
|
+
}
|
|
53
|
+
set clrLoop(value) {
|
|
54
|
+
this._loop = isBooleanAttributeSet(value);
|
|
55
|
+
}
|
|
56
|
+
get loopClass() {
|
|
57
|
+
return this._loop;
|
|
58
|
+
}
|
|
59
|
+
get warningClass() {
|
|
60
|
+
return this.color === 'warning';
|
|
61
|
+
}
|
|
62
|
+
get successClass() {
|
|
63
|
+
return this.color === 'success';
|
|
64
|
+
}
|
|
65
|
+
get dangerClass() {
|
|
66
|
+
return this.color === 'danger';
|
|
67
|
+
}
|
|
68
|
+
set clrFlash(value) {
|
|
69
|
+
this._flash = isBooleanAttributeSet(value);
|
|
70
|
+
}
|
|
71
|
+
get flashClass() {
|
|
72
|
+
return this._flash;
|
|
73
|
+
}
|
|
74
|
+
/** @deprecated since 2.0, remove in 4.0 */
|
|
75
|
+
set clrFlashDanger(value) {
|
|
76
|
+
this._flashDanger = isBooleanAttributeSet(value);
|
|
77
|
+
}
|
|
78
|
+
get flashDangerClass() {
|
|
79
|
+
return this._flashDanger;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Make sure that we always will have something that is readable
|
|
83
|
+
* for the screen reader
|
|
84
|
+
*/
|
|
85
|
+
get displayValue() {
|
|
86
|
+
if (this.displayval) {
|
|
87
|
+
return this.displayval;
|
|
88
|
+
}
|
|
89
|
+
return `${this.value || 0}%`;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Display optional text only when labeled is eneabled
|
|
93
|
+
*/
|
|
94
|
+
displayStringValue() {
|
|
95
|
+
return this._labeled;
|
|
96
|
+
}
|
|
97
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrProgressBar, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
98
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.3", type: ClrProgressBar, isStandalone: false, selector: "clr-progress-bar", inputs: { max: ["clrMax", "max"], displayval: ["clrDisplayval", "displayval"], color: ["clrColor", "color"], value: ["clrValue", "value"], id: "id", clrCompact: "clrCompact", clrLabeled: "clrLabeled", clrFade: "clrFade", clrLoop: "clrLoop", clrFlash: "clrFlash", clrFlashDanger: "clrFlashDanger" }, host: { properties: { "attr.id": "this.externalId", "class.progress": "this.progressClass", "class.compact": "this.compactClass", "class.labeled": "this.labeledClass", "class.progress-fade": "this.fadeClass", "class.loop": "this.loopClass", "class.warning": "this.warningClass", "class.success": "this.successClass", "class.danger": "this.dangerClass", "class.flash": "this.flashClass", "class.flash-danger": "this.flashDangerClass" } }, ngImport: i0, template: `
|
|
99
|
+
<progress [id]="id" [attr.max]="max" [attr.value]="value" [attr.data-displayval]="displayValue"></progress>
|
|
100
|
+
@if (displayStringValue()) {
|
|
101
|
+
<span>{{ displayValue }}</span>
|
|
102
|
+
}
|
|
103
|
+
`, isInline: true }); }
|
|
104
|
+
}
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrProgressBar, decorators: [{
|
|
106
|
+
type: Component,
|
|
107
|
+
args: [{
|
|
108
|
+
selector: 'clr-progress-bar',
|
|
109
|
+
template: `
|
|
110
|
+
<progress [id]="id" [attr.max]="max" [attr.value]="value" [attr.data-displayval]="displayValue"></progress>
|
|
111
|
+
@if (displayStringValue()) {
|
|
112
|
+
<span>{{ displayValue }}</span>
|
|
113
|
+
}
|
|
114
|
+
`,
|
|
115
|
+
standalone: false,
|
|
116
|
+
}]
|
|
117
|
+
}], propDecorators: { max: [{
|
|
118
|
+
type: Input,
|
|
119
|
+
args: ['clrMax']
|
|
120
|
+
}], displayval: [{
|
|
121
|
+
type: Input,
|
|
122
|
+
args: ['clrDisplayval']
|
|
123
|
+
}], color: [{
|
|
124
|
+
type: Input,
|
|
125
|
+
args: ['clrColor']
|
|
126
|
+
}], value: [{
|
|
127
|
+
type: Input,
|
|
128
|
+
args: ['clrValue']
|
|
129
|
+
}], externalId: [{
|
|
130
|
+
type: HostBinding,
|
|
131
|
+
args: ['attr.id']
|
|
132
|
+
}], id: [{
|
|
133
|
+
type: Input
|
|
134
|
+
}], progressClass: [{
|
|
135
|
+
type: HostBinding,
|
|
136
|
+
args: ['class.progress']
|
|
137
|
+
}], clrCompact: [{
|
|
138
|
+
type: Input,
|
|
139
|
+
args: ['clrCompact']
|
|
140
|
+
}], compactClass: [{
|
|
141
|
+
type: HostBinding,
|
|
142
|
+
args: ['class.compact']
|
|
143
|
+
}], clrLabeled: [{
|
|
144
|
+
type: Input,
|
|
145
|
+
args: ['clrLabeled']
|
|
146
|
+
}], labeledClass: [{
|
|
147
|
+
type: HostBinding,
|
|
148
|
+
args: ['class.labeled']
|
|
149
|
+
}], clrFade: [{
|
|
150
|
+
type: Input,
|
|
151
|
+
args: ['clrFade']
|
|
152
|
+
}], fadeClass: [{
|
|
153
|
+
type: HostBinding,
|
|
154
|
+
args: ['class.progress-fade']
|
|
155
|
+
}], clrLoop: [{
|
|
156
|
+
type: Input,
|
|
157
|
+
args: ['clrLoop']
|
|
158
|
+
}], loopClass: [{
|
|
159
|
+
type: HostBinding,
|
|
160
|
+
args: ['class.loop']
|
|
161
|
+
}], warningClass: [{
|
|
162
|
+
type: HostBinding,
|
|
163
|
+
args: ['class.warning']
|
|
164
|
+
}], successClass: [{
|
|
165
|
+
type: HostBinding,
|
|
166
|
+
args: ['class.success']
|
|
167
|
+
}], dangerClass: [{
|
|
168
|
+
type: HostBinding,
|
|
169
|
+
args: ['class.danger']
|
|
170
|
+
}], clrFlash: [{
|
|
171
|
+
type: Input,
|
|
172
|
+
args: ['clrFlash']
|
|
173
|
+
}], flashClass: [{
|
|
174
|
+
type: HostBinding,
|
|
175
|
+
args: ['class.flash']
|
|
176
|
+
}], clrFlashDanger: [{
|
|
177
|
+
type: Input,
|
|
178
|
+
args: ['clrFlashDanger']
|
|
179
|
+
}], flashDangerClass: [{
|
|
180
|
+
type: HostBinding,
|
|
181
|
+
args: ['class.flash-danger']
|
|
182
|
+
}] } });
|
|
183
|
+
|
|
184
|
+
/*
|
|
185
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
186
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
187
|
+
* This software is released under MIT license.
|
|
188
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
189
|
+
*/
|
|
190
|
+
const CLR_PROGRESS_BAR_DIRECTIVES = [ClrProgressBar];
|
|
191
|
+
class ClrProgressBarModule {
|
|
192
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
193
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: ClrProgressBarModule, declarations: [ClrProgressBar], imports: [CommonModule], exports: [ClrProgressBar] }); }
|
|
194
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrProgressBarModule, imports: [CommonModule] }); }
|
|
195
|
+
}
|
|
196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: ClrProgressBarModule, decorators: [{
|
|
197
|
+
type: NgModule,
|
|
198
|
+
args: [{
|
|
199
|
+
imports: [CommonModule],
|
|
200
|
+
declarations: [CLR_PROGRESS_BAR_DIRECTIVES],
|
|
201
|
+
exports: [CLR_PROGRESS_BAR_DIRECTIVES],
|
|
202
|
+
}]
|
|
203
|
+
}] });
|
|
204
|
+
|
|
205
|
+
/*
|
|
206
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
207
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
208
|
+
* This software is released under MIT license.
|
|
209
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
210
|
+
*/
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Generated bundle index. Do not edit.
|
|
214
|
+
*/
|
|
215
|
+
|
|
216
|
+
export { CLR_PROGRESS_BAR_DIRECTIVES, ClrProgressBar, ClrProgressBarModule };
|
|
217
|
+
//# sourceMappingURL=clr-angular-progress-progress-bars.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clr-angular-progress-progress-bars.mjs","sources":["../../../projects/angular/progress/progress-bars/progress-bar.ts","../../../projects/angular/progress/progress-bars/progress-bar.module.ts","../../../projects/angular/progress/progress-bars/index.ts","../../../projects/angular/progress/progress-bars/clr-angular-progress-progress-bars.ts"],"sourcesContent":["/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { Component, HostBinding, Input } from '@angular/core';\nimport { isBooleanAttributeSet } from '@clr/angular/utils';\n\n@Component({\n selector: 'clr-progress-bar',\n template: `\n <progress [id]=\"id\" [attr.max]=\"max\" [attr.value]=\"value\" [attr.data-displayval]=\"displayValue\"></progress>\n @if (displayStringValue()) {\n <span>{{ displayValue }}</span>\n }\n `,\n standalone: false,\n})\nexport class ClrProgressBar {\n @Input('clrMax') max: number | string = 100;\n @Input('clrDisplayval') displayval: string;\n @Input('clrColor') color: string;\n\n /*\n * No need to convert to `number` cause we could have\n * floating point and parseInt will round the numbers\n *\n * working with string won't have any side-effects,\n * we don't do any math so string will do the job.\n */\n @Input('clrValue') value: number | string = 0;\n\n @HostBinding('attr.id') externalId = '';\n\n private _ID: string;\n private _labeled: boolean;\n private _fade: boolean;\n private _loop: boolean;\n private _flash: boolean;\n private _flashDanger: boolean;\n private _compact: boolean;\n\n @Input()\n get id() {\n return this._ID;\n }\n set id(value: string) {\n this._ID = value;\n this.externalId = null;\n }\n\n @HostBinding('class.progress')\n get progressClass() {\n return true;\n }\n\n @Input('clrCompact')\n set clrCompact(value: boolean | string) {\n this._compact = isBooleanAttributeSet(value);\n }\n\n @HostBinding('class.compact')\n get compactClass() {\n return this._compact;\n }\n\n @Input('clrLabeled')\n set clrLabeled(value: boolean | string) {\n this._labeled = isBooleanAttributeSet(value);\n }\n\n @HostBinding('class.labeled')\n get labeledClass() {\n return this._labeled;\n }\n\n @Input('clrFade')\n set clrFade(value: boolean | string) {\n this._fade = isBooleanAttributeSet(value);\n }\n\n @HostBinding('class.progress-fade')\n get fadeClass() {\n return this._fade;\n }\n\n @Input('clrLoop')\n set clrLoop(value: boolean | string) {\n this._loop = isBooleanAttributeSet(value);\n }\n\n @HostBinding('class.loop')\n get loopClass() {\n return this._loop;\n }\n\n @HostBinding('class.warning')\n get warningClass() {\n return this.color === 'warning';\n }\n\n @HostBinding('class.success')\n get successClass() {\n return this.color === 'success';\n }\n\n @HostBinding('class.danger')\n get dangerClass() {\n return this.color === 'danger';\n }\n\n @Input('clrFlash')\n set clrFlash(value: boolean | string) {\n this._flash = isBooleanAttributeSet(value);\n }\n\n @HostBinding('class.flash')\n get flashClass() {\n return this._flash;\n }\n\n /** @deprecated since 2.0, remove in 4.0 */\n @Input('clrFlashDanger')\n set clrFlashDanger(value: boolean | string) {\n this._flashDanger = isBooleanAttributeSet(value);\n }\n\n @HostBinding('class.flash-danger')\n get flashDangerClass() {\n return this._flashDanger;\n }\n\n /**\n * Make sure that we always will have something that is readable\n * for the screen reader\n */\n get displayValue() {\n if (this.displayval) {\n return this.displayval;\n }\n return `${this.value || 0}%`;\n }\n\n /**\n * Display optional text only when labeled is eneabled\n */\n displayStringValue() {\n return this._labeled;\n }\n}\n","/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule, Type } from '@angular/core';\n\nimport { ClrProgressBar } from './progress-bar';\n\nexport const CLR_PROGRESS_BAR_DIRECTIVES: Type<any>[] = [ClrProgressBar];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [CLR_PROGRESS_BAR_DIRECTIVES],\n exports: [CLR_PROGRESS_BAR_DIRECTIVES],\n})\nexport class ClrProgressBarModule {}\n","/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nexport * from './progress-bar.module';\nexport * from './progress-bar';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAAA;;;;;AAKG;MAeU,cAAc,CAAA;AAV3B,IAAA,WAAA,GAAA;QAWmB,IAAA,CAAA,GAAG,GAAoB,GAAG;AAI3C;;;;;;AAMG;QACgB,IAAA,CAAA,KAAK,GAAoB,CAAC;QAErB,IAAA,CAAA,UAAU,GAAG,EAAE;AAqHxC,IAAA;AA3GC,IAAA,IACI,EAAE,GAAA;QACJ,OAAO,IAAI,CAAC,GAAG;IACjB;IACA,IAAI,EAAE,CAAC,KAAa,EAAA;AAClB,QAAA,IAAI,CAAC,GAAG,GAAG,KAAK;AAChB,QAAA,IAAI,CAAC,UAAU,GAAG,IAAI;IACxB;AAEA,IAAA,IACI,aAAa,GAAA;AACf,QAAA,OAAO,IAAI;IACb;IAEA,IACI,UAAU,CAAC,KAAuB,EAAA;AACpC,QAAA,IAAI,CAAC,QAAQ,GAAG,qBAAqB,CAAC,KAAK,CAAC;IAC9C;AAEA,IAAA,IACI,YAAY,GAAA;QACd,OAAO,IAAI,CAAC,QAAQ;IACtB;IAEA,IACI,UAAU,CAAC,KAAuB,EAAA;AACpC,QAAA,IAAI,CAAC,QAAQ,GAAG,qBAAqB,CAAC,KAAK,CAAC;IAC9C;AAEA,IAAA,IACI,YAAY,GAAA;QACd,OAAO,IAAI,CAAC,QAAQ;IACtB;IAEA,IACI,OAAO,CAAC,KAAuB,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