@yimoka/designable-playground 0.0.0-stage → 0.1.1
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/README.md +8 -2
- package/dist/demo/components/Alert/index.d.ts +4 -0
- package/dist/demo/components/Alert/index.js +41 -0
- package/dist/demo/components/ArrayCards/index.d.ts +17 -0
- package/dist/demo/components/ArrayCards/index.js +62 -0
- package/dist/demo/components/ArrayList/index.d.ts +25 -0
- package/dist/demo/components/ArrayList/index.js +143 -0
- package/dist/demo/components/ArrayTable/index.d.ts +39 -0
- package/dist/demo/components/ArrayTable/index.js +247 -0
- package/dist/demo/components/AutoComplete/index.d.ts +4 -0
- package/dist/demo/components/AutoComplete/index.js +52 -0
- package/dist/demo/components/Avatar/index.d.ts +4 -0
- package/dist/demo/components/Avatar/index.js +34 -0
- package/dist/demo/components/Badge/index.d.ts +4 -0
- package/dist/demo/components/Badge/index.js +35 -0
- package/dist/demo/components/Button/index.d.ts +4 -0
- package/dist/demo/components/Button/index.js +86 -0
- package/dist/demo/components/Card/index.d.ts +4 -0
- package/dist/demo/components/Card/index.js +72 -0
- package/dist/demo/components/Carousel/index.d.ts +4 -0
- package/dist/demo/components/Carousel/index.js +33 -0
- package/dist/demo/components/Cascader/index.d.ts +4 -0
- package/dist/demo/components/Cascader/index.js +60 -0
- package/dist/demo/components/Checkbox/index.d.ts +8 -0
- package/dist/demo/components/Checkbox/index.js +55 -0
- package/dist/demo/components/ColorPicker/index.d.ts +4 -0
- package/dist/demo/components/ColorPicker/index.js +38 -0
- package/dist/demo/components/DatePicker/index.d.ts +4 -0
- package/dist/demo/components/DatePicker/index.js +61 -0
- package/dist/demo/components/DateRangePicker/index.d.ts +4 -0
- package/dist/demo/components/DateRangePicker/index.js +58 -0
- package/dist/demo/components/Divider/index.d.ts +4 -0
- package/dist/demo/components/Divider/index.js +39 -0
- package/dist/demo/components/Empty/index.d.ts +4 -0
- package/dist/demo/components/Empty/index.js +29 -0
- package/dist/demo/components/Flex/index.d.ts +4 -0
- package/dist/demo/components/Flex/index.js +51 -0
- package/dist/demo/components/Form/index.d.ts +21 -0
- package/dist/demo/components/Form/index.js +116 -0
- package/dist/demo/components/FormCollapse/index.d.ts +28 -0
- package/dist/demo/components/FormCollapse/index.js +164 -0
- package/dist/demo/components/FormGrid/index.d.ts +22 -0
- package/dist/demo/components/FormGrid/index.js +134 -0
- package/dist/demo/components/FormItem/index.d.ts +14 -0
- package/dist/demo/components/FormItem/index.js +33 -0
- package/dist/demo/components/FormLayout/index.d.ts +26 -0
- package/dist/demo/components/FormLayout/index.js +260 -0
- package/dist/demo/components/FormTab/index.d.ts +15 -0
- package/dist/demo/components/FormTab/index.js +186 -0
- package/dist/demo/components/GridCol/index.d.ts +4 -0
- package/dist/demo/components/GridCol/index.js +53 -0
- package/dist/demo/components/GridRow/index.d.ts +4 -0
- package/dist/demo/components/GridRow/index.js +70 -0
- package/dist/demo/components/HTMLContent/index.d.ts +4 -0
- package/dist/demo/components/HTMLContent/index.js +34 -0
- package/dist/demo/components/I18nEditor/index.d.ts +8 -0
- package/dist/demo/components/I18nEditor/index.js +64 -0
- package/dist/demo/components/Image/index.d.ts +4 -0
- package/dist/demo/components/Image/index.js +36 -0
- package/dist/demo/components/Input/index.d.ts +4 -0
- package/dist/demo/components/Input/index.js +36 -0
- package/dist/demo/components/InputSearch/index.d.ts +4 -0
- package/dist/demo/components/InputSearch/index.js +40 -0
- package/dist/demo/components/Link/index.d.ts +4 -0
- package/dist/demo/components/Link/index.js +37 -0
- package/dist/demo/components/Mentions/index.d.ts +4 -0
- package/dist/demo/components/Mentions/index.js +41 -0
- package/dist/demo/components/NumberPicker/index.d.ts +6 -0
- package/dist/demo/components/NumberPicker/index.js +63 -0
- package/dist/demo/components/ObjectContainer/index.d.ts +14 -0
- package/dist/demo/components/ObjectContainer/index.js +46 -0
- package/dist/demo/components/Password/index.d.ts +6 -0
- package/dist/demo/components/Password/index.js +44 -0
- package/dist/demo/components/QRCode/index.d.ts +4 -0
- package/dist/demo/components/QRCode/index.js +34 -0
- package/dist/demo/components/Radio/index.d.ts +6 -0
- package/dist/demo/components/Radio/index.js +49 -0
- package/dist/demo/components/Rate/index.d.ts +6 -0
- package/dist/demo/components/Rate/index.js +43 -0
- package/dist/demo/components/Search/index.d.ts +4 -0
- package/dist/demo/components/Search/index.js +42 -0
- package/dist/demo/components/SearchSelect/index.d.ts +4 -0
- package/dist/demo/components/SearchSelect/index.js +53 -0
- package/dist/demo/components/Select/index.d.ts +4 -0
- package/dist/demo/components/Select/index.js +59 -0
- package/dist/demo/components/Slider/index.d.ts +6 -0
- package/dist/demo/components/Slider/index.js +61 -0
- package/dist/demo/components/Space/index.d.ts +9 -0
- package/dist/demo/components/Space/index.js +61 -0
- package/dist/demo/components/Statistic/index.d.ts +4 -0
- package/dist/demo/components/Statistic/index.js +33 -0
- package/dist/demo/components/Switch/index.d.ts +4 -0
- package/dist/demo/components/Switch/index.js +49 -0
- package/dist/demo/components/Tabs/index.d.ts +10 -0
- package/dist/demo/components/Tabs/index.js +181 -0
- package/dist/demo/components/Tag/index.d.ts +4 -0
- package/dist/demo/components/Tag/index.js +33 -0
- package/dist/demo/components/Text/index.d.ts +11 -0
- package/dist/demo/components/Text/index.js +64 -0
- package/dist/demo/components/TextArea/index.d.ts +6 -0
- package/dist/demo/components/TextArea/index.js +43 -0
- package/dist/demo/components/TimePicker/index.d.ts +4 -0
- package/dist/demo/components/TimePicker/index.js +69 -0
- package/dist/demo/components/TimeRangePicker/index.d.ts +4 -0
- package/dist/demo/components/TimeRangePicker/index.js +68 -0
- package/dist/demo/components/Transfer/index.d.ts +6 -0
- package/dist/demo/components/Transfer/index.js +59 -0
- package/dist/demo/components/TreeSelect/index.d.ts +4 -0
- package/dist/demo/components/TreeSelect/index.js +63 -0
- package/dist/demo/components/Upload/index.d.ts +8 -0
- package/dist/demo/components/Upload/index.js +64 -0
- package/dist/demo/components/index.d.ts +55 -0
- package/dist/demo/components/index.js +55 -0
- package/dist/demo/components/shared.d.ts +143 -0
- package/dist/demo/components/shared.js +315 -0
- package/dist/src/Playground.d.ts +3 -0
- package/dist/src/Playground.js +304 -0
- package/dist/src/antd/AntdPlayground.d.ts +16 -0
- package/dist/src/antd/AntdPlayground.js +136 -0
- package/dist/src/antd/index.d.ts +1 -0
- package/dist/src/antd/index.js +1 -0
- package/dist/src/context.d.ts +4 -0
- package/dist/src/context.js +13 -0
- package/dist/src/examples/index.d.ts +267 -0
- package/dist/src/examples/index.js +824 -0
- package/dist/src/hooks/index.d.ts +4 -0
- package/dist/src/hooks/index.js +4 -0
- package/dist/src/hooks/remoteSchemaAdapter.d.ts +53 -0
- package/dist/src/hooks/remoteSchemaAdapter.js +262 -0
- package/dist/src/hooks/usePlayground.d.ts +38 -0
- package/dist/src/hooks/usePlayground.js +642 -0
- package/dist/src/hooks/usePlaygroundRemotePersistence.d.ts +135 -0
- package/dist/src/hooks/usePlaygroundRemotePersistence.js +736 -0
- package/dist/src/hooks/useSchemaEditorDraft.d.ts +4 -0
- package/dist/src/hooks/useSchemaEditorDraft.js +44 -0
- package/dist/src/index.d.ts +14 -0
- package/dist/src/index.js +14 -0
- package/dist/src/layouts/PlaygroundLayout/ErrorBoundaries.d.ts +59 -0
- package/dist/src/layouts/PlaygroundLayout/ErrorBoundaries.js +161 -0
- package/dist/src/layouts/PlaygroundLayout/index.d.ts +7 -0
- package/dist/src/layouts/PlaygroundLayout/index.js +443 -0
- package/dist/src/layouts/index.d.ts +1 -0
- package/dist/src/layouts/index.js +1 -0
- package/dist/src/panels/CompositePanel/index.d.ts +6 -0
- package/dist/src/panels/CompositePanel/index.js +139 -0
- package/dist/src/panels/ToolbarPanel/index.d.ts +3 -0
- package/dist/src/panels/ToolbarPanel/index.js +24 -0
- package/dist/src/panels/index.d.ts +2 -0
- package/dist/src/panels/index.js +2 -0
- package/dist/src/presets/antd.d.ts +19 -0
- package/dist/src/presets/antd.js +112 -0
- package/dist/src/presets/index.d.ts +4 -0
- package/dist/src/presets/index.js +3 -0
- package/dist/src/presets/runtime-array-helpers.d.ts +8 -0
- package/dist/src/presets/runtime-array-helpers.js +147 -0
- package/dist/src/presets/runtime-component-props.d.ts +3 -0
- package/dist/src/presets/runtime-component-props.js +5 -0
- package/dist/src/presets/runtime-components.d.ts +5 -0
- package/dist/src/presets/runtime-components.js +419 -0
- package/dist/src/presets/runtime-form-components.d.ts +9 -0
- package/dist/src/presets/runtime-form-components.js +94 -0
- package/dist/src/presets/scenario-catalog.d.ts +6 -0
- package/dist/src/presets/scenario-catalog.js +128 -0
- package/dist/src/presets/scenarios.d.ts +52 -0
- package/dist/src/presets/scenarios.js +603 -0
- package/dist/src/runtime/actions.d.ts +19 -0
- package/dist/src/runtime/actions.js +307 -0
- package/dist/src/runtime/contracts.d.ts +149 -0
- package/dist/src/runtime/contracts.js +1 -0
- package/dist/src/runtime/document-bindings.d.ts +3 -0
- package/dist/src/runtime/document-bindings.js +101 -0
- package/dist/src/runtime/document-core.d.ts +57 -0
- package/dist/src/runtime/document-core.js +379 -0
- package/dist/src/runtime/document-entity.d.ts +12 -0
- package/dist/src/runtime/document-entity.js +351 -0
- package/dist/src/runtime/document-expressions.d.ts +35 -0
- package/dist/src/runtime/document-expressions.js +346 -0
- package/dist/src/runtime/document-security.d.ts +34 -0
- package/dist/src/runtime/document-security.js +538 -0
- package/dist/src/runtime/document.d.ts +16 -0
- package/dist/src/runtime/document.js +212 -0
- package/dist/src/runtime/environment.d.ts +16 -0
- package/dist/src/runtime/environment.js +76 -0
- package/dist/src/runtime/i18n-schema.d.ts +36 -0
- package/dist/src/runtime/i18n-schema.js +338 -0
- package/dist/src/runtime/i18n.d.ts +25 -0
- package/dist/src/runtime/i18n.js +447 -0
- package/dist/src/runtime/index.d.ts +8 -0
- package/dist/src/runtime/index.js +8 -0
- package/dist/src/runtime/navigation.d.ts +5 -0
- package/dist/src/runtime/navigation.js +43 -0
- package/dist/src/runtime/playground.d.ts +30 -0
- package/dist/src/runtime/playground.js +243 -0
- package/dist/src/runtime/preview-boundaries.d.ts +13 -0
- package/dist/src/runtime/preview-boundaries.js +43 -0
- package/dist/src/runtime/preview.d.ts +44 -0
- package/dist/src/runtime/preview.js +574 -0
- package/dist/src/runtime/settings/RuntimeJsonEditor.d.ts +10 -0
- package/dist/src/runtime/settings/RuntimeJsonEditor.js +21 -0
- package/dist/src/runtime/settings/RuntimeStoreEntitySettings.d.ts +15 -0
- package/dist/src/runtime/settings/RuntimeStoreEntitySettings.js +65 -0
- package/dist/src/runtime/templates.d.ts +1560 -0
- package/dist/src/runtime/templates.js +508 -0
- package/dist/src/runtime/website-contact-template.d.ts +1 -0
- package/dist/src/runtime/website-contact-template.js +66 -0
- package/dist/src/runtime/website-template-shared.d.ts +14 -0
- package/dist/src/runtime/website-template-shared.js +210 -0
- package/dist/src/runtime/website-templates.d.ts +5 -0
- package/dist/src/runtime/website-templates.js +976 -0
- package/dist/src/shared/clipboard.d.ts +4 -0
- package/dist/src/shared/clipboard.js +56 -0
- package/dist/src/shared/componentRegistry.d.ts +133 -0
- package/dist/src/shared/componentRegistry.js +381 -0
- package/dist/src/shared/formilyCompatibility.d.ts +8 -0
- package/dist/src/shared/formilyCompatibility.js +40 -0
- package/dist/src/shared/index.d.ts +6 -0
- package/dist/src/shared/index.js +6 -0
- package/dist/src/shared/productionAcceptance.d.ts +63 -0
- package/dist/src/shared/productionAcceptance.js +201 -0
- package/dist/src/shared/schema-options.d.ts +16 -0
- package/dist/src/shared/schema-options.js +138 -0
- package/dist/src/shared/schema.d.ts +63 -0
- package/dist/src/shared/schema.js +627 -0
- package/dist/src/shared/styleSecurity.d.ts +2 -0
- package/dist/src/shared/styleSecurity.js +35 -0
- package/dist/src/transformers/formily.d.ts +34 -0
- package/dist/src/transformers/formily.js +943 -0
- package/dist/src/transformers/index.d.ts +1 -0
- package/dist/src/transformers/index.js +1 -0
- package/dist/src/types.d.ts +186 -0
- package/dist/src/types.js +1 -0
- package/dist/src/widgets/ActionsWidget/index.d.ts +3 -0
- package/dist/src/widgets/ActionsWidget/index.js +10 -0
- package/dist/src/widgets/ComponentTreeWidget/index.d.ts +3 -0
- package/dist/src/widgets/ComponentTreeWidget/index.js +333 -0
- package/dist/src/widgets/NodeActionsWidget/index.d.ts +2 -0
- package/dist/src/widgets/NodeActionsWidget/index.js +125 -0
- package/dist/src/widgets/OutlineTreeWidget/index.d.ts +3 -0
- package/dist/src/widgets/OutlineTreeWidget/index.js +432 -0
- package/dist/src/widgets/OutlineTreeWidget/shared.d.ts +32 -0
- package/dist/src/widgets/OutlineTreeWidget/shared.js +79 -0
- package/dist/src/widgets/PreviewWidget/index.d.ts +2 -0
- package/dist/src/widgets/PreviewWidget/index.js +1566 -0
- package/dist/src/widgets/ProductionReadinessWidget/index.d.ts +18 -0
- package/dist/src/widgets/ProductionReadinessWidget/index.js +356 -0
- package/dist/src/widgets/RemotePersistenceStatusWidget/index.d.ts +18 -0
- package/dist/src/widgets/RemotePersistenceStatusWidget/index.js +438 -0
- package/dist/src/widgets/RemoteVersionHistoryWidget/index.d.ts +39 -0
- package/dist/src/widgets/RemoteVersionHistoryWidget/index.js +475 -0
- package/dist/src/widgets/ResourceWidget/index.d.ts +3 -0
- package/dist/src/widgets/ResourceWidget/index.js +491 -0
- package/dist/src/widgets/SchemaCodeView/index.d.ts +7 -0
- package/dist/src/widgets/SchemaCodeView/index.js +225 -0
- package/dist/src/widgets/SchemaEditorWidget/index.d.ts +10 -0
- package/dist/src/widgets/SchemaEditorWidget/index.js +484 -0
- package/dist/src/widgets/SettingsPanelWidget/index.d.ts +3 -0
- package/dist/src/widgets/SettingsPanelWidget/index.js +190 -0
- package/dist/src/widgets/StorageActionsWidget/index.d.ts +2 -0
- package/dist/src/widgets/StorageActionsWidget/index.js +284 -0
- package/dist/src/widgets/index.d.ts +13 -0
- package/dist/src/widgets/index.js +13 -0
- package/package.json +100 -4
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { createBehavior, createResource } from '@yimoka/designable-core';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createContainerPropsSchema, createJSONProperty, pickControlVisualStyle, splitDesignableStyleProps, } from "../shared.js";
|
|
5
|
+
const getTextTag = (mode) => {
|
|
6
|
+
if (!mode || mode === 'normal')
|
|
7
|
+
return 'div';
|
|
8
|
+
return mode;
|
|
9
|
+
};
|
|
10
|
+
export const Text = (props) => {
|
|
11
|
+
const { componentProps: textProps, designerProps, wrapperStyle, } = splitDesignableStyleProps(props);
|
|
12
|
+
const { children, content, mode, strong = false, ...restProps } = textProps;
|
|
13
|
+
const tagName = getTextTag(mode);
|
|
14
|
+
const controlStyle = {
|
|
15
|
+
...pickControlVisualStyle(wrapperStyle),
|
|
16
|
+
...(strong ? { fontWeight: 600 } : {}),
|
|
17
|
+
};
|
|
18
|
+
return (_jsx("div", { ...designerProps, style: { width: '100%', ...wrapperStyle }, children: React.createElement(tagName, {
|
|
19
|
+
...restProps,
|
|
20
|
+
'data-content-editable': 'content',
|
|
21
|
+
style: controlStyle,
|
|
22
|
+
}, content ?? children ?? '文本内容') }));
|
|
23
|
+
};
|
|
24
|
+
Text.Behavior = createBehavior({
|
|
25
|
+
name: 'Text',
|
|
26
|
+
selector: node => node.componentName === 'Text',
|
|
27
|
+
designerProps: {
|
|
28
|
+
propsSchema: createContainerPropsSchema({
|
|
29
|
+
content: {
|
|
30
|
+
type: 'string',
|
|
31
|
+
'x-decorator': 'FormItem',
|
|
32
|
+
'x-component': 'TextArea',
|
|
33
|
+
title: '文本内容',
|
|
34
|
+
},
|
|
35
|
+
mode: {
|
|
36
|
+
type: 'string',
|
|
37
|
+
enum: ['normal', 'h1', 'h2', 'h3', 'p'],
|
|
38
|
+
'x-decorator': 'FormItem',
|
|
39
|
+
'x-component': 'Select',
|
|
40
|
+
title: '展示模式',
|
|
41
|
+
},
|
|
42
|
+
className: {
|
|
43
|
+
type: 'string',
|
|
44
|
+
'x-decorator': 'FormItem',
|
|
45
|
+
'x-component': 'Input',
|
|
46
|
+
title: '类名',
|
|
47
|
+
},
|
|
48
|
+
ellipsis: createJSONProperty('省略配置', 'object', '{"rows":2,"tooltip":true}'),
|
|
49
|
+
copyable: createJSONProperty('复制配置', 'object', '{"text":"文本内容"}'),
|
|
50
|
+
}),
|
|
51
|
+
},
|
|
52
|
+
});
|
|
53
|
+
Text.Resource = createResource({
|
|
54
|
+
icon: 'FileTextOutlined',
|
|
55
|
+
elements: [
|
|
56
|
+
{
|
|
57
|
+
componentName: 'Text',
|
|
58
|
+
props: {
|
|
59
|
+
content: '文本内容',
|
|
60
|
+
mode: 'normal',
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
});
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Input as AntdInput } from '@yimoka/antd';
|
|
3
|
+
import { createBehavior, createResource } from '@yimoka/designable-core';
|
|
4
|
+
import { allowClearProperty, autoFocusProperty, createFieldResourceProps, createFieldPropsSchema, createSwitchProperty, inputLimitProperties, pickControlVisualStyle, placeholderProperty, sizeProperty, statusProperty, splitDesignableStyleProps, } from "../shared.js";
|
|
5
|
+
export const TextArea = (props) => {
|
|
6
|
+
const { componentProps, designerProps, wrapperStyle, } = splitDesignableStyleProps(props);
|
|
7
|
+
const controlStyle = pickControlVisualStyle(wrapperStyle);
|
|
8
|
+
return (_jsx("div", { ...designerProps, style: { display: 'inline-block', width: '100%', ...wrapperStyle }, children: _jsx(AntdInput.TextArea, { ...componentProps, style: { width: '100%', ...controlStyle } }) }));
|
|
9
|
+
};
|
|
10
|
+
TextArea.Behavior = createBehavior({
|
|
11
|
+
name: 'TextArea',
|
|
12
|
+
selector: node => node.componentName === 'TextArea',
|
|
13
|
+
designerProps: {
|
|
14
|
+
propsSchema: createFieldPropsSchema({
|
|
15
|
+
placeholder: placeholderProperty,
|
|
16
|
+
allowClear: allowClearProperty,
|
|
17
|
+
autoFocus: autoFocusProperty,
|
|
18
|
+
bordered: createSwitchProperty('显示边框'),
|
|
19
|
+
status: statusProperty,
|
|
20
|
+
size: sizeProperty,
|
|
21
|
+
rows: {
|
|
22
|
+
type: 'number',
|
|
23
|
+
'x-decorator': 'FormItem',
|
|
24
|
+
'x-component': 'NumberPicker',
|
|
25
|
+
title: '行数',
|
|
26
|
+
},
|
|
27
|
+
autoSize: createSwitchProperty('自适应高度'),
|
|
28
|
+
...inputLimitProperties,
|
|
29
|
+
}),
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
TextArea.Resource = createResource({
|
|
33
|
+
icon: 'TextSource',
|
|
34
|
+
elements: [
|
|
35
|
+
{
|
|
36
|
+
componentName: 'TextArea',
|
|
37
|
+
props: createFieldResourceProps('textarea', '多行文本', {
|
|
38
|
+
placeholder: '请输入多行文本',
|
|
39
|
+
rows: 4,
|
|
40
|
+
}),
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
});
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { TimePicker as AntdTimePicker } from '@yimoka/antd';
|
|
3
|
+
import { createBehavior, createResource } from '@yimoka/designable-core';
|
|
4
|
+
import { allowClearProperty, autoFocusProperty, createExpressionProperty, createFieldResourceProps, createFieldPropsSchema, createNumberProperty, createSelectProperty, createSwitchProperty, pickControlVisualStyle, placeholderProperty, sizeProperty, splitDesignableStyleProps, statusProperty, } from "../shared.js";
|
|
5
|
+
export const TimePicker = (props) => {
|
|
6
|
+
const { componentProps: timePickerProps, designerProps, wrapperStyle, } = splitDesignableStyleProps(props);
|
|
7
|
+
const controlStyle = pickControlVisualStyle(wrapperStyle);
|
|
8
|
+
return (_jsx("div", { ...designerProps, style: { display: 'inline-block', width: '100%', ...wrapperStyle }, children: _jsx(AntdTimePicker, { ...timePickerProps, style: { width: '100%', ...controlStyle } }) }));
|
|
9
|
+
};
|
|
10
|
+
TimePicker.Behavior = createBehavior({
|
|
11
|
+
name: 'TimePicker',
|
|
12
|
+
selector: node => node.componentName === 'TimePicker',
|
|
13
|
+
designerProps: {
|
|
14
|
+
propsSchema: createFieldPropsSchema({
|
|
15
|
+
placeholder: placeholderProperty,
|
|
16
|
+
allowClear: allowClearProperty,
|
|
17
|
+
autoFocus: autoFocusProperty,
|
|
18
|
+
format: {
|
|
19
|
+
type: 'string',
|
|
20
|
+
'x-decorator': 'FormItem',
|
|
21
|
+
'x-component': 'Input',
|
|
22
|
+
title: '展示格式',
|
|
23
|
+
},
|
|
24
|
+
clearText: {
|
|
25
|
+
type: 'string',
|
|
26
|
+
'x-decorator': 'FormItem',
|
|
27
|
+
'x-component': 'Input',
|
|
28
|
+
title: '清除提示',
|
|
29
|
+
},
|
|
30
|
+
use12Hours: {
|
|
31
|
+
type: 'boolean',
|
|
32
|
+
'x-decorator': 'FormItem',
|
|
33
|
+
'x-component': 'Switch',
|
|
34
|
+
title: '12 小时制',
|
|
35
|
+
},
|
|
36
|
+
multiple: createSwitchProperty('多选'),
|
|
37
|
+
inputReadOnly: createSwitchProperty('输入只读'),
|
|
38
|
+
showNow: createSwitchProperty('显示此刻'),
|
|
39
|
+
hideDisabledOptions: createSwitchProperty('隐藏禁用项'),
|
|
40
|
+
disabledHours: createExpressionProperty('禁用小时', '{{() => [0, 1, 2]}}'),
|
|
41
|
+
disabledMinutes: createExpressionProperty('禁用分钟', '{{(hour) => hour === 0 ? [0, 30] : []}}'),
|
|
42
|
+
disabledSeconds: createExpressionProperty('禁用秒', '{{() => []}}'),
|
|
43
|
+
hourStep: createNumberProperty('小时步长'),
|
|
44
|
+
minuteStep: createNumberProperty('分钟步长'),
|
|
45
|
+
secondStep: createNumberProperty('秒步长'),
|
|
46
|
+
valueType: createSelectProperty('值类型', ['array', 'string', null]),
|
|
47
|
+
timeValueType: createSelectProperty('时间值类型', ['string', 'dayjs', null]),
|
|
48
|
+
status: statusProperty,
|
|
49
|
+
splitter: {
|
|
50
|
+
type: 'string',
|
|
51
|
+
'x-decorator': 'FormItem',
|
|
52
|
+
'x-component': 'Input',
|
|
53
|
+
title: '分隔符',
|
|
54
|
+
},
|
|
55
|
+
size: sizeProperty,
|
|
56
|
+
}),
|
|
57
|
+
},
|
|
58
|
+
});
|
|
59
|
+
TimePicker.Resource = createResource({
|
|
60
|
+
icon: 'ClockCircleOutlined',
|
|
61
|
+
elements: [
|
|
62
|
+
{
|
|
63
|
+
componentName: 'TimePicker',
|
|
64
|
+
props: createFieldResourceProps('time', '时间', {
|
|
65
|
+
placeholder: '请选择时间',
|
|
66
|
+
}),
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
});
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { TimeRangePicker as AntdTimeRangePicker } from '@yimoka/antd';
|
|
3
|
+
import { createBehavior, createResource } from '@yimoka/designable-core';
|
|
4
|
+
import { allowClearProperty, autoFocusProperty, createExpressionProperty, createFieldResourceProps, createFieldPropsSchema, createJSONProperty, createNumberProperty, createSelectProperty, createSwitchProperty, pickControlVisualStyle, sizeProperty, splitDesignableStyleProps, statusProperty, } from "../shared.js";
|
|
5
|
+
export const TimeRangePicker = (props) => {
|
|
6
|
+
const { componentProps: timeRangePickerProps, designerProps, wrapperStyle, } = splitDesignableStyleProps(props);
|
|
7
|
+
const controlStyle = pickControlVisualStyle(wrapperStyle);
|
|
8
|
+
return (_jsx("div", { ...designerProps, style: { display: 'inline-block', width: '100%', ...wrapperStyle }, children: _jsx(AntdTimeRangePicker, { ...timeRangePickerProps, style: { width: '100%', ...controlStyle } }) }));
|
|
9
|
+
};
|
|
10
|
+
TimeRangePicker.Behavior = createBehavior({
|
|
11
|
+
name: 'TimeRangePicker',
|
|
12
|
+
selector: node => node.componentName === 'TimeRangePicker',
|
|
13
|
+
designerProps: {
|
|
14
|
+
propsSchema: createFieldPropsSchema({
|
|
15
|
+
placeholder: createJSONProperty('占位符', 'array', '["开始时间","结束时间"]'),
|
|
16
|
+
allowClear: allowClearProperty,
|
|
17
|
+
autoFocus: autoFocusProperty,
|
|
18
|
+
format: {
|
|
19
|
+
type: 'string',
|
|
20
|
+
'x-decorator': 'FormItem',
|
|
21
|
+
'x-component': 'Input',
|
|
22
|
+
title: '展示格式',
|
|
23
|
+
},
|
|
24
|
+
clearText: {
|
|
25
|
+
type: 'string',
|
|
26
|
+
'x-decorator': 'FormItem',
|
|
27
|
+
'x-component': 'Input',
|
|
28
|
+
title: '清除提示',
|
|
29
|
+
},
|
|
30
|
+
use12Hours: {
|
|
31
|
+
type: 'boolean',
|
|
32
|
+
'x-decorator': 'FormItem',
|
|
33
|
+
'x-component': 'Switch',
|
|
34
|
+
title: '12 小时制',
|
|
35
|
+
},
|
|
36
|
+
inputReadOnly: createSwitchProperty('输入只读'),
|
|
37
|
+
showNow: createSwitchProperty('显示此刻'),
|
|
38
|
+
hideDisabledOptions: createSwitchProperty('隐藏禁用项'),
|
|
39
|
+
disabledHours: createExpressionProperty('禁用小时', '{{() => [0, 1, 2]}}'),
|
|
40
|
+
disabledMinutes: createExpressionProperty('禁用分钟', '{{(hour) => hour === 0 ? [0, 30] : []}}'),
|
|
41
|
+
disabledSeconds: createExpressionProperty('禁用秒', '{{() => []}}'),
|
|
42
|
+
hourStep: createNumberProperty('小时步长'),
|
|
43
|
+
minuteStep: createNumberProperty('分钟步长'),
|
|
44
|
+
secondStep: createNumberProperty('秒步长'),
|
|
45
|
+
valueType: createSelectProperty('值类型', ['array', 'string', null]),
|
|
46
|
+
timeValueType: createSelectProperty('时间值类型', ['string', 'dayjs', null]),
|
|
47
|
+
status: statusProperty,
|
|
48
|
+
splitter: {
|
|
49
|
+
type: 'string',
|
|
50
|
+
'x-decorator': 'FormItem',
|
|
51
|
+
'x-component': 'Input',
|
|
52
|
+
title: '分隔符',
|
|
53
|
+
},
|
|
54
|
+
size: sizeProperty,
|
|
55
|
+
}),
|
|
56
|
+
},
|
|
57
|
+
});
|
|
58
|
+
TimeRangePicker.Resource = createResource({
|
|
59
|
+
icon: 'ClockCircleOutlined',
|
|
60
|
+
elements: [
|
|
61
|
+
{
|
|
62
|
+
componentName: 'TimeRangePicker',
|
|
63
|
+
props: createFieldResourceProps('timeRange', '时间范围', {
|
|
64
|
+
valueType: 'array',
|
|
65
|
+
}),
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
});
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Transfer as AntdTransfer } from '@yimoka/antd';
|
|
3
|
+
import { createBehavior, createResource } from '@yimoka/designable-core';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { createDataBindingProperty, createExpressionProperty, createFieldResourceProps, createFieldPropsSchema, createInputProperty, createJSONProperty, createSelectProperty, createSwitchProperty, showSearchProperty, splitDesignableStyleProps, withSchemaTransferDataSource, } from "../shared.js";
|
|
6
|
+
const renderDefaultTransferItem = (item) => {
|
|
7
|
+
if (React.isValidElement(item.title))
|
|
8
|
+
return item.title;
|
|
9
|
+
if (item.title !== undefined && item.title !== null)
|
|
10
|
+
return String(item.title);
|
|
11
|
+
return String(item.key ?? '');
|
|
12
|
+
};
|
|
13
|
+
export const Transfer = (props) => {
|
|
14
|
+
const { componentProps: transferProps, designerProps, wrapperStyle, } = splitDesignableStyleProps(props);
|
|
15
|
+
const normalizedTransferProps = withSchemaTransferDataSource(transferProps);
|
|
16
|
+
return (_jsx("div", { ...designerProps, style: { display: 'inline-block', width: '100%', ...wrapperStyle }, children: _jsx(AntdTransfer, { ...normalizedTransferProps, render: normalizedTransferProps.render ?? renderDefaultTransferItem, style: { width: '100%' } }) }));
|
|
17
|
+
};
|
|
18
|
+
Transfer.Behavior = createBehavior({
|
|
19
|
+
name: 'Transfer',
|
|
20
|
+
selector: node => node.componentName === 'Transfer',
|
|
21
|
+
designerProps: {
|
|
22
|
+
propsSchema: createFieldPropsSchema({
|
|
23
|
+
dataBinding: createDataBindingProperty(['dataSource', 'data']),
|
|
24
|
+
oneWay: createSwitchProperty('单向模式'),
|
|
25
|
+
showSearch: showSearchProperty,
|
|
26
|
+
showSelectAll: createSwitchProperty('显示全选'),
|
|
27
|
+
disabled: createSwitchProperty('禁用'),
|
|
28
|
+
pagination: createSwitchProperty('分页'),
|
|
29
|
+
filterOption: createExpressionProperty('过滤函数', '{{(inputValue, option) => true}}'),
|
|
30
|
+
selectAllLabels: createJSONProperty('全选文案', 'array', '["全选","全选"]'),
|
|
31
|
+
titles: createJSONProperty('栏标题', 'array', '["待选","已选"]'),
|
|
32
|
+
operations: createJSONProperty('操作文案', 'array', '["加入右侧","加入左侧"]'),
|
|
33
|
+
targetKeys: createJSONProperty('已选值', 'array', '["item-1"]'),
|
|
34
|
+
selectedKeys: createJSONProperty('选中项', 'array', '["item-1"]'),
|
|
35
|
+
valueType: createSelectProperty('值类型', ['array', 'string', null]),
|
|
36
|
+
splitter: createInputProperty('分隔符'),
|
|
37
|
+
locale: createJSONProperty('本地文案', 'object', '{"itemUnit":"项","itemsUnit":"项"}'),
|
|
38
|
+
filterPlaceholder: createInputProperty('搜索占位符'),
|
|
39
|
+
listStyle: createJSONProperty('列表样式', 'object', '{"width":240,"height":320}'),
|
|
40
|
+
}),
|
|
41
|
+
},
|
|
42
|
+
});
|
|
43
|
+
Transfer.Resource = createResource({
|
|
44
|
+
icon: 'SwapOutlined',
|
|
45
|
+
elements: [
|
|
46
|
+
{
|
|
47
|
+
componentName: 'Transfer',
|
|
48
|
+
props: createFieldResourceProps('transfer', '穿梭框', {
|
|
49
|
+
showSearch: true,
|
|
50
|
+
dataSource: [
|
|
51
|
+
{ key: 'item-1', title: '选项一' },
|
|
52
|
+
{ key: 'item-2', title: '选项二' },
|
|
53
|
+
{ key: 'item-3', title: '选项三' },
|
|
54
|
+
],
|
|
55
|
+
targetKeys: ['item-2'],
|
|
56
|
+
}),
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
});
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { TreeSelect as AntdTreeSelect } from '@yimoka/antd';
|
|
3
|
+
import { createBehavior, createResource } from '@yimoka/designable-core';
|
|
4
|
+
import { allowClearProperty, autoFocusProperty, createDataBindingProperty, createExpressionProperty, createFieldResourceProps, createFieldPropsSchema, createInputProperty, createSelectProperty, createSwitchProperty, multiSelectProperties, pickControlVisualStyle, placeholderProperty, selectPopupProperties, selectSearchProperties, showSearchProperty, sizeProperty, statusProperty, splitDesignableStyleProps, withSchemaTreeData, } from "../shared.js";
|
|
5
|
+
export const TreeSelect = (props) => {
|
|
6
|
+
const { componentProps: treeSelectProps, designerProps, wrapperStyle, } = splitDesignableStyleProps(props);
|
|
7
|
+
const controlStyle = pickControlVisualStyle(wrapperStyle);
|
|
8
|
+
return (_jsx("div", { ...designerProps, style: { display: 'inline-block', width: '100%', ...wrapperStyle }, children: _jsx(AntdTreeSelect, { ...withSchemaTreeData(treeSelectProps), style: { width: '100%', ...controlStyle } }) }));
|
|
9
|
+
};
|
|
10
|
+
TreeSelect.Behavior = createBehavior({
|
|
11
|
+
name: 'TreeSelect',
|
|
12
|
+
selector: node => node.componentName === 'TreeSelect',
|
|
13
|
+
designerProps: {
|
|
14
|
+
propsSchema: createFieldPropsSchema({
|
|
15
|
+
dataBinding: createDataBindingProperty(['treeData', 'data']),
|
|
16
|
+
placeholder: placeholderProperty,
|
|
17
|
+
allowClear: allowClearProperty,
|
|
18
|
+
autoFocus: autoFocusProperty,
|
|
19
|
+
showSearch: showSearchProperty,
|
|
20
|
+
autoClearSearchValue: createSwitchProperty('选中后清空搜索'),
|
|
21
|
+
bordered: createSwitchProperty('显示边框'),
|
|
22
|
+
labelInValue: createSwitchProperty('标签值对象'),
|
|
23
|
+
popupMatchSelectWidth: createSwitchProperty('弹层同宽'),
|
|
24
|
+
treeDefaultExpandAll: createSwitchProperty('默认展开'),
|
|
25
|
+
treeDefaultExpandedKeys: createExpressionProperty('默认展开值', '{{["node-1"]}}'),
|
|
26
|
+
treeCheckable: createSwitchProperty('显示勾选框'),
|
|
27
|
+
treeCheckStrictly: createSwitchProperty('父子独立选择'),
|
|
28
|
+
multiple: createSwitchProperty('多选'),
|
|
29
|
+
showCheckedStrategy: createSelectProperty('选中展示策略', ['SHOW_ALL', 'SHOW_PARENT', 'SHOW_CHILD', null]),
|
|
30
|
+
treeNodeFilterProp: createSelectProperty('搜索字段', ['title', 'value', null]),
|
|
31
|
+
treeNodeLabelProp: createInputProperty('回填字段'),
|
|
32
|
+
filterTreeNode: createExpressionProperty('过滤树节点', '{{(input, node) => true}}'),
|
|
33
|
+
treeDataSimpleMode: createExpressionProperty('简单数据模式', '{{true}}'),
|
|
34
|
+
status: statusProperty,
|
|
35
|
+
...selectSearchProperties,
|
|
36
|
+
...multiSelectProperties,
|
|
37
|
+
...selectPopupProperties,
|
|
38
|
+
size: sizeProperty,
|
|
39
|
+
}),
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
TreeSelect.Resource = createResource({
|
|
43
|
+
icon: 'PartitionOutlined',
|
|
44
|
+
elements: [
|
|
45
|
+
{
|
|
46
|
+
componentName: 'TreeSelect',
|
|
47
|
+
props: createFieldResourceProps('treeSelect', '树选择', {
|
|
48
|
+
placeholder: '请选择树节点',
|
|
49
|
+
treeDefaultExpandAll: true,
|
|
50
|
+
treeData: [
|
|
51
|
+
{
|
|
52
|
+
title: '节点一',
|
|
53
|
+
value: 'node-1',
|
|
54
|
+
children: [
|
|
55
|
+
{ title: '子节点一', value: 'child-1' },
|
|
56
|
+
{ title: '子节点二', value: 'child-2' },
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
}),
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Upload as AntdUpload } from '@yimoka/antd';
|
|
2
|
+
import { DnFC } from '@yimoka/designable-react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
type UploadProps = React.ComponentProps<typeof AntdUpload> & {
|
|
5
|
+
textContent?: React.ReactNode;
|
|
6
|
+
};
|
|
7
|
+
export declare const Upload: DnFC<UploadProps>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { UploadOutlined } from '@ant-design/icons';
|
|
3
|
+
import { Button, Upload as AntdUpload } from '@yimoka/antd';
|
|
4
|
+
import { createBehavior, createResource } from '@yimoka/designable-core';
|
|
5
|
+
import { createFieldPropsSchema, createFieldResourceProps, createExpressionProperty, createInputProperty, createJSONProperty, createNumberProperty, createSelectProperty, createSwitchProperty, splitDesignableStyleProps, } from "../shared.js";
|
|
6
|
+
export const Upload = (props) => {
|
|
7
|
+
const { componentProps: uploadProps, designerProps, wrapperStyle, } = splitDesignableStyleProps(props);
|
|
8
|
+
const { children, textContent, ...restUploadProps } = uploadProps;
|
|
9
|
+
return (_jsx("div", { ...designerProps, style: { display: 'inline-block', width: '100%', ...wrapperStyle }, children: _jsx(AntdUpload, { ...restUploadProps, beforeUpload: () => false, children: children || (_jsx(Button, { icon: _jsx(UploadOutlined, {}), children: textContent ?? '上传文件' })) }) }));
|
|
10
|
+
};
|
|
11
|
+
Upload.Behavior = createBehavior({
|
|
12
|
+
name: 'Upload',
|
|
13
|
+
selector: node => node.componentName === 'Upload',
|
|
14
|
+
designerProps: {
|
|
15
|
+
propsSchema: createFieldPropsSchema({
|
|
16
|
+
textContent: createInputProperty('按钮文案'),
|
|
17
|
+
action: {
|
|
18
|
+
type: 'string',
|
|
19
|
+
'x-decorator': 'FormItem',
|
|
20
|
+
'x-component': 'ValueInput',
|
|
21
|
+
title: '上传地址',
|
|
22
|
+
'x-component-props': {
|
|
23
|
+
include: ['TEXT', 'EXPRESSION'],
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
accept: createInputProperty('文件类型'),
|
|
27
|
+
method: createSelectProperty('请求方法', ['POST', 'PUT', 'GET']),
|
|
28
|
+
data: createJSONProperty('请求数据', 'object', '{"token":"{{token}}"}'),
|
|
29
|
+
headers: createJSONProperty('请求头', 'object', '{"Authorization":"Bearer {{token}}"}'),
|
|
30
|
+
defaultFileList: createJSONProperty('默认文件列表', 'array', '[{"uid":"1","name":"demo.png","status":"done","url":"/demo.png"}]'),
|
|
31
|
+
fileList: createJSONProperty('受控文件列表', 'array', '[{"uid":"1","name":"demo.png","status":"done","url":"/demo.png"}]'),
|
|
32
|
+
multiple: createSwitchProperty('多选'),
|
|
33
|
+
directory: createSwitchProperty('选择目录'),
|
|
34
|
+
maxCount: createNumberProperty('最大数量'),
|
|
35
|
+
listType: {
|
|
36
|
+
type: 'string',
|
|
37
|
+
enum: ['text', 'picture', 'picture-card', 'picture-circle'],
|
|
38
|
+
'x-decorator': 'FormItem',
|
|
39
|
+
'x-component': 'Select',
|
|
40
|
+
title: '列表类型',
|
|
41
|
+
},
|
|
42
|
+
openFileDialogOnClick: createSwitchProperty('点击打开文件'),
|
|
43
|
+
showUploadList: createSwitchProperty('显示列表'),
|
|
44
|
+
withCredentials: createSwitchProperty('携带凭证'),
|
|
45
|
+
progress: createJSONProperty('进度条配置', 'object', '{"strokeWidth":2,"showInfo":true}'),
|
|
46
|
+
customRequest: createExpressionProperty('自定义上传', '{{(options) => options.onSuccess?.({}, options.file)}}'),
|
|
47
|
+
iconRender: createExpressionProperty('图标渲染', '{{(file) => file.name}}'),
|
|
48
|
+
itemRender: createExpressionProperty('列表项渲染', '{{(originNode) => originNode}}'),
|
|
49
|
+
onChange: createExpressionProperty('变更事件', '{{(info) => {}}}'),
|
|
50
|
+
onPreview: createExpressionProperty('预览事件', '{{(file) => {}}}'),
|
|
51
|
+
}),
|
|
52
|
+
},
|
|
53
|
+
});
|
|
54
|
+
Upload.Resource = createResource({
|
|
55
|
+
icon: 'UploadOutlined',
|
|
56
|
+
elements: [
|
|
57
|
+
{
|
|
58
|
+
componentName: 'Upload',
|
|
59
|
+
props: createFieldResourceProps('upload', '上传', {
|
|
60
|
+
maxCount: 1,
|
|
61
|
+
}),
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
});
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export * from "./Input/index.js";
|
|
2
|
+
export * from "./InputSearch/index.js";
|
|
3
|
+
export * from "./TextArea/index.js";
|
|
4
|
+
export * from "./Password/index.js";
|
|
5
|
+
export * from "./AutoComplete/index.js";
|
|
6
|
+
export * from "./Search/index.js";
|
|
7
|
+
export * from "./Mentions/index.js";
|
|
8
|
+
export * from "./Text/index.js";
|
|
9
|
+
export * from "./Avatar/index.js";
|
|
10
|
+
export * from "./Alert/index.js";
|
|
11
|
+
export * from "./Badge/index.js";
|
|
12
|
+
export * from "./Divider/index.js";
|
|
13
|
+
export * from "./Empty/index.js";
|
|
14
|
+
export * from "./HTMLContent/index.js";
|
|
15
|
+
export * from "./Image/index.js";
|
|
16
|
+
export * from "./I18nEditor/index.js";
|
|
17
|
+
export * from "./Link/index.js";
|
|
18
|
+
export * from "./QRCode/index.js";
|
|
19
|
+
export * from "./Statistic/index.js";
|
|
20
|
+
export * from "./Tag/index.js";
|
|
21
|
+
export * from "./Select/index.js";
|
|
22
|
+
export * from "./SearchSelect/index.js";
|
|
23
|
+
export * from "./ColorPicker/index.js";
|
|
24
|
+
export * from "./DatePicker/index.js";
|
|
25
|
+
export * from "./DateRangePicker/index.js";
|
|
26
|
+
export * from "./TimePicker/index.js";
|
|
27
|
+
export * from "./TimeRangePicker/index.js";
|
|
28
|
+
export * from "./NumberPicker/index.js";
|
|
29
|
+
export * from "./Cascader/index.js";
|
|
30
|
+
export * from "./TreeSelect/index.js";
|
|
31
|
+
export * from "./Transfer/index.js";
|
|
32
|
+
export * from "./Checkbox/index.js";
|
|
33
|
+
export * from "./Radio/index.js";
|
|
34
|
+
export * from "./Switch/index.js";
|
|
35
|
+
export * from "./Slider/index.js";
|
|
36
|
+
export * from "./Rate/index.js";
|
|
37
|
+
export * from "./Upload/index.js";
|
|
38
|
+
export * from "./Button/index.js";
|
|
39
|
+
export * from "./Form/index.js";
|
|
40
|
+
export * from "./FormCollapse/index.js";
|
|
41
|
+
export * from "./FormGrid/index.js";
|
|
42
|
+
export * from "./FormItem/index.js";
|
|
43
|
+
export * from "./FormLayout/index.js";
|
|
44
|
+
export * from "./FormTab/index.js";
|
|
45
|
+
export * from "./Card/index.js";
|
|
46
|
+
export * from "./Carousel/index.js";
|
|
47
|
+
export * from "./GridRow/index.js";
|
|
48
|
+
export * from "./GridCol/index.js";
|
|
49
|
+
export * from "./Flex/index.js";
|
|
50
|
+
export * from "./Space/index.js";
|
|
51
|
+
export * from "./Tabs/index.js";
|
|
52
|
+
export * from "./ArrayList/index.js";
|
|
53
|
+
export * from "./ArrayCards/index.js";
|
|
54
|
+
export * from "./ArrayTable/index.js";
|
|
55
|
+
export * from "./ObjectContainer/index.js";
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export * from "./Input/index.js";
|
|
2
|
+
export * from "./InputSearch/index.js";
|
|
3
|
+
export * from "./TextArea/index.js";
|
|
4
|
+
export * from "./Password/index.js";
|
|
5
|
+
export * from "./AutoComplete/index.js";
|
|
6
|
+
export * from "./Search/index.js";
|
|
7
|
+
export * from "./Mentions/index.js";
|
|
8
|
+
export * from "./Text/index.js";
|
|
9
|
+
export * from "./Avatar/index.js";
|
|
10
|
+
export * from "./Alert/index.js";
|
|
11
|
+
export * from "./Badge/index.js";
|
|
12
|
+
export * from "./Divider/index.js";
|
|
13
|
+
export * from "./Empty/index.js";
|
|
14
|
+
export * from "./HTMLContent/index.js";
|
|
15
|
+
export * from "./Image/index.js";
|
|
16
|
+
export * from "./I18nEditor/index.js";
|
|
17
|
+
export * from "./Link/index.js";
|
|
18
|
+
export * from "./QRCode/index.js";
|
|
19
|
+
export * from "./Statistic/index.js";
|
|
20
|
+
export * from "./Tag/index.js";
|
|
21
|
+
export * from "./Select/index.js";
|
|
22
|
+
export * from "./SearchSelect/index.js";
|
|
23
|
+
export * from "./ColorPicker/index.js";
|
|
24
|
+
export * from "./DatePicker/index.js";
|
|
25
|
+
export * from "./DateRangePicker/index.js";
|
|
26
|
+
export * from "./TimePicker/index.js";
|
|
27
|
+
export * from "./TimeRangePicker/index.js";
|
|
28
|
+
export * from "./NumberPicker/index.js";
|
|
29
|
+
export * from "./Cascader/index.js";
|
|
30
|
+
export * from "./TreeSelect/index.js";
|
|
31
|
+
export * from "./Transfer/index.js";
|
|
32
|
+
export * from "./Checkbox/index.js";
|
|
33
|
+
export * from "./Radio/index.js";
|
|
34
|
+
export * from "./Switch/index.js";
|
|
35
|
+
export * from "./Slider/index.js";
|
|
36
|
+
export * from "./Rate/index.js";
|
|
37
|
+
export * from "./Upload/index.js";
|
|
38
|
+
export * from "./Button/index.js";
|
|
39
|
+
export * from "./Form/index.js";
|
|
40
|
+
export * from "./FormCollapse/index.js";
|
|
41
|
+
export * from "./FormGrid/index.js";
|
|
42
|
+
export * from "./FormItem/index.js";
|
|
43
|
+
export * from "./FormLayout/index.js";
|
|
44
|
+
export * from "./FormTab/index.js";
|
|
45
|
+
export * from "./Card/index.js";
|
|
46
|
+
export * from "./Carousel/index.js";
|
|
47
|
+
export * from "./GridRow/index.js";
|
|
48
|
+
export * from "./GridCol/index.js";
|
|
49
|
+
export * from "./Flex/index.js";
|
|
50
|
+
export * from "./Space/index.js";
|
|
51
|
+
export * from "./Tabs/index.js";
|
|
52
|
+
export * from "./ArrayList/index.js";
|
|
53
|
+
export * from "./ArrayCards/index.js";
|
|
54
|
+
export * from "./ArrayTable/index.js";
|
|
55
|
+
export * from "./ObjectContainer/index.js";
|