From f223b760fff0cfc769396891f5528fc97b55099d Mon Sep 17 00:00:00 2001
From: Baptiste Lemoine
Date: Tue, 3 Dec 2019 17:20:57 +0100
Subject: [PATCH 01/15] :zap: start backend calls
---
package.json | 2 +
src/app/app.module.ts | 2 +
src/app/config.service.ts | 37 -----
src/app/debugger/debugger.component.ts | 2 +-
src/app/pages/admin/admin.component.ts | 2 +-
src/app/pages/answers/answers.component.ts | 2 +-
src/app/pages/base-page/base.component.ts | 2 +-
.../create-or-retrieve.component.ts | 10 +-
src/app/pages/dates/dates.component.ts | 2 +-
.../end-confirmation.component.ts | 2 +-
src/app/pages/home/home.component.ts | 2 +-
src/app/pages/kind/kind.component.ts | 2 +-
src/app/pages/password/password.component.ts | 2 +-
src/app/pages/pictures/pictures.component.ts | 2 +-
src/app/pages/resume/resume.component.ts | 2 +-
.../pages/visibility/visibility.component.ts | 2 +-
.../voting-choice/voting-choice.component.ts | 2 +-
.../voting-graph/voting-graph.component.ts | 2 +-
.../voting-summary.component.ts | 2 +-
src/app/services/config.service.ts | 142 ++++++++++++++++++
src/app/services/poll-service.service.spec.ts | 4 +-
src/app/services/poll-service.service.ts | 32 ----
src/app/services/poll.service.ts | 24 +++
.../progression.service.spec.ts | 0
src/app/ui/navigation/navigation.component.ts | 2 +-
src/environments/environment.ts | 2 +-
yarn.lock | 10 ++
27 files changed, 205 insertions(+), 92 deletions(-)
delete mode 100644 src/app/config.service.ts
create mode 100644 src/app/services/config.service.ts
delete mode 100644 src/app/services/poll-service.service.ts
create mode 100644 src/app/services/poll.service.ts
rename src/app/{ => services}/progression.service.spec.ts (100%)
diff --git a/package.json b/package.json
index 5cb7f424..6301943b 100644
--- a/package.json
+++ b/package.json
@@ -24,7 +24,9 @@
"@ngx-translate/http-loader": "^4.0.0",
"chart.js": "^2.8.0",
"ngx-markdown": "^8.2.1",
+ "ngx-toaster": "^1.0.1",
"rxjs": "~6.4.0",
+ "rxjs-compat": "^6.5.3",
"tslib": "^1.10.0",
"zone.js": "~0.9.1"
},
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index d448b962..1c51d044 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -41,6 +41,7 @@ import {PollGraphicComponent} from './poll-graphic/poll-graphic.component';
import {AdminComponent} from './pages/admin/admin.component';
import {SelectorComponent} from './ui/selector/selector.component';
+import {BrowserAnimationsModule} from "@angular/platform-browser/animations";
export class MyMissingTranslationHandler implements MissingTranslationHandler {
handle(params: MissingTranslationHandlerParams) {
@@ -84,6 +85,7 @@ export function HttpLoaderFactory(http: HttpClient) {
imports: [
CommonModule,
BrowserModule,
+ BrowserAnimationsModule,
AppRoutingModule,
MarkdownModule.forRoot(),
TranslateModule.forRoot({
diff --git a/src/app/config.service.ts b/src/app/config.service.ts
deleted file mode 100644
index 39d1dcaf..00000000
--- a/src/app/config.service.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-import {Injectable} from '@angular/core';
-import {PollConfig} from './config/PollConfig';
-import {HttpClient} from "@angular/common/http";
-import {environment} from "../environments/environment";
-
-
-/**
- * le service transverse à chaque page qui permet de syncroniser la configuration de sondage souhaitée
- */
-@Injectable({
- providedIn: 'root'
-})
-export class ConfigService extends PollConfig {
- myEmail: string;
- myPolls: any;// list of retrieved polls from the backend api
-
-
- constructor(public http: HttpClient) {
- super();
- }
-
- set(key, val) {
- this[key] = val;
- }
-
- createPoll() {
- // todo
- console.log('sends the form');
- alert('envoi de formulaire pour création de sondage en XHR à faire');
- const payload = this;
- this.http.post(`${environment.baseApiHref}/poll`, payload)
- .subscribe(res => {
- console.log('res', res)
- },
- err => console.error('err', err))
- }
-}
diff --git a/src/app/debugger/debugger.component.ts b/src/app/debugger/debugger.component.ts
index 6b08ea6b..2dac8523 100644
--- a/src/app/debugger/debugger.component.ts
+++ b/src/app/debugger/debugger.component.ts
@@ -1,5 +1,5 @@
import {Component, OnInit} from '@angular/core';
-import {ConfigService} from '../config.service';
+import {ConfigService} from '../services/config.service';
@Component({
selector: 'framadate-debugger',
diff --git a/src/app/pages/admin/admin.component.ts b/src/app/pages/admin/admin.component.ts
index 13ec96e6..316fac84 100644
--- a/src/app/pages/admin/admin.component.ts
+++ b/src/app/pages/admin/admin.component.ts
@@ -1,6 +1,6 @@
import { Component, OnInit } from '@angular/core';
import {BaseComponent} from '../base-page/base.component';
-import {ConfigService} from '../../config.service';
+import {ConfigService} from '../../services/config.service';
@Component({
selector: 'framadate-admin',
templateUrl: './admin.component.html',
diff --git a/src/app/pages/answers/answers.component.ts b/src/app/pages/answers/answers.component.ts
index cf8b169a..1b5906fd 100644
--- a/src/app/pages/answers/answers.component.ts
+++ b/src/app/pages/answers/answers.component.ts
@@ -1,6 +1,6 @@
import {AfterViewInit, ChangeDetectorRef, Component, Inject, OnInit} from '@angular/core';
import {BaseComponent} from '../base-page/base.component';
-import {ConfigService} from '../../config.service';
+import {ConfigService} from '../../services/config.service';
import {DOCUMENT} from '@angular/common';
diff --git a/src/app/pages/base-page/base.component.ts b/src/app/pages/base-page/base.component.ts
index 660f90b9..4dd4c6a7 100644
--- a/src/app/pages/base-page/base.component.ts
+++ b/src/app/pages/base-page/base.component.ts
@@ -1,5 +1,5 @@
import {Component, OnInit} from '@angular/core';
-import {ConfigService} from '../../config.service';
+import {ConfigService} from '../../services/config.service';
@Component({
selector: 'framadate-base-page',
diff --git a/src/app/pages/create-or-retrieve/create-or-retrieve.component.ts b/src/app/pages/create-or-retrieve/create-or-retrieve.component.ts
index 12ee44f1..00536fbf 100644
--- a/src/app/pages/create-or-retrieve/create-or-retrieve.component.ts
+++ b/src/app/pages/create-or-retrieve/create-or-retrieve.component.ts
@@ -1,7 +1,7 @@
import {Component, OnInit} from '@angular/core';
import {BaseComponent} from "../base-page/base.component";
-import {ConfigService} from "../../config.service";
-import {PollServiceService} from "../../services/poll-service.service";
+import {ConfigService} from "../../services/config.service";
+import {PollService} from "../../services/poll.service";
@Component({
selector: 'framadate-create-or-retrieve',
@@ -10,15 +10,17 @@ import {PollServiceService} from "../../services/poll-service.service";
})
export class CreateOrRetrieveComponent extends BaseComponent implements OnInit {
- constructor(public config: ConfigService, public pollService: PollServiceService) {
+ constructor(public config: ConfigService,
+ public pollService: PollService) {
super(config);
}
ngOnInit() {
+ this.findMyPollsByEmail('tktest@tktest.com')
}
findMyPollsByEmail(email: string) {
- this.pollService.findPollsByEmail(email);
+ this.config.findPollsByEmail(email);
}
}
diff --git a/src/app/pages/dates/dates.component.ts b/src/app/pages/dates/dates.component.ts
index 7e0d8f6a..b75b7a35 100644
--- a/src/app/pages/dates/dates.component.ts
+++ b/src/app/pages/dates/dates.component.ts
@@ -1,5 +1,5 @@
import {ChangeDetectorRef, Component, Inject, OnInit} from '@angular/core';
-import {ConfigService} from '../../config.service';
+import {ConfigService} from '../../services/config.service';
import {BaseComponent} from '../base-page/base.component';
import {DOCUMENT} from '@angular/common';
diff --git a/src/app/pages/end-confirmation/end-confirmation.component.ts b/src/app/pages/end-confirmation/end-confirmation.component.ts
index 2d0752b5..3c16cbd7 100644
--- a/src/app/pages/end-confirmation/end-confirmation.component.ts
+++ b/src/app/pages/end-confirmation/end-confirmation.component.ts
@@ -1,6 +1,6 @@
import { Component, OnInit } from '@angular/core';
import {BaseComponent} from "../base-page/base.component";
-import {ConfigService} from "../../config.service";
+import {ConfigService} from "../../services/config.service";
@Component({
selector: 'framadate-end-confirmation',
diff --git a/src/app/pages/home/home.component.ts b/src/app/pages/home/home.component.ts
index 597b65bb..2397d5f5 100644
--- a/src/app/pages/home/home.component.ts
+++ b/src/app/pages/home/home.component.ts
@@ -1,5 +1,5 @@
import {Component, OnInit} from '@angular/core';
-import {ConfigService} from "../../config.service";
+import {ConfigService} from "../../services/config.service";
import {BaseComponent} from "../base-page/base.component";
@Component({
diff --git a/src/app/pages/kind/kind.component.ts b/src/app/pages/kind/kind.component.ts
index 2724c701..52a03bb5 100644
--- a/src/app/pages/kind/kind.component.ts
+++ b/src/app/pages/kind/kind.component.ts
@@ -1,6 +1,6 @@
import {Component, OnInit} from '@angular/core';
import {BaseComponent} from '../base-page/base.component';
-import {ConfigService} from '../../config.service';
+import {ConfigService} from '../../services/config.service';
@Component({
selector: 'framadate-page-kind',
diff --git a/src/app/pages/password/password.component.ts b/src/app/pages/password/password.component.ts
index 4bbb1ef1..f6947854 100644
--- a/src/app/pages/password/password.component.ts
+++ b/src/app/pages/password/password.component.ts
@@ -1,6 +1,6 @@
import { Component, OnInit } from '@angular/core';
import {BaseComponent} from "../base-page/base.component";
-import {ConfigService} from "../../config.service";
+import {ConfigService} from "../../services/config.service";
@Component({
selector: 'framadate-password',
diff --git a/src/app/pages/pictures/pictures.component.ts b/src/app/pages/pictures/pictures.component.ts
index 624e95a2..ee04cf1f 100644
--- a/src/app/pages/pictures/pictures.component.ts
+++ b/src/app/pages/pictures/pictures.component.ts
@@ -1,5 +1,5 @@
import {Component, OnInit} from '@angular/core';
-import {ConfigService} from '../../config.service';
+import {ConfigService} from '../../services/config.service';
import {BaseComponent} from '../base-page/base.component';
@Component({
diff --git a/src/app/pages/resume/resume.component.ts b/src/app/pages/resume/resume.component.ts
index 027fe685..aad88b0e 100644
--- a/src/app/pages/resume/resume.component.ts
+++ b/src/app/pages/resume/resume.component.ts
@@ -1,6 +1,6 @@
import {Component, OnInit} from '@angular/core';
import {BaseComponent} from '../base-page/base.component';
-import {ConfigService} from '../../config.service';
+import {ConfigService} from '../../services/config.service';
@Component({
selector: 'framadate-resume',
diff --git a/src/app/pages/visibility/visibility.component.ts b/src/app/pages/visibility/visibility.component.ts
index 6dd86867..cfa20022 100644
--- a/src/app/pages/visibility/visibility.component.ts
+++ b/src/app/pages/visibility/visibility.component.ts
@@ -1,6 +1,6 @@
import {Component, OnInit} from '@angular/core';
import {BaseComponent} from '../base-page/base.component';
-import {ConfigService} from '../../config.service';
+import {ConfigService} from '../../services/config.service';
@Component({
selector: 'framadate-visibility',
diff --git a/src/app/pages/voting-choice/voting-choice.component.ts b/src/app/pages/voting-choice/voting-choice.component.ts
index 898f8eac..a1bc67f3 100644
--- a/src/app/pages/voting-choice/voting-choice.component.ts
+++ b/src/app/pages/voting-choice/voting-choice.component.ts
@@ -1,6 +1,6 @@
import { Component, OnInit } from '@angular/core';
import {BaseComponent} from "../base-page/base.component";
-import {ConfigService} from "../../config.service";
+import {ConfigService} from "../../services/config.service";
@Component({
selector: 'framadate-voting-choice',
diff --git a/src/app/pages/voting-graph/voting-graph.component.ts b/src/app/pages/voting-graph/voting-graph.component.ts
index 725bd1f1..fb2ae6f1 100644
--- a/src/app/pages/voting-graph/voting-graph.component.ts
+++ b/src/app/pages/voting-graph/voting-graph.component.ts
@@ -1,6 +1,6 @@
import { Component, OnInit } from '@angular/core';
import {BaseComponent} from "../base-page/base.component";
-import {ConfigService} from "../../config.service";
+import {ConfigService} from "../../services/config.service";
@Component({
selector: 'framadate-voting-graph',
diff --git a/src/app/pages/voting-summary/voting-summary.component.ts b/src/app/pages/voting-summary/voting-summary.component.ts
index 7c10d7ad..09b4435f 100644
--- a/src/app/pages/voting-summary/voting-summary.component.ts
+++ b/src/app/pages/voting-summary/voting-summary.component.ts
@@ -1,6 +1,6 @@
import { Component, OnInit } from '@angular/core';
import {BaseComponent} from "../base-page/base.component";
-import {ConfigService} from "../../config.service";
+import {ConfigService} from "../../services/config.service";
@Component({
selector: 'framadate-voting-summary',
diff --git a/src/app/services/config.service.ts b/src/app/services/config.service.ts
new file mode 100644
index 00000000..be6d0fcc
--- /dev/null
+++ b/src/app/services/config.service.ts
@@ -0,0 +1,142 @@
+import {Injectable} from '@angular/core';
+import {PollConfig} from '../config/PollConfig';
+import {HttpClient, HttpHeaders} from "@angular/common/http";
+import {environment} from "../../environments/environment";
+
+
+/**
+ * le service transverse à chaque page qui permet de syncroniser la configuration de sondage souhaitée
+ */
+@Injectable({
+ providedIn: 'root'
+})
+export class ConfigService extends PollConfig {
+ myEmail: string;
+ baseHref: any = environment.baseApiHref;
+ myPolls: any;// list of retrieved polls from the backend api
+
+
+ constructor(public http: HttpClient) {
+ super();
+ }
+
+ set(key, val) {
+ this[key] = val;
+ }
+
+ createPoll() {
+ console.log('sends the form');
+ // alert('envoi de formulaire pour création de sondage en XHR à faire');
+ this.http.get(`${this.baseHref}/`)
+ .subscribe((res) => {
+ console.log('res', res);
+ this.createPollFromConfig(this.getPollConfig())
+ },
+ this.handleError
+ )
+ ;
+
+ }
+
+ createPollFromConfig(config: any) {
+ this.http.post(`${this.baseHref}/poll`, config)
+ .subscribe((res: any) => {
+ // redirect to the page to administrate the new poll
+ alert("succès!");
+ this.myPolls = res;
+ }, this.handleError
+ );
+ }
+
+ findPollsByEmail(email: string) {
+
+
+ this.findLocalStorageData();
+ // If no key is found in the localstorage, ask the backend to send an email to the user
+
+ this.myEmail = email;
+ const headers = new HttpHeaders('Content-Type:application/json');
+ const headerDict = {
+ 'Content-Type': 'application/json',
+ 'Accept': 'application/json',
+ };
+
+ const requestOptions = {
+ headers: new HttpHeaders(headerDict),
+ };
+
+ this.http.get(`${this.baseHref}/my-polls`)
+ .subscribe(res => {
+ // message: 'Trouvé! Allez voir votre boite email',
+ this.myPolls = res;
+ }, this.handleError
+ )
+ }
+
+ getPollConfig() {
+ const jsonConfig = {
+ method: 'POST',
+ data: {
+
+ owner: {
+ email: this.myEmail,
+ pseudo: this.myName,
+ },
+ title: this.title,
+ description: this.description,
+ type: this.pollType,
+ visibility: this.visibility,
+ voteChoices: this.voteChoices,
+ allowSeveralHours: this.allowSeveralHours,
+ expirationDate: this.expirationDate,
+ passwordAccess: this.passwordAccess,
+ password: this.password,
+ customUrl: this.customUrl,
+ canModifyAnswers: this.canModifyAnswers,
+ whoModifiesAnswers: this.whoModifiesAnswers,
+ dateList: this.dateList,
+ timeList: this.timeList,
+ answers: this.answers,
+ }
+ };
+ console.log('jsonConfig', jsonConfig);
+ return jsonConfig
+ }
+
+ handleError(err: any) {
+ console.error('err', err)
+ }
+
+
+ findLocalStorageData() {
+ // TODO check if the person has a key to retrieve her polls
+
+ }
+
+
+ /**
+ *
+ * @param url
+ */
+ getPollByURL(url: string) {
+ this.http.get(`${this.baseHref}/poll/${url}`).subscribe(
+ (res: any) => {
+ this.myPolls = res.data;
+ }, this.handleError
+ );
+ }
+
+ /**
+ *
+ * @param id
+ */
+ getPollById(id: string) {
+ // http://127.0.0.1:8000/api/v1/poll/1
+ this.http.get(`${this.baseHref}/poll/${id}`).subscribe(
+ (res: any) => {
+ this.myPolls = res.data;
+ }, this.handleError
+ );
+ }
+
+}
diff --git a/src/app/services/poll-service.service.spec.ts b/src/app/services/poll-service.service.spec.ts
index c9b6bcec..c47006ba 100644
--- a/src/app/services/poll-service.service.spec.ts
+++ b/src/app/services/poll-service.service.spec.ts
@@ -1,12 +1,12 @@
import { TestBed } from '@angular/core/testing';
-import { PollServiceService } from './poll-service.service';
+import { PollService } from './poll.service';
describe('PollServiceService', () => {
beforeEach(() => TestBed.configureTestingModule({}));
it('should be created', () => {
- const service: PollServiceService = TestBed.get(PollServiceService);
+ const service: PollService = TestBed.get(PollService);
expect(service).toBeTruthy();
});
});
diff --git a/src/app/services/poll-service.service.ts b/src/app/services/poll-service.service.ts
deleted file mode 100644
index 0bf09ae0..00000000
--- a/src/app/services/poll-service.service.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-import {Injectable} from '@angular/core';
-import {ConfigService} from "../config.service";
-import {HttpClient} from "@angular/common/http";
-import {environment} from "../../environments/environment";
-
-class JsonResponse {
- message: string;
- data: string;
-}
-
-@Injectable({
- providedIn: 'root'
-})
-export class PollServiceService {
-
- private baseHref: string = environment.baseApiHref;
-
- constructor(private configService: ConfigService,
- private http: HttpClient) {
- }
-
- findPollsByEmail(email: string) {
- // TODO check if the person has a key to retrieve her polls
- // If no key is found in the localstorage, ask the backend to send an email to the user
-
- this.configService.myEmail = email;
- this.http.get(this.baseHref + '/').subscribe(res => {
- this.configService.myPolls = res;
- }, err => console.error('err', err)
- )
- }
-}
diff --git a/src/app/services/poll.service.ts b/src/app/services/poll.service.ts
new file mode 100644
index 00000000..b30b45a6
--- /dev/null
+++ b/src/app/services/poll.service.ts
@@ -0,0 +1,24 @@
+import {Injectable} from '@angular/core';
+import {ConfigService} from "./config.service";
+import {HttpClient} from "@angular/common/http";
+import {environment} from "../../environments/environment";
+
+class JsonResponse {
+ message: string;
+ data: string;
+}
+
+@Injectable({
+ providedIn: 'root'
+})
+export class PollService {
+
+ private baseHref: string = environment.baseApiHref;
+
+ constructor(private configService: ConfigService,
+ private document: Document,
+ private http: HttpClient) {
+ }
+
+
+}
diff --git a/src/app/progression.service.spec.ts b/src/app/services/progression.service.spec.ts
similarity index 100%
rename from src/app/progression.service.spec.ts
rename to src/app/services/progression.service.spec.ts
diff --git a/src/app/ui/navigation/navigation.component.ts b/src/app/ui/navigation/navigation.component.ts
index 52bd53d7..d0fbd588 100644
--- a/src/app/ui/navigation/navigation.component.ts
+++ b/src/app/ui/navigation/navigation.component.ts
@@ -1,6 +1,6 @@
import {Component, OnInit} from '@angular/core';
import {BaseComponent} from '../../pages/base-page/base.component';
-import {ConfigService} from '../../config.service';
+import {ConfigService} from '../../services/config.service';
@Component({
selector: 'framadate-navigation',
diff --git a/src/environments/environment.ts b/src/environments/environment.ts
index 918f5d2b..b2a49141 100644
--- a/src/environments/environment.ts
+++ b/src/environments/environment.ts
@@ -4,7 +4,7 @@
export const environment = {
production: false,
- baseApiHref: "http://127.0.0.1:8000/api/v1/"
+ baseApiHref: "http://127.0.0.1:8000/api/v1"
};
/*
diff --git a/yarn.lock b/yarn.lock
index 3ea57eea..8334bfae 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4521,6 +4521,11 @@ ngx-markdown@^8.2.1:
prismjs "^1.16.0"
tslib "^1.9.0"
+ngx-toaster@^1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/ngx-toaster/-/ngx-toaster-1.0.1.tgz#ee54f83bcbe3da26210097baac08445952899515"
+ integrity sha1-7lT4O8vj2iYhAJe6rAhEWVKJlRU=
+
nice-try@^1.0.4:
version "1.0.5"
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
@@ -5707,6 +5712,11 @@ run-queue@^1.0.0, run-queue@^1.0.3:
dependencies:
aproba "^1.1.1"
+rxjs-compat@^6.5.3:
+ version "6.5.3"
+ resolved "https://registry.yarnpkg.com/rxjs-compat/-/rxjs-compat-6.5.3.tgz#18440949b2678bf87a78a754009676b2c49183dc"
+ integrity sha512-BIJX2yovz3TBpjJoAZyls2QYuU6ZiCaZ+U96SmxQpuSP/qDUfiXPKOVLbThBB2WZijNHkdTTJXKRwvv5Y48H7g==
+
rxjs@6.4.0, rxjs@~6.4.0:
version "6.4.0"
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.4.0.tgz#f3bb0fe7bda7fb69deac0c16f17b50b0b8790504"
From cb6636f1557cdf4e33f0a2163245f6ab5ae63755 Mon Sep 17 00:00:00 2001
From: Baptiste Lemoine
Date: Wed, 4 Dec 2019 12:45:50 +0100
Subject: [PATCH 02/15] organise calls, add headers
---
src/app/config/PollConfig.ts | 2 +
src/app/debugger/debugger.component.html | 53 +---
src/app/services/config.service.ts | 233 +++++++++++----
src/environments/environment.ts | 2 +-
src/locale/messages.xlf | 343 -----------------------
5 files changed, 192 insertions(+), 441 deletions(-)
delete mode 100644 src/locale/messages.xlf
diff --git a/src/app/config/PollConfig.ts b/src/app/config/PollConfig.ts
index c34bb98a..db150ad1 100644
--- a/src/app/config/PollConfig.ts
+++ b/src/app/config/PollConfig.ts
@@ -58,6 +58,8 @@ export class PollConfig {
visibility = 'link_only'; // visible to anyone with the link:
voteChoices = 'only_yes'; // possible answers to a vote choice: only "yes", "yes, maybe, no"
expirationDate = ''; // expiracy date
+ pollId = null; // id of the current poll when created. data given by the backend api
+ selectedPoll = null; // current poll selected with createPoll or getPoll of ConfigService
passwordAccess = 0;
password = '';
customUrl = '';
diff --git a/src/app/debugger/debugger.component.html b/src/app/debugger/debugger.component.html
index c9e8a4f6..b7f72cfe 100644
--- a/src/app/debugger/debugger.component.html
+++ b/src/app/debugger/debugger.component.html
@@ -17,48 +17,9 @@
type de formulaire: {{config.pollType}}
-
- config:
-
- {{config.answers|json}}
-
-
-
- Choix cornélien syncronisé:
-
-
-
-
- sondage classique
-
-
- [x]
-
-
-
-
-
- sondage spécial date
-
-
- [x]
-
-
-
-
Envoyer le formulaire
+
+ get poll 1
+
+
+ get my polls
+
diff --git a/src/app/services/config.service.ts b/src/app/services/config.service.ts
index be6d0fcc..483ceaa4 100644
--- a/src/app/services/config.service.ts
+++ b/src/app/services/config.service.ts
@@ -1,6 +1,6 @@
import {Injectable} from '@angular/core';
import {PollConfig} from '../config/PollConfig';
-import {HttpClient, HttpHeaders} from "@angular/common/http";
+import {HttpClient, HttpHeaders, HttpParams} from "@angular/common/http";
import {environment} from "../../environments/environment";
@@ -24,55 +24,14 @@ export class ConfigService extends PollConfig {
this[key] = val;
}
- createPoll() {
- console.log('sends the form');
- // alert('envoi de formulaire pour création de sondage en XHR à faire');
- this.http.get(`${this.baseHref}/`)
- .subscribe((res) => {
- console.log('res', res);
- this.createPollFromConfig(this.getPollConfig())
- },
- this.handleError
- )
- ;
-
- }
-
- createPollFromConfig(config: any) {
- this.http.post(`${this.baseHref}/poll`, config)
- .subscribe((res: any) => {
- // redirect to the page to administrate the new poll
- alert("succès!");
- this.myPolls = res;
- }, this.handleError
- );
- }
-
- findPollsByEmail(email: string) {
-
-
- this.findLocalStorageData();
- // If no key is found in the localstorage, ask the backend to send an email to the user
-
- this.myEmail = email;
- const headers = new HttpHeaders('Content-Type:application/json');
- const headerDict = {
- 'Content-Type': 'application/json',
- 'Accept': 'application/json',
- };
-
- const requestOptions = {
- headers: new HttpHeaders(headerDict),
- };
-
- this.http.get(`${this.baseHref}/my-polls`)
- .subscribe(res => {
- // message: 'Trouvé! Allez voir votre boite email',
- this.myPolls = res;
- }, this.handleError
- )
- }
-
+ /** ==================================
+ *
+ * poll public calls to get non authenticated info
+ *
+ * ==================================/
+ /**
+ * convert current poll config to a payload to send to the backend API
+ */
getPollConfig() {
const jsonConfig = {
method: 'POST',
@@ -103,7 +62,42 @@ export class ConfigService extends PollConfig {
return jsonConfig
}
+ /**
+ * search in localstorage, fallback asking the backend to send an email to the owner if it exists
+ * @param email
+ */
+ findPollsByEmail(email: string) {
+
+
+ this.findLocalStorageData();
+ // If no key is found in the localstorage, ask the backend to send an email to the user
+
+ this.myEmail = email;
+
+ const headerDict = {
+ 'Content-Type': 'application/json',
+ 'Accept': 'application/json',
+ };
+
+ const requestOptions = {
+ headers: new HttpHeaders(headerDict),
+ };
+
+ this.http.get(`${this.baseHref}/my-polls`)
+ .subscribe(res => {
+ // message: 'Trouvé! Allez voir votre boite email',
+ this.myPolls = res;
+ }, this.handleError
+ )
+ }
+
+
+ /**
+ * display error message depending on the response of the backend
+ * @param err
+ */
handleError(err: any) {
+ // TODO handle a toast message
console.error('err', err)
}
@@ -127,16 +121,139 @@ export class ConfigService extends PollConfig {
}
/**
- *
+ * GET
+ * api/v1/poll/{id}
* @param id
*/
- getPollById(id: string) {
- // http://127.0.0.1:8000/api/v1/poll/1
- this.http.get(`${this.baseHref}/poll/${id}`).subscribe(
- (res: any) => {
- this.myPolls = res.data;
- }, this.handleError
- );
+ getPollById(id: string, password: string) {
+ // http://127.0.0.1:8000/
+ this.http
+ .get(`${this.baseHref}/poll/${id}`,
+ {params: new HttpParams().set('body', password)})
+ .subscribe(
+ (res: any) => {
+ this.myPolls = res.data;
+ }, this.handleError
+ );
}
+ /**
+ * GET
+ * api/v1/my-polls
+ * @param ownerEmail
+ */
+ getMyPolls(ownerEmail: string) {
+ this.http
+ .get(`${this.baseHref}/my-polls`,
+ {
+ headers: new HttpHeaders()
+ .append('Content-Type', 'application/json')
+ .append('Charset', 'UTF-8')
+ ,
+ params: new HttpParams().set('ownerEmail', ownerEmail)
+ })
+ .subscribe(
+ (res: any) => {
+ this.myPolls = res.data;
+ }, this.handleError
+ );
+ }
+
+
+ /**
+ * action of the form
+ */
+ createPoll() {
+ console.log('sends the form');
+ // alert('envoi de formulaire pour création de sondage en XHR à faire');
+ this.http.get(`${this.baseHref}/`)
+ .subscribe((res) => {
+ console.log('res', res);
+ this.createPollFromConfig(this.getPollConfig())
+ },
+ this.handleError
+ )
+ ;
+
+ }
+
+ /**
+ * POST
+ * /api/v1/poll/{id}/poll
+ * @param config
+ */
+ createPollFromConfig(config: any) {
+ this.http.post(`${this.baseHref}/poll`, config)
+ .subscribe((res: any) => {
+ // redirect to the page to administrate the new poll
+ alert("succès!");
+ this.selectedPoll = res;
+ this.pollId = res.pollId;
+ }, this.handleError
+ );
+ }
+
+ /**
+ * UPDATE
+ * /api/v1/poll/{id}/vote
+ * @param voteStack
+ */
+ updatePoll(voteStack: any) {
+ this.http.put(`${this.baseHref}/poll/${this.pollId}`, voteStack)
+ .subscribe((res: any) => {
+
+ alert("succès!");
+ this.myPolls = res;
+ }, this.handleError
+ );
+ }
+
+ /**
+ * POST
+ * /api/v1/poll/{id}/vote
+ * @param voteStack
+ */
+ addVote(voteStack: any) {
+ this.http.post(`${this.baseHref}/poll/${this.pollId}/vote`, voteStack)
+ .subscribe((res: any) => {
+
+ alert("succès!");
+ this.myPolls = res;
+ }, this.handleError
+ );
+ }
+
+ /**
+ * UPDATE
+ * /api/v1/poll/{id}/vote
+ * @param voteStack
+ */
+ updateVote(voteStack: any) {
+ this.http.put(`${this.baseHref}/poll/${this.pollId}/vote`, voteStack)
+ .subscribe((res: any) => {
+
+ alert("succès!");
+ this.myPolls = res;
+ }, this.handleError
+ );
+ }
+
+ /**
+ * POST
+ * /api/v1/poll/{id}/comment
+ * @param comment
+ */
+ addComment(comment: any) {
+ this.http.post(`${this.baseHref}/poll/${this.pollId}/comment`, comment)
+ .subscribe((res: any) => {
+ alert("succès!");
+ }, this.handleError
+ );
+ }
+
+
+ /**
+ * administrator calls
+ */
+
}
diff --git a/src/environments/environment.ts b/src/environments/environment.ts
index b2a49141..4d63b3f5 100644
--- a/src/environments/environment.ts
+++ b/src/environments/environment.ts
@@ -4,7 +4,7 @@
export const environment = {
production: false,
- baseApiHref: "http://127.0.0.1:8000/api/v1"
+ baseApiHref: "http://localhost:8000/api/v1"
};
/*
diff --git a/src/locale/messages.xlf b/src/locale/messages.xlf
deleted file mode 100644
index ba35cf85..00000000
--- a/src/locale/messages.xlf
+++ /dev/null
@@ -1,343 +0,0 @@
-
-
-
-
-
-
- Ceci est une démo
-
-
- src/app/app.component.html
- 7
-
- introduction header saying just demo
- demo title
-
-
-
- Updated
-
-
- src/app/app.component.html
- 10
-
-
-
- {VAR_PLURAL, plural, =0 {just now} =1 {one minute ago} other { minutes ago} }
-
- src/app/app.component.html
- 11
-
-
-
- placeholder à traduire
-
- src/app/app.component.html
- 13
-
-
-
- C'est parfait!
-
- src/app/pages/base-page/base.component.html
- 2
-
-
- src/app/pages/kind/kind.component.html
- 4
-
-
- src/app/pages/visibility/visibility.component.html
- 14
-
-
- src/app/pages/resume/resume.component.html
- 10
-
-
-
-
- Config spécialement pour les dates
-
-
- src/app/pages/dates/dates.component.html
- 1
-
-
-
-
- Je souhaite mettre des créneaux horaires
-
-
- src/app/pages/dates/dates.component.html
- 16
-
-
-
-
- pour chaque journée
-
-
- src/app/pages/dates/dates.component.html
- 20
-
-
-
-
- Ajouter une plage de dates
-
-
- src/app/pages/dates/dates.component.html
- 30
-
-
-
-
- choix de Dates
-
-
- src/app/pages/dates/dates.component.html
- 35
-
-
-
-
- infos de debug
-
-
- src/app/debugger/debugger.component.html
- 4
-
-
-
-
- Choix cornélien syncronisé:
-
-
- src/app/debugger/debugger.component.html
- 27
-
-
-
-
- sondage classique
-
-
- src/app/debugger/debugger.component.html
- 37
-
-
-
-
- sondage spécial date
-
-
- src/app/debugger/debugger.component.html
- 51
-
-
-
-
- Envoyer le formulaire
-
-
- src/app/debugger/debugger.component.html
- 64
-
-
-
-
- Visibilité des réponses
-
-
- src/app/pages/visibility/visibility.component.html
- 1
-
-
-
-
- Votes
-
-
- src/app/pages/visibility/visibility.component.html
- 4
-
-
-
-
- Archivage
-
-
- src/app/pages/visibility/visibility.component.html
- 7
-
-
-
-
- Accès au sondage
-
-
- src/app/pages/visibility/visibility.component.html
- 11
-
-
-
-
- Résumé avant validation
-
-
- src/app/pages/resume/resume.component.html
- 1
-
-
-
-
- Images
-
-
- src/app/pages/pictures/pictures.component.html
- 2
-
-
-
-
- Choisir les propositions
-
-
- src/app/pages/answers/answers.component.html
- 2
-
-
-
-
- vous pouvez utiliser la syntaxe markdown
-
-
- src/app/pages/answers/answers.component.html
- 6
-
-
-
-
- Et c'est tout pour nous!
-
-
- src/app/pages/end-confirmation/end-confirmation.component.html
- 1
-
-
-
- Coté administrateur-ice-eux
-
- src/app/pages/end-confirmation/end-confirmation.component.html
- 4
-
-
-
- Coté sondés
-
- src/app/pages/end-confirmation/end-confirmation.component.html
- 5
-
-
-
- recevoir les liens par e-mail
-
- src/app/pages/end-confirmation/end-confirmation.component.html
- 6
-
-
-
-
- Créer un sondage
-
-
- src/app/pages/create-or-retrieve/create-or-retrieve.component.html
- 2
-
-
-
-
- Planifiez des rendez-vous avec vos amis ou votre famille ou créez un sondage avec du texte, des images ou des
- liens… un sondage quoi !
-
-
- src/app/pages/create-or-retrieve/create-or-retrieve.component.html
- 8
-
-
-
-
- C'est parti
-
-
- src/app/pages/create-or-retrieve/create-or-retrieve.component.html
- 19
-
-
-
-
- Où sont mes sondages ?
-
-
- src/app/pages/create-or-retrieve/create-or-retrieve.component.html
- 29
-
-
-
-
- Je cherche les sondages qui correspondent à mon mail :
-
-
- src/app/pages/create-or-retrieve/create-or-retrieve.component.html
- 40
-
-
-
-
- Pour commencer
-
-
- src/app/pages/home/home.component.html
- 4
-
-
-
-
- Je veux créer un sondage
-
-
- src/app/pages/home/home.component.html
- 10
-
-
-
-
- Dont le titre sera
-
-
- src/app/pages/home/home.component.html
- 34
-
-
-
-
- et la description serait
-
-
- src/app/pages/home/home.component.html
- 64
-
-
-
-
- Continuer
-
-
- src/app/pages/home/home.component.html
- 82
-
-
-
-
-
From cf4e9f45634b0eb8fa52bf77c52373876ce5eaef Mon Sep 17 00:00:00 2001
From: Baptiste Lemoine
Date: Wed, 15 Jan 2020 11:40:39 +0100
Subject: [PATCH 03/15] :zap: fix some deps
---
package.json | 1 +
src/app/app.module.ts | 5 +++--
src/app/config/Routes.ts | 3 ++-
.../create-or-retrieve.component.html | 17 ++++++++++++-----
.../create-or-retrieve.component.ts | 6 ++++++
src/app/poll-graphic/poll-graphic.component.ts | 8 ++++----
src/app/services/config.service.ts | 13 +++++++++++--
src/app/services/poll.service.ts | 11 +----------
src/environments/environment.prod.ts | 2 +-
src/environments/environment.ts | 3 ++-
10 files changed, 43 insertions(+), 26 deletions(-)
diff --git a/package.json b/package.json
index 6301943b..a372d3b2 100644
--- a/package.json
+++ b/package.json
@@ -4,6 +4,7 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
+ "serve": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index 1c51d044..88d468e0 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -1,6 +1,5 @@
import {BrowserModule} from '@angular/platform-browser';
import {NgModule} from '@angular/core';
-
import {AppRoutingModule} from './app-routing.module';
import {AppComponent} from './app.component';
import {BaseComponent} from './pages/base-page/base.component';
@@ -42,6 +41,8 @@ import {PollGraphicComponent} from './poll-graphic/poll-graphic.component';
import {AdminComponent} from './pages/admin/admin.component';
import {SelectorComponent} from './ui/selector/selector.component';
import {BrowserAnimationsModule} from "@angular/platform-browser/animations";
+import {ConfigService} from "./services/config.service";
+import {PollService} from "./services/poll.service";
export class MyMissingTranslationHandler implements MissingTranslationHandler {
handle(params: MissingTranslationHandlerParams) {
@@ -104,7 +105,7 @@ export function HttpLoaderFactory(http: HttpClient) {
FormsModule,
RouterModule.forRoot(Routes)
],
- providers: [TranslateService],
+ providers: [TranslateService, ConfigService, PollService],
bootstrap: [AppComponent]
})
export class AppModule {
diff --git a/src/app/config/Routes.ts b/src/app/config/Routes.ts
index 52360ff5..c9fcf5c7 100644
--- a/src/app/config/Routes.ts
+++ b/src/app/config/Routes.ts
@@ -17,7 +17,7 @@ import {VoteChoiceComponent} from "../vote-choice/vote-choice.component";
*/
export const Routes =
[
- {path: '', component: CreateOrRetrieveComponent},
+ {path: '', redirectTo: 'step/creation', pathMatch: 'full'},
{path: 'home', component: HomeComponent},
{path: 'base', component: BaseComponent},
{path: 'step/base', component: BaseComponent},
@@ -32,5 +32,6 @@ export const Routes =
{path: 'step/end', component: EndConfirmationComponent},
{path: 'graphic/:poll', component: PollGraphicComponent},
{path: 'votechoice', component: VoteChoiceComponent},
+ {path: '**', redirectTo: '/home', pathMatch: 'full'},
]
;
diff --git a/src/app/pages/create-or-retrieve/create-or-retrieve.component.html b/src/app/pages/create-or-retrieve/create-or-retrieve.component.html
index 20c0b141..8212aba4 100644
--- a/src/app/pages/create-or-retrieve/create-or-retrieve.component.html
+++ b/src/app/pages/create-or-retrieve/create-or-retrieve.component.html
@@ -40,16 +40,17 @@
{{"config.find_helper"|translate}} :
@@ -57,4 +58,10 @@
+
+
+
+
+ Aucun sondage.
+
diff --git a/src/app/pages/create-or-retrieve/create-or-retrieve.component.ts b/src/app/pages/create-or-retrieve/create-or-retrieve.component.ts
index 00536fbf..469f80ab 100644
--- a/src/app/pages/create-or-retrieve/create-or-retrieve.component.ts
+++ b/src/app/pages/create-or-retrieve/create-or-retrieve.component.ts
@@ -10,6 +10,8 @@ import {PollService} from "../../services/poll.service";
})
export class CreateOrRetrieveComponent extends BaseComponent implements OnInit {
+ loadedMyPolls: boolean = false;
+
constructor(public config: ConfigService,
public pollService: PollService) {
super(config);
@@ -20,7 +22,11 @@ export class CreateOrRetrieveComponent extends BaseComponent implements OnInit {
}
findMyPollsByEmail(email: string) {
+ if (!email) {
+ return
+ }
this.config.findPollsByEmail(email);
+ this.loadedMyPolls = true;
}
}
diff --git a/src/app/poll-graphic/poll-graphic.component.ts b/src/app/poll-graphic/poll-graphic.component.ts
index f3ba0682..1356e25a 100644
--- a/src/app/poll-graphic/poll-graphic.component.ts
+++ b/src/app/poll-graphic/poll-graphic.component.ts
@@ -1,5 +1,6 @@
-import {Component, OnInit} from "@angular/core";
+import {Component, Inject, OnInit} from "@angular/core";
import {Chart} from "chart.js";
+import {DOCUMENT} from '@angular/common';
@Component({
selector: "framadate-poll-graphic",
@@ -8,7 +9,6 @@ import {Chart} from "chart.js";
})
export class PollGraphicComponent implements OnInit {
isColorblind: boolean = false;
- lineChart: Chart;
pollData: any;
yesList: number[] = [];
maybeList: number[] = [];
@@ -16,7 +16,7 @@ export class PollGraphicComponent implements OnInit {
nbPoll: number = 0;
dateList: string[] = [];
- constructor() {
+ constructor(@Inject(DOCUMENT) private document: any,) {
}
ngOnInit() {
@@ -76,7 +76,7 @@ export class PollGraphicComponent implements OnInit {
this.formatDataAnswers(toto);
this.isColorblind = false;
- this.pollData = new Chart(document.getElementById("graph"), {
+ this.pollData = new Chart(this.document.getElementById("graph"), {
type: "horizontalBar",
data: {
labels: ["jeudi"],
diff --git a/src/app/services/config.service.ts b/src/app/services/config.service.ts
index 483ceaa4..56de8d53 100644
--- a/src/app/services/config.service.ts
+++ b/src/app/services/config.service.ts
@@ -12,6 +12,7 @@ import {environment} from "../../environments/environment";
})
export class ConfigService extends PollConfig {
myEmail: string;
+ loading: boolean = false;
baseHref: any = environment.baseApiHref;
myPolls: any;// list of retrieved polls from the backend api
@@ -77,16 +78,23 @@ export class ConfigService extends PollConfig {
const headerDict = {
'Content-Type': 'application/json',
'Accept': 'application/json',
+ 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE',
+ 'Access-Control-Allow-Origin': environment.baseApiHref
};
const requestOptions = {
headers: new HttpHeaders(headerDict),
+ email: this.myEmail
};
- this.http.get(`${this.baseHref}/my-polls`)
+ this.loading = true;
+ this.http.get(`${this.baseHref}/my-polls`,
+ requestOptions,
+ )
.subscribe(res => {
// message: 'Trouvé! Allez voir votre boite email',
this.myPolls = res;
+ this.loading = false;
}, this.handleError
)
}
@@ -99,6 +107,7 @@ export class ConfigService extends PollConfig {
handleError(err: any) {
// TODO handle a toast message
console.error('err', err)
+ this.loading = false;
}
@@ -126,7 +135,7 @@ export class ConfigService extends PollConfig {
* @param id
*/
getPollById(id: string, password: string) {
- // http://127.0.0.1:8000/
+
this.http
.get(`${this.baseHref}/poll/${id}`,
{params: new HttpParams().set('body', password)})
diff --git a/src/app/services/poll.service.ts b/src/app/services/poll.service.ts
index b30b45a6..33f190d2 100644
--- a/src/app/services/poll.service.ts
+++ b/src/app/services/poll.service.ts
@@ -1,13 +1,6 @@
import {Injectable} from '@angular/core';
-import {ConfigService} from "./config.service";
-import {HttpClient} from "@angular/common/http";
import {environment} from "../../environments/environment";
-class JsonResponse {
- message: string;
- data: string;
-}
-
@Injectable({
providedIn: 'root'
})
@@ -15,9 +8,7 @@ export class PollService {
private baseHref: string = environment.baseApiHref;
- constructor(private configService: ConfigService,
- private document: Document,
- private http: HttpClient) {
+ constructor() {
}
diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts
index 0a1bc680..8ccf98f9 100644
--- a/src/environments/environment.prod.ts
+++ b/src/environments/environment.prod.ts
@@ -1,4 +1,4 @@
export const environment = {
production: true,
- baseApiHref : 'http://127.0.0.1:8000/api/v1/'
+ baseApiHref: 'http://127.0.0.1:8000/api/v1/'
};
diff --git a/src/environments/environment.ts b/src/environments/environment.ts
index 4d63b3f5..0ab15255 100644
--- a/src/environments/environment.ts
+++ b/src/environments/environment.ts
@@ -4,7 +4,8 @@
export const environment = {
production: false,
- baseApiHref: "http://localhost:8000/api/v1"
+ baseApiHref: "https://framadate-api.cipherbliss.com/api/v1"
+ // baseApiHref: "http://localhost:8000/api/v1"
};
/*
From ded5e71e73a037096d0497b615faf82d733a775b Mon Sep 17 00:00:00 2001
From: Baptiste Lemoine
Date: Wed, 15 Jan 2020 11:59:02 +0100
Subject: [PATCH 04/15] :zap: update dependencies with yarn, add primefaces to
make toasts
---
angular.json | 256 ++--
package.json | 7 +-
src/app/app.module.ts | 5 +-
.../create-or-retrieve.component.html | 8 +-
src/app/services/config.service.ts | 6 +-
src/environments/environment.prod.ts | 2 +-
yarn.lock | 1258 ++++++++---------
7 files changed, 769 insertions(+), 773 deletions(-)
diff --git a/angular.json b/angular.json
index df9c8dac..4fc871a3 100644
--- a/angular.json
+++ b/angular.json
@@ -1,133 +1,137 @@
{
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
- "version": 1,
- "newProjectRoot": "projects",
- "projects": {
- "framadate": {
- "projectType": "application",
- "schematics": {
- "@schematics/angular:component": {
- "style": "scss"
- }
- },
- "root": "",
- "sourceRoot": "src",
- "prefix": "framadate",
- "architect": {
- "build": {
- "builder": "@angular-devkit/build-angular:browser",
- "options": {
- "outputPath": "dist/framadate",
- "index": "src/index.html",
- "main": "src/main.ts",
- "polyfills": "src/polyfills.ts",
- "tsConfig": "tsconfig.app.json",
- "aot": false,
- "assets": [
- "src/favicon.ico",
- "src/assets"
- ],
- "styles": [
- "src/styles.scss"
- ],
- "scripts": [
- "node_modules/marked/lib/marked.js",
- "node_modules/prismjs/prism.js",
- "node_modules/prismjs/components/prism-css.min.js"
- ]
- },
- "configurations": {
- "production": {
- "fileReplacements": [
- {
- "replace": "src/environments/environment.ts",
- "with": "src/environments/environment.prod.ts"
+ "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
+ "version": 1,
+ "newProjectRoot": "projects",
+ "projects": {
+ "framadate": {
+ "projectType": "application",
+ "schematics": {
+ "@schematics/angular:component": {
+ "style": "scss"
}
- ],
- "optimization": true,
- "outputHashing": "all",
- "sourceMap": false,
- "extractCss": true,
- "namedChunks": false,
- "aot": true,
- "extractLicenses": true,
- "vendorChunk": false,
- "buildOptimizer": true,
- "budgets": [
- {
- "type": "initial",
- "maximumWarning": "2mb",
- "maximumError": "5mb"
+ },
+ "root": "",
+ "sourceRoot": "src",
+ "prefix": "framadate",
+ "architect": {
+ "build": {
+ "builder": "@angular-devkit/build-angular:browser",
+ "options": {
+ "outputPath": "dist/framadate",
+ "index": "src/index.html",
+ "main": "src/main.ts",
+ "polyfills": "src/polyfills.ts",
+ "tsConfig": "tsconfig.app.json",
+ "aot": false,
+ "assets": [
+ "src/favicon.ico",
+ "src/assets"
+ ],
+ "styles": [
+ "node_modules/primeicons/primeicons.css",
+ "node_modules/primeng/resources/themes/nova-light/theme.css",
+ "node_modules/primeng/resources/primeng.min.css",
+ "src/styles.scss"
+ ],
+ "scripts": [
+ "node_modules/marked/lib/marked.js",
+ "node_modules/prismjs/prism.js",
+ "node_modules/prismjs/components/prism-css.min.js"
+ ]
+ },
+ "configurations": {
+ "production": {
+ "fileReplacements": [
+ {
+ "replace": "src/environments/environment.ts",
+ "with": "src/environments/environment.prod.ts"
+ }
+ ],
+ "optimization": true,
+ "outputHashing": "all",
+ "sourceMap": false,
+ "extractCss": true,
+ "namedChunks": false,
+ "aot": true,
+ "extractLicenses": true,
+ "vendorChunk": false,
+ "buildOptimizer": true,
+ "budgets": [
+ {
+ "type": "initial",
+ "maximumWarning": "2mb",
+ "maximumError": "5mb"
+ },
+ {
+ "type": "anyComponentStyle",
+ "maximumWarning": "6kb",
+ "maximumError": "10kb"
+ }
+ ]
+ }
+ }
},
- {
- "type": "anyComponentStyle",
- "maximumWarning": "6kb",
- "maximumError": "10kb"
+ "serve": {
+ "builder": "@angular-devkit/build-angular:dev-server",
+ "options": {
+ "browserTarget": "framadate:build"
+ },
+ "configurations": {
+ "production": {
+ "browserTarget": "framadate:build:production"
+ }
+ }
+ },
+ "extract-i18n": {
+ "builder": "@angular-devkit/build-angular:extract-i18n",
+ "options": {
+ "browserTarget": "framadate:build"
+ }
+ },
+ "test": {
+ "builder": "@angular-devkit/build-angular:karma",
+ "options": {
+ "main": "src/test.ts",
+ "polyfills": "src/polyfills.ts",
+ "tsConfig": "tsconfig.spec.json",
+ "karmaConfig": "karma.conf.js",
+ "assets": [
+ "src/favicon.ico",
+ "src/assets"
+ ],
+ "styles": [
+ "src/styles.scss"
+ ],
+ "scripts": []
+ }
+ },
+ "lint": {
+ "builder": "@angular-devkit/build-angular:tslint",
+ "options": {
+ "tsConfig": [
+ "tsconfig.app.json",
+ "tsconfig.spec.json",
+ "e2e/tsconfig.json"
+ ],
+ "exclude": [
+ "**/node_modules/**"
+ ]
+ }
+ },
+ "e2e": {
+ "builder": "@angular-devkit/build-angular:protractor",
+ "options": {
+ "protractorConfig": "e2e/protractor.conf.js",
+ "devServerTarget": "framadate:serve"
+ },
+ "configurations": {
+ "production": {
+ "devServerTarget": "framadate:serve:production"
+ }
+ }
}
- ]
}
- }
- },
- "serve": {
- "builder": "@angular-devkit/build-angular:dev-server",
- "options": {
- "browserTarget": "framadate:build"
- },
- "configurations": {
- "production": {
- "browserTarget": "framadate:build:production"
- }
- }
- },
- "extract-i18n": {
- "builder": "@angular-devkit/build-angular:extract-i18n",
- "options": {
- "browserTarget": "framadate:build"
- }
- },
- "test": {
- "builder": "@angular-devkit/build-angular:karma",
- "options": {
- "main": "src/test.ts",
- "polyfills": "src/polyfills.ts",
- "tsConfig": "tsconfig.spec.json",
- "karmaConfig": "karma.conf.js",
- "assets": [
- "src/favicon.ico",
- "src/assets"
- ],
- "styles": [
- "src/styles.scss"
- ],
- "scripts": []
- }
- },
- "lint": {
- "builder": "@angular-devkit/build-angular:tslint",
- "options": {
- "tsConfig": [
- "tsconfig.app.json",
- "tsconfig.spec.json",
- "e2e/tsconfig.json"
- ],
- "exclude": [
- "**/node_modules/**"
- ]
- }
- },
- "e2e": {
- "builder": "@angular-devkit/build-angular:protractor",
- "options": {
- "protractorConfig": "e2e/protractor.conf.js",
- "devServerTarget": "framadate:serve"
- },
- "configurations": {
- "production": {
- "devServerTarget": "framadate:serve:production"
- }
- }
}
- }
- }},
- "defaultProject": "framadate"
+ },
+ "defaultProject": "framadate"
}
diff --git a/package.json b/package.json
index a372d3b2..0357a1aa 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,8 @@
},
"private": true,
"dependencies": {
- "@angular/animations": "~8.2.0",
+ "@angular/animations": "^8.2.14",
+ "@angular/cdk": "^8.2.3",
"@angular/common": "~8.2.0",
"@angular/compiler": "~8.2.0",
"@angular/core": "~8.2.0",
@@ -21,11 +22,15 @@
"@angular/platform-browser": "~8.2.0",
"@angular/platform-browser-dynamic": "~8.2.0",
"@angular/router": "~8.2.0",
+ "@fullcalendar/core": "^4.3.1",
"@ngx-translate/core": "^11.0.1",
"@ngx-translate/http-loader": "^4.0.0",
"chart.js": "^2.8.0",
"ngx-markdown": "^8.2.1",
"ngx-toaster": "^1.0.1",
+ "primeicons": "^2.0.0",
+ "primeng": "^9.0.0-rc.2",
+ "quill": "^1.3.7",
"rxjs": "~6.4.0",
"rxjs-compat": "^6.5.3",
"tslib": "^1.10.0",
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index 88d468e0..a977073f 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -43,6 +43,8 @@ import {SelectorComponent} from './ui/selector/selector.component';
import {BrowserAnimationsModule} from "@angular/platform-browser/animations";
import {ConfigService} from "./services/config.service";
import {PollService} from "./services/poll.service";
+import {ToastModule} from 'primeng/toast';
+import {MessageService} from "primeng";
export class MyMissingTranslationHandler implements MissingTranslationHandler {
handle(params: MissingTranslationHandlerParams) {
@@ -88,6 +90,7 @@ export function HttpLoaderFactory(http: HttpClient) {
BrowserModule,
BrowserAnimationsModule,
AppRoutingModule,
+ ToastModule,
MarkdownModule.forRoot(),
TranslateModule.forRoot({
missingTranslationHandler: {
@@ -105,7 +108,7 @@ export function HttpLoaderFactory(http: HttpClient) {
FormsModule,
RouterModule.forRoot(Routes)
],
- providers: [TranslateService, ConfigService, PollService],
+ providers: [TranslateService, ConfigService, PollService, MessageService],
bootstrap: [AppComponent]
})
export class AppModule {
diff --git a/src/app/pages/create-or-retrieve/create-or-retrieve.component.html b/src/app/pages/create-or-retrieve/create-or-retrieve.component.html
index 8212aba4..cc7bc355 100644
--- a/src/app/pages/create-or-retrieve/create-or-retrieve.component.html
+++ b/src/app/pages/create-or-retrieve/create-or-retrieve.component.html
@@ -30,7 +30,7 @@
{{"config.find_my_polls"|translate}}
diff --git a/src/app/services/config.service.ts b/src/app/services/config.service.ts
index 56de8d53..45405d62 100644
--- a/src/app/services/config.service.ts
+++ b/src/app/services/config.service.ts
@@ -2,7 +2,7 @@ import {Injectable} from '@angular/core';
import {PollConfig} from '../config/PollConfig';
import {HttpClient, HttpHeaders, HttpParams} from "@angular/common/http";
import {environment} from "../../environments/environment";
-
+import {MessageService} from 'primeng/api';
/**
* le service transverse à chaque page qui permet de syncroniser la configuration de sondage souhaitée
@@ -17,7 +17,8 @@ export class ConfigService extends PollConfig {
myPolls: any;// list of retrieved polls from the backend api
- constructor(public http: HttpClient) {
+ constructor(public http: HttpClient,
+ private messageService: MessageService) {
super();
}
@@ -108,6 +109,7 @@ export class ConfigService extends PollConfig {
// TODO handle a toast message
console.error('err', err)
this.loading = false;
+ this.messageService.add({severity: 'success', summary: 'Service Message', detail: 'Via MessageService'});
}
diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts
index 8ccf98f9..47e900ae 100644
--- a/src/environments/environment.prod.ts
+++ b/src/environments/environment.prod.ts
@@ -1,4 +1,4 @@
export const environment = {
production: true,
- baseApiHref: 'http://127.0.0.1:8000/api/v1/'
+ baseApiHref: 'https://framadate-api.cipherbliss.com/api/v1'
};
diff --git a/yarn.lock b/yarn.lock
index 8334bfae..4007e4d0 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -104,13 +104,22 @@
"@angular-devkit/core" "8.2.2"
rxjs "6.4.0"
-"@angular/animations@~8.2.0":
- version "8.2.5"
- resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-8.2.5.tgz#847296d12690c1e385f6f790fbb472d0e4aabde9"
- integrity sha512-t4TT11YIRGKSNYz5ngZ7trVPKZMtEql2LaPaVQnAZ6Cefrf+1s431mVh7ndPtGTLxRwr6RPTUe+Tc+5e2ROcmg==
+"@angular/animations@^8.2.14":
+ version "8.2.14"
+ resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-8.2.14.tgz#76736b21e56165e6ca4925fb69605bdcc56aba7d"
+ integrity sha512-3Vc9TnNpKdtvKIXcWDFINSsnwgEMiDmLzjceWg1iYKwpeZGQahUXPoesLwQazBMmxJzQiA4HOMj0TTXKZ+Jzkg==
dependencies:
tslib "^1.9.0"
+"@angular/cdk@^8.2.3":
+ version "8.2.3"
+ resolved "https://registry.yarnpkg.com/@angular/cdk/-/cdk-8.2.3.tgz#16b96ffa935cbf5a646757ecaf2b19c434678f72"
+ integrity sha512-ZwO5Sn720RA2YvBqud0JAHkZXjmjxM0yNzCO8RVtRE9i8Gl26Wk0j0nQeJkVm4zwv2QO8MwbKUKGTMt8evsokA==
+ dependencies:
+ tslib "^1.7.1"
+ optionalDependencies:
+ parse5 "^5.0.0"
+
"@angular/cli@~8.2.1":
version "8.2.2"
resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-8.2.2.tgz#bf255a465cc53e95cea3b9264a589b3ea70472f0"
@@ -136,16 +145,16 @@
uuid "^3.3.2"
"@angular/common@~8.2.0":
- version "8.2.5"
- resolved "https://registry.yarnpkg.com/@angular/common/-/common-8.2.5.tgz#4155df1ca4a6ac50a82b9cbf40dbc357f214e040"
- integrity sha512-7iSDLVhS+jbVRkECpbTzU9+6IQPS3Wl0CF73EA0sdzPbTC2GKvGfM9WLnIZZIxewkii6Wn1Yb0x0qRdWMT2STA==
+ version "8.2.14"
+ resolved "https://registry.yarnpkg.com/@angular/common/-/common-8.2.14.tgz#027e52b2951c14082d6e3af1a4ffa1356220e439"
+ integrity sha512-Qmt+aX2quUW54kaNT7QH7WGXnFxr/cC2C6sf5SW5SdkZfDQSiz8IaItvieZfXVQUbBOQKFRJ7TlSkt0jI/yjvw==
dependencies:
tslib "^1.9.0"
"@angular/compiler-cli@~8.2.0":
- version "8.2.5"
- resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-8.2.5.tgz#86d638ee8dd4b95b8e92f76e41d9b2d7a07b576c"
- integrity sha512-Q10AdqC3rPZyEU9hGuZYDJeP92tXRS4S8SloHNsYLQkXDgnWwJvA8h1DInyE+lOL7+3kZoPBgdsn99e4jpUvJg==
+ version "8.2.14"
+ resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-8.2.14.tgz#1997bec04a6b9d022954e5747505fe8906994594"
+ integrity sha512-XDrTyrlIZM+0NquVT+Kbg5bn48AaWFT+B3bAT288PENrTdkuxuF9AhjFRZj8jnMdmaE4O2rioEkXBtl6z3zptA==
dependencies:
canonical-path "1.0.0"
chokidar "^2.1.1"
@@ -159,145 +168,144 @@
yargs "13.1.0"
"@angular/compiler@~8.2.0":
- version "8.2.5"
- resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-8.2.5.tgz#015928a7698677484f5ff38054c5b12ea71a8e44"
- integrity sha512-u3OgSBTupn9DN1uDF+NmXqN7w9m6bbrIalJkwdw+kFXnXt8JpdIeJmeV2jN4wLuGp6A3sWS1ze+6u4kpFHMqTw==
+ version "8.2.14"
+ resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-8.2.14.tgz#46db7a9d1c17f236126518ff26480c160d5a6183"
+ integrity sha512-ABZO4E7eeFA1QyJ2trDezxeQM5ZFa1dXw1Mpl/+1vuXDKNjJgNyWYwKp/NwRkLmrsuV0yv4UDCDe4kJOGbPKnw==
dependencies:
tslib "^1.9.0"
"@angular/core@~8.2.0":
- version "8.2.5"
- resolved "https://registry.yarnpkg.com/@angular/core/-/core-8.2.5.tgz#c94f41c81abc318c9597285648f790b88ca7bfa6"
- integrity sha512-cBEiHhLE8VFIdB53seR+nQYNQFlNloKgD7ro26eMazvRF94wBSzO9VrD3+/XmNWdIYibU7PBaXhDCOKTe+ZSHw==
+ version "8.2.14"
+ resolved "https://registry.yarnpkg.com/@angular/core/-/core-8.2.14.tgz#35566f5b19480369229477e7e0e0fde740bd5204"
+ integrity sha512-zeePkigi+hPh3rN7yoNENG/YUBUsIvUXdxx+AZq+QPaFeKEA2FBSrKn36ojHFrdJUjKzl0lPMEiGC2b6a6bo6g==
dependencies:
tslib "^1.9.0"
"@angular/forms@~8.2.0":
- version "8.2.5"
- resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-8.2.5.tgz#3d86574b344ffbe51403bf7237585cf42daaa8ab"
- integrity sha512-USJdzopslLC7JVMu7v58SA/g0NWeQeAM16qcR4LHj+wdMbJ+5G64LdZQe9vEHRdgGpgrZU4c2ODAwDEa1MzIDA==
+ version "8.2.14"
+ resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-8.2.14.tgz#7d357c346a3884881beb044c50ec4a09d3d7ee8e"
+ integrity sha512-zhyKL3CFIqcyHJ/TQF/h1OZztK611a6rxuPHCrt/5Sn1SuBTJJQ1pPTkOYIDy6IrCrtyANc8qB6P17Mao71DNQ==
dependencies:
tslib "^1.9.0"
"@angular/language-service@~8.2.0":
- version "8.2.5"
- resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-8.2.5.tgz#8c290260293904fcdeb8cf899cd65dbe9e77bb3b"
- integrity sha512-F+KWf3wa1+ZN5CRu9BQP5crHY/cwB02fMIMXF/23Y+2o/orMEc1Ib/dUMxt6PuiEvhPZ0KA6iXSUd/nm/SCT9g==
+ version "8.2.14"
+ resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-8.2.14.tgz#e18b27a6841577ce489ad31540150da5a444ca37"
+ integrity sha512-7EhN9JJbAJcH2xCa+rIOmekjiEuB0qwPdHuD5qn/wwMfRzMZo+Db4hHbR9KHrLH6H82PTwYKye/LLpDaZqoHOA==
"@angular/platform-browser-dynamic@~8.2.0":
- version "8.2.5"
- resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-8.2.5.tgz#9d10e6a6ab11e541892049f41ea6244723a2c9ab"
- integrity sha512-4Ewg8I3T0t6/ClLt5ZFZ6ncDTqvEyI84h0K1cnNTsyoup3QKrY/FnklFbZbNl4ONVioHS6fkEg3R+xt1WthhYQ==
+ version "8.2.14"
+ resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-8.2.14.tgz#4439a79fe10ec45170e6940a28835e9ff0918950"
+ integrity sha512-mO2JPR5kLU/A3AQngy9+R/Q5gaF9csMStBQjwsCRI0wNtlItOIGL6+wTYpiTuh/ux+WVN1F2sLcEYU4Zf1ud9A==
dependencies:
tslib "^1.9.0"
"@angular/platform-browser@~8.2.0":
- version "8.2.5"
- resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-8.2.5.tgz#2c71197a7ae1bf3b09f17f0c81c027d3142f8bf2"
- integrity sha512-JIm4uOcgQq0oX1oTzRbQpwxFYAEYKiLi/uAPUf2CZeU2lVxMkhScAW0b8+tVFLIJ7IaVx5d2QxZ6HK81r+QSVg==
+ version "8.2.14"
+ resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-8.2.14.tgz#31f082e8ba977f9b89964d721c38cbc32ce0e433"
+ integrity sha512-MtJptptyKzsE37JZ2VB/tI4cvMrdAH+cT9pMBYZd66YSZfKjIj5s+AZo7z8ncoskQSB1o3HMfDjSK7QXGx1mLQ==
dependencies:
tslib "^1.9.0"
"@angular/router@~8.2.0":
- version "8.2.5"
- resolved "https://registry.yarnpkg.com/@angular/router/-/router-8.2.5.tgz#e1ab36ee0f43b8b8a2ac9cd87fa56a64dc9ba9e0"
- integrity sha512-htkxrbB8rbOKIcfd0fV9KcxJGnVg8bAJ6atIMPETeI3dBORq6crzvML0B/yx6R+Ooy5e3Td3yXBsolexMxT0mg==
+ version "8.2.14"
+ resolved "https://registry.yarnpkg.com/@angular/router/-/router-8.2.14.tgz#5f9f9707710983c2143aead79dcd2da520ae3eb8"
+ integrity sha512-DHA2BhODqV7F0g6ZKgFaZgbsqzHHWRcfWchCOrOVKu2rYiKUTwwHVLBgZAhrpNeinq2pWanVYSIhMr7wy+LfEA==
dependencies:
tslib "^1.9.0"
-"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5":
- version "7.5.5"
- resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49531219699b988f669a8f9d"
- integrity sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==
+"@babel/code-frame@^7.8.3":
+ version "7.8.3"
+ resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e"
+ integrity sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==
dependencies:
- "@babel/highlight" "^7.0.0"
+ "@babel/highlight" "^7.8.3"
-"@babel/generator@^7.4.0", "@babel/generator@^7.6.0":
- version "7.6.0"
- resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.6.0.tgz#e2c21efbfd3293ad819a2359b448f002bfdfda56"
- integrity sha512-Ms8Mo7YBdMMn1BYuNtKuP/z0TgEIhbcyB8HVR6PPNYp4P61lMsABiS4A3VG1qznjXVCf3r+fVHhm4efTYVsySA==
+"@babel/generator@^7.4.0", "@babel/generator@^7.8.3":
+ version "7.8.3"
+ resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.8.3.tgz#0e22c005b0a94c1c74eafe19ef78ce53a4d45c03"
+ integrity sha512-WjoPk8hRpDRqqzRpvaR8/gDUPkrnOOeuT2m8cNICJtZH6mwaCo3v0OKMI7Y6SM1pBtyijnLtAL0HDi41pf41ug==
dependencies:
- "@babel/types" "^7.6.0"
+ "@babel/types" "^7.8.3"
jsesc "^2.5.1"
lodash "^4.17.13"
source-map "^0.5.0"
- trim-right "^1.0.1"
-"@babel/helper-function-name@^7.1.0":
- version "7.1.0"
- resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.1.0.tgz#a0ceb01685f73355d4360c1247f582bfafc8ff53"
- integrity sha512-A95XEoCpb3TO+KZzJ4S/5uW5fNe26DjBGqf1o9ucyLyCmi1dXq/B3c8iaWTfBk3VvetUxl16e8tIrd5teOCfGw==
+"@babel/helper-function-name@^7.8.3":
+ version "7.8.3"
+ resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz#eeeb665a01b1f11068e9fb86ad56a1cb1a824cca"
+ integrity sha512-BCxgX1BC2hD/oBlIFUgOCQDOPV8nSINxCwM3o93xP4P9Fq6aV5sgv2cOOITDMtCfQ+3PvHp3l689XZvAM9QyOA==
dependencies:
- "@babel/helper-get-function-arity" "^7.0.0"
- "@babel/template" "^7.1.0"
- "@babel/types" "^7.0.0"
+ "@babel/helper-get-function-arity" "^7.8.3"
+ "@babel/template" "^7.8.3"
+ "@babel/types" "^7.8.3"
-"@babel/helper-get-function-arity@^7.0.0":
- version "7.0.0"
- resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0.tgz#83572d4320e2a4657263734113c42868b64e49c3"
- integrity sha512-r2DbJeg4svYvt3HOS74U4eWKsUAMRH01Z1ds1zx8KNTPtpTL5JAsdFv8BNyOpVqdFhHkkRDIg5B4AsxmkjAlmQ==
+"@babel/helper-get-function-arity@^7.8.3":
+ version "7.8.3"
+ resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz#b894b947bd004381ce63ea1db9f08547e920abd5"
+ integrity sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA==
dependencies:
- "@babel/types" "^7.0.0"
+ "@babel/types" "^7.8.3"
-"@babel/helper-split-export-declaration@^7.4.4":
- version "7.4.4"
- resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.4.tgz#ff94894a340be78f53f06af038b205c49d993677"
- integrity sha512-Ro/XkzLf3JFITkW6b+hNxzZ1n5OQ80NvIUdmHspih1XAhtN3vPTuUFT4eQnela+2MaZ5ulH+iyP513KJrxbN7Q==
+"@babel/helper-split-export-declaration@^7.8.3":
+ version "7.8.3"
+ resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz#31a9f30070f91368a7182cf05f831781065fc7a9"
+ integrity sha512-3x3yOeyBhW851hroze7ElzdkeRXQYQbFIb7gLK1WQYsw2GWDay5gAJNw1sWJ0VFP6z5J1whqeXH/WCdCjZv6dA==
dependencies:
- "@babel/types" "^7.4.4"
+ "@babel/types" "^7.8.3"
-"@babel/highlight@^7.0.0":
- version "7.5.0"
- resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.5.0.tgz#56d11312bd9248fa619591d02472be6e8cb32540"
- integrity sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ==
+"@babel/highlight@^7.8.3":
+ version "7.8.3"
+ resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.8.3.tgz#28f173d04223eaaa59bc1d439a3836e6d1265797"
+ integrity sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==
dependencies:
chalk "^2.0.0"
esutils "^2.0.2"
js-tokens "^4.0.0"
-"@babel/parser@^7.4.3":
- version "7.5.5"
- resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.5.5.tgz#02f077ac8817d3df4a832ef59de67565e71cca4b"
- integrity sha512-E5BN68cqR7dhKan1SfqgPGhQ178bkVKpXTPEXnFJBrEt8/DKRZlybmy+IgYLTeN7tp1R5Ccmbm2rBk17sHYU3g==
+"@babel/parser@^7.4.3", "@babel/parser@^7.8.3":
+ version "7.8.3"
+ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.8.3.tgz#790874091d2001c9be6ec426c2eed47bc7679081"
+ integrity sha512-/V72F4Yp/qmHaTALizEm9Gf2eQHV3QyTL3K0cNfijwnMnb1L+LDlAubb/ZnSdGAVzVSWakujHYs1I26x66sMeQ==
-"@babel/parser@^7.6.0":
- version "7.6.0"
- resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.6.0.tgz#3e05d0647432a8326cb28d0de03895ae5a57f39b"
- integrity sha512-+o2q111WEx4srBs7L9eJmcwi655eD8sXniLqMB93TBK9GrNzGrxDWSjiqz2hLU0Ha8MTXFIP0yd9fNdP+m43ZQ==
-
-"@babel/template@^7.1.0", "@babel/template@^7.4.0":
- version "7.6.0"
- resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.6.0.tgz#7f0159c7f5012230dad64cca42ec9bdb5c9536e6"
- integrity sha512-5AEH2EXD8euCk446b7edmgFdub/qfH1SN6Nii3+fyXP807QRx9Q73A2N5hNwRRslC2H9sNzaFhsPubkS4L8oNQ==
+"@babel/template@^7.4.0", "@babel/template@^7.8.3":
+ version "7.8.3"
+ resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.8.3.tgz#e02ad04fe262a657809327f578056ca15fd4d1b8"
+ integrity sha512-04m87AcQgAFdvuoyiQ2kgELr2tV8B4fP/xJAVUL3Yb3bkNdMedD3d0rlSQr3PegP0cms3eHjl1F7PWlvWbU8FQ==
dependencies:
- "@babel/code-frame" "^7.0.0"
- "@babel/parser" "^7.6.0"
- "@babel/types" "^7.6.0"
+ "@babel/code-frame" "^7.8.3"
+ "@babel/parser" "^7.8.3"
+ "@babel/types" "^7.8.3"
"@babel/traverse@^7.4.3":
- version "7.6.0"
- resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.6.0.tgz#389391d510f79be7ce2ddd6717be66d3fed4b516"
- integrity sha512-93t52SaOBgml/xY74lsmt7xOR4ufYvhb5c5qiM6lu4J/dWGMAfAh6eKw4PjLes6DI6nQgearoxnFJk60YchpvQ==
+ version "7.8.3"
+ resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.8.3.tgz#a826215b011c9b4f73f3a893afbc05151358bf9a"
+ integrity sha512-we+a2lti+eEImHmEXp7bM9cTxGzxPmBiVJlLVD+FuuQMeeO7RaDbutbgeheDkw+Xe3mCfJHnGOWLswT74m2IPg==
dependencies:
- "@babel/code-frame" "^7.5.5"
- "@babel/generator" "^7.6.0"
- "@babel/helper-function-name" "^7.1.0"
- "@babel/helper-split-export-declaration" "^7.4.4"
- "@babel/parser" "^7.6.0"
- "@babel/types" "^7.6.0"
+ "@babel/code-frame" "^7.8.3"
+ "@babel/generator" "^7.8.3"
+ "@babel/helper-function-name" "^7.8.3"
+ "@babel/helper-split-export-declaration" "^7.8.3"
+ "@babel/parser" "^7.8.3"
+ "@babel/types" "^7.8.3"
debug "^4.1.0"
globals "^11.1.0"
lodash "^4.17.13"
-"@babel/types@^7.0.0", "@babel/types@^7.4.0", "@babel/types@^7.4.4", "@babel/types@^7.6.0":
- version "7.6.1"
- resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.6.1.tgz#53abf3308add3ac2a2884d539151c57c4b3ac648"
- integrity sha512-X7gdiuaCmA0uRjCmRtYJNAVCc/q+5xSgsfKJHqMN4iNLILX39677fJE1O40arPMh0TTtS9ItH67yre6c7k6t0g==
+"@babel/types@^7.4.0", "@babel/types@^7.8.3":
+ version "7.8.3"
+ resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.8.3.tgz#5a383dffa5416db1b73dedffd311ffd0788fb31c"
+ integrity sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==
dependencies:
esutils "^2.0.2"
lodash "^4.17.13"
to-fast-properties "^2.0.0"
+"@fullcalendar/core@^4.3.1":
+ version "4.3.1"
+ resolved "https://registry.yarnpkg.com/@fullcalendar/core/-/core-4.3.1.tgz#a061c6d2e998d4155439dbc8aefdfe01cdf648d8"
+ integrity sha512-Eh+p/wpMkWGu26f8NpfQK9ecQMoZxX/aopv+0+4/CH+Ip0paP6iEc40JYgTz7RFl0bFqV1dvwyGyUZ4+9ZeySA==
+
"@ngtools/webpack@8.2.2":
version "8.2.2"
resolved "https://registry.yarnpkg.com/@ngtools/webpack/-/webpack-8.2.2.tgz#61ba246ba4aff5e03daa0abea76947647b0da25e"
@@ -360,9 +368,9 @@
"@types/node" "*"
"@types/jasmine@*":
- version "3.4.0"
- resolved "https://registry.yarnpkg.com/@types/jasmine/-/jasmine-3.4.0.tgz#018c56db42400c092aae47de21f710b7f04e4b06"
- integrity sha512-6pUnBg6DuSB55xnxJ5+gW9JOkFrPsXkYAuqqEE8oyrpgDiPQ+TZ+1Zt4S+CHcRJcxyNYXeIXG4vHSzdF6y9Uvw==
+ version "3.5.0"
+ resolved "https://registry.yarnpkg.com/@types/jasmine/-/jasmine-3.5.0.tgz#2ad2006c8a937d20df20a8fee86071d0f730ef99"
+ integrity sha512-kGCRI9oiCxFS6soGKlyzhMzDydfcPix9PpTkr7h11huxOxhWwP37Tg7DYBaQ18eQTNreZEuLkhpbGSqVNZPnnw==
"@types/jasmine@~3.3.8":
version "3.3.16"
@@ -370,9 +378,9 @@
integrity sha512-Nveep4zKGby8uIvG2AEUyYOwZS8uVeHK9TgbuWYSawUDDdIgfhCKz28QzamTo//Jk7Ztt9PO3f+vzlB6a4GV1Q==
"@types/jasminewd2@~2.0.3":
- version "2.0.6"
- resolved "https://registry.yarnpkg.com/@types/jasminewd2/-/jasminewd2-2.0.6.tgz#2f57a8d9875a6c9ef328a14bd070ba14a055ac39"
- integrity sha512-2ZOKrxb8bKRmP/po5ObYnRDgFE4i+lQiEB27bAMmtMWLgJSqlIDqlLx6S0IRorpOmOPRQ6O80NujTmQAtBkeNw==
+ version "2.0.8"
+ resolved "https://registry.yarnpkg.com/@types/jasminewd2/-/jasminewd2-2.0.8.tgz#67afe5098d5ef2386073a7b7384b69a840dfe93b"
+ integrity sha512-d9p31r7Nxk0ZH0U39PTH0hiDlJ+qNVGjlt1ucOoTUptxb2v+Y5VMnsxfwN+i3hK4yQnqBi3FMmoMFcd1JHDxdg==
dependencies:
"@types/jasmine" "*"
@@ -387,9 +395,9 @@
integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==
"@types/node@*":
- version "12.7.4"
- resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.4.tgz#64db61e0359eb5a8d99b55e05c729f130a678b04"
- integrity sha512-W0+n1Y+gK/8G2P/piTkBBN38Qc5Q1ZSO6B5H3QmPCUewaiXOo2GCAWZ4ElZCcNhjJuBSUSLGFUJnmlCn5+nxOQ==
+ version "13.1.7"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-13.1.7.tgz#db51d28b8dfacfe4fb2d0da88f5eb0a2eca00675"
+ integrity sha512-HU0q9GXazqiKwviVxg9SI/+t/nAsGkvLDkIdxz+ObejG2nX6Si00TeLqHMoS+a/1tjH7a8YpKVQwtgHuMQsldg==
"@types/node@~8.9.4":
version "8.9.5"
@@ -589,11 +597,6 @@ JSONStream@^1.3.4:
jsonparse "^1.2.0"
through ">=2.2.7 <3"
-abbrev@1:
- version "1.1.1"
- resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
- integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==
-
accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7:
version "1.3.7"
resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd"
@@ -603,9 +606,9 @@ accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7:
negotiator "0.6.2"
acorn@^6.2.0:
- version "6.3.0"
- resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.3.0.tgz#0087509119ffa4fc0a0041d1e93a417e68cb856e"
- integrity sha512-/czfa8BwS88b9gWQVhc8eknunSA2DoJpJyTQkhheIf5E48u1N0R4q/YxxsAeqRrmK9TQ/uYfgLDfZo91UlANIA==
+ version "6.4.0"
+ resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.0.tgz#b659d2ffbafa24baf5db1cdbb2c94a983ecd2784"
+ integrity sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw==
adm-zip@^0.4.9:
version "0.4.13"
@@ -728,10 +731,10 @@ anymatch@^2.0.0:
micromatch "^3.1.4"
normalize-path "^2.1.1"
-anymatch@^3.0.1:
- version "3.1.0"
- resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.0.tgz#e609350e50a9313b472789b2f14ef35808ee14d6"
- integrity sha512-Ozz7l4ixzI7Oxj2+cw+p0tVUt27BpaJ+1+q1TCeANWxHpvyn2+Un+YamBdfKu0uh8xLodGhoa1v7595NhKDAuA==
+anymatch@~3.1.1:
+ version "3.1.1"
+ resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142"
+ integrity sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==
dependencies:
normalize-path "^3.0.0"
picomatch "^2.0.4"
@@ -748,19 +751,11 @@ append-transform@^1.0.0:
dependencies:
default-require-extensions "^2.0.0"
-aproba@^1.0.3, aproba@^1.1.1:
+aproba@^1.1.1:
version "1.2.0"
resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a"
integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==
-are-we-there-yet@~1.1.2:
- version "1.1.5"
- resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21"
- integrity sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==
- dependencies:
- delegates "^1.0.0"
- readable-stream "^2.0.6"
-
argparse@^1.0.7:
version "1.0.10"
resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911"
@@ -882,11 +877,6 @@ async-limiter@~1.0.0:
resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd"
integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==
-async@^1.5.2:
- version "1.5.2"
- resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
- integrity sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=
-
async@^2.5.0, async@^2.6.2:
version "2.6.3"
resolved "https://registry.yarnpkg.com/async/-/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff"
@@ -899,7 +889,7 @@ asynckit@^0.4.0:
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
integrity sha1-x57Zf380y48robyXkLzDZkdLS3k=
-atob@^2.1.1:
+atob@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9"
integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==
@@ -923,11 +913,11 @@ aws-sign2@~0.7.0:
integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=
aws4@^1.8.0:
- version "1.8.0"
- resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f"
- integrity sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==
+ version "1.9.1"
+ resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.9.1.tgz#7e33d8f7d449b3f673cd72deb9abdc552dbe528e"
+ integrity sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug==
-axobject-query@^2.0.2:
+axobject-query@2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-2.0.2.tgz#ea187abe5b9002b377f925d8bf7d1c561adf38f9"
integrity sha512-MCeek8ZH7hKyO1rWUbKNQBbl4l2eY0ntk7OGi+q0RlafrCnfPxC06WZA+uebCfmYp4mNU9jRBP1AhGyf8+W3ww==
@@ -1085,6 +1075,13 @@ binary-extensions@^2.0.0:
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.0.0.tgz#23c0df14f6a88077f5f986c0d167ec03c3d5537c"
integrity sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow==
+bindings@^1.5.0:
+ version "1.5.0"
+ resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df"
+ integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==
+ dependencies:
+ file-uri-to-path "1.0.0"
+
blob@0.0.5:
version "0.0.5"
resolved "https://registry.yarnpkg.com/blob/-/blob-0.0.5.tgz#d680eeef25f8cd91ad533f5b01eed48e64caf683"
@@ -1098,9 +1095,9 @@ blocking-proxy@^1.0.0:
minimist "^1.2.0"
bluebird@^3.3.0, bluebird@^3.5.1, bluebird@^3.5.3, bluebird@^3.5.5:
- version "3.5.5"
- resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.5.tgz#a8d0afd73251effbbd5fe384a77d73003c17a71f"
- integrity sha512-5am6HnnfN+urzt4yfg7IgTbotDjIT/u8AJpEt0sIU9FtXfVeezXAPKswrG+xKUCOYAINpSdgZVDU6QFh+cuH3w==
+ version "3.7.2"
+ resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f"
+ integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==
bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0:
version "4.11.8"
@@ -1159,7 +1156,7 @@ braces@^2.3.1, braces@^2.3.2:
split-string "^3.0.2"
to-regex "^3.0.1"
-braces@^3.0.2:
+braces@~3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==
@@ -1240,13 +1237,13 @@ browserslist@4.6.6:
node-releases "^1.1.25"
browserslist@^4.6.3:
- version "4.7.0"
- resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.7.0.tgz#9ee89225ffc07db03409f2fee524dc8227458a17"
- integrity sha512-9rGNDtnj+HaahxiVV38Gn8n8Lr8REKsel68v1sPFfIGEK6uSXTY3h9acgiT1dZVtOOUtifo/Dn8daDQ5dUgVsA==
+ version "4.8.3"
+ resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.8.3.tgz#65802fcd77177c878e015f0e3189f2c4f627ba44"
+ integrity sha512-iU43cMMknxG1ClEZ2MDKeonKE1CCrFVkQK2AqO2YWFmvIrx4JWrvQ4w4hQez6EpVI8rHTtqh/ruHHDHSOKxvUg==
dependencies:
- caniuse-lite "^1.0.30000989"
- electron-to-chromium "^1.3.247"
- node-releases "^1.1.29"
+ caniuse-lite "^1.0.30001017"
+ electron-to-chromium "^1.3.322"
+ node-releases "^1.1.44"
browserstack@^1.5.1:
version "1.5.3"
@@ -1289,9 +1286,9 @@ buffer-xor@^1.0.3:
integrity sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=
buffer@^4.3.0:
- version "4.9.1"
- resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.1.tgz#6d1bb601b07a4efced97094132093027c95bc298"
- integrity sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=
+ version "4.9.2"
+ resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.2.tgz#230ead344002988644841ab0244af8c44bbe3ef8"
+ integrity sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==
dependencies:
base64-js "^1.0.2"
ieee754 "^1.1.4"
@@ -1412,10 +1409,10 @@ caniuse-lite@1.0.30000986:
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000986.tgz#f34350e367cc900509511574817ac092112bf7ab"
integrity sha512-pM+LnkoAX0+QnIH3tpW5EnkmfpEoqOD8FAcoBvsl3Xh6DXkgctiCxeCbXphP/k3XJtJzm+zOAJbi6U6IVkpWZQ==
-caniuse-lite@^1.0.30000980, caniuse-lite@^1.0.30000984, caniuse-lite@^1.0.30000989:
- version "1.0.30000989"
- resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000989.tgz#b9193e293ccf7e4426c5245134b8f2a56c0ac4b9"
- integrity sha512-vrMcvSuMz16YY6GSVZ0dWDTJP8jqk3iFQ/Aq5iqblPwxSVVZI+zxDyTX0VPqtQsDnfdrBDcsmhgTEOh5R8Lbpw==
+caniuse-lite@^1.0.30000980, caniuse-lite@^1.0.30000984, caniuse-lite@^1.0.30001017:
+ version "1.0.30001021"
+ resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001021.tgz#e75ed1ef6dbadd580ac7e7720bb16f07b083f254"
+ integrity sha512-wuMhT7/hwkgd8gldgp2jcrUjOU9RXJ4XxGumQeOsUr91l3WwmM68Cpa/ymCnWEDqakwFXhuDQbaKNHXBPgeE9g==
canonical-path@1.0.0:
version "1.0.0"
@@ -1476,19 +1473,19 @@ chartjs-color@^2.1.0:
color-convert "^1.9.3"
"chokidar@>=2.0.0 <4.0.0":
- version "3.0.2"
- resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.0.2.tgz#0d1cd6d04eb2df0327446188cd13736a3367d681"
- integrity sha512-c4PR2egjNjI1um6bamCQ6bUNPDiyofNQruHvKgHQ4gDUP/ITSVSzNsiI5OWtHOsX323i5ha/kk4YmOZ1Ktg7KA==
+ version "3.3.1"
+ resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.3.1.tgz#c84e5b3d18d9a4d77558fef466b1bf16bbeb3450"
+ integrity sha512-4QYCEWOcK3OJrxwvyyAOxFuhpvOVCYkr33LPfFNBjAD/w3sEzWsp2BUOkI4l9bHvWioAd0rc6NlHUOEaWkTeqg==
dependencies:
- anymatch "^3.0.1"
- braces "^3.0.2"
- glob-parent "^5.0.0"
- is-binary-path "^2.1.0"
- is-glob "^4.0.1"
- normalize-path "^3.0.0"
- readdirp "^3.1.1"
+ anymatch "~3.1.1"
+ braces "~3.0.2"
+ glob-parent "~5.1.0"
+ is-binary-path "~2.1.0"
+ is-glob "~4.0.1"
+ normalize-path "~3.0.0"
+ readdirp "~3.3.0"
optionalDependencies:
- fsevents "^2.0.6"
+ fsevents "~2.1.2"
chokidar@^2.0.2, chokidar@^2.0.3, chokidar@^2.1.1, chokidar@^2.1.6:
version "2.1.8"
@@ -1510,9 +1507,9 @@ chokidar@^2.0.2, chokidar@^2.0.3, chokidar@^2.1.1, chokidar@^2.1.6:
fsevents "^1.2.7"
chownr@^1.1.1:
- version "1.1.2"
- resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.2.tgz#a18f1e0b269c8a6a5d3c86eb298beb14c3dd7bf6"
- integrity sha512-GkfeAQh+QNy3wquu9oIZr6SS5x7wGdSgNQvD10X3r+AZr1Oys22HW8kAmDMvNg2+Dm0TeGaEuO8gFwdBXxwO8A==
+ version "1.1.3"
+ resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.3.tgz#42d837d5239688d55f303003a508230fa6727142"
+ integrity sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw==
chrome-trace-event@^1.0.0:
version "1.0.2"
@@ -1607,13 +1604,13 @@ code-point-at@^1.0.0:
integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=
codelyzer@^5.0.0:
- version "5.1.0"
- resolved "https://registry.yarnpkg.com/codelyzer/-/codelyzer-5.1.0.tgz#a0eb89497622679ea4c53b6974aa45598f06a4b5"
- integrity sha512-QiyY2/oDQnYx4mAVEDqr+z9MwrOto18tQFjExiuRChXCy0yvngS5fQpWIxvAGpbOmZFiR1PRTRLbEI71u10maA==
+ version "5.2.1"
+ resolved "https://registry.yarnpkg.com/codelyzer/-/codelyzer-5.2.1.tgz#44fd431e128009f38c761828c33ebacba9549d32"
+ integrity sha512-awBZXFcJUyC5HMYXiHzjr3D24tww2l1D1OqtfA9vUhEtYr32a65A+Gblm/OvsO+HuKLYzn8EDMw1inSM3VbxWA==
dependencies:
app-root-path "^2.2.1"
aria-query "^3.0.0"
- axobject-query "^2.0.2"
+ axobject-query "2.0.2"
css-selector-tokenizer "^0.7.1"
cssauron "^1.4.0"
damerau-levenshtein "^1.0.4"
@@ -1652,9 +1649,9 @@ colors@1.1.2:
integrity sha1-FopHAXVran9RoSzgyXv6KMCE7WM=
colors@^1.1.0:
- version "1.3.3"
- resolved "https://registry.yarnpkg.com/colors/-/colors-1.3.3.tgz#39e005d546afe01e01f9c4ca8fa50f686a01205d"
- integrity sha512-mmGt/1pZqYRjMxB1axhTo16/snVZ5krrKkcmMeVKxzECMMXoCgnvTPp10QgHfcbQZw8Dq2jMNG6je4JlWU0gWg==
+ version "1.4.0"
+ resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78"
+ integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==
combined-stream@^1.0.6, combined-stream@~1.0.6:
version "1.0.8"
@@ -1663,12 +1660,7 @@ combined-stream@^1.0.6, combined-stream@~1.0.6:
dependencies:
delayed-stream "~1.0.0"
-commander@^2.11.0, commander@^2.12.1, commander@^2.20.0, commander@~2.20.0:
- version "2.20.0"
- resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.0.tgz#d58bb2b5c1ee8f87b0d340027e9e94e222c5a422"
- integrity sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==
-
-commander@^2.19.0:
+commander@^2.11.0, commander@^2.12.1, commander@^2.19.0, commander@^2.20.0:
version "2.20.3"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
@@ -1704,11 +1696,11 @@ component-inherit@0.0.3:
integrity sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM=
compressible@~2.0.16:
- version "2.0.17"
- resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.17.tgz#6e8c108a16ad58384a977f3a482ca20bff2f38c1"
- integrity sha512-BGHeLCK1GV7j1bSmQQAi26X+GgWcTjLr/0tzSvMCl3LH1w1IJ4PFSPoV5316b30cneTziC+B1a+3OjoSUcQYmw==
+ version "2.0.18"
+ resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba"
+ integrity sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==
dependencies:
- mime-db ">= 1.40.0 < 2"
+ mime-db ">= 1.43.0 < 2"
compression@^1.7.4:
version "1.7.4"
@@ -1754,16 +1746,9 @@ connect@^3.6.0:
utils-merge "1.0.1"
console-browserify@^1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10"
- integrity sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=
- dependencies:
- date-now "^0.1.4"
-
-console-control-strings@^1.0.0, console-control-strings@~1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e"
- integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.2.0.tgz#67063cef57ceb6cf4993a2ab3a55840ae8c49336"
+ integrity sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==
constants-browserify@^1.0.0:
version "1.0.0"
@@ -1783,9 +1768,9 @@ content-type@~1.0.4:
integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==
convert-source-map@^1.5.0, convert-source-map@^1.5.1:
- version "1.6.0"
- resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.6.0.tgz#51b537a8c43e0f04dec1993bffcdd504e758ac20"
- integrity sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==
+ version "1.7.0"
+ resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442"
+ integrity sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==
dependencies:
safe-buffer "~5.1.1"
@@ -1845,9 +1830,9 @@ core-js@3.1.4:
integrity sha512-YNZN8lt82XIMLnLirj9MhKDFZHalwzzrL9YLt6eb0T5D0EDl4IQ90IGkua8mHbnxNrkj1d8hbdizMc0Qmg1WnQ==
core-js@^2.2.0, core-js@^2.4.0:
- version "2.6.9"
- resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.9.tgz#6b4b214620c834152e179323727fc19741b084f2"
- integrity sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==
+ version "2.6.11"
+ resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c"
+ integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==
core-util-is@1.0.2, core-util-is@~1.0.0:
version "1.0.2"
@@ -1976,11 +1961,6 @@ date-format@^2.0.0:
resolved "https://registry.yarnpkg.com/date-format/-/date-format-2.1.0.tgz#31d5b5ea211cf5fd764cd38baf9d033df7e125cf"
integrity sha512-bYQuGLeFxhkxNOF3rcMtiZxvCBAquGzZm6oWA1oZ0g2THUzivaRhv8uOhdr19LmoobSOLoIAxeUK2RdbM8IFTA==
-date-now@^0.1.4:
- version "0.1.4"
- resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b"
- integrity sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=
-
debug@*, debug@^4.1.0, debug@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791"
@@ -2002,7 +1982,7 @@ debug@3.1.0, debug@~3.1.0:
dependencies:
ms "2.0.0"
-debug@^3.0.0, debug@^3.1.0, debug@^3.2.5, debug@^3.2.6:
+debug@^3.0.0, debug@^3.1.0, debug@^3.1.1, debug@^3.2.5, debug@^3.2.6:
version "3.2.6"
resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"
integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==
@@ -2025,9 +2005,9 @@ decode-uri-component@^0.2.0:
integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=
deep-equal@^1.0.1:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.1.0.tgz#3103cdf8ab6d32cf4a8df7865458f2b8d33f3745"
- integrity sha512-ZbfWJq/wN1Z273o7mUSjILYqehAktR2NVoSrOukDkU9kg2v/Uv89yU4Cvz8seJeAmtN5oqiefKq8FPuXOboqLw==
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.1.1.tgz#b5c98c942ceffaf7cb051e24e1434a25a2e6076a"
+ integrity sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==
dependencies:
is-arguments "^1.0.4"
is-date-object "^1.0.1"
@@ -2036,11 +2016,6 @@ deep-equal@^1.0.1:
object-keys "^1.1.1"
regexp.prototype.flags "^1.2.0"
-deep-extend@^0.6.0:
- version "0.6.0"
- resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac"
- integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==
-
default-gateway@^4.2.0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/default-gateway/-/default-gateway-4.2.0.tgz#167104c7500c2115f6dd69b0a536bb8ed720552b"
@@ -2056,7 +2031,7 @@ default-require-extensions@^2.0.0:
dependencies:
strip-bom "^3.0.0"
-define-properties@^1.1.2:
+define-properties@^1.1.2, define-properties@^1.1.3:
version "1.1.3"
resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1"
integrity sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==
@@ -2121,11 +2096,6 @@ delegate@^3.1.2:
resolved "https://registry.yarnpkg.com/delegate/-/delegate-3.2.0.tgz#b66b71c3158522e8ab5744f720d8ca0c2af59166"
integrity sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==
-delegates@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a"
- integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=
-
depd@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9"
@@ -2137,9 +2107,9 @@ dependency-graph@^0.7.2:
integrity sha512-KqtH4/EZdtdfWX0p6MGP9jljvxSY6msy/pRUD4jgNwVpv3v1QmNLlsB3LDSSUg79BRVSn7jI1QPRtArGABovAQ==
des.js@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.0.tgz#c074d2e2aa6a8a9a07dbd61f9a15c2cd83ec8ecc"
- integrity sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843"
+ integrity sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==
dependencies:
inherits "^2.0.1"
minimalistic-assert "^1.0.0"
@@ -2156,11 +2126,6 @@ detect-indent@^4.0.0:
dependencies:
repeating "^2.0.0"
-detect-libc@^1.0.2:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b"
- integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=
-
detect-node@^2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.0.4.tgz#014ee8f8f669c5c58023da64b8179c083a28c46c"
@@ -2258,15 +2223,15 @@ ee-first@1.1.1:
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=
-electron-to-chromium@^1.3.191, electron-to-chromium@^1.3.247:
- version "1.3.253"
- resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.253.tgz#bc3b2c94c2a109c08d37b04f526dc05fdabcbb5b"
- integrity sha512-LAwFRWViiiCSxQ2Lj3mnyEP8atkpAoHSPUnkFoy4mNabbnPHxtfseWvPCGGhewjHQI+ky/V4LdlTyyI0d3YPXA==
+electron-to-chromium@^1.3.191, electron-to-chromium@^1.3.322:
+ version "1.3.334"
+ resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.334.tgz#0588359f4ac5c4185ebacdf5fc7e1937e2c99872"
+ integrity sha512-RcjJhpsVaX0X6ntu/WSBlW9HE9pnCgXS9B8mTUObl1aDxaiOa0Lu+NMveIS5IDC+VELzhM32rFJDCC+AApVwcA==
elliptic@^6.0.0:
- version "6.5.1"
- resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.1.tgz#c380f5f909bf1b9b4428d028cd18d3b0efd6b52b"
- integrity sha512-xvJINNLbTeWQjrl6X+7eQCrIy/YPv5XCpKW6kB5mKvtnGILoLDcySuwomfdzt0BMdLNVnuRNTuzKNHj0bva1Cg==
+ version "6.5.2"
+ resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.2.tgz#05c5678d7173c049d8ca433552224a495d0e3762"
+ integrity sha512-f4x70okzZbIQl/NSRLkI/+tteV/9WqL98zx+SQ69KbXxmVrmjwsNUPn/gYJJ0sHvEak24cZgHIPegRePAtA/xw==
dependencies:
bn.js "^4.4.0"
brorand "^1.0.1"
@@ -2299,9 +2264,9 @@ encoding@^0.1.11:
iconv-lite "~0.4.13"
end-of-stream@^1.0.0, end-of-stream@^1.1.0:
- version "1.4.1"
- resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.1.tgz#ed29634d19baba463b6ce6b80a37213eab71ec43"
- integrity sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==
+ version "1.4.4"
+ resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0"
+ integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==
dependencies:
once "^1.4.0"
@@ -2345,7 +2310,7 @@ engine.io@~3.2.0:
engine.io-parser "~2.1.0"
ws "~3.3.1"
-enhanced-resolve@4.1.0, enhanced-resolve@^4.1.0:
+enhanced-resolve@4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.1.0.tgz#41c7e0bfdfe74ac1ffe1e57ad6a5c6c9f3742a7f"
integrity sha512-F/7vkyTtyc/llOIn8oWclcB25KdRaiPBpZYDgJHgh/UHtpgT2p2eldQgtQnLtUvfMKPKxbRaQM/hHkvLHt1Vng==
@@ -2354,6 +2319,15 @@ enhanced-resolve@4.1.0, enhanced-resolve@^4.1.0:
memory-fs "^0.4.0"
tapable "^1.0.0"
+enhanced-resolve@^4.1.0:
+ version "4.1.1"
+ resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.1.1.tgz#2937e2b8066cd0fe7ce0990a98f0d71a35189f66"
+ integrity sha512-98p2zE+rL7/g/DzMHMTF4zZlCgeVdJ7yr6xzEpJRYwFYrGi9ANdn5DnJURg6RpBkyk60XYDnWIv51VfIhfNGuA==
+ dependencies:
+ graceful-fs "^4.1.2"
+ memory-fs "^0.5.0"
+ tapable "^1.0.0"
+
ent@~2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/ent/-/ent-2.2.0.tgz#e964219325a21d05f44466a2f686ed6ce5f5dd1d"
@@ -2378,26 +2352,27 @@ error-ex@^1.3.1:
dependencies:
is-arrayish "^0.2.1"
-es-abstract@^1.5.1:
- version "1.14.2"
- resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.14.2.tgz#7ce108fad83068c8783c3cdf62e504e084d8c497"
- integrity sha512-DgoQmbpFNOofkjJtKwr87Ma5EW4Dc8fWhD0R+ndq7Oc456ivUfGOOP6oAZTTKl5/CcNMP+EN+e3/iUzgE0veZg==
+es-abstract@^1.17.0-next.1:
+ version "1.17.1"
+ resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.17.1.tgz#1331afa4cba2628b63e988104b9846c2d631b380"
+ integrity sha512-WmWNHWmm/LDwK8jaeZic/g6sU1ZckM+vvOyCV1qFRhJJ6hzve6DRgthNQB7Lra1ocrw68HexLKYgtdxIPcb3Fg==
dependencies:
- es-to-primitive "^1.2.0"
+ es-to-primitive "^1.2.1"
function-bind "^1.1.1"
has "^1.0.3"
- has-symbols "^1.0.0"
- is-callable "^1.1.4"
- is-regex "^1.0.4"
- object-inspect "^1.6.0"
+ has-symbols "^1.0.1"
+ is-callable "^1.1.5"
+ is-regex "^1.0.5"
+ object-inspect "^1.7.0"
object-keys "^1.1.1"
- string.prototype.trimleft "^2.0.0"
- string.prototype.trimright "^2.0.0"
+ object.assign "^4.1.0"
+ string.prototype.trimleft "^2.1.1"
+ string.prototype.trimright "^2.1.1"
-es-to-primitive@^1.2.0:
- version "1.2.0"
- resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.0.tgz#edf72478033456e8dda8ef09e00ad9650707f377"
- integrity sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==
+es-to-primitive@^1.2.1:
+ version "1.2.1"
+ resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a"
+ integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==
dependencies:
is-callable "^1.1.4"
is-date-object "^1.0.1"
@@ -2460,15 +2435,20 @@ etag@~1.8.1:
resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=
-eventemitter3@^3.0.0:
- version "3.1.2"
- resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7"
- integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q==
+eventemitter3@^2.0.3:
+ version "2.0.3"
+ resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-2.0.3.tgz#b5e1079b59fb5e1ba2771c0a993be060a58c99ba"
+ integrity sha1-teEHm1n7XhuidxwKmTvgYKWMmbo=
+
+eventemitter3@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.0.tgz#d65176163887ee59f386d64c82610b696a4a74eb"
+ integrity sha512-qerSRB0p+UDEssxTtm6EDKcE7W4OaoisfIMl4CngyEhjpYglocpNg6UEqCvemdGhosAsg4sO2dXJOdyBifPGCg==
events@^3.0.0:
- version "3.0.0"
- resolved "https://registry.yarnpkg.com/events/-/events-3.0.0.tgz#9a0a0dfaf62893d92b875b8f2698ca4114973e88"
- integrity sha512-Dc381HFWJzEOhQ+d8pkNon++bk9h6cdAoAj4iE6Q4y6xgTzySWXlKn05/TVNpjnfRqi/X0EpJEJohPjNI3zpVA==
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/events/-/events-3.1.0.tgz#84279af1b34cb75aa88bf5ff291f6d0bd9b31a59"
+ integrity sha512-Rv+u8MLHNOdMjTAFeT3nCjHn2aGlx435FP/sDHNaRhDEMwyI/aB22Kj2qIN8R0cw3z28psEQLYwxVKLsKrMgWg==
eventsource@^1.0.7:
version "1.0.7"
@@ -2567,7 +2547,7 @@ extend-shallow@^3.0.0, extend-shallow@^3.0.2:
assign-symbols "^1.0.0"
is-extendable "^1.0.1"
-extend@^3.0.0, extend@~3.0.2:
+extend@^3.0.0, extend@^3.0.2, extend@~3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa"
integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==
@@ -2615,11 +2595,21 @@ fast-deep-equal@^2.0.1:
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49"
integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=
-fast-json-stable-stringify@2.0.0, fast-json-stable-stringify@^2.0.0:
+fast-diff@1.1.2:
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.1.2.tgz#4b62c42b8e03de3f848460b639079920695d0154"
+ integrity sha512-KaJUt+M9t1qaIteSvjc6P3RbMdXsNhK61GRftR6SNxqmhthcd9MGIi4T+o0jD8LUSpSnSKXE20nLtJ3fOHxQig==
+
+fast-json-stable-stringify@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2"
integrity sha1-1RQsDK7msRifh9OnYREGT4bIu/I=
+fast-json-stable-stringify@^2.0.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633"
+ integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==
+
fastparse@^1.1.1:
version "1.1.2"
resolved "https://registry.yarnpkg.com/fastparse/-/fastparse-1.1.2.tgz#91728c5a5942eced8531283c79441ee4122c35a9"
@@ -2659,6 +2649,11 @@ file-loader@4.1.0:
loader-utils "^1.2.3"
schema-utils "^2.0.0"
+file-uri-to-path@1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd"
+ integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==
+
fileset@^2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/fileset/-/fileset-2.0.3.tgz#8e7548a96d3cc2327ee5e674168723a333bba2a0"
@@ -2806,11 +2801,11 @@ fs-extra@^7.0.1:
universalify "^0.1.0"
fs-minipass@^1.2.5:
- version "1.2.6"
- resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.6.tgz#2c5cc30ded81282bfe8a0d7c7c1853ddeb102c07"
- integrity sha512-crhvyXcMejjv3Z5d2Fa9sf5xLYVCF5O1c71QxbVnbLsmYMBEvDAftewesN/HhY03YRoA7zOMxjNGrF5svGaaeQ==
+ version "1.2.7"
+ resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7"
+ integrity sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==
dependencies:
- minipass "^2.2.1"
+ minipass "^2.6.0"
fs-write-stream-atomic@^1.0.8:
version "1.0.10"
@@ -2828,37 +2823,23 @@ fs.realpath@^1.0.0:
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
fsevents@^1.2.7:
- version "1.2.9"
- resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.9.tgz#3f5ed66583ccd6f400b5a00db6f7e861363e388f"
- integrity sha512-oeyj2H3EjjonWcFjD5NvZNE9Rqe4UW+nQBU2HNeKw0koVLEFIhtyETyAakeAM3de7Z/SW5kcA+fZUait9EApnw==
+ version "1.2.11"
+ resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.11.tgz#67bf57f4758f02ede88fb2a1712fef4d15358be3"
+ integrity sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw==
dependencies:
+ bindings "^1.5.0"
nan "^2.12.1"
- node-pre-gyp "^0.12.0"
-fsevents@^2.0.6:
- version "2.0.7"
- resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.0.7.tgz#382c9b443c6cbac4c57187cdda23aa3bf1ccfc2a"
- integrity sha512-a7YT0SV3RB+DjYcppwVDLtn13UQnmg0SWZS7ezZD0UjnLwXmy8Zm21GMVGLaFGimIqcvyMQaOJBrop8MyOp1kQ==
+fsevents@~2.1.2:
+ version "2.1.2"
+ resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.2.tgz#4c0a1fb34bc68e543b4b82a9ec392bfbda840805"
+ integrity sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA==
-function-bind@^1.0.2, function-bind@^1.1.1:
+function-bind@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
-gauge@~2.7.3:
- version "2.7.4"
- resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7"
- integrity sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=
- dependencies:
- aproba "^1.0.3"
- console-control-strings "^1.0.0"
- has-unicode "^2.0.0"
- object-assign "^4.1.0"
- signal-exit "^3.0.0"
- string-width "^1.0.1"
- strip-ansi "^3.0.1"
- wide-align "^1.1.0"
-
genfun@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/genfun/-/genfun-5.0.0.tgz#9dd9710a06900a5c4a5bf57aca5da4e52fe76537"
@@ -2901,10 +2882,10 @@ glob-parent@^3.1.0:
is-glob "^3.1.0"
path-dirname "^1.0.0"
-glob-parent@^5.0.0:
- version "5.0.0"
- resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.0.0.tgz#1dc99f0f39b006d3e92c2c284068382f0c20e954"
- integrity sha512-Z2RwiujPRGluePM6j699ktJYxmPpJKCfpGA13jz2hmFZC7gKetzrWvg5KN3+OsIFmydGyZ1AVwERCq1w/ZZwRg==
+glob-parent@~5.1.0:
+ version "5.1.0"
+ resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.0.tgz#5f4c1d1e748d30cd73ad2944b3577a81b081e8c2"
+ integrity sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==
dependencies:
is-glob "^4.0.1"
@@ -2920,7 +2901,7 @@ glob@7.0.x:
once "^1.3.0"
path-is-absolute "^1.0.0"
-glob@7.1.4, glob@^7.0.3, glob@^7.0.6, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4:
+glob@7.1.4:
version "7.1.4"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255"
integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==
@@ -2932,6 +2913,18 @@ glob@7.1.4, glob@^7.0.3, glob@^7.0.6, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glo
once "^1.3.0"
path-is-absolute "^1.0.0"
+glob@^7.0.3, glob@^7.0.6, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4:
+ version "7.1.6"
+ resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
+ integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
+ dependencies:
+ fs.realpath "^1.0.0"
+ inflight "^1.0.4"
+ inherits "2"
+ minimatch "^3.0.4"
+ once "^1.3.0"
+ path-is-absolute "^1.0.0"
+
globals@^11.1.0:
version "11.12.0"
resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e"
@@ -2985,26 +2978,15 @@ good-listener@^1.2.2:
delegate "^3.1.2"
graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6:
- version "4.2.2"
- resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.2.tgz#6f0952605d0140c1cfdb138ed005775b92d67b02"
- integrity sha512-IItsdsea19BoLC7ELy13q1iJFNmd7ofZH5+X/pJr90/nRoPEX0DJo1dHDbgtYWOhJhcCgMDTOw84RZ72q6lB+Q==
+ version "4.2.3"
+ resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423"
+ integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==
handle-thing@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.0.tgz#0e039695ff50c93fc288557d696f3c1dc6776754"
integrity sha512-d4sze1JNC454Wdo2fkuyzCr6aHcbL6PGGuFAz0Li/NcOm1tCHGnWDRmJP85dh9IhQErTc2svWFEX5xHIOo//kQ==
-handlebars@^4.1.2:
- version "4.2.0"
- resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.2.0.tgz#57ce8d2175b9bbb3d8b3cf3e4217b1aec8ddcb2e"
- integrity sha512-Kb4xn5Qh1cxAKvQnzNWZ512DhABzyFNmsaJf3OAkWNa4NkaqWcNI8Tao8Tasi0/F4JD9oyG0YxuFyvyR57d+Gw==
- dependencies:
- neo-async "^2.6.0"
- optimist "^0.6.1"
- source-map "^0.6.1"
- optionalDependencies:
- uglify-js "^3.1.4"
-
har-schema@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92"
@@ -3042,15 +3024,10 @@ has-flag@^3.0.0:
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0=
-has-symbols@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44"
- integrity sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=
-
-has-unicode@^2.0.0:
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"
- integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=
+has-symbols@^1.0.0, has-symbols@^1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.1.tgz#9f5214758a44196c406d9bd76cebf81ec2dd31e8"
+ integrity sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==
has-value@^0.3.1:
version "0.3.1"
@@ -3083,7 +3060,7 @@ has-values@^1.0.0:
is-number "^3.0.0"
kind-of "^4.0.0"
-has@^1.0.1, has@^1.0.3:
+has@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==
@@ -3116,9 +3093,9 @@ hmac-drbg@^1.0.0:
minimalistic-crypto-utils "^1.0.1"
hosted-git-info@^2.1.4, hosted-git-info@^2.6.0, hosted-git-info@^2.7.1:
- version "2.8.4"
- resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.4.tgz#44119abaf4bc64692a16ace34700fed9c03e2546"
- integrity sha512-pzXIvANXEFrc5oFFXRMkbLPQ2rXRoDERwDLyrcUxGhaZhgP54BBSl9Oheh7Vv0T090cszWBxPjkQQ5Sq1PbBRQ==
+ version "2.8.5"
+ resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.5.tgz#759cfcf2c4d156ade59b0b2dfabddc42a6b9c70c"
+ integrity sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg==
hpack.js@^2.1.6:
version "2.1.6"
@@ -3135,6 +3112,11 @@ html-entities@^1.2.1:
resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.2.1.tgz#0df29351f0721163515dfb9e5543e5f6eed5162f"
integrity sha1-DfKTUfByEWNRXfueVUPl9u7VFi8=
+html-escaper@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.0.tgz#71e87f931de3fe09e56661ab9a29aadec707b491"
+ integrity sha512-a4u9BeERWGu/S8JiWEAQcdrg9v4QArtP9keViQjGMdff20fBdd8waotXaNmODqBe6uZ3Nafi7K/ho4gCQHV3Ig==
+
http-cache-semantics@^3.8.1:
version "3.8.1"
resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2"
@@ -3201,11 +3183,11 @@ http-proxy-middleware@^0.19.1:
micromatch "^3.1.10"
http-proxy@^1.13.0, http-proxy@^1.17.0:
- version "1.17.0"
- resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.17.0.tgz#7ad38494658f84605e2f6db4436df410f4e5be9a"
- integrity sha512-Taqn+3nNvYRfJ3bGvKfBSRwy1v6eePlm3oc/aWVxZp57DQr5Eq3xhKJi7Z4hZpS8PC3H4qI+Yly5EmFacGuA/g==
+ version "1.18.0"
+ resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.0.tgz#dbe55f63e75a347db7f3d99974f2692a314a6a3a"
+ integrity sha512-84I2iJM/n1d4Hdgc6y2+qY5mDaz2PUVjlg9znE9byl+q0uC3DeByqBGReQu5tpLK0TAqTIXScRUV+dg7+bUPpQ==
dependencies:
- eventemitter3 "^3.0.0"
+ eventemitter3 "^4.0.0"
follow-redirects "^1.0.0"
requires-port "^1.0.0"
@@ -3223,10 +3205,10 @@ https-browserify@^1.0.0:
resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73"
integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=
-https-proxy-agent@^2.2.1:
- version "2.2.2"
- resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.2.2.tgz#271ea8e90f836ac9f119daccd39c19ff7dfb0793"
- integrity sha512-c8Ndjc9Bkpfx/vCJueCPy0jlP4ccCCSNDp8xwCZzPjKJUm+B+u9WX2x98Qx4n1PiMNTWo3D7KK5ifNV/yJyRzg==
+https-proxy-agent@^2.2.1, https-proxy-agent@^2.2.3:
+ version "2.2.4"
+ resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz#4ee7a737abd92678a293d9b34a1af4d0d08c787b"
+ integrity sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==
dependencies:
agent-base "^4.3.0"
debug "^3.1.0"
@@ -3238,7 +3220,7 @@ humanize-ms@^1.2.1:
dependencies:
ms "^2.0.0"
-iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.13:
+iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@~0.4.13:
version "0.4.24"
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==
@@ -3256,9 +3238,9 @@ iferr@^0.1.5:
integrity sha1-xg7taebY/bazEEofy8ocGS3FtQE=
ignore-walk@^3.0.1:
- version "3.0.2"
- resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.2.tgz#99d83a246c196ea5c93ef9315ad7b0819c35069b"
- integrity sha512-EXyErtpHbn75ZTsOADsfx6J/FPo6/5cjev46PXrcTpd8z3BoRkXgYu9/JVqrI7tusjmwCZutGeRJeU0Wo1e4Cw==
+ version "3.0.3"
+ resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.3.tgz#017e2447184bfeade7c238e4aefdd1e8f95b1e37"
+ integrity sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw==
dependencies:
minimatch "^3.0.4"
@@ -3345,7 +3327,7 @@ inherits@2.0.3:
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=
-ini@1.3.5, ini@^1.3.4, ini@~1.3.0:
+ini@1.3.5, ini@^1.3.4:
version "1.3.5"
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==
@@ -3394,7 +3376,7 @@ ip-regex@^2.1.0:
resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9"
integrity sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=
-ip@^1.1.0, ip@^1.1.5:
+ip@1.1.5, ip@^1.1.0, ip@^1.1.5:
version "1.1.5"
resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a"
integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=
@@ -3440,7 +3422,7 @@ is-binary-path@^1.0.0:
dependencies:
binary-extensions "^1.0.0"
-is-binary-path@^2.1.0:
+is-binary-path@~2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09"
integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==
@@ -3452,10 +3434,10 @@ is-buffer@^1.1.5:
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==
-is-callable@^1.1.4:
- version "1.1.4"
- resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.4.tgz#1e1adf219e1eeb684d691f9d6a05ff0d30a24d75"
- integrity sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==
+is-callable@^1.1.4, is-callable@^1.1.5:
+ version "1.1.5"
+ resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.5.tgz#f7e46b596890456db74e7f6e976cb3273d06faab"
+ integrity sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==
is-data-descriptor@^0.1.4:
version "0.1.4"
@@ -3472,9 +3454,9 @@ is-data-descriptor@^1.0.0:
kind-of "^6.0.0"
is-date-object@^1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16"
- integrity sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.2.tgz#bda736f2cd8fd06d32844e7743bfa7494c3bfd7e"
+ integrity sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==
is-descriptor@^0.1.0:
version "0.1.6"
@@ -3542,7 +3524,7 @@ is-glob@^3.1.0:
dependencies:
is-extglob "^2.1.0"
-is-glob@^4.0.0, is-glob@^4.0.1:
+is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc"
integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==
@@ -3616,12 +3598,12 @@ is-promise@^2.1.0:
resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa"
integrity sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=
-is-regex@^1.0.4:
- version "1.0.4"
- resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491"
- integrity sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=
+is-regex@^1.0.4, is-regex@^1.0.5:
+ version "1.0.5"
+ resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.5.tgz#39d589a358bf18967f726967120b8fc1aed74eae"
+ integrity sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==
dependencies:
- has "^1.0.1"
+ has "^1.0.3"
is-stream@^1.1.0:
version "1.1.0"
@@ -3629,11 +3611,11 @@ is-stream@^1.1.0:
integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ=
is-symbol@^1.0.2:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.2.tgz#a055f6ae57192caee329e7a860118b497a950f38"
- integrity sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==
+ version "1.0.3"
+ resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.3.tgz#38e1014b9e6329be0de9d24a414fd7441ec61937"
+ integrity sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==
dependencies:
- has-symbols "^1.0.0"
+ has-symbols "^1.0.1"
is-typedarray@~1.0.0:
version "1.0.0"
@@ -3782,22 +3764,27 @@ istanbul-lib-source-maps@^3.0.6:
source-map "^0.6.1"
istanbul-reports@^2.2.4:
- version "2.2.6"
- resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-2.2.6.tgz#7b4f2660d82b29303a8fe6091f8ca4bf058da1af"
- integrity sha512-SKi4rnMyLBKe0Jy2uUdx28h8oG7ph2PPuQPvIAh31d+Ci+lSiEu4C+h3oBPuJ9+mPKhOyW0M8gY4U5NM1WLeXA==
+ version "2.2.7"
+ resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-2.2.7.tgz#5d939f6237d7b48393cc0959eab40cd4fd056931"
+ integrity sha512-uu1F/L1o5Y6LzPVSVZXNOoD/KXpJue9aeLRd0sM9uMXfZvzomB0WxVamWb5ue8kA2vVWEmW7EG+A5n3f1kqHKg==
dependencies:
- handlebars "^4.1.2"
+ html-escaper "^2.0.0"
-jasmine-core@^3.3, jasmine-core@~3.4.0:
- version "3.4.0"
- resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-3.4.0.tgz#2a74618e966026530c3518f03e9f845d26473ce3"
- integrity sha512-HU/YxV4i6GcmiH4duATwAbJQMlE0MsDIR5XmSVxURxKHn3aGAdbY1/ZJFmVRbKtnLwIxxMJD7gYaPsypcbYimg==
+jasmine-core@^3.3:
+ version "3.5.0"
+ resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-3.5.0.tgz#132c23e645af96d85c8bca13c8758b18429fc1e4"
+ integrity sha512-nCeAiw37MIMA9w9IXso7bRaLl+c/ef3wnxsoSAlYrzS+Ot0zTG6nU8G/cIfGkqpkjX2wNaIW9RFG0TwIFnG6bA==
jasmine-core@~2.8.0:
version "2.8.0"
resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-2.8.0.tgz#bcc979ae1f9fd05701e45e52e65d3a5d63f1a24e"
integrity sha1-vMl5rh+f0FcB5F5S5l06XWPxok4=
+jasmine-core@~3.4.0:
+ version "3.4.0"
+ resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-3.4.0.tgz#2a74618e966026530c3518f03e9f845d26473ce3"
+ integrity sha512-HU/YxV4i6GcmiH4duATwAbJQMlE0MsDIR5XmSVxURxKHn3aGAdbY1/ZJFmVRbKtnLwIxxMJD7gYaPsypcbYimg==
+
jasmine-spec-reporter@~4.2.1:
version "4.2.1"
resolved "https://registry.yarnpkg.com/jasmine-spec-reporter/-/jasmine-spec-reporter-4.2.1.tgz#1d632aec0341670ad324f92ba84b4b32b35e9e22"
@@ -3943,9 +3930,9 @@ karma-coverage-istanbul-reporter@~2.0.1:
minimatch "^3.0.4"
karma-jasmine-html-reporter@^1.4.0:
- version "1.4.2"
- resolved "https://registry.yarnpkg.com/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-1.4.2.tgz#16d100fd701271192d27fd28ddc90b710ad36fff"
- integrity sha512-7g0gPj8+9JepCNJR9WjDyQ2RkZ375jpdurYQyAYv8PorUCadepl8vrD6LmMqOGcM17cnrynBawQYZHaumgDjBw==
+ version "1.5.1"
+ resolved "https://registry.yarnpkg.com/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-1.5.1.tgz#0fad2d2ac416bc04724318aad29b89bd86f7bfbc"
+ integrity sha512-LlLqsoGyxT1981z46BRaC1SaY4pTo4EHCA/qZvJEMQXzTtGMyIlmwtxny6FiLO/N/OmZh69eaoNzvBkbHVVFQA==
karma-jasmine@~2.0.1:
version "2.0.1"
@@ -4126,9 +4113,9 @@ log4js@^4.0.0:
streamroller "^1.0.6"
loglevel@^1.6.3:
- version "1.6.4"
- resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.4.tgz#f408f4f006db8354d0577dcf6d33485b3cb90d56"
- integrity sha512-p0b6mOGKcGa+7nnmKbpzR6qloPbrgLcnio++E+14Vo/XffOGwZtRpUhr8dTH/x2oCMmEoIU0Zwm3ZauhvYD17g==
+ version "1.6.6"
+ resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.6.tgz#0ee6300cc058db6b3551fa1c4bf73b83bb771312"
+ integrity sha512-Sgr5lbboAUBo3eXCSPL4/KoVz3ROKquOjcctxmHIt+vol2DrqTQe3SwkKKuYhEiWB5kYa13YyopJ69deJ1irzQ==
loose-envify@^1.0.0:
version "1.4.0"
@@ -4152,13 +4139,20 @@ lru-cache@^5.1.1:
dependencies:
yallist "^3.0.2"
-magic-string@0.25.3, magic-string@^0.25.0:
+magic-string@0.25.3:
version "0.25.3"
resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.3.tgz#34b8d2a2c7fec9d9bdf9929a3fd81d271ef35be9"
integrity sha512-6QK0OpF/phMz0Q2AxILkX2mFhi7m+WMwTRg0LQKq/WBB0cDP4rYH3Wp4/d3OTXlrPLVJT/RFqj8tFeAR4nk8AA==
dependencies:
sourcemap-codec "^1.4.4"
+magic-string@^0.25.0:
+ version "0.25.6"
+ resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.6.tgz#5586387d1242f919c6d223579cc938bf1420795e"
+ integrity sha512-3a5LOMSGoCTH5rbqobC2HuDNRtE2glHZ8J7pK+QZYppyWA36yuNpsX994rIY2nCuyP7CZYy7lQq/X2jygiZ89g==
+ dependencies:
+ sourcemap-codec "^1.4.4"
+
make-dir@^2.0.0, make-dir@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5"
@@ -4173,15 +4167,15 @@ make-error@^1.1.1:
integrity sha512-c3sIjNUow0+8swNwVpqoH4YCShKNFkMaw6oH1mNS2haDZQqkeZFlHS3dhoeEbKKmJB4vXpJucU6oH75aDYeE9g==
make-fetch-happen@^5.0.0:
- version "5.0.0"
- resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-5.0.0.tgz#a8e3fe41d3415dd656fe7b8e8172e1fb4458b38d"
- integrity sha512-nFr/vpL1Jc60etMVKeaLOqfGjMMb3tAHFVJWxHOFCFS04Zmd7kGlMxo0l1tzfhoQje0/UPnd0X8OeGUiXXnfPA==
+ version "5.0.2"
+ resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-5.0.2.tgz#aa8387104f2687edca01c8687ee45013d02d19bd"
+ integrity sha512-07JHC0r1ykIoruKO8ifMXu+xEU8qOXDFETylktdug6vJDACnP+HKevOu3PXyNPzFyTSlz8vrBYlBO1JZRe8Cag==
dependencies:
agentkeepalive "^3.4.1"
cacache "^12.0.0"
http-cache-semantics "^3.8.1"
http-proxy-agent "^2.1.0"
- https-proxy-agent "^2.2.1"
+ https-proxy-agent "^2.2.3"
lru-cache "^5.1.1"
mississippi "^3.0.0"
node-fetch-npm "^2.0.2"
@@ -4249,6 +4243,14 @@ memory-fs@^0.4.0, memory-fs@^0.4.1, memory-fs@~0.4.1:
errno "^0.1.3"
readable-stream "^2.0.1"
+memory-fs@^0.5.0:
+ version "0.5.0"
+ resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.5.0.tgz#324c01288b88652966d161db77838720845a8e3c"
+ integrity sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==
+ dependencies:
+ errno "^0.1.3"
+ readable-stream "^2.0.1"
+
merge-descriptors@1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61"
@@ -4286,22 +4288,17 @@ miller-rabin@^4.0.0:
bn.js "^4.0.0"
brorand "^1.0.1"
-mime-db@1.40.0:
- version "1.40.0"
- resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.40.0.tgz#a65057e998db090f732a68f6c276d387d4126c32"
- integrity sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==
-
-"mime-db@>= 1.40.0 < 2":
- version "1.41.0"
- resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.41.0.tgz#9110408e1f6aa1b34aef51f2c9df3caddf46b6a0"
- integrity sha512-B5gxBI+2K431XW8C2rcc/lhppbuji67nf9v39eH8pkWoZDxnAL0PxdpH32KYRScniF8qDHBDlI+ipgg5WrCUYw==
+mime-db@1.43.0, "mime-db@>= 1.43.0 < 2":
+ version "1.43.0"
+ resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.43.0.tgz#0a12e0502650e473d735535050e7c8f4eb4fae58"
+ integrity sha512-+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ==
mime-types@^2.1.12, mime-types@~2.1.17, mime-types@~2.1.19, mime-types@~2.1.24:
- version "2.1.24"
- resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.24.tgz#b6f8d0b3e951efb77dedeca194cff6d16f676f81"
- integrity sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==
+ version "2.1.26"
+ resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.26.tgz#9c921fc09b7e149a65dfdc0da4d20997200b0a06"
+ integrity sha512-01paPWYgLrkqAyrlDorC1uDwl2p3qZT7yl806vW7DvDoxwXi46jsjFbg+WdwotBIk6/MbEhO/dh5aZ5sNj/dWQ==
dependencies:
- mime-db "1.40.0"
+ mime-db "1.43.0"
mime@1.6.0, mime@^1.4.1:
version "1.6.0"
@@ -4365,20 +4362,20 @@ minimist@~0.0.1:
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
integrity sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=
-minipass@^2.2.1, minipass@^2.3.5:
- version "2.5.0"
- resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.5.0.tgz#dddb1d001976978158a05badfcbef4a771612857"
- integrity sha512-9FwMVYhn6ERvMR8XFdOavRz4QK/VJV8elU1x50vYexf9lslDcWe/f4HBRxCPd185ekRSjU6CfYyJCECa/CQy7Q==
+minipass@^2.3.5, minipass@^2.6.0, minipass@^2.8.6, minipass@^2.9.0:
+ version "2.9.0"
+ resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6"
+ integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==
dependencies:
safe-buffer "^5.1.2"
yallist "^3.0.0"
minizlib@^1.2.1:
- version "1.2.1"
- resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.2.1.tgz#dd27ea6136243c7c880684e8672bb3a45fd9b614"
- integrity sha512-7+4oTUOWKg7AuL3vloEWekXY2/D20cevzsrNT2kGWm+39J9hGTCBv8VI5Pm5lXZ/o3/mdR4f8rflAPhnQb8mPA==
+ version "1.3.3"
+ resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d"
+ integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==
dependencies:
- minipass "^2.2.1"
+ minipass "^2.9.0"
mississippi@^3.0.0:
version "3.0.0"
@@ -4491,21 +4488,12 @@ nanomatch@^1.2.9:
snapdragon "^0.8.1"
to-regex "^3.0.1"
-needle@^2.2.1:
- version "2.4.0"
- resolved "https://registry.yarnpkg.com/needle/-/needle-2.4.0.tgz#6833e74975c444642590e15a750288c5f939b57c"
- integrity sha512-4Hnwzr3mi5L97hMYeNl8wRW/Onhy4nUKR/lVemJ8gJedxxUyBLm9kkrDColJvoSfwi0jCNhD+xCdOtiGDQiRZg==
- dependencies:
- debug "^3.2.6"
- iconv-lite "^0.4.4"
- sax "^1.2.4"
-
negotiator@0.6.2:
version "0.6.2"
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb"
integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==
-neo-async@^2.5.0, neo-async@^2.6.0:
+neo-async@^2.5.0:
version "2.6.1"
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c"
integrity sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==
@@ -4540,10 +4528,10 @@ node-fetch-npm@^2.0.2:
json-parse-better-errors "^1.0.0"
safe-buffer "^5.1.1"
-node-forge@0.8.2:
- version "0.8.2"
- resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.8.2.tgz#b4bcc59fb12ce77a8825fc6a783dfe3182499c5a"
- integrity sha512-mXQ9GBq1N3uDCyV1pdSzgIguwgtVpM7f5/5J4ipz12PKWElmPpVWLDuWl8iXmhysr21+WmX/OJ5UKx82wjomgg==
+node-forge@0.9.0:
+ version "0.9.0"
+ resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.9.0.tgz#d624050edbb44874adca12bb9a52ec63cb782579"
+ integrity sha512-7ASaDa3pD+lJ3WvXFsxekJQelBKRpne+GOVbLbtHYdd7pFspyeuJHnWfLplGf3SwKGbfs/aYl5V/JCIaHVUKKQ==
node-libs-browser@^2.0.0:
version "2.2.1"
@@ -4574,36 +4562,12 @@ node-libs-browser@^2.0.0:
util "^0.11.0"
vm-browserify "^1.0.1"
-node-pre-gyp@^0.12.0:
- version "0.12.0"
- resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.12.0.tgz#39ba4bb1439da030295f899e3b520b7785766149"
- integrity sha512-4KghwV8vH5k+g2ylT+sLTjy5wmUOb9vPhnM8NHvRf9dHmnW/CndrFXy2aRPaPST6dugXSdHXfeaHQm77PIz/1A==
+node-releases@^1.1.25, node-releases@^1.1.44:
+ version "1.1.45"
+ resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.45.tgz#4cf7e9175d71b1317f15ffd68ce63bce1d53e9f2"
+ integrity sha512-cXvGSfhITKI8qsV116u2FTzH5EWZJfgG7d4cpqwF8I8+1tWpD6AsvvGRKq2onR0DNj1jfqsjkXZsm14JMS7Cyg==
dependencies:
- detect-libc "^1.0.2"
- mkdirp "^0.5.1"
- needle "^2.2.1"
- nopt "^4.0.1"
- npm-packlist "^1.1.6"
- npmlog "^4.0.2"
- rc "^1.2.7"
- rimraf "^2.6.1"
- semver "^5.3.0"
- tar "^4"
-
-node-releases@^1.1.25, node-releases@^1.1.29:
- version "1.1.29"
- resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.29.tgz#86a57c6587a30ecd6726449e5d293466b0a0bb86"
- integrity sha512-R5bDhzh6I+tpi/9i2hrrvGJ3yKPYzlVOORDkXhnZuwi5D3q1I5w4vYy24PJXTcLk9Q0kws9TO77T75bcK8/ysQ==
- dependencies:
- semver "^5.3.0"
-
-nopt@^4.0.1:
- version "4.0.1"
- resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d"
- integrity sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=
- dependencies:
- abbrev "1"
- osenv "^0.1.4"
+ semver "^6.3.0"
normalize-package-data@^2.0.0, normalize-package-data@^2.4.0:
version "2.5.0"
@@ -4622,7 +4586,7 @@ normalize-path@^2.1.1:
dependencies:
remove-trailing-separator "^1.0.1"
-normalize-path@^3.0.0:
+normalize-path@^3.0.0, normalize-path@~3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==
@@ -4643,9 +4607,16 @@ normalize-url@1.9.1:
sort-keys "^1.0.0"
npm-bundled@^1.0.1:
- version "1.0.6"
- resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.6.tgz#e7ba9aadcef962bb61248f91721cd932b3fe6bdd"
- integrity sha512-8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g==
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.1.tgz#1edd570865a94cdb1bc8220775e29466c9fb234b"
+ integrity sha512-gqkfgGePhTpAEgUsGEgcq1rqPXA+tv/aVBlgEzfXwA1yiUJF7xtEt3CtVwOjNYQOVknDk0F20w58Fnm3EtG0fA==
+ dependencies:
+ npm-normalize-package-bin "^1.0.1"
+
+npm-normalize-package-bin@^1.0.0, npm-normalize-package-bin@^1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2"
+ integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==
npm-package-arg@6.1.0:
version "6.1.0"
@@ -4667,10 +4638,10 @@ npm-package-arg@^6.0.0, npm-package-arg@^6.1.0:
semver "^5.6.0"
validate-npm-package-name "^3.0.0"
-npm-packlist@^1.1.12, npm-packlist@^1.1.6:
- version "1.4.4"
- resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.4.tgz#866224233850ac534b63d1a6e76050092b5d2f44"
- integrity sha512-zTLo8UcVYtDU3gdeaFu2Xu0n0EvelfHDGuqtNIn5RO7yQj4H1TqNdBc/yZjxnWA0PVB8D3Woyp0i5B43JwQ6Vw==
+npm-packlist@^1.1.12:
+ version "1.4.7"
+ resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.7.tgz#9e954365a06b80b18111ea900945af4f88ed4848"
+ integrity sha512-vAj7dIkp5NhieaGZxBJB8fF4R0078rqsmhJcAfXZ6O7JJhjhPK96n5Ry1oZcfLXgfun0GWTZPOxaEyqv8GBykQ==
dependencies:
ignore-walk "^3.0.1"
npm-bundled "^1.0.1"
@@ -4685,9 +4656,9 @@ npm-pick-manifest@^2.2.3:
semver "^5.4.1"
npm-registry-fetch@^4.0.0:
- version "4.0.0"
- resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-4.0.0.tgz#5ef75845b605855c7964472542c25da172af8677"
- integrity sha512-Jllq35Jag8dtv0M17ue74XtdQTyqKzuAYGiX9mAjOhkmNjib3bBUgK6mUY61+AHnXeSRobQkpY3/xIOS/omptw==
+ version "4.0.2"
+ resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-4.0.2.tgz#2b1434f93ccbe6b6385f8e45f45db93e16921d7a"
+ integrity sha512-Z0IFtPEozNdeZRPh3aHHxdG+ZRpzcbQaJLthsm3VhNf6DScicTFRHZzK82u8RsJUsUHkX+QH/zcB/5pmd20H4A==
dependencies:
JSONStream "^1.3.4"
bluebird "^3.5.1"
@@ -4695,6 +4666,7 @@ npm-registry-fetch@^4.0.0:
lru-cache "^5.1.1"
make-fetch-happen "^5.0.0"
npm-package-arg "^6.1.0"
+ safe-buffer "^5.2.0"
npm-run-path@^2.0.0:
version "2.0.2"
@@ -4703,16 +4675,6 @@ npm-run-path@^2.0.0:
dependencies:
path-key "^2.0.0"
-npmlog@^4.0.2:
- version "4.1.2"
- resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b"
- integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==
- dependencies:
- are-we-there-yet "~1.1.2"
- console-control-strings "~1.1.0"
- gauge "~2.7.3"
- set-blocking "~2.0.0"
-
null-check@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/null-check/-/null-check-1.0.0.tgz#977dffd7176012b9ec30d2a39db5cf72a0439edd"
@@ -4752,17 +4714,17 @@ object-copy@^0.1.0:
define-property "^0.2.5"
kind-of "^3.0.3"
-object-inspect@^1.6.0:
- version "1.6.0"
- resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.6.0.tgz#c70b6cbf72f274aab4c34c0c82f5167bf82cf15b"
- integrity sha512-GJzfBZ6DgDAmnuaM3104jR4s1Myxr3Y3zfIyN4z3UdqN69oSRacNK8UhnobDdC+7J2AHCjGwxQubNJfE70SXXQ==
+object-inspect@^1.7.0:
+ version "1.7.0"
+ resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67"
+ integrity sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==
object-is@^1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.0.1.tgz#0aa60ec9989a0b3ed795cf4d06f62cf1ad6539b6"
- integrity sha1-CqYOyZiaCz7Xlc9NBvYs8a1lObY=
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.0.2.tgz#6b80eb84fe451498f65007982f035a5b445edec4"
+ integrity sha512-Epah+btZd5wrrfjkJZq1AOB9O6OxUQto45hzFd7lXGrpHPGE0W1k+426yrZV+k6NJOzLNNW/nVsmZdIWsAqoOQ==
-object-keys@^1.0.12, object-keys@^1.1.1:
+object-keys@^1.0.11, object-keys@^1.0.12, object-keys@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e"
integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==
@@ -4774,13 +4736,23 @@ object-visit@^1.0.0:
dependencies:
isobject "^3.0.0"
-object.getownpropertydescriptors@^2.0.3:
- version "2.0.3"
- resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16"
- integrity sha1-h1jIRvW0B62rDyNuCYbxSwUcqhY=
+object.assign@^4.1.0:
+ version "4.1.0"
+ resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.0.tgz#968bf1100d7956bb3ca086f006f846b3bc4008da"
+ integrity sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==
dependencies:
define-properties "^1.1.2"
- es-abstract "^1.5.1"
+ function-bind "^1.1.1"
+ has-symbols "^1.0.0"
+ object-keys "^1.0.11"
+
+object.getownpropertydescriptors@^2.0.3:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz#369bf1f9592d8ab89d712dced5cb81c7c5352649"
+ integrity sha512-Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg==
+ dependencies:
+ define-properties "^1.1.3"
+ es-abstract "^1.17.0-next.1"
object.pick@^1.3.0:
version "1.3.0"
@@ -4873,7 +4845,7 @@ os-tmpdir@^1.0.0, os-tmpdir@~1.0.1, os-tmpdir@~1.0.2:
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=
-osenv@^0.1.4, osenv@^0.1.5:
+osenv@^0.1.5:
version "0.1.5"
resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410"
integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==
@@ -4897,9 +4869,9 @@ p-is-promise@^2.0.0:
integrity sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg==
p-limit@^2.0.0, p-limit@^2.2.0:
- version "2.2.1"
- resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.1.tgz#aa07a788cc3151c939b5131f63570f0dd2009537"
- integrity sha512-85Tk+90UCVWvbDavCLKPOLC9vvY8OwEX/RtKF+/1OADJMVlFfEHOiMTPVyxg7mk/dKa+ipdHm0OUkTvCpMTuwg==
+ version "2.2.2"
+ resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.2.tgz#61279b67721f5287aa1c13a9a7fbbc48c9291b1e"
+ integrity sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==
dependencies:
p-try "^2.0.0"
@@ -4974,10 +4946,15 @@ parallel-transform@^1.1.0:
inherits "^2.0.3"
readable-stream "^2.1.5"
+parchment@^1.1.4:
+ version "1.1.4"
+ resolved "https://registry.yarnpkg.com/parchment/-/parchment-1.1.4.tgz#aeded7ab938fe921d4c34bc339ce1168bc2ffde5"
+ integrity sha512-J5FBQt/pM2inLzg4hEWmzQx/8h8D0CiDxaG3vyp9rKrQRSDgBlhjdP5jQGgosEajXPSQouXGHOmVdgo7QmJuOg==
+
parse-asn1@^5.0.0:
- version "5.1.4"
- resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.4.tgz#37f6628f823fbdeb2273b4d540434a22f3ef1fcc"
- integrity sha512-Qs5duJcuvNExRfFZ99HDD3z4mAi3r9Wl/FOjEOijlxwCZs7E7mW2vjTpgQ4J8LpTF8x5v+1Vn5UQFejmWT11aw==
+ version "5.1.5"
+ resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.5.tgz#003271343da58dc94cace494faef3d2147ecea0e"
+ integrity sha512-jkMYn1dcJqF6d5CpU689bq7w/b5ALS9ROVSpQDPrZsqqesUJii9qutvoT5ltGedNXMO2e16YUWIghG9KxaViTQ==
dependencies:
asn1.js "^4.0.0"
browserify-aes "^1.0.0"
@@ -4999,6 +4976,11 @@ parse5@4.0.0:
resolved "https://registry.yarnpkg.com/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608"
integrity sha512-VrZ7eOd3T1Fk4XWNXMgiGBK/z0MG48BWG2uQNU4I72fkQuKUTZpl+u9k+CxEG0twMVzSmXEEz12z5Fnw1jIQFA==
+parse5@^5.0.0:
+ version "5.1.1"
+ resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.1.tgz#f68e4e5ba1852ac2cadc00f4555fff6c2abb6178"
+ integrity sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==
+
parseqs@0.0.5:
version "0.0.5"
resolved "https://registry.yarnpkg.com/parseqs/-/parseqs-0.0.5.tgz#d5208a3738e46766e291ba2ea173684921a8b89d"
@@ -5086,10 +5068,10 @@ performance-now@^2.1.0:
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=
-picomatch@^2.0.4:
- version "2.0.7"
- resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.0.7.tgz#514169d8c7cd0bdbeecc8a2609e34a7163de69f6"
- integrity sha512-oLHIdio3tZ0qH76NybpeneBhYVj0QFTfXEFTc/B3zKQspYfYYkWYgFsmzo+4kvId/bQRcNkVeguI3y+CD22BtA==
+picomatch@^2.0.4, picomatch@^2.0.7:
+ version "2.2.1"
+ resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.1.tgz#21bac888b6ed8601f831ce7816e335bc779f0a4a"
+ integrity sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA==
pify@^2.0.0, pify@^2.3.0:
version "2.3.0"
@@ -5126,13 +5108,13 @@ pkg-dir@^3.0.0:
find-up "^3.0.0"
portfinder@^1.0.20:
- version "1.0.24"
- resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.24.tgz#11efbc6865f12f37624b6531ead1d809ed965cfa"
- integrity sha512-ekRl7zD2qxYndYflwiryJwMioBI7LI7rVXg3EnLK3sjkouT5eOuhS3gS255XxBksa30VG8UPZYZCdgfGOfkSUg==
+ version "1.0.25"
+ resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.25.tgz#254fd337ffba869f4b9d37edc298059cb4d35eca"
+ integrity sha512-6ElJnHBbxVA1XSLgBp7G1FiCkQdlqGzuF7DswL5tcea+E8UpuvPU7beVAjjRwCioTS9ZluNbu+ZyRvgTsmqEBg==
dependencies:
- async "^1.5.2"
- debug "^2.2.0"
- mkdirp "0.5.x"
+ async "^2.6.2"
+ debug "^3.1.1"
+ mkdirp "^0.5.1"
posix-character-classes@^0.1.0:
version "0.1.1"
@@ -5187,9 +5169,9 @@ postcss@7.0.17:
supports-color "^6.1.0"
postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.17:
- version "7.0.18"
- resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.18.tgz#4b9cda95ae6c069c67a4d933029eddd4838ac233"
- integrity sha512-/7g1QXXgegpF+9GJj4iN7ChGF40sYuGYJ8WZu8DZWnmhQ/G36hfdk3q9LBJmoK+lZ+yzZ5KYpOoxq7LF1BxE8g==
+ version "7.0.26"
+ resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.26.tgz#5ed615cfcab35ba9bbb82414a4fa88ea10429587"
+ integrity sha512-IY4oRjpXWYshuTDFxMVkJDtWIk2LhsTlu8bZnbEJA4+bYT16Lvpo8Qv6EvDumhYRgzjZl489pmsY3qVgJQ08nA==
dependencies:
chalk "^2.4.2"
source-map "^0.6.1"
@@ -5200,10 +5182,20 @@ prepend-http@^1.0.0:
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc"
integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=
+primeicons@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/primeicons/-/primeicons-2.0.0.tgz#ec3e5a8d4d04a09309225a5a57deb911e08dc0d3"
+ integrity sha512-GJTCeMSQU8UU1GqbsaDrg/IH+b/vSinJQl52NVpdJ7sShYLZA8Eq6jLF48Ye3N/dQloGrE07i7XsZvxQ9pNbqg==
+
+primeng@^9.0.0-rc.2:
+ version "9.0.0-rc.2"
+ resolved "https://registry.yarnpkg.com/primeng/-/primeng-9.0.0-rc.2.tgz#343e9ad842f47439fadc281d85d19ca0c2611b96"
+ integrity sha512-k4omQrUe+Ul/Uk9xk4VWJE8f4kUMugP0T/i+q3Zqc7J/op920UNdovE5ZcquVtUIjYNqsh7VfWzYaNFogjysIg==
+
prismjs@^1.16.0:
- version "1.17.1"
- resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.17.1.tgz#e669fcbd4cdd873c35102881c33b14d0d68519be"
- integrity sha512-PrEDJAFdUGbOP6xK/UsfkC5ghJsPJviKgnQOoxaDbBjwc8op68Quupwt1DeAFoG8GImPhiKXAvvsH7wDSLsu1Q==
+ version "1.19.0"
+ resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.19.0.tgz#713afbd45c3baca4b321569f2df39e17e729d4dc"
+ integrity sha512-IVFtbW9mCWm9eOIaEkNyo2Vl4NnEifis2GQ7/MLRG5TQe6t+4Sj9J5QWI9i3v+SS43uZBlCAOn+zYTVYQcPXJw==
optionalDependencies:
clipboard "^2.0.0"
@@ -5284,9 +5276,9 @@ pseudomap@^1.0.2:
integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM=
psl@^1.1.24:
- version "1.3.1"
- resolved "https://registry.yarnpkg.com/psl/-/psl-1.3.1.tgz#d5aa3873a35ec450bc7db9012ad5a7246f6fc8bd"
- integrity sha512-2KLd5fKOdAfShtY2d/8XDWVRnmp3zp40Qt6ge2zBPFARLXOGUf2fHD5eg+TV/5oxBtQKVhjUaKFsAaE4HnwfSA==
+ version "1.7.0"
+ resolved "https://registry.yarnpkg.com/psl/-/psl-1.7.0.tgz#f1c4c47a8ef97167dea5d6bbf4816d736e884a3c"
+ integrity sha512-5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ==
public-encrypt@^4.0.0:
version "4.0.3"
@@ -5388,6 +5380,27 @@ querystringify@^2.1.1:
resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.1.1.tgz#60e5a5fd64a7f8bfa4d2ab2ed6fdf4c85bad154e"
integrity sha512-w7fLxIRCRT7U8Qu53jQnJyPkYZIaR4n5151KMfcJlO/A9397Wxb1amJvROTK6TOnp7PfoAmg/qXiNHI+08jRfA==
+quill-delta@^3.6.2:
+ version "3.6.3"
+ resolved "https://registry.yarnpkg.com/quill-delta/-/quill-delta-3.6.3.tgz#b19fd2b89412301c60e1ff213d8d860eac0f1032"
+ integrity sha512-wdIGBlcX13tCHOXGMVnnTVFtGRLoP0imqxM696fIPwIf5ODIYUHIvHbZcyvGlZFiFhK5XzDC2lpjbxRhnM05Tg==
+ dependencies:
+ deep-equal "^1.0.1"
+ extend "^3.0.2"
+ fast-diff "1.1.2"
+
+quill@^1.3.7:
+ version "1.3.7"
+ resolved "https://registry.yarnpkg.com/quill/-/quill-1.3.7.tgz#da5b2f3a2c470e932340cdbf3668c9f21f9286e8"
+ integrity sha512-hG/DVzh/TiknWtE6QmWAF/pxoZKYxfe3J/d/+ShUWkDvvkZQVTPeVmUJVu1uE6DDooC4fWTiCLh84ul89oNz5g==
+ dependencies:
+ clone "^2.1.1"
+ deep-equal "^1.0.1"
+ eventemitter3 "^2.0.3"
+ extend "^3.0.2"
+ parchment "^1.1.4"
+ quill-delta "^3.6.2"
+
randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5:
version "2.1.0"
resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a"
@@ -5426,16 +5439,6 @@ raw-loader@1.0.0:
loader-utils "^1.1.0"
schema-utils "^1.0.0"
-rc@^1.2.7:
- version "1.2.8"
- resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
- integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==
- dependencies:
- deep-extend "^0.6.0"
- ini "~1.3.0"
- minimist "^1.2.0"
- strip-json-comments "~2.0.1"
-
read-cache@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/read-cache/-/read-cache-1.0.0.tgz#e664ef31161166c9751cdbe8dbcf86b5fb58f774"
@@ -5444,14 +5447,14 @@ read-cache@^1.0.0:
pify "^2.3.0"
read-package-json@^2.0.0:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-2.1.0.tgz#e3d42e6c35ea5ae820d9a03ab0c7291217fc51d5"
- integrity sha512-KLhu8M1ZZNkMcrq1+0UJbR8Dii8KZUqB0Sha4mOx/bknfKI/fyrQVrG/YIt2UOtG667sD8+ee4EXMM91W9dC+A==
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-2.1.1.tgz#16aa66c59e7d4dad6288f179dd9295fd59bb98f1"
+ integrity sha512-dAiqGtVc/q5doFz6096CcnXhpYk0ZN8dEKVkGLU0CsASt8SrgF6SF7OTKAYubfvFhWaqofl+Y8HK19GR8jwW+A==
dependencies:
glob "^7.1.1"
json-parse-better-errors "^1.0.1"
normalize-package-data "^2.0.0"
- slash "^1.0.0"
+ npm-normalize-package-bin "^1.0.0"
optionalDependencies:
graceful-fs "^4.1.2"
@@ -5464,10 +5467,10 @@ read-package-tree@5.3.1:
readdir-scoped-modules "^1.0.0"
util-promisify "^2.1.0"
-"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.6, readable-stream@~2.3.6:
- version "2.3.6"
- resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf"
- integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==
+"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.6, readable-stream@~2.3.6:
+ version "2.3.7"
+ resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57"
+ integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==
dependencies:
core-util-is "~1.0.0"
inherits "~2.0.3"
@@ -5505,12 +5508,12 @@ readdirp@^2.2.1:
micromatch "^3.1.10"
readable-stream "^2.0.2"
-readdirp@^3.1.1:
- version "3.1.2"
- resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.1.2.tgz#fa85d2d14d4289920e4671dead96431add2ee78a"
- integrity sha512-8rhl0xs2cxfVsqzreYCvs8EwBfn/DhVdqtoLmw19uI3SC5avYX9teCurlErfpPXGmYtMHReGaP2RsLnFvz/lnw==
+readdirp@~3.3.0:
+ version "3.3.0"
+ resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.3.0.tgz#984458d13a1e42e2e9f5841b129e162f369aff17"
+ integrity sha512-zz0pAkSPOXXm1viEwygWIPSPkcBYjW1xU5j/JBh5t9bGCJwa6f9+BJa6VaB2g+b55yVrmXzqkyLf4xaWYM0IkQ==
dependencies:
- picomatch "^2.0.4"
+ picomatch "^2.0.7"
reflect-metadata@^0.1.2:
version "0.1.13"
@@ -5536,11 +5539,12 @@ regex-not@^1.0.0, regex-not@^1.0.2:
safe-regex "^1.1.0"
regexp.prototype.flags@^1.2.0:
- version "1.2.0"
- resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.2.0.tgz#6b30724e306a27833eeb171b66ac8890ba37e41c"
- integrity sha512-ztaw4M1VqgMwl9HlPpOuiYgItcHlunW0He2fE6eNfT6E/CF2FtYi9ofOYe4mKntstYk0Fyh/rDRBdS3AnxjlrA==
+ version "1.3.0"
+ resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.3.0.tgz#7aba89b3c13a64509dabcf3ca8d9fbb9bdf5cb75"
+ integrity sha512-2+Q0C5g951OlYlJz6yu5/M33IcsESLlLfsyIaLJaG4FA2r4yP8MvVMJUUP/fVBkSpbbbZlS5gynbEWLipiiXiQ==
dependencies:
- define-properties "^1.1.2"
+ define-properties "^1.1.3"
+ es-abstract "^1.17.0-next.1"
regexpu-core@^1.0.0:
version "1.0.0"
@@ -5649,9 +5653,9 @@ resolve-url@^0.2.1:
integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=
resolve@^1.1.7, resolve@^1.10.0, resolve@^1.3.2:
- version "1.12.0"
- resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6"
- integrity sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==
+ version "1.14.2"
+ resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.14.2.tgz#dbf31d0fa98b1f29aa5169783b9c290cb865fea2"
+ integrity sha512-EjlOBLBO1kxsUxsKjLt7TAECyKW6fOh1VRkykQkKGzcBbjjPIxBqGh0jf7GJ3k/f5mxMqW3htMD3WdTUVtW8HQ==
dependencies:
path-parse "^1.0.6"
@@ -5683,7 +5687,7 @@ rfdc@^1.1.4:
resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.1.4.tgz#ba72cc1367a0ccd9cf81a870b3b58bd3ad07f8c2"
integrity sha512-5C9HXdzK8EAqN7JDif30jqsBzavB7wLpaubisuQIGHWf2gUXSpzy6ArX/+Da8RjFpagWsCn+pIgxTMAmKw9Zug==
-rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.0, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3:
+rimraf@^2.2.8, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.0, rimraf@^2.6.2, rimraf@^2.6.3:
version "2.7.1"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==
@@ -5713,9 +5717,9 @@ run-queue@^1.0.0, run-queue@^1.0.3:
aproba "^1.1.1"
rxjs-compat@^6.5.3:
- version "6.5.3"
- resolved "https://registry.yarnpkg.com/rxjs-compat/-/rxjs-compat-6.5.3.tgz#18440949b2678bf87a78a754009676b2c49183dc"
- integrity sha512-BIJX2yovz3TBpjJoAZyls2QYuU6ZiCaZ+U96SmxQpuSP/qDUfiXPKOVLbThBB2WZijNHkdTTJXKRwvv5Y48H7g==
+ version "6.5.4"
+ resolved "https://registry.yarnpkg.com/rxjs-compat/-/rxjs-compat-6.5.4.tgz#03825692af3fe363e04c43f41ff4113d76bbd305"
+ integrity sha512-rkn+lbOHUQOurdd74J/hjmDsG9nFx0z66fvnbs8M95nrtKvNqCKdk7iZqdY51CGmDemTQk+kUPy4s8HVOHtkfA==
rxjs@6.4.0, rxjs@~6.4.0:
version "6.4.0"
@@ -5725,9 +5729,9 @@ rxjs@6.4.0, rxjs@~6.4.0:
tslib "^1.9.0"
rxjs@^6.4.0:
- version "6.5.3"
- resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.3.tgz#510e26317f4db91a7eb1de77d9dd9ba0a4899a3a"
- integrity sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA==
+ version "6.5.4"
+ resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.4.tgz#e0777fe0d184cec7872df147f303572d414e211c"
+ integrity sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q==
dependencies:
tslib "^1.9.0"
@@ -5736,7 +5740,7 @@ safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1:
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==
-safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.2.0:
+safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0:
version "5.2.0"
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519"
integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==
@@ -5784,7 +5788,7 @@ sax@0.5.x:
resolved "https://registry.yarnpkg.com/sax/-/sax-0.5.8.tgz#d472db228eb331c2506b0e8c15524adb939d12c1"
integrity sha1-1HLbIo6zMcJQaw6MFVJK25OdEsE=
-sax@>=0.6.0, sax@^1.2.4:
+sax@>=0.6.0:
version "1.2.4"
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
@@ -5806,9 +5810,9 @@ schema-utils@^1.0.0:
ajv-keywords "^3.1.0"
schema-utils@^2.0.0:
- version "2.2.0"
- resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.2.0.tgz#48a065ce219e0cacf4631473159037b2c1ae82da"
- integrity sha512-5EwsCNhfFTZvUreQhx/4vVQpJ/lnCAkgoIHLhSpp4ZirE+4hzFvdJi0FMub6hxbFVBJYSpeVVmon+2e7uEGRrA==
+ version "2.6.2"
+ resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.6.2.tgz#9205ec5978709b0d9edbccb9a316faf11617a017"
+ integrity sha512-sazKNMBX/jwrXRkOI7N6dtiTVYqzSckzol8SGuHt0lE/v3xSW6cUkOqzu6Bq2tW+dlUzq3CWIqHU3ZKauliqdg==
dependencies:
ajv "^6.10.2"
ajv-keywords "^3.4.1"
@@ -5834,11 +5838,11 @@ selenium-webdriver@3.6.0, selenium-webdriver@^3.0.1:
xml2js "^0.4.17"
selfsigned@^1.10.4:
- version "1.10.6"
- resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-1.10.6.tgz#7b3cd37ed9c2034261a173af1a1aae27d8169b67"
- integrity sha512-i3+CeqxL7DpAazgVpAGdKMwHuL63B5nhJMh9NQ7xmChGkA3jNFflq6Jyo1LLJYcr3idWiNOPWHCrm4zMayLG4w==
+ version "1.10.7"
+ resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-1.10.7.tgz#da5819fd049d5574f28e88a9bcc6dbc6e6f3906b"
+ integrity sha512-8M3wBCzeWIJnQfl43IKwOmC4H/RAp50S8DF60znzjW5GVqTcSe2vWclt7hmYVPkKPlHWOu5EaWOMZ2Y6W8ZXTA==
dependencies:
- node-forge "0.8.2"
+ node-forge "0.9.0"
semver-dsl@^1.0.1:
version "1.0.1"
@@ -5859,7 +5863,7 @@ semver-intersect@1.4.0:
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
-semver@6.3.0, semver@^6.0.0, semver@^6.1.1:
+semver@6.3.0, semver@^6.0.0, semver@^6.1.1, semver@^6.3.0:
version "6.3.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
@@ -5888,6 +5892,11 @@ serialize-javascript@^1.7.0:
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.9.1.tgz#cfc200aef77b600c47da9bb8149c943e798c2fdb"
integrity sha512-0Vb/54WJ6k5v8sSWN09S0ora+Hnr+cX40r9F170nT+mSkaxltoE/7R3OrIdBSUv1OoiobH1QoWQbCnAO+e8J1A==
+serialize-javascript@^2.1.2:
+ version "2.1.2"
+ resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-2.1.2.tgz#ecec53b0e0317bdc95ef76ab7074b7384785fa61"
+ integrity sha512-rs9OggEUF0V4jUSecXazOYsLfu7OGK2qIn3c7IPBiffz32XniEp/TX9Xmc9LQfK2nQ2QKHvZ2oygKUGU0lG4jQ==
+
serve-index@^1.9.1:
version "1.9.1"
resolved "https://registry.yarnpkg.com/serve-index/-/serve-index-1.9.1.tgz#d3768d69b1e7d82e5ce050fff5b453bea12a9239"
@@ -5911,7 +5920,7 @@ serve-static@1.14.1:
parseurl "~1.3.3"
send "0.17.1"
-set-blocking@^2.0.0, set-blocking@~2.0.0:
+set-blocking@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc=
@@ -5985,10 +5994,10 @@ slash@^1.0.0:
resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55"
integrity sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=
-smart-buffer@4.0.2:
- version "4.0.2"
- resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.0.2.tgz#5207858c3815cc69110703c6b94e46c15634395d"
- integrity sha512-JDhEpTKzXusOqXZ0BUIdH+CjFdO/CR3tLlf5CN34IypI+xMmXW1uB16OOY8z3cICbJlDAVJzNbwBhNO0wt9OAw==
+smart-buffer@^4.1.0:
+ version "4.1.0"
+ resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.1.0.tgz#91605c25d91652f4661ea69ccf45f1b331ca21ba"
+ integrity sha512-iVICrxOzCynf/SNaBQCw34eM9jROU/s5rzIhpOvzhzuYHfJR/DhZfDkXiZSgKXfgv26HT3Yni3AV/DGw0cGnnw==
snapdragon-node@^2.0.1:
version "2.1.1"
@@ -6021,9 +6030,9 @@ snapdragon@^0.8.1:
use "^3.1.0"
socket.io-adapter@~1.1.0:
- version "1.1.1"
- resolved "https://registry.yarnpkg.com/socket.io-adapter/-/socket.io-adapter-1.1.1.tgz#2a805e8a14d6372124dd9159ad4502f8cb07f06b"
- integrity sha1-KoBeihTWNyEk3ZFZrUUC+MsH8Gs=
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/socket.io-adapter/-/socket.io-adapter-1.1.2.tgz#ab3f0d6f66b8fc7fca3959ab5991f82221789be9"
+ integrity sha512-WzZRUj1kUjrTIrUKpZLEzFZ1OLj5FwLlAFQs9kuZJzJi5DKdU7FsWc36SNmA8iDOtwBQyT8FkrriRM8vXLYz8g==
socket.io-client@2.1.1:
version "2.1.1"
@@ -6095,12 +6104,12 @@ socks-proxy-agent@^4.0.0:
socks "~2.3.2"
socks@~2.3.2:
- version "2.3.2"
- resolved "https://registry.yarnpkg.com/socks/-/socks-2.3.2.tgz#ade388e9e6d87fdb11649c15746c578922a5883e"
- integrity sha512-pCpjxQgOByDHLlNqlnh/mNSAxIUkyBBuwwhTcV+enZGbDaClPvHdvm6uvOwZfFJkam7cGhBNbb4JxiP8UZkRvQ==
+ version "2.3.3"
+ resolved "https://registry.yarnpkg.com/socks/-/socks-2.3.3.tgz#01129f0a5d534d2b897712ed8aceab7ee65d78e3"
+ integrity sha512-o5t52PCNtVdiOvzMry7wU4aOqYWL0PeCXRWBEiJow4/i/wr+wpsJQ9awEu1EonLIqsfGd5qSgDdxEOvCdmBEpA==
dependencies:
- ip "^1.1.5"
- smart-buffer "4.0.2"
+ ip "1.1.5"
+ smart-buffer "^4.1.0"
sort-keys@^1.0.0:
version "1.1.2"
@@ -6128,11 +6137,11 @@ source-map-loader@0.2.4:
loader-utils "^1.1.0"
source-map-resolve@^0.5.0:
- version "0.5.2"
- resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.2.tgz#72e2cc34095543e43b2c62b2c4c10d4a9054f259"
- integrity sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==
+ version "0.5.3"
+ resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a"
+ integrity sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==
dependencies:
- atob "^2.1.1"
+ atob "^2.1.2"
decode-uri-component "^0.2.0"
resolve-url "^0.2.1"
source-map-url "^0.4.0"
@@ -6147,9 +6156,9 @@ source-map-support@0.5.12:
source-map "^0.6.0"
source-map-support@^0.5.5, source-map-support@^0.5.6, source-map-support@~0.5.12:
- version "0.5.13"
- resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932"
- integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==
+ version "0.5.16"
+ resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.16.tgz#0ae069e7fe3ba7538c64c98515e35339eac5a042"
+ integrity sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ==
dependencies:
buffer-from "^1.0.0"
source-map "^0.6.0"
@@ -6201,9 +6210,9 @@ source-map@~0.4.1:
amdefine ">=0.0.4"
sourcemap-codec@^1.4.4:
- version "1.4.6"
- resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.6.tgz#e30a74f0402bad09807640d39e971090a08ce1e9"
- integrity sha512-1ZooVLYFxC448piVLBbtOxFcXwnymH9oUF8nRd3CuYDVvkRBxRl6pB4Mtas5a4drtL+E8LDgFkQNcgIw6tc8Hg==
+ version "1.4.7"
+ resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.7.tgz#5b2cd184e3fe51fd30ba049f7f62bf499b4f73ae"
+ integrity sha512-RuN23NzhAOuUtaivhcrjXx1OPXsFeH9m5sI373/U7+tGLKihjUyboZAzOadytMjnqHp1f45RGk1IzDKCpDpSYA==
spdx-correct@^3.0.0:
version "3.1.0"
@@ -6341,9 +6350,9 @@ stream-http@^2.7.2:
xtend "^4.0.0"
stream-shift@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.0.tgz#d5c752825e5367e786f78e18e445ea223a155952"
- integrity sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI=
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d"
+ integrity sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==
streamroller@^1.0.6:
version "1.0.6"
@@ -6370,7 +6379,7 @@ string-width@^1.0.1:
is-fullwidth-code-point "^1.0.0"
strip-ansi "^3.0.0"
-"string-width@^1.0.2 || 2", string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1:
+string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e"
integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==
@@ -6387,21 +6396,21 @@ string-width@^3.0.0:
is-fullwidth-code-point "^2.0.0"
strip-ansi "^5.1.0"
-string.prototype.trimleft@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/string.prototype.trimleft/-/string.prototype.trimleft-2.0.0.tgz#68b6aa8e162c6a80e76e3a8a0c2e747186e271ff"
- integrity sha1-aLaqjhYsaoDnbjqKDC50cYbicf8=
+string.prototype.trimleft@^2.1.1:
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz#9bdb8ac6abd6d602b17a4ed321870d2f8dcefc74"
+ integrity sha512-iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag==
dependencies:
- define-properties "^1.1.2"
- function-bind "^1.0.2"
+ define-properties "^1.1.3"
+ function-bind "^1.1.1"
-string.prototype.trimright@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/string.prototype.trimright/-/string.prototype.trimright-2.0.0.tgz#ab4a56d802a01fbe7293e11e84f24dc8164661dd"
- integrity sha1-q0pW2AKgH75yk+EehPJNyBZGYd0=
+string.prototype.trimright@^2.1.1:
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz#440314b15996c866ce8a0341894d45186200c5d9"
+ integrity sha512-qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g==
dependencies:
- define-properties "^1.1.2"
- function-bind "^1.0.2"
+ define-properties "^1.1.3"
+ function-bind "^1.1.1"
string_decoder@^1.0.0, string_decoder@^1.1.1:
version "1.3.0"
@@ -6448,11 +6457,6 @@ strip-eof@^1.0.0:
resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf"
integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=
-strip-json-comments@~2.0.1:
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
- integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo=
-
style-loader@0.23.1:
version "0.23.1"
resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.23.1.tgz#cb9154606f3e771ab6c4ab637026a1049174d925"
@@ -6511,14 +6515,14 @@ tapable@^1.0.0, tapable@^1.1.0:
resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2"
integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==
-tar@^4, tar@^4.4.8:
- version "4.4.10"
- resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.10.tgz#946b2810b9a5e0b26140cf78bea6b0b0d689eba1"
- integrity sha512-g2SVs5QIxvo6OLp0GudTqEf05maawKUxXru104iaayWA09551tFCTI8f1Asb4lPfkBr91k07iL4c11XO3/b0tA==
+tar@^4.4.8:
+ version "4.4.13"
+ resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525"
+ integrity sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==
dependencies:
chownr "^1.1.1"
fs-minipass "^1.2.5"
- minipass "^2.3.5"
+ minipass "^2.8.6"
minizlib "^1.2.1"
mkdirp "^0.5.0"
safe-buffer "^5.1.2"
@@ -6541,24 +6545,24 @@ terser-webpack-plugin@1.3.0:
worker-farm "^1.7.0"
terser-webpack-plugin@^1.1.0:
- version "1.4.1"
- resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.4.1.tgz#61b18e40eaee5be97e771cdbb10ed1280888c2b4"
- integrity sha512-ZXmmfiwtCLfz8WKZyYUuuHf3dMYEjg8NrjHMb0JqHVHVOSkzp3cW2/XG1fP3tRhqEqSzMwzzRQGtAPbs4Cncxg==
+ version "1.4.3"
+ resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.4.3.tgz#5ecaf2dbdc5fb99745fd06791f46fc9ddb1c9a7c"
+ integrity sha512-QMxecFz/gHQwteWwSo5nTc6UaICqN1bMedC5sMtUc7y3Ha3Q8y6ZO0iCR8pq4RJC8Hjf0FEPEHZqcMB/+DFCrA==
dependencies:
cacache "^12.0.2"
find-cache-dir "^2.1.0"
is-wsl "^1.1.0"
schema-utils "^1.0.0"
- serialize-javascript "^1.7.0"
+ serialize-javascript "^2.1.2"
source-map "^0.6.1"
terser "^4.1.2"
webpack-sources "^1.4.0"
worker-farm "^1.7.0"
terser@^4.0.0, terser@^4.1.2:
- version "4.3.0"
- resolved "https://registry.yarnpkg.com/terser/-/terser-4.3.0.tgz#0259070576ff34d89c5cd2b8d91055cdce0212d5"
- integrity sha512-w5CzrvQOwYAH54aG22IrUJI4yX1w62XQmMdEOM6H4w0ii6rc3HJ89fmcOGN5mRwBWfUgaqO7RJTp4aoY/uE+qQ==
+ version "4.6.3"
+ resolved "https://registry.yarnpkg.com/terser/-/terser-4.6.3.tgz#e33aa42461ced5238d352d2df2a67f21921f8d87"
+ integrity sha512-Lw+ieAXmY69d09IIc/yqeBqXpEQIpDGZqT34ui1QWXIUpR2RjbqEkT8X7Lgex19hslSqcWM5iMN2kM11eMsESQ==
dependencies:
commander "^2.20.0"
source-map "~0.6.1"
@@ -6578,9 +6582,9 @@ through2@^2.0.0:
integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=
thunky@^1.0.2:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.0.3.tgz#f5df732453407b09191dae73e2a8cc73f381a826"
- integrity sha512-YwT8pjmNcAXBZqrubu22P4FYsh2D4dxRmnWBOL8Jk8bUcRUtc5326kx32tuTmFDAZtLOGEVNl8POAR8j896Iow==
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d"
+ integrity sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==
timers-browserify@^2.0.4:
version "2.0.11"
@@ -6697,7 +6701,7 @@ ts-node@~7.0.0:
source-map-support "^0.5.6"
yn "^2.0.0"
-tslib@1.10.0, tslib@^1.10.0, tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0:
+tslib@1.10.0, tslib@^1.10.0, tslib@^1.7.1, tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0:
version "1.10.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==
@@ -6763,14 +6767,6 @@ typescript@3.5.3, typescript@~3.5.3:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.3.tgz#c830f657f93f1ea846819e929092f5fe5983e977"
integrity sha512-ACzBtm/PhXBDId6a6sDJfroT2pOWt/oOnk4/dElG5G33ZL776N3Y6/6bKZJBFpd+b05F3Ct9qDjMeJmRWtE2/g==
-uglify-js@^3.1.4:
- version "3.6.0"
- resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.6.0.tgz#704681345c53a8b2079fb6cec294b05ead242ff5"
- integrity sha512-W+jrUHJr3DXKhrsS7NUVxn3zqMOFn0hL/Ei6v0anCIMoKC93TjcflTagwIHLW7SfMFfiQuktQyFVCFHGUE0+yg==
- dependencies:
- commander "~2.20.0"
- source-map "~0.6.1"
-
ultron@~1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c"
@@ -6885,14 +6881,6 @@ util-promisify@^2.1.0:
dependencies:
object.getownpropertydescriptors "^2.0.3"
-util.promisify@~1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030"
- integrity sha512-i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA==
- dependencies:
- define-properties "^1.1.2"
- object.getownpropertydescriptors "^2.0.3"
-
util@0.10.3:
version "0.10.3"
resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9"
@@ -6947,9 +6935,9 @@ verror@1.10.0:
extsprintf "^1.2.0"
vm-browserify@^1.0.1:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.0.tgz#bd76d6a23323e2ca8ffa12028dc04559c75f9019"
- integrity sha512-iq+S7vZJE60yejDYM0ek6zg308+UZsdtPExWP9VZoCFCz1zkJoXFnAX7aZfd/ZwrkidzdUZL0C/ryW+JwAiIGw==
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0"
+ integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==
void-elements@^2.0.0:
version "2.0.1"
@@ -6981,9 +6969,9 @@ webdriver-js-extender@2.1.0:
selenium-webdriver "^3.0.1"
webdriver-manager@^12.0.6:
- version "12.1.6"
- resolved "https://registry.yarnpkg.com/webdriver-manager/-/webdriver-manager-12.1.6.tgz#9e5410c506d1a7e0a7aa6af91ba3d5bb37f362b6"
- integrity sha512-B1mOycNCrbk7xODw7Jgq/mdD3qzPxMaTsnKIQDy2nXlQoyjTrJTTD0vRpEZI9b8RibPEyQvh9zIZ0M1mpOxS3w==
+ version "12.1.7"
+ resolved "https://registry.yarnpkg.com/webdriver-manager/-/webdriver-manager-12.1.7.tgz#ed4eaee8f906b33c146e869b55e850553a1b1162"
+ integrity sha512-XINj6b8CYuUYC93SG3xPkxlyUc3IJbD6Vvo75CVGuG9uzsefDzWQrhz0Lq8vbPxtb4d63CZdYophF8k8Or/YiA==
dependencies:
adm-zip "^0.4.9"
chalk "^1.1.1"
@@ -7016,9 +7004,9 @@ webpack-dev-middleware@3.7.0:
webpack-log "^2.0.0"
webpack-dev-middleware@^3.7.0:
- version "3.7.1"
- resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.7.1.tgz#1167aea02afa034489869b8368fe9fed1aea7d09"
- integrity sha512-5MWu9SH1z3hY7oHOV6Kbkz5x7hXbxK56mGHNqHTe6d+ewxOwKUxoUJBs7QIaJb33lPjl9bJZ3X0vCoooUzC36A==
+ version "3.7.2"
+ resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.7.2.tgz#0019c3db716e3fa5cecbf64f2ab88a74bab331f3"
+ integrity sha512-1xC42LxbYoqLNAhV6YzTYacicgMZQTqRd27Sim9wn5hJrX3I5nxYy1SxSd4+gjUFsz1dQFj+yEe6zEVmSkeJjw==
dependencies:
memory-fs "^0.4.1"
mime "^2.4.4"
@@ -7161,13 +7149,6 @@ which@^1.2.1, which@^1.2.9, which@^1.3.1:
dependencies:
isexe "^2.0.0"
-wide-align@^1.1.0:
- version "1.1.3"
- resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457"
- integrity sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==
- dependencies:
- string-width "^1.0.2 || 2"
-
wordwrap@~0.0.2:
version "0.0.3"
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107"
@@ -7210,12 +7191,11 @@ ws@~3.3.1:
ultron "~1.1.0"
xml2js@^0.4.17:
- version "0.4.22"
- resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.22.tgz#4fa2d846ec803237de86f30aa9b5f70b6600de02"
- integrity sha512-MWTbxAQqclRSTnehWWe5nMKzI3VmJ8ltiJEco8akcC6j3miOhjjfzKum5sId+CWhfxdOs/1xauYr8/ZDBtQiRw==
+ version "0.4.23"
+ resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.23.tgz#a0c69516752421eb2ac758ee4d4ccf58843eac66"
+ integrity sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==
dependencies:
sax ">=0.6.0"
- util.promisify "~1.0.0"
xmlbuilder "~11.0.0"
xmlbuilder@~11.0.0:
@@ -7244,9 +7224,9 @@ yallist@^2.1.2:
integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=
yallist@^3.0.0, yallist@^3.0.2, yallist@^3.0.3:
- version "3.0.3"
- resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.3.tgz#b4b049e314be545e3ce802236d6cd22cd91c3de9"
- integrity sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==
+ version "3.1.1"
+ resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
+ integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==
yargs-parser@^11.1.1:
version "11.1.1"
From 4296c5c9f95c2dae7754c4a6ba1751444b9ff039 Mon Sep 17 00:00:00 2001
From: Baptiste Lemoine
Date: Wed, 15 Jan 2020 15:55:15 +0100
Subject: [PATCH 05/15] :art: add font awesome
---
angular.json | 1 +
package.json | 1 +
src/app/config/PollConfig.ts | 3 +-
src/app/services/config.service.ts | 147 ++++++++++++++++++++---------
yarn.lock | 5 +
5 files changed, 109 insertions(+), 48 deletions(-)
diff --git a/angular.json b/angular.json
index 4fc871a3..4ba86702 100644
--- a/angular.json
+++ b/angular.json
@@ -29,6 +29,7 @@
],
"styles": [
"node_modules/primeicons/primeicons.css",
+ "node_modules/font-awesome/css/font-awesome.css",
"node_modules/primeng/resources/themes/nova-light/theme.css",
"node_modules/primeng/resources/primeng.min.css",
"src/styles.scss"
diff --git a/package.json b/package.json
index 0357a1aa..66cb24fc 100644
--- a/package.json
+++ b/package.json
@@ -26,6 +26,7 @@
"@ngx-translate/core": "^11.0.1",
"@ngx-translate/http-loader": "^4.0.0",
"chart.js": "^2.8.0",
+ "font-awesome": "^4.7.0",
"ngx-markdown": "^8.2.1",
"ngx-toaster": "^1.0.1",
"primeicons": "^2.0.0",
diff --git a/src/app/config/PollConfig.ts b/src/app/config/PollConfig.ts
index db150ad1..37912a7f 100644
--- a/src/app/config/PollConfig.ts
+++ b/src/app/config/PollConfig.ts
@@ -71,5 +71,6 @@ export class PollConfig {
answers: any = defaultAnswers;
-
+ constructor() {
+ }
}
diff --git a/src/app/services/config.service.ts b/src/app/services/config.service.ts
index 45405d62..f699b24b 100644
--- a/src/app/services/config.service.ts
+++ b/src/app/services/config.service.ts
@@ -1,6 +1,6 @@
import {Injectable} from '@angular/core';
import {PollConfig} from '../config/PollConfig';
-import {HttpClient, HttpHeaders, HttpParams} from "@angular/common/http";
+import {HttpClient, HttpHeaders} from "@angular/common/http";
import {environment} from "../../environments/environment";
import {MessageService} from 'primeng/api';
@@ -17,7 +17,7 @@ export class ConfigService extends PollConfig {
myPolls: any;// list of retrieved polls from the backend api
- constructor(public http: HttpClient,
+ constructor(private http: HttpClient,
private messageService: MessageService) {
super();
}
@@ -26,6 +26,10 @@ export class ConfigService extends PollConfig {
this[key] = val;
}
+ clear() {
+ this.messageService.clear();
+ }
+
/** ==================================
*
* poll public calls to get non authenticated info
@@ -64,6 +68,24 @@ export class ConfigService extends PollConfig {
return jsonConfig
}
+ makeHeaders(bodyContent?: any) {
+
+ const headerDict = {
+ 'Charset': 'UTF-8',
+ 'Content-Type': 'application/json',
+ 'Accept': 'application/json',
+ 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE',
+ 'Access-Control-Allow-Origin': '*'
+ };
+
+ const requestOptions = {
+ headers: new HttpHeaders(headerDict),
+ body: bodyContent
+ };
+
+ return requestOptions;
+ }
+
/**
* search in localstorage, fallback asking the backend to send an email to the owner if it exists
* @param email
@@ -76,27 +98,28 @@ export class ConfigService extends PollConfig {
this.myEmail = email;
- const headerDict = {
- 'Content-Type': 'application/json',
- 'Accept': 'application/json',
- 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE',
- 'Access-Control-Allow-Origin': environment.baseApiHref
- };
-
- const requestOptions = {
- headers: new HttpHeaders(headerDict),
- email: this.myEmail
- };
this.loading = true;
this.http.get(`${this.baseHref}/my-polls`,
- requestOptions,
+ this.makeHeaders({email: this.myEmail}),
)
.subscribe(res => {
// message: 'Trouvé! Allez voir votre boite email',
this.myPolls = res;
+ console.log('res', res)
this.loading = false;
- }, this.handleError
+ this.messageService.add({
+ severity: 'success',
+ summary: 'Service Message',
+ detail: 'Via MessageService'
+ });
+ }, (e) => {
+ this.messageService.add(
+ {
+ severity: 'warning',
+ summary: "Erreur lors de l'appel "
+ });
+ }
)
}
@@ -107,9 +130,9 @@ export class ConfigService extends PollConfig {
*/
handleError(err: any) {
// TODO handle a toast message
- console.error('err', err)
+ console.error('err', err);
this.loading = false;
- this.messageService.add({severity: 'success', summary: 'Service Message', detail: 'Via MessageService'});
+ this.messageService.add({severity: 'warning', summary: "Erreur lors de l'appel "});
}
@@ -120,14 +143,16 @@ export class ConfigService extends PollConfig {
/**
- *
+ * get one poll by its slug name
* @param url
*/
getPollByURL(url: string) {
- this.http.get(`${this.baseHref}/poll/${url}`).subscribe(
+ this.http.get(`${this.baseHref}/poll/${url}`, this.makeHeaders()).subscribe(
(res: any) => {
this.myPolls = res.data;
- }, this.handleError
+ }, (e) => {
+ this.handleError(e)
+ }
);
}
@@ -140,11 +165,13 @@ export class ConfigService extends PollConfig {
this.http
.get(`${this.baseHref}/poll/${id}`,
- {params: new HttpParams().set('body', password)})
+ this.makeHeaders({body: password}))
.subscribe(
(res: any) => {
this.myPolls = res.data;
- }, this.handleError
+ }, (e) => {
+ this.handleError(e)
+ }
);
}
@@ -156,17 +183,14 @@ export class ConfigService extends PollConfig {
getMyPolls(ownerEmail: string) {
this.http
.get(`${this.baseHref}/my-polls`,
- {
- headers: new HttpHeaders()
- .append('Content-Type', 'application/json')
- .append('Charset', 'UTF-8')
- ,
- params: new HttpParams().set('ownerEmail', ownerEmail)
- })
+ this.makeHeaders({ownerEmail: ownerEmail})
+ )
.subscribe(
(res: any) => {
this.myPolls = res.data;
- }, this.handleError
+ }, (e) => {
+ this.handleError(e)
+ }
);
}
@@ -177,7 +201,7 @@ export class ConfigService extends PollConfig {
createPoll() {
console.log('sends the form');
// alert('envoi de formulaire pour création de sondage en XHR à faire');
- this.http.get(`${this.baseHref}/`)
+ this.http.get(`${this.baseHref}/`, this.makeHeaders())
.subscribe((res) => {
console.log('res', res);
this.createPollFromConfig(this.getPollConfig())
@@ -194,13 +218,15 @@ export class ConfigService extends PollConfig {
* @param config
*/
createPollFromConfig(config: any) {
- this.http.post(`${this.baseHref}/poll`, config)
+ this.http.post(`${this.baseHref}/poll`, this.makeHeaders({config: config}))
.subscribe((res: any) => {
// redirect to the page to administrate the new poll
- alert("succès!");
+ this.messageService.add({severity: 'success', summary: 'Sondage Créé',});
this.selectedPoll = res;
this.pollId = res.pollId;
- }, this.handleError
+ }, (e) => {
+ this.handleError(e)
+ }
);
}
@@ -210,12 +236,20 @@ export class ConfigService extends PollConfig {
* @param voteStack
*/
updatePoll(voteStack: any) {
- this.http.put(`${this.baseHref}/poll/${this.pollId}`, voteStack)
+ this.http.put(
+ `${this.baseHref}/poll/${this.pollId}`,
+ voteStack,
+ this.makeHeaders()
+ )
.subscribe((res: any) => {
-
- alert("succès!");
+ this.messageService.add({
+ severity: 'success',
+ summary: 'Sondage mis à jour',
+ });
this.myPolls = res;
- }, this.handleError
+ }, (e) => {
+ this.handleError(e)
+ }
);
}
@@ -225,12 +259,18 @@ export class ConfigService extends PollConfig {
* @param voteStack
*/
addVote(voteStack: any) {
- this.http.post(`${this.baseHref}/poll/${this.pollId}/vote`, voteStack)
+ this.http.post(
+ `${this.baseHref}/poll/${this.pollId}/vote`,
+ voteStack,
+ this.makeHeaders())
.subscribe((res: any) => {
+ this.messageService.add({severity: 'success', summary: 'Vote ajouté'});
alert("succès!");
this.myPolls = res;
- }, this.handleError
+ }, (e) => {
+ this.handleError(e)
+ }
);
}
@@ -240,12 +280,16 @@ export class ConfigService extends PollConfig {
* @param voteStack
*/
updateVote(voteStack: any) {
- this.http.put(`${this.baseHref}/poll/${this.pollId}/vote`, voteStack)
+ this.http.put(
+ `${this.baseHref}/poll/${this.pollId}/vote`,
+ voteStack,
+ this.makeHeaders())
.subscribe((res: any) => {
-
- alert("succès!");
+ this.messageService.add({severity: 'success', summary: 'Vote mis à jour'});
this.myPolls = res;
- }, this.handleError
+ }, (e) => {
+ this.handleError(e)
+ }
);
}
@@ -255,10 +299,19 @@ export class ConfigService extends PollConfig {
* @param comment
*/
addComment(comment: any) {
- this.http.post(`${this.baseHref}/poll/${this.pollId}/comment`, comment)
+ this.http.post(
+ `${this.baseHref}/poll/${this.pollId}/comment`,
+ comment,
+ this.makeHeaders())
.subscribe((res: any) => {
- alert("succès!");
- }, this.handleError
+ this.messageService.add({
+ severity: 'success',
+ summary: 'Commentaire Créé',
+ detail: 'Via MessageService'
+ });
+ }, (e) => {
+ this.handleError(e)
+ }
);
}
diff --git a/yarn.lock b/yarn.lock
index 4007e4d0..adc4a5bf 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2728,6 +2728,11 @@ follow-redirects@^1.0.0:
dependencies:
debug "^3.0.0"
+font-awesome@^4.7.0:
+ version "4.7.0"
+ resolved "https://registry.yarnpkg.com/font-awesome/-/font-awesome-4.7.0.tgz#8fa8cf0411a1a31afd07b06d2902bb9fc815a133"
+ integrity sha1-j6jPBBGhoxr9B7BtKQK7n8gVoTM=
+
for-in@^0.1.3:
version "0.1.8"
resolved "https://registry.yarnpkg.com/for-in/-/for-in-0.1.8.tgz#d8773908e31256109952b1fdb9b3fa867d2775e1"
From 5657f57fc75b05c055c63798032c8eae0514a0e0 Mon Sep 17 00:00:00 2001
From: Baptiste Lemoine
Date: Wed, 15 Jan 2020 17:55:22 +0100
Subject: [PATCH 06/15] :zap: get poll data in vote choices
---
karma.conf.js | 2 +-
src/app/app.module.ts | 2 +
src/app/config/Routes.ts | 2 +
src/app/config/mock-poll3.ts | 186 ++++++++++++++++++
src/app/debugger/debugger.component.html | 49 ++---
src/app/debugger/debugger.component.ts | 4 +
src/app/pages/admin/admin.component.html | 4 +-
src/app/pages/answers/answers.component.html | 2 +-
.../create-or-retrieve.component.html | 13 +-
.../create-or-retrieve.component.ts | 4 +-
src/app/pages/dates/dates.component.html | 4 +-
src/app/pages/home/home.component.html | 4 +-
src/app/pages/kind/kind.component.html | 12 +-
.../poll-display/poll-display.component.html | 16 ++
.../poll-display/poll-display.component.scss | 0
.../poll-display.component.spec.ts | 25 +++
.../poll-display/poll-display.component.ts | 23 +++
.../visibility/visibility.component.html | 4 +-
src/app/services/config.service.ts | 6 +-
.../ui/navigation/navigation.component.html | 3 +
.../vote-choice/vote-choice.component.html | 58 ++++--
.../vote-choice/vote-choice.component.scss | 56 +++---
src/app/vote-choice/vote-choice.component.ts | 27 +--
23 files changed, 392 insertions(+), 114 deletions(-)
create mode 100644 src/app/config/mock-poll3.ts
create mode 100644 src/app/pages/poll-display/poll-display.component.html
create mode 100644 src/app/pages/poll-display/poll-display.component.scss
create mode 100644 src/app/pages/poll-display/poll-display.component.spec.ts
create mode 100644 src/app/pages/poll-display/poll-display.component.ts
diff --git a/karma.conf.js b/karma.conf.js
index a568270f..cca0956f 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -17,7 +17,7 @@ module.exports = function (config) {
},
coverageIstanbulReporter: {
dir: require('path').join(__dirname, './coverage/framadate'),
- reports: ['html', 'lcovonly', 'text-summary'],
+ reports: ['html', 'lcovonly', 'name-summary'],
fixWebpackSourcePaths: true
},
reporters: ['progress', 'kjhtml'],
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index a977073f..6e18ab24 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -45,6 +45,7 @@ import {ConfigService} from "./services/config.service";
import {PollService} from "./services/poll.service";
import {ToastModule} from 'primeng/toast';
import {MessageService} from "primeng";
+import { PollDisplayComponent } from './pages/poll-display/poll-display.component';
export class MyMissingTranslationHandler implements MissingTranslationHandler {
handle(params: MissingTranslationHandlerParams) {
@@ -83,6 +84,7 @@ export function HttpLoaderFactory(http: HttpClient) {
VoteChoiceComponent,
AdminComponent,
SelectorComponent,
+ PollDisplayComponent,
],
imports: [
diff --git a/src/app/config/Routes.ts b/src/app/config/Routes.ts
index c9fcf5c7..fa981741 100644
--- a/src/app/config/Routes.ts
+++ b/src/app/config/Routes.ts
@@ -11,6 +11,7 @@ import {BaseComponent} from '../pages/base-page/base.component';
import {HomeComponent} from "../pages/home/home.component";
import {PollGraphicComponent} from '../poll-graphic/poll-graphic.component';
import {VoteChoiceComponent} from "../vote-choice/vote-choice.component";
+import {PollDisplayComponent} from "../pages/poll-display/poll-display.component";
/**
* each step in the form is a component
@@ -31,6 +32,7 @@ export const Routes =
{path: 'step/resume', component: ResumeComponent},
{path: 'step/end', component: EndConfirmationComponent},
{path: 'graphic/:poll', component: PollGraphicComponent},
+ {path: 'vote/poll/id/:poll', component: PollDisplayComponent},
{path: 'votechoice', component: VoteChoiceComponent},
{path: '**', redirectTo: '/home', pathMatch: 'full'},
]
diff --git a/src/app/config/mock-poll3.ts b/src/app/config/mock-poll3.ts
new file mode 100644
index 00000000..779b2e69
--- /dev/null
+++ b/src/app/config/mock-poll3.ts
@@ -0,0 +1,186 @@
+export const mockPoll3 = {
+ "message": "your poll config",
+ "data": {
+ "id": 3,
+ "title": "dessin animé préféré",
+ "customUrl": null,
+ "description": "choisissez votre animé préféré",
+ "creationDate": {
+ "date": "2020-01-15 15:07:53.000000",
+ "timezone_type": 3,
+ "timezone": "Europe/Paris"
+ },
+ "expiracyDate": {
+ "date": "2020-01-15 15:07:53.000000",
+ "timezone_type": 3,
+ "timezone": "Europe/Paris"
+ },
+ "owner": {
+ "__initializer__": {},
+ "__cloner__": {},
+ "__isInitialized__": false
+ },
+ "kind": "text",
+ "allowedAnswers": [
+ "yes"
+ ],
+ "modificationPolicy": "self",
+ "mailOnComment": null,
+ "mailOnVote": null,
+ "hideResults": null,
+ "showResultEvenIfPasswords": null,
+ "votes": {},
+ "stacksOfVotes": {},
+ "choices": {},
+ "comments": {},
+ "defaultExpiracyDaysFromNow": 60
+ },
+ "stacks_count": 2,
+ "stacks": [
+ {
+ "pseudo": "Wulfila",
+ "votes": {}
+ },
+ {
+ "pseudo": "Tykayn",
+ "votes": {}
+ }
+ ],
+ "choices_count": 7,
+ "choices": [
+ {
+ "id": 5,
+ "name": "Vic le viking",
+ "dateTime": {
+ "date": "2020-01-15 15:07:53.000000",
+ "timezone_type": 3,
+ "timezone": "Europe/Paris"
+ },
+ "votes": {
+ "count": {
+ "yes": 0,
+ "no": 0,
+ "maybe": 0,
+ "null": 0,
+ }
+ },
+ simpleAnswer: true,
+ "answer": null
+ },
+ {
+ "id": 6,
+ "name": "Boumbo petite automobile",
+ "dateTime": {
+ "date": "2020-01-15 15:07:53.000000",
+ "timezone_type": 3,
+ "timezone": "Europe/Paris"
+ },
+ "votes": {
+ "count": {
+ "yes": 0,
+ "no": 0,
+ "maybe": 0,
+ "null": 0,
+ }
+ },
+ simpleAnswer: true,
+ "answer": null
+ },
+ {
+ "id": 7,
+ "name": "Les mystérieuses cités d'or",
+ "dateTime": {
+ "date": "2020-01-15 15:07:53.000000",
+ "timezone_type": 3,
+ "timezone": "Europe/Paris"
+ },
+ "votes": {
+ "count": {
+ "yes": 0,
+ "no": 0,
+ "maybe": 0,
+ "null": 0,
+ }
+ },
+ simpleAnswer: true,
+ "answer": null
+ },
+ {
+ "id": 8,
+ "name": "Les mondes engloutis",
+ "dateTime": {
+ "date": "2020-01-15 15:07:53.000000",
+ "timezone_type": 3,
+ "timezone": "Europe/Paris"
+ },
+ "votes": {
+ "count": {
+ "yes": 0,
+ "no": 0,
+ "maybe": 0,
+ "null": 0,
+ }
+ },
+ simpleAnswer: true,
+ "answer": null
+ },
+ {
+ "id": 9,
+ "name": "Foot 2 rue",
+ "dateTime": {
+ "date": "2020-01-15 15:07:53.000000",
+ "timezone_type": 3,
+ "timezone": "Europe/Paris"
+ },
+ "votes": {
+ "count": {
+ "yes": 0,
+ "no": 0,
+ "maybe": 0,
+ "null": 0,
+ }
+ },
+ simpleAnswer: true,
+ "answer": null
+ },
+ {
+ "id": 10,
+ "name": "Le chat, la vache, et l'océan",
+ "dateTime": {
+ "date": "2020-01-15 15:07:53.000000",
+ "timezone_type": 3,
+ "timezone": "Europe/Paris"
+ },
+ "votes": {
+ "count": {
+ "yes": 0,
+ "no": 0,
+ "maybe": 0,
+ "null": 0,
+ }
+ },
+ simpleAnswer: true,
+ "answer": null
+ },
+ {
+ "id": 11,
+ "name": "Digimon",
+ "dateTime": {
+ "date": "2020-01-15 15:07:53.000000",
+ "timezone_type": 3,
+ "timezone": "Europe/Paris"
+ },
+ "votes": {
+ "count": {
+ "yes": 0,
+ "no": 0,
+ "maybe": 0,
+ "null": 0,
+ }
+ },
+ simpleAnswer: true,
+ "answer": null
+ }
+ ],
+ "comments": []
+}
diff --git a/src/app/debugger/debugger.component.html b/src/app/debugger/debugger.component.html
index b7f72cfe..bae653fd 100644
--- a/src/app/debugger/debugger.component.html
+++ b/src/app/debugger/debugger.component.html
@@ -18,26 +18,31 @@
type de formulaire: {{config.pollType}}
+
+ Envoyer le formulaire
+
+
+ get poll 1
+
+
+ get my polls
+
+
+ launch success toast
+
+
+ See example of vote page
+
-
-
- Envoyer le formulaire
-
-
- get poll 1
-
-
- get my polls
-
diff --git a/src/app/debugger/debugger.component.ts b/src/app/debugger/debugger.component.ts
index 2dac8523..2cb828ff 100644
--- a/src/app/debugger/debugger.component.ts
+++ b/src/app/debugger/debugger.component.ts
@@ -23,4 +23,8 @@ export class DebuggerComponent implements OnInit {
return true;
}
+
+ launchToast() {
+ this.config.handleError({message: "hop"})
+ }
}
diff --git a/src/app/pages/admin/admin.component.html b/src/app/pages/admin/admin.component.html
index db4f9c73..f2b4063b 100644
--- a/src/app/pages/admin/admin.component.html
+++ b/src/app/pages/admin/admin.component.html
@@ -3,11 +3,11 @@
Informations du sondage
Le titre du sondage est
-
+
et sa description :
Je peux aussi préciser mon nom si je le souhaite :
-
+
Paramètres
Visibilité des réponses
diff --git a/src/app/pages/answers/answers.component.html b/src/app/pages/answers/answers.component.html
index fa2027fa..bfdfdd3e 100644
--- a/src/app/pages/answers/answers.component.html
+++ b/src/app/pages/answers/answers.component.html
@@ -11,7 +11,7 @@
-
+
-
-
-
-
+
+
Aucun sondage.
+
+
+
+
+
diff --git a/src/app/pages/create-or-retrieve/create-or-retrieve.component.ts b/src/app/pages/create-or-retrieve/create-or-retrieve.component.ts
index 469f80ab..fdaefbc9 100644
--- a/src/app/pages/create-or-retrieve/create-or-retrieve.component.ts
+++ b/src/app/pages/create-or-retrieve/create-or-retrieve.component.ts
@@ -1,7 +1,6 @@
import {Component, OnInit} from '@angular/core';
import {BaseComponent} from "../base-page/base.component";
import {ConfigService} from "../../services/config.service";
-import {PollService} from "../../services/poll.service";
@Component({
selector: 'framadate-create-or-retrieve',
@@ -12,8 +11,7 @@ export class CreateOrRetrieveComponent extends BaseComponent implements OnInit {
loadedMyPolls: boolean = false;
- constructor(public config: ConfigService,
- public pollService: PollService) {
+ constructor(public config: ConfigService) {
super(config);
}
diff --git a/src/app/pages/dates/dates.component.html b/src/app/pages/dates/dates.component.html
index 43b43923..9ac26db3 100644
--- a/src/app/pages/dates/dates.component.html
+++ b/src/app/pages/dates/dates.component.html
@@ -89,7 +89,7 @@
X
@@ -133,7 +133,7 @@
Un label pour les labelliser tous
- Input text
-
-
+ Input name
+
+
Input email
@@ -198,9 +198,9 @@
- Label + input text
+ Label + input name
Ceci est un label un peu long mais pas trop
-
+
@@ -220,7 +220,7 @@
- Input text with info
+ Input name with info
like here
diff --git a/src/app/pages/poll-display/poll-display.component.html b/src/app/pages/poll-display/poll-display.component.html
new file mode 100644
index 00000000..6d87e14a
--- /dev/null
+++ b/src/app/pages/poll-display/poll-display.component.html
@@ -0,0 +1,16 @@
+
+
+
{{pollConfigFetched.data.title}}
+
{{pollConfigFetched.data.description}}
+
{{pollConfigFetched.data.creationDate.date}}
+
{{pollConfigFetched.data.creationDate.date}}
+
+ {{pollConfigFetched.stacks_count}} votants,
+ {{pollConfigFetched.choices_count}} choix,
+
+
+
diff --git a/src/app/pages/poll-display/poll-display.component.scss b/src/app/pages/poll-display/poll-display.component.scss
new file mode 100644
index 00000000..e69de29b
diff --git a/src/app/pages/poll-display/poll-display.component.spec.ts b/src/app/pages/poll-display/poll-display.component.spec.ts
new file mode 100644
index 00000000..456bbc09
--- /dev/null
+++ b/src/app/pages/poll-display/poll-display.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { PollDisplayComponent } from './poll-display.component';
+
+describe('PollDisplayComponent', () => {
+ let component: PollDisplayComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ PollDisplayComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(PollDisplayComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/pages/poll-display/poll-display.component.ts b/src/app/pages/poll-display/poll-display.component.ts
new file mode 100644
index 00000000..4626845e
--- /dev/null
+++ b/src/app/pages/poll-display/poll-display.component.ts
@@ -0,0 +1,23 @@
+import {Component, OnInit} from '@angular/core';
+import {BaseComponent} from "../base-page/base.component";
+import {ConfigService} from "../../services/config.service";
+import {mockPoll3} from "../../config/mock-poll3";
+
+@Component({
+ selector: 'framadate-poll-display',
+ templateUrl: './poll-display.component.html',
+ styleUrls: ['./poll-display.component.scss']
+})
+export class PollDisplayComponent extends BaseComponent implements OnInit {
+
+ private pollConfigFetched = mockPoll3;
+ constructor(public config: ConfigService) {
+ super(config);
+ }
+
+ ngOnInit() {
+ // fetch poll with its ID or slug.
+ // store it in the poll property here
+ }
+
+}
diff --git a/src/app/pages/visibility/visibility.component.html b/src/app/pages/visibility/visibility.component.html
index 8ad30767..1f2123df 100644
--- a/src/app/pages/visibility/visibility.component.html
+++ b/src/app/pages/visibility/visibility.component.html
@@ -103,7 +103,7 @@
{{"visibility.access_url_key"|translate}}
-
- {
- this.messageService.add(
- {
- severity: 'warning',
- summary: "Erreur lors de l'appel "
- });
+ this.handleError(e)
}
)
}
diff --git a/src/app/ui/navigation/navigation.component.html b/src/app/ui/navigation/navigation.component.html
index 5aa5ce1e..2a834435 100644
--- a/src/app/ui/navigation/navigation.component.html
+++ b/src/app/ui/navigation/navigation.component.html
@@ -23,6 +23,9 @@
Page démo
+
+ Sondage dessins animés
+
Graphique
diff --git a/src/app/vote-choice/vote-choice.component.html b/src/app/vote-choice/vote-choice.component.html
index ab8be8af..7269afdd 100644
--- a/src/app/vote-choice/vote-choice.component.html
+++ b/src/app/vote-choice/vote-choice.component.html
@@ -1,7 +1,10 @@
-
-
+
+
+ {{choice.name}}
+
+
-
- {{choice.date | date:'EEE'}} {{choice.date | date:'dd'}} {{choice.date | date:'LLL'}}
-
-
- 08:00
+
+
+ {{choice.date | date:'EEE'}} {{choice.date | date:'dd'}} {{choice.date | date:'LLL'}}
+
+
+ 08:00
+
@@ -26,32 +32,46 @@
-
+
- {{choice.votesCount.yes}}
+ {{choice.votes.count.yes}}
- {{choice.votesCount.maybe}}
+ {{choice.votes.count.maybe}}
\ No newline at end of file
+
diff --git a/src/app/vote-choice/vote-choice.component.scss b/src/app/vote-choice/vote-choice.component.scss
index 243bc75a..f532b1b9 100644
--- a/src/app/vote-choice/vote-choice.component.scss
+++ b/src/app/vote-choice/vote-choice.component.scss
@@ -8,19 +8,17 @@
@import "../../assets/scss/variables";
-
// -- VARIABLES
// ----------------------------
-$box-padding : 2rem;
-$box-border-width : .6rem;
-$btn-size : 5rem;
-$btn-margin-x : 1rem;
-$btn-margin-y : 1.5rem;
-$btn-wrap-size : calc(2 * #{$btn-size} + 4 * #{$btn-margin-x});
-$img-maxheight : 12rem;
-$breakpoint-responsive : 640px; // à définir
-
+$box-padding: 2rem;
+$box-border-width: .6rem;
+$btn-size: 5rem;
+$btn-margin-x: 1rem;
+$btn-margin-y: 1.5rem;
+$btn-wrap-size: calc(2 * #{$btn-size} + 4 * #{$btn-margin-x});
+$img-maxheight: 12rem;
+$breakpoint-responsive: 640px; // à définir
// -- GLOBAL
@@ -34,11 +32,17 @@ $breakpoint-responsive : 640px; // à définir
border-left: $box-border-width solid transparent;
background-color: $white;
box-shadow: 0 0 .6rem 0 rgba($black, .2);
+
&--active {
padding-left: $box-padding;
border-left-color: $primary_color;
}
+ &.selection-yes {
+ font-weight: 700;
+ background: #e9bdeb;
+ }
+
@media (min-width: $breakpoint-responsive) {
display: flex;
align-items: center;
@@ -58,7 +62,6 @@ $breakpoint-responsive : 640px; // à définir
}
-
// -- DATE
// ----------------------------
@@ -79,7 +82,6 @@ $breakpoint-responsive : 640px; // à définir
}
-
// -- IMG
// ----------------------------
@@ -89,7 +91,6 @@ $breakpoint-responsive : 640px; // à définir
}
-
// -- TXT
// ----------------------------
@@ -99,7 +100,6 @@ $breakpoint-responsive : 640px; // à définir
}
-
// -- VOTE BTNS
// ----------------------------
@@ -129,25 +129,29 @@ $breakpoint-responsive : 640px; // à définir
align-items: center;
justify-content: center;
margin: $btn-margin-y $btn-margin-x;
- border: .1rem solid $primary_color;
+ border: .3rem solid #ccc9c9;
background-color: transparent;
border-radius: 50%;
-
@media (min-width: $breakpoint-responsive) {
margin-top: 0;
margin-bottom: 0;
}
- &:focus,
- &:hover,
- &:active {
- border-color: #ccc9c9;
- background-color: #f7f7f7;
- }
+ //&:focus,
+ //&:hover,
+ //&:active {
+ //
+ // border-color: #ccc9c9;
+ // background-color: #f7f7f7;
+ //
+ // &--active {
+ // border-color: #bf83c2 !important;
+ // }
+ //}
&--maybe {
position: relative;
- top: calc( (#{$btn-size} + 2 * #{$btn-margin-y}) / 2 );
+ top: calc((#{$btn-size} + 2 * #{$btn-margin-y}) / 2);
@media (min-width: $breakpoint-responsive) {
top: auto;
left: auto;
@@ -155,13 +159,11 @@ $breakpoint-responsive : 640px; // à définir
}
&--active {
- border-width: .3rem;
border-color: #bf83c2;
}
}
-
// -- VOTE COUNT
// ----------------------------
@@ -195,6 +197,7 @@ $breakpoint-responsive : 640px; // à définir
.choicebox__vote {
display: inline-block;
vertical-align: middle;
+
& + .choicebox__vote {
margin-left: 1.5rem;
}
@@ -203,6 +206,7 @@ $breakpoint-responsive : 640px; // à définir
.choicebox__countxt {
display: none;
margin-top: .5rem;
+
.choicebox--active & {
display: block;
@media (min-width: $breakpoint-responsive) {
@@ -212,7 +216,6 @@ $breakpoint-responsive : 640px; // à définir
}
-
// -- TOOLTIP
// ----------------------------
@@ -265,6 +268,7 @@ $breakpoint-responsive : 640px; // à définir
& + .choicebox__tooltiplist {
padding-left: 3rem;
}
+
ul {
max-height: 11rem;
overflow: auto;
diff --git a/src/app/vote-choice/vote-choice.component.ts b/src/app/vote-choice/vote-choice.component.ts
index ab31a590..9ecc8f28 100644
--- a/src/app/vote-choice/vote-choice.component.ts
+++ b/src/app/vote-choice/vote-choice.component.ts
@@ -1,21 +1,22 @@
-import {Component, Input} from '@angular/core';
+import {Component, ElementRef, Input} from '@angular/core';
interface VoteChoice {
- votesCount: {
+ votes?: {
yes: number
no: number
maybe: number
notAnswered: number
};
- text?: string;
+ name?: string;
date?: Date;
answer: 'yes' | 'no' | 'maybe' | null;
- simpleAnswer: boolean; // enable if we display only a togglable "yes"
+ simpleAnswer?: boolean
+ false; // enable if we display only a togglable "yes"
}
/**
* each vote choice takes a configuration from the container of all choices.
- * this component is used to select a date choice, or a text answer
+ * this component is used to select a date choice, or a name answer
*/
@Component({
selector: 'framadate-vote-choice',
@@ -24,20 +25,9 @@ interface VoteChoice {
})
export class VoteChoiceComponent {
- @Input() choice: VoteChoice = {
- date: new Date(),
- text: 'description ',
- votesCount: {
- yes: 0,
- no: 0,
- maybe: 0,
- notAnswered: 0
- },
- simpleAnswer: false,
- answer: null
- };
+ @Input() private choice: any;
- constructor() {
+ constructor(private el: ElementRef) {
}
@@ -53,6 +43,7 @@ export class VoteChoiceComponent {
} else {
this.choice.answer = newAnswer;
}
+ this.el.nativeElement.blur();
}
}
From c9b4ffe328ec283b2630406c788dab70b45c8505 Mon Sep 17 00:00:00 2001
From: Baptiste Lemoine
Date: Thu, 16 Jan 2020 10:20:47 +0100
Subject: [PATCH 07/15] merge with dev
---
.../voting-comment.component.html | 7 ++++++
.../voting-comment.component.scss | 0
.../voting-comment.component.spec.ts | 25 +++++++++++++++++++
.../voting-comment.component.ts | 19 ++++++++++++++
4 files changed, 51 insertions(+)
create mode 100644 src/app/pages/voting/voting-comment/voting-comment.component.html
create mode 100644 src/app/pages/voting/voting-comment/voting-comment.component.scss
create mode 100644 src/app/pages/voting/voting-comment/voting-comment.component.spec.ts
create mode 100644 src/app/pages/voting/voting-comment/voting-comment.component.ts
diff --git a/src/app/pages/voting/voting-comment/voting-comment.component.html b/src/app/pages/voting/voting-comment/voting-comment.component.html
new file mode 100644
index 00000000..3f237eb2
--- /dev/null
+++ b/src/app/pages/voting/voting-comment/voting-comment.component.html
@@ -0,0 +1,7 @@
+
diff --git a/src/app/pages/voting/voting-comment/voting-comment.component.scss b/src/app/pages/voting/voting-comment/voting-comment.component.scss
new file mode 100644
index 00000000..e69de29b
diff --git a/src/app/pages/voting/voting-comment/voting-comment.component.spec.ts b/src/app/pages/voting/voting-comment/voting-comment.component.spec.ts
new file mode 100644
index 00000000..03acbaa3
--- /dev/null
+++ b/src/app/pages/voting/voting-comment/voting-comment.component.spec.ts
@@ -0,0 +1,25 @@
+import {async, ComponentFixture, TestBed} from '@angular/core/testing';
+
+import {VotingCommentComponent} from './voting-comment.component';
+
+describe('VotingCommentComponent', () => {
+ let component: VotingCommentComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [VotingCommentComponent]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(VotingCommentComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/pages/voting/voting-comment/voting-comment.component.ts b/src/app/pages/voting/voting-comment/voting-comment.component.ts
new file mode 100644
index 00000000..7bc61462
--- /dev/null
+++ b/src/app/pages/voting/voting-comment/voting-comment.component.ts
@@ -0,0 +1,19 @@
+import {Component, Input, OnInit} from '@angular/core';
+import {mockComments} from "../../../config/mock-comments";
+
+@Component({
+ selector: 'framadate-voting-comment',
+ templateUrl: './voting-comment.component.html',
+ styleUrls: ['./voting-comment.component.scss']
+})
+export class VotingCommentComponent implements OnInit {
+
+ @Input() private comment = mockComments[0];
+
+ constructor() {
+ }
+
+ ngOnInit() {
+ }
+
+}
From 52587428ddcbe179c71892f9288a44202306fb0a Mon Sep 17 00:00:00 2001
From: Baptiste Lemoine
Date: Thu, 16 Jan 2020 10:33:05 +0100
Subject: [PATCH 08/15] :zap: enhance display poll page
---
src/app/config/mock-graph.ts | 52 +++++++++++
.../poll-display/poll-display.component.scss | 87 -------------------
.../poll-graphic/poll-graphic.component.ts | 54 +-----------
src/assets/scss/atoms/_forms.scss | 87 +++++++++++++++++++
4 files changed, 141 insertions(+), 139 deletions(-)
create mode 100644 src/app/config/mock-graph.ts
diff --git a/src/app/config/mock-graph.ts b/src/app/config/mock-graph.ts
new file mode 100644
index 00000000..8eb6ad04
--- /dev/null
+++ b/src/app/config/mock-graph.ts
@@ -0,0 +1,52 @@
+export const mockGraphConfig = {
+ step: 0,
+ stepMax: 3,
+ pollType: "special dates",
+ title: "",
+ description: "",
+ myName: "",
+ visibility: "link_only",
+ // date specific poll
+ allowSeveralHours: "true",
+ dateLgfgfgfgist: ["jeudi", "vendredi", "samedi"], // sets of days as strings
+ timeList: ["08:00", "08:30", "09:00"], // ranges of time expressed as strings
+ answers: [
+ {
+ id: 0,
+ text: "no"
+ },
+
+ {
+ id: 1,
+ text: "yes"
+ },
+ {
+ id: 2,
+ text: "maybe"
+ },
+ {
+ id: 3,
+ text: "maybe"
+ },
+ {
+ id: 4,
+ text: "maybe"
+ },
+ {
+ id: 5,
+ text: "maybe"
+ },
+ {
+ id: 6,
+ text: "maybe"
+ },
+ {
+ id: 7,
+ text: "maybe"
+ },
+ {
+ id: 8,
+ text: "maybe"
+ }
+ ]
+};
diff --git a/src/app/pages/poll-display/poll-display.component.scss b/src/app/pages/poll-display/poll-display.component.scss
index a0272eb8..f1fd6ecf 100644
--- a/src/app/pages/poll-display/poll-display.component.scss
+++ b/src/app/pages/poll-display/poll-display.component.scss
@@ -1,88 +1 @@
@import "../../../assets/scss/variables";
-
-form {
- display: flex;
- margin: auto;
- flex-direction: column;
- align-items: center;
- justify-content: flex-start;
-}
-
-.popup {
- display: flex;
- flex-direction: column;
- z-index: 2222222222;
-}
-
-.row {
- flex-direction: row;
-}
-
-label {
- font-weight: 600;
- font-size: 18px;
-}
-
-.comment, .prefered {
- border-left: 6px solid $ugly-purple;
- padding-left: 5px;
- margin-top: 25px;
- margin-bottom: 25px;
- flex-wrap: wrap;
-}
-
-.comment {
- display: flex;
-}
-
-.commeny span {
- flex-direction: row;
-}
-
-.cname {
- padding-left: 17px;
- font-weight: bold;
-}
-
-.btn {
- max-width: 300px;
-}
-
-.next {
- max-width: 200px;
-}
-
-input[type=text], textarea {
- max-width: 350px;
-}
-
-li {
- list-style-type: none;
-}
-
-h2 {
-
-}
-
-.next {
- align-self: flex-end;
- margin-bottom: 50px;
-}
-
-textarea {
- height: 213px;
- margin-bottom: 20px;
-}
-
-.name {
- margin-bottom: 50px;
- margin-top: 50px;
-}
-
-label {
- align-items: flex-start;
-}
-
-.nobold {
- font-weight: normal;
-}
diff --git a/src/app/poll-graphic/poll-graphic.component.ts b/src/app/poll-graphic/poll-graphic.component.ts
index 990ddb9d..77360876 100644
--- a/src/app/poll-graphic/poll-graphic.component.ts
+++ b/src/app/poll-graphic/poll-graphic.component.ts
@@ -1,6 +1,7 @@
import {Component, Inject, OnInit} from "@angular/core";
import {Chart} from "chart.js";
import {DOCUMENT} from '@angular/common';
+import {mockGraphConfig} from "../config/mock-graph";
@Component({
selector: "framadate-poll-graphic",
@@ -21,58 +22,7 @@ export class PollGraphicComponent implements OnInit {
}
ngOnInit() {
- var toto = {
- step: 0,
- stepMax: 3,
- pollType: "special dates",
- title: "",
- description: "",
- myName: "",
- visibility: "link_only",
- // date specific poll
- allowSeveralHours: "true",
- dateLgfgfgfgist: ["jeudi", "vendredi", "samedi"], // sets of days as strings
- timeList: ["08:00", "08:30", "09:00"], // ranges of time expressed as strings
- answers: [
- {
- id: 0,
- text: "no"
- },
-
- {
- id: 1,
- text: "yes"
- },
- {
- id: 2,
- text: "maybe"
- },
- {
- id: 3,
- text: "maybe"
- },
- {
- id: 4,
- text: "maybe"
- },
- {
- id: 5,
- text: "maybe"
- },
- {
- id: 6,
- text: "maybe"
- },
- {
- id: 7,
- text: "maybe"
- },
- {
- id: 8,
- text: "maybe"
- }
- ]
- };
+ var toto = mockGraphConfig;
this.formatDataAnswers(toto);
diff --git a/src/assets/scss/atoms/_forms.scss b/src/assets/scss/atoms/_forms.scss
index 70ce9843..f39115de 100644
--- a/src/assets/scss/atoms/_forms.scss
+++ b/src/assets/scss/atoms/_forms.scss
@@ -76,3 +76,90 @@ label {
}
}
}
+
+form {
+ display: flex;
+ margin: auto;
+ flex-direction: column;
+ align-items: center;
+ justify-content: flex-start;
+}
+
+.popup {
+ display: flex;
+ flex-direction: column;
+ z-index: 2222222222;
+}
+
+.row {
+ flex-direction: row;
+}
+
+label {
+ font-weight: 600;
+ font-size: 18px;
+}
+
+.comment, .prefered {
+ border-left: 6px solid $ugly-purple;
+ padding-left: 5px;
+ margin-top: 25px;
+ margin-bottom: 25px;
+ flex-wrap: wrap;
+}
+
+.comment {
+ display: flex;
+}
+
+.commeny span {
+ flex-direction: row;
+}
+
+.cname {
+ padding-left: 17px;
+ font-weight: bold;
+}
+
+.btn {
+ max-width: 300px;
+}
+
+.next {
+ max-width: 200px;
+}
+
+input[type=text], textarea {
+ max-width: 350px;
+}
+
+li {
+ list-style-type: none;
+}
+
+h2 {
+
+}
+
+.next {
+ align-self: flex-end;
+ margin-bottom: 50px;
+}
+
+textarea {
+ height: 213px;
+ margin-bottom: 20px;
+}
+
+.name {
+ margin-bottom: 50px;
+ margin-top: 50px;
+}
+
+label {
+ align-items: flex-start;
+}
+
+.nobold {
+ font-weight: normal;
+}
From 051e4d8ee469370a7ae7b68cce6a1325394b9c12 Mon Sep 17 00:00:00 2001
From: Baptiste Lemoine
Date: Thu, 16 Jan 2020 10:45:56 +0100
Subject: [PATCH 09/15] :zap: reorganize poll display page and urls in config
---
src/app/config/PollConfig.ts | 6 ++--
src/app/config/Routes.ts | 3 +-
.../visibility/visibility.component.html | 6 ++--
.../pages/visibility/visibility.component.ts | 2 ++
src/assets/scss/atoms/_forms.scss | 33 ++++++-------------
src/environments/environment.prod.ts | 1 +
src/environments/environment.ts | 1 +
7 files changed, 24 insertions(+), 28 deletions(-)
diff --git a/src/app/config/PollConfig.ts b/src/app/config/PollConfig.ts
index 88339e4f..6a620997 100644
--- a/src/app/config/PollConfig.ts
+++ b/src/app/config/PollConfig.ts
@@ -1,6 +1,8 @@
/**
* une option de date dans les sondages spéciaux
*/
+import {environment} from "../../environments/environment";
+
export interface DateOption {
timeList: any;
literal: string;
@@ -63,8 +65,8 @@ export class PollConfig {
passwordAccess = 0;
password = '';
customUrl = '';
- urlPublic = 'https://framadate.org/default-url';
- urlAdmin = 'https://framadate.org/default-url/admin/d65es45fd45sdf45sd345f312sdf31sgfd345';
+ urlPublic = environment.baseApiHref + '/default-url';
+ urlAdmin = environment.baseApiHref + '/default-url/admin/d65es45fd45sdf45sd345f312sdf31sgfd345';
canModifyAnswers = 1;// everybody, self, nobody (= just admin)
whoModifiesAnswers = "self";// everybody, self, nobody (= just admin)
whoCanChangeAnswers = 'everybody';// everybody, self, nobody (= just admin)
diff --git a/src/app/config/Routes.ts b/src/app/config/Routes.ts
index 1fe1b9ca..45deca18 100644
--- a/src/app/config/Routes.ts
+++ b/src/app/config/Routes.ts
@@ -15,6 +15,7 @@ import {PollDisplayComponent} from "../pages/poll-display/poll-display.component
import {VotingComponent} from "../pages/voting/voting.component";
import {PasswordComponent} from "../pages/password/password.component";
+
/**
* each step in the form is a component
*/
@@ -36,8 +37,8 @@ export const Routes =
{path: 'graphic/:poll', component: PollGraphicComponent},
{path: 'vote/poll/id/:poll', component: PollDisplayComponent},
{path: 'votechoice', component: VoteChoiceComponent},
- {path: '**', redirectTo: '/home', pathMatch: 'full'},
{path: 'voting', component: VotingComponent},
{path: 'step/password', component: PasswordComponent},
+ {path: '**', redirectTo: '/home', pathMatch: 'full'},
]
;
diff --git a/src/app/pages/visibility/visibility.component.html b/src/app/pages/visibility/visibility.component.html
index 1f2123df..89c9844c 100644
--- a/src/app/pages/visibility/visibility.component.html
+++ b/src/app/pages/visibility/visibility.component.html
@@ -107,7 +107,7 @@
class="input-lg"
name="url"
id="url"
- [(ngModel)]="config.customUrl">
+ [value]="baseUrl+'/'+config.customUrl">
{{"visibility.access_instructions"|translate}}
@@ -139,7 +139,9 @@
min="8"
*ngIf="showCustomPassword"
[(ngModel)]="config.password">
-
+
+
{{"visibility.see_pass"|translate}}
diff --git a/src/app/pages/visibility/visibility.component.ts b/src/app/pages/visibility/visibility.component.ts
index cfa20022..75898128 100644
--- a/src/app/pages/visibility/visibility.component.ts
+++ b/src/app/pages/visibility/visibility.component.ts
@@ -1,6 +1,7 @@
import {Component, OnInit} from '@angular/core';
import {BaseComponent} from '../base-page/base.component';
import {ConfigService} from '../../services/config.service';
+import {environment} from "../../../environments/environment";
@Component({
selector: 'framadate-visibility',
@@ -9,6 +10,7 @@ import {ConfigService} from '../../services/config.service';
})
export class VisibilityComponent extends BaseComponent implements OnInit {
showCustomPassword = false;
+ baseUrl = environment.baseApiHref;
constructor(public config: ConfigService) {
super(config);
diff --git a/src/assets/scss/atoms/_forms.scss b/src/assets/scss/atoms/_forms.scss
index f39115de..5180aa05 100644
--- a/src/assets/scss/atoms/_forms.scss
+++ b/src/assets/scss/atoms/_forms.scss
@@ -77,22 +77,17 @@ label {
}
}
-form {
- display: flex;
- margin: auto;
- flex-direction: column;
- align-items: center;
- justify-content: flex-start;
-}
+input {
+ &:not([id]) {
+ color: $dusty-orange;
-.popup {
- display: flex;
- flex-direction: column;
- z-index: 2222222222;
-}
-
-.row {
- flex-direction: row;
+ &:before {
+ content: "cet input n'a pas d'attribut id, c'est mal.";
+ color: $violet;
+ display: block;
+ padding: 1em;
+ }
+ }
}
label {
@@ -108,14 +103,6 @@ label {
flex-wrap: wrap;
}
-.comment {
- display: flex;
-}
-
-.commeny span {
- flex-direction: row;
-}
-
.cname {
padding-left: 17px;
font-weight: bold;
diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts
index 47e900ae..736fe13f 100644
--- a/src/environments/environment.prod.ts
+++ b/src/environments/environment.prod.ts
@@ -1,4 +1,5 @@
export const environment = {
production: true,
+ baseHref: "https://framadate-api.cipherbliss.com/",
baseApiHref: 'https://framadate-api.cipherbliss.com/api/v1'
};
diff --git a/src/environments/environment.ts b/src/environments/environment.ts
index 0ab15255..fc436014 100644
--- a/src/environments/environment.ts
+++ b/src/environments/environment.ts
@@ -4,6 +4,7 @@
export const environment = {
production: false,
+ baseHref: "https://framadate-api.cipherbliss.com/",
baseApiHref: "https://framadate-api.cipherbliss.com/api/v1"
// baseApiHref: "http://localhost:8000/api/v1"
};
From 37904596fbc2f68e2fa6d80d44422b4230af71d8 Mon Sep 17 00:00:00 2001
From: Baptiste Lemoine
Date: Thu, 16 Jan 2020 11:02:57 +0100
Subject: [PATCH 10/15] :zap: change translation button way to be in sync with
the model
---
src/app/app.component.html | 20 ++++++++++++--------
src/app/app.component.ts | 31 ++++++++++++++++++++++++++++++-
2 files changed, 42 insertions(+), 9 deletions(-)
diff --git a/src/app/app.component.html b/src/app/app.component.html
index a875c425..09f418e1 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -18,16 +18,20 @@
+ (click)="changeLanguage()"
+ class="lang_icon clickable"
+ >
+
English
Français
-
+
{{"Title"|translate}}
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index c27047d7..571d0091 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -8,6 +8,8 @@ import {Router} from '@angular/router';
styleUrls: ['./app.component.scss']
})
export class AppComponent {
+ currentLang = 'fr';
+ langsAvailable = ['fr', 'en'];
title = 'framadate';
//translation demo:
minutes = 12;
@@ -15,11 +17,17 @@ export class AppComponent {
name: 'Arthur',
age: 42
};
+ menuVisible: boolean = true;
private step: string;
constructor(private translate: TranslateService,
private route: Router) {
- this.translate.setDefaultLang('fr');
+ this.translate.setDefaultLang(this.currentLang);
+ this.detectCurrentTabOnRouteChange();
+
+ }
+
+ detectCurrentTabOnRouteChange() {
this.route.events.subscribe((event: any) => {
// console.log('event', event);
@@ -39,6 +47,27 @@ export class AppComponent {
switchLanguage(language: string) {
this.translate.use(language);
+ this.currentLang = language;
}
+ /**
+ * set the next lang or loop to the first
+ * this is to manage future languages available
+ */
+ changeLanguage() {
+ let langs = this.langsAvailable;
+ let indexofCurrent = langs.indexOf(this.currentLang);
+ if (indexofCurrent > -1) {
+ let newIndex = indexofCurrent + 1;
+ if (newIndex > (langs.length - 1)) {
+ newIndex = 0;
+ }
+ this.currentLang = this.langsAvailable[newIndex];
+ }
+ this.translate.use(this.currentLang);
+ }
+
+ toggleMenu() {
+ this.menuVisible = !this.menuVisible;
+ }
}
From 5eba5d684b7c8b6194ac1676b4559d189792ec44 Mon Sep 17 00:00:00 2001
From: Baptiste Lemoine
Date: Thu, 16 Jan 2020 11:13:34 +0100
Subject: [PATCH 11/15] :art: visual help on clickable elements
---
src/app/app.component.html | 7 +-
.../create-or-retrieve.component.html | 88 +++++++++----------
.../create-or-retrieve.component.ts | 5 +-
src/assets/scss/atoms/_buttons.scss | 3 +
src/assets/scss/atoms/_forms.scss | 22 ++++-
5 files changed, 70 insertions(+), 55 deletions(-)
diff --git a/src/app/app.component.html b/src/app/app.component.html
index 09f418e1..f0e044df 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -43,14 +43,11 @@
-
{{"Title"|translate}}
-
- {{"Intro"|translate:user}}
-
+
-
+
diff --git a/src/app/pages/create-or-retrieve/create-or-retrieve.component.html b/src/app/pages/create-or-retrieve/create-or-retrieve.component.html
index 561c9383..4e47f575 100644
--- a/src/app/pages/create-or-retrieve/create-or-retrieve.component.html
+++ b/src/app/pages/create-or-retrieve/create-or-retrieve.component.html
@@ -1,51 +1,51 @@
-
-
- {{"creation.title"|translate}}
-
-
- {{"config.description"|translate}}
-
-
+
+
+ {{"creation.title"|translate}}
+
+
+ {{"config.description"|translate}}
+
+
- {{"config.letsgo"|translate}}
+
+ {{"config.letsgo"|translate}}
+
-
-
+
+
-
-
- {{"config.find_my_polls"|translate}}
-
-
-
-
-
+
+ {{"config.find_helper"|translate}} :
+
+
+
+
+
-
-
diff --git a/src/app/pages/create-or-retrieve/create-or-retrieve.component.ts b/src/app/pages/create-or-retrieve/create-or-retrieve.component.ts
index fdaefbc9..5b6271a6 100644
--- a/src/app/pages/create-or-retrieve/create-or-retrieve.component.ts
+++ b/src/app/pages/create-or-retrieve/create-or-retrieve.component.ts
@@ -16,7 +16,10 @@ export class CreateOrRetrieveComponent extends BaseComponent implements OnInit {
}
ngOnInit() {
- this.findMyPollsByEmail('tktest@tktest.com')
+ // if (!environment.production) {
+ // this.findMyPollsByEmail('tktest@tktest.com')
+ // }
+
}
findMyPollsByEmail(email: string) {
diff --git a/src/assets/scss/atoms/_buttons.scss b/src/assets/scss/atoms/_buttons.scss
index 769acde6..8a520838 100644
--- a/src/assets/scss/atoms/_buttons.scss
+++ b/src/assets/scss/atoms/_buttons.scss
@@ -18,6 +18,9 @@
}
}
}
+.clickable {
+ cursor: pointer;
+}
.btn {
margin: .5rem 0;
diff --git a/src/assets/scss/atoms/_forms.scss b/src/assets/scss/atoms/_forms.scss
index 5180aa05..741bff52 100644
--- a/src/assets/scss/atoms/_forms.scss
+++ b/src/assets/scss/atoms/_forms.scss
@@ -86,6 +86,14 @@ input {
color: $violet;
display: block;
padding: 1em;
+ background: yellow;
+ position: relative;
+ top: -1em;
+ z-index: 2;
+ margin-right: 0.5em;
+ right: 0;
+ border: solid red 2px;
+ box-shadow: 0 0 10px orange;
}
}
}
@@ -143,10 +151,16 @@ textarea {
margin-top: 50px;
}
-label {
- align-items: flex-start;
-}
-
.nobold {
font-weight: normal;
}
+
+select, input, textarea {
+ @extend .clickable;
+
+ &:active,
+ &:focus,
+ &:hover {
+ color: $primary_color;
+ }
+}
From 2720b6596241874df330373645952f6a53ebeb5c Mon Sep 17 00:00:00 2001
From: Baptiste Lemoine
Date: Thu, 16 Jan 2020 11:33:13 +0100
Subject: [PATCH 12/15] :zap: check for uniqueness of the slug, slug the title
by default
---
src/app/config/PollConfig.ts | 4 +-
.../visibility/visibility.component.html | 5 +-
.../pages/visibility/visibility.component.ts | 24 +------
src/app/services/config.service.ts | 64 ++++++++++++++++++-
src/assets/scss/atoms/_forms.scss | 2 +-
5 files changed, 71 insertions(+), 28 deletions(-)
diff --git a/src/app/config/PollConfig.ts b/src/app/config/PollConfig.ts
index 6a620997..102a55e5 100644
--- a/src/app/config/PollConfig.ts
+++ b/src/app/config/PollConfig.ts
@@ -59,12 +59,14 @@ export class PollConfig {
// access
visibility = 'link_only'; // visible to anyone with the link:
voteChoices = 'only_yes'; // possible answers to a vote choice: only "yes", "yes, maybe, no"
+ creationDate = new Date();
expirationDate = ''; // expiracy date
pollId = null; // id of the current poll when created. data given by the backend api
selectedPoll = null; // current poll selected with createPoll or getPoll of ConfigService
passwordAccess = 0;
password = '';
- customUrl = '';
+ customUrl = ''; // custom slug in the url, must be unique
+ customUrlIsUnique = null; // given by the backend
urlPublic = environment.baseApiHref + '/default-url';
urlAdmin = environment.baseApiHref + '/default-url/admin/d65es45fd45sdf45sd345f312sdf31sgfd345';
canModifyAnswers = 1;// everybody, self, nobody (= just admin)
diff --git a/src/app/pages/visibility/visibility.component.html b/src/app/pages/visibility/visibility.component.html
index 89c9844c..314f3a9c 100644
--- a/src/app/pages/visibility/visibility.component.html
+++ b/src/app/pages/visibility/visibility.component.html
@@ -107,11 +107,14 @@
class="input-lg"
name="url"
id="url"
- [value]="baseUrl+'/'+config.customUrl">
+ [(ngModel)]="config.customUrl">
{{"visibility.access_instructions"|translate}}
+
+ {{baseUrl + '/' + config.customUrl}}
+
{{"visibility.access_want"|translate}}
diff --git a/src/app/pages/visibility/visibility.component.ts b/src/app/pages/visibility/visibility.component.ts
index 75898128..323c4e5f 100644
--- a/src/app/pages/visibility/visibility.component.ts
+++ b/src/app/pages/visibility/visibility.component.ts
@@ -17,29 +17,9 @@ export class VisibilityComponent extends BaseComponent implements OnInit {
}
ngOnInit() {
- this.config.customUrl = this.makeUuid();
- this.config.expirationDate = (this.addDaysToDate(this.config.expiracyDateDefaultInDays, new Date())).toISOString().substring(0, 10);
+ this.config.customUrl = this.config.makeSlug();
+ this.config.expirationDate = (this.config.addDaysToDate(this.config.expiracyDateDefaultInDays, new Date())).toISOString().substring(0, 10);
}
- /**
- * generate unique id to have a default url for future poll
- */
- makeUuid() {
- return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
- var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);
- return v.toString(16);
- });
- }
-
- /**
- * add some days to a date, to compute intervals
- * @param days
- * @param date
- */
- addDaysToDate(days: number, date: Date) {
- date = new Date(date.valueOf());
- date.setDate(date.getDate() + days);
- return date;
- };
}
diff --git a/src/app/services/config.service.ts b/src/app/services/config.service.ts
index 3a889a90..9a008f05 100644
--- a/src/app/services/config.service.ts
+++ b/src/app/services/config.service.ts
@@ -30,6 +30,48 @@ export class ConfigService extends PollConfig {
this.messageService.clear();
}
+ /**
+ * generate unique id to have a default url for future poll
+ */
+ makeUuid() {
+ return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
+ var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);
+ return v.toString(16);
+ });
+ }
+
+ makeSlug(str?: string) {
+ if (!str) {
+ str = this.creationDate.getFullYear() + '_' + (this.creationDate.getMonth() + 1) + '_' + this.creationDate.getDate() + '_' + this.myName + '_' + this.title;
+ }
+ str = str.replace(/^\s+|\s+$/g, ''); // trim
+ str = str.toLowerCase();
+
+ // remove accents, swap ñ for n, etc
+ var from = "àáäâèéëêìíïîòóöôùúüûñç·/_,:;";
+ var to = "aaaaeeeeiiiioooouuuunc------";
+ for (var i = 0, l = from.length; i < l; i++) {
+ str = str.replace(new RegExp(from.charAt(i), 'g'), to.charAt(i));
+ }
+
+ str = str.replace(/[^a-z0-9 -]/g, '') // remove invalid chars
+ .replace(/\s+/g, '-') // collapse whitespace and replace by -
+ .replace(/-+/g, '-'); // collapse dashes
+
+ return str;
+ }
+
+ /**
+ * add some days to a date, to compute intervals
+ * @param days
+ * @param date
+ */
+ addDaysToDate(days: number, date: Date) {
+ date = new Date(date.valueOf());
+ date.setDate(date.getDate() + days);
+ return date;
+ };
+
/** ==================================
*
* poll public calls to get non authenticated info
@@ -86,6 +128,22 @@ export class ConfigService extends PollConfig {
return requestOptions;
}
+ checkIfSlugIsUniqueInDatabase(slug: string) {
+ this.customUrlIsUnique = null;
+
+ this.loading = true;
+ this.http.get(`${this.baseHref}/check-slug-is-uniq`,
+ this.makeHeaders({slug: this.customUrl}),
+ )
+ .subscribe((res: any) => {
+
+ this.customUrlIsUnique = res.data.isUnique;
+ this.loading = false;
+ },
+ (e) => this.handleError(e))
+ ;
+ }
+
/**
* search in localstorage, fallback asking the backend to send an email to the owner if it exists
* @param email
@@ -105,9 +163,9 @@ export class ConfigService extends PollConfig {
)
.subscribe(res => {
// message: 'Trouvé! Allez voir votre boite email',
- this.myPolls = res;
- console.log('res', res)
- this.loading = false;
+ this.myPolls = res;
+ console.log('res', res);
+ this.loading = false;
this.messageService.add({
severity: 'success',
summary: 'Service Message',
diff --git a/src/assets/scss/atoms/_forms.scss b/src/assets/scss/atoms/_forms.scss
index 741bff52..eafe30d7 100644
--- a/src/assets/scss/atoms/_forms.scss
+++ b/src/assets/scss/atoms/_forms.scss
@@ -51,7 +51,7 @@ option {
background-color: transparent;
background-image: url("./assets/img/fleche_bas.svg");
- padding-right: 1.5rem;
+ padding-right: 2.5rem;
background-repeat: no-repeat;
background-size: 9px 8px;
From 7c64f1f8f08b75fb34ddd7459d8e9580202e5298 Mon Sep 17 00:00:00 2001
From: Baptiste Lemoine
Date: Thu, 16 Jan 2020 11:46:31 +0100
Subject: [PATCH 13/15] :zap: add email to creation
---
src/app/config/PollConfig.ts | 3 +-
.../end-confirmation.component.html | 26 +--
.../end-confirmation.component.ts | 5 +-
src/app/pages/home/home.component.html | 151 ++++++++++--------
src/app/services/config.service.ts | 2 +-
5 files changed, 103 insertions(+), 84 deletions(-)
diff --git a/src/app/config/PollConfig.ts b/src/app/config/PollConfig.ts
index 102a55e5..b74d9473 100644
--- a/src/app/config/PollConfig.ts
+++ b/src/app/config/PollConfig.ts
@@ -47,13 +47,14 @@ export const defaultAnswers = [{
*/
export class PollConfig {
expiracyDateDefaultInDays = 60;
+ deletionDateAfterLastModification = 180;
step = 0;
stepMax = 3;
pollType = 'classic';// classic or date
title = 'titre';
description = 'ma description';
myName = 'mon pseudo';
-
+ myEmail: string = "";
// date specific poll, we have the choice to setup different hours (timeList) for all possible dates (dateList), or use the same hours for all dates
allowSeveralHours = 'false';
// access
diff --git a/src/app/pages/end-confirmation/end-confirmation.component.html b/src/app/pages/end-confirmation/end-confirmation.component.html
index 1d29f484..988fbe9e 100644
--- a/src/app/pages/end-confirmation/end-confirmation.component.html
+++ b/src/app/pages/end-confirmation/end-confirmation.component.html
@@ -7,27 +7,31 @@
Votre sondage «
- {{config.title}}
+ {{config.title}}
+
» a bien été créé !
Voici les liens d’accès au sondage, conservez-les soigneusement !
+ (Si vous les perdez vous pourrez toujours les recevoir par email)
- Pour accéder au sondage et à tous ses paramètres : https://framadate.org/urladmindusondage
+ Pour accéder au sondage et à tous ses paramètres : {{config.urlAdmin}}
+
Copier le lien
-
+
Voir le sondage coté administrateur·ice
- Note : Le sondage sera supprimé 180 jours après la date de sa dernière modification.
+ Note : Le sondage sera supprimé {{config.deletionDateAfterLastModification}} jours après la date de sa dernière
+ modification.
@@ -36,15 +40,16 @@
{{"resume.users"|translate}}
- Pour accéder au sondage : https://framadate.org/urladmindusondage
+ Pour accéder au sondage : {{config.urlPublic}}
+
Copier le lien
-
+
Voir le sondage
@@ -60,15 +65,16 @@
[(ngModel)]="mailToRecieve"
paceholder="email"
>
+
+ >
Envoyer les liens du sondage
-
+
Voir le sondage
diff --git a/src/app/pages/end-confirmation/end-confirmation.component.ts b/src/app/pages/end-confirmation/end-confirmation.component.ts
index 600067f2..c51c5cdd 100644
--- a/src/app/pages/end-confirmation/end-confirmation.component.ts
+++ b/src/app/pages/end-confirmation/end-confirmation.component.ts
@@ -9,18 +9,17 @@ import {ConfigService} from "../../services/config.service";
styleUrls: ['./end-confirmation.component.scss']
})
export class EndConfirmationComponent extends BaseComponent implements OnInit {
- public adminLink = '';
- public publicLink = '';
mailToRecieve = '';
constructor(public config: ConfigService, public http: HttpClient) {
super(config);
+ this.mailToRecieve = this.config.myEmail;
}
ngOnInit() {
}
- copyLink(adminLink: any) {
+ copyLink(str: any) {
}
diff --git a/src/app/pages/home/home.component.html b/src/app/pages/home/home.component.html
index 4613bbb0..8f66401c 100644
--- a/src/app/pages/home/home.component.html
+++ b/src/app/pages/home/home.component.html
@@ -1,79 +1,92 @@
diff --git a/src/app/services/config.service.ts b/src/app/services/config.service.ts
index 9a008f05..c7958a49 100644
--- a/src/app/services/config.service.ts
+++ b/src/app/services/config.service.ts
@@ -11,7 +11,7 @@ import {MessageService} from 'primeng/api';
providedIn: 'root'
})
export class ConfigService extends PollConfig {
- myEmail: string;
+
loading: boolean = false;
baseHref: any = environment.baseApiHref;
myPolls: any;// list of retrieved polls from the backend api
From 4098f7ec5c533d3b35e629278006d6134ff8ee38 Mon Sep 17 00:00:00 2001
From: Baptiste Lemoine
Date: Thu, 16 Jan 2020 12:00:39 +0100
Subject: [PATCH 14/15] :zap: copy to clipboard ok
---
package.json | 1 +
src/app/app.module.ts | 9 +++++++--
.../end-confirmation.component.html | 14 ++++++++++++--
.../end-confirmation.component.scss | 5 +++++
.../end-confirmation.component.ts | 8 ++++++--
.../directives/resettable-input.directive.spec.ts | 8 ++++++++
.../ui/directives/resettable-input.directive.ts | 11 +++++++++++
yarn.lock | 15 +++++++++++++++
8 files changed, 65 insertions(+), 6 deletions(-)
create mode 100644 src/app/ui/directives/resettable-input.directive.spec.ts
create mode 100644 src/app/ui/directives/resettable-input.directive.ts
diff --git a/package.json b/package.json
index efae5b14..cfde9f4d 100644
--- a/package.json
+++ b/package.json
@@ -27,6 +27,7 @@
"@ngx-translate/http-loader": "^4.0.0",
"chart.js": "^2.8.0",
"font-awesome": "^4.7.0",
+ "ngx-clipboard": "^12.3.0",
"ngx-markdown": "^8.2.1",
"ngx-toaster": "^1.0.1",
"primeicons": "^2.0.0",
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index fcc9b6f0..73f0465b 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -44,10 +44,12 @@ import {BrowserAnimationsModule} from "@angular/platform-browser/animations";
import {ConfigService} from "./services/config.service";
import {PollService} from "./services/poll.service";
import {ToastModule} from 'primeng/toast';
-import {MessageService} from "primeng";
+import {MessageModule, MessageService} from "primeng";
import {PollDisplayComponent} from './pages/poll-display/poll-display.component';
import {VotingComponent} from './pages/voting/voting.component';
-import { VotingCommentComponent } from './pages/voting/voting-comment/voting-comment.component';
+import {VotingCommentComponent} from './pages/voting/voting-comment/voting-comment.component';
+import {ResettableInputDirective} from './ui/directives/resettable-input.directive';
+import {ClipboardModule} from "ngx-clipboard";
export class MyMissingTranslationHandler implements MissingTranslationHandler {
handle(params: MissingTranslationHandlerParams) {
@@ -89,14 +91,17 @@ export function HttpLoaderFactory(http: HttpClient) {
PollDisplayComponent,
VotingComponent,
VotingCommentComponent,
+ ResettableInputDirective,
],
imports: [
+ ClipboardModule,
CommonModule,
BrowserModule,
BrowserAnimationsModule,
AppRoutingModule,
ToastModule,
+ MessageModule,
MarkdownModule.forRoot(),
TranslateModule.forRoot({
missingTranslationHandler: {
diff --git a/src/app/pages/end-confirmation/end-confirmation.component.html b/src/app/pages/end-confirmation/end-confirmation.component.html
index 988fbe9e..35eff720 100644
--- a/src/app/pages/end-confirmation/end-confirmation.component.html
+++ b/src/app/pages/end-confirmation/end-confirmation.component.html
@@ -17,11 +17,15 @@
- Pour accéder au sondage et à tous ses paramètres : {{config.urlAdmin}}
+ Pour accéder au sondage et à tous ses paramètres :
+ {{config.urlAdmin}}
+
Copier le lien
@@ -40,11 +44,16 @@
{{"resume.users"|translate}}
- Pour accéder au sondage : {{config.urlPublic}}
+ Pour accéder au sondage :
+ {{config.urlPublic}}
+
+
Copier le lien
@@ -79,3 +88,4 @@
+
diff --git a/src/app/pages/end-confirmation/end-confirmation.component.scss b/src/app/pages/end-confirmation/end-confirmation.component.scss
index e69de29b..503d13c1 100644
--- a/src/app/pages/end-confirmation/end-confirmation.component.scss
+++ b/src/app/pages/end-confirmation/end-confirmation.component.scss
@@ -0,0 +1,5 @@
+:host {
+ button {
+ margin-right: 1em;
+ }
+}
diff --git a/src/app/pages/end-confirmation/end-confirmation.component.ts b/src/app/pages/end-confirmation/end-confirmation.component.ts
index c51c5cdd..b75eeb9d 100644
--- a/src/app/pages/end-confirmation/end-confirmation.component.ts
+++ b/src/app/pages/end-confirmation/end-confirmation.component.ts
@@ -2,6 +2,7 @@ import {Component, OnInit} from '@angular/core';
import {BaseComponent} from '../base-page/base.component';
import {HttpClient} from '@angular/common/http';
import {ConfigService} from "../../services/config.service";
+import {MessageService} from 'primeng/api';
@Component({
selector: 'framadate-end-confirmation',
@@ -11,7 +12,10 @@ import {ConfigService} from "../../services/config.service";
export class EndConfirmationComponent extends BaseComponent implements OnInit {
mailToRecieve = '';
- constructor(public config: ConfigService, public http: HttpClient) {
+ constructor(public config: ConfigService,
+ public http: HttpClient,
+ private messageService: MessageService
+ ) {
super(config);
this.mailToRecieve = this.config.myEmail;
}
@@ -20,7 +24,7 @@ export class EndConfirmationComponent extends BaseComponent implements OnInit {
}
copyLink(str: any) {
-
+ this.messageService.add({severity: 'success', summary: 'Service Message', detail: 'Via MessageService'});
}
sendToEmail() {
diff --git a/src/app/ui/directives/resettable-input.directive.spec.ts b/src/app/ui/directives/resettable-input.directive.spec.ts
new file mode 100644
index 00000000..143a8014
--- /dev/null
+++ b/src/app/ui/directives/resettable-input.directive.spec.ts
@@ -0,0 +1,8 @@
+import { ResettableInputDirective } from './resettable-input.directive';
+
+describe('ResettableInputDirective', () => {
+ it('should create an instance', () => {
+ const directive = new ResettableInputDirective();
+ expect(directive).toBeTruthy();
+ });
+});
diff --git a/src/app/ui/directives/resettable-input.directive.ts b/src/app/ui/directives/resettable-input.directive.ts
new file mode 100644
index 00000000..089ad165
--- /dev/null
+++ b/src/app/ui/directives/resettable-input.directive.ts
@@ -0,0 +1,11 @@
+import {Directive} from '@angular/core';
+
+@Directive({
+ selector: '[framadateResettableInput]'
+})
+export class ResettableInputDirective {
+
+ constructor() {
+ }
+
+}
diff --git a/yarn.lock b/yarn.lock
index cafeabae..7812b5ac 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -5304,6 +5304,14 @@ neo-async@^2.5.0, neo-async@^2.6.0, neo-async@^2.6.1:
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c"
integrity sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==
+ngx-clipboard@^12.3.0:
+ version "12.3.0"
+ resolved "https://registry.yarnpkg.com/ngx-clipboard/-/ngx-clipboard-12.3.0.tgz#8e61a894ff57249db64b733d26f9a0b98c08829f"
+ integrity sha512-ToSsuDv9I1L0g+TcthePcZ4B859/MpoarlHVr2KnHWy3pR8SxfJlNyP2i9STYRQkJ5bSEg65RFErW4tx52lHYQ==
+ dependencies:
+ ngx-window-token "^2.0.0"
+ tslib "^1.9.0"
+
ngx-markdown@^8.2.1:
version "8.2.1"
resolved "https://registry.yarnpkg.com/ngx-markdown/-/ngx-markdown-8.2.1.tgz#53bafde382aa69ae6787abf0d72bf63bc028105a"
@@ -5320,6 +5328,13 @@ ngx-toaster@^1.0.1:
resolved "https://registry.yarnpkg.com/ngx-toaster/-/ngx-toaster-1.0.1.tgz#ee54f83bcbe3da26210097baac08445952899515"
integrity sha1-7lT4O8vj2iYhAJe6rAhEWVKJlRU=
+ngx-window-token@^2.0.0:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/ngx-window-token/-/ngx-window-token-2.0.1.tgz#8f91221af4116aa9f49bb3f7a6f1111639884fba"
+ integrity sha512-rvqdqJEfnWXQFU5fyfYt06E10tR/UtFOYdF3QebfcOh5VIJhnTKiprX8e4B9OrX7WEVFm9BT8uV72xXcEgsaKA==
+ dependencies:
+ tslib "^1.9.0"
+
nice-try@^1.0.4:
version "1.0.5"
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
From b44f2719b44e4aba7476dc7952b4cc739b9d1d39 Mon Sep 17 00:00:00 2001
From: Baptiste Lemoine
Date: Thu, 16 Jan 2020 12:05:54 +0100
Subject: [PATCH 15/15] :zap: toast messages when copied to clipboard and
network errors
---
src/app/app.component.html | 2 ++
.../end-confirmation/end-confirmation.component.html | 1 +
.../pages/end-confirmation/end-confirmation.component.ts | 6 +++++-
src/app/services/config.service.ts | 8 ++++----
4 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/src/app/app.component.html b/src/app/app.component.html
index f0e044df..ab58b404 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -52,3 +52,5 @@
+
+
diff --git a/src/app/pages/end-confirmation/end-confirmation.component.html b/src/app/pages/end-confirmation/end-confirmation.component.html
index 35eff720..9bf23ebe 100644
--- a/src/app/pages/end-confirmation/end-confirmation.component.html
+++ b/src/app/pages/end-confirmation/end-confirmation.component.html
@@ -89,3 +89,4 @@
+
diff --git a/src/app/pages/end-confirmation/end-confirmation.component.ts b/src/app/pages/end-confirmation/end-confirmation.component.ts
index b75eeb9d..effc1d9b 100644
--- a/src/app/pages/end-confirmation/end-confirmation.component.ts
+++ b/src/app/pages/end-confirmation/end-confirmation.component.ts
@@ -24,7 +24,11 @@ export class EndConfirmationComponent extends BaseComponent implements OnInit {
}
copyLink(str: any) {
- this.messageService.add({severity: 'success', summary: 'Service Message', detail: 'Via MessageService'});
+ this.messageService.add({
+ severity: 'success',
+ summary: 'Lien copié',
+ detail: str
+ });
}
sendToEmail() {
diff --git a/src/app/services/config.service.ts b/src/app/services/config.service.ts
index c7958a49..9670d760 100644
--- a/src/app/services/config.service.ts
+++ b/src/app/services/config.service.ts
@@ -163,9 +163,9 @@ export class ConfigService extends PollConfig {
)
.subscribe(res => {
// message: 'Trouvé! Allez voir votre boite email',
- this.myPolls = res;
- console.log('res', res);
- this.loading = false;
+ this.myPolls = res;
+ console.log('res', res);
+ this.loading = false;
this.messageService.add({
severity: 'success',
summary: 'Service Message',
@@ -186,7 +186,7 @@ export class ConfigService extends PollConfig {
// TODO handle a toast message
console.error('err', err);
this.loading = false;
- this.messageService.add({severity: 'warning', summary: "Erreur lors de l'appel "});
+ this.messageService.add({severity: 'warning', summary: "Erreur lors de l'appel ", detail: err.message});
}