@opencloud-eu/web-pkg 0.1.1 → 2.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.
Files changed (41) hide show
  1. package/dist/{TextEditor-dPv5RFiT.js → TextEditor-CBpP9DFX.js} +68 -51
  2. package/dist/assets/{worker-DzSy5ndr.js → worker-BCEWb3C6.js} +27 -27
  3. package/dist/assets/{worker-BTxctNFM.js → worker-BpDXOTOV.js} +18 -18
  4. package/dist/assets/{worker-oQBkmUkg.js → worker-Ds2rbROB.js} +26 -26
  5. package/dist/{index-B8n8dCfU.js → index-CPsauqxc.js} +12683 -12675
  6. package/dist/src/components/AppBar/AppBar.vue.d.ts +28 -31
  7. package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +71 -94
  8. package/dist/src/components/AppTopBar.vue.d.ts +13 -24
  9. package/dist/src/components/BatchActions.vue.d.ts +10 -11
  10. package/dist/src/components/ContextActions/ActionMenuItem.vue.d.ts +10 -11
  11. package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +10 -20
  12. package/dist/src/components/CreateShortcutModal.vue.d.ts +3 -3
  13. package/dist/src/components/FilesList/ContextActions.vue.d.ts +10 -20
  14. package/dist/src/components/FilesList/ResourceLink.vue.d.ts +2 -2
  15. package/dist/src/components/FilesList/ResourceListItem.vue.d.ts +3 -3
  16. package/dist/src/components/FilesList/ResourceTable.vue.d.ts +15 -55
  17. package/dist/src/components/FilesList/ResourceTile.vue.d.ts +6 -6
  18. package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +6 -6
  19. package/dist/src/components/Filters/DateFilter.vue.d.ts +196 -52
  20. package/dist/src/components/Search/ResourcePreview.vue.d.ts +3 -3
  21. package/dist/src/components/SideBar/FileSideBar.vue.d.ts +57 -69
  22. package/dist/src/components/SideBar/SideBar.vue.d.ts +39 -71
  23. package/dist/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +1 -1
  24. package/dist/src/components/SpaceQuota.vue.d.ts +1 -1
  25. package/dist/src/components/Spaces/QuotaModal.vue.d.ts +1 -1
  26. package/dist/src/components/TextEditor/TextEditor.vue.d.ts +1 -0
  27. package/dist/src/components/TextEditor/index.d.ts +1 -0
  28. package/dist/src/components/ViewOptions.vue.d.ts +8 -0
  29. package/dist/src/composables/actions/files/useFileActions.d.ts +1 -1
  30. package/dist/src/composables/actions/types.d.ts +0 -1
  31. package/dist/src/composables/piniaStores/auth.d.ts +8 -7
  32. package/dist/src/composables/piniaStores/modals.d.ts +18 -20
  33. package/dist/src/composables/piniaStores/resources.d.ts +8 -2
  34. package/dist/src/composables/piniaStores/spaces.d.ts +8 -2
  35. package/dist/src/composables/piniaStores/theme.d.ts +56 -0
  36. package/dist/src/helpers/resource/icon.d.ts +2 -1
  37. package/dist/src/router/deprecated.d.ts +1 -1
  38. package/dist/src/router/utils.d.ts +2 -2
  39. package/dist/web-pkg.js +2 -2
  40. package/dist/web-pkg.umd.cjs +47 -43
  41. package/package.json +5 -5
@@ -33,18 +33,92 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
33
33
  onHideDrop: () => void;
