@sw7d/paper-renderer 0.1.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 (38) hide show
  1. package/README.MD +10 -0
  2. package/dist/paper-renderer.js +6862 -0
  3. package/dist/src/components/PaperEditor.vue.d.ts +172 -0
  4. package/dist/src/components/PaperPreview.vue.d.ts +26 -0
  5. package/dist/src/composables/paperHelpers.d.ts +35 -0
  6. package/dist/src/composables/usePageSvgRenderer.d.ts +26 -0
  7. package/dist/src/composables/usePaperBlockOps.d.ts +74 -0
  8. package/dist/src/composables/usePaperCore.d.ts +181 -0
  9. package/dist/src/composables/usePaperCursor.d.ts +45 -0
  10. package/dist/src/composables/usePaperSelection.d.ts +45 -0
  11. package/dist/src/composables/useTableRenderer.d.ts +33 -0
  12. package/dist/src/engine/PaperLayout.d.ts +59 -0
  13. package/dist/src/engine/SvgRenderer.d.ts +75 -0
  14. package/dist/src/engine/svg/headerRenderer.d.ts +36 -0
  15. package/dist/src/engine/svg/optionsRenderer.d.ts +23 -0
  16. package/dist/src/engine/svg/questionRenderer.d.ts +35 -0
  17. package/dist/src/index.d.ts +35 -0
  18. package/dist/src/types/document.d.ts +498 -0
  19. package/dist/src/types/paper.d.ts +278 -0
  20. package/dist/src/utils/charWidth.d.ts +46 -0
  21. package/dist/src/utils/chineseNumber.d.ts +50 -0
  22. package/dist/src/utils/deserialization/parseDocument.d.ts +19 -0
  23. package/dist/src/utils/deserialization/parseInlines.d.ts +13 -0
  24. package/dist/src/utils/deserialization/parseQuestions.d.ts +21 -0
  25. package/dist/src/utils/documentSerializer.d.ts +33 -0
  26. package/dist/src/utils/mathjax.d.ts +57 -0
  27. package/dist/src/utils/paperHtmlBuilder.d.ts +21 -0
  28. package/dist/src/utils/qrcode.d.ts +7 -0
  29. package/dist/src/utils/questionHtmlParser.d.ts +40 -0
  30. package/dist/src/utils/questionJsonParser.d.ts +61 -0
  31. package/dist/src/utils/serialization/buildBody.d.ts +11 -0
  32. package/dist/src/utils/serialization/buildPagesExport.d.ts +45 -0
  33. package/dist/src/utils/serialization/buildQuestions.d.ts +23 -0
  34. package/dist/src/utils/serialization/shared.d.ts +61 -0
  35. package/dist/src/utils/textWrap.d.ts +36 -0
  36. package/dist/style.css +2 -0
  37. package/dist/vite.config.d.ts +2 -0
  38. package/package.json +53 -0
package/README.MD ADDED
@@ -0,0 +1,10 @@
1
+ # 题卡设计器核心
2
+
3
+ ## 发布版本
4
+
5
+ npm login --registry=https://registry.npmjs.org --auth-type=legacy
6
+ npm run build
7
+ npm publish
8
+ ## mpm accesstoken:
9
+
10
+ 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