@fayz-ai/plugin-support 0.0.0-stage → 0.2.1

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.
Files changed (59) hide show
  1. package/LICENSE +21 -0
  2. package/dist/HelpdeskConsole-7W5IAQIU.js +355 -0
  3. package/dist/HelpdeskConsole-7W5IAQIU.js.map +1 -0
  4. package/dist/SupportCenter-Z2HEPJGD.js +1090 -0
  5. package/dist/SupportCenter-Z2HEPJGD.js.map +1 -0
  6. package/dist/chunk-5K7VA5VP.js +106 -0
  7. package/dist/chunk-5K7VA5VP.js.map +1 -0
  8. package/dist/chunk-7NVBUXTX.js +300 -0
  9. package/dist/chunk-7NVBUXTX.js.map +1 -0
  10. package/dist/chunk-JJPB2T3Z.js +131 -0
  11. package/dist/chunk-JJPB2T3Z.js.map +1 -0
  12. package/dist/components/HelpdeskStatusPanel.d.ts +12 -0
  13. package/dist/components/HelpdeskStatusPanel.d.ts.map +1 -0
  14. package/dist/data/api.d.ts +15 -0
  15. package/dist/data/api.d.ts.map +1 -0
  16. package/dist/data/console.d.ts +37 -0
  17. package/dist/data/console.d.ts.map +1 -0
  18. package/dist/index.d.ts +19 -0
  19. package/dist/index.d.ts.map +1 -0
  20. package/dist/index.js +901 -0
  21. package/dist/index.js.map +1 -0
  22. package/dist/lib/content.d.ts +24 -0
  23. package/dist/lib/content.d.ts.map +1 -0
  24. package/dist/lib/fix-prompt.d.ts +30 -0
  25. package/dist/lib/fix-prompt.d.ts.map +1 -0
  26. package/dist/lib/report-tool.d.ts +25 -0
  27. package/dist/lib/report-tool.d.ts.map +1 -0
  28. package/dist/lib/vocabulary.d.ts +34 -0
  29. package/dist/lib/vocabulary.d.ts.map +1 -0
  30. package/dist/locales/en.d.ts +2 -0
  31. package/dist/locales/en.d.ts.map +1 -0
  32. package/dist/locales/index.d.ts +2 -0
  33. package/dist/locales/index.d.ts.map +1 -0
  34. package/dist/locales/pt-BR.d.ts +2 -0
  35. package/dist/locales/pt-BR.d.ts.map +1 -0
  36. package/dist/migrations/index.d.ts +9 -0
  37. package/dist/migrations/index.d.ts.map +1 -0
  38. package/dist/store.d.ts +27 -0
  39. package/dist/store.d.ts.map +1 -0
  40. package/dist/types.d.ts +80 -0
  41. package/dist/types.d.ts.map +1 -0
  42. package/dist/views/HelpdeskConsole.d.ts +10 -0
  43. package/dist/views/HelpdeskConsole.d.ts.map +1 -0
  44. package/dist/views/ScreenCaptureEditor.d.ts +12 -0
  45. package/dist/views/ScreenCaptureEditor.d.ts.map +1 -0
  46. package/dist/views/SupportCenter.d.ts +14 -0
  47. package/dist/views/SupportCenter.d.ts.map +1 -0
  48. package/dist/views/SupportMenu.d.ts +12 -0
  49. package/dist/views/SupportMenu.d.ts.map +1 -0
  50. package/dist/views/SupportRequestDetail.d.ts +6 -0
  51. package/dist/views/SupportRequestDetail.d.ts.map +1 -0
  52. package/dist/views/SupportRequestForm.d.ts +12 -0
  53. package/dist/views/SupportRequestForm.d.ts.map +1 -0
  54. package/dist/views/SupportRequestsPanel.d.ts +11 -0
  55. package/dist/views/SupportRequestsPanel.d.ts.map +1 -0
  56. package/dist/views/TicketDetailPage.d.ts +12 -0
  57. package/dist/views/TicketDetailPage.d.ts.map +1 -0
  58. package/package.json +56 -3
  59. package/README.md +0 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportRequestDetail.d.ts","sourceRoot":"","sources":["../../src/views/SupportRequestDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,MAAM,WAAW,yBAAyB;IACxC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;CACpB;AAED,wBAAgB,oBAAoB,CAAC,EAAE,MAAM,EAAE,EAAE,yBAAyB,qBAiHzE"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import type { SupportKind } from '../types';
