@formily-design/formily-antd 1.0.0
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/.umirc.js +44 -0
- package/LICENSE.md +20 -0
- package/README.md +106 -0
- package/copy.ts +6 -0
- package/esm/common/Container/index.d.ts +6 -0
- package/esm/common/Container/index.js +13 -0
- package/esm/common/Container/styles.less +5 -0
- package/esm/common/FormItemSwitcher/index.d.ts +6 -0
- package/esm/common/FormItemSwitcher/index.js +7 -0
- package/esm/common/LoadTemplate/index.d.ts +13 -0
- package/esm/common/LoadTemplate/index.js +8 -0
- package/esm/components/ArrayBase/index.d.ts +1 -0
- package/esm/components/ArrayBase/index.js +71 -0
- package/esm/components/ArrayCards/index.d.ts +1 -0
- package/esm/components/ArrayCards/index.js +1 -0
- package/esm/components/ArrayCards/preview.d.ts +4 -0
- package/esm/components/ArrayCards/preview.js +206 -0
- package/esm/components/ArrayCards/styles.less +2 -0
- package/esm/components/ArrayTable/index.d.ts +1 -0
- package/esm/components/ArrayTable/index.js +1 -0
- package/esm/components/ArrayTable/preview.d.ts +4 -0
- package/esm/components/ArrayTable/preview.js +384 -0
- package/esm/components/ArrayTable/styles.less +2 -0
- package/esm/components/Card/index.d.ts +1 -0
- package/esm/components/Card/index.js +1 -0
- package/esm/components/Card/preview.d.ts +4 -0
- package/esm/components/Card/preview.js +34 -0
- package/esm/components/Cascader/index.d.ts +1 -0
- package/esm/components/Cascader/index.js +1 -0
- package/esm/components/Cascader/preview.d.ts +4 -0
- package/esm/components/Cascader/preview.js +28 -0
- package/esm/components/Checkbox/index.d.ts +1 -0
- package/esm/components/Checkbox/index.js +1 -0
- package/esm/components/Checkbox/preview.d.ts +4 -0
- package/esm/components/Checkbox/preview.js +33 -0
- package/esm/components/DatePicker/index.d.ts +1 -0
- package/esm/components/DatePicker/index.js +1 -0
- package/esm/components/DatePicker/preview.d.ts +4 -0
- package/esm/components/DatePicker/preview.js +50 -0
- package/esm/components/Field/index.d.ts +2 -0
- package/esm/components/Field/index.js +2 -0
- package/esm/components/Field/preview.d.ts +3 -0
- package/esm/components/Field/preview.js +127 -0
- package/esm/components/Field/shared.d.ts +649 -0
- package/esm/components/Field/shared.js +242 -0
- package/esm/components/Form/index.d.ts +1 -0
- package/esm/components/Form/index.js +1 -0
- package/esm/components/Form/preview.d.ts +5 -0
- package/esm/components/Form/preview.js +81 -0
- package/esm/components/Form/styles.less +32 -0
- package/esm/components/FormCollapse/index.d.ts +1 -0
- package/esm/components/FormCollapse/index.js +1 -0
- package/esm/components/FormCollapse/preview.d.ts +6 -0
- package/esm/components/FormCollapse/preview.js +116 -0
- package/esm/components/FormGrid/index.d.ts +1 -0
- package/esm/components/FormGrid/index.js +1 -0
- package/esm/components/FormGrid/preview.d.ts +9 -0
- package/esm/components/FormGrid/preview.js +131 -0
- package/esm/components/FormGrid/styles.less +5 -0
- package/esm/components/FormLayout/index.d.ts +1 -0
- package/esm/components/FormLayout/index.js +1 -0
- package/esm/components/FormLayout/preview.d.ts +4 -0
- package/esm/components/FormLayout/preview.js +29 -0
- package/esm/components/FormTab/index.d.ts +1 -0
- package/esm/components/FormTab/index.js +1 -0
- package/esm/components/FormTab/preview.d.ts +6 -0
- package/esm/components/FormTab/preview.js +123 -0
- package/esm/components/Input/index.d.ts +1 -0
- package/esm/components/Input/index.js +1 -0
- package/esm/components/Input/preview.d.ts +4 -0
- package/esm/components/Input/preview.js +50 -0
- package/esm/components/NumberPicker/index.d.ts +1 -0
- package/esm/components/NumberPicker/index.js +1 -0
- package/esm/components/NumberPicker/preview.d.ts +4 -0
- package/esm/components/NumberPicker/preview.js +29 -0
- package/esm/components/Object/index.d.ts +1 -0
- package/esm/components/Object/index.js +1 -0
- package/esm/components/Object/preview.d.ts +4 -0
- package/esm/components/Object/preview.js +26 -0
- package/esm/components/Password/index.d.ts +1 -0
- package/esm/components/Password/index.js +1 -0
- package/esm/components/Password/preview.d.ts +4 -0
- package/esm/components/Password/preview.js +28 -0
- package/esm/components/Radio/index.d.ts +1 -0
- package/esm/components/Radio/index.js +1 -0
- package/esm/components/Radio/preview.d.ts +4 -0
- package/esm/components/Radio/preview.js +33 -0
- package/esm/components/Rate/index.d.ts +1 -0
- package/esm/components/Rate/index.js +1 -0
- package/esm/components/Rate/preview.d.ts +4 -0
- package/esm/components/Rate/preview.js +29 -0
- package/esm/components/Select/index.d.ts +1 -0
- package/esm/components/Select/index.js +1 -0
- package/esm/components/Select/preview.d.ts +4 -0
- package/esm/components/Select/preview.js +28 -0
- package/esm/components/Slider/index.d.ts +1 -0
- package/esm/components/Slider/index.js +1 -0
- package/esm/components/Slider/preview.d.ts +4 -0
- package/esm/components/Slider/preview.js +29 -0
- package/esm/components/Space/index.d.ts +1 -0
- package/esm/components/Space/index.js +1 -0
- package/esm/components/Space/preview.d.ts +4 -0
- package/esm/components/Space/preview.js +30 -0
- package/esm/components/Switch/index.d.ts +1 -0
- package/esm/components/Switch/index.js +1 -0
- package/esm/components/Switch/preview.d.ts +4 -0
- package/esm/components/Switch/preview.js +29 -0
- package/esm/components/Text/index.d.ts +1 -0
- package/esm/components/Text/index.js +1 -0
- package/esm/components/Text/preview.d.ts +11 -0
- package/esm/components/Text/preview.js +32 -0
- package/esm/components/Text/styles.less +10 -0
- package/esm/components/TimePicker/index.d.ts +1 -0
- package/esm/components/TimePicker/index.js +1 -0
- package/esm/components/TimePicker/preview.d.ts +4 -0
- package/esm/components/TimePicker/preview.js +50 -0
- package/esm/components/Transfer/index.d.ts +1 -0
- package/esm/components/Transfer/index.js +1 -0
- package/esm/components/Transfer/preview.d.ts +4 -0
- package/esm/components/Transfer/preview.js +28 -0
- package/esm/components/TreeSelect/index.d.ts +1 -0
- package/esm/components/TreeSelect/index.js +1 -0
- package/esm/components/TreeSelect/preview.d.ts +4 -0
- package/esm/components/TreeSelect/preview.js +28 -0
- package/esm/components/Upload/index.d.ts +1 -0
- package/esm/components/Upload/index.js +1 -0
- package/esm/components/Upload/preview.d.ts +4 -0
- package/esm/components/Upload/preview.js +56 -0
- package/esm/components/index.d.ts +27 -0
- package/esm/components/index.js +27 -0
- package/esm/hooks/index.d.ts +1 -0
- package/esm/hooks/index.js +1 -0
- package/esm/hooks/useDropTemplate.d.ts +2 -0
- package/esm/hooks/useDropTemplate.js +20 -0
- package/esm/index.d.ts +3 -0
- package/esm/index.js +3 -0
- package/esm/locales/ArrayBase.d.ts +77 -0
- package/esm/locales/ArrayBase.js +91 -0
- package/esm/locales/ArrayCards.d.ts +1 -0
- package/esm/locales/ArrayCards.js +19 -0
- package/esm/locales/ArrayTable.d.ts +138 -0
- package/esm/locales/ArrayTable.js +129 -0
- package/esm/locales/Card.d.ts +44 -0
- package/esm/locales/Card.js +44 -0
- package/esm/locales/Cascader.d.ts +59 -0
- package/esm/locales/Cascader.js +59 -0
- package/esm/locales/Checkbox.d.ts +11 -0
- package/esm/locales/Checkbox.js +11 -0
- package/esm/locales/Component.d.ts +53 -0
- package/esm/locales/Component.js +53 -0
- package/esm/locales/DatePicker.d.ts +75 -0
- package/esm/locales/DatePicker.js +86 -0
- package/esm/locales/Field.d.ts +341 -0
- package/esm/locales/Field.js +338 -0
- package/esm/locales/Form.d.ts +1 -0
- package/esm/locales/Form.js +133 -0
- package/esm/locales/FormCollapse.d.ts +88 -0
- package/esm/locales/FormCollapse.js +82 -0
- package/esm/locales/FormGrid.d.ts +76 -0
- package/esm/locales/FormGrid.js +76 -0
- package/esm/locales/FormLayout.d.ts +128 -0
- package/esm/locales/FormLayout.js +122 -0
- package/esm/locales/FormTab.d.ts +82 -0
- package/esm/locales/FormTab.js +82 -0
- package/esm/locales/Input.d.ts +50 -0
- package/esm/locales/Input.js +50 -0
- package/esm/locales/NumberPicker.d.ts +77 -0
- package/esm/locales/NumberPicker.js +77 -0
- package/esm/locales/Object.d.ts +11 -0
- package/esm/locales/Object.js +11 -0
- package/esm/locales/Password.d.ts +1 -0
- package/esm/locales/Password.js +13 -0
- package/esm/locales/Radio.d.ts +47 -0
- package/esm/locales/Radio.js +29 -0
- package/esm/locales/Rate.d.ts +41 -0
- package/esm/locales/Rate.js +32 -0
- package/esm/locales/Select.d.ts +125 -0
- package/esm/locales/Select.js +125 -0
- package/esm/locales/Slider.d.ts +71 -0
- package/esm/locales/Slider.js +71 -0
- package/esm/locales/Space.d.ts +53 -0
- package/esm/locales/Space.js +50 -0
- package/esm/locales/Switch.d.ts +11 -0
- package/esm/locales/Switch.js +11 -0
- package/esm/locales/Text.d.ts +38 -0
- package/esm/locales/Text.js +38 -0
- package/esm/locales/TextArea.d.ts +35 -0
- package/esm/locales/TextArea.js +35 -0
- package/esm/locales/TimePicker.d.ts +2 -0
- package/esm/locales/TimePicker.js +72 -0
- package/esm/locales/Transfer.d.ts +56 -0
- package/esm/locales/Transfer.js +38 -0
- package/esm/locales/TreeSelect.d.ts +181 -0
- package/esm/locales/TreeSelect.js +178 -0
- package/esm/locales/Upload.d.ts +78 -0
- package/esm/locales/Upload.js +92 -0
- package/esm/locales/Void.d.ts +11 -0
- package/esm/locales/Void.js +11 -0
- package/esm/locales/all.d.ts +31 -0
- package/esm/locales/all.js +31 -0
- package/esm/locales/index.d.ts +2 -0
- package/esm/locales/index.js +2 -0
- package/esm/schemas/ArrayCards.d.ts +59 -0
- package/esm/schemas/ArrayCards.js +4 -0
- package/esm/schemas/ArrayTable.d.ts +5 -0
- package/esm/schemas/ArrayTable.js +111 -0
- package/esm/schemas/CSSStyle.d.ts +2 -0
- package/esm/schemas/CSSStyle.js +49 -0
- package/esm/schemas/Card.d.ts +4 -0
- package/esm/schemas/Card.js +45 -0
- package/esm/schemas/Cascader.d.ts +2 -0
- package/esm/schemas/Cascader.js +74 -0
- package/esm/schemas/Checkbox.d.ts +4 -0
- package/esm/schemas/Checkbox.js +10 -0
- package/esm/schemas/DatePicker.d.ts +4 -0
- package/esm/schemas/DatePicker.js +104 -0
- package/esm/schemas/Form.d.ts +2 -0
- package/esm/schemas/Form.js +6 -0
- package/esm/schemas/FormCollapse.d.ts +4 -0
- package/esm/schemas/FormCollapse.js +58 -0
- package/esm/schemas/FormGrid.d.ts +4 -0
- package/esm/schemas/FormGrid.js +76 -0
- package/esm/schemas/FormItem.d.ts +2 -0
- package/esm/schemas/FormItem.js +138 -0
- package/esm/schemas/FormLayout.d.ts +2 -0
- package/esm/schemas/FormLayout.js +121 -0
- package/esm/schemas/FormTab.d.ts +4 -0
- package/esm/schemas/FormTab.js +43 -0
- package/esm/schemas/Input.d.ts +4 -0
- package/esm/schemas/Input.js +89 -0
- package/esm/schemas/NumberPicker.d.ts +2 -0
- package/esm/schemas/NumberPicker.js +79 -0
- package/esm/schemas/Password.d.ts +2 -0
- package/esm/schemas/Password.js +9 -0
- package/esm/schemas/Radio.d.ts +4 -0
- package/esm/schemas/Radio.js +35 -0
- package/esm/schemas/Rate.d.ts +2 -0
- package/esm/schemas/Rate.js +38 -0
- package/esm/schemas/Select.d.ts +2 -0
- package/esm/schemas/Select.js +159 -0
- package/esm/schemas/Slider.d.ts +2 -0
- package/esm/schemas/Slider.js +77 -0
- package/esm/schemas/Space.d.ts +2 -0
- package/esm/schemas/Space.js +39 -0
- package/esm/schemas/Switch.d.ts +2 -0
- package/esm/schemas/Switch.js +19 -0
- package/esm/schemas/Text.d.ts +2 -0
- package/esm/schemas/Text.js +19 -0
- package/esm/schemas/TimePicker.d.ts +116 -0
- package/esm/schemas/TimePicker.js +120 -0
- package/esm/schemas/Transfer.d.ts +2 -0
- package/esm/schemas/Transfer.js +44 -0
- package/esm/schemas/TreeSelect.d.ts +2 -0
- package/esm/schemas/TreeSelect.js +137 -0
- package/esm/schemas/Upload.d.ts +4 -0
- package/esm/schemas/Upload.js +99 -0
- package/esm/schemas/all.d.ts +27 -0
- package/esm/schemas/all.js +27 -0
- package/esm/schemas/index.d.ts +2 -0
- package/esm/schemas/index.js +2 -0
- package/esm/shared.d.ts +13 -0
- package/esm/shared.js +86 -0
- package/lib/common/Container/index.d.ts +6 -0
- package/lib/common/Container/index.js +20 -0
- package/lib/common/Container/styles.less +5 -0
- package/lib/common/FormItemSwitcher/index.d.ts +6 -0
- package/lib/common/FormItemSwitcher/index.js +14 -0
- package/lib/common/LoadTemplate/index.d.ts +13 -0
- package/lib/common/LoadTemplate/index.js +15 -0
- package/lib/components/ArrayBase/index.d.ts +1 -0
- package/lib/components/ArrayBase/index.js +75 -0
- package/lib/components/ArrayCards/index.d.ts +1 -0
- package/lib/components/ArrayCards/index.js +17 -0
- package/lib/components/ArrayCards/preview.d.ts +4 -0
- package/lib/components/ArrayCards/preview.js +245 -0
- package/lib/components/ArrayCards/styles.less +2 -0
- package/lib/components/ArrayTable/index.d.ts +1 -0
- package/lib/components/ArrayTable/index.js +17 -0
- package/lib/components/ArrayTable/preview.d.ts +4 -0
- package/lib/components/ArrayTable/preview.js +390 -0
- package/lib/components/ArrayTable/styles.less +2 -0
- package/lib/components/Card/index.d.ts +1 -0
- package/lib/components/Card/index.js +17 -0
- package/lib/components/Card/preview.d.ts +4 -0
- package/lib/components/Card/preview.js +41 -0
- package/lib/components/Cascader/index.d.ts +1 -0
- package/lib/components/Cascader/index.js +17 -0
- package/lib/components/Cascader/preview.d.ts +4 -0
- package/lib/components/Cascader/preview.js +31 -0
- package/lib/components/Checkbox/index.d.ts +1 -0
- package/lib/components/Checkbox/index.js +17 -0
- package/lib/components/Checkbox/preview.d.ts +4 -0
- package/lib/components/Checkbox/preview.js +36 -0
- package/lib/components/DatePicker/index.d.ts +1 -0
- package/lib/components/DatePicker/index.js +17 -0
- package/lib/components/DatePicker/preview.d.ts +4 -0
- package/lib/components/DatePicker/preview.js +53 -0
- package/lib/components/Field/index.d.ts +2 -0
- package/lib/components/Field/index.js +18 -0
- package/lib/components/Field/preview.d.ts +3 -0
- package/lib/components/Field/preview.js +133 -0
- package/lib/components/Field/shared.d.ts +649 -0
- package/lib/components/Field/shared.js +248 -0
- package/lib/components/Form/index.d.ts +1 -0
- package/lib/components/Form/index.js +17 -0
- package/lib/components/Form/preview.d.ts +5 -0
- package/lib/components/Form/preview.js +117 -0
- package/lib/components/Form/styles.less +32 -0
- package/lib/components/FormCollapse/index.d.ts +1 -0
- package/lib/components/FormCollapse/index.js +17 -0
- package/lib/components/FormCollapse/preview.d.ts +6 -0
- package/lib/components/FormCollapse/preview.js +152 -0
- package/lib/components/FormGrid/index.d.ts +1 -0
- package/lib/components/FormGrid/index.js +17 -0
- package/lib/components/FormGrid/preview.d.ts +9 -0
- package/lib/components/FormGrid/preview.js +137 -0
- package/lib/components/FormGrid/styles.less +5 -0
- package/lib/components/FormLayout/index.d.ts +1 -0
- package/lib/components/FormLayout/index.js +17 -0
- package/lib/components/FormLayout/preview.d.ts +4 -0
- package/lib/components/FormLayout/preview.js +32 -0
- package/lib/components/FormTab/index.d.ts +1 -0
- package/lib/components/FormTab/index.js +17 -0
- package/lib/components/FormTab/preview.d.ts +6 -0
- package/lib/components/FormTab/preview.js +159 -0
- package/lib/components/Input/index.d.ts +1 -0
- package/lib/components/Input/index.js +17 -0
- package/lib/components/Input/preview.d.ts +4 -0
- package/lib/components/Input/preview.js +53 -0
- package/lib/components/NumberPicker/index.d.ts +1 -0
- package/lib/components/NumberPicker/index.js +17 -0
- package/lib/components/NumberPicker/preview.d.ts +4 -0
- package/lib/components/NumberPicker/preview.js +32 -0
- package/lib/components/Object/index.d.ts +1 -0
- package/lib/components/Object/index.js +17 -0
- package/lib/components/Object/preview.d.ts +4 -0
- package/lib/components/Object/preview.js +29 -0
- package/lib/components/Password/index.d.ts +1 -0
- package/lib/components/Password/index.js +17 -0
- package/lib/components/Password/preview.d.ts +4 -0
- package/lib/components/Password/preview.js +31 -0
- package/lib/components/Radio/index.d.ts +1 -0
- package/lib/components/Radio/index.js +17 -0
- package/lib/components/Radio/preview.d.ts +4 -0
- package/lib/components/Radio/preview.js +36 -0
- package/lib/components/Rate/index.d.ts +1 -0
- package/lib/components/Rate/index.js +17 -0
- package/lib/components/Rate/preview.d.ts +4 -0
- package/lib/components/Rate/preview.js +32 -0
- package/lib/components/Select/index.d.ts +1 -0
- package/lib/components/Select/index.js +17 -0
- package/lib/components/Select/preview.d.ts +4 -0
- package/lib/components/Select/preview.js +31 -0
- package/lib/components/Slider/index.d.ts +1 -0
- package/lib/components/Slider/index.js +17 -0
- package/lib/components/Slider/preview.d.ts +4 -0
- package/lib/components/Slider/preview.js +32 -0
- package/lib/components/Space/index.d.ts +1 -0
- package/lib/components/Space/index.js +17 -0
- package/lib/components/Space/preview.d.ts +4 -0
- package/lib/components/Space/preview.js +33 -0
- package/lib/components/Switch/index.d.ts +1 -0
- package/lib/components/Switch/index.js +17 -0
- package/lib/components/Switch/preview.d.ts +4 -0
- package/lib/components/Switch/preview.js +32 -0
- package/lib/components/Text/index.d.ts +1 -0
- package/lib/components/Text/index.js +17 -0
- package/lib/components/Text/preview.d.ts +11 -0
- package/lib/components/Text/preview.js +39 -0
- package/lib/components/Text/styles.less +10 -0
- package/lib/components/TimePicker/index.d.ts +1 -0
- package/lib/components/TimePicker/index.js +17 -0
- package/lib/components/TimePicker/preview.d.ts +4 -0
- package/lib/components/TimePicker/preview.js +53 -0
- package/lib/components/Transfer/index.d.ts +1 -0
- package/lib/components/Transfer/index.js +17 -0
- package/lib/components/Transfer/preview.d.ts +4 -0
- package/lib/components/Transfer/preview.js +31 -0
- package/lib/components/TreeSelect/index.d.ts +1 -0
- package/lib/components/TreeSelect/index.js +17 -0
- package/lib/components/TreeSelect/preview.d.ts +4 -0
- package/lib/components/TreeSelect/preview.js +31 -0
- package/lib/components/Upload/index.d.ts +1 -0
- package/lib/components/Upload/index.js +17 -0
- package/lib/components/Upload/preview.d.ts +4 -0
- package/lib/components/Upload/preview.js +59 -0
- package/lib/components/index.d.ts +27 -0
- package/lib/components/index.js +43 -0
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/index.js +17 -0
- package/lib/hooks/useDropTemplate.d.ts +2 -0
- package/lib/hooks/useDropTemplate.js +24 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +19 -0
- package/lib/locales/ArrayBase.d.ts +77 -0
- package/lib/locales/ArrayBase.js +94 -0
- package/lib/locales/ArrayCards.d.ts +1 -0
- package/lib/locales/ArrayCards.js +22 -0
- package/lib/locales/ArrayTable.d.ts +138 -0
- package/lib/locales/ArrayTable.js +132 -0
- package/lib/locales/Card.d.ts +44 -0
- package/lib/locales/Card.js +47 -0
- package/lib/locales/Cascader.d.ts +59 -0
- package/lib/locales/Cascader.js +62 -0
- package/lib/locales/Checkbox.d.ts +11 -0
- package/lib/locales/Checkbox.js +14 -0
- package/lib/locales/Component.d.ts +53 -0
- package/lib/locales/Component.js +56 -0
- package/lib/locales/DatePicker.d.ts +75 -0
- package/lib/locales/DatePicker.js +89 -0
- package/lib/locales/Field.d.ts +341 -0
- package/lib/locales/Field.js +341 -0
- package/lib/locales/Form.d.ts +1 -0
- package/lib/locales/Form.js +136 -0
- package/lib/locales/FormCollapse.d.ts +88 -0
- package/lib/locales/FormCollapse.js +85 -0
- package/lib/locales/FormGrid.d.ts +76 -0
- package/lib/locales/FormGrid.js +79 -0
- package/lib/locales/FormLayout.d.ts +128 -0
- package/lib/locales/FormLayout.js +125 -0
- package/lib/locales/FormTab.d.ts +82 -0
- package/lib/locales/FormTab.js +85 -0
- package/lib/locales/Input.d.ts +50 -0
- package/lib/locales/Input.js +53 -0
- package/lib/locales/NumberPicker.d.ts +77 -0
- package/lib/locales/NumberPicker.js +80 -0
- package/lib/locales/Object.d.ts +11 -0
- package/lib/locales/Object.js +14 -0
- package/lib/locales/Password.d.ts +1 -0
- package/lib/locales/Password.js +16 -0
- package/lib/locales/Radio.d.ts +47 -0
- package/lib/locales/Radio.js +32 -0
- package/lib/locales/Rate.d.ts +41 -0
- package/lib/locales/Rate.js +35 -0
- package/lib/locales/Select.d.ts +125 -0
- package/lib/locales/Select.js +128 -0
- package/lib/locales/Slider.d.ts +71 -0
- package/lib/locales/Slider.js +74 -0
- package/lib/locales/Space.d.ts +53 -0
- package/lib/locales/Space.js +53 -0
- package/lib/locales/Switch.d.ts +11 -0
- package/lib/locales/Switch.js +14 -0
- package/lib/locales/Text.d.ts +38 -0
- package/lib/locales/Text.js +41 -0
- package/lib/locales/TextArea.d.ts +35 -0
- package/lib/locales/TextArea.js +38 -0
- package/lib/locales/TimePicker.d.ts +2 -0
- package/lib/locales/TimePicker.js +75 -0
- package/lib/locales/Transfer.d.ts +56 -0
- package/lib/locales/Transfer.js +41 -0
- package/lib/locales/TreeSelect.d.ts +181 -0
- package/lib/locales/TreeSelect.js +181 -0
- package/lib/locales/Upload.d.ts +78 -0
- package/lib/locales/Upload.js +95 -0
- package/lib/locales/Void.d.ts +11 -0
- package/lib/locales/Void.js +14 -0
- package/lib/locales/all.d.ts +31 -0
- package/lib/locales/all.js +47 -0
- package/lib/locales/index.d.ts +2 -0
- package/lib/locales/index.js +38 -0
- package/lib/schemas/ArrayCards.d.ts +59 -0
- package/lib/schemas/ArrayCards.js +7 -0
- package/lib/schemas/ArrayTable.d.ts +5 -0
- package/lib/schemas/ArrayTable.js +114 -0
- package/lib/schemas/CSSStyle.d.ts +2 -0
- package/lib/schemas/CSSStyle.js +52 -0
- package/lib/schemas/Card.d.ts +4 -0
- package/lib/schemas/Card.js +48 -0
- package/lib/schemas/Cascader.d.ts +2 -0
- package/lib/schemas/Cascader.js +77 -0
- package/lib/schemas/Checkbox.d.ts +4 -0
- package/lib/schemas/Checkbox.js +13 -0
- package/lib/schemas/DatePicker.d.ts +4 -0
- package/lib/schemas/DatePicker.js +107 -0
- package/lib/schemas/Form.d.ts +2 -0
- package/lib/schemas/Form.js +9 -0
- package/lib/schemas/FormCollapse.d.ts +4 -0
- package/lib/schemas/FormCollapse.js +61 -0
- package/lib/schemas/FormGrid.d.ts +4 -0
- package/lib/schemas/FormGrid.js +79 -0
- package/lib/schemas/FormItem.d.ts +2 -0
- package/lib/schemas/FormItem.js +141 -0
- package/lib/schemas/FormLayout.d.ts +2 -0
- package/lib/schemas/FormLayout.js +124 -0
- package/lib/schemas/FormTab.d.ts +4 -0
- package/lib/schemas/FormTab.js +46 -0
- package/lib/schemas/Input.d.ts +4 -0
- package/lib/schemas/Input.js +92 -0
- package/lib/schemas/NumberPicker.d.ts +2 -0
- package/lib/schemas/NumberPicker.js +82 -0
- package/lib/schemas/Password.d.ts +2 -0
- package/lib/schemas/Password.js +12 -0
- package/lib/schemas/Radio.d.ts +4 -0
- package/lib/schemas/Radio.js +38 -0
- package/lib/schemas/Rate.d.ts +2 -0
- package/lib/schemas/Rate.js +41 -0
- package/lib/schemas/Select.d.ts +2 -0
- package/lib/schemas/Select.js +162 -0
- package/lib/schemas/Slider.d.ts +2 -0
- package/lib/schemas/Slider.js +80 -0
- package/lib/schemas/Space.d.ts +2 -0
- package/lib/schemas/Space.js +42 -0
- package/lib/schemas/Switch.d.ts +2 -0
- package/lib/schemas/Switch.js +22 -0
- package/lib/schemas/Text.d.ts +2 -0
- package/lib/schemas/Text.js +22 -0
- package/lib/schemas/TimePicker.d.ts +116 -0
- package/lib/schemas/TimePicker.js +123 -0
- package/lib/schemas/Transfer.d.ts +2 -0
- package/lib/schemas/Transfer.js +47 -0
- package/lib/schemas/TreeSelect.d.ts +2 -0
- package/lib/schemas/TreeSelect.js +140 -0
- package/lib/schemas/Upload.d.ts +4 -0
- package/lib/schemas/Upload.js +102 -0
- package/lib/schemas/all.d.ts +27 -0
- package/lib/schemas/all.js +43 -0
- package/lib/schemas/index.d.ts +2 -0
- package/lib/schemas/index.js +38 -0
- package/lib/shared.d.ts +13 -0
- package/lib/shared.js +98 -0
- package/package.json +75 -0
- package/playground/components/AsyncSelect/AsyncSelect.tsx +38 -0
- package/playground/components/AsyncSelect/index.tsx +1 -0
- package/playground/components/AsyncSelect/preview.tsx +36 -0
- package/playground/components/ClickEventSetter/ActionConfigModal.tsx +173 -0
- package/playground/components/ClickEventSetter/ActionList.tsx +67 -0
- package/playground/components/ClickEventSetter/DownloadPanel.tsx +24 -0
- package/playground/components/ClickEventSetter/NavigationPanel.tsx +42 -0
- package/playground/components/ClickEventSetter/RequestPanel.tsx +190 -0
- package/playground/components/ClickEventSetter/index.tsx +90 -0
- package/playground/components/ClickEventSetter/styles.less +89 -0
- package/playground/components/ClickEventSetter/types.ts +43 -0
- package/playground/components/FormButton/FormButton.tsx +189 -0
- package/playground/components/FormButton/hooks/useEventActionExecutor.ts +65 -0
- package/playground/components/FormButton/index.ts +1 -0
- package/playground/components/FormButton/preview.tsx +60 -0
- package/playground/components/FormButton/utils/actionExecutors.ts +96 -0
- package/playground/components/FormButtonGroup/FormButtonGroup.tsx +21 -0
- package/playground/components/FormButtonGroup/index.ts +1 -0
- package/playground/components/FormButtonGroup/preview.tsx +66 -0
- package/playground/components/FormList/FormList.tsx +164 -0
- package/playground/components/FormList/index.tsx +1 -0
- package/playground/components/FormList/preview.tsx +429 -0
- package/playground/components/LocationPicker/LocationModal.tsx +328 -0
- package/playground/components/LocationPicker/LocationPicker.tsx +163 -0
- package/playground/components/LocationPicker/SearchBox.tsx +122 -0
- package/playground/components/LocationPicker/api.ts +77 -0
- package/playground/components/LocationPicker/constants.ts +2 -0
- package/playground/components/LocationPicker/index.tsx +44 -0
- package/playground/components/LocationPicker/types.ts +160 -0
- package/playground/components/LocationPicker/utils.ts +46 -0
- package/playground/components/ResourceIcon/index.module.less +10 -0
- package/playground/components/ResourceIcon/index.tsx +10 -0
- package/playground/designerLocales/en-US.ts +38 -0
- package/playground/designerLocales/index.ts +6 -0
- package/playground/designerLocales/ko-KR.ts +10 -0
- package/playground/designerLocales/zh-CN.ts +38 -0
- package/playground/locales/FormButton.ts +38 -0
- package/playground/locales/FormButtonGroup.ts +29 -0
- package/playground/locales/LocationPicker.ts +30 -0
- package/playground/locales/all.ts +3 -0
- package/playground/locales/index.ts +3 -0
- package/playground/main.tsx +222 -0
- package/playground/react-app-env.d.ts +4 -0
- package/playground/request.ts +123 -0
- package/playground/schemas/FormButton.ts +42 -0
- package/playground/schemas/FormButtonGroup.ts +24 -0
- package/playground/schemas/LocationPicker.ts +14 -0
- package/playground/schemas/all.ts +3 -0
- package/playground/schemas/index.ts +3 -0
- package/playground/service/index.ts +1 -0
- package/playground/service/schema.ts +22 -0
- package/playground/template.ejs +20 -0
- package/playground/utils.ts +744 -0
- package/playground/webpack.base.ts +123 -0
- package/playground/webpack.dev.ts +64 -0
- package/playground/webpack.prod.ts +46 -0
- package/playground/widgets/ActionsWidget.tsx +58 -0
- package/playground/widgets/LogoWidget.tsx +20 -0
- package/playground/widgets/MarkupSchemaWidget.tsx +164 -0
- package/playground/widgets/PreviewWidget.tsx +188 -0
- package/playground/widgets/SchemaEditorWidget.tsx +27 -0
- package/playground/widgets/index.ts +5 -0
- package/tsconfig.build.json +12 -0
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
export declare const Field: {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
settings: {
|
|
4
|
+
name: string;
|
|
5
|
+
title: string;
|
|
6
|
+
required: string;
|
|
7
|
+
description: string;
|
|
8
|
+
default: string;
|
|
9
|
+
enum: string;
|
|
10
|
+
'x-display': {
|
|
11
|
+
title: string;
|
|
12
|
+
tooltip: string;
|
|
13
|
+
dataSource: string[];
|
|
14
|
+
};
|
|
15
|
+
'x-pattern': {
|
|
16
|
+
title: string;
|
|
17
|
+
dataSource: string[];
|
|
18
|
+
};
|
|
19
|
+
'x-validator': string;
|
|
20
|
+
'x-decorator': string;
|
|
21
|
+
'x-reactions': string;
|
|
22
|
+
'field-group': string;
|
|
23
|
+
'component-group': string;
|
|
24
|
+
'decorator-group': string;
|
|
25
|
+
'component-style-group': string;
|
|
26
|
+
'decorator-style-group': string;
|
|
27
|
+
'x-datasource-type': string;
|
|
28
|
+
'x-datasource-effect': string;
|
|
29
|
+
'x-fetchdata-onsearch': {
|
|
30
|
+
title: string;
|
|
31
|
+
tooltip: string;
|
|
32
|
+
};
|
|
33
|
+
'x-component-props': {
|
|
34
|
+
size: {
|
|
35
|
+
title: string;
|
|
36
|
+
dataSource: string[];
|
|
37
|
+
};
|
|
38
|
+
allowClear: string;
|
|
39
|
+
autoFocus: string;
|
|
40
|
+
showSearch: string;
|
|
41
|
+
notFoundContent: string;
|
|
42
|
+
bordered: string;
|
|
43
|
+
placeholder: string;
|
|
44
|
+
style: {
|
|
45
|
+
width: string;
|
|
46
|
+
height: string;
|
|
47
|
+
display: string;
|
|
48
|
+
background: string;
|
|
49
|
+
boxShadow: string;
|
|
50
|
+
font: string;
|
|
51
|
+
margin: string;
|
|
52
|
+
padding: string;
|
|
53
|
+
borderRadius: string;
|
|
54
|
+
border: string;
|
|
55
|
+
opacity: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
'x-decorator-props': {
|
|
59
|
+
addonAfter: string;
|
|
60
|
+
addonBefore: string;
|
|
61
|
+
tooltip: string;
|
|
62
|
+
asterisk: string;
|
|
63
|
+
gridSpan: string;
|
|
64
|
+
labelCol: string;
|
|
65
|
+
wrapperCol: string;
|
|
66
|
+
colon: string;
|
|
67
|
+
labelAlign: {
|
|
68
|
+
title: string;
|
|
69
|
+
dataSource: string[];
|
|
70
|
+
};
|
|
71
|
+
wrapperAlign: {
|
|
72
|
+
title: string;
|
|
73
|
+
dataSource: string[];
|
|
74
|
+
};
|
|
75
|
+
labelWrap: string;
|
|
76
|
+
wrapperWrap: string;
|
|
77
|
+
labelWidth: string;
|
|
78
|
+
wrapperWidth: string;
|
|
79
|
+
fullness: string;
|
|
80
|
+
inset: string;
|
|
81
|
+
shallow: string;
|
|
82
|
+
bordered: string;
|
|
83
|
+
size: {
|
|
84
|
+
title: string;
|
|
85
|
+
dataSource: string[];
|
|
86
|
+
};
|
|
87
|
+
layout: {
|
|
88
|
+
title: string;
|
|
89
|
+
dataSource: string[];
|
|
90
|
+
};
|
|
91
|
+
feedbackLayout: {
|
|
92
|
+
title: string;
|
|
93
|
+
dataSource: string[];
|
|
94
|
+
};
|
|
95
|
+
tooltipLayout: {
|
|
96
|
+
title: string;
|
|
97
|
+
dataSource: string[];
|
|
98
|
+
};
|
|
99
|
+
style: {
|
|
100
|
+
width: string;
|
|
101
|
+
height: string;
|
|
102
|
+
display: string;
|
|
103
|
+
background: string;
|
|
104
|
+
boxShadow: string;
|
|
105
|
+
font: string;
|
|
106
|
+
margin: string;
|
|
107
|
+
padding: string;
|
|
108
|
+
borderRadius: string;
|
|
109
|
+
border: string;
|
|
110
|
+
opacity: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
'en-US': {
|
|
116
|
+
settings: {
|
|
117
|
+
name: string;
|
|
118
|
+
title: string;
|
|
119
|
+
required: string;
|
|
120
|
+
description: string;
|
|
121
|
+
default: string;
|
|
122
|
+
enum: string;
|
|
123
|
+
'x-display': {
|
|
124
|
+
title: string;
|
|
125
|
+
tooltip: string;
|
|
126
|
+
dataSource: string[];
|
|
127
|
+
};
|
|
128
|
+
'x-pattern': {
|
|
129
|
+
title: string;
|
|
130
|
+
dataSource: string[];
|
|
131
|
+
};
|
|
132
|
+
'x-validator': string;
|
|
133
|
+
'x-decorator': string;
|
|
134
|
+
'x-reactions': string;
|
|
135
|
+
'field-group': string;
|
|
136
|
+
'component-group': string;
|
|
137
|
+
'decorator-group': string;
|
|
138
|
+
'component-style-group': string;
|
|
139
|
+
'decorator-style-group': string;
|
|
140
|
+
'x-datasource-type': string;
|
|
141
|
+
'x-datasource-effect': string;
|
|
142
|
+
'x-fetchdata-onsearch': {
|
|
143
|
+
title: string;
|
|
144
|
+
tooltip: string;
|
|
145
|
+
};
|
|
146
|
+
'x-component-props': {
|
|
147
|
+
size: {
|
|
148
|
+
title: string;
|
|
149
|
+
dataSource: string[];
|
|
150
|
+
};
|
|
151
|
+
allowClear: string;
|
|
152
|
+
autoFocus: string;
|
|
153
|
+
showSearch: string;
|
|
154
|
+
notFoundContent: string;
|
|
155
|
+
bordered: string;
|
|
156
|
+
placeholder: string;
|
|
157
|
+
style: {
|
|
158
|
+
width: string;
|
|
159
|
+
height: string;
|
|
160
|
+
display: string;
|
|
161
|
+
background: string;
|
|
162
|
+
boxShadow: string;
|
|
163
|
+
font: string;
|
|
164
|
+
margin: string;
|
|
165
|
+
padding: string;
|
|
166
|
+
borderRadius: string;
|
|
167
|
+
border: string;
|
|
168
|
+
opacity: string;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
'x-decorator-props': {
|
|
172
|
+
addonAfter: string;
|
|
173
|
+
addonBefore: string;
|
|
174
|
+
tooltip: string;
|
|
175
|
+
asterisk: string;
|
|
176
|
+
gridSpan: string;
|
|
177
|
+
labelCol: string;
|
|
178
|
+
wrapperCol: string;
|
|
179
|
+
colon: string;
|
|
180
|
+
labelAlign: {
|
|
181
|
+
title: string;
|
|
182
|
+
dataSource: string[];
|
|
183
|
+
};
|
|
184
|
+
wrapperAlign: {
|
|
185
|
+
title: string;
|
|
186
|
+
dataSource: string[];
|
|
187
|
+
};
|
|
188
|
+
labelWrap: string;
|
|
189
|
+
wrapperWrap: string;
|
|
190
|
+
labelWidth: string;
|
|
191
|
+
wrapperWidth: string;
|
|
192
|
+
fullness: string;
|
|
193
|
+
inset: string;
|
|
194
|
+
shallow: string;
|
|
195
|
+
bordered: string;
|
|
196
|
+
size: {
|
|
197
|
+
title: string;
|
|
198
|
+
dataSource: string[];
|
|
199
|
+
};
|
|
200
|
+
layout: {
|
|
201
|
+
title: string;
|
|
202
|
+
dataSource: string[];
|
|
203
|
+
};
|
|
204
|
+
feedbackLayout: {
|
|
205
|
+
title: string;
|
|
206
|
+
dataSource: string[];
|
|
207
|
+
};
|
|
208
|
+
tooltipLayout: {
|
|
209
|
+
title: string;
|
|
210
|
+
dataSource: string[];
|
|
211
|
+
};
|
|
212
|
+
style: {
|
|
213
|
+
width: string;
|
|
214
|
+
height: string;
|
|
215
|
+
display: string;
|
|
216
|
+
background: string;
|
|
217
|
+
boxShadow: string;
|
|
218
|
+
font: string;
|
|
219
|
+
margin: string;
|
|
220
|
+
padding: string;
|
|
221
|
+
borderRadius: string;
|
|
222
|
+
border: string;
|
|
223
|
+
opacity: string;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
'ko-KR': {
|
|
229
|
+
settings: {
|
|
230
|
+
name: string;
|
|
231
|
+
title: string;
|
|
232
|
+
required: string;
|
|
233
|
+
description: string;
|
|
234
|
+
default: string;
|
|
235
|
+
enum: string;
|
|
236
|
+
'x-display': {
|
|
237
|
+
title: string;
|
|
238
|
+
tooltip: string;
|
|
239
|
+
dataSource: string[];
|
|
240
|
+
};
|
|
241
|
+
'x-pattern': {
|
|
242
|
+
title: string;
|
|
243
|
+
dataSource: string[];
|
|
244
|
+
};
|
|
245
|
+
'x-validator': string;
|
|
246
|
+
'x-decorator': string;
|
|
247
|
+
'x-reactions': string;
|
|
248
|
+
'field-group': string;
|
|
249
|
+
'component-group': string;
|
|
250
|
+
'decorator-group': string;
|
|
251
|
+
'component-style-group': string;
|
|
252
|
+
'decorator-style-group': string;
|
|
253
|
+
'x-datasource-type': string;
|
|
254
|
+
'x-datasource-effect': string;
|
|
255
|
+
'x-fetchdata-onsearch': {
|
|
256
|
+
title: string;
|
|
257
|
+
tooltip: string;
|
|
258
|
+
};
|
|
259
|
+
'x-component-props': {
|
|
260
|
+
size: {
|
|
261
|
+
title: string;
|
|
262
|
+
dataSource: string[];
|
|
263
|
+
};
|
|
264
|
+
allowClear: string;
|
|
265
|
+
autoFocus: string;
|
|
266
|
+
showSearch: string;
|
|
267
|
+
notFoundContent: string;
|
|
268
|
+
bordered: string;
|
|
269
|
+
placeholder: string;
|
|
270
|
+
style: {
|
|
271
|
+
width: string;
|
|
272
|
+
height: string;
|
|
273
|
+
display: string;
|
|
274
|
+
background: string;
|
|
275
|
+
boxShadow: string;
|
|
276
|
+
font: string;
|
|
277
|
+
margin: string;
|
|
278
|
+
padding: string;
|
|
279
|
+
borderRadius: string;
|
|
280
|
+
border: string;
|
|
281
|
+
opacity: string;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
'x-decorator-props': {
|
|
285
|
+
addonAfter: string;
|
|
286
|
+
addonBefore: string;
|
|
287
|
+
tooltip: string;
|
|
288
|
+
asterisk: string;
|
|
289
|
+
gridSpan: string;
|
|
290
|
+
labelCol: string;
|
|
291
|
+
wrapperCol: string;
|
|
292
|
+
colon: string;
|
|
293
|
+
labelAlign: {
|
|
294
|
+
title: string;
|
|
295
|
+
dataSource: string[];
|
|
296
|
+
};
|
|
297
|
+
wrapperAlign: {
|
|
298
|
+
title: string;
|
|
299
|
+
dataSource: string[];
|
|
300
|
+
};
|
|
301
|
+
labelWrap: string;
|
|
302
|
+
wrapperWrap: string;
|
|
303
|
+
labelWidth: string;
|
|
304
|
+
wrapperWidth: string;
|
|
305
|
+
fullness: string;
|
|
306
|
+
inset: string;
|
|
307
|
+
shallow: string;
|
|
308
|
+
bordered: string;
|
|
309
|
+
size: {
|
|
310
|
+
title: string;
|
|
311
|
+
dataSource: string[];
|
|
312
|
+
};
|
|
313
|
+
layout: {
|
|
314
|
+
title: string;
|
|
315
|
+
dataSource: string[];
|
|
316
|
+
};
|
|
317
|
+
feedbackLayout: {
|
|
318
|
+
title: string;
|
|
319
|
+
dataSource: string[];
|
|
320
|
+
};
|
|
321
|
+
tooltipLayout: {
|
|
322
|
+
title: string;
|
|
323
|
+
dataSource: string[];
|
|
324
|
+
};
|
|
325
|
+
style: {
|
|
326
|
+
width: string;
|
|
327
|
+
height: string;
|
|
328
|
+
display: string;
|
|
329
|
+
background: string;
|
|
330
|
+
boxShadow: string;
|
|
331
|
+
font: string;
|
|
332
|
+
margin: string;
|
|
333
|
+
padding: string;
|
|
334
|
+
borderRadius: string;
|
|
335
|
+
border: string;
|
|
336
|
+
opacity: string;
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
};
|
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Field = void 0;
|
|
4
|
+
exports.Field = {
|
|
5
|
+
'zh-CN': {
|
|
6
|
+
settings: {
|
|
7
|
+
name: '字段标识',
|
|
8
|
+
title: '标题',
|
|
9
|
+
required: '必填',
|
|
10
|
+
description: '描述',
|
|
11
|
+
default: '默认值',
|
|
12
|
+
enum: '可选项',
|
|
13
|
+
'x-display': {
|
|
14
|
+
title: '展示状态',
|
|
15
|
+
tooltip: '半隐藏只会隐藏UI,全隐藏会删除数据',
|
|
16
|
+
dataSource: ['显示', '半隐藏', '全隐藏', '继承'],
|
|
17
|
+
},
|
|
18
|
+
'x-pattern': {
|
|
19
|
+
title: 'UI形态',
|
|
20
|
+
dataSource: ['可编辑', '禁用', '只读', '阅读', '继承'],
|
|
21
|
+
},
|
|
22
|
+
'x-validator': '校验规则',
|
|
23
|
+
'x-decorator': '容器组件',
|
|
24
|
+
'x-reactions': '响应器规则',
|
|
25
|
+
'field-group': '字段属性',
|
|
26
|
+
'component-group': '组件属性',
|
|
27
|
+
'decorator-group': '容器属性',
|
|
28
|
+
'component-style-group': '组件样式',
|
|
29
|
+
'decorator-style-group': '容器样式',
|
|
30
|
+
'x-datasource-type': '选项数据类型',
|
|
31
|
+
'x-datasource-effect': '选项数据源',
|
|
32
|
+
'x-fetchdata-onsearch': {
|
|
33
|
+
title: '搜索时请求数据',
|
|
34
|
+
tooltip: '当搜索关键词发生变化时是否请求远程数据',
|
|
35
|
+
},
|
|
36
|
+
'x-component-props': {
|
|
37
|
+
size: { title: '尺寸', dataSource: ['大', '小', '默认', '继承'] },
|
|
38
|
+
allowClear: '允许清除内容',
|
|
39
|
+
autoFocus: '自动获取焦点',
|
|
40
|
+
showSearch: '支持搜索',
|
|
41
|
+
notFoundContent: '空状态内容',
|
|
42
|
+
bordered: '是否有边框',
|
|
43
|
+
placeholder: '占位提示',
|
|
44
|
+
style: {
|
|
45
|
+
width: '宽度',
|
|
46
|
+
height: '高度',
|
|
47
|
+
display: '展示',
|
|
48
|
+
background: '背景',
|
|
49
|
+
boxShadow: '阴影',
|
|
50
|
+
font: '字体',
|
|
51
|
+
margin: '外边距',
|
|
52
|
+
padding: '内边距',
|
|
53
|
+
borderRadius: '圆角',
|
|
54
|
+
border: '边框',
|
|
55
|
+
opacity: '透明度',
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
'x-decorator-props': {
|
|
59
|
+
addonAfter: '后缀标签',
|
|
60
|
+
addonBefore: '前缀标签',
|
|
61
|
+
tooltip: '提示',
|
|
62
|
+
asterisk: '星号',
|
|
63
|
+
gridSpan: '网格跨列',
|
|
64
|
+
labelCol: '标签网格宽度',
|
|
65
|
+
wrapperCol: '组件网格宽度',
|
|
66
|
+
colon: '是否有冒号',
|
|
67
|
+
labelAlign: {
|
|
68
|
+
title: '标签对齐',
|
|
69
|
+
dataSource: ['左对齐', '右对齐', '继承'],
|
|
70
|
+
},
|
|
71
|
+
wrapperAlign: {
|
|
72
|
+
title: '组件对齐',
|
|
73
|
+
dataSource: ['左对齐', '右对齐', '继承'],
|
|
74
|
+
},
|
|
75
|
+
labelWrap: '标签换行',
|
|
76
|
+
wrapperWrap: '组件换行',
|
|
77
|
+
labelWidth: '标签宽度',
|
|
78
|
+
wrapperWidth: '组件宽度',
|
|
79
|
+
fullness: '组件占满',
|
|
80
|
+
inset: '内联布局',
|
|
81
|
+
shallow: '是否浅传递',
|
|
82
|
+
bordered: '是否有边框',
|
|
83
|
+
size: { title: '尺寸', dataSource: ['大', '小', '默认', '继承'] },
|
|
84
|
+
layout: { title: '布局', dataSource: ['垂直', '水平', '内联', '继承'] },
|
|
85
|
+
feedbackLayout: {
|
|
86
|
+
title: '反馈布局',
|
|
87
|
+
dataSource: ['宽松', '紧凑', '弹层', '无', '继承'],
|
|
88
|
+
},
|
|
89
|
+
tooltipLayout: {
|
|
90
|
+
title: '提示布局',
|
|
91
|
+
dataSource: ['图标', '文本', '继承'],
|
|
92
|
+
},
|
|
93
|
+
style: {
|
|
94
|
+
width: '宽度',
|
|
95
|
+
height: '高度',
|
|
96
|
+
display: '展示',
|
|
97
|
+
background: '背景',
|
|
98
|
+
boxShadow: '阴影',
|
|
99
|
+
font: '字体',
|
|
100
|
+
margin: '外边距',
|
|
101
|
+
padding: '内边距',
|
|
102
|
+
borderRadius: '圆角',
|
|
103
|
+
border: '边框',
|
|
104
|
+
opacity: '透明度',
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
'en-US': {
|
|
110
|
+
settings: {
|
|
111
|
+
name: 'Name',
|
|
112
|
+
title: 'Title',
|
|
113
|
+
required: 'Required',
|
|
114
|
+
description: 'Description',
|
|
115
|
+
default: 'Default',
|
|
116
|
+
enum: 'Options',
|
|
117
|
+
'x-display': {
|
|
118
|
+
title: 'Display State',
|
|
119
|
+
tooltip: 'When the display value is "None", the data will be "Hidden" and deleted. When the display value is hidden, only the UI will be hidden',
|
|
120
|
+
dataSource: ['Visible', 'Hidden', 'None', 'Inherit'],
|
|
121
|
+
},
|
|
122
|
+
'x-pattern': {
|
|
123
|
+
title: 'UI Pattern',
|
|
124
|
+
dataSource: [
|
|
125
|
+
'Editable',
|
|
126
|
+
'Disabled',
|
|
127
|
+
'ReadOnly',
|
|
128
|
+
'ReadPretty',
|
|
129
|
+
'Inherit',
|
|
130
|
+
],
|
|
131
|
+
},
|
|
132
|
+
'x-validator': 'Validator',
|
|
133
|
+
'x-decorator': 'Decorator',
|
|
134
|
+
'x-reactions': 'Reactions',
|
|
135
|
+
'field-group': 'Field Properties',
|
|
136
|
+
'component-group': 'Component Properties',
|
|
137
|
+
'decorator-group': 'Decorator Properties',
|
|
138
|
+
'component-style-group': 'Component Style',
|
|
139
|
+
'decorator-style-group': 'Decorator Style',
|
|
140
|
+
'x-datasource-type': 'Options Data Type',
|
|
141
|
+
'x-datasource-effect': 'Options Data Source',
|
|
142
|
+
'x-fetchdata-onsearch': {
|
|
143
|
+
title: 'Fetch Data on Search',
|
|
144
|
+
tooltip: 'Whether to request remote data when the search keyword changes',
|
|
145
|
+
},
|
|
146
|
+
'x-component-props': {
|
|
147
|
+
size: {
|
|
148
|
+
title: 'Size',
|
|
149
|
+
dataSource: ['Large', 'Small', 'Default', 'Inherit'],
|
|
150
|
+
},
|
|
151
|
+
allowClear: 'Allow Clear',
|
|
152
|
+
autoFocus: 'Auto Focus',
|
|
153
|
+
showSearch: 'Show Search',
|
|
154
|
+
notFoundContent: 'Not Found Content',
|
|
155
|
+
bordered: 'Bordered',
|
|
156
|
+
placeholder: 'Placeholder',
|
|
157
|
+
style: {
|
|
158
|
+
width: 'Width',
|
|
159
|
+
height: 'Height',
|
|
160
|
+
display: 'Display',
|
|
161
|
+
background: 'Background',
|
|
162
|
+
boxShadow: 'Box Shadow',
|
|
163
|
+
font: 'Font',
|
|
164
|
+
margin: 'Margin',
|
|
165
|
+
padding: 'Padding',
|
|
166
|
+
borderRadius: 'Radius',
|
|
167
|
+
border: 'Border',
|
|
168
|
+
opacity: 'Opacity',
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
'x-decorator-props': {
|
|
172
|
+
addonAfter: 'Addon After',
|
|
173
|
+
addonBefore: 'Addon Before',
|
|
174
|
+
tooltip: 'Tooltip',
|
|
175
|
+
asterisk: 'Asterisk',
|
|
176
|
+
gridSpan: 'Grid Span',
|
|
177
|
+
labelCol: 'Label Col',
|
|
178
|
+
wrapperCol: 'Wrapper Col',
|
|
179
|
+
colon: 'Colon',
|
|
180
|
+
labelAlign: {
|
|
181
|
+
title: 'Label Align',
|
|
182
|
+
dataSource: ['Left', 'Right', 'Inherit'],
|
|
183
|
+
},
|
|
184
|
+
wrapperAlign: {
|
|
185
|
+
title: 'Wrapper Align',
|
|
186
|
+
dataSource: ['Left', 'Right', 'Inherit'],
|
|
187
|
+
},
|
|
188
|
+
labelWrap: 'Label Wrap',
|
|
189
|
+
wrapperWrap: 'Wrapper Wrap',
|
|
190
|
+
labelWidth: 'Label Width',
|
|
191
|
+
wrapperWidth: 'Wrapper Width',
|
|
192
|
+
fullness: 'Fullness',
|
|
193
|
+
inset: 'Inset',
|
|
194
|
+
shallow: 'Shallow',
|
|
195
|
+
bordered: 'Bordered',
|
|
196
|
+
size: {
|
|
197
|
+
title: 'Size',
|
|
198
|
+
dataSource: ['Large', 'Small', 'Default', 'Inherit'],
|
|
199
|
+
},
|
|
200
|
+
layout: {
|
|
201
|
+
title: 'Layout',
|
|
202
|
+
dataSource: ['Vertical', 'Horizontal', 'Inline', 'Inherit'],
|
|
203
|
+
},
|
|
204
|
+
feedbackLayout: {
|
|
205
|
+
title: 'Feedback Layout',
|
|
206
|
+
dataSource: ['Loose', 'Terse', 'Popup', 'None', 'Inherit'],
|
|
207
|
+
},
|
|
208
|
+
tooltipLayout: {
|
|
209
|
+
title: 'Tooltip Layout',
|
|
210
|
+
dataSource: ['Icon', 'Text', 'Inherit'],
|
|
211
|
+
},
|
|
212
|
+
style: {
|
|
213
|
+
width: 'Width',
|
|
214
|
+
height: 'Height',
|
|
215
|
+
display: 'Display',
|
|
216
|
+
background: 'Background',
|
|
217
|
+
boxShadow: 'Box Shadow',
|
|
218
|
+
font: 'Font',
|
|
219
|
+
margin: 'Margin',
|
|
220
|
+
padding: 'Padding',
|
|
221
|
+
borderRadius: 'Radius',
|
|
222
|
+
border: 'Border',
|
|
223
|
+
opacity: 'Opacity',
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
'ko-KR': {
|
|
229
|
+
settings: {
|
|
230
|
+
name: '이름',
|
|
231
|
+
title: '제목',
|
|
232
|
+
required: '필수항목',
|
|
233
|
+
description: '설명',
|
|
234
|
+
default: '기본 값',
|
|
235
|
+
enum: 'Options',
|
|
236
|
+
'x-display': {
|
|
237
|
+
title: '디스플레이 상태',
|
|
238
|
+
tooltip: '디스플레이 값이 "없음"이면 데이터가 "숨김"상태가 되고 삭제됩니다. 디스플레이 값이 숨김이면 UI만 숨겨집니다.',
|
|
239
|
+
dataSource: ['보임', '숨김', '없음', '상속'],
|
|
240
|
+
},
|
|
241
|
+
'x-pattern': {
|
|
242
|
+
title: 'UI 패턴',
|
|
243
|
+
dataSource: ['수정 가능', '비활성화', 'ReadOnly', 'ReadPretty', '상속'],
|
|
244
|
+
},
|
|
245
|
+
'x-validator': '유효성 검사 도구',
|
|
246
|
+
'x-decorator': '데코레이터',
|
|
247
|
+
'x-reactions': 'Reactions',
|
|
248
|
+
'field-group': '필드 속성',
|
|
249
|
+
'component-group': '컴포넌트 속성',
|
|
250
|
+
'decorator-group': '데코레이터 속성',
|
|
251
|
+
'component-style-group': '컴포넌트 스타일',
|
|
252
|
+
'decorator-style-group': '데코레이터 스타일',
|
|
253
|
+
'x-datasource-type': 'Options 데이터 타입',
|
|
254
|
+
'x-datasource-effect': 'Options 데이터 속성',
|
|
255
|
+
'x-fetchdata-onsearch': {
|
|
256
|
+
title: '검색시 데이터 찾기',
|
|
257
|
+
tooltip: '검색 키워드가 변경될 경우 원격 데이터를 요청해야 할까요?',
|
|
258
|
+
},
|
|
259
|
+
'x-component-props': {
|
|
260
|
+
size: {
|
|
261
|
+
title: '크기',
|
|
262
|
+
dataSource: ['크게', '작게', '보통', '상속'],
|
|
263
|
+
},
|
|
264
|
+
allowClear: '삭제 허용',
|
|
265
|
+
autoFocus: '오토 포커스',
|
|
266
|
+
showSearch: '검색 보기',
|
|
267
|
+
notFoundContent: '값을 찾을 수 없음',
|
|
268
|
+
bordered: 'Bordered',
|
|
269
|
+
placeholder: 'Placeholder',
|
|
270
|
+
style: {
|
|
271
|
+
width: '너비',
|
|
272
|
+
height: '높이',
|
|
273
|
+
display: '디스플레이',
|
|
274
|
+
background: '배경',
|
|
275
|
+
boxShadow: '그림자 박스',
|
|
276
|
+
font: '폰트',
|
|
277
|
+
margin: '마진',
|
|
278
|
+
padding: '패딩',
|
|
279
|
+
borderRadius: '테두리 굴곡',
|
|
280
|
+
border: '테두리',
|
|
281
|
+
opacity: '투명도',
|
|
282
|
+
},
|
|
283
|
+
},
|
|
284
|
+
'x-decorator-props': {
|
|
285
|
+
addonAfter: '에드온 뒤',
|
|
286
|
+
addonBefore: '에드온 전',
|
|
287
|
+
tooltip: '툴팁',
|
|
288
|
+
asterisk: '별표시',
|
|
289
|
+
gridSpan: 'Grid Span',
|
|
290
|
+
labelCol: 'Label Col',
|
|
291
|
+
wrapperCol: 'Wrapper Col',
|
|
292
|
+
colon: 'Colon',
|
|
293
|
+
labelAlign: {
|
|
294
|
+
title: 'Label 정렬',
|
|
295
|
+
dataSource: ['왼쪽', '오른쪽', '상속'],
|
|
296
|
+
},
|
|
297
|
+
wrapperAlign: {
|
|
298
|
+
title: 'Wrapper 정렬',
|
|
299
|
+
dataSource: ['왼쪽', '오른쪽', '상속'],
|
|
300
|
+
},
|
|
301
|
+
labelWrap: 'Label Wrap',
|
|
302
|
+
wrapperWrap: 'Wrapper Wrap',
|
|
303
|
+
labelWidth: 'Label Width',
|
|
304
|
+
wrapperWidth: 'Wrapper Width',
|
|
305
|
+
fullness: 'Fullness',
|
|
306
|
+
inset: 'Inset',
|
|
307
|
+
shallow: '얇게',
|
|
308
|
+
bordered: 'Bordered',
|
|
309
|
+
size: {
|
|
310
|
+
title: '크기',
|
|
311
|
+
dataSource: ['크게', '작게', '보통', '상속'],
|
|
312
|
+
},
|
|
313
|
+
layout: {
|
|
314
|
+
title: '레이아웃',
|
|
315
|
+
dataSource: ['수직', '수평', '인라인', '상속'],
|
|
316
|
+
},
|
|
317
|
+
feedbackLayout: {
|
|
318
|
+
title: '피드백 레이아웃',
|
|
319
|
+
dataSource: ['느슨하게', 'Terse', '팝업', '없음', '상속'],
|
|
320
|
+
},
|
|
321
|
+
tooltipLayout: {
|
|
322
|
+
title: '툴팁 레이아웃',
|
|
323
|
+
dataSource: ['아이콘', '텍스트', '상속'],
|
|
324
|
+
},
|
|
325
|
+
style: {
|
|
326
|
+
width: '너비',
|
|
327
|
+
height: '높이',
|
|
328
|
+
display: '디스플레이',
|
|
329
|
+
background: '배경',
|
|
330
|
+
boxShadow: '그림자 박수',
|
|
331
|
+
font: '폰트',
|
|
332
|
+
margin: '마진',
|
|
333
|
+
padding: '패딩',
|
|
334
|
+
borderRadius: '테두리 굴곡',
|
|
335
|
+
border: '테두리',
|
|
336
|
+
opacity: '투명도',
|
|
337
|
+
},
|
|
338
|
+
},
|
|
339
|
+
},
|
|
340
|
+
},
|
|
341
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Form: {};
|