@jumoo/usync 18.2.0 → 18.2.1

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 (35) hide show
  1. package/LICENCE +372 -372
  2. package/README.md +16 -10
  3. package/dist/components/usync-action-box.js +71 -71
  4. package/dist/components/usync-change-detail.js +409 -409
  5. package/dist/components/usync-change-view.js +49 -49
  6. package/dist/components/usync-progress-box.js +113 -113
  7. package/dist/components/usync-result-row.js +65 -65
  8. package/dist/components/usync-results-group-view.js +63 -63
  9. package/dist/components/usync-results-view.js +64 -64
  10. package/dist/components/usync-sync-file-info-view.js +10 -10
  11. package/dist/constants.js +1 -1
  12. package/dist/dialogs/details-modal-element.js +45 -45
  13. package/dist/dialogs/error-modal-element.js +22 -22
  14. package/dist/dialogs/legacy-modal-element.js +22 -22
  15. package/dist/dialogs/single-import-modal.element.js +31 -31
  16. package/dist/icons/svg/logo.js +20 -20
  17. package/dist/lang/files/da-dk.js +12 -12
  18. package/dist/lang/files/de-de.js +12 -12
  19. package/dist/lang/files/en-us.js +12 -12
  20. package/dist/lang/files/es-es.js +12 -12
  21. package/dist/lang/files/fr-fr.js +12 -12
  22. package/dist/lang/files/nl-nl.js +12 -12
  23. package/dist/signalr/signalr.context.js +73 -26
  24. package/dist/tree/usync.menu-element.js +8 -8
  25. package/dist/workspace/components/usync-action-button.js +53 -53
  26. package/dist/workspace/components/usync-file-picker.element.js +33 -33
  27. package/dist/workspace/components/usync-file-upload.element.js +25 -25
  28. package/dist/workspace/dialogs/import-modal.element.js +22 -22
  29. package/dist/workspace/views/addons/addons.element.js +97 -97
  30. package/dist/workspace/views/default/default.element.js +186 -186
  31. package/dist/workspace/views/legacy/legacy.element.js +81 -81
  32. package/dist/workspace/views/settings/components/usyncSettingItem.element.js +38 -38
  33. package/dist/workspace/views/settings/settings.element.js +124 -124
  34. package/dist/workspace/workspace.element.js +16 -16
  35. package/package.json +77 -77
@@ -52,37 +52,37 @@ let uSyncResultsView = class uSyncResultsView extends UmbElementMixin(LitElement
52
52
  const groupChanges = groups[key].filter((r) => r.change !== ChangeType.NO_CHANGE).length ?? 0;
53
53
  if (groupChanges === 0 && !this.showAll)
54
54
  continue;
55
- const groupHtml = html `<usync-result-group
56
- .groupName=${key}
57
- .results=${groups[key]}
58
- .showAll=${this.showAll}
55
+ const groupHtml = html `<usync-result-group
56
+ .groupName=${key}
57
+ .results=${groups[key]}
58
+ .showAll=${this.showAll}
59
59
  @show-detail=${__classPrivateFieldGet(this, _uSyncResultsView_instances, "m", _uSyncResultsView_showDetail)}></usync-result-group> `;
60
60
  groupsHtml.push(groupHtml);
61
61
  }
62
62
  return this.changeCount == 0 && !this.showAll
63
- ? html `
64
- ${this.renderResultBar(this.results?.length || 0, this.changeCount)}
65
- <div class="empty">
66
- <umb-localize key="uSync_noChange"></umb-localize>
67
- </div>
63
+ ? html `
64
+ ${this.renderResultBar(this.results?.length || 0, this.changeCount)}
65
+ <div class="empty">
66
+ <umb-localize key="uSync_noChange"></umb-localize>
67
+ </div>
68
68
  `
69
- : html `<div id="result-box">
70
- ${this.renderResultBar(this.results?.length || 0, this.changeCount)}
71
- ${groupsHtml}
69
+ : html `<div id="result-box">
70
+ ${this.renderResultBar(this.results?.length || 0, this.changeCount)}
71
+ ${groupsHtml}
72
72
  </div>`;
73
73
  }
74
74
  renderResultBar(count, changes) {
75
75
  if (this.hideResultBar)
76
76
  return nothing;
77
77
  const localKey = changes === 0 ? 'uSync_noChangeCount' : 'uSync_changeCount';
78
- return html `<div class="result-header">
79
- <uui-toggle
80
- .label=${this.localize.termOrDefault('uSync_showAll', 'Show all items')}
81
- ?checked=${this.showAll}
82
- @change=${__classPrivateFieldGet(this, _uSyncResultsView_instances, "m", _uSyncResultsView_toggleShowAll)}></uui-toggle>
83
- <umb-localize .key=${localKey} .args=${[count, changes]}
84
- >${changes}/${count} items</umb-localize
85
- >
78
+ return html `<div class="result-header">
79
+ <uui-toggle
80
+ .label=${this.localize.termOrDefault('uSync_showAll', 'Show all items')}
81
+ ?checked=${this.showAll}
82
+ @change=${__classPrivateFieldGet(this, _uSyncResultsView_instances, "m", _uSyncResultsView_toggleShowAll)}></uui-toggle>
83
+ <umb-localize .key=${localKey} .args=${[count, changes]}
84
+ >${changes}/${count} items</umb-localize
85
+ >
86
86
  </div>`;
87
87
  }
88
88
  };
@@ -110,50 +110,50 @@ _uSyncResultsView_showDetail = async function _uSyncResultsView_showDetail(e) {
110
110
  if (!data)
111
111
  return;
112
112
  };
