Update NPM dependencies

This commit is contained in:
Sipke Schoorstra 2021-06-30 19:41:03 +02:00
parent 1d7a31f63b
commit 6f0032ece5
10 changed files with 1059 additions and 1545 deletions

File diff suppressed because it is too large Load diff

View file

@ -29,45 +29,45 @@
"test": "stencil test --spec --e2e",
"test.watch": "stencil test --spec --e2e --watchAll",
"generate": "stencil generate",
"build:tailwind:dev": "cross-env NODE_ENV=development tailwind build ./tailwind.css -o ./src/globals/tailwind.css & copyfiles -u 2 \"./src/globals/tailwind.css\" \"./src/assets/styles\"",
"build:tailwind:prod": "cross-env NODE_ENV=production tailwind build ./tailwind.css -o ./src/globals/tailwind.css & copyfiles -u 2 \"./src/globals/tailwind.css\" \"./src/assets/styles\""
"build:tailwind:dev": "cross-env NODE_ENV=development tailwind build -i ./tailwind.css -o ./src/globals/tailwind.css & copyfiles -u 2 \"./src/globals/tailwind.css\" \"./src/assets/styles\"",
"build:tailwind:prod": "cross-env NODE_ENV=production tailwind build -i ./tailwind.css -o ./src/globals/tailwind.css & copyfiles -u 2 \"./src/globals/tailwind.css\" \"./src/assets/styles\""
},
"dependencies": {
"@fullhuman/postcss-purgecss": "^4.0.3",
"@stencil/core": "^2.5.2",
"@stencil/core": "^2.6.0",
"@stencil/postcss": "^2.0.0",
"@stencil/router": "^1.0.1",
"@stencil/state-tunnel": "^1.0.1",
"@stencil/store": "^1.4.1",
"@tailwindcss/aspect-ratio": "^0.2.0",
"@tailwindcss/forms": "^0.3.2",
"@tailwindcss/aspect-ratio": "^0.2.1",
"@tailwindcss/forms": "^0.3.3",
"@tailwindcss/jit": "^0.1.18",
"@tailwindcss/typography": "^0.4.0",
"autoprefixer": "10.2.5",
"@tailwindcss/typography": "^0.4.1",
"autoprefixer": "10.2.6",
"axios": "^0.21.1",
"axios-middleware": "^0.3.1",
"cssnano": "^4.1.10",
"d3": "^6.6.2",
"cssnano": "^5.0.6",
"d3": "^7.0.0",
"dagre-d3": "^0.6.4",
"el-transition": "^0.0.7",
"eslint": "7.23.0",
"js-event-bus": "^1.0.3",
"eslint": "7.29.0",
"js-event-bus": "^1.1.0",
"lodash": "^4.17.21",
"moment": "^2.29.1",
"monaco-editor": "^0.23.0",
"postcss": "^8.2.9",
"postcss-import": "^14.0.0",
"monaco-editor": "^0.25.2",
"postcss": "^8.3.5",
"postcss-import": "^14.0.2",
"postcss-preset-env": "^6.7.0",
"stencil-click-outside": "^1.7.1",
"tailwindcss": "^2.2.4",
"tslint": "6.1.3",
"tslint-stencil": "1.0.1",
"typescript": "4.2.3",
"typescript": "4.3.4",
"typescript-tslint-plugin": "1.0.1",
"uuid": "^8.3.2"
},
"devDependencies": {
"@types/d3": "^6.3.0",
"@types/d3": "^7.0.0",
"@types/dagre-d3": "^0.6.2",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3"

View file

@ -728,6 +728,14 @@ select {
--list-counter-style: lower-alpha;
}
.elsa-prose ol[type="A" s] {
--list-counter-style: upper-alpha;
}
.elsa-prose ol[type="a" s] {
--list-counter-style: lower-alpha;
}
.elsa-prose ol[type="I"] {
--list-counter-style: upper-roman;
}
@ -736,6 +744,14 @@ select {
--list-counter-style: lower-roman;
}
.elsa-prose ol[type="I" s] {
--list-counter-style: upper-roman;
}
.elsa-prose ol[type="i" s] {
--list-counter-style: lower-roman;
}
.elsa-prose ol[type="1"] {
--list-counter-style: decimal;
}
@ -2765,6 +2781,45 @@ select {
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
svg.jtk-connector path {
stroke: currentColor;
--tw-text-opacity: 1;
color: rgba(156, 163, 175, var(--tw-text-opacity));
}
svg.jtk-connector.jtk-hover path {
stroke: currentColor;
stroke-width: 2;
--tw-text-opacity: 1;
color: rgba(96, 165, 250, var(--tw-text-opacity));
}
.elsa-w-2-5 {
width: 0.625rem;
}
.elsa-h-2-5 {
height: 0.625rem;
}
.elsa-space-x-0-5 > :not([hidden]) ~ :not([hidden]) {
--tw-space-x-reverse: 0;
margin-right: calc(0.125rem * var(--tw-space-x-reverse));
margin-left: calc(0.125rem * calc(1 - var(--tw-space-x-reverse)));
}
.node.activity, .node.start, .node.add .label-container {
fill: transparent;
}
.node.activity .label-container, .node.start .label-container {
stroke: none;
}
.hidden {
display: none;
}
@media (min-width: 640px) {
.sm\:elsa-prose {
color: #374151;
@ -2798,6 +2853,14 @@ select {
--list-counter-style: lower-alpha;
}
.sm\:elsa-prose ol[type="A" s] {
--list-counter-style: upper-alpha;
}
.sm\:elsa-prose ol[type="a" s] {
--list-counter-style: lower-alpha;
}
.sm\:elsa-prose ol[type="I"] {
--list-counter-style: upper-roman;
}
@ -2806,6 +2869,14 @@ select {
--list-counter-style: lower-roman;
}
.sm\:elsa-prose ol[type="I" s] {
--list-counter-style: upper-roman;
}
.sm\:elsa-prose ol[type="i" s] {
--list-counter-style: lower-roman;
}
.sm\:elsa-prose ol[type="1"] {
--list-counter-style: decimal;
}
@ -3496,6 +3567,14 @@ select {
--list-counter-style: lower-alpha;
}
.md\:elsa-prose ol[type="A" s] {
--list-counter-style: upper-alpha;
}
.md\:elsa-prose ol[type="a" s] {
--list-counter-style: lower-alpha;
}
.md\:elsa-prose ol[type="I"] {
--list-counter-style: upper-roman;
}
@ -3504,6 +3583,14 @@ select {
--list-counter-style: lower-roman;
}
.md\:elsa-prose ol[type="I" s] {
--list-counter-style: upper-roman;
}
.md\:elsa-prose ol[type="i" s] {
--list-counter-style: lower-roman;
}
.md\:elsa-prose ol[type="1"] {
--list-counter-style: decimal;
}
@ -3930,6 +4017,14 @@ select {
--list-counter-style: lower-alpha;
}
.lg\:elsa-prose ol[type="A" s] {
--list-counter-style: upper-alpha;
}
.lg\:elsa-prose ol[type="a" s] {
--list-counter-style: lower-alpha;
}
.lg\:elsa-prose ol[type="I"] {
--list-counter-style: upper-roman;
}
@ -3938,6 +4033,14 @@ select {
--list-counter-style: lower-roman;
}
.lg\:elsa-prose ol[type="I" s] {
--list-counter-style: upper-roman;
}
.lg\:elsa-prose ol[type="i" s] {
--list-counter-style: lower-roman;
}
.lg\:elsa-prose ol[type="1"] {
--list-counter-style: decimal;
}
@ -4426,6 +4529,14 @@ select {
--list-counter-style: lower-alpha;
}
.xl\:elsa-prose ol[type="A" s] {
--list-counter-style: upper-alpha;
}
.xl\:elsa-prose ol[type="a" s] {
--list-counter-style: lower-alpha;
}
.xl\:elsa-prose ol[type="I"] {
--list-counter-style: upper-roman;
}
@ -4434,6 +4545,14 @@ select {
--list-counter-style: lower-roman;
}
.xl\:elsa-prose ol[type="I" s] {
--list-counter-style: upper-roman;
}
.xl\:elsa-prose ol[type="i" s] {
--list-counter-style: lower-roman;
}
.xl\:elsa-prose ol[type="1"] {
--list-counter-style: decimal;
}
@ -4853,6 +4972,14 @@ select {
--list-counter-style: lower-alpha;
}
.\32xl\:elsa-prose ol[type="A" s] {
--list-counter-style: upper-alpha;
}
.\32xl\:elsa-prose ol[type="a" s] {
--list-counter-style: lower-alpha;
}
.\32xl\:elsa-prose ol[type="I"] {
--list-counter-style: upper-roman;
}
@ -4861,6 +4988,14 @@ select {
--list-counter-style: lower-roman;
}
.\32xl\:elsa-prose ol[type="I" s] {
--list-counter-style: upper-roman;
}
.\32xl\:elsa-prose ol[type="i" s] {
--list-counter-style: lower-roman;
}
.\32xl\:elsa-prose ol[type="1"] {
--list-counter-style: decimal;
}

View file

@ -96,8 +96,8 @@ export class ElsaWorkflowDesigner {
}
disconnectedCallback() {
eventBus.off(EventTypes.ActivityPicked, this.onActivityPicked);
eventBus.off(EventTypes.UpdateActivity, this.onUpdateActivity);
eventBus.off(EventTypes.ActivityPicked);
eventBus.off(EventTypes.UpdateActivity);
d3.selectAll('.node').on('click', null);
d3.selectAll('.edgePath').on('contextmenu', null);
}

View file

@ -15,7 +15,7 @@ export class ElsaWebhookEditorNotifications {
}
disconnectedCallback() {
eventBus.off(EventTypes.WebhookSaved, this.onWebhookSaved);
eventBus.off(EventTypes.WebhookSaved);
}
onWebhookSaved = async (webhookDefinition: WebhookDefinition) => await this.toastNotificationElement.show({

View file

@ -22,7 +22,7 @@ export class ElsaActivityPickerModal {
}
disconnectedCallback() {
eventBus.off(EventTypes.ShowActivityPicker, this.onShowActivityPicker);
eventBus.off(EventTypes.ShowActivityPicker);
}
onShowActivityPicker = async () => {

View file

@ -17,9 +17,9 @@ export class ElsaWorkflowEditorNotifications {
}
disconnectedCallback() {
eventBus.off(EventTypes.WorkflowPublished, this.onWorkflowPublished);
eventBus.off(EventTypes.WorkflowRetracted, this.onWorkflowRetracted);
eventBus.off(EventTypes.WorkflowImported, this.onWorkflowImported);
eventBus.off(EventTypes.WorkflowPublished);
eventBus.off(EventTypes.WorkflowRetracted);
eventBus.off(EventTypes.WorkflowImported);
}
onWorkflowPublished = async (workflowDefinition: WorkflowDefinition) => await this.toastNotificationElement.show({

View file

@ -728,6 +728,14 @@ select {
--list-counter-style: lower-alpha;
}
.elsa-prose ol[type="A" s] {
--list-counter-style: upper-alpha;
}
.elsa-prose ol[type="a" s] {
--list-counter-style: lower-alpha;
}
.elsa-prose ol[type="I"] {
--list-counter-style: upper-roman;
}
@ -736,6 +744,14 @@ select {
--list-counter-style: lower-roman;
}
.elsa-prose ol[type="I" s] {
--list-counter-style: upper-roman;
}
.elsa-prose ol[type="i" s] {
--list-counter-style: lower-roman;
}
.elsa-prose ol[type="1"] {
--list-counter-style: decimal;
}
@ -2765,6 +2781,45 @@ select {
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
svg.jtk-connector path {
stroke: currentColor;
--tw-text-opacity: 1;
color: rgba(156, 163, 175, var(--tw-text-opacity));
}
svg.jtk-connector.jtk-hover path {
stroke: currentColor;
stroke-width: 2;
--tw-text-opacity: 1;
color: rgba(96, 165, 250, var(--tw-text-opacity));
}
.elsa-w-2-5 {
width: 0.625rem;
}
.elsa-h-2-5 {
height: 0.625rem;
}
.elsa-space-x-0-5 > :not([hidden]) ~ :not([hidden]) {
--tw-space-x-reverse: 0;
margin-right: calc(0.125rem * var(--tw-space-x-reverse));
margin-left: calc(0.125rem * calc(1 - var(--tw-space-x-reverse)));
}
.node.activity, .node.start, .node.add .label-container {
fill: transparent;
}
.node.activity .label-container, .node.start .label-container {
stroke: none;
}
.hidden {
display: none;
}
@media (min-width: 640px) {
.sm\:elsa-prose {
color: #374151;
@ -2798,6 +2853,14 @@ select {
--list-counter-style: lower-alpha;
}
.sm\:elsa-prose ol[type="A" s] {
--list-counter-style: upper-alpha;
}
.sm\:elsa-prose ol[type="a" s] {
--list-counter-style: lower-alpha;
}
.sm\:elsa-prose ol[type="I"] {
--list-counter-style: upper-roman;
}
@ -2806,6 +2869,14 @@ select {
--list-counter-style: lower-roman;
}
.sm\:elsa-prose ol[type="I" s] {
--list-counter-style: upper-roman;
}
.sm\:elsa-prose ol[type="i" s] {
--list-counter-style: lower-roman;
}
.sm\:elsa-prose ol[type="1"] {
--list-counter-style: decimal;
}
@ -3496,6 +3567,14 @@ select {
--list-counter-style: lower-alpha;
}
.md\:elsa-prose ol[type="A" s] {
--list-counter-style: upper-alpha;
}
.md\:elsa-prose ol[type="a" s] {
--list-counter-style: lower-alpha;
}
.md\:elsa-prose ol[type="I"] {
--list-counter-style: upper-roman;
}
@ -3504,6 +3583,14 @@ select {
--list-counter-style: lower-roman;
}
.md\:elsa-prose ol[type="I" s] {
--list-counter-style: upper-roman;
}
.md\:elsa-prose ol[type="i" s] {
--list-counter-style: lower-roman;
}
.md\:elsa-prose ol[type="1"] {
--list-counter-style: decimal;
}
@ -3930,6 +4017,14 @@ select {
--list-counter-style: lower-alpha;
}
.lg\:elsa-prose ol[type="A" s] {
--list-counter-style: upper-alpha;
}
.lg\:elsa-prose ol[type="a" s] {
--list-counter-style: lower-alpha;
}
.lg\:elsa-prose ol[type="I"] {
--list-counter-style: upper-roman;
}
@ -3938,6 +4033,14 @@ select {
--list-counter-style: lower-roman;
}
.lg\:elsa-prose ol[type="I" s] {
--list-counter-style: upper-roman;
}
.lg\:elsa-prose ol[type="i" s] {
--list-counter-style: lower-roman;
}
.lg\:elsa-prose ol[type="1"] {
--list-counter-style: decimal;
}
@ -4426,6 +4529,14 @@ select {
--list-counter-style: lower-alpha;
}
.xl\:elsa-prose ol[type="A" s] {
--list-counter-style: upper-alpha;
}
.xl\:elsa-prose ol[type="a" s] {
--list-counter-style: lower-alpha;
}
.xl\:elsa-prose ol[type="I"] {
--list-counter-style: upper-roman;
}
@ -4434,6 +4545,14 @@ select {
--list-counter-style: lower-roman;
}
.xl\:elsa-prose ol[type="I" s] {
--list-counter-style: upper-roman;
}
.xl\:elsa-prose ol[type="i" s] {
--list-counter-style: lower-roman;
}
.xl\:elsa-prose ol[type="1"] {
--list-counter-style: decimal;
}
@ -4853,6 +4972,14 @@ select {
--list-counter-style: lower-alpha;
}
.\32xl\:elsa-prose ol[type="A" s] {
--list-counter-style: upper-alpha;
}
.\32xl\:elsa-prose ol[type="a" s] {
--list-counter-style: lower-alpha;
}
.\32xl\:elsa-prose ol[type="I"] {
--list-counter-style: upper-roman;
}
@ -4861,6 +4988,14 @@ select {
--list-counter-style: lower-roman;
}
.\32xl\:elsa-prose ol[type="I" s] {
--list-counter-style: upper-roman;
}
.\32xl\:elsa-prose ol[type="i" s] {
--list-counter-style: lower-roman;
}
.\32xl\:elsa-prose ol[type="1"] {
--list-counter-style: decimal;
}

View file

@ -8,7 +8,7 @@ module.exports = {
enabled: !dev,
content: ['./src/**/*.tsx', './src/**/*.html'],
options: {
safelist: ['jtk-connector', 'rose', 'sky', /gray$/, /pink$/, /blue$/, /green$/, /red$/, /yellow$/, /rose$/]
safelist: ['hidden', 'jtk-connector', 'rose', 'sky', /gray$/, /pink$/, /blue$/, /green$/, /red$/, /yellow$/, /rose$/]
},
},
prefix: 'elsa-',

View file

@ -18,6 +18,7 @@
<ItemGroup>
<PackageReference Include="NEST" Version="7.12.1" />
<PackageReference Include="System.Text.Encodings.Web" Version="5.0.1" />
</ItemGroup>
</Project>