ngx-material-entity 18.1.0 → 18.2.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.
Files changed (85) hide show
  1. package/README.md +10 -13
  2. package/components/create-page/create-page.component.d.ts +3 -0
  3. package/components/edit-page/edit-page.component.d.ts +3 -0
  4. package/components/input/file/file-default-input/file-default-input.component.d.ts +1 -1
  5. package/components/input/file/file-image-input/file-image-input.component.d.ts +3 -0
  6. package/components/input/file/file-input/file-input.component.d.ts +8 -2
  7. package/components/input/input.component.d.ts +2 -0
  8. package/components/input/number/number-dropdown-input/number-dropdown-input.component.d.ts +2 -0
  9. package/components/input/relations/references-many-input/references-many-input.component.d.ts +2 -0
  10. package/components/input/string/string-dropdown-input/string-dropdown-input.component.d.ts +2 -0
  11. package/components/input/string/string-password-input/string-password-input.component.d.ts +3 -0
  12. package/components/tooltip/tooltip.component.d.ts +2 -0
  13. package/decorators/array/array-decorator-internal.data.d.ts +3 -2
  14. package/decorators/array/array-decorator.data.d.ts +7 -6
  15. package/decorators/base/property-decorator.data.d.ts +2 -2
  16. package/decorators/file/file-decorator-internal.data.d.ts +3 -2
  17. package/decorators/file/file-decorator.data.d.ts +4 -3
  18. package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +4 -4
  19. package/esm2022/components/create-page/create-page.component.mjs +13 -6
  20. package/esm2022/components/custom-table/custom-table.component.mjs +4 -4
  21. package/esm2022/components/edit-page/edit-page.component.mjs +13 -6
  22. package/esm2022/components/form/form.component.mjs +5 -5
  23. package/esm2022/components/input/array/array-date-input/array-date-input.component.mjs +5 -5
  24. package/esm2022/components/input/array/array-date-range-input/array-date-range-input.component.mjs +3 -3
  25. package/esm2022/components/input/array/array-date-time-input/array-date-time-input.component.mjs +3 -3
  26. package/esm2022/components/input/array/array-string-autocomplete-chips/array-string-autocomplete-chips.component.mjs +8 -6
  27. package/esm2022/components/input/array/array-string-chips-input/array-string-chips-input.component.mjs +8 -6
  28. package/esm2022/components/input/array/array-table.class.mjs +3 -3
  29. package/esm2022/components/input/base-input.component.mjs +3 -3
  30. package/esm2022/components/input/boolean/boolean-checkbox-input/boolean-checkbox-input.component.mjs +4 -4
  31. package/esm2022/components/input/boolean/boolean-dropdown-input/boolean-dropdown-input.component.mjs +3 -3
  32. package/esm2022/components/input/boolean/boolean-toggle-input/boolean-toggle-input.component.mjs +4 -4
  33. package/esm2022/components/input/custom/custom.component.mjs +3 -3
  34. package/esm2022/components/input/date/date-input/date-input.component.mjs +3 -3
  35. package/esm2022/components/input/date/date-range-input/date-range-input.component.mjs +3 -3
  36. package/esm2022/components/input/date/date-time-input/date-time-input.component.mjs +3 -3
  37. package/esm2022/components/input/file/file-default-input/file-default-input.component.mjs +5 -5
  38. package/esm2022/components/input/file/file-image-input/file-image-input.component.mjs +9 -5
  39. package/esm2022/components/input/file/file-input/file-input.component.mjs +25 -12
  40. package/esm2022/components/input/input.component.mjs +23 -12
  41. package/esm2022/components/input/number/number-dropdown-input/number-dropdown-input.component.mjs +10 -6
  42. package/esm2022/components/input/number/number-input/number-input.component.mjs +3 -3
  43. package/esm2022/components/input/number/number-slider-input/number-slider-input.component.mjs +4 -4
  44. package/esm2022/components/input/relations/references-many-input/references-many-input.component.mjs +10 -6
  45. package/esm2022/components/input/string/string-autocomplete-input/string-autocomplete-input.component.mjs +3 -3
  46. package/esm2022/components/input/string/string-dropdown-input/string-dropdown-input.component.mjs +10 -6
  47. package/esm2022/components/input/string/string-input/string-input.component.mjs +3 -3
  48. package/esm2022/components/input/string/string-password-input/string-password-input.component.mjs +11 -6
  49. package/esm2022/components/input/string/string-textbox-input/string-textbox-input.component.mjs +3 -3
  50. package/esm2022/components/table/create-dialog/create-entity-dialog.component.mjs +5 -5
  51. package/esm2022/components/table/display-column-value/base-display-column-value.component.mjs +3 -3
  52. package/esm2022/components/table/display-column-value/display-column-value.component.mjs +3 -3
  53. package/esm2022/components/table/edit-dialog/edit-data.builder.mjs +1 -1
  54. package/esm2022/components/table/edit-dialog/edit-entity-dialog.component.mjs +5 -5
  55. package/esm2022/components/table/table-data.builder.mjs +3 -1
  56. package/esm2022/components/table/table-data.mjs +1 -1
  57. package/esm2022/components/table/table.component.mjs +5 -11
  58. package/esm2022/components/tooltip/tooltip.component.mjs +9 -5
  59. package/esm2022/decorators/array/array-decorator-internal.data.mjs +5 -3
  60. package/esm2022/decorators/array/array-decorator.data.mjs +1 -1
  61. package/esm2022/decorators/array/array.decorator.mjs +15 -8
  62. package/esm2022/decorators/base/property-decorator.data.mjs +2 -2
  63. package/esm2022/decorators/file/file-decorator-internal.data.mjs +4 -3
  64. package/esm2022/decorators/file/file-decorator.data.mjs +3 -3
  65. package/esm2022/decorators/file/file.decorator.mjs +7 -4
  66. package/esm2022/decorators/number/number.decorator.mjs +7 -4
  67. package/esm2022/decorators/object/object.decorator.mjs +5 -3
  68. package/esm2022/decorators/string/string-decorator-internal.data.mjs +2 -1
  69. package/esm2022/decorators/string/string.decorator.mjs +11 -6
  70. package/esm2022/directives/drag-drop.directive.mjs +3 -3
  71. package/esm2022/directives/dynamic-style-class.directive.mjs +3 -3
  72. package/esm2022/directives/included-in.directive.mjs +3 -3
  73. package/esm2022/directives/number.directive.mjs +3 -3
  74. package/esm2022/directives/password-match.directive.mjs +3 -3
  75. package/esm2022/directives/tooltip.directive.mjs +3 -3
  76. package/esm2022/functions/dropdown-values-to-function.function.mjs +2 -1
  77. package/esm2022/functions/table-column-value-to-sort-value.function.mjs +9 -5
  78. package/esm2022/utilities/date.utilities.mjs +1 -1
  79. package/esm2022/utilities/entity.utilities.mjs +36 -21
  80. package/esm2022/utilities/file.utilities.mjs +7 -4
  81. package/esm2022/utilities/validation.utilities.mjs +41 -21
  82. package/fesm2022/ngx-material-entity.mjs +361 -251
  83. package/fesm2022/ngx-material-entity.mjs.map +1 -1
  84. package/package.json +4 -2
  85. package/utilities/entity.utilities.d.ts +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-material-entity",
