@smartos-lib/components 2.0.2 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. package/.eslintrc-auto-import.json +1 -0
  2. package/dist/smart-docx-editor/index.js +21 -21
  3. package/dist/smart-file-preview/index.js +7 -7
  4. package/dist/smart-upload/index.js +1 -1
  5. package/package.json +4 -5
  6. package/scripts/components.vite.config.ts +1 -1
  7. package/src/composables/useElementStyle.ts +1 -3
  8. package/src/composables/useSmart.ts +1 -3
  9. package/src/pages/frame/index.vue +1 -1
  10. package/src/pages/index/type.ts +4 -4
  11. package/src/pages/index/utils/index.ts +2 -2
  12. package/src/shared/components.ts +5 -5
  13. package/src/shared/env.ts +1 -1
  14. package/src/shared/unocss.theme.ts +1 -1
  15. package/src/types.ts +3 -3
  16. package/src/utils/deepCloneESModule.ts +1 -1
  17. package/src/utils/formatComponentsGlob.ts +1 -1
  18. package/src/web-components/smart-docx-drive-page/apis/doc.ts +5 -5
  19. package/src/web-components/smart-docx-drive-page/apis/file.ts +24 -24
  20. package/src/web-components/smart-docx-drive-page/apis/folder.ts +7 -7
  21. package/src/web-components/smart-docx-drive-page/components/DocxDir.vue +7 -7
  22. package/src/web-components/smart-docx-drive-page/components/DocxDoc.vue +2 -2
  23. package/src/web-components/smart-docx-drive-page/components/DocxFileList.vue +11 -1
  24. package/src/web-components/smart-docx-drive-page/components-private/Header.vue +5 -5
  25. package/src/web-components/smart-docx-drive-page/components-private/Menu.vue +4 -3
  26. package/src/web-components/smart-docx-drive-page/types.ts +16 -16
  27. package/src/web-components/smart-docx-drive-page/utils/file-actions.ts +1 -2
  28. package/src/web-components/smart-docx-editor/App.vue +1 -1
  29. package/src/web-components/smart-docx-editor/MarkdownShortcuts/components/Markdown.vue +4 -4
  30. package/src/web-components/smart-docx-editor/MarkdownShortcuts/components/types.ts +1 -1
  31. package/src/web-components/smart-docx-editor/MarkdownShortcuts/components-react/Markdown.tsx +6 -5
  32. package/src/web-components/smart-docx-editor/MarkdownShortcuts/components-react/types/custom-types.d.ts +42 -42
  33. package/src/web-components/smart-docx-editor/MarkdownShortcuts/shared/const.ts +1 -1
  34. package/src/web-components/smart-docx-editor/demo.vue +1 -1
  35. package/src/web-components/smart-docx-editor/index.md +1 -1
  36. package/src/web-components/smart-file-preview/category/Code.vue +2 -2
  37. package/src/web-components/smart-file-preview/index.md +1 -1
  38. package/src/web-components/smart-file-preview/index.ts +1 -1
  39. package/src/web-components/smart-file-preview/index.vue +1 -1
  40. package/src/web-components/smart-file-preview/types.ts +1 -1
  41. package/src/web-components/smart-upload/index.ts +4 -4
  42. package/src/web-components/smart-upload/types.ts +27 -27
  43. package/types/auto-imports.d.ts +3 -0
  44. package/types/components.d.ts +1 -1
  45. package/types/env.d.ts +2 -2
  46. package/types/shims.d.ts +1 -0
  47. package/vite.config.ts +1 -0
@@ -186,6 +186,7 @@
186
186
  "useFavicon": true,
187
187
  "useFetch": true,
188
188
  "useFileDialog": true,
189
+ "useFileReader": true,
189
190
  "useFileSystemAccess": true,
190
191
  "useFloor": true,
191
192
  "useFocus": true,