34
34
  filterChip: import('vue').Ref<{
35
35
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcFilterChip/OcFilterChip.vue').Props> & Readonly<{
36
- onHideDrop?: (...args: any[]) => any;
37
- onShowDrop?: (...args: any[]) => any;
38
- onClearFilter?: (...args: any[]) => any;
39
- onToggleFilter?: (...args: any[]) => any;
36
+ onHideDrop?: () => any;
37
+ onShowDrop?: () => any;
38
+ onClearFilter?: () => any;
39
+ onToggleFilter?: () => any;
40
40
  }>, {
41
41
  hideDrop: () => void;
42
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
43
- hideDrop: (...args: any[]) => void;
44
- showDrop: (...args: any[]) => void;
45
- clearFilter: (...args: any[]) => void;
46
- toggleFilter: (...args: any[]) => void;
47
- }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
42
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
43
+ hideDrop: () => any;
44
+ showDrop: () => any;
45
+ clearFilter: () => any;
46
+ toggleFilter: () => any;
47
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
48
+ dropRef: {
49
+ $: import('vue').ComponentInternalInstance;
50
+ $data: {};
51
+ $props: Partial<{}> & Omit<{
52
+ readonly closeOnClick?: boolean;
53
+ readonly dropId?: string;
54
+ readonly isNested?: boolean;
55
+ readonly mode?: "click" | "hover" | "manual";
56
+ readonly offset?: string;
57
+ readonly paddingSize?: import('@opencloud-eu/design-system/helpers').SizeType | "remove";
58
+ readonly popperOptions?: Popper.Options;
59
+ readonly position?: "top-start" | "right-start" | "bottom-start" | "left-start" | "auto-start" | "top-end" | "right-end" | "bottom-end" | "left-end" | "auto-end";
60
+ readonly target?: string;
61
+ readonly toggle?: string;
62
+ readonly onHideDrop?: () => any;
63
+ readonly onShowDrop?: () => any;
64
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
65
+ $attrs: {
66
+ [x: string]: unknown;
67
+ };
68
+ $refs: {
69
+ [x: string]: unknown;
70
+ } & {
71
+ drop: HTMLDivElement;
72
+ };
73
+ $slots: Readonly<{
74
+ [name: string]: import('vue').Slot<any>;
75
+ }>;
76
+ $root: import('vue').ComponentPublicInstance | null;
77
+ $parent: import('vue').ComponentPublicInstance | null;
78
+ $host: Element | null;
79
+ $emit: ((event: "hideDrop") => void) & ((event: "showDrop") => void);
80
+ $el: HTMLDivElement;
81
+ $options: import('vue').ComponentOptionsBase<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcDrop.vue').Props> & Readonly<{
82
+ onHideDrop?: () => any;
83
+ onShowDrop?: () => any;
84
+ }>, {
85
+ show: (duration?: number) => void;
86
+ hide: (duration?: number) => void;
87
+ tippy: import('vue').Ref<any, any>;
88
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
89
+ hideDrop: () => any;
90
+ showDrop: () => any;
91
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
92
+ beforeCreate?: (() => void) | (() => void)[];
93
+ created?: (() => void) | (() => void)[];
94
+ beforeMount?: (() => void) | (() => void)[];
95
+ mounted?: (() => void) | (() => void)[];
96
+ beforeUpdate?: (() => void) | (() => void)[];
97
+ updated?: (() => void) | (() => void)[];
98
+ activated?: (() => void) | (() => void)[];
99
+ deactivated?: (() => void) | (() => void)[];
100
+ beforeDestroy?: (() => void) | (() => void)[];
101
+ beforeUnmount?: (() => void) | (() => void)[];
102
+ destroyed?: (() => void) | (() => void)[];
103
+ unmounted?: (() => void) | (() => void)[];
104
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
105
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
106
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
107
+ };
108
+ $forceUpdate: () => void;
109
+ $nextTick: typeof import('vue').nextTick;
110
+ $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;
111
+ } & Readonly<{}> & Omit<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcDrop.vue').Props> & Readonly<{
112
+ onHideDrop?: () => any;
113
+ onShowDrop?: () => any;
114
+ }>, "hide" | "show" | "tippy"> & import('vue').ShallowUnwrapRef<{
115
+ show: (duration?: number) => void;
116
+ hide: (duration?: number) => void;
117
+ tippy: import('vue').Ref<any, any>;
118
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
119
+ $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;
120
+ };
121
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
48
122
  P: {};
49
123
  B: {};
50
124
  D: {};
@@ -52,10 +126,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
52
126
  M: {};
53
127
  Defaults: {};
54
128
  }, Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcFilterChip/OcFilterChip.vue').Props> & Readonly<{
