@skyux/lists 13.5.2 → 13.6.0

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/index.d.ts CHANGED
@@ -608,6 +608,66 @@ declare class SkyRepeaterModule {
608
608
  static ɵinj: i0.ɵɵInjectorDeclaration<SkyRepeaterModule>;
609
609
  }
610
610
 
611
+ /**
612
+ * Represents a value for a filter item.
613
+ */
614
+ interface SkyFilterStateFilterValue {
615
+ /**
616
+ * The real value for the filter.
617
+ */
618
+ value: unknown;
619
+ /**
620
+ * A human-readable string for use with values that can't be displayed to the user.
621
+ */
622
+ displayValue?: string;
623
+ }
624
+
625
+ /**
626
+ * Represents a filter item that can be applied to data.
627
+ */
628
+ interface SkyFilterStateFilterItem {
629
+ /**
630
+ * A unique identifier for the filter item.
631
+ */
632
+ filterId: string;
633
+ /**
634
+ * The value of the filter item.
635
+ */
636
+ filterValue?: SkyFilterStateFilterValue;
637
+ }
638
+
639
+ /**
640
+ * Represents the complete filter state containing both applied filters and selected filter IDs.
641
+ */
642
+ interface SkyFilterState {
643
+ /**
644
+ * An array of filter items containing the IDs and values of the filters that have been applied.
645
+ */
646
+ appliedFilters?: SkyFilterStateFilterItem[];
647
+ /**
648
+ * An array of filter IDs that the user has selected (for components that support filter selection).
649
+ */
650
+ selectedFilterIds?: string[];
651
+ }
652
+
653
+ /**
654
+ * Abstract service that provides an interface for components to integrate with a data manager.
655
+ * This allows various list and filter components to work with data managers without tight coupling.
656
+ * @internal
657
+ */
658
+ declare abstract class SkyFilterStateService {
659
+ /**
660
+ * Subscribe to filter data updates that did not originate from the given source ID.
661
+ * This mirrors the data manager service pattern to avoid update loops between participants.
662
+ */
663
+ abstract getFilterStateUpdates(sourceId: string): Observable<SkyFilterState>;
664
+ /**
665
+ * Updates the filter adapter data and broadcasts the change to subscribers.
666
+ * Implementations should emit a new value to `filterStateChange` with the provided data.
667
+ */
668
+ abstract updateFilterState(state: SkyFilterState, sourceId: string): void;
669
+ }
670
+
611
671
  /**
612
672
  * @internal
613
673
  */
@@ -674,5 +734,5 @@ declare class SkySortModule {
674
734
  static ɵinj: i0.ɵɵInjectorDeclaration<SkySortModule>;
675
735
  }
676
736
 
677
- export { SkyFilterModule, SkyInfiniteScrollModule, SkyListSummaryModule, SkyPagingModule, SkyRepeaterModule, SkySortModule, SkyFilterButtonComponent as λ1, SkyRepeaterItemComponent as λ10, SkyRepeaterComponent as λ11, SkyRepeaterItemTitleComponent as λ12, SkySortItemComponent as λ13, SkySortComponent as λ14, SkyPagingContentComponent as λ15, SkyListSummaryComponent as λ16, SkyListSummaryItemComponent as λ17, SkyFilterInlineComponent as λ2, SkyFilterInlineItemComponent as λ3, SkyFilterSummaryItemComponent as λ4, SkyFilterSummaryComponent as λ5, SkyInfiniteScrollComponent as λ6, SkyPagingComponent as λ7, SkyRepeaterItemContentComponent as λ8, SkyRepeaterItemContextMenuComponent as λ9 };
678
- export type { SkyPagingContentChangeArgs, SkyRepeaterExpandModeType };
737
+ export { SkyFilterModule, SkyFilterStateService, SkyInfiniteScrollModule, SkyListSummaryModule, SkyPagingModule, SkyRepeaterModule, SkySortModule, SkyFilterButtonComponent as λ1, SkyRepeaterItemComponent as λ10, SkyRepeaterComponent as λ11, SkyRepeaterItemTitleComponent as λ12, SkySortItemComponent as λ13, SkySortComponent as λ14, SkyPagingContentComponent as λ15, SkyListSummaryComponent as λ16, SkyListSummaryItemComponent as λ17, SkyFilterInlineComponent as λ2, SkyFilterInlineItemComponent as λ3, SkyFilterSummaryItemComponent as λ4, SkyFilterSummaryComponent as λ5, SkyInfiniteScrollComponent as λ6, SkyPagingComponent as λ7, SkyRepeaterItemContentComponent as λ8, SkyRepeaterItemContextMenuComponent as λ9 };
738
+ export type { SkyFilterState, SkyFilterStateFilterItem, SkyFilterStateFilterValue, SkyPagingContentChangeArgs, SkyRepeaterExpandModeType };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/lists",
3
- "version": "13.5.2",
3
+ "version": "13.6.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -20,16 +20,16 @@
20
20
  "@angular/common": "^20.3.0",
21
21
  "@angular/core": "^20.3.0",
22
22
  "@angular/platform-browser": "^20.3.0",
23
- "@skyux-sdk/testing": "13.5.2",
24
- "@skyux/animations": "13.5.2",
25
- "@skyux/core": "13.5.2",
26
- "@skyux/forms": "13.5.2",
27
- "@skyux/i18n": "13.5.2",
28
- "@skyux/icon": "13.5.2",
29
- "@skyux/indicators": "13.5.2",
30
- "@skyux/inline-form": "13.5.2",
31
- "@skyux/popovers": "13.5.2",
32
- "@skyux/theme": "13.5.2"
23
+ "@skyux-sdk/testing": "13.6.0",
24
+ "@skyux/animations": "13.6.0",
25
+ "@skyux/core": "13.6.0",
26
+ "@skyux/forms": "13.6.0",
27
+ "@skyux/i18n": "13.6.0",
28
+ "@skyux/icon": "13.6.0",
29
+ "@skyux/indicators": "13.6.0",
30
+ "@skyux/inline-form": "13.6.0",
31
+ "@skyux/popovers": "13.6.0",
32
+ "@skyux/theme": "13.6.0"
33
33
  },
34
34
  "dependencies": {
35
35
  "@types/dragula": "2.1.36",