xaml-ui 1.0.13 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/xaml-ui.mjs +122 -9
- package/fesm2022/xaml-ui.mjs.map +1 -1
- package/lib/Common.d.ts +1 -0
- package/lib/status-and-info/ProgressBar.d.ts +15 -0
- package/lib/status-and-info/ProgressRing.d.ts +17 -0
- package/lib/text/TextBox.d.ts +5 -2
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
package/lib/Common.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export type TextTrimming = 'None' | 'CharacterEllipsis' | 'Clip';
|
|
|
12
12
|
export type TextWrapping = 'NoWrap' | 'Wrap';
|
|
13
13
|
export type FlyoutPlacementMode = 'Top' | 'Bottom' | 'Left' | 'Right' | 'TopEdgeAlignedLeft' | 'TopEdgeAlignedRight' | 'BottomEdgeAlignedLeft' | 'BottomEdgeAlignedRight' | 'LeftEdgeAlignedTop' | 'LeftEdgeAlignedBottom' | 'RightEdgeAlignedTop' | 'RightEdgeAlignedBottom' | 'Cover';
|
|
14
14
|
export type Stretch = 'None' | 'Fill' | 'Uniform' | 'UniformToFill';
|
|
15
|
+
export type UpdateTrigger = 'PropertyChanged' | 'LostFocus';
|
|
15
16
|
export declare function toJustification(value: HorizontalAlignment): string;
|
|
16
17
|
export declare function toAlignment(value: VerticalAlignment): "flex-start" | "center" | "flex-end" | "stretch";
|
|
17
18
|
export declare function resume_after(timeout: number): Promise<void>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FrameworkElementComponent } from "../FrameworkElement";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ProgressBarComponent extends FrameworkElementComponent {
|
|
4
|
+
Minimum: number;
|
|
5
|
+
Maximum: number;
|
|
6
|
+
Value: number;
|
|
7
|
+
IsIndeterminate: boolean;
|
|
8
|
+
get indicatorStyle(): {
|
|
9
|
+
width?: undefined;
|
|
10
|
+
} | {
|
|
11
|
+
width: string;
|
|
12
|
+
};
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "ProgressBar", never, { "Minimum": { "alias": "Minimum"; "required": false; }; "Maximum": { "alias": "Maximum"; "required": false; }; "Value": { "alias": "Value"; "required": false; }; "IsIndeterminate": { "alias": "IsIndeterminate"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FrameworkElementComponent } from "../FrameworkElement";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ProgressRingComponent extends FrameworkElementComponent {
|
|
4
|
+
Minimum: number;
|
|
5
|
+
Maximum: number;
|
|
6
|
+
Value: number;
|
|
7
|
+
IsIndeterminate: boolean;
|
|
8
|
+
get indeterminateClass(): boolean;
|
|
9
|
+
protected readonly _size = 40;
|
|
10
|
+
protected readonly _radius = 16;
|
|
11
|
+
protected readonly _strokeWidth = 4;
|
|
12
|
+
protected readonly _circumference: number;
|
|
13
|
+
constructor();
|
|
14
|
+
get dashOffset(): number;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressRingComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressRingComponent, "ProgressRing", never, { "Minimum": { "alias": "Minimum"; "required": false; }; "Maximum": { "alias": "Maximum"; "required": false; }; "Value": { "alias": "Value"; "required": false; }; "IsIndeterminate": { "alias": "IsIndeterminate"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
package/lib/text/TextBox.d.ts
CHANGED
|
@@ -1,22 +1,25 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { FrameworkElementComponent } from "../FrameworkElement";
|
|
3
|
-
import { TextAlignment, TextWrapping } from "../Common";
|
|
3
|
+
import { TextAlignment, TextWrapping, UpdateTrigger } from "../Common";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TextBoxComponent extends FrameworkElementComponent {
|
|
6
6
|
IsEnabled: boolean;
|
|
7
7
|
PlaceholderText: string;
|
|
8
8
|
TextAlignment?: TextAlignment;
|
|
9
9
|
TextWrapping: TextWrapping;
|
|
10
|
+
UpdateTrigger: UpdateTrigger;
|
|
10
11
|
private _input;
|
|
11
12
|
private _text;
|
|
12
13
|
get Text(): string;
|
|
13
14
|
set Text(value: string);
|
|
14
15
|
TextChange: EventEmitter<string>;
|
|
15
16
|
protected onInput(event: Event): void;
|
|
17
|
+
protected onBlur(event: FocusEvent): void;
|
|
18
|
+
protected update(event: Event): void;
|
|
16
19
|
private get disabled();
|
|
17
20
|
private onClick;
|
|
18
21
|
private onContextMenu;
|
|
19
22
|
Focus(): void;
|
|
20
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxComponent, "TextBox", never, { "IsEnabled": { "alias": "IsEnabled"; "required": false; }; "PlaceholderText": { "alias": "PlaceholderText"; "required": false; }; "TextAlignment": { "alias": "TextAlignment"; "required": false; }; "TextWrapping": { "alias": "TextWrapping"; "required": false; }; "Text": { "alias": "Text"; "required": false; }; }, { "TextChange": "TextChange"; }, never, never, true, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxComponent, "TextBox", never, { "IsEnabled": { "alias": "IsEnabled"; "required": false; }; "PlaceholderText": { "alias": "PlaceholderText"; "required": false; }; "TextAlignment": { "alias": "TextAlignment"; "required": false; }; "TextWrapping": { "alias": "TextWrapping"; "required": false; }; "UpdateTrigger": { "alias": "UpdateTrigger"; "required": false; }; "Text": { "alias": "Text"; "required": false; }; }, { "TextChange": "TextChange"; }, never, never, true, never>;
|
|
22
25
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -36,6 +36,8 @@ export * from './lib/primitives/Selector';
|
|
|
36
36
|
export * from './lib/scrolling/ScrollBar';
|
|
37
37
|
export * from './lib/scrolling/ScrollViewer';
|
|
38
38
|
export * from './lib/status-and-info/ToolTipService';
|
|
39
|
+
export * from './lib/status-and-info/ProgressBar';
|
|
40
|
+
export * from './lib/status-and-info/ProgressRing';
|
|
39
41
|
export * from './lib/text/NumberBox';
|
|
40
42
|
export * from './lib/text/TextBlock';
|
|
41
43
|
export * from './lib/text/TextBox';
|