@eeacms/volto-bise-policy 1.3.11 → 1.3.13

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 (39) hide show
  1. package/CHANGELOG.md +37 -1
  2. package/package.json +2 -1
  3. package/src/components/manage/Blocks/CaseStudyExplorer/CaseStudyCard.jsx +404 -0
  4. package/src/components/manage/Blocks/CaseStudyExplorer/CaseStudyCard.test.jsx +366 -0
  5. package/src/components/manage/Blocks/CaseStudyExplorer/CaseStudyExplorerView.jsx +192 -91
  6. package/src/components/manage/Blocks/CaseStudyExplorer/CaseStudyExplorerView.test.jsx +205 -58
  7. package/src/components/manage/Blocks/CaseStudyExplorer/CaseStudyMap.jsx +329 -178
  8. package/src/components/manage/Blocks/CaseStudyExplorer/CaseStudyMap.test.jsx +243 -123
  9. package/src/components/manage/Blocks/CaseStudyExplorer/CaseStudyMapLazy.jsx +61 -0
  10. package/src/components/manage/Blocks/CaseStudyExplorer/CaseStudyMapLazy.test.jsx +89 -0
  11. package/src/components/manage/Blocks/CaseStudyExplorer/CaseStudyResults.jsx +128 -0
  12. package/src/components/manage/Blocks/CaseStudyExplorer/CaseStudyResults.test.jsx +160 -0
  13. package/src/components/manage/Blocks/CaseStudyExplorer/FacetPopover.jsx +180 -0
  14. package/src/components/manage/Blocks/CaseStudyExplorer/FacetPopover.test.jsx +125 -0
  15. package/src/components/manage/Blocks/CaseStudyExplorer/FilterPanel.jsx +171 -0
  16. package/src/components/manage/Blocks/CaseStudyExplorer/FilterPanel.test.jsx +181 -0
  17. package/src/components/manage/Blocks/CaseStudyExplorer/Pagination.jsx +81 -0
  18. package/src/components/manage/Blocks/CaseStudyExplorer/filters.js +350 -0
  19. package/src/components/manage/Blocks/CaseStudyExplorer/filters.test.js +399 -0
  20. package/src/components/manage/Blocks/CaseStudyExplorer/hooks.js +28 -4
  21. package/src/components/manage/Blocks/CaseStudyExplorer/hooks.test.js +73 -0
  22. package/src/components/manage/Blocks/CaseStudyExplorer/messages.js +138 -0
  23. package/src/components/manage/Blocks/CaseStudyExplorer/styles.less +1157 -317
  24. package/src/components/manage/Blocks/CaseStudyExplorer/testUtils.js +44 -46
  25. package/src/components/manage/Blocks/CaseStudyExplorer/utils.js +68 -184
  26. package/src/components/manage/Blocks/CaseStudyExplorer/utils.test.js +91 -158
  27. package/src/index.js +39 -0
  28. package/src/openlayers.js +51 -0
  29. package/src/components/manage/Blocks/CaseStudyExplorer/CaseStudyFilters.jsx +0 -383
  30. package/src/components/manage/Blocks/CaseStudyExplorer/CaseStudyFilters.test.jsx +0 -90
  31. package/src/components/manage/Blocks/CaseStudyExplorer/CaseStudyListing.jsx +0 -342
  32. package/src/components/manage/Blocks/CaseStudyExplorer/CaseStudyListing.test.jsx +0 -196
  33. package/src/components/manage/Blocks/CaseStudyExplorer/FeatureDisplay.jsx +0 -24
  34. package/src/components/manage/Blocks/CaseStudyExplorer/FeatureDisplay.test.jsx +0 -49
  35. package/src/components/manage/Blocks/CaseStudyExplorer/FeatureInteraction.jsx +0 -100
  36. package/src/components/manage/Blocks/CaseStudyExplorer/FeatureInteraction.test.jsx +0 -189
  37. package/src/components/manage/Blocks/CaseStudyExplorer/InfoOverlay.jsx +0 -111
  38. package/src/components/manage/Blocks/CaseStudyExplorer/InfoOverlay.test.jsx +0 -159
  39. package/src/components/manage/Blocks/CaseStudyExplorer/styles.less_old +0 -201