113
- uSyncResultsView.styles = css `
114
- :host {
115
- display: block;
116
- margin: var(--uui-size-space-4) 0;
117
- display: flex;
118
- flex-direction: column;
119
- gap: var(--uui-size-space-4);
120
- }
121
-
122
- #result-box {
123
- display: flex;
124
- flex-direction: column;
125
- gap: var(--uui-size-space-4);
126
- }
127
-
128
- uui-table {
129
- position: relative;
130
- z-index: 100;
131
- }
132
-
133
- .result-header {
134
- display: flex;
135
- justify-content: space-between;
136
- padding: var(--uui-size-space-4);
137
- border: 1px solid var(--uui-color-border);
138
- border-radius: var(--uui-border-radius);
139
- padding: var(--uui-size-space-4);
140
- }
141
-
142
- .result-header h3 {
143
- margin: 0;
144
- padding: 0;
145
- }
146
-
147
- .empty {
148
- padding: var(--uui-size-20);
149
- font-size: var(--uui-type-h5-size);
150
- text-align: center;
151
- font-weight: 900;
152
- }
153
-
154
- .error {
155
- background-color: #fce4ec;
156
- }
113
+ uSyncResultsView.styles = css `
114
+ :host {
115
+ display: block;
116
+ margin: var(--uui-size-space-4) 0;
117
+ display: flex;
118
+ flex-direction: column;
119
+ gap: var(--uui-size-space-4);
120
+ }
121
+
122
+ #result-box {
123
+ display: flex;
124
+ flex-direction: column;
125
+ gap: var(--uui-size-space-4);
126
+ }
127
+
128
+ uui-table {
129
+ position: relative;
130
+ z-index: 100;
131
+ }
132
+
133
+ .result-header {
134
+ display: flex;
135
+ justify-content: space-between;
136
+ padding: var(--uui-size-space-4);
137
+ border: 1px solid var(--uui-color-border);
138
+ border-radius: var(--uui-border-radius);
139
+ padding: var(--uui-size-space-4);
140
+ }
141
+
142
+ .result-header h3 {
143
+ margin: 0;
144
+ padding: 0;
145
+ }
146
+
147
+ .empty {
148
+ padding: var(--uui-size-20);
149
+ font-size: var(--uui-type-h5-size);
150
+ text-align: center;
151
+ font-weight: 900;
152
+ }
153
+
154
+ .error {
155
+ background-color: #fce4ec;
156
+ }
157
157
  `;
158
158
  __decorate([
159
159
  property({ type: Array })
@@ -30,8 +30,8 @@ _uSyncSyncFileInfoView_renderHmacMismatch = function _uSyncSyncFileInfoView_rend
30
30
  return nothing;
31
31
  if (this._syncFileInfo.hmacMatch)
32
32
  return nothing;
33
- return html `<div class="banner">
34
- <umb-localize key="uSync_hmacMismatch"></umb-localize>
33
+ return html `<div class="banner">
34
+ <umb-localize key="uSync_hmacMismatch"></umb-localize>
35
35
  </div>`;
36
36
  };
37
37
  _uSyncSyncFileInfoView_renderFormatMismatch = function _uSyncSyncFileInfoView_renderFormatMismatch() {
@@ -39,17 +39,17 @@ _uSyncSyncFileInfoView_renderFormatMismatch = function _uSyncSyncFileInfoView_re
39
39
  return nothing;
40
40
  if (this._syncFileInfo.isCurrent)
41
41
  return nothing;
42
- return html `<div class="banner">
43
- <umb-localize key="uSync_formatMismatch"></umb-localize>
42
+ return html `<div class="banner">
43
+ <umb-localize key="uSync_formatMismatch"></umb-localize>
44
44
  </div>`;
45
45
  };
46
46
  uSyncSyncFileInfoView.styles = [
47
- css `
48
- .banner {
49
- padding: var(--uui-size-space-2) var(--uui-size-space-4);
50
- margin: 0 0 var(--uui-size-space-4);
51
- background-color: var(--uui-color-surface);
52
- }
47
+ css `
48
+ .banner {
49
+ padding: var(--uui-size-space-2) var(--uui-size-space-4);
50
+ margin: 0 0 var(--uui-size-space-4);
51
+ background-color: var(--uui-color-surface);
52
+ }
53
53
  `,
54
54
  ];
