@vlrc-fe/components 3.0.6 → 3.2.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/CHANGELOG.md +57 -0
- package/README.md +38 -23
- package/dist/ConfirmModal.cjs +29 -4
- package/dist/ConfirmModal.d.ts.map +1 -1
- package/dist/ConfirmModal.js +29 -4
- package/dist/DataTable/DataTable.cjs +8 -4
- package/dist/DataTable/DataTable.d.ts +1 -1
- package/dist/DataTable/DataTable.d.ts.map +1 -1
- package/dist/DataTable/DataTable.js +8 -4
- package/dist/DataTable/components/DataTableFacetedFilter.cjs +0 -2
- package/dist/DataTable/components/DataTableFacetedFilter.js +0 -2
- package/dist/DataTable/components/DataTablePagination.cjs +48 -175
- package/dist/DataTable/components/DataTablePagination.d.ts +2 -1
- package/dist/DataTable/components/DataTablePagination.d.ts.map +1 -1
- package/dist/DataTable/components/DataTablePagination.js +48 -175
- package/dist/DataTable/components/DataTableRowActions.cjs +1 -1
- package/dist/DataTable/components/DataTableRowActions.js +1 -1
- package/dist/DataTable/components/DataTableTable.cjs +43 -78
- package/dist/DataTable/components/DataTableTable.d.ts +2 -1
- package/dist/DataTable/components/DataTableTable.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableTable.js +43 -78
- package/dist/DataTable/components/DataTableToolbar.cjs +25 -29
- package/dist/DataTable/components/DataTableToolbar.d.ts +2 -1
- package/dist/DataTable/components/DataTableToolbar.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableToolbar.js +25 -29
- package/dist/DataTable/render/createColumns.cjs +1 -1
- package/dist/DataTable/render/createColumns.js +1 -1
- package/dist/DataTable/types.d.ts +3 -0
- package/dist/DataTable/types.d.ts.map +1 -1
- package/dist/Dropdown/Dropdown.cjs +14 -12
- package/dist/Dropdown/Dropdown.js +14 -12
- package/dist/FilterPopup/FilterPopup.cjs +289 -0
- package/dist/FilterPopup/FilterPopup.d.ts +21 -0
- package/dist/FilterPopup/FilterPopup.d.ts.map +1 -0
- package/dist/FilterPopup/FilterPopup.js +287 -0
- package/dist/FilterPopup/assets/Divider.svg.cjs +3 -0
- package/dist/FilterPopup/assets/Divider.svg.js +3 -0
- package/dist/FilterPopup/assets/IconCheck.svg.cjs +3 -0
- package/dist/FilterPopup/assets/IconCheck.svg.js +3 -0
- package/dist/FilterPopup/assets/IconClose.svg.cjs +3 -0
- package/dist/FilterPopup/assets/IconClose.svg.js +3 -0
- package/dist/FilterPopup/assets/IconSearch.svg.cjs +3 -0
- package/dist/FilterPopup/assets/IconSearch.svg.js +3 -0
- package/dist/FilterPopup/index.d.ts +3 -0
- package/dist/FilterPopup/index.d.ts.map +1 -0
- package/dist/FilterPopup/styles.cjs +151 -0
- package/dist/FilterPopup/styles.d.ts +134 -0
- package/dist/FilterPopup/styles.d.ts.map +1 -0
- package/dist/FilterPopup/styles.js +149 -0
- package/dist/FilterPopup/types.d.ts +13 -0
- package/dist/FilterPopup/types.d.ts.map +1 -0
- package/dist/Form/Form.cjs +7 -6
- package/dist/Form/Form.d.ts.map +1 -1
- package/dist/Form/Form.js +6 -5
- package/dist/Form/FormDatePicker/DatePickerTrigger.cjs +263 -0
- package/dist/Form/FormDatePicker/DatePickerTrigger.d.ts +111 -0
- package/dist/Form/FormDatePicker/DatePickerTrigger.d.ts.map +1 -0
- package/dist/Form/FormDatePicker/DatePickerTrigger.js +259 -0
- package/dist/Form/FormDatePicker/FormDatePicker.cjs +65 -66
- package/dist/Form/FormDatePicker/FormDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/FormDatePicker.js +66 -65
- package/dist/Form/FormDatePicker/RangeDatePicker.cjs +25 -68
- package/dist/Form/FormDatePicker/RangeDatePicker.d.ts +5 -2
- package/dist/Form/FormDatePicker/RangeDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/RangeDatePicker.js +26 -69
- package/dist/Form/FormDatePicker/SingleDatePicker.cjs +43 -66
- package/dist/Form/FormDatePicker/SingleDatePicker.d.ts +5 -2
- package/dist/Form/FormDatePicker/SingleDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/SingleDatePicker.js +44 -67
- package/dist/Form/FormDatePicker/TimeInput.cjs +44 -59
- package/dist/Form/FormDatePicker/TimeInput.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/TimeInput.js +44 -59
- package/dist/Form/FormDatePicker/TimePicker.cjs +39 -17
- package/dist/Form/FormDatePicker/TimePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/TimePicker.js +39 -17
- package/dist/Form/FormDatePicker/types.d.ts +5 -0
- package/dist/Form/FormDatePicker/types.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/useFormDatePicker.cjs +3 -4
- package/dist/Form/FormDatePicker/useFormDatePicker.js +1 -2
- package/dist/Form/FormFileUpload/FileUpload.cjs +24 -29
- package/dist/Form/FormFileUpload/FileUpload.js +24 -29
- package/dist/Form/FormFileUpload/index.cjs +2 -2
- package/dist/Form/FormFileUpload/index.js +1 -1
- package/dist/Form/FormMultiSelect/FormMultiSelect.d.ts +6 -1
- package/dist/Form/FormMultiSelect/FormMultiSelect.d.ts.map +1 -1
- package/dist/Form/FormNumberInput/FormNumberInput.cjs +21 -11
- package/dist/Form/FormNumberInput/FormNumberInput.d.ts.map +1 -1
- package/dist/Form/FormNumberInput/FormNumberInput.js +20 -10
- package/dist/Form/FormSelect/FormSelect.cjs +45 -18
- package/dist/Form/FormSelect/FormSelect.js +45 -18
- package/dist/Form/FormSelect/types.d.ts +2 -0
- package/dist/Form/FormSelect/types.d.ts.map +1 -1
- package/dist/Icons/Icons.cjs +51 -0
- package/dist/Icons/Icons.d.ts +50 -0
- package/dist/Icons/Icons.d.ts.map +1 -1
- package/dist/Icons/Icons.js +52 -1
- package/dist/Icons/JiraIcons.cjs +350 -0
- package/dist/Icons/JiraIcons.d.ts +25 -0
- package/dist/Icons/JiraIcons.d.ts.map +1 -0
- package/dist/Icons/JiraIcons.js +346 -0
- package/dist/Icons/index.cjs +11 -0
- package/dist/Icons/index.d.ts +1 -0
- package/dist/Icons/index.d.ts.map +1 -1
- package/dist/Icons/index.js +3 -0
- package/dist/MultiSelect/MultiSelect.cjs +20 -9
- package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/MultiSelect/MultiSelect.js +20 -9
- package/dist/MultiSelect/renderers.cjs +95 -52
- package/dist/MultiSelect/renderers.d.ts.map +1 -1
- package/dist/MultiSelect/renderers.js +95 -52
- package/dist/Select/BaseSelect.cjs +75 -24
- package/dist/Select/BaseSelect.d.ts.map +1 -1
- package/dist/Select/BaseSelect.js +76 -25
- package/dist/Select/MultiSelectTags.cjs +0 -1
- package/dist/Select/MultiSelectTags.d.ts.map +1 -1
- package/dist/Select/MultiSelectTags.js +0 -1
- package/dist/Select/type.d.ts +1 -0
- package/dist/Select/type.d.ts.map +1 -1
- package/dist/Tag/Tag.cjs +154 -0
- package/dist/Tag/Tag.d.ts +19 -0
- package/dist/Tag/Tag.d.ts.map +1 -0
- package/dist/Tag/Tag.js +151 -0
- package/dist/Tag/index.d.ts +3 -0
- package/dist/Tag/index.d.ts.map +1 -0
- package/dist/Typography/Blockquote.cjs +2 -1
- package/dist/Typography/Blockquote.d.ts +1 -1
- package/dist/Typography/Blockquote.d.ts.map +1 -1
- package/dist/Typography/Blockquote.js +2 -1
- package/dist/Typography/Code.cjs +2 -2
- package/dist/Typography/Code.d.ts +1 -1
- package/dist/Typography/Code.d.ts.map +1 -1
- package/dist/Typography/Code.js +2 -2
- package/dist/Typography/Link.cjs +2 -1
- package/dist/Typography/Link.d.ts +1 -1
- package/dist/Typography/Link.d.ts.map +1 -1
- package/dist/Typography/Link.js +2 -1
- package/dist/Typography/Paragraph.cjs +2 -1
- package/dist/Typography/Paragraph.d.ts +1 -1
- package/dist/Typography/Paragraph.d.ts.map +1 -1
- package/dist/Typography/Paragraph.js +2 -1
- package/dist/Typography/Text.cjs +2 -1
- package/dist/Typography/Text.d.ts +1 -1
- package/dist/Typography/Text.d.ts.map +1 -1
- package/dist/Typography/Text.js +2 -1
- package/dist/Typography/types.d.ts +2 -0
- package/dist/Typography/types.d.ts.map +1 -1
- package/dist/assets/stylex.css +313 -43
- package/dist/index.cjs +29 -7
- package/dist/index.d.ts +7 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -12
- package/dist/layout/index.js +2 -2
- package/dist/stylex-config.cjs +56 -0
- package/dist/stylex-config.d.ts +14 -0
- package/dist/stylex-config.d.ts.map +1 -0
- package/dist/stylex-config.js +55 -0
- package/dist/theme/index.cjs +4 -0
- package/dist/theme/index.js +4 -2
- package/dist/theme/tokens.stylex.cjs +34 -0
- package/dist/theme/tokens.stylex.d.ts +53 -0
- package/dist/theme/tokens.stylex.d.ts.map +1 -1
- package/dist/theme/tokens.stylex.js +33 -1
- package/dist/theme.css +339 -50
- package/dist/ui/accordion.cjs +0 -1
- package/dist/ui/accordion.d.ts.map +1 -1
- package/dist/ui/accordion.js +0 -1
- package/dist/ui/alert-dialog.cjs +11 -11
- package/dist/ui/alert-dialog.js +9 -9
- package/dist/ui/aspect-ratio.cjs +2 -2
- package/dist/ui/aspect-ratio.js +1 -1
- package/dist/ui/avatar.cjs +110 -41
- package/dist/ui/avatar.d.ts +7 -1
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/avatar.js +110 -41
- package/dist/ui/badge-overflow.cjs +33 -8
- package/dist/ui/badge-overflow.d.ts.map +1 -1
- package/dist/ui/badge-overflow.js +33 -8
- package/dist/ui/breadcrumb.cjs +18 -8
- package/dist/ui/breadcrumb.d.ts.map +1 -1
- package/dist/ui/breadcrumb.js +18 -8
- package/dist/ui/button.cjs +3 -3
- package/dist/ui/button.js +3 -3
- package/dist/ui/card.cjs +23 -88
- package/dist/ui/card.d.ts +11 -4
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/card.js +23 -88
- package/dist/ui/carousel.cjs +27 -8
- package/dist/ui/carousel.d.ts.map +1 -1
- package/dist/ui/carousel.js +25 -7
- package/dist/ui/checkbox.cjs +2 -2
- package/dist/ui/checkbox.d.ts +3 -2
- package/dist/ui/checkbox.d.ts.map +1 -1
- package/dist/ui/checkbox.js +2 -2
- package/dist/ui/code-block.cjs +6 -12
- package/dist/ui/code-block.js +6 -12
- package/dist/ui/collapsible.cjs +4 -4
- package/dist/ui/collapsible.js +6 -6
- package/dist/ui/command.cjs +1 -2
- package/dist/ui/command.d.ts.map +1 -1
- package/dist/ui/command.js +1 -2
- package/dist/ui/context-menu.cjs +42 -48
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/context-menu.js +41 -47
- package/dist/ui/copy-button.cjs +0 -1
- package/dist/ui/copy-button.js +0 -1
- package/dist/ui/dialog.cjs +3 -3
- package/dist/ui/dialog.js +3 -3
- package/dist/ui/drawer.cjs +9 -9
- package/dist/ui/drawer.js +11 -11
- package/dist/ui/dropdown-menu.cjs +4 -4
- package/dist/ui/dropdown-menu.d.ts +3 -1
- package/dist/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.js +4 -4
- package/dist/ui/editable.cjs +0 -1
- package/dist/ui/editable.d.ts.map +1 -1
- package/dist/ui/editable.js +0 -1
- package/dist/ui/empty.cjs +6 -5
- package/dist/ui/empty.d.ts +2 -0
- package/dist/ui/empty.d.ts.map +1 -1
- package/dist/ui/empty.js +6 -6
- package/dist/ui/field.cjs +0 -2
- package/dist/ui/field.d.ts.map +1 -1
- package/dist/ui/field.js +0 -2
- package/dist/ui/file-upload.cjs +88 -85
- package/dist/ui/file-upload.d.ts +1 -0
- package/dist/ui/file-upload.d.ts.map +1 -1
- package/dist/ui/file-upload.js +88 -86
- package/dist/ui/form.cjs +54 -66
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/form.js +50 -62
- package/dist/ui/hover-card.cjs +5 -5
- package/dist/ui/hover-card.js +3 -3
- package/dist/ui/input-group.cjs +0 -1
- package/dist/ui/input-group.d.ts.map +1 -1
- package/dist/ui/input-group.js +0 -1
- package/dist/ui/input-otp.cjs +3 -3
- package/dist/ui/input-otp.js +3 -3
- package/dist/ui/input.cjs +69 -7
- package/dist/ui/input.d.ts +3 -1
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/input.js +69 -7
- package/dist/ui/kbd.cjs +22 -16
- package/dist/ui/kbd.d.ts.map +1 -1
- package/dist/ui/kbd.js +22 -16
- package/dist/ui/menubar.cjs +42 -48
- package/dist/ui/menubar.d.ts.map +1 -1
- package/dist/ui/menubar.js +40 -46
- package/dist/ui/navigation-menu.cjs +9 -9
- package/dist/ui/navigation-menu.js +4 -4
- package/dist/ui/pagination.cjs +7 -7
- package/dist/ui/pagination.d.ts.map +1 -1
- package/dist/ui/pagination.js +7 -7
- package/dist/ui/popover.cjs +6 -1
- package/dist/ui/popover.d.ts +3 -1
- package/dist/ui/popover.d.ts.map +1 -1
- package/dist/ui/popover.js +6 -1
- package/dist/ui/progress.cjs +27 -12
- package/dist/ui/progress.d.ts +3 -1
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/progress.js +27 -12
- package/dist/ui/resizable.cjs +4 -4
- package/dist/ui/resizable.js +1 -1
- package/dist/ui/responsive-dialog.cjs +1 -1
- package/dist/ui/responsive-dialog.js +1 -1
- package/dist/ui/scroll-area.cjs +4 -2
- package/dist/ui/scroll-area.d.ts.map +1 -1
- package/dist/ui/scroll-area.js +4 -2
- package/dist/ui/segmented.cjs +19 -10
- package/dist/ui/segmented.d.ts.map +1 -1
- package/dist/ui/segmented.js +20 -11
- package/dist/ui/sheet.cjs +1 -1
- package/dist/ui/sheet.js +1 -1
- package/dist/ui/sidebar.cjs +9 -5
- package/dist/ui/sidebar.d.ts.map +1 -1
- package/dist/ui/sidebar.js +9 -5
- package/dist/ui/signature-pad.cjs +3 -0
- package/dist/ui/signature-pad.d.ts.map +1 -1
- package/dist/ui/signature-pad.js +3 -0
- package/dist/ui/slider.cjs +7 -8
- package/dist/ui/slider.js +7 -8
- package/dist/ui/sonner.cjs +6 -0
- package/dist/ui/sonner.d.ts +1 -0
- package/dist/ui/sonner.d.ts.map +1 -1
- package/dist/ui/sonner.js +2 -2
- package/dist/ui/stat.cjs +2 -3
- package/dist/ui/stat.d.ts.map +1 -1
- package/dist/ui/stat.js +2 -3
- package/dist/ui/stepper.cjs +107 -70
- package/dist/ui/stepper.d.ts +2 -2
- package/dist/ui/stepper.d.ts.map +1 -1
- package/dist/ui/stepper.js +108 -71
- package/dist/ui/switch.cjs +3 -3
- package/dist/ui/switch.js +3 -3
- package/dist/ui/tabs.cjs +150 -64
- package/dist/ui/tabs.d.ts +34 -5
- package/dist/ui/tabs.d.ts.map +1 -1
- package/dist/ui/tabs.js +148 -62
- package/dist/ui/timeline.cjs +2 -3
- package/dist/ui/timeline.d.ts.map +1 -1
- package/dist/ui/timeline.js +2 -3
- package/dist/ui/toggle-group.cjs +3 -3
- package/dist/ui/toggle-group.js +3 -3
- package/dist/ui/toggle.cjs +2 -2
- package/dist/ui/toggle.js +1 -1
- package/dist/ui/tooltip.cjs +61 -11
- package/dist/ui/tooltip.d.ts +10 -2
- package/dist/ui/tooltip.d.ts.map +1 -1
- package/dist/ui/tooltip.js +61 -11
- package/dist/utils.cjs +72 -0
- package/dist/utils.d.ts +63 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +68 -1
- package/dist/vlrc-theme.css +21 -1
- package/package.json +22 -4
- package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +0 -551
- package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -542
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +0 -546
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -537
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +0 -330
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -319
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +0 -150
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +0 -132
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -113
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
- package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.cjs +0 -11
- package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.js +0 -11
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs +0 -48
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js +0 -43
- package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.cjs +0 -145
- package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.js +0 -125
- package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.cjs +0 -38
- package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +0 -34
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.cjs +0 -126
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.js +0 -118
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.cjs +0 -134
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.js +0 -128
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.cjs +0 -541
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.js +0 -537
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -39
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -35
- package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.cjs +0 -304
- package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.js +0 -272
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.cjs +0 -108
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.js +0 -104
- package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.cjs +0 -19
- package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.js +0 -16
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +0 -275
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -271
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +0 -53
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -48
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +0 -215
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -212
- package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.cjs +0 -219
- package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.js +0 -209
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.cjs +0 -22
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.js +0 -19
- package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.cjs +0 -802
- package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.js +0 -769
- package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.cjs +0 -410
- package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.js +0 -376
- package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.cjs +0 -741
- package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.js +0 -722
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.cjs +0 -246
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.js +0 -237
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.cjs +0 -27
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.js +0 -23
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.cjs +0 -148
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.js +0 -145
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -55
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.js +0 -50
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +0 -223
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -216
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.cjs +0 -576
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.js +0 -560
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.cjs +0 -202
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.js +0 -190
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.cjs +0 -159
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.js +0 -149
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.cjs +0 -158
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.js +0 -152
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.cjs +0 -39
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.js +0 -35
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +0 -19
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -16
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +0 -109
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -105
- package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs +0 -28
- package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.js +0 -25
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +0 -33
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +0 -30
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +0 -7
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -4
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.cjs +0 -25
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -22
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.cjs +0 -47
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.js +0 -44
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +0 -38
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -33
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs +0 -106
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +0 -106
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.cjs +0 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js +0 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.cjs +0 -6
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js +0 -6
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.cjs +0 -423
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.js +0 -423
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.cjs +0 -45
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js +0 -45
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.cjs +0 -42
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js +0 -42
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +0 -20
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -20
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.cjs +0 -7
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js +0 -7
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.cjs +0 -27
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js +0 -25
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.cjs +0 -45
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js +0 -42
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.cjs +0 -45
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js +0 -44
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.cjs +0 -49
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js +0 -48
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.cjs +0 -358
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js +0 -354
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.cjs +0 -31
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js +0 -30
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.cjs +0 -35
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js +0 -34
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.cjs +0 -44
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js +0 -43
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.cjs +0 -49
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js +0 -48
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.cjs +0 -61
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js +0 -60
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.cjs +0 -38
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js +0 -37
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.cjs +0 -39
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js +0 -38
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +0 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +0 -50
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -50
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +0 -27
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -27
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +0 -18
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -18
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +0 -77
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -77
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +0 -31
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -31
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +0 -11
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -11
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs +0 -210
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -210
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.cjs +0 -122
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.js +0 -123
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.cjs +0 -28
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js +0 -27
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.cjs +0 -34
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js +0 -33
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.cjs +0 -37
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js +0 -36
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.cjs +0 -41
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js +0 -40
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.cjs +0 -45
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js +0 -44
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.cjs +0 -56
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js +0 -55
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.cjs +0 -35
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js +0 -34
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.cjs +0 -45
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js +0 -44
- package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs +0 -34
- package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +0 -34
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +0 -39
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +0 -36
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +0 -1391
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js +0 -1391
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs +0 -7
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +0 -4
- package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.cjs +0 -387
- package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.js +0 -383
- package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.cjs +0 -625
- package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.js +0 -616
- package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.cjs +0 -1033
- package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.js +0 -1026
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs +0 -47
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -43
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs +0 -13
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -10
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.cjs +0 -4
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.js +0 -3
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs +0 -36
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -35
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +0 -15
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -13
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +0 -167
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -163
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.cjs +0 -63
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -61
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs +0 -14
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -14
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs +0 -84
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -83
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.cjs +0 -3
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -4
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +0 -6
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -6
- package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.cjs +0 -1617
- package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.js +0 -1600
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.cjs +0 -18
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.js +0 -18
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.cjs +0 -26
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.js +0 -24
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.cjs +0 -4
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.js +0 -3
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.cjs +0 -40
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -40
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +0 -36
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -29
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.cjs +0 -20
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -20
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs +0 -46
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -44
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.cjs +0 -39
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -39
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.cjs +0 -18
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.js +0 -16
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.cjs +0 -81
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.js +0 -81
- package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.cjs +0 -1252
- package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.js +0 -1243
package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js
|
|
2
|
-
var dayOfYearTokenRE = /^D+$/;
|
|
3
|
-
var weekYearTokenRE = /^Y+$/;
|
|
4
|
-
var throwTokens = [
|
|
5
|
-
"D",
|
|
6
|
-
"DD",
|
|
7
|
-
"YY",
|
|
8
|
-
"YYYY"
|
|
9
|
-
];
|
|
10
|
-
function isProtectedDayOfYearToken(token) {
|
|
11
|
-
return dayOfYearTokenRE.test(token);
|
|
12
|
-
}
|
|
13
|
-
function isProtectedWeekYearToken(token) {
|
|
14
|
-
return weekYearTokenRE.test(token);
|
|
15
|
-
}
|
|
16
|
-
function warnOrThrowProtectedError(token, format, input) {
|
|
17
|
-
const _message = message(token, format, input);
|
|
18
|
-
console.warn(_message);
|
|
19
|
-
if (throwTokens.includes(token)) throw new RangeError(_message);
|
|
20
|
-
}
|
|
21
|
-
function message(token, format, input) {
|
|
22
|
-
const subject = token[0] === "Y" ? "years" : "days of the month";
|
|
23
|
-
return `Use \`${token.toLowerCase()}\` instead of \`${token}\` (in \`${format}\`) for formatting ${subject} to the input \`${input}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
|
|
24
|
-
}
|
|
25
|
-
export { isProtectedDayOfYearToken, isProtectedWeekYearToken, warnOrThrowProtectedError };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js
|
|
2
|
-
/**
|
|
3
|
-
* @constant
|
|
4
|
-
* @name maxTime
|
|
5
|
-
* @summary Maximum allowed time.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* import { maxTime } from "./constants/date-fns/constants";
|
|
9
|
-
*
|
|
10
|
-
* const isValid = 8640000000000001 <= maxTime;
|
|
11
|
-
* //=> false
|
|
12
|
-
*
|
|
13
|
-
* new Date(8640000000000001);
|
|
14
|
-
* //=> Invalid Date
|
|
15
|
-
*/
|
|
16
|
-
var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1e3;
|
|
17
|
-
-maxTime;
|
|
18
|
-
/**
|
|
19
|
-
* @constant
|
|
20
|
-
* @name millisecondsInWeek
|
|
21
|
-
* @summary Milliseconds in 1 week.
|
|
22
|
-
*/
|
|
23
|
-
var millisecondsInWeek = 6048e5;
|
|
24
|
-
/**
|
|
25
|
-
* @constant
|
|
26
|
-
* @name millisecondsInDay
|
|
27
|
-
* @summary Milliseconds in 1 day.
|
|
28
|
-
*/
|
|
29
|
-
var millisecondsInDay = 864e5;
|
|
30
|
-
/**
|
|
31
|
-
* @constant
|
|
32
|
-
* @name constructFromSymbol
|
|
33
|
-
* @summary Symbol enabling Date extensions to inherit properties from the reference date.
|
|
34
|
-
*
|
|
35
|
-
* The symbol is used to enable the `constructFrom` function to construct a date
|
|
36
|
-
* using a reference date and a value. It allows to transfer extra properties
|
|
37
|
-
* from the reference date to the new date. It's useful for extensions like
|
|
38
|
-
* [`TZDate`](https://github.com/date-fns/tz) that accept a time zone as
|
|
39
|
-
* a constructor argument.
|
|
40
|
-
*/
|
|
41
|
-
var constructFromSymbol = Symbol.for("constructDateFrom");
|
|
42
|
-
exports.constructFromSymbol = constructFromSymbol;
|
|
43
|
-
exports.maxTime = maxTime;
|
|
44
|
-
exports.millisecondsInDay = millisecondsInDay;
|
|
45
|
-
exports.millisecondsInWeek = millisecondsInWeek;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js
|
|
2
|
-
/**
|
|
3
|
-
* @constant
|
|
4
|
-
* @name maxTime
|
|
5
|
-
* @summary Maximum allowed time.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* import { maxTime } from "./constants/date-fns/constants";
|
|
9
|
-
*
|
|
10
|
-
* const isValid = 8640000000000001 <= maxTime;
|
|
11
|
-
* //=> false
|
|
12
|
-
*
|
|
13
|
-
* new Date(8640000000000001);
|
|
14
|
-
* //=> Invalid Date
|
|
15
|
-
*/
|
|
16
|
-
var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1e3;
|
|
17
|
-
-maxTime;
|
|
18
|
-
/**
|
|
19
|
-
* @constant
|
|
20
|
-
* @name millisecondsInWeek
|
|
21
|
-
* @summary Milliseconds in 1 week.
|
|
22
|
-
*/
|
|
23
|
-
var millisecondsInWeek = 6048e5;
|
|
24
|
-
/**
|
|
25
|
-
* @constant
|
|
26
|
-
* @name millisecondsInDay
|
|
27
|
-
* @summary Milliseconds in 1 day.
|
|
28
|
-
*/
|
|
29
|
-
var millisecondsInDay = 864e5;
|
|
30
|
-
/**
|
|
31
|
-
* @constant
|
|
32
|
-
* @name constructFromSymbol
|
|
33
|
-
* @summary Symbol enabling Date extensions to inherit properties from the reference date.
|
|
34
|
-
*
|
|
35
|
-
* The symbol is used to enable the `constructFrom` function to construct a date
|
|
36
|
-
* using a reference date and a value. It allows to transfer extra properties
|
|
37
|
-
* from the reference date to the new date. It's useful for extensions like
|
|
38
|
-
* [`TZDate`](https://github.com/date-fns/tz) that accept a time zone as
|
|
39
|
-
* a constructor argument.
|
|
40
|
-
*/
|
|
41
|
-
var constructFromSymbol = Symbol.for("constructDateFrom");
|
|
42
|
-
export { constructFromSymbol, maxTime, millisecondsInDay, millisecondsInWeek };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
const require_constants = require("./constants.cjs");
|
|
2
|
-
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js
|
|
3
|
-
/**
|
|
4
|
-
* @name constructFrom
|
|
5
|
-
* @category Generic Helpers
|
|
6
|
-
* @summary Constructs a date using the reference date and the value
|
|
7
|
-
*
|
|
8
|
-
* @description
|
|
9
|
-
* The function constructs a new date using the constructor from the reference
|
|
10
|
-
* date and the given value. It helps to build generic functions that accept
|
|
11
|
-
* date extensions.
|
|
12
|
-
*
|
|
13
|
-
* It defaults to `Date` if the passed reference date is a number or a string.
|
|
14
|
-
*
|
|
15
|
-
* Starting from v3.7.0, it allows to construct a date using `[Symbol.for("constructDateFrom")]`
|
|
16
|
-
* enabling to transfer extra properties from the reference date to the new date.
|
|
17
|
-
* It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)
|
|
18
|
-
* that accept a time zone as a constructor argument.
|
|
19
|
-
*
|
|
20
|
-
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
|
21
|
-
*
|
|
22
|
-
* @param date - The reference date to take constructor from
|
|
23
|
-
* @param value - The value to create the date
|
|
24
|
-
*
|
|
25
|
-
* @returns Date initialized using the given date and value
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* import { constructFrom } from "./constructFrom/date-fns";
|
|
29
|
-
*
|
|
30
|
-
* // A function that clones a date preserving the original type
|
|
31
|
-
* function cloneDate<DateType extends Date>(date: DateType): DateType {
|
|
32
|
-
* return constructFrom(
|
|
33
|
-
* date, // Use constructor from the given date
|
|
34
|
-
* date.getTime() // Use the date value to create a new date
|
|
35
|
-
* );
|
|
36
|
-
* }
|
|
37
|
-
*/
|
|
38
|
-
function constructFrom(date, value) {
|
|
39
|
-
if (typeof date === "function") return date(value);
|
|
40
|
-
if (date && typeof date === "object" && require_constants.constructFromSymbol in date) return date[require_constants.constructFromSymbol](value);
|
|
41
|
-
if (date instanceof Date) return new date.constructor(value);
|
|
42
|
-
return new Date(value);
|
|
43
|
-
}
|
|
44
|
-
exports.constructFrom = constructFrom;
|
|
45
|
-
exports.default = constructFrom;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { constructFromSymbol } from "./constants.js";
|
|
2
|
-
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js
|
|
3
|
-
/**
|
|
4
|
-
* @name constructFrom
|
|
5
|
-
* @category Generic Helpers
|
|
6
|
-
* @summary Constructs a date using the reference date and the value
|
|
7
|
-
*
|
|
8
|
-
* @description
|
|
9
|
-
* The function constructs a new date using the constructor from the reference
|
|
10
|
-
* date and the given value. It helps to build generic functions that accept
|
|
11
|
-
* date extensions.
|
|
12
|
-
*
|
|
13
|
-
* It defaults to `Date` if the passed reference date is a number or a string.
|
|
14
|
-
*
|
|
15
|
-
* Starting from v3.7.0, it allows to construct a date using `[Symbol.for("constructDateFrom")]`
|
|
16
|
-
* enabling to transfer extra properties from the reference date to the new date.
|
|
17
|
-
* It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)
|
|
18
|
-
* that accept a time zone as a constructor argument.
|
|
19
|
-
*
|
|
20
|
-
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
|
21
|
-
*
|
|
22
|
-
* @param date - The reference date to take constructor from
|
|
23
|
-
* @param value - The value to create the date
|
|
24
|
-
*
|
|
25
|
-
* @returns Date initialized using the given date and value
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* import { constructFrom } from "./constructFrom/date-fns";
|
|
29
|
-
*
|
|
30
|
-
* // A function that clones a date preserving the original type
|
|
31
|
-
* function cloneDate<DateType extends Date>(date: DateType): DateType {
|
|
32
|
-
* return constructFrom(
|
|
33
|
-
* date, // Use constructor from the given date
|
|
34
|
-
* date.getTime() // Use the date value to create a new date
|
|
35
|
-
* );
|
|
36
|
-
* }
|
|
37
|
-
*/
|
|
38
|
-
function constructFrom(date, value) {
|
|
39
|
-
if (typeof date === "function") return date(value);
|
|
40
|
-
if (date && typeof date === "object" && constructFromSymbol in date) return date[constructFromSymbol](value);
|
|
41
|
-
if (date instanceof Date) return new date.constructor(value);
|
|
42
|
-
return new Date(value);
|
|
43
|
-
}
|
|
44
|
-
export { constructFrom, constructFrom as default };
|
package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.cjs
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
const require_constants = require("./constants.cjs");
|
|
2
|
-
const require_getTimezoneOffsetInMilliseconds = require("./_lib/getTimezoneOffsetInMilliseconds.cjs");
|
|
3
|
-
const require_normalizeDates = require("./_lib/normalizeDates.cjs");
|
|
4
|
-
const require_startOfDay = require("./startOfDay.cjs");
|
|
5
|
-
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js
|
|
6
|
-
/**
|
|
7
|
-
* The {@link differenceInCalendarDays} function options.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @name differenceInCalendarDays
|
|
11
|
-
* @category Day Helpers
|
|
12
|
-
* @summary Get the number of calendar days between the given dates.
|
|
13
|
-
*
|
|
14
|
-
* @description
|
|
15
|
-
* Get the number of calendar days between the given dates. This means that the times are removed
|
|
16
|
-
* from the dates and then the difference in days is calculated.
|
|
17
|
-
*
|
|
18
|
-
* @param laterDate - The later date
|
|
19
|
-
* @param earlierDate - The earlier date
|
|
20
|
-
* @param options - The options object
|
|
21
|
-
*
|
|
22
|
-
* @returns The number of calendar days
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* // How many calendar days are between
|
|
26
|
-
* // 2 July 2011 23:00:00 and 2 July 2012 00:00:00?
|
|
27
|
-
* const result = differenceInCalendarDays(
|
|
28
|
-
* new Date(2012, 6, 2, 0, 0),
|
|
29
|
-
* new Date(2011, 6, 2, 23, 0)
|
|
30
|
-
* )
|
|
31
|
-
* //=> 366
|
|
32
|
-
* // How many calendar days are between
|
|
33
|
-
* // 2 July 2011 23:59:00 and 3 July 2011 00:01:00?
|
|
34
|
-
* const result = differenceInCalendarDays(
|
|
35
|
-
* new Date(2011, 6, 3, 0, 1),
|
|
36
|
-
* new Date(2011, 6, 2, 23, 59)
|
|
37
|
-
* )
|
|
38
|
-
* //=> 1
|
|
39
|
-
*/
|
|
40
|
-
function differenceInCalendarDays(laterDate, earlierDate, options) {
|
|
41
|
-
const [laterDate_, earlierDate_] = require_normalizeDates.normalizeDates(options?.in, laterDate, earlierDate);
|
|
42
|
-
const laterStartOfDay = require_startOfDay.default(laterDate_);
|
|
43
|
-
const earlierStartOfDay = require_startOfDay.default(earlierDate_);
|
|
44
|
-
const laterTimestamp = +laterStartOfDay - require_getTimezoneOffsetInMilliseconds.getTimezoneOffsetInMilliseconds(laterStartOfDay);
|
|
45
|
-
const earlierTimestamp = +earlierStartOfDay - require_getTimezoneOffsetInMilliseconds.getTimezoneOffsetInMilliseconds(earlierStartOfDay);
|
|
46
|
-
return Math.round((laterTimestamp - earlierTimestamp) / require_constants.millisecondsInDay);
|
|
47
|
-
}
|
|
48
|
-
exports.default = differenceInCalendarDays;
|
|
49
|
-
exports.differenceInCalendarDays = differenceInCalendarDays;
|
package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { millisecondsInDay } from "./constants.js";
|
|
2
|
-
import { getTimezoneOffsetInMilliseconds } from "./_lib/getTimezoneOffsetInMilliseconds.js";
|
|
3
|
-
import { normalizeDates } from "./_lib/normalizeDates.js";
|
|
4
|
-
import startOfDay from "./startOfDay.js";
|
|
5
|
-
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js
|
|
6
|
-
/**
|
|
7
|
-
* The {@link differenceInCalendarDays} function options.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @name differenceInCalendarDays
|
|
11
|
-
* @category Day Helpers
|
|
12
|
-
* @summary Get the number of calendar days between the given dates.
|
|
13
|
-
*
|
|
14
|
-
* @description
|
|
15
|
-
* Get the number of calendar days between the given dates. This means that the times are removed
|
|
16
|
-
* from the dates and then the difference in days is calculated.
|
|
17
|
-
*
|
|
18
|
-
* @param laterDate - The later date
|
|
19
|
-
* @param earlierDate - The earlier date
|
|
20
|
-
* @param options - The options object
|
|
21
|
-
*
|
|
22
|
-
* @returns The number of calendar days
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* // How many calendar days are between
|
|
26
|
-
* // 2 July 2011 23:00:00 and 2 July 2012 00:00:00?
|
|
27
|
-
* const result = differenceInCalendarDays(
|
|
28
|
-
* new Date(2012, 6, 2, 0, 0),
|
|
29
|
-
* new Date(2011, 6, 2, 23, 0)
|
|
30
|
-
* )
|
|
31
|
-
* //=> 366
|
|
32
|
-
* // How many calendar days are between
|
|
33
|
-
* // 2 July 2011 23:59:00 and 3 July 2011 00:01:00?
|
|
34
|
-
* const result = differenceInCalendarDays(
|
|
35
|
-
* new Date(2011, 6, 3, 0, 1),
|
|
36
|
-
* new Date(2011, 6, 2, 23, 59)
|
|
37
|
-
* )
|
|
38
|
-
* //=> 1
|
|
39
|
-
*/
|
|
40
|
-
function differenceInCalendarDays(laterDate, earlierDate, options) {
|
|
41
|
-
const [laterDate_, earlierDate_] = normalizeDates(options?.in, laterDate, earlierDate);
|
|
42
|
-
const laterStartOfDay = startOfDay(laterDate_);
|
|
43
|
-
const earlierStartOfDay = startOfDay(earlierDate_);
|
|
44
|
-
const laterTimestamp = +laterStartOfDay - getTimezoneOffsetInMilliseconds(laterStartOfDay);
|
|
45
|
-
const earlierTimestamp = +earlierStartOfDay - getTimezoneOffsetInMilliseconds(earlierStartOfDay);
|
|
46
|
-
return Math.round((laterTimestamp - earlierTimestamp) / millisecondsInDay);
|
|
47
|
-
}
|
|
48
|
-
export { differenceInCalendarDays as default, differenceInCalendarDays };
|
|
@@ -1,358 +0,0 @@
|
|
|
1
|
-
const require_toDate = require("./toDate.cjs");
|
|
2
|
-
const require_defaultOptions = require("./_lib/defaultOptions.cjs");
|
|
3
|
-
const require_isValid = require("./isValid.cjs");
|
|
4
|
-
const require_en_US = require("./locale/en-US.cjs");
|
|
5
|
-
const require_formatters = require("./_lib/format/formatters.cjs");
|
|
6
|
-
const require_longFormatters = require("./_lib/format/longFormatters.cjs");
|
|
7
|
-
const require_protectedTokens = require("./_lib/protectedTokens.cjs");
|
|
8
|
-
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js
|
|
9
|
-
var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g;
|
|
10
|
-
var longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;
|
|
11
|
-
var escapedStringRegExp = /^'([^]*?)'?$/;
|
|
12
|
-
var doubleQuoteRegExp = /''/g;
|
|
13
|
-
var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
|
|
14
|
-
/**
|
|
15
|
-
* The {@link format} function options.
|
|
16
|
-
*/
|
|
17
|
-
/**
|
|
18
|
-
* @name format
|
|
19
|
-
* @alias formatDate
|
|
20
|
-
* @category Common Helpers
|
|
21
|
-
* @summary Format the date.
|
|
22
|
-
*
|
|
23
|
-
* @description
|
|
24
|
-
* Return the formatted date string in the given format. The result may vary by locale.
|
|
25
|
-
*
|
|
26
|
-
* > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.
|
|
27
|
-
* > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
|
|
28
|
-
*
|
|
29
|
-
* The characters wrapped between two single quotes characters (') are escaped.
|
|
30
|
-
* Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.
|
|
31
|
-
* (see the last example)
|
|
32
|
-
*
|
|
33
|
-
* Format of the string is based on Unicode Technical Standard #35:
|
|
34
|
-
* https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
35
|
-
* with a few additions (see note 7 below the table).
|
|
36
|
-
*
|
|
37
|
-
* Accepted patterns:
|
|
38
|
-
* | Unit | Pattern | Result examples | Notes |
|
|
39
|
-
* |---------------------------------|---------|-----------------------------------|-------|
|
|
40
|
-
* | Era | G..GGG | AD, BC | |
|
|
41
|
-
* | | GGGG | Anno Domini, Before Christ | 2 |
|
|
42
|
-
* | | GGGGG | A, B | |
|
|
43
|
-
* | Calendar year | y | 44, 1, 1900, 2017 | 5 |
|
|
44
|
-
* | | yo | 44th, 1st, 0th, 17th | 5,7 |
|
|
45
|
-
* | | yy | 44, 01, 00, 17 | 5 |
|
|
46
|
-
* | | yyy | 044, 001, 1900, 2017 | 5 |
|
|
47
|
-
* | | yyyy | 0044, 0001, 1900, 2017 | 5 |
|
|
48
|
-
* | | yyyyy | ... | 3,5 |
|
|
49
|
-
* | Local week-numbering year | Y | 44, 1, 1900, 2017 | 5 |
|
|
50
|
-
* | | Yo | 44th, 1st, 1900th, 2017th | 5,7 |
|
|
51
|
-
* | | YY | 44, 01, 00, 17 | 5,8 |
|
|
52
|
-
* | | YYY | 044, 001, 1900, 2017 | 5 |
|
|
53
|
-
* | | YYYY | 0044, 0001, 1900, 2017 | 5,8 |
|
|
54
|
-
* | | YYYYY | ... | 3,5 |
|
|
55
|
-
* | ISO week-numbering year | R | -43, 0, 1, 1900, 2017 | 5,7 |
|
|
56
|
-
* | | RR | -43, 00, 01, 1900, 2017 | 5,7 |
|
|
57
|
-
* | | RRR | -043, 000, 001, 1900, 2017 | 5,7 |
|
|
58
|
-
* | | RRRR | -0043, 0000, 0001, 1900, 2017 | 5,7 |
|
|
59
|
-
* | | RRRRR | ... | 3,5,7 |
|
|
60
|
-
* | Extended year | u | -43, 0, 1, 1900, 2017 | 5 |
|
|
61
|
-
* | | uu | -43, 01, 1900, 2017 | 5 |
|
|
62
|
-
* | | uuu | -043, 001, 1900, 2017 | 5 |
|
|
63
|
-
* | | uuuu | -0043, 0001, 1900, 2017 | 5 |
|
|
64
|
-
* | | uuuuu | ... | 3,5 |
|
|
65
|
-
* | Quarter (formatting) | Q | 1, 2, 3, 4 | |
|
|
66
|
-
* | | Qo | 1st, 2nd, 3rd, 4th | 7 |
|
|
67
|
-
* | | QQ | 01, 02, 03, 04 | |
|
|
68
|
-
* | | QQQ | Q1, Q2, Q3, Q4 | |
|
|
69
|
-
* | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |
|
|
70
|
-
* | | QQQQQ | 1, 2, 3, 4 | 4 |
|
|
71
|
-
* | Quarter (stand-alone) | q | 1, 2, 3, 4 | |
|
|
72
|
-
* | | qo | 1st, 2nd, 3rd, 4th | 7 |
|
|
73
|
-
* | | qq | 01, 02, 03, 04 | |
|
|
74
|
-
* | | qqq | Q1, Q2, Q3, Q4 | |
|
|
75
|
-
* | | qqqq | 1st quarter, 2nd quarter, ... | 2 |
|
|
76
|
-
* | | qqqqq | 1, 2, 3, 4 | 4 |
|
|
77
|
-
* | Month (formatting) | M | 1, 2, ..., 12 | |
|
|
78
|
-
* | | Mo | 1st, 2nd, ..., 12th | 7 |
|
|
79
|
-
* | | MM | 01, 02, ..., 12 | |
|
|
80
|
-
* | | MMM | Jan, Feb, ..., Dec | |
|
|
81
|
-
* | | MMMM | January, February, ..., December | 2 |
|
|
82
|
-
* | | MMMMM | J, F, ..., D | |
|
|
83
|
-
* | Month (stand-alone) | L | 1, 2, ..., 12 | |
|
|
84
|
-
* | | Lo | 1st, 2nd, ..., 12th | 7 |
|
|
85
|
-
* | | LL | 01, 02, ..., 12 | |
|
|
86
|
-
* | | LLL | Jan, Feb, ..., Dec | |
|
|
87
|
-
* | | LLLL | January, February, ..., December | 2 |
|
|
88
|
-
* | | LLLLL | J, F, ..., D | |
|
|
89
|
-
* | Local week of year | w | 1, 2, ..., 53 | |
|
|
90
|
-
* | | wo | 1st, 2nd, ..., 53th | 7 |
|
|
91
|
-
* | | ww | 01, 02, ..., 53 | |
|
|
92
|
-
* | ISO week of year | I | 1, 2, ..., 53 | 7 |
|
|
93
|
-
* | | Io | 1st, 2nd, ..., 53th | 7 |
|
|
94
|
-
* | | II | 01, 02, ..., 53 | 7 |
|
|
95
|
-
* | Day of month | d | 1, 2, ..., 31 | |
|
|
96
|
-
* | | do | 1st, 2nd, ..., 31st | 7 |
|
|
97
|
-
* | | dd | 01, 02, ..., 31 | |
|
|
98
|
-
* | Day of year | D | 1, 2, ..., 365, 366 | 9 |
|
|
99
|
-
* | | Do | 1st, 2nd, ..., 365th, 366th | 7 |
|
|
100
|
-
* | | DD | 01, 02, ..., 365, 366 | 9 |
|
|
101
|
-
* | | DDD | 001, 002, ..., 365, 366 | |
|
|
102
|
-
* | | DDDD | ... | 3 |
|
|
103
|
-
* | Day of week (formatting) | E..EEE | Mon, Tue, Wed, ..., Sun | |
|
|
104
|
-
* | | EEEE | Monday, Tuesday, ..., Sunday | 2 |
|
|
105
|
-
* | | EEEEE | M, T, W, T, F, S, S | |
|
|
106
|
-
* | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | |
|
|
107
|
-
* | ISO day of week (formatting) | i | 1, 2, 3, ..., 7 | 7 |
|
|
108
|
-
* | | io | 1st, 2nd, ..., 7th | 7 |
|
|
109
|
-
* | | ii | 01, 02, ..., 07 | 7 |
|
|
110
|
-
* | | iii | Mon, Tue, Wed, ..., Sun | 7 |
|
|
111
|
-
* | | iiii | Monday, Tuesday, ..., Sunday | 2,7 |
|
|
112
|
-
* | | iiiii | M, T, W, T, F, S, S | 7 |
|
|
113
|
-
* | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 7 |
|
|
114
|
-
* | Local day of week (formatting) | e | 2, 3, 4, ..., 1 | |
|
|
115
|
-
* | | eo | 2nd, 3rd, ..., 1st | 7 |
|
|
116
|
-
* | | ee | 02, 03, ..., 01 | |
|
|
117
|
-
* | | eee | Mon, Tue, Wed, ..., Sun | |
|
|
118
|
-
* | | eeee | Monday, Tuesday, ..., Sunday | 2 |
|
|
119
|
-
* | | eeeee | M, T, W, T, F, S, S | |
|
|
120
|
-
* | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | |
|
|
121
|
-
* | Local day of week (stand-alone) | c | 2, 3, 4, ..., 1 | |
|
|
122
|
-
* | | co | 2nd, 3rd, ..., 1st | 7 |
|
|
123
|
-
* | | cc | 02, 03, ..., 01 | |
|
|
124
|
-
* | | ccc | Mon, Tue, Wed, ..., Sun | |
|
|
125
|
-
* | | cccc | Monday, Tuesday, ..., Sunday | 2 |
|
|
126
|
-
* | | ccccc | M, T, W, T, F, S, S | |
|
|
127
|
-
* | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | |
|
|
128
|
-
* | AM, PM | a..aa | AM, PM | |
|
|
129
|
-
* | | aaa | am, pm | |
|
|
130
|
-
* | | aaaa | a.m., p.m. | 2 |
|
|
131
|
-
* | | aaaaa | a, p | |
|
|
132
|
-
* | AM, PM, noon, midnight | b..bb | AM, PM, noon, midnight | |
|
|
133
|
-
* | | bbb | am, pm, noon, midnight | |
|
|
134
|
-
* | | bbbb | a.m., p.m., noon, midnight | 2 |
|
|
135
|
-
* | | bbbbb | a, p, n, mi | |
|
|
136
|
-
* | Flexible day period | B..BBB | at night, in the morning, ... | |
|
|
137
|
-
* | | BBBB | at night, in the morning, ... | 2 |
|
|
138
|
-
* | | BBBBB | at night, in the morning, ... | |
|
|
139
|
-
* | Hour [1-12] | h | 1, 2, ..., 11, 12 | |
|
|
140
|
-
* | | ho | 1st, 2nd, ..., 11th, 12th | 7 |
|
|
141
|
-
* | | hh | 01, 02, ..., 11, 12 | |
|
|
142
|
-
* | Hour [0-23] | H | 0, 1, 2, ..., 23 | |
|
|
143
|
-
* | | Ho | 0th, 1st, 2nd, ..., 23rd | 7 |
|
|
144
|
-
* | | HH | 00, 01, 02, ..., 23 | |
|
|
145
|
-
* | Hour [0-11] | K | 1, 2, ..., 11, 0 | |
|
|
146
|
-
* | | Ko | 1st, 2nd, ..., 11th, 0th | 7 |
|
|
147
|
-
* | | KK | 01, 02, ..., 11, 00 | |
|
|
148
|
-
* | Hour [1-24] | k | 24, 1, 2, ..., 23 | |
|
|
149
|
-
* | | ko | 24th, 1st, 2nd, ..., 23rd | 7 |
|
|
150
|
-
* | | kk | 24, 01, 02, ..., 23 | |
|
|
151
|
-
* | Minute | m | 0, 1, ..., 59 | |
|
|
152
|
-
* | | mo | 0th, 1st, ..., 59th | 7 |
|
|
153
|
-
* | | mm | 00, 01, ..., 59 | |
|
|
154
|
-
* | Second | s | 0, 1, ..., 59 | |
|
|
155
|
-
* | | so | 0th, 1st, ..., 59th | 7 |
|
|
156
|
-
* | | ss | 00, 01, ..., 59 | |
|
|
157
|
-
* | Fraction of second | S | 0, 1, ..., 9 | |
|
|
158
|
-
* | | SS | 00, 01, ..., 99 | |
|
|
159
|
-
* | | SSS | 000, 001, ..., 999 | |
|
|
160
|
-
* | | SSSS | ... | 3 |
|
|
161
|
-
* | Timezone (ISO-8601 w/ Z) | X | -08, +0530, Z | |
|
|
162
|
-
* | | XX | -0800, +0530, Z | |
|
|
163
|
-
* | | XXX | -08:00, +05:30, Z | |
|
|
164
|
-
* | | XXXX | -0800, +0530, Z, +123456 | 2 |
|
|
165
|
-
* | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |
|
|
166
|
-
* | Timezone (ISO-8601 w/o Z) | x | -08, +0530, +00 | |
|
|
167
|
-
* | | xx | -0800, +0530, +0000 | |
|
|
168
|
-
* | | xxx | -08:00, +05:30, +00:00 | 2 |
|
|
169
|
-
* | | xxxx | -0800, +0530, +0000, +123456 | |
|
|
170
|
-
* | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |
|
|
171
|
-
* | Timezone (GMT) | O...OOO | GMT-8, GMT+5:30, GMT+0 | |
|
|
172
|
-
* | | OOOO | GMT-08:00, GMT+05:30, GMT+00:00 | 2 |
|
|
173
|
-
* | Timezone (specific non-locat.) | z...zzz | GMT-8, GMT+5:30, GMT+0 | 6 |
|
|
174
|
-
* | | zzzz | GMT-08:00, GMT+05:30, GMT+00:00 | 2,6 |
|
|
175
|
-
* | Seconds timestamp | t | 512969520 | 7 |
|
|
176
|
-
* | | tt | ... | 3,7 |
|
|
177
|
-
* | Milliseconds timestamp | T | 512969520900 | 7 |
|
|
178
|
-
* | | TT | ... | 3,7 |
|
|
179
|
-
* | Long localized date | P | 04/29/1453 | 7 |
|
|
180
|
-
* | | PP | Apr 29, 1453 | 7 |
|
|
181
|
-
* | | PPP | April 29th, 1453 | 7 |
|
|
182
|
-
* | | PPPP | Friday, April 29th, 1453 | 2,7 |
|
|
183
|
-
* | Long localized time | p | 12:00 AM | 7 |
|
|
184
|
-
* | | pp | 12:00:00 AM | 7 |
|
|
185
|
-
* | | ppp | 12:00:00 AM GMT+2 | 7 |
|
|
186
|
-
* | | pppp | 12:00:00 AM GMT+02:00 | 2,7 |
|
|
187
|
-
* | Combination of date and time | Pp | 04/29/1453, 12:00 AM | 7 |
|
|
188
|
-
* | | PPpp | Apr 29, 1453, 12:00:00 AM | 7 |
|
|
189
|
-
* | | PPPppp | April 29th, 1453 at ... | 7 |
|
|
190
|
-
* | | PPPPpppp| Friday, April 29th, 1453 at ... | 2,7 |
|
|
191
|
-
* Notes:
|
|
192
|
-
* 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale
|
|
193
|
-
* are the same as "stand-alone" units, but are different in some languages.
|
|
194
|
-
* "Formatting" units are declined according to the rules of the language
|
|
195
|
-
* in the context of a date. "Stand-alone" units are always nominative singular:
|
|
196
|
-
*
|
|
197
|
-
* `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`
|
|
198
|
-
*
|
|
199
|
-
* `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`
|
|
200
|
-
*
|
|
201
|
-
* 2. Any sequence of the identical letters is a pattern, unless it is escaped by
|
|
202
|
-
* the single quote characters (see below).
|
|
203
|
-
* If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`)
|
|
204
|
-
* the output will be the same as default pattern for this unit, usually
|
|
205
|
-
* the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units
|
|
206
|
-
* are marked with "2" in the last column of the table.
|
|
207
|
-
*
|
|
208
|
-
* `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'`
|
|
209
|
-
*
|
|
210
|
-
* `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'`
|
|
211
|
-
*
|
|
212
|
-
* `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'`
|
|
213
|
-
*
|
|
214
|
-
* `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'`
|
|
215
|
-
*
|
|
216
|
-
* `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'`
|
|
217
|
-
*
|
|
218
|
-
* 3. Some patterns could be unlimited length (such as `yyyyyyyy`).
|
|
219
|
-
* The output will be padded with zeros to match the length of the pattern.
|
|
220
|
-
*
|
|
221
|
-
* `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'`
|
|
222
|
-
*
|
|
223
|
-
* 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.
|
|
224
|
-
* These tokens represent the shortest form of the quarter.
|
|
225
|
-
*
|
|
226
|
-
* 5. The main difference between `y` and `u` patterns are B.C. years:
|
|
227
|
-
*
|
|
228
|
-
* | Year | `y` | `u` |
|
|
229
|
-
* |------|-----|-----|
|
|
230
|
-
* | AC 1 | 1 | 1 |
|
|
231
|
-
* | BC 1 | 1 | 0 |
|
|
232
|
-
* | BC 2 | 2 | -1 |
|
|
233
|
-
*
|
|
234
|
-
* Also `yy` always returns the last two digits of a year,
|
|
235
|
-
* while `uu` pads single digit years to 2 characters and returns other years unchanged:
|
|
236
|
-
*
|
|
237
|
-
* | Year | `yy` | `uu` |
|
|
238
|
-
* |------|------|------|
|
|
239
|
-
* | 1 | 01 | 01 |
|
|
240
|
-
* | 14 | 14 | 14 |
|
|
241
|
-
* | 376 | 76 | 376 |
|
|
242
|
-
* | 1453 | 53 | 1453 |
|
|
243
|
-
*
|
|
244
|
-
* The same difference is true for local and ISO week-numbering years (`Y` and `R`),
|
|
245
|
-
* except local week-numbering years are dependent on `options.weekStartsOn`
|
|
246
|
-
* and `options.firstWeekContainsDate` (compare [getISOWeekYear](https://date-fns.org/docs/getISOWeekYear)
|
|
247
|
-
* and [getWeekYear](https://date-fns.org/docs/getWeekYear)).
|
|
248
|
-
*
|
|
249
|
-
* 6. Specific non-location timezones are currently unavailable in `date-fns`,
|
|
250
|
-
* so right now these tokens fall back to GMT timezones.
|
|
251
|
-
*
|
|
252
|
-
* 7. These patterns are not in the Unicode Technical Standard #35:
|
|
253
|
-
* - `i`: ISO day of week
|
|
254
|
-
* - `I`: ISO week of year
|
|
255
|
-
* - `R`: ISO week-numbering year
|
|
256
|
-
* - `t`: seconds timestamp
|
|
257
|
-
* - `T`: milliseconds timestamp
|
|
258
|
-
* - `o`: ordinal number modifier
|
|
259
|
-
* - `P`: long localized date
|
|
260
|
-
* - `p`: long localized time
|
|
261
|
-
*
|
|
262
|
-
* 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.
|
|
263
|
-
* You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
|
|
264
|
-
*
|
|
265
|
-
* 9. `D` and `DD` tokens represent days of the year but they are often confused with days of the month.
|
|
266
|
-
* You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
|
|
267
|
-
*
|
|
268
|
-
* @param date - The original date
|
|
269
|
-
* @param format - The string of tokens
|
|
270
|
-
* @param options - An object with options
|
|
271
|
-
*
|
|
272
|
-
* @returns The formatted date string
|
|
273
|
-
*
|
|
274
|
-
* @throws `date` must not be Invalid Date
|
|
275
|
-
* @throws `options.locale` must contain `localize` property
|
|
276
|
-
* @throws `options.locale` must contain `formatLong` property
|
|
277
|
-
* @throws use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
|
|
278
|
-
* @throws use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
|
|
279
|
-
* @throws use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
|
|
280
|
-
* @throws use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
|
|
281
|
-
* @throws format string contains an unescaped latin alphabet character
|
|
282
|
-
*
|
|
283
|
-
* @example
|
|
284
|
-
* // Represent 11 February 2014 in middle-endian format:
|
|
285
|
-
* const result = format(new Date(2014, 1, 11), 'MM/dd/yyyy')
|
|
286
|
-
* //=> '02/11/2014'
|
|
287
|
-
*
|
|
288
|
-
* @example
|
|
289
|
-
* // Represent 2 July 2014 in Esperanto:
|
|
290
|
-
* import { eoLocale } from 'date-fns/locale/eo'
|
|
291
|
-
* const result = format(new Date(2014, 6, 2), "do 'de' MMMM yyyy", {
|
|
292
|
-
* locale: eoLocale
|
|
293
|
-
* })
|
|
294
|
-
* //=> '2-a de julio 2014'
|
|
295
|
-
*
|
|
296
|
-
* @example
|
|
297
|
-
* // Escape string by single quote characters:
|
|
298
|
-
* const result = format(new Date(2014, 6, 2, 15), "h 'o''clock'")
|
|
299
|
-
* //=> "3 o'clock"
|
|
300
|
-
*/
|
|
301
|
-
function format(date, formatStr, options) {
|
|
302
|
-
const defaultOptions = require_defaultOptions.getDefaultOptions();
|
|
303
|
-
const locale = options?.locale ?? defaultOptions.locale ?? require_en_US.default;
|
|
304
|
-
const firstWeekContainsDate = options?.firstWeekContainsDate ?? options?.locale?.options?.firstWeekContainsDate ?? defaultOptions.firstWeekContainsDate ?? defaultOptions.locale?.options?.firstWeekContainsDate ?? 1;
|
|
305
|
-
const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions.weekStartsOn ?? defaultOptions.locale?.options?.weekStartsOn ?? 0;
|
|
306
|
-
const originalDate = require_toDate.default(date, options?.in);
|
|
307
|
-
if (!require_isValid.default(originalDate)) throw new RangeError("Invalid time value");
|
|
308
|
-
let parts = formatStr.match(longFormattingTokensRegExp).map((substring) => {
|
|
309
|
-
const firstCharacter = substring[0];
|
|
310
|
-
if (firstCharacter === "p" || firstCharacter === "P") {
|
|
311
|
-
const longFormatter = require_longFormatters.longFormatters[firstCharacter];
|
|
312
|
-
return longFormatter(substring, locale.formatLong);
|
|
313
|
-
}
|
|
314
|
-
return substring;
|
|
315
|
-
}).join("").match(formattingTokensRegExp).map((substring) => {
|
|
316
|
-
if (substring === "''") return {
|
|
317
|
-
isToken: false,
|
|
318
|
-
value: "'"
|
|
319
|
-
};
|
|
320
|
-
const firstCharacter = substring[0];
|
|
321
|
-
if (firstCharacter === "'") return {
|
|
322
|
-
isToken: false,
|
|
323
|
-
value: cleanEscapedString(substring)
|
|
324
|
-
};
|
|
325
|
-
if (require_formatters.formatters[firstCharacter]) return {
|
|
326
|
-
isToken: true,
|
|
327
|
-
value: substring
|
|
328
|
-
};
|
|
329
|
-
if (firstCharacter.match(unescapedLatinCharacterRegExp)) throw new RangeError("Format string contains an unescaped latin alphabet character `" + firstCharacter + "`");
|
|
330
|
-
return {
|
|
331
|
-
isToken: false,
|
|
332
|
-
value: substring
|
|
333
|
-
};
|
|
334
|
-
});
|
|
335
|
-
if (locale.localize.preprocessor) parts = locale.localize.preprocessor(originalDate, parts);
|
|
336
|
-
const formatterOptions = {
|
|
337
|
-
firstWeekContainsDate,
|
|
338
|
-
weekStartsOn,
|
|
339
|
-
locale
|
|
340
|
-
};
|
|
341
|
-
return parts.map((part) => {
|
|
342
|
-
if (!part.isToken) return part.value;
|
|
343
|
-
const token = part.value;
|
|
344
|
-
if (!options?.useAdditionalWeekYearTokens && require_protectedTokens.isProtectedWeekYearToken(token) || !options?.useAdditionalDayOfYearTokens && require_protectedTokens.isProtectedDayOfYearToken(token)) require_protectedTokens.warnOrThrowProtectedError(token, formatStr, String(date));
|
|
345
|
-
const formatter = require_formatters.formatters[token[0]];
|
|
346
|
-
return formatter(originalDate, token, locale.localize, formatterOptions);
|
|
347
|
-
}).join("");
|
|
348
|
-
}
|
|
349
|
-
function cleanEscapedString(input) {
|
|
350
|
-
const matched = input.match(escapedStringRegExp);
|
|
351
|
-
if (!matched) return input;
|
|
352
|
-
return matched[1].replace(doubleQuoteRegExp, "'");
|
|
353
|
-
}
|
|
354
|
-
exports.default = format;
|
|
355
|
-
exports.format = format;
|
|
356
|
-
exports.formatDate = format;
|
|
357
|
-
exports.formatters = require_formatters.formatters;
|
|
358
|
-
exports.longFormatters = require_longFormatters.longFormatters;
|