@ngx-stoui/core 12.1.2 → 13.0.0-BETA.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 (89) hide show
  1. package/esm2020/index.mjs +18 -0
  2. package/esm2020/lib/abstract-and-interfaces/keyPress.enum.mjs +140 -0
  3. package/esm2020/lib/sto-directives/context-menu.directive.mjs +35 -0
  4. package/esm2020/lib/sto-directives/date-form-field-click.directive.mjs +45 -0
  5. package/esm2020/lib/sto-directives/directives.module.mjs +56 -0
  6. package/esm2020/lib/sto-directives/index.mjs +7 -0
  7. package/esm2020/lib/sto-directives/menu-overlay.directive.mjs +47 -0
  8. package/esm2020/lib/sto-directives/quick-keys.directive.mjs +78 -0
  9. package/esm2020/lib/sto-directives/sto-grid.directive.mjs +106 -0
  10. package/esm2020/lib/sto-directives/sto-select-text-on-focus.directive.mjs +58 -0
  11. package/esm2020/lib/sto-pipes/currency-format.pipe.mjs +35 -0
  12. package/esm2020/lib/sto-pipes/date-format.pipe.mjs +47 -0
  13. package/esm2020/lib/sto-pipes/keys.pipe.mjs +27 -0
  14. package/esm2020/lib/sto-pipes/number-format.pipe.mjs +78 -0
  15. package/esm2020/lib/sto-pipes/sto-pipes.module.mjs +51 -0
  16. package/esm2020/lib/sto-pipes/with-unit.mjs +43 -0
  17. package/esm2020/lib/sto-pipes/yes-no.mjs +21 -0
  18. package/esm2020/lib/sto-user-preference/sto-user-preference.component.mjs +45 -0
  19. package/esm2020/lib/sto-user-preference/sto-user-preference.module.mjs +27 -0
  20. package/esm2020/lib/sto-user-preference/sto-user-preference.service.mjs +39 -0
  21. package/esm2020/ngx-stoui-core.mjs +5 -0
  22. package/fesm2015/ngx-stoui-core.mjs +926 -0
  23. package/fesm2015/ngx-stoui-core.mjs.map +1 -0
  24. package/{fesm2015/ngx-stoui-core.js → fesm2020/ngx-stoui-core.mjs} +69 -72
  25. package/fesm2020/ngx-stoui-core.mjs.map +1 -0
  26. package/ngx-datatable.css +3 -0
  27. package/ngx-stoui.css +139 -137
  28. package/package.json +22 -9
  29. package/style/datatable/_ngx-datatable-form.scss +7 -0
  30. package/style/form/sto-form.scss +6 -3
  31. package/style/sto-dialog.scss +1 -1
  32. package/style/theme/_appheader.scss +1 -1
  33. package/style/theme/_card.scss +1 -1
  34. package/style/theme/_colors.scss +1 -1
  35. package/style/theme/_datatable.scss +1 -1
  36. package/style/theme/_drawer.scss +1 -1
  37. package/style/theme/_filterpanel.scss +1 -1
  38. package/style/theme/_input-overrides.scss +1 -1
  39. package/style/theme/_message-panel.scss +1 -1
  40. package/style/theme/_sto-indicators.scss +1 -1
  41. package/style/theme/_theme-variables.scss +1 -1
  42. package/style/theme/_theme.scss +1 -1
  43. package/style/theme/_typography.scss +1 -1
  44. package/style/theme.scss +1 -1
  45. package/bundles/ngx-stoui-core.umd.js +0 -1350
  46. package/bundles/ngx-stoui-core.umd.js.map +0 -1
  47. package/esm2015/index.js +0 -18
  48. package/esm2015/index.js.map +0 -1
  49. package/esm2015/lib/abstract-and-interfaces/keyPress.enum.js +0 -140
  50. package/esm2015/lib/abstract-and-interfaces/keyPress.enum.js.map +0 -1
  51. package/esm2015/lib/sto-directives/context-menu.directive.js +0 -35
  52. package/esm2015/lib/sto-directives/context-menu.directive.js.map +0 -1
  53. package/esm2015/lib/sto-directives/date-form-field-click.directive.js +0 -45
  54. package/esm2015/lib/sto-directives/date-form-field-click.directive.js.map +0 -1
  55. package/esm2015/lib/sto-directives/directives.module.js +0 -56
  56. package/esm2015/lib/sto-directives/directives.module.js.map +0 -1
  57. package/esm2015/lib/sto-directives/index.js +0 -7
  58. package/esm2015/lib/sto-directives/index.js.map +0 -1
  59. package/esm2015/lib/sto-directives/menu-overlay.directive.js +0 -47
  60. package/esm2015/lib/sto-directives/menu-overlay.directive.js.map +0 -1
  61. package/esm2015/lib/sto-directives/quick-keys.directive.js +0 -78
  62. package/esm2015/lib/sto-directives/quick-keys.directive.js.map +0 -1
  63. package/esm2015/lib/sto-directives/sto-grid.directive.js +0 -106
  64. package/esm2015/lib/sto-directives/sto-grid.directive.js.map +0 -1
  65. package/esm2015/lib/sto-directives/sto-select-text-on-focus.directive.js +0 -58
  66. package/esm2015/lib/sto-directives/sto-select-text-on-focus.directive.js.map +0 -1
  67. package/esm2015/lib/sto-pipes/currency-format.pipe.js +0 -35
  68. package/esm2015/lib/sto-pipes/currency-format.pipe.js.map +0 -1
  69. package/esm2015/lib/sto-pipes/date-format.pipe.js +0 -47
  70. package/esm2015/lib/sto-pipes/date-format.pipe.js.map +0 -1
  71. package/esm2015/lib/sto-pipes/keys.pipe.js +0 -27
  72. package/esm2015/lib/sto-pipes/keys.pipe.js.map +0 -1
  73. package/esm2015/lib/sto-pipes/number-format.pipe.js +0 -78
  74. package/esm2015/lib/sto-pipes/number-format.pipe.js.map +0 -1
  75. package/esm2015/lib/sto-pipes/sto-pipes.module.js +0 -51
  76. package/esm2015/lib/sto-pipes/sto-pipes.module.js.map +0 -1
  77. package/esm2015/lib/sto-pipes/with-unit.js +0 -43
  78. package/esm2015/lib/sto-pipes/with-unit.js.map +0 -1
  79. package/esm2015/lib/sto-pipes/yes-no.js +0 -21
  80. package/esm2015/lib/sto-pipes/yes-no.js.map +0 -1
  81. package/esm2015/lib/sto-user-preference/sto-user-preference.component.js +0 -48
  82. package/esm2015/lib/sto-user-preference/sto-user-preference.component.js.map +0 -1
  83. package/esm2015/lib/sto-user-preference/sto-user-preference.module.js +0 -27
  84. package/esm2015/lib/sto-user-preference/sto-user-preference.module.js.map +0 -1
  85. package/esm2015/lib/sto-user-preference/sto-user-preference.service.js +0 -39
  86. package/esm2015/lib/sto-user-preference/sto-user-preference.service.js.map +0 -1
  87. package/esm2015/ngx-stoui-core.js +0 -5
  88. package/esm2015/ngx-stoui-core.js.map +0 -1
  89. package/fesm2015/ngx-stoui-core.js.map +0 -1
