@lightworkai.official/debug-capture-angular 0.6.0 → 0.7.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/README.md +1 -1
- package/dist/index.d.ts +19 -8
- package/dist/index.mjs +52 -1515
- package/package.json +2 -2
- package/src/index.ts +56 -22
- package/dist/components/icon.component.d.ts +0 -15
- package/dist/components/icons.d.ts +0 -29
- package/dist/components/image-annotator-dialog.component.d.ts +0 -70
- package/dist/components/my-tickets-panel.component.d.ts +0 -100
- package/dist/components/rich-reply-editor.component.d.ts +0 -89
- package/dist/components/ticket-body.component.d.ts +0 -25
- package/dist/components/ticket-detail.component.d.ts +0 -125
- package/dist/components/ticket-table.component.d.ts +0 -75
- package/src/components/icon.component.ts +0 -24
- package/src/components/icons.ts +0 -64
- package/src/components/image-annotator-dialog.component.ts +0 -159
- package/src/components/my-tickets-panel.component.ts +0 -326
- package/src/components/rich-reply-editor.component.ts +0 -287
- package/src/components/ticket-body.component.ts +0 -53
- package/src/components/ticket-detail.component.ts +0 -441
- package/src/components/ticket-table.component.ts +0 -183
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ export const appConfig: ApplicationConfig = {
|
|
|
35
35
|
never reading one back; see
|
|
36
36
|
[the core README](../debug-capture/README.md#it-needs-to-know-who-is-asking).
|
|
37
37
|
Set `[refreshKey]` to make it re-read the list. Import
|
|
38
|
-
`
|
|
38
|
+
`SupportPortalButtonComponent`; it is standalone.
|
|
39
39
|
|
|
40
40
|
**The panel is a real standalone component**, `<lw-my-tickets-panel>`, with
|
|
41
41
|
`@Input()`s and `@Output()`s. It was a web element mounted in `ngAfterViewInit`,
|
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* never sees an unknown tag to complain about. That awkwardness is the
|
|
11
11
|
* wrapper's to absorb, which is most of the reason the wrapper exists.
|
|
12
12
|
*/
|
|
13
|
-
import { type EnvironmentProviders } from "@angular/core";
|
|
13
|
+
import { type EnvironmentProviders, EventEmitter } from "@angular/core";
|
|
14
14
|
import { type DebugCaptureConfig, type ErroredQuery } from "@lightworkai.official/debug-capture";
|
|
15
15
|
export interface DebugCaptureProviderOptions extends DebugCaptureConfig {
|
|
16
16
|
/** Failed queries from the app's data layer, if it has one. */
|
|
@@ -39,6 +39,23 @@ export declare class ReportProblemButtonComponent {
|
|
|
39
39
|
label: string;
|
|
40
40
|
report(): void;
|
|
41
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* "ดูปัญหาที่แจ้ง" — hands the current user to their tickets on the support host,
|
|
44
|
+
* already signed in.
|
|
45
|
+
*
|
|
46
|
+
* Unlike the reporter button this one awaits, so it CAN be routed through a
|
|
47
|
+
* Promise: the token comes from the host's own server at click time, because it
|
|
48
|
+
* lives about two minutes and is spent on arrival. Hence a pending state, and a
|
|
49
|
+
* failure path — most often "nobody is signed in", which the host answers.
|
|
50
|
+
*/
|
|
51
|
+
export declare class SupportPortalButtonComponent {
|
|
52
|
+
label: string;
|
|
53
|
+
/** Open in a new tab instead of navigating away. */
|
|
54
|
+
newTab: boolean;
|
|
55
|
+
failed: EventEmitter<unknown>;
|
|
56
|
+
pending: boolean;
|
|
57
|
+
open(): Promise<void>;
|
|
58
|
+
}
|
|
42
59
|
/**
|
|
43
60
|
* Real standalone components now, not a web element mounted from a wrapper.
|
|
44
61
|
* The core package holds the logic every framework shares — the ingest client,
|
|
@@ -49,11 +66,5 @@ export declare class ReportProblemButtonComponent {
|
|
|
49
66
|
*
|
|
50
67
|
* @import "@lightworkai.official/debug-capture/style.css";
|
|
51
68
|
*/
|
|
52
|
-
export { MyTicketsPanelComponent } from "./components/my-tickets-panel.component";
|
|
53
|
-
export { TicketTableComponent } from "./components/ticket-table.component";
|
|
54
|
-
export { TicketDetailComponent } from "./components/ticket-detail.component";
|
|
55
|
-
export { RichReplyEditorComponent } from "./components/rich-reply-editor.component";
|
|
56
|
-
export { TicketBodyComponent } from "./components/ticket-body.component";
|
|
57
|
-
export { ImageAnnotatorDialogComponent } from "./components/image-annotator-dialog.component";
|
|
58
69
|
export { configureDebugCapture, launch, onCrash } from "@lightworkai.official/debug-capture";
|
|
59
|
-
export type { DebugCaptureConfig, DebugReason, ErroredQuery
|
|
70
|
+
export type { DebugCaptureConfig, DebugReason, ErroredQuery } from "@lightworkai.official/debug-capture";
|