@colijnit/sharedcomponents 262.1.25 → 262.1.27

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 (27) hide show
  1. package/fesm2022/colijnit-sharedcomponents.mjs +1822 -1753
  2. package/fesm2022/colijnit-sharedcomponents.mjs.map +1 -1
  3. package/index.d.ts +2 -0
  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/stock/style/_layout.scss +22 -20
  21. package/lib/components/stock/style/_material-definition.scss +8 -4
  22. package/lib/components/tab-bar/style/_layout.scss +22 -15
  23. package/lib/components/tab-bar/style/_material-definition.scss +4 -2
  24. package/lib/components/timeline/style/_layout.scss +1 -0
  25. package/lib/components/timeline/style/_material-definition.scss +1 -0
  26. package/lib/style/_variables.scss +1 -0
  27. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -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";
@@ -32,8 +32,8 @@
32
32
  display: flex;
33
33
  gap: 5px;
34
34
  position: absolute;
35
- top: -38px;
36
- left: 200px;
35
+ top: -55px;
36
+ left: 225px;
37
37
  }
38
38
  }
39
39
 
@@ -120,7 +120,13 @@
120
120
  height: $sc-stock-info-container-height;
121
121
  position: relative;
122
122
  }
123
-
123
+ co-stock-tabs {
124
+ padding: $sc-stock-tabs-padding;
125
+ background: $sc-stock-tabs-background;
126
+ display: flex;
127
+ flex-direction: column;
128
+ gap: $sc-stock-tabs-gap;
129
+ }
124
130
  .stock-info {
125
131
  margin: $sc-stock-info-margin;
126
132
  padding: $sc-stock-info-padding;
@@ -134,6 +140,7 @@
134
140
 
135
141
  .stock-info-row {
136
142
  display: inline-flex;
143
+ min-width: $sc-stock-info-row-width;
137
144
  }
138
145
 
139
146
  .stock-info-row-image {
@@ -161,22 +168,12 @@
161
168
  .stock-status {
162
169
  display: grid;
163
170
  position: relative;
171
+ gap: 5px;
164
172
  }
165
173
 
166
- .stock-info > div:not(:first-child) {
167
- padding: 0 0 0 30px;
174
+ .stock-info > div {
175
+ padding: 0 20px;
168
176
  border-left: $sc-stock-border-left;
169
-
170
- &:before {
171
- content: '';
172
- height: 30px;
173
- width: 1px;
174
- background: #DCE4EA;
175
- position: absolute;
176
- left: 0;
177
- top: 50%;
178
- transform: translateY(-50%);
179
- }
180
177
  }
181
178
 
182
179
  .stock-line {
@@ -247,6 +244,9 @@
247
244
  min-width: 190px;
248
245
 
249
246
  .co-list-of-values {
247
+ &:before {
248
+ box-shadow: none;
249
+ }
250
250
  .co-input-text {
251
251
  height: 100%;
252
252
  }
@@ -575,8 +575,10 @@
575
575
  }
576
576
 
577
577
  .stock-label {
578
- font-size: $sc-font-size-small;
578
+ font-size: $sc-font-size-xs;
579
579
  align-self: center;
580
+ color: #8083a3;
581
+ text-transform: uppercase;
580
582
  }
581
583
 
582
584
  .stock-span {
@@ -626,6 +628,7 @@
626
628
  .simple-grid-column-header-wrapper {
627
629
  .simple-grid-column-header-label {
628
630
  font-size: 10px;
631
+ padding: 15px;
629
632
  }
630
633
  }
631
634
 
@@ -656,7 +659,6 @@
656
659
  font-size: 10px;
657
660
 
658
661
  &:nth-child(odd) {
659
- background: #f8f8fa;
660
662
 
661
663
  &:hover {
662
664
  background: #d2e3f9;
@@ -679,9 +681,9 @@
679
681
  }
680
682
 
681
683
  .simple-grid-column-cell-field {
682
- border-width: 1px;
684
+ border-width: 1px 0 0;
683
685
  border-radius: 0;
684
- padding: 5px 10px;
686
+ padding: 5px 15px;
685
687
  border-color: #DCE4EA;
686
688
  gap: 5px;
687
689