@jumoo/usync-expansions 17.6.0 → 17.6.1-prerelease.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/client/client.gen.js +104 -123
- package/dist/api/client/index.d.ts +2 -0
- package/dist/api/client/types.gen.d.ts +6 -3
- package/dist/api/client/utils.gen.d.ts +8 -4
- package/dist/api/client/utils.gen.js +3 -3
- package/dist/api/client.gen.d.ts +2 -2
- package/dist/api/client.gen.js +1 -2
- package/dist/api/core/auth.gen.d.ts +7 -0
- package/dist/api/core/params.gen.d.ts +2 -2
- package/dist/api/core/params.gen.js +23 -14
- package/dist/api/core/queryKeySerializer.gen.d.ts +1 -1
- package/dist/api/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/api/core/serverSentEvents.gen.js +3 -4
- package/dist/api/core/types.gen.d.ts +5 -0
- package/dist/api/sdk.gen.d.ts +16 -16
- package/dist/api/types.gen.d.ts +2 -0
- package/dist/background/components/pending-list.element.js +10 -10
- package/dist/background/components/pipelines-table.element.js +16 -16
- package/dist/background/components/process-list.element.js +6 -6
- package/dist/background/components/queue-table.element.js +11 -11
- package/dist/background/workspace/background-workspace-element.js +19 -19
- package/dist/components/report-summary-view.js +90 -90
- package/dist/components/usync-property-layout.js +93 -93
- package/dist/index.js +9 -1
- package/dist/licence/components/licence-notice.js +7 -7
- package/dist/licence/components/licence-status.view.js +13 -13
- package/dist/licence/components/styles.js +39 -39
- package/dist/licence/lang/en.js +1 -1
- package/dist/licence/licence.element.js +124 -124
- package/dist/restore/components/restore-point-table.element.js +21 -21
- package/dist/restore/lang/en.js +11 -11
- package/dist/restore/steps/restore-create-complete.js +9 -9
- package/dist/restore/steps/restore-create-element.js +31 -31
- package/dist/restore/steps/restore-report-config-element.js +44 -44
- package/dist/restore/workspace/restore.workspace-view.element.js +42 -42
- package/dist/restore/workspace/restore.workspace.element.js +25 -25
- package/package.json +55 -54
- package/dist/hey-api.d.ts +0 -11
- package/dist/hey-api.js +0 -14
|
@@ -40,57 +40,57 @@ let uSyncRestoreReportConfigElement = class uSyncRestoreReportConfigElement exte
|
|
|
40
40
|
renderRestorePointInfo() {
|
|
41
41
|
if (!this.restorePoint)
|
|
42
42
|
return nothing;
|
|
43
|
-
return html `
|
|
44
|
-
<uui-box .headline=${this.localize.term('uSyncRestore_restoreInfo')}>
|
|
45
|
-
<table>
|
|
46
|
-
<tr>
|
|
47
|
-
<th>Name :</th>
|
|
48
|
-
<td>${this.restorePoint.name}</td>
|
|
49
|
-
</tr>
|
|
50
|
-
<tr>
|
|
51
|
-
<th>Created :</th>
|
|
52
|
-
<td>${this.localize.date(this.restorePoint.created, TimeOptions)}</td>
|
|
53
|
-
</tr>
|
|
54
|
-
<tr>
|
|
55
|
-
<th>Source Site :</th>
|
|
56
|
-
<td>${this.restorePoint.machineName}</td>
|
|
57
|
-
</tr>
|
|
58
|
-
<tr>
|
|
59
|
-
<th>Source :</th>
|
|
60
|
-
<td>${this.restorePoint.action}</td>
|
|
61
|
-
</tr>
|
|
62
|
-
<tr>
|
|
63
|
-
<th>User:</th>
|
|
64
|
-
<td>${this.restorePoint.user}</td>
|
|
65
|
-
</tr>
|
|
66
|
-
</table>
|
|
67
|
-
</uui-box>
|
|
43
|
+
return html `
|
|
44
|
+
<uui-box .headline=${this.localize.term('uSyncRestore_restoreInfo')}>
|
|
45
|
+
<table>
|
|
46
|
+
<tr>
|
|
47
|
+
<th>Name :</th>
|
|
48
|
+
<td>${this.restorePoint.name}</td>
|
|
49
|
+
</tr>
|
|
50
|
+
<tr>
|
|
51
|
+
<th>Created :</th>
|
|
52
|
+
<td>${this.localize.date(this.restorePoint.created, TimeOptions)}</td>
|
|
53
|
+
</tr>
|
|
54
|
+
<tr>
|
|
55
|
+
<th>Source Site :</th>
|
|
56
|
+
<td>${this.restorePoint.machineName}</td>
|
|
57
|
+
</tr>
|
|
58
|
+
<tr>
|
|
59
|
+
<th>Source :</th>
|
|
60
|
+
<td>${this.restorePoint.action}</td>
|
|
61
|
+
</tr>
|
|
62
|
+
<tr>
|
|
63
|
+
<th>User:</th>
|
|
64
|
+
<td>${this.restorePoint.user}</td>
|
|
65
|
+
</tr>
|
|
66
|
+
</table>
|
|
67
|
+
</uui-box>
|
|
68
68
|
`;
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
|
-
return html `<div class="wrapper">
|
|
72
|
-
<uui-box>
|
|
73
|
-
<umb-localize key="uSyncRestore_restoreIntro"></umb-localize>
|
|
74
|
-
</uui-box>
|
|
75
|
-
${this.renderRestorePointInfo()}
|
|
71
|
+
return html `<div class="wrapper">
|
|
72
|
+
<uui-box>
|
|
73
|
+
<umb-localize key="uSyncRestore_restoreIntro"></umb-localize>
|
|
74
|
+
</uui-box>
|
|
75
|
+
${this.renderRestorePointInfo()}
|
|
76
76
|
</div>`;
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
_uSyncRestoreReportConfigElement_context = new WeakMap();
|
|
80
|
-
uSyncRestoreReportConfigElement.styles = css `
|
|
81
|
-
.wrapper {
|
|
82
|
-
display: flex;
|
|
83
|
-
flex-direction: column;
|
|
84
|
-
gap: var(--uui-size-space-4);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.red {
|
|
88
|
-
color: red;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
table th {
|
|
92
|
-
text-align: right;
|
|
93
|
-
}
|
|
80
|
+
uSyncRestoreReportConfigElement.styles = css `
|
|
81
|
+
.wrapper {
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
gap: var(--uui-size-space-4);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.red {
|
|
88
|
+
color: red;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
table th {
|
|
92
|
+
text-align: right;
|
|
93
|
+
}
|
|
94
94
|
`;
|
|
95
95
|
__decorate([
|
|
96
96
|
state()
|
|
@@ -46,47 +46,47 @@ let uSyncRestoreWorkspaceViewElement = class uSyncRestoreWorkspaceViewElement ex
|
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return html `
|
|
50
|
-
<umb-body-layout>
|
|
51
|
-
<usync-licence-notice></usync-licence-notice>
|
|
52
|
-
<div class="content">
|
|
53
|
-
<div>
|
|
54
|
-
<uui-button
|
|
55
|
-
color="positive"
|
|
56
|
-
look="outline"
|
|
57
|
-
label="Create"
|
|
58
|
-
@click=${__classPrivateFieldGet(this, _uSyncRestoreWorkspaceViewElement_instances, "m", _uSyncRestoreWorkspaceViewElement_onCreateRestorePoint)}
|
|
59
|
-
>${this.localize.term('uSyncRestore_create')}</uui-button
|
|
60
|
-
>
|
|
61
|
-
</div>
|
|
62
|
-
|
|
63
|
-
${this.renderTable()}
|
|
64
|
-
</div>
|
|
65
|
-
</umb-body-layout>
|
|
49
|
+
return html `
|
|
50
|
+
<umb-body-layout>
|
|
51
|
+
<usync-licence-notice></usync-licence-notice>
|
|
52
|
+
<div class="content">
|
|
53
|
+
<div>
|
|
54
|
+
<uui-button
|
|
55
|
+
color="positive"
|
|
56
|
+
look="outline"
|
|
57
|
+
label="Create"
|
|
58
|
+
@click=${__classPrivateFieldGet(this, _uSyncRestoreWorkspaceViewElement_instances, "m", _uSyncRestoreWorkspaceViewElement_onCreateRestorePoint)}
|
|
59
|
+
>${this.localize.term('uSyncRestore_create')}</uui-button
|
|
60
|
+
>
|
|
61
|
+
</div>
|
|
62
|
+
|
|
63
|
+
${this.renderTable()}
|
|
64
|
+
</div>
|
|
65
|
+
</umb-body-layout>
|
|
66
66
|
`;
|
|
67
67
|
}
|
|
68
68
|
renderTable() {
|
|
69
69
|
if (this.restorePoints?.length === 0)
|
|
70
70
|
return nothing;
|
|
71
|
-
return html `
|
|
72
|
-
<uui-box
|
|
73
|
-
.headline=${this.localize.term('uSyncRestore_restorePoints')}
|
|
74
|
-
style="--uui-box-default-padding: 0;">
|
|
75
|
-
<div slot="header-actions">
|
|
76
|
-
<uui-button
|
|
77
|
-
color="default"
|
|
78
|
-
look="secondary"
|
|
79
|
-
size="small"
|
|
80
|
-
label="scan"
|
|
81
|
-
@click=${__classPrivateFieldGet(this, _uSyncRestoreWorkspaceViewElement_instances, "m", _uSyncRestoreWorkspaceViewElement_onRestoreLatest)}
|
|
82
|
-
><uui-icon name="icon-paper-plane"></uui-icon> ${this.localize.term('uSyncRestore_restoreLatest')}</uui-button
|
|
83
|
-
>
|
|
84
|
-
</div>
|
|
85
|
-
<usync-restore-point-table
|
|
86
|
-
.restorePoints=${this.restorePoints}
|
|
87
|
-
@delete-restore-point=${__classPrivateFieldGet(this, _uSyncRestoreWorkspaceViewElement_instances, "m", _uSyncRestoreWorkspaceViewElement_onDelete)}
|
|
88
|
-
@restore-restore-point=${__classPrivateFieldGet(this, _uSyncRestoreWorkspaceViewElement_instances, "m", _uSyncRestoreWorkspaceViewElement_onRestore)}></usync-restore-point-table>
|
|
89
|
-
</uui-box>
|
|
71
|
+
return html `
|
|
72
|
+
<uui-box
|
|
73
|
+
.headline=${this.localize.term('uSyncRestore_restorePoints')}
|
|
74
|
+
style="--uui-box-default-padding: 0;">
|
|
75
|
+
<div slot="header-actions">
|
|
76
|
+
<uui-button
|
|
77
|
+
color="default"
|
|
78
|
+
look="secondary"
|
|
79
|
+
size="small"
|
|
80
|
+
label="scan"
|
|
81
|
+
@click=${__classPrivateFieldGet(this, _uSyncRestoreWorkspaceViewElement_instances, "m", _uSyncRestoreWorkspaceViewElement_onRestoreLatest)}
|
|
82
|
+
><uui-icon name="icon-paper-plane"></uui-icon> ${this.localize.term('uSyncRestore_restoreLatest')}</uui-button
|
|
83
|
+
>
|
|
84
|
+
</div>
|
|
85
|
+
<usync-restore-point-table
|
|
86
|
+
.restorePoints=${this.restorePoints}
|
|
87
|
+
@delete-restore-point=${__classPrivateFieldGet(this, _uSyncRestoreWorkspaceViewElement_instances, "m", _uSyncRestoreWorkspaceViewElement_onDelete)}
|
|
88
|
+
@restore-restore-point=${__classPrivateFieldGet(this, _uSyncRestoreWorkspaceViewElement_instances, "m", _uSyncRestoreWorkspaceViewElement_onRestore)}></usync-restore-point-table>
|
|
89
|
+
</uui-box>
|
|
90
90
|
`;
|
|
91
91
|
}
|
|
92
92
|
};
|
|
@@ -178,12 +178,12 @@ _uSyncRestoreWorkspaceViewElement_onDelete = async function _uSyncRestoreWorkspa
|
|
|
178
178
|
// cancelled
|
|
179
179
|
});
|
|
180
180
|
};
|
|
181
|
-
uSyncRestoreWorkspaceViewElement.styles = css `
|
|
182
|
-
.content {
|
|
183
|
-
display: flex;
|
|
184
|
-
flex-direction: column;
|
|
185
|
-
gap: var(--uui-size-space-4);
|
|
186
|
-
}
|
|
181
|
+
uSyncRestoreWorkspaceViewElement.styles = css `
|
|
182
|
+
.content {
|
|
183
|
+
display: flex;
|
|
184
|
+
flex-direction: column;
|
|
185
|
+
gap: var(--uui-size-space-4);
|
|
186
|
+
}
|
|
187
187
|
`;
|
|
188
188
|
__decorate([
|
|
189
189
|
state()
|
|
@@ -32,23 +32,23 @@ let uSyncReatoreWorkspaceElement = class uSyncReatoreWorkspaceElement extends Um
|
|
|
32
32
|
__classPrivateFieldSet(this, _uSyncReatoreWorkspaceElement_context, new SyncRestoreWorkspaceContext(this), "f");
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return html `
|
|
36
|
-
<umb-workspace-editor>
|
|
37
|
-
<div slot="header" class="header">
|
|
38
|
-
<h3>Restore points</h3>
|
|
39
|
-
<small>A place you can come back to.</small>
|
|
40
|
-
</div>
|
|
41
|
-
<div slot="action-menu" class="action-menu">
|
|
42
|
-
<uui-button
|
|
43
|
-
color="default"
|
|
44
|
-
look="outline"
|
|
45
|
-
size="small"
|
|
46
|
-
label="scan"
|
|
47
|
-
@click=${__classPrivateFieldGet(this, _uSyncReatoreWorkspaceElement_instances, "m", _uSyncReatoreWorkspaceElement_onScanRestorePoints)}
|
|
48
|
-
><uui-icon name="icon-axis-rotation"></uui-icon> ${this.localize.term('uSyncRestore_scan')}</uui-button
|
|
49
|
-
>
|
|
50
|
-
</div>
|
|
51
|
-
</umb-workspace-editor>
|
|
35
|
+
return html `
|
|
36
|
+
<umb-workspace-editor>
|
|
37
|
+
<div slot="header" class="header">
|
|
38
|
+
<h3>Restore points</h3>
|
|
39
|
+
<small>A place you can come back to.</small>
|
|
40
|
+
</div>
|
|
41
|
+
<div slot="action-menu" class="action-menu">
|
|
42
|
+
<uui-button
|
|
43
|
+
color="default"
|
|
44
|
+
look="outline"
|
|
45
|
+
size="small"
|
|
46
|
+
label="scan"
|
|
47
|
+
@click=${__classPrivateFieldGet(this, _uSyncReatoreWorkspaceElement_instances, "m", _uSyncReatoreWorkspaceElement_onScanRestorePoints)}
|
|
48
|
+
><uui-icon name="icon-axis-rotation"></uui-icon> ${this.localize.term('uSyncRestore_scan')}</uui-button
|
|
49
|
+
>
|
|
50
|
+
</div>
|
|
51
|
+
</umb-workspace-editor>
|
|
52
52
|
`;
|
|
53
53
|
}
|
|
54
54
|
};
|
|
@@ -75,14 +75,14 @@ _uSyncReatoreWorkspaceElement_onScanRestorePoints = async function _uSyncReatore
|
|
|
75
75
|
// console.log('cancel');
|
|
76
76
|
});
|
|
77
77
|
};
|
|
78
|
-
uSyncReatoreWorkspaceElement.styles = css `
|
|
79
|
-
.header h3 {
|
|
80
|
-
margin: 0;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.action-menu {
|
|
84
|
-
margin-right: var(--uui-size-space-4);
|
|
85
|
-
}
|
|
78
|
+
uSyncReatoreWorkspaceElement.styles = css `
|
|
79
|
+
.header h3 {
|
|
80
|
+
margin: 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.action-menu {
|
|
84
|
+
margin-right: var(--uui-size-space-4);
|
|
85
|
+
}
|
|
86
86
|
`;
|
|
87
87
|
uSyncReatoreWorkspaceElement = __decorate([
|
|
88
88
|
customElement('usync-restore-workspace-element')
|
package/package.json
CHANGED
|
@@ -1,54 +1,55 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@jumoo/usync-expansions",
|
|
3
|
-
"license": "Custom",
|
|
4
|
-
"version": "17.6.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"description": "uSync.Expansions.Assets",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
"./
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"./dist
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"client:
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"@
|
|
42
|
-
"@jumoo/
|
|
43
|
-
"@
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"vite
|
|
53
|
-
|
|
54
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@jumoo/usync-expansions",
|
|
3
|
+
"license": "Custom",
|
|
4
|
+
"version": "17.6.1-prerelease.40",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"description": "uSync.Expansions.Assets",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/Jumoo/uSync.Complete.git"
|
|
10
|
+
},
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public"
|
|
13
|
+
},
|
|
14
|
+
"exports": {
|
|
15
|
+
".": "./dist/index.js",
|
|
16
|
+
"./items": "./dist/items/index.js",
|
|
17
|
+
"./licence": "./dist/licence/index.js",
|
|
18
|
+
"./pipeline": "./dist/pipeline/index.js",
|
|
19
|
+
"./communications": "./dist/communications/index.js",
|
|
20
|
+
"./signalr": "./dist/signalr/index.js"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"./dist/**/*"
|
|
24
|
+
],
|
|
25
|
+
"author": {
|
|
26
|
+
"name": "Jumoo Ltd",
|
|
27
|
+
"email": "info@jumoo.co.uk",
|
|
28
|
+
"url": "https://jumoo.co.uk"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"client:build": "tsc --project ./tsconfig.dist.json",
|
|
32
|
+
"client:pack": "npm pack --pack-destination ./pack",
|
|
33
|
+
"client:link": "npm link",
|
|
34
|
+
"generate": "rm-rs -r -f ./src/api && node scripts/generate-openapi.js https://localhost:44317/umbraco/swagger/uSyncComplete/swagger.json",
|
|
35
|
+
"format:fix": "npm run format -- --write",
|
|
36
|
+
"format": "prettier \"src/**/*.ts\" --check",
|
|
37
|
+
"build": "tsc && vite build",
|
|
38
|
+
"watch": "vite build --watch"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@hey-api/openapi-ts": "^0.99.0",
|
|
42
|
+
"@jumoo/processing": "https://registry.npmjs.org/@jumoo/processing/-/processing-17.5.2.tgz",
|
|
43
|
+
"@jumoo/usync": "^17.3.0-rc3",
|
|
44
|
+
"@umbraco-cms/backoffice": "^17.6.2",
|
|
45
|
+
"chalk": "^6.0.0",
|
|
46
|
+
"cross-env": "^10.1.0",
|
|
47
|
+
"lit": "^3.3.2",
|
|
48
|
+
"node-fetch": "^3.3.2",
|
|
49
|
+
"prettier": "^3.8.2",
|
|
50
|
+
"rm-rs": "^0.2.3",
|
|
51
|
+
"typescript": "^6.0.2",
|
|
52
|
+
"vite": "^8.0.8",
|
|
53
|
+
"vite-plugin-dts": "^5.0.3"
|
|
54
|
+
}
|
|
55
|
+
}
|
package/dist/hey-api.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { CreateClientConfig } from './api/client.gen';
|
|
2
|
-
/**
|
|
3
|
-
* Pre-configure the generated client by copying the Umbraco HTTP client's config.
|
|
4
|
-
*
|
|
5
|
-
* Called automatically by the generated client during initialization (via runtimeConfigPath).
|
|
6
|
-
* Inherits baseUrl, credentials, auth, and headers from umbHttpClient — which is already
|
|
7
|
-
* configured by the backoffice before extensions load.
|
|
8
|
-
*
|
|
9
|
-
* @see https://heyapi.dev/openapi-ts/clients/fetch#configuration
|
|
10
|
-
*/
|
|
11
|
-
export declare const createClientConfig: CreateClientConfig;
|
package/dist/hey-api.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { umbHttpClient } from '@umbraco-cms/backoffice/http-client';
|
|
2
|
-
/**
|
|
3
|
-
* Pre-configure the generated client by copying the Umbraco HTTP client's config.
|
|
4
|
-
*
|
|
5
|
-
* Called automatically by the generated client during initialization (via runtimeConfigPath).
|
|
6
|
-
* Inherits baseUrl, credentials, auth, and headers from umbHttpClient — which is already
|
|
7
|
-
* configured by the backoffice before extensions load.
|
|
8
|
-
*
|
|
9
|
-
* @see https://heyapi.dev/openapi-ts/clients/fetch#configuration
|
|
10
|
-
*/
|
|
11
|
-
export const createClientConfig = (config) => ({
|
|
12
|
-
...config,
|
|
13
|
-
...umbHttpClient.getConfig(),
|
|
14
|
-
});
|