@jumoo/usync-expansions 17.6.0 → 17.6.1-prerelease.41

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.
Files changed (47) hide show
  1. package/dist/api/client/client.gen.js +104 -123
  2. package/dist/api/client/index.d.ts +2 -0
  3. package/dist/api/client/types.gen.d.ts +6 -3
  4. package/dist/api/client/utils.gen.d.ts +8 -4
  5. package/dist/api/client/utils.gen.js +3 -3
  6. package/dist/api/client.gen.d.ts +2 -2
  7. package/dist/api/client.gen.js +1 -2
  8. package/dist/api/core/auth.gen.d.ts +7 -0
  9. package/dist/api/core/params.gen.d.ts +2 -2
  10. package/dist/api/core/params.gen.js +23 -14
  11. package/dist/api/core/queryKeySerializer.gen.d.ts +1 -1
  12. package/dist/api/core/serverSentEvents.gen.d.ts +1 -1
  13. package/dist/api/core/serverSentEvents.gen.js +3 -4
  14. package/dist/api/core/types.gen.d.ts +5 -0
  15. package/dist/api/index.d.ts +1 -1
  16. package/dist/api/sdk.gen.d.ts +18 -17
  17. package/dist/api/sdk.gen.js +7 -0
  18. package/dist/api/types.gen.d.ts +40 -0
  19. package/dist/background/components/pending-list.element.js +10 -10
  20. package/dist/background/components/pipelines-table.element.js +16 -16
  21. package/dist/background/components/process-list.element.js +6 -6
  22. package/dist/background/components/queue-table.element.js +11 -11
  23. package/dist/background/workspace/background-workspace-element.js +19 -19
  24. package/dist/components/report-summary-view.js +90 -90
  25. package/dist/components/usync-property-layout.js +93 -93
  26. package/dist/index.js +9 -1
  27. package/dist/lang/en.d.ts +1 -0
  28. package/dist/lang/en.js +1 -0
  29. package/dist/licence/components/licence-notice.js +7 -7
  30. package/dist/licence/components/licence-status.view.js +13 -13
  31. package/dist/licence/components/styles.js +39 -39
  32. package/dist/licence/lang/en.js +1 -1
  33. package/dist/licence/licence.element.js +124 -124
  34. package/dist/restore/components/restore-point-table.element.js +21 -21
  35. package/dist/restore/lang/en.js +11 -11
  36. package/dist/restore/restore.repository.d.ts +5 -0
  37. package/dist/restore/restore.repository.js +7 -0
  38. package/dist/restore/steps/restore-create-complete.js +9 -9
  39. package/dist/restore/steps/restore-create-element.js +31 -31
  40. package/dist/restore/steps/restore-report-config-element.js +44 -44
  41. package/dist/restore/steps/restore-report-element.d.ts +1 -0
  42. package/dist/restore/steps/restore-report-element.js +29 -1
  43. package/dist/restore/workspace/restore.workspace-view.element.js +42 -42
  44. package/dist/restore/workspace/restore.workspace.element.js +25 -25
  45. package/package.json +55 -54
  46. package/dist/hey-api.d.ts +0 -11
  47. package/dist/hey-api.js +0 -14
@@ -53,69 +53,69 @@ let uSyncLicenceViewElement = class uSyncLicenceViewElement extends UmbElementMi
53
53
  super.connectedCallback();
54
54
  }
55
55
  render() {
56
- return html `
57
- <umb-body-layout>
58
- <div class="layout">
59
- ${this.renderStatus()} ${this.renderDetails()} ${this.renderSubscription()}
60
- ${this.renderExpiration()}
61
- </div></umb-body-layout
62
- >
56
+ return html `
57
+ <umb-body-layout>
58
+ <div class="layout">
59
+ ${this.renderStatus()} ${this.renderDetails()} ${this.renderSubscription()}
60
+ ${this.renderExpiration()}
61
+ </div></umb-body-layout
62
+ >
63
63
  `;
64
64
  }
65
65
  renderStatus() {
66
- return html `
67
- <usync-licence-status .licenceStatus=${this.licenceStatus}></usync-licence-status>
66
+ return html `
67
+ <usync-licence-status .licenceStatus=${this.licenceStatus}></usync-licence-status>
68
68
  `;
69
69
  }
