@medipass/utils 12.0.0 → 12.0.1
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/_virtual/rolldown_runtime.js +1 -29
- package/dist/build-validation-schema.d.ts +17 -18
- package/dist/build-validation-schema.js +26 -32
- package/dist/build-validation-schema.js.map +1 -1
- package/dist/datetime.js +3 -3
- package/dist/documents/workflow-state-formatted.d.ts +4 -4
- package/dist/documents/workflow-state-formatted.js +5 -7
- package/dist/documents/workflow-state-formatted.js.map +1 -1
- package/dist/funders.js +2 -4
- package/dist/funders.js.map +1 -1
- package/dist/get-env.js +5 -9
- package/dist/get-env.js.map +1 -1
- package/dist/get-select-options.js +7 -9
- package/dist/get-select-options.js.map +1 -1
- package/dist/google-addresses.js +4 -7
- package/dist/google-addresses.js.map +1 -1
- package/dist/masked.js +4 -7
- package/dist/masked.js.map +1 -1
- package/dist/products.js +4 -6
- package/dist/products.js.map +1 -1
- package/dist/redux-actions.js +2 -4
- package/dist/redux-actions.js.map +1 -1
- package/dist/redux-reducer.js +4 -7
- package/dist/redux-reducer.js.map +1 -1
- package/dist/sanitise-url.js +2 -4
- package/dist/sanitise-url.js.map +1 -1
- package/dist/sentry.js +15 -21
- package/dist/sentry.js.map +1 -1
- package/dist/service-items.js +18 -22
- package/dist/service-items.js.map +1 -1
- package/dist/transaction-status-helpers.js +2 -4
- package/dist/transaction-status-helpers.js.map +1 -1
- package/dist/transaction-status.js +7 -9
- package/dist/transaction-status.js.map +1 -1
- package/dist/validate-form.js +11 -14
- package/dist/validate-form.js.map +1 -1
- package/dist/validate.js +9 -14
- package/dist/validate.js.map +1 -1
- package/dist/workflow-state-formatted.d.ts +3 -3
- package/dist/workflow-state-formatted.js +4 -6
- package/dist/workflow-state-formatted.js.map +1 -1
- package/package.json +10 -7
- package/dist/node_modules/@sentry/browser/esm/backend.js +0 -59
- package/dist/node_modules/@sentry/browser/esm/backend.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/client.js +0 -75
- package/dist/node_modules/@sentry/browser/esm/client.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/eventbuilder.js +0 -48
- package/dist/node_modules/@sentry/browser/esm/eventbuilder.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/helpers.js +0 -94
- package/dist/node_modules/@sentry/browser/esm/helpers.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/index.js +0 -59
- package/dist/node_modules/@sentry/browser/esm/index.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/integrations/breadcrumbs.js +0 -218
- package/dist/node_modules/@sentry/browser/esm/integrations/breadcrumbs.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/integrations/globalhandlers.js +0 -166
- package/dist/node_modules/@sentry/browser/esm/integrations/globalhandlers.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/integrations/index.js +0 -19
- package/dist/node_modules/@sentry/browser/esm/integrations/index.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/integrations/linkederrors.js +0 -62
- package/dist/node_modules/@sentry/browser/esm/integrations/linkederrors.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/integrations/trycatch.js +0 -172
- package/dist/node_modules/@sentry/browser/esm/integrations/trycatch.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/integrations/useragent.js +0 -41
- package/dist/node_modules/@sentry/browser/esm/integrations/useragent.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/parsers.js +0 -65
- package/dist/node_modules/@sentry/browser/esm/parsers.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/sdk.js +0 -157
- package/dist/node_modules/@sentry/browser/esm/sdk.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/tracekit.js +0 -146
- package/dist/node_modules/@sentry/browser/esm/tracekit.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/transports/base.js +0 -31
- package/dist/node_modules/@sentry/browser/esm/transports/base.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/transports/fetch.js +0 -57
- package/dist/node_modules/@sentry/browser/esm/transports/fetch.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/transports/index.js +0 -15
- package/dist/node_modules/@sentry/browser/esm/transports/index.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/transports/xhr.js +0 -54
- package/dist/node_modules/@sentry/browser/esm/transports/xhr.js.map +0 -1
- package/dist/node_modules/@sentry/browser/esm/version.js +0 -7
- package/dist/node_modules/@sentry/browser/esm/version.js.map +0 -1
- package/dist/node_modules/@sentry/browser/node_modules/tslib/tslib.es6.js +0 -65
- package/dist/node_modules/@sentry/browser/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/@sentry/core/esm/api.js +0 -75
- package/dist/node_modules/@sentry/core/esm/api.js.map +0 -1
- package/dist/node_modules/@sentry/core/esm/basebackend.js +0 -54
- package/dist/node_modules/@sentry/core/esm/basebackend.js.map +0 -1
- package/dist/node_modules/@sentry/core/esm/baseclient.js +0 -331
- package/dist/node_modules/@sentry/core/esm/baseclient.js.map +0 -1
- package/dist/node_modules/@sentry/core/esm/integration.js +0 -65
- package/dist/node_modules/@sentry/core/esm/integration.js.map +0 -1
- package/dist/node_modules/@sentry/core/esm/integrations/functiontostring.js +0 -32
- package/dist/node_modules/@sentry/core/esm/integrations/functiontostring.js.map +0 -1
- package/dist/node_modules/@sentry/core/esm/integrations/inboundfilters.js +0 -143
- package/dist/node_modules/@sentry/core/esm/integrations/inboundfilters.js.map +0 -1
- package/dist/node_modules/@sentry/core/esm/integrations/index.js +0 -13
- package/dist/node_modules/@sentry/core/esm/integrations/index.js.map +0 -1
- package/dist/node_modules/@sentry/core/esm/sdk.js +0 -19
- package/dist/node_modules/@sentry/core/esm/sdk.js.map +0 -1
- package/dist/node_modules/@sentry/core/esm/transports/noop.js +0 -28
- package/dist/node_modules/@sentry/core/esm/transports/noop.js.map +0 -1
- package/dist/node_modules/@sentry/core/node_modules/tslib/tslib.es6.js +0 -36
- package/dist/node_modules/@sentry/core/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/@sentry/hub/esm/hub.js +0 -383
- package/dist/node_modules/@sentry/hub/esm/hub.js.map +0 -1
- package/dist/node_modules/@sentry/hub/esm/scope.js +0 -271
- package/dist/node_modules/@sentry/hub/esm/scope.js.map +0 -1
- package/dist/node_modules/@sentry/hub/node_modules/tslib/tslib.es6.js +0 -36
- package/dist/node_modules/@sentry/hub/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/@sentry/minimal/esm/index.js +0 -146
- package/dist/node_modules/@sentry/minimal/esm/index.js.map +0 -1
- package/dist/node_modules/@sentry/minimal/node_modules/tslib/tslib.es6.js +0 -26
- package/dist/node_modules/@sentry/minimal/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/@sentry/types/esm/severity.js +0 -45
- package/dist/node_modules/@sentry/types/esm/severity.js.map +0 -1
- package/dist/node_modules/@sentry/types/esm/status.js +0 -37
- package/dist/node_modules/@sentry/types/esm/status.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/dsn.js +0 -82
- package/dist/node_modules/@sentry/utils/esm/dsn.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/error.js +0 -21
- package/dist/node_modules/@sentry/utils/esm/error.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/instrument.js +0 -336
- package/dist/node_modules/@sentry/utils/esm/instrument.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/is.js +0 -142
- package/dist/node_modules/@sentry/utils/esm/is.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/logger.js +0 -55
- package/dist/node_modules/@sentry/utils/esm/logger.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/memo.js +0 -40
- package/dist/node_modules/@sentry/utils/esm/memo.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/misc.js +0 -250
- package/dist/node_modules/@sentry/utils/esm/misc.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/object.js +0 -190
- package/dist/node_modules/@sentry/utils/esm/object.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/polyfill.js +0 -20
- package/dist/node_modules/@sentry/utils/esm/polyfill.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/promisebuffer.js +0 -75
- package/dist/node_modules/@sentry/utils/esm/promisebuffer.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/string.js +0 -48
- package/dist/node_modules/@sentry/utils/esm/string.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/supports.js +0 -84
- package/dist/node_modules/@sentry/utils/esm/supports.js.map +0 -1
- package/dist/node_modules/@sentry/utils/esm/syncpromise.js +0 -171
- package/dist/node_modules/@sentry/utils/esm/syncpromise.js.map +0 -1
- package/dist/node_modules/@sentry/utils/node_modules/tslib/tslib.es6.js +0 -73
- package/dist/node_modules/@sentry/utils/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/node_modules/escape-html/index.js +0 -68
- package/dist/node_modules/escape-html/index.js.map +0 -1
- package/dist/node_modules/globalthis/implementation.browser.js +0 -14
- package/dist/node_modules/globalthis/implementation.browser.js.map +0 -1
- package/dist/node_modules/globalthis/polyfill.js +0 -17
- package/dist/node_modules/globalthis/polyfill.js.map +0 -1
- package/dist/node_modules/google-libphonenumber/dist/libphonenumber.js +0 -84028
- package/dist/node_modules/google-libphonenumber/dist/libphonenumber.js.map +0 -1
- package/dist/node_modules/lodash/_DataView.js +0 -15
- package/dist/node_modules/lodash/_DataView.js.map +0 -1
- package/dist/node_modules/lodash/_Hash.js +0 -38
- package/dist/node_modules/lodash/_Hash.js.map +0 -1
- package/dist/node_modules/lodash/_ListCache.js +0 -38
- package/dist/node_modules/lodash/_ListCache.js.map +0 -1
- package/dist/node_modules/lodash/_Map.js +0 -15
- package/dist/node_modules/lodash/_Map.js.map +0 -1
- package/dist/node_modules/lodash/_MapCache.js +0 -38
- package/dist/node_modules/lodash/_MapCache.js.map +0 -1
- package/dist/node_modules/lodash/_Promise.js +0 -15
- package/dist/node_modules/lodash/_Promise.js.map +0 -1
- package/dist/node_modules/lodash/_Set.js +0 -15
- package/dist/node_modules/lodash/_Set.js.map +0 -1
- package/dist/node_modules/lodash/_SetCache.js +0 -31
- package/dist/node_modules/lodash/_SetCache.js.map +0 -1
- package/dist/node_modules/lodash/_Stack.js +0 -34
- package/dist/node_modules/lodash/_Stack.js.map +0 -1
- package/dist/node_modules/lodash/_Symbol.js +0 -15
- package/dist/node_modules/lodash/_Symbol.js.map +0 -1
- package/dist/node_modules/lodash/_Uint8Array.js +0 -15
- package/dist/node_modules/lodash/_Uint8Array.js.map +0 -1
- package/dist/node_modules/lodash/_WeakMap.js +0 -15
- package/dist/node_modules/lodash/_WeakMap.js.map +0 -1
- package/dist/node_modules/lodash/_apply.js +0 -31
- package/dist/node_modules/lodash/_apply.js.map +0 -1
- package/dist/node_modules/lodash/_arrayEach.js +0 -26
- package/dist/node_modules/lodash/_arrayEach.js.map +0 -1
- package/dist/node_modules/lodash/_arrayFilter.js +0 -29
- package/dist/node_modules/lodash/_arrayFilter.js.map +0 -1
- package/dist/node_modules/lodash/_arrayIncludes.js +0 -26
- package/dist/node_modules/lodash/_arrayIncludes.js.map +0 -1
- package/dist/node_modules/lodash/_arrayIncludesWith.js +0 -26
- package/dist/node_modules/lodash/_arrayIncludesWith.js.map +0 -1
- package/dist/node_modules/lodash/_arrayLikeKeys.js +0 -34
- package/dist/node_modules/lodash/_arrayLikeKeys.js.map +0 -1
- package/dist/node_modules/lodash/_arrayMap.js +0 -26
- package/dist/node_modules/lodash/_arrayMap.js.map +0 -1
- package/dist/node_modules/lodash/_arrayPush.js +0 -25
- package/dist/node_modules/lodash/_arrayPush.js.map +0 -1
- package/dist/node_modules/lodash/_arrayReduce.js +0 -30
- package/dist/node_modules/lodash/_arrayReduce.js.map +0 -1
- package/dist/node_modules/lodash/_arraySome.js +0 -27
- package/dist/node_modules/lodash/_arraySome.js.map +0 -1
- package/dist/node_modules/lodash/_asciiToArray.js +0 -22
- package/dist/node_modules/lodash/_asciiToArray.js.map +0 -1
- package/dist/node_modules/lodash/_asciiWords.js +0 -24
- package/dist/node_modules/lodash/_asciiWords.js.map +0 -1
- package/dist/node_modules/lodash/_assignValue.js +0 -31
- package/dist/node_modules/lodash/_assignValue.js.map +0 -1
- package/dist/node_modules/lodash/_assocIndexOf.js +0 -27
- package/dist/node_modules/lodash/_assocIndexOf.js.map +0 -1
- package/dist/node_modules/lodash/_baseAssignValue.js +0 -32
- package/dist/node_modules/lodash/_baseAssignValue.js.map +0 -1
- package/dist/node_modules/lodash/_baseDifference.js +0 -55
- package/dist/node_modules/lodash/_baseDifference.js.map +0 -1
- package/dist/node_modules/lodash/_baseEach.js +0 -24
- package/dist/node_modules/lodash/_baseEach.js.map +0 -1
- package/dist/node_modules/lodash/_baseFindIndex.js +0 -28
- package/dist/node_modules/lodash/_baseFindIndex.js.map +0 -1
- package/dist/node_modules/lodash/_baseFlatten.js +0 -38
- package/dist/node_modules/lodash/_baseFlatten.js.map +0 -1
- package/dist/node_modules/lodash/_baseFor.js +0 -25
- package/dist/node_modules/lodash/_baseFor.js.map +0 -1
- package/dist/node_modules/lodash/_baseForOwn.js +0 -26
- package/dist/node_modules/lodash/_baseForOwn.js.map +0 -1
- package/dist/node_modules/lodash/_baseGet.js +0 -29
- package/dist/node_modules/lodash/_baseGet.js.map +0 -1
- package/dist/node_modules/lodash/_baseGetAllKeys.js +0 -30
- package/dist/node_modules/lodash/_baseGetAllKeys.js.map +0 -1
- package/dist/node_modules/lodash/_baseGetTag.js +0 -31
- package/dist/node_modules/lodash/_baseGetTag.js.map +0 -1
- package/dist/node_modules/lodash/_baseHas.js +0 -25
- package/dist/node_modules/lodash/_baseHas.js.map +0 -1
- package/dist/node_modules/lodash/_baseHasIn.js +0 -23
- package/dist/node_modules/lodash/_baseHasIn.js.map +0 -1
- package/dist/node_modules/lodash/_baseIndexOf.js +0 -28
- package/dist/node_modules/lodash/_baseIndexOf.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsArguments.js +0 -27
- package/dist/node_modules/lodash/_baseIsArguments.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsEqual.js +0 -34
- package/dist/node_modules/lodash/_baseIsEqual.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +0 -67
- package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsMatch.js +0 -48
- package/dist/node_modules/lodash/_baseIsMatch.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsNaN.js +0 -22
- package/dist/node_modules/lodash/_baseIsNaN.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsNative.js +0 -44
- package/dist/node_modules/lodash/_baseIsNative.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsTypedArray.js +0 -33
- package/dist/node_modules/lodash/_baseIsTypedArray.js.map +0 -1
- package/dist/node_modules/lodash/_baseIteratee.js +0 -31
- package/dist/node_modules/lodash/_baseIteratee.js.map +0 -1
- package/dist/node_modules/lodash/_baseKeys.js +0 -30
- package/dist/node_modules/lodash/_baseKeys.js.map +0 -1
- package/dist/node_modules/lodash/_baseKeysIn.js +0 -31
- package/dist/node_modules/lodash/_baseKeysIn.js.map +0 -1
- package/dist/node_modules/lodash/_baseMatches.js +0 -30
- package/dist/node_modules/lodash/_baseMatches.js.map +0 -1
- package/dist/node_modules/lodash/_baseMatchesProperty.js +0 -37
- package/dist/node_modules/lodash/_baseMatchesProperty.js.map +0 -1
- package/dist/node_modules/lodash/_basePick.js +0 -29
- package/dist/node_modules/lodash/_basePick.js.map +0 -1
- package/dist/node_modules/lodash/_basePickBy.js +0 -33
- package/dist/node_modules/lodash/_basePickBy.js.map +0 -1
- package/dist/node_modules/lodash/_baseProperty.js +0 -24
- package/dist/node_modules/lodash/_baseProperty.js.map +0 -1
- package/dist/node_modules/lodash/_basePropertyDeep.js +0 -26
- package/dist/node_modules/lodash/_basePropertyDeep.js.map +0 -1
- package/dist/node_modules/lodash/_basePropertyOf.js +0 -24
- package/dist/node_modules/lodash/_basePropertyOf.js.map +0 -1
- package/dist/node_modules/lodash/_baseRepeat.js +0 -33
- package/dist/node_modules/lodash/_baseRepeat.js.map +0 -1
- package/dist/node_modules/lodash/_baseRest.js +0 -27
- package/dist/node_modules/lodash/_baseRest.js.map +0 -1
- package/dist/node_modules/lodash/_baseSet.js +0 -45
- package/dist/node_modules/lodash/_baseSet.js.map +0 -1
- package/dist/node_modules/lodash/_baseSetToString.js +0 -32
- package/dist/node_modules/lodash/_baseSetToString.js.map +0 -1
- package/dist/node_modules/lodash/_baseSlice.js +0 -32
- package/dist/node_modules/lodash/_baseSlice.js.map +0 -1
- package/dist/node_modules/lodash/_baseTimes.js +0 -26
- package/dist/node_modules/lodash/_baseTimes.js.map +0 -1
- package/dist/node_modules/lodash/_baseToString.js +0 -36
- package/dist/node_modules/lodash/_baseToString.js.map +0 -1
- package/dist/node_modules/lodash/_baseTrim.js +0 -26
- package/dist/node_modules/lodash/_baseTrim.js.map +0 -1
- package/dist/node_modules/lodash/_baseUnary.js +0 -24
- package/dist/node_modules/lodash/_baseUnary.js.map +0 -1
- package/dist/node_modules/lodash/_cacheHas.js +0 -23
- package/dist/node_modules/lodash/_cacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_castFunction.js +0 -24
- package/dist/node_modules/lodash/_castFunction.js.map +0 -1
- package/dist/node_modules/lodash/_castPath.js +0 -29
- package/dist/node_modules/lodash/_castPath.js.map +0 -1
- package/dist/node_modules/lodash/_castSlice.js +0 -28
- package/dist/node_modules/lodash/_castSlice.js.map +0 -1
- package/dist/node_modules/lodash/_coreJsData.js +0 -15
- package/dist/node_modules/lodash/_coreJsData.js.map +0 -1
- package/dist/node_modules/lodash/_createBaseEach.js +0 -31
- package/dist/node_modules/lodash/_createBaseEach.js.map +0 -1
- package/dist/node_modules/lodash/_createBaseFor.js +0 -29
- package/dist/node_modules/lodash/_createBaseFor.js.map +0 -1
- package/dist/node_modules/lodash/_createCaseFirst.js +0 -33
- package/dist/node_modules/lodash/_createCaseFirst.js.map +0 -1
- package/dist/node_modules/lodash/_createCompounder.js +0 -30
- package/dist/node_modules/lodash/_createCompounder.js.map +0 -1
- package/dist/node_modules/lodash/_deburrLetter.js +0 -213
- package/dist/node_modules/lodash/_deburrLetter.js.map +0 -1
- package/dist/node_modules/lodash/_defineProperty.js +0 -21
- package/dist/node_modules/lodash/_defineProperty.js.map +0 -1
- package/dist/node_modules/lodash/_equalArrays.js +0 -64
- package/dist/node_modules/lodash/_equalArrays.js.map +0 -1
- package/dist/node_modules/lodash/_equalByTag.js +0 -74
- package/dist/node_modules/lodash/_equalByTag.js.map +0 -1
- package/dist/node_modules/lodash/_equalObjects.js +0 -64
- package/dist/node_modules/lodash/_equalObjects.js.map +0 -1
- package/dist/node_modules/lodash/_flatRest.js +0 -26
- package/dist/node_modules/lodash/_flatRest.js.map +0 -1
- package/dist/node_modules/lodash/_freeGlobal.js +0 -14
- package/dist/node_modules/lodash/_freeGlobal.js.map +0 -1
- package/dist/node_modules/lodash/_getAllKeys.js +0 -26
- package/dist/node_modules/lodash/_getAllKeys.js.map +0 -1
- package/dist/node_modules/lodash/_getAllKeysIn.js +0 -27
- package/dist/node_modules/lodash/_getAllKeysIn.js.map +0 -1
- package/dist/node_modules/lodash/_getMapData.js +0 -26
- package/dist/node_modules/lodash/_getMapData.js.map +0 -1
- package/dist/node_modules/lodash/_getMatchData.js +0 -34
- package/dist/node_modules/lodash/_getMatchData.js.map +0 -1
- package/dist/node_modules/lodash/_getNative.js +0 -27
- package/dist/node_modules/lodash/_getNative.js.map +0 -1
- package/dist/node_modules/lodash/_getPrototype.js +0 -15
- package/dist/node_modules/lodash/_getPrototype.js.map +0 -1
- package/dist/node_modules/lodash/_getRawTag.js +0 -44
- package/dist/node_modules/lodash/_getRawTag.js.map +0 -1
- package/dist/node_modules/lodash/_getSymbols.js +0 -32
- package/dist/node_modules/lodash/_getSymbols.js.map +0 -1
- package/dist/node_modules/lodash/_getSymbolsIn.js +0 -32
- package/dist/node_modules/lodash/_getSymbolsIn.js.map +0 -1
- package/dist/node_modules/lodash/_getTag.js +0 -44
- package/dist/node_modules/lodash/_getTag.js.map +0 -1
- package/dist/node_modules/lodash/_getValue.js +0 -23
- package/dist/node_modules/lodash/_getValue.js.map +0 -1
- package/dist/node_modules/lodash/_hasPath.js +0 -40
- package/dist/node_modules/lodash/_hasPath.js.map +0 -1
- package/dist/node_modules/lodash/_hasUnicode.js +0 -24
- package/dist/node_modules/lodash/_hasUnicode.js.map +0 -1
- package/dist/node_modules/lodash/_hasUnicodeWord.js +0 -24
- package/dist/node_modules/lodash/_hasUnicodeWord.js.map +0 -1
- package/dist/node_modules/lodash/_hashClear.js +0 -25
- package/dist/node_modules/lodash/_hashClear.js.map +0 -1
- package/dist/node_modules/lodash/_hashDelete.js +0 -27
- package/dist/node_modules/lodash/_hashDelete.js.map +0 -1
- package/dist/node_modules/lodash/_hashGet.js +0 -35
- package/dist/node_modules/lodash/_hashGet.js.map +0 -1
- package/dist/node_modules/lodash/_hashHas.js +0 -29
- package/dist/node_modules/lodash/_hashHas.js.map +0 -1
- package/dist/node_modules/lodash/_hashSet.js +0 -32
- package/dist/node_modules/lodash/_hashSet.js.map +0 -1
- package/dist/node_modules/lodash/_isFlattenable.js +0 -28
- package/dist/node_modules/lodash/_isFlattenable.js.map +0 -1
- package/dist/node_modules/lodash/_isIndex.js +0 -29
- package/dist/node_modules/lodash/_isIndex.js.map +0 -1
- package/dist/node_modules/lodash/_isIterateeCall.js +0 -33
- package/dist/node_modules/lodash/_isIterateeCall.js.map +0 -1
- package/dist/node_modules/lodash/_isKey.js +0 -31
- package/dist/node_modules/lodash/_isKey.js.map +0 -1
- package/dist/node_modules/lodash/_isKeyable.js +0 -23
- package/dist/node_modules/lodash/_isKeyable.js.map +0 -1
- package/dist/node_modules/lodash/_isMasked.js +0 -29
- package/dist/node_modules/lodash/_isMasked.js.map +0 -1
- package/dist/node_modules/lodash/_isPrototype.js +0 -25
- package/dist/node_modules/lodash/_isPrototype.js.map +0 -1
- package/dist/node_modules/lodash/_isStrictComparable.js +0 -25
- package/dist/node_modules/lodash/_isStrictComparable.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheClear.js +0 -23
- package/dist/node_modules/lodash/_listCacheClear.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheDelete.js +0 -33
- package/dist/node_modules/lodash/_listCacheDelete.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheGet.js +0 -27
- package/dist/node_modules/lodash/_listCacheGet.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheHas.js +0 -26
- package/dist/node_modules/lodash/_listCacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheSet.js +0 -32
- package/dist/node_modules/lodash/_listCacheSet.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheClear.js +0 -31
- package/dist/node_modules/lodash/_mapCacheClear.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheDelete.js +0 -28
- package/dist/node_modules/lodash/_mapCacheDelete.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheGet.js +0 -26
- package/dist/node_modules/lodash/_mapCacheGet.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheHas.js +0 -26
- package/dist/node_modules/lodash/_mapCacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheSet.js +0 -30
- package/dist/node_modules/lodash/_mapCacheSet.js.map +0 -1
- package/dist/node_modules/lodash/_mapToArray.js +0 -26
- package/dist/node_modules/lodash/_mapToArray.js.map +0 -1
- package/dist/node_modules/lodash/_matchesStrictComparable.js +0 -27
- package/dist/node_modules/lodash/_matchesStrictComparable.js.map +0 -1
- package/dist/node_modules/lodash/_memoizeCapped.js +0 -32
- package/dist/node_modules/lodash/_memoizeCapped.js.map +0 -1
- package/dist/node_modules/lodash/_nativeCreate.js +0 -14
- package/dist/node_modules/lodash/_nativeCreate.js.map +0 -1
- package/dist/node_modules/lodash/_nativeKeys.js +0 -14
- package/dist/node_modules/lodash/_nativeKeys.js.map +0 -1
- package/dist/node_modules/lodash/_nativeKeysIn.js +0 -26
- package/dist/node_modules/lodash/_nativeKeysIn.js.map +0 -1
- package/dist/node_modules/lodash/_nodeUtil.js +0 -28
- package/dist/node_modules/lodash/_nodeUtil.js.map +0 -1
- package/dist/node_modules/lodash/_objectToString.js +0 -28
- package/dist/node_modules/lodash/_objectToString.js.map +0 -1
- package/dist/node_modules/lodash/_overArg.js +0 -25
- package/dist/node_modules/lodash/_overArg.js.map +0 -1
- package/dist/node_modules/lodash/_overRest.js +0 -36
- package/dist/node_modules/lodash/_overRest.js.map +0 -1
- package/dist/node_modules/lodash/_root.js +0 -18
- package/dist/node_modules/lodash/_root.js.map +0 -1
- package/dist/node_modules/lodash/_setCacheAdd.js +0 -28
- package/dist/node_modules/lodash/_setCacheAdd.js.map +0 -1
- package/dist/node_modules/lodash/_setCacheHas.js +0 -24
- package/dist/node_modules/lodash/_setCacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_setToArray.js +0 -26
- package/dist/node_modules/lodash/_setToArray.js.map +0 -1
- package/dist/node_modules/lodash/_setToString.js +0 -24
- package/dist/node_modules/lodash/_setToString.js.map +0 -1
- package/dist/node_modules/lodash/_shortOut.js +0 -35
- package/dist/node_modules/lodash/_shortOut.js.map +0 -1
- package/dist/node_modules/lodash/_stackClear.js +0 -25
- package/dist/node_modules/lodash/_stackClear.js.map +0 -1
- package/dist/node_modules/lodash/_stackDelete.js +0 -26
- package/dist/node_modules/lodash/_stackDelete.js.map +0 -1
- package/dist/node_modules/lodash/_stackGet.js +0 -24
- package/dist/node_modules/lodash/_stackGet.js.map +0 -1
- package/dist/node_modules/lodash/_stackHas.js +0 -24
- package/dist/node_modules/lodash/_stackHas.js.map +0 -1
- package/dist/node_modules/lodash/_stackSet.js +0 -43
- package/dist/node_modules/lodash/_stackSet.js.map +0 -1
- package/dist/node_modules/lodash/_strictIndexOf.js +0 -27
- package/dist/node_modules/lodash/_strictIndexOf.js.map +0 -1
- package/dist/node_modules/lodash/_stringToArray.js +0 -26
- package/dist/node_modules/lodash/_stringToArray.js.map +0 -1
- package/dist/node_modules/lodash/_stringToPath.js +0 -33
- package/dist/node_modules/lodash/_stringToPath.js.map +0 -1
- package/dist/node_modules/lodash/_toKey.js +0 -28
- package/dist/node_modules/lodash/_toKey.js.map +0 -1
- package/dist/node_modules/lodash/_toSource.js +0 -32
- package/dist/node_modules/lodash/_toSource.js.map +0 -1
- package/dist/node_modules/lodash/_trimmedEndIndex.js +0 -27
- package/dist/node_modules/lodash/_trimmedEndIndex.js.map +0 -1
- package/dist/node_modules/lodash/_unicodeToArray.js +0 -40
- package/dist/node_modules/lodash/_unicodeToArray.js.map +0 -1
- package/dist/node_modules/lodash/_unicodeWords.js +0 -55
- package/dist/node_modules/lodash/_unicodeWords.js.map +0 -1
- package/dist/node_modules/lodash/camelCase.js +0 -39
- package/dist/node_modules/lodash/camelCase.js.map +0 -1
- package/dist/node_modules/lodash/capitalize.js +0 -33
- package/dist/node_modules/lodash/capitalize.js.map +0 -1
- package/dist/node_modules/lodash/constant.js +0 -36
- package/dist/node_modules/lodash/constant.js.map +0 -1
- package/dist/node_modules/lodash/deburr.js +0 -44
- package/dist/node_modules/lodash/deburr.js.map +0 -1
- package/dist/node_modules/lodash/difference.js +0 -41
- package/dist/node_modules/lodash/difference.js.map +0 -1
- package/dist/node_modules/lodash/eq.js +0 -47
- package/dist/node_modules/lodash/eq.js.map +0 -1
- package/dist/node_modules/lodash/flatten.js +0 -31
- package/dist/node_modules/lodash/flatten.js.map +0 -1
- package/dist/node_modules/lodash/forEach.js +0 -50
- package/dist/node_modules/lodash/forEach.js.map +0 -1
- package/dist/node_modules/lodash/forOwn.js +0 -46
- package/dist/node_modules/lodash/forOwn.js.map +0 -1
- package/dist/node_modules/lodash/get.js +0 -43
- package/dist/node_modules/lodash/get.js.map +0 -1
- package/dist/node_modules/lodash/has.js +0 -45
- package/dist/node_modules/lodash/has.js.map +0 -1
- package/dist/node_modules/lodash/hasIn.js +0 -44
- package/dist/node_modules/lodash/hasIn.js.map +0 -1
- package/dist/node_modules/lodash/identity.js +0 -31
- package/dist/node_modules/lodash/identity.js.map +0 -1
- package/dist/node_modules/lodash/isArguments.js +0 -44
- package/dist/node_modules/lodash/isArguments.js.map +0 -1
- package/dist/node_modules/lodash/isArray.js +0 -36
- package/dist/node_modules/lodash/isArray.js.map +0 -1
- package/dist/node_modules/lodash/isArrayLike.js +0 -43
- package/dist/node_modules/lodash/isArrayLike.js.map +0 -1
- package/dist/node_modules/lodash/isArrayLikeObject.js +0 -43
- package/dist/node_modules/lodash/isArrayLikeObject.js.map +0 -1
- package/dist/node_modules/lodash/isBuffer.js +0 -39
- package/dist/node_modules/lodash/isBuffer.js.map +0 -1
- package/dist/node_modules/lodash/isEmpty.js +0 -67
- package/dist/node_modules/lodash/isEmpty.js.map +0 -1
- package/dist/node_modules/lodash/isFunction.js +0 -39
- package/dist/node_modules/lodash/isFunction.js.map +0 -1
- package/dist/node_modules/lodash/isLength.js +0 -43
- package/dist/node_modules/lodash/isLength.js.map +0 -1
- package/dist/node_modules/lodash/isObject.js +0 -41
- package/dist/node_modules/lodash/isObject.js.map +0 -1
- package/dist/node_modules/lodash/isObjectLike.js +0 -39
- package/dist/node_modules/lodash/isObjectLike.js.map +0 -1
- package/dist/node_modules/lodash/isSymbol.js +0 -37
- package/dist/node_modules/lodash/isSymbol.js.map +0 -1
- package/dist/node_modules/lodash/isTypedArray.js +0 -35
- package/dist/node_modules/lodash/isTypedArray.js.map +0 -1
- package/dist/node_modules/lodash/keys.js +0 -47
- package/dist/node_modules/lodash/keys.js.map +0 -1
- package/dist/node_modules/lodash/keysIn.js +0 -42
- package/dist/node_modules/lodash/keysIn.js.map +0 -1
- package/dist/node_modules/lodash/mapKeys.js +0 -45
- package/dist/node_modules/lodash/mapKeys.js.map +0 -1
- package/dist/node_modules/lodash/mapValues.js +0 -52
- package/dist/node_modules/lodash/mapValues.js.map +0 -1
- package/dist/node_modules/lodash/memoize.js +0 -73
- package/dist/node_modules/lodash/memoize.js.map +0 -1
- package/dist/node_modules/lodash/negate.js +0 -47
- package/dist/node_modules/lodash/negate.js.map +0 -1
- package/dist/node_modules/lodash/omitBy.js +0 -39
- package/dist/node_modules/lodash/omitBy.js.map +0 -1
- package/dist/node_modules/lodash/pick.js +0 -35
- package/dist/node_modules/lodash/pick.js.map +0 -1
- package/dist/node_modules/lodash/pickBy.js +0 -45
- package/dist/node_modules/lodash/pickBy.js.map +0 -1
- package/dist/node_modules/lodash/property.js +0 -42
- package/dist/node_modules/lodash/property.js.map +0 -1
- package/dist/node_modules/lodash/repeat.js +0 -44
- package/dist/node_modules/lodash/repeat.js.map +0 -1
- package/dist/node_modules/lodash/set.js +0 -45
- package/dist/node_modules/lodash/set.js.map +0 -1
- package/dist/node_modules/lodash/snakeCase.js +0 -37
- package/dist/node_modules/lodash/snakeCase.js.map +0 -1
- package/dist/node_modules/lodash/stubArray.js +0 -33
- package/dist/node_modules/lodash/stubArray.js.map +0 -1
- package/dist/node_modules/lodash/stubFalse.js +0 -28
- package/dist/node_modules/lodash/stubFalse.js.map +0 -1
- package/dist/node_modules/lodash/toFinite.js +0 -45
- package/dist/node_modules/lodash/toFinite.js.map +0 -1
- package/dist/node_modules/lodash/toInteger.js +0 -44
- package/dist/node_modules/lodash/toInteger.js.map +0 -1
- package/dist/node_modules/lodash/toNumber.js +0 -61
- package/dist/node_modules/lodash/toNumber.js.map +0 -1
- package/dist/node_modules/lodash/toString.js +0 -38
- package/dist/node_modules/lodash/toString.js.map +0 -1
- package/dist/node_modules/lodash/upperFirst.js +0 -31
- package/dist/node_modules/lodash/upperFirst.js.map +0 -1
- package/dist/node_modules/lodash/words.js +0 -42
- package/dist/node_modules/lodash/words.js.map +0 -1
- package/dist/node_modules/nanoclone/src/index.js +0 -38
- package/dist/node_modules/nanoclone/src/index.js.map +0 -1
- package/dist/node_modules/payment/lib/index.js +0 -565
- package/dist/node_modules/payment/lib/index.js.map +0 -1
- package/dist/node_modules/property-expr/index.js +0 -100
- package/dist/node_modules/property-expr/index.js.map +0 -1
- package/dist/node_modules/qj/lib/index.js +0 -175
- package/dist/node_modules/qj/lib/index.js.map +0 -1
- package/dist/node_modules/redux-sentry-middleware/dist/index.umd.js +0 -86
- package/dist/node_modules/redux-sentry-middleware/dist/index.umd.js.map +0 -1
- package/dist/node_modules/toposort/index.js +0 -78
- package/dist/node_modules/toposort/index.js.map +0 -1
- package/dist/node_modules/yup/es/Condition.d.ts +0 -23
- package/dist/node_modules/yup/es/Condition.js +0 -40
- package/dist/node_modules/yup/es/Condition.js.map +0 -1
- package/dist/node_modules/yup/es/Lazy.d.ts +0 -29
- package/dist/node_modules/yup/es/Lazy.js +0 -49
- package/dist/node_modules/yup/es/Lazy.js.map +0 -1
- package/dist/node_modules/yup/es/Reference.d.ts +0 -36
- package/dist/node_modules/yup/es/Reference.js +0 -61
- package/dist/node_modules/yup/es/Reference.js.map +0 -1
- package/dist/node_modules/yup/es/ValidationError.d.ts +0 -16
- package/dist/node_modules/yup/es/ValidationError.js +0 -48
- package/dist/node_modules/yup/es/ValidationError.js.map +0 -1
- package/dist/node_modules/yup/es/array.js +0 -181
- package/dist/node_modules/yup/es/array.js.map +0 -1
- package/dist/node_modules/yup/es/boolean.js +0 -53
- package/dist/node_modules/yup/es/boolean.js.map +0 -1
- package/dist/node_modules/yup/es/date.js +0 -67
- package/dist/node_modules/yup/es/date.js.map +0 -1
- package/dist/node_modules/yup/es/index.js +0 -52
- package/dist/node_modules/yup/es/index.js.map +0 -1
- package/dist/node_modules/yup/es/locale.js +0 -61
- package/dist/node_modules/yup/es/locale.js.map +0 -1
- package/dist/node_modules/yup/es/mixed.js +0 -13
- package/dist/node_modules/yup/es/mixed.js.map +0 -1
- package/dist/node_modules/yup/es/number.js +0 -108
- package/dist/node_modules/yup/es/number.js.map +0 -1
- package/dist/node_modules/yup/es/object.d.ts +0 -48
- package/dist/node_modules/yup/es/object.js +0 -266
- package/dist/node_modules/yup/es/object.js.map +0 -1
- package/dist/node_modules/yup/es/schema.d.ts +0 -148
- package/dist/node_modules/yup/es/schema.js +0 -407
- package/dist/node_modules/yup/es/schema.js.map +0 -1
- package/dist/node_modules/yup/es/setLocale.js +0 -14
- package/dist/node_modules/yup/es/setLocale.js.map +0 -1
- package/dist/node_modules/yup/es/string.js +0 -132
- package/dist/node_modules/yup/es/string.js.map +0 -1
- package/dist/node_modules/yup/es/types.d.ts +0 -56
- package/dist/node_modules/yup/es/util/ReferenceSet.d.ts +0 -19
- package/dist/node_modules/yup/es/util/ReferenceSet.js +0 -51
- package/dist/node_modules/yup/es/util/ReferenceSet.js.map +0 -1
- package/dist/node_modules/yup/es/util/createValidation.d.ts +0 -43
- package/dist/node_modules/yup/es/util/createValidation.js +0 -96
- package/dist/node_modules/yup/es/util/createValidation.js.map +0 -1
- package/dist/node_modules/yup/es/util/isAbsent.js +0 -6
- package/dist/node_modules/yup/es/util/isAbsent.js.map +0 -1
- package/dist/node_modules/yup/es/util/isSchema.js +0 -6
- package/dist/node_modules/yup/es/util/isSchema.js.map +0 -1
- package/dist/node_modules/yup/es/util/isodate.js +0 -39
- package/dist/node_modules/yup/es/util/isodate.js.map +0 -1
- package/dist/node_modules/yup/es/util/printValue.js +0 -36
- package/dist/node_modules/yup/es/util/printValue.js.map +0 -1
- package/dist/node_modules/yup/es/util/reach.js +0 -47
- package/dist/node_modules/yup/es/util/reach.js.map +0 -1
- package/dist/node_modules/yup/es/util/runTests.js +0 -48
- package/dist/node_modules/yup/es/util/runTests.js.map +0 -1
- package/dist/node_modules/yup/es/util/sortByKeyOrder.js +0 -21
- package/dist/node_modules/yup/es/util/sortByKeyOrder.js.map +0 -1
- package/dist/node_modules/yup/es/util/sortFields.js +0 -31
- package/dist/node_modules/yup/es/util/sortFields.js.map +0 -1
- package/dist/node_modules/yup/es/util/toArray.js +0 -8
- package/dist/node_modules/yup/es/util/toArray.js.map +0 -1
- package/dist/node_modules/yup/es/util/types.d.ts +0 -11
- package/dist/node_modules/yup/lib/Condition.d.ts +0 -23
- package/dist/node_modules/yup/lib/Lazy.d.ts +0 -29
- package/dist/node_modules/yup/lib/Reference.d.ts +0 -36
- package/dist/node_modules/yup/lib/ValidationError.d.ts +0 -16
- package/dist/node_modules/yup/lib/locale.d.ts +0 -18
- package/dist/node_modules/yup/lib/object.d.ts +0 -13
- package/dist/node_modules/yup/lib/schema.d.ts +0 -141
- package/dist/node_modules/yup/lib/string.d.ts +0 -74
- package/dist/node_modules/yup/lib/types.d.ts +0 -54
- package/dist/node_modules/yup/lib/util/ReferenceSet.d.ts +0 -19
- package/dist/node_modules/yup/lib/util/createValidation.d.ts +0 -43
- package/dist/node_modules/yup/lib/util/types.d.ts +0 -12
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js +0 -11
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/assign/index.js +0 -11
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/assign/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/formatters/index.js +0 -437
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/formatters/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js +0 -50
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/longFormatters/index.js +0 -51
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/longFormatters/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js +0 -27
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js +0 -18
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js +0 -17
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js +0 -25
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeek/index.js +0 -17
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeek/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js +0 -32
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/protectedTokens/index.js +0 -19
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/protectedTokens/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/requiredArgs/index.js +0 -8
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/requiredArgs/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCDay/index.js +0 -24
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCDay/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISODay/index.js +0 -20
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISODay/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js +0 -18
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCWeek/index.js +0 -18
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCWeek/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js +0 -18
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js +0 -17
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js +0 -24
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js +0 -23
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/toInteger/index.js +0 -11
- package/dist/packages/utils/node_modules/date-fns/esm/_lib/toInteger/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/addMilliseconds/index.js +0 -37
- package/dist/packages/utils/node_modules/date-fns/esm/addMilliseconds/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/format/index.js +0 -378
- package/dist/packages/utils/node_modules/date-fns/esm/format/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/getMinutes/index.js +0 -33
- package/dist/packages/utils/node_modules/date-fns/esm/getMinutes/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/isBefore/index.js +0 -36
- package/dist/packages/utils/node_modules/date-fns/esm/isBefore/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/isFuture/index.js +0 -37
- package/dist/packages/utils/node_modules/date-fns/esm/isFuture/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/isValid/index.js +0 -70
- package/dist/packages/utils/node_modules/date-fns/esm/isValid/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js +0 -12
- package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js +0 -23
- package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js +0 -36
- package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js +0 -22
- package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js +0 -78
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js +0 -37
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js +0 -16
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js +0 -217
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js +0 -133
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/index.js +0 -33
- package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/parse/_lib/parsers/index.js +0 -1346
- package/dist/packages/utils/node_modules/date-fns/esm/parse/_lib/parsers/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/parse/index.js +0 -461
- package/dist/packages/utils/node_modules/date-fns/esm/parse/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/setMinutes/index.js +0 -38
- package/dist/packages/utils/node_modules/date-fns/esm/setMinutes/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/startOfMinute/index.js +0 -36
- package/dist/packages/utils/node_modules/date-fns/esm/startOfMinute/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/subMilliseconds/index.js +0 -35
- package/dist/packages/utils/node_modules/date-fns/esm/subMilliseconds/index.js.map +0 -1
- package/dist/packages/utils/node_modules/date-fns/esm/toDate/index.js +0 -50
- package/dist/packages/utils/node_modules/date-fns/esm/toDate/index.js.map +0 -1
|
@@ -1,1346 +0,0 @@
|
|
|
1
|
-
import startOfUTCISOWeek from "../../../_lib/startOfUTCISOWeek/index.js";
|
|
2
|
-
import startOfUTCWeek from "../../../_lib/startOfUTCWeek/index.js";
|
|
3
|
-
import getUTCWeekYear from "../../../_lib/getUTCWeekYear/index.js";
|
|
4
|
-
import setUTCDay from "../../../_lib/setUTCDay/index.js";
|
|
5
|
-
import setUTCISODay from "../../../_lib/setUTCISODay/index.js";
|
|
6
|
-
import setUTCISOWeek from "../../../_lib/setUTCISOWeek/index.js";
|
|
7
|
-
import setUTCWeek from "../../../_lib/setUTCWeek/index.js";
|
|
8
|
-
|
|
9
|
-
//#region node_modules/date-fns/esm/parse/_lib/parsers/index.js
|
|
10
|
-
var MILLISECONDS_IN_HOUR = 36e5;
|
|
11
|
-
var MILLISECONDS_IN_MINUTE = 6e4;
|
|
12
|
-
var MILLISECONDS_IN_SECOND = 1e3;
|
|
13
|
-
var numericPatterns = {
|
|
14
|
-
month: /^(1[0-2]|0?\d)/,
|
|
15
|
-
date: /^(3[0-1]|[0-2]?\d)/,
|
|
16
|
-
dayOfYear: /^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,
|
|
17
|
-
week: /^(5[0-3]|[0-4]?\d)/,
|
|
18
|
-
hour23h: /^(2[0-3]|[0-1]?\d)/,
|
|
19
|
-
hour24h: /^(2[0-4]|[0-1]?\d)/,
|
|
20
|
-
hour11h: /^(1[0-1]|0?\d)/,
|
|
21
|
-
hour12h: /^(1[0-2]|0?\d)/,
|
|
22
|
-
minute: /^[0-5]?\d/,
|
|
23
|
-
second: /^[0-5]?\d/,
|
|
24
|
-
singleDigit: /^\d/,
|
|
25
|
-
twoDigits: /^\d{1,2}/,
|
|
26
|
-
threeDigits: /^\d{1,3}/,
|
|
27
|
-
fourDigits: /^\d{1,4}/,
|
|
28
|
-
anyDigitsSigned: /^-?\d+/,
|
|
29
|
-
singleDigitSigned: /^-?\d/,
|
|
30
|
-
twoDigitsSigned: /^-?\d{1,2}/,
|
|
31
|
-
threeDigitsSigned: /^-?\d{1,3}/,
|
|
32
|
-
fourDigitsSigned: /^-?\d{1,4}/
|
|
33
|
-
};
|
|
34
|
-
var timezonePatterns = {
|
|
35
|
-
basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
|
|
36
|
-
basic: /^([+-])(\d{2})(\d{2})|Z/,
|
|
37
|
-
basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
|
|
38
|
-
extended: /^([+-])(\d{2}):(\d{2})|Z/,
|
|
39
|
-
extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
|
|
40
|
-
};
|
|
41
|
-
function parseNumericPattern(pattern, string, valueCallback) {
|
|
42
|
-
var matchResult = string.match(pattern);
|
|
43
|
-
if (!matchResult) return null;
|
|
44
|
-
var value = parseInt(matchResult[0], 10);
|
|
45
|
-
return {
|
|
46
|
-
value: valueCallback ? valueCallback(value) : value,
|
|
47
|
-
rest: string.slice(matchResult[0].length)
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
function parseTimezonePattern(pattern, string) {
|
|
51
|
-
var matchResult = string.match(pattern);
|
|
52
|
-
if (!matchResult) return null;
|
|
53
|
-
if (matchResult[0] === "Z") return {
|
|
54
|
-
value: 0,
|
|
55
|
-
rest: string.slice(1)
|
|
56
|
-
};
|
|
57
|
-
var sign = matchResult[1] === "+" ? 1 : -1;
|
|
58
|
-
var hours = matchResult[2] ? parseInt(matchResult[2], 10) : 0;
|
|
59
|
-
var minutes = matchResult[3] ? parseInt(matchResult[3], 10) : 0;
|
|
60
|
-
var seconds = matchResult[5] ? parseInt(matchResult[5], 10) : 0;
|
|
61
|
-
return {
|
|
62
|
-
value: sign * (hours * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE + seconds * MILLISECONDS_IN_SECOND),
|
|
63
|
-
rest: string.slice(matchResult[0].length)
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
function parseAnyDigitsSigned(string, valueCallback) {
|
|
67
|
-
return parseNumericPattern(numericPatterns.anyDigitsSigned, string, valueCallback);
|
|
68
|
-
}
|
|
69
|
-
function parseNDigits(n, string, valueCallback) {
|
|
70
|
-
switch (n) {
|
|
71
|
-
case 1: return parseNumericPattern(numericPatterns.singleDigit, string, valueCallback);
|
|
72
|
-
case 2: return parseNumericPattern(numericPatterns.twoDigits, string, valueCallback);
|
|
73
|
-
case 3: return parseNumericPattern(numericPatterns.threeDigits, string, valueCallback);
|
|
74
|
-
case 4: return parseNumericPattern(numericPatterns.fourDigits, string, valueCallback);
|
|
75
|
-
default: return parseNumericPattern(/* @__PURE__ */ new RegExp("^\\d{1," + n + "}"), string, valueCallback);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
function parseNDigitsSigned(n, string, valueCallback) {
|
|
79
|
-
switch (n) {
|
|
80
|
-
case 1: return parseNumericPattern(numericPatterns.singleDigitSigned, string, valueCallback);
|
|
81
|
-
case 2: return parseNumericPattern(numericPatterns.twoDigitsSigned, string, valueCallback);
|
|
82
|
-
case 3: return parseNumericPattern(numericPatterns.threeDigitsSigned, string, valueCallback);
|
|
83
|
-
case 4: return parseNumericPattern(numericPatterns.fourDigitsSigned, string, valueCallback);
|
|
84
|
-
default: return parseNumericPattern(/* @__PURE__ */ new RegExp("^-?\\d{1," + n + "}"), string, valueCallback);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
function dayPeriodEnumToHours(enumValue) {
|
|
88
|
-
switch (enumValue) {
|
|
89
|
-
case "morning": return 4;
|
|
90
|
-
case "evening": return 17;
|
|
91
|
-
case "pm":
|
|
92
|
-
case "noon":
|
|
93
|
-
case "afternoon": return 12;
|
|
94
|
-
case "am":
|
|
95
|
-
case "midnight":
|
|
96
|
-
case "night":
|
|
97
|
-
default: return 0;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
function normalizeTwoDigitYear(twoDigitYear, currentYear) {
|
|
101
|
-
var isCommonEra = currentYear > 0;
|
|
102
|
-
var absCurrentYear = isCommonEra ? currentYear : 1 - currentYear;
|
|
103
|
-
var result;
|
|
104
|
-
if (absCurrentYear <= 50) result = twoDigitYear || 100;
|
|
105
|
-
else {
|
|
106
|
-
var rangeEnd = absCurrentYear + 50;
|
|
107
|
-
var rangeEndCentury = Math.floor(rangeEnd / 100) * 100;
|
|
108
|
-
var isPreviousCentury = twoDigitYear >= rangeEnd % 100;
|
|
109
|
-
result = twoDigitYear + rangeEndCentury - (isPreviousCentury ? 100 : 0);
|
|
110
|
-
}
|
|
111
|
-
return isCommonEra ? result : 1 - result;
|
|
112
|
-
}
|
|
113
|
-
var DAYS_IN_MONTH = [
|
|
114
|
-
31,
|
|
115
|
-
28,
|
|
116
|
-
31,
|
|
117
|
-
30,
|
|
118
|
-
31,
|
|
119
|
-
30,
|
|
120
|
-
31,
|
|
121
|
-
31,
|
|
122
|
-
30,
|
|
123
|
-
31,
|
|
124
|
-
30,
|
|
125
|
-
31
|
|
126
|
-
];
|
|
127
|
-
var DAYS_IN_MONTH_LEAP_YEAR = [
|
|
128
|
-
31,
|
|
129
|
-
29,
|
|
130
|
-
31,
|
|
131
|
-
30,
|
|
132
|
-
31,
|
|
133
|
-
30,
|
|
134
|
-
31,
|
|
135
|
-
31,
|
|
136
|
-
30,
|
|
137
|
-
31,
|
|
138
|
-
30,
|
|
139
|
-
31
|
|
140
|
-
];
|
|
141
|
-
function isLeapYearIndex(year) {
|
|
142
|
-
return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;
|
|
143
|
-
}
|
|
144
|
-
var parsers = {
|
|
145
|
-
G: {
|
|
146
|
-
priority: 140,
|
|
147
|
-
parse: function(string, token, match, _options) {
|
|
148
|
-
switch (token) {
|
|
149
|
-
case "G":
|
|
150
|
-
case "GG":
|
|
151
|
-
case "GGG": return match.era(string, { width: "abbreviated" }) || match.era(string, { width: "narrow" });
|
|
152
|
-
case "GGGGG": return match.era(string, { width: "narrow" });
|
|
153
|
-
case "GGGG":
|
|
154
|
-
default: return match.era(string, { width: "wide" }) || match.era(string, { width: "abbreviated" }) || match.era(string, { width: "narrow" });
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
set: function(date, flags, value, _options) {
|
|
158
|
-
flags.era = value;
|
|
159
|
-
date.setUTCFullYear(value, 0, 1);
|
|
160
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
161
|
-
return date;
|
|
162
|
-
},
|
|
163
|
-
incompatibleTokens: [
|
|
164
|
-
"R",
|
|
165
|
-
"u",
|
|
166
|
-
"t",
|
|
167
|
-
"T"
|
|
168
|
-
]
|
|
169
|
-
},
|
|
170
|
-
y: {
|
|
171
|
-
priority: 130,
|
|
172
|
-
parse: function(string, token, match, _options) {
|
|
173
|
-
var valueCallback = function(year) {
|
|
174
|
-
return {
|
|
175
|
-
year,
|
|
176
|
-
isTwoDigitYear: token === "yy"
|
|
177
|
-
};
|
|
178
|
-
};
|
|
179
|
-
switch (token) {
|
|
180
|
-
case "y": return parseNDigits(4, string, valueCallback);
|
|
181
|
-
case "yo": return match.ordinalNumber(string, {
|
|
182
|
-
unit: "year",
|
|
183
|
-
valueCallback
|
|
184
|
-
});
|
|
185
|
-
default: return parseNDigits(token.length, string, valueCallback);
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
validate: function(_date, value, _options) {
|
|
189
|
-
return value.isTwoDigitYear || value.year > 0;
|
|
190
|
-
},
|
|
191
|
-
set: function(date, flags, value, _options) {
|
|
192
|
-
var currentYear = date.getUTCFullYear();
|
|
193
|
-
if (value.isTwoDigitYear) {
|
|
194
|
-
var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);
|
|
195
|
-
date.setUTCFullYear(normalizedTwoDigitYear, 0, 1);
|
|
196
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
197
|
-
return date;
|
|
198
|
-
}
|
|
199
|
-
var year = !("era" in flags) || flags.era === 1 ? value.year : 1 - value.year;
|
|
200
|
-
date.setUTCFullYear(year, 0, 1);
|
|
201
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
202
|
-
return date;
|
|
203
|
-
},
|
|
204
|
-
incompatibleTokens: [
|
|
205
|
-
"Y",
|
|
206
|
-
"R",
|
|
207
|
-
"u",
|
|
208
|
-
"w",
|
|
209
|
-
"I",
|
|
210
|
-
"i",
|
|
211
|
-
"e",
|
|
212
|
-
"c",
|
|
213
|
-
"t",
|
|
214
|
-
"T"
|
|
215
|
-
]
|
|
216
|
-
},
|
|
217
|
-
Y: {
|
|
218
|
-
priority: 130,
|
|
219
|
-
parse: function(string, token, match, _options) {
|
|
220
|
-
var valueCallback = function(year) {
|
|
221
|
-
return {
|
|
222
|
-
year,
|
|
223
|
-
isTwoDigitYear: token === "YY"
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
switch (token) {
|
|
227
|
-
case "Y": return parseNDigits(4, string, valueCallback);
|
|
228
|
-
case "Yo": return match.ordinalNumber(string, {
|
|
229
|
-
unit: "year",
|
|
230
|
-
valueCallback
|
|
231
|
-
});
|
|
232
|
-
default: return parseNDigits(token.length, string, valueCallback);
|
|
233
|
-
}
|
|
234
|
-
},
|
|
235
|
-
validate: function(_date, value, _options) {
|
|
236
|
-
return value.isTwoDigitYear || value.year > 0;
|
|
237
|
-
},
|
|
238
|
-
set: function(date, flags, value, options) {
|
|
239
|
-
var currentYear = getUTCWeekYear(date, options);
|
|
240
|
-
if (value.isTwoDigitYear) {
|
|
241
|
-
var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);
|
|
242
|
-
date.setUTCFullYear(normalizedTwoDigitYear, 0, options.firstWeekContainsDate);
|
|
243
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
244
|
-
return startOfUTCWeek(date, options);
|
|
245
|
-
}
|
|
246
|
-
var year = !("era" in flags) || flags.era === 1 ? value.year : 1 - value.year;
|
|
247
|
-
date.setUTCFullYear(year, 0, options.firstWeekContainsDate);
|
|
248
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
249
|
-
return startOfUTCWeek(date, options);
|
|
250
|
-
},
|
|
251
|
-
incompatibleTokens: [
|
|
252
|
-
"y",
|
|
253
|
-
"R",
|
|
254
|
-
"u",
|
|
255
|
-
"Q",
|
|
256
|
-
"q",
|
|
257
|
-
"M",
|
|
258
|
-
"L",
|
|
259
|
-
"I",
|
|
260
|
-
"d",
|
|
261
|
-
"D",
|
|
262
|
-
"i",
|
|
263
|
-
"t",
|
|
264
|
-
"T"
|
|
265
|
-
]
|
|
266
|
-
},
|
|
267
|
-
R: {
|
|
268
|
-
priority: 130,
|
|
269
|
-
parse: function(string, token, _match, _options) {
|
|
270
|
-
if (token === "R") return parseNDigitsSigned(4, string);
|
|
271
|
-
return parseNDigitsSigned(token.length, string);
|
|
272
|
-
},
|
|
273
|
-
set: function(_date, _flags, value, _options) {
|
|
274
|
-
var firstWeekOfYear = /* @__PURE__ */ new Date(0);
|
|
275
|
-
firstWeekOfYear.setUTCFullYear(value, 0, 4);
|
|
276
|
-
firstWeekOfYear.setUTCHours(0, 0, 0, 0);
|
|
277
|
-
return startOfUTCISOWeek(firstWeekOfYear);
|
|
278
|
-
},
|
|
279
|
-
incompatibleTokens: [
|
|
280
|
-
"G",
|
|
281
|
-
"y",
|
|
282
|
-
"Y",
|
|
283
|
-
"u",
|
|
284
|
-
"Q",
|
|
285
|
-
"q",
|
|
286
|
-
"M",
|
|
287
|
-
"L",
|
|
288
|
-
"w",
|
|
289
|
-
"d",
|
|
290
|
-
"D",
|
|
291
|
-
"e",
|
|
292
|
-
"c",
|
|
293
|
-
"t",
|
|
294
|
-
"T"
|
|
295
|
-
]
|
|
296
|
-
},
|
|
297
|
-
u: {
|
|
298
|
-
priority: 130,
|
|
299
|
-
parse: function(string, token, _match, _options) {
|
|
300
|
-
if (token === "u") return parseNDigitsSigned(4, string);
|
|
301
|
-
return parseNDigitsSigned(token.length, string);
|
|
302
|
-
},
|
|
303
|
-
set: function(date, _flags, value, _options) {
|
|
304
|
-
date.setUTCFullYear(value, 0, 1);
|
|
305
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
306
|
-
return date;
|
|
307
|
-
},
|
|
308
|
-
incompatibleTokens: [
|
|
309
|
-
"G",
|
|
310
|
-
"y",
|
|
311
|
-
"Y",
|
|
312
|
-
"R",
|
|
313
|
-
"w",
|
|
314
|
-
"I",
|
|
315
|
-
"i",
|
|
316
|
-
"e",
|
|
317
|
-
"c",
|
|
318
|
-
"t",
|
|
319
|
-
"T"
|
|
320
|
-
]
|
|
321
|
-
},
|
|
322
|
-
Q: {
|
|
323
|
-
priority: 120,
|
|
324
|
-
parse: function(string, token, match, _options) {
|
|
325
|
-
switch (token) {
|
|
326
|
-
case "Q":
|
|
327
|
-
case "QQ": return parseNDigits(token.length, string);
|
|
328
|
-
case "Qo": return match.ordinalNumber(string, { unit: "quarter" });
|
|
329
|
-
case "QQQ": return match.quarter(string, {
|
|
330
|
-
width: "abbreviated",
|
|
331
|
-
context: "formatting"
|
|
332
|
-
}) || match.quarter(string, {
|
|
333
|
-
width: "narrow",
|
|
334
|
-
context: "formatting"
|
|
335
|
-
});
|
|
336
|
-
case "QQQQQ": return match.quarter(string, {
|
|
337
|
-
width: "narrow",
|
|
338
|
-
context: "formatting"
|
|
339
|
-
});
|
|
340
|
-
case "QQQQ":
|
|
341
|
-
default: return match.quarter(string, {
|
|
342
|
-
width: "wide",
|
|
343
|
-
context: "formatting"
|
|
344
|
-
}) || match.quarter(string, {
|
|
345
|
-
width: "abbreviated",
|
|
346
|
-
context: "formatting"
|
|
347
|
-
}) || match.quarter(string, {
|
|
348
|
-
width: "narrow",
|
|
349
|
-
context: "formatting"
|
|
350
|
-
});
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
validate: function(_date, value, _options) {
|
|
354
|
-
return value >= 1 && value <= 4;
|
|
355
|
-
},
|
|
356
|
-
set: function(date, _flags, value, _options) {
|
|
357
|
-
date.setUTCMonth((value - 1) * 3, 1);
|
|
358
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
359
|
-
return date;
|
|
360
|
-
},
|
|
361
|
-
incompatibleTokens: [
|
|
362
|
-
"Y",
|
|
363
|
-
"R",
|
|
364
|
-
"q",
|
|
365
|
-
"M",
|
|
366
|
-
"L",
|
|
367
|
-
"w",
|
|
368
|
-
"I",
|
|
369
|
-
"d",
|
|
370
|
-
"D",
|
|
371
|
-
"i",
|
|
372
|
-
"e",
|
|
373
|
-
"c",
|
|
374
|
-
"t",
|
|
375
|
-
"T"
|
|
376
|
-
]
|
|
377
|
-
},
|
|
378
|
-
q: {
|
|
379
|
-
priority: 120,
|
|
380
|
-
parse: function(string, token, match, _options) {
|
|
381
|
-
switch (token) {
|
|
382
|
-
case "q":
|
|
383
|
-
case "qq": return parseNDigits(token.length, string);
|
|
384
|
-
case "qo": return match.ordinalNumber(string, { unit: "quarter" });
|
|
385
|
-
case "qqq": return match.quarter(string, {
|
|
386
|
-
width: "abbreviated",
|
|
387
|
-
context: "standalone"
|
|
388
|
-
}) || match.quarter(string, {
|
|
389
|
-
width: "narrow",
|
|
390
|
-
context: "standalone"
|
|
391
|
-
});
|
|
392
|
-
case "qqqqq": return match.quarter(string, {
|
|
393
|
-
width: "narrow",
|
|
394
|
-
context: "standalone"
|
|
395
|
-
});
|
|
396
|
-
case "qqqq":
|
|
397
|
-
default: return match.quarter(string, {
|
|
398
|
-
width: "wide",
|
|
399
|
-
context: "standalone"
|
|
400
|
-
}) || match.quarter(string, {
|
|
401
|
-
width: "abbreviated",
|
|
402
|
-
context: "standalone"
|
|
403
|
-
}) || match.quarter(string, {
|
|
404
|
-
width: "narrow",
|
|
405
|
-
context: "standalone"
|
|
406
|
-
});
|
|
407
|
-
}
|
|
408
|
-
},
|
|
409
|
-
validate: function(_date, value, _options) {
|
|
410
|
-
return value >= 1 && value <= 4;
|
|
411
|
-
},
|
|
412
|
-
set: function(date, _flags, value, _options) {
|
|
413
|
-
date.setUTCMonth((value - 1) * 3, 1);
|
|
414
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
415
|
-
return date;
|
|
416
|
-
},
|
|
417
|
-
incompatibleTokens: [
|
|
418
|
-
"Y",
|
|
419
|
-
"R",
|
|
420
|
-
"Q",
|
|
421
|
-
"M",
|
|
422
|
-
"L",
|
|
423
|
-
"w",
|
|
424
|
-
"I",
|
|
425
|
-
"d",
|
|
426
|
-
"D",
|
|
427
|
-
"i",
|
|
428
|
-
"e",
|
|
429
|
-
"c",
|
|
430
|
-
"t",
|
|
431
|
-
"T"
|
|
432
|
-
]
|
|
433
|
-
},
|
|
434
|
-
M: {
|
|
435
|
-
priority: 110,
|
|
436
|
-
parse: function(string, token, match, _options) {
|
|
437
|
-
var valueCallback = function(value) {
|
|
438
|
-
return value - 1;
|
|
439
|
-
};
|
|
440
|
-
switch (token) {
|
|
441
|
-
case "M": return parseNumericPattern(numericPatterns.month, string, valueCallback);
|
|
442
|
-
case "MM": return parseNDigits(2, string, valueCallback);
|
|
443
|
-
case "Mo": return match.ordinalNumber(string, {
|
|
444
|
-
unit: "month",
|
|
445
|
-
valueCallback
|
|
446
|
-
});
|
|
447
|
-
case "MMM": return match.month(string, {
|
|
448
|
-
width: "abbreviated",
|
|
449
|
-
context: "formatting"
|
|
450
|
-
}) || match.month(string, {
|
|
451
|
-
width: "narrow",
|
|
452
|
-
context: "formatting"
|
|
453
|
-
});
|
|
454
|
-
case "MMMMM": return match.month(string, {
|
|
455
|
-
width: "narrow",
|
|
456
|
-
context: "formatting"
|
|
457
|
-
});
|
|
458
|
-
case "MMMM":
|
|
459
|
-
default: return match.month(string, {
|
|
460
|
-
width: "wide",
|
|
461
|
-
context: "formatting"
|
|
462
|
-
}) || match.month(string, {
|
|
463
|
-
width: "abbreviated",
|
|
464
|
-
context: "formatting"
|
|
465
|
-
}) || match.month(string, {
|
|
466
|
-
width: "narrow",
|
|
467
|
-
context: "formatting"
|
|
468
|
-
});
|
|
469
|
-
}
|
|
470
|
-
},
|
|
471
|
-
validate: function(_date, value, _options) {
|
|
472
|
-
return value >= 0 && value <= 11;
|
|
473
|
-
},
|
|
474
|
-
set: function(date, _flags, value, _options) {
|
|
475
|
-
date.setUTCMonth(value, 1);
|
|
476
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
477
|
-
return date;
|
|
478
|
-
},
|
|
479
|
-
incompatibleTokens: [
|
|
480
|
-
"Y",
|
|
481
|
-
"R",
|
|
482
|
-
"q",
|
|
483
|
-
"Q",
|
|
484
|
-
"L",
|
|
485
|
-
"w",
|
|
486
|
-
"I",
|
|
487
|
-
"D",
|
|
488
|
-
"i",
|
|
489
|
-
"e",
|
|
490
|
-
"c",
|
|
491
|
-
"t",
|
|
492
|
-
"T"
|
|
493
|
-
]
|
|
494
|
-
},
|
|
495
|
-
L: {
|
|
496
|
-
priority: 110,
|
|
497
|
-
parse: function(string, token, match, _options) {
|
|
498
|
-
var valueCallback = function(value) {
|
|
499
|
-
return value - 1;
|
|
500
|
-
};
|
|
501
|
-
switch (token) {
|
|
502
|
-
case "L": return parseNumericPattern(numericPatterns.month, string, valueCallback);
|
|
503
|
-
case "LL": return parseNDigits(2, string, valueCallback);
|
|
504
|
-
case "Lo": return match.ordinalNumber(string, {
|
|
505
|
-
unit: "month",
|
|
506
|
-
valueCallback
|
|
507
|
-
});
|
|
508
|
-
case "LLL": return match.month(string, {
|
|
509
|
-
width: "abbreviated",
|
|
510
|
-
context: "standalone"
|
|
511
|
-
}) || match.month(string, {
|
|
512
|
-
width: "narrow",
|
|
513
|
-
context: "standalone"
|
|
514
|
-
});
|
|
515
|
-
case "LLLLL": return match.month(string, {
|
|
516
|
-
width: "narrow",
|
|
517
|
-
context: "standalone"
|
|
518
|
-
});
|
|
519
|
-
case "LLLL":
|
|
520
|
-
default: return match.month(string, {
|
|
521
|
-
width: "wide",
|
|
522
|
-
context: "standalone"
|
|
523
|
-
}) || match.month(string, {
|
|
524
|
-
width: "abbreviated",
|
|
525
|
-
context: "standalone"
|
|
526
|
-
}) || match.month(string, {
|
|
527
|
-
width: "narrow",
|
|
528
|
-
context: "standalone"
|
|
529
|
-
});
|
|
530
|
-
}
|
|
531
|
-
},
|
|
532
|
-
validate: function(_date, value, _options) {
|
|
533
|
-
return value >= 0 && value <= 11;
|
|
534
|
-
},
|
|
535
|
-
set: function(date, _flags, value, _options) {
|
|
536
|
-
date.setUTCMonth(value, 1);
|
|
537
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
538
|
-
return date;
|
|
539
|
-
},
|
|
540
|
-
incompatibleTokens: [
|
|
541
|
-
"Y",
|
|
542
|
-
"R",
|
|
543
|
-
"q",
|
|
544
|
-
"Q",
|
|
545
|
-
"M",
|
|
546
|
-
"w",
|
|
547
|
-
"I",
|
|
548
|
-
"D",
|
|
549
|
-
"i",
|
|
550
|
-
"e",
|
|
551
|
-
"c",
|
|
552
|
-
"t",
|
|
553
|
-
"T"
|
|
554
|
-
]
|
|
555
|
-
},
|
|
556
|
-
w: {
|
|
557
|
-
priority: 100,
|
|
558
|
-
parse: function(string, token, match, _options) {
|
|
559
|
-
switch (token) {
|
|
560
|
-
case "w": return parseNumericPattern(numericPatterns.week, string);
|
|
561
|
-
case "wo": return match.ordinalNumber(string, { unit: "week" });
|
|
562
|
-
default: return parseNDigits(token.length, string);
|
|
563
|
-
}
|
|
564
|
-
},
|
|
565
|
-
validate: function(_date, value, _options) {
|
|
566
|
-
return value >= 1 && value <= 53;
|
|
567
|
-
},
|
|
568
|
-
set: function(date, _flags, value, options) {
|
|
569
|
-
return startOfUTCWeek(setUTCWeek(date, value, options), options);
|
|
570
|
-
},
|
|
571
|
-
incompatibleTokens: [
|
|
572
|
-
"y",
|
|
573
|
-
"R",
|
|
574
|
-
"u",
|
|
575
|
-
"q",
|
|
576
|
-
"Q",
|
|
577
|
-
"M",
|
|
578
|
-
"L",
|
|
579
|
-
"I",
|
|
580
|
-
"d",
|
|
581
|
-
"D",
|
|
582
|
-
"i",
|
|
583
|
-
"t",
|
|
584
|
-
"T"
|
|
585
|
-
]
|
|
586
|
-
},
|
|
587
|
-
I: {
|
|
588
|
-
priority: 100,
|
|
589
|
-
parse: function(string, token, match, _options) {
|
|
590
|
-
switch (token) {
|
|
591
|
-
case "I": return parseNumericPattern(numericPatterns.week, string);
|
|
592
|
-
case "Io": return match.ordinalNumber(string, { unit: "week" });
|
|
593
|
-
default: return parseNDigits(token.length, string);
|
|
594
|
-
}
|
|
595
|
-
},
|
|
596
|
-
validate: function(_date, value, _options) {
|
|
597
|
-
return value >= 1 && value <= 53;
|
|
598
|
-
},
|
|
599
|
-
set: function(date, _flags, value, options) {
|
|
600
|
-
return startOfUTCISOWeek(setUTCISOWeek(date, value, options), options);
|
|
601
|
-
},
|
|
602
|
-
incompatibleTokens: [
|
|
603
|
-
"y",
|
|
604
|
-
"Y",
|
|
605
|
-
"u",
|
|
606
|
-
"q",
|
|
607
|
-
"Q",
|
|
608
|
-
"M",
|
|
609
|
-
"L",
|
|
610
|
-
"w",
|
|
611
|
-
"d",
|
|
612
|
-
"D",
|
|
613
|
-
"e",
|
|
614
|
-
"c",
|
|
615
|
-
"t",
|
|
616
|
-
"T"
|
|
617
|
-
]
|
|
618
|
-
},
|
|
619
|
-
d: {
|
|
620
|
-
priority: 90,
|
|
621
|
-
subPriority: 1,
|
|
622
|
-
parse: function(string, token, match, _options) {
|
|
623
|
-
switch (token) {
|
|
624
|
-
case "d": return parseNumericPattern(numericPatterns.date, string);
|
|
625
|
-
case "do": return match.ordinalNumber(string, { unit: "date" });
|
|
626
|
-
default: return parseNDigits(token.length, string);
|
|
627
|
-
}
|
|
628
|
-
},
|
|
629
|
-
validate: function(date, value, _options) {
|
|
630
|
-
var isLeapYear = isLeapYearIndex(date.getUTCFullYear());
|
|
631
|
-
var month = date.getUTCMonth();
|
|
632
|
-
if (isLeapYear) return value >= 1 && value <= DAYS_IN_MONTH_LEAP_YEAR[month];
|
|
633
|
-
else return value >= 1 && value <= DAYS_IN_MONTH[month];
|
|
634
|
-
},
|
|
635
|
-
set: function(date, _flags, value, _options) {
|
|
636
|
-
date.setUTCDate(value);
|
|
637
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
638
|
-
return date;
|
|
639
|
-
},
|
|
640
|
-
incompatibleTokens: [
|
|
641
|
-
"Y",
|
|
642
|
-
"R",
|
|
643
|
-
"q",
|
|
644
|
-
"Q",
|
|
645
|
-
"w",
|
|
646
|
-
"I",
|
|
647
|
-
"D",
|
|
648
|
-
"i",
|
|
649
|
-
"e",
|
|
650
|
-
"c",
|
|
651
|
-
"t",
|
|
652
|
-
"T"
|
|
653
|
-
]
|
|
654
|
-
},
|
|
655
|
-
D: {
|
|
656
|
-
priority: 90,
|
|
657
|
-
subPriority: 1,
|
|
658
|
-
parse: function(string, token, match, _options) {
|
|
659
|
-
switch (token) {
|
|
660
|
-
case "D":
|
|
661
|
-
case "DD": return parseNumericPattern(numericPatterns.dayOfYear, string);
|
|
662
|
-
case "Do": return match.ordinalNumber(string, { unit: "date" });
|
|
663
|
-
default: return parseNDigits(token.length, string);
|
|
664
|
-
}
|
|
665
|
-
},
|
|
666
|
-
validate: function(date, value, _options) {
|
|
667
|
-
if (isLeapYearIndex(date.getUTCFullYear())) return value >= 1 && value <= 366;
|
|
668
|
-
else return value >= 1 && value <= 365;
|
|
669
|
-
},
|
|
670
|
-
set: function(date, _flags, value, _options) {
|
|
671
|
-
date.setUTCMonth(0, value);
|
|
672
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
673
|
-
return date;
|
|
674
|
-
},
|
|
675
|
-
incompatibleTokens: [
|
|
676
|
-
"Y",
|
|
677
|
-
"R",
|
|
678
|
-
"q",
|
|
679
|
-
"Q",
|
|
680
|
-
"M",
|
|
681
|
-
"L",
|
|
682
|
-
"w",
|
|
683
|
-
"I",
|
|
684
|
-
"d",
|
|
685
|
-
"E",
|
|
686
|
-
"i",
|
|
687
|
-
"e",
|
|
688
|
-
"c",
|
|
689
|
-
"t",
|
|
690
|
-
"T"
|
|
691
|
-
]
|
|
692
|
-
},
|
|
693
|
-
E: {
|
|
694
|
-
priority: 90,
|
|
695
|
-
parse: function(string, token, match, _options) {
|
|
696
|
-
switch (token) {
|
|
697
|
-
case "E":
|
|
698
|
-
case "EE":
|
|
699
|
-
case "EEE": return match.day(string, {
|
|
700
|
-
width: "abbreviated",
|
|
701
|
-
context: "formatting"
|
|
702
|
-
}) || match.day(string, {
|
|
703
|
-
width: "short",
|
|
704
|
-
context: "formatting"
|
|
705
|
-
}) || match.day(string, {
|
|
706
|
-
width: "narrow",
|
|
707
|
-
context: "formatting"
|
|
708
|
-
});
|
|
709
|
-
case "EEEEE": return match.day(string, {
|
|
710
|
-
width: "narrow",
|
|
711
|
-
context: "formatting"
|
|
712
|
-
});
|
|
713
|
-
case "EEEEEE": return match.day(string, {
|
|
714
|
-
width: "short",
|
|
715
|
-
context: "formatting"
|
|
716
|
-
}) || match.day(string, {
|
|
717
|
-
width: "narrow",
|
|
718
|
-
context: "formatting"
|
|
719
|
-
});
|
|
720
|
-
case "EEEE":
|
|
721
|
-
default: return match.day(string, {
|
|
722
|
-
width: "wide",
|
|
723
|
-
context: "formatting"
|
|
724
|
-
}) || match.day(string, {
|
|
725
|
-
width: "abbreviated",
|
|
726
|
-
context: "formatting"
|
|
727
|
-
}) || match.day(string, {
|
|
728
|
-
width: "short",
|
|
729
|
-
context: "formatting"
|
|
730
|
-
}) || match.day(string, {
|
|
731
|
-
width: "narrow",
|
|
732
|
-
context: "formatting"
|
|
733
|
-
});
|
|
734
|
-
}
|
|
735
|
-
},
|
|
736
|
-
validate: function(_date, value, _options) {
|
|
737
|
-
return value >= 0 && value <= 6;
|
|
738
|
-
},
|
|
739
|
-
set: function(date, _flags, value, options) {
|
|
740
|
-
date = setUTCDay(date, value, options);
|
|
741
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
742
|
-
return date;
|
|
743
|
-
},
|
|
744
|
-
incompatibleTokens: [
|
|
745
|
-
"D",
|
|
746
|
-
"i",
|
|
747
|
-
"e",
|
|
748
|
-
"c",
|
|
749
|
-
"t",
|
|
750
|
-
"T"
|
|
751
|
-
]
|
|
752
|
-
},
|
|
753
|
-
e: {
|
|
754
|
-
priority: 90,
|
|
755
|
-
parse: function(string, token, match, options) {
|
|
756
|
-
var valueCallback = function(value) {
|
|
757
|
-
var wholeWeekDays = Math.floor((value - 1) / 7) * 7;
|
|
758
|
-
return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;
|
|
759
|
-
};
|
|
760
|
-
switch (token) {
|
|
761
|
-
case "e":
|
|
762
|
-
case "ee": return parseNDigits(token.length, string, valueCallback);
|
|
763
|
-
case "eo": return match.ordinalNumber(string, {
|
|
764
|
-
unit: "day",
|
|
765
|
-
valueCallback
|
|
766
|
-
});
|
|
767
|
-
case "eee": return match.day(string, {
|
|
768
|
-
width: "abbreviated",
|
|
769
|
-
context: "formatting"
|
|
770
|
-
}) || match.day(string, {
|
|
771
|
-
width: "short",
|
|
772
|
-
context: "formatting"
|
|
773
|
-
}) || match.day(string, {
|
|
774
|
-
width: "narrow",
|
|
775
|
-
context: "formatting"
|
|
776
|
-
});
|
|
777
|
-
case "eeeee": return match.day(string, {
|
|
778
|
-
width: "narrow",
|
|
779
|
-
context: "formatting"
|
|
780
|
-
});
|
|
781
|
-
case "eeeeee": return match.day(string, {
|
|
782
|
-
width: "short",
|
|
783
|
-
context: "formatting"
|
|
784
|
-
}) || match.day(string, {
|
|
785
|
-
width: "narrow",
|
|
786
|
-
context: "formatting"
|
|
787
|
-
});
|
|
788
|
-
case "eeee":
|
|
789
|
-
default: return match.day(string, {
|
|
790
|
-
width: "wide",
|
|
791
|
-
context: "formatting"
|
|
792
|
-
}) || match.day(string, {
|
|
793
|
-
width: "abbreviated",
|
|
794
|
-
context: "formatting"
|
|
795
|
-
}) || match.day(string, {
|
|
796
|
-
width: "short",
|
|
797
|
-
context: "formatting"
|
|
798
|
-
}) || match.day(string, {
|
|
799
|
-
width: "narrow",
|
|
800
|
-
context: "formatting"
|
|
801
|
-
});
|
|
802
|
-
}
|
|
803
|
-
},
|
|
804
|
-
validate: function(_date, value, _options) {
|
|
805
|
-
return value >= 0 && value <= 6;
|
|
806
|
-
},
|
|
807
|
-
set: function(date, _flags, value, options) {
|
|
808
|
-
date = setUTCDay(date, value, options);
|
|
809
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
810
|
-
return date;
|
|
811
|
-
},
|
|
812
|
-
incompatibleTokens: [
|
|
813
|
-
"y",
|
|
814
|
-
"R",
|
|
815
|
-
"u",
|
|
816
|
-
"q",
|
|
817
|
-
"Q",
|
|
818
|
-
"M",
|
|
819
|
-
"L",
|
|
820
|
-
"I",
|
|
821
|
-
"d",
|
|
822
|
-
"D",
|
|
823
|
-
"E",
|
|
824
|
-
"i",
|
|
825
|
-
"c",
|
|
826
|
-
"t",
|
|
827
|
-
"T"
|
|
828
|
-
]
|
|
829
|
-
},
|
|
830
|
-
c: {
|
|
831
|
-
priority: 90,
|
|
832
|
-
parse: function(string, token, match, options) {
|
|
833
|
-
var valueCallback = function(value) {
|
|
834
|
-
var wholeWeekDays = Math.floor((value - 1) / 7) * 7;
|
|
835
|
-
return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;
|
|
836
|
-
};
|
|
837
|
-
switch (token) {
|
|
838
|
-
case "c":
|
|
839
|
-
case "cc": return parseNDigits(token.length, string, valueCallback);
|
|
840
|
-
case "co": return match.ordinalNumber(string, {
|
|
841
|
-
unit: "day",
|
|
842
|
-
valueCallback
|
|
843
|
-
});
|
|
844
|
-
case "ccc": return match.day(string, {
|
|
845
|
-
width: "abbreviated",
|
|
846
|
-
context: "standalone"
|
|
847
|
-
}) || match.day(string, {
|
|
848
|
-
width: "short",
|
|
849
|
-
context: "standalone"
|
|
850
|
-
}) || match.day(string, {
|
|
851
|
-
width: "narrow",
|
|
852
|
-
context: "standalone"
|
|
853
|
-
});
|
|
854
|
-
case "ccccc": return match.day(string, {
|
|
855
|
-
width: "narrow",
|
|
856
|
-
context: "standalone"
|
|
857
|
-
});
|
|
858
|
-
case "cccccc": return match.day(string, {
|
|
859
|
-
width: "short",
|
|
860
|
-
context: "standalone"
|
|
861
|
-
}) || match.day(string, {
|
|
862
|
-
width: "narrow",
|
|
863
|
-
context: "standalone"
|
|
864
|
-
});
|
|
865
|
-
case "cccc":
|
|
866
|
-
default: return match.day(string, {
|
|
867
|
-
width: "wide",
|
|
868
|
-
context: "standalone"
|
|
869
|
-
}) || match.day(string, {
|
|
870
|
-
width: "abbreviated",
|
|
871
|
-
context: "standalone"
|
|
872
|
-
}) || match.day(string, {
|
|
873
|
-
width: "short",
|
|
874
|
-
context: "standalone"
|
|
875
|
-
}) || match.day(string, {
|
|
876
|
-
width: "narrow",
|
|
877
|
-
context: "standalone"
|
|
878
|
-
});
|
|
879
|
-
}
|
|
880
|
-
},
|
|
881
|
-
validate: function(_date, value, _options) {
|
|
882
|
-
return value >= 0 && value <= 6;
|
|
883
|
-
},
|
|
884
|
-
set: function(date, _flags, value, options) {
|
|
885
|
-
date = setUTCDay(date, value, options);
|
|
886
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
887
|
-
return date;
|
|
888
|
-
},
|
|
889
|
-
incompatibleTokens: [
|
|
890
|
-
"y",
|
|
891
|
-
"R",
|
|
892
|
-
"u",
|
|
893
|
-
"q",
|
|
894
|
-
"Q",
|
|
895
|
-
"M",
|
|
896
|
-
"L",
|
|
897
|
-
"I",
|
|
898
|
-
"d",
|
|
899
|
-
"D",
|
|
900
|
-
"E",
|
|
901
|
-
"i",
|
|
902
|
-
"e",
|
|
903
|
-
"t",
|
|
904
|
-
"T"
|
|
905
|
-
]
|
|
906
|
-
},
|
|
907
|
-
i: {
|
|
908
|
-
priority: 90,
|
|
909
|
-
parse: function(string, token, match, _options) {
|
|
910
|
-
var valueCallback = function(value) {
|
|
911
|
-
if (value === 0) return 7;
|
|
912
|
-
return value;
|
|
913
|
-
};
|
|
914
|
-
switch (token) {
|
|
915
|
-
case "i":
|
|
916
|
-
case "ii": return parseNDigits(token.length, string);
|
|
917
|
-
case "io": return match.ordinalNumber(string, { unit: "day" });
|
|
918
|
-
case "iii": return match.day(string, {
|
|
919
|
-
width: "abbreviated",
|
|
920
|
-
context: "formatting",
|
|
921
|
-
valueCallback
|
|
922
|
-
}) || match.day(string, {
|
|
923
|
-
width: "short",
|
|
924
|
-
context: "formatting",
|
|
925
|
-
valueCallback
|
|
926
|
-
}) || match.day(string, {
|
|
927
|
-
width: "narrow",
|
|
928
|
-
context: "formatting",
|
|
929
|
-
valueCallback
|
|
930
|
-
});
|
|
931
|
-
case "iiiii": return match.day(string, {
|
|
932
|
-
width: "narrow",
|
|
933
|
-
context: "formatting",
|
|
934
|
-
valueCallback
|
|
935
|
-
});
|
|
936
|
-
case "iiiiii": return match.day(string, {
|
|
937
|
-
width: "short",
|
|
938
|
-
context: "formatting",
|
|
939
|
-
valueCallback
|
|
940
|
-
}) || match.day(string, {
|
|
941
|
-
width: "narrow",
|
|
942
|
-
context: "formatting",
|
|
943
|
-
valueCallback
|
|
944
|
-
});
|
|
945
|
-
case "iiii":
|
|
946
|
-
default: return match.day(string, {
|
|
947
|
-
width: "wide",
|
|
948
|
-
context: "formatting",
|
|
949
|
-
valueCallback
|
|
950
|
-
}) || match.day(string, {
|
|
951
|
-
width: "abbreviated",
|
|
952
|
-
context: "formatting",
|
|
953
|
-
valueCallback
|
|
954
|
-
}) || match.day(string, {
|
|
955
|
-
width: "short",
|
|
956
|
-
context: "formatting",
|
|
957
|
-
valueCallback
|
|
958
|
-
}) || match.day(string, {
|
|
959
|
-
width: "narrow",
|
|
960
|
-
context: "formatting",
|
|
961
|
-
valueCallback
|
|
962
|
-
});
|
|
963
|
-
}
|
|
964
|
-
},
|
|
965
|
-
validate: function(_date, value, _options) {
|
|
966
|
-
return value >= 1 && value <= 7;
|
|
967
|
-
},
|
|
968
|
-
set: function(date, _flags, value, options) {
|
|
969
|
-
date = setUTCISODay(date, value, options);
|
|
970
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
971
|
-
return date;
|
|
972
|
-
},
|
|
973
|
-
incompatibleTokens: [
|
|
974
|
-
"y",
|
|
975
|
-
"Y",
|
|
976
|
-
"u",
|
|
977
|
-
"q",
|
|
978
|
-
"Q",
|
|
979
|
-
"M",
|
|
980
|
-
"L",
|
|
981
|
-
"w",
|
|
982
|
-
"d",
|
|
983
|
-
"D",
|
|
984
|
-
"E",
|
|
985
|
-
"e",
|
|
986
|
-
"c",
|
|
987
|
-
"t",
|
|
988
|
-
"T"
|
|
989
|
-
]
|
|
990
|
-
},
|
|
991
|
-
a: {
|
|
992
|
-
priority: 80,
|
|
993
|
-
parse: function(string, token, match, _options) {
|
|
994
|
-
switch (token) {
|
|
995
|
-
case "a":
|
|
996
|
-
case "aa":
|
|
997
|
-
case "aaa": return match.dayPeriod(string, {
|
|
998
|
-
width: "abbreviated",
|
|
999
|
-
context: "formatting"
|
|
1000
|
-
}) || match.dayPeriod(string, {
|
|
1001
|
-
width: "narrow",
|
|
1002
|
-
context: "formatting"
|
|
1003
|
-
});
|
|
1004
|
-
case "aaaaa": return match.dayPeriod(string, {
|
|
1005
|
-
width: "narrow",
|
|
1006
|
-
context: "formatting"
|
|
1007
|
-
});
|
|
1008
|
-
case "aaaa":
|
|
1009
|
-
default: return match.dayPeriod(string, {
|
|
1010
|
-
width: "wide",
|
|
1011
|
-
context: "formatting"
|
|
1012
|
-
}) || match.dayPeriod(string, {
|
|
1013
|
-
width: "abbreviated",
|
|
1014
|
-
context: "formatting"
|
|
1015
|
-
}) || match.dayPeriod(string, {
|
|
1016
|
-
width: "narrow",
|
|
1017
|
-
context: "formatting"
|
|
1018
|
-
});
|
|
1019
|
-
}
|
|
1020
|
-
},
|
|
1021
|
-
set: function(date, _flags, value, _options) {
|
|
1022
|
-
date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
|
|
1023
|
-
return date;
|
|
1024
|
-
},
|
|
1025
|
-
incompatibleTokens: [
|
|
1026
|
-
"b",
|
|
1027
|
-
"B",
|
|
1028
|
-
"H",
|
|
1029
|
-
"K",
|
|
1030
|
-
"k",
|
|
1031
|
-
"t",
|
|
1032
|
-
"T"
|
|
1033
|
-
]
|
|
1034
|
-
},
|
|
1035
|
-
b: {
|
|
1036
|
-
priority: 80,
|
|
1037
|
-
parse: function(string, token, match, _options) {
|
|
1038
|
-
switch (token) {
|
|
1039
|
-
case "b":
|
|
1040
|
-
case "bb":
|
|
1041
|
-
case "bbb": return match.dayPeriod(string, {
|
|
1042
|
-
width: "abbreviated",
|
|
1043
|
-
context: "formatting"
|
|
1044
|
-
}) || match.dayPeriod(string, {
|
|
1045
|
-
width: "narrow",
|
|
1046
|
-
context: "formatting"
|
|
1047
|
-
});
|
|
1048
|
-
case "bbbbb": return match.dayPeriod(string, {
|
|
1049
|
-
width: "narrow",
|
|
1050
|
-
context: "formatting"
|
|
1051
|
-
});
|
|
1052
|
-
case "bbbb":
|
|
1053
|
-
default: return match.dayPeriod(string, {
|
|
1054
|
-
width: "wide",
|
|
1055
|
-
context: "formatting"
|
|
1056
|
-
}) || match.dayPeriod(string, {
|
|
1057
|
-
width: "abbreviated",
|
|
1058
|
-
context: "formatting"
|
|
1059
|
-
}) || match.dayPeriod(string, {
|
|
1060
|
-
width: "narrow",
|
|
1061
|
-
context: "formatting"
|
|
1062
|
-
});
|
|
1063
|
-
}
|
|
1064
|
-
},
|
|
1065
|
-
set: function(date, _flags, value, _options) {
|
|
1066
|
-
date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
|
|
1067
|
-
return date;
|
|
1068
|
-
},
|
|
1069
|
-
incompatibleTokens: [
|
|
1070
|
-
"a",
|
|
1071
|
-
"B",
|
|
1072
|
-
"H",
|
|
1073
|
-
"K",
|
|
1074
|
-
"k",
|
|
1075
|
-
"t",
|
|
1076
|
-
"T"
|
|
1077
|
-
]
|
|
1078
|
-
},
|
|
1079
|
-
B: {
|
|
1080
|
-
priority: 80,
|
|
1081
|
-
parse: function(string, token, match, _options) {
|
|
1082
|
-
switch (token) {
|
|
1083
|
-
case "B":
|
|
1084
|
-
case "BB":
|
|
1085
|
-
case "BBB": return match.dayPeriod(string, {
|
|
1086
|
-
width: "abbreviated",
|
|
1087
|
-
context: "formatting"
|
|
1088
|
-
}) || match.dayPeriod(string, {
|
|
1089
|
-
width: "narrow",
|
|
1090
|
-
context: "formatting"
|
|
1091
|
-
});
|
|
1092
|
-
case "BBBBB": return match.dayPeriod(string, {
|
|
1093
|
-
width: "narrow",
|
|
1094
|
-
context: "formatting"
|
|
1095
|
-
});
|
|
1096
|
-
case "BBBB":
|
|
1097
|
-
default: return match.dayPeriod(string, {
|
|
1098
|
-
width: "wide",
|
|
1099
|
-
context: "formatting"
|
|
1100
|
-
}) || match.dayPeriod(string, {
|
|
1101
|
-
width: "abbreviated",
|
|
1102
|
-
context: "formatting"
|
|
1103
|
-
}) || match.dayPeriod(string, {
|
|
1104
|
-
width: "narrow",
|
|
1105
|
-
context: "formatting"
|
|
1106
|
-
});
|
|
1107
|
-
}
|
|
1108
|
-
},
|
|
1109
|
-
set: function(date, _flags, value, _options) {
|
|
1110
|
-
date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
|
|
1111
|
-
return date;
|
|
1112
|
-
},
|
|
1113
|
-
incompatibleTokens: [
|
|
1114
|
-
"a",
|
|
1115
|
-
"b",
|
|
1116
|
-
"t",
|
|
1117
|
-
"T"
|
|
1118
|
-
]
|
|
1119
|
-
},
|
|
1120
|
-
h: {
|
|
1121
|
-
priority: 70,
|
|
1122
|
-
parse: function(string, token, match, _options) {
|
|
1123
|
-
switch (token) {
|
|
1124
|
-
case "h": return parseNumericPattern(numericPatterns.hour12h, string);
|
|
1125
|
-
case "ho": return match.ordinalNumber(string, { unit: "hour" });
|
|
1126
|
-
default: return parseNDigits(token.length, string);
|
|
1127
|
-
}
|
|
1128
|
-
},
|
|
1129
|
-
validate: function(_date, value, _options) {
|
|
1130
|
-
return value >= 1 && value <= 12;
|
|
1131
|
-
},
|
|
1132
|
-
set: function(date, _flags, value, _options) {
|
|
1133
|
-
var isPM = date.getUTCHours() >= 12;
|
|
1134
|
-
if (isPM && value < 12) date.setUTCHours(value + 12, 0, 0, 0);
|
|
1135
|
-
else if (!isPM && value === 12) date.setUTCHours(0, 0, 0, 0);
|
|
1136
|
-
else date.setUTCHours(value, 0, 0, 0);
|
|
1137
|
-
return date;
|
|
1138
|
-
},
|
|
1139
|
-
incompatibleTokens: [
|
|
1140
|
-
"H",
|
|
1141
|
-
"K",
|
|
1142
|
-
"k",
|
|
1143
|
-
"t",
|
|
1144
|
-
"T"
|
|
1145
|
-
]
|
|
1146
|
-
},
|
|
1147
|
-
H: {
|
|
1148
|
-
priority: 70,
|
|
1149
|
-
parse: function(string, token, match, _options) {
|
|
1150
|
-
switch (token) {
|
|
1151
|
-
case "H": return parseNumericPattern(numericPatterns.hour23h, string);
|
|
1152
|
-
case "Ho": return match.ordinalNumber(string, { unit: "hour" });
|
|
1153
|
-
default: return parseNDigits(token.length, string);
|
|
1154
|
-
}
|
|
1155
|
-
},
|
|
1156
|
-
validate: function(_date, value, _options) {
|
|
1157
|
-
return value >= 0 && value <= 23;
|
|
1158
|
-
},
|
|
1159
|
-
set: function(date, _flags, value, _options) {
|
|
1160
|
-
date.setUTCHours(value, 0, 0, 0);
|
|
1161
|
-
return date;
|
|
1162
|
-
},
|
|
1163
|
-
incompatibleTokens: [
|
|
1164
|
-
"a",
|
|
1165
|
-
"b",
|
|
1166
|
-
"h",
|
|
1167
|
-
"K",
|
|
1168
|
-
"k",
|
|
1169
|
-
"t",
|
|
1170
|
-
"T"
|
|
1171
|
-
]
|
|
1172
|
-
},
|
|
1173
|
-
K: {
|
|
1174
|
-
priority: 70,
|
|
1175
|
-
parse: function(string, token, match, _options) {
|
|
1176
|
-
switch (token) {
|
|
1177
|
-
case "K": return parseNumericPattern(numericPatterns.hour11h, string);
|
|
1178
|
-
case "Ko": return match.ordinalNumber(string, { unit: "hour" });
|
|
1179
|
-
default: return parseNDigits(token.length, string);
|
|
1180
|
-
}
|
|
1181
|
-
},
|
|
1182
|
-
validate: function(_date, value, _options) {
|
|
1183
|
-
return value >= 0 && value <= 11;
|
|
1184
|
-
},
|
|
1185
|
-
set: function(date, _flags, value, _options) {
|
|
1186
|
-
if (date.getUTCHours() >= 12 && value < 12) date.setUTCHours(value + 12, 0, 0, 0);
|
|
1187
|
-
else date.setUTCHours(value, 0, 0, 0);
|
|
1188
|
-
return date;
|
|
1189
|
-
},
|
|
1190
|
-
incompatibleTokens: [
|
|
1191
|
-
"a",
|
|
1192
|
-
"b",
|
|
1193
|
-
"h",
|
|
1194
|
-
"H",
|
|
1195
|
-
"k",
|
|
1196
|
-
"t",
|
|
1197
|
-
"T"
|
|
1198
|
-
]
|
|
1199
|
-
},
|
|
1200
|
-
k: {
|
|
1201
|
-
priority: 70,
|
|
1202
|
-
parse: function(string, token, match, _options) {
|
|
1203
|
-
switch (token) {
|
|
1204
|
-
case "k": return parseNumericPattern(numericPatterns.hour24h, string);
|
|
1205
|
-
case "ko": return match.ordinalNumber(string, { unit: "hour" });
|
|
1206
|
-
default: return parseNDigits(token.length, string);
|
|
1207
|
-
}
|
|
1208
|
-
},
|
|
1209
|
-
validate: function(_date, value, _options) {
|
|
1210
|
-
return value >= 1 && value <= 24;
|
|
1211
|
-
},
|
|
1212
|
-
set: function(date, _flags, value, _options) {
|
|
1213
|
-
var hours = value <= 24 ? value % 24 : value;
|
|
1214
|
-
date.setUTCHours(hours, 0, 0, 0);
|
|
1215
|
-
return date;
|
|
1216
|
-
},
|
|
1217
|
-
incompatibleTokens: [
|
|
1218
|
-
"a",
|
|
1219
|
-
"b",
|
|
1220
|
-
"h",
|
|
1221
|
-
"H",
|
|
1222
|
-
"K",
|
|
1223
|
-
"t",
|
|
1224
|
-
"T"
|
|
1225
|
-
]
|
|
1226
|
-
},
|
|
1227
|
-
m: {
|
|
1228
|
-
priority: 60,
|
|
1229
|
-
parse: function(string, token, match, _options) {
|
|
1230
|
-
switch (token) {
|
|
1231
|
-
case "m": return parseNumericPattern(numericPatterns.minute, string);
|
|
1232
|
-
case "mo": return match.ordinalNumber(string, { unit: "minute" });
|
|
1233
|
-
default: return parseNDigits(token.length, string);
|
|
1234
|
-
}
|
|
1235
|
-
},
|
|
1236
|
-
validate: function(_date, value, _options) {
|
|
1237
|
-
return value >= 0 && value <= 59;
|
|
1238
|
-
},
|
|
1239
|
-
set: function(date, _flags, value, _options) {
|
|
1240
|
-
date.setUTCMinutes(value, 0, 0);
|
|
1241
|
-
return date;
|
|
1242
|
-
},
|
|
1243
|
-
incompatibleTokens: ["t", "T"]
|
|
1244
|
-
},
|
|
1245
|
-
s: {
|
|
1246
|
-
priority: 50,
|
|
1247
|
-
parse: function(string, token, match, _options) {
|
|
1248
|
-
switch (token) {
|
|
1249
|
-
case "s": return parseNumericPattern(numericPatterns.second, string);
|
|
1250
|
-
case "so": return match.ordinalNumber(string, { unit: "second" });
|
|
1251
|
-
default: return parseNDigits(token.length, string);
|
|
1252
|
-
}
|
|
1253
|
-
},
|
|
1254
|
-
validate: function(_date, value, _options) {
|
|
1255
|
-
return value >= 0 && value <= 59;
|
|
1256
|
-
},
|
|
1257
|
-
set: function(date, _flags, value, _options) {
|
|
1258
|
-
date.setUTCSeconds(value, 0);
|
|
1259
|
-
return date;
|
|
1260
|
-
},
|
|
1261
|
-
incompatibleTokens: ["t", "T"]
|
|
1262
|
-
},
|
|
1263
|
-
S: {
|
|
1264
|
-
priority: 30,
|
|
1265
|
-
parse: function(string, token, _match, _options) {
|
|
1266
|
-
var valueCallback = function(value) {
|
|
1267
|
-
return Math.floor(value * Math.pow(10, -token.length + 3));
|
|
1268
|
-
};
|
|
1269
|
-
return parseNDigits(token.length, string, valueCallback);
|
|
1270
|
-
},
|
|
1271
|
-
set: function(date, _flags, value, _options) {
|
|
1272
|
-
date.setUTCMilliseconds(value);
|
|
1273
|
-
return date;
|
|
1274
|
-
},
|
|
1275
|
-
incompatibleTokens: ["t", "T"]
|
|
1276
|
-
},
|
|
1277
|
-
X: {
|
|
1278
|
-
priority: 10,
|
|
1279
|
-
parse: function(string, token, _match, _options) {
|
|
1280
|
-
switch (token) {
|
|
1281
|
-
case "X": return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, string);
|
|
1282
|
-
case "XX": return parseTimezonePattern(timezonePatterns.basic, string);
|
|
1283
|
-
case "XXXX": return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, string);
|
|
1284
|
-
case "XXXXX": return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, string);
|
|
1285
|
-
case "XXX":
|
|
1286
|
-
default: return parseTimezonePattern(timezonePatterns.extended, string);
|
|
1287
|
-
}
|
|
1288
|
-
},
|
|
1289
|
-
set: function(date, flags, value, _options) {
|
|
1290
|
-
if (flags.timestampIsSet) return date;
|
|
1291
|
-
return new Date(date.getTime() - value);
|
|
1292
|
-
},
|
|
1293
|
-
incompatibleTokens: [
|
|
1294
|
-
"t",
|
|
1295
|
-
"T",
|
|
1296
|
-
"x"
|
|
1297
|
-
]
|
|
1298
|
-
},
|
|
1299
|
-
x: {
|
|
1300
|
-
priority: 10,
|
|
1301
|
-
parse: function(string, token, _match, _options) {
|
|
1302
|
-
switch (token) {
|
|
1303
|
-
case "x": return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, string);
|
|
1304
|
-
case "xx": return parseTimezonePattern(timezonePatterns.basic, string);
|
|
1305
|
-
case "xxxx": return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, string);
|
|
1306
|
-
case "xxxxx": return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, string);
|
|
1307
|
-
case "xxx":
|
|
1308
|
-
default: return parseTimezonePattern(timezonePatterns.extended, string);
|
|
1309
|
-
}
|
|
1310
|
-
},
|
|
1311
|
-
set: function(date, flags, value, _options) {
|
|
1312
|
-
if (flags.timestampIsSet) return date;
|
|
1313
|
-
return new Date(date.getTime() - value);
|
|
1314
|
-
},
|
|
1315
|
-
incompatibleTokens: [
|
|
1316
|
-
"t",
|
|
1317
|
-
"T",
|
|
1318
|
-
"X"
|
|
1319
|
-
]
|
|
1320
|
-
},
|
|
1321
|
-
t: {
|
|
1322
|
-
priority: 40,
|
|
1323
|
-
parse: function(string, _token, _match, _options) {
|
|
1324
|
-
return parseAnyDigitsSigned(string);
|
|
1325
|
-
},
|
|
1326
|
-
set: function(_date, _flags, value, _options) {
|
|
1327
|
-
return [/* @__PURE__ */ new Date(value * 1e3), { timestampIsSet: true }];
|
|
1328
|
-
},
|
|
1329
|
-
incompatibleTokens: "*"
|
|
1330
|
-
},
|
|
1331
|
-
T: {
|
|
1332
|
-
priority: 20,
|
|
1333
|
-
parse: function(string, _token, _match, _options) {
|
|
1334
|
-
return parseAnyDigitsSigned(string);
|
|
1335
|
-
},
|
|
1336
|
-
set: function(_date, _flags, value, _options) {
|
|
1337
|
-
return [new Date(value), { timestampIsSet: true }];
|
|
1338
|
-
},
|
|
1339
|
-
incompatibleTokens: "*"
|
|
1340
|
-
}
|
|
1341
|
-
};
|
|
1342
|
-
var parsers_default = parsers;
|
|
1343
|
-
|
|
1344
|
-
//#endregion
|
|
1345
|
-
export { parsers_default as default };
|
|
1346
|
-
//# sourceMappingURL=index.js.map
|