@e-llm-studio/citation 0.0.251 → 0.0.252

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 (231) hide show
  1. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +1 -1
  2. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js.map +1 -1
  3. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js +1 -1
  4. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js.map +1 -1
  5. package/dist/cjs/features/CognitiveCompare/CitationRendererInner.js +2 -0
  6. package/dist/cjs/features/CognitiveCompare/CitationRendererInner.js.map +1 -0
  7. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +1 -1
  8. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js.map +1 -1
  9. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConstants.js +1 -1
  10. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -1
  11. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  12. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -1
  13. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +1 -1
  14. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js.map +1 -1
  15. package/dist/cjs/features/CognitiveCompare/CompareContext.js +1 -1
  16. package/dist/cjs/features/CognitiveCompare/CompareContext.js.map +1 -1
  17. package/dist/cjs/features/CognitiveCompare/GptWebCitationPanel.js +2 -0
  18. package/dist/cjs/features/CognitiveCompare/GptWebCitationPanel.js.map +1 -0
  19. package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
  20. package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -1
  21. package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  22. package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -1
  23. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/guidelineTargets.js +2 -0
  24. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/guidelineTargets.js.map +1 -0
  25. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/hasGptCitationObjects.js +2 -0
  26. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/hasGptCitationObjects.js.map +1 -0
  27. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  28. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -1
  29. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/resolveGuidelineSelection.js +2 -0
  30. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/resolveGuidelineSelection.js.map +1 -0
  31. package/dist/cjs/features/CognitiveCompare/components/GuidelineSkeletonLoader.js +2 -0
  32. package/dist/cjs/features/CognitiveCompare/components/GuidelineSkeletonLoader.js.map +1 -0
  33. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js +1 -1
  34. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -1
  35. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
  36. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -1
  37. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  38. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js.map +1 -1
  39. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  40. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -1
  41. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js +1 -1
  42. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js.map +1 -1
  43. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  44. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -1
  45. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  46. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js.map +1 -1
  47. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  48. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -1
  49. package/dist/cjs/features/CognitiveCompare/hooks/useOnDemandCitationCache.js +2 -0
  50. package/dist/cjs/features/CognitiveCompare/hooks/useOnDemandCitationCache.js.map +1 -0
  51. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  52. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -1
  53. package/dist/cjs/features/CognitiveCompare/onDemandCitations/cacheKey.js +2 -0
  54. package/dist/cjs/features/CognitiveCompare/onDemandCitations/cacheKey.js.map +1 -0
  55. package/dist/cjs/features/CognitiveCompare/onDemandCitations/contextBuilder.js +2 -0
  56. package/dist/cjs/features/CognitiveCompare/onDemandCitations/contextBuilder.js.map +1 -0
  57. package/dist/cjs/features/CognitiveCompare/onDemandCitations/href.js +2 -0
  58. package/dist/cjs/features/CognitiveCompare/onDemandCitations/href.js.map +1 -0
  59. package/dist/cjs/features/CognitiveCompare/onDemandCitations/payload.js +2 -0
  60. package/dist/cjs/features/CognitiveCompare/onDemandCitations/payload.js.map +1 -0
  61. package/dist/cjs/features/CognitiveCompare/onDemandCitations/response.js +2 -0
  62. package/dist/cjs/features/CognitiveCompare/onDemandCitations/response.js.map +1 -0
  63. package/dist/cjs/features/CognitiveCompare/utils/normalizeCompactedGfmTables.js +2 -0
  64. package/dist/cjs/features/CognitiveCompare/utils/normalizeCompactedGfmTables.js.map +1 -0
  65. package/dist/cjs/features/CognitiveCompare/utils/normalizeInlineMarkdown.js +2 -0
  66. package/dist/cjs/features/CognitiveCompare/utils/normalizeInlineMarkdown.js.map +1 -0
  67. package/dist/cjs/features/CognitiveCompare/utils/normalizeRedlineMarkdown.js +2 -0
  68. package/dist/cjs/features/CognitiveCompare/utils/normalizeRedlineMarkdown.js.map +1 -0
  69. package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js +1 -1
  70. package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js.map +1 -1
  71. package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +1 -1
  72. package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -1
  73. package/dist/features/CognitiveCompare/CitationAnchor.js +1 -1
  74. package/dist/features/CognitiveCompare/CitationAnchor.js.map +1 -1
  75. package/dist/features/CognitiveCompare/CitationRenderer.js +1 -1
  76. package/dist/features/CognitiveCompare/CitationRenderer.js.map +1 -1
  77. package/dist/features/CognitiveCompare/CitationRendererInner.js +2 -0
  78. package/dist/features/CognitiveCompare/CitationRendererInner.js.map +1 -0
  79. package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
  80. package/dist/features/CognitiveCompare/CognitiveCompare.js.map +1 -1
  81. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js +1 -1
  82. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -1
  83. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  84. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -1
  85. package/dist/features/CognitiveCompare/CognitivePopup.js +1 -1
  86. package/dist/features/CognitiveCompare/CognitivePopup.js.map +1 -1
  87. package/dist/features/CognitiveCompare/CompareContext.js +1 -1
  88. package/dist/features/CognitiveCompare/CompareContext.js.map +1 -1
  89. package/dist/features/CognitiveCompare/GptWebCitationPanel.js +2 -0
  90. package/dist/features/CognitiveCompare/GptWebCitationPanel.js.map +1 -0
  91. package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
  92. package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -1
  93. package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  94. package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -1
  95. package/dist/features/CognitiveCompare/Guidelines/utils/guidelineTargets.js +2 -0
  96. package/dist/features/CognitiveCompare/Guidelines/utils/guidelineTargets.js.map +1 -0
  97. package/dist/features/CognitiveCompare/Guidelines/utils/hasGptCitationObjects.js +2 -0
  98. package/dist/features/CognitiveCompare/Guidelines/utils/hasGptCitationObjects.js.map +1 -0
  99. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  100. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -1
  101. package/dist/features/CognitiveCompare/Guidelines/utils/resolveGuidelineSelection.js +2 -0
  102. package/dist/features/CognitiveCompare/Guidelines/utils/resolveGuidelineSelection.js.map +1 -0
  103. package/dist/features/CognitiveCompare/components/GuidelineSkeletonLoader.js +2 -0
  104. package/dist/features/CognitiveCompare/components/GuidelineSkeletonLoader.js.map +1 -0
  105. package/dist/features/CognitiveCompare/components/LHSSectionRow.js +1 -1
  106. package/dist/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -1
  107. package/dist/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
  108. package/dist/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -1
  109. package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  110. package/dist/features/CognitiveCompare/components/SectionAccordion.js.map +1 -1
  111. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  112. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -1
  113. package/dist/features/CognitiveCompare/components/SvgConnectors.js +1 -1
  114. package/dist/features/CognitiveCompare/components/SvgConnectors.js.map +1 -1
  115. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  116. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -1
  117. package/dist/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  118. package/dist/features/CognitiveCompare/hooks/useCompareData.js.map +1 -1
  119. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  120. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -1
  121. package/dist/features/CognitiveCompare/hooks/useOnDemandCitationCache.js +2 -0
  122. package/dist/features/CognitiveCompare/hooks/useOnDemandCitationCache.js.map +1 -0
  123. package/dist/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  124. package/dist/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -1
  125. package/dist/features/CognitiveCompare/onDemandCitations/cacheKey.js +2 -0
  126. package/dist/features/CognitiveCompare/onDemandCitations/cacheKey.js.map +1 -0
  127. package/dist/features/CognitiveCompare/onDemandCitations/contextBuilder.js +2 -0
  128. package/dist/features/CognitiveCompare/onDemandCitations/contextBuilder.js.map +1 -0
  129. package/dist/features/CognitiveCompare/onDemandCitations/href.js +2 -0
  130. package/dist/features/CognitiveCompare/onDemandCitations/href.js.map +1 -0
  131. package/dist/features/CognitiveCompare/onDemandCitations/payload.js +2 -0
  132. package/dist/features/CognitiveCompare/onDemandCitations/payload.js.map +1 -0
  133. package/dist/features/CognitiveCompare/onDemandCitations/response.js +2 -0
  134. package/dist/features/CognitiveCompare/onDemandCitations/response.js.map +1 -0
  135. package/dist/features/CognitiveCompare/utils/normalizeCompactedGfmTables.js +2 -0
  136. package/dist/features/CognitiveCompare/utils/normalizeCompactedGfmTables.js.map +1 -0
  137. package/dist/features/CognitiveCompare/utils/normalizeInlineMarkdown.js +2 -0
  138. package/dist/features/CognitiveCompare/utils/normalizeInlineMarkdown.js.map +1 -0
  139. package/dist/features/CognitiveCompare/utils/normalizeRedlineMarkdown.js +2 -0
  140. package/dist/features/CognitiveCompare/utils/normalizeRedlineMarkdown.js.map +1 -0
  141. package/dist/features/SegmentReviewComponents/BoundaryCard.js +1 -1
  142. package/dist/features/SegmentReviewComponents/BoundaryCard.js.map +1 -1
  143. package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +1 -1
  144. package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -1
  145. package/dist/types/features/CognitiveCompare/CitationAnchor.d.ts +2 -0
  146. package/dist/types/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -1
  147. package/dist/types/features/CognitiveCompare/CitationRenderer.d.ts +8 -1
  148. package/dist/types/features/CognitiveCompare/CitationRenderer.d.ts.map +1 -1
  149. package/dist/types/features/CognitiveCompare/CitationRendererInner.d.ts +13 -0
  150. package/dist/types/features/CognitiveCompare/CitationRendererInner.d.ts.map +1 -0
  151. package/dist/types/features/CognitiveCompare/CognitiveCompare.d.ts +1 -1
  152. package/dist/types/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -1
  153. package/dist/types/features/CognitiveCompare/CognitiveCompareConstants.d.ts +1 -1
  154. package/dist/types/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +1 -1
  155. package/dist/types/features/CognitiveCompare/CognitiveCompareTypes.d.ts +14 -1
  156. package/dist/types/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -1
  157. package/dist/types/features/CognitiveCompare/CognitiveComparehelpers.d.ts +12 -0
  158. package/dist/types/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +1 -1
  159. package/dist/types/features/CognitiveCompare/CognitivePopup.d.ts.map +1 -1
  160. package/dist/types/features/CognitiveCompare/CompareContext.d.ts +10 -1
  161. package/dist/types/features/CognitiveCompare/CompareContext.d.ts.map +1 -1
  162. package/dist/types/features/CognitiveCompare/GptWebCitationPanel.d.ts +7 -0
  163. package/dist/types/features/CognitiveCompare/GptWebCitationPanel.d.ts.map +1 -0
  164. package/dist/types/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +1 -1
  165. package/dist/types/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +1 -1
  166. package/dist/types/features/CognitiveCompare/Guidelines/utils/guidelineTargets.d.ts +3 -0
  167. package/dist/types/features/CognitiveCompare/Guidelines/utils/guidelineTargets.d.ts.map +1 -0
  168. package/dist/types/features/CognitiveCompare/Guidelines/utils/hasGptCitationObjects.d.ts +3 -0
  169. package/dist/types/features/CognitiveCompare/Guidelines/utils/hasGptCitationObjects.d.ts.map +1 -0
  170. package/dist/types/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +14 -1
  171. package/dist/types/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +1 -1
  172. package/dist/types/features/CognitiveCompare/Guidelines/utils/resolveGuidelineSelection.d.ts +19 -0
  173. package/dist/types/features/CognitiveCompare/Guidelines/utils/resolveGuidelineSelection.d.ts.map +1 -0
  174. package/dist/types/features/CognitiveCompare/components/GuidelineSkeletonLoader.d.ts +8 -0
  175. package/dist/types/features/CognitiveCompare/components/GuidelineSkeletonLoader.d.ts.map +1 -0
  176. package/dist/types/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +1 -1
  177. package/dist/types/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +1 -1
  178. package/dist/types/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -1
  179. package/dist/types/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -1
  180. package/dist/types/features/CognitiveCompare/components/SvgConnectors.d.ts +3 -2
  181. package/dist/types/features/CognitiveCompare/components/SvgConnectors.d.ts.map +1 -1
  182. package/dist/types/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +2 -1
  183. package/dist/types/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +1 -1
  184. package/dist/types/features/CognitiveCompare/hooks/useCompareData.d.ts +1 -1
  185. package/dist/types/features/CognitiveCompare/hooks/useCompareData.d.ts.map +1 -1
  186. package/dist/types/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -1
  187. package/dist/types/features/CognitiveCompare/hooks/useOnDemandCitationCache.d.ts +10 -0
  188. package/dist/types/features/CognitiveCompare/hooks/useOnDemandCitationCache.d.ts.map +1 -0
  189. package/dist/types/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -1
  190. package/dist/types/features/CognitiveCompare/onDemandCitations/cacheKey.d.ts +3 -0
  191. package/dist/types/features/CognitiveCompare/onDemandCitations/cacheKey.d.ts.map +1 -0
  192. package/dist/types/features/CognitiveCompare/onDemandCitations/contextBuilder.d.ts +16 -0
  193. package/dist/types/features/CognitiveCompare/onDemandCitations/contextBuilder.d.ts.map +1 -0
  194. package/dist/types/features/CognitiveCompare/onDemandCitations/href.d.ts +6 -0
  195. package/dist/types/features/CognitiveCompare/onDemandCitations/href.d.ts.map +1 -0
  196. package/dist/types/features/CognitiveCompare/onDemandCitations/index.d.ts +7 -0
  197. package/dist/types/features/CognitiveCompare/onDemandCitations/index.d.ts.map +1 -0
  198. package/dist/types/features/CognitiveCompare/onDemandCitations/payload.d.ts +4 -0
  199. package/dist/types/features/CognitiveCompare/onDemandCitations/payload.d.ts.map +1 -0
  200. package/dist/types/features/CognitiveCompare/onDemandCitations/response.d.ts +3 -0
  201. package/dist/types/features/CognitiveCompare/onDemandCitations/response.d.ts.map +1 -0
  202. package/dist/types/features/CognitiveCompare/onDemandCitations/types.d.ts +134 -0
  203. package/dist/types/features/CognitiveCompare/onDemandCitations/types.d.ts.map +1 -0
  204. package/dist/types/features/CognitiveCompare/utils/normalizeCompactedGfmTables.d.ts +7 -0
  205. package/dist/types/features/CognitiveCompare/utils/normalizeCompactedGfmTables.d.ts.map +1 -0
  206. package/dist/types/features/CognitiveCompare/utils/normalizeInlineMarkdown.d.ts +6 -0
  207. package/dist/types/features/CognitiveCompare/utils/normalizeInlineMarkdown.d.ts.map +1 -0
  208. package/dist/types/features/CognitiveCompare/utils/normalizeRedlineMarkdown.d.ts +6 -0
  209. package/dist/types/features/CognitiveCompare/utils/normalizeRedlineMarkdown.d.ts.map +1 -0
  210. package/dist/types/features/SegmentReviewComponents/BoundaryCard.d.ts.map +1 -1
  211. package/dist/types/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +3 -1
  212. package/dist/types/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +1 -1
  213. package/package.json +1 -1
  214. package/dist/cjs/features/Bookemon/BookemonStyles.js +0 -2
  215. package/dist/cjs/features/Bookemon/BookemonStyles.js.map +0 -1
  216. package/dist/cjs/lib/ui/icons.js +0 -2
  217. package/dist/cjs/lib/ui/icons.js.map +0 -1
  218. package/dist/cjs/lib/ui/materialCompat.js +0 -2
  219. package/dist/cjs/lib/ui/materialCompat.js.map +0 -1
  220. package/dist/features/Bookemon/BookemonStyles.js +0 -2
  221. package/dist/features/Bookemon/BookemonStyles.js.map +0 -1
  222. package/dist/lib/ui/icons.js +0 -2
  223. package/dist/lib/ui/icons.js.map +0 -1
  224. package/dist/lib/ui/materialCompat.js +0 -2
  225. package/dist/lib/ui/materialCompat.js.map +0 -1
  226. package/dist/types/features/Bookemon/BookemonStyles.d.ts +0 -6
  227. package/dist/types/features/Bookemon/BookemonStyles.d.ts.map +0 -1
  228. package/dist/types/lib/ui/icons.d.ts +0 -46
  229. package/dist/types/lib/ui/icons.d.ts.map +0 -1
  230. package/dist/types/lib/ui/materialCompat.d.ts +0 -117
  231. package/dist/types/lib/ui/materialCompat.d.ts.map +0 -1
