@majoo-ui/react 1.55.34 → 1.55.36
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/components/link/Link.d.ts +1 -1
- package/index.esm.js +245 -155
- package/index.umd.js +245 -155
- package/package.json +1 -1
package/index.umd.js
CHANGED
|
@@ -1334,7 +1334,7 @@
|
|
|
1334
1334
|
bgDark: '#FFFFFF'
|
|
1335
1335
|
}
|
|
1336
1336
|
});
|
|
1337
|
-
var colors$
|
|
1337
|
+
var colors$5 = core.foundations.colors;
|
|
1338
1338
|
|
|
1339
1339
|
const normalize = {
|
|
1340
1340
|
'*,::before,::after': {
|
|
@@ -2907,7 +2907,7 @@
|
|
|
2907
2907
|
*/
|
|
2908
2908
|
color: {
|
|
2909
2909
|
success: {
|
|
2910
|
-
color: '$
|
|
2910
|
+
color: '$primary500'
|
|
2911
2911
|
},
|
|
2912
2912
|
info: {
|
|
2913
2913
|
color: '$hlNews'
|
|
@@ -2919,7 +2919,10 @@
|
|
|
2919
2919
|
color: '$hlFailed'
|
|
2920
2920
|
},
|
|
2921
2921
|
pending: {
|
|
2922
|
-
color: '$
|
|
2922
|
+
color: '$hlPending'
|
|
2923
|
+
},
|
|
2924
|
+
primary: {
|
|
2925
|
+
color: '$textPrimary'
|
|
2923
2926
|
}
|
|
2924
2927
|
}
|
|
2925
2928
|
},
|
|
@@ -3256,7 +3259,7 @@
|
|
|
3256
3259
|
columnNumber: 17
|
|
3257
3260
|
}
|
|
3258
3261
|
}, /*#__PURE__*/React__namespace.createElement(icons.CloseOutline, {
|
|
3259
|
-
color: colors$
|
|
3262
|
+
color: colors$5.iconSecondary,
|
|
3260
3263
|
size: "16px",
|
|
3261
3264
|
__self: undefined,
|
|
3262
3265
|
__source: {
|
|
@@ -3489,12 +3492,12 @@
|
|
|
3489
3492
|
disableGlobalStyle: PropTypes__default["default"].bool
|
|
3490
3493
|
};
|
|
3491
3494
|
|
|
3492
|
-
const _excluded$x = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock"];
|
|
3495
|
+
const _excluded$x = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock", "icon"];
|
|
3493
3496
|
var _jsxFileName$Y = "/Users/apple/Documents/project/majoo/majoo-ui/packages/react/src/components/banner/Banner.js";
|
|
3494
3497
|
const Context$2 = /*#__PURE__*/React__namespace.createContext();
|
|
3495
3498
|
const StyledBanner = styled(Flex$1, {
|
|
3496
3499
|
maxWidth: '100%',
|
|
3497
|
-
padding: '$spacing-03',
|
|
3500
|
+
padding: '$spacing-03 $spacing-05',
|
|
3498
3501
|
textAlign: 'left',
|
|
3499
3502
|
borderRadius: 8,
|
|
3500
3503
|
pointer: 'default',
|
|
@@ -3509,12 +3512,12 @@
|
|
|
3509
3512
|
},
|
|
3510
3513
|
variant: {
|
|
3511
3514
|
info: {
|
|
3512
|
-
backgroundColor: '$
|
|
3515
|
+
backgroundColor: '$bgNew',
|
|
3513
3516
|
border: '1px solid $hlNews'
|
|
3514
3517
|
},
|
|
3515
3518
|
warning: {
|
|
3516
3519
|
backgroundColor: '$bgProcess',
|
|
3517
|
-
border: '1px solid $
|
|
3520
|
+
border: '1px solid $hlPending'
|
|
3518
3521
|
},
|
|
3519
3522
|
success: {
|
|
3520
3523
|
backgroundColor: '$bgSuccess',
|
|
@@ -3526,7 +3529,7 @@
|
|
|
3526
3529
|
},
|
|
3527
3530
|
pending: {
|
|
3528
3531
|
backgroundColor: '$bgProcess',
|
|
3529
|
-
border: '1px solid $
|
|
3532
|
+
border: '1px solid $hlPending'
|
|
3530
3533
|
}
|
|
3531
3534
|
},
|
|
3532
3535
|
hasAction: {
|
|
@@ -3614,29 +3617,45 @@
|
|
|
3614
3617
|
children: PropTypes__default["default"].string
|
|
3615
3618
|
};
|
|
3616
3619
|
const BannerLink = ({
|
|
3620
|
+
css,
|
|
3617
3621
|
link,
|
|
3618
3622
|
children,
|
|
3619
3623
|
variant
|
|
3620
|
-
}) =>
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
__self: undefined,
|
|
3634
|
-
__source: {
|
|
3635
|
-
fileName: _jsxFileName$Y,
|
|
3636
|
-
lineNumber: 132,
|
|
3637
|
-
columnNumber: 7
|
|
3624
|
+
}) => {
|
|
3625
|
+
console.log(variant);
|
|
3626
|
+
function generateVariant(params) {
|
|
3627
|
+
switch (params) {
|
|
3628
|
+
case 'warning':
|
|
3629
|
+
return 'primary';
|
|
3630
|
+
case 'pending':
|
|
3631
|
+
return 'primary';
|
|
3632
|
+
case 'failed':
|
|
3633
|
+
return 'failed';
|
|
3634
|
+
default:
|
|
3635
|
+
return 'success';
|
|
3636
|
+
}
|
|
3638
3637
|
}
|
|
3639
|
-
|
|
3638
|
+
return /*#__PURE__*/React__namespace.createElement(Context$2.Consumer, {
|
|
3639
|
+
__self: undefined,
|
|
3640
|
+
__source: {
|
|
3641
|
+
fileName: _jsxFileName$Y,
|
|
3642
|
+
lineNumber: 146,
|
|
3643
|
+
columnNumber: 5
|
|
3644
|
+
}
|
|
3645
|
+
}, value => /*#__PURE__*/React__namespace.createElement(Link, {
|
|
3646
|
+
css: Object.assign({
|
|
3647
|
+
marginInlineEnd: '$spacing-04'
|
|
3648
|
+
}, css),
|
|
3649
|
+
href: link,
|
|
3650
|
+
color: variant ? generateVariant(variant) : generateVariant(value.variant),
|
|
3651
|
+
__self: undefined,
|
|
3652
|
+
__source: {
|
|
3653
|
+
fileName: _jsxFileName$Y,
|
|
3654
|
+
lineNumber: 148,
|
|
3655
|
+
columnNumber: 9
|
|
3656
|
+
}
|
|
3657
|
+
}, children));
|
|
3658
|
+
};
|
|
3640
3659
|
BannerLink.propTypes = {
|
|
3641
3660
|
/**
|
|
3642
3661
|
The purpose of a clickable link, presented in url
|
|
@@ -3658,7 +3677,7 @@
|
|
|
3658
3677
|
__self: undefined,
|
|
3659
3678
|
__source: {
|
|
3660
3679
|
fileName: _jsxFileName$Y,
|
|
3661
|
-
lineNumber:
|
|
3680
|
+
lineNumber: 180,
|
|
3662
3681
|
columnNumber: 3
|
|
3663
3682
|
}
|
|
3664
3683
|
}, value => /*#__PURE__*/React__namespace.createElement(CloseButton$1, {
|
|
@@ -3670,38 +3689,57 @@
|
|
|
3670
3689
|
__self: undefined,
|
|
3671
3690
|
__source: {
|
|
3672
3691
|
fileName: _jsxFileName$Y,
|
|
3673
|
-
lineNumber:
|
|
3692
|
+
lineNumber: 182,
|
|
3674
3693
|
columnNumber: 7
|
|
3675
3694
|
}
|
|
3676
3695
|
}, /*#__PURE__*/React__namespace.createElement(icons.CloseOutline, {
|
|
3677
|
-
color: colors$
|
|
3696
|
+
color: colors$5.iconSecondary,
|
|
3678
3697
|
size: "16px",
|
|
3679
3698
|
__self: undefined,
|
|
3680
3699
|
__source: {
|
|
3681
3700
|
fileName: _jsxFileName$Y,
|
|
3682
|
-
lineNumber:
|
|
3701
|
+
lineNumber: 189,
|
|
3683
3702
|
columnNumber: 9
|
|
3684
3703
|
}
|
|
3685
3704
|
})));
|
|
3686
3705
|
const SingleTagBanner = props => {
|
|
3687
|
-
|
|
3706
|
+
var _props$icon;
|
|
3707
|
+
return /*#__PURE__*/React__namespace.createElement(Flex$1, {
|
|
3708
|
+
gap: 2,
|
|
3709
|
+
direction: "column",
|
|
3688
3710
|
__self: undefined,
|
|
3689
3711
|
__source: {
|
|
3690
3712
|
fileName: _jsxFileName$Y,
|
|
3691
|
-
lineNumber:
|
|
3713
|
+
lineNumber: 197,
|
|
3692
3714
|
columnNumber: 5
|
|
3693
3715
|
}
|
|
3694
3716
|
}, /*#__PURE__*/React__namespace.createElement(Flex$1, {
|
|
3695
|
-
gap: 3,
|
|
3696
|
-
direction: "column",
|
|
3697
|
-
align: "end",
|
|
3698
3717
|
__self: undefined,
|
|
3699
3718
|
__source: {
|
|
3700
3719
|
fileName: _jsxFileName$Y,
|
|
3701
|
-
lineNumber:
|
|
3720
|
+
lineNumber: 198,
|
|
3702
3721
|
columnNumber: 7
|
|
3703
3722
|
}
|
|
3704
3723
|
}, /*#__PURE__*/React__namespace.createElement(Flex$1, {
|
|
3724
|
+
gap: 3,
|
|
3725
|
+
direction: "row",
|
|
3726
|
+
__self: undefined,
|
|
3727
|
+
__source: {
|
|
3728
|
+
fileName: _jsxFileName$Y,
|
|
3729
|
+
lineNumber: 199,
|
|
3730
|
+
columnNumber: 9
|
|
3731
|
+
}
|
|
3732
|
+
}, (props === null || props === void 0 ? void 0 : props.icon) && /*#__PURE__*/React__namespace.createElement(Flex$1, {
|
|
3733
|
+
css: {
|
|
3734
|
+
marginTop: '-2px'
|
|
3735
|
+
},
|
|
3736
|
+
__self: undefined,
|
|
3737
|
+
__source: {
|
|
3738
|
+
fileName: _jsxFileName$Y,
|
|
3739
|
+
lineNumber: 200,
|
|
3740
|
+
columnNumber: 27
|
|
3741
|
+
}
|
|
3742
|
+
}, props === null || props === void 0 ? void 0 : (_props$icon = props.icon) === null || _props$icon === void 0 ? void 0 : _props$icon.call(props)), /*#__PURE__*/React__namespace.createElement(Flex$1, {
|
|
3705
3743
|
gap: 2,
|
|
3706
3744
|
direction: "column",
|
|
3707
3745
|
css: {
|
|
@@ -3711,33 +3749,24 @@
|
|
|
3711
3749
|
__self: undefined,
|
|
3712
3750
|
__source: {
|
|
3713
3751
|
fileName: _jsxFileName$Y,
|
|
3714
|
-
lineNumber:
|
|
3715
|
-
columnNumber:
|
|
3752
|
+
lineNumber: 201,
|
|
3753
|
+
columnNumber: 11
|
|
3716
3754
|
}
|
|
3717
3755
|
}, props.title && /*#__PURE__*/React__namespace.createElement(BannerTitle, {
|
|
3718
3756
|
__self: undefined,
|
|
3719
3757
|
__source: {
|
|
3720
3758
|
fileName: _jsxFileName$Y,
|
|
3721
|
-
lineNumber:
|
|
3722
|
-
columnNumber:
|
|
3759
|
+
lineNumber: 209,
|
|
3760
|
+
columnNumber: 29
|
|
3723
3761
|
}
|
|
3724
3762
|
}, props.title), props.description && /*#__PURE__*/React__namespace.createElement(BannerDescription, {
|
|
3725
3763
|
__self: undefined,
|
|
3726
3764
|
__source: {
|
|
3727
3765
|
fileName: _jsxFileName$Y,
|
|
3728
|
-
lineNumber:
|
|
3729
|
-
columnNumber:
|
|
3730
|
-
}
|
|
3731
|
-
}, props.description)), props.link && /*#__PURE__*/React__namespace.createElement(BannerLink, {
|
|
3732
|
-
link: props.link,
|
|
3733
|
-
variant: props.variant,
|
|
3734
|
-
__self: undefined,
|
|
3735
|
-
__source: {
|
|
3736
|
-
fileName: _jsxFileName$Y,
|
|
3737
|
-
lineNumber: 190,
|
|
3738
|
-
columnNumber: 11
|
|
3766
|
+
lineNumber: 210,
|
|
3767
|
+
columnNumber: 35
|
|
3739
3768
|
}
|
|
3740
|
-
}, props.
|
|
3769
|
+
}, props.description))), /*#__PURE__*/React__namespace.createElement(CloseButton$1, {
|
|
3741
3770
|
onClick: e => {
|
|
3742
3771
|
e.preventDefault();
|
|
3743
3772
|
e.stopPropagation();
|
|
@@ -3747,19 +3776,32 @@
|
|
|
3747
3776
|
__self: undefined,
|
|
3748
3777
|
__source: {
|
|
3749
3778
|
fileName: _jsxFileName$Y,
|
|
3750
|
-
lineNumber:
|
|
3751
|
-
columnNumber:
|
|
3779
|
+
lineNumber: 213,
|
|
3780
|
+
columnNumber: 9
|
|
3752
3781
|
}
|
|
3753
3782
|
}, /*#__PURE__*/React__namespace.createElement(icons.CloseOutline, {
|
|
3754
|
-
color: colors$
|
|
3783
|
+
color: colors$5.iconSecondary,
|
|
3755
3784
|
size: "16px",
|
|
3756
3785
|
__self: undefined,
|
|
3757
3786
|
__source: {
|
|
3758
3787
|
fileName: _jsxFileName$Y,
|
|
3759
|
-
lineNumber:
|
|
3788
|
+
lineNumber: 221,
|
|
3789
|
+
columnNumber: 11
|
|
3790
|
+
}
|
|
3791
|
+
}))), props.link && /*#__PURE__*/React__namespace.createElement(BannerLink, {
|
|
3792
|
+
css: {
|
|
3793
|
+
alignSelf: 'end',
|
|
3794
|
+
marginInlineEnd: 'unset'
|
|
3795
|
+
},
|
|
3796
|
+
link: props.link,
|
|
3797
|
+
variant: props.variant,
|
|
3798
|
+
__self: undefined,
|
|
3799
|
+
__source: {
|
|
3800
|
+
fileName: _jsxFileName$Y,
|
|
3801
|
+
lineNumber: 225,
|
|
3760
3802
|
columnNumber: 9
|
|
3761
3803
|
}
|
|
3762
|
-
}))
|
|
3804
|
+
}, props.linkText));
|
|
3763
3805
|
};
|
|
3764
3806
|
const Banner = _ref => {
|
|
3765
3807
|
let {
|
|
@@ -3771,7 +3813,8 @@
|
|
|
3771
3813
|
onClick,
|
|
3772
3814
|
onRemove,
|
|
3773
3815
|
children,
|
|
3774
|
-
bannerBlock
|
|
3816
|
+
bannerBlock,
|
|
3817
|
+
icon
|
|
3775
3818
|
} = _ref,
|
|
3776
3819
|
rest = _objectWithoutPropertiesLoose(_ref, _excluded$x);
|
|
3777
3820
|
return /*#__PURE__*/React__namespace.createElement(StyledBanner, _extends({
|
|
@@ -3783,7 +3826,7 @@
|
|
|
3783
3826
|
__self: undefined,
|
|
3784
3827
|
__source: {
|
|
3785
3828
|
fileName: _jsxFileName$Y,
|
|
3786
|
-
lineNumber:
|
|
3829
|
+
lineNumber: 247,
|
|
3787
3830
|
columnNumber: 5
|
|
3788
3831
|
}
|
|
3789
3832
|
}), children ? /*#__PURE__*/React__namespace.createElement(Flex$1, {
|
|
@@ -3800,7 +3843,7 @@
|
|
|
3800
3843
|
__self: undefined,
|
|
3801
3844
|
__source: {
|
|
3802
3845
|
fileName: _jsxFileName$Y,
|
|
3803
|
-
lineNumber:
|
|
3846
|
+
lineNumber: 249,
|
|
3804
3847
|
columnNumber: 9
|
|
3805
3848
|
}
|
|
3806
3849
|
}, /*#__PURE__*/React__namespace.createElement(Context$2.Provider, {
|
|
@@ -3811,13 +3854,14 @@
|
|
|
3811
3854
|
__self: undefined,
|
|
3812
3855
|
__source: {
|
|
3813
3856
|
fileName: _jsxFileName$Y,
|
|
3814
|
-
lineNumber:
|
|
3857
|
+
lineNumber: 256,
|
|
3815
3858
|
columnNumber: 11
|
|
3816
3859
|
}
|
|
3817
3860
|
}, children)) : /*#__PURE__*/React__namespace.createElement(SingleTagBanner, {
|
|
3818
3861
|
title: title,
|
|
3819
3862
|
description: description,
|
|
3820
3863
|
variant: variant,
|
|
3864
|
+
icon: icon,
|
|
3821
3865
|
link: link,
|
|
3822
3866
|
linkText: linkText,
|
|
3823
3867
|
onClick: onClick,
|
|
@@ -3825,7 +3869,7 @@
|
|
|
3825
3869
|
__self: undefined,
|
|
3826
3870
|
__source: {
|
|
3827
3871
|
fileName: _jsxFileName$Y,
|
|
3828
|
-
lineNumber:
|
|
3872
|
+
lineNumber: 259,
|
|
3829
3873
|
columnNumber: 9
|
|
3830
3874
|
}
|
|
3831
3875
|
}));
|
|
@@ -3854,6 +3898,10 @@
|
|
|
3854
3898
|
Text of button link to be displayed
|
|
3855
3899
|
*/
|
|
3856
3900
|
linkText: PropTypes__default["default"].string,
|
|
3901
|
+
/**
|
|
3902
|
+
Icon of banner to be displayed
|
|
3903
|
+
*/
|
|
3904
|
+
icon: PropTypes__default["default"].func,
|
|
3857
3905
|
/**
|
|
3858
3906
|
Clickable event handler
|
|
3859
3907
|
*/
|
|
@@ -7756,7 +7804,7 @@
|
|
|
7756
7804
|
}
|
|
7757
7805
|
}, /*#__PURE__*/React__default["default"].createElement(icons.CloseOutline, {
|
|
7758
7806
|
size: 16,
|
|
7759
|
-
color: colors$
|
|
7807
|
+
color: colors$5.iconSecondary,
|
|
7760
7808
|
style: {
|
|
7761
7809
|
verticalAlign: 'middle'
|
|
7762
7810
|
},
|
|
@@ -8289,6 +8337,9 @@
|
|
|
8289
8337
|
|
|
8290
8338
|
const _excluded$e = ["size", "onChange", "css", "disabled", "withDebounce", "defaultValue"];
|
|
8291
8339
|
var _jsxFileName$z = "/Users/apple/Documents/project/majoo/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
|
|
8340
|
+
const {
|
|
8341
|
+
colors: colors$4
|
|
8342
|
+
} = core.foundations;
|
|
8292
8343
|
const InputSearchbox = _ref => {
|
|
8293
8344
|
var _props$value;
|
|
8294
8345
|
let {
|
|
@@ -8328,7 +8379,7 @@
|
|
|
8328
8379
|
__self: undefined,
|
|
8329
8380
|
__source: {
|
|
8330
8381
|
fileName: _jsxFileName$z,
|
|
8331
|
-
lineNumber:
|
|
8382
|
+
lineNumber: 40,
|
|
8332
8383
|
columnNumber: 5
|
|
8333
8384
|
}
|
|
8334
8385
|
}, /*#__PURE__*/React__default["default"].createElement(InputLeftElement, {
|
|
@@ -8336,14 +8387,14 @@
|
|
|
8336
8387
|
__self: undefined,
|
|
8337
8388
|
__source: {
|
|
8338
8389
|
fileName: _jsxFileName$z,
|
|
8339
|
-
lineNumber:
|
|
8390
|
+
lineNumber: 41,
|
|
8340
8391
|
columnNumber: 35
|
|
8341
8392
|
}
|
|
8342
8393
|
}),
|
|
8343
8394
|
__self: undefined,
|
|
8344
8395
|
__source: {
|
|
8345
8396
|
fileName: _jsxFileName$z,
|
|
8346
|
-
lineNumber:
|
|
8397
|
+
lineNumber: 41,
|
|
8347
8398
|
columnNumber: 7
|
|
8348
8399
|
}
|
|
8349
8400
|
}), /*#__PURE__*/React__default["default"].createElement(InputText, _extends({
|
|
@@ -8358,30 +8409,31 @@
|
|
|
8358
8409
|
__self: undefined,
|
|
8359
8410
|
__source: {
|
|
8360
8411
|
fileName: _jsxFileName$z,
|
|
8361
|
-
lineNumber:
|
|
8412
|
+
lineNumber: 42,
|
|
8362
8413
|
columnNumber: 7
|
|
8363
8414
|
}
|
|
8364
8415
|
})), /*#__PURE__*/React__default["default"].createElement(InputRightElement, {
|
|
8365
8416
|
children: (inputValue === null || inputValue === void 0 ? void 0 : inputValue.length) > 0 ? /*#__PURE__*/React__default["default"].createElement(SvgCloseFilled, {
|
|
8417
|
+
color: colors$4.iconSecondary,
|
|
8366
8418
|
__self: undefined,
|
|
8367
8419
|
__source: {
|
|
8368
8420
|
fileName: _jsxFileName$z,
|
|
8369
|
-
lineNumber:
|
|
8421
|
+
lineNumber: 53,
|
|
8370
8422
|
columnNumber: 44
|
|
8371
8423
|
}
|
|
8372
8424
|
}) : /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8373
8425
|
__self: undefined,
|
|
8374
8426
|
__source: {
|
|
8375
8427
|
fileName: _jsxFileName$z,
|
|
8376
|
-
lineNumber:
|
|
8377
|
-
columnNumber:
|
|
8428
|
+
lineNumber: 53,
|
|
8429
|
+
columnNumber: 91
|
|
8378
8430
|
}
|
|
8379
8431
|
}),
|
|
8380
8432
|
onClick: handleClearButtonClick,
|
|
8381
8433
|
__self: undefined,
|
|
8382
8434
|
__source: {
|
|
8383
8435
|
fileName: _jsxFileName$z,
|
|
8384
|
-
lineNumber:
|
|
8436
|
+
lineNumber: 52,
|
|
8385
8437
|
columnNumber: 7
|
|
8386
8438
|
}
|
|
8387
8439
|
}));
|
|
@@ -9268,7 +9320,7 @@
|
|
|
9268
9320
|
readOnly: readOnly
|
|
9269
9321
|
}, {
|
|
9270
9322
|
children: jsxRuntime.jsx(icons.CaretDownOutline, {
|
|
9271
|
-
color: readOnly ? colors$
|
|
9323
|
+
color: readOnly ? colors$5.gray300 : iconColor
|
|
9272
9324
|
}, void 0)
|
|
9273
9325
|
}), void 0);
|
|
9274
9326
|
};
|
|
@@ -9480,7 +9532,7 @@
|
|
|
9480
9532
|
}, {
|
|
9481
9533
|
children: jsxRuntime.jsx(icons.CircleInfoOutline, {
|
|
9482
9534
|
size: "16px",
|
|
9483
|
-
color: colors$
|
|
9535
|
+
color: colors$5.iconDisable,
|
|
9484
9536
|
style: {
|
|
9485
9537
|
verticalAlign: 'text-bottom'
|
|
9486
9538
|
}
|
|
@@ -10415,7 +10467,7 @@
|
|
|
10415
10467
|
columnNumber: 11
|
|
10416
10468
|
}
|
|
10417
10469
|
}), /*#__PURE__*/React__default["default"].createElement(IconCaretDown, {
|
|
10418
|
-
color: disabled || readOnly ? colors$
|
|
10470
|
+
color: disabled || readOnly ? colors$5.iconDisable : colors$5.iconPrimary,
|
|
10419
10471
|
__self: undefined,
|
|
10420
10472
|
__source: {
|
|
10421
10473
|
fileName: _jsxFileName$w,
|
|
@@ -10514,7 +10566,7 @@
|
|
|
10514
10566
|
columnNumber: 19
|
|
10515
10567
|
}
|
|
10516
10568
|
}, showAllTags ? /*#__PURE__*/React__default["default"].createElement(icons.ChevronUpOutline, {
|
|
10517
|
-
color: colors$
|
|
10569
|
+
color: colors$5.iconSecondary,
|
|
10518
10570
|
__self: undefined,
|
|
10519
10571
|
__source: {
|
|
10520
10572
|
fileName: _jsxFileName$w,
|
|
@@ -10522,7 +10574,7 @@
|
|
|
10522
10574
|
columnNumber: 23
|
|
10523
10575
|
}
|
|
10524
10576
|
}) : /*#__PURE__*/React__default["default"].createElement(icons.ChevronDownOutline, {
|
|
10525
|
-
color: colors$
|
|
10577
|
+
color: colors$5.iconSecondary,
|
|
10526
10578
|
__self: undefined,
|
|
10527
10579
|
__source: {
|
|
10528
10580
|
fileName: _jsxFileName$w,
|
|
@@ -10624,7 +10676,7 @@
|
|
|
10624
10676
|
columnNumber: 21
|
|
10625
10677
|
}
|
|
10626
10678
|
}, item.isDisabled ? /*#__PURE__*/React__default["default"].createElement(CheckOutline, {
|
|
10627
|
-
color: colors$
|
|
10679
|
+
color: colors$5.iconDisable,
|
|
10628
10680
|
__self: undefined,
|
|
10629
10681
|
__source: {
|
|
10630
10682
|
fileName: _jsxFileName$w,
|
|
@@ -10632,7 +10684,7 @@
|
|
|
10632
10684
|
columnNumber: 25
|
|
10633
10685
|
}
|
|
10634
10686
|
}) : selectedValue.includes(item.id) && (item.isDisabled === false || item.isDisabled === undefined) && /*#__PURE__*/React__default["default"].createElement(CheckOutline, {
|
|
10635
|
-
color: colors$
|
|
10687
|
+
color: colors$5.iconGreen,
|
|
10636
10688
|
__self: undefined,
|
|
10637
10689
|
__source: {
|
|
10638
10690
|
fileName: _jsxFileName$w,
|
|
@@ -10695,7 +10747,7 @@
|
|
|
10695
10747
|
}
|
|
10696
10748
|
}, /*#__PURE__*/React__default["default"].createElement(icons.CircleInfoOutline, {
|
|
10697
10749
|
size: "16px",
|
|
10698
|
-
color: colors$
|
|
10750
|
+
color: colors$5.iconDisable,
|
|
10699
10751
|
style: {
|
|
10700
10752
|
verticalAlign: 'text-bottom'
|
|
10701
10753
|
},
|
|
@@ -11025,7 +11077,7 @@
|
|
|
11025
11077
|
columnNumber: 9
|
|
11026
11078
|
}
|
|
11027
11079
|
}, /*#__PURE__*/React__default["default"].createElement(icons.CirclePlusOutline, {
|
|
11028
|
-
color: colors$
|
|
11080
|
+
color: colors$5.iconGreen,
|
|
11029
11081
|
__self: this,
|
|
11030
11082
|
__source: {
|
|
11031
11083
|
fileName: _jsxFileName$u,
|
|
@@ -11307,7 +11359,7 @@
|
|
|
11307
11359
|
}, {
|
|
11308
11360
|
children: jsxRuntime.jsx(icons.SortingOutline, {
|
|
11309
11361
|
size: 16,
|
|
11310
|
-
color: colors$
|
|
11362
|
+
color: colors$5.iconSecondary
|
|
11311
11363
|
}, void 0)
|
|
11312
11364
|
}), void 0)]
|
|
11313
11365
|
}), void 0), isLoading && jsxRuntime.jsx(Flex$1, __assign({
|
|
@@ -11817,7 +11869,7 @@
|
|
|
11817
11869
|
}, {
|
|
11818
11870
|
children: jsxRuntime.jsx(icons.MinusOutline, {
|
|
11819
11871
|
size: 24,
|
|
11820
|
-
color: disabled || disabledDecrement ? colors$
|
|
11872
|
+
color: disabled || disabledDecrement ? colors$5.iconDisable : colors$5.primary500
|
|
11821
11873
|
}, void 0)
|
|
11822
11874
|
}), void 0), jsxRuntime.jsx(Input$4, {
|
|
11823
11875
|
ref: ref,
|
|
@@ -11840,7 +11892,7 @@
|
|
|
11840
11892
|
}, {
|
|
11841
11893
|
children: jsxRuntime.jsx(icons.PlusOutline, {
|
|
11842
11894
|
size: 24,
|
|
11843
|
-
color: disabled || disabledIncrement ? colors$
|
|
11895
|
+
color: disabled || disabledIncrement ? colors$5.iconDisable : colors$5.primary500
|
|
11844
11896
|
}, void 0)
|
|
11845
11897
|
}), void 0)]
|
|
11846
11898
|
}), void 0);
|
|
@@ -12578,7 +12630,7 @@
|
|
|
12578
12630
|
columnNumber: 11
|
|
12579
12631
|
}
|
|
12580
12632
|
}, /*#__PURE__*/React__default["default"].createElement(icons.ChevronLgLeftOutline, {
|
|
12581
|
-
color: colors$
|
|
12633
|
+
color: colors$5.iconGreen,
|
|
12582
12634
|
__self: undefined,
|
|
12583
12635
|
__source: {
|
|
12584
12636
|
fileName: _jsxFileName$r,
|
|
@@ -12607,7 +12659,7 @@
|
|
|
12607
12659
|
columnNumber: 11
|
|
12608
12660
|
}
|
|
12609
12661
|
}, /*#__PURE__*/React__default["default"].createElement(icons.ChevronLgRightOutline, {
|
|
12610
|
-
color: colors$
|
|
12662
|
+
color: colors$5.iconGreen,
|
|
12611
12663
|
__self: undefined,
|
|
12612
12664
|
__source: {
|
|
12613
12665
|
fileName: _jsxFileName$r,
|
|
@@ -12667,7 +12719,7 @@
|
|
|
12667
12719
|
columnNumber: 9
|
|
12668
12720
|
}
|
|
12669
12721
|
}, icon && /*#__PURE__*/React__default["default"].cloneElement(icon, {
|
|
12670
|
-
color: activeTabs === value || isIconHovered ? colors$
|
|
12722
|
+
color: activeTabs === value || isIconHovered ? colors$5.iconGreen : colors$5.iconDisable
|
|
12671
12723
|
}), (!icon || activeTabs === value) && children)));
|
|
12672
12724
|
};
|
|
12673
12725
|
const TabsContent$1 = _ref4 => {
|
|
@@ -12939,7 +12991,7 @@
|
|
|
12939
12991
|
columnNumber: 15
|
|
12940
12992
|
}
|
|
12941
12993
|
}, /*#__PURE__*/React__default["default"].createElement(icons.ChevronLeftOutline, {
|
|
12942
|
-
color: colors$
|
|
12994
|
+
color: colors$5.iconGreen,
|
|
12943
12995
|
__self: this,
|
|
12944
12996
|
__source: {
|
|
12945
12997
|
fileName: _jsxFileName$q,
|
|
@@ -12969,7 +13021,7 @@
|
|
|
12969
13021
|
columnNumber: 15
|
|
12970
13022
|
}
|
|
12971
13023
|
}, /*#__PURE__*/React__default["default"].createElement(icons.ChevronRightOutline, {
|
|
12972
|
-
color: colors$
|
|
13024
|
+
color: colors$5.iconGreen,
|
|
12973
13025
|
__self: this,
|
|
12974
13026
|
__source: {
|
|
12975
13027
|
fileName: _jsxFileName$q,
|
|
@@ -16575,6 +16627,8 @@
|
|
|
16575
16627
|
defaultValue,
|
|
16576
16628
|
value,
|
|
16577
16629
|
disabled,
|
|
16630
|
+
disabledHour,
|
|
16631
|
+
disabledMinute,
|
|
16578
16632
|
minDate,
|
|
16579
16633
|
maxDate
|
|
16580
16634
|
}) => {
|
|
@@ -16590,11 +16644,11 @@
|
|
|
16590
16644
|
function handleUp(type) {
|
|
16591
16645
|
if (!disabled) {
|
|
16592
16646
|
if (type === 'hour') {
|
|
16593
|
-
if (!maxDate || moment__default["default"](date).add(1, 'hours') <= moment__default["default"](maxDate)) {
|
|
16647
|
+
if ((!maxDate || moment__default["default"](date).add(1, 'hours') <= moment__default["default"](maxDate)) && !disabledHour) {
|
|
16594
16648
|
setNewDate(moment__default["default"](date).add(1, 'hours'));
|
|
16595
16649
|
}
|
|
16596
16650
|
} else {
|
|
16597
|
-
if (!maxDate || moment__default["default"](date).add(1, 'minutes') <= moment__default["default"](maxDate)) {
|
|
16651
|
+
if ((!maxDate || moment__default["default"](date).add(1, 'minutes') <= moment__default["default"](maxDate)) && !disabledMinute) {
|
|
16598
16652
|
setNewDate(moment__default["default"](date).add(1, 'minutes'));
|
|
16599
16653
|
}
|
|
16600
16654
|
}
|
|
@@ -16603,11 +16657,11 @@
|
|
|
16603
16657
|
function handleDown(type) {
|
|
16604
16658
|
if (!disabled) {
|
|
16605
16659
|
if (type === 'hour') {
|
|
16606
|
-
if (!minDate || moment__default["default"](date).subtract(1, 'hours') >= moment__default["default"](minDate)) {
|
|
16660
|
+
if ((!minDate || moment__default["default"](date).subtract(1, 'hours') >= moment__default["default"](minDate)) && !disabledHour) {
|
|
16607
16661
|
setNewDate(moment__default["default"](date).subtract(1, 'hours'));
|
|
16608
16662
|
}
|
|
16609
16663
|
} else {
|
|
16610
|
-
if (!minDate || moment__default["default"](date).subtract(1, 'minutes') >= moment__default["default"](minDate)) {
|
|
16664
|
+
if ((!minDate || moment__default["default"](date).subtract(1, 'minutes') >= moment__default["default"](minDate)) && !disabledMinute) {
|
|
16611
16665
|
setNewDate(moment__default["default"](date).subtract(1, 'minutes'));
|
|
16612
16666
|
}
|
|
16613
16667
|
}
|
|
@@ -16624,7 +16678,7 @@
|
|
|
16624
16678
|
__self: undefined,
|
|
16625
16679
|
__source: {
|
|
16626
16680
|
fileName: _jsxFileName$m,
|
|
16627
|
-
lineNumber:
|
|
16681
|
+
lineNumber: 169,
|
|
16628
16682
|
columnNumber: 5
|
|
16629
16683
|
}
|
|
16630
16684
|
}, /*#__PURE__*/React__default["default"].createElement(Flex$1, {
|
|
@@ -16633,27 +16687,27 @@
|
|
|
16633
16687
|
__self: undefined,
|
|
16634
16688
|
__source: {
|
|
16635
16689
|
fileName: _jsxFileName$m,
|
|
16636
|
-
lineNumber:
|
|
16690
|
+
lineNumber: 175,
|
|
16637
16691
|
columnNumber: 7
|
|
16638
16692
|
}
|
|
16639
16693
|
}, /*#__PURE__*/React__default["default"].createElement(IconStateFull$2, {
|
|
16640
16694
|
type: "up",
|
|
16641
|
-
disabled: disabled,
|
|
16695
|
+
disabled: disabled || disabledHour,
|
|
16642
16696
|
onClick: () => handleUp('hour'),
|
|
16643
16697
|
__self: undefined,
|
|
16644
16698
|
__source: {
|
|
16645
16699
|
fileName: _jsxFileName$m,
|
|
16646
|
-
lineNumber:
|
|
16700
|
+
lineNumber: 176,
|
|
16647
16701
|
columnNumber: 9
|
|
16648
16702
|
}
|
|
16649
16703
|
}), /*#__PURE__*/React__default["default"].createElement(IconStateFull$2, {
|
|
16650
16704
|
type: "up",
|
|
16651
|
-
disabled: disabled,
|
|
16705
|
+
disabled: disabled || disabledMinute,
|
|
16652
16706
|
onClick: () => handleUp('minutes'),
|
|
16653
16707
|
__self: undefined,
|
|
16654
16708
|
__source: {
|
|
16655
16709
|
fileName: _jsxFileName$m,
|
|
16656
|
-
lineNumber:
|
|
16710
|
+
lineNumber: 177,
|
|
16657
16711
|
columnNumber: 9
|
|
16658
16712
|
}
|
|
16659
16713
|
})), /*#__PURE__*/React__default["default"].createElement(Input$3, {
|
|
@@ -16664,7 +16718,7 @@
|
|
|
16664
16718
|
__self: undefined,
|
|
16665
16719
|
__source: {
|
|
16666
16720
|
fileName: _jsxFileName$m,
|
|
16667
|
-
lineNumber:
|
|
16721
|
+
lineNumber: 179,
|
|
16668
16722
|
columnNumber: 7
|
|
16669
16723
|
}
|
|
16670
16724
|
}), /*#__PURE__*/React__default["default"].createElement(Time, {
|
|
@@ -16672,7 +16726,7 @@
|
|
|
16672
16726
|
__self: undefined,
|
|
16673
16727
|
__source: {
|
|
16674
16728
|
fileName: _jsxFileName$m,
|
|
16675
|
-
lineNumber:
|
|
16729
|
+
lineNumber: 180,
|
|
16676
16730
|
columnNumber: 7
|
|
16677
16731
|
}
|
|
16678
16732
|
}, moment__default["default"](date).format(format)), /*#__PURE__*/React__default["default"].createElement(Flex$1, {
|
|
@@ -16681,27 +16735,27 @@
|
|
|
16681
16735
|
__self: undefined,
|
|
16682
16736
|
__source: {
|
|
16683
16737
|
fileName: _jsxFileName$m,
|
|
16684
|
-
lineNumber:
|
|
16738
|
+
lineNumber: 181,
|
|
16685
16739
|
columnNumber: 7
|
|
16686
16740
|
}
|
|
16687
16741
|
}, /*#__PURE__*/React__default["default"].createElement(IconStateFull$2, {
|
|
16688
16742
|
type: "down",
|
|
16689
|
-
disabled: disabled,
|
|
16743
|
+
disabled: disabled || disabledHour,
|
|
16690
16744
|
onClick: () => handleDown('hour'),
|
|
16691
16745
|
__self: undefined,
|
|
16692
16746
|
__source: {
|
|
16693
16747
|
fileName: _jsxFileName$m,
|
|
16694
|
-
lineNumber:
|
|
16748
|
+
lineNumber: 182,
|
|
16695
16749
|
columnNumber: 9
|
|
16696
16750
|
}
|
|
16697
16751
|
}), /*#__PURE__*/React__default["default"].createElement(IconStateFull$2, {
|
|
16698
16752
|
type: "down",
|
|
16699
|
-
disabled: disabled,
|
|
16753
|
+
disabled: disabled || disabledMinute,
|
|
16700
16754
|
onClick: () => handleDown('minutes'),
|
|
16701
16755
|
__self: undefined,
|
|
16702
16756
|
__source: {
|
|
16703
16757
|
fileName: _jsxFileName$m,
|
|
16704
|
-
lineNumber:
|
|
16758
|
+
lineNumber: 183,
|
|
16705
16759
|
columnNumber: 9
|
|
16706
16760
|
}
|
|
16707
16761
|
})));
|
|
@@ -16723,6 +16777,18 @@
|
|
|
16723
16777
|
Time picker value, support moment format.
|
|
16724
16778
|
*/
|
|
16725
16779
|
value: PropTypes__default["default"].instanceOf(Date),
|
|
16780
|
+
/**
|
|
16781
|
+
Disabled state.
|
|
16782
|
+
*/
|
|
16783
|
+
disabled: PropTypes__default["default"].bool,
|
|
16784
|
+
/**
|
|
16785
|
+
Disabled hour state.
|
|
16786
|
+
*/
|
|
16787
|
+
disabledHour: PropTypes__default["default"].bool,
|
|
16788
|
+
/**
|
|
16789
|
+
Disabled minute state.
|
|
16790
|
+
*/
|
|
16791
|
+
disabledMinute: PropTypes__default["default"].bool,
|
|
16726
16792
|
/**
|
|
16727
16793
|
Specify the minimum date.
|
|
16728
16794
|
*/
|
|
@@ -16738,6 +16804,8 @@
|
|
|
16738
16804
|
defaultValue,
|
|
16739
16805
|
value,
|
|
16740
16806
|
disabled,
|
|
16807
|
+
disabledHour,
|
|
16808
|
+
disabledMinute,
|
|
16741
16809
|
css,
|
|
16742
16810
|
minDate,
|
|
16743
16811
|
maxDate
|
|
@@ -16752,12 +16820,14 @@
|
|
|
16752
16820
|
__self: undefined,
|
|
16753
16821
|
__source: {
|
|
16754
16822
|
fileName: _jsxFileName$m,
|
|
16755
|
-
lineNumber:
|
|
16823
|
+
lineNumber: 241,
|
|
16756
16824
|
columnNumber: 5
|
|
16757
16825
|
}
|
|
16758
16826
|
}, /*#__PURE__*/React__default["default"].createElement(NativeTimePicker, {
|
|
16759
16827
|
size: size,
|
|
16760
16828
|
disabled: disabled,
|
|
16829
|
+
disabledHour: disabledHour,
|
|
16830
|
+
disabledMinute: disabledMinute,
|
|
16761
16831
|
onChange: onChange,
|
|
16762
16832
|
defaultValue: defaultValue,
|
|
16763
16833
|
value: value,
|
|
@@ -16766,7 +16836,7 @@
|
|
|
16766
16836
|
__self: undefined,
|
|
16767
16837
|
__source: {
|
|
16768
16838
|
fileName: _jsxFileName$m,
|
|
16769
|
-
lineNumber:
|
|
16839
|
+
lineNumber: 242,
|
|
16770
16840
|
columnNumber: 7
|
|
16771
16841
|
}
|
|
16772
16842
|
}));
|
|
@@ -16797,6 +16867,14 @@
|
|
|
16797
16867
|
Disabled state.
|
|
16798
16868
|
*/
|
|
16799
16869
|
disabled: PropTypes__default["default"].bool,
|
|
16870
|
+
/**
|
|
16871
|
+
Disabled hour state.
|
|
16872
|
+
*/
|
|
16873
|
+
disabledHour: PropTypes__default["default"].bool,
|
|
16874
|
+
/**
|
|
16875
|
+
Disabled minute state.
|
|
16876
|
+
*/
|
|
16877
|
+
disabledMinute: PropTypes__default["default"].bool,
|
|
16800
16878
|
/**
|
|
16801
16879
|
Specify the minimum date.
|
|
16802
16880
|
*/
|
|
@@ -16822,6 +16900,8 @@
|
|
|
16822
16900
|
placement,
|
|
16823
16901
|
css,
|
|
16824
16902
|
disabled,
|
|
16903
|
+
disabledHour,
|
|
16904
|
+
disabledMinute,
|
|
16825
16905
|
readOnly,
|
|
16826
16906
|
minDate,
|
|
16827
16907
|
maxDate,
|
|
@@ -16842,23 +16922,23 @@
|
|
|
16842
16922
|
__self: this,
|
|
16843
16923
|
__source: {
|
|
16844
16924
|
fileName: _jsxFileName$l,
|
|
16845
|
-
lineNumber:
|
|
16925
|
+
lineNumber: 41,
|
|
16846
16926
|
columnNumber: 5
|
|
16847
16927
|
}
|
|
16848
16928
|
}, /*#__PURE__*/React__default["default"].createElement(InputLeftElement, {
|
|
16849
16929
|
children: /*#__PURE__*/React__default["default"].createElement(icons.TimeOutline, {
|
|
16850
|
-
color: disabled ? colors$
|
|
16930
|
+
color: disabled ? colors$5.iconDisable : colors$5.iconPrimary,
|
|
16851
16931
|
__self: this,
|
|
16852
16932
|
__source: {
|
|
16853
16933
|
fileName: _jsxFileName$l,
|
|
16854
|
-
lineNumber:
|
|
16934
|
+
lineNumber: 42,
|
|
16855
16935
|
columnNumber: 35
|
|
16856
16936
|
}
|
|
16857
16937
|
}),
|
|
16858
16938
|
__self: this,
|
|
16859
16939
|
__source: {
|
|
16860
16940
|
fileName: _jsxFileName$l,
|
|
16861
|
-
lineNumber:
|
|
16941
|
+
lineNumber: 42,
|
|
16862
16942
|
columnNumber: 7
|
|
16863
16943
|
}
|
|
16864
16944
|
}), /*#__PURE__*/React__default["default"].createElement(InputText, {
|
|
@@ -16873,13 +16953,15 @@
|
|
|
16873
16953
|
__self: this,
|
|
16874
16954
|
__source: {
|
|
16875
16955
|
fileName: _jsxFileName$l,
|
|
16876
|
-
lineNumber:
|
|
16956
|
+
lineNumber: 43,
|
|
16877
16957
|
columnNumber: 7
|
|
16878
16958
|
}
|
|
16879
16959
|
}));
|
|
16880
16960
|
const renderTimePicker = () => /*#__PURE__*/React__default["default"].createElement(TimePicker, {
|
|
16881
16961
|
size: size,
|
|
16882
16962
|
disabled: disabled,
|
|
16963
|
+
disabledHour: disabledHour,
|
|
16964
|
+
disabledMinute: disabledMinute,
|
|
16883
16965
|
defaultValue: defaultValue,
|
|
16884
16966
|
value: value,
|
|
16885
16967
|
onChange: onChange,
|
|
@@ -16888,7 +16970,7 @@
|
|
|
16888
16970
|
__self: this,
|
|
16889
16971
|
__source: {
|
|
16890
16972
|
fileName: _jsxFileName$l,
|
|
16891
|
-
lineNumber:
|
|
16973
|
+
lineNumber: 56,
|
|
16892
16974
|
columnNumber: 5
|
|
16893
16975
|
}
|
|
16894
16976
|
});
|
|
@@ -16899,7 +16981,7 @@
|
|
|
16899
16981
|
__self: this,
|
|
16900
16982
|
__source: {
|
|
16901
16983
|
fileName: _jsxFileName$l,
|
|
16902
|
-
lineNumber:
|
|
16984
|
+
lineNumber: 70,
|
|
16903
16985
|
columnNumber: 5
|
|
16904
16986
|
}
|
|
16905
16987
|
}, disabled || readOnly ? /*#__PURE__*/React__default["default"].createElement(Box, {
|
|
@@ -16907,14 +16989,14 @@
|
|
|
16907
16989
|
__self: this,
|
|
16908
16990
|
__source: {
|
|
16909
16991
|
fileName: _jsxFileName$l,
|
|
16910
|
-
lineNumber:
|
|
16992
|
+
lineNumber: 72,
|
|
16911
16993
|
columnNumber: 9
|
|
16912
16994
|
}
|
|
16913
16995
|
}, renderInputGroup()) : /*#__PURE__*/React__default["default"].createElement(PopoverTrigger, {
|
|
16914
16996
|
__self: this,
|
|
16915
16997
|
__source: {
|
|
16916
16998
|
fileName: _jsxFileName$l,
|
|
16917
|
-
lineNumber:
|
|
16999
|
+
lineNumber: 74,
|
|
16918
17000
|
columnNumber: 9
|
|
16919
17001
|
}
|
|
16920
17002
|
}, /*#__PURE__*/React__default["default"].createElement(Box, {
|
|
@@ -16922,14 +17004,14 @@
|
|
|
16922
17004
|
__self: this,
|
|
16923
17005
|
__source: {
|
|
16924
17006
|
fileName: _jsxFileName$l,
|
|
16925
|
-
lineNumber:
|
|
17007
|
+
lineNumber: 75,
|
|
16926
17008
|
columnNumber: 11
|
|
16927
17009
|
}
|
|
16928
17010
|
}, renderInputGroup())), /*#__PURE__*/React__default["default"].createElement(PopoverContent, {
|
|
16929
17011
|
__self: this,
|
|
16930
17012
|
__source: {
|
|
16931
17013
|
fileName: _jsxFileName$l,
|
|
16932
|
-
lineNumber:
|
|
17014
|
+
lineNumber: 78,
|
|
16933
17015
|
columnNumber: 7
|
|
16934
17016
|
}
|
|
16935
17017
|
}, renderTimePicker()));
|
|
@@ -16947,6 +17029,14 @@
|
|
|
16947
17029
|
Disabled state.
|
|
16948
17030
|
*/
|
|
16949
17031
|
disabled: PropTypes__default["default"].bool,
|
|
17032
|
+
/**
|
|
17033
|
+
Disabled hour state.
|
|
17034
|
+
*/
|
|
17035
|
+
disabledHour: PropTypes__default["default"].bool,
|
|
17036
|
+
/**
|
|
17037
|
+
Disabled minute state.
|
|
17038
|
+
*/
|
|
17039
|
+
disabledMinute: PropTypes__default["default"].bool,
|
|
16950
17040
|
/**
|
|
16951
17041
|
ReadOnly state.
|
|
16952
17042
|
*/
|
|
@@ -18111,7 +18201,7 @@
|
|
|
18111
18201
|
columnNumber: 15
|
|
18112
18202
|
}
|
|
18113
18203
|
}, /*#__PURE__*/React__default["default"].createElement(icons.ArrowLeftOutline, {
|
|
18114
|
-
color: currentPage === 1 ? colors$
|
|
18204
|
+
color: currentPage === 1 ? colors$5.iconDisable : colors$5.iconPrimary,
|
|
18115
18205
|
__self: undefined,
|
|
18116
18206
|
__source: {
|
|
18117
18207
|
fileName: _jsxFileName$k,
|
|
@@ -18164,7 +18254,7 @@
|
|
|
18164
18254
|
columnNumber: 15
|
|
18165
18255
|
}
|
|
18166
18256
|
}, /*#__PURE__*/React__default["default"].createElement(icons.ArrowRightOutline, {
|
|
18167
|
-
color: currentPage === totalPages ? colors$
|
|
18257
|
+
color: currentPage === totalPages ? colors$5.iconDisable : colors$5.iconPrimary,
|
|
18168
18258
|
__self: undefined,
|
|
18169
18259
|
__source: {
|
|
18170
18260
|
fileName: _jsxFileName$k,
|
|
@@ -18319,7 +18409,7 @@
|
|
|
18319
18409
|
columnNumber: 13
|
|
18320
18410
|
}
|
|
18321
18411
|
}, selectedLimit.toString()), /*#__PURE__*/React__default["default"].createElement(icons.ChevronDownOutline, {
|
|
18322
|
-
color: colors$
|
|
18412
|
+
color: colors$5.gray400,
|
|
18323
18413
|
__self: this,
|
|
18324
18414
|
__source: {
|
|
18325
18415
|
fileName: _jsxFileName$j,
|
|
@@ -18557,23 +18647,23 @@
|
|
|
18557
18647
|
userSelect: 'none',
|
|
18558
18648
|
color: '$textPrimary',
|
|
18559
18649
|
'&[data-disabled]': {
|
|
18560
|
-
color: colors$
|
|
18650
|
+
color: colors$5.gray400,
|
|
18561
18651
|
pointerEvents: 'none'
|
|
18562
18652
|
},
|
|
18563
18653
|
'&:hover': {
|
|
18564
18654
|
cursor: 'pointer',
|
|
18565
|
-
backgroundColor: colors$
|
|
18655
|
+
backgroundColor: colors$5.gray100
|
|
18566
18656
|
},
|
|
18567
18657
|
'&:active': {
|
|
18568
|
-
backgroundColor: colors$
|
|
18658
|
+
backgroundColor: colors$5.gray150
|
|
18569
18659
|
},
|
|
18570
18660
|
'&:focus': {
|
|
18571
|
-
backgroundColor: colors$
|
|
18661
|
+
backgroundColor: colors$5.gray100
|
|
18572
18662
|
}
|
|
18573
18663
|
});
|
|
18574
18664
|
var ContextMenuSeparator = styled('div', {
|
|
18575
18665
|
height: 1,
|
|
18576
|
-
backgroundColor: colors$
|
|
18666
|
+
backgroundColor: colors$5.gray150,
|
|
18577
18667
|
margin: 5
|
|
18578
18668
|
});
|
|
18579
18669
|
|
|
@@ -18821,7 +18911,7 @@
|
|
|
18821
18911
|
justify: "between",
|
|
18822
18912
|
gap: 5,
|
|
18823
18913
|
css: {
|
|
18824
|
-
backgroundColor: colors$
|
|
18914
|
+
backgroundColor: colors$5.bgGray,
|
|
18825
18915
|
padding: "$spacing-04 $spacing-05 ".concat('selection' in row.values ? '$spacing-04 $spacing-07' : ''),
|
|
18826
18916
|
borderBottom: '1pt solid $bgBorder',
|
|
18827
18917
|
alignItems: cell.column.accessor ? getAlign(cellAlign) : 'center'
|
|
@@ -18844,7 +18934,7 @@
|
|
|
18844
18934
|
gap: 3,
|
|
18845
18935
|
css: {
|
|
18846
18936
|
height: '40px',
|
|
18847
|
-
backgroundColor: colors$
|
|
18937
|
+
backgroundColor: colors$5.bgGray,
|
|
18848
18938
|
paddingRight: '$spacing-04'
|
|
18849
18939
|
}
|
|
18850
18940
|
}, {
|
|
@@ -19667,7 +19757,7 @@
|
|
|
19667
19757
|
children: [leftAddOnCells.map(function (_, index) {
|
|
19668
19758
|
return jsxRuntime.jsx("td", {
|
|
19669
19759
|
style: {
|
|
19670
|
-
backgroundColor: colors$
|
|
19760
|
+
backgroundColor: colors$5.bgGray
|
|
19671
19761
|
}
|
|
19672
19762
|
}, index);
|
|
19673
19763
|
}), jsxRuntime.jsxs(React__namespace.Fragment, {
|
|
@@ -20798,7 +20888,7 @@
|
|
|
20798
20888
|
});
|
|
20799
20889
|
const StyledOverlay = styled(ADialog__namespace.Overlay, {
|
|
20800
20890
|
zIndex: 1,
|
|
20801
|
-
backgroundColor: colors$
|
|
20891
|
+
backgroundColor: colors$5.bgDimmer,
|
|
20802
20892
|
position: 'fixed',
|
|
20803
20893
|
inset: 0,
|
|
20804
20894
|
'@media (prefers-reduced-motion: no-preference)': {
|
|
@@ -20831,14 +20921,14 @@
|
|
|
20831
20921
|
display: 'flex',
|
|
20832
20922
|
flexDirection: 'row',
|
|
20833
20923
|
justifyContent: 'space-between',
|
|
20834
|
-
color: colors$
|
|
20924
|
+
color: colors$5.gray900,
|
|
20835
20925
|
fontSize: 17,
|
|
20836
20926
|
fontWeight: 500
|
|
20837
20927
|
});
|
|
20838
20928
|
const StyledDescription$1 = styled(ADialog__namespace.Description, {
|
|
20839
20929
|
mx: 24,
|
|
20840
20930
|
my: 20,
|
|
20841
|
-
color: colors$
|
|
20931
|
+
color: colors$5.gray900,
|
|
20842
20932
|
fontSize: 15,
|
|
20843
20933
|
lineHeight: 1.5
|
|
20844
20934
|
});
|
|
@@ -21463,17 +21553,17 @@
|
|
|
21463
21553
|
position: 'relative',
|
|
21464
21554
|
userSelect: 'none',
|
|
21465
21555
|
'&[data-disabled]': {
|
|
21466
|
-
color: colors$
|
|
21556
|
+
color: colors$5.gray400,
|
|
21467
21557
|
pointerEvents: 'none'
|
|
21468
21558
|
},
|
|
21469
21559
|
'&:hover': {
|
|
21470
21560
|
cursor: 'pointer'
|
|
21471
21561
|
},
|
|
21472
21562
|
'&:active': {
|
|
21473
|
-
backgroundColor: colors$
|
|
21563
|
+
backgroundColor: colors$5.gray150
|
|
21474
21564
|
},
|
|
21475
21565
|
'&:focus': {
|
|
21476
|
-
backgroundColor: colors$
|
|
21566
|
+
backgroundColor: colors$5.gray100
|
|
21477
21567
|
}
|
|
21478
21568
|
};
|
|
21479
21569
|
const StyledItem = styled(DropdownMenuPrimitive__namespace.Item, Object.assign({}, itemStyles));
|
|
@@ -21490,11 +21580,11 @@
|
|
|
21490
21580
|
padding: '8px 0',
|
|
21491
21581
|
fontSize: 12,
|
|
21492
21582
|
lineHeight: '25px',
|
|
21493
|
-
color: colors$
|
|
21583
|
+
color: colors$5.gray700
|
|
21494
21584
|
});
|
|
21495
21585
|
const StyledSeparator = styled(DropdownMenuPrimitive__namespace.Separator, {
|
|
21496
21586
|
height: 1,
|
|
21497
|
-
backgroundColor: colors$
|
|
21587
|
+
backgroundColor: colors$5.gray150,
|
|
21498
21588
|
margin: 5
|
|
21499
21589
|
});
|
|
21500
21590
|
const StyledItemIndicator = styled(DropdownMenuPrimitive__namespace.ItemIndicator, {
|
|
@@ -21591,7 +21681,7 @@
|
|
|
21591
21681
|
color: 'white'
|
|
21592
21682
|
},
|
|
21593
21683
|
'[data-disabled] &': {
|
|
21594
|
-
color: colors$
|
|
21684
|
+
color: colors$5.gray400
|
|
21595
21685
|
}
|
|
21596
21686
|
});
|
|
21597
21687
|
const StyledDropdown = styled(ButtonPrimitive, {
|
|
@@ -25375,7 +25465,7 @@
|
|
|
25375
25465
|
buttonType: "secondary"
|
|
25376
25466
|
}, {
|
|
25377
25467
|
children: jsxRuntime.jsx(icons.ChevronLeftOutline, {
|
|
25378
|
-
color: colors$
|
|
25468
|
+
color: colors$5.btnPrimary
|
|
25379
25469
|
}, void 0)
|
|
25380
25470
|
}), void 0), jsxRuntime.jsxs(Flex$1, __assign({
|
|
25381
25471
|
align: "center",
|
|
@@ -25435,7 +25525,7 @@
|
|
|
25435
25525
|
buttonType: "secondary"
|
|
25436
25526
|
}, {
|
|
25437
25527
|
children: jsxRuntime.jsx(icons.ChevronRightOutline, {
|
|
25438
|
-
color: colors$
|
|
25528
|
+
color: colors$5.btnPrimary
|
|
25439
25529
|
}, void 0)
|
|
25440
25530
|
}), void 0)]
|
|
25441
25531
|
}), void 0);
|
|
@@ -28514,7 +28604,7 @@
|
|
|
28514
28604
|
marginRight: 9
|
|
28515
28605
|
},
|
|
28516
28606
|
size: "24",
|
|
28517
|
-
color: colors$
|
|
28607
|
+
color: colors$5.bgGreen,
|
|
28518
28608
|
__self: undefined,
|
|
28519
28609
|
__source: {
|
|
28520
28610
|
fileName: _jsxFileName$4,
|
|
@@ -28535,7 +28625,7 @@
|
|
|
28535
28625
|
margin: '0 9px'
|
|
28536
28626
|
},
|
|
28537
28627
|
size: "20",
|
|
28538
|
-
color: colors$
|
|
28628
|
+
color: colors$5.iconSecondary,
|
|
28539
28629
|
__self: undefined,
|
|
28540
28630
|
__source: {
|
|
28541
28631
|
fileName: _jsxFileName$4,
|
|
@@ -28607,7 +28697,7 @@
|
|
|
28607
28697
|
}
|
|
28608
28698
|
}, /*#__PURE__*/React__default["default"].createElement(StyledCircleInfoOutline, {
|
|
28609
28699
|
size: "20",
|
|
28610
|
-
color: colors$
|
|
28700
|
+
color: colors$5.iconPrimary,
|
|
28611
28701
|
__self: undefined,
|
|
28612
28702
|
__source: {
|
|
28613
28703
|
fileName: _jsxFileName$4,
|
|
@@ -29034,10 +29124,10 @@
|
|
|
29034
29124
|
const DesktopContainer = styled(Flex$1, {
|
|
29035
29125
|
display: 'none',
|
|
29036
29126
|
'& .active-scroll-spy': {
|
|
29037
|
-
borderLeft: `4px solid ${colors$
|
|
29127
|
+
borderLeft: `4px solid ${colors$5.primary500} !important`
|
|
29038
29128
|
},
|
|
29039
29129
|
'& .active-scroll-spy .link-title': {
|
|
29040
|
-
color: `${colors$
|
|
29130
|
+
color: `${colors$5.primary500} !important`
|
|
29041
29131
|
},
|
|
29042
29132
|
'@md': {
|
|
29043
29133
|
display: 'unset'
|
|
@@ -29045,7 +29135,7 @@
|
|
|
29045
29135
|
});
|
|
29046
29136
|
const MobileContainer = styled(Flex$1, {
|
|
29047
29137
|
backgroundColor: '$white',
|
|
29048
|
-
border: `1px solid ${colors$
|
|
29138
|
+
border: `1px solid ${colors$5.gray150}`,
|
|
29049
29139
|
borderRadius: 8,
|
|
29050
29140
|
padding: '8px 8px',
|
|
29051
29141
|
width: '100%',
|
|
@@ -29172,7 +29262,7 @@
|
|
|
29172
29262
|
marginLeft: '-4px !important',
|
|
29173
29263
|
borderLeftWidth: '4px !important',
|
|
29174
29264
|
borderLeftStyle: 'solid !important',
|
|
29175
|
-
borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$
|
|
29265
|
+
borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$5.primary500 : 'transparent'} !important`,
|
|
29176
29266
|
paddingLeft: '16px !important',
|
|
29177
29267
|
minHeight: 25
|
|
29178
29268
|
},
|
|
@@ -30511,11 +30601,11 @@
|
|
|
30511
30601
|
var getColor = function getColor(state) {
|
|
30512
30602
|
switch (state) {
|
|
30513
30603
|
case 'error':
|
|
30514
|
-
return colors$
|
|
30604
|
+
return colors$5.red400;
|
|
30515
30605
|
case 'active':
|
|
30516
|
-
return colors$
|
|
30606
|
+
return colors$5.primary500;
|
|
30517
30607
|
default:
|
|
30518
|
-
return colors$
|
|
30608
|
+
return colors$5.gray150;
|
|
30519
30609
|
}
|
|
30520
30610
|
};
|
|
30521
30611
|
var iconProps = {
|
|
@@ -32492,7 +32582,7 @@
|
|
|
32492
32582
|
}
|
|
32493
32583
|
}, void 0) : jsxRuntime.jsx(icons.MinusOutline, {
|
|
32494
32584
|
size: 16,
|
|
32495
|
-
color: colors$
|
|
32585
|
+
color: colors$5.iconDisable
|
|
32496
32586
|
}, void 0)
|
|
32497
32587
|
}, void 0)
|
|
32498
32588
|
}), index + indexSubRow + 'tb-cell-collapse');
|
|
@@ -32798,9 +32888,9 @@
|
|
|
32798
32888
|
function getBaseColor(color) {
|
|
32799
32889
|
switch (color) {
|
|
32800
32890
|
case 'primary':
|
|
32801
|
-
return colors$
|
|
32891
|
+
return colors$5.gray300;
|
|
32802
32892
|
default:
|
|
32803
|
-
return colors$
|
|
32893
|
+
return colors$5.gray150;
|
|
32804
32894
|
}
|
|
32805
32895
|
}
|
|
32806
32896
|
function getSize(size) {
|