@provoly/dashboard 0.22.4 → 0.22.6

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 (228) hide show
  1. package/README.md +0 -2
  2. package/admin/components/admin-classes/admin-classes-customize/tooltip/admin-classes-customize-tooltip.component.d.ts +8 -4
  3. package/dataset/style/_o-pry-dataset-card.scss +24 -2
  4. package/esm2022/admin/components/admin-abac-rules/admin-abac-rules-form/admin-abac-rules-form.component.mjs +1 -1
  5. package/esm2022/admin/components/admin-abac-rules/components/attribute-condition/attribute-condition.component.mjs +1 -1
  6. package/esm2022/admin/components/admin-abac-rules/components/metadata-condition/metadata-condition.component.mjs +1 -1
  7. package/esm2022/admin/components/admin-classes/admin-classes-customize/admin-classes-customize.component.mjs +7 -6
  8. package/esm2022/admin/components/admin-classes/admin-classes-customize/symbol/admin-classes-customize-symbol.component.mjs +1 -1
  9. package/esm2022/admin/components/admin-classes/admin-classes-customize/tooltip/admin-classes-customize-tooltip.component.mjs +44 -30
  10. package/esm2022/admin/components/admin-classes/admin-classes-form/admin-classes-form.component.mjs +1 -1
  11. package/esm2022/admin/components/admin-classes/admin-classes-view/admin-attributes-form/admin-attributes-form.component.mjs +3 -3
  12. package/esm2022/admin/components/admin-dataset/shared/admin-form-dataset/admin-form-dataset.component.mjs +1 -1
  13. package/esm2022/admin/components/admin-environment/admin-environment-form/admin-environment-form.component.mjs +1 -1
  14. package/esm2022/admin/components/admin-fields/admin-fields-form/admin-fields-form.component.mjs +1 -1
  15. package/esm2022/admin/components/admin-links/admin-links-new/admin-links-new.component.mjs +1 -1
  16. package/esm2022/admin/components/admin-menu/admin-menu.component.mjs +3 -3
  17. package/esm2022/admin/components/admin-metadata/shared/form-metadata/form-metadata.component.mjs +1 -1
  18. package/esm2022/admin/components/admin-metadata-rules/shared/admin-form-metadata-rules/admin-form-metadata-rules.component.mjs +1 -1
  19. package/esm2022/components/checkbox/checkbox.component.mjs +3 -3
  20. package/esm2022/components/metadata-editor/metadata-editor.component.mjs +1 -1
  21. package/esm2022/components/scheme-picker/scheme-picker.component.mjs +1 -1
  22. package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +3 -3
  23. package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +3 -3
  24. package/esm2022/dataset/components/dataset.component.mjs +3 -3
  25. package/esm2022/dataset/style/css.component.mjs +2 -2
  26. package/esm2022/filters/autocomplete/autocomplete.component.mjs +1 -1
  27. package/esm2022/filters/list/list-filter.component.mjs +1 -1
  28. package/esm2022/import/components/import.component.mjs +1 -1
  29. package/esm2022/lib/core/components/about/about.component.mjs +3 -3
  30. package/esm2022/lib/core/components/base-menu/base-menu.component.mjs +3 -3
  31. package/esm2022/lib/core/components/base-toolbox-action/base-toolbox-action.component.mjs +3 -3
  32. package/esm2022/lib/core/components/chips-selector/chips-selector.component.mjs +8 -4
  33. package/esm2022/lib/core/components/overlay/dialog-confirm.component.mjs +3 -3
  34. package/esm2022/lib/core/components/select/select.component.mjs +21 -9
  35. package/esm2022/lib/core/components/select/select.module.mjs +5 -4
  36. package/esm2022/lib/core/components/select-image/select-image.component.mjs +2 -2
  37. package/esm2022/lib/core/components/share/share.component.mjs +1 -1
  38. package/esm2022/lib/core/i18n/en.translations.mjs +7 -2
  39. package/esm2022/lib/core/i18n/fr.translations.mjs +8 -3
  40. package/esm2022/lib/core/store/image/image.service.mjs +4 -3
  41. package/esm2022/lib/dashboard/components/context-menu/object-edition/object-edition.component.mjs +3 -3
  42. package/esm2022/lib/dashboard/components/dashboard.component.mjs +3 -3
  43. package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.mjs +3 -3
  44. package/esm2022/lib/dashboard/components/widgets/header/widget-header.component.mjs +2 -2
  45. package/esm2022/lib/dashboard/components/widgets/widget-instanciator/widget-factory.service.mjs +16 -1
  46. package/esm2022/lib/dashboard/filter/components/filter-group/filter-group.component.mjs +3 -3
  47. package/esm2022/lib/dashboard/filter/style/css.component.mjs +2 -2
  48. package/esm2022/lib/dashboard/item-utils.mjs +2 -2
  49. package/esm2022/lib/dashboard/store/dashboard.selectors.mjs +1 -4
  50. package/esm2022/lib/dashboard/store/refresh.service.mjs +14 -9
  51. package/esm2022/notification/store/notification.service.mjs +1 -1
  52. package/esm2022/notification/style/css.component.mjs +2 -2
  53. package/esm2022/pipeline/components/pipeline-editor/pipeline-editor.component.mjs +3 -3
  54. package/esm2022/pipeline-components/filter/component/filter.component.mjs +1 -1
  55. package/esm2022/pipeline-components/input-datasource/component/input-datasource.component.mjs +1 -1
  56. package/esm2022/pipeline-components/output-dataset/component/output-dataset.component.mjs +1 -1
  57. package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +1 -1
  58. package/esm2022/presentation/components/presentation.component.mjs +4 -3
  59. package/esm2022/presentation/style/css.component.mjs +2 -2
  60. package/esm2022/restitution/components/restitution/restitution.component.mjs +3 -3
  61. package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +3 -3
  62. package/esm2022/restitution/components/restitution-list/restitution-list.component.mjs +3 -3
  63. package/esm2022/restitution/components/restitution-list-item/restitution-list-item.component.mjs +3 -3
  64. package/esm2022/restitution/style/css.component.mjs +2 -2
  65. package/esm2022/search/search-home/search-home.component.mjs +2 -2
  66. package/esm2022/search/search-mono-class/components/search-condition/search-condition.component.mjs +1 -1
  67. package/esm2022/search/search-mono-class/components/search-mono-class/search-mono-class.component.mjs +1 -1
  68. package/esm2022/search/search-mono-class/components/search-order/search-order.component.mjs +1 -1
  69. package/esm2022/search/search-multi-class/components/multi-class-condition/multi-class-condition.component.mjs +1 -1
  70. package/esm2022/toolbox/components/automate-refresh/automate-refresh.component.mjs +13 -10
  71. package/esm2022/toolbox/components/clear-view/clear-view.component.mjs +3 -3
  72. package/esm2022/toolbox/components/delete/delete.component.mjs +3 -3
  73. package/esm2022/toolbox/components/drag-widgets/drag-widgets.component.mjs +3 -3
  74. package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +20 -8
  75. package/esm2022/toolbox/components/launch-tab/launch-tab.component.mjs +3 -3
  76. package/esm2022/toolbox/components/refresh-datasets/refresh-datasets.component.mjs +20 -18
  77. package/esm2022/toolbox/components/save-view/save-view.component.mjs +3 -3
  78. package/esm2022/toolbox/components/select-grid-layout/select-grid-layout.component.mjs +3 -3
  79. package/esm2022/toolbox/components/share/share.component.mjs +4 -3
  80. package/esm2022/toolbox/components/switch-to-edit-content/switch-to-edit-content.component.mjs +3 -3
  81. package/esm2022/toolbox/components/toolbox.component.mjs +19 -6
  82. package/esm2022/toolbox/style/css.component.mjs +2 -2
  83. package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +3 -3
  84. package/esm2022/widgets/widget-aggregated-chart/style/css.component.mjs +2 -2
  85. package/esm2022/widgets/widget-chart/component/widget-chart.component.mjs +1 -1
  86. package/esm2022/widgets/widget-graph/component/widget-graph.component.mjs +4 -5
  87. package/esm2022/widgets/widget-graph/style/css.component.mjs +2 -2
  88. package/esm2022/widgets/widget-map/component/widget-map.component.mjs +8 -8
  89. package/esm2022/widgets/widget-map/pipe/widget-map-legend-url.pipe.mjs +3 -2
  90. package/esm2022/widgets/widget-map/style/css.component.mjs +3 -3
  91. package/esm2022/widgets/widget-map/utils/widget-map.utils.mjs +5 -1
  92. package/esm2022/widgets/widget-table/component/widget-table.component.mjs +1 -1
  93. package/esm2022/widgets/widget-tile/component/widget-tile.component.mjs +1 -1
  94. package/fesm2022/provoly-dashboard-admin.mjs +62 -47
  95. package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
  96. package/fesm2022/provoly-dashboard-components-checkbox.mjs +2 -2
  97. package/fesm2022/provoly-dashboard-components-checkbox.mjs.map +1 -1
  98. package/fesm2022/provoly-dashboard-components-metadata-editor.mjs +1 -1
  99. package/fesm2022/provoly-dashboard-components-metadata-editor.mjs.map +1 -1
  100. package/fesm2022/provoly-dashboard-components-scheme-picker.mjs +1 -1
  101. package/fesm2022/provoly-dashboard-components-scheme-picker.mjs.map +1 -1
  102. package/fesm2022/provoly-dashboard-dataset.mjs +8 -8
  103. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  104. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs +1 -1
  105. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs.map +1 -1
  106. package/fesm2022/provoly-dashboard-filters-list.mjs +1 -1
  107. package/fesm2022/provoly-dashboard-filters-list.mjs.map +1 -1
  108. package/fesm2022/provoly-dashboard-import.mjs +1 -1
  109. package/fesm2022/provoly-dashboard-import.mjs.map +1 -1
  110. package/fesm2022/provoly-dashboard-notification.mjs +2 -2
  111. package/fesm2022/provoly-dashboard-notification.mjs.map +1 -1
  112. package/fesm2022/provoly-dashboard-pipeline-components-filter.mjs +1 -1
  113. package/fesm2022/provoly-dashboard-pipeline-components-filter.mjs.map +1 -1
  114. package/fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs +1 -1
  115. package/fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs.map +1 -1
  116. package/fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs +1 -1
  117. package/fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs.map +1 -1
  118. package/fesm2022/provoly-dashboard-pipeline.mjs +2 -2
  119. package/fesm2022/provoly-dashboard-pipeline.mjs.map +1 -1
  120. package/fesm2022/provoly-dashboard-presentation.mjs +6 -5
  121. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  122. package/fesm2022/provoly-dashboard-restitution.mjs +10 -10
  123. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  124. package/fesm2022/provoly-dashboard-search.mjs +5 -5
  125. package/fesm2022/provoly-dashboard-search.mjs.map +1 -1
  126. package/fesm2022/provoly-dashboard-toolbox.mjs +83 -52
  127. package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
  128. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +4 -4
  129. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
  130. package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs +1 -1
  131. package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs.map +1 -1
  132. package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs +5 -6
  133. package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs.map +1 -1
  134. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +14 -9
  135. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  136. package/fesm2022/provoly-dashboard-widgets-widget-table.mjs +1 -1
  137. package/fesm2022/provoly-dashboard-widgets-widget-table.mjs.map +1 -1
  138. package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs +1 -1
  139. package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs.map +1 -1
  140. package/fesm2022/provoly-dashboard.mjs +108 -65
  141. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  142. package/lib/core/components/overlay/dialog-confirm.component.d.ts +1 -1
  143. package/lib/core/components/select/select.component.d.ts +2 -1
  144. package/lib/core/components/select/select.module.d.ts +2 -1
  145. package/lib/core/i18n/en.translations.d.ts +5 -0
  146. package/lib/core/i18n/fr.translations.d.ts +5 -0
  147. package/lib/dashboard/components/widgets/header/widget-header.component.d.ts +1 -1
  148. package/lib/dashboard/components/widgets/widget-instanciator/widget-factory.service.d.ts +8 -1
  149. package/lib/dashboard/filter/style/_o-pry-filter-group.scss +1 -1
  150. package/lib/dashboard/store/dashboard.selectors.d.ts +0 -13
  151. package/lib/dashboard/store/refresh.service.d.ts +3 -1
  152. package/notification/style/_m-notifications.scss +4 -10
  153. package/package.json +13 -13
  154. package/presentation/style/_o-pry-new-presentation.scss +0 -4
  155. package/presentation/style/_o-pry-presentation.scss +6 -4
  156. package/restitution/style/_o-restitution-list.scss +1 -1
  157. package/styles/abstracts/_mixins.scss +13 -0
  158. package/styles/components/_a-btn.scss +8 -26
  159. package/styles/components/_a-chip.scss +19 -0
  160. package/styles/components/_a-pry-select.scss +13 -0
  161. package/styles/components/_a-range-slider.scss +4 -5
  162. package/styles/components/_m-info-icon.scss +2 -3
  163. package/styles/components/_m-nav-links.scss +2 -7
  164. package/styles/components/{_o-datasources.scss → _o-chips-selector.scss} +3 -4
  165. package/styles/components/_o-dashboard.scss +41 -7
  166. package/styles/components/_o-modal.scss +1 -1
  167. package/styles/components/_o-widget.scss +11 -5
  168. package/styles/layout/_o-manifest-layout.scss +4 -0
  169. package/styles/libs/_reset-lib-ol.scss +9 -5
  170. package/styles/main.scss +7 -7
  171. package/styles-theme/abstracts-theme/_abstracts-overlays.theme.scss +6 -0
  172. package/styles-theme/abstracts-theme/variables/_variables-colors.scss +18 -24
  173. package/styles-theme/abstracts-theme/variables/_variables-decoration.scss +2 -2
  174. package/styles-theme/abstracts-theme/variables/_variables-typo.scss +2 -2
  175. package/styles-theme/base-theme/_typography.theme.scss +5 -2
  176. package/styles-theme/components-theme/_a-btn.theme.scss +42 -73
  177. package/styles-theme/components-theme/_a-checkbox.theme.scss +3 -45
  178. package/styles-theme/components-theme/_a-chip.theme.scss +32 -0
  179. package/styles-theme/components-theme/_a-form-field.theme.scss +1 -1
  180. package/styles-theme/components-theme/_a-label.theme.scss +1 -0
  181. package/styles-theme/components-theme/_a-pry-select.theme.scss +13 -7
  182. package/styles-theme/components-theme/_a-range-slider.theme.scss +16 -16
  183. package/styles-theme/components-theme/_a-table.theme.scss +2 -2
  184. package/styles-theme/components-theme/_a-toggle.theme.scss +7 -8
  185. package/styles-theme/components-theme/_m-btn-sorttable.theme.scss +3 -3
  186. package/styles-theme/components-theme/_m-filter.theme.scss +4 -13
  187. package/styles-theme/components-theme/_m-form-radio-group.theme.scss +17 -0
  188. package/styles-theme/components-theme/_m-info-icon.theme.scss +11 -0
  189. package/styles-theme/components-theme/_m-minus-plus.theme.scss +2 -2
  190. package/styles-theme/components-theme/_m-nav-links.theme.scss +18 -0
  191. package/styles-theme/components-theme/_m-notifications.theme.scss +8 -4
  192. package/styles-theme/components-theme/_m-time-picker.theme.scss +1 -1
  193. package/styles-theme/components-theme/_o-catalog.theme.scss +1 -1
  194. package/styles-theme/components-theme/_o-date-picker.theme.scss +2 -2
  195. package/styles-theme/components-theme/_o-draggable-menu.theme.scss +2 -2
  196. package/styles-theme/components-theme/_o-multi-class-field-selection.theme.scss +1 -1
  197. package/styles-theme/components-theme/_o-object-panel.theme.scss +1 -1
  198. package/styles-theme/components-theme/_o-pry-admin-classes-customize.theme.scss +0 -9
  199. package/styles-theme/components-theme/_o-pry-dataset-card.theme.scss +8 -0
  200. package/styles-theme/components-theme/_o-pry-presentation.theme.scss +18 -11
  201. package/styles-theme/components-theme/_o-pry-search-tools.theme.scss +2 -13
  202. package/styles-theme/components-theme/_o-pry-stepper.theme.scss +6 -8
  203. package/styles-theme/components-theme/_o-restitution-list.theme.scss +1 -1
  204. package/styles-theme/components-theme/_o-search-fulltext.theme.scss +2 -2
  205. package/styles-theme/components-theme/_o-search-multi-class.theme.scss +0 -5
  206. package/styles-theme/components-theme/_o-settings.theme.scss +1 -1
  207. package/styles-theme/components-theme/_o-tabs.theme.scss +1 -1
  208. package/styles-theme/components-theme/_o-widget-iframe.theme.scss +2 -2
  209. package/styles-theme/components-theme/_o-widget.theme.scss +31 -2
  210. package/styles-theme/components-theme/_overlay.theme.scss +3 -3
  211. package/styles-theme/layout-theme/_o-base-layout.theme.scss +4 -3
  212. package/styles-theme/layout-theme/_o-manifest-layout.theme.scss +8 -2
  213. package/styles-theme/libs-theme/_reset-lib-ol.theme.scss +12 -3
  214. package/styles-theme/main-theme.scss +6 -4
  215. package/toolbox/components/automate-refresh/automate-refresh.component.d.ts +3 -1
  216. package/toolbox/components/filter-settings/filter-settings.component.d.ts +3 -2
  217. package/toolbox/components/refresh-datasets/refresh-datasets.component.d.ts +3 -2
  218. package/toolbox/components/toolbox.component.d.ts +3 -1
  219. package/toolbox/style/_o-filter-settings.scss +0 -4
  220. package/toolbox/style/_o-toolbox.scss +2 -26
  221. package/widgets/widget-aggregated-chart/style/_o-widget-chart.scss +3 -0
  222. package/widgets/widget-graph/component/widget-graph.component.d.ts +0 -1
  223. package/widgets/widget-graph/style/_o-widget-graph.scss +14 -0
  224. package/widgets/widget-map/pipe/widget-map-legend-url.pipe.d.ts +1 -1
  225. package/widgets/widget-map/style/{_o-layer-legend.scss → _m-layer-legend.scss} +7 -8
  226. package/widgets/widget-map/style/_o-widget-map.scss +2 -2
  227. package/styles/components/_a-chips.scss +0 -15
  228. package/styles-theme/components-theme/_o-datasources.theme.scss +0 -41
