diff --git a/.changeset/popular-pugs-eat.md b/.changeset/popular-pugs-eat.md new file mode 100644 index 000000000..f0c82636e --- /dev/null +++ b/.changeset/popular-pugs-eat.md @@ -0,0 +1,5 @@ +--- +'frontend-gelinkt-notuleren': minor +--- + +Add meeting details modal to inauguration-meeting creation flow diff --git a/app/controllers/inbox/meetings.js b/app/controllers/inbox/meetings.js index 6822e5ec8..81812134f 100644 --- a/app/controllers/inbox/meetings.js +++ b/app/controllers/inbox/meetings.js @@ -1,7 +1,6 @@ import { service } from '@ember/service'; import Controller from '@ember/controller'; import { tracked } from '@glimmer/tracking'; -import { action } from '@ember/object'; import InstallatieVergaderingModel from 'frontend-gelinkt-notuleren/models/installatievergadering'; export default class InboxMeetingsController extends Controller { @service store; @@ -20,56 +19,4 @@ export default class InboxMeetingsController extends Controller { isInaugurationMeeting = (meeting) => { return meeting instanceof InstallatieVergaderingModel; }; - - @action - async createInaugurationMeeting() { - let now = new Date(); - const bestuursorgaan = ( - await this.store.query('bestuursorgaan', { - include: [ - 'is-tijdsspecialisatie-van.bestuurseenheid', - 'is-tijdsspecialisatie-van.classificatie', - ].join(','), - filter: { - 'is-tijdsspecialisatie-van': { - bestuurseenheid: { - id: this.currentSession.group.id, - }, - classificatie: { - ':uri:': - 'http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e000005', - }, - }, - }, - }) - )[0]; - const inaugurationmeeting = this.store.createRecord( - 'installatievergadering', - { - geplandeStart: now, - gestartOpTijdstip: now, - bestuursorgaan, - }, - ); - await inaugurationmeeting.save(); - const promises = []; - let previousAgendapoint; - for (let i = 0; i < 9; i++) { - const agendapoint = this.store.createRecord('agendapunt', { - position: i, - geplandOpenbaar: true, - titel: `Naam Agendapunt ${i}`, - zitting: inaugurationmeeting, - vorigeAgendapunt: previousAgendapoint, - }); - const treatment = this.store.createRecord('behandeling-van-agendapunt', { - openbaar: true, - onderwerp: agendapoint, - }); - promises.push(agendapoint.save(), treatment.saveAndPersistDocument()); - previousAgendapoint = agendapoint; - } - await Promise.all(promises); - this.router.replaceWith('meetings.edit', inaugurationmeeting.id); - } } diff --git a/app/controllers/inbox/meetings/new.js b/app/controllers/inbox/meetings/new.js index 083c03790..a2db5d9de 100644 --- a/app/controllers/inbox/meetings/new.js +++ b/app/controllers/inbox/meetings/new.js @@ -2,11 +2,15 @@ import Controller from '@ember/controller'; import { action } from '@ember/object'; import { dropTask } from 'ember-concurrency'; import { service } from '@ember/service'; +import InstallatieVergaderingModel from '../../../models/installatievergadering'; export default class InboxMeetingsNewController extends Controller { @service router; + @service store; @service intl; + queryParams = ['type']; + get meeting() { return this.model; } @@ -19,6 +23,18 @@ export default class InboxMeetingsNewController extends Controller { this.meeting.opLocatie = event.target.value; } + get isInaugurationMeeting() { + return this.meeting instanceof InstallatieVergaderingModel; + } + + get title() { + if (this.isInaugurationMeeting) { + return this.intl.t('inbox.meetings.new.inauguration-meeting.title'); + } else { + return this.intl.t('inbox.meetings.new.common-meeting.title'); + } + } + saveMeetingTask = dropTask(async (event) => { event.preventDefault(); @@ -31,14 +47,37 @@ export default class InboxMeetingsNewController extends Controller { ), ); } - if (this.meeting.isValid) { this.meeting.gestartOpTijdstip = this.meeting.geplandeStart; await this.meeting.save(); + if (this.isInaugurationMeeting) { + await this.setUpInaugurationMeeting(); + } this.router.replaceWith('meetings.edit', this.meeting.id); } }); + async setUpInaugurationMeeting() { + const promises = []; + let previousAgendapoint; + for (let i = 0; i < 9; i++) { + const agendapoint = this.store.createRecord('agendapunt', { + position: i, + geplandOpenbaar: true, + titel: `Naam Agendapunt ${i}`, + zitting: this.meeting, + vorigeAgendapunt: previousAgendapoint, + }); + const treatment = this.store.createRecord('behandeling-van-agendapunt', { + openbaar: true, + onderwerp: agendapoint, + }); + promises.push(agendapoint.save(), treatment.saveAndPersistDocument()); + previousAgendapoint = agendapoint; + } + await Promise.all(promises); + } + @action updateAdministrativeBody(administrativeBody) { this.meeting.bestuursorgaan = administrativeBody; diff --git a/app/routes/inbox/meetings/new.js b/app/routes/inbox/meetings/new.js index 4e675cf83..831c76aee 100644 --- a/app/routes/inbox/meetings/new.js +++ b/app/routes/inbox/meetings/new.js @@ -1,22 +1,71 @@ import Route from '@ember/routing/route'; import { service } from '@ember/service'; +import { format } from 'date-fns/fp'; export default class InboxMeetingsNewRoute extends Route { @service currentSession; @service router; @service store; + queryParams = { + type: { + refreshModel: true, + }, + }; + beforeModel() { if (!this.currentSession.canWrite) { this.router.replaceWith('inbox.meetings'); } } - model() { + model(params) { + const type = params.type; + switch (type) { + case 'common': + return this.createCommonMeeting(); + case 'inauguration-meeting': + return this.createInaugurationMeeting(); + } + } + + async createCommonMeeting() { let now = new Date(); return this.store.createRecord('zitting', { geplandeStart: now, gestartOpTijdstip: now, }); } + + async createInaugurationMeeting() { + let now = new Date(); + const bestuursorgaan = ( + await this.store.query('bestuursorgaan', { + include: [ + 'is-tijdsspecialisatie-van.bestuurseenheid', + 'is-tijdsspecialisatie-van.classificatie', + ].join(','), + filter: { + ':or:': { + ':gte:binding-einde': format('yyyy-mm-dd')(now), + ':has-no:binding-einde': true, + }, + 'is-tijdsspecialisatie-van': { + bestuurseenheid: { + id: this.currentSession.group.id, + }, + classificatie: { + ':uri:': + 'http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e000005', + }, + }, + }, + }) + )[0]; + return this.store.createRecord('installatievergadering', { + geplandeStart: now, + gestartOpTijdstip: now, + bestuursorgaan, + }); + } } diff --git a/app/templates/inbox/meetings.hbs b/app/templates/inbox/meetings.hbs index e91fa7bb8..105a24400 100644 --- a/app/templates/inbox/meetings.hbs +++ b/app/templates/inbox/meetings.hbs @@ -25,16 +25,20 @@ @icon='chevron-down' role='menu' > - + {{t 'inbox.meetings.new.common-meeting.title'}} - {{t 'inbox.meetings.new.inauguration-meeting.title'}} - + {{/unless}} diff --git a/app/templates/inbox/meetings/new.hbs b/app/templates/inbox/meetings/new.hbs index 1a8b62856..50b9e7982 100644 --- a/app/templates/inbox/meetings/new.hbs +++ b/app/templates/inbox/meetings/new.hbs @@ -1,7 +1,7 @@ -{{page-title (t 'inbox.meetings.new.common-meeting.title')}} +{{page-title this.title}}
- {{#let (unique-id) this.meeting.errors.bestuursorgaan as |id errors|}} - + {{#if this.isInaugurationMeeting}} +

{{t 'inbox.meetings.new.common-meeting.administrative-body'}} - - - - {{#each errors as |error|}} - - {{error.message}} - - {{/each}} - {{/let}} +

+

+ {{#let this.meeting.bestuursorgaan as |bestuursorgaan|}} + {{bestuursorgaan.isTijdsspecialisatieVan.naam}} + ({{t 'administrative-body-select.period'}}: + {{plain-date bestuursorgaan.bindingStart}} + - + {{#if bestuursorgaan.bindingEinde}} + {{plain-date bestuursorgaan.bindingEinde}} + {{else}} + {{t 'administrative-body-select.not-applicable'}} + {{/if}}) + {{/let}} +

+ {{else}} + {{#let (unique-id) this.meeting.errors.bestuursorgaan as |id errors|}} + + {{t 'inbox.meetings.new.common-meeting.administrative-body'}} + + + + {{#each errors as |error|}} + + {{error.message}} + + {{/each}} + {{/let}} + {{/if}} +
{{#let (unique-id) as |id|}} diff --git a/package-lock.json b/package-lock.json index ec944238e..99fbb102a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,7 @@ "buffer": "^6.0.3", "changesets-release-it-plugin": "^0.1.2", "concurrently": "^8.0.1", - "date-fns": "^2.28.0", + "date-fns": "^2.30.0", "ember-a11y-refocus": "^3.0.0", "ember-auto-import": "^2.6.3", "ember-browser-update": "^0.1.0", @@ -31203,29 +31203,24 @@ }, "node_modules/npm/node_modules/@colors/colors": { "version": "1.5.0", - "dev": true, "inBundle": true, "license": "MIT", - "optional": true, "engines": { "node": ">=0.1.90" } }, "node_modules/npm/node_modules/@gar/promisify": { "version": "1.1.3", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/@isaacs/string-locale-compare": { "version": "1.1.0", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/@npmcli/arborist": { "version": "5.6.3", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31276,7 +31271,6 @@ }, "node_modules/npm/node_modules/@npmcli/ci-detect": { "version": "2.0.0", - "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -31285,7 +31279,6 @@ }, "node_modules/npm/node_modules/@npmcli/config": { "version": "4.2.2", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31304,7 +31297,6 @@ }, "node_modules/npm/node_modules/@npmcli/disparity-colors": { "version": "2.0.0", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31316,7 +31308,6 @@ }, "node_modules/npm/node_modules/@npmcli/fs": { "version": "2.1.2", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31329,7 +31320,6 @@ }, "node_modules/npm/node_modules/@npmcli/git": { "version": "3.0.2", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31349,7 +31339,6 @@ }, "node_modules/npm/node_modules/@npmcli/installed-package-contents": { "version": "1.0.7", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31365,7 +31354,6 @@ }, "node_modules/npm/node_modules/@npmcli/installed-package-contents/node_modules/npm-bundled": { "version": "1.1.2", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31374,7 +31362,6 @@ }, "node_modules/npm/node_modules/@npmcli/map-workspaces": { "version": "2.0.4", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31389,7 +31376,6 @@ }, "node_modules/npm/node_modules/@npmcli/metavuln-calculator": { "version": "3.1.1", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31404,7 +31390,6 @@ }, "node_modules/npm/node_modules/@npmcli/move-file": { "version": "2.0.1", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -31417,13 +31402,11 @@ }, "node_modules/npm/node_modules/@npmcli/name-from-folder": { "version": "1.0.1", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/@npmcli/node-gyp": { "version": "2.0.0", - "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -31432,7 +31415,6 @@ }, "node_modules/npm/node_modules/@npmcli/package-json": { "version": "2.0.0", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31444,7 +31426,6 @@ }, "node_modules/npm/node_modules/@npmcli/promise-spawn": { "version": "3.0.0", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31456,7 +31437,6 @@ }, "node_modules/npm/node_modules/@npmcli/query": { "version": "1.2.0", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31470,7 +31450,6 @@ }, "node_modules/npm/node_modules/@npmcli/run-script": { "version": "4.2.1", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31486,7 +31465,6 @@ }, "node_modules/npm/node_modules/@tootallnate/once": { "version": "2.0.0", - "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -31495,13 +31473,11 @@ }, "node_modules/npm/node_modules/abbrev": { "version": "1.1.1", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/agent-base": { "version": "6.0.2", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -31513,7 +31489,6 @@ }, "node_modules/npm/node_modules/agentkeepalive": { "version": "4.2.1", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -31527,7 +31502,6 @@ }, "node_modules/npm/node_modules/aggregate-error": { "version": "3.1.0", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -31540,7 +31514,6 @@ }, "node_modules/npm/node_modules/ansi-regex": { "version": "5.0.1", - "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -31549,7 +31522,6 @@ }, "node_modules/npm/node_modules/ansi-styles": { "version": "4.3.0", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -31564,19 +31536,16 @@ }, "node_modules/npm/node_modules/aproba": { "version": "2.0.0", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/archy": { "version": "1.0.0", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/are-we-there-yet": { "version": "3.0.1", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31589,19 +31558,16 @@ }, "node_modules/npm/node_modules/asap": { "version": "2.0.6", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/balanced-match": { "version": "1.0.2", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/bin-links": { "version": "3.0.3", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31618,7 +31584,6 @@ }, "node_modules/npm/node_modules/bin-links/node_modules/npm-normalize-package-bin": { "version": "2.0.0", - "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -31627,7 +31592,6 @@ }, "node_modules/npm/node_modules/binary-extensions": { "version": "2.2.0", - "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -31636,7 +31600,6 @@ }, "node_modules/npm/node_modules/brace-expansion": { "version": "2.0.1", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -31645,7 +31608,6 @@ }, "node_modules/npm/node_modules/builtins": { "version": "5.0.1", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -31654,7 +31616,6 @@ }, "node_modules/npm/node_modules/cacache": { "version": "16.1.3", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31683,7 +31644,6 @@ }, "node_modules/npm/node_modules/chalk": { "version": "4.1.2", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -31699,7 +31659,6 @@ }, "node_modules/npm/node_modules/chownr": { "version": "2.0.0", - "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -31708,7 +31667,6 @@ }, "node_modules/npm/node_modules/cidr-regex": { "version": "3.1.1", - "dev": true, "inBundle": true, "license": "BSD-2-Clause", "dependencies": { @@ -31720,7 +31678,6 @@ }, "node_modules/npm/node_modules/clean-stack": { "version": "2.2.0", - "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -31729,7 +31686,6 @@ }, "node_modules/npm/node_modules/cli-columns": { "version": "4.0.0", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -31742,7 +31698,6 @@ }, "node_modules/npm/node_modules/cli-table3": { "version": "0.6.2", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -31757,7 +31712,6 @@ }, "node_modules/npm/node_modules/clone": { "version": "1.0.4", - "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -31766,7 +31720,6 @@ }, "node_modules/npm/node_modules/cmd-shim": { "version": "5.0.0", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31778,7 +31731,6 @@ }, "node_modules/npm/node_modules/color-convert": { "version": "2.0.1", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -31790,13 +31742,11 @@ }, "node_modules/npm/node_modules/color-name": { "version": "1.1.4", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/color-support": { "version": "1.1.3", - "dev": true, "inBundle": true, "license": "ISC", "bin": { @@ -31805,7 +31755,6 @@ }, "node_modules/npm/node_modules/columnify": { "version": "1.6.0", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -31818,25 +31767,21 @@ }, "node_modules/npm/node_modules/common-ancestor-path": { "version": "1.0.1", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/concat-map": { "version": "0.0.1", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/console-control-strings": { "version": "1.1.0", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/cssesc": { "version": "3.0.0", - "dev": true, "inBundle": true, "license": "MIT", "bin": { @@ -31848,7 +31793,6 @@ }, "node_modules/npm/node_modules/debug": { "version": "4.3.4", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -31865,13 +31809,11 @@ }, "node_modules/npm/node_modules/debug/node_modules/ms": { "version": "2.1.2", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/debuglog": { "version": "1.0.1", - "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -31880,7 +31822,6 @@ }, "node_modules/npm/node_modules/defaults": { "version": "1.0.3", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -31889,13 +31830,11 @@ }, "node_modules/npm/node_modules/delegates": { "version": "1.0.0", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/depd": { "version": "1.1.2", - "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -31904,7 +31843,6 @@ }, "node_modules/npm/node_modules/dezalgo": { "version": "1.0.4", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31914,7 +31852,6 @@ }, "node_modules/npm/node_modules/diff": { "version": "5.1.0", - "dev": true, "inBundle": true, "license": "BSD-3-Clause", "engines": { @@ -31923,23 +31860,19 @@ }, "node_modules/npm/node_modules/emoji-regex": { "version": "8.0.0", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/encoding": { "version": "0.1.13", - "dev": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "iconv-lite": "^0.6.2" } }, "node_modules/npm/node_modules/env-paths": { "version": "2.2.1", - "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -31948,19 +31881,16 @@ }, "node_modules/npm/node_modules/err-code": { "version": "2.0.3", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/fastest-levenshtein": { "version": "1.0.12", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/fs-minipass": { "version": "2.1.0", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -31972,19 +31902,16 @@ }, "node_modules/npm/node_modules/fs.realpath": { "version": "1.0.0", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/function-bind": { "version": "1.1.1", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/gauge": { "version": "4.0.4", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32003,7 +31930,6 @@ }, "node_modules/npm/node_modules/glob": { "version": "8.0.3", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32022,13 +31948,11 @@ }, "node_modules/npm/node_modules/graceful-fs": { "version": "4.2.10", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/has": { "version": "1.0.3", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -32040,7 +31964,6 @@ }, "node_modules/npm/node_modules/has-flag": { "version": "4.0.0", - "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -32049,13 +31972,11 @@ }, "node_modules/npm/node_modules/has-unicode": { "version": "2.0.1", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/hosted-git-info": { "version": "5.2.1", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32067,13 +31988,11 @@ }, "node_modules/npm/node_modules/http-cache-semantics": { "version": "4.1.1", - "dev": true, "inBundle": true, "license": "BSD-2-Clause" }, "node_modules/npm/node_modules/http-proxy-agent": { "version": "5.0.0", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -32087,7 +32006,6 @@ }, "node_modules/npm/node_modules/https-proxy-agent": { "version": "5.0.1", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -32100,7 +32018,6 @@ }, "node_modules/npm/node_modules/humanize-ms": { "version": "1.2.1", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -32109,10 +32026,8 @@ }, "node_modules/npm/node_modules/iconv-lite": { "version": "0.6.3", - "dev": true, "inBundle": true, "license": "MIT", - "optional": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" }, @@ -32122,7 +32037,6 @@ }, "node_modules/npm/node_modules/ignore-walk": { "version": "5.0.1", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32134,7 +32048,6 @@ }, "node_modules/npm/node_modules/imurmurhash": { "version": "0.1.4", - "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -32143,7 +32056,6 @@ }, "node_modules/npm/node_modules/indent-string": { "version": "4.0.0", - "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -32152,13 +32064,11 @@ }, "node_modules/npm/node_modules/infer-owner": { "version": "1.0.4", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/inflight": { "version": "1.0.6", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32168,13 +32078,11 @@ }, "node_modules/npm/node_modules/inherits": { "version": "2.0.4", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/ini": { "version": "3.0.1", - "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -32183,7 +32091,6 @@ }, "node_modules/npm/node_modules/init-package-json": { "version": "3.0.2", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32201,13 +32108,11 @@ }, "node_modules/npm/node_modules/ip": { "version": "2.0.0", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/ip-regex": { "version": "4.3.0", - "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -32216,7 +32121,6 @@ }, "node_modules/npm/node_modules/is-cidr": { "version": "4.0.2", - "dev": true, "inBundle": true, "license": "BSD-2-Clause", "dependencies": { @@ -32228,7 +32132,6 @@ }, "node_modules/npm/node_modules/is-core-module": { "version": "2.10.0", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -32240,7 +32143,6 @@ }, "node_modules/npm/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -32249,25 +32151,21 @@ }, "node_modules/npm/node_modules/is-lambda": { "version": "1.0.1", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/isexe": { "version": "2.0.0", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/json-parse-even-better-errors": { "version": "2.3.1", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/json-stringify-nice": { "version": "1.1.4", - "dev": true, "inBundle": true, "license": "ISC", "funding": { @@ -32276,7 +32174,6 @@ }, "node_modules/npm/node_modules/jsonparse": { "version": "1.3.1", - "dev": true, "engines": [ "node >= 0.2.0" ], @@ -32285,19 +32182,16 @@ }, "node_modules/npm/node_modules/just-diff": { "version": "5.1.1", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/just-diff-apply": { "version": "5.4.1", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/libnpmaccess": { "version": "6.0.4", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32312,7 +32206,6 @@ }, "node_modules/npm/node_modules/libnpmdiff": { "version": "4.0.5", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32331,7 +32224,6 @@ }, "node_modules/npm/node_modules/libnpmexec": { "version": "4.0.14", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32356,7 +32248,6 @@ }, "node_modules/npm/node_modules/libnpmfund": { "version": "3.0.5", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32368,7 +32259,6 @@ }, "node_modules/npm/node_modules/libnpmhook": { "version": "8.0.4", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32381,7 +32271,6 @@ }, "node_modules/npm/node_modules/libnpmorg": { "version": "4.0.4", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32394,7 +32283,6 @@ }, "node_modules/npm/node_modules/libnpmpack": { "version": "4.1.3", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32408,7 +32296,6 @@ }, "node_modules/npm/node_modules/libnpmpublish": { "version": "6.0.5", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32424,7 +32311,6 @@ }, "node_modules/npm/node_modules/libnpmsearch": { "version": "5.0.4", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32436,7 +32322,6 @@ }, "node_modules/npm/node_modules/libnpmteam": { "version": "4.0.4", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32449,7 +32334,6 @@ }, "node_modules/npm/node_modules/libnpmversion": { "version": "3.0.7", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32465,7 +32349,6 @@ }, "node_modules/npm/node_modules/lru-cache": { "version": "7.13.2", - "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -32474,7 +32357,6 @@ }, "node_modules/npm/node_modules/make-fetch-happen": { "version": "10.2.1", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32501,7 +32383,6 @@ }, "node_modules/npm/node_modules/minimatch": { "version": "5.1.0", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32513,7 +32394,6 @@ }, "node_modules/npm/node_modules/minipass": { "version": "3.3.4", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32525,7 +32405,6 @@ }, "node_modules/npm/node_modules/minipass-collect": { "version": "1.0.2", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32537,7 +32416,6 @@ }, "node_modules/npm/node_modules/minipass-fetch": { "version": "2.1.1", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -32554,7 +32432,6 @@ }, "node_modules/npm/node_modules/minipass-flush": { "version": "1.0.5", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32566,7 +32443,6 @@ }, "node_modules/npm/node_modules/minipass-json-stream": { "version": "1.0.1", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -32576,7 +32452,6 @@ }, "node_modules/npm/node_modules/minipass-pipeline": { "version": "1.2.4", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32588,7 +32463,6 @@ }, "node_modules/npm/node_modules/minipass-sized": { "version": "1.0.3", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32600,7 +32474,6 @@ }, "node_modules/npm/node_modules/minizlib": { "version": "2.1.2", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -32613,7 +32486,6 @@ }, "node_modules/npm/node_modules/mkdirp": { "version": "1.0.4", - "dev": true, "inBundle": true, "license": "MIT", "bin": { @@ -32625,7 +32497,6 @@ }, "node_modules/npm/node_modules/mkdirp-infer-owner": { "version": "2.0.0", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32639,19 +32510,16 @@ }, "node_modules/npm/node_modules/ms": { "version": "2.1.3", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/mute-stream": { "version": "0.0.8", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/negotiator": { "version": "0.6.3", - "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -32660,7 +32528,6 @@ }, "node_modules/npm/node_modules/node-gyp": { "version": "9.1.0", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -32684,7 +32551,6 @@ }, "node_modules/npm/node_modules/node-gyp/node_modules/brace-expansion": { "version": "1.1.11", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -32694,7 +32560,6 @@ }, "node_modules/npm/node_modules/node-gyp/node_modules/glob": { "version": "7.2.3", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32714,7 +32579,6 @@ }, "node_modules/npm/node_modules/node-gyp/node_modules/minimatch": { "version": "3.1.2", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32726,7 +32590,6 @@ }, "node_modules/npm/node_modules/node-gyp/node_modules/nopt": { "version": "5.0.0", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32741,7 +32604,6 @@ }, "node_modules/npm/node_modules/nopt": { "version": "6.0.0", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32756,7 +32618,6 @@ }, "node_modules/npm/node_modules/normalize-package-data": { "version": "4.0.1", - "dev": true, "inBundle": true, "license": "BSD-2-Clause", "dependencies": { @@ -32771,7 +32632,6 @@ }, "node_modules/npm/node_modules/npm-audit-report": { "version": "3.0.0", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32783,7 +32643,6 @@ }, "node_modules/npm/node_modules/npm-bundled": { "version": "2.0.1", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32795,7 +32654,6 @@ }, "node_modules/npm/node_modules/npm-bundled/node_modules/npm-normalize-package-bin": { "version": "2.0.0", - "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -32804,7 +32662,6 @@ }, "node_modules/npm/node_modules/npm-install-checks": { "version": "5.0.0", - "dev": true, "inBundle": true, "license": "BSD-2-Clause", "dependencies": { @@ -32816,13 +32673,11 @@ }, "node_modules/npm/node_modules/npm-normalize-package-bin": { "version": "1.0.1", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/npm-package-arg": { "version": "9.1.0", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32837,7 +32692,6 @@ }, "node_modules/npm/node_modules/npm-packlist": { "version": "5.1.3", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32855,7 +32709,6 @@ }, "node_modules/npm/node_modules/npm-packlist/node_modules/npm-normalize-package-bin": { "version": "2.0.0", - "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -32864,7 +32717,6 @@ }, "node_modules/npm/node_modules/npm-pick-manifest": { "version": "7.0.2", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32879,7 +32731,6 @@ }, "node_modules/npm/node_modules/npm-pick-manifest/node_modules/npm-normalize-package-bin": { "version": "2.0.0", - "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -32888,7 +32739,6 @@ }, "node_modules/npm/node_modules/npm-profile": { "version": "6.2.1", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32901,7 +32751,6 @@ }, "node_modules/npm/node_modules/npm-registry-fetch": { "version": "13.3.1", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32919,13 +32768,11 @@ }, "node_modules/npm/node_modules/npm-user-validate": { "version": "1.0.1", - "dev": true, "inBundle": true, "license": "BSD-2-Clause" }, "node_modules/npm/node_modules/npmlog": { "version": "6.0.2", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32940,7 +32787,6 @@ }, "node_modules/npm/node_modules/once": { "version": "1.4.0", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -32949,7 +32795,6 @@ }, "node_modules/npm/node_modules/opener": { "version": "1.5.2", - "dev": true, "inBundle": true, "license": "(WTFPL OR MIT)", "bin": { @@ -32958,7 +32803,6 @@ }, "node_modules/npm/node_modules/p-map": { "version": "4.0.0", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -32973,7 +32817,6 @@ }, "node_modules/npm/node_modules/pacote": { "version": "13.6.2", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33008,7 +32851,6 @@ }, "node_modules/npm/node_modules/parse-conflict-json": { "version": "2.0.2", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33022,7 +32864,6 @@ }, "node_modules/npm/node_modules/path-is-absolute": { "version": "1.0.1", - "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -33031,7 +32872,6 @@ }, "node_modules/npm/node_modules/postcss-selector-parser": { "version": "6.0.10", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -33044,7 +32884,6 @@ }, "node_modules/npm/node_modules/proc-log": { "version": "2.0.1", - "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -33053,7 +32892,6 @@ }, "node_modules/npm/node_modules/promise-all-reject-late": { "version": "1.0.1", - "dev": true, "inBundle": true, "license": "ISC", "funding": { @@ -33062,7 +32900,6 @@ }, "node_modules/npm/node_modules/promise-call-limit": { "version": "1.0.1", - "dev": true, "inBundle": true, "license": "ISC", "funding": { @@ -33071,13 +32908,11 @@ }, "node_modules/npm/node_modules/promise-inflight": { "version": "1.0.1", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/promise-retry": { "version": "2.0.1", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -33090,7 +32925,6 @@ }, "node_modules/npm/node_modules/promzard": { "version": "0.3.0", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33099,7 +32933,6 @@ }, "node_modules/npm/node_modules/qrcode-terminal": { "version": "0.12.0", - "dev": true, "inBundle": true, "bin": { "qrcode-terminal": "bin/qrcode-terminal.js" @@ -33107,7 +32940,6 @@ }, "node_modules/npm/node_modules/read": { "version": "1.0.7", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33119,7 +32951,6 @@ }, "node_modules/npm/node_modules/read-cmd-shim": { "version": "3.0.0", - "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -33128,7 +32959,6 @@ }, "node_modules/npm/node_modules/read-package-json": { "version": "5.0.2", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33143,7 +32973,6 @@ }, "node_modules/npm/node_modules/read-package-json-fast": { "version": "2.0.3", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33156,7 +32985,6 @@ }, "node_modules/npm/node_modules/read-package-json/node_modules/npm-normalize-package-bin": { "version": "2.0.0", - "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -33165,7 +32993,6 @@ }, "node_modules/npm/node_modules/readable-stream": { "version": "3.6.0", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -33179,7 +33006,6 @@ }, "node_modules/npm/node_modules/readdir-scoped-modules": { "version": "1.1.0", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33191,7 +33017,6 @@ }, "node_modules/npm/node_modules/retry": { "version": "0.12.0", - "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -33200,7 +33025,6 @@ }, "node_modules/npm/node_modules/rimraf": { "version": "3.0.2", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33215,7 +33039,6 @@ }, "node_modules/npm/node_modules/rimraf/node_modules/brace-expansion": { "version": "1.1.11", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -33225,7 +33048,6 @@ }, "node_modules/npm/node_modules/rimraf/node_modules/glob": { "version": "7.2.3", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33245,7 +33067,6 @@ }, "node_modules/npm/node_modules/rimraf/node_modules/minimatch": { "version": "3.1.2", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33257,7 +33078,6 @@ }, "node_modules/npm/node_modules/safe-buffer": { "version": "5.2.1", - "dev": true, "funding": [ { "type": "github", @@ -33277,14 +33097,11 @@ }, "node_modules/npm/node_modules/safer-buffer": { "version": "2.1.2", - "dev": true, "inBundle": true, - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/npm/node_modules/semver": { "version": "7.3.7", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33299,7 +33116,6 @@ }, "node_modules/npm/node_modules/semver/node_modules/lru-cache": { "version": "6.0.0", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33311,19 +33127,16 @@ }, "node_modules/npm/node_modules/set-blocking": { "version": "2.0.0", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/signal-exit": { "version": "3.0.7", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/smart-buffer": { "version": "4.2.0", - "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -33333,7 +33146,6 @@ }, "node_modules/npm/node_modules/socks": { "version": "2.7.0", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -33347,7 +33159,6 @@ }, "node_modules/npm/node_modules/socks-proxy-agent": { "version": "7.0.0", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -33361,7 +33172,6 @@ }, "node_modules/npm/node_modules/spdx-correct": { "version": "3.1.1", - "dev": true, "inBundle": true, "license": "Apache-2.0", "dependencies": { @@ -33371,13 +33181,11 @@ }, "node_modules/npm/node_modules/spdx-exceptions": { "version": "2.3.0", - "dev": true, "inBundle": true, "license": "CC-BY-3.0" }, "node_modules/npm/node_modules/spdx-expression-parse": { "version": "3.0.1", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -33387,13 +33195,11 @@ }, "node_modules/npm/node_modules/spdx-license-ids": { "version": "3.0.11", - "dev": true, "inBundle": true, "license": "CC0-1.0" }, "node_modules/npm/node_modules/ssri": { "version": "9.0.1", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33405,7 +33211,6 @@ }, "node_modules/npm/node_modules/string_decoder": { "version": "1.3.0", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -33414,7 +33219,6 @@ }, "node_modules/npm/node_modules/string-width": { "version": "4.2.3", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -33428,7 +33232,6 @@ }, "node_modules/npm/node_modules/strip-ansi": { "version": "6.0.1", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -33440,7 +33243,6 @@ }, "node_modules/npm/node_modules/supports-color": { "version": "7.2.0", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -33452,7 +33254,6 @@ }, "node_modules/npm/node_modules/tar": { "version": "6.1.11", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33469,19 +33270,16 @@ }, "node_modules/npm/node_modules/text-table": { "version": "0.2.0", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/tiny-relative-date": { "version": "1.3.0", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/treeverse": { "version": "2.0.0", - "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -33490,7 +33288,6 @@ }, "node_modules/npm/node_modules/unique-filename": { "version": "2.0.1", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33502,7 +33299,6 @@ }, "node_modules/npm/node_modules/unique-slug": { "version": "3.0.0", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33514,13 +33310,11 @@ }, "node_modules/npm/node_modules/util-deprecate": { "version": "1.0.2", - "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/validate-npm-package-license": { "version": "3.0.4", - "dev": true, "inBundle": true, "license": "Apache-2.0", "dependencies": { @@ -33530,7 +33324,6 @@ }, "node_modules/npm/node_modules/validate-npm-package-name": { "version": "4.0.0", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33542,13 +33335,11 @@ }, "node_modules/npm/node_modules/walk-up-path": { "version": "1.0.0", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/wcwidth": { "version": "1.0.1", - "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -33557,7 +33348,6 @@ }, "node_modules/npm/node_modules/which": { "version": "2.0.2", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33572,7 +33362,6 @@ }, "node_modules/npm/node_modules/wide-align": { "version": "1.1.5", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33581,13 +33370,11 @@ }, "node_modules/npm/node_modules/wrappy": { "version": "1.0.2", - "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/write-file-atomic": { "version": "4.0.2", - "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -33600,7 +33387,6 @@ }, "node_modules/npm/node_modules/yallist": { "version": "4.0.0", - "dev": true, "inBundle": true, "license": "ISC" }, diff --git a/package.json b/package.json index 920b6cd1e..7e618c3a8 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "buffer": "^6.0.3", "changesets-release-it-plugin": "^0.1.2", "concurrently": "^8.0.1", - "date-fns": "^2.28.0", + "date-fns": "^2.30.0", "ember-a11y-refocus": "^3.0.0", "ember-auto-import": "^2.6.3", "ember-browser-update": "^0.1.0",