@colijnit/sharedcomponents 300.1.15 → 300.1.16

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 (35) hide show
  1. package/3rdpartylicenses.txt +3304 -0
  2. package/browser/chunk-H5HZ6YB3.js +1 -0
  3. package/browser/chunk-JXHTPMR7.js +5 -0
  4. package/browser/chunk-KTNFH73E.js +5 -0
  5. package/browser/chunk-ZGRJSZN6.js +2 -0
  6. package/browser/favicon.ico +0 -0
  7. package/browser/index.html +13 -0
  8. package/browser/main-5EZ4F6H3.js +294 -0
  9. package/browser/polyfills-5FDKUQTZ.js +2 -0
  10. package/browser/styles-6TBPQFZR.css +1 -0
  11. package/colijnit-sharedcomponents-300.1.16.tgz +0 -0
  12. package/fesm2022/colijnit-sharedcomponents.mjs +1587 -1513
  13. package/fesm2022/colijnit-sharedcomponents.mjs.map +1 -1
  14. package/index.d.ts +3 -1
  15. package/lib/components/search-presets/search-preset-overview-component/style/_layout.scss +4 -4
  16. package/lib/components/search-presets/search-preset-overview-component/style/_theme.scss +4 -4
  17. package/lib/components/search-presets/search-preset-overview-component/style/material.scss +4 -4
  18. package/lib/components/search-presets/search-preset-overview-dialog-component/style/_layout.scss +8 -8
  19. package/lib/components/search-presets/search-preset-overview-dialog-component/style/_theme.scss +4 -4
  20. package/lib/components/search-presets/search-preset-overview-dialog-component/style/material.scss +4 -4
  21. package/lib/components/search-presets/search-preset-save-dialog/style/_layout.scss +26 -26
  22. package/lib/components/search-presets/search-preset-save-dialog/style/_theme.scss +4 -4
  23. package/lib/components/search-presets/search-preset-save-dialog/style/material.scss +4 -4
  24. package/lib/components/search-presets/search-presets-pinned/style/_layout.scss +59 -59
  25. package/lib/components/search-presets/search-presets-pinned/style/_theme.scss +4 -4
  26. package/lib/components/search-presets/search-presets-pinned/style/material.scss +4 -4
  27. package/lib/components/stock/style/_layout.scss +22 -20
  28. package/lib/components/stock/style/_material-definition.scss +8 -4
  29. package/lib/components/tab-bar/style/_layout.scss +22 -15
  30. package/lib/components/tab-bar/style/_material-definition.scss +4 -2
  31. package/lib/components/timeline/style/_layout.scss +1 -0
  32. package/lib/components/timeline/style/_material-definition.scss +1 -0
  33. package/lib/style/_variables.scss +1 -0
  34. package/package.json +1 -1
  35. package/prerendered-routes.json +3 -0
package/index.d.ts CHANGED
@@ -1035,7 +1035,7 @@ declare class StockLocationPopupComponent implements OnInit {
1035
1035
  amountInStockChanged(data: any): void;
1036
1036
  handleOkClick(): Promise<void>;
1037
1037
  togglePopup(): void;
1038
- locationForNumber(number: string): StockLocation | "";
1038
+ locationForNumber(number: string): "" | StockLocation;
1039
1039
  locationChanged(event: StockLocation): void;
1040
1040
  handleStockChange(): void;
1041
1041
  handleSelectedStockState(event: StockStatus): void;
@@ -4794,6 +4794,7 @@ declare class RemarkActivityLeafComponent extends BaseActivityLeafComponent impl
4794
4794
  constructor(fileTypeImgPipe: FileTypeImagePipe, iconCacheService: IconCacheService, _sharedService: SharedService, _cfgService: BaseModuleScreenConfigService);
4795
4795
  ngOnInit(): Promise<void>;
4796
4796
  handleViewOrEditClick(event: MouseEvent): void;
4797
+ get hasDocuments(): boolean;
4797
4798
  static ɵfac: i0.ɵɵFactoryDeclaration<RemarkActivityLeafComponent, never>;
4798
4799
  static ɵcmp: i0.ɵɵComponentDeclaration<RemarkActivityLeafComponent, "co-remark-activity-leaf", never, { "myCfgNames": { "alias": "myCfgNames"; "required": false; }; }, { "viewOrEditClick": "viewOrEditClick"; }, never, never, false, never>;
4799
4800
  }