70
70
  renderDetails() {
71
71
  return this.licenceStatus
72
- ? html `
73
- <uui-box headline="uSync.Complete.Licence">
74
- <div slot="header-actions">
75
- <uui-button
76
- type="button"
77
- look="outline"
78
- color="danger"
79
- label="Clear"
80
- @click=${__classPrivateFieldGet(this, _uSyncLicenceViewElement_instances, "m", _uSyncLicenceViewElement_clearLicence)}></uui-button>
81
- </div>
82
- <div class="details">
83
- <umb-property-layout
84
- label="Domains"
85
- alias="domains"
86
- description="Domains licence applys to">
87
- <div slot="editor">
88
- <uui-input
89
- label="domains"
90
- @input=${__classPrivateFieldGet(this, _uSyncLicenceViewElement_instances, "m", _uSyncLicenceViewElement_updateDomains)}
91
- .value=${this.licence.domains}
72
+ ? html `
73
+ <uui-box headline="uSync.Complete.Licence">
74
+ <div slot="header-actions">
75
+ <uui-button
76
+ type="button"
77
+ look="outline"
78
+ color="danger"
79
+ label="Clear"
80
+ @click=${__classPrivateFieldGet(this, _uSyncLicenceViewElement_instances, "m", _uSyncLicenceViewElement_clearLicence)}></uui-button>
81
+ </div>
82
+ <div class="details">
83
+ <umb-property-layout
84
+ label="Domains"
85
+ alias="domains"
86
+ description="Domains licence applys to">
87
+ <div slot="editor">
88
+ <uui-input
89
+ label="domains"
90
+ @input=${__classPrivateFieldGet(this, _uSyncLicenceViewElement_instances, "m", _uSyncLicenceViewElement_updateDomains)}
91
+ .value=${this.licence.domains}
92
92
  .readonly=${this.licenceStatus?.licenceType ===
93
- 'Subscription'}></uui-input>
94
- </div>
95
- </umb-property-layout>
96
-
97
- <umb-property-layout
98
- label="Licence Key"
99
- alias="key"
100
- description="Key for licence">
101
- <div slot="editor">
102
- <uui-input
103
- label="key"
104
- @input=${__classPrivateFieldGet(this, _uSyncLicenceViewElement_instances, "m", _uSyncLicenceViewElement_updateKey)}
105
- .value=${this.licence.key}></uui-input>
106
- </div>
107
- </umb-property-layout>
108
-
109
- <div class="actions">
110
- <uui-button
111
- look="primary"
112
- color="positive"
113
- label="Save"
114
- .state=${this.saveState}
115
- @click=${__classPrivateFieldGet(this, _uSyncLicenceViewElement_instances, "m", _uSyncLicenceViewElement_saveLicence)}></uui-button>
116
- </div>
117
- </div>
118
- </uui-box>
93
+ 'Subscription'}></uui-input>
94
+ </div>
95
+ </umb-property-layout>
96
+
97
+ <umb-property-layout
98
+ label="Licence Key"
99
+ alias="key"
100
+ description="Key for licence">
101
+ <div slot="editor">
102
+ <uui-input
103
+ label="key"
104
+ @input=${__classPrivateFieldGet(this, _uSyncLicenceViewElement_instances, "m", _uSyncLicenceViewElement_updateKey)}
105
+ .value=${this.licence.key}></uui-input>
106
+ </div>
107
+ </umb-property-layout>
108
+
109
+ <div class="actions">
110
+ <uui-button
111
+ look="primary"
112
+ color="positive"
113
+ label="Save"
114
+ .state=${this.saveState}
115
+ @click=${__classPrivateFieldGet(this, _uSyncLicenceViewElement_instances, "m", _uSyncLicenceViewElement_saveLicence)}></uui-button>
116
+ </div>
117
+ </div>
118
+ </uui-box>
119
119
  `
120
120
  : nothing;
121
121
  }
@@ -127,16 +127,16 @@ let uSyncLicenceViewElement = class uSyncLicenceViewElement extends UmbElementMi
127
127
  const expiresDate = new Date(this.licenceStatus.expires);
128
128
  if (expiresDate >= new Date('9999-12-30'))
129
129
  return nothing;
130
- return html `<uui-box headline="uSync.Complete.Subscription">
131
- <umb-localize key="usynccomplete_licenceSubscriptionInfo"></umb-localize>
132
- <uui-button
133
- look="secondary"
134
- color="positive"
135
- href="https://jumoo.co.uk/resend?sub=${this.licence.key}"
136
- target="_blank"
137
- rel="noopener noreferrer"
138
- >Request subscription details</uui-button
139
- >
130
+ return html `<uui-box headline="uSync.Complete.Subscription">
131
+ <umb-localize key="usynccomplete_licenceSubscriptionInfo"></umb-localize>
132
+ <uui-button
133
+ look="secondary"
134
+ color="positive"
135
+ href="https://jumoo.co.uk/resend?sub=${this.licence.key}"
136
+ target="_blank"
137
+ rel="noopener noreferrer"
138
+ >Request subscription details</uui-button
139
+ >
140
140
  </uui-box>`;