55
- onHideDrop?: (...args: any[]) => any;
56
- onShowDrop?: (...args: any[]) => any;
57
- onClearFilter?: (...args: any[]) => any;
58
- onToggleFilter?: (...args: any[]) => any;
129
+ onHideDrop?: () => any;
130
+ onShowDrop?: () => any;
131
+ onClearFilter?: () => any;
132
+ onToggleFilter?: () => any;
59
133
  }>, {
60
134
  hideDrop: () => void;
61
135
  }, {}, {}, {}, {}>;
@@ -63,35 +137,107 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
63
137
  __isTeleport?: never;
64
138
  __isSuspense?: never;
65
139
  } & import('vue').ComponentOptionsBase<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcFilterChip/OcFilterChip.vue').Props> & Readonly<{
66
- onHideDrop?: (...args: any[]) => any;
67
- onShowDrop?: (...args: any[]) => any;
68
- onClearFilter?: (...args: any[]) => any;
69
- onToggleFilter?: (...args: any[]) => any;
140
+ onHideDrop?: () => any;
141
+ onShowDrop?: () => any;
142
+ onClearFilter?: () => any;
143
+ onToggleFilter?: () => any;
70
144
  }>, {
71
145
  hideDrop: () => void;
72
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
73
- hideDrop: (...args: any[]) => void;
74
- showDrop: (...args: any[]) => void;
75
- clearFilter: (...args: any[]) => void;
76
- toggleFilter: (...args: any[]) => void;
146
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
147
+ hideDrop: () => any;
148
+ showDrop: () => any;
149
+ clearFilter: () => any;
150
+ toggleFilter: () => any;
77
151
  }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
78
- $slots: {
79
- default?(_: {}): any;
80
- };
152
+ $slots: Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcFilterChip/OcFilterChip.vue').Slot> & import('node_modules/@opencloud-eu/design-system/src/components/OcFilterChip/OcFilterChip.vue').Slot;
81
153
  }), {
82
154
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcFilterChip/OcFilterChip.vue').Props> & Readonly<{
83
- onHideDrop?: (...args: any[]) => any;
84
- onShowDrop?: (...args: any[]) => any;
85
- onClearFilter?: (...args: any[]) => any;
86
- onToggleFilter?: (...args: any[]) => any;
155
+ onHideDrop?: () => any;
156
+ onShowDrop?: () => any;
157
+ onClearFilter?: () => any;
158
+ onToggleFilter?: () => any;
87
159
  }>, {
88
160
  hideDrop: () => void;
89
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
90
- hideDrop: (...args: any[]) => void;
91
- showDrop: (...args: any[]) => void;
92
- clearFilter: (...args: any[]) => void;
93
- toggleFilter: (...args: any[]) => void;
94
- }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
161
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
162
+ hideDrop: () => any;
163
+ showDrop: () => any;
164
+ clearFilter: () => any;
165
+ toggleFilter: () => any;
166
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
167
+ dropRef: {
168
+ $: import('vue').ComponentInternalInstance;
169
+ $data: {};
170
+ $props: Partial<{}> & Omit<{
171
+ readonly closeOnClick?: boolean;
172
+ readonly dropId?: string;
173
+ readonly isNested?: boolean;
174
+ readonly mode?: "click" | "hover" | "manual";
175
+ readonly offset?: string;
176
+ readonly paddingSize?: import('@opencloud-eu/design-system/helpers').SizeType | "remove";
177
+ readonly popperOptions?: Popper.Options;
178
+ readonly position?: "top-start" | "right-start" | "bottom-start" | "left-start" | "auto-start" | "top-end" | "right-end" | "bottom-end" | "left-end" | "auto-end";
179
+ readonly target?: string;
180
+ readonly toggle?: string;
181
+ readonly onHideDrop?: () => any;
182
+ readonly onShowDrop?: () => any;
183
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
184
+ $attrs: {
185
+ [x: string]: unknown;
186
+ };
187
+ $refs: {
188
+ [x: string]: unknown;
189
+ } & {
190
+ drop: HTMLDivElement;
191
+ };
192
+ $slots: Readonly<{
193
+ [name: string]: import('vue').Slot<any>;
194
+ }>;
195
+ $root: import('vue').ComponentPublicInstance | null;
196
+ $parent: import('vue').ComponentPublicInstance | null;
197
+ $host: Element | null;
198
+ $emit: ((event: "hideDrop") => void) & ((event: "showDrop") => void);
199
+ $el: HTMLDivElement;
200
+ $options: import('vue').ComponentOptionsBase<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcDrop.vue').Props> & Readonly<{
201
+ onHideDrop?: () => any;
202
+ onShowDrop?: () => any;
203
+ }>, {
204
+ show: (duration?: number) => void;
205
+ hide: (duration?: number) => void;
206
+ tippy: import('vue').Ref<any, any>;
207
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
208
+ hideDrop: () => any;
209
+ showDrop: () => any;
210
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
211
+ beforeCreate?: (() => void) | (() => void)[];
212
+ created?: (() => void) | (() => void)[];
213
+ beforeMount?: (() => void) | (() => void)[];
214
+ mounted?: (() => void) | (() => void)[];
215
+ beforeUpdate?: (() => void) | (() => void)[];
216
+ updated?: (() => void) | (() => void)[];
217
+ activated?: (() => void) | (() => void)[];
218
+ deactivated?: (() => void) | (() => void)[];
219
+ beforeDestroy?: (() => void) | (() => void)[];
220
+ beforeUnmount?: (() => void) | (() => void)[];
221
+ destroyed?: (() => void) | (() => void)[];
222
+ unmounted?: (() => void) | (() => void)[];
223
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
224
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
225
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
226
+ };
227
+ $forceUpdate: () => void;
228
+ $nextTick: typeof import('vue').nextTick;
229
+ $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;
230
+ } & Readonly<{}> & Omit<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcDrop/OcDrop.vue').Props> & Readonly<{
231
+ onHideDrop?: () => any;
232
+ onShowDrop?: () => any;
233
+ }>, "hide" | "show" | "tippy"> & import('vue').ShallowUnwrapRef<{
234
+ show: (duration?: number) => void;
235
+ hide: (duration?: number) => void;
236
+ tippy: import('vue').Ref<any, any>;
237
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
238
+ $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;
239
+ };
240
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
95
241
  P: {};
