@trimble-oss/moduswebcomponents-angular 0.0.0-alpha.24-ng18 → 0.0.0-alpha.25-ng17

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.
@@ -4,6 +4,8 @@ import type { IAutocompleteItem as IModusWcAutocompleteIAutocompleteItem } from
4
4
  import type { IBreadcrumb as IModusWcBreadcrumbsIBreadcrumb } from '@trimble-oss/moduswebcomponents';
5
5
  import type { IPageChange as IModusWcPaginationIPageChange } from '@trimble-oss/moduswebcomponents';
6
6
  import type { IRatingChange as IModusWcRatingIRatingChange } from '@trimble-oss/moduswebcomponents';
7
+ import type { SortingState as IModusWcTableSortingState } from '@trimble-oss/moduswebcomponents';
8
+ import type { IPaginationChangeEventDetail as IModusWcTableIPaginationChangeEventDetail } from '@trimble-oss/moduswebcomponents';
7
9
  import type { IThemeConfig as IModusWcThemeSwitcherIThemeConfig } from '@trimble-oss/moduswebcomponents';
8
10
  import * as i0 from "@angular/core";
9
11
  export declare class ModusWcAccordion {
@@ -439,6 +441,15 @@ export declare interface ModusWcSelect extends Components.ModusWcSelect {
439
441
  */
440
442
  inputFocus: EventEmitter<CustomEvent<FocusEvent>>;
441
443
  }
444
+ export declare class ModusWcSideNavigation {
445
+ protected z: NgZone;
446
+ protected el: HTMLModusWcSideNavigationElement;
447
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
448
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModusWcSideNavigation, never>;
449
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModusWcSideNavigation, "modus-wc-side-navigation", never, { "collapseOnClickOutside": { "alias": "collapseOnClickOutside"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; }, {}, never, ["*"], false, never>;
450
+ }
451
+ export declare interface ModusWcSideNavigation extends Components.ModusWcSideNavigation {
452
+ }
442
453
  export declare class ModusWcSkeleton {
443
454
  protected z: NgZone;
444
455
  protected el: HTMLModusWcSkeletonElement;
@@ -504,16 +515,47 @@ export declare class ModusWcTable {
504
515
  protected el: HTMLModusWcTableElement;
505
516
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
506
517
  static ɵfac: i0.ɵɵFactoryDeclaration<ModusWcTable, never>;
507
- static ɵcmp: i0.ɵɵComponentDeclaration<ModusWcTable, "modus-wc-table", never, { "columns": { "alias": "columns"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "data": { "alias": "data"; "required": false; }; "density": { "alias": "density"; "required": false; }; "zebra": { "alias": "zebra"; "required": false; }; }, {}, never, ["*"], false, never>;
518
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModusWcTable, "modus-wc-table", never, { "columns": { "alias": "columns"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "data": { "alias": "data"; "required": false; }; "density": { "alias": "density"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "hover": { "alias": "hover"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "paginated": { "alias": "paginated"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "selectedRowIds": { "alias": "selectedRowIds"; "required": false; }; "showPageSizeSelector": { "alias": "showPageSizeSelector"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "zebra": { "alias": "zebra"; "required": false; }; }, {}, never, ["*"], false, never>;
508
519
  }
509
520
  export declare interface ModusWcTable extends Components.ModusWcTable {
521
+ /**
522
+ * Emits when cell editing starts.
523
+ */
524
+ cellEditStart: EventEmitter<CustomEvent<{
525
+ rowIndex: number;
526
+ colId: string;
527
+ }>>;
528
+ /**
529
+ * Emits when cell editing is committed with the new value.
530
+ */
531
+ cellEditCommit: EventEmitter<CustomEvent<{
532
+ rowIndex: number;
533
+ colId: string;
534
+ newValue: unknown;
535
+ updatedRow: Record<string, unknown>;
536
+ }>>;
510
537
  /**
511
538
  * Emits when a row is clicked.
512
539
  */
513
540
  rowClick: EventEmitter<CustomEvent<{
514
- row: Record<string, any>;
541
+ row: Record<string, unknown>;
515
542
  index: number;
516
543
  }>>;
544
+ /**
545
+ * Emits when sorting changes with the new sorting state.
546
+ */
547
+ sortChange: EventEmitter<CustomEvent<IModusWcTableSortingState>>;
548
+ /**
549
+ * Emits when pagination changes with the new pagination state.
550
+ */
551
+ paginationChange: EventEmitter<CustomEvent<IModusWcTableIPaginationChangeEventDetail>>;
552
+ /**
553
+ * Emits when row selection changes with the selected rows and their IDs.
554
+ */
555
+ rowSelectionChange: EventEmitter<CustomEvent<{
556
+ selectedRows: Record<string, unknown>[];
557
+ selectedRowIds: string[];
558
+ }>>;
517
559
  }
518
560
  export declare class ModusWcTabs {
519
561
  protected z: NgZone;
@@ -1,2 +1,2 @@
1
1
  import * as d from './components';
2
- export declare const DIRECTIVES: (typeof d.ModusWcAccordion | typeof d.ModusWcAlert | typeof d.ModusWcAutocomplete | typeof d.ModusWcAvatar | typeof d.ModusWcBadge | typeof d.ModusWcBreadcrumbs | typeof d.ModusWcButton | typeof d.ModusWcCard | typeof d.ModusWcCheckbox | typeof d.ModusWcChip | typeof d.ModusWcCollapse | typeof d.ModusWcDate | typeof d.ModusWcDivider | typeof d.ModusWcIcon | typeof d.ModusWcInputFeedback | typeof d.ModusWcInputLabel | typeof d.ModusWcLoader | typeof d.ModusWcMenu | typeof d.ModusWcMenuItem | typeof d.ModusWcModal | typeof d.ModusWcNavbar | typeof d.ModusWcNumberInput | typeof d.ModusWcPagination | typeof d.ModusWcProgress | typeof d.ModusWcRadio | typeof d.ModusWcRating | typeof d.ModusWcSelect | typeof d.ModusWcSkeleton | typeof d.ModusWcSlider | typeof d.ModusWcStepper | typeof d.ModusWcSwitch | typeof d.ModusWcTable | typeof d.ModusWcTabs | typeof d.ModusWcTextInput | typeof d.ModusWcTextarea | typeof d.ModusWcThemeProvider | typeof d.ModusWcThemeSwitcher | typeof d.ModusWcTimeInput | typeof d.ModusWcToast | typeof d.ModusWcToolbar | typeof d.ModusWcTooltip | typeof d.ModusWcTypography)[];
2
+ export declare const DIRECTIVES: (typeof d.ModusWcAccordion | typeof d.ModusWcAlert | typeof d.ModusWcAutocomplete | typeof d.ModusWcAvatar | typeof d.ModusWcBadge | typeof d.ModusWcBreadcrumbs | typeof d.ModusWcButton | typeof d.ModusWcCard | typeof d.ModusWcCheckbox | typeof d.ModusWcChip | typeof d.ModusWcCollapse | typeof d.ModusWcDate | typeof d.ModusWcDivider | typeof d.ModusWcIcon | typeof d.ModusWcInputFeedback | typeof d.ModusWcInputLabel | typeof d.ModusWcLoader | typeof d.ModusWcMenu | typeof d.ModusWcMenuItem | typeof d.ModusWcModal | typeof d.ModusWcNavbar | typeof d.ModusWcNumberInput | typeof d.ModusWcPagination | typeof d.ModusWcProgress | typeof d.ModusWcRadio | typeof d.ModusWcRating | typeof d.ModusWcSelect | typeof d.ModusWcSideNavigation | typeof d.ModusWcSkeleton | typeof d.ModusWcSlider | typeof d.ModusWcStepper | typeof d.ModusWcSwitch | typeof d.ModusWcTable | typeof d.ModusWcTabs | typeof d.ModusWcTextInput | typeof d.ModusWcTextarea | typeof d.ModusWcThemeProvider | typeof d.ModusWcThemeSwitcher | typeof d.ModusWcTimeInput | typeof d.ModusWcToast | typeof d.ModusWcToolbar | typeof d.ModusWcTooltip | typeof d.ModusWcTypography)[];
package/package.json CHANGED
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "name": "@trimble-oss/moduswebcomponents-angular",
3
- "version": "0.0.0-alpha.24-ng18",
4
- "description": "Trimble Modus Angular Component Library",
5
- "license": "MIT",
6
- "author": "Trimble Inc.",
3
+ "version": "0.0.0-alpha.25-ng17",
7
4
  "peerDependencies": {
8
- "@angular/common": "^18.2.0",
9
- "@angular/core": "^18.2.0",
10
- "@trimble-oss/moduswebcomponents": "0.0.0-alpha.24"
5
+ "@angular/common": "^17.3.0",
6
+ "@angular/core": "^17.3.0",
7
+ "@trimble-oss/moduswebcomponents": "0.0.0-alpha.25"
11
8
  },
12
9
  "dependencies": {
13
10
  "tslib": "^2.3.0"