@provoly/dashboard 0.20.2 → 0.20.4

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 (203) hide show
  1. package/admin/components/admin-classes/admin-classes-view/admin-attributes-form/admin-attributes-form.component.d.ts +5 -2
  2. package/admin/components/admin-fields/admin-fields-select/admin-fields-select.component.d.ts +1 -1
  3. package/admin/i18n/en.translations.d.ts +1 -0
  4. package/admin/i18n/fr.translations.d.ts +1 -0
  5. package/components/metadata-editor/style/_o-metadata-editor.scss +0 -5
  6. package/dataset/style/_o-pry-dataset-card.scss +5 -37
  7. package/esm2022/admin/components/admin-abac-rules/admin-abac-rules-form/admin-abac-rules-form.component.mjs +3 -3
  8. package/esm2022/admin/components/admin-abac-rules/components/attribute-condition/attribute-condition.component.mjs +3 -3
  9. package/esm2022/admin/components/admin-abac-rules/components/metadata-condition/metadata-condition.component.mjs +3 -3
  10. package/esm2022/admin/components/admin-classes/admin-classes-customize/admin-classes-customize.component.mjs +5 -5
  11. package/esm2022/admin/components/admin-classes/admin-classes-customize/symbol/admin-classes-customize-symbol.component.mjs +3 -3
  12. package/esm2022/admin/components/admin-classes/admin-classes-customize/tooltip/admin-classes-customize-tooltip.component.mjs +5 -5
  13. package/esm2022/admin/components/admin-classes/admin-classes-form/admin-classes-form.component.mjs +3 -3
  14. package/esm2022/admin/components/admin-classes/admin-classes-view/admin-attributes-form/admin-attributes-form.component.mjs +42 -12
  15. package/esm2022/admin/components/admin-classes/admin-classes-view/admin-attributes-new/admin-attributes-new.component.mjs +1 -1
  16. package/esm2022/admin/components/admin-classes/admin-classes-view/admin-attributes-select/admin-attributes-select.component.mjs +3 -3
  17. package/esm2022/admin/components/admin-classes/admin-classes-view/admin-classes-view.component.mjs +3 -3
  18. package/esm2022/admin/components/admin-dataset/shared/admin-form-dataset/admin-form-dataset.component.mjs +3 -3
  19. package/esm2022/admin/components/admin-environment/admin-environment-form/admin-environment-form.component.mjs +3 -3
  20. package/esm2022/admin/components/admin-fields/admin-fields-form/admin-fields-form.component.mjs +3 -3
  21. package/esm2022/admin/components/admin-fields/admin-fields-select/admin-fields-select.component.mjs +2 -2
  22. package/esm2022/admin/components/admin-links/admin-links-new/admin-links-new.component.mjs +3 -3
  23. package/esm2022/admin/components/admin-metadata/shared/form-metadata/form-metadata.component.mjs +3 -3
  24. package/esm2022/admin/components/admin-metadata-rules/shared/admin-form-metadata-rules/admin-form-metadata-rules.component.mjs +3 -3
  25. package/esm2022/admin/i18n/en.translations.mjs +3 -2
  26. package/esm2022/admin/i18n/fr.translations.mjs +3 -2
  27. package/esm2022/components/metadata-editor/metadata-editor.component.mjs +3 -3
  28. package/esm2022/components/metadata-editor/style/css.component.mjs +2 -2
  29. package/esm2022/components/scheme-picker/scheme-picker.component.mjs +3 -3
  30. package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +5 -5
  31. package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +1 -2
  32. package/esm2022/dataset/i18n/fr.translations.mjs +2 -2
  33. package/esm2022/dataset/style/css.component.mjs +2 -2
  34. package/esm2022/filters/autocomplete/autocomplete.component.mjs +13 -6
  35. package/esm2022/filters/autocomplete/autocomplete.module.mjs +5 -5
  36. package/esm2022/filters/autocomplete/style/css.component.mjs +2 -2
  37. package/esm2022/filters/list/list-filter.component.mjs +1 -1
  38. package/esm2022/import/components/import.component.mjs +3 -3
  39. package/esm2022/lib/core/components/ellipsis.directive.mjs +31 -0
  40. package/esm2022/lib/core/components/select/select.component.mjs +163 -38
  41. package/esm2022/lib/core/components/select/select.module.mjs +4 -5
  42. package/esm2022/lib/core/components/share/share.component.mjs +3 -3
  43. package/esm2022/lib/core/components/translate-id/translate-id.pipe.mjs +7 -8
  44. package/esm2022/lib/core/core.module.mjs +8 -4
  45. package/esm2022/lib/core/i18n/en.translations.mjs +7 -5
  46. package/esm2022/lib/core/i18n/fr.translations.mjs +8 -5
  47. package/esm2022/lib/core/model/admin-api.model.mjs +1 -1
  48. package/esm2022/lib/core/model/display-options.interface.mjs +18 -4
  49. package/esm2022/lib/core/model/filter.interface.mjs +1 -1
  50. package/esm2022/lib/core/model/manifest.interface.mjs +1 -1
  51. package/esm2022/lib/core/public-api.mjs +2 -1
  52. package/esm2022/lib/core/store/class/class.interface.mjs +1 -1
  53. package/esm2022/lib/core/store/class/class.selectors.mjs +6 -2
  54. package/esm2022/lib/core/store/search/search.service.mjs +1 -1
  55. package/esm2022/lib/core/toolbox/toolbox-manifest.service.mjs +1 -4
  56. package/esm2022/lib/dashboard/components/context-menu/object-edition/object-edition.component.mjs +28 -28
  57. package/esm2022/lib/dashboard/components/widgets/header/widget-header.component.mjs +6 -15
  58. package/esm2022/lib/dashboard/components/widgets/settings/settings.component.mjs +3 -3
  59. package/esm2022/lib/dashboard/filter/components/filter-group/filter-group.component.mjs +3 -3
  60. package/esm2022/lib/dashboard/filter/style/css.component.mjs +2 -2
  61. package/esm2022/lib/dashboard/item-utils.mjs +7 -7
  62. package/esm2022/lib/dashboard/store/dashboard.effects.mjs +1 -4
  63. package/esm2022/pipeline/store/pipeline.actions.mjs +1 -1
  64. package/esm2022/pipeline-components/filter/component/filter.component.mjs +4 -4
  65. package/esm2022/pipeline-components/input-datasource/component/input-datasource.component.mjs +3 -3
  66. package/esm2022/pipeline-components/output-dataset/component/output-dataset.component.mjs +3 -3
  67. package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +3 -3
  68. package/esm2022/presentation/components/presentation.component.mjs +3 -3
  69. package/esm2022/presentation/i18n/fr.translations.mjs +9 -9
  70. package/esm2022/presentation/style/css.component.mjs +2 -2
  71. package/esm2022/restitution/components/restitution/restitution.component.mjs +23 -22
  72. package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +13 -6
  73. package/esm2022/restitution/i18n/en.translations.mjs +2 -2
  74. package/esm2022/restitution/i18n/fr.translations.mjs +4 -4
  75. package/esm2022/restitution/style/css.component.mjs +2 -2
  76. package/esm2022/search/search-mono-class/components/search-condition/search-condition.component.mjs +3 -3
  77. package/esm2022/search/search-mono-class/components/search-mono-class/search-mono-class.component.mjs +3 -3
  78. package/esm2022/search/search-mono-class/components/search-order/search-order.component.mjs +3 -3
  79. package/esm2022/search/search-multi-class/components/multi-class-condition/multi-class-condition.component.mjs +3 -3
  80. package/esm2022/supervision/components/supervision-integration-errors/supervision-integration-errors.component.mjs +3 -3
  81. package/esm2022/toolbox/components/automate-refresh/automate-refresh.component.mjs +3 -3
  82. package/esm2022/toolbox/components/clear-view/clear-view.component.mjs +3 -3
  83. package/esm2022/toolbox/components/drag-widgets/drag-widgets.component.mjs +3 -3
  84. package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +6 -6
  85. package/esm2022/toolbox/components/launch-tab/launch-tab.component.mjs +3 -3
  86. package/esm2022/toolbox/components/named-query/named-query.component.mjs +3 -3
  87. package/esm2022/toolbox/components/refresh-datasets/refresh-datasets.component.mjs +3 -3
  88. package/esm2022/toolbox/components/save-view/save-view.component.mjs +3 -3
  89. package/esm2022/toolbox/components/select-grid-layout/select-grid-layout.component.mjs +3 -3
  90. package/esm2022/toolbox/components/toolbox.component.mjs +4 -3
  91. package/esm2022/tooltips/attribute/attribute-tooltip.component.mjs +8 -2
  92. package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +8 -7
  93. package/esm2022/widgets/widget-chart/component/widget-chart.component.mjs +12 -13
  94. package/esm2022/widgets/widget-graph/component/widget-graph.component.mjs +3 -3
  95. package/esm2022/widgets/widget-map/component/widget-map.component.mjs +13 -7
  96. package/esm2022/widgets/widget-map/i18n/en.translations.mjs +3 -2
  97. package/esm2022/widgets/widget-map/i18n/fr.translations.mjs +3 -2
  98. package/esm2022/widgets/widget-map/pipe/widget-map-geometry-fields-for.pipe.mjs +3 -3
  99. package/esm2022/widgets/widget-map/style/css.component.mjs +2 -2
  100. package/esm2022/widgets/widget-map/utils/cql-utils.class.mjs +2 -2
  101. package/esm2022/widgets/widget-map/utils/widget-map.utils.mjs +6 -6
  102. package/esm2022/widgets/widget-table/component/widget-table.component.mjs +8 -8
  103. package/esm2022/widgets/widget-table/get-value/get-value.pipe.mjs +2 -2
  104. package/esm2022/widgets/widget-tile/component/widget-tile.component.mjs +3 -3
  105. package/fesm2022/provoly-dashboard-admin.mjs +80 -48
  106. package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
  107. package/fesm2022/provoly-dashboard-components-metadata-editor.mjs +4 -4
  108. package/fesm2022/provoly-dashboard-components-metadata-editor.mjs.map +1 -1
  109. package/fesm2022/provoly-dashboard-components-scheme-picker.mjs +2 -2
  110. package/fesm2022/provoly-dashboard-components-scheme-picker.mjs.map +1 -1
  111. package/fesm2022/provoly-dashboard-dataset.mjs +5 -6
  112. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  113. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs +18 -11
  114. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs.map +1 -1
  115. package/fesm2022/provoly-dashboard-filters-list.mjs +1 -1
  116. package/fesm2022/provoly-dashboard-filters-list.mjs.map +1 -1
  117. package/fesm2022/provoly-dashboard-import.mjs +2 -2
  118. package/fesm2022/provoly-dashboard-import.mjs.map +1 -1
  119. package/fesm2022/provoly-dashboard-pipeline-components-filter.mjs +3 -3
  120. package/fesm2022/provoly-dashboard-pipeline-components-filter.mjs.map +1 -1
  121. package/fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs +2 -2
  122. package/fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs.map +1 -1
  123. package/fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs +2 -2
  124. package/fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs.map +1 -1
  125. package/fesm2022/provoly-dashboard-pipeline.mjs.map +1 -1
  126. package/fesm2022/provoly-dashboard-presentation.mjs +14 -14
  127. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  128. package/fesm2022/provoly-dashboard-restitution.mjs +39 -31
  129. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  130. package/fesm2022/provoly-dashboard-search.mjs +8 -8
  131. package/fesm2022/provoly-dashboard-search.mjs.map +1 -1
  132. package/fesm2022/provoly-dashboard-supervision.mjs +2 -2
  133. package/fesm2022/provoly-dashboard-supervision.mjs.map +1 -1
  134. package/fesm2022/provoly-dashboard-toolbox.mjs +24 -23
  135. package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
  136. package/fesm2022/provoly-dashboard-tooltips-attribute.mjs +7 -1
  137. package/fesm2022/provoly-dashboard-tooltips-attribute.mjs.map +1 -1
  138. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +7 -6
  139. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
  140. package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs +11 -12
  141. package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs.map +1 -1
  142. package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs +2 -2
  143. package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs.map +1 -1
  144. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +26 -18
  145. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  146. package/fesm2022/provoly-dashboard-widgets-widget-table.mjs +8 -8
  147. package/fesm2022/provoly-dashboard-widgets-widget-table.mjs.map +1 -1
  148. package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs +2 -2
  149. package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs.map +1 -1
  150. package/fesm2022/provoly-dashboard.mjs +281 -122
  151. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  152. package/filters/autocomplete/autocomplete.component.d.ts +1 -0
  153. package/filters/autocomplete/autocomplete.module.d.ts +1 -1
  154. package/filters/autocomplete/style/_m-autocomplete.scss +16 -3
  155. package/lib/core/components/ellipsis.directive.d.ts +11 -0
  156. package/lib/core/components/select/select.component.d.ts +39 -19
  157. package/lib/core/components/select/select.module.d.ts +4 -5
  158. package/lib/core/components/translate-id/translate-id.pipe.d.ts +1 -3
  159. package/lib/core/core.module.d.ts +15 -14
  160. package/lib/core/i18n/en.translations.d.ts +4 -2
  161. package/lib/core/i18n/fr.translations.d.ts +5 -2
  162. package/lib/core/model/admin-api.model.d.ts +1 -0
  163. package/lib/core/model/display-options.interface.d.ts +11 -0
  164. package/lib/core/model/filter.interface.d.ts +1 -1
  165. package/lib/core/model/manifest.interface.d.ts +1 -5
  166. package/lib/core/public-api.d.ts +1 -0
  167. package/lib/core/store/class/class.interface.d.ts +1 -0
  168. package/lib/core/store/class/class.selectors.d.ts +105 -5
  169. package/lib/core/store/search/search.service.d.ts +1 -1
  170. package/lib/dashboard/components/widgets/header/widget-header.component.d.ts +2 -5
  171. package/lib/dashboard/filter/style/_o-pry-filter-group.scss +0 -11
  172. package/lib/dashboard/store/dashboard.effects.d.ts +0 -1
  173. package/lib/dashboard/store/dashboard.selectors.d.ts +0 -9
  174. package/package.json +7 -8
  175. package/pipeline/store/pipeline.actions.d.ts +1 -1
  176. package/presentation/style/_o-pry-new-presentation.scss +0 -7
  177. package/presentation/style/_o-pry-presentation.scss +20 -55
  178. package/restitution/components/restitution-catalog/restitution-catalog.component.d.ts +1 -1
  179. package/restitution/i18n/en.translations.d.ts +1 -1
  180. package/restitution/i18n/fr.translations.d.ts +3 -3
  181. package/schematics/migration.json +6 -1
  182. package/schematics/ng-update/version-0-20/index.d.ts +2 -0
  183. package/schematics/ng-update/version-0-20/index.js +19 -0
  184. package/schematics/ng-update/version-0-20/index.js.map +1 -0
  185. package/styles/components/_a-pry-select.scss +34 -10
  186. package/styles/components/_a-tooltip.scss +2 -2
  187. package/styles/components/_m-filter.scss +11 -20
  188. package/styles/components/_o-dashboard.scss +4 -0
  189. package/styles/components/_o-draggable-menu.scss +1 -1
  190. package/styles/components/_o-widget.scss +2 -2
  191. package/styles/main.scss +0 -1
  192. package/styles-theme/abstracts-theme/variables/_variables-typo.scss +9 -0
  193. package/styles-theme/components-theme/_a-pry-select.theme.scss +23 -96
  194. package/styles-theme/components-theme/_a-tooltip.theme.scss +2 -2
  195. package/styles-theme/components-theme/_o-pry-composed-condition.theme.scss +0 -12
  196. package/toolbox/components/filter-settings/filter-settings.component.d.ts +2 -2
  197. package/toolbox/components/toolbox.component.d.ts +1 -0
  198. package/tooltips/attribute/attribute-tooltip.component.d.ts +1 -0
  199. package/widgets/widget-chart/component/widget-chart.component.d.ts +0 -1
  200. package/widgets/widget-map/component/widget-map.component.d.ts +2 -0
  201. package/widgets/widget-map/i18n/en.translations.d.ts +1 -0
  202. package/widgets/widget-map/i18n/fr.translations.d.ts +1 -0
  203. package/widgets/widget-map/style/_o-layer-legend.scss +21 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.20.2",
