@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,125 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FormLayout = void 0;
|
|
4
|
+
exports.FormLayout = {
|
|
5
|
+
'zh-CN': {
|
|
6
|
+
title: '表单布局',
|
|
7
|
+
settings: {
|
|
8
|
+
'x-component-props': {
|
|
9
|
+
labelCol: '标签网格宽度',
|
|
10
|
+
wrapperCol: '组件网格宽度',
|
|
11
|
+
colon: '是否有冒号',
|
|
12
|
+
labelAlign: {
|
|
13
|
+
title: '标签对齐',
|
|
14
|
+
dataSource: ['左对齐', '右对齐', '继承'],
|
|
15
|
+
},
|
|
16
|
+
wrapperAlign: {
|
|
17
|
+
title: '组件对齐',
|
|
18
|
+
dataSource: ['左对齐', '右对齐', '继承'],
|
|
19
|
+
},
|
|
20
|
+
labelWrap: '标签换行',
|
|
21
|
+
wrapperWrap: '组件换行',
|
|
22
|
+
labelWidth: '标签宽度',
|
|
23
|
+
wrapperWidth: '组件宽度',
|
|
24
|
+
fullness: '组件占满',
|
|
25
|
+
inset: '内联布局',
|
|
26
|
+
shallow: '是否浅传递',
|
|
27
|
+
bordered: '是否有边框',
|
|
28
|
+
size: { title: '尺寸', dataSource: ['大', '小', '默认', '继承'] },
|
|
29
|
+
layout: { title: '布局', dataSource: ['水平', '垂直', '内联', '继承'] },
|
|
30
|
+
feedbackLayout: {
|
|
31
|
+
title: '反馈布局',
|
|
32
|
+
dataSource: ['宽松', '紧凑', '弹层', '无', '继承'],
|
|
33
|
+
},
|
|
34
|
+
tooltipLayout: {
|
|
35
|
+
title: '提示布局',
|
|
36
|
+
dataSource: ['图标', '文本', '继承'],
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
'en-US': {
|
|
42
|
+
title: 'Form Layout',
|
|
43
|
+
settings: {
|
|
44
|
+
'x-component-props': {
|
|
45
|
+
labelCol: 'Label Col',
|
|
46
|
+
wrapperCol: 'Wrapper Col',
|
|
47
|
+
colon: 'Colon',
|
|
48
|
+
labelAlign: {
|
|
49
|
+
title: 'Label Align',
|
|
50
|
+
dataSource: ['Left', 'Right', 'Inherit'],
|
|
51
|
+
},
|
|
52
|
+
wrapperAlign: {
|
|
53
|
+
title: 'Wrapper Align',
|
|
54
|
+
dataSource: ['Left', 'Right', 'Inherit'],
|
|
55
|
+
},
|
|
56
|
+
labelWrap: 'Label Wrap',
|
|
57
|
+
wrapperWrap: 'Wrapper Wrap',
|
|
58
|
+
labelWidth: 'Label Width',
|
|
59
|
+
wrapperWidth: 'Wrapper Width',
|
|
60
|
+
fullness: 'Fullness',
|
|
61
|
+
inset: 'Inset',
|
|
62
|
+
shallow: 'Shallow',
|
|
63
|
+
bordered: 'Bordered',
|
|
64
|
+
size: {
|
|
65
|
+
title: 'Size',
|
|
66
|
+
dataSource: ['Large', 'Small', 'Default', 'Inherit'],
|
|
67
|
+
},
|
|
68
|
+
layout: {
|
|
69
|
+
title: 'Layout',
|
|
70
|
+
dataSource: ['Horizontal', 'Vertical', 'Inline', 'Inherit'],
|
|
71
|
+
},
|
|
72
|
+
feedbackLayout: {
|
|
73
|
+
title: 'Feedback Layout',
|
|
74
|
+
dataSource: ['Loose', 'Terse', 'Popup', 'None', 'Inherit'],
|
|
75
|
+
},
|
|
76
|
+
tooltipLayout: {
|
|
77
|
+
title: 'Tooltip Layout',
|
|
78
|
+
dataSource: ['Icon', 'Text', 'Inherit'],
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
'ko-KR': {
|
|
84
|
+
title: '양식 레이아웃',
|
|
85
|
+
settings: {
|
|
86
|
+
'x-component-props': {
|
|
87
|
+
labelCol: '레이블 열',
|
|
88
|
+
wrapperCol: '래퍼 열',
|
|
89
|
+
colon: '콜론',
|
|
90
|
+
labelAlign: {
|
|
91
|
+
title: '레이블 정렬',
|
|
92
|
+
dataSource: ['왼쪽', '오른쪽', '상속'],
|
|
93
|
+
},
|
|
94
|
+
wrapperAlign: {
|
|
95
|
+
title: '래퍼 정렬',
|
|
96
|
+
dataSource: ['왼쪽', '오른쪽', '상속'],
|
|
97
|
+
},
|
|
98
|
+
labelWrap: '레이블 랩',
|
|
99
|
+
wrapperWrap: '래퍼 랩',
|
|
100
|
+
labelWidth: '레이블 너비',
|
|
101
|
+
wrapperWidth: '래퍼 너비',
|
|
102
|
+
fullness: '충만',
|
|
103
|
+
inset: '삽입',
|
|
104
|
+
shallow: '얕다',
|
|
105
|
+
bordered: '경계',
|
|
106
|
+
size: {
|
|
107
|
+
title: '크기',
|
|
108
|
+
dataSource: ['큰', '작은', '기본', '상속'],
|
|
109
|
+
},
|
|
110
|
+
layout: {
|
|
111
|
+
title: '레이아웃',
|
|
112
|
+
dataSource: ['가로', '세로', '인라인', '상속'],
|
|
113
|
+
},
|
|
114
|
+
feedbackLayout: {
|
|
115
|
+
title: '피드백 레이아웃',
|
|
116
|
+
dataSource: ['느슨한', '간단한', '팝업', '없음', '상속'],
|
|
117
|
+
},
|
|
118
|
+
tooltipLayout: {
|
|
119
|
+
title: '도구 설명 레이아웃',
|
|
120
|
+
dataSource: ['아이콘', '텍스트', '상속'],
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
export declare const FormTab: {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
title: string;
|
|
4
|
+
addTabPane: string;
|
|
5
|
+
settings: {
|
|
6
|
+
'x-component-props': {
|
|
7
|
+
animated: string;
|
|
8
|
+
centered: string;
|
|
9
|
+
tab: string;
|
|
10
|
+
type: {
|
|
11
|
+
title: string;
|
|
12
|
+
dataSource: {
|
|
13
|
+
label: string;
|
|
14
|
+
value: string;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
'en-US': {
|
|
21
|
+
title: string;
|
|
22
|
+
addTabPane: string;
|
|
23
|
+
settings: {
|
|
24
|
+
'x-component-props': {
|
|
25
|
+
animated: string;
|
|
26
|
+
centered: string;
|
|
27
|
+
tab: string;
|
|
28
|
+
type: {
|
|
29
|
+
title: string;
|
|
30
|
+
dataSource: {
|
|
31
|
+
label: string;
|
|
32
|
+
value: string;
|
|
33
|
+
}[];
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
'ko-KR': {
|
|
39
|
+
title: string;
|
|
40
|
+
addTabPane: string;
|
|
41
|
+
settings: {
|
|
42
|
+
'x-component-props': {
|
|
43
|
+
animated: string;
|
|
44
|
+
centered: string;
|
|
45
|
+
tab: string;
|
|
46
|
+
type: {
|
|
47
|
+
title: string;
|
|
48
|
+
dataSource: {
|
|
49
|
+
label: string;
|
|
50
|
+
value: string;
|
|
51
|
+
}[];
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
export declare const FormTabPane: {
|
|
58
|
+
'zh-CN': {
|
|
59
|
+
title: string;
|
|
60
|
+
settings: {
|
|
61
|
+
'x-component-props': {
|
|
62
|
+
tab: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
'en-US': {
|
|
67
|
+
title: string;
|
|
68
|
+
settings: {
|
|
69
|
+
'x-component-props': {
|
|
70
|
+
tab: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
'ko-KR': {
|
|
75
|
+
title: string;
|
|
76
|
+
settings: {
|
|
77
|
+
'x-component-props': {
|
|
78
|
+
tab: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FormTabPane = exports.FormTab = void 0;
|
|
4
|
+
exports.FormTab = {
|
|
5
|
+
'zh-CN': {
|
|
6
|
+
title: '选项卡',
|
|
7
|
+
addTabPane: '添加选项卡',
|
|
8
|
+
settings: {
|
|
9
|
+
'x-component-props': {
|
|
10
|
+
animated: '启用动画过渡',
|
|
11
|
+
centered: '标签居中',
|
|
12
|
+
tab: '选项名称',
|
|
13
|
+
type: {
|
|
14
|
+
title: '类型',
|
|
15
|
+
dataSource: [
|
|
16
|
+
{ label: '线框', value: 'line' },
|
|
17
|
+
{ label: '卡片', value: 'card' },
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
'en-US': {
|
|
24
|
+
title: 'Tabs',
|
|
25
|
+
addTabPane: 'Add Panel',
|
|
26
|
+
settings: {
|
|
27
|
+
'x-component-props': {
|
|
28
|
+
animated: 'Enable Animated',
|
|
29
|
+
centered: 'Label Centered',
|
|
30
|
+
tab: 'Tab Title',
|
|
31
|
+
type: {
|
|
32
|
+
title: 'Type',
|
|
33
|
+
dataSource: [
|
|
34
|
+
{ label: 'Line', value: 'line' },
|
|
35
|
+
{ label: 'Card', value: 'card' },
|
|
36
|
+
],
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
'ko-KR': {
|
|
42
|
+
title: '탭',
|
|
43
|
+
addTabPane: '패널 추가',
|
|
44
|
+
settings: {
|
|
45
|
+
'x-component-props': {
|
|
46
|
+
animated: '애니메이션 활성화',
|
|
47
|
+
centered: '레이블을 가운데로',
|
|
48
|
+
tab: '텝 제목',
|
|
49
|
+
type: {
|
|
50
|
+
title: '타입',
|
|
51
|
+
dataSource: [
|
|
52
|
+
{ label: '라인', value: 'line' },
|
|
53
|
+
{ label: '카드', value: 'card' },
|
|
54
|
+
],
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
exports.FormTabPane = {
|
|
61
|
+
'zh-CN': {
|
|
62
|
+
title: '选项卡面板',
|
|
63
|
+
settings: {
|
|
64
|
+
'x-component-props': {
|
|
65
|
+
tab: '面板标题',
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
'en-US': {
|
|
70
|
+
title: 'Tab Panel',
|
|
71
|
+
settings: {
|
|
72
|
+
'x-component-props': {
|
|
73
|
+
tab: 'Panel Title',
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
'ko-KR': {
|
|
78
|
+
title: '탭 패널',
|
|
79
|
+
settings: {
|
|
80
|
+
'x-component-props': {
|
|
81
|
+
tab: '패널 제목',
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const Input: {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
title: string;
|
|
4
|
+
settings: {
|
|
5
|
+
'x-component-props': {
|
|
6
|
+
addonAfter: string;
|
|
7
|
+
addonBefore: string;
|
|
8
|
+
maxLength: string;
|
|
9
|
+
prefix: string;
|
|
10
|
+
suffix: string;
|
|
11
|
+
autoSize: {
|
|
12
|
+
title: string;
|
|
13
|
+
tooltip: string;
|
|
14
|
+
};
|
|
15
|
+
showCount: string;
|
|
16
|
+
checkStrength: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
'en-US': {
|
|
21
|
+
title: string;
|
|
22
|
+
settings: {
|
|
23
|
+
'x-component-props': {
|
|
24
|
+
addonAfter: string;
|
|
25
|
+
addonBefore: string;
|
|
26
|
+
maxLength: string;
|
|
27
|
+
prefix: string;
|
|
28
|
+
suffix: string;
|
|
29
|
+
autoSize: string;
|
|
30
|
+
showCount: string;
|
|
31
|
+
checkStrength: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
'ko-KR': {
|
|
36
|
+
title: string;
|
|
37
|
+
settings: {
|
|
38
|
+
'x-component-props': {
|
|
39
|
+
addonAfter: string;
|
|
40
|
+
addonBefore: string;
|
|
41
|
+
maxLength: string;
|
|
42
|
+
prefix: string;
|
|
43
|
+
suffix: string;
|
|
44
|
+
autoSize: string;
|
|
45
|
+
showCount: string;
|
|
46
|
+
checkStrength: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Input = void 0;
|
|
4
|
+
exports.Input = {
|
|
5
|
+
'zh-CN': {
|
|
6
|
+
title: '输入框',
|
|
7
|
+
settings: {
|
|
8
|
+
'x-component-props': {
|
|
9
|
+
addonAfter: '后缀标签',
|
|
10
|
+
addonBefore: '前缀标签',
|
|
11
|
+
maxLength: '最大长度',
|
|
12
|
+
prefix: '前缀',
|
|
13
|
+
suffix: '后缀',
|
|
14
|
+
autoSize: {
|
|
15
|
+
title: '自适应高度',
|
|
16
|
+
tooltip: '可设置为 true | false 或对象:{ minRows: 2, maxRows: 6 }',
|
|
17
|
+
},
|
|
18
|
+
showCount: '是否展示字数',
|
|
19
|
+
checkStrength: '检测强度',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
'en-US': {
|
|
24
|
+
title: 'Input',
|
|
25
|
+
settings: {
|
|
26
|
+
'x-component-props': {
|
|
27
|
+
addonAfter: 'Addon After',
|
|
28
|
+
addonBefore: 'Addon Before',
|
|
29
|
+
maxLength: 'Max Length',
|
|
30
|
+
prefix: 'Prefix',
|
|
31
|
+
suffix: 'Suffix',
|
|
32
|
+
autoSize: 'Auto Size',
|
|
33
|
+
showCount: 'Show Count',
|
|
34
|
+
checkStrength: 'Check Strength',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
'ko-KR': {
|
|
39
|
+
title: '입력',
|
|
40
|
+
settings: {
|
|
41
|
+
'x-component-props': {
|
|
42
|
+
addonAfter: '애드온 후',
|
|
43
|
+
addonBefore: '애드온 전',
|
|
44
|
+
maxLength: '최대 길이',
|
|
45
|
+
prefix: '접두사',
|
|
46
|
+
suffix: '접미사',
|
|
47
|
+
autoSize: '자동 크기 맞춤',
|
|
48
|
+
showCount: '개수 보여주기',
|
|
49
|
+
checkStrength: '강도 체크',
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
export declare const NumberPicker: {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
title: string;
|
|
4
|
+
settings: {
|
|
5
|
+
'x-component-props': {
|
|
6
|
+
formatter: {
|
|
7
|
+
title: string;
|
|
8
|
+
tooltip: string;
|
|
9
|
+
};
|
|
10
|
+
keyboard: string;
|
|
11
|
+
parser: {
|
|
12
|
+
title: string;
|
|
13
|
+
tooltip: string;
|
|
14
|
+
};
|
|
15
|
+
decimalSeparator: string;
|
|
16
|
+
precision: string;
|
|
17
|
+
max: string;
|
|
18
|
+
min: string;
|
|
19
|
+
step: string;
|
|
20
|
+
stringMode: {
|
|
21
|
+
title: string;
|
|
22
|
+
tooltip: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
'en-US': {
|
|
28
|
+
title: string;
|
|
29
|
+
settings: {
|
|
30
|
+
'x-component-props': {
|
|
31
|
+
formatter: {
|
|
32
|
+
title: string;
|
|
33
|
+
tooltip: string;
|
|
34
|
+
};
|
|
35
|
+
keyboard: string;
|
|
36
|
+
parser: {
|
|
37
|
+
title: string;
|
|
38
|
+
tooltip: string;
|
|
39
|
+
};
|
|
40
|
+
decimalSeparator: string;
|
|
41
|
+
precision: string;
|
|
42
|
+
max: string;
|
|
43
|
+
min: string;
|
|
44
|
+
step: string;
|
|
45
|
+
stringMode: {
|
|
46
|
+
title: string;
|
|
47
|
+
tooltip: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
'ko-KR': {
|
|
53
|
+
title: string;
|
|
54
|
+
settings: {
|
|
55
|
+
'x-component-props': {
|
|
56
|
+
formatter: {
|
|
57
|
+
title: string;
|
|
58
|
+
tooltip: string;
|
|
59
|
+
};
|
|
60
|
+
keyboard: string;
|
|
61
|
+
parser: {
|
|
62
|
+
title: string;
|
|
63
|
+
tooltip: string;
|
|
64
|
+
};
|
|
65
|
+
decimalSeparator: string;
|
|
66
|
+
precision: string;
|
|
67
|
+
max: string;
|
|
68
|
+
min: string;
|
|
69
|
+
step: string;
|
|
70
|
+
stringMode: {
|
|
71
|
+
title: string;
|
|
72
|
+
tooltip: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NumberPicker = void 0;
|
|
4
|
+
exports.NumberPicker = {
|
|
5
|
+
'zh-CN': {
|
|
6
|
+
title: '数字输入',
|
|
7
|
+
settings: {
|
|
8
|
+
'x-component-props': {
|
|
9
|
+
formatter: {
|
|
10
|
+
title: '格式转换器',
|
|
11
|
+
tooltip: '格式:function(value: number | string): string',
|
|
12
|
+
},
|
|
13
|
+
keyboard: '启用快捷键',
|
|
14
|
+
parser: {
|
|
15
|
+
title: '格式解析器',
|
|
16
|
+
tooltip: '指定从 格式转换器 里转换回数字的方式,和 格式转换器 搭配使用,格式:function(string): number',
|
|
17
|
+
},
|
|
18
|
+
decimalSeparator: '小数点',
|
|
19
|
+
precision: '数字精度',
|
|
20
|
+
max: '最大值',
|
|
21
|
+
min: '最小值',
|
|
22
|
+
step: '步长',
|
|
23
|
+
stringMode: {
|
|
24
|
+
title: '字符串格式',
|
|
25
|
+
tooltip: '开启后支持高精度小数。同时 onChange 将返回 string 类型',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
'en-US': {
|
|
31
|
+
title: 'NumberInput',
|
|
32
|
+
settings: {
|
|
33
|
+
'x-component-props': {
|
|
34
|
+
formatter: {
|
|
35
|
+
title: 'Format Converter',
|
|
36
|
+
tooltip: 'Format:function(value: number | string): string',
|
|
37
|
+
},
|
|
38
|
+
keyboard: 'Enable Shortcut Keys',
|
|
39
|
+
parser: {
|
|
40
|
+
title: 'Format Parser',
|
|
41
|
+
tooltip: 'Specify the method of converting back to numbers from the format converter, and use it with the format converter, the format:function(string): number',
|
|
42
|
+
},
|
|
43
|
+
decimalSeparator: 'Decimal Separator',
|
|
44
|
+
precision: 'Precision',
|
|
45
|
+
max: 'Max',
|
|
46
|
+
min: 'Min',
|
|
47
|
+
step: 'Step',
|
|
48
|
+
stringMode: {
|
|
49
|
+
title: 'String Format',
|
|
50
|
+
tooltip: 'Support high-precision decimals after opening. At the same time onChange will return string type',
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
'ko-KR': {
|
|
56
|
+
title: '숫자 입력',
|
|
57
|
+
settings: {
|
|
58
|
+
'x-component-props': {
|
|
59
|
+
formatter: {
|
|
60
|
+
title: '포맷 컨버터',
|
|
61
|
+
tooltip: '형식: function(value: number | string): string',
|
|
62
|
+
},
|
|
63
|
+
keyboard: '숏컷 키 활성화',
|
|
64
|
+
parser: {
|
|
65
|
+
title: '포멧 파서',
|
|
66
|
+
tooltip: '문자열을 숫자로 변환하는 포맷 컨버터를 만들고 사용하세요, 형식 :function(string): number',
|
|
67
|
+
},
|
|
68
|
+
decimalSeparator: '소수 구분 기호',
|
|
69
|
+
precision: '정밀도',
|
|
70
|
+
max: '최대값',
|
|
71
|
+
min: '최소값',
|
|
72
|
+
step: '스탭',
|
|
73
|
+
stringMode: {
|
|
74
|
+
title: '문자열 형식',
|
|
75
|
+
tooltip: '높은 정밀도 소수를 지원합니다. onChange에서 문자열 타입으로 반환됩니다.',
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ObjectLocale = void 0;
|
|
4
|
+
exports.ObjectLocale = {
|
|
5
|
+
'zh-CN': {
|
|
6
|
+
title: '对象容器',
|
|
7
|
+
},
|
|
8
|
+
'en-US': {
|
|
9
|
+
title: 'Object',
|
|
10
|
+
},
|
|
11
|
+
'ko-KR': {
|
|
12
|
+
title: '오브젝트',
|
|
13
|
+
},
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Password: {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Password = void 0;
|
|
4
|
+
const core_1 = require("@formily-design/core");
|
|
5
|
+
const Input_1 = require("./Input");
|
|
6
|
+
exports.Password = (0, core_1.createLocales)(Input_1.Input, {
|
|
7
|
+
'zh-CN': {
|
|
8
|
+
title: '密码输入',
|
|
9
|
+
},
|
|
10
|
+
'en-US': {
|
|
11
|
+
title: 'Password',
|
|
12
|
+
},
|
|
13
|
+
'ko-KR': {
|
|
14
|
+
title: '비밀번호',
|
|
15
|
+
},
|
|
16
|
+
});
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare const RadioGroup: {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
title: string;
|
|
4
|
+
settings: {
|
|
5
|
+
'x-component-props': {
|
|
6
|
+
buttonStyle: {
|
|
7
|
+
title: string;
|
|
8
|
+
dataSource: string[];
|
|
9
|
+
};
|
|
10
|
+
optionType: {
|
|
11
|
+
title: string;
|
|
12
|
+
dataSource: string[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
'en-US': {
|
|
18
|
+
title: string;
|
|
19
|
+
settings: {
|
|
20
|
+
'x-component-props': {
|
|
21
|
+
buttonStyle: {
|
|
22
|
+
title: string;
|
|
23
|
+
dataSource: string[];
|
|
24
|
+
};
|
|
25
|
+
optionType: {
|
|
26
|
+
title: string;
|
|
27
|
+
dataSource: string[];
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
'ko-KR': {
|
|
33
|
+
title: string;
|
|
34
|
+
settings: {
|
|
35
|
+
'x-component-props': {
|
|
36
|
+
buttonStyle: {
|
|
37
|
+
title: string;
|
|
38
|
+
dataSource: string[];
|
|
39
|
+
};
|
|
40
|
+
optionType: {
|
|
41
|
+
title: string;
|
|
42
|
+
dataSource: string[];
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RadioGroup = void 0;
|
|
4
|
+
exports.RadioGroup = {
|
|
5
|
+
'zh-CN': {
|
|
6
|
+
title: '单选框组',
|
|
7
|
+
settings: {
|
|
8
|
+
'x-component-props': {
|
|
9
|
+
buttonStyle: { title: '按钮风格', dataSource: ['空心', '实心'] },
|
|
10
|
+
optionType: { title: '选项类型', dataSource: ['默认', '按钮'] },
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
'en-US': {
|
|
15
|
+
title: 'Radio',
|
|
16
|
+
settings: {
|
|
17
|
+
'x-component-props': {
|
|
18
|
+
buttonStyle: { title: 'Button style', dataSource: ['Hollow', 'Solid'] },
|
|
19
|
+
optionType: { title: 'Option type', dataSource: ['Default', 'Button'] },
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
'ko-KR': {
|
|
24
|
+
title: '라디오',
|
|
25
|
+
settings: {
|
|
26
|
+
'x-component-props': {
|
|
27
|
+
buttonStyle: { title: '버튼 스타일', dataSource: ['Hollow', 'Solid'] },
|
|
28
|
+
optionType: { title: '옵션 타입', dataSource: ['기본', '버튼'] },
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
};
|