@provoly/dashboard 0.20.3 → 0.20.5

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 (251) hide show
  1. package/components/metadata-editor/style/_o-metadata-editor.scss +0 -5
  2. package/dataset/components/dataset-detail/dataset-detail.component.d.ts +2 -1
  3. package/dataset/i18n/en.translations.d.ts +2 -1
  4. package/dataset/i18n/fr.translations.d.ts +2 -1
  5. package/dataset/style/_o-pry-dataset-card.scss +4 -37
  6. package/dataset/style/_o-pry-dataset-detail.scss +2 -53
  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/symbol/admin-classes-customize-symbol.component.mjs +3 -3
  11. package/esm2022/admin/components/admin-classes/admin-classes-customize/tooltip/admin-classes-customize-tooltip.component.mjs +3 -3
  12. package/esm2022/admin/components/admin-classes/admin-classes-form/admin-classes-form.component.mjs +3 -3
  13. package/esm2022/admin/components/admin-classes/admin-classes-view/admin-attributes-form/admin-attributes-form.component.mjs +15 -10
  14. package/esm2022/admin/components/admin-dataset/shared/admin-form-dataset/admin-form-dataset.component.mjs +3 -3
  15. package/esm2022/admin/components/admin-environment/admin-environment-form/admin-environment-form.component.mjs +3 -3
  16. package/esm2022/admin/components/admin-fields/admin-fields-form/admin-fields-form.component.mjs +3 -3
  17. package/esm2022/admin/components/admin-links/admin-links-new/admin-links-new.component.mjs +3 -3
  18. package/esm2022/admin/components/admin-menu/admin-menu.component.mjs +3 -3
  19. package/esm2022/admin/components/admin-metadata/shared/form-metadata/form-metadata.component.mjs +3 -3
  20. package/esm2022/admin/components/admin-metadata-rules/shared/admin-form-metadata-rules/admin-form-metadata-rules.component.mjs +3 -3
  21. package/esm2022/components/metadata-editor/metadata-editor.component.mjs +3 -3
  22. package/esm2022/components/metadata-editor/style/css.component.mjs +2 -2
  23. package/esm2022/components/scheme-picker/scheme-picker.component.mjs +3 -3
  24. package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +5 -5
  25. package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +20 -5
  26. package/esm2022/dataset/i18n/en.translations.mjs +3 -2
  27. package/esm2022/dataset/i18n/fr.translations.mjs +4 -3
  28. package/esm2022/dataset/style/css.component.mjs +2 -2
  29. package/esm2022/filters/autocomplete/autocomplete.component.mjs +19 -6
  30. package/esm2022/filters/autocomplete/autocomplete.module.mjs +5 -5
  31. package/esm2022/filters/autocomplete/style/css.component.mjs +2 -2
  32. package/esm2022/filters/list/list-filter.component.mjs +1 -1
  33. package/esm2022/import/components/import.component.mjs +3 -3
  34. package/esm2022/lib/core/components/about/about.component.mjs +3 -3
  35. package/esm2022/lib/core/components/base-menu/base-menu.component.mjs +3 -3
  36. package/esm2022/lib/core/components/ellipsis.directive.mjs +31 -0
  37. package/esm2022/lib/core/components/select/select.component.mjs +193 -39
  38. package/esm2022/lib/core/components/select/select.module.mjs +4 -5
  39. package/esm2022/lib/core/components/share/share.component.mjs +3 -3
  40. package/esm2022/lib/core/components/translate-id/translate-id.pipe.mjs +7 -8
  41. package/esm2022/lib/core/core.module.mjs +8 -4
  42. package/esm2022/lib/core/i18n/en.translations.mjs +7 -6
  43. package/esm2022/lib/core/i18n/fr.translations.mjs +8 -6
  44. package/esm2022/lib/core/model/display-options.interface.mjs +18 -4
  45. package/esm2022/lib/core/model/manifest.interface.mjs +1 -1
  46. package/esm2022/lib/core/public-api.mjs +2 -1
  47. package/esm2022/lib/core/store/class/class.actions.mjs +1 -4
  48. package/esm2022/lib/core/store/class/class.effects.mjs +1 -4
  49. package/esm2022/lib/core/store/class/class.interface.mjs +1 -1
  50. package/esm2022/lib/core/store/class/class.reducer.mjs +3 -13
  51. package/esm2022/lib/core/store/class/class.selectors.mjs +1 -3
  52. package/esm2022/lib/core/store/class/class.service.mjs +1 -9
  53. package/esm2022/lib/core/store/config/config.selectors.mjs +1 -3
  54. package/esm2022/lib/core/store/config/config.service.mjs +4 -7
  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 +3 -3
  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/store/dashboard.effects.mjs +1 -4
  62. package/esm2022/pipeline-components/filter/component/filter.component.mjs +3 -3
  63. package/esm2022/pipeline-components/input-datasource/component/input-datasource.component.mjs +3 -3
  64. package/esm2022/pipeline-components/output-dataset/component/output-dataset.component.mjs +3 -3
  65. package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +5 -5
  66. package/esm2022/presentation/components/presentation.component.mjs +3 -3
  67. package/esm2022/presentation/components/title-presentation/title-presentation.component.mjs +11 -21
  68. package/esm2022/presentation/i18n/fr.translations.mjs +9 -9
  69. package/esm2022/presentation/style/css.component.mjs +2 -2
  70. package/esm2022/restitution/components/restitution/restitution.component.mjs +23 -22
  71. package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +13 -6
  72. package/esm2022/restitution/i18n/en.translations.mjs +3 -3
  73. package/esm2022/restitution/i18n/fr.translations.mjs +4 -4
  74. package/esm2022/restitution/style/css.component.mjs +2 -2
  75. package/esm2022/search/i18n/en.translations.mjs +2 -1
  76. package/esm2022/search/i18n/fr.translations.mjs +2 -1
  77. package/esm2022/search/search-mono-class/components/search-condition/search-condition.component.mjs +3 -3
  78. package/esm2022/search/search-mono-class/components/search-mono-class/search-mono-class.component.mjs +3 -3
  79. package/esm2022/search/search-mono-class/components/search-order/search-order.component.mjs +3 -3
  80. package/esm2022/search/search-multi-class/components/multi-class-condition/multi-class-condition.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 +4 -8
  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 +3 -4
  94. package/esm2022/widgets/widget-graph/component/widget-graph.component.mjs +3 -3
  95. package/esm2022/widgets/widget-map/component/widget-map.component.mjs +10 -4
  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/style/css.component.mjs +2 -2
  99. package/esm2022/widgets/widget-table/component/widget-table.component.mjs +7 -7
  100. package/esm2022/widgets/widget-tile/component/widget-tile.component.mjs +3 -3
  101. package/fesm2022/provoly-dashboard-admin.mjs +40 -35
  102. package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
  103. package/fesm2022/provoly-dashboard-components-metadata-editor.mjs +4 -4
  104. package/fesm2022/provoly-dashboard-components-metadata-editor.mjs.map +1 -1
  105. package/fesm2022/provoly-dashboard-components-scheme-picker.mjs +2 -2
  106. package/fesm2022/provoly-dashboard-components-scheme-picker.mjs.map +1 -1
  107. package/fesm2022/provoly-dashboard-dataset.mjs +28 -11
  108. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  109. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs +24 -11
  110. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs.map +1 -1
  111. package/fesm2022/provoly-dashboard-filters-list.mjs +1 -1
  112. package/fesm2022/provoly-dashboard-filters-list.mjs.map +1 -1
  113. package/fesm2022/provoly-dashboard-import.mjs +2 -2
  114. package/fesm2022/provoly-dashboard-import.mjs.map +1 -1
  115. package/fesm2022/provoly-dashboard-pipeline-components-filter.mjs +2 -2
  116. package/fesm2022/provoly-dashboard-pipeline-components-filter.mjs.map +1 -1
  117. package/fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs +2 -2
  118. package/fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs.map +1 -1
  119. package/fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs +2 -2
  120. package/fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs.map +1 -1
  121. package/fesm2022/provoly-dashboard-presentation.mjs +24 -34
  122. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  123. package/fesm2022/provoly-dashboard-restitution.mjs +40 -32
  124. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  125. package/fesm2022/provoly-dashboard-search.mjs +10 -8
  126. package/fesm2022/provoly-dashboard-search.mjs.map +1 -1
  127. package/fesm2022/provoly-dashboard-toolbox.mjs +22 -25
  128. package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
  129. package/fesm2022/provoly-dashboard-tooltips-attribute.mjs +7 -1
  130. package/fesm2022/provoly-dashboard-tooltips-attribute.mjs.map +1 -1
  131. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +7 -6
  132. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
  133. package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs +2 -3
  134. package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs.map +1 -1
  135. package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs +2 -2
  136. package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs.map +1 -1
  137. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +15 -7
  138. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  139. package/fesm2022/provoly-dashboard-widgets-widget-table.mjs +6 -6
  140. package/fesm2022/provoly-dashboard-widgets-widget-table.mjs.map +1 -1
  141. package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs +2 -2
  142. package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs.map +1 -1
  143. package/fesm2022/provoly-dashboard.mjs +286 -135
  144. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  145. package/filters/autocomplete/autocomplete.component.d.ts +2 -0
  146. package/filters/autocomplete/autocomplete.module.d.ts +1 -1
  147. package/filters/autocomplete/style/_m-autocomplete.scss +16 -3
  148. package/lib/core/components/ellipsis.directive.d.ts +11 -0
  149. package/lib/core/components/select/select.component.d.ts +41 -20
  150. package/lib/core/components/select/select.module.d.ts +4 -5
  151. package/lib/core/components/translate-id/translate-id.pipe.d.ts +1 -3
  152. package/lib/core/core.module.d.ts +15 -14
  153. package/lib/core/i18n/en.translations.d.ts +4 -3
  154. package/lib/core/i18n/fr.translations.d.ts +5 -3
  155. package/lib/core/model/display-options.interface.d.ts +11 -0
  156. package/lib/core/model/manifest.interface.d.ts +1 -5
  157. package/lib/core/public-api.d.ts +1 -0
  158. package/lib/core/store/class/class.actions.d.ts +1 -12
  159. package/lib/core/store/class/class.effects.d.ts +0 -5
  160. package/lib/core/store/class/class.interface.d.ts +0 -6
  161. package/lib/core/store/class/class.reducer.d.ts +2 -3
  162. package/lib/core/store/class/class.selectors.d.ts +0 -1
  163. package/lib/core/store/class/class.service.d.ts +1 -5
  164. package/lib/core/store/config/config.selectors.d.ts +0 -1
  165. package/lib/dashboard/components/widgets/header/widget-header.component.d.ts +2 -5
  166. package/lib/dashboard/filter/style/_o-pry-filter-group.scss +0 -11
  167. package/lib/dashboard/store/dashboard.effects.d.ts +0 -1
  168. package/lib/dashboard/store/dashboard.selectors.d.ts +0 -9
  169. package/package.json +1 -8
  170. package/presentation/components/title-presentation/title-presentation.component.d.ts +3 -5
  171. package/presentation/style/_o-pry-new-presentation.scss +0 -7
  172. package/presentation/style/_o-pry-presentation.scss +19 -101
  173. package/restitution/components/restitution-catalog/restitution-catalog.component.d.ts +1 -1
  174. package/restitution/i18n/en.translations.d.ts +2 -2
  175. package/restitution/i18n/fr.translations.d.ts +3 -3
  176. package/restitution/style/_o-restitution.scss +11 -14
  177. package/schematics/migration.json +6 -1
  178. package/schematics/ng-update/version-0-20/index.d.ts +2 -0
  179. package/schematics/ng-update/version-0-20/index.js +19 -0
  180. package/schematics/ng-update/version-0-20/index.js.map +1 -0
  181. package/search/i18n/en.translations.d.ts +1 -0
  182. package/search/i18n/fr.translations.d.ts +1 -0
  183. package/styles/base/_utils.scss +4 -0
  184. package/styles/components/_a-pry-select.scss +34 -10
  185. package/styles/components/_a-tooltip.scss +26 -19
  186. package/styles/components/_m-filter.scss +11 -20
  187. package/styles/components/_m-info-icon.scss +16 -0
  188. package/styles/components/_m-presentation-title.scss +14 -0
  189. package/styles/components/_o-about.scss +2 -24
  190. package/styles/components/_o-dashboard.scss +4 -0
  191. package/styles/components/_o-draggable-menu.scss +1 -1
  192. package/styles/components/_o-widget.scss +2 -2
  193. package/styles/main.scss +2 -1
  194. package/styles-theme/abstracts-theme/variables/_variables-typo.scss +9 -0
  195. package/styles-theme/components-theme/_a-pry-select.theme.scss +23 -96
  196. package/styles-theme/components-theme/_a-tooltip.theme.scss +2 -2
  197. package/styles-theme/components-theme/_o-pry-composed-condition.theme.scss +0 -12
  198. package/styles-theme/components-theme/_o-pry-dataset.theme.scss +0 -8
  199. package/styles-theme/components-theme/_o-pry-presentation.theme.scss +1 -1
  200. package/styles-theme/components-theme/_o-restitution.theme.scss +10 -0
  201. package/toolbox/components/toolbox.component.d.ts +1 -0
  202. package/tooltips/attribute/attribute-tooltip.component.d.ts +1 -0
  203. package/widgets/widget-chart/component/widget-chart.component.d.ts +0 -1
  204. package/widgets/widget-map/component/widget-map.component.d.ts +2 -0
  205. package/widgets/widget-map/i18n/en.translations.d.ts +1 -0
  206. package/widgets/widget-map/i18n/fr.translations.d.ts +1 -0
  207. package/widgets/widget-map/style/_o-layer-legend.scss +21 -0
  208. package/esm2022/supervision/components/supervision-business-data/supervision-business-data.component.mjs +0 -34
  209. package/esm2022/supervision/components/supervision-flow/supervision-flow.component.mjs +0 -33
  210. package/esm2022/supervision/components/supervision-infrastructures/supervision-infrastructures.component.mjs +0 -51
  211. package/esm2022/supervision/components/supervision-integration-errors/supervision-integration-errors-select/supervision-integration-errors-select.component.mjs +0 -27
  212. package/esm2022/supervision/components/supervision-integration-errors/supervision-integration-errors.component.mjs +0 -100
  213. package/esm2022/supervision/components/supervision-layout/supervision-layout.component.mjs +0 -47
  214. package/esm2022/supervision/components/supervision-menu/supervision-menu.component.mjs +0 -32
  215. package/esm2022/supervision/components/supervision-title/supervision-title.component.mjs +0 -24
  216. package/esm2022/supervision/components/supervision.component.mjs +0 -19
  217. package/esm2022/supervision/i18n/en.translations.mjs +0 -58
  218. package/esm2022/supervision/i18n/fr.translations.mjs +0 -58
  219. package/esm2022/supervision/provoly-dashboard-supervision.mjs +0 -5
  220. package/esm2022/supervision/public-api.mjs +0 -2
  221. package/esm2022/supervision/store/supervision-api.model.mjs +0 -2
  222. package/esm2022/supervision/store/supervision.actions.mjs +0 -33
  223. package/esm2022/supervision/store/supervision.effects.mjs +0 -60
  224. package/esm2022/supervision/store/supervision.reducer.mjs +0 -111
  225. package/esm2022/supervision/store/supervision.selectors.mjs +0 -35
  226. package/esm2022/supervision/store/supervision.service.mjs +0 -54
  227. package/esm2022/supervision/supervision-routing.module.mjs +0 -96
  228. package/esm2022/supervision/supervision.module.mjs +0 -96
  229. package/fesm2022/provoly-dashboard-supervision.mjs +0 -861
  230. package/fesm2022/provoly-dashboard-supervision.mjs.map +0 -1
  231. package/supervision/components/supervision-business-data/supervision-business-data.component.d.ts +0 -14
  232. package/supervision/components/supervision-flow/supervision-flow.component.d.ts +0 -14
  233. package/supervision/components/supervision-infrastructures/supervision-infrastructures.component.d.ts +0 -18
  234. package/supervision/components/supervision-integration-errors/supervision-integration-errors-select/supervision-integration-errors-select.component.d.ts +0 -12
  235. package/supervision/components/supervision-integration-errors/supervision-integration-errors.component.d.ts +0 -29
  236. package/supervision/components/supervision-layout/supervision-layout.component.d.ts +0 -21
  237. package/supervision/components/supervision-menu/supervision-menu.component.d.ts +0 -13
  238. package/supervision/components/supervision-title/supervision-title.component.d.ts +0 -11
  239. package/supervision/components/supervision.component.d.ts +0 -9
  240. package/supervision/i18n/en.translations.d.ts +0 -57
  241. package/supervision/i18n/fr.translations.d.ts +0 -57
  242. package/supervision/index.d.ts +0 -5
  243. package/supervision/public-api.d.ts +0 -1
  244. package/supervision/store/supervision-api.model.d.ts +0 -36
  245. package/supervision/store/supervision.actions.d.ts +0 -121
  246. package/supervision/store/supervision.effects.d.ts +0 -51
  247. package/supervision/store/supervision.reducer.d.ts +0 -22
  248. package/supervision/store/supervision.selectors.d.ts +0 -18
  249. package/supervision/store/supervision.service.d.ts +0 -19
  250. package/supervision/supervision-routing.module.d.ts +0 -7
  251. package/supervision/supervision.module.d.ts +0 -25
