xaml-ui 1.0.1 → 1.0.3

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.
Files changed (45) hide show
  1. package/fesm2022/xaml-ui.mjs +1324 -612
  2. package/fesm2022/xaml-ui.mjs.map +1 -1
  3. package/lib/{layout/Common.d.ts → Common.d.ts} +3 -0
  4. package/lib/FrameworkElement.d.ts +22 -0
  5. package/lib/XamlRoot.d.ts +6 -0
  6. package/lib/basic-input/Button.d.ts +19 -0
  7. package/lib/basic-input/CheckBox.d.ts +11 -0
  8. package/lib/basic-input/ComboBox.d.ts +17 -0
  9. package/lib/basic-input/DropDownButton.d.ts +6 -0
  10. package/lib/basic-input/RadioButton.d.ts +24 -0
  11. package/lib/basic-input/Slider.d.ts +16 -0
  12. package/lib/basic-input/ToggleButton.d.ts +10 -0
  13. package/lib/basic-input/ToggleSwitch.d.ts +6 -0
  14. package/lib/collections/ListBox.d.ts +6 -0
  15. package/lib/collections/ListView.d.ts +6 -0
  16. package/lib/dialogs-and-flyouts/Flyout.d.ts +21 -0
  17. package/lib/icons/FontIcon.d.ts +13 -0
  18. package/lib/layout/Border.d.ts +4 -9
  19. package/lib/layout/Grid.d.ts +57 -0
  20. package/lib/layout/Panel.d.ts +11 -0
  21. package/lib/layout/StackPanel.d.ts +5 -5
  22. package/lib/primitives/Popup.d.ts +19 -0
  23. package/lib/primitives/Selector.d.ts +34 -0
  24. package/lib/scrolling/ScrollBar.d.ts +51 -0
  25. package/lib/scrolling/ScrollViewer.d.ts +30 -0
  26. package/lib/status-and-info/ToolTipService.d.ts +11 -0
  27. package/lib/text/TextBlock.d.ts +24 -0
  28. package/lib/text/TextBox.d.ts +18 -0
  29. package/package.json +1 -1
  30. package/public-api.d.ts +24 -16
  31. package/lib/indicators/FontIcon.d.ts +0 -13
  32. package/lib/indicators/TextBlock.d.ts +0 -24
  33. package/lib/inputs/Button.d.ts +0 -18
  34. package/lib/inputs/CheckBox.d.ts +0 -11
  35. package/lib/inputs/ListBox.d.ts +0 -18
  36. package/lib/inputs/RadioButton.d.ts +0 -26
  37. package/lib/inputs/Slider.d.ts +0 -16
  38. package/lib/inputs/TextBox.d.ts +0 -15
  39. package/lib/inputs/ToggleButton.d.ts +0 -10
  40. package/lib/inputs/ToggleSwitch.d.ts +0 -6
  41. package/lib/layout/FrameworkElement.d.ts +0 -15
  42. package/lib/layout/ScrollViewer.d.ts +0 -12
  43. package/lib/layout/ToolTipService.d.ts +0 -11
  44. package/lib/layout/XamlRoot.d.ts +0 -5
  45. package/lib/overlays/Flyout.d.ts +0 -12
@@ -1,11 +1,6 @@
1
- import { FrameworkElement } from "./FrameworkElement";
1
+ import { PanelComponent } from "./Panel";
2
2
  import * as i0 from "@angular/core";
