@djangocfg/ext-support 1.0.23 → 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 (51) hide show
  1. package/dist/config.cjs +2 -1
  2. package/dist/config.js +2 -1
  3. package/dist/hooks.cjs +1074 -1189
  4. package/dist/hooks.d.cts +26 -150
  5. package/dist/hooks.d.ts +26 -150
  6. package/dist/hooks.js +1044 -1111
  7. package/dist/i18n.cjs +12 -0
  8. package/dist/i18n.d.cts +5 -0
  9. package/dist/i18n.d.ts +5 -0
  10. package/dist/i18n.js +12 -0
  11. package/dist/index-Dov7pn8Z.d.cts +863 -0
  12. package/dist/index-Dov7pn8Z.d.ts +863 -0
  13. package/dist/index.cjs +1008 -1451
  14. package/dist/index.d.cts +6 -1421
  15. package/dist/index.d.ts +6 -1421
  16. package/dist/index.js +976 -1381
  17. package/package.json +11 -10
  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} +60 -32
  23. package/src/components/SupportHero.tsx +105 -0
  24. package/src/{layouts/SupportLayout/components/TicketCard.tsx → components/TicketItem.tsx} +49 -35
  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/locales/en.ts +5 -0
  32. package/src/i18n/locales/ko.ts +5 -0
  33. package/src/i18n/locales/ru.ts +5 -0
  34. package/src/i18n/types.ts +6 -0
  35. package/src/index.ts +47 -18
  36. package/src/model/index.ts +12 -0
  37. package/src/model/types.ts +72 -0
  38. package/src/layouts/SupportLayout/README.md +0 -91
  39. package/src/layouts/SupportLayout/SupportLayout.tsx +0 -180
  40. package/src/layouts/SupportLayout/components/MessageInput.tsx +0 -94
  41. package/src/layouts/SupportLayout/components/MessageList.tsx +0 -333
  42. package/src/layouts/SupportLayout/components/TicketList.tsx +0 -165
  43. package/src/layouts/SupportLayout/components/index.ts +0 -6
  44. package/src/layouts/SupportLayout/context/SupportLayoutContext.tsx +0 -265
  45. package/src/layouts/SupportLayout/context/index.ts +0 -2
  46. package/src/layouts/SupportLayout/events.ts +0 -33
  47. package/src/layouts/SupportLayout/hooks/index.ts +0 -2
  48. package/src/layouts/SupportLayout/hooks/useInfiniteMessages.ts +0 -117
  49. package/src/layouts/SupportLayout/hooks/useInfiniteTickets.ts +0 -90
  50. package/src/layouts/SupportLayout/index.ts +0 -6
  51. 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.23",
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"
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.23",
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"