141
141
  }
142
142
  renderExpiration() {
@@ -148,28 +148,28 @@ let uSyncLicenceViewElement = class uSyncLicenceViewElement extends UmbElementMi
148
148
  const today = new Date();
149
149
  const remainingDays = Math.ceil((expiresDate.getTime() - today.getTime()) / (1000 * 60 * 60 * 24));
150
150
  if (expiresDate < today) {
151
- return html `<uui-box class="alert alert-danger">
152
- <umb-localize key="usynccomplete_licenceExpired"></umb-localize>
151
+ return html `<uui-box class="alert alert-danger">
152
+ <umb-localize key="usynccomplete_licenceExpired"></umb-localize>
153
153
  </uui-box>`;
154
154
  }
155
- return html `<uui-box
156
- class="alert ${remainingDays <= 60 && !this.licenceStatus.autoRenews ? 'alert-warning' : 'alert-default'}"
157
- ">
158
- <div class="alert-content">
159
- <div>
160
- <umb-localize
161
- key="usynccomplete_licenceExpires"
162
- .args=${[expiresDate.toDateString()]}></umb-localize>
163
- <umb-localize
164
- key="usynccomplete_licenceDaysLeft"
165
- .args=${[remainingDays]}></umb-localize>
166
- </div>
167
-
168
- <div>
169
- ${when(this.licenceStatus.autoRenews, () => html `<umb-icon name="icon-check"></umb-icon
170
- ><umb-localize key="usynccomplete_licenceAutoRenews"></umb-localize>`, () => html `<umb-icon name="icon-alarm-clock"></umb-icon
171
- ><umb-localize key="usynccomplete_licenceNotAutoRenews"></umb-localize>`)}</div>
172
- </div>
155
+ return html `<uui-box
156
+ class="alert ${remainingDays <= 60 && !this.licenceStatus.autoRenews ? 'alert-warning' : 'alert-default'}"
157
+ ">
158
+ <div class="alert-content">
159
+ <div>
160
+ <umb-localize
161
+ key="usynccomplete_licenceExpires"
162
+ .args=${[expiresDate.toDateString()]}></umb-localize>
163
+ <umb-localize
164
+ key="usynccomplete_licenceDaysLeft"
165
+ .args=${[remainingDays]}></umb-localize>
166
+ </div>
167
+
168
+ <div>
169
+ ${when(this.licenceStatus.autoRenews, () => html `<umb-icon name="icon-check"></umb-icon
170
+ ><umb-localize key="usynccomplete_licenceAutoRenews"></umb-localize>`, () => html `<umb-icon name="icon-alarm-clock"></umb-icon
171
+ ><umb-localize key="usynccomplete_licenceNotAutoRenews"></umb-localize>`)}</div>
172
+ </div>
173
173
  </uui-box>`;
174
174
  }
175
175
  };
@@ -213,45 +213,45 @@ _uSyncLicenceViewElement_clearLicence = async function _uSyncLicenceViewElement_
213
213
  };
