@porsche-design-system/components-angular 3.16.0 → 3.17.0-rc.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/CHANGELOG.md +84 -1
- package/esm/lib/components/barrel.d.ts +1 -0
- package/esm/lib/components/button.wrapper.d.ts +2 -1
- package/esm/lib/components/content-wrapper.wrapper.d.ts +0 -1
- package/esm/lib/components/fieldset-wrapper.wrapper.d.ts +0 -1
- package/esm/lib/components/flex-item.wrapper.d.ts +0 -1
- package/esm/lib/components/flex.wrapper.d.ts +0 -1
- package/esm/lib/components/flyout.wrapper.d.ts +3 -1
- package/esm/lib/components/grid-item.wrapper.d.ts +0 -1
- package/esm/lib/components/grid.wrapper.d.ts +0 -1
- package/esm/lib/components/headline.wrapper.d.ts +0 -1
- package/esm/lib/components/link-social.wrapper.d.ts +2 -2
- package/esm/lib/components/link.wrapper.d.ts +2 -1
- package/esm/lib/components/modal.wrapper.d.ts +3 -1
- package/esm/lib/components/optgroup.wrapper.d.ts +8 -0
- package/esm/lib/components/tag.wrapper.d.ts +2 -1
- package/esm/lib/types.d.ts +16 -3
- package/esm/porsche-design-system.module.d.ts +35 -34
- package/esm2022/lib/components/accordion.wrapper.mjs +3 -3
- package/esm2022/lib/components/banner.wrapper.mjs +3 -3
- package/esm2022/lib/components/barrel.mjs +4 -1
- package/esm2022/lib/components/button-group.wrapper.mjs +3 -3
- package/esm2022/lib/components/button-pure.wrapper.mjs +3 -3
- package/esm2022/lib/components/button-tile.wrapper.mjs +3 -3
- package/esm2022/lib/components/button.wrapper.mjs +6 -5
- package/esm2022/lib/components/canvas.wrapper.mjs +3 -3
- package/esm2022/lib/components/carousel.wrapper.mjs +3 -3
- package/esm2022/lib/components/checkbox-wrapper.wrapper.mjs +3 -3
- package/esm2022/lib/components/content-wrapper.wrapper.mjs +4 -5
- package/esm2022/lib/components/crest.wrapper.mjs +3 -3
- package/esm2022/lib/components/display.wrapper.mjs +3 -3
- package/esm2022/lib/components/divider.wrapper.mjs +3 -3
- package/esm2022/lib/components/fieldset-wrapper.wrapper.mjs +4 -5
- package/esm2022/lib/components/fieldset.wrapper.mjs +3 -3
- package/esm2022/lib/components/flex-item.wrapper.mjs +4 -5
- package/esm2022/lib/components/flex.wrapper.mjs +4 -5
- package/esm2022/lib/components/flyout-multilevel-item.wrapper.mjs +3 -3
- package/esm2022/lib/components/flyout-multilevel.wrapper.mjs +3 -3
- package/esm2022/lib/components/flyout.wrapper.mjs +7 -5
- package/esm2022/lib/components/grid-item.wrapper.mjs +4 -5
- package/esm2022/lib/components/grid.wrapper.mjs +4 -5
- package/esm2022/lib/components/heading.wrapper.mjs +3 -3
- package/esm2022/lib/components/headline.wrapper.mjs +4 -5
- package/esm2022/lib/components/icon.wrapper.mjs +3 -3
- package/esm2022/lib/components/inline-notification.wrapper.mjs +3 -3
- package/esm2022/lib/components/link-pure.wrapper.mjs +3 -3
- package/esm2022/lib/components/link-social.wrapper.mjs +6 -6
- package/esm2022/lib/components/link-tile-model-signature.wrapper.mjs +3 -3
- package/esm2022/lib/components/link-tile-product.wrapper.mjs +3 -3
- package/esm2022/lib/components/link-tile.wrapper.mjs +3 -3
- package/esm2022/lib/components/link.wrapper.mjs +6 -5
- package/esm2022/lib/components/marque.wrapper.mjs +3 -3
- package/esm2022/lib/components/modal.wrapper.mjs +7 -5
- package/esm2022/lib/components/model-signature.wrapper.mjs +3 -3
- package/esm2022/lib/components/multi-select-option.wrapper.mjs +3 -3
- package/esm2022/lib/components/multi-select.wrapper.mjs +3 -3
- package/esm2022/lib/components/optgroup.wrapper.mjs +18 -0
- package/esm2022/lib/components/pagination.wrapper.mjs +3 -3
- package/esm2022/lib/components/pin-code.wrapper.mjs +3 -3
- package/esm2022/lib/components/popover.wrapper.mjs +3 -3
- package/esm2022/lib/components/radio-button-wrapper.wrapper.mjs +3 -3
- package/esm2022/lib/components/scroller.wrapper.mjs +3 -3
- package/esm2022/lib/components/segmented-control-item.wrapper.mjs +3 -3
- package/esm2022/lib/components/segmented-control.wrapper.mjs +3 -3
- package/esm2022/lib/components/select-option.wrapper.mjs +3 -3
- package/esm2022/lib/components/select-wrapper.wrapper.mjs +3 -3
- package/esm2022/lib/components/select.wrapper.mjs +3 -3
- package/esm2022/lib/components/spinner.wrapper.mjs +3 -3
- package/esm2022/lib/components/stepper-horizontal-item.wrapper.mjs +3 -3
- package/esm2022/lib/components/stepper-horizontal.wrapper.mjs +3 -3
- package/esm2022/lib/components/switch.wrapper.mjs +3 -3
- package/esm2022/lib/components/table-body.wrapper.mjs +3 -3
- package/esm2022/lib/components/table-cell.wrapper.mjs +3 -3
- package/esm2022/lib/components/table-head-cell.wrapper.mjs +3 -3
- package/esm2022/lib/components/table-head-row.wrapper.mjs +3 -3
- package/esm2022/lib/components/table-head.wrapper.mjs +3 -3
- package/esm2022/lib/components/table-row.wrapper.mjs +3 -3
- package/esm2022/lib/components/table.wrapper.mjs +3 -3
- package/esm2022/lib/components/tabs-bar.wrapper.mjs +3 -3
- package/esm2022/lib/components/tabs-item.wrapper.mjs +3 -3
- package/esm2022/lib/components/tabs.wrapper.mjs +3 -3
- package/esm2022/lib/components/tag-dismissible.wrapper.mjs +3 -3
- package/esm2022/lib/components/tag.wrapper.mjs +6 -5
- package/esm2022/lib/components/text-field-wrapper.wrapper.mjs +3 -3
- package/esm2022/lib/components/text-list-item.wrapper.mjs +3 -3
- package/esm2022/lib/components/text-list.wrapper.mjs +3 -3
- package/esm2022/lib/components/text.wrapper.mjs +3 -3
- package/esm2022/lib/components/textarea-wrapper.wrapper.mjs +3 -3
- package/esm2022/lib/components/toast.wrapper.mjs +3 -3
- package/esm2022/lib/components/wordmark.wrapper.mjs +3 -3
- package/esm2022/lib/types.mjs +1 -1
- package/esm2022/porsche-design-system.module.mjs +39 -38
- package/esm2022/toast-manager.mjs +3 -3
- package/esm2022/utils.mjs +6 -6
- package/fesm2022/porsche-design-system-components-angular.mjs +254 -238
- package/fesm2022/porsche-design-system-components-angular.mjs.map +1 -1
- package/jsdom-polyfill/index.d.ts +0 -1
- package/package.json +2 -2
|
@@ -41,39 +41,40 @@ import * as i34 from "./lib/components/modal.wrapper";
|
|
|
41
41
|
import * as i35 from "./lib/components/model-signature.wrapper";
|
|
42
42
|
import * as i36 from "./lib/components/multi-select.wrapper";
|
|
43
43
|
import * as i37 from "./lib/components/multi-select-option.wrapper";
|
|
44
|
-
import * as i38 from "./lib/components/
|
|
45
|
-
import * as i39 from "./lib/components/
|
|
46
|
-
import * as i40 from "./lib/components/
|
|
47
|
-
import * as i41 from "./lib/components/
|
|
48
|
-
import * as i42 from "./lib/components/
|
|
49
|
-
import * as i43 from "./lib/components/
|
|
50
|
-
import * as i44 from "./lib/components/segmented-control
|
|
51
|
-
import * as i45 from "./lib/components/
|
|
52
|
-
import * as i46 from "./lib/components/select
|
|
53
|
-
import * as i47 from "./lib/components/select-
|
|
54
|
-
import * as i48 from "./lib/components/
|
|
55
|
-
import * as i49 from "./lib/components/
|
|
56
|
-
import * as i50 from "./lib/components/stepper-horizontal
|
|
57
|
-
import * as i51 from "./lib/components/
|
|
58
|
-
import * as i52 from "./lib/components/
|
|
59
|
-
import * as i53 from "./lib/components/table
|
|
60
|
-
import * as i54 from "./lib/components/table-
|
|
61
|
-
import * as i55 from "./lib/components/table-
|
|
62
|
-
import * as i56 from "./lib/components/table-head
|
|
63
|
-
import * as i57 from "./lib/components/table-head-
|
|
64
|
-
import * as i58 from "./lib/components/table-row.wrapper";
|
|
65
|
-
import * as i59 from "./lib/components/
|
|
66
|
-
import * as i60 from "./lib/components/tabs
|
|
67
|
-
import * as i61 from "./lib/components/tabs-
|
|
68
|
-
import * as i62 from "./lib/components/
|
|
69
|
-
import * as i63 from "./lib/components/tag
|
|
70
|
-
import * as i64 from "./lib/components/
|
|
71
|
-
import * as i65 from "./lib/components/text
|
|
72
|
-
import * as i66 from "./lib/components/text-
|
|
73
|
-
import * as i67 from "./lib/components/text-list
|
|
74
|
-
import * as i68 from "./lib/components/
|
|
75
|
-
import * as i69 from "./lib/components/
|
|
76
|
-
import * as i70 from "./lib/components/
|
|
44
|
+
import * as i38 from "./lib/components/optgroup.wrapper";
|
|
45
|
+
import * as i39 from "./lib/components/pagination.wrapper";
|
|
46
|
+
import * as i40 from "./lib/components/pin-code.wrapper";
|
|
47
|
+
import * as i41 from "./lib/components/popover.wrapper";
|
|
48
|
+
import * as i42 from "./lib/components/radio-button-wrapper.wrapper";
|
|
49
|
+
import * as i43 from "./lib/components/scroller.wrapper";
|
|
50
|
+
import * as i44 from "./lib/components/segmented-control.wrapper";
|
|
51
|
+
import * as i45 from "./lib/components/segmented-control-item.wrapper";
|
|
52
|
+
import * as i46 from "./lib/components/select.wrapper";
|
|
53
|
+
import * as i47 from "./lib/components/select-option.wrapper";
|
|
54
|
+
import * as i48 from "./lib/components/select-wrapper.wrapper";
|
|
55
|
+
import * as i49 from "./lib/components/spinner.wrapper";
|
|
56
|
+
import * as i50 from "./lib/components/stepper-horizontal.wrapper";
|
|
57
|
+
import * as i51 from "./lib/components/stepper-horizontal-item.wrapper";
|
|
58
|
+
import * as i52 from "./lib/components/switch.wrapper";
|
|
59
|
+
import * as i53 from "./lib/components/table.wrapper";
|
|
60
|
+
import * as i54 from "./lib/components/table-body.wrapper";
|
|
61
|
+
import * as i55 from "./lib/components/table-cell.wrapper";
|
|
62
|
+
import * as i56 from "./lib/components/table-head.wrapper";
|
|
63
|
+
import * as i57 from "./lib/components/table-head-cell.wrapper";
|
|
64
|
+
import * as i58 from "./lib/components/table-head-row.wrapper";
|
|
65
|
+
import * as i59 from "./lib/components/table-row.wrapper";
|
|
66
|
+
import * as i60 from "./lib/components/tabs.wrapper";
|
|
67
|
+
import * as i61 from "./lib/components/tabs-bar.wrapper";
|
|
68
|
+
import * as i62 from "./lib/components/tabs-item.wrapper";
|
|
69
|
+
import * as i63 from "./lib/components/tag.wrapper";
|
|
70
|
+
import * as i64 from "./lib/components/tag-dismissible.wrapper";
|
|
71
|
+
import * as i65 from "./lib/components/text.wrapper";
|
|
72
|
+
import * as i66 from "./lib/components/text-field-wrapper.wrapper";
|
|
73
|
+
import * as i67 from "./lib/components/text-list.wrapper";
|
|
74
|
+
import * as i68 from "./lib/components/text-list-item.wrapper";
|
|
75
|
+
import * as i69 from "./lib/components/textarea-wrapper.wrapper";
|
|
76
|
+
import * as i70 from "./lib/components/toast.wrapper";
|
|
77
|
+
import * as i71 from "./lib/components/wordmark.wrapper";
|
|
77
78
|
export class DefaultConfig {
|
|
78
79
|
prefix = '';
|
|
79
80
|
theme; // since theme exists on almost every component, it is defined here kind of like a global prop
|
|
@@ -98,16 +99,16 @@ export class PorscheDesignSystemModule {
|
|
|
98
99
|
],
|
|
99
100
|
};
|
|
100
101
|
}
|
|
101
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
102
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
103
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
102
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: PorscheDesignSystemModule, deps: [{ token: DefaultConfig, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
103
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: PorscheDesignSystemModule, declarations: [i1.PAccordion, i2.PBanner, i3.PButton, i4.PButtonGroup, i5.PButtonPure, i6.PButtonTile, i7.PCanvas, i8.PCarousel, i9.PCheckboxWrapper, i10.PContentWrapper, i11.PCrest, i12.PDisplay, i13.PDivider, i14.PFieldset, i15.PFieldsetWrapper, i16.PFlex, i17.PFlexItem, i18.PFlyout, i19.PFlyoutMultilevel, i20.PFlyoutMultilevelItem, i21.PGrid, i22.PGridItem, i23.PHeading, i24.PHeadline, i25.PIcon, i26.PInlineNotification, i27.PLink, i28.PLinkPure, i29.PLinkSocial, i30.PLinkTile, i31.PLinkTileModelSignature, i32.PLinkTileProduct, i33.PMarque, i34.PModal, i35.PModelSignature, i36.PMultiSelect, i37.PMultiSelectOption, i38.POptgroup, i39.PPagination, i40.PPinCode, i41.PPopover, i42.PRadioButtonWrapper, i43.PScroller, i44.PSegmentedControl, i45.PSegmentedControlItem, i46.PSelect, i47.PSelectOption, i48.PSelectWrapper, i49.PSpinner, i50.PStepperHorizontal, i51.PStepperHorizontalItem, i52.PSwitch, i53.PTable, i54.PTableBody, i55.PTableCell, i56.PTableHead, i57.PTableHeadCell, i58.PTableHeadRow, i59.PTableRow, i60.PTabs, i61.PTabsBar, i62.PTabsItem, i63.PTag, i64.PTagDismissible, i65.PText, i66.PTextFieldWrapper, i67.PTextList, i68.PTextListItem, i69.PTextareaWrapper, i70.PToast, i71.PWordmark], exports: [i1.PAccordion, i2.PBanner, i3.PButton, i4.PButtonGroup, i5.PButtonPure, i6.PButtonTile, i7.PCanvas, i8.PCarousel, i9.PCheckboxWrapper, i10.PContentWrapper, i11.PCrest, i12.PDisplay, i13.PDivider, i14.PFieldset, i15.PFieldsetWrapper, i16.PFlex, i17.PFlexItem, i18.PFlyout, i19.PFlyoutMultilevel, i20.PFlyoutMultilevelItem, i21.PGrid, i22.PGridItem, i23.PHeading, i24.PHeadline, i25.PIcon, i26.PInlineNotification, i27.PLink, i28.PLinkPure, i29.PLinkSocial, i30.PLinkTile, i31.PLinkTileModelSignature, i32.PLinkTileProduct, i33.PMarque, i34.PModal, i35.PModelSignature, i36.PMultiSelect, i37.PMultiSelectOption, i38.POptgroup, i39.PPagination, i40.PPinCode, i41.PPopover, i42.PRadioButtonWrapper, i43.PScroller, i44.PSegmentedControl, i45.PSegmentedControlItem, i46.PSelect, i47.PSelectOption, i48.PSelectWrapper, i49.PSpinner, i50.PStepperHorizontal, i51.PStepperHorizontalItem, i52.PSwitch, i53.PTable, i54.PTableBody, i55.PTableCell, i56.PTableHead, i57.PTableHeadCell, i58.PTableHeadRow, i59.PTableRow, i60.PTabs, i61.PTabsBar, i62.PTabsItem, i63.PTag, i64.PTagDismissible, i65.PText, i66.PTextFieldWrapper, i67.PTextList, i68.PTextListItem, i69.PTextareaWrapper, i70.PToast, i71.PWordmark] });
|
|
104
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: PorscheDesignSystemModule, providers: [
|
|
104
105
|
{
|
|
105
106
|
provide: THEME_TOKEN,
|
|
106
107
|
useValue: new BehaviorSubject('light'),
|
|
107
108
|
},
|
|
108
109
|
] });
|
|
109
110
|
}
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: PorscheDesignSystemModule, decorators: [{
|
|
111
112
|
type: NgModule,
|
|
112
113
|
args: [{
|
|
113
114
|
declarations: DECLARATIONS,
|
|
@@ -122,4 +123,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImpor
|
|
|
122
123
|
}], ctorParameters: () => [{ type: DefaultConfig, decorators: [{
|
|
123
124
|
type: Optional
|
|
124
125
|
}] }] });
|
|
125
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
126
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9yc2NoZS1kZXNpZ24tc3lzdGVtLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItd3JhcHBlci9zcmMvcG9yc2NoZS1kZXNpZ24tc3lzdGVtLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUE0QixRQUFRLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3JGLE9BQU8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1bHRDb25maWcpIHtcbiAgICBjb25zdCBjb25maWdzID0gKGNvbmZpZ1BhcmFtIGFzIHVua25vd24gYXMgRGVmYXVsdENvbmZpZ1tdKSB8fCBbbmV3IERlZmF1bHRDb25maWcoKV07XG4gICAgdGhpcy50aGVtZSQubmV4dChjb25maWdzWzBdLnRoZW1lIHx8ICdsaWdodCcpOyAvLyBmaXJzdCBjb25maWcgc2V0cyB0aGUgdGhlbWVcbiAgICBjb25maWdzLmZvckVhY2gobG9hZCk7XG4gIH1cblxuICBzdGF0aWMgbG9hZChjb25maWc6IFBvcnNjaGVEZXNpZ25TeXN0ZW1Nb2R1bGVDb25maWcpOiBNb2R1bGVXaXRoUHJvdmlkZXJzPFBvcnNjaGVEZXNpZ25TeXN0ZW1Nb2R1bGU+IHtcbiAgICByZXR1cm4ge1xuICAgICAgbmdNb2R1bGU6IFBvcnNjaGVEZXNpZ25TeXN0ZW1Nb2R1bGUsXG4gICAgICBwcm92aWRlcnM6IFtcbiAgICAgICAge1xuICAgICAgICAgIHByb3ZpZGU6IERlZmF1bHRDb25maWcsXG4gICAgICAgICAgbXVsdGk6IHRydWUsIC8vIHRvIHN1cHBvcnQgbXVsdGlwbGUgcHJlZml4ZXMgaW4gc2FtZSBtb2R1bGVcbiAgICAgICAgICB1c2VWYWx1ZTogY29uZmlnLFxuICAgICAgICB9LFxuICAgICAgXSxcbiAgICB9O1xuICB9XG59XG4iXX0=
|
|
@@ -5,10 +5,10 @@ export class ToastManager {
|
|
|
5
5
|
const toast = document.body.querySelector('p-toast,[p-toast]');
|
|
6
6
|
customElements.whenDefined(toast.tagName.toLowerCase()).then(() => toast.addMessage(message));
|
|
7
7
|
}
|
|
8
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: ToastManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: ToastManager, providedIn: 'root' });
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: ToastManager, decorators: [{
|
|
12
12
|
type: Injectable,
|
|
13
13
|
args: [{
|
|
14
14
|
providedIn: 'root',
|
package/esm2022/utils.mjs
CHANGED
|
@@ -12,10 +12,10 @@ export class BaseComponent {
|
|
|
12
12
|
this.el[prop] = props[prop].currentValue;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: BaseComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.0", type: BaseComponent, selector: "ng-component", usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: BaseComponent, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{
|
|
21
21
|
template: '',
|
|
@@ -32,10 +32,10 @@ export class BaseComponentWithTheme extends BaseComponent {
|
|
|
32
32
|
// https://rafaelneto.dev/en/blog/unsubscribing-behaviorsubject-observable-angular/
|
|
33
33
|
this.themeSubscription.unsubscribe();
|
|
34
34
|
}
|
|
35
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
35
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: BaseComponentWithTheme, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
36
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.0", type: BaseComponentWithTheme, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
37
37
|
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: BaseComponentWithTheme, decorators: [{
|
|
39
39
|
type: Component,
|
|
40
40
|
args: [{
|
|
41
41
|
template: '',
|