@aloudata/aloudata-design 2.19.0 → 2.19.2
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/dist/AldSelect/Selector/MultipleResponsiveSelectedSection.d.ts +1 -1
- package/dist/AldSelect/Selector/MultipleResponsiveSelectedSection.js +3 -1
- package/dist/AldSelect/Selector/MultipleSelector.js +14 -8
- package/dist/AldSelect/Selector/index.js +5 -2
- package/dist/AldSelect/utils/commonUtil.js +10 -2
- package/dist/Dropdown/index.js +8 -1
- package/dist/Icon/components/InProgressFill.d.ts +1 -2
- package/dist/Icon/components/InProgressFill.js +1 -1
- package/dist/Icon/svg/In-Progress-fill.svg +2 -2
- package/dist/InputNumber/style/index.less +51 -4
- package/dist/MemberPicker/components/MemberSelection.d.ts +6 -0
- package/dist/MemberPicker/components/MemberSelection.js +37 -13
- package/dist/MemberPicker/components/Panel.d.ts +8 -0
- package/dist/MemberPicker/components/Panel.js +14 -7
- package/dist/MemberPicker/components/PanelWrapper.d.ts +9 -1
- package/dist/MemberPicker/components/PanelWrapper.js +6 -2
- package/dist/MemberPicker/components/SelectedMemberTags.d.ts +2 -1
- package/dist/MemberPicker/components/SelectedMemberTags.js +7 -2
- package/dist/MemberPicker/components/UserGroupSelection.d.ts +8 -1
- package/dist/MemberPicker/components/UserGroupSelection.js +32 -20
- package/dist/MemberPicker/index.js +6 -2
- package/dist/MemberPicker/interface.d.ts +8 -0
- package/dist/Table/components/DndWrapper.d.ts +10 -0
- package/dist/Table/components/DndWrapper.js +38 -0
- package/dist/Table/hooks/useRowDnd.js +12 -3
- package/dist/Table/index.js +2 -5
- package/dist/Tabs/style/index.less +1 -0
- package/dist/ald.min.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/notification/demo/index.js +10 -1
- package/dist/notification/index.d.ts +1 -0
- package/dist/notification/index.js +16 -11
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -105,6 +105,8 @@ export { default as message } from './message';
|
|
|
105
105
|
export { default as notification } from './notification';
|
|
106
106
|
export { default as AldSelect } from './AldSelect';
|
|
107
107
|
export type { ISelectProps } from './AldSelect/interface';
|
|
108
|
+
export { default as Select } from './AldSelect';
|
|
109
|
+
export type { ISelectProps as SelectProps } from './AldSelect/interface';
|
|
108
110
|
export { default as AMenu } from './AMenu';
|
|
109
111
|
export type { AMenuProps } from './AMenu';
|
|
110
112
|
export { default as Tour } from './Tour';
|
package/dist/index.js
CHANGED
|
@@ -65,5 +65,6 @@ export { default as message } from "./message";
|
|
|
65
65
|
// export type { MessageArgsProps } from './message';
|
|
66
66
|
export { default as notification } from "./notification";
|
|
67
67
|
export { default as AldSelect } from "./AldSelect";
|
|
68
|
+
export { default as Select } from "./AldSelect";
|
|
68
69
|
export { default as AMenu } from "./AMenu";
|
|
69
70
|
export { default as Tour } from "./Tour";
|
|
@@ -4,12 +4,21 @@ export default (function () {
|
|
|
4
4
|
var notices = function notices(type) {
|
|
5
5
|
notification[type]({
|
|
6
6
|
message: 'Notification Message',
|
|
7
|
+
autoClose: false,
|
|
7
8
|
description: 'description,description,description,description,description,description,description,description',
|
|
8
9
|
style: {
|
|
9
10
|
width: 360,
|
|
10
11
|
maxHeight: 500,
|
|
11
12
|
overflow: 'auto'
|
|
12
|
-
}
|
|
13
|
+
},
|
|
14
|
+
footer: /*#__PURE__*/React.createElement("div", {
|
|
15
|
+
style: {
|
|
16
|
+
display: 'flex',
|
|
17
|
+
justifyContent: 'flex-end'
|
|
18
|
+
}
|
|
19
|
+
}, ' ', /*#__PURE__*/React.createElement(Button, {
|
|
20
|
+
type: "primary"
|
|
21
|
+
}, "\u786E\u5B9A"))
|
|
13
22
|
});
|
|
14
23
|
};
|
|
15
24
|
return /*#__PURE__*/React.createElement(App, null, /*#__PURE__*/React.createElement(Space, {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
-
var _excluded = ["message", "description", "placement", "className", "duration"],
|
|
3
|
-
_excluded2 = ["message", "description", "placement", "className", "duration"],
|
|
4
|
-
_excluded3 = ["message", "description", "placement", "className", "duration"],
|
|
5
|
-
_excluded4 = ["message", "description", "placement", "className", "duration"],
|
|
6
|
-
_excluded5 = ["message", "description", "placement", "className", "duration"];
|
|
2
|
+
var _excluded = ["message", "description", "placement", "className", "duration", "footer"],
|
|
3
|
+
_excluded2 = ["message", "description", "placement", "className", "duration", "footer"],
|
|
4
|
+
_excluded3 = ["message", "description", "placement", "className", "duration", "footer"],
|
|
5
|
+
_excluded4 = ["message", "description", "placement", "className", "duration", "footer"],
|
|
6
|
+
_excluded5 = ["message", "description", "placement", "className", "duration", "footer"];
|
|
7
7
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8
8
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9
9
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -51,7 +51,7 @@ var iconMap = {
|
|
|
51
51
|
error: /*#__PURE__*/React.createElement("div", {
|
|
52
52
|
className: "ald-notification-notice-icon"
|
|
53
53
|
}, /*#__PURE__*/React.createElement(DangerFill, {
|
|
54
|
-
color: "var(--alias-colors-icon-
|
|
54
|
+
color: "var(--alias-colors-icon-danger)",
|
|
55
55
|
size: 24
|
|
56
56
|
})),
|
|
57
57
|
warning: /*#__PURE__*/React.createElement("div", {
|
|
@@ -88,6 +88,7 @@ var notification = {
|
|
|
88
88
|
placement = _config$placement === void 0 ? 'topRight' : _config$placement,
|
|
89
89
|
className = config.className,
|
|
90
90
|
duration = config.duration,
|
|
91
|
+
footer = config.footer,
|
|
91
92
|
restConfig = _objectWithoutProperties(config, _excluded);
|
|
92
93
|
clearTimeout(toastId);
|
|
93
94
|
toastId = setTimeout(function () {
|
|
@@ -97,7 +98,7 @@ var notification = {
|
|
|
97
98
|
className: "ald-notification-message"
|
|
98
99
|
}, message), description && /*#__PURE__*/React.createElement("div", {
|
|
99
100
|
className: 'ald-notification-desc'
|
|
100
|
-
}, description)), _objectSpread(_objectSpread({
|
|
101
|
+
}, description), footer && /*#__PURE__*/React.createElement(React.Fragment, null, footer)), _objectSpread(_objectSpread({
|
|
101
102
|
icon: false
|
|
102
103
|
}, defaultOptions), {}, {
|
|
103
104
|
autoClose: duration ? duration * 1000 : DEFAULT_DURATION_TIME,
|
|
@@ -113,6 +114,7 @@ var notification = {
|
|
|
113
114
|
placement = _config$placement2 === void 0 ? 'topRight' : _config$placement2,
|
|
114
115
|
className = config.className,
|
|
115
116
|
duration = config.duration,
|
|
117
|
+
footer = config.footer,
|
|
116
118
|
restConfig = _objectWithoutProperties(config, _excluded2);
|
|
117
119
|
clearTimeout(toastId);
|
|
118
120
|
toastId = setTimeout(function () {
|
|
@@ -122,7 +124,7 @@ var notification = {
|
|
|
122
124
|
className: "ald-notification-message"
|
|
123
125
|
}, message), description && /*#__PURE__*/React.createElement("div", {
|
|
124
126
|
className: 'ald-notification-desc'
|
|
125
|
-
}, description)), _objectSpread(_objectSpread({
|
|
127
|
+
}, description), footer && /*#__PURE__*/React.createElement(React.Fragment, null, footer)), _objectSpread(_objectSpread({
|
|
126
128
|
icon: function icon() {
|
|
127
129
|
return iconMap.success;
|
|
128
130
|
}
|
|
@@ -140,6 +142,7 @@ var notification = {
|
|
|
140
142
|
placement = _config$placement3 === void 0 ? 'topRight' : _config$placement3,
|
|
141
143
|
className = config.className,
|
|
142
144
|
duration = config.duration,
|
|
145
|
+
footer = config.footer,
|
|
143
146
|
restConfig = _objectWithoutProperties(config, _excluded3);
|
|
144
147
|
clearTimeout(toastId);
|
|
145
148
|
toastId = setTimeout(function () {
|
|
@@ -149,7 +152,7 @@ var notification = {
|
|
|
149
152
|
className: "ald-notification-message"
|
|
150
153
|
}, message), description && /*#__PURE__*/React.createElement("div", {
|
|
151
154
|
className: 'ald-notification-desc'
|
|
152
|
-
}, description)), _objectSpread(_objectSpread({
|
|
155
|
+
}, description), footer && /*#__PURE__*/React.createElement(React.Fragment, null, footer)), _objectSpread(_objectSpread({
|
|
153
156
|
icon: function icon() {
|
|
154
157
|
return iconMap.error;
|
|
155
158
|
}
|
|
@@ -167,6 +170,7 @@ var notification = {
|
|
|
167
170
|
placement = _config$placement4 === void 0 ? 'topRight' : _config$placement4,
|
|
168
171
|
className = config.className,
|
|
169
172
|
duration = config.duration,
|
|
173
|
+
footer = config.footer,
|
|
170
174
|
restConfig = _objectWithoutProperties(config, _excluded4);
|
|
171
175
|
clearTimeout(toastId);
|
|
172
176
|
toastId = setTimeout(function () {
|
|
@@ -176,7 +180,7 @@ var notification = {
|
|
|
176
180
|
className: "ald-notification-message"
|
|
177
181
|
}, message), description && /*#__PURE__*/React.createElement("div", {
|
|
178
182
|
className: 'ald-notification-desc'
|
|
179
|
-
}, description)), _objectSpread(_objectSpread({
|
|
183
|
+
}, description), footer && /*#__PURE__*/React.createElement(React.Fragment, null, footer)), _objectSpread(_objectSpread({
|
|
180
184
|
icon: function icon() {
|
|
181
185
|
return iconMap.info;
|
|
182
186
|
}
|
|
@@ -194,6 +198,7 @@ var notification = {
|
|
|
194
198
|
placement = _config$placement5 === void 0 ? 'topRight' : _config$placement5,
|
|
195
199
|
className = config.className,
|
|
196
200
|
duration = config.duration,
|
|
201
|
+
footer = config.footer,
|
|
197
202
|
restConfig = _objectWithoutProperties(config, _excluded5);
|
|
198
203
|
clearTimeout(toastId);
|
|
199
204
|
toastId = setTimeout(function () {
|
|
@@ -203,7 +208,7 @@ var notification = {
|
|
|
203
208
|
className: "ald-notification-message"
|
|
204
209
|
}, message), description && /*#__PURE__*/React.createElement("div", {
|
|
205
210
|
className: 'ald-notification-desc'
|
|
206
|
-
}, description)), _objectSpread(_objectSpread({
|
|
211
|
+
}, description), footer && /*#__PURE__*/React.createElement(React.Fragment, null, footer)), _objectSpread(_objectSpread({
|
|
207
212
|
icon: function icon() {
|
|
208
213
|
return iconMap.warning;
|
|
209
214
|
}
|