@alfadocs/ui-kit-debug 1.10.0 → 1.11.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.
Files changed (141) hide show
  1. package/dist/_chunks/{actions-cell-renderer-BbzCqcld.js → actions-cell-renderer-xfSYiTXQ.js} +147 -147
  2. package/dist/_chunks/actions-cell-renderer-xfSYiTXQ.js.map +1 -0
  3. package/dist/_chunks/{balance-badge-cell-DK9wxCxW.js → balance-badge-cell-C_Qz76x7.js} +2 -2
  4. package/dist/_chunks/{balance-badge-cell-DK9wxCxW.js.map → balance-badge-cell-C_Qz76x7.js.map} +1 -1
  5. package/dist/_chunks/booking-CBHKdsZl.js +2906 -0
  6. package/dist/_chunks/booking-CBHKdsZl.js.map +1 -0
  7. package/dist/_chunks/{contact-profile-card-CE9OJKcl.js → contact-profile-card-BMIBr5s9.js} +104 -125
  8. package/dist/_chunks/contact-profile-card-BMIBr5s9.js.map +1 -0
  9. package/dist/_chunks/{file-manager-CRxq0UIl.js → file-manager-Df6hyUYg.js} +2 -2
  10. package/dist/_chunks/{file-manager-CRxq0UIl.js.map → file-manager-Df6hyUYg.js.map} +1 -1
  11. package/dist/_chunks/format-price-DNqXPa_q.js +61 -0
  12. package/dist/_chunks/format-price-DNqXPa_q.js.map +1 -0
  13. package/dist/_chunks/{practice-results-BEsAdW-B.js → practice-results-D7ygCj_W.js} +333 -291
  14. package/dist/_chunks/practice-results-D7ygCj_W.js.map +1 -0
  15. package/dist/_chunks/{stepper-accordion-BeVMZPuG.js → stepper-accordion-DmVykr5F.js} +91 -88
  16. package/dist/_chunks/stepper-accordion-DmVykr5F.js.map +1 -0
  17. package/dist/agent-catalog.json +11 -4
  18. package/dist/agent-i18n/en.json +3 -2
  19. package/dist/components/_shared/format-price.d.ts +21 -0
  20. package/dist/components/_shared/format-price.d.ts.map +1 -0
  21. package/dist/components/_shared/index.d.ts +1 -0
  22. package/dist/components/_shared/index.d.ts.map +1 -1
  23. package/dist/components/_shared/stepper.d.ts +28 -2
  24. package/dist/components/_shared/stepper.d.ts.map +1 -1
  25. package/dist/components/booking/booking-types.d.ts +15 -2
  26. package/dist/components/booking/booking-types.d.ts.map +1 -1
  27. package/dist/components/booking/booking.agent.d.ts.map +1 -1
  28. package/dist/components/booking/booking.d.ts.map +1 -1
  29. package/dist/components/booking/index.js +1 -1
  30. package/dist/components/contact-profile-card/contact-profile-card.d.ts.map +1 -1
  31. package/dist/components/contact-profile-card/index.js +1 -1
  32. package/dist/components/data-table/index.js +1 -1
  33. package/dist/components/data-table/toolbar.d.ts.map +1 -1
  34. package/dist/components/file-manager/index.js +1 -1
  35. package/dist/components/patient-table/index.js +1 -1
  36. package/dist/components/practice-results/index.js +1 -1
  37. package/dist/components/practice-results/practice-results.d.ts +18 -0
  38. package/dist/components/practice-results/practice-results.d.ts.map +1 -1
  39. package/dist/components/stepper-accordion/index.js +1 -1
  40. package/dist/components/stepper-accordion/stepper-accordion.d.ts.map +1 -1
  41. package/dist/i18n/locales/ar.d.ts +4 -0
  42. package/dist/i18n/locales/ar.d.ts.map +1 -1
  43. package/dist/i18n/locales/ar.js +5 -1
  44. package/dist/i18n/locales/ar.js.map +1 -1
  45. package/dist/i18n/locales/de.d.ts +5 -1
  46. package/dist/i18n/locales/de.d.ts.map +1 -1
  47. package/dist/i18n/locales/de.js +6 -2
  48. package/dist/i18n/locales/de.js.map +1 -1
  49. package/dist/i18n/locales/el.d.ts +4 -0
  50. package/dist/i18n/locales/el.d.ts.map +1 -1
  51. package/dist/i18n/locales/el.js +5 -1
  52. package/dist/i18n/locales/el.js.map +1 -1
  53. package/dist/i18n/locales/en.d.ts +4 -0
  54. package/dist/i18n/locales/en.d.ts.map +1 -1
  55. package/dist/i18n/locales/en.js +5 -1
  56. package/dist/i18n/locales/en.js.map +1 -1
  57. package/dist/i18n/locales/es.d.ts +5 -1
  58. package/dist/i18n/locales/es.d.ts.map +1 -1
  59. package/dist/i18n/locales/es.js +6 -2
  60. package/dist/i18n/locales/es.js.map +1 -1
  61. package/dist/i18n/locales/fr.d.ts +5 -1
  62. package/dist/i18n/locales/fr.d.ts.map +1 -1
  63. package/dist/i18n/locales/fr.js +6 -2
  64. package/dist/i18n/locales/fr.js.map +1 -1
  65. package/dist/i18n/locales/hi.d.ts +4 -0
  66. package/dist/i18n/locales/hi.d.ts.map +1 -1
  67. package/dist/i18n/locales/hi.js +5 -1
  68. package/dist/i18n/locales/hi.js.map +1 -1
  69. package/dist/i18n/locales/it.d.ts +4 -0
  70. package/dist/i18n/locales/it.d.ts.map +1 -1
  71. package/dist/i18n/locales/it.js +5 -1
  72. package/dist/i18n/locales/it.js.map +1 -1
  73. package/dist/i18n/locales/ja.d.ts +4 -0
  74. package/dist/i18n/locales/ja.d.ts.map +1 -1
  75. package/dist/i18n/locales/ja.js +5 -1
  76. package/dist/i18n/locales/ja.js.map +1 -1
  77. package/dist/i18n/locales/nl.d.ts +5 -1
  78. package/dist/i18n/locales/nl.d.ts.map +1 -1
  79. package/dist/i18n/locales/nl.js +6 -2
  80. package/dist/i18n/locales/nl.js.map +1 -1
  81. package/dist/i18n/locales/pl.d.ts +4 -0
  82. package/dist/i18n/locales/pl.d.ts.map +1 -1
  83. package/dist/i18n/locales/pl.js +5 -1
  84. package/dist/i18n/locales/pl.js.map +1 -1
  85. package/dist/i18n/locales/pt.d.ts +5 -1
  86. package/dist/i18n/locales/pt.d.ts.map +1 -1
  87. package/dist/i18n/locales/pt.js +6 -2
  88. package/dist/i18n/locales/pt.js.map +1 -1
  89. package/dist/i18n/locales/ro.d.ts +4 -0
  90. package/dist/i18n/locales/ro.d.ts.map +1 -1
  91. package/dist/i18n/locales/ro.js +5 -1
  92. package/dist/i18n/locales/ro.js.map +1 -1
  93. package/dist/i18n/locales/ru.d.ts +4 -0
  94. package/dist/i18n/locales/ru.d.ts.map +1 -1
  95. package/dist/i18n/locales/ru.js +5 -1
  96. package/dist/i18n/locales/ru.js.map +1 -1
  97. package/dist/i18n/locales/sq.d.ts +4 -0
  98. package/dist/i18n/locales/sq.d.ts.map +1 -1
  99. package/dist/i18n/locales/sq.js +5 -1
  100. package/dist/i18n/locales/sq.js.map +1 -1
  101. package/dist/i18n/locales/sv.d.ts +4 -0
  102. package/dist/i18n/locales/sv.d.ts.map +1 -1
  103. package/dist/i18n/locales/sv.js +5 -1
  104. package/dist/i18n/locales/sv.js.map +1 -1
  105. package/dist/i18n/locales/tr.d.ts +4 -0
  106. package/dist/i18n/locales/tr.d.ts.map +1 -1
  107. package/dist/i18n/locales/tr.js +5 -1
  108. package/dist/i18n/locales/tr.js.map +1 -1
  109. package/dist/i18n/locales/zh.d.ts +4 -0
  110. package/dist/i18n/locales/zh.d.ts.map +1 -1
  111. package/dist/i18n/locales/zh.js +5 -1
  112. package/dist/i18n/locales/zh.js.map +1 -1
  113. package/dist/index.js +7 -7
  114. package/dist/locales/ar.json +5 -1
  115. package/dist/locales/de.json +6 -2
  116. package/dist/locales/el.json +5 -1
  117. package/dist/locales/en.json +5 -1
  118. package/dist/locales/es.json +6 -2
  119. package/dist/locales/fr.json +6 -2
  120. package/dist/locales/hi.json +5 -1
  121. package/dist/locales/it.json +5 -1
  122. package/dist/locales/ja.json +5 -1
  123. package/dist/locales/nl.json +6 -2
  124. package/dist/locales/pl.json +5 -1
  125. package/dist/locales/pt.json +6 -2
  126. package/dist/locales/ro.json +5 -1
  127. package/dist/locales/ru.json +5 -1
  128. package/dist/locales/sq.json +5 -1
  129. package/dist/locales/sv.json +5 -1
  130. package/dist/locales/tr.json +5 -1
  131. package/dist/locales/zh.json +5 -1
  132. package/dist/tokens.css +1 -1
  133. package/package.json +1 -1
  134. package/dist/_chunks/actions-cell-renderer-BbzCqcld.js.map +0 -1
  135. package/dist/_chunks/booking-DHkKcUIl.js +0 -2713
  136. package/dist/_chunks/booking-DHkKcUIl.js.map +0 -1
  137. package/dist/_chunks/contact-profile-card-CE9OJKcl.js.map +0 -1
  138. package/dist/_chunks/languages-CGLX6Qpe.js +0 -19
  139. package/dist/_chunks/languages-CGLX6Qpe.js.map +0 -1
  140. package/dist/_chunks/practice-results-BEsAdW-B.js.map +0 -1
  141. package/dist/_chunks/stepper-accordion-BeVMZPuG.js.map +0 -1