@@ -11,7 +11,7 @@ export interface PryDialogConfirmAction {
11
11
  id: number;
12
12
  label: string;
13
13
  icon?: string;
14
- color?: 'primary' | 'secondary' | 'tertiary' | 'ghost';
14
+ color?: 'primary' | 'secondary';
15
15
  actions?: Action[];
16
16
  }
17
17
  export declare class PryDialogConfirmComponent {
@@ -37,6 +37,7 @@ export declare class PrySelectComponent extends SubscriptionnerDirective impleme
37
37
  i18nPrefix: string | null;
38
38
  searched: EventEmitter<string>;
39
39
  cleared: EventEmitter<void>;
40
+ bindClasses: any;
40
41
  search$: BehaviorSubject<string>;
41
42
  _loading: boolean;
42
43
  hasLoaded: boolean;
@@ -76,5 +77,5 @@ export declare class PrySelectComponent extends SubscriptionnerDirective impleme
76
77
  onKeydownOption: (event: KeyboardEvent, item: any, index: number, optionDivRef: HTMLDivElement, first: boolean, last: boolean) => void;
77
78
  focusInitialSelection: () => void;
78
79
  static ɵfac: i0.ɵɵFactoryDeclaration<PrySelectComponent, never>;
79
- static ɵcmp: i0.ɵɵComponentDeclaration<PrySelectComponent, "pry-select", never, { "items": { "alias": "items"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "isForm": { "alias": "isForm"; "required": false; }; "required": { "alias": "required"; "required": false; }; "name": { "alias": "name"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "bindIcon": { "alias": "bindIcon"; "required": false; }; "template": { "alias": "template"; "required": false; }; "i18nPrefix": { "alias": "i18nPrefix"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "elementRef": { "alias": "elementRef"; "required": false; }; }, { "searched": "searched"; "cleared": "cleared"; }, never, never, false, never>;
80
+ static ɵcmp: i0.ɵɵComponentDeclaration<PrySelectComponent, "pry-select", never, { "items": { "alias": "items"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "isForm": { "alias": "isForm"; "required": false; }; "required": { "alias": "required"; "required": false; }; "name": { "alias": "name"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "bindIcon": { "alias": "bindIcon"; "required": false; }; "template": { "alias": "template"; "required": false; }; "i18nPrefix": { "alias": "i18nPrefix"; "required": false; }; "bindClasses": { "alias": "bindClasses"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "elementRef": { "alias": "elementRef"; "required": false; }; }, { "searched": "searched"; "cleared": "cleared"; }, never, never, false, never>;
80
81
  }
@@ -5,8 +5,9 @@ import * as i3 from "@angular/common";
5
5
  import * as i4 from "@angular/forms";
6
6
  import * as i5 from "../icon/icon.module";
7
7
  import * as i6 from "../../i18n/i18n.module";
8
+ import * as i7 from "@provoly/dashboard/components/checkbox";
8
9
  export declare class PrySelectModule {
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<PrySelectModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<PrySelectModule, [typeof i1.PrySelectComponent], [typeof i2.A11yModule, typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.PryIconModule, typeof i6.PryI18nModule], [typeof i1.PrySelectComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PrySelectModule, [typeof i1.PrySelectComponent], [typeof i2.A11yModule, typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.PryIconModule, typeof i6.PryI18nModule, typeof i7.PryCheckboxModule], [typeof i1.PrySelectComponent]>;
11
12
  static ɵinj: i0.ɵɵInjectorDeclaration<PrySelectModule>;
12
13
  }
@@ -162,6 +162,7 @@ export declare const enTranslations: {
162
162
  switchEditContent: string;
163
163
  share: string;
164
164
  delete: string;
165
+ notInDsAttr: string;
165
166
  };
166
167
  manifest: {
167
168
  name: string;
@@ -382,4 +383,8 @@ export declare const enTranslations: {
382
383
  failure: string;
383
384
  };
384
385
  };
386
+ grid: {
387
+ rows: string;
388
+ columns: string;
389
+ };
385
390
  };
@@ -162,6 +162,7 @@ export declare const frTranslations: {
162
162
  switchEditContent: string;
163
163
  share: string;
164
164
  delete: string;
165
+ notInDsAttr: string;
165
166
  };
166
167
  manifest: {
167
168
  name: string;
@@ -381,5 +382,9 @@ export declare const frTranslations: {
381
382
  geoAuth: {
382
383
  failure: string;
383
384
  };
385
+ grid: {
386
+ rows: string;
387
+ columns: string;
388
+ };
384
389
  };
385
390
  };
@@ -10,7 +10,7 @@ import { ToolboxMenuService } from '../../../../core/toolbox/toolbox-menu.servic
10
10
  import { SubscriptionnerDirective } from '../../subscriptionner.directive';
11
11
  import { WidgetContextMenuDisplayOptions } from '../../../../core/model/display-options.interface';
12
12
  import * as i0 from "@angular/core";
13
- export declare const WIDGET_HEADER_HEIGHT = 30;
13
+ export declare const WIDGET_HEADER_HEIGHT = 32;
14
14
  export type HeaderAction = {
15
15
  icon: string;
16
16
  action: (that: PryWidgetHeaderComponent) => void;
@@ -1,6 +1,6 @@
1
1
  import { InjectionToken, Injector, Type } from '@angular/core';
2
2
  import { BehaviorSubject, Observable } from 'rxjs';
3
- import { WidgetManifest } from '../../../../core/model/manifest.interface';
3
+ import { GlobalManifest, WidgetManifest } from '../../../../core/model/manifest.interface';
4
4
  import { BaseWidgetComponent } from '../base-widget.component';
5
5
  import { WidgetDefinition } from './widgets-definition.model';
6
6
  import { Store } from '@ngrx/store';
@@ -28,6 +28,13 @@ export declare class WidgetFactoryService {
28
28
  excludeGeo: boolean;
29
29
  }[];
30
30
  aggregatesToAutoLoad(manifest: WidgetManifest): string[];
31
+ getObjectsToAutoLoad(manifest: GlobalManifest): {
32
+ datasources: {
33
+ datasetId: string;
34
+ excludeGeo: boolean;
35
+ }[];
36
+ aggregates: string[];
37
+ };
31
38
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetFactoryService, never>;
32
39
  static ɵprov: i0.ɵɵInjectableDeclaration<WidgetFactoryService>;
33
40
  }
@@ -23,7 +23,7 @@
23
23
  &__filter-actions {
24
24
  display: flex;
25
25
  align-items: center;
26
- gap: toRem(10);
26
+ gap: toRem(15);
27
27
  padding: 0 toRem(10);
28
28
  }
29
29
  }
@@ -47,19 +47,6 @@ export declare const DashboardSelectors: {
47
47
  } | undefined;
48
48
  filters?: Filter[] | undefined;
49
49
  }>;
50
- manifestDatasources: MemoizedSelector<object, {
51
- datasetId: string;
52
- excludeGeo: boolean;
53
- }[], (s1: {
54
- windows: DashboardManifest[];
55
- refreshRates?: {
56
- [key: string]: number;
57
- } | undefined;
58
- filters?: Filter[] | undefined;
59
- }) => {
60
- datasetId: string;
61
- excludeGeo: boolean;
62
- }[]>;
63
50
  refreshRates: MemoizedSelector<object, {
64
51
  [key: string]: number;
65
52
  }, (s1: {
@@ -1,10 +1,12 @@
1
1
  import { Store } from '@ngrx/store';
2
2
  import { Subscription } from 'rxjs';
3
+ import { WidgetFactoryService } from '../components/widgets/widget-instanciator/widget-factory.service';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class RefreshService {
5
6
  private store;
7
+ private widgetFactoryService;
6
8
  subscription?: Subscription;
7
- constructor(store: Store);
9
+ constructor(store: Store, widgetFactoryService: WidgetFactoryService);
8
10
  stop(): void;
9
11
  start(): void;
10
12
  static ɵfac: i0.ɵɵFactoryDeclaration<RefreshService, never>;
@@ -76,20 +76,15 @@
76
76
 
77
77
  &__items {
78
78
  @extend %list-unstyled;
79
- padding: 0 15px;
80
79
 
81
80
  &__li {
82
81
  position: relative;
83
82
  display: flex;
84
83
  justify-content: space-between;
85
- align-items: center;
86
- padding: toRem(13) 0 toRem(15) 0;
84
+ align-items: stretch;
85
+ padding: toRem(15);
87
86
  gap: toRem(5);
88
87
 
89
- &:last-of-type {
90
- padding-bottom: toRem(5);
91
- }
92
-
93
88
  &__txt {
94
89
  flex: 1;
95
90
 
@@ -117,9 +112,8 @@
117
112
 
118
113
  .a-btn--delete {
119
114
  position: relative;
120
- width: toRem(22);
121
- height: toRem(22);
122
- padding: toRem(3);
115
+ padding: 0 toRem(3);
116
+ height: auto
123
117
  }
124
118
  }
125
119
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.22.4",
3
+ "version": "0.22.6",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "14.x || 15.x || 16.x",
@@ -108,18 +108,18 @@
108
108
  "esm": "./esm2022/pipeline/provoly-dashboard-pipeline.mjs",
109
109
  "default": "./fesm2022/provoly-dashboard-pipeline.mjs"
110
110
  },
111
- "./restitution": {
112
- "types": "./restitution/index.d.ts",
113
- "esm2022": "./esm2022/restitution/provoly-dashboard-restitution.mjs",
114
- "esm": "./esm2022/restitution/provoly-dashboard-restitution.mjs",
115
- "default": "./fesm2022/provoly-dashboard-restitution.mjs"
116
- },
117
111
  "./presentation": {
118
112
  "types": "./presentation/index.d.ts",
119
113
  "esm2022": "./esm2022/presentation/provoly-dashboard-presentation.mjs",
120
114
  "esm": "./esm2022/presentation/provoly-dashboard-presentation.mjs",
121
115
  "default": "./fesm2022/provoly-dashboard-presentation.mjs"
122
116
  },
117
+ "./restitution": {
118
+ "types": "./restitution/index.d.ts",
119
+ "esm2022": "./esm2022/restitution/provoly-dashboard-restitution.mjs",
120
+ "esm": "./esm2022/restitution/provoly-dashboard-restitution.mjs",
121
+ "default": "./fesm2022/provoly-dashboard-restitution.mjs"
122
+ },
123
123
  "./search": {
124
124
  "types": "./search/index.d.ts",
125
125
  "esm2022": "./esm2022/search/provoly-dashboard-search.mjs",
@@ -300,18 +300,18 @@
300
300
  "esm": "./esm2022/widgets/widget-map/provoly-dashboard-widgets-widget-map.mjs",
301
301
  "default": "./fesm2022/provoly-dashboard-widgets-widget-map.mjs"
302
302
  },
303
- "./widgets/widget-template": {
304
- "types": "./widgets/widget-template/index.d.ts",
305
- "esm2022": "./esm2022/widgets/widget-template/provoly-dashboard-widgets-widget-template.mjs",
306
- "esm": "./esm2022/widgets/widget-template/provoly-dashboard-widgets-widget-template.mjs",
307
- "default": "./fesm2022/provoly-dashboard-widgets-widget-template.mjs"
308
- },
309
303
  "./widgets/widget-table": {
310
304
  "types": "./widgets/widget-table/index.d.ts",
311
305
  "esm2022": "./esm2022/widgets/widget-table/provoly-dashboard-widgets-widget-table.mjs",
312
306
  "esm": "./esm2022/widgets/widget-table/provoly-dashboard-widgets-widget-table.mjs",
313
307
  "default": "./fesm2022/provoly-dashboard-widgets-widget-table.mjs"
314
308
  },
309
+ "./widgets/widget-template": {
310
+ "types": "./widgets/widget-template/index.d.ts",
311
+ "esm2022": "./esm2022/widgets/widget-template/provoly-dashboard-widgets-widget-template.mjs",
312
+ "esm": "./esm2022/widgets/widget-template/provoly-dashboard-widgets-widget-template.mjs",
313
+ "default": "./fesm2022/provoly-dashboard-widgets-widget-template.mjs"
314
+ },
315
315
  "./widgets/widget-tile": {
316
316
  "types": "./widgets/widget-tile/index.d.ts",
317
317
  "esm2022": "./esm2022/widgets/widget-tile/provoly-dashboard-widgets-widget-tile.mjs",
@@ -29,10 +29,6 @@ pry-add-edit-presentation {
29
29
  justify-content: space-between;
30
30
  align-items: center;
31
31
  gap: toRem(15);
32
-
33
- .a-btn {
34
- border-radius: 22px;
35
- }
36
32
  }
37
33
 
38
34
  .o-presentation-form-wrapper {
@@ -1,4 +1,5 @@
1
- @use '../../styles/abstracts/index' as *;
1
+ @use '../../styles/abstracts' as *;
2
+ @use '../../styles-theme/abstracts-theme/variables.theme' as *;
2
3
 
3
4
  /* Organism - pry-presentation */
4
5
 
@@ -29,6 +30,7 @@
29
30
 
30
31
  .o-manifest-layout__content,
31
32
  .o-dashboard-widget {
33
+ grid-area: middle;
32
34
  flex: 100% 1 1;
33
35
  }
34
36
  }
@@ -94,6 +96,7 @@
94
96
  position: absolute;
95
97
  top: toRem(10);
96
98
  left: toRem(10);
99
+ z-index: 1;
97
100
  }
98
101
 
99
102
  .a-tooltip {
@@ -109,13 +112,12 @@
109
112
  justify-content: space-between;
110
113
 
111
114
  .a-h3 {
112
- font-size: toRem(14);
115
+ padding-bottom: toRem(5);
113
116
  }
114
117
 
115
118
  .a-p {
116
- font-size: toRem(13);
117
-
118
119
  &.-date {
120
+ padding-top: toRem(10);
119
121
  margin-bottom: 0;
120
122
  }
121
123
  }
@@ -148,7 +148,7 @@
148
148
  padding: toRem(6) toRem(10);
149
149
  text-align: center;
150
150
 
151
- .a-btn--ghost {
151
+ .a-btn--secondary {
152
152
  height: auto;
153
153
  padding: 0 toRem(5);
154
154
  }
@@ -321,3 +321,16 @@
321
321
  * Effects
322
322
  *
323
323
  */
324
+
325
+ @mixin changeBgColor($targetBgColor, $targetTextColor: false, $targetBorderColor: false) {
326
+ transition: background-color 0.3s ease,
327
+ color 0.3s ease;
328
+
329
+ background-color: $targetBgColor;
330
+ @if $targetTextColor {
331
+ color: $targetTextColor;
332
+ }
333
+ @if $targetBorderColor {
334
+ border-color: $targetBorderColor;
335
+ }
336
+ }
@@ -17,11 +17,9 @@
17
17
  user-select: none;
18
18
  transition: all 0.24s ease-in-out;
19
19
 
20
- gap: toRem(3);
21
- height: toRem(30);
22
- padding: toRem(8) toRem(12);
23
- font-size: toRem(12);
24
- line-height: toRem(13);
20
+ gap: toRem(5);
21
+ height: toRem(34);
22
+ padding: 0 toRem(30);
25
23
 
26
24
  &.-circle {
27
25
  width: toRem(34);
@@ -172,31 +170,15 @@
172
170
  }
173
171
  }
174
172
 
175
- &.-size-md {
176
- gap: toRem(5);
177
- height: toRem(34);
178
- padding-left: toRem(15);
179
- padding-right: toRem(15);
173
+ &.-size-s {
174
+ gap: toRem(3);
175
+ height: toRem(30);
176
+ padding: toRem(8) toRem(12);
180
177
  font-size: toRem(12);
181
- line-height: toRem(14);
182
-
183
- &.-circle {
184
- width: toRem(34);
185
- height: toRem(34);
186
- }
187
-
188
- pry-icon,
189
- .a-icon {
190
- width: 17px !important;
191
- height: auto;
192
- }
178
+ line-height: toRem(13);
193
179
  }
194
180
 
195
181
  &.-width-full {
196
182
  width: 100%;
197
183
  }
198
184
  }
199
-
200
- /*a[href].a-btn {
201
- color: inherit;
202
- }*/
@@ -0,0 +1,19 @@
1
+ @use '../abstracts' as *;
2
+
3
+ .a-chip {
4
+ display: flex;
5
+ align-items: center;
6
+ border-radius: toRem(24);
7
+ height: toRem(14);
8
+ font-size: toRem(10);
9
+ padding: toRem(2) toRem(7);
10
+
11
+ &.-md {
12
+ height: toRem(20);
13
+ font-size: toRem(12);
14
+ }
15
+
16
+ &.-no-wrap {
17
+ white-space: nowrap;
18
+ }
19
+ }
@@ -4,6 +4,7 @@
4
4
  .a-pry-select {
5
5
  display: flex;
6
6
  justify-content: space-between;
7
+ align-items: center;
7
8
  padding: toRem(10);
8
9
  gap: toRem(10);
9
10
 
@@ -28,6 +29,11 @@
28
29
  }
29
30
 
30
31
  &__value {
32
+ display: flex;
33
+ justify-content: space-between;
34
+ align-items: center;
35
+ gap: toRem(10);
36
+
31
37
  &.-multiple {
32
38
  padding: toRem(2) toRem(15);
33
39
  border-radius: toRem(15);
@@ -49,6 +55,9 @@
49
55
  max-height: toRem(calc(6 * 35)); // 6 items of height 35px
50
56
 
51
57
  &__option {
58
+ display: flex;
59
+ align-items: center;
60
+ gap: toRem(10);
52
61
  cursor: pointer;
53
62
  padding: toRem(8) toRem(10);
54
63
  font-family: Ubuntu,sans-serif;
@@ -68,6 +77,10 @@
68
77
  margin-bottom: 0;
69
78
  }
70
79
  }
80
+
81
+ pry-checkbox {
82
+ margin-bottom: -10px;
83
+ }
71
84
  }
72
85
  }
73
86
 
@@ -21,10 +21,10 @@
21
21
  height: 7px;
22
22
  border-radius: 5px;
23
23
  background: rgba(255, 255, 255, 0.6);
24
- background-image: linear-gradient(#569a9c, #569a9c);
24
+ background-image: linear-gradient(#426EA4, #4081d0);
25
25
  background-size: 100% 100%;
26
26
  background-repeat: no-repeat;
27
- box-shadow: 0 0 2px 2px rgba(23, 129, 132, 0.2);
27
+ box-shadow: 0 0 2px 2px #F5F7F9;
28
28
  -webkit-appearance: none;
29
29
  }
30
30
 
@@ -61,9 +61,8 @@
61
61
  z-index: 0;
62
62
  bottom: -6px;
63
63
  width: 20px;
64
- color: #178184;
64
+ color: #113B6E;
65
65
  opacity: 0.7;
66
- font-size: 12px;
67
66
  text-align: center;
68
67
 
69
68
  &:before {
@@ -75,7 +74,7 @@
75
74
  transform: translateX(-50%);
76
75
  width: 2px;
77
76
  height: 10px;
78
- background-color: #178184;
77
+ background-color: #113B6E;
79
78
  border-radius: 2px;
80
79
  }
81
80
  }
@@ -9,8 +9,7 @@
9
9
  position: relative;
10
10
  cursor: pointer;
11
11
 
12
- width: 1.5rem;
13
- height: 1.5rem;
14
- border: 1px solid #3E546A;
12
+ width: toRem(16);
13
+ height: toRem(16);
15
14
  border-radius: 50%;
16
15
  }
@@ -8,16 +8,11 @@
8
8
 
9
9
  &__list {
10
10
  @extend %list-unstyled;
11
- margin: toRem(18) toRem(20);
12
11
 
13
12
  &__item {
14
- margin-bottom: toRem(12);
15
-
16
- [class*='a-btn--'] {
13
+ [class*='a-btn'] {
17
14
  justify-content: flex-start;
18
- // height: toRem(55);
19
- // padding: 0.5rem 1rem;
20
- // border-radius: toRem(28);
15
+ border-radius: 0;
21
16
  text-align: left;
22
17
  }
23
18
  }
@@ -10,7 +10,7 @@
10
10
  padding-right: toRem(15);
11
11
  }
12
12
 
13
- .o-datasources {
13
+ .o-chips-selector {
14
14
  &__list {
15
15
  @extend %list-unstyled;
16
16
  gap: toRem(15) toRem(30);
@@ -21,21 +21,20 @@
21
21
 
22
22
  &__main {
23
23
  flex: 1 1;
24
- overflow: overlay;
25
24
  }
26
25
 
27
26
  &__bottom {
28
27
  padding: toRem(5);
29
28
  }
30
29
 
31
- &__card,
32
- .o-pry-card {
30
+ &__chip {
33
31
  border-radius: toRem(15);
34
32
  padding: toRem(5) toRem(10);
35
33
  display: flex;
36
34
  flex-direction: row;
37
35
  align-items: center;
38
36
  gap: 5px;
37
+ min-height: toRem(35);
39
38
 
40
39
  p {
41
40
  margin-bottom: 0;
@@ -2,28 +2,62 @@
2
2
 
3
3
  /* Organism - Dashboard */
4
4
 
5
+ .o-dashboard-edit {
6
+ display: grid;
7
+ grid-template-areas: 'corner top'
8
+ 'left middle';
9
+ grid-auto-rows: min-content 1fr;
10
+ grid-auto-columns: min-content 1fr;
11
+ height: 100%;
12
+
13
+ &.-edit {
14
+ gap: toRem(10);
15
+
16
+ .o-dashboard-add {
17
+ display: flex;
18
+ }
19
+ }
20
+ }
21
+
5
22
  .o-dashboard-grid {
23
+ grid-area: middle;
6
24
  display: grid;
7
25
  grid-template-rows: repeat(12, 1fr);
8
26
  height: 100%;
9
27
  }
10
28
 
11
29
  .o-dashboard-add {
12
- position: absolute;
13
- display: flex;
14
- justify-content: space-evenly;
30
+ display: none;
15
31
  z-index: 2;
32
+ gap: toRem(5);
33
+ font-size: toRem(12);
34
+
35
+ p {
36
+ margin-bottom: 0;
37
+ }
38
+
39
+ button {
40
+ padding: 0;
41
+ height: 12px;
42
+ }
16
43
 
17
44
  &.-cols {
18
- transform: translateY(-50%);
45
+ grid-area: top;
46
+ align-items: flex-start;
47
+ height: toRem(30);
48
+ padding-top: toRem(10);
19
49
  }
20
50
 
21
51
  &.-rows {
52
+ grid-area: left;
22
53
  flex-direction: column;
23
- transform: translateX(-50%);
54
+ align-items: center;
55
+ width: toRem(30);
56
+ padding-left: toRem(10);
24
57
 
25
- pry-icon span {
26
- transform: rotate(90deg);
58
+ p {
59
+ margin-top: toRem(20);
60
+ transform: rotate(-90deg);
27
61
  }
28
62
  }
29
63
  }
@@ -94,7 +94,7 @@
94
94
  padding: toRem(5);
95
95
  }
96
96
 
97
- .a-btn--ghost.select-it {
97
+ .a-btn--secondary.select-it {
98
98
  justify-content: flex-start;
99
99
  width: 100%;
100
100
  height: 100%;
@@ -68,6 +68,8 @@
68
68
  padding-right: toRem(15);
69
69
 
70
70
  .a-btn {
71
+ border-radius: 50%;
72
+
71
73
  &:not(:last-child) {
72
74
  margin-right: 5px;
73
75
  }
@@ -179,7 +181,7 @@
179
181
  display: flex;
180
182
  flex-direction: column;
181
183
  gap: toRem(10);
182
- padding: toRem(7);
184
+ padding: toRem(10);
183
185
  background: white;
184
186
  border-radius: toRem(6) 0 toRem(6) toRem(6);
185
187
  border: none;
@@ -197,23 +199,27 @@
197
199
  .a-btn.a-btn--icon-only.a-tooltip.-map-toggle {
198
200
  background: white;
199
201
  border: none;
200
- height: toRem(34);
202
+ height: toRem(40);
201
203
  border-radius: 0 toRem(6) toRem(6) 0;
202
204
  }
203
205
 
204
206
  &.-map-export {
205
- padding: toRem(7);
207
+ padding: toRem(10);
206
208
  background: white;
207
209
  border-radius: toRem(6);
208
210
  border: none;
209
- top: toRem(45);
211
+ top: toRem(51);
210
212
  z-index: 1;
211
213
 
212
214
  &.-with-header {
213
- top: toRem(75);
215
+ top: toRem(85);
214
216
  }
215
217
  }
216
218
  }
219
+
220
+ .-has-header {
221
+ margin-top: toRem(32);
222
+ }
217
223
  }
218
224
 
219
225
  .widget-below-header {