design-angular-kit 1.3.2 → 1.5.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/design-angular-kit.mjs +621 -418
- package/fesm2022/design-angular-kit.mjs.map +1 -1
- package/lib/components/core/avatar/avatar-extra-text.directive.d.ts +6 -0
- package/lib/components/core/avatar/avatar-group/avatar-group.component.d.ts +5 -0
- package/lib/components/core/avatar/avatar-presence.directive.d.ts +17 -0
- package/lib/components/core/avatar/avatar-status.directive.d.ts +17 -0
- package/lib/components/core/avatar/avatar-wrapper.directive.d.ts +9 -0
- package/lib/components/core/avatar/avatar.module.d.ts +5 -1
- package/lib/components/core/list/list-item/list-item.component.d.ts +4 -1
- package/lib/components/core/video-player/video-player.config.d.ts +18 -18
- package/lib/components/form/transfer/store/transfer.reducers.d.ts +35 -35
- package/lib/components/navigation/footer/footer.component.d.ts +6 -0
- package/lib/design-angular-kit.module.d.ts +13 -12
- package/package.json +11 -10
- package/public_api.d.ts +7 -2
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/ng-add/rules/setup-project/add-animations.js +1 -2
- package/schematics/ng-add/rules/setup-project/add-animations.js.map +1 -1
- package/schematics/ng-add/rules/setup-project/add-assets.js +1 -2
- package/schematics/ng-add/rules/setup-project/add-assets.js.map +1 -1
- package/schematics/ng-add/rules/setup-project/add-design-angular-kit.js +1 -2
- package/schematics/ng-add/rules/setup-project/add-design-angular-kit.js.map +1 -1
- package/schematics/ng-add/rules/setup-project/add-http-client.js +1 -2
- package/schematics/ng-add/rules/setup-project/add-http-client.js.map +1 -1
- package/schematics/ng-add/rules/setup-project/add-import-to-style-file.js +1 -2
- package/schematics/ng-add/rules/setup-project/add-import-to-style-file.js.map +1 -1
- package/schematics/ng-add/rules/setup-project/add-localisation.js +1 -2
- package/schematics/ng-add/rules/setup-project/add-localisation.js.map +1 -1
- package/schematics/ng-add/rules/setup-project/angular-json-helper.js +1 -2
- package/schematics/ng-add/rules/setup-project/angular-json-helper.js.map +1 -1
- package/schematics/ng-add/setup-project.js +2 -2
- package/schematics/ng-add/setup-project.js.map +1 -1
- package/schematics/ng-add/utils.js +13 -6
- package/schematics/ng-add/utils.js.map +1 -1
- package/schematics/ng-add/utils.spec.d.ts +1 -0
- package/schematics/ng-add/utils.spec.js +48 -0
- package/schematics/ng-add/utils.spec.js.map +1 -0
- package/schematics/ng-add/versions-helper.js +11 -19
- package/schematics/ng-add/versions-helper.js.map +1 -1
- package/schematics/ng-add/versions-helper.spec.d.ts +1 -0
- package/schematics/ng-add/versions-helper.spec.js +46 -0
- package/schematics/ng-add/versions-helper.spec.js.map +1 -0
- package/esm2022/design-angular-kit.mjs +0 -5
- package/esm2022/lib/abstracts/abstract-form.component.mjs +0 -199
- package/esm2022/lib/abstracts/abstract.component.mjs +0 -46
- package/esm2022/lib/components/core/accordion/accordion.component.mjs +0 -39
- package/esm2022/lib/components/core/alert/alert.component.mjs +0 -71
- package/esm2022/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.mjs +0 -43
- package/esm2022/lib/components/core/avatar/avatar-group/avatar-group.component.mjs +0 -40
- package/esm2022/lib/components/core/avatar/avatar.directive.mjs +0 -78
- package/esm2022/lib/components/core/avatar/avatar.module.mjs +0 -33
- package/esm2022/lib/components/core/badge/badge.directive.mjs +0 -39
- package/esm2022/lib/components/core/button/button.directive.mjs +0 -80
- package/esm2022/lib/components/core/callout/callout.component.mjs +0 -64
- package/esm2022/lib/components/core/card/card.component.mjs +0 -59
- package/esm2022/lib/components/core/carousel/carousel/carousel.component.mjs +0 -86
- package/esm2022/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +0 -19
- package/esm2022/lib/components/core/carousel/carousel.module.mjs +0 -18
- package/esm2022/lib/components/core/chip/chip.component.mjs +0 -136
- package/esm2022/lib/components/core/collapse/collapse.component.mjs +0 -116
- package/esm2022/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +0 -27
- package/esm2022/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +0 -11
- package/esm2022/lib/components/core/dimmer/dimmer.component.mjs +0 -55
- package/esm2022/lib/components/core/dimmer/dimmer.module.mjs +0 -19
- package/esm2022/lib/components/core/dropdown/dropdown/dropdown.component.mjs +0 -147
- package/esm2022/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +0 -70
- package/esm2022/lib/components/core/dropdown/dropdown.module.mjs +0 -18
- package/esm2022/lib/components/core/forward/forward.directive.mjs +0 -57
- package/esm2022/lib/components/core/link/link.component.mjs +0 -42
- package/esm2022/lib/components/core/list/list/list.component.mjs +0 -22
- package/esm2022/lib/components/core/list/list-item/list-item.component.mjs +0 -56
- package/esm2022/lib/components/core/list/list.module.mjs +0 -18
- package/esm2022/lib/components/core/modal/modal.component.mjs +0 -194
- package/esm2022/lib/components/core/notifications/notifications.component.mjs +0 -111
- package/esm2022/lib/components/core/pagination/pagination.component.mjs +0 -130
- package/esm2022/lib/components/core/popover/popover.directive.mjs +0 -176
- package/esm2022/lib/components/core/progress-bar/progress-bar.component.mjs +0 -34
- package/esm2022/lib/components/core/progress-button/progress-button.component.mjs +0 -25
- package/esm2022/lib/components/core/spinner/spinner.component.mjs +0 -30
- package/esm2022/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +0 -116
- package/esm2022/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +0 -22
- package/esm2022/lib/components/core/steppers/steppers.module.mjs +0 -18
- package/esm2022/lib/components/core/tab/tab-container/tab-container.component.mjs +0 -97
- package/esm2022/lib/components/core/tab/tab-item/tab-item.component.mjs +0 -39
- package/esm2022/lib/components/core/tab/tab.module.mjs +0 -18
- package/esm2022/lib/components/core/table/sort/sort-header/sort-header.component.mjs +0 -134
- package/esm2022/lib/components/core/table/sort/sort.directive.mjs +0 -123
- package/esm2022/lib/components/core/table/table.component.mjs +0 -45
- package/esm2022/lib/components/core/table/table.module.mjs +0 -19
- package/esm2022/lib/components/core/timeline/timeline-item/timeline-item.component.mjs +0 -90
- package/esm2022/lib/components/core/timeline/timeline.component.mjs +0 -36
- package/esm2022/lib/components/core/timeline/timeline.module.mjs +0 -18
- package/esm2022/lib/components/core/tooltip/tooltip.directive.mjs +0 -143
- package/esm2022/lib/components/core/video-player/video-player-i18n.model.mjs +0 -2
- package/esm2022/lib/components/core/video-player/video-player-i18n.service.mjs +0 -130
- package/esm2022/lib/components/core/video-player/video-player.component.mjs +0 -301
- package/esm2022/lib/components/core/video-player/video-player.config.mjs +0 -43
- package/esm2022/lib/components/core/video-player/video-player.cookie.mjs +0 -25
- package/esm2022/lib/components/core/video-player/video-player.model.mjs +0 -3
- package/esm2022/lib/components/core/video-player/video-player.module.mjs +0 -16
- package/esm2022/lib/components/form/autocomplete/autocomplete.component.mjs +0 -178
- package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +0 -48
- package/esm2022/lib/components/form/form.module.mjs +0 -67
- package/esm2022/lib/components/form/input/input.component.mjs +0 -190
- package/esm2022/lib/components/form/password-input/password-input.component.mjs +0 -149
- package/esm2022/lib/components/form/radio-button/radio-button.component.mjs +0 -60
- package/esm2022/lib/components/form/range/range.component.mjs +0 -64
- package/esm2022/lib/components/form/rating/rating.component.mjs +0 -50
- package/esm2022/lib/components/form/search/search.component.mjs +0 -112
- package/esm2022/lib/components/form/select/select.component.mjs +0 -70
- package/esm2022/lib/components/form/textarea/textarea.component.mjs +0 -55
- package/esm2022/lib/components/form/transfer/store/transfer.reducers.mjs +0 -191
- package/esm2022/lib/components/form/transfer/store/transfer.state.mjs +0 -2
- package/esm2022/lib/components/form/transfer/store/transfer.store.mjs +0 -70
- package/esm2022/lib/components/form/transfer/transfer-list/transfer-list.component.mjs +0 -72
- package/esm2022/lib/components/form/transfer/transfer.component.mjs +0 -149
- package/esm2022/lib/components/form/transfer/transfer.model.mjs +0 -6
- package/esm2022/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +0 -142
- package/esm2022/lib/components/form/upload-file-list/upload-file-list.component.mjs +0 -107
- package/esm2022/lib/components/navigation/back-button/back-button.component.mjs +0 -67
- package/esm2022/lib/components/navigation/back-to-top/back-to-top.component.mjs +0 -68
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -51
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +0 -21
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumbs.module.mjs +0 -18
- package/esm2022/lib/components/navigation/header/header.component.mjs +0 -103
- package/esm2022/lib/components/navigation/megamenu/megamenu.component.mjs +0 -27
- package/esm2022/lib/components/navigation/navbar/navbar/navbar.component.mjs +0 -49
- package/esm2022/lib/components/navigation/navbar/navbar-item/navbar-item.component.mjs +0 -11
- package/esm2022/lib/components/navigation/navbar/navbar.module.mjs +0 -18
- package/esm2022/lib/components/navigation/navscroll/navscroll-list-item.component.mjs +0 -97
- package/esm2022/lib/components/navigation/navscroll/navscroll-list-items.component.mjs +0 -44
- package/esm2022/lib/components/navigation/navscroll/navscroll.component.mjs +0 -116
- package/esm2022/lib/components/navigation/navscroll/navscroll.model.mjs +0 -2
- package/esm2022/lib/components/navigation/navscroll/navscroll.store.mjs +0 -68
- package/esm2022/lib/components/navigation/navscroll/navscroll.utils.mjs +0 -23
- package/esm2022/lib/components/navigation/sidebar/sidebar.component.mjs +0 -50
- package/esm2022/lib/components/navigation/skiplink/skiplink/skiplink.component.mjs +0 -27
- package/esm2022/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.mjs +0 -26
- package/esm2022/lib/components/navigation/skiplink/skiplink.module.mjs +0 -18
- package/esm2022/lib/components/utils/error-page/error-page.component.mjs +0 -74
- package/esm2022/lib/components/utils/icon/icon.component.mjs +0 -63
- package/esm2022/lib/components/utils/language-switcher/language-switcher.component.mjs +0 -50
- package/esm2022/lib/design-angular-kit.module.mjs +0 -237
- package/esm2022/lib/enums/colors.enums.mjs +0 -12
- package/esm2022/lib/enums/sizes.enum.mjs +0 -9
- package/esm2022/lib/interfaces/core.mjs +0 -16
- package/esm2022/lib/interfaces/design-angular-kit-config.mjs +0 -7
- package/esm2022/lib/interfaces/form.mjs +0 -2
- package/esm2022/lib/interfaces/icon.mjs +0 -181
- package/esm2022/lib/interfaces/sortable-table.mjs +0 -6
- package/esm2022/lib/interfaces/utils.mjs +0 -2
- package/esm2022/lib/pipes/date-ago.pipe.mjs +0 -56
- package/esm2022/lib/pipes/duration.pipe.mjs +0 -115
- package/esm2022/lib/pipes/mark-matching-text.pipe.mjs +0 -48
- package/esm2022/lib/provide-design-angular-kit.mjs +0 -64
- package/esm2022/lib/services/notification/notification.service.mjs +0 -120
- package/esm2022/lib/utils/coercion.mjs +0 -18
- package/esm2022/lib/utils/date-utils.mjs +0 -162
- package/esm2022/lib/utils/file-utils.mjs +0 -73
- package/esm2022/lib/utils/regex.mjs +0 -35
- package/esm2022/lib/validators/it-validators.mjs +0 -161
- package/esm2022/public_api.mjs +0 -114
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ItAvatarExtraTextDirective {
|
|
3
|
+
get hostClasses(): string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarExtraTextDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ItAvatarExtraTextDirective, "[itAvatarExtraText]", ["itAvatarExtraText"], {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { QueryList, TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "../../../../utils/coercion";
|
|
4
|
+
export declare class ItAvatarListItemDirective {
|
|
5
|
+
get hostClasses(): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarListItemDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ItAvatarListItemDirective, "[itAvatarListItem]", ["itAvatarListItem"], {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
4
9
|
export declare class ItAvatarGroupItemComponent {
|
|
5
10
|
_implicitContent: TemplateRef<any>;
|
|
6
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarGroupItemComponent, never>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ItAvatarPresenceDirective {
|
|
3
|
+
/**
|
|
4
|
+
* Indica lo stato della presenza. Può assumere i valori:
|
|
5
|
+
* <ul>
|
|
6
|
+
* <li> active
|
|
7
|
+
* <li> busy
|
|
8
|
+
* <li> hidden
|
|
9
|
+
* </ul>
|
|
10
|
+
*/
|
|
11
|
+
get presence(): string | undefined;
|
|
12
|
+
set presence(value: string | undefined);
|
|
13
|
+
private _presence?;
|
|
14
|
+
get hostClasses(): string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarPresenceDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ItAvatarPresenceDirective, "[itAvatarPresence]", ["itAvatarPresence"], { "presence": { "alias": "presence"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ItAvatarStatusDirective {
|
|
3
|
+
/**
|
|
4
|
+
* Indica lo stato della presenza. Può assumere i valori:
|
|
5
|
+
* <ul>
|
|
6
|
+
* <li> approved
|
|
7
|
+
* <li> declined
|
|
8
|
+
* <li> notify
|
|
9
|
+
* </ul>
|
|
10
|
+
*/
|
|
11
|
+
get status(): string | undefined;
|
|
12
|
+
set status(value: string | undefined);
|
|
13
|
+
private _status?;
|
|
14
|
+
get hostClasses(): string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarStatusDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ItAvatarStatusDirective, "[itAvatarStatus]", ["itAvatarStatus"], { "status": { "alias": "status"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "../../../utils/coercion";
|
|
3
|
+
export declare class ItAvatarWrapperDirective {
|
|
4
|
+
extraText: boolean;
|
|
5
|
+
get hostClasses(): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarWrapperDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ItAvatarWrapperDirective, "[itAvatarWrapper]", ["itAvatarWrapper"], { "extraText": { "alias": "extraText"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
+
static ngAcceptInputType_extraText: i1.BooleanInput;
|
|
9
|
+
}
|
|
@@ -2,8 +2,12 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./avatar-group/avatar-group.component";
|
|
3
3
|
import * as i2 from "./avatar-dropdown/avatar-dropdown.component";
|
|
4
4
|
import * as i3 from "./avatar.directive";
|
|
5
|
+
import * as i4 from "./avatar-extra-text.directive";
|
|
6
|
+
import * as i5 from "./avatar-wrapper.directive";
|
|
7
|
+
import * as i6 from "./avatar-status.directive";
|
|
8
|
+
import * as i7 from "./avatar-presence.directive";
|
|
5
9
|
export declare class ItAvatarModule {
|
|
6
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ItAvatarModule, never, [typeof i1.ItAvatarGroupItemComponent, typeof i1.ItAvatarGroupComponent, typeof i2.ItAvatarDropdownComponent, typeof i2.ItAvatarDropdownItemComponent, typeof i3.ItAvatarDirective], [typeof i1.ItAvatarGroupItemComponent, typeof i1.ItAvatarGroupComponent, typeof i2.ItAvatarDropdownComponent, typeof i2.ItAvatarDropdownItemComponent, typeof i3.ItAvatarDirective]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItAvatarModule, never, [typeof i1.ItAvatarGroupItemComponent, typeof i1.ItAvatarGroupComponent, typeof i2.ItAvatarDropdownComponent, typeof i2.ItAvatarDropdownItemComponent, typeof i3.ItAvatarDirective, typeof i4.ItAvatarExtraTextDirective, typeof i5.ItAvatarWrapperDirective, typeof i6.ItAvatarStatusDirective, typeof i7.ItAvatarPresenceDirective, typeof i1.ItAvatarListItemDirective], [typeof i1.ItAvatarGroupItemComponent, typeof i1.ItAvatarGroupComponent, typeof i2.ItAvatarDropdownComponent, typeof i2.ItAvatarDropdownItemComponent, typeof i3.ItAvatarDirective, typeof i4.ItAvatarExtraTextDirective, typeof i5.ItAvatarWrapperDirective, typeof i6.ItAvatarStatusDirective, typeof i7.ItAvatarPresenceDirective, typeof i1.ItAvatarListItemDirective]>;
|
|
8
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<ItAvatarModule>;
|
|
9
13
|
}
|
|
@@ -24,10 +24,13 @@ export declare class ItListItemComponent extends ItLinkComponent {
|
|
|
24
24
|
* @default false
|
|
25
25
|
*/
|
|
26
26
|
iconRight?: boolean;
|
|
27
|
+
private _avatar;
|
|
27
28
|
/**
|
|
28
29
|
* The avatar url
|
|
30
|
+
* @deprecated L'input 'avatar' è deprecato. Usa la documentazione del component Avatar per questo caso d'uso, facendo riferimento all'esempio Avatar con lista. Sarà rimosso nelle prossime versioni.
|
|
29
31
|
*/
|
|
30
|
-
avatar: URL | undefined;
|
|
32
|
+
get avatar(): URL | undefined;
|
|
33
|
+
set avatar(value: URL | undefined);
|
|
31
34
|
/**
|
|
32
35
|
* The thumb image url
|
|
33
36
|
*/
|
|
@@ -14,18 +14,18 @@ export declare class VideoPlayerConfigService {
|
|
|
14
14
|
lang: string;
|
|
15
15
|
src: string;
|
|
16
16
|
label: string;
|
|
17
|
-
default?: true
|
|
17
|
+
default?: true;
|
|
18
18
|
}[];
|
|
19
19
|
tech: string;
|
|
20
|
-
autoplay?: boolean | ("any" | "play" | "muted")
|
|
21
|
-
controls?: boolean
|
|
22
|
-
fluid?: boolean
|
|
23
|
-
loop?: boolean
|
|
24
|
-
muted?: boolean
|
|
25
|
-
poster?: string
|
|
20
|
+
autoplay?: boolean | ("any" | "play" | "muted");
|
|
21
|
+
controls?: boolean;
|
|
22
|
+
fluid?: boolean;
|
|
23
|
+
loop?: boolean;
|
|
24
|
+
muted?: boolean;
|
|
25
|
+
poster?: string;
|
|
26
26
|
sources: import("./video-player.model").Source[];
|
|
27
|
-
captions?: import("./video-player.model").Caption[]
|
|
28
|
-
chapters?: import("./video-player.model").Chapter[]
|
|
27
|
+
captions?: import("./video-player.model").Caption[];
|
|
28
|
+
chapters?: import("./video-player.model").Chapter[];
|
|
29
29
|
languages: {
|
|
30
30
|
[x: string]: import("./video-player-i18n.model").VideoJsTranslation;
|
|
31
31
|
};
|
|
@@ -48,16 +48,16 @@ export declare class VideoPlayerConfigService {
|
|
|
48
48
|
lang: string;
|
|
49
49
|
src: string;
|
|
50
50
|
label: string;
|
|
51
|
-
default?: true
|
|
51
|
+
default?: true;
|
|
52
52
|
}[];
|
|
53
|
-
autoplay?: boolean | ("any" | "play" | "muted")
|
|
54
|
-
controls?: boolean
|
|
55
|
-
fluid?: boolean
|
|
56
|
-
loop?: boolean
|
|
57
|
-
muted?: boolean
|
|
58
|
-
poster?: string
|
|
59
|
-
captions?: import("./video-player.model").Caption[]
|
|
60
|
-
chapters?: import("./video-player.model").Chapter[]
|
|
53
|
+
autoplay?: boolean | ("any" | "play" | "muted");
|
|
54
|
+
controls?: boolean;
|
|
55
|
+
fluid?: boolean;
|
|
56
|
+
loop?: boolean;
|
|
57
|
+
muted?: boolean;
|
|
58
|
+
poster?: string;
|
|
59
|
+
captions?: import("./video-player.model").Caption[];
|
|
60
|
+
chapters?: import("./video-player.model").Chapter[];
|
|
61
61
|
languages: {
|
|
62
62
|
[x: string]: import("./video-player-i18n.model").VideoJsTranslation;
|
|
63
63
|
};
|
|
@@ -20,18 +20,18 @@ declare const _default: {
|
|
|
20
20
|
reset: boolean;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
-
initFn: <
|
|
23
|
+
initFn: <T>(payload: SelectionState<T>) => (state: State<T>) => {
|
|
24
24
|
initialItems: {
|
|
25
|
-
source: TransferItem<
|
|
26
|
-
target: TransferItem<
|
|
25
|
+
source: TransferItem<T>[];
|
|
26
|
+
target: TransferItem<T>[];
|
|
27
27
|
};
|
|
28
28
|
current: {
|
|
29
|
-
source: TransferItem<
|
|
30
|
-
target: TransferItem<
|
|
29
|
+
source: TransferItem<T>[];
|
|
30
|
+
target: TransferItem<T>[];
|
|
31
31
|
};
|
|
32
32
|
selections: {
|
|
33
|
-
source: Set<TransferItem<
|
|
34
|
-
target: Set<TransferItem<
|
|
33
|
+
source: Set<TransferItem<T>>;
|
|
34
|
+
target: Set<TransferItem<T>>;
|
|
35
35
|
};
|
|
36
36
|
operationsEnabled: {
|
|
37
37
|
transfer: boolean;
|
|
@@ -39,65 +39,65 @@ declare const _default: {
|
|
|
39
39
|
reset: boolean;
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
|
-
transferFn: <
|
|
42
|
+
transferFn: <T>() => (state: State<T>) => {
|
|
43
43
|
current: {
|
|
44
|
-
source: TransferItem<
|
|
45
|
-
target: TransferItem<
|
|
44
|
+
source: TransferItem<T>[];
|
|
45
|
+
target: TransferItem<T>[];
|
|
46
46
|
};
|
|
47
47
|
selections: {
|
|
48
|
-
source: Set<TransferItem<
|
|
49
|
-
target: Set<TransferItem<
|
|
48
|
+
source: Set<TransferItem<T>>;
|
|
49
|
+
target: Set<TransferItem<T>>;
|
|
50
50
|
};
|
|
51
51
|
operationsEnabled: {
|
|
52
52
|
transfer: false;
|
|
53
53
|
reset: true;
|
|
54
54
|
backtransfer: boolean;
|
|
55
55
|
};
|
|
56
|
-
initialItems: SelectionState<
|
|
56
|
+
initialItems: SelectionState<T>;
|
|
57
57
|
};
|
|
58
|
-
backtransferFn: <
|
|
58
|
+
backtransferFn: <T>() => (state: State<T>) => {
|
|
59
59
|
current: {
|
|
60
|
-
target: TransferItem<
|
|
61
|
-
source: TransferItem<
|
|
60
|
+
target: TransferItem<T>[];
|
|
61
|
+
source: TransferItem<T>[];
|
|
62
62
|
};
|
|
63
63
|
selections: {
|
|
64
|
-
target: Set<TransferItem<
|
|
65
|
-
source: Set<TransferItem<
|
|
64
|
+
target: Set<TransferItem<T>>;
|
|
65
|
+
source: Set<TransferItem<T>>;
|
|
66
66
|
};
|
|
67
67
|
operationsEnabled: {
|
|
68
68
|
backtransfer: false;
|
|
69
69
|
reset: true;
|
|
70
70
|
transfer: boolean;
|
|
71
71
|
};
|
|
72
|
-
initialItems: SelectionState<
|
|
72
|
+
initialItems: SelectionState<T>;
|
|
73
73
|
};
|
|
74
|
-
resetFn: <
|
|
74
|
+
resetFn: <T>() => (state: State<T>) => {
|
|
75
75
|
current: {
|
|
76
|
-
source: TransferItem<
|
|
77
|
-
target: TransferItem<
|
|
76
|
+
source: TransferItem<T>[];
|
|
77
|
+
target: TransferItem<T>[];
|
|
78
78
|
};
|
|
79
79
|
operationsEnabled: {
|
|
80
80
|
reset: false;
|
|
81
81
|
transfer: boolean;
|
|
82
82
|
backtransfer: boolean;
|
|
83
83
|
};
|
|
84
|
-
initialItems: SelectionState<
|
|
84
|
+
initialItems: SelectionState<T>;
|
|
85
85
|
selections: {
|
|
86
|
-
source: Set<TransferItem<
|
|
87
|
-
target: Set<TransferItem<
|
|
86
|
+
source: Set<TransferItem<T>>;
|
|
87
|
+
target: Set<TransferItem<T>>;
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
|
-
selectAllSourceFn: <
|
|
90
|
+
selectAllSourceFn: <T>({ checked }: {
|
|
91
91
|
checked: boolean;
|
|
92
|
-
}) => (state: State<
|
|
93
|
-
selectAllTargetFn: <
|
|
92
|
+
}) => (state: State<T>) => State<T>;
|
|
93
|
+
selectAllTargetFn: <T>({ checked }: {
|
|
94
94
|
checked: boolean;
|
|
95
|
-
}) => (state: State<
|
|
96
|
-
selectionItemSourceFn: <
|
|
97
|
-
item: TransferItem<
|
|
98
|
-
}) => (state: State<
|
|
99
|
-
selectionItemTargetFn: <
|
|
100
|
-
item: TransferItem<
|
|
101
|
-
}) => (state: State<
|
|
95
|
+
}) => (state: State<T>) => State<T>;
|
|
96
|
+
selectionItemSourceFn: <T>({ item }: {
|
|
97
|
+
item: TransferItem<T>;
|
|
98
|
+
}) => (state: State<T>) => State<T>;
|
|
99
|
+
selectionItemTargetFn: <T>({ item }: {
|
|
100
|
+
item: TransferItem<T>;
|
|
101
|
+
}) => (state: State<T>) => State<T>;
|
|
102
102
|
};
|
|
103
103
|
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ItFooterComponent extends ItAbstractComponent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItFooterComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItFooterComponent, "it-footer", ["itFooter"], {}, {}, never, ["[header]", "[links]", "[contacts]", "[small-links]"], true, never>;
|
|
6
|
+
}
|
|
@@ -34,21 +34,22 @@ import * as i30 from "./components/navigation/back-button/back-button.component"
|
|
|
34
34
|
import * as i31 from "./components/navigation/back-to-top/back-to-top.component";
|
|
35
35
|
import * as i32 from "./components/navigation/breadcrumbs/breadcrumbs.module";
|
|
36
36
|
import * as i33 from "./components/navigation/header/header.component";
|
|
37
|
-
import * as i34 from "./components/navigation/
|
|
38
|
-
import * as i35 from "./components/navigation/
|
|
39
|
-
import * as i36 from "./components/navigation/
|
|
40
|
-
import * as i37 from "./components/navigation/
|
|
41
|
-
import * as i38 from "./components/navigation/
|
|
42
|
-
import * as i39 from "./components/
|
|
43
|
-
import * as i40 from "./components/utils/
|
|
44
|
-
import * as i41 from "./components/utils/
|
|
45
|
-
import * as i42 from "./
|
|
46
|
-
import * as i43 from "./pipes/
|
|
47
|
-
import * as i44 from "./pipes/
|
|
37
|
+
import * as i34 from "./components/navigation/footer/footer.component";
|
|
38
|
+
import * as i35 from "./components/navigation/navbar/navbar.module";
|
|
39
|
+
import * as i36 from "./components/navigation/sidebar/sidebar.component";
|
|
40
|
+
import * as i37 from "./components/navigation/megamenu/megamenu.component";
|
|
41
|
+
import * as i38 from "./components/navigation/skiplink/skiplink.module";
|
|
42
|
+
import * as i39 from "./components/navigation/navscroll/navscroll.component";
|
|
43
|
+
import * as i40 from "./components/utils/error-page/error-page.component";
|
|
44
|
+
import * as i41 from "./components/utils/icon/icon.component";
|
|
45
|
+
import * as i42 from "./components/utils/language-switcher/language-switcher.component";
|
|
46
|
+
import * as i43 from "./pipes/date-ago.pipe";
|
|
47
|
+
import * as i44 from "./pipes/duration.pipe";
|
|
48
|
+
import * as i45 from "./pipes/mark-matching-text.pipe";
|
|
48
49
|
export declare class DesignAngularKitModule {
|
|
49
50
|
static forRoot(config?: DesignAngularKitConfig): ModuleWithProviders<DesignAngularKitModule>;
|
|
50
51
|
static forChild(): ModuleWithProviders<DesignAngularKitModule>;
|
|
51
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesignAngularKitModule, never>;
|
|
52
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DesignAngularKitModule, never, [typeof i1.ItAccordionComponent, typeof i2.ItAlertComponent, typeof i3.ItAvatarModule, typeof i4.ItBadgeDirective, typeof i5.ItButtonDirective, typeof i6.ItCalloutComponent, typeof i7.ItCardComponent, typeof i8.ItCarouselModule, typeof i9.ItChipComponent, typeof i10.ItCollapseComponent, typeof i11.ItDimmerModule, typeof i12.ItDropdownModule, typeof i13.ItForwardDirective, typeof i14.ItLinkComponent, typeof i15.ItListModule, typeof i16.ItModalComponent, typeof i17.ItNotificationsComponent, typeof i18.ItPaginationComponent, typeof i19.ItPopoverDirective, typeof i20.ItProgressBarComponent, typeof i21.ItProgressButtonComponent, typeof i22.ItSpinnerComponent, typeof i23.ItSteppersModule, typeof i24.ItTabModule, typeof i25.ItTableModule, typeof i26.ItTooltipDirective, typeof i27.ItTimelineModule, typeof i28.ItVideoPlayerComponent, typeof i29.ItFormModule, typeof i30.ItBackButtonComponent, typeof i31.ItBackToTopComponent, typeof i32.ItBreadcrumbsModule, typeof i33.ItHeaderComponent, typeof i34.
|
|
53
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DesignAngularKitModule, never, [typeof i1.ItAccordionComponent, typeof i2.ItAlertComponent, typeof i3.ItAvatarModule, typeof i4.ItBadgeDirective, typeof i5.ItButtonDirective, typeof i6.ItCalloutComponent, typeof i7.ItCardComponent, typeof i8.ItCarouselModule, typeof i9.ItChipComponent, typeof i10.ItCollapseComponent, typeof i11.ItDimmerModule, typeof i12.ItDropdownModule, typeof i13.ItForwardDirective, typeof i14.ItLinkComponent, typeof i15.ItListModule, typeof i16.ItModalComponent, typeof i17.ItNotificationsComponent, typeof i18.ItPaginationComponent, typeof i19.ItPopoverDirective, typeof i20.ItProgressBarComponent, typeof i21.ItProgressButtonComponent, typeof i22.ItSpinnerComponent, typeof i23.ItSteppersModule, typeof i24.ItTabModule, typeof i25.ItTableModule, typeof i26.ItTooltipDirective, typeof i27.ItTimelineModule, typeof i28.ItVideoPlayerComponent, typeof i29.ItFormModule, typeof i30.ItBackButtonComponent, typeof i31.ItBackToTopComponent, typeof i32.ItBreadcrumbsModule, typeof i33.ItHeaderComponent, typeof i34.ItFooterComponent, typeof i35.ItNavBarModule, typeof i36.ItSidebarComponent, typeof i37.ItMegamenuComponent, typeof i38.ItSkiplinkModule, typeof i39.ItNavscrollComponent, typeof i40.ItErrorPageComponent, typeof i41.ItIconComponent, typeof i42.ItLanguageSwitcherComponent, typeof i43.ItDateAgoPipe, typeof i44.ItDurationPipe, typeof i45.ItMarkMatchingTextPipe], [typeof i1.ItAccordionComponent, typeof i2.ItAlertComponent, typeof i3.ItAvatarModule, typeof i4.ItBadgeDirective, typeof i5.ItButtonDirective, typeof i6.ItCalloutComponent, typeof i7.ItCardComponent, typeof i8.ItCarouselModule, typeof i9.ItChipComponent, typeof i10.ItCollapseComponent, typeof i11.ItDimmerModule, typeof i12.ItDropdownModule, typeof i13.ItForwardDirective, typeof i14.ItLinkComponent, typeof i15.ItListModule, typeof i16.ItModalComponent, typeof i17.ItNotificationsComponent, typeof i18.ItPaginationComponent, typeof i19.ItPopoverDirective, typeof i20.ItProgressBarComponent, typeof i21.ItProgressButtonComponent, typeof i22.ItSpinnerComponent, typeof i23.ItSteppersModule, typeof i24.ItTabModule, typeof i25.ItTableModule, typeof i26.ItTooltipDirective, typeof i27.ItTimelineModule, typeof i28.ItVideoPlayerComponent, typeof i29.ItFormModule, typeof i30.ItBackButtonComponent, typeof i31.ItBackToTopComponent, typeof i32.ItBreadcrumbsModule, typeof i33.ItHeaderComponent, typeof i34.ItFooterComponent, typeof i35.ItNavBarModule, typeof i36.ItSidebarComponent, typeof i37.ItMegamenuComponent, typeof i38.ItSkiplinkModule, typeof i39.ItNavscrollComponent, typeof i40.ItErrorPageComponent, typeof i41.ItIconComponent, typeof i42.ItLanguageSwitcherComponent, typeof i43.ItDateAgoPipe, typeof i44.ItDurationPipe, typeof i45.ItMarkMatchingTextPipe]>;
|
|
53
54
|
static ɵinj: i0.ɵɵInjectorDeclaration<DesignAngularKitModule>;
|
|
54
55
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "design-angular-kit",
|
|
3
3
|
"description": "Un toolkit Angular conforme alle linee guida di design per i servizi web della PA",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.5.0",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"angular",
|
|
@@ -48,16 +48,19 @@
|
|
|
48
48
|
"tslib": "^2.6.3"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@angular/animations": "^
|
|
52
|
-
"@angular/common": "^
|
|
53
|
-
"@angular/core": "^
|
|
54
|
-
"@angular/platform-browser": "^
|
|
55
|
-
"@angular/router": "^
|
|
56
|
-
"@ngx-translate/core": "^
|
|
57
|
-
"@ngx-translate/http-loader": "^
|
|
51
|
+
"@angular/animations": "^19.0.0",
|
|
52
|
+
"@angular/common": "^19.0.0",
|
|
53
|
+
"@angular/core": "^19.0.0",
|
|
54
|
+
"@angular/platform-browser": "^19.0.0",
|
|
55
|
+
"@angular/router": "^19.0.0",
|
|
56
|
+
"@ngx-translate/core": "^16.0.0",
|
|
57
|
+
"@ngx-translate/http-loader": "^16.0.0",
|
|
58
58
|
"bootstrap-italia": "^2.14.0"
|
|
59
59
|
},
|
|
60
60
|
"sideEffects": false,
|
|
61
|
+
"overrides": {
|
|
62
|
+
"rxjs": "^7.8.2"
|
|
63
|
+
},
|
|
61
64
|
"module": "fesm2022/design-angular-kit.mjs",
|
|
62
65
|
"typings": "index.d.ts",
|
|
63
66
|
"exports": {
|
|
@@ -66,8 +69,6 @@
|
|
|
66
69
|
},
|
|
67
70
|
".": {
|
|
68
71
|
"types": "./index.d.ts",
|
|
69
|
-
"esm2022": "./esm2022/design-angular-kit.mjs",
|
|
70
|
-
"esm": "./esm2022/design-angular-kit.mjs",
|
|
71
72
|
"default": "./fesm2022/design-angular-kit.mjs"
|
|
72
73
|
}
|
|
73
74
|
}
|
package/public_api.d.ts
CHANGED
|
@@ -3,7 +3,11 @@ export * from './lib/provide-design-angular-kit';
|
|
|
3
3
|
export * from './lib/components/core/accordion/accordion.component';
|
|
4
4
|
export * from './lib/components/core/alert/alert.component';
|
|
5
5
|
export * from './lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component';
|
|
6
|
+
export * from './lib/components/core/avatar/avatar-extra-text.directive';
|
|
6
7
|
export * from './lib/components/core/avatar/avatar-group/avatar-group.component';
|
|
8
|
+
export * from './lib/components/core/avatar/avatar-presence.directive';
|
|
9
|
+
export * from './lib/components/core/avatar/avatar-status.directive';
|
|
10
|
+
export * from './lib/components/core/avatar/avatar-wrapper.directive';
|
|
7
11
|
export * from './lib/components/core/avatar/avatar.directive';
|
|
8
12
|
export * from './lib/components/core/avatar/avatar.module';
|
|
9
13
|
export * from './lib/components/core/badge/badge.directive';
|
|
@@ -51,15 +55,15 @@ export * from './lib/components/core/video-player/video-player.component';
|
|
|
51
55
|
export * from './lib/components/core/video-player/video-player.model';
|
|
52
56
|
export * from './lib/components/core/video-player/video-player.module';
|
|
53
57
|
export * from './lib/components/core/tooltip/tooltip.directive';
|
|
54
|
-
export * from './lib/components/form/
|
|
58
|
+
export * from './lib/components/form/autocomplete/autocomplete.component';
|
|
55
59
|
export * from './lib/components/form/checkbox/checkbox.component';
|
|
56
60
|
export * from './lib/components/form/form.module';
|
|
57
61
|
export * from './lib/components/form/input/input.component';
|
|
58
|
-
export * from './lib/components/form/autocomplete/autocomplete.component';
|
|
59
62
|
export * from './lib/components/form/password-input/password-input.component';
|
|
60
63
|
export * from './lib/components/form/radio-button/radio-button.component';
|
|
61
64
|
export * from './lib/components/form/range/range.component';
|
|
62
65
|
export * from './lib/components/form/rating/rating.component';
|
|
66
|
+
export * from './lib/components/form/search/search.component';
|
|
63
67
|
export * from './lib/components/form/select/select.component';
|
|
64
68
|
export * from './lib/components/form/textarea/textarea.component';
|
|
65
69
|
export * from './lib/components/form/transfer/transfer.component';
|
|
@@ -72,6 +76,7 @@ export * from './lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrum
|
|
|
72
76
|
export * from './lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component';
|
|
73
77
|
export * from './lib/components/navigation/breadcrumbs/breadcrumbs.module';
|
|
74
78
|
export * from './lib/components/navigation/header/header.component';
|
|
79
|
+
export * from './lib/components/navigation/footer/footer.component';
|
|
75
80
|
export * from './lib/components/navigation/megamenu/megamenu.component';
|
|
76
81
|
export * from './lib/components/navigation/navbar/navbar-item/navbar-item.component';
|
|
77
82
|
export * from './lib/components/navigation/navbar/navbar.module';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = default_1;
|
|
3
4
|
const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
4
5
|
const utils_1 = require("./utils");
|
|
5
6
|
const versions_helper_1 = require("./versions-helper");
|
|
@@ -25,5 +26,4 @@ function default_1(options) {
|
|
|
25
26
|
context.addTask(new tasks_1.RunSchematicTask('ng-add-setup-project', options), [installTaskId]);
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
|
-
exports.default = default_1;
|
|
29
29
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../projects/design-angular-kit/schematics/ng-add/index.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../projects/design-angular-kit/schematics/ng-add/index.ts"],"names":[],"mappings":";;AAUA,4BAyBC;AAlCD,4DAA4F;AAG5F,mCAAoG;AACpG,uDAAsD;AAEtD,MAAM,+BAA+B,GAAG,oBAAoB,CAAC;AAC7D,MAAM,iBAAiB,GAAG,QAAQ,CAAC;AAEnC,mBAAyB,OAAe;IACtC,OAAO,CAAC,IAAU,EAAE,OAAyB,EAAE,EAAE;QAC/C,qCAAqC;QACrC,+GAA+G;QAC/G,MAAM,gBAAgB,GAAG,IAAA,wCAAgC,EAAC,IAAI,EAAE,eAAe,CAAC,CAAC;QACjF,MAAM,4BAA4B,GAAG,IAAA,wCAAgC,EAAC,IAAI,EAAE,+BAA+B,CAAC,CAAC;QAC7G,MAAM,wBAAwB,GAAG,gBAAgB,IAAI,iBAAiB,CAAC;QAEvE,MAAM,EAAE,KAAK,EAAE,mBAAmB,EAAE,GAAG,IAAA,sBAAc,EAAC,wBAAwB,CAAC,CAAC;QAEhF,MAAM,8BAA8B,GAAG,IAAA,mCAAiB,EAAC,EAAE,mBAAmB,EAAE,CAAC,CAAC;QAElF,2FAA2F;QAC3F,+FAA+F;QAC/F,IAAI,4BAA4B,KAAK,IAAI,EAAE,CAAC;YAC1C,IAAA,+BAAuB,EAAC,IAAI,EAAE,+BAA+B,EAAE,8BAA8B,CAAC,CAAC;QACjG,CAAC;QAED,IAAA,+BAAuB,EAAC,IAAI,EAAE,cAAc,EAAE,wBAAwB,CAAC,CAAC;QACxE,IAAA,+BAAuB,EAAC,IAAI,EAAE,qBAAqB,EAAE,wBAAwB,CAAC,CAAC;QAE/E,MAAM,aAAa,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;QAEpE,OAAO,CAAC,OAAO,CAAC,IAAI,wBAAgB,CAAC,sBAAsB,EAAE,OAAO,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;IAC1F,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.addAnimations =
|
|
3
|
+
exports.addAnimations = addAnimations;
|
|
4
4
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
5
|
function addAnimations() {
|
|
6
6
|
//this dependency should be provided at application level instead of lib level. ref: provideDesignAngularKit
|
|
7
7
|
//provideAnimationsAsync(),
|
|
8
8
|
return (host, context) => (0, schematics_1.callRule)((0, schematics_1.noop)(), host, context);
|
|
9
9
|
}
|
|
10
|
-
exports.addAnimations = addAnimations;
|
|
11
10
|
//# sourceMappingURL=add-animations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-animations.js","sourceRoot":"","sources":["../../../../../../projects/design-angular-kit/schematics/ng-add/rules/setup-project/add-animations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-animations.js","sourceRoot":"","sources":["../../../../../../projects/design-angular-kit/schematics/ng-add/rules/setup-project/add-animations.ts"],"names":[],"mappings":";;AAEA,sCAIC;AAND,2DAA0F;AAE1F,SAAgB,aAAa;IAC3B,4GAA4G;IAC5G,2BAA2B;IAC3B,OAAO,CAAC,IAAU,EAAE,OAAyB,EAAE,EAAE,CAAC,IAAA,qBAAQ,EAAC,IAAA,iBAAI,GAAE,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;AACpF,CAAC"}
|
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.addAssets =
|
|
12
|
+
exports.addAssets = addAssets;
|
|
13
13
|
const utility_1 = require("@schematics/angular/utility");
|
|
14
14
|
const angular_json_helper_1 = require("./angular-json-helper");
|
|
15
15
|
const exceptions_1 = require("./exceptions");
|
|
@@ -30,7 +30,6 @@ function addAssets(options) {
|
|
|
30
30
|
yield (0, utility_1.writeWorkspace)(host, workspace);
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
exports.addAssets = addAssets;
|
|
34
33
|
function addAssetsToAngularJson(project) {
|
|
35
34
|
const targetOptions = (0, angular_json_helper_1.getProjectTargetOptions)(project, 'build');
|
|
36
35
|
const assets = targetOptions.assets;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-assets.js","sourceRoot":"","sources":["../../../../../../projects/design-angular-kit/schematics/ng-add/rules/setup-project/add-assets.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-assets.js","sourceRoot":"","sources":["../../../../../../projects/design-angular-kit/schematics/ng-add/rules/setup-project/add-assets.ts"],"names":[],"mappings":";;;;;;;;;;;AAcA,8BAaC;AAzBD,yDAA4E;AAG5E,+DAAgE;AAChE,6CAAkD;AAElD,MAAM,aAAa,GAAG;IACpB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,kCAAkC;IACzC,MAAM,EAAE,oBAAoB;CAC7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,CAAC,CAAC;IAC7B,CAAC;AACH,CAAC"}
|
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.addDesignAngularKit =
|
|
12
|
+
exports.addDesignAngularKit = addDesignAngularKit;
|
|
13
13
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
14
14
|
const schematics_2 = require("@angular/cdk/schematics");
|
|
15
15
|
const utility_1 = require("@schematics/angular/utility");
|
|
@@ -39,5 +39,4 @@ function addDesignAngularKit(options) {
|
|
|
39
39
|
})));
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
-
exports.addDesignAngularKit = addDesignAngularKit;
|
|
43
42
|
//# sourceMappingURL=add-design-angular-kit.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-design-angular-kit.js","sourceRoot":"","sources":["../../../../../../projects/design-angular-kit/schematics/ng-add/rules/setup-project/add-design-angular-kit.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-design-angular-kit.js","sourceRoot":"","sources":["../../../../../../projects/design-angular-kit/schematics/ng-add/rules/setup-project/add-design-angular-kit.ts"],"names":[],"mappings":";;;;;;;;;;;AAQA,kDA+BC;AAvCD,2DAAoF;AACpF,wDAA0D;AAC1D,yDAA4F;AAC5F,sEAA8E;AAC9E,+BAA2C;AAE3C,6CAAuE;AAEvE,SAAgB,mBAAmB,CAAC,OAAe;IACjD,OAAO,CAAO,IAAU,EAAE,OAAyB,EAAE,EAAE;QACrD,MAAM,SAAS,GAAG,MAAM,IAAA,uBAAa,EAAC,IAAI,CAAC,CAAC;QAC5C,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,IAAK,SAAS,CAAC,UAAU,CAAC,cAAyB,CAAC;QAEvF,6BAA6B;QAC7B,MAAM,OAAO,GAAG,SAAS,CAAC,QAAQ,CAA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
|
3
|
+
exports.addHttpClient = addHttpClient;
|
|
4
4
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
5
|
function addHttpClient() {
|
|
6
6
|
//this dependency should be provided at application level instead of lib level. ref: provideDesignAngularKit
|
|
7
7
|
//provideHttpClient(),
|
|
8
8
|
return (host, context) => (0, schematics_1.callRule)((0, schematics_1.noop)(), host, context);
|
|
9
9
|
}
|
|
10
|
-
exports.addHttpClient = addHttpClient;
|
|
11
10
|
//# sourceMappingURL=add-http-client.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-http-client.js","sourceRoot":"","sources":["../../../../../../projects/design-angular-kit/schematics/ng-add/rules/setup-project/add-http-client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-http-client.js","sourceRoot":"","sources":["../../../../../../projects/design-angular-kit/schematics/ng-add/rules/setup-project/add-http-client.ts"],"names":[],"mappings":";;AAEA,sCAIC;AAND,2DAA0F;AAE1F,SAAgB,aAAa;IAC3B,4GAA4G;IAC5G,sBAAsB;IACtB,OAAO,CAAC,IAAU,EAAE,OAAyB,EAAE,EAAE,CAAC,IAAA,qBAAQ,EAAC,IAAA,iBAAI,GAAE,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;AACpF,CAAC"}
|
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.addImportToStyleFile =
|
|
12
|
+
exports.addImportToStyleFile = addImportToStyleFile;
|
|
13
13
|
const core_1 = require("@angular-devkit/core");
|
|
14
14
|
const utility_1 = require("@schematics/angular/utility");
|
|
15
15
|
const path = require("path");
|
|
@@ -60,7 +60,6 @@ function addImportToStyleFile(options) {
|
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
|
-
exports.addImportToStyleFile = addImportToStyleFile;
|
|
64
63
|
function addBootstrapItaliaToStylesFile(styleFilePath, styleFilePatch) {
|
|
65
64
|
return (host) => __awaiter(this, void 0, void 0, function* () {
|
|
66
65
|
const styleContent = host.read(styleFilePath).toString('utf-8');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-import-to-style-file.js","sourceRoot":"","sources":["../../../../../../projects/design-angular-kit/schematics/ng-add/rules/setup-project/add-import-to-style-file.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-import-to-style-file.js","sourceRoot":"","sources":["../../../../../../projects/design-angular-kit/schematics/ng-add/rules/setup-project/add-import-to-style-file.ts"],"names":[],"mappings":";;;;;;;;;;;AA8BA,oDA4BC;AA1DD,+CAAoF;AAGpF,yDAA4E;AAC5E,6BAA6B;AAG7B,+DAAgE;AAChE,6CAAkD;AAElD,MAAM,6BAA6B,GAAG,iEAAiE,CAAC;AACxG,MAAM,oCAAoC,GAA2B;IACnE,OAAO,EAAE;;;GAGR;IACD,OAAO,EAAE;;;GAGR;CACF,CAAC;AAEF;;;;;;;GAOG;AACH,SAAgB,oBAAoB,CAAC,OAAe;IAClD,OAAO,CAAO,IAAU,EAAE,OAAyB,EAAE,EAAE;QACrD,MAAM,SAAS,GAAG,MAAM,IAAA,uBAAa,EAAC,IAAI,CAAC,CAAC;QAE5C,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,IAAI,SAAS,CAAC,UAAU,CAAC,cAAe,CAAC,QAAQ,EAAE,CAAC;QACvF,MAAM,OAAO,GAAG,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QACpD,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,MAAM,IAAI,+BAAkB,CAAC,WAAW,CAAC,CAAC;QAC5C,CAAC;QAED,MAAM,aAAa,GAAG,mBAAmB,CAAC,OAAc,CAAC,IAAI,EAAE,CAAC;QAChE,MAAM,kBAAkB,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC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;YACzB,OAAO,IAAA,gBAAS,EAAC,oBAAoB,CAAC,CAAC;QACzC,CAAC;QAED,2FAA2F;QAC3F,2FAA2F;QAC3F,kBAAkB;QAClB,MAAM,iBAAiB,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAE7H,IAAI,iBAAiB,EAAE,CAAC;YACtB,OAAO,IAAA,gBAAS,EAAC,iBAAiB,CAAC,CAAC;QACtC,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.addLocalisation =
|
|
12
|
+
exports.addLocalisation = addLocalisation;
|
|
13
13
|
const utility_1 = require("@schematics/angular/utility");
|
|
14
14
|
const angular_json_helper_1 = require("./angular-json-helper");
|
|
15
15
|
const exceptions_1 = require("./exceptions");
|
|
@@ -30,7 +30,6 @@ function addLocalisation(options) {
|
|
|
30
30
|
yield (0, utility_1.writeWorkspace)(host, workspace);
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
exports.addLocalisation = addLocalisation;
|
|
34
33
|
function addLocalisationToAngularJson(project) {
|
|
35
34
|
const targetOptions = (0, angular_json_helper_1.getProjectTargetOptions)(project, 'build');
|
|
36
35
|
const assets = targetOptions.assets;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-localisation.js","sourceRoot":"","sources":["../../../../../../projects/design-angular-kit/schematics/ng-add/rules/setup-project/add-localisation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-localisation.js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C,CAAC,CAAE,CAAiB,CAAC,OAAO,CAAC,CAAC,CAAkB,CAAC;QAEnH,KAAK,MAAM,CAAC,EAAE,KAAK,CAAC,IAAI,cAAc,CAAC,OAAO,EAAE,EAAE,CAAC;YACjD,IAAI,KAAK,KAAK,mBAAmB,CAAC,KAAK,EAAE,CAAC;gBACxC,OAAO;YACT,CAAC;QACH,CAAC;QACD,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;IACnC,CAAC;AACH,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getProjectTargetOptions =
|
|
3
|
+
exports.getProjectTargetOptions = getProjectTargetOptions;
|
|
4
4
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
5
|
function getProjectTargetOptions(project, buildTarget) {
|
|
6
6
|
const buildTargetObject = project.targets.get(buildTarget);
|
|
@@ -9,5 +9,4 @@ function getProjectTargetOptions(project, buildTarget) {
|
|
|
9
9
|
}
|
|
10
10
|
throw new schematics_1.SchematicsException(`Cannot determine project target configuration for: ${buildTarget}.`);
|
|
11
11
|
}
|
|
12
|
-
exports.getProjectTargetOptions = getProjectTargetOptions;
|
|
13
12
|
//# sourceMappingURL=angular-json-helper.js.map
|