@rankingcoach/vanguard 1.3.0 → 1.4.1
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/icons/Icon-tools-active-1.svg +3 -0
- package/dist/icons/Icon-tools-active.svg +3 -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-Backdrop.js +1 -1
- package/dist/index-BasePopper.js +1 -1
- 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 +20 -20
- package/dist/index-CalendarPicker.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 +1 -1
- package/dist/index-ControlledValuePlugin.js +1 -1
- package/dist/index-CreditCard.js +1 -1
- package/dist/index-DateInput.js +1 -1
- package/dist/index-DateParser.js +1 -1
- package/dist/index-DatePicker2.js +1 -1
- package/dist/index-DateRange2.js +7 -7
- package/dist/index-DateRangePicker2.js +1 -1
- package/dist/index-DayCell.js +7 -7
- package/dist/index-DayOfYearParser.js +1 -1
- package/dist/index-DayParser.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-DefaultValuePlugin.js +1 -1
- package/dist/index-DefinedRange.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-EraParser.js +1 -1
- package/dist/index-ExtendedYearParser.js +1 -1
- package/dist/index-Fade.js +1 -1
- package/dist/index-FilledInput.js +1 -1
- package/dist/index-FocusTrap.js +1 -1
- package/dist/index-FormControl2.js +1 -1
- 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 +1 -1
- 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-HyperlinkPlugin.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-tools-active-1.svg.js +4 -0
- package/dist/index-Icon-tools-active.svg.js +4 -0
- package/dist/index-IconButton2.js +1 -1
- package/dist/index-Input2.js +1 -1
- package/dist/index-InputAdornment.js +1 -1
- package/dist/index-InputBase.js +48 -43
- package/dist/index-InputBase2.js +1 -1
- package/dist/index-InputLabel.js +1 -1
- package/dist/index-InputRangeField.js +1 -1
- package/dist/index-KeywordNode.js +1 -1
- package/dist/index-KeywordPlugin.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-LoginButton.js +1 -1
- package/dist/index-Menu.js +1 -1
- package/dist/index-MenuItem.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 +10 -10
- 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-OnChangeContentPlugin.js +1 -1
- package/dist/index-OnFocusOnBlurPlugin.js +1 -1
- package/dist/index-OutlinedInput.js +1 -1
- package/dist/index-Paper.js +1 -1
- package/dist/index-Parser2.js +314 -255
- package/dist/index-Parser3.js +129 -2
- package/dist/index-PickersDay.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-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 +1 -1
- package/dist/index-Skeleton2.js +1 -1
- package/dist/index-Slide.js +1 -1
- 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-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-StyledSVG2.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-Text.js +18 -18
- package/dist/index-TextField.js +1 -1
- package/dist/index-TextHighlighted.js +23 -19
- 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-Tokenizer.js +411 -334
- package/dist/index-Tokenizer2.js +139 -2
- 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-_virtual12.js +1 -1
- package/dist/index-_virtual15.js +2 -5
- package/dist/index-_virtual16.js +5 -3
- package/dist/index-_virtual17.js +5 -2
- package/dist/index-_virtual18.js +2 -7
- package/dist/index-_virtual19.js +4 -4
- package/dist/index-_virtual21.js +2 -2
- package/dist/index-_virtual22.js +2 -2
- package/dist/index-_virtual23.js +2 -3
- package/dist/index-_virtual24.js +2 -2
- package/dist/index-_virtual25.js +2 -2
- package/dist/index-_virtual26.js +2 -2
- package/dist/index-_virtual27.js +2 -2
- package/dist/index-_virtual28.js +2 -2
- package/dist/index-_virtual30.js +2 -2
- package/dist/index-_virtual31.js +2 -2
- package/dist/index-_virtual32.js +3 -2
- package/dist/index-_virtual34.js +2 -2
- package/dist/index-_virtual35.js +2 -4
- package/dist/index-_virtual36.js +1 -1
- package/dist/index-_virtual37.js +1 -1
- package/dist/index-_virtual38.js +1 -1
- package/dist/index-_virtual39.js +1 -1
- package/dist/index-_virtual40.js +1 -1
- package/dist/index-_virtual41.js +4 -2
- package/dist/index-_virtual42.js +2 -4
- package/dist/index-_virtual43.js +1 -1
- package/dist/index-_virtual44.js +1 -1
- package/dist/index-_virtual45.js +1 -1
- package/dist/index-_virtual46.js +1 -1
- package/dist/index-_virtual47.js +1 -1
- package/dist/index-_virtual48.js +1 -1
- package/dist/index-_virtual49.js +1 -1
- package/dist/index-_virtual50.js +1 -1
- package/dist/index-_virtual51.js +1 -1
- package/dist/index-_virtual52.js +1 -1
- package/dist/index-_virtual53.js +1 -1
- package/dist/index-_virtual54.js +1 -1
- package/dist/index-_virtual55.js +1 -1
- package/dist/index-_virtual56.js +1 -1
- package/dist/index-_virtual57.js +1 -1
- package/dist/index-_virtual58.js +4 -2
- package/dist/index-_virtual60.js +2 -4
- package/dist/index-_virtual61.js +1 -1
- package/dist/index-_virtual62.js +4 -2
- package/dist/index-_virtual63.js +2 -2
- package/dist/index-_virtual66.js +2 -2
- package/dist/index-_virtual67.js +2 -4
- package/dist/index-_virtual68.js +4 -2
- package/dist/index-_virtual74.js +1 -1
- package/dist/index-_virtual76.js +2 -2
- package/dist/index-_virtual77.js +4 -2
- package/dist/index-_virtual78.js +1 -1
- package/dist/index-_virtual79.js +1 -1
- package/dist/index-_virtual80.js +1 -1
- package/dist/index-_virtual81.js +1 -1
- package/dist/index-_virtual82.js +1 -1
- package/dist/index-_virtual83.js +1 -1
- package/dist/index-_virtual84.js +1 -1
- package/dist/index-_virtual85.js +2 -4
- package/dist/index-_virtual86.js +2 -2
- package/dist/index-applyInternationalSeparatorStyle.js +1 -1
- package/dist/index-attributes-to-props.js +1 -1
- package/dist/index-cjs.js +19 -75
- package/dist/index-colorManipulator3.js +2 -2
- package/dist/index-constants.js +38 -8
- package/dist/index-constants2.js +8 -38
- package/dist/index-createExtensionPattern.js +1 -1
- package/dist/index-createStyled2.js +6 -6
- package/dist/index-decode-data-html.js +5 -11
- package/dist/index-decode-data-xml.js +5 -11
- package/dist/index-decode.js +263 -216
- package/dist/index-decode_codepoint.js +43 -53
- package/dist/index-defaultRanges.js +10 -10
- package/dist/index-dist5.js +1 -1
- package/dist/index-elementAcceptingRef.js +1 -1
- package/dist/index-elementTypeAcceptingRef.js +1 -1
- package/dist/index-emotion-cache.browser.esm.js +2 -2
- package/dist/index-escape.js +43 -48
- package/dist/index-esm2.js +108 -129
- package/dist/index-esm3.js +12 -301
- package/dist/index-esm4.js +135 -17
- package/dist/index-esm5.js +303 -0
- package/dist/index-esm6.js +21 -0
- package/dist/index-esm7.js +102 -0
- package/dist/index-exenv.js +1 -1
- package/dist/index-extractCountryCallingCode.js +1 -1
- package/dist/index-extractPhoneContext.js +1 -1
- package/dist/index-foreignNames.js +101 -108
- package/dist/index-helpers3.js +1 -1
- package/dist/index-http.store.js +1 -1
- package/dist/index-isViablePhoneNumber.js +1 -1
- package/dist/index-keycode.js +1 -1
- package/dist/index-lib.js +2 -2
- package/dist/index-lib2.js +424 -111
- package/dist/index-lib3.js +14 -433
- package/dist/index-lib4.js +120 -14
- package/dist/index-lib5.js +10 -69
- package/dist/index-mpd-parser.es.js +1 -1
- package/dist/index-node.js +1 -1
- package/dist/index-node2.js +1 -1
- package/dist/index-parse2.js +1 -1
- package/dist/index-parse3.js +122 -20
- package/dist/index-refType.js +1 -1
- package/dist/index-responsivePropType.js +1 -1
- package/dist/index-sanitize-html.js +91 -48
- package/dist/index-stripIddPrefix.js +1 -1
- package/dist/index-style-to-object.js +1 -1
- package/dist/index-text-animate-words-style.js +12 -12
- package/dist/index-tiny-emitter.js +1 -1
- package/dist/index-use-dynamic-import.js +2 -0
- package/dist/index-useHyperlinkEditor.js +1 -1
- package/dist/index-useLexicalToolbar.js +1 -1
- package/dist/index-useRteAiAssistant-selection.js +5 -5
- package/dist/index-useThemeWithoutDefault3.js +1 -1
- package/dist/index-utilities.js +1 -1
- package/dist/index-utilities2.js +1 -1
- package/dist/index-utils2.js +1 -1
- package/dist/index-utils6.js +7 -7
- package/dist/index.js +428 -426
- package/dist/types/core/RichTextEditor/stories/RichTextEditorStory.story.d.ts +2 -0
- package/dist/types/core/RichTextEditor/stories/RichTextEditorWithXSSAttackStory.story.d.ts +2 -0
- package/dist/types/core/RichTextEditor/stories/_RichTextEditor.default.d.ts +4 -0
- package/dist/types/core/RichTextEditor/stories/bootstrap/richtexteditor.test.slice.d.ts +1 -0
- package/dist/types/core/TextHighlighted/stories/TextHighlightedStory.story.d.ts +2 -0
- package/dist/types/core/TextHighlighted/stories/TextHighlightedStory2.story.d.ts +2 -0
- package/dist/types/core/TextHighlighted/stories/TextHighlightedWithEmphasisStory.story.d.ts +2 -0
- package/dist/types/core/TextHighlighted/stories/TextHighlightedWithXSSAttackStory.story.d.ts +2 -0
- package/dist/types/core/TextHighlighted/stories/_TextHighlighted.default.d.ts +7 -0
- package/dist/types/core/_internal/InputBase/stories/HighlightLengthExceededTest.story.d.ts +2 -0
- package/dist/types/core/_internal/InputBase/stories/HighlightUrlTest.story.d.ts +2 -0
- package/dist/types/core/_internal/InputBase/stories/HighlightWordsTest.story.d.ts +2 -0
- package/dist/types/helpers/sanitize-html.d.ts +18 -3
- package/dist/types/index.d.ts +2 -0
- package/dist/vanguard-asset-analysis.json +1 -1
- package/dist-wordpress/Icon-tools-active-1-B-9tOuX0.mjs +4 -0
- package/dist-wordpress/Icon-tools-active-t9IjG2pg.mjs +4 -0
- package/dist-wordpress/index.js +23653 -22245
- package/package.json +5 -2
- package/scripts/check-meta-coverage.js +117 -0
- package/scripts/generate-exports-props.js +855 -0
- package/dist/index-Parser5.js +0 -131
- package/dist/index-Tokenizer3.js +0 -141
- package/dist/index-_virtual87.js +0 -4
- package/dist/index-_virtual88.js +0 -4
- package/dist/index-_virtual89.js +0 -4
- package/dist/index-_virtual90.js +0 -4
- package/dist/index-_virtual91.js +0 -4
- package/dist/index-at-rule.js +0 -22
- package/dist/index-cjs2.js +0 -23
- package/dist/index-comment.js +0 -16
- package/dist/index-container.js +0 -223
- package/dist/index-css-syntax-error.js +0 -56
- package/dist/index-declaration.js +0 -19
- package/dist/index-decode-data-html2.js +0 -4
- package/dist/index-decode-data-xml2.js +0 -4
- package/dist/index-decode2.js +0 -4
- package/dist/index-decode_codepoint2.js +0 -4
- package/dist/index-document3.js +0 -23
- package/dist/index-encode-html.js +0 -15
- package/dist/index-encode-html2.js +0 -4
- package/dist/index-encode.js +0 -49
- package/dist/index-encode2.js +0 -4
- package/dist/index-escape-string-regexp.js +0 -11
- package/dist/index-escape2.js +0 -4
- package/dist/index-feeds.js +0 -92
- package/dist/index-feeds2.js +0 -4
- package/dist/index-foreignNames2.js +0 -4
- package/dist/index-fromJSON.js +0 -46
- package/dist/index-helpers4.js +0 -54
- package/dist/index-helpers5.js +0 -4
- package/dist/index-input3.js +0 -139
- package/dist/index-is-plain-object.js +0 -17
- package/dist/index-is-plain-object2.js +0 -4
- package/dist/index-lazy-result.js +0 -343
- package/dist/index-legacy.js +0 -75
- package/dist/index-legacy2.js +0 -4
- package/dist/index-lib6.js +0 -13
- package/dist/index-lib7.js +0 -43
- package/dist/index-lib8.js +0 -147
- package/dist/index-lib9.js +0 -90
- package/dist/index-list3.js +0 -25
- package/dist/index-manipulation.js +0 -61
- package/dist/index-manipulation2.js +0 -4
- package/dist/index-map-generator.js +0 -171
- package/dist/index-no-work-result.js +0 -94
- package/dist/index-node4.js +0 -259
- package/dist/index-non-secure.js +0 -20
- package/dist/index-parse-srcset.js +0 -71
- package/dist/index-parse-srcset2.js +0 -4
- package/dist/index-parse4.js +0 -127
- package/dist/index-parser4.js +0 -322
- package/dist/index-picocolors.browser.js +0 -13
- package/dist/index-picocolors.browser2.js +0 -4
- package/dist/index-postcss.js +0 -46
- package/dist/index-previous-map.js +0 -92
- package/dist/index-processor.js +0 -43
- package/dist/index-querying.js +0 -63
- package/dist/index-querying2.js +0 -4
- package/dist/index-result.js +0 -30
- package/dist/index-root.js +0 -38
- package/dist/index-rule.js +0 -24
- package/dist/index-sanitize-html2.js +0 -672
- package/dist/index-stringifier.js +0 -196
- package/dist/index-stringify.js +0 -14
- package/dist/index-stringify2.js +0 -36
- package/dist/index-stringify3.js +0 -4
- package/dist/index-symbols.js +0 -8
- package/dist/index-symbols2.js +0 -4
- package/dist/index-tokenize.js +0 -114
- package/dist/index-traversal.js +0 -48
- package/dist/index-traversal2.js +0 -4
- package/dist/index-warn-once.js +0 -12
- package/dist/index-warning2.js +0 -25
- /package/dist/{index-Parser6.js → index-Parser4.js} +0 -0
package/dist/index-Parser3.js
CHANGED
|
@@ -1,4 +1,131 @@
|
|
|
1
|
-
|
|
1
|
+
import { RULESET as B, DECLARATION as F, COMMENT as G } from "./index-Enum.js";
|
|
2
|
+
import { strlen as E, append as L, charat as I, replace as M, indexof as H, sizeof as J, substr as O, abs as K, trim as P, from as q } from "./index-Utility.js";
|
|
3
|
+
import { dealloc as Q, alloc as V, next as R, peek as x, delimit as y, identifier as W, commenter as X, escaping as Y, whitespace as Z, node as D, char as _, prev as $, caret as z } from "./index-Tokenizer2.js";
|
|
4
|
+
function ca(e) {
|
|
5
|
+
return Q(N("", null, null, null, [""], e = V(e), 0, [0], e));
|
|
6
|
+
}
|
|
7
|
+
function N(e, o, n, f, m, w, T, v, g) {
|
|
8
|
+
for (var l = 0, d = 0, r = T, h = 0, u = 0, b = 0, s = 1, A = 1, i = 1, c = 0, k = "", C = m, p = w, t = f, a = k; A; )
|
|
9
|
+
switch (b = c, c = R()) {
|
|
10
|
+
// (
|
|
11
|
+
case 40:
|
|
12
|
+
if (b != 108 && I(a, r - 1) == 58) {
|
|
13
|
+
H(a += M(y(c), "&", "&\f"), "&\f") != -1 && (i = -1);
|
|
14
|
+
break;
|
|
15
|
+
}
|
|
16
|
+
// " ' [
|
|
17
|
+
case 34:
|
|
18
|
+
case 39:
|
|
19
|
+
case 91:
|
|
20
|
+
a += y(c);
|
|
21
|
+
break;
|
|
22
|
+
// \t \n \r \s
|
|
23
|
+
case 9:
|
|
24
|
+
case 10:
|
|
25
|
+
case 13:
|
|
26
|
+
case 32:
|
|
27
|
+
a += Z(b);
|
|
28
|
+
break;
|
|
29
|
+
// \
|
|
30
|
+
case 92:
|
|
31
|
+
a += Y(z() - 1, 7);
|
|
32
|
+
continue;
|
|
33
|
+
// /
|
|
34
|
+
case 47:
|
|
35
|
+
switch (x()) {
|
|
36
|
+
case 42:
|
|
37
|
+
case 47:
|
|
38
|
+
L(j(X(R(), z()), o, n), g);
|
|
39
|
+
break;
|
|
40
|
+
default:
|
|
41
|
+
a += "/";
|
|
42
|
+
}
|
|
43
|
+
break;
|
|
44
|
+
// {
|
|
45
|
+
case 123 * s:
|
|
46
|
+
v[l++] = E(a) * i;
|
|
47
|
+
// } ; \0
|
|
48
|
+
case 125 * s:
|
|
49
|
+
case 59:
|
|
50
|
+
case 0:
|
|
51
|
+
switch (c) {
|
|
52
|
+
// \0 }
|
|
53
|
+
case 0:
|
|
54
|
+
case 125:
|
|
55
|
+
A = 0;
|
|
56
|
+
// ;
|
|
57
|
+
case 59 + d:
|
|
58
|
+
i == -1 && (a = M(a, /\f/g, "")), u > 0 && E(a) - r && L(u > 32 ? U(a + ";", f, n, r - 1) : U(M(a, " ", "") + ";", f, n, r - 2), g);
|
|
59
|
+
break;
|
|
60
|
+
// @ ;
|
|
61
|
+
case 59:
|
|
62
|
+
a += ";";
|
|
63
|
+
// { rule/at-rule
|
|
64
|
+
default:
|
|
65
|
+
if (L(t = S(a, o, n, l, d, m, v, k, C = [], p = [], r), w), c === 123)
|
|
66
|
+
if (d === 0)
|
|
67
|
+
N(a, o, t, t, C, w, r, v, p);
|
|
68
|
+
else
|
|
69
|
+
switch (h === 99 && I(a, 3) === 110 ? 100 : h) {
|
|
70
|
+
// d l m s
|
|
71
|
+
case 100:
|
|
72
|
+
case 108:
|
|
73
|
+
case 109:
|
|
74
|
+
case 115:
|
|
75
|
+
N(e, t, t, f && L(S(e, t, t, 0, 0, m, v, k, m, C = [], r), p), m, p, r, v, f ? C : p);
|
|
76
|
+
break;
|
|
77
|
+
default:
|
|
78
|
+
N(a, t, t, t, [""], p, 0, v, p);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
l = d = u = 0, s = i = 1, k = a = "", r = T;
|
|
82
|
+
break;
|
|
83
|
+
// :
|
|
84
|
+
case 58:
|
|
85
|
+
r = 1 + E(a), u = b;
|
|
86
|
+
default:
|
|
87
|
+
if (s < 1) {
|
|
88
|
+
if (c == 123)
|
|
89
|
+
--s;
|
|
90
|
+
else if (c == 125 && s++ == 0 && $() == 125)
|
|
91
|
+
continue;
|
|
92
|
+
}
|
|
93
|
+
switch (a += q(c), c * s) {
|
|
94
|
+
// &
|
|
95
|
+
case 38:
|
|
96
|
+
i = d > 0 ? 1 : (a += "\f", -1);
|
|
97
|
+
break;
|
|
98
|
+
// ,
|
|
99
|
+
case 44:
|
|
100
|
+
v[l++] = (E(a) - 1) * i, i = 1;
|
|
101
|
+
break;
|
|
102
|
+
// @
|
|
103
|
+
case 64:
|
|
104
|
+
x() === 45 && (a += y(R())), h = x(), d = r = E(k = a += W(z())), c++;
|
|
105
|
+
break;
|
|
106
|
+
// -
|
|
107
|
+
case 45:
|
|
108
|
+
b === 45 && E(a) == 2 && (s = 0);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
return w;
|
|
112
|
+
}
|
|
113
|
+
function S(e, o, n, f, m, w, T, v, g, l, d) {
|
|
114
|
+
for (var r = m - 1, h = m === 0 ? w : [""], u = J(h), b = 0, s = 0, A = 0; b < f; ++b)
|
|
115
|
+
for (var i = 0, c = O(e, r + 1, r = K(s = T[b])), k = e; i < u; ++i)
|
|
116
|
+
(k = P(s > 0 ? h[i] + " " + c : M(c, /&\f/g, h[i]))) && (g[A++] = k);
|
|
117
|
+
return D(e, o, n, m === 0 ? B : v, g, l, d);
|
|
118
|
+
}
|
|
119
|
+
function j(e, o, n) {
|
|
120
|
+
return D(e, o, n, G, q(_()), O(e, 2, -2), 0);
|
|
121
|
+
}
|
|
122
|
+
function U(e, o, n, f) {
|
|
123
|
+
return D(e, o, n, F, O(e, 0, f), O(e, f + 1, -1), f);
|
|
124
|
+
}
|
|
2
125
|
export {
|
|
3
|
-
|
|
126
|
+
j as comment,
|
|
127
|
+
ca as compile,
|
|
128
|
+
U as declaration,
|
|
129
|
+
N as parse,
|
|
130
|
+
S as ruleset
|
|
4
131
|
};
|
package/dist/index-PickersDay.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import G from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import y from "./index-extends.js";
|
|
3
3
|
import * as m from "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual16.js";
|
|
5
5
|
import { clsx as T } from "./index-clsx.m.js";
|
|
6
6
|
import { useUtils as L } from "./index-useUtils.js";
|
|
7
7
|
import { DAY_SIZE as S, DAY_MARGIN as V } from "./index-dimensions.js";
|
package/dist/index-Popover2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import v from "./index-extends.js";
|
|
2
2
|
import j from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as p from "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual16.js";
|
|
5
5
|
import { clsx as Z } from "./index-clsx.js";
|
|
6
6
|
import le from "./index-styled.js";
|
|
7
7
|
import { getPopoverUtilityClass as Ee } from "./index-popoverClasses.js";
|
package/dist/index-Popper.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import i from "./index-extends.js";
|
|
2
2
|
import E from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import _ from "./index-useThemeWithoutDefault.js";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual16.js";
|
|
5
5
|
import * as k from "react";
|
|
6
6
|
import q from "./index-BasePopper.js";
|
|
7
7
|
import { jsx as W } from "react/jsx-runtime";
|
package/dist/index-Portal.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import * as y from "react-dom";
|
|
3
|
-
import p from "./index-
|
|
3
|
+
import p from "./index-_virtual16.js";
|
|
4
4
|
import { jsx as s } from "react/jsx-runtime";
|
|
5
5
|
import P from "./index-useForkRef.js";
|
|
6
6
|
import T from "./index-getReactElementRef.js";
|
package/dist/index-PropTypes.js
CHANGED
|
@@ -4,7 +4,7 @@ import n from "./index-assertThisInitialized.js";
|
|
|
4
4
|
import m from "./index-inherits.js";
|
|
5
5
|
import p from "./index-createSuper.js";
|
|
6
6
|
import s from "./index-defineProperty.js";
|
|
7
|
-
import { Parser as Q } from "./index-
|
|
7
|
+
import { Parser as Q } from "./index-Parser4.js";
|
|
8
8
|
import { parseNDigits as l } from "./index-utils11.js";
|
|
9
9
|
var C = /* @__PURE__ */ (function(u) {
|
|
10
10
|
m(o, u);
|
package/dist/index-Ripple.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import m from "./index-extends.js";
|
|
2
2
|
import p from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as n from "react";
|
|
4
|
-
import d from "./index-
|
|
4
|
+
import d from "./index-_virtual16.js";
|
|
5
5
|
import { jsx as l } from "react/jsx-runtime";
|
|
6
6
|
import a from "./index-useEnhancedEffect2.js";
|
|
7
7
|
import h from "./index-debounce3.js";
|
|
@@ -4,7 +4,7 @@ import s from "./index-assertThisInitialized.js";
|
|
|
4
4
|
import p from "./index-inherits.js";
|
|
5
5
|
import f from "./index-createSuper.js";
|
|
6
6
|
import n from "./index-defineProperty.js";
|
|
7
|
-
import { Parser as l } from "./index-
|
|
7
|
+
import { Parser as l } from "./index-Parser4.js";
|
|
8
8
|
import { numericPatterns as d } from "./index-constants4.js";
|
|
9
9
|
import { parseNDigits as h, parseNumericPattern as v } from "./index-utils11.js";
|
|
10
10
|
var S = /* @__PURE__ */ (function(m) {
|
package/dist/index-Select2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import p from "./index-extends.js";
|
|
2
2
|
import I from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as u from "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual16.js";
|
|
5
5
|
import { clsx as z } from "./index-clsx.js";
|
|
6
6
|
import B from "./index-SelectInput2.js";
|
|
7
7
|
import G from "./index-formControlState.js";
|
|
@@ -2,7 +2,7 @@ import u from "./index-extends.js";
|
|
|
2
2
|
import Re from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as i from "react";
|
|
4
4
|
import { isFragment as Fe } from "react-is";
|
|
5
|
-
import t from "./index-
|
|
5
|
+
import t from "./index-_virtual16.js";
|
|
6
6
|
import { clsx as $e } from "./index-clsx.js";
|
|
7
7
|
import je from "./index-Menu.js";
|
|
8
8
|
import { nativeSelectSelectStyles as Ve, nativeSelectIconStyles as We } from "./index-NativeSelectInput.js";
|
package/dist/index-Skeleton2.js
CHANGED
|
@@ -2,7 +2,7 @@ import x from "./index-objectWithoutPropertiesLoose.js";
|
|
|
2
2
|
import s from "./index-extends.js";
|
|
3
3
|
import * as R from "react";
|
|
4
4
|
import { clsx as O } from "./index-clsx.js";
|
|
5
|
-
import t from "./index-
|
|
5
|
+
import t from "./index-_virtual16.js";
|
|
6
6
|
import _ from "./index-styled.js";
|
|
7
7
|
import { getSkeletonUtilityClass as T } from "./index-skeletonClasses.js";
|
|
8
8
|
import { jsx as $ } from "react/jsx-runtime";
|
package/dist/index-Slide.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import x from "./index-extends.js";
|
|
2
2
|
import D from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as g from "react";
|
|
4
|
-
import t from "./index-
|
|
4
|
+
import t from "./index-_virtual16.js";
|
|
5
5
|
import U from "./index-useTheme.js";
|
|
6
6
|
import { getTransitionProps as $, reflow as q } from "./index-utils5.js";
|
|
7
7
|
import { jsx as A } from "react/jsx-runtime";
|
package/dist/index-Slider2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import ut from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import o from "./index-extends.js";
|
|
3
3
|
import * as we from "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual16.js";
|
|
5
5
|
import { clsx as J } from "./index-clsx.js";
|
|
6
6
|
import { c as T } from "./index-colorManipulator2.js";
|
|
7
7
|
import { useRtl as ct } from "./index-RtlProvider.js";
|
package/dist/index-Snackbar2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import O from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import e from "./index-extends.js";
|
|
3
3
|
import * as x from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual16.js";
|
|
5
5
|
import $ from "./index-useSnackbar.js";
|
|
6
6
|
import { getSnackbarUtilityClass as F } from "./index-snackbarClasses.js";
|
|
7
7
|
import { jsx as s } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import g from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import p from "./index-extends.js";
|
|
3
3
|
import * as b from "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual16.js";
|
|
5
5
|
import { clsx as C } from "./index-clsx.js";
|
|
6
6
|
import { c as x } from "./index-colorManipulator2.js";
|
|
7
7
|
import c from "./index-styled.js";
|
|
@@ -4,7 +4,7 @@ import l from "./index-assertThisInitialized.js";
|
|
|
4
4
|
import h from "./index-inherits.js";
|
|
5
5
|
import m from "./index-createSuper.js";
|
|
6
6
|
import d from "./index-defineProperty.js";
|
|
7
|
-
import { Parser as v } from "./index-
|
|
7
|
+
import { Parser as v } from "./index-Parser4.js";
|
|
8
8
|
import { mapValue as u, parseNDigits as x } from "./index-utils11.js";
|
|
9
9
|
import b from "./index-setUTCDay.js";
|
|
10
10
|
var N = /* @__PURE__ */ (function(p) {
|
|
@@ -4,7 +4,7 @@ import u from "./index-assertThisInitialized.js";
|
|
|
4
4
|
import h from "./index-inherits.js";
|
|
5
5
|
import L from "./index-createSuper.js";
|
|
6
6
|
import l from "./index-defineProperty.js";
|
|
7
|
-
import { Parser as d } from "./index-
|
|
7
|
+
import { Parser as d } from "./index-Parser4.js";
|
|
8
8
|
import { numericPatterns as v } from "./index-constants4.js";
|
|
9
9
|
import { mapValue as s, parseNDigits as w, parseNumericPattern as b } from "./index-utils11.js";
|
|
10
10
|
var D = /* @__PURE__ */ (function(m) {
|
|
@@ -4,7 +4,7 @@ import s from "./index-assertThisInitialized.js";
|
|
|
4
4
|
import c from "./index-inherits.js";
|
|
5
5
|
import p from "./index-createSuper.js";
|
|
6
6
|
import i from "./index-defineProperty.js";
|
|
7
|
-
import { Parser as f } from "./index-
|
|
7
|
+
import { Parser as f } from "./index-Parser4.js";
|
|
8
8
|
import { parseNDigits as d } from "./index-utils11.js";
|
|
9
9
|
var T = /* @__PURE__ */ (function(u) {
|
|
10
10
|
c(n, u);
|
package/dist/index-StyledSVG2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as k } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as C, useState as B, useEffect as A, useReducer as F, useCallback as a, isValidElement as H, cloneElement as j } from "react";
|
|
3
|
-
import z from "./index-
|
|
3
|
+
import z from "./index-esm4.js";
|
|
4
4
|
import { STATUS as t } from "./index-config.js";
|
|
5
5
|
import J from "./index-cache.js";
|
|
6
6
|
import { randomString as K, request as Q, canUseDOM as L, isSupportedEnvironment as W, omit as X } from "./index-helpers.js";
|
package/dist/index-SvgIcon.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import S from "./index-extends.js";
|
|
2
2
|
import z from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as x from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual16.js";
|
|
5
5
|
import { clsx as b } from "./index-clsx.js";
|
|
6
6
|
import w from "./index-styled.js";
|
|
7
7
|
import { getSvgIconUtilityClass as T } from "./index-svgIconClasses.js";
|
package/dist/index-Tab2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import E from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import u from "./index-extends.js";
|
|
3
3
|
import * as p from "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual16.js";
|
|
5
5
|
import { clsx as T } from "./index-clsx.js";
|
|
6
6
|
import _ from "./index-styled.js";
|
|
7
7
|
import a, { getTabUtilityClass as D } from "./index-tabClasses.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import P from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import n from "./index-extends.js";
|
|
3
3
|
import * as R from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual16.js";
|
|
5
5
|
import { clsx as x } from "./index-clsx.js";
|
|
6
6
|
import { useRtl as v } from "./index-RtlProvider.js";
|
|
7
7
|
import O from "./index-KeyboardArrowLeft.js";
|
package/dist/index-Tabs2.js
CHANGED
|
@@ -2,7 +2,7 @@ import _e from "./index-objectWithoutPropertiesLoose.js";
|
|
|
2
2
|
import h from "./index-extends.js";
|
|
3
3
|
import * as i from "react";
|
|
4
4
|
import { isFragment as Ve } from "react-is";
|
|
5
|
-
import r from "./index-
|
|
5
|
+
import r from "./index-_virtual16.js";
|
|
6
6
|
import { clsx as M } from "./index-clsx.js";
|
|
7
7
|
import { useRtl as Ye } from "./index-RtlProvider.js";
|
|
8
8
|
import k from "./index-styled.js";
|
package/dist/index-Text.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as i, jsxs as x, Fragment as fe } from "react/jsx-runtime";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
import { classNames as pe } from "./index-classNames.js";
|
|
4
4
|
import { parseCssVariable as _ } from "./index-css-variables-parser.js";
|
|
5
|
-
import {
|
|
5
|
+
import { sanitizeHTMLToReactNode as b } from "./index-sanitize-html.js";
|
|
6
6
|
import { translationHelper as s } from "./index-translation-helper.js";
|
|
7
7
|
import { translationService as k } from "./index-translation.service.js";
|
|
8
8
|
import { rcWindow as ee } from "./index-window.store.js";
|
|
@@ -34,10 +34,10 @@ const Ee = (a) => {
|
|
|
34
34
|
textAlign: H,
|
|
35
35
|
fontWeight: u = d.regular,
|
|
36
36
|
fontSize: K,
|
|
37
|
-
textWrap:
|
|
38
|
-
wordBreak:
|
|
39
|
-
replacements:
|
|
40
|
-
context:
|
|
37
|
+
textWrap: T = "wrap",
|
|
38
|
+
wordBreak: R = "initial",
|
|
39
|
+
replacements: C,
|
|
40
|
+
context: O = "one",
|
|
41
41
|
testId: M,
|
|
42
42
|
translate: g = !0,
|
|
43
43
|
className: I = "",
|
|
@@ -61,27 +61,27 @@ const Ee = (a) => {
|
|
|
61
61
|
typeof o == "string" ? y = o : y = B(o);
|
|
62
62
|
const c = typeof r == "object" && (r.seeMoreVisible === !0 || r.seeMoreVisible === void 0);
|
|
63
63
|
p = te(() => {
|
|
64
|
-
const e = k.get(y,
|
|
64
|
+
const e = k.get(y, C, O, D), n = he(f, e.value);
|
|
65
65
|
return h && typeof n == "string" && (e.value.length > h ? Q(!0) : Q(!1)), {
|
|
66
66
|
value: n,
|
|
67
67
|
fixedValue: n,
|
|
68
68
|
wasTranslated: e.wasTranslated
|
|
69
69
|
// include other properties from the translation object as needed
|
|
70
70
|
};
|
|
71
|
-
}, [
|
|
71
|
+
}, [C, o, O, D, f]), t = g ? ue(p.value, {
|
|
72
72
|
htmlparser2: {
|
|
73
73
|
lowerCaseTags: !1
|
|
74
74
|
}
|
|
75
|
-
}) : k.justReplace(y,
|
|
75
|
+
}) : k.justReplace(y, C), te(() => {
|
|
76
76
|
g && (s.shouldTrackTranslations || s.shouldTrackTranslationKeys) && (ce(X(p)), X(p) ? s.addTranslated(B(o)) : s.addUntranslated(B(o)));
|
|
77
77
|
}, [p, s.shouldTrackTranslations, s.shouldTrackTranslationKeys]);
|
|
78
78
|
const L = () => {
|
|
79
79
|
let e = `rc-text ${m}`;
|
|
80
|
-
return
|
|
81
|
-
}, j = () => {
|
|
82
|
-
const e = {};
|
|
83
|
-
return se && (e.color = _("--n300")), P && (e.color = _(P)), u && (u === d.regular && (e.fontWeight = "normal"), u === d.medium && (e.fontWeight = 500), u === d.bold && (e.fontWeight = "bold")), K && (e.fontSize = K), H && (e.textAlign = H), oe && (e.whiteSpace = C === "wrap" ? "unset" : "nowrap", e.overflow = "hidden", e.textOverflow = "ellipsis", e.wordBreak = a.wordBreak || "break-word", e.maxWidth = re || "100%"), F && (e.display = F), e;
|
|
80
|
+
return T && (e += ` text-${T}`), R && (e += ` text-${R}`), ae && (e += " text-tight"), le && (e += " text-isBlurred"), U && (e += " notranslate"), g || (e += " notranslate"), (s.shouldTrackTranslations || s.shouldTrackTranslationKeys) && (G || (e += " not-translated"), G && (e += " was-translated"), g || (e += " do-not-translate")), ne && (e += " uppercase"), ie && (e += " text-capitalize"), I && (e += ` ${I}`), e;
|
|
84
81
|
}, N = () => {
|
|
82
|
+
const e = {};
|
|
83
|
+
return se && (e.color = _("--n300")), P && (e.color = _(P)), u && (u === d.regular && (e.fontWeight = "normal"), u === d.medium && (e.fontWeight = 500), u === d.bold && (e.fontWeight = "bold")), K && (e.fontSize = K), H && (e.textAlign = H), oe && (e.whiteSpace = T === "wrap" ? "unset" : "nowrap", e.overflow = "hidden", e.textOverflow = "ellipsis", e.wordBreak = a.wordBreak || "break-word", e.maxWidth = re || "100%"), F && (e.display = F), e;
|
|
84
|
+
}, j = () => {
|
|
85
85
|
typeof r == "object" && !c || de((e) => !e);
|
|
86
86
|
}, Y = (e) => i("b", {
|
|
87
87
|
style: {
|
|
@@ -96,7 +96,7 @@ const Ee = (a) => {
|
|
|
96
96
|
const n = Y(v ? "See Less" : "See More"), l = v ? t : `${t.slice(0, h)}...`;
|
|
97
97
|
J && (e.children = x(fe, {
|
|
98
98
|
children: [b(l).children, " ", i("a", {
|
|
99
|
-
onClick:
|
|
99
|
+
onClick: j,
|
|
100
100
|
children: n
|
|
101
101
|
})]
|
|
102
102
|
}));
|
|
@@ -123,7 +123,7 @@ const Ee = (a) => {
|
|
|
123
123
|
r.seeLessContent || typeof r == "object" && r.seeMoreVisible === !1)
|
|
124
124
|
if (v)
|
|
125
125
|
r && (e.children = x("span", {
|
|
126
|
-
onClick:
|
|
126
|
+
onClick: j,
|
|
127
127
|
children: [
|
|
128
128
|
b(t).children,
|
|
129
129
|
" ",
|
|
@@ -134,7 +134,7 @@ const Ee = (a) => {
|
|
|
134
134
|
else {
|
|
135
135
|
const n = typeof t == "string" ? `${t.slice(0, h)}...` : t;
|
|
136
136
|
J && (e.children = x("span", {
|
|
137
|
-
onClick:
|
|
137
|
+
onClick: j,
|
|
138
138
|
children: [
|
|
139
139
|
// @ts-ignore
|
|
140
140
|
n,
|
|
@@ -176,7 +176,7 @@ const Ee = (a) => {
|
|
|
176
176
|
children: i(n, {
|
|
177
177
|
"data-testid": M,
|
|
178
178
|
className: L(),
|
|
179
|
-
style:
|
|
179
|
+
style: N(),
|
|
180
180
|
...E(),
|
|
181
181
|
...W
|
|
182
182
|
})
|
|
@@ -187,7 +187,7 @@ const Ee = (a) => {
|
|
|
187
187
|
children: i("h1", {
|
|
188
188
|
"data-testid": M,
|
|
189
189
|
className: L(),
|
|
190
|
-
style:
|
|
190
|
+
style: N(),
|
|
191
191
|
...E(),
|
|
192
192
|
...W
|
|
193
193
|
})
|
|
@@ -196,7 +196,7 @@ const Ee = (a) => {
|
|
|
196
196
|
children: i("span", {
|
|
197
197
|
"data-testid": M,
|
|
198
198
|
className: pe("paragraph", L()),
|
|
199
|
-
style:
|
|
199
|
+
style: N(),
|
|
200
200
|
...E(),
|
|
201
201
|
...W
|
|
202
202
|
})
|
package/dist/index-TextField.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./index-extends.js";
|
|
2
2
|
import J from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as K from "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual16.js";
|
|
5
5
|
import { clsx as Q } from "./index-clsx.js";
|
|
6
6
|
import X from "./index-styled.js";
|
|
7
7
|
import { getTextFieldUtilityClass as Y } from "./index-textFieldClasses.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { classNames as Y } from "./index-classNames.js";
|
|
3
|
-
import { parseCssVariable as
|
|
4
|
-
import {
|
|
3
|
+
import { parseCssVariable as M } from "./index-css-variables-parser.js";
|
|
4
|
+
import { sanitizeHtml as Z } from "./index-sanitize-html.js";
|
|
5
5
|
import { translationHelper as r } from "./index-translation-helper.js";
|
|
6
6
|
import { translationService as O } from "./index-translation.service.js";
|
|
7
7
|
import { rcWindow as F } from "./index-window.store.js";
|
|
8
|
-
import { childrenAsText as
|
|
8
|
+
import { childrenAsText as C } from "./index-child-to-text.js";
|
|
9
9
|
import { TextTypes as ee, FontWeights as m } from "./index-Text.js";
|
|
10
10
|
import { parseFullLinks as te } from "./index-text-links-parser.js";
|
|
11
11
|
import { TextWrapBalancer as E } from "./index-TextWrapBalancer.js";
|
|
@@ -32,18 +32,18 @@ const ue = (P) => {
|
|
|
32
32
|
display: j = "block",
|
|
33
33
|
uppercase: D = !1,
|
|
34
34
|
links: h,
|
|
35
|
-
balanced:
|
|
35
|
+
balanced: b,
|
|
36
36
|
disabled: G,
|
|
37
37
|
capitalize: J = !1,
|
|
38
|
-
highlightWords:
|
|
38
|
+
highlightWords: k,
|
|
39
39
|
highlightColor: g,
|
|
40
40
|
highlightMode: o = "background",
|
|
41
41
|
caseInsensitive: Q = !1
|
|
42
|
-
} = P,
|
|
42
|
+
} = P, A = F.translationsWritingStyle ? F.translationsWritingStyle : "personal";
|
|
43
43
|
let t = l;
|
|
44
|
-
const [
|
|
44
|
+
const [I, X] = re(!1), L = (e) => r.shouldTrackTranslations ? e.wasTranslated : r.shouldTrackTranslationKeys ? e.hasTranslationKey : !1;
|
|
45
45
|
let c = null, a = "";
|
|
46
|
-
typeof l == "string" ? a = l : a =
|
|
46
|
+
typeof l == "string" ? a = l : a = C(l), c = R(() => O.get(a, N, H, A), [N, l, H, A]), c.value = te(h, c.value), k && k.length && k.forEach((e) => {
|
|
47
47
|
if (Q) {
|
|
48
48
|
const n = new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "gi"), i = a.match(n);
|
|
49
49
|
i && i.forEach((f) => {
|
|
@@ -66,17 +66,21 @@ const ue = (P) => {
|
|
|
66
66
|
children: e
|
|
67
67
|
})));
|
|
68
68
|
}), y && typeof t == "string" && t.length > y && (t = `${t.slice(0, y)}...`), R(() => {
|
|
69
|
-
x && (r.shouldTrackTranslations || r.shouldTrackTranslationKeys) && (X(
|
|
69
|
+
x && (r.shouldTrackTranslations || r.shouldTrackTranslationKeys) && (X(L(c)), L(c) ? r.addTranslated(C(l)) : r.addUntranslated(C(l)));
|
|
70
70
|
}, [c, r.shouldTrackTranslations, r.shouldTrackTranslationKeys]);
|
|
71
71
|
const W = () => {
|
|
72
72
|
let e = `rc-text ${d}`;
|
|
73
|
-
return $ && (e += ` text-${$}`), U && (e += " text-tight"), x || (e += " notranslate"), (r.shouldTrackTranslations || r.shouldTrackTranslationKeys) && (
|
|
73
|
+
return $ && (e += ` text-${$}`), U && (e += " text-tight"), x || (e += " notranslate"), (r.shouldTrackTranslations || r.shouldTrackTranslationKeys) && (I || (e += " not-translated"), I && (e += " was-translated"), x || (e += " do-not-translate")), D && (e += " uppercase"), J && (e += " text-capitalize"), K && (e += ` ${K}`), e;
|
|
74
74
|
}, S = () => {
|
|
75
75
|
const e = {};
|
|
76
|
-
return G && (e.color =
|
|
77
|
-
},
|
|
76
|
+
return G && (e.color = M("--n300")), _ && (e.color = M(_)), p && (p === m.regular && (e.fontWeight = "normal"), p === m.medium && (e.fontWeight = 500), p === m.bold && (e.fontWeight = "bold")), z && (e.fontSize = z), v && (e.textAlign = v), V && (e.whiteSpace = "nowrap", e.overflow = "hidden", e.textOverflow = "ellipsis", e.maxWidth = q || "100%"), j && (e.display = j), e;
|
|
77
|
+
}, w = () => typeof t == "string" ? {
|
|
78
78
|
dangerouslySetInnerHTML: {
|
|
79
|
-
__html: Z(t
|
|
79
|
+
__html: Z(t, {
|
|
80
|
+
allowedAttributes: {
|
|
81
|
+
span: ["class"]
|
|
82
|
+
}
|
|
83
|
+
})
|
|
80
84
|
}
|
|
81
85
|
} : (t && typeof t == "object" && //@ts-ignore
|
|
82
86
|
typeof t[0] == "object" && h && typeof h == "object" && t.forEach((e, n) => {
|
|
@@ -102,30 +106,30 @@ const ue = (P) => {
|
|
|
102
106
|
if (d.indexOf("heading") >= 0) {
|
|
103
107
|
const n = `h${d.split("-")[1]}`;
|
|
104
108
|
return s(E, {
|
|
105
|
-
balanced:
|
|
109
|
+
balanced: b,
|
|
106
110
|
children: s(n, {
|
|
107
111
|
"data-testid": T,
|
|
108
112
|
className: W(),
|
|
109
113
|
style: S(),
|
|
110
|
-
...
|
|
114
|
+
...w()
|
|
111
115
|
})
|
|
112
116
|
});
|
|
113
117
|
}
|
|
114
118
|
return d.indexOf("display") >= 0 ? s(E, {
|
|
115
|
-
balanced:
|
|
119
|
+
balanced: b,
|
|
116
120
|
children: s("h1", {
|
|
117
121
|
"data-testid": T,
|
|
118
122
|
className: W(),
|
|
119
123
|
style: S(),
|
|
120
|
-
...
|
|
124
|
+
...w()
|
|
121
125
|
})
|
|
122
126
|
}) : s(E, {
|
|
123
|
-
balanced:
|
|
127
|
+
balanced: b,
|
|
124
128
|
children: s("span", {
|
|
125
129
|
"data-testid": T,
|
|
126
130
|
className: Y("paragraph", W()),
|
|
127
131
|
style: S(),
|
|
128
|
-
...
|
|
132
|
+
...w()
|
|
129
133
|
})
|
|
130
134
|
});
|
|
131
135
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import z from "./index-extends.js";
|
|
2
2
|
import M from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as a from "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual16.js";
|
|
5
5
|
import { jsxs as B, jsx as O } from "react/jsx-runtime";
|
|
6
6
|
import L from "./index-useForkRef.js";
|
|
7
7
|
import T from "./index-ownerWindow2.js";
|
|
@@ -4,7 +4,7 @@ import o from "./index-assertThisInitialized.js";
|
|
|
4
4
|
import f from "./index-inherits.js";
|
|
5
5
|
import u from "./index-createSuper.js";
|
|
6
6
|
import n from "./index-defineProperty.js";
|
|
7
|
-
import { Parser as c } from "./index-
|
|
7
|
+
import { Parser as c } from "./index-Parser4.js";
|
|
8
8
|
import { parseAnyDigitsSigned as h } from "./index-utils11.js";
|
|
9
9
|
var S = /* @__PURE__ */ (function(m) {
|
|
10
10
|
f(t, m);
|