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";
|
|
|
|
export {TimelineView} from "./platform/web/ui/session/room/TimelineView";
|
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-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-01 20:12:04 +05:30
|
|
|
export {
|
|
|
|
BaseObservableValue,
|
|
|
|
ObservableValue,
|
|
|
|
RetainedObservableValue
|
|
|
|
} from "./observable/ObservableValue";
|