@cauca-911/material 20.2.12 → 20.2.13
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/.eslintrc.json +77 -0
- package/README.md +24 -5
- package/README_PACKAGE.md +5 -0
- package/karma.conf.js +50 -0
- package/ng-package.json +7 -0
- package/package.json +23 -38
- package/{assets → src/assets}/i18n/cauca/en-material.json +104 -104
- package/{assets → src/assets}/i18n/cauca/es-material.json +104 -104
- package/{assets → src/assets}/i18n/cauca/fr-material.json +106 -106
- package/src/lib/cauca-material.component.html +1 -0
- package/src/lib/cauca-material.component.spec.ts +29 -0
- package/src/lib/cauca-material.component.ts +12 -0
- package/src/lib/cauca-material.service.spec.ts +16 -0
- package/src/lib/cauca-material.service.ts +7 -0
- package/src/lib/components/button/button.component.html +52 -0
- package/src/lib/components/button/button.component.scss +6 -0
- package/src/lib/components/button/button.component.spec.ts +134 -0
- package/src/lib/components/button/button.component.ts +21 -0
- package/src/lib/components/buttons/base-button.ts +35 -0
- package/src/lib/components/buttons/basic-button/basic-button.component.html +5 -0
- package/src/lib/components/buttons/basic-button/basic-button.component.scss +12 -0
- package/src/lib/components/buttons/basic-button/basic-button.component.spec.ts +106 -0
- package/src/lib/components/buttons/basic-button/basic-button.component.ts +17 -0
- package/src/lib/components/buttons/fab-button/fab-button.component.html +3 -0
- package/src/lib/components/buttons/fab-button/fab-button.component.scss +12 -0
- package/src/lib/components/buttons/fab-button/fab-button.component.spec.ts +82 -0
- package/src/lib/components/buttons/fab-button/fab-button.component.ts +16 -0
- package/src/lib/components/buttons/flat-button/flat-button.component.html +5 -0
- package/src/lib/components/buttons/flat-button/flat-button.component.scss +12 -0
- package/src/lib/components/buttons/flat-button/flat-button.component.spec.ts +106 -0
- package/src/lib/components/buttons/flat-button/flat-button.component.ts +17 -0
- package/src/lib/components/buttons/icon-button/icon-button.component.html +3 -0
- package/src/lib/components/buttons/icon-button/icon-button.component.scss +23 -0
- package/src/lib/components/buttons/icon-button/icon-button.component.spec.ts +38 -0
- package/src/lib/components/buttons/icon-button/icon-button.component.ts +15 -0
- package/src/lib/components/buttons/link-button/link-button.component.html +1 -0
- package/src/lib/components/buttons/link-button/link-button.component.scss +3 -0
- package/src/lib/components/buttons/link-button/link-button.component.spec.ts +97 -0
- package/src/lib/components/buttons/link-button/link-button.component.ts +25 -0
- package/src/lib/components/buttons/menu-item/menu-item.component.html +5 -0
- package/src/lib/components/buttons/menu-item/menu-item.component.scss +6 -0
- package/src/lib/components/buttons/menu-item/menu-item.component.spec.ts +66 -0
- package/src/lib/components/buttons/menu-item/menu-item.component.ts +19 -0
- package/src/lib/components/buttons/raised-button/raised-button.component.html +5 -0
- package/src/lib/components/buttons/raised-button/raised-button.component.scss +12 -0
- package/src/lib/components/buttons/raised-button/raised-button.component.spec.ts +108 -0
- package/src/lib/components/buttons/raised-button/raised-button.component.ts +17 -0
- package/src/lib/components/buttons/refresh-button/refresh-button.component.html +1 -0
- package/src/lib/components/buttons/refresh-button/refresh-button.component.scss +0 -0
- package/src/lib/components/buttons/refresh-button/refresh-button.component.spec.ts +81 -0
- package/src/lib/components/buttons/refresh-button/refresh-button.component.ts +19 -0
- package/src/lib/components/buttons/round-button/round-button.component.html +3 -0
- package/src/lib/components/buttons/round-button/round-button.component.scss +34 -0
- package/src/lib/components/buttons/round-button/round-button.component.spec.ts +26 -0
- package/src/lib/components/buttons/round-button/round-button.component.ts +14 -0
- package/src/lib/components/buttons/stroked-button/stroked-button.component.html +5 -0
- package/src/lib/components/buttons/stroked-button/stroked-button.component.scss +23 -0
- package/src/lib/components/buttons/stroked-button/stroked-button.component.spec.ts +114 -0
- package/src/lib/components/buttons/stroked-button/stroked-button.component.ts +17 -0
- package/src/lib/components/cauca-date-time-picker/cauca-date-time-picker.component.html +9 -0
- package/src/lib/components/cauca-date-time-picker/cauca-date-time-picker.component.scss +7 -0
- package/src/lib/components/cauca-date-time-picker/cauca-date-time-picker.component.spec.ts +68 -0
- package/src/lib/components/cauca-date-time-picker/cauca-date-time-picker.component.ts +155 -0
- package/src/lib/components/cauca-date-time-picker/components/desktop-time-picker/desktop-time-picker.component.html +6 -0
- package/src/lib/components/cauca-date-time-picker/components/desktop-time-picker/desktop-time-picker.component.scss +25 -0
- package/src/lib/components/cauca-date-time-picker/components/desktop-time-picker/desktop-time-picker.component.spec.ts +23 -0
- package/src/lib/components/cauca-date-time-picker/components/desktop-time-picker/desktop-time-picker.component.ts +23 -0
- package/src/lib/components/cauca-date-time-picker/components/dialog-date-time-picker/dialog-date-time-picker.component.html +53 -0
- package/src/lib/components/cauca-date-time-picker/components/dialog-date-time-picker/dialog-date-time-picker.component.scss +124 -0
- package/src/lib/components/cauca-date-time-picker/components/dialog-date-time-picker/dialog-date-time-picker.component.spec.ts +93 -0
- package/src/lib/components/cauca-date-time-picker/components/dialog-date-time-picker/dialog-date-time-picker.component.ts +227 -0
- package/src/lib/components/cauca-date-time-picker/components/mobile-time-picker/mobile-time-picker.component.html +9 -0
- package/src/lib/components/cauca-date-time-picker/components/mobile-time-picker/mobile-time-picker.component.scss +15 -0
- package/src/lib/components/cauca-date-time-picker/components/mobile-time-picker/mobile-time-picker.component.spec.ts +103 -0
- package/src/lib/components/cauca-date-time-picker/components/mobile-time-picker/mobile-time-picker.component.ts +47 -0
- package/src/lib/components/cauca-date-time-picker/models/dialog-date-time-picker-data.ts +29 -0
- package/src/lib/components/deprecated-components/cauca-input-file/cauca-input-file.component.html +11 -0
- package/src/lib/components/deprecated-components/cauca-input-file/cauca-input-file.component.scss +3 -0
- package/src/lib/components/deprecated-components/cauca-input-file/cauca-input-file.component.ts +87 -0
- package/src/lib/components/deprecated-components/cauca-input-multiple-langue/cauca-input-multiple-langue.component.html +8 -0
- package/src/lib/components/deprecated-components/cauca-input-multiple-langue/cauca-input-multiple-langue.component.scss +3 -0
- package/src/lib/components/deprecated-components/cauca-input-multiple-langue/cauca-input-multiple-langue.component.spec.ts +35 -0
- package/src/lib/components/deprecated-components/cauca-input-multiple-langue/cauca-input-multiple-langue.component.ts +57 -0
- package/src/lib/components/deprecated-components/cauca-menu-sidebar/cauca-menu-sidebar.component.html +19 -0
- package/src/lib/components/deprecated-components/cauca-menu-sidebar/cauca-menu-sidebar.component.scss +142 -0
- package/src/lib/components/deprecated-components/cauca-menu-sidebar/cauca-menu-sidebar.component.spec.ts +30 -0
- package/src/lib/components/deprecated-components/cauca-menu-sidebar/cauca-menu-sidebar.component.ts +112 -0
- package/src/lib/components/deprecated-components/cauca-menu-vertical/cauca-menu-vertical.component.html +26 -0
- package/src/lib/components/deprecated-components/cauca-menu-vertical/cauca-menu-vertical.component.scss +52 -0
- package/src/lib/components/deprecated-components/cauca-menu-vertical/cauca-menu-vertical.component.spec.ts +28 -0
- package/src/lib/components/deprecated-components/cauca-menu-vertical/cauca-menu-vertical.component.ts +53 -0
- package/src/lib/components/deprecated-components/cauca-simple-dialog/cauca-simple-dialog.component.html +7 -0
- package/src/lib/components/deprecated-components/cauca-simple-dialog/cauca-simple-dialog.component.scss +4 -0
- package/src/lib/components/deprecated-components/cauca-simple-dialog/cauca-simple-dialog.component.spec.ts +39 -0
- package/src/lib/components/deprecated-components/cauca-simple-dialog/cauca-simple-dialog.component.ts +20 -0
- package/src/lib/components/deprecated-components/cauca-slideshow/cauca-slideshow.component.html +7 -0
- package/src/lib/components/deprecated-components/cauca-slideshow/cauca-slideshow.component.scss +41 -0
- package/src/lib/components/deprecated-components/cauca-slideshow/cauca-slideshow.component.spec.ts +24 -0
- package/src/lib/components/deprecated-components/cauca-slideshow/cauca-slideshow.component.ts +67 -0
- package/src/lib/components/deprecated-components/shared/models/menu-item.ts +11 -0
- package/src/lib/components/deprecated-components/shared/models/simple-dialog-data.ts +5 -0
- package/src/lib/components/dialogs/alert-dialog/alert-dialog.component.html +10 -0
- package/src/lib/components/dialogs/alert-dialog/alert-dialog.component.scss +14 -0
- package/src/lib/components/dialogs/alert-dialog/alert-dialog.component.spec.ts +90 -0
- package/src/lib/components/dialogs/alert-dialog/alert-dialog.component.ts +41 -0
- package/src/lib/components/dialogs/confirm-dialog/confirm-dialog.component.html +11 -0
- package/src/lib/components/dialogs/confirm-dialog/confirm-dialog.component.scss +29 -0
- package/src/lib/components/dialogs/confirm-dialog/confirm-dialog.component.spec.ts +137 -0
- package/src/lib/components/dialogs/confirm-dialog/confirm-dialog.component.ts +47 -0
- package/src/lib/components/dialogs/delete-dialog/delete-dialog.component.html +17 -0
- package/src/lib/components/dialogs/delete-dialog/delete-dialog.component.scss +14 -0
- package/src/lib/components/dialogs/delete-dialog/delete-dialog.component.spec.ts +96 -0
- package/src/lib/components/dialogs/delete-dialog/delete-dialog.component.ts +40 -0
- package/src/lib/components/dialogs/delete-dialog/models/delete-dialog-data.spec.ts +7 -0
- package/src/lib/components/dialogs/delete-dialog/models/delete-dialog-data.ts +5 -0
- package/src/lib/components/dialogs/dialog-styles.css +9 -0
- package/src/lib/components/dialogs/dialog-styles.scss +9 -0
- package/src/lib/components/dialogs/error-dialog/error-dialog.component.html +10 -0
- package/src/lib/components/dialogs/error-dialog/error-dialog.component.scss +10 -0
- package/src/lib/components/dialogs/error-dialog/error-dialog.component.spec.ts +91 -0
- package/src/lib/components/dialogs/error-dialog/error-dialog.component.ts +32 -0
- package/src/lib/components/dialogs/services/dialog.service.spec.ts +82 -0
- package/src/lib/components/dialogs/services/dialog.service.ts +107 -0
- package/src/lib/components/dialogs/text-input-dialog/text-input-dialog.component.html +24 -0
- package/src/lib/components/dialogs/text-input-dialog/text-input-dialog.component.scss +22 -0
- package/src/lib/components/dialogs/text-input-dialog/text-input-dialog.component.spec.ts +126 -0
- package/src/lib/components/dialogs/text-input-dialog/text-input-dialog.component.ts +66 -0
- package/src/lib/components/inputs/color-picker/color-picker.component.html +9 -0
- package/src/lib/components/inputs/color-picker/color-picker.component.scss +0 -0
- package/src/lib/components/inputs/color-picker/color-picker.component.spec.ts +29 -0
- package/src/lib/components/inputs/color-picker/color-picker.component.ts +111 -0
- package/src/lib/components/inputs/date-range-picker/date-range-picker.component.html +13 -0
- package/src/lib/components/inputs/date-range-picker/date-range-picker.component.scss +0 -0
- package/src/lib/components/inputs/date-range-picker/date-range-picker.component.spec.ts +80 -0
- package/src/lib/components/inputs/date-range-picker/date-range-picker.component.ts +46 -0
- package/src/lib/components/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component.html +40 -0
- package/src/lib/components/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component.scss +39 -0
- package/src/lib/components/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component.spec.ts +135 -0
- package/src/lib/components/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component.ts +263 -0
- package/src/lib/components/inputs/password/password-criteria/password-criteria.component.html +6 -0
- package/src/lib/components/inputs/password/password-criteria/password-criteria.component.scss +27 -0
- package/src/lib/components/inputs/password/password-criteria/password-criteria.component.spec.ts +90 -0
- package/src/lib/components/inputs/password/password-criteria/password-criteria.component.ts +17 -0
- package/src/lib/components/inputs/password/password-criteria-viewer/password-criteria-viewer.component.html +5 -0
- package/src/lib/components/inputs/password/password-criteria-viewer/password-criteria-viewer.component.scss +8 -0
- package/src/lib/components/inputs/password/password-criteria-viewer/password-criteria-viewer.component.spec.ts +98 -0
- package/src/lib/components/inputs/password/password-criteria-viewer/password-criteria-viewer.component.ts +16 -0
- package/src/lib/components/inputs/password/password-input/password-input.component.html +11 -0
- package/src/lib/components/inputs/password/password-input/password-input.component.scss +12 -0
- package/src/lib/components/inputs/password/password-input/password-input.component.spec.ts +141 -0
- package/src/lib/components/inputs/password/password-input/password-input.component.ts +67 -0
- package/src/lib/components/inputs/password/password-selection/password-selection.component.html +15 -0
- package/src/lib/components/inputs/password/password-selection/password-selection.component.scss +32 -0
- package/src/lib/components/inputs/password/password-selection/password-selection.component.spec.ts +138 -0
- package/src/lib/components/inputs/password/password-selection/password-selection.component.ts +100 -0
- package/src/lib/components/inputs/select-with-search/select-with-search.component.html +19 -0
- package/src/lib/components/inputs/select-with-search/select-with-search.component.scss +0 -0
- package/src/lib/components/inputs/select-with-search/select-with-search.component.spec.ts +213 -0
- package/src/lib/components/inputs/select-with-search/select-with-search.component.ts +108 -0
- package/src/lib/components/layout/expandable-panel/expandable-panel.component.html +12 -0
- package/src/lib/components/layout/expandable-panel/expandable-panel.component.scss +43 -0
- package/src/lib/components/layout/expandable-panel/expandable-panel.component.spec.ts +48 -0
- package/src/lib/components/layout/expandable-panel/expandable-panel.component.ts +19 -0
- package/src/lib/components/layout/group-container/group-container.component.html +6 -0
- package/src/lib/components/layout/group-container/group-container.component.scss +22 -0
- package/src/lib/components/layout/group-container/group-container.component.spec.ts +34 -0
- package/src/lib/components/layout/group-container/group-container.component.ts +14 -0
- package/src/lib/components/layout/menu-expandable-panel/menu-expandable-panel.component.html +13 -0
- package/src/lib/components/layout/menu-expandable-panel/menu-expandable-panel.component.scss +27 -0
- package/src/lib/components/layout/menu-expandable-panel/menu-expandable-panel.component.spec.ts +144 -0
- package/src/lib/components/layout/menu-expandable-panel/menu-expandable-panel.component.ts +52 -0
- package/src/lib/components/layout/menu-expandable-panel-item/menu-expandable-panel-item.component.html +4 -0
- package/src/lib/components/layout/menu-expandable-panel-item/menu-expandable-panel-item.component.scss +10 -0
- package/src/lib/components/layout/menu-expandable-panel-item/menu-expandable-panel-item.component.spec.ts +80 -0
- package/src/lib/components/layout/menu-expandable-panel-item/menu-expandable-panel-item.component.ts +28 -0
- package/src/lib/components/layout/page-title/page-title.component.html +28 -0
- package/src/lib/components/layout/page-title/page-title.component.scss +40 -0
- package/src/lib/components/layout/page-title/page-title.component.spec.ts +162 -0
- package/src/lib/components/layout/page-title/page-title.component.ts +28 -0
- package/src/lib/components/layout/sections/main-section/main-section.component.html +6 -0
- package/src/lib/components/layout/sections/main-section/main-section.component.scss +27 -0
- package/src/lib/components/layout/sections/main-section/main-section.component.spec.ts +42 -0
- package/src/lib/components/layout/sections/main-section/main-section.component.ts +13 -0
- package/src/lib/components/layout/sections/section-column/section-column.component.html +3 -0
- package/src/lib/components/layout/sections/section-column/section-column.component.scss +18 -0
- package/src/lib/components/layout/sections/section-column/section-column.component.spec.ts +35 -0
- package/src/lib/components/layout/sections/section-column/section-column.component.ts +12 -0
- package/src/lib/components/layout/sections/section-field/section-field.component.html +21 -0
- package/src/lib/components/layout/sections/section-field/section-field.component.scss +44 -0
- package/src/lib/components/layout/sections/section-field/section-field.component.spec.ts +74 -0
- package/src/lib/components/layout/sections/section-field/section-field.component.ts +22 -0
- package/src/lib/components/list-paginator/list-paginator.component.html +16 -0
- package/src/lib/components/list-paginator/list-paginator.component.scss +46 -0
- package/src/lib/components/list-paginator/list-paginator.component.spec.ts +248 -0
- package/src/lib/components/list-paginator/list-paginator.component.ts +81 -0
- package/src/lib/components/misc/loading-error/loading-error.component.html +11 -0
- package/src/lib/components/misc/loading-error/loading-error.component.scss +0 -0
- package/src/lib/components/misc/loading-error/loading-error.component.spec.ts +75 -0
- package/src/lib/components/misc/loading-error/loading-error.component.ts +18 -0
- package/src/lib/components/misc/loading-spinner-indicator/loading-spinner-indicator.component.html +3 -0
- package/src/lib/components/misc/loading-spinner-indicator/loading-spinner-indicator.component.scss +0 -0
- package/src/lib/components/misc/loading-spinner-indicator/loading-spinner-indicator.component.spec.ts +43 -0
- package/src/lib/components/misc/loading-spinner-indicator/loading-spinner-indicator.component.ts +16 -0
- package/src/lib/components/misc/snack-bar/snack-bar.component.html +16 -0
- package/src/lib/components/misc/snack-bar/snack-bar.component.scss +84 -0
- package/src/lib/components/misc/snack-bar/snack-bar.component.spec.ts +136 -0
- package/src/lib/components/misc/snack-bar/snack-bar.component.ts +39 -0
- package/src/lib/components/notifications/saving-confirmed-box/saving-confirmed-box.component.html +11 -0
- package/src/lib/components/notifications/saving-confirmed-box/saving-confirmed-box.component.scss +0 -0
- package/src/lib/components/notifications/saving-confirmed-box/saving-confirmed-box.component.spec.ts +67 -0
- package/src/lib/components/notifications/saving-confirmed-box/saving-confirmed-box.component.ts +15 -0
- package/src/lib/components/notifications/saving-error-box/saving-error-box.component.html +11 -0
- package/src/lib/components/notifications/saving-error-box/saving-error-box.component.scss +0 -0
- package/src/lib/components/notifications/saving-error-box/saving-error-box.component.spec.ts +77 -0
- package/src/lib/components/notifications/saving-error-box/saving-error-box.component.ts +17 -0
- package/src/lib/components/presenters/badge/badge.component.html +6 -0
- package/src/lib/components/presenters/badge/badge.component.scss +10 -0
- package/src/lib/components/presenters/badge/badge.component.spec.ts +41 -0
- package/src/lib/components/presenters/badge/badge.component.ts +18 -0
- package/src/lib/components/presenters/icon/icon.component.scss +9 -0
- package/src/lib/components/presenters/icon/icon.component.spec.ts +38 -0
- package/src/lib/components/presenters/icon/icon.component.ts +37 -0
- package/src/lib/core/breadcrumb.service.spec.ts +35 -0
- package/src/lib/core/breadcrumb.service.ts +24 -0
- package/src/lib/core/directives/auto-trim-and-lower.directive.spec.ts +22 -0
- package/src/lib/core/directives/auto-trim-and-lower.directive.ts +19 -0
- package/src/lib/core/directives/form-error/form-error.module.ts +21 -0
- package/src/lib/core/directives/form-error/has-error-root.directive.ts +29 -0
- package/src/lib/core/directives/form-error/has-error.directive.ts +95 -0
- package/src/lib/core/loading-state.service.spec.ts +57 -0
- package/src/lib/core/loading-state.service.ts +44 -0
- package/src/lib/core/models/breadcrumb-location.ts +6 -0
- package/src/lib/core/models/password-validation.ts +20 -0
- package/src/lib/core/validators/password/password-validator.spec.ts +155 -0
- package/src/lib/core/validators/password/password-validator.ts +30 -0
- package/src/lib/provide-cauca-material.ts +10 -0
- package/src/public-api.ts +74 -0
- package/src/test.ts +17 -0
- package/tsconfig.lib.json +22 -0
- package/tsconfig.lib.prod.json +4 -0
- package/tsconfig.spec.json +17 -0
- package/LICENSE +0 -21
- package/fesm2022/cauca-911-material.mjs +0 -4640
- package/fesm2022/cauca-911-material.mjs.map +0 -1
- package/index.d.ts +0 -795
- /package/{assets → src/assets}/images/loading.gif +0 -0
package/.eslintrc.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../.eslintrc.json",
|
|
3
|
+
"ignorePatterns": [
|
|
4
|
+
"!**/*",
|
|
5
|
+
"**/*.spec.ts",
|
|
6
|
+
"**/test.ts",
|
|
7
|
+
"build/**/*",
|
|
8
|
+
"dist/**/*"
|
|
9
|
+
],
|
|
10
|
+
"overrides": [
|
|
11
|
+
{
|
|
12
|
+
"files": [
|
|
13
|
+
"*.ts"
|
|
14
|
+
],
|
|
15
|
+
"parserOptions": {
|
|
16
|
+
"project": [
|
|
17
|
+
"projects/cauca-material/tsconfig.lib.json"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"rules": {
|
|
21
|
+
"@angular-eslint/component-selector": [
|
|
22
|
+
"error",
|
|
23
|
+
{
|
|
24
|
+
"type": "element",
|
|
25
|
+
"prefix": "cauca"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"@angular-eslint/directive-selector": [
|
|
29
|
+
"error",
|
|
30
|
+
{
|
|
31
|
+
"type": "attribute",
|
|
32
|
+
"style": "camelCase"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"@angular-eslint/prefer-standalone": "off",
|
|
36
|
+
"@typescript-eslint/consistent-type-definitions": "error",
|
|
37
|
+
"@typescript-eslint/dot-notation": "off",
|
|
38
|
+
"@typescript-eslint/explicit-member-accessibility": [
|
|
39
|
+
"error",
|
|
40
|
+
{
|
|
41
|
+
"accessibility": "explicit"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"@typescript-eslint/no-inferrable-types": "off",
|
|
45
|
+
"@typescript-eslint/member-ordering": [
|
|
46
|
+
"error", {
|
|
47
|
+
"default": [
|
|
48
|
+
"signature",
|
|
49
|
+
"public-field",
|
|
50
|
+
"protected-field",
|
|
51
|
+
"private-field",
|
|
52
|
+
["get", "set"],
|
|
53
|
+
"constructor",
|
|
54
|
+
"public-method",
|
|
55
|
+
"protected-method",
|
|
56
|
+
"private-method"
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"brace-style": [
|
|
61
|
+
"error",
|
|
62
|
+
"1tbs"
|
|
63
|
+
],
|
|
64
|
+
"id-blacklist": "off",
|
|
65
|
+
"id-match": "off",
|
|
66
|
+
"no-underscore-dangle": "off",
|
|
67
|
+
"@angular-eslint/prefer-inject": "off"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"files": [
|
|
72
|
+
"*.html"
|
|
73
|
+
],
|
|
74
|
+
"rules": {}
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
package/README.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
##
|
|
1
|
+
# CaucaMaterial
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.0.6.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project cauca-material` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project cauca-material`.
|
|
8
|
+
> Note: Don't forget to add `--project cauca-material` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build cauca-material` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build cauca-material`, go to the dist folder `cd dist/cauca-material` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test cauca-material` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
|
package/karma.conf.js
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// Karma configuration file, see link for more information
|
|
2
|
+
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
|
3
|
+
|
|
4
|
+
module.exports = function (config) {
|
|
5
|
+
config.set({
|
|
6
|
+
basePath: '',
|
|
7
|
+
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
|
8
|
+
plugins: [
|
|
9
|
+
require('karma-jasmine'),
|
|
10
|
+
require('karma-chrome-launcher'),
|
|
11
|
+
require('karma-jasmine-html-reporter'),
|
|
12
|
+
require('karma-coverage'),
|
|
13
|
+
require('@angular-devkit/build-angular/plugins/karma')
|
|
14
|
+
],
|
|
15
|
+
client: {
|
|
16
|
+
clearContext: false // leave Jasmine Spec Runner output visible in browser
|
|
17
|
+
},
|
|
18
|
+
coverageReporter: {
|
|
19
|
+
dir: 'build/reports/coverage',
|
|
20
|
+
reporters: [
|
|
21
|
+
{ type: 'html', subdir: 'report-html' },
|
|
22
|
+
{ type: 'lcov', subdir: 'report-lcov' }
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
reporters: ['progress', 'kjhtml', 'coverage'],
|
|
26
|
+
port: 9876,
|
|
27
|
+
colors: true,
|
|
28
|
+
logLevel: config.LOG_INFO,
|
|
29
|
+
autoWatch: true,
|
|
30
|
+
browsers: ['Chrome'],
|
|
31
|
+
customLaunchers: {
|
|
32
|
+
ChromeHeadlessNoSandbox: {
|
|
33
|
+
base: 'ChromeHeadless',
|
|
34
|
+
flags: [
|
|
35
|
+
'--no-sandbox',
|
|
36
|
+
'--disable-setuid-sandbox',
|
|
37
|
+
'--disable-extensions',
|
|
38
|
+
'--disable-web-security',
|
|
39
|
+
'--disable-gpu',
|
|
40
|
+
'--no-proxy-server'
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
singleRun: false,
|
|
45
|
+
restartOnFileChange: true,
|
|
46
|
+
captureTimeout: 120000,
|
|
47
|
+
browserDisconnectTimeout: 20000,
|
|
48
|
+
browserNoActivityTimeout: 120000,
|
|
49
|
+
});
|
|
50
|
+
};
|
package/ng-package.json
ADDED
package/package.json
CHANGED
|
@@ -1,39 +1,24 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@cauca-911/material",
|
|
3
|
-
"version": "20.2.
|
|
4
|
-
"peerDependencies": {
|
|
5
|
-
"@angular/common": ">=20.2.1",
|
|
6
|
-
"@angular/core": ">=20.2.1",
|
|
7
|
-
"@angular/material": ">=20.2.0",
|
|
8
|
-
"@cauca-911/core": ">=20.2.0",
|
|
9
|
-
"ngx-mat-select-search": ">=8.0.0",
|
|
10
|
-
"ngx-color-picker": ">=20.1.1",
|
|
11
|
-
"@fortawesome/angular-fontawesome": "^3.0.0"
|
|
12
|
-
},
|
|
13
|
-
"homepage": "https://cauca.ca",
|
|
14
|
-
"license": "SEE LICENSE IN LICENSE",
|
|
15
|
-
"dependencies": {
|
|
16
|
-
"tslib": ">=2.6.2"
|
|
17
|
-
},
|
|
18
|
-
"keywords": [
|
|
19
|
-
"CAUCA",
|
|
20
|
-
"cauca-material",
|
|
21
|
-
"cauca-911/material",
|
|
22
|
-
"material"
|
|
23
|
-
]
|
|
24
|
-
"module": "fesm2022/cauca-911-material.mjs",
|
|
25
|
-
"typings": "index.d.ts",
|
|
26
|
-
"exports": {
|
|
27
|
-
"./package.json": {
|
|
28
|
-
"default": "./package.json"
|
|
29
|
-
},
|
|
30
|
-
".": {
|
|
31
|
-
"types": "./index.d.ts",
|
|
32
|
-
"default": "./fesm2022/cauca-911-material.mjs"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"sideEffects": false,
|
|
36
|
-
"scripts": {
|
|
37
|
-
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with partial compilation mode, before attempting to publish.\\n')\" && exit 1"
|
|
38
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@cauca-911/material",
|
|
3
|
+
"version": "20.2.13",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": ">=20.2.1",
|
|
6
|
+
"@angular/core": ">=20.2.1",
|
|
7
|
+
"@angular/material": ">=20.2.0",
|
|
8
|
+
"@cauca-911/core": ">=20.2.0",
|
|
9
|
+
"ngx-mat-select-search": ">=8.0.0",
|
|
10
|
+
"ngx-color-picker": ">=20.1.1",
|
|
11
|
+
"@fortawesome/angular-fontawesome": "^3.0.0"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://cauca.ca",
|
|
14
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"tslib": ">=2.6.2"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"CAUCA",
|
|
20
|
+
"cauca-material",
|
|
21
|
+
"cauca-911/material",
|
|
22
|
+
"material"
|
|
23
|
+
]
|
|
39
24
|
}
|
|
@@ -1,104 +1,104 @@
|
|
|
1
|
-
{
|
|
2
|
-
"material": {
|
|
3
|
-
"ok": "Ok",
|
|
4
|
-
"apply": "Apply",
|
|
5
|
-
"cancel": "Cancel",
|
|
6
|
-
"clear": "Clear",
|
|
7
|
-
"description": "The \"@cauca-911/material\" library add many visual component",
|
|
8
|
-
"select": "Select",
|
|
9
|
-
"dialogTitle": "Data acquisition",
|
|
10
|
-
"dialogMessage": "Data acquisition in progress <img src=\"/assets/images/loading.gif\" alt=\"\" width=\"20\" />",
|
|
11
|
-
"version": "Version",
|
|
12
|
-
"refresh": "Refresh"
|
|
13
|
-
},
|
|
14
|
-
"ok": "Ok",
|
|
15
|
-
"apply": "Apply",
|
|
16
|
-
"cancel": "Cancel",
|
|
17
|
-
"clear": "Clear",
|
|
18
|
-
"description": "The \"@cauca-911/material\" library add many visual component",
|
|
19
|
-
"select": "Select",
|
|
20
|
-
"dialogTitle": "Data acquisition",
|
|
21
|
-
"dialogMessage": "Data acquisition in progress <img src=\"/assets/images/loading.gif\" alt=\"\" width=\"20\" />",
|
|
22
|
-
"version": "Version",
|
|
23
|
-
"refresh": "Refresh",
|
|
24
|
-
"close": "Close",
|
|
25
|
-
"copyLink": "Copy link",
|
|
26
|
-
"logout": "Logout",
|
|
27
|
-
"search": "Search",
|
|
28
|
-
"en": "English",
|
|
29
|
-
"fr": "French",
|
|
30
|
-
"or": "OR",
|
|
31
|
-
"errorTitle": "Error",
|
|
32
|
-
"edit": "Edit",
|
|
33
|
-
"delete": "Delete",
|
|
34
|
-
"save": "Save",
|
|
35
|
-
"yes": "Yes",
|
|
36
|
-
"no": "No",
|
|
37
|
-
"dateRangeSelectorLabel": "Dates",
|
|
38
|
-
"errorDialog": {
|
|
39
|
-
"titleError": "Deletion Error",
|
|
40
|
-
"messageError": "An error occurred while deleting \"{{itemName}}\". Please try again later."
|
|
41
|
-
},
|
|
42
|
-
"savingSuccessNotification": {
|
|
43
|
-
"title": "Saving",
|
|
44
|
-
"message": "The save was successful."
|
|
45
|
-
},
|
|
46
|
-
"deleteDialog": {
|
|
47
|
-
"titleFemale": "Delete {{itemType}}",
|
|
48
|
-
"titleMale": "Delete {{itemType}}",
|
|
49
|
-
"message": "Are you sure you want to delete \"{{itemName}}\"?",
|
|
50
|
-
"titleError": "Unable to delete",
|
|
51
|
-
"messageError": "An error occurred while deleting the item \"{{itemName}}\""
|
|
52
|
-
},
|
|
53
|
-
"cancelEditionDialog": {
|
|
54
|
-
"title": "Cancel confirmation",
|
|
55
|
-
"message": "You have unsaved changes, are you sure you want to undo them ?"
|
|
56
|
-
},
|
|
57
|
-
"validationErrorDialog": {
|
|
58
|
-
"title": "Invalid data",
|
|
59
|
-
"message": "You cannot save because you have invalid information.",
|
|
60
|
-
"messageNext": "You cannot continue because you have invalid information."
|
|
61
|
-
},
|
|
62
|
-
"alertDialog": {
|
|
63
|
-
"errorTitle": "Error",
|
|
64
|
-
"noResult": "No results",
|
|
65
|
-
"deleteErrorMessage": "An error has occured while deleting item, please try again.",
|
|
66
|
-
"genericErrorMessage": "An error has occured, please try again.",
|
|
67
|
-
"saveErrorMessage": "An error has occured while saving data, please try again.",
|
|
68
|
-
"loadErrorMessage": "An error has occured while loading data, please try again."
|
|
69
|
-
},
|
|
70
|
-
"generalError": {
|
|
71
|
-
"errorAlertTitle": "Error",
|
|
72
|
-
"loadingErrorAlertTitle": "Loading error",
|
|
73
|
-
"loadingErrorAlertMessage": "An alert has occured while loading date. Please try again.",
|
|
74
|
-
"savingErrorAlertTitle": "Saving error",
|
|
75
|
-
"savingErrorAlertMessage": "An alert has occured while saving date. Please try again.",
|
|
76
|
-
"retryButtonLabel": "Retry"
|
|
77
|
-
},
|
|
78
|
-
"error": {
|
|
79
|
-
"requiredField": "Required field.",
|
|
80
|
-
"maxLength": "Value must have less than {{value}} characters.",
|
|
81
|
-
"valueMin": "Value below minimum",
|
|
82
|
-
"valueMax": "Value over maximum",
|
|
83
|
-
"invalidEmail": "Invalid email",
|
|
84
|
-
"invalidPhoneNumber": "Invalid phone number",
|
|
85
|
-
"min": "Minimum value: {{value}}",
|
|
86
|
-
"max": "Maximum value: {{value}}",
|
|
87
|
-
"length": "Length must not exceed {{value}} characters.",
|
|
88
|
-
"identicalPassword": "Same passwords",
|
|
89
|
-
"minimumCharacters": "Minimum 13 characters",
|
|
90
|
-
"minimumNumeric": "Minimum 1 numbers (0-9)",
|
|
91
|
-
"minimumSpecialCharacter": "Minimum 1 special character (!, @, $, ...)",
|
|
92
|
-
"minimumUpperAndLowercase": "Minimum 1 uppercase et 1 lowercase (A, z)"
|
|
93
|
-
},
|
|
94
|
-
"passwordEdition" : {
|
|
95
|
-
"passwordSelection": "Please choose a password.",
|
|
96
|
-
"password": "Password",
|
|
97
|
-
"passwordConfirmation": "Password confirmation",
|
|
98
|
-
"minimumCharacters": "Minimum 13 characters",
|
|
99
|
-
"minimumOneNumeric": "Minimum 1 number (0-9)",
|
|
100
|
-
"minimumOneSpecialCharacter": "Minimum 1 special character (!, @, $, etc.)",
|
|
101
|
-
"needLowerAndUppercase": "Minimum 1 uppercase and 1 lowercase (A, z)",
|
|
102
|
-
"equalPasswords": "Same passwords"
|
|
103
|
-
}
|
|
104
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"material": {
|
|
3
|
+
"ok": "Ok",
|
|
4
|
+
"apply": "Apply",
|
|
5
|
+
"cancel": "Cancel",
|
|
6
|
+
"clear": "Clear",
|
|
7
|
+
"description": "The \"@cauca-911/material\" library add many visual component",
|
|
8
|
+
"select": "Select",
|
|
9
|
+
"dialogTitle": "Data acquisition",
|
|
10
|
+
"dialogMessage": "Data acquisition in progress <img src=\"/assets/images/loading.gif\" alt=\"\" width=\"20\" />",
|
|
11
|
+
"version": "Version",
|
|
12
|
+
"refresh": "Refresh"
|
|
13
|
+
},
|
|
14
|
+
"ok": "Ok",
|
|
15
|
+
"apply": "Apply",
|
|
16
|
+
"cancel": "Cancel",
|
|
17
|
+
"clear": "Clear",
|
|
18
|
+
"description": "The \"@cauca-911/material\" library add many visual component",
|
|
19
|
+
"select": "Select",
|
|
20
|
+
"dialogTitle": "Data acquisition",
|
|
21
|
+
"dialogMessage": "Data acquisition in progress <img src=\"/assets/images/loading.gif\" alt=\"\" width=\"20\" />",
|
|
22
|
+
"version": "Version",
|
|
23
|
+
"refresh": "Refresh",
|
|
24
|
+
"close": "Close",
|
|
25
|
+
"copyLink": "Copy link",
|
|
26
|
+
"logout": "Logout",
|
|
27
|
+
"search": "Search",
|
|
28
|
+
"en": "English",
|
|
29
|
+
"fr": "French",
|
|
30
|
+
"or": "OR",
|
|
31
|
+
"errorTitle": "Error",
|
|
32
|
+
"edit": "Edit",
|
|
33
|
+
"delete": "Delete",
|
|
34
|
+
"save": "Save",
|
|
35
|
+
"yes": "Yes",
|
|
36
|
+
"no": "No",
|
|
37
|
+
"dateRangeSelectorLabel": "Dates",
|
|
38
|
+
"errorDialog": {
|
|
39
|
+
"titleError": "Deletion Error",
|
|
40
|
+
"messageError": "An error occurred while deleting \"{{itemName}}\". Please try again later."
|
|
41
|
+
},
|
|
42
|
+
"savingSuccessNotification": {
|
|
43
|
+
"title": "Saving",
|
|
44
|
+
"message": "The save was successful."
|
|
45
|
+
},
|
|
46
|
+
"deleteDialog": {
|
|
47
|
+
"titleFemale": "Delete {{itemType}}",
|
|
48
|
+
"titleMale": "Delete {{itemType}}",
|
|
49
|
+
"message": "Are you sure you want to delete \"{{itemName}}\"?",
|
|
50
|
+
"titleError": "Unable to delete",
|
|
51
|
+
"messageError": "An error occurred while deleting the item \"{{itemName}}\""
|
|
52
|
+
},
|
|
53
|
+
"cancelEditionDialog": {
|
|
54
|
+
"title": "Cancel confirmation",
|
|
55
|
+
"message": "You have unsaved changes, are you sure you want to undo them ?"
|
|
56
|
+
},
|
|
57
|
+
"validationErrorDialog": {
|
|
58
|
+
"title": "Invalid data",
|
|
59
|
+
"message": "You cannot save because you have invalid information.",
|
|
60
|
+
"messageNext": "You cannot continue because you have invalid information."
|
|
61
|
+
},
|
|
62
|
+
"alertDialog": {
|
|
63
|
+
"errorTitle": "Error",
|
|
64
|
+
"noResult": "No results",
|
|
65
|
+
"deleteErrorMessage": "An error has occured while deleting item, please try again.",
|
|
66
|
+
"genericErrorMessage": "An error has occured, please try again.",
|
|
67
|
+
"saveErrorMessage": "An error has occured while saving data, please try again.",
|
|
68
|
+
"loadErrorMessage": "An error has occured while loading data, please try again."
|
|
69
|
+
},
|
|
70
|
+
"generalError": {
|
|
71
|
+
"errorAlertTitle": "Error",
|
|
72
|
+
"loadingErrorAlertTitle": "Loading error",
|
|
73
|
+
"loadingErrorAlertMessage": "An alert has occured while loading date. Please try again.",
|
|
74
|
+
"savingErrorAlertTitle": "Saving error",
|
|
75
|
+
"savingErrorAlertMessage": "An alert has occured while saving date. Please try again.",
|
|
76
|
+
"retryButtonLabel": "Retry"
|
|
77
|
+
},
|
|
78
|
+
"error": {
|
|
79
|
+
"requiredField": "Required field.",
|
|
80
|
+
"maxLength": "Value must have less than {{value}} characters.",
|
|
81
|
+
"valueMin": "Value below minimum",
|
|
82
|
+
"valueMax": "Value over maximum",
|
|
83
|
+
"invalidEmail": "Invalid email",
|
|
84
|
+
"invalidPhoneNumber": "Invalid phone number",
|
|
85
|
+
"min": "Minimum value: {{value}}",
|
|
86
|
+
"max": "Maximum value: {{value}}",
|
|
87
|
+
"length": "Length must not exceed {{value}} characters.",
|
|
88
|
+
"identicalPassword": "Same passwords",
|
|
89
|
+
"minimumCharacters": "Minimum 13 characters",
|
|
90
|
+
"minimumNumeric": "Minimum 1 numbers (0-9)",
|
|
91
|
+
"minimumSpecialCharacter": "Minimum 1 special character (!, @, $, ...)",
|
|
92
|
+
"minimumUpperAndLowercase": "Minimum 1 uppercase et 1 lowercase (A, z)"
|
|
93
|
+
},
|
|
94
|
+
"passwordEdition" : {
|
|
95
|
+
"passwordSelection": "Please choose a password.",
|
|
96
|
+
"password": "Password",
|
|
97
|
+
"passwordConfirmation": "Password confirmation",
|
|
98
|
+
"minimumCharacters": "Minimum 13 characters",
|
|
99
|
+
"minimumOneNumeric": "Minimum 1 number (0-9)",
|
|
100
|
+
"minimumOneSpecialCharacter": "Minimum 1 special character (!, @, $, etc.)",
|
|
101
|
+
"needLowerAndUppercase": "Minimum 1 uppercase and 1 lowercase (A, z)",
|
|
102
|
+
"equalPasswords": "Same passwords"
|
|
103
|
+
}
|
|
104
|
+
}
|