monto-email-builder 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +169 -0
  3. package/dist/App/InspectorDrawer/ConfigurationPanel/index.d.ts +3 -0
  4. package/dist/App/InspectorDrawer/ConfigurationPanel/index.d.ts.map +1 -0
  5. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/AvatarSidebarPanel.d.ts +9 -0
  6. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/AvatarSidebarPanel.d.ts.map +1 -0
  7. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.d.ts +9 -0
  8. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.d.ts.map +1 -0
  9. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ColumnsContainerSidebarPanel.d.ts +9 -0
  10. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ColumnsContainerSidebarPanel.d.ts.map +1 -0
  11. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ContainerSidebarPanel.d.ts +9 -0
  12. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ContainerSidebarPanel.d.ts.map +1 -0
  13. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.d.ts +9 -0
  14. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.d.ts.map +1 -0
  15. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/EmailLayoutSidebarPanel.d.ts +9 -0
  16. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/EmailLayoutSidebarPanel.d.ts.map +1 -0
  17. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.d.ts +9 -0
  18. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.d.ts.map +1 -0
  19. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/HtmlSidebarPanel.d.ts +9 -0
  20. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/HtmlSidebarPanel.d.ts.map +1 -0
  21. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.d.ts +9 -0
  22. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.d.ts.map +1 -0
  23. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.d.ts +9 -0
  24. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.d.ts.map +1 -0
  25. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.d.ts +9 -0
  26. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.d.ts.map +1 -0
  27. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/BaseSidebarPanel.d.ts +8 -0
  28. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/BaseSidebarPanel.d.ts.map +1 -0
  29. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/BooleanInput.d.ts +9 -0
  30. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/BooleanInput.d.ts.map +1 -0
  31. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/BaseColorInput.d.ts +15 -0
  32. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/BaseColorInput.d.ts.map +1 -0
  33. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Picker.d.ts +8 -0
  34. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Picker.d.ts.map +1 -0
  35. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Swatch.d.ts +9 -0
  36. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Swatch.d.ts.map +1 -0
  37. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/index.d.ts +15 -0
  38. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/index.d.ts.map +1 -0
  39. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColumnWidthsInput.d.ts +15 -0
  40. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColumnWidthsInput.d.ts.map +1 -0
  41. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontFamily.d.ts +9 -0
  42. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontFamily.d.ts.map +1 -0
  43. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontSizeInput.d.ts +9 -0
  44. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontSizeInput.d.ts.map +1 -0
  45. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontWeightInput.d.ts +9 -0
  46. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontWeightInput.d.ts.map +1 -0
  47. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/PaddingInput.d.ts +15 -0
  48. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/PaddingInput.d.ts.map +1 -0
  49. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadioGroupInput.d.ts +10 -0
  50. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadioGroupInput.d.ts.map +1 -0
  51. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SliderInput.d.ts +15 -0
  52. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SliderInput.d.ts.map +1 -0
  53. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextAlignInput.d.ts +9 -0
  54. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextAlignInput.d.ts.map +1 -0
  55. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextDimensionInput.d.ts +9 -0
  56. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextDimensionInput.d.ts.map +1 -0
  57. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextInput.d.ts +14 -0
  58. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextInput.d.ts.map +1 -0
  59. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/raw/RawSliderInput.d.ts +14 -0
  60. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/raw/RawSliderInput.d.ts.map +1 -0
  61. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/MultiStylePropertyPanel.d.ts +10 -0
  62. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/MultiStylePropertyPanel.d.ts.map +1 -0
  63. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/SingleStylePropertyPanel.d.ts +10 -0
  64. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/SingleStylePropertyPanel.d.ts.map +1 -0
  65. package/dist/App/InspectorDrawer/StylesPanel.d.ts +3 -0
  66. package/dist/App/InspectorDrawer/StylesPanel.d.ts.map +1 -0
  67. package/dist/App/InspectorDrawer/ToggleInspectorPanelButton.d.ts +3 -0
  68. package/dist/App/InspectorDrawer/ToggleInspectorPanelButton.d.ts.map +1 -0
  69. package/dist/App/InspectorDrawer/index.d.ts +4 -0
  70. package/dist/App/InspectorDrawer/index.d.ts.map +1 -0
  71. package/dist/App/LanguageSwitcher/index.d.ts +3 -0
  72. package/dist/App/LanguageSwitcher/index.d.ts.map +1 -0
  73. package/dist/App/SamplesDrawer/SidebarButton.d.ts +6 -0
  74. package/dist/App/SamplesDrawer/SidebarButton.d.ts.map +1 -0
  75. package/dist/App/SamplesDrawer/ToggleSamplesPanelButton.d.ts +3 -0
  76. package/dist/App/SamplesDrawer/ToggleSamplesPanelButton.d.ts.map +1 -0
  77. package/dist/App/SamplesDrawer/index.d.ts +4 -0
  78. package/dist/App/SamplesDrawer/index.d.ts.map +1 -0
  79. package/dist/App/TemplatePanel/DownloadJson/index.d.ts +3 -0
  80. package/dist/App/TemplatePanel/DownloadJson/index.d.ts.map +1 -0
  81. package/dist/App/TemplatePanel/HtmlPanel.d.ts +3 -0
  82. package/dist/App/TemplatePanel/HtmlPanel.d.ts.map +1 -0
  83. package/dist/App/TemplatePanel/ImportJson/ImportJsonDialog.d.ts +7 -0
  84. package/dist/App/TemplatePanel/ImportJson/ImportJsonDialog.d.ts.map +1 -0
  85. package/dist/App/TemplatePanel/ImportJson/index.d.ts +3 -0
  86. package/dist/App/TemplatePanel/ImportJson/index.d.ts.map +1 -0
  87. package/dist/App/TemplatePanel/ImportJson/validateJsonStringValue.d.ts +11 -0
  88. package/dist/App/TemplatePanel/ImportJson/validateJsonStringValue.d.ts.map +1 -0
  89. package/dist/App/TemplatePanel/JsonPanel.d.ts +3 -0
  90. package/dist/App/TemplatePanel/JsonPanel.d.ts.map +1 -0
  91. package/dist/App/TemplatePanel/MainTabsGroup.d.ts +3 -0
  92. package/dist/App/TemplatePanel/MainTabsGroup.d.ts.map +1 -0
  93. package/dist/App/TemplatePanel/ShareButton.d.ts +3 -0
  94. package/dist/App/TemplatePanel/ShareButton.d.ts.map +1 -0
  95. package/dist/App/TemplatePanel/helper/HighlightedCodePanel.d.ts +8 -0
  96. package/dist/App/TemplatePanel/helper/HighlightedCodePanel.d.ts.map +1 -0
  97. package/dist/App/TemplatePanel/helper/highlighters.d.ts +3 -0
  98. package/dist/App/TemplatePanel/helper/highlighters.d.ts.map +1 -0
  99. package/dist/App/TemplatePanel/index.d.ts +3 -0
  100. package/dist/App/TemplatePanel/index.d.ts.map +1 -0
  101. package/dist/App/index.d.ts +3 -0
  102. package/dist/App/index.d.ts.map +1 -0
  103. package/dist/EmailBuilder/index.d.ts +68 -0
  104. package/dist/EmailBuilder/index.d.ts.map +1 -0
  105. package/dist/documents/blocks/ColumnsContainer/ColumnsContainerEditor.d.ts +4 -0
  106. package/dist/documents/blocks/ColumnsContainer/ColumnsContainerEditor.d.ts.map +1 -0
  107. package/dist/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +136 -0
  108. package/dist/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts.map +1 -0
  109. package/dist/documents/blocks/Container/ContainerEditor.d.ts +4 -0
  110. package/dist/documents/blocks/Container/ContainerEditor.d.ts.map +1 -0
  111. package/dist/documents/blocks/Container/ContainerPropsSchema.d.ts +84 -0
  112. package/dist/documents/blocks/Container/ContainerPropsSchema.d.ts.map +1 -0
  113. package/dist/documents/blocks/EmailLayout/EmailLayoutEditor.d.ts +4 -0
  114. package/dist/documents/blocks/EmailLayout/EmailLayoutEditor.d.ts.map +1 -0
  115. package/dist/documents/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts +32 -0
  116. package/dist/documents/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts.map +1 -0
  117. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlockButton.d.ts +9 -0
  118. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlockButton.d.ts.map +1 -0
  119. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlocksMenu.d.ts +10 -0
  120. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlocksMenu.d.ts.map +1 -0
  121. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/DividerButton.d.ts +8 -0
  122. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/DividerButton.d.ts.map +1 -0
  123. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/PlaceholderButton.d.ts +7 -0
  124. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/PlaceholderButton.d.ts.map +1 -0
  125. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.d.ts +10 -0
  126. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.d.ts.map +1 -0
  127. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/index.d.ts +9 -0
  128. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/index.d.ts.map +1 -0
  129. package/dist/documents/blocks/helpers/EditorChildrenIds/index.d.ts +13 -0
  130. package/dist/documents/blocks/helpers/EditorChildrenIds/index.d.ts.map +1 -0
  131. package/dist/documents/blocks/helpers/TStyle.d.ts +12 -0
  132. package/dist/documents/blocks/helpers/TStyle.d.ts.map +1 -0
  133. package/dist/documents/blocks/helpers/block-wrappers/EditorBlockWrapper.d.ts +7 -0
  134. package/dist/documents/blocks/helpers/block-wrappers/EditorBlockWrapper.d.ts.map +1 -0
  135. package/dist/documents/blocks/helpers/block-wrappers/ReaderBlockWrapper.d.ts +9 -0
  136. package/dist/documents/blocks/helpers/block-wrappers/ReaderBlockWrapper.d.ts.map +1 -0
  137. package/dist/documents/blocks/helpers/block-wrappers/TuneMenu.d.ts +7 -0
  138. package/dist/documents/blocks/helpers/block-wrappers/TuneMenu.d.ts.map +1 -0
  139. package/dist/documents/blocks/helpers/fontFamily.d.ts +7 -0
  140. package/dist/documents/blocks/helpers/fontFamily.d.ts.map +1 -0
  141. package/dist/documents/blocks/helpers/zod.d.ts +22 -0
  142. package/dist/documents/blocks/helpers/zod.d.ts.map +1 -0
  143. package/dist/documents/editor/EditorBlock.d.ts +13 -0
  144. package/dist/documents/editor/EditorBlock.d.ts.map +1 -0
  145. package/dist/documents/editor/EditorContext.d.ts +40 -0
  146. package/dist/documents/editor/EditorContext.d.ts.map +1 -0
  147. package/dist/documents/editor/core.d.ts +2777 -0
  148. package/dist/documents/editor/core.d.ts.map +1 -0
  149. package/dist/getConfiguration/index.d.ts +3 -0
  150. package/dist/getConfiguration/index.d.ts.map +1 -0
  151. package/dist/getConfiguration/sample/empty-email-message.d.ts +4 -0
  152. package/dist/getConfiguration/sample/empty-email-message.d.ts.map +1 -0
  153. package/dist/getConfiguration/sample/one-time-passcode.d.ts +4 -0
  154. package/dist/getConfiguration/sample/one-time-passcode.d.ts.map +1 -0
  155. package/dist/getConfiguration/sample/order-ecommerce.d.ts +4 -0
  156. package/dist/getConfiguration/sample/order-ecommerce.d.ts.map +1 -0
  157. package/dist/getConfiguration/sample/post-metrics-report.d.ts +4 -0
  158. package/dist/getConfiguration/sample/post-metrics-report.d.ts.map +1 -0
  159. package/dist/getConfiguration/sample/reservation-reminder.d.ts +4 -0
  160. package/dist/getConfiguration/sample/reservation-reminder.d.ts.map +1 -0
  161. package/dist/getConfiguration/sample/reset-password.d.ts +4 -0
  162. package/dist/getConfiguration/sample/reset-password.d.ts.map +1 -0
  163. package/dist/getConfiguration/sample/respond-to-message.d.ts +4 -0
  164. package/dist/getConfiguration/sample/respond-to-message.d.ts.map +1 -0
  165. package/dist/getConfiguration/sample/subscription-receipt.d.ts +4 -0
  166. package/dist/getConfiguration/sample/subscription-receipt.d.ts.map +1 -0
  167. package/dist/getConfiguration/sample/welcome.d.ts +4 -0
  168. package/dist/getConfiguration/sample/welcome.d.ts.map +1 -0
  169. package/dist/i18n/index.d.ts +18 -0
  170. package/dist/i18n/index.d.ts.map +1 -0
  171. package/dist/i18n/useTranslation.d.ts +9 -0
  172. package/dist/i18n/useTranslation.d.ts.map +1 -0
  173. package/dist/index.d.ts +11 -0
  174. package/dist/index.d.ts.map +1 -0
  175. package/dist/index.js +3534 -0
  176. package/dist/main.d.ts +2 -0
  177. package/dist/main.d.ts.map +1 -0
  178. package/dist/samples-SfLrANbd.js +6038 -0
  179. package/dist/theme.d.ts +3 -0
  180. package/dist/theme.d.ts.map +1 -0
  181. package/package.json +102 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../src/documents/editor/core.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAwHxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC7D,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export default function getConfiguration(template: string): any;
