@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.
Files changed (39) 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/sdk.gen.d.ts +16 -16
  16. package/dist/api/types.gen.d.ts +2 -0
  17. package/dist/background/components/pending-list.element.js +10 -10
  18. package/dist/background/components/pipelines-table.element.js +16 -16
  19. package/dist/background/components/process-list.element.js +6 -6
  20. package/dist/background/components/queue-table.element.js +11 -11
  21. package/dist/background/workspace/background-workspace-element.js +19 -19
  22. package/dist/components/report-summary-view.js +90 -90
  23. package/dist/components/usync-property-layout.js +93 -93
  24. package/dist/index.js +9 -1
  25. package/dist/licence/components/licence-notice.js +7 -7
  26. package/dist/licence/components/licence-status.view.js +13 -13
  27. package/dist/licence/components/styles.js +39 -39
  28. package/dist/licence/lang/en.js +1 -1
  29. package/dist/licence/licence.element.js +124 -124
  30. package/dist/restore/components/restore-point-table.element.js +21 -21
  31. package/dist/restore/lang/en.js +11 -11
  32. package/dist/restore/steps/restore-create-complete.js +9 -9
  33. package/dist/restore/steps/restore-create-element.js +31 -31
  34. package/dist/restore/steps/restore-report-config-element.js +44 -44
  35. package/dist/restore/workspace/restore.workspace-view.element.js +42 -42
  36. package/dist/restore/workspace/restore.workspace.element.js +25 -25
  37. package/package.json +55 -54
  38. package/dist/hey-api.d.ts +0 -11
  39. package/dist/hey-api.js +0 -14
@@ -18,26 +18,26 @@ let uSyncLicenceStatusView = class uSyncLicenceStatusView extends UmbElementMixi
18
18
  return nothing;
19
19
  const className = this.licenceStatus?.status.toLocaleLowerCase();
20
20
  const icon = this.licenceStatus?.status === 'Valid' ? 'icon-check' : 'icon-alert';
21
- return html ` <div class="licence-alert ${className}">
21
+ return html ` <div class="licence-alert ${className}">
22
22
  <uui-icon .name=${icon}></uui-icon> ${this.licenceStatus?.message ??
23
- 'licenece is valid'}
24
- ${when(this.licenceStatus.link, () => html `<a
25
- href="${this.licenceStatus?.link ?? '#'}"
26
- target="_blank"
27
- rel="noopener noreferrer"
28
- >${this.licenceStatus?.linkTitle}</a
29
- >`)}
23
+ 'licenece is valid'}
24
+ ${when(this.licenceStatus.link, () => html `<a
25
+ href="${this.licenceStatus?.link ?? '#'}"
26
+ target="_blank"
27
+ rel="noopener noreferrer"
28
+ >${this.licenceStatus?.linkTitle}</a
29
+ >`)}
30
30
  </div>`;
31
31
  }
32
32
  };
33
33
  uSyncLicenceStatusView.styles = [
34
34
  UmbTextStyles,
35
35
  JumooLicenceStyles,
36
- css `
37
- :host {
38
- display: block;
39
- margin-bottom: 10px;
40
- }
36
+ css `
37
+ :host {
38
+ display: block;
39
+ margin-bottom: 10px;
40
+ }
41
41
  `,
42
42
  ];
43
43
  __decorate([
@@ -1,41 +1,41 @@
1
1
  import { css } from '@umbraco-cms/backoffice/external/lit';
2
- export const JumooLicenceStyles = css `
3
- .licence-alert {
4
- padding: 20px;
5
- border-radius: var(--uui-button-border-radius, var(--uui-border-radius, 3px));
6
- }
7
-
8
- uui-icon {
9
- padding-right: 10px;
10
- font-size: var(--uui-type-h4-size);
11
- }
12
-
13
- .valid {
14
- background-color: var(--uui-color-positive);
15
- color: var(--uui-color-positive-contrast);
16
- }
17
-
18
- .invalid,
19
- .expired {
20
- background-color: var(--uui-color-danger);
21
- color: var(--uui-color-danger-contrast);
22
- }
23
-
24
- .trial {
25
- background-color: var(--uui-color-warning);
26
- color: var(--uui-color-warning-contrast);
27
- }
28
-
29
- .licence-alert a {
30
- color: var(--uui-color-positive-contrast) !important;
31
- }
32
-
33
- .trial a {
34
- color: var(--uui-color-warning-contrast) !important;
35
- }
36
-
37
- .invalid a,
38
- .expired a {
39
- color: var(--uui-color-danger-contrast) !important;
40
- }
2
+ export const JumooLicenceStyles = css `
3
+ .licence-alert {
4
+ padding: 20px;
5
+ border-radius: var(--uui-button-border-radius, var(--uui-border-radius, 3px));
6
+ }
7
+
8
+ uui-icon {
9
+ padding-right: 10px;
10
+ font-size: var(--uui-type-h4-size);
11
+ }
12
+
13
+ .valid {
14
+ background-color: var(--uui-color-positive);
15
+ color: var(--uui-color-positive-contrast);
16
+ }
17
+
18
+ .invalid,
19
+ .expired {
20
+ background-color: var(--uui-color-danger);
21
+ color: var(--uui-color-danger-contrast);
22
+ }
23
+
24
+ .trial {
25
+ background-color: var(--uui-color-warning);
26
+ color: var(--uui-color-warning-contrast);
27
+ }
28
+
29
+ .licence-alert a {
30
+ color: var(--uui-color-positive-contrast) !important;
31
+ }
32
+
33
+ .trial a {
34
+ color: var(--uui-color-warning-contrast) !important;
35
+ }
36
+
37
+ .invalid a,
38
+ .expired a {
39
+ color: var(--uui-color-danger-contrast) !important;
40
+ }
41
41
  `;
@@ -9,7 +9,7 @@ export default {
9
9
  licenceAutoRenews: 'This licence will auto-renew at the end of the period.',
10
10
  licenceNotAutoRenews: 'This licence does not auto-renew, You will need to renew it manually.',
11
11
  licenceStatus: 'uSync.Complete licence status',
12
- licenceSubscriptionInfo: `<p>Your subscription licence can be managed via the link sent to you when you purchased licence</p>
12
+ licenceSubscriptionInfo: `<p>Your subscription licence can be managed via the link sent to you when you purchased licence</p>
13
13
  <p>For security reasons we don't show you that information in the umbraco back office but you can request that we send the details again</p>`,
14
14
  licenceClearHeading: 'Clear licence details?',
15
15
  licenceClearContent: 'Do you want to remove this current licence details? Once cleared you will need to re-enter your licence details.',
@@ -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?',
@@ -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)