@hiver/connector-agent 4.18.0-slackm2-beta.0 → 4.18.0-slackm2-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.
- package/features/slack/api/effective-config.d.ts +5 -1
- package/features/slack/api/effective-config.d.ts.map +1 -1
- package/features/slack/components/LinkedConversationPanel/index.d.ts.map +1 -1
- package/features/slack/components/LinkedConversationPanel/style.d.ts +8 -2
- package/features/slack/components/LinkedConversationPanel/style.d.ts.map +1 -1
- package/features/slack/context.d.ts +9 -0
- package/features/slack/context.d.ts.map +1 -1
- package/index.es.js +5717 -5704
- package/index.umd.js +313 -307
- package/main-dev.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -14,8 +14,12 @@ export interface EffectiveConfigResponse {
|
|
|
14
14
|
* the hook called the endpoint without it and 422'd every time — the
|
|
15
15
|
* caller (SlackConversationTab) now sources smId from SlackContext.
|
|
16
16
|
*
|
|
17
|
+
* HIG conversations can span multiple shared mailboxes, so callers may
|
|
18
|
+
* also pass `smIds` — sent as repeated `sm_ids=` query params alongside
|
|
19
|
+
* the primary `sm_id`.
|
|
20
|
+
*
|
|
17
21
|
* Lives on the agent side because every Slack panel mount calls it;
|
|
18
22
|
* admin only consumes it from the Configure page to preview gating.
|
|
19
23
|
*/
|
|
20
|
-
export declare function useSlackEffectiveConfig(smId: string): import('@tanstack/react-query').UseQueryResult<EffectiveConfigResponse, Error>;
|
|
24
|
+
export declare function useSlackEffectiveConfig(smId: string, smIds?: string[]): import('@tanstack/react-query').UseQueryResult<EffectiveConfigResponse, Error>;
|
|
21
25
|
//# sourceMappingURL=effective-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"effective-config.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/api/effective-config.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,qBAAqB,GAC7B,kBAAkB,GAClB,kBAAkB,GAClB,qBAAqB,GACrB,kBAAkB,GAClB,WAAW,CAAC;AAEhB,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtC;AAED
|
|
1
|
+
{"version":3,"file":"effective-config.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/api/effective-config.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,qBAAqB,GAC7B,kBAAkB,GAClB,kBAAkB,GAClB,qBAAqB,GACrB,kBAAkB,GAClB,WAAW,CAAC;AAEhB,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,kFAkBrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA8D,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA8D,MAAM,OAAO,CAAC;AA8BvF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,uBAAuB,EAAE,EA4frC,CAAC"}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { BoxProps, ButtonProps, StackProps } from '@hiver/hiver-ui-kit';
|
|
2
2
|
import { StyledComponent } from '@emotion/styled';
|
|
3
|
+
type LinkedRootBaseProps = BoxProps & {
|
|
4
|
+
isBoxed: boolean;
|
|
5
|
+
};
|
|
3
6
|
/**
|
|
4
7
|
* Layout for the linked-conv tab content per Figma frame
|
|
5
8
|
* 683:666932. The host (outlook-ui) owns the tab bar above; we
|
|
6
9
|
* paint the area under it. Outer vertical borders match the
|
|
7
10
|
* Figma frame which has `border-l border-r border-[#e2e8f0]`.
|
|
8
11
|
*/
|
|
9
|
-
export declare const
|
|
12
|
+
export declare const LinkedRootBase: StyledComponent<LinkedRootBaseProps>;
|
|
10
13
|
/**
|
|
11
14
|
* Pinned parent slot. Per Figma the parent message is just a
|
|
12
15
|
* normal Chat-UI row at the top of the panel (same px-[20px]
|
|
@@ -127,7 +130,9 @@ export declare const MessageBodyCol: StyledComponent<BoxProps>;
|
|
|
127
130
|
* Header row — author + timestamp baseline-aligned with 12px gap
|
|
128
131
|
* (Figma 683:666940).
|
|
129
132
|
*/
|
|
130
|
-
export declare const MessageHeaderRow: StyledComponent<StackProps
|
|
133
|
+
export declare const MessageHeaderRow: StyledComponent<StackProps & {
|
|
134
|
+
boxed?: boolean;
|
|
135
|
+
}>;
|
|
131
136
|
/**
|
|
132
137
|
* Inbound reactions row (Figma 683:671873) — the third child of
|
|
133
138
|
* MessageBodyCol, so the column's 4px gap already spaces it 4px below the
|
|
@@ -144,4 +149,5 @@ export declare const ReactionsRow: StyledComponent<BoxProps>;
|
|
|
144
149
|
* the same size whether or not the self-border is shown.
|
|
145
150
|
*/
|
|
146
151
|
export declare const ReactionPill: StyledComponent<BoxProps>;
|
|
152
|
+
export {};
|
|
147
153
|
//# sourceMappingURL=style.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/style.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAIvD;;;;;GA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AAe,CAAC,QAAQ,CAGnD,CAAC;AAEF;;;;;;GAMG;AAEH;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,QAAQ,CAStD,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,UAAU,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,CAoCxE,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,QAAQ,CAalD,CAAC;AAKF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,WAAW,CAkBpD,CAAC;AAKF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,WAAW,CAmBrD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,QAAQ,CAoBlD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAMpD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,UAAU,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,CAc9E,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,QAAQ,CAKlD,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,QAAQ,CAQlD,CAAC"}
|
|
@@ -21,6 +21,15 @@ export interface SlackContextData {
|
|
|
21
21
|
* non-personal inbox in outlook-ui's case).
|
|
22
22
|
*/
|
|
23
23
|
smId: string;
|
|
24
|
+
/**
|
|
25
|
+
* All shared mailbox ids this conversation belongs to. Unlike `smId`
|
|
26
|
+
* (a single SM), HIG conversations can span multiple shared mailboxes,
|
|
27
|
+
* so the host passes the full set here and the effective-config
|
|
28
|
+
* endpoint receives them as repeated `sm_ids=` query params alongside
|
|
29
|
+
* the primary `sm_id`. Optional — only HIG mounts set it; Omni / dev /
|
|
30
|
+
* test mounts fall back to the single `smId`.
|
|
31
|
+
*/
|
|
32
|
+
smIds?: string[];
|
|
24
33
|
isAdmin: boolean;
|
|
25
34
|
/**
|
|
26
35
|
* Gainsight tracking sink, injected by the host (outlook-ui passes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/features/slack/context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,EAAE,EAAE,SAAS,EAAc,MAAM,OAAO,CAAC;AAEjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C;;;;;;;;;GASG;AACH,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB;;;;;;;OAOG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;IAClE;;;;;;;;OAQG;IACH,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,QAAQ,EAAE,WAAW,CAAC;QAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;KAAE,KAAK,IAAI,CAAC;IACrH;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;;OAKG;IACH,aAAa,CAAC,EA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