@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
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { millisecondsInHour as l, millisecondsInMinute as m, millisecondsInSecond as f } from "./index-constants5.js";
|
|
2
|
+
import { numericPatterns as s } from "./index-constants4.js";
|
|
3
|
+
function h(e, r) {
|
|
4
|
+
return e && {
|
|
5
|
+
value: r(e.value),
|
|
6
|
+
rest: e.rest
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
function i(e, r) {
|
|
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
|
+
}
|
|
92
|
+
export {
|
|
93
|
+
w as dayPeriodEnumToHours,
|
|
94
|
+
P as isLeapYearIndex,
|
|
95
|
+
h as mapValue,
|
|
96
|
+
x as normalizeTwoDigitYear,
|
|
97
|
+
D as parseAnyDigitsSigned,
|
|
98
|
+
d as parseNDigits,
|
|
99
|
+
I as parseNDigitsSigned,
|
|
100
|
+
i as parseNumericPattern,
|
|
101
|
+
p as parseTimezonePattern
|
|
102
|
+
};
|
package/dist/index-utils3.js
CHANGED
|
@@ -1,21 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
if (e
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
const d = (e, t, n) => n <= t ? 0 : Math.max(0, Math.min(100, (e - t) / (n - t) * 100)), l = (e) => `calc(var(--benchmark-gauge-marker-inset, 20px) + ${e / 100} * (100% - 2 * var(--benchmark-gauge-marker-inset, 20px)))`, g = (e) => e >= 100 ? "0px" : `calc(${1 - e / 100} * (100% - 2 * var(--benchmark-gauge-marker-inset, 20px)))`, m = (e) => new Intl.NumberFormat("en", {
|
|
2
|
+
notation: "compact",
|
|
3
|
+
maximumSignificantDigits: 3
|
|
4
|
+
}).format(e), o = ["var(--e500)", "var(--a2900)", "var(--s400)"], h = ({
|
|
5
|
+
markerColor: e,
|
|
6
|
+
rankIndex: t,
|
|
7
|
+
rankCount: n,
|
|
8
|
+
colorByRank: c,
|
|
9
|
+
rankColors: r
|
|
10
|
+
}) => {
|
|
11
|
+
const u = "var(--n400)";
|
|
12
|
+
if (e) return e;
|
|
13
|
+
if (c) {
|
|
14
|
+
const a = r != null && r.length ? r : o;
|
|
15
|
+
if (!a.length)
|
|
16
|
+
return u;
|
|
17
|
+
const i = Math.round(t / Math.max(n - 1, 1) * (a.length - 1));
|
|
18
|
+
return a[Math.max(0, Math.min(i, a.length - 1))] ?? u;
|
|
19
|
+
}
|
|
20
|
+
return u;
|
|
21
|
+
}, v = ({
|
|
22
|
+
showLabels: e,
|
|
23
|
+
startLabel: t,
|
|
24
|
+
endLabel: n,
|
|
25
|
+
min: c,
|
|
26
|
+
max: r,
|
|
27
|
+
compactLabels: u = !1
|
|
28
|
+
}) => {
|
|
29
|
+
if (e === !1)
|
|
30
|
+
return {
|
|
31
|
+
startLabel: void 0,
|
|
32
|
+
endLabel: void 0
|
|
33
|
+
};
|
|
34
|
+
const a = u ? m : String, i = (s, f) => {
|
|
35
|
+
if (s !== null)
|
|
36
|
+
return s !== void 0 ? s : e ? a(f) : void 0;
|
|
37
|
+
};
|
|
38
|
+
return {
|
|
39
|
+
startLabel: i(t, c),
|
|
40
|
+
endLabel: i(n, r)
|
|
41
|
+
};
|
|
42
|
+
};
|
|
19
43
|
export {
|
|
20
|
-
|
|
44
|
+
o as DEFAULT_RANK_COLORS,
|
|
45
|
+
g as fillClipInset,
|
|
46
|
+
l as markerPosition,
|
|
47
|
+
v as resolveLabels,
|
|
48
|
+
h as resolveMarkerColor,
|
|
49
|
+
d as valueToPercent
|
|
21
50
|
};
|
package/dist/index-utils4.js
CHANGED
|
@@ -1,66 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
return new Promise(function(t, r) {
|
|
19
|
-
var e = function() {
|
|
20
|
-
return r(new Error("Could not load remote twitter widgets js"));
|
|
21
|
-
};
|
|
22
|
-
c.ready(a, {
|
|
23
|
-
success: function() {
|
|
24
|
-
var n = window[f];
|
|
25
|
-
(!n || !n.widgets) && e(), t(n.widgets);
|
|
26
|
-
},
|
|
27
|
-
error: e
|
|
28
|
-
});
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
function v(t, r) {
|
|
32
|
-
t && t.querySelectorAll("*").forEach(function(e) {
|
|
33
|
-
e.hasAttribute(r) && e.remove();
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
function u(t, r) {
|
|
37
|
-
return t === r ? t !== 0 || r !== 0 || 1 / t === 1 / r : t !== t && r !== r;
|
|
38
|
-
}
|
|
39
|
-
function w(t, r) {
|
|
40
|
-
if (u(t, r))
|
|
41
|
-
return !0;
|
|
42
|
-
if (typeof t != "object" || t === null || typeof r != "object" || r === null)
|
|
43
|
-
return !1;
|
|
44
|
-
var e = Object.keys(t), o = Object.keys(r);
|
|
45
|
-
if (e.length !== o.length)
|
|
46
|
-
return !1;
|
|
47
|
-
for (var n = 0; n < e.length; n++)
|
|
48
|
-
if (!Object.prototype.hasOwnProperty.call(r, e[n]) || !u(t[e[n]], r[e[n]]))
|
|
49
|
-
return !1;
|
|
50
|
-
return !0;
|
|
51
|
-
}
|
|
52
|
-
function y(t) {
|
|
53
|
-
var r = s();
|
|
54
|
-
return w(t, r.current) || (r.current = t), r.current;
|
|
55
|
-
}
|
|
56
|
-
function O(t) {
|
|
57
|
-
return typeof t == "object" ? i({}, t) : t;
|
|
1
|
+
function n(i) {
|
|
2
|
+
if (!i) return;
|
|
3
|
+
const e = i.toLowerCase();
|
|
4
|
+
if (e.includes("facebook.com") || e.includes("fb.com"))
|
|
5
|
+
return "facebook";
|
|
6
|
+
if (e.includes("instagram.com"))
|
|
7
|
+
return "instagram";
|
|
8
|
+
if (e.includes("youtube.com") || e.includes("youtu.be"))
|
|
9
|
+
return "youtube";
|
|
10
|
+
if (e.includes("linkedin.com"))
|
|
11
|
+
return "linkedin";
|
|
12
|
+
if (e.includes("pinterest.com") || e.includes("pin.it"))
|
|
13
|
+
return "pinterest";
|
|
14
|
+
if (e.includes("tiktok.com"))
|
|
15
|
+
return "tiktok";
|
|
16
|
+
if (e.includes("twitter.com") || e.includes("x.com"))
|
|
17
|
+
return "twitter";
|
|
58
18
|
}
|
|
59
19
|
export {
|
|
60
|
-
|
|
61
|
-
O as cloneShallow,
|
|
62
|
-
v as removeChildrenWithAttribute,
|
|
63
|
-
h as twLoad,
|
|
64
|
-
g as twWidgetFactory,
|
|
65
|
-
y as useShallowCompareMemoize
|
|
20
|
+
n as detectNetworkFromUrl
|
|
66
21
|
};
|
package/dist/index-utils5.js
CHANGED
|
@@ -1,18 +1,66 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import c from "./index-loadjs.umd.js";
|
|
2
|
+
import { useRef as s } from "react";
|
|
3
|
+
function i() {
|
|
4
|
+
return i = Object.assign || function(t) {
|
|
5
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
6
|
+
var e = arguments[r];
|
|
7
|
+
for (var o in e)
|
|
8
|
+
Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
}, i.apply(this, arguments);
|
|
12
|
+
}
|
|
13
|
+
var l = "https://platform.twitter.com/widgets.js", f = "twttr", a = f, m = !!(typeof window < "u" && window.document && window.document.createElement);
|
|
14
|
+
function h() {
|
|
15
|
+
c(l, a);
|
|
16
|
+
}
|
|
17
|
+
function g() {
|
|
18
|
+
return new Promise(function(t, r) {
|
|
19
|
+
var e = function() {
|
|
20
|
+
return r(new Error("Could not load remote twitter widgets js"));
|
|
21
|
+
};
|
|
22
|
+
c.ready(a, {
|
|
23
|
+
success: function() {
|
|
24
|
+
var n = window[f];
|
|
25
|
+
(!n || !n.widgets) && e(), t(n.widgets);
|
|
26
|
+
},
|
|
27
|
+
error: e
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
function v(t, r) {
|
|
32
|
+
t && t.querySelectorAll("*").forEach(function(e) {
|
|
33
|
+
e.hasAttribute(r) && e.remove();
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
function u(t, r) {
|
|
37
|
+
return t === r ? t !== 0 || r !== 0 || 1 / t === 1 / r : t !== t && r !== r;
|
|
38
|
+
}
|
|
39
|
+
function w(t, r) {
|
|
40
|
+
if (u(t, r))
|
|
41
|
+
return !0;
|
|
42
|
+
if (typeof t != "object" || t === null || typeof r != "object" || r === null)
|
|
43
|
+
return !1;
|
|
44
|
+
var e = Object.keys(t), o = Object.keys(r);
|
|
45
|
+
if (e.length !== o.length)
|
|
46
|
+
return !1;
|
|
47
|
+
for (var n = 0; n < e.length; n++)
|
|
48
|
+
if (!Object.prototype.hasOwnProperty.call(r, e[n]) || !u(t[e[n]], r[e[n]]))
|
|
49
|
+
return !1;
|
|
50
|
+
return !0;
|
|
51
|
+
}
|
|
52
|
+
function y(t) {
|
|
53
|
+
var r = s();
|
|
54
|
+
return w(t, r.current) || (r.current = t), r.current;
|
|
55
|
+
}
|
|
56
|
+
function O(t) {
|
|
57
|
+
return typeof t == "object" ? i({}, t) : t;
|
|
14
58
|
}
|
|
15
59
|
export {
|
|
16
|
-
|
|
17
|
-
|
|
60
|
+
m as canUseDOM,
|
|
61
|
+
O as cloneShallow,
|
|
62
|
+
v as removeChildrenWithAttribute,
|
|
63
|
+
h as twLoad,
|
|
64
|
+
g as twWidgetFactory,
|
|
65
|
+
y as useShallowCompareMemoize
|
|
18
66
|
};
|
package/dist/index-utils6.js
CHANGED
|
@@ -1,69 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
value: !0
|
|
15
|
-
}), d.calcFocusDate = M, d.findNextRangeIndex = x, d.getMonthDisplayRange = R, d.generateStyles = I;
|
|
16
|
-
var D = f(y()), _ = f(C), g = f(p), h = f(w), $ = f(F), q = f(N), s = f(S), l = f(U);
|
|
17
|
-
function f(e) {
|
|
18
|
-
return e && e.__esModule ? e : { default: e };
|
|
19
|
-
}
|
|
20
|
-
function M(e, t) {
|
|
21
|
-
var a = t.shownDate, r = t.date, u = t.months, o = t.ranges, i = t.focusedRange, O = t.displayMode, n;
|
|
22
|
-
if (O === "dateRange") {
|
|
23
|
-
var c = o[i[0]] || {};
|
|
24
|
-
n = {
|
|
25
|
-
start: c.startDate,
|
|
26
|
-
end: c.endDate
|
|
27
|
-
};
|
|
28
|
-
} else
|
|
29
|
-
n = {
|
|
30
|
-
start: r,
|
|
31
|
-
end: r
|
|
32
|
-
};
|
|
33
|
-
n.start = (0, l.default)(n.start || /* @__PURE__ */ new Date()), n.end = (0, s.default)(n.end || n.start);
|
|
34
|
-
var m = n.start || n.end || a || /* @__PURE__ */ new Date();
|
|
35
|
-
return e ? (0, g.default)(n.start, n.end) > u ? e : m : a || m;
|
|
36
|
-
}
|
|
37
|
-
function x(e) {
|
|
38
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : -1, a = e.findIndex(function(r, u) {
|
|
39
|
-
return u > t && r.autoFocus !== !1 && !r.disabled;
|
|
40
|
-
});
|
|
41
|
-
return a !== -1 ? a : e.findIndex(function(r) {
|
|
42
|
-
return r.autoFocus !== !1 && !r.disabled;
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
function R(e, t, a) {
|
|
46
|
-
var r = (0, l.default)(e, t), u = (0, s.default)(e, t), o = (0, q.default)(r, t), i = (0, $.default)(u, t);
|
|
47
|
-
return a && (0, h.default)(i, o) <= 34 && (i = (0, _.default)(i, 7)), {
|
|
48
|
-
start: o,
|
|
49
|
-
end: i,
|
|
50
|
-
startDateOfMonth: r,
|
|
51
|
-
endDateOfMonth: u
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
function I(e) {
|
|
55
|
-
if (!e.length) return {};
|
|
56
|
-
var t = e.filter(function(a) {
|
|
57
|
-
return !!a;
|
|
58
|
-
}).reduce(function(a, r) {
|
|
59
|
-
return Object.keys(r).forEach(function(u) {
|
|
60
|
-
a[u] = (0, D.default)(a[u], r[u]);
|
|
61
|
-
}), a;
|
|
62
|
-
}, {});
|
|
63
|
-
return t;
|
|
64
|
-
}
|
|
65
|
-
return d;
|
|
1
|
+
const s = (t) => t.scrollTop;
|
|
2
|
+
function l(t, e) {
|
|
3
|
+
var r, a;
|
|
4
|
+
const {
|
|
5
|
+
timeout: n,
|
|
6
|
+
easing: i,
|
|
7
|
+
style: o = {}
|
|
8
|
+
} = t;
|
|
9
|
+
return {
|
|
10
|
+
duration: (r = o.transitionDuration) != null ? r : typeof n == "number" ? n : n[e.mode] || 0,
|
|
11
|
+
easing: (a = o.transitionTimingFunction) != null ? a : typeof i == "object" ? i[e.mode] : i,
|
|
12
|
+
delay: o.transitionDelay
|
|
13
|
+
};
|
|
66
14
|
}
|
|
67
15
|
export {
|
|
68
|
-
|
|
16
|
+
l as getTransitionProps,
|
|
17
|
+
s as reflow
|
|
69
18
|
};
|
package/dist/index-utils7.js
CHANGED
|
@@ -1,14 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { __exports as d } from "./index-utils9.js";
|
|
2
|
+
import { __require as y } from "./index-classnames2.js";
|
|
3
|
+
import C from "./index-_virtual39.js";
|
|
4
|
+
import p from "./index-_virtual47.js";
|
|
5
|
+
import w from "./index-_virtual40.js";
|
|
6
|
+
import F from "./index-_virtual52.js";
|
|
7
|
+
import N from "./index-_virtual53.js";
|
|
8
|
+
import S from "./index-_virtual45.js";
|
|
9
|
+
import U from "./index-_virtual46.js";
|
|
10
|
+
var v;
|
|
11
|
+
function H() {
|
|
12
|
+
if (v) return d;
|
|
13
|
+
v = 1, Object.defineProperty(d, "__esModule", {
|
|
14
|
+
value: !0
|
|
15
|
+
}), d.calcFocusDate = M, d.findNextRangeIndex = x, d.getMonthDisplayRange = R, d.generateStyles = I;
|
|
16
|
+
var D = f(y()), _ = f(C), g = f(p), h = f(w), $ = f(F), q = f(N), s = f(S), l = f(U);
|
|
17
|
+
function f(e) {
|
|
18
|
+
return e && e.__esModule ? e : { default: e };
|
|
19
|
+
}
|
|
20
|
+
function M(e, t) {
|
|
21
|
+
var a = t.shownDate, r = t.date, u = t.months, o = t.ranges, i = t.focusedRange, O = t.displayMode, n;
|
|
22
|
+
if (O === "dateRange") {
|
|
23
|
+
var c = o[i[0]] || {};
|
|
24
|
+
n = {
|
|
25
|
+
start: c.startDate,
|
|
26
|
+
end: c.endDate
|
|
27
|
+
};
|
|
28
|
+
} else
|
|
29
|
+
n = {
|
|
30
|
+
start: r,
|
|
31
|
+
end: r
|
|
32
|
+
};
|
|
33
|
+
n.start = (0, l.default)(n.start || /* @__PURE__ */ new Date()), n.end = (0, s.default)(n.end || n.start);
|
|
34
|
+
var m = n.start || n.end || a || /* @__PURE__ */ new Date();
|
|
35
|
+
return e ? (0, g.default)(n.start, n.end) > u ? e : m : a || m;
|
|
36
|
+
}
|
|
37
|
+
function x(e) {
|
|
38
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : -1, a = e.findIndex(function(r, u) {
|
|
39
|
+
return u > t && r.autoFocus !== !1 && !r.disabled;
|
|
40
|
+
});
|
|
41
|
+
return a !== -1 ? a : e.findIndex(function(r) {
|
|
42
|
+
return r.autoFocus !== !1 && !r.disabled;
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function R(e, t, a) {
|
|
46
|
+
var r = (0, l.default)(e, t), u = (0, s.default)(e, t), o = (0, q.default)(r, t), i = (0, $.default)(u, t);
|
|
47
|
+
return a && (0, h.default)(i, o) <= 34 && (i = (0, _.default)(i, 7)), {
|
|
48
|
+
start: o,
|
|
49
|
+
end: i,
|
|
50
|
+
startDateOfMonth: r,
|
|
51
|
+
endDateOfMonth: u
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function I(e) {
|
|
55
|
+
if (!e.length) return {};
|
|
56
|
+
var t = e.filter(function(a) {
|
|
57
|
+
return !!a;
|
|
58
|
+
}).reduce(function(a, r) {
|
|
59
|
+
return Object.keys(r).forEach(function(u) {
|
|
60
|
+
a[u] = (0, D.default)(a[u], r[u]);
|
|
61
|
+
}), a;
|
|
62
|
+
}, {});
|
|
63
|
+
return t;
|
|
64
|
+
}
|
|
65
|
+
return d;
|
|
9
66
|
}
|
|
10
67
|
export {
|
|
11
|
-
|
|
12
|
-
u as isAdornedStart,
|
|
13
|
-
n as isFilled
|
|
68
|
+
H as __require
|
|
14
69
|
};
|
package/dist/index-utils8.js
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
function t(r) {
|
|
2
|
+
return r != null && !(Array.isArray(r) && r.length === 0);
|
|
3
|
+
}
|
|
4
|
+
function n(r, e = !1) {
|
|
5
|
+
return r && (t(r.value) && r.value !== "" || e && t(r.defaultValue) && r.defaultValue !== "");
|
|
6
|
+
}
|
|
7
|
+
function u(r) {
|
|
8
|
+
return r.startAdornment;
|
|
9
|
+
}
|
|
2
10
|
export {
|
|
3
|
-
|
|
11
|
+
t as hasValue,
|
|
12
|
+
u as isAdornedStart,
|
|
13
|
+
n as isFilled
|
|
4
14
|
};
|