/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/material/table/BUILD.bazel
136 строк
3 KB
Kristiyan Kostadinov
build: enable AoT compilation for all tests (#31930)
26 сен 2025, 23:25
Не верифицирован
26 сен 2025, 23:25
a2383cf
Код
Авторство
О чём код?
load( "//tools:defaults.bzl", "extract_tokens", "markdown_to_html", "ng_project", "ng_web_test_suite", "sass_binary", "sass_library", ) package(default_visibility = ["//visibility:public"]) sass_library( name = "m3", srcs = [ "_m3-table.scss", ], deps = [ "//src/material/core/style:sass_utils", "//src/material/core/tokens:m3_utils", ], ) sass_library( name = "m2", srcs = [ "_m2-table.scss", ], deps = [ "//src/material/core/style:elevation", "//src/material/core/style:sass_utils", "//src/material/core/theming:_inspection", "//src/material/core/tokens:m2_utils", ], ) sass_library( name = "theme", srcs = [ "_table-theme.scss", ], deps = [ ":m2", "//src/material/core/style:sass_utils", "//src/material/core/theming", "//src/material/core/theming:_inspection", "//src/material/core/theming:_validation", "//src/material/core/tokens:token_utils", "//src/material/core/typography", ], ) sass_library( name = "flex_sass", srcs = [ "_table-flex-styles.scss", ], ) sass_binary( name = "css", src = "table.scss", deps = [ ":flex_sass", ":m2", "//src/material/core/style:vendor_prefixes", "//src/material/core/tokens:token_utils", ], ) ng_project( name = "table", srcs = [ "cell.ts", "index.ts", "public-api.ts", "row.ts", "table.ts", "table-data-source.ts", "table-module.ts", "text-column.ts", ], assets = [":css"], deps = [ "//:node_modules/@angular/common", "//:node_modules/@angular/core", "//:node_modules/rxjs", "//src/cdk/table", "//src/material/core", "//src/material/paginator", "//src/material/sort", ], ) ########### # Testing ########### ng_project( name = "table_tests_lib", testonly = True, srcs = glob( ["**/*.spec.ts"], ), deps = [ ":table", "//:node_modules/@angular/core", "//:node_modules/@angular/platform-browser", "//:node_modules/rxjs", "//src/cdk/table", "//src/material/paginator", "//src/material/sort", ], ) ng_web_test_suite( name = "unit_tests", deps = [ ":table_tests_lib", ], ) markdown_to_html( name = "overview", srcs = [":table.md"], ) extract_tokens( name = "tokens", srcs = [":theme"], ) filegroup( name = "source-files", srcs = glob(["**/*.ts"]), )