-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathWebPlatform.alusus
More file actions
119 lines (113 loc) · 4.03 KB
/
WebPlatform.alusus
File metadata and controls
119 lines (113 loc) · 4.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/*
* Copyright (C) 2026 Sarmad Abdullah
*
* This file is part of Alusus WebPlatform library.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <https://www.gnu.org/licenses/>.
*/
import "Srl/Console";
import "Srl/String";
import "Srl/StringBuilder";
import "Srl/Array";
import "Srl/System";
import "Srl/Fs";
import "Srl/refs";
import "Srl/errors";
import "Core/Data";
import "Spp";
import "Spp/Ast";
import "Build";
import "Apm";
import "closure";
Apm.importFile("Alusus/Http");
Apm.importFile("Alusus/Json");
Apm.importFile("Alusus/MarkdownTranslator");
Apm.importFile("Alusus/Promises");
import "WebPlatform/server";
import "WebPlatform/browser_api";
import "WebPlatform/frontend_helpers";
import "WebPlatform/Styling/Color";
import "WebPlatform/Styling/Length";
import "WebPlatform/Styling/Length4";
import "WebPlatform/Styling/Transition";
import "WebPlatform/Styling/Transform";
import "WebPlatform/Styling/Dimensions";
import "WebPlatform/Styling/Rectangle";
import "WebPlatform/Styling/Background";
import "WebPlatform/Styling/Flex";
import "WebPlatform/Styling/BoxShadow";
import "WebPlatform/Styling/TextShadow";
import "WebPlatform/Styling/Style";
import "WebPlatform/Styling/StyleSet";
import "WebPlatform/Styling/Animation";
import "WebPlatform/Styling/enums";
import "WebPlatform/Widgets/Widget";
import "WebPlatform/Widgets/BasicWidget";
import "WebPlatform/Widgets/Box";
import "WebPlatform/Widgets/Text";
import "WebPlatform/Widgets/Hyperlink";
import "WebPlatform/Widgets/Image";
import "WebPlatform/Widgets/Picture";
import "WebPlatform/Widgets/Button";
import "WebPlatform/Widgets/Input";
import "WebPlatform/Widgets/TextInput";
import "WebPlatform/Widgets/RadioButton";
import "WebPlatform/Widgets/CheckBox";
import "WebPlatform/Widgets/Select";
import "WebPlatform/Widgets/Video";
import "WebPlatform/Widgets/Canvas";
import "WebPlatform/Widgets/DocView";
import "WebPlatform/Widgets/Browser";
import "WebPlatform/Components/Component";
import "WebPlatform/Components/Switcher";
import "WebPlatform/Components/RoutingSwitcher";
import "WebPlatform/Components/Stack";
import "WebPlatform/Components/RoutingStack";
import "WebPlatform/Components/SlidingPanel";
import "WebPlatform/Components/EmbeddedSvg";
import "WebPlatform/Resources/ImageResource";
import "WebPlatform/Resources/CanvasResource";
import "WebPlatform/Resources/AudioResource";
import "WebPlatform/Utils/Signal";
import "WebPlatform/Utils/string_operations";
import "WebPlatform/Utils/file_operations";
import "WebPlatform/Utils/RegExp";
import "WebPlatform/Utils/SafeRequest";
import "WebPlatform/Utils/SafeTimer";
import "WebPlatform/Utils/SafeTimeout";
import "WebPlatform/EventHandling/event_handlers";
import "WebPlatform/EventHandling/dom_events";
import "WebPlatform/EventHandling/dom_event_signals";
import "WebPlatform/EventHandling/event_loop";
import "WebPlatform/Drawing";
import "WebPlatform/Window";
import "WebPlatform/Storage";
import "WebPlatform/routing";
import "WebPlatform/async_operations";
import "WebPlatform/i18n";
@merge module WebPlatform {
use Srl;
use Promises;
def TEMP_UI_ENDPOINTS_PATH: "/tmp/WebPlatform/";
def webPlatformPath: String = getThisSourceDirectory[];
func getBuildDependencies(): Array[String] {
return Http.getBuildDependencies();
}
module Errors {
def AUDIO_LOAD: "webplatform_audio_load";
def IMAGE_LOAD: "webplatform_image_load";
def FONT_LOAD: "webplatform_font_load";
def JS_SCRIPT_LOAD: "webplatform_js_script_load";
}
}