Gaëtan SIMON

Results 5 issues of Gaëtan SIMON

This allow to conditionally define cookie duration based on user consent. Here a snippet function to control cookie duration using a function: ```js // orejime.config.js const config = { /*...

To offer more control to developers on how cookie duration is managed based on user consent, is it possible to allow `cookieExpiresAfterDays` to be a function ? This function could...

Allow reopening Notice using `orejime.show()` when marked as mandatory by `mustNotice` option. Resolves: #80

It is possible to reopen orejime consent screen using `orejime.show()` which opens [`ConsentModal` component](https://github.com/empreinte-digitale/orejime/blob/61612c70d9d41b6b2b0bd9ef27d453428f424c39/src/components/consent-modal.js): Show component look ![image](https://user-images.githubusercontent.com/8135290/149233758-10601337-2991-4811-a3b8-74b697b7ec75.png) In code `mustNotice` acts only for mandatory [ConsentNotice](https://github.com/empreinte-digitale/orejime/blob/61612c70d9d41b6b2b0bd9ef27d453428f424c39/src/components/consent-notice-wrapper.js) display. On first visit...

**Describe the bug** Components imported using `nuxt/components` with `isAsync` option set to `false` are imported asynchronously when building for production using `nuxt build`. **To Reproduce** Steps to reproduce the behavior:...