@rpcbase/ui 0.213.0 → 0.214.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index108.js +36 -36
- package/dist/index120.js +6 -6
- package/dist/index123.js +10 -10
- package/dist/index125.js +2 -2
- package/dist/index126.js +3 -3
- package/dist/index127.js +1 -1
- package/dist/index129.js +2 -2
- package/dist/index131.js +1 -1
- package/dist/index152.js +46 -5
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +40 -62
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +230 -2
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +22 -364
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +23 -260
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +391 -51
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +5 -46
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +56 -157
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +1 -1
- package/dist/index160.js +2 -110
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +363 -24
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +262 -8
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +60 -4
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +46 -5
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +169 -4
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +102 -459
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +24 -185
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +8 -108
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +4 -262
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +5 -9
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +4 -42
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +466 -4
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +177 -597
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +103 -42
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +253 -220
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +10 -22
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +42 -24
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +4 -400
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +67 -58
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +180 -8
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +42 -62
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +57 -18
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +8 -16
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +65 -4
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +18 -4
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +16 -6
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +5 -4
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +5 -6
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +6 -16
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +4 -4
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +6 -4
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +16 -12
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +4 -9
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +4 -13
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +12 -13
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +9 -4
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +13 -5
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +13 -6
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +4 -5
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +5 -54
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +6 -8
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +4 -3
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +54 -4
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +6 -6
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +4 -4
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +4 -4
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +8 -3
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +4 -10
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +4 -9
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +3 -9
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +10 -10
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +9 -10
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +9 -9
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +10 -6
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +10 -5
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +9 -4
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +6 -5
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +5 -6
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +4 -5
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +5 -16
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +6 -7
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +5 -10
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +15 -9
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +7 -21
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +10 -10
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +10 -9
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +21 -9
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +10 -4
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +9 -5
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +9 -16
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +4 -9
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +5 -18
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +16 -15
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +9 -12
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +18 -29
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +15 -12
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +12 -25
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +29 -5
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +12 -13
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +23 -152
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +5 -30
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +24 -9
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +29 -49
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +5 -12
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +13 -44
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +145 -86
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +27 -83
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +9 -105
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +41 -45
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +11 -11
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +42 -35
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +95 -8
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +86 -3
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +105 -9
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +46 -110
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +11 -17
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +35 -13
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +8 -36
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +115 -19
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +17 -8
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +12 -16
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +3 -28
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +35 -15
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +20 -67
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +9 -180
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +8 -46
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +19 -24
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +29 -29
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +17 -5
- package/dist/index269.js.map +1 -1
- package/dist/index271.js +5 -5
- package/dist/index273.js +5 -21
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +3 -5
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +24 -3
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +111 -22
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +14 -111
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +528 -14
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +111 -515
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +117 -109
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +20 -133
- package/dist/index281.js.map +1 -1
- package/dist/index289.js +4 -4
- package/dist/index292.js +1 -1
- package/dist/index293.js +2 -2
- package/dist/index295.js +1 -1
- package/dist/index296.js +1 -1
- package/dist/index297.js +1 -1
- package/dist/index298.js +1 -1
- package/dist/index299.js +1 -1
- package/dist/index300.js +1 -1
- package/dist/index304.js +68 -5
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +30 -55
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +9 -68
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +148 -26
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +108 -9
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +5 -153
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +5 -5
- package/dist/index310.js +54 -106
- package/dist/index310.js.map +1 -1
- package/dist/index36.js +1 -1
- package/dist/index37.js +2 -2
- package/dist/index40.js +2 -2
- package/dist/index41.js +20 -20
- package/dist/index45.js +1 -1
- package/dist/index46.js +1 -1
- package/dist/index49.js +1 -1
- package/dist/index50.js +1 -1
- package/dist/index51.js +205 -7
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +2 -34
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +2 -27
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +6 -7
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +33 -11
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +27 -2
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +8 -2
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +12 -205
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +3 -5
- package/dist/index59.js.map +1 -1
- package/dist/index60.js +47 -7
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +50 -5
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +8 -2
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +15 -2
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +133 -3
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +10 -47
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +214 -48
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +13 -8
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +45 -13
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +47 -131
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +4 -11
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +5 -216
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +28 -13
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +49 -46
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +9 -50
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +2 -4
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +2 -6
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +6 -28
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +8 -50
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +6 -9
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +599 -40
- package/dist/index80.js.map +1 -1
- package/package.json +1 -1
- package/dist/helpers/isMobileDevice.test.d.ts +0 -2
- package/dist/helpers/isMobileDevice.test.d.ts.map +0 -1
- package/dist/helpers/useScrollPagination.test.d.ts +0 -2
- package/dist/helpers/useScrollPagination.test.d.ts.map +0 -1
package/dist/index281.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index281.js","sources":["../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';\n}\nfunction isTableElement(element) {\n return /^(table|td|th)$/.test(getNodeName(element));\n}\nfunction isTopLayer(element) {\n try {\n if (element.matches(':popover-open')) {\n return true;\n }\n } catch (_e) {\n // no-op\n }\n try {\n return element.matches(':modal');\n } catch (_e) {\n return false;\n }\n}\nconst willChangeRe = /transform|translate|scale|rotate|perspective|filter/;\nconst containRe = /paint|layout|strict|content/;\nconst isNotNone = value => !!value && value !== 'none';\nlet isWebKitValue;\nfunction isContainingBlock(elementOrCss) {\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (isWebKitValue == null) {\n isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');\n }\n return isWebKitValue;\n}\nfunction isLastTraversableNode(node) {\n return /^(html|body|#document)$/.test(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n } else {\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n }\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"names":["hasWindow","getNodeName","node","isNode","getWindow","_node$ownerDocument","getDocumentElement","_ref","value","isElement","isHTMLElement","isShadowRoot","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","isTableElement","isTopLayer","willChangeRe","containRe","isNotNone","isWebKitValue","isContainingBlock","elementOrCss","css","isWebKit","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","getNodeScroll","result","getNearestOverflowAncestor","parentNode","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncestor","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BF,GAAK;AAC5B,SAAOA,EAAI,UAAU,OAAO,eAAeA,EAAI,MAAM,IAAIA,EAAI,eAAe;AAC9E;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index281.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js"],"sourcesContent":["// When phone numbers are written in `RFC3966` format — `\"tel:+12133734253\"` —\n// they can have their \"calling code\" part written separately in a `phone-context` parameter.\n// Example: `\"tel:12133734253;phone-context=+1\"`.\n// This function parses the full phone number from the local number and the `phone-context`\n// when the `phone-context` contains a `+` sign.\n\nimport { VALID_DIGITS\n// PLUS_CHARS\n} from '../constants.js';\nexport var PLUS_SIGN = '+';\nvar RFC3966_VISUAL_SEPARATOR_ = '[\\\\-\\\\.\\\\(\\\\)]?';\nvar RFC3966_PHONE_DIGIT_ = '(' + '[' + VALID_DIGITS + ']' + '|' + RFC3966_VISUAL_SEPARATOR_ + ')';\nvar RFC3966_GLOBAL_NUMBER_DIGITS_ = '^' + '\\\\' + PLUS_SIGN + RFC3966_PHONE_DIGIT_ + '*' + '[' + VALID_DIGITS + ']' + RFC3966_PHONE_DIGIT_ + '*' + '$';\n\n/**\r\n * Regular expression of valid global-number-digits for the phone-context\r\n * parameter, following the syntax defined in RFC3966.\r\n */\nvar RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_ = new RegExp(RFC3966_GLOBAL_NUMBER_DIGITS_, 'g');\n\n// In this port of Google's library, we don't accept alpha characters in phone numbers.\n// const ALPHANUM_ = VALID_ALPHA_ + VALID_DIGITS\nvar ALPHANUM_ = VALID_DIGITS;\nvar RFC3966_DOMAINLABEL_ = '[' + ALPHANUM_ + ']+((\\\\-)*[' + ALPHANUM_ + '])*';\nvar VALID_ALPHA_ = 'a-zA-Z';\nvar RFC3966_TOPLABEL_ = '[' + VALID_ALPHA_ + ']+((\\\\-)*[' + ALPHANUM_ + '])*';\nvar RFC3966_DOMAINNAME_ = '^(' + RFC3966_DOMAINLABEL_ + '\\\\.)*' + RFC3966_TOPLABEL_ + '\\\\.?$';\n\n/**\r\n * Regular expression of valid domainname for the phone-context parameter,\r\n * following the syntax defined in RFC3966.\r\n */\nvar RFC3966_DOMAINNAME_PATTERN_ = new RegExp(RFC3966_DOMAINNAME_, 'g');\nexport var RFC3966_PREFIX_ = 'tel:';\nexport var RFC3966_PHONE_CONTEXT_ = ';phone-context=';\nexport var RFC3966_ISDN_SUBADDRESS_ = ';isub=';\n\n/**\r\n * Extracts the value of the phone-context parameter of `numberToExtractFrom`,\r\n * following the syntax defined in RFC3966.\r\n *\r\n * @param {string} numberToExtractFrom\r\n * @return {string|null} the extracted string (possibly empty), or `null` if no phone-context parameter is found.\r\n */\nexport default function extractPhoneContext(numberToExtractFrom) {\n var indexOfPhoneContext = numberToExtractFrom.indexOf(RFC3966_PHONE_CONTEXT_);\n // If no phone-context parameter is present\n if (indexOfPhoneContext < 0) {\n return null;\n }\n var phoneContextStart = indexOfPhoneContext + RFC3966_PHONE_CONTEXT_.length;\n // If phone-context parameter is empty\n if (phoneContextStart >= numberToExtractFrom.length) {\n return '';\n }\n var phoneContextEnd = numberToExtractFrom.indexOf(';', phoneContextStart);\n // If phone-context is not the last parameter\n if (phoneContextEnd >= 0) {\n return numberToExtractFrom.substring(phoneContextStart, phoneContextEnd);\n } else {\n return numberToExtractFrom.substring(phoneContextStart);\n }\n}\n\n/**\r\n * Returns whether the value of phoneContext follows the syntax defined in RFC3966.\r\n *\r\n * @param {string|null} phoneContext\r\n * @return {boolean}\r\n */\nexport function isPhoneContextValid(phoneContext) {\n if (phoneContext === null) {\n return true;\n }\n if (phoneContext.length === 0) {\n return false;\n }\n\n // Does phone-context value match pattern of global-number-digits or domainname.\n return RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_.test(phoneContext) || RFC3966_DOMAINNAME_PATTERN_.test(phoneContext);\n}\n//# sourceMappingURL=extractPhoneContext.js.map"],"names":["PLUS_SIGN","RFC3966_VISUAL_SEPARATOR_","RFC3966_PHONE_DIGIT_","VALID_DIGITS","RFC3966_GLOBAL_NUMBER_DIGITS_","RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_","ALPHANUM_","RFC3966_DOMAINLABEL_","VALID_ALPHA_","RFC3966_TOPLABEL_","RFC3966_DOMAINNAME_","RFC3966_DOMAINNAME_PATTERN_","RFC3966_PREFIX_","RFC3966_PHONE_CONTEXT_","RFC3966_ISDN_SUBADDRESS_","extractPhoneContext","numberToExtractFrom","indexOfPhoneContext","phoneContextStart","phoneContextEnd","isPhoneContextValid","phoneContext"],"mappings":";AASU,IAACA,IAAY,KACnBC,IAA4B,mBAC5BC,IAAuB,OAAYC,IAAe,OAAYF,IAA4B,KAC1FG,IAAgC,QAAaJ,IAAYE,IAAuB,OAAYC,IAAe,MAAMD,IAAuB,MAMxIG,IAAwC,IAAI,OAAOD,GAA+B,GAAG,GAIrFE,IAAYH,GACZI,IAAuB,MAAMD,IAAY,eAAeA,IAAY,OACpEE,IAAe,UACfC,IAAoB,MAAMD,IAAe,eAAeF,IAAY,OACpEI,IAAsB,OAAOH,IAAuB,UAAUE,IAAoB,SAMlFE,IAA8B,IAAI,OAAOD,GAAqB,GAAG,GAC1DE,IAAkB,QAClBC,IAAyB,mBACzBC,IAA2B;AASvB,SAASC,EAAoBC,GAAqB;AAC/D,MAAIC,IAAsBD,EAAoB,QAAQH,CAAsB;AAE5E,MAAII,IAAsB;AACxB,WAAO;AAET,MAAIC,IAAoBD,IAAsBJ,EAAuB;AAErE,MAAIK,KAAqBF,EAAoB;AAC3C,WAAO;AAET,MAAIG,IAAkBH,EAAoB,QAAQ,KAAKE,CAAiB;AAExE,SAAIC,KAAmB,IACdH,EAAoB,UAAUE,GAAmBC,CAAe,IAEhEH,EAAoB,UAAUE,CAAiB;AAE1D;AAQO,SAASE,EAAoBC,GAAc;AAChD,SAAIA,MAAiB,OACZ,KAELA,EAAa,WAAW,IACnB,KAIFhB,EAAsC,KAAKgB,CAAY,KAAKV,EAA4B,KAAKU,CAAY;AAClH;","x_google_ignoreList":[0]}
|
package/dist/index289.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { getDayOfYear as m } from "./index293.js";
|
|
2
|
-
import { getISOWeek as g } from "./
|
|
2
|
+
import { getISOWeek as g } from "./index204.js";
|
|
3
3
|
import { getISOWeekYear as w } from "./index296.js";
|
|
4
|
-
import { getWeek as b } from "./
|
|
4
|
+
import { getWeek as b } from "./index207.js";
|
|
5
5
|
import { getWeekYear as x } from "./index298.js";
|
|
6
|
-
import { addLeadingZeros as i } from "./
|
|
7
|
-
import { lightFormatters as u } from "./
|
|
6
|
+
import { addLeadingZeros as i } from "./index309.js";
|
|
7
|
+
import { lightFormatters as u } from "./index310.js";
|
|
8
8
|
const s = {
|
|
9
9
|
midnight: "midnight",
|
|
10
10
|
noon: "noon",
|
package/dist/index292.js
CHANGED
package/dist/index293.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { differenceInCalendarDays as a } from "./
|
|
2
|
-
import { startOfYear as e } from "./
|
|
1
|
+
import { differenceInCalendarDays as a } from "./index195.js";
|
|
2
|
+
import { startOfYear as e } from "./index222.js";
|
|
3
3
|
import { toDate as o } from "./index283.js";
|
|
4
4
|
function s(t, f) {
|
|
5
5
|
const r = o(t, f?.in);
|
package/dist/index295.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { constructFrom as f } from "./index282.js";
|
|
2
2
|
import { getISOWeekYear as s } from "./index296.js";
|
|
3
|
-
import { startOfISOWeek as a } from "./
|
|
3
|
+
import { startOfISOWeek as a } from "./index219.js";
|
|
4
4
|
function O(t, e) {
|
|
5
5
|
const o = s(t, e), r = f(t, 0);
|
|
6
6
|
return r.setFullYear(o, 0, 4), r.setHours(0, 0, 0, 0), a(r);
|
package/dist/index296.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { constructFrom as s } from "./index282.js";
|
|
2
|
-
import { startOfISOWeek as a } from "./
|
|
2
|
+
import { startOfISOWeek as a } from "./index219.js";
|
|
3
3
|
import { toDate as m } from "./index283.js";
|
|
4
4
|
function Y(f, n) {
|
|
5
5
|
const e = m(f, n?.in), t = e.getFullYear(), r = s(e, 0);
|
package/dist/index297.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultOptions as n } from "./index288.js";
|
|
2
2
|
import { constructFrom as i } from "./index282.js";
|
|
3
3
|
import { getWeekYear as f } from "./index298.js";
|
|
4
|
-
import { startOfWeek as c } from "./
|
|
4
|
+
import { startOfWeek as c } from "./index221.js";
|
|
5
5
|
function D(r, t) {
|
|
6
6
|
const o = n(), s = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? o.firstWeekContainsDate ?? o.locale?.options?.firstWeekContainsDate ?? 1, a = f(r, t), e = i(t?.in || r, 0);
|
|
7
7
|
return e.setFullYear(a, 0, s), e.setHours(0, 0, 0, 0), c(e, t);
|
package/dist/index298.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getDefaultOptions as k } from "./index288.js";
|
|
2
2
|
import { constructFrom as f } from "./index282.js";
|
|
3
|
-
import { startOfWeek as l } from "./
|
|
3
|
+
import { startOfWeek as l } from "./index221.js";
|
|
4
4
|
import { toDate as m } from "./index283.js";
|
|
5
5
|
function C(r, e) {
|
|
6
6
|
const s = m(r, e?.in), t = s.getFullYear(), o = k(), i = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? o.firstWeekContainsDate ?? o.locale?.options?.firstWeekContainsDate ?? 1, a = f(e?.in || r, 0);
|
package/dist/index299.js
CHANGED
package/dist/index300.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as d from "react";
|
|
2
2
|
import { styleSingleton as f } from "./index301.js";
|
|
3
|
-
import { noScrollbarsClassName as p, zeroRightClassName as g, fullWidthClassName as l, removedBarSizeVariable as v } from "./
|
|
3
|
+
import { noScrollbarsClassName as p, zeroRightClassName as g, fullWidthClassName as l, removedBarSizeVariable as v } from "./index273.js";
|
|
4
4
|
import { getGapWidth as m } from "./index317.js";
|
|
5
5
|
var b = f(), e = "data-scroll-locked", h = function(n, a, o, t) {
|
|
6
6
|
var r = n.left, i = n.top, s = n.right, c = n.gap;
|
package/dist/index304.js
CHANGED
|
@@ -1,8 +1,71 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
const a = {
|
|
2
|
+
lessThanXSeconds: {
|
|
3
|
+
one: "less than a second",
|
|
4
|
+
other: "less than {{count}} seconds"
|
|
5
|
+
},
|
|
6
|
+
xSeconds: {
|
|
7
|
+
one: "1 second",
|
|
8
|
+
other: "{{count}} seconds"
|
|
9
|
+
},
|
|
10
|
+
halfAMinute: "half a minute",
|
|
11
|
+
lessThanXMinutes: {
|
|
12
|
+
one: "less than a minute",
|
|
13
|
+
other: "less than {{count}} minutes"
|
|
14
|
+
},
|
|
15
|
+
xMinutes: {
|
|
16
|
+
one: "1 minute",
|
|
17
|
+
other: "{{count}} minutes"
|
|
18
|
+
},
|
|
19
|
+
aboutXHours: {
|
|
20
|
+
one: "about 1 hour",
|
|
21
|
+
other: "about {{count}} hours"
|
|
22
|
+
},
|
|
23
|
+
xHours: {
|
|
24
|
+
one: "1 hour",
|
|
25
|
+
other: "{{count}} hours"
|
|
26
|
+
},
|
|
27
|
+
xDays: {
|
|
28
|
+
one: "1 day",
|
|
29
|
+
other: "{{count}} days"
|
|
30
|
+
},
|
|
31
|
+
aboutXWeeks: {
|
|
32
|
+
one: "about 1 week",
|
|
33
|
+
other: "about {{count}} weeks"
|
|
34
|
+
},
|
|
35
|
+
xWeeks: {
|
|
36
|
+
one: "1 week",
|
|
37
|
+
other: "{{count}} weeks"
|
|
38
|
+
},
|
|
39
|
+
aboutXMonths: {
|
|
40
|
+
one: "about 1 month",
|
|
41
|
+
other: "about {{count}} months"
|
|
42
|
+
},
|
|
43
|
+
xMonths: {
|
|
44
|
+
one: "1 month",
|
|
45
|
+
other: "{{count}} months"
|
|
46
|
+
},
|
|
47
|
+
aboutXYears: {
|
|
48
|
+
one: "about 1 year",
|
|
49
|
+
other: "about {{count}} years"
|
|
50
|
+
},
|
|
51
|
+
xYears: {
|
|
52
|
+
one: "1 year",
|
|
53
|
+
other: "{{count}} years"
|
|
54
|
+
},
|
|
55
|
+
overXYears: {
|
|
56
|
+
one: "over 1 year",
|
|
57
|
+
other: "over {{count}} years"
|
|
58
|
+
},
|
|
59
|
+
almostXYears: {
|
|
60
|
+
one: "almost 1 year",
|
|
61
|
+
other: "almost {{count}} years"
|
|
62
|
+
}
|
|
63
|
+
}, r = (s, n, t) => {
|
|
64
|
+
let e;
|
|
65
|
+
const o = a[s];
|
|
66
|
+
return typeof o == "string" ? e = o : n === 1 ? e = o.one : e = o.other.replace("{{count}}", n.toString()), t?.addSuffix ? t.comparison && t.comparison > 0 ? "in " + e : e + " ago" : e;
|
|
67
|
+
};
|
|
5
68
|
export {
|
|
6
|
-
r as
|
|
69
|
+
r as formatDistance
|
|
7
70
|
};
|
|
8
71
|
//# sourceMappingURL=index304.js.map
|
package/dist/index304.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index304.js","sources":["../../../node_modules/date-fns/_lib/
|
|
1
|
+
{"version":3,"file":"index304.js","sources":["../../../node_modules/date-fns/locale/en-US/_lib/formatDistance.js"],"sourcesContent":["const formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"less than a second\",\n other: \"less than {{count}} seconds\",\n },\n\n xSeconds: {\n one: \"1 second\",\n other: \"{{count}} seconds\",\n },\n\n halfAMinute: \"half a minute\",\n\n lessThanXMinutes: {\n one: \"less than a minute\",\n other: \"less than {{count}} minutes\",\n },\n\n xMinutes: {\n one: \"1 minute\",\n other: \"{{count}} minutes\",\n },\n\n aboutXHours: {\n one: \"about 1 hour\",\n other: \"about {{count}} hours\",\n },\n\n xHours: {\n one: \"1 hour\",\n other: \"{{count}} hours\",\n },\n\n xDays: {\n one: \"1 day\",\n other: \"{{count}} days\",\n },\n\n aboutXWeeks: {\n one: \"about 1 week\",\n other: \"about {{count}} weeks\",\n },\n\n xWeeks: {\n one: \"1 week\",\n other: \"{{count}} weeks\",\n },\n\n aboutXMonths: {\n one: \"about 1 month\",\n other: \"about {{count}} months\",\n },\n\n xMonths: {\n one: \"1 month\",\n other: \"{{count}} months\",\n },\n\n aboutXYears: {\n one: \"about 1 year\",\n other: \"about {{count}} years\",\n },\n\n xYears: {\n one: \"1 year\",\n other: \"{{count}} years\",\n },\n\n overXYears: {\n one: \"over 1 year\",\n other: \"over {{count}} years\",\n },\n\n almostXYears: {\n one: \"almost 1 year\",\n other: \"almost {{count}} years\",\n },\n};\n\nexport const formatDistance = (token, count, options) => {\n let result;\n\n const tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace(\"{{count}}\", count.toString());\n }\n\n if (options?.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"in \" + result;\n } else {\n return result + \" ago\";\n }\n }\n\n return result;\n};\n"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue"],"mappings":"AAAA,MAAMA,IAAuB;AAAA,EAC3B,kBAAkB;AAAA,IAChB,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,UAAU;AAAA,IACR,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,aAAa;AAAA,EAEb,kBAAkB;AAAA,IAChB,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,UAAU;AAAA,IACR,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,aAAa;AAAA,IACX,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,QAAQ;AAAA,IACN,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,OAAO;AAAA,IACL,KAAK;AAAA,IAC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
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
// Hour [1-12]
|
|
33
|
-
h(e, t) {
|
|
34
|
-
return n(e.getHours() % 12 || 12, t.length);
|
|
35
|
-
},
|
|
36
|
-
// Hour [0-23]
|
|
37
|
-
H(e, t) {
|
|
38
|
-
return n(e.getHours(), t.length);
|
|
39
|
-
},
|
|
40
|
-
// Minute
|
|
41
|
-
m(e, t) {
|
|
42
|
-
return n(e.getMinutes(), t.length);
|
|
43
|
-
},
|
|
44
|
-
// Second
|
|
45
|
-
s(e, t) {
|
|
46
|
-
return n(e.getSeconds(), t.length);
|
|
47
|
-
},
|
|
48
|
-
// Fraction of second
|
|
49
|
-
S(e, t) {
|
|
50
|
-
const r = t.length, a = e.getMilliseconds(), s = Math.trunc(
|
|
51
|
-
a * Math.pow(10, r - 3)
|
|
52
|
-
);
|
|
53
|
-
return n(s, t.length);
|
|
54
|
-
}
|
|
1
|
+
import { buildFormatLongFn as t } from "./index316.js";
|
|
2
|
+
const m = {
|
|
3
|
+
full: "EEEE, MMMM do, y",
|
|
4
|
+
long: "MMMM do, y",
|
|
5
|
+
medium: "MMM d, y",
|
|
6
|
+
short: "MM/dd/yyyy"
|
|
7
|
+
}, a = {
|
|
8
|
+
full: "h:mm:ss a zzzz",
|
|
9
|
+
long: "h:mm:ss a z",
|
|
10
|
+
medium: "h:mm:ss a",
|
|
11
|
+
short: "h:mm a"
|
|
12
|
+
}, o = {
|
|
13
|
+
full: "{{date}} 'at' {{time}}",
|
|
14
|
+
long: "{{date}} 'at' {{time}}",
|
|
15
|
+
medium: "{{date}}, {{time}}",
|
|
16
|
+
short: "{{date}}, {{time}}"
|
|
17
|
+
}, e = {
|
|
18
|
+
date: t({
|
|
19
|
+
formats: m,
|
|
20
|
+
defaultWidth: "full"
|
|
21
|
+
}),
|
|
22
|
+
time: t({
|
|
23
|
+
formats: a,
|
|
24
|
+
defaultWidth: "full"
|
|
25
|
+
}),
|
|
26
|
+
dateTime: t({
|
|
27
|
+
formats: o,
|
|
28
|
+
defaultWidth: "full"
|
|
29
|
+
})
|
|
55
30
|
};
|
|
56
31
|
export {
|
|
57
|
-
|
|
32
|
+
e as formatLong
|
|
58
33
|
};
|
|
59
34
|
//# sourceMappingURL=index305.js.map
|
package/dist/index305.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index305.js","sources":["../../../node_modules/date-fns/_lib/
|
|
1
|
+
{"version":3,"file":"index305.js","sources":["../../../node_modules/date-fns/locale/en-US/_lib/formatLong.js"],"sourcesContent":["import { buildFormatLongFn } from \"../../_lib/buildFormatLongFn.js\";\n\nconst dateFormats = {\n full: \"EEEE, MMMM do, y\",\n long: \"MMMM do, y\",\n medium: \"MMM d, y\",\n short: \"MM/dd/yyyy\",\n};\n\nconst timeFormats = {\n full: \"h:mm:ss a zzzz\",\n long: \"h:mm:ss a z\",\n medium: \"h:mm:ss a\",\n short: \"h:mm a\",\n};\n\nconst dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: \"{{date}}, {{time}}\",\n short: \"{{date}}, {{time}}\",\n};\n\nexport const formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\",\n }),\n\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\",\n }),\n\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\",\n }),\n};\n"],"names":["dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn"],"mappings":";AAEA,MAAMA,IAAc;AAAA,EAClB,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,OAAO;AACT,GAEMC,IAAc;AAAA,EAClB,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,OAAO;AACT,GAEMC,IAAkB;AAAA,EACtB,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,OAAO;AACT,GAEaC,IAAa;AAAA,EACxB,MAAMC,EAAkB;AAAA,IACtB,SAASJ;AAAA,IACT,cAAc;AAAA,EAClB,CAAG;AAAA,EAED,MAAMI,EAAkB;AAAA,IACtB,SAASH;AAAA,IACT,cAAc;AAAA,EAClB,CAAG;AAAA,EAED,UAAUG,EAAkB;AAAA,IAC1B,SAASF;AAAA,IACT,cAAc;AAAA,EAClB,CAAG;AACH;","x_google_ignoreList":[0]}
|
package/dist/index306.js
CHANGED
|
@@ -1,71 +1,12 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
},
|
|
10
|
-
halfAMinute: "half a minute",
|
|
11
|
-
lessThanXMinutes: {
|
|
12
|
-
one: "less than a minute",
|
|
13
|
-
other: "less than {{count}} minutes"
|
|
14
|
-
},
|
|
15
|
-
xMinutes: {
|
|
16
|
-
one: "1 minute",
|
|
17
|
-
other: "{{count}} minutes"
|
|
18
|
-
},
|
|
19
|
-
aboutXHours: {
|
|
20
|
-
one: "about 1 hour",
|
|
21
|
-
other: "about {{count}} hours"
|
|
22
|
-
},
|
|
23
|
-
xHours: {
|
|
24
|
-
one: "1 hour",
|
|
25
|
-
other: "{{count}} hours"
|
|
26
|
-
},
|
|
27
|
-
xDays: {
|
|
28
|
-
one: "1 day",
|
|
29
|
-
other: "{{count}} days"
|
|
30
|
-
},
|
|
31
|
-
aboutXWeeks: {
|
|
32
|
-
one: "about 1 week",
|
|
33
|
-
other: "about {{count}} weeks"
|
|
34
|
-
},
|
|
35
|
-
xWeeks: {
|
|
36
|
-
one: "1 week",
|
|
37
|
-
other: "{{count}} weeks"
|
|
38
|
-
},
|
|
39
|
-
aboutXMonths: {
|
|
40
|
-
one: "about 1 month",
|
|
41
|
-
other: "about {{count}} months"
|
|
42
|
-
},
|
|
43
|
-
xMonths: {
|
|
44
|
-
one: "1 month",
|
|
45
|
-
other: "{{count}} months"
|
|
46
|
-
},
|
|
47
|
-
aboutXYears: {
|
|
48
|
-
one: "about 1 year",
|
|
49
|
-
other: "about {{count}} years"
|
|
50
|
-
},
|
|
51
|
-
xYears: {
|
|
52
|
-
one: "1 year",
|
|
53
|
-
other: "{{count}} years"
|
|
54
|
-
},
|
|
55
|
-
overXYears: {
|
|
56
|
-
one: "over 1 year",
|
|
57
|
-
other: "over {{count}} years"
|
|
58
|
-
},
|
|
59
|
-
almostXYears: {
|
|
60
|
-
one: "almost 1 year",
|
|
61
|
-
other: "almost {{count}} years"
|
|
62
|
-
}
|
|
63
|
-
}, r = (s, n, t) => {
|
|
64
|
-
let e;
|
|
65
|
-
const o = a[s];
|
|
66
|
-
return typeof o == "string" ? e = o : n === 1 ? e = o.one : e = o.other.replace("{{count}}", n.toString()), t?.addSuffix ? t.comparison && t.comparison > 0 ? "in " + e : e + " ago" : e;
|
|
67
|
-
};
|
|
1
|
+
const t = {
|
|
2
|
+
lastWeek: "'last' eeee 'at' p",
|
|
3
|
+
yesterday: "'yesterday at' p",
|
|
4
|
+
today: "'today at' p",
|
|
5
|
+
tomorrow: "'tomorrow at' p",
|
|
6
|
+
nextWeek: "eeee 'at' p",
|
|
7
|
+
other: "P"
|
|
8
|
+
}, s = (e, a, o, r) => t[e];
|
|
68
9
|
export {
|
|
69
|
-
|
|
10
|
+
s as formatRelative
|
|
70
11
|
};
|
|
71
12
|
//# sourceMappingURL=index306.js.map
|
package/dist/index306.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index306.js","sources":["../../../node_modules/date-fns/locale/en-US/_lib/
|
|
1
|
+
{"version":3,"file":"index306.js","sources":["../../../node_modules/date-fns/locale/en-US/_lib/formatRelative.js"],"sourcesContent":["const formatRelativeLocale = {\n lastWeek: \"'last' eeee 'at' p\",\n yesterday: \"'yesterday at' p\",\n today: \"'today at' p\",\n tomorrow: \"'tomorrow at' p\",\n nextWeek: \"eeee 'at' p\",\n other: \"P\",\n};\n\nexport const formatRelative = (token, _date, _baseDate, _options) =>\n formatRelativeLocale[token];\n"],"names":["formatRelativeLocale","formatRelative","token","_date","_baseDate","_options"],"mappings":"AAAA,MAAMA,IAAuB;AAAA,EAC3B,UAAU;AAAA,EACV,WAAW;AAAA,EACX,OAAO;AAAA,EACP,UAAU;AAAA,EACV,UAAU;AAAA,EACV,OAAO;AACT,GAEaC,IAAiB,CAACC,GAAOC,GAAOC,GAAWC,MACtDL,EAAqBE,CAAK;","x_google_ignoreList":[0]}
|
package/dist/index307.js
CHANGED
|
@@ -1,34 +1,156 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
medium: "h:mm:ss a",
|
|
11
|
-
short: "h:mm a"
|
|
1
|
+
import { buildLocalizeFn as e } from "./index313.js";
|
|
2
|
+
const a = {
|
|
3
|
+
narrow: ["B", "A"],
|
|
4
|
+
abbreviated: ["BC", "AD"],
|
|
5
|
+
wide: ["Before Christ", "Anno Domini"]
|
|
6
|
+
}, r = {
|
|
7
|
+
narrow: ["1", "2", "3", "4"],
|
|
8
|
+
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
9
|
+
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
12
10
|
}, o = {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
11
|
+
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
12
|
+
abbreviated: [
|
|
13
|
+
"Jan",
|
|
14
|
+
"Feb",
|
|
15
|
+
"Mar",
|
|
16
|
+
"Apr",
|
|
17
|
+
"May",
|
|
18
|
+
"Jun",
|
|
19
|
+
"Jul",
|
|
20
|
+
"Aug",
|
|
21
|
+
"Sep",
|
|
22
|
+
"Oct",
|
|
23
|
+
"Nov",
|
|
24
|
+
"Dec"
|
|
25
|
+
],
|
|
26
|
+
wide: [
|
|
27
|
+
"January",
|
|
28
|
+
"February",
|
|
29
|
+
"March",
|
|
30
|
+
"April",
|
|
31
|
+
"May",
|
|
32
|
+
"June",
|
|
33
|
+
"July",
|
|
34
|
+
"August",
|
|
35
|
+
"September",
|
|
36
|
+
"October",
|
|
37
|
+
"November",
|
|
38
|
+
"December"
|
|
39
|
+
]
|
|
40
|
+
}, d = {
|
|
41
|
+
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
42
|
+
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
43
|
+
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
44
|
+
wide: [
|
|
45
|
+
"Sunday",
|
|
46
|
+
"Monday",
|
|
47
|
+
"Tuesday",
|
|
48
|
+
"Wednesday",
|
|
49
|
+
"Thursday",
|
|
50
|
+
"Friday",
|
|
51
|
+
"Saturday"
|
|
52
|
+
]
|
|
53
|
+
}, m = {
|
|
54
|
+
narrow: {
|
|
55
|
+
am: "a",
|
|
56
|
+
pm: "p",
|
|
57
|
+
midnight: "mi",
|
|
58
|
+
noon: "n",
|
|
59
|
+
morning: "morning",
|
|
60
|
+
afternoon: "afternoon",
|
|
61
|
+
evening: "evening",
|
|
62
|
+
night: "night"
|
|
63
|
+
},
|
|
64
|
+
abbreviated: {
|
|
65
|
+
am: "AM",
|
|
66
|
+
pm: "PM",
|
|
67
|
+
midnight: "midnight",
|
|
68
|
+
noon: "noon",
|
|
69
|
+
morning: "morning",
|
|
70
|
+
afternoon: "afternoon",
|
|
71
|
+
evening: "evening",
|
|
72
|
+
night: "night"
|
|
73
|
+
},
|
|
74
|
+
wide: {
|
|
75
|
+
am: "a.m.",
|
|
76
|
+
pm: "p.m.",
|
|
77
|
+
midnight: "midnight",
|
|
78
|
+
noon: "noon",
|
|
79
|
+
morning: "morning",
|
|
80
|
+
afternoon: "afternoon",
|
|
81
|
+
evening: "evening",
|
|
82
|
+
night: "night"
|
|
83
|
+
}
|
|
84
|
+
}, g = {
|
|
85
|
+
narrow: {
|
|
86
|
+
am: "a",
|
|
87
|
+
pm: "p",
|
|
88
|
+
midnight: "mi",
|
|
89
|
+
noon: "n",
|
|
90
|
+
morning: "in the morning",
|
|
91
|
+
afternoon: "in the afternoon",
|
|
92
|
+
evening: "in the evening",
|
|
93
|
+
night: "at night"
|
|
94
|
+
},
|
|
95
|
+
abbreviated: {
|
|
96
|
+
am: "AM",
|
|
97
|
+
pm: "PM",
|
|
98
|
+
midnight: "midnight",
|
|
99
|
+
noon: "noon",
|
|
100
|
+
morning: "in the morning",
|
|
101
|
+
afternoon: "in the afternoon",
|
|
102
|
+
evening: "in the evening",
|
|
103
|
+
night: "at night"
|
|
104
|
+
},
|
|
105
|
+
wide: {
|
|
106
|
+
am: "a.m.",
|
|
107
|
+
pm: "p.m.",
|
|
108
|
+
midnight: "midnight",
|
|
109
|
+
noon: "noon",
|
|
110
|
+
morning: "in the morning",
|
|
111
|
+
afternoon: "in the afternoon",
|
|
112
|
+
evening: "in the evening",
|
|
113
|
+
night: "at night"
|
|
114
|
+
}
|
|
115
|
+
}, u = (i, h) => {
|
|
116
|
+
const n = Number(i), t = n % 100;
|
|
117
|
+
if (t > 20 || t < 10)
|
|
118
|
+
switch (t % 10) {
|
|
119
|
+
case 1:
|
|
120
|
+
return n + "st";
|
|
121
|
+
case 2:
|
|
122
|
+
return n + "nd";
|
|
123
|
+
case 3:
|
|
124
|
+
return n + "rd";
|
|
125
|
+
}
|
|
126
|
+
return n + "th";
|
|
127
|
+
}, l = {
|
|
128
|
+
ordinalNumber: u,
|
|
129
|
+
era: e({
|
|
130
|
+
values: a,
|
|
131
|
+
defaultWidth: "wide"
|
|
21
132
|
}),
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
defaultWidth: "
|
|
133
|
+
quarter: e({
|
|
134
|
+
values: r,
|
|
135
|
+
defaultWidth: "wide",
|
|
136
|
+
argumentCallback: (i) => i - 1
|
|
25
137
|
}),
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
defaultWidth: "
|
|
138
|
+
month: e({
|
|
139
|
+
values: o,
|
|
140
|
+
defaultWidth: "wide"
|
|
141
|
+
}),
|
|
142
|
+
day: e({
|
|
143
|
+
values: d,
|
|
144
|
+
defaultWidth: "wide"
|
|
145
|
+
}),
|
|
146
|
+
dayPeriod: e({
|
|
147
|
+
values: m,
|
|
148
|
+
defaultWidth: "wide",
|
|
149
|
+
formattingValues: g,
|
|
150
|
+
defaultFormattingWidth: "wide"
|
|
29
151
|
})
|
|
30
152
|
};
|
|
31
153
|
export {
|
|
32
|
-
|
|
154
|
+
l as localize
|
|
33
155
|
};
|
|
34
156
|
//# sourceMappingURL=index307.js.map
|