@cccsaurora/howler-ui 2.12.0-dev.65 → 2.12.1

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.
@@ -21,7 +21,5 @@ export const ViewTitle = ({ title, type, query, sort, span }) => {
21
21
  readonly: _jsx(Lock, { fontSize: "small" }),
22
22
  global: _jsx(Language, { fontSize: "small" }),
23
23
  personal: _jsx(Person, { fontSize: "small" })
24
- }[type] }), _jsx(Typography, { variant: "body1", children: t(title) })] }), _jsx(Typography, { variant: "caption", children: _jsx("code", { children: query }) }), (sort || span) && (_jsxs(Stack, { direction: "row", sx: { mt: 1 }, spacing: 1, children: [sort
25
- ?.split(',')
26
- .map(_sort => (_jsx(Chip, { size: "small", label: _sort.split(' ')[0], icon: _sort.endsWith('desc') ? _jsx(ArrowDownward, {}) : _jsx(ArrowUpward, {}) }, _sort.split(' ')[0]))), spanLabel && _jsx(Chip, { size: "small", label: spanLabel })] }))] }));
24
+ }[type] }), _jsx(Typography, { variant: "body1", children: t(title) })] }), _jsx(Typography, { variant: "caption", children: _jsx("code", { children: query }) }), (sort || span) && (_jsxs(Stack, { direction: "row", sx: { mt: 1 }, spacing: 1, children: [sort?.split(',').map(_sort => (_jsx(Chip, { size: "small", label: _sort.split(' ')[0], icon: _sort.endsWith('desc') ? _jsx(ArrowDownward, {}) : _jsx(ArrowUpward, {}) }, _sort.split(' ')[0]))), spanLabel && _jsx(Chip, { size: "small", label: spanLabel })] }))] }));
27
25
  };
@@ -56,7 +56,7 @@ const DossierEditor = () => {
56
56
  lead.content)) {
57
57
  return t('route.dossiers.manager.validation.error.leads');
58
58
  }