214
214
  uSyncLicenceViewElement.styles = [
215
215
  UmbTextStyles,
216
- css `
217
- .layout {
218
- display: flex;
219
- flex-direction: column;
220
- gap: var(--uui-size-space-4);
221
- }
222
-
223
- uui-input {
224
- width: 100%;
225
- }
226
-
227
- .actions {
228
- padding-left: calc(200px + var(--uui-size-layout-2));
229
- }
230
-
231
- .alert-content {
232
- display: flex;
233
- justify-content: space-between;
234
- }
235
-
236
- .alert-content > div {
237
- display: flex;
238
- gap: 10px;
239
- }
240
-
241
- .alert-danger {
242
- background-color: var(--uui-color-danger);
243
- color: var(--uui-color-danger-contrast);
244
- }
245
-
246
- .alert-default {
247
- background-color: var(--uui-color-default);
248
- color: var(--uui-color-default-contrast);
249
- }
250
-
251
- .alert-warning {
252
- background-color: var(--uui-color-warning);
253
- color: var(--uui-color-warning-contrast);
254
- }
216
+ css `
217
+ .layout {
218
+ display: flex;
219
+ flex-direction: column;
220
+ gap: var(--uui-size-space-4);
221
+ }
222
+
223
+ uui-input {
224
+ width: 100%;
225
+ }
226
+
227
+ .actions {
228
+ padding-left: calc(200px + var(--uui-size-layout-2));
229
+ }
230
+
231
+ .alert-content {
232
+ display: flex;
233
+ justify-content: space-between;
234
+ }
235
+
236
+ .alert-content > div {
237
+ display: flex;
238
+ gap: 10px;
239
+ }
240
+
241
+ .alert-danger {
242
+ background-color: var(--uui-color-danger);
243
+ color: var(--uui-color-danger-contrast);
244
+ }
245
+
246
+ .alert-default {
247
+ background-color: var(--uui-color-default);
248
+ color: var(--uui-color-default-contrast);
249
+ }
250
+
251
+ .alert-warning {
252
+ background-color: var(--uui-color-warning);
253
+ color: var(--uui-color-warning-contrast);
254
+ }
255
255
  `,
256
256
  ];
257
257
  __decorate([
@@ -61,10 +61,10 @@ let uSyncRestorePointTableElement = class uSyncRestorePointTableElement extends
61
61
  };
62
62
  })
63
63
  .filter((item) => item !== undefined);
64
- return html `<umb-table
65
- .config=${this._tableConfig}
66
- .columns=${this._tableColumns}
67
- .items=${items}
64
+ return html `<umb-table
65
+ .config=${this._tableConfig}
66
+ .columns=${this._tableColumns}
67
+ .items=${items}
68
68
  .filter=${this.filter}></umb-table>`;
69
69
  }
70
70
  renderStatus(restorePoint) {
@@ -80,23 +80,23 @@ let uSyncRestorePointTableElement = class uSyncRestorePointTableElement extends
80
80
  }
