welcome-ui 1.0.0-beta.3 → 1.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AXB53BZF-BxNazDnS.mjs +25 -0
- package/dist/AXB53BZF-KWM2jKTz.js +1 -0
- package/dist/Accordion.js +16 -30
- package/dist/Accordion.mjs +27 -515
- package/dist/Alert.js +37 -1
- package/dist/Alert.mjs +118 -5
- package/dist/AspectRatio.mjs +7 -7
- package/dist/Avatar.js +3 -3
- package/dist/Avatar.mjs +16 -15
- package/dist/BYC7LY2E-BAjGN7k_.mjs +1074 -0
- package/dist/BYC7LY2E-BkAEL2VD.js +1 -0
- package/dist/Badge.js +3 -3
- package/dist/Badge.mjs +10 -10
- package/dist/Breadcrumb.js +1 -54
- package/dist/Breadcrumb.mjs +7 -437
- package/dist/Button.js +78 -0
- package/dist/Button.mjs +136 -0
- package/dist/ButtonGroup.js +32 -0
- package/dist/ButtonGroup.mjs +51 -0
- package/dist/Card.js +17 -0
- package/dist/Card.mjs +29 -0
- package/dist/Checkbox.js +1 -0
- package/dist/Checkbox.mjs +6 -0
- package/dist/ClearButton.js +14 -0
- package/dist/ClearButton.mjs +26 -0
- package/dist/CloseButton.js +6 -0
- package/dist/CloseButton.mjs +15 -0
- package/dist/CustomInput-9aCUiD6o.js +1070 -0
- package/dist/CustomInput-CenfXh_H.mjs +7825 -0
- package/dist/DatePicker.js +1 -0
- package/dist/DatePicker.mjs +108 -0
- package/dist/DateTimePicker.js +38 -0
- package/dist/DateTimePicker.mjs +109 -0
- package/dist/DateTimePickerCommon.js +1 -0
- package/dist/DateTimePickerCommon.mjs +14 -0
- package/dist/Drawer.js +64 -0
- package/dist/Drawer.mjs +267 -0
- package/dist/DropdownMenu.js +45 -0
- package/dist/DropdownMenu.mjs +776 -0
- package/dist/Field.js +72 -0
- package/dist/Field.mjs +177 -0
- package/dist/FieldGroup.js +13 -0
- package/dist/FieldGroup.mjs +26 -0
- package/dist/FileDrop.js +46 -0
- package/dist/FileDrop.mjs +2325 -0
- package/dist/FileUpload.js +3 -0
- package/dist/FileUpload.mjs +88 -0
- package/dist/Grid.js +1 -0
- package/dist/Grid.mjs +57 -0
- package/dist/Hint.js +8 -0
- package/dist/Hint.mjs +22 -0
- package/dist/ITI7HKP4-BPa8qpnl.js +1 -0
- package/dist/ITI7HKP4-Couz1Z73.mjs +473 -0
- package/dist/Icon.js +17 -0
- package/dist/Icon.mjs +51 -0
- package/dist/IconFont.js +17 -0
- package/dist/IconFont.mjs +348 -0
- package/dist/InputText.js +8 -0
- package/dist/InputText.mjs +81 -0
- package/dist/JC64G2H7-CQsqXPS_.mjs +965 -0
- package/dist/JC64G2H7-YkBMNrtl.js +1 -0
- package/dist/KUU7WJ55-DN8gk6_R.js +1 -0
- package/dist/KUU7WJ55-bC4FU_j7.mjs +61 -0
- package/dist/LVA2YJMS-B2HZjIhJ.js +14 -0
- package/dist/LVA2YJMS-Dm5ieEMw.mjs +1479 -0
- package/dist/Label.js +35 -0
- package/dist/Label.mjs +78 -0
- package/dist/Link.js +43 -0
- package/dist/Link.mjs +77 -0
- package/dist/Loader.js +30 -0
- package/dist/Loader.mjs +48 -0
- package/dist/Logo.js +1 -0
- package/dist/Logo.mjs +8 -0
- package/dist/MTZPJQMC-5Xg78Uyy.js +1 -0
- package/dist/MTZPJQMC-DZ3zg4be.mjs +13 -0
- package/dist/Modal.js +181 -0
- package/dist/Modal.mjs +365 -0
- package/dist/NLEBE274-DvH3XTTw.js +1 -0
- package/dist/NLEBE274-FThuwZH_.mjs +84 -0
- package/dist/P2CTZE2T-5jxBu6ix.mjs +297 -0
- package/dist/P2CTZE2T-q8vyaGc0.js +1 -0
- package/dist/P4IRICAX-DF0_vmod.mjs +37 -0
- package/dist/P4IRICAX-nhgZ26A1.js +1 -0
- package/dist/Pagination.js +46 -0
- package/dist/Pagination.mjs +158 -0
- package/dist/PasswordInput.js +1 -0
- package/dist/PasswordInput.mjs +54 -0
- package/dist/Picker.js +8 -0
- package/dist/Picker.mjs +50 -0
- package/dist/Popover.js +1 -0
- package/dist/Popover.mjs +8 -0
- package/dist/QYJ6MIDR-CRK3satR.js +1 -0
- package/dist/QYJ6MIDR-Cy39pEs2.mjs +97 -0
- package/dist/Radio.js +60 -0
- package/dist/Radio.mjs +118 -0
- package/dist/RadioGroup.js +8 -0
- package/dist/RadioGroup.mjs +68 -0
- package/dist/RadioTab.js +61 -0
- package/dist/RadioTab.mjs +104 -0
- package/dist/SYRFVSLH-BpAfr7UE.js +1 -0
- package/dist/SYRFVSLH-DyepaZf7.mjs +48 -0
- package/dist/Search.js +70 -0
- package/dist/Search.mjs +225 -0
- package/dist/Select.js +122 -0
- package/dist/Select.mjs +1071 -0
- package/dist/Shape.js +23 -0
- package/dist/Shape.mjs +37 -0
- package/dist/Slider.js +190 -0
- package/dist/Slider.mjs +531 -0
- package/dist/Stack.js +1 -0
- package/dist/Stack.mjs +32 -0
- package/dist/Swiper.js +141 -0
- package/dist/Swiper.mjs +448 -0
- package/dist/System.js +1 -1
- package/dist/System.mjs +5 -5
- package/dist/Table.js +55 -0
- package/dist/Table.mjs +75 -0
- package/dist/Tabs.js +82 -0
- package/dist/Tabs.mjs +539 -0
- package/dist/Tag.js +78 -0
- package/dist/Tag.mjs +135 -0
- package/dist/Text.js +46 -0
- package/dist/Text.mjs +97 -0
- package/dist/Textarea.js +6 -0
- package/dist/Textarea.mjs +55 -0
- package/dist/TimePicker.js +4 -0
- package/dist/TimePicker.mjs +88 -0
- package/dist/Toast.js +42 -0
- package/dist/Toast.mjs +264 -0
- package/dist/Toggle.js +75 -0
- package/dist/Toggle.mjs +93 -0
- package/dist/Tooltip.js +68 -0
- package/dist/Tooltip.mjs +303 -0
- package/dist/UniversalLink.js +4 -0
- package/dist/UniversalLink.mjs +25 -0
- package/dist/VEVQD5MH-De4r89YE.mjs +20 -0
- package/dist/VEVQD5MH-mN1wMozH.js +1 -0
- package/dist/VGCJ63VH-BNLwLOaC.js +1 -0
- package/dist/VGCJ63VH-fv0YLRh8.mjs +186 -0
- package/dist/VariantIcon.js +8 -0
- package/dist/VariantIcon.mjs +32 -0
- package/dist/Welcome-BNr4uu5n.mjs +48 -0
- package/dist/Welcome-Dw9OaREs.js +3 -0
- package/dist/WelcomeLoader.js +11 -0
- package/dist/WelcomeLoader.mjs +9453 -0
- package/dist/X5NMLKT6-BzhcQu_I.js +1 -0
- package/dist/X5NMLKT6-DGZEtYXj.mjs +25 -0
- package/dist/YV4JVR4I-1ezWeCCz.mjs +341 -0
- package/dist/YV4JVR4I-DIthYWMj.js +15 -0
- package/dist/_commonjsHelpers-CXJ7dpIk.mjs +9 -0
- package/dist/_commonjsHelpers-DvH0V_XJ.js +1 -0
- package/dist/create-event-YSlay9Ef.js +1 -0
- package/dist/create-event-rXDe5aCQ.mjs +8 -0
- package/dist/downshift.esm-DAo-GJwH.js +1 -0
- package/dist/downshift.esm-K4YLLQXl.mjs +1085 -0
- package/dist/field-styles-CeV7pnOp.mjs +86 -0
- package/dist/field-styles-D_gf6ypV.js +63 -0
- package/dist/get-max-width-height-CDLBnp_J.js +1 -0
- package/dist/get-max-width-height-DoUro2T7.mjs +8 -0
- package/dist/hide-focus-rings-root-BNyva1yb.mjs +14 -0
- package/dist/hide-focus-rings-root-DGU4Klq5.js +5 -0
- package/dist/index-1C9Z0d5Q.mjs +446 -0
- package/dist/index-BHi0wohR.js +142 -0
- package/dist/index-BLom3M2B.js +2 -0
- package/dist/{index-WmqrMIzg.mjs → index-BYdkhqH4.mjs} +6344 -6386
- package/dist/index-C_r0bVmL.js +56 -0
- package/dist/index-CgT8GWHS.js +1 -0
- package/dist/index-ColyClKR.mjs +239 -0
- package/dist/index-CrhKWaM2.js +54 -0
- package/dist/index-Cs1IZBks.js +17 -0
- package/dist/index-DCOLdphy.mjs +184 -0
- package/dist/index-DHOW43M6.mjs +132 -0
- package/dist/index-SbQUT2mU.mjs +639 -0
- package/dist/index.js +5 -147
- package/dist/index.mjs +1448 -537
- package/dist/overflow-ellipsis-C2ESrF8C.js +5 -0
- package/dist/overflow-ellipsis-DGV5Kgt-.mjs +10 -0
- package/dist/radio-group-29lMl-2M.mjs +51 -0
- package/dist/radio-group-BpImAAmy.js +1 -0
- package/dist/throttle-BB1Y3bfD.js +1 -0
- package/dist/throttle-BDBzFeFj.mjs +13 -0
- package/dist/types/components/Alert/Title.d.ts +1 -1
- package/dist/types/components/Alert/index.d.ts +3 -3
- package/dist/types/components/Alert/styles.d.ts +2 -2
- package/dist/types/components/Avatar/index.d.ts +1 -1
- package/dist/types/components/Avatar/styles.d.ts +2 -2
- package/dist/types/components/Badge/styles.d.ts +2 -2
- package/dist/types/components/Card/Cover.d.ts +1 -1
- package/dist/types/components/Card/Cover.styles.d.ts +1 -1
- package/dist/types/components/Checkbox/index.d.ts +13 -0
- package/dist/types/components/Checkbox/styles.d.ts +3 -0
- package/dist/types/components/Checkbox/theme.d.ts +8 -0
- package/dist/types/components/ClearButton/styles.d.ts +1 -1
- package/dist/types/components/CloseButton/styles.d.ts +1 -1
- package/dist/types/components/DatePicker/index.d.ts +15 -0
- package/dist/types/components/DateTimePicker/index.d.ts +5 -0
- package/dist/types/components/DateTimePicker/styles.d.ts +1 -0
- package/dist/types/components/DateTimePickerCommon/CustomHeader.d.ts +18 -0
- package/dist/types/components/DateTimePickerCommon/CustomInput.d.ts +17 -0
- package/dist/types/components/DateTimePickerCommon/CustomPopper.d.ts +4 -0
- package/dist/types/components/DateTimePickerCommon/datePickerStyles.d.ts +1 -0
- package/dist/types/components/DateTimePickerCommon/index.d.ts +5 -0
- package/dist/types/components/DateTimePickerCommon/styles.d.ts +9 -0
- package/dist/types/components/DateTimePickerCommon/theme.d.ts +9 -0
- package/dist/types/components/DateTimePickerCommon/utils.d.ts +6 -0
- package/dist/types/components/Drawer/AssetDrawer/Header.d.ts +31 -0
- package/dist/types/components/Drawer/AssetDrawer/index.d.ts +4 -0
- package/dist/types/components/Drawer/AssetDrawer/styles.d.ts +3 -0
- package/dist/types/components/Drawer/Close.d.ts +5 -0
- package/dist/types/components/Drawer/Content.d.ts +4 -0
- package/dist/types/components/Drawer/Footer.d.ts +4 -0
- package/dist/types/components/Drawer/Title.d.ts +3 -0
- package/dist/types/components/Drawer/index.d.ts +52 -0
- package/dist/types/components/Drawer/styles.d.ts +10 -0
- package/dist/types/components/Drawer/theme.d.ts +17 -0
- package/dist/types/components/DropdownMenu/Arrow.d.ts +4 -0
- package/dist/types/components/DropdownMenu/Arrow.styled.d.ts +4 -0
- package/dist/types/components/DropdownMenu/Item.d.ts +4 -0
- package/dist/types/components/DropdownMenu/Item.styled.d.ts +1 -0
- package/dist/types/components/DropdownMenu/Separator.d.ts +4 -0
- package/dist/types/components/DropdownMenu/Separator.styled.d.ts +1 -0
- package/dist/types/components/DropdownMenu/index.d.ts +25 -0
- package/dist/types/components/DropdownMenu/styles.d.ts +1 -0
- package/dist/types/components/DropdownMenu/theme.d.ts +8 -0
- package/dist/types/components/Field/index.d.ts +26 -0
- package/dist/types/components/Field/styles.d.ts +21 -0
- package/dist/types/components/Field/utils.d.ts +5 -0
- package/dist/types/components/FieldGroup/index.d.ts +11 -0
- package/dist/types/components/FieldGroup/styles.d.ts +1 -0
- package/dist/types/components/FileDrop/FilePreview.d.ts +9 -0
- package/dist/types/components/FileDrop/Message.d.ts +7 -0
- package/dist/types/components/FileDrop/Preview.d.ts +3 -0
- package/dist/types/components/FileDrop/index.d.ts +52 -0
- package/dist/types/components/FileDrop/styles.d.ts +9 -0
- package/dist/types/components/FileDrop/theme.d.ts +9 -0
- package/dist/types/components/FileDrop/utils.d.ts +3 -0
- package/dist/types/components/FileUpload/index.d.ts +35 -0
- package/dist/types/components/FileUpload/styles.d.ts +1 -0
- package/dist/types/components/Files/index.d.ts +8 -0
- package/dist/types/components/Files/types.d.ts +72 -0
- package/dist/types/components/Grid/Item.d.ts +14 -0
- package/dist/types/components/Grid/index.d.ts +31 -0
- package/dist/types/components/Hint/index.d.ts +10 -0
- package/dist/types/components/Hint/styles.d.ts +4 -0
- package/dist/types/components/Hint/theme.d.ts +9 -0
- package/dist/types/components/Icon/index.d.ts +26 -0
- package/dist/types/components/Icon/styles.d.ts +9 -0
- package/dist/types/components/Icon/theme.d.ts +10 -0
- package/dist/types/components/IconFont/index.d.ts +311 -0
- package/dist/types/components/IconFont/styles.d.ts +7 -0
- package/dist/types/components/IconFont/unicode.json.d.ts +303 -0
- package/dist/types/components/InputText/index.d.ts +21 -0
- package/dist/types/components/InputText/styles.d.ts +3 -0
- package/dist/types/components/Label/index.d.ts +16 -0
- package/dist/types/components/Label/styles.d.ts +5 -0
- package/dist/types/components/Label/theme.d.ts +4 -0
- package/dist/types/components/Link/index.d.ts +15 -0
- package/dist/types/components/Link/styles.d.ts +2 -0
- package/dist/types/components/Link/theme.d.ts +16 -0
- package/dist/types/components/Link/utils.d.ts +1 -0
- package/dist/types/components/Loader/index.d.ts +11 -0
- package/dist/types/components/Loader/styles.d.ts +6 -0
- package/dist/types/components/Loader/theme.d.ts +8 -0
- package/dist/types/components/Logo/Solutions.d.ts +3 -0
- package/dist/types/components/Logo/Symbol.d.ts +3 -0
- package/dist/types/components/Logo/Welcome.d.ts +3 -0
- package/dist/types/components/Logo/Wui.d.ts +3 -0
- package/dist/types/components/Logo/index.d.ts +7 -0
- package/dist/types/components/Logo/styles.d.ts +1 -0
- package/dist/types/components/Modal/Assets/AssetWithTitle.d.ts +9 -0
- package/dist/types/components/Modal/Assets/Backdrop.d.ts +4 -0
- package/dist/types/components/Modal/Assets/Iframe.d.ts +5 -0
- package/dist/types/components/Modal/Assets/index.d.ts +17 -0
- package/dist/types/components/Modal/Assets/styles.d.ts +7 -0
- package/dist/types/components/Modal/Close.d.ts +6 -0
- package/dist/types/components/Modal/Content.d.ts +16 -0
- package/dist/types/components/Modal/Footer.d.ts +12 -0
- package/dist/types/components/Modal/Header.d.ts +12 -0
- package/dist/types/components/Modal/index.d.ts +53 -0
- package/dist/types/components/Modal/styles.d.ts +11 -0
- package/dist/types/components/Modal/theme.d.ts +17 -0
- package/dist/types/components/Pagination/index.d.ts +14 -0
- package/dist/types/components/Pagination/styles.d.ts +7 -0
- package/dist/types/components/Pagination/theme.d.ts +9 -0
- package/dist/types/components/Pagination/utils.d.ts +7 -0
- package/dist/types/components/PasswordInput/ToggleButton.d.ts +9 -0
- package/dist/types/components/PasswordInput/index.d.ts +5 -0
- package/dist/types/components/Picker/index.d.ts +17 -0
- package/dist/types/components/Picker/styles.d.ts +2 -0
- package/dist/types/components/Popover/Arrow.d.ts +6 -0
- package/dist/types/components/Popover/Content.d.ts +9 -0
- package/dist/types/components/Popover/Popover.d.ts +14 -0
- package/dist/types/components/Popover/PopoverHover.d.ts +14 -0
- package/dist/types/components/Popover/Trigger.d.ts +10 -0
- package/dist/types/components/Popover/index.d.ts +3 -0
- package/dist/types/components/Popover/styles.d.ts +12 -0
- package/dist/types/components/Popover/theme.d.ts +8 -0
- package/dist/types/components/Popover/usePopover.d.ts +15 -0
- package/dist/types/components/Radio/index.d.ts +12 -0
- package/dist/types/components/Radio/styles.d.ts +7 -0
- package/dist/types/components/Radio/theme.d.ts +11 -0
- package/dist/types/components/RadioGroup/index.d.ts +17 -0
- package/dist/types/components/RadioGroup/styles.d.ts +4 -0
- package/dist/types/components/RadioTab/index.d.ts +14 -0
- package/dist/types/components/RadioTab/styles.d.ts +18 -0
- package/dist/types/components/RadioTab/theme.d.ts +7 -0
- package/dist/types/components/Search/index.d.ts +29 -0
- package/dist/types/components/Search/styles.d.ts +15 -0
- package/dist/types/components/Select/index.d.ts +54 -0
- package/dist/types/components/Select/multipleSelections.d.ts +3 -0
- package/dist/types/components/Select/styles.d.ts +32 -0
- package/dist/types/components/Select/utils.d.ts +18 -0
- package/dist/types/components/Shape/index.d.ts +6 -0
- package/dist/types/components/Shape/styles.d.ts +2 -0
- package/dist/types/components/Slider/Range.d.ts +17 -0
- package/dist/types/components/Slider/index.d.ts +27 -0
- package/dist/types/components/Slider/styles.d.ts +19 -0
- package/dist/types/components/Slider/theme.d.ts +11 -0
- package/dist/types/components/Stack/index.d.ts +7 -0
- package/dist/types/components/Swiper/index.d.ts +80 -0
- package/dist/types/components/Swiper/styles.d.ts +138 -0
- package/dist/types/components/Swiper/theme.d.ts +11 -0
- package/dist/types/components/Swiper/use-interval.d.ts +1 -0
- package/dist/types/components/Table/index.d.ts +18 -0
- package/dist/types/components/Table/styles.d.ts +13 -0
- package/dist/types/components/Table/theme.d.ts +15 -0
- package/dist/types/components/Tabs/ActiveBar.d.ts +13 -0
- package/dist/types/components/Tabs/TabList.d.ts +13 -0
- package/dist/types/components/Tabs/TabPanel.d.ts +11 -0
- package/dist/types/components/Tabs/index.d.ts +18 -0
- package/dist/types/components/Tabs/styles.d.ts +9 -0
- package/dist/types/components/Tabs/theme.d.ts +28 -0
- package/dist/types/components/Tabs/utils.d.ts +1 -0
- package/dist/types/components/Tag/index.d.ts +17 -0
- package/dist/types/components/Tag/styles.d.ts +15 -0
- package/dist/types/components/Tag/theme.d.ts +14 -0
- package/dist/types/components/Text/index.d.ts +25 -0
- package/dist/types/components/Text/styles.d.ts +2 -0
- package/dist/types/components/Textarea/index.d.ts +18 -0
- package/dist/types/components/Textarea/styles.d.ts +2 -0
- package/dist/types/components/Textarea/theme.d.ts +4 -0
- package/dist/types/components/TimePicker/index.d.ts +13 -0
- package/dist/types/components/TimePicker/styles.d.ts +1 -0
- package/dist/types/components/Toast/Growl.d.ts +12 -0
- package/dist/types/components/Toast/Snackbar.d.ts +18 -0
- package/dist/types/components/Toast/ToastWrapper.d.ts +16 -0
- package/dist/types/components/Toast/index.d.ts +27 -0
- package/dist/types/components/Toast/styles.d.ts +19 -0
- package/dist/types/components/Toast/theme.d.ts +22 -0
- package/dist/types/components/Toast/utils.d.ts +26 -0
- package/dist/types/components/Toggle/index.d.ts +11 -0
- package/dist/types/components/Toggle/styles.d.ts +12 -0
- package/dist/types/components/Toggle/theme.d.ts +10 -0
- package/dist/types/components/Tooltip/index.d.ts +11 -0
- package/dist/types/components/Tooltip/styles.d.ts +10 -0
- package/dist/types/components/Tooltip/theme.d.ts +4 -0
- package/dist/types/components/UniversalLink/index.d.ts +7 -0
- package/dist/types/components/UniversalLink/styles.d.ts +1 -0
- package/dist/types/components/VariantIcon/index.d.ts +11 -0
- package/dist/types/components/VariantIcon/styles.d.ts +4 -0
- package/dist/types/components/VariantIcon/theme.d.ts +10 -0
- package/dist/types/components/WelcomeLoader/index.d.ts +2 -0
- package/dist/types/components/WelcomeLoader/loader.json.d.ts +3 -0
- package/dist/types/components/index.d.ts +43 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/theme/defaultFields.d.ts +39 -0
- package/dist/types/theme/index.d.ts +52 -2
- package/dist/types/theme/typography.d.ts +2 -2
- package/dist/types/utils/clamp.d.ts +1 -0
- package/dist/types/utils/create-event.d.ts +8 -0
- package/dist/types/utils/field-styles.d.ts +21 -0
- package/dist/types/utils/format-bytes.d.ts +1 -0
- package/dist/types/utils/get-max-width-height.d.ts +1 -0
- package/dist/types/utils/hex-to-rgb.d.ts +1 -0
- package/dist/types/utils/hex-to-rgba.d.ts +1 -0
- package/dist/types/utils/hide-focus-rings-root.d.ts +8 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/overflow-ellipsis.d.ts +1 -0
- package/dist/types/utils/throttle.d.ts +5 -0
- package/dist/types/utils/use-copy-text.d.ts +5 -0
- package/dist/types/utils/use-create-portal.d.ts +4 -0
- package/dist/types/utils/use-fork-ref.d.ts +3 -0
- package/dist/types/utils/use-isomorphic-layout-effect.d.ts +2 -0
- package/dist/types/utils/use-viewport.d.ts +6 -0
- package/dist/types/utils/wrap-children.d.ts +1 -0
- package/dist/use-isomorphic-layout-effect-C1_Gy5Nu.js +1 -0
- package/dist/use-isomorphic-layout-effect-Izr-e2pi.mjs +6 -0
- package/dist/use-viewport-BDDjd1nl.js +1 -0
- package/dist/use-viewport-m3glsbna.mjs +16 -0
- package/dist/usePopover-CZsYHcTW.js +31 -0
- package/dist/usePopover-CcsC9Y-s.mjs +143 -0
- package/dist/wrap-children-BLDjJiiy.js +1 -0
- package/dist/wrap-children-aq69jtFP.mjs +12 -0
- package/package.json +56 -4
- package/dist/X5NMLKT6-BC1Q56kB.mjs +0 -1258
- package/dist/X5NMLKT6-vrNG8i_R.js +0 -14
- package/dist/index-0MPAX4B5.mjs +0 -320
- package/dist/index-BNA_A0oa.js +0 -155
- package/dist/index-BXJQXgy9.js +0 -13
- package/dist/index-Bwrtxit1.mjs +0 -84
- package/dist/index-Ct2FOeyM.js +0 -17
- package/dist/index-DRNn5iIc.js +0 -142
- package/dist/index-Du8Nrf16.mjs +0 -128
- package/dist/index-MifIgNHW.mjs +0 -47
- package/dist/index-V28zHt_Z.js +0 -68
|
@@ -0,0 +1,639 @@
|
|
|
1
|
+
import { g as Ee } from "./_commonjsHelpers-CXJ7dpIk.mjs";
|
|
2
|
+
var ae = { exports: {} }, V = { exports: {} }, m = {}, fe;
|
|
3
|
+
function ge() {
|
|
4
|
+
if (fe) return m;
|
|
5
|
+
fe = 1;
|
|
6
|
+
var o = typeof Symbol == "function" && Symbol.for, I = o ? Symbol.for("react.element") : 60103, O = o ? Symbol.for("react.portal") : 60106, y = o ? Symbol.for("react.fragment") : 60107, S = o ? Symbol.for("react.strict_mode") : 60108, a = o ? Symbol.for("react.profiler") : 60114, P = o ? Symbol.for("react.provider") : 60109, l = o ? Symbol.for("react.context") : 60110, _ = o ? Symbol.for("react.async_mode") : 60111, g = o ? Symbol.for("react.concurrent_mode") : 60111, b = o ? Symbol.for("react.forward_ref") : 60112, E = o ? Symbol.for("react.suspense") : 60113, C = o ? Symbol.for("react.suspense_list") : 60120, x = o ? Symbol.for("react.memo") : 60115, M = o ? Symbol.for("react.lazy") : 60116, R = o ? Symbol.for("react.block") : 60121, j = o ? Symbol.for("react.fundamental") : 60117, Y = o ? Symbol.for("react.responder") : 60118, F = o ? Symbol.for("react.scope") : 60119;
|
|
7
|
+
function A(t) {
|
|
8
|
+
if (typeof t == "object" && t !== null) {
|
|
9
|
+
var k = t.$$typeof;
|
|
10
|
+
switch (k) {
|
|
11
|
+
case I:
|
|
12
|
+
switch (t = t.type, t) {
|
|
13
|
+
case _:
|
|
14
|
+
case g:
|
|
15
|
+
case y:
|
|
16
|
+
case a:
|
|
17
|
+
case S:
|
|
18
|
+
case E:
|
|
19
|
+
return t;
|
|
20
|
+
default:
|
|
21
|
+
switch (t = t && t.$$typeof, t) {
|
|
22
|
+
case l:
|
|
23
|
+
case b:
|
|
24
|
+
case M:
|
|
25
|
+
case x:
|
|
26
|
+
case P:
|
|
27
|
+
return t;
|
|
28
|
+
default:
|
|
29
|
+
return k;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
case O:
|
|
33
|
+
return k;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
function w(t) {
|
|
38
|
+
return A(t) === g;
|
|
39
|
+
}
|
|
40
|
+
return m.AsyncMode = _, m.ConcurrentMode = g, m.ContextConsumer = l, m.ContextProvider = P, m.Element = I, m.ForwardRef = b, m.Fragment = y, m.Lazy = M, m.Memo = x, m.Portal = O, m.Profiler = a, m.StrictMode = S, m.Suspense = E, m.isAsyncMode = function(t) {
|
|
41
|
+
return w(t) || A(t) === _;
|
|
42
|
+
}, m.isConcurrentMode = w, m.isContextConsumer = function(t) {
|
|
43
|
+
return A(t) === l;
|
|
44
|
+
}, m.isContextProvider = function(t) {
|
|
45
|
+
return A(t) === P;
|
|
46
|
+
}, m.isElement = function(t) {
|
|
47
|
+
return typeof t == "object" && t !== null && t.$$typeof === I;
|
|
48
|
+
}, m.isForwardRef = function(t) {
|
|
49
|
+
return A(t) === b;
|
|
50
|
+
}, m.isFragment = function(t) {
|
|
51
|
+
return A(t) === y;
|
|
52
|
+
}, m.isLazy = function(t) {
|
|
53
|
+
return A(t) === M;
|
|
54
|
+
}, m.isMemo = function(t) {
|
|
55
|
+
return A(t) === x;
|
|
56
|
+
}, m.isPortal = function(t) {
|
|
57
|
+
return A(t) === O;
|
|
58
|
+
}, m.isProfiler = function(t) {
|
|
59
|
+
return A(t) === a;
|
|
60
|
+
}, m.isStrictMode = function(t) {
|
|
61
|
+
return A(t) === S;
|
|
62
|
+
}, m.isSuspense = function(t) {
|
|
63
|
+
return A(t) === E;
|
|
64
|
+
}, m.isValidElementType = function(t) {
|
|
65
|
+
return typeof t == "string" || typeof t == "function" || t === y || t === g || t === a || t === S || t === E || t === C || typeof t == "object" && t !== null && (t.$$typeof === M || t.$$typeof === x || t.$$typeof === P || t.$$typeof === l || t.$$typeof === b || t.$$typeof === j || t.$$typeof === Y || t.$$typeof === F || t.$$typeof === R);
|
|
66
|
+
}, m.typeOf = A, m;
|
|
67
|
+
}
|
|
68
|
+
var T = {}, ue;
|
|
69
|
+
function Se() {
|
|
70
|
+
return ue || (ue = 1, process.env.NODE_ENV !== "production" && function() {
|
|
71
|
+
var o = typeof Symbol == "function" && Symbol.for, I = o ? Symbol.for("react.element") : 60103, O = o ? Symbol.for("react.portal") : 60106, y = o ? Symbol.for("react.fragment") : 60107, S = o ? Symbol.for("react.strict_mode") : 60108, a = o ? Symbol.for("react.profiler") : 60114, P = o ? Symbol.for("react.provider") : 60109, l = o ? Symbol.for("react.context") : 60110, _ = o ? Symbol.for("react.async_mode") : 60111, g = o ? Symbol.for("react.concurrent_mode") : 60111, b = o ? Symbol.for("react.forward_ref") : 60112, E = o ? Symbol.for("react.suspense") : 60113, C = o ? Symbol.for("react.suspense_list") : 60120, x = o ? Symbol.for("react.memo") : 60115, M = o ? Symbol.for("react.lazy") : 60116, R = o ? Symbol.for("react.block") : 60121, j = o ? Symbol.for("react.fundamental") : 60117, Y = o ? Symbol.for("react.responder") : 60118, F = o ? Symbol.for("react.scope") : 60119;
|
|
72
|
+
function A(r) {
|
|
73
|
+
return typeof r == "string" || typeof r == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
74
|
+
r === y || r === g || r === a || r === S || r === E || r === C || typeof r == "object" && r !== null && (r.$$typeof === M || r.$$typeof === x || r.$$typeof === P || r.$$typeof === l || r.$$typeof === b || r.$$typeof === j || r.$$typeof === Y || r.$$typeof === F || r.$$typeof === R);
|
|
75
|
+
}
|
|
76
|
+
function w(r) {
|
|
77
|
+
if (typeof r == "object" && r !== null) {
|
|
78
|
+
var D = r.$$typeof;
|
|
79
|
+
switch (D) {
|
|
80
|
+
case I:
|
|
81
|
+
var B = r.type;
|
|
82
|
+
switch (B) {
|
|
83
|
+
case _:
|
|
84
|
+
case g:
|
|
85
|
+
case y:
|
|
86
|
+
case a:
|
|
87
|
+
case S:
|
|
88
|
+
case E:
|
|
89
|
+
return B;
|
|
90
|
+
default:
|
|
91
|
+
var se = B && B.$$typeof;
|
|
92
|
+
switch (se) {
|
|
93
|
+
case l:
|
|
94
|
+
case b:
|
|
95
|
+
case M:
|
|
96
|
+
case x:
|
|
97
|
+
case P:
|
|
98
|
+
return se;
|
|
99
|
+
default:
|
|
100
|
+
return D;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
case O:
|
|
104
|
+
return D;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
var t = _, k = g, N = l, H = P, J = I, X = b, U = y, G = M, K = x, L = O, Z = a, q = S, W = E, z = !1;
|
|
109
|
+
function Q(r) {
|
|
110
|
+
return z || (z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), e(r) || w(r) === _;
|
|
111
|
+
}
|
|
112
|
+
function e(r) {
|
|
113
|
+
return w(r) === g;
|
|
114
|
+
}
|
|
115
|
+
function n(r) {
|
|
116
|
+
return w(r) === l;
|
|
117
|
+
}
|
|
118
|
+
function u(r) {
|
|
119
|
+
return w(r) === P;
|
|
120
|
+
}
|
|
121
|
+
function s(r) {
|
|
122
|
+
return typeof r == "object" && r !== null && r.$$typeof === I;
|
|
123
|
+
}
|
|
124
|
+
function i(r) {
|
|
125
|
+
return w(r) === b;
|
|
126
|
+
}
|
|
127
|
+
function p(r) {
|
|
128
|
+
return w(r) === y;
|
|
129
|
+
}
|
|
130
|
+
function c(r) {
|
|
131
|
+
return w(r) === M;
|
|
132
|
+
}
|
|
133
|
+
function f(r) {
|
|
134
|
+
return w(r) === x;
|
|
135
|
+
}
|
|
136
|
+
function d(r) {
|
|
137
|
+
return w(r) === O;
|
|
138
|
+
}
|
|
139
|
+
function h(r) {
|
|
140
|
+
return w(r) === a;
|
|
141
|
+
}
|
|
142
|
+
function v(r) {
|
|
143
|
+
return w(r) === S;
|
|
144
|
+
}
|
|
145
|
+
function $(r) {
|
|
146
|
+
return w(r) === E;
|
|
147
|
+
}
|
|
148
|
+
T.AsyncMode = t, T.ConcurrentMode = k, T.ContextConsumer = N, T.ContextProvider = H, T.Element = J, T.ForwardRef = X, T.Fragment = U, T.Lazy = G, T.Memo = K, T.Portal = L, T.Profiler = Z, T.StrictMode = q, T.Suspense = W, T.isAsyncMode = Q, T.isConcurrentMode = e, T.isContextConsumer = n, T.isContextProvider = u, T.isElement = s, T.isForwardRef = i, T.isFragment = p, T.isLazy = c, T.isMemo = f, T.isPortal = d, T.isProfiler = h, T.isStrictMode = v, T.isSuspense = $, T.isValidElementType = A, T.typeOf = w;
|
|
149
|
+
}()), T;
|
|
150
|
+
}
|
|
151
|
+
var le;
|
|
152
|
+
function Te() {
|
|
153
|
+
return le || (le = 1, process.env.NODE_ENV === "production" ? V.exports = ge() : V.exports = Se()), V.exports;
|
|
154
|
+
}
|
|
155
|
+
var ee, ye;
|
|
156
|
+
function Pe() {
|
|
157
|
+
if (ye) return ee;
|
|
158
|
+
ye = 1;
|
|
159
|
+
var o = Object.getOwnPropertySymbols, I = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
|
|
160
|
+
function y(a) {
|
|
161
|
+
if (a == null)
|
|
162
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
163
|
+
return Object(a);
|
|
164
|
+
}
|
|
165
|
+
function S() {
|
|
166
|
+
try {
|
|
167
|
+
if (!Object.assign)
|
|
168
|
+
return !1;
|
|
169
|
+
var a = new String("abc");
|
|
170
|
+
if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
|
|
171
|
+
return !1;
|
|
172
|
+
for (var P = {}, l = 0; l < 10; l++)
|
|
173
|
+
P["_" + String.fromCharCode(l)] = l;
|
|
174
|
+
var _ = Object.getOwnPropertyNames(P).map(function(b) {
|
|
175
|
+
return P[b];
|
|
176
|
+
});
|
|
177
|
+
if (_.join("") !== "0123456789")
|
|
178
|
+
return !1;
|
|
179
|
+
var g = {};
|
|
180
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(b) {
|
|
181
|
+
g[b] = b;
|
|
182
|
+
}), Object.keys(Object.assign({}, g)).join("") === "abcdefghijklmnopqrst";
|
|
183
|
+
} catch {
|
|
184
|
+
return !1;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
return ee = S() ? Object.assign : function(a, P) {
|
|
188
|
+
for (var l, _ = y(a), g, b = 1; b < arguments.length; b++) {
|
|
189
|
+
l = Object(arguments[b]);
|
|
190
|
+
for (var E in l)
|
|
191
|
+
I.call(l, E) && (_[E] = l[E]);
|
|
192
|
+
if (o) {
|
|
193
|
+
g = o(l);
|
|
194
|
+
for (var C = 0; C < g.length; C++)
|
|
195
|
+
O.call(l, g[C]) && (_[g[C]] = l[g[C]]);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
return _;
|
|
199
|
+
}, ee;
|
|
200
|
+
}
|
|
201
|
+
var re, pe;
|
|
202
|
+
function ce() {
|
|
203
|
+
if (pe) return re;
|
|
204
|
+
pe = 1;
|
|
205
|
+
var o = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
206
|
+
return re = o, re;
|
|
207
|
+
}
|
|
208
|
+
var te, de;
|
|
209
|
+
function he() {
|
|
210
|
+
return de || (de = 1, te = Function.call.bind(Object.prototype.hasOwnProperty)), te;
|
|
211
|
+
}
|
|
212
|
+
var ne, ve;
|
|
213
|
+
function Oe() {
|
|
214
|
+
if (ve) return ne;
|
|
215
|
+
ve = 1;
|
|
216
|
+
var o = function() {
|
|
217
|
+
};
|
|
218
|
+
if (process.env.NODE_ENV !== "production") {
|
|
219
|
+
var I = ce(), O = {}, y = he();
|
|
220
|
+
o = function(a) {
|
|
221
|
+
var P = "Warning: " + a;
|
|
222
|
+
typeof console < "u" && console.error(P);
|
|
223
|
+
try {
|
|
224
|
+
throw new Error(P);
|
|
225
|
+
} catch {
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
function S(a, P, l, _, g) {
|
|
230
|
+
if (process.env.NODE_ENV !== "production") {
|
|
231
|
+
for (var b in a)
|
|
232
|
+
if (y(a, b)) {
|
|
233
|
+
var E;
|
|
234
|
+
try {
|
|
235
|
+
if (typeof a[b] != "function") {
|
|
236
|
+
var C = Error(
|
|
237
|
+
(_ || "React class") + ": " + l + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
238
|
+
);
|
|
239
|
+
throw C.name = "Invariant Violation", C;
|
|
240
|
+
}
|
|
241
|
+
E = a[b](P, b, _, l, null, I);
|
|
242
|
+
} catch (M) {
|
|
243
|
+
E = M;
|
|
244
|
+
}
|
|
245
|
+
if (E && !(E instanceof Error) && o(
|
|
246
|
+
(_ || "React class") + ": type specification of " + l + " `" + b + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof E + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
247
|
+
), E instanceof Error && !(E.message in O)) {
|
|
248
|
+
O[E.message] = !0;
|
|
249
|
+
var x = g ? g() : "";
|
|
250
|
+
o(
|
|
251
|
+
"Failed " + l + " type: " + E.message + (x ?? "")
|
|
252
|
+
);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
return S.resetWarningCache = function() {
|
|
258
|
+
process.env.NODE_ENV !== "production" && (O = {});
|
|
259
|
+
}, ne = S, ne;
|
|
260
|
+
}
|
|
261
|
+
var oe, be;
|
|
262
|
+
function _e() {
|
|
263
|
+
if (be) return oe;
|
|
264
|
+
be = 1;
|
|
265
|
+
var o = Te(), I = Pe(), O = ce(), y = he(), S = Oe(), a = function() {
|
|
266
|
+
};
|
|
267
|
+
process.env.NODE_ENV !== "production" && (a = function(l) {
|
|
268
|
+
var _ = "Warning: " + l;
|
|
269
|
+
typeof console < "u" && console.error(_);
|
|
270
|
+
try {
|
|
271
|
+
throw new Error(_);
|
|
272
|
+
} catch {
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
function P() {
|
|
276
|
+
return null;
|
|
277
|
+
}
|
|
278
|
+
return oe = function(l, _) {
|
|
279
|
+
var g = typeof Symbol == "function" && Symbol.iterator, b = "@@iterator";
|
|
280
|
+
function E(e) {
|
|
281
|
+
var n = e && (g && e[g] || e[b]);
|
|
282
|
+
if (typeof n == "function")
|
|
283
|
+
return n;
|
|
284
|
+
}
|
|
285
|
+
var C = "<<anonymous>>", x = {
|
|
286
|
+
array: Y("array"),
|
|
287
|
+
bigint: Y("bigint"),
|
|
288
|
+
bool: Y("boolean"),
|
|
289
|
+
func: Y("function"),
|
|
290
|
+
number: Y("number"),
|
|
291
|
+
object: Y("object"),
|
|
292
|
+
string: Y("string"),
|
|
293
|
+
symbol: Y("symbol"),
|
|
294
|
+
any: F(),
|
|
295
|
+
arrayOf: A,
|
|
296
|
+
element: w(),
|
|
297
|
+
elementType: t(),
|
|
298
|
+
instanceOf: k,
|
|
299
|
+
node: X(),
|
|
300
|
+
objectOf: H,
|
|
301
|
+
oneOf: N,
|
|
302
|
+
oneOfType: J,
|
|
303
|
+
shape: G,
|
|
304
|
+
exact: K
|
|
305
|
+
};
|
|
306
|
+
function M(e, n) {
|
|
307
|
+
return e === n ? e !== 0 || 1 / e === 1 / n : e !== e && n !== n;
|
|
308
|
+
}
|
|
309
|
+
function R(e, n) {
|
|
310
|
+
this.message = e, this.data = n && typeof n == "object" ? n : {}, this.stack = "";
|
|
311
|
+
}
|
|
312
|
+
R.prototype = Error.prototype;
|
|
313
|
+
function j(e) {
|
|
314
|
+
if (process.env.NODE_ENV !== "production")
|
|
315
|
+
var n = {}, u = 0;
|
|
316
|
+
function s(p, c, f, d, h, v, $) {
|
|
317
|
+
if (d = d || C, v = v || f, $ !== O) {
|
|
318
|
+
if (_) {
|
|
319
|
+
var r = new Error(
|
|
320
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
321
|
+
);
|
|
322
|
+
throw r.name = "Invariant Violation", r;
|
|
323
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
324
|
+
var D = d + ":" + f;
|
|
325
|
+
!n[D] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
326
|
+
u < 3 && (a(
|
|
327
|
+
"You are manually calling a React.PropTypes validation function for the `" + v + "` prop on `" + d + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
328
|
+
), n[D] = !0, u++);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
return c[f] == null ? p ? c[f] === null ? new R("The " + h + " `" + v + "` is marked as required " + ("in `" + d + "`, but its value is `null`.")) : new R("The " + h + " `" + v + "` is marked as required in " + ("`" + d + "`, but its value is `undefined`.")) : null : e(c, f, d, h, v);
|
|
332
|
+
}
|
|
333
|
+
var i = s.bind(null, !1);
|
|
334
|
+
return i.isRequired = s.bind(null, !0), i;
|
|
335
|
+
}
|
|
336
|
+
function Y(e) {
|
|
337
|
+
function n(u, s, i, p, c, f) {
|
|
338
|
+
var d = u[s], h = q(d);
|
|
339
|
+
if (h !== e) {
|
|
340
|
+
var v = W(d);
|
|
341
|
+
return new R(
|
|
342
|
+
"Invalid " + p + " `" + c + "` of type " + ("`" + v + "` supplied to `" + i + "`, expected ") + ("`" + e + "`."),
|
|
343
|
+
{ expectedType: e }
|
|
344
|
+
);
|
|
345
|
+
}
|
|
346
|
+
return null;
|
|
347
|
+
}
|
|
348
|
+
return j(n);
|
|
349
|
+
}
|
|
350
|
+
function F() {
|
|
351
|
+
return j(P);
|
|
352
|
+
}
|
|
353
|
+
function A(e) {
|
|
354
|
+
function n(u, s, i, p, c) {
|
|
355
|
+
if (typeof e != "function")
|
|
356
|
+
return new R("Property `" + c + "` of component `" + i + "` has invalid PropType notation inside arrayOf.");
|
|
357
|
+
var f = u[s];
|
|
358
|
+
if (!Array.isArray(f)) {
|
|
359
|
+
var d = q(f);
|
|
360
|
+
return new R("Invalid " + p + " `" + c + "` of type " + ("`" + d + "` supplied to `" + i + "`, expected an array."));
|
|
361
|
+
}
|
|
362
|
+
for (var h = 0; h < f.length; h++) {
|
|
363
|
+
var v = e(f, h, i, p, c + "[" + h + "]", O);
|
|
364
|
+
if (v instanceof Error)
|
|
365
|
+
return v;
|
|
366
|
+
}
|
|
367
|
+
return null;
|
|
368
|
+
}
|
|
369
|
+
return j(n);
|
|
370
|
+
}
|
|
371
|
+
function w() {
|
|
372
|
+
function e(n, u, s, i, p) {
|
|
373
|
+
var c = n[u];
|
|
374
|
+
if (!l(c)) {
|
|
375
|
+
var f = q(c);
|
|
376
|
+
return new R("Invalid " + i + " `" + p + "` of type " + ("`" + f + "` supplied to `" + s + "`, expected a single ReactElement."));
|
|
377
|
+
}
|
|
378
|
+
return null;
|
|
379
|
+
}
|
|
380
|
+
return j(e);
|
|
381
|
+
}
|
|
382
|
+
function t() {
|
|
383
|
+
function e(n, u, s, i, p) {
|
|
384
|
+
var c = n[u];
|
|
385
|
+
if (!o.isValidElementType(c)) {
|
|
386
|
+
var f = q(c);
|
|
387
|
+
return new R("Invalid " + i + " `" + p + "` of type " + ("`" + f + "` supplied to `" + s + "`, expected a single ReactElement type."));
|
|
388
|
+
}
|
|
389
|
+
return null;
|
|
390
|
+
}
|
|
391
|
+
return j(e);
|
|
392
|
+
}
|
|
393
|
+
function k(e) {
|
|
394
|
+
function n(u, s, i, p, c) {
|
|
395
|
+
if (!(u[s] instanceof e)) {
|
|
396
|
+
var f = e.name || C, d = Q(u[s]);
|
|
397
|
+
return new R("Invalid " + p + " `" + c + "` of type " + ("`" + d + "` supplied to `" + i + "`, expected ") + ("instance of `" + f + "`."));
|
|
398
|
+
}
|
|
399
|
+
return null;
|
|
400
|
+
}
|
|
401
|
+
return j(n);
|
|
402
|
+
}
|
|
403
|
+
function N(e) {
|
|
404
|
+
if (!Array.isArray(e))
|
|
405
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
406
|
+
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
407
|
+
) : a("Invalid argument supplied to oneOf, expected an array.")), P;
|
|
408
|
+
function n(u, s, i, p, c) {
|
|
409
|
+
for (var f = u[s], d = 0; d < e.length; d++)
|
|
410
|
+
if (M(f, e[d]))
|
|
411
|
+
return null;
|
|
412
|
+
var h = JSON.stringify(e, function($, r) {
|
|
413
|
+
var D = W(r);
|
|
414
|
+
return D === "symbol" ? String(r) : r;
|
|
415
|
+
});
|
|
416
|
+
return new R("Invalid " + p + " `" + c + "` of value `" + String(f) + "` " + ("supplied to `" + i + "`, expected one of " + h + "."));
|
|
417
|
+
}
|
|
418
|
+
return j(n);
|
|
419
|
+
}
|
|
420
|
+
function H(e) {
|
|
421
|
+
function n(u, s, i, p, c) {
|
|
422
|
+
if (typeof e != "function")
|
|
423
|
+
return new R("Property `" + c + "` of component `" + i + "` has invalid PropType notation inside objectOf.");
|
|
424
|
+
var f = u[s], d = q(f);
|
|
425
|
+
if (d !== "object")
|
|
426
|
+
return new R("Invalid " + p + " `" + c + "` of type " + ("`" + d + "` supplied to `" + i + "`, expected an object."));
|
|
427
|
+
for (var h in f)
|
|
428
|
+
if (y(f, h)) {
|
|
429
|
+
var v = e(f, h, i, p, c + "." + h, O);
|
|
430
|
+
if (v instanceof Error)
|
|
431
|
+
return v;
|
|
432
|
+
}
|
|
433
|
+
return null;
|
|
434
|
+
}
|
|
435
|
+
return j(n);
|
|
436
|
+
}
|
|
437
|
+
function J(e) {
|
|
438
|
+
if (!Array.isArray(e))
|
|
439
|
+
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), P;
|
|
440
|
+
for (var n = 0; n < e.length; n++) {
|
|
441
|
+
var u = e[n];
|
|
442
|
+
if (typeof u != "function")
|
|
443
|
+
return a(
|
|
444
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + z(u) + " at index " + n + "."
|
|
445
|
+
), P;
|
|
446
|
+
}
|
|
447
|
+
function s(i, p, c, f, d) {
|
|
448
|
+
for (var h = [], v = 0; v < e.length; v++) {
|
|
449
|
+
var $ = e[v], r = $(i, p, c, f, d, O);
|
|
450
|
+
if (r == null)
|
|
451
|
+
return null;
|
|
452
|
+
r.data && y(r.data, "expectedType") && h.push(r.data.expectedType);
|
|
453
|
+
}
|
|
454
|
+
var D = h.length > 0 ? ", expected one of type [" + h.join(", ") + "]" : "";
|
|
455
|
+
return new R("Invalid " + f + " `" + d + "` supplied to " + ("`" + c + "`" + D + "."));
|
|
456
|
+
}
|
|
457
|
+
return j(s);
|
|
458
|
+
}
|
|
459
|
+
function X() {
|
|
460
|
+
function e(n, u, s, i, p) {
|
|
461
|
+
return L(n[u]) ? null : new R("Invalid " + i + " `" + p + "` supplied to " + ("`" + s + "`, expected a ReactNode."));
|
|
462
|
+
}
|
|
463
|
+
return j(e);
|
|
464
|
+
}
|
|
465
|
+
function U(e, n, u, s, i) {
|
|
466
|
+
return new R(
|
|
467
|
+
(e || "React class") + ": " + n + " type `" + u + "." + s + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + i + "`."
|
|
468
|
+
);
|
|
469
|
+
}
|
|
470
|
+
function G(e) {
|
|
471
|
+
function n(u, s, i, p, c) {
|
|
472
|
+
var f = u[s], d = q(f);
|
|
473
|
+
if (d !== "object")
|
|
474
|
+
return new R("Invalid " + p + " `" + c + "` of type `" + d + "` " + ("supplied to `" + i + "`, expected `object`."));
|
|
475
|
+
for (var h in e) {
|
|
476
|
+
var v = e[h];
|
|
477
|
+
if (typeof v != "function")
|
|
478
|
+
return U(i, p, c, h, W(v));
|
|
479
|
+
var $ = v(f, h, i, p, c + "." + h, O);
|
|
480
|
+
if ($)
|
|
481
|
+
return $;
|
|
482
|
+
}
|
|
483
|
+
return null;
|
|
484
|
+
}
|
|
485
|
+
return j(n);
|
|
486
|
+
}
|
|
487
|
+
function K(e) {
|
|
488
|
+
function n(u, s, i, p, c) {
|
|
489
|
+
var f = u[s], d = q(f);
|
|
490
|
+
if (d !== "object")
|
|
491
|
+
return new R("Invalid " + p + " `" + c + "` of type `" + d + "` " + ("supplied to `" + i + "`, expected `object`."));
|
|
492
|
+
var h = I({}, u[s], e);
|
|
493
|
+
for (var v in h) {
|
|
494
|
+
var $ = e[v];
|
|
495
|
+
if (y(e, v) && typeof $ != "function")
|
|
496
|
+
return U(i, p, c, v, W($));
|
|
497
|
+
if (!$)
|
|
498
|
+
return new R(
|
|
499
|
+
"Invalid " + p + " `" + c + "` key `" + v + "` supplied to `" + i + "`.\nBad object: " + JSON.stringify(u[s], null, " ") + `
|
|
500
|
+
Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
|
|
501
|
+
);
|
|
502
|
+
var r = $(f, v, i, p, c + "." + v, O);
|
|
503
|
+
if (r)
|
|
504
|
+
return r;
|
|
505
|
+
}
|
|
506
|
+
return null;
|
|
507
|
+
}
|
|
508
|
+
return j(n);
|
|
509
|
+
}
|
|
510
|
+
function L(e) {
|
|
511
|
+
switch (typeof e) {
|
|
512
|
+
case "number":
|
|
513
|
+
case "string":
|
|
514
|
+
case "undefined":
|
|
515
|
+
return !0;
|
|
516
|
+
case "boolean":
|
|
517
|
+
return !e;
|
|
518
|
+
case "object":
|
|
519
|
+
if (Array.isArray(e))
|
|
520
|
+
return e.every(L);
|
|
521
|
+
if (e === null || l(e))
|
|
522
|
+
return !0;
|
|
523
|
+
var n = E(e);
|
|
524
|
+
if (n) {
|
|
525
|
+
var u = n.call(e), s;
|
|
526
|
+
if (n !== e.entries) {
|
|
527
|
+
for (; !(s = u.next()).done; )
|
|
528
|
+
if (!L(s.value))
|
|
529
|
+
return !1;
|
|
530
|
+
} else
|
|
531
|
+
for (; !(s = u.next()).done; ) {
|
|
532
|
+
var i = s.value;
|
|
533
|
+
if (i && !L(i[1]))
|
|
534
|
+
return !1;
|
|
535
|
+
}
|
|
536
|
+
} else
|
|
537
|
+
return !1;
|
|
538
|
+
return !0;
|
|
539
|
+
default:
|
|
540
|
+
return !1;
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
function Z(e, n) {
|
|
544
|
+
return e === "symbol" ? !0 : n ? n["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && n instanceof Symbol : !1;
|
|
545
|
+
}
|
|
546
|
+
function q(e) {
|
|
547
|
+
var n = typeof e;
|
|
548
|
+
return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : Z(n, e) ? "symbol" : n;
|
|
549
|
+
}
|
|
550
|
+
function W(e) {
|
|
551
|
+
if (typeof e > "u" || e === null)
|
|
552
|
+
return "" + e;
|
|
553
|
+
var n = q(e);
|
|
554
|
+
if (n === "object") {
|
|
555
|
+
if (e instanceof Date)
|
|
556
|
+
return "date";
|
|
557
|
+
if (e instanceof RegExp)
|
|
558
|
+
return "regexp";
|
|
559
|
+
}
|
|
560
|
+
return n;
|
|
561
|
+
}
|
|
562
|
+
function z(e) {
|
|
563
|
+
var n = W(e);
|
|
564
|
+
switch (n) {
|
|
565
|
+
case "array":
|
|
566
|
+
case "object":
|
|
567
|
+
return "an " + n;
|
|
568
|
+
case "boolean":
|
|
569
|
+
case "date":
|
|
570
|
+
case "regexp":
|
|
571
|
+
return "a " + n;
|
|
572
|
+
default:
|
|
573
|
+
return n;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
function Q(e) {
|
|
577
|
+
return !e.constructor || !e.constructor.name ? C : e.constructor.name;
|
|
578
|
+
}
|
|
579
|
+
return x.checkPropTypes = S, x.resetWarningCache = S.resetWarningCache, x.PropTypes = x, x;
|
|
580
|
+
}, oe;
|
|
581
|
+
}
|
|
582
|
+
var ie, me;
|
|
583
|
+
function Re() {
|
|
584
|
+
if (me) return ie;
|
|
585
|
+
me = 1;
|
|
586
|
+
var o = ce();
|
|
587
|
+
function I() {
|
|
588
|
+
}
|
|
589
|
+
function O() {
|
|
590
|
+
}
|
|
591
|
+
return O.resetWarningCache = I, ie = function() {
|
|
592
|
+
function y(P, l, _, g, b, E) {
|
|
593
|
+
if (E !== o) {
|
|
594
|
+
var C = new Error(
|
|
595
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
596
|
+
);
|
|
597
|
+
throw C.name = "Invariant Violation", C;
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
y.isRequired = y;
|
|
601
|
+
function S() {
|
|
602
|
+
return y;
|
|
603
|
+
}
|
|
604
|
+
var a = {
|
|
605
|
+
array: y,
|
|
606
|
+
bigint: y,
|
|
607
|
+
bool: y,
|
|
608
|
+
func: y,
|
|
609
|
+
number: y,
|
|
610
|
+
object: y,
|
|
611
|
+
string: y,
|
|
612
|
+
symbol: y,
|
|
613
|
+
any: y,
|
|
614
|
+
arrayOf: S,
|
|
615
|
+
element: y,
|
|
616
|
+
elementType: y,
|
|
617
|
+
instanceOf: S,
|
|
618
|
+
node: y,
|
|
619
|
+
objectOf: S,
|
|
620
|
+
oneOf: S,
|
|
621
|
+
oneOfType: S,
|
|
622
|
+
shape: S,
|
|
623
|
+
exact: S,
|
|
624
|
+
checkPropTypes: O,
|
|
625
|
+
resetWarningCache: I
|
|
626
|
+
};
|
|
627
|
+
return a.PropTypes = a, a;
|
|
628
|
+
}, ie;
|
|
629
|
+
}
|
|
630
|
+
if (process.env.NODE_ENV !== "production") {
|
|
631
|
+
var Ce = Te(), xe = !0;
|
|
632
|
+
ae.exports = _e()(Ce.isElement, xe);
|
|
633
|
+
} else
|
|
634
|
+
ae.exports = Re()();
|
|
635
|
+
var we = ae.exports;
|
|
636
|
+
const Ie = /* @__PURE__ */ Ee(we);
|
|
637
|
+
export {
|
|
638
|
+
Ie as P
|
|
639
|
+
};
|