@rankingcoach/vanguard 1.6.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/avatarIcons/listings/user.svg +5 -0
- package/dist/icons/Icon-document-active-1.svg +4 -0
- package/dist/icons/Icon-document-active.svg +4 -0
- package/dist/icons/Icon-list-active-1.svg +3 -0
- package/dist/icons/Icon-list-active.svg +3 -0
- package/dist/icons/Icon-manage-projects-active-1.svg +5 -0
- package/dist/icons/Icon-manage-projects-active.svg +5 -0
- package/dist/icons/Icon-rec-1.svg +3 -0
- package/dist/icons/Icon-save-active-1.svg +4 -0
- package/dist/icons/Icon-save-active.svg +4 -0
- package/dist/icons/Icon-sepa-active-1.svg +6 -0
- package/dist/icons/Icon-sepa-active.svg +5 -0
- package/dist/icons/Icon-user-active-1.svg +4 -0
- package/dist/icons/Icon-user-active.svg +4 -0
- package/dist/index-AMPMMidnightParser.js +1 -1
- package/dist/index-AMPMParser.js +1 -1
- package/dist/index-Accordion2.js +1 -1
- package/dist/index-AccordionDetails.js +1 -1
- package/dist/index-AccordionSummary.js +1 -1
- package/dist/index-AppBar2.js +1 -1
- package/dist/index-Autocomplete2.js +1 -1
- package/dist/index-Avatar.enum.js +3 -1
- package/dist/index-Avatar.js +18 -19
- package/dist/index-Axios4.js +1 -1
- package/dist/index-AxiosError.js +1 -1
- package/dist/index-Backdrop.js +1 -1
- package/dist/index-BasePopper.js +1 -1
- package/dist/index-BenchmarkGauge.js +119 -0
- package/dist/index-BenchmarkGauge.module.scss.js +35 -0
- package/dist/index-BenchmarkGaugeMarker.js +58 -0
- package/dist/index-BenchmarkGaugeMarker.module.scss.js +19 -0
- package/dist/index-BenchmarkGaugePin.js +40 -0
- package/dist/index-BenchmarkGaugePin.module.scss.js +15 -0
- package/dist/index-Box.js +1 -1
- package/dist/index-Button2.js +1 -1
- package/dist/index-ButtonBase.js +1 -1
- package/dist/index-CSSTransition.js +1 -1
- package/dist/index-Calendar.js +1 -1
- package/dist/index-CalendarPicker.js +1 -1
- package/dist/index-CanceledError.js +1 -1
- package/dist/index-Chip.js +1 -1
- package/dist/index-ClickAwayListener.js +1 -1
- package/dist/index-ClockPicker.js +1 -1
- package/dist/index-Collapse2.js +2 -2
- package/dist/index-DateInput.js +4 -4
- package/dist/index-DateParser.js +1 -1
- package/dist/index-DatePicker2.js +1 -1
- package/dist/index-DateRange2.js +1 -1
- package/dist/index-DateRangePicker2.js +1 -1
- package/dist/index-DayOfYearParser.js +1 -1
- package/dist/index-DayPeriodParser.js +1 -1
- package/dist/index-DefaultPropsProvider.js +1 -1
- package/dist/index-DefaultPropsProvider2.js +1 -1
- package/dist/index-DesktopDatePicker.js +1 -1
- package/dist/index-Dialog.js +1 -1
- package/dist/index-DialogActions.js +1 -1
- package/dist/index-DialogContent.js +1 -1
- package/dist/index-Drawer2.js +1 -1
- package/dist/index-ExtendedYearParser.js +1 -1
- package/dist/index-Fade.js +2 -2
- package/dist/index-FilledInput.js +1 -1
- package/dist/index-FocusTrap.js +1 -1
- package/dist/index-FormControl2.js +2 -2
- package/dist/index-FormHelperText.js +1 -1
- package/dist/index-FormLabel.js +1 -1
- package/dist/index-FractionOfSecondParser.js +1 -1
- package/dist/index-GlobalStyles.js +1 -1
- package/dist/index-GlobalStyles2.js +1 -1
- package/dist/index-GlobalStyles3.js +1 -1
- package/dist/index-Grid.js +1 -1
- package/dist/index-Grow.js +2 -2
- package/dist/index-Hour0To11Parser.js +1 -1
- package/dist/index-Hour0to23Parser.js +1 -1
- package/dist/index-Hour1To24Parser.js +1 -1
- package/dist/index-Hour1to12Parser.js +1 -1
- package/dist/index-ISODayParser.js +1 -1
- package/dist/index-ISOTimezoneParser.js +1 -1
- package/dist/index-ISOTimezoneWithZParser.js +1 -1
- package/dist/index-ISOWeekParser.js +1 -1
- package/dist/index-ISOWeekYearParser.js +1 -1
- package/dist/index-Icon-document-active-1.svg.js +4 -0
- package/dist/index-Icon-document-active.svg.js +4 -0
- package/dist/index-Icon-list-active-1.svg.js +4 -0
- package/dist/index-Icon-list-active.svg.js +4 -0
- package/dist/index-Icon-manage-projects-active-1.svg.js +4 -0
- package/dist/index-Icon-manage-projects-active.svg.js +4 -0
- package/dist/index-Icon-rec-1.svg.js +4 -0
- package/dist/index-Icon-save-active-1.svg.js +4 -0
- package/dist/index-Icon-save-active.svg.js +4 -0
- package/dist/index-Icon-sepa-active-1.svg.js +4 -0
- package/dist/index-Icon-sepa-active.svg.js +4 -0
- package/dist/index-Icon-user-active-1.svg.js +4 -0
- package/dist/index-Icon-user-active.svg.js +4 -0
- package/dist/index-IconButton2.js +1 -1
- package/dist/index-IconNames.js +1 -1
- package/dist/index-Input2.js +1 -1
- package/dist/index-InputAdornment.js +1 -1
- package/dist/index-InputBase2.js +2 -2
- package/dist/index-InputLabel.js +1 -1
- package/dist/index-InputRangeField.js +1 -1
- package/dist/index-InterceptorManager.js +1 -1
- package/dist/index-LexicalToolkit2.js +1 -1
- package/dist/index-LinearProgress.js +1 -1
- package/dist/index-List2.js +1 -1
- package/dist/index-ListSubheader.js +1 -1
- package/dist/index-LocalDayParser.js +1 -1
- package/dist/index-LocalWeekParser.js +1 -1
- package/dist/index-LocalWeekYearParser.js +1 -1
- package/dist/index-LocalizationProvider.js +1 -1
- package/dist/index-Menu2.js +1 -1
- package/dist/index-MenuItem.js +31 -29
- package/dist/index-MenuItem2.js +1 -1
- package/dist/index-MenuList.js +1 -1
- package/dist/index-MinuteParser.js +1 -1
- package/dist/index-MobileDatePicker.js +1 -1
- package/dist/index-Modal2.js +1 -1
- package/dist/index-Month.js +3 -3
- package/dist/index-MonthParser.js +1 -1
- package/dist/index-MonthPicker.js +1 -1
- package/dist/index-NativeSelectInput.js +1 -1
- package/dist/index-NotchedOutline.js +1 -1
- package/dist/index-OutlinedInput.js +1 -1
- package/dist/index-Paper.js +1 -1
- package/dist/index-Parser2.js +2 -3
- package/dist/index-PickersDay.js +1 -1
- package/dist/index-PickersMonth.js +1 -1
- package/dist/index-PickersPopper.js +1 -1
- package/dist/index-Popover2.js +1 -1
- package/dist/index-Popper.js +1 -1
- package/dist/index-Portal.js +1 -1
- package/dist/index-PropTypes.js +1 -1
- package/dist/index-PureDateInput.js +1 -1
- package/dist/index-QuarterParser.js +1 -1
- package/dist/index-Ripple.js +1 -1
- package/dist/index-RtlProvider.js +1 -1
- package/dist/index-ScrollbarSize.js +1 -1
- package/dist/index-SecondParser.js +1 -1
- package/dist/index-Select2.js +1 -1
- package/dist/index-SelectInput2.js +2 -2
- package/dist/index-Skeleton2.js +1 -1
- package/dist/index-Slide.js +2 -2
- package/dist/index-Slider2.js +1 -1
- package/dist/index-SliderValueLabel.js +1 -1
- package/dist/index-Snackbar2.js +1 -1
- package/dist/index-SnackbarContent.js +1 -1
- package/dist/index-SocialMediaLink.js +1 -1
- package/dist/index-StandAloneLocalDayParser.js +1 -1
- package/dist/index-StandAloneMonthParser.js +1 -1
- package/dist/index-StandAloneQuarterParser.js +1 -1
- package/dist/index-StyledEngineProvider.js +1 -1
- package/dist/index-SvgIcon.js +1 -1
- package/dist/index-Tab2.js +1 -1
- package/dist/index-TabScrollButton.js +1 -1
- package/dist/index-Tabs2.js +1 -1
- package/dist/index-TabsCustomScroll.js +16 -16
- package/dist/index-TabsCustomScroll.module.scss.js +4 -2
- package/dist/index-TextField.js +1 -1
- package/dist/index-TextareaAutosize.js +1 -1
- package/dist/index-TimestampMillisecondsParser.js +1 -1
- package/dist/index-TimestampSecondsParser.js +1 -1
- package/dist/index-ToggleButton2.js +1 -1
- package/dist/index-ToggleButtonGroup2.js +1 -1
- package/dist/index-Toolbar2.js +1 -1
- package/dist/index-Tooltip.js +1 -1
- package/dist/index-TouchRipple.js +1 -1
- package/dist/index-Transition.js +1 -1
- package/dist/index-TransitionGroup.js +1 -1
- package/dist/index-Typography.js +1 -1
- package/dist/index-YearParser.js +1 -1
- package/dist/index-YearPicker.js +1 -1
- package/dist/index-_virtual16.js +5 -3
- package/dist/index-_virtual17.js +3 -5
- package/dist/index-_virtual6.js +1 -1
- package/dist/index-_virtual69.js +2 -2
- package/dist/index-_virtual70.js +2 -4
- package/dist/index-_virtual71.js +4 -2
- package/dist/index-_virtual72.js +2 -4
- package/dist/index-_virtual73.js +1 -1
- package/dist/index-_virtual74.js +1 -1
- package/dist/index-_virtual75.js +4 -2
- package/dist/index-_virtual76.js +2 -2
- package/dist/index-accessibility.js +1 -1
- package/dist/index-axios2.js +1 -1
- package/dist/index-buildURL.js +1 -1
- package/dist/index-cjs.js +1 -1
- package/dist/index-cookies.js +1 -1
- package/dist/index-defaults.js +1 -1
- package/dist/index-dispatchRequest.js +1 -1
- package/dist/index-dist2.js +78 -20
- package/dist/index-dist3.js +20 -78
- package/dist/index-elementAcceptingRef.js +1 -1
- package/dist/index-elementTypeAcceptingRef.js +1 -1
- package/dist/index-es.js +1 -1
- package/dist/index-formDataToJSON.js +1 -1
- package/dist/index-helpers3.js +1 -1
- package/dist/index-isAxiosError.js +1 -1
- package/dist/index-isURLSameOrigin.js +1 -1
- package/dist/index-lib5.js +1 -1
- package/dist/index-mergeConfig.js +1 -1
- package/dist/index-normalizeHeaderName.js +1 -1
- package/dist/index-parseHeaders.js +1 -1
- package/dist/index-position_high.svg.js +4 -0
- package/dist/index-position_low.svg.js +4 -0
- package/dist/index-position_mid.svg.js +4 -0
- package/dist/index-refType.js +1 -1
- package/dist/index-responsivePropType.js +1 -1
- package/dist/index-toFormData.js +1 -1
- package/dist/index-toURLEncodedForm.js +1 -1
- package/dist/index-transformData.js +1 -1
- package/dist/index-use-benchmark-gauge-render-state.js +61 -0
- package/dist/index-use-dynamic-import.js +20 -3
- package/dist/index-useIsLandscape.js +1 -1
- package/dist/index-useViews.js +1 -1
- package/dist/index-user.svg.js +4 -0
- package/dist/index-utils10.js +179 -11
- package/dist/index-utils11.js +12 -100
- package/dist/index-utils12.js +102 -0
- package/dist/index-utils3.js +48 -19
- package/dist/index-utils4.js +18 -63
- package/dist/index-utils5.js +63 -15
- package/dist/index-utils6.js +15 -66
- package/dist/index-utils7.js +66 -11
- package/dist/index-utils8.js +12 -2
- package/dist/index-utils9.js +2 -180
- package/dist/index-xhr.js +1 -1
- package/dist/index.js +290 -288
- package/dist/reputation/position_high.svg +5 -0
- package/dist/reputation/position_low.svg +12 -0
- package/dist/reputation/position_mid.svg +11 -0
- package/dist/types/core/Avatar/Avatar.d.ts +1 -6
- package/dist/types/core/Avatar/stories/WithIconThenImage.story.d.ts +2 -0
- package/dist/types/core/Avatar/stories/WithUserIcon.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/BenchmarkGauge.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/BenchmarkGaugeMarker/BenchmarkGaugeMarker.d.ts +16 -0
- package/dist/types/core/BenchmarkGauge/BenchmarkGaugeMarker/BenchmarkGaugePin/BenchmarkGaugePin.d.ts +10 -0
- package/dist/types/core/BenchmarkGauge/hooks/use-benchmark-gauge-render-state.d.ts +19 -0
- package/dist/types/core/BenchmarkGauge/index.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/AuditSimulation.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ColorByRankCustomPalette.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ColorByRankDefault.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ColorByRankMixedPrecedence.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ColorByRankTwoMarkersEndpoints.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/EdgePins.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/FullTrackNoProgress.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/HorizontalDefault.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InsideEndLabelOnly.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InsideLabels.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InsideLabelsVertical.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InsideLabelsWithOverlap.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InsideLabelsWithProgress.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InsideStartLabelOnly.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InvalidRangeGuard.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendHorizontal.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendNone.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendPartial.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendVertical.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendWithCoreGrowEffect.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendWithHighlightedIcons.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendWithWrapperExtras.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ListingsSimulation.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/NoMarkers.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/OverlappingMarkers.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressAtMax.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressAtMin.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressHorizontal.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressInvalidId.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressVertical.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressVerticalAtMin.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressWideTextPin.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressWideTextPinVertical.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/RankScenarioA.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/RankScenarioB.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/RankScenarioC.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/RankWithContent.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ScoreSimulation.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/StaticColorRegression.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/VerticalDefault.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/WithContentAutoFlip.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/WithContentEnd.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/WithContentStart.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/_BenchmarkGauge.default.d.ts +44 -0
- package/dist/types/core/BenchmarkGauge/types.d.ts +136 -0
- package/dist/types/core/BenchmarkGauge/utils.d.ts +61 -0
- package/dist/types/core/Icon/IconNames.d.ts +6 -0
- package/dist/types/core/MenuItem/MenuItem.d.ts +2 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/vanguard-asset-analysis.json +1 -1
- package/dist/vanguard.css +1 -1
- package/dist-wordpress/Icon-document-active-1-BNbAelSx.mjs +4 -0
- package/dist-wordpress/Icon-document-active-C1Pow12T.mjs +4 -0
- package/dist-wordpress/Icon-list-active-1-CMWBBljn.mjs +4 -0
- package/dist-wordpress/Icon-list-active-DLyP-KM_.mjs +4 -0
- package/dist-wordpress/Icon-manage-projects-active-1-5GrLM5Rt.mjs +4 -0
- package/dist-wordpress/Icon-manage-projects-active-jzJITd2J.mjs +4 -0
- package/dist-wordpress/Icon-rec-1-BmhIaa9j.mjs +4 -0
- package/dist-wordpress/Icon-save-active-1-BXIn4M60.mjs +4 -0
- package/dist-wordpress/Icon-save-active-sukwIFSJ.mjs +4 -0
- package/dist-wordpress/Icon-sepa-active-1-CQz_LpKA.mjs +4 -0
- package/dist-wordpress/Icon-sepa-active-BcmATS7C.mjs +4 -0
- package/dist-wordpress/Icon-user-active-1-CB2diJDq.mjs +4 -0
- package/dist-wordpress/Icon-user-active-BX075VMi.mjs +4 -0
- package/dist-wordpress/index.js +1084 -1069
- package/dist-wordpress/vanguard.css +1 -1
- package/package.json +44 -44
package/dist/index-es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import p from "./index-_virtual8.js";
|
|
2
2
|
import k, { useState as I, useRef as S, useEffect as W } from "react";
|
|
3
|
-
import { canUseDOM as T, useShallowCompareMemoize as m, removeChildrenWithAttribute as C, twLoad as M, cloneShallow as h, twWidgetFactory as R } from "./index-
|
|
3
|
+
import { canUseDOM as T, useShallowCompareMemoize as m, removeChildrenWithAttribute as C, twLoad as M, cloneShallow as h, twWidgetFactory as R } from "./index-utils5.js";
|
|
4
4
|
function b(f, t, o, i, s, u, n) {
|
|
5
5
|
try {
|
|
6
6
|
var r = f[u](n), a = r.value;
|
package/dist/index-helpers3.js
CHANGED
package/dist/index-lib5.js
CHANGED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const C = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.18164%2023.9998C2.18164%2036.0497%2011.95%2045.818%2023.9998%2045.818C36.0497%2045.818%2045.818%2036.0497%2045.818%2023.9998C45.818%2011.95%2036.0497%202.18164%2023.9998%202.18164C11.95%202.18164%202.18164%2011.95%202.18164%2023.9998Z'%20fill='%2321C445'/%3e%3cpath%20d='M11.4551%2033.2727H16.94C17.2787%2033.2727%2017.6128%2033.1939%2017.9158%2033.0424L23.0248%2030.4879C23.639%2030.1807%2024.362%2030.1807%2024.9763%2030.4879L30.0853%2033.0424C30.3883%2033.1939%2030.7223%2033.2727%2031.061%2033.2727H36.546V33.8182C36.546%2035.0232%2035.5692%2036%2034.3642%2036H13.6369C12.4319%2036%2011.4551%2035.0232%2011.4551%2033.8182V33.2727Z'%20fill='%2397E4A7'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.6802%2023.1562L11.7642%2022.1205C11.914%2021.8733%2012.0003%2021.5834%2012.0003%2021.2733C12.0003%2020.3695%2011.2676%2019.6369%2010.3639%2019.6369C9.46016%2019.6369%208.72754%2020.3695%208.72754%2021.2733C8.72754%2022.1056%209.34901%2022.7928%2010.1533%2022.8962L11.4548%2030.0005H16.9398C17.2785%2030.0005%2017.6125%2029.9217%2017.9155%2029.7702L23.0245%2027.2157C23.6388%2026.9086%2024.3618%2026.9086%2024.976%2027.2157L30.085%2029.7702C30.388%2029.9217%2030.7221%2030.0005%2031.0608%2030.0005H36.5457L37.8473%2022.8962C38.6515%2022.7928%2039.273%2022.1056%2039.273%2021.2733C39.273%2020.3695%2038.5404%2019.6369%2037.6366%2019.6369C36.7329%2019.6369%2036.0003%2020.3695%2036.0003%2021.2733C36.0003%2021.5834%2036.0865%2021.8733%2036.2364%2022.1205L34.3203%2023.1562C33.7105%2023.4858%2032.9518%2023.1704%2032.7554%2022.5056L31.8524%2019.4494C32.3728%2019.1755%2032.7275%2018.6294%2032.7275%2018.0005C32.7275%2017.0968%2031.9949%2016.3642%2031.0912%2016.3642C30.1874%2016.3642%2029.4548%2017.0968%2029.4548%2018.0005C29.4548%2018.4076%2029.6034%2018.7799%2029.8494%2019.0662L28.3849%2020.2945C27.7899%2020.7935%2026.8788%2020.5288%2026.644%2019.7886L24.9436%2014.4287C25.3629%2014.1324%2025.6366%2013.6439%2025.6366%2013.0914C25.6366%2012.1877%2024.904%2011.4551%2024.0003%2011.4551C23.0965%2011.4551%2022.3639%2012.1877%2022.3639%2013.0914C22.3639%2013.6439%2022.6377%2014.1324%2023.0569%2014.4287L21.3565%2019.7886C21.1217%2020.5288%2020.2106%2020.7935%2019.6157%2020.2945L18.1512%2019.0662C18.3971%2018.7799%2018.5457%2018.4076%2018.5457%2018.0005C18.5457%2017.0968%2017.8131%2016.3642%2016.9094%2016.3642C16.0056%2016.3642%2015.273%2017.0968%2015.273%2018.0005C15.273%2018.6294%2015.6278%2019.1755%2016.1481%2019.4494L15.2452%2022.5056C15.0487%2023.1704%2014.2901%2023.4858%2013.6802%2023.1562Z'%20fill='white'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
C as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const t = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.18164%2023.9998C2.18164%2036.0497%2011.95%2045.818%2023.9998%2045.818C36.0497%2045.818%2045.818%2036.0497%2045.818%2023.9998C45.818%2011.95%2036.0497%202.18164%2023.9998%202.18164C11.95%202.18164%202.18164%2011.95%202.18164%2023.9998Z'%20fill='%23FF4747'/%3e%3ccircle%20cx='24.0003'%20cy='24.0003'%20r='13.6364'%20stroke='%23FEEDEC'%20stroke-width='3.27273'/%3e%3cpath%20d='M30.546%2037.6363H17.4551C17.4551%2034.0213%2020.3856%2031.0908%2024.0005%2031.0908C27.6155%2031.0908%2030.546%2034.0213%2030.546%2037.6363Z'%20fill='%23FEEDEC'/%3e%3crect%20x='22.9092'%20y='9.27246'%20width='2.18182'%20height='5.45455'%20rx='1.09091'%20fill='%23FEEDEC'/%3e%3cpath%20d='M20.9313%2016.9218L21.0874%2033.5556C21.1035%2035.2687%2022.654%2036.5574%2024.3411%2036.2599C26.0283%2035.9624%2027.0445%2034.2211%2026.4737%2032.6058L20.9313%2016.9218Z'%20fill='white'/%3e%3crect%20x='34.4424'%20y='13.7881'%20width='2.18182'%20height='5.45455'%20rx='1.09091'%20transform='rotate(45%2034.4424%2013.7881)'%20fill='%23FEEDEC'/%3e%3crect%20x='12.3125'%20y='15.3301'%20width='2.18182'%20height='5.45455'%20rx='1.09091'%20transform='rotate(-45%2012.3125%2015.3301)'%20fill='%23FEEDEC'/%3e%3crect%20x='12.0166'%20y='15.3301'%20width='2.18182'%20height='5.45455'%20rx='1.09091'%20transform='rotate(-45%2012.0166%2015.3301)'%20fill='%23FEEDEC'/%3e%3crect%20x='9.27344'%20y='26.0645'%20width='2.18182'%20height='5.45455'%20rx='1.09091'%20transform='rotate(-90%209.27344%2026.0645)'%20fill='%23FEEDEC'/%3e%3crect%20x='33.2734'%20y='26.0645'%20width='2.18182'%20height='5.45455'%20rx='1.09091'%20transform='rotate(-90%2033.2734%2026.0645)'%20fill='%23FEEDEC'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
t as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const t = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.18164%2023.9998C2.18164%2036.0497%2011.95%2045.818%2023.9998%2045.818C36.0497%2045.818%2045.818%2036.0497%2045.818%2023.9998C45.818%2011.95%2036.0497%202.18164%2023.9998%202.18164C11.95%202.18164%202.18164%2011.95%202.18164%2023.9998Z'%20fill='%23FFC247'/%3e%3ccircle%20cx='24.0003'%20cy='24.0003'%20r='13.6364'%20stroke='%23FFE4AD'%20stroke-width='3.27273'/%3e%3cpath%20d='M30.546%2037.6363H17.4551C17.4551%2034.0213%2020.3856%2031.0908%2024.0005%2031.0908C27.6155%2031.0908%2030.546%2034.0213%2030.546%2037.6363Z'%20fill='%23FFE4AD'/%3e%3crect%20x='22.3643'%20y='10.9092'%20width='3.27273'%20height='5.45455'%20rx='1.63636'%20fill='%23FFE4AD'/%3e%3cpath%20d='M27.0687%2016.9218L26.9126%2033.5556C26.8965%2035.2687%2025.346%2036.5574%2023.6589%2036.2599C21.9717%2035.9624%2020.9555%2034.2211%2021.5263%2032.6058L27.0687%2016.9218Z'%20fill='white'/%3e%3crect%20x='33.3115'%20y='14.8789'%20width='3.27273'%20height='5.45455'%20rx='1.63636'%20transform='rotate(45%2033.3115%2014.8789)'%20fill='%23FFE4AD'/%3e%3crect%20x='12.375'%20y='17.1924'%20width='3.27273'%20height='5.45455'%20rx='1.63636'%20transform='rotate(-45%2012.375%2017.1924)'%20fill='%23FFE4AD'/%3e%3crect%20x='10.3643'%20y='27.7012'%20width='3.27273'%20height='5.45455'%20rx='1.63636'%20transform='rotate(-90%2010.3643%2027.7012)'%20fill='%23FFE4AD'/%3e%3crect%20x='32.1816'%20y='27.7012'%20width='3.27273'%20height='5.45455'%20rx='1.63636'%20transform='rotate(-90%2032.1816%2027.7012)'%20fill='%23FFE4AD'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
t as default
|
|
4
|
+
};
|
package/dist/index-refType.js
CHANGED
package/dist/index-toFormData.js
CHANGED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { useMemo as n } from "react";
|
|
2
|
+
import { valueToPercent as F, fillClipInset as p, resolveLabels as H } from "./index-utils3.js";
|
|
3
|
+
const j = (h) => {
|
|
4
|
+
const {
|
|
5
|
+
min: d,
|
|
6
|
+
max: u,
|
|
7
|
+
markers: r,
|
|
8
|
+
orientation: b = "horizontal",
|
|
9
|
+
showLabels: f,
|
|
10
|
+
compactLabels: v,
|
|
11
|
+
startLabel: L,
|
|
12
|
+
endLabel: M,
|
|
13
|
+
gradient: t,
|
|
14
|
+
progressMarkerId: i,
|
|
15
|
+
legendInteraction: S
|
|
16
|
+
} = h, g = b === "vertical", y = r.length, {
|
|
17
|
+
hoverHighlights: P = !0,
|
|
18
|
+
dimsItems: x = !0,
|
|
19
|
+
dimsMarkers: I = !0
|
|
20
|
+
} = S ?? {}, w = n(() => new Map([...r].sort((e, o) => e.value - o.value).map((e, o) => [e.id, o])), [r]), m = n(() => i ? r.find((e) => e.id === i) : void 0, [r, i]), s = m ? F(m.value, d, u) : null, l = s !== null, c = s !== null && s > 0, a = n(() => t ? {
|
|
21
|
+
background: t
|
|
22
|
+
} : {}, [t]), k = g ? `inset(${p(s ?? 100)} 0 0 0 round var(--benchmark-gauge-track-radius, 90px))` : `inset(0 ${p(s ?? 100)} 0 0 round var(--benchmark-gauge-track-radius, 90px))`, B = l ? void 0 : a, C = n(() => ({
|
|
23
|
+
...a,
|
|
24
|
+
...l ? void 0 : {
|
|
25
|
+
opacity: 0
|
|
26
|
+
}
|
|
27
|
+
}), [a, l]), G = c && !t, T = n(() => ({
|
|
28
|
+
...c && t ? a : {},
|
|
29
|
+
clipPath: k
|
|
30
|
+
}), [c, t, a, k]), {
|
|
31
|
+
startLabel: V,
|
|
32
|
+
endLabel: $
|
|
33
|
+
} = H({
|
|
34
|
+
showLabels: f,
|
|
35
|
+
startLabel: L,
|
|
36
|
+
endLabel: M,
|
|
37
|
+
min: d,
|
|
38
|
+
max: u,
|
|
39
|
+
compactLabels: v
|
|
40
|
+
}), z = r.some((e) => !!e.renderLegend), E = n(() => r.filter((e) => !!e.renderLegend).sort((e, o) => e.value - o.value), [r]);
|
|
41
|
+
return {
|
|
42
|
+
isVertical: g,
|
|
43
|
+
rankCount: y,
|
|
44
|
+
isProgressMode: l,
|
|
45
|
+
hoverHighlights: P,
|
|
46
|
+
dimsItems: x,
|
|
47
|
+
dimsMarkers: I,
|
|
48
|
+
rankMap: w,
|
|
49
|
+
trackBarStyle: B,
|
|
50
|
+
ghostStyle: C,
|
|
51
|
+
shouldUseTrackGradient: G,
|
|
52
|
+
fillStyle: T,
|
|
53
|
+
effectiveStartLabel: V,
|
|
54
|
+
effectiveEndLabel: $,
|
|
55
|
+
hasLegend: z,
|
|
56
|
+
legendMarkers: E
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export {
|
|
60
|
+
j as useBenchmarkGaugeRenderState
|
|
61
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState as p, useEffect as d } from "react";
|
|
2
2
|
import { of as l } from "./index-of.js";
|
|
3
|
-
import { catchError as
|
|
4
|
-
import { shareReplay as
|
|
3
|
+
import { catchError as c } from "./index-catchError.js";
|
|
4
|
+
import { shareReplay as f } from "./index-shareReplay.js";
|
|
5
5
|
const r = /* @__PURE__ */ Object.assign({
|
|
6
6
|
"./assets/Icon-slide-h.svg": () => import("./index-Icon-slide-h.svg.js").then((s) => s.default),
|
|
7
7
|
"./assets/QuoteMarks.svg": () => import("./index-QuoteMarks.svg.js").then((s) => s.default),
|
|
@@ -326,6 +326,7 @@ const r = /* @__PURE__ */ Object.assign({
|
|
|
326
326
|
"./assets/avatarIcons/listings/unternehmensauskunft_com.svg": () => import("./index-unternehmensauskunft_com.svg.js").then((s) => s.default),
|
|
327
327
|
"./assets/avatarIcons/listings/us_info_com.svg": () => import("./index-us_info_com.svg.js").then((s) => s.default),
|
|
328
328
|
"./assets/avatarIcons/listings/uscity.svg": () => import("./index-uscity.svg.js").then((s) => s.default),
|
|
329
|
+
"./assets/avatarIcons/listings/user.svg": () => import("./index-user.svg.js").then((s) => s.default),
|
|
329
330
|
"./assets/avatarIcons/listings/virgilio.svg": () => import("./index-virgilio.svg.js").then((s) => s.default),
|
|
330
331
|
"./assets/avatarIcons/listings/vitals.svg": () => import("./index-vitals.svg.js").then((s) => s.default),
|
|
331
332
|
"./assets/avatarIcons/listings/vres_gr.svg": () => import("./index-vres_gr.svg.js").then((s) => s.default),
|
|
@@ -738,6 +739,8 @@ const r = /* @__PURE__ */ Object.assign({
|
|
|
738
739
|
"./assets/icons/Icon-directions-1.svg": () => import("./index-Icon-directions-1.svg.js").then((s) => s.default),
|
|
739
740
|
"./assets/icons/Icon-directions.svg": () => import("./index-Icon-directions.svg.js").then((s) => s.default),
|
|
740
741
|
"./assets/icons/Icon-document-1.svg": () => import("./index-Icon-document-1.svg.js").then((s) => s.default),
|
|
742
|
+
"./assets/icons/Icon-document-active-1.svg": () => import("./index-Icon-document-active-1.svg.js").then((s) => s.default),
|
|
743
|
+
"./assets/icons/Icon-document-active.svg": () => import("./index-Icon-document-active.svg.js").then((s) => s.default),
|
|
741
744
|
"./assets/icons/Icon-document.svg": () => import("./index-Icon-document.svg.js").then((s) => s.default),
|
|
742
745
|
"./assets/icons/Icon-download-1.svg": () => import("./index-Icon-download-1.svg.js").then((s) => s.default),
|
|
743
746
|
"./assets/icons/Icon-download.svg": () => import("./index-Icon-download.svg.js").then((s) => s.default),
|
|
@@ -800,6 +803,8 @@ const r = /* @__PURE__ */ Object.assign({
|
|
|
800
803
|
"./assets/icons/Icon-linkedin-1.svg": () => import("./index-Icon-linkedin-1.svg.js").then((s) => s.default),
|
|
801
804
|
"./assets/icons/Icon-linkedin.svg": () => import("./index-Icon-linkedin.svg.js").then((s) => s.default),
|
|
802
805
|
"./assets/icons/Icon-list-1.svg": () => import("./index-Icon-list-1.svg.js").then((s) => s.default),
|
|
806
|
+
"./assets/icons/Icon-list-active-1.svg": () => import("./index-Icon-list-active-1.svg.js").then((s) => s.default),
|
|
807
|
+
"./assets/icons/Icon-list-active.svg": () => import("./index-Icon-list-active.svg.js").then((s) => s.default),
|
|
803
808
|
"./assets/icons/Icon-list.svg": () => import("./index-Icon-list.svg.js").then((s) => s.default),
|
|
804
809
|
"./assets/icons/Icon-location-1.svg": () => import("./index-Icon-location-1.svg.js").then((s) => s.default),
|
|
805
810
|
"./assets/icons/Icon-location.svg": () => import("./index-Icon-location.svg.js").then((s) => s.default),
|
|
@@ -816,6 +821,8 @@ const r = /* @__PURE__ */ Object.assign({
|
|
|
816
821
|
"./assets/icons/Icon-mail-1.svg": () => import("./index-Icon-mail-1.svg.js").then((s) => s.default),
|
|
817
822
|
"./assets/icons/Icon-mail.svg": () => import("./index-Icon-mail.svg.js").then((s) => s.default),
|
|
818
823
|
"./assets/icons/Icon-manage-projects-1.svg": () => import("./index-Icon-manage-projects-1.svg.js").then((s) => s.default),
|
|
824
|
+
"./assets/icons/Icon-manage-projects-active-1.svg": () => import("./index-Icon-manage-projects-active-1.svg.js").then((s) => s.default),
|
|
825
|
+
"./assets/icons/Icon-manage-projects-active.svg": () => import("./index-Icon-manage-projects-active.svg.js").then((s) => s.default),
|
|
819
826
|
"./assets/icons/Icon-manage-projects.svg": () => import("./index-Icon-manage-projects.svg.js").then((s) => s.default),
|
|
820
827
|
"./assets/icons/Icon-maps-1.svg": () => import("./index-Icon-maps-1.svg.js").then((s) => s.default),
|
|
821
828
|
"./assets/icons/Icon-maps.svg": () => import("./index-Icon-maps.svg.js").then((s) => s.default),
|
|
@@ -875,6 +882,7 @@ const r = /* @__PURE__ */ Object.assign({
|
|
|
875
882
|
"./assets/icons/Icon-queries-target.svg": () => import("./index-Icon-queries-target.svg.js").then((s) => s.default),
|
|
876
883
|
"./assets/icons/Icon-question-1.svg": () => import("./index-Icon-question-1.svg.js").then((s) => s.default),
|
|
877
884
|
"./assets/icons/Icon-question.svg": () => import("./index-Icon-question.svg.js").then((s) => s.default),
|
|
885
|
+
"./assets/icons/Icon-rec-1.svg": () => import("./index-Icon-rec-1.svg.js").then((s) => s.default),
|
|
878
886
|
"./assets/icons/Icon-rec.svg": () => import("./index-Icon-rec.svg.js").then((s) => s.default),
|
|
879
887
|
"./assets/icons/Icon-refresh-1.svg": () => import("./index-Icon-refresh-1.svg.js").then((s) => s.default),
|
|
880
888
|
"./assets/icons/Icon-refresh.svg": () => import("./index-Icon-refresh.svg.js").then((s) => s.default),
|
|
@@ -885,6 +893,8 @@ const r = /* @__PURE__ */ Object.assign({
|
|
|
885
893
|
"./assets/icons/Icon-rewrite-1.svg": () => import("./index-Icon-rewrite-1.svg.js").then((s) => s.default),
|
|
886
894
|
"./assets/icons/Icon-rewrite.svg": () => import("./index-Icon-rewrite.svg.js").then((s) => s.default),
|
|
887
895
|
"./assets/icons/Icon-save-1.svg": () => import("./index-Icon-save-1.svg.js").then((s) => s.default),
|
|
896
|
+
"./assets/icons/Icon-save-active-1.svg": () => import("./index-Icon-save-active-1.svg.js").then((s) => s.default),
|
|
897
|
+
"./assets/icons/Icon-save-active.svg": () => import("./index-Icon-save-active.svg.js").then((s) => s.default),
|
|
888
898
|
"./assets/icons/Icon-save.svg": () => import("./index-Icon-save.svg.js").then((s) => s.default),
|
|
889
899
|
"./assets/icons/Icon-search-1.svg": () => import("./index-Icon-search-1.svg.js").then((s) => s.default),
|
|
890
900
|
"./assets/icons/Icon-search-engines-1.svg": () => import("./index-Icon-search-engines-1.svg.js").then((s) => s.default),
|
|
@@ -895,6 +905,8 @@ const r = /* @__PURE__ */ Object.assign({
|
|
|
895
905
|
"./assets/icons/Icon-send-1.svg": () => import("./index-Icon-send-1.svg.js").then((s) => s.default),
|
|
896
906
|
"./assets/icons/Icon-send.svg": () => import("./index-Icon-send.svg.js").then((s) => s.default),
|
|
897
907
|
"./assets/icons/Icon-sepa-1.svg": () => import("./index-Icon-sepa-1.svg.js").then((s) => s.default),
|
|
908
|
+
"./assets/icons/Icon-sepa-active-1.svg": () => import("./index-Icon-sepa-active-1.svg.js").then((s) => s.default),
|
|
909
|
+
"./assets/icons/Icon-sepa-active.svg": () => import("./index-Icon-sepa-active.svg.js").then((s) => s.default),
|
|
898
910
|
"./assets/icons/Icon-sepa.svg": () => import("./index-Icon-sepa.svg.js").then((s) => s.default),
|
|
899
911
|
"./assets/icons/Icon-settings-1.svg": () => import("./index-Icon-settings-1.svg.js").then((s) => s.default),
|
|
900
912
|
"./assets/icons/Icon-settings-active-1.svg": () => import("./index-Icon-settings-active-1.svg.js").then((s) => s.default),
|
|
@@ -943,6 +955,8 @@ const r = /* @__PURE__ */ Object.assign({
|
|
|
943
955
|
"./assets/icons/Icon-upload-1.svg": () => import("./index-Icon-upload-1.svg.js").then((s) => s.default),
|
|
944
956
|
"./assets/icons/Icon-upload.svg": () => import("./index-Icon-upload.svg.js").then((s) => s.default),
|
|
945
957
|
"./assets/icons/Icon-user-1.svg": () => import("./index-Icon-user-1.svg.js").then((s) => s.default),
|
|
958
|
+
"./assets/icons/Icon-user-active-1.svg": () => import("./index-Icon-user-active-1.svg.js").then((s) => s.default),
|
|
959
|
+
"./assets/icons/Icon-user-active.svg": () => import("./index-Icon-user-active.svg.js").then((s) => s.default),
|
|
946
960
|
"./assets/icons/Icon-user-round-1.svg": () => import("./index-Icon-user-round-1.svg.js").then((s) => s.default),
|
|
947
961
|
"./assets/icons/Icon-user-round.svg": () => import("./index-Icon-user-round.svg.js").then((s) => s.default),
|
|
948
962
|
"./assets/icons/Icon-user.svg": () => import("./index-Icon-user.svg.js").then((s) => s.default),
|
|
@@ -962,6 +976,9 @@ const r = /* @__PURE__ */ Object.assign({
|
|
|
962
976
|
"./assets/index.ts": () => import("./index-assets.js").then((s) => s.default),
|
|
963
977
|
"./assets/placeholders/ufo.svg": () => import("./index-ufo.svg.js").then((s) => s.default),
|
|
964
978
|
"./assets/rc/rc_logo_gray.svg": () => import("./index-rc_logo_gray.svg.js").then((s) => s.default),
|
|
979
|
+
"./assets/reputation/position_high.svg": () => import("./index-position_high.svg.js").then((s) => s.default),
|
|
980
|
+
"./assets/reputation/position_low.svg": () => import("./index-position_low.svg.js").then((s) => s.default),
|
|
981
|
+
"./assets/reputation/position_mid.svg": () => import("./index-position_mid.svg.js").then((s) => s.default),
|
|
965
982
|
"./assets/reputation/rep-full-gauge-mask.svg": () => import("./index-rep-full-gauge-mask.svg.js").then((s) => s.default),
|
|
966
983
|
"./assets/reputation/rep-simple-gauge-mask.svg": () => import("./index-rep-simple-gauge-mask.svg.js").then((s) => s.default),
|
|
967
984
|
"./assets/seo/domainFlow/directories.svg": () => import("./index-directories.svg.js").then((s) => s.default),
|
|
@@ -986,7 +1003,7 @@ async function m(s) {
|
|
|
986
1003
|
}
|
|
987
1004
|
function v(s) {
|
|
988
1005
|
if (!o.has(s)) {
|
|
989
|
-
const t = l(s).pipe(
|
|
1006
|
+
const t = l(s).pipe(c(() => l("")), f(1));
|
|
990
1007
|
o.set(s, t);
|
|
991
1008
|
}
|
|
992
1009
|
return o.get(s);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as a from "react";
|
|
2
|
-
import { arrayIncludes as s } from "./index-
|
|
2
|
+
import { arrayIncludes as s } from "./index-utils11.js";
|
|
3
3
|
import d from "./index-useEnhancedEffect2.js";
|
|
4
4
|
function e() {
|
|
5
5
|
return typeof window > "u" ? "portrait" : window.screen && window.screen.orientation && window.screen.orientation.angle ? Math.abs(window.screen.orientation.angle) === 90 ? "landscape" : "portrait" : window.orientation && Math.abs(Number(window.orientation)) === 90 ? "landscape" : "portrait";
|
package/dist/index-useViews.js
CHANGED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const e = "data:image/svg+xml,%3csvg%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='128'%20height='128'%20rx='64'%20fill='var(--n100)'/%3e%3cpath%20d='M85.2%2085.6C102.823%2085.6%20117%2099.7775%20117%20117.4V128H11V117.4C11%2099.7775%2025.1775%2085.6%2042.8%2085.6H85.2Z'%20fill='var(--brand-color)'/%3e%3cpath%20d='M64%2022C78.575%2022%2090.5%2033.925%2090.5%2048.5C90.5%2063.075%2078.575%2075%2064%2075C49.425%2075%2037.5%2063.075%2037.5%2048.5C37.5%2033.925%2049.425%2022%2064%2022Z'%20fill='var(--brand-color)'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
e as default
|
|
4
|
+
};
|
package/dist/index-utils10.js
CHANGED
|
@@ -1,14 +1,182 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { __require as J } from "./index-bind.js";
|
|
2
|
+
var F, A;
|
|
3
|
+
function X() {
|
|
4
|
+
if (A) return F;
|
|
5
|
+
A = 1;
|
|
6
|
+
var w = J(), s = Object.prototype.toString, l = /* @__PURE__ */ (function(r) {
|
|
7
|
+
return function(e) {
|
|
8
|
+
var t = s.call(e);
|
|
9
|
+
return r[t] || (r[t] = t.slice(8, -1).toLowerCase());
|
|
10
|
+
};
|
|
11
|
+
})(/* @__PURE__ */ Object.create(null));
|
|
12
|
+
function f(r) {
|
|
13
|
+
return r = r.toLowerCase(), function(t) {
|
|
14
|
+
return l(t) === r;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function o(r) {
|
|
18
|
+
return Array.isArray(r);
|
|
19
|
+
}
|
|
20
|
+
function p(r) {
|
|
21
|
+
return typeof r > "u";
|
|
22
|
+
}
|
|
23
|
+
function B(r) {
|
|
24
|
+
return r !== null && !p(r) && r.constructor !== null && !p(r.constructor) && typeof r.constructor.isBuffer == "function" && r.constructor.isBuffer(r);
|
|
25
|
+
}
|
|
26
|
+
var O = f("ArrayBuffer");
|
|
27
|
+
function S(r) {
|
|
28
|
+
var e;
|
|
29
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(r) : e = r && r.buffer && O(r.buffer), e;
|
|
30
|
+
}
|
|
31
|
+
function E(r) {
|
|
32
|
+
return typeof r == "string";
|
|
33
|
+
}
|
|
34
|
+
function g(r) {
|
|
35
|
+
return typeof r == "number";
|
|
36
|
+
}
|
|
37
|
+
function h(r) {
|
|
38
|
+
return r !== null && typeof r == "object";
|
|
39
|
+
}
|
|
40
|
+
function c(r) {
|
|
41
|
+
if (l(r) !== "object")
|
|
42
|
+
return !1;
|
|
43
|
+
var e = Object.getPrototypeOf(r);
|
|
44
|
+
return e === null || e === Object.prototype;
|
|
45
|
+
}
|
|
46
|
+
function P(r) {
|
|
47
|
+
return r && Object.keys(r).length === 0 && Object.getPrototypeOf(r) === Object.prototype;
|
|
48
|
+
}
|
|
49
|
+
var L = f("Date"), x = f("File"), b = f("Blob"), U = f("FileList");
|
|
50
|
+
function y(r) {
|
|
51
|
+
return s.call(r) === "[object Function]";
|
|
52
|
+
}
|
|
53
|
+
function D(r) {
|
|
54
|
+
return h(r) && y(r.pipe);
|
|
55
|
+
}
|
|
56
|
+
function N(r) {
|
|
57
|
+
var e = "[object FormData]";
|
|
58
|
+
return r && (typeof FormData == "function" && r instanceof FormData || s.call(r) === e || y(r.toString) && r.toString() === e);
|
|
59
|
+
}
|
|
60
|
+
var T = f("URLSearchParams");
|
|
61
|
+
function V(r) {
|
|
62
|
+
return r.trim ? r.trim() : r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
63
|
+
}
|
|
64
|
+
function q() {
|
|
65
|
+
var r;
|
|
66
|
+
return typeof navigator < "u" && ((r = navigator.product) === "ReactNative" || r === "NativeScript" || r === "NS") ? !1 : typeof window < "u" && typeof document < "u";
|
|
67
|
+
}
|
|
68
|
+
function d(r, e) {
|
|
69
|
+
if (!(r === null || typeof r > "u"))
|
|
70
|
+
if (typeof r != "object" && (r = [r]), o(r))
|
|
71
|
+
for (var t = 0, i = r.length; t < i; t++)
|
|
72
|
+
e.call(null, r[t], t, r);
|
|
73
|
+
else
|
|
74
|
+
for (var n in r)
|
|
75
|
+
Object.prototype.hasOwnProperty.call(r, n) && e.call(null, r[n], n, r);
|
|
76
|
+
}
|
|
77
|
+
function m() {
|
|
78
|
+
var r = {};
|
|
79
|
+
function e(n, u) {
|
|
80
|
+
c(r[u]) && c(n) ? r[u] = m(r[u], n) : c(n) ? r[u] = m({}, n) : o(n) ? r[u] = n.slice() : r[u] = n;
|
|
81
|
+
}
|
|
82
|
+
for (var t = 0, i = arguments.length; t < i; t++)
|
|
83
|
+
d(arguments[t], e);
|
|
84
|
+
return r;
|
|
85
|
+
}
|
|
86
|
+
function M(r, e, t) {
|
|
87
|
+
return d(e, function(n, u) {
|
|
88
|
+
t && typeof n == "function" ? r[u] = w(n, t) : r[u] = n;
|
|
89
|
+
}), r;
|
|
90
|
+
}
|
|
91
|
+
function R(r) {
|
|
92
|
+
return r.charCodeAt(0) === 65279 && (r = r.slice(1)), r;
|
|
93
|
+
}
|
|
94
|
+
function _(r, e, t, i) {
|
|
95
|
+
r.prototype = Object.create(e.prototype, i), r.prototype.constructor = r, t && Object.assign(r.prototype, t);
|
|
96
|
+
}
|
|
97
|
+
function C(r, e, t, i) {
|
|
98
|
+
var n, u, a, v = {};
|
|
99
|
+
if (e = e || {}, r == null) return e;
|
|
100
|
+
do {
|
|
101
|
+
for (n = Object.getOwnPropertyNames(r), u = n.length; u-- > 0; )
|
|
102
|
+
a = n[u], (!i || i(a, r, e)) && !v[a] && (e[a] = r[a], v[a] = !0);
|
|
103
|
+
r = t !== !1 && Object.getPrototypeOf(r);
|
|
104
|
+
} while (r && (!t || t(r, e)) && r !== Object.prototype);
|
|
105
|
+
return e;
|
|
106
|
+
}
|
|
107
|
+
function H(r, e, t) {
|
|
108
|
+
r = String(r), (t === void 0 || t > r.length) && (t = r.length), t -= e.length;
|
|
109
|
+
var i = r.indexOf(e, t);
|
|
110
|
+
return i !== -1 && i === t;
|
|
111
|
+
}
|
|
112
|
+
function W(r) {
|
|
113
|
+
if (!r) return null;
|
|
114
|
+
if (o(r)) return r;
|
|
115
|
+
var e = r.length;
|
|
116
|
+
if (!g(e)) return null;
|
|
117
|
+
for (var t = new Array(e); e-- > 0; )
|
|
118
|
+
t[e] = r[e];
|
|
119
|
+
return t;
|
|
120
|
+
}
|
|
121
|
+
var I = /* @__PURE__ */ (function(r) {
|
|
122
|
+
return function(e) {
|
|
123
|
+
return r && e instanceof r;
|
|
124
|
+
};
|
|
125
|
+
})(typeof Uint8Array < "u" && Object.getPrototypeOf(Uint8Array));
|
|
126
|
+
function K(r, e) {
|
|
127
|
+
for (var t = r && r[Symbol.iterator], i = t.call(r), n; (n = i.next()) && !n.done; ) {
|
|
128
|
+
var u = n.value;
|
|
129
|
+
e.call(r, u[0], u[1]);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
function $(r, e) {
|
|
133
|
+
for (var t, i = []; (t = r.exec(e)) !== null; )
|
|
134
|
+
i.push(t);
|
|
135
|
+
return i;
|
|
136
|
+
}
|
|
137
|
+
var z = f("HTMLFormElement"), G = /* @__PURE__ */ (function(e) {
|
|
138
|
+
return function(t, i) {
|
|
139
|
+
return e.call(t, i);
|
|
140
|
+
};
|
|
141
|
+
})(Object.prototype.hasOwnProperty);
|
|
142
|
+
return F = {
|
|
143
|
+
isArray: o,
|
|
144
|
+
isArrayBuffer: O,
|
|
145
|
+
isBuffer: B,
|
|
146
|
+
isFormData: N,
|
|
147
|
+
isArrayBufferView: S,
|
|
148
|
+
isString: E,
|
|
149
|
+
isNumber: g,
|
|
150
|
+
isObject: h,
|
|
151
|
+
isPlainObject: c,
|
|
152
|
+
isEmptyObject: P,
|
|
153
|
+
isUndefined: p,
|
|
154
|
+
isDate: L,
|
|
155
|
+
isFile: x,
|
|
156
|
+
isBlob: b,
|
|
157
|
+
isFunction: y,
|
|
158
|
+
isStream: D,
|
|
159
|
+
isURLSearchParams: T,
|
|
160
|
+
isStandardBrowserEnv: q,
|
|
161
|
+
forEach: d,
|
|
162
|
+
merge: m,
|
|
163
|
+
extend: M,
|
|
164
|
+
trim: V,
|
|
165
|
+
stripBOM: R,
|
|
166
|
+
inherits: _,
|
|
167
|
+
toFlatObject: C,
|
|
168
|
+
kindOf: l,
|
|
169
|
+
kindOfTest: f,
|
|
170
|
+
endsWith: H,
|
|
171
|
+
toArray: W,
|
|
172
|
+
isTypedArray: I,
|
|
173
|
+
isFileList: U,
|
|
174
|
+
forEachEntry: K,
|
|
175
|
+
matchAll: $,
|
|
176
|
+
isHTMLForm: z,
|
|
177
|
+
hasOwnProperty: G
|
|
178
|
+
}, F;
|
|
3
179
|
}
|
|
4
|
-
const c = (o, n) => (r) => {
|
|
5
|
-
(r.key === "Enter" || r.key === " ") && (o(r), r.preventDefault(), r.stopPropagation());
|
|
6
|
-
}, t = (o = document) => {
|
|
7
|
-
const n = o.activeElement;
|
|
8
|
-
return n ? n.shadowRoot ? t(n.shadowRoot) : n : null;
|
|
9
|
-
};
|
|
10
180
|
export {
|
|
11
|
-
|
|
12
|
-
t as getActiveElement,
|
|
13
|
-
c as onSpaceOrEnter
|
|
181
|
+
X as __require
|
|
14
182
|
};
|
package/dist/index-utils11.js
CHANGED
|
@@ -1,102 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var n = r.match(e);
|
|
11
|
-
return n ? {
|
|
12
|
-
value: parseInt(n[0], 10),
|
|
13
|
-
rest: r.slice(n[0].length)
|
|
14
|
-
} : null;
|
|
15
|
-
}
|
|
16
|
-
function p(e, r) {
|
|
17
|
-
var n = r.match(e);
|
|
18
|
-
if (!n)
|
|
19
|
-
return null;
|
|
20
|
-
if (n[0] === "Z")
|
|
21
|
-
return {
|
|
22
|
-
value: 0,
|
|
23
|
-
rest: r.slice(1)
|
|
24
|
-
};
|
|
25
|
-
var u = n[1] === "+" ? 1 : -1, t = n[2] ? parseInt(n[2], 10) : 0, a = n[3] ? parseInt(n[3], 10) : 0, c = n[5] ? parseInt(n[5], 10) : 0;
|
|
26
|
-
return {
|
|
27
|
-
value: u * (t * l + a * m + c * f),
|
|
28
|
-
rest: r.slice(n[0].length)
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
function D(e) {
|
|
32
|
-
return i(s.anyDigitsSigned, e);
|
|
33
|
-
}
|
|
34
|
-
function d(e, r) {
|
|
35
|
-
switch (e) {
|
|
36
|
-
case 1:
|
|
37
|
-
return i(s.singleDigit, r);
|
|
38
|
-
case 2:
|
|
39
|
-
return i(s.twoDigits, r);
|
|
40
|
-
case 3:
|
|
41
|
-
return i(s.threeDigits, r);
|
|
42
|
-
case 4:
|
|
43
|
-
return i(s.fourDigits, r);
|
|
44
|
-
default:
|
|
45
|
-
return i(new RegExp("^\\d{1," + e + "}"), r);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
function I(e, r) {
|
|
49
|
-
switch (e) {
|
|
50
|
-
case 1:
|
|
51
|
-
return i(s.singleDigitSigned, r);
|
|
52
|
-
case 2:
|
|
53
|
-
return i(s.twoDigitsSigned, r);
|
|
54
|
-
case 3:
|
|
55
|
-
return i(s.threeDigitsSigned, r);
|
|
56
|
-
case 4:
|
|
57
|
-
return i(s.fourDigitsSigned, r);
|
|
58
|
-
default:
|
|
59
|
-
return i(new RegExp("^-?\\d{1," + e + "}"), r);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
function w(e) {
|
|
63
|
-
switch (e) {
|
|
64
|
-
case "morning":
|
|
65
|
-
return 4;
|
|
66
|
-
case "evening":
|
|
67
|
-
return 17;
|
|
68
|
-
case "pm":
|
|
69
|
-
case "noon":
|
|
70
|
-
case "afternoon":
|
|
71
|
-
return 12;
|
|
72
|
-
case "am":
|
|
73
|
-
case "midnight":
|
|
74
|
-
case "night":
|
|
75
|
-
default:
|
|
76
|
-
return 0;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
function x(e, r) {
|
|
80
|
-
var n = r > 0, u = n ? r : 1 - r, t;
|
|
81
|
-
if (u <= 50)
|
|
82
|
-
t = e || 100;
|
|
83
|
-
else {
|
|
84
|
-
var a = u + 50, c = Math.floor(a / 100) * 100, o = e >= a % 100;
|
|
85
|
-
t = e + c - (o ? 100 : 0);
|
|
86
|
-
}
|
|
87
|
-
return n ? t : 1 - t;
|
|
88
|
-
}
|
|
89
|
-
function P(e) {
|
|
90
|
-
return e % 400 === 0 || e % 4 === 0 && e % 100 !== 0;
|
|
91
|
-
}
|
|
1
|
+
function e(o, n) {
|
|
2
|
+
return Array.isArray(n) ? n.every((r) => o.indexOf(r) !== -1) : o.indexOf(n) !== -1;
|
|
3
|
+
}
|
|
4
|
+
const c = (o, n) => (r) => {
|
|
5
|
+
(r.key === "Enter" || r.key === " ") && (o(r), r.preventDefault(), r.stopPropagation());
|
|
6
|
+
}, t = (o = document) => {
|
|
7
|
+
const n = o.activeElement;
|
|
8
|
+
return n ? n.shadowRoot ? t(n.shadowRoot) : n : null;
|
|
9
|
+
};
|
|
92
10
|
export {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
x as normalizeTwoDigitYear,
|
|
97
|
-
D as parseAnyDigitsSigned,
|
|
98
|
-
d as parseNDigits,
|
|
99
|
-
I as parseNDigitsSigned,
|
|
100
|
-
i as parseNumericPattern,
|
|
101
|
-
p as parseTimezonePattern
|
|
11
|
+
e as arrayIncludes,
|
|
12
|
+
t as getActiveElement,
|
|
13
|
+
c as onSpaceOrEnter
|
|
102
14
|
};
|