@indigina/ui-kit 1.1.330 → 1.1.332
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/indigina-ui-kit.mjs +66 -64
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/index.d.ts +11 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3313,6 +3313,7 @@ declare enum KitFilterType {
|
|
|
3313
3313
|
}
|
|
3314
3314
|
declare enum KitFilterDateRange {
|
|
3315
3315
|
TODAY = "today",
|
|
3316
|
+
LAST_THREE_DAYS = "lastThreeDays",
|
|
3316
3317
|
LAST_WEEK = "lastWeek",
|
|
3317
3318
|
LAST_MONTH = "lastMonth"
|
|
3318
3319
|
}
|
|
@@ -4469,10 +4470,11 @@ declare class KitCardDetailsComponent<T extends KitCardDataModel> implements OnI
|
|
|
4469
4470
|
readonly dataStateChanged: OutputEmitterRef<KitCardDetailsState>;
|
|
4470
4471
|
readonly cardClicked: OutputEmitterRef<{
|
|
4471
4472
|
id: string;
|
|
4472
|
-
}>;
|
|
4473
|
+
} & T>;
|
|
4473
4474
|
readonly kitTextboxComponent: Signal<KitTextboxComponent>;
|
|
4474
4475
|
readonly cardElement: Signal<HTMLDivElement | undefined>;
|
|
4475
4476
|
readonly headerActions: Signal<HTMLDivElement | undefined>;
|
|
4477
|
+
readonly details: Signal<HTMLDivElement | undefined>;
|
|
4476
4478
|
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
4477
4479
|
readonly kitButtonType: typeof KitButtonType;
|
|
4478
4480
|
readonly kitButtonKind: typeof KitButtonKind;
|
|
@@ -4483,12 +4485,12 @@ declare class KitCardDetailsComponent<T extends KitCardDataModel> implements OnI
|
|
|
4483
4485
|
readonly total: WritableSignal<number>;
|
|
4484
4486
|
readonly dataState: WritableSignal<KitCardDetailsState>;
|
|
4485
4487
|
readonly newCreatedCards: WritableSignal<T[]>;
|
|
4488
|
+
readonly skipNewCreatedCardFilter: Signal<KitCompositeFilterDescriptor>;
|
|
4486
4489
|
private shouldAppendFetchedData;
|
|
4487
4490
|
ngOnInit(): void;
|
|
4488
|
-
get skipNewCreatedCardFilter(): KitCompositeFilterDescriptor;
|
|
4489
4491
|
loadMoreData(): void;
|
|
4490
|
-
onCardClick(
|
|
4491
|
-
|
|
4492
|
+
onCardClick(card: T): void;
|
|
4493
|
+
appendCard(card: T, navigateToCard?: boolean): void;
|
|
4492
4494
|
deleteCard(cardId: string | number): void;
|
|
4493
4495
|
updateSpecificCardData(cardData: T): void;
|
|
4494
4496
|
scrollToCardById(id: string): void;
|
|
@@ -4496,10 +4498,13 @@ declare class KitCardDetailsComponent<T extends KitCardDataModel> implements OnI
|
|
|
4496
4498
|
private initStateFromUrl;
|
|
4497
4499
|
private initCardDataSubscription;
|
|
4498
4500
|
private updateData;
|
|
4501
|
+
private normalizeCardId;
|
|
4502
|
+
private removeFromNewCreatedCards;
|
|
4499
4503
|
private getStateFromUrl;
|
|
4500
|
-
private
|
|
4504
|
+
private setQueryParamsToUrl;
|
|
4505
|
+
private navigateToCard;
|
|
4501
4506
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitCardDetailsComponent<any>, never>;
|
|
4502
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitCardDetailsComponent<any>, "kit-card-details", never, { "cardData$": { "alias": "cardData$"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; }, { "dataStateChanged": "dataStateChanged"; "cardClicked": "cardClicked"; }, ["cardElement", "headerActions"
|
|
4507
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitCardDetailsComponent<any>, "kit-card-details", never, { "cardData$": { "alias": "cardData$"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; }, { "dataStateChanged": "dataStateChanged"; "cardClicked": "cardClicked"; }, ["cardElement", "headerActions", "details"], never, true, never>;
|
|
4503
4508
|
}
|
|
4504
4509
|
|
|
4505
4510
|
declare class KitListComponent<T> {
|