@colijnit/sharedcomponents 1.0.40 → 1.0.41

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.
@@ -0,0 +1,65 @@
1
+ @include export-module('cc-screen-config-generator-layout') {
2
+ .co-screen-config-generator {
3
+ padding: 20px;
4
+ display: flex;
5
+ overflow: auto;
6
+ height: 93vh;
7
+
8
+ .category-wrapper {
9
+ display: flex;
10
+ flex-direction: column;
11
+
12
+ .header-wrapper {
13
+ display: flex;
14
+ column-gap: 30px;
15
+ align-items: center;
16
+ height: 30px;
17
+ margin-top: 15px;
18
+
19
+ h3 {
20
+ margin-top: 20px;
21
+ }
22
+ }
23
+
24
+ co-button {
25
+ width: 20px;
26
+ height: 20px;
27
+ justify-content: center;
28
+ }
29
+
30
+ .header-container {
31
+ padding: 13px;
32
+ border: 2px solid #dde5eb;
33
+ border-radius: 11px;
34
+ margin-top: 10px;
35
+ min-width: 450px;
36
+ }
37
+
38
+ .rubrics-wrapper {
39
+ display: flex;
40
+ column-gap: 20px;
41
+ width: max-content;
42
+ }
43
+
44
+ .fields-wrapper {
45
+ display: flex;
46
+ column-gap: 30px;
47
+ align-items: center;
48
+ }
49
+
50
+ .category-content-wrapper {
51
+ display: flex;
52
+
53
+ .rubric-wrapper {
54
+ display: flex;
55
+ flex-direction: column;
56
+
57
+ .inputs-wrapper {
58
+ display: flex;
59
+ column-gap: 15px;
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('cc-screen-config-generator-theme') {
2
+ .co-screen-config-generator {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,7 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { StatusbarData } from './statusbar.component';
3
+ export declare class StatusbarPopupComponent {
4
+ statusbarData: StatusbarData[];
5
+ parentForOverlay: ElementRef;
6
+ showClass: boolean;
7
+ }
@@ -1,4 +1,5 @@
1
- import { EventEmitter } from "@angular/core";
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
+ import { OverlayService } from '@colijnit/corecomponents_v12';
2
3
  export interface StatusbarData {
3
4
  label: string;
4
5
  percentage: number;
@@ -6,18 +7,18 @@ export interface StatusbarData {
6
7
  totalCount?: number;
7
8
  }
8
9
  export declare class StatusbarComponent {
10
+ private _elementRef;
11
+ private _overlayService;
9
12
  set statusbarData(value: StatusbarData[]);
10
13
  get statusbarData(): StatusbarData[];
11
14
  focusedStatusIndex: number;
12
15
  statusbarClick: EventEmitter<void>;
13
16
  showClass(): boolean;
14
- constructor();
15
- showPopup: boolean;
16
- popupClass: string;
17
+ handleClick(event: MouseEvent): void;
18
+ popupShowing: boolean;
17
19
  private _statusbarData;
18
- private _mouseY;
19
- private _windowHeight;
20
- onStatusbarClick(event: any): void;
21
- setPopupClass(): void;
20
+ constructor(_elementRef: ElementRef, _overlayService: OverlayService);
21
+ handleShowPopup(event: MouseEvent): void;
22
+ handleHidePopup(): void;
22
23
  adjustTooHighPercentages(): void;
23
24
  }
@@ -17,46 +17,30 @@
17
17
  justify-content: center;
18
18
  align-items: center;
19
19
  }
20
-
21
- .status-description-popup{
22
- min-height: $statusbar-popup-min-height;
23
- min-width: $statusbar-popup-min-width;
24
- max-width: $statusbar-popup-max-width;
25
- padding: $statusbar-popup-padding;
26
- border: $statusbar-popup-border;
27
- border-radius: $statusbar-popup-border-radius;
28
- z-index: $statusbar-popup-z-index;
29
-
30
- &.dropdown {
31
- position: absolute;
32
- top: $statusbar-popup-dropdown-position-top;
33
- left: 50%;
34
- transform: translate(-50%, 0);
35
- }
36
-
37
- &.dropup {
38
- position: absolute;
39
- bottom: $statusbar-popup-dropup-position-down;
40
- left: 50%;
41
- transform: translate(-50%, 0);
42
- }
43
- }
44
-
20
+ }
21
+ .co-statusbar-popup-wrapper {
22
+ position: fixed;
23
+ font-family: $statusbar-font-family;
24
+ font-size:$statusbar-font-size;
25
+ min-height: $statusbar-popup-min-height;
26
+ min-width: $statusbar-popup-min-width;
27
+ max-width: $statusbar-popup-max-width;
28
+ padding: $statusbar-popup-padding;
29
+ border: $statusbar-popup-border;
30
+ border-radius: $statusbar-popup-border-radius;
31
+ z-index: $statusbar-popup-z-index;
45
32
  .status-descriptions {
46
33
  display: flex;
47
34
  flex-direction: column;
48
-
49
35
  .status-description {
50
36
  display: flex;
51
37
  flex-direction: row;
52
38
  align-items: center;
53
-
54
39
  span {
55
40
  padding-left: $statusbar-status-description-padding-left;
56
41
  }
57
42
  }
58
43
  }
59
-
60
44
  co-linear-gauge {
61
45
  &.focused-status {
62
46
  div {
@@ -3,12 +3,11 @@
3
3
  .statusses {
4
4
  background-color: $statusbar-background-color;
5
5
  }
6
-
7
- .status-description-popup {
8
- background-color: $statusbar-background-color;
9
- border-color: $statusbar-popup-border-color;
10
- box-shadow: $statusbar-popup-border-box-shadow;
11
- }
6
+ }
7
+ .co-statusbar-popup-wrapper {
8
+ background-color: $statusbar-background-color;
9
+ border-color: $statusbar-popup-border-color;
10
+ box-shadow: $statusbar-popup-border-box-shadow;
12
11
  }
13
12
  }
14
13
 
package/package.json CHANGED
@@ -1,16 +1,20 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
- "@angular/common": "^12.2.0",
7
- "@angular/core": "^12.2.0",
8
- "@colijnit/sharedapi": "^1.0.1",
9
- "pdf-lib": "^1.17.1",
10
- "pdfjs-dist": "^2.12.313",
11
- "rxjs": "~7.4.0",
12
- "signature_pad": "^4.0.2",
13
- "zone.js": "~0.11.4"
6
+ "@angular/common": ">=12.2.0",
7
+ "@angular/core": ">=12.2.0",
8
+ "@colijnit/articleapi": ">=1.0.17",
9
+ "@colijnit/mainapi": ">=1.0.3",
10
+ "@colijnit/corecomponents_v12": ">=12.0.103",
11
+ "@colijnit/ioneconnector": ">=2.1.10",
12
+ "@colijnit/sharedapi": ">=1.0.11",
13
+ "pdf-lib": ">=1.17.1",
14
+ "pdfjs-dist": ">=2.12.313",
15
+ "rxjs": ">=7.4.0",
16
+ "signature_pad": ">=4.0.2",
17
+ "zone.js": ">=0.11.4"
14
18
  },
15
19
  "main": "bundles/colijnit-sharedcomponents.umd.js",
16
20
  "module": "fesm2015/colijnit-sharedcomponents.js",
@@ -21,6 +25,6 @@
21
25
  "metadata": "colijnit-sharedcomponents.metadata.json",
22
26
  "sideEffects": false,
23
27
  "dependencies": {
24
- "tslib": "^2.3.0"
28
+ "tslib": ">=2.3.0"
25
29
  }
26
30
  }