@inera/ids-angular 3.1.0 → 3.1.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/bundles/inera-ids-angular.umd.js +3403 -3403
- package/bundles/inera-ids-angular.umd.js.map +1 -1
- package/esm2015/inera-ids-angular.js +4 -4
- package/esm2015/lib/classes/header/IDHeaderAvatar.js +23 -23
- package/esm2015/lib/classes/header/IDHeaderAvatarProps.js +1 -1
- package/esm2015/lib/classes/header/IDHeaderItem.js +17 -17
- package/esm2015/lib/classes/header/IDHeaderItemProps.js +1 -1
- package/esm2015/lib/classes/header/IDHeaderNavItem.js +32 -32
- package/esm2015/lib/classes/header/IDHeaderNavItemProps.js +1 -1
- package/esm2015/lib/classes/icon/IDIcon.js +38 -38
- package/esm2015/lib/classes/icon/IDIconProps.js +1 -1
- package/esm2015/lib/classes/link/IDLink.js +24 -24
- package/esm2015/lib/classes/link/IDLinkFunction.js +17 -17
- package/esm2015/lib/classes/link/IDLinkProps.js +2 -2
- package/esm2015/lib/classes/link/IDLinkRoute.js +27 -27
- package/esm2015/lib/classes/link/IDLinkWeb.js +22 -22
- package/esm2015/lib/classes/mobile/MobileMenuItem.js +40 -40
- package/esm2015/lib/classes/mobile/MobileMenuItemProps.js +1 -1
- package/esm2015/lib/classes/notification-badge.js +16 -16
- package/esm2015/lib/components/agent/agent.component.js +33 -33
- package/esm2015/lib/components/agent/agent.module.js +24 -24
- package/esm2015/lib/components/alert/alert.component.js +53 -53
- package/esm2015/lib/components/alert/alert.module.js +23 -23
- package/esm2015/lib/components/alert-global/alert-global.component.js +39 -39
- package/esm2015/lib/components/alert-global/alert-global.module.js +23 -23
- package/esm2015/lib/components/badge/badge.component.js +19 -19
- package/esm2015/lib/components/badge/badge.module.js +22 -22
- package/esm2015/lib/components/breadcrumbs/breadcrumbs.component.js +33 -33
- package/esm2015/lib/components/breadcrumbs/breadcrumbs.module.js +29 -29
- package/esm2015/lib/components/button/button.component.js +80 -80
- package/esm2015/lib/components/button/button.module.js +25 -25
- package/esm2015/lib/components/button-group/button-group.component.js +22 -22
- package/esm2015/lib/components/button-group/button-group.module.js +21 -21
- package/esm2015/lib/components/card/card.component.js +26 -26
- package/esm2015/lib/components/card/card.module.js +22 -22
- package/esm2015/lib/components/carousel/carousel-item/carousel-item.component.js +25 -25
- package/esm2015/lib/components/carousel/carousel.component.js +28 -28
- package/esm2015/lib/components/carousel/carousel.module.js +27 -27
- package/esm2015/lib/components/date-label/date-label.component.js +32 -32
- package/esm2015/lib/components/date-label/date-label.module.js +21 -21
- package/esm2015/lib/components/dialog/actions/dialog-actions.component.js +16 -16
- package/esm2015/lib/components/dialog/dialog.component.js +50 -50
- package/esm2015/lib/components/dialog/dialog.module.js +27 -27
- package/esm2015/lib/components/expandable/expandable.component.js +29 -29
- package/esm2015/lib/components/expandable/expandable.module.js +22 -22
- package/esm2015/lib/components/footer/footer.component.js +45 -45
- package/esm2015/lib/components/footer/footer.module.js +25 -25
- package/esm2015/lib/components/form/base/IDFormBase.js +22 -22
- package/esm2015/lib/components/form/checkbox/checkbox.component.js +21 -21
- package/esm2015/lib/components/form/checkbox/checkbox.module.js +21 -21
- package/esm2015/lib/components/form/checkbox-group/checkbox-group.component.js +30 -30
- package/esm2015/lib/components/form/checkbox-group/checkbox-group.module.js +24 -24
- package/esm2015/lib/components/form/error-message/error-message.component.js +20 -20
- package/esm2015/lib/components/form/error-message/error-message.module.js +21 -21
- package/esm2015/lib/components/form/input/input.component.js +21 -21
- package/esm2015/lib/components/form/input/input.module.js +23 -23
- package/esm2015/lib/components/form/radio/radio-group.component.js +29 -29
- package/esm2015/lib/components/form/radio/radio.component.js +15 -15
- package/esm2015/lib/components/form/radio/radio.module.js +32 -32
- package/esm2015/lib/components/form/range/range.component.js +19 -19
- package/esm2015/lib/components/form/range/range.module.js +21 -21
- package/esm2015/lib/components/form/select/select.component.js +15 -15
- package/esm2015/lib/components/form/select/select.module.js +21 -21
- package/esm2015/lib/components/form/select-multiple/select-multiple.component.js +37 -37
- package/esm2015/lib/components/form/select-multiple/select-multiple.module.js +28 -28
- package/esm2015/lib/components/form/spinner/spinner.component.js +22 -22
- package/esm2015/lib/components/form/spinner/spinner.module.js +21 -21
- package/esm2015/lib/components/form/textarea/textarea.component.js +21 -21
- package/esm2015/lib/components/form/textarea/textarea.module.js +21 -21
- package/esm2015/lib/components/form/time/time.component.js +15 -15
- package/esm2015/lib/components/form/time/time.module.js +21 -21
- package/esm2015/lib/components/form/toggle/toggle.component.js +16 -16
- package/esm2015/lib/components/form/toggle/toggle.module.js +22 -22
- package/esm2015/lib/components/grid/column/column.component.js +46 -46
- package/esm2015/lib/components/grid/column/column.module.js +21 -21
- package/esm2015/lib/components/grid/container/container.component.js +22 -22
- package/esm2015/lib/components/grid/container/container.module.js +21 -21
- package/esm2015/lib/components/grid/row/row.component.js +32 -32
- package/esm2015/lib/components/grid/row/row.module.js +21 -21
- package/esm2015/lib/components/header/header.component.js +74 -74
- package/esm2015/lib/components/header/header.module.js +26 -26
- package/esm2015/lib/components/icon/icon.component.js +47 -47
- package/esm2015/lib/components/icon/icon.module.js +21 -21
- package/esm2015/lib/components/link/link.component.js +84 -84
- package/esm2015/lib/components/link/link.module.js +25 -25
- package/esm2015/lib/components/list/item/info/list-item-info.component.js +15 -15
- package/esm2015/lib/components/list/item/info/list-item-info.module.js +20 -20
- package/esm2015/lib/components/list/item/list-item.component.js +40 -40
- package/esm2015/lib/components/list/item/list-item.module.js +20 -20
- package/esm2015/lib/components/list/list.component.js +15 -15
- package/esm2015/lib/components/list/list.module.js +21 -21
- package/esm2015/lib/components/mobile/menu/mobile-menu.component.js +27 -27
- package/esm2015/lib/components/mobile/menu/mobile-menu.module.js +25 -25
- package/esm2015/lib/components/navigation/content/navigation-content.component.js +19 -19
- package/esm2015/lib/components/navigation/content/navigation-content.module.js +22 -22
- package/esm2015/lib/components/navigation/local/navigation-local.component.js +19 -19
- package/esm2015/lib/components/navigation/local/navigation-local.module.js +22 -22
- package/esm2015/lib/components/notification/badge/notification-badge.component.js +20 -20
- package/esm2015/lib/components/notification/badge/notification-badge.module.js +21 -21
- package/esm2015/lib/components/popover/popover.component.js +31 -31
- package/esm2015/lib/components/popover/popover.module.js +22 -22
- package/esm2015/lib/components/progressbar/progressbar.component.js +22 -22
- package/esm2015/lib/components/progressbar/progressbar.module.js +22 -22
- package/esm2015/lib/components/stepper/step/step.component.js +34 -34
- package/esm2015/lib/components/stepper/stepper.component.js +14 -14
- package/esm2015/lib/components/stepper/stepper.module.js +27 -27
- package/esm2015/lib/components/tabs/panel/tab-panel.component.js +21 -21
- package/esm2015/lib/components/tabs/tab/tab.component.js +35 -35
- package/esm2015/lib/components/tabs/tabs.component.js +25 -25
- package/esm2015/lib/components/tabs/tabs.module.js +34 -34
- package/esm2015/lib/components/tag/tag.component.js +31 -31
- package/esm2015/lib/components/tag/tag.module.js +22 -22
- package/esm2015/lib/components/tooltip/tooltip.component.js +15 -15
- package/esm2015/lib/components/tooltip/tooltip.module.js +22 -22
- package/esm2015/lib/internals/anchor.component.js +85 -85
- package/esm2015/lib/internals/anchor.module.js +26 -26
- package/esm2015/public-api.js +357 -357
- package/fesm2015/inera-ids-angular.js +2639 -2639
- package/fesm2015/inera-ids-angular.js.map +1 -1
- package/inera-ids-angular.d.ts +5 -5
- package/lib/classes/header/IDHeaderAvatar.d.ts +12 -12
- package/lib/classes/header/IDHeaderAvatarProps.d.ts +9 -9
- package/lib/classes/header/IDHeaderItem.d.ts +10 -10
- package/lib/classes/header/IDHeaderItemProps.d.ts +7 -7
- package/lib/classes/header/IDHeaderNavItem.d.ts +15 -15
- package/lib/classes/header/IDHeaderNavItemProps.d.ts +12 -12
- package/lib/classes/icon/IDIcon.d.ts +16 -16
- package/lib/classes/icon/IDIconProps.d.ts +13 -13
- package/lib/classes/link/IDLink.d.ts +12 -12
- package/lib/classes/link/IDLinkFunction.d.ts +8 -8
- package/lib/classes/link/IDLinkProps.d.ts +12 -12
- package/lib/classes/link/IDLinkRoute.d.ts +10 -10
- package/lib/classes/link/IDLinkWeb.d.ts +10 -10
- package/lib/classes/mobile/MobileMenuItem.d.ts +18 -18
- package/lib/classes/mobile/MobileMenuItemProps.d.ts +15 -15
- package/lib/classes/notification-badge.d.ts +9 -9
- package/lib/components/agent/agent.component.d.ts +12 -12
- package/lib/components/agent/agent.module.d.ts +9 -9
- package/lib/components/alert/alert.component.d.ts +19 -19
- package/lib/components/alert/alert.module.d.ts +9 -9
- package/lib/components/alert-global/alert-global.component.d.ts +15 -15
- package/lib/components/alert-global/alert-global.module.d.ts +9 -9
- package/lib/components/badge/badge.component.d.ts +7 -7
- package/lib/components/badge/badge.module.d.ts +8 -8
- package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +12 -12
- package/lib/components/breadcrumbs/breadcrumbs.module.d.ts +10 -10
- package/lib/components/button/button.component.d.ts +27 -27
- package/lib/components/button/button.module.d.ts +10 -10
- package/lib/components/button-group/button-group.component.d.ts +8 -8
- package/lib/components/button-group/button-group.module.d.ts +8 -8
- package/lib/components/card/card.component.d.ts +9 -9
- package/lib/components/card/card.module.d.ts +8 -8
- package/lib/components/carousel/carousel-item/carousel-item.component.d.ts +9 -9
- package/lib/components/carousel/carousel.component.d.ts +10 -10
- package/lib/components/carousel/carousel.module.d.ts +9 -9
- package/lib/components/date-label/date-label.component.d.ts +11 -11
- package/lib/components/date-label/date-label.module.d.ts +8 -8
- package/lib/components/dialog/actions/dialog-actions.component.d.ts +6 -6
- package/lib/components/dialog/dialog.component.d.ts +18 -18
- package/lib/components/dialog/dialog.module.d.ts +9 -9
- package/lib/components/expandable/expandable.component.d.ts +10 -10
- package/lib/components/expandable/expandable.module.d.ts +8 -8
- package/lib/components/footer/footer.component.d.ts +16 -16
- package/lib/components/footer/footer.module.d.ts +10 -10
- package/lib/components/form/base/IDFormBase.d.ts +9 -9
- package/lib/components/form/checkbox/checkbox.component.d.ts +8 -8
- package/lib/components/form/checkbox/checkbox.module.d.ts +8 -8
- package/lib/components/form/checkbox-group/checkbox-group.component.d.ts +12 -12
- package/lib/components/form/checkbox-group/checkbox-group.module.d.ts +10 -10
- package/lib/components/form/error-message/error-message.component.d.ts +9 -9
- package/lib/components/form/error-message/error-message.module.d.ts +8 -8
- package/lib/components/form/input/input.component.d.ts +8 -8
- package/lib/components/form/input/input.module.d.ts +9 -9
- package/lib/components/form/radio/radio-group.component.d.ts +10 -10
- package/lib/components/form/radio/radio.component.d.ts +6 -6
- package/lib/components/form/radio/radio.module.d.ts +10 -10
- package/lib/components/form/range/range.component.d.ts +6 -6
- package/lib/components/form/range/range.module.d.ts +8 -8
- package/lib/components/form/select/select.component.d.ts +6 -6
- package/lib/components/form/select/select.module.d.ts +8 -8
- package/lib/components/form/select-multiple/select-multiple.component.d.ts +12 -12
- package/lib/components/form/select-multiple/select-multiple.module.d.ts +10 -10
- package/lib/components/form/spinner/spinner.component.d.ts +7 -7
- package/lib/components/form/spinner/spinner.module.d.ts +8 -8
- package/lib/components/form/textarea/textarea.component.d.ts +8 -8
- package/lib/components/form/textarea/textarea.module.d.ts +8 -8
- package/lib/components/form/time/time.component.d.ts +6 -6
- package/lib/components/form/time/time.module.d.ts +8 -8
- package/lib/components/form/toggle/toggle.component.d.ts +6 -6
- package/lib/components/form/toggle/toggle.module.d.ts +8 -8
- package/lib/components/grid/column/column.component.d.ts +17 -17
- package/lib/components/grid/column/column.module.d.ts +8 -8
- package/lib/components/grid/container/container.component.d.ts +8 -8
- package/lib/components/grid/container/container.module.d.ts +8 -8
- package/lib/components/grid/row/row.component.d.ts +13 -13
- package/lib/components/grid/row/row.module.d.ts +8 -8
- package/lib/components/header/header.component.d.ts +32 -32
- package/lib/components/header/header.module.d.ts +11 -11
- package/lib/components/icon/icon.component.d.ts +16 -16
- package/lib/components/icon/icon.module.d.ts +8 -8
- package/lib/components/link/link.component.d.ts +30 -30
- package/lib/components/link/link.module.d.ts +10 -10
- package/lib/components/list/item/info/list-item-info.component.d.ts +6 -6
- package/lib/components/list/item/info/list-item-info.module.d.ts +7 -7
- package/lib/components/list/item/list-item.component.d.ts +14 -14
- package/lib/components/list/item/list-item.module.d.ts +7 -7
- package/lib/components/list/list.component.d.ts +6 -6
- package/lib/components/list/list.module.d.ts +8 -8
- package/lib/components/mobile/menu/mobile-menu.component.d.ts +10 -10
- package/lib/components/mobile/menu/mobile-menu.module.d.ts +10 -10
- package/lib/components/navigation/content/navigation-content.component.d.ts +7 -7
- package/lib/components/navigation/content/navigation-content.module.d.ts +8 -8
- package/lib/components/navigation/local/navigation-local.component.d.ts +7 -7
- package/lib/components/navigation/local/navigation-local.module.d.ts +8 -8
- package/lib/components/notification/badge/notification-badge.component.d.ts +7 -7
- package/lib/components/notification/badge/notification-badge.module.d.ts +8 -8
- package/lib/components/popover/popover.component.d.ts +11 -11
- package/lib/components/popover/popover.module.d.ts +8 -8
- package/lib/components/progressbar/progressbar.component.d.ts +8 -8
- package/lib/components/progressbar/progressbar.module.d.ts +8 -8
- package/lib/components/stepper/step/step.component.d.ts +12 -12
- package/lib/components/stepper/stepper.component.d.ts +5 -5
- package/lib/components/stepper/stepper.module.d.ts +9 -9
- package/lib/components/tabs/panel/tab-panel.component.d.ts +9 -9
- package/lib/components/tabs/tab/tab.component.d.ts +14 -14
- package/lib/components/tabs/tabs.component.d.ts +9 -9
- package/lib/components/tabs/tabs.module.d.ts +12 -12
- package/lib/components/tag/tag.component.d.ts +12 -12
- package/lib/components/tag/tag.module.d.ts +8 -8
- package/lib/components/tooltip/tooltip.component.d.ts +6 -6
- package/lib/components/tooltip/tooltip.module.d.ts +8 -8
- package/lib/internals/anchor.component.d.ts +32 -32
- package/lib/internals/anchor.module.d.ts +9 -9
- package/package.json +1 -1
- package/public-api.d.ts +110 -110
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class IDTagComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.clickable = false;
|
|
6
|
-
this.closeable = false;
|
|
7
|
-
this.srcloselabel = '';
|
|
8
|
-
this.onClicked = new EventEmitter();
|
|
9
|
-
this.onClosed = new EventEmitter();
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
IDTagComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
-
IDTagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDTagComponent, selector: "id-tag", inputs: { clickable: "clickable", closeable: "closeable", srcloselabel: "srcloselabel" }, outputs: { onClicked: "onClicked", onClosed: "onClosed" }, ngImport: i0, template: "<ids-tag\
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTagComponent, decorators: [{
|
|
15
|
-
type: Component,
|
|
16
|
-
args: [{
|
|
17
|
-
selector: 'id-tag',
|
|
18
|
-
templateUrl: './tag.component.html',
|
|
19
|
-
}]
|
|
20
|
-
}], ctorParameters: function () { return []; }, propDecorators: { clickable: [{
|
|
21
|
-
type: Input
|
|
22
|
-
}], closeable: [{
|
|
23
|
-
type: Input
|
|
24
|
-
}], srcloselabel: [{
|
|
25
|
-
type: Input
|
|
26
|
-
}], onClicked: [{
|
|
27
|
-
type: Output
|
|
28
|
-
}], onClosed: [{
|
|
29
|
-
type: Output
|
|
30
|
-
}] } });
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class IDTagComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.clickable = false;
|
|
6
|
+
this.closeable = false;
|
|
7
|
+
this.srcloselabel = '';
|
|
8
|
+
this.onClicked = new EventEmitter();
|
|
9
|
+
this.onClosed = new EventEmitter();
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
IDTagComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
IDTagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDTagComponent, selector: "id-tag", inputs: { clickable: "clickable", closeable: "closeable", srcloselabel: "srcloselabel" }, outputs: { onClicked: "onClicked", onClosed: "onClosed" }, ngImport: i0, template: "<ids-tag\n [clickable]=\"clickable ? true : null\"\n [closeable]=\"closeable ? true : null\"\n [srcloselabel]=\"srcloselabel\"\n (clicked)=\"onClicked.emit(true)\"\n (closed)=\"onClosed.emit(true)\">\n <ng-content></ng-content>\n</ids-tag>" });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTagComponent, decorators: [{
|
|
15
|
+
type: Component,
|
|
16
|
+
args: [{
|
|
17
|
+
selector: 'id-tag',
|
|
18
|
+
templateUrl: './tag.component.html',
|
|
19
|
+
}]
|
|
20
|
+
}], ctorParameters: function () { return []; }, propDecorators: { clickable: [{
|
|
21
|
+
type: Input
|
|
22
|
+
}], closeable: [{
|
|
23
|
+
type: Input
|
|
24
|
+
}], srcloselabel: [{
|
|
25
|
+
type: Input
|
|
26
|
+
}], onClicked: [{
|
|
27
|
+
type: Output
|
|
28
|
+
}], onClosed: [{
|
|
29
|
+
type: Output
|
|
30
|
+
}] } });
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFnLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2lkcy1hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy90YWcvdGFnLmNvbXBvbmVudC50cyIsIi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b25lbnQge1xuXG4gIEBJbnB1dCgpXG4gIGNsaWNrYWJsZTpib29sZWFuID0gZmFsc2U7XG5cbiAgQElucHV0KClcbiAgY2xvc2VhYmxlOmJvb2xlYW4gPSBmYWxzZTtcblxuICBASW5wdXQoKVxuICBzcmNsb3NlbGFiZWw6c3RyaW5nID0gJyc7XG5cbiAgQE91dHB1dCgpXG4gIG9uQ2xpY2tlZDogRXZlbnRFbWl0dGVyPGJvb2xlYW4+ID0gbmV3IEV2ZW50RW1pdHRlcigpO1xuICBAT3V0cHV0KClcbiAgb25DbG9zZWQ6IEV2ZW50RW1pdHRlcjxib29sZWFuPiA9IG5ldyBFdmVudEVtaXR0ZXIoKTtcblxuICBjb25zdHJ1Y3RvcigpIHsgfVxufVxuIiwiPGlkcy10YWdcbiAgW2NsaWNrYWJsZV09XCJjbGlja2FibGUgPyB0cnVlIDogbnVsbFwiXG4gIFtjbG9zZWFibGVdPVwiY2xvc2VhYmxlID8gdHJ1ZSA6IG51bGxcIlxuICBbc3JjbG9zZWxhYmVsXT1cInNyY2xvc2VsYWJlbFwiXG4gIChjbGlja2VkKT1cIm9uQ2xpY2tlZC5lbWl0KHRydWUpXCJcbiAgKGNsb3NlZCk9XCJvbkNsb3NlZC5lbWl0KHRydWUpXCI+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvaWRzLXRhZz4iXX0=
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
2
|
-
import { IDTagComponent } from './tag.component';
|
|
3
|
-
import '@inera/ids-core/components/tag/register';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class IDTagModule {
|
|
6
|
-
}
|
|
7
|
-
IDTagModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTagModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
-
IDTagModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTagModule, declarations: [IDTagComponent], exports: [IDTagComponent] });
|
|
9
|
-
IDTagModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTagModule });
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTagModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
declarations: [
|
|
14
|
-
IDTagComponent
|
|
15
|
-
],
|
|
16
|
-
exports: [
|
|
17
|
-
IDTagComponent
|
|
18
|
-
],
|
|
19
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
20
|
-
}]
|
|
21
|
-
}] });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
2
|
+
import { IDTagComponent } from './tag.component';
|
|
3
|
+
import '@inera/ids-core/components/tag/register';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class IDTagModule {
|
|
6
|
+
}
|
|
7
|
+
IDTagModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTagModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
IDTagModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTagModule, declarations: [IDTagComponent], exports: [IDTagComponent] });
|
|
9
|
+
IDTagModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTagModule });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTagModule, decorators: [{
|
|
11
|
+
type: NgModule,
|
|
12
|
+
args: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CAnQGluZXJhL2lkcy1jb3JlL2NvbXBvbmVudHMvdGFnL3JlZ2lzdGVyJztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgSURUYWdDb21wb25lbnRcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIElEVGFnQ29tcG9uZW50XG4gIF0sXG4gIHNjaGVtYXM6IFtDVVNUT01fRUxFTUVOVFNfU0NIRU1BXSxcbn0pXG5leHBvcnQgY2xhc3MgSURUYWdNb2R1bGUgeyB9XG4iXX0=
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class IDTooltipComponent {
|
|
4
|
-
constructor() { }
|
|
5
|
-
}
|
|
6
|
-
IDTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
-
IDTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDTooltipComponent, selector: "id-tooltip", ngImport: i0, template: "<ids-tooltip>\
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTooltipComponent, decorators: [{
|
|
9
|
-
type: Component,
|
|
10
|
-
args: [{
|
|
11
|
-
selector: 'id-tooltip',
|
|
12
|
-
templateUrl: './tooltip.component.html',
|
|
13
|
-
}]
|
|
14
|
-
}], ctorParameters: function () { return []; } });
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class IDTooltipComponent {
|
|
4
|
+
constructor() { }
|
|
5
|
+
}
|
|
6
|
+
IDTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
+
IDTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDTooltipComponent, selector: "id-tooltip", ngImport: i0, template: "<ids-tooltip>\n <ng-content></ng-content>\n</ids-tooltip>" });
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTooltipComponent, decorators: [{
|
|
9
|
+
type: Component,
|
|
10
|
+
args: [{
|
|
11
|
+
selector: 'id-tooltip',
|
|
12
|
+
templateUrl: './tooltip.component.html',
|
|
13
|
+
}]
|
|
14
|
+
}], ctorParameters: function () { return []; } });
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pZHMtYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvdG9vbHRpcC90b29sdGlwLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2lkcy1hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy90b29sdGlwL3Rvb2x0aXAuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFNMUMsTUFBTSxPQUFPLGtCQUFrQjtJQUU3QixnQkFBZ0IsQ0FBQzs7Z0hBRk4sa0JBQWtCO29HQUFsQixrQkFBa0Isa0RDTi9CLDREQUVjOzRGRElELGtCQUFrQjtrQkFKOUIsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsWUFBWTtvQkFDdEIsV0FBVyxFQUFFLDBCQUEwQjtpQkFDeEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnaWQtdG9vbHRpcCcsXG4gIHRlbXBsYXRlVXJsOiAnLi90b29sdGlwLmNvbXBvbmVudC5odG1sJyxcbn0pXG5leHBvcnQgY2xhc3MgSURUb29sdGlwQ29tcG9uZW50IHtcblxuICBjb25zdHJ1Y3RvcigpIHsgfVxufVxuIiwiPGlkcy10b29sdGlwPlxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L2lkcy10b29sdGlwPiJdfQ==
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
2
|
-
import { IDTooltipComponent } from './tooltip.component';
|
|
3
|
-
import '@inera/ids-core/components/tooltip/register';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class IDTooltipModule {
|
|
6
|
-
}
|
|
7
|
-
IDTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
-
IDTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTooltipModule, declarations: [IDTooltipComponent], exports: [IDTooltipComponent] });
|
|
9
|
-
IDTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTooltipModule });
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTooltipModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
declarations: [
|
|
14
|
-
IDTooltipComponent
|
|
15
|
-
],
|
|
16
|
-
exports: [
|
|
17
|
-
IDTooltipComponent
|
|
18
|
-
],
|
|
19
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
20
|
-
}]
|
|
21
|
-
}] });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
2
|
+
import { IDTooltipComponent } from './tooltip.component';
|
|
3
|
+
import '@inera/ids-core/components/tooltip/register';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class IDTooltipModule {
|
|
6
|
+
}
|
|
7
|
+
IDTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
IDTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTooltipModule, declarations: [IDTooltipComponent], exports: [IDTooltipComponent] });
|
|
9
|
+
IDTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTooltipModule });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDTooltipModule, decorators: [{
|
|
11
|
+
type: NgModule,
|
|
12
|
+
args: [{
|
|
13
|
+
declarations: [
|
|
14
|
+
IDTooltipComponent
|
|
15
|
+
],
|
|
16
|
+
exports: [
|
|
17
|
+
IDTooltipComponent
|
|
18
|
+
],
|
|
19
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
20
|
+
}]
|
|
21
|
+
}] });
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9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WxlIHsgfVxuIl19
|
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { IDLinkFunction } from '../classes/link/IDLinkFunction';
|
|
3
|
-
import { IDLinkRoute } from '../classes/link/IDLinkRoute';
|
|
4
|
-
import { IDLinkWeb } from '../classes/link/IDLinkWeb';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/platform-browser";
|
|
7
|
-
import * as i2 from "@angular/common";
|
|
8
|
-
import * as i3 from "@angular/router";
|
|
9
|
-
export class IDAnchorComponent {
|
|
10
|
-
constructor(sanitizer) {
|
|
11
|
-
this.sanitizer = sanitizer;
|
|
12
|
-
this.linkType = '';
|
|
13
|
-
this.isLinkExternal = false;
|
|
14
|
-
this.isLinkRoute = false;
|
|
15
|
-
this.isLinkWeb = false;
|
|
16
|
-
this.isLinkFunction = false;
|
|
17
|
-
this.classes = '';
|
|
18
|
-
this.scriptHref = this.sanitizer.bypassSecurityTrustUrl('javascript:');
|
|
19
|
-
this.block = false;
|
|
20
|
-
this.noOutline = false;
|
|
21
|
-
/** Apply classes to <a> element */
|
|
22
|
-
this.contextClasses = [];
|
|
23
|
-
}
|
|
24
|
-
setLinkType() {
|
|
25
|
-
this.isLinkRoute = this.link instanceof IDLinkRoute;
|
|
26
|
-
this.isLinkWeb = this.link instanceof IDLinkWeb;
|
|
27
|
-
this.isLinkFunction = this.link instanceof IDLinkFunction;
|
|
28
|
-
if (this.link && this.isLinkWeb) {
|
|
29
|
-
const weblink = this.link;
|
|
30
|
-
this.isLinkExternal = weblink.target === '_blank' || weblink.target === 'blank';
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
this.isLinkExternal = false;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
setClasses() {
|
|
37
|
-
if (this.link && this.link.classes) {
|
|
38
|
-
this.classes = [...this.contextClasses, ...this.link.classes].join(' ');
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
this.classes = this.contextClasses.join(' ');
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
get linkWeb() {
|
|
45
|
-
return this.link;
|
|
46
|
-
}
|
|
47
|
-
get linkRoute() {
|
|
48
|
-
return this.link;
|
|
49
|
-
}
|
|
50
|
-
get linkFunction() {
|
|
51
|
-
return this.link;
|
|
52
|
-
}
|
|
53
|
-
ngOnChanges(changes) {
|
|
54
|
-
if (changes.link) {
|
|
55
|
-
this.setLinkType();
|
|
56
|
-
this.setClasses();
|
|
57
|
-
}
|
|
58
|
-
if (changes.contextClasses) {
|
|
59
|
-
this.setClasses();
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
IDAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAnchorComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
|
64
|
-
IDAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDAnchorComponent, selector: "id-anchor", inputs: { link: "link", block: "block", noOutline: "noOutline", contextClasses: "contextClasses" }, usesOnChanges: true, ngImport: i0, template: "<a *ngIf=\"isLinkRoute\" \
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAnchorComponent, decorators: [{
|
|
66
|
-
type: Component,
|
|
67
|
-
args: [{
|
|
68
|
-
selector: 'id-anchor',
|
|
69
|
-
templateUrl: './anchor.component.html',
|
|
70
|
-
styles: [
|
|
71
|
-
'a { color: inherit; text-decoration: inherit; font-size: inherit }',
|
|
72
|
-
'.ids-no-outline:focus { outline: none;}',
|
|
73
|
-
'.ids-block { display: block;}'
|
|
74
|
-
]
|
|
75
|
-
}]
|
|
76
|
-
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; }, propDecorators: { link: [{
|
|
77
|
-
type: Input
|
|
78
|
-
}], block: [{
|
|
79
|
-
type: Input
|
|
80
|
-
}], noOutline: [{
|
|
81
|
-
type: Input
|
|
82
|
-
}], contextClasses: [{
|
|
83
|
-
type: Input
|
|
84
|
-
}] } });
|
|
85
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { IDLinkFunction } from '../classes/link/IDLinkFunction';
|
|
3
|
+
import { IDLinkRoute } from '../classes/link/IDLinkRoute';
|
|
4
|
+
import { IDLinkWeb } from '../classes/link/IDLinkWeb';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/platform-browser";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
import * as i3 from "@angular/router";
|
|
9
|
+
export class IDAnchorComponent {
|
|
10
|
+
constructor(sanitizer) {
|
|
11
|
+
this.sanitizer = sanitizer;
|
|
12
|
+
this.linkType = '';
|
|
13
|
+
this.isLinkExternal = false;
|
|
14
|
+
this.isLinkRoute = false;
|
|
15
|
+
this.isLinkWeb = false;
|
|
16
|
+
this.isLinkFunction = false;
|
|
17
|
+
this.classes = '';
|
|
18
|
+
this.scriptHref = this.sanitizer.bypassSecurityTrustUrl('javascript:');
|
|
19
|
+
this.block = false;
|
|
20
|
+
this.noOutline = false;
|
|
21
|
+
/** Apply classes to <a> element */
|
|
22
|
+
this.contextClasses = [];
|
|
23
|
+
}
|
|
24
|
+
setLinkType() {
|
|
25
|
+
this.isLinkRoute = this.link instanceof IDLinkRoute;
|
|
26
|
+
this.isLinkWeb = this.link instanceof IDLinkWeb;
|
|
27
|
+
this.isLinkFunction = this.link instanceof IDLinkFunction;
|
|
28
|
+
if (this.link && this.isLinkWeb) {
|
|
29
|
+
const weblink = this.link;
|
|
30
|
+
this.isLinkExternal = weblink.target === '_blank' || weblink.target === 'blank';
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
this.isLinkExternal = false;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
setClasses() {
|
|
37
|
+
if (this.link && this.link.classes) {
|
|
38
|
+
this.classes = [...this.contextClasses, ...this.link.classes].join(' ');
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
this.classes = this.contextClasses.join(' ');
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
get linkWeb() {
|
|
45
|
+
return this.link;
|
|
46
|
+
}
|
|
47
|
+
get linkRoute() {
|
|
48
|
+
return this.link;
|
|
49
|
+
}
|
|
50
|
+
get linkFunction() {
|
|
51
|
+
return this.link;
|
|
52
|
+
}
|
|
53
|
+
ngOnChanges(changes) {
|
|
54
|
+
if (changes.link) {
|
|
55
|
+
this.setLinkType();
|
|
56
|
+
this.setClasses();
|
|
57
|
+
}
|
|
58
|
+
if (changes.contextClasses) {
|
|
59
|
+
this.setClasses();
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
IDAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAnchorComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
|
64
|
+
IDAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDAnchorComponent, selector: "id-anchor", inputs: { link: "link", block: "block", noOutline: "noOutline", contextClasses: "contextClasses" }, usesOnChanges: true, ngImport: i0, template: "<a *ngIf=\"isLinkRoute\" \n [class.ids-no-outline]=\"noOutline\"\n [class.ids-block]=\"block\"\n [attr.id]=\"linkRoute.id\"\n [class]=\"classes\" \n [routerLink]=\"linkRoute.route\"\n routerLinkActive=\"selected\"\n [queryParams]=\"linkRoute.queries\">\n <ng-template [ngTemplateOutlet]=\"prependTemplate\"></ng-template>\n {{linkRoute.label}}\n <ng-template [ngTemplateOutlet]=\"appendTemplate\"></ng-template>\n</a>\n<a *ngIf=\"isLinkWeb\" \n [class.ids-no-outline]=\"noOutline\"\n [class.ids-block]=\"block\"\n [attr.id]=\"linkWeb.id\"\n [class]=\"classes\" \n [href]=\"linkWeb.url\"\n [attr.target]=\"linkWeb.target\"\n [attr.rel]=\"isLinkExternal ? 'noopener' : null\">\n <ng-template [ngTemplateOutlet]=\"prependTemplate\"></ng-template>\n {{linkWeb.label}}\n <ng-template [ngTemplateOutlet]=\"appendTemplate\"></ng-template>\n</a>\n<a *ngIf=\"isLinkFunction\" \n [class.ids-no-outline]=\"noOutline\"\n [class.ids-block]=\"block\"\n [attr.id]=\"linkFunction.id\"\n [class]=\"classes\" \n [attr.href]=\"scriptHref\"\n (click)=\"linkFunction.click()\">\n <ng-template [ngTemplateOutlet]=\"prependTemplate\"></ng-template>\n {{linkFunction.label}}\n <ng-template [ngTemplateOutlet]=\"appendTemplate\"></ng-template>\n</a>\n\n<ng-template #prependTemplate>\n <ng-content select=\"[prepend]\"></ng-content>\n</ng-template>\n\n<ng-template #appendTemplate>\n <ng-content select=\"[append]\"></ng-content>\n</ng-template>", styles: ["a { color: inherit; text-decoration: inherit; font-size: inherit }", ".ids-no-outline:focus { outline: none;}", ".ids-block { display: block;}"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i3.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "routerLinkActive"], exportAs: ["routerLinkActive"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAnchorComponent, decorators: [{
|
|
66
|
+
type: Component,
|
|
67
|
+
args: [{
|
|
68
|
+
selector: 'id-anchor',
|
|
69
|
+
templateUrl: './anchor.component.html',
|
|
70
|
+
styles: [
|
|
71
|
+
'a { color: inherit; text-decoration: inherit; font-size: inherit }',
|
|
72
|
+
'.ids-no-outline:focus { outline: none;}',
|
|
73
|
+
'.ids-block { display: block;}'
|
|
74
|
+
]
|
|
75
|
+
}]
|
|
76
|
+
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; }, propDecorators: { link: [{
|
|
77
|
+
type: Input
|
|
78
|
+
}], block: [{
|
|
79
|
+
type: Input
|
|
80
|
+
}], noOutline: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}], contextClasses: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}] } });
|
|
85
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5jaG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2lkcy1hbmd1bGFyL3NyYy9saWIvaW50ZXJuYWxzL2FuY2hvci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pZHMtYW5ndWxhci9zcmMvbGliL2ludGVybmFscy9hbmNob3IuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQW9DLE1BQU0sZUFBZSxDQUFDO0FBR25GLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUNoRSxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sNkJBQTZCLENBQUM7QUFDMUQsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLDJCQUEyQixDQUFDOzs7OztBQVd0RCxNQUFNLE9BQU8saUJBQWlCO0lBcUI1QixZQUFvQixTQUFzQjtRQUF0QixjQUFTLEdBQVQsU0FBUyxD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nSWY9XCJpc0xpbmtGdW5jdGlvblwiIFxuICBbY2xhc3MuaWRzLW5vLW91dGxpbmVdPVwibm9PdXRsaW5lXCJcbiAgW2NsYXNzLmlkcy1ibG9ja109XCJibG9ja1wiXG4gIFthdHRyLmlkXT1cImxpbmtGdW5jdGlvbi5pZFwiXG4gIFtjbGFzc109XCJjbGFzc2VzXCIgIFxuICBbYXR0ci5ocmVmXT1cInNjcmlwdEhyZWZcIlxuICAoY2xpY2spPVwibGlua0Z1bmN0aW9uLmNsaWNrKClcIj5cbiAgICA8bmctdGVtcGxhdGUgW25nVGVtcGxhdGVPdXRsZXRdPVwicHJlcGVuZFRlbXBsYXRlXCI+PC9uZy10ZW1wbGF0ZT5cbiAgICAgIHt7bGlua0Z1bmN0aW9uLmxhYmVsfX1cbiAgICA8bmctdGVtcGxhdGUgW25nVGVtcGxhdGVPdXRsZXRdPVwiYXBwZW5kVGVtcGxhdGVcIj48L25nLXRlbXBsYXRlPlxuPC9hPlxuXG48bmctdGVtcGxhdGUgI3ByZXBlbmRUZW1wbGF0ZT5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW3ByZXBlbmRdXCI+PC9uZy1jb250ZW50PlxuPC9uZy10ZW1wbGF0ZT5cblxuPG5nLXRlbXBsYXRlICNhcHBlbmRUZW1wbGF0ZT5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2FwcGVuZF1cIj48L25nLWNvbnRlbnQ+XG48L25nLXRlbXBsYXRlPiJdfQ==
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { IDAnchorComponent } from './anchor.component';
|
|
4
|
-
import { RouterModule } from '@angular/router';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class IDAnchorModule {
|
|
7
|
-
}
|
|
8
|
-
IDAnchorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAnchorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
-
IDAnchorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAnchorModule, declarations: [IDAnchorComponent], imports: [CommonModule,
|
|
10
|
-
RouterModule], exports: [IDAnchorComponent] });
|
|
11
|
-
IDAnchorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAnchorModule, imports: [[
|
|
12
|
-
CommonModule,
|
|
13
|
-
RouterModule,
|
|
14
|
-
]] });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAnchorModule, decorators: [{
|
|
16
|
-
type: NgModule,
|
|
17
|
-
args: [{
|
|
18
|
-
declarations: [IDAnchorComponent],
|
|
19
|
-
imports: [
|
|
20
|
-
CommonModule,
|
|
21
|
-
RouterModule,
|
|
22
|
-
],
|
|
23
|
-
exports: [IDAnchorComponent]
|
|
24
|
-
}]
|
|
25
|
-
}] });
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { IDAnchorComponent } from './anchor.component';
|
|
4
|
+
import { RouterModule } from '@angular/router';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class IDAnchorModule {
|
|
7
|
+
}
|
|
8
|
+
IDAnchorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAnchorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
IDAnchorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAnchorModule, declarations: [IDAnchorComponent], imports: [CommonModule,
|
|
10
|
+
RouterModule], exports: [IDAnchorComponent] });
|
|
11
|
+
IDAnchorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAnchorModule, imports: [[
|
|
12
|
+
CommonModule,
|
|
13
|
+
RouterModule,
|
|
14
|
+
]] });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDAnchorModule, decorators: [{
|
|
16
|
+
type: NgModule,
|
|
17
|
+
args: [{
|
|
18
|
+
declarations: [IDAnchorComponent],
|
|
19
|
+
imports: [
|
|
20
|
+
CommonModule,
|
|
21
|
+
RouterModule,
|
|
22
|
+
],
|
|
23
|
+
exports: [IDAnchorComponent]
|
|
24
|
+
}]
|
|
25
|
+
}] });
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5jaG9yLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2lkcy1hbmd1bGFyL3NyYy9saWIvaW50ZXJuYWxzL2FuY2hvci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDdkQsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDOztBQVU3QyxNQUFNLE9BQU8sY0FBYzs7NEdBQWQsY0FBYzs2R0FBZCxjQUFjLGlCQVBWLGlCQUFpQixhQUU5QixZQUFZO1FBQ1osWUFBWSxhQUVKLGlCQUFpQjs2R0FFaEIsY0FBYyxZQU5oQjtZQUNQLFlBQVk7WUFDWixZQ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