@djangocfg/ext-support 1.0.22 → 1.0.24

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 (53) hide show
  1. package/dist/config.cjs +5 -2
  2. package/dist/config.js +5 -2
  3. package/dist/hooks.cjs +1099 -1205
  4. package/dist/hooks.d.cts +26 -150
  5. package/dist/hooks.d.ts +26 -150
  6. package/dist/hooks.js +1072 -1130
  7. package/dist/i18n.cjs +47 -15
  8. package/dist/i18n.d.cts +32 -14
  9. package/dist/i18n.d.ts +32 -14
  10. package/dist/i18n.js +43 -13
  11. package/dist/index-Dov7pn8Z.d.cts +863 -0
  12. package/dist/index-Dov7pn8Z.d.ts +863 -0
  13. package/dist/index.cjs +1033 -1467
  14. package/dist/index.d.cts +6 -1421
  15. package/dist/index.d.ts +6 -1421
  16. package/dist/index.js +1002 -1398
  17. package/package.json +14 -11
  18. package/src/SupportPage.tsx +125 -0
  19. package/src/adapters/api.ts +255 -0
  20. package/src/adapters/demo.ts +299 -0
  21. package/src/adapters/index.ts +6 -0
  22. package/src/{layouts/SupportLayout/components/CreateTicketDialog.tsx → components/CreateTicketSheet.tsx} +61 -36
  23. package/src/components/SupportHero.tsx +105 -0
  24. package/src/{layouts/SupportLayout/components/TicketCard.tsx → components/TicketItem.tsx} +50 -39
  25. package/src/components/TicketList.tsx +140 -0
  26. package/src/components/TicketSheet.tsx +436 -0
  27. package/src/components/index.ts +9 -0
  28. package/src/contexts/SupportContext.tsx +101 -212
  29. package/src/contexts/types.ts +16 -21
  30. package/src/hooks/index.ts +6 -18
  31. package/src/i18n/index.ts +20 -17
  32. package/src/i18n/locales/en.ts +5 -0
  33. package/src/i18n/locales/ko.ts +5 -0
  34. package/src/i18n/locales/ru.ts +5 -0
  35. package/src/i18n/types.ts +17 -5
  36. package/src/i18n/useSupportT.ts +60 -0
  37. package/src/index.ts +47 -18
  38. package/src/model/index.ts +12 -0
  39. package/src/model/types.ts +72 -0
  40. package/src/layouts/SupportLayout/README.md +0 -91
  41. package/src/layouts/SupportLayout/SupportLayout.tsx +0 -183
  42. package/src/layouts/SupportLayout/components/MessageInput.tsx +0 -97
  43. package/src/layouts/SupportLayout/components/MessageList.tsx +0 -336
  44. package/src/layouts/SupportLayout/components/TicketList.tsx +0 -168
  45. package/src/layouts/SupportLayout/components/index.ts +0 -6
  46. package/src/layouts/SupportLayout/context/SupportLayoutContext.tsx +0 -265
  47. package/src/layouts/SupportLayout/context/index.ts +0 -2
  48. package/src/layouts/SupportLayout/events.ts +0 -33
  49. package/src/layouts/SupportLayout/hooks/index.ts +0 -2
  50. package/src/layouts/SupportLayout/hooks/useInfiniteMessages.ts +0 -117
  51. package/src/layouts/SupportLayout/hooks/useInfiniteTickets.ts +0 -90
  52. package/src/layouts/SupportLayout/index.ts +0 -6
  53. package/src/layouts/SupportLayout/types.ts +0 -21
package/dist/config.cjs CHANGED
@@ -27,7 +27,7 @@ var import_ext_base = require("@djangocfg/ext-base");
27
27
  // package.json
28
28
  var package_default = {
29
29
  name: "@djangocfg/ext-support",
30
- version: "1.0.22",
30
+ version: "1.0.24",
31
31
  description: "Support ticket system extension for DjangoCFG",
32
32
  keywords: [
33
33
  "django",
@@ -60,6 +60,7 @@ var package_default = {
60
60
  types: "./dist/index.d.ts",
61
61
  exports: {
62
62
  ".": {
63
+ source: "./src/index.ts",
63
64
  types: "./dist/index.d.ts",
64
65
  import: "./dist/index.js",
65
66
  require: "./dist/index.cjs"
@@ -95,14 +96,15 @@ var package_default = {
95
96
  "@djangocfg/ext-base": "workspace:*",
96
97
  "@djangocfg/i18n": "workspace:*",
97
98
  "@djangocfg/ui-core": "workspace:*",
99
+ "@hookform/resolvers": "^5.2.2",
98
100
  consola: "^3.4.2",
99
101
  "lucide-react": "^0.545.0",
100
102
  moment: "^2.30.1",
101
103
  next: "^16",
104
+ "next-intl": "^4",
102
105
  "p-retry": "^7.0.0",
103
106
  react: "^19",
104
107
  "react-hook-form": "^7.69.0",
105
- "@hookform/resolvers": "^5.2.2",
106
108
  swr: "^2.3.7",
107
109
  zod: "^4.3.4"
108
110
  },
@@ -116,6 +118,7 @@ var package_default = {
116
118
  "@types/react": "^19.0.0",
117
119
  consola: "^3.4.2",
118
120
  moment: "^2.30.1",
121
+ "next-intl": "^4.1.0",
119
122
  "p-retry": "^7.0.0",
120
123
  swr: "^2.3.7",
121
124
  tsup: "^8.5.0",
package/dist/config.js CHANGED
@@ -4,7 +4,7 @@ import { createExtensionConfig } from "@djangocfg/ext-base";
4
4
  // package.json
5
5
  var package_default = {
6
6
  name: "@djangocfg/ext-support",
7
- version: "1.0.22",
7
+ version: "1.0.24",
8
8
  description: "Support ticket system extension for DjangoCFG",
9
9
  keywords: [
10
10
  "django",
@@ -37,6 +37,7 @@ var package_default = {
37
37
  types: "./dist/index.d.ts",
38
38
  exports: {
39
39
  ".": {
40
+ source: "./src/index.ts",
40
41
  types: "./dist/index.d.ts",
41
42
  import: "./dist/index.js",
42
43
  require: "./dist/index.cjs"
@@ -72,14 +73,15 @@ var package_default = {
72
73
  "@djangocfg/ext-base": "workspace:*",
73
74
  "@djangocfg/i18n": "workspace:*",
74
75
  "@djangocfg/ui-core": "workspace:*",
76
+ "@hookform/resolvers": "^5.2.2",
75
77
  consola: "^3.4.2",
76
78
  "lucide-react": "^0.545.0",
77
79
  moment: "^2.30.1",
78
80
  next: "^16",
81
+ "next-intl": "^4",
79
82
  "p-retry": "^7.0.0",
80
83
  react: "^19",
81
84
  "react-hook-form": "^7.69.0",
82
- "@hookform/resolvers": "^5.2.2",
83
85
  swr: "^2.3.7",
84
86
  zod: "^4.3.4"
85
87
  },
@@ -93,6 +95,7 @@ var package_default = {
93
95
  "@types/react": "^19.0.0",
94
96
  consola: "^3.4.2",
95
97
  moment: "^2.30.1",
98
+ "next-intl": "^4.1.0",
96
99
  "p-retry": "^7.0.0",
97
100
  swr: "^2.3.7",
98
101
  tsup: "^8.5.0",