@weavy/uikit-react 20.0.0 → 21.1.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/changelog.md +33 -0
- package/lib/hooks/useWeavy.ts +3 -3
- package/package.json +3 -4
- package/tsconfig.json +1 -1
- package/dist/types/blocks/WyChat.d.ts +0 -9
- package/dist/types/blocks/WyContext.d.ts +0 -2
- package/dist/types/blocks/WyFiles.d.ts +0 -10
- package/dist/types/blocks/WyMessenger.d.ts +0 -10
- package/dist/types/blocks/WyPosts.d.ts +0 -9
- package/dist/types/blocks/index.d.ts +0 -5
- package/dist/types/components/WyAttachment.d.ts +0 -9
- package/dist/types/components/WyAvatar.d.ts +0 -2
- package/dist/types/components/WyBadge.d.ts +0 -2
- package/dist/types/components/WyButton.d.ts +0 -2
- package/dist/types/components/WyCloudFiles.d.ts +0 -9
- package/dist/types/components/WyComment.d.ts +0 -52
- package/dist/types/components/WyConversation.d.ts +0 -8
- package/dist/types/components/WyConversationList.d.ts +0 -29
- package/dist/types/components/WyDropdown.d.ts +0 -5
- package/dist/types/components/WyEditor.d.ts +0 -13
- package/dist/types/components/WyEmbed.d.ts +0 -8
- package/dist/types/components/WyEmpty.d.ts +0 -2
- package/dist/types/components/WyFileItem.d.ts +0 -25
- package/dist/types/components/WyFileMenu.d.ts +0 -21
- package/dist/types/components/WyFileVersions.d.ts +0 -8
- package/dist/types/components/WyFilesAppbar.d.ts +0 -29
- package/dist/types/components/WyFilesList.d.ts +0 -31
- package/dist/types/components/WyIcon.d.ts +0 -2
- package/dist/types/components/WyImageGrid.d.ts +0 -8
- package/dist/types/components/WyMeetingCard.d.ts +0 -2
- package/dist/types/components/WyMessage.d.ts +0 -17
- package/dist/types/components/WyOverlay.d.ts +0 -6
- package/dist/types/components/WyPdfViewer.d.ts +0 -2
- package/dist/types/components/WyPoll.d.ts +0 -14
- package/dist/types/components/WyPortal.d.ts +0 -2
- package/dist/types/components/WyPost.d.ts +0 -42
- package/dist/types/components/WyPresence.d.ts +0 -2
- package/dist/types/components/WyPreview.d.ts +0 -11
- package/dist/types/components/WyReactions.d.ts +0 -6
- package/dist/types/components/WySheet.d.ts +0 -6
- package/dist/types/components/WySkeleton.d.ts +0 -2
- package/dist/types/components/WySpinner.d.ts +0 -2
- package/dist/types/components/WyTyping.d.ts +0 -2
- package/dist/types/components/WyUsersSearch.d.ts +0 -8
- package/dist/types/components/index.d.ts +0 -34
- package/dist/types/hooks/index.d.ts +0 -1
- package/dist/types/hooks/useWeavy.d.ts +0 -3
- package/dist/types/index.d.ts +0 -4
- package/dist/weavy.es5.esm.js +0 -1
- package/dist/weavy.es5.umd.cjs +0 -1
- package/dist/weavy.esm.js +0 -62092
- package/dist/weavy.umd.cjs +0 -12647
package/changelog.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# Changelog for Weavy
|
|
2
2
|
|
|
3
|
+
## v21.1.0
|
|
4
|
+
|
|
5
|
+
<time>2024-03-12</time>
|
|
6
|
+
|
|
7
|
+
* Fixed a problem with installation of lit-modal-portal in uikit-web.
|
|
8
|
+
* Fixed font-sizing and UI scaling in uikit-web.
|
|
9
|
+
* Fixed listing of mentions according to access in uikit-web.
|
|
10
|
+
* Added `--wy-font-size` and `--wy-rem` CSS variables for scaling the text and the UI in uikit-web.
|
|
11
|
+
* Deprecated `--wy-font-size-base` CSS variable in favor for `--wy-font-size`.
|
|
12
|
+
|
|
13
|
+
## v21.0.0
|
|
14
|
+
|
|
15
|
+
<time>2024-03-06</time>
|
|
16
|
+
|
|
17
|
+
* Added Comments building block.
|
|
18
|
+
* Added Messenger building block.
|
|
19
|
+
* Added support for ChatGPT AI bots.
|
|
20
|
+
* Added possibility for polls in chat messages.
|
|
21
|
+
* Added support for dynamic module loading in uikit-web.
|
|
22
|
+
* Added integration with Atlassian Confluence.
|
|
23
|
+
* Fixed ResizeObserver loop for Messenger.
|
|
24
|
+
* Fixed messages from self not being displayed in conversations.
|
|
25
|
+
* Improved default size for Messenger and conversations.
|
|
26
|
+
* Improved token handling in uikit-web.
|
|
27
|
+
* Improved destruction in uikit-web.
|
|
28
|
+
* Improved network state in uikit-web.
|
|
29
|
+
* Changed locales configuration in uikit-web.
|
|
30
|
+
|
|
31
|
+
###### Breaking changes
|
|
32
|
+
|
|
33
|
+
* Added constraint on directory name. It cannot contain whitespace and must contain at least one non-digit.
|
|
34
|
+
* Locales configuration has changed. The `localizedTemplates` property has been merged into the `locales` property. The `en` and `sv-SE` locales are enabled by default. The `localesUrl` has been removed. See Weavy docs for details.
|
|
35
|
+
|
|
3
36
|
## v20.0.0
|
|
4
37
|
|
|
5
38
|
<time>2024-02-08</time>
|
package/lib/hooks/useWeavy.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { useEffect, useMemo, useState } from "react";
|
|
2
2
|
import { Weavy } from "@weavy/uikit-web";
|
|
3
|
+
import type { WeavyContext } from "@weavy/uikit-web/dist/types/index";
|
|
3
4
|
import { WeavyOptions } from "@weavy/uikit-web/dist/types/types/weavy.types";
|
|
4
5
|
|
|
5
6
|
export function useWeavy(options: WeavyOptions) {
|
|
6
|
-
const [weavy, setWeavy] = useState<
|
|
7
|
+
const [weavy, setWeavy] = useState<WeavyContext>();
|
|
7
8
|
|
|
8
9
|
const cacheSafeOptions: WeavyOptions = {
|
|
9
10
|
...options,
|
|
10
11
|
cloudFilePickerUrl: options.cloudFilePickerUrl?.toString(),
|
|
11
|
-
|
|
12
|
-
localizedTemplates: useMemo(() => options.localizedTemplates, [options.localizedTemplates?.size]),
|
|
12
|
+
locales: useMemo(() => options.locales, [options.locales?.length]),
|
|
13
13
|
tokenUrl: options.tokenUrl?.toString(),
|
|
14
14
|
tokenFactory: useMemo(() => options.tokenFactory, [options.tokenFactory?.toString()]),
|
|
15
15
|
url: options.url?.toString(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weavy/uikit-react",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.1.0",
|
|
4
4
|
"author": "Weavy",
|
|
5
5
|
"description": "React components UI-kit for Weavy",
|
|
6
6
|
"homepage": "https://github.com/weavy/weavy-uikit-react",
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
|
-
"prepare": "run-p build",
|
|
27
26
|
"start": "run-p auth dev",
|
|
28
27
|
"dev": "vite --open",
|
|
29
28
|
"auth": "weavy auth-server",
|
|
@@ -33,7 +32,7 @@
|
|
|
33
32
|
},
|
|
34
33
|
"dependencies": {
|
|
35
34
|
"@lit/react": "^1.0.2",
|
|
36
|
-
"@weavy/uikit-web": "^
|
|
35
|
+
"@weavy/uikit-web": "^21.1.0"
|
|
37
36
|
},
|
|
38
37
|
"peerDependencies": {
|
|
39
38
|
"react": ">=16",
|
|
@@ -43,7 +42,7 @@
|
|
|
43
42
|
"@babel/preset-env": "^7.23.8",
|
|
44
43
|
"@babel/preset-react": "^7.23.3",
|
|
45
44
|
"@rollup/plugin-babel": "^6.0.4",
|
|
46
|
-
"@types/node": "^20.11.
|
|
45
|
+
"@types/node": "^20.11.20",
|
|
47
46
|
"@types/react": "^18.2.43",
|
|
48
47
|
"@types/react-dom": "^18.2.17",
|
|
49
48
|
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
package/tsconfig.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyChat as WyChatWC } from "@weavy/uikit-web";
|
|
3
|
-
import { RealtimeAppEventType, RealtimeMessageEventType, RealtimeReactionEventType } from "@weavy/uikit-web/dist/types/types/realtime.types";
|
|
4
|
-
export declare const WyChat: import("@lit/react").ReactWebComponent<WyChatWC, {
|
|
5
|
-
onWyMessageCreated: EventName<CustomEvent<RealtimeMessageEventType>>;
|
|
6
|
-
onWyReactionAdded: EventName<CustomEvent<RealtimeReactionEventType>>;
|
|
7
|
-
onWyReactionRemoved: EventName<CustomEvent<RealtimeReactionEventType>>;
|
|
8
|
-
onWyAppUpdated: EventName<CustomEvent<RealtimeAppEventType>>;
|
|
9
|
-
}>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyFiles as WyFilesWC } from "@weavy/uikit-web";
|
|
3
|
-
import { RealtimeFileEventType } from "@weavy/uikit-web/dist/types/types/realtime.types";
|
|
4
|
-
export declare const WyFiles: import("@lit/react").ReactWebComponent<WyFilesWC, {
|
|
5
|
-
onWyFileCreated: EventName<CustomEvent<RealtimeFileEventType>>;
|
|
6
|
-
onWyFileUpdated: EventName<CustomEvent<RealtimeFileEventType>>;
|
|
7
|
-
onWyFileTrashed: EventName<CustomEvent<RealtimeFileEventType>>;
|
|
8
|
-
onWyFileRestored: EventName<CustomEvent<RealtimeFileEventType>>;
|
|
9
|
-
onWyFileDeleted: EventName<CustomEvent<RealtimeFileEventType>>;
|
|
10
|
-
}>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyMessenger as WyMessengerWC } from "@weavy/uikit-web";
|
|
3
|
-
import { RealtimeAppEventType, RealtimeConversationDeliveredEventType, RealtimeConversationMarkedEventType, RealtimeMemberEventType, RealtimeMessageEventType } from "@weavy/uikit-web/dist/types/types/realtime.types";
|
|
4
|
-
export declare const WyMessenger: import("@lit/react").ReactWebComponent<WyMessengerWC, {
|
|
5
|
-
onWyMessageCreated: EventName<CustomEvent<RealtimeMessageEventType>>;
|
|
6
|
-
onWyAppCreated: EventName<CustomEvent<RealtimeAppEventType>>;
|
|
7
|
-
onWyConversationMarked: EventName<CustomEvent<RealtimeConversationMarkedEventType>>;
|
|
8
|
-
onWyConversationDelivered: EventName<CustomEvent<RealtimeConversationDeliveredEventType>>;
|
|
9
|
-
onWyMemberAdded: EventName<CustomEvent<RealtimeMemberEventType>>;
|
|
10
|
-
}>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyPosts as WyPostsWC } from "@weavy/uikit-web";
|
|
3
|
-
import { RealtimeCommentEventType, RealtimePostEventType, RealtimeReactionEventType } from "@weavy/uikit-web/dist/types/types/realtime.types";
|
|
4
|
-
export declare const WyPosts: import("@lit/react").ReactWebComponent<WyPostsWC, {
|
|
5
|
-
onWyPostCreated: EventName<CustomEvent<RealtimePostEventType>>;
|
|
6
|
-
onWyCommentCreated: EventName<CustomEvent<RealtimeCommentEventType>>;
|
|
7
|
-
onWyReactionAdded: EventName<CustomEvent<RealtimeReactionEventType>>;
|
|
8
|
-
onWyReactionRemoved: EventName<CustomEvent<RealtimeReactionEventType>>;
|
|
9
|
-
}>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyAttachment as WyAttachmentWC, WyAttachmentsList as WyAttachmentsListWC } from "@weavy/uikit-web";
|
|
3
|
-
import { FileType } from "@weavy/uikit-web/dist/types/types/files.types";
|
|
4
|
-
export declare const WyAttachment: import("@lit/react").ReactWebComponent<WyAttachmentWC, {}>;
|
|
5
|
-
export declare const WyAttachmentsList: import("@lit/react").ReactWebComponent<WyAttachmentsListWC, {
|
|
6
|
-
onFileOpen: EventName<CustomEvent<{
|
|
7
|
-
file: FileType;
|
|
8
|
-
}>>;
|
|
9
|
-
}>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyCloudFiles as WyCloudFilesWC } from "@weavy/uikit-web";
|
|
3
|
-
import { ExternalBlobType } from "@weavy/uikit-web/dist/types/types/files.types";
|
|
4
|
-
export declare const WyCloudFiles: import("@lit/react").ReactWebComponent<WyCloudFilesWC, {
|
|
5
|
-
onExternalBlobs: EventName<CustomEvent<{
|
|
6
|
-
externalBlobs: ExternalBlobType[] | null;
|
|
7
|
-
}>>;
|
|
8
|
-
onReleaseFocus: EventName<CustomEvent<any>>;
|
|
9
|
-
}>;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyComments as WyCommentsWC, WyComment as WyCommentWC, WyCommentView as WyCommentViewWC, WyCommentEdit as WyCommentEditWC, WyCommentEditor as WyCommentEditorWC, WyCommentTrashed as WyCommentTrashedWC } from "@weavy/uikit-web";
|
|
3
|
-
import { PollOptionType } from "@weavy/uikit-web/dist/types/types/polls.types";
|
|
4
|
-
export declare const WyComments: import("@lit/react").ReactWebComponent<WyCommentsWC, {}>;
|
|
5
|
-
export declare const WyComment: import("@lit/react").ReactWebComponent<WyCommentWC, {
|
|
6
|
-
onVote: EventName<CustomEvent<{
|
|
7
|
-
id: number;
|
|
8
|
-
parentId: number;
|
|
9
|
-
parentType: string;
|
|
10
|
-
}>>;
|
|
11
|
-
onSubscribe: EventName<CustomEvent<{
|
|
12
|
-
id: number;
|
|
13
|
-
subscribe: boolean;
|
|
14
|
-
}>>;
|
|
15
|
-
onTrash: EventName<CustomEvent<{
|
|
16
|
-
id: number;
|
|
17
|
-
}>>;
|
|
18
|
-
onRestore: EventName<CustomEvent<{
|
|
19
|
-
id: number;
|
|
20
|
-
}>>;
|
|
21
|
-
}>;
|
|
22
|
-
export declare const WyCommentView: import("@lit/react").ReactWebComponent<WyCommentViewWC, {
|
|
23
|
-
onVote: EventName<CustomEvent<{
|
|
24
|
-
id: number;
|
|
25
|
-
}>>;
|
|
26
|
-
onTrash: EventName<CustomEvent<{
|
|
27
|
-
id: number;
|
|
28
|
-
}>>;
|
|
29
|
-
onEdit: EventName<CustomEvent<{
|
|
30
|
-
edit: boolean;
|
|
31
|
-
}>>;
|
|
32
|
-
}>;
|
|
33
|
-
export declare const WyCommentEdit: import("@lit/react").ReactWebComponent<WyCommentEditWC, {
|
|
34
|
-
onEdit: EventName<CustomEvent<{
|
|
35
|
-
edit: boolean;
|
|
36
|
-
}>>;
|
|
37
|
-
}>;
|
|
38
|
-
export declare const WyCommentEditor: import("@lit/react").ReactWebComponent<WyCommentEditorWC, {
|
|
39
|
-
onSubmit: EventName<CustomEvent<{
|
|
40
|
-
text: string | undefined;
|
|
41
|
-
meetingId: number | undefined;
|
|
42
|
-
blobs: (number | undefined)[] | undefined;
|
|
43
|
-
attachments: number[];
|
|
44
|
-
pollOptions: PollOptionType[];
|
|
45
|
-
embed: number;
|
|
46
|
-
}>>;
|
|
47
|
-
}>;
|
|
48
|
-
export declare const WyCommentTrashed: import("@lit/react").ReactWebComponent<WyCommentTrashedWC, {
|
|
49
|
-
onRestore: EventName<CustomEvent<{
|
|
50
|
-
id: number;
|
|
51
|
-
}>>;
|
|
52
|
-
}>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyConversation as WyConversationWC, WyConversationNew as WyConversationNewWC } from "@weavy/uikit-web";
|
|
3
|
-
export declare const WyConversation: import("@lit/react").ReactWebComponent<WyConversationWC, {
|
|
4
|
-
onReleaseFocus: EventName<CustomEvent<any>>;
|
|
5
|
-
}>;
|
|
6
|
-
export declare const WyConversationNew: import("@lit/react").ReactWebComponent<WyConversationNewWC, {
|
|
7
|
-
onReleaseFocus: EventName<CustomEvent<any>>;
|
|
8
|
-
}>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyConversationList as WyConversationListWC, WyConversationListItem as WyConversationListItemWC } from "@weavy/uikit-web";
|
|
3
|
-
export declare const WyConversationList: import("@lit/react").ReactWebComponent<WyConversationListWC, {
|
|
4
|
-
onConversationSelected: EventName<CustomEvent<{
|
|
5
|
-
id: number | undefined;
|
|
6
|
-
}>>;
|
|
7
|
-
}>;
|
|
8
|
-
export declare const WyConversationListItem: import("@lit/react").ReactWebComponent<WyConversationListItemWC, {
|
|
9
|
-
onRefetch: EventName<CustomEvent<any>>;
|
|
10
|
-
onSelected: EventName<CustomEvent<{
|
|
11
|
-
id: number;
|
|
12
|
-
}>>;
|
|
13
|
-
onStar: EventName<CustomEvent<{
|
|
14
|
-
id: number;
|
|
15
|
-
star: boolean;
|
|
16
|
-
}>>;
|
|
17
|
-
onPin: EventName<CustomEvent<{
|
|
18
|
-
id: number;
|
|
19
|
-
pin: boolean;
|
|
20
|
-
}>>;
|
|
21
|
-
onMark: EventName<CustomEvent<{
|
|
22
|
-
id: number;
|
|
23
|
-
markAsRead: boolean;
|
|
24
|
-
messageId: number | undefined;
|
|
25
|
-
}>>;
|
|
26
|
-
onLeave: EventName<CustomEvent<{
|
|
27
|
-
id: number;
|
|
28
|
-
}>>;
|
|
29
|
-
}>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { WyDropdown as WyDropdownWC, WyDropdownItem as WyDropdownItemWC, WyDropdownOption as WyDropdownOptionWC, WyDropdownDivider as WyDropdownDividerWC } from "@weavy/uikit-web";
|
|
2
|
-
export declare const WyDropdown: import("@lit/react").ReactWebComponent<WyDropdownWC, {}>;
|
|
3
|
-
export declare const WyDropdownItem: import("@lit/react").ReactWebComponent<WyDropdownItemWC, {}>;
|
|
4
|
-
export declare const WyDropdownOption: import("@lit/react").ReactWebComponent<WyDropdownOptionWC, {}>;
|
|
5
|
-
export declare const WyDropdownDivider: import("@lit/react").ReactWebComponent<WyDropdownDividerWC, {}>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyEditor as WyEditorWC } from "@weavy/uikit-web";
|
|
3
|
-
import { PollOptionType } from "@weavy/uikit-web/dist/types/types/polls.types";
|
|
4
|
-
export declare const WyEditor: import("@lit/react").ReactWebComponent<WyEditorWC, {
|
|
5
|
-
onSubmit: EventName<CustomEvent<{
|
|
6
|
-
text: string | undefined;
|
|
7
|
-
meetingId: number | undefined;
|
|
8
|
-
blobs: (number | undefined)[] | undefined;
|
|
9
|
-
attachments: number[];
|
|
10
|
-
pollOptions: PollOptionType[];
|
|
11
|
-
embed: number;
|
|
12
|
-
}>>;
|
|
13
|
-
}>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyEmbed as WyEmbedWC } from "@weavy/uikit-web";
|
|
3
|
-
export declare const WyEmbed: import("@lit/react").ReactWebComponent<WyEmbedWC, {
|
|
4
|
-
onEmbedRemove: EventName<CustomEvent<{
|
|
5
|
-
id: number;
|
|
6
|
-
}>>;
|
|
7
|
-
onEmbedSwap: EventName<CustomEvent<any>>;
|
|
8
|
-
}>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyFileItem as WyFileItemWC } from "@weavy/uikit-web";
|
|
3
|
-
import { FileType } from "@weavy/uikit-web/dist/types/types/files.types";
|
|
4
|
-
export declare const WyFileItem: import("@lit/react").ReactWebComponent<WyFileItemWC, {
|
|
5
|
-
onEditName: EventName<CustomEvent<{
|
|
6
|
-
file: FileType;
|
|
7
|
-
}>>;
|
|
8
|
-
onRename: EventName<CustomEvent<{
|
|
9
|
-
file: FileType;
|
|
10
|
-
name: string;
|
|
11
|
-
}>>;
|
|
12
|
-
onTrash: EventName<CustomEvent<{
|
|
13
|
-
file: FileType;
|
|
14
|
-
}>>;
|
|
15
|
-
onRestore: EventName<CustomEvent<{
|
|
16
|
-
file: FileType;
|
|
17
|
-
}>>;
|
|
18
|
-
onDeleteForever: EventName<CustomEvent<{
|
|
19
|
-
file: FileType;
|
|
20
|
-
}>>;
|
|
21
|
-
onSubscribe: EventName<CustomEvent<{
|
|
22
|
-
file: FileType;
|
|
23
|
-
subscribe: boolean;
|
|
24
|
-
}>>;
|
|
25
|
-
}>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyFileMenu as WyFileMenuWC } from "@weavy/uikit-web";
|
|
3
|
-
import { FileType } from "@weavy/uikit-web/dist/types/types/files.types";
|
|
4
|
-
export declare const WyFileMenu: import("@lit/react").ReactWebComponent<WyFileMenuWC, {
|
|
5
|
-
onEditName: EventName<CustomEvent<{
|
|
6
|
-
file: FileType | undefined;
|
|
7
|
-
}>>;
|
|
8
|
-
onSubscribe: EventName<CustomEvent<{
|
|
9
|
-
file: FileType | undefined;
|
|
10
|
-
subscribe: boolean;
|
|
11
|
-
}>>;
|
|
12
|
-
onTrash: EventName<CustomEvent<{
|
|
13
|
-
file: FileType | undefined;
|
|
14
|
-
}>>;
|
|
15
|
-
onRestore: EventName<CustomEvent<{
|
|
16
|
-
file: FileType | undefined;
|
|
17
|
-
}>>;
|
|
18
|
-
onDeleteForever: EventName<CustomEvent<{
|
|
19
|
-
file: FileType | undefined;
|
|
20
|
-
}>>;
|
|
21
|
-
}>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyFileVersions as WyFileVersionsWC } from "@weavy/uikit-web";
|
|
3
|
-
import { FileType } from "@weavy/uikit-web/dist/types/types/files.types";
|
|
4
|
-
export declare const WyFileVersions: import("@lit/react").ReactWebComponent<WyFileVersionsWC, {
|
|
5
|
-
onFileVersionSelect: EventName<CustomEvent<{
|
|
6
|
-
versionFile: FileType;
|
|
7
|
-
}>>;
|
|
8
|
-
}>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyFilesAppbar as WyFilesAppbarWC } from "@weavy/uikit-web";
|
|
3
|
-
import { BlobType, ExternalBlobType, FileOrderType } from "@weavy/uikit-web/dist/types/types/files.types";
|
|
4
|
-
export declare const WyFilesAppbar: import("@lit/react").ReactWebComponent<WyFilesAppbarWC, {
|
|
5
|
-
onReleaseFocus: EventName<CustomEvent<any>>;
|
|
6
|
-
onUploadFiles: EventName<CustomEvent<{
|
|
7
|
-
files: FileList | null;
|
|
8
|
-
input: HTMLInputElement;
|
|
9
|
-
}>>;
|
|
10
|
-
onExternalBlobs: EventName<CustomEvent<{
|
|
11
|
-
externalBlobs: ExternalBlobType[] | null;
|
|
12
|
-
}>>;
|
|
13
|
-
onCreateFiles: EventName<CustomEvent<{
|
|
14
|
-
blobs: BlobType[] | null;
|
|
15
|
-
replace: boolean;
|
|
16
|
-
}>>;
|
|
17
|
-
onOrder: EventName<CustomEvent<{
|
|
18
|
-
order: FileOrderType;
|
|
19
|
-
}>>;
|
|
20
|
-
onView: EventName<CustomEvent<{
|
|
21
|
-
view: "grid" | "list";
|
|
22
|
-
}>>;
|
|
23
|
-
onShowTrashed: EventName<CustomEvent<{
|
|
24
|
-
showTrashed: boolean;
|
|
25
|
-
}>>;
|
|
26
|
-
onSubscribe: EventName<CustomEvent<{
|
|
27
|
-
subscribe: boolean;
|
|
28
|
-
}>>;
|
|
29
|
-
}>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyFilesList as WyFilesListWC } from "@weavy/uikit-web";
|
|
3
|
-
import { FileOrderType, FileType } from "@weavy/uikit-web/dist/types/types/files.types";
|
|
4
|
-
export declare const WyFilesList: import("@lit/react").ReactWebComponent<WyFilesListWC, {
|
|
5
|
-
onFileOpen: EventName<CustomEvent<{
|
|
6
|
-
file: FileType;
|
|
7
|
-
}>>;
|
|
8
|
-
onOrder: EventName<CustomEvent<{
|
|
9
|
-
order: FileOrderType;
|
|
10
|
-
}>>;
|
|
11
|
-
onEditName: EventName<CustomEvent<{
|
|
12
|
-
file: FileType;
|
|
13
|
-
}>>;
|
|
14
|
-
onRename: EventName<CustomEvent<{
|
|
15
|
-
file: FileType;
|
|
16
|
-
name: string;
|
|
17
|
-
}>>;
|
|
18
|
-
onTrash: EventName<CustomEvent<{
|
|
19
|
-
file: FileType;
|
|
20
|
-
}>>;
|
|
21
|
-
onRestore: EventName<CustomEvent<{
|
|
22
|
-
file: FileType;
|
|
23
|
-
}>>;
|
|
24
|
-
onDeleteForever: EventName<CustomEvent<{
|
|
25
|
-
file: FileType;
|
|
26
|
-
}>>;
|
|
27
|
-
onSubscribe: EventName<CustomEvent<{
|
|
28
|
-
file: FileType;
|
|
29
|
-
subscribe: boolean;
|
|
30
|
-
}>>;
|
|
31
|
-
}>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyImageGrid as WyImageGridWC } from "@weavy/uikit-web";
|
|
3
|
-
import { FileType } from "@weavy/uikit-web/dist/types/types/files.types";
|
|
4
|
-
export declare const WyImageGrid: import("@lit/react").ReactWebComponent<WyImageGridWC, {
|
|
5
|
-
onFileOpen: EventName<CustomEvent<{
|
|
6
|
-
file: FileType;
|
|
7
|
-
}>>;
|
|
8
|
-
}>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyMessage as WyMessageWC, WyMessages as WyMessagesWC, WyMessageEditor as WyMessageEditorWC } from "@weavy/uikit-web";
|
|
3
|
-
import { PollOptionType } from "@weavy/uikit-web/dist/types/types/polls.types";
|
|
4
|
-
export declare const WyMessage: import("@lit/react").ReactWebComponent<WyMessageWC, {}>;
|
|
5
|
-
export declare const WyMessages: import("@lit/react").ReactWebComponent<WyMessagesWC, {
|
|
6
|
-
onScrollToBottom: EventName<CustomEvent<any>>;
|
|
7
|
-
}>;
|
|
8
|
-
export declare const WyMessageEditor: import("@lit/react").ReactWebComponent<WyMessageEditorWC, {
|
|
9
|
-
onSubmit: EventName<CustomEvent<{
|
|
10
|
-
text: string | undefined;
|
|
11
|
-
meetingId: number | undefined;
|
|
12
|
-
blobs: (number | undefined)[] | undefined;
|
|
13
|
-
attachments: number[];
|
|
14
|
-
pollOptions: PollOptionType[];
|
|
15
|
-
embed: number;
|
|
16
|
-
}>>;
|
|
17
|
-
}>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyOverlay as WyOverlayWC } from "@weavy/uikit-web";
|
|
3
|
-
export declare const WyOverlay: import("@lit/react").ReactWebComponent<WyOverlayWC, {
|
|
4
|
-
onReleaseFocus: EventName<CustomEvent<any>>;
|
|
5
|
-
onRemoveModal: EventName<Event>;
|
|
6
|
-
}>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyPoll as WyPollWC, WyPollOption as WyPollOptionWC } from "@weavy/uikit-web";
|
|
3
|
-
export declare const WyPoll: import("@lit/react").ReactWebComponent<WyPollWC, {
|
|
4
|
-
onReleaseFocus: EventName<CustomEvent<any>>;
|
|
5
|
-
onVote: EventName<CustomEvent<{
|
|
6
|
-
id: number;
|
|
7
|
-
}>>;
|
|
8
|
-
}>;
|
|
9
|
-
export declare const WyPollOption: import("@lit/react").ReactWebComponent<WyPollOptionWC, {
|
|
10
|
-
onReleaseFocus: EventName<CustomEvent<any>>;
|
|
11
|
-
onVote: EventName<CustomEvent<{
|
|
12
|
-
id: number;
|
|
13
|
-
}>>;
|
|
14
|
-
}>;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyPost as WyPostWC, WyPostView as WyPostViewWC, WyPostEdit as WyPostEditWC, WyPostTrashed as WyPostTrashedWC } from "@weavy/uikit-web";
|
|
3
|
-
export declare const WyPost: import("@lit/react").ReactWebComponent<WyPostWC, {
|
|
4
|
-
onVote: EventName<CustomEvent<{
|
|
5
|
-
id: number;
|
|
6
|
-
parentId: number;
|
|
7
|
-
parentType: string;
|
|
8
|
-
}>>;
|
|
9
|
-
onSubscribe: EventName<CustomEvent<{
|
|
10
|
-
id: number;
|
|
11
|
-
subscribe: boolean;
|
|
12
|
-
}>>;
|
|
13
|
-
onTrash: EventName<CustomEvent<{
|
|
14
|
-
id: number;
|
|
15
|
-
}>>;
|
|
16
|
-
onRestore: EventName<CustomEvent<{
|
|
17
|
-
id: number;
|
|
18
|
-
}>>;
|
|
19
|
-
}>;
|
|
20
|
-
export declare const WyPostView: import("@lit/react").ReactWebComponent<WyPostViewWC, {
|
|
21
|
-
onVote: EventName<CustomEvent<{
|
|
22
|
-
id: number;
|
|
23
|
-
}>>;
|
|
24
|
-
onSubscribe: EventName<CustomEvent<{
|
|
25
|
-
id: number;
|
|
26
|
-
subscribe: boolean;
|
|
27
|
-
}>>;
|
|
28
|
-
onTrash: EventName<CustomEvent<{
|
|
29
|
-
id: number;
|
|
30
|
-
}>>;
|
|
31
|
-
onEdit: EventName<CustomEvent<{
|
|
32
|
-
edit: boolean;
|
|
33
|
-
}>>;
|
|
34
|
-
}>;
|
|
35
|
-
export declare const WyPostEdit: import("@lit/react").ReactWebComponent<WyPostEditWC, {
|
|
36
|
-
onEdit: EventName<CustomEvent<{
|
|
37
|
-
edit: boolean;
|
|
38
|
-
}>>;
|
|
39
|
-
}>;
|
|
40
|
-
export declare const WyPostTrashed: import("@lit/react").ReactWebComponent<WyPostTrashedWC, {
|
|
41
|
-
onRestore: EventName<CustomEvent<any>>;
|
|
42
|
-
}>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyPreview as WyPreviewWC, WyPreviewItem as WyPreviewItemWC, WyPreviewEmbed as WyPreviewEmbedWC, WyPreviewIcon as WyPreviewIconWC, WyPreviewImage as WyPreviewImageWC, WyPreviewMedia as WyPreviewMediaWC, WyPreviewText as WyPreviewTextWC } from "@weavy/uikit-web";
|
|
3
|
-
export declare const WyPreview: import("@lit/react").ReactWebComponent<WyPreviewWC, {
|
|
4
|
-
onReleaseFocus: EventName<CustomEvent<any>>;
|
|
5
|
-
}>;
|
|
6
|
-
export declare const WyPreviewItem: import("@lit/react").ReactWebComponent<WyPreviewItemWC, {}>;
|
|
7
|
-
export declare const WyPreviewEmbed: import("@lit/react").ReactWebComponent<WyPreviewEmbedWC, {}>;
|
|
8
|
-
export declare const WyPreviewIcon: import("@lit/react").ReactWebComponent<WyPreviewIconWC, {}>;
|
|
9
|
-
export declare const WyPreviewImage: import("@lit/react").ReactWebComponent<WyPreviewImageWC, {}>;
|
|
10
|
-
export declare const WyPreviewMedia: import("@lit/react").ReactWebComponent<WyPreviewMediaWC, {}>;
|
|
11
|
-
export declare const WyPreviewText: import("@lit/react").ReactWebComponent<WyPreviewTextWC, {}>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyReactions as WyReactionsWC, WyReactionItem as WyReactionItemWC } from "@weavy/uikit-web";
|
|
3
|
-
export declare const WyReactions: import("@lit/react").ReactWebComponent<WyReactionsWC, {
|
|
4
|
-
onReleaseFocus: EventName<CustomEvent<any>>;
|
|
5
|
-
}>;
|
|
6
|
-
export declare const WyReactionItem: import("@lit/react").ReactWebComponent<WyReactionItemWC, {}>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WySheet as WySheetWC } from "@weavy/uikit-web";
|
|
3
|
-
export declare const WySheet: import("@lit/react").ReactWebComponent<WySheetWC, {
|
|
4
|
-
onReleaseFocus: EventName<CustomEvent<any>>;
|
|
5
|
-
onRemoveModal: EventName<Event>;
|
|
6
|
-
}>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { EventName } from "@lit/react";
|
|
2
|
-
import { WyUsersSearch as WyUsersSearchWC } from "@weavy/uikit-web";
|
|
3
|
-
import { MemberType } from "@weavy/uikit-web/dist/types/types/members.types";
|
|
4
|
-
export declare const WyUsersSearch: import("@lit/react").ReactWebComponent<WyUsersSearchWC, {
|
|
5
|
-
onSubmit: EventName<CustomEvent<{
|
|
6
|
-
members: MemberType[];
|
|
7
|
-
}>>;
|
|
8
|
-
}>;
|