@jumoo/usync 17.5.0 → 17.5.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 (33) hide show
  1. package/LICENCE +372 -372
  2. package/README.md +10 -10
  3. package/dist/components/usync-action-box.js +61 -61
  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 +106 -106
  7. package/dist/components/usync-result-row.js +61 -61
  8. package/dist/components/usync-results-group-view.js +55 -55
  9. package/dist/components/usync-results-view.js +63 -63
  10. package/dist/components/usync-sync-file-info-view.js +10 -10
  11. package/dist/dialogs/details-modal-element.js +37 -37
  12. package/dist/dialogs/error-modal-element.js +21 -21
  13. package/dist/dialogs/legacy-modal-element.js +22 -22
  14. package/dist/dialogs/single-import-modal.element.js +30 -30
  15. package/dist/icons/svg/logo.js +20 -20
  16. package/dist/lang/files/da-dk.js +12 -12
  17. package/dist/lang/files/de-de.js +12 -12
  18. package/dist/lang/files/en-us.js +12 -12
  19. package/dist/lang/files/es-es.js +12 -12
  20. package/dist/lang/files/fr-fr.js +12 -12
  21. package/dist/lang/files/nl-nl.js +12 -12
  22. package/dist/tree/usync.menu-element.js +8 -8
  23. package/dist/workspace/components/usync-action-button.js +50 -50
  24. package/dist/workspace/components/usync-file-picker.element.js +33 -33
  25. package/dist/workspace/components/usync-file-upload.element.js +25 -25
  26. package/dist/workspace/dialogs/import-modal.element.js +22 -22
  27. package/dist/workspace/views/addons/addons.element.js +97 -97
  28. package/dist/workspace/views/default/default.element.js +186 -186
  29. package/dist/workspace/views/legacy/legacy.element.js +81 -81
  30. package/dist/workspace/views/settings/components/usyncSettingItem.element.js +38 -38
  31. package/dist/workspace/views/settings/settings.element.js +124 -124
  32. package/dist/workspace/workspace.element.js +16 -16
  33. package/package.json +70 -70
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
- ## uSync ui library.
2
-
3
- The uSync UI library ,is used by other uSync packages, to
4
- show things like changes, and updates ,etc.
5
-
6
- > [!IMPORTANT]
7
- > Most packages do not need to export thier client library
8
- as a npm package, unless your client library is also going
9
- to be used by child packages.
10
-
1
+ ## uSync ui library.
2
+
3
+ The uSync UI library ,is used by other uSync packages, to
4
+ show things like changes, and updates ,etc.
5
+
6
+ > [!IMPORTANT]
7
+ > Most packages do not need to export thier client library
8
+ as a npm package, unless your client library is also going
9
+ to be used by child packages.
10
+
@@ -25,24 +25,24 @@ let uSyncActionBox = class uSyncActionBox extends UmbLitElement {
25
25
  }
