@igo2/common 16.0.0-rc.2 → 16.0.0-rc.3

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 (50) hide show
  1. package/esm2022/lib/action/actionbar/actionbar.component.mjs +2 -2
  2. package/esm2022/lib/action/shared/action.interfaces.mjs +1 -1
  3. package/esm2022/lib/action/shared/store.mjs +1 -1
  4. package/esm2022/lib/backdrop/backdrop.component.mjs +2 -2
  5. package/esm2022/lib/clone/clone.pipe.mjs +1 -1
  6. package/esm2022/lib/collapsible/collapsible.component.mjs +2 -2
  7. package/esm2022/lib/color-picker-form-field/index.mjs +1 -1
  8. package/esm2022/lib/confirm-dialog/confirm-dialog.component.mjs +2 -2
  9. package/esm2022/lib/custom-html/custom-html.pipe.mjs +1 -1
  10. package/esm2022/lib/dom/dom.module.mjs +1 -1
  11. package/esm2022/lib/dynamic-component/shared/dynamic-component.mjs +1 -1
  12. package/esm2022/lib/dynamic-component/shared/dynamic-component.service.mjs +1 -1
  13. package/esm2022/lib/entity/entity-selector/entity-selector.component.mjs +2 -2
  14. package/esm2022/lib/entity/entity-table/entity-table.component.mjs +3 -5
  15. package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.component.mjs +2 -2
  16. package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.interface.mjs +1 -1
  17. package/esm2022/lib/entity/shared/strategies/filter-custom-function.mjs +1 -1
  18. package/esm2022/lib/entity/shared/strategies/filter-selection.mjs +1 -1
  19. package/esm2022/lib/entity/shared/strategies/strategy.mjs +1 -1
  20. package/esm2022/lib/flexible/flexible.component.mjs +2 -2
  21. package/esm2022/lib/form/form/form.component.mjs +2 -2
  22. package/esm2022/lib/form/form-field/form-field-select.component.mjs +2 -2
  23. package/esm2022/lib/form/form-field/form-field-text.component.mjs +2 -2
  24. package/esm2022/lib/form/form-field/form-field-textarea.component.mjs +2 -2
  25. package/esm2022/lib/form/form-field/form-field.component.mjs +2 -2
  26. package/esm2022/lib/form/form-group/form-group.component.mjs +2 -2
  27. package/esm2022/lib/form/shared/form-field.service.mjs +1 -1
  28. package/esm2022/lib/form/shared/form.utils.mjs +1 -1
  29. package/esm2022/lib/home-button/home-button.component.mjs +2 -2
  30. package/esm2022/lib/json-dialog/json-dialog.component.mjs +2 -2
  31. package/esm2022/lib/list/list.component.mjs +2 -2
  32. package/esm2022/lib/panel/panel.component.mjs +2 -2
  33. package/esm2022/lib/spinner/spinner.component.mjs +2 -2
  34. package/esm2022/lib/table/table-model.interface.mjs +1 -1
  35. package/esm2022/lib/table/table.component.mjs +2 -2
  36. package/esm2022/lib/tool/shared/tool-component.mjs +1 -1
  37. package/esm2022/lib/tool/toolbox/toolbox.component.mjs +2 -2
  38. package/esm2022/lib/widget/widget-outlet/widget-outlet.component.mjs +2 -2
  39. package/esm2022/lib/workspace/shared/workspace.interfaces.mjs +1 -1
  40. package/esm2022/lib/workspace/workspace-selector/workspace-selector.component.mjs +2 -2
  41. package/esm2022/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +2 -2
  42. package/fesm2022/igo2-common.mjs +25 -27
  43. package/fesm2022/igo2-common.mjs.map +1 -1
  44. package/lib/action/action.theming.scss +5 -5
  45. package/lib/collapsible/collapsible.theming.scss +22 -22
  46. package/lib/entity/entity-table/entity-table.component.d.ts +3 -3
  47. package/lib/home-button/home-button.theming.scss +18 -18
  48. package/lib/interactive-tour/interactive-tour.theming.scss +32 -32
  49. package/lib/tool/toolbox/toolbox.theming.scss +105 -105
  50. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