96
242
  B: {};
97
243
  D: {};
@@ -99,10 +245,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
99
245
  M: {};
100
246
  Defaults: {};
101
247
  }, Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcFilterChip/OcFilterChip.vue').Props> & Readonly<{
102
- onHideDrop?: (...args: any[]) => any;
103
- onShowDrop?: (...args: any[]) => any;
104
- onClearFilter?: (...args: any[]) => any;
105
- onToggleFilter?: (...args: any[]) => any;
248
+ onHideDrop?: () => any;
249
+ onShowDrop?: () => any;
250
+ onClearFilter?: () => any;
251
+ onToggleFilter?: () => any;
106
252
  }>, {
107
253
  hideDrop: () => void;
108
254
  }, {}, {}, {}, {}>;
@@ -110,21 +256,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
110
256
  __isTeleport?: never;
111
257
  __isSuspense?: never;
112
258
  } & import('vue').ComponentOptionsBase<Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcFilterChip/OcFilterChip.vue').Props> & Readonly<{
113
- onHideDrop?: (...args: any[]) => any;
114
- onShowDrop?: (...args: any[]) => any;
115
- onClearFilter?: (...args: any[]) => any;
116
- onToggleFilter?: (...args: any[]) => any;
259
+ onHideDrop?: () => any;
260
+ onShowDrop?: () => any;
261
+ onClearFilter?: () => any;
262
+ onToggleFilter?: () => any;
117
263
  }>, {
118
264
  hideDrop: () => void;
119
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
120
- hideDrop: (...args: any[]) => void;
121
- showDrop: (...args: any[]) => void;
122
- clearFilter: (...args: any[]) => void;
123
- toggleFilter: (...args: any[]) => void;
265
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
266
+ hideDrop: () => any;
267
+ showDrop: () => any;
268
+ clearFilter: () => any;
269
+ toggleFilter: () => any;
124
270
  }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
125
- $slots: {
126
- default?(_: {}): any;
127
- };
271
+ $slots: Readonly<import('node_modules/@opencloud-eu/design-system/src/components/OcFilterChip/OcFilterChip.vue').Slot> & import('node_modules/@opencloud-eu/design-system/src/components/OcFilterChip/OcFilterChip.vue').Slot;
128
272
  })>;
