@@ -3,28 +3,26 @@ package(default_visibility = ["//visibility:public"])
33load ("@io_bazel_rules_closure//closure:defs.bzl" , "closure_js_binary" , "closure_js_library" , "closure_js_test" )
44
55closure_js_library (
6- name = "component " ,
6+ name = "core " ,
77 srcs = [
8- "app.js" ,
9- "component.js" ,
10- "route.js" ,
11- "route/event.js" ,
12- "router.js" ,
8+ "core.js" ,
139 ],
1410 deps = [
1511 ":history" ,
1612 ":keyboard" ,
1713 ":injector" ,
1814 "@io_bazel_rules_closure//closure/library/asserts" ,
1915 "@io_bazel_rules_closure//closure/library/dom" ,
20- "@io_bazel_rules_closure//closure/library/events:event " ,
16+ "@io_bazel_rules_closure//closure/library/events" ,
2117 "@io_bazel_rules_closure//closure/library/events:eventhandler" ,
2218 "@io_bazel_rules_closure//closure/library/events:eventtarget" ,
2319 "@io_bazel_rules_closure//closure/library/fx:dom" ,
2420 "@io_bazel_rules_closure//closure/library/fx:easing" ,
21+ "@io_bazel_rules_closure//closure/library/history:event" ,
2522 "@io_bazel_rules_closure//closure/library/history:eventtype" ,
2623 "@io_bazel_rules_closure//closure/library/object" ,
2724 "@io_bazel_rules_closure//closure/library/promise" ,
25+ "@io_bazel_rules_closure//closure/library/promise:resolver" ,
2826 "@io_bazel_rules_closure//closure/library/string" ,
2927 "@io_bazel_rules_closure//closure/library/style" ,
3028 "@io_bazel_rules_closure//closure/library/ui:component" ,
@@ -46,6 +44,7 @@ closure_js_library(
4644 "@io_bazel_rules_closure//closure/library/events:event" ,
4745 "@io_bazel_rules_closure//closure/library/events:eventtarget" ,
4846 "@io_bazel_rules_closure//closure/library/events:eventtype" ,
47+ "@io_bazel_rules_closure//closure/library/history:event" ,
4948 "@io_bazel_rules_closure//closure/library/history:eventtype" ,
5049 "@io_bazel_rules_closure//closure/library/history:html5history" ,
5150 "@io_bazel_rules_closure//closure/library/string" ,
@@ -71,8 +70,9 @@ closure_js_library(
7170 "template.js" ,
7271 ],
7372 deps = [
74- ":component " ,
73+ ":core " ,
7574 "@io_bazel_rules_closure//closure/library/soy" ,
75+ "@io_bazel_rules_closure//closure/library/dom" ,
7676 ],
7777)
7878
@@ -85,7 +85,7 @@ closure_js_library(
8585 "tabs.js" ,
8686 ],
8787 deps = [
88- ":component " ,
88+ ":core " ,
8989 "@io_bazel_rules_closure//closure/library/asserts" ,
9090 "@io_bazel_rules_closure//closure/library/dom" ,
9191 "@io_bazel_rules_closure//closure/library/dom:classlist" ,
@@ -105,7 +105,9 @@ closure_js_library(
105105 "@io_bazel_rules_closure//closure/library/dom" ,
106106 "@io_bazel_rules_closure//closure/library/math:coordinate" ,
107107 "@io_bazel_rules_closure//closure/library/style" ,
108+ "@io_bazel_rules_closure//closure/library/events" ,
108109 "@io_bazel_rules_closure//closure/library/ui:component" ,
110+ "@io_bazel_rules_closure//closure/library/ui:container" ,
109111 "@io_bazel_rules_closure//closure/library/ui:menu" ,
110112 "@io_bazel_rules_closure//closure/library/ui:menubutton" ,
111113 "@io_bazel_rules_closure//closure/library/ui:submenu" ,
@@ -119,38 +121,28 @@ closure_js_library(
119121 "syntax.js" ,
120122 ],
121123 deps = [
122- ":component " ,
124+ ":core " ,
123125 "@io_bazel_rules_closure//closure/library/asserts" ,
124126 "@io_bazel_rules_closure//closure/library/dom" ,
125127 ],
126128)
127129
128- # closure_js_library(
129- # name = "app",
130- # srcs = [
131- # ],
132- # deps = [
133- # ":component",
134- # ],
135- # )
136130
137131closure_js_library (
138132 name = "injector" ,
139133 srcs = [
140134 "injector.js" ,
141135 ],
142136 deps = [
143- # ":component ",
137+ # ":core ",
144138 ],
145139)
146140
147141closure_js_library (
148142 name = "ui" ,
149- # srcs = [
150- # ],
151143 exports = [
152144 ":injector" ,
153- ":component " ,
145+ ":core " ,
154146 ":history" ,
155147 ":keyboard" ,
156148 ":menushield" ,
@@ -185,7 +177,7 @@ closure_js_test(
185177 ],
186178 entry_points = ["goog:stack.ui.RouteTest" ],
187179 deps = [
188- ":component " ,
180+ ":core " ,
189181 ":select" ,
190182 ":app" ,
191183 # "@io_bazel_rules_closure//closure/library",
0 commit comments