- @use './actionbar/actionbar-item.theming.scss' as actionbar-item;
2
-
3
- @mixin igo-action-theming($theme) {
4
- @include actionbar-item.density($theme);
5
- }
1
+ @use './actionbar/actionbar-item.theming.scss' as actionbar-item;
2
+
3
+ @mixin igo-action-theming($theme) {
4
+ @include actionbar-item.density($theme);
5
+ }
@@ -1,22 +1,22 @@
1
- @mixin igo-collapsible-theming($theme) {
2
- mat-icon[igocollapse] {
3
- &:hover {
4
- cursor: pointer;
5
- }
6
-
7
- &.igo-chevron {
8
- width: auto !important;
9
- transform: rotateZ(0deg);
10
- transition: 300ms ease-in-out;
11
-
12
- &.collapsed {
13
- transform: rotateZ(180deg);
14
- transition: 300ms ease-in-out;
15
- }
16
- }
17
- }
18
-
19
- div.igo-collapsed {
20
- display: none !important;
21
- }
22
- }
1
+ @mixin igo-collapsible-theming($theme) {
2
+ mat-icon[igocollapse] {
3
+ &:hover {
4
+ cursor: pointer;
5
+ }
6
+
7
+ &.igo-chevron {
8
+ width: auto !important;
9
+ transform: rotateZ(0deg);
10
+ transition: 300ms ease-in-out;
11
+
12
+ &.collapsed {
13
+ transform: rotateZ(180deg);
14
+ transition: 300ms ease-in-out;
15
+ }
16
+ }
17
+ }
18
+
19
+ div.igo-collapsed {
20
+ display: none !important;
21
+ }
22
+ }
@@ -1,5 +1,5 @@
1
1
  import { FocusMonitor } from '@angular/cdk/a11y';
