@nutui/nutui-react-taro 2.6.18 → 2.6.20
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 +21 -0
- package/dist/esm/ActionSheet.js +1 -1
- package/dist/esm/Address.js +1 -1
- package/dist/esm/AnimatingNumbers.js +2 -2
- package/dist/esm/Audio.js +1 -1
- package/dist/esm/AvatarCropper.js +1 -1
- package/dist/esm/BackTop.js +1 -1
- package/dist/esm/Badge.js +1 -1
- package/dist/esm/Calendar.js +1 -1
- package/dist/esm/CalendarCard.js +1 -1
- package/dist/esm/CalendarItem.js +1 -1
- package/dist/esm/Cascader.js +1 -1
- package/dist/esm/ConfigProvider.js +2 -2
- package/dist/esm/CountDown.js +1 -1
- package/dist/esm/DatePicker.js +1 -1
- package/dist/esm/Dialog.js +1 -1
- package/dist/esm/Ellipsis.js +1 -1
- package/dist/esm/Empty.js +1 -1
- package/dist/esm/FixedNav.js +1 -1
- package/dist/esm/Grid.js +1 -1
- package/dist/esm/GridItem.js +1 -1
- package/dist/esm/ImagePreview.js +1 -1
- package/dist/esm/InfiniteLoading.js +1 -1
- package/dist/esm/Input.js +1 -1
- package/dist/esm/InputNumber.js +1 -1
- package/dist/esm/Layout.js +1 -1
- package/dist/esm/Menu.js +1 -1
- package/dist/esm/MenuItem.js +1 -1
- package/dist/esm/NoticeBar.js +1 -1
- package/dist/esm/Notify.js +1 -1
- package/dist/esm/NumberKeyboard.js +1 -1
- package/dist/esm/Overlay.js +1 -1
- package/dist/esm/Pagination.js +1 -1
- package/dist/esm/Picker.js +1 -1
- package/dist/esm/Popover.js +1 -1
- package/dist/esm/Popup.js +1 -1
- package/dist/esm/Progress.js +1 -1
- package/dist/esm/PullToRefresh.js +1 -1
- package/dist/esm/Range.js +1 -1
- package/dist/esm/SearchBar.js +1 -1
- package/dist/esm/ShortPassword.js +1 -1
- package/dist/esm/SideNavBar.js +1 -1
- package/dist/esm/Signature.js +1 -1
- package/dist/esm/Tabbar.js +1 -1
- package/dist/esm/TabbarItem.js +1 -1
- package/dist/esm/Table.js +1 -1
- package/dist/esm/Tabs.js +1 -1
- package/dist/esm/TextArea.js +1 -1
- package/dist/esm/TimeSelect.js +1 -1
- package/dist/esm/Toast.js +1 -1
- package/dist/esm/Tour.js +1 -1
- package/dist/esm/Uploader.js +1 -1
- package/dist/esm/WaterMark.js +1 -1
- package/dist/esm/{actionsheet.taro-CJjNsNrH.js → actionsheet.taro-CgfXnK1M.js} +3 -2
- package/dist/esm/{address.taro-CH4lcI54.js → address.taro-CWr6jIYg.js} +3 -3
- package/dist/esm/{audio.taro-CD-vP_u0.js → audio.taro--yoX2oyx.js} +6 -10
- package/dist/esm/{avatarcropper.taro-CAVcFvKC.js → avatarcropper.taro-B0I9uLNp.js} +25 -24
- package/dist/esm/{backtop.taro-jWlJ1ZWG.js → backtop.taro-CpzSXDW3.js} +1 -1
- package/dist/esm/{badge.taro-BGaxpEYi.js → badge.taro-B42_7q8v.js} +1 -1
- package/dist/esm/{calendar.taro-BXrHr8bg.js → calendar.taro-Csq-7imv.js} +3 -3
- package/dist/esm/{calendarcard.taro-CbvCWF1k.js → calendarcard.taro-CvWyBqnr.js} +1 -1
- package/dist/esm/{calendaritem.taro-CRultyrO.js → calendaritem.taro-BOMJjsx9.js} +6 -10
- package/dist/esm/{cascader.taro-4QSI_vGC.js → cascader.taro-DZ_oBTm0.js} +8 -3
- package/dist/esm/{configprovider.taro-DA4GDDFu.js → configprovider.taro-C3WyeHSO.js} +4 -0
- package/dist/esm/{countdown.taro-mKXeisK0.js → countdown.taro-Dyryl4pq.js} +0 -3
- package/dist/esm/{datepicker.taro-BxaZ3Fjv.js → datepicker.taro-DibmSueg.js} +3 -3
- package/dist/esm/{dialog.taro-BW9D2Gsr.js → dialog.taro-Bg730q8d.js} +4 -4
- package/dist/esm/{ellipsis.taro-Ck2rumQ6.js → ellipsis.taro-fvcP85Ir.js} +10 -14
- package/dist/esm/{empty.taro-CnwDznke.js → empty.taro-Dr4eSaDg.js} +0 -2
- package/dist/esm/{fixednav.taro-D3KnhYoI.js → fixednav.taro-BodErnYy.js} +2 -2
- package/dist/esm/{grid.taro-ZJywVaVe.js → grid.taro-Bi-DXjbo.js} +1 -1
- package/dist/esm/{griditem.taro-CcWyYchl.js → griditem.taro-DMvds46i.js} +0 -2
- package/dist/esm/{imagepreview.taro-0D3hjS6s.js → imagepreview.taro-C0yMREHT.js} +1 -1
- package/dist/esm/{infiniteloading.taro-TbcBB0Qr.js → infiniteloading.taro-DzIrZvc0.js} +1 -1
- package/dist/esm/{input.taro-DbAbbzIX.js → input.taro-CA9ZpM9a.js} +1 -1
- package/dist/esm/{inputnumber.taro-D9mteLSI.js → inputnumber.taro-DPRZtV42.js} +1 -5
- package/dist/esm/{layout.taro-C-aUcOOE.js → layout.taro-DpiuZLLE.js} +1 -3
- package/dist/esm/{menu.taro-CLbOM_Z4.js → menu.taro-BFc4uUxG.js} +1 -1
- package/dist/esm/{menuitem.taro-CNaseNcY.js → menuitem.taro-D6KQvdRw.js} +4 -3
- package/dist/esm/merge-props-2rRqFlJz.js +16 -0
- package/dist/esm/{noticebar.taro-CGUTg60Q.js → noticebar.taro-BjKDC7We.js} +1 -1
- package/dist/esm/{notify.taro-jP7y9zMU.js → notify.taro-BVXg7xTI.js} +5 -4
- package/dist/esm/{numberkeyboard.taro-Cz6rKxk3.js → numberkeyboard.taro-CIlStObb.js} +2 -2
- package/dist/esm/nutui-react.es.js +51 -51
- package/dist/esm/{overlay.taro-C2t82CZz.js → overlay.taro-C8eXSsJH.js} +3 -7
- package/dist/esm/{pagination.taro-DdLO3OTc.js → pagination.taro-BSwytb0-.js} +5 -9
- package/dist/esm/{picker.taro-CafNRRO5.js → picker.taro-mCnxpFCY.js} +3 -3
- package/dist/esm/{popover.taro-B_FJgU0z.js → popover.taro-BHcidbZG.js} +2 -2
- package/dist/esm/{popup.taro-CR3JyuJV.js → popup.taro-DV32k5dP.js} +6 -6
- package/dist/esm/{progress.taro-De9-206U.js → progress.taro-CaIUT9Uo.js} +1 -1
- package/dist/esm/{pulltorefresh.taro-DSr2dBjM.js → pulltorefresh.taro-BiSDwLpA.js} +1 -1
- package/dist/esm/{range.taro-D_qsx_j6.js → range.taro-BilM3sMH.js} +1 -1
- package/dist/esm/{searchbar.taro-C8cg7NeJ.js → searchbar.taro-LaO2Xr2t.js} +1 -1
- package/dist/esm/{shortpassword.taro-DpdtRsQ-.js → shortpassword.taro-ByEtEDDl.js} +2 -2
- package/dist/esm/{sidenavbar.taro-5BmrYFtP.js → sidenavbar.taro-DNwoQw9u.js} +1 -1
- package/dist/esm/{signature.taro-zgwaJkIE.js → signature.taro-BW4eiGIR.js} +1 -1
- package/dist/esm/{tabbar.taro-CXk0zLdz.js → tabbar.taro-BiQDgZQF.js} +1 -1
- package/dist/esm/{tabbaritem.taro-BZNabTBp.js → tabbaritem.taro-BiIVucQz.js} +1 -1
- package/dist/esm/{table.taro-B6WCKTkO.js → table.taro-1nFkDxbh.js} +1 -1
- package/dist/esm/{tabs.taro-8X51sTol.js → tabs.taro-CJiI4q_-.js} +1 -1
- package/dist/esm/{textarea.taro-DuceTjAx.js → textarea.taro-EJQxRHZR.js} +1 -1
- package/dist/esm/{timeselect.taro-DncKbp3l.js → timeselect.taro-DE_a87DT.js} +2 -2
- package/dist/esm/{toast.taro-CYk6UERn.js → toast.taro-Tx0IHbsl.js} +3 -3
- package/dist/esm/{tour.taro-SPMrhDA9.js → tour.taro-BvBZa8nq.js} +1 -1
- package/dist/esm/{uploader.taro-Do8LZqUn.js → uploader.taro-C-8Jf7un.js} +4 -8
- package/dist/esm/{watermark.taro-CZ6R5FlJ.js → watermark.taro-CbO7mKFD.js} +1 -1
- package/dist/locales/base.d.ts +7 -0
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +5 -1
- package/dist/locales/id-ID.js +5 -1
- package/dist/locales/tr-TR.js +5 -1
- package/dist/locales/zh-CN.js +5 -1
- package/dist/locales/zh-TW.js +5 -1
- package/dist/locales/zh-UG.js +5 -1
- package/dist/nutui.react.es.js +83 -67
- package/dist/nutui.react.umd.js +83 -67
- package/dist/packages/elevator/elevator.scss +1 -2
- package/dist/packages/popover/popover.scss +3 -3
- package/dist/packages/tabs/tabs.scss +3 -3
- package/dist/packages/uploader/uploader.scss +1 -2
- package/dist/types/index.d.ts +196 -196
- package/dist/types/locales/base.d.ts +7 -0
- package/dist/types/packages/searchbar/searchbar.d.ts +0 -14
- package/dist/types/packages/searchbar/searchbar.taro.d.ts +14 -14
- package/dist/types/packages/uploader/uploader.taro.d.ts +0 -3
- package/dist/types/utils/merge-props.d.ts +9 -5
- package/package.json +2 -2
package/dist/nutui.react.umd.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react"), require("@tarojs/taro"), require("@tarojs/components"), require("react-dom")) : typeof define === "function" && define.amd ? define(["exports", "react", "@tarojs/taro", "@tarojs/components", "react-dom"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory((global2.nutui = global2.nutui || {}, global2.nutui.react = {}), global2.React, global2.Taro, global2.components, global2.ReactDOM));
|
|
3
3
|
})(this, function(exports2, React, Taro, components, ReactDOM) {
|
|
4
4
|
"use strict";/*!
|
|
5
|
-
* @nutui/nutui-react-taro v2.6.
|
|
5
|
+
* @nutui/nutui-react-taro v2.6.20 Fri Sep 20 2024 13:48:55 GMT+0800 (China Standard Time)
|
|
6
6
|
* (c) 2023 @jdf2e.
|
|
7
7
|
* Released under the MIT License.
|
|
8
8
|
*/
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
style: {}
|
|
281
281
|
};
|
|
282
282
|
const prefixCls$2 = "nut-button";
|
|
283
|
-
const defaultProps$
|
|
283
|
+
const defaultProps$1u = {
|
|
284
284
|
...ComponentDefaults,
|
|
285
285
|
color: "",
|
|
286
286
|
type: "default",
|
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
onClick,
|
|
316
316
|
...rest
|
|
317
317
|
} = {
|
|
318
|
-
...defaultProps$
|
|
318
|
+
...defaultProps$1u,
|
|
319
319
|
...props
|
|
320
320
|
};
|
|
321
321
|
const getStyle = React.useCallback(() => {
|
|
@@ -382,7 +382,7 @@
|
|
|
382
382
|
);
|
|
383
383
|
Button.displayName = "NutButton";
|
|
384
384
|
const CellGroupContext = React.createContext(null);
|
|
385
|
-
const defaultProps$
|
|
385
|
+
const defaultProps$1t = {
|
|
386
386
|
...ComponentDefaults,
|
|
387
387
|
title: "",
|
|
388
388
|
description: "",
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
const classPrefix$r = "nut-cell-group";
|
|
392
392
|
const CellGroup = (props) => {
|
|
393
393
|
const { children, className, title, description, divider, ...rest } = {
|
|
394
|
-
...defaultProps$
|
|
394
|
+
...defaultProps$1t,
|
|
395
395
|
...props
|
|
396
396
|
};
|
|
397
397
|
return /* @__PURE__ */ React.createElement("div", { className: classNames(classPrefix$r, className), ...rest }, title ? /* @__PURE__ */ React.createElement("div", { className: `${classPrefix$r}-title` }, title) : null, description ? /* @__PURE__ */ React.createElement("div", { className: `${classPrefix$r}-description` }, description) : null, /* @__PURE__ */ React.createElement(
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
));
|
|
404
404
|
};
|
|
405
405
|
CellGroup.displayName = "NutCellGroup";
|
|
406
|
-
const defaultProps$
|
|
406
|
+
const defaultProps$1s = {
|
|
407
407
|
...ComponentDefaults,
|
|
408
408
|
title: null,
|
|
409
409
|
description: null,
|
|
@@ -430,7 +430,7 @@
|
|
|
430
430
|
clickable,
|
|
431
431
|
...rest
|
|
432
432
|
} = {
|
|
433
|
-
...defaultProps$
|
|
433
|
+
...defaultProps$1s,
|
|
434
434
|
...props
|
|
435
435
|
};
|
|
436
436
|
const handleClick = (event) => {
|
|
@@ -1415,6 +1415,8 @@
|
|
|
1415
1415
|
noData: "暂无数据",
|
|
1416
1416
|
placeholder: "请输入内容",
|
|
1417
1417
|
select: "请选择",
|
|
1418
|
+
edit: "编辑",
|
|
1419
|
+
reset: "重置",
|
|
1418
1420
|
video: {
|
|
1419
1421
|
errorTip: "视频加载失败",
|
|
1420
1422
|
clickRetry: "点击重试"
|
|
@@ -1452,6 +1454,7 @@
|
|
|
1452
1454
|
tips: "忘记密码"
|
|
1453
1455
|
},
|
|
1454
1456
|
uploader: {
|
|
1457
|
+
list: "上传文件",
|
|
1455
1458
|
ready: "准备完成",
|
|
1456
1459
|
readyUpload: "准备上传",
|
|
1457
1460
|
waitingUpload: "等待上传",
|
|
@@ -1518,6 +1521,7 @@
|
|
|
1518
1521
|
mute: "静音",
|
|
1519
1522
|
tips: "onPlayEnd事件在loop=false时才会触发"
|
|
1520
1523
|
},
|
|
1524
|
+
avatarCropper: { rotate: "旋转", selectImage: "选择图片" },
|
|
1521
1525
|
datepicker: {
|
|
1522
1526
|
year: "年",
|
|
1523
1527
|
month: "月",
|
|
@@ -1605,7 +1609,7 @@
|
|
|
1605
1609
|
const pxCheck = (value) => {
|
|
1606
1610
|
return Number.isNaN(Number(value)) ? String(value) : `${value}px`;
|
|
1607
1611
|
};
|
|
1608
|
-
const defaultProps$
|
|
1612
|
+
const defaultProps$1r = {
|
|
1609
1613
|
src: "",
|
|
1610
1614
|
error: true,
|
|
1611
1615
|
loading: true
|
|
@@ -1624,7 +1628,7 @@
|
|
|
1624
1628
|
onLoad,
|
|
1625
1629
|
onError,
|
|
1626
1630
|
...rest
|
|
1627
|
-
} = { ...defaultProps$
|
|
1631
|
+
} = { ...defaultProps$1r, ...props };
|
|
1628
1632
|
const [innerLoading, setInnerLoading] = React.useState(true);
|
|
1629
1633
|
const [isError, setIsError] = React.useState(false);
|
|
1630
1634
|
const handleLoad = (e2) => {
|
|
@@ -3616,7 +3620,7 @@
|
|
|
3616
3620
|
const onHandleClosed = (e2) => {
|
|
3617
3621
|
afterClose && afterClose();
|
|
3618
3622
|
};
|
|
3619
|
-
return /* @__PURE__ */ React.createElement(
|
|
3623
|
+
return /* @__PURE__ */ React.createElement(
|
|
3620
3624
|
CSSTransition,
|
|
3621
3625
|
{
|
|
3622
3626
|
nodeRef,
|
|
@@ -3639,11 +3643,11 @@
|
|
|
3639
3643
|
},
|
|
3640
3644
|
children
|
|
3641
3645
|
)
|
|
3642
|
-
)
|
|
3646
|
+
);
|
|
3643
3647
|
};
|
|
3644
3648
|
Overlay.displayName = "NutOverlay";
|
|
3645
3649
|
const DataContext$1 = React.createContext({});
|
|
3646
|
-
const defaultProps$
|
|
3650
|
+
const defaultProps$1q = {
|
|
3647
3651
|
...ComponentDefaults,
|
|
3648
3652
|
span: "24",
|
|
3649
3653
|
offset: "0",
|
|
@@ -3651,7 +3655,7 @@
|
|
|
3651
3655
|
};
|
|
3652
3656
|
const Col = (props) => {
|
|
3653
3657
|
const { className, style, span, offset, children, onClick } = {
|
|
3654
|
-
...defaultProps$
|
|
3658
|
+
...defaultProps$1q,
|
|
3655
3659
|
...props
|
|
3656
3660
|
};
|
|
3657
3661
|
const [colName, setColName] = React.useState("");
|
|
@@ -3684,7 +3688,7 @@
|
|
|
3684
3688
|
);
|
|
3685
3689
|
};
|
|
3686
3690
|
Col.displayName = "NutCol";
|
|
3687
|
-
const defaultProps$
|
|
3691
|
+
const defaultProps$1p = {
|
|
3688
3692
|
...ComponentDefaults,
|
|
3689
3693
|
contentPosition: "center",
|
|
3690
3694
|
direction: "horizontal"
|
|
@@ -3692,7 +3696,7 @@
|
|
|
3692
3696
|
const classPrefix$o = `nut-divider`;
|
|
3693
3697
|
const Divider = (props) => {
|
|
3694
3698
|
const { children, contentPosition, style, className, direction, ...rest } = {
|
|
3695
|
-
...defaultProps$
|
|
3699
|
+
...defaultProps$1p,
|
|
3696
3700
|
...props
|
|
3697
3701
|
};
|
|
3698
3702
|
const classes = direction === "horizontal" ? classNames({
|
|
@@ -3713,7 +3717,7 @@
|
|
|
3713
3717
|
}
|
|
3714
3718
|
};
|
|
3715
3719
|
const GridContext = React.createContext(gridContext);
|
|
3716
|
-
const defaultProps$
|
|
3720
|
+
const defaultProps$1o = {
|
|
3717
3721
|
text: "",
|
|
3718
3722
|
columns: 4,
|
|
3719
3723
|
gap: 0,
|
|
@@ -3723,7 +3727,6 @@
|
|
|
3723
3727
|
direction: "vertical"
|
|
3724
3728
|
};
|
|
3725
3729
|
const GridItem = (props) => {
|
|
3726
|
-
useConfig$1();
|
|
3727
3730
|
const {
|
|
3728
3731
|
children,
|
|
3729
3732
|
style,
|
|
@@ -3739,7 +3742,7 @@
|
|
|
3739
3742
|
onClick,
|
|
3740
3743
|
...rest
|
|
3741
3744
|
} = {
|
|
3742
|
-
...defaultProps$
|
|
3745
|
+
...defaultProps$1o,
|
|
3743
3746
|
...props
|
|
3744
3747
|
};
|
|
3745
3748
|
const classPrefix2 = "nut-grid-item";
|
|
@@ -3798,7 +3801,7 @@
|
|
|
3798
3801
|
);
|
|
3799
3802
|
};
|
|
3800
3803
|
GridItem.displayName = "NutGridItem";
|
|
3801
|
-
const defaultProps$
|
|
3804
|
+
const defaultProps$1n = {
|
|
3802
3805
|
columns: 4,
|
|
3803
3806
|
gap: 0,
|
|
3804
3807
|
center: true,
|
|
@@ -3819,7 +3822,7 @@
|
|
|
3819
3822
|
className,
|
|
3820
3823
|
onClick,
|
|
3821
3824
|
...rest
|
|
3822
|
-
} = { ...defaultProps$
|
|
3825
|
+
} = { ...defaultProps$1n, ...props };
|
|
3823
3826
|
const childrenDom = React.Children.toArray(children);
|
|
3824
3827
|
const classPrefix2 = "nut-grid";
|
|
3825
3828
|
const rootClass = () => {
|
|
@@ -3855,9 +3858,7 @@
|
|
|
3855
3858
|
};
|
|
3856
3859
|
Grid.displayName = "NutGrid";
|
|
3857
3860
|
Grid.Item = GridItem;
|
|
3858
|
-
const
|
|
3859
|
-
const Layout = (props) => {
|
|
3860
|
-
({ ...defaultProps$1n, ...props });
|
|
3861
|
+
const Layout = () => {
|
|
3861
3862
|
return /* @__PURE__ */ React.createElement("div", { className: "nut-layout" }, "Layout");
|
|
3862
3863
|
};
|
|
3863
3864
|
Layout.displayName = "NutLayout";
|
|
@@ -4782,6 +4783,7 @@
|
|
|
4782
4783
|
return /* @__PURE__ */ React.createElement(
|
|
4783
4784
|
CSSTransition,
|
|
4784
4785
|
{
|
|
4786
|
+
nodeRef: refObject,
|
|
4785
4787
|
classNames: transitionName,
|
|
4786
4788
|
mountOnEnter: true,
|
|
4787
4789
|
unmountOnExit: destroyOnClose,
|
|
@@ -4805,7 +4807,7 @@
|
|
|
4805
4807
|
);
|
|
4806
4808
|
};
|
|
4807
4809
|
const renderNode = () => {
|
|
4808
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, overlay ? /* @__PURE__ */ React.createElement(
|
|
4810
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, overlay ? /* @__PURE__ */ React.createElement(
|
|
4809
4811
|
Overlay,
|
|
4810
4812
|
{
|
|
4811
4813
|
style: overlayStyles,
|
|
@@ -4816,7 +4818,7 @@
|
|
|
4816
4818
|
duration,
|
|
4817
4819
|
onClick: onHandleClickOverlay
|
|
4818
4820
|
}
|
|
4819
|
-
)
|
|
4821
|
+
) : null, /* @__PURE__ */ React.createElement(React.Fragment, null, renderPop()));
|
|
4820
4822
|
};
|
|
4821
4823
|
React.useEffect(() => {
|
|
4822
4824
|
visible && open2();
|
|
@@ -5702,6 +5704,7 @@
|
|
|
5702
5704
|
}
|
|
5703
5705
|
};
|
|
5704
5706
|
const InternalCascader = (props, ref) => {
|
|
5707
|
+
const { locale } = useConfig$1();
|
|
5705
5708
|
const {
|
|
5706
5709
|
className,
|
|
5707
5710
|
style,
|
|
@@ -5777,6 +5780,9 @@
|
|
|
5777
5780
|
React.useEffect(() => {
|
|
5778
5781
|
initData();
|
|
5779
5782
|
}, [options, format2]);
|
|
5783
|
+
React.useEffect(() => {
|
|
5784
|
+
syncValue();
|
|
5785
|
+
}, [value]);
|
|
5780
5786
|
const initData = async () => {
|
|
5781
5787
|
state.lazyLoadMap.clear();
|
|
5782
5788
|
if (format2 && Object.keys(format2).length > 0) {
|
|
@@ -5998,7 +6004,7 @@
|
|
|
5998
6004
|
className: `nut-tabs-titles-item ${tabvalue === pane.paneKey ? "nut-tabs-titles-item-active" : ""}`,
|
|
5999
6005
|
key: pane.paneKey
|
|
6000
6006
|
},
|
|
6001
|
-
/* @__PURE__ */ React.createElement("span", { className: "nut-tabs-titles-item-text" }, !state.initLoading && state.panes.length && ((_a = pane == null ? void 0 : pane.selectedNode) == null ? void 0 : _a.text), !state.initLoading && state.panes.length && !((_b = pane == null ? void 0 : pane.selectedNode) == null ? void 0 : _b.text) &&
|
|
6007
|
+
/* @__PURE__ */ React.createElement("span", { className: "nut-tabs-titles-item-text" }, !state.initLoading && state.panes.length && ((_a = pane == null ? void 0 : pane.selectedNode) == null ? void 0 : _a.text), !state.initLoading && state.panes.length && !((_b = pane == null ? void 0 : pane.selectedNode) == null ? void 0 : _b.text) && `${locale.select}`, !(!state.initLoading && state.panes.length) && "Loading..."),
|
|
6002
6008
|
/* @__PURE__ */ React.createElement("span", { className: "nut-tabs-titles-item-line" })
|
|
6003
6009
|
);
|
|
6004
6010
|
});
|
|
@@ -7073,7 +7079,7 @@
|
|
|
7073
7079
|
const renderFooter = () => {
|
|
7074
7080
|
return /* @__PURE__ */ React.createElement("div", { className: "nut-calendar-footer" }, children, /* @__PURE__ */ React.createElement("div", { className: "calendar-confirm-btn", onClick: confirm }, confirmText || locale.confirm));
|
|
7075
7081
|
};
|
|
7076
|
-
return /* @__PURE__ */ React.createElement(
|
|
7082
|
+
return /* @__PURE__ */ React.createElement("div", { className: classes, style }, renderHeader(), renderContent(), popup && !autoBackfill ? renderFooter() : "");
|
|
7077
7083
|
});
|
|
7078
7084
|
CalendarItem.displayName = "NutCalendarItem";
|
|
7079
7085
|
const defaultProps$12 = {
|
|
@@ -8782,7 +8788,7 @@
|
|
|
8782
8788
|
catchMove: true,
|
|
8783
8789
|
...rest
|
|
8784
8790
|
},
|
|
8785
|
-
pickerOptions.length && /* @__PURE__ */ React.createElement(
|
|
8791
|
+
pickerOptions.length > 0 && /* @__PURE__ */ React.createElement(
|
|
8786
8792
|
Picker,
|
|
8787
8793
|
{
|
|
8788
8794
|
...pickerProps,
|
|
@@ -10696,7 +10702,7 @@
|
|
|
10696
10702
|
[`${classPrefix$h}-icon-disabled`]: shadowValue === min || disabled
|
|
10697
10703
|
})
|
|
10698
10704
|
}
|
|
10699
|
-
)), /* @__PURE__ */ React.createElement(
|
|
10705
|
+
)), /* @__PURE__ */ React.createElement(
|
|
10700
10706
|
"input",
|
|
10701
10707
|
{
|
|
10702
10708
|
className: "nut-number-input",
|
|
@@ -10710,7 +10716,7 @@
|
|
|
10710
10716
|
onBlur: handleBlur,
|
|
10711
10717
|
onFocus: handleFocus
|
|
10712
10718
|
}
|
|
10713
|
-
)
|
|
10719
|
+
), /* @__PURE__ */ React.createElement("div", { className: "nut-input-add", onClick: handlePlus }, /* @__PURE__ */ React.createElement(
|
|
10714
10720
|
t,
|
|
10715
10721
|
{
|
|
10716
10722
|
className: classNames("nut-inputnumber-icon icon-plus", {
|
|
@@ -10765,6 +10771,7 @@
|
|
|
10765
10771
|
onChange == null ? void 0 : onChange(option);
|
|
10766
10772
|
}
|
|
10767
10773
|
});
|
|
10774
|
+
const cssRef = React.useRef(null);
|
|
10768
10775
|
React.useEffect(() => {
|
|
10769
10776
|
setShowPopup(show2);
|
|
10770
10777
|
}, [show2]);
|
|
@@ -10888,6 +10895,7 @@
|
|
|
10888
10895
|
/* @__PURE__ */ React.createElement(
|
|
10889
10896
|
CSSTransition,
|
|
10890
10897
|
{
|
|
10898
|
+
nodeRef: cssRef,
|
|
10891
10899
|
in: showPopup,
|
|
10892
10900
|
timeout: 100,
|
|
10893
10901
|
classNames: direction === "down" ? "nut-menu-container-down" : "nut-menu-container-up"
|
|
@@ -12313,7 +12321,7 @@
|
|
|
12313
12321
|
onConfirm && onConfirm(res2.tempFilePath, isSignedRef.current);
|
|
12314
12322
|
},
|
|
12315
12323
|
fail: (res2) => {
|
|
12316
|
-
console.warn("保存失败");
|
|
12324
|
+
console.warn("保存失败", res2);
|
|
12317
12325
|
}
|
|
12318
12326
|
});
|
|
12319
12327
|
});
|
|
@@ -12707,7 +12715,7 @@
|
|
|
12707
12715
|
class FileItem {
|
|
12708
12716
|
constructor() {
|
|
12709
12717
|
this.status = "ready";
|
|
12710
|
-
this.message = "
|
|
12718
|
+
this.message = "";
|
|
12711
12719
|
this.uid = (/* @__PURE__ */ new Date()).getTime().toString();
|
|
12712
12720
|
this.percentage = 0;
|
|
12713
12721
|
this.formData = {};
|
|
@@ -13078,7 +13086,6 @@
|
|
|
13078
13086
|
}
|
|
13079
13087
|
if ((Taro.getEnv() === "WEAPP" || Taro.getEnv() === "JD") && Taro.chooseMedia) {
|
|
13080
13088
|
Taro.chooseMedia({
|
|
13081
|
-
/** 最多可以选择的文件个数 */
|
|
13082
13089
|
count: multiple ? maxCount * 1 - fileList.length : 1,
|
|
13083
13090
|
/** 文件类型 */
|
|
13084
13091
|
mediaType,
|
|
@@ -13090,16 +13097,13 @@
|
|
|
13090
13097
|
sizeType,
|
|
13091
13098
|
/** 仅在 sourceType 为 camera 时生效,使用前置或后置摄像头 */
|
|
13092
13099
|
camera,
|
|
13093
|
-
/** 接口调用失败的回调函数 */
|
|
13094
13100
|
fail: (res) => {
|
|
13095
13101
|
onFailure && onFailure(res);
|
|
13096
13102
|
},
|
|
13097
|
-
/** 接口调用成功的回调函数 */
|
|
13098
13103
|
success: onChangeMedia
|
|
13099
13104
|
});
|
|
13100
13105
|
} else {
|
|
13101
13106
|
Taro.chooseImage({
|
|
13102
|
-
// 选择数量
|
|
13103
13107
|
count: multiple ? maxCount * 1 - fileList.length : 1,
|
|
13104
13108
|
// 可以指定是原图还是压缩图,默认二者都有
|
|
13105
13109
|
sizeType,
|
|
@@ -13295,7 +13299,7 @@
|
|
|
13295
13299
|
const handleItemClick = (file, index) => {
|
|
13296
13300
|
onFileItemClick == null ? void 0 : onFileItemClick(file, index);
|
|
13297
13301
|
};
|
|
13298
|
-
return /* @__PURE__ */ React.createElement("div", { className: classes, ...restProps }, (children || previewType === "list") && /* @__PURE__ */ React.createElement("div", { className: "nut-uploader-slot" }, /* @__PURE__ */ React.createElement(React.Fragment, null, children || /* @__PURE__ */ React.createElement(Button, { nativeType: "button", size: "small", type: "primary" },
|
|
13302
|
+
return /* @__PURE__ */ React.createElement("div", { className: classes, ...restProps }, (children || previewType === "list") && /* @__PURE__ */ React.createElement("div", { className: "nut-uploader-slot" }, /* @__PURE__ */ React.createElement(React.Fragment, null, children || /* @__PURE__ */ React.createElement(Button, { nativeType: "button", size: "small", type: "primary" }, locale.uploader.list), Number(maxCount) > fileList.length && /* @__PURE__ */ React.createElement(
|
|
13299
13303
|
Button,
|
|
13300
13304
|
{
|
|
13301
13305
|
nativeType: "button",
|
|
@@ -13333,6 +13337,19 @@
|
|
|
13333
13337
|
};
|
|
13334
13338
|
const Uploader = React.forwardRef(InternalUploader);
|
|
13335
13339
|
Uploader.displayName = "NutUploader";
|
|
13340
|
+
function mergeProps(...items) {
|
|
13341
|
+
const ret = {};
|
|
13342
|
+
items.forEach((item) => {
|
|
13343
|
+
if (item) {
|
|
13344
|
+
Object.keys(item).forEach((key) => {
|
|
13345
|
+
if (item[key] !== void 0) {
|
|
13346
|
+
ret[key] = item[key];
|
|
13347
|
+
}
|
|
13348
|
+
});
|
|
13349
|
+
}
|
|
13350
|
+
});
|
|
13351
|
+
return ret;
|
|
13352
|
+
}
|
|
13336
13353
|
const defaultProps$G = {
|
|
13337
13354
|
...ComponentDefaults,
|
|
13338
13355
|
visible: false,
|
|
@@ -13359,7 +13376,7 @@
|
|
|
13359
13376
|
className,
|
|
13360
13377
|
style,
|
|
13361
13378
|
...rest
|
|
13362
|
-
} =
|
|
13379
|
+
} = mergeProps(defaultProps$G, props);
|
|
13363
13380
|
const classPrefix2 = "nut-actionsheet";
|
|
13364
13381
|
const cancelActionSheet = () => {
|
|
13365
13382
|
onCancel && onCancel();
|
|
@@ -13551,7 +13568,7 @@
|
|
|
13551
13568
|
beforeClose
|
|
13552
13569
|
},
|
|
13553
13570
|
setParams
|
|
13554
|
-
} = useParams(
|
|
13571
|
+
} = useParams(mergeProps(defaultProps$F, props));
|
|
13555
13572
|
useCustomEvent(
|
|
13556
13573
|
id,
|
|
13557
13574
|
({ status, options }) => {
|
|
@@ -13676,7 +13693,6 @@
|
|
|
13676
13693
|
const path = useCustomEventsPath(selector);
|
|
13677
13694
|
customEvents.trigger(path, { status: false });
|
|
13678
13695
|
}
|
|
13679
|
-
BaseDialog.defaultProps = defaultProps$F;
|
|
13680
13696
|
BaseDialog.displayName = "NutDialog";
|
|
13681
13697
|
BaseDialog.open = open$1;
|
|
13682
13698
|
BaseDialog.close = close$1;
|
|
@@ -13829,7 +13845,6 @@
|
|
|
13829
13845
|
};
|
|
13830
13846
|
const classPrefix$f = `nut-empty`;
|
|
13831
13847
|
const Empty = (props) => {
|
|
13832
|
-
useConfig$1();
|
|
13833
13848
|
const {
|
|
13834
13849
|
image,
|
|
13835
13850
|
imageSize,
|
|
@@ -14477,7 +14492,6 @@
|
|
|
14477
14492
|
...ComponentDefaults,
|
|
14478
14493
|
id: "",
|
|
14479
14494
|
duration: 3e3,
|
|
14480
|
-
// 时长
|
|
14481
14495
|
type: "danger",
|
|
14482
14496
|
position: "top",
|
|
14483
14497
|
visible: false,
|
|
@@ -14499,12 +14513,13 @@
|
|
|
14499
14513
|
duration,
|
|
14500
14514
|
onClose,
|
|
14501
14515
|
onClick
|
|
14502
|
-
} =
|
|
14516
|
+
} = mergeProps(defaultProps$z, props);
|
|
14503
14517
|
useCustomEvent(id, (status) => {
|
|
14504
14518
|
status ? show2() : hide2();
|
|
14505
14519
|
});
|
|
14506
14520
|
let timer;
|
|
14507
14521
|
const [showNotify, setShowNotify] = React.useState(false);
|
|
14522
|
+
const cssRef = React.useRef(null);
|
|
14508
14523
|
React.useEffect(() => {
|
|
14509
14524
|
if (visible) {
|
|
14510
14525
|
show2();
|
|
@@ -14543,6 +14558,7 @@
|
|
|
14543
14558
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
14544
14559
|
CSSTransition,
|
|
14545
14560
|
{
|
|
14561
|
+
nodeRef: cssRef,
|
|
14546
14562
|
in: showNotify,
|
|
14547
14563
|
timeout: 300,
|
|
14548
14564
|
classNames: "fade",
|
|
@@ -14570,7 +14586,6 @@
|
|
|
14570
14586
|
const path = useCustomEventsPath(selector);
|
|
14571
14587
|
customEvents.trigger(path, false);
|
|
14572
14588
|
}
|
|
14573
|
-
Notify.defaultProps = defaultProps$z;
|
|
14574
14589
|
Notify.displayName = "NutNotify";
|
|
14575
14590
|
Notify.open = open;
|
|
14576
14591
|
Notify.close = close;
|
|
@@ -15460,7 +15475,7 @@
|
|
|
15460
15475
|
wordBreak
|
|
15461
15476
|
},
|
|
15462
15477
|
setParams
|
|
15463
|
-
} = useParams(
|
|
15478
|
+
} = useParams(mergeProps(defaultProps$s, props));
|
|
15464
15479
|
const timer = React.useRef(-1);
|
|
15465
15480
|
const [innerVisible, setInnerVisible] = usePropsValue({
|
|
15466
15481
|
value: visible,
|
|
@@ -15568,7 +15583,6 @@
|
|
|
15568
15583
|
const path = useCustomEventsPath(selector);
|
|
15569
15584
|
customEvents.trigger(path, { status: false });
|
|
15570
15585
|
}
|
|
15571
|
-
Toast.defaultProps = defaultProps$s;
|
|
15572
15586
|
Toast.displayName = "NutToast";
|
|
15573
15587
|
Toast.show = show;
|
|
15574
15588
|
Toast.hide = hide;
|
|
@@ -15623,10 +15637,7 @@
|
|
|
15623
15637
|
thousands,
|
|
15624
15638
|
style,
|
|
15625
15639
|
...reset
|
|
15626
|
-
} =
|
|
15627
|
-
...defaultProps$q,
|
|
15628
|
-
...props
|
|
15629
|
-
};
|
|
15640
|
+
} = mergeProps(defaultProps$q, props);
|
|
15630
15641
|
const classPrefix2 = "nut-countup";
|
|
15631
15642
|
const countupRef = React.useRef(null);
|
|
15632
15643
|
const timerRef = React.useRef(0);
|
|
@@ -15698,7 +15709,6 @@
|
|
|
15698
15709
|
);
|
|
15699
15710
|
})));
|
|
15700
15711
|
};
|
|
15701
|
-
CountUp.defaultProps = defaultProps$q;
|
|
15702
15712
|
CountUp.displayName = "NutCountUp";
|
|
15703
15713
|
const defaultProps$p = {};
|
|
15704
15714
|
const _AnimatingNumbers = class _AnimatingNumbers extends React.Component {
|
|
@@ -15850,14 +15860,14 @@
|
|
|
15850
15860
|
}
|
|
15851
15861
|
};
|
|
15852
15862
|
const renderIcon = () => {
|
|
15853
|
-
return /* @__PURE__ */ React.createElement(
|
|
15863
|
+
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-icon` }, /* @__PURE__ */ React.createElement(
|
|
15854
15864
|
"div",
|
|
15855
15865
|
{
|
|
15856
15866
|
className: `${classPrefix2}-icon-box} ${playing ? `${classPrefix2}-icon-play}` : `${classPrefix2}-icon-stop}`}`,
|
|
15857
15867
|
onClick: handleStatusChange
|
|
15858
15868
|
},
|
|
15859
15869
|
/* @__PURE__ */ React.createElement(L, { className: playing ? "nut-icon-loading" : "" })
|
|
15860
|
-
))
|
|
15870
|
+
));
|
|
15861
15871
|
};
|
|
15862
15872
|
const renderProgerss = () => {
|
|
15863
15873
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-progress` }, /* @__PURE__ */ React.createElement("div", { className: "time" }, currentDuration), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-progress-bar-wrapper` }, /* @__PURE__ */ React.createElement(
|
|
@@ -16273,7 +16283,6 @@
|
|
|
16273
16283
|
destroy: false
|
|
16274
16284
|
};
|
|
16275
16285
|
const InternalCountDown = (props, ref) => {
|
|
16276
|
-
useConfig$1();
|
|
16277
16286
|
const {
|
|
16278
16287
|
paused,
|
|
16279
16288
|
startTime,
|
|
@@ -16302,7 +16311,6 @@
|
|
|
16302
16311
|
isIninted: false,
|
|
16303
16312
|
timer: 0,
|
|
16304
16313
|
restTime: 0,
|
|
16305
|
-
// 倒计时剩余时间时间
|
|
16306
16314
|
counting: !paused && autoStart,
|
|
16307
16315
|
// 是否处于倒计时中
|
|
16308
16316
|
handleEndTime: Date.now(),
|
|
@@ -16776,7 +16784,7 @@
|
|
|
16776
16784
|
) : null,
|
|
16777
16785
|
((_c = ellipsis.current) == null ? void 0 : _c.tailing) && symbol,
|
|
16778
16786
|
(_d = ellipsis.current) == null ? void 0 : _d.tailing
|
|
16779
|
-
) : null, exceeded && expanded ? /* @__PURE__ */ React.createElement(
|
|
16787
|
+
) : null, exceeded && expanded ? /* @__PURE__ */ React.createElement(
|
|
16780
16788
|
components.View,
|
|
16781
16789
|
{
|
|
16782
16790
|
style: {
|
|
@@ -16795,7 +16803,7 @@
|
|
|
16795
16803
|
},
|
|
16796
16804
|
collapseText
|
|
16797
16805
|
) : null
|
|
16798
|
-
)
|
|
16806
|
+
) : null)
|
|
16799
16807
|
), /* @__PURE__ */ React.createElement(
|
|
16800
16808
|
components.View,
|
|
16801
16809
|
{
|
|
@@ -17380,7 +17388,7 @@
|
|
|
17380
17388
|
onClick: (e2) => handleSelectPage(currentPage + 1)
|
|
17381
17389
|
},
|
|
17382
17390
|
next || locale.pagination.next
|
|
17383
|
-
)), mode === "lite" && /* @__PURE__ */ React.createElement(
|
|
17391
|
+
)), mode === "lite" && /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-lite` }, /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-lite-active` }, 2), /* @__PURE__ */ React.createElement("div", { className: `${classPrefix2}-lite-default` }, 8)));
|
|
17384
17392
|
};
|
|
17385
17393
|
Pagination.displayName = "NutPagination";
|
|
17386
17394
|
const defaultProps$e = {
|
|
@@ -18911,19 +18919,27 @@
|
|
|
18911
18919
|
maxZoom: 3,
|
|
18912
18920
|
space: 10,
|
|
18913
18921
|
toolbar: [
|
|
18914
|
-
/* @__PURE__ */ React.createElement(Button, { type: "danger", key: "cancel" }, "
|
|
18915
|
-
/* @__PURE__ */ React.createElement(Button, { key: "reset" }, "
|
|
18916
|
-
/* @__PURE__ */ React.createElement(Button, { key: "rotate" }, "
|
|
18917
|
-
/* @__PURE__ */ React.createElement(Button, { type: "success", key: "confirm" }, "
|
|
18922
|
+
/* @__PURE__ */ React.createElement(Button, { type: "danger", key: "cancel" }, "Cancel"),
|
|
18923
|
+
/* @__PURE__ */ React.createElement(Button, { key: "reset" }, "Reset"),
|
|
18924
|
+
/* @__PURE__ */ React.createElement(Button, { key: "rotate" }, "Rotate"),
|
|
18925
|
+
/* @__PURE__ */ React.createElement(Button, { type: "success", key: "confirm" }, "Confirm")
|
|
18918
18926
|
],
|
|
18919
18927
|
toolbarPosition: "bottom",
|
|
18920
|
-
editText: "
|
|
18928
|
+
editText: "Edit",
|
|
18921
18929
|
sizeType: ["original", "compressed"],
|
|
18922
18930
|
sourceType: ["album", "camera"],
|
|
18923
18931
|
shape: "square"
|
|
18924
18932
|
};
|
|
18925
18933
|
const classPrefix = `nut-avatar-cropper`;
|
|
18926
18934
|
const AvatarCropper = (props) => {
|
|
18935
|
+
const { locale } = useConfig$1();
|
|
18936
|
+
defaultProps.toolbar = [
|
|
18937
|
+
/* @__PURE__ */ React.createElement(Button, { type: "danger", key: "cancel" }, locale.cancel),
|
|
18938
|
+
/* @__PURE__ */ React.createElement(Button, { key: "reset" }, locale.reset),
|
|
18939
|
+
/* @__PURE__ */ React.createElement(Button, { key: "rotate" }, locale.avatarCropper.rotate),
|
|
18940
|
+
/* @__PURE__ */ React.createElement(Button, { type: "success", key: "confirm" }, locale.confirm)
|
|
18941
|
+
];
|
|
18942
|
+
defaultProps.editText = locale.edit;
|
|
18927
18943
|
const {
|
|
18928
18944
|
children,
|
|
18929
18945
|
toolbar,
|
|
@@ -19395,7 +19411,7 @@
|
|
|
19395
19411
|
};
|
|
19396
19412
|
const ToolBar = () => {
|
|
19397
19413
|
const actions = [cancel, reset, rotate, confirm];
|
|
19398
|
-
return /* @__PURE__ */ React.createElement(
|
|
19414
|
+
return /* @__PURE__ */ React.createElement("div", { className: `${classPrefix}-popup-toolbar-flex` }, actions.map((action, index) => /* @__PURE__ */ React.createElement(
|
|
19399
19415
|
"div",
|
|
19400
19416
|
{
|
|
19401
19417
|
key: index,
|
|
@@ -19403,11 +19419,11 @@
|
|
|
19403
19419
|
onClick: (_e) => action()
|
|
19404
19420
|
},
|
|
19405
19421
|
toolbar[index]
|
|
19406
|
-
)))
|
|
19422
|
+
)));
|
|
19407
19423
|
};
|
|
19408
19424
|
const CropperPopup = () => {
|
|
19409
19425
|
const { canvasId } = canvasAll;
|
|
19410
|
-
return /* @__PURE__ */ React.createElement(
|
|
19426
|
+
return /* @__PURE__ */ React.createElement(
|
|
19411
19427
|
"div",
|
|
19412
19428
|
{
|
|
19413
19429
|
className: `${classPrefix}-popup`,
|
|
@@ -19434,7 +19450,7 @@
|
|
|
19434
19450
|
/* @__PURE__ */ React.createElement("div", { className: "highlight", style: highlightStyle })
|
|
19435
19451
|
),
|
|
19436
19452
|
/* @__PURE__ */ React.createElement("div", { className: toolbarPositionCls }, /* @__PURE__ */ React.createElement(ToolBar, null))
|
|
19437
|
-
)
|
|
19453
|
+
);
|
|
19438
19454
|
};
|
|
19439
19455
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: cls, ...rest, style }, children, /* @__PURE__ */ React.createElement("div", { className: "nut-avatar-cropper-edit-text", onClick: chooseImage }, editText)), CropperPopup());
|
|
19440
19456
|
};
|
|
@@ -99,13 +99,12 @@
|
|
|
99
99
|
&-item {
|
|
100
100
|
display: block;
|
|
101
101
|
padding: $elevator-bars-inner-item-padding;
|
|
102
|
+
cursor: pointer;
|
|
102
103
|
|
|
103
104
|
&-active {
|
|
104
105
|
font-weight: $font-weight-bold;
|
|
105
106
|
color: $elevator-bars-active-color;
|
|
106
107
|
}
|
|
107
|
-
|
|
108
|
-
cursor: pointer;
|
|
109
108
|
}
|
|
110
109
|
}
|
|
111
110
|
}
|
|
@@ -162,11 +162,11 @@
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
&-top-end {
|
|
165
|
+
right: 0;
|
|
165
166
|
.nut-popover-arrow-top-end {
|
|
166
167
|
right: 16px;
|
|
167
168
|
transform: translateX(0%);
|
|
168
169
|
}
|
|
169
|
-
right: 0;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
&-top-start {
|
|
@@ -186,12 +186,12 @@
|
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
&-bottom-end {
|
|
189
|
+
right: 0;
|
|
190
|
+
|
|
189
191
|
.nut-popover-arrow-bottom-end {
|
|
190
192
|
right: 16px;
|
|
191
193
|
transform: translateX(0%);
|
|
192
194
|
}
|
|
193
|
-
|
|
194
|
-
right: 0;
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
&-bottom-start {
|
|
@@ -195,6 +195,7 @@
|
|
|
195
195
|
width: 90%;
|
|
196
196
|
font-size: 12px;
|
|
197
197
|
color: $color-text;
|
|
198
|
+
@include moreline-ellipsis();
|
|
198
199
|
|
|
199
200
|
&.error {
|
|
200
201
|
color: red !important;
|
|
@@ -207,8 +208,6 @@
|
|
|
207
208
|
.nut-icon-Link {
|
|
208
209
|
flex-shrink: 0;
|
|
209
210
|
}
|
|
210
|
-
|
|
211
|
-
@include moreline-ellipsis();
|
|
212
211
|
}
|
|
213
212
|
}
|
|
214
213
|
}
|