@nocobase/plugin-action-import 1.7.0-beta.2 → 1.7.0-beta.20
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/dist/client/ImportAction.d.ts +8 -0
- package/dist/client/index.js +1 -1
- package/dist/client/useShared.d.ts +8 -1
- package/dist/externalVersion.js +8 -8
- package/dist/locale/it-IT.json +1 -1
- package/dist/locale/nl-NL.json +44 -36
- package/dist/node_modules/exceljs/excel.js +3 -3
- package/dist/node_modules/exceljs/package.json +1 -1
- package/dist/node_modules/xlsx/package.json +1 -1
- package/dist/server/actions/import-xlsx.js +2 -1
- package/dist/server/locale/nl-NL.json +7 -7
- package/package.json +2 -2
- package/dist/node_modules/exceljs/node_modules/dayjs/.editorconfig +0 -7
- package/dist/node_modules/exceljs/node_modules/dayjs/dayjs.min.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/constant.js +0 -25
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/index.d.ts +0 -429
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/index.js +0 -541
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/af.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/am.js +0 -40
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ar-dz.js +0 -41
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ar-iq.js +0 -42
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ar-kw.js +0 -41
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ar-ly.js +0 -27
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ar-ma.js +0 -42
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ar-sa.js +0 -41
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ar-tn.js +0 -42
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ar.js +0 -77
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/az.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/be.js +0 -24
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/bg.js +0 -55
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/bi.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/bm.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/bn-bd.js +0 -81
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/bn.js +0 -72
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/bo.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/br.js +0 -93
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/bs.js +0 -24
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ca.js +0 -44
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/cs.js +0 -120
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/cv.js +0 -24
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/cy.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/da.js +0 -40
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/de-at.js +0 -63
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/de-ch.js +0 -63
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/de.js +0 -64
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/dv.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/el.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/en-au.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/en-ca.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/en-gb.js +0 -42
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/en-ie.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/en-il.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/en-in.js +0 -42
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/en-nz.js +0 -41
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/en-sg.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/en-tt.js +0 -42
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/en.js +0 -12
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/eo.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/es-do.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/es-mx.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/es-pr.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/es-us.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/es.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/et.js +0 -65
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/eu.js +0 -43
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/fa.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/fi.js +0 -88
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/fo.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/fr-ca.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/fr-ch.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/fr.js +0 -41
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/fy.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ga.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/gd.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/gl.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/gom-latn.js +0 -25
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/gu.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/he.js +0 -78
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/hi.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/hr.js +0 -53
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ht.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/hu.js +0 -61
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/hy-am.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/id.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/index.d.ts +0 -11
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/is.js +0 -68
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/it-ch.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/it.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ja.js +0 -45
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/jv.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ka.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/kk.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/km.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/kn.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ko.js +0 -45
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ku.js +0 -77
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ky.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/lb.js +0 -24
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/lo.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/lt.js +0 -70
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/lv.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/me.js +0 -24
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/mi.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/mk.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ml.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/mn.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/mr.js +0 -23
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ms-my.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ms.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/mt.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/my.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/nb.js +0 -40
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ne.js +0 -40
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/nl-be.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/nl.js +0 -40
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/nn.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/oc-lnc.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/pa-in.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/pl.js +0 -87
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/pt-br.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/pt.js +0 -40
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/rn.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ro.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ru.js +0 -99
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/rw.js +0 -35
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/sd.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/se.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/si.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/sk.js +0 -121
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/sl.js +0 -141
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/sq.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/sr-cyrl.js +0 -74
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/sr.js +0 -74
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ss.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/sv-fi.js +0 -46
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/sv.js +0 -44
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/sw.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ta.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/te.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/tet.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/tg.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/th.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/tk.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/tl-ph.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/tlh.js +0 -24
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/tr.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/types.d.ts +0 -33
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/tzl.js +0 -24
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/tzm-latn.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/tzm.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ug-cn.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/uk.js +0 -77
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/ur.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/uz-latn.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/uz.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/vi.js +0 -43
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/x-pseudo.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/yo.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/zh-cn.js +0 -67
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/zh-hk.js +0 -65
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/zh-tw.js +0 -65
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/locale/zh.js +0 -67
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/advancedFormat/index.d.ts +0 -4
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/advancedFormat/index.js +0 -66
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/arraySupport/index.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/arraySupport/index.js +0 -33
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/badMutable/index.d.ts +0 -4
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/badMutable/index.js +0 -61
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/bigIntSupport/index.d.ts +0 -11
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/bigIntSupport/index.js +0 -32
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/buddhistEra/index.d.ts +0 -4
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/buddhistEra/index.js +0 -21
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/calendar/index.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/calendar/index.js +0 -32
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/customParseFormat/index.d.ts +0 -8
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/customParseFormat/index.js +0 -333
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/dayOfYear/index.d.ts +0 -11
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/dayOfYear/index.js +0 -9
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/devHelper/index.d.ts +0 -4
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/devHelper/index.js +0 -38
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/duration/index.d.ts +0 -88
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/duration/index.js +0 -356
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isBetween/index.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isBetween/index.js +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isLeapYear/index.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isLeapYear/index.js +0 -7
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isMoment/index.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isMoment/index.js +0 -5
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isSameOrAfter/index.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isSameOrAfter/index.js +0 -5
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isSameOrBefore/index.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isSameOrBefore/index.js +0 -5
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isToday/index.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isToday/index.js +0 -9
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isTomorrow/index.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isTomorrow/index.js +0 -9
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isYesterday/index.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isYesterday/index.js +0 -9
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isoWeek/index.d.ts +0 -27
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isoWeek/index.js +0 -57
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.js +0 -15
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/localeData/index.d.ts +0 -44
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/localeData/index.js +0 -114
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/localizedFormat/index.d.ts +0 -4
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/localizedFormat/index.js +0 -20
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/localizedFormat/utils.js +0 -20
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/minMax/index.d.ts +0 -22
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/minMax/index.js +0 -39
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/negativeYear/index.d.ts +0 -4
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/negativeYear/index.js +0 -36
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/objectSupport/index.d.ts +0 -48
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/objectSupport/index.js +0 -97
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/pluralGetSet/index.d.ts +0 -44
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/pluralGetSet/index.js +0 -7
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/preParsePostFormat/index.d.ts +0 -4
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/preParsePostFormat/index.js +0 -40
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/quarterOfYear/index.d.ts +0 -26
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/quarterOfYear/index.js +0 -41
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/relativeTime/index.d.ts +0 -24
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/relativeTime/index.js +0 -130
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/timezone/index.d.ts +0 -20
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/timezone/index.js +0 -198
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/toArray/index.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/toArray/index.js +0 -7
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/toObject/index.d.ts +0 -20
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/toObject/index.js +0 -15
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/updateLocale/index.d.ts +0 -8
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/updateLocale/index.js +0 -12
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/utc/index.d.ts +0 -19
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/utc/index.js +0 -188
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/weekOfYear/index.d.ts +0 -12
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/weekOfYear/index.js +0 -44
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/weekYear/index.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/weekYear/index.js +0 -19
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/weekday/index.d.ts +0 -12
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/plugin/weekday/index.js +0 -15
- package/dist/node_modules/exceljs/node_modules/dayjs/esm/utils.js +0 -58
- package/dist/node_modules/exceljs/node_modules/dayjs/index.d.ts +0 -429
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/af.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/am.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ar-dz.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ar-iq.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ar-kw.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ar-ly.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ar-ma.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ar-sa.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ar-tn.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ar.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/az.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/be.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/bg.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/bi.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/bm.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/bn-bd.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/bn.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/bo.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/br.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/bs.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ca.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/cs.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/cv.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/cy.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/da.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/de-at.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/de-ch.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/de.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/dv.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/el.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/en-au.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/en-ca.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/en-gb.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/en-ie.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/en-il.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/en-in.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/en-nz.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/en-sg.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/en-tt.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/en.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/eo.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/es-do.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/es-mx.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/es-pr.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/es-us.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/es.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/et.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/eu.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/fa.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/fi.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/fo.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/fr-ca.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/fr-ch.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/fr.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/fy.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ga.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/gd.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/gl.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/gom-latn.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/gu.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/he.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/hi.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/hr.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ht.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/hu.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/hy-am.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/id.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/index.d.ts +0 -11
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/is.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/it-ch.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/it.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ja.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/jv.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ka.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/kk.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/km.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/kn.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ko.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ku.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ky.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/lb.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/lo.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/lt.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/lv.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/me.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/mi.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/mk.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ml.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/mn.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/mr.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ms-my.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ms.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/mt.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/my.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/nb.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ne.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/nl-be.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/nl.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/nn.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/oc-lnc.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/pa-in.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/pl.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/pt-br.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/pt.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/rn.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ro.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ru.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/rw.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/sd.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/se.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/si.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/sk.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/sl.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/sq.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/sr-cyrl.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/sr.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ss.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/sv-fi.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/sv.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/sw.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ta.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/te.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/tet.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/tg.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/th.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/tk.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/tl-ph.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/tlh.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/tr.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/types.d.ts +0 -33
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/tzl.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/tzm-latn.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/tzm.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ug-cn.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/uk.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/ur.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/uz-latn.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/uz.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/vi.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/x-pseudo.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/yo.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/zh-cn.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/zh-hk.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/zh-tw.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale/zh.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/locale.json +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/package.json +0 -84
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/advancedFormat.d.ts +0 -4
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/advancedFormat.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/arraySupport.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/arraySupport.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/badMutable.d.ts +0 -4
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/badMutable.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/bigIntSupport.d.ts +0 -11
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/bigIntSupport.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/buddhistEra.d.ts +0 -4
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/buddhistEra.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/calendar.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/calendar.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/customParseFormat.d.ts +0 -8
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/customParseFormat.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/dayOfYear.d.ts +0 -11
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/dayOfYear.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/devHelper.d.ts +0 -4
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/devHelper.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/duration.d.ts +0 -88
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/duration.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isBetween.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isBetween.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isLeapYear.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isLeapYear.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isMoment.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isMoment.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isSameOrAfter.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isSameOrAfter.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isSameOrBefore.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isSameOrBefore.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isToday.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isToday.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isTomorrow.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isTomorrow.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isYesterday.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isYesterday.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isoWeek.d.ts +0 -27
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isoWeek.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isoWeeksInYear.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/isoWeeksInYear.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/localeData.d.ts +0 -44
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/localeData.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/localizedFormat.d.ts +0 -4
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/localizedFormat.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/minMax.d.ts +0 -22
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/minMax.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/negativeYear.d.ts +0 -4
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/negativeYear.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/objectSupport.d.ts +0 -48
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/objectSupport.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/pluralGetSet.d.ts +0 -44
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/pluralGetSet.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/preParsePostFormat.d.ts +0 -4
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/preParsePostFormat.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/quarterOfYear.d.ts +0 -26
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/quarterOfYear.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/relativeTime.d.ts +0 -24
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/relativeTime.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/timezone.d.ts +0 -20
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/timezone.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/toArray.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/toArray.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/toObject.d.ts +0 -20
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/toObject.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/updateLocale.d.ts +0 -8
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/updateLocale.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/utc.d.ts +0 -19
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/utc.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/weekOfYear.d.ts +0 -12
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/weekOfYear.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/weekYear.d.ts +0 -10
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/weekYear.js +0 -1
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/weekday.d.ts +0 -12
- package/dist/node_modules/exceljs/node_modules/dayjs/plugin/weekday.js +0 -1
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
// Russian [ru]
|
|
2
|
-
import dayjs from '../index';
|
|
3
|
-
var monthFormat = 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_');
|
|
4
|
-
var monthStandalone = 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_');
|
|
5
|
-
var monthShortFormat = 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split('_');
|
|
6
|
-
var monthShortStandalone = 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split('_');
|
|
7
|
-
var MONTHS_IN_FORMAT = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;
|
|
8
|
-
|
|
9
|
-
function plural(word, num) {
|
|
10
|
-
var forms = word.split('_');
|
|
11
|
-
return num % 10 === 1 && num % 100 !== 11 ? forms[0] : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]; // eslint-disable-line
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
|
15
|
-
var format = {
|
|
16
|
-
mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',
|
|
17
|
-
hh: 'час_часа_часов',
|
|
18
|
-
dd: 'день_дня_дней',
|
|
19
|
-
MM: 'месяц_месяца_месяцев',
|
|
20
|
-
yy: 'год_года_лет'
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
if (key === 'm') {
|
|
24
|
-
return withoutSuffix ? 'минута' : 'минуту';
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
return number + " " + plural(format[key], +number);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
var months = function months(dayjsInstance, format) {
|
|
31
|
-
if (MONTHS_IN_FORMAT.test(format)) {
|
|
32
|
-
return monthFormat[dayjsInstance.month()];
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
return monthStandalone[dayjsInstance.month()];
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
months.s = monthStandalone;
|
|
39
|
-
months.f = monthFormat;
|
|
40
|
-
|
|
41
|
-
var monthsShort = function monthsShort(dayjsInstance, format) {
|
|
42
|
-
if (MONTHS_IN_FORMAT.test(format)) {
|
|
43
|
-
return monthShortFormat[dayjsInstance.month()];
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
return monthShortStandalone[dayjsInstance.month()];
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
monthsShort.s = monthShortStandalone;
|
|
50
|
-
monthsShort.f = monthShortFormat;
|
|
51
|
-
var locale = {
|
|
52
|
-
name: 'ru',
|
|
53
|
-
weekdays: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split('_'),
|
|
54
|
-
weekdaysShort: 'вск_пнд_втр_срд_чтв_птн_сбт'.split('_'),
|
|
55
|
-
weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
|
|
56
|
-
months: months,
|
|
57
|
-
monthsShort: monthsShort,
|
|
58
|
-
weekStart: 1,
|
|
59
|
-
yearStart: 4,
|
|
60
|
-
formats: {
|
|
61
|
-
LT: 'H:mm',
|
|
62
|
-
LTS: 'H:mm:ss',
|
|
63
|
-
L: 'DD.MM.YYYY',
|
|
64
|
-
LL: 'D MMMM YYYY г.',
|
|
65
|
-
LLL: 'D MMMM YYYY г., H:mm',
|
|
66
|
-
LLLL: 'dddd, D MMMM YYYY г., H:mm'
|
|
67
|
-
},
|
|
68
|
-
relativeTime: {
|
|
69
|
-
future: 'через %s',
|
|
70
|
-
past: '%s назад',
|
|
71
|
-
s: 'несколько секунд',
|
|
72
|
-
m: relativeTimeWithPlural,
|
|
73
|
-
mm: relativeTimeWithPlural,
|
|
74
|
-
h: 'час',
|
|
75
|
-
hh: relativeTimeWithPlural,
|
|
76
|
-
d: 'день',
|
|
77
|
-
dd: relativeTimeWithPlural,
|
|
78
|
-
M: 'месяц',
|
|
79
|
-
MM: relativeTimeWithPlural,
|
|
80
|
-
y: 'год',
|
|
81
|
-
yy: relativeTimeWithPlural
|
|
82
|
-
},
|
|
83
|
-
ordinal: function ordinal(n) {
|
|
84
|
-
return n;
|
|
85
|
-
},
|
|
86
|
-
meridiem: function meridiem(hour) {
|
|
87
|
-
if (hour < 4) {
|
|
88
|
-
return 'ночи';
|
|
89
|
-
} else if (hour < 12) {
|
|
90
|
-
return 'утра';
|
|
91
|
-
} else if (hour < 17) {
|
|
92
|
-
return 'дня';
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
return 'вечера';
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
dayjs.locale(locale, null, true);
|
|
99
|
-
export default locale;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
// Kinyarwanda (Rwanda) [rw]
|
|
2
|
-
import dayjs from '../index';
|
|
3
|
-
var locale = {
|
|
4
|
-
name: 'rw',
|
|
5
|
-
weekdays: 'Ku Cyumweru_Kuwa Mbere_Kuwa Kabiri_Kuwa Gatatu_Kuwa Kane_Kuwa Gatanu_Kuwa Gatandatu'.split('_'),
|
|
6
|
-
months: 'Mutarama_Gashyantare_Werurwe_Mata_Gicurasi_Kamena_Nyakanga_Kanama_Nzeri_Ukwakira_Ugushyingo_Ukuboza'.split('_'),
|
|
7
|
-
relativeTime: {
|
|
8
|
-
future: 'mu %s',
|
|
9
|
-
past: '%s',
|
|
10
|
-
s: 'amasegonda',
|
|
11
|
-
m: 'Umunota',
|
|
12
|
-
mm: '%d iminota',
|
|
13
|
-
h: 'isaha',
|
|
14
|
-
hh: '%d amasaha',
|
|
15
|
-
d: 'Umunsi',
|
|
16
|
-
dd: '%d iminsi',
|
|
17
|
-
M: 'ukwezi',
|
|
18
|
-
MM: '%d amezi',
|
|
19
|
-
y: 'umwaka',
|
|
20
|
-
yy: '%d imyaka'
|
|
21
|
-
},
|
|
22
|
-
formats: {
|
|
23
|
-
LT: 'HH:mm',
|
|
24
|
-
LTS: 'HH:mm:ss',
|
|
25
|
-
L: 'DD/MM/YYYY',
|
|
26
|
-
LL: 'D MMMM YYYY',
|
|
27
|
-
LLL: 'D MMMM YYYY HH:mm',
|
|
28
|
-
LLLL: 'dddd, D MMMM YYYY HH:mm'
|
|
29
|
-
},
|
|
30
|
-
ordinal: function ordinal(n) {
|
|
31
|
-
return n;
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
dayjs.locale(locale, null, true);
|
|
35
|
-
export default locale;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// Sindhi [sd]
|
|
2
|
-
import dayjs from '../index';
|
|
3
|
-
var locale = {
|
|
4
|
-
name: 'sd',
|
|
5
|
-
weekdays: 'آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر'.split('_'),
|
|
6
|
-
months: 'جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر'.split('_'),
|
|
7
|
-
weekStart: 1,
|
|
8
|
-
weekdaysShort: 'آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر'.split('_'),
|
|
9
|
-
monthsShort: 'جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر'.split('_'),
|
|
10
|
-
weekdaysMin: 'آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر'.split('_'),
|
|
11
|
-
ordinal: function ordinal(n) {
|
|
12
|
-
return n;
|
|
13
|
-
},
|
|
14
|
-
formats: {
|
|
15
|
-
LT: 'HH:mm',
|
|
16
|
-
LTS: 'HH:mm:ss',
|
|
17
|
-
L: 'DD/MM/YYYY',
|
|
18
|
-
LL: 'D MMMM YYYY',
|
|
19
|
-
LLL: 'D MMMM YYYY HH:mm',
|
|
20
|
-
LLLL: 'dddd، D MMMM YYYY HH:mm'
|
|
21
|
-
},
|
|
22
|
-
relativeTime: {
|
|
23
|
-
future: '%s پوء',
|
|
24
|
-
past: '%s اڳ',
|
|
25
|
-
s: 'چند سيڪنڊ',
|
|
26
|
-
m: 'هڪ منٽ',
|
|
27
|
-
mm: '%d منٽ',
|
|
28
|
-
h: 'هڪ ڪلاڪ',
|
|
29
|
-
hh: '%d ڪلاڪ',
|
|
30
|
-
d: 'هڪ ڏينهن',
|
|
31
|
-
dd: '%d ڏينهن',
|
|
32
|
-
M: 'هڪ مهينو',
|
|
33
|
-
MM: '%d مهينا',
|
|
34
|
-
y: 'هڪ سال',
|
|
35
|
-
yy: '%d سال'
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
dayjs.locale(locale, null, true);
|
|
39
|
-
export default locale;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// Northern Sami [se]
|
|
2
|
-
import dayjs from '../index';
|
|
3
|
-
var locale = {
|
|
4
|
-
name: 'se',
|
|
5
|
-
weekdays: 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'),
|
|
6
|
-
months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split('_'),
|
|
7
|
-
weekStart: 1,
|
|
8
|
-
weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),
|
|
9
|
-
monthsShort: 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'),
|
|
10
|
-
weekdaysMin: 's_v_m_g_d_b_L'.split('_'),
|
|
11
|
-
ordinal: function ordinal(n) {
|
|
12
|
-
return n;
|
|
13
|
-
},
|
|
14
|
-
formats: {
|
|
15
|
-
LT: 'HH:mm',
|
|
16
|
-
LTS: 'HH:mm:ss',
|
|
17
|
-
L: 'DD.MM.YYYY',
|
|
18
|
-
LL: 'MMMM D. [b.] YYYY',
|
|
19
|
-
LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm',
|
|
20
|
-
LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm'
|
|
21
|
-
},
|
|
22
|
-
relativeTime: {
|
|
23
|
-
future: '%s geažes',
|
|
24
|
-
past: 'maŋit %s',
|
|
25
|
-
s: 'moadde sekunddat',
|
|
26
|
-
m: 'okta minuhta',
|
|
27
|
-
mm: '%d minuhtat',
|
|
28
|
-
h: 'okta diimmu',
|
|
29
|
-
hh: '%d diimmut',
|
|
30
|
-
d: 'okta beaivi',
|
|
31
|
-
dd: '%d beaivvit',
|
|
32
|
-
M: 'okta mánnu',
|
|
33
|
-
MM: '%d mánut',
|
|
34
|
-
y: 'okta jahki',
|
|
35
|
-
yy: '%d jagit'
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
dayjs.locale(locale, null, true);
|
|
39
|
-
export default locale;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
// Sinhalese [si]
|
|
2
|
-
import dayjs from '../index';
|
|
3
|
-
var locale = {
|
|
4
|
-
name: 'si',
|
|
5
|
-
weekdays: 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split('_'),
|
|
6
|
-
months: 'දුරුතු_නවම්_මැදින්_බක්_වෙසක්_පොසොන්_ඇසළ_නිකිණි_බිනර_වප්_ඉල්_උඳුවප්'.split('_'),
|
|
7
|
-
weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන'.split('_'),
|
|
8
|
-
monthsShort: 'දුරු_නව_මැදි_බක්_වෙස_පොසො_ඇස_නිකි_බින_වප්_ඉල්_උඳු'.split('_'),
|
|
9
|
-
weekdaysMin: 'ඉ_ස_අ_බ_බ්ර_සි_සෙ'.split('_'),
|
|
10
|
-
ordinal: function ordinal(n) {
|
|
11
|
-
return n;
|
|
12
|
-
},
|
|
13
|
-
formats: {
|
|
14
|
-
LT: 'a h:mm',
|
|
15
|
-
LTS: 'a h:mm:ss',
|
|
16
|
-
L: 'YYYY/MM/DD',
|
|
17
|
-
LL: 'YYYY MMMM D',
|
|
18
|
-
LLL: 'YYYY MMMM D, a h:mm',
|
|
19
|
-
LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss'
|
|
20
|
-
},
|
|
21
|
-
relativeTime: {
|
|
22
|
-
future: '%sකින්',
|
|
23
|
-
past: '%sකට පෙර',
|
|
24
|
-
s: 'තත්පර කිහිපය',
|
|
25
|
-
m: 'විනාඩිය',
|
|
26
|
-
mm: 'විනාඩි %d',
|
|
27
|
-
h: 'පැය',
|
|
28
|
-
hh: 'පැය %d',
|
|
29
|
-
d: 'දිනය',
|
|
30
|
-
dd: 'දින %d',
|
|
31
|
-
M: 'මාසය',
|
|
32
|
-
MM: 'මාස %d',
|
|
33
|
-
y: 'වසර',
|
|
34
|
-
yy: 'වසර %d'
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
dayjs.locale(locale, null, true);
|
|
38
|
-
export default locale;
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
// Slovak [sk]
|
|
2
|
-
import dayjs from '../index';
|
|
3
|
-
|
|
4
|
-
function plural(n) {
|
|
5
|
-
return n > 1 && n < 5 && ~~(n / 10) !== 1; // eslint-disable-line
|
|
6
|
-
}
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
function translate(number, withoutSuffix, key, isFuture) {
|
|
11
|
-
var result = number + " ";
|
|
12
|
-
|
|
13
|
-
switch (key) {
|
|
14
|
-
case 's':
|
|
15
|
-
// a few seconds / in a few seconds / a few seconds ago
|
|
16
|
-
return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami';
|
|
17
|
-
|
|
18
|
-
case 'm':
|
|
19
|
-
// a minute / in a minute / a minute ago
|
|
20
|
-
return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou';
|
|
21
|
-
|
|
22
|
-
case 'mm':
|
|
23
|
-
// 9 minutes / in 9 minutes / 9 minutes ago
|
|
24
|
-
if (withoutSuffix || isFuture) {
|
|
25
|
-
return result + (plural(number) ? 'minúty' : 'minút');
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
return result + "min\xFAtami";
|
|
29
|
-
|
|
30
|
-
case 'h':
|
|
31
|
-
// an hour / in an hour / an hour ago
|
|
32
|
-
return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
|
|
33
|
-
|
|
34
|
-
case 'hh':
|
|
35
|
-
// 9 hours / in 9 hours / 9 hours ago
|
|
36
|
-
if (withoutSuffix || isFuture) {
|
|
37
|
-
return result + (plural(number) ? 'hodiny' : 'hodín');
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
return result + "hodinami";
|
|
41
|
-
|
|
42
|
-
case 'd':
|
|
43
|
-
// a day / in a day / a day ago
|
|
44
|
-
return withoutSuffix || isFuture ? 'deň' : 'dňom';
|
|
45
|
-
|
|
46
|
-
case 'dd':
|
|
47
|
-
// 9 days / in 9 days / 9 days ago
|
|
48
|
-
if (withoutSuffix || isFuture) {
|
|
49
|
-
return result + (plural(number) ? 'dni' : 'dní');
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
return result + "d\u0148ami";
|
|
53
|
-
|
|
54
|
-
case 'M':
|
|
55
|
-
// a month / in a month / a month ago
|
|
56
|
-
return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom';
|
|
57
|
-
|
|
58
|
-
case 'MM':
|
|
59
|
-
// 9 months / in 9 months / 9 months ago
|
|
60
|
-
if (withoutSuffix || isFuture) {
|
|
61
|
-
return result + (plural(number) ? 'mesiace' : 'mesiacov');
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
return result + "mesiacmi";
|
|
65
|
-
|
|
66
|
-
case 'y':
|
|
67
|
-
// a year / in a year / a year ago
|
|
68
|
-
return withoutSuffix || isFuture ? 'rok' : 'rokom';
|
|
69
|
-
|
|
70
|
-
case 'yy':
|
|
71
|
-
// 9 years / in 9 years / 9 years ago
|
|
72
|
-
if (withoutSuffix || isFuture) {
|
|
73
|
-
return result + (plural(number) ? 'roky' : 'rokov');
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
return result + "rokmi";
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
/* eslint-enable */
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
var locale = {
|
|
83
|
-
name: 'sk',
|
|
84
|
-
weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),
|
|
85
|
-
weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'),
|
|
86
|
-
weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'),
|
|
87
|
-
months: 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_'),
|
|
88
|
-
monthsShort: 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_'),
|
|
89
|
-
weekStart: 1,
|
|
90
|
-
yearStart: 4,
|
|
91
|
-
ordinal: function ordinal(n) {
|
|
92
|
-
return n + ".";
|
|
93
|
-
},
|
|
94
|
-
formats: {
|
|
95
|
-
LT: 'H:mm',
|
|
96
|
-
LTS: 'H:mm:ss',
|
|
97
|
-
L: 'DD.MM.YYYY',
|
|
98
|
-
LL: 'D. MMMM YYYY',
|
|
99
|
-
LLL: 'D. MMMM YYYY H:mm',
|
|
100
|
-
LLLL: 'dddd D. MMMM YYYY H:mm',
|
|
101
|
-
l: 'D. M. YYYY'
|
|
102
|
-
},
|
|
103
|
-
relativeTime: {
|
|
104
|
-
future: 'za %s',
|
|
105
|
-
// Should be `o %s` (change when moment/moment#5408 is fixed)
|
|
106
|
-
past: 'pred %s',
|
|
107
|
-
s: translate,
|
|
108
|
-
m: translate,
|
|
109
|
-
mm: translate,
|
|
110
|
-
h: translate,
|
|
111
|
-
hh: translate,
|
|
112
|
-
d: translate,
|
|
113
|
-
dd: translate,
|
|
114
|
-
M: translate,
|
|
115
|
-
MM: translate,
|
|
116
|
-
y: translate,
|
|
117
|
-
yy: translate
|
|
118
|
-
}
|
|
119
|
-
};
|
|
120
|
-
dayjs.locale(locale, null, true);
|
|
121
|
-
export default locale;
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
// Slovenian [sl]
|
|
2
|
-
import dayjs from '../index';
|
|
3
|
-
|
|
4
|
-
function dual(n) {
|
|
5
|
-
return n % 100 == 2; // eslint-disable-line
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
function threeFour(n) {
|
|
9
|
-
return n % 100 == 3 || n % 100 == 4; // eslint-disable-line
|
|
10
|
-
}
|
|
11
|
-
/* eslint-disable */
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
function translate(number, withoutSuffix, key, isFuture) {
|
|
15
|
-
var result = number + " ";
|
|
16
|
-
|
|
17
|
-
switch (key) {
|
|
18
|
-
case 's':
|
|
19
|
-
// a few seconds / in a few seconds / a few seconds ago
|
|
20
|
-
return withoutSuffix || isFuture ? 'nekaj sekund' : 'nekaj sekundami';
|
|
21
|
-
|
|
22
|
-
case 'm':
|
|
23
|
-
// a minute / in a minute / a minute ago
|
|
24
|
-
return withoutSuffix ? 'ena minuta' : 'eno minuto';
|
|
25
|
-
|
|
26
|
-
case 'mm':
|
|
27
|
-
// 9 minutes / in 9 minutes / 9 minutes ago
|
|
28
|
-
if (dual(number)) {
|
|
29
|
-
return result + (withoutSuffix || isFuture ? 'minuti' : 'minutama');
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
if (threeFour(number)) {
|
|
33
|
-
return result + (withoutSuffix || isFuture ? 'minute' : 'minutami');
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
return result + (withoutSuffix || isFuture ? 'minut' : 'minutami');
|
|
37
|
-
|
|
38
|
-
case 'h':
|
|
39
|
-
// an hour / in an hour / an hour ago
|
|
40
|
-
return withoutSuffix ? 'ena ura' : isFuture ? 'eno uro' : 'eno uro';
|
|
41
|
-
|
|
42
|
-
case 'hh':
|
|
43
|
-
// 9 hours / in 9 hours / 9 hours ago
|
|
44
|
-
if (dual(number)) {
|
|
45
|
-
return result + (withoutSuffix || isFuture ? 'uri' : 'urama');
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
if (threeFour(number)) {
|
|
49
|
-
return result + (withoutSuffix || isFuture ? 'ure' : 'urami');
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
return result + (withoutSuffix || isFuture ? 'ur' : 'urami');
|
|
53
|
-
|
|
54
|
-
case 'd':
|
|
55
|
-
// a day / in a day / a day ago
|
|
56
|
-
return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';
|
|
57
|
-
|
|
58
|
-
case 'dd':
|
|
59
|
-
// 9 days / in 9 days / 9 days ago
|
|
60
|
-
if (dual(number)) {
|
|
61
|
-
return result + (withoutSuffix || isFuture ? 'dneva' : 'dnevoma');
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
return result + (withoutSuffix || isFuture ? 'dni' : 'dnevi');
|
|
65
|
-
|
|
66
|
-
case 'M':
|
|
67
|
-
// a month / in a month / a month ago
|
|
68
|
-
return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';
|
|
69
|
-
|
|
70
|
-
case 'MM':
|
|
71
|
-
// 9 months / in 9 months / 9 months ago
|
|
72
|
-
if (dual(number)) {
|
|
73
|
-
// 2 minutes / in 2 minutes
|
|
74
|
-
return result + (withoutSuffix || isFuture ? 'meseca' : 'mesecema');
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
if (threeFour(number)) {
|
|
78
|
-
return result + (withoutSuffix || isFuture ? 'mesece' : 'meseci');
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
return result + (withoutSuffix || isFuture ? 'mesecev' : 'meseci');
|
|
82
|
-
|
|
83
|
-
case 'y':
|
|
84
|
-
// a year / in a year / a year ago
|
|
85
|
-
return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';
|
|
86
|
-
|
|
87
|
-
case 'yy':
|
|
88
|
-
// 9 years / in 9 years / 9 years ago
|
|
89
|
-
if (dual(number)) {
|
|
90
|
-
// 2 minutes / in 2 minutes
|
|
91
|
-
return result + (withoutSuffix || isFuture ? 'leti' : 'letoma');
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
if (threeFour(number)) {
|
|
95
|
-
return result + (withoutSuffix || isFuture ? 'leta' : 'leti');
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
return result + (withoutSuffix || isFuture ? 'let' : 'leti');
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
/* eslint-enable */
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
var locale = {
|
|
105
|
-
name: 'sl',
|
|
106
|
-
weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),
|
|
107
|
-
months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split('_'),
|
|
108
|
-
weekStart: 1,
|
|
109
|
-
weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'),
|
|
110
|
-
monthsShort: 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'),
|
|
111
|
-
weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'),
|
|
112
|
-
ordinal: function ordinal(n) {
|
|
113
|
-
return n + ".";
|
|
114
|
-
},
|
|
115
|
-
formats: {
|
|
116
|
-
LT: 'H:mm',
|
|
117
|
-
LTS: 'H:mm:ss',
|
|
118
|
-
L: 'DD.MM.YYYY',
|
|
119
|
-
LL: 'D. MMMM YYYY',
|
|
120
|
-
LLL: 'D. MMMM YYYY H:mm',
|
|
121
|
-
LLLL: 'dddd, D. MMMM YYYY H:mm',
|
|
122
|
-
l: 'D. M. YYYY'
|
|
123
|
-
},
|
|
124
|
-
relativeTime: {
|
|
125
|
-
future: 'čez %s',
|
|
126
|
-
past: 'pred %s',
|
|
127
|
-
s: translate,
|
|
128
|
-
m: translate,
|
|
129
|
-
mm: translate,
|
|
130
|
-
h: translate,
|
|
131
|
-
hh: translate,
|
|
132
|
-
d: translate,
|
|
133
|
-
dd: translate,
|
|
134
|
-
M: translate,
|
|
135
|
-
MM: translate,
|
|
136
|
-
y: translate,
|
|
137
|
-
yy: translate
|
|
138
|
-
}
|
|
139
|
-
};
|
|
140
|
-
dayjs.locale(locale, null, true);
|
|
141
|
-
export default locale;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// Albanian [sq]
|
|
2
|
-
import dayjs from '../index';
|
|
3
|
-
var locale = {
|
|
4
|
-
name: 'sq',
|
|
5
|
-
weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'),
|
|
6
|
-
months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'),
|
|
7
|
-
weekStart: 1,
|
|
8
|
-
weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
|
|
9
|
-
monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
|
|
10
|
-
weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'),
|
|
11
|
-
ordinal: function ordinal(n) {
|
|
12
|
-
return n;
|
|
13
|
-
},
|
|
14
|
-
formats: {
|
|
15
|
-
LT: 'HH:mm',
|
|
16
|
-
LTS: 'HH:mm:ss',
|
|
17
|
-
L: 'DD/MM/YYYY',
|
|
18
|
-
LL: 'D MMMM YYYY',
|
|
19
|
-
LLL: 'D MMMM YYYY HH:mm',
|
|
20
|
-
LLLL: 'dddd, D MMMM YYYY HH:mm'
|
|
21
|
-
},
|
|
22
|
-
relativeTime: {
|
|
23
|
-
future: 'në %s',
|
|
24
|
-
past: '%s më parë',
|
|
25
|
-
s: 'disa sekonda',
|
|
26
|
-
m: 'një minutë',
|
|
27
|
-
mm: '%d minuta',
|
|
28
|
-
h: 'një orë',
|
|
29
|
-
hh: '%d orë',
|
|
30
|
-
d: 'një ditë',
|
|
31
|
-
dd: '%d ditë',
|
|
32
|
-
M: 'një muaj',
|
|
33
|
-
MM: '%d muaj',
|
|
34
|
-
y: 'një vit',
|
|
35
|
-
yy: '%d vite'
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
dayjs.locale(locale, null, true);
|
|
39
|
-
export default locale;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
// Serbian Cyrillic [sr-cyrl]
|
|
2
|
-
import dayjs from '../index';
|
|
3
|
-
var translator = {
|
|
4
|
-
words: {
|
|
5
|
-
m: ['један минут', 'једног минута'],
|
|
6
|
-
mm: ['%d минут', '%d минута', '%d минута'],
|
|
7
|
-
h: ['један сат', 'једног сата'],
|
|
8
|
-
hh: ['%d сат', '%d сата', '%d сати'],
|
|
9
|
-
d: ['један дан', 'једног дана'],
|
|
10
|
-
dd: ['%d дан', '%d дана', '%d дана'],
|
|
11
|
-
M: ['један месец', 'једног месеца'],
|
|
12
|
-
MM: ['%d месец', '%d месеца', '%d месеци'],
|
|
13
|
-
y: ['једну годину', 'једне године'],
|
|
14
|
-
yy: ['%d годину', '%d године', '%d година']
|
|
15
|
-
},
|
|
16
|
-
correctGrammarCase: function correctGrammarCase(number, wordKey) {
|
|
17
|
-
if (number % 10 >= 1 && number % 10 <= 4 && (number % 100 < 10 || number % 100 >= 20)) {
|
|
18
|
-
return number % 10 === 1 ? wordKey[0] : wordKey[1];
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
return wordKey[2];
|
|
22
|
-
},
|
|
23
|
-
relativeTimeFormatter: function relativeTimeFormatter(number, withoutSuffix, key, isFuture) {
|
|
24
|
-
var wordKey = translator.words[key];
|
|
25
|
-
|
|
26
|
-
if (key.length === 1) {
|
|
27
|
-
// Nominativ
|
|
28
|
-
if (key === 'y' && withoutSuffix) return 'једна година';
|
|
29
|
-
return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
var word = translator.correctGrammarCase(number, wordKey); // Nominativ
|
|
33
|
-
|
|
34
|
-
if (key === 'yy' && withoutSuffix && word === '%d годину') return number + " \u0433\u043E\u0434\u0438\u043D\u0430";
|
|
35
|
-
return word.replace('%d', number);
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
var locale = {
|
|
39
|
-
name: 'sr-cyrl',
|
|
40
|
-
weekdays: 'Недеља_Понедељак_Уторак_Среда_Четвртак_Петак_Субота'.split('_'),
|
|
41
|
-
weekdaysShort: 'Нед._Пон._Уто._Сре._Чет._Пет._Суб.'.split('_'),
|
|
42
|
-
weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'),
|
|
43
|
-
months: 'Јануар_Фебруар_Март_Април_Мај_Јун_Јул_Август_Септембар_Октобар_Новембар_Децембар'.split('_'),
|
|
44
|
-
monthsShort: 'Јан._Феб._Мар._Апр._Мај_Јун_Јул_Авг._Сеп._Окт._Нов._Дец.'.split('_'),
|
|
45
|
-
weekStart: 1,
|
|
46
|
-
relativeTime: {
|
|
47
|
-
future: 'за %s',
|
|
48
|
-
past: 'пре %s',
|
|
49
|
-
s: 'неколико секунди',
|
|
50
|
-
m: translator.relativeTimeFormatter,
|
|
51
|
-
mm: translator.relativeTimeFormatter,
|
|
52
|
-
h: translator.relativeTimeFormatter,
|
|
53
|
-
hh: translator.relativeTimeFormatter,
|
|
54
|
-
d: translator.relativeTimeFormatter,
|
|
55
|
-
dd: translator.relativeTimeFormatter,
|
|
56
|
-
M: translator.relativeTimeFormatter,
|
|
57
|
-
MM: translator.relativeTimeFormatter,
|
|
58
|
-
y: translator.relativeTimeFormatter,
|
|
59
|
-
yy: translator.relativeTimeFormatter
|
|
60
|
-
},
|
|
61
|
-
ordinal: function ordinal(n) {
|
|
62
|
-
return n + ".";
|
|
63
|
-
},
|
|
64
|
-
formats: {
|
|
65
|
-
LT: 'H:mm',
|
|
66
|
-
LTS: 'H:mm:ss',
|
|
67
|
-
L: 'D. M. YYYY.',
|
|
68
|
-
LL: 'D. MMMM YYYY.',
|
|
69
|
-
LLL: 'D. MMMM YYYY. H:mm',
|
|
70
|
-
LLLL: 'dddd, D. MMMM YYYY. H:mm'
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
dayjs.locale(locale, null, true);
|
|
74
|
-
export default locale;
|