26
26
  render() {
27
27
  const dropdownButtons = this.group.buttons.map((b) => {
28
- return html `
29
- <usync-action-button
30
- .button=${b}
31
- .disabled=${this.disabled}
32
- state=${ifDefined(this.state)}
33
- @usync-action-click=${(e) => __classPrivateFieldGet(this, _uSyncActionBox_instances, "m", _uSyncActionBox_onAction).call(this, e, this.group)}></usync-action-button>
28
+ return html `
29
+ <usync-action-button
30
+ .button=${b}
31
+ .disabled=${this.disabled}
32
+ state=${ifDefined(this.state)}
33
+ @usync-action-click=${(e) => __classPrivateFieldGet(this, _uSyncActionBox_instances, "m", _uSyncActionBox_onAction).call(this, e, this.group)}></usync-action-button>
34
34
  `;
35
35
  });
36
- return html `
37
- <uui-box class="action-box ${this.disabled ? 'disabled' : ''}">
38
- <div class="box-content">
39
- <h2 class="box-heading" title=${this.getLastSyncDate()}>
40
- ${this.localize.termOrDefault(`uSync_group${this.group?.groupName}`, this.group?.groupName ?? '')}
41
- </h2>
42
- <umb-icon name=${this.group?.icon}></umb-icon>
43
- <div class="box-buttons">${dropdownButtons}</div>
44
- </div>
45
- </uui-box>
36
+ return html `
37
+ <uui-box class="action-box ${this.disabled ? 'disabled' : ''}">
38
+ <div class="box-content">
39
+ <h2 class="box-heading" title=${this.getLastSyncDate()}>
40
+ ${this.localize.termOrDefault(`uSync_group${this.group?.groupName}`, this.group?.groupName ?? '')}
41
+ </h2>
42
+ <umb-icon name=${this.group?.icon}></umb-icon>
43
+ <div class="box-buttons">${dropdownButtons}</div>
44
+ </div>
45
+ </uui-box>
46
46
  `;
47
47
  }
48
48
  getLastSyncDate() {
@@ -57,51 +57,51 @@ _uSyncActionBox_onAction = function _uSyncActionBox_onAction(e, group) {
57
57
  return;
58
58
  this.dispatchEvent(new uSyncActionPerformEvent(group, e.button.key, e.button.force, e.button.clean, e.button.file));
59
59
  };
60
- uSyncActionBox.styles = css `
61
- :host {
62
- flex-grow: 1;
63
- }
64
-
65
- .action-box {
66
- transition: opacity 0.2s ease-in-out;
67
- }
68
-
69
- .box-content {
70
- display: flex;
71
- flex-direction: column;
72
- align-items: center;
73
- }
74
-
75
- .box-heading {
76
- font-size: var(--uui-type-h3-size);
77
- cursor: help;
78
- margin: var(--uui-size-space-3);
79
- }
80
-
81
- umb-icon {
82
- margin: var(--uui-size-8) 0 var(--uui-size-10);
83
- font-size: var(--uui-type-h2-size);
84
- color: var(--uui-color-text-alt);
85
- }
86
-
87
- uui-button {
88
- margin: 0 var(--uui-size-space-2);
89
- font-size: var(--uui-size-6);
90
- }
91
-
92
- .box-buttons {
93
- margin: var(--uui-size-space-2) 0;
94
- }
95
-
96
- .disabled {
97
- opacity: 0.4;
98
- }
99
-
100
- .last-sync {
101
- color: var(--uui-color-text-alt);
102
- font-style: italic;
103
- font-size: var(--uui-size-5);
104
- }
60
+ uSyncActionBox.styles = css `
61
+ :host {
62
+ flex-grow: 1;
63
+ }
64
+
65
+ .action-box {
66
+ transition: opacity 0.2s ease-in-out;
67
+ }
68
+
69
+ .box-content {
70
+ display: flex;
71
+ flex-direction: column;
72
+ align-items: center;
73
+ }
74
+
75
+ .box-heading {
76
+ font-size: var(--uui-type-h3-size);
77
+ cursor: help;
78
+ margin: var(--uui-size-space-3);
79
+ }
80
+
81
+ umb-icon {
82
+ margin: var(--uui-size-8) 0 var(--uui-size-10);
83
+ font-size: var(--uui-type-h2-size);
84
+ color: var(--uui-color-text-alt);
85
+ }
86
+
87
+ uui-button {
88
+ margin: 0 var(--uui-size-space-2);
89
+ font-size: var(--uui-size-6);
90
+ }
91
+
92
+ .box-buttons {
93
+ margin: var(--uui-size-space-2) 0;
94
+ }
95
+
96
+ .disabled {
97
+ opacity: 0.4;
98
+ }
99
+
100
+ .last-sync {
101
+ color: var(--uui-color-text-alt);
102
+ font-style: italic;
103
+ font-size: var(--uui-size-5);
104
+ }
105
105
  `;
106
106
  __decorate([
107
107
  property({ type: Object })