From 0012a1df493f9cd4a4b103ecded310e3c4d5ac6d Mon Sep 17 00:00:00 2001 From: Kevin Jump Date: Thu, 29 Feb 2024 21:51:06 +0000 Subject: [PATCH] busy button. --- .../assets/.npmrc | 4 +- .../assets/package-lock.json | 112 +----------------- .../assets/src/components/usync-action-box.ts | 17 +-- .../src/components/usync-progress-box.ts | 2 +- .../views/default/default.element.ts | 12 ++ 5 files changed, 26 insertions(+), 121 deletions(-) diff --git a/uSync.Backoffice.Management.Client/assets/.npmrc b/uSync.Backoffice.Management.Client/assets/.npmrc index ce79b5c7..934cb311 100644 --- a/uSync.Backoffice.Management.Client/assets/.npmrc +++ b/uSync.Backoffice.Management.Client/assets/.npmrc @@ -1,2 +1,2 @@ -registry=https://pkgs.dev.azure.com/jumoo/Public/_packaging/nightly/npm/registry/ -always-auth=true \ No newline at end of file +#registry=https://pkgs.dev.azure.com/jumoo/Public/_packaging/nightly/npm/registry/ +#always-auth=false \ No newline at end of file diff --git a/uSync.Backoffice.Management.Client/assets/package-lock.json b/uSync.Backoffice.Management.Client/assets/package-lock.json index e0d8065c..dd1dd268 100644 --- a/uSync.Backoffice.Management.Client/assets/package-lock.json +++ b/uSync.Backoffice.Management.Client/assets/package-lock.json @@ -10,13 +10,13 @@ "license": "MPL-2.0", "dependencies": { "@microsoft/signalr": "^8.0.0", + "@umbraco-cms/backoffice": "^14.0.0--preview006", "diff": "^5.2.0", "lit": "^3.1.0" }, "devDependencies": { "@types/diff": "^5.0.9", "@types/node": "^20.11.20", - "@umbraco-cms/backoffice": "^14.0.0--preview006", "openapi-typescript-codegen": "^0.25.0", "typescript": "^5.2.2", "vite": "^5.0.8", @@ -553,7 +553,6 @@ "version": "1.3.1", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@openid/appauth/-/@openid/appauth-1.3.1.tgz", "integrity": "sha1-hR6GUHuV+bvh0FN062Kq+bI3j5s=", - "dev": true, "license": "Apache-2.0", "peer": true, "dependencies": { @@ -852,7 +851,6 @@ "version": "1.3.2", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@types/base64-js/-/@types/base64-js-1.3.2.tgz", "integrity": "sha1-npSr48Uh9BJ/LmqLU3tju8BNCVY=", - "dev": true, "license": "MIT", "peer": true }, @@ -866,7 +864,6 @@ "version": "3.0.5", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@types/dompurify/-/@types/dompurify-3.0.5.tgz", "integrity": "sha1-AgaaL8uJoWO6zxp4j3PLQV3XXLc=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -883,7 +880,6 @@ "version": "3.5.29", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@types/jquery/-/@types/jquery-3.5.29.tgz", "integrity": "sha1-PAah9RnNX8OnoQiXFDbABoW13Oo=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -909,7 +905,6 @@ "version": "2.3.8", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@types/sizzle/-/@types/sizzle-2.3.8.tgz", "integrity": "sha1-UYYJrvt5faGb8iL+sZno9lP/dic=", - "dev": true, "license": "MIT", "peer": true }, @@ -922,7 +917,6 @@ "version": "9.0.8", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@types/uuid/-/@types/uuid-9.0.8.tgz", "integrity": "sha1-dUW6T8PAA9bHVvZR878WPY8PKbo=", - "dev": true, "license": "MIT", "peer": true }, @@ -930,7 +924,6 @@ "version": "14.0.0--preview006", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-cms/backoffice/-/@umbraco-cms/backoffice-14.0.0--preview006.tgz", "integrity": "sha1-1xz5P1/KD0iZNXjOroGrP32yDxk=", - "dev": true, "license": "MIT", "engines": { "node": ">=20.9 <21", @@ -958,7 +951,6 @@ "version": "1.7.1", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui/-/@umbraco-ui/uui-1.7.1.tgz", "integrity": "sha1-yUYZKMoM2E40B7eI/+QrD6ijEfo=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1050,7 +1042,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-action-bar/-/@umbraco-ui/uui-action-bar-1.7.0.tgz", "integrity": "sha1-BhifLeToDZd+8FAxgWd17lU/nWk=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1062,7 +1053,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-avatar/-/@umbraco-ui/uui-avatar-1.7.0.tgz", "integrity": "sha1-QHEFMUbjIRcNhvDl3FMPA1fLXzk=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1073,7 +1063,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-avatar-group/-/@umbraco-ui/uui-avatar-group-1.7.0.tgz", "integrity": "sha1-HPd8kYMqkG6GSuqK7WZYxUp3aBQ=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1085,7 +1074,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-badge/-/@umbraco-ui/uui-badge-1.7.0.tgz", "integrity": "sha1-JYlq7wIOper6TMWPFORkiT/imtw=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1096,7 +1084,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-base/-/@umbraco-ui/uui-base-1.7.0.tgz", "integrity": "sha1-oCMuClzBz/U2BhWH0SvI/ATJyk0=", - "dev": true, "license": "MIT", "peer": true, "peerDependencies": { @@ -1107,7 +1094,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-boolean-input/-/@umbraco-ui/uui-boolean-input-1.7.0.tgz", "integrity": "sha1-lX8lkhVUGvCNuDMdR/GNZlkiFbI=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1118,7 +1104,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-box/-/@umbraco-ui/uui-box-1.7.0.tgz", "integrity": "sha1-jTpOolZ8vN8QeC0o/H5sSRkBJgA=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1130,7 +1115,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-breadcrumbs/-/@umbraco-ui/uui-breadcrumbs-1.7.0.tgz", "integrity": "sha1-xlxdx13mGL+TofAfK715eFWDwz0=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1141,7 +1125,6 @@ "version": "1.7.1", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-button/-/@umbraco-ui/uui-button-1.7.1.tgz", "integrity": "sha1-6onh/Ho3FrkdXLLoIm3jl9wNT0Y=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1153,7 +1136,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-button-group/-/@umbraco-ui/uui-button-group-1.7.0.tgz", "integrity": "sha1-re+RNnr8QkE1yyLA0W1gy7Z+IDo=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1164,7 +1146,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-button-inline-create/-/@umbraco-ui/uui-button-inline-create-1.7.0.tgz", "integrity": "sha1-ZbOcHIL3wjS7W5Ri9WIabA5Ib/4=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1175,7 +1156,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-card/-/@umbraco-ui/uui-card-1.7.0.tgz", "integrity": "sha1-r2IY1yaGW+s621zIRy0mGebuscg=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1186,7 +1166,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-card-block-type/-/@umbraco-ui/uui-card-block-type-1.7.0.tgz", "integrity": "sha1-imjnYsmY3ID0mE0T43j9AzZKhhk=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1198,7 +1177,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-card-content-node/-/@umbraco-ui/uui-card-content-node-1.7.0.tgz", "integrity": "sha1-rcYOUaitHrWSWGadjTpwxhf9xAk=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1211,7 +1189,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-card-media/-/@umbraco-ui/uui-card-media-1.7.0.tgz", "integrity": "sha1-5d40m6wpzS/6ViZL1qWYgpv/Ghw=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1225,7 +1202,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-card-user/-/@umbraco-ui/uui-card-user-1.7.0.tgz", "integrity": "sha1-obmIOIS2PEoxp8lABgHY+ABEnw4=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1238,7 +1214,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-caret/-/@umbraco-ui/uui-caret-1.7.0.tgz", "integrity": "sha1-tYbYxvaq1tX9mzhStlgEmMjFUFo=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1249,7 +1224,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-checkbox/-/@umbraco-ui/uui-checkbox-1.7.0.tgz", "integrity": "sha1-Ppd71ER0zhJTaE4K7nhaXiXd0vQ=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1262,7 +1236,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-color-area/-/@umbraco-ui/uui-color-area-1.7.0.tgz", "integrity": "sha1-QiNa7JzhgLsYB1KshBc9vyr+YDM=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1274,7 +1247,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-color-picker/-/@umbraco-ui/uui-color-picker-1.7.0.tgz", "integrity": "sha1-q7DDlr7Am7KX2Uxkk7eV882BIh4=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1287,7 +1259,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-color-slider/-/@umbraco-ui/uui-color-slider-1.7.0.tgz", "integrity": "sha1-yNQ0e3SKnrlJfyw+VvXUO0uKn1M=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1298,7 +1269,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-color-swatch/-/@umbraco-ui/uui-color-swatch-1.7.0.tgz", "integrity": "sha1-2oErtiwu3/heRXRflYt+FMVhp4w=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1311,7 +1281,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-color-swatches/-/@umbraco-ui/uui-color-swatches-1.7.0.tgz", "integrity": "sha1-wdQYgqCRYjQ7byKdjI3akQH/Be8=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1323,7 +1292,6 @@ "version": "1.7.1", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-combobox/-/@umbraco-ui/uui-combobox-1.7.1.tgz", "integrity": "sha1-Xfi0U+dYq5YTTKxooKlaMpI/cFQ=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1340,7 +1308,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-combobox-list/-/@umbraco-ui/uui-combobox-list-1.7.0.tgz", "integrity": "sha1-JstwUIAEJn9uD4D5z1r1t9dJJUI=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1351,7 +1318,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-css/-/@umbraco-ui/uui-css-1.7.0.tgz", "integrity": "sha1-vfX6VcJNaek2XaUcC/KmaJTxmHw=", - "dev": true, "license": "MIT", "peer": true, "peerDependencies": { @@ -1362,7 +1328,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-dialog/-/@umbraco-ui/uui-dialog-1.7.0.tgz", "integrity": "sha1-eDCQTnKQ0f4mkhAOxH/jTtSTym0=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1374,7 +1339,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-dialog-layout/-/@umbraco-ui/uui-dialog-layout-1.7.0.tgz", "integrity": "sha1-/D1Y65k8OK1EXCBLDmAvQ+tU9wg=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1385,7 +1349,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-file-dropzone/-/@umbraco-ui/uui-file-dropzone-1.7.0.tgz", "integrity": "sha1-RHwizG1msM2eszfPeZ5/26VnK9o=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1397,7 +1360,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-file-preview/-/@umbraco-ui/uui-file-preview-1.7.0.tgz", "integrity": "sha1-NmwxibJAaNwrdNc1348qtT9ov28=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1411,7 +1373,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-form/-/@umbraco-ui/uui-form-1.7.0.tgz", "integrity": "sha1-Fsq/tlUOva7hFB2fJxxDoD6aiug=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1422,7 +1383,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-form-layout-item/-/@umbraco-ui/uui-form-layout-item-1.7.0.tgz", "integrity": "sha1-N1RhlQADd0XknBCAI3eGoxONdzg=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1434,7 +1394,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-form-validation-message/-/@umbraco-ui/uui-form-validation-message-1.7.0.tgz", "integrity": "sha1-3JCKp9VOldTmiRkiazdvSbz2K6Q=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1445,7 +1404,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-icon/-/@umbraco-ui/uui-icon-1.7.0.tgz", "integrity": "sha1-bLuZZ8kZVrqszsXv3zfIrfiveO0=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1456,7 +1414,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-icon-registry/-/@umbraco-ui/uui-icon-registry-1.7.0.tgz", "integrity": "sha1-V59eg9ZZzxAsLFhBb2zdTABL3O0=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1468,7 +1425,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-icon-registry-essential/-/@umbraco-ui/uui-icon-registry-essential-1.7.0.tgz", "integrity": "sha1-HqsZDUkFOkVoKfdKMcEcRQ2OjGo=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1480,7 +1436,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-input/-/@umbraco-ui/uui-input-1.7.0.tgz", "integrity": "sha1-aWR1Cb/daBC9zQdFrFFXGApibuI=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1491,7 +1446,6 @@ "version": "1.7.1", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-input-file/-/@umbraco-ui/uui-input-file-1.7.1.tgz", "integrity": "sha1-bIuxli/eV/tZXyI+iLIKNt9CzyE=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1507,7 +1461,6 @@ "version": "1.7.1", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-input-lock/-/@umbraco-ui/uui-input-lock-1.7.1.tgz", "integrity": "sha1-pE4UWH9oPgML533WaEr7uIOVSic=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1521,7 +1474,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-input-password/-/@umbraco-ui/uui-input-password-1.7.0.tgz", "integrity": "sha1-CUJGALN6yR1yAjUmfxcN6PXoYKo=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1534,7 +1486,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-keyboard-shortcut/-/@umbraco-ui/uui-keyboard-shortcut-1.7.0.tgz", "integrity": "sha1-MY4n/I/TjYfy5V9XGx32kxn+IYg=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1545,7 +1496,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-label/-/@umbraco-ui/uui-label-1.7.0.tgz", "integrity": "sha1-pZmh34WBzyPT9MPxoWjrXIflXVE=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1556,7 +1506,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-loader/-/@umbraco-ui/uui-loader-1.7.0.tgz", "integrity": "sha1-cfA8spuUKPwlhuAzmH8LMzC/f/s=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1567,7 +1516,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-loader-bar/-/@umbraco-ui/uui-loader-bar-1.7.0.tgz", "integrity": "sha1-W5W7Pv9xIPWvEcaV3kYht6WWhPo=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1578,7 +1526,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-loader-circle/-/@umbraco-ui/uui-loader-circle-1.7.0.tgz", "integrity": "sha1-H+zC3uov0ZGK0dlC2tjBkav2u6A=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1589,7 +1536,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-menu-item/-/@umbraco-ui/uui-menu-item-1.7.0.tgz", "integrity": "sha1-9mc4p5apsNyyHb0GnvSCkTAmYIE=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1602,7 +1548,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-modal/-/@umbraco-ui/uui-modal-1.7.0.tgz", "integrity": "sha1-Mv5IDZjG6LYzHZNMchtSKgDpFQE=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1613,7 +1558,6 @@ "version": "1.7.1", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-pagination/-/@umbraco-ui/uui-pagination-1.7.1.tgz", "integrity": "sha1-oq4/vy+EtY205c7/bzLnT66y06M=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1626,7 +1570,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-popover/-/@umbraco-ui/uui-popover-1.7.0.tgz", "integrity": "sha1-/1lsNYx69ViCq/nmuBZOSpBuJgI=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1637,7 +1580,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-popover-container/-/@umbraco-ui/uui-popover-container-1.7.0.tgz", "integrity": "sha1-5kX/0wrEnXGXZdxtoIt9LgC9+zg=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1648,7 +1590,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-progress-bar/-/@umbraco-ui/uui-progress-bar-1.7.0.tgz", "integrity": "sha1-oV8tpurVSX9XbsHv3fr/TyzgrHI=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1659,7 +1600,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-radio/-/@umbraco-ui/uui-radio-1.7.0.tgz", "integrity": "sha1-67urXyHtYx0BfFrxo9x8c2QLN8U=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1670,7 +1610,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-range-slider/-/@umbraco-ui/uui-range-slider-1.7.0.tgz", "integrity": "sha1-OZYiJN5dylPsY68PV9m1qnZlHNE=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1681,7 +1620,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-ref/-/@umbraco-ui/uui-ref-1.7.0.tgz", "integrity": "sha1-PjvE9xbCbhzv3xx5w+PYSPi4JLU=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1692,7 +1630,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-ref-list/-/@umbraco-ui/uui-ref-list-1.7.0.tgz", "integrity": "sha1-ZTleZwLoiAWFO2kgzI+w7dOexIs=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1703,7 +1640,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-ref-node/-/@umbraco-ui/uui-ref-node-1.7.0.tgz", "integrity": "sha1-WO4hOsObK2AJQqpFJMpAX0Pbsa4=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1716,7 +1652,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-ref-node-data-type/-/@umbraco-ui/uui-ref-node-data-type-1.7.0.tgz", "integrity": "sha1-chcxCxB9ph3BRdKR9dHZWTNu0Uk=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1728,7 +1663,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-ref-node-document-type/-/@umbraco-ui/uui-ref-node-document-type-1.7.0.tgz", "integrity": "sha1-NVZQ5r5cCIEDLBLf4ZYrmknLdps=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1740,7 +1674,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-ref-node-form/-/@umbraco-ui/uui-ref-node-form-1.7.0.tgz", "integrity": "sha1-VZ4amCRwUUzAY9sVlOmK/xFjvvs=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1752,7 +1685,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-ref-node-member/-/@umbraco-ui/uui-ref-node-member-1.7.0.tgz", "integrity": "sha1-GMcZ7ciuLJ+9bte+6b86I4cbvfs=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1764,7 +1696,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-ref-node-package/-/@umbraco-ui/uui-ref-node-package-1.7.0.tgz", "integrity": "sha1-8OehjgT9MY4n4YbC/DevzlSAjn0=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1776,7 +1707,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-ref-node-user/-/@umbraco-ui/uui-ref-node-user-1.7.0.tgz", "integrity": "sha1-34vNlOhAYWby2+hx4RvhJf3r4ts=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1788,7 +1718,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-scroll-container/-/@umbraco-ui/uui-scroll-container-1.7.0.tgz", "integrity": "sha1-441wDEu0TDRZNXvBa1Wi24jMsV8=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1799,7 +1728,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-select/-/@umbraco-ui/uui-select-1.7.0.tgz", "integrity": "sha1-zqNjud0mY3P+0lVgyXUjUaN4t6k=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1810,7 +1738,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-slider/-/@umbraco-ui/uui-slider-1.7.0.tgz", "integrity": "sha1-vxmG1KSOGHMPkDhFkvL1QMdOI1Q=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1821,7 +1748,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-symbol-expand/-/@umbraco-ui/uui-symbol-expand-1.7.0.tgz", "integrity": "sha1-LszRkNPf7WRqO8mmJUlfZihITVo=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1832,7 +1758,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-symbol-file/-/@umbraco-ui/uui-symbol-file-1.7.0.tgz", "integrity": "sha1-j7XEMdqVc+rvQ7Zpw9WkeL/3LdI=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1843,7 +1768,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-symbol-file-dropzone/-/@umbraco-ui/uui-symbol-file-dropzone-1.7.0.tgz", "integrity": "sha1-ZFqo3JwpBWkf4amky36xX58SKTY=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1854,7 +1778,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-symbol-file-thumbnail/-/@umbraco-ui/uui-symbol-file-thumbnail-1.7.0.tgz", "integrity": "sha1-eMB9wMdx6IUTdiNDERwEgLWsoQY=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1865,7 +1788,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-symbol-folder/-/@umbraco-ui/uui-symbol-folder-1.7.0.tgz", "integrity": "sha1-yR++KwFgXagudU98hSWozyWbjF4=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1876,7 +1798,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-symbol-lock/-/@umbraco-ui/uui-symbol-lock-1.7.0.tgz", "integrity": "sha1-/oaFMHYBcRDJwP0HQ00gV+TCqMw=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1887,7 +1808,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-symbol-more/-/@umbraco-ui/uui-symbol-more-1.7.0.tgz", "integrity": "sha1-NreJwfq/ZkWqfOBeGEijOE9UMbY=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1898,7 +1818,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-symbol-sort/-/@umbraco-ui/uui-symbol-sort-1.7.0.tgz", "integrity": "sha1-KORKM37Y7D5AgLOaelJHi/F8RcA=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1909,7 +1828,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-table/-/@umbraco-ui/uui-table-1.7.0.tgz", "integrity": "sha1-TRtZCcuUJZvqFk6oPjtWI02L+A0=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1920,7 +1838,6 @@ "version": "1.7.1", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-tabs/-/@umbraco-ui/uui-tabs-1.7.1.tgz", "integrity": "sha1-4YiKpCUF5PjFO7R5+H5C3NZpe5U=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1934,7 +1851,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-tag/-/@umbraco-ui/uui-tag-1.7.0.tgz", "integrity": "sha1-iRQWSZ7jSp3WoCxnwzQ3tMgJcwM=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1945,7 +1861,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-textarea/-/@umbraco-ui/uui-textarea-1.7.0.tgz", "integrity": "sha1-Smo307O8eATlBvR/AfayGsD1zV0=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1956,7 +1871,6 @@ "version": "1.7.1", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-toast-notification/-/@umbraco-ui/uui-toast-notification-1.7.1.tgz", "integrity": "sha1-MoC6f3w2U4T8japE9hc6Mye4L9I=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1971,7 +1885,6 @@ "version": "1.7.1", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-toast-notification-container/-/@umbraco-ui/uui-toast-notification-container-1.7.1.tgz", "integrity": "sha1-8gTcS2ivEIDs682oadBnd++b+1o=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1983,7 +1896,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-toast-notification-layout/-/@umbraco-ui/uui-toast-notification-layout-1.7.0.tgz", "integrity": "sha1-UeGwztpRA6N7h9vQqK96AHPW0XA=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -1995,7 +1907,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-toggle/-/@umbraco-ui/uui-toggle-1.7.0.tgz", "integrity": "sha1-80bcqtPgdP/evluO/B5yKb7SdDw=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -2007,7 +1918,6 @@ "version": "1.7.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/@umbraco-ui/uui-visually-hidden/-/@umbraco-ui/uui-visually-hidden-1.7.0.tgz", "integrity": "sha1-6A25kgLK6FhZ3RC7FUsB03+35/Y=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -2146,7 +2056,6 @@ "version": "0.4.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/asynckit/-/asynckit-0.4.0.tgz", "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", - "dev": true, "license": "MIT", "peer": true }, @@ -2160,7 +2069,6 @@ "version": "1.5.1", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/base64-js/-/base64-js-1.5.1.tgz", "integrity": "sha1-GxtEAWClv3rUC2UPCVljSBkDkwo=", - "dev": true, "funding": [ { "type": "github", @@ -2257,7 +2165,6 @@ "version": "2.9.3", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/colord/-/colord-2.9.3.tgz", "integrity": "sha1-T4zpGd5Fbx1cHDaMMH/iDz5Z+0M=", - "dev": true, "license": "MIT", "peer": true }, @@ -2274,7 +2181,6 @@ "version": "1.0.8", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha1-w9RaizT9cwYxoRCoolIGgrMdWn8=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -2326,7 +2232,6 @@ "version": "1.0.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", - "dev": true, "license": "MIT", "peer": true, "engines": { @@ -2345,7 +2250,6 @@ "version": "3.0.8", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/dompurify/-/dompurify-3.0.8.tgz", "integrity": "sha1-4AIasbCRhLyK9+NcfdkGP0OopDc=", - "dev": true, "license": "(MPL-2.0 OR Apache-2.0)", "peer": true }, @@ -2353,7 +2257,6 @@ "version": "1.3.10", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/element-internals-polyfill/-/element-internals-polyfill-1.3.10.tgz", "integrity": "sha1-eZ3+UQSn2rOcsR+RrxuUdA/3M5Q=", - "dev": true, "license": "MIT", "peer": true }, @@ -2491,7 +2394,6 @@ "version": "1.15.5", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/follow-redirects/-/follow-redirects-1.15.5.tgz", "integrity": "sha1-VNTW0GLA+n2dF/6wCEYVUOO6gCA=", - "dev": true, "funding": [ { "type": "individual", @@ -2513,7 +2415,6 @@ "version": "4.0.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/form-data/-/form-data-4.0.0.tgz", "integrity": "sha1-k5Gdrq82HuUpWEubMWZNwSyfpFI=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -2781,7 +2682,6 @@ "version": "4.17.21", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/lodash-es/-/lodash-es-4.17.21.tgz", "integrity": "sha1-Q+YmxG5lkbd1C+srUBFzkMYJ4+4=", - "dev": true, "license": "MIT", "peer": true }, @@ -2813,7 +2713,6 @@ "version": "12.0.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/marked/-/marked-12.0.0.tgz", "integrity": "sha1-BR6oyMf2UUimMAPfFJlRWixt5xY=", - "dev": true, "license": "MIT", "peer": true, "bin": { @@ -2849,7 +2748,6 @@ "version": "1.52.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha1-u6vNwChZ9JhzAchW4zh85exDv3A=", - "dev": true, "license": "MIT", "peer": true, "engines": { @@ -2860,7 +2758,6 @@ "version": "2.1.35", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha1-OBqHG2KnNEUGYK497uRIE/cNlZo=", - "dev": true, "license": "MIT", "peer": true, "dependencies": { @@ -2898,7 +2795,6 @@ "version": "0.46.0", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/monaco-editor/-/monaco-editor-0.46.0.tgz", "integrity": "sha1-AT5FP9JAiZfk/gv2ezaoCiS8e8w=", - "dev": true, "license": "MIT", "peer": true }, @@ -2986,7 +2882,6 @@ "version": "1.5.2", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/opener/-/opener-1.5.2.tgz", "integrity": "sha1-XTfh81B3udysQwE3InGv3rKhNZg=", - "dev": true, "license": "(WTFPL OR MIT)", "peer": true, "bin": { @@ -3192,7 +3087,6 @@ "version": "7.8.1", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/rxjs/-/rxjs-7.8.1.tgz", "integrity": "sha1-b289meqARCke/ZLnx/z1YsQFdUM=", - "dev": true, "license": "Apache-2.0", "peer": true, "dependencies": { @@ -3280,7 +3174,6 @@ "version": "6.8.3", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/tinymce/-/tinymce-6.8.3.tgz", "integrity": "sha1-ACWkqqTCTcKj4y6D39pwXRlv2AI=", - "dev": true, "license": "MIT", "peer": true }, @@ -3288,7 +3181,6 @@ "version": "24.1.29", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/tinymce-i18n/-/tinymce-i18n-24.1.29.tgz", "integrity": "sha1-qvj6erFdjBxjHVFFTQcuUyZLPAA=", - "dev": true, "license": "MIT", "peer": true }, @@ -3335,7 +3227,6 @@ "version": "2.6.2", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/tslib/-/tslib-2.6.2.tgz", "integrity": "sha1-cDrClCXns3zW/UVukkBNRtHz5K4=", - "dev": true, "license": "0BSD", "peer": true }, @@ -3402,7 +3293,6 @@ "version": "9.0.1", "resolved": "https://www.myget.org/F/umbracoprereleases/npm/uuid/-/uuid-9.0.1.tgz", "integrity": "sha1-4YjUyIU8xyIiA5LEJM1jfzIpPzA=", - "dev": true, "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" diff --git a/uSync.Backoffice.Management.Client/assets/src/components/usync-action-box.ts b/uSync.Backoffice.Management.Client/assets/src/components/usync-action-box.ts index 362f0298..fae66cc9 100644 --- a/uSync.Backoffice.Management.Client/assets/src/components/usync-action-box.ts +++ b/uSync.Backoffice.Management.Client/assets/src/components/usync-action-box.ts @@ -1,6 +1,6 @@ -import { LitElement, customElement, html, css, property } from "@umbraco-cms/backoffice/external/lit"; +import { LitElement, customElement, html, css, property, ifDefined } from "@umbraco-cms/backoffice/external/lit"; import { SyncActionButton, SyncActionGroup } from "../api"; -import { UUIInterfaceColor, UUIInterfaceLook } from "@umbraco-cms/backoffice/external/uui"; +import { UUIButtonState, UUIInterfaceColor, UUIInterfaceLook } from "@umbraco-cms/backoffice/external/uui"; /** * @exports @@ -17,7 +17,9 @@ export class uSyncActionBox extends LitElement { */ @property({ type: Object }) group! : SyncActionGroup ; - + + @property({type: String}) + state: UUIButtonState | undefined = undefined; private _handleClick(group: SyncActionGroup, button: SyncActionButton) { this.dispatchEvent(new CustomEvent('perform-action', { @@ -35,7 +37,7 @@ export class uSyncActionBox extends LitElement { i.color} look=${i.look} - style="font-size: 20px" + state=${ifDefined(this.state)} @click=${() => this._handleClick(this.group, i)} > `; @@ -64,16 +66,17 @@ export class uSyncActionBox extends LitElement { } .box-heading { - font-size: 20pt; + font-size: 16pt; } uui-icon { - margin: 20px; - font-size: 40pt; + margin: 10px; + font-size: 30pt; } uui-button { margin: 0 5px; + font-size: 14pt; } .box-buttons { diff --git a/uSync.Backoffice.Management.Client/assets/src/components/usync-progress-box.ts b/uSync.Backoffice.Management.Client/assets/src/components/usync-progress-box.ts index 757299fe..c5e2182b 100644 --- a/uSync.Backoffice.Management.Client/assets/src/components/usync-progress-box.ts +++ b/uSync.Backoffice.Management.Client/assets/src/components/usync-progress-box.ts @@ -95,7 +95,7 @@ export class uSyncProcessBox extends UmbElementMixin(LitElement) { } .action uui-icon { - font-size: 25pt; + font-size: 20pt; } .complete { diff --git a/uSync.Backoffice.Management.Client/assets/src/workspace/views/default/default.element.ts b/uSync.Backoffice.Management.Client/assets/src/workspace/views/default/default.element.ts index 266f489e..762051d8 100644 --- a/uSync.Backoffice.Management.Client/assets/src/workspace/views/default/default.element.ts +++ b/uSync.Backoffice.Management.Client/assets/src/workspace/views/default/default.element.ts @@ -3,6 +3,7 @@ import { LitElement, css, customElement, html, nothing, state } from "@umbraco-c import { USYNC_CORE_CONTEXT_TOKEN, uSyncWorkspaceContext } from '../../workspace.context.js'; import { SyncActionGroup, SyncHandlerSummary, uSyncActionView } from "../../../api/index.js"; +import { UUIButtonState } from "@umbraco-cms/backoffice/external/uui"; @customElement('usync-default-view') export class uSyncDefaultViewElement extends UmbElementMixin(LitElement) { @@ -19,6 +20,9 @@ export class uSyncDefaultViewElement extends UmbElementMixin(LitElement) { @state() _loaded: Boolean = false; + @state() + _buttonState: UUIButtonState; + @state() _working: boolean = false; @@ -59,6 +63,10 @@ export class uSyncDefaultViewElement extends UmbElementMixin(LitElement) { this.observe(_instance.working, (_working) => { this._working = _working; + + if (this._working) { + this._buttonState = 'waiting'; + } }); this.observe(_instance.results, (_results) => { @@ -67,6 +75,9 @@ export class uSyncDefaultViewElement extends UmbElementMixin(LitElement) { this.observe(_instance.completed, (_completed) => { this._completed = _completed; + if (this._completed) { + this._buttonState = 'success'; + } }); this.observe(_instance.loaded, (_loaded) => { @@ -112,6 +123,7 @@ export class uSyncDefaultViewElement extends UmbElementMixin(LitElement) { return html` `;