@colijnit/sharedcomponents 262.1.25 → 262.1.26

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 (22) hide show
  1. package/fesm2022/colijnit-sharedcomponents.mjs +1667 -1588
  2. package/fesm2022/colijnit-sharedcomponents.mjs.map +1 -1
  3. package/index.d.ts +3 -1
  4. package/lib/components/activity-modifier/style/_layout.scss +36 -36
  5. package/lib/components/activity-modifier/style/_theme.scss +5 -5
  6. package/lib/components/activity-modifier/style/material.scss +4 -4
  7. package/lib/components/activity-timeline/style/_layout.scss +86 -86
  8. package/lib/components/search-presets/search-preset-overview-component/style/_layout.scss +4 -4
  9. package/lib/components/search-presets/search-preset-overview-component/style/_theme.scss +4 -4
  10. package/lib/components/search-presets/search-preset-overview-component/style/material.scss +4 -4
  11. package/lib/components/search-presets/search-preset-overview-dialog-component/style/_layout.scss +8 -8
  12. package/lib/components/search-presets/search-preset-overview-dialog-component/style/_theme.scss +4 -4
  13. package/lib/components/search-presets/search-preset-overview-dialog-component/style/material.scss +4 -4
  14. package/lib/components/search-presets/search-preset-save-dialog/style/_layout.scss +26 -26
  15. package/lib/components/search-presets/search-preset-save-dialog/style/_theme.scss +4 -4
  16. package/lib/components/search-presets/search-preset-save-dialog/style/material.scss +4 -4
  17. package/lib/components/search-presets/search-presets-pinned/style/_layout.scss +59 -59
  18. package/lib/components/search-presets/search-presets-pinned/style/_theme.scss +4 -4
  19. package/lib/components/search-presets/search-presets-pinned/style/material.scss +4 -4
  20. package/lib/components/timeline/style/_layout.scss +1 -0
  21. package/lib/components/timeline/style/_material-definition.scss +1 -0
  22. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1027,7 +1027,7 @@ declare class StockLocationPopupComponent implements OnInit {
1027
1027
  amountInStockChanged(data: any): void;
1028
1028
  handleOkClick(): Promise<void>;
1029
1029
  togglePopup(): void;
1030
- locationForNumber(number: string): "" | StockLocation;
1030
+ locationForNumber(number: string): StockLocation | "";
1031
1031
  locationChanged(event: StockLocation): void;
1032
1032
  handleStockChange(): void;
1033
1033
  handleSelectedStockState(event: StockStatus): void;
@@ -4773,6 +4773,7 @@ declare class RemarkActivityLeafComponent extends BaseActivityLeafComponent impl
4773
4773
  constructor(fileTypeImgPipe: FileTypeImagePipe, iconCacheService: IconCacheService, _sharedService: SharedService, _cfgService: BaseModuleScreenConfigService);
4774
4774
  ngOnInit(): Promise<void>;
4775
4775
  handleViewOrEditClick(event: MouseEvent): void;
4776
+ get hasDocuments(): boolean;
4776
4777
  static ɵfac: i0.ɵɵFactoryDeclaration<RemarkActivityLeafComponent, never>;
4777
4778
  static ɵcmp: i0.ɵɵComponentDeclaration<RemarkActivityLeafComponent, "co-remark-activity-leaf", never, { "myCfgNames": { "alias": "myCfgNames"; "required": false; }; }, { "viewOrEditClick": "viewOrEditClick"; }, never, never, false, never>;
4778
4779
  }
@@ -4813,6 +4814,7 @@ declare class WorkActivityLeafComponent extends BaseActivityLeafComponent {
4813
4814
  showWorkedTime: boolean;
4814
4815
  constructor(fileTypeImgPipe: FileTypeImagePipe, _sharedService: SharedService, _cfgService: BaseModuleScreenConfigService, iconCacheService: IconCacheService);
4815
4816
  handleViewOrEditClick(event: MouseEvent): void;
4817
+ get hasDocuments(): boolean;
4816
4818
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkActivityLeafComponent, never>;
4817
4819
  static ɵcmp: i0.ɵɵComponentDeclaration<WorkActivityLeafComponent, "co-work-activity-leaf", never, { "myCfgNames": { "alias": "myCfgNames"; "required": false; }; }, { "viewOrEditClick": "viewOrEditClick"; }, never, never, false, never>;
4818
4820
  }