59
- if (!dossier.pivots?.every(pivot => pivot.icon && iconExists(pivot.icon) && pivot.label && pivot.label.en && pivot.label.fr && pivot.format)) {
59
+ if (!(dossier.pivots ?? []).every(pivot => pivot.icon && iconExists(pivot.icon) && pivot.label && pivot.label.en && pivot.label.fr && pivot.format)) {
60
60
  return t('route.dossiers.manager.validation.error.pivots');
61
61
  }
62
62
  if (!dossier.pivots?.every(pivot => (pivot.mappings ?? []).length === uniqBy(pivot.mappings ?? [], 'key').length)) {
@@ -1 +1 @@
1
- export default "# Hit Schema\n\nA howler hit can contain a large number of unique fields, each with a particular definition, in order to make hits across analytics mutually intelligible. Below is a table containing all the given hit fields, as well as their type and a short description of what they are used for. While the vast majority of the fields are based on the Elastic Common Schema (see [this guide on ECS](https://www.elastic.co/guide/en/ecs/8.5/index.html) for documentation), there are also custom fields depending on the plugins enabled in Howler.\n\n## Howler Fields - Best Practices\n\nIn order to allow for some consistency between various analytics, there are a number of fields with recommended (but not required) styles. These include:\n\n- `howler.analytic`: Denotes the overarching analytic that generated the hit. For example, if the name of your analytic is Bad Guy Finder, you can set this field to Bad Guy Finder. Examples of use:\n\n - Bad Guy Finder (correct)\n - BadGuyFinder (acceptable, but spaces are preferred)\n - bad.guy.finder (incorrect, don't use periods)\n - bad_guy_finder (incorrect, don't use underscores)\n - in general, you can use [this regex](https://regexr.com/7ikco) to validate your proposed analytic name\n\n- `howler.detection`: Denotes the specific algorithm or portion of the analytic that generated the hit. For example, if your analytic has three ways of detecting hits that should be looked at (Impossible Travel, Incorrect Login Information, XSS Attack Detection), then the manner in which the hit you're creating was detected should be set. Examples of use:\n - Impossible Travel (correct)\n - ImpossibleTravel (acceptable, but spaces are preferred)\n - impossible.travel (incorrect, don't use periods)\n - impossible_travel (incorrect, don't use underscores)\n"
1
+ export default "# Hit Schema\n\nA howler hit can contain a large number of unique fields, each with a particular definition, in order to make hits across analytics mutually intelligible. Below is a table containing all the given hit fields, as well as their type and a short description of what they are used for. While the vast majority of the fields are based on the Elastic Common Schema (see [this guide on ECS](https://www.elastic.co/guide/en/ecs/8.5/index.html) for documentation), there are also custom fields depending on the plugins enabled in Howler.\n\n## Howler Fields - Best Practices\n\nIn order to allow for some consistency between various analytics, there are a number of fields with recommended (but not required) styles. These include:\n\n- `howler.analytic`: Denotes the overarching analytic that generated the hit. For example, if the name of your analytic is Bad Guy Finder, you can set this field to Bad Guy Finder. Examples of use:\n - Bad Guy Finder (correct)\n - BadGuyFinder (acceptable, but spaces are preferred)\n - bad.guy.finder (incorrect, don't use periods)\n - bad_guy_finder (incorrect, don't use underscores)\n - in general, you can use [this regex](https://regexr.com/7ikco) to validate your proposed analytic name\n\n- `howler.detection`: Denotes the specific algorithm or portion of the analytic that generated the hit. For example, if your analytic has three ways of detecting hits that should be looked at (Impossible Travel, Incorrect Login Information, XSS Attack Detection), then the manner in which the hit you're creating was detected should be set. Examples of use:\n - Impossible Travel (correct)\n - ImpossibleTravel (acceptable, but spaces are preferred)\n - impossible.travel (incorrect, don't use periods)\n - impossible_travel (incorrect, don't use underscores)\n"
@@ -1 +1 @@
1
- export default "# Sch\u00e9ma du hit\n\nUn hit howler peut contenir un grand nombre de champs uniques, chacun avec une d\u00e9finition particuli\u00e8re, afin de rendre les hits mutuellement intelligibles d'une analyse \u00e0 l'autre. Vous trouverez ci-dessous un tableau contenant tous les champs de r\u00e9sultats donn\u00e9s, ainsi que leur type et une br\u00e8ve description de leur utilisation. Alors que la grande majorit\u00e9 des champs sont bas\u00e9s sur le sch\u00e9ma commun Elastic (voir [ici](https://www.elastic.co/guide/en/ecs/8.5/index.html) pour la documentation), il existe \u00e9galement des champs personnalis\u00e9s pour Howler, et aussi des champs suppl\u00e9mentaires configur\u00e9s par divers plugins Howler.\n\n## Champs Howler - Bonnes pratiques\n\nAfin d'assurer une certaine coh\u00e9rence entre les diff\u00e9rents analytiques, il existe un certain nombre de champs dont le style est recommand\u00e9 (mais pas obligatoire). Il s'agit notamment des champs suivants:\n\n- `howler.analytic` : Indique l'analyse globale qui a g\u00e9n\u00e9r\u00e9 le r\u00e9sultat. Par exemple, si le nom de votre analyse est Bad Guy Finder, vous pouvez d\u00e9finir ce champ \u00e0 Bad Guy Finder. Exemples d'utilisation :\n\n - Bad Guy Finder (correct)\n - BadGuyFinder (acceptable, mais les espaces sont pr\u00e9f\u00e9rables)\n - bad.guy.finder (incorrect, ne pas utiliser de points)\n - bad_guy_finder (incorrect, n'utilisez pas de caract\u00e8res de soulignement)\n - en g\u00e9n\u00e9ral, vous pouvez utiliser [cette regex](https://regexr.com/7ikco) pour valider le nom analytique que vous proposez\n\n- `howler.detection` : Indique l'algorithme sp\u00e9cifique ou la partie de l'analyse qui a g\u00e9n\u00e9r\u00e9 le hit. Par exemple, si votre analyse a trois fa\u00e7ons de d\u00e9tecter les hits qui devraient \u00eatre examin\u00e9s (Voyage impossible, Informations de connexion incorrectes, D\u00e9tection d'attaque XSS), alors la fa\u00e7on dont le hit que vous cr\u00e9ez a \u00e9t\u00e9 d\u00e9tect\u00e9 devrait \u00eatre d\u00e9finie. Exemples d'utilisation :\n - Impossible Travel (correct)\n - ImpossibleTravel (acceptable, mais les espaces sont pr\u00e9f\u00e9rables)\n - impossible.travel (incorrect, ne pas utiliser de points)\n - impossible_travel (incorrect, ne pas utiliser de caract\u00e8res de soulignement)\n"
1
+ export default "# Sch\u00e9ma du hit\n\nUn hit howler peut contenir un grand nombre de champs uniques, chacun avec une d\u00e9finition particuli\u00e8re, afin de rendre les hits mutuellement intelligibles d'une analyse \u00e0 l'autre. Vous trouverez ci-dessous un tableau contenant tous les champs de r\u00e9sultats donn\u00e9s, ainsi que leur type et une br\u00e8ve description de leur utilisation. Alors que la grande majorit\u00e9 des champs sont bas\u00e9s sur le sch\u00e9ma commun Elastic (voir [ici](https://www.elastic.co/guide/en/ecs/8.5/index.html) pour la documentation), il existe \u00e9galement des champs personnalis\u00e9s pour Howler, et aussi des champs suppl\u00e9mentaires configur\u00e9s par divers plugins Howler.\n\n## Champs Howler - Bonnes pratiques\n\nAfin d'assurer une certaine coh\u00e9rence entre les diff\u00e9rents analytiques, il existe un certain nombre de champs dont le style est recommand\u00e9 (mais pas obligatoire). Il s'agit notamment des champs suivants:\n\n- `howler.analytic` : Indique l'analyse globale qui a g\u00e9n\u00e9r\u00e9 le r\u00e9sultat. Par exemple, si le nom de votre analyse est Bad Guy Finder, vous pouvez d\u00e9finir ce champ \u00e0 Bad Guy Finder. Exemples d'utilisation :\n - Bad Guy Finder (correct)\n - BadGuyFinder (acceptable, mais les espaces sont pr\u00e9f\u00e9rables)\n - bad.guy.finder (incorrect, ne pas utiliser de points)\n - bad_guy_finder (incorrect, n'utilisez pas de caract\u00e8res de soulignement)\n - en g\u00e9n\u00e9ral, vous pouvez utiliser [cette regex](https://regexr.com/7ikco) pour valider le nom analytique que vous proposez\n\n- `howler.detection` : Indique l'algorithme sp\u00e9cifique ou la partie de l'analyse qui a g\u00e9n\u00e9r\u00e9 le hit. Par exemple, si votre analyse a trois fa\u00e7ons de d\u00e9tecter les hits qui devraient \u00eatre examin\u00e9s (Voyage impossible, Informations de connexion incorrectes, D\u00e9tection d'attaque XSS), alors la fa\u00e7on dont le hit que vous cr\u00e9ez a \u00e9t\u00e9 d\u00e9tect\u00e9 devrait \u00eatre d\u00e9finie. Exemples d'utilisation :\n - Impossible Travel (correct)\n - ImpossibleTravel (acceptable, mais les espaces sont pr\u00e9f\u00e9rables)\n - impossible.travel (incorrect, ne pas utiliser de points)\n - impossible_travel (incorrect, ne pas utiliser de caract\u00e8res de soulignement)\n"
@@ -12,7 +12,7 @@ const LeadRenderer = ({ lead, hit }) => {
12
12
  mt: -2
13
13
  }, children: _jsx(HandlebarsMarkdown, { disableLinks: true, md: lead.content, object: hit ?? lead }) }));
