@jumoo/usync-expansions 0.0.0-stage → 18.3.0
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.d.ts +2 -0
- package/dist/api/client/client.gen.js +216 -0
- package/dist/api/client/index.d.ts +10 -0
- package/dist/api/client/index.js +6 -0
- package/dist/api/client/types.gen.d.ts +120 -0
- package/dist/api/client/types.gen.js +2 -0
- package/dist/api/client/utils.gen.d.ts +37 -0
- package/dist/api/client/utils.gen.js +230 -0
- package/dist/api/client.gen.d.ts +12 -0
- package/dist/api/client.gen.js +3 -0
- package/dist/api/core/auth.gen.d.ts +25 -0
- package/dist/api/core/auth.gen.js +14 -0
- package/dist/api/core/bodySerializer.gen.d.ts +25 -0
- package/dist/api/core/bodySerializer.gen.js +57 -0
- package/dist/api/core/params.gen.d.ts +43 -0
- package/dist/api/core/params.gen.js +109 -0
- package/dist/api/core/pathSerializer.gen.d.ts +33 -0
- package/dist/api/core/pathSerializer.gen.js +106 -0
- package/dist/api/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/api/core/queryKeySerializer.gen.js +92 -0
- package/dist/api/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/api/core/serverSentEvents.gen.js +132 -0
- package/dist/api/core/types.gen.d.ts +83 -0
- package/dist/api/core/types.gen.js +2 -0
- package/dist/api/core/utils.gen.d.ts +19 -0
- package/dist/api/core/utils.gen.js +87 -0
- package/dist/api/index.d.ts +2 -0
- package/dist/api/index.js +3 -0
- package/dist/api/sdk.gen.d.ts +37 -0
- package/dist/api/sdk.gen.js +112 -0
- package/dist/api/types.gen.d.ts +520 -0
- package/dist/api/types.gen.js +74 -0
- package/dist/background/background-cancel.controller.d.ts +16 -0
- package/dist/background/background-cancel.controller.js +83 -0
- package/dist/background/background-pipeline.repository.d.ts +23 -0
- package/dist/background/background-pipeline.repository.js +33 -0
- package/dist/background/components/constants.d.ts +5 -0
- package/dist/background/components/constants.js +5 -0
- package/dist/background/components/index.d.ts +5 -0
- package/dist/background/components/index.js +5 -0
- package/dist/background/components/pending-list.element.d.ts +18 -0
- package/dist/background/components/pending-list.element.js +69 -0
- package/dist/background/components/pipelines-table.element.d.ts +15 -0
- package/dist/background/components/pipelines-table.element.js +60 -0
- package/dist/background/components/process-list.element.d.ts +10 -0
- package/dist/background/components/process-list.element.js +69 -0
- package/dist/background/components/queue-table.element.d.ts +15 -0
- package/dist/background/components/queue-table.element.js +50 -0
- package/dist/background/index.d.ts +1 -0
- package/dist/background/index.js +1 -0
- package/dist/background/manifest.d.ts +1 -0
- package/dist/background/manifest.js +24 -0
- package/dist/background/workspace/background-workspace-element.d.ts +11 -0
- package/dist/background/workspace/background-workspace-element.js +74 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/report-summary-view.d.ts +23 -0
- package/dist/components/report-summary-view.js +199 -0
- package/dist/components/usync-property-layout.d.ts +17 -0
- package/dist/components/usync-property-layout.js +159 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +27 -0
- package/dist/items/index.d.ts +2 -0
- package/dist/items/index.js +2 -0
- package/dist/items/manifests.d.ts +1 -0
- package/dist/items/manifests.js +7 -0
- package/dist/items/sync-item.context.d.ts +10 -0
- package/dist/items/sync-item.context.js +29 -0
- package/dist/items/sync-item.repository.d.ts +22 -0
- package/dist/items/sync-item.repository.js +37 -0
- package/dist/lang/en.d.ts +30 -0
- package/dist/lang/en.js +29 -0
- package/dist/lang/manifest.d.ts +1 -0
- package/dist/lang/manifest.js +11 -0
- package/dist/licence/components/index.d.ts +2 -0
- package/dist/licence/components/index.js +2 -0
- package/dist/licence/components/licence-notice.d.ts +10 -0
- package/dist/licence/components/licence-notice.js +55 -0
- package/dist/licence/components/licence-status.view.d.ts +14 -0
- package/dist/licence/components/licence-status.view.js +50 -0
- package/dist/licence/components/styles.d.ts +1 -0
- package/dist/licence/components/styles.js +41 -0
- package/dist/licence/lang/en.d.ts +17 -0
- package/dist/licence/lang/en.js +17 -0
- package/dist/licence/lang/manifests.d.ts +1 -0
- package/dist/licence/lang/manifests.js +13 -0
- package/dist/licence/licence.context.d.ts +17 -0
- package/dist/licence/licence.context.js +66 -0
- package/dist/licence/licence.element.d.ts +19 -0
- package/dist/licence/licence.element.js +270 -0
- package/dist/licence/licence.repository.d.ts +15 -0
- package/dist/licence/licence.repository.js +42 -0
- package/dist/licence/manifest.d.ts +1 -0
- package/dist/licence/manifest.js +30 -0
- package/dist/licence/source/licence.source.d.ts +15 -0
- package/dist/licence/source/licence.source.js +39 -0
- package/dist/menu/manifest.d.ts +1 -0
- package/dist/menu/manifest.js +12 -0
- package/dist/restore/components/index.d.ts +1 -0
- package/dist/restore/components/index.js +1 -0
- package/dist/restore/components/restore-point-table.element.d.ts +21 -0
- package/dist/restore/components/restore-point-table.element.js +126 -0
- package/dist/restore/constants.d.ts +23 -0
- package/dist/restore/constants.js +30 -0
- package/dist/restore/index.d.ts +1 -0
- package/dist/restore/index.js +8 -0
- package/dist/restore/lang/en.d.ts +23 -0
- package/dist/restore/lang/en.js +33 -0
- package/dist/restore/lang/manifest.d.ts +1 -0
- package/dist/restore/lang/manifest.js +11 -0
- package/dist/restore/manifest.d.ts +1 -0
- package/dist/restore/manifest.js +63 -0
- package/dist/restore/restore.context.d.ts +10 -0
- package/dist/restore/restore.context.js +29 -0
- package/dist/restore/restore.repository.d.ts +15 -0
- package/dist/restore/restore.repository.js +43 -0
- package/dist/restore/steps/manifest.d.ts +1 -0
- package/dist/restore/steps/manifest.js +36 -0
- package/dist/restore/steps/restore-create-complete.d.ts +6 -0
- package/dist/restore/steps/restore-create-complete.js +33 -0
- package/dist/restore/steps/restore-create-element.d.ts +9 -0
- package/dist/restore/steps/restore-create-element.js +97 -0
- package/dist/restore/steps/restore-report-config-element.d.ts +14 -0
- package/dist/restore/steps/restore-report-config-element.js +105 -0
- package/dist/restore/steps/restore-report-element.d.ts +6 -0
- package/dist/restore/steps/restore-report-element.js +39 -0
- package/dist/restore/workspace/restore.workspace-view.element.d.ts +24 -0
- package/dist/restore/workspace/restore.workspace-view.element.js +198 -0
- package/dist/restore/workspace/restore.workspace.context.d.ts +17 -0
- package/dist/restore/workspace/restore.workspace.context.js +52 -0
- package/dist/restore/workspace/restore.workspace.element.d.ts +12 -0
- package/dist/restore/workspace/restore.workspace.element.js +91 -0
- package/package.json +52 -6
- package/README.md +0 -3
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
8
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
9
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
10
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
11
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
12
|
+
};
|
|
13
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
14
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
15
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
16
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
17
|
+
};
|
|
18
|
+
var _uSyncReatoreWorkspaceElement_instances, _uSyncReatoreWorkspaceElement_context, _uSyncReatoreWorkspaceElement_onScanRestorePoints;
|
|
19
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
20
|
+
import SyncRestoreWorkspaceContext from './restore.workspace.context';
|
|
21
|
+
import { css, customElement, html } from '@umbraco-cms/backoffice/external/lit';
|
|
22
|
+
import { UMB_CONFIRM_MODAL, UMB_MODAL_MANAGER_CONTEXT, } from '@umbraco-cms/backoffice/modal';
|
|
23
|
+
/**
|
|
24
|
+
* the restore points workspace, the body is the
|
|
25
|
+
* usync-restore-workspace-view workspace view.
|
|
26
|
+
*/
|
|
27
|
+
let uSyncReatoreWorkspaceElement = class uSyncReatoreWorkspaceElement extends UmbLitElement {
|
|
28
|
+
constructor() {
|
|
29
|
+
super();
|
|
30
|
+
_uSyncReatoreWorkspaceElement_instances.add(this);
|
|
31
|
+
_uSyncReatoreWorkspaceElement_context.set(this, void 0);
|
|
32
|
+
__classPrivateFieldSet(this, _uSyncReatoreWorkspaceElement_context, new SyncRestoreWorkspaceContext(this), "f");
|
|
33
|
+
}
|
|
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>
|
|
52
|
+
`;
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
_uSyncReatoreWorkspaceElement_context = new WeakMap();
|
|
56
|
+
_uSyncReatoreWorkspaceElement_instances = new WeakSet();
|
|
57
|
+
_uSyncReatoreWorkspaceElement_onScanRestorePoints = async function _uSyncReatoreWorkspaceElement_onScanRestorePoints() {
|
|
58
|
+
const modalManager = await this.getContext(UMB_MODAL_MANAGER_CONTEXT);
|
|
59
|
+
if (!modalManager)
|
|
60
|
+
return;
|
|
61
|
+
const confirmModal = modalManager.open(this, UMB_CONFIRM_MODAL, {
|
|
62
|
+
data: {
|
|
63
|
+
headline: 'Scan for restore points?',
|
|
64
|
+
content: 'Do you want to scan for new and removed restore points?',
|
|
65
|
+
confirmLabel: 'Scan',
|
|
66
|
+
color: 'positive',
|
|
67
|
+
},
|
|
68
|
+
});
|
|
69
|
+
confirmModal
|
|
70
|
+
.onSubmit()
|
|
71
|
+
.then(async () => {
|
|
72
|
+
__classPrivateFieldGet(this, _uSyncReatoreWorkspaceElement_context, "f").scan();
|
|
73
|
+
})
|
|
74
|
+
.catch(() => {
|
|
75
|
+
// console.log('cancel');
|
|
76
|
+
});
|
|
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
|
+
}
|
|
86
|
+
`;
|
|
87
|
+
uSyncReatoreWorkspaceElement = __decorate([
|
|
88
|
+
customElement('usync-restore-workspace-element')
|
|
89
|
+
], uSyncReatoreWorkspaceElement);
|
|
90
|
+
export { uSyncReatoreWorkspaceElement };
|
|
91
|
+
export default uSyncReatoreWorkspaceElement;
|
package/package.json
CHANGED
|
@@ -1,6 +1,52 @@
|
|
|
1
|
-
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@jumoo/usync-expansions",
|
|
3
|
+
"license": "Custom",
|
|
4
|
+
"version": "18.3.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"description": "uSync.Expansions.Assets",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"exports": {
|
|
11
|
+
".": "./dist/index.js",
|
|
12
|
+
"./items": "./dist/items/index.js",
|
|
13
|
+
"./licence": "./dist/licence/index.js",
|
|
14
|
+
"./pipeline": "./dist/pipeline/index.js",
|
|
15
|
+
"./communications": "./dist/communications/index.js",
|
|
16
|
+
"./signalr": "./dist/signalr/index.js"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"./dist/**/*"
|
|
20
|
+
],
|
|
21
|
+
"author": {
|
|
22
|
+
"name": "Jumoo Ltd",
|
|
23
|
+
"email": "info@jumoo.co.uk",
|
|
24
|
+
"url": "https://jumoo.co.uk"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"client:build": "tsc --project ./tsconfig.dist.json",
|
|
28
|
+
"client:pack": "npm pack --pack-destination ./pack",
|
|
29
|
+
"client:publish": "npm publish -tag next",
|
|
30
|
+
"client:make": "npm run client:build && npm run client:pack && npm run client:publish",
|
|
31
|
+
"client:link": "npm link",
|
|
32
|
+
"format:fix": "npm run format -- --write",
|
|
33
|
+
"format": "prettier \"src/**/*.ts\" --check",
|
|
34
|
+
"build": "tsc && vite build",
|
|
35
|
+
"watch": "vite build --watch",
|
|
36
|
+
"make": "npm run build && npm run client:make",
|
|
37
|
+
"generate-client": "node scripts/generate-openapi.js https://localhost:44385/umbraco/openapi/usynccomplete.json"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@hey-api/openapi-ts": "^0.99.0",
|
|
41
|
+
"@jumoo/processing": "https://registry.npmjs.org/@jumoo/processing/-/processing-18.3.0.tgz",
|
|
42
|
+
"@jumoo/usync": "^18.0.0",
|
|
43
|
+
"@umbraco-cms/backoffice": "^18.0.0",
|
|
44
|
+
"chalk": "^6.0.0",
|
|
45
|
+
"cross-env": "^10.1.0",
|
|
46
|
+
"node-fetch": "^3.3.2",
|
|
47
|
+
"prettier": "^3.8.2",
|
|
48
|
+
"rm-rs": "^0.2.3",
|
|
49
|
+
"typescript": "^6.0.3",
|
|
50
|
+
"vite": "^8.0.8"
|
|
51
|
+
}
|
|
52
|
+
}
|
package/README.md
DELETED