@opencloud-eu/web-pkg 4.2.1 → 4.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.
Files changed (40) hide show
  1. package/dist/{TextEditor-BEOcGAsh.js → TextEditor-Cn7QTWpj.js} +42 -40
  2. package/dist/assets/{worker-DkMHRpBn.js → worker-B8_1fnv6.js} +20 -30
  3. package/dist/assets/{worker-CQqhh0uK.js → worker-CexULVXL.js} +19 -29
  4. package/dist/assets/{worker-C2IPj8GP.js → worker-DW5HxaGD.js} +20 -30
  5. package/dist/{index-C-VmIu2P.js → index-BAXp6cDe.js} +16984 -17334
  6. package/dist/src/components/AppBar/AppBar.vue.d.ts +2 -0
  7. package/dist/src/components/BatchActions.vue.d.ts +1 -0
  8. package/dist/src/components/ContextActions/ActionMenuItem.vue.d.ts +1 -0
  9. package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +1 -0
  10. package/dist/src/components/CreateLinkModal.vue.d.ts +17 -141
  11. package/dist/src/components/FilesList/ContextActions.vue.d.ts +1 -0
  12. package/dist/src/components/FilesList/ResourceTable.vue.d.ts +457 -1475
  13. package/dist/src/components/FilesList/ResourceTile.vue.d.ts +4 -2
  14. package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +5 -3
  15. package/dist/src/components/ItemFilter.vue.d.ts +4 -0
  16. package/dist/src/components/SideBar/FileSideBar.vue.d.ts +60 -85
  17. package/dist/src/composables/actions/types.d.ts +1 -1
  18. package/dist/src/composables/filesList/useResourceRouteResolver.d.ts +3 -1
  19. package/dist/src/composables/piniaStores/capabilities.d.ts +27 -0
  20. package/dist/src/composables/piniaStores/config/config.d.ts +4 -1
  21. package/dist/src/composables/piniaStores/groupwareConfig/groupwareConfig.d.ts +297 -0
  22. package/dist/src/composables/piniaStores/groupwareConfig/index.d.ts +2 -0
  23. package/dist/src/composables/piniaStores/groupwareConfig/types.d.ts +140 -0
  24. package/dist/src/composables/piniaStores/index.d.ts +1 -0
  25. package/dist/src/composables/piniaStores/messages.d.ts +6 -6
  26. package/dist/src/composables/resources/index.d.ts +2 -0
  27. package/dist/src/composables/resources/useResourceViewDrag.d.ts +58 -0
  28. package/dist/src/composables/resources/useResourceViewHelpers.d.ts +77 -0
  29. package/dist/src/composables/selection/index.d.ts +0 -1
  30. package/dist/src/helpers/index.d.ts +1 -0
  31. package/dist/src/helpers/promise.d.ts +2 -0
  32. package/dist/src/index.d.ts +0 -1
  33. package/dist/web-pkg.js +348 -336
  34. package/dist/web-pkg.umd.cjs +44 -64
  35. package/package.json +4 -4
  36. package/src/index.ts +0 -3
  37. package/dist/src/cern/composables/index.d.ts +0 -1
  38. package/dist/src/cern/composables/useGroupingSettings.d.ts +0 -34
  39. package/dist/src/cern/index.d.ts +0 -1
  40. package/dist/src/composables/selection/useToggleTile.d.ts +0 -4
@@ -223,6 +223,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
223
223
  disabled: boolean;
224
224
  appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
225
225
  }>;
