@lowdefy/blocks-antd 4.0.0-alpha.1 → 4.0.0-alpha.12
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/blocks/Affix/Affix.js +11 -6
- package/dist/blocks/Affix/style.less +1 -1
- package/dist/blocks/Alert/Alert.js +28 -10
- package/dist/blocks/Alert/style.less +1 -1
- package/dist/blocks/AutoComplete/AutoComplete.js +41 -34
- package/dist/blocks/AutoComplete/style.less +1 -1
- package/dist/blocks/Avatar/Avatar.js +12 -7
- package/dist/blocks/Avatar/schema.json +1 -1
- package/dist/blocks/Avatar/style.less +1 -1
- package/dist/blocks/Badge/Badge.js +12 -7
- package/dist/blocks/Badge/schema.json +1 -1
- package/dist/blocks/Badge/style.less +1 -1
- package/dist/blocks/Breadcrumb/Breadcrumb.js +56 -64
- package/dist/blocks/Breadcrumb/schema.json +1 -1
- package/dist/blocks/Breadcrumb/style.less +1 -1
- package/dist/blocks/Button/Button.js +22 -13
- package/dist/blocks/Button/schema.json +1 -1
- package/dist/blocks/Button/style.less +1 -1
- package/dist/blocks/ButtonSelector/ButtonSelector.js +36 -29
- package/dist/blocks/ButtonSelector/style.less +1 -1
- package/dist/blocks/Card/Card.js +11 -6
- package/dist/blocks/Card/style.less +1 -1
- package/dist/blocks/CheckboxSelector/CheckboxSelector.js +40 -34
- package/dist/blocks/CheckboxSelector/style.less +1 -1
- package/dist/blocks/CheckboxSwitch/CheckboxSwitch.js +21 -15
- package/dist/blocks/CheckboxSwitch/style.less +1 -1
- package/dist/blocks/Collapse/Collapse.js +38 -21
- package/dist/blocks/Collapse/schema.json +1 -1
- package/dist/blocks/Collapse/style.less +1 -1
- package/dist/blocks/Comment/Comment.js +13 -9
- package/dist/blocks/Comment/style.less +1 -1
- package/dist/blocks/ConfirmModal/ConfirmModal.js +28 -10
- package/dist/blocks/ConfirmModal/schema.json +1 -1
- package/dist/blocks/ConfirmModal/style.less +1 -1
- package/dist/blocks/Content/Content.js +11 -6
- package/dist/blocks/Content/style.less +1 -1
- package/dist/blocks/ControlledList/ControlledList.js +61 -63
- package/dist/blocks/ControlledList/style.less +1 -1
- package/dist/blocks/DateRangeSelector/DateRangeSelector.js +55 -50
- package/dist/blocks/DateRangeSelector/schema.json +2 -2
- package/dist/blocks/DateRangeSelector/style.less +1 -1
- package/dist/blocks/DateSelector/DateSelector.js +49 -44
- package/dist/blocks/DateSelector/schema.json +2 -2
- package/dist/blocks/DateSelector/style.less +1 -1
- package/dist/blocks/DateTimeSelector/DateTimeSelector.js +56 -51
- package/dist/blocks/DateTimeSelector/schema.json +2 -2
- package/dist/blocks/DateTimeSelector/style.less +1 -1
- package/dist/blocks/Descriptions/Descriptions.js +42 -38
- package/dist/blocks/Descriptions/style.less +1 -1
- package/dist/blocks/Divider/Divider.js +14 -9
- package/dist/blocks/Divider/style.less +1 -1
- package/dist/blocks/Drawer/Drawer.js +11 -6
- package/dist/blocks/Drawer/style.less +1 -1
- package/dist/blocks/Footer/Footer.js +11 -6
- package/dist/blocks/Footer/style.less +1 -1
- package/dist/blocks/Header/Header.js +11 -9
- package/dist/blocks/Header/schema.json +0 -4
- package/dist/blocks/Header/style.less +1 -1
- package/dist/blocks/Label/Label.js +70 -67
- package/dist/blocks/Label/getLabelCol.js +1 -1
- package/dist/blocks/Label/getWrapperCol.js +1 -1
- package/dist/blocks/Label/labelLogic.js +2 -3
- package/dist/blocks/Label/style.less +1 -1
- package/dist/blocks/Layout/Layout.js +11 -6
- package/dist/blocks/Layout/style.less +1 -1
- package/dist/blocks/Menu/Menu.js +123 -218
- package/dist/blocks/Menu/schema.json +1 -15
- package/dist/blocks/Menu/style.less +1 -1
- package/dist/blocks/Message/Message.js +11 -6
- package/dist/blocks/Message/schema.json +1 -1
- package/dist/blocks/Message/style.less +1 -1
- package/dist/blocks/MobileMenu/MobileMenu.js +85 -85
- package/dist/blocks/MobileMenu/schema.json +1 -15
- package/dist/blocks/MobileMenu/style.less +1 -1
- package/dist/blocks/Modal/Modal.js +76 -60
- package/dist/blocks/Modal/style.less +1 -1
- package/dist/blocks/MonthSelector/MonthSelector.js +47 -42
- package/dist/blocks/MonthSelector/schema.json +2 -2
- package/dist/blocks/MonthSelector/style.less +1 -1
- package/dist/blocks/MultipleSelector/MultipleSelector.js +104 -99
- package/dist/blocks/MultipleSelector/schema.json +6 -6
- package/dist/blocks/MultipleSelector/style.less +1 -1
- package/dist/blocks/Notification/Notification.js +13 -8
- package/dist/blocks/Notification/schema.json +2 -2
- package/dist/blocks/Notification/style.less +1 -1
- package/dist/blocks/NumberInput/NumberInput.js +14 -6
- package/dist/blocks/NumberInput/style.less +1 -1
- package/dist/blocks/PageHCF/PageHCF.js +34 -34
- package/dist/blocks/PageHCF/schema.json +0 -29
- package/dist/blocks/PageHCF/style.less +1 -1
- package/dist/blocks/PageHCSF/PageHCSF.js +61 -66
- package/dist/blocks/PageHCSF/schema.json +0 -30
- package/dist/blocks/PageHCSF/style.less +1 -1
- package/dist/blocks/PageHSCF/PageHSCF.js +61 -66
- package/dist/blocks/PageHSCF/schema.json +0 -30
- package/dist/blocks/PageHSCF/style.less +1 -1
- package/dist/blocks/PageHeaderMenu/PageHeaderMenu.js +151 -167
- package/dist/blocks/PageHeaderMenu/schema.json +1 -24
- package/dist/blocks/PageHeaderMenu/style.less +1 -1
- package/dist/blocks/PageSHCF/PageSHCF.js +60 -65
- package/dist/blocks/PageSHCF/schema.json +0 -30
- package/dist/blocks/PageSHCF/style.less +1 -1
- package/dist/blocks/PageSiderMenu/PageSiderMenu.js +258 -285
- package/dist/blocks/PageSiderMenu/schema.json +1 -31
- package/dist/blocks/PageSiderMenu/style.less +1 -1
- package/dist/blocks/Pagination/Pagination.js +17 -5
- package/dist/blocks/Pagination/style.less +1 -1
- package/dist/blocks/Paragraph/Paragraph.js +21 -14
- package/dist/blocks/Paragraph/style.less +1 -1
- package/dist/blocks/ParagraphInput/ParagraphInput.js +22 -14
- package/dist/blocks/ParagraphInput/style.less +1 -1
- package/dist/blocks/PasswordInput/PasswordInput.js +14 -6
- package/dist/blocks/PasswordInput/style.less +1 -1
- package/dist/blocks/Progress/Progress.js +9 -3
- package/dist/blocks/Progress/style.less +1 -1
- package/dist/blocks/RadioSelector/RadioSelector.js +40 -34
- package/dist/blocks/RadioSelector/style.less +1 -1
- package/dist/blocks/RatingSlider/RatingSlider.js +127 -126
- package/dist/blocks/RatingSlider/schema.json +4 -4
- package/dist/blocks/RatingSlider/style.less +1 -1
- package/dist/blocks/Result/Result.js +13 -8
- package/dist/blocks/Result/schema.json +1 -1
- package/dist/blocks/Result/style.less +1 -1
- package/dist/blocks/Selector/Selector.js +96 -91
- package/dist/blocks/Selector/schema.json +4 -4
- package/dist/blocks/Selector/style.less +1 -1
- package/dist/blocks/Sider/Sider.js +12 -9
- package/dist/blocks/Sider/schema.json +0 -7
- package/dist/blocks/Sider/style.less +1 -1
- package/dist/blocks/Statistic/Statistic.js +11 -5
- package/dist/blocks/Statistic/schema.json +2 -2
- package/dist/blocks/Statistic/style.less +1 -1
- package/dist/blocks/Switch/Switch.js +22 -19
- package/dist/blocks/Switch/schema.json +4 -4
- package/dist/blocks/Switch/style.less +1 -1
- package/dist/blocks/Tabs/Tabs.js +36 -24
- package/dist/blocks/Tabs/schema.json +1 -1
- package/dist/blocks/Tabs/style.less +1 -1
- package/dist/blocks/TextArea/TextArea.js +14 -6
- package/dist/blocks/TextArea/style.less +1 -1
- package/dist/blocks/TextInput/TextInput.js +16 -8
- package/dist/blocks/TextInput/schema.json +2 -2
- package/dist/blocks/TextInput/style.less +1 -1
- package/dist/blocks/TimelineList/TimelineList.js +56 -40
- package/dist/blocks/TimelineList/schema.json +4 -1
- package/dist/blocks/TimelineList/style.less +1 -1
- package/dist/blocks/Title/Title.js +21 -14
- package/dist/blocks/Title/style.less +1 -1
- package/dist/blocks/TitleInput/TitleInput.js +22 -14
- package/dist/blocks/TitleInput/style.less +1 -1
- package/dist/blocks/Tooltip/Tooltip.js +11 -9
- package/dist/blocks/Tooltip/style.less +1 -1
- package/dist/blocks/WeekSelector/WeekSelector.js +47 -42
- package/dist/blocks/WeekSelector/schema.json +2 -2
- package/dist/blocks/WeekSelector/style.less +1 -1
- package/dist/blocks.js +74 -0
- package/dist/color.js +1 -1
- package/dist/disabledDate.js +2 -3
- package/dist/getUniqueValues.js +1 -1
- package/dist/getValueIndex.js +1 -1
- package/dist/style.less +1 -1
- package/dist/{blocks/Alert/index.js → types.js} +16 -19
- package/dist/useRunAfterUpdate.js +1 -1
- package/dist/validationExamples.js +1 -1
- package/package.json +27 -23
- package/dist/blocks/Affix/index.js +0 -26
- package/dist/blocks/AutoComplete/index.js +0 -33
- package/dist/blocks/Avatar/index.js +0 -28
- package/dist/blocks/Badge/index.js +0 -26
- package/dist/blocks/Breadcrumb/index.js +0 -31
- package/dist/blocks/Button/index.js +0 -28
- package/dist/blocks/ButtonSelector/index.js +0 -33
- package/dist/blocks/Card/index.js +0 -31
- package/dist/blocks/CheckboxSelector/index.js +0 -33
- package/dist/blocks/CheckboxSwitch/index.js +0 -36
- package/dist/blocks/Collapse/index.js +0 -31
- package/dist/blocks/Comment/index.js +0 -28
- package/dist/blocks/ConfirmModal/index.js +0 -59
- package/dist/blocks/Content/index.js +0 -26
- package/dist/blocks/ControlledList/index.js +0 -36
- package/dist/blocks/DateRangeSelector/index.js +0 -33
- package/dist/blocks/DateSelector/index.js +0 -33
- package/dist/blocks/DateTimeSelector/index.js +0 -33
- package/dist/blocks/Descriptions/index.js +0 -31
- package/dist/blocks/Divider/index.js +0 -31
- package/dist/blocks/Drawer/index.js +0 -41
- package/dist/blocks/Footer/index.js +0 -26
- package/dist/blocks/Header/index.js +0 -26
- package/dist/blocks/Label/index.js +0 -32
- package/dist/blocks/Layout/index.js +0 -31
- package/dist/blocks/Menu/index.js +0 -26
- package/dist/blocks/Message/index.js +0 -53
- package/dist/blocks/MobileMenu/index.js +0 -41
- package/dist/blocks/Modal/index.js +0 -41
- package/dist/blocks/MonthSelector/index.js +0 -33
- package/dist/blocks/MultipleSelector/index.js +0 -33
- package/dist/blocks/Notification/index.js +0 -59
- package/dist/blocks/NumberInput/index.js +0 -33
- package/dist/blocks/PageHCF/index.js +0 -31
- package/dist/blocks/PageHCSF/index.js +0 -46
- package/dist/blocks/PageHSCF/index.js +0 -46
- package/dist/blocks/PageHeaderMenu/index.js +0 -46
- package/dist/blocks/PageSHCF/index.js +0 -46
- package/dist/blocks/PageSiderMenu/index.js +0 -57
- package/dist/blocks/Pagination/index.js +0 -37
- package/dist/blocks/Paragraph/index.js +0 -28
- package/dist/blocks/ParagraphInput/index.js +0 -36
- package/dist/blocks/PasswordInput/index.js +0 -33
- package/dist/blocks/Progress/index.js +0 -31
- package/dist/blocks/RadioSelector/index.js +0 -33
- package/dist/blocks/RatingSlider/index.js +0 -33
- package/dist/blocks/Result/index.js +0 -31
- package/dist/blocks/S3UploadButton/S3UploadButton.js +0 -171
- package/dist/blocks/S3UploadButton/index.js +0 -29
- package/dist/blocks/S3UploadButton/schema.json +0 -83
- package/dist/blocks/S3UploadButton/style.less +0 -18
- package/dist/blocks/Selector/index.js +0 -33
- package/dist/blocks/Sider/index.js +0 -41
- package/dist/blocks/Statistic/index.js +0 -31
- package/dist/blocks/Switch/index.js +0 -33
- package/dist/blocks/Tabs/index.js +0 -31
- package/dist/blocks/TextArea/index.js +0 -33
- package/dist/blocks/TextInput/index.js +0 -33
- package/dist/blocks/TimelineList/index.js +0 -31
- package/dist/blocks/Title/index.js +0 -31
- package/dist/blocks/TitleInput/index.js +0 -39
- package/dist/blocks/Tooltip/index.js +0 -31
- package/dist/blocks/WeekSelector/index.js +0 -33
- package/dist/index.js +0 -152
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"type": "object",
|
|
5
|
-
"required": ["s3PostPolicyRequestId"],
|
|
6
|
-
"properties": {
|
|
7
|
-
"accept": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"description": "File types accepted by the input. See html file type input accept property at https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept."
|
|
10
|
-
},
|
|
11
|
-
"button": {
|
|
12
|
-
"type": "object",
|
|
13
|
-
"description": "Button block properties.",
|
|
14
|
-
"default": {
|
|
15
|
-
"icon": "UploadOutlined",
|
|
16
|
-
"title": "Upload",
|
|
17
|
-
"type": "default"
|
|
18
|
-
},
|
|
19
|
-
"docs": {
|
|
20
|
-
"displayType": "button"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"disabled": {
|
|
24
|
-
"type": "boolean",
|
|
25
|
-
"description": "Disable the file input."
|
|
26
|
-
},
|
|
27
|
-
"s3PostPolicyRequestId": {
|
|
28
|
-
"type": "string",
|
|
29
|
-
"description": "Id of a request of type AwsS3PresignedPostPolicy that defines to which S3 bucket and how the file should be uploaded.",
|
|
30
|
-
"docs": {
|
|
31
|
-
"displayType": "manual",
|
|
32
|
-
"block": {
|
|
33
|
-
"id": "block_properties_s3PostPolicyRequestId",
|
|
34
|
-
"layout": { "_global": "settings_input_layout" },
|
|
35
|
-
"type": "Label",
|
|
36
|
-
"required": true,
|
|
37
|
-
"properties": {
|
|
38
|
-
"title": "s3PostPolicyRequestId",
|
|
39
|
-
"span": 8,
|
|
40
|
-
"align": "right"
|
|
41
|
-
},
|
|
42
|
-
"blocks": [
|
|
43
|
-
{
|
|
44
|
-
"id": "block_properties_s3PostPolicyRequestId_text",
|
|
45
|
-
"type": "Markdown",
|
|
46
|
-
"style": {
|
|
47
|
-
"color": "#8c8c8c"
|
|
48
|
-
},
|
|
49
|
-
"properties": {
|
|
50
|
-
"content": "Id of a request of type AwsS3PresignedPostPolicy that defines to which S3 bucket and how the file should be uploaded."
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
]
|
|
54
|
-
},
|
|
55
|
-
"getter": {}
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"showUploadList": {
|
|
59
|
-
"type": "boolean",
|
|
60
|
-
"default": true,
|
|
61
|
-
"description": "Whether to show default upload list."
|
|
62
|
-
},
|
|
63
|
-
"singleFile": {
|
|
64
|
-
"type": "boolean",
|
|
65
|
-
"default": false,
|
|
66
|
-
"description": "Only allow a single file to be uploaded. Only one file can be selected in the prompt and the upload button is disabled after a file is uploaded."
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"events": {
|
|
71
|
-
"type": "object",
|
|
72
|
-
"properties": {
|
|
73
|
-
"onChange": {
|
|
74
|
-
"type": "array",
|
|
75
|
-
"description": "Triggered when the upload state is changing."
|
|
76
|
-
},
|
|
77
|
-
"onClick": {
|
|
78
|
-
"type": "array",
|
|
79
|
-
"description": "Triggered when the upload button is clicked."
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
@import 'antd/lib/upload/style/index.less';
|
|
18
|
-
@import '../Button/style.less';
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/Selector/Selector.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/Selector/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
valueType: 'any',
|
|
24
|
-
category: 'input',
|
|
25
|
-
loading: {
|
|
26
|
-
type: 'SkeletonInput'
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
test: {
|
|
30
|
-
validation: true,
|
|
31
|
-
required: true
|
|
32
|
-
}
|
|
33
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/Sider/Sider.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/Sider/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
category: 'container',
|
|
24
|
-
loading: false
|
|
25
|
-
},
|
|
26
|
-
test: {
|
|
27
|
-
methods: [
|
|
28
|
-
{
|
|
29
|
-
name: 'toggleOpen',
|
|
30
|
-
args: {
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
name: 'setOpen',
|
|
35
|
-
args: {
|
|
36
|
-
open: true
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/Statistic/Statistic.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/Statistic/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
category: 'display',
|
|
24
|
-
loading: {
|
|
25
|
-
type: 'Skeleton',
|
|
26
|
-
properties: {
|
|
27
|
-
height: 80
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/Switch/Switch.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/Switch/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
valueType: 'boolean',
|
|
24
|
-
category: 'input',
|
|
25
|
-
loading: {
|
|
26
|
-
type: 'SkeletonInput'
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
test: {
|
|
30
|
-
validation: true,
|
|
31
|
-
required: true
|
|
32
|
-
}
|
|
33
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/Tabs/Tabs.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/Tabs/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
category: 'container',
|
|
24
|
-
loading: {
|
|
25
|
-
type: 'Skeleton',
|
|
26
|
-
properties: {
|
|
27
|
-
height: 80
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/TextArea/TextArea.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/TextArea/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
valueType: 'string',
|
|
24
|
-
category: 'input',
|
|
25
|
-
loading: {
|
|
26
|
-
type: 'SkeletonInput'
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
test: {
|
|
30
|
-
validation: true,
|
|
31
|
-
required: true
|
|
32
|
-
}
|
|
33
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/TextInput/TextInput.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/TextInput/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
valueType: 'string',
|
|
24
|
-
category: 'input',
|
|
25
|
-
loading: {
|
|
26
|
-
type: 'SkeletonInput'
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
test: {
|
|
30
|
-
validation: true,
|
|
31
|
-
required: true
|
|
32
|
-
}
|
|
33
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/TimelineList/TimelineList.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/TimelineList/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
category: 'list',
|
|
24
|
-
loading: {
|
|
25
|
-
type: 'Skeleton',
|
|
26
|
-
properties: {
|
|
27
|
-
height: 80
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/Title/Title.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/Title/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
category: 'display',
|
|
24
|
-
loading: {
|
|
25
|
-
type: 'SkeletonParagraph',
|
|
26
|
-
properties: {
|
|
27
|
-
lines: 1
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/TitleInput/TitleInput.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/TitleInput/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
valueType: 'string',
|
|
24
|
-
category: 'input',
|
|
25
|
-
loading: {
|
|
26
|
-
type: 'SkeletonParagraph',
|
|
27
|
-
properties: {
|
|
28
|
-
lines: 1
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
test: {
|
|
33
|
-
validation: true,
|
|
34
|
-
required: true,
|
|
35
|
-
values: [
|
|
36
|
-
'Lorem ipsum dolor sit amet.'
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/Tooltip/Tooltip.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/Tooltip/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
category: 'container',
|
|
24
|
-
loading: {
|
|
25
|
-
type: 'Skeleton',
|
|
26
|
-
properties: {
|
|
27
|
-
height: 80
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/WeekSelector/WeekSelector.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/WeekSelector/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
valueType: 'date',
|
|
24
|
-
category: 'input',
|
|
25
|
-
loading: {
|
|
26
|
-
type: 'SkeletonInput'
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
test: {
|
|
30
|
-
validation: true,
|
|
31
|
-
required: true
|
|
32
|
-
}
|
|
33
|
-
};
|
package/dist/index.js
DELETED
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ import Affix from './blocks/Affix/index.js';
|
|
16
|
-
import Alert from './blocks/Alert/index.js';
|
|
17
|
-
import AutoComplete from './blocks/AutoComplete/index.js';
|
|
18
|
-
import Avatar from './blocks/Avatar/index.js';
|
|
19
|
-
import Badge from './blocks/Badge/index.js';
|
|
20
|
-
import Breadcrumb from './blocks/Breadcrumb/index.js';
|
|
21
|
-
import Button from './blocks/Button/index.js';
|
|
22
|
-
import ButtonSelector from './blocks/ButtonSelector/index.js';
|
|
23
|
-
import Card from './blocks/Card/index.js';
|
|
24
|
-
import CheckboxSelector from './blocks/CheckboxSelector/index.js';
|
|
25
|
-
import CheckboxSwitch from './blocks/CheckboxSwitch/index.js';
|
|
26
|
-
import Collapse from './blocks/Collapse/index.js';
|
|
27
|
-
import Comment from './blocks/Comment/index.js';
|
|
28
|
-
import ConfirmModal from './blocks/ConfirmModal/index.js';
|
|
29
|
-
import Content from './blocks/Content/index.js';
|
|
30
|
-
import ControlledList from './blocks/ControlledList/index.js';
|
|
31
|
-
import DateRangeSelector from './blocks/DateRangeSelector/index.js';
|
|
32
|
-
import DateSelector from './blocks/DateSelector/index.js';
|
|
33
|
-
import DateTimeSelector from './blocks/DateTimeSelector/index.js';
|
|
34
|
-
import Descriptions from './blocks/Descriptions/index.js';
|
|
35
|
-
import Divider from './blocks/Divider/index.js';
|
|
36
|
-
import Drawer from './blocks/Drawer/index.js';
|
|
37
|
-
import Footer from './blocks/Footer/index.js';
|
|
38
|
-
import Header from './blocks/Header/index.js';
|
|
39
|
-
import Label from './blocks/Label/index.js';
|
|
40
|
-
import Layout from './blocks/Layout/index.js';
|
|
41
|
-
import Menu from './blocks/Menu/index.js';
|
|
42
|
-
import Message from './blocks/Message/index.js';
|
|
43
|
-
import MobileMenu from './blocks/MobileMenu/index.js';
|
|
44
|
-
import Modal from './blocks/Modal/index.js';
|
|
45
|
-
import MonthSelector from './blocks/MonthSelector/index.js';
|
|
46
|
-
import MultipleSelector from './blocks/MultipleSelector/index.js';
|
|
47
|
-
import Notification from './blocks/Notification/index.js';
|
|
48
|
-
import NumberInput from './blocks/NumberInput/index.js';
|
|
49
|
-
import PageHCF from './blocks/PageHCF/index.js';
|
|
50
|
-
import PageHCSF from './blocks/PageHCSF/index.js';
|
|
51
|
-
import PageHeaderMenu from './blocks/PageHeaderMenu/index.js';
|
|
52
|
-
import PageHSCF from './blocks/PageHSCF/index.js';
|
|
53
|
-
import PageSHCF from './blocks/PageSHCF/index.js';
|
|
54
|
-
import PageSiderMenu from './blocks/PageSiderMenu/index.js';
|
|
55
|
-
import Pagination from './blocks/Pagination/index.js';
|
|
56
|
-
import Paragraph from './blocks/Paragraph/index.js';
|
|
57
|
-
import ParagraphInput from './blocks/ParagraphInput/index.js';
|
|
58
|
-
import PasswordInput from './blocks/PasswordInput/index.js';
|
|
59
|
-
import Progress from './blocks/Progress/index.js';
|
|
60
|
-
import RadioSelector from './blocks/RadioSelector/index.js';
|
|
61
|
-
import RatingSlider from './blocks/RatingSlider/index.js';
|
|
62
|
-
import Result from './blocks/Result/index.js';
|
|
63
|
-
import S3UploadButton from './blocks/S3UploadButton/index.js';
|
|
64
|
-
import Selector from './blocks/Selector/index.js';
|
|
65
|
-
import Sider from './blocks/Sider/index.js';
|
|
66
|
-
import Skeleton from './blocks/Skeleton/index.js';
|
|
67
|
-
import Spin from './blocks/Spin/index.js';
|
|
68
|
-
import Statistic from './blocks/Statistic/index.js';
|
|
69
|
-
import Switch from './blocks/Switch/index.js';
|
|
70
|
-
import Tabs from './blocks/Tabs/index.js';
|
|
71
|
-
import TimelineList from './blocks/TimelineList/index.js';
|
|
72
|
-
import TextArea from './blocks/TextArea/index.js';
|
|
73
|
-
import TextInput from './blocks/TextInput/index.js';
|
|
74
|
-
import Title from './blocks/Title/index.js';
|
|
75
|
-
import TitleInput from './blocks/TitleInput/index.js';
|
|
76
|
-
import Tooltip from './blocks/Tooltip/index.js';
|
|
77
|
-
import WeekSelector from './blocks/WeekSelector/index.js';
|
|
78
|
-
export const blocks = {
|
|
79
|
-
import: {
|
|
80
|
-
styles: [
|
|
81
|
-
'style.less'
|
|
82
|
-
]
|
|
83
|
-
},
|
|
84
|
-
types: {
|
|
85
|
-
Affix,
|
|
86
|
-
Alert,
|
|
87
|
-
AutoComplete,
|
|
88
|
-
Avatar,
|
|
89
|
-
Badge,
|
|
90
|
-
Breadcrumb,
|
|
91
|
-
Button,
|
|
92
|
-
ButtonSelector,
|
|
93
|
-
Card,
|
|
94
|
-
CheckboxSelector,
|
|
95
|
-
CheckboxSwitch,
|
|
96
|
-
Collapse,
|
|
97
|
-
Comment,
|
|
98
|
-
ConfirmModal,
|
|
99
|
-
Content,
|
|
100
|
-
ControlledList,
|
|
101
|
-
DateRangeSelector,
|
|
102
|
-
DateSelector,
|
|
103
|
-
DateTimeSelector,
|
|
104
|
-
Descriptions,
|
|
105
|
-
Divider,
|
|
106
|
-
Drawer,
|
|
107
|
-
Footer,
|
|
108
|
-
Header,
|
|
109
|
-
Label,
|
|
110
|
-
Layout,
|
|
111
|
-
Menu,
|
|
112
|
-
Message,
|
|
113
|
-
MobileMenu,
|
|
114
|
-
Modal,
|
|
115
|
-
MonthSelector,
|
|
116
|
-
MultipleSelector,
|
|
117
|
-
Notification,
|
|
118
|
-
NumberInput,
|
|
119
|
-
PageHCF,
|
|
120
|
-
PageHCSF,
|
|
121
|
-
PageHeaderMenu,
|
|
122
|
-
PageHSCF,
|
|
123
|
-
PageSHCF,
|
|
124
|
-
PageSiderMenu,
|
|
125
|
-
Pagination,
|
|
126
|
-
Paragraph,
|
|
127
|
-
ParagraphInput,
|
|
128
|
-
PasswordInput,
|
|
129
|
-
Progress,
|
|
130
|
-
RadioSelector,
|
|
131
|
-
RatingSlider,
|
|
132
|
-
Result,
|
|
133
|
-
S3UploadButton,
|
|
134
|
-
Selector,
|
|
135
|
-
Sider,
|
|
136
|
-
Skeleton,
|
|
137
|
-
Spin,
|
|
138
|
-
Statistic,
|
|
139
|
-
Switch,
|
|
140
|
-
Tabs,
|
|
141
|
-
TimelineList,
|
|
142
|
-
TextArea,
|
|
143
|
-
TextInput,
|
|
144
|
-
Title,
|
|
145
|
-
TitleInput,
|
|
146
|
-
Tooltip,
|
|
147
|
-
WeekSelector
|
|
148
|
-
}
|
|
149
|
-
};
|
|
150
|
-
export default {
|
|
151
|
-
blocks
|
|
152
|
-
};
|