@vc-shell/framework 1.2.4-beta.4 → 1.2.4-beta.6
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/core/composables/index.ts +3 -0
- package/core/composables/useAssets/index.ts +1 -1
- package/core/composables/useAsync/index.test.ts +137 -0
- package/core/composables/useAsync/index.ts +55 -1
- package/core/composables/useBladeRegistry/index.ts +1 -1
- package/core/composables/useBreadcrumbs/index.ts +1 -1
- package/core/composables/useConnectionStatus/index.ts +48 -0
- package/core/composables/useDynamicProperties/index.ts +29 -5
- package/core/composables/useKeyboardNavigation/index.ts +5 -0
- package/core/composables/useMenuService/index.ts +2 -1
- package/core/composables/useSidebarState/index.ts +1 -1
- package/core/composables/useUser/index.ts +30 -4
- package/core/composables/useUser/useUser.test.ts +155 -0
- package/core/composables/useUserManagement/index.ts +1 -1
- package/core/composables/useWebVitals/index.ts +40 -0
- package/core/interceptors/index.ts +72 -15
- package/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue +1 -1
- package/core/plugins/ai-agent/components/_internal/VcAiAgentIframe.vue +1 -1
- package/core/plugins/global-error-handler/index.ts +81 -0
- package/core/plugins/index.ts +0 -1
- package/core/plugins/modularity/index.ts +3 -2
- package/core/plugins/modularity/loader.ts +22 -2
- package/core/plugins/permissions/index.ts +1 -1
- package/core/plugins/signalR/index.ts +19 -0
- package/core/services/app-bar-mobile-buttons-service.ts +1 -0
- package/core/services/menu-service.test.ts +193 -0
- package/core/services/menu-service.ts +140 -191
- package/core/services/toolbar-service.ts +1 -1
- package/core/services/widget-service.ts +1 -1
- package/core/types/index.ts +3 -3
- package/core/utilities/date/convertMomentFormat.test.ts +60 -0
- package/core/utilities/date/convertMomentFormat.ts +30 -0
- package/core/utilities/date/formatDate.test.ts +60 -0
- package/core/utilities/date/formatDate.ts +31 -0
- package/core/utilities/date/index.ts +3 -0
- package/core/utilities/date/resolveLocale.test.ts +44 -0
- package/core/utilities/date/resolveLocale.ts +41 -0
- package/core/utilities/index.ts +5 -0
- package/core/utilities/pendingErrorNotifications.ts +64 -0
- package/dist/DashboardBarChart-BzfKkUke.js +123 -0
- package/dist/DashboardDonutChart-CWfe85Xq.js +89 -0
- package/dist/DashboardLineChart-kdA8VnrR.js +125 -0
- package/dist/GridstackDashboard-CGHYkReX.js +131 -0
- package/dist/GridstackDashboard.css +1 -0
- package/dist/chart-utils-BTs6UFaZ.js +83 -0
- package/dist/core/composables/index.d.ts +1 -0
- package/dist/core/composables/index.d.ts.map +1 -1
- package/dist/core/composables/useAssets/index.d.ts +1 -1
- package/dist/core/composables/useAssets/index.d.ts.map +1 -1
- package/dist/core/composables/useAsync/index.d.ts +18 -1
- package/dist/core/composables/useAsync/index.d.ts.map +1 -1
- package/dist/core/composables/useAsync/index.test.d.ts +2 -0
- package/dist/core/composables/useAsync/index.test.d.ts.map +1 -0
- package/dist/core/composables/useBladeRegistry/index.d.ts +1 -1
- package/dist/core/composables/useBladeRegistry/index.d.ts.map +1 -1
- package/dist/core/composables/useBreadcrumbs/index.d.ts +1 -1
- package/dist/core/composables/useBreadcrumbs/index.d.ts.map +1 -1
- package/dist/core/composables/useConnectionStatus/index.d.ts +7 -0
- package/dist/core/composables/useConnectionStatus/index.d.ts.map +1 -0
- package/dist/core/composables/useDynamicProperties/index.d.ts.map +1 -1
- package/dist/core/composables/useKeyboardNavigation/index.d.ts.map +1 -1
- package/dist/core/composables/useMenuService/index.d.ts +2 -2
- package/dist/core/composables/useMenuService/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/index.d.ts +1 -1
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/useUser.test.d.ts +2 -0
- package/dist/core/composables/useUser/useUser.test.d.ts.map +1 -0
- package/dist/core/composables/useUserManagement/index.d.ts +1 -1
- package/dist/core/composables/useUserManagement/index.d.ts.map +1 -1
- package/dist/core/composables/useWebVitals/index.d.ts +14 -0
- package/dist/core/composables/useWebVitals/index.d.ts.map +1 -0
- package/dist/core/interceptors/index.d.ts.map +1 -1
- package/dist/core/plugins/global-error-handler/index.d.ts +3 -0
- package/dist/core/plugins/global-error-handler/index.d.ts.map +1 -0
- package/dist/core/plugins/index.d.ts +0 -1
- package/dist/core/plugins/index.d.ts.map +1 -1
- package/dist/core/plugins/modularity/index.d.ts +1 -1
- package/dist/core/plugins/modularity/index.d.ts.map +1 -1
- package/dist/core/plugins/modularity/loader.d.ts.map +1 -1
- package/dist/core/plugins/signalR/index.d.ts +1 -0
- package/dist/core/plugins/signalR/index.d.ts.map +1 -1
- package/dist/core/services/app-bar-mobile-buttons-service.d.ts +1 -0
- package/dist/core/services/app-bar-mobile-buttons-service.d.ts.map +1 -1
- package/dist/core/services/menu-service.d.ts +8 -0
- package/dist/core/services/menu-service.d.ts.map +1 -1
- package/dist/core/services/toolbar-service.d.ts +1 -1
- package/dist/core/services/toolbar-service.d.ts.map +1 -1
- package/dist/core/services/widget-service.d.ts +1 -1
- package/dist/core/services/widget-service.d.ts.map +1 -1
- package/dist/core/types/index.d.ts +3 -3
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/core/utilities/date/convertMomentFormat.d.ts +2 -0
- package/dist/core/utilities/date/convertMomentFormat.d.ts.map +1 -0
- package/dist/core/utilities/date/convertMomentFormat.test.d.ts +2 -0
- package/dist/core/utilities/date/convertMomentFormat.test.d.ts.map +1 -0
- package/dist/core/utilities/date/formatDate.d.ts +5 -0
- package/dist/core/utilities/date/formatDate.d.ts.map +1 -0
- package/dist/core/utilities/date/formatDate.test.d.ts +2 -0
- package/dist/core/utilities/date/formatDate.test.d.ts.map +1 -0
- package/dist/core/utilities/date/index.d.ts +4 -0
- package/dist/core/utilities/date/index.d.ts.map +1 -0
- package/dist/core/utilities/date/resolveLocale.d.ts +4 -0
- package/dist/core/utilities/date/resolveLocale.d.ts.map +1 -0
- package/dist/core/utilities/date/resolveLocale.test.d.ts +2 -0
- package/dist/core/utilities/date/resolveLocale.test.d.ts.map +1 -0
- package/dist/core/utilities/index.d.ts +2 -0
- package/dist/core/utilities/index.d.ts.map +1 -1
- package/dist/core/utilities/pendingErrorNotifications.d.ts +23 -0
- package/dist/core/utilities/pendingErrorNotifications.d.ts.map +1 -0
- package/dist/framework.js +462 -33786
- package/dist/index-tgmgQAD9.js +33730 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/injection-keys.d.ts +13 -4
- package/dist/injection-keys.d.ts.map +1 -1
- package/dist/locales/de.json +12 -2
- package/dist/locales/en.json +12 -2
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/types/index.d.ts +4 -4
- package/dist/shared/components/blade-navigation/types/index.d.ts.map +1 -1
- package/dist/shared/components/change-password/change-password.vue.d.ts.map +1 -1
- package/dist/shared/components/common/popup/vc-popup-base.vue.d.ts +50 -0
- package/dist/shared/components/common/popup/vc-popup-base.vue.d.ts.map +1 -0
- package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts.map +1 -1
- package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts.map +1 -1
- package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts.map +1 -1
- package/dist/shared/components/dashboard-charts/index.d.ts +6 -3
- package/dist/shared/components/dashboard-charts/index.d.ts.map +1 -1
- package/dist/shared/components/draggable-dashboard/DraggableDashboard.vue.d.ts.map +1 -1
- package/dist/shared/components/error-interceptor/interceptor.d.ts +1 -1
- package/dist/shared/components/error-interceptor/interceptor.d.ts.map +1 -1
- package/dist/shared/components/generic-dropdown/index.d.ts.map +1 -1
- package/dist/shared/components/multilanguage-selector/multilanguage-selector.vue.d.ts +1 -1
- package/dist/shared/components/multilanguage-selector/multilanguage-selector.vue.d.ts.map +1 -1
- package/dist/shared/components/notification-dropdown/notification-dropdown.vue.d.ts.map +1 -1
- package/dist/shared/components/notifications/components/notification-container/index.d.ts +6 -17
- package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
- package/dist/shared/components/notifications/composables/useContainer/index.d.ts +0 -9
- package/dist/shared/components/notifications/composables/useContainer/index.d.ts.map +1 -1
- package/dist/shared/components/notifications/core/notification.d.ts +0 -1
- package/dist/shared/components/notifications/core/notification.d.ts.map +1 -1
- package/dist/shared/components/notifications/types/index.d.ts +2 -2
- package/dist/shared/components/notifications/types/index.d.ts.map +1 -1
- package/dist/shared/components/popup-handler/composables/usePopup/index.d.ts +1 -1
- package/dist/shared/components/popup-handler/composables/usePopup/index.d.ts.map +1 -1
- package/dist/shared/components/settings-menu-item/settings-menu-item.vue.d.ts.map +1 -1
- package/dist/shared/components/sign-in/external-provider.vue.d.ts.map +1 -1
- package/dist/shared/components/user-dropdown-button/_internal/user-info.vue.d.ts.map +1 -1
- package/dist/shared/components/user-dropdown-button/_internal/user-sidebar.vue.d.ts +2 -2
- package/dist/shared/composables/useModificationTracker/index.d.ts.map +1 -1
- package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts +1 -1
- package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts.map +1 -1
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +2 -2
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/SchemaRender.d.ts +12 -12
- package/dist/shared/modules/dynamic/components/factories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/composables/useFilterBuilder/index.d.ts +1 -1
- package/dist/shared/modules/dynamic/composables/useFilterBuilder/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/composables/useToolbarReducer/index.d.ts +1 -1
- package/dist/shared/modules/dynamic/composables/useToolbarReducer/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/factories/base/useDetailsFactory.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/factories/base/useListFactory.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/factories/types/index.d.ts +4 -3
- package/dist/shared/modules/dynamic/factories/types/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +10 -10
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +11 -11
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/types/index.d.ts +12 -2
- package/dist/shared/modules/dynamic/types/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/types/models.d.ts +19 -1
- package/dist/shared/modules/dynamic/types/models.d.ts.map +1 -1
- package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts +1 -0
- package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts.map +1 -1
- package/dist/shared/pages/_storybook-helpers.d.ts +11 -0
- package/dist/shared/pages/_storybook-helpers.d.ts.map +1 -0
- package/dist/tailwind.config.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-banner/vc-banner.vue.d.ts +19 -5
- package/dist/ui/components/atoms/vc-banner/vc-banner.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.a11y.test.d.ts +2 -0
- package/dist/ui/components/atoms/vc-button/vc-button.a11y.test.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-button/vc-button.test.d.ts +2 -0
- package/dist/ui/components/atoms/vc-button/vc-button.test.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts +8 -0
- package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/index.d.ts +0 -1
- package/dist/ui/components/molecules/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.a11y.test.d.ts +2 -0
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.a11y.test.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.test.d.ts +2 -0
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.test.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown/_internal/VcDropdownItem.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-dropdown/_internal/VcDropdownItem.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-button.vue.d.ts +11 -41
- package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-button.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/index.d.ts +3 -2
- package/dist/ui/components/molecules/vc-editor/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +2 -4
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.a11y.test.d.ts +2 -0
- package/dist/ui/components/molecules/vc-input/vc-input.a11y.test.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-input/vc-input.test.d.ts +2 -0
- package/dist/ui/components/molecules/vc-input/vc-input.test.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +18 -87
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts +0 -1
- package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-group/vc-input-group.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueDropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueTrigger.vue.d.ts +1 -0
- package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueTrigger.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-multivalue/composables/useMultivalueDropdown.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts +2 -3
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-radio-group/vc-radio-group.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-radio-group/vc-radio-group.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/_internal/SelectDropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/_internal/SelectTrigger.vue.d.ts +1 -0
- package/dist/ui/components/molecules/vc-select/_internal/SelectTrigger.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/vc-select.test.d.ts +2 -0
- package/dist/ui/components/molecules/vc-select/vc-select.test.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +0 -5
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-slider/index.d.ts +5 -3
- package/dist/ui/components/molecules/vc-slider/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-switch/vc-switch.vue.d.ts +2 -3
- package/dist/ui/components/molecules/vc-switch/vc-switch.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.a11y.test.d.ts +2 -0
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.a11y.test.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts +7 -0
- package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/index.d.ts +1 -0
- package/dist/ui/components/organisms/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarMobileActions.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarOverlay.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/MenuSidebar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/composables/useAppHub.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/composables/useAppHub.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.test.d.ts +2 -0
- package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.test.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.test.d.ts +2 -0
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.test.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenuItem.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts +9 -3
- package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/composables/useShellBootstrap.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/composables/useShellBootstrap.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
- package/dist/ui/components/{atoms/vc-icon/vc-icon-test.vue.d.ts → organisms/vc-blade/_internal/BladeContentSkeleton.vue.d.ts} +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/BladeContentSkeleton.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/{atoms/vc-icon/vc-icon-examples.vue.d.ts → organisms/vc-blade/_internal/BladeHeaderSkeleton.vue.d.ts} +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/BladeHeaderSkeleton.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/BladeStatusBanners.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbarSkeleton.vue.d.ts +3 -0
- package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbarSkeleton.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/composables/useBladeError.d.ts +4 -5
- package/dist/ui/components/organisms/vc-blade/_internal/composables/useBladeError.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/composables/useToolbarRegistration.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/composables/useToolbarRegistration.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarMobile.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerDesktop.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerDesktop.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerMobile.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerMobile.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +3 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.test.d.ts +2 -0
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.test.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +15 -18
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/composables/index.d.ts +5 -0
- package/dist/ui/components/organisms/vc-gallery/composables/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryPreview.d.ts +6 -0
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryPreview.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryReorder.d.ts +23 -0
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryReorder.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryReorder.test.d.ts +2 -0
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryReorder.test.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryUpload.d.ts +10 -0
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryUpload.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryUpload.test.d.ts +2 -0
- package/dist/ui/components/organisms/vc-gallery/composables/useGalleryUpload.test.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-gallery/composables/useImageLoad.d.ts +8 -0
- package/dist/ui/components/organisms/vc-gallery/composables/useImageLoad.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-gallery/composables/useImageLoad.test.d.ts +2 -0
- package/dist/ui/components/organisms/vc-gallery/composables/useImageLoad.test.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-gallery/index.d.ts +2 -0
- package/dist/ui/components/organisms/vc-gallery/index.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.actions.test.d.ts +2 -0
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.actions.test.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +77 -16
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-image-upload/index.d.ts +2 -0
- package/dist/ui/components/organisms/vc-image-upload/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts +35 -0
- package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +14 -4
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/VcDataTable.vue.d.ts +223 -45
- package/dist/ui/components/organisms/vc-table/VcDataTable.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/VcTableAdapter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/base/BaseVcDataTable.d.ts +9 -1
- package/dist/ui/components/organisms/vc-table/base/BaseVcDataTable.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/ColumnFilter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/DataTableBody.vue.d.ts +26 -9
- package/dist/ui/components/organisms/vc-table/components/DataTableBody.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/DataTableRow.vue.d.ts +3 -1
- package/dist/ui/components/organisms/vc-table/components/DataTableRow.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/GlobalFiltersPanel.vue.d.ts +7 -2
- package/dist/ui/components/organisms/vc-table/components/GlobalFiltersPanel.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableAddRowButton.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableAddRowButton.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableEmpty.vue.d.ts +7 -9
- package/dist/ui/components/organisms/vc-table/components/TableEmpty.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableRow.vue.d.ts +4 -0
- package/dist/ui/components/organisms/vc-table/components/TableRow.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableRowActions.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableSearchHeader.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/TableSearchHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/VcColumn.vue.d.ts +4 -4
- package/dist/ui/components/organisms/vc-table/components/_internal/TableSkeletonRows.vue.d.ts +17 -0
- package/dist/ui/components/organisms/vc-table/components/_internal/TableSkeletonRows.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/components/cells/CellDate.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/components/cells/CellDate.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileCard.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileView.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-table/composables/useDataProcessing.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useDataProcessing.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableEditing.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableEditing.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableExpansion.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableExpansion.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableFilter.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableFilter.test.d.ts +2 -0
- package/dist/ui/components/organisms/vc-table/composables/useTableFilter.test.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/composables/useTableRowGrouping.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableRowGrouping.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableSelectionV2.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableSelectionV2.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/keys.d.ts +12 -1
- package/dist/ui/components/organisms/vc-table/keys.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/types.d.ts +24 -1
- package/dist/ui/components/organisms/vc-table/types.d.ts.map +1 -1
- package/dist/ui/composables/index.d.ts +1 -0
- package/dist/ui/composables/index.d.ts.map +1 -1
- package/dist/ui/composables/useCollapsible.d.ts +27 -0
- package/dist/ui/composables/useCollapsible.d.ts.map +1 -0
- package/dist/ui/composables/useFormField.d.ts +1 -0
- package/dist/ui/composables/useFormField.d.ts.map +1 -1
- package/dist/ui/types/index.d.ts +1 -1
- package/dist/ui/types/index.d.ts.map +1 -1
- package/dist/vc-editor-BNrG1GAG.js +848 -0
- package/dist/vc-editor.css +1 -0
- package/dist/vc-slider-Ce0X1_1m.js +83 -0
- package/dist/vc-slider.css +1 -0
- package/dist/{vendor-cheerio-BcTJMzyu.js → vendor-cheerio-3JDxU-TZ.js} +6 -6
- package/dist/{vendor-cheerio-select-sLyWsUb6.js → vendor-cheerio-select-B7cQ9HP4.js} +3 -3
- package/dist/{vendor-css-select-DtZUShJh.js → vendor-css-select-CaVL4gMJ.js} +1 -1
- package/dist/{vendor-date-fns-Bbji1B6n.js → vendor-date-fns-BKO3x1R1.js} +856 -762
- package/dist/{vendor-dom-serializer-BbVuF1MQ.js → vendor-dom-serializer-Sk3xHhQk.js} +1 -1
- package/dist/{vendor-domhandler-BVR67j0z.js → vendor-domhandler-Kufn9M_V.js} +2 -2
- package/dist/{vendor-domutils-DhLr70Dk.js → vendor-domutils-o2IJSx7k.js} +2 -2
- package/dist/{vendor-entities-J86Og8IU.js → vendor-entities-CCReaWqU.js} +2 -2
- package/dist/vendor-floating-ui-core-BoHdh92a.js +432 -0
- package/dist/vendor-floating-ui-dom-BvVXFZ4B.js +398 -0
- package/dist/vendor-floating-ui-utils-CidJRIm2.js +257 -0
- package/dist/{vendor-floating-ui-vue--bdH-HF5.js → vendor-floating-ui-vue-sCrhit51.js} +2 -2
- package/dist/{vendor-htmlparser2-DOGAmM6C.js → vendor-htmlparser2-nRkKyNhl.js} +2 -2
- package/dist/{vendor-lodash-es-CzE4FJw2.js → vendor-lodash-es-B5DE282z.js} +14 -16
- package/dist/{vendor-lucide-vue-next-m0L4DzUL.js → vendor-lucide-vue-next-DadL7o0S.js} +8563 -8573
- package/dist/{vendor-markdown-it-DdaObR1P.js → vendor-markdown-it-pxD-Y9qk.js} +13 -10
- package/dist/{vendor-microsoft-applicationinsights-analytics-js-DQheg2jT.js → vendor-microsoft-applicationinsights-analytics-js-DFu_cVaY.js} +5 -5
- package/dist/{vendor-microsoft-applicationinsights-cfgsync-js-B9Mn84BU.js → vendor-microsoft-applicationinsights-cfgsync-js-DRQLN2Ue.js} +6 -6
- package/dist/{vendor-microsoft-applicationinsights-channel-js-BuJeAYY2.js → vendor-microsoft-applicationinsights-channel-js-BIJDcP3D.js} +6 -6
- package/dist/{vendor-microsoft-applicationinsights-common-RIQBFrw5.js → vendor-microsoft-applicationinsights-common-CJjmnDMb.js} +3 -3
- package/dist/{vendor-microsoft-applicationinsights-core-js-KDX0EIdd.js → vendor-microsoft-applicationinsights-core-js-BOc_o46i.js} +4 -4
- package/dist/{vendor-microsoft-applicationinsights-dependencies-js-BZbdJERa.js → vendor-microsoft-applicationinsights-dependencies-js-DDz502id.js} +5 -5
- package/dist/{vendor-microsoft-applicationinsights-properties-js-DWXnzqoT.js → vendor-microsoft-applicationinsights-properties-js-9aDWHwXJ.js} +5 -5
- package/dist/{vendor-microsoft-applicationinsights-shims-DKvw2C8l.js → vendor-microsoft-applicationinsights-shims-Dton8Vqy.js} +1 -1
- package/dist/{vendor-microsoft-applicationinsights-web-CvYf2SnW.js → vendor-microsoft-applicationinsights-web-DTa5YN-h.js} +10 -10
- package/dist/{vendor-microsoft-dynamicproto-js-BqPecdaw.js → vendor-microsoft-dynamicproto-js-89GEKjvR.js} +1 -1
- package/dist/{vendor-nevware21-ts-async-CO9QBh90.js → vendor-nevware21-ts-async-D4qa7g-U.js} +1 -1
- package/dist/{vendor-nevware21-ts-utils-DbCMkHfb.js → vendor-nevware21-ts-utils-DII8jruI.js} +154 -154
- package/dist/{vendor-parse5-htmlparser2-tree-adapter-DBkuDq0i.js → vendor-parse5-htmlparser2-tree-adapter-BUDJ887-.js} +1 -1
- package/dist/{vendor-prosemirror-commands-Bv4ChObl.js → vendor-prosemirror-commands-Dml_M5TN.js} +2 -2
- package/dist/{vendor-prosemirror-dropcursor-kF5UKNFM.js → vendor-prosemirror-dropcursor-BpoETgOQ.js} +2 -2
- package/dist/{vendor-prosemirror-gapcursor-BWPM93Bm.js → vendor-prosemirror-gapcursor-VVbNCx01.js} +3 -3
- package/dist/{vendor-prosemirror-history-CQYKHz3u.js → vendor-prosemirror-history-CZUb2jWK.js} +2 -2
- package/dist/{vendor-prosemirror-keymap-CAfQyvJ7.js → vendor-prosemirror-keymap-D5bacBom.js} +1 -1
- package/dist/{vendor-prosemirror-markdown-BMtperlo.js → vendor-prosemirror-markdown-C-c5VoFH.js} +2 -2
- package/dist/{vendor-prosemirror-schema-list-BNJkECdS.js → vendor-prosemirror-schema-list-BZ-Z46DO.js} +1 -1
- package/dist/{vendor-prosemirror-state-IeimrELV.js → vendor-prosemirror-state-DYjHje5i.js} +1 -1
- package/dist/{vendor-prosemirror-tables-oGHIV2UK.js → vendor-prosemirror-tables-CjY-gm1w.js} +4 -4
- package/dist/{vendor-prosemirror-transform-BUjWd5Tb.js → vendor-prosemirror-transform-6xBwIzbI.js} +4 -4
- package/dist/{vendor-prosemirror-view-CR-PD0KM.js → vendor-prosemirror-view-CzBOGIAq.js} +74 -74
- package/dist/{vendor-tiptap-core-CO_R-tjR.js → vendor-tiptap-core-BNrmxwcD.js} +516 -480
- package/dist/{vendor-tiptap-extension-blockquote-D2qy65Cv.js → vendor-tiptap-extension-blockquote-DBYgJvrA.js} +1 -1
- package/dist/{vendor-tiptap-extension-bold-CvJ9mT2Y.js → vendor-tiptap-extension-bold-BaDsyhkA.js} +1 -1
- package/dist/{vendor-tiptap-extension-code-1VjHBs98.js → vendor-tiptap-extension-code-DmMmyuE8.js} +1 -1
- package/dist/{vendor-tiptap-extension-code-block-BNnP9_pH.js → vendor-tiptap-extension-code-block-Cryhc4vR.js} +2 -2
- package/dist/{vendor-tiptap-extension-document-BajSIg0p.js → vendor-tiptap-extension-document-DTFkPYG-.js} +1 -1
- package/dist/{vendor-tiptap-extension-hard-break-BuNoB9-C.js → vendor-tiptap-extension-hard-break-DLmFSWL4.js} +1 -1
- package/dist/{vendor-tiptap-extension-heading-B392LUT7.js → vendor-tiptap-extension-heading-DlpNyZOc.js} +1 -1
- package/dist/{vendor-tiptap-extension-horizontal-rule-CSUTT0Bp.js → vendor-tiptap-extension-horizontal-rule-CI2nC7l5.js} +2 -2
- package/dist/{vendor-tiptap-extension-image-nFs2jKXm.js → vendor-tiptap-extension-image-g6grWBFQ.js} +1 -1
- package/dist/{vendor-tiptap-extension-italic-0bly_CE-.js → vendor-tiptap-extension-italic-DsMLQC-Z.js} +1 -1
- package/dist/{vendor-tiptap-extension-link-BLDvJ5vV.js → vendor-tiptap-extension-link-CF-euSmX.js} +71 -68
- package/dist/{vendor-tiptap-extension-list-B5MwE2sJ.js → vendor-tiptap-extension-list-DA57LKdr.js} +5 -5
- package/dist/{vendor-tiptap-extension-paragraph-CUsfJ4Fl.js → vendor-tiptap-extension-paragraph-CrvWamNP.js} +1 -1
- package/dist/vendor-tiptap-extension-placeholder-DVCL5REL.js +1 -0
- package/dist/{vendor-tiptap-extension-strike-C01BR5iR.js → vendor-tiptap-extension-strike-caeBdU8d.js} +1 -1
- package/dist/{vendor-tiptap-extension-table-DUnnRxVi.js → vendor-tiptap-extension-table-DBQupXqd.js} +8 -8
- package/dist/vendor-tiptap-extension-table-cell-A6UIxsTF.js +1 -0
- package/dist/vendor-tiptap-extension-table-header-A6UIxsTF.js +1 -0
- package/dist/vendor-tiptap-extension-table-row-A6UIxsTF.js +1 -0
- package/dist/{vendor-tiptap-extension-text-D-4QmCkc.js → vendor-tiptap-extension-text-CYaZSxyC.js} +1 -1
- package/dist/{vendor-tiptap-extension-text-style-DhnW0qQ-.js → vendor-tiptap-extension-text-style-C8Uqg46V.js} +1 -1
- package/dist/{vendor-tiptap-extension-underline-BNolmm6B.js → vendor-tiptap-extension-underline-Ct9ZgKsw.js} +1 -1
- package/dist/{vendor-tiptap-extensions-DLb_szZD.js → vendor-tiptap-extensions-Dg7-f1Pi.js} +89 -83
- package/dist/{vendor-tiptap-markdown-Bw1CDyaN.js → vendor-tiptap-markdown-DDkltz0i.js} +4 -4
- package/dist/vendor-tiptap-pm-BbD2LeB7.js +1 -0
- package/dist/{vendor-tiptap-starter-kit-C8ruVG5b.js → vendor-tiptap-starter-kit-C1nkrZcr.js} +17 -17
- package/dist/{vendor-tiptap-vue-3-BzCAEeCs.js → vendor-tiptap-vue-3-B3dwsJj3.js} +1 -1
- package/dist/{vendor-truncate-html-FnN2i7S3.js → vendor-truncate-html-C77Epb-R.js} +1 -1
- package/dist/{vendor-vue3-application-insights-D3zyAvES.js → vendor-vue3-application-insights-BmJCYUcp.js} +2 -2
- package/dist/{vendor-vuepic-vue-datepicker-BbcXj_x6.js → vendor-vuepic-vue-datepicker-CaZ_qpJp.js} +1 -1
- package/dist/{vendor-vueuse-components-Cz0NKocY.js → vendor-vueuse-components-jqShV_Fz.js} +5 -5
- package/dist/{vendor-vueuse-core-SHmW__tV.js → vendor-vueuse-core-D-DKRsy5.js} +8 -7
- package/dist/{vendor-vueuse-shared-CN4sb53h.js → vendor-vueuse-shared-Ch7WD-uK.js} +7 -7
- package/dist/vendor-web-vitals-vrpLO1bu.js +207 -0
- package/dist/vitest-axe.setup.d.ts +10 -0
- package/dist/vitest-axe.setup.d.ts.map +1 -0
- package/package.json +7 -6
- package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +1 -1
- package/shared/components/app-switcher/composables/useAppSwitcher/index.ts +1 -1
- package/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue +2 -1
- package/shared/components/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue +143 -138
- package/shared/components/blade-navigation/types/index.ts +4 -4
- package/shared/components/change-password/change-password.vue +5 -1
- package/shared/components/change-password-button/change-password-button.stories.ts +1 -1
- package/shared/components/common/popup/vc-popup-base.vue +133 -0
- package/shared/components/common/popup/vc-popup-error.vue +6 -23
- package/shared/components/common/popup/vc-popup-info.vue +6 -23
- package/shared/components/common/popup/vc-popup-warning.vue +9 -25
- package/shared/components/dashboard-charts/index.ts +27 -3
- package/shared/components/dashboard-widget-card/dashboard-widget-card.stories.ts +1 -1
- package/shared/components/draggable-dashboard/DraggableDashboard.vue +8 -2
- package/shared/components/error-interceptor/interceptor.ts +25 -3
- package/shared/components/generic-dropdown/generic-dropdown.vue +1 -1
- package/shared/components/language-selector/language-selector.vue +1 -1
- package/shared/components/multilanguage-selector/multilanguage-selector.stories.ts +3 -3
- package/shared/components/multilanguage-selector/multilanguage-selector.vue +117 -15
- package/shared/components/notification-dropdown/notification-dropdown.vue +2 -1
- package/shared/components/notifications/components/notification-container/index.ts +60 -14
- package/shared/components/notifications/composables/useContainer/index.ts +17 -132
- package/shared/components/notifications/core/notification.ts +3 -55
- package/shared/components/notifications/styles/index.scss +51 -89
- package/shared/components/notifications/types/index.ts +2 -4
- package/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue +2 -2
- package/shared/components/popup-handler/composables/usePopup/index.ts +80 -77
- package/shared/components/settings-menu-item/settings-menu-item.stories.ts +2 -1
- package/shared/components/settings-menu-item/settings-menu-item.vue +2 -1
- package/shared/components/sidebar/sidebar.vue +1 -1
- package/shared/components/sign-in/external-provider.vue +2 -1
- package/shared/components/theme-selector/theme-selector.vue +1 -1
- package/shared/components/user-dropdown-button/_internal/user-info.vue +27 -14
- package/shared/components/user-dropdown-button/_internal/user-sidebar.vue +2 -2
- package/shared/components/user-dropdown-button/user-dropdown-button.stories.ts +1 -1
- package/shared/components/user-dropdown-button/user-dropdown-button.vue +2 -2
- package/shared/composables/useExternalWidgets.ts +2 -2
- package/shared/composables/useModificationTracker/index.ts +20 -3
- package/shared/modules/assets/components/assets-details/assets-details.vue +8 -3
- package/shared/modules/assets-manager/components/assets-manager/assets-manager.vue +4 -3
- package/shared/modules/dynamic/components/SchemaRender.ts +1 -1
- package/shared/modules/dynamic/components/factories.ts +242 -244
- package/shared/modules/dynamic/components/fields/Fieldset.ts +66 -65
- package/shared/modules/dynamic/components/fields/GalleryField.ts +3 -2
- package/shared/modules/dynamic/components/fields/MultivalueField.ts +68 -68
- package/shared/modules/dynamic/components/fields/RadioButtonGroup.ts +83 -82
- package/shared/modules/dynamic/components/fields/SelectField.ts +72 -72
- package/shared/modules/dynamic/components/fields/StatusField.ts +110 -110
- package/shared/modules/dynamic/composables/useFilterBuilder/index.ts +6 -2
- package/shared/modules/dynamic/composables/useToolbarReducer/index.ts +1 -1
- package/shared/modules/dynamic/factories/base/useDetailsFactory.ts +2 -1
- package/shared/modules/dynamic/factories/base/useListFactory.ts +2 -1
- package/shared/modules/dynamic/factories/types/index.ts +4 -3
- package/shared/modules/dynamic/helpers/nodeBuilder.ts +1 -1
- package/shared/modules/dynamic/index.ts +2 -1
- package/shared/modules/dynamic/pages/dynamic-blade-form.vue +13 -11
- package/shared/modules/dynamic/pages/dynamic-blade-list.vue +5 -4
- package/shared/modules/dynamic/types/index.ts +13 -15
- package/shared/modules/dynamic/types/models.ts +19 -21
- package/shared/pages/ChangePasswordPage/components/change-password/change-password.stories.ts +44 -0
- package/shared/pages/ForgotPasswordPage/components/forgot-password/ForgotPassword.vue +1 -1
- package/shared/pages/ForgotPasswordPage/components/forgot-password/forgot-password.stories.ts +38 -0
- package/shared/pages/InvitePage/components/invite/invite.stories.ts +64 -0
- package/shared/pages/LoginPage/components/login/Login.vue +93 -75
- package/shared/pages/LoginPage/components/login/login.stories.ts +52 -0
- package/shared/pages/ResetPasswordPage/components/reset-password/reset-password.stories.ts +64 -0
- package/shared/pages/_storybook-helpers.ts +71 -0
- package/tailwind.config.ts +2 -21
- package/ui/components/atoms/vc-banner/vc-banner.stories.ts +259 -0
- package/ui/components/atoms/vc-banner/vc-banner.vue +168 -101
- package/ui/components/atoms/vc-button/vc-button-group.vue +7 -7
- package/ui/components/atoms/vc-button/vc-button.a11y.test.ts +46 -0
- package/ui/components/atoms/vc-button/vc-button.test.ts +75 -0
- package/ui/components/atoms/vc-button/vc-button.vue +33 -17
- package/ui/components/atoms/vc-card/vc-card.stories.ts +3 -1
- package/ui/components/atoms/vc-card/vc-card.vue +3 -3
- package/ui/components/atoms/vc-col/vc-col.stories.ts +1 -1
- package/ui/components/atoms/vc-container/vc-container.vue +4 -4
- package/ui/components/atoms/vc-icon/composables/use-icon.ts +2 -2
- package/ui/components/atoms/vc-icon/vc-icon.stories.ts +0 -20
- package/ui/components/atoms/vc-icon/vc-icon.vue +22 -22
- package/ui/components/atoms/vc-label/vc-label.vue +4 -3
- package/ui/components/atoms/vc-link/vc-link.vue +1 -1
- package/ui/components/atoms/vc-loading/vc-loading.vue +28 -28
- package/ui/components/atoms/vc-row/vc-row.stories.ts +2 -2
- package/ui/components/atoms/vc-row/vc-row.vue +1 -1
- package/ui/components/atoms/vc-scrollable-container/vc-scrollable-container.vue +1 -1
- package/ui/components/atoms/vc-skeleton/vc-skeleton.stories.ts +89 -8
- package/ui/components/atoms/vc-skeleton/vc-skeleton.vue +54 -8
- package/ui/components/atoms/vc-status/vc-status.vue +8 -8
- package/ui/components/atoms/vc-status-icon/vc-status-icon.vue +1 -1
- package/ui/components/atoms/vc-tooltip/vc-tooltip.vue +1 -1
- package/ui/components/atoms/vc-video/vc-video.vue +2 -1
- package/ui/components/atoms/vc-widget/vc-widget.stories.ts +1 -1
- package/ui/components/molecules/index.ts +0 -1
- package/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue +12 -43
- package/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue +23 -19
- package/ui/components/molecules/vc-checkbox/vc-checkbox.a11y.test.ts +39 -0
- package/ui/components/molecules/vc-checkbox/vc-checkbox.test.ts +75 -0
- package/ui/components/molecules/vc-checkbox/vc-checkbox.vue +47 -34
- package/ui/components/molecules/vc-color-input/vc-color-input.vue +18 -28
- package/ui/components/molecules/vc-date-picker/vc-date-picker.vue +16 -28
- package/ui/components/molecules/vc-dropdown/vc-dropdown.vue +7 -1
- package/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue +11 -0
- package/ui/components/molecules/vc-editor/_internal/vc-editor-button.vue +13 -19
- package/ui/components/molecules/vc-editor/index.ts +15 -6
- package/ui/components/molecules/vc-editor/vc-editor.vue +12 -14
- package/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue +2 -2
- package/ui/components/molecules/vc-field/vc-field.vue +2 -1
- package/ui/components/molecules/vc-file-upload/vc-file-upload.stories.ts +87 -39
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +56 -46
- package/ui/components/molecules/vc-input/vc-input.a11y.test.ts +57 -0
- package/ui/components/molecules/vc-input/vc-input.stories.ts +2 -1
- package/ui/components/molecules/vc-input/vc-input.test.ts +114 -0
- package/ui/components/molecules/vc-input/vc-input.vue +36 -58
- package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +18 -87
- package/ui/components/molecules/vc-input-dropdown/index.ts +0 -1
- package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue +2 -1
- package/ui/components/molecules/vc-input-group/vc-input-group.vue +2 -13
- package/ui/components/molecules/vc-multivalue/_internal/MultivalueDropdown.vue +2 -2
- package/ui/components/molecules/vc-multivalue/_internal/MultivalueTrigger.vue +207 -204
- package/ui/components/molecules/vc-multivalue/composables/useMultivalueDropdown.ts +3 -0
- package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +22 -33
- package/ui/components/molecules/vc-pagination/vc-pagination.vue +11 -11
- package/ui/components/molecules/vc-radio-button/vc-radio-button.vue +10 -16
- package/ui/components/molecules/vc-rating/vc-rating.vue +2 -1
- package/ui/components/molecules/vc-select/_internal/SelectDropdown.vue +199 -198
- package/ui/components/molecules/vc-select/_internal/SelectTrigger.vue +301 -290
- package/ui/components/molecules/vc-select/vc-select.test.ts +89 -0
- package/ui/components/molecules/vc-select/vc-select.vue +32 -38
- package/ui/components/molecules/vc-slider/index.ts +21 -13
- package/ui/components/molecules/vc-slider/vc-slider.stories.ts +2 -1
- package/ui/components/molecules/vc-slider/vc-slider.vue +1 -1
- package/ui/components/molecules/vc-switch/vc-switch.vue +19 -15
- package/ui/components/molecules/vc-textarea/vc-textarea.a11y.test.ts +44 -0
- package/ui/components/molecules/vc-textarea/vc-textarea.vue +15 -23
- package/ui/components/molecules/vc-toast/vc-toast.vue +390 -109
- package/ui/components/organisms/index.ts +5 -4
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarMobileActions.vue +44 -28
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarOverlay.vue +1 -1
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppBarWidgetsMenu.vue +2 -2
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubContent.vue +28 -13
- package/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubPopover.vue +1 -1
- package/ui/components/organisms/vc-app/_internal/app-bar/components/MenuSidebar.vue +5 -32
- package/ui/components/organisms/vc-app/_internal/app-bar/composables/useAppBarWidgets.ts +1 -1
- package/ui/components/organisms/vc-app/_internal/app-bar/composables/useAppHub.ts +7 -3
- package/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue +32 -0
- package/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.test.ts +151 -0
- package/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.vue +442 -38
- package/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.test.ts +43 -0
- package/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.vue +3 -3
- package/ui/components/organisms/vc-app/_internal/menu/VcAppMenuGroup.vue +1 -1
- package/ui/components/organisms/vc-app/_internal/menu/VcAppMenuItem.vue +216 -215
- package/ui/components/organisms/vc-app/_internal/sidebar/SidebarCollapseButton.vue +1 -1
- package/ui/components/organisms/vc-app/_internal/sidebar/SidebarContent.vue +2 -2
- package/ui/components/organisms/vc-app/_internal/sidebar/SidebarHeader.vue +93 -36
- package/ui/components/organisms/vc-app/composables/useShellBootstrap.test.ts +3 -14
- package/ui/components/organisms/vc-app/composables/useShellBootstrap.ts +3 -16
- package/ui/components/organisms/vc-app/composables/useShellLifecycle.ts +1 -1
- package/ui/components/organisms/vc-app/composables/useShellNavigation.ts +1 -1
- package/ui/components/organisms/vc-app/vc-app-shell.stories.ts +12 -4
- package/ui/components/organisms/vc-app/vc-app.vue +23 -6
- package/ui/components/organisms/vc-blade/_internal/BladeContentSkeleton.vue +113 -0
- package/ui/components/organisms/vc-blade/_internal/BladeHeader.vue +2 -2
- package/ui/components/organisms/vc-blade/_internal/BladeHeaderSkeleton.vue +52 -0
- package/ui/components/organisms/vc-blade/_internal/BladeStatusBanners.vue +195 -78
- package/ui/components/organisms/vc-blade/_internal/BladeToolbarSkeleton.vue +34 -0
- package/ui/components/organisms/vc-blade/_internal/composables/useBladeError.ts +13 -33
- package/ui/components/organisms/vc-blade/_internal/composables/useToolbarRegistration.ts +4 -2
- package/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue +1 -1
- package/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarDesktop.vue +1 -1
- package/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarMobile.vue +18 -22
- package/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainer.vue +1 -1
- package/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerDesktop.vue +10 -2
- package/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerMobile.vue +2 -2
- package/ui/components/organisms/vc-blade/_internal/widgets/WidgetDropdownItem.vue +1 -1
- package/ui/components/organisms/vc-blade/vc-blade.stories.ts +77 -0
- package/ui/components/organisms/vc-blade/vc-blade.vue +92 -56
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +8 -5
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.test.ts +48 -0
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +184 -103
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue +266 -81
- package/ui/components/organisms/vc-gallery/composables/index.ts +4 -0
- package/ui/components/organisms/vc-gallery/composables/useGalleryPreview.ts +26 -0
- package/ui/components/organisms/vc-gallery/composables/useGalleryReorder.test.ts +73 -0
- package/ui/components/organisms/vc-gallery/composables/useGalleryReorder.ts +183 -0
- package/ui/components/organisms/vc-gallery/composables/useGalleryUpload.test.ts +89 -0
- package/ui/components/organisms/vc-gallery/composables/useGalleryUpload.ts +43 -0
- package/ui/components/organisms/vc-gallery/composables/useImageLoad.test.ts +34 -0
- package/ui/components/organisms/vc-gallery/composables/useImageLoad.ts +26 -0
- package/ui/components/organisms/vc-gallery/index.ts +2 -0
- package/ui/components/organisms/vc-gallery/vc-gallery.actions.test.ts +76 -0
- package/ui/components/organisms/vc-gallery/vc-gallery.stories.ts +76 -68
- package/ui/components/organisms/vc-gallery/vc-gallery.vue +322 -246
- package/ui/components/organisms/vc-image-upload/index.ts +1 -0
- package/ui/components/organisms/vc-image-upload/vc-image-upload.stories.ts +47 -0
- package/ui/components/organisms/vc-image-upload/vc-image-upload.vue +251 -0
- package/ui/components/organisms/vc-popup/vc-popup.stories.ts +106 -0
- package/ui/components/organisms/vc-popup/vc-popup.vue +96 -42
- package/ui/components/organisms/vc-sidebar/vc-sidebar.vue +12 -10
- package/ui/components/organisms/vc-table/VcDataTable.vue +203 -59
- package/ui/components/organisms/vc-table/VcTableAdapter.vue +31 -84
- package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +3 -3
- package/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue +1 -1
- package/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue +1 -1
- package/ui/components/organisms/vc-table/base/BaseVcDataTable.ts +10 -0
- package/ui/components/organisms/vc-table/components/ColumnFilter.vue +29 -15
- package/ui/components/organisms/vc-table/components/DataTableBody.vue +36 -8
- package/ui/components/organisms/vc-table/components/DataTableCellRenderer.vue +2 -2
- package/ui/components/organisms/vc-table/components/DataTableHeader.vue +7 -7
- package/ui/components/organisms/vc-table/components/DataTableRow.vue +3 -0
- package/ui/components/organisms/vc-table/components/GlobalFiltersButton.vue +1 -1
- package/ui/components/organisms/vc-table/components/GlobalFiltersPanel.vue +116 -4
- package/ui/components/organisms/vc-table/components/TableActions.vue +1 -1
- package/ui/components/organisms/vc-table/components/TableColumnSwitcher.vue +1 -1
- package/ui/components/organisms/vc-table/components/TableEmpty.vue +18 -12
- package/ui/components/organisms/vc-table/components/TableGroupRow.vue +8 -8
- package/ui/components/organisms/vc-table/components/TableHead.vue +2 -2
- package/ui/components/organisms/vc-table/components/TableRow.vue +11 -6
- package/ui/components/organisms/vc-table/components/TableRowActions.vue +27 -10
- package/ui/components/organisms/vc-table/components/TableSelectAllBar.vue +5 -5
- package/ui/components/organisms/vc-table/components/_internal/TableSkeletonRows.vue +110 -0
- package/ui/components/organisms/vc-table/components/cells/CellDate.vue +4 -6
- package/ui/components/organisms/vc-table/components/cells/CellDateAgo.vue +2 -2
- package/ui/components/organisms/vc-table/components/mobile/MobileCellRenderer.vue +2 -2
- package/ui/components/organisms/vc-table/composables/useDataProcessing.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableEditing.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableExpansion.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableFilter.test.ts +43 -0
- package/ui/components/organisms/vc-table/composables/useTableFilter.ts +12 -2
- package/ui/components/organisms/vc-table/composables/useTableRowGrouping.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableSelectionV2.ts +1 -1
- package/ui/components/organisms/vc-table/keys.ts +14 -1
- package/ui/components/organisms/vc-table/types.ts +25 -1
- package/ui/components/organisms/vc-table/vc-data-table.stories.ts +205 -0
- package/ui/composables/index.ts +1 -0
- package/ui/composables/useCollapsible.ts +73 -0
- package/ui/composables/useFormField.ts +3 -0
- package/ui/types/index.ts +1 -1
- package/core/plugins/moment/humanize.ts +0 -74
- package/core/plugins/moment/index.ts +0 -1
- package/core/plugins/moment/moment.ts +0 -29
- package/dist/core/plugins/moment/humanize.d.ts +0 -3
- package/dist/core/plugins/moment/humanize.d.ts.map +0 -1
- package/dist/core/plugins/moment/index.d.ts +0 -2
- package/dist/core/plugins/moment/index.d.ts.map +0 -1
- package/dist/core/plugins/moment/moment.d.ts +0 -13
- package/dist/core/plugins/moment/moment.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon-examples.vue.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon-test.vue.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-paginator/index.d.ts +0 -4
- package/dist/ui/components/molecules/vc-paginator/index.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-paginator/vc-paginator.vue.d.ts +0 -73
- package/dist/ui/components/molecules/vc-paginator/vc-paginator.vue.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-table/composables/useDataTableOrchestrator.d.ts +0 -173
- package/dist/ui/components/organisms/vc-table/composables/useDataTableOrchestrator.d.ts.map +0 -1
- package/dist/vendor-d3-chord-l0sNRNKZ.js +0 -1
- package/dist/vendor-d3-drag-l0sNRNKZ.js +0 -1
- package/dist/vendor-d3-force-l0sNRNKZ.js +0 -1
- package/dist/vendor-d3-geo-l0sNRNKZ.js +0 -1
- package/dist/vendor-d3-geo-projection-l0sNRNKZ.js +0 -1
- package/dist/vendor-d3-hierarchy-l0sNRNKZ.js +0 -1
- package/dist/vendor-d3-quadtree-l0sNRNKZ.js +0 -1
- package/dist/vendor-d3-sankey-l0sNRNKZ.js +0 -1
- package/dist/vendor-elkjs-l0sNRNKZ.js +0 -1
- package/dist/vendor-emotion-weak-memoize-l0sNRNKZ.js +0 -1
- package/dist/vendor-floating-ui-core-Dj2ULpEE.js +0 -428
- package/dist/vendor-floating-ui-dom-DC_tF7jX.js +0 -397
- package/dist/vendor-floating-ui-utils-0qz4b9vE.js +0 -259
- package/dist/vendor-kdbush-l0sNRNKZ.js +0 -1
- package/dist/vendor-leaflet-l0sNRNKZ.js +0 -1
- package/dist/vendor-lodash-l0sNRNKZ.js +0 -1
- package/dist/vendor-maplibre-gl-l0sNRNKZ.js +0 -1
- package/dist/vendor-moment-DMLRxgRE.js +0 -2589
- package/dist/vendor-supercluster-l0sNRNKZ.js +0 -1
- package/dist/vendor-tanstack-virtual-core-l0sNRNKZ.js +0 -1
- package/dist/vendor-three-l0sNRNKZ.js +0 -1
- package/dist/vendor-tiptap-extension-placeholder-uPw8yyv1.js +0 -1
- package/dist/vendor-tiptap-extension-table-cell-CzgB8j33.js +0 -1
- package/dist/vendor-tiptap-extension-table-header-CzgB8j33.js +0 -1
- package/dist/vendor-tiptap-extension-table-row-CzgB8j33.js +0 -1
- package/dist/vendor-tiptap-pm-5ylZKocv.js +0 -1
- package/dist/vendor-topojson-client-l0sNRNKZ.js +0 -1
- package/dist/vendor-tslib-l0sNRNKZ.js +0 -1
- package/dist/vendor-unovis-dagre-layout-l0sNRNKZ.js +0 -1
- package/dist/vendor-unovis-graphlibrary-l0sNRNKZ.js +0 -1
- package/ui/components/atoms/vc-icon/vc-icon-examples.vue +0 -544
- package/ui/components/atoms/vc-icon/vc-icon-test.vue +0 -416
- package/ui/components/molecules/vc-paginator/index.ts +0 -4
- package/ui/components/molecules/vc-paginator/vc-paginator.vue +0 -379
- package/ui/components/organisms/vc-table/composables/useDataTableOrchestrator.ts +0 -516
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
const
|
|
1
|
+
const te = Symbol.for("constructDateFrom");
|
|
2
2
|
function h(r, e) {
|
|
3
|
-
return typeof r == "function" ? r(e) : r && typeof r == "object" &&
|
|
3
|
+
return typeof r == "function" ? r(e) : r && typeof r == "object" && te in r ? r[te](e) : r instanceof Date ? new r.constructor(e) : new Date(e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function u(r, e) {
|
|
6
6
|
return h(e || r, r);
|
|
7
7
|
}
|
|
8
8
|
function A(r, e, t) {
|
|
9
|
-
const n =
|
|
9
|
+
const n = u(r, t?.in);
|
|
10
10
|
return isNaN(e) ? h(t?.in || r, NaN) : (e && n.setDate(n.getDate() + e), n);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
const n =
|
|
12
|
+
function B(r, e, t) {
|
|
13
|
+
const n = u(r, t?.in);
|
|
14
14
|
if (isNaN(e)) return h(r, NaN);
|
|
15
15
|
if (!e)
|
|
16
16
|
return n;
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
const o =
|
|
20
|
-
return
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
const s = n.getDate(), a = h(r, n.getTime());
|
|
18
|
+
a.setMonth(n.getMonth() + e + 1, 0);
|
|
19
|
+
const o = a.getDate();
|
|
20
|
+
return s >= o ? a : (n.setFullYear(
|
|
21
|
+
a.getFullYear(),
|
|
22
|
+
a.getMonth(),
|
|
23
|
+
s
|
|
24
24
|
), n);
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function Hn(r, e, t) {
|
|
27
27
|
const {
|
|
28
28
|
years: n = 0,
|
|
29
|
-
months:
|
|
30
|
-
weeks:
|
|
29
|
+
months: s = 0,
|
|
30
|
+
weeks: a = 0,
|
|
31
31
|
days: o = 0,
|
|
32
|
-
hours:
|
|
33
|
-
minutes:
|
|
34
|
-
seconds:
|
|
35
|
-
} = e,
|
|
36
|
-
return h(r, +
|
|
32
|
+
hours: i = 0,
|
|
33
|
+
minutes: c = 0,
|
|
34
|
+
seconds: w = 0
|
|
35
|
+
} = e, d = u(r, t?.in), y = s || n ? B(d, s + n * 12) : d, g = o || a ? A(y, o + a * 7) : y, k = c + i * 60, _ = (w + k * 60) * 1e3;
|
|
36
|
+
return h(r, +g + _);
|
|
37
37
|
}
|
|
38
38
|
function be(r, e, t) {
|
|
39
|
-
return h(r, +
|
|
39
|
+
return h(r, +u(r) + e);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function En(r, e, t) {
|
|
42
42
|
return be(r, e * 36e5);
|
|
43
43
|
}
|
|
44
44
|
let pe = {};
|
|
45
|
-
function
|
|
45
|
+
function H() {
|
|
46
46
|
return pe;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
49
|
-
const t =
|
|
50
|
-
return
|
|
48
|
+
function W(r, e) {
|
|
49
|
+
const t = H(), n = e?.weekStartsOn ?? e?.locale?.options?.weekStartsOn ?? t.weekStartsOn ?? t.locale?.options?.weekStartsOn ?? 0, s = u(r, e?.in), a = s.getDay(), o = (a < n ? 7 : 0) + a - n;
|
|
50
|
+
return s.setDate(s.getDate() - o), s.setHours(0, 0, 0, 0), s;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
return
|
|
52
|
+
function C(r, e) {
|
|
53
|
+
return W(r, { ...e, weekStartsOn: 1 });
|
|
54
54
|
}
|
|
55
|
-
function
|
|
56
|
-
const t =
|
|
57
|
-
|
|
58
|
-
const
|
|
55
|
+
function ie(r, e) {
|
|
56
|
+
const t = u(r, e?.in), n = t.getFullYear(), s = h(t, 0);
|
|
57
|
+
s.setFullYear(n + 1, 0, 4), s.setHours(0, 0, 0, 0);
|
|
58
|
+
const a = C(s), o = h(t, 0);
|
|
59
59
|
o.setFullYear(n, 0, 4), o.setHours(0, 0, 0, 0);
|
|
60
|
-
const
|
|
61
|
-
return t.getTime() >=
|
|
60
|
+
const i = C(o);
|
|
61
|
+
return t.getTime() >= a.getTime() ? n + 1 : t.getTime() >= i.getTime() ? n : n - 1;
|
|
62
62
|
}
|
|
63
63
|
function L(r) {
|
|
64
|
-
const e =
|
|
64
|
+
const e = u(r), t = new Date(
|
|
65
65
|
Date.UTC(
|
|
66
66
|
e.getFullYear(),
|
|
67
67
|
e.getMonth(),
|
|
@@ -74,117 +74,169 @@ function L(r) {
|
|
|
74
74
|
);
|
|
75
75
|
return t.setUTCFullYear(e.getFullYear()), +r - +t;
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function E(r, ...e) {
|
|
78
78
|
const t = h.bind(
|
|
79
79
|
null,
|
|
80
|
-
e.find((n) => typeof n == "object")
|
|
80
|
+
r || e.find((n) => typeof n == "object")
|
|
81
81
|
);
|
|
82
82
|
return e.map(t);
|
|
83
83
|
}
|
|
84
|
-
function
|
|
85
|
-
const t =
|
|
84
|
+
function ne(r, e) {
|
|
85
|
+
const t = u(r, e?.in);
|
|
86
86
|
return t.setHours(0, 0, 0, 0), t;
|
|
87
87
|
}
|
|
88
88
|
function xe(r, e, t) {
|
|
89
|
-
const [n,
|
|
89
|
+
const [n, s] = E(
|
|
90
90
|
t?.in,
|
|
91
91
|
r,
|
|
92
92
|
e
|
|
93
|
-
),
|
|
94
|
-
return Math.round((
|
|
93
|
+
), a = ne(n), o = ne(s), i = +a - L(a), c = +o - L(o);
|
|
94
|
+
return Math.round((i - c) / 864e5);
|
|
95
95
|
}
|
|
96
96
|
function Me(r, e) {
|
|
97
|
-
const t =
|
|
98
|
-
return n.setFullYear(t, 0, 4), n.setHours(0, 0, 0, 0),
|
|
97
|
+
const t = ie(r, e), n = h(r, 0);
|
|
98
|
+
return n.setFullYear(t, 0, 4), n.setHours(0, 0, 0, 0), C(n);
|
|
99
99
|
}
|
|
100
100
|
function De(r, e, t) {
|
|
101
|
-
return
|
|
101
|
+
return B(r, e * 3, t);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
return
|
|
103
|
+
function Te(r, e, t) {
|
|
104
|
+
return B(r, e * 12, t);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
107
|
-
const t = +
|
|
106
|
+
function F(r, e) {
|
|
107
|
+
const t = +u(r) - +u(e);
|
|
108
108
|
return t < 0 ? -1 : t > 0 ? 1 : t;
|
|
109
109
|
}
|
|
110
|
+
function ke(r) {
|
|
111
|
+
return h(r, Date.now());
|
|
112
|
+
}
|
|
110
113
|
function Pe(r) {
|
|
111
114
|
return r instanceof Date || typeof r == "object" && Object.prototype.toString.call(r) === "[object Date]";
|
|
112
115
|
}
|
|
113
|
-
function
|
|
114
|
-
return !(!Pe(r) && typeof r != "number" || isNaN(+
|
|
116
|
+
function Oe(r) {
|
|
117
|
+
return !(!Pe(r) && typeof r != "number" || isNaN(+u(r)));
|
|
115
118
|
}
|
|
116
|
-
function
|
|
117
|
-
const
|
|
119
|
+
function Ye(r, e, t) {
|
|
120
|
+
const [n, s] = E(
|
|
121
|
+
t?.in,
|
|
122
|
+
r,
|
|
123
|
+
e
|
|
124
|
+
), a = n.getFullYear() - s.getFullYear(), o = n.getMonth() - s.getMonth();
|
|
125
|
+
return a * 12 + o;
|
|
126
|
+
}
|
|
127
|
+
function In(r, e) {
|
|
128
|
+
const t = u(r, e?.in);
|
|
118
129
|
return Math.trunc(t.getMonth() / 3) + 1;
|
|
119
130
|
}
|
|
120
|
-
function
|
|
121
|
-
const [n,
|
|
131
|
+
function _e(r, e, t) {
|
|
132
|
+
const [n, s] = E(
|
|
122
133
|
t?.in,
|
|
123
134
|
r,
|
|
124
135
|
e
|
|
125
136
|
);
|
|
126
|
-
return n.getFullYear() -
|
|
137
|
+
return n.getFullYear() - s.getFullYear();
|
|
138
|
+
}
|
|
139
|
+
function ve(r) {
|
|
140
|
+
return (e) => {
|
|
141
|
+
const n = (r ? Math[r] : Math.trunc)(e);
|
|
142
|
+
return n === 0 ? 0 : n;
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
function We(r, e) {
|
|
146
|
+
return +u(r) - +u(e);
|
|
147
|
+
}
|
|
148
|
+
function He(r, e) {
|
|
149
|
+
const t = u(r, e?.in);
|
|
150
|
+
return t.setHours(23, 59, 59, 999), t;
|
|
151
|
+
}
|
|
152
|
+
function Ee(r, e) {
|
|
153
|
+
const t = u(r, e?.in), n = t.getMonth();
|
|
154
|
+
return t.setFullYear(t.getFullYear(), n + 1, 0), t.setHours(23, 59, 59, 999), t;
|
|
127
155
|
}
|
|
128
|
-
function
|
|
129
|
-
const
|
|
156
|
+
function Ie(r, e) {
|
|
157
|
+
const t = u(r, e?.in);
|
|
158
|
+
return +He(t, e) == +Ee(t, e);
|
|
159
|
+
}
|
|
160
|
+
function Ne(r, e, t) {
|
|
161
|
+
const [n, s, a] = E(
|
|
130
162
|
t?.in,
|
|
131
163
|
r,
|
|
164
|
+
r,
|
|
132
165
|
e
|
|
133
|
-
),
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
166
|
+
), o = F(s, a), i = Math.abs(
|
|
167
|
+
Ye(s, a)
|
|
168
|
+
);
|
|
169
|
+
if (i < 1) return 0;
|
|
170
|
+
s.getMonth() === 1 && s.getDate() > 27 && s.setDate(30), s.setMonth(s.getMonth() - o * i);
|
|
171
|
+
let c = F(s, a) === -o;
|
|
172
|
+
Ie(n) && i === 1 && F(n, a) === 1 && (c = !1);
|
|
173
|
+
const w = o * (i - +c);
|
|
174
|
+
return w === 0 ? 0 : w;
|
|
175
|
+
}
|
|
176
|
+
function qe(r, e, t) {
|
|
177
|
+
const n = We(r, e) / 1e3;
|
|
178
|
+
return ve(t?.roundingMethod)(n);
|
|
179
|
+
}
|
|
180
|
+
function Nn(r, e, t) {
|
|
181
|
+
const [n, s] = E(
|
|
182
|
+
t?.in,
|
|
183
|
+
r,
|
|
184
|
+
e
|
|
185
|
+
), a = F(n, s), o = Math.abs(_e(n, s));
|
|
186
|
+
n.setFullYear(1584), s.setFullYear(1584);
|
|
187
|
+
const i = F(n, s) === -a, c = a * (o - +i);
|
|
188
|
+
return c === 0 ? 0 : c;
|
|
137
189
|
}
|
|
138
|
-
function
|
|
139
|
-
const [t, n] =
|
|
190
|
+
function ue(r, e) {
|
|
191
|
+
const [t, n] = E(r, e.start, e.end);
|
|
140
192
|
return { start: t, end: n };
|
|
141
193
|
}
|
|
142
|
-
function
|
|
143
|
-
const { start: t, end: n } =
|
|
144
|
-
let
|
|
145
|
-
const
|
|
194
|
+
function qn(r, e) {
|
|
195
|
+
const { start: t, end: n } = ue(e?.in, r);
|
|
196
|
+
let s = +t > +n;
|
|
197
|
+
const a = s ? +t : +n, o = s ? n : t;
|
|
146
198
|
o.setHours(0, 0, 0, 0);
|
|
147
|
-
let
|
|
148
|
-
const
|
|
149
|
-
for (; +o <=
|
|
150
|
-
|
|
151
|
-
return
|
|
152
|
-
}
|
|
153
|
-
function
|
|
154
|
-
const t =
|
|
155
|
-
return t.setMonth(
|
|
156
|
-
}
|
|
157
|
-
function
|
|
158
|
-
const { start: t, end: n } =
|
|
159
|
-
let
|
|
160
|
-
const
|
|
161
|
-
let o =
|
|
162
|
-
const
|
|
163
|
-
for (; +o <=
|
|
164
|
-
|
|
165
|
-
return
|
|
166
|
-
}
|
|
167
|
-
function
|
|
168
|
-
const t =
|
|
199
|
+
let i = 1;
|
|
200
|
+
const c = [];
|
|
201
|
+
for (; +o <= a; )
|
|
202
|
+
c.push(h(t, o)), o.setDate(o.getDate() + i), o.setHours(0, 0, 0, 0);
|
|
203
|
+
return s ? c.reverse() : c;
|
|
204
|
+
}
|
|
205
|
+
function q(r, e) {
|
|
206
|
+
const t = u(r, e?.in), n = t.getMonth(), s = n - n % 3;
|
|
207
|
+
return t.setMonth(s, 1), t.setHours(0, 0, 0, 0), t;
|
|
208
|
+
}
|
|
209
|
+
function Fn(r, e) {
|
|
210
|
+
const { start: t, end: n } = ue(e?.in, r);
|
|
211
|
+
let s = +t > +n;
|
|
212
|
+
const a = s ? +q(t) : +q(n);
|
|
213
|
+
let o = q(s ? n : t), i = 1;
|
|
214
|
+
const c = [];
|
|
215
|
+
for (; +o <= a; )
|
|
216
|
+
c.push(h(t, o)), o = De(o, i);
|
|
217
|
+
return s ? c.reverse() : c;
|
|
218
|
+
}
|
|
219
|
+
function Cn(r, e) {
|
|
220
|
+
const t = u(r, e?.in);
|
|
169
221
|
return t.setDate(1), t.setHours(0, 0, 0, 0), t;
|
|
170
222
|
}
|
|
171
|
-
function
|
|
172
|
-
const t =
|
|
223
|
+
function Ln(r, e) {
|
|
224
|
+
const t = u(r, e?.in), n = t.getFullYear();
|
|
173
225
|
return t.setFullYear(n + 1, 0, 0), t.setHours(23, 59, 59, 999), t;
|
|
174
226
|
}
|
|
175
|
-
function
|
|
176
|
-
const t =
|
|
227
|
+
function Fe(r, e) {
|
|
228
|
+
const t = u(r, e?.in);
|
|
177
229
|
return t.setFullYear(t.getFullYear(), 0, 1), t.setHours(0, 0, 0, 0), t;
|
|
178
230
|
}
|
|
179
|
-
function
|
|
180
|
-
const t =
|
|
181
|
-
return
|
|
231
|
+
function Qn(r, e) {
|
|
232
|
+
const t = H(), n = e?.weekStartsOn ?? e?.locale?.options?.weekStartsOn ?? t.weekStartsOn ?? t.locale?.options?.weekStartsOn ?? 0, s = u(r, e?.in), a = s.getDay(), o = (a < n ? -7 : 0) + 6 - (a - n);
|
|
233
|
+
return s.setDate(s.getDate() + o), s.setHours(23, 59, 59, 999), s;
|
|
182
234
|
}
|
|
183
|
-
function
|
|
184
|
-
const t =
|
|
185
|
-
return t.setMonth(
|
|
235
|
+
function Xn(r, e) {
|
|
236
|
+
const t = u(r, e?.in), n = t.getMonth(), s = n - n % 3 + 3;
|
|
237
|
+
return t.setMonth(s, 0), t.setHours(23, 59, 59, 999), t;
|
|
186
238
|
}
|
|
187
|
-
const
|
|
239
|
+
const Ce = {
|
|
188
240
|
lessThanXSeconds: {
|
|
189
241
|
one: "less than a second",
|
|
190
242
|
other: "less than {{count}} seconds"
|
|
@@ -246,77 +298,77 @@ const _e = {
|
|
|
246
298
|
one: "almost 1 year",
|
|
247
299
|
other: "almost {{count}} years"
|
|
248
300
|
}
|
|
249
|
-
},
|
|
301
|
+
}, Le = (r, e, t) => {
|
|
250
302
|
let n;
|
|
251
|
-
const
|
|
252
|
-
return typeof
|
|
303
|
+
const s = Ce[r];
|
|
304
|
+
return typeof s == "string" ? n = s : e === 1 ? n = s.one : n = s.other.replace("{{count}}", e.toString()), t?.addSuffix ? t.comparison && t.comparison > 0 ? "in " + n : n + " ago" : n;
|
|
253
305
|
};
|
|
254
|
-
function
|
|
306
|
+
function j(r) {
|
|
255
307
|
return (e = {}) => {
|
|
256
308
|
const t = e.width ? String(e.width) : r.defaultWidth;
|
|
257
309
|
return r.formats[t] || r.formats[r.defaultWidth];
|
|
258
310
|
};
|
|
259
311
|
}
|
|
260
|
-
const
|
|
312
|
+
const Qe = {
|
|
261
313
|
full: "EEEE, MMMM do, y",
|
|
262
314
|
long: "MMMM do, y",
|
|
263
315
|
medium: "MMM d, y",
|
|
264
316
|
short: "MM/dd/yyyy"
|
|
265
|
-
},
|
|
317
|
+
}, Xe = {
|
|
266
318
|
full: "h:mm:ss a zzzz",
|
|
267
319
|
long: "h:mm:ss a z",
|
|
268
320
|
medium: "h:mm:ss a",
|
|
269
321
|
short: "h:mm a"
|
|
270
|
-
},
|
|
322
|
+
}, Re = {
|
|
271
323
|
full: "{{date}} 'at' {{time}}",
|
|
272
324
|
long: "{{date}} 'at' {{time}}",
|
|
273
325
|
medium: "{{date}}, {{time}}",
|
|
274
326
|
short: "{{date}}, {{time}}"
|
|
275
|
-
},
|
|
276
|
-
date:
|
|
277
|
-
formats:
|
|
327
|
+
}, Ae = {
|
|
328
|
+
date: j({
|
|
329
|
+
formats: Qe,
|
|
278
330
|
defaultWidth: "full"
|
|
279
331
|
}),
|
|
280
|
-
time:
|
|
281
|
-
formats:
|
|
332
|
+
time: j({
|
|
333
|
+
formats: Xe,
|
|
282
334
|
defaultWidth: "full"
|
|
283
335
|
}),
|
|
284
|
-
dateTime:
|
|
285
|
-
formats:
|
|
336
|
+
dateTime: j({
|
|
337
|
+
formats: Re,
|
|
286
338
|
defaultWidth: "full"
|
|
287
339
|
})
|
|
288
|
-
},
|
|
340
|
+
}, Be = {
|
|
289
341
|
lastWeek: "'last' eeee 'at' p",
|
|
290
342
|
yesterday: "'yesterday at' p",
|
|
291
343
|
today: "'today at' p",
|
|
292
344
|
tomorrow: "'tomorrow at' p",
|
|
293
345
|
nextWeek: "eeee 'at' p",
|
|
294
346
|
other: "P"
|
|
295
|
-
},
|
|
296
|
-
function
|
|
347
|
+
}, Ge = (r, e, t, n) => Be[r];
|
|
348
|
+
function Q(r) {
|
|
297
349
|
return (e, t) => {
|
|
298
350
|
const n = t?.context ? String(t.context) : "standalone";
|
|
299
|
-
let
|
|
351
|
+
let s;
|
|
300
352
|
if (n === "formatting" && r.formattingValues) {
|
|
301
|
-
const o = r.defaultFormattingWidth || r.defaultWidth,
|
|
302
|
-
|
|
353
|
+
const o = r.defaultFormattingWidth || r.defaultWidth, i = t?.width ? String(t.width) : o;
|
|
354
|
+
s = r.formattingValues[i] || r.formattingValues[o];
|
|
303
355
|
} else {
|
|
304
|
-
const o = r.defaultWidth,
|
|
305
|
-
|
|
356
|
+
const o = r.defaultWidth, i = t?.width ? String(t.width) : r.defaultWidth;
|
|
357
|
+
s = r.values[i] || r.values[o];
|
|
306
358
|
}
|
|
307
|
-
const
|
|
308
|
-
return a
|
|
359
|
+
const a = r.argumentCallback ? r.argumentCallback(e) : e;
|
|
360
|
+
return s[a];
|
|
309
361
|
};
|
|
310
362
|
}
|
|
311
|
-
const
|
|
363
|
+
const je = {
|
|
312
364
|
narrow: ["B", "A"],
|
|
313
365
|
abbreviated: ["BC", "AD"],
|
|
314
366
|
wide: ["Before Christ", "Anno Domini"]
|
|
315
|
-
},
|
|
367
|
+
}, $e = {
|
|
316
368
|
narrow: ["1", "2", "3", "4"],
|
|
317
369
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
318
370
|
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
319
|
-
},
|
|
371
|
+
}, Ve = {
|
|
320
372
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
321
373
|
abbreviated: [
|
|
322
374
|
"Jan",
|
|
@@ -346,7 +398,7 @@ const Ie = {
|
|
|
346
398
|
"November",
|
|
347
399
|
"December"
|
|
348
400
|
]
|
|
349
|
-
},
|
|
401
|
+
}, ze = {
|
|
350
402
|
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
351
403
|
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
352
404
|
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
@@ -359,7 +411,7 @@ const Ie = {
|
|
|
359
411
|
"Friday",
|
|
360
412
|
"Saturday"
|
|
361
413
|
]
|
|
362
|
-
},
|
|
414
|
+
}, Je = {
|
|
363
415
|
narrow: {
|
|
364
416
|
am: "a",
|
|
365
417
|
pm: "p",
|
|
@@ -390,7 +442,7 @@ const Ie = {
|
|
|
390
442
|
evening: "evening",
|
|
391
443
|
night: "night"
|
|
392
444
|
}
|
|
393
|
-
},
|
|
445
|
+
}, Ke = {
|
|
394
446
|
narrow: {
|
|
395
447
|
am: "a",
|
|
396
448
|
pm: "p",
|
|
@@ -421,7 +473,7 @@ const Ie = {
|
|
|
421
473
|
evening: "in the evening",
|
|
422
474
|
night: "at night"
|
|
423
475
|
}
|
|
424
|
-
},
|
|
476
|
+
}, Ze = (r, e) => {
|
|
425
477
|
const t = Number(r), n = t % 100;
|
|
426
478
|
if (n > 20 || n < 10)
|
|
427
479
|
switch (n % 10) {
|
|
@@ -433,89 +485,89 @@ const Ie = {
|
|
|
433
485
|
return t + "rd";
|
|
434
486
|
}
|
|
435
487
|
return t + "th";
|
|
436
|
-
},
|
|
437
|
-
ordinalNumber:
|
|
438
|
-
era:
|
|
439
|
-
values:
|
|
488
|
+
}, Se = {
|
|
489
|
+
ordinalNumber: Ze,
|
|
490
|
+
era: Q({
|
|
491
|
+
values: je,
|
|
440
492
|
defaultWidth: "wide"
|
|
441
493
|
}),
|
|
442
|
-
quarter:
|
|
443
|
-
values:
|
|
494
|
+
quarter: Q({
|
|
495
|
+
values: $e,
|
|
444
496
|
defaultWidth: "wide",
|
|
445
497
|
argumentCallback: (r) => r - 1
|
|
446
498
|
}),
|
|
447
|
-
month:
|
|
448
|
-
values:
|
|
499
|
+
month: Q({
|
|
500
|
+
values: Ve,
|
|
449
501
|
defaultWidth: "wide"
|
|
450
502
|
}),
|
|
451
|
-
day:
|
|
452
|
-
values:
|
|
503
|
+
day: Q({
|
|
504
|
+
values: ze,
|
|
453
505
|
defaultWidth: "wide"
|
|
454
506
|
}),
|
|
455
|
-
dayPeriod:
|
|
456
|
-
values:
|
|
507
|
+
dayPeriod: Q({
|
|
508
|
+
values: Je,
|
|
457
509
|
defaultWidth: "wide",
|
|
458
|
-
formattingValues:
|
|
510
|
+
formattingValues: Ke,
|
|
459
511
|
defaultFormattingWidth: "wide"
|
|
460
512
|
})
|
|
461
513
|
};
|
|
462
|
-
function
|
|
514
|
+
function X(r) {
|
|
463
515
|
return (e, t = {}) => {
|
|
464
|
-
const n = t.width,
|
|
465
|
-
if (!
|
|
516
|
+
const n = t.width, s = n && r.matchPatterns[n] || r.matchPatterns[r.defaultMatchWidth], a = e.match(s);
|
|
517
|
+
if (!a)
|
|
466
518
|
return null;
|
|
467
|
-
const o =
|
|
519
|
+
const o = a[0], i = n && r.parsePatterns[n] || r.parsePatterns[r.defaultParseWidth], c = Array.isArray(i) ? et(i, (y) => y.test(o)) : (
|
|
468
520
|
// [TODO] -- I challenge you to fix the type
|
|
469
|
-
|
|
521
|
+
Ue(i, (y) => y.test(o))
|
|
470
522
|
);
|
|
471
|
-
let
|
|
472
|
-
|
|
523
|
+
let w;
|
|
524
|
+
w = r.valueCallback ? r.valueCallback(c) : c, w = t.valueCallback ? (
|
|
473
525
|
// [TODO] -- I challenge you to fix the type
|
|
474
|
-
t.valueCallback(
|
|
475
|
-
) :
|
|
476
|
-
const
|
|
477
|
-
return { value:
|
|
526
|
+
t.valueCallback(w)
|
|
527
|
+
) : w;
|
|
528
|
+
const d = e.slice(o.length);
|
|
529
|
+
return { value: w, rest: d };
|
|
478
530
|
};
|
|
479
531
|
}
|
|
480
|
-
function
|
|
532
|
+
function Ue(r, e) {
|
|
481
533
|
for (const t in r)
|
|
482
534
|
if (Object.prototype.hasOwnProperty.call(r, t) && e(r[t]))
|
|
483
535
|
return t;
|
|
484
536
|
}
|
|
485
|
-
function
|
|
537
|
+
function et(r, e) {
|
|
486
538
|
for (let t = 0; t < r.length; t++)
|
|
487
539
|
if (e(r[t]))
|
|
488
540
|
return t;
|
|
489
541
|
}
|
|
490
|
-
function
|
|
542
|
+
function tt(r) {
|
|
491
543
|
return (e, t = {}) => {
|
|
492
544
|
const n = e.match(r.matchPattern);
|
|
493
545
|
if (!n) return null;
|
|
494
|
-
const
|
|
495
|
-
if (!
|
|
496
|
-
let o = r.valueCallback ? r.valueCallback(
|
|
546
|
+
const s = n[0], a = e.match(r.parsePattern);
|
|
547
|
+
if (!a) return null;
|
|
548
|
+
let o = r.valueCallback ? r.valueCallback(a[0]) : a[0];
|
|
497
549
|
o = t.valueCallback ? t.valueCallback(o) : o;
|
|
498
|
-
const
|
|
499
|
-
return { value: o, rest:
|
|
550
|
+
const i = e.slice(s.length);
|
|
551
|
+
return { value: o, rest: i };
|
|
500
552
|
};
|
|
501
553
|
}
|
|
502
|
-
const
|
|
554
|
+
const nt = /^(\d+)(th|st|nd|rd)?/i, rt = /\d+/i, st = {
|
|
503
555
|
narrow: /^(b|a)/i,
|
|
504
556
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
505
557
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
506
|
-
},
|
|
558
|
+
}, at = {
|
|
507
559
|
any: [/^b/i, /^(a|c)/i]
|
|
508
|
-
},
|
|
560
|
+
}, ot = {
|
|
509
561
|
narrow: /^[1234]/i,
|
|
510
562
|
abbreviated: /^q[1234]/i,
|
|
511
563
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
512
|
-
},
|
|
564
|
+
}, it = {
|
|
513
565
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
514
|
-
},
|
|
566
|
+
}, ut = {
|
|
515
567
|
narrow: /^[jfmasond]/i,
|
|
516
568
|
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
517
569
|
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
518
|
-
},
|
|
570
|
+
}, ct = {
|
|
519
571
|
narrow: [
|
|
520
572
|
/^j/i,
|
|
521
573
|
/^f/i,
|
|
@@ -544,18 +596,18 @@ const Ve = /^(\d+)(th|st|nd|rd)?/i, ze = /\d+/i, Je = {
|
|
|
544
596
|
/^n/i,
|
|
545
597
|
/^d/i
|
|
546
598
|
]
|
|
547
|
-
},
|
|
599
|
+
}, dt = {
|
|
548
600
|
narrow: /^[smtwf]/i,
|
|
549
601
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
550
602
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
551
603
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
552
|
-
},
|
|
604
|
+
}, lt = {
|
|
553
605
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
554
606
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
555
|
-
},
|
|
607
|
+
}, ft = {
|
|
556
608
|
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
557
609
|
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
558
|
-
},
|
|
610
|
+
}, ht = {
|
|
559
611
|
any: {
|
|
560
612
|
am: /^a/i,
|
|
561
613
|
pm: /^p/i,
|
|
@@ -566,97 +618,97 @@ const Ve = /^(\d+)(th|st|nd|rd)?/i, ze = /\d+/i, Je = {
|
|
|
566
618
|
evening: /evening/i,
|
|
567
619
|
night: /night/i
|
|
568
620
|
}
|
|
569
|
-
},
|
|
570
|
-
ordinalNumber:
|
|
571
|
-
matchPattern:
|
|
572
|
-
parsePattern:
|
|
621
|
+
}, mt = {
|
|
622
|
+
ordinalNumber: tt({
|
|
623
|
+
matchPattern: nt,
|
|
624
|
+
parsePattern: rt,
|
|
573
625
|
valueCallback: (r) => parseInt(r, 10)
|
|
574
626
|
}),
|
|
575
|
-
era:
|
|
576
|
-
matchPatterns:
|
|
627
|
+
era: X({
|
|
628
|
+
matchPatterns: st,
|
|
577
629
|
defaultMatchWidth: "wide",
|
|
578
|
-
parsePatterns:
|
|
630
|
+
parsePatterns: at,
|
|
579
631
|
defaultParseWidth: "any"
|
|
580
632
|
}),
|
|
581
|
-
quarter:
|
|
582
|
-
matchPatterns:
|
|
633
|
+
quarter: X({
|
|
634
|
+
matchPatterns: ot,
|
|
583
635
|
defaultMatchWidth: "wide",
|
|
584
|
-
parsePatterns:
|
|
636
|
+
parsePatterns: it,
|
|
585
637
|
defaultParseWidth: "any",
|
|
586
638
|
valueCallback: (r) => r + 1
|
|
587
639
|
}),
|
|
588
|
-
month:
|
|
589
|
-
matchPatterns:
|
|
640
|
+
month: X({
|
|
641
|
+
matchPatterns: ut,
|
|
590
642
|
defaultMatchWidth: "wide",
|
|
591
|
-
parsePatterns:
|
|
643
|
+
parsePatterns: ct,
|
|
592
644
|
defaultParseWidth: "any"
|
|
593
645
|
}),
|
|
594
|
-
day:
|
|
595
|
-
matchPatterns:
|
|
646
|
+
day: X({
|
|
647
|
+
matchPatterns: dt,
|
|
596
648
|
defaultMatchWidth: "wide",
|
|
597
|
-
parsePatterns:
|
|
649
|
+
parsePatterns: lt,
|
|
598
650
|
defaultParseWidth: "any"
|
|
599
651
|
}),
|
|
600
|
-
dayPeriod:
|
|
601
|
-
matchPatterns:
|
|
652
|
+
dayPeriod: X({
|
|
653
|
+
matchPatterns: ft,
|
|
602
654
|
defaultMatchWidth: "any",
|
|
603
|
-
parsePatterns:
|
|
655
|
+
parsePatterns: ht,
|
|
604
656
|
defaultParseWidth: "any"
|
|
605
657
|
})
|
|
606
|
-
},
|
|
658
|
+
}, z = {
|
|
607
659
|
code: "en-US",
|
|
608
|
-
formatDistance:
|
|
609
|
-
formatLong:
|
|
610
|
-
formatRelative:
|
|
611
|
-
localize:
|
|
612
|
-
match:
|
|
660
|
+
formatDistance: Le,
|
|
661
|
+
formatLong: Ae,
|
|
662
|
+
formatRelative: Ge,
|
|
663
|
+
localize: Se,
|
|
664
|
+
match: mt,
|
|
613
665
|
options: {
|
|
614
666
|
weekStartsOn: 0,
|
|
615
667
|
firstWeekContainsDate: 1
|
|
616
668
|
}
|
|
617
669
|
};
|
|
618
|
-
function
|
|
619
|
-
const t =
|
|
620
|
-
return xe(t,
|
|
670
|
+
function wt(r, e) {
|
|
671
|
+
const t = u(r, e?.in);
|
|
672
|
+
return xe(t, Fe(t)) + 1;
|
|
621
673
|
}
|
|
622
674
|
function ce(r, e) {
|
|
623
|
-
const t =
|
|
675
|
+
const t = u(r, e?.in), n = +C(t) - +Me(t);
|
|
624
676
|
return Math.round(n / 6048e5) + 1;
|
|
625
677
|
}
|
|
626
|
-
function
|
|
627
|
-
const t =
|
|
628
|
-
o.setFullYear(n + 1, 0,
|
|
629
|
-
const
|
|
630
|
-
|
|
631
|
-
const
|
|
632
|
-
return +t >= +
|
|
678
|
+
function J(r, e) {
|
|
679
|
+
const t = u(r, e?.in), n = t.getFullYear(), s = H(), a = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? s.firstWeekContainsDate ?? s.locale?.options?.firstWeekContainsDate ?? 1, o = h(e?.in || r, 0);
|
|
680
|
+
o.setFullYear(n + 1, 0, a), o.setHours(0, 0, 0, 0);
|
|
681
|
+
const i = W(o, e), c = h(e?.in || r, 0);
|
|
682
|
+
c.setFullYear(n, 0, a), c.setHours(0, 0, 0, 0);
|
|
683
|
+
const w = W(c, e);
|
|
684
|
+
return +t >= +i ? n + 1 : +t >= +w ? n : n - 1;
|
|
633
685
|
}
|
|
634
|
-
function
|
|
635
|
-
const t =
|
|
636
|
-
return
|
|
686
|
+
function yt(r, e) {
|
|
687
|
+
const t = H(), n = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? t.firstWeekContainsDate ?? t.locale?.options?.firstWeekContainsDate ?? 1, s = J(r, e), a = h(e?.in || r, 0);
|
|
688
|
+
return a.setFullYear(s, 0, n), a.setHours(0, 0, 0, 0), W(a, e);
|
|
637
689
|
}
|
|
638
690
|
function de(r, e) {
|
|
639
|
-
const t =
|
|
691
|
+
const t = u(r, e?.in), n = +W(t, e) - +yt(t, e);
|
|
640
692
|
return Math.round(n / 6048e5) + 1;
|
|
641
693
|
}
|
|
642
|
-
function
|
|
694
|
+
function m(r, e) {
|
|
643
695
|
const t = r < 0 ? "-" : "", n = Math.abs(r).toString().padStart(e, "0");
|
|
644
696
|
return t + n;
|
|
645
697
|
}
|
|
646
|
-
const
|
|
698
|
+
const v = {
|
|
647
699
|
// Year
|
|
648
700
|
y(r, e) {
|
|
649
701
|
const t = r.getFullYear(), n = t > 0 ? t : 1 - t;
|
|
650
|
-
return
|
|
702
|
+
return m(e === "yy" ? n % 100 : n, e.length);
|
|
651
703
|
},
|
|
652
704
|
// Month
|
|
653
705
|
M(r, e) {
|
|
654
706
|
const t = r.getMonth();
|
|
655
|
-
return e === "M" ? String(t + 1) :
|
|
707
|
+
return e === "M" ? String(t + 1) : m(t + 1, 2);
|
|
656
708
|
},
|
|
657
709
|
// Day of the month
|
|
658
710
|
d(r, e) {
|
|
659
|
-
return
|
|
711
|
+
return m(r.getDate(), e.length);
|
|
660
712
|
},
|
|
661
713
|
// AM or PM
|
|
662
714
|
a(r, e) {
|
|
@@ -676,35 +728,35 @@ const Y = {
|
|
|
676
728
|
},
|
|
677
729
|
// Hour [1-12]
|
|
678
730
|
h(r, e) {
|
|
679
|
-
return
|
|
731
|
+
return m(r.getHours() % 12 || 12, e.length);
|
|
680
732
|
},
|
|
681
733
|
// Hour [0-23]
|
|
682
734
|
H(r, e) {
|
|
683
|
-
return
|
|
735
|
+
return m(r.getHours(), e.length);
|
|
684
736
|
},
|
|
685
737
|
// Minute
|
|
686
738
|
m(r, e) {
|
|
687
|
-
return
|
|
739
|
+
return m(r.getMinutes(), e.length);
|
|
688
740
|
},
|
|
689
741
|
// Second
|
|
690
742
|
s(r, e) {
|
|
691
|
-
return
|
|
743
|
+
return m(r.getSeconds(), e.length);
|
|
692
744
|
},
|
|
693
745
|
// Fraction of second
|
|
694
746
|
S(r, e) {
|
|
695
|
-
const t = e.length, n = r.getMilliseconds(),
|
|
747
|
+
const t = e.length, n = r.getMilliseconds(), s = Math.trunc(
|
|
696
748
|
n * Math.pow(10, t - 3)
|
|
697
749
|
);
|
|
698
|
-
return
|
|
750
|
+
return m(s, e.length);
|
|
699
751
|
}
|
|
700
|
-
},
|
|
752
|
+
}, N = {
|
|
701
753
|
midnight: "midnight",
|
|
702
754
|
noon: "noon",
|
|
703
755
|
morning: "morning",
|
|
704
756
|
afternoon: "afternoon",
|
|
705
757
|
evening: "evening",
|
|
706
758
|
night: "night"
|
|
707
|
-
},
|
|
759
|
+
}, re = {
|
|
708
760
|
// Era
|
|
709
761
|
G: function(r, e, t) {
|
|
710
762
|
const n = r.getFullYear() > 0 ? 1 : 0;
|
|
@@ -726,24 +778,24 @@ const Y = {
|
|
|
726
778
|
// Year
|
|
727
779
|
y: function(r, e, t) {
|
|
728
780
|
if (e === "yo") {
|
|
729
|
-
const n = r.getFullYear(),
|
|
730
|
-
return t.ordinalNumber(
|
|
781
|
+
const n = r.getFullYear(), s = n > 0 ? n : 1 - n;
|
|
782
|
+
return t.ordinalNumber(s, { unit: "year" });
|
|
731
783
|
}
|
|
732
|
-
return
|
|
784
|
+
return v.y(r, e);
|
|
733
785
|
},
|
|
734
786
|
// Local week-numbering year
|
|
735
787
|
Y: function(r, e, t, n) {
|
|
736
|
-
const
|
|
788
|
+
const s = J(r, n), a = s > 0 ? s : 1 - s;
|
|
737
789
|
if (e === "YY") {
|
|
738
|
-
const o =
|
|
739
|
-
return
|
|
790
|
+
const o = a % 100;
|
|
791
|
+
return m(o, 2);
|
|
740
792
|
}
|
|
741
|
-
return e === "Yo" ? t.ordinalNumber(
|
|
793
|
+
return e === "Yo" ? t.ordinalNumber(a, { unit: "year" }) : m(a, e.length);
|
|
742
794
|
},
|
|
743
795
|
// ISO week-numbering year
|
|
744
796
|
R: function(r, e) {
|
|
745
|
-
const t =
|
|
746
|
-
return
|
|
797
|
+
const t = ie(r);
|
|
798
|
+
return m(t, e.length);
|
|
747
799
|
},
|
|
748
800
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
749
801
|
// The main difference between `y` and `u` localizers are B.C. years:
|
|
@@ -756,7 +808,7 @@ const Y = {
|
|
|
756
808
|
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
757
809
|
u: function(r, e) {
|
|
758
810
|
const t = r.getFullYear();
|
|
759
|
-
return
|
|
811
|
+
return m(t, e.length);
|
|
760
812
|
},
|
|
761
813
|
// Quarter
|
|
762
814
|
Q: function(r, e, t) {
|
|
@@ -767,7 +819,7 @@ const Y = {
|
|
|
767
819
|
return String(n);
|
|
768
820
|
// 01, 02, 03, 04
|
|
769
821
|
case "QQ":
|
|
770
|
-
return
|
|
822
|
+
return m(n, 2);
|
|
771
823
|
// 1st, 2nd, 3rd, 4th
|
|
772
824
|
case "Qo":
|
|
773
825
|
return t.ordinalNumber(n, { unit: "quarter" });
|
|
@@ -801,7 +853,7 @@ const Y = {
|
|
|
801
853
|
return String(n);
|
|
802
854
|
// 01, 02, 03, 04
|
|
803
855
|
case "qq":
|
|
804
|
-
return
|
|
856
|
+
return m(n, 2);
|
|
805
857
|
// 1st, 2nd, 3rd, 4th
|
|
806
858
|
case "qo":
|
|
807
859
|
return t.ordinalNumber(n, { unit: "quarter" });
|
|
@@ -832,7 +884,7 @@ const Y = {
|
|
|
832
884
|
switch (e) {
|
|
833
885
|
case "M":
|
|
834
886
|
case "MM":
|
|
835
|
-
return
|
|
887
|
+
return v.M(r, e);
|
|
836
888
|
// 1st, 2nd, ..., 12th
|
|
837
889
|
case "Mo":
|
|
838
890
|
return t.ordinalNumber(n + 1, { unit: "month" });
|
|
@@ -863,7 +915,7 @@ const Y = {
|
|
|
863
915
|
return String(n + 1);
|
|
864
916
|
// 01, 02, ..., 12
|
|
865
917
|
case "LL":
|
|
866
|
-
return
|
|
918
|
+
return m(n + 1, 2);
|
|
867
919
|
// 1st, 2nd, ..., 12th
|
|
868
920
|
case "Lo":
|
|
869
921
|
return t.ordinalNumber(n + 1, { unit: "month" });
|
|
@@ -887,22 +939,22 @@ const Y = {
|
|
|
887
939
|
},
|
|
888
940
|
// Local week of year
|
|
889
941
|
w: function(r, e, t, n) {
|
|
890
|
-
const
|
|
891
|
-
return e === "wo" ? t.ordinalNumber(
|
|
942
|
+
const s = de(r, n);
|
|
943
|
+
return e === "wo" ? t.ordinalNumber(s, { unit: "week" }) : m(s, e.length);
|
|
892
944
|
},
|
|
893
945
|
// ISO week of year
|
|
894
946
|
I: function(r, e, t) {
|
|
895
947
|
const n = ce(r);
|
|
896
|
-
return e === "Io" ? t.ordinalNumber(n, { unit: "week" }) :
|
|
948
|
+
return e === "Io" ? t.ordinalNumber(n, { unit: "week" }) : m(n, e.length);
|
|
897
949
|
},
|
|
898
950
|
// Day of the month
|
|
899
951
|
d: function(r, e, t) {
|
|
900
|
-
return e === "do" ? t.ordinalNumber(r.getDate(), { unit: "date" }) :
|
|
952
|
+
return e === "do" ? t.ordinalNumber(r.getDate(), { unit: "date" }) : v.d(r, e);
|
|
901
953
|
},
|
|
902
954
|
// Day of year
|
|
903
955
|
D: function(r, e, t) {
|
|
904
|
-
const n =
|
|
905
|
-
return e === "Do" ? t.ordinalNumber(n, { unit: "dayOfYear" }) :
|
|
956
|
+
const n = wt(r);
|
|
957
|
+
return e === "Do" ? t.ordinalNumber(n, { unit: "dayOfYear" }) : m(n, e.length);
|
|
906
958
|
},
|
|
907
959
|
// Day of week
|
|
908
960
|
E: function(r, e, t) {
|
|
@@ -939,38 +991,38 @@ const Y = {
|
|
|
939
991
|
},
|
|
940
992
|
// Local day of week
|
|
941
993
|
e: function(r, e, t, n) {
|
|
942
|
-
const
|
|
994
|
+
const s = r.getDay(), a = (s - n.weekStartsOn + 8) % 7 || 7;
|
|
943
995
|
switch (e) {
|
|
944
996
|
// Numerical value (Nth day of week with current locale or weekStartsOn)
|
|
945
997
|
case "e":
|
|
946
|
-
return String(
|
|
998
|
+
return String(a);
|
|
947
999
|
// Padded numerical value
|
|
948
1000
|
case "ee":
|
|
949
|
-
return
|
|
1001
|
+
return m(a, 2);
|
|
950
1002
|
// 1st, 2nd, ..., 7th
|
|
951
1003
|
case "eo":
|
|
952
|
-
return t.ordinalNumber(
|
|
1004
|
+
return t.ordinalNumber(a, { unit: "day" });
|
|
953
1005
|
case "eee":
|
|
954
|
-
return t.day(
|
|
1006
|
+
return t.day(s, {
|
|
955
1007
|
width: "abbreviated",
|
|
956
1008
|
context: "formatting"
|
|
957
1009
|
});
|
|
958
1010
|
// T
|
|
959
1011
|
case "eeeee":
|
|
960
|
-
return t.day(
|
|
1012
|
+
return t.day(s, {
|
|
961
1013
|
width: "narrow",
|
|
962
1014
|
context: "formatting"
|
|
963
1015
|
});
|
|
964
1016
|
// Tu
|
|
965
1017
|
case "eeeeee":
|
|
966
|
-
return t.day(
|
|
1018
|
+
return t.day(s, {
|
|
967
1019
|
width: "short",
|
|
968
1020
|
context: "formatting"
|
|
969
1021
|
});
|
|
970
1022
|
// Tuesday
|
|
971
1023
|
case "eeee":
|
|
972
1024
|
default:
|
|
973
|
-
return t.day(
|
|
1025
|
+
return t.day(s, {
|
|
974
1026
|
width: "wide",
|
|
975
1027
|
context: "formatting"
|
|
976
1028
|
});
|
|
@@ -978,38 +1030,38 @@ const Y = {
|
|
|
978
1030
|
},
|
|
979
1031
|
// Stand-alone local day of week
|
|
980
1032
|
c: function(r, e, t, n) {
|
|
981
|
-
const
|
|
1033
|
+
const s = r.getDay(), a = (s - n.weekStartsOn + 8) % 7 || 7;
|
|
982
1034
|
switch (e) {
|
|
983
1035
|
// Numerical value (same as in `e`)
|
|
984
1036
|
case "c":
|
|
985
|
-
return String(
|
|
1037
|
+
return String(a);
|
|
986
1038
|
// Padded numerical value
|
|
987
1039
|
case "cc":
|
|
988
|
-
return
|
|
1040
|
+
return m(a, e.length);
|
|
989
1041
|
// 1st, 2nd, ..., 7th
|
|
990
1042
|
case "co":
|
|
991
|
-
return t.ordinalNumber(
|
|
1043
|
+
return t.ordinalNumber(a, { unit: "day" });
|
|
992
1044
|
case "ccc":
|
|
993
|
-
return t.day(
|
|
1045
|
+
return t.day(s, {
|
|
994
1046
|
width: "abbreviated",
|
|
995
1047
|
context: "standalone"
|
|
996
1048
|
});
|
|
997
1049
|
// T
|
|
998
1050
|
case "ccccc":
|
|
999
|
-
return t.day(
|
|
1051
|
+
return t.day(s, {
|
|
1000
1052
|
width: "narrow",
|
|
1001
1053
|
context: "standalone"
|
|
1002
1054
|
});
|
|
1003
1055
|
// Tu
|
|
1004
1056
|
case "cccccc":
|
|
1005
|
-
return t.day(
|
|
1057
|
+
return t.day(s, {
|
|
1006
1058
|
width: "short",
|
|
1007
1059
|
context: "standalone"
|
|
1008
1060
|
});
|
|
1009
1061
|
// Tuesday
|
|
1010
1062
|
case "cccc":
|
|
1011
1063
|
default:
|
|
1012
|
-
return t.day(
|
|
1064
|
+
return t.day(s, {
|
|
1013
1065
|
width: "wide",
|
|
1014
1066
|
context: "standalone"
|
|
1015
1067
|
});
|
|
@@ -1017,17 +1069,17 @@ const Y = {
|
|
|
1017
1069
|
},
|
|
1018
1070
|
// ISO day of week
|
|
1019
1071
|
i: function(r, e, t) {
|
|
1020
|
-
const n = r.getDay(),
|
|
1072
|
+
const n = r.getDay(), s = n === 0 ? 7 : n;
|
|
1021
1073
|
switch (e) {
|
|
1022
1074
|
// 2
|
|
1023
1075
|
case "i":
|
|
1024
|
-
return String(
|
|
1076
|
+
return String(s);
|
|
1025
1077
|
// 02
|
|
1026
1078
|
case "ii":
|
|
1027
|
-
return
|
|
1079
|
+
return m(s, e.length);
|
|
1028
1080
|
// 2nd
|
|
1029
1081
|
case "io":
|
|
1030
|
-
return t.ordinalNumber(
|
|
1082
|
+
return t.ordinalNumber(s, { unit: "day" });
|
|
1031
1083
|
// Tue
|
|
1032
1084
|
case "iii":
|
|
1033
1085
|
return t.day(n, {
|
|
@@ -1057,27 +1109,27 @@ const Y = {
|
|
|
1057
1109
|
},
|
|
1058
1110
|
// AM or PM
|
|
1059
1111
|
a: function(r, e, t) {
|
|
1060
|
-
const
|
|
1112
|
+
const s = r.getHours() / 12 >= 1 ? "pm" : "am";
|
|
1061
1113
|
switch (e) {
|
|
1062
1114
|
case "a":
|
|
1063
1115
|
case "aa":
|
|
1064
|
-
return t.dayPeriod(
|
|
1116
|
+
return t.dayPeriod(s, {
|
|
1065
1117
|
width: "abbreviated",
|
|
1066
1118
|
context: "formatting"
|
|
1067
1119
|
});
|
|
1068
1120
|
case "aaa":
|
|
1069
|
-
return t.dayPeriod(
|
|
1121
|
+
return t.dayPeriod(s, {
|
|
1070
1122
|
width: "abbreviated",
|
|
1071
1123
|
context: "formatting"
|
|
1072
1124
|
}).toLowerCase();
|
|
1073
1125
|
case "aaaaa":
|
|
1074
|
-
return t.dayPeriod(
|
|
1126
|
+
return t.dayPeriod(s, {
|
|
1075
1127
|
width: "narrow",
|
|
1076
1128
|
context: "formatting"
|
|
1077
1129
|
});
|
|
1078
1130
|
case "aaaa":
|
|
1079
1131
|
default:
|
|
1080
|
-
return t.dayPeriod(
|
|
1132
|
+
return t.dayPeriod(s, {
|
|
1081
1133
|
width: "wide",
|
|
1082
1134
|
context: "formatting"
|
|
1083
1135
|
});
|
|
@@ -1086,27 +1138,27 @@ const Y = {
|
|
|
1086
1138
|
// AM, PM, midnight, noon
|
|
1087
1139
|
b: function(r, e, t) {
|
|
1088
1140
|
const n = r.getHours();
|
|
1089
|
-
let
|
|
1090
|
-
switch (n === 12 ?
|
|
1141
|
+
let s;
|
|
1142
|
+
switch (n === 12 ? s = N.noon : n === 0 ? s = N.midnight : s = n / 12 >= 1 ? "pm" : "am", e) {
|
|
1091
1143
|
case "b":
|
|
1092
1144
|
case "bb":
|
|
1093
|
-
return t.dayPeriod(
|
|
1145
|
+
return t.dayPeriod(s, {
|
|
1094
1146
|
width: "abbreviated",
|
|
1095
1147
|
context: "formatting"
|
|
1096
1148
|
});
|
|
1097
1149
|
case "bbb":
|
|
1098
|
-
return t.dayPeriod(
|
|
1150
|
+
return t.dayPeriod(s, {
|
|
1099
1151
|
width: "abbreviated",
|
|
1100
1152
|
context: "formatting"
|
|
1101
1153
|
}).toLowerCase();
|
|
1102
1154
|
case "bbbbb":
|
|
1103
|
-
return t.dayPeriod(
|
|
1155
|
+
return t.dayPeriod(s, {
|
|
1104
1156
|
width: "narrow",
|
|
1105
1157
|
context: "formatting"
|
|
1106
1158
|
});
|
|
1107
1159
|
case "bbbb":
|
|
1108
1160
|
default:
|
|
1109
|
-
return t.dayPeriod(
|
|
1161
|
+
return t.dayPeriod(s, {
|
|
1110
1162
|
width: "wide",
|
|
1111
1163
|
context: "formatting"
|
|
1112
1164
|
});
|
|
@@ -1115,23 +1167,23 @@ const Y = {
|
|
|
1115
1167
|
// in the morning, in the afternoon, in the evening, at night
|
|
1116
1168
|
B: function(r, e, t) {
|
|
1117
1169
|
const n = r.getHours();
|
|
1118
|
-
let
|
|
1119
|
-
switch (n >= 17 ?
|
|
1170
|
+
let s;
|
|
1171
|
+
switch (n >= 17 ? s = N.evening : n >= 12 ? s = N.afternoon : n >= 4 ? s = N.morning : s = N.night, e) {
|
|
1120
1172
|
case "B":
|
|
1121
1173
|
case "BB":
|
|
1122
1174
|
case "BBB":
|
|
1123
|
-
return t.dayPeriod(
|
|
1175
|
+
return t.dayPeriod(s, {
|
|
1124
1176
|
width: "abbreviated",
|
|
1125
1177
|
context: "formatting"
|
|
1126
1178
|
});
|
|
1127
1179
|
case "BBBBB":
|
|
1128
|
-
return t.dayPeriod(
|
|
1180
|
+
return t.dayPeriod(s, {
|
|
1129
1181
|
width: "narrow",
|
|
1130
1182
|
context: "formatting"
|
|
1131
1183
|
});
|
|
1132
1184
|
case "BBBB":
|
|
1133
1185
|
default:
|
|
1134
|
-
return t.dayPeriod(
|
|
1186
|
+
return t.dayPeriod(s, {
|
|
1135
1187
|
width: "wide",
|
|
1136
1188
|
context: "formatting"
|
|
1137
1189
|
});
|
|
@@ -1143,33 +1195,33 @@ const Y = {
|
|
|
1143
1195
|
let n = r.getHours() % 12;
|
|
1144
1196
|
return n === 0 && (n = 12), t.ordinalNumber(n, { unit: "hour" });
|
|
1145
1197
|
}
|
|
1146
|
-
return
|
|
1198
|
+
return v.h(r, e);
|
|
1147
1199
|
},
|
|
1148
1200
|
// Hour [0-23]
|
|
1149
1201
|
H: function(r, e, t) {
|
|
1150
|
-
return e === "Ho" ? t.ordinalNumber(r.getHours(), { unit: "hour" }) :
|
|
1202
|
+
return e === "Ho" ? t.ordinalNumber(r.getHours(), { unit: "hour" }) : v.H(r, e);
|
|
1151
1203
|
},
|
|
1152
1204
|
// Hour [0-11]
|
|
1153
1205
|
K: function(r, e, t) {
|
|
1154
1206
|
const n = r.getHours() % 12;
|
|
1155
|
-
return e === "Ko" ? t.ordinalNumber(n, { unit: "hour" }) :
|
|
1207
|
+
return e === "Ko" ? t.ordinalNumber(n, { unit: "hour" }) : m(n, e.length);
|
|
1156
1208
|
},
|
|
1157
1209
|
// Hour [1-24]
|
|
1158
1210
|
k: function(r, e, t) {
|
|
1159
1211
|
let n = r.getHours();
|
|
1160
|
-
return n === 0 && (n = 24), e === "ko" ? t.ordinalNumber(n, { unit: "hour" }) :
|
|
1212
|
+
return n === 0 && (n = 24), e === "ko" ? t.ordinalNumber(n, { unit: "hour" }) : m(n, e.length);
|
|
1161
1213
|
},
|
|
1162
1214
|
// Minute
|
|
1163
1215
|
m: function(r, e, t) {
|
|
1164
|
-
return e === "mo" ? t.ordinalNumber(r.getMinutes(), { unit: "minute" }) :
|
|
1216
|
+
return e === "mo" ? t.ordinalNumber(r.getMinutes(), { unit: "minute" }) : v.m(r, e);
|
|
1165
1217
|
},
|
|
1166
1218
|
// Second
|
|
1167
1219
|
s: function(r, e, t) {
|
|
1168
|
-
return e === "so" ? t.ordinalNumber(r.getSeconds(), { unit: "second" }) :
|
|
1220
|
+
return e === "so" ? t.ordinalNumber(r.getSeconds(), { unit: "second" }) : v.s(r, e);
|
|
1169
1221
|
},
|
|
1170
1222
|
// Fraction of second
|
|
1171
1223
|
S: function(r, e) {
|
|
1172
|
-
return
|
|
1224
|
+
return v.S(r, e);
|
|
1173
1225
|
},
|
|
1174
1226
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
1175
1227
|
X: function(r, e, t) {
|
|
@@ -1185,7 +1237,7 @@ const Y = {
|
|
|
1185
1237
|
// so this token always has the same output as `XX`
|
|
1186
1238
|
case "XXXX":
|
|
1187
1239
|
case "XX":
|
|
1188
|
-
return
|
|
1240
|
+
return I(n);
|
|
1189
1241
|
// Hours, minutes and optional seconds with `:` delimiter
|
|
1190
1242
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1191
1243
|
// so this token always has the same output as `XXX`
|
|
@@ -1193,7 +1245,7 @@ const Y = {
|
|
|
1193
1245
|
case "XXX":
|
|
1194
1246
|
// Hours and minutes with `:` delimiter
|
|
1195
1247
|
default:
|
|
1196
|
-
return
|
|
1248
|
+
return I(n, ":");
|
|
1197
1249
|
}
|
|
1198
1250
|
},
|
|
1199
1251
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
@@ -1208,7 +1260,7 @@ const Y = {
|
|
|
1208
1260
|
// so this token always has the same output as `xx`
|
|
1209
1261
|
case "xxxx":
|
|
1210
1262
|
case "xx":
|
|
1211
|
-
return
|
|
1263
|
+
return I(n);
|
|
1212
1264
|
// Hours, minutes and optional seconds with `:` delimiter
|
|
1213
1265
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1214
1266
|
// so this token always has the same output as `xxx`
|
|
@@ -1216,7 +1268,7 @@ const Y = {
|
|
|
1216
1268
|
case "xxx":
|
|
1217
1269
|
// Hours and minutes with `:` delimiter
|
|
1218
1270
|
default:
|
|
1219
|
-
return
|
|
1271
|
+
return I(n, ":");
|
|
1220
1272
|
}
|
|
1221
1273
|
},
|
|
1222
1274
|
// Timezone (GMT)
|
|
@@ -1227,11 +1279,11 @@ const Y = {
|
|
|
1227
1279
|
case "O":
|
|
1228
1280
|
case "OO":
|
|
1229
1281
|
case "OOO":
|
|
1230
|
-
return "GMT" +
|
|
1282
|
+
return "GMT" + se(n, ":");
|
|
1231
1283
|
// Long
|
|
1232
1284
|
case "OOOO":
|
|
1233
1285
|
default:
|
|
1234
|
-
return "GMT" +
|
|
1286
|
+
return "GMT" + I(n, ":");
|
|
1235
1287
|
}
|
|
1236
1288
|
},
|
|
1237
1289
|
// Timezone (specific non-location)
|
|
@@ -1242,35 +1294,35 @@ const Y = {
|
|
|
1242
1294
|
case "z":
|
|
1243
1295
|
case "zz":
|
|
1244
1296
|
case "zzz":
|
|
1245
|
-
return "GMT" +
|
|
1297
|
+
return "GMT" + se(n, ":");
|
|
1246
1298
|
// Long
|
|
1247
1299
|
case "zzzz":
|
|
1248
1300
|
default:
|
|
1249
|
-
return "GMT" +
|
|
1301
|
+
return "GMT" + I(n, ":");
|
|
1250
1302
|
}
|
|
1251
1303
|
},
|
|
1252
1304
|
// Seconds timestamp
|
|
1253
1305
|
t: function(r, e, t) {
|
|
1254
1306
|
const n = Math.trunc(+r / 1e3);
|
|
1255
|
-
return
|
|
1307
|
+
return m(n, e.length);
|
|
1256
1308
|
},
|
|
1257
1309
|
// Milliseconds timestamp
|
|
1258
1310
|
T: function(r, e, t) {
|
|
1259
|
-
return
|
|
1311
|
+
return m(+r, e.length);
|
|
1260
1312
|
}
|
|
1261
1313
|
};
|
|
1262
|
-
function
|
|
1263
|
-
const t = r > 0 ? "-" : "+", n = Math.abs(r),
|
|
1264
|
-
return
|
|
1314
|
+
function se(r, e = "") {
|
|
1315
|
+
const t = r > 0 ? "-" : "+", n = Math.abs(r), s = Math.trunc(n / 60), a = n % 60;
|
|
1316
|
+
return a === 0 ? t + String(s) : t + String(s) + e + m(a, 2);
|
|
1265
1317
|
}
|
|
1266
1318
|
function ae(r, e) {
|
|
1267
|
-
return r % 60 === 0 ? (r > 0 ? "-" : "+") +
|
|
1319
|
+
return r % 60 === 0 ? (r > 0 ? "-" : "+") + m(Math.abs(r) / 60, 2) : I(r, e);
|
|
1268
1320
|
}
|
|
1269
|
-
function
|
|
1270
|
-
const t = r > 0 ? "-" : "+", n = Math.abs(r),
|
|
1271
|
-
return t +
|
|
1321
|
+
function I(r, e = "") {
|
|
1322
|
+
const t = r > 0 ? "-" : "+", n = Math.abs(r), s = m(Math.trunc(n / 60), 2), a = m(n % 60, 2);
|
|
1323
|
+
return t + s + e + a;
|
|
1272
1324
|
}
|
|
1273
|
-
const
|
|
1325
|
+
const oe = (r, e) => {
|
|
1274
1326
|
switch (r) {
|
|
1275
1327
|
case "P":
|
|
1276
1328
|
return e.date({ width: "short" });
|
|
@@ -1294,129 +1346,169 @@ const se = (r, e) => {
|
|
|
1294
1346
|
default:
|
|
1295
1347
|
return e.time({ width: "full" });
|
|
1296
1348
|
}
|
|
1297
|
-
},
|
|
1298
|
-
const t = r.match(/(P+)(p+)?/) || [], n = t[1],
|
|
1299
|
-
if (!
|
|
1300
|
-
return
|
|
1301
|
-
let
|
|
1349
|
+
}, gt = (r, e) => {
|
|
1350
|
+
const t = r.match(/(P+)(p+)?/) || [], n = t[1], s = t[2];
|
|
1351
|
+
if (!s)
|
|
1352
|
+
return oe(r, e);
|
|
1353
|
+
let a;
|
|
1302
1354
|
switch (n) {
|
|
1303
1355
|
case "P":
|
|
1304
|
-
|
|
1356
|
+
a = e.dateTime({ width: "short" });
|
|
1305
1357
|
break;
|
|
1306
1358
|
case "PP":
|
|
1307
|
-
|
|
1359
|
+
a = e.dateTime({ width: "medium" });
|
|
1308
1360
|
break;
|
|
1309
1361
|
case "PPP":
|
|
1310
|
-
|
|
1362
|
+
a = e.dateTime({ width: "long" });
|
|
1311
1363
|
break;
|
|
1312
1364
|
case "PPPP":
|
|
1313
1365
|
default:
|
|
1314
|
-
|
|
1366
|
+
a = e.dateTime({ width: "full" });
|
|
1315
1367
|
break;
|
|
1316
1368
|
}
|
|
1317
|
-
return
|
|
1318
|
-
},
|
|
1369
|
+
return a.replace("{{date}}", oe(n, e)).replace("{{time}}", le(s, e));
|
|
1370
|
+
}, $ = {
|
|
1319
1371
|
p: le,
|
|
1320
|
-
P:
|
|
1321
|
-
},
|
|
1372
|
+
P: gt
|
|
1373
|
+
}, bt = /^D+$/, pt = /^Y+$/, xt = ["D", "DD", "YY", "YYYY"];
|
|
1322
1374
|
function fe(r) {
|
|
1323
|
-
return
|
|
1375
|
+
return bt.test(r);
|
|
1324
1376
|
}
|
|
1325
1377
|
function he(r) {
|
|
1326
|
-
return
|
|
1378
|
+
return pt.test(r);
|
|
1327
1379
|
}
|
|
1328
|
-
function
|
|
1329
|
-
const n =
|
|
1330
|
-
if (console.warn(n),
|
|
1380
|
+
function V(r, e, t) {
|
|
1381
|
+
const n = Mt(r, e, t);
|
|
1382
|
+
if (console.warn(n), xt.includes(r)) throw new RangeError(n);
|
|
1331
1383
|
}
|
|
1332
|
-
function
|
|
1384
|
+
function Mt(r, e, t) {
|
|
1333
1385
|
const n = r[0] === "Y" ? "years" : "days of the month";
|
|
1334
1386
|
return `Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${e}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
|
|
1335
1387
|
}
|
|
1336
|
-
const
|
|
1337
|
-
function
|
|
1338
|
-
const n =
|
|
1339
|
-
if (!
|
|
1388
|
+
const Dt = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Tt = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, kt = /^'([^]*?)'?$/, Pt = /''/g, Ot = /[a-zA-Z]/;
|
|
1389
|
+
function Rn(r, e, t) {
|
|
1390
|
+
const n = H(), s = t?.locale ?? n.locale ?? z, a = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, o = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, i = u(r, t?.in);
|
|
1391
|
+
if (!Oe(i))
|
|
1340
1392
|
throw new RangeError("Invalid time value");
|
|
1341
|
-
let
|
|
1342
|
-
const
|
|
1343
|
-
if (
|
|
1344
|
-
const
|
|
1345
|
-
return
|
|
1393
|
+
let c = e.match(Tt).map((d) => {
|
|
1394
|
+
const y = d[0];
|
|
1395
|
+
if (y === "p" || y === "P") {
|
|
1396
|
+
const g = $[y];
|
|
1397
|
+
return g(d, s.formatLong);
|
|
1346
1398
|
}
|
|
1347
|
-
return
|
|
1348
|
-
}).join("").match(
|
|
1349
|
-
if (
|
|
1399
|
+
return d;
|
|
1400
|
+
}).join("").match(Dt).map((d) => {
|
|
1401
|
+
if (d === "''")
|
|
1350
1402
|
return { isToken: !1, value: "'" };
|
|
1351
|
-
const
|
|
1352
|
-
if (
|
|
1353
|
-
return { isToken: !1, value:
|
|
1354
|
-
if (
|
|
1355
|
-
return { isToken: !0, value:
|
|
1356
|
-
if (
|
|
1403
|
+
const y = d[0];
|
|
1404
|
+
if (y === "'")
|
|
1405
|
+
return { isToken: !1, value: Yt(d) };
|
|
1406
|
+
if (re[y])
|
|
1407
|
+
return { isToken: !0, value: d };
|
|
1408
|
+
if (y.match(Ot))
|
|
1357
1409
|
throw new RangeError(
|
|
1358
|
-
"Format string contains an unescaped latin alphabet character `" +
|
|
1410
|
+
"Format string contains an unescaped latin alphabet character `" + y + "`"
|
|
1359
1411
|
);
|
|
1360
|
-
return { isToken: !1, value:
|
|
1412
|
+
return { isToken: !1, value: d };
|
|
1361
1413
|
});
|
|
1362
|
-
|
|
1363
|
-
const
|
|
1364
|
-
firstWeekContainsDate:
|
|
1414
|
+
s.localize.preprocessor && (c = s.localize.preprocessor(i, c));
|
|
1415
|
+
const w = {
|
|
1416
|
+
firstWeekContainsDate: a,
|
|
1365
1417
|
weekStartsOn: o,
|
|
1366
|
-
locale:
|
|
1418
|
+
locale: s
|
|
1367
1419
|
};
|
|
1368
|
-
return
|
|
1369
|
-
if (!
|
|
1370
|
-
const
|
|
1371
|
-
(!t?.useAdditionalWeekYearTokens && he(
|
|
1372
|
-
const
|
|
1373
|
-
return
|
|
1420
|
+
return c.map((d) => {
|
|
1421
|
+
if (!d.isToken) return d.value;
|
|
1422
|
+
const y = d.value;
|
|
1423
|
+
(!t?.useAdditionalWeekYearTokens && he(y) || !t?.useAdditionalDayOfYearTokens && fe(y)) && V(y, e, String(r));
|
|
1424
|
+
const g = re[y[0]];
|
|
1425
|
+
return g(i, y, s.localize, w);
|
|
1374
1426
|
}).join("");
|
|
1375
1427
|
}
|
|
1376
|
-
function
|
|
1377
|
-
const e = r.match(
|
|
1378
|
-
return e ? e[1].replace(
|
|
1379
|
-
}
|
|
1380
|
-
function
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
}
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1428
|
+
function Yt(r) {
|
|
1429
|
+
const e = r.match(kt);
|
|
1430
|
+
return e ? e[1].replace(Pt, "'") : r;
|
|
1431
|
+
}
|
|
1432
|
+
function _t(r, e, t) {
|
|
1433
|
+
const n = H(), s = t?.locale ?? n.locale ?? z, a = 2520, o = F(r, e);
|
|
1434
|
+
if (isNaN(o)) throw new RangeError("Invalid time value");
|
|
1435
|
+
const i = Object.assign({}, t, {
|
|
1436
|
+
addSuffix: t?.addSuffix,
|
|
1437
|
+
comparison: o
|
|
1438
|
+
}), [c, w] = E(
|
|
1439
|
+
t?.in,
|
|
1440
|
+
...o > 0 ? [e, r] : [r, e]
|
|
1441
|
+
), d = qe(w, c), y = (L(w) - L(c)) / 1e3, g = Math.round((d - y) / 60);
|
|
1442
|
+
let k;
|
|
1443
|
+
if (g < 2)
|
|
1444
|
+
return t?.includeSeconds ? d < 5 ? s.formatDistance("lessThanXSeconds", 5, i) : d < 10 ? s.formatDistance("lessThanXSeconds", 10, i) : d < 20 ? s.formatDistance("lessThanXSeconds", 20, i) : d < 40 ? s.formatDistance("halfAMinute", 0, i) : d < 60 ? s.formatDistance("lessThanXMinutes", 1, i) : s.formatDistance("xMinutes", 1, i) : g === 0 ? s.formatDistance("lessThanXMinutes", 1, i) : s.formatDistance("xMinutes", g, i);
|
|
1445
|
+
if (g < 45)
|
|
1446
|
+
return s.formatDistance("xMinutes", g, i);
|
|
1447
|
+
if (g < 90)
|
|
1448
|
+
return s.formatDistance("aboutXHours", 1, i);
|
|
1449
|
+
if (g < 1440) {
|
|
1450
|
+
const T = Math.round(g / 60);
|
|
1451
|
+
return s.formatDistance("aboutXHours", T, i);
|
|
1452
|
+
} else {
|
|
1453
|
+
if (g < a)
|
|
1454
|
+
return s.formatDistance("xDays", 1, i);
|
|
1455
|
+
if (g < 43200) {
|
|
1456
|
+
const T = Math.round(g / 1440);
|
|
1457
|
+
return s.formatDistance("xDays", T, i);
|
|
1458
|
+
} else if (g < 43200 * 2)
|
|
1459
|
+
return k = Math.round(g / 43200), s.formatDistance("aboutXMonths", k, i);
|
|
1460
|
+
}
|
|
1461
|
+
if (k = Ne(w, c), k < 12) {
|
|
1462
|
+
const T = Math.round(g / 43200);
|
|
1463
|
+
return s.formatDistance("xMonths", T, i);
|
|
1464
|
+
} else {
|
|
1465
|
+
const T = k % 12, _ = Math.trunc(k / 12);
|
|
1466
|
+
return T < 3 ? s.formatDistance("aboutXYears", _, i) : T < 9 ? s.formatDistance("overXYears", _, i) : s.formatDistance("almostXYears", _ + 1, i);
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
function An(r, e) {
|
|
1470
|
+
return _t(r, ke(r), e);
|
|
1471
|
+
}
|
|
1472
|
+
function Bn(r, e) {
|
|
1473
|
+
return u(r, e?.in).getDay();
|
|
1474
|
+
}
|
|
1475
|
+
function vt(r, e) {
|
|
1476
|
+
const t = u(r, e?.in), n = t.getFullYear(), s = t.getMonth(), a = h(t, 0);
|
|
1477
|
+
return a.setFullYear(n, s + 1, 0), a.setHours(0, 0, 0, 0), a.getDate();
|
|
1478
|
+
}
|
|
1479
|
+
function Wt() {
|
|
1480
|
+
return Object.assign({}, H());
|
|
1481
|
+
}
|
|
1482
|
+
function Gn(r, e) {
|
|
1483
|
+
return u(r, e?.in).getHours();
|
|
1484
|
+
}
|
|
1485
|
+
function Ht(r, e) {
|
|
1486
|
+
const t = u(r, e?.in).getDay();
|
|
1395
1487
|
return t === 0 ? 7 : t;
|
|
1396
1488
|
}
|
|
1397
|
-
function
|
|
1398
|
-
return
|
|
1489
|
+
function jn(r, e) {
|
|
1490
|
+
return u(r, e?.in).getMinutes();
|
|
1399
1491
|
}
|
|
1400
|
-
function
|
|
1401
|
-
return
|
|
1492
|
+
function $n(r, e) {
|
|
1493
|
+
return u(r, e?.in).getMonth();
|
|
1402
1494
|
}
|
|
1403
|
-
function
|
|
1404
|
-
return
|
|
1495
|
+
function Vn(r) {
|
|
1496
|
+
return u(r).getSeconds();
|
|
1405
1497
|
}
|
|
1406
|
-
function
|
|
1407
|
-
return
|
|
1498
|
+
function zn(r, e) {
|
|
1499
|
+
return u(r, e?.in).getFullYear();
|
|
1408
1500
|
}
|
|
1409
|
-
function
|
|
1410
|
-
return +
|
|
1501
|
+
function Jn(r, e) {
|
|
1502
|
+
return +u(r) > +u(e);
|
|
1411
1503
|
}
|
|
1412
|
-
function
|
|
1413
|
-
return +
|
|
1504
|
+
function Kn(r, e) {
|
|
1505
|
+
return +u(r) < +u(e);
|
|
1414
1506
|
}
|
|
1415
|
-
function
|
|
1416
|
-
return +
|
|
1507
|
+
function Zn(r, e) {
|
|
1508
|
+
return +u(r) == +u(e);
|
|
1417
1509
|
}
|
|
1418
|
-
function
|
|
1419
|
-
const t =
|
|
1510
|
+
function Et(r, e) {
|
|
1511
|
+
const t = It(e) ? new e(0) : h(e, 0);
|
|
1420
1512
|
return t.setFullYear(r.getFullYear(), r.getMonth(), r.getDate()), t.setHours(
|
|
1421
1513
|
r.getHours(),
|
|
1422
1514
|
r.getMinutes(),
|
|
@@ -1424,19 +1516,19 @@ function Dt(r, e) {
|
|
|
1424
1516
|
r.getMilliseconds()
|
|
1425
1517
|
), t;
|
|
1426
1518
|
}
|
|
1427
|
-
function
|
|
1519
|
+
function It(r) {
|
|
1428
1520
|
return typeof r == "function" && r.prototype?.constructor === r;
|
|
1429
1521
|
}
|
|
1430
|
-
const
|
|
1522
|
+
const Nt = 10;
|
|
1431
1523
|
class me {
|
|
1432
1524
|
subPriority = 0;
|
|
1433
1525
|
validate(e, t) {
|
|
1434
1526
|
return !0;
|
|
1435
1527
|
}
|
|
1436
1528
|
}
|
|
1437
|
-
class
|
|
1438
|
-
constructor(e, t, n,
|
|
1439
|
-
super(), this.value = e, this.validateValue = t, this.setValue = n, this.priority =
|
|
1529
|
+
class qt extends me {
|
|
1530
|
+
constructor(e, t, n, s, a) {
|
|
1531
|
+
super(), this.value = e, this.validateValue = t, this.setValue = n, this.priority = s, a && (this.subPriority = a);
|
|
1440
1532
|
}
|
|
1441
1533
|
validate(e, t) {
|
|
1442
1534
|
return this.validateValue(e, this.value, t);
|
|
@@ -1445,35 +1537,35 @@ class Tt extends me {
|
|
|
1445
1537
|
return this.setValue(e, t, this.value, n);
|
|
1446
1538
|
}
|
|
1447
1539
|
}
|
|
1448
|
-
class
|
|
1449
|
-
priority =
|
|
1540
|
+
class Ft extends me {
|
|
1541
|
+
priority = Nt;
|
|
1450
1542
|
subPriority = -1;
|
|
1451
1543
|
constructor(e, t) {
|
|
1452
1544
|
super(), this.context = e || ((n) => h(t, n));
|
|
1453
1545
|
}
|
|
1454
1546
|
set(e, t) {
|
|
1455
|
-
return t.timestampIsSet ? e : h(e,
|
|
1547
|
+
return t.timestampIsSet ? e : h(e, Et(e, this.context));
|
|
1456
1548
|
}
|
|
1457
1549
|
}
|
|
1458
|
-
class
|
|
1459
|
-
run(e, t, n,
|
|
1460
|
-
const
|
|
1461
|
-
return
|
|
1462
|
-
setter: new
|
|
1463
|
-
|
|
1550
|
+
class f {
|
|
1551
|
+
run(e, t, n, s) {
|
|
1552
|
+
const a = this.parse(e, t, n, s);
|
|
1553
|
+
return a ? {
|
|
1554
|
+
setter: new qt(
|
|
1555
|
+
a.value,
|
|
1464
1556
|
this.validate,
|
|
1465
1557
|
this.set,
|
|
1466
1558
|
this.priority,
|
|
1467
1559
|
this.subPriority
|
|
1468
1560
|
),
|
|
1469
|
-
rest:
|
|
1561
|
+
rest: a.rest
|
|
1470
1562
|
} : null;
|
|
1471
1563
|
}
|
|
1472
1564
|
validate(e, t, n) {
|
|
1473
1565
|
return !0;
|
|
1474
1566
|
}
|
|
1475
1567
|
}
|
|
1476
|
-
class
|
|
1568
|
+
class Ct extends f {
|
|
1477
1569
|
priority = 140;
|
|
1478
1570
|
parse(e, t, n) {
|
|
1479
1571
|
switch (t) {
|
|
@@ -1496,7 +1588,7 @@ class Yt extends l {
|
|
|
1496
1588
|
}
|
|
1497
1589
|
incompatibleTokens = ["R", "u", "t", "T"];
|
|
1498
1590
|
}
|
|
1499
|
-
const
|
|
1591
|
+
const M = {
|
|
1500
1592
|
month: /^(1[0-2]|0?\d)/,
|
|
1501
1593
|
// 0 to 12
|
|
1502
1594
|
date: /^(3[0-1]|[0-2]?\d)/,
|
|
@@ -1534,27 +1626,27 @@ const x = {
|
|
|
1534
1626
|
// 0 to 999, -0 to -999
|
|
1535
1627
|
fourDigitsSigned: /^-?\d{1,4}/
|
|
1536
1628
|
// 0 to 9999, -0 to -9999
|
|
1537
|
-
},
|
|
1629
|
+
}, O = {
|
|
1538
1630
|
basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
|
|
1539
1631
|
basic: /^([+-])(\d{2})(\d{2})|Z/,
|
|
1540
1632
|
basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
|
|
1541
1633
|
extended: /^([+-])(\d{2}):(\d{2})|Z/,
|
|
1542
1634
|
extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
|
|
1543
1635
|
};
|
|
1544
|
-
function
|
|
1636
|
+
function D(r, e) {
|
|
1545
1637
|
return r && {
|
|
1546
1638
|
value: e(r.value),
|
|
1547
1639
|
rest: r.rest
|
|
1548
1640
|
};
|
|
1549
1641
|
}
|
|
1550
|
-
function
|
|
1642
|
+
function b(r, e) {
|
|
1551
1643
|
const t = e.match(r);
|
|
1552
1644
|
return t ? {
|
|
1553
1645
|
value: parseInt(t[0], 10),
|
|
1554
1646
|
rest: e.slice(t[0].length)
|
|
1555
1647
|
} : null;
|
|
1556
1648
|
}
|
|
1557
|
-
function
|
|
1649
|
+
function Y(r, e) {
|
|
1558
1650
|
const t = e.match(r);
|
|
1559
1651
|
if (!t)
|
|
1560
1652
|
return null;
|
|
@@ -1563,44 +1655,44 @@ function T(r, e) {
|
|
|
1563
1655
|
value: 0,
|
|
1564
1656
|
rest: e.slice(1)
|
|
1565
1657
|
};
|
|
1566
|
-
const n = t[1] === "+" ? 1 : -1,
|
|
1658
|
+
const n = t[1] === "+" ? 1 : -1, s = t[2] ? parseInt(t[2], 10) : 0, a = t[3] ? parseInt(t[3], 10) : 0, o = t[5] ? parseInt(t[5], 10) : 0;
|
|
1567
1659
|
return {
|
|
1568
|
-
value: n * (
|
|
1660
|
+
value: n * (s * 36e5 + a * 6e4 + o * 1e3),
|
|
1569
1661
|
rest: e.slice(t[0].length)
|
|
1570
1662
|
};
|
|
1571
1663
|
}
|
|
1572
1664
|
function we(r) {
|
|
1573
|
-
return
|
|
1665
|
+
return b(M.anyDigitsSigned, r);
|
|
1574
1666
|
}
|
|
1575
|
-
function
|
|
1667
|
+
function x(r, e) {
|
|
1576
1668
|
switch (r) {
|
|
1577
1669
|
case 1:
|
|
1578
|
-
return
|
|
1670
|
+
return b(M.singleDigit, e);
|
|
1579
1671
|
case 2:
|
|
1580
|
-
return
|
|
1672
|
+
return b(M.twoDigits, e);
|
|
1581
1673
|
case 3:
|
|
1582
|
-
return
|
|
1674
|
+
return b(M.threeDigits, e);
|
|
1583
1675
|
case 4:
|
|
1584
|
-
return
|
|
1676
|
+
return b(M.fourDigits, e);
|
|
1585
1677
|
default:
|
|
1586
|
-
return
|
|
1678
|
+
return b(new RegExp("^\\d{1," + r + "}"), e);
|
|
1587
1679
|
}
|
|
1588
1680
|
}
|
|
1589
1681
|
function R(r, e) {
|
|
1590
1682
|
switch (r) {
|
|
1591
1683
|
case 1:
|
|
1592
|
-
return
|
|
1684
|
+
return b(M.singleDigitSigned, e);
|
|
1593
1685
|
case 2:
|
|
1594
|
-
return
|
|
1686
|
+
return b(M.twoDigitsSigned, e);
|
|
1595
1687
|
case 3:
|
|
1596
|
-
return
|
|
1688
|
+
return b(M.threeDigitsSigned, e);
|
|
1597
1689
|
case 4:
|
|
1598
|
-
return
|
|
1690
|
+
return b(M.fourDigitsSigned, e);
|
|
1599
1691
|
default:
|
|
1600
|
-
return
|
|
1692
|
+
return b(new RegExp("^-?\\d{1," + r + "}"), e);
|
|
1601
1693
|
}
|
|
1602
1694
|
}
|
|
1603
|
-
function
|
|
1695
|
+
function K(r) {
|
|
1604
1696
|
switch (r) {
|
|
1605
1697
|
case "morning":
|
|
1606
1698
|
return 4;
|
|
@@ -1619,95 +1711,95 @@ function z(r) {
|
|
|
1619
1711
|
}
|
|
1620
1712
|
function ye(r, e) {
|
|
1621
1713
|
const t = e > 0, n = t ? e : 1 - e;
|
|
1622
|
-
let
|
|
1714
|
+
let s;
|
|
1623
1715
|
if (n <= 50)
|
|
1624
|
-
|
|
1716
|
+
s = r || 100;
|
|
1625
1717
|
else {
|
|
1626
|
-
const
|
|
1627
|
-
|
|
1718
|
+
const a = n + 50, o = Math.trunc(a / 100) * 100, i = r >= a % 100;
|
|
1719
|
+
s = r + o - (i ? 100 : 0);
|
|
1628
1720
|
}
|
|
1629
|
-
return t ?
|
|
1721
|
+
return t ? s : 1 - s;
|
|
1630
1722
|
}
|
|
1631
1723
|
function ge(r) {
|
|
1632
1724
|
return r % 400 === 0 || r % 4 === 0 && r % 100 !== 0;
|
|
1633
1725
|
}
|
|
1634
|
-
class
|
|
1726
|
+
class Lt extends f {
|
|
1635
1727
|
priority = 130;
|
|
1636
1728
|
incompatibleTokens = ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"];
|
|
1637
1729
|
parse(e, t, n) {
|
|
1638
|
-
const
|
|
1639
|
-
year:
|
|
1730
|
+
const s = (a) => ({
|
|
1731
|
+
year: a,
|
|
1640
1732
|
isTwoDigitYear: t === "yy"
|
|
1641
1733
|
});
|
|
1642
1734
|
switch (t) {
|
|
1643
1735
|
case "y":
|
|
1644
|
-
return
|
|
1736
|
+
return D(x(4, e), s);
|
|
1645
1737
|
case "yo":
|
|
1646
|
-
return
|
|
1738
|
+
return D(
|
|
1647
1739
|
n.ordinalNumber(e, {
|
|
1648
1740
|
unit: "year"
|
|
1649
1741
|
}),
|
|
1650
|
-
|
|
1742
|
+
s
|
|
1651
1743
|
);
|
|
1652
1744
|
default:
|
|
1653
|
-
return
|
|
1745
|
+
return D(x(t.length, e), s);
|
|
1654
1746
|
}
|
|
1655
1747
|
}
|
|
1656
1748
|
validate(e, t) {
|
|
1657
1749
|
return t.isTwoDigitYear || t.year > 0;
|
|
1658
1750
|
}
|
|
1659
1751
|
set(e, t, n) {
|
|
1660
|
-
const
|
|
1752
|
+
const s = e.getFullYear();
|
|
1661
1753
|
if (n.isTwoDigitYear) {
|
|
1662
1754
|
const o = ye(
|
|
1663
1755
|
n.year,
|
|
1664
|
-
|
|
1756
|
+
s
|
|
1665
1757
|
);
|
|
1666
1758
|
return e.setFullYear(o, 0, 1), e.setHours(0, 0, 0, 0), e;
|
|
1667
1759
|
}
|
|
1668
|
-
const
|
|
1669
|
-
return e.setFullYear(
|
|
1760
|
+
const a = !("era" in t) || t.era === 1 ? n.year : 1 - n.year;
|
|
1761
|
+
return e.setFullYear(a, 0, 1), e.setHours(0, 0, 0, 0), e;
|
|
1670
1762
|
}
|
|
1671
1763
|
}
|
|
1672
|
-
class
|
|
1764
|
+
class Qt extends f {
|
|
1673
1765
|
priority = 130;
|
|
1674
1766
|
parse(e, t, n) {
|
|
1675
|
-
const
|
|
1676
|
-
year:
|
|
1767
|
+
const s = (a) => ({
|
|
1768
|
+
year: a,
|
|
1677
1769
|
isTwoDigitYear: t === "YY"
|
|
1678
1770
|
});
|
|
1679
1771
|
switch (t) {
|
|
1680
1772
|
case "Y":
|
|
1681
|
-
return
|
|
1773
|
+
return D(x(4, e), s);
|
|
1682
1774
|
case "Yo":
|
|
1683
|
-
return
|
|
1775
|
+
return D(
|
|
1684
1776
|
n.ordinalNumber(e, {
|
|
1685
1777
|
unit: "year"
|
|
1686
1778
|
}),
|
|
1687
|
-
|
|
1779
|
+
s
|
|
1688
1780
|
);
|
|
1689
1781
|
default:
|
|
1690
|
-
return
|
|
1782
|
+
return D(x(t.length, e), s);
|
|
1691
1783
|
}
|
|
1692
1784
|
}
|
|
1693
1785
|
validate(e, t) {
|
|
1694
1786
|
return t.isTwoDigitYear || t.year > 0;
|
|
1695
1787
|
}
|
|
1696
|
-
set(e, t, n,
|
|
1697
|
-
const
|
|
1788
|
+
set(e, t, n, s) {
|
|
1789
|
+
const a = J(e, s);
|
|
1698
1790
|
if (n.isTwoDigitYear) {
|
|
1699
|
-
const
|
|
1791
|
+
const i = ye(
|
|
1700
1792
|
n.year,
|
|
1701
|
-
|
|
1793
|
+
a
|
|
1702
1794
|
);
|
|
1703
1795
|
return e.setFullYear(
|
|
1704
|
-
|
|
1796
|
+
i,
|
|
1705
1797
|
0,
|
|
1706
|
-
|
|
1707
|
-
), e.setHours(0, 0, 0, 0),
|
|
1798
|
+
s.firstWeekContainsDate
|
|
1799
|
+
), e.setHours(0, 0, 0, 0), W(e, s);
|
|
1708
1800
|
}
|
|
1709
1801
|
const o = !("era" in t) || t.era === 1 ? n.year : 1 - n.year;
|
|
1710
|
-
return e.setFullYear(o, 0,
|
|
1802
|
+
return e.setFullYear(o, 0, s.firstWeekContainsDate), e.setHours(0, 0, 0, 0), W(e, s);
|
|
1711
1803
|
}
|
|
1712
1804
|
incompatibleTokens = [
|
|
1713
1805
|
"y",
|
|
@@ -1725,14 +1817,14 @@ class Wt extends l {
|
|
|
1725
1817
|
"T"
|
|
1726
1818
|
];
|
|
1727
1819
|
}
|
|
1728
|
-
class
|
|
1820
|
+
class Xt extends f {
|
|
1729
1821
|
priority = 130;
|
|
1730
1822
|
parse(e, t) {
|
|
1731
1823
|
return R(t === "R" ? 4 : t.length, e);
|
|
1732
1824
|
}
|
|
1733
1825
|
set(e, t, n) {
|
|
1734
|
-
const
|
|
1735
|
-
return
|
|
1826
|
+
const s = h(e, 0);
|
|
1827
|
+
return s.setFullYear(n, 0, 4), s.setHours(0, 0, 0, 0), C(s);
|
|
1736
1828
|
}
|
|
1737
1829
|
incompatibleTokens = [
|
|
1738
1830
|
"G",
|
|
@@ -1752,7 +1844,7 @@ class vt extends l {
|
|
|
1752
1844
|
"T"
|
|
1753
1845
|
];
|
|
1754
1846
|
}
|
|
1755
|
-
class
|
|
1847
|
+
class Rt extends f {
|
|
1756
1848
|
priority = 130;
|
|
1757
1849
|
parse(e, t) {
|
|
1758
1850
|
return R(t === "u" ? 4 : t.length, e);
|
|
@@ -1762,14 +1854,14 @@ class Et extends l {
|
|
|
1762
1854
|
}
|
|
1763
1855
|
incompatibleTokens = ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"];
|
|
1764
1856
|
}
|
|
1765
|
-
class
|
|
1857
|
+
class At extends f {
|
|
1766
1858
|
priority = 120;
|
|
1767
1859
|
parse(e, t, n) {
|
|
1768
1860
|
switch (t) {
|
|
1769
1861
|
// 1, 2, 3, 4
|
|
1770
1862
|
case "Q":
|
|
1771
1863
|
case "QQ":
|
|
1772
|
-
return
|
|
1864
|
+
return x(t.length, e);
|
|
1773
1865
|
// 1st, 2nd, 3rd, 4th
|
|
1774
1866
|
case "Qo":
|
|
1775
1867
|
return n.ordinalNumber(e, { unit: "quarter" });
|
|
@@ -1826,14 +1918,14 @@ class Ht extends l {
|
|
|
1826
1918
|
"T"
|
|
1827
1919
|
];
|
|
1828
1920
|
}
|
|
1829
|
-
class
|
|
1921
|
+
class Bt extends f {
|
|
1830
1922
|
priority = 120;
|
|
1831
1923
|
parse(e, t, n) {
|
|
1832
1924
|
switch (t) {
|
|
1833
1925
|
// 1, 2, 3, 4
|
|
1834
1926
|
case "q":
|
|
1835
1927
|
case "qq":
|
|
1836
|
-
return
|
|
1928
|
+
return x(t.length, e);
|
|
1837
1929
|
// 1st, 2nd, 3rd, 4th
|
|
1838
1930
|
case "qo":
|
|
1839
1931
|
return n.ordinalNumber(e, { unit: "quarter" });
|
|
@@ -1890,7 +1982,7 @@ class qt extends l {
|
|
|
1890
1982
|
"T"
|
|
1891
1983
|
];
|
|
1892
1984
|
}
|
|
1893
|
-
class
|
|
1985
|
+
class Gt extends f {
|
|
1894
1986
|
incompatibleTokens = [
|
|
1895
1987
|
"Y",
|
|
1896
1988
|
"R",
|
|
@@ -1908,24 +2000,24 @@ class Nt extends l {
|
|
|
1908
2000
|
];
|
|
1909
2001
|
priority = 110;
|
|
1910
2002
|
parse(e, t, n) {
|
|
1911
|
-
const
|
|
2003
|
+
const s = (a) => a - 1;
|
|
1912
2004
|
switch (t) {
|
|
1913
2005
|
// 1, 2, ..., 12
|
|
1914
2006
|
case "M":
|
|
1915
|
-
return
|
|
1916
|
-
|
|
1917
|
-
|
|
2007
|
+
return D(
|
|
2008
|
+
b(M.month, e),
|
|
2009
|
+
s
|
|
1918
2010
|
);
|
|
1919
2011
|
// 01, 02, ..., 12
|
|
1920
2012
|
case "MM":
|
|
1921
|
-
return
|
|
2013
|
+
return D(x(2, e), s);
|
|
1922
2014
|
// 1st, 2nd, ..., 12th
|
|
1923
2015
|
case "Mo":
|
|
1924
|
-
return
|
|
2016
|
+
return D(
|
|
1925
2017
|
n.ordinalNumber(e, {
|
|
1926
2018
|
unit: "month"
|
|
1927
2019
|
}),
|
|
1928
|
-
|
|
2020
|
+
s
|
|
1929
2021
|
);
|
|
1930
2022
|
// Jan, Feb, ..., Dec
|
|
1931
2023
|
case "MMM":
|
|
@@ -1955,27 +2047,27 @@ class Nt extends l {
|
|
|
1955
2047
|
return e.setMonth(n, 1), e.setHours(0, 0, 0, 0), e;
|
|
1956
2048
|
}
|
|
1957
2049
|
}
|
|
1958
|
-
class
|
|
2050
|
+
class jt extends f {
|
|
1959
2051
|
priority = 110;
|
|
1960
2052
|
parse(e, t, n) {
|
|
1961
|
-
const
|
|
2053
|
+
const s = (a) => a - 1;
|
|
1962
2054
|
switch (t) {
|
|
1963
2055
|
// 1, 2, ..., 12
|
|
1964
2056
|
case "L":
|
|
1965
|
-
return
|
|
1966
|
-
|
|
1967
|
-
|
|
2057
|
+
return D(
|
|
2058
|
+
b(M.month, e),
|
|
2059
|
+
s
|
|
1968
2060
|
);
|
|
1969
2061
|
// 01, 02, ..., 12
|
|
1970
2062
|
case "LL":
|
|
1971
|
-
return
|
|
2063
|
+
return D(x(2, e), s);
|
|
1972
2064
|
// 1st, 2nd, ..., 12th
|
|
1973
2065
|
case "Lo":
|
|
1974
|
-
return
|
|
2066
|
+
return D(
|
|
1975
2067
|
n.ordinalNumber(e, {
|
|
1976
2068
|
unit: "month"
|
|
1977
2069
|
}),
|
|
1978
|
-
|
|
2070
|
+
s
|
|
1979
2071
|
);
|
|
1980
2072
|
// Jan, Feb, ..., Dec
|
|
1981
2073
|
case "LLL":
|
|
@@ -2020,27 +2112,27 @@ class Ft extends l {
|
|
|
2020
2112
|
"T"
|
|
2021
2113
|
];
|
|
2022
2114
|
}
|
|
2023
|
-
function
|
|
2024
|
-
const n =
|
|
2025
|
-
return n.setDate(n.getDate() -
|
|
2115
|
+
function $t(r, e, t) {
|
|
2116
|
+
const n = u(r, t?.in), s = de(n, t) - e;
|
|
2117
|
+
return n.setDate(n.getDate() - s * 7), u(n, t?.in);
|
|
2026
2118
|
}
|
|
2027
|
-
class
|
|
2119
|
+
class Vt extends f {
|
|
2028
2120
|
priority = 100;
|
|
2029
2121
|
parse(e, t, n) {
|
|
2030
2122
|
switch (t) {
|
|
2031
2123
|
case "w":
|
|
2032
|
-
return
|
|
2124
|
+
return b(M.week, e);
|
|
2033
2125
|
case "wo":
|
|
2034
2126
|
return n.ordinalNumber(e, { unit: "week" });
|
|
2035
2127
|
default:
|
|
2036
|
-
return
|
|
2128
|
+
return x(t.length, e);
|
|
2037
2129
|
}
|
|
2038
2130
|
}
|
|
2039
2131
|
validate(e, t) {
|
|
2040
2132
|
return t >= 1 && t <= 53;
|
|
2041
2133
|
}
|
|
2042
|
-
set(e, t, n,
|
|
2043
|
-
return
|
|
2134
|
+
set(e, t, n, s) {
|
|
2135
|
+
return W($t(e, n, s), s);
|
|
2044
2136
|
}
|
|
2045
2137
|
incompatibleTokens = [
|
|
2046
2138
|
"y",
|
|
@@ -2058,27 +2150,27 @@ class Ct extends l {
|
|
|
2058
2150
|
"T"
|
|
2059
2151
|
];
|
|
2060
2152
|
}
|
|
2061
|
-
function
|
|
2062
|
-
const n =
|
|
2063
|
-
return n.setDate(n.getDate() -
|
|
2153
|
+
function zt(r, e, t) {
|
|
2154
|
+
const n = u(r, t?.in), s = ce(n, t) - e;
|
|
2155
|
+
return n.setDate(n.getDate() - s * 7), n;
|
|
2064
2156
|
}
|
|
2065
|
-
class
|
|
2157
|
+
class Jt extends f {
|
|
2066
2158
|
priority = 100;
|
|
2067
2159
|
parse(e, t, n) {
|
|
2068
2160
|
switch (t) {
|
|
2069
2161
|
case "I":
|
|
2070
|
-
return
|
|
2162
|
+
return b(M.week, e);
|
|
2071
2163
|
case "Io":
|
|
2072
2164
|
return n.ordinalNumber(e, { unit: "week" });
|
|
2073
2165
|
default:
|
|
2074
|
-
return
|
|
2166
|
+
return x(t.length, e);
|
|
2075
2167
|
}
|
|
2076
2168
|
}
|
|
2077
2169
|
validate(e, t) {
|
|
2078
2170
|
return t >= 1 && t <= 53;
|
|
2079
2171
|
}
|
|
2080
2172
|
set(e, t, n) {
|
|
2081
|
-
return
|
|
2173
|
+
return C(zt(e, n));
|
|
2082
2174
|
}
|
|
2083
2175
|
incompatibleTokens = [
|
|
2084
2176
|
"y",
|
|
@@ -2097,7 +2189,7 @@ class Lt extends l {
|
|
|
2097
2189
|
"T"
|
|
2098
2190
|
];
|
|
2099
2191
|
}
|
|
2100
|
-
const
|
|
2192
|
+
const Kt = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Zt = [
|
|
2101
2193
|
31,
|
|
2102
2194
|
29,
|
|
2103
2195
|
31,
|
|
@@ -2111,22 +2203,22 @@ const Rt = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], At = [
|
|
|
2111
2203
|
30,
|
|
2112
2204
|
31
|
|
2113
2205
|
];
|
|
2114
|
-
class
|
|
2206
|
+
class St extends f {
|
|
2115
2207
|
priority = 90;
|
|
2116
2208
|
subPriority = 1;
|
|
2117
2209
|
parse(e, t, n) {
|
|
2118
2210
|
switch (t) {
|
|
2119
2211
|
case "d":
|
|
2120
|
-
return
|
|
2212
|
+
return b(M.date, e);
|
|
2121
2213
|
case "do":
|
|
2122
2214
|
return n.ordinalNumber(e, { unit: "date" });
|
|
2123
2215
|
default:
|
|
2124
|
-
return
|
|
2216
|
+
return x(t.length, e);
|
|
2125
2217
|
}
|
|
2126
2218
|
}
|
|
2127
2219
|
validate(e, t) {
|
|
2128
|
-
const n = e.getFullYear(),
|
|
2129
|
-
return
|
|
2220
|
+
const n = e.getFullYear(), s = ge(n), a = e.getMonth();
|
|
2221
|
+
return s ? t >= 1 && t <= Zt[a] : t >= 1 && t <= Kt[a];
|
|
2130
2222
|
}
|
|
2131
2223
|
set(e, t, n) {
|
|
2132
2224
|
return e.setDate(n), e.setHours(0, 0, 0, 0), e;
|
|
@@ -2146,18 +2238,18 @@ class Xt extends l {
|
|
|
2146
2238
|
"T"
|
|
2147
2239
|
];
|
|
2148
2240
|
}
|
|
2149
|
-
class
|
|
2241
|
+
class Ut extends f {
|
|
2150
2242
|
priority = 90;
|
|
2151
2243
|
subpriority = 1;
|
|
2152
2244
|
parse(e, t, n) {
|
|
2153
2245
|
switch (t) {
|
|
2154
2246
|
case "D":
|
|
2155
2247
|
case "DD":
|
|
2156
|
-
return
|
|
2248
|
+
return b(M.dayOfYear, e);
|
|
2157
2249
|
case "Do":
|
|
2158
2250
|
return n.ordinalNumber(e, { unit: "date" });
|
|
2159
2251
|
default:
|
|
2160
|
-
return
|
|
2252
|
+
return x(t.length, e);
|
|
2161
2253
|
}
|
|
2162
2254
|
}
|
|
2163
2255
|
validate(e, t) {
|
|
@@ -2185,11 +2277,11 @@ class Bt extends l {
|
|
|
2185
2277
|
"T"
|
|
2186
2278
|
];
|
|
2187
2279
|
}
|
|
2188
|
-
function
|
|
2189
|
-
const n =
|
|
2190
|
-
return A(
|
|
2280
|
+
function Z(r, e, t) {
|
|
2281
|
+
const n = H(), s = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, a = u(r, t?.in), o = a.getDay(), c = (e % 7 + 7) % 7, w = 7 - s, d = e < 0 || e > 6 ? e - (o + w) % 7 : (c + w) % 7 - (o + w) % 7;
|
|
2282
|
+
return A(a, d, t);
|
|
2191
2283
|
}
|
|
2192
|
-
class
|
|
2284
|
+
class en extends f {
|
|
2193
2285
|
priority = 90;
|
|
2194
2286
|
parse(e, t, n) {
|
|
2195
2287
|
switch (t) {
|
|
@@ -2222,30 +2314,30 @@ class Gt extends l {
|
|
|
2222
2314
|
validate(e, t) {
|
|
2223
2315
|
return t >= 0 && t <= 6;
|
|
2224
2316
|
}
|
|
2225
|
-
set(e, t, n,
|
|
2226
|
-
return e =
|
|
2317
|
+
set(e, t, n, s) {
|
|
2318
|
+
return e = Z(e, n, s), e.setHours(0, 0, 0, 0), e;
|
|
2227
2319
|
}
|
|
2228
2320
|
incompatibleTokens = ["D", "i", "e", "c", "t", "T"];
|
|
2229
2321
|
}
|
|
2230
|
-
class
|
|
2322
|
+
class tn extends f {
|
|
2231
2323
|
priority = 90;
|
|
2232
|
-
parse(e, t, n,
|
|
2233
|
-
const
|
|
2234
|
-
const
|
|
2235
|
-
return (o +
|
|
2324
|
+
parse(e, t, n, s) {
|
|
2325
|
+
const a = (o) => {
|
|
2326
|
+
const i = Math.floor((o - 1) / 7) * 7;
|
|
2327
|
+
return (o + s.weekStartsOn + 6) % 7 + i;
|
|
2236
2328
|
};
|
|
2237
2329
|
switch (t) {
|
|
2238
2330
|
// 3
|
|
2239
2331
|
case "e":
|
|
2240
2332
|
case "ee":
|
|
2241
|
-
return
|
|
2333
|
+
return D(x(t.length, e), a);
|
|
2242
2334
|
// 3rd
|
|
2243
2335
|
case "eo":
|
|
2244
|
-
return
|
|
2336
|
+
return D(
|
|
2245
2337
|
n.ordinalNumber(e, {
|
|
2246
2338
|
unit: "day"
|
|
2247
2339
|
}),
|
|
2248
|
-
|
|
2340
|
+
a
|
|
2249
2341
|
);
|
|
2250
2342
|
// Tue
|
|
2251
2343
|
case "eee":
|
|
@@ -2274,8 +2366,8 @@ class jt extends l {
|
|
|
2274
2366
|
validate(e, t) {
|
|
2275
2367
|
return t >= 0 && t <= 6;
|
|
2276
2368
|
}
|
|
2277
|
-
set(e, t, n,
|
|
2278
|
-
return e =
|
|
2369
|
+
set(e, t, n, s) {
|
|
2370
|
+
return e = Z(e, n, s), e.setHours(0, 0, 0, 0), e;
|
|
2279
2371
|
}
|
|
2280
2372
|
incompatibleTokens = [
|
|
2281
2373
|
"y",
|
|
@@ -2295,25 +2387,25 @@ class jt extends l {
|
|
|
2295
2387
|
"T"
|
|
2296
2388
|
];
|
|
2297
2389
|
}
|
|
2298
|
-
class
|
|
2390
|
+
class nn extends f {
|
|
2299
2391
|
priority = 90;
|
|
2300
|
-
parse(e, t, n,
|
|
2301
|
-
const
|
|
2302
|
-
const
|
|
2303
|
-
return (o +
|
|
2392
|
+
parse(e, t, n, s) {
|
|
2393
|
+
const a = (o) => {
|
|
2394
|
+
const i = Math.floor((o - 1) / 7) * 7;
|
|
2395
|
+
return (o + s.weekStartsOn + 6) % 7 + i;
|
|
2304
2396
|
};
|
|
2305
2397
|
switch (t) {
|
|
2306
2398
|
// 3
|
|
2307
2399
|
case "c":
|
|
2308
2400
|
case "cc":
|
|
2309
|
-
return
|
|
2401
|
+
return D(x(t.length, e), a);
|
|
2310
2402
|
// 3rd
|
|
2311
2403
|
case "co":
|
|
2312
|
-
return
|
|
2404
|
+
return D(
|
|
2313
2405
|
n.ordinalNumber(e, {
|
|
2314
2406
|
unit: "day"
|
|
2315
2407
|
}),
|
|
2316
|
-
|
|
2408
|
+
a
|
|
2317
2409
|
);
|
|
2318
2410
|
// Tue
|
|
2319
2411
|
case "ccc":
|
|
@@ -2342,8 +2434,8 @@ class $t extends l {
|
|
|
2342
2434
|
validate(e, t) {
|
|
2343
2435
|
return t >= 0 && t <= 6;
|
|
2344
2436
|
}
|
|
2345
|
-
set(e, t, n,
|
|
2346
|
-
return e =
|
|
2437
|
+
set(e, t, n, s) {
|
|
2438
|
+
return e = Z(e, n, s), e.setHours(0, 0, 0, 0), e;
|
|
2347
2439
|
}
|
|
2348
2440
|
incompatibleTokens = [
|
|
2349
2441
|
"y",
|
|
@@ -2363,25 +2455,25 @@ class $t extends l {
|
|
|
2363
2455
|
"T"
|
|
2364
2456
|
];
|
|
2365
2457
|
}
|
|
2366
|
-
function
|
|
2367
|
-
const n =
|
|
2368
|
-
return A(n,
|
|
2458
|
+
function rn(r, e, t) {
|
|
2459
|
+
const n = u(r, t?.in), s = Ht(n, t), a = e - s;
|
|
2460
|
+
return A(n, a, t);
|
|
2369
2461
|
}
|
|
2370
|
-
class
|
|
2462
|
+
class sn extends f {
|
|
2371
2463
|
priority = 90;
|
|
2372
2464
|
parse(e, t, n) {
|
|
2373
|
-
const
|
|
2465
|
+
const s = (a) => a === 0 ? 7 : a;
|
|
2374
2466
|
switch (t) {
|
|
2375
2467
|
// 2
|
|
2376
2468
|
case "i":
|
|
2377
2469
|
case "ii":
|
|
2378
|
-
return
|
|
2470
|
+
return x(t.length, e);
|
|
2379
2471
|
// 2nd
|
|
2380
2472
|
case "io":
|
|
2381
2473
|
return n.ordinalNumber(e, { unit: "day" });
|
|
2382
2474
|
// Tue
|
|
2383
2475
|
case "iii":
|
|
2384
|
-
return
|
|
2476
|
+
return D(
|
|
2385
2477
|
n.day(e, {
|
|
2386
2478
|
width: "abbreviated",
|
|
2387
2479
|
context: "formatting"
|
|
@@ -2392,20 +2484,20 @@ class zt extends l {
|
|
|
2392
2484
|
width: "narrow",
|
|
2393
2485
|
context: "formatting"
|
|
2394
2486
|
}),
|
|
2395
|
-
|
|
2487
|
+
s
|
|
2396
2488
|
);
|
|
2397
2489
|
// T
|
|
2398
2490
|
case "iiiii":
|
|
2399
|
-
return
|
|
2491
|
+
return D(
|
|
2400
2492
|
n.day(e, {
|
|
2401
2493
|
width: "narrow",
|
|
2402
2494
|
context: "formatting"
|
|
2403
2495
|
}),
|
|
2404
|
-
|
|
2496
|
+
s
|
|
2405
2497
|
);
|
|
2406
2498
|
// Tu
|
|
2407
2499
|
case "iiiiii":
|
|
2408
|
-
return
|
|
2500
|
+
return D(
|
|
2409
2501
|
n.day(e, {
|
|
2410
2502
|
width: "short",
|
|
2411
2503
|
context: "formatting"
|
|
@@ -2413,12 +2505,12 @@ class zt extends l {
|
|
|
2413
2505
|
width: "narrow",
|
|
2414
2506
|
context: "formatting"
|
|
2415
2507
|
}),
|
|
2416
|
-
|
|
2508
|
+
s
|
|
2417
2509
|
);
|
|
2418
2510
|
// Tuesday
|
|
2419
2511
|
case "iiii":
|
|
2420
2512
|
default:
|
|
2421
|
-
return
|
|
2513
|
+
return D(
|
|
2422
2514
|
n.day(e, {
|
|
2423
2515
|
width: "wide",
|
|
2424
2516
|
context: "formatting"
|
|
@@ -2432,7 +2524,7 @@ class zt extends l {
|
|
|
2432
2524
|
width: "narrow",
|
|
2433
2525
|
context: "formatting"
|
|
2434
2526
|
}),
|
|
2435
|
-
|
|
2527
|
+
s
|
|
2436
2528
|
);
|
|
2437
2529
|
}
|
|
2438
2530
|
}
|
|
@@ -2440,7 +2532,7 @@ class zt extends l {
|
|
|
2440
2532
|
return t >= 1 && t <= 7;
|
|
2441
2533
|
}
|
|
2442
2534
|
set(e, t, n) {
|
|
2443
|
-
return e =
|
|
2535
|
+
return e = rn(e, n), e.setHours(0, 0, 0, 0), e;
|
|
2444
2536
|
}
|
|
2445
2537
|
incompatibleTokens = [
|
|
2446
2538
|
"y",
|
|
@@ -2460,7 +2552,7 @@ class zt extends l {
|
|
|
2460
2552
|
"T"
|
|
2461
2553
|
];
|
|
2462
2554
|
}
|
|
2463
|
-
class
|
|
2555
|
+
class an extends f {
|
|
2464
2556
|
priority = 80;
|
|
2465
2557
|
parse(e, t, n) {
|
|
2466
2558
|
switch (t) {
|
|
@@ -2494,11 +2586,11 @@ class Jt extends l {
|
|
|
2494
2586
|
}
|
|
2495
2587
|
}
|
|
2496
2588
|
set(e, t, n) {
|
|
2497
|
-
return e.setHours(
|
|
2589
|
+
return e.setHours(K(n), 0, 0, 0), e;
|
|
2498
2590
|
}
|
|
2499
2591
|
incompatibleTokens = ["b", "B", "H", "k", "t", "T"];
|
|
2500
2592
|
}
|
|
2501
|
-
class
|
|
2593
|
+
class on extends f {
|
|
2502
2594
|
priority = 80;
|
|
2503
2595
|
parse(e, t, n) {
|
|
2504
2596
|
switch (t) {
|
|
@@ -2532,11 +2624,11 @@ class Kt extends l {
|
|
|
2532
2624
|
}
|
|
2533
2625
|
}
|
|
2534
2626
|
set(e, t, n) {
|
|
2535
|
-
return e.setHours(
|
|
2627
|
+
return e.setHours(K(n), 0, 0, 0), e;
|
|
2536
2628
|
}
|
|
2537
2629
|
incompatibleTokens = ["a", "B", "H", "k", "t", "T"];
|
|
2538
2630
|
}
|
|
2539
|
-
class
|
|
2631
|
+
class un extends f {
|
|
2540
2632
|
priority = 80;
|
|
2541
2633
|
parse(e, t, n) {
|
|
2542
2634
|
switch (t) {
|
|
@@ -2570,41 +2662,41 @@ class Zt extends l {
|
|
|
2570
2662
|
}
|
|
2571
2663
|
}
|
|
2572
2664
|
set(e, t, n) {
|
|
2573
|
-
return e.setHours(
|
|
2665
|
+
return e.setHours(K(n), 0, 0, 0), e;
|
|
2574
2666
|
}
|
|
2575
2667
|
incompatibleTokens = ["a", "b", "t", "T"];
|
|
2576
2668
|
}
|
|
2577
|
-
class
|
|
2669
|
+
class cn extends f {
|
|
2578
2670
|
priority = 70;
|
|
2579
2671
|
parse(e, t, n) {
|
|
2580
2672
|
switch (t) {
|
|
2581
2673
|
case "h":
|
|
2582
|
-
return
|
|
2674
|
+
return b(M.hour12h, e);
|
|
2583
2675
|
case "ho":
|
|
2584
2676
|
return n.ordinalNumber(e, { unit: "hour" });
|
|
2585
2677
|
default:
|
|
2586
|
-
return
|
|
2678
|
+
return x(t.length, e);
|
|
2587
2679
|
}
|
|
2588
2680
|
}
|
|
2589
2681
|
validate(e, t) {
|
|
2590
2682
|
return t >= 1 && t <= 12;
|
|
2591
2683
|
}
|
|
2592
2684
|
set(e, t, n) {
|
|
2593
|
-
const
|
|
2594
|
-
return
|
|
2685
|
+
const s = e.getHours() >= 12;
|
|
2686
|
+
return s && n < 12 ? e.setHours(n + 12, 0, 0, 0) : !s && n === 12 ? e.setHours(0, 0, 0, 0) : e.setHours(n, 0, 0, 0), e;
|
|
2595
2687
|
}
|
|
2596
2688
|
incompatibleTokens = ["H", "K", "k", "t", "T"];
|
|
2597
2689
|
}
|
|
2598
|
-
class
|
|
2690
|
+
class dn extends f {
|
|
2599
2691
|
priority = 70;
|
|
2600
2692
|
parse(e, t, n) {
|
|
2601
2693
|
switch (t) {
|
|
2602
2694
|
case "H":
|
|
2603
|
-
return
|
|
2695
|
+
return b(M.hour23h, e);
|
|
2604
2696
|
case "Ho":
|
|
2605
2697
|
return n.ordinalNumber(e, { unit: "hour" });
|
|
2606
2698
|
default:
|
|
2607
|
-
return
|
|
2699
|
+
return x(t.length, e);
|
|
2608
2700
|
}
|
|
2609
2701
|
}
|
|
2610
2702
|
validate(e, t) {
|
|
@@ -2615,16 +2707,16 @@ class St extends l {
|
|
|
2615
2707
|
}
|
|
2616
2708
|
incompatibleTokens = ["a", "b", "h", "K", "k", "t", "T"];
|
|
2617
2709
|
}
|
|
2618
|
-
class
|
|
2710
|
+
class ln extends f {
|
|
2619
2711
|
priority = 70;
|
|
2620
2712
|
parse(e, t, n) {
|
|
2621
2713
|
switch (t) {
|
|
2622
2714
|
case "K":
|
|
2623
|
-
return
|
|
2715
|
+
return b(M.hour11h, e);
|
|
2624
2716
|
case "Ko":
|
|
2625
2717
|
return n.ordinalNumber(e, { unit: "hour" });
|
|
2626
2718
|
default:
|
|
2627
|
-
return
|
|
2719
|
+
return x(t.length, e);
|
|
2628
2720
|
}
|
|
2629
2721
|
}
|
|
2630
2722
|
validate(e, t) {
|
|
@@ -2635,37 +2727,37 @@ class en extends l {
|
|
|
2635
2727
|
}
|
|
2636
2728
|
incompatibleTokens = ["h", "H", "k", "t", "T"];
|
|
2637
2729
|
}
|
|
2638
|
-
class
|
|
2730
|
+
class fn extends f {
|
|
2639
2731
|
priority = 70;
|
|
2640
2732
|
parse(e, t, n) {
|
|
2641
2733
|
switch (t) {
|
|
2642
2734
|
case "k":
|
|
2643
|
-
return
|
|
2735
|
+
return b(M.hour24h, e);
|
|
2644
2736
|
case "ko":
|
|
2645
2737
|
return n.ordinalNumber(e, { unit: "hour" });
|
|
2646
2738
|
default:
|
|
2647
|
-
return
|
|
2739
|
+
return x(t.length, e);
|
|
2648
2740
|
}
|
|
2649
2741
|
}
|
|
2650
2742
|
validate(e, t) {
|
|
2651
2743
|
return t >= 1 && t <= 24;
|
|
2652
2744
|
}
|
|
2653
2745
|
set(e, t, n) {
|
|
2654
|
-
const
|
|
2655
|
-
return e.setHours(
|
|
2746
|
+
const s = n <= 24 ? n % 24 : n;
|
|
2747
|
+
return e.setHours(s, 0, 0, 0), e;
|
|
2656
2748
|
}
|
|
2657
2749
|
incompatibleTokens = ["a", "b", "h", "H", "K", "t", "T"];
|
|
2658
2750
|
}
|
|
2659
|
-
class
|
|
2751
|
+
class hn extends f {
|
|
2660
2752
|
priority = 60;
|
|
2661
2753
|
parse(e, t, n) {
|
|
2662
2754
|
switch (t) {
|
|
2663
2755
|
case "m":
|
|
2664
|
-
return
|
|
2756
|
+
return b(M.minute, e);
|
|
2665
2757
|
case "mo":
|
|
2666
2758
|
return n.ordinalNumber(e, { unit: "minute" });
|
|
2667
2759
|
default:
|
|
2668
|
-
return
|
|
2760
|
+
return x(t.length, e);
|
|
2669
2761
|
}
|
|
2670
2762
|
}
|
|
2671
2763
|
validate(e, t) {
|
|
@@ -2676,16 +2768,16 @@ class nn extends l {
|
|
|
2676
2768
|
}
|
|
2677
2769
|
incompatibleTokens = ["t", "T"];
|
|
2678
2770
|
}
|
|
2679
|
-
class
|
|
2771
|
+
class mn extends f {
|
|
2680
2772
|
priority = 50;
|
|
2681
2773
|
parse(e, t, n) {
|
|
2682
2774
|
switch (t) {
|
|
2683
2775
|
case "s":
|
|
2684
|
-
return
|
|
2776
|
+
return b(M.second, e);
|
|
2685
2777
|
case "so":
|
|
2686
2778
|
return n.ordinalNumber(e, { unit: "second" });
|
|
2687
2779
|
default:
|
|
2688
|
-
return
|
|
2780
|
+
return x(t.length, e);
|
|
2689
2781
|
}
|
|
2690
2782
|
}
|
|
2691
2783
|
validate(e, t) {
|
|
@@ -2696,41 +2788,41 @@ class rn extends l {
|
|
|
2696
2788
|
}
|
|
2697
2789
|
incompatibleTokens = ["t", "T"];
|
|
2698
2790
|
}
|
|
2699
|
-
class
|
|
2791
|
+
class wn extends f {
|
|
2700
2792
|
priority = 30;
|
|
2701
2793
|
parse(e, t) {
|
|
2702
|
-
const n = (
|
|
2703
|
-
return
|
|
2794
|
+
const n = (s) => Math.trunc(s * Math.pow(10, -t.length + 3));
|
|
2795
|
+
return D(x(t.length, e), n);
|
|
2704
2796
|
}
|
|
2705
2797
|
set(e, t, n) {
|
|
2706
2798
|
return e.setMilliseconds(n), e;
|
|
2707
2799
|
}
|
|
2708
2800
|
incompatibleTokens = ["t", "T"];
|
|
2709
2801
|
}
|
|
2710
|
-
class
|
|
2802
|
+
class yn extends f {
|
|
2711
2803
|
priority = 10;
|
|
2712
2804
|
parse(e, t) {
|
|
2713
2805
|
switch (t) {
|
|
2714
2806
|
case "X":
|
|
2715
|
-
return
|
|
2716
|
-
|
|
2807
|
+
return Y(
|
|
2808
|
+
O.basicOptionalMinutes,
|
|
2717
2809
|
e
|
|
2718
2810
|
);
|
|
2719
2811
|
case "XX":
|
|
2720
|
-
return
|
|
2812
|
+
return Y(O.basic, e);
|
|
2721
2813
|
case "XXXX":
|
|
2722
|
-
return
|
|
2723
|
-
|
|
2814
|
+
return Y(
|
|
2815
|
+
O.basicOptionalSeconds,
|
|
2724
2816
|
e
|
|
2725
2817
|
);
|
|
2726
2818
|
case "XXXXX":
|
|
2727
|
-
return
|
|
2728
|
-
|
|
2819
|
+
return Y(
|
|
2820
|
+
O.extendedOptionalSeconds,
|
|
2729
2821
|
e
|
|
2730
2822
|
);
|
|
2731
2823
|
case "XXX":
|
|
2732
2824
|
default:
|
|
2733
|
-
return
|
|
2825
|
+
return Y(O.extended, e);
|
|
2734
2826
|
}
|
|
2735
2827
|
}
|
|
2736
2828
|
set(e, t, n) {
|
|
@@ -2741,30 +2833,30 @@ class sn extends l {
|
|
|
2741
2833
|
}
|
|
2742
2834
|
incompatibleTokens = ["t", "T", "x"];
|
|
2743
2835
|
}
|
|
2744
|
-
class
|
|
2836
|
+
class gn extends f {
|
|
2745
2837
|
priority = 10;
|
|
2746
2838
|
parse(e, t) {
|
|
2747
2839
|
switch (t) {
|
|
2748
2840
|
case "x":
|
|
2749
|
-
return
|
|
2750
|
-
|
|
2841
|
+
return Y(
|
|
2842
|
+
O.basicOptionalMinutes,
|
|
2751
2843
|
e
|
|
2752
2844
|
);
|
|
2753
2845
|
case "xx":
|
|
2754
|
-
return
|
|
2846
|
+
return Y(O.basic, e);
|
|
2755
2847
|
case "xxxx":
|
|
2756
|
-
return
|
|
2757
|
-
|
|
2848
|
+
return Y(
|
|
2849
|
+
O.basicOptionalSeconds,
|
|
2758
2850
|
e
|
|
2759
2851
|
);
|
|
2760
2852
|
case "xxxxx":
|
|
2761
|
-
return
|
|
2762
|
-
|
|
2853
|
+
return Y(
|
|
2854
|
+
O.extendedOptionalSeconds,
|
|
2763
2855
|
e
|
|
2764
2856
|
);
|
|
2765
2857
|
case "xxx":
|
|
2766
2858
|
default:
|
|
2767
|
-
return
|
|
2859
|
+
return Y(O.extended, e);
|
|
2768
2860
|
}
|
|
2769
2861
|
}
|
|
2770
2862
|
set(e, t, n) {
|
|
@@ -2775,7 +2867,7 @@ class on extends l {
|
|
|
2775
2867
|
}
|
|
2776
2868
|
incompatibleTokens = ["t", "T", "X"];
|
|
2777
2869
|
}
|
|
2778
|
-
class
|
|
2870
|
+
class bn extends f {
|
|
2779
2871
|
priority = 40;
|
|
2780
2872
|
parse(e) {
|
|
2781
2873
|
return we(e);
|
|
@@ -2785,7 +2877,7 @@ class un extends l {
|
|
|
2785
2877
|
}
|
|
2786
2878
|
incompatibleTokens = "*";
|
|
2787
2879
|
}
|
|
2788
|
-
class
|
|
2880
|
+
class pn extends f {
|
|
2789
2881
|
priority = 20;
|
|
2790
2882
|
parse(e) {
|
|
2791
2883
|
return we(e);
|
|
@@ -2795,214 +2887,216 @@ class cn extends l {
|
|
|
2795
2887
|
}
|
|
2796
2888
|
incompatibleTokens = "*";
|
|
2797
2889
|
}
|
|
2798
|
-
const
|
|
2799
|
-
G: new
|
|
2800
|
-
y: new
|
|
2801
|
-
Y: new
|
|
2802
|
-
R: new
|
|
2803
|
-
u: new
|
|
2804
|
-
Q: new
|
|
2805
|
-
q: new
|
|
2806
|
-
M: new
|
|
2807
|
-
L: new
|
|
2808
|
-
w: new
|
|
2809
|
-
I: new
|
|
2810
|
-
d: new
|
|
2811
|
-
D: new
|
|
2812
|
-
E: new
|
|
2813
|
-
e: new
|
|
2814
|
-
c: new
|
|
2815
|
-
i: new
|
|
2816
|
-
a: new
|
|
2817
|
-
b: new
|
|
2818
|
-
B: new
|
|
2819
|
-
h: new
|
|
2820
|
-
H: new
|
|
2821
|
-
K: new
|
|
2822
|
-
k: new
|
|
2823
|
-
m: new
|
|
2824
|
-
s: new
|
|
2825
|
-
S: new
|
|
2826
|
-
X: new
|
|
2827
|
-
x: new
|
|
2828
|
-
t: new
|
|
2829
|
-
T: new
|
|
2830
|
-
},
|
|
2831
|
-
function
|
|
2832
|
-
const
|
|
2890
|
+
const xn = {
|
|
2891
|
+
G: new Ct(),
|
|
2892
|
+
y: new Lt(),
|
|
2893
|
+
Y: new Qt(),
|
|
2894
|
+
R: new Xt(),
|
|
2895
|
+
u: new Rt(),
|
|
2896
|
+
Q: new At(),
|
|
2897
|
+
q: new Bt(),
|
|
2898
|
+
M: new Gt(),
|
|
2899
|
+
L: new jt(),
|
|
2900
|
+
w: new Vt(),
|
|
2901
|
+
I: new Jt(),
|
|
2902
|
+
d: new St(),
|
|
2903
|
+
D: new Ut(),
|
|
2904
|
+
E: new en(),
|
|
2905
|
+
e: new tn(),
|
|
2906
|
+
c: new nn(),
|
|
2907
|
+
i: new sn(),
|
|
2908
|
+
a: new an(),
|
|
2909
|
+
b: new on(),
|
|
2910
|
+
B: new un(),
|
|
2911
|
+
h: new cn(),
|
|
2912
|
+
H: new dn(),
|
|
2913
|
+
K: new ln(),
|
|
2914
|
+
k: new fn(),
|
|
2915
|
+
m: new hn(),
|
|
2916
|
+
s: new mn(),
|
|
2917
|
+
S: new wn(),
|
|
2918
|
+
X: new yn(),
|
|
2919
|
+
x: new gn(),
|
|
2920
|
+
t: new bn(),
|
|
2921
|
+
T: new pn()
|
|
2922
|
+
}, Mn = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Dn = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Tn = /^'([^]*?)'?$/, kn = /''/g, Pn = /\S/, On = /[a-zA-Z]/;
|
|
2923
|
+
function Sn(r, e, t, n) {
|
|
2924
|
+
const s = () => h(n?.in || t, NaN), a = Wt(), o = n?.locale ?? a.locale ?? z, i = n?.firstWeekContainsDate ?? n?.locale?.options?.firstWeekContainsDate ?? a.firstWeekContainsDate ?? a.locale?.options?.firstWeekContainsDate ?? 1, c = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0;
|
|
2833
2925
|
if (!e)
|
|
2834
|
-
return r ?
|
|
2835
|
-
const
|
|
2836
|
-
firstWeekContainsDate:
|
|
2837
|
-
weekStartsOn:
|
|
2926
|
+
return r ? s() : u(t, n?.in);
|
|
2927
|
+
const w = {
|
|
2928
|
+
firstWeekContainsDate: i,
|
|
2929
|
+
weekStartsOn: c,
|
|
2838
2930
|
locale: o
|
|
2839
|
-
},
|
|
2840
|
-
const
|
|
2841
|
-
if (
|
|
2842
|
-
const
|
|
2843
|
-
return
|
|
2931
|
+
}, d = [new Ft(n?.in, t)], y = e.match(Dn).map((l) => {
|
|
2932
|
+
const p = l[0];
|
|
2933
|
+
if (p in $) {
|
|
2934
|
+
const P = $[p];
|
|
2935
|
+
return P(l, o.formatLong);
|
|
2844
2936
|
}
|
|
2845
|
-
return
|
|
2846
|
-
}).join("").match(
|
|
2847
|
-
for (let
|
|
2848
|
-
!n?.useAdditionalWeekYearTokens && he(
|
|
2849
|
-
const
|
|
2850
|
-
if (
|
|
2851
|
-
const { incompatibleTokens:
|
|
2852
|
-
if (Array.isArray(
|
|
2853
|
-
const
|
|
2854
|
-
(
|
|
2937
|
+
return l;
|
|
2938
|
+
}).join("").match(Mn), g = [];
|
|
2939
|
+
for (let l of y) {
|
|
2940
|
+
!n?.useAdditionalWeekYearTokens && he(l) && V(l, e, r), !n?.useAdditionalDayOfYearTokens && fe(l) && V(l, e, r);
|
|
2941
|
+
const p = l[0], P = xn[p];
|
|
2942
|
+
if (P) {
|
|
2943
|
+
const { incompatibleTokens: S } = P;
|
|
2944
|
+
if (Array.isArray(S)) {
|
|
2945
|
+
const U = g.find(
|
|
2946
|
+
(ee) => S.includes(ee.token) || ee.token === p
|
|
2855
2947
|
);
|
|
2856
|
-
if (
|
|
2948
|
+
if (U)
|
|
2857
2949
|
throw new RangeError(
|
|
2858
|
-
`The format string mustn't contain \`${
|
|
2950
|
+
`The format string mustn't contain \`${U.fullToken}\` and \`${l}\` at the same time`
|
|
2859
2951
|
);
|
|
2860
|
-
} else if (
|
|
2952
|
+
} else if (P.incompatibleTokens === "*" && g.length > 0)
|
|
2861
2953
|
throw new RangeError(
|
|
2862
|
-
`The format string mustn't contain \`${
|
|
2954
|
+
`The format string mustn't contain \`${l}\` and any other token at the same time`
|
|
2863
2955
|
);
|
|
2864
|
-
|
|
2865
|
-
const
|
|
2956
|
+
g.push({ token: p, fullToken: l });
|
|
2957
|
+
const G = P.run(
|
|
2866
2958
|
r,
|
|
2867
|
-
|
|
2959
|
+
l,
|
|
2868
2960
|
o.match,
|
|
2869
|
-
|
|
2961
|
+
w
|
|
2870
2962
|
);
|
|
2871
|
-
if (!
|
|
2872
|
-
return
|
|
2873
|
-
|
|
2963
|
+
if (!G)
|
|
2964
|
+
return s();
|
|
2965
|
+
d.push(G.setter), r = G.rest;
|
|
2874
2966
|
} else {
|
|
2875
|
-
if (
|
|
2967
|
+
if (p.match(On))
|
|
2876
2968
|
throw new RangeError(
|
|
2877
|
-
"Format string contains an unescaped latin alphabet character `" +
|
|
2969
|
+
"Format string contains an unescaped latin alphabet character `" + p + "`"
|
|
2878
2970
|
);
|
|
2879
|
-
if (
|
|
2880
|
-
r = r.slice(
|
|
2971
|
+
if (l === "''" ? l = "'" : p === "'" && (l = Yn(l)), r.indexOf(l) === 0)
|
|
2972
|
+
r = r.slice(l.length);
|
|
2881
2973
|
else
|
|
2882
|
-
return
|
|
2974
|
+
return s();
|
|
2883
2975
|
}
|
|
2884
2976
|
}
|
|
2885
|
-
if (r.length > 0 &&
|
|
2886
|
-
return
|
|
2887
|
-
const
|
|
2888
|
-
(
|
|
2889
|
-
).map((
|
|
2890
|
-
let
|
|
2891
|
-
if (isNaN(+
|
|
2892
|
-
const
|
|
2893
|
-
for (const
|
|
2894
|
-
if (!
|
|
2895
|
-
return
|
|
2896
|
-
const
|
|
2897
|
-
Array.isArray(
|
|
2898
|
-
}
|
|
2899
|
-
return
|
|
2900
|
-
}
|
|
2901
|
-
function
|
|
2902
|
-
return r.match(
|
|
2903
|
-
}
|
|
2904
|
-
function
|
|
2905
|
-
const [n,
|
|
2977
|
+
if (r.length > 0 && Pn.test(r))
|
|
2978
|
+
return s();
|
|
2979
|
+
const k = d.map((l) => l.priority).sort((l, p) => p - l).filter((l, p, P) => P.indexOf(l) === p).map(
|
|
2980
|
+
(l) => d.filter((p) => p.priority === l).sort((p, P) => P.subPriority - p.subPriority)
|
|
2981
|
+
).map((l) => l[0]);
|
|
2982
|
+
let T = u(t, n?.in);
|
|
2983
|
+
if (isNaN(+T)) return s();
|
|
2984
|
+
const _ = {};
|
|
2985
|
+
for (const l of k) {
|
|
2986
|
+
if (!l.validate(T, w))
|
|
2987
|
+
return s();
|
|
2988
|
+
const p = l.set(T, _, w);
|
|
2989
|
+
Array.isArray(p) ? (T = p[0], Object.assign(_, p[1])) : T = p;
|
|
2990
|
+
}
|
|
2991
|
+
return T;
|
|
2992
|
+
}
|
|
2993
|
+
function Yn(r) {
|
|
2994
|
+
return r.match(Tn)[1].replace(kn, "'");
|
|
2995
|
+
}
|
|
2996
|
+
function Un(r, e, t) {
|
|
2997
|
+
const [n, s] = E(
|
|
2906
2998
|
t?.in,
|
|
2907
2999
|
r,
|
|
2908
3000
|
e
|
|
2909
3001
|
);
|
|
2910
|
-
return +
|
|
3002
|
+
return +q(n) == +q(s);
|
|
2911
3003
|
}
|
|
2912
|
-
function
|
|
3004
|
+
function _n(r, e, t) {
|
|
2913
3005
|
return A(r, -e, t);
|
|
2914
3006
|
}
|
|
2915
|
-
function
|
|
2916
|
-
const n =
|
|
2917
|
-
o.setFullYear(
|
|
2918
|
-
const
|
|
2919
|
-
return n.setMonth(e, Math.min(
|
|
3007
|
+
function vn(r, e, t) {
|
|
3008
|
+
const n = u(r, t?.in), s = n.getFullYear(), a = n.getDate(), o = h(r, 0);
|
|
3009
|
+
o.setFullYear(s, e, 15), o.setHours(0, 0, 0, 0);
|
|
3010
|
+
const i = vt(o);
|
|
3011
|
+
return n.setMonth(e, Math.min(a, i)), n;
|
|
2920
3012
|
}
|
|
2921
|
-
function
|
|
2922
|
-
let n =
|
|
2923
|
-
return isNaN(+n) ? h(r, NaN) : (e.year != null && n.setFullYear(e.year), e.month != null && (n =
|
|
3013
|
+
function er(r, e, t) {
|
|
3014
|
+
let n = u(r, t?.in);
|
|
3015
|
+
return isNaN(+n) ? h(r, NaN) : (e.year != null && n.setFullYear(e.year), e.month != null && (n = vn(n, e.month)), e.date != null && n.setDate(e.date), e.hours != null && n.setHours(e.hours), e.minutes != null && n.setMinutes(e.minutes), e.seconds != null && n.setSeconds(e.seconds), e.milliseconds != null && n.setMilliseconds(e.milliseconds), n);
|
|
2924
3016
|
}
|
|
2925
|
-
function
|
|
2926
|
-
const n =
|
|
3017
|
+
function tr(r, e, t) {
|
|
3018
|
+
const n = u(r, t?.in);
|
|
2927
3019
|
return n.setHours(e), n;
|
|
2928
3020
|
}
|
|
2929
|
-
function
|
|
2930
|
-
const n =
|
|
3021
|
+
function nr(r, e, t) {
|
|
3022
|
+
const n = u(r, t?.in);
|
|
2931
3023
|
return n.setMilliseconds(e), n;
|
|
2932
3024
|
}
|
|
2933
|
-
function
|
|
2934
|
-
const n =
|
|
3025
|
+
function rr(r, e, t) {
|
|
3026
|
+
const n = u(r, t?.in);
|
|
2935
3027
|
return n.setMinutes(e), n;
|
|
2936
3028
|
}
|
|
2937
|
-
function
|
|
2938
|
-
const n =
|
|
3029
|
+
function sr(r, e, t) {
|
|
3030
|
+
const n = u(r, t?.in);
|
|
2939
3031
|
return n.setSeconds(e), n;
|
|
2940
3032
|
}
|
|
2941
|
-
function
|
|
2942
|
-
const n =
|
|
3033
|
+
function ar(r, e, t) {
|
|
3034
|
+
const n = u(r, t?.in);
|
|
2943
3035
|
return isNaN(+n) ? h(r, NaN) : (n.setFullYear(e), n);
|
|
2944
3036
|
}
|
|
2945
|
-
function
|
|
2946
|
-
return
|
|
3037
|
+
function Wn(r, e, t) {
|
|
3038
|
+
return B(r, -e, t);
|
|
2947
3039
|
}
|
|
2948
|
-
function
|
|
3040
|
+
function or(r, e, t) {
|
|
2949
3041
|
const {
|
|
2950
3042
|
years: n = 0,
|
|
2951
|
-
months:
|
|
2952
|
-
weeks:
|
|
3043
|
+
months: s = 0,
|
|
3044
|
+
weeks: a = 0,
|
|
2953
3045
|
days: o = 0,
|
|
2954
|
-
hours:
|
|
2955
|
-
minutes:
|
|
2956
|
-
seconds:
|
|
2957
|
-
} = e,
|
|
2958
|
-
return h(r, +
|
|
3046
|
+
hours: i = 0,
|
|
3047
|
+
minutes: c = 0,
|
|
3048
|
+
seconds: w = 0
|
|
3049
|
+
} = e, d = Wn(r, s + n * 12, t), y = _n(d, o + a * 7, t), g = c + i * 60, T = (w + g * 60) * 1e3;
|
|
3050
|
+
return h(r, +y - T);
|
|
2959
3051
|
}
|
|
2960
|
-
function
|
|
2961
|
-
return
|
|
3052
|
+
function ir(r, e, t) {
|
|
3053
|
+
return Te(r, -e, t);
|
|
2962
3054
|
}
|
|
2963
3055
|
export {
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
3056
|
+
En as A,
|
|
3057
|
+
In as B,
|
|
3058
|
+
Wn as C,
|
|
3059
|
+
tr as D,
|
|
3060
|
+
rr as E,
|
|
3061
|
+
sr as F,
|
|
3062
|
+
nr as G,
|
|
3063
|
+
vn as H,
|
|
3064
|
+
Sn as I,
|
|
2973
3065
|
A as J,
|
|
2974
3066
|
de as K,
|
|
2975
3067
|
ce as L,
|
|
2976
3068
|
Pe as M,
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
3069
|
+
Te as N,
|
|
3070
|
+
ir as O,
|
|
3071
|
+
or as P,
|
|
3072
|
+
_n as Q,
|
|
3073
|
+
Nn as R,
|
|
3074
|
+
z as S,
|
|
3075
|
+
An as T,
|
|
3076
|
+
Bn as a,
|
|
3077
|
+
zn as b,
|
|
3078
|
+
Kn as c,
|
|
2985
3079
|
xe as d,
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3080
|
+
qn as e,
|
|
3081
|
+
Zn as f,
|
|
3082
|
+
$n as g,
|
|
3083
|
+
Rn as h,
|
|
3084
|
+
Jn as i,
|
|
3085
|
+
Oe as j,
|
|
3086
|
+
ar as k,
|
|
3087
|
+
Fe as l,
|
|
3088
|
+
Un as m,
|
|
3089
|
+
Fn as n,
|
|
3090
|
+
Ln as o,
|
|
3091
|
+
q as p,
|
|
3092
|
+
Xn as q,
|
|
3093
|
+
Hn as r,
|
|
3094
|
+
er as s,
|
|
3095
|
+
Gn as t,
|
|
3096
|
+
jn as u,
|
|
3097
|
+
Vn as v,
|
|
3098
|
+
B as w,
|
|
3099
|
+
W as x,
|
|
3100
|
+
Qn as y,
|
|
3101
|
+
Cn as z
|
|
3008
3102
|
};
|