@@ -7,10 +7,12 @@ export declare class AutocompleteComponent extends BaseFilterComponent implement
7
7
  private searchService;
8
8
  search$: BehaviorSubject<string>;
9
9
  autocomplete$?: Observable<string[]>;
10
+ loader: boolean;
10
11
  constructor(store: Store, searchService: SearchService);
11
12
  ngOnInit(): void;
12
13
  setFilter(value: string): void;
13
14
  updateSearch($event?: Event): void;
15
+ clear(): void;
14
16
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
15
17
  static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "pry-autocomplete", never, {}, {}, never, never, false, never>;
16
18
  }
@@ -9,6 +9,6 @@ import * as i5 from "@provoly/dashboard";
9
9
  export declare class PryAutocompleteModule extends BaseFilterModule {
10
10
  getComponent(): Type<BaseFilterComponent>;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<PryAutocompleteModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<PryAutocompleteModule, [typeof i1.AutocompleteComponent, typeof i2.PryAutocompleteCssComponent], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i4.FormsModule, typeof i5.PrySelectModule], [typeof i1.AutocompleteComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PryAutocompleteModule, [typeof i1.AutocompleteComponent, typeof i2.PryAutocompleteCssComponent], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i4.FormsModule, typeof i5.PrySelectModule, typeof i5.PryIconModule, typeof i5.PryI18nModule], [typeof i1.AutocompleteComponent]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<PryAutocompleteModule>;
