@kdcloudjs/kdesign 1.8.5 → 1.8.6

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.
@@ -0,0 +1,129 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var locale = {
8
+ locale: 'en-US',
9
+ 'DatePicker.placeholder': 'select date',
10
+ 'DatePicker.yearPlaceholder': 'select year',
11
+ 'DatePicker.quarterPlaceholder': 'select quarter',
12
+ 'DatePicker.monthPlaceholder': 'select month',
13
+ 'DatePicker.weekPlaceholder': 'select week',
14
+ 'DatePicker.timePlaceholder': 'select time',
15
+ 'DatePicker.now': 'Now',
16
+ 'DatePicker.confrim': 'Ok',
17
+ 'DatePicker.today': 'Today',
18
+ 'DatePicker.month': 'Month',
19
+ 'DatePicker.year': '',
20
+ 'DatePicker.weekTitle': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
21
+ 'DatePicker.monthTitle': ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
22
+ 'DatePicker.rangePlaceholder': ['Start date', 'End date'],
23
+ 'DatePicker.rangeYearPlaceholder': ['Start year', 'End year'],
24
+ 'DatePicker.rangeMonthPlaceholder': ['Start month', 'End month'],
25
+ 'DatePicker.rangeWeekPlaceholder': ['Start week', 'End week'],
26
+ 'DatePicker.rangeQuarterPlaceholder': ['Start quarter', 'End quarter'],
27
+ 'DatePicker.rangeTimePlaceholder': ['Start time', 'End time'],
28
+ 'global.selectholder': 'Please select',
29
+ 'global.placeholder': 'Please enter search content',
30
+ 'global.cancel': 'Cancel',
31
+ 'global.confirm': 'Ok',
32
+ 'global.emptyText': 'No data',
33
+ 'Button.text': 'Button',
34
+ 'Progress.circleLoadingDesc': 'Loading...',
35
+ 'Progress.loading': 'Loading...',
36
+ 'Progress.fail': 'Load failed',
37
+ 'Progress.success': 'Load successful',
38
+ 'Pagination.prevPage': 'Previous',
39
+ 'Pagination.nextPage': 'Next',
40
+ 'Pagination.total': 'Total {page} pages {row} items',
41
+ 'Pagination.page': 'Total {page} pages',
42
+ 'Pagination.row': 'Total {row} items',
43
+ 'Pagination.first': 'First page',
44
+ 'Pagination.last': 'Last page',
45
+ 'Pagination.perPage': '{size} /page',
46
+ 'Pagination.order': 'Page {order}',
47
+ 'Pagination.forward': 'Forward 5 pages',
48
+ 'Pagination.backward': 'Backward 5 pages',
49
+ 'Transfer.selectAll': 'Select all',
50
+ 'Transfer.searchPlaceholder': ['Please enter search content', 'Please enter search content'],
51
+ 'Transfer.leftTitle': 'Available list',
52
+ 'Transfer.rightTitle': 'Selected list',
53
+ 'Transfer.emptyTip': 'No data',
54
+ 'Modal.okText': 'Ok',
55
+ 'Modal.cancelText': 'Cancel',
56
+ 'Modal.iknowText': 'I know',
57
+ 'Empty.emptyText': 'No data',
58
+ 'Empty.searchEmptyText': 'No results found',
59
+ 'QuickSearch.placeholder': 'Please enter search content',
60
+ 'QuickSearch.desc': ["Space means 'or', Enter means 'and'"],
61
+ 'QuickSearch.nplDesc': 'Smart search',
62
+ 'QuickSearch.emptyTip': 'No data',
63
+ 'QuickSearch.or': 'Or',
64
+ 'CityPicker.domestic': 'Domestic',
65
+ 'CityPicker.common': 'Common',
66
+ 'CityPicker.emptyText': 'No data',
67
+ 'CityPicker.commonEmptyText': 'No common cities',
68
+ 'CityPicker.tabsDomestic': 'Domestic',
69
+ 'CityPicker.tabsInternation': 'International/China HK-MO-TW',
70
+ 'CityPicker.title': 'City',
71
+ 'ColorPicker.followFunctionalColor': 'Follow theme color',
72
+ 'Search.placeholder': 'Please enter search content',
73
+ 'Search.desc': ["Space means 'or', Enter means 'and'"],
74
+ 'Search.nplDesc': 'Smart search',
75
+ 'Search.emptyTip': 'No data',
76
+ 'Search.viewMoreResult': "See more results for '{inputValue}'",
77
+ 'Search.range': 'scope',
78
+ 'Search.or': 'Or',
79
+ 'Filter.filterCondition': 'Filter condition',
80
+ 'Filter.commonCondition': 'Common conditions',
81
+ 'Filter.schemeQuery': 'Scheme query',
82
+ 'Filter.spread': 'Expand',
83
+ 'Filter.packup': 'Collapse',
84
+ 'Filter.filter': '',
85
+ 'Filter.scheme': 'Scheme',
86
+ 'Filter.unlimited': 'Unlimited',
87
+ 'Filter.commonScheme': 'Common schemes',
88
+ 'Filter.advancedQuery': 'Advanced query',
89
+ 'Filter.schemeName': 'Scheme name',
90
+ 'Filter.addCondition': 'Add condition',
91
+ 'Filter.saveScheme': 'Save scheme',
92
+ 'Filter.query': 'Query',
93
+ 'Filter.and': 'And',
94
+ 'Filter.settings': 'Settings',
95
+ 'Filter.schemeNamePlaceholder': 'Please enter scheme name',
96
+ 'Form.requiredMessage': 'Please enter your',
97
+ 'Table.contain': 'Contain',
98
+ 'Table.notContain': 'Do not contain',
99
+ 'Table.equal': 'Equal',
100
+ 'Table.notEqual': 'Not equal',
101
+ 'Table.isNull': 'Is null',
102
+ 'Table.notIsNull': 'Is not null',
103
+ 'Table.resetFilter': 'Reset',
104
+ 'Table.confirmFilter': 'Ok',
105
+ 'Select.selectAll': 'Select all',
106
+ 'Select.seleted': 'Selected {size} items',
107
+ 'Select.total': 'Total {total} items',
108
+ 'Signature.clickToSign': 'Click to sign',
109
+ 'Signature.pleaseWriteHere': 'Please write your signature horizontally here',
110
+ 'Signature.okText': 'Ok',
111
+ 'Signature.cancelText': 'Cancel',
112
+ 'Signature.handwrittenSignature': 'Handwritten Signature',
113
+ 'QRCode.qrCodeExpired': 'QR code expired',
114
+ 'QRCode.clickRefresh': 'Refresh',
115
+ 'Cascader.total': 'Total {total} items',
116
+ 'BaseData.total': 'Total {total} items',
117
+ 'BaseData.history': 'History',
118
+ 'BaseData.favorites': 'Favorites',
119
+ 'Image.close': 'Close',
120
+ 'Upload.reUpload': 'Re-upload',
121
+ 'Upload.uploading': 'Uploading',
122
+ 'Upload.fail': 'Upload failed',
123
+ 'Upload.delete': 'Delete',
124
+ 'Notification.title': 'System Notification',
125
+ 'TreeSelect.total': 'Total {total} items',
126
+ 'ImageCropper.okText': 'Confirm Crop'
127
+ };
128
+ var _default = locale;
129
+ exports.default = _default;
@@ -26,6 +26,7 @@ var _devwarning = _interopRequireDefault(require("../_utils/devwarning"));
26
26
  var _reactDraggable = _interopRequireDefault(require("react-draggable"));
