@testgorilla/tgo-ui 9.3.3 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs +15 -15
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +23 -23
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs +23 -23
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs +84 -84
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +21 -21
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +10 -10
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +10 -10
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +20 -20
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +15 -15
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs +44 -44
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +20 -20
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +25 -25
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +10 -10
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs +14 -14
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +10 -10
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +20 -20
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +23 -15
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-infinite-scroll-table.mjs +369 -0
- package/fesm2022/testgorilla-tgo-ui-components-infinite-scroll-table.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +33 -33
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +3 -3
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +3 -3
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +23 -23
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +14 -14
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +10 -10
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs +15 -15
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +42 -42
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +10 -10
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs +17 -17
- package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +14 -14
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs +31 -31
- package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +3 -3
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +10 -10
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +21 -21
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +25 -25
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +26 -26
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +10 -10
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +17 -17
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs +40 -40
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui.mjs +7 -7
- package/mcp/catalog.json +1 -1
- package/package.json +96 -101
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Grid-list-view-filled.svg +3 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Grid-list-view-in-line.svg +3 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Table-view-filled.svg +3 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Table-view-in-line.svg +3 -0
- package/{components/icon/index.d.ts → types/testgorilla-tgo-ui-components-icon.d.ts} +1 -1
- package/types/testgorilla-tgo-ui-components-infinite-scroll-table.d.ts +225 -0
- package/{components/inline-field/index.d.ts → types/testgorilla-tgo-ui-components-inline-field.d.ts} +8 -7
- package/{components/side-sheet/index.d.ts → types/testgorilla-tgo-ui-components-side-sheet.d.ts} +1 -1
- /package/{components/accordion/index.d.ts → types/testgorilla-tgo-ui-components-accordion.d.ts} +0 -0
- /package/{components/ai-audio-circle/index.d.ts → types/testgorilla-tgo-ui-components-ai-audio-circle.d.ts} +0 -0
- /package/{components/ai-caveat/index.d.ts → types/testgorilla-tgo-ui-components-ai-caveat.d.ts} +0 -0
- /package/{components/ai-feedback/index.d.ts → types/testgorilla-tgo-ui-components-ai-feedback.d.ts} +0 -0
- /package/{components/alert-banner/index.d.ts → types/testgorilla-tgo-ui-components-alert-banner.d.ts} +0 -0
- /package/{components/audio-waveform/index.d.ts → types/testgorilla-tgo-ui-components-audio-waveform.d.ts} +0 -0
- /package/{components/autocomplete-v2/index.d.ts → types/testgorilla-tgo-ui-components-autocomplete-v2.d.ts} +0 -0
- /package/{components/autocomplete/index.d.ts → types/testgorilla-tgo-ui-components-autocomplete.d.ts} +0 -0
- /package/{components/avatar/index.d.ts → types/testgorilla-tgo-ui-components-avatar.d.ts} +0 -0
- /package/{components/badge/index.d.ts → types/testgorilla-tgo-ui-components-badge.d.ts} +0 -0
- /package/{components/breadcrumb/index.d.ts → types/testgorilla-tgo-ui-components-breadcrumb.d.ts} +0 -0
- /package/{components/button/index.d.ts → types/testgorilla-tgo-ui-components-button.d.ts} +0 -0
- /package/{components/card/index.d.ts → types/testgorilla-tgo-ui-components-card.d.ts} +0 -0
- /package/{components/checkbox/index.d.ts → types/testgorilla-tgo-ui-components-checkbox.d.ts} +0 -0
- /package/{components/checklist/index.d.ts → types/testgorilla-tgo-ui-components-checklist.d.ts} +0 -0
- /package/{components/core/index.d.ts → types/testgorilla-tgo-ui-components-core.d.ts} +0 -0
- /package/{components/datepicker/index.d.ts → types/testgorilla-tgo-ui-components-datepicker.d.ts} +0 -0
- /package/{components/dialog/index.d.ts → types/testgorilla-tgo-ui-components-dialog.d.ts} +0 -0
- /package/{components/divider/index.d.ts → types/testgorilla-tgo-ui-components-divider.d.ts} +0 -0
- /package/{components/donut-chart/index.d.ts → types/testgorilla-tgo-ui-components-donut-chart.d.ts} +0 -0
- /package/{components/dropdown/index.d.ts → types/testgorilla-tgo-ui-components-dropdown.d.ts} +0 -0
- /package/{components/elevation-shadow/index.d.ts → types/testgorilla-tgo-ui-components-elevation-shadow.d.ts} +0 -0
- /package/{components/empty-state/index.d.ts → types/testgorilla-tgo-ui-components-empty-state.d.ts} +0 -0
- /package/{components/field/index.d.ts → types/testgorilla-tgo-ui-components-field.d.ts} +0 -0
- /package/{components/file-upload/index.d.ts → types/testgorilla-tgo-ui-components-file-upload.d.ts} +0 -0
- /package/{components/filter-button/index.d.ts → types/testgorilla-tgo-ui-components-filter-button.d.ts} +0 -0
- /package/{components/gaussian-chart/index.d.ts → types/testgorilla-tgo-ui-components-gaussian-chart.d.ts} +0 -0
- /package/{components/icon-label/index.d.ts → types/testgorilla-tgo-ui-components-icon-label.d.ts} +0 -0
- /package/{components/logo/index.d.ts → types/testgorilla-tgo-ui-components-logo.d.ts} +0 -0
- /package/{components/media-card/index.d.ts → types/testgorilla-tgo-ui-components-media-card.d.ts} +0 -0
- /package/{components/media-dialog/index.d.ts → types/testgorilla-tgo-ui-components-media-dialog.d.ts} +0 -0
- /package/{components/multi-input/index.d.ts → types/testgorilla-tgo-ui-components-multi-input.d.ts} +0 -0
- /package/{components/navbar/index.d.ts → types/testgorilla-tgo-ui-components-navbar.d.ts} +0 -0
- /package/{components/overflow-menu/index.d.ts → types/testgorilla-tgo-ui-components-overflow-menu.d.ts} +0 -0
- /package/{components/page-header/index.d.ts → types/testgorilla-tgo-ui-components-page-header.d.ts} +0 -0
- /package/{components/paginator/index.d.ts → types/testgorilla-tgo-ui-components-paginator.d.ts} +0 -0
- /package/{components/password-criteria/index.d.ts → types/testgorilla-tgo-ui-components-password-criteria.d.ts} +0 -0
- /package/{components/password-strength/index.d.ts → types/testgorilla-tgo-ui-components-password-strength.d.ts} +0 -0
- /package/{components/phone-input/index.d.ts → types/testgorilla-tgo-ui-components-phone-input.d.ts} +0 -0
- /package/{components/popover/index.d.ts → types/testgorilla-tgo-ui-components-popover.d.ts} +0 -0
- /package/{components/progress-bar/index.d.ts → types/testgorilla-tgo-ui-components-progress-bar.d.ts} +0 -0
- /package/{components/prompt/index.d.ts → types/testgorilla-tgo-ui-components-prompt.d.ts} +0 -0
- /package/{components/radial-progress/index.d.ts → types/testgorilla-tgo-ui-components-radial-progress.d.ts} +0 -0
- /package/{components/radio-button/index.d.ts → types/testgorilla-tgo-ui-components-radio-button.d.ts} +0 -0
- /package/{components/rating/index.d.ts → types/testgorilla-tgo-ui-components-rating.d.ts} +0 -0
- /package/{components/scale-table/index.d.ts → types/testgorilla-tgo-ui-components-scale-table.d.ts} +0 -0
- /package/{components/scale/index.d.ts → types/testgorilla-tgo-ui-components-scale.d.ts} +0 -0
- /package/{components/segmented-bar/index.d.ts → types/testgorilla-tgo-ui-components-segmented-bar.d.ts} +0 -0
- /package/{components/segmented-button/index.d.ts → types/testgorilla-tgo-ui-components-segmented-button.d.ts} +0 -0
- /package/{components/segmented-toggle/index.d.ts → types/testgorilla-tgo-ui-components-segmented-toggle.d.ts} +0 -0
- /package/{components/selectable-card/index.d.ts → types/testgorilla-tgo-ui-components-selectable-card.d.ts} +0 -0
- /package/{components/side-navigation/index.d.ts → types/testgorilla-tgo-ui-components-side-navigation.d.ts} +0 -0
- /package/{components/side-panel/index.d.ts → types/testgorilla-tgo-ui-components-side-panel.d.ts} +0 -0
- /package/{components/skeleton/index.d.ts → types/testgorilla-tgo-ui-components-skeleton.d.ts} +0 -0
- /package/{components/slider/index.d.ts → types/testgorilla-tgo-ui-components-slider.d.ts} +0 -0
- /package/{components/snackbar/index.d.ts → types/testgorilla-tgo-ui-components-snackbar.d.ts} +0 -0
- /package/{components/spider-chart/index.d.ts → types/testgorilla-tgo-ui-components-spider-chart.d.ts} +0 -0
- /package/{components/spinner/index.d.ts → types/testgorilla-tgo-ui-components-spinner.d.ts} +0 -0
- /package/{components/stepper/index.d.ts → types/testgorilla-tgo-ui-components-stepper.d.ts} +0 -0
- /package/{components/table/index.d.ts → types/testgorilla-tgo-ui-components-table.d.ts} +0 -0
- /package/{components/tabs/index.d.ts → types/testgorilla-tgo-ui-components-tabs.d.ts} +0 -0
- /package/{components/tag/index.d.ts → types/testgorilla-tgo-ui-components-tag.d.ts} +0 -0
- /package/{components/toggle/index.d.ts → types/testgorilla-tgo-ui-components-toggle.d.ts} +0 -0
- /package/{components/tooltip/index.d.ts → types/testgorilla-tgo-ui-components-tooltip.d.ts} +0 -0
- /package/{components/universal-skills/index.d.ts → types/testgorilla-tgo-ui-components-universal-skills.d.ts} +0 -0
- /package/{components/validation-error/index.d.ts → types/testgorilla-tgo-ui-components-validation-error.d.ts} +0 -0
- /package/{components/write-with-ai/index.d.ts → types/testgorilla-tgo-ui-components-write-with-ai.d.ts} +0 -0
- /package/{index.d.ts → types/testgorilla-tgo-ui.d.ts} +0 -0
|
@@ -8,26 +8,26 @@ import { CardComponentModule } from '@testgorilla/tgo-ui/components/card';
|
|
|
8
8
|
|
|
9
9
|
class PopoverComponent {
|
|
10
10
|
constructor() {
|
|
11
|
-
this.templateRef = input(null, ...(ngDevMode ? [{ debugName: "templateRef" }] : []));
|
|
12
|
-
this.ctx = input({}, ...(ngDevMode ? [{ debugName: "ctx" }] : []));
|
|
13
|
-
this.popoverCard = input(true, ...(ngDevMode ? [{ debugName: "popoverCard" }] : []));
|
|
11
|
+
this.templateRef = input(null, ...(ngDevMode ? [{ debugName: "templateRef" }] : /* istanbul ignore next */ []));
|
|
12
|
+
this.ctx = input({}, ...(ngDevMode ? [{ debugName: "ctx" }] : /* istanbul ignore next */ []));
|
|
13
|
+
this.popoverCard = input(true, ...(ngDevMode ? [{ debugName: "popoverCard" }] : /* istanbul ignore next */ []));
|
|
14
14
|
}
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.18", type: PopoverComponent, isStandalone: true, selector: "ui-popover", inputs: { templateRef: { classPropertyName: "templateRef", publicName: "templateRef", isSignal: true, isRequired: false, transformFunction: null }, ctx: { classPropertyName: "ctx", publicName: "ctx", isSignal: true, isRequired: false, transformFunction: null }, popoverCard: { classPropertyName: "popoverCard", publicName: "popoverCard", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (templateRef()) {\n @if (popoverCard()) {\n <ui-card>\n <ng-container *ngTemplateOutlet=\"templateRef(); context: ctx()\"></ng-container>\n </ui-card>\n } @else {\n <ng-container *ngTemplateOutlet=\"templateRef(); context: ctx()\"></ng-container>\n }\n}\n", styles: [":host{display:block;pointer-events:auto;animation:popover-enter .15s ease-out}@keyframes popover-enter{0%{opacity:0;transform:translateY(-4px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CardComponentModule }, { kind: "component", type: i1.CardComponent, selector: "ui-card", inputs: ["size", "sizeVariant", "variant", "applicationTheme", "errors", "errorsSize", "selected", "allowSelect", "allowFocus"], outputs: ["cardSelected"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PopoverComponent, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{ selector: 'ui-popover', standalone: true, imports: [NgTemplateOutlet, CardComponentModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (templateRef()) {\n @if (popoverCard()) {\n <ui-card>\n <ng-container *ngTemplateOutlet=\"templateRef(); context: ctx()\"></ng-container>\n </ui-card>\n } @else {\n <ng-container *ngTemplateOutlet=\"templateRef(); context: ctx()\"></ng-container>\n }\n}\n", styles: [":host{display:block;pointer-events:auto;animation:popover-enter .15s ease-out}@keyframes popover-enter{0%{opacity:0;transform:translateY(-4px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}\n"] }]
|
|
21
21
|
}], propDecorators: { templateRef: [{ type: i0.Input, args: [{ isSignal: true, alias: "templateRef", required: false }] }], ctx: [{ type: i0.Input, args: [{ isSignal: true, alias: "ctx", required: false }] }], popoverCard: [{ type: i0.Input, args: [{ isSignal: true, alias: "popoverCard", required: false }] }] } });
|
|
22
22
|
|
|
23
23
|
class PopoverDirective {
|
|
24
24
|
constructor() {
|
|
25
|
-
this.uiPopover = input.required(...(ngDevMode ? [{ debugName: "uiPopover" }] : []));
|
|
26
|
-
this.popoverOffset = input(4, ...(ngDevMode ? [{ debugName: "popoverOffset" }] : []));
|
|
27
|
-
this.popoverAlign = input('center', ...(ngDevMode ? [{ debugName: "popoverAlign" }] : []));
|
|
28
|
-
this.popoverOpen = input(false, ...(ngDevMode ? [{ debugName: "popoverOpen" }] : []));
|
|
29
|
-
this.popoverCard = input(true, ...(ngDevMode ? [{ debugName: "popoverCard" }] : []));
|
|
30
|
-
this.uiPopoverDisabled = input(false, ...(ngDevMode ? [{ debugName: "uiPopoverDisabled" }] : []));
|
|
25
|
+
this.uiPopover = input.required(...(ngDevMode ? [{ debugName: "uiPopover" }] : /* istanbul ignore next */ []));
|
|
26
|
+
this.popoverOffset = input(4, ...(ngDevMode ? [{ debugName: "popoverOffset" }] : /* istanbul ignore next */ []));
|
|
27
|
+
this.popoverAlign = input('center', ...(ngDevMode ? [{ debugName: "popoverAlign" }] : /* istanbul ignore next */ []));
|
|
28
|
+
this.popoverOpen = input(false, ...(ngDevMode ? [{ debugName: "popoverOpen" }] : /* istanbul ignore next */ []));
|
|
29
|
+
this.popoverCard = input(true, ...(ngDevMode ? [{ debugName: "popoverCard" }] : /* istanbul ignore next */ []));
|
|
30
|
+
this.uiPopoverDisabled = input(false, ...(ngDevMode ? [{ debugName: "uiPopoverDisabled" }] : /* istanbul ignore next */ []));
|
|
31
31
|
this.overlay = inject(Overlay);
|
|
32
32
|
this.elementRef = inject(ElementRef);
|
|
33
33
|
this.injector = inject(Injector);
|
|
@@ -124,10 +124,10 @@ class PopoverDirective {
|
|
|
124
124
|
this.close();
|
|
125
125
|
this.overlayRef?.dispose();
|
|
126
126
|
}
|
|
127
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
128
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
127
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PopoverDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
128
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.18", type: PopoverDirective, isStandalone: true, selector: "[uiPopover]", inputs: { uiPopover: { classPropertyName: "uiPopover", publicName: "uiPopover", isSignal: true, isRequired: true, transformFunction: null }, popoverOffset: { classPropertyName: "popoverOffset", publicName: "popoverOffset", isSignal: true, isRequired: false, transformFunction: null }, popoverAlign: { classPropertyName: "popoverAlign", publicName: "popoverAlign", isSignal: true, isRequired: false, transformFunction: null }, popoverOpen: { classPropertyName: "popoverOpen", publicName: "popoverOpen", isSignal: true, isRequired: false, transformFunction: null }, popoverCard: { classPropertyName: "popoverCard", publicName: "popoverCard", isSignal: true, isRequired: false, transformFunction: null }, uiPopoverDisabled: { classPropertyName: "uiPopoverDisabled", publicName: "uiPopoverDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()" } }, ngImport: i0 }); }
|
|
129
129
|
}
|
|
130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PopoverDirective, decorators: [{
|
|
131
131
|
type: Directive,
|
|
132
132
|
args: [{
|
|
133
133
|
selector: '[uiPopover]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testgorilla-tgo-ui-components-popover.mjs","sources":["../../../components/popover/popover.component.ts","../../../components/popover/popover.component.html","../../../components/popover/popover.directive.ts","../../../components/popover/public-api.ts","../../../components/popover/testgorilla-tgo-ui-components-popover.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, input, TemplateRef } from '@angular/core';\n\nimport { CardComponentModule } from '@testgorilla/tgo-ui/components/card';\n\n@Component({\n selector: 'ui-popover',\n standalone: true,\n imports: [NgTemplateOutlet, CardComponentModule],\n templateUrl: './popover.component.html',\n styleUrls: ['./popover.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PopoverComponent {\n templateRef = input<TemplateRef<unknown> | null>(null);\n ctx = input<Record<string, unknown>>({});\n popoverCard = input(true);\n}\n","@if (templateRef()) {\n @if (popoverCard()) {\n <ui-card>\n <ng-container *ngTemplateOutlet=\"templateRef(); context: ctx()\"></ng-container>\n </ui-card>\n } @else {\n <ng-container *ngTemplateOutlet=\"templateRef(); context: ctx()\"></ng-container>\n }\n}\n","import { HorizontalConnectionPos, Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n Directive,\n ElementRef,\n HostListener,\n inject,\n Injector,\n input,\n NgZone,\n OnDestroy,\n OnInit,\n TemplateRef,\n} from '@angular/core';\n\nimport { PopoverComponent } from './popover.component';\n\n@Directive({\n selector: '[uiPopover]',\n standalone: true,\n})\nexport class PopoverDirective implements OnInit, OnDestroy {\n uiPopover = input.required<TemplateRef<unknown>>();\n popoverOffset = input(4);\n popoverAlign = input<HorizontalConnectionPos>('center');\n popoverOpen = input(false);\n popoverCard = input(true);\n uiPopoverDisabled = input(false);\n\n private readonly overlay = inject(Overlay);\n private readonly elementRef = inject(ElementRef);\n private readonly injector = inject(Injector);\n private readonly ngZone = inject(NgZone);\n\n private overlayRef: OverlayRef | null = null;\n private openTimeout: ReturnType<typeof setTimeout> | null = null;\n private closeTimeout: ReturnType<typeof setTimeout> | null = null;\n private overlayListeners: { enter: () => void; leave: () => void } | null = null;\n\n @HostListener('mouseenter')\n onMouseEnter(): void {\n if (this.uiPopoverDisabled()) {\n return;\n }\n this.cancelClose();\n this.scheduleOpen();\n }\n\n @HostListener('mouseleave')\n onMouseLeave(): void {\n this.cancelOpen();\n this.scheduleClose();\n }\n\n private open(): void {\n if (!this.overlayRef) {\n this.createOverlay();\n }\n\n const overlayRef = this.overlayRef;\n if (!overlayRef || overlayRef.hasAttached()) {\n return;\n }\n\n const portal = new ComponentPortal(PopoverComponent, null, this.injector);\n const ref = overlayRef.attach(portal);\n ref.setInput('templateRef', this.uiPopover());\n ref.setInput('ctx', { close: () => this.close() });\n ref.setInput('popoverCard', this.popoverCard());\n\n const el = overlayRef.overlayElement;\n const enter = (): void => this.ngZone.run(() => this.cancelClose());\n const leave = (): void => this.ngZone.run(() => this.scheduleClose());\n el.addEventListener('mouseenter', enter);\n el.addEventListener('mouseleave', leave);\n this.overlayListeners = { enter, leave };\n }\n\n private createOverlay(): void {\n const align = this.popoverAlign();\n const positionStrategy = this.overlay\n .position()\n .flexibleConnectedTo(this.elementRef)\n .withPositions([\n { originX: align, originY: 'bottom', overlayX: align, overlayY: 'top', offsetY: this.popoverOffset() },\n { originX: align, originY: 'top', overlayX: align, overlayY: 'bottom', offsetY: -this.popoverOffset() },\n ]);\n\n this.overlayRef = this.overlay.create({\n positionStrategy,\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n hasBackdrop: false,\n });\n }\n\n private scheduleOpen(): void {\n this.openTimeout = setTimeout(() => this.open(), 100);\n }\n\n private cancelOpen(): void {\n if (this.openTimeout) {\n clearTimeout(this.openTimeout);\n this.openTimeout = null;\n }\n }\n\n private scheduleClose(): void {\n this.closeTimeout = setTimeout(() => this.close(), 150);\n }\n\n private cancelClose(): void {\n if (this.closeTimeout) {\n clearTimeout(this.closeTimeout);\n this.closeTimeout = null;\n }\n }\n\n private close(): void {\n if (!this.overlayRef) {\n return;\n }\n\n if (this.overlayListeners) {\n const el = this.overlayRef.overlayElement;\n el.removeEventListener('mouseenter', this.overlayListeners.enter);\n el.removeEventListener('mouseleave', this.overlayListeners.leave);\n this.overlayListeners = null;\n }\n\n this.overlayRef.detach();\n }\n\n ngOnInit(): void {\n if (this.popoverOpen() && !this.uiPopoverDisabled()) {\n this.open();\n }\n }\n\n ngOnDestroy(): void {\n this.cancelOpen();\n this.cancelClose();\n this.close();\n this.overlayRef?.dispose();\n }\n}\n","export * from './popover.directive';\n// PopoverComponent is internal — not part of the public API\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;MAaa,gBAAgB,CAAA;AAR7B,IAAA,WAAA,GAAA;AASE,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAA8B,IAAI,uDAAC;AACtD,QAAA,IAAA,CAAA,GAAG,GAAG,KAAK,CAA0B,EAAE,+CAAC;AACxC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,IAAI,uDAAC;AAC1B,IAAA;+GAJY,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,UAAA,EAAA,aAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAA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iBAAA,EAAA,mBAAA,EAAA,UAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,YAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,gBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,aAAa;AACvB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;sBAmBE,YAAY;uBAAC,YAAY;;sBASzB,YAAY;uBAAC,YAAY;;;AC/C5B;;ACDA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"testgorilla-tgo-ui-components-popover.mjs","sources":["../../../components/popover/popover.component.ts","../../../components/popover/popover.component.html","../../../components/popover/popover.directive.ts","../../../components/popover/public-api.ts","../../../components/popover/testgorilla-tgo-ui-components-popover.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, input, TemplateRef } from '@angular/core';\n\nimport { CardComponentModule } from '@testgorilla/tgo-ui/components/card';\n\n@Component({\n selector: 'ui-popover',\n standalone: true,\n imports: [NgTemplateOutlet, CardComponentModule],\n templateUrl: './popover.component.html',\n styleUrls: ['./popover.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PopoverComponent {\n templateRef = input<TemplateRef<unknown> | null>(null);\n ctx = input<Record<string, unknown>>({});\n popoverCard = input(true);\n}\n","@if (templateRef()) {\n @if (popoverCard()) {\n <ui-card>\n <ng-container *ngTemplateOutlet=\"templateRef(); context: ctx()\"></ng-container>\n </ui-card>\n } @else {\n <ng-container *ngTemplateOutlet=\"templateRef(); context: ctx()\"></ng-container>\n }\n}\n","import { HorizontalConnectionPos, Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n Directive,\n ElementRef,\n HostListener,\n inject,\n Injector,\n input,\n NgZone,\n OnDestroy,\n OnInit,\n TemplateRef,\n} from '@angular/core';\n\nimport { PopoverComponent } from './popover.component';\n\n@Directive({\n selector: '[uiPopover]',\n standalone: true,\n})\nexport class PopoverDirective implements OnInit, OnDestroy {\n uiPopover = input.required<TemplateRef<unknown>>();\n popoverOffset = input(4);\n popoverAlign = input<HorizontalConnectionPos>('center');\n popoverOpen = input(false);\n popoverCard = input(true);\n uiPopoverDisabled = input(false);\n\n private readonly overlay = inject(Overlay);\n private readonly elementRef = inject(ElementRef);\n private readonly injector = inject(Injector);\n private readonly ngZone = inject(NgZone);\n\n private overlayRef: OverlayRef | null = null;\n private openTimeout: ReturnType<typeof setTimeout> | null = null;\n private closeTimeout: ReturnType<typeof setTimeout> | null = null;\n private overlayListeners: { enter: () => void; leave: () => void } | null = null;\n\n @HostListener('mouseenter')\n onMouseEnter(): void {\n if (this.uiPopoverDisabled()) {\n return;\n }\n this.cancelClose();\n this.scheduleOpen();\n }\n\n @HostListener('mouseleave')\n onMouseLeave(): void {\n this.cancelOpen();\n this.scheduleClose();\n }\n\n private open(): void {\n if (!this.overlayRef) {\n this.createOverlay();\n }\n\n const overlayRef = this.overlayRef;\n if (!overlayRef || overlayRef.hasAttached()) {\n return;\n }\n\n const portal = new ComponentPortal(PopoverComponent, null, this.injector);\n const ref = overlayRef.attach(portal);\n ref.setInput('templateRef', this.uiPopover());\n ref.setInput('ctx', { close: () => this.close() });\n ref.setInput('popoverCard', this.popoverCard());\n\n const el = overlayRef.overlayElement;\n const enter = (): void => this.ngZone.run(() => this.cancelClose());\n const leave = (): void => this.ngZone.run(() => this.scheduleClose());\n el.addEventListener('mouseenter', enter);\n el.addEventListener('mouseleave', leave);\n this.overlayListeners = { enter, leave };\n }\n\n private createOverlay(): void {\n const align = this.popoverAlign();\n const positionStrategy = this.overlay\n .position()\n .flexibleConnectedTo(this.elementRef)\n .withPositions([\n { originX: align, originY: 'bottom', overlayX: align, overlayY: 'top', offsetY: this.popoverOffset() },\n { originX: align, originY: 'top', overlayX: align, overlayY: 'bottom', offsetY: -this.popoverOffset() },\n ]);\n\n this.overlayRef = this.overlay.create({\n positionStrategy,\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n hasBackdrop: false,\n });\n }\n\n private scheduleOpen(): void {\n this.openTimeout = setTimeout(() => this.open(), 100);\n }\n\n private cancelOpen(): void {\n if (this.openTimeout) {\n clearTimeout(this.openTimeout);\n this.openTimeout = null;\n }\n }\n\n private scheduleClose(): void {\n this.closeTimeout = setTimeout(() => this.close(), 150);\n }\n\n private cancelClose(): void {\n if (this.closeTimeout) {\n clearTimeout(this.closeTimeout);\n this.closeTimeout = null;\n }\n }\n\n private close(): void {\n if (!this.overlayRef) {\n return;\n }\n\n if (this.overlayListeners) {\n const el = this.overlayRef.overlayElement;\n el.removeEventListener('mouseenter', this.overlayListeners.enter);\n el.removeEventListener('mouseleave', this.overlayListeners.leave);\n this.overlayListeners = null;\n }\n\n this.overlayRef.detach();\n }\n\n ngOnInit(): void {\n if (this.popoverOpen() && !this.uiPopoverDisabled()) {\n this.open();\n }\n }\n\n ngOnDestroy(): void {\n this.cancelOpen();\n this.cancelClose();\n this.close();\n this.overlayRef?.dispose();\n }\n}\n","export * from './popover.directive';\n// PopoverComponent is internal — not part of the public API\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;MAaa,gBAAgB,CAAA;AAR7B,IAAA,WAAA,GAAA;AASE,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAA8B,IAAI,kFAAC;AACtD,QAAA,IAAA,CAAA,GAAG,GAAG,KAAK,CAA0B,EAAE,0EAAC;AACxC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,IAAI,kFAAC;AAC1B,IAAA;+GAJY,gBAAgB,E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ngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
75
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: ProgressBarComponent, isStandalone: true, selector: "ui-progress-bar", inputs: { companyColor: "companyColor", progress: "progress", mode: "mode", buffer: "buffer", applicationTheme: "applicationTheme", ariaLabel: "ariaLabel", ariaDescribedBy: "ariaDescribedBy", showPercentage: "showPercentage" }, host: { properties: { "style.--color": "this.companyColor" } }, ngImport: i0, template: "@if (showPercentage) {\n <div class=\"percentage\">{{ progress }}%</div>\n}\n\n<mat-progress-bar\n [mode]=\"mode\"\n [value]=\"progress\"\n [bufferValue]=\"buffer\"\n title=\"progress-bar\"\n class=\"progress-bar\"\n [attr.theme]=\"applicationTheme\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-live]=\"'polite'\"\n [attr.aria-describedby]=\"'describedBy'\"\n>\n</mat-progress-bar>\n@if (mode === 'indeterminate') {\n <div style=\"position: absolute; left: -9999px\" role=\"alert\">\n {{ 'COMMON.LOADING' | uiTranslate | async }}\n </div>\n}\n<div style=\"display: none\" id=\"describedBy\">\n {{ ariaDescribedBy }}\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}:host{display:flex;flex-direction:row;gap:8px;align-items:center}:host .percentage{color:#666;font-size:14px}.mat-mdc-progress-bar.progress-bar{--mdc-linear-progress-active-indicator-color: var(--color);--mdc-linear-progress-track-color: var(--color);--mdc-linear-progress-active-indicator-height: 8px;--mdc-linear-progress-track-height: 8px;--mat-progress-bar-active-indicator-color: var(--color);--mat-progress-bar-active-indicator-height: 8px;--mat-progress-bar-track-height: 8px;height:8px;border-radius:8px}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"1\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:60% 8px!important;border-bottom-right-radius:60% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"2\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:35% 8px!important;border-bottom-right-radius:35% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"3\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:30% 8px!important;border-bottom-right-radius:30% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"4\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:20% 8px!important;border-bottom-right-radius:20% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"5\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:15% 8px!important;border-bottom-right-radius:15% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"6\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"7\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"8\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"9\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"10\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"11\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:10% 8px!important;border-bottom-right-radius:10% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"12\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"13\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:7% 8px!important;border-bottom-right-radius:7% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"14\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"15\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:6% 8px!important;border-bottom-right-radius:6% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"16\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:5% 8px!important;border-bottom-right-radius:5% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"17\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"18\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"19\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"20\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"21\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"22\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"23\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:4% 8px!important;border-bottom-right-radius:4% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"24\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"25\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"26\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"27\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:3% 8px!important;border-bottom-right-radius:3% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"28\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"29\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"30\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"31\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"32\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"33\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:2.5% 8px!important;border-bottom-right-radius:2.5% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"34\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"35\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"36\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"37\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"38\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"39\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"40\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"41\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:2.2% 8px!important;border-bottom-right-radius:2.2% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"42\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"43\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"44\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"45\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"46\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"47\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"48\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"49\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"50\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"51\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"52\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"53\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:2% 8px!important;border-bottom-right-radius:2% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"54\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"55\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"56\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"57\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"58\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"59\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"60\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"61\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"62\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"63\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"64\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:1.5% 8px!important;border-bottom-right-radius:1.5% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"65\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"66\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"67\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"68\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"69\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:1.4% 8px!important;border-bottom-right-radius:1.4% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"70\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"71\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"72\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"73\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"74\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:1.2% 8px!important;border-bottom-right-radius:1.2% 8px!important}.mat-mdc-progress-bar.progress-bar ::ng-deep .mdc-linear-progress__buffer-bar{background-color:#e0e0e0;height:8px}.mat-mdc-progress-bar.progress-bar ::ng-deep .mdc-linear-progress__bar-inner{border-top-width:8px;border-top-right-radius:1% 8px!important;border-bottom-right-radius:1% 8px!important}.mat-mdc-progress-bar.progress-bar[theme=dark] ::ng-deep .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar.progress-bar[theme=light] ::ng-deep .mdc-linear-progress__buffer-dots{display:none}.mat-mdc-progress-bar.progress-bar[theme=dark] ::ng-deep .mdc-linear-progress__buffer-bar,.mat-mdc-progress-bar.progress-bar[theme=light] ::ng-deep .mdc-linear-progress__buffer-bar{background-color:#e9e9e9}\n"], dependencies: [{ kind: "component", type: MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: UiTranslatePipe, name: "uiTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
74
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: ProgressBarComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
75
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.18", type: ProgressBarComponent, isStandalone: true, selector: "ui-progress-bar", inputs: { companyColor: "companyColor", progress: "progress", mode: "mode", buffer: "buffer", applicationTheme: "applicationTheme", ariaLabel: "ariaLabel", ariaDescribedBy: "ariaDescribedBy", showPercentage: "showPercentage" }, host: { properties: { "style.--color": "this.companyColor" } }, ngImport: i0, template: "@if (showPercentage) {\n <div class=\"percentage\">{{ progress }}%</div>\n}\n\n<mat-progress-bar\n [mode]=\"mode\"\n [value]=\"progress\"\n [bufferValue]=\"buffer\"\n title=\"progress-bar\"\n class=\"progress-bar\"\n [attr.theme]=\"applicationTheme\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-live]=\"'polite'\"\n [attr.aria-describedby]=\"'describedBy'\"\n>\n</mat-progress-bar>\n@if (mode === 'indeterminate') {\n <div style=\"position: absolute; left: -9999px\" role=\"alert\">\n {{ 'COMMON.LOADING' | uiTranslate | async }}\n </div>\n}\n<div style=\"display: none\" id=\"describedBy\">\n {{ ariaDescribedBy }}\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}:host{display:flex;flex-direction:row;gap:8px;align-items:center}:host .percentage{color:#666;font-size:14px}.mat-mdc-progress-bar.progress-bar{--mdc-linear-progress-active-indicator-color: var(--color);--mdc-linear-progress-track-color: var(--color);--mdc-linear-progress-active-indicator-height: 8px;--mdc-linear-progress-track-height: 8px;--mat-progress-bar-active-indicator-color: var(--color);--mat-progress-bar-active-indicator-height: 8px;--mat-progress-bar-track-height: 8px;height:8px;border-radius:8px}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"1\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:60% 8px!important;border-bottom-right-radius:60% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"2\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:35% 8px!important;border-bottom-right-radius:35% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"3\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:30% 8px!important;border-bottom-right-radius:30% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"4\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:20% 8px!important;border-bottom-right-radius:20% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"5\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:15% 8px!important;border-bottom-right-radius:15% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"6\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"7\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"8\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"9\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"10\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"11\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:10% 8px!important;border-bottom-right-radius:10% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"12\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"13\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:7% 8px!important;border-bottom-right-radius:7% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"14\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"15\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:6% 8px!important;border-bottom-right-radius:6% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"16\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:5% 8px!important;border-bottom-right-radius:5% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"17\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"18\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"19\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"20\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"21\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"22\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"23\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:4% 8px!important;border-bottom-right-radius:4% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"24\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"25\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"26\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"27\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:3% 8px!important;border-bottom-right-radius:3% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"28\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"29\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"30\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"31\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"32\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"33\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:2.5% 8px!important;border-bottom-right-radius:2.5% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"34\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"35\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"36\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"37\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"38\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"39\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"40\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"41\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:2.2% 8px!important;border-bottom-right-radius:2.2% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"42\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"43\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"44\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"45\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"46\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"47\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"48\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"49\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"50\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"51\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"52\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"53\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:2% 8px!important;border-bottom-right-radius:2% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"54\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"55\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"56\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"57\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"58\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"59\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"60\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"61\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"62\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"63\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"64\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:1.5% 8px!important;border-bottom-right-radius:1.5% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"65\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"66\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"67\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"68\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"69\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:1.4% 8px!important;border-bottom-right-radius:1.4% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"70\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"71\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"72\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"73\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"74\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:1.2% 8px!important;border-bottom-right-radius:1.2% 8px!important}.mat-mdc-progress-bar.progress-bar ::ng-deep .mdc-linear-progress__buffer-bar{background-color:#e0e0e0;height:8px}.mat-mdc-progress-bar.progress-bar ::ng-deep .mdc-linear-progress__bar-inner{border-top-width:8px;border-top-right-radius:1% 8px!important;border-bottom-right-radius:1% 8px!important}.mat-mdc-progress-bar.progress-bar[theme=dark] ::ng-deep .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar.progress-bar[theme=light] ::ng-deep .mdc-linear-progress__buffer-dots{display:none}.mat-mdc-progress-bar.progress-bar[theme=dark] ::ng-deep .mdc-linear-progress__buffer-bar,.mat-mdc-progress-bar.progress-bar[theme=light] ::ng-deep .mdc-linear-progress__buffer-bar{background-color:#e9e9e9}\n"], dependencies: [{ kind: "component", type: MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: UiTranslatePipe, name: "uiTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
76
76
|
}
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: ProgressBarComponent, decorators: [{
|
|
78
78
|
type: Component,
|
|
79
79
|
args: [{ selector: 'ui-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatProgressBar, AsyncPipe, UiTranslatePipe], template: "@if (showPercentage) {\n <div class=\"percentage\">{{ progress }}%</div>\n}\n\n<mat-progress-bar\n [mode]=\"mode\"\n [value]=\"progress\"\n [bufferValue]=\"buffer\"\n title=\"progress-bar\"\n class=\"progress-bar\"\n [attr.theme]=\"applicationTheme\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-live]=\"'polite'\"\n [attr.aria-describedby]=\"'describedBy'\"\n>\n</mat-progress-bar>\n@if (mode === 'indeterminate') {\n <div style=\"position: absolute; left: -9999px\" role=\"alert\">\n {{ 'COMMON.LOADING' | uiTranslate | async }}\n </div>\n}\n<div style=\"display: none\" id=\"describedBy\">\n {{ ariaDescribedBy }}\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}:host{display:flex;flex-direction:row;gap:8px;align-items:center}:host .percentage{color:#666;font-size:14px}.mat-mdc-progress-bar.progress-bar{--mdc-linear-progress-active-indicator-color: var(--color);--mdc-linear-progress-track-color: var(--color);--mdc-linear-progress-active-indicator-height: 8px;--mdc-linear-progress-track-height: 8px;--mat-progress-bar-active-indicator-color: var(--color);--mat-progress-bar-active-indicator-height: 8px;--mat-progress-bar-track-height: 8px;height:8px;border-radius:8px}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"1\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:60% 8px!important;border-bottom-right-radius:60% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"2\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:35% 8px!important;border-bottom-right-radius:35% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"3\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:30% 8px!important;border-bottom-right-radius:30% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"4\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:20% 8px!important;border-bottom-right-radius:20% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"5\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:15% 8px!important;border-bottom-right-radius:15% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"6\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"7\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"8\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"9\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"10\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"11\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:10% 8px!important;border-bottom-right-radius:10% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"12\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"13\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:7% 8px!important;border-bottom-right-radius:7% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"14\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"15\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:6% 8px!important;border-bottom-right-radius:6% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"16\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:5% 8px!important;border-bottom-right-radius:5% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"17\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"18\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"19\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"20\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"21\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"22\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"23\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:4% 8px!important;border-bottom-right-radius:4% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"24\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"25\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"26\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"27\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:3% 8px!important;border-bottom-right-radius:3% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"28\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"29\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"30\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"31\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"32\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"33\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:2.5% 8px!important;border-bottom-right-radius:2.5% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"34\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"35\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"36\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"37\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"38\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"39\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"40\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"41\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:2.2% 8px!important;border-bottom-right-radius:2.2% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"42\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"43\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"44\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"45\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"46\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"47\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"48\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"49\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"50\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"51\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"52\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"53\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:2% 8px!important;border-bottom-right-radius:2% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"54\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"55\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"56\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"57\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"58\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"59\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"60\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"61\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"62\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"63\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"64\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:1.5% 8px!important;border-bottom-right-radius:1.5% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"65\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"66\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"67\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"68\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"69\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:1.4% 8px!important;border-bottom-right-radius:1.4% 8px!important}.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"70\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"71\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"72\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"73\"] ::ng-deep .mdc-linear-progress__bar-inner,.mat-mdc-progress-bar.progress-bar[aria-valuenow=\"74\"] ::ng-deep .mdc-linear-progress__bar-inner{border-top-right-radius:1.2% 8px!important;border-bottom-right-radius:1.2% 8px!important}.mat-mdc-progress-bar.progress-bar ::ng-deep .mdc-linear-progress__buffer-bar{background-color:#e0e0e0;height:8px}.mat-mdc-progress-bar.progress-bar ::ng-deep .mdc-linear-progress__bar-inner{border-top-width:8px;border-top-right-radius:1% 8px!important;border-bottom-right-radius:1% 8px!important}.mat-mdc-progress-bar.progress-bar[theme=dark] ::ng-deep .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar.progress-bar[theme=light] ::ng-deep .mdc-linear-progress__buffer-dots{display:none}.mat-mdc-progress-bar.progress-bar[theme=dark] ::ng-deep .mdc-linear-progress__buffer-bar,.mat-mdc-progress-bar.progress-bar[theme=light] ::ng-deep .mdc-linear-progress__buffer-bar{background-color:#e9e9e9}\n"] }]
|
|
80
80
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -104,11 +104,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
104
104
|
}] } });
|
|
105
105
|
|
|
106
106
|
class ProgressBarComponentModule {
|
|
107
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
108
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
109
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
107
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: ProgressBarComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
108
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.18", ngImport: i0, type: ProgressBarComponentModule, imports: [CommonModule, MatProgressBarModule, UiTranslatePipe, ProgressBarComponent], exports: [ProgressBarComponent] }); }
|
|
109
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: ProgressBarComponentModule, imports: [CommonModule, MatProgressBarModule, ProgressBarComponent] }); }
|
|
110
110
|
}
|
|
111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: ProgressBarComponentModule, decorators: [{
|
|
112
112
|
type: NgModule,
|
|
113
113
|
args: [{
|
|
114
114
|
imports: [CommonModule, MatProgressBarModule, UiTranslatePipe, ProgressBarComponent],
|