3
- "version": "18.1.0",
3
+ "version": "18.2.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "angular",
@@ -18,7 +18,9 @@
18
18
  "js2xmlparser": "^5.0.0",
19
19
  "jszip": "^3.10.1",
20
20
  "lodash": "4",
21
- "uuid": "9"
21
+ "uuid": "9",
22
+ "@fortawesome/angular-fontawesome": "^0.15",
23
+ "@fortawesome/free-solid-svg-icons": "^6"
22
24
  },
23
25
  "dependencies": {
24
26
  "tslib": "^2.6.2"
@@ -164,10 +164,10 @@ export declare abstract class EntityUtilities {
164
164
  */
165
165
  static compareOrder<EntityType extends BaseEntityType<EntityType>>(a: keyof EntityType, b: keyof EntityType, entity: EntityType): number;
166
166
  /**
167
- * Gets the bootstrap column classes for "lg", "md" and "sm".
168
- * @param entity - Entity to get the bootstrap column values of the key.
169
- * @param key - Key of the property to get bootstrap column values from.
170
- * @returns Bootstrap column classes.
167
+ * Gets the responsive column classes for "lg", "md" and "sm".
168
+ * @param entity - Entity to get the responsive column classes for.
169
+ * @param key - Key of the property to get the responsive column classes from.
170
+ * @returns Responsive column classes for large, middle and small displays.
171
171
  * @throws When no metadata for the given key was found.
172
172
  */
173
173
  static getWidthClasses<EntityType extends BaseEntityType<EntityType>>(entity: EntityType, key: keyof EntityType): string;