3
- export declare class Border extends FrameworkElement {
4
- Background?: string;
5
- CornerRadius?: string;
6
- BorderThickness?: string;
7
- BorderBrush?: string;
8
- private get borderStyle();
9
- static ɵfac: i0.ɵɵFactoryDeclaration<Border, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<Border, "Border", never, { "Background": { "alias": "Background"; "required": false; }; "CornerRadius": { "alias": "CornerRadius"; "required": false; }; "BorderThickness": { "alias": "BorderThickness"; "required": false; }; "BorderBrush": { "alias": "BorderBrush"; "required": false; }; }, {}, never, ["*"], true, never>;
3
+ export declare class BorderComponent extends PanelComponent {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<BorderComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<BorderComponent, "Border", never, {}, {}, never, ["*"], true, never>;
11
6
  }
@@ -0,0 +1,57 @@
1
+ import { Orientation } from "../Common";
2
+ import { PanelComponent } from "./Panel";
3
+ import * as i0 from "@angular/core";
4
+ export declare class GridComponent extends PanelComponent {
5
+ ColumnDefinitions?: string;
6
+ RowDefinitions?: string;
7
+ ColumnSpacing?: string;
8
+ RowSpacing?: string;
9
+ Orientation: Orientation;
10
+ private get gridAutoFlow();
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent, "Grid", never, { "ColumnDefinitions": { "alias": "ColumnDefinitions"; "required": false; }; "RowDefinitions": { "alias": "RowDefinitions"; "required": false; }; "ColumnSpacing": { "alias": "ColumnSpacing"; "required": false; }; "RowSpacing": { "alias": "RowSpacing"; "required": false; }; "Orientation": { "alias": "Orientation"; "required": false; }; }, {}, never, ["*"], false, never>;
13
+ }
14
+ export declare class GridProperty {
15
+ Column?: number;
16
+ Row?: number;
17
+ ColumnSpan?: number;
18
+ RowSpan?: number;
19
+ }
20
+ export declare class GridDirective {
21
+ Grid: GridProperty;
22
+ private get gridColumnStart();
23
+ private get gridRowStart();
24
+ private get gridColumnEnd();
25
+ private get gridRowEnd();
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridDirective, never>;
27
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GridDirective, "[Grid]", never, { "Grid": { "alias": "Grid"; "required": false; }; }, {}, never, never, false, never>;
28
+ }
29
+ export declare class GridRowDirective {
30
+ Row?: string;
31
+ private get gridRowStart();
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridRowDirective, never>;
33
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GridRowDirective, "[Grid-Row]", never, { "Row": { "alias": "Grid-Row"; "required": false; }; }, {}, never, never, false, never>;
34
+ }
35
+ export declare class GridColumnDirective {
36
+ Column?: string;
37
+ private get gridColumnStart();
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridColumnDirective, never>;
39
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GridColumnDirective, "[Grid-Column]", never, { "Column": { "alias": "Grid-Column"; "required": false; }; }, {}, never, never, false, never>;
40
+ }
41
+ export declare class GridRowSpanDirective {
42
+ RowSpan?: string;
43
+ private get gridRowEnd();
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridRowSpanDirective, never>;
45
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GridRowSpanDirective, "[Grid-RowSpan]", never, { "RowSpan": { "alias": "Grid-RowSpan"; "required": false; }; }, {}, never, never, false, never>;
46
+ }
47
+ export declare class GridColumnSpanDirective {
48
+ ColumnSpan?: string;
49
+ private get gridColumnEnd();
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridColumnSpanDirective, never>;
51
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GridColumnSpanDirective, "[Grid-ColumnSpan]", never, { "ColumnSpan": { "alias": "Grid-ColumnSpan"; "required": false; }; }, {}, never, never, false, never>;
52
+ }
53
+ export declare class GridModule {
54
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridModule, never>;
55
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GridModule, [typeof GridComponent, typeof GridDirective, typeof GridRowDirective, typeof GridRowSpanDirective, typeof GridColumnDirective, typeof GridColumnSpanDirective], never, [typeof GridComponent, typeof GridDirective, typeof GridRowDirective, typeof GridRowSpanDirective, typeof GridColumnDirective, typeof GridColumnSpanDirective]>;
56
+ static ɵinj: i0.ɵɵInjectorDeclaration<GridModule>;
57
+ }
@@ -0,0 +1,11 @@
1
+ import { FrameworkElementComponent } from "../FrameworkElement";
2
+ import * as i0 from "@angular/core";
3
+ export declare abstract class PanelComponent extends FrameworkElementComponent {
4
+ Background?: string;
5
+ CornerRadius?: string;
6
+ BorderThickness?: string;
7
+ BorderBrush?: string;
8
+ private get borderStyle();
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<PanelComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<PanelComponent, "Border", never, { "Background": { "alias": "Background"; "required": false; }; "CornerRadius": { "alias": "CornerRadius"; "required": false; }; "BorderThickness": { "alias": "BorderThickness"; "required": false; }; "BorderBrush": { "alias": "BorderBrush"; "required": false; }; }, {}, never, ["*"], true, never>;
11
+ }
@@ -1,10 +1,10 @@
1
- import { Border } from "./Border";
2
- import { Orientation } from "./Common";
1
+ import { Orientation } from "../Common";
2
+ import { PanelComponent } from "./Panel";
3
3
  import * as i0 from "@angular/core";
4
- export declare class StackPanel extends Border {
4
+ export declare class StackPanelComponent extends PanelComponent {
5
5
  Orientation: Orientation;
6
6
  Spacing: number | string;
7
7
  private get flexDirection();
8
- static ɵfac: i0.ɵɵFactoryDeclaration<StackPanel, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<StackPanel, "StackPanel", never, { "Orientation": { "alias": "Orientation"; "required": false; }; "Spacing": { "alias": "Spacing"; "required": false; }; }, {}, never, ["*"], true, never>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<StackPanelComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<StackPanelComponent, "StackPanel", never, { "Orientation": { "alias": "Orientation"; "required": false; }; "Spacing": { "alias": "Spacing"; "required": false; }; }, {}, never, ["*"], true, never>;
10
10
  }
@@ -0,0 +1,19 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class PopupComponent {
4
+ isRendered: boolean;
5
+ private _isRenderedTimeout;
6
+ private _isOpen;
7
+ get IsOpen(): boolean;
8
+ set IsOpen(value: boolean);
9
+ IsOpenChange: EventEmitter<boolean>;
10
+ VerticalOffset: number;
11
+ HorizontalOffset: number;
12
+ private _container?;
13
+ Show(): void;
14
+ Hide(): void;
15
+ get containerClass(): "popup-open" | undefined;
16
+ onBackdropClick(event: Event): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopupComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<PopupComponent, "Popup", never, { "IsOpen": { "alias": "IsOpen"; "required": false; }; "VerticalOffset": { "alias": "VerticalOffset"; "required": false; }; "HorizontalOffset": { "alias": "HorizontalOffset"; "required": false; }; }, { "IsOpenChange": "IsOpenChange"; }, never, ["*"], true, never>;
19
+ }
@@ -0,0 +1,34 @@
1
+ import { EventEmitter, TemplateRef } from "@angular/core";
2
+ import { FrameworkElementComponent } from "../FrameworkElement";
3
+ import { HorizontalAlignment, VerticalAlignment } from "../Common";
4
+ import * as i0 from "@angular/core";
5
+ export declare const SelectorItemTemplate = "<ng-container *ngIf=\"ItemTemplate\">\n <ng-container *ngTemplateOutlet=\"ItemTemplate; context: { $implicit: item }\"/>\n </ng-container>\n <ng-container *ngIf=\"!ItemTemplate\">{{ DisplayMemberPath ? item[DisplayMemberPath] : item }}</ng-container>";
6
+ export declare abstract class SelectorComponent extends FrameworkElementComponent {
7
+ ItemTemplate: TemplateRef<any>;
8
+ IsEnabled: boolean;
9
+ HorizontalContentAlignment: HorizontalAlignment;
10
+ VerticalContentAlignment: VerticalAlignment;
11
+ get alignContent(): "flex-start" | "center" | "flex-end" | "stretch";
12
+ get justifyContent(): string;
13
+ private get disabled();
14
+ private _itemSource;
15
+ get ItemSource(): any[];
16
+ set ItemSource(value: any[]);
17
+ private _selectedIndex;
18
+ get SelectedIndex(): number;
19
+ set SelectedIndex(value: number);
20
+ SelectedIndexChange: EventEmitter<number>;
21
+ get SelectedValue(): any;
22
+ set SelectedValue(value: any);
23
+ SelectedValueChange: EventEmitter<any>;
24
+ get SelectedItem(): any;
25
+ set SelectedItem(value: any);
26
+ SelectedItemChange: EventEmitter<any>;
27
+ DisplayMemberPath?: string;
28
+ SelectedValuePath?: string;
29
+ getValue(index: number, item: any): any;
30
+ onItemClick(event: Event, index: number, item: any): void;
31
+ GetElement(index: number): HTMLElement | null;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectorComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectorComponent, "Selector", never, { "IsEnabled": { "alias": "IsEnabled"; "required": false; }; "HorizontalContentAlignment": { "alias": "HorizontalContentAlignment"; "required": false; }; "VerticalContentAlignment": { "alias": "VerticalContentAlignment"; "required": false; }; "ItemSource": { "alias": "ItemSource"; "required": false; }; "SelectedIndex": { "alias": "SelectedIndex"; "required": false; }; "SelectedValue": { "alias": "SelectedValue"; "required": false; }; "SelectedItem": { "alias": "SelectedItem"; "required": false; }; "DisplayMemberPath": { "alias": "DisplayMemberPath"; "required": false; }; "SelectedValuePath": { "alias": "SelectedValuePath"; "required": false; }; }, { "SelectedIndexChange": "SelectedIndexChange"; "SelectedValueChange": "SelectedValueChange"; "SelectedItemChange": "SelectedItemChange"; }, ["ItemTemplate"], never, true, never>;
34
+ }
@@ -0,0 +1,51 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { Orientation } from "../Common";
3
+ import { FrameworkElementComponent } from "../FrameworkElement";
4
+ import * as i0 from "@angular/core";
5
+ export declare class ScrollBarComponent extends FrameworkElementComponent {
6
+ Orientation: Orientation;
7
+ ViewportSize: number;
8
+ ScrollSize: number;
9
+ StepSize: number;
10
+ private _value;
11
+ get Value(): number;
12
+ ValueChange: EventEmitter<number>;
13
+ set Value(value: number);
14
+ IsEnabled: boolean;
15
+ private _track;
16
+ private _thumb;
17
+ private _isScrolling;
18
+ private _startPointerPosition;
19
+ private _startScrollPosition;
20
+ get decreaseGlyph(): "" | "";
21
+ get increaseGlyph(): "" | "";
22
+ get class(): string;
23
+ getElementSize(element: HTMLElement): number;
24
+ getPointerPosition(event: PointerEvent): number;
25
+ get thumbStyle(): {
26
+ height?: undefined;
27
+ top?: undefined;
28
+ width?: undefined;
29
+ left?: undefined;
30
+ } | {
31
+ height: string;
32
+ top: string;
33
+ width?: undefined;
34
+ left?: undefined;
35
+ } | {
36
+ width: string;
37
+ left: string;
38
+ height?: undefined;
39
+ top?: undefined;
40
+ };
41
+ private _interval?;
42
+ onButtonDown(event: PointerEvent, direction: boolean): void;
43
+ onButtonUp(event: PointerEvent): void;
44
+ onTrackDown(event: PointerEvent): void;
45
+ onTrackUp(event: PointerEvent): void;
46
+ onPointerDown(event: PointerEvent): void;
47
+ onPointerMove(event: PointerEvent): void;
48
+ onPointerUp(event: PointerEvent): void;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScrollBarComponent, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScrollBarComponent, "ScrollBar", never, { "Orientation": { "alias": "Orientation"; "required": false; }; "ViewportSize": { "alias": "ViewportSize"; "required": false; }; "ScrollSize": { "alias": "ScrollSize"; "required": false; }; "StepSize": { "alias": "StepSize"; "required": false; }; "Value": { "alias": "Value"; "required": false; }; "IsEnabled": { "alias": "IsEnabled"; "required": false; }; }, { "ValueChange": "ValueChange"; }, never, never, true, never>;
51
+ }
@@ -0,0 +1,30 @@
1
+ import { FrameworkElementComponent } from "../FrameworkElement";
2
+ import { AfterViewInit, ChangeDetectorRef } from "@angular/core";
3
+ import { ScrollMode } from "../Common";
4
+ import * as i0 from "@angular/core";
5
+ export declare class ScrollViewerComponent extends FrameworkElementComponent implements AfterViewInit {
6
+ private _changeDetector;
7
+ HorizontalScrollMode: ScrollMode;
8
+ VerticalScrollMode: ScrollMode;
9
+ private _content;
10
+ get IsHorizontalScrollBarVisible(): boolean;
11
+ get IsVerticalScrollBarVisible(): boolean;
12
+ get ExtentWidth(): number;
13
+ get ExtentHeight(): number;
14
+ get ViewportWidth(): number;
15
+ get ViewportHeight(): number;
16
+ get HorizontalOffset(): number;
17
+ set HorizontalOffset(value: number);
18
+ get VerticalOffset(): number;
19
+ set VerticalOffset(value: number);
20
+ private static toOverflow;
21
+ get contentStyle(): {
22
+ 'overflow-x': string;
23
+ 'overflow-y': string;
24
+ };
25
+ constructor(_changeDetector: ChangeDetectorRef);
26
+ onScroll(): void;
27
+ ngAfterViewInit(): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScrollViewerComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScrollViewerComponent, "ScrollViewer", never, { "HorizontalScrollMode": { "alias": "HorizontalScrollMode"; "required": false; }; "VerticalScrollMode": { "alias": "VerticalScrollMode"; "required": false; }; }, {}, never, ["*"], true, never>;
30
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ToolTipDirective {
3
+ ToolTip?: string;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolTipDirective, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ToolTipDirective, "[ToolTipService-ToolTip]", never, { "ToolTip": { "alias": "ToolTipService-ToolTip"; "required": false; }; }, {}, never, never, false, never>;
6
+ }
7
+ export declare class ToolTipServiceModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolTipServiceModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ToolTipServiceModule, [typeof ToolTipDirective], never, [typeof ToolTipDirective]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<ToolTipServiceModule>;
11
+ }
@@ -0,0 +1,24 @@
1
+ import { FrameworkElementComponent } from "../FrameworkElement";
2
+ import { FontStyle, FontWeights, TextAlignment, TextDecorations, TextTrimming, TextWrapping, XamlBoolean } from "../Common";
3
+ import * as i0 from "@angular/core";
4
+ export declare class TextBlockComponent extends FrameworkElementComponent {
5
+ FontFamily?: string;
6
+ Text?: string;
7
+ FontSize?: string;
8
+ FontStyle?: FontStyle;
9
+ FontWeight: FontWeights;
10
+ Foreground?: string;
11
+ TextAlignment?: TextAlignment;
12
+ IsTextSelectionEnabled?: XamlBoolean;
13
+ TextDecorations?: TextDecorations;
14
+ TextTrimming?: TextTrimming;
15
+ TextWrapping: TextWrapping;
16
+ private get fontWeight();
17
+ static ToFontWeight(value: FontWeights): 900 | 700 | 950 | 800 | 200 | 300 | 500 | 400 | 600 | 350 | 100;
18
+ private get userSelect();
19
+ private get textDecorationLine();
20
+ private get textOverflow();
21
+ private get whiteSpace();
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextBlockComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextBlockComponent, "TextBlock", never, { "FontFamily": { "alias": "FontFamily"; "required": false; }; "Text": { "alias": "Text"; "required": false; }; "FontSize": { "alias": "FontSize"; "required": false; }; "FontStyle": { "alias": "FontStyle"; "required": false; }; "FontWeight": { "alias": "FontWeight"; "required": false; }; "Foreground": { "alias": "Foreground"; "required": false; }; "TextAlignment": { "alias": "TextAlignment"; "required": false; }; "IsTextSelectionEnabled": { "alias": "IsTextSelectionEnabled"; "required": false; }; "TextDecorations": { "alias": "TextDecorations"; "required": false; }; "TextTrimming": { "alias": "TextTrimming"; "required": false; }; "TextWrapping": { "alias": "TextWrapping"; "required": false; }; }, {}, never, ["*"], true, never>;
24
+ }
@@ -0,0 +1,18 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { FrameworkElementComponent } from "../FrameworkElement";
3
+ import { TextAlignment, TextWrapping } from "../Common";
4
+ import * as i0 from "@angular/core";
5
+ export declare class TextBoxComponent extends FrameworkElementComponent {
6
+ IsEnabled: boolean;
7
+ PlaceholderText: string;
8
+ TextChange: EventEmitter<string>;
9
+ TextAlignment?: TextAlignment;
10
+ TextWrapping: TextWrapping;
11
+ private _text;
12
+ get Text(): string;
13
+ set Text(value: string);
14
+ onChange(event: Event): void;
15
+ onContextMenu(event: Event): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxComponent, never>;
17
+ 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>;
18
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xaml-ui",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "license": "MPL-2.0",
5
5
  "description": "XAML UI is angular version of Microsoft's WinUI component library.",
6
6
  "peerDependencies": {
package/public-api.d.ts CHANGED
@@ -1,18 +1,26 @@
1
- export * from './lib/indicators/FontIcon';
2
- export * from './lib/indicators/TextBlock';
3
- export * from './lib/inputs/Button';
4
- export * from './lib/inputs/CheckBox';
5
- export * from './lib/inputs/ListBox';
6
- export * from './lib/inputs/RadioButton';
7
- export * from './lib/inputs/Slider';
8
- export * from './lib/inputs/TextBox';
9
- export * from './lib/inputs/ToggleButton';
10
- export * from './lib/inputs/ToggleSwitch';
1
+ export * from './lib/basic-input/Button';
2
+ export * from './lib/basic-input/CheckBox';
3
+ export * from './lib/basic-input/ComboBox';
4
+ export * from './lib/basic-input/DropDownButton';
5
+ export * from './lib/basic-input/RadioButton';
6
+ export * from './lib/basic-input/Slider';
7
+ export * from './lib/basic-input/ToggleButton';
8
+ export * from './lib/basic-input/ToggleSwitch';
9
+ export * from './lib/collections/ListBox';
10
+ export * from './lib/collections/ListView';
11
+ export * from './lib/dialogs-and-flyouts/Flyout';
12
+ export * from './lib/icons/FontIcon';
11
13
  export * from './lib/layout/Border';
12
- export * from './lib/layout/Common';
13
- export * from './lib/layout/FrameworkElement';
14
- export * from './lib/layout/ScrollViewer';
14
+ export * from './lib/layout/Grid';
15
+ export * from './lib/layout/Panel';
15
16
  export * from './lib/layout/StackPanel';
16
- export * from './lib/layout/ToolTipService';
17
- export * from './lib/layout/XamlRoot';
18
- export * from './lib/overlays/Flyout';
17
+ export * from './lib/primitives/Popup';
18
+ export * from './lib/primitives/Selector';
19
+ export * from './lib/scrolling/ScrollBar';
20
+ export * from './lib/scrolling/ScrollViewer';
21
+ export * from './lib/status-and-info/ToolTipService';
22
+ export * from './lib/text/TextBlock';
23
+ export * from './lib/text/TextBox';
24
+ export * from './lib/Common';
25
+ export * from './lib/FrameworkElement';
26
+ export * from './lib/XamlRoot';
@@ -1,13 +0,0 @@
1
- import { FrameworkElement } from "../layout/FrameworkElement";
2
- import { FontStyle, FontWeights } from "../layout/Common";
3
- import * as i0 from "@angular/core";
4
- export declare class FontIcon extends FrameworkElement {
5
- FontFamily?: string;
6
- FontSize?: string;
7
- FontStyle?: FontStyle;
8
- FontWeight: FontWeights;
9
- Glyph?: string;
10
- private get fontWeight();
11
- static ɵfac: i0.ɵɵFactoryDeclaration<FontIcon, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<FontIcon, "FontIcon", never, { "FontFamily": { "alias": "FontFamily"; "required": false; }; "FontSize": { "alias": "FontSize"; "required": false; }; "FontStyle": { "alias": "FontStyle"; "required": false; }; "FontWeight": { "alias": "FontWeight"; "required": false; }; "Glyph": { "alias": "Glyph"; "required": false; }; }, {}, never, never, true, never>;
13
- }
@@ -1,24 +0,0 @@
1
- import { FrameworkElement } from "../layout/FrameworkElement";
2
- import { FontStyle, FontWeights, TextAlignment, TextDecorations, TextTrimming, TextWrapping, XamlBoolean } from "../layout/Common";
3
- import * as i0 from "@angular/core";
4
- export declare class TextBlock extends FrameworkElement {
5
- FontFamily?: string;
6
- Text?: string;
7
- FontSize?: string;
8
- FontStyle?: FontStyle;
9
- FontWeight: FontWeights;
10
- Foreground?: string;
11
- TextAlignment?: TextAlignment;
12
- IsTextSelectionEnabled?: XamlBoolean;
13
- TextDecorations?: TextDecorations;
14
- TextTrimming?: TextTrimming;
15
- TextWrapping: TextWrapping;
16
- private get fontWeight();
17
- static ToFontWeight(value: FontWeights): 900 | 700 | 950 | 800 | 200 | 300 | 500 | 400 | 600 | 350 | 100;
18
- private get userSelect();
19
- private get textDecorationLine();
20
- private get textOverflow();
21
- private get whiteSpace();
22
- static ɵfac: i0.ɵɵFactoryDeclaration<TextBlock, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<TextBlock, "TextBlock", never, { "FontFamily": { "alias": "FontFamily"; "required": false; }; "Text": { "alias": "Text"; "required": false; }; "FontSize": { "alias": "FontSize"; "required": false; }; "FontStyle": { "alias": "FontStyle"; "required": false; }; "FontWeight": { "alias": "FontWeight"; "required": false; }; "Foreground": { "alias": "Foreground"; "required": false; }; "TextAlignment": { "alias": "TextAlignment"; "required": false; }; "IsTextSelectionEnabled": { "alias": "IsTextSelectionEnabled"; "required": false; }; "TextDecorations": { "alias": "TextDecorations"; "required": false; }; "TextTrimming": { "alias": "TextTrimming"; "required": false; }; "TextWrapping": { "alias": "TextWrapping"; "required": false; }; }, {}, never, ["*"], true, never>;
24
- }
@@ -1,18 +0,0 @@
1
- import { AfterContentInit, AfterViewInit } from "@angular/core";
2
- import { Border } from "../layout/Border";
3
- import * as i0 from "@angular/core";
4
- export declare class Button extends Border implements AfterContentInit, AfterViewInit {
5
- IsEnabled: boolean;
6
- private readonly type;
7
- private get disabled();
8
- private _popoverTarget?;
9
- private _popover;
10
- private _flyoutOpen;
11
- private _children;
12
- ngAfterContentInit(): void;
13
- ngAfterViewInit(): void;
14
- private onHostPointerEvent;
15
- private get anchorName();
16
- static ɵfac: i0.ɵɵFactoryDeclaration<Button, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<Button, "Button", never, { "IsEnabled": { "alias": "IsEnabled"; "required": false; }; }, {}, ["_children"], ["*", "flyout"], true, never>;
18
- }
@@ -1,11 +0,0 @@
1
- import { EventEmitter } from "@angular/core";
2
- import { Border } from "../layout/Border";
3
- import * as i0 from "@angular/core";
4
- export declare class CheckBox extends Border {
5
- IsEnabled: boolean;
6
- IsChecked: boolean;
7
- IsCheckedChange: EventEmitter<boolean>;
8
- onIsCheckedChange(event: Event): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckBox, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckBox, "CheckBox", never, { "IsEnabled": { "alias": "IsEnabled"; "required": false; }; "IsChecked": { "alias": "IsChecked"; "required": false; }; }, { "IsCheckedChange": "IsCheckedChange"; }, never, ["*"], true, never>;
11
- }
@@ -1,18 +0,0 @@
1
- import { EventEmitter, TemplateRef } from "@angular/core";
2
- import { FrameworkElement } from "../layout/FrameworkElement";
3
- import * as i0 from "@angular/core";
4
- export declare class ListBox extends FrameworkElement {
5
- ItemSource?: any[];
6
- ItemTemplate: TemplateRef<any>;
7
- SelectedIndex: number;
8
- SelectedIndexChange: EventEmitter<number>;
9
- SelectedValue: any;
10
- SelectedValueChange: EventEmitter<any>;
11
- DisplayMemberPath?: string;
12
- SelectedValuePath?: string;
13
- getValue(index: number, item: any): any;
14
- onItemClick(index: number, item: any): void;
15
- get overflow(): string;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<ListBox, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<ListBox, "ListBox", never, { "ItemSource": { "alias": "ItemSource"; "required": false; }; "SelectedIndex": { "alias": "SelectedIndex"; "required": false; }; "SelectedValue": { "alias": "SelectedValue"; "required": false; }; "DisplayMemberPath": { "alias": "DisplayMemberPath"; "required": false; }; "SelectedValuePath": { "alias": "SelectedValuePath"; "required": false; }; }, { "SelectedIndexChange": "SelectedIndexChange"; "SelectedValueChange": "SelectedValueChange"; }, ["ItemTemplate"], never, true, never>;
18
- }
@@ -1,26 +0,0 @@
1
- import { AfterContentInit, EventEmitter } from "@angular/core";
2
- import { Border } from "../layout/Border";
3
- import { StackPanel } from "../layout/StackPanel";
4
- import * as i0 from "@angular/core";
5
- export declare class RadioButton extends Border {
6
- IsEnabled: boolean;
7
- IsChecked: boolean;
8
- IsCheckedChange: EventEmitter<boolean>;
9
- Group: string;
10
- Value: any;
11
- onIsCheckedChange(event: Event): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<RadioButton, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<RadioButton, "RadioButton", never, { "IsEnabled": { "alias": "IsEnabled"; "required": false; }; "IsChecked": { "alias": "IsChecked"; "required": false; }; "Group": { "alias": "Group"; "required": false; }; "Value": { "alias": "Value"; "required": false; }; }, { "IsCheckedChange": "IsCheckedChange"; }, never, ["*"], true, never>;
14
- }
15
- export declare class RadioButtonGroup extends StackPanel implements AfterContentInit {
16
- private _value;
17
- set Value(value: any);
18
- get Value(): any;
19
- ValueChange: EventEmitter<boolean>;
20
- private _children;
21
- private static _nextId;
22
- private readonly _id;
23
- ngAfterContentInit(): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonGroup, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonGroup, "RadioButtonGroup", never, { "Value": { "alias": "Value"; "required": false; }; }, { "ValueChange": "ValueChange"; }, ["_children"], ["*"], true, never>;
26
- }
@@ -1,16 +0,0 @@
1
- import { EventEmitter } from "@angular/core";
2
- import { FrameworkElement } from "../layout/FrameworkElement";
3
- import { Orientation } from "../layout/Common";
4
- import * as i0 from "@angular/core";
5
- export declare class Slider extends FrameworkElement {
6
- Minimum: number;
7
- Maximum: number;
8
- StepFrequency: number;
9
- Value: number;
10
- ValueChange: EventEmitter<number>;
11
- IsEnabled: boolean;
12
- Orientation: Orientation;
13
- onValueChange(event: Event): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<Slider, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<Slider, "Slider", never, { "Minimum": { "alias": "Minimum"; "required": false; }; "Maximum": { "alias": "Maximum"; "required": false; }; "StepFrequency": { "alias": "StepFrequency"; "required": false; }; "Value": { "alias": "Value"; "required": false; }; "IsEnabled": { "alias": "IsEnabled"; "required": false; }; "Orientation": { "alias": "Orientation"; "required": false; }; }, { "ValueChange": "ValueChange"; }, never, never, true, never>;
16
- }
@@ -1,15 +0,0 @@
1
- import { EventEmitter } from "@angular/core";
2
- import { FrameworkElement } from "../layout/FrameworkElement";
3
- import { TextAlignment, TextWrapping } from "../layout/Common";
4
- import * as i0 from "@angular/core";
5
- export declare class TextBox extends FrameworkElement {
6
- IsEnabled: boolean;
7
- PlaceholderText: string;
8
- Text: string;
9
- TextChange: EventEmitter<string>;
10
- TextAlignment?: TextAlignment;
11
- TextWrapping: TextWrapping;
12
- onChange(event: Event): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TextBox, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<TextBox, "TextBox", never, { "IsEnabled": { "alias": "IsEnabled"; "required": false; }; "PlaceholderText": { "alias": "PlaceholderText"; "required": false; }; "Text": { "alias": "Text"; "required": false; }; "TextAlignment": { "alias": "TextAlignment"; "required": false; }; "TextWrapping": { "alias": "TextWrapping"; "required": false; }; }, { "TextChange": "TextChange"; }, never, never, true, never>;
15
- }
@@ -1,10 +0,0 @@
1
- import { EventEmitter } from "@angular/core";
2
- import { Button } from "./Button";
3
- import * as i0 from "@angular/core";
4
- export declare class ToggleButton extends Button {
5
- IsChecked: boolean;
6
- IsCheckedChange: EventEmitter<boolean>;
7
- onPointerUp(event: PointerEvent): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButton, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButton, "ToggleButton", never, { "IsChecked": { "alias": "IsChecked"; "required": false; }; }, { "IsCheckedChange": "IsCheckedChange"; }, never, ["*"], true, never>;
10
- }
@@ -1,6 +0,0 @@
1
- import { CheckBox } from "./CheckBox";
2
- import * as i0 from "@angular/core";
3
- export declare class ToggleSwitch extends CheckBox {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<ToggleSwitch, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<ToggleSwitch, "ToggleSwitch", never, {}, {}, never, ["*"], true, never>;
6
- }
@@ -1,15 +0,0 @@
1
- import { HorizontalAlignment, VerticalAlignment } from "./Common";
2
- import * as i0 from "@angular/core";
3
- export declare abstract class FrameworkElement {
4
- Width?: string;
5
- Height?: string;
6
- HorizontalAlignment: HorizontalAlignment;
7
- VerticalAlignment: VerticalAlignment;
8
- Margin?: string;
9
- Padding?: string;
10
- private get justifySelf();
11
- private get alignSelf();
12
- protected get overflow(): string;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<FrameworkElement, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<FrameworkElement, "FrameworkElement", never, { "Width": { "alias": "Width"; "required": false; }; "Height": { "alias": "Height"; "required": false; }; "HorizontalAlignment": { "alias": "HorizontalAlignment"; "required": false; }; "VerticalAlignment": { "alias": "VerticalAlignment"; "required": false; }; "Margin": { "alias": "Margin"; "required": false; }; "Padding": { "alias": "Padding"; "required": false; }; }, {}, never, never, true, never>;
15
- }
@@ -1,12 +0,0 @@
1
- import { FrameworkElement } from "./FrameworkElement";
2
- import { ScrollMode } from "./Common";
3
- import * as i0 from "@angular/core";
4
- export declare class ScrollViewer extends FrameworkElement {
5
- HorizontalScrollMode: ScrollMode;
6
- VerticalScrollMode: ScrollMode;
7
- private static toOverflow;
8
- private get overflowX();
9
- private get overflowY();
10
- static ɵfac: i0.ɵɵFactoryDeclaration<ScrollViewer, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<ScrollViewer, "ScrollViewer", never, { "HorizontalScrollMode": { "alias": "HorizontalScrollMode"; "required": false; }; "VerticalScrollMode": { "alias": "VerticalScrollMode"; "required": false; }; }, {}, never, ["*"], true, never>;
12
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ToolTipProperty {
3
- ToolTip?: string;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<ToolTipProperty, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<ToolTipProperty, "[ToolTipService-ToolTip]", never, { "ToolTip": { "alias": "ToolTipService-ToolTip"; "required": false; }; }, {}, never, never, false, never>;
6
- }
7
- export declare class ToolTipService {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ToolTipService, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<ToolTipService, [typeof ToolTipProperty], never, [typeof ToolTipProperty]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<ToolTipService>;
11
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class XamlRoot {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<XamlRoot, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<XamlRoot, "XamlRoot", never, {}, {}, never, ["*"], true, never>;
5
- }
@@ -1,12 +0,0 @@
1
- import { FlyoutPlacementMode } from "../layout/Common";
2
- import * as i0 from "@angular/core";
3
- export declare class Flyout {
4
- private static _nextId;
5
- PlacementMode: FlyoutPlacementMode;
6
- readonly Id: string;
7
- private readonly _popover;
8
- private get styles();
9
- private get class();
10
- static ɵfac: i0.ɵɵFactoryDeclaration<Flyout, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<Flyout, "Flyout", never, { "PlacementMode": { "alias": "PlacementMode"; "required": false; }; }, {}, never, ["*"], true, never>;
12
- }