xaml-ui 1.0.21 → 1.0.25
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 +275 -182
- package/fesm2022/xaml-ui.mjs.map +1 -1
- package/lib/basic-input/Button.d.ts +4 -2
- package/lib/basic-input/HyperlinkButton.d.ts +8 -0
- package/lib/basic-input/RepeatButton.d.ts +1 -1
- package/lib/basic-input/ToggleButton.d.ts +1 -1
- package/lib/dialogs-and-flyouts/OpenFilePicker.d.ts +10 -0
- package/lib/media/Image.d.ts +2 -0
- package/lib/text/TextBlock.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/styles/XamlGlobals.css +0 -6
|
@@ -2,8 +2,10 @@ import { EventEmitter } from "@angular/core";
|
|
|
2
2
|
import { BorderComponent } from "../layout/Border";
|
|
3
3
|
import { HorizontalAlignment, VerticalAlignment } from "../Common";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
export declare const ButtonTemplate = "<ng-content *ngIf=\"Content === undefined\"/>\n <TextBlock *ngIf=\"Content !== undefined\">{{Content}}</TextBlock>";
|
|
5
6
|
export declare class ButtonComponent extends BorderComponent {
|
|
6
7
|
IsEnabled: boolean;
|
|
8
|
+
Content?: string;
|
|
7
9
|
Click: EventEmitter<any>;
|
|
8
10
|
HorizontalContentAlignment: HorizontalAlignment;
|
|
9
11
|
VerticalContentAlignment: VerticalAlignment;
|
|
@@ -13,7 +15,7 @@ export declare class ButtonComponent extends BorderComponent {
|
|
|
13
15
|
private get disabled();
|
|
14
16
|
private get flyoutOpen();
|
|
15
17
|
private _flyout?;
|
|
16
|
-
protected
|
|
18
|
+
protected onClick(event: Event): void;
|
|
17
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "Button", never, { "IsEnabled": { "alias": "IsEnabled"; "required": false; }; "HorizontalContentAlignment": { "alias": "HorizontalContentAlignment"; "required": false; }; "VerticalContentAlignment": { "alias": "VerticalContentAlignment"; "required": false; }; }, { "Click": "Click"; }, ["_flyout"], ["*"], true, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "Button", never, { "IsEnabled": { "alias": "IsEnabled"; "required": false; }; "Content": { "alias": "Content"; "required": false; }; "HorizontalContentAlignment": { "alias": "HorizontalContentAlignment"; "required": false; }; "VerticalContentAlignment": { "alias": "VerticalContentAlignment"; "required": false; }; }, { "Click": "Click"; }, ["_flyout"], ["*"], true, never>;
|
|
19
21
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ButtonComponent } from "./Button";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class HyperlinkButtonComponent extends ButtonComponent {
|
|
4
|
+
NavigateUri?: string;
|
|
5
|
+
protected onClick(event: Event): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HyperlinkButtonComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HyperlinkButtonComponent, "HyperlinkButton", never, { "NavigateUri": { "alias": "NavigateUri"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
8
|
+
}
|
|
@@ -9,7 +9,7 @@ export declare class RepeatButtonComponent extends ButtonComponent implements On
|
|
|
9
9
|
private onPointerDown;
|
|
10
10
|
private onPointerUp;
|
|
11
11
|
private clearTimers;
|
|
12
|
-
protected
|
|
12
|
+
protected onClick(event: Event): void;
|
|
13
13
|
ngOnDestroy(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<RepeatButtonComponent, never>;
|
|
15
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<RepeatButtonComponent, "RepeatButton", never, { "Delay": { "alias": "Delay"; "required": false; }; "Interval": { "alias": "Interval"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
@@ -4,7 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class ToggleButtonComponent extends ButtonComponent {
|
|
5
5
|
IsChecked: boolean;
|
|
6
6
|
IsCheckedChange: EventEmitter<boolean>;
|
|
7
|
-
|
|
7
|
+
protected onClick(event: Event): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButtonComponent, never>;
|
|
9
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonComponent, "ToggleButton", never, { "IsChecked": { "alias": "IsChecked"; "required": false; }; }, { "IsCheckedChange": "IsCheckedChange"; }, never, ["*"], true, never>;
|
|
10
10
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare class OpenFilePicker {
|
|
2
|
+
FileTypeFilter?: FilePickerAcceptType[];
|
|
3
|
+
SettingsIdentifier?: string;
|
|
4
|
+
AllowMultiple?: boolean;
|
|
5
|
+
SuggestedStartLocation?: WellKnownDirectory;
|
|
6
|
+
static get SupportsFileSystemAccessApi(): boolean;
|
|
7
|
+
ShowAsync(): Promise<File[] | null>;
|
|
8
|
+
private ShowFileSystemAccessPickerAsync;
|
|
9
|
+
private ShowConventionalPickerAsync;
|
|
10
|
+
}
|
package/lib/media/Image.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ export declare class ImageComponent extends FrameworkElementComponent {
|
|
|
7
7
|
protected get imageStyle(): {
|
|
8
8
|
width: string | undefined;
|
|
9
9
|
height: string | undefined;
|
|
10
|
+
maxWidth: string | undefined;
|
|
11
|
+
maxHeight: string | undefined;
|
|
10
12
|
};
|
|
11
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageComponent, never>;
|
|
12
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<ImageComponent, "Image", never, { "Source": { "alias": "Source"; "required": false; }; "Stretch": { "alias": "Stretch"; "required": false; }; }, {}, never, never, true, never>;
|
package/lib/text/TextBlock.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare class TextBlockComponent extends FrameworkElementComponent {
|
|
|
16
16
|
protected get width(): string | undefined;
|
|
17
17
|
protected get minWidth(): string | undefined;
|
|
18
18
|
private get fontWeight();
|
|
19
|
-
static ToFontWeight(value: FontWeights):
|
|
19
|
+
static ToFontWeight(value: FontWeights): 900 | 700 | 950 | 800 | 200 | 300 | 500 | 400 | 600 | 350 | 100;
|
|
20
20
|
private get userSelect();
|
|
21
21
|
private get textDecorationLine();
|
|
22
22
|
private get textOverflow();
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './lib/basic-input/Button';
|
|
2
|
+
export * from './lib/basic-input/HyperlinkButton';
|
|
2
3
|
export * from './lib/basic-input/CheckBox';
|
|
3
4
|
export * from './lib/basic-input/ColorPicker';
|
|
4
5
|
export * from './lib/basic-input/ComboBox';
|
|
@@ -17,6 +18,7 @@ export * from './lib/dialogs-and-flyouts/ContentDialog';
|
|
|
17
18
|
export * from './lib/dialogs-and-flyouts/ContextFlyout';
|
|
18
19
|
export * from './lib/dialogs-and-flyouts/Dialog';
|
|
19
20
|
export * from './lib/dialogs-and-flyouts/Flyout';
|
|
21
|
+
export * from './lib/dialogs-and-flyouts/OpenFilePicker';
|
|
20
22
|
export * from './lib/icons/FontIcon';
|
|
21
23
|
export * from './lib/layout/Border';
|
|
22
24
|
export * from './lib/layout/Grid';
|
package/styles/XamlGlobals.css
CHANGED