3
+ "version": "0.20.4",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "14.x || 15.x || 16.x",
@@ -8,7 +8,6 @@
8
8
  "@angular/core": "15.x || 16.x",
9
9
  "@angular/platform-browser": "15.x || 16.x",
10
10
  "@angular/router": "15.x || 16.x",
11
- "@ng-select/ng-select": "11.2.0",
12
11
  "@ngrx/effects": "16.x",
13
12
  "@ngrx/entity": "16.x",
14
13
  "@ngrx/store": "16.x",
@@ -301,6 +300,12 @@
301
300
  "esm": "./esm2022/widgets/widget-image/provoly-dashboard-widgets-widget-image.mjs",
302
301
  "default": "./fesm2022/provoly-dashboard-widgets-widget-image.mjs"
303
302
  },
303
+ "./widgets/widget-map": {
304
+ "types": "./widgets/widget-map/index.d.ts",
305
+ "esm2022": "./esm2022/widgets/widget-map/provoly-dashboard-widgets-widget-map.mjs",
306
+ "esm": "./esm2022/widgets/widget-map/provoly-dashboard-widgets-widget-map.mjs",
307
+ "default": "./fesm2022/provoly-dashboard-widgets-widget-map.mjs"
308
+ },
304
309
  "./widgets/widget-table": {
305
310
  "types": "./widgets/widget-table/index.d.ts",
306
311
  "esm2022": "./esm2022/widgets/widget-table/provoly-dashboard-widgets-widget-table.mjs",
@@ -313,12 +318,6 @@
313
318
  "esm": "./esm2022/widgets/widget-template/provoly-dashboard-widgets-widget-template.mjs",
314
319
  "default": "./fesm2022/provoly-dashboard-widgets-widget-template.mjs"
315
320
  },
