2021-10-01 15:00:42 +05:30
|
|
|
/*
|
|
|
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
export {Platform} from "./platform/web/Platform.js";
|
2021-12-22 21:53:36 +05:30
|
|
|
export {Client, LoadStatus} from "./matrix/Client.js";
|
2022-02-17 14:17:57 +05:30
|
|
|
export {RoomStatus} from "./matrix/room/common";
|
2021-10-01 15:00:42 +05:30
|
|
|
// export main view & view models
|
2021-12-22 21:53:36 +05:30
|
|
|
export {createNavigation, createRouter} from "./domain/navigation/index.js";
|
2021-10-01 15:00:42 +05:30
|
|
|
export {RootViewModel} from "./domain/RootViewModel.js";
|
|
|
|
export {RootView} from "./platform/web/ui/RootView.js";
|
|
|
|
export {SessionViewModel} from "./domain/session/SessionViewModel.js";
|
|
|
|
export {SessionView} from "./platform/web/ui/session/SessionView.js";
|
|
|
|
export {RoomViewModel} from "./domain/session/room/RoomViewModel.js";
|
|
|
|
export {RoomView} from "./platform/web/ui/session/room/RoomView.js";
|
|
|
|
export {TimelineViewModel} from "./domain/session/room/timeline/TimelineViewModel.js";
|
2022-04-08 17:57:08 +05:30
|
|
|
export {tileClassForEntry} from "./domain/session/room/timeline/tiles/index";
|
|
|
|
export type {TimelineEntry, TileClassForEntryFn, Options, TileConstructor} from "./domain/session/room/timeline/tiles/index";
|
|
|
|
// export timeline tile view models
|
|
|
|
export {GapTile} from "./domain/session/room/timeline/tiles/GapTile.js";
|
|
|
|
export {TextTile} from "./domain/session/room/timeline/tiles/TextTile.js";
|
|
|
|
export {RedactedTile} from "./domain/session/room/timeline/tiles/RedactedTile.js";
|
|
|
|
export {ImageTile} from "./domain/session/room/timeline/tiles/ImageTile.js";
|
|
|
|
export {VideoTile} from "./domain/session/room/timeline/tiles/VideoTile.js";
|
|
|
|
export {FileTile} from "./domain/session/room/timeline/tiles/FileTile.js";
|
|
|
|
export {LocationTile} from "./domain/session/room/timeline/tiles/LocationTile.js";
|
|
|
|
export {RoomNameTile} from "./domain/session/room/timeline/tiles/RoomNameTile.js";
|
|
|
|
export {RoomMemberTile} from "./domain/session/room/timeline/tiles/RoomMemberTile.js";
|
|
|
|
export {EncryptedEventTile} from "./domain/session/room/timeline/tiles/EncryptedEventTile.js";
|
|
|
|
export {EncryptionEnabledTile} from "./domain/session/room/timeline/tiles/EncryptionEnabledTile.js";
|
|
|
|
export {MissingAttachmentTile} from "./domain/session/room/timeline/tiles/MissingAttachmentTile.js";
|
|
|
|
export {SimpleTile} from "./domain/session/room/timeline/tiles/SimpleTile.js";
|
|
|
|
|
2021-10-01 15:00:42 +05:30
|
|
|
export {TimelineView} from "./platform/web/ui/session/room/TimelineView";
|
2022-04-08 18:31:06 +05:30
|
|
|
export {viewClassForTile} from "./platform/web/ui/session/room/common";
|
2022-04-07 20:49:43 +05:30
|
|
|
export type {TileViewConstructor, ViewClassForEntryFn} from "./platform/web/ui/session/room/TimelineView";
|
2022-04-08 17:57:08 +05:30
|
|
|
// export timeline tile views
|
|
|
|
export {AnnouncementView} from "./platform/web/ui/session/room/timeline/AnnouncementView.js";
|
|
|
|
export {BaseMediaView} from "./platform/web/ui/session/room/timeline/BaseMediaView.js";
|
|
|
|
export {BaseMessageView} from "./platform/web/ui/session/room/timeline/BaseMessageView.js";
|
|
|
|
export {FileView} from "./platform/web/ui/session/room/timeline/FileView.js";
|
|
|
|
export {GapView} from "./platform/web/ui/session/room/timeline/GapView.js";
|
|
|
|
export {ImageView} from "./platform/web/ui/session/room/timeline/ImageView.js";
|
|
|
|
export {LocationView} from "./platform/web/ui/session/room/timeline/LocationView.js";
|
|
|
|
export {MissingAttachmentView} from "./platform/web/ui/session/room/timeline/MissingAttachmentView.js";
|
|
|
|
export {ReactionsView} from "./platform/web/ui/session/room/timeline/ReactionsView.js";
|
|
|
|
export {RedactedView} from "./platform/web/ui/session/room/timeline/RedactedView.js";
|
|
|
|
export {ReplyPreviewView} from "./platform/web/ui/session/room/timeline/ReplyPreviewView.js";
|
|
|
|
export {TextMessageView} from "./platform/web/ui/session/room/timeline/TextMessageView.js";
|
|
|
|
export {VideoView} from "./platform/web/ui/session/room/timeline/VideoView.js";
|
|
|
|
|
2022-02-04 18:28:17 +05:30
|
|
|
export {Navigation} from "./domain/navigation/Navigation.js";
|
|
|
|
export {ComposerViewModel} from "./domain/session/room/ComposerViewModel.js";
|
|
|
|
export {MessageComposer} from "./platform/web/ui/session/room/MessageComposer.js";
|
|
|
|
export {TemplateView} from "./platform/web/ui/general/TemplateView";
|
2022-02-14 22:23:59 +05:30
|
|
|
export {ViewModel} from "./domain/ViewModel";
|
2022-02-04 18:28:17 +05:30
|
|
|
export {LoadingView} from "./platform/web/ui/general/LoadingView.js";
|
|
|
|
export {AvatarView} from "./platform/web/ui/AvatarView.js";
|
2022-02-28 17:19:01 +05:30
|
|
|
export {RoomType} from "./matrix/room/common";
|
|
|
|
export {EventEmitter} from "./utils/EventEmitter";
|
|
|
|
export {Disposables} from "./utils/Disposables";
|
2022-04-14 01:38:33 +05:30
|
|
|
export {LocalMedia} from "./matrix/calls/LocalMedia";
|
2022-03-01 20:11:44 +05:30
|
|
|
// these should eventually be moved to another library
|
|
|
|
export {
|
|
|
|
ObservableArray,
|
|
|
|
SortedArray,
|
|
|
|
MappedList,
|
|
|
|
AsyncMappedList,
|
|
|
|
ConcatList,
|
|
|
|
ObservableMap
|
|
|
|
} from "./observable/index";
|
2022-03-17 16:00:40 +05:30
|
|
|
export {BaseObservableValue} from "./observable/value/BaseObservableValue";
|
|
|
|
export {ObservableValue} from "./observable/value/ObservableValue";
|
|
|
|
export {RetainedObservableValue} from "./observable/value/RetainedObservableValue";
|