2
+ export declare function loadSampleTemplate(sampleName: string): Promise<any>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/getConfiguration/index.tsx"],"names":[],"mappings":"AAkBA,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,GAAG,CAmB9D;AAGD,wBAAsB,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAezE"}
@@ -0,0 +1,4 @@
1
+ import { TEditorConfiguration } from '../../documents/editor/core';
2
+ declare const EMPTY_EMAIL_MESSAGE: TEditorConfiguration;
3
+ export default EMPTY_EMAIL_MESSAGE;
4
+ //# sourceMappingURL=empty-email-message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"empty-email-message.d.ts","sourceRoot":"","sources":["../../../src/getConfiguration/sample/empty-email-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,QAAA,MAAM,mBAAmB,EAAE,oBAW1B,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { TEditorConfiguration } from '../../documents/editor/core';
2
+ declare const ONE_TIME_PASSCODE: TEditorConfiguration;
3
+ export default ONE_TIME_PASSCODE;
4
+ //# sourceMappingURL=one-time-passcode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"one-time-passcode.d.ts","sourceRoot":"","sources":["../../../src/getConfiguration/sample/one-time-passcode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,QAAA,MAAM,iBAAiB,EAAE,oBA6HxB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { TEditorConfiguration } from '../../documents/editor/core';
2
+ declare const ORDER_ECOMMERCE: TEditorConfiguration;
3
+ export default ORDER_ECOMMERCE;
4
+ //# sourceMappingURL=order-ecommerce.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-ecommerce.d.ts","sourceRoot":"","sources":["../../../src/getConfiguration/sample/order-ecommerce.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,QAAA,MAAM,eAAe,EAAE,oBAg6CtB,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { TEditorConfiguration } from '../../documents/editor/core';
2
+ declare const POST_METRICS_REPORT: TEditorConfiguration;
3
+ export default POST_METRICS_REPORT;
4
+ //# sourceMappingURL=post-metrics-report.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-metrics-report.d.ts","sourceRoot":"","sources":["../../../src/getConfiguration/sample/post-metrics-report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,QAAA,MAAM,mBAAmB,EAAE,oBAqY1B,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { TEditorConfiguration } from '../../documents/editor/core';
2
+ declare const RESERVATION_REMINDER: TEditorConfiguration;
3
+ export default RESERVATION_REMINDER;
4
+ //# sourceMappingURL=reservation-reminder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reservation-reminder.d.ts","sourceRoot":"","sources":["../../../src/getConfiguration/sample/reservation-reminder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,QAAA,MAAM,oBAAoB,EAAE,oBAgpE3B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { TEditorConfiguration } from '../../documents/editor/core';
2
+ declare const RESET_PASSWORD: TEditorConfiguration;
3
+ export default RESET_PASSWORD;
4
+ //# sourceMappingURL=reset-password.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password.d.ts","sourceRoot":"","sources":["../../../src/getConfiguration/sample/reset-password.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,QAAA,MAAM,cAAc,EAAE,oBAuJrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { TEditorConfiguration } from '../../documents/editor/core';
2
+ declare const RESPOND_TO_MESSAGE: TEditorConfiguration;
3
+ export default RESPOND_TO_MESSAGE;
4
+ //# sourceMappingURL=respond-to-message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"respond-to-message.d.ts","sourceRoot":"","sources":["../../../src/getConfiguration/sample/respond-to-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,QAAA,MAAM,kBAAkB,EAAE,oBA0KzB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { TEditorConfiguration } from '../../documents/editor/core';
2
+ declare const SUBSCRIPTION_RECEIPT: TEditorConfiguration;
3
+ export default SUBSCRIPTION_RECEIPT;
4
+ //# sourceMappingURL=subscription-receipt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription-receipt.d.ts","sourceRoot":"","sources":["../../../src/getConfiguration/sample/subscription-receipt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,QAAA,MAAM,oBAAoB,EAAE,oBAg0C3B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { TEditorConfiguration } from '../../documents/editor/core';
2
+ declare const WELCOME: TEditorConfiguration;
3
+ export default WELCOME;
4
+ //# sourceMappingURL=welcome.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"welcome.d.ts","sourceRoot":"","sources":["../../../src/getConfiguration/sample/welcome.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,QAAA,MAAM,OAAO,EAAE,oBAqKd,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,18 @@
1
+ export type Language = 'zh' | 'en';
2
+ /**
3
+ * 翻译函数
4
+ * @param key 翻译键,支持嵌套路径,如 'common.emailBuilder'
5
+ * @param params 替换参数,如 { id: '123' } 会替换 {{id}}
6
+ * @param language 可选的语言参数,如果不提供则从 store 读取
7
+ * @returns 翻译后的文本
8
+ */
9
+ export declare function t(key: string, params?: Record<string, string | number>, language?: Language): string;
10
+ /**
11
+ * 获取当前语言
12
+ */
13
+ export declare function getLanguage(): Language;
14
+ /**
15
+ * 设置语言(仅更新 localStorage)
16
+ */
17
+ export declare function setLanguage(lang: Language): void;
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,CAAC;AAOnC;;;;;;GAMG;AACH,wBAAgB,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,MAAM,CA2BpG;AAED;;GAEG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAYtC;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,QAAQ,QAIzC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * React Hook 用于翻译
3
+ * 会自动从 zustand store 读取当前语言,语言改变时会自动重新渲染
4
+ */
5
+ export declare function useTranslation(): {
6
+ t: (key: string, params?: Record<string, string | number>) => string;
7
+ language: import("./index").Language;
8
+ };
9
+ //# sourceMappingURL=useTranslation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTranslation.d.ts","sourceRoot":"","sources":["../../src/i18n/useTranslation.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,wBAAgB,cAAc;aAGZ,MAAM,WAAW,OAAO,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAG,MAAM;;EAK1E"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * EmailBuilder - 邮件模板编辑器组件库
3
+ *
4
+ * 这是一个功能完整的邮件模板编辑器,可以在其他 React 项目中使用
5
+ */
6
+ export { default as EmailBuilder } from './EmailBuilder';
7
+ export type { EmailBuilderProps } from './EmailBuilder';
8
+ export type { TEditorConfiguration, TEditorBlock } from './documents/editor/core';
9
+ export type { Language } from './i18n';
10
+ export { useDocument, useLanguage } from './documents/editor/EditorContext';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGxD,YAAY,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAClF,YAAY,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAGvC,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC"}