@opencloud-eu/web-pkg 5.0.0 → 6.0.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/{TextEditor-CJgYG8Kl.js → TextEditor-D-HQDUkm.js} +3 -5
- package/dist/assets/worker-CVwKToFD.js +21 -0
- package/dist/assets/worker-DJbU-qfq.js +21 -0
- package/dist/assets/worker-DyU7W9CZ.js +21 -0
- package/dist/index-OU30YA6H.js +25032 -0
- package/dist/src/apps/types.d.ts +0 -3
- package/dist/src/components/AppBar/AppBar.vue.d.ts +2 -9
- package/dist/src/components/AppBar/index.d.ts +0 -1
- package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +1 -1
- package/dist/src/components/AppTopBar.vue.d.ts +1 -1
- package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +409 -11
- package/dist/src/components/CreateShortcutModal.vue.d.ts +222 -0
- package/dist/src/components/CustomComponentTarget.vue.d.ts +4 -14
- package/dist/src/components/FilesList/ResourceStatusIndicators.vue.d.ts +1 -1
- package/dist/src/components/FilesList/ResourceTable.vue.d.ts +0 -1
- package/dist/src/components/Filters/DateFilter.vue.d.ts +500 -0
- package/dist/src/components/Navigation/MobileNav.vue.d.ts +2 -0
- package/dist/src/components/Navigation/index.d.ts +1 -0
- package/dist/src/components/NoContentMessage.vue.d.ts +3 -2
- package/dist/src/components/SideBar/FileSideBar.vue.d.ts +4 -13
- package/dist/src/components/SideBar/SideBar.vue.d.ts +3 -9
- package/dist/src/components/SideBar/SideBarPanels.vue.d.ts +38 -0
- package/dist/src/components/SideBar/index.d.ts +1 -0
- package/dist/src/components/index.d.ts +1 -1
- package/dist/src/composables/actions/files/index.d.ts +1 -0
- package/dist/src/composables/actions/files/useFileActionFallbackToDownload.d.ts +4 -0
- package/dist/src/composables/actions/spaces/index.d.ts +1 -0
- package/dist/src/composables/actions/spaces/useSpaceActionsCreate.d.ts +7 -0
- package/dist/src/composables/folderLink/useFolderLink.d.ts +1 -1
- package/dist/src/composables/index.d.ts +1 -2
- package/dist/src/composables/navItems/index.d.ts +1 -0
- package/dist/src/composables/navItems/useNavItems.d.ts +13 -0
- package/dist/src/composables/piniaStores/auth.d.ts +8 -2
- package/dist/src/composables/piniaStores/avatars.d.ts +1 -1
- package/dist/src/composables/piniaStores/extensionRegistry/types.d.ts +14 -1
- package/dist/src/composables/piniaStores/index.d.ts +4 -3
- package/dist/src/composables/piniaStores/sideBar.d.ts +32 -0
- package/dist/src/composables/piniaStores/user.d.ts +1 -1
- package/dist/src/composables/resources/index.d.ts +1 -0
- package/dist/src/composables/resources/useResourceIndicators.d.ts +19 -0
- package/dist/src/composables/resources/useResourceViewContextMenu.d.ts +4 -3
- package/dist/src/composables/resources/useResourceViewHelpers.d.ts +2 -2
- package/dist/src/composables/spaces/useCreateSpace.d.ts +1 -0
- package/dist/src/constants.d.ts +0 -6
- package/dist/src/extensionPoints.d.ts +3 -0
- package/dist/src/helpers/filesize.d.ts +0 -7
- package/dist/src/helpers/index.d.ts +1 -2
- package/dist/src/helpers/versions.d.ts +5 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/web-pkg.js +301 -300
- package/dist/web-pkg.umd.cjs +14 -66
- package/package.json +5 -7
- package/src/index.ts +1 -0
- package/dist/assets/worker-Bc2UmjVr.js +0 -40
- package/dist/assets/worker-BeDmEhWu.js +0 -40
- package/dist/assets/worker-DWoO7i6z.js +0 -40
- package/dist/index-D-EuklHo.js +0 -33782
- package/dist/src/components/AppBar/CreateSpace.vue.d.ts +0 -18
- package/dist/src/components/PortalTarget.vue.d.ts +0 -41
- package/dist/src/components/TextEditor/TextEditor.vue.d.ts +0 -165
- package/dist/src/components/TextEditor/index.d.ts +0 -161
- package/dist/src/composables/portalTarget/eventTopics.d.ts +0 -3
- package/dist/src/composables/portalTarget/index.d.ts +0 -2
- package/dist/src/composables/portalTarget/usePortalTarget.d.ts +0 -4
- package/dist/src/composables/sideBar/eventTopics.d.ts +0 -7
- package/dist/src/composables/sideBar/index.d.ts +0 -2
- package/dist/src/composables/sideBar/useSideBar.d.ts +0 -12
- package/dist/src/helpers/contextMenuDropdown.d.ts +0 -7
- package/dist/src/helpers/statusIndicators.d.ts +0 -23
- package/dist/src/services/passwordPolicy/rules.d.ts +0 -69
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import { ComponentPublicInstance, nextTick, PropType, Ref } from 'vue';
|
|
2
|
+
import { SpaceResource } from '@opencloud-eu/web-client';
|
|
3
|
+
import { Modal } from '../composables';
|
|
4
|
+
import { SearchResult, SearchResultValue } from './Search';
|
|
5
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
modal: {
|
|
7
|
+
type: PropType<Modal>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
space: {
|
|
11
|
+
type: PropType<SpaceResource>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}>, {
|
|
15
|
+
inputUrl: Ref<string, string>;
|
|
16
|
+
inputFilename: Ref<string, string>;
|
|
17
|
+
dropRef: Readonly<import('vue').ShallowRef<ComponentPublicInstance<{
|
|
18
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcDrop.vue').Props> & Readonly<{
|
|
19
|
+
onHideDrop?: () => any;
|
|
20
|
+
onShowDrop?: () => any;
|
|
21
|
+
}>, {
|
|
22
|
+
show: ({ event, useMouseAnchor }?: {
|
|
23
|
+
event?: Event;
|
|
24
|
+
useMouseAnchor?: boolean;
|
|
25
|
+
}) => void;
|
|
26
|
+
hide: () => void;
|
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
28
|
+
hideDrop: () => any;
|
|
29
|
+
showDrop: () => any;
|
|
30
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
31
|
+
bottomDrawerRef: {
|
|
32
|
+
$: import('vue').ComponentInternalInstance;
|
|
33
|
+
$data: {};
|
|
34
|
+
$props: {
|
|
35
|
+
readonly drawerId: string;
|
|
36
|
+
readonly toggle: string;
|
|
37
|
+
readonly closeOnClick?: boolean;
|
|
38
|
+
readonly title?: string;
|
|
39
|
+
readonly registerClickHandler?: boolean;
|
|
40
|
+
readonly onShow?: () => any;
|
|
41
|
+
readonly onHide?: () => any;
|
|
42
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
43
|
+
$attrs: {
|
|
44
|
+
[x: string]: unknown;
|
|
45
|
+
};
|
|
46
|
+
$refs: {
|
|
47
|
+
[x: string]: unknown;
|
|
48
|
+
} & {
|
|
49
|
+
bottomDrawerCardBodyRef: HTMLDivElement;
|
|
50
|
+
};
|
|
51
|
+
$slots: Readonly<{
|
|
52
|
+
[name: string]: import('vue').Slot<any>;
|
|
53
|
+
}>;
|
|
54
|
+
$root: ComponentPublicInstance | null;
|
|
55
|
+
$parent: ComponentPublicInstance | null;
|
|
56
|
+
$host: Element | null;
|
|
57
|
+
$emit: ((event: "show") => void) & ((event: "hide") => void);
|
|
58
|
+
$el: any;
|
|
59
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcMobileDrop.vue').Props> & Readonly<{
|
|
60
|
+
onShow?: () => any;
|
|
61
|
+
onHide?: () => any;
|
|
62
|
+
}>, {
|
|
63
|
+
show: () => Promise<void>;
|
|
64
|
+
hide: () => void;
|
|
65
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
66
|
+
show: () => any;
|
|
67
|
+
hide: () => any;
|
|
68
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
69
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
70
|
+
created?: (() => void) | (() => void)[];
|
|
71
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
72
|
+
mounted?: (() => void) | (() => void)[];
|
|
73
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
74
|
+
updated?: (() => void) | (() => void)[];
|
|
75
|
+
activated?: (() => void) | (() => void)[];
|
|
76
|
+
deactivated?: (() => void) | (() => void)[];
|
|
77
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
78
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
79
|
+
destroyed?: (() => void) | (() => void)[];
|
|
80
|
+
unmounted?: (() => void) | (() => void)[];
|
|
81
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
82
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
83
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
84
|
+
};
|
|
85
|
+
$forceUpdate: () => void;
|
|
86
|
+
$nextTick: typeof nextTick;
|
|
87
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
88
|
+
} & Readonly<{}> & Omit<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcMobileDrop.vue').Props> & Readonly<{
|
|
89
|
+
onShow?: () => any;
|
|
90
|
+
onHide?: () => any;
|
|
91
|
+
}>, "show" | "hide"> & import('vue').ShallowUnwrapRef<{
|
|
92
|
+
show: () => Promise<void>;
|
|
93
|
+
hide: () => void;
|
|
94
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
95
|
+
$slots: Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcMobileDrop.vue').Slots> & import('node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcMobileDrop.vue').Slots;
|
|
96
|
+
};
|
|
97
|
+
drop: HTMLDivElement;
|
|
98
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
99
|
+
P: {};
|
|
100
|
+
B: {};
|
|
101
|
+
D: {};
|
|
102
|
+
C: {};
|
|
103
|
+
M: {};
|
|
104
|
+
Defaults: {};
|
|
105
|
+
}, Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcDrop.vue').Props> & Readonly<{
|
|
106
|
+
onHideDrop?: () => any;
|
|
107
|
+
onShowDrop?: () => any;
|
|
108
|
+
}>, {
|
|
109
|
+
show: ({ event, useMouseAnchor }?: {
|
|
110
|
+
event?: Event;
|
|
111
|
+
useMouseAnchor?: boolean;
|
|
112
|
+
}) => void;
|
|
113
|
+
hide: () => void;
|
|
114
|
+
}, {}, {}, {}, {}>;
|
|
115
|
+
__isFragment?: never;
|
|
116
|
+
__isTeleport?: never;
|
|
117
|
+
__isSuspense?: never;
|
|
118
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcDrop.vue').Props> & Readonly<{
|
|
119
|
+
onHideDrop?: () => any;
|
|
120
|
+
onShowDrop?: () => any;
|
|
121
|
+
}>, {
|
|
122
|
+
show: ({ event, useMouseAnchor }?: {
|
|
123
|
+
event?: Event;
|
|
124
|
+
useMouseAnchor?: boolean;
|
|
125
|
+
}) => void;
|
|
126
|
+
hide: () => void;
|
|
127
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
128
|
+
hideDrop: () => any;
|
|
129
|
+
showDrop: () => any;
|
|
130
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
131
|
+
$slots: Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcDrop.vue').Slots> & import('node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcDrop.vue').Slots;
|
|
132
|
+
})>>>;
|
|
133
|
+
dropItemUrl: import('vue').ComputedRef<string>;
|
|
134
|
+
searchResult: Ref<SearchResult, SearchResult>;
|
|
135
|
+
confirmButtonDisabled: import('vue').ComputedRef<boolean>;
|
|
136
|
+
inputFileNameErrorMessage: import('vue').ComputedRef<string>;
|
|
137
|
+
searchTask: import('vue-concurrency').Task<void, [searchTerm: string]>;
|
|
138
|
+
dropItemUrlClicked: () => void;
|
|
139
|
+
dropItemResourceClicked: (item: SearchResultValue) => void;
|
|
140
|
+
getPathPrefix: (resource: import('@opencloud-eu/web-client').Resource) => string;
|
|
141
|
+
getFolderLink: (resource: import('@opencloud-eu/web-client').Resource) => import('vue-router').RouteLocationNamedRaw;
|
|
142
|
+
getParentFolderLink: (resource: import('@opencloud-eu/web-client').Resource) => import('vue-router').RouteLocationNamedRaw;
|
|
143
|
+
getParentFolderName: (resource: import('@opencloud-eu/web-client').Resource) => string;
|
|
144
|
+
getParentFolderLinkIconAdditionalAttributes: (resource: import('@opencloud-eu/web-client').Resource) => {
|
|
145
|
+
name: string;
|
|
146
|
+
'fill-type': string;
|
|
147
|
+
} | {
|
|
148
|
+
name?: undefined;
|
|
149
|
+
'fill-type'?: undefined;
|
|
150
|
+
};
|
|
151
|
+
onKeyEnterDrop: (e: Event) => void;
|
|
152
|
+
onKeyDownDrop: () => void;
|
|
153
|
+
onKeyUpDrop: () => void;
|
|
154
|
+
onKeyEscDrop: (e: Event) => void;
|
|
155
|
+
onHideDrop: () => void;
|
|
156
|
+
onShowDrop: () => void;
|
|
157
|
+
onInputUrlInput: () => Promise<void>;
|
|
158
|
+
onClickUrlInput: () => void;
|
|
159
|
+
isDropItemActive: (index: number) => boolean;
|
|
160
|
+
onConfirm: () => Promise<void>;
|
|
161
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:confirmDisabled"[], "update:confirmDisabled", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
162
|
+
modal: {
|
|
163
|
+
type: PropType<Modal>;
|
|
164
|
+
required: true;
|
|
165
|
+
};
|
|
166
|
+
space: {
|
|
167
|
+
type: PropType<SpaceResource>;
|
|
168
|
+
required: true;
|
|
169
|
+
};
|
|
170
|
+
}>> & Readonly<{
|
|
171
|
+
"onUpdate:confirmDisabled"?: (...args: any[]) => any;
|
|
172
|
+
}>, {}, {}, {
|
|
173
|
+
ResourcePreview: import('vue').DefineComponent<{
|
|
174
|
+
searchResult?: SearchResultValue;
|
|
175
|
+
isClickable?: boolean;
|
|
176
|
+
term?: string;
|
|
177
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
178
|
+
searchResult?: SearchResultValue;
|
|
179
|
+
isClickable?: boolean;
|
|
180
|
+
term?: string;
|
|
181
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
182
|
+
resourceListItem: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
183
|
+
resource: import('@opencloud-eu/web-client').Resource;
|
|
184
|
+
pathPrefix?: string;
|
|
185
|
+
link?: import('vue-router').RouteLocationRaw;
|
|
186
|
+
isPathDisplayed?: boolean;
|
|
187
|
+
parentFolderLink?: import('vue-router').RouteLocationRaw;
|
|
188
|
+
parentFolderName?: string;
|
|
189
|
+
parentFolderLinkIconAdditionalAttributes?: Record<string, unknown>;
|
|
190
|
+
isExtensionDisplayed?: boolean;
|
|
191
|
+
isThumbnailDisplayed?: boolean;
|
|
192
|
+
isIconDisplayed?: boolean;
|
|
193
|
+
isResourceClickable?: boolean;
|
|
194
|
+
}> & Readonly<{
|
|
195
|
+
onClick?: (event: MouseEvent) => any;
|
|
196
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
197
|
+
click: (event: MouseEvent) => any;
|
|
198
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
199
|
+
P: {};
|
|
200
|
+
B: {};
|
|
201
|
+
D: {};
|
|
202
|
+
C: {};
|
|
203
|
+
M: {};
|
|
204
|
+
Defaults: {};
|
|
205
|
+
}, Readonly<{
|
|
206
|
+
resource: import('@opencloud-eu/web-client').Resource;
|
|
207
|
+
pathPrefix?: string;
|
|
208
|
+
link?: import('vue-router').RouteLocationRaw;
|
|
209
|
+
isPathDisplayed?: boolean;
|
|
210
|
+
parentFolderLink?: import('vue-router').RouteLocationRaw;
|
|
211
|
+
parentFolderName?: string;
|
|
212
|
+
parentFolderLinkIconAdditionalAttributes?: Record<string, unknown>;
|
|
213
|
+
isExtensionDisplayed?: boolean;
|
|
214
|
+
isThumbnailDisplayed?: boolean;
|
|
215
|
+
isIconDisplayed?: boolean;
|
|
216
|
+
isResourceClickable?: boolean;
|
|
217
|
+
}> & Readonly<{
|
|
218
|
+
onClick?: (event: MouseEvent) => any;
|
|
219
|
+
}>, {}, {}, {}, {}, {}>;
|
|
220
|
+
}, HTMLDivElement>;
|
|
221
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
222
|
+
export default _default;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
1
|
import { CustomComponentExtension, ExtensionPoint } from '../composables';
|
|
3
|
-
|
|
4
|
-
extensionPoint:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
8
|
-
}>, {
|
|
9
|
-
extensions: import('vue').ComputedRef<CustomComponentExtension[]>;
|
|
10
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
-
extensionPoint: {
|
|
12
|
-
type: PropType<ExtensionPoint<CustomComponentExtension>>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
extensionPoint: ExtensionPoint<CustomComponentExtension>;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
6
|
export default _default;
|
|
@@ -12,7 +12,6 @@ type __VLS_Props = {
|
|
|
12
12
|
areResourcesClickable?: boolean;
|
|
13
13
|
headerPosition?: number;
|
|
14
14
|
isSelectable?: boolean;
|
|
15
|
-
isSideBarOpen?: boolean;
|
|
16
15
|
dragDrop?: boolean;
|
|
17
16
|
viewMode?: typeof FolderViewModeConstants.name.condensedTable | typeof FolderViewModeConstants.name.table;
|
|
18
17
|
hover?: boolean;
|