14
14
  }
@@ -1,7 +1,20 @@
1
1
  @use '../../../styles/abstracts/index' as *;
2
2
 
3
- .m-form-label-field {
4
- &.-list {
5
- margin-bottom: 0;
3
+ pry-autocomplete {
4
+ .m-filter__input-wrapper {
5
+ height: toRem(30);
6
+ padding-left: 0;
7
+ }
8
+
9
+ .a-pry-select {
10
+ border: none;
11
+ padding: 0;
12
+ outline: none;
13
+
14
+ &:focus-within {
15
+ outline: 0;
16
+ border-radius: 0;
17
+ box-shadow: none;
18
+ }
6
19
  }
7
20
  }
@@ -0,0 +1,11 @@
1
+ import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class EllipsisDirective implements AfterViewInit {
4
+ private elementRef;
5
+ private renderer;
6
+ textElementSelector: string;
7
+ constructor(elementRef: ElementRef, renderer: Renderer2);
8
+ ngAfterViewInit(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<EllipsisDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EllipsisDirective, "[ellipsis]", never, { "textElementSelector": { "alias": "textElementSelector"; "required": false; }; }, {}, never, never, false, never>;
11
+ }
@@ -1,42 +1,63 @@
1
- import { ChangeDetectorRef, TemplateRef } from '@angular/core';
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter, TemplateRef, ViewContainerRef } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
+ import { BehaviorSubject, Observable } from 'rxjs';
4
+ import { Overlay, OverlayRef } from '@angular/cdk/overlay';
5
+ import { SubscriptionnerDirective } from '../../../dashboard/components/subscriptionner.directive';
3
6
  import * as i0 from "@angular/core";
4
- export declare class PrySelectComponent implements ControlValueAccessor {
7
+ export declare class PrySelectComponent extends SubscriptionnerDirective implements ControlValueAccessor {
5
8
  private _cd;
9
+ private overlay;
10
+ private viewContainerRef;
6
11
  id: number;
7
- labelTranslate: boolean;
8
- baseTranslate: string;
9
- translationFn?: (...args: any[]) => any;
10
- translationFnArgs: any[];
12
+ _items$: BehaviorSubject<any[]>;
13
+ matchingItems$: Observable<any>;
14
+ open: boolean;
15
+ activeDescendant: number;
16
+ valueItems$: Observable<any>;
17
+ value$: BehaviorSubject<any>;
18
+ searchSelected$: BehaviorSubject<boolean>;
19
+ set items(items: any[] | null | undefined);
11
20
  clearable: boolean;
12
21
  multiple: boolean;
13
- multipleClearRight: boolean;
14
22
  closeOnSelect: boolean;
15
23
  placeholder?: string;
16
24
  isForm: boolean;
17
25
  required?: any;
18
26
  name?: any;
19
27
  readonly: boolean;
20
- get disabled(): boolean;
21
- items: any[] | null;
22
- itemsAsOption: boolean;
23
- bindData: boolean;
24
- bindValue: any;
25
- bindLabel: any;
26
- bindIcon: any;
27
- iconSize: number[];
28
- templateLabel?: TemplateRef<any>;
29
- templateOption?: TemplateRef<any>;
30
28
  autocomplete: boolean;
31
- value: any;
29
+ bindValue: string | undefined;
30
+ bindLabel: string | undefined;
31
+ iconSize: number[];
32
+ bindIcon: any;
33
+ template?: TemplateRef<any>;
34
+ i18nPrefix: string | null;
35
+ searched: EventEmitter<string>;
36
+ cleared: EventEmitter<void>;
37
+ search$: BehaviorSubject<string>;
38
+ get disabled(): boolean;
39
+ overlayRef?: OverlayRef;
40
+ optionsModal: TemplateRef<any>;
41
+ selectElement: ElementRef<HTMLDivElement>;
42
+ elementRef: HTMLDivElement;
32
43
  private _onChange;
33
44
  private _onTouched;
34
45
  private _disabled;
35
- constructor(_cd: ChangeDetectorRef);
46
+ focused: boolean;
47
+ modalWidth: number;
48
+ get modalId(): string;
49
+ constructor(_cd: ChangeDetectorRef, overlay: Overlay, viewContainerRef: ViewContainerRef);
36
50
  registerOnChange(fn: any): void;
37
51
  registerOnTouched(fn: any): void;
38
52
  setDisabledState(isDisabled: boolean): void;
39
53
  writeValue(obj: any): void;
54
+ clear($event: Event, item: any): void;
55
+ clearAll($event: Event): void;
56
+ search($event: string): void;
57
+ select($event: Event, item: any, index: number): void;
58
+ toggle(force?: boolean): void;
59
+ private getOverlayConfig;
60
+ get _elementRef(): HTMLDivElement;
40
61
  static ɵfac: i0.ɵɵFactoryDeclaration<PrySelectComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<PrySelectComponent, "pry-select", never, { "labelTranslate": { "alias": "labelTranslate"; "required": false; }; "baseTranslate": { "alias": "baseTranslate"; "required": false; }; "translationFn": { "alias": "translationFn"; "required": false; }; "translationFnArgs": { "alias": "translationFnArgs"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "multipleClearRight": { "alias": "multipleClearRight"; "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; }; "items": { "alias": "items"; "required": false; }; "itemsAsOption": { "alias": "itemsAsOption"; "required": false; }; "bindData": { "alias": "bindData"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindIcon": { "alias": "bindIcon"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "templateLabel": { "alias": "templateLabel"; "required": false; }; "templateOption": { "alias": "templateOption"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; }, {}, never, never, false, never>;
62
+ 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; }; "elementRef": { "alias": "elementRef"; "required": false; }; }, { "searched": "searched"; "cleared": "cleared"; }, never, never, false, never>;
42
63
  }
@@ -1,12 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./select.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@ng-select/ng-select";
5
- import * as i4 from "@angular/forms";
6
- import * as i5 from "../icon/icon.module";
7
- import * as i6 from "../../i18n/i18n.module";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../icon/icon.module";
6
+ import * as i5 from "../../i18n/i18n.module";
8
7
  export declare class PrySelectModule {
9
8
  static ɵfac: i0.ɵɵFactoryDeclaration<PrySelectModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<PrySelectModule, [typeof i1.PrySelectComponent], [typeof i2.CommonModule, typeof i3.NgSelectModule, typeof i4.FormsModule, typeof i5.PryIconModule, typeof i6.PryI18nModule], [typeof i1.PrySelectComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PrySelectModule, [typeof i1.PrySelectComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PryIconModule, typeof i5.PryI18nModule], [typeof i1.PrySelectComponent]>;
11
10
  static ɵinj: i0.ɵɵInjectorDeclaration<PrySelectModule>;
12
11
  }
@@ -4,16 +4,14 @@ import { Store } from '@ngrx/store';
4
4
  import { Observable } from 'rxjs';
5
5
  import { PryI18nService } from '../../i18n/i18n.service';
6
6
  import { NamedQuery } from '../../store/data-source/data-source.model';
7
- import { ImageService } from '../../store/image/image.service';
8
7
  import { SymbolService } from '../../symbol/symbol.service';
9
8
  import * as i0 from "@angular/core";
10
9
  export declare const UNKNOWN_DATASOURCE: (id: string) => NamedQuery;
11
10
  export declare class TranslateIdPipe implements PipeTransform {
12
11
  private store;
13
12
  private translateService;
14
- private imageService;
15
13
  private symbolService;
16
- constructor(store: Store<any>, translateService: PryI18nService, imageService: ImageService, symbolService: SymbolService);
14
+ constructor(store: Store<any>, translateService: PryI18nService, symbolService: SymbolService);
17
15
  transform(value: string | string[], ...args: unknown[]): Observable<string | string[] | SafeUrl | null>;
18
16
  static ɵfac: i0.ɵɵFactoryDeclaration<TranslateIdPipe, never>;
19
17
  static ɵpipe: i0.ɵɵPipeDeclaration<TranslateIdPipe, "translateId", false>;
@@ -15,19 +15,20 @@ import * as i11 from "./components/accordion/accordion.component";
15
15
  import * as i12 from "./components/accordion/accordion-item/accordion-item.component";
16
16
  import * as i13 from "./components/tabs/tab-group.component";
17
17
  import * as i14 from "./components/tabs/tab.component";
18
- import * as i15 from "./components/base-toolbox-action/base-toolbox-action.component";
19
- import * as i16 from "@angular/common";
20
- import * as i17 from "@angular/router";
21
- import * as i18 from "@angular/common/http";
22
- import * as i19 from "@ngrx/store";
23
- import * as i20 from "@ngrx/effects";
24
- import * as i21 from "./components/icon/icon.module";
25
- import * as i22 from "@angular/cdk/overlay";
26
- import * as i23 from "./components/overlay/overlay.module";
27
- import * as i24 from "./i18n/i18n.module";
28
- import * as i25 from "./components/modal-status/modal-status.module";
29
- import * as i26 from "@angular/cdk/accordion";
30
- import * as i27 from "@angular/forms";
18
+ import * as i15 from "./components/ellipsis.directive";
19
+ import * as i16 from "./components/base-toolbox-action/base-toolbox-action.component";
20
+ import * as i17 from "@angular/common";
21
+ import * as i18 from "@angular/router";
22
+ import * as i19 from "@angular/common/http";
23
+ import * as i20 from "@ngrx/store";
24
+ import * as i21 from "@ngrx/effects";
25
+ import * as i22 from "./components/icon/icon.module";
26
+ import * as i23 from "@angular/cdk/overlay";
27
+ import * as i24 from "./components/overlay/overlay.module";
28
+ import * as i25 from "./i18n/i18n.module";
29
+ import * as i26 from "./components/modal-status/modal-status.module";
30
+ import * as i27 from "@angular/cdk/accordion";
31
+ import * as i28 from "@angular/forms";
31
32
  export declare class PryCoreModule {
32
33
  private pryTranslateService;
33
34
  constructor(pryTranslateService: PryI18nService);
@@ -37,6 +38,6 @@ export declare class PryCoreModule {
37
38
  geoAuthProvider?: Provider;
38
39
  }): ModuleWithProviders<PryCoreModule>;
39
40
  static ɵfac: i0.ɵɵFactoryDeclaration<PryCoreModule, never>;
40
- static ɵmod: i0.ɵɵNgModuleDeclaration<PryCoreModule, [typeof i1.TranslateIdPipe, typeof i2.TranslateItemToSymbolPipe, typeof i3.GetSecuredImagePipe, typeof i4.BaseLayoutComponent, typeof i5.BaseMenuComponent, typeof i6.BaseToolboxComponent, typeof i7.PryNqColorSelectorComponent, typeof i8.PryAccessDirective, typeof i9.PryUploadComponent, typeof i10.PrySelectImageComponent, typeof i11.AccordionComponent, typeof i12.AccordionItemComponent, typeof i13.TabGroupComponent, typeof i14.TabComponent, typeof i15.BaseToolboxActionComponent], [typeof i16.CommonModule, typeof i17.RouterModule, typeof i18.HttpClientModule, typeof i19.StoreFeatureModule, typeof i19.StoreFeatureModule, typeof i19.StoreFeatureModule, typeof i19.StoreFeatureModule, typeof i19.StoreFeatureModule, typeof i19.StoreFeatureModule, typeof i19.StoreFeatureModule, typeof i19.StoreFeatureModule, typeof i19.StoreFeatureModule, typeof i20.EffectsFeatureModule, typeof i20.EffectsFeatureModule, typeof i20.EffectsFeatureModule, typeof i20.EffectsFeatureModule, typeof i20.EffectsFeatureModule, typeof i20.EffectsFeatureModule, typeof i20.EffectsFeatureModule, typeof i20.EffectsFeatureModule, typeof i20.EffectsFeatureModule, typeof i21.PryIconModule, typeof i22.OverlayModule, typeof i23.PryOverlayModule, typeof i24.PryI18nModule, typeof i25.PryModalStatusModule, typeof i26.CdkAccordionModule, typeof i27.FormsModule], [typeof i1.TranslateIdPipe, typeof i2.TranslateItemToSymbolPipe, typeof i3.GetSecuredImagePipe, typeof i4.BaseLayoutComponent, typeof i5.BaseMenuComponent, typeof i6.BaseToolboxComponent, typeof i7.PryNqColorSelectorComponent, typeof i8.PryAccessDirective, typeof i9.PryUploadComponent, typeof i10.PrySelectImageComponent, typeof i11.AccordionComponent, typeof i12.AccordionItemComponent, typeof i13.TabGroupComponent, typeof i14.TabComponent]>;
41
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PryCoreModule, [typeof i1.TranslateIdPipe, typeof i2.TranslateItemToSymbolPipe, typeof i3.GetSecuredImagePipe, typeof i4.BaseLayoutComponent, typeof i5.BaseMenuComponent, typeof i6.BaseToolboxComponent, typeof i7.PryNqColorSelectorComponent, typeof i8.PryAccessDirective, typeof i9.PryUploadComponent, typeof i10.PrySelectImageComponent, typeof i11.AccordionComponent, typeof i12.AccordionItemComponent, typeof i13.TabGroupComponent, typeof i14.TabComponent, typeof i15.EllipsisDirective, typeof i16.BaseToolboxActionComponent], [typeof i17.CommonModule, typeof i18.RouterModule, typeof i19.HttpClientModule, typeof i20.StoreFeatureModule, typeof i20.StoreFeatureModule, typeof i20.StoreFeatureModule, typeof i20.StoreFeatureModule, typeof i20.StoreFeatureModule, typeof i20.StoreFeatureModule, typeof i20.StoreFeatureModule, typeof i20.StoreFeatureModule, typeof i20.StoreFeatureModule, typeof i21.EffectsFeatureModule, typeof i21.EffectsFeatureModule, typeof i21.EffectsFeatureModule, typeof i21.EffectsFeatureModule, typeof i21.EffectsFeatureModule, typeof i21.EffectsFeatureModule, typeof i21.EffectsFeatureModule, typeof i21.EffectsFeatureModule, typeof i21.EffectsFeatureModule, typeof i22.PryIconModule, typeof i23.OverlayModule, typeof i24.PryOverlayModule, typeof i25.PryI18nModule, typeof i26.PryModalStatusModule, typeof i27.CdkAccordionModule, typeof i28.FormsModule], [typeof i1.TranslateIdPipe, typeof i2.TranslateItemToSymbolPipe, typeof i3.GetSecuredImagePipe, typeof i4.BaseLayoutComponent, typeof i5.BaseMenuComponent, typeof i6.BaseToolboxComponent, typeof i7.PryNqColorSelectorComponent, typeof i8.PryAccessDirective, typeof i9.PryUploadComponent, typeof i10.PrySelectImageComponent, typeof i11.AccordionComponent, typeof i12.AccordionItemComponent, typeof i13.TabGroupComponent, typeof i14.TabComponent, typeof i15.EllipsisDirective]>;
41
42
  static ɵinj: i0.ɵɵInjectorDeclaration<PryCoreModule>;
42
43
  }
@@ -1,5 +1,8 @@
1
1
  export declare const enTranslations: {
2
2
  '@pry': {
3
+ select: {
4
+ label: string;
5
+ };
3
6
  about: {
4
7
  front: string;
5
8
  ref: string;
@@ -7,7 +10,6 @@ export declare const enTranslations: {
7
10
  replay: string;
8
11
  exec: string;
9
12
  transfo: string;
10
- monitor: string;
11
13
  noVersion: string;
12
14
  };
13
15
  header: {
@@ -26,7 +28,6 @@ export declare const enTranslations: {
26
28
  defineCatalog: string;
27
29
  buttonChoice: string;
28
30
  tooltip: {
29
- openParameter: string;
30
31
  params: string;
31
32
  readSearch: string;
32
33
  deleteWidget: string;
@@ -114,7 +115,6 @@ export declare const enTranslations: {
114
115
  detail: string;
115
116
  chart: string;
116
117
  resultSet: string;
117
- saveView: string;
118
118
  rename: string;
119
119
  restore: string;
120
120
  save: string;
@@ -335,6 +335,7 @@ export declare const enTranslations: {
335
335
  values: string;
336
336
  validate: string;
337
337
  limit: string;
338
+ dateRange: string;
338
339
  };
339
340
  attributes: {
340
341
  datasource: string;
@@ -1,5 +1,8 @@
1
1
  export declare const frTranslations: {
2
2
  '@pry': {
3
+ select: {
4
+ label: string;
5
+ };
3
6
  about: {
4
7
  front: string;
5
8
  ref: string;
@@ -7,7 +10,6 @@ export declare const frTranslations: {
7
10
  replay: string;
8
11
  exec: string;
9
12
  transfo: string;
10
- monitor: string;
11
13
  noVersion: string;
12
14
  };
13
15
  header: {
@@ -26,7 +28,6 @@ export declare const frTranslations: {
26
28
  defineCatalog: string;
27
29
  buttonChoice: string;
28
30
  tooltip: {
29
- openParameter: string;
30
31
  params: string;
31
32
  readSearch: string;
32
33
  deleteWidget: string;
@@ -114,10 +115,10 @@ export declare const frTranslations: {
114
115
  detail: string;
115
116
  chart: string;
116
117
  resultSet: string;
117
- saveView: string;
118
118
  rename: string;
119
119
  restore: string;
120
120
  save: string;
121
+ share: string;
121
122
  drag: string;
122
123
  dragIndication: string;
123
124
  barchart: string;
@@ -335,6 +336,7 @@ export declare const frTranslations: {
335
336
  values: string;
336
337
  validate: string;
337
338
  limit: string;
339
+ dateRange: string;
338
340
  };
339
341
  attributes: {
340
342
  datasource: string;
@@ -5,6 +5,8 @@ export interface DisplayOptions {
5
5
  catalog: boolean;
6
6
  useFilters: boolean;
7
7
  toolbox: ToolboxDisplayOptions;
8
+ edit_toggle: boolean;
9
+ widgetContextMenu: boolean | WidgetContextMenuDisplayOptions;
8
10
  }
9
11
  export interface ToolboxDisplayOptions {
10
12
  save_view: boolean;
@@ -16,5 +18,14 @@ export interface ToolboxDisplayOptions {
16
18
  refresh_datasets: boolean;
17
19
  automate_refresh: boolean;
18
20
  }
21
+ export interface WidgetContextMenuDisplayOptions {
22
+ datasourceSelection: boolean;
23
+ parameters: boolean;
24
+ window: boolean;
25
+ maximize: boolean;
26
+ addToCatalog: boolean;
27
+ delete: boolean;
28
+ changeSpot: boolean;
29
+ }
19
30
  export declare const BASE_DISPLAY_OPTIONS: DisplayOptions;
20
31
  export declare function getDisplayOptions(mode?: ViewMode): DisplayOptions;
@@ -65,7 +65,6 @@ export interface GlobalManifest {
65
65
  refreshRates?: {
66
66
  [key: string]: number;
67
67
  };
68
- locked?: boolean;
69
68
  filters?: Filter[];
70
69
  }
71
70
  export interface WidgetManifest {
@@ -74,10 +73,7 @@ export interface WidgetManifest {
74
73
  layout: WidgetLayout;
75
74
  options?: WidgetOptions;
76
75
  datasource?: string | string[];
77
- header?: boolean | {
78
- [key: string]: boolean;
79
- };
80
- locked?: boolean;
76
+ header?: boolean;
81
77
  cover?: boolean;
82
78
  contextMenu?: boolean;
83
79
  }
@@ -119,3 +119,4 @@ export * from './i18n/deep-merge.function';
119
119
  export * from './errors/http-error-interceptor.service';
120
120
  export * from './components/about/pry-about.module';
121
121
  export * from './components/about/about.component';
122
+ export * from './components/ellipsis.directive';
@@ -1,4 +1,4 @@
1
- import { BusinessData, Class } from './class.interface';
1
+ import { Class } from './class.interface';
2
2
  import { DatasetCount } from '../../model/dataset.interface';
3
3
  export declare const ClassActions: {
4
4
  load: import("@ngrx/store").ActionCreator<"[Class] Load Classes", () => import("@ngrx/store/src/models").TypedAction<"[Class] Load Classes">>;
@@ -12,17 +12,6 @@ export declare const ClassActions: {
12
12
  }) => {
13
13
  error: string;
14
14
  } & import("@ngrx/store/src/models").TypedAction<"[Class Api] Load Classes Failure">>;
15
- loadBusinessData: import("@ngrx/store").ActionCreator<"[Class Api] Load BusinessData", () => import("@ngrx/store/src/models").TypedAction<"[Class Api] Load BusinessData">>;
16
- loadBusinessDataSuccess: import("@ngrx/store").ActionCreator<"[Class Api] Load BusinessData Success", (props: {
17
- datas: BusinessData[];
18
- }) => {
19
- datas: BusinessData[];
20
- } & import("@ngrx/store/src/models").TypedAction<"[Class Api] Load BusinessData Success">>;
21
- loadBusinessDataFailure: import("@ngrx/store").ActionCreator<"[Class Api] Load BusinessData Failure", (props: {
22
- error: any;
23
- }) => {
24
- error: any;
25
- } & import("@ngrx/store/src/models").TypedAction<"[Class Api] Load BusinessData Failure">>;
26
15
  loadDatasetCount: import("@ngrx/store").ActionCreator<"[Class Api] Load DatasetCount", () => import("@ngrx/store/src/models").TypedAction<"[Class Api] Load DatasetCount">>;
27
16
  loadDatasetCountSuccess: import("@ngrx/store").ActionCreator<"[Class Api] Load DatasetCount Success", (props: {
28
17
  datasetCounts: DatasetCount[];
@@ -9,11 +9,6 @@ export declare class ClassEffects {
9
9
  } & import("@ngrx/store/src/models").TypedAction<"[Class Api] (bus) Load Classes Success">) | ({
10
10
  error: string;
11
11
  } & import("@ngrx/store/src/models").TypedAction<"[Class Api] Load Classes Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
12
- loadBusinessData$: import("rxjs").Observable<({
13
- datas: import("@provoly/dashboard").BusinessData[];
14
- } & import("@ngrx/store/src/models").TypedAction<"[Class Api] Load BusinessData Success">) | ({
15
- error: any;
16
- } & import("@ngrx/store/src/models").TypedAction<"[Class Api] Load BusinessData Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
17
12
  loadDatasetCount$: import("rxjs").Observable<({
18
13
  datasetCounts: import("@provoly/dashboard").DatasetCount[];
19
14
  } & import("@ngrx/store/src/models").TypedAction<"[Class Api] Load DatasetCount Success">) | ({
@@ -13,12 +13,6 @@ export interface Attribute {
13
13
  category?: string;
14
14
  multiValued: boolean;
15
15
  }
16
- export interface BusinessData {
17
- name: string;
18
- count: number;
19
- date: string;
20
- icon?: string;
21
- }
22
16
  export interface Associations {
23
17
  id: string;
24
18
  associations: [
@@ -1,15 +1,14 @@
1
1
  import { EntityAdapter, EntityState } from '@ngrx/entity';
2
2
  import { Action } from '@ngrx/store';
3
3
  import { DatasetCount } from '../../model/dataset.interface';
4
- import { BusinessData, Class } from './class.interface';
4
+ import { Class } from './class.interface';
5
5
  export declare const classesFeatureKey = "@pry/model/classes";
6
6
  export interface ClassState extends EntityState<Class> {
7
7
  loading: boolean;
8
- classDatas: BusinessData[];
9
8
  datasetCounts: DatasetCount[];
10
9
  }
11
10
  export declare function sortByName(a: Class, b: Class): number;
12
11
  export declare const adapter: EntityAdapter<Class>;
13
12
  export declare const initialClassState: ClassState;
14
- export declare const selectIds: (state: EntityState<Class>) => string[] | number[], selectEntities: (state: EntityState<Class>) => import("@ngrx/entity").Dictionary<Class>, selectAll: (state: EntityState<Class>) => Class[], selectTotal: (state: EntityState<Class>) => number;
13
+ export declare const selectEntities: (state: EntityState<Class>) => import("@ngrx/entity").Dictionary<Class>, selectAll: (state: EntityState<Class>) => Class[];
15
14
  export declare function classReducer(state: ClassState, action: Action): ClassState;
@@ -87,7 +87,6 @@ export declare const ClassSelectors: {
87
87
  category?: string | undefined;
88
88
  multiValued: boolean;
89
89
  }[]>;
90
- classDatas: import("@ngrx/store").MemoizedSelector<object, import("./class.interface").BusinessData[], (s1: fromClass.ClassState) => import("./class.interface").BusinessData[]>;
91
90
  datasetCounts: import("@ngrx/store").MemoizedSelector<object, import("@provoly/dashboard").DatasetCount[], (s1: fromClass.ClassState) => import("@provoly/dashboard").DatasetCount[]>;
92
91
  getAttributeById: (id: string) => import("@ngrx/store").MemoizedSelector<object, {
93
92
  technicalName: string;
@@ -1,7 +1,7 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Store } from '@ngrx/store';
3
3
  import { Observable } from 'rxjs';
4
- import { BusinessData, Class } from './class.interface';
4
+ import { Class } from './class.interface';
5
5
  import { DatasetCount } from '../../model/dataset.interface';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class ClassService {
@@ -12,10 +12,6 @@ export declare class ClassService {
12
12
  * Returns the list of business classes
13
13
  */
14
14
  getClasses(): Observable<Array<Class>>;
15
- /**
16
- * Returns classes usage
17
- */
18
- getBusinessDatas(): Observable<BusinessData[]>;
19
15
  getDatasetCounts(): Observable<DatasetCount[]>;
20
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ClassService, never>;
21
17
  static ɵprov: i0.ɵɵInjectableDeclaration<ClassService>;
@@ -7,7 +7,6 @@ export declare const ConfigSelectors: {
7
7
  refUrl: import("@ngrx/store").MemoizedSelector<object, string, (s1: string) => string>;
8
8
  transfoUrl: import("@ngrx/store").MemoizedSelector<object, string, (s1: string) => string>;
9
9
  wsUrl: import("@ngrx/store").MemoizedSelector<object, string, (s1: fromConfig.ConfigState) => string>;
10
- monitorUrl: import("@ngrx/store").MemoizedSelector<object, string, (s1: string) => string>;
11
10
  replayUrl: import("@ngrx/store").MemoizedSelector<object, string, (s1: string) => string>;
12
11
  mapUrl: import("@ngrx/store").MemoizedSelector<object, string, (s1: fromConfig.ConfigState) => string>;
13
12
  geoServerUrl: import("@ngrx/store").MemoizedSelector<object, string, (s1: fromConfig.ConfigState) => string>;
@@ -8,6 +8,7 @@ import { Dataset, DataSource, NamedQuery } from '../../../../core/store/data-sou
8
8
  import { LibraryTypes } from '../../../../core/store/image/image.service';
9
9
  import { ToolboxMenuService } from '../../../../core/toolbox/toolbox-menu.service';
10
10
  import { SubscriptionnerDirective } from '../../subscriptionner.directive';
11
+ import { WidgetContextMenuDisplayOptions } from '../../../../core/model/display-options.interface';
11
12
  import * as i0 from "@angular/core";
12
13
  export declare const WIDGET_HEADER_HEIGHT = 30;
13
14
  export type HeaderAction = {
@@ -56,7 +57,7 @@ export declare class PryWidgetHeaderComponent extends SubscriptionnerDirective i
56
57
  catalogInfo: Widget;
57
58
  set datasourceIds(datasourceIds: string[]);
58
59
  set widgetIndex(widgetIndex: number);
59
- lockedView$: Observable<boolean>;
60
+ displayContextMenu$: Observable<boolean | WidgetContextMenuDisplayOptions>;
60
61
  targetIndexes$: Observable<number[]>;
61
62
  _widgetIndex$: BehaviorSubject<number>;
62
63
  _widgetIndex: number;
@@ -90,10 +91,6 @@ export declare class PryWidgetHeaderComponent extends SubscriptionnerDirective i
90
91
  confirmCatalog(): void;
91
92
  executeAction(options: HeaderAction): void;
92
93
  isActionDisabled(option: HeaderAction): boolean;
93
- displayOption(headerOptions: any, parameters: string): boolean;
94
- displaySettings(headerOptions: {
95
- [p: string]: boolean;
96
- } | {} | undefined): boolean;
97
94
  toggleChangeSpot(): void;
98
95
  moveToPlace(place: WidgetManifest): void;
99
96
  focusCrossElement(): void;
@@ -18,17 +18,6 @@
18
18
  padding: toRem(4) 0;
19
19
  overflow-x: auto;
20
20
  overflow-y: hidden;
21
-
22
- &:has(ng-dropdown-panel.ng-dropdown-panel) {
23
- padding-bottom: 350px; // max ng-select dropdown length
24
- background-clip: content-box, padding-box;
25
- overflow-x: hidden;
26
- }
27
-
28
- &--ng-select-open {
29
- padding-bottom: 350px; // max ng-select dropdown length
30
- background-clip: content-box, padding-box;
31
- }
32
21
  }
33
22
 
34
23
  &__filter-actions {
@@ -148,7 +148,6 @@ export declare class DashboardEffects {
148
148
  refreshRates?: {
149
149
  [key: string]: number;
150
150
  } | undefined;
151
- locked?: boolean | undefined;
152
151
  filters?: import("@provoly/dashboard").Filter[] | undefined;
153
152
  }]> & import("@ngrx/effects").CreateEffectMetadata;
154
153
  saveManifest$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) fetching available manifests"> | ({
@@ -31,7 +31,6 @@ export declare const DashboardSelectors: {
31
31
  refreshRates?: {
32
32
  [key: string]: number;
33
33
  } | undefined;
34
- locked?: boolean | undefined;
35
34
  filters?: Filter[] | undefined;
36
35
  }, (s1: {
37
36
  sender: string;
@@ -46,7 +45,6 @@ export declare const DashboardSelectors: {
46
45
  refreshRates?: {
47
46
  [key: string]: number;
48
47
  } | undefined;
49
- locked?: boolean | undefined;
50
48
  filters?: Filter[] | undefined;
51
49
  }>;
52
50
  manifestDatasources: MemoizedSelector<object, {
@@ -57,7 +55,6 @@ export declare const DashboardSelectors: {
57
55
  refreshRates?: {
58
56
  [key: string]: number;
59
57
  } | undefined;
60
- locked?: boolean | undefined;
61
58
  filters?: Filter[] | undefined;
62
59
  }) => {
63
60
  datasetId: string;
@@ -70,7 +67,6 @@ export declare const DashboardSelectors: {
70
67
  refreshRates?: {
71
68
  [key: string]: number;
72
69
  } | undefined;
73
- locked?: boolean | undefined;
74
70
  filters?: Filter[] | undefined;
75
71
  }) => {
76
72
  [key: string]: number;
@@ -80,7 +76,6 @@ export declare const DashboardSelectors: {
80
76
  refreshRates?: {
81
77
  [key: string]: number;
82
78
  } | undefined;
83
- locked?: boolean | undefined;
84
79
  filters?: Filter[] | undefined;
85
80
  }, s2: number) => DashboardManifest>;
86
81
  widgetManifest: (index: number) => MemoizedSelector<DashboardManifest, WidgetManifest, import("@ngrx/store").DefaultProjectorFn<WidgetManifest>>;
@@ -150,7 +145,6 @@ export declare const DashboardSelectors: {
150
145
  refreshRates?: {
151
146
  [key: string]: number;
152
147
  } | undefined;
153
- locked?: boolean | undefined;
154
148
  filters?: Filter[] | undefined;
155
149
  }) => {
156
150
  [key: string]: {
@@ -270,7 +264,6 @@ export declare const DashboardSelectors: {
270
264
  refreshRates?: {
271
265
  [key: string]: number;
272
266
  } | undefined;
273
- locked?: boolean | undefined;
274
267
  filters?: Filter[] | undefined;
275
268
  }, (s1: {
276
269
  sender: string;
@@ -285,7 +278,6 @@ export declare const DashboardSelectors: {
285
278
  refreshRates?: {
286
279
  [key: string]: number;
287
280
  } | undefined;
288
- locked?: boolean | undefined;
289
281
  filters?: Filter[] | undefined;
290
282
  }>;
291
283
  loading: MemoizedSelector<object, boolean, (s1: {
@@ -335,7 +327,6 @@ export declare const DashboardSelectors: {
335
327
  refreshRates?: {
336
328
  [key: string]: number;
337
329
  } | undefined;
338
- locked?: boolean | undefined;
339
330
  filters?: Filter[] | undefined;
340
331
  }) => boolean>;
341
332
  isCurrentPresentationOwner: MemoizedSelector<object, boolean, (s1: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.20.3",
3
+ "version": "0.20.5",
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",
@@ -127,12 +126,6 @@
127
126
  "esm": "./esm2022/search/provoly-dashboard-search.mjs",
128
127
  "default": "./fesm2022/provoly-dashboard-search.mjs"
129
128
  },
130
- "./supervision": {
131
- "types": "./supervision/index.d.ts",
132
- "esm2022": "./esm2022/supervision/provoly-dashboard-supervision.mjs",
133
- "esm": "./esm2022/supervision/provoly-dashboard-supervision.mjs",
134
- "default": "./fesm2022/provoly-dashboard-supervision.mjs"
135
- },
136
129
  "./toolbox": {
137
130
  "types": "./toolbox/index.d.ts",
138
131
  "esm2022": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",