lu-lowcode-package-form 0.9.7 → 0.9.16
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/index.cjs.js +408 -172
- package/dist/index.es.js +55162 -25861
- package/dist/style.css +6 -1
- package/package.json +6 -1
- package/src/App.jsx +171 -27
- package/src/components/editor/add-with-param.jsx +13 -0
- package/src/components/editor/index.jsx +2 -0
- package/src/components/editor/quill.jsx +125 -0
- package/src/components/editor/wang.jsx +80 -0
- package/src/components/field/base.jsx +18 -3
- package/src/components/field/date-picker/index.jsx +9 -2
- package/src/components/field/select/index.jsx +1 -1
- package/src/components/field/select/search-select.jsx +110 -0
- package/src/components/field/select/select.jsx +5 -5
- package/src/components/field/table/index.jsx +267 -0
- package/src/components/field/upload/upload-image.jsx +0 -2
- package/src/components/form-container/index.jsx +109 -24
- package/src/components/form-container/layout/form-group-title.jsx +1 -1
- package/src/components/index.jsx +9 -3
- package/src/utils/formula.js +11 -0
package/src/components/index.jsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Input, TextArea, Password, Search ,CodeMachine} from './field/input/index.jsx'
|
|
2
2
|
import '../App.css';
|
|
3
|
-
import { TreeSelect, Select, WithSingleSelect,WithMultipleSelect, SingleSelect, MultipleSelect } from './field/select/index.jsx'
|
|
3
|
+
import { TreeSelect, Select, WithSingleSelect,WithMultipleSelect, SingleSelect, MultipleSelect, SearchSelect } from './field/select/index.jsx'
|
|
4
4
|
import Custom from './field/custom/index.jsx'
|
|
5
5
|
import { FormContainer, FormContainerWrapper,LayoutFormRow,LayoutFormGroupTitle } from './form-container/index.jsx'
|
|
6
6
|
import { Checkbox ,CheckboxTree, CheckboxGroup } from './field/checkbox/index.jsx'
|
|
@@ -8,6 +8,7 @@ import { default as RadioGroup } from './field/radio/index.jsx'
|
|
|
8
8
|
import { UploadFile,UploadImage } from './field/upload'
|
|
9
9
|
import {default as Switch} from './field/switch'
|
|
10
10
|
import {default as DatePicker } from './field/date-picker'
|
|
11
|
+
import { default as Table , TableCol } from './field/table'
|
|
11
12
|
const Field = {
|
|
12
13
|
Input,
|
|
13
14
|
TextArea,
|
|
@@ -15,6 +16,7 @@ const Field = {
|
|
|
15
16
|
Search,
|
|
16
17
|
TreeSelect,
|
|
17
18
|
Select,
|
|
19
|
+
SearchSelect,
|
|
18
20
|
WithSingleSelect,
|
|
19
21
|
WithMultipleSelect,
|
|
20
22
|
SingleSelect,
|
|
@@ -28,15 +30,19 @@ const Field = {
|
|
|
28
30
|
UploadImage,
|
|
29
31
|
Switch,
|
|
30
32
|
DatePicker,
|
|
33
|
+
Table,
|
|
31
34
|
Custom,
|
|
32
35
|
}
|
|
33
36
|
const Layout = {
|
|
34
37
|
FormRow: LayoutFormRow,
|
|
35
|
-
FormGroupTitle: LayoutFormGroupTitle
|
|
38
|
+
FormGroupTitle: LayoutFormGroupTitle,
|
|
39
|
+
TableCol
|
|
36
40
|
}
|
|
37
41
|
export { FormContainer, Field ,FormContainerWrapper,Layout }
|
|
38
42
|
import { default as OptionSetter} from './setter/optionsetter'
|
|
39
43
|
const Setter = {
|
|
40
44
|
OptionSetter
|
|
41
45
|
}
|
|
42
|
-
export { Setter }
|
|
46
|
+
export { Setter }
|
|
47
|
+
|
|
48
|
+
export { EditorQuill , EditorWang} from './editor'
|