129
273
  toggleItemSelection: (item: Item) => Promise<void>;
130
274
  setSelectedItemsBasedOnQuery: () => void;
@@ -361,7 +361,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
361
361
  }>> & Readonly<{
362
362
  onClick?: (...args: any[]) => any;
363
363
  }>, {
364
- link: import('vue-router').RouteLocationRaw;
364
+ link: string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric;
365
365
  isResourceClickable: boolean;
366
366
  pathPrefix: string;
367
367
  isPathDisplayed: boolean;
@@ -424,7 +424,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
424
424
  justifyContent: string;
425
425
  to?: undefined;
426
426
  } | {
427
- to: import('vue-router').RouteLocationRaw;
427
+ to: string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric;
428
428
  appearance?: undefined;
429
429
  gapSize?: undefined;
430
430
  justifyContent?: undefined;
@@ -449,7 +449,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
449
449
  }>> & Readonly<{
450
450
  onClick?: (...args: any[]) => any;
451
451
  }>, {
452
- link: import('vue-router').RouteLocationRaw;
452
+ link: string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric;
453
453
  isResourceClickable: boolean;
454
454
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
455
455
  ResourceName: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
@@ -182,75 +182,63 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
182
182
  SpaceInfo: import('vue').DefineComponent<{}, {
183
183
  resource: SpaceResource;
184
184
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
185
- InnerSideBar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
186
- isOpen: {
187
- type: BooleanConstructor;
188
- required: true;
189
- };
190
- loading: {
191
- type: BooleanConstructor;
192
- required: true;
193
- };
194
- availablePanels: {
195
- type: PropType<import('.').SideBarPanel<unknown, unknown, unknown>[]>;
196
- required: true;
185
+ InnerSideBar: {
186
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
187
+ isOpen: boolean;
188
+ loading: boolean;
189
+ availablePanels: import('.').SideBarPanel<unknown, unknown, unknown>[];
190
+ panelContext: SideBarPanelContext<unknown, unknown, unknown>;
191
+ activePanel?: string;
192
+ }> & Readonly<{
193
+ onClose?: () => any;
194
+ onSelectPanel?: (panel: string) => any;
195
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
196
+ close: () => any;
197
+ selectPanel: (panel: string) => any;
198
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
199
+ appSideBar: HTMLDivElement;
200
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
201
+ P: {};
202
+ B: {};
203
+ D: {};
204
+ C: {};
205
+ M: {};
206
+ Defaults: {};
207
+ }, Readonly<{
208
+ isOpen: boolean;
209
+ loading: boolean;
210
+ availablePanels: import('.').SideBarPanel<unknown, unknown, unknown>[];
211
+ panelContext: SideBarPanelContext<unknown, unknown, unknown>;
212
+ activePanel?: string;
213
+ }> & Readonly<{
214
+ onClose?: () => any;
215
+ onSelectPanel?: (panel: string) => any;
216
+ }>, {}, {}, {}, {}, {}>;
217
+ __isFragment?: never;
218
+ __isTeleport?: never;
219
+ __isSuspense?: never;
220
+ } & import('vue').ComponentOptionsBase<Readonly<{
221
+ isOpen: boolean;
222
+ loading: boolean;
223
+ availablePanels: import('.').SideBarPanel<unknown, unknown, unknown>[];
224
+ panelContext: SideBarPanelContext<unknown, unknown, unknown>;
225
+ activePanel?: string;
226
+ }> & Readonly<{
227
+ onClose?: () => any;
228
+ onSelectPanel?: (panel: string) => any;
229
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
230
+ close: () => any;
231
+ selectPanel: (panel: string) => any;
232
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
233
+ $slots: Readonly<{
234
+ body: () => unknown;
235
+ rootHeader: () => unknown;
236
+ subHeader: () => unknown;
237
+ }> & {
238
+ body: () => unknown;
239
+ rootHeader: () => unknown;
240
+ subHeader: () => unknown;
197
241
  };
198
- panelContext: {
199
- type: PropType<SideBarPanelContext<unknown, unknown, unknown>>;
200
- required: true;
201
- };
202
- activePanel: {
203
- type: StringConstructor;
204
- required: false;
205
- default: string;
206
- };
207
- }>, {
208
- appSideBar: Readonly<import('vue').ShallowRef<HTMLElement>>;
209
- displayPanels: import('vue').ComputedRef<import('.').SideBarPanel<unknown, unknown, unknown>[]>;
210
- rootPanels: import('vue').ComputedRef<import('.').SideBarPanel<unknown, unknown, unknown>[]>;
211
- subPanels: import('vue').ComputedRef<import('.').SideBarPanel<unknown, unknown, unknown>[]>;
212
- activeSubPanelName: import('vue').ComputedRef<string>;
213
- activePanelName: import('vue').ComputedRef<string>;
214
- oldPanelName: import('vue').Ref<string, string>;
215
- clearOldPanelName: () => void;
216
- setOldPanelName: (name: string) => void;
217
- hasActiveSubPanel: import('vue').ComputedRef<boolean>;
218
- hasActiveRootPanel: import('vue').ComputedRef<boolean>;
219
- accessibleLabelBack: import('vue').ComputedRef<string>;
220
- fullWidthSideBar: import('vue').ComputedRef<boolean>;
221
- }, {}, {}, {
222
- setSidebarPanel(panel: string): void;
223
- resetSidebarPanel(): void;
224
- closeSidebar(): void;
225
- openPanel(panel: string): void;
226
- closePanel(): void;
227
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "selectPanel")[], "close" | "selectPanel", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
228
- isOpen: {
229
- type: BooleanConstructor;
230
- required: true;
231
- };
232
- loading: {
233
- type: BooleanConstructor;
234
- required: true;
235
- };
236
- availablePanels: {
237
- type: PropType<import('.').SideBarPanel<unknown, unknown, unknown>[]>;
238
- required: true;
239
- };
240
- panelContext: {
241
- type: PropType<SideBarPanelContext<unknown, unknown, unknown>>;
242
- required: true;
243
- };
244
- activePanel: {
245
- type: StringConstructor;
246
- required: false;
247
- default: string;
248
- };
249
- }>> & Readonly<{
250
- onClose?: (...args: any[]) => any;
251
- onSelectPanel?: (...args: any[]) => any;
252
- }>, {
253
- activePanel: string;
254
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
242
+ });
255
243
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
256
244
  export default _default;