@@ -0,0 +1,7 @@
1
+ export * from "./cacheKey";
2
+ export * from "./contextBuilder";
3
+ export * from "./href";
4
+ export * from "./payload";
5
+ export * from "./response";
6
+ export * from "./types";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/onDemandCitations/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { CognitiveCompareCitationPayload, CognitiveCompareOnDemandCitationConfig, OnDemandCitationContext } from "./types";
2
+ export declare const buildDefaultOnDemandCitationPayload: (config: CognitiveCompareOnDemandCitationConfig, context: OnDemandCitationContext) => CognitiveCompareCitationPayload;
3
+ export declare const buildOnDemandCitationPayload: (config: CognitiveCompareOnDemandCitationConfig, context: OnDemandCitationContext) => any;
4
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/onDemandCitations/payload.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,+BAA+B,EAC/B,sCAAsC,EACtC,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAcjB,eAAO,MAAM,mCAAmC,WACtC,sCAAsC,WACrC,uBAAuB,KAC/B,+BAmBD,CAAC;AAEH,eAAO,MAAM,4BAA4B,WAC/B,sCAAsC,WACrC,uBAAuB,QAIjC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { NormalizedOnDemandCitationMap, OnDemandCitationContext } from "./types";
2
+ export declare const normalizeOnDemandCitationResponse: (response: any, context: OnDemandCitationContext) => NormalizedOnDemandCitationMap;
3
+ //# sourceMappingURL=response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/onDemandCitations/response.ts"],"names":[],"mappings":"AACA,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAqCjB,eAAO,MAAM,iCAAiC,aAClC,GAAG,WACJ,uBAAuB,KAC/B,6BA0CF,CAAC"}
@@ -0,0 +1,134 @@
1
+ export type OnDemandCitationTabKey = "deviation" | "association";
2
+ export type ExtractedOnDemandCitationLink = {
3
+ href: string;
4
+ citationNumber: string;
5
+ citationLabel: string;
6
+ citedText: string;
7
+ highlightType?: string;
8
+ citationType?: string;
9
+ rawMatch: string;
10
+ index: number;
11
+ };
12
+ export type BuildOnDemandCitationContextsParams = {
13
+ treeData?: Record<string, any> | null;
14
+ content?: string | string[] | null;
15
+ requestId?: string;
16
+ tabKey?: OnDemandCitationTabKey;
17
+ popupNodeId?: string | null;
18
+ deviationKey?: string | null;
19
+ sectionTitle?: string;
20
+ referenceSectionTitle?: string;
21
+ docData?: Record<string, any> | null;
22
+ staticCitations?: Record<string, any>;
23
+ deviationData?: Record<string, any> | null;
24
+ cognitiveData?: Record<string, any> | null;
25
+ baseContentId?: string;
26
+ compareContentIds?: string[];
27
+ };
28
+ export type NormalizedOnDemandCitationMap = Record<string, Record<string, any>>;
29
+ export type ParsedOnDemandCitationHref = {
30
+ hrefForUrl: string;
31
+ citationNumber: string | null;
32
+ highlightType: string | null;
33
+ citationType: string | null;
34
+ identifier: string | null;
35
+ identifierNodeId: string | null;
36
+ identifierDeviationKey: string | null;
37
+ };
38
+ export type OnDemandCitationStrategy = "onExpand" | "prefetchActiveTab" | "prefetchAllTabs";
39
+ export type OnDemandCitationRequestConfig = {
40
+ url: string;
41
+ method?: "POST";
42
+ headers?: Record<string, string>;
43
+ credentials?: RequestCredentials;
44
+ authToken?: string;
45
+ };
46
+ export type OnDemandCitationIdentityConfig = {
47
+ name: string;
48
+ organizationName: string;
49
+ agentName: string;
50
+ metadata?: string | Record<string, any>;
51
+ userName?: string;
52
+ userEmailId?: string;
53
+ };
54
+ export type OnDemandCitationSource = {
55
+ contract_uuid: string;
56
+ contract_role: "base" | "compare";
57
+ source_type: "text";
58
+ content: {
59
+ text: string;
60
+ };
61
+ gcs_source_link?: string;
62
+ pdf_start_page_number?: string | number;
63
+ pdf_end_page_number?: string | number;
64
+ };
65
+ export type OnDemandCitationSources = {
66
+ base?: OnDemandCitationSource;
67
+ compare?: OnDemandCitationSource;
68
+ };
69
+ export type OnDemandCitationContext = {
70
+ requestId?: string;
71
+ citationNumber: string;
72
+ citationId?: string;
73
+ href: string;
74
+ citationLabel: string;
75
+ citedText: string;
76
+ highlightType?: string;
77
+ citationType?: string;
78
+ tabKey?: OnDemandCitationTabKey;
79
+ sectionTitle?: string;
80
+ referenceSectionTitle?: string;
81
+ sources?: OnDemandCitationSources;
82
+ docData?: Record<string, any> | null;
83
+ staticCitations?: Record<string, any>;
84
+ deviationData?: Record<string, any> | null;
85
+ cognitiveData?: Record<string, any> | null;
86
+ };
87
+ export type OnDemandCitationCacheStatus = "idle" | "loading" | "success" | "error";
88
+ export type OnDemandCitationCacheEntry = {
89
+ status: OnDemandCitationCacheStatus;
90
+ data?: any;
91
+ error?: unknown;
92
+ promise?: Promise<any>;
93
+ controller?: AbortController;
94
+ updatedAt: number;
95
+ };
96
+ export type CognitiveCompareCitationPayload = {
97
+ name: string;
98
+ organizationName: string;
99
+ prompt: string;
100
+ useAgent: {
101
+ agent_name: string;
102
+ metadata: string;
103
+ arguments: {
104
+ citation_type: string;
105
+ is_primary_agent_request: boolean;
106
+ ui_request_body: {
107
+ request_id?: string;
108
+ citation_id?: string;
109
+ cited_text: string;
110
+ highlight_type: string;
111
+ sources?: OnDemandCitationSources;
112
+ };
113
+ };
114
+ };
115
+ };
116
+ export type CognitiveCompareOnDemandCitationConfig = {
117
+ enabled: boolean;
118
+ request: OnDemandCitationRequestConfig;
119
+ identity: OnDemandCitationIdentityConfig;
120
+ requestId?: string;
121
+ citationType?: string;
122
+ debug?: boolean;
123
+ strategy?: OnDemandCitationStrategy;
124
+ maxConcurrentRequests?: number;
125
+ fallbackToStaticCitation?: boolean;
126
+ abortOnPopupClose?: boolean;
127
+ cacheTtlMs?: number;
128
+ retryFailed?: boolean;
129
+ buildPayload?: (defaultPayload: CognitiveCompareCitationPayload, context: OnDemandCitationContext) => any;
130
+ parseResponse?: (response: any, context: OnDemandCitationContext) => Record<string, any>;
131
+ onContextsBuilt?: (contexts: OnDemandCitationContext[]) => void;
132
+ onPayloadsBuilt?: (payloads: any[], contexts: OnDemandCitationContext[]) => void;
133
+ };
134
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/onDemandCitations/types.ts"],"names":[],"mappings":"AAAA,MAAM,MA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,EACb,OAAO,EAAE,uBAAuB,KAC7B,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACzB,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,uBAAuB,EAAE,KAAK,IAAI,CAAC;IAChE,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,QAAQ,EAAE,uBAAuB,EAAE,KAAK,IAAI,CAAC;CAClF,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Restore row boundaries when upstream flattened a complete GFM table onto one
3
+ * physical line. The delimiter row makes the table and its column count
4
+ * unambiguous; ordinary prose containing pipes is left unchanged.
5
+ */
6
+ export declare const normalizeCompactedGfmTables: (source: string) => string;
7
+ //# sourceMappingURL=normalizeCompactedGfmTables.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normalizeCompactedGfmTables.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/utils/normalizeCompactedGfmTables.ts"],"names":[],"mappings":"AAaA;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,WAAY,MAAM,KAAG,MA0D9C,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare const stripMarkdownFormatting: (text: string) => string;
2
+ export declare const findTextRangeWithFormatting: (originalContent: string, highlightText: string) => {
3
+ start: number;
4
+ end: number;
5
+ } | null;
6
+ //# sourceMappingURL=normalizeInlineMarkdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normalizeInlineMarkdown.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/utils/normalizeInlineMarkdown.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,SAAU,MAAM,KAAG,MA6BtD,CAAC;AAEF,eAAO,MAAM,2BAA2B,oBACrB,MAAM,iBACR,MAAM,KACpB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAAG,IA2BnC,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Makes redline HTML safe for GFM parsing. GFM table pipes must remain outside
3
+ * custom HTML tags and the header/delimiter must describe the same columns.
4
+ */
5
+ export declare const normalizeRedlineMarkdown: (source: string) => string;
6
+ //# sourceMappingURL=normalizeRedlineMarkdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normalizeRedlineMarkdown.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/utils/normalizeRedlineMarkdown.ts"],"names":[],"mappings":"AAoLA;;;GAGG;AACH,eAAO,MAAM,wBAAwB,WAAY,MAAM,KAAG,MAgCzD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BoundaryCard.d.ts","sourceRoot":"","sources":["../../../../src/features/SegmentReviewComponents/BoundaryCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAe1D,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAI3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAU3D,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAKD,oBAAY,wBAAwB;IAClC,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,cAAc,mBAAmB;IACjC,SAAS,cAAc;CACxB;AAED,MAAM,MAAM,oBAAoB,GAAG,GAAG,wBAAwB,EAAE,CAAC;AAEjE,MAAM,WAAW,sBAAsB;IACrC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,YAAY,EAAE,SAAS,oBAAoB,EAAE,CAAC;CAC/C;AAED,MAAM,WAAW,4BAA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C,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,kBAAkB,CAAC;CAC7B;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,UAA6B,EAC7B,KAAK,EACL,MAAM,EACN,OAAO,EACP,aAAa,EACb,cAAc,EACd,MAAM,EACN,QAAQ,EACR,oBAAoB,EACpB,gBAAgB,EAChB,aAAa,EACb,oBAA2B,EAC3B,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,OAAO,EACP,YAAwB,EACxB,YAA8C,EAC9C,iBAAqC,EACrC,cAAsC,EACtC,kBAAyB,EACzB,sBAA6B,EAC7B,eAAsB,EACtB,eAAuB,EACvB,KAAW,EACX,QAAc,EACd,SAAS,EACT,MAAM,EACN,YAAY,EACZ,UAAU,EACX,EAAE,iBAAiB,+BAizBnB"}
1
+ {"version":3,"file":"BoundaryCard.d.ts","sourceRoot":"","sources":["../../../../src/features/SegmentReviewComponents/BoundaryCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAe1D,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAI3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAU3D,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAKD,oBAAY,wBAAwB;IAClC,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,cAAc,mBAAmB;IACjC,SAA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,CAAC,EAAE,SAAS,CAAC;IACzB,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC9B,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,kBAAkB,CAAC;CAC7B;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,UAA6B,EAC7B,KAAK,EACL,MAAM,EACN,OAAO,EACP,aAAa,EACb,cAAc,EACd,MAAM,EACN,QAAQ,EACR,oBAAoB,EACpB,gBAAgB,EAChB,aAAa,EACb,oBAA2B,EAC3B,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,OAAO,EACP,YAAwB,EACxB,YAA8C,EAC9C,iBAAqC,EACrC,cAAsC,EACtC,kBAAyB,EACzB,sBAA6B,EAC7B,eAAsB,EACtB,eAAuB,EACvB,KAAW,EACX,QAAiB,EACjB,SAAS,EACT,MAAM,EACN,YAAY,EACZ,UAAU,EACX,EAAE,iBAAiB,+BA2zBnB"}
@@ -114,11 +114,13 @@ export interface SegmentReviewPdfWrapperProps {
114
114
  disablePdfTextLayer?: boolean;
115
115
  disableTitleCheckUntilBoundaryCheckCompleted?: boolean;
116
116
  manualPrompt?: string;
117
+ /** Closes any review card, Cognitive Integrity panel, or review popup. */
118
+ closePopups?: boolean;
117
119
  }
118
120
  /**
119
121
  * Orchestrates the PDF, review badges, page navigation, active card and actions.
120
122
  * It consumes backend-shaped segments directly; cards never parse the raw payload.
121
123
  */
122
- export default function SegmentReviewPdfWrapper({ pdfUrl, pdfName, segments, totalPages, styles, pdfViewerProps, specialZoomLevel, showBadges, sortByConfidence, filterByConfidence, showBadgeNavigation, autoSelectReviewOnPageChange, autoAdvanceAfterConfirm, autoAdvanceScoreBand, badgePreloadPages, badgeOffsetTop, badgeOffsetRight, badgeOffsetLeft, initialReviewId, manualPrompt, heightBuffer, onBoundaryAction, onLabelAction, onPageAction, onPageTypeRevert, onRevert, onActiveReviewChange, onCurrentPageChange, onActionError, disableAllActions, disablePdfAnnotations, disablePdfTextLayer, disableTitleCheckUntilBoundaryCheckCompleted, onAdjustManually, onCognitiveClick, className, style, viewerStyle, railStyle, redirectionData, onBadgeSelected, }: SegmentReviewPdfWrapperProps): import("react").JSX.Element;
124
+ export default function SegmentReviewPdfWrapper({ pdfUrl, pdfName, segments, totalPages, styles, pdfViewerProps, specialZoomLevel, showBadges, sortByConfidence, filterByConfidence, showBadgeNavigation, autoSelectReviewOnPageChange, autoAdvanceAfterConfirm, autoAdvanceScoreBand, badgePreloadPages, badgeOffsetTop, badgeOffsetRight, badgeOffsetLeft, initialReviewId, manualPrompt, heightBuffer, onBoundaryAction, onLabelAction, onPageAction, onPageTypeRevert, onRevert, onActiveReviewChange, onCurrentPageChange, onActionError, disableAllActions, disablePdfAnnotations, disablePdfTextLayer, disableTitleCheckUntilBoundaryCheckCompleted, onAdjustManually, onCognitiveClick, className, style, viewerStyle, railStyle, redirectionData, onBadgeSelected, closePopups, }: SegmentReviewPdfWrapperProps): import("react").JSX.Element;
123
125
  export {};
124
126
  //# sourceMappingURL=SegmentReviewPdfWrapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SegmentReviewPdfWrapper.d.ts","sourceRoot":"","sources":["../../../../src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,aAAa,EACnB,MAAM,OAAO,CAAC;AAEf,OAAkB,EAGhB,KAAK,cAAc,EACpB,MA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AAqB,EACrB,eAAmB,EACnB,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,QAAQ,EACR,oBAAoB,EACpB,mBAAmB,EACnB,aAAa,EACb,iBAAyB,EACzB,qBAA6B,EAC7B,mBAA0B,EAC1B,4CAAoD,EACpD,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,KAAK,EACL,WAAW,EACX,SAAS,EACT,eAAe,EACf,eAAe,GAChB,EAAE,4BAA4B,+BAuoE9B"}
1
+ {"version":3,"file":"SegmentReviewPdfWrapper.d.ts","sourceRoot":"","sources":["../../../../src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,aAAa,EACnB,MAAM,OAAO,CAAC;AAEf,OAAkB,EAGhB,KAAK,cAAc,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAqB,EAGnB,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,EAClC,MAAM,gBAAgB,CAAC;AAGxB,OAAmB,EACjB,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC/B,MAAM,cAAc,CAAC;AACtB,OAAkB,EAEhB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAE7B,MAAM,aAAa,CAAC;AAErB,OAAO,EAML,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACzB,MAAM,sBAAsB,CAAC;AAK9B,OAAmB,EACjB,KAAK,kBAAkB,EAGxB,MAAM,cAAc,CAAC;AAkBtB,KAAK,uBAAuB,GAAG,OAAO,CAAC,IAAI,CACzC,cAAc,EACZ,QAAQ,GACR,SAAS,GACT,UAAU,GACV,qBAAqB,GACrB,mBAAmB,GACnB,qBAAqB,GACrB,YAAY,GACZ,gBAAgB,CACnB,CAAC,CAAC;AA+BH,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;AACzD,MAAM,MAAM,sBAAsB,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,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAC7C,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,8EAA8E;IAC9E,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,4CAA4C,CAAC,EAAE,OAAO,CAAC;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0EAA0E;IAC1E,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAsBD;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,EAC9C,MAAM,EACN,OAAO,EACP,QAAQ,EACR,UAAU,EACV,MAAM,EACN,cAAc,EACd,gBAAgB,EAChB,UAAiB,EACjB,gBAAwB,EACxB,kBAA0B,EAC1B,mBAA0B,EAC1B,4BAAoC,EACpC,uBAA8B,EAC9B,oBAAoB,EACpB,iBAAqB,EACrB,cAAmB,EACnB,gBAAqB,EACrB,eAAmB,EACnB,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,QAAQ,EACR,oBAAoB,EACpB,mBAAmB,EACnB,aAAa,EACb,iBAAyB,EACzB,qBAA6B,EAC7B,mBAA0B,EAC1B,4CAAoD,EACpD,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,KAAK,EACL,WAAW,EACX,SAAS,EACT,eAAe,EACf,eAAe,EACf,WAAmB,GACpB,EAAE,4BAA4B,+BAspE9B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/citation",
3
- "version": "0.0.251",
3
+ "version": "0.0.252",
4
4
  "author": "Devesh Patel",
5
5
  "description": "Reusable React components for rendering citations and evidence UI.",
6
6
  "license": "MIT",
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");const t={wrapper:{alignItems:"center",justifyContent:"center",textAlign:"center"},inner:{width:"100%"},iconWrapper:{width:"80px",height:"80px",background:"linear-gradient(to right, #3B82F6, #9333EA)",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 24px auto"},icon:{width:"40px",height:"40px",color:"#FFFFFF"},heading:{fontSize:"36px",fontWeight:"bold",color:"#9333EA",marginBottom:"16px"},text:{fontSize:"18px",color:"#4B5563",lineHeight:1.6,textAlign:"center"},errorState:{color:"#CE3928",padding:"18px 0px",display:"flex",justifyContent:"center",width:"100%"}},n=e.jsx("svg",{style:t.icon,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 10V3L4 14h7v7l9-11h-7z"})});exports.comingSoonStyles=t,exports.defaultIcon=n;
2
- //# sourceMappingURL=BookemonStyles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BookemonStyles.js","sources":["../../../../src/features/Bookemon/BookemonStyles.tsx"],"sourcesContent":["import type { CSSProperties } from 'react';\n\nexport const comingSoonStyles: { [key: string]: CSSProperties } = {\n wrapper: { alignItems: 'center', justifyContent: 'center', textAlign: 'center' },\n inner: { width: '100%' },\n iconWrapper: { width: '80px', height: '80px', background: 'linear-gradient(to right, #3B82F6, #9333EA)', borderRadius: '50%', display: 'flex', alignItems: 'center', justifyContent: 'center', margin: '0 auto 24px auto' },\n icon: { width: '40px', height: '40px', color: '#FFFFFF' },\n heading: { fontSize: '36px', fontWeight: 'bold', color: '#9333EA', marginBottom: '16px' },\n text: { fontSize: '18px', color: '#4B5563', lineHeight: 1.6, textAlign: 'center' },\n errorState: { color: '#CE3928', padding: '18px 0px', display: 'flex', justifyContent: 'center', width: '100%' },\n};\n\nexport const defaultIcon = <svg style={comingSoonStyles.icon} fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\"><path strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth={2} d=\"M13 10V3L4 14h7v7l9-11h-7z\" /></svg>;\n"],"names":["comingSoonStyles","wrapper","alignItems","justifyContent","textAlign","inner","width","iconWrapper","height","background","borderRadius","display","margin","icon","color","heading","fontSize","fontWeight","marginBottom","text","lineHeight","errorState","padding","defaultIcon","style","fill","stroke","viewBox","children","jsx","strokeLinecap","strokeLinejoin","strokeWidth","d"],"mappings":"uGAEO,MAAMA,EAAqD,CAChEC,QAAS,CAAEC,WAAY,SAAUC,eAAgB,SAAUC,UAAW,UACtEC,MAAO,CAAEC,MAAO,QAChBC,YAAa,CAAED,MAAO,OAAQE,OAAQ,OAAQC,WAAY,8CAA+CC,aAAc,MAAOC,QAAS,OAAQT,WAAY,SAAUC,eAAgB,SAAUS,OAAQ,oBACvMC,KAAM,CAAEP,MAAO,OAAQE,OAAQ,OAAQM,MAAO,WAC9CC,QAAS,CAAEC,SAAU,OAAQC,WAAY,OAAQH,MAAO,UAAWI,aAAc,QACjFC,KAAM,CAAEH,SAAU,OAAQF,MAAO,UAAWM,WAAY,IAAKhB,UAAW,UACxEiB,WAAY,CAAEP,MAAO,UAAWQ,QAAS,WAAYX,QAAS,OAAQR,eAAgB,SAAUG,MAAO,SAG5FiB,QAAe,MAAI,CAAAC,MAAOxB,EAAiBa,KAAMY,KAAK,OAAOC,OAAO,eAAeC,QAAQ,YAAYC,SAACC,MAAA,OAAA,CAAKC,cAAc,QAAQC,eAAe,QAAQC,YAAa,EAAGC,EAAE"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),o=require("react"),r=require("lucide-react");const t=r=>o.forwardRef(({fontSize:o,size:t,sx:n,style:s,...c},p)=>{const i=t??("small"===o?18:"large"===o?28:"number"==typeof o?o:24);return e.jsx(r,{ref:p,size:i,style:{...n,...s},...c})}),n=t(r.CirclePlus),s=t(r.ArrowLeft),c=t(r.ArrowRight),p=t(r.Sparkles),i=t(r.WandSparkles),x=t(r.MessageCircle);t(r.MessageCircle),t(r.CheckCircle);const a=t(r.Check),l=t(r.ChevronLeft),u=t(r.ChevronRight),h=t(r.Minimize),I=t(r.X),C=t(r.X),d=t(r.Copy),g=t(r.Moon),f=t(r.Trash2),v=t(r.MoveVertical),w=t(r.Clipboard),b=t(r.ChevronUp),M=t(r.ChevronUp),A=t(r.ChevronDown),O=t(r.ChevronDown),R=t(r.Maximize),k=t(r.Github),y=t(r.Info),L=t(r.Info),m=t(r.ChevronDown),D=t(r.ChevronUp),S=t(r.Sun),z=t(r.Lightbulb),E=t(r.Search),j=t(r.ChevronLeft),F=t(r.ChevronRight),N=t(r.ArrowRight),U=t(r.RotateCw),q=t(r.ArrowRight);Object.defineProperty(exports,"Check",{enumerable:!0,get:function(){return r.Check}}),exports.AddIcon=n,exports.ArrowBackIcon=s,exports.ArrowForwardIcon=c,exports.AutoAwesomeIcon=p,exports.AutoFixHighOutlinedIcon=i,exports.ChatBubbleOutlineOutlined=x,exports.CheckIcon=a,exports.ChevronLeftIcon=l,exports.ChevronRightIcon=u,exports.CloseFullscreenIcon=h,exports.CloseIcon=I,exports.CloseOutlinedIcon=C,exports.ContentCopy=d,exports.DarkModeIcon=g,exports.DeleteOutlineIcon=f,exports.DragIndicatorIcon=v,exports.EditOutlinedIcon=w,exports.ExpandLess=b,exports.ExpandLessIcon=M,exports.ExpandMore=A,exports.ExpandMoreIcon=O,exports.FullscreenIcon=R,exports.GitHub=k,exports.InfoIcon=y,exports.InfoOutlinedIcon=L,exports.KeyboardArrowDownIcon=m,exports.KeyboardArrowUpIcon=D,exports.LightModeIcon=S,exports.LightbulbOutlined=z,exports.ManageSearchOutlined=E,exports.NavigateBeforeIcon=j,exports.NavigateNextIcon=F,exports.NearMeOutlinedIcon=N,exports.RotateRightIcon=U,exports.SwapHorizIcon=q;
2
- //# sourceMappingURL=icons.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icons.js","sources":["../../../../src/lib/ui/icons.tsx"],"sourcesContent":["import React, { CSSProperties, forwardRef } from 'react';\nimport {\n ArrowLeft,\n ArrowRight,\n Check,\n CheckCircle,\n ChevronDown,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n CirclePlus,\n Clipboard,\n Copy,\n Expand,\n Github,\n Info,\n Lightbulb,\n Maximize,\n MessageCircle,\n Minimize,\n Moon,\n MoveVertical,\n RotateCw,\n Search,\n Sparkles,\n Sun,\n Trash2,\n WandSparkles,\n X,\n type LucideIcon,\n type LucideProps,\n} from 'lucide-react';\n\nexport interface LegacyIconProps extends Omit<LucideProps, 'color'> {\n color?: string;\n fontSize?: 'inherit' | 'small' | 'medium' | 'large' | number;\n sx?: CSSProperties & Record<string, unknown>;\n}\n\nconst legacyIcon = (Icon: LucideIcon) => forwardRef<SVGSVGElement, LegacyIconProps>(\n ({ fontSize, size, sx, style, ...props }, ref) => {\n const resolvedSize = size ?? (fontSize === 'small' ? 18 : fontSize === 'large' ? 28 : typeof fontSize === 'number' ? fontSize : 24);\n return <Icon ref={ref} size={resolvedSize} style={{ ...sx, ...style }} {...props} />;\n },\n);\n\nexport const AddIcon = legacyIcon(CirclePlus);\nexport const ArrowBackIcon = legacyIcon(ArrowLeft);\nexport const ArrowForwardIcon = legacyIcon(ArrowRight);\nexport const AutoAwesomeIcon = legacyIcon(Sparkles);\nexport const AutoFixHighOutlinedIcon = legacyIcon(WandSparkles);\nexport const ChatBubbleOutlineOutlined = legacyIcon(MessageCircle);\nexport const ChatBubbleOutlineOutlinedIcon = legacyIcon(MessageCircle);\nexport const CheckCircleOutlineIcon = legacyIcon(CheckCircle);\nexport const CheckIcon = legacyIcon(Check);\nexport const ChevronLeftIcon = legacyIcon(ChevronLeft);\nexport const ChevronRightIcon = legacyIcon(ChevronRight);\nexport const CloseFullscreenIcon = legacyIcon(Minimize);\nexport const CloseIcon = legacyIcon(X);\nexport const CloseOutlinedIcon = legacyIcon(X);\nexport const ContentCopy = legacyIcon(Copy);\nexport const DarkModeIcon = legacyIcon(Moon);\nexport const DeleteOutlineIcon = legacyIcon(Trash2);\nexport const DragIndicatorIcon = legacyIcon(MoveVertical);\nexport const EditOutlinedIcon = legacyIcon(Clipboard);\nexport const ExpandLess = legacyIcon(ChevronUp);\nexport const ExpandLessIcon = legacyIcon(ChevronUp);\nexport const ExpandMore = legacyIcon(ChevronDown);\nexport const ExpandMoreIcon = legacyIcon(ChevronDown);\nexport const FullscreenIcon = legacyIcon(Maximize);\nexport const GitHub = legacyIcon(Github);\nexport const InfoIcon = legacyIcon(Info);\nexport const InfoOutlinedIcon = legacyIcon(Info);\nexport const KeyboardArrowDownIcon = legacyIcon(ChevronDown);\nexport const KeyboardArrowUpIcon = legacyIcon(ChevronUp);\nexport const LightModeIcon = legacyIcon(Sun);\nexport const LightbulbOutlined = legacyIcon(Lightbulb);\nexport const ManageSearchOutlined = legacyIcon(Search);\nexport const NavigateBeforeIcon = legacyIcon(ChevronLeft);\nexport const NavigateNextIcon = legacyIcon(ChevronRight);\nexport const NearMeOutlinedIcon = legacyIcon(ArrowRight);\nexport const RotateRightIcon = legacyIcon(RotateCw);\nexport const SwapHorizIcon = legacyIcon(ArrowRight);\n\nexport { Check };\n"],"names":["legacyIcon","Icon","forwardRef","fontSize","size","sx","style","props","ref","resolvedSize","jsx","AddIcon","CirclePlus","ArrowBackIcon","ArrowLeft","ArrowForwardIcon","ArrowRight","AutoAwesomeIcon","Sparkles","AutoFixHighOutlinedIcon","WandSparkles","ChatBubbleOutlineOutlined","MessageCircle","CheckCircle","CheckIcon","Check","ChevronLeftIcon","ChevronLeft","ChevronRightIcon","ChevronRight","CloseFullscreenIcon","Minimize","CloseIcon","X","CloseOutlinedIcon","ContentCopy","Copy","DarkModeIcon","Moon","DeleteOutlineIcon","Trash2","DragIndicatorIcon","MoveVertical","EditOutlinedIcon","Clipboard","ExpandLess","ChevronUp","ExpandLessIcon","ExpandMore","ChevronDown","ExpandMoreIcon","FullscreenIcon","Maximize","GitHub","Github","InfoIcon","Info","InfoOutlinedIcon","KeyboardArrowDownIcon","KeyboardArrowUpIcon","LightModeIcon","Sun","LightbulbOutlined","Lightbulb","ManageSearchOutlined","Search","NavigateBeforeIcon","NavigateNextIcon","NearMeOutlinedIcon","RotateRightIcon","RotateCw","SwapHorizIcon"],"mappings":"oJAuCA,MAAMA,EAAcC,GAAqBC,EAAAA,WACvC,EAAGC,WAAUC,OAAMC,KAAIC,WAAUC,GAASC,KAClC,MAAAC,EAAeL,IAAsB,UAAbD,EAAuB,GAAkB,UAAbA,EAAuB,GAAyB,iBAAbA,EAAwBA,EAAW,IAChI,OAAQO,EAAAA,IAAAT,EAAA,CAAKO,MAAUJ,KAAMK,EAAcH,MAAO,IAAKD,KAAOC,MAAaC,MAIlEI,EAAUX,EAAWY,cACrBC,EAAgBb,EAAWc,aAC3BC,EAAmBf,EAAWgB,cAC9BC,EAAkBjB,EAAWkB,YAC7BC,EAA0BnB,EAAWoB,gBACrCC,EAA4BrB,EAAWsB,iBACPtB,EAAWsB,iBAClBtB,EAAWuB,eACpC,MAAAC,EAAYxB,EAAWyB,SACvBC,EAAkB1B,EAAW2B,eAC7BC,EAAmB5B,EAAW6B,gBAC9BC,EAAsB9B,EAAW+B,YACjCC,EAAYhC,EAAWiC,KACvBC,EAAoBlC,EAAWiC,KAC/BE,EAAcnC,EAAWoC,QACzBC,EAAerC,EAAWsC,QAC1BC,EAAoBvC,EAAWwC,UAC/BC,EAAoBzC,EAAW0C,gBAC/BC,EAAmB3C,EAAW4C,aAC9BC,EAAa7C,EAAW8C,aACxBC,EAAiB/C,EAAW8C,aAC5BE,EAAahD,EAAWiD,eACxBC,EAAiBlD,EAAWiD,eAC5BE,EAAiBnD,EAAWoD,YAC5BC,EAASrD,EAAWsD,UACpBC,EAAWvD,EAAWwD,QACtBC,EAAmBzD,EAAWwD,QAC9BE,EAAwB1D,EAAWiD,eACnCU,EAAsB3D,EAAW8C,aACjCc,EAAgB5D,EAAW6D,OAC3BC,EAAoB9D,EAAW+D,aAC/BC,EAAuBhE,EAAWiE,UAClCC,EAAqBlE,EAAW2B,eAChCwC,EAAmBnE,EAAW6B,gBAC9BuC,EAAqBpE,EAAWgB,cAChCqD,EAAkBrE,EAAWsE,YAC7BC,EAAgBvE,EAAWgB,EAAUA"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),r=require("primereact/button"),n=require("primereact/checkbox"),o=require("primereact/dialog"),i=require("primereact/inputswitch"),l=require("primereact/progressspinner"),a=require("primereact/radiobutton"),s=require("primereact/skeleton");const d={palette:{primary:{main:"var(--primary-color, #6366f1)",light:"#eef2ff",dark:"#4338ca",contrastText:"#fff"},secondary:{main:"#64748b"},error:{main:"#dc2626",light:"#fef2f2"},warning:{main:"#d97706",light:"#fffbeb"},success:{main:"#16a34a",light:"#f0fdf4"},info:{main:"#2563eb",light:"#eff6ff"},text:{primary:"#111827",secondary:"#64748b",disabled:"#9ca3af"},divider:"#e5e7eb",background:{paper:"#fff",default:"#fff"},grey:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",500:"#6b7280",700:"#374151",900:"#111827"}},spacing:e=>8*e+"px",breakpoints:{up:()=>"@media",down:()=>"@media"}},p={fontFamily:"var(--font-bpa, Inter, sans-serif)"},c={m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"margin",my:"margin",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"padding",py:"padding"},x=e=>{if(!e)return{};if("function"==typeof e)return x(e(d));if(Array.isArray(e))return Object.assign({},...e.map(e=>x(e)));const t={};for(const[r,n]of Object.entries(e)){if(null==n||r.startsWith("&")||r.startsWith("@"))continue;const e=c[r]??r;let o=n;"function"==typeof o&&(o=o(d)),c[r]&&"number"==typeof o&&(o=d.spacing(o)),"mx"!==r?"my"!==r?"px"!==r?"py"!==r?"bgcolor"!==r?t[e]=o:t.backgroundColor=o:(t.paddingTop=o,t.paddingBottom=o):(t.paddingLeft=o,t.paddingRight=o):(t.marginTop=o,t.marginBottom=o):(t.marginLeft=o,t.marginRight=o)}return t},f=(r,n={})=>t.forwardRef(({component:t,as:o,sx:i,style:l,children:a,...s},d)=>{const c=t??o??r;return e.jsx(c,{ref:d,style:{...p,...n,...x(i),...l},...s,children:a})}),g=f("div"),u=f("div",{background:"#fff"}),h=t.forwardRef(({direction:t="column",spacing:r=0,sx:n,style:o,children:i,...l},a)=>e.jsx("div",{ref:a,style:{display:"flex",flexDirection:t,gap:"number"==typeof r?d.spacing(r):r,...x(n),...o},...l,children:i})),m=f("hr",{border:0,borderTop:"1px solid #e5e7eb",margin:0}),y=t.forwardRef(({component:t,variant:r,sx:n,style:o,children:i,...l},a)=>{const s=t??(r?.startsWith("h")?r:"span");return e.jsx(s,{ref:a,style:{display:"span"===s?"inline":void 0,margin:0,...x(n),...o},...l,children:i})}),b=t.forwardRef(({children:t,startIcon:n,endIcon:o,variant:i,color:l,sx:a,style:s,disabled:d,onClick:p,...c},f)=>e.jsxs(r.Button,{ref:f,disabled:d,onClick:p,outlined:"outlined"===i,text:"text"===i,severity:"error"===l?"danger":l,style:{...x(a),...s},...c,children:[n,t,o]})),v=f("button",{border:0,background:"transparent",padding:0,cursor:"pointer",font:"inherit"}),k=t.forwardRef(({children:t,sx:n,style:o,color:i,...l},a)=>e.jsx(r.Button,{ref:a,text:!0,rounded:!0,severity:"error"===i?"danger":void 0,style:{padding:"0.5rem",...x(n),...o},...l,children:t})),C=t.forwardRef(({checked:t,onChange:r,value:o,disabled:i,sx:l,style:a,...s},d)=>e.jsx(n.Checkbox,{ref:d,checked:Boolean(t),value:o,disabled:i,onChange:e=>{const t=e.originalEvent??{};r?.({...t,target:{...t.target,checked:e.checked,value:o}},e.checked)},style:{...x(l),...a},...s})),j=t.forwardRef(({checked:t,onChange:r,value:n,disabled:o,sx:i,style:l,...s},d)=>e.jsx(a.RadioButton,{ref:d,checked:Boolean(t),value:n,disabled:o,onChange:e=>{const t=e.originalEvent??{};r?.({...t,target:{...t.target,checked:e.checked,value:n}},e.checked)},style:{...x(i),...l},...s})),w=t.forwardRef(({checked:t,onChange:r,disabled:n,sx:o,style:l,...a},s)=>e.jsx(i.InputSwitch,{ref:s,checked:Boolean(t),disabled:n,onChange:e=>{const t=e.originalEvent??{};r?.({...t,target:{...t.target,checked:e.value}},e.value)},style:{...x(o),...l},...a})),R=t.forwardRef(({multiline:t,rows:r,label:n,value:o,onChange:i,placeholder:l,disabled:a,type:s,sx:d,style:p,InputProps:c,inputProps:f,...g},u)=>{const h=t?"textarea":"input";return e.jsxs("label",{style:{display:"inline-flex",flexDirection:"column",gap:4,...x(d)},children:[n&&e.jsx("span",{children:n}),e.jsx(h,{ref:u,rows:r,value:o??"",onChange:i,placeholder:l,disabled:a,type:s,style:{font:"inherit",border:"1px solid #d1d5db",borderRadius:6,padding:"0.5rem 0.75rem",...p},...f,...g})]})}),B=f("span"),T=f("header",{fontSize:"1.25rem",fontWeight:600,marginBottom:"1rem"}),S=f("div");f("footer",{display:"flex",justifyContent:"flex-end",gap:"0.5rem",marginTop:"1rem"});const I=f("summary",{cursor:"pointer",listStyle:"none"}),P=f("div"),A=f("button",{display:"flex",width:"100%",border:0,background:"transparent",padding:"0.5rem 0.75rem",cursor:"pointer",font:"inherit"});f("a");const q=f("select"),D=t.forwardRef(({children:t,sx:r,style:n,fontSize:o,viewBox:i="0 0 24 24",...l},a)=>e.jsx("svg",{ref:a,viewBox:i,width:"small"===o?18:24,height:"small"===o?18:24,fill:"currentColor",style:{...x(r),...n},...l,children:t}));exports.Accordion=({expanded:t,defaultExpanded:r,onChange:n,children:o,sx:i,style:l,...a})=>e.jsx("details",{open:t??r,onToggle:e=>n?.(e,e.currentTarget.open),style:{...x(i),...l},...a,children:o}),exports.AccordionDetails=P,exports.AccordionSummary=I,exports.Alert=({severity:t="info",children:r,onClose:n,sx:o,style:i,...l})=>e.jsxs("div",{role:"alert","data-severity":t,style:{padding:"0.75rem 1rem",borderRadius:6,background:d.palette[t]?.light,color:d.palette[t]?.main,...x(o),...i},...l,children:[r,n&&e.jsx("button",{type:"button",onClick:n,"aria-label":"Close",children:"×"})]}),exports.Autocomplete=({options:t=[],value:r,onChange:n,renderInput:o,multiple:i,getOptionLabel:l=e=>String(e),sx:a})=>{const s=i?(r??[]).map(l):l(r??"");return e.jsx("div",{style:x(a),children:o?.({inputProps:{list:void 0},value:s})??e.jsx("select",{multiple:i,value:s,onChange:e=>n?.(e,i?Array.from(e.currentTarget.selectedOptions,e=>t.find(t=>l(t)===e.value)):t.find(t=>l(t)===e.currentTarget.value)),children:t.map(t=>e.jsx("option",{children:l(t)},l(t)))})})},exports.Box=g,exports.Button=b,exports.ButtonBase=v,exports.Checkbox=C,exports.Chip=({label:t,onDelete:r,sx:n,style:o,...i})=>e.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:4,borderRadius:999,background:"#f3f4f6",padding:"0.25rem 0.5rem",...x(n),...o},...i,children:[t,r&&e.jsx("button",{type:"button",onClick:r,"aria-label":"Remove",children:"×"})]}),exports.CircularProgress=({size:t=40,sx:r,style:n,...o})=>e.jsx(l.ProgressSpinner,{strokeWidth:"5",style:{width:t,height:t,...x(r),...n},...o}),exports.Dialog=({open:t,onClose:r,children:n,maxWidth:i,fullWidth:l,PaperProps:a,sx:s,...d})=>e.jsx(o.Dialog,{visible:Boolean(t),onHide:()=>r?.({},"backdropClick"),modal:!0,style:{width:l?{xs:"90vw",sm:"36rem",md:"56rem",lg:"72rem"}[i]??"90vw":void 0,...x(s),...a?.style},contentStyle:a?.sx?x(a.sx):void 0,...d,children:n}),exports.DialogContent=S,exports.DialogTitle=T,exports.Divider=m,exports.FormControlLabel=({control:t,label:r,sx:n,style:o,...i})=>e.jsxs("label",{style:{display:"inline-flex",alignItems:"center",gap:8,...x(n),...o},...i,children:[t,r]}),exports.IconButton=k,exports.InputAdornment=B,exports.Menu=({open:t,anchorEl:r,onClose:n,children:o,sx:i,style:l,...a})=>t?e.jsx("div",{role:"menu",style:{position:"fixed",zIndex:1400,top:r?.getBoundingClientRect?.().bottom??0,left:r?.getBoundingClientRect?.().left??0,background:"#fff",border:"1px solid #e5e7eb",borderRadius:6,boxShadow:"0 8px 24px rgb(0 0 0 / 15%)",...x(i),...l},...a,children:o}):null,exports.MenuItem=A,exports.Pagination=({count:t=1,page:r=1,onChange:n,sx:o,style:i})=>e.jsx("nav",{"aria-label":"Pagination",style:{display:"flex",gap:4,...x(o),...i},children:Array.from({length:t},(e,t)=>t+1).map(t=>e.jsx("button",{type:"button","aria-current":t===r?"page":void 0,onClick:e=>n?.(e,t),children:t},t))}),exports.Paper=u,exports.Popper=({open:t,anchorEl:r,placement:n,children:o,sx:i,style:l,...a})=>t?e.jsx("div",{style:{position:"fixed",zIndex:1300,top:r?.getBoundingClientRect?.().bottom??0,left:r?.getBoundingClientRect?.().left??0,...x(i),...l},...a,children:"function"==typeof o?o({placement:n,TransitionProps:{}}):o}):null,exports.Portal=({children:e})=>e,exports.Radio=j,exports.Select=q,exports.Skeleton=({width:t,height:r,variant:n,sx:o,style:i,...l})=>e.jsx(s.Skeleton,{width:"number"==typeof t?`${t}px`:t,height:"number"==typeof r?`${r}px`:r,shape:"circular"===n?"circle":"rectangle",style:{...x(o),...i},...l}),exports.Snackbar=({open:t,children:r,message:n,anchorOrigin:o,sx:i,style:l,...a})=>t?e.jsx("div",{style:{position:"fixed",zIndex:1500,bottom:"top"===o?.vertical?void 0:24,top:"top"===o?.vertical?24:void 0,left:"left"===o?.horizontal?24:"50%",transform:"left"===o?.horizontal?void 0:"translateX(-50%)",...x(i),...l},...a,children:r??n}):null,exports.Stack=h,exports.SvgIcon=D,exports.Switch=w,exports.Tab=({label:t,value:r,sx:n,style:o,...i})=>e.jsx("button",{type:"button",role:"tab","data-tab-value":r,style:{...x(n),...o},...i,children:t}),exports.Tabs=({value:t,onChange:r,children:n,sx:o,style:i})=>e.jsx("div",{role:"tablist","data-value":t,style:{display:"flex",...x(o),...i},onClick:e=>{const t=e.target.closest("[data-tab-value]")?.dataset.tabValue;null!=t&&r?.(e,Number(t))},children:n}),exports.TextField=R,exports.Tooltip=({title:t,children:r})=>e.jsx("span",{title:"string"==typeof t?t:void 0,style:{display:"inline-flex"},children:r}),exports.Typography=y,exports.styled=e=>(...t)=>e,exports.tooltipClasses={tooltip:"bpa-tooltip",arrow:"bpa-tooltip-arrow"};
2
- //# sourceMappingURL=materialCompat.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"materialCompat.js","sources":["../../../../src/lib/ui/materialCompat.tsx"],"sourcesContent":["import React, { forwardRef, useId, type CSSProperties, type ElementType, type ReactNode } from 'react';\nimport { Button as PrimeButton } from 'primereact/button';\nimport { Checkbox as PrimeCheckbox } from 'primereact/checkbox';\nimport { Dialog as PrimeDialog } from 'primereact/dialog';\nimport { InputSwitch as PrimeInputSwitch } from 'primereact/inputswitch';\nimport { ProgressSpinner } from 'primereact/progressspinner';\nimport { RadioButton } from 'primereact/radiobutton';\nimport { Skeleton as PrimeSkeleton } from 'primereact/skeleton';\n\nexport type Theme = Record<string, any>;\nexport type SxProps<T = Theme> = CSSProperties | Record<string, any> | ((theme: T) => any) | readonly SxProps<T>[];\nexport type SvgIconProps = React.SVGProps<SVGSVGElement> & { sx?: SxProps; fontSize?: string };\nexport type PopperProps = Record<string, any>;\nexport interface CompatProps {\n [key: string]: any;\n children?: any;\n sx?: SxProps;\n style?: CSSProperties;\n onChange?: (event: any, value?: any) => void;\n onClick?: (event: any) => void;\n onKeyDown?: (event: any) => void;\n onMouseEnter?: (event: any) => void;\n onMouseLeave?: (event: any) => void;\n onMouseMove?: (event: any) => void;\n onInputChange?: (event: any, value: string, reason: string) => void;\n renderInput?: (params: any) => ReactNode;\n}\ntype CompatComponent = React.ForwardRefExoticComponent<CompatProps & React.RefAttributes<any>>;\n\nconst theme: Theme = {\n palette: {\n primary: { main: 'var(--primary-color, #6366f1)', light: '#eef2ff', dark: '#4338ca', contrastText: '#fff' },\n secondary: { main: '#64748b' },\n error: { main: '#dc2626', light: '#fef2f2' },\n warning: { main: '#d97706', light: '#fffbeb' },\n success: { main: '#16a34a', light: '#f0fdf4' },\n info: { main: '#2563eb', light: '#eff6ff' },\n text: { primary: '#111827', secondary: '#64748b', disabled: '#9ca3af' },\n divider: '#e5e7eb',\n background: { paper: '#fff', default: '#fff' },\n grey: { 50: '#f9fafb', 100: '#f3f4f6', 200: '#e5e7eb', 300: '#d1d5db', 500: '#6b7280', 700: '#374151', 900: '#111827' },\n },\n spacing: (value: number) => `${value * 8}px`,\n breakpoints: { up: () => '@media', down: () => '@media' },\n};\n\nconst platformFont: CSSProperties = { fontFamily: 'var(--font-bpa, Inter, sans-serif)' };\n\nconst spacingKeys: Record<string, keyof CSSProperties> = {\n m: 'margin', mt: 'marginTop', mr: 'marginRight', mb: 'marginBottom', ml: 'marginLeft', mx: 'margin', my: 'margin',\n p: 'padding', pt: 'paddingTop', pr: 'paddingRight', pb: 'paddingBottom', pl: 'paddingLeft', px: 'padding', py: 'padding',\n};\n\nconst resolveSx = (sx?: SxProps): CSSProperties => {\n if (!sx) return {};\n if (typeof sx === 'function') return resolveSx(sx(theme));\n if (Array.isArray(sx)) return Object.assign({}, ...sx.map((entry) => resolveSx(entry)));\n const output: Record<string, any> = {};\n for (const [key, rawValue] of Object.entries(sx)) {\n if (rawValue == null || key.startsWith('&') || key.startsWith('@')) continue;\n const target = spacingKeys[key] ?? key;\n let value: any = rawValue;\n if (typeof value === 'function') value = value(theme);\n if (spacingKeys[key] && typeof value === 'number') value = theme.spacing(value);\n if (key === 'mx') { output.marginLeft = value; output.marginRight = value; continue; }\n if (key === 'my') { output.marginTop = value; output.marginBottom = value; continue; }\n if (key === 'px') { output.paddingLeft = value; output.paddingRight = value; continue; }\n if (key === 'py') { output.paddingTop = value; output.paddingBottom = value; continue; }\n if (key === 'bgcolor') { output.backgroundColor = value; continue; }\n output[target] = value;\n }\n return output as CSSProperties;\n};\n\nconst element = (defaultTag: ElementType, baseStyle: CSSProperties = {}): CompatComponent => forwardRef<any, CompatProps>(\n ({ component, as, sx, style, children, ...props }, ref) => {\n const Tag = component ?? as ?? defaultTag;\n return <Tag ref={ref} style={{ ...platformFont, ...baseStyle, ...resolveSx(sx), ...style }} {...props}>{children}</Tag>;\n },\n);\n\nexport const Box = element('div');\nexport const Paper = element('div', { background: '#fff' });\nexport const Stack: CompatComponent = forwardRef<any, CompatProps>(({ direction = 'column', spacing = 0, sx, style, children, ...props }, ref) => (\n <div ref={ref} style={{ display: 'flex', flexDirection: direction, gap: typeof spacing === 'number' ? theme.spacing(spacing) : spacing, ...resolveSx(sx), ...style }} {...props}>{children}</div>\n));\nexport const Divider = element('hr', { border: 0, borderTop: '1px solid #e5e7eb', margin: 0 });\nexport const Typography: CompatComponent = forwardRef<any, CompatProps>(({ component, variant, sx, style, children, ...props }, ref) => {\n const Tag = component ?? (variant?.startsWith('h') ? variant : 'span');\n return <Tag ref={ref} style={{ display: Tag === 'span' ? 'inline' : undefined, margin: 0, ...resolveSx(sx), ...style }} {...props}>{children}</Tag>;\n});\n\nexport const Button: CompatComponent = forwardRef<any, CompatProps>(({ children, startIcon, endIcon, variant, color, sx, style, disabled, onClick, ...props }, ref) => (\n <PrimeButton ref={ref} disabled={disabled} onClick={onClick} outlined={variant === 'outlined'} text={variant === 'text'} severity={color === 'error' ? 'danger' : color} style={{ ...resolveSx(sx), ...style }} {...props}>\n {startIcon}{children}{endIcon}\n </PrimeButton>\n));\nexport const ButtonBase = element('button', { border: 0, background: 'transparent', padding: 0, cursor: 'pointer', font: 'inherit' });\nexport const IconButton: CompatComponent = forwardRef<any, CompatProps>(({ children, sx, style, color, ...props }, ref) => (\n <PrimeButton ref={ref} text rounded severity={color === 'error' ? 'danger' : undefined} style={{ padding: '0.5rem', ...resolveSx(sx), ...style }} {...props}>{children}</PrimeButton>\n));\n\nexport const Checkbox: CompatComponent = forwardRef<any, CompatProps>(({ checked, onChange, value, disabled, sx, style, ...props }, ref) => (\n <PrimeCheckbox ref={ref} checked={Boolean(checked)} value={value} disabled={disabled} onChange={(event) => { const original = event.originalEvent ?? {}; onChange?.({ ...original, target: { ...(original as any).target, checked: event.checked, value } }, event.checked); }} style={{ ...resolveSx(sx), ...style }} {...props} />\n));\nexport const Radio: CompatComponent = forwardRef<any, CompatProps>(({ checked, onChange, value, disabled, sx, style, ...props }, ref) => (\n <RadioButton ref={ref} checked={Boolean(checked)} value={value} disabled={disabled} onChange={(event) => { const original = event.originalEvent ?? {}; onChange?.({ ...original, target: { ...(original as any).target, checked: event.checked, value } }, event.checked); }} style={{ ...resolveSx(sx), ...style }} {...props} />\n));\nexport const Switch: CompatComponent = forwardRef<any, CompatProps>(({ checked, onChange, disabled, sx, style, ...props }, ref) => (\n <PrimeInputSwitch ref={ref} checked={Boolean(checked)} disabled={disabled} onChange={(event) => { const original = event.originalEvent ?? {}; onChange?.({ ...original, target: { ...(original as any).target, checked: event.value } }, event.value); }} style={{ ...resolveSx(sx), ...style }} {...props} />\n));\nexport const FormControlLabel: React.FC<CompatProps> = ({ control, label, sx, style, ...props }) => <label style={{ display: 'inline-flex', alignItems: 'center', gap: 8, ...resolveSx(sx), ...style }} {...props}>{control}{label}</label>;\n\nexport const TextField: CompatComponent = forwardRef<any, CompatProps>(({ multiline, rows, label, value, onChange, placeholder, disabled, type, sx, style, InputProps, inputProps, ...props }, ref) => {\n const Tag = multiline ? 'textarea' : 'input';\n return <label style={{ display: 'inline-flex', flexDirection: 'column', gap: 4, ...resolveSx(sx) }}>{label && <span>{label}</span>}<Tag ref={ref} rows={rows} value={value ?? ''} onChange={onChange} placeholder={placeholder} disabled={disabled} type={type} style={{ font: 'inherit', border: '1px solid #d1d5db', borderRadius: 6, padding: '0.5rem 0.75rem', ...style }} {...inputProps} {...props} /></label>;\n});\nexport const InputAdornment = element('span');\nexport const Chip = ({ label, onDelete, sx, style, ...props }: any) => <span style={{ display: 'inline-flex', alignItems: 'center', gap: 4, borderRadius: 999, background: '#f3f4f6', padding: '0.25rem 0.5rem', ...resolveSx(sx), ...style }} {...props}>{label}{onDelete && <button type=\"button\" onClick={onDelete} aria-label=\"Remove\">×</button>}</span>;\nexport const Autocomplete: React.FC<CompatProps> = ({ options = [], value, onChange, renderInput, multiple, getOptionLabel = (option: any) => String(option), sx }) => {\n const values = multiple ? (value ?? []).map(getOptionLabel) : getOptionLabel(value ?? '');\n return <div style={resolveSx(sx)}>{renderInput?.({ inputProps: { list: undefined }, value: values }) ?? <select multiple={multiple} value={multiple ? values : values} onChange={(event) => onChange?.(event, multiple ? Array.from(event.currentTarget.selectedOptions, (item) => options.find((option: any) => getOptionLabel(option) === item.value)) : options.find((option: any) => getOptionLabel(option) === event.currentTarget.value))}>{options.map((option: any) => <option key={getOptionLabel(option)}>{getOptionLabel(option)}</option>)}</select>}</div>;\n};\n\nexport const CircularProgress: React.FC<CompatProps> = ({ size = 40, sx, style, ...props }) => <ProgressSpinner strokeWidth=\"5\" style={{ width: size, height: size, ...resolveSx(sx), ...style }} {...props} />;\nexport const Skeleton = ({ width, height, variant, sx, style, ...props }: any) => <PrimeSkeleton width={typeof width === 'number' ? `${width}px` : width} height={typeof height === 'number' ? `${height}px` : height} shape={variant === 'circular' ? 'circle' : 'rectangle'} style={{ ...resolveSx(sx), ...style }} {...props} />;\nexport const Pagination: React.FC<CompatProps> = ({ count = 1, page = 1, onChange, sx, style }) => <nav aria-label=\"Pagination\" style={{ display: 'flex', gap: 4, ...resolveSx(sx), ...style }}>{Array.from({ length: count }, (_, index) => index + 1).map((item) => <button type=\"button\" key={item} aria-current={item === page ? 'page' : undefined} onClick={(event) => onChange?.(event, item)}>{item}</button>)}</nav>;\n\nexport const Dialog = ({ open, onClose, children, maxWidth, fullWidth, PaperProps, sx, ...props }: any) => <PrimeDialog visible={Boolean(open)} onHide={() => onClose?.({}, 'backdropClick')} modal style={{ width: fullWidth ? ({ xs: '90vw', sm: '36rem', md: '56rem', lg: '72rem' }[maxWidth as string] ?? '90vw') : undefined, ...resolveSx(sx), ...PaperProps?.style }} contentStyle={PaperProps?.sx ? resolveSx(PaperProps.sx) : undefined} {...props}>{children}</PrimeDialog>;\nexport const DialogTitle = element('header', { fontSize: '1.25rem', fontWeight: 600, marginBottom: '1rem' });\nexport const DialogContent = element('div');\nexport const DialogActions = element('footer', { display: 'flex', justifyContent: 'flex-end', gap: '0.5rem', marginTop: '1rem' });\n\nexport const Accordion: React.FC<CompatProps> = ({ expanded, defaultExpanded, onChange, children, sx, style, ...props }) => <details open={expanded ?? defaultExpanded} onToggle={(event) => onChange?.(event, event.currentTarget.open)} style={{ ...resolveSx(sx), ...style }} {...props}>{children}</details>;\nexport const AccordionSummary = element('summary', { cursor: 'pointer', listStyle: 'none' });\nexport const AccordionDetails = element('div');\nexport const Tooltip: React.FC<CompatProps> = ({ title, children }) => <span title={typeof title === 'string' ? title : undefined} style={{ display: 'inline-flex' }}>{children}</span>;\n\nexport const Tabs: React.FC<CompatProps> = ({ value, onChange, children, sx, style }) => <div role=\"tablist\" data-value={value} style={{ display: 'flex', ...resolveSx(sx), ...style }} onClick={(event: any) => { const next = event.target.closest('[data-tab-value]')?.dataset.tabValue; if (next != null) onChange?.(event, Number(next)); }}>{children}</div>;\nexport const Tab = ({ label, value, sx, style, ...props }: any) => <button type=\"button\" role=\"tab\" data-tab-value={value} style={{ ...resolveSx(sx), ...style }} {...props}>{label}</button>;\nexport const Alert = ({ severity = 'info', children, onClose, sx, style, ...props }: any) => <div role=\"alert\" data-severity={severity} style={{ padding: '0.75rem 1rem', borderRadius: 6, background: theme.palette[severity]?.light, color: theme.palette[severity]?.main, ...resolveSx(sx), ...style }} {...props}>{children}{onClose && <button type=\"button\" onClick={onClose} aria-label=\"Close\">×</button>}</div>;\nexport const Snackbar = ({ open, children, message, anchorOrigin, sx, style, ...props }: any) => open ? <div style={{ position: 'fixed', zIndex: 1500, bottom: anchorOrigin?.vertical === 'top' ? undefined : 24, top: anchorOrigin?.vertical === 'top' ? 24 : undefined, left: anchorOrigin?.horizontal === 'left' ? 24 : '50%', transform: anchorOrigin?.horizontal === 'left' ? undefined : 'translateX(-50%)', ...resolveSx(sx), ...style }} {...props}>{children ?? message}</div> : null;\n\nexport const Menu: React.FC<CompatProps> = ({ open, anchorEl, onClose, children, sx, style, ...props }) => open ? <div role=\"menu\" style={{ position: 'fixed', zIndex: 1400, top: anchorEl?.getBoundingClientRect?.().bottom ?? 0, left: anchorEl?.getBoundingClientRect?.().left ?? 0, background: '#fff', border: '1px solid #e5e7eb', borderRadius: 6, boxShadow: '0 8px 24px rgb(0 0 0 / 15%)', ...resolveSx(sx), ...style }} {...props}>{children}</div> : null;\nexport const MenuItem = element('button', { display: 'flex', width: '100%', border: 0, background: 'transparent', padding: '0.5rem 0.75rem', cursor: 'pointer', font: 'inherit' });\nexport const Popper: React.FC<CompatProps> = ({ open, anchorEl, placement, children, sx, style, ...props }) => open ? <div style={{ position: 'fixed', zIndex: 1300, top: anchorEl?.getBoundingClientRect?.().bottom ?? 0, left: anchorEl?.getBoundingClientRect?.().left ?? 0, ...resolveSx(sx), ...style }} {...props}>{typeof children === 'function' ? children({ placement, TransitionProps: {} }) : children}</div> : null;\nexport const Portal = ({ children }: any) => children;\nexport const Breadcrumbs = ({ children, separator = '/', sx, style, ...props }: any) => <nav style={{ display: 'flex', gap: 6, ...resolveSx(sx), ...style }} {...props}>{React.Children.toArray(children).flatMap((child, index, all) => index < all.length - 1 ? [child, <span key={`separator-${index}`}>{separator}</span>] : [child])}</nav>;\nexport const Link = element('a');\nexport const Select = element('select');\n\nexport const SvgIcon = forwardRef<SVGSVGElement, SvgIconProps>(({ children, sx, style, fontSize, viewBox = '0 0 24 24', ...props }, ref) => <svg ref={ref} viewBox={viewBox} width={fontSize === 'small' ? 18 : 24} height={fontSize === 'small' ? 18 : 24} fill=\"currentColor\" style={{ ...resolveSx(sx), ...style }} {...props}>{children}</svg>);\n\nexport const createTheme = (options: any) => options;\nexport const adaptV4Theme = (options: any) => options;\nexport const styled = (Component: any) => (..._styles: any[]) => Component;\nexport const tooltipClasses = { tooltip: 'bpa-tooltip', arrow: 'bpa-tooltip-arrow' };\nexport type TooltipProps = { title?: ReactNode; children: ReactNode; [key: string]: any };\n\nexport default {\n Box, Paper, Stack, Divider, Typography, Button, ButtonBase, IconButton, Checkbox, Radio, Switch,\n FormControlLabel, TextField, InputAdornment, Chip, Autocomplete, CircularProgress, Skeleton,\n Pagination, Dialog, DialogTitle, DialogContent, DialogActions, Accordion, AccordionSummary,\n AccordionDetails, Tooltip, Tabs, Tab, Alert, Snackbar, Menu, MenuItem, Popper, Portal,\n Breadcrumbs, Link, Select, SvgIcon,\n};\n"],"names":["theme","palette","primary","main","light","dark","contrastText","secondary","error","warning","success","info","text","disabled","divider","background","paper","default","grey","spacing","value","breakpoints","up","down","platformFont","fontFamily","spacingKeys","m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","resolveSx","sx","Array","isArray","Object","assign","map","entry","output","key","rawValue","entries","startsWith","target","backgroundColor","paddingTop","paddingBottom","paddingLeft","paddingRight","marginTop","marginBottom","marginLeft","marginRight","element","defaultTag","baseStyle","forwardRef","component","as","style","children","props","ref","Tag","Box","Paper","Stack","direction","display","flexDirection","gap","Divider","border","borderTop","margin","Typography","variant","jsx","Button","startIcon","endIcon","color","onClick","jsxs","PrimeButton","outlined","severity","ButtonBase","padding","cursor","font","IconButton","rounded","Checkbox","checked","onChange","PrimeCheckbox","Boolean","event","original","originalEvent","Radio","RadioButton","Switch","PrimeInputSwitch","InputSwitch","TextField","multiline","rows","label","placeholder","type","InputProps","inputProps","borderRadius","InputAdornment","DialogTitle","fontSize","fontWeight","DialogContent","justifyContent","AccordionSummary","listStyle","AccordionDetails","MenuItem","width","Select","SvgIcon","viewBox","height","fill","expanded","defaultExpanded","open","onToggle","currentTarget","onClose","role","options","renderInput","multiple","getOptionLabel","option","String","values","list","from","selectedOptions","item","find","onDelete","alignItems","size","ProgressSpinner","strokeWidth","maxWidth","fullWidth","PaperProps","PrimeDialog","visible","onHide","modal","xs","sm","md","lg","contentStyle","control","anchorEl","position","zIndex","top","getBoundingClientRect","bottom","left","boxShadow","count","page","length","_","index","placement","TransitionProps","PrimeSkeleton","shape","message","anchorOrigin","vertical","horizontal","transform","next","closest","dataset","tabValue","Number","title","Component","_styles","tooltip","arrow"],"mappings":"0WA6BA,MAAMA,EAAe,CACnBC,QAAS,CACPC,QAAS,CAAEC,KAAM,gCAAiCC,MAAO,UAAWC,KAAM,UAAWC,aAAc,QACnGC,UAAW,CAAEJ,KAAM,WACnBK,MAAO,CAAEL,KAAM,UAAWC,MAAO,WACjCK,QAAS,CAAEN,KAAM,UAAWC,MAAO,WACnCM,QAAS,CAAEP,KAAM,UAAWC,MAAO,WACnCO,KAAM,CAAER,KAAM,UAAWC,MAAO,WAChCQ,KAAM,CAAEV,QAAS,UAAWK,UAAW,UAAWM,SAAU,WAC5DC,QAAS,UACTC,WAAY,CAAEC,MAAO,OAAQC,QAAS,QACtCC,KAAM,CAAE,GAAI,UAAW,IAAK,UAAW,IAAK,UAAW,IAAK,UAAW,IAAK,UAAW,IAAK,UAAW,IAAK,YAE9GC,QAAUC,GAA6B,EAARA,EAAH,KAC5BC,YAAa,CAAEC,GAAI,IAAM,SAAUC,KAAM,IAAM,WAG3CC,EAA8B,CAAEC,WAAY,sCAE5CC,EAAmD,CACvDC,EAAG,SAAUC,GAAI,YAAaC,GAAI,cAAeC,GAAI,eAAgBC,GAAI,aAAcC,GAAI,SAAUC,GAAI,SACzGC,EAAG,UAAWC,GAAI,aAAcC,GAAI,eAAgBC,GAAI,gBAAiBC,GAAI,cAAeC,GAAI,UAAWC,GAAI,WAG3GC,EAAaC,IACb,IAACA,EAAI,MAAO,GAChB,GAAkB,mBAAPA,SAA0BD,EAAUC,EAAG1C,IAClD,GAAI2C,MAAMC,QAAQF,GAAK,OAAOG,OAAOC,OAAO,CAAA,KAAOJ,EAAGK,IAAKC,GAAUP,EAAUO,KAC/E,MAAMC,EAA8B,CAAA,EACpC,IAAA,MAAYC,EAAKC,KAAaN,OAAO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EAFvc,EAAG5E,QAAOpG,QAAOsB,KAAI4B,WAAUE,KAAkBgB,EAAAA,IAAA,SAAA,CAAOkC,KAAK,SAAS0B,KAAK,MAAM,iBAAgBhI,EAAOkD,MAAO,IAAK7B,EAAUC,MAAQ4B,MAAaE,EAAQD,SAAMiD,iBADzI,EAAGpG,QAAOsF,WAAUnC,WAAU7B,KAAI4B,WAAYkB,EAAAA,IAAC,MAAI,CAAA4D,KAAK,UAAU,aAAYhI,EAAOkD,MAAO,CAAES,QAAS,UAAWtC,EAAUC,MAAQ4B,GAASuB,QAAUgB,IAAiB,MAAM4F,EAAO5F,EAAMvD,OAAOoJ,QAAQ,qBAAqBC,QAAQC,SAAsB,MAARH,GAAc/F,IAAWG,EAAOgG,OAAOJ,KAAYlI,iDAFrS,EAAGuI,QAAOvI,oBAAgB,OAAK,CAAAuI,MAAwB,iBAAVA,EAAqBA,OAAmB,EAAAxI,MAAO,CAAES,QAAS,eAAkBR,iDAmBhJwI,GAAmB,IAAIC,IAAmBD,yBACnC,CAAEE,QAAS,cAAeC,MAAO"}
@@ -1,2 +0,0 @@
1
- import{jsx as t}from"react/jsx-runtime";const e={wrapper:{alignItems:"center",justifyContent:"center",textAlign:"center"},inner:{width:"100%"},iconWrapper:{width:"80px",height:"80px",background:"linear-gradient(to right, #3B82F6, #9333EA)",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 24px auto"},icon:{width:"40px",height:"40px",color:"#FFFFFF"},heading:{fontSize:"36px",fontWeight:"bold",color:"#9333EA",marginBottom:"16px"},text:{fontSize:"18px",color:"#4B5563",lineHeight:1.6,textAlign:"center"},errorState:{color:"#CE3928",padding:"18px 0px",display:"flex",justifyContent:"center",width:"100%"}},n=t("svg",{style:e.icon,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:t("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 10V3L4 14h7v7l9-11h-7z"})});export{e as comingSoonStyles,n as defaultIcon};
2
- //# sourceMappingURL=BookemonStyles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BookemonStyles.js","sources":["../../../src/features/Bookemon/BookemonStyles.tsx"],"sourcesContent":["import type { CSSProperties } from 'react';\n\nexport const comingSoonStyles: { [key: string]: CSSProperties } = {\n wrapper: { alignItems: 'center', justifyContent: 'center', textAlign: 'center' },\n inner: { width: '100%' },\n iconWrapper: { width: '80px', height: '80px', background: 'linear-gradient(to right, #3B82F6, #9333EA)', borderRadius: '50%', display: 'flex', alignItems: 'center', justifyContent: 'center', margin: '0 auto 24px auto' },\n icon: { width: '40px', height: '40px', color: '#FFFFFF' },\n heading: { fontSize: '36px', fontWeight: 'bold', color: '#9333EA', marginBottom: '16px' },\n text: { fontSize: '18px', color: '#4B5563', lineHeight: 1.6, textAlign: 'center' },\n errorState: { color: '#CE3928', padding: '18px 0px', display: 'flex', justifyContent: 'center', width: '100%' },\n};\n\nexport const defaultIcon = <svg style={comingSoonStyles.icon} fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\"><path strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth={2} d=\"M13 10V3L4 14h7v7l9-11h-7z\" /></svg>;\n"],"names":["comingSoonStyles","wrapper","alignItems","justifyContent","textAlign","inner","width","iconWrapper","height","background","borderRadius","display","margin","icon","color","heading","fontSize","fontWeight","marginBottom","text","lineHeight","errorState","padding","defaultIcon","style","fill","stroke","viewBox","children","jsx","strokeLinecap","strokeLinejoin","strokeWidth","d"],"mappings":"wCAEO,MAAMA,EAAqD,CAChEC,QAAS,CAAEC,WAAY,SAAUC,eAAgB,SAAUC,UAAW,UACtEC,MAAO,CAAEC,MAAO,QAChBC,YAAa,CAAED,MAAO,OAAQE,OAAQ,OAAQC,WAAY,8CAA+CC,aAAc,MAAOC,QAAS,OAAQT,WAAY,SAAUC,eAAgB,SAAUS,OAAQ,oBACvMC,KAAM,CAAEP,MAAO,OAAQE,OAAQ,OAAQM,MAAO,WAC9CC,QAAS,CAAEC,SAAU,OAAQC,WAAY,OAAQH,MAAO,UAAWI,aAAc,QACjFC,KAAM,CAAEH,SAAU,OAAQF,MAAO,UAAWM,WAAY,IAAKhB,UAAW,UACxEiB,WAAY,CAAEP,MAAO,UAAWQ,QAAS,WAAYX,QAAS,OAAQR,eAAgB,SAAUG,MAAO,SAG5FiB,IAAe,MAAI,CAAAC,MAAOxB,EAAiBa,KAAMY,KAAK,OAAOC,OAAO,eAAeC,QAAQ,YAAYC,SAACC,EAAA,OAAA,CAAKC,cAAc,QAAQC,eAAe,QAAQC,YAAa,EAAGC,EAAE"}
@@ -1,2 +0,0 @@
1
- import{jsx as e}from"react/jsx-runtime";import{forwardRef as r}from"react";import{CirclePlus as t,ArrowLeft as o,ArrowRight as m,Sparkles as c,WandSparkles as i,MessageCircle as s,CheckCircle as f,Check as l,ChevronLeft as a,ChevronRight as p,Minimize as n,X as u,Copy as x,Moon as y,Trash2 as z,MoveVertical as d,Clipboard as b,ChevronUp as g,ChevronDown as h,Maximize as j,Github as k,Info as C,Sun as S,Lightbulb as q,Search as v,RotateCw as w}from"lucide-react";export{Check}from"lucide-react";const A=t=>r(({fontSize:r,size:o,sx:m,style:c,...i},s)=>e(t,{ref:s,size:o??("small"===r?18:"large"===r?28:"number"==typeof r?r:24),style:{...m,...c},...i})),B=A(t),D=A(o),E=A(m),F=A(c),G=A(i),H=A(s);A(s),A(f);const I=A(l),J=A(a),K=A(p),L=A(n),M=A(u),N=A(u),O=A(x),P=A(y),Q=A(z),R=A(d),T=A(b),U=A(g),V=A(g),W=A(h),X=A(h),Y=A(j),Z=A(k),$=A(C),_=A(C),ee=A(h),re=A(g),te=A(S),oe=A(q),me=A(v),ce=A(a),ie=A(p),se=A(m),fe=A(w),le=A(m);export{B as AddIcon,D as ArrowBackIcon,E as ArrowForwardIcon,F as AutoAwesomeIcon,G as AutoFixHighOutlinedIcon,H as ChatBubbleOutlineOutlined,I as CheckIcon,J as ChevronLeftIcon,K as ChevronRightIcon,L as CloseFullscreenIcon,M as CloseIcon,N as CloseOutlinedIcon,O as ContentCopy,P as DarkModeIcon,Q as DeleteOutlineIcon,R as DragIndicatorIcon,T as EditOutlinedIcon,U as ExpandLess,V as ExpandLessIcon,W as ExpandMore,X as ExpandMoreIcon,Y as FullscreenIcon,Z as GitHub,$ as InfoIcon,_ as InfoOutlinedIcon,ee as KeyboardArrowDownIcon,re as KeyboardArrowUpIcon,te as LightModeIcon,oe as LightbulbOutlined,me as ManageSearchOutlined,ce as NavigateBeforeIcon,ie as NavigateNextIcon,se as NearMeOutlinedIcon,fe as RotateRightIcon,le as SwapHorizIcon};
2
- //# sourceMappingURL=icons.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icons.js","sources":["../../../src/lib/ui/icons.tsx"],"sourcesContent":["import React, { CSSProperties, forwardRef } from 'react';\nimport {\n ArrowLeft,\n ArrowRight,\n Check,\n CheckCircle,\n ChevronDown,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n CirclePlus,\n Clipboard,\n Copy,\n Expand,\n Github,\n Info,\n Lightbulb,\n Maximize,\n MessageCircle,\n Minimize,\n Moon,\n MoveVertical,\n RotateCw,\n Search,\n Sparkles,\n Sun,\n Trash2,\n WandSparkles,\n X,\n type LucideIcon,\n type LucideProps,\n} from 'lucide-react';\n\nexport interface LegacyIconProps extends Omit<LucideProps, 'color'> {\n color?: string;\n fontSize?: 'inherit' | 'small' | 'medium' | 'large' | number;\n sx?: CSSProperties & Record<string, unknown>;\n}\n\nconst legacyIcon = (Icon: LucideIcon) => forwardRef<SVGSVGElement, LegacyIconProps>(\n ({ fontSize, size, sx, style, ...props }, ref) => {\n const resolvedSize = size ?? (fontSize === 'small' ? 18 : fontSize === 'large' ? 28 : typeof fontSize === 'number' ? fontSize : 24);\n return <Icon ref={ref} size={resolvedSize} style={{ ...sx, ...style }} {...props} />;\n },\n);\n\nexport const AddIcon = legacyIcon(CirclePlus);\nexport const ArrowBackIcon = legacyIcon(ArrowLeft);\nexport const ArrowForwardIcon = legacyIcon(ArrowRight);\nexport const AutoAwesomeIcon = legacyIcon(Sparkles);\nexport const AutoFixHighOutlinedIcon = legacyIcon(WandSparkles);\nexport const ChatBubbleOutlineOutlined = legacyIcon(MessageCircle);\nexport const ChatBubbleOutlineOutlinedIcon = legacyIcon(MessageCircle);\nexport const CheckCircleOutlineIcon = legacyIcon(CheckCircle);\nexport const CheckIcon = legacyIcon(Check);\nexport const ChevronLeftIcon = legacyIcon(ChevronLeft);\nexport const ChevronRightIcon = legacyIcon(ChevronRight);\nexport const CloseFullscreenIcon = legacyIcon(Minimize);\nexport const CloseIcon = legacyIcon(X);\nexport const CloseOutlinedIcon = legacyIcon(X);\nexport const ContentCopy = legacyIcon(Copy);\nexport const DarkModeIcon = legacyIcon(Moon);\nexport const DeleteOutlineIcon = legacyIcon(Trash2);\nexport const DragIndicatorIcon = legacyIcon(MoveVertical);\nexport const EditOutlinedIcon = legacyIcon(Clipboard);\nexport const ExpandLess = legacyIcon(ChevronUp);\nexport const ExpandLessIcon = legacyIcon(ChevronUp);\nexport const ExpandMore = legacyIcon(ChevronDown);\nexport const ExpandMoreIcon = legacyIcon(ChevronDown);\nexport const FullscreenIcon = legacyIcon(Maximize);\nexport const GitHub = legacyIcon(Github);\nexport const InfoIcon = legacyIcon(Info);\nexport const InfoOutlinedIcon = legacyIcon(Info);\nexport const KeyboardArrowDownIcon = legacyIcon(ChevronDown);\nexport const KeyboardArrowUpIcon = legacyIcon(ChevronUp);\nexport const LightModeIcon = legacyIcon(Sun);\nexport const LightbulbOutlined = legacyIcon(Lightbulb);\nexport const ManageSearchOutlined = legacyIcon(Search);\nexport const NavigateBeforeIcon = legacyIcon(ChevronLeft);\nexport const NavigateNextIcon = legacyIcon(ChevronRight);\nexport const NearMeOutlinedIcon = legacyIcon(ArrowRight);\nexport const RotateRightIcon = legacyIcon(RotateCw);\nexport const SwapHorizIcon = legacyIcon(ArrowRight);\n\nexport { Check };\n"],"names":["legacyIcon","Icon","forwardRef","fontSize","size","sx","style","props","ref","jsx","AddIcon","CirclePlus","ArrowBackIcon","ArrowLeft","ArrowForwardIcon","ArrowRight","AutoAwesomeIcon","Sparkles","AutoFixHighOutlinedIcon","WandSparkles","ChatBubbleOutlineOutlined","MessageCircle","CheckCircle","CheckIcon","Check","ChevronLeftIcon","ChevronLeft","ChevronRightIcon","ChevronRight","CloseFullscreenIcon","Minimize","CloseIcon","X","CloseOutlinedIcon","ContentCopy","Copy","DarkModeIcon","Moon","DeleteOutlineIcon","Trash2","DragIndicatorIcon","MoveVertical","EditOutlinedIcon","Clipboard","ExpandLess","ChevronUp","ExpandLessIcon","ExpandMore","ChevronDown","ExpandMoreIcon","FullscreenIcon","Maximize","GitHub","Github","InfoIcon","Info","InfoOutlinedIcon","KeyboardArrowDownIcon","KeyboardArrowUpIcon","LightModeIcon","Sun","LightbulbOutlined","Lightbulb","ManageSearchOutlined","Search","NavigateBeforeIcon","NavigateNextIcon","NearMeOutlinedIcon","RotateRightIcon","RotateCw","SwapHorizIcon"],"mappings":"kfAuCA,MAAMA,EAAcC,GAAqBC,EACvC,EAAGC,WAAUC,OAAMC,KAAIC,WAAUC,GAASC,IAEhCC,EAAAR,EAAA,CAAKO,MAAUJ,KADFA,IAAsB,UAAbD,EAAuB,GAAkB,UAAbA,EAAuB,GAAyB,iBAAbA,EAAwBA,EAAW,IACrFG,MAAO,IAAKD,KAAOC,MAAaC,KAIlEG,EAAUV,EAAWW,GACrBC,EAAgBZ,EAAWa,GAC3BC,EAAmBd,EAAWe,GAC9BC,EAAkBhB,EAAWiB,GAC7BC,EAA0BlB,EAAWmB,GACrCC,EAA4BpB,EAAWqB,GACPrB,EAAWqB,GAClBrB,EAAWsB,GACpC,MAAAC,EAAYvB,EAAWwB,GACvBC,EAAkBzB,EAAW0B,GAC7BC,EAAmB3B,EAAW4B,GAC9BC,EAAsB7B,EAAW8B,GACjCC,EAAY/B,EAAWgC,GACvBC,EAAoBjC,EAAWgC,GAC/BE,EAAclC,EAAWmC,GACzBC,EAAepC,EAAWqC,GAC1BC,EAAoBtC,EAAWuC,GAC/BC,EAAoBxC,EAAWyC,GAC/BC,EAAmB1C,EAAW2C,GAC9BC,EAAa5C,EAAW6C,GACxBC,EAAiB9C,EAAW6C,GAC5BE,EAAa/C,EAAWgD,GACxBC,EAAiBjD,EAAWgD,GAC5BE,EAAiBlD,EAAWmD,GAC5BC,EAASpD,EAAWqD,GACpBC,EAAWtD,EAAWuD,GACtBC,EAAmBxD,EAAWuD,GAC9BE,GAAwBzD,EAAWgD,GACnCU,GAAsB1D,EAAW6C,GACjCc,GAAgB3D,EAAW4D,GAC3BC,GAAoB7D,EAAW8D,GAC/BC,GAAuB/D,EAAWgE,GAClCC,GAAqBjE,EAAW0B,GAChCwC,GAAmBlE,EAAW4B,GAC9BuC,GAAqBnE,EAAWe,GAChCqD,GAAkBpE,EAAWqE,GAC7BC,GAAgBtE,EAAWe"}
@@ -1,2 +0,0 @@
1
- import{jsx as e,jsxs as t}from"react/jsx-runtime";import{forwardRef as n}from"react";import{Button as r}from"primereact/button";import{Checkbox as i}from"primereact/checkbox";import{Dialog as l}from"primereact/dialog";import{InputSwitch as o}from"primereact/inputswitch";import{ProgressSpinner as a}from"primereact/progressspinner";import{RadioButton as d}from"primereact/radiobutton";import{Skeleton as s}from"primereact/skeleton";const c={palette:{primary:{main:"var(--primary-color, #6366f1)",light:"#eef2ff",dark:"#4338ca",contrastText:"#fff"},secondary:{main:"#64748b"},error:{main:"#dc2626",light:"#fef2f2"},warning:{main:"#d97706",light:"#fffbeb"},success:{main:"#16a34a",light:"#f0fdf4"},info:{main:"#2563eb",light:"#eff6ff"},text:{primary:"#111827",secondary:"#64748b",disabled:"#9ca3af"},divider:"#e5e7eb",background:{paper:"#fff",default:"#fff"},grey:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",500:"#6b7280",700:"#374151",900:"#111827"}},spacing:e=>8*e+"px",breakpoints:{up:()=>"@media",down:()=>"@media"}},p={fontFamily:"var(--font-bpa, Inter, sans-serif)"},f={m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"margin",my:"margin",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"padding",py:"padding"},g=e=>{if(!e)return{};if("function"==typeof e)return g(e(c));if(Array.isArray(e))return Object.assign({},...e.map(e=>g(e)));const t={};for(const[n,r]of Object.entries(e)){if(null==r||n.startsWith("&")||n.startsWith("@"))continue;const e=f[n]??n;let i=r;"function"==typeof i&&(i=i(c)),f[n]&&"number"==typeof i&&(i=c.spacing(i)),"mx"!==n?"my"!==n?"px"!==n?"py"!==n?"bgcolor"!==n?t[e]=i:t.backgroundColor=i:(t.paddingTop=i,t.paddingBottom=i):(t.paddingLeft=i,t.paddingRight=i):(t.marginTop=i,t.marginBottom=i):(t.marginLeft=i,t.marginRight=i)}return t},m=(t,r={})=>n(({component:n,as:i,sx:l,style:o,children:a,...d},s)=>e(n??i??t,{ref:s,style:{...p,...r,...g(l),...o},...d,children:a})),h=m("div"),u=m("div",{background:"#fff"}),y=n(({direction:t="column",spacing:n=0,sx:r,style:i,children:l,...o},a)=>e("div",{ref:a,style:{display:"flex",flexDirection:t,gap:"number"==typeof n?c.spacing(n):n,...g(r),...i},...o,children:l})),b=m("hr",{border:0,borderTop:"1px solid #e5e7eb",margin:0}),x=n(({component:t,variant:n,sx:r,style:i,children:l,...o},a)=>{const d=t??(n?.startsWith("h")?n:"span");return e(d,{ref:a,style:{display:"span"===d?"inline":void 0,margin:0,...g(r),...i},...o,children:l})}),v=n(({children:e,startIcon:n,endIcon:i,variant:l,color:o,sx:a,style:d,disabled:s,onClick:c,...p},f)=>t(r,{ref:f,disabled:s,onClick:c,outlined:"outlined"===l,text:"text"===l,severity:"error"===o?"danger":o,style:{...g(a),...d},...p,children:[n,e,i]})),k=m("button",{border:0,background:"transparent",padding:0,cursor:"pointer",font:"inherit"}),C=n(({children:t,sx:n,style:i,color:l,...o},a)=>e(r,{ref:a,text:!0,rounded:!0,severity:"error"===l?"danger":void 0,style:{padding:"0.5rem",...g(n),...i},...o,children:t})),w=n(({checked:t,onChange:n,value:r,disabled:l,sx:o,style:a,...d},s)=>e(i,{ref:s,checked:Boolean(t),value:r,disabled:l,onChange:e=>{const t=e.originalEvent??{};n?.({...t,target:{...t.target,checked:e.checked,value:r}},e.checked)},style:{...g(o),...a},...d})),B=n(({checked:t,onChange:n,value:r,disabled:i,sx:l,style:o,...a},s)=>e(d,{ref:s,checked:Boolean(t),value:r,disabled:i,onChange:e=>{const t=e.originalEvent??{};n?.({...t,target:{...t.target,checked:e.checked,value:r}},e.checked)},style:{...g(l),...o},...a})),R=n(({checked:t,onChange:n,disabled:r,sx:i,style:l,...a},d)=>e(o,{ref:d,checked:Boolean(t),disabled:r,onChange:e=>{const t=e.originalEvent??{};n?.({...t,target:{...t.target,checked:e.value}},e.value)},style:{...g(i),...l},...a})),T=({control:e,label:n,sx:r,style:i,...l})=>t("label",{style:{display:"inline-flex",alignItems:"center",gap:8,...g(r),...i},...l,children:[e,n]}),I=n(({multiline:n,rows:r,label:i,value:l,onChange:o,placeholder:a,disabled:d,type:s,sx:c,style:p,InputProps:f,inputProps:m,...h},u)=>{const y=n?"textarea":"input";return t("label",{style:{display:"inline-flex",flexDirection:"column",gap:4,...g(c)},children:[i&&e("span",{children:i}),e(y,{ref:u,rows:r,value:l??"",onChange:o,placeholder:a,disabled:d,type:s,style:{font:"inherit",border:"1px solid #d1d5db",borderRadius:6,padding:"0.5rem 0.75rem",...p},...m,...h})]})}),z=m("span"),P=({label:n,onDelete:r,sx:i,style:l,...o})=>t("span",{style:{display:"inline-flex",alignItems:"center",gap:4,borderRadius:999,background:"#f3f4f6",padding:"0.25rem 0.5rem",...g(i),...l},...o,children:[n,r&&e("button",{type:"button",onClick:r,"aria-label":"Remove",children:"×"})]}),S=({options:t=[],value:n,onChange:r,renderInput:i,multiple:l,getOptionLabel:o=e=>String(e),sx:a})=>{const d=l?(n??[]).map(o):o(n??"");return e("div",{style:g(a),children:i?.({inputProps:{list:void 0},value:d})??e("select",{multiple:l,value:d,onChange:e=>r?.(e,l?Array.from(e.currentTarget.selectedOptions,e=>t.find(t=>o(t)===e.value)):t.find(t=>o(t)===e.currentTarget.value)),children:t.map(t=>e("option",{children:o(t)},o(t)))})})},W=({size:t=40,sx:n,style:r,...i})=>e(a,{strokeWidth:"5",style:{width:t,height:t,...g(n),...r},...i}),E=({width:t,height:n,variant:r,sx:i,style:l,...o})=>e(s,{width:"number"==typeof t?`${t}px`:t,height:"number"==typeof n?`${n}px`:n,shape:"circular"===r?"circle":"rectangle",style:{...g(i),...l},...o}),L=({count:t=1,page:n=1,onChange:r,sx:i,style:l})=>e("nav",{"aria-label":"Pagination",style:{display:"flex",gap:4,...g(i),...l},children:Array.from({length:t},(e,t)=>t+1).map(t=>e("button",{type:"button","aria-current":t===n?"page":void 0,onClick:e=>r?.(e,t),children:t},t))}),O=({open:t,onClose:n,children:r,maxWidth:i,fullWidth:o,PaperProps:a,sx:d,...s})=>e(l,{visible:Boolean(t),onHide:()=>n?.({},"backdropClick"),modal:!0,style:{width:o?{xs:"90vw",sm:"36rem",md:"56rem",lg:"72rem"}[i]??"90vw":void 0,...g(d),...a?.style},contentStyle:a?.sx?g(a.sx):void 0,...s,children:r}),j=m("header",{fontSize:"1.25rem",fontWeight:600,marginBottom:"1rem"}),A=m("div");m("footer",{display:"flex",justifyContent:"flex-end",gap:"0.5rem",marginTop:"1rem"});const D=({expanded:t,defaultExpanded:n,onChange:r,children:i,sx:l,style:o,...a})=>e("details",{open:t??n,onToggle:e=>r?.(e,e.currentTarget.open),style:{...g(l),...o},...a,children:i}),$=m("summary",{cursor:"pointer",listStyle:"none"}),F=m("div"),H=({title:t,children:n})=>e("span",{title:"string"==typeof t?t:void 0,style:{display:"inline-flex"},children:n}),N=({value:t,onChange:n,children:r,sx:i,style:l})=>e("div",{role:"tablist","data-value":t,style:{display:"flex",...g(i),...l},onClick:e=>{const t=e.target.closest("[data-tab-value]")?.dataset.tabValue;null!=t&&n?.(e,Number(t))},children:r}),V=({label:t,value:n,sx:r,style:i,...l})=>e("button",{type:"button",role:"tab","data-tab-value":n,style:{...g(r),...i},...l,children:t}),X=({severity:n="info",children:r,onClose:i,sx:l,style:o,...a})=>t("div",{role:"alert","data-severity":n,style:{padding:"0.75rem 1rem",borderRadius:6,background:c.palette[n]?.light,color:c.palette[n]?.main,...g(l),...o},...a,children:[r,i&&e("button",{type:"button",onClick:i,"aria-label":"Close",children:"×"})]}),q=({open:t,children:n,message:r,anchorOrigin:i,sx:l,style:o,...a})=>t?e("div",{style:{position:"fixed",zIndex:1500,bottom:"top"===i?.vertical?void 0:24,top:"top"===i?.vertical?24:void 0,left:"left"===i?.horizontal?24:"50%",transform:"left"===i?.horizontal?void 0:"translateX(-50%)",...g(l),...o},...a,children:n??r}):null,G=({open:t,anchorEl:n,onClose:r,children:i,sx:l,style:o,...a})=>t?e("div",{role:"menu",style:{position:"fixed",zIndex:1400,top:n?.getBoundingClientRect?.().bottom??0,left:n?.getBoundingClientRect?.().left??0,background:"#fff",border:"1px solid #e5e7eb",borderRadius:6,boxShadow:"0 8px 24px rgb(0 0 0 / 15%)",...g(l),...o},...a,children:i}):null,J=m("button",{display:"flex",width:"100%",border:0,background:"transparent",padding:"0.5rem 0.75rem",cursor:"pointer",font:"inherit"}),K=({open:t,anchorEl:n,placement:r,children:i,sx:l,style:o,...a})=>t?e("div",{style:{position:"fixed",zIndex:1300,top:n?.getBoundingClientRect?.().bottom??0,left:n?.getBoundingClientRect?.().left??0,...g(l),...o},...a,children:"function"==typeof i?i({placement:r,TransitionProps:{}}):i}):null,M=({children:e})=>e;m("a");const Q=m("select"),U=n(({children:t,sx:n,style:r,fontSize:i,viewBox:l="0 0 24 24",...o},a)=>e("svg",{ref:a,viewBox:l,width:"small"===i?18:24,height:"small"===i?18:24,fill:"currentColor",style:{...g(n),...r},...o,children:t})),Y=e=>(...t)=>e,Z={tooltip:"bpa-tooltip",arrow:"bpa-tooltip-arrow"};export{D as Accordion,F as AccordionDetails,$ as AccordionSummary,X as Alert,S as Autocomplete,h as Box,v as Button,k as ButtonBase,w as Checkbox,P as Chip,W as CircularProgress,O as Dialog,A as DialogContent,j as DialogTitle,b as Divider,T as FormControlLabel,C as IconButton,z as InputAdornment,G as Menu,J as MenuItem,L as Pagination,u as Paper,K as Popper,M as Portal,B as Radio,Q as Select,E as Skeleton,q as Snackbar,y as Stack,U as SvgIcon,R as Switch,V as Tab,N as Tabs,I as TextField,H as Tooltip,x as Typography,Y as styled,Z as tooltipClasses};
2
- //# sourceMappingURL=materialCompat.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"materialCompat.js","sources":["../../../src/lib/ui/materialCompat.tsx"],"sourcesContent":["import React, { forwardRef, useId, type CSSProperties, type ElementType, type ReactNode } from 'react';\nimport { Button as PrimeButton } from 'primereact/button';\nimport { Checkbox as PrimeCheckbox } from 'primereact/checkbox';\nimport { Dialog as PrimeDialog } from 'primereact/dialog';\nimport { InputSwitch as PrimeInputSwitch } from 'primereact/inputswitch';\nimport { ProgressSpinner } from 'primereact/progressspinner';\nimport { RadioButton } from 'primereact/radiobutton';\nimport { Skeleton as PrimeSkeleton } from 'primereact/skeleton';\n\nexport type Theme = Record<string, any>;\nexport type SxProps<T = Theme> = CSSProperties | Record<string, any> | ((theme: T) => any) | readonly SxProps<T>[];\nexport type SvgIconProps = React.SVGProps<SVGSVGElement> & { sx?: SxProps; fontSize?: string };\nexport type PopperProps = Record<string, any>;\nexport interface CompatProps {\n [key: string]: any;\n children?: any;\n sx?: SxProps;\n style?: CSSProperties;\n onChange?: (event: any, value?: any) => void;\n onClick?: (event: any) => void;\n onKeyDown?: (event: any) => void;\n onMouseEnter?: (event: any) => void;\n onMouseLeave?: (event: any) => void;\n onMouseMove?: (event: any) => void;\n onInputChange?: (event: any, value: string, reason: string) => void;\n renderInput?: (params: any) => ReactNode;\n}\ntype CompatComponent = React.ForwardRefExoticComponent<CompatProps & React.RefAttributes<any>>;\n\nconst theme: Theme = {\n palette: {\n primary: { main: 'var(--primary-color, #6366f1)', light: '#eef2ff', dark: '#4338ca', contrastText: '#fff' },\n secondary: { main: '#64748b' },\n error: { main: '#dc2626', light: '#fef2f2' },\n warning: { main: '#d97706', light: '#fffbeb' },\n success: { main: '#16a34a', light: '#f0fdf4' },\n info: { main: '#2563eb', light: '#eff6ff' },\n text: { primary: '#111827', secondary: '#64748b', disabled: '#9ca3af' },\n divider: '#e5e7eb',\n background: { paper: '#fff', default: '#fff' },\n grey: { 50: '#f9fafb', 100: '#f3f4f6', 200: '#e5e7eb', 300: '#d1d5db', 500: '#6b7280', 700: '#374151', 900: '#111827' },\n },\n spacing: (value: number) => `${value * 8}px`,\n breakpoints: { up: () => '@media', down: () => '@media' },\n};\n\nconst platformFont: CSSProperties = { fontFamily: 'var(--font-bpa, Inter, sans-serif)' };\n\nconst spacingKeys: Record<string, keyof CSSProperties> = {\n m: 'margin', mt: 'marginTop', mr: 'marginRight', mb: 'marginBottom', ml: 'marginLeft', mx: 'margin', my: 'margin',\n p: 'padding', pt: 'paddingTop', pr: 'paddingRight', pb: 'paddingBottom', pl: 'paddingLeft', px: 'padding', py: 'padding',\n};\n\nconst resolveSx = (sx?: SxProps): CSSProperties => {\n if (!sx) return {};\n if (typeof sx === 'function') return resolveSx(sx(theme));\n if (Array.isArray(sx)) return Object.assign({}, ...sx.map((entry) => resolveSx(entry)));\n const output: Record<string, any> = {};\n for (const [key, rawValue] of Object.entries(sx)) {\n if (rawValue == null || key.startsWith('&') || key.startsWith('@')) continue;\n const target = spacingKeys[key] ?? key;\n let value: any = rawValue;\n if (typeof value === 'function') value = value(theme);\n if (spacingKeys[key] && typeof value === 'number') value = theme.spacing(value);\n if (key === 'mx') { output.marginLeft = value; output.marginRight = value; continue; }\n if (key === 'my') { output.marginTop = value; output.marginBottom = value; continue; }\n if (key === 'px') { output.paddingLeft = value; output.paddingRight = value; continue; }\n if (key === 'py') { output.paddingTop = value; output.paddingBottom = value; continue; }\n if (key === 'bgcolor') { output.backgroundColor = value; continue; }\n output[target] = value;\n }\n return output as CSSProperties;\n};\n\nconst element = (defaultTag: ElementType, baseStyle: CSSProperties = {}): CompatComponent => forwardRef<any, CompatProps>(\n ({ component, as, sx, style, children, ...props }, ref) => {\n const Tag = component ?? as ?? defaultTag;\n return <Tag ref={ref} style={{ ...platformFont, ...baseStyle, ...resolveSx(sx), ...style }} {...props}>{children}</Tag>;\n },\n);\n\nexport const Box = element('div');\nexport const Paper = element('div', { background: '#fff' });\nexport const Stack: CompatComponent = forwardRef<any, CompatProps>(({ direction = 'column', spacing = 0, sx, style, children, ...props }, ref) => (\n <div ref={ref} style={{ display: 'flex', flexDirection: direction, gap: typeof spacing === 'number' ? theme.spacing(spacing) : spacing, ...resolveSx(sx), ...style }} {...props}>{children}</div>\n));\nexport const Divider = element('hr', { border: 0, borderTop: '1px solid #e5e7eb', margin: 0 });\nexport const Typography: CompatComponent = forwardRef<any, CompatProps>(({ component, variant, sx, style, children, ...props }, ref) => {\n const Tag = component ?? (variant?.startsWith('h') ? variant : 'span');\n return <Tag ref={ref} style={{ display: Tag === 'span' ? 'inline' : undefined, margin: 0, ...resolveSx(sx), ...style }} {...props}>{children}</Tag>;\n});\n\nexport const Button: CompatComponent = forwardRef<any, CompatProps>(({ children, startIcon, endIcon, variant, color, sx, style, disabled, onClick, ...props }, ref) => (\n <PrimeButton ref={ref} disabled={disabled} onClick={onClick} outlined={variant === 'outlined'} text={variant === 'text'} severity={color === 'error' ? 'danger' : color} style={{ ...resolveSx(sx), ...style }} {...props}>\n {startIcon}{children}{endIcon}\n </PrimeButton>\n));\nexport const ButtonBase = element('button', { border: 0, background: 'transparent', padding: 0, cursor: 'pointer', font: 'inherit' });\nexport const IconButton: CompatComponent = forwardRef<any, CompatProps>(({ children, sx, style, color, ...props }, ref) => (\n <PrimeButton ref={ref} text rounded severity={color === 'error' ? 'danger' : undefined} style={{ padding: '0.5rem', ...resolveSx(sx), ...style }} {...props}>{children}</PrimeButton>\n));\n\nexport const Checkbox: CompatComponent = forwardRef<any, CompatProps>(({ checked, onChange, value, disabled, sx, style, ...props }, ref) => (\n <PrimeCheckbox ref={ref} checked={Boolean(checked)} value={value} disabled={disabled} onChange={(event) => { const original = event.originalEvent ?? {}; onChange?.({ ...original, target: { ...(original as any).target, checked: event.checked, value } }, event.checked); }} style={{ ...resolveSx(sx), ...style }} {...props} />\n));\nexport const Radio: CompatComponent = forwardRef<any, CompatProps>(({ checked, onChange, value, disabled, sx, style, ...props }, ref) => (\n <RadioButton ref={ref} checked={Boolean(checked)} value={value} disabled={disabled} onChange={(event) => { const original = event.originalEvent ?? {}; onChange?.({ ...original, target: { ...(original as any).target, checked: event.checked, value } }, event.checked); }} style={{ ...resolveSx(sx), ...style }} {...props} />\n));\nexport const Switch: CompatComponent = forwardRef<any, CompatProps>(({ checked, onChange, disabled, sx, style, ...props }, ref) => (\n <PrimeInputSwitch ref={ref} checked={Boolean(checked)} disabled={disabled} onChange={(event) => { const original = event.originalEvent ?? {}; onChange?.({ ...original, target: { ...(original as any).target, checked: event.value } }, event.value); }} style={{ ...resolveSx(sx), ...style }} {...props} />\n));\nexport const FormControlLabel: React.FC<CompatProps> = ({ control, label, sx, style, ...props }) => <label style={{ display: 'inline-flex', alignItems: 'center', gap: 8, ...resolveSx(sx), ...style }} {...props}>{control}{label}</label>;\n\nexport const TextField: CompatComponent = forwardRef<any, CompatProps>(({ multiline, rows, label, value, onChange, placeholder, disabled, type, sx, style, InputProps, inputProps, ...props }, ref) => {\n const Tag = multiline ? 'textarea' : 'input';\n return <label style={{ display: 'inline-flex', flexDirection: 'column', gap: 4, ...resolveSx(sx) }}>{label && <span>{label}</span>}<Tag ref={ref} rows={rows} value={value ?? ''} onChange={onChange} placeholder={placeholder} disabled={disabled} type={type} style={{ font: 'inherit', border: '1px solid #d1d5db', borderRadius: 6, padding: '0.5rem 0.75rem', ...style }} {...inputProps} {...props} /></label>;\n});\nexport const InputAdornment = element('span');\nexport const Chip = ({ label, onDelete, sx, style, ...props }: any) => <span style={{ display: 'inline-flex', alignItems: 'center', gap: 4, borderRadius: 999, background: '#f3f4f6', padding: '0.25rem 0.5rem', ...resolveSx(sx), ...style }} {...props}>{label}{onDelete && <button type=\"button\" onClick={onDelete} aria-label=\"Remove\">×</button>}</span>;\nexport const Autocomplete: React.FC<CompatProps> = ({ options = [], value, onChange, renderInput, multiple, getOptionLabel = (option: any) => String(option), sx }) => {\n const values = multiple ? (value ?? []).map(getOptionLabel) : getOptionLabel(value ?? '');\n return <div style={resolveSx(sx)}>{renderInput?.({ inputProps: { list: undefined }, value: values }) ?? <select multiple={multiple} value={multiple ? values : values} onChange={(event) => onChange?.(event, multiple ? Array.from(event.currentTarget.selectedOptions, (item) => options.find((option: any) => getOptionLabel(option) === item.value)) : options.find((option: any) => getOptionLabel(option) === event.currentTarget.value))}>{options.map((option: any) => <option key={getOptionLabel(option)}>{getOptionLabel(option)}</option>)}</select>}</div>;\n};\n\nexport const CircularProgress: React.FC<CompatProps> = ({ size = 40, sx, style, ...props }) => <ProgressSpinner strokeWidth=\"5\" style={{ width: size, height: size, ...resolveSx(sx), ...style }} {...props} />;\nexport const Skeleton = ({ width, height, variant, sx, style, ...props }: any) => <PrimeSkeleton width={typeof width === 'number' ? `${width}px` : width} height={typeof height === 'number' ? `${height}px` : height} shape={variant === 'circular' ? 'circle' : 'rectangle'} style={{ ...resolveSx(sx), ...style }} {...props} />;\nexport const Pagination: React.FC<CompatProps> = ({ count = 1, page = 1, onChange, sx, style }) => <nav aria-label=\"Pagination\" style={{ display: 'flex', gap: 4, ...resolveSx(sx), ...style }}>{Array.from({ length: count }, (_, index) => index + 1).map((item) => <button type=\"button\" key={item} aria-current={item === page ? 'page' : undefined} onClick={(event) => onChange?.(event, item)}>{item}</button>)}</nav>;\n\nexport const Dialog = ({ open, onClose, children, maxWidth, fullWidth, PaperProps, sx, ...props }: any) => <PrimeDialog visible={Boolean(open)} onHide={() => onClose?.({}, 'backdropClick')} modal style={{ width: fullWidth ? ({ xs: '90vw', sm: '36rem', md: '56rem', lg: '72rem' }[maxWidth as string] ?? '90vw') : undefined, ...resolveSx(sx), ...PaperProps?.style }} contentStyle={PaperProps?.sx ? resolveSx(PaperProps.sx) : undefined} {...props}>{children}</PrimeDialog>;\nexport const DialogTitle = element('header', { fontSize: '1.25rem', fontWeight: 600, marginBottom: '1rem' });\nexport const DialogContent = element('div');\nexport const DialogActions = element('footer', { display: 'flex', justifyContent: 'flex-end', gap: '0.5rem', marginTop: '1rem' });\n\nexport const Accordion: React.FC<CompatProps> = ({ expanded, defaultExpanded, onChange, children, sx, style, ...props }) => <details open={expanded ?? defaultExpanded} onToggle={(event) => onChange?.(event, event.currentTarget.open)} style={{ ...resolveSx(sx), ...style }} {...props}>{children}</details>;\nexport const AccordionSummary = element('summary', { cursor: 'pointer', listStyle: 'none' });\nexport const AccordionDetails = element('div');\nexport const Tooltip: React.FC<CompatProps> = ({ title, children }) => <span title={typeof title === 'string' ? title : undefined} style={{ display: 'inline-flex' }}>{children}</span>;\n\nexport const Tabs: React.FC<CompatProps> = ({ value, onChange, children, sx, style }) => <div role=\"tablist\" data-value={value} style={{ display: 'flex', ...resolveSx(sx), ...style }} onClick={(event: any) => { const next = event.target.closest('[data-tab-value]')?.dataset.tabValue; if (next != null) onChange?.(event, Number(next)); }}>{children}</div>;\nexport const Tab = ({ label, value, sx, style, ...props }: any) => <button type=\"button\" role=\"tab\" data-tab-value={value} style={{ ...resolveSx(sx), ...style }} {...props}>{label}</button>;\nexport const Alert = ({ severity = 'info', children, onClose, sx, style, ...props }: any) => <div role=\"alert\" data-severity={severity} style={{ padding: '0.75rem 1rem', borderRadius: 6, background: theme.palette[severity]?.light, color: theme.palette[severity]?.main, ...resolveSx(sx), ...style }} {...props}>{children}{onClose && <button type=\"button\" onClick={onClose} aria-label=\"Close\">×</button>}</div>;\nexport const Snackbar = ({ open, children, message, anchorOrigin, sx, style, ...props }: any) => open ? <div style={{ position: 'fixed', zIndex: 1500, bottom: anchorOrigin?.vertical === 'top' ? undefined : 24, top: anchorOrigin?.vertical === 'top' ? 24 : undefined, left: anchorOrigin?.horizontal === 'left' ? 24 : '50%', transform: anchorOrigin?.horizontal === 'left' ? undefined : 'translateX(-50%)', ...resolveSx(sx), ...style }} {...props}>{children ?? message}</div> : null;\n\nexport const Menu: React.FC<CompatProps> = ({ open, anchorEl, onClose, children, sx, style, ...props }) => open ? <div role=\"menu\" style={{ position: 'fixed', zIndex: 1400, top: anchorEl?.getBoundingClientRect?.().bottom ?? 0, left: anchorEl?.getBoundingClientRect?.().left ?? 0, background: '#fff', border: '1px solid #e5e7eb', borderRadius: 6, boxShadow: '0 8px 24px rgb(0 0 0 / 15%)', ...resolveSx(sx), ...style }} {...props}>{children}</div> : null;\nexport const MenuItem = element('button', { display: 'flex', width: '100%', border: 0, background: 'transparent', padding: '0.5rem 0.75rem', cursor: 'pointer', font: 'inherit' });\nexport const Popper: React.FC<CompatProps> = ({ open, anchorEl, placement, children, sx, style, ...props }) => open ? <div style={{ position: 'fixed', zIndex: 1300, top: anchorEl?.getBoundingClientRect?.().bottom ?? 0, left: anchorEl?.getBoundingClientRect?.().left ?? 0, ...resolveSx(sx), ...style }} {...props}>{typeof children === 'function' ? children({ placement, TransitionProps: {} }) : children}</div> : null;\nexport const Portal = ({ children }: any) => children;\nexport const Breadcrumbs = ({ children, separator = '/', sx, style, ...props }: any) => <nav style={{ display: 'flex', gap: 6, ...resolveSx(sx), ...style }} {...props}>{React.Children.toArray(children).flatMap((child, index, all) => index < all.length - 1 ? [child, <span key={`separator-${index}`}>{separator}</span>] : [child])}</nav>;\nexport const Link = element('a');\nexport const Select = element('select');\n\nexport const SvgIcon = forwardRef<SVGSVGElement, SvgIconProps>(({ children, sx, style, fontSize, viewBox = '0 0 24 24', ...props }, ref) => <svg ref={ref} viewBox={viewBox} width={fontSize === 'small' ? 18 : 24} height={fontSize === 'small' ? 18 : 24} fill=\"currentColor\" style={{ ...resolveSx(sx), ...style }} {...props}>{children}</svg>);\n\nexport const createTheme = (options: any) => options;\nexport const adaptV4Theme = (options: any) => options;\nexport const styled = (Component: any) => (..._styles: any[]) => Component;\nexport const tooltipClasses = { tooltip: 'bpa-tooltip', arrow: 'bpa-tooltip-arrow' };\nexport type TooltipProps = { title?: ReactNode; children: ReactNode; [key: string]: any };\n\nexport default {\n Box, Paper, Stack, Divider, Typography, Button, ButtonBase, IconButton, Checkbox, Radio, Switch,\n FormControlLabel, TextField, InputAdornment, Chip, Autocomplete, CircularProgress, Skeleton,\n Pagination, Dialog, DialogTitle, DialogContent, DialogActions, Accordion, AccordionSummary,\n AccordionDetails, Tooltip, Tabs, Tab, Alert, Snackbar, Menu, MenuItem, Popper, Portal,\n Breadcrumbs, Link, Select, SvgIcon,\n};\n"],"names":["theme","palette","primary","main","light","dark","contrastText","secondary","error","warning","success","info","text","disabled","divider","background","paper","default","grey","spacing","value","breakpoints","up","down","platformFont","fontFamily","spacingKeys","m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","resolveSx","sx","Array","isArray","Object","assign","map","entry","output","key","rawValue","entries","startsWith","target","backgroundColor","paddingTop","paddingBottom","paddingLeft","paddingRight","marginTop","marginBottom","marginLeft","marginRight","element","defaultTag","baseStyle","forwardRef","component","as","style","children","props","ref","Box","Paper","Stack","direction","display","flexDirection","gap","Divider","border","borderTop","margin","Typography","variant","Tag","jsx","Button","startIcon","endIcon","color","onClick","jsxs","PrimeButton","outlined","severity","ButtonBase","padding","cursor","font","IconButton","rounded","Checkbox","checked","onChange","PrimeCheckbox","Boolean","event","original","originalEvent","Radio","RadioButton","Switch","PrimeInputSwitch","FormControlLabel","control","label","alignItems","TextField","multiline","rows","placeholder","type","InputProps","inputProps","borderRadius","InputAdornment","Chip","onDelete","Autocomplete","options","renderInput","multiple","getOptionLabel","option","String","values","list","from","currentTarget","selectedOptions","item","find","CircularProgress","size","ProgressSpinner","strokeWidth","width","height","Skeleton","PrimeSkeleton","shape","Pagination","count","page","length","_","index","Dialog","open","onClose","maxWidth","fullWidth","PaperProps","PrimeDialog","visible","onHide","modal","xs","sm","md","lg","contentStyle","DialogTitle","fontSize","fontWeight","DialogContent","justifyContent","Accordion","expanded","defaultExpanded","onToggle","AccordionSummary","listStyle","AccordionDetails","Tooltip","title","Tabs","role","next","closest","dataset","tabValue","Number","Tab","Alert","Snackbar","message","anchorOrigin","position","zIndex","bottom","vertical","top","left","horizontal","transform","Menu","anchorEl","getBoundingClientRect","boxShadow","MenuItem","Popper","placement","TransitionProps","Portal","Select","SvgIcon","viewBox","fill","styled","Component","_styles","tooltipClasses","tooltip","arrow"],"mappings":"gbA6BA,MAAMA,EAAe,CACnBC,QAAS,CACPC,QAAS,CAAEC,KAAM,gCAAiCC,MAAO,UAAWC,KAAM,UAAWC,aAAc,QACnGC,UAAW,CAAEJ,KAAM,WACnBK,MAAO,CAAEL,KAAM,UAAWC,MAAO,WACjCK,QAAS,CAAEN,KAAM,UAAWC,MAAO,WACnCM,QAAS,CAAEP,KAAM,UAAWC,MAAO,WACnCO,KAAM,CAAER,KAAM,UAAWC,MAAO,WAChCQ,KAAM,CAAEV,QAAS,UAAWK,UAAW,UAAWM,SAAU,WAC5DC,QAAS,UACTC,WAAY,CAAEC,MAAO,OAAQC,QAAS,QACtCC,KAAM,CAAE,GAAI,UAAW,IAAK,UAAW,IAAK,UAAW,IAAK,UAAW,IAAK,UAAW,IAAK,UAAW,IAAK,YAE9GC,QAAUC,GAA6B,EAARA,EAAH,KAC5BC,YAAa,CAAEC,GAAI,IAAM,SAAUC,KAAM,IAAM,WAG3CC,EAA8B,CAAEC,WAAY,sCAE5CC,EAAmD,CACvDC,EAAG,SAAUC,GAAI,YAAaC,GAAI,cAAeC,GAAI,eAAgBC,GAAI,aAAcC,GAAI,SAAUC,GAAI,SACzGC,EAAG,UAAWC,GAAI,aAAcC,GAAI,eAAgBC,GAAI,gBAAiBC,GAAI,cAAeC,GAAI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,OAAMiD,WAAUK,YAAWhJ,WAAU7B,KAAI4B,WAAUE,KAAYyF,EAAQzE,EAAA,MAAA,CAAIlB,MAAO,CAAEmI,SAAU,QAASC,OAAQ,KAAMG,IAAKK,GAAUC,0BAA0BR,QAAU,EAAGG,KAAMI,GAAUC,0BAA0BL,MAAQ,KAAMrK,EAAUC,MAAQ4B,MAAaE,EAAQD,SAAoB,mBAAbA,EAA0BA,EAAS,CAAEgJ,YAAWC,gBAAiB,KAAQjJ,IAAkB,KAC/YkJ,EAAS,EAAGlJ,cAAoBA,EAEzBP,EAAQ,KACf,MAAA0J,EAAS1J,EAAQ,UAEjB2J,EAAUxJ,EAAwC,EAAGI,WAAU7B,KAAI4B,QAAO0G,WAAU4C,UAAU,eAAgBpJ,GAASC,IAAQe,EAAC,OAAIf,MAAUmJ,UAAkBvE,MAAoB,UAAb2B,EAAuB,GAAK,GAAI1B,OAAqB,UAAb0B,EAAuB,GAAK,GAAI6C,KAAK,eAAevJ,MAAO,IAAK7B,EAAUC,MAAQ4B,MAAaE,EAAQD,cAItTuJ,EAAUC,GAAmB,IAAIC,IAAmBD,EACpDE,EAAiB,CAAEC,QAAS,cAAeC,MAAO"}
@@ -1,6 +0,0 @@
1
- import type { CSSProperties } from 'react';
2
- export declare const comingSoonStyles: {
3
- [key: string]: CSSProperties;
4
- };
5
- export declare const defaultIcon: import("react").JSX.Element;
6
- //# sourceMappingURL=BookemonStyles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BookemonStyles.d.ts","sourceRoot":"","sources":["../../../../src/features/Bookemon/BookemonStyles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,eAAO,MAAM,gBAAgB,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAA;CAQ5D,CAAC;AAEF,eAAO,MAAM,WAAW,6BAAsM,CAAC"}