55
55
  __decorate([
package/dist/constants.js CHANGED
@@ -4,7 +4,7 @@ const _constants = {
4
4
  icon: 'icon-infinity',
5
5
  menuName: 'Syncronisation',
6
6
  menuAlias: 'usync.menu',
7
- version: '17.x',
7
+ version: '18.x',
8
8
  conditions: {
9
9
  legacy: 'usync.legacy.condition',
10
10
  },
@@ -23,39 +23,39 @@ let uSyncDetailsModalElement = class uSyncDetailsModalElement extends UmbModalBa
23
23
  // });
24
24
  }
25
25
  render() {
26
- return html `
27
- <umb-body-layout headline="Changes : ${this.data?.item.name ?? ''}">
28
- <div class="layout">
29
- <uui-box style="--uui-box-default-padding: 0;">
30
- <div class="headline">
31
- <div>
32
- <h3><umb-localize key="uSync_detailHeadline"></umb-localize></h3>
33
- <umb-localize key="uSync_detailHeader"></umb-localize>
34
- </div>
35
- <div>${this.renderActions()}</div>
36
- </div>
37
- </uui-box>
38
- <usync-change-view .item=${this.data?.item}></usync-change-view>
39
- </div>
40
- <div slot="actions">
41
- <uui-button
42
- id="cancel"
43
- .label=${this.localize.term('general_close')}
44
- look="outline"
45
- @click="${__classPrivateFieldGet(this, _uSyncDetailsModalElement_instances, "m", _uSyncDetailsModalElement_onClose)}"></uui-button>
46
- </div>
47
- </umb-body-layout>
26
+ return html `
27
+ <umb-body-layout headline="Changes : ${this.data?.item.name ?? ''}">
28
+ <div class="layout">
29
+ <uui-box style="--uui-box-default-padding: 0;">
30
+ <div class="headline">
31
+ <div>
32
+ <h3><umb-localize key="uSync_detailHeadline"></umb-localize></h3>
33
+ <umb-localize key="uSync_detailHeader"></umb-localize>
34
+ </div>
35
+ <div>${this.renderActions()}</div>
36
+ </div>
37
+ </uui-box>
38
+ <usync-change-view .item=${this.data?.item}></usync-change-view>
39
+ </div>
40
+ <div slot="actions">
41
+ <uui-button
42
+ id="cancel"
43
+ .label=${this.localize.term('general_close')}
44
+ look="outline"
45
+ @click="${__classPrivateFieldGet(this, _uSyncDetailsModalElement_instances, "m", _uSyncDetailsModalElement_onClose)}"></uui-button>
46
+ </div>
47
+ </umb-body-layout>
48
48
  `;
49
49
  }
50
50
  renderActions() {
51
51
  if (!this.data?.showActions)
52
52
  return nothing;
53
- return html ` <uui-button
54
- id="import"
55
- type="button"
56
- look="outline"
57
- .state=${this.importState}
58
- .label=${this.localize.termOrDefault('uSync_importSingle', 'Import')}
53
+ return html ` <uui-button
54
+ id="import"
55
+ type="button"
56
+ look="outline"
57
+ .state=${this.importState}
58
+ .label=${this.localize.termOrDefault('uSync_importSingle', 'Import')}
59
59
  @click="${__classPrivateFieldGet(this, _uSyncDetailsModalElement_instances, "m", _uSyncDetailsModalElement_onImport)}"></uui-button>`;
60
60
  }
61
61
  };
@@ -78,23 +78,23 @@ _uSyncDetailsModalElement_onImport = async function _uSyncDetailsModalElement_on
78
78
  _uSyncDetailsModalElement_onClose = function _uSyncDetailsModalElement_onClose() {
79
79
  this.modalContext?.reject();
80
80
  };
81
- uSyncDetailsModalElement.styles = css `
82
- .layout {
83
- display: flex;
84
- flex-direction: column;
85
- gap: var(--uui-size-space-4);
86
- }
87
-
88
- .headline {
89
- display: flex;
90
- justify-content: space-between;
91
- padding: var(--uui-size-space-4);
92
- align-items: center;
93
- }
94
-
95
- .headline h3 {
96
- margin: 0;
97
- }
81
+ uSyncDetailsModalElement.styles = css `
82
+ .layout {
83
+ display: flex;
84
+ flex-direction: column;
85
+ gap: var(--uui-size-space-4);
86
+ }
87
+
88
+ .headline {
89
+ display: flex;
90
+ justify-content: space-between;
91
+ padding: var(--uui-size-space-4);
92
+ align-items: center;
93
+ }
94
+
95
+ .headline h3 {
96
+ margin: 0;
97
+ }
98
98
  `;
99
99
  __decorate([
100
100
  state()
@@ -19,18 +19,18 @@ let uSyncErrorModalElement = class uSyncErrorModalElement extends UmbModalBaseEl
19
19
  }
20
20
  render() {
21
21
  const headline = `Error: ${this.data?.action.name ?? ''} [${this.data?.action.itemType}]`;
22
- return html `<umb-body-layout .headline=${headline}>
23
- <strong>
24
- <umb-localize key="uSync_errorHeader"></umb-localize>
25
- </strong>
26
- <div class="error">${this.data?.action.message}</div>
27
- <div slot="actions">
28
- <uui-button
29
- id="cancel"
30
- look="outline"
31
- .label=${this.localize.term('general_close')}
32
- @click="${__classPrivateFieldGet(this, _uSyncErrorModalElement_instances, "m", _uSyncErrorModalElement_onClose)}"></uui-button>
33
- </div>
22
+ return html `<umb-body-layout .headline=${headline}>
23
+ <strong>
24
+ <umb-localize key="uSync_errorHeader"></umb-localize>
25
+ </strong>
26
+ <div class="error">${this.data?.action.message}</div>
27
+ <div slot="actions">
28
+ <uui-button
29
+ id="cancel"
30
+ look="outline"
31
+ .label=${this.localize.term('general_close')}
32
+ @click="${__classPrivateFieldGet(this, _uSyncErrorModalElement_instances, "m", _uSyncErrorModalElement_onClose)}"></uui-button>
33
+ </div>
34
34
  </umb-body-layout>`;
35
35
  }
36
36
  };
@@ -38,16 +38,16 @@ _uSyncErrorModalElement_instances = new WeakSet();
38
38
  _uSyncErrorModalElement_onClose = function _uSyncErrorModalElement_onClose() {
39
39
  this.modalContext?.reject();
40
40
  };
41
- uSyncErrorModalElement.styles = css `
42
- umb-body-layout {
43
- max-width: 450px;
44
- }
45
-
46
- .error {
47
- padding: 10px;
48
- font-family: monospace;
49
- color: red;
50
- }
41
+ uSyncErrorModalElement.styles = css `
42
+ umb-body-layout {
43
+ max-width: 450px;
44
+ }
45
+
46
+ .error {
47
+ padding: 10px;
48
+ font-family: monospace;
49
+ color: red;
50
+ }
51
51
  `;
52
52
  uSyncErrorModalElement = __decorate([
53
53
  customElement('usync-error-modal')
@@ -18,18 +18,18 @@ let uSyncLegacyModalElement = class uSyncLegacyModalElement extends UmbModalBase
18
18
  _uSyncLegacyModalElement_instances.add(this);
19
19
  }
20
20
  render() {
21
- return html `
22
- <umb-body-layout headline="Legacy uSync folder detected">
23
- <div class="content">
24
- ${this.renderLegacyFolder(this.data?.legacyFolder)}
25
- ${this.renderLegacyTypes(this.data?.legacyTypes)} ${this.renderCopy()}
26
- </div>
27
- <div slot="actions">
28
- <uui-button id="cancel" label="close" @click=${__classPrivateFieldGet(this, _uSyncLegacyModalElement_instances, "m", _uSyncLegacyModalElement_onClose)}>
29
- ${this.localize.term('general_close')}
30
- </uui-button>
31
- </div>
32
- </umb-body-layout>
21
+ return html `
22
+ <umb-body-layout headline="Legacy uSync folder detected">
23
+ <div class="content">
24
+ ${this.renderLegacyFolder(this.data?.legacyFolder)}
25
+ ${this.renderLegacyTypes(this.data?.legacyTypes)} ${this.renderCopy()}
26
+ </div>
27
+ <div slot="actions">
28
+ <uui-button id="cancel" label="close" @click=${__classPrivateFieldGet(this, _uSyncLegacyModalElement_instances, "m", _uSyncLegacyModalElement_onClose)}>
29
+ ${this.localize.term('general_close')}
30
+ </uui-button>
31
+ </div>
32
+ </umb-body-layout>
33
33
  `;