14
14
  }
15
- const pluginLead = pluginStore.executeFunction(`lead.${lead.format}`, lead.content, lead.metadata);
15
+ const pluginLead = pluginStore.executeFunction(`lead.${lead.format}`, lead.content, lead.metadata, hit);
16
16
  if (pluginLead) {
17
17
  return pluginLead;
18
18
  }
package/package.json CHANGED
@@ -17,20 +17,20 @@
17
17
  "@dnd-kit/sortable": "^8.0.0",
18
18
  "@dnd-kit/utilities": "^3.2.2",
19
19
  "@emotion/react": "^11.14.0",
20
- "@emotion/styled": "^11.14.0",
21
- "@fontsource/roboto": "^5.2.5",
20
+ "@emotion/styled": "^11.14.1",
21
+ "@fontsource/roboto": "^5.2.6",
22
22
  "@microlink/react-json-view": "^1.26.2",
23
23
  "@monaco-editor/react": "^4.7.0",
24
- "@mui/icons-material": "^5.17.1",
24
+ "@mui/icons-material": "^5.18.0",
25
25
  "@mui/lab": "5.0.0-alpha.176",
26
- "@mui/material": "^5.17.1",
26
+ "@mui/material": "^5.18.0",
27
27
  "@mui/x-date-pickers": "^7.29.4",
