@nivaro/react 0.1.155 → 0.1.157
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/dist/full.css +1 -1
- package/dist/index.d.ts +39 -0
- package/dist/index.js +23620 -22553
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -948,6 +948,20 @@ export declare interface DrilldownTarget {
|
|
|
948
948
|
title?: string;
|
|
949
949
|
}
|
|
950
950
|
|
|
951
|
+
/** Per-collection replacement bodies for the drill-down sheet. A host app
|
|
952
|
+
* registers a richer experience for a collection (e.g. a vendor 360 view)
|
|
953
|
+
* and every RecordDrilldownSheet — queues, collection views, nested drills —
|
|
954
|
+
* renders it instead of the default detail layout for that collection. */
|
|
955
|
+
export declare interface DrilldownViewOverride {
|
|
956
|
+
render: (args: {
|
|
957
|
+
itemId: string;
|
|
958
|
+
}) => ReactNode;
|
|
959
|
+
/** Sheet width while this view is on top (e.g. '85%'). */
|
|
960
|
+
width?: string | number;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
export declare const DrilldownViewsContext: React_2.Context<Record<string, DrilldownViewOverride>>;
|
|
964
|
+
|
|
951
965
|
/**
|
|
952
966
|
* The ids a filter surface should PRE-SELECT for a dimension. Restrictions are
|
|
953
967
|
* server-enforced regardless, so the seeded selection must reflect them:
|
|
@@ -1932,6 +1946,11 @@ declare interface JsonMapEditorConfig {
|
|
|
1932
1946
|
};
|
|
1933
1947
|
}
|
|
1934
1948
|
|
|
1949
|
+
declare interface LadderTier {
|
|
1950
|
+
after_hours: number;
|
|
1951
|
+
notify: string;
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1935
1954
|
declare interface LayoutAssignment {
|
|
1936
1955
|
field: string;
|
|
1937
1956
|
group_key: string | null;
|
|
@@ -3673,6 +3692,24 @@ declare type SkipLookupFilter = {
|
|
|
3673
3692
|
|
|
3674
3693
|
declare type SkipOp = 'eq' | 'neq' | 'lt' | 'lte' | 'gt' | 'gte' | 'in' | 'notin';
|
|
3675
3694
|
|
|
3695
|
+
export declare interface SlaRule {
|
|
3696
|
+
id: number;
|
|
3697
|
+
workflow_template: string;
|
|
3698
|
+
state_key: string;
|
|
3699
|
+
name: string;
|
|
3700
|
+
duration_hours: number;
|
|
3701
|
+
warning_threshold_pct: number;
|
|
3702
|
+
business_hours_only: boolean;
|
|
3703
|
+
notify_on_warning: boolean;
|
|
3704
|
+
notify_on_breach: boolean;
|
|
3705
|
+
escalation_user: string | null;
|
|
3706
|
+
escalation_ladder?: LadderTier[];
|
|
3707
|
+
is_active: boolean;
|
|
3708
|
+
template_name?: string;
|
|
3709
|
+
}
|
|
3710
|
+
|
|
3711
|
+
export declare function SlaRulesView(): JSX.Element;
|
|
3712
|
+
|
|
3676
3713
|
export declare type SlotRendererProps = {
|
|
3677
3714
|
slot: string;
|
|
3678
3715
|
collection: string;
|
|
@@ -3878,6 +3915,8 @@ export declare function useDeleteMessage(room: string): UseMutationResult<unknow
|
|
|
3878
3915
|
|
|
3879
3916
|
export declare function useDrilldown(): DrilldownContextValue | null;
|
|
3880
3917
|
|
|
3918
|
+
export declare function useDrilldownViews(): Record<string, DrilldownViewOverride>;
|
|
3919
|
+
|
|
3881
3920
|
export declare function useEditMessage(room: string): UseMutationResult<unknown, Error, {
|
|
3882
3921
|
messageId: number;
|
|
3883
3922
|
text: string;
|