316
- "./widgets/widget-map": {
317
- "types": "./widgets/widget-map/index.d.ts",
318
- "esm2022": "./esm2022/widgets/widget-map/provoly-dashboard-widgets-widget-map.mjs",
319
- "esm": "./esm2022/widgets/widget-map/provoly-dashboard-widgets-widget-map.mjs",
320
- "default": "./fesm2022/provoly-dashboard-widgets-widget-map.mjs"
321
- },
322
321
  "./widgets/widget-tile": {
323
322
  "types": "./widgets/widget-tile/index.d.ts",
324
323
  "esm2022": "./esm2022/widgets/widget-tile/provoly-dashboard-widgets-widget-tile.mjs",
@@ -8,7 +8,7 @@ export interface NodePipelineError extends PipelineError {
8
8
  }
9
9
  export interface NodeStatusModel {
10
10
  attributes: {
11
- name: string;
11
+ technicalName: string;
12
12
  type: string;
13
13
  }[];
14
14
  }
@@ -43,13 +43,6 @@ pry-add-edit-presentation {
43
43
 
44
44
  .o-presentation__metadata-editor {
45
45
  flex: 1 50%;
46
-
47
- pry-metadata-editor {
48
- ng-select {
49
- position: relative;
50
- width: 100%;
51
- }
52
- }
53
46
  }
54
47
 
55
48
  .o-presentation-form {
@@ -31,6 +31,7 @@
31
31
 
32
32
  &__content {
33
33
  height: 100%;
34
+ overflow: auto;
34
35
 
35
36
  .pointer {
36
37
  cursor: pointer;
@@ -78,11 +79,6 @@
78
79
  }
79
80
  }
80
81
 
81
- .a-tooltip {
82
- align-items: center;
83
- width: 100%;
84
- height: 100%;
85
- }
86
82
  &__image {
87
83
  width: auto;
88
84
  cursor: pointer;
@@ -135,6 +131,23 @@
135
131
  }
136
132
  }
137
133
 
134
+ &__description-container {
135
+ position: relative;
136
+ width: 100%;
137
+ display: flex;
138
+ align-content: center;
139
+
140
+ &.a-tooltip[data-tooltip]:after {
141
+ width: 100%;
142
+ white-space: normal;
143
+ }
144
+ }
145
+
146
+ &__description {
147
+ width: 100%;
148
+ max-height: toRem(40);
149
+ }
150
+
138
151
  &__footer {
139
152
  display: flex;
140
153
  align-content: center;
@@ -142,6 +155,7 @@
142
155
  font-size: toRem(14);
143
156
  line-height: toRem(18);
144
157
  padding: toRem(3) 0;
158
+ max-height: toRem(37);
145
159
 
146
160
  .a-btn {
147
161
  margin-left: toRem(20); // needed for centering the footer text
@@ -162,56 +176,6 @@
162
176
  padding: toRem(15);
163
177
  }
164
178
 
165
- .description-container {
166
- position: relative;
167
- width: 100%;
168
- }
169
-
170
- .description {
171
- white-space: nowrap;
172
- text-overflow: ellipsis;
173
- overflow: hidden;
174
- display: inherit;
175
- position: relative;
176
- line-height: 2rem;
177
- box-sizing: border-box;
178
- pointer-events:none;
179
- }
180
-
181
- .description:after {
182
- content:"";
183
- display: block;
184
- position: absolute;
185
- top: 0;
186
- right: 0;
187
- width: 40px;
188
- height: 48px;
189
- z-index: 1;
190
- pointer-events:initial;
191
- }
192
-
193
- .description:hover:after{
194
- cursor: pointer;
195
- }
196
-
197
- .description-tooltip {
198
- position: absolute;
199
- max-width: 50vw;
200
- visibility: hidden;
201
- background-color: #fff;
202
- padding: 20px;
203
- -webkit-box-shadow: 0 0 50px 0 rgba(0,0,0,0.3);
204
- opacity: 0;
205
- transition: opacity 0.5s ease;
206
- z-index: 2;
207
- }
208
-
209
- .description:hover + .description-tooltip {
210
- visibility: visible;
211
- transition: opacity 0.2s ease;
212
- opacity: 1;
213
- }
214
-
215
179
  .title-tooltip {
216
180
  transform: translateY(4rem);
217
181
  }
@@ -233,6 +197,7 @@ h1.a-presentation-title {
233
197
  padding-bottom: 0;
234
198
  }
235
199
  }
200
+
236
201
  .actions-list {
237
202
  display: flex;
238
203
  align-items: center;
@@ -24,7 +24,7 @@ export declare class PryRestitutionCatalogComponent {
24
24
  closeRestitution($event: void): void;
25
25
  deleteRestitution(id: string): void;
26
26
  editRestitution(restitution: Widget): void;
27
- toggleModalActions(restitution?: Widget): void;
27
+ toggleModalActions(restitution?: Widget, moreButton?: HTMLButtonElement): void;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<PryRestitutionCatalogComponent, never>;
29
29
  static ɵcmp: i0.ɵɵComponentDeclaration<PryRestitutionCatalogComponent, "pry-restitution-catalog", never, {}, {}, never, never, false, never>;
30
30
  }
@@ -8,7 +8,7 @@ export declare const enTranslations: {
8
8
  image: string;
9
9
  close: string;
10
10
  validate: string;
11
- broadcast: string;
11
+ share: string;
12
12
  view: string;
13
13
  create: string;
14
14
  cancel: string;
@@ -8,11 +8,12 @@ export declare const frTranslations: {
8
8
  image: string;
9
9
  close: string;
10
10
  validate: string;
11
- broadcast: string;
11
+ share: string;
12
12
  more: string;
13
13
  options: string;
14
14
  view: string;
15
15
  create: string;
16
+ edit: string;
16
17
  cancel: string;
17
18
  configure: string;
18
19
  visualize: string;
@@ -21,11 +22,10 @@ export declare const frTranslations: {
21
22
  private: string;
22
23
  choice: string;
23
24
  or: string;
24
- create_title: string;
25
- consult_title: string;
26
25
  search: string;
27
26
  backToCatalog: string;
28
27
  consult: string;
28
+ consultRestitution: string;
29
29
  catalog: string;
30
30
  add_icon: string;
31
31
  selection: string;
@@ -19,7 +19,12 @@
19
19
  "migration-v0.18": {
20
20
  "version": "0.18",
21
21
  "description": "Update library to version 0.18",
22
- "factory": "./ng-update/version-0-15/index#updateTo0_18"
22
+ "factory": "./ng-update/version-0-18/index#updateTo0_18"
23
+ },
24
+ "migration-v0.20": {
25
+ "version": "0.20",
26
+ "description": "Update library to version 0.20",
27
+ "factory": "./ng-update/version-0-20/index#updateTo0_20"
23
28
  }
24
29
  }
25
30
  }
@@ -0,0 +1,2 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ export declare function updateTo0_20(): Rule;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateTo0_20 = void 0;
4
+ const schematics_1 = require("@angular-devkit/schematics");
5
+ const tasks_1 = require("@angular-devkit/schematics/tasks");
6
+ const complete_function_1 = require("../utils/complete.function");
7
+ const dependencies_1 = require("@schematics/angular/utility/dependencies");
8
+ function removeUselessDeps(tree) {
9
+ (0, dependencies_1.removePackageJsonDependency)(tree, 'ng-select');
10
+ }
11
+ function updateTo0_20() {
12
+ return (_tree, context) => {
13
+ removeUselessDeps(_tree);
14
+ context.addTask(new tasks_1.NodePackageInstallTask());
15
+ return (0, schematics_1.chain)([(0, complete_function_1.onMigrationComplete)('0.20', context)]);
16
+ };
17
+ }
18
+ exports.updateTo0_20 = updateTo0_20;
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../projects/provoly/dashboard/schematics/ng-update/version-0-20/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiF;AACjF,4DAA0E;AAC1E,kEAAiE;AACjE,2EAAuF;AAEvF,SAAS,iBAAiB,CAAC,IAAU;IACnC,IAAA,0CAA2B,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AACjD,CAAC;AAED,SAAgB,YAAY;IAC1B,OAAO,CAAC,KAAW,EAAE,OAAyB,EAAQ,EAAE;QACtD,iBAAiB,CAAC,KAAK,CAAC,CAAC;QACzB,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;QAC9C,OAAO,IAAA,kBAAK,EAAC,CAAC,IAAA,uCAAmB,EAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IACvD,CAAC,CAAC;AACJ,CAAC;AAND,oCAMC"}
@@ -2,22 +2,46 @@
2
2
 
3
3
  /* Atom - Component pry-select (lib) */
4
4
  .a-pry-select {
5
- .ng-value-label {
6
- display: flex;
7
- align-items: center;
8
- height: toRem(36);
5
+ display: flex;
6
+ flex-direction: row;
7
+ gap: toRem(10);
8
+ align-items: center;
9
+ padding: toRem(10);
10
+
11
+ &__value {
12
+ &.-multiple {
13
+ padding: toRem(2) toRem(15);
14
+ border-radius: toRem(15);
15
+ }
16
+ }
17
+
18
+ &__filler, &__search {
19
+ flex: 1 1;
20
+ }
21
+
22
+ &__search {
23
+ border: none;
24
+ outline: none;
9
25
  }
10
26
 
11
- .ng-option-label {
27
+ &__options {
12
28
  display: flex;
13
- align-items: center;
29
+ flex-direction: column;
30
+ justify-content: space-evenly;
31
+ overflow: auto;
14
32
 
15
- pry-icon {
16
- margin-right: toRem(8);
33
+ &__option {
34
+ cursor: pointer;
35
+ padding: toRem(8) toRem(10);
36
+ font-family: Ubuntu,sans-serif;
37
+ font-size: .875rem;
38
+ line-height: 1.1875rem;
39
+ font-weight: 400;
40
+ font-style: normal;
17
41
  }
18
42
  }
19
43
 
20
- .ng-value {
21
- width: 100%;
44
+ &__clear {
45
+ cursor: pointer;
22
46
  }
23
47
  }
@@ -24,8 +24,8 @@
24
24
  white-space: nowrap;
25
25
  overflow: hidden;
26
26
  text-overflow: ellipsis;
27
- padding: toRem(5) toRem(7);
28
- box-shadow: 2px 3px 10px 2px rgba(0, 0, 0, 0.2);
27
+ padding: toRem(5) toRem(10);
28
+ box-shadow: 0px 1px 3px 0px #0000001A;
29
29
  border-radius: toRem(5);
30
30
  z-index: 1000;
31
31
  }
@@ -43,27 +43,18 @@
43
43
  padding: toRem(3) toRem(10);
44
44
  }
45
45
 
46
- .ng-select-container {
47
- border: none;
48
- min-width: toRem(150);
49
- }
46
+ height: toRem(30);
50
47
 
51
- .ng-select.ng-select-single .ng-select-container {
52
- min-height: toRem(22);
53
- height: toRem(22);
54
- }
55
-
56
- .ng-dropdown-panel.ng-select-bottom {
57
- margin-top: 3px;
58
- }
59
-
60
- .ng-select.ng-select-focused:not(.ng-select-opened) > .ng-select-container{
61
- border: none transparent;
62
- box-shadow: none;
63
- }
64
-
65
- .ng-option-label {
66
- font-size: toRem(12);
48
+ .a-pry-select {
49
+ border: none;
50
+ padding: 0;
51
+ outline: none;
52
+
53
+ &:focus-within {
54
+ outline: 0;
55
+ border-radius: 0;
56
+ box-shadow: none;
57
+ }
67
58
  }
68
59
  }
69
60
 
@@ -142,6 +142,10 @@
142
142
  line-height: toRem(20);
143
143
  text-align: center;
144
144
  }
145
+
146
+ &__loader {
147
+ width: toRem(20);
148
+ }
145
149
  }
146
150
 
147
151
  .a-indicator-block {
@@ -5,7 +5,7 @@
5
5
  .o-draggable-menu {
6
6
  display: flex;
7
7
  flex-direction: column;
8
- width: toRem(150);
8
+ width: toRem(170);
9
9
  padding: toRem(6);
10
10
 
11
11
  &__list {
@@ -167,7 +167,7 @@
167
167
  }
168
168
 
169
169
  &.-with-header {
170
- top: toRem(38);
170
+ top: toRem(35);
171
171
  left: toRem(5);
172
172
  }
173
173
 
@@ -206,7 +206,7 @@
206
206
  z-index: 1;
207
207
 
208
208
  &.-with-header {
209
- top: toRem(77);
209
+ top: toRem(75);
210
210
  }
211
211
  }
212
212
  }
package/styles/main.scss CHANGED
@@ -24,7 +24,6 @@
24
24
  /* Atoms lib */
25
25
  @use 'components/a-pry-select' as *;
26
26
  @use 'components/a-pry-select-image' as *;
27
- @use '/node_modules/@ng-select/ng-select/scss/default.theme';
28
27
 
29
28
  /* Molecules */
30
29
  @use 'components/m-actions-list' as *;
@@ -137,6 +137,15 @@ $theme-typography: (
137
137
  'font-weight': 400,
138
138
  'font-style': ''
139
139
  ),
140
+ 'simple-tooltip': (
141
+ 'font-family': '',
142
+ 'font-variation': '',
143
+ 'font-size': 11px,
144
+ 'line-height': 15px,
145
+ 'letter-spacing': '',
146
+ 'font-weight': 400,
147
+ 'font-style': ''
148
+ ),
140
149
  );
141
150
 
142
151
  ///// DO NOT EDIT FROM HERE /////
@@ -3,115 +3,42 @@
3
3
 
4
4
  /* Theme Atom - Component pry-select (lib) */
5
5
  .a-pry-select {
6
- &.ng-select.ng-select-focused {
7
- .ng-select-container {
8
- @include eltFocusVisible($border-radius: 4px);
9
- border-color: themed($theme-map, 'color', 'primary', 400);
10
- // box-shadow: none;
11
- }
12
- }
13
-
14
- &.ng-select {
15
- .ng-select-container {
16
- border-color: themed($theme-map, 'color', 'primary', 400);
17
- border-radius: toRem(5);
18
-
19
- .ng-value-container {
20
- .ng-value {
21
- @include typography-level(themed($theme-map, 'typography', 'form-field'));
22
- }
6
+ @include typography-level(themed($theme-map, 'typography', 'form-field'));
7
+ border: 1px solid themed($theme-map, 'color', 'primary', 400);
8
+ border-radius: toRem(5);
9
+ background-color: #ffffff;
23
10
 
24
- .ng-placeholder {
25
- @include typography-level(themed($theme-map, 'typography', 'form-field'));
26
- }
27
- }
28
- }
11
+ &:focus-within {
12
+ @include eltFocusVisible($border-radius: 4px);
13
+ }
29
14
 
30
- &.ng-invalid.pry-select-form > .ng-select-container {
31
- border-color: themed($theme-map, 'color', 'status', 'error');
32
- border-width: 1px;
15
+ &__value {
16
+ &.-multiple {
17
+ background-color: themed($theme-map, 'color', 'accent', 100);
33
18
  }
34
19
  }
35
20
 
36
- &.ng-select .ng-select-container {
37
- border-color: themed($theme-map, 'color', 'primary', 400);
21
+ &__options {
38
22
  color: themed($theme-map, 'color', 'graph', 01);
39
23
  background-color: themed($theme-map, 'color', 'primary', 'contrast', 700);
40
- }
41
-
42
- &.ng-select .ng-select-container .ng-value-container .ng-placeholder {
43
- color: themed($theme-map, 'color', 'grey', 600);
44
- }
45
-
46
- // Read-only
47
- &.ng-select.ng-select-disabled {
48
- > .ng-select-container {
49
- color: themed($theme-map, 'color', 'primary', 500);
50
- background-color: themed($theme-map, 'color', 'primary', 200);
51
- }
52
- }
53
-
54
- &.ng-select-multiple {
55
- & > .ng-select-container {
56
- & > .ng-value-container {
57
- & > .ng-value {
58
- display: flex;
59
- align-items: center;
60
- color: themed($theme-map, 'color', 'accent', 'contrast', 50);
61
- background-color: themed($theme-map, 'color', 'accent', 50);
24
+ border: 1px solid themed($theme-map, 'color', 'primary', 400);
25
+ box-shadow: 0 4px 4px #113b6e1f;
62
26
 
63
- .ng-value-icon {
64
- &.left {
65
- border-right: 1px solid themed($theme-map, 'color', 'primary', 100);
66
- }
27
+ &__option {
28
+ background-color: #ffffff;
67
29
 
68
- &.right {
69
- border-left: 1px solid themed($theme-map, 'color', 'primary', 100);
70
- }
71
-
72
- &:hover {
73
- color: themed($theme-map, 'color', 'primary', 'contrast', 100);
74
- background-color: themed($theme-map, 'color', 'primary', 100);
75
- }
76
- }
30
+ &[aria-selected="true"], &:hover {
31
+ background-color: themed($theme-map, 'color', 'accent', 50);
32
+ }
77
33
 
78
- .ng-value-label {
79
- display: flex;
80
- }
81
- }
34
+ &:hover {
35
+ color: themed($theme-map, 'color', 'primary', 'contrast', 100);
82
36
  }
83
37
  }
84
38
  }
85
- }
86
-
87
- // Dropdown
88
- /*.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,
89
- .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked*/
90
-
91
- .ng-dropdown-panel .ng-dropdown-panel-items {
92
- box-shadow: themed($theme-map, 'decoration', 'shadow', 'default');
93
-
94
- .ng-option {
95
- @include typography-level(themed($theme-map, 'typography', 'form-field'));
96
- background-color: themed($theme-map, 'color', 'primary', 'contrast', 700);
97
39
 
98
- &.ng-option-marked,
99
- &:hover {
100
- // background-color: themed($theme-map, 'color', 'primary', 200);
101
- background-color: themed($theme-map, 'color', 'accent', 50);
102
- }
103
-
104
- &.ng-option-marked.ng-option-selected,
105
- &.ng-option-selected {
106
- color: themed($theme-map, 'color', 'primary', 'contrast', 100);
107
- // background-color: themed($theme-map, 'color', 'primary', 200);
108
- background-color: themed($theme-map, 'color', 'accent', 50);
109
- }
40
+ &[aria-disabled="true"] {
41
+ color: themed($theme-map, 'color', 'primary', 500);
42
+ background-color: themed($theme-map, 'color', 'primary', 200);
110
43
  }
111
44
  }
112
-
113
- // .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label
114
-
115
- .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input {
116
- top: 0;
117
- }
@@ -5,8 +5,8 @@
5
5
 
6
6
  .a-tooltip {
7
7
  &[data-tooltip]:after {
8
- @include typography-level(themed($theme-map, 'typography', 'body'));
8
+ @include typography-level(themed($theme-map, 'typography', 'simple-tooltip'));
9
9
  background-color: themed($theme-map, 'color', 'primary', 50);
10
- color: themed($theme-map, 'color', 'primary', 800);
10
+ color: themed($theme-map, 'color', 'primary', 700);
11
11
  }
12
12
  }
@@ -46,15 +46,3 @@
46
46
  }
47
47
  }
48
48
  }
49
-
50
- .o-component-pry-composed-condition.ng-select-disabled {
51
- .o-pry-composed-condition__type.-vertical-bar {
52
- &:before {
53
- background-color: themed($theme-map, 'color', 'primary', 400);
54
- }
55
-
56
- &:after {
57
- border-color: themed($theme-map, 'color', 'primary', 400);
58
- }
59
- }
60
- }
@@ -13,7 +13,7 @@ export declare enum FilterSteps {
13
13
  }
14
14
  export interface Attribute {
15
15
  id: string;
16
- name: string;
16
+ technicalName: string;
17
17
  label: string;
18
18
  datasource: string;
19
19
  type: FieldType;
@@ -49,7 +49,7 @@ export declare class PryFilterSettingsComponent extends ToolboxActionComponent {
49
49
  classes: Class[];
50
50
  attributes$: Observable<{
51
51
  id: string;
52
- name: string;
52
+ technicalName: string;
53
53
  label: string;
54
54
  datasource: string;
55
55
  type: string;
@@ -20,6 +20,7 @@ export declare class ToolboxComponent implements OnInit {
20
20
  showDropdownButton$: Observable<boolean>;
21
21
  isDropdownOpen: boolean;
22
22
  actionsAvailable$: Observable<DisplayOptions | undefined>;
23
+ showEditToggle$: Observable<boolean>;
23
24
  set actions(actions: ToolboxAction[]);
24
25
  set dropdownActions(dropdownActions: {
25
26
  name: string;
@@ -8,6 +8,7 @@ export declare class AttributeTooltipComponent extends BaseTooltipComponent {
8
8
  private classes$;
9
9
  constructor(translateIdPipe: TranslateIdPipe, store: Store<any>);
10
10
  getAttributeName(attribute: string): Observable<string>;
11
+ getAttributeTechnicalName(attribute: string): Observable<string>;
11
12
  getValue(attribute: string, limit?: number): Observable<string>;
12
13
  _getValue(attribute: string): Observable<string | undefined | number>;
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<AttributeTooltipComponent, never>;
@@ -115,7 +115,6 @@ export declare class WidgetChartComponent extends DataWidgetComponent implements
115
115
  static matchingItems(items: Item[], options: ChartWidgetOptions, attributes: Attribute[]): Item[];
116
116
  static uniqueAttributesByNames(attributes: Attribute[]): Attribute[];
117
117
  templateTypeTranslationFn: (item: any, args: any[]) => string;
118
- translateAggregations: (item: any) => string;
119
118
  advancedEdit: string;
120
119
  changeChartTitle(title: string): void;
121
120
  changeTimeUnit($event: TimeUnit, variable: VariableDefinition): void;
@@ -180,6 +180,8 @@ export declare class WidgetMapComponent extends DataWidgetComponent implements A
180
180
  tooltipCanMove(number: number): boolean;
181
181
  private setStyleAsync;
182
182
  get mapLayers(): BaseLayer[];
183
+ get rightSlideLayers(): BaseLayer[];
184
+ get leftSlideLayers(): BaseLayer[];
183
185
  changeVisibility(layer: BaseLayer): void;
184
186
  changeSingleLayer($event: any): void;
185
187
  changeAutoLayer($event: any): void;