@jumoo/usync 17.5.0 → 17.5.2-prerelease.15
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/LICENCE +372 -372
- package/README.md +10 -10
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +1 -1
- package/dist/api/sdk.gen.d.ts +2 -1
- package/dist/api/sdk.gen.js +7 -0
- package/dist/api/types.gen.d.ts +361 -0
- package/dist/api/types.gen.js +13 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +3 -0
- package/dist/components/usync-action-box.js +61 -61
- package/dist/components/usync-change-detail.js +409 -409
- package/dist/components/usync-change-view.js +49 -49
- package/dist/components/usync-content-preview.d.ts +27 -0
- package/dist/components/usync-content-preview.js +540 -0
- package/dist/components/usync-content-type-preview.d.ts +25 -0
- package/dist/components/usync-content-type-preview.js +548 -0
- package/dist/components/usync-data-type-preview.d.ts +21 -0
- package/dist/components/usync-data-type-preview.js +293 -0
- package/dist/components/usync-progress-box.js +106 -106
- package/dist/components/usync-result-row.js +61 -61
- package/dist/components/usync-results-group-view.js +55 -55
- package/dist/components/usync-results-view.js +76 -68
- package/dist/components/usync-sync-file-info-view.js +10 -10
- package/dist/dialogs/details-modal-element.d.ts +12 -1
- package/dist/dialogs/details-modal-element.js +172 -42
- package/dist/dialogs/details-modal-token.d.ts +10 -1
- package/dist/dialogs/error-modal-element.js +21 -21
- package/dist/dialogs/legacy-modal-element.js +22 -22
- package/dist/dialogs/single-import-modal.element.js +30 -30
- package/dist/icons/svg/logo.js +20 -20
- package/dist/lang/files/da-dk.d.ts +37 -0
- package/dist/lang/files/da-dk.js +49 -12
- package/dist/lang/files/de-de.d.ts +37 -0
- package/dist/lang/files/de-de.js +49 -12
- package/dist/lang/files/en-us.d.ts +37 -0
- package/dist/lang/files/en-us.js +49 -12
- package/dist/lang/files/es-es.d.ts +37 -0
- package/dist/lang/files/es-es.js +49 -12
- package/dist/lang/files/fr-fr.d.ts +37 -0
- package/dist/lang/files/fr-fr.js +49 -12
- package/dist/lang/files/nl-nl.d.ts +37 -0
- package/dist/lang/files/nl-nl.js +49 -12
- package/dist/repository/SyncAction.respositoy.d.ts +8 -0
- package/dist/repository/SyncAction.respositoy.js +6 -0
- package/dist/repository/sources/SyncAction.source.d.ts +5 -0
- package/dist/repository/sources/SyncAction.source.js +5 -0
- package/dist/tree/usync.menu-element.js +8 -8
- package/dist/utils/preview/content-type-diff.d.ts +18 -0
- package/dist/utils/preview/content-type-diff.js +72 -0
- package/dist/utils/preview/content-type-layout.d.ts +39 -0
- package/dist/utils/preview/content-type-layout.js +100 -0
- package/dist/workspace/components/usync-action-button.js +50 -50
- package/dist/workspace/components/usync-file-picker.element.js +33 -33
- package/dist/workspace/components/usync-file-upload.element.js +25 -25
- package/dist/workspace/dialogs/import-modal.element.js +22 -22
- package/dist/workspace/views/addons/addons.element.js +97 -97
- package/dist/workspace/views/default/default.element.js +186 -186
- package/dist/workspace/views/legacy/legacy.element.js +81 -81
- package/dist/workspace/views/settings/components/usyncSettingItem.element.js +38 -38
- package/dist/workspace/views/settings/settings.element.js +124 -124
- package/dist/workspace/workspace.element.js +16 -16
- 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
|
+
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { client, type CreateClientConfig } from './client.gen';
|
|
2
2
|
export { ActionsService, FoldersService, MigrationsService, type Options, SettingsService } from './sdk.gen';
|
|
3
|
-
export { ChangeDetailType, ChangeType, type CheckLegacyData, type CheckLegacyErrors, type CheckLegacyResponse, type CheckLegacyResponses, type ClientOptions, type CopyLegacyData, type CopyLegacyErrors, type CopyLegacyResponse, type CopyLegacyResponses, type DownloadData, type DownloadErrors, type DownloadResponse, type DownloadResponses, type GetActionsBySetData, type GetActionsBySetErrors, type GetActionsBySetResponse, type GetActionsBySetResponses, type GetActionsData, type GetActionsErrors, type GetActionsResponse, type GetActionsResponses, type GetAddOnsData, type GetAddOnsErrors, type GetAddonSplashData, type GetAddonSplashErrors, type GetAddonSplashResponse, type GetAddonSplashResponses, type GetAddOnsResponse, type GetAddOnsResponses, type GetHandlerSetSettingsData, type GetHandlerSetSettingsErrors, type GetHandlerSetSettingsResponse, type GetHandlerSetSettingsResponses, type GetSetsData, type GetSetsErrors, type GetSetsResponse, type GetSetsResponses, type GetSettingsData, type GetSettingsErrors, type GetSettingsResponse, type GetSettingsResponses, type GetSyncFileInfoData, type GetSyncFileInfoErrors, type GetSyncFileInfoResponse, type GetSyncFileInfoResponses, type HandlerSettings, HandlerStatus, type IgnoreLegacyData, type IgnoreLegacyErrors, type IgnoreLegacyResponse, type IgnoreLegacyResponses, type ImportSingleData, type ImportSingleErrors, type ImportSingleResponse, type ImportSingleResponses, type MergeExportFolderData, type MergeExportFolderErrors, type MergeExportFolderResponse, type MergeExportFolderResponses, type PerformActionData, type PerformActionErrors, type PerformActionRequest, type PerformActionResponse, type PerformActionResponse2, type PerformActionResponses, type ProcessUploadData, type ProcessUploadErrors, type ProcessUploadResponse, type ProcessUploadResponses, type RunningData, type RunningErrors, type RunningResponse, type RunningResponses, type StatusData, type StatusErrors, type StatusResponse, type StatusResponses, type SyncActionButton, type SyncActionGroup, type SyncFileVersionCheckResult, SyncFolderMode, type SyncHandlerSummary, type SyncLegacyCheckResponse, type SyncOperationStatusResponse, SyncProcessingMode, type SyncRunningOperationResponse, type SyncSelectableSet, type UploadImportResult, type USyncActionView, type USyncAddonInfo, type USyncAddonSplash, type USyncChange, type USyncHandlerSetSettings, type USyncOptions, type USyncSettings } from './types.gen';
|
|
3
|
+
export { ChangeDetailType, ChangeType, type CheckLegacyData, type CheckLegacyErrors, type CheckLegacyResponse, type CheckLegacyResponses, type ClientOptions, CompositionTypeModel, type CopyLegacyData, type CopyLegacyErrors, type CopyLegacyResponse, type CopyLegacyResponses, type DataTypePropertyPresentationModel, type DataTypeResponseModel, type DocumentResponseModel, type DocumentResponseModelWritable, type DocumentTypeCleanupModel, type DocumentTypeCompositionModel, type DocumentTypePropertyTypeContainerResponseModel, type DocumentTypePropertyTypeResponseModel, type DocumentTypeReferenceResponseModel, type DocumentTypeResponseModel, type DocumentTypeSortModel, type DocumentValueResponseModel, type DocumentVariantResponseModel, type DocumentVariantResponseModelWritable, DocumentVariantStateModel, type DownloadData, type DownloadErrors, type DownloadResponse, type DownloadResponses, type FlagModel, type GetActionsBySetData, type GetActionsBySetErrors, type GetActionsBySetResponse, type GetActionsBySetResponses, type GetActionsData, type GetActionsErrors, type GetActionsResponse, type GetActionsResponses, type GetAddOnsData, type GetAddOnsErrors, type GetAddonSplashData, type GetAddonSplashErrors, type GetAddonSplashResponse, type GetAddonSplashResponses, type GetAddOnsResponse, type GetAddOnsResponses, type GetHandlerSetSettingsData, type GetHandlerSetSettingsErrors, type GetHandlerSetSettingsResponse, type GetHandlerSetSettingsResponses, type GetPreviewData, type GetPreviewErrors, type GetPreviewResponse, type GetPreviewResponses, type GetSetsData, type GetSetsErrors, type GetSetsResponse, type GetSetsResponses, type GetSettingsData, type GetSettingsErrors, type GetSettingsResponse, type GetSettingsResponses, type GetSyncFileInfoData, type GetSyncFileInfoErrors, type GetSyncFileInfoResponse, type GetSyncFileInfoResponses, type HandlerSettings, HandlerStatus, type IgnoreLegacyData, type IgnoreLegacyErrors, type IgnoreLegacyResponse, type IgnoreLegacyResponses, type ImportSingleData, type ImportSingleErrors, type ImportSingleResponse, type ImportSingleResponses, type MediaResponseModel, type MediaTypeCompositionModel, type MediaTypePropertyTypeContainerResponseModel, type MediaTypePropertyTypeResponseModel, type MediaTypeReferenceResponseModel, type MediaTypeResponseModel, type MediaTypeSortModel, type MediaValueResponseModel, type MediaVariantResponseModel, type MemberTypeCompositionModel, type MemberTypePropertyTypeContainerResponseModel, type MemberTypePropertyTypeResponseModel, type MemberTypePropertyTypeVisibilityModel, type MemberTypeResponseModel, type MergeExportFolderData, type MergeExportFolderErrors, type MergeExportFolderResponse, type MergeExportFolderResponses, type PerformActionData, type PerformActionErrors, type PerformActionRequest, type PerformActionResponse, type PerformActionResponse2, type PerformActionResponses, type ProcessUploadData, type ProcessUploadErrors, type ProcessUploadResponse, type ProcessUploadResponses, type PropertyTypeAppearanceModel, type PropertyTypeValidationModel, type ReferenceByIdModel, type RunningData, type RunningErrors, type RunningResponse, type RunningResponses, type StatusData, type StatusErrors, type StatusResponse, type StatusResponses, type SyncActionButton, type SyncActionGroup, type SyncContentPreviewCulture, type SyncContentPreviewInfo, type SyncFileVersionCheckResult, SyncFolderMode, type SyncHandlerSummary, type SyncItemPreviewResponse, type SyncItemPreviewResponseWritable, type SyncLegacyCheckResponse, type SyncOperationStatusResponse, SyncProcessingMode, type SyncRunningOperationResponse, type SyncSelectableSet, type UploadImportResult, type USyncActionView, type USyncAddonInfo, type USyncAddonSplash, type USyncChange, type USyncHandlerSetSettings, type USyncOptions, type USyncSettings } from './types.gen';
|
package/dist/api/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
export { client } from './client.gen';
|
|
3
3
|
export { ActionsService, FoldersService, MigrationsService, SettingsService } from './sdk.gen';
|
|
4
|
-
export { ChangeDetailType, ChangeType, HandlerStatus, SyncFolderMode, SyncProcessingMode } from './types.gen';
|
|
4
|
+
export { ChangeDetailType, ChangeType, CompositionTypeModel, DocumentVariantStateModel, HandlerStatus, SyncFolderMode, SyncProcessingMode } from './types.gen';
|
package/dist/api/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client';
|
|
2
|
-
import type { CheckLegacyData, CheckLegacyErrors, CheckLegacyResponses, CopyLegacyData, CopyLegacyErrors, CopyLegacyResponses, DownloadData, DownloadErrors, DownloadResponses, GetActionsBySetData, GetActionsBySetErrors, GetActionsBySetResponses, GetActionsData, GetActionsErrors, GetActionsResponses, GetAddOnsData, GetAddOnsErrors, GetAddonSplashData, GetAddonSplashErrors, GetAddonSplashResponses, GetAddOnsResponses, GetHandlerSetSettingsData, GetHandlerSetSettingsErrors, GetHandlerSetSettingsResponses, GetSetsData, GetSetsErrors, GetSetsResponses, GetSettingsData, GetSettingsErrors, GetSettingsResponses, GetSyncFileInfoData, GetSyncFileInfoErrors, GetSyncFileInfoResponses, IgnoreLegacyData, IgnoreLegacyErrors, IgnoreLegacyResponses, ImportSingleData, ImportSingleErrors, ImportSingleResponses, MergeExportFolderData, MergeExportFolderErrors, MergeExportFolderResponses, PerformActionData, PerformActionErrors, PerformActionResponses, ProcessUploadData, ProcessUploadErrors, ProcessUploadResponses, RunningData, RunningErrors, RunningResponses, StatusData, StatusErrors, StatusResponses } from './types.gen';
|
|
2
|
+
import type { CheckLegacyData, CheckLegacyErrors, CheckLegacyResponses, CopyLegacyData, CopyLegacyErrors, CopyLegacyResponses, DownloadData, DownloadErrors, DownloadResponses, GetActionsBySetData, GetActionsBySetErrors, GetActionsBySetResponses, GetActionsData, GetActionsErrors, GetActionsResponses, GetAddOnsData, GetAddOnsErrors, GetAddonSplashData, GetAddonSplashErrors, GetAddonSplashResponses, GetAddOnsResponses, GetHandlerSetSettingsData, GetHandlerSetSettingsErrors, GetHandlerSetSettingsResponses, GetPreviewData, GetPreviewErrors, GetPreviewResponses, GetSetsData, GetSetsErrors, GetSetsResponses, GetSettingsData, GetSettingsErrors, GetSettingsResponses, GetSyncFileInfoData, GetSyncFileInfoErrors, GetSyncFileInfoResponses, IgnoreLegacyData, IgnoreLegacyErrors, IgnoreLegacyResponses, ImportSingleData, ImportSingleErrors, ImportSingleResponses, MergeExportFolderData, MergeExportFolderErrors, MergeExportFolderResponses, PerformActionData, PerformActionErrors, PerformActionResponses, ProcessUploadData, ProcessUploadErrors, ProcessUploadResponses, RunningData, RunningErrors, RunningResponses, StatusData, StatusErrors, StatusResponses } from './types.gen';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -23,6 +23,7 @@ export declare class ActionsService {
|
|
|
23
23
|
static getSyncFileInfo<ThrowOnError extends boolean = true>(options?: Options<GetSyncFileInfoData, ThrowOnError>): RequestResult<GetSyncFileInfoResponses, GetSyncFileInfoErrors, ThrowOnError>;
|
|
24
24
|
static importSingle<ThrowOnError extends boolean = true>(options?: Options<ImportSingleData, ThrowOnError>): RequestResult<ImportSingleResponses, ImportSingleErrors, ThrowOnError>;
|
|
25
25
|
static performAction<ThrowOnError extends boolean = true>(options?: Options<PerformActionData, ThrowOnError>): RequestResult<PerformActionResponses, PerformActionErrors, ThrowOnError>;
|
|
26
|
+
static getPreview<ThrowOnError extends boolean = true>(options?: Options<GetPreviewData, ThrowOnError>): RequestResult<GetPreviewResponses, GetPreviewErrors, ThrowOnError>;
|
|
26
27
|
static processUpload<ThrowOnError extends boolean = true>(options?: Options<ProcessUploadData, ThrowOnError>): RequestResult<ProcessUploadResponses, ProcessUploadErrors, ThrowOnError>;
|
|
27
28
|
static running<ThrowOnError extends boolean = true>(options?: Options<RunningData, ThrowOnError>): RequestResult<RunningResponses, RunningErrors, ThrowOnError>;
|
|
28
29
|
static status<ThrowOnError extends boolean = true>(options?: Options<StatusData, ThrowOnError>): RequestResult<StatusResponses, StatusErrors, ThrowOnError>;
|
package/dist/api/sdk.gen.js
CHANGED
|
@@ -54,6 +54,13 @@ export class ActionsService {
|
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
+
static getPreview(options) {
|
|
58
|
+
return (options?.client ?? client).get({
|
|
59
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
60
|
+
url: '/umbraco/usync/api/v1/Preview',
|
|
61
|
+
...options
|
|
62
|
+
});
|
|
63
|
+
}
|
|
57
64
|
static processUpload(options) {
|
|
58
65
|
return (options?.client ?? client).post({
|
|
59
66
|
security: [{ scheme: 'bearer', type: 'http' }],
|
package/dist/api/types.gen.d.ts
CHANGED
|
@@ -27,6 +27,119 @@ export declare enum ChangeType {
|
|
|
27
27
|
CLEAN = "Clean",
|
|
28
28
|
REMOVED = "Removed"
|
|
29
29
|
}
|
|
30
|
+
export declare enum CompositionTypeModel {
|
|
31
|
+
COMPOSITION = "Composition",
|
|
32
|
+
INHERITANCE = "Inheritance"
|
|
33
|
+
}
|
|
34
|
+
export type DataTypePropertyPresentationModel = {
|
|
35
|
+
alias: string;
|
|
36
|
+
value?: unknown;
|
|
37
|
+
};
|
|
38
|
+
export type DataTypeResponseModel = {
|
|
39
|
+
name: string;
|
|
40
|
+
editorAlias: string;
|
|
41
|
+
editorUiAlias: string;
|
|
42
|
+
values: Array<DataTypePropertyPresentationModel>;
|
|
43
|
+
id: string;
|
|
44
|
+
isDeletable: boolean;
|
|
45
|
+
canIgnoreStartNodes: boolean;
|
|
46
|
+
};
|
|
47
|
+
export type DocumentResponseModel = {
|
|
48
|
+
values: Array<DocumentValueResponseModel>;
|
|
49
|
+
variants: Array<DocumentVariantResponseModel>;
|
|
50
|
+
id: string;
|
|
51
|
+
flags: Array<FlagModel>;
|
|
52
|
+
documentType: DocumentTypeReferenceResponseModel;
|
|
53
|
+
template?: ReferenceByIdModel | null;
|
|
54
|
+
isTrashed: boolean;
|
|
55
|
+
};
|
|
56
|
+
export type DocumentTypeCleanupModel = {
|
|
57
|
+
preventCleanup: boolean;
|
|
58
|
+
keepAllVersionsNewerThanDays?: number | null;
|
|
59
|
+
keepLatestVersionPerDayForDays?: number | null;
|
|
60
|
+
};
|
|
61
|
+
export type DocumentTypeCompositionModel = {
|
|
62
|
+
documentType: ReferenceByIdModel;
|
|
63
|
+
compositionType: CompositionTypeModel;
|
|
64
|
+
};
|
|
65
|
+
export type DocumentTypePropertyTypeContainerResponseModel = {
|
|
66
|
+
id: string;
|
|
67
|
+
parent?: ReferenceByIdModel | null;
|
|
68
|
+
name?: string | null;
|
|
69
|
+
type: string;
|
|
70
|
+
sortOrder: number;
|
|
71
|
+
};
|
|
72
|
+
export type DocumentTypePropertyTypeResponseModel = {
|
|
73
|
+
id: string;
|
|
74
|
+
container?: ReferenceByIdModel | null;
|
|
75
|
+
sortOrder: number;
|
|
76
|
+
alias: string;
|
|
77
|
+
name: string;
|
|
78
|
+
description?: string | null;
|
|
79
|
+
dataType: ReferenceByIdModel;
|
|
80
|
+
variesByCulture: boolean;
|
|
81
|
+
variesBySegment: boolean;
|
|
82
|
+
validation: PropertyTypeValidationModel;
|
|
83
|
+
appearance: PropertyTypeAppearanceModel;
|
|
84
|
+
};
|
|
85
|
+
export type DocumentTypeReferenceResponseModel = {
|
|
86
|
+
id: string;
|
|
87
|
+
icon: string;
|
|
88
|
+
collection?: ReferenceByIdModel | null;
|
|
89
|
+
};
|
|
90
|
+
export type DocumentTypeResponseModel = {
|
|
91
|
+
alias: string;
|
|
92
|
+
name: string;
|
|
93
|
+
description?: string | null;
|
|
94
|
+
icon: string;
|
|
95
|
+
allowedAsRoot: boolean;
|
|
96
|
+
variesByCulture: boolean;
|
|
97
|
+
variesBySegment: boolean;
|
|
98
|
+
collection?: ReferenceByIdModel | null;
|
|
99
|
+
isElement: boolean;
|
|
100
|
+
properties: Array<DocumentTypePropertyTypeResponseModel>;
|
|
101
|
+
containers: Array<DocumentTypePropertyTypeContainerResponseModel>;
|
|
102
|
+
id: string;
|
|
103
|
+
allowedTemplates: Array<ReferenceByIdModel>;
|
|
104
|
+
defaultTemplate?: ReferenceByIdModel | null;
|
|
105
|
+
cleanup: DocumentTypeCleanupModel;
|
|
106
|
+
allowedDocumentTypes: Array<DocumentTypeSortModel>;
|
|
107
|
+
compositions: Array<DocumentTypeCompositionModel>;
|
|
108
|
+
};
|
|
109
|
+
export type DocumentTypeSortModel = {
|
|
110
|
+
documentType: ReferenceByIdModel;
|
|
111
|
+
sortOrder: number;
|
|
112
|
+
};
|
|
113
|
+
export type DocumentValueResponseModel = {
|
|
114
|
+
culture?: string | null;
|
|
115
|
+
segment?: string | null;
|
|
116
|
+
alias: string;
|
|
117
|
+
value?: unknown;
|
|
118
|
+
editorAlias: string;
|
|
119
|
+
};
|
|
120
|
+
export type DocumentVariantResponseModel = {
|
|
121
|
+
culture?: string | null;
|
|
122
|
+
segment?: string | null;
|
|
123
|
+
name: string;
|
|
124
|
+
createDate: string;
|
|
125
|
+
updateDate: string;
|
|
126
|
+
state: DocumentVariantStateModel;
|
|
127
|
+
publishDate?: string | null;
|
|
128
|
+
scheduledPublishDate?: string | null;
|
|
129
|
+
scheduledUnpublishDate?: string | null;
|
|
130
|
+
readonly id: string;
|
|
131
|
+
flags: Array<FlagModel>;
|
|
132
|
+
};
|
|
133
|
+
export declare enum DocumentVariantStateModel {
|
|
134
|
+
NOT_CREATED = "NotCreated",
|
|
135
|
+
DRAFT = "Draft",
|
|
136
|
+
PUBLISHED = "Published",
|
|
137
|
+
PUBLISHED_PENDING_CHANGES = "PublishedPendingChanges",
|
|
138
|
+
TRASHED = "Trashed"
|
|
139
|
+
}
|
|
140
|
+
export type FlagModel = {
|
|
141
|
+
alias: string;
|
|
142
|
+
};
|
|
30
143
|
export type HandlerSettings = {
|
|
31
144
|
enabled: boolean;
|
|
32
145
|
actions: Array<string>;
|
|
@@ -46,6 +159,124 @@ export declare enum HandlerStatus {
|
|
|
46
159
|
COMPLETE = "Complete",
|
|
47
160
|
ERROR = "Error"
|
|
48
161
|
}
|
|
162
|
+
export type MediaResponseModel = {
|
|
163
|
+
values: Array<MediaValueResponseModel>;
|
|
164
|
+
variants: Array<MediaVariantResponseModel>;
|
|
165
|
+
id: string;
|
|
166
|
+
flags: Array<FlagModel>;
|
|
167
|
+
isTrashed: boolean;
|
|
168
|
+
mediaType: MediaTypeReferenceResponseModel;
|
|
169
|
+
};
|
|
170
|
+
export type MediaTypeCompositionModel = {
|
|
171
|
+
mediaType: ReferenceByIdModel;
|
|
172
|
+
compositionType: CompositionTypeModel;
|
|
173
|
+
};
|
|
174
|
+
export type MediaTypePropertyTypeContainerResponseModel = {
|
|
175
|
+
id: string;
|
|
176
|
+
parent?: ReferenceByIdModel | null;
|
|
177
|
+
name?: string | null;
|
|
178
|
+
type: string;
|
|
179
|
+
sortOrder: number;
|
|
180
|
+
};
|
|
181
|
+
export type MediaTypePropertyTypeResponseModel = {
|
|
182
|
+
id: string;
|
|
183
|
+
container?: ReferenceByIdModel | null;
|
|
184
|
+
sortOrder: number;
|
|
185
|
+
alias: string;
|
|
186
|
+
name: string;
|
|
187
|
+
description?: string | null;
|
|
188
|
+
dataType: ReferenceByIdModel;
|
|
189
|
+
variesByCulture: boolean;
|
|
190
|
+
variesBySegment: boolean;
|
|
191
|
+
validation: PropertyTypeValidationModel;
|
|
192
|
+
appearance: PropertyTypeAppearanceModel;
|
|
193
|
+
};
|
|
194
|
+
export type MediaTypeReferenceResponseModel = {
|
|
195
|
+
id: string;
|
|
196
|
+
icon: string;
|
|
197
|
+
collection?: ReferenceByIdModel | null;
|
|
198
|
+
};
|
|
199
|
+
export type MediaTypeResponseModel = {
|
|
200
|
+
alias: string;
|
|
201
|
+
name: string;
|
|
202
|
+
description?: string | null;
|
|
203
|
+
icon: string;
|
|
204
|
+
allowedAsRoot: boolean;
|
|
205
|
+
variesByCulture: boolean;
|
|
206
|
+
variesBySegment: boolean;
|
|
207
|
+
collection?: ReferenceByIdModel | null;
|
|
208
|
+
isElement: boolean;
|
|
209
|
+
properties: Array<MediaTypePropertyTypeResponseModel>;
|
|
210
|
+
containers: Array<MediaTypePropertyTypeContainerResponseModel>;
|
|
211
|
+
id: string;
|
|
212
|
+
allowedMediaTypes: Array<MediaTypeSortModel>;
|
|
213
|
+
compositions: Array<MediaTypeCompositionModel>;
|
|
214
|
+
isDeletable: boolean;
|
|
215
|
+
aliasCanBeChanged: boolean;
|
|
216
|
+
};
|
|
217
|
+
export type MediaTypeSortModel = {
|
|
218
|
+
mediaType: ReferenceByIdModel;
|
|
219
|
+
sortOrder: number;
|
|
220
|
+
};
|
|
221
|
+
export type MediaValueResponseModel = {
|
|
222
|
+
culture?: string | null;
|
|
223
|
+
segment?: string | null;
|
|
224
|
+
alias: string;
|
|
225
|
+
value?: unknown;
|
|
226
|
+
editorAlias: string;
|
|
227
|
+
};
|
|
228
|
+
export type MediaVariantResponseModel = {
|
|
229
|
+
culture?: string | null;
|
|
230
|
+
segment?: string | null;
|
|
231
|
+
name: string;
|
|
232
|
+
createDate: string;
|
|
233
|
+
updateDate: string;
|
|
234
|
+
};
|
|
235
|
+
export type MemberTypeCompositionModel = {
|
|
236
|
+
memberType: ReferenceByIdModel;
|
|
237
|
+
compositionType: CompositionTypeModel;
|
|
238
|
+
};
|
|
239
|
+
export type MemberTypePropertyTypeContainerResponseModel = {
|
|
240
|
+
id: string;
|
|
241
|
+
parent?: ReferenceByIdModel | null;
|
|
242
|
+
name?: string | null;
|
|
243
|
+
type: string;
|
|
244
|
+
sortOrder: number;
|
|
245
|
+
};
|
|
246
|
+
export type MemberTypePropertyTypeResponseModel = {
|
|
247
|
+
id: string;
|
|
248
|
+
container?: ReferenceByIdModel | null;
|
|
249
|
+
sortOrder: number;
|
|
250
|
+
alias: string;
|
|
251
|
+
name: string;
|
|
252
|
+
description?: string | null;
|
|
253
|
+
dataType: ReferenceByIdModel;
|
|
254
|
+
variesByCulture: boolean;
|
|
255
|
+
variesBySegment: boolean;
|
|
256
|
+
validation: PropertyTypeValidationModel;
|
|
257
|
+
appearance: PropertyTypeAppearanceModel;
|
|
258
|
+
isSensitive: boolean;
|
|
259
|
+
visibility: MemberTypePropertyTypeVisibilityModel;
|
|
260
|
+
};
|
|
261
|
+
export type MemberTypePropertyTypeVisibilityModel = {
|
|
262
|
+
memberCanView: boolean;
|
|
263
|
+
memberCanEdit: boolean;
|
|
264
|
+
};
|
|
265
|
+
export type MemberTypeResponseModel = {
|
|
266
|
+
alias: string;
|
|
267
|
+
name: string;
|
|
268
|
+
description?: string | null;
|
|
269
|
+
icon: string;
|
|
270
|
+
allowedAsRoot: boolean;
|
|
271
|
+
variesByCulture: boolean;
|
|
272
|
+
variesBySegment: boolean;
|
|
273
|
+
collection?: ReferenceByIdModel | null;
|
|
274
|
+
isElement: boolean;
|
|
275
|
+
properties: Array<MemberTypePropertyTypeResponseModel>;
|
|
276
|
+
containers: Array<MemberTypePropertyTypeContainerResponseModel>;
|
|
277
|
+
id: string;
|
|
278
|
+
compositions: Array<MemberTypeCompositionModel>;
|
|
279
|
+
};
|
|
49
280
|
export type PerformActionRequest = {
|
|
50
281
|
requestId: string;
|
|
51
282
|
action: string;
|
|
@@ -62,6 +293,18 @@ export type PerformActionResponse = {
|
|
|
62
293
|
operationId?: string | null;
|
|
63
294
|
message?: string | null;
|
|
64
295
|
};
|
|
296
|
+
export type PropertyTypeAppearanceModel = {
|
|
297
|
+
labelOnTop: boolean;
|
|
298
|
+
};
|
|
299
|
+
export type PropertyTypeValidationModel = {
|
|
300
|
+
mandatory: boolean;
|
|
301
|
+
mandatoryMessage?: string | null;
|
|
302
|
+
regEx?: string | null;
|
|
303
|
+
regExMessage?: string | null;
|
|
304
|
+
};
|
|
305
|
+
export type ReferenceByIdModel = {
|
|
306
|
+
id: string;
|
|
307
|
+
};
|
|
65
308
|
export type SyncActionButton = {
|
|
66
309
|
key: string;
|
|
67
310
|
label: string;
|
|
@@ -79,6 +322,17 @@ export type SyncActionGroup = {
|
|
|
79
322
|
buttons: Array<SyncActionButton>;
|
|
80
323
|
lastSync?: string | null;
|
|
81
324
|
};
|
|
325
|
+
export type SyncContentPreviewCulture = {
|
|
326
|
+
culture: string;
|
|
327
|
+
published: boolean;
|
|
328
|
+
};
|
|
329
|
+
export type SyncContentPreviewInfo = {
|
|
330
|
+
parent?: string | null;
|
|
331
|
+
sortOrder: number;
|
|
332
|
+
trashed: boolean;
|
|
333
|
+
template?: string | null;
|
|
334
|
+
published: Array<SyncContentPreviewCulture>;
|
|
335
|
+
};
|
|
82
336
|
export type SyncFileVersionCheckResult = {
|
|
83
337
|
isCurrent: boolean;
|
|
84
338
|
formatVersion?: string | null;
|
|
@@ -96,6 +350,36 @@ export type SyncHandlerSummary = {
|
|
|
96
350
|
changes: number;
|
|
97
351
|
inError: boolean;
|
|
98
352
|
};
|
|
353
|
+
export type SyncItemPreviewResponse = {
|
|
354
|
+
key: string;
|
|
355
|
+
handler: string;
|
|
356
|
+
itemType: string;
|
|
357
|
+
entityType: string;
|
|
358
|
+
isDelete: boolean;
|
|
359
|
+
success: boolean;
|
|
360
|
+
message?: string | null;
|
|
361
|
+
currentDataType?: DataTypeResponseModel | null;
|
|
362
|
+
incomingDataType?: DataTypeResponseModel | null;
|
|
363
|
+
currentDocumentType?: DocumentTypeResponseModel | null;
|
|
364
|
+
incomingDocumentType?: DocumentTypeResponseModel | null;
|
|
365
|
+
currentMediaType?: MediaTypeResponseModel | null;
|
|
366
|
+
incomingMediaType?: MediaTypeResponseModel | null;
|
|
367
|
+
currentMemberType?: MemberTypeResponseModel | null;
|
|
368
|
+
incomingMemberType?: MemberTypeResponseModel | null;
|
|
369
|
+
currentDocument?: DocumentResponseModel | null;
|
|
370
|
+
incomingDocument?: DocumentResponseModel | null;
|
|
371
|
+
currentMedia?: MediaResponseModel | null;
|
|
372
|
+
incomingMedia?: MediaResponseModel | null;
|
|
373
|
+
currentInfo?: SyncContentPreviewInfo | null;
|
|
374
|
+
incomingInfo?: SyncContentPreviewInfo | null;
|
|
375
|
+
compositionDocumentTypes: Array<DocumentTypeResponseModel>;
|
|
376
|
+
compositionMediaTypes: Array<MediaTypeResponseModel>;
|
|
377
|
+
compositionMemberTypes: Array<MemberTypeResponseModel>;
|
|
378
|
+
dataTypes: Array<DataTypeResponseModel>;
|
|
379
|
+
newDataTypes: Array<string>;
|
|
380
|
+
newCompositions: Array<string>;
|
|
381
|
+
details: Array<USyncChange>;
|
|
382
|
+
};
|
|
99
383
|
export type SyncLegacyCheckResponse = {
|
|
100
384
|
hasLegacy: boolean;
|
|
101
385
|
legacyFolder?: string | null;
|
|
@@ -215,6 +499,57 @@ export type USyncSettings = {
|
|
|
215
499
|
additionalBadNames: Array<string>;
|
|
216
500
|
includeWindowsReservedNames: boolean;
|
|
217
501
|
};
|
|
502
|
+
export type DocumentResponseModelWritable = {
|
|
503
|
+
values: Array<DocumentValueResponseModel>;
|
|
504
|
+
variants: Array<DocumentVariantResponseModelWritable>;
|
|
505
|
+
id: string;
|
|
506
|
+
flags: Array<FlagModel>;
|
|
507
|
+
documentType: DocumentTypeReferenceResponseModel;
|
|
508
|
+
template?: ReferenceByIdModel | null;
|
|
509
|
+
isTrashed: boolean;
|
|
510
|
+
};
|
|
511
|
+
export type DocumentVariantResponseModelWritable = {
|
|
512
|
+
culture?: string | null;
|
|
513
|
+
segment?: string | null;
|
|
514
|
+
name: string;
|
|
515
|
+
createDate: string;
|
|
516
|
+
updateDate: string;
|
|
517
|
+
state: DocumentVariantStateModel;
|
|
518
|
+
publishDate?: string | null;
|
|
519
|
+
scheduledPublishDate?: string | null;
|
|
520
|
+
scheduledUnpublishDate?: string | null;
|
|
521
|
+
flags: Array<FlagModel>;
|
|
522
|
+
};
|
|
523
|
+
export type SyncItemPreviewResponseWritable = {
|
|
524
|
+
key: string;
|
|
525
|
+
handler: string;
|
|
526
|
+
itemType: string;
|
|
527
|
+
entityType: string;
|
|
528
|
+
isDelete: boolean;
|
|
529
|
+
success: boolean;
|
|
530
|
+
message?: string | null;
|
|
531
|
+
currentDataType?: DataTypeResponseModel | null;
|
|
532
|
+
incomingDataType?: DataTypeResponseModel | null;
|
|
533
|
+
currentDocumentType?: DocumentTypeResponseModel | null;
|
|
534
|
+
incomingDocumentType?: DocumentTypeResponseModel | null;
|
|
535
|
+
currentMediaType?: MediaTypeResponseModel | null;
|
|
536
|
+
incomingMediaType?: MediaTypeResponseModel | null;
|
|
537
|
+
currentMemberType?: MemberTypeResponseModel | null;
|
|
538
|
+
incomingMemberType?: MemberTypeResponseModel | null;
|
|
539
|
+
currentDocument?: DocumentResponseModelWritable | null;
|
|
540
|
+
incomingDocument?: DocumentResponseModelWritable | null;
|
|
541
|
+
currentMedia?: MediaResponseModel | null;
|
|
542
|
+
incomingMedia?: MediaResponseModel | null;
|
|
543
|
+
currentInfo?: SyncContentPreviewInfo | null;
|
|
544
|
+
incomingInfo?: SyncContentPreviewInfo | null;
|
|
545
|
+
compositionDocumentTypes: Array<DocumentTypeResponseModel>;
|
|
546
|
+
compositionMediaTypes: Array<MediaTypeResponseModel>;
|
|
547
|
+
compositionMemberTypes: Array<MemberTypeResponseModel>;
|
|
548
|
+
dataTypes: Array<DataTypeResponseModel>;
|
|
549
|
+
newDataTypes: Array<string>;
|
|
550
|
+
newCompositions: Array<string>;
|
|
551
|
+
details: Array<USyncChange>;
|
|
552
|
+
};
|
|
218
553
|
export type GetActionsData = {
|
|
219
554
|
body?: never;
|
|
220
555
|
path?: never;
|
|
@@ -331,6 +666,32 @@ export type PerformActionResponses = {
|
|
|
331
666
|
200: PerformActionResponse;
|
|
332
667
|
};
|
|
333
668
|
export type PerformActionResponse2 = PerformActionResponses[keyof PerformActionResponses];
|
|
669
|
+
export type GetPreviewData = {
|
|
670
|
+
body?: never;
|
|
671
|
+
path?: never;
|
|
672
|
+
query?: {
|
|
673
|
+
handler?: string;
|
|
674
|
+
key?: string;
|
|
675
|
+
};
|
|
676
|
+
url: '/umbraco/usync/api/v1/Preview';
|
|
677
|
+
};
|
|
678
|
+
export type GetPreviewErrors = {
|
|
679
|
+
/**
|
|
680
|
+
* The resource is protected and requires an authentication token
|
|
681
|
+
*/
|
|
682
|
+
401: unknown;
|
|
683
|
+
/**
|
|
684
|
+
* Not Found
|
|
685
|
+
*/
|
|
686
|
+
404: unknown;
|
|
687
|
+
};
|
|
688
|
+
export type GetPreviewResponses = {
|
|
689
|
+
/**
|
|
690
|
+
* OK
|
|
691
|
+
*/
|
|
692
|
+
200: SyncItemPreviewResponse;
|
|
693
|
+
};
|
|
694
|
+
export type GetPreviewResponse = GetPreviewResponses[keyof GetPreviewResponses];
|
|
334
695
|
export type ProcessUploadData = {
|
|
335
696
|
body?: never;
|
|
336
697
|
path?: never;
|
package/dist/api/types.gen.js
CHANGED
|
@@ -27,6 +27,19 @@ export var ChangeType;
|
|
|
27
27
|
ChangeType["CLEAN"] = "Clean";
|
|
28
28
|
ChangeType["REMOVED"] = "Removed";
|
|
29
29
|
})(ChangeType || (ChangeType = {}));
|
|
30
|
+
export var CompositionTypeModel;
|
|
31
|
+
(function (CompositionTypeModel) {
|
|
32
|
+
CompositionTypeModel["COMPOSITION"] = "Composition";
|
|
33
|
+
CompositionTypeModel["INHERITANCE"] = "Inheritance";
|
|
34
|
+
})(CompositionTypeModel || (CompositionTypeModel = {}));
|
|
35
|
+
export var DocumentVariantStateModel;
|
|
36
|
+
(function (DocumentVariantStateModel) {
|
|
37
|
+
DocumentVariantStateModel["NOT_CREATED"] = "NotCreated";
|
|
38
|
+
DocumentVariantStateModel["DRAFT"] = "Draft";
|
|
39
|
+
DocumentVariantStateModel["PUBLISHED"] = "Published";
|
|
40
|
+
DocumentVariantStateModel["PUBLISHED_PENDING_CHANGES"] = "PublishedPendingChanges";
|
|
41
|
+
DocumentVariantStateModel["TRASHED"] = "Trashed";
|
|
42
|
+
})(DocumentVariantStateModel || (DocumentVariantStateModel = {}));
|
|
30
43
|
export var HandlerStatus;
|
|
31
44
|
(function (HandlerStatus) {
|
|
32
45
|
HandlerStatus["PENDING"] = "Pending";
|
|
@@ -6,3 +6,6 @@ export * from './usync-change-detail.js';
|
|
|
6
6
|
export * from './usync-results-group-view.js';
|
|
7
7
|
export * from './usync-result-row.js';
|
|
8
8
|
export * from './usync-sync-file-info-view.js';
|
|
9
|
+
export * from './usync-data-type-preview.js';
|
|
10
|
+
export * from './usync-content-type-preview.js';
|
|
11
|
+
export * from './usync-content-preview.js';
|
package/dist/components/index.js
CHANGED
|
@@ -7,3 +7,6 @@ export * from './usync-change-detail.js';
|
|
|
7
7
|
export * from './usync-results-group-view.js';
|
|
8
8
|
export * from './usync-result-row.js';
|
|
9
9
|
export * from './usync-sync-file-info-view.js';
|
|
10
|
+
export * from './usync-data-type-preview.js';
|
|
11
|
+
export * from './usync-content-type-preview.js';
|
|
12
|
+
export * from './usync-content-preview.js';
|
|
@@ -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 })
|