@@ -0,0 +1,61 @@
1
+ import { c as a } from "./createLucideIcon-DhHxpK9K.js";
2
+ /**
3
+ * @license lucide-react v1.22.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const h = [
9
+ ["rect", { width: "20", height: "12", x: "2", y: "6", rx: "2", key: "9lu3g6" }],
10
+ ["circle", { cx: "12", cy: "12", r: "2", key: "1c9p78" }],
11
+ ["path", { d: "M6 12h.01M18 12h.01", key: "113zkx" }]
12
+ ], k = a("banknote", h);
13
+ /**
14
+ * @license lucide-react v1.22.0 - ISC
15
+ *
16
+ * This source code is licensed under the ISC license.
17
+ * See the LICENSE file in the root directory of this source tree.
18
+ */
19
+ const s = [
20
+ ["path", { d: "m5 8 6 6", key: "1wu5hv" }],
21
+ ["path", { d: "m4 14 6-6 2-3", key: "1k1g8d" }],
22
+ ["path", { d: "M2 5h12", key: "or177f" }],
23
+ ["path", { d: "M7 2h1", key: "1t2jsx" }],
24
+ ["path", { d: "m22 22-5-10-5 10", key: "don7ne" }],
25
+ ["path", { d: "M14 18h6", key: "1m8k6r" }]
26
+ ], u = a("languages", s), o = /* @__PURE__ */ new Set([
27
+ "BIF",
28
+ "CLP",
29
+ "DJF",
30
+ "GNF",
31
+ "IDR",
32
+ "JPY",
33
+ "KMF",
34
+ "KRW",
35
+ "MGA",
36
+ "PYG",
37
+ "RWF",
38
+ "UGX",
39
+ "VND",
40
+ "VUV",
41
+ "XAF",
42
+ "XOF",
43
+ "XPF"
44
+ ]);
45
+ function m(n, c, r) {
46
+ const t = c.toUpperCase(), e = o.has(t) ? n : n / 100;
47
+ try {
48
+ return new Intl.NumberFormat(r, {
49
+ style: "currency",
50
+ currency: t
51
+ }).format(e);
52
+ } catch {
53
+ return `${o.has(t) ? String(e) : e.toFixed(2)} ${t}`;
54
+ }
55
+ }
56
+ export {
57
+ k as B,
58
+ u as L,
59
+ m as f
60
+ };
61
+ //# sourceMappingURL=format-price-DNqXPa_q.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"format-price-DNqXPa_q.js","sources":["../../node_modules/lucide-react/dist/esm/icons/banknote.mjs","../../node_modules/lucide-react/dist/esm/icons/languages.mjs","../../src/components/_shared/format-price.ts"],"sourcesContent":["/**\n * @license lucide-react v1.22.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [\n [\"rect\", { width: \"20\", height: \"12\", x: \"2\", y: \"6\", rx: \"2\", key: \"9lu3g6\" }],\n [\"circle\", { cx: \"12\", cy: \"12\", r: \"2\", key: \"1c9p78\" }],\n [\"path\", { d: \"M6 12h.01M18 12h.01\", key: \"113zkx\" }]\n];\nconst Banknote = createLucideIcon(\"banknote\", __iconNode);\n\nexport { __iconNode, Banknote as default };\n//# sourceMappingURL=banknote.mjs.map\n","/**\n * @license lucide-react v1.22.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [\n [\"path\", { d: \"m5 8 6 6\", key: \"1wu5hv\" }],\n [\"path\", { d: \"m4 14 6-6 2-3\", key: \"1k1g8d\" }],\n [\"path\", { d: \"M2 5h12\", key: \"or177f\" }],\n [\"path\", { d: \"M7 2h1\", key: \"1t2jsx\" }],\n [\"path\", { d: \"m22 22-5-10-5 10\", key: \"don7ne\" }],\n [\"path\", { d: \"M14 18h6\", key: \"1m8k6r\" }]\n];\nconst Languages = createLucideIcon(\"languages\", __iconNode);\n\nexport { __iconNode, Languages as default };\n//# sourceMappingURL=languages.mjs.map\n","/**\n * Shared money formatter for the kit's \"price in minor units\" convention.\n *\n * Every component that renders a price takes the amount as an integer in\n * the smallest currency unit (cents / centesimi) plus an ISO-4217\n * `currencyCode`, and the KIT does the formatting — the consumer never\n * hands the kit a pre-rendered string. Lifted from the file-local\n * duplicate in `contact-profile-card.tsx` when PracticeResults adopted\n * the same convention, so both surfaces render an identical price for\n * identical input.\n *\n * Not to be confused with `formatPaymentAmount` (payment-form): that one\n * is the checkout formatter and falls back to an `en` currency string so\n * a raw integer can never leak into a payment UI. This is the lightweight\n * leaf helper for read-only price captions — it lives in `_shared` so a\n * SERP card can use it without pulling the payment-form module graph in.\n * Both apply the same zero-decimal divisor rule; only the failure\n * behaviour differs.\n */\n\n/**\n * Currencies with no minor unit — the integer IS the major amount, so\n * dividing by 100 would render the price 100× too small. Pinned to\n * Stripe's list: https://stripe.com/docs/currencies#zero-decimal\n *\n * Kept in step with `ZERO_DECIMAL_CURRENCIES` in\n * `src/components/payment-form/payment-form.tsx`. Consolidating the two\n * into one exported set is a follow-up — payment-form is a shipped\n * subpath entry and re-pointing it is out of scope here.\n */\nconst ZERO_DECIMAL_CURRENCIES = new Set<string>([\n 'BIF',\n 'CLP',\n 'DJF',\n 'GNF',\n 'IDR',\n 'JPY',\n 'KMF',\n 'KRW',\n 'MGA',\n 'PYG',\n 'RWF',\n 'UGX',\n 'VND',\n 'VUV',\n 'XAF',\n 'XOF',\n 'XPF',\n]);\n\nexport function formatPrice(\n minorUnits: number,\n currency: string,\n locale: string,\n): string {\n const iso = currency.toUpperCase();\n const major = ZERO_DECIMAL_CURRENCIES.has(iso)\n ? minorUnits\n : minorUnits / 100;\n try {\n return new Intl.NumberFormat(locale, {\n style: 'currency',\n currency: iso,\n }).format(major);\n } catch {\n // Locale or currency code rejected. Fall back to a plain amount — but\n // keep the zero-decimal rule, or the fallback would reintroduce the very\n // bug this module exists to fix (`JPY 8000` reading as \"8000.00\"), and\n // keep the ISO code so the reader is not left with a bare number.\n const amount = ZERO_DECIMAL_CURRENCIES.has(iso)\n ? String(major)\n : major.toFixed(2);\n return `${amount} ${iso}`;\n }\n}\n"],"names":["__iconNode","Banknote","createLucideIcon","Languages","ZERO_DECIMAL_CURRENCIES","formatPrice","minorUnits","currency","locale","iso","major"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,MAAMA,IAAa;AAAA,EACjB,CAAC,QAAQ,EAAE,OAAO,MAAM,QAAQ,MAAM,GAAG,KAAK,GAAG,KAAK,IAAI,KAAK,KAAK,SAAQ,CAAE;AAAA,EAC9E,CAAC,UAAU,EAAE,IAAI,MAAM,IAAI,MAAM,GAAG,KAAK,KAAK,UAAU;AAAA,EACxD,CAAC,QAAQ,EAAE,GAAG,uBAAuB,KAAK,SAAQ,CAAE;AACtD,GACMC,IAAWC,EAAiB,YAAYF,CAAU;ACdxD;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,MAAMA,IAAa;AAAA,EACjB,CAAC,QAAQ,EAAE,GAAG,YAAY,KAAK,SAAQ,CAAE;AAAA,EACzC,CAAC,QAAQ,EAAE,GAAG,iBAAiB,KAAK,SAAQ,CAAE;AAAA,EAC9C,CAAC,QAAQ,EAAE,GAAG,WAAW,KAAK,SAAQ,CAAE;AAAA,EACxC,CAAC,QAAQ,EAAE,GAAG,UAAU,KAAK,SAAQ,CAAE;AAAA,EACvC,CAAC,QAAQ,EAAE,GAAG,oBAAoB,KAAK,SAAQ,CAAE;AAAA,EACjD,CAAC,QAAQ,EAAE,GAAG,YAAY,KAAK,SAAQ,CAAE;AAC3C,GACMG,IAAYD,EAAiB,aAAaF,CAAU,GCapDI,wBAA8B,IAAY;AAAA,EAC9C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAEM,SAASC,EACdC,GACAC,GACAC,GACQ;AACR,QAAMC,IAAMF,EAAS,YAAA,GACfG,IAAQN,EAAwB,IAAIK,CAAG,IACzCH,IACAA,IAAa;AACjB,MAAI;AACF,WAAO,IAAI,KAAK,aAAaE,GAAQ;AAAA,MACnC,OAAO;AAAA,MACP,UAAUC;AAAA,IAAA,CACX,EAAE,OAAOC,CAAK;AAAA,EACjB,QAAQ;AAQN,WAAO,GAHQN,EAAwB,IAAIK,CAAG,IAC1C,OAAOC,CAAK,IACZA,EAAM,QAAQ,CAAC,CACH,IAAID,CAAG;AAAA,EACzB;AACF;","x_google_ignoreList":[0,1]}