@@ -4834,6 +4835,7 @@ declare class WorkActivityLeafComponent extends BaseActivityLeafComponent {
4834
4835
  showWorkedTime: boolean;
4835
4836
  constructor(fileTypeImgPipe: FileTypeImagePipe, _sharedService: SharedService, _cfgService: BaseModuleScreenConfigService, iconCacheService: IconCacheService);
4836
4837
  handleViewOrEditClick(event: MouseEvent): void;
4838
+ get hasDocuments(): boolean;
4837
4839
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkActivityLeafComponent, never>;
4838
4840
  static ɵcmp: i0.ɵɵComponentDeclaration<WorkActivityLeafComponent, "co-work-activity-leaf", never, { "myCfgNames": { "alias": "myCfgNames"; "required": false; }; }, { "viewOrEditClick": "viewOrEditClick"; }, never, never, false, never>;
4839
4841
  }
@@ -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
 
@@ -1,8 +1,9 @@
1
- $sc-stock-info-margin: 4px 0 20px 0 !default;
2
- $sc-stock-info-padding: 15px 10px !default;
3
- $sc-stock-info-border-width: 4px 0 !default;
1
+ $sc-stock-info-margin: 0 !default;
2
+ $sc-stock-info-padding: 0 1px 15px 10px !default;
3
+ $sc-stock-info-border-width: 0 !default;
4
4
  $sc-stock-info-border-color: #F4F4F9 !default;
5
5
  $sc-stock-gap: 10px !default;
6
+ $sc-stock-info-row-width: 260px !default;
6
7
  $sc-stock-border-left: none !default;
7
8
  $sc-stock-line-margin: 10px 0 20px 0 !default;
8
9
  $sc-stock-line-font-weight: bold !default;
@@ -17,7 +18,7 @@ $sc-stock-grid-margin: 0 0 0 0 !default;
17
18
  $sc-stock-simple-grid-column-header-wrapper-border-bottom: 1px solid black !default;
18
19
  $sc-stock-info-container-max-width: 100% !default;
19
20
  $sc-stock-info-container-width: 100% !default;
20
- $sc-stock-info-container-padding: 40px 0 0 0 !default;
21
+ $sc-stock-info-container-padding: 0 0 0 0 !default;
21
22
  $sc-stock-info-container-height: 100% !default;
22
23
  $sc-stock-image-height: 50px !default;
23
24
  $sc-stock-grid-height: 300px !default;
@@ -26,3 +27,6 @@ $sc-stock-info-width: 100% !default;
26
27
  $sc-stock-info-gap: 30px !default;
27
28
  $sc-stock-image-width: 20px !default;
28
29
  $sc-stock-transfer-column-width: 100% !default;
30
+ $sc-stock-tabs-padding: 15px 30px !default;
31
+ $sc-stock-tabs-background: #F8F8Fa !default;
32
+ $sc-stock-tabs-gap: 20px !default;
@@ -6,9 +6,6 @@
6
6
  font-size: $sc-font-size;
7
7
  gap: $sc-tab-bar-gap;
8
8
  padding: $sc-tab-bar-padding;