@@ -1,36 +1,36 @@
1
- @include export-module('co-activity-modifier-layout') {
2
- .co-activity-modifier {
3
- .co-dialog-wrapper {
4
- max-width: 600px;
5
- height: 650px;
6
- max-height: 300px;
7
- }
8
- .dialog-header {
9
- display: flex;
10
- flex-direction: row;
11
- justify-content: space-between;
12
- align-items: center;
13
- font-size: 16px;
14
- padding: 0;
15
- .header-title-wrapper {
16
- display: flex;
17
- align-items: center;
18
- gap: 10px;
19
- .co-icon {
20
- width: 20px;
21
- height: 20px;
22
- }
23
- }
24
- }
25
- .work-wrapper {
26
- display: flex;
27
- flex-direction: column;
28
- gap: 10px;
29
- .double-column {
30
- display: flex;
31
- gap: 10px;
32
- max-width: 100%;
33
- }
34
- }
35
- }
36
- }
1
+ @include export-module('co-activity-modifier-layout') {
2
+ .co-activity-modifier {
3
+ .co-dialog-wrapper {
4
+ max-width: 600px;
5
+ height: 650px;
6
+ max-height: 300px;
7
+ }
8
+ .dialog-header {
9
+ display: flex;
10
+ flex-direction: row;
11
+ justify-content: space-between;
12
+ align-items: center;
13
+ font-size: 16px;
14
+ padding: 0;
15
+ .header-title-wrapper {
16
+ display: flex;
17
+ align-items: center;
18
+ gap: 10px;
19
+ .co-icon {
20
+ width: 20px;
21
+ height: 20px;
22
+ }
23
+ }
24
+ }
25
+ .work-wrapper {
26
+ display: flex;
27
+ flex-direction: column;
28
+ gap: 10px;
29
+ .double-column {
30
+ display: flex;
31
+ gap: 10px;
32
+ max-width: 100%;
33
+ }
34
+ }
35
+ }
36
+ }
@@ -1,5 +1,5 @@
1
- @include export-module('co-activity-task-form-theme') {
2
- .co-modify-task-form {
3
- }
4
- }
5
-
1
+ @include export-module('co-activity-task-form-theme') {
2
+ .co-modify-task-form {
3
+ }
4
+ }
5
+
@@ -1,4 +1,4 @@
1
- @import "../../../style/mixin";
2
- @import "./material-definition";
3
- @import "./layout";
4
- @import "./theme";
1
+ @import "../../../style/mixin";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
@@ -1,86 +1,86 @@
1
- @include export-module('co-activity-timeline-layout') {
2
- .co-activity-timeline {
3
- .leaf-wrapper {
4
- display: flex;
5
- flex-direction: column;
6
- gap: $leaf-wrapper-gap;
7
- }
8
- .leaf-task-open {
9
- position: absolute;
10
- right: 0;
11
- bottom: 0;
12
- cursor: pointer;
13
- display: flex;
14
- gap: 10px;
15
- .worked-time {
16
- display: flex;
17
- gap: 3px;
18
- align-items: center;
19
- font-size: 10px;
20
- }
21
- .has-documents-leaf {
22
- position: relative;
23
- .amount-documents {
24
- position: absolute;
25
- right: -5px;
26
- top: -5px;
27
- width: 10px;
28
- height: 10px;
29
- font-size: 8px;
30
- background: #5fdcb3;
31
- color: #FFFFFF;
32
- border-radius: 100%;
33
- display: flex;
34
- align-items: center;
35
- justify-content: center;
36
- }
37
- }
38
- }
39
- .co-activity-leaf {
40
- .leaf-header {
41
- font-size: $leaf-header-font-size;
42
- }
43
- .leaf-body {
44
- min-height: 30px;
45
- .trigger-wrapper {
46
- display: flex;
47
- gap: $leaf-trigger-wrapper-gap;
48
- .workflow-state {
49
- font-size: 11px;
50
- display: flex;
51
- align-items: center;
52
- gap: $leaf-trigger-state-end-gap;
53
- &.next {
54
- gap: $leaf-trigger-state-gap;
55
- }
56
- &.ended {
57
- color: $leaf-trigger-state-end-color;
58
- }
59
- .co-icon {
60
- svg {
61
- fill: $leaf-trigger-state-end-color;
62
- }
63
- }
64
- }
65
- .trigger-button {
66
- padding: 7px 15px;
67
- border: 1px solid $leaf-trigger-state-color;
68
- color: $leaf-trigger-state-color;
69
- border-radius: $leaf-trigger-state-border-radius;
70
- cursor: pointer;
71
- background: #FFF;
72
- transition: all 0.2s ease-in-out;
73
- &:hover {
74
- color: #FFF;
75
- background: $leaf-trigger-state-color;
76
- transition: all 0.2s ease-in-out;
77
- }
78
- }
79
- }
80
- }
81
- .remark-content {
82
- font-size: $leaf-header-font-size;
83
- }
84
- }
85
- }
86
- }
1
+ @include export-module('co-activity-timeline-layout') {
2
+ .co-activity-timeline {
3
+ .leaf-wrapper {
4
+ display: flex;
5
+ flex-direction: column;
6
+ gap: $leaf-wrapper-gap;
7
+ }
8
+ .leaf-task-open {
9
+ position: absolute;
10
+ right: 0;
11
+ bottom: 0;
12
+ cursor: pointer;
13
+ display: flex;
14
+ gap: 10px;
15
+ .worked-time {
16
+ display: flex;
17
+ gap: 3px;
18
+ align-items: center;
19
+ font-size: 10px;
20
+ }
21
+ .has-documents-leaf {
22
+ position: relative;
23
+ .amount-documents {
24
+ position: absolute;
25
+ right: -5px;
26
+ top: -5px;
27
+ width: 10px;
28
+ height: 10px;
29
+ font-size: 8px;
30
+ background: #5fdcb3;
31
+ color: #FFFFFF;
32
+ border-radius: 100%;
33
+ display: flex;
34
+ align-items: center;
35
+ justify-content: center;
36
+ }
37
+ }
38
+ }
39
+ .co-activity-leaf {
40
+ .leaf-header {
41
+ font-size: $leaf-header-font-size;
42
+ }
43
+ .leaf-body {
44
+ min-height: 30px;
45
+ .trigger-wrapper {
46
+ display: flex;
47
+ gap: $leaf-trigger-wrapper-gap;
48
+ .workflow-state {
49
+ font-size: 11px;
50
+ display: flex;
51
+ align-items: center;
52
+ gap: $leaf-trigger-state-end-gap;
53
+ &.next {
54
+ gap: $leaf-trigger-state-gap;
55
+ }
56
+ &.ended {
57
+ color: $leaf-trigger-state-end-color;
58
+ }
59
+ .co-icon {
60
+ svg {
61
+ fill: $leaf-trigger-state-end-color;
62
+ }
63
+ }
64
+ }
65
+ .trigger-button {
66
+ padding: 7px 15px;
67
+ border: 1px solid $leaf-trigger-state-color;
68
+ color: $leaf-trigger-state-color;
69
+ border-radius: $leaf-trigger-state-border-radius;
70
+ cursor: pointer;
71
+ background: #FFF;
72
+ transition: all 0.2s ease-in-out;
73
+ &:hover {
74
+ color: #FFF;
75
+ background: $leaf-trigger-state-color;
76
+ transition: all 0.2s ease-in-out;
77
+ }
78
+ }
79
+ }
80
+ }
81
+ .remark-content {
82
+ font-size: $leaf-header-font-size;
83
+ }
84
+ }
85
+ }
86
+ }
@@ -1,4 +1,4 @@
1
- @include export-module('cc-search-preset-overview-component-layout') {
2
- .co-search-preset-overview-component {
3
- }
4
- }
1
+ @include export-module('cc-search-preset-overview-component-layout') {
2
+ .co-search-preset-overview-component {
3
+ }
4
+ }
@@ -1,4 +1,4 @@
1
- @include export-module('cc-search-preset-overview-component-theme') {
2
- .co-search-preset-overview-component {
3
- }
4
- }
1
+ @include export-module('cc-search-preset-overview-component-theme') {
2
+ .co-search-preset-overview-component {
3
+ }
4
+ }
@@ -1,4 +1,4 @@
1
- @import "../../../../style/mixin";
2
- @import "./_material-definition";
3
- @import "./_layout";
4
- @import "./_theme";
1
+ @import "../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -1,8 +1,8 @@
1
- @include export-module('cc-search-preset-overview-dialog-layout') {
2
- .co-search-preset-overview-dialog {
3
- .co-dialog-wrapper {
4
- max-width: 800px;
5
- height: 600px;
6
- }
7
- }
8
- }
1
+ @include export-module('cc-search-preset-overview-dialog-layout') {
2
+ .co-search-preset-overview-dialog {
3
+ .co-dialog-wrapper {
4
+ max-width: 800px;
5
+ height: 600px;
6
+ }
7
+ }
8
+ }
@@ -1,4 +1,4 @@
1
- @include export-module('cc-search-preset-overview-component.scss-theme') {
2
- .co-search-preset-overview {
3
- }
4
- }
1
+ @include export-module('cc-search-preset-overview-component.scss-theme') {
2
+ .co-search-preset-overview {
3
+ }
4
+ }
@@ -1,4 +1,4 @@
1
- @import "../../../../style/mixin";
2
- @import "./_material-definition";
3
- @import "./_layout";
4
- @import "./_theme";
1
+ @import "../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -1,26 +1,26 @@
1
- @include export-module('cc-search-preset-save-dialog-layout') {
2
- .co-search-preset-save-dialog {
3
- #preset-save-dialog:not(.is-mobile) .co-dialog-wrapper {
4
- width: 400px;
5
- min-height: 200px;
6
- max-height: 500px;
7
-
8
- .save-dialog-contents {
9
- width: 100%;
10
- display: flex;
11
- flex-direction: column;
12
- row-gap: 10px;
13
- padding: 10px;
14
-
15
- .co-input-text {
16
- width: 100%;
17
- }
18
-
19
- .co-list-of-values {
20
- width: 100%;
21
- }
22
- }
23
- }
24
-
25
- }
26
- }
1
+ @include export-module('cc-search-preset-save-dialog-layout') {
2
+ .co-search-preset-save-dialog {
3
+ #preset-save-dialog:not(.is-mobile) .co-dialog-wrapper {
4
+ width: 400px;
5
+ min-height: 200px;
6
+ max-height: 500px;
7
+
8
+ .save-dialog-contents {
9
+ width: 100%;
10
+ display: flex;
11
+ flex-direction: column;
12
+ row-gap: 10px;
13
+ padding: 10px;
14
+
15
+ .co-input-text {
16
+ width: 100%;
17
+ }
18
+
19
+ .co-list-of-values {
20
+ width: 100%;
21
+ }
22
+ }
23
+ }
24
+
25
+ }
26
+ }
@@ -1,4 +1,4 @@
1
- @include export-module('cc-search-preset-save-dialog-theme') {
2
- .co-search-preset-save-dialog {
3
- }
4
- }
1
+ @include export-module('cc-search-preset-save-dialog-theme') {
2
+ .co-search-preset-save-dialog {
3
+ }
4
+ }
@@ -1,4 +1,4 @@
1
- @import "../../../../style/mixin";
2
- @import "./_material-definition";
3
- @import "./_layout";
4
- @import "./_theme";
1
+ @import "../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -1,59 +1,59 @@
1
- @include export-module('cc-co-search-preset-pinned-layout') {
2
- .co-search-preset-pinned {
3
- width: 100%;
4
- padding: 2px;
5
- min-height: 30px;
6
- display: flex;
7
- .preset-button {
8
- display: block;
9
- }
10
- .pinned-presets-row {
11
- width: 100%;
12
- display: flex;
13
- flex-direction: row;
14
- column-gap: 5px;
15
- padding: 10px 10px 10px 20px;
16
- justify-content: flex-start;
17
- flex-wrap: wrap;
18
- }
19
- .presets-wrapper {
20
- display: flex;
21
- align-items: center;
22
- flex-wrap: wrap;
23
- gap: 5px
24
- }
25
- .presets {
26
- height: 16px;
27
- font-size: 10px;
28
- color: #000000;
29
- background: #f5f5fa;
30
- border-radius: 5px;
31
- padding: 2px 7px;
32
- user-select: none;
33
-
34
- &.active {
35
- color: #FFFFFF;
36
- background: red;
37
- }
38
- }
39
-
40
- .show-all-button {
41
- height: 16px;
42
- font-size: 10px;
43
- color: #000000;
44
- display: flex;
45
- align-items: center;
46
- background: #FFFFFF;
47
- border: 1px solid;
48
- border-radius: 5px;
49
- padding: 2px 7px;
50
- cursor: pointer;
51
-
52
- &:hover {
53
- background: #1A73E8;
54
- color: #FFF;
55
- filter: none;
56
- }
57
- }
58
- }
59
- }
1
+ @include export-module('cc-co-search-preset-pinned-layout') {
2
+ .co-search-preset-pinned {
3
+ width: 100%;
4
+ padding: 2px;
5
+ min-height: 30px;
6
+ display: flex;
7
+ .preset-button {
8
+ display: block;
9
+ }
10
+ .pinned-presets-row {
11
+ width: 100%;
12
+ display: flex;
13
+ flex-direction: row;
14
+ column-gap: 5px;
15
+ padding: 10px 10px 10px 20px;
16
+ justify-content: flex-start;
17
+ flex-wrap: wrap;
18
+ }
19
+ .presets-wrapper {
20
+ display: flex;
21
+ align-items: center;
22
+ flex-wrap: wrap;
23
+ gap: 5px
24
+ }
25
+ .presets {
26
+ height: 16px;
27
+ font-size: 10px;
28
+ color: #000000;
29
+ background: #f5f5fa;
30
+ border-radius: 5px;
31
+ padding: 2px 7px;
32
+ user-select: none;
33
+
34
+ &.active {
35
+ color: #FFFFFF;
36
+ background: red;
37
+ }
38
+ }
39
+
40
+ .show-all-button {
41
+ height: 16px;
42
+ font-size: 10px;
43
+ color: #000000;
44
+ display: flex;
45
+ align-items: center;
46
+ background: #FFFFFF;
47
+ border: 1px solid;
48
+ border-radius: 5px;
49
+ padding: 2px 7px;
50
+ cursor: pointer;
51
+
52
+ &:hover {
53
+ background: #1A73E8;
54
+ color: #FFF;
55
+ filter: none;
56
+ }
57
+ }
58
+ }
59
+ }
@@ -1,4 +1,4 @@
1
- @include export-module('cc-co-search-preset-pinned-theme') {
2
- .co-search-preset-pinned {
3
- }
4
- }
1
+ @include export-module('cc-co-search-preset-pinned-theme') {
2
+ .co-search-preset-pinned {
3
+ }
4
+ }
@@ -1,4 +1,4 @@
1
- @import "../../../../style/mixin";
2
- @import "./_material-definition";
3
- @import "./_layout";
4
- @import "./_theme";
1
+ @import "../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -42,6 +42,7 @@
42
42
  box-shadow: $timeline-item-wrapper-box-shadow;
43
43
  background-color: $timeline-item-wrapper-background;
44
44
  min-width: $timeline-item-wrapper-min-width;
45
+ min-height: $timeline-item-wrapper-min-height;
45
46
  width: fit-content;
46
47
  }
47
48
  .timeline-item {
@@ -15,6 +15,7 @@ $timeline-item-wrapper-padding: 10px !default;
15
15
  $timeline-item-wrapper-box-shadow: 0 3px 5px 1px #0000001a !default;
16
16
  $timeline-item-wrapper-background: #FFFFFF !default;
17
17
  $timeline-item-wrapper-min-width: 50% !default;
18
+ $timeline-item-wrapper-min-height: 60px !default;
18
19
  $timeline-item-gap: 15px !default;
19
20
  $timeline-item-date-font-size: 9px !default;
20
21
  $timeline-item-date-gap: 15px !default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "262.1.25",
3
+ "version": "262.1.26",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",