@@ -1,73 +1,41 @@
1
- import { PropType } from 'vue';
2
1
  import { SideBarPanel, SideBarPanelContext } from './types';
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- isOpen: {
5
- type: BooleanConstructor;
6
- required: true;
7
- };
8
- loading: {
9
- type: BooleanConstructor;
10
- required: true;
11
- };
12
- availablePanels: {
13
- type: PropType<SideBarPanel<unknown, unknown, unknown>[]>;
14
- required: true;
15
- };
16
- panelContext: {
17
- type: PropType<SideBarPanelContext<unknown, unknown, unknown>>;
18
- required: true;
19
- };
20
- activePanel: {
21
- type: StringConstructor;
22
- required: false;
23
- default: string;
24
- };
25
- }>, {
26
- appSideBar: Readonly<import('vue').ShallowRef<HTMLElement>>;
27
- displayPanels: import('vue').ComputedRef<SideBarPanel<unknown, unknown, unknown>[]>;
28
- rootPanels: import('vue').ComputedRef<SideBarPanel<unknown, unknown, unknown>[]>;
29
- subPanels: import('vue').ComputedRef<SideBarPanel<unknown, unknown, unknown>[]>;
30
- activeSubPanelName: import('vue').ComputedRef<string>;
31
- activePanelName: import('vue').ComputedRef<string>;
32
- oldPanelName: import('vue').Ref<string, string>;
33
- clearOldPanelName: () => void;
34
- setOldPanelName: (name: string) => void;
35
- hasActiveSubPanel: import('vue').ComputedRef<boolean>;
36
- hasActiveRootPanel: import('vue').ComputedRef<boolean>;
37
- accessibleLabelBack: import('vue').ComputedRef<string>;
38
- fullWidthSideBar: import('vue').ComputedRef<boolean>;
39
- }, {}, {}, {
40
- setSidebarPanel(panel: string): void;
41
- resetSidebarPanel(): void;
42
- closeSidebar(): void;
43
- openPanel(panel: string): void;
44
- closePanel(): void;
45
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "selectPanel")[], "close" | "selectPanel", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
46
- isOpen: {
47
- type: BooleanConstructor;
48
- required: true;
49
- };
50
- loading: {
51
- type: BooleanConstructor;
52
- required: true;
53
- };
54
- availablePanels: {
55
- type: PropType<SideBarPanel<unknown, unknown, unknown>[]>;
56
- required: true;
57
- };
58
- panelContext: {
59
- type: PropType<SideBarPanelContext<unknown, unknown, unknown>>;
60
- required: true;
61
- };
62
- activePanel: {
63
- type: StringConstructor;
64
- required: false;
65
- default: string;
66
- };
67
- }>> & Readonly<{
68
- onClose?: (...args: any[]) => any;
69
- onSelectPanel?: (...args: any[]) => any;
70
- }>, {
71
- activePanel: string;
72
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ type __VLS_Props = {
3
+ isOpen: boolean;
4
+ loading: boolean;
5
+ availablePanels: SideBarPanel<unknown, unknown, unknown>[];
6
+ panelContext: SideBarPanelContext<unknown, unknown, unknown>;
7
+ activePanel?: string;
8
+ };
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: Readonly<{
12
+ body: () => unknown;
13
+ rootHeader: () => unknown;
14
+ subHeader: () => unknown;
15
+ }> & {
16
+ body: () => unknown;
17
+ rootHeader: () => unknown;
18
+ subHeader: () => unknown;
19
+ };
20
+ refs: {
21
+ appSideBar: HTMLDivElement;
22
+ };
23
+ rootEl: HTMLDivElement;
24
+ };
25
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
27
+ close: () => any;
28
+ selectPanel: (panel: string) => any;
29
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
30
+ onClose?: () => any;
31
+ onSelectPanel?: (panel: string) => any;
32
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
33
+ appSideBar: HTMLDivElement;
34
+ }, HTMLDivElement>;
35
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
73
36
  export default _default;
