design-angular-kit 1.0.0-9 → 1.0.0-prerelease.2
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/README.md +212 -64
- package/assets/i18n/en.json +81 -12
- package/assets/i18n/it.json +80 -11
- package/esm2022/lib/abstracts/abstract-form.component.mjs +187 -0
- package/esm2022/lib/abstracts/abstract.component.mjs +45 -0
- package/esm2022/lib/components/core/accordion/accordion.component.mjs +39 -0
- package/esm2022/lib/components/core/alert/alert.component.mjs +71 -0
- package/esm2022/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.mjs +43 -0
- package/esm2022/lib/components/core/avatar/avatar-group/avatar-group.component.mjs +38 -0
- package/esm2022/lib/components/core/avatar/avatar.directive.mjs +78 -0
- package/esm2022/lib/components/core/avatar/avatar.module.mjs +33 -0
- package/esm2022/lib/components/core/badge/badge.directive.mjs +39 -0
- package/esm2022/lib/components/core/button/button.directive.mjs +86 -0
- package/esm2022/lib/components/core/callout/callout.component.mjs +57 -0
- package/esm2022/lib/components/core/card/card.component.mjs +59 -0
- package/esm2022/lib/components/core/carousel/carousel/carousel.component.mjs +84 -0
- package/esm2022/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +19 -0
- package/esm2022/lib/components/core/carousel/carousel.module.mjs +18 -0
- package/esm2022/lib/components/core/chip/chip.component.mjs +136 -0
- package/esm2022/lib/components/core/collapse/collapse.component.mjs +104 -0
- package/esm2022/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +24 -0
- package/esm2022/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +11 -0
- package/esm2022/lib/components/core/dimmer/dimmer.component.mjs +55 -0
- package/esm2022/lib/components/core/dimmer/dimmer.module.mjs +19 -0
- package/esm2022/lib/components/core/dropdown/dropdown/dropdown.component.mjs +144 -0
- package/esm2022/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +61 -0
- package/esm2022/lib/components/core/dropdown/dropdown.module.mjs +18 -0
- package/esm2022/lib/components/core/forward/forward.directive.mjs +53 -0
- package/esm2022/lib/components/core/link/link.component.mjs +42 -0
- package/esm2022/lib/components/core/list/list/list.component.mjs +22 -0
- package/esm2022/lib/components/core/list/list-item/list-item.component.mjs +51 -0
- package/esm2022/lib/components/core/list/list.module.mjs +18 -0
- package/esm2022/lib/components/core/modal/modal.component.mjs +194 -0
- package/esm2022/lib/components/core/notifications/notifications.component.mjs +111 -0
- package/esm2022/lib/components/core/pagination/pagination.component.mjs +130 -0
- package/esm2022/lib/components/core/popover/popover.directive.mjs +176 -0
- package/esm2022/lib/components/core/progress-bar/progress-bar.component.mjs +34 -0
- package/esm2022/lib/components/core/progress-button/progress-button.component.mjs +25 -0
- package/esm2022/lib/components/core/spinner/spinner.component.mjs +30 -0
- package/esm2022/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +116 -0
- package/esm2022/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +20 -0
- package/esm2022/lib/components/core/steppers/steppers.module.mjs +18 -0
- package/esm2022/lib/components/core/tab/tab-container/tab-container.component.mjs +63 -0
- package/esm2022/lib/components/core/tab/tab-item/tab-item.component.mjs +39 -0
- package/esm2022/lib/components/core/tab/tab.module.mjs +18 -0
- package/esm2022/lib/components/core/table/sort/sort-header/sort-header.component.mjs +134 -0
- package/esm2022/lib/components/core/table/sort/sort.directive.mjs +123 -0
- package/esm2022/lib/components/core/table/table.component.mjs +45 -0
- package/esm2022/lib/components/core/table/table.module.mjs +19 -0
- package/esm2022/lib/components/core/tooltip/tooltip.directive.mjs +143 -0
- package/esm2022/lib/components/form/autocomplete/autocomplete.component.mjs +106 -0
- package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +48 -0
- package/esm2022/lib/components/form/form.module.mjs +59 -0
- package/esm2022/lib/components/form/input/input.component.mjs +187 -0
- package/esm2022/lib/components/form/password-input/password-input.component.mjs +149 -0
- package/esm2022/lib/components/form/radio-button/radio-button.component.mjs +60 -0
- package/esm2022/lib/components/form/range/range.component.mjs +64 -0
- package/esm2022/lib/components/form/rating/rating.component.mjs +50 -0
- package/esm2022/lib/components/form/select/select.component.mjs +70 -0
- package/esm2022/lib/components/form/textarea/textarea.component.mjs +55 -0
- package/esm2022/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +142 -0
- package/esm2022/lib/components/form/upload-file-list/upload-file-list.component.mjs +107 -0
- package/esm2022/lib/components/navigation/back-button/back-button.component.mjs +67 -0
- package/esm2022/lib/components/navigation/back-to-top/back-to-top.component.mjs +58 -0
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +51 -0
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +21 -0
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumbs.module.mjs +18 -0
- package/esm2022/lib/components/navigation/header/header.component.mjs +87 -0
- package/esm2022/lib/components/navigation/megamenu/megamenu.component.mjs +27 -0
- package/esm2022/lib/components/navigation/navbar/navbar/navbar.component.mjs +40 -0
- package/esm2022/lib/components/navigation/navbar/navbar-item/navbar-item.component.mjs +11 -0
- package/esm2022/lib/components/navigation/navbar/navbar.module.mjs +18 -0
- package/esm2022/lib/components/utils/error-page/error-page.component.mjs +74 -0
- package/esm2022/lib/components/utils/icon/icon.component.mjs +58 -0
- package/esm2022/lib/components/utils/language-switcher/language-switcher.component.mjs +50 -0
- package/esm2022/lib/design-angular-kit.module.mjs +213 -0
- package/esm2022/lib/enums/colors.enums.mjs +12 -0
- package/esm2022/lib/enums/sizes.enum.mjs +9 -0
- package/esm2022/lib/interfaces/core.mjs +16 -0
- package/esm2022/lib/interfaces/design-angular-kit-config.mjs +7 -0
- package/esm2022/lib/interfaces/form.mjs +2 -0
- package/esm2022/lib/interfaces/icon.mjs +165 -0
- package/esm2022/lib/interfaces/sortable-table.mjs +6 -0
- package/esm2022/lib/pipes/date-ago.pipe.mjs +56 -0
- package/esm2022/lib/pipes/duration.pipe.mjs +110 -0
- package/esm2022/lib/pipes/mark-matching-text.pipe.mjs +48 -0
- package/esm2022/lib/provide-design-angular-kit.mjs +61 -0
- package/esm2022/lib/services/notification/notification.service.mjs +120 -0
- package/esm2022/lib/utils/coercion.mjs +18 -0
- package/esm2022/lib/utils/date-utils.mjs +160 -0
- package/esm2022/lib/utils/file-utils.mjs +73 -0
- package/esm2022/lib/utils/regex.mjs +31 -0
- package/esm2022/lib/validators/it-validators.mjs +153 -0
- package/esm2022/public_api.mjs +99 -0
- package/fesm2022/design-angular-kit.mjs +5556 -0
- package/fesm2022/design-angular-kit.mjs.map +1 -0
- package/lib/abstracts/{abstract-form-component.d.ts → abstract-form.component.d.ts} +12 -14
- package/lib/abstracts/abstract.component.d.ts +18 -8
- package/lib/components/core/accordion/accordion.component.d.ts +11 -5
- package/lib/components/core/alert/alert.component.d.ts +15 -10
- package/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.d.ts +29 -0
- package/lib/components/core/avatar/avatar-group/avatar-group.component.d.ts +13 -0
- package/lib/components/core/avatar/avatar.directive.d.ts +33 -0
- package/lib/components/core/avatar/avatar.module.d.ts +9 -0
- package/lib/components/core/badge/badge.directive.d.ts +14 -7
- package/lib/components/core/button/button.directive.d.ts +25 -15
- package/lib/components/core/callout/callout.component.d.ts +18 -20
- package/lib/components/core/card/card.component.d.ts +46 -18
- package/lib/components/core/carousel/carousel/carousel.component.d.ts +34 -15
- package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +8 -3
- package/lib/components/core/carousel/carousel.module.d.ts +8 -0
- package/lib/components/core/chip/chip.component.d.ts +29 -15
- package/lib/components/core/collapse/collapse.component.d.ts +22 -15
- package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +3 -3
- package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +3 -3
- package/lib/components/core/dimmer/dimmer.component.d.ts +6 -6
- package/lib/components/core/dimmer/dimmer.module.d.ts +9 -0
- package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +30 -17
- package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +15 -12
- package/lib/components/core/dropdown/dropdown.module.d.ts +8 -0
- package/lib/components/core/forward/forward.directive.d.ts +3 -3
- package/lib/components/core/link/link.component.d.ts +14 -10
- package/lib/components/core/list/list/list.component.d.ts +20 -6
- package/lib/components/core/list/list-item/list-item.component.d.ts +23 -9
- package/lib/components/core/list/list.module.d.ts +8 -0
- package/lib/components/core/modal/modal.component.d.ts +89 -13
- package/lib/components/core/notifications/notifications.component.d.ts +9 -8
- package/lib/components/core/pagination/pagination.component.d.ts +71 -10
- package/lib/components/core/popover/popover.directive.d.ts +15 -14
- package/lib/components/core/progress-bar/progress-bar.component.d.ts +11 -8
- package/lib/components/core/progress-button/progress-button.component.d.ts +5 -6
- package/lib/components/core/spinner/spinner.component.d.ts +13 -10
- package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +55 -27
- package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +5 -4
- package/lib/components/core/steppers/steppers.module.d.ts +8 -0
- package/lib/components/core/tab/tab-container/tab-container.component.d.ts +15 -12
- package/lib/components/core/tab/tab-item/tab-item.component.d.ts +14 -10
- package/lib/components/core/tab/tab.module.d.ts +8 -0
- package/lib/components/core/table/sort/sort-header/sort-header.component.d.ts +72 -0
- package/lib/components/core/table/sort/sort.directive.d.ts +53 -0
- package/lib/components/core/table/table.component.d.ts +26 -20
- package/lib/components/core/table/table.module.d.ts +9 -0
- package/lib/components/core/tooltip/tooltip.directive.d.ts +12 -11
- package/lib/components/form/autocomplete/autocomplete.component.d.ts +55 -0
- package/lib/components/form/checkbox/checkbox.component.d.ts +23 -12
- package/lib/components/form/form.module.d.ts +17 -0
- package/lib/components/form/input/input.component.d.ts +42 -43
- package/lib/components/form/password-input/password-input.component.d.ts +35 -10
- package/lib/components/form/radio-button/radio-button.component.d.ts +20 -11
- package/lib/components/form/range/range.component.d.ts +42 -0
- package/lib/components/form/rating/rating.component.d.ts +24 -0
- package/lib/components/form/select/select.component.d.ts +12 -6
- package/lib/components/form/textarea/textarea.component.d.ts +15 -5
- package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +18 -12
- package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +14 -11
- package/lib/components/navigation/back-button/back-button.component.d.ts +8 -8
- package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +15 -16
- package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +12 -14
- package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +9 -8
- package/lib/components/navigation/breadcrumbs/breadcrumbs.module.d.ts +8 -0
- package/lib/components/navigation/header/header.component.d.ts +28 -25
- package/lib/components/navigation/megamenu/megamenu.component.d.ts +22 -0
- package/lib/components/navigation/navbar/navbar/navbar.component.d.ts +16 -0
- package/lib/components/navigation/navbar/navbar-item/navbar-item.component.d.ts +5 -0
- package/lib/components/navigation/navbar/navbar.module.d.ts +8 -0
- package/lib/components/utils/error-page/error-page.component.d.ts +44 -0
- package/lib/components/utils/icon/icon.component.d.ts +25 -17
- package/lib/components/utils/language-switcher/language-switcher.component.d.ts +9 -5
- package/lib/design-angular-kit.module.d.ts +44 -7
- package/lib/enums/colors.enums.d.ts +10 -0
- package/lib/enums/sizes.enum.d.ts +7 -0
- package/lib/interfaces/core.d.ts +16 -15
- package/lib/interfaces/design-angular-kit-config.d.ts +30 -0
- package/lib/interfaces/form.d.ts +9 -9
- package/lib/interfaces/icon.d.ts +4 -3
- package/lib/interfaces/sortable-table.d.ts +33 -0
- package/lib/pipes/date-ago.pipe.d.ts +17 -0
- package/lib/pipes/duration.pipe.d.ts +35 -0
- package/lib/pipes/mark-matching-text.pipe.d.ts +15 -7
- package/lib/provide-design-angular-kit.d.ts +7 -0
- package/lib/services/{notifications/notifications.service.d.ts → notification/notification.service.d.ts} +3 -3
- package/lib/utils/coercion.d.ts +14 -0
- package/lib/utils/date-utils.d.ts +78 -0
- package/lib/utils/file-utils.d.ts +1 -1
- package/lib/utils/regex.d.ts +5 -0
- package/lib/validators/it-validators.d.ts +9 -2
- package/package.json +17 -22
- package/public_api.d.ts +31 -4
- package/esm2020/lib/abstracts/abstract-form-component.mjs +0 -174
- package/esm2020/lib/abstracts/abstract.component.mjs +0 -27
- package/esm2020/lib/components/core/accordion/accordion.component.mjs +0 -31
- package/esm2020/lib/components/core/alert/alert.component.mjs +0 -69
- package/esm2020/lib/components/core/badge/badge.directive.mjs +0 -34
- package/esm2020/lib/components/core/button/button.directive.mjs +0 -80
- package/esm2020/lib/components/core/callout/callout.component.mjs +0 -84
- package/esm2020/lib/components/core/card/card.component.mjs +0 -58
- package/esm2020/lib/components/core/carousel/carousel/carousel.component.mjs +0 -66
- package/esm2020/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +0 -14
- package/esm2020/lib/components/core/chip/chip.component.mjs +0 -89
- package/esm2020/lib/components/core/collapse/collapse.component.mjs +0 -101
- package/esm2020/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +0 -24
- package/esm2020/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +0 -11
- package/esm2020/lib/components/core/dimmer/dimmer.component.mjs +0 -59
- package/esm2020/lib/components/core/dropdown/dropdown/dropdown.component.mjs +0 -130
- package/esm2020/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +0 -68
- package/esm2020/lib/components/core/forward/forward.directive.mjs +0 -51
- package/esm2020/lib/components/core/link/link.component.mjs +0 -40
- package/esm2020/lib/components/core/list/list/list.component.mjs +0 -13
- package/esm2020/lib/components/core/list/list-item/list-item.component.mjs +0 -36
- package/esm2020/lib/components/core/modal/modal.component.mjs +0 -98
- package/esm2020/lib/components/core/notifications/notifications.component.mjs +0 -110
- package/esm2020/lib/components/core/pagination/pagination.component.mjs +0 -51
- package/esm2020/lib/components/core/popover/popover.directive.mjs +0 -179
- package/esm2020/lib/components/core/progress-bar/progress-bar.component.mjs +0 -34
- package/esm2020/lib/components/core/progress-button/progress-button.component.mjs +0 -27
- package/esm2020/lib/components/core/spinner/spinner.component.mjs +0 -35
- package/esm2020/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +0 -119
- package/esm2020/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +0 -18
- package/esm2020/lib/components/core/tab/tab-container/tab-container.component.mjs +0 -59
- package/esm2020/lib/components/core/tab/tab-item/tab-item.component.mjs +0 -36
- package/esm2020/lib/components/core/table/table.component.mjs +0 -57
- package/esm2020/lib/components/core/tooltip/tooltip.directive.mjs +0 -143
- package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +0 -40
- package/esm2020/lib/components/form/input/input.component.mjs +0 -222
- package/esm2020/lib/components/form/password-input/password-input.component.mjs +0 -112
- package/esm2020/lib/components/form/radio-button/radio-button.component.mjs +0 -53
- package/esm2020/lib/components/form/select/select.component.mjs +0 -62
- package/esm2020/lib/components/form/textarea/textarea.component.mjs +0 -46
- package/esm2020/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +0 -137
- package/esm2020/lib/components/form/upload-file-list/upload-file-list.component.mjs +0 -104
- package/esm2020/lib/components/navigation/back-button/back-button.component.mjs +0 -69
- package/esm2020/lib/components/navigation/back-to-top/back-to-top.component.mjs +0 -74
- package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -45
- package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +0 -23
- package/esm2020/lib/components/navigation/header/header.component.mjs +0 -63
- package/esm2020/lib/components/utils/icon/icon.component.mjs +0 -54
- package/esm2020/lib/components/utils/language-switcher/language-switcher.component.mjs +0 -39
- package/esm2020/lib/components/utils/not-found-page/not-found-page.component.mjs +0 -13
- package/esm2020/lib/design-angular-kit.module.mjs +0 -56
- package/esm2020/lib/interfaces/core.mjs +0 -16
- package/esm2020/lib/interfaces/form.mjs +0 -2
- package/esm2020/lib/interfaces/icon.mjs +0 -2
- package/esm2020/lib/modules/components.module.mjs +0 -257
- package/esm2020/lib/pipes/mark-matching-text.pipe.mjs +0 -36
- package/esm2020/lib/services/notifications/notifications.service.mjs +0 -120
- package/esm2020/lib/utils/boolean-input.mjs +0 -15
- package/esm2020/lib/utils/file-utils.mjs +0 -73
- package/esm2020/lib/utils/regex.mjs +0 -26
- package/esm2020/lib/validators/it-validators.mjs +0 -134
- package/esm2020/public_api.mjs +0 -70
- package/fesm2015/design-angular-kit.mjs +0 -3850
- package/fesm2015/design-angular-kit.mjs.map +0 -1
- package/fesm2020/design-angular-kit.mjs +0 -3797
- package/fesm2020/design-angular-kit.mjs.map +0 -1
- package/lib/components/utils/not-found-page/not-found-page.component.d.ts +0 -5
- package/lib/modules/components.module.d.ts +0 -61
- package/lib/utils/boolean-input.d.ts +0 -11
- /package/{esm2020 → esm2022}/design-angular-kit.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/interfaces/utils.mjs +0 -0
package/README.md
CHANGED
|
@@ -14,22 +14,27 @@
|
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
+
<a href="https://www.npmjs.com/package/design-angular-kit"><img src="https://img.shields.io/npm/v/design-angular-kit/prerelease.svg" alt="NPM"></a>
|
|
17
18
|
<a href="https://www.npmjs.com/package/design-angular-kit"><img src="https://img.shields.io/npm/v/design-angular-kit/unstable.svg" alt="NPM"></a>
|
|
18
|
-
|
|
19
|
+
</p>
|
|
20
|
+
|
|
21
|
+
<p align="center">
|
|
22
|
+
<a href="https://github.com/italia/design-angular-kit/actions"><img src="https://github.com/italia/design-angular-kit/actions/workflows/publish-release.yml/badge.svg" alt="Build"></a>
|
|
19
23
|
<a href="https://codecov.io/gh/italia/design-angular-kit"><img src="https://codecov.io/gh/italia/design-angular-kit/branch/main/graph/badge.svg?token=0Ud6YSFi0r" alt="codecov"></a>
|
|
20
24
|
<a href="https://github.com/italia/design-angular-kit/blob/main/LICENSE"><img src="https://img.shields.io/github/license/italia/design-angular-kit.svg" alt="License"></a>
|
|
21
25
|
<a href="https://github.com/italia/design-angular-kit/issues"><img src="https://img.shields.io/github/issues/italia/design-angular-kit.svg" alt="GitHub issues"></a>
|
|
22
26
|
</p>
|
|
23
27
|
|
|
24
28
|
<p align="center">
|
|
25
|
-
<a href="https://
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<a href="https://slack.developers.italia.it/">
|
|
29
|
-
<img src="https://slack.developers.italia.it/badge.svg" alt="Get invited" />
|
|
30
|
-
</a>
|
|
29
|
+
<a href="https://github.com/semantic-release/semantic-release"><img src="https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release" alt="semantic-release: angular" /></a>
|
|
30
|
+
<a href="https://github.com/prettier/prettier"><img src="https://img.shields.io/badge/code%20style-prettier-ff69b4?logo=Prettier" alt="code style: prettier" /></a>
|
|
31
|
+
<a href="https://github.com/eslint/eslint"><img src="https://img.shields.io/badge/formatter-angular--eslint-4B32C3?logo=eslint" alt="formatter: angular-eslint" /></a>
|
|
31
32
|
</p>
|
|
32
33
|
|
|
34
|
+
<p align="center">
|
|
35
|
+
<a href="https://developersitalia.slack.com/messages/C04H3C19D52/"><img src="https://img.shields.io/badge/Slack%20channel-%23design--dev--angular-blue.svg" alt="Join the #design-dev-angular channel" /></a>
|
|
36
|
+
<a href="https://slack.developers.italia.it/"><img src="https://slack.developers.italia.it/badge.svg" alt="Get invited" /></a></p>
|
|
37
|
+
|
|
33
38
|
_⚠️ Attenzione: questo codice è ancora in fase di sviluppo e non è pronto per essere utilizzato! Stiamo lavorando all'aggiornamento per portare il kit alla versione 1.0.0, commenti e contributi di tutta la community sono più che benvenuti! Se si necessita della vecchia versione il codice e la sua documentazione possono essere reperiti [qua](https://github.com/italia/design-angular-kit/tree/0.x)._
|
|
34
39
|
|
|
35
40
|
## Verso la versione 1.0.0 📣
|
|
@@ -45,28 +50,144 @@ Sul branch `main` potete trovare il codice dei lavori in corso e nella [mileston
|
|
|
45
50
|
|
|
46
51
|
**Commenti e contributi di tutta la community sono più che benvenuti!** 🎉
|
|
47
52
|
|
|
48
|
-
|
|
49
|
-
[
|
|
50
|
-
[
|
|
51
|
-
[
|
|
53
|
+
## Link utili
|
|
54
|
+
- [Video Commit University: Sviluppare da zero una Angular Web App per la PA](https://www.youtube.com/watch?v=gH-0P36E5jk&t=385s) ([slide](https://www.slideshare.net/commitsoftware/sviluppare-da-zero-una-angular-web-app-per-la-pa))
|
|
55
|
+
- [Video Meetup Angular Roma: Angular, Bootstrap Italia e non solo..](https://www.youtube.com/live/asGk-mYU-zM?feature=share)
|
|
56
|
+
- [Demo Design Angular Kit](https://github.com/cri99/demo-design-angular-kit)
|
|
57
|
+
- [Preview di Vercel (aggiornata ad ogni commit)](https://design-angular-kit.vercel.app/)
|
|
58
|
+
- [Discussione sulla nuova release](https://github.com/italia/design-angular-kit/discussions/127)
|
|
59
|
+
- [Milestone 1.0.0](https://github.com/italia/design-angular-kit/milestone/3)
|
|
52
60
|
|
|
53
|
-
##
|
|
61
|
+
## Installazione
|
|
54
62
|
|
|
55
63
|
Design Angular Kit è disponibile su NPM, per installarlo su una applicazione esistente sulla quale provare la libreria (attualmente non stabile) esegui il comando
|
|
56
64
|
|
|
57
65
|
```
|
|
58
|
-
npm install design-angular-kit@
|
|
66
|
+
npm install design-angular-kit@prerelease --save
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Scegli la versione corrispondente alla tua versione Angular:
|
|
70
|
+
|
|
71
|
+
| Angular | design-angular-kit |
|
|
72
|
+
|---------|-----------------------|
|
|
73
|
+
| 17+ | v1.0.0-prerelease.2 + |
|
|
74
|
+
| 16+ | v1.0.0-17 + |
|
|
75
|
+
| 15+ | v1.0.0-2 + |
|
|
76
|
+
|
|
77
|
+
## Configurazione
|
|
78
|
+
|
|
79
|
+
### Configurazione app
|
|
80
|
+
|
|
81
|
+
La libreria `design-angular-kit` può essere utilizzata con i componenti _standalone_ o con l'applicazione che utilizza i moduli. Segui la sezione di
|
|
82
|
+
configurazione che corrisponde alla tua applicazione.
|
|
83
|
+
|
|
84
|
+
#### Applicazione standalone
|
|
85
|
+
|
|
86
|
+
Utilizza la funzione `provideDesignAngularKit` nella configurazione dell'applicazione `ApplicationConfig` per
|
|
87
|
+
poter inizializzare le funzionalità della libreria.
|
|
88
|
+
|
|
89
|
+
```typescript
|
|
90
|
+
import { provideHttpClient } from '@angular/common/http';
|
|
91
|
+
import { provideAnimations } from '@angular/platform-browser/animations';
|
|
92
|
+
import { provideDesignAngularKit } from 'design-angular-kit';
|
|
93
|
+
|
|
94
|
+
export const appConfig: ApplicationConfig = {
|
|
95
|
+
providers: [
|
|
96
|
+
...
|
|
97
|
+
provideAnimations(), // Necessario per il funzionamento della libreria
|
|
98
|
+
provideHttpClient(), // Necessario per il funzionamento della libreria
|
|
99
|
+
provideDesignAngularKit(),
|
|
100
|
+
]
|
|
101
|
+
}
|
|
59
102
|
```
|
|
60
103
|
|
|
61
|
-
|
|
104
|
+
#### Applicazione modulare
|
|
105
|
+
|
|
106
|
+
È necessario importare `DesignAngularKitModule` all'interno del modulo principale dell'applicazione (solitamente denominato **AppModule**)
|
|
107
|
+
utilizzando il metodo `forRoot` per poter inizializzare le funzionalità della libreria e importare tutti i componenti.
|
|
62
108
|
|
|
63
109
|
```typescript
|
|
110
|
+
import { HttpClientModule } from '@angular/common/http';
|
|
111
|
+
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
112
|
+
import { DesignAngularKitModule } from 'design-angular-kit';
|
|
113
|
+
|
|
64
114
|
@NgModule({
|
|
65
115
|
imports: [
|
|
66
116
|
...
|
|
67
|
-
|
|
117
|
+
HttpClientModule, // Necessario per il funzionamento della libreria
|
|
118
|
+
BrowserAnimationsModule, // Necessario per il funzionamento della libreria
|
|
119
|
+
DesignAngularKitModule.forRoot()
|
|
68
120
|
]
|
|
69
121
|
})
|
|
122
|
+
export class AppModule { }
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
Utilizza il metodo `forChild` durante l'importazione del modulo `DesignAngularKitModule` in altri moduli dell'applicazione per importare tutti i componenti della libreria.
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
```typescript
|
|
129
|
+
import { DesignAngularKitModule } from 'design-angular-kit';
|
|
130
|
+
|
|
131
|
+
@NgModule({
|
|
132
|
+
imports: [
|
|
133
|
+
...
|
|
134
|
+
DesignAngularKitModule.forChild()
|
|
135
|
+
],
|
|
136
|
+
exports: [DesignAngularKitModule],
|
|
137
|
+
})
|
|
138
|
+
export class SharedModule { }
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
#### Applicazione ibrida
|
|
142
|
+
|
|
143
|
+
Se nella tua applicazione è presente il modulo **AppModule** ma vuoi utilizzare i nostri componenti con la configurazione _standalone_,
|
|
144
|
+
utilizza la funzione `provideDesignAngularKit` all'interno del modulo principale dell'applicazione per poter inizializzare le funzionalità della libreria.
|
|
145
|
+
|
|
146
|
+
```typescript
|
|
147
|
+
import { HttpClientModule } from '@angular/common/http';
|
|
148
|
+
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
149
|
+
import { provideDesignAngularKit } from 'design-angular-kit';
|
|
150
|
+
|
|
151
|
+
@NgModule({
|
|
152
|
+
imports: [
|
|
153
|
+
...
|
|
154
|
+
HttpClientModule, // Necessario per il funzionamento della libreria
|
|
155
|
+
BrowserAnimationsModule, // Necessario per il funzionamento della libreria
|
|
156
|
+
],
|
|
157
|
+
providers: [
|
|
158
|
+
provideDesignAngularKit(),
|
|
159
|
+
]
|
|
160
|
+
})
|
|
161
|
+
export class AppModule { }
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
#### Parametri di configurazione
|
|
165
|
+
|
|
166
|
+
Sia per la funzione `provideDesignAngularKit` che per il modulo `DesignAngularKitModule.forRoot()` è possibile utilizzare una configurazione iniziale [`DesignAngularKitConfig`](/projects/design-angular-kit/src/lib/interfaces/design-angular-kit-config.ts).
|
|
167
|
+
|
|
168
|
+
```typescript
|
|
169
|
+
import { provideDesignAngularKit, DesignAngularKitModule, DesignAngularKitConfig } from 'design-angular-kit';
|
|
170
|
+
|
|
171
|
+
// Puoi aggiungere alla libreria una configurazione iniziale
|
|
172
|
+
const initConfig: DesignAngularKitConfig | undefined = {
|
|
173
|
+
/**
|
|
174
|
+
* The bootstrap-italia asset folder path
|
|
175
|
+
* @default ./bootstrap-italia
|
|
176
|
+
*/
|
|
177
|
+
assetBasePath: string | undefined,
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Load the <a href="https://italia.github.io/bootstrap-italia/docs/come-iniziare/introduzione/#fonts">bootstrap-italia fonts</a>
|
|
181
|
+
* @default true
|
|
182
|
+
*/
|
|
183
|
+
loadFont: boolean | undefined,
|
|
184
|
+
|
|
185
|
+
...
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
provideDesignAngularKit(initConfig)
|
|
189
|
+
|
|
190
|
+
DesignAngularKitModule.forRoot(initConfig)
|
|
70
191
|
```
|
|
71
192
|
|
|
72
193
|
### Importazione stili bootstrap-italia
|
|
@@ -80,8 +201,8 @@ Configura gli stili richiesti nel file `styles.scss`. Importa la libreria SCSS c
|
|
|
80
201
|
<details>
|
|
81
202
|
<summary>Come personalizzare e sovrascrivere le variabili di default della libreria (es. colori, font-family, misure, ecc.)</summary>
|
|
82
203
|
|
|
83
|
-
Bootstrap Italia eredita ed estende tutte le variabili di default di Bootstrap, sovrascrivendo
|
|
84
|
-
alcuni valori in fase di compilazione e impostandone di nuovi all’occorenza. Un esempio fra tutti è
|
|
204
|
+
Bootstrap Italia eredita ed estende tutte le variabili di default di Bootstrap, sovrascrivendo
|
|
205
|
+
alcuni valori in fase di compilazione e impostandone di nuovi all’occorenza. Un esempio fra tutti è
|
|
85
206
|
il valore del colore $primary che in Bootstrap Italia è rappresentato dal colore blu #0066CC,
|
|
86
207
|
tipico della libreria.
|
|
87
208
|
|
|
@@ -118,7 +239,8 @@ $font-family-monospace: 'Custom Font', 'Courier New', Courier, monospace;
|
|
|
118
239
|
|
|
119
240
|
Per aggiungere il supporto icone/assets, modifica il tuo `angular.json` aggiungendo:
|
|
120
241
|
|
|
121
|
-
```
|
|
242
|
+
```json
|
|
243
|
+
{
|
|
122
244
|
"assets": [
|
|
123
245
|
...
|
|
124
246
|
{
|
|
@@ -127,7 +249,8 @@ Per aggiungere il supporto icone/assets, modifica il tuo `angular.json` aggiunge
|
|
|
127
249
|
"output": "/bootstrap-italia/"
|
|
128
250
|
}
|
|
129
251
|
]
|
|
130
|
-
|
|
252
|
+
}
|
|
253
|
+
```
|
|
131
254
|
|
|
132
255
|
### Supporto i18n (localizzazione)
|
|
133
256
|
|
|
@@ -135,8 +258,9 @@ La libreria usa [ngx-translate](https://github.com/ngx-translate/core) per aggiu
|
|
|
135
258
|
|
|
136
259
|
Modifica il tuo `angular.json` aggiungendo:
|
|
137
260
|
|
|
138
|
-
```
|
|
139
|
-
|
|
261
|
+
```json
|
|
262
|
+
{
|
|
263
|
+
"assets": [
|
|
140
264
|
...
|
|
141
265
|
{
|
|
142
266
|
"glob": "**/*",
|
|
@@ -144,71 +268,95 @@ Modifica il tuo `angular.json` aggiungendo:
|
|
|
144
268
|
"output": "/bootstrap-italia/i18n/"
|
|
145
269
|
}
|
|
146
270
|
]
|
|
147
|
-
|
|
271
|
+
}
|
|
272
|
+
```
|
|
273
|
+
Puoi utilizzare le label localizzate della libreria `design-angular-kit` nella tua applicazione, ad esempio `{{'it.errors.required-field' | translate}}`. [Vedi le nostre label](projects/design-angular-kit/assets/i18n/it.json)
|
|
148
274
|
|
|
149
275
|
#### Localizzazione esistente
|
|
150
276
|
|
|
151
277
|
Se utilizzi già i file di localizzazione nella tua app, puoi utilizzare la libreria [ngx-translate-multi-http-loader](https://www.npmjs.com/package/ngx-translate-multi-http-loader)
|
|
152
|
-
per caricare i file di localizzazione dell'app
|
|
278
|
+
per caricare sia i file di localizzazione dell'app che quelli della libreria `design-angular-kit`
|
|
153
279
|
|
|
154
|
-
|
|
280
|
+
|
|
281
|
+
**Utilizzando la funzione `provideDesignAngularKit`:**
|
|
155
282
|
|
|
156
283
|
```typescript
|
|
157
|
-
@
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
284
|
+
import { HttpBackend } from '@angular/common/http';
|
|
285
|
+
import { TranslateLoader } from '@ngx-translate/core';
|
|
286
|
+
import { MultiTranslateHttpLoader } from 'ngx-translate-multi-http-loader';
|
|
287
|
+
import { provideDesignAngularKit } from 'design-angular-kit';
|
|
288
|
+
|
|
289
|
+
provideDesignAngularKit({
|
|
290
|
+
translateLoader: (itPrefix: string, itSuffix: string) => ({
|
|
291
|
+
provide: TranslateLoader,
|
|
292
|
+
useFactory: (http: HttpBackend) => new MultiTranslateHttpLoader(http, [
|
|
293
|
+
{ prefix: itPrefix, suffix: itSuffix }, // Load library translations first, so you can edit the keys in your localization file
|
|
294
|
+
{ prefix: './assets/i18n/' }, // Your i18n location
|
|
295
|
+
]),
|
|
296
|
+
deps: [HttpBackend]
|
|
297
|
+
}),
|
|
298
|
+
})
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
**Utilizzando il modulo `DesignAngularKitModule`:**
|
|
302
|
+
```typescript
|
|
303
|
+
import { HttpBackend } from '@angular/common/http';
|
|
304
|
+
import { TranslateLoader } from '@ngx-translate/core';
|
|
305
|
+
import { MultiTranslateHttpLoader } from 'ngx-translate-multi-http-loader';
|
|
306
|
+
import { DesignAngularKitModule } from 'design-angular-kit';
|
|
307
|
+
|
|
308
|
+
DesignAngularKitModule.forRoot({
|
|
309
|
+
translateLoader: (itPrefix: string, itSuffix: string) => ({
|
|
310
|
+
provide: TranslateLoader,
|
|
311
|
+
useFactory: (http: HttpBackend) => new MultiTranslateHttpLoader(http, [
|
|
312
|
+
{ prefix: itPrefix, suffix: itSuffix }, // Load library translations first, so you can edit the keys in your localization file
|
|
313
|
+
{ prefix: './assets/i18n/' }, // Your i18n location
|
|
314
|
+
]),
|
|
315
|
+
deps: [HttpBackend]
|
|
316
|
+
}),
|
|
174
317
|
})
|
|
175
318
|
```
|
|
176
319
|
|
|
177
|
-
|
|
320
|
+
#### Personalizzazione della localizzazione
|
|
321
|
+
|
|
322
|
+
Se vuoi personalizzare le nostre label:
|
|
323
|
+
- Non includere il supporto i18n nel tuo `angular.json`
|
|
324
|
+
- Crea i tuoi file di localizzazione personalizzati nella tua cartella `assets/bootstrap-italia/i18n/` (crea il percorso se non esiste)
|
|
325
|
+
- Il json deve avere [questo formato](projects/design-angular-kit/assets/i18n/it.json).
|
|
326
|
+
- Aggiungi nella configurazione iniziale della libreria il `translateLoader` custom, sostituendo la stringa `assets/bootstrap-italia/i18n/` all'attributo `itPrefix`
|
|
327
|
+
- Oppure, aggiungi le localizzazioni nei tuoi file json, sovrascrivendo le [chiavi del json della libreria](projects/design-angular-kit/assets/i18n/it.json).
|
|
178
328
|
|
|
179
|
-
|
|
329
|
+
## Utilizzo
|
|
180
330
|
|
|
181
|
-
|
|
331
|
+
Utilizzando il modulo `DesignAngularKitModule` tutti i componenti della libreria verranno importati nell'applicazione.
|
|
182
332
|
|
|
183
|
-
|
|
333
|
+
In alternativa, poiché tutti i nostri componenti e direttive sono _standalone_, puoi importare solo i componenti/moduli di cui hai bisogno, ad es. Alert, Paginazione e Breadcrumb.
|
|
184
334
|
|
|
185
335
|
```typescript
|
|
336
|
+
import { ItAlertComponent, ItPaginationComponent, ItBreadcrumbsModule } from 'design-angular-kit';
|
|
337
|
+
|
|
186
338
|
@NgModule({
|
|
187
339
|
imports: [
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
providers: [
|
|
192
|
-
TranslateStore
|
|
340
|
+
ItAlertComponent,
|
|
341
|
+
ItPaginationComponent,
|
|
342
|
+
ItBreadcrumbsModule // Include ItBreadcrumbComponent e ItBreadcrumbItemComponent
|
|
193
343
|
],
|
|
194
344
|
})
|
|
345
|
+
export class YourAppModule {
|
|
346
|
+
}
|
|
195
347
|
```
|
|
196
348
|
|
|
197
|
-
Se vuoi personalizzare le nostre label:
|
|
198
|
-
- Non includere il supporto i18n nel tuo `angular.json` ma crea i tuoi file di localizzazione personalizzati nella tua cartella `assets/bootstrap-italia/i18n/` (crea il percorso se non esiste).
|
|
199
|
-
- Il json deve avere [questo formato](projects/design-angular-kit/assets/i18n/it.json).
|
|
200
|
-
|
|
201
|
-
### Supporto animazione
|
|
202
|
-
|
|
203
|
-
La libreria usa BrowserAnimationsModule per gestire alcune animazioni.
|
|
204
|
-
|
|
205
|
-
Per abilitarle, bisogna aggiungere al tuo `app.module.ts` il modulo :
|
|
206
|
-
|
|
207
349
|
```typescript
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
350
|
+
import { ItAlertComponent, ItPaginationComponent, ItBreadcrumbsModule } from 'design-angular-kit';
|
|
351
|
+
|
|
352
|
+
@Component({
|
|
353
|
+
selector: 'app-product',
|
|
354
|
+
standalone: true,
|
|
355
|
+
imports: [ItAlertComponent, ItPaginationComponent, ItBreadcrumbsModule],
|
|
356
|
+
templateUrl: './product.component.html'
|
|
357
|
+
})
|
|
358
|
+
export class ProductComponent {
|
|
359
|
+
}
|
|
212
360
|
```
|
|
213
361
|
|
|
214
362
|
## Segnalazione bug e richieste di aiuto
|
package/assets/i18n/en.json
CHANGED
|
@@ -7,8 +7,10 @@
|
|
|
7
7
|
"close": "Close",
|
|
8
8
|
"continue": "Continue",
|
|
9
9
|
"edit": "Edit",
|
|
10
|
+
"show": "Show",
|
|
10
11
|
"show-all": "Show all",
|
|
11
|
-
"details": "Details"
|
|
12
|
+
"details": "Details",
|
|
13
|
+
"download": "Download"
|
|
12
14
|
},
|
|
13
15
|
"errors": {
|
|
14
16
|
"generic": "An error has occurred",
|
|
@@ -19,29 +21,34 @@
|
|
|
19
21
|
"min-invalid": "The minimum value for this field is: {{min}}",
|
|
20
22
|
"max-invalid": "The maximum value for this field is: {{max}}",
|
|
21
23
|
"min-length-invalid": "The minimum length for this field is: {{min}}",
|
|
22
|
-
"max-length-invalid": "The
|
|
24
|
+
"max-length-invalid": "The maximum length for this field is: {{max}}",
|
|
23
25
|
"email-invalid": "Enter a valid email",
|
|
24
26
|
"tel-invalid": "Please enter a valid phone number format",
|
|
25
27
|
"url-invalid": "Please enter a valid URL",
|
|
26
28
|
"tax-code-invalid": "Enter a valid tax code",
|
|
27
29
|
"vat-number-invalid": "Enter a valid VAT number",
|
|
28
30
|
"cap-invalid": "Enter a valid zip code",
|
|
31
|
+
"iban-invalid": "Enter a valid IBAN",
|
|
29
32
|
"regex-invalid": "Please enter a valid REGEX expression",
|
|
30
33
|
"pattern-invalid": "The field must have the pattern {{pattern}}",
|
|
31
34
|
"password-no-match": "Passwords must match",
|
|
32
|
-
"password-min-length": "
|
|
33
|
-
"password-number": "The password must have at least
|
|
34
|
-
"password-capital-case": "The password should contain at least
|
|
35
|
-
"password-small-case": "
|
|
36
|
-
"password-special-character": "
|
|
35
|
+
"password-min-length": "The password must contain at least {{minLength}} characters!",
|
|
36
|
+
"password-number": "The password must have at least a number!",
|
|
37
|
+
"password-capital-case": "The password should contain at least an uppercase character!",
|
|
38
|
+
"password-small-case": "The password must contain at least a lowercase character!",
|
|
39
|
+
"password-special-character": "The password must contain at least a special character!"
|
|
37
40
|
},
|
|
38
41
|
"core": {
|
|
39
42
|
"close-modal": "Close modal window",
|
|
40
43
|
"close-notification": "Close Notification: {{title}}",
|
|
41
44
|
"close-alert": "Close alert",
|
|
42
45
|
"page": "Page",
|
|
46
|
+
"previous": "Previous",
|
|
43
47
|
"previous-page": "Previous page",
|
|
48
|
+
"next": "Next",
|
|
44
49
|
"next-page": "Next page",
|
|
50
|
+
"go-to": "Go to",
|
|
51
|
+
"page-of-total": "Page {{page}} of {{total}}",
|
|
45
52
|
"progress": "Progress",
|
|
46
53
|
"loading": "Loading",
|
|
47
54
|
"active": "Active",
|
|
@@ -51,9 +58,24 @@
|
|
|
51
58
|
"step": "Step",
|
|
52
59
|
"step-of": "Step {{current}} of {{available}}",
|
|
53
60
|
"back": "Back",
|
|
54
|
-
"forward": "Forward"
|
|
61
|
+
"forward": "Forward",
|
|
62
|
+
"rate-star": "Rate {{current}} out of {{total}} stars",
|
|
63
|
+
"rating-star": "Rating {{current}} out of {{total}} stars"
|
|
55
64
|
},
|
|
56
65
|
"form": {
|
|
66
|
+
"caps-inserted": "CAPS LOCK entered",
|
|
67
|
+
"password-strength-meter": {
|
|
68
|
+
"description": {
|
|
69
|
+
"default": "Enter at least {{minLength}} characters",
|
|
70
|
+
"number": "a number",
|
|
71
|
+
"capital-case": "an uppercase character",
|
|
72
|
+
"special-character": "a special character"
|
|
73
|
+
},
|
|
74
|
+
"password-short": "Very weak password",
|
|
75
|
+
"password-bad": "Weak password",
|
|
76
|
+
"password-good": "Secure password",
|
|
77
|
+
"password-strong": "Very secure password"
|
|
78
|
+
},
|
|
57
79
|
"increase-value": "Increase value",
|
|
58
80
|
"decrease-value": "Decrease value",
|
|
59
81
|
"upload": "Upload",
|
|
@@ -76,16 +98,63 @@
|
|
|
76
98
|
"website-search": "Search in the site",
|
|
77
99
|
"navigation-path": "Navigation path"
|
|
78
100
|
},
|
|
101
|
+
"navbar": {
|
|
102
|
+
"aria-label-main": "Main navigation",
|
|
103
|
+
"aria-label-toggle": "Show/Hide navigation",
|
|
104
|
+
"hide": "Hide navigation"
|
|
105
|
+
},
|
|
79
106
|
"utils": {
|
|
80
107
|
"selected": "Selected",
|
|
81
108
|
"language-selection": "Language selection: {{lang}}",
|
|
82
109
|
"select-language": "Select a language",
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
110
|
+
"error-page": {
|
|
111
|
+
"404": {
|
|
112
|
+
"title": "Resource not found",
|
|
113
|
+
"description": "Oops! The resource you are looking for was not found, go back to the homepage and use the menu to continue browsing."
|
|
114
|
+
},
|
|
115
|
+
"403": {
|
|
116
|
+
"title": "Forbidden",
|
|
117
|
+
"description": "You are not authorized to access this resource!"
|
|
118
|
+
},
|
|
119
|
+
"500": {
|
|
120
|
+
"title": "An error has occurred",
|
|
121
|
+
"description": "There was an unexpected error. Please try again later or contact support."
|
|
122
|
+
},
|
|
87
123
|
"go-to-homepage": "Return to homepage"
|
|
88
124
|
}
|
|
125
|
+
},
|
|
126
|
+
"date-ago-pipe": {
|
|
127
|
+
"just-now": "Just now",
|
|
128
|
+
"singular-year-ago": "{{count}} year ago",
|
|
129
|
+
"year-ago": "{{count}} years ago",
|
|
130
|
+
"singular-month-ago": "{{count}} month ago",
|
|
131
|
+
"month-ago": "{{count}} months ago",
|
|
132
|
+
"singular-week-ago": "{{count}} week ago",
|
|
133
|
+
"week-ago": "{{count}} weeks ago",
|
|
134
|
+
"singular-day-ago": "{{count}} day ago",
|
|
135
|
+
"day-ago": "{{count}} days ago",
|
|
136
|
+
"singular-hour-ago": "{{count}} hour ago",
|
|
137
|
+
"hour-ago": "{{count}} hours ago",
|
|
138
|
+
"singular-minute-ago": "{{count}} minute ago",
|
|
139
|
+
"minute-ago": "{{count}} minutes ago",
|
|
140
|
+
"singular-second-ago": "{{count}} second ago",
|
|
141
|
+
"second-ago": "{{count}} seconds ago"
|
|
142
|
+
},
|
|
143
|
+
"duration": {
|
|
144
|
+
"second": "{{count}} second",
|
|
145
|
+
"seconds": "{{count}} seconds",
|
|
146
|
+
"minute": "{{count}} minute",
|
|
147
|
+
"minutes": "{{count}} minutes",
|
|
148
|
+
"hour": "{{count}} hour",
|
|
149
|
+
"hours": "{{count}} hours",
|
|
150
|
+
"day": "{{count}} day",
|
|
151
|
+
"days": "{{count}} days",
|
|
152
|
+
"week": "{{count}} week",
|
|
153
|
+
"weeks": "{{count}} weeks",
|
|
154
|
+
"month": "{{count}} month",
|
|
155
|
+
"months": "{{count}} months",
|
|
156
|
+
"year": "{{count}} year",
|
|
157
|
+
"years": "{{count}} years"
|
|
89
158
|
}
|
|
90
159
|
}
|
|
91
160
|
}
|
package/assets/i18n/it.json
CHANGED
|
@@ -7,8 +7,10 @@
|
|
|
7
7
|
"close": "Chiudi",
|
|
8
8
|
"continue": "Continua",
|
|
9
9
|
"edit": "Modifica",
|
|
10
|
+
"show": "Visualizza",
|
|
10
11
|
"show-all": "Mostra tutto",
|
|
11
|
-
"details": "Dettagli"
|
|
12
|
+
"details": "Dettagli",
|
|
13
|
+
"download": "Scarica"
|
|
12
14
|
},
|
|
13
15
|
"errors": {
|
|
14
16
|
"generic": "Si è verificato un errore",
|
|
@@ -19,29 +21,34 @@
|
|
|
19
21
|
"min-invalid": "Il valore minimo per questo campo è: {{min}}",
|
|
20
22
|
"max-invalid": "Il valore massimo per questo campo è: {{max}}",
|
|
21
23
|
"min-length-invalid": "La lunghezza minima per questo campo è: {{min}}",
|
|
22
|
-
"max-length-invalid": "La lunghezza
|
|
24
|
+
"max-length-invalid": "La lunghezza massima per questo campo è: {{max}}",
|
|
23
25
|
"email-invalid": "Inserisci un email valida",
|
|
24
26
|
"tel-invalid": "Inserisci un formato telefonico valido",
|
|
25
27
|
"url-invalid": "Inserisci un url valido",
|
|
26
28
|
"tax-code-invalid": "Inserisci un codice fiscale valido",
|
|
27
29
|
"vat-number-invalid": "Inserisci una partita iva valida",
|
|
28
30
|
"cap-invalid": "Inserisci un CAP valido",
|
|
31
|
+
"iban-invalid": "Inserisci un IBAN valido",
|
|
29
32
|
"regex-invalid": "Inserisci un espressione REGEX valida",
|
|
30
33
|
"pattern-invalid": "Il campo deve avere il pattern {{pattern}}",
|
|
31
34
|
"password-no-match": "Le password devono essere identiche",
|
|
32
35
|
"password-min-length": "La password deve contenere almeno {{minLength}} caratteri!",
|
|
33
|
-
"password-number": "La password deve avere almeno
|
|
34
|
-
"password-capital-case": "La password deve contenere almeno
|
|
35
|
-
"password-small-case": "La password deve contenere almeno
|
|
36
|
-
"password-special-character": "La password deve contenere almeno
|
|
36
|
+
"password-number": "La password deve avere almeno un numero!",
|
|
37
|
+
"password-capital-case": "La password deve contenere almeno un carattere maiuscolo!",
|
|
38
|
+
"password-small-case": "La password deve contenere almeno un carattere minuscolo!",
|
|
39
|
+
"password-special-character": "La password deve contenere almeno un carattere speciale!"
|
|
37
40
|
},
|
|
38
41
|
"core": {
|
|
39
42
|
"close-modal": "Chiudi finestra modale",
|
|
40
43
|
"close-notification": "Chiudi notifica: {{title}}",
|
|
41
44
|
"close-alert": "Chiudi avviso",
|
|
42
45
|
"page": "Pagina",
|
|
46
|
+
"previous": "Precedente",
|
|
43
47
|
"previous-page": "Pagina precedente",
|
|
48
|
+
"next": "Successiva",
|
|
44
49
|
"next-page": "Pagina successiva",
|
|
50
|
+
"go-to": "Vai a",
|
|
51
|
+
"page-of-total": "Pagina {{page}} di {{total}}",
|
|
45
52
|
"progress": "Progresso",
|
|
46
53
|
"loading": "Caricamento",
|
|
47
54
|
"active": "Attivo",
|
|
@@ -51,9 +58,24 @@
|
|
|
51
58
|
"step": "Step",
|
|
52
59
|
"step-of": "Step {{current}} di {{available}}",
|
|
53
60
|
"back": "Indietro",
|
|
54
|
-
"forward": "Avanti"
|
|
61
|
+
"forward": "Avanti",
|
|
62
|
+
"rate-star": "Valuta {{current}} stelle su {{total}}",
|
|
63
|
+
"rating-star": "Valutazione {{current}} stelle su {{total}}"
|
|
55
64
|
},
|
|
56
65
|
"form": {
|
|
66
|
+
"caps-inserted": "CAPS LOCK inserito",
|
|
67
|
+
"password-strength-meter": {
|
|
68
|
+
"description": {
|
|
69
|
+
"default": "Inserisci almeno {{minLength}} caratteri",
|
|
70
|
+
"number": "un numero",
|
|
71
|
+
"capital-case": "un carattere maiuscolo",
|
|
72
|
+
"special-character": "un carattere speciale"
|
|
73
|
+
},
|
|
74
|
+
"password-short": "Password molto debole",
|
|
75
|
+
"password-bad": "Password debole",
|
|
76
|
+
"password-good": "Password sicura",
|
|
77
|
+
"password-strong": "Password molto sicura"
|
|
78
|
+
},
|
|
57
79
|
"increase-value": "Aumenta valore",
|
|
58
80
|
"decrease-value": "Diminuisci valore",
|
|
59
81
|
"upload": "Upload",
|
|
@@ -76,16 +98,63 @@
|
|
|
76
98
|
"website-search": "Cerca nel sito",
|
|
77
99
|
"navigation-path": "Percorso di navigazione"
|
|
78
100
|
},
|
|
101
|
+
"navbar": {
|
|
102
|
+
"aria-label-main": "Navigazione principale",
|
|
103
|
+
"aria-label-toggle": "Mostra/Nascondi la navigazione",
|
|
104
|
+
"hide": "Nascondi la navigazione"
|
|
105
|
+
},
|
|
79
106
|
"utils": {
|
|
80
107
|
"selected": "Selezionata",
|
|
81
108
|
"language-selection": "Selezione lingua: {{lang}}",
|
|
82
109
|
"select-language": "Seleziona una lingua",
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
110
|
+
"error-page": {
|
|
111
|
+
"404": {
|
|
112
|
+
"title": "Risorsa non trovata",
|
|
113
|
+
"description": "Oops! La risorsa che cerchi non è stata trovata, torna alla homepage e utilizza il menu per continuare la navigazione."
|
|
114
|
+
},
|
|
115
|
+
"403": {
|
|
116
|
+
"title": "Non autorizzato",
|
|
117
|
+
"description": "Non sei autorizzato ad accedere a questa risorsa!"
|
|
118
|
+
},
|
|
119
|
+
"500": {
|
|
120
|
+
"title": "Si è verificato un errore",
|
|
121
|
+
"description": "Si è verificato un errore imprevisto. Riprova più tardi o contatta il supporto."
|
|
122
|
+
},
|
|
87
123
|
"go-to-homepage": "Torna alla homepage"
|
|
88
124
|
}
|
|
125
|
+
},
|
|
126
|
+
"date-ago-pipe": {
|
|
127
|
+
"just-now": "Proprio adesso",
|
|
128
|
+
"singular-year-ago": "{{count}} anno fa",
|
|
129
|
+
"year-ago": "{{count}} anni fa",
|
|
130
|
+
"singular-month-ago": "{{count}} mese fa",
|
|
131
|
+
"month-ago": "{{count}} mesi fa",
|
|
132
|
+
"singular-week-ago": "{{count}} settimana fa",
|
|
133
|
+
"week-ago": "{{count}} settimane fa",
|
|
134
|
+
"singular-day-ago": "{{count}} giorno fa",
|
|
135
|
+
"day-ago": "{{count}} giorni fa",
|
|
136
|
+
"singular-hour-ago": "{{count}} ora fa",
|
|
137
|
+
"hour-ago": "{{count}} ore fa",
|
|
138
|
+
"singular-minute-ago": "{{count}} minuto fa",
|
|
139
|
+
"minute-ago": "{{count}} minuti fa",
|
|
140
|
+
"singular-second-ago": "{{count}} secondo fa",
|
|
141
|
+
"second-ago": "{{count}} secondi fa"
|
|
142
|
+
},
|
|
143
|
+
"duration": {
|
|
144
|
+
"second": "{{count}} secondo",
|
|
145
|
+
"seconds": "{{count}} secondi",
|
|
146
|
+
"minute": "{{count}} minuto",
|
|
147
|
+
"minutes": "{{count}} minuti",
|
|
148
|
+
"hour": "{{count}} ora",
|
|
149
|
+
"hours": "{{count}} ore",
|
|
150
|
+
"day": "{{count}} giorno",
|
|
151
|
+
"days": "{{count}} giorni",
|
|
152
|
+
"week": "{{count}} settimana",
|
|
153
|
+
"weeks": "{{count}} settimane",
|
|
154
|
+
"month": "{{count}} mese",
|
|
155
|
+
"months": "{{count}} mesi",
|
|
156
|
+
"year": "{{count}} anno",
|
|
157
|
+
"years": "{{count}} anni"
|
|
89
158
|
}
|
|
90
159
|
}
|
|
91
160
|
}
|