@react-fabric/lexical 1.0.0-beta.61 → 1.0.0-beta.62
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/css/_lexical.css +61 -0
- package/dist/cjs/node_modules/date-fns/_lib/addLeadingZeros.js +9 -0
- package/dist/cjs/node_modules/date-fns/_lib/defaultOptions.js +9 -0
- package/dist/cjs/node_modules/date-fns/_lib/format/formatters.js +779 -0
- package/dist/cjs/node_modules/date-fns/_lib/format/lightFormatters.js +96 -0
- package/dist/cjs/node_modules/date-fns/_lib/format/longFormatters.js +68 -0
- package/dist/cjs/node_modules/date-fns/_lib/getRoundingMethod.js +12 -0
- package/dist/cjs/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +33 -0
- package/dist/cjs/node_modules/date-fns/_lib/normalizeDates.js +13 -0
- package/dist/cjs/node_modules/date-fns/_lib/normalizeInterval.js +10 -0
- package/dist/cjs/node_modules/date-fns/_lib/protectedTokens.js +29 -0
- package/dist/cjs/node_modules/date-fns/add.js +73 -0
- package/dist/cjs/node_modules/date-fns/addDays.js +46 -0
- package/dist/cjs/node_modules/date-fns/addHours.js +39 -0
- package/dist/cjs/node_modules/date-fns/addMilliseconds.js +39 -0
- package/dist/cjs/node_modules/date-fns/addMinutes.js +41 -0
- package/dist/cjs/node_modules/date-fns/addMonths.js +80 -0
- package/dist/cjs/node_modules/date-fns/addQuarters.js +38 -0
- package/dist/cjs/node_modules/date-fns/addWeeks.js +38 -0
- package/dist/cjs/node_modules/date-fns/addYears.js +38 -0
- package/dist/cjs/node_modules/date-fns/compareAsc.js +50 -0
- package/dist/cjs/node_modules/date-fns/constants.js +66 -0
- package/dist/cjs/node_modules/date-fns/constructFrom.js +54 -0
- package/dist/cjs/node_modules/date-fns/differenceInCalendarDays.js +67 -0
- package/dist/cjs/node_modules/date-fns/differenceInCalendarMonths.js +47 -0
- package/dist/cjs/node_modules/date-fns/differenceInCalendarYears.js +43 -0
- package/dist/cjs/node_modules/date-fns/differenceInDays.js +112 -0
- package/dist/cjs/node_modules/date-fns/differenceInHours.js +46 -0
- package/dist/cjs/node_modules/date-fns/differenceInMilliseconds.js +34 -0
- package/dist/cjs/node_modules/date-fns/differenceInMinutes.js +50 -0
- package/dist/cjs/node_modules/date-fns/differenceInMonths.js +65 -0
- package/dist/cjs/node_modules/date-fns/differenceInSeconds.js +41 -0
- package/dist/cjs/node_modules/date-fns/differenceInYears.js +67 -0
- package/dist/cjs/node_modules/date-fns/endOfDay.js +40 -0
- package/dist/cjs/node_modules/date-fns/endOfDecade.js +45 -0
- package/dist/cjs/node_modules/date-fns/endOfHour.js +40 -0
- package/dist/cjs/node_modules/date-fns/endOfMinute.js +40 -0
- package/dist/cjs/node_modules/date-fns/endOfMonth.js +42 -0
- package/dist/cjs/node_modules/date-fns/endOfQuarter.js +43 -0
- package/dist/cjs/node_modules/date-fns/endOfWeek.js +58 -0
- package/dist/cjs/node_modules/date-fns/endOfYear.js +42 -0
- package/dist/cjs/node_modules/date-fns/format.js +431 -0
- package/dist/cjs/node_modules/date-fns/getDayOfYear.js +39 -0
- package/dist/cjs/node_modules/date-fns/getISOWeek.js +45 -0
- package/dist/cjs/node_modules/date-fns/getISOWeekYear.js +57 -0
- package/dist/cjs/node_modules/date-fns/getWeek.js +59 -0
- package/dist/cjs/node_modules/date-fns/getWeekYear.js +80 -0
- package/dist/cjs/node_modules/date-fns/intervalToDuration.js +70 -0
- package/dist/cjs/node_modules/date-fns/isAfter.js +30 -0
- package/dist/cjs/node_modules/date-fns/isBefore.js +30 -0
- package/dist/cjs/node_modules/date-fns/isDate.js +46 -0
- package/dist/cjs/node_modules/date-fns/isLastDayOfMonth.js +33 -0
- package/dist/cjs/node_modules/date-fns/isSameMonth.js +48 -0
- package/dist/cjs/node_modules/date-fns/isSameWeek.js +56 -0
- package/dist/cjs/node_modules/date-fns/isSameYear.js +40 -0
- package/dist/cjs/node_modules/date-fns/isValid.js +44 -0
- package/dist/cjs/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +12 -0
- package/dist/cjs/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +66 -0
- package/dist/cjs/node_modules/date-fns/locale/_lib/buildMatchFn.js +61 -0
- package/dist/cjs/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +24 -0
- package/dist/cjs/node_modules/date-fns/locale/ar-SA/_lib/formatDistance.js +139 -0
- package/dist/cjs/node_modules/date-fns/locale/ar-SA/_lib/formatLong.js +43 -0
- package/dist/cjs/node_modules/date-fns/locale/ar-SA/_lib/formatRelative.js +15 -0
- package/dist/cjs/node_modules/date-fns/locale/ar-SA/_lib/localize.js +166 -0
- package/dist/cjs/node_modules/date-fns/locale/ar-SA/_lib/match.js +146 -0
- package/dist/cjs/node_modules/date-fns/locale/ar-SA.js +32 -0
- package/dist/cjs/node_modules/date-fns/locale/de/_lib/formatDistance.js +200 -0
- package/dist/cjs/node_modules/date-fns/locale/de/_lib/formatLong.js +44 -0
- package/dist/cjs/node_modules/date-fns/locale/de/_lib/formatRelative.js +15 -0
- package/dist/cjs/node_modules/date-fns/locale/de/_lib/localize.js +195 -0
- package/dist/cjs/node_modules/date-fns/locale/de/_lib/match.js +138 -0
- package/dist/cjs/node_modules/date-fns/locale/de.js +36 -0
- package/dist/cjs/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +105 -0
- package/dist/cjs/node_modules/date-fns/locale/en-US/_lib/formatLong.js +43 -0
- package/dist/cjs/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +15 -0
- package/dist/cjs/node_modules/date-fns/locale/en-US/_lib/localize.js +191 -0
- package/dist/cjs/node_modules/date-fns/locale/en-US/_lib/match.js +136 -0
- package/dist/cjs/node_modules/date-fns/locale/en-US.js +33 -0
- package/dist/cjs/node_modules/date-fns/locale/es/_lib/formatDistance.js +105 -0
- package/dist/cjs/node_modules/date-fns/locale/es/_lib/formatLong.js +43 -0
- package/dist/cjs/node_modules/date-fns/locale/es/_lib/formatRelative.js +29 -0
- package/dist/cjs/node_modules/date-fns/locale/es/_lib/localize.js +168 -0
- package/dist/cjs/node_modules/date-fns/locale/es/_lib/match.js +142 -0
- package/dist/cjs/node_modules/date-fns/locale/es.js +36 -0
- package/dist/cjs/node_modules/date-fns/locale/fr/_lib/formatDistance.js +104 -0
- package/dist/cjs/node_modules/date-fns/locale/fr/_lib/formatLong.js +43 -0
- package/dist/cjs/node_modules/date-fns/locale/fr/_lib/formatRelative.js +15 -0
- package/dist/cjs/node_modules/date-fns/locale/fr/_lib/localize.js +169 -0
- package/dist/cjs/node_modules/date-fns/locale/fr/_lib/match.js +137 -0
- package/dist/cjs/node_modules/date-fns/locale/fr.js +33 -0
- package/dist/cjs/node_modules/date-fns/locale/hi/_lib/formatDistance.js +109 -0
- package/dist/cjs/node_modules/date-fns/locale/hi/_lib/formatLong.js +43 -0
- package/dist/cjs/node_modules/date-fns/locale/hi/_lib/formatRelative.js +15 -0
- package/dist/cjs/node_modules/date-fns/locale/hi/_lib/localize.js +233 -0
- package/dist/cjs/node_modules/date-fns/locale/hi/_lib/match.js +141 -0
- package/dist/cjs/node_modules/date-fns/locale/hi.js +32 -0
- package/dist/cjs/node_modules/date-fns/locale/it/_lib/formatDistance.js +105 -0
- package/dist/cjs/node_modules/date-fns/locale/it/_lib/formatLong.js +43 -0
- package/dist/cjs/node_modules/date-fns/locale/it/_lib/formatRelative.js +70 -0
- package/dist/cjs/node_modules/date-fns/locale/it/_lib/localize.js +168 -0
- package/dist/cjs/node_modules/date-fns/locale/it/_lib/match.js +137 -0
- package/dist/cjs/node_modules/date-fns/locale/it.js +34 -0
- package/dist/cjs/node_modules/date-fns/locale/ja/_lib/formatDistance.js +119 -0
- package/dist/cjs/node_modules/date-fns/locale/ja/_lib/formatLong.js +43 -0
- package/dist/cjs/node_modules/date-fns/locale/ja/_lib/formatRelative.js +16 -0
- package/dist/cjs/node_modules/date-fns/locale/ja/_lib/localize.js +181 -0
- package/dist/cjs/node_modules/date-fns/locale/ja/_lib/match.js +122 -0
- package/dist/cjs/node_modules/date-fns/locale/ja.js +36 -0
- package/dist/cjs/node_modules/date-fns/locale/ko/_lib/formatDistance.js +105 -0
- package/dist/cjs/node_modules/date-fns/locale/ko/_lib/formatLong.js +43 -0
- package/dist/cjs/node_modules/date-fns/locale/ko/_lib/formatRelative.js +15 -0
- package/dist/cjs/node_modules/date-fns/locale/ko/_lib/localize.js +171 -0
- package/dist/cjs/node_modules/date-fns/locale/ko/_lib/match.js +119 -0
- package/dist/cjs/node_modules/date-fns/locale/ko.js +34 -0
- package/dist/cjs/node_modules/date-fns/locale/pt/_lib/formatDistance.js +105 -0
- package/dist/cjs/node_modules/date-fns/locale/pt/_lib/formatLong.js +43 -0
- package/dist/cjs/node_modules/date-fns/locale/pt/_lib/formatRelative.js +26 -0
- package/dist/cjs/node_modules/date-fns/locale/pt/_lib/localize.js +168 -0
- package/dist/cjs/node_modules/date-fns/locale/pt/_lib/match.js +141 -0
- package/dist/cjs/node_modules/date-fns/locale/pt.js +33 -0
- package/dist/cjs/node_modules/date-fns/locale/ru/_lib/formatDistance.js +250 -0
- package/dist/cjs/node_modules/date-fns/locale/ru/_lib/formatLong.js +40 -0
- package/dist/cjs/node_modules/date-fns/locale/ru/_lib/formatRelative.js +92 -0
- package/dist/cjs/node_modules/date-fns/locale/ru/_lib/localize.js +214 -0
- package/dist/cjs/node_modules/date-fns/locale/ru/_lib/match.js +142 -0
- package/dist/cjs/node_modules/date-fns/locale/ru.js +33 -0
- package/dist/cjs/node_modules/date-fns/locale/zh-CN/_lib/formatDistance.js +105 -0
- package/dist/cjs/node_modules/date-fns/locale/zh-CN/_lib/formatLong.js +43 -0
- package/dist/cjs/node_modules/date-fns/locale/zh-CN/_lib/formatRelative.js +35 -0
- package/dist/cjs/node_modules/date-fns/locale/zh-CN/_lib/localize.js +187 -0
- package/dist/cjs/node_modules/date-fns/locale/zh-CN/_lib/match.js +134 -0
- package/dist/cjs/node_modules/date-fns/locale/zh-CN.js +36 -0
- package/dist/cjs/node_modules/date-fns/startOfDay.js +40 -0
- package/dist/cjs/node_modules/date-fns/startOfDecade.js +45 -0
- package/dist/cjs/node_modules/date-fns/startOfHour.js +40 -0
- package/dist/cjs/node_modules/date-fns/startOfISOWeek.js +40 -0
- package/dist/cjs/node_modules/date-fns/startOfISOWeekYear.js +47 -0
- package/dist/cjs/node_modules/date-fns/startOfMinute.js +40 -0
- package/dist/cjs/node_modules/date-fns/startOfMonth.js +42 -0
- package/dist/cjs/node_modules/date-fns/startOfQuarter.js +43 -0
- package/dist/cjs/node_modules/date-fns/startOfWeek.js +58 -0
- package/dist/cjs/node_modules/date-fns/startOfWeekYear.js +69 -0
- package/dist/cjs/node_modules/date-fns/startOfYear.js +41 -0
- package/dist/cjs/node_modules/date-fns/toDate.js +51 -0
- package/dist/cjs/packages/date/dist/esm/display/DateDuration.js +178 -0
- package/dist/cjs/packages/date/dist/esm/hijri/DateConverter.js +154 -0
- package/dist/cjs/packages/date/dist/esm/hijri/FormatDate.js +116 -0
- package/dist/cjs/packages/date/dist/esm/hijri/HijriDate.js +531 -0
- package/dist/cjs/packages/date/dist/esm/hijri/StringDateParser.js +74 -0
- package/dist/cjs/packages/date/dist/esm/hijri/index.js +21 -0
- package/dist/cjs/packages/date/dist/esm/hijri/initializer.js +113 -0
- package/dist/cjs/packages/date/dist/esm/hijri/locales.js +19 -0
- package/dist/cjs/packages/date/dist/esm/hijri/safe.js +17 -0
- package/dist/cjs/packages/date/dist/esm/i18n/ar/date.json.js +213 -0
- package/dist/cjs/packages/date/dist/esm/i18n/en/date.json.js +83 -0
- package/{src/plugins/StickyPlugin.ts → dist/cjs/packages/date/dist/esm/i18n/index.js} +10 -15
- package/dist/cjs/packages/date/dist/esm/types/index.js +46 -0
- package/dist/cjs/packages/date/dist/esm/utils/dateUtil.js +472 -0
- package/dist/cjs/{editor → packages/lexical/src/editor}/LexicalEditor.js +32 -9
- package/dist/cjs/{i18n/ar.json.js → packages/lexical/src/i18n/ar/lexical.json.js} +10 -4
- package/dist/cjs/{i18n/en.json.js → packages/lexical/src/i18n/en/lexical.json.js} +7 -1
- package/dist/cjs/{i18n → packages/lexical/src/i18n}/index.js +4 -4
- package/dist/cjs/packages/lexical/src/plugins/CommentPlugin.js +477 -0
- package/dist/cjs/{plugins → packages/lexical/src/plugins}/DraggableBlockPlugin.js +8 -11
- package/dist/esm/node_modules/date-fns/_lib/addLeadingZeros.js +9 -0
- package/dist/esm/node_modules/date-fns/_lib/defaultOptions.js +9 -0
- package/dist/esm/node_modules/date-fns/_lib/format/formatters.js +779 -0
- package/dist/esm/node_modules/date-fns/_lib/format/lightFormatters.js +96 -0
- package/dist/esm/node_modules/date-fns/_lib/format/longFormatters.js +68 -0
- package/dist/esm/node_modules/date-fns/_lib/getRoundingMethod.js +12 -0
- package/dist/esm/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +33 -0
- package/dist/esm/node_modules/date-fns/_lib/normalizeDates.js +13 -0
- package/dist/esm/node_modules/date-fns/_lib/normalizeInterval.js +10 -0
- package/dist/esm/node_modules/date-fns/_lib/protectedTokens.js +27 -0
- package/dist/esm/node_modules/date-fns/add.js +70 -0
- package/dist/esm/node_modules/date-fns/addDays.js +43 -0
- package/dist/esm/node_modules/date-fns/addHours.js +36 -0
- package/dist/esm/node_modules/date-fns/addMilliseconds.js +36 -0
- package/dist/esm/node_modules/date-fns/addMinutes.js +38 -0
- package/dist/esm/node_modules/date-fns/addMonths.js +77 -0
- package/dist/esm/node_modules/date-fns/addQuarters.js +35 -0
- package/dist/esm/node_modules/date-fns/addWeeks.js +35 -0
- package/dist/esm/node_modules/date-fns/addYears.js +35 -0
- package/dist/esm/node_modules/date-fns/compareAsc.js +47 -0
- package/dist/esm/node_modules/date-fns/constants.js +62 -0
- package/dist/esm/node_modules/date-fns/constructFrom.js +51 -0
- package/dist/esm/node_modules/date-fns/differenceInCalendarDays.js +64 -0
- package/dist/esm/node_modules/date-fns/differenceInCalendarMonths.js +44 -0
- package/dist/esm/node_modules/date-fns/differenceInCalendarYears.js +40 -0
- package/dist/esm/node_modules/date-fns/differenceInDays.js +109 -0
- package/dist/esm/node_modules/date-fns/differenceInHours.js +43 -0
- package/dist/esm/node_modules/date-fns/differenceInMilliseconds.js +31 -0
- package/dist/esm/node_modules/date-fns/differenceInMinutes.js +47 -0
- package/dist/esm/node_modules/date-fns/differenceInMonths.js +62 -0
- package/dist/esm/node_modules/date-fns/differenceInSeconds.js +38 -0
- package/dist/esm/node_modules/date-fns/differenceInYears.js +64 -0
- package/dist/esm/node_modules/date-fns/endOfDay.js +37 -0
- package/dist/esm/node_modules/date-fns/endOfDecade.js +42 -0
- package/dist/esm/node_modules/date-fns/endOfHour.js +37 -0
- package/dist/esm/node_modules/date-fns/endOfMinute.js +37 -0
- package/dist/esm/node_modules/date-fns/endOfMonth.js +39 -0
- package/dist/esm/node_modules/date-fns/endOfQuarter.js +40 -0
- package/dist/esm/node_modules/date-fns/endOfWeek.js +55 -0
- package/dist/esm/node_modules/date-fns/endOfYear.js +39 -0
- package/dist/esm/node_modules/date-fns/format.js +425 -0
- package/dist/esm/node_modules/date-fns/getDayOfYear.js +36 -0
- package/dist/esm/node_modules/date-fns/getISOWeek.js +42 -0
- package/dist/esm/node_modules/date-fns/getISOWeekYear.js +54 -0
- package/dist/esm/node_modules/date-fns/getWeek.js +56 -0
- package/dist/esm/node_modules/date-fns/getWeekYear.js +77 -0
- package/dist/esm/node_modules/date-fns/intervalToDuration.js +67 -0
- package/dist/esm/node_modules/date-fns/isAfter.js +27 -0
- package/dist/esm/node_modules/date-fns/isBefore.js +27 -0
- package/dist/esm/node_modules/date-fns/isDate.js +43 -0
- package/dist/esm/node_modules/date-fns/isLastDayOfMonth.js +30 -0
- package/dist/esm/node_modules/date-fns/isSameMonth.js +45 -0
- package/dist/esm/node_modules/date-fns/isSameWeek.js +53 -0
- package/dist/esm/node_modules/date-fns/isSameYear.js +37 -0
- package/dist/esm/node_modules/date-fns/isValid.js +41 -0
- package/dist/esm/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +12 -0
- package/dist/esm/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +66 -0
- package/dist/esm/node_modules/date-fns/locale/_lib/buildMatchFn.js +61 -0
- package/dist/esm/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +24 -0
- package/dist/esm/node_modules/date-fns/locale/ar-SA/_lib/formatDistance.js +139 -0
- package/dist/esm/node_modules/date-fns/locale/ar-SA/_lib/formatLong.js +43 -0
- package/dist/esm/node_modules/date-fns/locale/ar-SA/_lib/formatRelative.js +15 -0
- package/dist/esm/node_modules/date-fns/locale/ar-SA/_lib/localize.js +166 -0
- package/dist/esm/node_modules/date-fns/locale/ar-SA/_lib/match.js +146 -0
- package/dist/esm/node_modules/date-fns/locale/ar-SA.js +29 -0
- package/dist/esm/node_modules/date-fns/locale/de/_lib/formatDistance.js +200 -0
- package/dist/esm/node_modules/date-fns/locale/de/_lib/formatLong.js +44 -0
- package/dist/esm/node_modules/date-fns/locale/de/_lib/formatRelative.js +15 -0
- package/dist/esm/node_modules/date-fns/locale/de/_lib/localize.js +195 -0
- package/dist/esm/node_modules/date-fns/locale/de/_lib/match.js +138 -0
- package/dist/esm/node_modules/date-fns/locale/de.js +33 -0
- package/dist/esm/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +105 -0
- package/dist/esm/node_modules/date-fns/locale/en-US/_lib/formatLong.js +43 -0
- package/dist/esm/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +15 -0
- package/dist/esm/node_modules/date-fns/locale/en-US/_lib/localize.js +191 -0
- package/dist/esm/node_modules/date-fns/locale/en-US/_lib/match.js +136 -0
- package/dist/esm/node_modules/date-fns/locale/en-US.js +30 -0
- package/dist/esm/node_modules/date-fns/locale/es/_lib/formatDistance.js +105 -0
- package/dist/esm/node_modules/date-fns/locale/es/_lib/formatLong.js +43 -0
- package/dist/esm/node_modules/date-fns/locale/es/_lib/formatRelative.js +29 -0
- package/dist/esm/node_modules/date-fns/locale/es/_lib/localize.js +168 -0
- package/dist/esm/node_modules/date-fns/locale/es/_lib/match.js +142 -0
- package/dist/esm/node_modules/date-fns/locale/es.js +33 -0
- package/dist/esm/node_modules/date-fns/locale/fr/_lib/formatDistance.js +104 -0
- package/dist/esm/node_modules/date-fns/locale/fr/_lib/formatLong.js +43 -0
- package/dist/esm/node_modules/date-fns/locale/fr/_lib/formatRelative.js +15 -0
- package/dist/esm/node_modules/date-fns/locale/fr/_lib/localize.js +169 -0
- package/dist/esm/node_modules/date-fns/locale/fr/_lib/match.js +137 -0
- package/dist/esm/node_modules/date-fns/locale/fr.js +30 -0
- package/dist/esm/node_modules/date-fns/locale/hi/_lib/formatDistance.js +109 -0
- package/dist/esm/node_modules/date-fns/locale/hi/_lib/formatLong.js +43 -0
- package/dist/esm/node_modules/date-fns/locale/hi/_lib/formatRelative.js +15 -0
- package/dist/esm/node_modules/date-fns/locale/hi/_lib/localize.js +231 -0
- package/dist/esm/node_modules/date-fns/locale/hi/_lib/match.js +141 -0
- package/dist/esm/node_modules/date-fns/locale/hi.js +29 -0
- package/dist/esm/node_modules/date-fns/locale/it/_lib/formatDistance.js +105 -0
- package/dist/esm/node_modules/date-fns/locale/it/_lib/formatLong.js +43 -0
- package/dist/esm/node_modules/date-fns/locale/it/_lib/formatRelative.js +70 -0
- package/dist/esm/node_modules/date-fns/locale/it/_lib/localize.js +168 -0
- package/dist/esm/node_modules/date-fns/locale/it/_lib/match.js +137 -0
- package/dist/esm/node_modules/date-fns/locale/it.js +31 -0
- package/dist/esm/node_modules/date-fns/locale/ja/_lib/formatDistance.js +119 -0
- package/dist/esm/node_modules/date-fns/locale/ja/_lib/formatLong.js +43 -0
- package/dist/esm/node_modules/date-fns/locale/ja/_lib/formatRelative.js +16 -0
- package/dist/esm/node_modules/date-fns/locale/ja/_lib/localize.js +181 -0
- package/dist/esm/node_modules/date-fns/locale/ja/_lib/match.js +122 -0
- package/dist/esm/node_modules/date-fns/locale/ja.js +33 -0
- package/dist/esm/node_modules/date-fns/locale/ko/_lib/formatDistance.js +105 -0
- package/dist/esm/node_modules/date-fns/locale/ko/_lib/formatLong.js +43 -0
- package/dist/esm/node_modules/date-fns/locale/ko/_lib/formatRelative.js +15 -0
- package/dist/esm/node_modules/date-fns/locale/ko/_lib/localize.js +171 -0
- package/dist/esm/node_modules/date-fns/locale/ko/_lib/match.js +119 -0
- package/dist/esm/node_modules/date-fns/locale/ko.js +31 -0
- package/dist/esm/node_modules/date-fns/locale/pt/_lib/formatDistance.js +105 -0
- package/dist/esm/node_modules/date-fns/locale/pt/_lib/formatLong.js +43 -0
- package/dist/esm/node_modules/date-fns/locale/pt/_lib/formatRelative.js +26 -0
- package/dist/esm/node_modules/date-fns/locale/pt/_lib/localize.js +168 -0
- package/dist/esm/node_modules/date-fns/locale/pt/_lib/match.js +141 -0
- package/dist/esm/node_modules/date-fns/locale/pt.js +30 -0
- package/dist/esm/node_modules/date-fns/locale/ru/_lib/formatDistance.js +250 -0
- package/dist/esm/node_modules/date-fns/locale/ru/_lib/formatLong.js +40 -0
- package/dist/esm/node_modules/date-fns/locale/ru/_lib/formatRelative.js +92 -0
- package/dist/esm/node_modules/date-fns/locale/ru/_lib/localize.js +214 -0
- package/dist/esm/node_modules/date-fns/locale/ru/_lib/match.js +142 -0
- package/dist/esm/node_modules/date-fns/locale/ru.js +30 -0
- package/dist/esm/node_modules/date-fns/locale/zh-CN/_lib/formatDistance.js +105 -0
- package/dist/esm/node_modules/date-fns/locale/zh-CN/_lib/formatLong.js +43 -0
- package/dist/esm/node_modules/date-fns/locale/zh-CN/_lib/formatRelative.js +35 -0
- package/dist/esm/node_modules/date-fns/locale/zh-CN/_lib/localize.js +187 -0
- package/dist/esm/node_modules/date-fns/locale/zh-CN/_lib/match.js +134 -0
- package/dist/esm/node_modules/date-fns/locale/zh-CN.js +33 -0
- package/dist/esm/node_modules/date-fns/startOfDay.js +37 -0
- package/dist/esm/node_modules/date-fns/startOfDecade.js +42 -0
- package/dist/esm/node_modules/date-fns/startOfHour.js +37 -0
- package/dist/esm/node_modules/date-fns/startOfISOWeek.js +37 -0
- package/dist/esm/node_modules/date-fns/startOfISOWeekYear.js +44 -0
- package/dist/esm/node_modules/date-fns/startOfMinute.js +37 -0
- package/dist/esm/node_modules/date-fns/startOfMonth.js +39 -0
- package/dist/esm/node_modules/date-fns/startOfQuarter.js +40 -0
- package/dist/esm/node_modules/date-fns/startOfWeek.js +55 -0
- package/dist/esm/node_modules/date-fns/startOfWeekYear.js +66 -0
- package/dist/esm/node_modules/date-fns/startOfYear.js +38 -0
- package/dist/esm/node_modules/date-fns/toDate.js +48 -0
- package/dist/esm/packages/date/dist/esm/display/DateDuration.js +178 -0
- package/dist/esm/packages/date/dist/esm/hijri/DateConverter.js +152 -0
- package/dist/esm/packages/date/dist/esm/hijri/FormatDate.js +113 -0
- package/dist/esm/packages/date/dist/esm/hijri/HijriDate.js +528 -0
- package/dist/esm/packages/date/dist/esm/hijri/StringDateParser.js +74 -0
- package/dist/esm/packages/date/dist/esm/hijri/index.js +21 -0
- package/dist/esm/packages/date/dist/esm/hijri/initializer.js +113 -0
- package/dist/esm/packages/date/dist/esm/hijri/locales.js +18 -0
- package/dist/esm/packages/date/dist/esm/hijri/safe.js +14 -0
- package/dist/esm/packages/date/dist/esm/i18n/ar/date.json.js +209 -0
- package/dist/esm/packages/date/dist/esm/i18n/en/date.json.js +79 -0
- package/dist/esm/packages/date/dist/esm/i18n/index.js +33 -0
- package/dist/esm/packages/date/dist/esm/types/index.js +45 -0
- package/dist/esm/packages/date/dist/esm/utils/dateUtil.js +474 -0
- package/dist/esm/{editor → packages/lexical/src/editor}/LexicalEditor.js +33 -10
- package/dist/esm/{i18n/ar.json.js → packages/lexical/src/i18n/ar/lexical.json.js} +9 -5
- package/dist/esm/{i18n/en.json.js → packages/lexical/src/i18n/en/lexical.json.js} +6 -2
- package/dist/esm/{i18n → packages/lexical/src/i18n}/index.js +2 -2
- package/dist/esm/packages/lexical/src/plugins/CommentPlugin.js +477 -0
- package/dist/esm/{plugins → packages/lexical/src/plugins}/DraggableBlockPlugin.js +9 -12
- package/dist/types/editor/LexicalEditor.d.ts +12 -3
- package/dist/types/hooks/useFormatWatcher.d.ts +1 -1
- package/dist/types/plugins/CommentPlugin.d.ts +5 -0
- package/dist/types/plugins/DraggableBlockPlugin.d.ts +2 -1
- package/package.json +5 -5
- package/src/editor/LexicalEditor.tsx +65 -18
- package/src/i18n/{ar.json → ar/lexical.json} +6 -4
- package/src/i18n/{en.json → en/lexical.json} +3 -1
- package/src/i18n/index.ts +2 -2
- package/src/plugins/CommentPlugin.tsx +554 -0
- package/src/plugins/DraggableBlockPlugin.tsx +5 -10
- package/dist/cjs/components/StickyComponent.js +0 -220
- package/dist/cjs/nodes/StickyNode.js +0 -218
- package/dist/cjs/plugins/StickyPlugin.js +0 -20
- package/dist/esm/components/StickyComponent.js +0 -220
- package/dist/esm/nodes/StickyNode.js +0 -216
- package/dist/esm/plugins/StickyPlugin.js +0 -20
- package/dist/types/components/StickyComponent.d.ts +0 -9
- package/dist/types/nodes/StickyNode.d.ts +0 -34
- package/dist/types/plugins/StickyPlugin.d.ts +0 -1
- package/src/components/StickyComponent.tsx +0 -270
- package/src/nodes/StickyNode.tsx +0 -249
- /package/dist/cjs/{editor → packages/lexical/src/editor}/theme.js +0 -0
- /package/dist/cjs/{hooks → packages/lexical/src/hooks}/useFormatWatcher.js +0 -0
- /package/dist/cjs/{index.js → packages/lexical/src/index.js} +0 -0
- /package/dist/cjs/{plugins → packages/lexical/src/plugins}/ToolbarPlugin.js +0 -0
- /package/dist/cjs/{utils → packages/lexical/src/utils}/index.js +0 -0
- /package/dist/esm/{editor → packages/lexical/src/editor}/theme.js +0 -0
- /package/dist/esm/{hooks → packages/lexical/src/hooks}/useFormatWatcher.js +0 -0
- /package/dist/esm/{index.js → packages/lexical/src/index.js} +0 -0
- /package/dist/esm/{plugins → packages/lexical/src/plugins}/ToolbarPlugin.js +0 -0
- /package/dist/esm/{utils → packages/lexical/src/utils}/index.js +0 -0
|
@@ -0,0 +1,474 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
4
|
+
import { PageType, DatePart } from '../types/index.js';
|
|
5
|
+
import { isNil, isString } from '@react-fabric/utilities';
|
|
6
|
+
import i18next from 'i18next';
|
|
7
|
+
import { startOfDay } from '../../../../../node_modules/date-fns/startOfDay.js';
|
|
8
|
+
import { startOfWeek } from '../../../../../node_modules/date-fns/startOfWeek.js';
|
|
9
|
+
import { startOfMonth } from '../../../../../node_modules/date-fns/startOfMonth.js';
|
|
10
|
+
import { startOfYear } from '../../../../../node_modules/date-fns/startOfYear.js';
|
|
11
|
+
import { startOfDecade } from '../../../../../node_modules/date-fns/startOfDecade.js';
|
|
12
|
+
import { addYears } from '../../../../../node_modules/date-fns/addYears.js';
|
|
13
|
+
import { endOfDay } from '../../../../../node_modules/date-fns/endOfDay.js';
|
|
14
|
+
import { endOfWeek } from '../../../../../node_modules/date-fns/endOfWeek.js';
|
|
15
|
+
import { endOfMonth } from '../../../../../node_modules/date-fns/endOfMonth.js';
|
|
16
|
+
import { endOfYear } from '../../../../../node_modules/date-fns/endOfYear.js';
|
|
17
|
+
import { endOfDecade } from '../../../../../node_modules/date-fns/endOfDecade.js';
|
|
18
|
+
import { addDays } from '../../../../../node_modules/date-fns/addDays.js';
|
|
19
|
+
import { addWeeks } from '../../../../../node_modules/date-fns/addWeeks.js';
|
|
20
|
+
import { addMonths } from '../../../../../node_modules/date-fns/addMonths.js';
|
|
21
|
+
import { isSameMonth } from '../../../../../node_modules/date-fns/isSameMonth.js';
|
|
22
|
+
import { isSameYear } from '../../../../../node_modules/date-fns/isSameYear.js';
|
|
23
|
+
import { isBefore } from '../../../../../node_modules/date-fns/isBefore.js';
|
|
24
|
+
import { isAfter } from '../../../../../node_modules/date-fns/isAfter.js';
|
|
25
|
+
import { startOfMinute } from '../../../../../node_modules/date-fns/startOfMinute.js';
|
|
26
|
+
import { startOfQuarter } from '../../../../../node_modules/date-fns/startOfQuarter.js';
|
|
27
|
+
import { endOfQuarter } from '../../../../../node_modules/date-fns/endOfQuarter.js';
|
|
28
|
+
import { addQuarters } from '../../../../../node_modules/date-fns/addQuarters.js';
|
|
29
|
+
import { startOfHour } from '../../../../../node_modules/date-fns/startOfHour.js';
|
|
30
|
+
import { endOfHour } from '../../../../../node_modules/date-fns/endOfHour.js';
|
|
31
|
+
import { addHours } from '../../../../../node_modules/date-fns/addHours.js';
|
|
32
|
+
import { endOfMinute } from '../../../../../node_modules/date-fns/endOfMinute.js';
|
|
33
|
+
import { addMinutes } from '../../../../../node_modules/date-fns/addMinutes.js';
|
|
34
|
+
import { formatDate as format } from '../../../../../node_modules/date-fns/format.js';
|
|
35
|
+
import { arSA } from '../../../../../node_modules/date-fns/locale/ar-SA.js';
|
|
36
|
+
import { enUS } from '../../../../../node_modules/date-fns/locale/en-US.js';
|
|
37
|
+
import { de } from '../../../../../node_modules/date-fns/locale/de.js';
|
|
38
|
+
import { es } from '../../../../../node_modules/date-fns/locale/es.js';
|
|
39
|
+
import { fr } from '../../../../../node_modules/date-fns/locale/fr.js';
|
|
40
|
+
import { hi } from '../../../../../node_modules/date-fns/locale/hi.js';
|
|
41
|
+
import { it } from '../../../../../node_modules/date-fns/locale/it.js';
|
|
42
|
+
import { ja } from '../../../../../node_modules/date-fns/locale/ja.js';
|
|
43
|
+
import { ko } from '../../../../../node_modules/date-fns/locale/ko.js';
|
|
44
|
+
import { pt } from '../../../../../node_modules/date-fns/locale/pt.js';
|
|
45
|
+
import { ru } from '../../../../../node_modules/date-fns/locale/ru.js';
|
|
46
|
+
import { zhCN } from '../../../../../node_modules/date-fns/locale/zh-CN.js';
|
|
47
|
+
|
|
48
|
+
var Locales = {
|
|
49
|
+
ar: arSA,
|
|
50
|
+
en: enUS,
|
|
51
|
+
de: de,
|
|
52
|
+
es: es,
|
|
53
|
+
fr: fr,
|
|
54
|
+
hi: hi,
|
|
55
|
+
it: it,
|
|
56
|
+
ja: ja,
|
|
57
|
+
ko: ko,
|
|
58
|
+
pt: pt,
|
|
59
|
+
ru: ru,
|
|
60
|
+
zh: zhCN
|
|
61
|
+
};
|
|
62
|
+
var DateUtil;
|
|
63
|
+
(function (_DateUtil) {
|
|
64
|
+
var translateNumber = function translateNumber(d) {
|
|
65
|
+
return d.replace(/0/g, "٠").replace(/1/g, "١").replace(/2/g, "٢").replace(/3/g, "٣").replace(/4/g, "٤").replace(/5/g, "٥").replace(/6/g, "٦").replace(/7/g, "٧").replace(/8/g, "٨").replace(/9/g, "٩");
|
|
66
|
+
};
|
|
67
|
+
var formatGregorian = function formatGregorian(dt) {
|
|
68
|
+
var _Locales$loc;
|
|
69
|
+
var fmt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
|
|
70
|
+
var loc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "en";
|
|
71
|
+
var ret = format(dt, fmt, {
|
|
72
|
+
locale: (_Locales$loc = Locales[loc]) !== null && _Locales$loc !== void 0 ? _Locales$loc : Locales.en
|
|
73
|
+
});
|
|
74
|
+
return loc && loc === "ar" ? translateNumber(ret) : ret;
|
|
75
|
+
};
|
|
76
|
+
var formatHijri = function formatHijri(dt) {
|
|
77
|
+
var fmt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
|
|
78
|
+
var loc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "en";
|
|
79
|
+
var hdate = dt.toHijri();
|
|
80
|
+
var ret = hdate.format(fmt, {
|
|
81
|
+
locale: loc
|
|
82
|
+
});
|
|
83
|
+
return loc && loc === "ar" ? translateNumber(ret) : ret;
|
|
84
|
+
};
|
|
85
|
+
var addHijriDays = function addHijriDays(dt, d) {
|
|
86
|
+
var hdate = dt.toHijri().ignoreTime();
|
|
87
|
+
if (d < 0) {
|
|
88
|
+
return hdate.subtractDays(d);
|
|
89
|
+
} else {
|
|
90
|
+
return hdate.addDays(d);
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
var addHijriMonth = function addHijriMonth(dt, d) {
|
|
94
|
+
var hdate = dt.toHijri().ignoreTime();
|
|
95
|
+
if (hdate.month + d > 12) {
|
|
96
|
+
hdate.year += 1;
|
|
97
|
+
hdate.month = 1;
|
|
98
|
+
} else if (hdate.month + d < 1) {
|
|
99
|
+
hdate.year -= 1;
|
|
100
|
+
hdate.month = 12;
|
|
101
|
+
} else {
|
|
102
|
+
hdate.month += d;
|
|
103
|
+
}
|
|
104
|
+
return hdate;
|
|
105
|
+
};
|
|
106
|
+
var format$1 = _DateUtil.format = function (date) {
|
|
107
|
+
var fmt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "dd MMM yyyy";
|
|
108
|
+
var locale = arguments.length > 2 ? arguments[2] : undefined;
|
|
109
|
+
var isHijri = arguments.length > 3 ? arguments[3] : undefined;
|
|
110
|
+
var formatted = "";
|
|
111
|
+
if (!isNil(date)) {
|
|
112
|
+
var dt = isRelative(date) ? parseDate(date) : new Date(date);
|
|
113
|
+
if (dt != null) {
|
|
114
|
+
formatted = isHijri ? formatHijri(dt, fmt, locale) : formatGregorian(dt, fmt, locale);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
return formatted;
|
|
118
|
+
};
|
|
119
|
+
var isRelative = _DateUtil.isRelative = function (date) {
|
|
120
|
+
return isString(date) && date.match(/^(\$\w+)([+-])?(\d+)?$/) !== null;
|
|
121
|
+
};
|
|
122
|
+
_DateUtil.isRelativeRange = function (date) {
|
|
123
|
+
return isString(date) && date.match(/^(\$\w+)([+-])(\d+)?\|(\$\w+)([+-])(\d+)?$/) !== null;
|
|
124
|
+
};
|
|
125
|
+
var startOfDay$1 = _DateUtil.startOfDay = function (date) {
|
|
126
|
+
var isHijri = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
127
|
+
if (!date) return new Date();
|
|
128
|
+
if (isHijri) {
|
|
129
|
+
var hdate = date.toHijri().ignoreTime();
|
|
130
|
+
return hdate.toGregorian();
|
|
131
|
+
} else {
|
|
132
|
+
return startOfDay(date);
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
var startOfWeek$1 = _DateUtil.startOfWeek = function (date) {
|
|
136
|
+
var isHijri = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
137
|
+
if (isHijri) {
|
|
138
|
+
var hdate = date.toHijri().ignoreTime();
|
|
139
|
+
hdate.subtractDays(hdate.day);
|
|
140
|
+
return hdate.toGregorian();
|
|
141
|
+
} else {
|
|
142
|
+
return startOfWeek(date);
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
var startOfMonth$1 = _DateUtil.startOfMonth = function (date) {
|
|
146
|
+
var isHijri = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
147
|
+
if (isHijri) {
|
|
148
|
+
var hdate = date.toHijri().ignoreTime();
|
|
149
|
+
hdate.date = 1;
|
|
150
|
+
return hdate.toGregorian();
|
|
151
|
+
} else {
|
|
152
|
+
return startOfMonth(date);
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
var startOfYear$1 = _DateUtil.startOfYear = function (date) {
|
|
156
|
+
var isHijri = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
157
|
+
if (isHijri) {
|
|
158
|
+
var hdate = date.toHijri().ignoreTime();
|
|
159
|
+
hdate.date = 1;
|
|
160
|
+
hdate.month = 1;
|
|
161
|
+
return hdate.toGregorian();
|
|
162
|
+
} else {
|
|
163
|
+
return startOfYear(date);
|
|
164
|
+
}
|
|
165
|
+
};
|
|
166
|
+
var startOfDecade$1 = _DateUtil.startOfDecade = function (date) {
|
|
167
|
+
var isHijri = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
168
|
+
if (isHijri) {
|
|
169
|
+
var hdate = date.toHijri().ignoreTime();
|
|
170
|
+
hdate.date = 1;
|
|
171
|
+
hdate.month = 1;
|
|
172
|
+
hdate.year -= hdate.year % 10;
|
|
173
|
+
return hdate.toGregorian();
|
|
174
|
+
} else {
|
|
175
|
+
return startOfDecade(date);
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
_DateUtil.startOfCentury = function (date) {
|
|
179
|
+
var isHijri = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
180
|
+
if (isHijri) {
|
|
181
|
+
var hdate = date.toHijri().ignoreTime();
|
|
182
|
+
hdate.date = 1;
|
|
183
|
+
hdate.month = 1;
|
|
184
|
+
hdate.year -= hdate.year % 100;
|
|
185
|
+
return hdate.toGregorian();
|
|
186
|
+
} else {
|
|
187
|
+
return addYears(startOfYear(date), -1 * (date.getFullYear() % 100));
|
|
188
|
+
}
|
|
189
|
+
};
|
|
190
|
+
var endOfDay$1 = _DateUtil.endOfDay = function (date) {
|
|
191
|
+
var isHijri = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
192
|
+
if (!date) return new Date();
|
|
193
|
+
if (isHijri) {
|
|
194
|
+
var hdate = date.toHijri().ignoreTime();
|
|
195
|
+
return endOfDay(hdate.toGregorian());
|
|
196
|
+
} else {
|
|
197
|
+
return endOfDay(date);
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
var endOfWeek$1 = _DateUtil.endOfWeek = function (date) {
|
|
201
|
+
var isHijri = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
202
|
+
if (isHijri) {
|
|
203
|
+
var hdate = date.toHijri().ignoreTime();
|
|
204
|
+
hdate.addDays(6 - hdate.day);
|
|
205
|
+
return endOfDay(hdate.toGregorian());
|
|
206
|
+
} else {
|
|
207
|
+
return endOfWeek(date);
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
var endOfMonth$1 = _DateUtil.endOfMonth = function (date) {
|
|
211
|
+
var isHijri = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
212
|
+
if (isHijri) {
|
|
213
|
+
var hdate = addHijriMonth(date, 1);
|
|
214
|
+
hdate.date = 1;
|
|
215
|
+
hdate.subtractDay();
|
|
216
|
+
return endOfDay(hdate.toGregorian());
|
|
217
|
+
} else {
|
|
218
|
+
return endOfMonth(date);
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
var endOfYear$1 = _DateUtil.endOfYear = function (date) {
|
|
222
|
+
var isHijri = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
223
|
+
if (isHijri) {
|
|
224
|
+
var hdate = date.toHijri().ignoreTime();
|
|
225
|
+
hdate.year += 1;
|
|
226
|
+
hdate.month = 1;
|
|
227
|
+
hdate.date = 1;
|
|
228
|
+
hdate.subtractDay();
|
|
229
|
+
return endOfDay(hdate.toGregorian());
|
|
230
|
+
} else {
|
|
231
|
+
return endOfYear(date);
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
var endOfDecade$1 = _DateUtil.endOfDecade = function (date) {
|
|
235
|
+
var isHijri = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
236
|
+
if (isHijri) {
|
|
237
|
+
var hdate = date.toHijri().ignoreTime();
|
|
238
|
+
hdate.year += 10 - hdate.year % 10;
|
|
239
|
+
hdate.month = 1;
|
|
240
|
+
hdate.date = 1;
|
|
241
|
+
hdate.subtractDay();
|
|
242
|
+
return endOfDay(hdate.toGregorian());
|
|
243
|
+
} else {
|
|
244
|
+
return endOfDecade(date);
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
_DateUtil.endOfCentury = function (date) {
|
|
248
|
+
var isHijri = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
249
|
+
if (isHijri) {
|
|
250
|
+
var hdate = date.toHijri().ignoreTime();
|
|
251
|
+
hdate.year += 100 - hdate.year % 100;
|
|
252
|
+
hdate.month = 1;
|
|
253
|
+
hdate.date = 1;
|
|
254
|
+
hdate.subtractDay();
|
|
255
|
+
return endOfDay(hdate.toGregorian());
|
|
256
|
+
} else {
|
|
257
|
+
return addYears(endOfYear(date), 100 - date.getFullYear() % 100);
|
|
258
|
+
}
|
|
259
|
+
};
|
|
260
|
+
var addDays$1 = _DateUtil.addDays = function (date, d) {
|
|
261
|
+
var isHijri = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
262
|
+
if (isHijri) {
|
|
263
|
+
return addHijriDays(date, d).toGregorian();
|
|
264
|
+
} else {
|
|
265
|
+
return addDays(date, d);
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
var addWeeks$1 = _DateUtil.addWeeks = function (date, d) {
|
|
269
|
+
var isHijri = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
270
|
+
if (isHijri) {
|
|
271
|
+
return addHijriDays(date, d * 7).toGregorian();
|
|
272
|
+
} else {
|
|
273
|
+
return addWeeks(date, d);
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
var addMonths$1 = _DateUtil.addMonths = function (date, d) {
|
|
277
|
+
var isHijri = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
278
|
+
if (isHijri) {
|
|
279
|
+
return addHijriMonth(date, d).toGregorian();
|
|
280
|
+
} else {
|
|
281
|
+
return addMonths(date, d);
|
|
282
|
+
}
|
|
283
|
+
};
|
|
284
|
+
var addYears$1 = _DateUtil.addYears = function (date, d) {
|
|
285
|
+
var isHijri = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
286
|
+
if (isHijri) {
|
|
287
|
+
var hdate = date.toHijri().ignoreTime();
|
|
288
|
+
hdate.year += d;
|
|
289
|
+
return hdate.toGregorian();
|
|
290
|
+
} else {
|
|
291
|
+
return addYears(date, d);
|
|
292
|
+
}
|
|
293
|
+
};
|
|
294
|
+
_DateUtil.getWeek = function (date, locale) {
|
|
295
|
+
var isHijri = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
296
|
+
var ret = "";
|
|
297
|
+
if (isHijri) {
|
|
298
|
+
var start = startOfYear$1(date, isHijri);
|
|
299
|
+
ret = format$1(new Date(date.getTime() - start.getTime()), "ww");
|
|
300
|
+
} else {
|
|
301
|
+
ret = format$1(date, "ww");
|
|
302
|
+
}
|
|
303
|
+
if (locale === "ar") {
|
|
304
|
+
return translateNumber(ret);
|
|
305
|
+
}
|
|
306
|
+
return ret;
|
|
307
|
+
};
|
|
308
|
+
var isSameMonth$1 = _DateUtil.isSameMonth = function (date, compare) {
|
|
309
|
+
var isHijri = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
310
|
+
if (isHijri) {
|
|
311
|
+
var hdate = date.toHijri().ignoreTime();
|
|
312
|
+
var hcompare = compare.toHijri().ignoreTime();
|
|
313
|
+
return hdate.month === hcompare.month;
|
|
314
|
+
} else {
|
|
315
|
+
return isSameMonth(date, compare);
|
|
316
|
+
}
|
|
317
|
+
};
|
|
318
|
+
var isSameYear$1 = _DateUtil.isSameYear = function (date, compare) {
|
|
319
|
+
var isHijri = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
320
|
+
if (isHijri) {
|
|
321
|
+
var hdate = date.toHijri().ignoreTime();
|
|
322
|
+
var hcompare = compare.toHijri().ignoreTime();
|
|
323
|
+
return hdate.year === hcompare.year;
|
|
324
|
+
} else {
|
|
325
|
+
return isSameYear(date, compare);
|
|
326
|
+
}
|
|
327
|
+
};
|
|
328
|
+
_DateUtil.isDisabled = function (date, page, min, max) {
|
|
329
|
+
var methods = [startOfDay, endOfDay];
|
|
330
|
+
if (page === PageType.MONTH) {
|
|
331
|
+
methods = [startOfMonth, endOfMonth];
|
|
332
|
+
} else if (page === PageType.YEAR) {
|
|
333
|
+
methods = [startOfYear, endOfYear];
|
|
334
|
+
} else if (page === PageType.DECADE) {
|
|
335
|
+
methods = [startOfDecade, endOfDecade];
|
|
336
|
+
}
|
|
337
|
+
var _methods = methods,
|
|
338
|
+
_methods2 = _slicedToArray(_methods, 2),
|
|
339
|
+
start = _methods2[0],
|
|
340
|
+
end = _methods2[1];
|
|
341
|
+
return !(min == null) && isBefore(start(date), start(min)) || !(max == null) && isAfter(end(date), end(max));
|
|
342
|
+
};
|
|
343
|
+
var parseDate = _DateUtil.parseDate = function (datelike) {
|
|
344
|
+
return _parse(datelike);
|
|
345
|
+
};
|
|
346
|
+
var parseRange = _DateUtil.parseRange = function (datelike) {
|
|
347
|
+
var _datelike$split = datelike.split("|"),
|
|
348
|
+
_datelike$split2 = _slicedToArray(_datelike$split, 2),
|
|
349
|
+
start = _datelike$split2[0],
|
|
350
|
+
end = _datelike$split2[1];
|
|
351
|
+
var parseStart = _parse(start, !end ? "start" : undefined);
|
|
352
|
+
var parseEnd = _parse(end !== null && end !== void 0 ? end : start, !end ? "end" : undefined);
|
|
353
|
+
return isBefore(parseStart, parseEnd) ? [parseStart, parseEnd] : [parseEnd, parseStart];
|
|
354
|
+
};
|
|
355
|
+
_DateUtil.relativeTooltip = function (datelike) {
|
|
356
|
+
var isHijri = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
357
|
+
if (!datelike) return "";
|
|
358
|
+
var _parseRange = parseRange(datelike),
|
|
359
|
+
_parseRange2 = _slicedToArray(_parseRange, 2),
|
|
360
|
+
start = _parseRange2[0],
|
|
361
|
+
end = _parseRange2[1];
|
|
362
|
+
return end ? [format$1(start, "MMM dd yyyy, HH:mm:ss aaa", i18next.language, isHijri), format$1(end, "MMM dd yyyy, HH:mm:ss aaa", i18next.language, isHijri)].join(" ".concat(i18next.t("superdate:separator", "→"), " ")) : format$1(start, "MMM dd yyyy, HH:mm:ss aaa", i18next.language, isHijri);
|
|
363
|
+
};
|
|
364
|
+
_DateUtil.relativeLabel = function (datelike) {
|
|
365
|
+
var isHijri = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
366
|
+
if (!datelike) return "";
|
|
367
|
+
var _datelike$split3 = datelike.split("|"),
|
|
368
|
+
_datelike$split4 = _slicedToArray(_datelike$split3, 2),
|
|
369
|
+
start = _datelike$split4[0],
|
|
370
|
+
end = _datelike$split4[1];
|
|
371
|
+
var labels = [_parseLabel(start), _parseLabel(end)];
|
|
372
|
+
if (start && end && !start.match(/^\$\w+/) && !end.match(/^\$\w+/)) {
|
|
373
|
+
var parseStart = _parse(start);
|
|
374
|
+
var parseEnd = _parse(end);
|
|
375
|
+
if (isSameYear$1(parseStart, parseEnd)) {
|
|
376
|
+
labels = [format$1(parseStart, isSameMonth$1(parseStart, parseEnd) ? "dd" : "dd MMM", i18next.language, isHijri), format$1(parseEnd, "dd MMM yyyy", i18next.language, isHijri)];
|
|
377
|
+
} else {
|
|
378
|
+
labels = [format$1(parseStart, "dd MMM yyyy", i18next.language, isHijri), format$1(parseEnd, "dd MMM yyyy", i18next.language, isHijri)];
|
|
379
|
+
}
|
|
380
|
+
} else if (start && !start.match(/^\$\w+/)) {
|
|
381
|
+
var _parseStart = _parse(start);
|
|
382
|
+
labels = [format$1(_parseStart, "dd MMM yyyy", i18next.language, isHijri)];
|
|
383
|
+
}
|
|
384
|
+
return end ? labels.join(" ".concat(i18next.t("superdate:separator", "→"), " ")) : labels[0];
|
|
385
|
+
};
|
|
386
|
+
var _parseLabel = function _parseLabel(dt) {
|
|
387
|
+
var _dt$match;
|
|
388
|
+
if (!dt) return "";
|
|
389
|
+
var _ref = (_dt$match = dt.match(/^(\$\w+)([+-])?(\d+)?$/)) !== null && _dt$match !== void 0 ? _dt$match : [],
|
|
390
|
+
_ref2 = _slicedToArray(_ref, 4),
|
|
391
|
+
part = _ref2[1],
|
|
392
|
+
_ref2$ = _ref2[2],
|
|
393
|
+
op = _ref2$ === void 0 ? "+" : _ref2$,
|
|
394
|
+
_ref2$2 = _ref2[3],
|
|
395
|
+
diff = _ref2$2 === void 0 ? 0 : _ref2$2;
|
|
396
|
+
if (part) {
|
|
397
|
+
var t = function t(k, o) {
|
|
398
|
+
return i18next.t("superdate:".concat(k), o);
|
|
399
|
+
};
|
|
400
|
+
if (part === DatePart.NOW) {
|
|
401
|
+
return t("label.".concat(DatePart.NOW));
|
|
402
|
+
}
|
|
403
|
+
if (diff === 0) {
|
|
404
|
+
return t("now.".concat(part));
|
|
405
|
+
} else {
|
|
406
|
+
return t("".concat(op === "+" ? "next" : "prev", ".").concat(part), {
|
|
407
|
+
count: parseInt(diff, 10)
|
|
408
|
+
});
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
};
|
|
412
|
+
var _parse = function _parse(dt, rounded) {
|
|
413
|
+
var _dt$match2;
|
|
414
|
+
if (!isRelative(dt)) return new Date(dt);
|
|
415
|
+
var _ref3 = (_dt$match2 = dt.match(/^(\$\w+)([+-]\d+)?$/)) !== null && _dt$match2 !== void 0 ? _dt$match2 : [],
|
|
416
|
+
_ref4 = _slicedToArray(_ref3, 3),
|
|
417
|
+
part = _ref4[1],
|
|
418
|
+
_ref4$ = _ref4[2],
|
|
419
|
+
diff = _ref4$ === void 0 ? "0" : _ref4$;
|
|
420
|
+
if (part) {
|
|
421
|
+
var date = startOfMinute(new Date());
|
|
422
|
+
switch (part) {
|
|
423
|
+
case DatePart.NOW:
|
|
424
|
+
if (rounded) {
|
|
425
|
+
date = (rounded === "start" ? startOfDay$1 : endOfDay$1)(date);
|
|
426
|
+
}
|
|
427
|
+
return date;
|
|
428
|
+
case DatePart.MINUTE:
|
|
429
|
+
if (rounded) {
|
|
430
|
+
date = (rounded === "start" ? startOfMinute : endOfMinute)(date);
|
|
431
|
+
}
|
|
432
|
+
return addMinutes(date, parseInt(diff, 10));
|
|
433
|
+
case DatePart.HOUR:
|
|
434
|
+
if (rounded) {
|
|
435
|
+
date = (rounded === "start" ? startOfHour : endOfHour)(date);
|
|
436
|
+
}
|
|
437
|
+
return addHours(date, parseInt(diff, 10));
|
|
438
|
+
case DatePart.DAY:
|
|
439
|
+
if (rounded) {
|
|
440
|
+
date = (rounded === "start" ? startOfDay$1 : endOfDay$1)(date);
|
|
441
|
+
}
|
|
442
|
+
return addDays$1(date, parseInt(diff, 10));
|
|
443
|
+
case DatePart.WEEK:
|
|
444
|
+
if (rounded) {
|
|
445
|
+
date = (rounded === "start" ? startOfWeek$1 : endOfWeek$1)(date);
|
|
446
|
+
}
|
|
447
|
+
return addWeeks$1(date, parseInt(diff, 10));
|
|
448
|
+
case DatePart.MONTH:
|
|
449
|
+
if (rounded) {
|
|
450
|
+
date = (rounded === "start" ? startOfMonth$1 : endOfMonth$1)(date);
|
|
451
|
+
}
|
|
452
|
+
return addMonths$1(date, parseInt(diff, 10));
|
|
453
|
+
case DatePart.QUARTER:
|
|
454
|
+
if (rounded) {
|
|
455
|
+
date = (rounded === "start" ? startOfQuarter : endOfQuarter)(date);
|
|
456
|
+
}
|
|
457
|
+
return addQuarters(date, parseInt(diff, 10));
|
|
458
|
+
case DatePart.YEAR:
|
|
459
|
+
if (rounded) {
|
|
460
|
+
date = (rounded === "start" ? startOfYear$1 : endOfYear$1)(date);
|
|
461
|
+
}
|
|
462
|
+
return addYears$1(date, parseInt(diff, 10));
|
|
463
|
+
case DatePart.DECADE:
|
|
464
|
+
if (rounded) {
|
|
465
|
+
date = (rounded === "start" ? startOfDecade$1 : endOfDecade$1)(date);
|
|
466
|
+
}
|
|
467
|
+
return addYears$1(date, parseInt(diff, 10) * 10);
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
return new Date(dt);
|
|
471
|
+
};
|
|
472
|
+
})(DateUtil || (DateUtil = {}));
|
|
473
|
+
|
|
474
|
+
export { DateUtil };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
+
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
3
4
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
4
5
|
import { CodeHighlightNode, CodeNode } from '@lexical/code';
|
|
5
6
|
import { ListItemNode, ListNode } from '@lexical/list';
|
|
@@ -15,12 +16,11 @@ import { TablePlugin } from '@lexical/react/LexicalTablePlugin';
|
|
|
15
16
|
import { QuoteNode, HeadingNode } from '@lexical/rich-text';
|
|
16
17
|
import { TableCellNode, TableNode, TableRowNode } from '@lexical/table';
|
|
17
18
|
import { Header, ErrorBoundary, ThemeProvider } from '@react-fabric/core';
|
|
18
|
-
import { debounce } from '@react-fabric/utilities';
|
|
19
|
+
import { debounce, EMPTY_ARRAY } from '@react-fabric/utilities';
|
|
19
20
|
import classNames from 'classnames';
|
|
20
21
|
import { useRef, useState, useCallback, useEffect, useMemo } from 'react';
|
|
21
|
-
import {
|
|
22
|
+
import { CommentPlugin } from '../plugins/CommentPlugin.js';
|
|
22
23
|
import { DraggableBlockPlugin } from '../plugins/DraggableBlockPlugin.js';
|
|
23
|
-
import { StickyPlugin } from '../plugins/StickyPlugin.js';
|
|
24
24
|
import { ToolbarPlugin } from '../plugins/ToolbarPlugin.js';
|
|
25
25
|
import { LexicalTheme } from './theme.js';
|
|
26
26
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -54,6 +54,14 @@ var LexicalEditor = function LexicalEditor(_ref) {
|
|
|
54
54
|
var value = _ref.value,
|
|
55
55
|
readOnly = _ref.readOnly,
|
|
56
56
|
publishMode = _ref.publishMode,
|
|
57
|
+
header = _ref.header,
|
|
58
|
+
footer = _ref.footer,
|
|
59
|
+
coverPage = _ref.coverPage,
|
|
60
|
+
isRtl = _ref.isRtl,
|
|
61
|
+
_ref$username = _ref.username,
|
|
62
|
+
username = _ref$username === void 0 ? "Guest" : _ref$username,
|
|
63
|
+
_ref$nodes = _ref.nodes,
|
|
64
|
+
nodes = _ref$nodes === void 0 ? EMPTY_ARRAY : _ref$nodes,
|
|
57
65
|
onChange = _ref.onChange,
|
|
58
66
|
onDirty = _ref.onDirty;
|
|
59
67
|
var editorRef = useRef(null);
|
|
@@ -123,7 +131,7 @@ var LexicalEditor = function LexicalEditor(_ref) {
|
|
|
123
131
|
namespace: "MyEditor",
|
|
124
132
|
editable: !readOnly && !publishMode,
|
|
125
133
|
theme: LexicalTheme,
|
|
126
|
-
nodes: [QuoteNode, HeadingNode, CodeHighlightNode, CodeNode, ListItemNode, ListNode, TableCellNode, TableNode, TableRowNode
|
|
134
|
+
nodes: [QuoteNode, HeadingNode, CodeHighlightNode, CodeNode, ListItemNode, ListNode, TableCellNode, TableNode, TableRowNode].concat(_toConsumableArray(nodes)),
|
|
127
135
|
onError: onError
|
|
128
136
|
};
|
|
129
137
|
}, []);
|
|
@@ -131,7 +139,7 @@ var LexicalEditor = function LexicalEditor(_ref) {
|
|
|
131
139
|
var children = _ref3.children;
|
|
132
140
|
return !publishMode ? /*#__PURE__*/jsxs("div", {
|
|
133
141
|
className: "lexical-scroller area-content overflow-auto",
|
|
134
|
-
children: [/*#__PURE__*/jsx("div", {
|
|
142
|
+
children: [!readOnly && /*#__PURE__*/jsx("div", {
|
|
135
143
|
className: classNames("fabric-lexicalToolbar", "sticky top-0 z-1"),
|
|
136
144
|
children: /*#__PURE__*/jsx(Header, {
|
|
137
145
|
className: "bg-base",
|
|
@@ -139,7 +147,7 @@ var LexicalEditor = function LexicalEditor(_ref) {
|
|
|
139
147
|
})
|
|
140
148
|
}), children]
|
|
141
149
|
}) : children;
|
|
142
|
-
}, [publishMode]);
|
|
150
|
+
}, [publishMode, readOnly]);
|
|
143
151
|
return /*#__PURE__*/jsx(ErrorBoundary, {
|
|
144
152
|
children: /*#__PURE__*/jsx(LexicalComposer, {
|
|
145
153
|
initialConfig: initialConfig,
|
|
@@ -149,6 +157,7 @@ var LexicalEditor = function LexicalEditor(_ref) {
|
|
|
149
157
|
children: /*#__PURE__*/jsxs("div", {
|
|
150
158
|
role: "none",
|
|
151
159
|
className: classNames("fabric-lexicalEditor", "lexical-container relative bg-white min-h-full mx-auto shadow-md print:shadow-none"),
|
|
160
|
+
dir: isRtl ? "rtl" : "ltr",
|
|
152
161
|
onDragOver: function onDragOver(e) {
|
|
153
162
|
return e.stopPropagation();
|
|
154
163
|
},
|
|
@@ -156,20 +165,34 @@ var LexicalEditor = function LexicalEditor(_ref) {
|
|
|
156
165
|
return e.stopPropagation();
|
|
157
166
|
},
|
|
158
167
|
ref: setEditorContainer,
|
|
159
|
-
children: [/*#__PURE__*/jsx(
|
|
168
|
+
children: [!publishMode && header && /*#__PURE__*/jsx("div", {
|
|
169
|
+
className: "editor-header",
|
|
170
|
+
children: header
|
|
171
|
+
}), coverPage && /*#__PURE__*/jsx("div", {
|
|
172
|
+
className: "editor-cover px-[2cm] py-[1cm]",
|
|
173
|
+
children: coverPage
|
|
174
|
+
}), /*#__PURE__*/jsx(RichTextPlugin, {
|
|
160
175
|
contentEditable: /*#__PURE__*/jsx(ContentEditable, {
|
|
161
176
|
readOnly: !!readOnly || publishMode,
|
|
162
|
-
className: "lexical-editor px-[2cm] py-[1cm]
|
|
177
|
+
className: "lexical-editor min-h-screen px-[2cm] py-[1cm]"
|
|
163
178
|
}),
|
|
164
179
|
placeholder: /*#__PURE__*/jsx("div", {
|
|
165
180
|
className: "text-muted overflow-hidden absolute mt-6 top-[1cm] left-[2cm] select-none pointer-events-none",
|
|
166
181
|
children: "Enter some text..."
|
|
167
182
|
}),
|
|
168
183
|
ErrorBoundary: LexicalErrorBoundary
|
|
169
|
-
}), /*#__PURE__*/jsx(ListPlugin, {}), /*#__PURE__*/jsx(CheckListPlugin, {}), /*#__PURE__*/jsx(TablePlugin, {}), /*#__PURE__*/jsx(HistoryPlugin, {}), /*#__PURE__*/jsx(
|
|
184
|
+
}), /*#__PURE__*/jsx(ListPlugin, {}), /*#__PURE__*/jsx(CheckListPlugin, {}), /*#__PURE__*/jsx(TablePlugin, {}), /*#__PURE__*/jsx(HistoryPlugin, {}), /*#__PURE__*/jsx(AutoFocusPlugin, {
|
|
170
185
|
defaultSelection: "rootStart"
|
|
171
186
|
}), editorContainer && /*#__PURE__*/jsx(DraggableBlockPlugin, {
|
|
172
|
-
anchorElem: editorContainer
|
|
187
|
+
anchorElem: editorContainer,
|
|
188
|
+
isEditable: !readOnly && !publishMode
|
|
189
|
+
}), editorContainer && /*#__PURE__*/jsx(CommentPlugin, {
|
|
190
|
+
username: username,
|
|
191
|
+
anchorElem: editorContainer,
|
|
192
|
+
isPublishMode: !!publishMode
|
|
193
|
+
}), !publishMode && footer && /*#__PURE__*/jsx("div", {
|
|
194
|
+
className: "editor-footer",
|
|
195
|
+
children: footer
|
|
173
196
|
})]
|
|
174
197
|
})
|
|
175
198
|
})
|
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
+
var addComment = "أضف تعليقا";
|
|
4
|
+
var reply = "رد";
|
|
3
5
|
var tool = {
|
|
4
6
|
alignCenter: "محاذاة المركز",
|
|
5
|
-
alignJustify: "محاذاة وضبط",
|
|
6
7
|
alignEnd: "محاذاة النهاية",
|
|
8
|
+
alignJustify: "محاذاة وضبط",
|
|
7
9
|
alignStart: "محاذاة البداية",
|
|
8
10
|
bold: "عريض",
|
|
9
11
|
clear: "مسح التنسيق",
|
|
10
12
|
hilight: "تسليط الضوء",
|
|
11
13
|
indentIn: "المسافة البادئة في",
|
|
12
|
-
|
|
13
|
-
strikethrough: "يتوسطه خط",
|
|
14
|
+
indentOut: "مسافة بادئة للخارج",
|
|
14
15
|
italic: "مائل",
|
|
15
|
-
|
|
16
|
+
strikethrough: "يتوسطه خط",
|
|
17
|
+
underline: "تسطير"
|
|
16
18
|
};
|
|
17
19
|
var ar = {
|
|
20
|
+
addComment: addComment,
|
|
21
|
+
reply: reply,
|
|
18
22
|
tool: tool
|
|
19
23
|
};
|
|
20
24
|
|
|
21
|
-
export { ar as default, tool };
|
|
25
|
+
export { addComment, ar as default, reply, tool };
|
|
@@ -14,8 +14,12 @@ var tool = {
|
|
|
14
14
|
hilight: "Highlight",
|
|
15
15
|
clear: "Clear Formatting"
|
|
16
16
|
};
|
|
17
|
+
var addComment = "Add comment";
|
|
18
|
+
var reply = "Reply";
|
|
17
19
|
var en = {
|
|
18
|
-
tool: tool
|
|
20
|
+
tool: tool,
|
|
21
|
+
addComment: addComment,
|
|
22
|
+
reply: reply
|
|
19
23
|
};
|
|
20
24
|
|
|
21
|
-
export { en as default, tool };
|
|
25
|
+
export { addComment, en as default, reply, tool };
|