9
- position: absolute;
10
- top: 10px;
11
- left: 0;
12
9
  .co-button {
13
10
  margin: $sc-tab-bar-button-margin;
14
11
  padding: $sc-tab-bar-button-padding;
@@ -19,19 +16,21 @@
19
16
  user-select: none;
20
17
  font-size: $sc-font-size;
21
18
  font-family: $sc-font-family;
22
- border-bottom: 2px solid transparent;
19
+ height: auto;
23
20
  span {
24
21
  font-size: $sc-font-size;
25
22
  text-align: center;
26
- font-weight: bold;
23
+ font-weight: 500;
27
24
  color: $sc-color-font;
25
+ text-transform: uppercase;
28
26
  }
29
27
  &:hover {
30
28
  filter: brightness(100%);
31
29
  }
32
30
  &.active {
31
+ background-color: #212437;
33
32
  span {
34
- color: #1A73E8;
33
+ color: #FFFFFF;
35
34
  }
36
35
  }
37
36
  }
@@ -40,15 +39,19 @@
40
39
  .tab-bar {
41
40
  display: flex;
42
41
  justify-content: center;
43
- align-items: center;
42
+ align-items: flex-start;
44
43
  flex-direction: column;
45
44
  gap: 10px;
46
45
  }
47
46
 
48
47
  .tab-bar-wrapper {
49
- display: grid;
50
- grid-template-columns: 15% 70% 15%;
51
- margin: 5px 0;
48
+ display: flex;
49
+ gap: 5px;
50
+ justify-content: space-between;
51
+ margin: $sc-tab-bar-wrapper-margin;
52
+ padding: $sc-tab-bar-wrapper-padding;
53
+ width: 100%;
54
+ border-bottom: 2px solid #FFF;
52
55
  }
53
56
 
54
57
  .secondary-tab-bar {
@@ -60,7 +63,7 @@
60
63
  padding: $sc-tab-bar-padding;
61
64
  .co-button {
62
65
  margin: $sc-tab-bar-button-margin;
63
- padding: $sc-tab-bar-button-padding;
66
+ padding: 0;
64
67
  border-radius: $sc-tab-bar-border-radius;
65
68
  border: none;
66
69
  background-color: transparent;
@@ -68,17 +71,21 @@
68
71
  user-select: none;
69
72
  font-size: $sc-font-size;
70
73
  font-family: $sc-font-family;
71
- border-bottom: 2px solid transparent;
74
+ height: auto;
72
75
  span {
73
76
  font-size: $sc-font-size;
74
77
  text-align: center;
75
- font-weight: bold;
78
+ text-transform: uppercase;
79
+ font-weight: 500;
76
80
  color: $sc-color-font;
81
+ padding: $sc-tab-bar-button-padding;
77
82
  }
78
83
 
79
84
  &.active {
80
- background-color: white;
81
- border-bottom: 2px solid #1A73E8;
85
+ background-color: #212437;
86
+ span {
87
+ color: #FFF;
88
+ }
82
89
  }
83
90
  }
84
91
  }
@@ -1,6 +1,8 @@
1
- $sc-tab-bar-border-radius: 0 !default;
1
+ $sc-tab-bar-border-radius: 10px !default;
2
2
  $sc-tab-bar-background-color: transparent !default;
3
3
  $sc-tab-bar-gap: 25px !default;
4
4
  $sc-tab-bar-padding: 0 !default;
5
- $sc-tab-bar-button-padding: 5px 0 9px 0 !default;
5
+ $sc-tab-bar-button-padding: 5px 10px !default;
6
6
  $sc-tab-bar-button-margin: 0 !default;
7
+ $sc-tab-bar-wrapper-margin: 5px 0 15px 0 !default;
8
+ $sc-tab-bar-wrapper-padding: 0 0 15px 0 !default;
@@ -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;
@@ -5,6 +5,7 @@ $sc-font-family-digital: 'digital-7regular' !default;
5
5
  //$sc-font-size: 10px !default;
6
6
  $sc-font-size: 12px !default;
7
7
  $sc-font-size-small: 10px !default;
8
+ $sc-font-size-xs: 8px !default;
8
9
 
9
10
  $sc-color-font: #171721 !default;
10
11
  $sc-color-border: #DCE4EA !default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "300.1.15",
3
+ "version": "300.1.16",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",
@@ -0,0 +1,3 @@
1
+ {
2
+ "routes": {}
3
+ }