ontimize-web-ngx 15.0.0-beta.0 → 15.0.0-beta.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.
Files changed (85) hide show
  1. package/esm2020/lib/components/app-sidenav/o-app-sidenav.component.mjs +2 -2
  2. package/esm2020/lib/components/button-toggle/o-button-toggle-group/o-button-toggle-group.component.mjs +13 -15
  3. package/esm2020/lib/components/card-menu-item/o-card-menu-item.component.mjs +6 -8
  4. package/esm2020/lib/components/form/navigation/o-form.navigation.class.mjs +2 -2
  5. package/esm2020/lib/components/form-container/o-form-container.component.mjs +6 -8
  6. package/esm2020/lib/components/index.mjs +2 -3
  7. package/esm2020/lib/components/o-service-base-component.class.mjs +1 -1
  8. package/esm2020/lib/components/o-service-component.class.mjs +2 -1
  9. package/esm2020/lib/components/table/column/calculated/o-table-column-calculated.component.mjs +6 -7
  10. package/esm2020/lib/components/table/column/o-table-column.component.mjs +123 -129
  11. package/esm2020/lib/components/table/extensions/default-o-table.datasource.mjs +46 -9
  12. package/esm2020/lib/components/table/extensions/dialog/filter-by-column/o-table-filter-by-column-data-dialog.component.mjs +3 -3
  13. package/esm2020/lib/components/table/extensions/header/table-insertable-row/o-table-insertable-row.component.mjs +6 -7
  14. package/esm2020/lib/components/table/extensions/header/table-quickfilter/o-table-quickfilter.component.mjs +4 -4
  15. package/esm2020/lib/components/table/o-table.component.mjs +13 -14
  16. package/esm2020/lib/components/user-info/index.mjs +5 -0
  17. package/esm2020/lib/components/user-info/o-user-info.module.mjs +3 -3
  18. package/esm2020/lib/interfaces/o-table-column.interface.mjs +1 -1
  19. package/esm2020/lib/layouts/form-layout/dialog/o-form-layout-dialog.component.mjs +20 -22
  20. package/esm2020/lib/layouts/form-layout/dialog/options/o-form-layout-dialog-options.directive.mjs +7 -3
  21. package/esm2020/lib/layouts/form-layout/o-form-layout-manager.component.mjs +10 -4
  22. package/esm2020/lib/layouts/form-layout/split-pane/o-form-layout-split-pane.component.mjs +8 -9
  23. package/esm2020/lib/layouts/form-layout/tabgroup/o-form-layout-tabgroup.component.mjs +6 -8
  24. package/esm2020/lib/services/appearance.service.mjs +14 -2
  25. package/esm2020/lib/services/o-error-dialog-manager.service.mjs +8 -4
  26. package/esm2020/lib/services/translate/o-translate.service.mjs +3 -2
  27. package/esm2020/lib/util/util.mjs +5 -1
  28. package/fesm2015/ontimize-web-ngx.mjs +275 -230
  29. package/fesm2015/ontimize-web-ngx.mjs.map +1 -1
  30. package/fesm2020/ontimize-web-ngx.mjs +275 -230
  31. package/fesm2020/ontimize-web-ngx.mjs.map +1 -1
  32. package/lib/components/button-toggle/o-button-toggle-group/o-button-toggle-group.component.d.ts +1 -3
  33. package/lib/components/card-menu-item/o-card-menu-item.component.d.ts +2 -3
  34. package/lib/components/form-container/o-form-container.component.d.ts +1 -3
  35. package/lib/components/index.d.ts +1 -2
  36. package/lib/components/table/column/calculated/o-table-column-calculated.component.d.ts +2 -3
  37. package/lib/components/table/column/o-table-column.component.d.ts +3 -4
  38. package/lib/components/table/extensions/default-o-table.datasource.d.ts +1 -0
  39. package/lib/components/table/extensions/header/table-insertable-row/o-table-insertable-row.component.d.ts +2 -3
  40. package/lib/components/table/o-table.component.d.ts +5 -6
  41. package/lib/components/user-info/index.d.ts +4 -0
  42. package/lib/components/user-info/o-user-info.module.d.ts +1 -1
  43. package/lib/interfaces/o-table-column.interface.d.ts +2 -2
  44. package/lib/layouts/form-layout/dialog/o-form-layout-dialog.component.d.ts +4 -4
  45. package/lib/layouts/form-layout/dialog/options/o-form-layout-dialog-options.directive.d.ts +3 -1
  46. package/lib/layouts/form-layout/o-form-layout-manager.component.d.ts +2 -1
  47. package/lib/layouts/form-layout/split-pane/o-form-layout-split-pane.component.d.ts +2 -3
  48. package/lib/layouts/form-layout/tabgroup/o-form-layout-tabgroup.component.d.ts +2 -3
  49. package/lib/services/appearance.service.d.ts +3 -0
  50. package/lib/services/o-error-dialog-manager.service.d.ts +2 -2
  51. package/lib/services/translate/o-translate.service.d.ts +1 -0
  52. package/lib/util/util.d.ts +1 -0
  53. package/package.json +1 -1
  54. package/theme.scss +73 -171
  55. package/theming/{ontimize-theme.scss → ontimize-style-v8.scss} +54 -96
  56. package/theming/{implatform-fashion-theme.scss → ontimize-style.scss} +128 -32
  57. package/theming/styles/{lite/layout-lite.scss → layout.scss} +1 -1
  58. package/theming/styles/{fashion/typography-fashion.scss → ontimize/typography-ontimize.scss} +14 -4
  59. package/theming/styles/{lite/typography-lite.scss → ontimize-v8/containers.scss} +1 -97
  60. package/theming/styles/ontimize-v8/o-form-field-style.scss +59 -0
  61. package/theming/styles/ontimize-v8/o-table-style.scss +224 -0
  62. package/theming/styles/ontimize-v8/variables.scss +13 -0
  63. package/theming/styles/paginator.scss +4 -0
  64. package/theming/themes/fashion.scss +46 -0
  65. package/theming/themes/ontimize-black-yellow.scss +3 -5
  66. package/theming/themes/ontimize-blue.scss +21 -0
  67. package/theming/themes/ontimize.scss +8 -16
  68. package/theming/{styles/lite/typography/ontimize-lite.scss → typography/ontimize.scss} +3 -3
  69. package/theming/ontimize-theme-flat.scss +0 -330
  70. package/theming/ontimize-theme-lite.scss +0 -40
  71. package/theming/styles/default/typography/ontimize.scss +0 -9
  72. package/theming/styles/flat/variables.scss +0 -8
  73. package/theming/styles/lite/form-field/o-form-field-theme.scss +0 -57
  74. package/theming/styles/lite/layout.scss +0 -70
  75. package/theming/styles/lite/paginator.scss +0 -6
  76. package/theming/themes/implatform-fashion-default-theme.scss +0 -148
  77. package/theming/themes/mat-deeppurple-amber.scss +0 -12
  78. package/theming/themes/mat-indigo-pink.scss +0 -11
  79. package/theming/themes/mat-pink-bluegrey.scss +0 -11
  80. package/theming/themes/mat-purple-green.scss +0 -11
  81. package/theming/themes/ontimize-lite.scss +0 -29
  82. /package/theming/{styles/default/addons → addons}/charts-on-demand.scss +0 -0
  83. /package/theming/{styles/default/addons → addons}/report-on-demand.scss +0 -0
  84. /package/theming/styles/{fashion → ontimize}/variables.scss +0 -0
  85. /package/theming/{styles/default/typography → typography}/o-table-typography.scss +0 -0