34
34
  }
35
35
  renderLegacyFolder(folder) {
@@ -44,8 +44,8 @@ let uSyncLegacyModalElement = class uSyncLegacyModalElement extends UmbModalBase
44
44
  const legacyTypeHtml = this.data?.legacyTypes.map((datatype) => {
45
45
  return html `<li>${datatype}</li>`;
46
46
  });
47
- return html `<div>
48
- ${this.localize.termOrDefault('uSync.legacyObsolete', 'Obsolete DataTypes', legacyTypeHtml)}
47
+ return html `<div>
48
+ ${this.localize.termOrDefault('uSync.legacyObsolete', 'Obsolete DataTypes', legacyTypeHtml)}
49
49
  </div>`;
50
50
  }
51
51
  renderCopy() {
@@ -56,14 +56,14 @@ _uSyncLegacyModalElement_instances = new WeakSet();
56
56
  _uSyncLegacyModalElement_onClose = function _uSyncLegacyModalElement_onClose() {
57
57
  this.modalContext?.reject();
58
58
  };
59
- uSyncLegacyModalElement.styles = css `
60
- .content {
61
- margin: -10px 0;
62
- }
63
-
64
- em {
65
- color: var(--uui-color-positive);
66
- }
59
+ uSyncLegacyModalElement.styles = css `
60
+ .content {
61
+ margin: -10px 0;
62
+ }
63
+
64
+ em {
65
+ color: var(--uui-color-positive);
66
+ }
67
67
  `;
68
68
  uSyncLegacyModalElement = __decorate([
69
69
  customElement('usync-legacy-modal')
@@ -33,41 +33,41 @@ let SyncImportSingleModalElement = class SyncImportSingleModalElement extends Um
33
33
  });
34
34
  }
35
35
  render() {
36
- return html `<umb-body-layout
37
- .headline=${`Import : ${this.data?.action.name ?? ''} [${this.data?.action.itemType}]`}>
38
- ${this.renderResult()}
39
- <div slot="actions">
40
- <uui-button
41
- id="cancel"
42
- look="outline"
43
- .label=${this.localize.term('general_close')}
44
- @click="${__classPrivateFieldGet(this, _SyncImportSingleModalElement_instances, "m", _SyncImportSingleModalElement_onClose)}"></uui-button>
45
- ${when(!this.result, () => html ` <uui-button
46
- id="import"
47
- look="primary"
48
- color="positive"
49
- type="button"
50
- .state=${this.importState}
51
- .label=${this.localize.termOrDefault('uSync_importSingle', 'Import')}
52
- @click="${__classPrivateFieldGet(this, _SyncImportSingleModalElement_instances, "m", _SyncImportSingleModalElement_doImport)}"></uui-button>`)}
53
- </div>
36
+ return html `<umb-body-layout
37
+ .headline=${`Import : ${this.data?.action.name ?? ''} [${this.data?.action.itemType}]`}>
38
+ ${this.renderResult()}
39
+ <div slot="actions">
40
+ <uui-button
41
+ id="cancel"
42
+ look="outline"
43
+ .label=${this.localize.term('general_close')}
44
+ @click="${__classPrivateFieldGet(this, _SyncImportSingleModalElement_instances, "m", _SyncImportSingleModalElement_onClose)}"></uui-button>
45
+ ${when(!this.result, () => html ` <uui-button
46
+ id="import"
47
+ look="primary"
48
+ color="positive"
49
+ type="button"
50
+ .state=${this.importState}
51
+ .label=${this.localize.termOrDefault('uSync_importSingle', 'Import')}
52
+ @click="${__classPrivateFieldGet(this, _SyncImportSingleModalElement_instances, "m", _SyncImportSingleModalElement_doImport)}"></uui-button>`)}
53
+ </div>
54
54
  </umb-body-layout>`;
55
55
  }
56
56
  renderResult() {
57
57
  if (!this.result)
58
- return html ` <strong>
59
- <umb-localize key="uSync_importSingleWarning"></umb-localize>
58
+ return html ` <strong>
59
+ <umb-localize key="uSync_importSingleWarning"></umb-localize>
60
60
  </strong>`;
61
61
  if (this.result.success) {
62
- return html `<div>
63
- <umb-localize key="uSync_importSingleSuccess"></umb-localize>
62
+ return html `<div>
63
+ <umb-localize key="uSync_importSingleSuccess"></umb-localize>
64
64
  </div>`;
65
65
  }
66
66
  else {
67
- return html `<div>
68
- <umb-localize
69
- key="uSync_importSingleFailed"
70
- .args=${[this.result.message]}></umb-localize>
67
+ return html `<div>
68
+ <umb-localize
69
+ key="uSync_importSingleFailed"
70
+ .args=${[this.result.message]}></umb-localize>
71
71
  </div>`;
72
72
  }
73
73
  }
