@opencloud-eu/web-pkg 4.3.0 → 5.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 (47) hide show
  1. package/dist/{TextEditor-Cn7QTWpj.js → TextEditor-CJgYG8Kl.js} +5 -5
  2. package/dist/assets/worker-Bc2UmjVr.js +40 -0
  3. package/dist/assets/worker-BeDmEhWu.js +40 -0
  4. package/dist/assets/worker-DWoO7i6z.js +40 -0
  5. package/dist/{index-BAXp6cDe.js → index-D-EuklHo.js} +17376 -17380
  6. package/dist/src/apps/types.d.ts +1 -0
  7. package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +2 -2
  8. package/dist/src/components/FilesList/ResourceGhostElement.vue.d.ts +7 -28
  9. package/dist/src/components/FilesList/ResourceIcon.vue.d.ts +5 -44
  10. package/dist/src/components/FilesList/ResourceName.vue.d.ts +11 -139
  11. package/dist/src/components/FilesList/ResourceTable.vue.d.ts +16 -357
  12. package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +16 -66
  13. package/dist/src/components/ItemFilter.vue.d.ts +8 -9
  14. package/dist/src/components/SideBar/Spaces/SpaceInfo.vue.d.ts +1 -4
  15. package/dist/src/composables/actions/files/index.d.ts +12 -11
  16. package/dist/src/composables/actions/files/useFileActions.d.ts +2 -7
  17. package/dist/src/composables/actions/files/useFileActionsOpenWithDefault.d.ts +4 -0
  18. package/dist/src/composables/actions/types.d.ts +1 -1
  19. package/dist/src/composables/filesList/useResourceRouteResolver.d.ts +6 -7
  20. package/dist/src/composables/folderLink/useFolderLink.d.ts +2 -2
  21. package/dist/src/composables/index.d.ts +0 -1
  22. package/dist/src/composables/keyboardActions/useInterceptModifierClick.d.ts +1 -1
  23. package/dist/src/composables/piniaStores/apps.d.ts +6 -0
  24. package/dist/src/composables/piniaStores/capabilities.d.ts +1 -13
  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/useResourceViewContextMenu.d.ts +11 -0
  28. package/dist/src/composables/resources/useResourceViewDrag.d.ts +8 -29
  29. package/dist/src/composables/resources/useResourceViewHelpers.d.ts +25 -34
  30. package/dist/src/composables/resources/useResourceViewSelection.d.ts +13 -0
  31. package/dist/src/composables/sort/useSort.d.ts +2 -4
  32. package/dist/src/constants.d.ts +3 -0
  33. package/dist/src/helpers/contextMenuDropdown.d.ts +1 -1
  34. package/dist/src/helpers/index.d.ts +0 -1
  35. package/dist/src/services/cache.d.ts +0 -5
  36. package/dist/src/services/client/client.d.ts +0 -4
  37. package/dist/src/ui/types.d.ts +0 -2
  38. package/dist/web-pkg.js +322 -323
  39. package/dist/web-pkg.umd.cjs +48 -47
  40. package/package.json +3 -3
  41. package/dist/assets/worker-B8_1fnv6.js +0 -40
  42. package/dist/assets/worker-CexULVXL.js +0 -40
  43. package/dist/assets/worker-DW5HxaGD.js +0 -40
  44. package/dist/src/composables/clipboard/index.d.ts +0 -1
  45. package/dist/src/composables/clipboard/useClipboard.d.ts +0 -6
  46. package/dist/src/helpers/folderLink/index.d.ts +0 -1
  47. package/dist/src/helpers/folderLink/types.d.ts +0 -6