@@ -1,201 +0,0 @@
1
- #csepopup > span {
2
- display: 'block';
3
- margin-bottom: '10px';
4
- background-color: '#ddd';
5
- }
6
-
7
- #csepopup {
8
- // width: 300px;
9
- width: 100%;
10
- // height: 100%;
11
- padding: 1em;
12
- // border: 1px solid black;
13
- // font-size: 14px;
14
- // line-height: initial;
15
- font-size: 1rem;
16
-
17
- a:hover {
18
- color: #0099bb;
19
- }
20
-
21
- h3 {
22
- font-size: 1.4rem;
23
- }
24
-
25
- h4 {
26
- margin: 0px;
27
- }
28
-
29
- div {
30
- margin-bottom: 16px;
31
- }
32
-
33
- ul {
34
- margin: 0px;
35
-
36
- li {
37
- line-height: 22px;
38
- }
39
- }
40
-
41
- p {
42
- font-size: 13px;
43
-
44
- p {
45
- margin-bottom: 10px;
46
- }
47
- }
48
-
49
- span.blue {
50
- color: #069;
51
- }
52
-
53
- span.img {
54
- display: block;
55
- margin-bottom: 10px;
56
- background-color: #ddd;
57
-
58
- img {
59
- max-height: 133px;
60
- }
61
- }
62
- }
63
-
64
- #external-popup-overlay {
65
- width: 370px;
66
- height: 100%;
67
-
68
- .ol-overlay-container {
69
- position: relative !important;
70
- // display: block !important;
71
- width: 100%;
72
- height: 100%;
73
- background-color: #dae8f4;
74
-
75
- #popup-overlay {
76
- position: relative !important;
77
- display: flex;
78
- width: 100%;
79
- height: 100%;
80
- align-items: center;
81
- }
82
- }
83
- }
84
-
85
- #cse-filter {
86
- display: flex;
87
- flex-direction: row;
88
- font-family: sans-serif;
89
- // gap: 3em;
90
-
91
- .filter-wrapper {
92
- // flex-grow: 1;
93
-
94
- &.active {
95
- button span {
96
- // box-shadow: 0 0 4px #aaa !important;
97
- box-shadow: 0 5px 0 #ffffff, 0 0 4px rgba(0, 0, 0, 0.25);
98
- color: #0099bb;
99
- }
100
-
101
- .filter-inputs-wrapper {
102
- display: block;
103
- }
104
- }
105
-
106
- .ri-arrow-down-s-line:before {
107
- content: '\ea4e';
108
- }
109
-
110
- .ui.basic.button.facet-btn {
111
- margin: 0 0.25em 0.25em 0;
112
-
113
- &:active {
114
- background: white !important;
115
- }
116
-
117
- &:hover,
118
- &:focus {
119
- color: rgba(0, 0, 0, 0.6) !important;
120
- }
121
-
122
- span {
123
- position: relative !important;
124
- z-index: 99999;
125
- display: inline-block;
126
- overflow: hidden;
127
- padding: 0.5em 1em;
128
- background-color: white;
129
- }
130
- }
131
-
132
- .filter-inputs-wrapper {
133
- position: absolute;
134
- z-index: 1;
135
- display: none;
136
- padding: 1em;
137
- margin-top: -6px;
138
- background-color: #fff;
139
- box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
140
- color: #4f4f4f;
141
-
142
- .filterInputText {
143
- padding: 6px;
144
- border: 0.5px solid #c4c4c4;
145
- margin-bottom: 0.7em;
146
- border-radius: 0;
147
- font-size: 14px;
148
- }
149
-
150
- .filter-inputs {
151
- overflow: auto;
152
- min-width: 200px;
153
- max-width: 400px;
154
- max-height: 200px;
155
-
156
- &::-webkit-scrollbar {
157
- width: 8px;
158
- height: 0.3rem !important;
159
- }
160
-
161
- &::-webkit-scrollbar-track {
162
- background-color: #d9d9d9;
163
- border-radius: 10px;
164
- }
165
-
166
- &::-webkit-scrollbar-thumb {
167
- background: #004b7f;
168
- border-radius: 10px;
169
- }
170
-
171
- .filter-input {
172
- display: flex;
173
- align-items: center;
174
- justify-content: flex-start;
175
- cursor: pointer;
176
- font-size: 14px;
177
-
178
- span {
179
- padding-right: 5px;
180
- }
181
-
182
- input {
183
- margin-right: 8px;
184
- cursor: pointer;
185
- }
186
- }
187
- }
188
- }
189
- }
190
-
191
- h4 {
192
- position: relative;
193
- padding: 10px;
194
- border-bottom: 1px solid #d8d8d8;
195
- margin-bottom: 0 !important;
196
- background-color: #005c96;
197
- color: #fff;
198
- cursor: pointer;
199
- font-size: 14px;
200
- }
201
- }