@@ -88,11 +88,11 @@ _SyncImportSingleModalElement_doImport = async function _SyncImportSingleModalEl
88
88
  else
89
89
  this.importState = 'failed';
90
90
  };
91
- SyncImportSingleModalElement.styles = css `
92
- umb-body-layout {
93
- min-width: 450px;
94
- max-width: 450px;
95
- }
91
+ SyncImportSingleModalElement.styles = css `
92
+ umb-body-layout {
93
+ min-width: 450px;
94
+ max-width: 450px;
95
+ }
96
96
  `;
97
97
  __decorate([
98
98
  state()
@@ -1,21 +1,21 @@
1
- export default `<svg
2
- fill="currentColor"
3
- stroke="currentColor"
4
- viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
5
- <g transform="translate(108.42 -1.9279)">
6
- <g transform="matrix(-.16453 0 0 -.16453 -63.894 49.007)">
7
- <path d="m-19.355 15.107c-19.456 0-38.912 7.3909-53.695 22.174-29.566 29.566-29.566 77.823 0 107.39 29.566 29.566 77.823 29.566 107.39 0l46.211-46.211a10.584 10.584 0 0 0 0-14.967l-46.211-46.211c-14.783-14.783-34.238-22.174-53.693-22.174zm0 21.033c13.994 0 27.988 5.3688 38.727 16.107l38.727 38.729-38.727 38.727c-21.477 21.477-55.978 21.477-77.455 0s-21.477-55.978 0-77.455c10.739-10.739 24.734-16.107 38.729-16.107z"/>
8
- <path d="m-19.355 1.8789c-22.806 0-45.721 8.7209-63.049 26.049-34.655 34.655-34.655 91.44 0 126.1 34.655 34.655 91.44 34.655 126.1 0l46.211-46.211a13.23 13.23 0 0 0 2e-3 0c9.1864-9.1886 9.1864-24.485 0-33.674a13.23 13.23 0 0 0-2e-3 0l-46.211-46.211c-17.328-17.328-40.241-26.049-63.047-26.049zm0 47.49c10.611 0 21.139 3.9982 29.373 12.232l29.373 29.375-29.373 29.373c-16.468 16.468-42.28 16.468-58.748 0s-16.468-42.28 0-58.748c8.2336-8.2336 18.764-12.232 29.375-12.232z"/>
9
- <path d="m165.49 15.107c-19.456 0-38.912 7.3908-53.695 22.174l-46.211 46.211a10.584 10.584 0 0 0 0 14.967s33.45 33.45 46.211 46.211c29.566 29.566 77.823 29.566 107.39 0s29.566-77.823 0-107.39c-14.783-14.783-34.238-22.174-53.693-22.174zm0 21.033c13.994 0 27.988 5.3688 38.727 16.107 21.477 21.477 21.477 55.978 0 77.455s-55.978 21.477-77.455 0c-10.694-10.694-30.839-30.837-38.729-38.727l38.729-38.729c10.739-10.739 24.734-16.107 38.729-16.107z"/>
10
- <path d="m165.49 1.8789c-22.806 0-45.721 8.7209-63.049 26.049l-46.211 46.211a13.23 13.23 0 0 0-2e-3 0c-9.1864 9.1886-9.1864 24.485 0 33.674a13.23 13.23 0 0 0 2e-3 0l46.211 46.211c34.655 34.655 91.44 34.655 126.1 0 34.655-34.655 34.655-91.44 0-126.1-17.328-17.328-40.241-26.049-63.047-26.049zm0 47.49c10.611 0 21.139 3.9982 29.373 12.232 16.468 16.468 16.468 42.28 0 58.748s-42.28 16.468-58.748 0c-8.1118-8.1118-19.862-19.86-29.375-29.373l29.375-29.375c8.2336-8.2336 18.764-12.232 29.375-12.232z"/>
11
- </g>
12
- <path d="m-60.71 46.522c3.201 0 6.4021-1.216 8.8343-3.6482 4.8643-4.8643 4.8643-12.804 0-17.668-4.8643-4.8643-12.804-4.8643-17.668 0l-6.3716 6.3716c-1.298-1.298-4.6122-4.6121-6.3717-6.3716-4.8643-4.8643-12.804-4.8643-17.668 0-4.8643 4.8643-4.8643 12.804 0 17.668 2.4322 2.4322 5.633 3.6482 8.8339 3.6482 3.201 0 6.402-1.216 8.8342-3.6482 1.7595-1.7595 5.0737-5.0736 6.3717-6.3716l6.3716 6.3716c2.4322 2.4322 5.633 3.6482 8.8339 3.6482zm0-3.4604c-2.3024 0-4.6047-0.88333-6.3715-2.6501l-6.3715-6.3718 6.3715-6.3715c3.5335-3.5335 9.2097-3.5335 12.743 0 3.5335 3.5335 3.5335 9.2098 0 12.743-1.7668 1.7668-4.0694 2.6501-6.3718 2.6501zm-30.411 2e-6c-2.3024 0-4.6048-0.88333-6.3715-2.6501-3.5335-3.5335-3.5335-9.2098 0-12.743 3.5335-3.5335 9.2098-3.5335 12.743 0 1.7595 1.7595 5.0738 5.0735 6.3718 6.3715l-6.3718 6.3718c-1.7668 1.7668-4.0694 2.6501-6.3718 2.6501z"/>
13
- <g transform="matrix(-.16453 0 0 -.16453 -63.894 49.007)">
14
- <path d="m-19.355 15.107c-19.456 0-38.912 7.3909-53.695 22.174-29.566 29.566-29.566 77.823 0 107.39 29.566 29.566 77.823 29.566 107.39 0l46.211-46.211a10.584 10.584 0 0 0 0-14.967l-46.211-46.211c-14.783-14.783-34.238-22.174-53.693-22.174zm0 21.033c13.994 0 27.988 5.3688 38.727 16.107l38.727 38.729-38.727 38.727c-21.477 21.477-55.978 21.477-77.455 0s-21.477-55.978 0-77.455c10.739-10.739 24.734-16.107 38.729-16.107z"/>
15
- <path d="m-19.355 1.8789c-22.806 0-45.721 8.7209-63.049 26.049-34.655 34.655-34.655 91.44 0 126.1 34.655 34.655 91.44 34.655 126.1 0l46.211-46.211a13.23 13.23 0 0 0 2e-3 0c9.1864-9.1886 9.1864-24.485 0-33.674a13.23 13.23 0 0 0-2e-3 0l-46.211-46.211c-17.328-17.328-40.241-26.049-63.047-26.049zm0 47.49c10.611 0 21.139 3.9982 29.373 12.232l29.373 29.375-29.373 29.373c-16.468 16.468-42.28 16.468-58.748 0s-16.468-42.28 0-58.748c8.2336-8.2336 18.764-12.232 29.375-12.232z"/>
16
- <path d="m165.49 15.107c-19.456 0-38.912 7.3908-53.695 22.174l-46.211 46.211a10.584 10.584 0 0 0 0 14.967s33.45 33.45 46.211 46.211c29.566 29.566 77.823 29.566 107.39 0s29.566-77.823 0-107.39c-14.783-14.783-34.238-22.174-53.693-22.174zm0 21.033c13.994 0 27.988 5.3688 38.727 16.107 21.477 21.477 21.477 55.978 0 77.455s-55.978 21.477-77.455 0c-10.694-10.694-30.839-30.837-38.729-38.727l38.729-38.729c10.739-10.739 24.734-16.107 38.729-16.107z"/>
17
- <path d="m165.49 1.8789c-22.806 0-45.721 8.7209-63.049 26.049l-46.211 46.211a13.23 13.23 0 0 0-2e-3 0c-9.1864 9.1886-9.1864 24.485 0 33.674a13.23 13.23 0 0 0 2e-3 0l46.211 46.211c34.655 34.655 91.44 34.655 126.1 0 34.655-34.655 34.655-91.44 0-126.1-17.328-17.328-40.241-26.049-63.047-26.049zm0 47.49c10.611 0 21.139 3.9982 29.373 12.232 16.468 16.468 16.468 42.28 0 58.748s-42.28 16.468-58.748 0c-8.1118-8.1118-19.862-19.86-29.375-29.373l29.375-29.375c8.2336-8.2336 18.764-12.232 29.375-12.232z"/>
18
- </g>
19
- <path d="m-51.876 42.874c4.8643-4.8643 4.8644-12.804 5.9e-5 -17.668-4.8643-4.8643-12.804-4.8643-17.668 1e-6l-15.206 15.206c-1.7668 1.7668-4.0694 2.6501-6.3718 2.6501s-4.6047-0.88327-6.3715-2.65c-3.5335-3.5335-3.5335-9.2098 0-12.743 3.5335-3.5335 9.2098-3.5335 12.743 0 1.3345 1.3345 3.2676 3.2675 4.8329 4.8326l2.4623-2.4623c-1.5652-1.5652-3.4983-3.4982-4.8328-4.8327-4.8643-4.8643-12.804-4.8644-17.668-6e-5 -4.8643 4.8643-4.8643 12.804 6e-5 17.668 2.4322 2.4322 5.6329 3.6481 8.8338 3.6481 3.201-1e-6 6.402-1.216 8.8342-3.6481 1.7595-1.7595 5.0737-5.0736 6.3717-6.3716l4.77e-4 4.93e-4v-8.22e-4l2.4621-2.4621-6e-5 -6e-5 6.3715-6.3715c3.5335-3.5335 9.2097-3.5335 12.743 0 3.5335 3.5335 3.5335 9.2097 0 12.743-1.7668 1.7668-4.0694 2.6501-6.3718 2.6501s-4.6047-0.88333-6.3714-2.6501l-4.8325-4.8328-2.4625 2.4625 4.8326 4.8326c2.4322 2.4322 5.6329 3.6481 8.8338 3.6481 3.201 0 6.402-1.216 8.8342-3.6481z" fill="#fff"/>
20
- </g>
1
+ export default `<svg
2
+ fill="currentColor"
3
+ stroke="currentColor"
4
+ viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
5
+ <g transform="translate(108.42 -1.9279)">
6
+ <g transform="matrix(-.16453 0 0 -.16453 -63.894 49.007)">
7
+ <path d="m-19.355 15.107c-19.456 0-38.912 7.3909-53.695 22.174-29.566 29.566-29.566 77.823 0 107.39 29.566 29.566 77.823 29.566 107.39 0l46.211-46.211a10.584 10.584 0 0 0 0-14.967l-46.211-46.211c-14.783-14.783-34.238-22.174-53.693-22.174zm0 21.033c13.994 0 27.988 5.3688 38.727 16.107l38.727 38.729-38.727 38.727c-21.477 21.477-55.978 21.477-77.455 0s-21.477-55.978 0-77.455c10.739-10.739 24.734-16.107 38.729-16.107z"/>
8
+ <path d="m-19.355 1.8789c-22.806 0-45.721 8.7209-63.049 26.049-34.655 34.655-34.655 91.44 0 126.1 34.655 34.655 91.44 34.655 126.1 0l46.211-46.211a13.23 13.23 0 0 0 2e-3 0c9.1864-9.1886 9.1864-24.485 0-33.674a13.23 13.23 0 0 0-2e-3 0l-46.211-46.211c-17.328-17.328-40.241-26.049-63.047-26.049zm0 47.49c10.611 0 21.139 3.9982 29.373 12.232l29.373 29.375-29.373 29.373c-16.468 16.468-42.28 16.468-58.748 0s-16.468-42.28 0-58.748c8.2336-8.2336 18.764-12.232 29.375-12.232z"/>
9
+ <path d="m165.49 15.107c-19.456 0-38.912 7.3908-53.695 22.174l-46.211 46.211a10.584 10.584 0 0 0 0 14.967s33.45 33.45 46.211 46.211c29.566 29.566 77.823 29.566 107.39 0s29.566-77.823 0-107.39c-14.783-14.783-34.238-22.174-53.693-22.174zm0 21.033c13.994 0 27.988 5.3688 38.727 16.107 21.477 21.477 21.477 55.978 0 77.455s-55.978 21.477-77.455 0c-10.694-10.694-30.839-30.837-38.729-38.727l38.729-38.729c10.739-10.739 24.734-16.107 38.729-16.107z"/>
10
+ <path d="m165.49 1.8789c-22.806 0-45.721 8.7209-63.049 26.049l-46.211 46.211a13.23 13.23 0 0 0-2e-3 0c-9.1864 9.1886-9.1864 24.485 0 33.674a13.23 13.23 0 0 0 2e-3 0l46.211 46.211c34.655 34.655 91.44 34.655 126.1 0 34.655-34.655 34.655-91.44 0-126.1-17.328-17.328-40.241-26.049-63.047-26.049zm0 47.49c10.611 0 21.139 3.9982 29.373 12.232 16.468 16.468 16.468 42.28 0 58.748s-42.28 16.468-58.748 0c-8.1118-8.1118-19.862-19.86-29.375-29.373l29.375-29.375c8.2336-8.2336 18.764-12.232 29.375-12.232z"/>
11
+ </g>
12
+ <path d="m-60.71 46.522c3.201 0 6.4021-1.216 8.8343-3.6482 4.8643-4.8643 4.8643-12.804 0-17.668-4.8643-4.8643-12.804-4.8643-17.668 0l-6.3716 6.3716c-1.298-1.298-4.6122-4.6121-6.3717-6.3716-4.8643-4.8643-12.804-4.8643-17.668 0-4.8643 4.8643-4.8643 12.804 0 17.668 2.4322 2.4322 5.633 3.6482 8.8339 3.6482 3.201 0 6.402-1.216 8.8342-3.6482 1.7595-1.7595 5.0737-5.0736 6.3717-6.3716l6.3716 6.3716c2.4322 2.4322 5.633 3.6482 8.8339 3.6482zm0-3.4604c-2.3024 0-4.6047-0.88333-6.3715-2.6501l-6.3715-6.3718 6.3715-6.3715c3.5335-3.5335 9.2097-3.5335 12.743 0 3.5335 3.5335 3.5335 9.2098 0 12.743-1.7668 1.7668-4.0694 2.6501-6.3718 2.6501zm-30.411 2e-6c-2.3024 0-4.6048-0.88333-6.3715-2.6501-3.5335-3.5335-3.5335-9.2098 0-12.743 3.5335-3.5335 9.2098-3.5335 12.743 0 1.7595 1.7595 5.0738 5.0735 6.3718 6.3715l-6.3718 6.3718c-1.7668 1.7668-4.0694 2.6501-6.3718 2.6501z"/>
13
+ <g transform="matrix(-.16453 0 0 -.16453 -63.894 49.007)">
14
+ <path d="m-19.355 15.107c-19.456 0-38.912 7.3909-53.695 22.174-29.566 29.566-29.566 77.823 0 107.39 29.566 29.566 77.823 29.566 107.39 0l46.211-46.211a10.584 10.584 0 0 0 0-14.967l-46.211-46.211c-14.783-14.783-34.238-22.174-53.693-22.174zm0 21.033c13.994 0 27.988 5.3688 38.727 16.107l38.727 38.729-38.727 38.727c-21.477 21.477-55.978 21.477-77.455 0s-21.477-55.978 0-77.455c10.739-10.739 24.734-16.107 38.729-16.107z"/>
15
+ <path d="m-19.355 1.8789c-22.806 0-45.721 8.7209-63.049 26.049-34.655 34.655-34.655 91.44 0 126.1 34.655 34.655 91.44 34.655 126.1 0l46.211-46.211a13.23 13.23 0 0 0 2e-3 0c9.1864-9.1886 9.1864-24.485 0-33.674a13.23 13.23 0 0 0-2e-3 0l-46.211-46.211c-17.328-17.328-40.241-26.049-63.047-26.049zm0 47.49c10.611 0 21.139 3.9982 29.373 12.232l29.373 29.375-29.373 29.373c-16.468 16.468-42.28 16.468-58.748 0s-16.468-42.28 0-58.748c8.2336-8.2336 18.764-12.232 29.375-12.232z"/>
16
+ <path d="m165.49 15.107c-19.456 0-38.912 7.3908-53.695 22.174l-46.211 46.211a10.584 10.584 0 0 0 0 14.967s33.45 33.45 46.211 46.211c29.566 29.566 77.823 29.566 107.39 0s29.566-77.823 0-107.39c-14.783-14.783-34.238-22.174-53.693-22.174zm0 21.033c13.994 0 27.988 5.3688 38.727 16.107 21.477 21.477 21.477 55.978 0 77.455s-55.978 21.477-77.455 0c-10.694-10.694-30.839-30.837-38.729-38.727l38.729-38.729c10.739-10.739 24.734-16.107 38.729-16.107z"/>
17
+ <path d="m165.49 1.8789c-22.806 0-45.721 8.7209-63.049 26.049l-46.211 46.211a13.23 13.23 0 0 0-2e-3 0c-9.1864 9.1886-9.1864 24.485 0 33.674a13.23 13.23 0 0 0 2e-3 0l46.211 46.211c34.655 34.655 91.44 34.655 126.1 0 34.655-34.655 34.655-91.44 0-126.1-17.328-17.328-40.241-26.049-63.047-26.049zm0 47.49c10.611 0 21.139 3.9982 29.373 12.232 16.468 16.468 16.468 42.28 0 58.748s-42.28 16.468-58.748 0c-8.1118-8.1118-19.862-19.86-29.375-29.373l29.375-29.375c8.2336-8.2336 18.764-12.232 29.375-12.232z"/>
18
+ </g>
19
+ <path d="m-51.876 42.874c4.8643-4.8643 4.8644-12.804 5.9e-5 -17.668-4.8643-4.8643-12.804-4.8643-17.668 1e-6l-15.206 15.206c-1.7668 1.7668-4.0694 2.6501-6.3718 2.6501s-4.6047-0.88327-6.3715-2.65c-3.5335-3.5335-3.5335-9.2098 0-12.743 3.5335-3.5335 9.2098-3.5335 12.743 0 1.3345 1.3345 3.2676 3.2675 4.8329 4.8326l2.4623-2.4623c-1.5652-1.5652-3.4983-3.4982-4.8328-4.8327-4.8643-4.8643-12.804-4.8644-17.668-6e-5 -4.8643 4.8643-4.8643 12.804 6e-5 17.668 2.4322 2.4322 5.6329 3.6481 8.8338 3.6481 3.201-1e-6 6.402-1.216 8.8342-3.6481 1.7595-1.7595 5.0737-5.0736 6.3717-6.3716l4.77e-4 4.93e-4v-8.22e-4l2.4621-2.4621-6e-5 -6e-5 6.3715-6.3715c3.5335-3.5335 9.2097-3.5335 12.743 0 3.5335 3.5335 3.5335 9.2097 0 12.743-1.7668 1.7668-4.0694 2.6501-6.3718 2.6501s-4.6047-0.88333-6.3714-2.6501l-4.8325-4.8328-2.4625 2.4625 4.8326 4.8326c2.4322 2.4322 5.6329 3.6481 8.8338 3.6481 3.201 0 6.402-1.216 8.8342-3.6481z" fill="#fff"/>
20
+ </g>
21
21
  </svg>`;