81
81
  renderActions(restorePoint) {
82
82
  const isComplete = restorePoint.status === RestorePointStatus.COMPLETE || restorePoint.status === undefined;
83
- return html ` <uui-button
84
- compact
85
- label="restore"
86
- color="positive"
87
- look="default"
88
- ?disabled=${!isComplete}
89
- @click=${() => __classPrivateFieldGet(this, _uSyncRestorePointTableElement_instances, "m", _uSyncRestorePointTableElement_onRestore).call(this, restorePoint)}>
90
- <uui-icon name="icon-paper-plane"></uui-icon>
91
- </uui-button>
92
-
93
- <uui-button
94
- compact
95
- label="delete"
96
- color="danger"
97
- look="default"
98
- @click=${() => __classPrivateFieldGet(this, _uSyncRestorePointTableElement_instances, "m", _uSyncRestorePointTableElement_onDelete).call(this, restorePoint)}>
99
- <uui-icon name="icon-trash"></uui-icon>
83
+ return html ` <uui-button
84
+ compact
85
+ label="restore"
86
+ color="positive"
87
+ look="default"
88
+ ?disabled=${!isComplete}
89
+ @click=${() => __classPrivateFieldGet(this, _uSyncRestorePointTableElement_instances, "m", _uSyncRestorePointTableElement_onRestore).call(this, restorePoint)}>
90
+ <uui-icon name="icon-paper-plane"></uui-icon>
91
+ </uui-button>
92
+
93
+ <uui-button
94
+ compact
95
+ label="delete"
96
+ color="danger"
97
+ look="default"
98
+ @click=${() => __classPrivateFieldGet(this, _uSyncRestorePointTableElement_instances, "m", _uSyncRestorePointTableElement_onDelete).call(this, restorePoint)}>
99
+ <uui-icon name="icon-trash"></uui-icon>
100
100
  </uui-button>`;
101
101
  }
102
102
  };
@@ -7,13 +7,13 @@ export default {
7
7
  },
8
8
  uSyncRestore: {
9
9
  title: 'Restore points',
10
- intro: `<p>
11
- Restore points can be created manually, or as part of a process such as a push or pull from
12
- another site
13
- </p>
14
- <p>
15
- By default only the last 10 restore points are kept, you can restore from any restore point, but you migth
16
- well loose your current content, setting or files as part of the process.
10
+ intro: `<p>
11
+ Restore points can be created manually, or as part of a process such as a push or pull from
12
+ another site
13
+ </p>
14
+ <p>
15
+ By default only the last 10 restore points are kept, you can restore from any restore point, but you migth
16
+ well loose your current content, setting or files as part of the process.
17
17
  </p>`,
18
18
  scan: 'Scan restore folder',
19
19
  restoreLatest: 'Restore from latest',
@@ -22,10 +22,10 @@ export default {
22
22
  createSummary: 'Your restore point has been created.',
23
23
  restorePoints: 'Restore points',
24
24
  restoreTitle: 'Restore Umbraco settings and content',
25
- restoreIntro: `
26
- <p>A restore can help fix problems the might be causing your site to not work show the right content</p>
27
- <p>A restore will reset all the settings, content and (if included media), back to the way it was at the specified point in time.</p>
28
- <p style="color: var(--uui-color-danger)">You will loose any changes that you have made this this restore point, so you should be sure you want to restore.</p>
25
+ restoreIntro: `
26
+ <p>A restore can help fix problems the might be causing your site to not work show the right content</p>
27
+ <p>A restore will reset all the settings, content and (if included media), back to the way it was at the specified point in time.</p>
28
+ <p style="color: var(--uui-color-danger)">You will loose any changes that you have made this this restore point, so you should be sure you want to restore.</p>
29
29
  `,
30
30
  restoreCheck: 'Check restore',
31
31
  restoreInfo: 'Restore to this point?',
@@ -8,6 +8,11 @@ export declare class SyncRestoreRepository extends UmbControllerBase {
8
8
  getAll(): Promise<import("..").RestorePoint[]>;
9
9
  get(key: string): Promise<import("..").RestorePoint>;
10
10
  getReport(id: string): Promise<import("..").USyncAction[]>;
11
+ /**
12
+ * what restoring an item from the restore point in a report would do to it.
13
+ * handlers that don't support previews return a 404, so there's no notification.
14
+ */
15
+ getPreview(id: string, handler: string, key: string): Promise<import("..").SyncItemPreviewResponse>;
11
16
  scan(): Promise<{
12
17
  [key: string]: number;
13
18
  }>;
@@ -35,6 +35,13 @@ export class SyncRestoreRepository extends UmbControllerBase {
35
35
  return (await tryExecute(__classPrivateFieldGet(this, _SyncRestoreRepository_host, "f"), RestoreService.getReport({ query: { id } })))
36
36
  .data;
37
37
  }
38
+ /**
39
+ * what restoring an item from the restore point in a report would do to it.
40
+ * handlers that don't support previews return a 404, so there's no notification.
41
+ */
42
+ async getPreview(id, handler, key) {
43
+ return (await tryExecute(__classPrivateFieldGet(this, _SyncRestoreRepository_host, "f"), RestoreService.getPreview({ query: { id, handler, key } }), { disableNotifications: true })).data;
44
+ }
38
45
  async scan() {
39
46
  return (await tryExecute(__classPrivateFieldGet(this, _SyncRestoreRepository_host, "f"), RestoreService.scan())).data;
40
47
  }
@@ -14,15 +14,15 @@ let uSyncRestoreCreateCompleteElement = class uSyncRestoreCreateCompleteElement
14
14
  render() {
15
15
  const results = this.results;
16
16
  const options = this.options;
17
- return html `<uui-box>
18
- <p>
19
- Restore point created:
20
- <strong>${options.title}</strong>
21
- </p>
22
-
23
- <umb-localize key="uSyncRestore_createComplete"></umb-localize>
24
-
25
- <p>Contains ${results.results['changes'] ?? 'unknown'} items</p>
17
+ return html `<uui-box>
18
+ <p>
19
+ Restore point created:
20
+ <strong>${options.title}</strong>
21
+ </p>
22
+
23
+ <umb-localize key="uSyncRestore_createComplete"></umb-localize>
24
+
25
+ <p>Contains ${results.results['changes'] ?? 'unknown'} items</p>
26
26
  </uui-box>`;
27
27
  }
28
28
  };
