bhd-components 0.9.24 → 0.9.26

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.
@@ -2229,13 +2229,16 @@
2229
2229
  "description": "图标,六级填充色"
2230
2230
  }
2231
2231
  */
2232
- .index_module_customSuccess__dc4e3d45.bhd-message-notice .bhd-message-notice-content {
2233
- background: #5991ef !important;
2232
+ .index_module_customSuccess__06f8eef4.bhd-message-notice .bhd-message-notice-content {
2233
+ background: #23d9c3 !important;
2234
2234
  color: #ffffff;
2235
- font-weight: 500;
2235
+ font-weight: 600;
2236
2236
  font-size: 14px;
2237
+ padding: 9.5px 16px !important;
2238
+ border-radius: 4px !important;
2239
+ box-shadow: 0 6px 16px 0 rgba(32, 32, 32, 0.08), 0 3px 6px -4px rgba(49, 49, 49, 0.12), 0 9px 28px 8px rgba(35, 35, 35, 0.05) !important;
2237
2240
  }
2238
- .index_module_customSuccess__dc4e3d45.bhd-message-notice .bhd-message-notice-content > .bhd-message-success > .anticon {
2241
+ .index_module_customSuccess__06f8eef4.bhd-message-notice .bhd-message-notice-content > .bhd-message-success > .anticon {
2239
2242
  color: #ffffff;
2240
2243
  font-size: 14px;
2241
2244
  display: inline-flex;
@@ -2245,17 +2248,21 @@
2245
2248
  line-height: 0;
2246
2249
  text-align: center;
2247
2250
  text-transform: none;
2248
- vertical-align: -0.125em;
2251
+ vertical-align: middle;
2249
2252
  text-rendering: optimizeLegibility;
2250
2253
  -webkit-font-smoothing: antialiased;
2254
+ transform: translateY(-1.25px);
2251
2255
  }
2252
- .index_module_customWarning__dc4e3d45.bhd-message-notice .bhd-message-notice-content {
2253
- background-color: #fadb14 !important;
2256
+ .index_module_customWarning__06f8eef4.bhd-message-notice .bhd-message-notice-content {
2257
+ background-color: #ffc107 !important;
2254
2258
  color: #ffffff;
2255
- font-weight: 500;
2259
+ font-weight: 600;
2256
2260
  font-size: 14px;
2261
+ padding: 9.5px 16px !important;
2262
+ border-radius: 4px !important;
2263
+ box-shadow: 0 6px 16px 0 rgba(32, 32, 32, 0.08), 0 3px 6px -4px rgba(49, 49, 49, 0.12), 0 9px 28px 8px rgba(35, 35, 35, 0.05) !important;
2257
2264
  }
2258
- .index_module_customWarning__dc4e3d45.bhd-message-notice .bhd-message-notice-content .bhd-message-warning > .anticon {
2265
+ .index_module_customWarning__06f8eef4.bhd-message-notice .bhd-message-notice-content .bhd-message-warning > .anticon {
2259
2266
  color: #ffffff;
2260
2267
  font-size: 14px;
2261
2268
  display: inline-flex;
@@ -2265,17 +2272,45 @@
2265
2272
  line-height: 0;
2266
2273
  text-align: center;
2267
2274
  text-transform: none;
2268
- vertical-align: -0.125em;
2275
+ vertical-align: middle;
2269
2276
  text-rendering: optimizeLegibility;
2270
2277
  -webkit-font-smoothing: antialiased;
2278
+ transform: translateY(-1.25px);
2271
2279
  }
2272
- .index_module_customError__dc4e3d45.bhd-message-notice .bhd-message-notice-content {
2280
+ .index_module_customError__06f8eef4.bhd-message-notice .bhd-message-notice-content {
2273
2281
  background-color: #f8700c !important;
2274
2282
  color: #ffffff;
2275
- font-weight: 500;
2283
+ font-weight: 600;
2284
+ font-size: 14px;
2285
+ padding: 9.5px 16px !important;
2286
+ border-radius: 4px !important;
2287
+ box-shadow: 0 6px 16px 0 rgba(32, 32, 32, 0.08), 0 3px 6px -4px rgba(49, 49, 49, 0.12), 0 9px 28px 8px rgba(35, 35, 35, 0.05) !important;
2288
+ }
2289
+ .index_module_customError__06f8eef4.bhd-message-notice .bhd-message-notice-content .bhd-message-error > .anticon {
2290
+ color: #ffffff;
2291
+ font-size: 14px;
2292
+ display: inline-flex;
2293
+ align-items: center;
2294
+ color: inherit;
2295
+ font-style: normal;
2296
+ line-height: 0;
2297
+ text-align: center;
2298
+ text-transform: none;
2299
+ vertical-align: middle;
2300
+ text-rendering: optimizeLegibility;
2301
+ -webkit-font-smoothing: antialiased;
2302
+ transform: translateY(-1.25px);
2303
+ }
2304
+ .index_module_customInfo__06f8eef4.bhd-message-notice .bhd-message-notice-content {
2305
+ background: #5991ef !important;
2306
+ color: #ffffff;
2307
+ font-weight: 600;
2276
2308
  font-size: 14px;
2309
+ padding: 9.5px 16px !important;
2310
+ border-radius: 4px !important;
2311
+ box-shadow: 0 6px 16px 0 rgba(32, 32, 32, 0.08), 0 3px 6px -4px rgba(49, 49, 49, 0.12), 0 9px 28px 8px rgba(35, 35, 35, 0.05) !important;
2277
2312
  }
2278
- .index_module_customError__dc4e3d45.bhd-message-notice .bhd-message-notice-content .bhd-message-error > .anticon {
2313
+ .index_module_customInfo__06f8eef4.bhd-message-notice .bhd-message-notice-content > .bhd-message-info > .anticon {
2279
2314
  color: #ffffff;
2280
2315
  font-size: 14px;
2281
2316
  display: inline-flex;
@@ -2285,9 +2320,10 @@
2285
2320
  line-height: 0;
2286
2321
  text-align: center;
2287
2322
  text-transform: none;
2288
- vertical-align: -0.125em;
2323
+ vertical-align: middle;
2289
2324
  text-rendering: optimizeLegibility;
2290
2325
  -webkit-font-smoothing: antialiased;
2326
+ transform: translateY(-1.25px);
2291
2327
  }
2292
2328
 
2293
2329
  /* 变量色值 */
@@ -1,5 +1,5 @@
1
- import { z as zhCN, A as App, _ as _object_spread, a as AntdMessage, M as Modal$1, b as AntdNotification, C as ConfigProvider, c as _extends, d as _object_destructuring_empty, j as jsx, e as _object_spread_props, f as jsxs, t as transform, S as StyleProvider, g as _sliced_to_array, T as Tooltip, h as Table$2, I as Icon, E as ExclamationCircleFilled, i as _to_consumable_array, P as Pagination$1, k as Select, l as CaretDownOutlined, m as _inherits, n as _create_super, o as _create_class, p as _class_call_check, q as _define_property, r as _assert_this_initialized, s as _async_to_generator, u as MinusOutlined, v as PlusOutlined, L as LeftOutlined, R as RightOutlined, w as __generator, x as Input$1, y as SearchOutlined, B as Spin, D as CloseOutlined, X, F as I, H, G as html2canvas$1, J as Remarkable, K as Drawer, N as HighlightJS, Z as ZoomInOutlined, O as DatePicker, Q as Button } from './vendor.esm.es5.development.js';
2
- export { U as Affix, V as Alert, W as Anchor, a as AntdMessage, A as App, Y as AutoComplete, $ as Avatar, a1 as BackTop, a2 as Badge, a3 as Breadcrumb, Q as Button, a4 as Calendar, a5 as Card, a6 as Carousel, a7 as Cascader, a8 as Checkbox, a9 as Col, aa as Collapse, O as DatePicker, ab as Descriptions, ac as Divider, K as Drawer, ad as Dropdown, ae as Empty, a0 as FloatButton, af as Form, ag as Grid, ah as Image, x as Input, ai as InputNumber, aj as Layout, ak as List, al as Mentions, am as Menu, M as Modal, an as Popconfirm, ao as Popover, ap as Progress, aN as QRCode, aq as Radio, ar as Rate, as as Result, at as Row, au as Segmented, k as Select, av as Skeleton, aw as Slider, ax as Space, B as Spin, ay as Statistic, az as Steps, aA as Switch, aB as Tabs, aC as Tag, aE as TimePicker, aF as Timeline, T as Tooltip, aG as Tour, aH as Transfer, aI as Tree, aJ as TreeSelect, aK as Typography, aL as Upload, aM as Watermark, aP as en_US, b as notification, aD as theme, aO as version, z as zh_CN } from './vendor.esm.es5.development.js';
1
+ import { z as zhCN, A as App, _ as _object_spread, a as AntdMessage, M as Modal$1, b as AntdNotification, C as ConfigProvider, c as _extends, d as _object_destructuring_empty, j as jsx, e as _object_spread_props, f as jsxs, t as transform, S as StyleProvider, g as _sliced_to_array, T as Tooltip, h as Table$2, i as _to_consumable_array, P as Pagination$1, I as Icon, k as Select, l as CaretDownOutlined, m as _inherits, n as _create_super, o as _create_class, p as _class_call_check, q as _define_property, r as _assert_this_initialized, s as _async_to_generator, u as MinusOutlined, v as PlusOutlined, L as LeftOutlined, R as RightOutlined, w as __generator, x as Input$1, y as SearchOutlined, B as Spin, D as CloseOutlined, X, E as I, H, F as html2canvas$1, G as Remarkable, J as Drawer, K as HighlightJS, Z as ZoomInOutlined, N as DatePicker, O as Button } from './vendor.esm.es5.development.js';
2
+ export { Q as Affix, U as Alert, V as Anchor, a as AntdMessage, A as App, W as AutoComplete, Y as Avatar, a0 as BackTop, a1 as Badge, a2 as Breadcrumb, O as Button, a3 as Calendar, a4 as Card, a5 as Carousel, a6 as Cascader, a7 as Checkbox, a8 as Col, a9 as Collapse, N as DatePicker, aa as Descriptions, ab as Divider, J as Drawer, ac as Dropdown, ad as Empty, $ as FloatButton, ae as Form, af as Grid, ag as Image, x as Input, ah as InputNumber, ai as Layout, aj as List, ak as Mentions, al as Menu, M as Modal, am as Popconfirm, an as Popover, ao as Progress, aM as QRCode, ap as Radio, aq as Rate, ar as Result, as as Row, at as Segmented, k as Select, au as Skeleton, av as Slider, aw as Space, B as Spin, ax as Statistic, ay as Steps, az as Switch, aA as Tabs, aB as Tag, aD as TimePicker, aE as Timeline, T as Tooltip, aF as Tour, aG as Transfer, aH as Tree, aI as TreeSelect, aJ as Typography, aK as Upload, aL as Watermark, aO as en_US, b as notification, aC as theme, aN as version, z as zh_CN } from './vendor.esm.es5.development.js';
3
3
  import * as React from 'react';
4
4
  import React__default, { useState, useRef, useEffect, useLayoutEffect, forwardRef, useImperativeHandle, useCallback } from 'react';
5
5
  import { Fragment } from 'react/jsx-runtime';
@@ -604,7 +604,124 @@ var i18Conversion$1 = i18Conversion;
604
604
  };
605
605
  var BhdTableSimple$1 = BhdTableSimple;
606
606
 
607
- var modules_63b47c51$9 = {"customSuccess":"index_module_customSuccess__dc4e3d45","customWarning":"index_module_customWarning__dc4e3d45","customError":"index_module_customError__dc4e3d45"};
607
+ var modules_63b47c51$9 = {"customSuccess":"index_module_customSuccess__06f8eef4","customWarning":"index_module_customWarning__06f8eef4","customError":"index_module_customError__06f8eef4","customInfo":"index_module_customInfo__06f8eef4"};
608
+
609
+ var _message, _message1, _message2, _message3, _message4, _message5, _message6, _message7, _message8;
610
+ var BhdMessage = _object_spread_props(_object_spread({}, AntdMessage), {
611
+ customSuccess: function(config) {
612
+ var className = modules_63b47c51$9.customSuccess;
613
+ if (typeof config === "string") {
614
+ return message$1.success({
615
+ content: config,
616
+ className: className
617
+ });
618
+ }
619
+ return message$1.success(_object_spread_props(_object_spread({}, config), {
620
+ className: "".concat(className, " ").concat(config.className || "")
621
+ }));
622
+ },
623
+ customWarning: function(config) {
624
+ var className = modules_63b47c51$9.customWarning;
625
+ if (typeof config === "string") {
626
+ return message$1.warning({
627
+ content: config,
628
+ className: className
629
+ });
630
+ }
631
+ return message$1.warning(_object_spread_props(_object_spread({}, config), {
632
+ className: "".concat(className, " ").concat(config.className || "")
633
+ }));
634
+ },
635
+ customError: function(config) {
636
+ var className = modules_63b47c51$9.customError;
637
+ if (typeof config === "string") {
638
+ return message$1.error({
639
+ content: config,
640
+ className: className
641
+ });
642
+ }
643
+ return message$1.error(_object_spread_props(_object_spread({}, config), {
644
+ className: "".concat(className, " ").concat(config.className || "")
645
+ }));
646
+ },
647
+ customInfo: function(config) {
648
+ var className = modules_63b47c51$9.customInfo;
649
+ if (typeof config === "string") {
650
+ return message$1.info({
651
+ content: config,
652
+ className: className
653
+ });
654
+ }
655
+ return message$1.info(_object_spread_props(_object_spread({}, config), {
656
+ className: "".concat(className, " ").concat(config.className || "")
657
+ }));
658
+ },
659
+ open: function() {
660
+ for(var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++){
661
+ arg[_key] = arguments[_key];
662
+ }
663
+ return (_message = message$1).open.apply(_message, _to_consumable_array(arg));
664
+ },
665
+ destroy: function() {
666
+ for(var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++){
667
+ arg[_key] = arguments[_key];
668
+ }
669
+ return (_message1 = message$1).destroy.apply(_message1, _to_consumable_array(arg));
670
+ },
671
+ error: function() {
672
+ for(var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++){
673
+ arg[_key] = arguments[_key];
674
+ }
675
+ return (_message2 = message$1).error.apply(_message2, _to_consumable_array(arg));
676
+ },
677
+ info: function() {
678
+ for(var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++){
679
+ arg[_key] = arguments[_key];
680
+ }
681
+ return (_message3 = message$1).info.apply(_message3, _to_consumable_array(arg));
682
+ },
683
+ loading: function() {
684
+ for(var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++){
685
+ arg[_key] = arguments[_key];
686
+ }
687
+ return (_message4 = message$1).loading.apply(_message4, _to_consumable_array(arg));
688
+ },
689
+ success: function() {
690
+ for(var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++){
691
+ arg[_key] = arguments[_key];
692
+ }
693
+ return (_message5 = message$1).success.apply(_message5, _to_consumable_array(arg));
694
+ },
695
+ useMessage: function() {
696
+ for(var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++){
697
+ arg[_key] = arguments[_key];
698
+ }
699
+ return (_message6 = message$1).useMessage.apply(_message6, _to_consumable_array(arg));
700
+ },
701
+ warning: function() {
702
+ for(var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++){
703
+ arg[_key] = arguments[_key];
704
+ }
705
+ return (_message7 = message$1).warning.apply(_message7, _to_consumable_array(arg));
706
+ },
707
+ _InternalPanelDoNotUseOrYouWillBeFired: function() {
708
+ for(var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++){
709
+ arg[_key] = arguments[_key];
710
+ }
711
+ return (_message8 = message$1)._InternalPanelDoNotUseOrYouWillBeFired.apply(_message8, _to_consumable_array(arg));
712
+ }
713
+ });
714
+ var message = BhdMessage;
715
+
716
+ var modules_63b47c51$8 = {"pagination":"index_module_pagination__db6ba815"};
717
+
718
+ var BhdPagination = function(props) {
719
+ var className = "".concat(modules_63b47c51$8.pagination, " ").concat(props.className || "");
720
+ return /*#__PURE__*/ jsx(Pagination$1, _object_spread_props(_object_spread({}, props), {
721
+ className: className
722
+ }));
723
+ };
724
+ var Pagination = BhdPagination;
608
725
 
609
726
  var CustomCloseSvg = function() {
610
727
  return /*#__PURE__*/ jsx("svg", {
@@ -1165,113 +1282,6 @@ var CustomWenhaoRound = function(props) {
1165
1282
  };
1166
1283
  var CustomWenhaoRound$1 = CustomWenhaoRound;
1167
1284
 
1168
- var _message, _message1, _message2, _message3, _message4, _message5, _message6, _message7, _message8;
1169
- var BhdMessage = _object_spread_props(_object_spread({}, AntdMessage), {
1170
- customSuccess: function(config) {
1171
- var className = modules_63b47c51$9.customSuccess;
1172
- if (typeof config === "string") {
1173
- return message$1.success({
1174
- content: config,
1175
- className: className
1176
- });
1177
- }
1178
- return message$1.success(_object_spread_props(_object_spread({}, config), {
1179
- className: "".concat(className, " ").concat(config.className || "")
1180
- }));
1181
- },
1182
- customWarning: function(config) {
1183
- var className = modules_63b47c51$9.customWarning;
1184
- if (typeof config === "string") {
1185
- return message$1.warning({
1186
- content: config,
1187
- className: className
1188
- });
1189
- }
1190
- return message$1.warning(_object_spread_props(_object_spread({}, config), {
1191
- className: "".concat(className, " ").concat(config.className || "")
1192
- }));
1193
- },
1194
- customError: function(config) {
1195
- var className = modules_63b47c51$9.customError;
1196
- if (typeof config === "string") {
1197
- return message$1.error({
1198
- content: config,
1199
- className: className,
1200
- icon: /*#__PURE__*/ jsx(ExclamationCircleFilled, {})
1201
- });
1202
- }
1203
- return message$1.error(_object_spread_props(_object_spread({}, config), {
1204
- className: "".concat(className, " ").concat(config.className || ""),
1205
- icon: config.icon || /*#__PURE__*/ jsx(ExclamationCircleFilled, {})
1206
- }));
1207
- },
1208
- open: function() {
1209
- for(var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++){
1210
- arg[_key] = arguments[_key];
1211
- }
1212
- return (_message = message$1).open.apply(_message, _to_consumable_array(arg));
1213
- },
1214
- destroy: function() {
1215
- for(var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++){
1216
- arg[_key] = arguments[_key];
1217
- }
1218
- return (_message1 = message$1).destroy.apply(_message1, _to_consumable_array(arg));
1219
- },
1220
- error: function() {
1221
- for(var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++){
1222
- arg[_key] = arguments[_key];
1223
- }
1224
- return (_message2 = message$1).error.apply(_message2, _to_consumable_array(arg));
1225
- },
1226
- info: function() {
1227
- for(var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++){
1228
- arg[_key] = arguments[_key];
1229
- }
1230
- return (_message3 = message$1).info.apply(_message3, _to_consumable_array(arg));
1231
- },
1232
- loading: function() {
1233
- for(var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++){
1234
- arg[_key] = arguments[_key];
1235
- }
1236
- return (_message4 = message$1).loading.apply(_message4, _to_consumable_array(arg));
1237
- },
1238
- success: function() {
1239
- for(var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++){
1240
- arg[_key] = arguments[_key];
1241
- }
1242
- return (_message5 = message$1).success.apply(_message5, _to_consumable_array(arg));
1243
- },
1244
- useMessage: function() {
1245
- for(var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++){
1246
- arg[_key] = arguments[_key];
1247
- }
1248
- return (_message6 = message$1).useMessage.apply(_message6, _to_consumable_array(arg));
1249
- },
1250
- warning: function() {
1251
- for(var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++){
1252
- arg[_key] = arguments[_key];
1253
- }
1254
- return (_message7 = message$1).warning.apply(_message7, _to_consumable_array(arg));
1255
- },
1256
- _InternalPanelDoNotUseOrYouWillBeFired: function() {
1257
- for(var _len = arguments.length, arg = new Array(_len), _key = 0; _key < _len; _key++){
1258
- arg[_key] = arguments[_key];
1259
- }
1260
- return (_message8 = message$1)._InternalPanelDoNotUseOrYouWillBeFired.apply(_message8, _to_consumable_array(arg));
1261
- }
1262
- });
1263
- var message = BhdMessage;
1264
-
1265
- var modules_63b47c51$8 = {"pagination":"index_module_pagination__db6ba815"};
1266
-
1267
- var BhdPagination = function(props) {
1268
- var className = "".concat(modules_63b47c51$8.pagination, " ").concat(props.className || "");
1269
- return /*#__PURE__*/ jsx(Pagination$1, _object_spread_props(_object_spread({}, props), {
1270
- className: className
1271
- }));
1272
- };
1273
- var Pagination = BhdPagination;
1274
-
1275
1285
  var modules_63b47c51$7 = {"BhdTableSelect":"index_module_BhdTableSelect__67bd66da"};
1276
1286
 
1277
1287
  var BhdTableSelect = function(props) {
@@ -11163,6 +11173,7 @@ var CustomerService = function(props) {
11163
11173
  value: keyWord,
11164
11174
  onChange: function(e) {
11165
11175
  setKeyWord(e.target.value);
11176
+ var value = e.target.value;
11166
11177
  if (e.target.value == "") {
11167
11178
  setQuestionsList([]);
11168
11179
  clearTimeout(timer.current);
@@ -11170,9 +11181,9 @@ var CustomerService = function(props) {
11170
11181
  clearTimeout(timer.current);
11171
11182
  timer.current = setTimeout(function() {
11172
11183
  if (config && config.type == "video") {
11173
- getQuestiionsList(String(e.target.value), 3);
11184
+ getQuestiionsList(String(value), 3);
11174
11185
  } else {
11175
- getQuestiionsList(String(e.target.value), 2);
11186
+ getQuestiionsList(String(value), 2);
11176
11187
  }
11177
11188
  }, 1000);
11178
11189
  }