@@ -46,21 +46,21 @@ export default {
46
46
  changeHeading: 'Resultater',
47
47
  changeCount: '{1}/{0} ændringer',
48
48
  noChangeCount: '0/{0} ændringer',
49
- legacyInfo: `<p>uSync har fundet en ældre uSync-mappe på <strong>%0%</strong>.<br />
49
+ legacyInfo: `<p>uSync har fundet en ældre uSync-mappe på <strong>%0%</strong>.<br />
50
50
  Det er sandsynligt, at indholdet skal konverteres på en eller anden måde</p>`,
51
- legacyObsolete: `<h4>Forældede datatyper</h4>
52
- <ul>%0%</ul>
53
- <p>Du kan konvertere disse datatyper ved hjælp af
54
- <a href="https://github.com/Jumoo/uSyncMigrations" target="_blank">uSync.Migrations</a><br />
51
+ legacyObsolete: `<h4>Forældede datatyper</h4>
52
+ <ul>%0%</ul>
53
+ <p>Du kan konvertere disse datatyper ved hjælp af
54
+ <a href="https://github.com/Jumoo/uSyncMigrations" target="_blank">uSync.Migrations</a><br />
55
55
  <em>(I den fulde uSync-udgivelse vil konvertering ske her.)</em></p>`,
56
- legacyCopy: `<h4>Kopiér til uSync/v14</h4>
57
- <p>Du kan kopiere din %0%-mappe til ~/uSync/v14-mappen<br />og køre en import.</p>
58
- <p>Hvis intet skal konverteres, bør alt importeres korrekt.</p>
56
+ legacyCopy: `<h4>Kopiér til uSync/v14</h4>
57
+ <p>Du kan kopiere din %0%-mappe til ~/uSync/v14-mappen<br />og køre en import.</p>
58
+ <p>Hvis intet skal konverteres, bør alt importeres korrekt.</p>
59
59
  <p><strong>Fjern eller omdøb %0%-mappen for at forhindre denne popup</strong></p>`,
60
- hmacMismatch: `<h4>HMAC-uoverensstemmelse <uui-icon name="alert"></uui-icon></h4>
61
- <p>Det ser ud til, at indstillingen <code>Imaging:HMAC</code>, der bruges til at generere filerne i uSync-mappen, ikke stemmer overens med den aktuelle indstilling for dette websted.</p>
62
- <p>Billeder i RTE-kontrolelementer vil have HMAC-værdien tilføjet til URL-værdien, og uden yderligere konfiguration vises disse billeder muligvis ikke korrekt.</p>
63
- <ul><li>Du kan aktivere "HMAC-mapping" i uSync,</li>
60
+ hmacMismatch: `<h4>HMAC-uoverensstemmelse <uui-icon name="alert"></uui-icon></h4>
61
+ <p>Det ser ud til, at indstillingen <code>Imaging:HMAC</code>, der bruges til at generere filerne i uSync-mappen, ikke stemmer overens med den aktuelle indstilling for dette websted.</p>
62
+ <p>Billeder i RTE-kontrolelementer vil have HMAC-værdien tilføjet til URL-værdien, og uden yderligere konfiguration vises disse billeder muligvis ikke korrekt.</p>
63
+ <ul><li>Du kan aktivere "HMAC-mapping" i uSync,</li>
64
64
  <li>eller du kan sikre, at HMAC-værdien i indstillingen <code>Imaging:HMAC</code> stemmer overens med den værdi, der bruges til at generere filerne i uSync-mappen</li></ul>`,
65
65
  formatMismatch: 'Synkroniseringsfilformatversionen stemmer ikke overens med den forventede version. Dette kan indikere et potentielt kompatibilitetsproblem.',
66
66
  legacyBanner: 'Dette websted indeholder filer fra en tidligere version af uSync. Se detaljerne under fanen Ældre.',