bpm-core 0.0.14 → 0.0.15

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpm-core",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0",
@@ -0,0 +1,39 @@
1
+ //bootstrap
2
+ @import "bootstrap/scss/functions";
3
+ @import "bootstrap/scss/variables";
4
+ //@import "bootstrap/scss/variables-dark";
5
+ $enable-dark-mode: false;
6
+ //$grid-breakpoints: (
7
+ // xs: 0,
8
+ // sm: 576px,
9
+ // md: 768px,
10
+ // lg: 992px,
11
+ // xl: 1200px,
12
+ // xxl: 1920px, // Updated value for xxl breakpoint
13
+ //);
14
+
15
+ $new-breakpoints: (
16
+ xxxl: 1900px,
17
+ );
18
+
19
+ $grid-breakpoints: map-merge($grid-breakpoints, $new-breakpoints);
20
+
21
+ //$new-container-max-widths: (
22
+ // xxxl:1520px
23
+ //);
24
+ //
25
+ //$container-max-widths: map-merge($container-max-widths, $new-container-max-widths);
26
+
27
+ @import "bootstrap/scss/mixins";
28
+ @import "bootstrap/scss/maps";
29
+ @import "bootstrap/scss/utilities";
30
+ @import "bootstrap/scss/utilities/api";
31
+ @import "bootstrap/scss/root";
32
+ //@import 'bootstrap/scss/reboot';
33
+ @import "bootstrap/scss/grid";
34
+ @import "bootstrap/scss/containers";
35
+ @import "bootstrap/scss/helpers";
36
+ @import "bootstrap/scss/alert";
37
+ //@import 'bootstrap/scss/bootstrap';
38
+
39
+ $enable-negative-margins: true;
@@ -0,0 +1,33 @@
1
+ .main-bottom-sheet {
2
+ --popup-max-width: 100vw;
3
+ --popup-width: 300px;
4
+ &.full-bottom-sheet {
5
+ --popup-width: 100vw;
6
+ }
7
+ .mat-bottom-sheet-container {
8
+ --popup-title-height: 50px;
9
+ --popup-title-padding: 0 1rem;
10
+ max-width: 100vw;
11
+ width: var(--popup-width);
12
+ height: auto;
13
+ max-height: 100vh;
14
+ overflow: hidden;
15
+ border-radius: 15px 15px 0 0;
16
+ padding: 0;
17
+ .popup-container {
18
+ display: flex;
19
+ flex-direction: column;
20
+ height: auto;
21
+ max-height: 100vh;
22
+ }
23
+ .popup-header {
24
+ background-color: var(--light-gray);
25
+ }
26
+
27
+ .popup-body {
28
+ flex-grow: 1;
29
+ overflow: auto;
30
+ //padding: 1rem;
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,159 @@
1
+ $catColors: (
2
+ 'safety_security': #00c48c,
3
+ 'fleet_managment': #1bced8,
4
+ 'building_fleet': #ff6a39,
5
+ 'buildings': #ff375e,
6
+ 'legal_affairs_regulatory': #a54ee1,
7
+ 'facility_management': #ffdd40,
8
+ 'financial_management': #a259db,
9
+ 'corporate_relations_services': #ff375e,
10
+ 'tech_ops': #00c48c,
11
+ 'procurement': #a54ee1,
12
+ 'finance': #1d252d,
13
+ 'logistics_inventory_management': #ff6a39,
14
+ 'general': #8e9aa0,
15
+ );
16
+
17
+ .eservices-category {
18
+ position: relative;
19
+ --eservice-h: 90px;
20
+ --eservice-direction: row;
21
+ &--admin {
22
+ --eservice-h: 200px;
23
+ --eservice-direction: column;
24
+ justify-content: center;
25
+ text-align: center !important;
26
+ }
27
+ &--item {
28
+ padding: 1.5rem 1rem;
29
+ display: flex;
30
+ flex-direction: var(--eservice-direction);
31
+ align-items: center;
32
+ gap: 1rem;
33
+ height: var(--eservice-h);
34
+ text-align: start;
35
+ //width: 230px;
36
+ cursor: pointer;
37
+ position: relative;
38
+ box-shadow: none;
39
+ transition: var(--default-transition);
40
+ @media (min-width: 576px) {
41
+ //width: 300px;
42
+ }
43
+ &.loading {
44
+ .count,
45
+ .arrow-icon {
46
+ opacity: 0 !important;
47
+ }
48
+ }
49
+ @each $color, $value in $catColors {
50
+ &.category-card-#{'' + $color} {
51
+ figure {
52
+ &:before {
53
+ background: $value;
54
+ }
55
+ svg {
56
+ color: $value;
57
+ }
58
+ }
59
+ &:hover {
60
+ figure {
61
+ //transform: translateY(-10px);
62
+ .e-service-svg-icon {
63
+ transform: scale(0.8);
64
+ }
65
+
66
+ &:before {
67
+ width: 100%;
68
+ height: 100%;
69
+ background: rgba($value, 15%);
70
+ inset: 0;
71
+ opacity: 1;
72
+ transform: scale(1.3);
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+
79
+ figure {
80
+ min-width: 40px;
81
+ width: 40px;
82
+ height: 40px;
83
+ border-radius: 50%;
84
+ display: flex;
85
+ align-items: center;
86
+ justify-content: center;
87
+ //margin: 0 0 0.5rem;
88
+ padding: 0.5rem;
89
+ //overflow: hidden;
90
+ position: relative;
91
+ //background: var(--light-gray);
92
+ transition: var(--default-transition);
93
+ .e-service-svg-icon {
94
+ transition: var(--default-transition);
95
+ }
96
+ &:before {
97
+ content: '';
98
+ position: absolute;
99
+ width: 100%;
100
+ height: 100%;
101
+ border-radius: 50%;
102
+ inset: 0;
103
+ opacity: 0;
104
+
105
+ transition: var(--default-transition);
106
+ }
107
+
108
+ svg {
109
+ position: relative;
110
+ //color: var(--purple);
111
+ }
112
+ }
113
+
114
+ .category-details {
115
+ //flex-grow: 1;
116
+ transition: var(--default-transition);
117
+ }
118
+ .title {
119
+ transition: var(--default-transition);
120
+ text-transform: lowercase;
121
+ [dir='ltr'] & {
122
+ &:first-letter {
123
+ text-transform: uppercase;
124
+ }
125
+ }
126
+ }
127
+
128
+ &:hover {
129
+ box-shadow: var(--box-shadow);
130
+ .title {
131
+ //transform: translateY(-5px);
132
+ }
133
+ }
134
+ }
135
+ }
136
+
137
+ @each $color, $value in $catColors {
138
+ .category-card-#{'' + $color} {
139
+ &.header-icon,
140
+ &.service-item-menu {
141
+ svg {
142
+ color: $value;
143
+ }
144
+ }
145
+ }
146
+ }
147
+
148
+ .e-service-svg-icon {
149
+ color: inherit;
150
+ height: 1em;
151
+ width: 1em;
152
+ overflow: visible;
153
+ vertical-align: middle;
154
+ box-sizing: content-box;
155
+
156
+ use {
157
+ fill: currentColor;
158
+ }
159
+ }
@@ -0,0 +1,190 @@
1
+ .highcharts-text-outline {
2
+ stroke: none;
3
+ }
4
+ .highcharts-credits {
5
+ display: none !important;
6
+ fill: transparent !important;
7
+ }
8
+
9
+ .highcharts-label.highcharts-tooltip,
10
+ .highcharts-label.highcharts-tracker {
11
+ border: 0 !important;
12
+ background: none !important;
13
+ padding: 0 !important;
14
+ path {
15
+ fill: #fff;
16
+ stroke: none;
17
+ }
18
+ //.tooltip-chart {
19
+ // min-height: 25px;
20
+ //}
21
+ > span {
22
+ background-color: var(--white);
23
+ padding: 10px 5px !important;
24
+ color: var(--black) !important;
25
+ border: 0;
26
+ box-shadow: 0 2px 17px rgba(0, 0, 0, 0.07);
27
+ font-size: 12px;
28
+ font-weight: bold;
29
+ text-align: start;
30
+ display: flex;
31
+ flex-direction: column;
32
+ gap: 0.3rem;
33
+ }
34
+ &.face {
35
+ span {
36
+ background-color: transparent;
37
+ box-shadow: none !important;
38
+ padding: 0 !important;
39
+ span {
40
+ width: 20px;
41
+ height: 20px;
42
+ display: block;
43
+ background-size: cover;
44
+ margin: -4px;
45
+ &.Extremely {
46
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHISURBVHgBpVaLcYMwDBWdgA3KCOkGdIJmg9AJygahEySdgIzQDegGZAPSCcgGqmSeD2MM5lLdvcPI+kvGEK0QM6eCo6ARdDxSD14pyNZsJAuGM3nUghysK/CL92fBDlC6CD6TJLlRjMT4ByJUVJrFimwmODvyRcz4ESVoYqkHHDXQPdJK5EoXepBUFzbKUASmcfRPQib9pALyUvtMt/7yPAhyZy9XHtY6aafFYMFgT2gPXuuUrnX2W1sKZ733gmMTIISYvabqRPBILTvThKhbZ7/wdFMbwJO8v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ePro2/kX7dFXN5hslAme4Ky/K9/Y8FOwE8dHn49f1sCxG+f9GloAAAAASUVORK5CYII=');
52
+ }
53
+ &.Neutral,
54
+ &.Neither {
55
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAF5SURBVHgBtVaLUYNAEF0yFmAHXgfSgXRirECsAKwAO4AOHCtAK0g6ACuIHay78JBPlkORvJk3hL27/Vz2A5EHzHwtTISlsOIeJ8hiofPpCGYUO3nkwgiiI/iJ9xthCCoK4XMQBDUtQZQ/wkNlqlF49jrhy2D/fkl5gisol0I3DJU4m5DHc0VBK6FnoSO2PGg8p38CkZxGNyAv+ZmQfrIo8igLjTOuy7KhQJEZGyszZBr9X9U0EZAc3MiRy2x4EnKP0jDwOliP6Dzy1jHc2YHsK0ihyBlrXebEM2cPjWMIMaeNgYyqdvLbUV+hW6JW3Tu6MNTAF7W9ZWs41X1FbRMLp6uaRfLIfqnsSRrdcSK7Vd0awYcaYE9T+yuQdergm75EyNmUNoIW7ai2zP6xXnnXKnJLeJlmh4U9wlpddGiaPFfdwyZV8vqBky5tjrkfgZnPEPcfBbMj0zf0U+E9REtD/134YA1908DE0F54R21lOizVoNZQ4fua+Aaqdw1YEkbPIQAAAABJRU5ErkJggg==');
56
+ }
57
+ &.Satisfied,
58
+ &.Easy {
59
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAYCAYAAAAPtVbGAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGuSURBVHgBrVaLccIwDFU6ARs0GzQbNCN0g9IJmg2STkA3CBvABqYTwAahE0AncCV4xsGRnRzw7t61yLJ+lhwTJWCtnTFrpmF21uMAWcXMaQRZxHjOf1pmCdEO/MXvZ2YBCpbMryzL9jQF7OATkQobySahm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Sj2uzY9X27wAH/04CvnqytI7K6+qXjsWmOtQ84FF4pDF0Inl84xZpzxu4K3McWYvdRELwyY5d+IXyFae3S/xK+aZe+usBioZ3wmcY302CoA7+Fdexr4h9nx8iBLHGatAAAAABJRU5ErkJggg==');
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+
70
+ .highcharts-container {
71
+ overflow: visible !important;
72
+ //width: 100% !important;
73
+ margin: auto;
74
+ display: flex;
75
+ align-items: center;
76
+ justify-content: start;
77
+ text-align: center !important;
78
+ flex-direction: column;
79
+
80
+ .highcharts-root {
81
+ //width: 100% !important;
82
+ //height: 300px !important;
83
+ }
84
+
85
+ .title {
86
+ font-size: 13px;
87
+ fill: var(--dark-gray);
88
+ }
89
+ .number {
90
+ font-size: 50px;
91
+ fill: var(--black);
92
+ }
93
+ }
94
+
95
+ .highcharts-legend {
96
+ //position: static !important;
97
+ top: auto !important;
98
+ right: 0;
99
+ left: auto !important;
100
+ bottom: 0;
101
+ width: 100%;
102
+ * {
103
+ position: static !important;
104
+ unicode-bidi: plaintext;
105
+ //direction: rtl;
106
+ }
107
+ > div {
108
+ display: flex;
109
+ align-items: center;
110
+ justify-content: center;
111
+ > div {
112
+ display: flex;
113
+ width: auto;
114
+ justify-content: space-around;
115
+ //flex-direction: column;
116
+ //padding: 0 30px;
117
+ gap: 0.75rem;
118
+ flex-wrap: wrap;
119
+ .highcharts-legend-item {
120
+ &.highcharts-legend-item-hidden {
121
+ opacity: 0.5 !important;
122
+ text-decoration: line-through;
123
+ }
124
+ }
125
+ @extend .legend-wrapper;
126
+ }
127
+ }
128
+ }
129
+
130
+ .highcharts-menu {
131
+ border-radius: 4px !important;
132
+ border: 1px solid var(--light-gray) !important;
133
+ box-shadow: 0 7px 14px rgba(var(--rgb-black), 0.3) !important;
134
+ li {
135
+ height: 30px;
136
+ font-size: 14px !important;
137
+ color: var(--black) !important;
138
+ &:hover {
139
+ background-color: var(--light-gray) !important;
140
+ }
141
+ }
142
+ }
143
+
144
+ .legend-container {
145
+ display: flex;
146
+ width: auto;
147
+ justify-content: space-around;
148
+ gap: 0.75rem;
149
+ flex-wrap: wrap;
150
+ }
151
+
152
+ .legend-wrapper {
153
+ [dir='rtl'] & {
154
+ direction: rtl;
155
+ }
156
+ display: flex;
157
+
158
+ align-items: center;
159
+ gap: 0.3rem;
160
+ cursor: pointer;
161
+ &.legend-item-invisible {
162
+ opacity: 0.7;
163
+ .label {
164
+ text-decoration: line-through;
165
+ }
166
+ }
167
+ .square {
168
+ width: 9px;
169
+ height: 9px;
170
+ display: block;
171
+ border-radius: 3px;
172
+ }
173
+ .circle {
174
+ width: 10px;
175
+ height: 10px;
176
+ display: block;
177
+ border-radius: 50%;
178
+ }
179
+ .label {
180
+ color: var(--black);
181
+ font-weight: var(--font-regular);
182
+ font-size: 14px;
183
+ flex-grow: 1;
184
+ }
185
+ }
186
+
187
+ .highcharts-plot-line-label {
188
+ box-shadow: var(--box-shadow);
189
+ font-family: var(--font-family) !important;
190
+ }