3
+ export interface SupportRequestFormProps {
4
+ kind: SupportKind;
5
+ onDone: (result: {
6
+ id: string;
7
+ number: number;
8
+ }) => void;
9
+ onBack: () => void;
10
+ }
11
+ export declare function SupportRequestForm({ kind, onDone, onBack }: SupportRequestFormProps): React.JSX.Element;
12
+ //# sourceMappingURL=SupportRequestForm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportRequestForm.d.ts","sourceRoot":"","sources":["../../src/views/SupportRequestForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,WAAW,EAAqB,MAAM,UAAU,CAAA;AAM9D,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,WAAW,CAAA;IACjB,MAAM,EAAE,CAAC,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACxD,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB;AAID,wBAAgB,kBAAkB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,uBAAuB,qBAsHnF"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export interface SupportRequestsPanelProps {
3
+ onAskDico?: () => void;
4
+ /** Start straight on the new-request menu (e.g. the "Nova solicitação" CTA). */
5
+ startNew?: boolean;
6
+ /** Open a ticket as a full page instead of the in-panel detail (host closes
7
+ * the modal and navigates). Falls back to the in-panel detail when absent. */
8
+ onOpenTicket?: (id: string) => void;
9
+ }
10
+ export declare function SupportRequestsPanel({ onAskDico, startNew, onOpenTicket }: SupportRequestsPanelProps): React.JSX.Element;
11
+ //# sourceMappingURL=SupportRequestsPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportRequestsPanel.d.ts","sourceRoot":"","sources":["../../src/views/SupportRequestsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAmBzB,MAAM,WAAW,yBAAyB;IACxC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;mFAC+E;IAC/E,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACpC;AAID,wBAAgB,oBAAoB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,EAAE,yBAAyB,qBA2FpG"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ /**
3
+ * Full-page ticket, opened at #/support/ticket/<id>. A small CRM feedback page:
4
+ * the conversation on the left, the ticket's facts on the right, with the slow
5
+ * detail (history, ids, the screens the user passed through) tucked under an
6
+ * "Informações avançadas" toggle so the page reads at a glance.
7
+ */
8
+ export declare function TicketDetailPage({ id }: {
9
+ id: string;
10
+ }): React.JSX.Element;
11
+ export default TicketDetailPage;
12
+ //# sourceMappingURL=TicketDetailPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TicketDetailPage.d.ts","sourceRoot":"","sources":["../../src/views/TicketDetailPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAmBzB;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,EAAE,EAAE;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,qBAqMtD;AAyID,eAAe,gBAAgB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,59 @@
1
1
  {
2
2
  "name": "@fayz-ai/plugin-support",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "fayz": {
4
+ "status": "beta",
5
+ "dependencies": []
6
+ },
7
+ "version": "0.2.1",
8
+ "description": "Fayz SDK — plugin-support plugin (Central de Suporte do Dico: solicitações)",
9
+ "type": "module",
10
+ "sideEffects": false,
11
+ "main": "./dist/index.js",
12
+ "module": "./dist/index.js",
13
+ "types": "./dist/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/index.d.ts",
17
+ "import": "./dist/index.js"
18
+ }
19
+ },
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "peerDependencies": {
24
+ "react": "^18.0.0 || ^19.0.0",
25
+ "react-dom": "^18.0.0 || ^19.0.0",
26
+ "zustand": "^4.5.0 || ^5.0.0",
27
+ "lucide-react": ">=0.400.0 <1.0.0"
28
+ },
29
+ "dependencies": {
30
+ "@fayz-ai/core": "^0.50.0",
31
+ "@fayz-ai/admin": "^0.50.0",
32
+ "@fayz-ai/ui": "^0.50.0"
33
+ },
34
+ "devDependencies": {
35
+ "@types/react": "^18.3.0",
36
+ "react": "^18.3.0",
37
+ "tsup": "^8.2.0",
38
+ "typescript": "^5.5.0",
39
+ "vitest": "^4.1.5",
40
+ "zustand": "^4.5.0",
41
+ "lucide-react": "^0.400.0"
42
+ },
43
+ "license": "MIT",
44
+ "keywords": [
45
+ "fayz",
46
+ "fayz-plugin",
47
+ "fayz-sdk"
48
+ ],
49
+ "publishConfig": {
50
+ "access": "public"
51
+ },
52
+ "scripts": {
53
+ "build": "tsup && tsc -b --force",
54
+ "dev": "tsup --watch",
55
+ "typecheck": "tsc -b tsconfig.test.json",
56
+ "test": "vitest run",
57
+ "clean": "rm -rf dist .tsbuildinfo"
58
+ }
6
59
  }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.