2021-10-01 11:30:42 +02:00
|
|
|
/*
|
|
|
|
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 17:23:36 +01:00
|
|
|
export {Client, LoadStatus} from "./matrix/Client.js";
|
2022-02-17 09:47:57 +01:00
|
|
|
export {RoomStatus} from "./matrix/room/common";
|
2021-10-01 11:30:42 +02:00
|
|
|
// export main view & view models
|
2022-02-22 07:11:36 +01:00
|
|
|
export {createNavigation, createRouter} from "./domain/navigation/index";
|
2021-10-01 11:30:42 +02:00
|
|
|
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 14:27:08 +02:00
|
|
|
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 11:30:42 +02:00
|
|
|
export {TimelineView} from "./platform/web/ui/session/room/TimelineView";
|
2022-04-08 15:01:06 +02:00
|
|
|
export {viewClassForTile} from "./platform/web/ui/session/room/common";
|
2022-04-07 17:19:43 +02:00
|
|
|
export type {TileViewConstructor, ViewClassForEntryFn} from "./platform/web/ui/session/room/TimelineView";
|
2022-04-08 14:27:08 +02:00
|
|
|
// 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 13:58:17 +01:00
|
|
|
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 17:53:59 +01:00
|
|
|
export {ViewModel} from "./domain/ViewModel";
|
2022-02-04 13:58:17 +01:00
|
|
|
export {LoadingView} from "./platform/web/ui/general/LoadingView.js";
|
|
|
|
export {AvatarView} from "./platform/web/ui/AvatarView.js";
|
2022-02-28 12:49:01 +01:00
|
|
|
export {RoomType} from "./matrix/room/common";
|
|
|
|
export {EventEmitter} from "./utils/EventEmitter";
|
|
|
|
export {Disposables} from "./utils/Disposables";
|
2022-03-01 15:41:44 +01:00
|
|
|
// these should eventually be moved to another library
|
|
|
|
export {
|
|
|
|
ObservableArray,
|
|
|
|
SortedArray,
|
|
|
|
MappedList,
|
|
|
|
AsyncMappedList,
|
|
|
|
ConcatList,
|
2022-08-20 22:39:39 +02:00
|
|
|
} from "./observable";
|
2022-03-01 15:42:04 +01:00
|
|
|
export {
|
|
|
|
BaseObservableValue,
|
|
|
|
ObservableValue,
|
|
|
|
RetainedObservableValue
|
|
|
|
} from "./observable/ObservableValue";
|