27
27
  var _locale = require("../locale/locale");
28
28
  var _hooks = require("../_utils/hooks");
29
+ var _ieUtil = require("../_utils/ieUtil");
29
30
  function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "function") return null; var cacheBabelInterop = new _WeakMap(); var cacheNodeInterop = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
30
31
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && _Object$getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
31
32
  var __rest = void 0 && (void 0).__rest || function (s, e) {
@@ -389,7 +390,7 @@ var InternalModal = function InternalModal(props, ref) {
389
390
  }
390
391
  };
391
392
  var isHidden = !destroyOnClose && !(isForceController ? visible : innerVisible);
392
- var modalClasses = (0, _classnames.default)(modalPrefixCls, className, (_classNames3 = {}, (0, _defineProperty2.default)(_classNames3, "".concat(modalPrefixCls, "-container"), true), (0, _defineProperty2.default)(_classNames3, "".concat(modalPrefixCls, "-container-hidden"), isHidden), (0, _defineProperty2.default)(_classNames3, "".concat(modalPrefixCls, "-container-show"), !isHidden), _classNames3));
393
+ var modalClasses = (0, _classnames.default)(modalPrefixCls, className, (_classNames3 = {}, (0, _defineProperty2.default)(_classNames3, "".concat(modalPrefixCls, "-container"), true), (0, _defineProperty2.default)(_classNames3, "".concat(modalPrefixCls, "-container-ie"), _ieUtil.isIE), (0, _defineProperty2.default)(_classNames3, "".concat(modalPrefixCls, "-container-hidden"), isHidden), (0, _defineProperty2.default)(_classNames3, "".concat(modalPrefixCls, "-container-show"), !isHidden), _classNames3));
393
394
  var headerClass = "".concat(modalPrefixCls, "-header");