226
+ actionIcon: import('vue').ComputedRef<string>;
226
227
  }, {}, {
227
228
  hasExternalImageIcon(): boolean;
228
229
  componentListeners(): {
@@ -365,6 +366,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
365
366
  disabled: boolean;
366
367
  appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
367
368
  }>;
369
+ actionIcon: import('vue').ComputedRef<string>;
368
370
  }, {}, {
369
371
  hasExternalImageIcon(): boolean;
370
372
  componentListeners(): {
@@ -73,6 +73,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
73
73
  disabled: boolean;
74
74
  appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
75
75
  }>;
76
+ actionIcon: import('vue').ComputedRef<string>;
76
77
  }, {}, {
77
78
  hasExternalImageIcon(): boolean;
78
79
  componentListeners(): {
@@ -43,6 +43,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
43
43
  disabled: boolean;
44
44
  appearance: AppearanceType;
45
45
  }>;
46
+ actionIcon: import('vue').ComputedRef<string>;
46
47
  }, {}, {
47
48
  hasExternalImageIcon(): boolean;
48
49
  componentListeners(): {
@@ -84,6 +84,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
84
84
  disabled: boolean;
85
85
  appearance: AppearanceType;
86
86
  }>;
87
+ actionIcon: import('vue').ComputedRef<string>;
87
88
  }, {}, {
88
89
  hasExternalImageIcon(): boolean;
89
90
  componentListeners(): {
@@ -1,147 +1,23 @@
1
- import { DateTime } from 'luxon';
2
- import { ComponentPublicInstance, PropType } from 'vue';
3
1
  import { Modal } from '../composables';
4
2
  import { SpaceResource, Resource } from '@opencloud-eu/web-client';
5
- import { OcButton } from '@opencloud-eu/design-system/components';
6
- import { SharingLinkType } from '@opencloud-eu/web-client/graph/generated';
7
- type RoleRef = ComponentPublicInstance<typeof OcButton>;
8
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
9
- modal: {
10
- type: PropType<Modal>;
11
- required: true;
12
- };
13
- resources: {
14
- type: PropType<Resource[]>;
15
- required: true;
16
- };
17
- space: {
18
- type: PropType<SpaceResource>;
19
- default: any;
20
- };
21
- }>, {
22
- roleRefs: import('vue').Ref<Record<string, RoleRef>, Record<string, RoleRef>>;
23
- password: {
24
- value: string;
25
- error: any;
26
- };
27
- passwordEnforced: import('vue').ComputedRef<boolean>;
28
- passwordPolicy: PasswordPolicy;
29
- generatePasswordMethod: () => string;
30
- passwordInputKey: import('vue').Ref<string, string>;
31
- selectedExpiry: import('vue').Ref<DateTime<boolean>, DateTime<boolean>>;
32
- availableLinkTypes: import('vue').ComputedRef<SharingLinkType[]>;
33
- selectedType: import('vue').Ref<SharingLinkType, SharingLinkType>;
34
- selectedTypeIcon: import('vue').ComputedRef<string>;
35
- selectedTypeDisplayName: import('vue').ComputedRef<string>;
36
- selectedTypeDescription: import('vue').ComputedRef<string>;
37
- isSelectedLinkType: (type: SharingLinkType) => boolean;
38
- updateSelectedLinkType: (type: SharingLinkType) => void;
39
- updatePassword: (value: string) => void;
40
- getLinkRoleByType: (type: SharingLinkType) => import('@opencloud-eu/web-client').ShareRole;
41
- confirmButtonText: import('vue').ComputedRef<string>;
42
- isAdvancedMode: import('vue').Ref<boolean, boolean>;
43
- setAdvancedMode: () => void;
44
- onExpiryDateChanged: ({ date, error }: {
45
- date: DateTime;
46
- error: boolean;
47
- }) => void;
48
- confirmButtonDisabled: import('vue').ComputedRef<boolean>;
49
- DateTime: typeof DateTime;
50
- currentTheme: import('vue').Ref<{
51
- isDark: boolean;
52
- label: string;
53
- name?: string;
54
- slogan?: string;
55
- logo?: string;
56
- logoMobile?: string;
57
- urls?: {
58
- accessDeniedHelp?: string;
59
- imprint?: string;
60
- privacy?: string;
61
- accessibility?: string;
62
- };
63
- shareRoles?: Record<string, {
64
- iconName: string;
65
- }>;
66
- designTokens?: {
67
- roles?: Record<string, string>;
68
- colorPalette?: Record<string, string>;
69
- fontFamily?: string;
70
- };
71
- favicon?: string;
72
- background?: string;
73
- }, {
74
- isDark: boolean;
75
- label: string;
76
- name?: string;
77
- slogan?: string;
78
- logo?: string;
79
- logoMobile?: string;
80
- urls?: {
81
- accessDeniedHelp?: string;
82
- imprint?: string;
83
- privacy?: string;
84
- accessibility?: string;
85
- };
86
- shareRoles?: Record<string, {
87
- iconName: string;
88
- }>;
89
- designTokens?: {
90
- roles?: Record<string, string>;
91
- colorPalette?: Record<string, string>;
92
- fontFamily?: string;
93
- };
94
- favicon?: string;
95
- background?: string;
96
- }>;
3
+ type __VLS_Props = {
4
+ modal: Modal;
5
+ resources: Resource[];
6
+ space?: SpaceResource;
7
+ };
8
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {
97
9
  onConfirm: (options?: {
98
10
  copyPassword?: boolean;
99
11
  }) => Promise<void>;
100
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("cancel" | "confirm")[], "cancel" | "confirm", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
101
- modal: {
102
- type: PropType<Modal>;
103
- required: true;
104
- };
105
- resources: {
106
- type: PropType<Resource[]>;
107
- required: true;
108
- };
109
- space: {
110
- type: PropType<SpaceResource>;
111
- default: any;
112
- };
113
- }>> & Readonly<{
114
- onCancel?: (...args: any[]) => any;
115
- onConfirm?: (...args: any[]) => any;
116
- }>, {
117
- space: SpaceResource;
118
- }, {}, {
119
- LinkRoleDropdown: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
120
- modelValue: {
121
- type: PropType<SharingLinkType>;
122
- required: true;
123
- };
124
- availableLinkTypeOptions: {
125
- type: PropType<SharingLinkType[]>;
126
- required: true;
127
- };
128
- }>, {
129
- isSelectedType: (type: SharingLinkType) => boolean;
130
- updateSelectedType: (type: SharingLinkType) => void;
131
- currentLinkRoleLabel: import('vue').ComputedRef<string>;
132
- dropUuid: string;
133
- getLinkRoleByType: (type: SharingLinkType) => import('@opencloud-eu/web-client').ShareRole;
134
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
135
- modelValue: {
136
- type: PropType<SharingLinkType>;
137
- required: true;
138
- };
139
- availableLinkTypeOptions: {
140
- type: PropType<SharingLinkType[]>;
141
- required: true;
142
- };
143
- }>> & Readonly<{
144
- "onUpdate:modelValue"?: (...args: any[]) => any;
145
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
146
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
13
+ cancel: () => any;
14
+ confirm: (options?: {
15
+ copyPassword?: boolean;
16
+ }) => any;
17
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ onCancel?: () => any;
19
+ onConfirm?: (options?: {
20
+ copyPassword?: boolean;
21
+ }) => any;
22
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
147
23
  export default _default;
@@ -96,6 +96,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
96
96
  disabled: boolean;
97
97
  appearance: import('@opencloud-eu/design-system/helpers').AppearanceType;
98
98
  }>;
99
+ actionIcon: import('vue').ComputedRef<string>;
99
100
  }, {}, {
100
101
  hasExternalImageIcon(): boolean;
101
102
  componentListeners(): {