@nutui/nutui-react 4.0.0-beta.5 → 4.0.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/cjs/packages/animate/style/style.css +27 -9
- package/dist/cjs/packages/animate/style-jmapp/style.css +27 -9
- package/dist/cjs/packages/animate/style-jrkf/style.css +27 -9
- package/dist/cjs/packages/audio/audio.js +8 -8
- package/dist/cjs/packages/badge/badge.js +9 -9
- package/dist/cjs/packages/button/style/style.css +20 -8
- package/dist/cjs/packages/button/style-jmapp/style.css +20 -8
- package/dist/cjs/packages/button/style-jrkf/style.css +20 -8
- package/dist/cjs/packages/cascader/utils.js +3 -2
- package/dist/cjs/packages/configprovider/types.d.ts +1 -1
- package/dist/cjs/packages/indicator/indicator.js +6 -6
- package/dist/cjs/packages/infiniteloading/infiniteloading.js +9 -9
- package/dist/cjs/packages/navbar/style/style.css +3 -1
- package/dist/cjs/packages/navbar/style-jmapp/style.css +3 -1
- package/dist/cjs/packages/navbar/style-jrkf/style.css +3 -1
- package/dist/cjs/packages/noticebar/noticebar.js +115 -52
- package/dist/cjs/packages/noticebar/style/noticebar.scss +130 -10
- package/dist/cjs/packages/noticebar/style/style.css +138 -35
- package/dist/cjs/packages/noticebar/style-jmapp/noticebar.scss +130 -10
- package/dist/cjs/packages/noticebar/style-jmapp/style.css +113 -10
- package/dist/cjs/packages/noticebar/style-jrkf/noticebar.scss +130 -10
- package/dist/cjs/packages/noticebar/style-jrkf/style.css +113 -10
- package/dist/cjs/packages/notify/Notification.js +8 -8
- package/dist/cjs/packages/numberkeyboard/style/style.css +6 -6
- package/dist/cjs/packages/numberkeyboard/style-jmapp/style.css +6 -6
- package/dist/cjs/packages/numberkeyboard/style-jrkf/style.css +6 -6
- package/dist/cjs/packages/popover/popover.js +46 -37
- package/dist/cjs/packages/popover/style/popover.scss +79 -54
- package/dist/cjs/packages/popover/style/style.css +73 -61
- package/dist/cjs/packages/popover/style-jmapp/popover.scss +79 -54
- package/dist/cjs/packages/popover/style-jmapp/style.css +73 -61
- package/dist/cjs/packages/popover/style-jrkf/popover.scss +79 -54
- package/dist/cjs/packages/popover/style-jrkf/style.css +73 -61
- package/dist/cjs/packages/popup/style/style.css +12 -6
- package/dist/cjs/packages/popup/style-jmapp/style.css +12 -6
- package/dist/cjs/packages/popup/style-jrkf/style.css +12 -6
- package/dist/cjs/packages/pulltorefresh/pulltorefresh.js +35 -35
- package/dist/cjs/packages/skeleton/skeleton.js +15 -15
- package/dist/cjs/packages/swiper/swiper.js +11 -11
- package/dist/cjs/packages/toast/Notification.js +8 -8
- package/dist/cjs/packages/tour/tour.js +1 -1
- package/dist/cjs/types/spec/noticebar/base.d.ts +5 -1
- package/dist/cjs/types/spec/popover/base.d.ts +4 -0
- package/dist/cjs/utils/is-forward-ref-component.js +2 -2
- package/dist/cjs/utils/render.js +1 -1
- package/dist/es/packages/animate/style/style.css +27 -9
- package/dist/es/packages/animate/style-jmapp/style.css +27 -9
- package/dist/es/packages/animate/style-jrkf/style.css +27 -9
- package/dist/es/packages/audio/audio.js +8 -8
- package/dist/es/packages/badge/badge.js +9 -9
- package/dist/es/packages/button/style/style.css +20 -8
- package/dist/es/packages/button/style-jmapp/style.css +20 -8
- package/dist/es/packages/button/style-jrkf/style.css +20 -8
- package/dist/es/packages/cascader/utils.js +3 -2
- package/dist/es/packages/configprovider/types.d.ts +1 -1
- package/dist/es/packages/indicator/indicator.js +6 -6
- package/dist/es/packages/infiniteloading/infiniteloading.js +9 -9
- package/dist/es/packages/navbar/style/style.css +3 -1
- package/dist/es/packages/navbar/style-jmapp/style.css +3 -1
- package/dist/es/packages/navbar/style-jrkf/style.css +3 -1
- package/dist/es/packages/noticebar/noticebar.js +117 -55
- package/dist/es/packages/noticebar/style/noticebar.scss +130 -10
- package/dist/es/packages/noticebar/style/style.css +138 -35
- package/dist/es/packages/noticebar/style-jmapp/noticebar.scss +130 -10
- package/dist/es/packages/noticebar/style-jmapp/style.css +113 -10
- package/dist/es/packages/noticebar/style-jrkf/noticebar.scss +130 -10
- package/dist/es/packages/noticebar/style-jrkf/style.css +113 -10
- package/dist/es/packages/notify/Notification.js +8 -8
- package/dist/es/packages/numberkeyboard/style/style.css +6 -6
- package/dist/es/packages/numberkeyboard/style-jmapp/style.css +6 -6
- package/dist/es/packages/numberkeyboard/style-jrkf/style.css +6 -6
- package/dist/es/packages/popover/popover.js +46 -37
- package/dist/es/packages/popover/style/popover.scss +79 -54
- package/dist/es/packages/popover/style/style.css +73 -61
- package/dist/es/packages/popover/style-jmapp/popover.scss +79 -54
- package/dist/es/packages/popover/style-jmapp/style.css +73 -61
- package/dist/es/packages/popover/style-jrkf/popover.scss +79 -54
- package/dist/es/packages/popover/style-jrkf/style.css +73 -61
- package/dist/es/packages/popup/style/style.css +12 -6
- package/dist/es/packages/popup/style-jmapp/style.css +12 -6
- package/dist/es/packages/popup/style-jrkf/style.css +12 -6
- package/dist/es/packages/pulltorefresh/pulltorefresh.js +35 -35
- package/dist/es/packages/skeleton/skeleton.js +15 -15
- package/dist/es/packages/swiper/swiper.js +11 -11
- package/dist/es/packages/toast/Notification.js +8 -8
- package/dist/es/packages/tour/tour.js +1 -1
- package/dist/es/types/spec/noticebar/base.d.ts +19 -3
- package/dist/es/types/spec/popover/base.d.ts +17 -1
- package/dist/es/utils/render.js +1 -1
- package/dist/nutui.react.umd.js +1616 -1256
- package/dist/style-jmapp.css +1 -1
- package/dist/style-jmapp.scss +33 -33
- package/dist/style-jrkf.css +1 -1
- package/dist/style-jrkf.scss +42 -42
- package/dist/style.css +1 -1
- package/dist/style.scss +39 -39
- package/dist/styles/variables-daojia.scss +55 -9
- package/dist/styles/variables-jmapp.scss +52 -6
- package/dist/styles/variables-jrkf.scss +52 -6
- package/dist/styles/variables.scss +123 -15
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ _export(exports, {
|
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
var _object_spread = require("@swc/helpers/_/_object_spread");
|
|
20
|
+
var _object_spread_props = require("@swc/helpers/_/_object_spread_props");
|
|
20
21
|
var _object_without_properties = require("@swc/helpers/_/_object_without_properties");
|
|
21
22
|
var _to_property_key = require("@swc/helpers/_/_to_property_key");
|
|
22
23
|
var normalizeOptions = function normalizeOptions1(options, keyMap) {
|
|
@@ -27,11 +28,11 @@ var normalizeOptions = function normalizeOptions1(options, keyMap) {
|
|
|
27
28
|
_key1,
|
|
28
29
|
_key2
|
|
29
30
|
].map(_to_property_key._));
|
|
30
|
-
return (0, _object_spread._)({
|
|
31
|
+
return (0, _object_spread_props._)((0, _object_spread._)({}, others), {
|
|
31
32
|
text: text,
|
|
32
33
|
value: value,
|
|
33
34
|
children: normalizeOptions(children, keyMap)
|
|
34
|
-
}
|
|
35
|
+
});
|
|
35
36
|
});
|
|
36
37
|
};
|
|
37
38
|
var normalizeListOptions = function normalizeListOptions(options, format) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type NutCSSVariables = 'nutuiColorPrimary' | 'nutuiColorPrimaryStop1' | 'nutuiColorPrimaryStop2' | 'nutuiColorPrimaryPressed' | 'nutuiColorPrimaryDisabled' | 'nutuiColorPrimaryDisabledSpecial' | 'nutuiColorPrimaryLightPressed' | 'nutuiColorPrimaryIcon' | 'nutuiColorPrimaryIconDisabled' | 'nutuiColorDefault' | 'nutuiColorDefaultPressed' | 'nutuiColorDefaultLight' | 'nutuiColorDefaultDisabled' | 'nutuiColorInfo' | 'nutuiColorInfoPressed' | 'nutuiColorInfoDisabled' | 'nutuiColorInfoLight' | 'nutuiColorInfoBackground' | 'nutuiColorSuccess' | 'nutuiColorSuccessPressed' | 'nutuiColorSuccessDisabled' | 'nutuiColorSuccessLight' | 'nutuiColorSuccessBackground' | 'nutuiColorSuccessText' | 'nutuiColorWarning' | 'nutuiColorWarningPressed' | 'nutuiColorWarningDisabled' | 'nutuiColorWarningLight' | 'nutuiColorWarningBackground' | 'nutuiColorWarningText' | 'nutuiColorDanger' | 'nutuiColorDangerPressed' | 'nutuiColorDangerDisabled' | 'nutuiColorDangerLight' | 'nutuiColorDangerBackground' | 'nutuiColorDangerText' | 'nutuiColorService' | 'nutuiColorServicePressed' | 'nutuiColorServiceBorder' | 'nutuiColorServiceText' | 'nutuiColorServiceBtnBg' | 'nutuiColorServiceBtnBgPressed' | 'nutuiColorServiceBtnBgDisabled' | 'nutuiColorBackground' | 'nutuiColorBackgroundOverlay' | 'nutuiColorBackgroundSunken' | 'nutuiColorMask' | 'nutuiColorMaskPart' | 'nutuiColorMaskFaultToleran' | 'nutuiColorBorder' | 'nutuiColorBorderDisabled' | 'nutuiColorTitle' | 'nutuiColorText' | 'nutuiColorTextHelp' | 'nutuiColorTextDisabled' | 'nutuiColorTextDark' | 'nutuiColorTextLink' | 'nutuiColorPrimaryText' | 'nutuiFontSizeXxxs' | 'nutuiFontSizeXxs' | 'nutuiFontSizeXs' | 'nutuiFontSizeS' | 'nutuiFontSizeM' | 'nutuiFontSizeBase' | 'nutuiFontSizeL' | 'nutuiFontSizeMd' | 'nutuiFontSizeIcon' | 'nutuiFontSizeXl' | 'nutuiFontSize2Xl' | 'nutuiFontSizeXxl' | 'nutuiFontSize10' | 'nutuiFontSize11' | 'nutuiLineHeightXxxs' | 'nutuiLineHeightXxs' | 'nutuiLineHeightXs' | 'nutuiLineHeightS' | 'nutuiLineHeightM' | 'nutuiLineHeightBase' | 'nutuiLineHeightL' | 'nutuiLineHeightMd' | 'nutuiLineHeightIcon' | 'nutuiLineHeightXl' | 'nutuiLineHeight2Xl' | 'nutuiLineHeightXxl' | 'nutuiLineHeightXxxl' | 'nutuiLineHeightXxxxl' | 'nutuiFontWeightLight' | 'nutuiFontWeight' | 'nutuiFontWeightMedium' | 'nutuiFontWeightBold' | 'nutuiSpacingXxxs' | 'nutuiSpacingXxs' | 'nutuiSpacingXs' | 'nutuiSpacingS' | 'nutuiSpacingBase' | 'nutuiSpacingL' | 'nutuiSpacingXl' | 'nutuiSpacingXxl' | 'nutuiSpacingXxxl' | 'nutuiRadiusXxxs' | 'nutuiRadiusXxs' | 'nutuiRadiusXs' | 'nutuiRadiusS' | 'nutuiRadiusBase' | 'nutuiRadiusL' | 'nutuiRadiusXl' | 'nutuiRadiusXxl' | 'nutuiRadiusXxxl' | 'nutuiButtonSquareBorderRadius' | 'nutuiButtonBorderRadius' | 'nutuiButtonBorderWidth' | 'nutuiButtonNormalPadding' | 'nutuiButtonDefaultHeight' | 'nutuiButtonDefaultColor' | 'nutuiButtonDefaultBackgroundColor' | 'nutuiButtonDefaultBorderColor' | 'nutuiButtonDefaultDisabled' | 'nutuiButtonDefaultDisabledColor' | 'nutuiButtonDefaultPressed' | 'nutuiButtonDefaultPadding' | 'nutuiButtonDefaultFontSize' | 'nutuiButtonXlargeHeight' | 'nutuiButtonXlargePadding' | 'nutuiButtonXlargeFontSize' | 'nutuiButtonXlargeTextIconMargin' | 'nutuiButtonXlargeBorderRadius' | 'nutuiButton44Height' | 'nutuiButton44Padding' | 'nutuiButton44FontSize' | 'nutuiFontSize15' | 'nutuiButton44BorderRadius' | 'nutuiButtonLargeHeight' | 'nutuiButtonLargePadding' | 'nutuiButtonLargeFontSize' | 'nutuiButtonLargeBorderRadius' | 'nutuiButton36Height' | 'nutuiButton36Padding' | 'nutuiButton36FontSize' | 'nutuiFontSize14' | 'nutuiButton36BorderRadius' | 'nutuiButtonSmallFontSize' | 'nutuiButtonSmallPadding' | 'nutuiButtonSmallHeight' | 'nutuiButtonSmallBorderRadius' | 'nutuiButtonMiniPadding' | 'nutuiButtonMiniHeight' | 'nutuiButtonMiniFontSize' | 'nutuiButtonMiniBorderRadius' | 'nutuiButtonPrimaryColor' | 'nutuiButtonPrimaryBorderColor' | 'nutuiButtonPrimaryBackgroundColor' | 'nutuiButtonPrimaryDisabled' | 'nutuiButtonPrimaryPressed' | 'nutuiButtonSuccessColor' | 'nutuiButtonSuccessBorderColor' | 'nutuiButtonSuccessBackgroundColor' | 'nutuiButtonSuccessDisabled' | 'nutuiButtonSuccessPressed' | 'nutuiButtonInfoColor' | 'nutuiButtonInfoBorderColor' | 'nutuiButtonInfoBackgroundColor' | 'nutuiButtonInfoDisabled' | 'nutuiButtonInfoPressed' | 'nutuiButtonWarningPressed' | 'nutuiButtonWarningColor' | 'nutuiButtonWarningBorderColor' | 'nutuiButtonWarningBackgroundColor' | 'nutuiButtonWarningDisabled' | 'nutuiButtonDangerColor' | 'nutuiButtonDangerBorderColor' | 'nutuiButtonDangerBackgroundColor' | 'nutuiButtonDangerDisabled' | 'nutuiButtonDangerPressed' | 'nutuiButtonServiceColor' | 'nutuiButtonServiceBorderColor' | 'nutuiButtonServiceBackgroundColor' | 'nutuiButtonServiceDisabled' | 'nutuiButtonServicePressed' | 'nutuiButtonPrimaryLightColor' | 'nutuiButtonPrimaryLightBackgroundColor' | 'nutuiButtonPrimaryLightBorderColor' | 'nutuiButtonTextIconMargin' | 'nutuiCellTitleColor' | 'nutuiCellTitleFontSize' | 'nutuiCellDescriptionFontSize' | 'nutuiCellDescriptionColor' | 'nutuiCellExtraFontSize' | 'nutuiCellExtraColor' | 'nutuiCellBorderRadius' | 'nutuiCellPadding' | 'nutuiCellLineHeight' | 'nutuiCellDividerRight' | 'nutuiCellDividerLeft' | 'nutuiCellDividerBorderBottom' | 'nutuiCellBackgroundColor' | 'nutuiCellBoxShadow' | 'nutuiCellGroupTitlePadding' | 'nutuiCellGroupTitleColor' | 'nutuiCellGroupTitleFontSize' | 'nutuiCellGroupTitleLineHeight' | 'nutuiCellGroupDescriptionPadding' | 'nutuiCellGroupDescriptionColor' | 'nutuiCellGroupDescriptionFontSize' | 'nutuiCellGroupDescriptionLineHeight' | 'nutuiCellGroupBackgroundColor' | 'nutuiCellGroupWrapMargin' | 'nutuiDividerMargin' | 'nutuiDividerTextFontSize' | 'nutuiDividerBorderColor' | 'nutuiDividerTextColor' | 'nutuiDividerLineHeight' | 'nutuiDividerSpacing' | 'nutuiDividerSideWidth' | 'nutuiDividerVerticalHeight' | 'nutuiDividerVerticalMargin' | 'nutuiIconSize6' | 'nutuiIconSize8' | 'nutuiIconSize10' | 'nutuiIconSize11' | 'nutuiIconSize12' | 'nutuiIconSize16' | 'nutuiIconSize18' | 'nutuiIconSize20' | 'nutuiIconSize22' | 'nutuiIconHeight' | 'nutuiIconWidth' | 'nutuiIconLineHeight' | 'nutuiUploaderImageWidth' | 'nutuiUploaderImageHeight' | 'nutuiUploaderImageBorder' | 'nutuiUploaderImageBorderRadius' | 'nutuiUploaderBackground' | 'nutuiUploaderBackgroundDisabled' | 'nutuiUploaderImageColor' | 'nutuiUploaderImageDisabled' | 'nutuiUploaderImageIconMarginBottom' | 'nutuiUploaderImageIconTipFontSize' | 'nutuiUploaderPreviewProgressBackground' | 'nutuiUploaderPreviewMarginRight' | 'nutuiUploaderPreviewMarginBottom' | 'nutuiUploaderPreviewTipsHeight' | 'nutuiUploaderPreviewTipsBackground' | 'nutuiBlack7' | 'nutuiUploaderPreviewTipsPadding' | 'nutuiUploaderPreviewCloseRight' | 'nutuiUploaderPreviewCloseTop' | 'nutuiPickerTitleCancelColor' | 'nutuiPickerTitleCancelFontSize' | 'nutuiPickerTitleOkColor' | 'nutuiPickerTitleOkFontSize' | 'nutuiPickerItemHeight' | 'nutuiPickerItemTextColor' | 'nutuiPickerItemTextFontSize' | 'nutuiPickerItemActiveLineBorder' | 'nutuiWhite12' | 'nutuiWhite7' | 'nutuiInputBorderBottom' | 'nutuiInputBorderBottomWidth' | 'nutuiInputDisabledColor' | 'nutuiInputFontSize' | 'nutuiInputLineheight' | 'nutuiInputBorderRadius' | 'nutuiInputColor' | 'nutuiInputBackgroundColor' | 'nutuiInputPadding' | 'nutuiTextareaPadding' | 'nutuiTextareaTextColor' | 'nutuiTextareaTextCurrorColor' | 'nutuiTextareaTextLineHeight' | 'nutuiInputnumberInputWidth' | 'nutuiInputnumberInputHeight' | 'nutuiInputnumberInputBackgroundColor' | 'nutuiColorBackgroundComponent' | 'nutuiInputnumberInputFontColor' | 'nutuiInputnumberInputFontSize' | 'nutuiInputnumberInputBorder' | 'nutuiInputnumberInputBorderRadius' | 'nutuiInputnumberInputMargin' | 'nutuiInputnumberButtonWidth' | 'nutuiInputnumberButtonHeight' | 'nutuiInputnumberButtonBackgroundColor' | 'nutuiInputnumberDividerWidth' | 'nutuiInputnumberInputFontFamily' | 'nutuiInputnumberIconColor' | 'nutuiInputnumberIconSize' | 'nutuiInputnumberDisabledColor' | 'nutuiActionsheetBackgroundColor' | 'nutuiActionsheetBorderColor' | 'nutuiActionsheetBorderRadius' | 'nutuiActionsheetItemTextAlign' | 'nutuiActionsheetItemBorderBottom' | 'nutuiActionsheetItemLineHeight' | 'nutuiActionsheetItemColor' | 'nutuiActionsheetItemDanger' | 'nutuiShortpasswordBackgroundColor' | 'nutuiShortpasswordBorderColor' | 'nutuiShortpasswordError' | 'nutuiShortpasswordForget' | 'nutuiNumberkeyboardPadding' | 'nutuiNumberkeyboardBackgroundColor' | 'nutuiNumberkeyboardWrapperBackgroundColor' | 'nutuiNumberkeyboardHeaderClosePadding' | 'nutuiNumberkeyboardHeaderCloseColor' | 'nutuiNumberkeyboardHeaderCloseFontSize' | 'nutuiNumberkeyboardHeaderCloseBackgroundColor' | 'nutuiNumberkeyboardKeyBackgroundColor' | 'nutuiNumberkeyboardKeyActiveBackgroundColor' | 'nutuiNumberkeyboardKeyHeight' | 'nutuiNumberkeyboardKeyLineHeight' | 'nutuiNumberkeyboardKeyBorderRadius' | 'nutuiNumberkeyboardKeyBorder' | 'nutuiNumberkeyboardKeyFontSize' | 'nutuiNumberkeyboardKeyColor' | 'nutuiNumberkeyboardKeyConfirmFontSize' | 'nutuiNumberkeyboardKeyConfirmColor' | 'nutuiNumberkeyboardKeyConfirmBackgroundColor' | 'nutuiCountdownDisplay' | 'nutuiCountdownColor' | 'nutuiCountdownFontSize' | 'nutuiCountdownFontWeight' | 'nutuiCountdownHeight' | 'nutuiCountdownWidth' | 'nutuiCountdownNumberPadding' | 'nutuiCountdownNumberBorderRadius' | 'nutuiCountdownNumberMargin' | 'nutuiCountdownNumberColor' | 'nutuiCountdownNumberBackgroundColor' | 'nutuiCountdownNumberBorderColor' | 'nutuiCountdownNumberPrimaryColor' | 'nutuiCountdownNumberPrimaryBackgroundColor' | 'nutuiCountdownNumberPrimaryBorderColor' | 'nutuiPriceColor' | 'nutuiPriceDarkgrayColor' | 'nutuiGray7' | 'nutuiPriceLineColor' | 'nutuiPriceSymbolPaddingRight' | 'nutuiPriceSymbolXlargeSize' | 'nutuiPriceIntegerXlargeSize' | 'nutuiPriceDecimalXlargeSize' | 'nutuiPriceSymbolLargeSize' | 'nutuiPriceIntegerLargeSize' | 'nutuiPriceDecimalLargeSize' | 'nutuiPriceSymbolNormalSize' | 'nutuiPriceIntegerNormalSize' | 'nutuiPriceDecimalNormalSize' | 'nutuiPriceSymbolSmallSize' | 'nutuiPriceIntegerSmallSize' | 'nutuiPriceDecimalSmallSize' | 'nutuiAvatarSquare' | 'nutuiAvatarLargeWidth' | 'nutuiAvatarLargeHeight' | 'nutuiAvatarSmallWidth' | 'nutuiAvatarSmallHeight' | 'nutuiAvatarNormalWidth' | 'nutuiAvatarNormalHeight' | 'nutuiSwitchActiveBackgroundColor' | 'nutuiSwitchInactiveBackgroundColor' | 'nutuiSwitchActiveDisabledBackgroundColor' | 'nutuiSwitchInactiveDisabledBackgroundColor' | 'nutuiSwitchInactiveLineBackgroundColor' | 'nutuiSwitchWidth' | 'nutuiSwitchHeight' | 'nutuiSwitchInsideWidth' | 'nutuiSwitchInsideHeight' | 'nutuiSwitchBorderRadius' | 'nutuiSwitchBorderWidth' | 'nutuiSwitchInsideBorderRadius' | 'nutuiSwitchInsideBoxShadow' | 'nutuiSwitchLabelTextColor' | 'nutuiSwitchLabelFontSize' | 'nutuiSwitchInactiveDisabledLabelTextColor' | 'nutuiToastInnerTextAlign' | 'nutuiToastTitleFontSize' | 'nutuiToastTextFontSize' | 'nutuiToastFontColor' | 'nutuiToastInnerPadding' | 'nutuiToastInnerBgColor' | 'nutuiToastInnerBorderRadius' | 'nutuiToastInnerTop' | 'nutuiTourMaskBorderRadius' | 'nutuiTourContentMinWidth' | 'nutuiTourContentPadding' | 'nutuiTourContentInnerMargin' | 'nutuiTourContentInnerFontSize' | 'nutuiTourContentBottomMarginTop' | 'nutuiTourContentBottomBtnMarginLeft' | 'nutuiTourContentBottomBtnPadding' | 'nutuiTourContentBottomBtnFontSize' | 'nutuiTourContentBottomBtnBorderRadius' | 'nutuiCalendarActiveBackgroundColor' | 'nutuiCalendarChooseBackgroundColor' | 'nutuiCalendarChooseColor' | 'nutuiCalendarChooseDisableBackgroundColor' | 'nutuiCalendarDisableColor' | 'nutuiCalendarBaseFontSize' | 'nutuiCalendarTitleFontSize' | 'nutuiCalendarTitleFontWeight' | 'nutuiCalendarSubTitleFontSize' | 'nutuiCalendarHeaderHeight' | 'nutuiCalendarDayWidth' | 'nutuiCalendarDayHeight' | 'nutuiCalendarDayFontWeight' | 'nutuiCalendarDayActiveBorderRadius' | 'nutuiHoverbuttonSpacing' | 'nutuiHoverbuttonPositionBottom' | 'nutuiHoverbuttonPositionRight' | 'nutuiHoverbuttonItemSize' | 'nutuiHoverbuttonItemBorderColor' | 'nutuiHoverbuttonItemBackground' | 'nutuiHoverbuttonItemBackgroundActive' | 'nutuiHoverbuttonItemIconColor' | 'nutuiHoverbuttonItemIconColorActive' | 'nutuiOverlayBgColor' | 'nutuiOverlayContentBgColor' | 'nutuiOverlayContentColor' | 'nutuiOverlayAnimationDuration' | 'nutuiPopupBorderRadius' | 'nutuiPopupIconSize' | 'nutuiPopupTitlePadding' | 'nutuiPopupTitleFontSize' | 'nutuiPopupTitleFontWeight' | 'nutuiPopupDescriptionFontSize' | 'nutuiPopupDescriptionSpacing' | 'nutuiPopupTitleHeight' | 'nutuiPopupTitleBorderBottom' | 'nutuiPopupAnimationDuration' | 'nutuiNotifyHeight' | 'nutuiNotifyPadding' | 'nutuiNotifyBorderRadius' | 'nutuiNotifyBoxShadow' | 'nutuiNotifyZIndex' | 'nutuiNotifyTextColor' | 'nutuiNotifyFontSize' | 'nutuiNotifyBackgroundColor' | 'nutuiRateItemMargin' | 'nutuiRateIconColor' | 'nutuiRateIconInactiveColor' | 'nutuiRateIconSize' | 'nutuiRateFontColor' | 'nutuiRateFontSize' | 'nutuiRateFontSizeLarge' | 'nutuiRateFontSizeSmall' | 'nutuiRateLabelColor' | 'nutuiTabbarHeight' | 'nutuiTabbarActiveColor' | 'nutuiTabbarInactiveColor' | 'nutuiTabbarBorderTop' | 'nutuiTabbarBorderBottom' | 'nutuiTabbarBoxShadow' | 'nutuiTabbarTextFontSize' | 'nutuiTabbarTextLargeFontSize' | 'nutuiTabbarTextLargeFontWeight' | 'nutuiTabbarTextLineHeight' | 'nutuiTabbarTextMarginTop' | 'nutuiPulltorefreshIconWidth' | 'nutuiPulltorefreshIconHeight' | 'nutuiPulltorefreshColorPrimary' | 'nutuiInfiniteloadingColor' | 'nutuiInfiniteloadingIconSize' | 'nutuiRangeColor' | 'nutuiRangeHeight' | 'nutuiRangeMargin' | 'nutuiRangeInactiveColor' | 'nutuiRangeActiveColor' | 'nutuiRangeButtonBackground' | 'nutuiRangeButtonWidth' | 'nutuiRangeButtonHeight' | 'nutuiRangeButtonBorder' | 'nutuiSwiperIndicatorBottom' | 'nutuiStepsBackgroundColor' | 'nutuiStepsBaseHeadHeight' | 'nutuiStepsBaseHeadBackgroundColor' | 'nutuiStepsBaseHeadBorder' | 'nutuiStepsBaseHeadTextSize' | 'nutuiStepsBaseIconSize' | 'nutuiStepsBaseHeadColor' | 'nutuiStepsBaseHeadDotSize' | 'nutuiStepsBaseHeadDotBackgroundColor' | 'nutuiStepsBaseHeadIconSize' | 'nutuiStepsBaseHeadIconSizeRight' | 'nutuiStepsVerticalItemIconSize' | 'nutuiStepsBaseLineHeight' | 'nutuiStepsBaseLineBackground' | 'nutuiStepsBaseTitleFontSize' | 'nutuiStepsBaseTitleColor' | 'nutuiStepsBaseTitleMarginBottom' | 'nutuiStepsBaseDescriptionFontSize' | 'nutuiStepsBaseDescriptionColor' | 'nutuiStepsBaseHeadBorderColor' | 'nutuiStepsProcessHeadBackgroundColor' | 'nutuiStepsProcessColor' | 'nutuiStepsProcessTitleColor' | 'nutuiStepsProcessDescriptionColor' | 'nutuiStepsWaitIconColor' | 'nutuiStepsWaitTitleColor' | 'nutuiStepsWaitDescriptionColor' | 'nutuiStepsFinishIconColor' | 'nutuiStepsBusinessTitleColor' | 'nutuiStepsBusinessDescriptionColor' | 'nutuiStepsBusinessHeadTextColor' | 'nutuiStepsBusinessHeadDotBackgroundColor' | 'nutuiStepsBusinessHeadIconColor' | 'nutuiStepsBusinessHeadBackgroundColor' | 'nutuiStepsEnhancedFinishHeadBackgroundColor' | 'nutuiStepsEnhancedFinishHeadDotBackgroundColor' | 'nutuiStepsEnhancedFinishHeadIconColor' | 'nutuiStepsEnhancedFinishHeadTextColor' | 'nutuiStepsHorizontalItemPaddingRight' | 'nutuiStepsHorizontalItemLinePadding' | 'nutuiStepsHorizontalItemSpecialPaddingRight' | 'nutuiStepsHorizontalItemSpecial3PaddingRight' | 'nutuiStepsVerticalItemPaddingBottom' | 'nutuiStepsVerticalTitleFontSize' | 'nutuiStepsVerticalTitleMarginBottom' | 'nutuiStepsVerticalLineHeight' | 'nutuiStepsVerticalDescriptionFontSize' | 'nutuiStepsVerticalDescriptionMargin' | 'nutuiDialogMinWidth' | 'nutuiDialogWidth' | 'nutuiDialogPadding' | 'nutuiDialogMaxHeight' | 'nutuiDialogMinHeight' | 'nutuiDialogBorderRadius' | 'nutuiDialogBackground' | 'nutuiDialogTitleMarginBottom' | 'nutuiDialogContentMargin' | 'nutuiDialogContentMaxHeight' | 'nutuiDialogContentLineHeight' | 'nutuiDialogContentTextAlign' | 'nutuiDialogFooterButtonBorder' | 'nutuiDialogFooterButtonMinWidth' | 'nutuiDialogFooterCancelMarginRight' | 'nutuiDialogFooterCancelBg' | 'nutuiDialogFooterOkMaxWidth' | 'nutuiDialogFooterBadgeHeight' | 'nutuiDialogFooterBadgeFontsize' | 'nutuiDialogFooterBadgePadding' | 'nutuiDialogFooterBadgeTop' | 'nutuiDialogFooterBadgeBorderRadius' | 'nutuiDialogFooterBadgeBgOk' | 'nutuiDialogFooterBadgeColorOk' | 'nutuiDialogFooterBadgeBgCancel' | 'nutuiDialogFooterBadgeColorCancel' | 'nutuiDialogHeaderFontSize' | 'nutuiDialogHeaderFontWeight' | 'nutuiDialogVerticalFooterOkMarginTop' | 'nutuiDialogCloseColor' | 'nutuiDialogCloseWidth' | 'nutuiDialogCloseHeight' | 'nutuiDialogBottomCloseIconSize' | 'nutuiDialogCloseTop' | 'nutuiDialogCloseLeft' | 'nutuiDialogCloseRight' | 'nutuiCheckboxLabelDisableColor' | 'nutuiCheckboxIconDisableColor' | 'nutuiCheckboxLabelMarginLeft' | 'nutuiCheckboxLabelColor' | 'nutuiCheckboxLabelFontSize' | 'nutuiCheckboxIconFontSize' | 'nutuiCheckboxButtonFontSize' | 'nutuiCheckboxButtonPadding' | 'nutuiCheckboxButtonBorderRadius' | 'nutuiCheckboxButtonActiveBorder' | 'nutuiCheckboxButtonDisabledActiveColor' | 'nutuiCheckboxListBackgroundColor' | 'nutuiCheckboxListItemBorder' | 'nutuiCheckboxListPadding' | 'nutuiCheckboxListItemPadding' | 'nutuiRadioIconFontSize' | 'nutuiRadioLabelColor' | 'nutuiRadioLabelDisableColor' | 'nutuiRadioLabelFontSize' | 'nutuiRadioLabelMarginLeft' | 'nutuiRadioButtonFontSize' | 'nutuiRadioButtonPadding' | 'nutuiRadioButtonBorderRadius' | 'nutuiRadioButtonBackground' | 'nutuiRadioButtonActiveBorder' | 'nutuiRadioButtonDisabledActiveColor' | 'nutuiRadiogroupRadioMargin' | 'nutuiRadiogroupRadioMarginBottom' | 'nutuiRadiogroupRadioLabelMargin' | 'nutuiSignatureBorderColor' | 'nutuiSignatureBorderWidth' | 'nutuiSignatureHeight' | 'nutuiSignatureBackgroundColor' | 'nutuiSignatureFontSize' | 'nutuiFixednavBackgroundColor' | 'nutuiFixednavColor' | 'nutuiFixednavIndex' | 'nutuiFixednavButtonBackground' | 'nutuiFixednavItemActiveColor' | 'nutuiNoticebarHeight' | 'nutuiNoticebarBackground' | 'nutuiNoticebarColor' | 'nutuiNoticebarFontSize' | 'nutuiNoticebarLineHeight' | 'nutuiNoticebarBoxPadding' | 'nutuiNoticebarBorderRadius' | 'nutuiNoticebarWrapablePadding' | 'nutuiNoticebarIconGap' | 'nutuiNoticebarLeftIconWidth' | 'nutuiNoticebarRightIconWidth' | 'nutuiTimeselectDateWidth' | 'nutuiTimeselectDateHeight' | 'nutuiTimeselectDateActiveColor' | 'nutuiTimeselectTimeWidth' | 'nutuiTimeselectTimeHeight' | 'nutuiTimeselectTimeMargin' | 'nutuiTimeselectTimeBackground' | 'nutuiTagPadding' | 'nutuiTagFontSize' | 'nutuiTagBorderRadius' | 'nutuiTagHeight' | 'nutuiTagColor' | 'nutuiTagBorderWidth' | 'nutuiTagBackgroundColor' | 'nutuiTagPrimaryBackgroundColor' | 'nutuiTagInfoBackgroundColor' | 'nutuiTagSuccessBackgroundColor' | 'nutuiTagDangerBackgroundColor' | 'nutuiTagWarningBackgroundColor' | 'nutuiTagRoundBorderRadius' | 'nutuiTagMarkBorderRadius' | 'nutuiBadgeHeight' | 'nutuiBadgeBackgroundColor' | 'nutuiBadgeBackgroundDisabledColor' | 'nutuiBadgeColor' | 'nutuiBadgeFontSize' | 'nutuiBadgeBorder' | 'nutuiBadgeBorderRadius' | 'nutuiBadgeMinWidth' | 'nutuiBadgePadding' | 'nutuiBadgeIconPadding' | 'nutuiBadgeIconSize' | 'nutuiBadgeContentTransform' | 'nutuiBadgeZIndex' | 'nutuiBadgeDotWidth' | 'nutuiBadgeDotSmallWidth' | 'nutuiBadgeDotLargeWidth' | 'nutuiBadgeDotBorder' | 'nutuiBadgeOutlineColor' | 'nutuiBadgeOutlineBorder' | 'nutuiPopoverBorderRadius' | 'nutuiPopoverFontSize' | 'nutuiPopoverContentBackgroundColor' | 'nutuiPopoverTextColor' | 'nutuiPopoverDisableColor' | 'nutuiPopoverDividerColor' | 'nutuiPopoverPadding' | 'nutuiPopoverItemWidth' | 'nutuiProgressHeight' | 'nutuiProgressColor' | 'nutuiProgressBackground' | 'nutuiProgressBorderRadius' | 'nutuiProgressTextColor' | 'nutuiProgressTextBackground' | 'nutuiProgressTextPadding' | 'nutuiProgressTextFontSize' | 'nutuiProgressTextPositionTop' | 'nutuiProgressTextPositionBottom' | 'nutuiProgressTextBorderRadius' | 'nutuiPaginationColor' | 'nutuiPaginationLiteColor' | 'nutuiPaginationFontSize' | 'nutuiPaginationItemBorderColor' | 'nutuiPaginationDisableColor' | 'nutuiPaginationDisableBackgroundColor' | 'nutuiPaginationItemBorderWidth' | 'nutuiPaginationItemBorderRadius' | 'nutuiPaginationPrevNextPadding' | 'nutuiPaginationLiteWidth' | 'nutuiPaginationLiteHeight' | 'nutuiPaginationLiteRadius' | 'nutuiPaginationLiteBackgroundColor' | 'nutuiPaginationLiteActiveBackgroundColor' | 'nutuiBlack5' | 'nutuiTabsTitlesHeight' | 'nutuiTabsTitlesBackgroundColor' | 'nutuiTabsTitlesGap' | 'nutuiTabsTitlesFontSize' | 'nutuiTabsTitlesItemMinWidth' | 'nutuiTabsTitlesItemColor' | 'nutuiTabsTitlesItemActiveColor' | 'nutuiTabsTitlesItemActiveFontWeight' | 'nutuiTabsTitlesItemActiveFontSize' | 'nutuiTabsTitlesItemActiveBackgroundColor' | 'nutuiTabsTabLineWidth' | 'nutuiTabsTabLineHeight' | 'nutuiTabsTabLineColor' | 'nutuiTabsLineBottom' | 'nutuiTabsLineBorderRadius' | 'nutuiTabsTabLineOpacity' | 'nutuiTabsButtonBorderRadius' | 'nutuiTabsButtonActiveBackgroundColor' | 'nutuiTabsButtonActiveBorder' | 'nutuiTabsVerticalTitlesWidth' | 'nutuiTabsVerticalTitlesItemHeight' | 'nutuiTabsVerticalTabLineColor' | 'nutuiTabsVerticalTabLineWidth' | 'nutuiTabsVerticalTabLineHeight' | 'nutuiTabsTitlesItemSmileBottom' | 'nutuiTabsTabpanePadding' | 'nutuiTabsTabpaneBackgroundColor' | 'nutuiIndicatorColor' | 'nutuiIndicatorDotColor' | 'nutuiIndicatorDotSize' | 'nutuiIndicatorDotActiveSize' | 'nutuiIndicatorBorderRadius' | 'nutuiIndicatorDotMargin' | 'nutuiIndicatorDotBorder' | 'nutuiIndicatorDotInactiveColor' | 'nutuiIndicatorTrackWidth' | 'nutuiIndicatorSliderWidth' | 'nutuiIndicatorDualScreenInactiveWidth' | 'nutuiIndicatorPlacementGap' | 'nutuiIndicatorPlacementSafeGap' | 'nutuiMenuScrollFixedTop' | 'nutuiMenuScrollFixedZIndex' | 'nutuiMenuBarLineHeight' | 'nutuiMenuBarBoxShadow' | 'nutuiMenuBarOpenedZIndex' | 'nutuiMenuTitlePadding' | 'nutuiMenuTitleFontSize' | 'nutuiMenuTitleColor' | 'nutuiMenuContainerZIndex' | 'nutuiMenuContentPadding' | 'nutuiMenuContentMaxHeight' | 'nutuiMenuContentBackgroundColor' | 'nutuiMenuItemActiveColor' | 'nutuiMenuItemActiveFontWeight' | 'nutuiMenuItemDisabledColor' | 'nutuiMenuItemPadding' | 'nutuiMenuItemIconMargin' | 'nutuiCollapseItemBorderBottom' | 'nutuiCollapseItemHeaderBorderBottom' | 'nutuiCollapseItemPadding' | 'nutuiCollapseItemColor' | 'nutuiCollapseItemDisabledColor' | 'nutuiCollapseItemFontSize' | 'nutuiCollapseItemLineHeight' | 'nutuiCollapseItemExtraColor' | 'nutuiCollapseWrapperContentPadding' | 'nutuiCollapseWrapperContentColor' | 'nutuiCollapseWrapperContentFontSize' | 'nutuiCollapseWrapperContentLineHeight' | 'nutuiCollapseWrapperContentBackgroundColor' | 'nutuiSearchbarWidth' | 'nutuiSearchbarPadding' | 'nutuiSearchbarBackground' | 'nutuiSearchbarColor' | 'nutuiSearchbarGap' | 'nutuiSearchbarInnerGap' | 'nutuiSearchbarFontSize' | 'nutuiSearchbarContentBackground' | 'nutuiSearchbarContentBorderRadius' | 'nutuiSearchbarContentRoundBorderRadius' | 'nutuiSearchbarIconSize' | 'nutuiSearchbarInputHeight' | 'nutuiSearchbarInputPadding' | 'nutuiSearchbarInputTextColor' | 'nutuiSearchbarInputCurrorColor' | 'nutuiSearchbarInputTextAlign' | 'nutuiSegmentedHeight' | 'nutuiSegmentedPadding' | 'nutuiSegmentedRadius' | 'nutuiSegmentedBackground' | 'nutuiSegmentedItemPadding' | 'nutuiSegmentedItemRadius' | 'nutuiSegmentedItemFontsize' | 'nutuiSegmentedItemColor' | 'nutuiSegmentedActiveBackground' | 'nutuiSegmentedIconMarginRight' | 'nutuiEmptyPadding' | 'nutuiEmptyTitleColor' | 'nutuiEmptyDescriptionColor' | 'nutuiEmptyFullPaddingTop' | 'nutuiEmptyFullImageSize' | 'nutuiEmptyFullTitleFontSize' | 'nutuiEmptyFullTitleLineHeight' | 'nutuiEmptyFullDescriptionFontSize' | 'nutuiEmptyFullDescriptionLineHeight' | 'nutuiEmptyFullActionsMarginTop' | 'nutuiEmptyHalfImageSize' | 'nutuiEmptyHalfTitleFontSize' | 'nutuiEmptyHalfTitleLineHeight' | 'nutuiEmptyHalfDescriptionFontSize' | 'nutuiEmptyHalfDescriptionLineHeight' | 'nutuiEmptyHalfActionsMarginTop' | 'nutuiEmptyPartialPadding' | 'nutuiEmptyPartialImageSize' | 'nutuiEmptyPartialContentGap' | 'nutuiEmptyPartialDescriptionFontSize' | 'nutuiEmptyPartialDescriptionLineHeight' | 'nutuiCascaderFontSize' | 'nutuiCascaderPaneHeight' | 'nutuiCascaderPanePaddingTop' | 'nutuiCascaderIconChecklistMarginLeft' | 'nutuiCascaderTabsItemPadding' | 'nutuiCascaderBarPadding' | 'nutuiCascaderBarFontSize' | 'nutuiCascaderBarLineHeight' | 'nutuiCascaderBarColor' | 'nutuiCascaderItemHeight' | 'nutuiCascaderItemPadding' | 'nutuiCascaderItemMargin' | 'nutuiCascaderItemBorderBottom' | 'nutuiCascaderItemColor' | 'nutuiCascaderItemFontSize' | 'nutuiCascaderItemActiveColor' | 'nutuiFormItemErrorLineColor' | 'nutuiFormItemRequiredColor' | 'nutuiFormItemErrorMessageColor' | 'nutuiFormItemLabelFontSize' | 'nutuiFormItemLabelWidth' | 'nutuiFormItemLabelMarginRight' | 'nutuiFormItemLabelTextAlign' | 'nutuiFormItemRequiredMarginRight' | 'nutuiFormItemBodyFontSize' | 'nutuiFormItemBodySlotsTextAlign' | 'nutuiFormItemBodyInputTextAlign' | 'nutuiFormItemTipFontSize' | 'nutuiFormItemTipTextAlign' | 'nutuiSkeletonBackground' | 'nutuiSkeletonLineWidth' | 'nutuiSkeletonLineSmallHeight' | 'nutuiSkeletonLineNormalHeight' | 'nutuiSkeletonLineLargeHeight' | 'nutuiSkeletonLineBorderRadius' | 'nutuiCardBorderRadius' | 'nutuiGridBorderWidth' | 'nutuiGridBorderColor' | 'nutuiGridItemBorderRadius' | 'nutuiGridItemContentPadding' | 'nutuiGridItemContentBgColor' | 'nutuiGray1' | 'nutuiGridItemTextMargin' | 'nutuiGridItemTextColor' | 'nutuiGridItemTextFontSize' | 'nutuiTableBorderColor' | 'nutuiTableColsPadding' | 'nutuiTableTrEvenBgColor' | 'nutuiTableTrOddBgColor' | 'nutuiTableStickyLeftShadow' | 'nutuiTableStickyRightShadow' | 'nutuiNavbarWidth' | 'nutuiNavbarHeight' | 'nutuiNavbarMarginBottom' | 'nutuiNavbarBackground' | 'nutuiNavbarBoxShadow' | 'nutuiNavbarColor' | 'nutuiNavbarFontSize' | 'nutuiNavbarTitleFontSize' | 'nutuiNavbarTitleFontWeight' | 'nutuiNavbarTitleFontColor' | 'nutuiSidebarBackgroundColor' | 'nutuiSidebarBorderRadius' | 'nutuiSidebarWidth' | 'nutuiSidebarMaxWidth' | 'nutuiSidebarTitleHeight' | 'nutuiSidebarInactiveFontSize' | 'nutuiSidebarActiveFontSize' | 'nutuiSidebarActiveFontWeight' | 'nutuiSidebarActiveColor' | 'nutuiSidebarItemBackground' | 'nutuiSidebarItemPadding' | 'nutuiElevatorListBgColor' | 'nutuiElevatorListFontSize' | 'nutuiElevatorListColor' | 'nutuiElevatorListItemPadding' | 'nutuiElevatorListItemNameHeight' | 'nutuiElevatorListItemCodeFontSize' | 'nutuiElevatorListItemCodeColor' | 'nutuiElevatorListItemCodeFontWeight' | 'nutuiElevatorListItemCodeHeight' | 'nutuiElevatorListItemCodeWidth' | 'nutuiElevatorListItemCodeBorderBottom' | 'nutuiElevatorListItemCodeCurrentBgColor' | 'nutuiElevatorListItemCodeCurrentBorderRadius' | 'nutuiElevatorListItemCodeCurrentWidth' | 'nutuiElevatorListItemCodeCurrentHeight' | 'nutuiElevatorListItemCodeCurrentRight' | 'nutuiElevatorListItemCodeCurrentTop' | 'nutuiElevatorListItemCodeCurrentColor' | 'nutuiElevatorBarsRight' | 'nutuiElevatorBarsTop' | 'nutuiElevatorBarsTransform' | 'nutuiElevatorBarsZIndex' | 'nutuiElevatorBarsFontSize' | 'nutuiElevatorBarsColor' | 'nutuiElevatorBarsActiveColor' | 'nutuiElevatorListFixedColor' | 'nutuiElevatorListFixedBgColor' | 'nutuiElevatorListFixedBoxShadow' | 'nutuiListItemMargin' | 'nutuiAddresslistBg' | 'nutuiAddresslistBorder' | 'nutuiAddresslistFontColor' | 'nutuiAddresslistFontSize' | 'nutuiAddresslistMaskBg' | 'nutuiAddresslistAddrFontColor' | 'nutuiAddresslistAddrFontSize' | 'nutuiAddresslistSetBg' | 'nutuiAddresslistDelBg' | 'nutuiAddresslistContntsContactDefault' | 'nutuiAddresslistContntsContactColor' | 'nutuiCircleprogressPrimaryColor' | 'nutuiCircleprogressPathColor' | 'nutuiCircleprogressTextColor' | 'nutuiCircleprogressTextSize' | 'nutuiEllipsisExpandCollapseColor' | 'nutuiWatermarkZIndex' | 'nutuiTrendarrowFontSize' | 'nutuiTrendarrowIconMargin' | 'nutuiCountupWidth' | 'nutuiCountupHeight' | 'nutuiCountupBaseSize' | 'nutuiCountupBorderRadius' | 'nutuiCountupLrMargin' | 'nutuiCountupBgColor' | 'nutuiCountupColor' | 'nutuiCountupSeparatorColor' | 'nutuiRowContentColor' | 'nutuiRowContentBackgroundColor' | 'nutuiRowContentBorderRadius' | 'nutuiRowContentHeight' | 'nutuiRowContentLineHeight' | 'nutuiColDefaultMarginBottom' | 'nutuiSpaceGap' | 'nutuiLoadingIconColor' | 'nutuiLoadingIconSize' | 'nutuiLoadingColor' | 'nutuiLoadingFontSize' | 'nutuiLoadingLottieBackground' | 'nutuiResultpageWidth' | 'nutuiResultpageIconSize' | 'nutuiResultpageIconMarginBottom' | 'nutuiResultpageTitleMarginBottom' | 'nutuiResultpageTitleFontSize' | 'nutuiResultpageTitleColor' | 'nutuiResultpageDescriptionFontSize' | 'nutuiResultpageDescriptionColor' | 'nutuiResultpageDescriptionLineHeight' | 'nutuiResultpageActionsMarginTop' | 'nutuiQuickenterBgColor' | 'nutuiQuickenterMaxHeight' | 'nutuiQuickenterTitleFontSize' | 'nutuiQuickenterTitleColor' | 'nutuiQuickenterItemTitleFontSize' | 'nutuiQuickenterItemTitleColor' | 'nutuiQuickenterItemIconBgColor' | 'nutuiQuickenterItemIconColor' | 'nutuiQuickenterCloseIconSize' | 'nutuiQuickenterCloseIconColor' | 'nutuiQuickenterBoxShadow' | 'nutuiQuickenterBackdropFilter' | 'nutuiToastInnerMinWidth' | 'nutuiToastInnerMaxWidth' | 'nutuiToastInnerHasIconMinWidth' | 'nutuiToastInnerHasIconMaxWidth' | 'nutuiWhite' | 'nutuiToastTextFontWeight' | 'nutuiToastTitleFontWeight' | 'nutuiToastIconColor' | 'nutuiSafeAreaMultiple' | 'nutuiIndicatorCurrent' | 'nutuiIndicatorTotal' | 'nutuiButtonDisabledBackgroundColor' | 'nutuiBlack3' | 'nutuiBlack1';
|
|
1
|
+
export type NutCSSVariables = 'nutuiColorPrimary' | 'nutuiColorPrimaryStop1' | 'nutuiColorPrimaryStop2' | 'nutuiColorPrimaryPressed' | 'nutuiColorPrimaryDisabled' | 'nutuiColorPrimaryDisabledSpecial' | 'nutuiColorPrimaryLightPressed' | 'nutuiColorPrimaryIcon' | 'nutuiColorPrimaryIconDisabled' | 'nutuiColorDefault' | 'nutuiColorDefaultPressed' | 'nutuiColorDefaultLight' | 'nutuiColorDefaultDisabled' | 'nutuiColorInfo' | 'nutuiColorInfoPressed' | 'nutuiColorInfoDisabled' | 'nutuiColorInfoLight' | 'nutuiColorInfoBackground' | 'nutuiColorSuccess' | 'nutuiColorSuccessPressed' | 'nutuiColorSuccessDisabled' | 'nutuiColorSuccessLight' | 'nutuiColorSuccessBackground' | 'nutuiColorSuccessText' | 'nutuiColorWarning' | 'nutuiColorWarningPressed' | 'nutuiColorWarningDisabled' | 'nutuiColorWarningLight' | 'nutuiColorWarningBackground' | 'nutuiColorWarningText' | 'nutuiColorDanger' | 'nutuiColorDangerPressed' | 'nutuiColorDangerDisabled' | 'nutuiColorDangerLight' | 'nutuiColorDangerBackground' | 'nutuiColorDangerText' | 'nutuiColorService' | 'nutuiColorServicePressed' | 'nutuiColorServiceBorder' | 'nutuiColorServiceText' | 'nutuiColorServiceBtnBg' | 'nutuiColorServiceBtnBgPressed' | 'nutuiColorServiceBtnBgDisabled' | 'nutuiColorBackground' | 'nutuiColorBackgroundOverlay' | 'nutuiColorBackgroundSunken' | 'nutuiColorMask' | 'nutuiColorMaskPart' | 'nutuiColorMaskFaultToleran' | 'nutuiColorBorder' | 'nutuiColorBorderDisabled' | 'nutuiColorTitle' | 'nutuiColorText' | 'nutuiColorTextHelp' | 'nutuiColorTextDisabled' | 'nutuiColorTextDark' | 'nutuiColorTextLink' | 'nutuiColorPrimaryText' | 'nutuiFontSizeXxxs' | 'nutuiFontSizeXxs' | 'nutuiFontSizeXs' | 'nutuiFontSizeS' | 'nutuiFontSizeM' | 'nutuiFontSizeBase' | 'nutuiFontSizeL' | 'nutuiFontSizeMd' | 'nutuiFontSizeIcon' | 'nutuiFontSizeXl' | 'nutuiFontSize2Xl' | 'nutuiFontSizeXxl' | 'nutuiFontSize10' | 'nutuiFontSize11' | 'nutuiLineHeightXxxs' | 'nutuiLineHeightXxs' | 'nutuiLineHeightXs' | 'nutuiLineHeightS' | 'nutuiLineHeightM' | 'nutuiLineHeightBase' | 'nutuiLineHeightL' | 'nutuiLineHeightMd' | 'nutuiLineHeightIcon' | 'nutuiLineHeightXl' | 'nutuiLineHeight2Xl' | 'nutuiLineHeightXxl' | 'nutuiLineHeightXxxl' | 'nutuiLineHeightXxxxl' | 'nutuiFontWeightLight' | 'nutuiFontWeight' | 'nutuiFontWeightMedium' | 'nutuiFontWeightBold' | 'nutuiSpacingXxxs' | 'nutuiSpacingXxs' | 'nutuiSpacingXs' | 'nutuiSpacingS' | 'nutuiSpacingBase' | 'nutuiSpacingL' | 'nutuiSpacingXl' | 'nutuiSpacingXxl' | 'nutuiSpacingXxxl' | 'nutuiRadiusXxxs' | 'nutuiRadiusXxs' | 'nutuiRadiusXs' | 'nutuiRadiusS' | 'nutuiRadiusBase' | 'nutuiRadiusL' | 'nutuiRadiusXl' | 'nutuiRadiusXxl' | 'nutuiRadiusXxxl' | 'nutuiButtonSquareBorderRadius' | 'nutuiButtonBorderRadius' | 'nutuiButtonBorderWidth' | 'nutuiButtonNormalPadding' | 'nutuiButtonDefaultHeight' | 'nutuiButtonDefaultColor' | 'nutuiButtonDefaultBackgroundColor' | 'nutuiButtonDefaultBorderColor' | 'nutuiButtonDefaultDisabled' | 'nutuiButtonDefaultDisabledColor' | 'nutuiButtonDefaultPressed' | 'nutuiButtonDefaultPadding' | 'nutuiButtonDefaultFontSize' | 'nutuiButtonXlargeHeight' | 'nutuiButtonXlargePadding' | 'nutuiButtonXlargeFontSize' | 'nutuiButtonXlargeTextIconMargin' | 'nutuiButtonXlargeBorderRadius' | 'nutuiButton44Height' | 'nutuiButton44Padding' | 'nutuiButton44FontSize' | 'nutuiFontSize15' | 'nutuiButton44BorderRadius' | 'nutuiButtonLargeHeight' | 'nutuiButtonLargePadding' | 'nutuiButtonLargeFontSize' | 'nutuiButtonLargeBorderRadius' | 'nutuiButton36Height' | 'nutuiButton36Padding' | 'nutuiButton36FontSize' | 'nutuiFontSize14' | 'nutuiButton36BorderRadius' | 'nutuiButtonSmallFontSize' | 'nutuiButtonSmallPadding' | 'nutuiButtonSmallHeight' | 'nutuiButtonSmallBorderRadius' | 'nutuiButtonMiniPadding' | 'nutuiButtonMiniHeight' | 'nutuiButtonMiniFontSize' | 'nutuiButtonMiniBorderRadius' | 'nutuiButtonPrimaryColor' | 'nutuiButtonPrimaryBorderColor' | 'nutuiButtonPrimaryBackgroundColor' | 'nutuiButtonPrimaryDisabled' | 'nutuiButtonPrimaryPressed' | 'nutuiButtonSuccessColor' | 'nutuiButtonSuccessBorderColor' | 'nutuiButtonSuccessBackgroundColor' | 'nutuiButtonSuccessDisabled' | 'nutuiButtonSuccessPressed' | 'nutuiButtonInfoColor' | 'nutuiButtonInfoBorderColor' | 'nutuiButtonInfoBackgroundColor' | 'nutuiButtonInfoDisabled' | 'nutuiButtonInfoPressed' | 'nutuiButtonWarningPressed' | 'nutuiButtonWarningColor' | 'nutuiButtonWarningBorderColor' | 'nutuiButtonWarningBackgroundColor' | 'nutuiButtonWarningDisabled' | 'nutuiButtonDangerColor' | 'nutuiButtonDangerBorderColor' | 'nutuiButtonDangerBackgroundColor' | 'nutuiButtonDangerDisabled' | 'nutuiButtonDangerPressed' | 'nutuiButtonServiceColor' | 'nutuiButtonServiceBorderColor' | 'nutuiButtonServiceBackgroundColor' | 'nutuiButtonServiceDisabled' | 'nutuiButtonServicePressed' | 'nutuiButtonPrimaryLightColor' | 'nutuiButtonPrimaryLightBackgroundColor' | 'nutuiButtonPrimaryLightBorderColor' | 'nutuiButtonTextIconMargin' | 'nutuiCellTitleColor' | 'nutuiCellTitleFontSize' | 'nutuiCellDescriptionFontSize' | 'nutuiCellDescriptionColor' | 'nutuiCellExtraFontSize' | 'nutuiCellExtraColor' | 'nutuiCellBorderRadius' | 'nutuiCellPadding' | 'nutuiCellLineHeight' | 'nutuiCellDividerRight' | 'nutuiCellDividerLeft' | 'nutuiCellDividerBorderBottom' | 'nutuiCellBackgroundColor' | 'nutuiCellBoxShadow' | 'nutuiCellGroupTitlePadding' | 'nutuiCellGroupTitleColor' | 'nutuiCellGroupTitleFontSize' | 'nutuiCellGroupTitleLineHeight' | 'nutuiCellGroupDescriptionPadding' | 'nutuiCellGroupDescriptionColor' | 'nutuiCellGroupDescriptionFontSize' | 'nutuiCellGroupDescriptionLineHeight' | 'nutuiCellGroupBackgroundColor' | 'nutuiCellGroupWrapMargin' | 'nutuiDividerMargin' | 'nutuiDividerTextFontSize' | 'nutuiDividerBorderColor' | 'nutuiDividerTextColor' | 'nutuiDividerLineHeight' | 'nutuiDividerSpacing' | 'nutuiDividerSideWidth' | 'nutuiDividerVerticalHeight' | 'nutuiDividerVerticalMargin' | 'nutuiIconSize6' | 'nutuiIconSize8' | 'nutuiIconSize10' | 'nutuiIconSize11' | 'nutuiIconSize12' | 'nutuiIconSize16' | 'nutuiIconSize18' | 'nutuiIconSize20' | 'nutuiIconSize22' | 'nutuiIconHeight' | 'nutuiIconWidth' | 'nutuiIconLineHeight' | 'nutuiUploaderImageWidth' | 'nutuiUploaderImageHeight' | 'nutuiUploaderImageBorder' | 'nutuiUploaderImageBorderRadius' | 'nutuiUploaderBackground' | 'nutuiUploaderBackgroundDisabled' | 'nutuiUploaderImageColor' | 'nutuiUploaderImageDisabled' | 'nutuiUploaderImageIconMarginBottom' | 'nutuiUploaderImageIconTipFontSize' | 'nutuiUploaderPreviewProgressBackground' | 'nutuiUploaderPreviewMarginRight' | 'nutuiUploaderPreviewMarginBottom' | 'nutuiUploaderPreviewTipsHeight' | 'nutuiUploaderPreviewTipsBackground' | 'nutuiBlack7' | 'nutuiUploaderPreviewTipsPadding' | 'nutuiUploaderPreviewCloseRight' | 'nutuiUploaderPreviewCloseTop' | 'nutuiPickerTitleCancelColor' | 'nutuiPickerTitleCancelFontSize' | 'nutuiPickerTitleOkColor' | 'nutuiPickerTitleOkFontSize' | 'nutuiPickerItemHeight' | 'nutuiPickerItemTextColor' | 'nutuiPickerItemTextFontSize' | 'nutuiPickerItemActiveLineBorder' | 'nutuiWhite12' | 'nutuiWhite7' | 'nutuiInputBorderBottom' | 'nutuiInputBorderBottomWidth' | 'nutuiInputDisabledColor' | 'nutuiInputFontSize' | 'nutuiInputLineheight' | 'nutuiInputBorderRadius' | 'nutuiInputColor' | 'nutuiInputBackgroundColor' | 'nutuiInputPadding' | 'nutuiTextareaPadding' | 'nutuiTextareaTextColor' | 'nutuiTextareaTextCurrorColor' | 'nutuiTextareaTextLineHeight' | 'nutuiInputnumberInputWidth' | 'nutuiInputnumberInputHeight' | 'nutuiInputnumberInputBackgroundColor' | 'nutuiColorBackgroundComponent' | 'nutuiInputnumberInputFontColor' | 'nutuiInputnumberInputFontSize' | 'nutuiInputnumberInputBorder' | 'nutuiInputnumberInputBorderRadius' | 'nutuiInputnumberInputMargin' | 'nutuiInputnumberButtonWidth' | 'nutuiInputnumberButtonHeight' | 'nutuiInputnumberButtonBackgroundColor' | 'nutuiInputnumberDividerWidth' | 'nutuiInputnumberInputFontFamily' | 'nutuiInputnumberIconColor' | 'nutuiInputnumberIconSize' | 'nutuiInputnumberDisabledColor' | 'nutuiActionsheetBackgroundColor' | 'nutuiActionsheetBorderColor' | 'nutuiActionsheetBorderRadius' | 'nutuiActionsheetItemTextAlign' | 'nutuiActionsheetItemBorderBottom' | 'nutuiActionsheetItemLineHeight' | 'nutuiActionsheetItemColor' | 'nutuiActionsheetItemDanger' | 'nutuiShortpasswordBackgroundColor' | 'nutuiShortpasswordBorderColor' | 'nutuiShortpasswordError' | 'nutuiShortpasswordForget' | 'nutuiNumberkeyboardPadding' | 'nutuiNumberkeyboardBackgroundColor' | 'nutuiNumberkeyboardWrapperBackgroundColor' | 'nutuiNumberkeyboardHeaderClosePadding' | 'nutuiNumberkeyboardHeaderCloseColor' | 'nutuiNumberkeyboardHeaderCloseFontSize' | 'nutuiNumberkeyboardHeaderCloseBackgroundColor' | 'nutuiNumberkeyboardKeyBackgroundColor' | 'nutuiNumberkeyboardKeyActiveBackgroundColor' | 'nutuiNumberkeyboardKeyHeight' | 'nutuiNumberkeyboardKeyLineHeight' | 'nutuiNumberkeyboardKeyBorderRadius' | 'nutuiNumberkeyboardKeyBorder' | 'nutuiNumberkeyboardKeyFontSize' | 'nutuiNumberkeyboardKeyColor' | 'nutuiNumberkeyboardKeyConfirmFontSize' | 'nutuiNumberkeyboardKeyConfirmColor' | 'nutuiNumberkeyboardKeyConfirmBackgroundColor' | 'nutuiCountdownDisplay' | 'nutuiCountdownColor' | 'nutuiCountdownFontSize' | 'nutuiCountdownFontWeight' | 'nutuiCountdownHeight' | 'nutuiCountdownWidth' | 'nutuiCountdownNumberPadding' | 'nutuiCountdownNumberBorderRadius' | 'nutuiCountdownNumberMargin' | 'nutuiCountdownNumberColor' | 'nutuiCountdownNumberBackgroundColor' | 'nutuiCountdownNumberBorderColor' | 'nutuiCountdownNumberPrimaryColor' | 'nutuiCountdownNumberPrimaryBackgroundColor' | 'nutuiCountdownNumberPrimaryBorderColor' | 'nutuiPriceColor' | 'nutuiPriceDarkgrayColor' | 'nutuiGray7' | 'nutuiPriceLineColor' | 'nutuiPriceSymbolPaddingRight' | 'nutuiPriceSymbolXlargeSize' | 'nutuiPriceIntegerXlargeSize' | 'nutuiPriceDecimalXlargeSize' | 'nutuiPriceSymbolLargeSize' | 'nutuiPriceIntegerLargeSize' | 'nutuiPriceDecimalLargeSize' | 'nutuiPriceSymbolNormalSize' | 'nutuiPriceIntegerNormalSize' | 'nutuiPriceDecimalNormalSize' | 'nutuiPriceSymbolSmallSize' | 'nutuiPriceIntegerSmallSize' | 'nutuiPriceDecimalSmallSize' | 'nutuiAvatarSquare' | 'nutuiAvatarLargeWidth' | 'nutuiAvatarLargeHeight' | 'nutuiAvatarSmallWidth' | 'nutuiAvatarSmallHeight' | 'nutuiAvatarNormalWidth' | 'nutuiAvatarNormalHeight' | 'nutuiSwitchActiveBackgroundColor' | 'nutuiSwitchInactiveBackgroundColor' | 'nutuiSwitchActiveDisabledBackgroundColor' | 'nutuiSwitchInactiveDisabledBackgroundColor' | 'nutuiSwitchInactiveLineBackgroundColor' | 'nutuiSwitchWidth' | 'nutuiSwitchHeight' | 'nutuiSwitchInsideWidth' | 'nutuiSwitchInsideHeight' | 'nutuiSwitchBorderRadius' | 'nutuiSwitchBorderWidth' | 'nutuiSwitchInsideBorderRadius' | 'nutuiSwitchInsideBoxShadow' | 'nutuiSwitchLabelTextColor' | 'nutuiSwitchLabelFontSize' | 'nutuiSwitchInactiveDisabledLabelTextColor' | 'nutuiToastInnerTextAlign' | 'nutuiToastTitleFontSize' | 'nutuiToastTextFontSize' | 'nutuiToastFontColor' | 'nutuiToastInnerPadding' | 'nutuiToastInnerBgColor' | 'nutuiToastInnerBorderRadius' | 'nutuiToastInnerTop' | 'nutuiTourMaskBorderRadius' | 'nutuiTourContentMinWidth' | 'nutuiTourContentPadding' | 'nutuiTourContentInnerMargin' | 'nutuiTourContentInnerFontSize' | 'nutuiTourContentBottomMarginTop' | 'nutuiTourContentBottomBtnMarginLeft' | 'nutuiTourContentBottomBtnPadding' | 'nutuiTourContentBottomBtnFontSize' | 'nutuiTourContentBottomBtnBorderRadius' | 'nutuiCalendarActiveBackgroundColor' | 'nutuiCalendarChooseBackgroundColor' | 'nutuiCalendarChooseColor' | 'nutuiCalendarChooseDisableBackgroundColor' | 'nutuiCalendarDisableColor' | 'nutuiCalendarBaseFontSize' | 'nutuiCalendarTitleFontSize' | 'nutuiCalendarTitleFontWeight' | 'nutuiCalendarSubTitleFontSize' | 'nutuiCalendarHeaderHeight' | 'nutuiCalendarDayWidth' | 'nutuiCalendarDayHeight' | 'nutuiCalendarDayFontWeight' | 'nutuiCalendarDayActiveBorderRadius' | 'nutuiHoverbuttonSpacing' | 'nutuiHoverbuttonPositionBottom' | 'nutuiHoverbuttonPositionRight' | 'nutuiHoverbuttonItemSize' | 'nutuiHoverbuttonItemBorderColor' | 'nutuiHoverbuttonItemBackground' | 'nutuiHoverbuttonItemBackgroundActive' | 'nutuiHoverbuttonItemIconColor' | 'nutuiHoverbuttonItemIconColorActive' | 'nutuiOverlayBgColor' | 'nutuiOverlayContentBgColor' | 'nutuiOverlayContentColor' | 'nutuiOverlayAnimationDuration' | 'nutuiPopupBorderRadius' | 'nutuiPopupIconSize' | 'nutuiPopupTitlePadding' | 'nutuiPopupTitleFontSize' | 'nutuiPopupTitleFontWeight' | 'nutuiPopupDescriptionFontSize' | 'nutuiPopupDescriptionSpacing' | 'nutuiPopupTitleHeight' | 'nutuiPopupTitleBorderBottom' | 'nutuiPopupAnimationDuration' | 'nutuiNotifyHeight' | 'nutuiNotifyPadding' | 'nutuiNotifyBorderRadius' | 'nutuiNotifyBoxShadow' | 'nutuiNotifyZIndex' | 'nutuiNotifyTextColor' | 'nutuiNotifyFontSize' | 'nutuiNotifyBackgroundColor' | 'nutuiRateItemMargin' | 'nutuiRateIconColor' | 'nutuiRateIconInactiveColor' | 'nutuiRateIconSize' | 'nutuiRateFontColor' | 'nutuiRateFontSize' | 'nutuiRateFontSizeLarge' | 'nutuiRateFontSizeSmall' | 'nutuiRateLabelColor' | 'nutuiTabbarHeight' | 'nutuiTabbarActiveColor' | 'nutuiTabbarInactiveColor' | 'nutuiTabbarBorderTop' | 'nutuiTabbarBorderBottom' | 'nutuiTabbarBoxShadow' | 'nutuiTabbarTextFontSize' | 'nutuiTabbarTextLargeFontSize' | 'nutuiTabbarTextLargeFontWeight' | 'nutuiTabbarTextLineHeight' | 'nutuiTabbarTextMarginTop' | 'nutuiPulltorefreshIconWidth' | 'nutuiPulltorefreshIconHeight' | 'nutuiPulltorefreshColorPrimary' | 'nutuiInfiniteloadingColor' | 'nutuiInfiniteloadingIconSize' | 'nutuiRangeColor' | 'nutuiRangeHeight' | 'nutuiRangeMargin' | 'nutuiRangeInactiveColor' | 'nutuiRangeActiveColor' | 'nutuiRangeButtonBackground' | 'nutuiRangeButtonWidth' | 'nutuiRangeButtonHeight' | 'nutuiRangeButtonBorder' | 'nutuiSwiperIndicatorBottom' | 'nutuiStepsBackgroundColor' | 'nutuiStepsBaseHeadHeight' | 'nutuiStepsBaseHeadBackgroundColor' | 'nutuiStepsBaseHeadBorder' | 'nutuiStepsBaseHeadTextSize' | 'nutuiStepsBaseIconSize' | 'nutuiStepsBaseHeadColor' | 'nutuiStepsBaseHeadDotSize' | 'nutuiStepsBaseHeadDotBackgroundColor' | 'nutuiStepsBaseHeadIconSize' | 'nutuiStepsBaseHeadIconSizeRight' | 'nutuiStepsVerticalItemIconSize' | 'nutuiStepsBaseLineHeight' | 'nutuiStepsBaseLineBackground' | 'nutuiStepsBaseTitleFontSize' | 'nutuiStepsBaseTitleColor' | 'nutuiStepsBaseTitleMarginBottom' | 'nutuiStepsBaseDescriptionFontSize' | 'nutuiStepsBaseDescriptionColor' | 'nutuiStepsBaseHeadBorderColor' | 'nutuiStepsProcessHeadBackgroundColor' | 'nutuiStepsProcessColor' | 'nutuiStepsProcessTitleColor' | 'nutuiStepsProcessDescriptionColor' | 'nutuiStepsWaitIconColor' | 'nutuiStepsWaitTitleColor' | 'nutuiStepsWaitDescriptionColor' | 'nutuiStepsFinishIconColor' | 'nutuiStepsBusinessTitleColor' | 'nutuiStepsBusinessDescriptionColor' | 'nutuiStepsBusinessHeadTextColor' | 'nutuiStepsBusinessHeadDotBackgroundColor' | 'nutuiStepsBusinessHeadIconColor' | 'nutuiStepsBusinessHeadBackgroundColor' | 'nutuiStepsEnhancedFinishHeadBackgroundColor' | 'nutuiStepsEnhancedFinishHeadDotBackgroundColor' | 'nutuiStepsEnhancedFinishHeadIconColor' | 'nutuiStepsEnhancedFinishHeadTextColor' | 'nutuiStepsHorizontalItemPaddingRight' | 'nutuiStepsHorizontalItemLinePadding' | 'nutuiStepsHorizontalItemSpecialPaddingRight' | 'nutuiStepsHorizontalItemSpecial3PaddingRight' | 'nutuiStepsVerticalItemPaddingBottom' | 'nutuiStepsVerticalTitleFontSize' | 'nutuiStepsVerticalTitleMarginBottom' | 'nutuiStepsVerticalLineHeight' | 'nutuiStepsVerticalDescriptionFontSize' | 'nutuiStepsVerticalDescriptionMargin' | 'nutuiDialogMinWidth' | 'nutuiDialogWidth' | 'nutuiDialogPadding' | 'nutuiDialogMaxHeight' | 'nutuiDialogMinHeight' | 'nutuiDialogBorderRadius' | 'nutuiDialogBackground' | 'nutuiDialogTitleMarginBottom' | 'nutuiDialogContentMargin' | 'nutuiDialogContentMaxHeight' | 'nutuiDialogContentLineHeight' | 'nutuiDialogContentTextAlign' | 'nutuiDialogFooterButtonBorder' | 'nutuiDialogFooterButtonMinWidth' | 'nutuiDialogFooterCancelMarginRight' | 'nutuiDialogFooterCancelBg' | 'nutuiDialogFooterOkMaxWidth' | 'nutuiDialogFooterBadgeHeight' | 'nutuiDialogFooterBadgeFontsize' | 'nutuiDialogFooterBadgePadding' | 'nutuiDialogFooterBadgeTop' | 'nutuiDialogFooterBadgeBorderRadius' | 'nutuiDialogFooterBadgeBgOk' | 'nutuiDialogFooterBadgeColorOk' | 'nutuiDialogFooterBadgeBgCancel' | 'nutuiDialogFooterBadgeColorCancel' | 'nutuiDialogHeaderFontSize' | 'nutuiDialogHeaderFontWeight' | 'nutuiDialogVerticalFooterOkMarginTop' | 'nutuiDialogCloseColor' | 'nutuiDialogCloseWidth' | 'nutuiDialogCloseHeight' | 'nutuiDialogBottomCloseIconSize' | 'nutuiDialogCloseTop' | 'nutuiDialogCloseLeft' | 'nutuiDialogCloseRight' | 'nutuiCheckboxLabelDisableColor' | 'nutuiCheckboxIconDisableColor' | 'nutuiCheckboxLabelMarginLeft' | 'nutuiCheckboxLabelColor' | 'nutuiCheckboxLabelFontSize' | 'nutuiCheckboxIconFontSize' | 'nutuiCheckboxButtonFontSize' | 'nutuiCheckboxButtonPadding' | 'nutuiCheckboxButtonBorderRadius' | 'nutuiCheckboxButtonActiveBorder' | 'nutuiCheckboxButtonDisabledActiveColor' | 'nutuiCheckboxListBackgroundColor' | 'nutuiCheckboxListItemBorder' | 'nutuiCheckboxListPadding' | 'nutuiCheckboxListItemPadding' | 'nutuiRadioIconFontSize' | 'nutuiRadioLabelColor' | 'nutuiRadioLabelDisableColor' | 'nutuiRadioLabelFontSize' | 'nutuiRadioLabelMarginLeft' | 'nutuiRadioButtonFontSize' | 'nutuiRadioButtonPadding' | 'nutuiRadioButtonBorderRadius' | 'nutuiRadioButtonBackground' | 'nutuiRadioButtonActiveBorder' | 'nutuiRadioButtonDisabledActiveColor' | 'nutuiRadiogroupRadioMargin' | 'nutuiRadiogroupRadioMarginBottom' | 'nutuiRadiogroupRadioLabelMargin' | 'nutuiSignatureBorderColor' | 'nutuiSignatureBorderWidth' | 'nutuiSignatureHeight' | 'nutuiSignatureBackgroundColor' | 'nutuiSignatureFontSize' | 'nutuiFixednavBackgroundColor' | 'nutuiFixednavColor' | 'nutuiFixednavIndex' | 'nutuiFixednavButtonBackground' | 'nutuiFixednavItemActiveColor' | 'nutuiNoticebarHeight' | 'nutuiNoticebarBackground' | 'nutuiNoticebarColor' | 'nutuiNoticebarIconColor' | 'nutuiNoticebarFontSize' | 'nutuiNoticebarLineHeight' | 'nutuiNoticebarBoxPadding' | 'nutuiNoticebarBorderRadius' | 'nutuiNoticebarWrapablePadding' | 'nutuiNoticebarIconGap' | 'nutuiNoticebarLeftIconWidth' | 'nutuiNoticebarLeftIconWrapWidth' | 'nutuiNoticebarRightIconWidth' | 'nutuiNoticebarCloseSize' | 'nutuiNoticebarTagSize' | 'nutuiNoticebarTagGap' | 'nutuiNoticebarActionMaxWidth' | 'nutuiNoticebarActionGap' | 'nutuiNoticebarActionFontSize' | 'nutuiNoticebarDescriptionFontSize' | 'nutuiNoticebarDescriptionColor' | 'nutuiNoticebarLeftIconBorderRadius' | 'nutuiNoticebarDescriptionLineHeight' | 'nutuiNoticebarCloseColor' | 'nutuiNoticebarCloseIconSize' | 'nutuiNoticebarCloseRingColor' | 'nutuiNoticebarCloseRingShadowColor' | 'nutuiTimeselectDateWidth' | 'nutuiTimeselectDateHeight' | 'nutuiTimeselectDateActiveColor' | 'nutuiTimeselectTimeWidth' | 'nutuiTimeselectTimeHeight' | 'nutuiTimeselectTimeMargin' | 'nutuiTimeselectTimeBackground' | 'nutuiTagPadding' | 'nutuiTagFontSize' | 'nutuiTagBorderRadius' | 'nutuiTagHeight' | 'nutuiTagColor' | 'nutuiTagBorderWidth' | 'nutuiTagBackgroundColor' | 'nutuiTagPrimaryBackgroundColor' | 'nutuiTagInfoBackgroundColor' | 'nutuiTagSuccessBackgroundColor' | 'nutuiTagDangerBackgroundColor' | 'nutuiTagWarningBackgroundColor' | 'nutuiTagRoundBorderRadius' | 'nutuiTagMarkBorderRadius' | 'nutuiBadgeHeight' | 'nutuiBadgeBackgroundColor' | 'nutuiBadgeBackgroundDisabledColor' | 'nutuiBadgeColor' | 'nutuiBadgeFontSize' | 'nutuiBadgeBorder' | 'nutuiBadgeBorderRadius' | 'nutuiBadgeMinWidth' | 'nutuiBadgePadding' | 'nutuiBadgeIconPadding' | 'nutuiBadgeIconSize' | 'nutuiBadgeContentTransform' | 'nutuiBadgeZIndex' | 'nutuiBadgeDotWidth' | 'nutuiBadgeDotSmallWidth' | 'nutuiBadgeDotLargeWidth' | 'nutuiBadgeDotBorder' | 'nutuiBadgeOutlineColor' | 'nutuiBadgeOutlineBorder' | 'nutuiPopoverBorderRadius' | 'nutuiPopoverFontSize' | 'nutuiPopoverContentBackgroundColor' | 'nutuiPopoverTextColor' | 'nutuiPopoverDisableColor' | 'nutuiPopoverDividerColor' | 'nutuiPopoverPaddingHorizontal' | 'nutuiPopoverPaddingVertical' | 'nutuiPopoverHeight' | 'nutuiPopoverIconSize' | 'nutuiPopoverIconColor' | 'nutuiPopoverStatusMaxWidth' | 'nutuiPopoverDescriptionMaxWidth' | 'nutuiPopoverActionHotspotSize' | 'nutuiPopoverLightContentBackgroundColor' | 'nutuiPopoverLightTextColor' | 'nutuiPopoverLightIconColor' | 'nutuiPopoverLightDividerColor' | 'nutuiPopoverPadding' | 'nutuiPopoverItemWidth' | 'nutuiProgressHeight' | 'nutuiProgressColor' | 'nutuiProgressBackground' | 'nutuiProgressBorderRadius' | 'nutuiProgressTextColor' | 'nutuiProgressTextBackground' | 'nutuiProgressTextPadding' | 'nutuiProgressTextFontSize' | 'nutuiProgressTextPositionTop' | 'nutuiProgressTextPositionBottom' | 'nutuiProgressTextBorderRadius' | 'nutuiPaginationColor' | 'nutuiPaginationLiteColor' | 'nutuiPaginationFontSize' | 'nutuiPaginationItemBorderColor' | 'nutuiPaginationDisableColor' | 'nutuiPaginationDisableBackgroundColor' | 'nutuiPaginationItemBorderWidth' | 'nutuiPaginationItemBorderRadius' | 'nutuiPaginationPrevNextPadding' | 'nutuiPaginationLiteWidth' | 'nutuiPaginationLiteHeight' | 'nutuiPaginationLiteRadius' | 'nutuiPaginationLiteBackgroundColor' | 'nutuiPaginationLiteActiveBackgroundColor' | 'nutuiBlack5' | 'nutuiTabsTitlesHeight' | 'nutuiTabsTitlesBackgroundColor' | 'nutuiTabsTitlesGap' | 'nutuiTabsTitlesFontSize' | 'nutuiTabsTitlesItemMinWidth' | 'nutuiTabsTitlesItemColor' | 'nutuiTabsTitlesItemActiveColor' | 'nutuiTabsTitlesItemActiveFontWeight' | 'nutuiTabsTitlesItemActiveFontSize' | 'nutuiTabsTitlesItemActiveBackgroundColor' | 'nutuiTabsTabLineWidth' | 'nutuiTabsTabLineHeight' | 'nutuiTabsTabLineColor' | 'nutuiTabsLineBottom' | 'nutuiTabsLineBorderRadius' | 'nutuiTabsTabLineOpacity' | 'nutuiTabsButtonBorderRadius' | 'nutuiTabsButtonActiveBackgroundColor' | 'nutuiTabsButtonActiveBorder' | 'nutuiTabsVerticalTitlesWidth' | 'nutuiTabsVerticalTitlesItemHeight' | 'nutuiTabsVerticalTabLineColor' | 'nutuiTabsVerticalTabLineWidth' | 'nutuiTabsVerticalTabLineHeight' | 'nutuiTabsTitlesItemSmileBottom' | 'nutuiTabsTabpanePadding' | 'nutuiTabsTabpaneBackgroundColor' | 'nutuiIndicatorColor' | 'nutuiIndicatorDotColor' | 'nutuiIndicatorDotSize' | 'nutuiIndicatorDotActiveSize' | 'nutuiIndicatorBorderRadius' | 'nutuiIndicatorDotMargin' | 'nutuiIndicatorDotBorder' | 'nutuiIndicatorDotInactiveColor' | 'nutuiIndicatorTrackWidth' | 'nutuiIndicatorSliderWidth' | 'nutuiIndicatorDualScreenInactiveWidth' | 'nutuiIndicatorPlacementGap' | 'nutuiIndicatorPlacementSafeGap' | 'nutuiMenuScrollFixedTop' | 'nutuiMenuScrollFixedZIndex' | 'nutuiMenuBarLineHeight' | 'nutuiMenuBarBoxShadow' | 'nutuiMenuBarOpenedZIndex' | 'nutuiMenuTitlePadding' | 'nutuiMenuTitleFontSize' | 'nutuiMenuTitleColor' | 'nutuiMenuContainerZIndex' | 'nutuiMenuContentPadding' | 'nutuiMenuContentMaxHeight' | 'nutuiMenuContentBackgroundColor' | 'nutuiMenuItemActiveColor' | 'nutuiMenuItemActiveFontWeight' | 'nutuiMenuItemDisabledColor' | 'nutuiMenuItemPadding' | 'nutuiMenuItemIconMargin' | 'nutuiCollapseItemBorderBottom' | 'nutuiCollapseItemHeaderBorderBottom' | 'nutuiCollapseItemPadding' | 'nutuiCollapseItemColor' | 'nutuiCollapseItemDisabledColor' | 'nutuiCollapseItemFontSize' | 'nutuiCollapseItemLineHeight' | 'nutuiCollapseItemExtraColor' | 'nutuiCollapseWrapperContentPadding' | 'nutuiCollapseWrapperContentColor' | 'nutuiCollapseWrapperContentFontSize' | 'nutuiCollapseWrapperContentLineHeight' | 'nutuiCollapseWrapperContentBackgroundColor' | 'nutuiSearchbarWidth' | 'nutuiSearchbarPadding' | 'nutuiSearchbarBackground' | 'nutuiSearchbarColor' | 'nutuiSearchbarGap' | 'nutuiSearchbarInnerGap' | 'nutuiSearchbarFontSize' | 'nutuiSearchbarContentBackground' | 'nutuiSearchbarContentBorderRadius' | 'nutuiSearchbarContentRoundBorderRadius' | 'nutuiSearchbarIconSize' | 'nutuiSearchbarInputHeight' | 'nutuiSearchbarInputPadding' | 'nutuiSearchbarInputTextColor' | 'nutuiSearchbarInputCurrorColor' | 'nutuiSearchbarInputTextAlign' | 'nutuiSegmentedHeight' | 'nutuiSegmentedPadding' | 'nutuiSegmentedRadius' | 'nutuiSegmentedBackground' | 'nutuiSegmentedItemPadding' | 'nutuiSegmentedItemRadius' | 'nutuiSegmentedItemFontsize' | 'nutuiSegmentedItemColor' | 'nutuiSegmentedActiveBackground' | 'nutuiSegmentedIconMarginRight' | 'nutuiEmptyPadding' | 'nutuiEmptyTitleColor' | 'nutuiEmptyDescriptionColor' | 'nutuiEmptyFullPaddingTop' | 'nutuiEmptyFullImageSize' | 'nutuiEmptyFullTitleFontSize' | 'nutuiEmptyFullTitleLineHeight' | 'nutuiEmptyFullDescriptionFontSize' | 'nutuiEmptyFullDescriptionLineHeight' | 'nutuiEmptyFullActionsMarginTop' | 'nutuiEmptyHalfImageSize' | 'nutuiEmptyHalfTitleFontSize' | 'nutuiEmptyHalfTitleLineHeight' | 'nutuiEmptyHalfDescriptionFontSize' | 'nutuiEmptyHalfDescriptionLineHeight' | 'nutuiEmptyHalfActionsMarginTop' | 'nutuiEmptyPartialPadding' | 'nutuiEmptyPartialImageSize' | 'nutuiEmptyPartialContentGap' | 'nutuiEmptyPartialDescriptionFontSize' | 'nutuiEmptyPartialDescriptionLineHeight' | 'nutuiCascaderFontSize' | 'nutuiCascaderPaneHeight' | 'nutuiCascaderPanePaddingTop' | 'nutuiCascaderIconChecklistMarginLeft' | 'nutuiCascaderTabsItemPadding' | 'nutuiCascaderBarPadding' | 'nutuiCascaderBarFontSize' | 'nutuiCascaderBarLineHeight' | 'nutuiCascaderBarColor' | 'nutuiCascaderItemHeight' | 'nutuiCascaderItemPadding' | 'nutuiCascaderItemMargin' | 'nutuiCascaderItemBorderBottom' | 'nutuiCascaderItemColor' | 'nutuiCascaderItemFontSize' | 'nutuiCascaderItemActiveColor' | 'nutuiFormItemErrorLineColor' | 'nutuiFormItemRequiredColor' | 'nutuiFormItemErrorMessageColor' | 'nutuiFormItemLabelFontSize' | 'nutuiFormItemLabelWidth' | 'nutuiFormItemLabelMarginRight' | 'nutuiFormItemLabelTextAlign' | 'nutuiFormItemRequiredMarginRight' | 'nutuiFormItemBodyFontSize' | 'nutuiFormItemBodySlotsTextAlign' | 'nutuiFormItemBodyInputTextAlign' | 'nutuiFormItemTipFontSize' | 'nutuiFormItemTipTextAlign' | 'nutuiSkeletonBackground' | 'nutuiSkeletonLineWidth' | 'nutuiSkeletonLineSmallHeight' | 'nutuiSkeletonLineNormalHeight' | 'nutuiSkeletonLineLargeHeight' | 'nutuiSkeletonLineBorderRadius' | 'nutuiCardBorderRadius' | 'nutuiGridBorderWidth' | 'nutuiGridBorderColor' | 'nutuiGridItemBorderRadius' | 'nutuiGridItemContentPadding' | 'nutuiGridItemContentBgColor' | 'nutuiGray1' | 'nutuiGridItemTextMargin' | 'nutuiGridItemTextColor' | 'nutuiGridItemTextFontSize' | 'nutuiTableBorderColor' | 'nutuiTableColsPadding' | 'nutuiTableTrEvenBgColor' | 'nutuiTableTrOddBgColor' | 'nutuiTableStickyLeftShadow' | 'nutuiTableStickyRightShadow' | 'nutuiNavbarWidth' | 'nutuiNavbarHeight' | 'nutuiNavbarMarginBottom' | 'nutuiNavbarBackground' | 'nutuiNavbarBoxShadow' | 'nutuiNavbarColor' | 'nutuiNavbarFontSize' | 'nutuiNavbarTitleFontSize' | 'nutuiNavbarTitleFontWeight' | 'nutuiNavbarTitleFontColor' | 'nutuiSidebarBackgroundColor' | 'nutuiSidebarBorderRadius' | 'nutuiSidebarWidth' | 'nutuiSidebarMaxWidth' | 'nutuiSidebarTitleHeight' | 'nutuiSidebarInactiveFontSize' | 'nutuiSidebarActiveFontSize' | 'nutuiSidebarActiveFontWeight' | 'nutuiSidebarActiveColor' | 'nutuiSidebarItemBackground' | 'nutuiSidebarItemPadding' | 'nutuiElevatorListBgColor' | 'nutuiElevatorListFontSize' | 'nutuiElevatorListColor' | 'nutuiElevatorListItemPadding' | 'nutuiElevatorListItemNameHeight' | 'nutuiElevatorListItemCodeFontSize' | 'nutuiElevatorListItemCodeColor' | 'nutuiElevatorListItemCodeFontWeight' | 'nutuiElevatorListItemCodeHeight' | 'nutuiElevatorListItemCodeWidth' | 'nutuiElevatorListItemCodeBorderBottom' | 'nutuiElevatorListItemCodeCurrentBgColor' | 'nutuiElevatorListItemCodeCurrentBorderRadius' | 'nutuiElevatorListItemCodeCurrentWidth' | 'nutuiElevatorListItemCodeCurrentHeight' | 'nutuiElevatorListItemCodeCurrentRight' | 'nutuiElevatorListItemCodeCurrentTop' | 'nutuiElevatorListItemCodeCurrentColor' | 'nutuiElevatorBarsRight' | 'nutuiElevatorBarsTop' | 'nutuiElevatorBarsTransform' | 'nutuiElevatorBarsZIndex' | 'nutuiElevatorBarsFontSize' | 'nutuiElevatorBarsColor' | 'nutuiElevatorBarsActiveColor' | 'nutuiElevatorListFixedColor' | 'nutuiElevatorListFixedBgColor' | 'nutuiElevatorListFixedBoxShadow' | 'nutuiListItemMargin' | 'nutuiAddresslistBg' | 'nutuiAddresslistBorder' | 'nutuiAddresslistFontColor' | 'nutuiAddresslistFontSize' | 'nutuiAddresslistMaskBg' | 'nutuiAddresslistAddrFontColor' | 'nutuiAddresslistAddrFontSize' | 'nutuiAddresslistSetBg' | 'nutuiAddresslistDelBg' | 'nutuiAddresslistContntsContactDefault' | 'nutuiAddresslistContntsContactColor' | 'nutuiCircleprogressPrimaryColor' | 'nutuiCircleprogressPathColor' | 'nutuiCircleprogressTextColor' | 'nutuiCircleprogressTextSize' | 'nutuiEllipsisExpandCollapseColor' | 'nutuiWatermarkZIndex' | 'nutuiTrendarrowFontSize' | 'nutuiTrendarrowIconMargin' | 'nutuiCountupWidth' | 'nutuiCountupHeight' | 'nutuiCountupBaseSize' | 'nutuiCountupBorderRadius' | 'nutuiCountupLrMargin' | 'nutuiCountupBgColor' | 'nutuiCountupColor' | 'nutuiCountupSeparatorColor' | 'nutuiRowContentColor' | 'nutuiRowContentBackgroundColor' | 'nutuiRowContentBorderRadius' | 'nutuiRowContentHeight' | 'nutuiRowContentLineHeight' | 'nutuiColDefaultMarginBottom' | 'nutuiSpaceGap' | 'nutuiLoadingIconColor' | 'nutuiLoadingIconSize' | 'nutuiLoadingColor' | 'nutuiLoadingFontSize' | 'nutuiLoadingLottieBackground' | 'nutuiResultpageWidth' | 'nutuiResultpageIconSize' | 'nutuiResultpageIconMarginBottom' | 'nutuiResultpageTitleMarginBottom' | 'nutuiResultpageTitleFontSize' | 'nutuiResultpageTitleColor' | 'nutuiResultpageDescriptionFontSize' | 'nutuiResultpageDescriptionColor' | 'nutuiResultpageDescriptionLineHeight' | 'nutuiResultpageActionsMarginTop' | 'nutuiQuickenterBgColor' | 'nutuiQuickenterMaxHeight' | 'nutuiQuickenterTitleFontSize' | 'nutuiQuickenterTitleColor' | 'nutuiQuickenterItemTitleFontSize' | 'nutuiQuickenterItemTitleColor' | 'nutuiQuickenterItemIconBgColor' | 'nutuiQuickenterItemIconColor' | 'nutuiQuickenterCloseIconSize' | 'nutuiQuickenterCloseIconColor' | 'nutuiQuickenterBoxShadow' | 'nutuiQuickenterBackdropFilter' | 'nutuiToastInnerMinWidth' | 'nutuiToastInnerMaxWidth' | 'nutuiToastInnerHasIconMinWidth' | 'nutuiToastInnerHasIconMaxWidth' | 'nutuiWhite' | 'nutuiToastTextFontWeight' | 'nutuiToastTitleFontWeight' | 'nutuiToastIconColor' | 'nutuiSafeAreaMultiple' | 'nutuiIndicatorCurrent' | 'nutuiIndicatorTotal' | 'nutuiButtonDisabledBackgroundColor' | 'nutuiBlack3' | 'nutuiBlack1';
|
|
@@ -23,12 +23,6 @@ var defaultProps = {
|
|
|
23
23
|
};
|
|
24
24
|
var classPrefix = "nut-indicator";
|
|
25
25
|
var Indicator = function Indicator(props) {
|
|
26
|
-
var maybeFixedWidth = function maybeFixedWidth() {
|
|
27
|
-
if (type === 'dualScreen' || type === 'slide') {
|
|
28
|
-
return "".concat(classPrefix, "-fixed-width");
|
|
29
|
-
}
|
|
30
|
-
return '';
|
|
31
|
-
};
|
|
32
26
|
var _$_object_spread = (0, _object_spread._)({}, defaultProps, props), color = _$_object_spread.color, type = _$_object_spread.type, total = _$_object_spread.total, current = _$_object_spread.current, children = _$_object_spread.children, className = _$_object_spread.className, direction = _$_object_spread.direction, placement = _$_object_spread.placement, rest = (0, _object_without_properties._)(_$_object_spread, [
|
|
33
27
|
"color",
|
|
34
28
|
"type",
|
|
@@ -71,6 +65,12 @@ var Indicator = function Indicator(props) {
|
|
|
71
65
|
return renderDotElement();
|
|
72
66
|
}
|
|
73
67
|
};
|
|
68
|
+
function maybeFixedWidth() {
|
|
69
|
+
if (type === 'dualScreen' || type === 'slide') {
|
|
70
|
+
return "".concat(classPrefix, "-fixed-width");
|
|
71
|
+
}
|
|
72
|
+
return '';
|
|
73
|
+
}
|
|
74
74
|
return /*#__PURE__*/ _react.default.createElement("div", (0, _object_spread._)({
|
|
75
75
|
className: (0, _classnames.default)(classPrefix, classes, maybeFixedWidth(), className)
|
|
76
76
|
}, rest), renderByType(type));
|
|
@@ -30,15 +30,6 @@ var defaultProps = (0, _object_spread_props._)((0, _object_spread._)({}, _typing
|
|
|
30
30
|
});
|
|
31
31
|
var classPrefix = "nut-infiniteloading";
|
|
32
32
|
var InfiniteLoading = function InfiniteLoading(props) {
|
|
33
|
-
var getBottomTipsText = function getBottomTipsText() {
|
|
34
|
-
if (isInfiniting) {
|
|
35
|
-
return loadingText || locale.infiniteloading.loadText;
|
|
36
|
-
}
|
|
37
|
-
if (!hasMore) {
|
|
38
|
-
return loadMoreText || locale.infiniteloading.loadMoreText;
|
|
39
|
-
}
|
|
40
|
-
return null;
|
|
41
|
-
};
|
|
42
33
|
var locale = (0, _configprovider.useConfig)().locale;
|
|
43
34
|
var _$_object_spread = (0, _object_spread._)({}, defaultProps, props), children = _$_object_spread.children, type = _$_object_spread.type, hasMore = _$_object_spread.hasMore, threshold = _$_object_spread.threshold, target = _$_object_spread.target, capture = _$_object_spread.capture, pullRefresh = _$_object_spread.pullRefresh, pullingText = _$_object_spread.pullingText, loadingText = _$_object_spread.loadingText, loadMoreText = _$_object_spread.loadMoreText, className = _$_object_spread.className, onRefresh = _$_object_spread.onRefresh, onLoadMore = _$_object_spread.onLoadMore, onScroll = _$_object_spread.onScroll, restProps = (0, _object_without_properties._)(_$_object_spread, [
|
|
44
35
|
"children",
|
|
@@ -223,6 +214,15 @@ var InfiniteLoading = function InfiniteLoading(props) {
|
|
|
223
214
|
onScroll && onScroll(resScrollTop);
|
|
224
215
|
return offsetDistance <= threshold && direction === 'down';
|
|
225
216
|
};
|
|
217
|
+
function getBottomTipsText() {
|
|
218
|
+
if (isInfiniting) {
|
|
219
|
+
return loadingText || locale.infiniteloading.loadText;
|
|
220
|
+
}
|
|
221
|
+
if (!hasMore) {
|
|
222
|
+
return loadMoreText || locale.infiniteloading.loadMoreText;
|
|
223
|
+
}
|
|
224
|
+
return null;
|
|
225
|
+
}
|
|
226
226
|
return /*#__PURE__*/ _react.default.createElement("div", (0, _object_spread._)({
|
|
227
227
|
className: classes,
|
|
228
228
|
ref: scroller,
|
|
@@ -71,7 +71,6 @@ page {
|
|
|
71
71
|
height: 100%;
|
|
72
72
|
cursor: pointer;
|
|
73
73
|
/* #ifndef harmony jd h5 weapp*/
|
|
74
|
-
/* #endif */
|
|
75
74
|
}
|
|
76
75
|
.nut-navbar-left .nut-icon,
|
|
77
76
|
.nut-navbar-left .nutui-iconfont, .nut-navbar-right .nut-icon,
|
|
@@ -80,6 +79,9 @@ page {
|
|
|
80
79
|
height: calc(20px * var(--nut-scale-f, 1));
|
|
81
80
|
font-size: var(--nutui-font-size-2xl, calc(20px * var(--nut-scale-font, var(--nut-scale-f, 1))));
|
|
82
81
|
}
|
|
82
|
+
.nut-navbar-left, .nut-navbar-right {
|
|
83
|
+
/* #endif */
|
|
84
|
+
}
|
|
83
85
|
.nut-navbar-left-maxwidth, .nut-navbar-right-maxwidth {
|
|
84
86
|
box-sizing: border-box;
|
|
85
87
|
width: calc(124px * var(--nut-scale-f, 1) - 16px * var(--nut-scale-f, 1));
|
|
@@ -65,7 +65,6 @@
|
|
|
65
65
|
height: 100%;
|
|
66
66
|
cursor: pointer;
|
|
67
67
|
/* #ifndef harmony jd h5 weapp*/
|
|
68
|
-
/* #endif */
|
|
69
68
|
}
|
|
70
69
|
.nut-navbar-left .nut-icon,
|
|
71
70
|
.nut-navbar-left .nutui-iconfont, .nut-navbar-right .nut-icon,
|
|
@@ -74,6 +73,9 @@
|
|
|
74
73
|
height: scale-px(20px);
|
|
75
74
|
font-size: var(--nutui-font-size-2xl, 20px);
|
|
76
75
|
}
|
|
76
|
+
.nut-navbar-left, .nut-navbar-right {
|
|
77
|
+
/* #endif */
|
|
78
|
+
}
|
|
77
79
|
.nut-navbar-left-maxwidth, .nut-navbar-right-maxwidth {
|
|
78
80
|
box-sizing: border-box;
|
|
79
81
|
width: calc(scale-px(124px) - scale-px(16px));
|
|
@@ -65,7 +65,6 @@
|
|
|
65
65
|
height: 100%;
|
|
66
66
|
cursor: pointer;
|
|
67
67
|
/* #ifndef harmony jd h5 weapp*/
|
|
68
|
-
/* #endif */
|
|
69
68
|
}
|
|
70
69
|
.nut-navbar-left .nut-icon,
|
|
71
70
|
.nut-navbar-left .nutui-iconfont, .nut-navbar-right .nut-icon,
|
|
@@ -74,6 +73,9 @@
|
|
|
74
73
|
height: scale-px(20px);
|
|
75
74
|
font-size: var(--nutui-font-size-2xl, 20px);
|
|
76
75
|
}
|
|
76
|
+
.nut-navbar-left, .nut-navbar-right {
|
|
77
|
+
/* #endif */
|
|
78
|
+
}
|
|
77
79
|
.nut-navbar-left-maxwidth, .nut-navbar-right-maxwidth {
|
|
78
80
|
box-sizing: border-box;
|
|
79
81
|
width: calc(scale-px(124px) - scale-px(16px));
|
|
@@ -26,39 +26,44 @@ var defaultProps = (0, _object_spread_props._)((0, _object_spread._)({}, _typing
|
|
|
26
26
|
direction: 'horizontal',
|
|
27
27
|
list: [],
|
|
28
28
|
duration: 1000,
|
|
29
|
-
height:
|
|
29
|
+
height: 36,
|
|
30
30
|
content: '',
|
|
31
31
|
closeable: false,
|
|
32
32
|
wrap: false,
|
|
33
33
|
leftIcon: /*#__PURE__*/ _react.default.createElement(_iconsreact.Notice, null),
|
|
34
34
|
rightIcon: null,
|
|
35
35
|
right: null,
|
|
36
|
+
description: null,
|
|
37
|
+
tag: null,
|
|
38
|
+
action: null,
|
|
39
|
+
autoClose: 0,
|
|
36
40
|
delay: 1,
|
|
37
41
|
scrollable: null,
|
|
38
42
|
speed: 50
|
|
39
43
|
});
|
|
40
44
|
var NoticeBar = function NoticeBar(props) {
|
|
41
45
|
var rtl = (0, _configprovider.useRtl)();
|
|
42
|
-
var _$_object_spread = (0, _object_spread._)({}, defaultProps, props), children = _$_object_spread.children, className = _$_object_spread.className, style = _$_object_spread.style, align = _$_object_spread.align, direction = _$_object_spread.direction, list = _$_object_spread.list, duration = _$_object_spread.duration, height = _$_object_spread.height, content = _$_object_spread.content, closeable = _$_object_spread.closeable, wrap = _$_object_spread.wrap, leftIcon = _$_object_spread.leftIcon, rightIcon = _$_object_spread.rightIcon, right = _$_object_spread.right, delay = _$_object_spread.delay, scrollable = _$_object_spread.scrollable, speed = _$_object_spread.speed, close = _$_object_spread.close, click = _$_object_spread.click, onClose = _$_object_spread.onClose, onClick = _$_object_spread.onClick, onItemClick = _$_object_spread.onItemClick;
|
|
46
|
+
var _$_object_spread = (0, _object_spread._)({}, defaultProps, props), children = _$_object_spread.children, className = _$_object_spread.className, style = _$_object_spread.style, align = _$_object_spread.align, direction = _$_object_spread.direction, list = _$_object_spread.list, duration = _$_object_spread.duration, height = _$_object_spread.height, content = _$_object_spread.content, closeable = _$_object_spread.closeable, wrap = _$_object_spread.wrap, leftIcon = _$_object_spread.leftIcon, rightIcon = _$_object_spread.rightIcon, right = _$_object_spread.right, description = _$_object_spread.description, tag = _$_object_spread.tag, action = _$_object_spread.action, autoClose = _$_object_spread.autoClose, delay = _$_object_spread.delay, scrollable = _$_object_spread.scrollable, speed = _$_object_spread.speed, close = _$_object_spread.close, click = _$_object_spread.click, onClose = _$_object_spread.onClose, onClick = _$_object_spread.onClick, onItemClick = _$_object_spread.onItemClick;
|
|
43
47
|
var classPrefix = 'nut-noticebar';
|
|
44
48
|
var wrapRef = (0, _react.useRef)(null);
|
|
45
49
|
var contentRef = (0, _react.useRef)(null);
|
|
46
|
-
var _useState = (0, _sliced_to_array._)((0, _react.useState)(true), 2), showNoticeBar = _useState[0],
|
|
50
|
+
var _useState = (0, _sliced_to_array._)((0, _react.useState)(true), 2), showNoticeBar = _useState[0], setShowNoticeBar = _useState[1];
|
|
51
|
+
var _useState1 = (0, _sliced_to_array._)((0, _react.useState)(100), 2), autoCloseProgress = _useState1[0], setAutoCloseProgress = _useState1[1];
|
|
47
52
|
var scrollList = (0, _react.useRef)([]);
|
|
48
|
-
var
|
|
49
|
-
var
|
|
50
|
-
var
|
|
51
|
-
var
|
|
52
|
-
var
|
|
53
|
-
var
|
|
54
|
-
var
|
|
55
|
-
var
|
|
53
|
+
var _useState2 = (0, _sliced_to_array._)((0, _react.useState)(0), 2), wrapWidth = _useState2[0], SetWrapWidth = _useState2[1];
|
|
54
|
+
var _useState3 = (0, _sliced_to_array._)((0, _react.useState)(true), 2), firstRound = _useState3[0], SetFirstRound = _useState3[1];
|
|
55
|
+
var _useState4 = (0, _sliced_to_array._)((0, _react.useState)(0), 2), animationDuration = _useState4[0], SetAnimationDuration = _useState4[1];
|
|
56
|
+
var _useState5 = (0, _sliced_to_array._)((0, _react.useState)(0), 2), offsetWidth = _useState5[0], SetOffsetW = _useState5[1];
|
|
57
|
+
var _useState6 = (0, _sliced_to_array._)((0, _react.useState)(''), 2), animationClass = _useState6[0], SetAnimationClass = _useState6[1];
|
|
58
|
+
var _useState7 = (0, _sliced_to_array._)((0, _react.useState)(false), 2), animate = _useState7[0], SetAnimate = _useState7[1];
|
|
59
|
+
var _useState8 = (0, _sliced_to_array._)((0, _react.useState)(0), 2), timer = _useState8[0], SetTimer = _useState8[1];
|
|
60
|
+
var _useState9 = (0, _sliced_to_array._)((0, _react.useState)(null), 2), isCanScroll = _useState9[0], SetIsCanScroll = _useState9[1];
|
|
56
61
|
var isVertical = direction === 'vertical';
|
|
57
|
-
var
|
|
62
|
+
var _useState10 = (0, _sliced_to_array._)((0, _react.useState)(null), 2), rect = _useState10[0], setRect = _useState10[1];
|
|
58
63
|
var activeRef = (0, _react.useRef)(0);
|
|
59
|
-
var
|
|
64
|
+
var _useState11 = (0, _sliced_to_array._)((0, _react.useState)(false), 2), ready = _useState11[0], setReady = _useState11[1];
|
|
60
65
|
var container = (0, _react.useRef)(null);
|
|
61
|
-
var
|
|
66
|
+
var _useState12 = (0, _sliced_to_array._)((0, _react.useState)(false), 2), isContainerReady = _useState12[0], setIsContainerReady = _useState12[1];
|
|
62
67
|
var innerRef = (0, _react.useRef)(null);
|
|
63
68
|
var swiperRef = (0, _react.useRef)({
|
|
64
69
|
moving: false,
|
|
@@ -68,8 +73,8 @@ var NoticeBar = function NoticeBar(props) {
|
|
|
68
73
|
offset: 0,
|
|
69
74
|
size: 0
|
|
70
75
|
});
|
|
71
|
-
var
|
|
72
|
-
var
|
|
76
|
+
var _useState13 = (0, _sliced_to_array._)((0, _react.useState)([]), 2), childOffset = _useState13[0], setChildOffset = _useState13[1];
|
|
77
|
+
var _useState14 = (0, _sliced_to_array._)((0, _react.useState)(0), 2), offset = _useState14[0], setOffset = _useState14[1];
|
|
73
78
|
var _useMemo = (0, _react.useMemo)(function() {
|
|
74
79
|
var childCount = 0;
|
|
75
80
|
var childs = _react.default.Children.map(children, function(child) {
|
|
@@ -94,6 +99,35 @@ var NoticeBar = function NoticeBar(props) {
|
|
|
94
99
|
}
|
|
95
100
|
return 0;
|
|
96
101
|
}();
|
|
102
|
+
var onCloseRef = (0, _react.useRef)(onClose);
|
|
103
|
+
onCloseRef.current = onClose;
|
|
104
|
+
var autoCloseTimerRef = (0, _react.useRef)(0);
|
|
105
|
+
var autoCloseIntervalRef = (0, _react.useRef)(0);
|
|
106
|
+
// 自动关闭
|
|
107
|
+
(0, _react.useEffect)(function() {
|
|
108
|
+
if (autoClose && autoClose > 0 && showNoticeBar) {
|
|
109
|
+
var startTime = Date.now();
|
|
110
|
+
autoCloseIntervalRef.current = window.setInterval(function() {
|
|
111
|
+
var elapsed = Date.now() - startTime;
|
|
112
|
+
var remaining = Math.max(0, 100 - elapsed / autoClose * 100);
|
|
113
|
+
setAutoCloseProgress(remaining);
|
|
114
|
+
if (remaining <= 0) clearInterval(autoCloseIntervalRef.current);
|
|
115
|
+
}, 50);
|
|
116
|
+
autoCloseTimerRef.current = window.setTimeout(function() {
|
|
117
|
+
var _onCloseRef_current;
|
|
118
|
+
setShowNoticeBar(false);
|
|
119
|
+
(_onCloseRef_current = onCloseRef.current) === null || _onCloseRef_current === void 0 ? void 0 : _onCloseRef_current.call(onCloseRef);
|
|
120
|
+
}, autoClose);
|
|
121
|
+
return function() {
|
|
122
|
+
clearInterval(autoCloseIntervalRef.current);
|
|
123
|
+
clearTimeout(autoCloseTimerRef.current);
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
setAutoCloseProgress(100);
|
|
127
|
+
}, [
|
|
128
|
+
autoClose,
|
|
129
|
+
showNoticeBar
|
|
130
|
+
]);
|
|
97
131
|
(0, _react.useEffect)(function() {
|
|
98
132
|
if (isVertical) {
|
|
99
133
|
if (children) {
|
|
@@ -152,7 +186,9 @@ var NoticeBar = function NoticeBar(props) {
|
|
|
152
186
|
};
|
|
153
187
|
var onClickIcon = function onClickIcon(event) {
|
|
154
188
|
event.stopPropagation();
|
|
155
|
-
|
|
189
|
+
setShowNoticeBar(false);
|
|
190
|
+
clearInterval(autoCloseIntervalRef.current);
|
|
191
|
+
clearTimeout(autoCloseTimerRef.current);
|
|
156
192
|
close && close(event);
|
|
157
193
|
onClose && onClose(event);
|
|
158
194
|
};
|
|
@@ -180,13 +216,6 @@ var NoticeBar = function NoticeBar(props) {
|
|
|
180
216
|
SetAnimate(false);
|
|
181
217
|
}, time);
|
|
182
218
|
};
|
|
183
|
-
// 点击滚动单元
|
|
184
|
-
var handleClickIcon = function handleClickIcon(event) {
|
|
185
|
-
event.stopPropagation();
|
|
186
|
-
SetShowNoticeBar(!closeable);
|
|
187
|
-
close && close(event);
|
|
188
|
-
onClose && onClose(event);
|
|
189
|
-
};
|
|
190
219
|
var isEllipsis = function isEllipsis() {
|
|
191
220
|
if (isCanScroll == null && align === 'left') {
|
|
192
221
|
return wrap;
|
|
@@ -388,6 +417,52 @@ var NoticeBar = function NoticeBar(props) {
|
|
|
388
417
|
container.current = ref;
|
|
389
418
|
setIsContainerReady(true);
|
|
390
419
|
}, []);
|
|
420
|
+
var renderLeftIcon = function renderLeftIcon() {
|
|
421
|
+
if (!leftIcon) return null;
|
|
422
|
+
return /*#__PURE__*/ _react.default.createElement("div", {
|
|
423
|
+
className: "".concat(classPrefix, "-box-left-icon")
|
|
424
|
+
}, leftIcon);
|
|
425
|
+
};
|
|
426
|
+
var renderTag = function renderTag() {
|
|
427
|
+
if (!tag) return null;
|
|
428
|
+
return /*#__PURE__*/ _react.default.createElement("div", {
|
|
429
|
+
className: "".concat(classPrefix, "-box-tag")
|
|
430
|
+
}, tag);
|
|
431
|
+
};
|
|
432
|
+
var renderAction = function renderAction() {
|
|
433
|
+
if (!action) return null;
|
|
434
|
+
return /*#__PURE__*/ _react.default.createElement("div", {
|
|
435
|
+
className: "".concat(classPrefix, "-box-action")
|
|
436
|
+
}, action);
|
|
437
|
+
};
|
|
438
|
+
var renderAutoCloseIcon = function renderAutoCloseIcon() {
|
|
439
|
+
return /*#__PURE__*/ _react.default.createElement("div", {
|
|
440
|
+
className: "".concat(classPrefix, "-box-close-countdown"),
|
|
441
|
+
style: {
|
|
442
|
+
'--progress': "".concat(autoCloseProgress, "%")
|
|
443
|
+
}
|
|
444
|
+
}, /*#__PURE__*/ _react.default.createElement(_iconsreact.Close, {
|
|
445
|
+
className: "".concat(classPrefix, "-box-close-icon")
|
|
446
|
+
}));
|
|
447
|
+
};
|
|
448
|
+
var renderCloseIcon = function renderCloseIcon() {
|
|
449
|
+
if (!closeable && !rightIcon && !(autoClose && autoClose > 0)) return null;
|
|
450
|
+
return /*#__PURE__*/ _react.default.createElement("div", {
|
|
451
|
+
className: "".concat(classPrefix, "-box-right-icon"),
|
|
452
|
+
onClick: onClickIcon
|
|
453
|
+
}, rightIcon || (autoClose && autoClose > 0 ? renderAutoCloseIcon() : /*#__PURE__*/ _react.default.createElement(_iconsreact.Close, {
|
|
454
|
+
className: "".concat(classPrefix, "-box-right-icon-default")
|
|
455
|
+
})));
|
|
456
|
+
};
|
|
457
|
+
var renderRight = function renderRight() {
|
|
458
|
+
if (!right) return null;
|
|
459
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
460
|
+
console.warn('[NutUI] NoticeBar: `right` prop is deprecated, use `action` instead.');
|
|
461
|
+
}
|
|
462
|
+
return /*#__PURE__*/ _react.default.createElement("div", {
|
|
463
|
+
className: "".concat(classPrefix, "-box-right")
|
|
464
|
+
}, right);
|
|
465
|
+
};
|
|
391
466
|
return /*#__PURE__*/ _react.default.createElement("div", {
|
|
392
467
|
className: cls,
|
|
393
468
|
style: style
|
|
@@ -395,32 +470,27 @@ var NoticeBar = function NoticeBar(props) {
|
|
|
395
470
|
className: noticebarClass,
|
|
396
471
|
style: barStyle,
|
|
397
472
|
onClick: handleClick
|
|
398
|
-
},
|
|
399
|
-
className: "
|
|
400
|
-
},
|
|
473
|
+
}, renderLeftIcon(), /*#__PURE__*/ _react.default.createElement("div", {
|
|
474
|
+
className: "".concat(classPrefix, "-box-content-wrapper")
|
|
475
|
+
}, /*#__PURE__*/ _react.default.createElement("div", {
|
|
476
|
+
className: "".concat(classPrefix, "-box-content-main")
|
|
477
|
+
}, /*#__PURE__*/ _react.default.createElement("div", {
|
|
401
478
|
ref: wrapRef,
|
|
402
|
-
className: "
|
|
479
|
+
className: "".concat(classPrefix, "-box-wrap")
|
|
403
480
|
}, /*#__PURE__*/ _react.default.createElement("div", {
|
|
404
481
|
ref: contentRef,
|
|
405
|
-
className: "
|
|
482
|
+
className: "".concat(classPrefix, "-box-wrap-content ").concat(animationClass, " ").concat(isEllipsis() ? 'nut-ellipsis' : ''),
|
|
406
483
|
style: contentStyle,
|
|
407
484
|
onAnimationEnd: onAnimationEnd
|
|
408
|
-
}, children, content)),
|
|
409
|
-
className: "
|
|
410
|
-
},
|
|
411
|
-
className: "
|
|
412
|
-
onClick: onClickIcon
|
|
413
|
-
}, rightIcon || /*#__PURE__*/ _react.default.createElement(_iconsreact.Close, {
|
|
414
|
-
className: "nut-noticebar-box-right-icon-default"
|
|
415
|
-
})) : null) : null, showNoticeBar && hasVerticalContent && isVertical ? /*#__PURE__*/ _react.default.createElement("div", {
|
|
416
|
-
className: "nut-noticebar-vertical",
|
|
485
|
+
}, children, content)), renderTag()), description ? /*#__PURE__*/ _react.default.createElement("div", {
|
|
486
|
+
className: "".concat(classPrefix, "-box-description")
|
|
487
|
+
}, description) : null), renderAction(), renderRight(), renderCloseIcon()) : null, showNoticeBar && hasVerticalContent && isVertical ? /*#__PURE__*/ _react.default.createElement("div", {
|
|
488
|
+
className: "".concat(classPrefix, "-vertical"),
|
|
417
489
|
style: barStyle,
|
|
418
490
|
ref: containerRefCallback,
|
|
419
491
|
onClick: handleClick
|
|
420
|
-
},
|
|
421
|
-
className: "
|
|
422
|
-
}, leftIcon) : null, children ? /*#__PURE__*/ _react.default.createElement("div", {
|
|
423
|
-
className: "nut-noticebar-box-wrap",
|
|
492
|
+
}, renderLeftIcon(), children ? /*#__PURE__*/ _react.default.createElement("div", {
|
|
493
|
+
className: "".concat(classPrefix, "-box-wrap"),
|
|
424
494
|
ref: innerRef
|
|
425
495
|
}, scrollList.current.map(function(item, index) {
|
|
426
496
|
return /*#__PURE__*/ _react.default.createElement("div", {
|
|
@@ -431,11 +501,11 @@ var NoticeBar = function NoticeBar(props) {
|
|
|
431
501
|
}
|
|
432
502
|
}, item);
|
|
433
503
|
})) : /*#__PURE__*/ _react.default.createElement("div", {
|
|
434
|
-
className: "
|
|
504
|
+
className: "".concat(classPrefix, "-box-horseLamp-list"),
|
|
435
505
|
style: horseLampStyle
|
|
436
506
|
}, scrollList.current.map(function(item, index) {
|
|
437
507
|
return /*#__PURE__*/ _react.default.createElement("div", {
|
|
438
|
-
className: "
|
|
508
|
+
className: "".concat(classPrefix, "-box-horseLamp-list-item"),
|
|
439
509
|
style: {
|
|
440
510
|
height: height
|
|
441
511
|
},
|
|
@@ -444,13 +514,6 @@ var NoticeBar = function NoticeBar(props) {
|
|
|
444
514
|
handleItemClick(e, item);
|
|
445
515
|
}
|
|
446
516
|
}, item);
|
|
447
|
-
})),
|
|
448
|
-
className: "nut-noticebar-box-right-icon",
|
|
449
|
-
onClick: function onClick(e) {
|
|
450
|
-
handleClickIcon(e);
|
|
451
|
-
}
|
|
452
|
-
}, rightIcon || (closeable ? /*#__PURE__*/ _react.default.createElement(_iconsreact.Close, {
|
|
453
|
-
className: "nut-noticebar-box-right-icon-default"
|
|
454
|
-
}) : null))) : null);
|
|
517
|
+
})), renderTag(), renderAction(), renderRight(), renderCloseIcon()) : null);
|
|
455
518
|
};
|
|
456
519
|
NoticeBar.displayName = 'NutNoticeBar';
|