2
- import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
+ import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TrackByFunction } from '@angular/core';
3
3
  import { FormControlName, NgControl, NgForm, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
4
4
  import { DateAdapter, ErrorStateMatcher } from '@angular/material/core';
5
5
  import { MatPaginator } from '@angular/material/paginator';
@@ -190,9 +190,9 @@ export declare class EntityTableComponent implements OnInit, OnChanges, OnDestro
190
190
  * @param index Record index
191
191
  * @internal
192
192
  */
193
- getTrackByFunction(): (index: number, record: EntityRecord<object, EntityState>) => string;
193
+ getTrackByFunction(): TrackByFunction<RowData>;
194
194
  /**
195
- * Trigger a refresh of thre table. This can be useful when
195
+ * Trigger a refresh of the table. This can be useful when
196
196
  * the data source doesn't emit a new value but for some reason
197
197
  * the records need an update.
198
198
  * @internal
@@ -1,18 +1,18 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- $primary: map.get($theme, primary);
6
- $accent: map.get($theme, accent);
7
- $foreground: map.get($theme, foreground);
8
-
9
- igo-home-button > #homeButton {
10
- background-color: mat.get-color-from-palette($primary);
11
- color: mat.get-color-from-palette($primary, default-contrast);
12
-
13
- &:hover {
14
- background-color: mat.get-color-from-palette($accent, lighter);
15
- color: black;
16
- }
17
- }
18
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+
4
+ @mixin theme($theme) {
5
+ $primary: map.get($theme, primary);
6
+ $accent: map.get($theme, accent);
7
+ $foreground: map.get($theme, foreground);
8
+
9
+ igo-home-button > #homeButton {
10
+ background-color: mat.get-color-from-palette($primary);
11
+ color: mat.get-color-from-palette($primary, default-contrast);
12
+
13
+ &:hover {
14
+ background-color: mat.get-color-from-palette($accent, lighter);
15
+ color: black;
16
+ }
17
+ }
18
+ }
@@ -1,32 +1,32 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- @include color($theme);
6
- }
7
-
8
- @mixin color($theme) {
9
- $primary: map.get($theme, primary);
10
- $accent: map.get($theme, accent);
11
- $warn: map.get($theme, warn);
12
-
13
- igo-interactive-tour {
14
- button {
15
- &.tour-button-tool-icon {
16
- color: mat.get-color-from-palette($primary, darker-contrast);
17
-
18
- &:hover {
19
- background-color: mat.get-color-from-palette(
20
- $primary,
21
- default-contrast
22
- );
23
- color: mat.get-color-from-palette($primary);
24
- }
25
- }
26
- }
27
-
28
- .mat-primary .mat-mdc-icon-button {
29
- color: white;
30
- }
31
- }
32
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+
4
+ @mixin theme($theme) {
5
+ @include color($theme);
6
+ }
7
+
8
+ @mixin color($theme) {
9
+ $primary: map.get($theme, primary);
10
+ $accent: map.get($theme, accent);
11
+ $warn: map.get($theme, warn);
12
+
13
+ igo-interactive-tour {
14
+ button {
15
+ &.tour-button-tool-icon {
16
+ color: mat.get-color-from-palette($primary, darker-contrast);
17
+
18
+ &:hover {
19
+ background-color: mat.get-color-from-palette(
20
+ $primary,
21
+ default-contrast
22
+ );
23
+ color: mat.get-color-from-palette($primary);
24
+ }
25
+ }
26
+ }
27
+
28
+ .mat-primary .mat-mdc-icon-button {
29
+ color: white;
30
+ }
31
+ }
32
+ }
@@ -1,105 +1,105 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin igo-toolbox-theming($theme) {
5
- @include color($theme);
6
- @include density($theme);
7
- }
8
-
9
- @mixin color($theme) {
10
- $primary: map.get($theme, primary);
11
- $accent: map.get($theme, accent);
12
- $foreground: map.get($theme, foreground);
13
- $darker-contrast: mat.get-color-from-palette($primary, darker-contrast);
14
- $lighter-contrast: mat.get-color-from-palette($primary, lighter-contrast);
15
-
16
- igo-toolbox {
17
- &.color-primary > igo-actionbar:not(.with-title) {
18
- box-shadow: unset;
19
- background-color: mat.get-color-from-palette($primary);
20
- #lowChevron,
21
- #topChevron {
22
- background-color: mat.get-color-from-palette($primary);
23
- color: white;
24
- }
25
- }
26
-
27
- &.color-grey > igo-actionbar:not(.with-title) {
28
- box-shadow: unset;
29
- background-color: #737475;
30
- #lowChevron,
31
- #topChevron {
32
- background-color: #737475;
33
- color: white;
34
- }
35
- }
36
-
37
- &.color-primary,
38
- &.color-grey {
39
- & > igo-actionbar:not(.with-title) mat-list.mat-mdc-list-base {
40
- .mat-mdc-list-item.mdc-list-item--with-leading-avatar {
41
- color: white;
42
- &:hover {
43
- color: black;
44
- }
45
-
46
- &.tool-activated,
47
- &.children-tool-activated {
48
- background-color: white;
49
- color: black;
50
- }
51
- }
52
- }
53
- }
54
-
55
- > igo-actionbar {
56
- &:not(.with-title) {
57
- > mat-list {
58
- & > #lowChevron,
59
- & > #topChevron {
60
- &:hover {
61
- background-color: mat.get-color-from-palette($accent, lighter);
62
- color: black;
63
- }
64
- }
65
-
66
- mat-list-item {
67
- color: $lighter-contrast;
68
- }
69
- }
70
- }
71
-
72
- mat-list.mat-mdc-list-base igo-actionbar-item mat-list-item {
73
- &:hover {
74
- background-color: mat.get-color-from-palette($accent, lighter);
75
- }
76
-
77
- &.tool-activated,
78
- &.children-tool-activated {
79
- color: $lighter-contrast;
80
- background-color: $darker-contrast;
81
-
82
- button {
83
- cursor: default;
84
- }
85
- }
86
- }
87
- }
88
- }
89
- }
90
-
91
- @mixin density($theme) {
92
- $density: mat.get-density-config($theme);
93
- $theme: map.merge(
94
- $theme,
95
- (
96
- density: $density - 2
97
- )
98
- );
99
-
100
- igo-toolbox {
101
- igo-actionbar-item {
102
- @include mat.list-density($theme);
103
- }
104
- }
105
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+
4
+ @mixin igo-toolbox-theming($theme) {
5
+ @include color($theme);
6
+ @include density($theme);
7
+ }
8
+
9
+ @mixin color($theme) {
10
+ $primary: map.get($theme, primary);
11
+ $accent: map.get($theme, accent);
12
+ $foreground: map.get($theme, foreground);
13
+ $darker-contrast: mat.get-color-from-palette($primary, darker-contrast);
14
+ $lighter-contrast: mat.get-color-from-palette($primary, lighter-contrast);
15
+
16
+ igo-toolbox {
17
+ &.color-primary > igo-actionbar:not(.with-title) {
18
+ box-shadow: unset;
19
+ background-color: mat.get-color-from-palette($primary);
20
+ #lowChevron,
21
+ #topChevron {
22
+ background-color: mat.get-color-from-palette($primary);
23
+ color: white;
24
+ }
25
+ }
26
+
27
+ &.color-grey > igo-actionbar:not(.with-title) {
28
+ box-shadow: unset;
29
+ background-color: #737475;
30
+ #lowChevron,
31
+ #topChevron {
32
+ background-color: #737475;
33
+ color: white;
34
+ }
35
+ }
36
+
37
+ &.color-primary,
38
+ &.color-grey {
39
+ & > igo-actionbar:not(.with-title) mat-list.mat-mdc-list-base {
40
+ .mat-mdc-list-item.mdc-list-item--with-leading-avatar {
41
+ color: white;
42
+ &:hover {
43
+ color: black;
44
+ }
45
+
46
+ &.tool-activated,
47
+ &.children-tool-activated {
48
+ background-color: white;
49
+ color: black;
50
+ }
51
+ }
52
+ }
53
+ }
54
+
55
+ > igo-actionbar {
56
+ &:not(.with-title) {
57
+ > mat-list {
58
+ & > #lowChevron,
59
+ & > #topChevron {
60
+ &:hover {
61
+ background-color: mat.get-color-from-palette($accent, lighter);
62
+ color: black;
63
+ }
64
+ }
65
+
66
+ mat-list-item {
67
+ color: $lighter-contrast;
68
+ }
69
+ }
70
+ }
71
+
72
+ mat-list.mat-mdc-list-base igo-actionbar-item mat-list-item {
73
+ &:hover {
74
+ background-color: mat.get-color-from-palette($accent, lighter);
75
+ }
76
+
77
+ &.tool-activated,
78
+ &.children-tool-activated {
79
+ color: $lighter-contrast;
80
+ background-color: $darker-contrast;
81
+
82
+ button {
83
+ cursor: default;
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+
91
+ @mixin density($theme) {
92
+ $density: mat.get-density-config($theme);
93
+ $theme: map.merge(
94
+ $theme,
95
+ (
96
+ density: $density - 2
97
+ )
98
+ );
99
+
100
+ igo-toolbox {
101
+ igo-actionbar-item {
102
+ @include mat.list-density($theme);
103
+ }
104
+ }
105
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igo2/common",
3
- "version": "16.0.0-rc.2",
3
+ "version": "16.0.0-rc.3",
4
4
  "description": "IGO Library",
5
5
  "author": "IGO Community",
6
6
  "keywords": [
@@ -38,8 +38,8 @@
38
38
  "@angular/material": "^16.2.4",
39
39
  "@angular/platform-browser": "^16.2.5",
40
40
  "@floating-ui/utils": "^0.1.4",
41
- "@igo2/core": "^16.0.0-rc.2",
42
- "@igo2/utils": "^16.0.0-rc.2",
41
+ "@igo2/core": "^16.0.0-rc.3",
42
+ "@igo2/utils": "^16.0.0-rc.3",
43
43
  "angular-shepherd": "16.0.0",
44
44
  "scroll-into-view-if-needed": "^3.0.0",
45
45
  "typy": "^3.3.0",