@@ -29,37 +29,37 @@ let uSyncRestoreCreateElement = class uSyncRestoreCreateElement extends ProcessS
29
29
  });
30
30
  }
31
31
  render() {
32
- return html `
33
- <umb-localize key="uSyncRestore_createIntro"></umb-localize>
34
-
35
- ${this.renderName()}
32
+ return html `
33
+ <umb-localize key="uSyncRestore_createIntro"></umb-localize>
34
+
35
+ ${this.renderName()}
36
36
  `;
37
37
  }
38
38
  renderName() {
39
39
  const options = this.options;
40
- return html `<umb-property-layout
41
- label="Name"
42
- description="Give your restore point a name"
43
- orientation="vertical">
44
- <div slot="editor">
45
- <uui-input
46
- type="text"
47
- label="Name"
48
- .value=${options.title}
49
- @change=${__classPrivateFieldGet(this, _uSyncRestoreCreateElement_instances, "m", _uSyncRestoreCreateElement_onNameChange)}></uui-input>
50
- </div>
51
- </umb-property-layout>
52
-
53
- <usync-property-layout
54
- label="Include Media"
55
- description="Include media files in the restore point">
56
- <div slot="editor">
57
- <uui-checkbox
58
- label="Include Media"
59
- .checked=${options.includeMedia}
60
- @change=${__classPrivateFieldGet(this, _uSyncRestoreCreateElement_instances, "m", _uSyncRestoreCreateElement_onIncludeMedia)}>
61
- </uui-checkbox>
62
- </div>
40
+ return html `<umb-property-layout
41
+ label="Name"
42
+ description="Give your restore point a name"
43
+ orientation="vertical">
44
+ <div slot="editor">
45
+ <uui-input
46
+ type="text"
47
+ label="Name"
48
+ .value=${options.title}
49
+ @change=${__classPrivateFieldGet(this, _uSyncRestoreCreateElement_instances, "m", _uSyncRestoreCreateElement_onNameChange)}></uui-input>
50
+ </div>
51
+ </umb-property-layout>
52
+
53
+ <usync-property-layout
54
+ label="Include Media"
55
+ description="Include media files in the restore point">
56
+ <div slot="editor">
57
+ <uui-checkbox
58
+ label="Include Media"
59
+ .checked=${options.includeMedia}
60
+ @change=${__classPrivateFieldGet(this, _uSyncRestoreCreateElement_instances, "m", _uSyncRestoreCreateElement_onIncludeMedia)}>
61
+ </uui-checkbox>
62
+ </div>
63
63
  </usync-property-layout>`;
64
64
  }
65
65
  };
@@ -85,10 +85,10 @@ _uSyncRestoreCreateElement_onIncludeMedia = function _uSyncRestoreCreateElement_
85
85
  includeMedia: element.checked,
86
86
  });
87
87
  };
88
- uSyncRestoreCreateElement.styles = css `
89
- uui-input {
90
- width: 100%;
91
- }
88
+ uSyncRestoreCreateElement.styles = css `
89
+ uui-input {
90
+ width: 100%;
91
+ }
92
92
  `;
93
93
  uSyncRestoreCreateElement = __decorate([
94
94
  customElement(uSyncRestore.steps.restoreCreateStep)
@@ -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()
@@ -1,5 +1,6 @@
1
1
  import { ProcessStepElement, ProcessStepElementBase } from '@jumoo/processing';
2
2
  export declare class uSyncRestoreReportElement extends ProcessStepElementBase implements ProcessStepElement {
3
+ #private;
3
4
  connectedCallback(): void;
4
5
  render(): import("lit-html").TemplateResult<1>;
5
6
  }