package/package.json CHANGED
@@ -1,19 +1,32 @@
1
1
  {
2
2
  "name": "@ngx-stoui/core",
3
- "version": "12.1.2",
3
+ "version": "13.0.0-BETA.0",
4
4
  "peerDependencies": {
5
- "@angular/common": "^12.0.2",
6
- "@angular/core": "^12.0.2",
5
+ "@angular/common": "^13.0.0",
6
+ "@angular/core": "^13.0.0",
7
7
  "date-fns": "^2.0.0"
8
8
  },
9
9
  "dependencies": {
10
10
  "tslib": "^2.1.0"
11
11
  },
12
- "main": "bundles/ngx-stoui-core.umd.js",
13
- "module": "fesm2015/ngx-stoui-core.js",
14
- "es2015": "fesm2015/ngx-stoui-core.js",
15
- "esm2015": "esm2015/ngx-stoui-core.js",
16
- "fesm2015": "fesm2015/ngx-stoui-core.js",
12
+ "module": "fesm2015/ngx-stoui-core.mjs",
13
+ "es2020": "fesm2020/ngx-stoui-core.mjs",
14
+ "esm2020": "esm2020/ngx-stoui-core.mjs",
15
+ "fesm2020": "fesm2020/ngx-stoui-core.mjs",
16
+ "fesm2015": "fesm2015/ngx-stoui-core.mjs",
17
17
  "typings": "ngx-stoui-core.d.ts",
18
+ "exports": {
19
+ "./package.json": {
20
+ "default": "./package.json"
21
+ },
22
+ ".": {
23
+ "types": "./ngx-stoui-core.d.ts",
24
+ "esm2020": "./esm2020/ngx-stoui-core.mjs",
25
+ "es2020": "./fesm2020/ngx-stoui-core.mjs",
26
+ "es2015": "./fesm2015/ngx-stoui-core.mjs",
27
+ "node": "./fesm2015/ngx-stoui-core.mjs",
28
+ "default": "./fesm2020/ngx-stoui-core.mjs"
29
+ }
30
+ },
18
31
  "sideEffects": false
19
- }
32
+ }
@@ -1,5 +1,12 @@
1
1
  .sto-datatable {
2
2
  .sto-form__field {
3
+
4
+ &--readonly, &--disabled {
5
+ .mat-form-field-flex {
6
+ border: 0;
7
+ }
8
+ }
9
+
3
10
  width: 100%;
4
11
 
5
12
  input[type="number"] {
@@ -241,10 +241,13 @@ $height: 72px;
241
241
  .mat-input-element {
242
242
  cursor: default;
243
243
  }
244
+
244
245
  .mat-form-field-flex {
246
+ border: 1px solid var(--divider);
245
247
  background-color: transparent;
246
248
  }
247
- :hover{
249
+
250
+ :hover {
248
251
  .mat-form-field-flex {
249
252
  background-color: transparent;
250
253
  }
@@ -277,10 +280,10 @@ $height: 72px;
277
280
  visibility: hidden;
278
281
  }
279
282
 
280
-
281
-
282
283
  .mat-form-field-flex {
283
284
  cursor: default;
285
+ border: 1px solid var(--divider);
286
+ background-color: transparent;
284
287
  }
285
288
  }
286
289
 
@@ -1,4 +1,4 @@
1
- @use '~@angular/material' as mat;
1
+ @use '@angular/material' as mat;
2
2
  @import "./theme/typography";
3
3
 
4
4
  @mixin sto-dialog-typography($config) {
@@ -1,4 +1,4 @@
1
- @use '~@angular/material' as mat;
1
+ @use '@angular/material' as mat;
2
2
  @import "theme";
3
3
  @import "typography";
4
4
 
@@ -1,4 +1,4 @@
1
- @use '~@angular/material' as mat;
1
+ @use '@angular/material' as mat;
2
2
  @import "typography";
3
3
 
4
4
  @mixin sto-card-typography($config) {
@@ -1,4 +1,4 @@
1
- @use '~@angular/material' as mat;
1
+ @use '@angular/material' as mat;
2
2
  @use 'sass:map';
3
3
 
4
4
 
@@ -1,4 +1,4 @@
1
- @use '~@angular/material' as mat;
1
+ @use '@angular/material' as mat;
2
2
  @import "theme";
3
3
  @import "typography";
4
4
 
@@ -1,4 +1,4 @@
1
- @use '~@angular/material' as mat;
1
+ @use '@angular/material' as mat;
2
2
  @import "theme";
3
3
  @import "typography";
4
4
 
@@ -1,4 +1,4 @@
1
- @use '~@angular/material' as mat;
1
+ @use '@angular/material' as mat;
2
2
  @import "theme";
3
3
  @import "typography";
4
4
 
@@ -1,4 +1,4 @@
1
- @use '~@angular/material' as mat;
1
+ @use '@angular/material' as mat;
2
2
  @import "theme";
3
3
  @import "typography";
4
4
 
@@ -1,4 +1,4 @@
1
- @use '~@angular/material' as mat;
1
+ @use '@angular/material' as mat;
2
2
  @import "theme";
3
3
  @import "typography";
4
4
 
@@ -1,4 +1,4 @@
1
- @use '~@angular/material' as mat;
1
+ @use '@angular/material' as mat;
2
2
  @import "./theme-variables";
3
3
  @import "./theme";
4
4
  @import "colors";
@@ -1,4 +1,4 @@
1
- @use '~@angular/material' as mat;
1
+ @use '@angular/material' as mat;
2
2
 
3
3
  @function theme_variables($theme) {
4
4
  $primary-palette: map-get($theme, primary);
@@ -1,4 +1,4 @@
1
- @use '~@angular/material' as mat;
1
+ @use '@angular/material' as mat;
2
2
  @use 'sass:map' as map;
3
3
  @import "./theme-variables";
4
4
  @import "colors";
@@ -1,4 +1,4 @@
1
- @use '~@angular/material' as mat;
1
+ @use '@angular/material' as mat;
2
2
 
3
3
  $base-font-size: 13px;
4
4
  $sm-font-size: 10px;
package/style/theme.scss CHANGED
@@ -1,4 +1,4 @@
1
- @use '~@angular/material' as mat;
1
+ @use '@angular/material' as mat;
2
2
  @import "./theme/typography";
3
3
  @import "./theme/theme";
4
4
  @import "./theme/components";