394
395
  var container = /*#__PURE__*/_react.default.createElement("div", {
395
396
  className: (0, _classnames.default)((_classNames4 = {}, (0, _defineProperty2.default)(_classNames4, "".concat(modalPrefixCls, "-container-box"), true), (0, _defineProperty2.default)(_classNames4, "".concat(modalPrefixCls, "-has-container-box"), modalContainer && !overroll), (0, _defineProperty2.default)(_classNames4, "".concat(modalPrefixCls, "-showline"), showline), _classNames4)),
@@ -113,6 +113,9 @@
113
113
  position: relative;
114
114
  z-index: var(--kd-c-modal-z-index, var(--kd-g-z-index-dialog, 1050));
115
115
  }
116
+ .kd-modal-container-ie {
117
+ position: absolute;
118
+ }
116
119
  .kd-modal-container-show {
117
120
  -webkit-animation: kdModalEffect calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1) both;
118
121
  animation: kdModalEffect calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1) both;
@@ -24,6 +24,10 @@
24
24
  position: relative;
25
25
  z-index: @modal-z-index-dialog;
26
26
 
27
+ &-ie {
28
+ position: absolute;
29
+ }
30
+
27
31
  &-show {
28
32
  animation: kdModalEffect calc(@transition-duration - 0.1s) @ease both;
29
33
  }
@@ -573,17 +573,17 @@
573
573
  -ms-user-select: none;
574
574
  user-select: none;
575
575
  }
576
- .kd-select .kd-select-selection-item-small {
576
+ .kd-select .kd-select-selection-item.kd-select-selection-item-small {
577
577
  height: 20px;
578
578
  line-height: 18px;
579
579
  font-size: 12px;
580
580
  }
581
- .kd-select .kd-select-selection-item-middle {
581
+ .kd-select .kd-select-selection-item.kd-select-selection-item-middle {
582
582
  font-size: 12px;
583
583
  height: 20px;
584
584
  line-height: 18px;
585
585
  }
586
- .kd-select .kd-select-selection-item-large {
586
+ .kd-select .kd-select-selection-item.kd-select-selection-item-large {
587
587
  font-size: 14px;
588
588
  line-height: 22px;
589
589
  height: 22px;
@@ -311,19 +311,19 @@
311
311
  max-width: 100%;
312
312
  cursor: default;
313
313
  user-select: none;
314
- &-small {
314
+ &.@{select-prefix-cls}-selection-item-small {
315
315
  height: 20px;
316
316
  line-height: 18px;
317
317
  font-size: 12px;
318
318
  }
319
319
 
320
- &-middle {
320
+ &.@{select-prefix-cls}-selection-item-middle {
321
321
  font-size: 12px;
322
322
  height: 20px;
323
323
  line-height: 18px;
324
324
  }
325
325
 
326
- &-large {
326
+ &.@{select-prefix-cls}-selection-item-large {
327
327
  font-size: 14px;
328
328
  line-height: 22px;
329
329
  height: 22px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kdcloudjs/kdesign",
3
- "version": "1.8.5",
3
+ "version": "1.8.6",
4
4
  "description": "KDesign 金蝶前端react 组件库",
5
5
  "title": "kdesign",
6
6
  "keywords": [