@mathstack/ui 0.0.1-beta.0 → 0.0.1-beta.2

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 (38) hide show
  1. package/README.md +9 -0
  2. package/fesm2022/mathstack-ui.mjs +154 -155
  3. package/fesm2022/mathstack-ui.mjs.map +1 -1
  4. package/package.json +7 -7
  5. package/types/mathstack-ui.d.ts +618 -0
  6. package/index.d.ts +0 -5
  7. package/lib/combobox/combobox-label/combobox-label.component.d.ts +0 -11
  8. package/lib/combobox/combobox.component.d.ts +0 -20
  9. package/lib/combobox/combobox.module.d.ts +0 -15
  10. package/lib/combobox/combobox.service.d.ts +0 -124
  11. package/lib/combobox/editable-textbox/editable-textbox.component.d.ts +0 -39
  12. package/lib/combobox/index.d.ts +0 -11
  13. package/lib/combobox/listbox/active-index.service.d.ts +0 -32
  14. package/lib/combobox/listbox/listbox-filtering.service.d.ts +0 -12
  15. package/lib/combobox/listbox/listbox-scroll.service.d.ts +0 -11
  16. package/lib/combobox/listbox/listbox.component.d.ts +0 -58
  17. package/lib/combobox/listbox-group/listbox-group.component.d.ts +0 -16
  18. package/lib/combobox/listbox-label/listbox-label.component.d.ts +0 -12
  19. package/lib/combobox/listbox-option/listbox-option.component.d.ts +0 -52
  20. package/lib/combobox/select-all-listbox-option/select-all-listbox-option.component.d.ts +0 -24
  21. package/lib/combobox/textbox/textbox.component.d.ts +0 -41
  22. package/lib/directory/directory.component.d.ts +0 -44
  23. package/lib/directory/index.d.ts +0 -1
  24. package/lib/table/index.d.ts +0 -4
  25. package/lib/table/single-sort-header/single-sort-header.component.d.ts +0 -9
  26. package/lib/table/table-column.d.ts +0 -53
  27. package/lib/table/table.component.d.ts +0 -27
  28. package/lib/table/table.config.d.ts +0 -5
  29. package/lib/table/table.module.d.ts +0 -11
  30. package/lib/tabs/index.d.ts +0 -6
  31. package/lib/tabs/tab-body.component.d.ts +0 -8
  32. package/lib/tabs/tab-content.directive.d.ts +0 -15
  33. package/lib/tabs/tab-item.component.d.ts +0 -16
  34. package/lib/tabs/tab-label.component.d.ts +0 -10
  35. package/lib/tabs/tabs.component.d.ts +0 -24
  36. package/lib/tabs/tabs.module.d.ts +0 -11
  37. package/lib/tabs/tabs.service.d.ts +0 -9
  38. package/public-api.d.ts +0 -4
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./table.component";
3
- import * as i2 from "./single-sort-header/single-sort-header.component";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@angular/cdk/table";
6
- import * as i5 from "@angular/material/icon";
7
- export declare class TableModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.TableComponent, typeof i2.SingleSortHeaderComponent], [typeof i3.CommonModule, typeof i4.CdkTableModule, typeof i5.MatIconModule], [typeof i1.TableComponent]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
11
- }
@@ -1,6 +0,0 @@
1
- export * from './tab-body.component';
2
- export * from './tab-content.directive';
3
- export * from './tab-item.component';
4
- export * from './tab-label.component';
5
- export * from './tabs.component';
6
- export * from './tabs.module';
@@ -1,8 +0,0 @@
1
- import { TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TabBodyComponent {
4
- bodyContent: TemplateRef<HTMLElement>;
5
- lazyLoadedContent: TemplateRef<any>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TabBodyComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<TabBodyComponent, "hsi-ui-tab-body", never, {}, {}, ["lazyLoadedContent"], ["*"], true, never>;
8
- }
@@ -1,15 +0,0 @@
1
- import { InjectionToken, TemplateRef } from '@angular/core';
2
- import { MatTabContent } from '@angular/material/tabs';
3
- import * as i0 from "@angular/core";
4
- export declare const HSI_UI_TAB_CONTENT: InjectionToken<MatTabContent>;
5
- /**
6
- * Allows a tab to be lazy-loaded when it is activated when used as a directive on an ng-template. It is recommended that this be used when the content of the tab requires calculations.
7
- *
8
- * Has the same functionality as https://material.angular.io/components/tabs/overview#lazy-loading
9
- */
10
- export declare class TabContentDirective {
11
- template: TemplateRef<any>;
12
- constructor(/** Content for the tab. */ template: TemplateRef<any>);
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TabContentDirective, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<TabContentDirective, "[hsiUiTabContent]", never, {}, {}, never, never, true, never>;
15
- }
@@ -1,16 +0,0 @@
1
- import { OnChanges } from '@angular/core';
2
- import { TabBodyComponent } from './tab-body.component';
3
- import { TabLabelComponent } from './tab-label.component';
4
- import { TabsService } from './tabs.service';
5
- import * as i0 from "@angular/core";
6
- export declare class TabItemComponent<T> implements OnChanges {
7
- private service;
8
- isActive: boolean;
9
- value: T;
10
- bodyComponent: TabBodyComponent;
11
- labelComponent: TabLabelComponent;
12
- constructor(service: TabsService<T>);
13
- ngOnChanges(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TabItemComponent<any>, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<TabItemComponent<any>, "hsi-ui-tab-item", never, { "isActive": { "alias": "isActive"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, ["bodyComponent", "labelComponent"], ["*"], true, never>;
16
- }
@@ -1,10 +0,0 @@
1
- import { ElementRef, TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TabLabelComponent {
4
- value: string;
5
- labelElement: ElementRef<HTMLDivElement>;
6
- labelContent: TemplateRef<unknown>;
7
- id: string;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TabLabelComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<TabLabelComponent, "hsi-ui-tab-label", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
10
- }
@@ -1,24 +0,0 @@
1
- import { AfterContentInit, DestroyRef, EventEmitter, QueryList } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { TabItemComponent } from './tab-item.component';
4
- import { TabsService } from './tabs.service';
5
- import * as i0 from "@angular/core";
6
- export declare class TabsComponent<T> implements AfterContentInit {
7
- service: TabsService<T>;
8
- private destroyRef;
9
- tabs: QueryList<TabItemComponent<T>>;
10
- tabChange: EventEmitter<string | T>;
11
- tabItems$: Observable<TabItemComponent<T>[]>;
12
- tabChanges$: Observable<boolean[]>;
13
- constructor(service: TabsService<T>, destroyRef: DestroyRef);
14
- ngAfterContentInit(): void;
15
- initializeActiveTab(): void;
16
- selectTab(tabItem: TabItemComponent<T>): void;
17
- emitNewActiveTab(tabItem: TabItemComponent<T>): void;
18
- handleKeydown(event: KeyboardEvent, tabItem: TabItemComponent<T>): void;
19
- focusTab(tabItem: TabItemComponent<T>): void;
20
- focusNextTab(tabIndex: number): void;
21
- focusPreviousTab(tabIndex: number): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent<any>, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent<any>, "hsi-ui-tabs", never, {}, { "tabChange": "tabChange"; }, ["tabs"], never, true, never>;
24
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./tabs.component";
3
- import * as i2 from "./tab-label.component";
4
- import * as i3 from "./tab-item.component";
5
- import * as i4 from "./tab-body.component";
6
- import * as i5 from "./tab-content.directive";
7
- export declare class TabsModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TabsModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<TabsModule, never, [typeof i1.TabsComponent, typeof i2.TabLabelComponent, typeof i3.TabItemComponent, typeof i4.TabBodyComponent, typeof i5.TabContentDirective], [typeof i1.TabsComponent, typeof i2.TabLabelComponent, typeof i3.TabItemComponent, typeof i4.TabBodyComponent, typeof i5.TabContentDirective]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<TabsModule>;
11
- }
@@ -1,9 +0,0 @@
1
- import { BehaviorSubject } from 'rxjs';
2
- import { TabItemComponent } from './tab-item.component';
3
- import * as i0 from "@angular/core";
4
- export declare class TabsService<T> {
5
- activeTab: BehaviorSubject<TabItemComponent<T> | null>;
6
- activeTab$: import("rxjs").Observable<TabItemComponent<T>>;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TabsService<any>, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<TabsService<any>>;
9
- }
package/public-api.d.ts DELETED
@@ -1,4 +0,0 @@
1
- export * from './lib/combobox/index';
2
- export * from './lib/directory/index';
3
- export * from './lib/table/index';
4
- export * from './lib/tabs/index';