@@ -47,6 +47,7 @@ export type AppConfigObject = Record<string, any>;
47
47
  export interface ApplicationFileExtension {
48
48
  app?: string;
49
49
  extension?: string;
50
+ type?: 'file' | 'folder';
50
51
  createFileHandler?: (arg: {
51
52
  fileName: string;
52
53
  space: SpaceResource;
@@ -18,12 +18,12 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
18
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
19
19
  quickActionClicked: (payload: {
20
20
  event: MouseEvent;
21
- dropdown: unknown;
21
+ dropdown: any;
22
22
  }) => any;
23
23
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
24
24
  onQuickActionClicked?: (payload: {
25
25
  event: MouseEvent;
26
- dropdown: unknown;
26
+ dropdown: any;
27
27
  }) => any;
28
28
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -19,33 +19,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
19
19
  required: true;
20
20
  };
21
21
  }>> & Readonly<{}>, {}, {}, {
22
- ResourceIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
23
- resource: {
24
- type: PropType<Resource | import('@opencloud-eu/web-client').SpaceResource>;
25
- required: true;
26
- };
27
- size: {
28
- type: PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
29
- default: string;
30
- validator: (value: string) => boolean;
31
- };
32
- }>, {
33
- icon: import('vue').ComputedRef<import('../..').IconType>;
34
- isSpace: import('vue').ComputedRef<boolean>;
35
- isFolder: import('vue').ComputedRef<boolean>;
36
- isDisabledSpace: import('vue').ComputedRef<boolean>;
37
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
38
- resource: {
39
- type: PropType<Resource | import('@opencloud-eu/web-client').SpaceResource>;
40
- required: true;
41
- };
42
- size: {
43
- type: PropType<import('@opencloud-eu/design-system/helpers').SizeType>;
44
- default: string;
45
- validator: (value: string) => boolean;
46
- };
47
- }>> & Readonly<{}>, {
48
- size: import('@opencloud-eu/design-system/helpers').SizeType;
49
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
22
+ ResourceIcon: import('vue').DefineComponent<{
23
+ resource: Resource | import('@opencloud-eu/web-client').SpaceResource;
24
+ size?: import('@opencloud-eu/design-system/helpers').SizeType;
25
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
26
+ resource: Resource | import('@opencloud-eu/web-client').SpaceResource;
27
+ size?: import('@opencloud-eu/design-system/helpers').SizeType;
28
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
50
29
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
51
30
  export default _default;
@@ -1,47 +1,8 @@
1
- import { PropType } from 'vue';
2
1
  import { Resource, SpaceResource } from '@opencloud-eu/web-client';
3
2
  import { SizeType } from '@opencloud-eu/design-system/helpers';
4
- import { IconType } from '../../helpers/resource/icon';
5
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
- /**
7
- * The resource to be displayed
8
- */
9
- resource: {
10
- type: PropType<Resource | SpaceResource>;
11
- required: true;
12
- };
13
- /**
14
- * The size of the icon. Defaults to large.
15
- * `xsmall, small, medium, large, xlarge, xxlarge`
16
- */
17
- size: {
18
- type: PropType<SizeType>;
19
- default: string;
20
- validator: (value: string) => boolean;
21
- };
22
- }>, {
23
- icon: import('vue').ComputedRef<IconType>;
24
- isSpace: import('vue').ComputedRef<boolean>;
25
- isFolder: import('vue').ComputedRef<boolean>;
26
- isDisabledSpace: import('vue').ComputedRef<boolean>;
27
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
- /**
29
- * The resource to be displayed
30
- */
31
- resource: {
32
- type: PropType<Resource | SpaceResource>;
33
- required: true;
34
- };
35
- /**
36
- * The size of the icon. Defaults to large.
37
- * `xsmall, small, medium, large, xlarge, xxlarge`
38
- */
39
- size: {
40
- type: PropType<SizeType>;
41
- default: string;
42
- validator: (value: string) => boolean;
43
- };
44
- }>> & Readonly<{}>, {
45
- size: SizeType;
46
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
3
+ type __VLS_Props = {
4
+ resource: Resource | SpaceResource;
5
+ size?: SizeType;
6
+ };
7
+ 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>;
47
8
  export default _default;
@@ -1,140 +1,12 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- /**
3
- * The name of the resource
4
- */
5
- name: {
6
- type: StringConstructor;
7
- required: true;
8
- };
9
- /**
10
- * The prefix that will be shown in the path
11
- */
12
- pathPrefix: {
13
- type: StringConstructor;
14
- required: false;
15
- default: string;
16
- };
17
- /**
18
- * The extension of the resource, if there is one
19
- */
20
- extension: {
21
- type: StringConstructor;
22
- required: false;
23
- default: string;
24
- };
25
- /**
26
- * The type of the resource
27
- */
28
- type: {
29
- type: StringConstructor;
30
- required: true;
31
- };
32
- /**
33
- * A full path of the resource
34
- */
35
- fullPath: {
36
- type: StringConstructor;
37
- required: true;
38
- };
39
- /**
40
- * Asserts whether the resource path should be displayed
41
- */
42
- isPathDisplayed: {
43
- type: BooleanConstructor;
44
- required: false;
45
- default: boolean;
46
- };
47
- /**
48
- * Asserts whether the resource extension should be displayed
49
- */
50
- isExtensionDisplayed: {
51
- type: BooleanConstructor;
52
- required: false;
53
- default: boolean;
54
- };
55
- /**
56
- * Asserts whether the resource name should be truncated if it's too long
57
- */
58
- truncateName: {
59
- type: BooleanConstructor;
60
- required: false;
61
- default: boolean;
62
- };
63
- }>, {}, {}, {
64
- tooltip(): any;
65
- fullName(): string;
66
- displayName(): string;
67
- displayExtension(): string;
68
- displayPath(): string;
69
- pathTooltip(): any;
70
- htmlTitle(): string;
71
- }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
72
- /**
73
- * The name of the resource
74
- */
75
- name: {
76
- type: StringConstructor;
77
- required: true;
78
- };
79
- /**
80
- * The prefix that will be shown in the path
81
- */
82
- pathPrefix: {
83
- type: StringConstructor;
84
- required: false;
85
- default: string;
86
- };
87
- /**
88
- * The extension of the resource, if there is one
89
- */
90
- extension: {
91
- type: StringConstructor;
92
- required: false;
93
- default: string;
94
- };
95
- /**
96
- * The type of the resource
97
- */
98
- type: {
99
- type: StringConstructor;
100
- required: true;
101
- };
102
- /**
103
- * A full path of the resource
104
- */
105
- fullPath: {
106
- type: StringConstructor;
107
- required: true;
108
- };
109
- /**
110
- * Asserts whether the resource path should be displayed
111
- */
112
- isPathDisplayed: {
113
- type: BooleanConstructor;
114
- required: false;
115
- default: boolean;
116
- };
117
- /**
118
- * Asserts whether the resource extension should be displayed
119
- */
120
- isExtensionDisplayed: {
121
- type: BooleanConstructor;
122
- required: false;
123
- default: boolean;
124
- };
125
- /**
126
- * Asserts whether the resource name should be truncated if it's too long
127
- */
128
- truncateName: {
129
- type: BooleanConstructor;
130
- required: false;
131
- default: boolean;
132
- };
133
- }>> & Readonly<{}>, {
134
- extension: string;
135
- pathPrefix: string;
136
- isPathDisplayed: boolean;
137
- isExtensionDisplayed: boolean;
138
- truncateName: boolean;
139
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ type __VLS_Props = {
2
+ name: string;
3
+ type: string;
4
+ fullPath: string;
5
+ pathPrefix?: string;
6
+ extension?: string;
7
+ isPathDisplayed?: boolean;
8
+ isExtensionDisplayed?: boolean;
9
+ truncateName?: boolean;
10
+ };
11
+ 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, {}, HTMLSpanElement>;
140
12
  export default _default;