|
1 |
| -import { htmlProperty, LabelBase, lineBreakProperty, maxLinesProperty, textShadowProperty, VerticalTextAlignment, verticalTextAlignmentProperty } from './label-common'; |
2 |
| -// import { backgroundColorProperty } from 'tns-core-modules/ui/page/page'; |
3 |
| -import { TextTransform, VerticalAlignment, verticalAlignmentProperty, WhiteSpace, whiteSpaceProperty } from 'tns-core-modules/ui/text-base/text-base'; |
| 1 | +import * as application from 'tns-core-modules/application'; |
| 2 | +import * as fs from 'tns-core-modules/file-system'; |
| 3 | +import { categories as traceCategories, isEnabled as traceEnabled, messageType as traceMessageType, write as traceWrite } from 'tns-core-modules/trace'; |
4 | 4 | import { Font } from 'tns-core-modules/ui/styling/font';
|
| 5 | +import { FontWeight, genericFontFamilies, parseFontFamily } from 'tns-core-modules/ui/styling/font-common'; |
| 6 | +// import { backgroundColorProperty } from 'tns-core-modules/ui/page/page'; |
| 7 | +import { TextTransform, WhiteSpace, whiteSpaceProperty } from 'tns-core-modules/ui/text-base/text-base'; |
5 | 8 | import { layout } from 'tns-core-modules/utils/utils';
|
| 9 | +import { TextShadow } from './label'; |
| 10 | +import { htmlProperty, LabelBase, lineBreakProperty, maxLinesProperty, textShadowProperty, VerticalTextAlignment, verticalTextAlignmentProperty } from './label-common'; |
6 | 11 |
|
7 | 12 | Font.prototype.getAndroidTypeface = function() {
|
8 | 13 | if (!this._typeface) {
|
@@ -35,11 +40,6 @@ function ContentPackageName() {
|
35 | 40 | }
|
36 | 41 | return _ContentPackageName;
|
37 | 42 | }
|
38 |
| -import * as application from 'tns-core-modules/application'; |
39 |
| -import * as fs from 'tns-core-modules/file-system'; |
40 |
| -import { categories as traceCategories, isEnabled as traceEnabled, messageType as traceMessageType, write as traceWrite } from 'tns-core-modules/trace'; |
41 |
| -import { Font as FontBase, FontWeight, genericFontFamilies, parseFontFamily } from 'tns-core-modules/ui/styling/font-common'; |
42 |
| -import { TextShadow } from './label'; |
43 | 43 | let appAssets: android.content.res.AssetManager;
|
44 | 44 | const typefaceCache = new Map<string, android.graphics.Typeface>();
|
45 | 45 | const FONTS_BASE_PATH = '/fonts/';
|
|
0 commit comments