37
+ type __VLS_WithTemplateSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
@@ -64,7 +64,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
64
64
  quotaTotal(): string;
65
65
  quotaUsed(): string;
66
66
  quotaUsagePercent(): number;
67
- quotaProgressVariant(): "warning" | "primary" | "danger";
67
+ quotaProgressColor(): "var(--oc-role-secondary)" | "var(--oc-role-error)";
68
68
  }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
69
69
  spaceQuota: {
70
70
  type: import('vue').PropType<import('@opencloud-eu/web-client/graph/generated').Quota>;
@@ -13,7 +13,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
13
13
  quotaTotal(): string;
14
14
  quotaUsed(): string;
15
15
  quotaUsagePercent(): number;
16
- quotaProgressVariant(): "warning" | "primary" | "danger";
16
+ quotaProgressColor(): "var(--oc-role-secondary)" | "var(--oc-role-error)";
17
17
  }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
18
18
  spaceQuota: {
19
19
  type: PropType<Quota>;
@@ -59,8 +59,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
59
59
  }>> & Readonly<{
60
60
  "onUpdate:confirmDisabled"?: (...args: any[]) => any;
61
61
  }>, {
62
- warningMessage: string;
63
62
  resourceType: string;
63
+ warningMessage: string;
64
64
  warningMessageContextualHelperData: ContextualHelperData;
65
65
  }, {}, {
66
66
  QuotaSelect: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
@@ -137,6 +137,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
137
137
  pl: string;
138
138
  en: string;
139
139
  };
140
+ onUploadImg: (files: File[]) => Promise<void>;
140
141
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:currentContent"[], "update:currentContent", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
141
142
  applicationConfig: {
142
143
  type: PropType<AppConfigObject>;
@@ -134,6 +134,7 @@ export declare const TextEditor: import('vue').DefineComponent<import('vue').Ext
134
134
  pl: string;
135
135
  en: string;
136
136
  };
137
+ onUploadImg: (files: File[]) => Promise<void>;
137
138
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:currentContent"[], "update:currentContent", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
138
139
  applicationConfig: {
139
140
  type: import('vue').PropType<import('../..').AppConfigObject>;