28
28
  "ajv": "^8.17.1",
29
29
  "ajv-i18n": "^4.2.0",
30
- "axios": "^1.9.0",
30
+ "axios": "^1.10.0",
31
31
  "axios-retry": "^3.9.1",
32
32
  "borealis-ui": "0.11.0",
33
- "chart.js": "^4.4.9",
33
+ "chart.js": "^4.5.0",
34
34
  "chartjs-adapter-moment": "^1.0.1",
35
35
  "chartjs-plugin-zoom": "^2.2.0",
36
36
  "clsx": "^2.1.1",
@@ -46,7 +46,7 @@
46
46
  "json2mq": "^0.2.0",
47
47
  "lodash-es": "^4.17.21",
48
48
  "md5": "^2.3.0",
49
- "mermaid": "^11.6.0",
49
+ "mermaid": "^11.8.1",
50
50
  "moment": "^2.30.1",
51
51
  "monaco-editor": "^0.49.0",
52
52
  "notistack": "^3.0.2",
@@ -96,158 +96,158 @@
96
96
  "internal-slot": "1.0.7"
97
97
  },
98
98
  "type": "module",
99
- "version": "2.12.0-dev.65",
99
+ "version": "2.12.1",
100
100
  "exports": {
101
101
  "./i18n": "./i18n.js",
102
102
  "./index.css": "./index.css",
103
- "./plugins/*": "./plugins/*.js",
104
- "./components/*": "./components/*.js",
105
- "./locales/*.json": "./locales/*.json",
106
- "./api/*": "./api/*.js",
107
- "./api": "./api/index.js",
108
- "./rest/*": "./rest/*.js",
109
- "./rest": "./rest/index.js",
110
103
  "./models/*": "./models/*.js",
111
- "./commons/*": "./commons/*.js",
112
104
  "./branding/*": "./branding/*.js",
105
+ "./commons/*": "./commons/*.js",
113
106
  "./utils/*": "./utils/*.js",
114
107
  "./utils/*.json": "./utils/*.json",
115
- "./components/logins/*": "./components/logins/*.js",
116
- "./components/app/*": "./components/app/*.js",
117
- "./components/routes/*": "./components/routes/*.js",
108
+ "./rest/*": "./rest/*.js",
109
+ "./rest": "./rest/index.js",
110
+ "./components/*": "./components/*.js",
111
+ "./plugins/*": "./plugins/*.js",
112
+ "./api/*": "./api/*.js",
113
+ "./api": "./api/index.js",
114
+ "./locales/*.json": "./locales/*.json",
115
+ "./models/socket/*": "./models/socket/*.js",
116
+ "./models/entities/*": "./models/entities/*.js",
117
+ "./models/entities/generated/*": "./models/entities/generated/*.js",
118
+ "./commons/components/*": "./commons/components/*.js",
119
+ "./commons/components/notification/*": "./commons/components/notification/*.js",
120
+ "./commons/components/notification": "./commons/components/notification/index.js",
121
+ "./commons/components/search/*": "./commons/components/search/*.js",
122
+ "./commons/components/display/*": "./commons/components/display/*.js",
123
+ "./commons/components/breadcrumbs/*": "./commons/components/breadcrumbs/*.js",
124
+ "./commons/components/app/*": "./commons/components/app/*.js",
125
+ "./commons/components/utils/*": "./commons/components/utils/*.js",
126
+ "./commons/components/topnav/*": "./commons/components/topnav/*.js",
127
+ "./commons/components/pages/*": "./commons/components/pages/*.js",
128
+ "./commons/components/leftnav/*": "./commons/components/leftnav/*.js",
129
+ "./commons/components/notification/elements/*": "./commons/components/notification/elements/*.js",
130
+ "./commons/components/notification/elements/item/*": "./commons/components/notification/elements/item/*.js",
131
+ "./commons/components/display/hooks/*": "./commons/components/display/hooks/*.js",
132
+ "./commons/components/app/hooks/*": "./commons/components/app/hooks/*.js",
133
+ "./commons/components/app/hooks": "./commons/components/app/hooks/index.js",
134
+ "./commons/components/app/providers/*": "./commons/components/app/providers/*.js",
135
+ "./commons/components/utils/hooks/*": "./commons/components/utils/hooks/*.js",
136
+ "./commons/components/pages/hooks/*": "./commons/components/pages/hooks/*.js",
118
137
  "./components/hooks/*": "./components/hooks/*.js",
119
138
  "./components/elements/*": "./components/elements/*.js",
120
- "./components/logins/auth/*": "./components/logins/auth/*.js",
121
- "./components/logins/hooks/*": "./components/logins/hooks/*.js",
122
- "./components/app/hooks/*": "./components/app/hooks/*.js",
123
- "./components/app/providers/*": "./components/app/providers/*.js",
124
- "./components/app/drawers/*": "./components/app/drawers/*.js",
125
- "./components/routes/help/*": "./components/routes/help/*.js",
126
- "./components/routes/views/*": "./components/routes/views/*.js",
127
- "./components/routes/overviews/*": "./components/routes/overviews/*.js",
128
- "./components/routes/action/*": "./components/routes/action/*.js",
129
- "./components/routes/analytics/*": "./components/routes/analytics/*.js",
130
- "./components/routes/hits/*": "./components/routes/hits/*.js",
131
- "./components/routes/home/*": "./components/routes/home/*.js",
132
- "./components/routes/home": "./components/routes/home/index.js",
133
- "./components/routes/advanced/*": "./components/routes/advanced/*.js",
134
- "./components/routes/templates/*": "./components/routes/templates/*.js",
135
- "./components/routes/settings/*": "./components/routes/settings/*.js",
136
- "./components/routes/admin/*": "./components/routes/admin/*.js",
137
- "./components/routes/dossiers/*": "./components/routes/dossiers/*.js",
138
- "./components/routes/help/components/*": "./components/routes/help/components/*.js",
139
- "./components/routes/help/markdown/*.md": "./components/routes/help/markdown/*.md.js",
140
- "./components/routes/help/markdown/en/*.md": "./components/routes/help/markdown/en/*.md.js",
141
- "./components/routes/help/markdown/fr/*.md": "./components/routes/help/markdown/fr/*.md.js",
142
- "./components/routes/action/view/*": "./components/routes/action/view/*.js",
143
- "./components/routes/action/shared/*": "./components/routes/action/shared/*.js",
144
- "./components/routes/action/edit/*": "./components/routes/action/edit/*.js",
145
- "./components/routes/analytics/widgets/*": "./components/routes/analytics/widgets/*.js",
146
- "./components/routes/hits/view/*": "./components/routes/hits/view/*.js",
147
- "./components/routes/hits/search/*": "./components/routes/hits/search/*.js",
148
- "./components/routes/hits/search/grid/*": "./components/routes/hits/search/grid/*.js",
149
- "./components/routes/hits/search/shared/*": "./components/routes/hits/search/shared/*.js",
150
- "./components/routes/admin/users/*": "./components/routes/admin/users/*.js",
139
+ "./components/app/*": "./components/app/*.js",
140
+ "./components/routes/*": "./components/routes/*.js",
141
+ "./components/logins/*": "./components/logins/*.js",
151
142
  "./components/elements/display/*": "./components/elements/display/*.js",
152
143
  "./components/elements/view/*": "./components/elements/view/*.js",
153
144
  "./components/elements/addons/*": "./components/elements/addons/*.js",
154
145
  "./components/elements/hit/*": "./components/elements/hit/*.js",
155
- "./components/elements/display/modals/*": "./components/elements/display/modals/*.js",
156
- "./components/elements/display/features/*": "./components/elements/display/features/*.js",
157
146
  "./components/elements/display/handlebars/*": "./components/elements/display/handlebars/*.js",
158
- "./components/elements/display/markdownPlugins/*.md": "./components/elements/display/markdownPlugins/*.md.js",
159
- "./components/elements/display/icons/*": "./components/elements/display/icons/*.js",
147
+ "./components/elements/display/features/*": "./components/elements/display/features/*.js",
160
148
  "./components/elements/display/json/*": "./components/elements/display/json/*.js",
149
+ "./components/elements/display/modals/*": "./components/elements/display/modals/*.js",
150
+ "./components/elements/display/icons/*": "./components/elements/display/icons/*.js",
151
+ "./components/elements/display/markdownPlugins/*.md": "./components/elements/display/markdownPlugins/*.md.js",
161
152
  "./components/elements/display/icons/svg/*": "./components/elements/display/icons/svg/*.js",
162
- "./components/elements/addons/lists/*": "./components/elements/addons/lists/*.js",
163
- "./components/elements/addons/lists": "./components/elements/addons/lists/index.js",
153
+ "./components/elements/addons/search/*": "./components/elements/addons/search/*.js",
164
154
  "./components/elements/addons/buttons/*": "./components/elements/addons/buttons/*.js",
165
155
  "./components/elements/addons/buttons": "./components/elements/addons/buttons/index.js",
166
156
  "./components/elements/addons/layout/*": "./components/elements/addons/layout/*.js",
167
- "./components/elements/addons/search/*": "./components/elements/addons/search/*.js",
168
- "./components/elements/addons/lists/hooks/*": "./components/elements/addons/lists/hooks/*.js",
169
- "./components/elements/addons/lists/table/*": "./components/elements/addons/lists/table/*.js",
170
- "./components/elements/addons/lists/table": "./components/elements/addons/lists/table/index.js",
171
- "./components/elements/addons/layout/vsbox/*": "./components/elements/addons/layout/vsbox/*.js",
157
+ "./components/elements/addons/lists/*": "./components/elements/addons/lists/*.js",
158
+ "./components/elements/addons/lists": "./components/elements/addons/lists/index.js",
172
159
  "./components/elements/addons/search/phrase/*": "./components/elements/addons/search/phrase/*.js",
173
160
  "./components/elements/addons/search/phrase": "./components/elements/addons/search/phrase/index.js",
174
161
  "./components/elements/addons/search/phrase/word/*": "./components/elements/addons/search/phrase/word/*.js",
175
162
  "./components/elements/addons/search/phrase/word/consumers/*": "./components/elements/addons/search/phrase/word/consumers/*.js",
176
- "./components/elements/hit/related/*": "./components/elements/hit/related/*.js",
163
+ "./components/elements/addons/layout/vsbox/*": "./components/elements/addons/layout/vsbox/*.js",
164
+ "./components/elements/addons/lists/hooks/*": "./components/elements/addons/lists/hooks/*.js",
165
+ "./components/elements/addons/lists/table/*": "./components/elements/addons/lists/table/*.js",
166
+ "./components/elements/addons/lists/table": "./components/elements/addons/lists/table/index.js",
177
167
  "./components/elements/hit/aggregate/*": "./components/elements/hit/aggregate/*.js",
168
+ "./components/elements/hit/actions/*": "./components/elements/hit/actions/*.js",
169
+ "./components/elements/hit/related/*": "./components/elements/hit/related/*.js",
178
170
  "./components/elements/hit/elements/*": "./components/elements/hit/elements/*.js",
179
171
  "./components/elements/hit/outlines/*": "./components/elements/hit/outlines/*.js",
180
- "./components/elements/hit/actions/*": "./components/elements/hit/actions/*.js",
181
172
  "./components/elements/hit/outlines/al/*": "./components/elements/hit/outlines/al/*.js",
182
- "./locales/en/*.json": "./locales/en/*.json",
183
- "./locales/fr/*.json": "./locales/fr/*.json",
184
- "./locales/en/help/*.json": "./locales/en/help/*.json",
185
- "./locales/fr/help/*.json": "./locales/fr/help/*.json",
173
+ "./components/app/hooks/*": "./components/app/hooks/*.js",
174
+ "./components/app/drawers/*": "./components/app/drawers/*.js",
175
+ "./components/app/providers/*": "./components/app/providers/*.js",
176
+ "./components/routes/home/*": "./components/routes/home/*.js",
177
+ "./components/routes/home": "./components/routes/home/index.js",
178
+ "./components/routes/dossiers/*": "./components/routes/dossiers/*.js",
179
+ "./components/routes/views/*": "./components/routes/views/*.js",
180
+ "./components/routes/action/*": "./components/routes/action/*.js",
181
+ "./components/routes/overviews/*": "./components/routes/overviews/*.js",
182
+ "./components/routes/admin/*": "./components/routes/admin/*.js",
183
+ "./components/routes/settings/*": "./components/routes/settings/*.js",
184
+ "./components/routes/help/*": "./components/routes/help/*.js",
185
+ "./components/routes/hits/*": "./components/routes/hits/*.js",
186
+ "./components/routes/analytics/*": "./components/routes/analytics/*.js",
187
+ "./components/routes/advanced/*": "./components/routes/advanced/*.js",
188
+ "./components/routes/templates/*": "./components/routes/templates/*.js",
189
+ "./components/routes/action/view/*": "./components/routes/action/view/*.js",
190
+ "./components/routes/action/shared/*": "./components/routes/action/shared/*.js",
191
+ "./components/routes/action/edit/*": "./components/routes/action/edit/*.js",
192
+ "./components/routes/admin/users/*": "./components/routes/admin/users/*.js",
193
+ "./components/routes/help/components/*": "./components/routes/help/components/*.js",
194
+ "./components/routes/help/markdown/*.md": "./components/routes/help/markdown/*.md.js",
195
+ "./components/routes/help/markdown/en/*.md": "./components/routes/help/markdown/en/*.md.js",
196
+ "./components/routes/help/markdown/fr/*.md": "./components/routes/help/markdown/fr/*.md.js",
197
+ "./components/routes/hits/search/*": "./components/routes/hits/search/*.js",
198
+ "./components/routes/hits/view/*": "./components/routes/hits/view/*.js",
199
+ "./components/routes/hits/search/grid/*": "./components/routes/hits/search/grid/*.js",
200
+ "./components/routes/hits/search/shared/*": "./components/routes/hits/search/shared/*.js",
201
+ "./components/routes/analytics/widgets/*": "./components/routes/analytics/widgets/*.js",
202
+ "./components/logins/hooks/*": "./components/logins/hooks/*.js",
203
+ "./components/logins/auth/*": "./components/logins/auth/*.js",
204
+ "./api/search/*": "./api/search/*.js",
205
+ "./api/search": "./api/search/index.js",
186
206
  "./api/analytic/*": "./api/analytic/*.js",
187
207
  "./api/analytic": "./api/analytic/index.js",
188
208
  "./api/auth/*": "./api/auth/*.js",
189
209
  "./api/auth": "./api/auth/index.js",
190
- "./api/action/*": "./api/action/*.js",
191
- "./api/action": "./api/action/index.js",
210
+ "./api/template/*": "./api/template/*.js",
211
+ "./api/template": "./api/template/index.js",
192
212
  "./api/view/*": "./api/view/*.js",
193
213
  "./api/view": "./api/view/index.js",
214
+ "./api/action/*": "./api/action/*.js",
215
+ "./api/action": "./api/action/index.js",
194
216
  "./api/user/*": "./api/user/*.js",
195
217
  "./api/user": "./api/user/index.js",
196
- "./api/dossier/*": "./api/dossier/*.js",
197
- "./api/dossier": "./api/dossier/index.js",
198
- "./api/template/*": "./api/template/*.js",
199
- "./api/template": "./api/template/index.js",
200
- "./api/configs/*": "./api/configs/*.js",
201
- "./api/configs": "./api/configs/index.js",
202
218
  "./api/overview/*": "./api/overview/*.js",
203
219
  "./api/overview": "./api/overview/index.js",
204
- "./api/notebook/*": "./api/notebook/*.js",
205
- "./api/notebook": "./api/notebook/index.js",
206
- "./api/search/*": "./api/search/*.js",
207
- "./api/search": "./api/search/index.js",
220
+ "./api/configs/*": "./api/configs/*.js",
221
+ "./api/configs": "./api/configs/index.js",
222
+ "./api/dossier/*": "./api/dossier/*.js",
223
+ "./api/dossier": "./api/dossier/index.js",
208
224
  "./api/hit/*": "./api/hit/*.js",
209
225
  "./api/hit": "./api/hit/index.js",
210
- "./api/analytic/notebooks/*": "./api/analytic/notebooks/*.js",
211
- "./api/analytic/notebooks": "./api/analytic/notebooks/index.js",
212
- "./api/analytic/comments/*": "./api/analytic/comments/*.js",
213
- "./api/analytic/comments": "./api/analytic/comments/index.js",
214
- "./api/user/avatar/*": "./api/user/avatar/*.js",
215
- "./api/user/avatar": "./api/user/avatar/index.js",
226
+ "./api/notebook/*": "./api/notebook/*.js",
227
+ "./api/notebook": "./api/notebook/index.js",
228
+ "./api/search/grouped/*": "./api/search/grouped/*.js",
229
+ "./api/search/grouped": "./api/search/grouped/index.js",
230
+ "./api/search/sigma/*": "./api/search/sigma/*.js",
216
231
  "./api/search/histogram/*": "./api/search/histogram/*.js",
217
232
  "./api/search/histogram": "./api/search/histogram/index.js",
218
233
  "./api/search/eql/*": "./api/search/eql/*.js",
234
+ "./api/search/facet/*": "./api/search/facet/*.js",
235
+ "./api/search/facet": "./api/search/facet/index.js",
219
236
  "./api/search/fields/*": "./api/search/fields/*.js",
220
237
  "./api/search/fields": "./api/search/fields/index.js",
221
238
  "./api/search/count/*": "./api/search/count/*.js",
222
239
  "./api/search/count": "./api/search/count/index.js",
223
- "./api/search/sigma/*": "./api/search/sigma/*.js",
224
- "./api/search/grouped/*": "./api/search/grouped/*.js",
225
- "./api/search/grouped": "./api/search/grouped/index.js",
226
- "./api/search/facet/*": "./api/search/facet/*.js",
227
- "./api/search/facet": "./api/search/facet/index.js",
240
+ "./api/analytic/notebooks/*": "./api/analytic/notebooks/*.js",
241
+ "./api/analytic/notebooks": "./api/analytic/notebooks/index.js",
242
+ "./api/analytic/comments/*": "./api/analytic/comments/*.js",
243
+ "./api/analytic/comments": "./api/analytic/comments/index.js",
244
+ "./api/user/avatar/*": "./api/user/avatar/*.js",
245
+ "./api/user/avatar": "./api/user/avatar/index.js",
228
246
  "./api/hit/comments/*": "./api/hit/comments/*.js",
229
247
  "./api/hit/comments": "./api/hit/comments/index.js",
230
- "./models/entities/*": "./models/entities/*.js",
231
- "./models/socket/*": "./models/socket/*.js",
232
- "./models/entities/generated/*": "./models/entities/generated/*.js",
233
- "./commons/components/*": "./commons/components/*.js",
234
- "./commons/components/app/*": "./commons/components/app/*.js",
235
- "./commons/components/breadcrumbs/*": "./commons/components/breadcrumbs/*.js",
236
- "./commons/components/notification/*": "./commons/components/notification/*.js",
237
- "./commons/components/notification": "./commons/components/notification/index.js",
238
- "./commons/components/display/*": "./commons/components/display/*.js",
239
- "./commons/components/topnav/*": "./commons/components/topnav/*.js",
240
- "./commons/components/search/*": "./commons/components/search/*.js",
241
- "./commons/components/utils/*": "./commons/components/utils/*.js",
242
- "./commons/components/leftnav/*": "./commons/components/leftnav/*.js",
243
- "./commons/components/pages/*": "./commons/components/pages/*.js",
244
- "./commons/components/app/hooks/*": "./commons/components/app/hooks/*.js",
245
- "./commons/components/app/hooks": "./commons/components/app/hooks/index.js",
246
- "./commons/components/app/providers/*": "./commons/components/app/providers/*.js",
247
- "./commons/components/notification/elements/*": "./commons/components/notification/elements/*.js",
248
- "./commons/components/notification/elements/item/*": "./commons/components/notification/elements/item/*.js",
249
- "./commons/components/display/hooks/*": "./commons/components/display/hooks/*.js",
250
- "./commons/components/utils/hooks/*": "./commons/components/utils/hooks/*.js",
251
- "./commons/components/pages/hooks/*": "./commons/components/pages/hooks/*.js"
248
+ "./locales/en/*.json": "./locales/en/*.json",
249
+ "./locales/fr/*.json": "./locales/fr/*.json",
250
+ "./locales/en/help/*.json": "./locales/en/help/*.json",
251
+ "./locales/fr/help/*.json": "./locales/fr/help/*.json"
252
252
  }
253
253
  }
@@ -25,7 +25,7 @@ declare abstract class HowlerPlugin implements IPlugin {
25
25
  init(pluginStore: PluginStore): void;
26
26
  activate(): void;
27
27
  deactivate(): void;
28
- addLead(format: string, form: (props: LeadFormProps) => React.ReactNode, renderer: (content: string, metadata: any) => React.ReactNode): void;
28
+ addLead(format: string, form: (props: LeadFormProps) => React.ReactNode, renderer: (content: string, metadata: any, hit?: Hit) => React.ReactNode): void;
29
29
  addPivot(format: string, form: (props: PivotFormProps) => React.ReactNode, renderer: (props: PivotLinkProps) => React.ReactNode): void;
30
30
  addOperation(format: string, form: (props: CustomActionProps) => React.ReactNode, documentation: PluginDocumentation): void;
31
31
  on(_event: string, _hit: Hit): any;