@aloudata/aloudata-design 0.2.0-beta.2 → 0.2.0-beta.5
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/es/Button/style/index.css +374 -0
- package/es/Button/style/index.js +1 -1
- package/es/Dropdown/index.d.ts +1 -0
- package/es/Dropdown/style/index.css +178 -0
- package/es/Dropdown/style/index.js +1 -1
- package/es/Empty/style/index.css +162 -0
- package/es/Empty/style/index.js +1 -1
- package/es/Icon/iconfont/demo_index.html +49 -3
- package/es/Icon/iconfont/iconfont.css +11 -3
- package/es/Icon/iconfont/iconfont.js +5 -5
- package/es/Icon/iconfont/iconfont.json +14 -0
- package/es/Icon/iconfont/iconfont.ttf +0 -0
- package/es/Icon/iconfont/iconfont.woff +0 -0
- package/es/Icon/iconfont/iconfont.woff2 +0 -0
- package/es/Icon/index.css +8 -0
- package/es/Input/components/Group/index.d.ts +3 -1
- package/es/Input/components/Password/index.d.ts +1 -0
- package/es/Input/index.d.ts +1 -1
- package/es/Input/style/index.css +215 -0
- package/es/Input/style/index.js +1 -1
- package/es/Menu/Divider.d.ts +1 -0
- package/es/Menu/MenuItem.d.ts +7 -0
- package/es/Menu/index.d.ts +1 -0
- package/es/Menu/style/index.css +208 -0
- package/es/Menu/style/index.js +1 -1
- package/es/Navigator/style/index.css +328 -0
- package/es/Navigator/style/index.js +1 -1
- package/es/Select/Selector/index.js +1 -1
- package/es/Select/style/index.css +493 -0
- package/es/Select/style/index.js +1 -1
- package/es/Table/index.d.ts +1 -1
- package/es/Table/index.js +183 -48
- package/es/Table/interface.d.ts +26 -6
- package/es/Table/react-table-config.d.ts +122 -0
- package/es/Table/style/index.css +248 -0
- package/es/Table/style/index.js +1 -1
- package/es/Tabs/index.d.ts +1 -0
- package/es/Tabs/style/index.css +194 -0
- package/es/Tabs/style/index.js +1 -1
- package/es/Tooltip/style/index.css +154 -0
- package/es/Tooltip/style/index.js +1 -1
- package/es/index.d.ts +10 -0
- package/es/style/index.css +145 -0
- package/es/style/index.js +1 -1
- package/es/{Button/demo/disable/index.less → style/mixins/index.css} +0 -0
- package/es/style/themes/default/index.css +145 -0
- package/es/style/themes/default/themeColor.module.css +145 -0
- package/lib/Button/style/index.css +374 -0
- package/lib/Button/style/index.js +1 -1
- package/lib/Dropdown/index.d.ts +1 -0
- package/lib/Dropdown/style/index.css +178 -0
- package/lib/Dropdown/style/index.js +1 -1
- package/lib/Empty/style/index.css +162 -0
- package/lib/Empty/style/index.js +1 -1
- package/lib/Icon/iconfont/demo_index.html +49 -3
- package/lib/Icon/iconfont/iconfont.css +11 -3
- package/lib/Icon/iconfont/iconfont.js +5 -5
- package/lib/Icon/iconfont/iconfont.json +14 -0
- package/lib/Icon/iconfont/iconfont.ttf +0 -0
- package/lib/Icon/iconfont/iconfont.woff +0 -0
- package/lib/Icon/iconfont/iconfont.woff2 +0 -0
- package/lib/Icon/index.css +8 -0
- package/lib/Input/components/Group/index.d.ts +3 -1
- package/lib/Input/components/Password/index.d.ts +1 -0
- package/lib/Input/index.d.ts +1 -1
- package/lib/Input/style/index.css +215 -0
- package/lib/Input/style/index.js +1 -1
- package/lib/Menu/Divider.d.ts +1 -0
- package/lib/Menu/MenuItem.d.ts +7 -0
- package/lib/Menu/index.d.ts +1 -0
- package/lib/Menu/style/index.css +208 -0
- package/lib/Menu/style/index.js +1 -1
- package/lib/Navigator/style/index.css +328 -0
- package/lib/Navigator/style/index.js +1 -1
- package/lib/Select/Selector/index.js +1 -1
- package/lib/Select/style/index.css +493 -0
- package/lib/Select/style/index.js +1 -1
- package/lib/Table/index.d.ts +1 -1
- package/lib/Table/index.js +191 -54
- package/lib/Table/interface.d.ts +26 -6
- package/lib/Table/react-table-config.d.ts +122 -0
- package/lib/Table/style/index.css +248 -0
- package/lib/Table/style/index.js +1 -1
- package/lib/Tabs/index.d.ts +1 -0
- package/lib/Tabs/style/index.css +194 -0
- package/lib/Tabs/style/index.js +1 -1
- package/lib/Tooltip/style/index.css +154 -0
- package/lib/Tooltip/style/index.js +1 -1
- package/lib/index.d.ts +10 -0
- package/lib/style/index.css +145 -0
- package/lib/style/index.js +1 -1
- package/{es/Input/demo/allowClear/index.less → lib/style/mixins/index.css} +0 -0
- package/lib/style/themes/default/index.css +145 -0
- package/lib/style/themes/default/themeColor.module.css +145 -0
- package/package.json +1 -1
- package/es/Button/demo/Icon/index.d.ts +0 -3
- package/es/Button/demo/Icon/index.js +0 -67
- package/es/Button/demo/Icon/index.less +0 -6
- package/es/Button/demo/basic/index.d.ts +0 -4
- package/es/Button/demo/basic/index.js +0 -57
- package/es/Button/demo/basic/index.less +0 -6
- package/es/Button/demo/disable/index.d.ts +0 -3
- package/es/Button/demo/disable/index.js +0 -23
- package/es/Button/demo/href/index.d.ts +0 -2
- package/es/Button/demo/href/index.js +0 -17
- package/es/Button/demo/loading/index.d.ts +0 -3
- package/es/Button/demo/loading/index.js +0 -37
- package/es/Button/demo/loading/index.less +0 -6
- package/es/Button/style/index.less +0 -255
- package/es/Dropdown/demo/basic/index.d.ts +0 -4
- package/es/Dropdown/demo/basic/index.js +0 -18
- package/es/Dropdown/demo/button/index.d.ts +0 -3
- package/es/Dropdown/demo/button/index.js +0 -159
- package/es/Dropdown/demo/button/index.less +0 -9
- package/es/Dropdown/demo/placement/index.d.ts +0 -2
- package/es/Dropdown/demo/placement/index.js +0 -40
- package/es/Dropdown/demo/subMenu/index.d.ts +0 -2
- package/es/Dropdown/demo/subMenu/index.js +0 -42
- package/es/Dropdown/demo/trigger/index.d.ts +0 -2
- package/es/Dropdown/demo/trigger/index.js +0 -17
- package/es/Dropdown/style/index.less +0 -40
- package/es/Empty/style/index.less +0 -23
- package/es/Icon/index.less +0 -32
- package/es/Input/demo/allowClear/index.d.ts +0 -3
- package/es/Input/demo/allowClear/index.js +0 -11
- package/es/Input/demo/basic/index.d.ts +0 -4
- package/es/Input/demo/basic/index.js +0 -65
- package/es/Input/demo/basic/index.less +0 -14
- package/es/Input/demo/gourp/index.d.ts +0 -2
- package/es/Input/demo/gourp/index.js +0 -67
- package/es/Input/demo/password/index.d.ts +0 -3
- package/es/Input/demo/password/index.js +0 -21
- package/es/Input/demo/password/index.less +0 -0
- package/es/Input/demo/prefix/index.d.ts +0 -3
- package/es/Input/demo/prefix/index.js +0 -17
- package/es/Input/demo/prefix/index.less +0 -0
- package/es/Input/demo/showCount/index.d.ts +0 -3
- package/es/Input/demo/showCount/index.js +0 -17
- package/es/Input/demo/showCount/index.less +0 -0
- package/es/Input/demo/textArea/autoSize.d.ts +0 -2
- package/es/Input/demo/textArea/autoSize.js +0 -50
- package/es/Input/style/index.less +0 -65
- package/es/Menu/style/index.less +0 -37
- package/es/Navigator/demo/basic/index.d.ts +0 -4
- package/es/Navigator/demo/basic/index.js +0 -45
- package/es/Navigator/demo/basic/index.less +0 -3
- package/es/Navigator/demo/example/index.d.ts +0 -4
- package/es/Navigator/demo/example/index.js +0 -153
- package/es/Navigator/demo/example/index.less +0 -10
- package/es/Navigator/demo/logo.png +0 -0
- package/es/Navigator/demo/menuWithFooter/index.d.ts +0 -4
- package/es/Navigator/demo/menuWithFooter/index.js +0 -73
- package/es/Navigator/demo/menuWithFooter/index.less +0 -3
- package/es/Navigator/demo/subMenu/index.d.ts +0 -4
- package/es/Navigator/demo/subMenu/index.js +0 -71
- package/es/Navigator/demo/subMenu/index.less +0 -3
- package/es/Navigator/style/index.less +0 -224
- package/es/Select/demo/disabled/index.d.ts +0 -2
- package/es/Select/demo/disabled/index.js +0 -50
- package/es/Select/demo/multiple/index.d.ts +0 -2
- package/es/Select/demo/multiple/index.js +0 -140
- package/es/Select/demo/options/index.d.ts +0 -2
- package/es/Select/demo/options/index.js +0 -55
- package/es/Select/demo/single/index.d.ts +0 -3
- package/es/Select/demo/single/index.js +0 -89
- package/es/Select/demo/single/index.less +0 -5
- package/es/Select/style/index.less +0 -532
- package/es/Table/demo/basic/createData.d.ts +0 -9
- package/es/Table/demo/basic/createData.js +0 -18
- package/es/Table/demo/basic/index.d.ts +0 -2
- package/es/Table/demo/basic/index.js +0 -64
- package/es/Table/demo/editCell/index.d.ts +0 -2
- package/es/Table/demo/editCell/index.js +0 -39
- package/es/Table/demo/renderHeaderRight/index.d.ts +0 -2
- package/es/Table/demo/renderHeaderRight/index.js +0 -37
- package/es/Table/demo/rowSelect/index.d.ts +0 -2
- package/es/Table/demo/rowSelect/index.js +0 -40
- package/es/Table/demo/sort/index.d.ts +0 -2
- package/es/Table/demo/sort/index.js +0 -32
- package/es/Table/demo/virtualList/index.d.ts +0 -2
- package/es/Table/demo/virtualList/index.js +0 -88
- package/es/Table/style/index.less +0 -111
- package/es/Tabs/demo/adaptHeight/index.d.ts +0 -3
- package/es/Tabs/demo/adaptHeight/index.js +0 -19
- package/es/Tabs/demo/adaptHeight/index.less +0 -3
- package/es/Tabs/demo/basic/index.d.ts +0 -4
- package/es/Tabs/demo/basic/index.js +0 -44
- package/es/Tabs/demo/basic/index.less +0 -5
- package/es/Tabs/demo/horizontalScroll/index.d.ts +0 -3
- package/es/Tabs/demo/horizontalScroll/index.js +0 -30
- package/es/Tabs/demo/horizontalScroll/index.less +0 -3
- package/es/Tabs/style/index.less +0 -61
- package/es/Tooltip/demo/basic/index.d.ts +0 -2
- package/es/Tooltip/demo/basic/index.js +0 -7
- package/es/Tooltip/demo/overflow/index.d.ts +0 -2
- package/es/Tooltip/demo/overflow/index.js +0 -7
- package/es/Tooltip/demo/placement/index.d.ts +0 -6
- package/es/Tooltip/demo/placement/index.js +0 -70
- package/es/Tooltip/demo/placement/index.less +0 -7
- package/es/Tooltip/demo/trigger/index.d.ts +0 -3
- package/es/Tooltip/demo/trigger/index.js +0 -20
- package/es/Tooltip/demo/trigger/index.less +0 -5
- package/es/Tooltip/style/index.less +0 -14
- package/es/style/index.less +0 -3
- package/es/style/mixins/index.less +0 -0
- package/es/style/themes/default/index.less +0 -36
- package/es/style/themes/default/themeColor.module.less +0 -259
- package/lib/Button/demo/Icon/index.d.ts +0 -3
- package/lib/Button/demo/Icon/index.js +0 -82
- package/lib/Button/demo/Icon/index.less +0 -6
- package/lib/Button/demo/basic/index.d.ts +0 -4
- package/lib/Button/demo/basic/index.js +0 -73
- package/lib/Button/demo/basic/index.less +0 -6
- package/lib/Button/demo/disable/index.d.ts +0 -3
- package/lib/Button/demo/disable/index.js +0 -37
- package/lib/Button/demo/disable/index.less +0 -0
- package/lib/Button/demo/href/index.d.ts +0 -2
- package/lib/Button/demo/href/index.js +0 -30
- package/lib/Button/demo/loading/index.d.ts +0 -3
- package/lib/Button/demo/loading/index.js +0 -51
- package/lib/Button/demo/loading/index.less +0 -6
- package/lib/Button/style/index.less +0 -255
- package/lib/Dropdown/demo/basic/index.d.ts +0 -4
- package/lib/Dropdown/demo/basic/index.js +0 -35
- package/lib/Dropdown/demo/button/index.d.ts +0 -3
- package/lib/Dropdown/demo/button/index.js +0 -182
- package/lib/Dropdown/demo/button/index.less +0 -9
- package/lib/Dropdown/demo/placement/index.d.ts +0 -2
- package/lib/Dropdown/demo/placement/index.js +0 -56
- package/lib/Dropdown/demo/subMenu/index.d.ts +0 -2
- package/lib/Dropdown/demo/subMenu/index.js +0 -59
- package/lib/Dropdown/demo/trigger/index.d.ts +0 -2
- package/lib/Dropdown/demo/trigger/index.js +0 -32
- package/lib/Dropdown/style/index.less +0 -40
- package/lib/Empty/style/index.less +0 -23
- package/lib/Icon/index.less +0 -32
- package/lib/Input/demo/allowClear/index.d.ts +0 -3
- package/lib/Input/demo/allowClear/index.js +0 -25
- package/lib/Input/demo/allowClear/index.less +0 -0
- package/lib/Input/demo/basic/index.d.ts +0 -4
- package/lib/Input/demo/basic/index.js +0 -80
- package/lib/Input/demo/basic/index.less +0 -14
- package/lib/Input/demo/gourp/index.d.ts +0 -2
- package/lib/Input/demo/gourp/index.js +0 -81
- package/lib/Input/demo/password/index.d.ts +0 -3
- package/lib/Input/demo/password/index.js +0 -35
- package/lib/Input/demo/password/index.less +0 -0
- package/lib/Input/demo/prefix/index.d.ts +0 -3
- package/lib/Input/demo/prefix/index.js +0 -32
- package/lib/Input/demo/prefix/index.less +0 -0
- package/lib/Input/demo/showCount/index.d.ts +0 -3
- package/lib/Input/demo/showCount/index.js +0 -31
- package/lib/Input/demo/showCount/index.less +0 -0
- package/lib/Input/demo/textArea/autoSize.d.ts +0 -2
- package/lib/Input/demo/textArea/autoSize.js +0 -63
- package/lib/Input/style/index.less +0 -65
- package/lib/Menu/style/index.less +0 -37
- package/lib/Navigator/demo/basic/index.d.ts +0 -4
- package/lib/Navigator/demo/basic/index.js +0 -62
- package/lib/Navigator/demo/basic/index.less +0 -3
- package/lib/Navigator/demo/example/index.d.ts +0 -4
- package/lib/Navigator/demo/example/index.js +0 -179
- package/lib/Navigator/demo/example/index.less +0 -10
- package/lib/Navigator/demo/logo.png +0 -0
- package/lib/Navigator/demo/menuWithFooter/index.d.ts +0 -4
- package/lib/Navigator/demo/menuWithFooter/index.js +0 -92
- package/lib/Navigator/demo/menuWithFooter/index.less +0 -3
- package/lib/Navigator/demo/subMenu/index.d.ts +0 -4
- package/lib/Navigator/demo/subMenu/index.js +0 -88
- package/lib/Navigator/demo/subMenu/index.less +0 -3
- package/lib/Navigator/style/index.less +0 -224
- package/lib/Select/demo/disabled/index.d.ts +0 -2
- package/lib/Select/demo/disabled/index.js +0 -64
- package/lib/Select/demo/multiple/index.d.ts +0 -2
- package/lib/Select/demo/multiple/index.js +0 -154
- package/lib/Select/demo/options/index.d.ts +0 -2
- package/lib/Select/demo/options/index.js +0 -69
- package/lib/Select/demo/single/index.d.ts +0 -3
- package/lib/Select/demo/single/index.js +0 -103
- package/lib/Select/demo/single/index.less +0 -5
- package/lib/Select/style/index.less +0 -532
- package/lib/Table/demo/basic/createData.d.ts +0 -9
- package/lib/Table/demo/basic/createData.js +0 -23
- package/lib/Table/demo/basic/index.d.ts +0 -2
- package/lib/Table/demo/basic/index.js +0 -80
- package/lib/Table/demo/editCell/index.d.ts +0 -2
- package/lib/Table/demo/editCell/index.js +0 -54
- package/lib/Table/demo/renderHeaderRight/index.d.ts +0 -2
- package/lib/Table/demo/renderHeaderRight/index.js +0 -52
- package/lib/Table/demo/rowSelect/index.d.ts +0 -2
- package/lib/Table/demo/rowSelect/index.js +0 -55
- package/lib/Table/demo/sort/index.d.ts +0 -2
- package/lib/Table/demo/sort/index.js +0 -47
- package/lib/Table/demo/virtualList/index.d.ts +0 -2
- package/lib/Table/demo/virtualList/index.js +0 -103
- package/lib/Table/style/index.less +0 -111
- package/lib/Tabs/demo/adaptHeight/index.d.ts +0 -3
- package/lib/Tabs/demo/adaptHeight/index.js +0 -34
- package/lib/Tabs/demo/adaptHeight/index.less +0 -3
- package/lib/Tabs/demo/basic/index.d.ts +0 -4
- package/lib/Tabs/demo/basic/index.js +0 -67
- package/lib/Tabs/demo/basic/index.less +0 -5
- package/lib/Tabs/demo/horizontalScroll/index.d.ts +0 -3
- package/lib/Tabs/demo/horizontalScroll/index.js +0 -45
- package/lib/Tabs/demo/horizontalScroll/index.less +0 -3
- package/lib/Tabs/style/index.less +0 -61
- package/lib/Tooltip/demo/basic/index.d.ts +0 -2
- package/lib/Tooltip/demo/basic/index.js +0 -20
- package/lib/Tooltip/demo/overflow/index.d.ts +0 -2
- package/lib/Tooltip/demo/overflow/index.js +0 -20
- package/lib/Tooltip/demo/placement/index.d.ts +0 -6
- package/lib/Tooltip/demo/placement/index.js +0 -86
- package/lib/Tooltip/demo/placement/index.less +0 -7
- package/lib/Tooltip/demo/trigger/index.d.ts +0 -3
- package/lib/Tooltip/demo/trigger/index.js +0 -34
- package/lib/Tooltip/demo/trigger/index.less +0 -5
- package/lib/Tooltip/style/index.less +0 -14
- package/lib/style/index.less +0 -3
- package/lib/style/mixins/index.less +0 -0
- package/lib/style/themes/default/index.less +0 -36
- package/lib/style/themes/default/themeColor.module.less +0 -259
package/es/Icon/index.less
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
.icon {
|
|
2
|
-
font-size: 16px;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
@icon-font: ald-iconfont;
|
|
6
|
-
|
|
7
|
-
@font-face {
|
|
8
|
-
font-family: @icon-font; /* Project id 3211525 */
|
|
9
|
-
src:
|
|
10
|
-
|
|
11
|
-
url('data:application/x-font-woff2;charset=utf-8;base64,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') format('woff2'),
|
|
12
|
-
url('./iconfont/iconfont.woff?t=1647397705406') format('woff'),
|
|
13
|
-
url('./iconfont/iconfont.ttf?t=1647397705406') format('truetype');
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.ald-iconfont(@content; @font-size: 16px) {
|
|
17
|
-
font-family: @icon-font !important;
|
|
18
|
-
font-size: 16px;
|
|
19
|
-
font-style: normal;
|
|
20
|
-
-webkit-font-smoothing: antialiased;
|
|
21
|
-
-moz-osx-font-smoothing: grayscale;
|
|
22
|
-
|
|
23
|
-
&::before {
|
|
24
|
-
content: @content;
|
|
25
|
-
font-size: @font-size;
|
|
26
|
-
display: inline-block;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
& > svg {
|
|
30
|
-
display: none;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Input } from '@aloudata/aloudata-design';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export default (function () {
|
|
5
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
6
|
-
className: "ald-input-demo"
|
|
7
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
8
|
-
placeholder: "123",
|
|
9
|
-
allowClear: true
|
|
10
|
-
}));
|
|
11
|
-
});
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2
|
-
|
|
3
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4
|
-
|
|
5
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
6
|
-
|
|
7
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
8
|
-
|
|
9
|
-
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
10
|
-
|
|
11
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
12
|
-
|
|
13
|
-
import React from 'react';
|
|
14
|
-
import { Input } from '@aloudata/aloudata-design';
|
|
15
|
-
import '../../style';
|
|
16
|
-
import './index.less';
|
|
17
|
-
export default (function () {
|
|
18
|
-
var _React$useState = React.useState(''),
|
|
19
|
-
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
20
|
-
value = _React$useState2[0],
|
|
21
|
-
setValue = _React$useState2[1];
|
|
22
|
-
|
|
23
|
-
var onChange = function onChange(e) {
|
|
24
|
-
setValue(e.target.value);
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
28
|
-
className: 'ald-input-demo'
|
|
29
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
30
|
-
style: {
|
|
31
|
-
width: 240
|
|
32
|
-
},
|
|
33
|
-
className: "ald-input",
|
|
34
|
-
size: "small",
|
|
35
|
-
placeholder: "small"
|
|
36
|
-
}), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(Input, {
|
|
37
|
-
style: {
|
|
38
|
-
width: 240
|
|
39
|
-
},
|
|
40
|
-
className: "ald-input",
|
|
41
|
-
placeholder: "default"
|
|
42
|
-
}), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(Input, {
|
|
43
|
-
value: value,
|
|
44
|
-
style: {
|
|
45
|
-
width: 240
|
|
46
|
-
},
|
|
47
|
-
className: "ald-input",
|
|
48
|
-
size: "large",
|
|
49
|
-
onChange: onChange,
|
|
50
|
-
placeholder: "large"
|
|
51
|
-
}), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(Input, {
|
|
52
|
-
style: {
|
|
53
|
-
width: 240
|
|
54
|
-
},
|
|
55
|
-
size: "large",
|
|
56
|
-
className: "ald-input",
|
|
57
|
-
defaultValue: 'Input large size with value'
|
|
58
|
-
}), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(Input, {
|
|
59
|
-
style: {
|
|
60
|
-
width: 240
|
|
61
|
-
},
|
|
62
|
-
disabled: true,
|
|
63
|
-
value: "disabled"
|
|
64
|
-
}));
|
|
65
|
-
});
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import "antd/es/radio/style";
|
|
2
|
-
import _Radio from "antd/es/radio";
|
|
3
|
-
|
|
4
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
5
|
-
|
|
6
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
7
|
-
|
|
8
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
9
|
-
|
|
10
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
11
|
-
|
|
12
|
-
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
13
|
-
|
|
14
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
15
|
-
|
|
16
|
-
import React from 'react';
|
|
17
|
-
import { Input } from '@aloudata/aloudata-design';
|
|
18
|
-
export default (function () {
|
|
19
|
-
var _React$useState = React.useState('large'),
|
|
20
|
-
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
21
|
-
size = _React$useState2[0],
|
|
22
|
-
setSize = _React$useState2[1];
|
|
23
|
-
|
|
24
|
-
var _React$useState3 = React.useState(false),
|
|
25
|
-
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
26
|
-
compact = _React$useState4[0],
|
|
27
|
-
setCompact = _React$useState4[1];
|
|
28
|
-
|
|
29
|
-
var handleSizeChange = function handleSizeChange(e) {
|
|
30
|
-
setSize(e.target.value);
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
var handleCompactChange = function handleCompactChange(e) {
|
|
34
|
-
setCompact(e.target.value);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
38
|
-
className: "ald-input-demo"
|
|
39
|
-
}, /*#__PURE__*/React.createElement(_Radio.Group, {
|
|
40
|
-
value: size,
|
|
41
|
-
onChange: handleSizeChange
|
|
42
|
-
}, /*#__PURE__*/React.createElement(_Radio.Button, {
|
|
43
|
-
value: "large"
|
|
44
|
-
}, "Large"), /*#__PURE__*/React.createElement(_Radio.Button, null, "Default"), /*#__PURE__*/React.createElement(_Radio.Button, {
|
|
45
|
-
value: "small"
|
|
46
|
-
}, "Small")), /*#__PURE__*/React.createElement(_Radio.Group, {
|
|
47
|
-
value: compact,
|
|
48
|
-
onChange: handleCompactChange
|
|
49
|
-
}, /*#__PURE__*/React.createElement(_Radio.Button, {
|
|
50
|
-
value: true
|
|
51
|
-
}, "compact\u7D27\u51D1\u6A21\u5F0F"), /*#__PURE__*/React.createElement(_Radio.Button, {
|
|
52
|
-
value: false
|
|
53
|
-
}, "\u6B63\u5E38\u6A21\u5F0F")), /*#__PURE__*/React.createElement(Input.Group, {
|
|
54
|
-
size: size,
|
|
55
|
-
compact: compact
|
|
56
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
57
|
-
style: {
|
|
58
|
-
width: '10%'
|
|
59
|
-
},
|
|
60
|
-
defaultValue: "+80"
|
|
61
|
-
}), /*#__PURE__*/React.createElement(Input, {
|
|
62
|
-
style: {
|
|
63
|
-
width: '40%'
|
|
64
|
-
},
|
|
65
|
-
defaultValue: "13389898989"
|
|
66
|
-
})));
|
|
67
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Input } from '@aloudata/aloudata-design';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export default (function () {
|
|
5
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
6
|
-
className: "ald-input-demo"
|
|
7
|
-
}, /*#__PURE__*/React.createElement(Input.Password, {
|
|
8
|
-
className: "ald-input",
|
|
9
|
-
style: {
|
|
10
|
-
width: 240
|
|
11
|
-
},
|
|
12
|
-
size: "small",
|
|
13
|
-
placeholder: "123"
|
|
14
|
-
}), /*#__PURE__*/React.createElement(Input.Password, {
|
|
15
|
-
style: {
|
|
16
|
-
width: 240
|
|
17
|
-
},
|
|
18
|
-
size: "large",
|
|
19
|
-
placeholder: "123"
|
|
20
|
-
}));
|
|
21
|
-
});
|
|
File without changes
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Input } from '@aloudata/aloudata-design';
|
|
3
|
-
import './index.less';
|
|
4
|
-
import Icon from '../../../Icon';
|
|
5
|
-
export default (function () {
|
|
6
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
7
|
-
className: "ald-input-demo"
|
|
8
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
9
|
-
prefix: /*#__PURE__*/React.createElement("span", null, "prefix"),
|
|
10
|
-
placeholder: "placeholder"
|
|
11
|
-
}), /*#__PURE__*/React.createElement(Input, {
|
|
12
|
-
prefix: /*#__PURE__*/React.createElement(Icon, {
|
|
13
|
-
type: "Groupby_flash_on_line"
|
|
14
|
-
}),
|
|
15
|
-
placeholder: "placeholder"
|
|
16
|
-
}));
|
|
17
|
-
});
|
|
File without changes
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Input } from '@aloudata/aloudata-design';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export default (function () {
|
|
5
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
6
|
-
className: "ald-input-demo"
|
|
7
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
8
|
-
showCount: {
|
|
9
|
-
formatter: function formatter(info) {
|
|
10
|
-
var count = info.count,
|
|
11
|
-
maxLength = info.maxLength;
|
|
12
|
-
return "\u5F53\u524D\u957F\u5EA6\u4E3A\uFF1A".concat(count, ",\u6700\u5927\u957F\u5EA6\u4E3A\uFF1A").concat(maxLength);
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
maxLength: 10
|
|
16
|
-
}));
|
|
17
|
-
});
|
|
File without changes
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2
|
-
|
|
3
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4
|
-
|
|
5
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
6
|
-
|
|
7
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
8
|
-
|
|
9
|
-
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
10
|
-
|
|
11
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
12
|
-
|
|
13
|
-
import React from 'react';
|
|
14
|
-
import { Input, Button } from '@aloudata/aloudata-design';
|
|
15
|
-
export default (function () {
|
|
16
|
-
var _React$useState = React.useState(1),
|
|
17
|
-
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
18
|
-
maxRow = _React$useState2[0],
|
|
19
|
-
setMaxRow = _React$useState2[1];
|
|
20
|
-
|
|
21
|
-
var onClick = function onClick() {
|
|
22
|
-
setMaxRow(maxRow + 1);
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
var showCount = function showCount(args) {
|
|
26
|
-
var count = args.count,
|
|
27
|
-
maxLength = args.maxLength;
|
|
28
|
-
return "\u5F53\u524D\u957F\u5EA6\u4E3A\uFF1A".concat(count, ",\u6700\u5927\u957F\u5EA6\u4E3A\uFF1A").concat(maxLength);
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
32
|
-
className: "ald-input-demo"
|
|
33
|
-
}, /*#__PURE__*/React.createElement("span", null, "autoSize\u5C5E\u6027\u81EA\u52A8\u8C03\u6574\u9AD8\u5EA6\uFF0C\u4E0D\u53EF\u62D6\u62FD\u8C03\u9AD8\uFF0C\u5F53\u524D\u6700\u9AD8", maxRow, "\u884C"), /*#__PURE__*/React.createElement(Button, {
|
|
34
|
-
size: "small",
|
|
35
|
-
onClick: onClick
|
|
36
|
-
}, "\u589E\u52A0\u6700\u5927\u884C\u6570"), /*#__PURE__*/React.createElement(Input.TextArea, {
|
|
37
|
-
id: "ald-input-textArea",
|
|
38
|
-
maxLength: 20,
|
|
39
|
-
autoSize: {
|
|
40
|
-
minRows: 1,
|
|
41
|
-
maxRows: maxRow
|
|
42
|
-
}
|
|
43
|
-
}), /*#__PURE__*/React.createElement("span", null, "\u5E26\u5C55\u793A\u5B57\u6570\u63D0\u793A"), /*#__PURE__*/React.createElement(Input.TextArea, {
|
|
44
|
-
id: "ald-input-textArea",
|
|
45
|
-
showCount: {
|
|
46
|
-
formatter: showCount
|
|
47
|
-
},
|
|
48
|
-
maxLength: 20
|
|
49
|
-
}));
|
|
50
|
-
});
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
@import '../../style/index.less';
|
|
2
|
-
@import '../../Icon/index.less';
|
|
3
|
-
|
|
4
|
-
@ald-prefix:ant;
|
|
5
|
-
|
|
6
|
-
@ald-iconfont-css-prefix:anticon;
|
|
7
|
-
.@{ald-prefix}-input {
|
|
8
|
-
color: @NL0;
|
|
9
|
-
border-radius: @border-radius-base;
|
|
10
|
-
|
|
11
|
-
&::placeholder {
|
|
12
|
-
color: @NL50;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&-prefix {
|
|
16
|
-
color: @NL30;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&-suffix {
|
|
20
|
-
color: @NL60;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&:focus,
|
|
24
|
-
&-focused {
|
|
25
|
-
border-color: @B40;
|
|
26
|
-
box-shadow: none;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&[disabled] {
|
|
30
|
-
border-color: @NL90;
|
|
31
|
-
background-color: @NL95;
|
|
32
|
-
color: @NL80;
|
|
33
|
-
|
|
34
|
-
&::placeholder {
|
|
35
|
-
color: @NL80;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&-sm {
|
|
40
|
-
border-radius: @border-radius-sm;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&-affix-wrapper {
|
|
44
|
-
border-radius: @border-radius-base;
|
|
45
|
-
|
|
46
|
-
&-hover,
|
|
47
|
-
&-focused,
|
|
48
|
-
&:hover {
|
|
49
|
-
box-shadow: unset;
|
|
50
|
-
}
|
|
51
|
-
.@{ald-prefix}-input {
|
|
52
|
-
border-radius: 0;
|
|
53
|
-
caret-color: @B40;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&-sm {
|
|
57
|
-
border-radius: @border-radius-sm;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
.@{ald-iconfont-css-prefix} {
|
|
62
|
-
&.@{ald-iconfont-css-prefix}-close-circle, &.@{ald-prefix}-clear-icon {
|
|
63
|
-
.ald-iconfont('\e616');
|
|
64
|
-
}
|
|
65
|
-
}
|
package/es/Menu/style/index.less
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
@import '../../style/index.less';
|
|
2
|
-
@import '../../Icon/index.less';
|
|
3
|
-
|
|
4
|
-
.menu-popup {
|
|
5
|
-
border: 1px solid @NL95;
|
|
6
|
-
box-shadow: @shadow-actionsheet;
|
|
7
|
-
border-radius: @border-radius-base;
|
|
8
|
-
background: @BG100;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.ald-menu,
|
|
12
|
-
.ald-submenu {
|
|
13
|
-
.menu-popup();
|
|
14
|
-
|
|
15
|
-
.ant-dropdown-menu-item-divider,
|
|
16
|
-
.ant-dropdown-menu-submenu-title-divider {
|
|
17
|
-
background-color: @NL90;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.ald-iconfont {
|
|
21
|
-
font-family: @icon-font !important;
|
|
22
|
-
font-size: 16px;
|
|
23
|
-
font-style: normal;
|
|
24
|
-
-webkit-font-smoothing: antialiased;
|
|
25
|
-
-moz-osx-font-smoothing: grayscale;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// 替换二级菜单箭头icon
|
|
29
|
-
.ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon,
|
|
30
|
-
.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon {
|
|
31
|
-
.ald-iconfont('\e691');
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
|
|
35
|
-
background-color: unset;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Navigator } from '@aloudata/aloudata-design';
|
|
3
|
-
import logoSrc from '../logo.png';
|
|
4
|
-
import Icon from '../../../Icon'; // import { IMenuItem } from '@aloudata/aloudata-design/lib/Navigator';
|
|
5
|
-
|
|
6
|
-
import '../../style/index.less';
|
|
7
|
-
import './index.less';
|
|
8
|
-
export default (function () {
|
|
9
|
-
var mockData = [{
|
|
10
|
-
title: '查询',
|
|
11
|
-
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
12
|
-
type: 'add'
|
|
13
|
-
}),
|
|
14
|
-
key: 'query',
|
|
15
|
-
path: '/query'
|
|
16
|
-
}, {
|
|
17
|
-
title: '数据',
|
|
18
|
-
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
19
|
-
type: 'add'
|
|
20
|
-
}),
|
|
21
|
-
key: 'data',
|
|
22
|
-
path: '/data'
|
|
23
|
-
}, {
|
|
24
|
-
title: '计算',
|
|
25
|
-
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
26
|
-
type: 'add'
|
|
27
|
-
}),
|
|
28
|
-
key: 'calculate',
|
|
29
|
-
path: '/calculate'
|
|
30
|
-
}, {
|
|
31
|
-
title: '测试',
|
|
32
|
-
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
33
|
-
type: 'add'
|
|
34
|
-
}),
|
|
35
|
-
key: 'test',
|
|
36
|
-
path: '/calculate'
|
|
37
|
-
}];
|
|
38
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
39
|
-
className: 'ald-nav-demo'
|
|
40
|
-
}, /*#__PURE__*/React.createElement(Navigator, {
|
|
41
|
-
menuList: mockData,
|
|
42
|
-
defaultSelectedKey: "dataSpace",
|
|
43
|
-
logoSrc: logoSrc
|
|
44
|
-
}));
|
|
45
|
-
});
|