@inventreedb/ui 0.3.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -0
- package/dist/.vite/manifest.json +87 -1972
- package/dist/_virtual/react-jsx-runtime.production.js +5 -0
- package/dist/_virtual/react-jsx-runtime.production.js.map +1 -0
- package/dist/components/ActionButton.js +3 -3
- package/dist/components/ActionButton.js.map +1 -1
- package/dist/components/AddItemButton.d.ts +5 -0
- package/dist/components/AddItemButton.js +10 -0
- package/dist/components/AddItemButton.js.map +1 -0
- package/dist/components/ButtonMenu.js +3 -3
- package/dist/components/ButtonMenu.js.map +1 -1
- package/dist/components/ProgressBar.js +4 -4
- package/dist/components/ProgressBar.js.map +1 -1
- package/dist/components/RowActions.js +11 -10
- package/dist/components/RowActions.js.map +1 -1
- package/dist/components/SearchInput.js +6 -5
- package/dist/components/SearchInput.js.map +1 -1
- package/dist/components/YesNoButton.d.ts +4 -1
- package/dist/components/YesNoButton.js +14 -9
- package/dist/components/YesNoButton.js.map +1 -1
- package/dist/enums/ApiEndpoints.d.ts +3 -3
- package/dist/enums/ApiEndpoints.js +3 -3
- package/dist/enums/ApiEndpoints.js.map +1 -1
- package/dist/enums/ModelInformation.js +67 -67
- package/dist/enums/ModelInformation.js.map +1 -1
- package/dist/enums/Roles.d.ts +1 -2
- package/dist/enums/Roles.js +1 -1
- package/dist/enums/Roles.js.map +1 -1
- package/dist/functions/Formatting.d.ts +2 -2
- package/dist/functions/Formatting.js +23 -13
- package/dist/functions/Formatting.js.map +1 -1
- package/dist/functions/Plugins.d.ts +4 -0
- package/dist/functions/Plugins.js +7 -1
- package/dist/functions/Plugins.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/node_modules/@mantine/hooks/esm/use-debounced-value/use-debounced-value.js +3 -1
- package/dist/node_modules/@mantine/hooks/esm/use-debounced-value/use-debounced-value.js.map +1 -1
- package/dist/node_modules/@tabler/icons-react/dist/esm/createReactComponent.js +3 -2
- package/dist/node_modules/@tabler/icons-react/dist/esm/createReactComponent.js.map +1 -1
- package/dist/node_modules/@tabler/icons-react/dist/esm/defaultAttributes.js +1 -1
- package/dist/node_modules/@tabler/icons-react/dist/esm/defaultAttributes.js.map +1 -1
- package/dist/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowRight.js +4 -2
- package/dist/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowRight.js.map +1 -1
- package/dist/node_modules/@tabler/icons-react/dist/esm/icons/IconCircleX.js +4 -2
- package/dist/node_modules/@tabler/icons-react/dist/esm/icons/IconCircleX.js.map +1 -1
- package/dist/node_modules/@tabler/icons-react/dist/esm/icons/IconCopy.js +4 -2
- package/dist/node_modules/@tabler/icons-react/dist/esm/icons/IconCopy.js.map +1 -1
- package/dist/node_modules/@tabler/icons-react/dist/esm/icons/IconDots.js +4 -2
- package/dist/node_modules/@tabler/icons-react/dist/esm/icons/IconDots.js.map +1 -1
- package/dist/node_modules/@tabler/icons-react/dist/esm/icons/IconEdit.js +4 -2
- package/dist/node_modules/@tabler/icons-react/dist/esm/icons/IconEdit.js.map +1 -1
- package/dist/node_modules/@tabler/icons-react/dist/esm/icons/IconPlus.js +14 -0
- package/dist/node_modules/@tabler/icons-react/dist/esm/icons/IconPlus.js.map +1 -0
- package/dist/node_modules/@tabler/icons-react/dist/esm/icons/IconSearch.js +4 -2
- package/dist/node_modules/@tabler/icons-react/dist/esm/icons/IconSearch.js.map +1 -1
- package/dist/node_modules/@tabler/icons-react/dist/esm/icons/IconTrash.js +4 -2
- package/dist/node_modules/@tabler/icons-react/dist/esm/icons/IconTrash.js.map +1 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +248 -865
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +42 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js.map +1 -0
- package/dist/node_modules/react/jsx-runtime.js +2 -2
- package/dist/node_modules/react/jsx-runtime.js.map +1 -1
- package/dist/types/Filters.d.ts +2 -0
- package/dist/types/Forms.d.ts +4 -0
- package/dist/types/Plugins.d.ts +3 -0
- package/dist/types/Plugins.js +3 -3
- package/dist/types/Plugins.js.map +1 -1
- package/dist/types/Rendering.d.ts +1 -0
- package/dist/types/Tables.d.ts +3 -0
- package/lib/components/AddItemButton.tsx +10 -0
- package/lib/components/YesNoButton.tsx +18 -4
- package/lib/enums/ApiEndpoints.tsx +3 -3
- package/lib/enums/Roles.tsx +1 -4
- package/lib/functions/Plugins.tsx +11 -0
- package/lib/index.ts +19 -2
- package/lib/types/Filters.tsx +2 -0
- package/lib/types/Forms.tsx +4 -0
- package/lib/types/Plugins.tsx +3 -0
- package/lib/types/Rendering.tsx +1 -0
- package/lib/types/Tables.tsx +3 -0
- package/package.json +12 -11
- package/dist/_virtual/errors.js +0 -5
- package/dist/_virtual/errors.js.map +0 -1
- package/dist/_virtual/index.js +0 -6
- package/dist/_virtual/index.js.map +0 -1
- package/dist/_virtual/index2.js +0 -5
- package/dist/_virtual/index2.js.map +0 -1
- package/dist/_virtual/lexer.js +0 -5
- package/dist/_virtual/lexer.js.map +0 -1
- package/dist/_virtual/moo.js +0 -5
- package/dist/_virtual/moo.js.map +0 -1
- package/dist/_virtual/parser.js +0 -6
- package/dist/_virtual/parser.js.map +0 -1
- package/dist/_virtual/parser2.js +0 -5
- package/dist/_virtual/parser2.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.production.min.js +0 -5
- package/dist/_virtual/react-jsx-runtime.production.min.js.map +0 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -769
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -578
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -1235
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +0 -1
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -122
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +0 -1
- package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -78
- package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -295
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -155
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -152
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
- package/dist/node_modules/@lingui/core/dist/index.js +0 -405
- package/dist/node_modules/@lingui/core/dist/index.js.map +0 -1
- package/dist/node_modules/@lingui/core/node_modules/@lingui/message-utils/dist/compileMessage.js +0 -326
- package/dist/node_modules/@lingui/core/node_modules/@lingui/message-utils/dist/compileMessage.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/ActionIcon/ActionIcon.js +0 -99
- package/dist/node_modules/@mantine/core/esm/components/ActionIcon/ActionIcon.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/ActionIcon/ActionIcon.module.css.js +0 -6
- package/dist/node_modules/@mantine/core/esm/components/ActionIcon/ActionIcon.module.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/ActionIcon/ActionIcon.module.css.mjs.vanilla.css.js +0 -2
- package/dist/node_modules/@mantine/core/esm/components/ActionIcon/ActionIcon.module.css.mjs.vanilla.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/ActionIcon/ActionIconGroup/ActionIconGroup.js +0 -61
- package/dist/node_modules/@mantine/core/esm/components/ActionIcon/ActionIconGroup/ActionIconGroup.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.js +0 -68
- package/dist/node_modules/@mantine/core/esm/components/ActionIcon/ActionIconGroupSection/ActionIconGroupSection.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Badge/Badge.js +0 -98
- package/dist/node_modules/@mantine/core/esm/components/Badge/Badge.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Badge/Badge.module.css.js +0 -6
- package/dist/node_modules/@mantine/core/esm/components/Badge/Badge.module.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Badge/Badge.module.css.mjs.vanilla.css.js +0 -2
- package/dist/node_modules/@mantine/core/esm/components/Badge/Badge.module.css.mjs.vanilla.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/CloseButton/CloseButton.js +0 -76
- package/dist/node_modules/@mantine/core/esm/components/CloseButton/CloseButton.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/CloseButton/CloseButton.module.css.js +0 -6
- package/dist/node_modules/@mantine/core/esm/components/CloseButton/CloseButton.module.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/CloseButton/CloseButton.module.css.mjs.vanilla.css.js +0 -2
- package/dist/node_modules/@mantine/core/esm/components/CloseButton/CloseButton.module.css.mjs.vanilla.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/CloseButton/CloseIcon.js +0 -29
- package/dist/node_modules/@mantine/core/esm/components/CloseButton/CloseIcon.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Floating/FloatingArrow/FloatingArrow.js +0 -48
- package/dist/node_modules/@mantine/core/esm/components/Floating/FloatingArrow/FloatingArrow.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Floating/FloatingArrow/get-arrow-position-styles.js +0 -95
- package/dist/node_modules/@mantine/core/esm/components/Floating/FloatingArrow/get-arrow-position-styles.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Floating/get-floating-position/get-floating-position.js +0 -12
- package/dist/node_modules/@mantine/core/esm/components/Floating/get-floating-position/get-floating-position.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Floating/use-delayed-hover.js +0 -31
- package/dist/node_modules/@mantine/core/esm/components/Floating/use-delayed-hover.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Floating/use-floating-auto-update.js +0 -37
- package/dist/node_modules/@mantine/core/esm/components/Floating/use-floating-auto-update.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/FocusTrap/FocusTrap.js +0 -30
- package/dist/node_modules/@mantine/core/esm/components/FocusTrap/FocusTrap.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Group/Group.js +0 -86
- package/dist/node_modules/@mantine/core/esm/components/Group/Group.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Group/Group.module.css.js +0 -6
- package/dist/node_modules/@mantine/core/esm/components/Group/Group.module.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Group/Group.module.css.mjs.vanilla.css.js +0 -2
- package/dist/node_modules/@mantine/core/esm/components/Group/Group.module.css.mjs.vanilla.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Group/filter-falsy-children/filter-falsy-children.js +0 -8
- package/dist/node_modules/@mantine/core/esm/components/Group/filter-falsy-children/filter-falsy-children.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Input/Input.context.js +0 -11
- package/dist/node_modules/@mantine/core/esm/components/Input/Input.context.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Input/Input.js +0 -177
- package/dist/node_modules/@mantine/core/esm/components/Input/Input.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Input/Input.module.css.js +0 -6
- package/dist/node_modules/@mantine/core/esm/components/Input/Input.module.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Input/Input.module.css.mjs.vanilla.css.js +0 -2
- package/dist/node_modules/@mantine/core/esm/components/Input/Input.module.css.mjs.vanilla.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Input/InputClearButton/InputClearButton.js +0 -35
- package/dist/node_modules/@mantine/core/esm/components/Input/InputClearButton/InputClearButton.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Input/InputDescription/InputDescription.js +0 -65
- package/dist/node_modules/@mantine/core/esm/components/Input/InputDescription/InputDescription.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Input/InputError/InputError.js +0 -65
- package/dist/node_modules/@mantine/core/esm/components/Input/InputError/InputError.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Input/InputLabel/InputLabel.js +0 -84
- package/dist/node_modules/@mantine/core/esm/components/Input/InputLabel/InputLabel.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Input/InputPlaceholder/InputPlaceholder.js +0 -52
- package/dist/node_modules/@mantine/core/esm/components/Input/InputPlaceholder/InputPlaceholder.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Input/InputWrapper/InputWrapper.js +0 -170
- package/dist/node_modules/@mantine/core/esm/components/Input/InputWrapper/InputWrapper.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Input/InputWrapper/get-input-offsets/get-input-offsets.js +0 -12
- package/dist/node_modules/@mantine/core/esm/components/Input/InputWrapper/get-input-offsets/get-input-offsets.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Input/InputWrapper.context.js +0 -16
- package/dist/node_modules/@mantine/core/esm/components/Input/InputWrapper.context.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Input/use-input-props.js +0 -81
- package/dist/node_modules/@mantine/core/esm/components/Input/use-input-props.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/InputBase/InputBase.js +0 -19
- package/dist/node_modules/@mantine/core/esm/components/InputBase/InputBase.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Loader/Loader.js +0 -80
- package/dist/node_modules/@mantine/core/esm/components/Loader/Loader.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Loader/Loader.module.css.js +0 -6
- package/dist/node_modules/@mantine/core/esm/components/Loader/Loader.module.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Loader/Loader.module.css.mjs.vanilla.css.js +0 -2
- package/dist/node_modules/@mantine/core/esm/components/Loader/Loader.module.css.mjs.vanilla.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Loader/loaders/Bars.js +0 -15
- package/dist/node_modules/@mantine/core/esm/components/Loader/loaders/Bars.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Loader/loaders/Dots.js +0 -15
- package/dist/node_modules/@mantine/core/esm/components/Loader/loaders/Dots.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Loader/loaders/Oval.js +0 -11
- package/dist/node_modules/@mantine/core/esm/components/Loader/loaders/Oval.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Menu/Menu.context.js +0 -11
- package/dist/node_modules/@mantine/core/esm/components/Menu/Menu.context.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Menu/Menu.js +0 -145
- package/dist/node_modules/@mantine/core/esm/components/Menu/Menu.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Menu/Menu.module.css.js +0 -6
- package/dist/node_modules/@mantine/core/esm/components/Menu/Menu.module.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Menu/Menu.module.css.mjs.vanilla.css.js +0 -2
- package/dist/node_modules/@mantine/core/esm/components/Menu/Menu.module.css.mjs.vanilla.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Menu/MenuDivider/MenuDivider.js +0 -30
- package/dist/node_modules/@mantine/core/esm/components/Menu/MenuDivider/MenuDivider.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Menu/MenuDropdown/MenuDropdown.js +0 -72
- package/dist/node_modules/@mantine/core/esm/components/Menu/MenuDropdown/MenuDropdown.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Menu/MenuItem/MenuItem.js +0 -98
- package/dist/node_modules/@mantine/core/esm/components/Menu/MenuItem/MenuItem.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Menu/MenuLabel/MenuLabel.js +0 -30
- package/dist/node_modules/@mantine/core/esm/components/Menu/MenuLabel/MenuLabel.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Menu/MenuTarget/MenuTarget.js +0 -52
- package/dist/node_modules/@mantine/core/esm/components/Menu/MenuTarget/MenuTarget.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Overlay/Overlay.js +0 -66
- package/dist/node_modules/@mantine/core/esm/components/Overlay/Overlay.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Overlay/Overlay.module.css.js +0 -6
- package/dist/node_modules/@mantine/core/esm/components/Overlay/Overlay.module.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Overlay/Overlay.module.css.mjs.vanilla.css.js +0 -2
- package/dist/node_modules/@mantine/core/esm/components/Overlay/Overlay.module.css.mjs.vanilla.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Popover/Popover.context.js +0 -11
- package/dist/node_modules/@mantine/core/esm/components/Popover/Popover.context.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Popover/Popover.js +0 -237
- package/dist/node_modules/@mantine/core/esm/components/Popover/Popover.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Popover/Popover.module.css.js +0 -6
- package/dist/node_modules/@mantine/core/esm/components/Popover/Popover.module.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Popover/Popover.module.css.mjs.vanilla.css.js +0 -2
- package/dist/node_modules/@mantine/core/esm/components/Popover/Popover.module.css.mjs.vanilla.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Popover/PopoverDropdown/PopoverDropdown.js +0 -118
- package/dist/node_modules/@mantine/core/esm/components/Popover/PopoverDropdown/PopoverDropdown.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Popover/PopoverTarget/PopoverTarget.js +0 -51
- package/dist/node_modules/@mantine/core/esm/components/Popover/PopoverTarget/PopoverTarget.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Popover/use-popover.js +0 -121
- package/dist/node_modules/@mantine/core/esm/components/Popover/use-popover.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Portal/OptionalPortal.js +0 -13
- package/dist/node_modules/@mantine/core/esm/components/Portal/OptionalPortal.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Portal/Portal.js +0 -42
- package/dist/node_modules/@mantine/core/esm/components/Portal/Portal.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Progress/Progress.context.js +0 -11
- package/dist/node_modules/@mantine/core/esm/components/Progress/Progress.context.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Progress/Progress.js +0 -58
- package/dist/node_modules/@mantine/core/esm/components/Progress/Progress.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Progress/Progress.module.css.js +0 -6
- package/dist/node_modules/@mantine/core/esm/components/Progress/Progress.module.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Progress/Progress.module.css.mjs.vanilla.css.js +0 -2
- package/dist/node_modules/@mantine/core/esm/components/Progress/Progress.module.css.mjs.vanilla.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Progress/ProgressLabel/ProgressLabel.js +0 -30
- package/dist/node_modules/@mantine/core/esm/components/Progress/ProgressLabel/ProgressLabel.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Progress/ProgressRoot/ProgressRoot.js +0 -53
- package/dist/node_modules/@mantine/core/esm/components/Progress/ProgressRoot/ProgressRoot.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Progress/ProgressSection/ProgressSection.js +0 -60
- package/dist/node_modules/@mantine/core/esm/components/Progress/ProgressSection/ProgressSection.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Stack/Stack.js +0 -56
- package/dist/node_modules/@mantine/core/esm/components/Stack/Stack.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Stack/Stack.module.css.js +0 -6
- package/dist/node_modules/@mantine/core/esm/components/Stack/Stack.module.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Stack/Stack.module.css.mjs.vanilla.css.js +0 -2
- package/dist/node_modules/@mantine/core/esm/components/Stack/Stack.module.css.mjs.vanilla.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Text/Text.js +0 -94
- package/dist/node_modules/@mantine/core/esm/components/Text/Text.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Text/Text.module.css.js +0 -6
- package/dist/node_modules/@mantine/core/esm/components/Text/Text.module.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Text/Text.module.css.mjs.vanilla.css.js +0 -2
- package/dist/node_modules/@mantine/core/esm/components/Text/Text.module.css.mjs.vanilla.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/TextInput/TextInput.js +0 -16
- package/dist/node_modules/@mantine/core/esm/components/TextInput/TextInput.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Tooltip/Tooltip.js +0 -204
- package/dist/node_modules/@mantine/core/esm/components/Tooltip/Tooltip.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Tooltip/Tooltip.module.css.js +0 -6
- package/dist/node_modules/@mantine/core/esm/components/Tooltip/Tooltip.module.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Tooltip/Tooltip.module.css.mjs.vanilla.css.js +0 -2
- package/dist/node_modules/@mantine/core/esm/components/Tooltip/Tooltip.module.css.mjs.vanilla.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Tooltip/TooltipFloating/TooltipFloating.js +0 -129
- package/dist/node_modules/@mantine/core/esm/components/Tooltip/TooltipFloating/TooltipFloating.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Tooltip/TooltipFloating/use-floating-tooltip.js +0 -65
- package/dist/node_modules/@mantine/core/esm/components/Tooltip/TooltipFloating/use-floating-tooltip.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Tooltip/TooltipGroup/TooltipGroup.context.js +0 -9
- package/dist/node_modules/@mantine/core/esm/components/Tooltip/TooltipGroup/TooltipGroup.context.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Tooltip/TooltipGroup/TooltipGroup.js +0 -19
- package/dist/node_modules/@mantine/core/esm/components/Tooltip/TooltipGroup/TooltipGroup.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Tooltip/use-tooltip.js +0 -118
- package/dist/node_modules/@mantine/core/esm/components/Tooltip/use-tooltip.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Transition/Transition.js +0 -47
- package/dist/node_modules/@mantine/core/esm/components/Transition/Transition.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Transition/get-transition-props/get-transition-props.js +0 -11
- package/dist/node_modules/@mantine/core/esm/components/Transition/get-transition-props/get-transition-props.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Transition/get-transition-styles/get-transition-styles.js +0 -41
- package/dist/node_modules/@mantine/core/esm/components/Transition/get-transition-styles/get-transition-styles.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Transition/transitions.js +0 -122
- package/dist/node_modules/@mantine/core/esm/components/Transition/transitions.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Transition/use-transition.js +0 -86
- package/dist/node_modules/@mantine/core/esm/components/Transition/use-transition.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/UnstyledButton/UnstyledButton.js +0 -51
- package/dist/node_modules/@mantine/core/esm/components/UnstyledButton/UnstyledButton.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/UnstyledButton/UnstyledButton.module.css.js +0 -6
- package/dist/node_modules/@mantine/core/esm/components/UnstyledButton/UnstyledButton.module.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/UnstyledButton/UnstyledButton.module.css.mjs.vanilla.css.js +0 -2
- package/dist/node_modules/@mantine/core/esm/components/UnstyledButton/UnstyledButton.module.css.mjs.vanilla.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/VisuallyHidden/VisuallyHidden.js +0 -29
- package/dist/node_modules/@mantine/core/esm/components/VisuallyHidden/VisuallyHidden.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/VisuallyHidden/VisuallyHidden.module.css.js +0 -6
- package/dist/node_modules/@mantine/core/esm/components/VisuallyHidden/VisuallyHidden.module.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/VisuallyHidden/VisuallyHidden.module.css.mjs.vanilla.css.js +0 -2
- package/dist/node_modules/@mantine/core/esm/components/VisuallyHidden/VisuallyHidden.module.css.mjs.vanilla.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/Box.js +0 -83
- package/dist/node_modules/@mantine/core/esm/core/Box/Box.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/get-box-mod/get-box-mod.js +0 -33
- package/dist/node_modules/@mantine/core/esm/core/Box/get-box-mod/get-box-mod.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/get-box-style/get-box-style.js +0 -29
- package/dist/node_modules/@mantine/core/esm/core/Box/get-box-style/get-box-style.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/get-style-object/get-style-object.js +0 -19
- package/dist/node_modules/@mantine/core/esm/core/Box/get-style-object/get-style-object.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/extract-style-props/extract-style-props.js +0 -123
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/extract-style-props/extract-style-props.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/parse-style-props/parse-style-props.js +0 -88
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/parse-style-props/parse-style-props.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/parse-style-props/sort-media-queries.js +0 -15
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/parse-style-props/sort-media-queries.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/border-resolver/border-resolver.js +0 -21
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/border-resolver/border-resolver.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/color-resolver/color-resolver.js +0 -25
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/color-resolver/color-resolver.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/font-family-resolver/font-family-resolver.js +0 -17
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/font-family-resolver/font-family-resolver.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/font-size-resolver/font-size-resolver.js +0 -23
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/font-size-resolver/font-size-resolver.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/identity-resolver/identity-resolver.js +0 -7
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/identity-resolver/identity-resolver.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/index.js +0 -23
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/index.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/line-height-resolver/line-height-resolver.js +0 -14
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/line-height-resolver/line-height-resolver.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/size-resolver/size-resolver.js +0 -13
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/size-resolver/size-resolver.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/spacing-resolver/spacing-resolver.js +0 -21
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/spacing-resolver/spacing-resolver.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/style-props-data.js +0 -55
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/style-props-data.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/use-random-classname/use-random-classname.js +0 -9
- package/dist/node_modules/@mantine/core/esm/core/Box/use-random-classname/use-random-classname.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/DirectionProvider/DirectionProvider.js +0 -17
- package/dist/node_modules/@mantine/core/esm/core/DirectionProvider/DirectionProvider.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/InlineStyles/InlineStyles.js +0 -19
- package/dist/node_modules/@mantine/core/esm/core/InlineStyles/InlineStyles.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/InlineStyles/css-object-to-string/css-object-to-string.js +0 -14
- package/dist/node_modules/@mantine/core/esm/core/InlineStyles/css-object-to-string/css-object-to-string.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/InlineStyles/styles-to-string/styles-to-string.js +0 -13
- package/dist/node_modules/@mantine/core/esm/core/InlineStyles/styles-to-string/styles-to-string.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/Mantine.context.js +0 -40
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/Mantine.context.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/MantineThemeProvider/MantineThemeProvider.js +0 -17
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/MantineThemeProvider/MantineThemeProvider.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-auto-contrast-value/get-auto-contrast-value.js +0 -7
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-auto-contrast-value/get-auto-contrast-value.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-contrast-color/get-contrast-color.js +0 -13
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-contrast-color/get-contrast-color.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-gradient/get-gradient.js +0 -15
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-gradient/get-gradient.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-primary-shade/get-primary-shade.js +0 -13
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-primary-shade/get-primary-shade.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-theme-color/get-theme-color.js +0 -9
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-theme-color/get-theme-color.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/luminance/luminance.js +0 -32
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/luminance/luminance.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/parse-theme-color/parse-theme-color.js +0 -78
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/parse-theme-color/parse-theme-color.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/rgba/rgba.js +0 -22
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/rgba/rgba.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/to-rgba/to-rgba.js +0 -116
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/to-rgba/to-rgba.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/use-props/use-props.js +0 -15
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/use-props/use-props.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/factory/create-polymorphic-component.js +0 -7
- package/dist/node_modules/@mantine/core/esm/core/factory/create-polymorphic-component.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/factory/factory.js +0 -21
- package/dist/node_modules/@mantine/core/esm/core/factory/factory.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/factory/polymorphic-factory.js +0 -18
- package/dist/node_modules/@mantine/core/esm/core/factory/polymorphic-factory.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/create-vars-resolver/create-vars-resolver.js +0 -7
- package/dist/node_modules/@mantine/core/esm/core/styles-api/create-vars-resolver/create-vars-resolver.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-resolved-styles-api/use-resolved-styles-api.js +0 -31
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-resolved-styles-api/use-resolved-styles-api.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-class-name.js +0 -48
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-class-name.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-global-class-names/get-global-class-names.js +0 -17
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-global-class-names/get-global-class-names.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-options-class-names/get-options-class-names.js +0 -19
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-options-class-names/get-options-class-names.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-resolved-class-names/get-resolved-class-names.js +0 -14
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-resolved-class-names/get-resolved-class-names.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-root-class-name/get-root-class-name.js +0 -7
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-root-class-name/get-root-class-name.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-selector-class-name/get-selector-class-name.js +0 -7
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-selector-class-name/get-selector-class-name.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-static-class-names/get-static-class-names.js +0 -15
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-static-class-names/get-static-class-names.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-theme-class-names/get-theme-class-names.js +0 -24
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-theme-class-names/get-theme-class-names.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-variant-class-name/get-variant-class-name.js +0 -12
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-variant-class-name/get-variant-class-name.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/resolve-class-names/resolve-class-names.js +0 -26
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/resolve-class-names/resolve-class-names.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/get-style.js +0 -32
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/get-style.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/get-theme-styles/get-theme-styles.js +0 -24
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/get-theme-styles/get-theme-styles.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-style/resolve-style.js +0 -19
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-style/resolve-style.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-styles/resolve-styles.js +0 -13
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-styles/resolve-styles.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-vars/merge-vars.js +0 -17
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-vars/merge-vars.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-vars/resolve-vars.js +0 -25
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-vars/resolve-vars.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-styles.js +0 -70
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-styles.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-transformed-styles.js +0 -34
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-transformed-styles.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/camel-to-kebab-case/camel-to-kebab-case.js +0 -7
- package/dist/node_modules/@mantine/core/esm/core/utils/camel-to-kebab-case/camel-to-kebab-case.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/close-on-escape/close-on-escape.js +0 -17
- package/dist/node_modules/@mantine/core/esm/core/utils/close-on-escape/close-on-escape.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/create-event-handler/create-event-handler.js +0 -10
- package/dist/node_modules/@mantine/core/esm/core/utils/create-event-handler/create-event-handler.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/create-optional-context/create-optional-context.js +0 -12
- package/dist/node_modules/@mantine/core/esm/core/utils/create-optional-context/create-optional-context.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/create-safe-context/create-safe-context.js +0 -18
- package/dist/node_modules/@mantine/core/esm/core/utils/create-safe-context/create-safe-context.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/create-scoped-keydown-handler/create-scoped-keydown-handler.js +0 -99
- package/dist/node_modules/@mantine/core/esm/core/utils/create-scoped-keydown-handler/create-scoped-keydown-handler.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/filter-props/filter-props.js +0 -12
- package/dist/node_modules/@mantine/core/esm/core/utils/filter-props/filter-props.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/find-element-ancestor/find-element-ancestor.js +0 -10
- package/dist/node_modules/@mantine/core/esm/core/utils/find-element-ancestor/find-element-ancestor.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/get-context-item-index/get-context-item-index.js +0 -14
- package/dist/node_modules/@mantine/core/esm/core/utils/get-context-item-index/get-context-item-index.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/get-default-z-index/get-default-z-index.js +0 -14
- package/dist/node_modules/@mantine/core/esm/core/utils/get-default-z-index/get-default-z-index.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/get-ref-prop/get-ref-prop.js +0 -16
- package/dist/node_modules/@mantine/core/esm/core/utils/get-ref-prop/get-ref-prop.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/get-size/get-size.js +0 -38
- package/dist/node_modules/@mantine/core/esm/core/utils/get-size/get-size.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/is-element/is-element.js +0 -17
- package/dist/node_modules/@mantine/core/esm/core/utils/is-element/is-element.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/is-number-like/is-number-like.js +0 -18
- package/dist/node_modules/@mantine/core/esm/core/utils/is-number-like/is-number-like.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/keys/keys.js +0 -7
- package/dist/node_modules/@mantine/core/esm/core/utils/keys/keys.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/noop/noop.js +0 -6
- package/dist/node_modules/@mantine/core/esm/core/utils/noop/noop.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/units-converters/rem.js +0 -47
- package/dist/node_modules/@mantine/core/esm/core/utils/units-converters/rem.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/use-hovered/use-hovered.js +0 -10
- package/dist/node_modules/@mantine/core/esm/core/utils/use-hovered/use-hovered.js.map +0 -1
- package/dist/node_modules/@mantine/hooks/esm/use-click-outside/use-click-outside.js +0 -26
- package/dist/node_modules/@mantine/hooks/esm/use-click-outside/use-click-outside.js.map +0 -1
- package/dist/node_modules/@mantine/hooks/esm/use-did-update/use-did-update.js +0 -21
- package/dist/node_modules/@mantine/hooks/esm/use-did-update/use-did-update.js.map +0 -1
- package/dist/node_modules/@mantine/hooks/esm/use-focus-return/use-focus-return.js +0 -34
- package/dist/node_modules/@mantine/hooks/esm/use-focus-return/use-focus-return.js.map +0 -1
- package/dist/node_modules/@mantine/hooks/esm/use-focus-trap/scope-tab.js +0 -31
- package/dist/node_modules/@mantine/hooks/esm/use-focus-trap/scope-tab.js.map +0 -1
- package/dist/node_modules/@mantine/hooks/esm/use-focus-trap/tabbable.js +0 -56
- package/dist/node_modules/@mantine/hooks/esm/use-focus-trap/tabbable.js.map +0 -1
- package/dist/node_modules/@mantine/hooks/esm/use-focus-trap/use-focus-trap.js +0 -68
- package/dist/node_modules/@mantine/hooks/esm/use-focus-trap/use-focus-trap.js.map +0 -1
- package/dist/node_modules/@mantine/hooks/esm/use-id/use-id.js +0 -22
- package/dist/node_modules/@mantine/hooks/esm/use-id/use-id.js.map +0 -1
- package/dist/node_modules/@mantine/hooks/esm/use-id/use-react-id.js +0 -10
- package/dist/node_modules/@mantine/hooks/esm/use-id/use-react-id.js.map +0 -1
- package/dist/node_modules/@mantine/hooks/esm/use-isomorphic-effect/use-isomorphic-effect.js +0 -6
- package/dist/node_modules/@mantine/hooks/esm/use-isomorphic-effect/use-isomorphic-effect.js.map +0 -1
- package/dist/node_modules/@mantine/hooks/esm/use-media-query/use-media-query.js +0 -37
- package/dist/node_modules/@mantine/hooks/esm/use-media-query/use-media-query.js.map +0 -1
- package/dist/node_modules/@mantine/hooks/esm/use-merged-ref/use-merged-ref.js +0 -41
- package/dist/node_modules/@mantine/hooks/esm/use-merged-ref/use-merged-ref.js.map +0 -1
- package/dist/node_modules/@mantine/hooks/esm/use-reduced-motion/use-reduced-motion.js +0 -8
- package/dist/node_modules/@mantine/hooks/esm/use-reduced-motion/use-reduced-motion.js.map +0 -1
- package/dist/node_modules/@mantine/hooks/esm/use-uncontrolled/use-uncontrolled.js +0 -24
- package/dist/node_modules/@mantine/hooks/esm/use-uncontrolled/use-uncontrolled.js.map +0 -1
- package/dist/node_modules/@mantine/hooks/esm/utils/random-id/random-id.js +0 -7
- package/dist/node_modules/@mantine/hooks/esm/utils/random-id/random-id.js.map +0 -1
- package/dist/node_modules/@messageformat/parser/lib/lexer.js +0 -74
- package/dist/node_modules/@messageformat/parser/lib/lexer.js.map +0 -1
- package/dist/node_modules/@messageformat/parser/lib/parser.js +0 -230
- package/dist/node_modules/@messageformat/parser/lib/parser.js.map +0 -1
- package/dist/node_modules/clsx/dist/clsx.js +0 -18
- package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/moo/moo.js +0 -539
- package/dist/node_modules/moo/moo.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -34
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +0 -1
- package/dist/node_modules/unraw/dist/errors.js +0 -39
- package/dist/node_modules/unraw/dist/errors.js.map +0 -1
- package/dist/node_modules/unraw/dist/index.js +0 -112
- package/dist/node_modules/unraw/dist/index.js.map +0 -1
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
const min = Math.min;
|
|
2
|
-
const max = Math.max;
|
|
3
|
-
const round = Math.round;
|
|
4
|
-
const floor = Math.floor;
|
|
5
|
-
const createCoords = (v) => ({
|
|
6
|
-
x: v,
|
|
7
|
-
y: v
|
|
8
|
-
});
|
|
9
|
-
const oppositeSideMap = {
|
|
10
|
-
left: "right",
|
|
11
|
-
right: "left",
|
|
12
|
-
bottom: "top",
|
|
13
|
-
top: "bottom"
|
|
14
|
-
};
|
|
15
|
-
const oppositeAlignmentMap = {
|
|
16
|
-
start: "end",
|
|
17
|
-
end: "start"
|
|
18
|
-
};
|
|
19
|
-
function clamp(start, value, end) {
|
|
20
|
-
return max(start, min(value, end));
|
|
21
|
-
}
|
|
22
|
-
function evaluate(value, param) {
|
|
23
|
-
return typeof value === "function" ? value(param) : value;
|
|
24
|
-
}
|
|
25
|
-
function getSide(placement) {
|
|
26
|
-
return placement.split("-")[0];
|
|
27
|
-
}
|
|
28
|
-
function getAlignment(placement) {
|
|
29
|
-
return placement.split("-")[1];
|
|
30
|
-
}
|
|
31
|
-
function getOppositeAxis(axis) {
|
|
32
|
-
return axis === "x" ? "y" : "x";
|
|
33
|
-
}
|
|
34
|
-
function getAxisLength(axis) {
|
|
35
|
-
return axis === "y" ? "height" : "width";
|
|
36
|
-
}
|
|
37
|
-
function getSideAxis(placement) {
|
|
38
|
-
return ["top", "bottom"].includes(getSide(placement)) ? "y" : "x";
|
|
39
|
-
}
|
|
40
|
-
function getAlignmentAxis(placement) {
|
|
41
|
-
return getOppositeAxis(getSideAxis(placement));
|
|
42
|
-
}
|
|
43
|
-
function getAlignmentSides(placement, rects, rtl) {
|
|
44
|
-
if (rtl === void 0) {
|
|
45
|
-
rtl = false;
|
|
46
|
-
}
|
|
47
|
-
const alignment = getAlignment(placement);
|
|
48
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
|
49
|
-
const length = getAxisLength(alignmentAxis);
|
|
50
|
-
let mainAlignmentSide = alignmentAxis === "x" ? alignment === (rtl ? "end" : "start") ? "right" : "left" : alignment === "start" ? "bottom" : "top";
|
|
51
|
-
if (rects.reference[length] > rects.floating[length]) {
|
|
52
|
-
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
53
|
-
}
|
|
54
|
-
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
55
|
-
}
|
|
56
|
-
function getExpandedPlacements(placement) {
|
|
57
|
-
const oppositePlacement = getOppositePlacement(placement);
|
|
58
|
-
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
59
|
-
}
|
|
60
|
-
function getOppositeAlignmentPlacement(placement) {
|
|
61
|
-
return placement.replace(/start|end/g, (alignment) => oppositeAlignmentMap[alignment]);
|
|
62
|
-
}
|
|
63
|
-
function getSideList(side, isStart, rtl) {
|
|
64
|
-
const lr = ["left", "right"];
|
|
65
|
-
const rl = ["right", "left"];
|
|
66
|
-
const tb = ["top", "bottom"];
|
|
67
|
-
const bt = ["bottom", "top"];
|
|
68
|
-
switch (side) {
|
|
69
|
-
case "top":
|
|
70
|
-
case "bottom":
|
|
71
|
-
if (rtl) return isStart ? rl : lr;
|
|
72
|
-
return isStart ? lr : rl;
|
|
73
|
-
case "left":
|
|
74
|
-
case "right":
|
|
75
|
-
return isStart ? tb : bt;
|
|
76
|
-
default:
|
|
77
|
-
return [];
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
81
|
-
const alignment = getAlignment(placement);
|
|
82
|
-
let list = getSideList(getSide(placement), direction === "start", rtl);
|
|
83
|
-
if (alignment) {
|
|
84
|
-
list = list.map((side) => side + "-" + alignment);
|
|
85
|
-
if (flipAlignment) {
|
|
86
|
-
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
return list;
|
|
90
|
-
}
|
|
91
|
-
function getOppositePlacement(placement) {
|
|
92
|
-
return placement.replace(/left|right|bottom|top/g, (side) => oppositeSideMap[side]);
|
|
93
|
-
}
|
|
94
|
-
function expandPaddingObject(padding) {
|
|
95
|
-
return {
|
|
96
|
-
top: 0,
|
|
97
|
-
right: 0,
|
|
98
|
-
bottom: 0,
|
|
99
|
-
left: 0,
|
|
100
|
-
...padding
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
function getPaddingObject(padding) {
|
|
104
|
-
return typeof padding !== "number" ? expandPaddingObject(padding) : {
|
|
105
|
-
top: padding,
|
|
106
|
-
right: padding,
|
|
107
|
-
bottom: padding,
|
|
108
|
-
left: padding
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
function rectToClientRect(rect) {
|
|
112
|
-
const {
|
|
113
|
-
x,
|
|
114
|
-
y,
|
|
115
|
-
width,
|
|
116
|
-
height
|
|
117
|
-
} = rect;
|
|
118
|
-
return {
|
|
119
|
-
width,
|
|
120
|
-
height,
|
|
121
|
-
top: y,
|
|
122
|
-
left: x,
|
|
123
|
-
right: x + width,
|
|
124
|
-
bottom: y + height,
|
|
125
|
-
x,
|
|
126
|
-
y
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
export {
|
|
130
|
-
clamp,
|
|
131
|
-
createCoords,
|
|
132
|
-
evaluate,
|
|
133
|
-
expandPaddingObject,
|
|
134
|
-
floor,
|
|
135
|
-
getAlignment,
|
|
136
|
-
getAlignmentAxis,
|
|
137
|
-
getAlignmentSides,
|
|
138
|
-
getAxisLength,
|
|
139
|
-
getExpandedPlacements,
|
|
140
|
-
getOppositeAlignmentPlacement,
|
|
141
|
-
getOppositeAxis,
|
|
142
|
-
getOppositeAxisPlacements,
|
|
143
|
-
getOppositePlacement,
|
|
144
|
-
getPaddingObject,
|
|
145
|
-
getSide,
|
|
146
|
-
getSideAxis,
|
|
147
|
-
max,
|
|
148
|
-
min,
|
|
149
|
-
rectToClientRect,
|
|
150
|
-
round
|
|
151
|
-
};
|
|
152
|
-
//# sourceMappingURL=floating-ui.utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"floating-ui.utils.js","sources":["../../../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"],"sourcesContent":["/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nconst oppositeAlignmentMap = {\n start: 'end',\n end: 'start'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nfunction getSideAxis(placement) {\n return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);\n}\nfunction getSideList(side, isStart, rtl) {\n const lr = ['left', 'right'];\n const rl = ['right', 'left'];\n const tb = ['top', 'bottom'];\n const bt = ['bottom', 'top'];\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rl : lr;\n return isStart ? lr : rl;\n case 'left':\n case 'right':\n return isStart ? tb : bt;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);\n}\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n const {\n x,\n y,\n width,\n height\n } = rect;\n return {\n width,\n height,\n top: y,\n left: x,\n right: x + width,\n bottom: y + height,\n x,\n y\n };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n"],"names":[],"mappings":"AAQK,MAAC,MAAM,KAAK;AACZ,MAAC,MAAM,KAAK;AACZ,MAAC,QAAQ,KAAK;AACd,MAAC,QAAQ,KAAK;AACd,MAAC,eAAe,QAAM;AAAA,EACzB,GAAG;AAAA,EACH,GAAG;AACL;AACA,MA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AAA,IACL,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,MAAM;AAAA,EACP;AACH;AACA,SAAS,iBAAiB,MAAM;AAC9B,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACJ,IAAM;AACJ,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA,KAAK;AAAA,IACL,MAAM;AAAA,IACN,OAAO,IAAI;AAAA,IACX,QAAQ,IAAI;AAAA,IACZ;AAAA,IACA;AAAA,EACD;AACH;","x_google_ignoreList":[0]}
|
|
@@ -1,405 +0,0 @@
|
|
|
1
|
-
import { d as distExports } from "../../../../_virtual/index.js";
|
|
2
|
-
import { compileMessage } from "../node_modules/@lingui/message-utils/dist/compileMessage.js";
|
|
3
|
-
const isString = (s) => typeof s === "string";
|
|
4
|
-
const isFunction = (f) => typeof f === "function";
|
|
5
|
-
const cache = /* @__PURE__ */ new Map();
|
|
6
|
-
const defaultLocale = "en";
|
|
7
|
-
function normalizeLocales(locales) {
|
|
8
|
-
const out = Array.isArray(locales) ? locales : [locales];
|
|
9
|
-
return [...out, defaultLocale];
|
|
10
|
-
}
|
|
11
|
-
function date(locales, value, format) {
|
|
12
|
-
const _locales = normalizeLocales(locales);
|
|
13
|
-
if (!format) {
|
|
14
|
-
format = "default";
|
|
15
|
-
}
|
|
16
|
-
let o;
|
|
17
|
-
if (typeof format === "string") {
|
|
18
|
-
o = {
|
|
19
|
-
day: "numeric",
|
|
20
|
-
month: "short",
|
|
21
|
-
year: "numeric"
|
|
22
|
-
};
|
|
23
|
-
switch (format) {
|
|
24
|
-
case "full":
|
|
25
|
-
o.weekday = "long";
|
|
26
|
-
case "long":
|
|
27
|
-
o.month = "long";
|
|
28
|
-
break;
|
|
29
|
-
case "short":
|
|
30
|
-
o.month = "numeric";
|
|
31
|
-
break;
|
|
32
|
-
}
|
|
33
|
-
} else {
|
|
34
|
-
o = format;
|
|
35
|
-
}
|
|
36
|
-
const formatter = getMemoized(
|
|
37
|
-
() => cacheKey("date", _locales, format),
|
|
38
|
-
() => new Intl.DateTimeFormat(_locales, o)
|
|
39
|
-
);
|
|
40
|
-
return formatter.format(isString(value) ? new Date(value) : value);
|
|
41
|
-
}
|
|
42
|
-
function time(locales, value, format) {
|
|
43
|
-
let o;
|
|
44
|
-
if (!format) {
|
|
45
|
-
format = "default";
|
|
46
|
-
}
|
|
47
|
-
if (typeof format === "string") {
|
|
48
|
-
o = {
|
|
49
|
-
second: "numeric",
|
|
50
|
-
minute: "numeric",
|
|
51
|
-
hour: "numeric"
|
|
52
|
-
};
|
|
53
|
-
switch (format) {
|
|
54
|
-
case "full":
|
|
55
|
-
case "long":
|
|
56
|
-
o.timeZoneName = "short";
|
|
57
|
-
break;
|
|
58
|
-
case "short":
|
|
59
|
-
delete o.second;
|
|
60
|
-
}
|
|
61
|
-
} else {
|
|
62
|
-
o = format;
|
|
63
|
-
}
|
|
64
|
-
return date(locales, value, o);
|
|
65
|
-
}
|
|
66
|
-
function number(locales, value, format) {
|
|
67
|
-
const _locales = normalizeLocales(locales);
|
|
68
|
-
const formatter = getMemoized(
|
|
69
|
-
() => cacheKey("number", _locales, format),
|
|
70
|
-
() => new Intl.NumberFormat(_locales, format)
|
|
71
|
-
);
|
|
72
|
-
return formatter.format(value);
|
|
73
|
-
}
|
|
74
|
-
function plural(locales, ordinal, value, { offset = 0, ...rules }) {
|
|
75
|
-
const _locales = normalizeLocales(locales);
|
|
76
|
-
const plurals = ordinal ? getMemoized(
|
|
77
|
-
() => cacheKey("plural-ordinal", _locales),
|
|
78
|
-
() => new Intl.PluralRules(_locales, { type: "ordinal" })
|
|
79
|
-
) : getMemoized(
|
|
80
|
-
() => cacheKey("plural-cardinal", _locales),
|
|
81
|
-
() => new Intl.PluralRules(_locales, { type: "cardinal" })
|
|
82
|
-
);
|
|
83
|
-
return rules[value] ?? rules[plurals.select(value - offset)] ?? rules.other;
|
|
84
|
-
}
|
|
85
|
-
function getMemoized(getKey, construct) {
|
|
86
|
-
const key = getKey();
|
|
87
|
-
let formatter = cache.get(key);
|
|
88
|
-
if (!formatter) {
|
|
89
|
-
formatter = construct();
|
|
90
|
-
cache.set(key, formatter);
|
|
91
|
-
}
|
|
92
|
-
return formatter;
|
|
93
|
-
}
|
|
94
|
-
function cacheKey(type, locales, options) {
|
|
95
|
-
const localeKey = locales.join("-");
|
|
96
|
-
return `${type}-${localeKey}-${JSON.stringify(options)}`;
|
|
97
|
-
}
|
|
98
|
-
const UNICODE_REGEX = /\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/;
|
|
99
|
-
const OCTOTHORPE_PH = "%__lingui_octothorpe__%";
|
|
100
|
-
const getDefaultFormats = (locale, passedLocales, formats = {}) => {
|
|
101
|
-
const locales = passedLocales || locale;
|
|
102
|
-
const style = (format) => {
|
|
103
|
-
if (typeof format === "object")
|
|
104
|
-
return format;
|
|
105
|
-
return formats[format];
|
|
106
|
-
};
|
|
107
|
-
const replaceOctothorpe = (value, message) => {
|
|
108
|
-
const numberFormat = Object.keys(formats).length ? style("number") : void 0;
|
|
109
|
-
const valueStr = number(locales, value, numberFormat);
|
|
110
|
-
return message.replace(new RegExp(OCTOTHORPE_PH, "g"), valueStr);
|
|
111
|
-
};
|
|
112
|
-
return {
|
|
113
|
-
plural: (value, cases) => {
|
|
114
|
-
const { offset = 0 } = cases;
|
|
115
|
-
const message = plural(locales, false, value, cases);
|
|
116
|
-
return replaceOctothorpe(value - offset, message);
|
|
117
|
-
},
|
|
118
|
-
selectordinal: (value, cases) => {
|
|
119
|
-
const { offset = 0 } = cases;
|
|
120
|
-
const message = plural(locales, true, value, cases);
|
|
121
|
-
return replaceOctothorpe(value - offset, message);
|
|
122
|
-
},
|
|
123
|
-
select: selectFormatter,
|
|
124
|
-
number: (value, format) => number(
|
|
125
|
-
locales,
|
|
126
|
-
value,
|
|
127
|
-
style(format) || { style: format }
|
|
128
|
-
),
|
|
129
|
-
date: (value, format) => date(locales, value, style(format) || format),
|
|
130
|
-
time: (value, format) => time(locales, value, style(format) || format)
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
const selectFormatter = (value, rules) => rules[value] ?? rules.other;
|
|
134
|
-
function interpolate(translation, locale, locales) {
|
|
135
|
-
return (values = {}, formats) => {
|
|
136
|
-
const formatters = getDefaultFormats(locale, locales, formats);
|
|
137
|
-
const formatMessage = (tokens, replaceOctothorpe = false) => {
|
|
138
|
-
if (!Array.isArray(tokens))
|
|
139
|
-
return tokens;
|
|
140
|
-
return tokens.reduce((message, token) => {
|
|
141
|
-
if (token === "#" && replaceOctothorpe) {
|
|
142
|
-
return message + OCTOTHORPE_PH;
|
|
143
|
-
}
|
|
144
|
-
if (isString(token)) {
|
|
145
|
-
return message + token;
|
|
146
|
-
}
|
|
147
|
-
const [name, type, format] = token;
|
|
148
|
-
let interpolatedFormat = {};
|
|
149
|
-
if (type === "plural" || type === "selectordinal" || type === "select") {
|
|
150
|
-
Object.entries(format).forEach(
|
|
151
|
-
([key, value2]) => {
|
|
152
|
-
interpolatedFormat[key] = formatMessage(
|
|
153
|
-
value2,
|
|
154
|
-
type === "plural" || type === "selectordinal"
|
|
155
|
-
);
|
|
156
|
-
}
|
|
157
|
-
);
|
|
158
|
-
} else {
|
|
159
|
-
interpolatedFormat = format;
|
|
160
|
-
}
|
|
161
|
-
let value;
|
|
162
|
-
if (type) {
|
|
163
|
-
const formatter = formatters[type];
|
|
164
|
-
value = formatter(values[name], interpolatedFormat);
|
|
165
|
-
} else {
|
|
166
|
-
value = values[name];
|
|
167
|
-
}
|
|
168
|
-
if (value == null) {
|
|
169
|
-
return message;
|
|
170
|
-
}
|
|
171
|
-
return message + value;
|
|
172
|
-
}, "");
|
|
173
|
-
};
|
|
174
|
-
const result = formatMessage(translation);
|
|
175
|
-
if (isString(result) && UNICODE_REGEX.test(result)) {
|
|
176
|
-
return distExports.unraw(result);
|
|
177
|
-
}
|
|
178
|
-
if (isString(result))
|
|
179
|
-
return result;
|
|
180
|
-
return result ? String(result) : "";
|
|
181
|
-
};
|
|
182
|
-
}
|
|
183
|
-
var __defProp$1 = Object.defineProperty;
|
|
184
|
-
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
185
|
-
var __publicField$1 = (obj, key, value) => {
|
|
186
|
-
__defNormalProp$1(obj, key + "", value);
|
|
187
|
-
return value;
|
|
188
|
-
};
|
|
189
|
-
class EventEmitter {
|
|
190
|
-
constructor() {
|
|
191
|
-
__publicField$1(this, "_events", {});
|
|
192
|
-
}
|
|
193
|
-
on(event, listener) {
|
|
194
|
-
var _a;
|
|
195
|
-
(_a = this._events)[event] ?? (_a[event] = []);
|
|
196
|
-
this._events[event].push(listener);
|
|
197
|
-
return () => this.removeListener(event, listener);
|
|
198
|
-
}
|
|
199
|
-
removeListener(event, listener) {
|
|
200
|
-
const maybeListeners = this._getListeners(event);
|
|
201
|
-
if (!maybeListeners)
|
|
202
|
-
return;
|
|
203
|
-
const index = maybeListeners.indexOf(listener);
|
|
204
|
-
if (~index)
|
|
205
|
-
maybeListeners.splice(index, 1);
|
|
206
|
-
}
|
|
207
|
-
emit(event, ...args) {
|
|
208
|
-
const maybeListeners = this._getListeners(event);
|
|
209
|
-
if (!maybeListeners)
|
|
210
|
-
return;
|
|
211
|
-
maybeListeners.map((listener) => listener.apply(this, args));
|
|
212
|
-
}
|
|
213
|
-
_getListeners(event) {
|
|
214
|
-
const maybeListeners = this._events[event];
|
|
215
|
-
return Array.isArray(maybeListeners) ? maybeListeners : false;
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
var __defProp = Object.defineProperty;
|
|
219
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
220
|
-
var __publicField = (obj, key, value) => {
|
|
221
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
222
|
-
return value;
|
|
223
|
-
};
|
|
224
|
-
class I18n extends EventEmitter {
|
|
225
|
-
constructor(params) {
|
|
226
|
-
super();
|
|
227
|
-
__publicField(this, "_locale", "");
|
|
228
|
-
__publicField(this, "_locales");
|
|
229
|
-
__publicField(this, "_localeData", {});
|
|
230
|
-
__publicField(this, "_messages", {});
|
|
231
|
-
__publicField(this, "_missing");
|
|
232
|
-
__publicField(this, "_messageCompiler");
|
|
233
|
-
__publicField(this, "t", this._.bind(this));
|
|
234
|
-
if (process.env.NODE_ENV !== "production") {
|
|
235
|
-
this.setMessagesCompiler(compileMessage);
|
|
236
|
-
}
|
|
237
|
-
if (params.missing != null)
|
|
238
|
-
this._missing = params.missing;
|
|
239
|
-
if (params.messages != null)
|
|
240
|
-
this.load(params.messages);
|
|
241
|
-
if (params.localeData != null)
|
|
242
|
-
this.loadLocaleData(params.localeData);
|
|
243
|
-
if (typeof params.locale === "string" || params.locales) {
|
|
244
|
-
this.activate(params.locale ?? defaultLocale, params.locales);
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
get locale() {
|
|
248
|
-
return this._locale;
|
|
249
|
-
}
|
|
250
|
-
get locales() {
|
|
251
|
-
return this._locales;
|
|
252
|
-
}
|
|
253
|
-
get messages() {
|
|
254
|
-
return this._messages[this._locale] ?? {};
|
|
255
|
-
}
|
|
256
|
-
/**
|
|
257
|
-
* @deprecated this has no effect. Please remove this from the code. Deprecated in v4
|
|
258
|
-
*/
|
|
259
|
-
get localeData() {
|
|
260
|
-
return this._localeData[this._locale] ?? {};
|
|
261
|
-
}
|
|
262
|
-
_loadLocaleData(locale, localeData) {
|
|
263
|
-
const maybeLocaleData = this._localeData[locale];
|
|
264
|
-
if (!maybeLocaleData) {
|
|
265
|
-
this._localeData[locale] = localeData;
|
|
266
|
-
} else {
|
|
267
|
-
Object.assign(maybeLocaleData, localeData);
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
/**
|
|
271
|
-
* Registers a `MessageCompiler` to enable the use of uncompiled catalogs at runtime.
|
|
272
|
-
*
|
|
273
|
-
* In production builds, the `MessageCompiler` is typically excluded to reduce bundle size.
|
|
274
|
-
* By default, message catalogs should be precompiled during the build process. However,
|
|
275
|
-
* if you need to compile catalogs at runtime, you can use this method to set a message compiler.
|
|
276
|
-
*
|
|
277
|
-
* Example usage:
|
|
278
|
-
*
|
|
279
|
-
* ```ts
|
|
280
|
-
* import { compileMessage } from "@lingui/message-utils/compileMessage";
|
|
281
|
-
*
|
|
282
|
-
* i18n.setMessagesCompiler(compileMessage);
|
|
283
|
-
* ```
|
|
284
|
-
*/
|
|
285
|
-
setMessagesCompiler(compiler) {
|
|
286
|
-
this._messageCompiler = compiler;
|
|
287
|
-
return this;
|
|
288
|
-
}
|
|
289
|
-
/**
|
|
290
|
-
* @deprecated Plurals automatically used from Intl.PluralRules you can safely remove this call. Deprecated in v4
|
|
291
|
-
*/
|
|
292
|
-
loadLocaleData(localeOrAllData, localeData) {
|
|
293
|
-
if (typeof localeOrAllData === "string") {
|
|
294
|
-
this._loadLocaleData(localeOrAllData, localeData);
|
|
295
|
-
} else {
|
|
296
|
-
Object.keys(localeOrAllData).forEach(
|
|
297
|
-
(locale) => this._loadLocaleData(locale, localeOrAllData[locale])
|
|
298
|
-
);
|
|
299
|
-
}
|
|
300
|
-
this.emit("change");
|
|
301
|
-
}
|
|
302
|
-
_load(locale, messages) {
|
|
303
|
-
const maybeMessages = this._messages[locale];
|
|
304
|
-
if (!maybeMessages) {
|
|
305
|
-
this._messages[locale] = messages;
|
|
306
|
-
} else {
|
|
307
|
-
Object.assign(maybeMessages, messages);
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
load(localeOrMessages, messages) {
|
|
311
|
-
if (typeof localeOrMessages == "string" && typeof messages === "object") {
|
|
312
|
-
this._load(localeOrMessages, messages);
|
|
313
|
-
} else {
|
|
314
|
-
Object.entries(localeOrMessages).forEach(
|
|
315
|
-
([locale, messages2]) => this._load(locale, messages2)
|
|
316
|
-
);
|
|
317
|
-
}
|
|
318
|
-
this.emit("change");
|
|
319
|
-
}
|
|
320
|
-
/**
|
|
321
|
-
* @param options {@link LoadAndActivateOptions}
|
|
322
|
-
*/
|
|
323
|
-
loadAndActivate({ locale, locales, messages }) {
|
|
324
|
-
this._locale = locale;
|
|
325
|
-
this._locales = locales || void 0;
|
|
326
|
-
this._messages[this._locale] = messages;
|
|
327
|
-
this.emit("change");
|
|
328
|
-
}
|
|
329
|
-
activate(locale, locales) {
|
|
330
|
-
if (process.env.NODE_ENV !== "production") {
|
|
331
|
-
if (!this._messages[locale]) {
|
|
332
|
-
console.warn(`Messages for locale "${locale}" not loaded.`);
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
this._locale = locale;
|
|
336
|
-
this._locales = locales;
|
|
337
|
-
this.emit("change");
|
|
338
|
-
}
|
|
339
|
-
_(id, values, options) {
|
|
340
|
-
if (!this.locale) {
|
|
341
|
-
throw new Error(
|
|
342
|
-
"Lingui: Attempted to call a translation function without setting a locale.\nMake sure to call `i18n.activate(locale)` before using Lingui functions.\nThis issue may also occur due to a race condition in your initialization logic."
|
|
343
|
-
);
|
|
344
|
-
}
|
|
345
|
-
let message = options == null ? void 0 : options.message;
|
|
346
|
-
if (!id) {
|
|
347
|
-
id = "";
|
|
348
|
-
}
|
|
349
|
-
if (!isString(id)) {
|
|
350
|
-
values = id.values || values;
|
|
351
|
-
message = id.message;
|
|
352
|
-
id = id.id;
|
|
353
|
-
}
|
|
354
|
-
const messageForId = this.messages[id];
|
|
355
|
-
const messageMissing = messageForId === void 0;
|
|
356
|
-
const missing = this._missing;
|
|
357
|
-
if (missing && messageMissing) {
|
|
358
|
-
return isFunction(missing) ? missing(this._locale, id) : missing;
|
|
359
|
-
}
|
|
360
|
-
if (messageMissing) {
|
|
361
|
-
this.emit("missing", { id, locale: this._locale });
|
|
362
|
-
}
|
|
363
|
-
let translation = messageForId || message || id;
|
|
364
|
-
if (isString(translation)) {
|
|
365
|
-
if (this._messageCompiler) {
|
|
366
|
-
translation = this._messageCompiler(translation);
|
|
367
|
-
} else {
|
|
368
|
-
console.warn(`Uncompiled message detected! Message:
|
|
369
|
-
|
|
370
|
-
> ${translation}
|
|
371
|
-
|
|
372
|
-
That means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used.
|
|
373
|
-
ICU features such as interpolation and plurals will not work properly for that message.
|
|
374
|
-
|
|
375
|
-
Please compile your catalog first.
|
|
376
|
-
`);
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
if (isString(translation) && UNICODE_REGEX.test(translation))
|
|
380
|
-
return JSON.parse(`"${translation}"`);
|
|
381
|
-
if (isString(translation))
|
|
382
|
-
return translation;
|
|
383
|
-
return interpolate(
|
|
384
|
-
translation,
|
|
385
|
-
this._locale,
|
|
386
|
-
this._locales
|
|
387
|
-
)(values, options == null ? void 0 : options.formats);
|
|
388
|
-
}
|
|
389
|
-
date(value, format) {
|
|
390
|
-
return date(this._locales || this._locale, value, format);
|
|
391
|
-
}
|
|
392
|
-
number(value, format) {
|
|
393
|
-
return number(this._locales || this._locale, value, format);
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
function setupI18n(params = {}) {
|
|
397
|
-
return new I18n(params);
|
|
398
|
-
}
|
|
399
|
-
const i18n = setupI18n();
|
|
400
|
-
export {
|
|
401
|
-
I18n,
|
|
402
|
-
i18n,
|
|
403
|
-
setupI18n
|
|
404
|
-
};
|
|
405
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../node_modules/@lingui/core/dist/index.mjs"],"sourcesContent":["import { unraw } from 'unraw';\nimport { compileMessage } from '@lingui/message-utils/compileMessage';\n\nconst isString = (s) => typeof s === \"string\";\nconst isFunction = (f) => typeof f === \"function\";\n\nconst cache = /* @__PURE__ */ new Map();\nconst defaultLocale = \"en\";\nfunction normalizeLocales(locales) {\n const out = Array.isArray(locales) ? locales : [locales];\n return [...out, defaultLocale];\n}\nfunction date(locales, value, format) {\n const _locales = normalizeLocales(locales);\n if (!format) {\n format = \"default\";\n }\n let o;\n if (typeof format === \"string\") {\n o = {\n day: \"numeric\",\n month: \"short\",\n year: \"numeric\"\n };\n switch (format) {\n case \"full\":\n o.weekday = \"long\";\n case \"long\":\n o.month = \"long\";\n break;\n case \"short\":\n o.month = \"numeric\";\n break;\n }\n } else {\n o = format;\n }\n const formatter = getMemoized(\n () => cacheKey(\"date\", _locales, format),\n () => new Intl.DateTimeFormat(_locales, o)\n );\n return formatter.format(isString(value) ? new Date(value) : value);\n}\nfunction time(locales, value, format) {\n let o;\n if (!format) {\n format = \"default\";\n }\n if (typeof format === \"string\") {\n o = {\n second: \"numeric\",\n minute: \"numeric\",\n hour: \"numeric\"\n };\n switch (format) {\n case \"full\":\n case \"long\":\n o.timeZoneName = \"short\";\n break;\n case \"short\":\n delete o.second;\n }\n } else {\n o = format;\n }\n return date(locales, value, o);\n}\nfunction number(locales, value, format) {\n const _locales = normalizeLocales(locales);\n const formatter = getMemoized(\n () => cacheKey(\"number\", _locales, format),\n () => new Intl.NumberFormat(_locales, format)\n );\n return formatter.format(value);\n}\nfunction plural(locales, ordinal, value, { offset = 0, ...rules }) {\n const _locales = normalizeLocales(locales);\n const plurals = ordinal ? getMemoized(\n () => cacheKey(\"plural-ordinal\", _locales),\n () => new Intl.PluralRules(_locales, { type: \"ordinal\" })\n ) : getMemoized(\n () => cacheKey(\"plural-cardinal\", _locales),\n () => new Intl.PluralRules(_locales, { type: \"cardinal\" })\n );\n return rules[value] ?? rules[plurals.select(value - offset)] ?? rules.other;\n}\nfunction getMemoized(getKey, construct) {\n const key = getKey();\n let formatter = cache.get(key);\n if (!formatter) {\n formatter = construct();\n cache.set(key, formatter);\n }\n return formatter;\n}\nfunction cacheKey(type, locales, options) {\n const localeKey = locales.join(\"-\");\n return `${type}-${localeKey}-${JSON.stringify(options)}`;\n}\n\nconst formats = {\n __proto__: null,\n date: date,\n defaultLocale: defaultLocale,\n number: number,\n plural: plural,\n time: time\n};\n\nconst UNICODE_REGEX = /\\\\u[a-fA-F0-9]{4}|\\\\x[a-fA-F0-9]{2}/;\nconst OCTOTHORPE_PH = \"%__lingui_octothorpe__%\";\nconst getDefaultFormats = (locale, passedLocales, formats = {}) => {\n const locales = passedLocales || locale;\n const style = (format) => {\n if (typeof format === \"object\")\n return format;\n return formats[format];\n };\n const replaceOctothorpe = (value, message) => {\n const numberFormat = Object.keys(formats).length ? style(\"number\") : void 0;\n const valueStr = number(locales, value, numberFormat);\n return message.replace(new RegExp(OCTOTHORPE_PH, \"g\"), valueStr);\n };\n return {\n plural: (value, cases) => {\n const { offset = 0 } = cases;\n const message = plural(locales, false, value, cases);\n return replaceOctothorpe(value - offset, message);\n },\n selectordinal: (value, cases) => {\n const { offset = 0 } = cases;\n const message = plural(locales, true, value, cases);\n return replaceOctothorpe(value - offset, message);\n },\n select: selectFormatter,\n number: (value, format) => number(\n locales,\n value,\n style(format) || { style: format }\n ),\n date: (value, format) => date(locales, value, style(format) || format),\n time: (value, format) => time(locales, value, style(format) || format)\n };\n};\nconst selectFormatter = (value, rules) => rules[value] ?? rules.other;\nfunction interpolate(translation, locale, locales) {\n return (values = {}, formats) => {\n const formatters = getDefaultFormats(locale, locales, formats);\n const formatMessage = (tokens, replaceOctothorpe = false) => {\n if (!Array.isArray(tokens))\n return tokens;\n return tokens.reduce((message, token) => {\n if (token === \"#\" && replaceOctothorpe) {\n return message + OCTOTHORPE_PH;\n }\n if (isString(token)) {\n return message + token;\n }\n const [name, type, format] = token;\n let interpolatedFormat = {};\n if (type === \"plural\" || type === \"selectordinal\" || type === \"select\") {\n Object.entries(format).forEach(\n ([key, value2]) => {\n interpolatedFormat[key] = formatMessage(\n value2,\n type === \"plural\" || type === \"selectordinal\"\n );\n }\n );\n } else {\n interpolatedFormat = format;\n }\n let value;\n if (type) {\n const formatter = formatters[type];\n value = formatter(values[name], interpolatedFormat);\n } else {\n value = values[name];\n }\n if (value == null) {\n return message;\n }\n return message + value;\n }, \"\");\n };\n const result = formatMessage(translation);\n if (isString(result) && UNICODE_REGEX.test(result)) {\n return unraw(result);\n }\n if (isString(result))\n return result;\n return result ? String(result) : \"\";\n };\n}\n\nvar __defProp$1 = Object.defineProperty;\nvar __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField$1 = (obj, key, value) => {\n __defNormalProp$1(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n return value;\n};\nclass EventEmitter {\n constructor() {\n __publicField$1(this, \"_events\", {});\n }\n on(event, listener) {\n var _a;\n (_a = this._events)[event] ?? (_a[event] = []);\n this._events[event].push(listener);\n return () => this.removeListener(event, listener);\n }\n removeListener(event, listener) {\n const maybeListeners = this._getListeners(event);\n if (!maybeListeners)\n return;\n const index = maybeListeners.indexOf(listener);\n if (~index)\n maybeListeners.splice(index, 1);\n }\n emit(event, ...args) {\n const maybeListeners = this._getListeners(event);\n if (!maybeListeners)\n return;\n maybeListeners.map((listener) => listener.apply(this, args));\n }\n _getListeners(event) {\n const maybeListeners = this._events[event];\n return Array.isArray(maybeListeners) ? maybeListeners : false;\n }\n}\n\nvar __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n return value;\n};\nclass I18n extends EventEmitter {\n constructor(params) {\n super();\n __publicField(this, \"_locale\", \"\");\n __publicField(this, \"_locales\");\n __publicField(this, \"_localeData\", {});\n __publicField(this, \"_messages\", {});\n __publicField(this, \"_missing\");\n __publicField(this, \"_messageCompiler\");\n /**\n * Alias for {@see I18n._}\n */\n __publicField(this, \"t\", this._.bind(this));\n if (process.env.NODE_ENV !== \"production\") {\n this.setMessagesCompiler(compileMessage);\n }\n if (params.missing != null)\n this._missing = params.missing;\n if (params.messages != null)\n this.load(params.messages);\n if (params.localeData != null)\n this.loadLocaleData(params.localeData);\n if (typeof params.locale === \"string\" || params.locales) {\n this.activate(params.locale ?? defaultLocale, params.locales);\n }\n }\n get locale() {\n return this._locale;\n }\n get locales() {\n return this._locales;\n }\n get messages() {\n return this._messages[this._locale] ?? {};\n }\n /**\n * @deprecated this has no effect. Please remove this from the code. Deprecated in v4\n */\n get localeData() {\n return this._localeData[this._locale] ?? {};\n }\n _loadLocaleData(locale, localeData) {\n const maybeLocaleData = this._localeData[locale];\n if (!maybeLocaleData) {\n this._localeData[locale] = localeData;\n } else {\n Object.assign(maybeLocaleData, localeData);\n }\n }\n /**\n * Registers a `MessageCompiler` to enable the use of uncompiled catalogs at runtime.\n *\n * In production builds, the `MessageCompiler` is typically excluded to reduce bundle size.\n * By default, message catalogs should be precompiled during the build process. However,\n * if you need to compile catalogs at runtime, you can use this method to set a message compiler.\n *\n * Example usage:\n *\n * ```ts\n * import { compileMessage } from \"@lingui/message-utils/compileMessage\";\n *\n * i18n.setMessagesCompiler(compileMessage);\n * ```\n */\n setMessagesCompiler(compiler) {\n this._messageCompiler = compiler;\n return this;\n }\n /**\n * @deprecated Plurals automatically used from Intl.PluralRules you can safely remove this call. Deprecated in v4\n */\n loadLocaleData(localeOrAllData, localeData) {\n if (typeof localeOrAllData === \"string\") {\n this._loadLocaleData(localeOrAllData, localeData);\n } else {\n Object.keys(localeOrAllData).forEach(\n (locale) => this._loadLocaleData(locale, localeOrAllData[locale])\n );\n }\n this.emit(\"change\");\n }\n _load(locale, messages) {\n const maybeMessages = this._messages[locale];\n if (!maybeMessages) {\n this._messages[locale] = messages;\n } else {\n Object.assign(maybeMessages, messages);\n }\n }\n load(localeOrMessages, messages) {\n if (typeof localeOrMessages == \"string\" && typeof messages === \"object\") {\n this._load(localeOrMessages, messages);\n } else {\n Object.entries(localeOrMessages).forEach(\n ([locale, messages2]) => this._load(locale, messages2)\n );\n }\n this.emit(\"change\");\n }\n /**\n * @param options {@link LoadAndActivateOptions}\n */\n loadAndActivate({ locale, locales, messages }) {\n this._locale = locale;\n this._locales = locales || void 0;\n this._messages[this._locale] = messages;\n this.emit(\"change\");\n }\n activate(locale, locales) {\n if (process.env.NODE_ENV !== \"production\") {\n if (!this._messages[locale]) {\n console.warn(`Messages for locale \"${locale}\" not loaded.`);\n }\n }\n this._locale = locale;\n this._locales = locales;\n this.emit(\"change\");\n }\n _(id, values, options) {\n if (!this.locale) {\n throw new Error(\n \"Lingui: Attempted to call a translation function without setting a locale.\\nMake sure to call `i18n.activate(locale)` before using Lingui functions.\\nThis issue may also occur due to a race condition in your initialization logic.\"\n );\n }\n let message = options?.message;\n if (!id) {\n id = \"\";\n }\n if (!isString(id)) {\n values = id.values || values;\n message = id.message;\n id = id.id;\n }\n const messageForId = this.messages[id];\n const messageMissing = messageForId === void 0;\n const missing = this._missing;\n if (missing && messageMissing) {\n return isFunction(missing) ? missing(this._locale, id) : missing;\n }\n if (messageMissing) {\n this.emit(\"missing\", { id, locale: this._locale });\n }\n let translation = messageForId || message || id;\n if (isString(translation)) {\n if (this._messageCompiler) {\n translation = this._messageCompiler(translation);\n } else {\n console.warn(`Uncompiled message detected! Message:\n\n> ${translation}\n\nThat means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used.\nICU features such as interpolation and plurals will not work properly for that message. \n\nPlease compile your catalog first. \n`);\n }\n }\n if (isString(translation) && UNICODE_REGEX.test(translation))\n return JSON.parse(`\"${translation}\"`);\n if (isString(translation))\n return translation;\n return interpolate(\n translation,\n this._locale,\n this._locales\n )(values, options?.formats);\n }\n date(value, format) {\n return date(this._locales || this._locale, value, format);\n }\n number(value, format) {\n return number(this._locales || this._locale, value, format);\n }\n}\nfunction setupI18n(params = {}) {\n return new I18n(params);\n}\n\nconst i18n = setupI18n();\n\nexport { I18n, formats, i18n, setupI18n };\n"],"names":["unraw"],"mappings":";;AAGA,MAAM,WAAW,CAAC,MAAM,OAAO,MAAM;AACrC,MAAM,aAAa,CAAC,MAAM,OAA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