@ozdao/prometheus-framework 0.2.42 → 0.2.44
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main-2247448a.js +91 -0
- package/dist/main-6c51a895.mjs +13628 -0
- package/dist/main-Ft_OvlW_.mjs +13606 -0
- package/dist/main-iZBAe91V.js +91 -0
- package/dist/main.css +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +15 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.cjs +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +52 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +18 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +17 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +16 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +15 -0
- package/dist/node_modules/@capacitor/core/dist/index.cjs +1 -0
- package/dist/node_modules/@capacitor/core/dist/index.js +337 -0
- package/dist/node_modules/@capacitor/preferences/dist/esm/index.cjs +1 -0
- package/dist/node_modules/@capacitor/preferences/dist/esm/index.js +7 -0
- package/dist/node_modules/@capacitor/preferences/dist/esm/web.cjs +1 -0
- package/dist/node_modules/@capacitor/preferences/dist/esm/web.js +54 -0
- package/dist/node_modules/@vuepic/vue-datepicker/dist/main.css.cjs +1 -0
- package/dist/node_modules/@vuepic/vue-datepicker/dist/main.css.js +1 -0
- package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -0
- package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +4912 -0
- package/dist/node_modules/axios/lib/adapters/adapters.cjs +3 -0
- package/dist/node_modules/axios/lib/adapters/adapters.js +51 -0
- package/dist/node_modules/axios/lib/adapters/xhr.cjs +1 -0
- package/dist/node_modules/axios/lib/adapters/xhr.js +109 -0
- package/dist/node_modules/axios/lib/axios.cjs +1 -0
- package/dist/node_modules/axios/lib/axios.js +47 -0
- package/dist/node_modules/axios/lib/cancel/CancelToken.cjs +1 -0
- package/dist/node_modules/axios/lib/cancel/CancelToken.js +73 -0
- package/dist/node_modules/axios/lib/cancel/CanceledError.cjs +1 -0
- package/dist/node_modules/axios/lib/cancel/CanceledError.js +11 -0
- package/dist/node_modules/axios/lib/cancel/isCancel.cjs +1 -0
- package/dist/node_modules/axios/lib/cancel/isCancel.js +6 -0
- package/dist/node_modules/axios/lib/core/Axios.cjs +2 -0
- package/dist/node_modules/axios/lib/core/Axios.js +131 -0
- package/dist/node_modules/axios/lib/core/AxiosError.cjs +1 -0
- package/dist/node_modules/axios/lib/core/AxiosError.js +54 -0
- package/dist/node_modules/axios/lib/core/AxiosHeaders.cjs +2 -0
- package/dist/node_modules/axios/lib/core/AxiosHeaders.js +165 -0
- package/dist/node_modules/axios/lib/core/InterceptorManager.cjs +1 -0
- package/dist/node_modules/axios/lib/core/InterceptorManager.js +58 -0
- package/dist/node_modules/axios/lib/core/buildFullPath.cjs +1 -0
- package/dist/node_modules/axios/lib/core/buildFullPath.js +8 -0
- package/dist/node_modules/axios/lib/core/dispatchRequest.cjs +1 -0
- package/dist/node_modules/axios/lib/core/dispatchRequest.js +31 -0
- package/dist/node_modules/axios/lib/core/mergeConfig.cjs +1 -0
- package/dist/node_modules/axios/lib/core/mergeConfig.js +72 -0
- package/dist/node_modules/axios/lib/core/settle.cjs +1 -0
- package/dist/node_modules/axios/lib/core/settle.js +14 -0
- package/dist/node_modules/axios/lib/core/transformData.cjs +1 -0
- package/dist/node_modules/axios/lib/core/transformData.js +13 -0
- package/dist/node_modules/axios/lib/defaults/index.cjs +1 -0
- package/dist/node_modules/axios/lib/defaults/index.js +88 -0
- package/dist/node_modules/axios/lib/defaults/transitional.cjs +1 -0
- package/dist/node_modules/axios/lib/defaults/transitional.js +8 -0
- package/dist/node_modules/axios/lib/env/data.cjs +1 -0
- package/dist/node_modules/axios/lib/env/data.js +4 -0
- package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
- package/dist/node_modules/axios/lib/helpers/HttpStatusCode.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +72 -0
- package/dist/node_modules/axios/lib/helpers/bind.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/bind.js +8 -0
- package/dist/node_modules/axios/lib/helpers/buildURL.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/buildURL.js +19 -0
- package/dist/node_modules/axios/lib/helpers/combineURLs.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/combineURLs.js +6 -0
- package/dist/node_modules/axios/lib/helpers/cookies.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/cookies.js +32 -0
- package/dist/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +32 -0
- package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
- package/dist/node_modules/axios/lib/helpers/isAxiosError.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
- package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +37 -0
- package/dist/node_modules/axios/lib/helpers/null.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/null.js +4 -0
- package/dist/node_modules/axios/lib/helpers/parseHeaders.cjs +2 -0
- package/dist/node_modules/axios/lib/helpers/parseHeaders.js +30 -0
- package/dist/node_modules/axios/lib/helpers/parseProtocol.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
- package/dist/node_modules/axios/lib/helpers/speedometer.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/speedometer.js +19 -0
- package/dist/node_modules/axios/lib/helpers/spread.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/spread.js +8 -0
- package/dist/node_modules/axios/lib/helpers/toFormData.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/toFormData.js +84 -0
- package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
- package/dist/node_modules/axios/lib/helpers/validator.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/validator.js +51 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/Blob.cjs +1 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/FormData.cjs +1 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +1 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
- package/dist/node_modules/axios/lib/platform/browser/index.cjs +1 -0
- package/dist/node_modules/axios/lib/platform/browser/index.js +15 -0
- package/dist/node_modules/axios/lib/platform/common/utils.cjs +1 -0
- package/dist/node_modules/axios/lib/platform/common/utils.js +7 -0
- package/dist/node_modules/axios/lib/platform/index.cjs +1 -0
- package/dist/node_modules/axios/lib/platform/index.js +9 -0
- package/dist/node_modules/axios/lib/utils.cjs +1 -0
- package/dist/node_modules/axios/lib/utils.js +224 -0
- package/dist/node_modules/bignumber.js/bignumber.cjs +1 -0
- package/dist/node_modules/bignumber.js/bignumber.js +701 -0
- package/dist/node_modules/date-fns/esm/_lib/addLeadingZeros/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js +8 -0
- package/dist/node_modules/date-fns/esm/_lib/assign/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/assign/index.js +10 -0
- package/dist/node_modules/date-fns/esm/_lib/defaultLocale/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/defaultLocale/index.js +4 -0
- package/dist/node_modules/date-fns/esm/_lib/defaultOptions/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/defaultOptions/index.js +7 -0
- package/dist/node_modules/date-fns/esm/_lib/format/formatters/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/format/formatters/index.js +573 -0
- package/dist/node_modules/date-fns/esm/_lib/format/lightFormatters/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js +58 -0
- package/dist/node_modules/date-fns/esm/_lib/format/longFormatters/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/format/longFormatters/index.js +76 -0
- package/dist/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js +7 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js +13 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js +13 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js +15 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCWeek/index.js +13 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js +21 -0
- package/dist/node_modules/date-fns/esm/_lib/protectedTokens/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/protectedTokens/index.js +22 -0
- package/dist/node_modules/date-fns/esm/_lib/requiredArgs/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/requiredArgs/index.js +7 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCDay/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCDay/index.js +16 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCISODay/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCISODay/index.js +13 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js +12 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCWeek/index.js +12 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js +10 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js +13 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js +16 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js +16 -0
- package/dist/node_modules/date-fns/esm/_lib/toInteger/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/toInteger/index.js +9 -0
- package/dist/node_modules/date-fns/esm/add/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/add/index.js +15 -0
- package/dist/node_modules/date-fns/esm/addDays/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/addDays/index.js +11 -0
- package/dist/node_modules/date-fns/esm/addMilliseconds/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/addMilliseconds/index.js +11 -0
- package/dist/node_modules/date-fns/esm/addMonths/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/addMonths/index.js +18 -0
- package/dist/node_modules/date-fns/esm/addQuarters/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/addQuarters/index.js +11 -0
- package/dist/node_modules/date-fns/esm/addYears/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/addYears/index.js +11 -0
- package/dist/node_modules/date-fns/esm/constants/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/constants/index.js +6 -0
- package/dist/node_modules/date-fns/esm/differenceInCalendarDays/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/differenceInCalendarDays/index.js +12 -0
- package/dist/node_modules/date-fns/esm/eachDayOfInterval/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/eachDayOfInterval/index.js +20 -0
- package/dist/node_modules/date-fns/esm/eachQuarterOfInterval/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/eachQuarterOfInterval/index.js +18 -0
- package/dist/node_modules/date-fns/esm/endOfQuarter/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/endOfQuarter/index.js +10 -0
- package/dist/node_modules/date-fns/esm/endOfWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/endOfWeek/index.js +16 -0
- package/dist/node_modules/date-fns/esm/endOfYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/endOfYear/index.js +10 -0
- package/dist/node_modules/date-fns/esm/format/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/format/index.js +62 -0
- package/dist/node_modules/date-fns/esm/getDay/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getDay/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getDaysInMonth/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getDaysInMonth/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getHours/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getHours/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getISOWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getISOWeek/index.js +13 -0
- package/dist/node_modules/date-fns/esm/getISOWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getISOWeekYear/index.js +15 -0
- package/dist/node_modules/date-fns/esm/getMinutes/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getMinutes/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getMonth/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getMonth/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getQuarter/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getQuarter/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getSeconds/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getSeconds/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getWeek/index.js +13 -0
- package/dist/node_modules/date-fns/esm/getWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getWeekYear/index.js +21 -0
- package/dist/node_modules/date-fns/esm/getYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getYear/index.js +8 -0
- package/dist/node_modules/date-fns/esm/isAfter/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/isAfter/index.js +10 -0
- package/dist/node_modules/date-fns/esm/isBefore/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/isBefore/index.js +10 -0
- package/dist/node_modules/date-fns/esm/isDate/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/isDate/index.js +8 -0
- package/dist/node_modules/date-fns/esm/isEqual/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/isEqual/index.js +10 -0
- package/dist/node_modules/date-fns/esm/isSameQuarter/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/isSameQuarter/index.js +10 -0
- package/dist/node_modules/date-fns/esm/isValid/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/isValid/index.js +12 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js +9 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js +17 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js +31 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js +20 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js +70 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js +34 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js +14 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js +124 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/match/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js +89 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/index.js +21 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/Parser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/Parser.js +27 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/Setter.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/Setter.js +59 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/constants.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/constants.js +49 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMMidnightParser.js +61 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMParser.js +61 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DateParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DateParser.js +49 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayOfYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayOfYearParser.js +50 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayParser.js +80 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayPeriodParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayPeriodParser.js +61 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/EraParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/EraParser.js +54 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ExtendedYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ExtendedYearParser.js +33 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/FractionOfSecondParser.js +36 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0To11Parser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0To11Parser.js +49 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0to23Parser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0to23Parser.js +48 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1To24Parser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1To24Parser.js +49 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1to12Parser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1to12Parser.js +49 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISODayParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISODayParser.js +89 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneParser.js +46 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneWithZParser.js +46 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekParser.js +50 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekYearParser.js +35 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalDayParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalDayParser.js +90 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekParser.js +50 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekYearParser.js +61 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MinuteParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MinuteParser.js +48 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MonthParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MonthParser.js +76 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/QuarterParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/QuarterParser.js +71 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/SecondParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/SecondParser.js +48 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneLocalDayParser.js +90 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneMonthParser.js +76 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneQuarterParser.js +71 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampMillisecondsParser.js +35 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampSecondsParser.js +35 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/YearParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/YearParser.js +59 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/index.js +67 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/utils.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/utils.js +102 -0
- package/dist/node_modules/date-fns/esm/parse/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/index.js +128 -0
- package/dist/node_modules/date-fns/esm/parseISO/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parseISO/index.js +120 -0
- package/dist/node_modules/date-fns/esm/set/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/set/index.js +14 -0
- package/dist/node_modules/date-fns/esm/setHours/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/setHours/index.js +11 -0
- package/dist/node_modules/date-fns/esm/setMilliseconds/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/setMilliseconds/index.js +11 -0
- package/dist/node_modules/date-fns/esm/setMinutes/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/setMinutes/index.js +11 -0
- package/dist/node_modules/date-fns/esm/setMonth/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/setMonth/index.js +14 -0
- package/dist/node_modules/date-fns/esm/setSeconds/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/setSeconds/index.js +11 -0
- package/dist/node_modules/date-fns/esm/setYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/setYear/index.js +11 -0
- package/dist/node_modules/date-fns/esm/startOfDay/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfDay/index.js +10 -0
- package/dist/node_modules/date-fns/esm/startOfISOWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfISOWeek/index.js +10 -0
- package/dist/node_modules/date-fns/esm/startOfISOWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfISOWeekYear/index.js +13 -0
- package/dist/node_modules/date-fns/esm/startOfQuarter/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfQuarter/index.js +10 -0
- package/dist/node_modules/date-fns/esm/startOfWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfWeek/index.js +16 -0
- package/dist/node_modules/date-fns/esm/startOfWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfWeekYear/index.js +16 -0
- package/dist/node_modules/date-fns/esm/startOfYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfYear/index.js +10 -0
- package/dist/node_modules/date-fns/esm/sub/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/sub/index.js +14 -0
- package/dist/node_modules/date-fns/esm/subDays/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/subDays/index.js +11 -0
- package/dist/node_modules/date-fns/esm/subMilliseconds/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/subMilliseconds/index.js +11 -0
- package/dist/node_modules/date-fns/esm/subMonths/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/subMonths/index.js +11 -0
- package/dist/node_modules/date-fns/esm/subYears/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/subYears/index.js +11 -0
- package/dist/node_modules/date-fns/esm/toDate/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/toDate/index.js +10 -0
- package/dist/node_modules/libphonenumber-js/es6/ParseError.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/ParseError.js +113 -0
- package/dist/node_modules/libphonenumber-js/es6/PhoneNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/PhoneNumber.js +150 -0
- package/dist/node_modules/libphonenumber-js/es6/constants.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/constants.js +10 -0
- package/dist/node_modules/libphonenumber-js/es6/format.cjs +2 -0
- package/dist/node_modules/libphonenumber-js/es6/format.js +134 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/RFC3966.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +11 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +7 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +22 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +11 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +18 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +47 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +22 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +23 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +35 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +31 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js +23 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +27 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +17 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.cjs +2 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +58 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +12 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getNumberType.cjs +2 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +56 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +14 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/isObject.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/isObject.js +7 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +20 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +6 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/mergeArrays.cjs +2 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js +43 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/parseDigits.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +79 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +19 -0
- package/dist/node_modules/libphonenumber-js/es6/isPossible.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/isPossible.js +38 -0
- package/dist/node_modules/libphonenumber-js/es6/isValid.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/isValid.js +12 -0
- package/dist/node_modules/libphonenumber-js/es6/metadata.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/metadata.js +460 -0
- package/dist/node_modules/libphonenumber-js/es6/normalizeArguments.cjs +2 -0
- package/dist/node_modules/libphonenumber-js/es6/normalizeArguments.js +96 -0
- package/dist/node_modules/libphonenumber-js/es6/parse.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/parse.js +121 -0
- package/dist/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.cjs +2 -0
- package/dist/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +53 -0
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +9 -0
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +33 -0
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber_.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +41 -0
- package/dist/node_modules/libphonenumber-js/es6/tools/semver-compare.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/tools/semver-compare.js +18 -0
- package/dist/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/metadata.min.json.js +4 -0
- package/dist/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js +8 -0
- package/dist/node_modules/libphonenumber-js/min/exports/withMetadataArgument.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js +8 -0
- package/dist/prometheus-framework.cjs.js +1 -36
- package/dist/prometheus-framework.es.js +37 -9163
- package/dist/style.css +1 -1
- package/dist/web-65c35f46.mjs +55 -0
- package/dist/web-Ot-Nyiix.mjs +55 -0
- package/dist/web-adbe95b6.js +1 -0
- package/dist/web-tkW-RBhL.js +1 -0
- package/package.json +2 -2
- package/src/components/Status/Status.vue +3 -1
- package/src/components/index.js +20 -0
- package/src/main.js +60 -2
- package/src/modules/payments/{controller → controllers}/payments.controller.js +15 -11
- package/src/modules/products/products.client.js +35 -0
- package/src/modules/products/products.server.js +2 -2
- /package/src/modules/payments/{controller → controllers}/payments.tinkoff.controller.js +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function u(t,a){for(var r=t<0?"-":"",e=Math.abs(t).toString();e.length<a;)e="0"+e;return r+e}exports.default=u;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function u(e,n){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e}exports.default=u;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../locale/en-US/index.cjs");exports.default=e.default;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t={};function e(){return t}exports.getDefaultOptions=e;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const g=require("../../getUTCDayOfYear/index.cjs"),w=require("../../getUTCISOWeek/index.cjs"),v=require("../../getUTCISOWeekYear/index.cjs"),l=require("../../getUTCWeek/index.cjs"),b=require("../../getUTCWeekYear/index.cjs"),o=require("../../addLeadingZeros/index.cjs"),d=require("../lightFormatters/index.cjs");var s={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},x={G:function(n,r,t){var e=n.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return t.era(e,{width:"abbreviated"});case"GGGGG":return t.era(e,{width:"narrow"});case"GGGG":default:return t.era(e,{width:"wide"})}},y:function(n,r,t){if(r==="yo"){var e=n.getUTCFullYear(),a=e>0?e:1-e;return t.ordinalNumber(a,{unit:"year"})}return d.default.y(n,r)},Y:function(n,r,t,e){var a=b.default(n,e),u=a>0?a:1-a;if(r==="YY"){var m=u%100;return o.default(m,2)}return r==="Yo"?t.ordinalNumber(u,{unit:"year"}):o.default(u,r.length)},R:function(n,r){var t=v.default(n);return o.default(t,r.length)},u:function(n,r){var t=n.getUTCFullYear();return o.default(t,r.length)},Q:function(n,r,t){var e=Math.ceil((n.getUTCMonth()+1)/3);switch(r){case"Q":return String(e);case"QQ":return o.default(e,2);case"Qo":return t.ordinalNumber(e,{unit:"quarter"});case"QQQ":return t.quarter(e,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(e,{width:"wide",context:"formatting"})}},q:function(n,r,t){var e=Math.ceil((n.getUTCMonth()+1)/3);switch(r){case"q":return String(e);case"qq":return o.default(e,2);case"qo":return t.ordinalNumber(e,{unit:"quarter"});case"qqq":return t.quarter(e,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(e,{width:"wide",context:"standalone"})}},M:function(n,r,t){var e=n.getUTCMonth();switch(r){case"M":case"MM":return d.default.M(n,r);case"Mo":return t.ordinalNumber(e+1,{unit:"month"});case"MMM":return t.month(e,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(e,{width:"wide",context:"formatting"})}},L:function(n,r,t){var e=n.getUTCMonth();switch(r){case"L":return String(e+1);case"LL":return o.default(e+1,2);case"Lo":return t.ordinalNumber(e+1,{unit:"month"});case"LLL":return t.month(e,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(e,{width:"wide",context:"standalone"})}},w:function(n,r,t,e){var a=l.default(n,e);return r==="wo"?t.ordinalNumber(a,{unit:"week"}):o.default(a,r.length)},I:function(n,r,t){var e=w.default(n);return r==="Io"?t.ordinalNumber(e,{unit:"week"}):o.default(e,r.length)},d:function(n,r,t){return r==="do"?t.ordinalNumber(n.getUTCDate(),{unit:"date"}):d.default.d(n,r)},D:function(n,r,t){var e=g.default(n);return r==="Do"?t.ordinalNumber(e,{unit:"dayOfYear"}):o.default(e,r.length)},E:function(n,r,t){var e=n.getUTCDay();switch(r){case"E":case"EE":case"EEE":return t.day(e,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(e,{width:"short",context:"formatting"});case"EEEE":default:return t.day(e,{width:"wide",context:"formatting"})}},e:function(n,r,t,e){var a=n.getUTCDay(),u=(a-e.weekStartsOn+8)%7||7;switch(r){case"e":return String(u);case"ee":return o.default(u,2);case"eo":return t.ordinalNumber(u,{unit:"day"});case"eee":return t.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(a,{width:"short",context:"formatting"});case"eeee":default:return t.day(a,{width:"wide",context:"formatting"})}},c:function(n,r,t,e){var a=n.getUTCDay(),u=(a-e.weekStartsOn+8)%7||7;switch(r){case"c":return String(u);case"cc":return o.default(u,r.length);case"co":return t.ordinalNumber(u,{unit:"day"});case"ccc":return t.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(a,{width:"narrow",context:"standalone"});case"cccccc":return t.day(a,{width:"short",context:"standalone"});case"cccc":default:return t.day(a,{width:"wide",context:"standalone"})}},i:function(n,r,t){var e=n.getUTCDay(),a=e===0?7:e;switch(r){case"i":return String(a);case"ii":return o.default(a,r.length);case"io":return t.ordinalNumber(a,{unit:"day"});case"iii":return t.day(e,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(e,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(e,{width:"short",context:"formatting"});case"iiii":default:return t.day(e,{width:"wide",context:"formatting"})}},a:function(n,r,t){var e=n.getUTCHours(),a=e/12>=1?"pm":"am";switch(r){case"a":case"aa":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(n,r,t){var e=n.getUTCHours(),a;switch(e===12?a=s.noon:e===0?a=s.midnight:a=e/12>=1?"pm":"am",r){case"b":case"bb":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(n,r,t){var e=n.getUTCHours(),a;switch(e>=17?a=s.evening:e>=12?a=s.afternoon:e>=4?a=s.morning:a=s.night,r){case"B":case"BB":case"BBB":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(n,r,t){if(r==="ho"){var e=n.getUTCHours()%12;return e===0&&(e=12),t.ordinalNumber(e,{unit:"hour"})}return d.default.h(n,r)},H:function(n,r,t){return r==="Ho"?t.ordinalNumber(n.getUTCHours(),{unit:"hour"}):d.default.H(n,r)},K:function(n,r,t){var e=n.getUTCHours()%12;return r==="Ko"?t.ordinalNumber(e,{unit:"hour"}):o.default(e,r.length)},k:function(n,r,t){var e=n.getUTCHours();return e===0&&(e=24),r==="ko"?t.ordinalNumber(e,{unit:"hour"}):o.default(e,r.length)},m:function(n,r,t){return r==="mo"?t.ordinalNumber(n.getUTCMinutes(),{unit:"minute"}):d.default.m(n,r)},s:function(n,r,t){return r==="so"?t.ordinalNumber(n.getUTCSeconds(),{unit:"second"}):d.default.s(n,r)},S:function(n,r){return d.default.S(n,r)},X:function(n,r,t,e){var a=e._originalDate||n,u=a.getTimezoneOffset();if(u===0)return"Z";switch(r){case"X":return h(u);case"XXXX":case"XX":return c(u);case"XXXXX":case"XXX":default:return c(u,":")}},x:function(n,r,t,e){var a=e._originalDate||n,u=a.getTimezoneOffset();switch(r){case"x":return h(u);case"xxxx":case"xx":return c(u);case"xxxxx":case"xxx":default:return c(u,":")}},O:function(n,r,t,e){var a=e._originalDate||n,u=a.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+f(u,":");case"OOOO":default:return"GMT"+c(u,":")}},z:function(n,r,t,e){var a=e._originalDate||n,u=a.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+f(u,":");case"zzzz":default:return"GMT"+c(u,":")}},t:function(n,r,t,e){var a=e._originalDate||n,u=Math.floor(a.getTime()/1e3);return o.default(u,r.length)},T:function(n,r,t,e){var a=e._originalDate||n,u=a.getTime();return o.default(u,r.length)}};function f(i,n){var r=i>0?"-":"+",t=Math.abs(i),e=Math.floor(t/60),a=t%60;if(a===0)return r+String(e);var u=n||"";return r+String(e)+u+o.default(a,2)}function h(i,n){if(i%60===0){var r=i>0?"-":"+";return r+o.default(Math.abs(i)/60,2)}return c(i,n)}function c(i,n){var r=n||"",t=i>0?"-":"+",e=Math.abs(i),a=o.default(Math.floor(e/60),2),u=o.default(e%60,2);return t+a+r+u}exports.default=x;
|
@@ -0,0 +1,573 @@
|
|
1
|
+
import g from "../../getUTCDayOfYear/index.js";
|
2
|
+
import w from "../../getUTCISOWeek/index.js";
|
3
|
+
import v from "../../getUTCISOWeekYear/index.js";
|
4
|
+
import b from "../../getUTCWeek/index.js";
|
5
|
+
import x from "../../getUTCWeekYear/index.js";
|
6
|
+
import o from "../../addLeadingZeros/index.js";
|
7
|
+
import c from "../lightFormatters/index.js";
|
8
|
+
var s = {
|
9
|
+
am: "am",
|
10
|
+
pm: "pm",
|
11
|
+
midnight: "midnight",
|
12
|
+
noon: "noon",
|
13
|
+
morning: "morning",
|
14
|
+
afternoon: "afternoon",
|
15
|
+
evening: "evening",
|
16
|
+
night: "night"
|
17
|
+
}, E = {
|
18
|
+
// Era
|
19
|
+
G: function(n, e, t) {
|
20
|
+
var r = n.getUTCFullYear() > 0 ? 1 : 0;
|
21
|
+
switch (e) {
|
22
|
+
case "G":
|
23
|
+
case "GG":
|
24
|
+
case "GGG":
|
25
|
+
return t.era(r, {
|
26
|
+
width: "abbreviated"
|
27
|
+
});
|
28
|
+
case "GGGGG":
|
29
|
+
return t.era(r, {
|
30
|
+
width: "narrow"
|
31
|
+
});
|
32
|
+
case "GGGG":
|
33
|
+
default:
|
34
|
+
return t.era(r, {
|
35
|
+
width: "wide"
|
36
|
+
});
|
37
|
+
}
|
38
|
+
},
|
39
|
+
// Year
|
40
|
+
y: function(n, e, t) {
|
41
|
+
if (e === "yo") {
|
42
|
+
var r = n.getUTCFullYear(), a = r > 0 ? r : 1 - r;
|
43
|
+
return t.ordinalNumber(a, {
|
44
|
+
unit: "year"
|
45
|
+
});
|
46
|
+
}
|
47
|
+
return c.y(n, e);
|
48
|
+
},
|
49
|
+
// Local week-numbering year
|
50
|
+
Y: function(n, e, t, r) {
|
51
|
+
var a = x(n, r), u = a > 0 ? a : 1 - a;
|
52
|
+
if (e === "YY") {
|
53
|
+
var h = u % 100;
|
54
|
+
return o(h, 2);
|
55
|
+
}
|
56
|
+
return e === "Yo" ? t.ordinalNumber(u, {
|
57
|
+
unit: "year"
|
58
|
+
}) : o(u, e.length);
|
59
|
+
},
|
60
|
+
// ISO week-numbering year
|
61
|
+
R: function(n, e) {
|
62
|
+
var t = v(n);
|
63
|
+
return o(t, e.length);
|
64
|
+
},
|
65
|
+
// Extended year. This is a single number designating the year of this calendar system.
|
66
|
+
// The main difference between `y` and `u` localizers are B.C. years:
|
67
|
+
// | Year | `y` | `u` |
|
68
|
+
// |------|-----|-----|
|
69
|
+
// | AC 1 | 1 | 1 |
|
70
|
+
// | BC 1 | 1 | 0 |
|
71
|
+
// | BC 2 | 2 | -1 |
|
72
|
+
// Also `yy` always returns the last two digits of a year,
|
73
|
+
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
74
|
+
u: function(n, e) {
|
75
|
+
var t = n.getUTCFullYear();
|
76
|
+
return o(t, e.length);
|
77
|
+
},
|
78
|
+
// Quarter
|
79
|
+
Q: function(n, e, t) {
|
80
|
+
var r = Math.ceil((n.getUTCMonth() + 1) / 3);
|
81
|
+
switch (e) {
|
82
|
+
case "Q":
|
83
|
+
return String(r);
|
84
|
+
case "QQ":
|
85
|
+
return o(r, 2);
|
86
|
+
case "Qo":
|
87
|
+
return t.ordinalNumber(r, {
|
88
|
+
unit: "quarter"
|
89
|
+
});
|
90
|
+
case "QQQ":
|
91
|
+
return t.quarter(r, {
|
92
|
+
width: "abbreviated",
|
93
|
+
context: "formatting"
|
94
|
+
});
|
95
|
+
case "QQQQQ":
|
96
|
+
return t.quarter(r, {
|
97
|
+
width: "narrow",
|
98
|
+
context: "formatting"
|
99
|
+
});
|
100
|
+
case "QQQQ":
|
101
|
+
default:
|
102
|
+
return t.quarter(r, {
|
103
|
+
width: "wide",
|
104
|
+
context: "formatting"
|
105
|
+
});
|
106
|
+
}
|
107
|
+
},
|
108
|
+
// Stand-alone quarter
|
109
|
+
q: function(n, e, t) {
|
110
|
+
var r = Math.ceil((n.getUTCMonth() + 1) / 3);
|
111
|
+
switch (e) {
|
112
|
+
case "q":
|
113
|
+
return String(r);
|
114
|
+
case "qq":
|
115
|
+
return o(r, 2);
|
116
|
+
case "qo":
|
117
|
+
return t.ordinalNumber(r, {
|
118
|
+
unit: "quarter"
|
119
|
+
});
|
120
|
+
case "qqq":
|
121
|
+
return t.quarter(r, {
|
122
|
+
width: "abbreviated",
|
123
|
+
context: "standalone"
|
124
|
+
});
|
125
|
+
case "qqqqq":
|
126
|
+
return t.quarter(r, {
|
127
|
+
width: "narrow",
|
128
|
+
context: "standalone"
|
129
|
+
});
|
130
|
+
case "qqqq":
|
131
|
+
default:
|
132
|
+
return t.quarter(r, {
|
133
|
+
width: "wide",
|
134
|
+
context: "standalone"
|
135
|
+
});
|
136
|
+
}
|
137
|
+
},
|
138
|
+
// Month
|
139
|
+
M: function(n, e, t) {
|
140
|
+
var r = n.getUTCMonth();
|
141
|
+
switch (e) {
|
142
|
+
case "M":
|
143
|
+
case "MM":
|
144
|
+
return c.M(n, e);
|
145
|
+
case "Mo":
|
146
|
+
return t.ordinalNumber(r + 1, {
|
147
|
+
unit: "month"
|
148
|
+
});
|
149
|
+
case "MMM":
|
150
|
+
return t.month(r, {
|
151
|
+
width: "abbreviated",
|
152
|
+
context: "formatting"
|
153
|
+
});
|
154
|
+
case "MMMMM":
|
155
|
+
return t.month(r, {
|
156
|
+
width: "narrow",
|
157
|
+
context: "formatting"
|
158
|
+
});
|
159
|
+
case "MMMM":
|
160
|
+
default:
|
161
|
+
return t.month(r, {
|
162
|
+
width: "wide",
|
163
|
+
context: "formatting"
|
164
|
+
});
|
165
|
+
}
|
166
|
+
},
|
167
|
+
// Stand-alone month
|
168
|
+
L: function(n, e, t) {
|
169
|
+
var r = n.getUTCMonth();
|
170
|
+
switch (e) {
|
171
|
+
case "L":
|
172
|
+
return String(r + 1);
|
173
|
+
case "LL":
|
174
|
+
return o(r + 1, 2);
|
175
|
+
case "Lo":
|
176
|
+
return t.ordinalNumber(r + 1, {
|
177
|
+
unit: "month"
|
178
|
+
});
|
179
|
+
case "LLL":
|
180
|
+
return t.month(r, {
|
181
|
+
width: "abbreviated",
|
182
|
+
context: "standalone"
|
183
|
+
});
|
184
|
+
case "LLLLL":
|
185
|
+
return t.month(r, {
|
186
|
+
width: "narrow",
|
187
|
+
context: "standalone"
|
188
|
+
});
|
189
|
+
case "LLLL":
|
190
|
+
default:
|
191
|
+
return t.month(r, {
|
192
|
+
width: "wide",
|
193
|
+
context: "standalone"
|
194
|
+
});
|
195
|
+
}
|
196
|
+
},
|
197
|
+
// Local week of year
|
198
|
+
w: function(n, e, t, r) {
|
199
|
+
var a = b(n, r);
|
200
|
+
return e === "wo" ? t.ordinalNumber(a, {
|
201
|
+
unit: "week"
|
202
|
+
}) : o(a, e.length);
|
203
|
+
},
|
204
|
+
// ISO week of year
|
205
|
+
I: function(n, e, t) {
|
206
|
+
var r = w(n);
|
207
|
+
return e === "Io" ? t.ordinalNumber(r, {
|
208
|
+
unit: "week"
|
209
|
+
}) : o(r, e.length);
|
210
|
+
},
|
211
|
+
// Day of the month
|
212
|
+
d: function(n, e, t) {
|
213
|
+
return e === "do" ? t.ordinalNumber(n.getUTCDate(), {
|
214
|
+
unit: "date"
|
215
|
+
}) : c.d(n, e);
|
216
|
+
},
|
217
|
+
// Day of year
|
218
|
+
D: function(n, e, t) {
|
219
|
+
var r = g(n);
|
220
|
+
return e === "Do" ? t.ordinalNumber(r, {
|
221
|
+
unit: "dayOfYear"
|
222
|
+
}) : o(r, e.length);
|
223
|
+
},
|
224
|
+
// Day of week
|
225
|
+
E: function(n, e, t) {
|
226
|
+
var r = n.getUTCDay();
|
227
|
+
switch (e) {
|
228
|
+
case "E":
|
229
|
+
case "EE":
|
230
|
+
case "EEE":
|
231
|
+
return t.day(r, {
|
232
|
+
width: "abbreviated",
|
233
|
+
context: "formatting"
|
234
|
+
});
|
235
|
+
case "EEEEE":
|
236
|
+
return t.day(r, {
|
237
|
+
width: "narrow",
|
238
|
+
context: "formatting"
|
239
|
+
});
|
240
|
+
case "EEEEEE":
|
241
|
+
return t.day(r, {
|
242
|
+
width: "short",
|
243
|
+
context: "formatting"
|
244
|
+
});
|
245
|
+
case "EEEE":
|
246
|
+
default:
|
247
|
+
return t.day(r, {
|
248
|
+
width: "wide",
|
249
|
+
context: "formatting"
|
250
|
+
});
|
251
|
+
}
|
252
|
+
},
|
253
|
+
// Local day of week
|
254
|
+
e: function(n, e, t, r) {
|
255
|
+
var a = n.getUTCDay(), u = (a - r.weekStartsOn + 8) % 7 || 7;
|
256
|
+
switch (e) {
|
257
|
+
case "e":
|
258
|
+
return String(u);
|
259
|
+
case "ee":
|
260
|
+
return o(u, 2);
|
261
|
+
case "eo":
|
262
|
+
return t.ordinalNumber(u, {
|
263
|
+
unit: "day"
|
264
|
+
});
|
265
|
+
case "eee":
|
266
|
+
return t.day(a, {
|
267
|
+
width: "abbreviated",
|
268
|
+
context: "formatting"
|
269
|
+
});
|
270
|
+
case "eeeee":
|
271
|
+
return t.day(a, {
|
272
|
+
width: "narrow",
|
273
|
+
context: "formatting"
|
274
|
+
});
|
275
|
+
case "eeeeee":
|
276
|
+
return t.day(a, {
|
277
|
+
width: "short",
|
278
|
+
context: "formatting"
|
279
|
+
});
|
280
|
+
case "eeee":
|
281
|
+
default:
|
282
|
+
return t.day(a, {
|
283
|
+
width: "wide",
|
284
|
+
context: "formatting"
|
285
|
+
});
|
286
|
+
}
|
287
|
+
},
|
288
|
+
// Stand-alone local day of week
|
289
|
+
c: function(n, e, t, r) {
|
290
|
+
var a = n.getUTCDay(), u = (a - r.weekStartsOn + 8) % 7 || 7;
|
291
|
+
switch (e) {
|
292
|
+
case "c":
|
293
|
+
return String(u);
|
294
|
+
case "cc":
|
295
|
+
return o(u, e.length);
|
296
|
+
case "co":
|
297
|
+
return t.ordinalNumber(u, {
|
298
|
+
unit: "day"
|
299
|
+
});
|
300
|
+
case "ccc":
|
301
|
+
return t.day(a, {
|
302
|
+
width: "abbreviated",
|
303
|
+
context: "standalone"
|
304
|
+
});
|
305
|
+
case "ccccc":
|
306
|
+
return t.day(a, {
|
307
|
+
width: "narrow",
|
308
|
+
context: "standalone"
|
309
|
+
});
|
310
|
+
case "cccccc":
|
311
|
+
return t.day(a, {
|
312
|
+
width: "short",
|
313
|
+
context: "standalone"
|
314
|
+
});
|
315
|
+
case "cccc":
|
316
|
+
default:
|
317
|
+
return t.day(a, {
|
318
|
+
width: "wide",
|
319
|
+
context: "standalone"
|
320
|
+
});
|
321
|
+
}
|
322
|
+
},
|
323
|
+
// ISO day of week
|
324
|
+
i: function(n, e, t) {
|
325
|
+
var r = n.getUTCDay(), a = r === 0 ? 7 : r;
|
326
|
+
switch (e) {
|
327
|
+
case "i":
|
328
|
+
return String(a);
|
329
|
+
case "ii":
|
330
|
+
return o(a, e.length);
|
331
|
+
case "io":
|
332
|
+
return t.ordinalNumber(a, {
|
333
|
+
unit: "day"
|
334
|
+
});
|
335
|
+
case "iii":
|
336
|
+
return t.day(r, {
|
337
|
+
width: "abbreviated",
|
338
|
+
context: "formatting"
|
339
|
+
});
|
340
|
+
case "iiiii":
|
341
|
+
return t.day(r, {
|
342
|
+
width: "narrow",
|
343
|
+
context: "formatting"
|
344
|
+
});
|
345
|
+
case "iiiiii":
|
346
|
+
return t.day(r, {
|
347
|
+
width: "short",
|
348
|
+
context: "formatting"
|
349
|
+
});
|
350
|
+
case "iiii":
|
351
|
+
default:
|
352
|
+
return t.day(r, {
|
353
|
+
width: "wide",
|
354
|
+
context: "formatting"
|
355
|
+
});
|
356
|
+
}
|
357
|
+
},
|
358
|
+
// AM or PM
|
359
|
+
a: function(n, e, t) {
|
360
|
+
var r = n.getUTCHours(), a = r / 12 >= 1 ? "pm" : "am";
|
361
|
+
switch (e) {
|
362
|
+
case "a":
|
363
|
+
case "aa":
|
364
|
+
return t.dayPeriod(a, {
|
365
|
+
width: "abbreviated",
|
366
|
+
context: "formatting"
|
367
|
+
});
|
368
|
+
case "aaa":
|
369
|
+
return t.dayPeriod(a, {
|
370
|
+
width: "abbreviated",
|
371
|
+
context: "formatting"
|
372
|
+
}).toLowerCase();
|
373
|
+
case "aaaaa":
|
374
|
+
return t.dayPeriod(a, {
|
375
|
+
width: "narrow",
|
376
|
+
context: "formatting"
|
377
|
+
});
|
378
|
+
case "aaaa":
|
379
|
+
default:
|
380
|
+
return t.dayPeriod(a, {
|
381
|
+
width: "wide",
|
382
|
+
context: "formatting"
|
383
|
+
});
|
384
|
+
}
|
385
|
+
},
|
386
|
+
// AM, PM, midnight, noon
|
387
|
+
b: function(n, e, t) {
|
388
|
+
var r = n.getUTCHours(), a;
|
389
|
+
switch (r === 12 ? a = s.noon : r === 0 ? a = s.midnight : a = r / 12 >= 1 ? "pm" : "am", e) {
|
390
|
+
case "b":
|
391
|
+
case "bb":
|
392
|
+
return t.dayPeriod(a, {
|
393
|
+
width: "abbreviated",
|
394
|
+
context: "formatting"
|
395
|
+
});
|
396
|
+
case "bbb":
|
397
|
+
return t.dayPeriod(a, {
|
398
|
+
width: "abbreviated",
|
399
|
+
context: "formatting"
|
400
|
+
}).toLowerCase();
|
401
|
+
case "bbbbb":
|
402
|
+
return t.dayPeriod(a, {
|
403
|
+
width: "narrow",
|
404
|
+
context: "formatting"
|
405
|
+
});
|
406
|
+
case "bbbb":
|
407
|
+
default:
|
408
|
+
return t.dayPeriod(a, {
|
409
|
+
width: "wide",
|
410
|
+
context: "formatting"
|
411
|
+
});
|
412
|
+
}
|
413
|
+
},
|
414
|
+
// in the morning, in the afternoon, in the evening, at night
|
415
|
+
B: function(n, e, t) {
|
416
|
+
var r = n.getUTCHours(), a;
|
417
|
+
switch (r >= 17 ? a = s.evening : r >= 12 ? a = s.afternoon : r >= 4 ? a = s.morning : a = s.night, e) {
|
418
|
+
case "B":
|
419
|
+
case "BB":
|
420
|
+
case "BBB":
|
421
|
+
return t.dayPeriod(a, {
|
422
|
+
width: "abbreviated",
|
423
|
+
context: "formatting"
|
424
|
+
});
|
425
|
+
case "BBBBB":
|
426
|
+
return t.dayPeriod(a, {
|
427
|
+
width: "narrow",
|
428
|
+
context: "formatting"
|
429
|
+
});
|
430
|
+
case "BBBB":
|
431
|
+
default:
|
432
|
+
return t.dayPeriod(a, {
|
433
|
+
width: "wide",
|
434
|
+
context: "formatting"
|
435
|
+
});
|
436
|
+
}
|
437
|
+
},
|
438
|
+
// Hour [1-12]
|
439
|
+
h: function(n, e, t) {
|
440
|
+
if (e === "ho") {
|
441
|
+
var r = n.getUTCHours() % 12;
|
442
|
+
return r === 0 && (r = 12), t.ordinalNumber(r, {
|
443
|
+
unit: "hour"
|
444
|
+
});
|
445
|
+
}
|
446
|
+
return c.h(n, e);
|
447
|
+
},
|
448
|
+
// Hour [0-23]
|
449
|
+
H: function(n, e, t) {
|
450
|
+
return e === "Ho" ? t.ordinalNumber(n.getUTCHours(), {
|
451
|
+
unit: "hour"
|
452
|
+
}) : c.H(n, e);
|
453
|
+
},
|
454
|
+
// Hour [0-11]
|
455
|
+
K: function(n, e, t) {
|
456
|
+
var r = n.getUTCHours() % 12;
|
457
|
+
return e === "Ko" ? t.ordinalNumber(r, {
|
458
|
+
unit: "hour"
|
459
|
+
}) : o(r, e.length);
|
460
|
+
},
|
461
|
+
// Hour [1-24]
|
462
|
+
k: function(n, e, t) {
|
463
|
+
var r = n.getUTCHours();
|
464
|
+
return r === 0 && (r = 24), e === "ko" ? t.ordinalNumber(r, {
|
465
|
+
unit: "hour"
|
466
|
+
}) : o(r, e.length);
|
467
|
+
},
|
468
|
+
// Minute
|
469
|
+
m: function(n, e, t) {
|
470
|
+
return e === "mo" ? t.ordinalNumber(n.getUTCMinutes(), {
|
471
|
+
unit: "minute"
|
472
|
+
}) : c.m(n, e);
|
473
|
+
},
|
474
|
+
// Second
|
475
|
+
s: function(n, e, t) {
|
476
|
+
return e === "so" ? t.ordinalNumber(n.getUTCSeconds(), {
|
477
|
+
unit: "second"
|
478
|
+
}) : c.s(n, e);
|
479
|
+
},
|
480
|
+
// Fraction of second
|
481
|
+
S: function(n, e) {
|
482
|
+
return c.S(n, e);
|
483
|
+
},
|
484
|
+
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
485
|
+
X: function(n, e, t, r) {
|
486
|
+
var a = r._originalDate || n, u = a.getTimezoneOffset();
|
487
|
+
if (u === 0)
|
488
|
+
return "Z";
|
489
|
+
switch (e) {
|
490
|
+
case "X":
|
491
|
+
return m(u);
|
492
|
+
case "XXXX":
|
493
|
+
case "XX":
|
494
|
+
return d(u);
|
495
|
+
case "XXXXX":
|
496
|
+
case "XXX":
|
497
|
+
default:
|
498
|
+
return d(u, ":");
|
499
|
+
}
|
500
|
+
},
|
501
|
+
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
502
|
+
x: function(n, e, t, r) {
|
503
|
+
var a = r._originalDate || n, u = a.getTimezoneOffset();
|
504
|
+
switch (e) {
|
505
|
+
case "x":
|
506
|
+
return m(u);
|
507
|
+
case "xxxx":
|
508
|
+
case "xx":
|
509
|
+
return d(u);
|
510
|
+
case "xxxxx":
|
511
|
+
case "xxx":
|
512
|
+
default:
|
513
|
+
return d(u, ":");
|
514
|
+
}
|
515
|
+
},
|
516
|
+
// Timezone (GMT)
|
517
|
+
O: function(n, e, t, r) {
|
518
|
+
var a = r._originalDate || n, u = a.getTimezoneOffset();
|
519
|
+
switch (e) {
|
520
|
+
case "O":
|
521
|
+
case "OO":
|
522
|
+
case "OOO":
|
523
|
+
return "GMT" + f(u, ":");
|
524
|
+
case "OOOO":
|
525
|
+
default:
|
526
|
+
return "GMT" + d(u, ":");
|
527
|
+
}
|
528
|
+
},
|
529
|
+
// Timezone (specific non-location)
|
530
|
+
z: function(n, e, t, r) {
|
531
|
+
var a = r._originalDate || n, u = a.getTimezoneOffset();
|
532
|
+
switch (e) {
|
533
|
+
case "z":
|
534
|
+
case "zz":
|
535
|
+
case "zzz":
|
536
|
+
return "GMT" + f(u, ":");
|
537
|
+
case "zzzz":
|
538
|
+
default:
|
539
|
+
return "GMT" + d(u, ":");
|
540
|
+
}
|
541
|
+
},
|
542
|
+
// Seconds timestamp
|
543
|
+
t: function(n, e, t, r) {
|
544
|
+
var a = r._originalDate || n, u = Math.floor(a.getTime() / 1e3);
|
545
|
+
return o(u, e.length);
|
546
|
+
},
|
547
|
+
// Milliseconds timestamp
|
548
|
+
T: function(n, e, t, r) {
|
549
|
+
var a = r._originalDate || n, u = a.getTime();
|
550
|
+
return o(u, e.length);
|
551
|
+
}
|
552
|
+
};
|
553
|
+
function f(i, n) {
|
554
|
+
var e = i > 0 ? "-" : "+", t = Math.abs(i), r = Math.floor(t / 60), a = t % 60;
|
555
|
+
if (a === 0)
|
556
|
+
return e + String(r);
|
557
|
+
var u = n || "";
|
558
|
+
return e + String(r) + u + o(a, 2);
|
559
|
+
}
|
560
|
+
function m(i, n) {
|
561
|
+
if (i % 60 === 0) {
|
562
|
+
var e = i > 0 ? "-" : "+";
|
563
|
+
return e + o(Math.abs(i) / 60, 2);
|
564
|
+
}
|
565
|
+
return d(i, n);
|
566
|
+
}
|
567
|
+
function d(i, n) {
|
568
|
+
var e = n || "", t = i > 0 ? "-" : "+", r = Math.abs(i), a = o(Math.floor(r / 60), 2), u = o(r % 60, 2);
|
569
|
+
return t + a + e + u;
|
570
|
+
}
|
571
|
+
export {
|
572
|
+
E as default
|
573
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../../addLeadingZeros/index.cjs");var o={y:function(t,e){var a=t.getUTCFullYear(),u=a>0?a:1-a;return n.default(e==="yy"?u%100:u,e.length)},M:function(t,e){var a=t.getUTCMonth();return e==="M"?String(a+1):n.default(a+1,2)},d:function(t,e){return n.default(t.getUTCDate(),e.length)},a:function(t,e){var a=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h:function(t,e){return n.default(t.getUTCHours()%12||12,e.length)},H:function(t,e){return n.default(t.getUTCHours(),e.length)},m:function(t,e){return n.default(t.getUTCMinutes(),e.length)},s:function(t,e){return n.default(t.getUTCSeconds(),e.length)},S:function(t,e){var a=e.length,u=t.getUTCMilliseconds(),l=Math.floor(u*Math.pow(10,a-3));return n.default(l,e.length)}};const s=o;exports.default=s;
|