memi-board 0.44.0 → 0.45.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.
- package/README.md +54 -3
- package/dist/ar-BCQdRw_S.js +622 -0
- package/dist/ar-BCQdRw_S.js.map +1 -0
- package/dist/composables/fetchPublicSeo.d.ts +4 -1
- package/dist/composables/useMemiBoardAutoTranslate.d.ts +33 -0
- package/dist/composables/useMemiBoardModeration.d.ts +5 -1
- package/dist/composables/useMemiBoardReports.d.ts +6 -1
- package/dist/composables/useMemiBoardSections.d.ts +2 -1
- package/dist/composables/useMemiBoardUsers.d.ts +4 -0
- package/dist/composables/useMemiBoardWritingAssistant.d.ts +9 -1
- package/dist/config.d.ts +5 -0
- package/dist/de-ddWQNaqs.js +622 -0
- package/dist/de-ddWQNaqs.js.map +1 -0
- package/dist/en-BVUBLkxc.js +648 -0
- package/dist/en-BVUBLkxc.js.map +1 -0
- package/dist/es-7JHjGVlM.js +622 -0
- package/dist/es-7JHjGVlM.js.map +1 -0
- package/dist/fr-C3NCMNoy.js +622 -0
- package/dist/fr-C3NCMNoy.js.map +1 -0
- package/dist/id-C8hCAMPJ.js +622 -0
- package/dist/id-C8hCAMPJ.js.map +1 -0
- package/dist/index.d.ts +10 -1
- package/dist/index.js +1218 -1487
- package/dist/index.js.map +1 -1
- package/dist/ja-oTWri4hY.js +622 -0
- package/dist/ja-oTWri4hY.js.map +1 -0
- package/dist/module.mjs +55 -31
- package/dist/module.mjs.map +1 -1
- package/dist/pt-B9EH4scA.js +622 -0
- package/dist/pt-B9EH4scA.js.map +1 -0
- package/dist/runtime/components/Attachments.vue +4 -2
- package/dist/runtime/components/AuthorMenu.vue +14 -12
- package/dist/runtime/components/AvatarCropModal.vue +8 -5
- package/dist/runtime/components/CategorySettings.vue +65 -43
- package/dist/runtime/components/CommentFeed.vue +9 -7
- package/dist/runtime/components/CommentForm.vue +16 -10
- package/dist/runtime/components/CommentItem.vue +25 -26
- package/dist/runtime/components/CommentList.vue +7 -4
- package/dist/runtime/components/CommentThread.vue +7 -5
- package/dist/runtime/components/Detail.vue +20 -15
- package/dist/runtime/components/Editor.vue +145 -135
- package/dist/runtime/components/Footer.vue +14 -13
- package/dist/runtime/components/List.vue +31 -29
- package/dist/runtime/components/ListDefault.vue +4 -3
- package/dist/runtime/components/ListDense.vue +6 -5
- package/dist/runtime/components/ListImage.vue +4 -2
- package/dist/runtime/components/ListVideo.vue +3 -2
- package/dist/runtime/components/ListViewSwitch.vue +10 -6
- package/dist/runtime/components/MiniCard.vue +3 -2
- package/dist/runtime/components/MiniComments.vue +5 -4
- package/dist/runtime/components/MiniList.vue +3 -2
- package/dist/runtime/components/MiniPicker.vue +10 -9
- package/dist/runtime/components/MiniPost.vue +3 -2
- package/dist/runtime/components/MiniPosts.vue +5 -4
- package/dist/runtime/components/Profile.vue +12 -7
- package/dist/runtime/components/ProfileEditModal.vue +14 -13
- package/dist/runtime/components/ReportButton.vue +20 -10
- package/dist/runtime/components/ReportList.vue +11 -10
- package/dist/runtime/components/Section.vue +3 -2
- package/dist/runtime/components/Settings.vue +84 -62
- package/dist/runtime/components/ShareButton.vue +3 -1
- package/dist/runtime/components/SignIn.vue +14 -8
- package/dist/runtime/components/SwipeHint.vue +5 -3
- package/dist/runtime/components/UserCommentList.vue +8 -6
- package/dist/runtime/components/UserPostList.vue +6 -4
- package/dist/runtime/components/Users.vue +16 -10
- package/dist/runtime/composables/useMemiBoardSeo.ts +16 -10
- package/dist/slugify-6bG6GSO_.js +942 -0
- package/dist/slugify-6bG6GSO_.js.map +1 -0
- package/dist/storage.js +72 -71
- package/dist/storage.js.map +1 -1
- package/dist/types.d.ts +4 -0
- package/dist/utils/boardSeo.d.ts +5 -5
- package/dist/utils/compressImage.d.ts +2 -1
- package/dist/utils/formatDate.d.ts +6 -4
- package/dist/utils/imeSafeSubmit.d.ts +2 -0
- package/dist/utils/moderation-prompt.d.ts +18 -1
- package/dist/utils/moderation-strike.d.ts +2 -1
- package/dist/utils/section.d.ts +15 -2
- package/dist/zh-D5rDYV6E.js +622 -0
- package/dist/zh-D5rDYV6E.js.map +1 -0
- package/package.json +2 -3
- package/dist/slugify-Cm_pi2al.js +0 -124
- package/dist/slugify-Cm_pi2al.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export type { PublicSeoDb } from './composables/fetchPublicSeo';
|
|
|
8
8
|
export { boardPostOgTitle, boardPostOgDescription, boardListOgTitle, boardListOgDescription, toAbsoluteUrl, asHttpUrl, toBoardOgImageUrl, normalizeBasePath, } from './utils/boardSeo';
|
|
9
9
|
export type { BoardPostSeoPayload, BoardListSeoPayload } from './utils/boardSeo';
|
|
10
10
|
export { useMemiBoardAuth } from './composables/useMemiBoardAuth';
|
|
11
|
+
export { imeSafeSubmitClick, imeSafeSubmitPointerDown } from './utils/imeSafeSubmit';
|
|
11
12
|
export { useMemiBoardPosts, useMemiBoardPostList, useMemiBoardPost } from './composables/useMemiBoardPosts';
|
|
12
13
|
export type { CreatePostInput, UpdatePostInput, GetPostBySlugResult, ResolvePostIdResult } from './composables/useMemiBoardPosts';
|
|
13
14
|
export { isFirestorePermissionDenied } from './composables/useMemiBoardPosts';
|
|
@@ -31,6 +32,12 @@ export { useMemiBoardSections, normalizeBoardSection } from './composables/useMe
|
|
|
31
32
|
export { useMemiBoardMiniLatest, useMemiBoardMiniPicked } from './composables/useMemiBoardMiniPosts';
|
|
32
33
|
export { versionHistory } from './data/versionHistory';
|
|
33
34
|
export type { VersionHistoryEntry } from './data/versionHistory';
|
|
35
|
+
export { MEMI_BOARD_LOCALES, DEFAULT_MEMI_BOARD_LOCALE, FALLBACK_MEMI_BOARD_LOCALE, normalizeMemiBoardLocale, memiBoardLocaleInfo, } from './i18n/locales';
|
|
36
|
+
export type { MemiBoardLocale, MemiBoardLocaleInfo } from './i18n/locales';
|
|
37
|
+
export { translate, loadMemiBoardLocale, isMemiBoardLocaleLoaded } from './i18n/translate';
|
|
38
|
+
export type { MemiBoardMessages, MemiBoardMessageParams } from './i18n/translate';
|
|
39
|
+
export { useMemiBoardI18n, memiBoardHostLocaleKey } from './i18n/useMemiBoardI18n';
|
|
40
|
+
export type { MemiBoardI18n, UseMemiBoardI18nOptions } from './i18n/useMemiBoardI18n';
|
|
34
41
|
export { formatDate, formatFullDate, formatRelativeDate, formatTimestampDetails } from './utils/formatDate';
|
|
35
42
|
export { slugify } from './utils/slugify';
|
|
36
43
|
export { DEFAULT_BLOCK_BAN_THRESHOLD, DEFAULT_BLOCK_BAN_DECAY_MS, effectiveModerationBlockCount, isModerationWriteRestricted, moderationWriteRestrictedUntilMs, formatRestrictedUntilLabel, } from './utils/moderation-strike';
|
|
@@ -39,8 +46,10 @@ export { plainTextFromHtml, hasBodyText, hasBodyImage, isContentEmpty, titleFrom
|
|
|
39
46
|
export { extractEditorImageUrls } from './utils/extractEditorImageUrls';
|
|
40
47
|
export { useMemiBoardWritingAssistant, WRITING_ASSISTANT_DAILY_LIMIT, } from './composables/useMemiBoardWritingAssistant';
|
|
41
48
|
export type { WritingAssistantAction } from './composables/useMemiBoardWritingAssistant';
|
|
49
|
+
export { useMemiBoardAutoTranslate, localizedText } from './composables/useMemiBoardAutoTranslate';
|
|
50
|
+
export type { MemiBoardTranslateEntry, MemiBoardTranslateOptions, MemiBoardLocalizedFields, } from './composables/useMemiBoardAutoTranslate';
|
|
42
51
|
export { renderMarkdownToHtml } from './utils/renderMarkdown';
|
|
43
52
|
export { buildPostPreview, youtubeId, videoListCoverUrl } from './utils/postPreview';
|
|
44
|
-
export { BOARD_SECTION_COLS, BOARD_SECTION_KINDS, BOARD_SECTION_SORTS, defaultSectionCount, clampSectionCount, pairSectionCols, sectionColClass, sectionMinHeight, miniPostLink, miniCommentLink, miniMoreLink, miniPostImage, miniPostTitle, miniViewGroup, miniViewLabel, miniBoardView, miniPostsView, } from './utils/section';
|
|
53
|
+
export { BOARD_SECTION_COLS, BOARD_SECTION_KINDS, BOARD_SECTION_SORTS, boardSectionKinds, boardSectionSorts, defaultSectionCount, clampSectionCount, pairSectionCols, sectionColClass, sectionMinHeight, miniPostLink, miniCommentLink, miniMoreLink, miniPostImage, miniPostTitle, miniViewGroup, miniViewLabel, miniBoardView, miniPostsView, } from './utils/section';
|
|
45
54
|
export type { MiniViewGroup } from './utils/section';
|
|
46
55
|
export { storagePathFromDownloadUrl, postNamespaceFromStoragePath } from './utils/storagePath';
|