@@ -1,148 +0,0 @@
1
- @use "sass:color";
2
- @use "sass:map";
3
- @use '@angular/material'as mat;
4
-
5
- @include mat.all-component-typographies();
6
- @include mat.core();
7
-
8
- //Definition primary and accent palettes
9
- $default-palette: (50: #e8e3f4,
10
- 100: #c5b9e4,
11
- 200: #9f8ad2,
12
- 300: #795bc0,
13
- 400: #5c37b3,
14
- 500: #3f14a5,
15
- 600: #39129d,
16
- 700: #310e93,
17
- 800: #290b8a,
18
- 900: #1b0679,
19
- A100: #b3a8ff,
20
- A200: #8775ff,
21
- A400: #5b42ff,
22
- A700: #4428ff,
23
- contrast: (50: #000000,
24
- 100: #000000,
25
- 200: #000000,
26
- 300: #ffffff,
27
- 400: #ffffff,
28
- 500: #ffffff,
29
- 600: #ffffff,
30
- 700: #ffffff,
31
- 800: #ffffff,
32
- 900: #ffffff,
33
- A100: #000000,
34
- A200: #000000,
35
- A400: #ffffff,
36
- A700: #ffffff,
37
- ),
38
- );
39
-
40
- // Define a theme.
41
- $primary: mat.define-palette($default-palette);
42
- $accent: mat.define-palette($default-palette);
43
-
44
-
45
- /*Application background-color*/
46
- $app-background-color: #eaeaea;
47
- /*Sidenav background-color*/
48
- $sidenav-background-color: #f5f5f5;
49
-
50
- // Background palette for light themes.
51
- @function fashion-light-theme-background($primary, $mat-theme) {
52
- $primary-500: mat.get-color-from-palette($primary, 500);
53
- $background: map.get($mat-theme, background);
54
- @return map.merge($background,
55
- (level-0: mix($app-background-color, $primary-500, 98%),
56
- level-04: #f2f2f2,
57
- level-06: #f6f6f6,
58
- level-08: #fafafa,
59
- level-1: white,
60
- sidenav-overlay: #525252,
61
- status-bar: mix($sidenav-background-color, mat.get-color-from-palette($primary), 97.2%),
62
- app-bar: mix($sidenav-background-color, mat.get-color-from-palette($primary), 97.2%),
63
- background: mix($app-background-color, mat.get-color-from-palette($primary), 97.2%)));
64
- }
65
-
66
- // Background palette for dark themes.
67
- @function fashion-dark-theme-background($primary, $mat-theme) {
68
- $primary-500: mat.get-color-from-palette($primary, 500);
69
- $background: map.get($mat-theme, background);
70
- @return map.merge($background,
71
- (level-0: mix(#171717, $primary-500, 94%),
72
- level-04: mix(#1E1E1E, $primary-500, 94%),
73
- level-06: mix(#2C2C2C, $primary-500, 94%),
74
- level-08: mix(#333333, $primary-500, 94%),
75
- level-1: mix(#383838, $primary-500, 94%),
76
- sidenav-overlay: #525252,
77
- status-bar: mix(#272727, $primary-500, 94%)));
78
- }
79
-
80
- // Foreground palette for light themes.
81
- $fashion-light-theme-foreground: (base: rgba(black, 0.6),
82
- divider: rgba(black, 0.12),
83
- dividers: rgba(black, 0.12),
84
- disabled: rgba(black, 0.38),
85
- disabled-button: rgba(black, 0.38),
86
- disabled-text: rgba(black, 0.38),
87
- elevation: black,
88
- hint-text: rgba(black, 0.38),
89
- secondary-text: rgba(black, 0.54),
90
- title: rgba(black, 0.87),
91
- icon: rgba(black, 0.6),
92
- icons: rgba(black, 0.6),
93
- text: rgba(black, 0.87),
94
- slider-min: rgba(black, 0.38),
95
- slider-off: rgba(black, 0.38),
96
- slider-off-active: rgba(black, 0.38),
97
- button: rgba(black, 0.74));
98
-
99
- // Foreground palette for dark themes.
100
- $fashion-dark-theme-foreground: (base: rgba(white, 0.6),
101
- divider: rgba(white, 0.12),
102
- dividers: rgba(white, 0.12),
103
- disabled: rgba(white, 0.38),
104
- disabled-button: rgba(white, 0.38),
105
- disabled-text: rgba(white, 0.38),
106
- elevation: black,
107
- hint-text: rgba(white, 0.38),
108
- secondary-text: rgba(white, 0.54),
109
- title: rgba(white, 0.87),
110
- icon: rgba(white, 0.6),
111
- icons: rgba(white, 0.6),
112
- text: rgba(white, 0.87),
113
- slider-min: rgba(white, 0.38),
114
- slider-off: rgba(white, 0.38),
115
- slider-off-active: rgba(white, 0.38),
116
- button: rgba(white, 0.74));
117
-
118
-
119
- // Creates a container object for a light theme to be given to individual component theme mixins.
120
- @function fashion-mat-light-theme($primary, $accent, $warn: mat.define-palette(mat.$red-palette)) {
121
- $mat-theme: mat.define-light-theme((color:(primary: $primary, accent: $accent, warn: $warn)));
122
- $color: map.get($mat-theme, color);
123
- @return (color:(primary: $primary,
124
- accent: $accent,
125
- warn: $warn,
126
- is-dark: false,
127
- foreground: $fashion-light-theme-foreground,
128
- background: fashion-light-theme-background($primary, $color)),
129
- typography:mat.define-typography-config())
130
- }
131
-
132
- // Creates a container object for a dark theme to be given to individual component theme mixins.
133
- @function fashion-mat-dark-theme($primary, $accent, $warn: mat.define-palette(mat.$red-palette)) {
134
- $mat-theme: mat.define-dark-theme((color:(primary: $primary, accent: $accent, warn: $warn)));
135
- $color: map.get($mat-theme, color);
136
- @return (color:(primary: $primary,
137
- accent: $accent,
138
- warn: $warn,
139
- is-dark: true,
140
- foreground: $fashion-dark-theme-foreground,
141
- background: fashion-dark-theme-background($primary, $color)),
142
- typography: mat.define-typography-config());
143
- }
144
-
145
- /* Light theme */
146
- $theme: fashion-mat-light-theme($primary, $accent);
147
- /* Dark theme */
148
- $dark-theme: fashion-mat-dark-theme($primary, $accent);
@@ -1,12 +0,0 @@
1
- @use '@angular/material'as mat;
2
- @use '../ontimize-theme.scss';
3
-
4
- @include mat.all-component-typographies();
5
- @include mat.core();
6
-
7
- $primary: mat.define-palette(mat.$deep-purple-palette);
8
- $accent: mat.define-palette(mat.$amber-palette, A200, A100, A400);
9
-
10
-
11
- $theme: ontimize-theme.o-mat-light-theme($primary, $accent);
12
- $dark-theme: ontimize-theme.o-mat-dark-theme($primary,$accent);
@@ -1,11 +0,0 @@
1
- @use '@angular/material'as mat;
2
- @use '../ontimize-theme.scss';
3
-
4
- @include mat.all-component-typographies();
5
- @include mat.core();
6
-
7
- $primary: mat.define-palette(mat.$indigo-palette);
8
- $accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
9
-
10
- $theme: ontimize-theme.o-mat-light-theme($primary, $accent);
11
- $dark-theme: ontimize-theme.o-mat-dark-theme($primary, $accent);
@@ -1,11 +0,0 @@
1
- @use '@angular/material'as mat;
2
- @use '../ontimize-theme.scss';
3
-
4
- @include mat.all-component-typographies();
5
- @include mat.core();
6
-
7
- $primary: mat.define-palette(mat.$pink-palette);
8
- $accent: mat.define-palette(mat.$blue-grey-palette, A200, A100, A400);
9
-
10
- $theme: ontimize-theme.o-mat-light-theme($primary, $accent);
11
- $dark-theme: ontimize-theme.o-mat-dark-theme($primary, $accent);
@@ -1,11 +0,0 @@
1
- @use '@angular/material'as mat;
2
- @use '../ontimize-theme.scss';
3
-
4
- @include mat.all-component-typographies();
5
- @include mat.core();
6
-
7
- $primary: mat.define-palette(mat.$purple-palette, 700, 500, 800);
8
- $accent: mat.define-palette(mat.$green-palette, A200, A100, A400);
9
-
10
- $theme: ontimize-theme.o-mat-light-theme($primary, $accent);
11
- $dark-theme: ontimize-theme.o-mat-dark-theme($primary, $accent);
@@ -1,29 +0,0 @@
1
- @use "sass:map";
2
- @use '@angular/material'as mat;
3
- @use '../ontimize-theme.scss';
4
-
5
- @include mat.all-component-typographies();
6
- @include mat.core();
7
-
8
- /* Color definitions */
9
- $mat-custom-primary: (50 : #e3ecf4, 100 : #b9d1e4, 200 : #8ab2d2, 300 : #5b93c0, 400 : #377bb3, 500 : #1464a5, 600 : #125c9d, 700 : #0e5293, 800 : #0b488a, 900 : #063679, A100 : #a8c7ff, A200 : #75a7ff, A400 : #4286ff, A700 : #2876ff, contrast: (50 : #000000, 100 : #000000, 200 : #000000, 300 : #000000, 400 : #ffffff, 500 : #ffffff, 600 : #ffffff, 700 : #ffffff, 800 : #ffffff, 900 : #ffffff, A100 : #000000, A200 : #000000, A400 : #ffffff, A700 : #ffffff));
10
-
11
- $mat-custom-accent: (50 : #e3ecf4, 100 : #b9d1e4, 200 : #8ab2d2, 300 : #5b93c0, 400 : #377bb3, 500 : #1464a5, 600 : #125c9d, 700 : #0e5293, 800 : #0b488a, 900 : #063679, A100 : #a8c7ff, A200 : #75a7ff, A400 : #4286ff, A700 : #2876ff, contrast: (50 : #000000, 100 : #000000, 200 : #000000, 300 : #000000, 400 : #ffffff, 500 : #ffffff, 600 : #ffffff, 700 : #ffffff, 800 : #ffffff, 900 : #ffffff, A100 : #000000, A200 : #000000, A400 : #ffffff, A700 : #ffffff));
12
-
13
- // Define a theme.
14
- $primary: mat.define-palette($mat-custom-primary);
15
- $accent: mat.define-palette($mat-custom-accent);
16
- $background-color: #eceff1;
17
-
18
- /* Light theme */
19
- $theme: ontimize-theme.o-mat-light-theme((color: (primary: $primary, accent: $accent), typography: mat.define-typography-config()));
20
-
21
- // Insert custom background color
22
- $background: map.get($theme, color, background);
23
- $background: map.merge($background, (background: $background-color));
24
-
25
- $theme: map.merge($theme, color, (background: $background));
26
- /* Dark theme */
27
- $primary-dark: mat.define-palette($mat-custom-primary);
28
- $accent-dark: mat.define-palette($mat-custom-accent);
29
- $dark-theme: ontimize-theme.o-mat-dark-theme((color: (primary: $primary, accent: $accent), typography: mat.define-typography-config()));