@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,35 @@
|
|
|
1
|
+
export declare const TextArea: {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
title: string;
|
|
4
|
+
settings: {
|
|
5
|
+
'x-component-props': {
|
|
6
|
+
maxLength: string;
|
|
7
|
+
autoSize: {
|
|
8
|
+
title: string;
|
|
9
|
+
tooltip: string;
|
|
10
|
+
};
|
|
11
|
+
showCount: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
'en-US': {
|
|
16
|
+
title: string;
|
|
17
|
+
settings: {
|
|
18
|
+
'x-component-props': {
|
|
19
|
+
maxLength: string;
|
|
20
|
+
autoSize: string;
|
|
21
|
+
showCount: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
'ko-KR': {
|
|
26
|
+
title: string;
|
|
27
|
+
settings: {
|
|
28
|
+
'x-component-props': {
|
|
29
|
+
maxLength: string;
|
|
30
|
+
autoSize: string;
|
|
31
|
+
showCount: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TextArea = void 0;
|
|
4
|
+
exports.TextArea = {
|
|
5
|
+
'zh-CN': {
|
|
6
|
+
title: '多行输入',
|
|
7
|
+
settings: {
|
|
8
|
+
'x-component-props': {
|
|
9
|
+
maxLength: '最大长度',
|
|
10
|
+
autoSize: {
|
|
11
|
+
title: '自适应高度',
|
|
12
|
+
tooltip: '可设置为 true | false 或对象:{ minRows: 2, maxRows: 6 }',
|
|
13
|
+
},
|
|
14
|
+
showCount: '是否展示字数',
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
'en-US': {
|
|
19
|
+
title: 'TextArea',
|
|
20
|
+
settings: {
|
|
21
|
+
'x-component-props': {
|
|
22
|
+
maxLength: 'Max Length',
|
|
23
|
+
autoSize: 'Auto Size',
|
|
24
|
+
showCount: 'Show Count',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
'ko-KR': {
|
|
29
|
+
title: '텍스트 상자',
|
|
30
|
+
settings: {
|
|
31
|
+
'x-component-props': {
|
|
32
|
+
maxLength: '최대 길이',
|
|
33
|
+
autoSize: '자동 길이 변환',
|
|
34
|
+
showCount: '개수 보기',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TimeRangePicker = exports.TimePicker = void 0;
|
|
4
|
+
const core_1 = require("@formily-design/core");
|
|
5
|
+
const DatePicker_1 = require("./DatePicker");
|
|
6
|
+
exports.TimePicker = (0, core_1.createLocales)(DatePicker_1.DatePicker, {
|
|
7
|
+
'zh-CN': {
|
|
8
|
+
title: '时间选择',
|
|
9
|
+
settings: {
|
|
10
|
+
'x-component-props': {
|
|
11
|
+
clearText: '清除提示',
|
|
12
|
+
disabledHours: '禁止小时',
|
|
13
|
+
disabledMinutes: '禁止分钟',
|
|
14
|
+
disabledSeconds: '禁止秒',
|
|
15
|
+
hideDisabledOptions: '隐藏禁止选项',
|
|
16
|
+
hourStep: '小时间隔',
|
|
17
|
+
minuteStep: '分钟间隔',
|
|
18
|
+
secondStep: '秒间隔',
|
|
19
|
+
use12Hours: '12小时制',
|
|
20
|
+
inputReadOnly: '输入框只读',
|
|
21
|
+
showNow: '显示此刻',
|
|
22
|
+
format: '格式',
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
'en-US': {
|
|
27
|
+
title: 'Time Picker',
|
|
28
|
+
settings: {
|
|
29
|
+
'x-component-props': {
|
|
30
|
+
clearText: 'Clear Text',
|
|
31
|
+
disabledHours: 'Disbaled Hours',
|
|
32
|
+
disabledMinutes: 'Disabled Minutes',
|
|
33
|
+
disabledSeconds: 'Disabled Seconds',
|
|
34
|
+
hideDisabledOptions: 'Hide Disabled Options',
|
|
35
|
+
hourStep: 'Hour Step',
|
|
36
|
+
minuteStep: 'Minute Step',
|
|
37
|
+
secondStep: 'Second Step',
|
|
38
|
+
use12Hours: 'Use 12-hour',
|
|
39
|
+
inputReadOnly: 'Input ReadOnly',
|
|
40
|
+
showNow: 'Show Now',
|
|
41
|
+
format: 'Format',
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
'ko-KR': {
|
|
46
|
+
title: '시간 선택',
|
|
47
|
+
settings: {
|
|
48
|
+
'x-component-props': {
|
|
49
|
+
clearText: '텍스트 삭제',
|
|
50
|
+
disabledHours: '시 비활성화',
|
|
51
|
+
disabledMinutes: '분 비활성화',
|
|
52
|
+
disabledSeconds: '초 비활성화',
|
|
53
|
+
hideDisabledOptions: '비황성화 옵션 숨기기',
|
|
54
|
+
hourStep: '시 스탭',
|
|
55
|
+
minuteStep: '분 스탭',
|
|
56
|
+
secondStep: '초 스탭',
|
|
57
|
+
use12Hours: '12시간 단위 사용',
|
|
58
|
+
inputReadOnly: 'ReadOnly',
|
|
59
|
+
showNow: '현재 시각 보여주기',
|
|
60
|
+
format: '포맷',
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
});
|
|
65
|
+
exports.TimeRangePicker = (0, core_1.createLocales)(exports.TimePicker, {
|
|
66
|
+
'zh-CN': {
|
|
67
|
+
title: '时间范围',
|
|
68
|
+
},
|
|
69
|
+
'en-US': {
|
|
70
|
+
title: 'Time Range',
|
|
71
|
+
},
|
|
72
|
+
'ko-KR': {
|
|
73
|
+
title: '시간 범위',
|
|
74
|
+
},
|
|
75
|
+
});
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export declare const Transfer: {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
title: string;
|
|
4
|
+
settings: {
|
|
5
|
+
'x-component-props': {
|
|
6
|
+
oneWay: string;
|
|
7
|
+
operations: {
|
|
8
|
+
title: string;
|
|
9
|
+
tooltip: string;
|
|
10
|
+
};
|
|
11
|
+
titles: {
|
|
12
|
+
title: string;
|
|
13
|
+
tooltip: string;
|
|
14
|
+
};
|
|
15
|
+
showSearchAll: string;
|
|
16
|
+
filterOption: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
'en-US': {
|
|
21
|
+
title: string;
|
|
22
|
+
settings: {
|
|
23
|
+
'x-component-props': {
|
|
24
|
+
oneWay: string;
|
|
25
|
+
operations: {
|
|
26
|
+
title: string;
|
|
27
|
+
tooltip: string;
|
|
28
|
+
};
|
|
29
|
+
titles: {
|
|
30
|
+
title: string;
|
|
31
|
+
tooltip: string;
|
|
32
|
+
};
|
|
33
|
+
showSearchAll: string;
|
|
34
|
+
filterOption: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
'ko-KR': {
|
|
39
|
+
title: string;
|
|
40
|
+
settings: {
|
|
41
|
+
'x-component-props': {
|
|
42
|
+
oneWay: string;
|
|
43
|
+
operations: {
|
|
44
|
+
title: string;
|
|
45
|
+
tooltip: string;
|
|
46
|
+
};
|
|
47
|
+
titles: {
|
|
48
|
+
title: string;
|
|
49
|
+
tooltip: string;
|
|
50
|
+
};
|
|
51
|
+
showSearchAll: string;
|
|
52
|
+
filterOption: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Transfer = void 0;
|
|
4
|
+
exports.Transfer = {
|
|
5
|
+
'zh-CN': {
|
|
6
|
+
title: '穿梭框',
|
|
7
|
+
settings: {
|
|
8
|
+
'x-component-props': {
|
|
9
|
+
oneWay: '单向展示',
|
|
10
|
+
operations: { title: '操作文案集合', tooltip: '格式:string[]' },
|
|
11
|
+
titles: { title: '标题集合', tooltip: '格式:string[]' },
|
|
12
|
+
showSearchAll: '支持全选',
|
|
13
|
+
filterOption: '选项筛选器',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
'en-US': {
|
|
18
|
+
title: 'Transfer',
|
|
19
|
+
settings: {
|
|
20
|
+
'x-component-props': {
|
|
21
|
+
oneWay: 'One Way',
|
|
22
|
+
operations: { title: 'Operations', tooltip: 'Format:string[]' },
|
|
23
|
+
titles: { title: 'Titles', tooltip: 'Format:string[]' },
|
|
24
|
+
showSearchAll: 'Show Search All',
|
|
25
|
+
filterOption: 'Filter Option',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
'ko-KR': {
|
|
30
|
+
title: '전송',
|
|
31
|
+
settings: {
|
|
32
|
+
'x-component-props': {
|
|
33
|
+
oneWay: '하나의 방법',
|
|
34
|
+
operations: { title: '작업', tooltip: '형식:string[]' },
|
|
35
|
+
titles: { title: '제목', tooltip: '형식:string[]' },
|
|
36
|
+
showSearchAll: '모든 검색 결과 보여주기',
|
|
37
|
+
filterOption: '필터 옵션',
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
};
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
export declare const TreeSelect: {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
title: string;
|
|
4
|
+
settings: {
|
|
5
|
+
'x-component-props': {
|
|
6
|
+
mode: {
|
|
7
|
+
title: string;
|
|
8
|
+
dataSource: string[];
|
|
9
|
+
};
|
|
10
|
+
autoClearSearchValue: {
|
|
11
|
+
title: string;
|
|
12
|
+
tooltip: string;
|
|
13
|
+
};
|
|
14
|
+
defaultActiveFirstOption: string;
|
|
15
|
+
defaultOpen: string;
|
|
16
|
+
filterOption: string;
|
|
17
|
+
filterSort: string;
|
|
18
|
+
labelInValue: {
|
|
19
|
+
title: string;
|
|
20
|
+
tooltip: string;
|
|
21
|
+
};
|
|
22
|
+
listHeight: string;
|
|
23
|
+
maxTagCount: {
|
|
24
|
+
title: string;
|
|
25
|
+
tooltip: string;
|
|
26
|
+
};
|
|
27
|
+
maxTagPlaceholder: {
|
|
28
|
+
title: string;
|
|
29
|
+
tooltip: string;
|
|
30
|
+
};
|
|
31
|
+
maxTagTextLength: string;
|
|
32
|
+
showArrow: string;
|
|
33
|
+
virtual: string;
|
|
34
|
+
dropdownMatchSelectWidth: {
|
|
35
|
+
title: string;
|
|
36
|
+
tooltip: string;
|
|
37
|
+
};
|
|
38
|
+
showCheckedStrategy: {
|
|
39
|
+
title: string;
|
|
40
|
+
tooltip: string;
|
|
41
|
+
dataSource: string[];
|
|
42
|
+
};
|
|
43
|
+
treeCheckable: string;
|
|
44
|
+
treeDefaultExpandAll: string;
|
|
45
|
+
treeDefaultExpandedKeys: {
|
|
46
|
+
title: string;
|
|
47
|
+
tooltip: string;
|
|
48
|
+
};
|
|
49
|
+
treeNodeFilterProp: {
|
|
50
|
+
title: string;
|
|
51
|
+
tooltip: string;
|
|
52
|
+
};
|
|
53
|
+
treeDataSimpleMode: {
|
|
54
|
+
title: string;
|
|
55
|
+
tooltip: string;
|
|
56
|
+
};
|
|
57
|
+
treeNodeLabelProp: {
|
|
58
|
+
title: string;
|
|
59
|
+
tooltip: string;
|
|
60
|
+
};
|
|
61
|
+
filterTreeNode: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
'en-US': {
|
|
66
|
+
title: string;
|
|
67
|
+
settings: {
|
|
68
|
+
'x-component-props': {
|
|
69
|
+
mode: {
|
|
70
|
+
title: string;
|
|
71
|
+
dataSource: string[];
|
|
72
|
+
};
|
|
73
|
+
autoClearSearchValue: {
|
|
74
|
+
title: string;
|
|
75
|
+
tooltip: string;
|
|
76
|
+
};
|
|
77
|
+
defaultActiveFirstOption: string;
|
|
78
|
+
defaultOpen: string;
|
|
79
|
+
filterOption: string;
|
|
80
|
+
filterSort: string;
|
|
81
|
+
labelInValue: string;
|
|
82
|
+
listHeight: string;
|
|
83
|
+
maxTagCount: string;
|
|
84
|
+
maxTagPlaceholder: {
|
|
85
|
+
title: string;
|
|
86
|
+
tooltip: string;
|
|
87
|
+
};
|
|
88
|
+
maxTagTextLength: string;
|
|
89
|
+
notFoundContent: string;
|
|
90
|
+
showArrow: string;
|
|
91
|
+
virtual: string;
|
|
92
|
+
dropdownMatchSelectWidth: {
|
|
93
|
+
title: string;
|
|
94
|
+
tooltip: string;
|
|
95
|
+
};
|
|
96
|
+
showCheckedStrategy: {
|
|
97
|
+
title: string;
|
|
98
|
+
tooltip: string;
|
|
99
|
+
dataSource: string[];
|
|
100
|
+
};
|
|
101
|
+
treeCheckable: string;
|
|
102
|
+
treeDefaultExpandAll: string;
|
|
103
|
+
treeDefaultExpandedKeys: {
|
|
104
|
+
title: string;
|
|
105
|
+
tooltip: string;
|
|
106
|
+
};
|
|
107
|
+
treeNodeFilterProp: {
|
|
108
|
+
title: string;
|
|
109
|
+
tooltip: string;
|
|
110
|
+
};
|
|
111
|
+
treeDataSimpleMode: {
|
|
112
|
+
title: string;
|
|
113
|
+
tooltip: string;
|
|
114
|
+
};
|
|
115
|
+
treeNodeLabelProp: {
|
|
116
|
+
title: string;
|
|
117
|
+
tooltip: string;
|
|
118
|
+
};
|
|
119
|
+
filterTreeNode: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
'ko-KR': {
|
|
124
|
+
title: string;
|
|
125
|
+
settings: {
|
|
126
|
+
'x-component-props': {
|
|
127
|
+
mode: {
|
|
128
|
+
title: string;
|
|
129
|
+
dataSource: string[];
|
|
130
|
+
};
|
|
131
|
+
autoClearSearchValue: {
|
|
132
|
+
title: string;
|
|
133
|
+
tooltip: string;
|
|
134
|
+
};
|
|
135
|
+
defaultActiveFirstOption: string;
|
|
136
|
+
defaultOpen: string;
|
|
137
|
+
filterOption: string;
|
|
138
|
+
filterSort: string;
|
|
139
|
+
labelInValue: string;
|
|
140
|
+
listHeight: string;
|
|
141
|
+
maxTagCount: string;
|
|
142
|
+
maxTagPlaceholder: {
|
|
143
|
+
title: string;
|
|
144
|
+
tooltip: string;
|
|
145
|
+
};
|
|
146
|
+
maxTagTextLength: string;
|
|
147
|
+
notFoundContent: string;
|
|
148
|
+
showArrow: string;
|
|
149
|
+
virtual: string;
|
|
150
|
+
dropdownMatchSelectWidth: {
|
|
151
|
+
title: string;
|
|
152
|
+
tooltip: string;
|
|
153
|
+
};
|
|
154
|
+
showCheckedStrategy: {
|
|
155
|
+
title: string;
|
|
156
|
+
tooltip: string;
|
|
157
|
+
dataSource: string[];
|
|
158
|
+
};
|
|
159
|
+
treeCheckable: string;
|
|
160
|
+
treeDefaultExpandAll: string;
|
|
161
|
+
treeDefaultExpandedKeys: {
|
|
162
|
+
title: string;
|
|
163
|
+
tooltip: string;
|
|
164
|
+
};
|
|
165
|
+
treeNodeFilterProp: {
|
|
166
|
+
title: string;
|
|
167
|
+
tooltip: string;
|
|
168
|
+
};
|
|
169
|
+
treeDataSimpleMode: {
|
|
170
|
+
title: string;
|
|
171
|
+
tooltip: string;
|
|
172
|
+
};
|
|
173
|
+
treeNodeLabelProp: {
|
|
174
|
+
title: string;
|
|
175
|
+
tooltip: string;
|
|
176
|
+
};
|
|
177
|
+
filterTreeNode: string;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TreeSelect = void 0;
|
|
4
|
+
exports.TreeSelect = {
|
|
5
|
+
'zh-CN': {
|
|
6
|
+
title: '树选择',
|
|
7
|
+
settings: {
|
|
8
|
+
'x-component-props': {
|
|
9
|
+
mode: {
|
|
10
|
+
title: '模式',
|
|
11
|
+
dataSource: ['多选', '标签', '单选'],
|
|
12
|
+
},
|
|
13
|
+
autoClearSearchValue: {
|
|
14
|
+
title: '选中自动清除',
|
|
15
|
+
tooltip: '仅在多选或者标签模式下支持',
|
|
16
|
+
},
|
|
17
|
+
defaultActiveFirstOption: '默认高亮第一个选项',
|
|
18
|
+
defaultOpen: '默认展开',
|
|
19
|
+
filterOption: '选项筛选器',
|
|
20
|
+
filterSort: '选项排序器',
|
|
21
|
+
labelInValue: {
|
|
22
|
+
title: '标签值',
|
|
23
|
+
tooltip: '是否把每个选项的 label 包装到 value 中,会把 Select 的 value 类型从 string 变为 { value: string, label: ReactNode } 的格式',
|
|
24
|
+
},
|
|
25
|
+
listHeight: '弹窗滚动高度',
|
|
26
|
+
maxTagCount: {
|
|
27
|
+
title: '最多标签数量',
|
|
28
|
+
tooltip: '最多显示多少个 tag,响应式模式会对性能产生损耗',
|
|
29
|
+
},
|
|
30
|
+
maxTagPlaceholder: {
|
|
31
|
+
title: '最多标签占位',
|
|
32
|
+
tooltip: '隐藏 tag 时显示的内容',
|
|
33
|
+
},
|
|
34
|
+
maxTagTextLength: '最多标签文本长度',
|
|
35
|
+
showArrow: '显示箭头',
|
|
36
|
+
virtual: '开启虚拟滚动',
|
|
37
|
+
dropdownMatchSelectWidth: {
|
|
38
|
+
title: '下拉选择器同宽',
|
|
39
|
+
tooltip: '默认将设置 min-width,当值小于选择框宽度时会被忽略。false 时会关闭虚拟滚动',
|
|
40
|
+
},
|
|
41
|
+
showCheckedStrategy: {
|
|
42
|
+
title: '复选回显策略',
|
|
43
|
+
tooltip: '配置 treeCheckable 时,定义选中项回填的方式。TreeSelect.SHOW_ALL: 显示所有选中节点(包括父节点)。TreeSelect.SHOW_PARENT: 只显示父节点(当父节点下所有子节点都选中时)。 默认只显示子节点',
|
|
44
|
+
dataSource: ['显示所有', '显示父节点', '显示子节点'],
|
|
45
|
+
},
|
|
46
|
+
treeCheckable: '开启复选',
|
|
47
|
+
treeDefaultExpandAll: '默认展开所有',
|
|
48
|
+
treeDefaultExpandedKeys: {
|
|
49
|
+
title: '默认展开选项',
|
|
50
|
+
tooltip: '格式:Array<string | number>',
|
|
51
|
+
},
|
|
52
|
+
treeNodeFilterProp: {
|
|
53
|
+
title: '节点过滤属性',
|
|
54
|
+
tooltip: '输入项过滤对应的 treeNode 属性',
|
|
55
|
+
},
|
|
56
|
+
treeDataSimpleMode: {
|
|
57
|
+
title: '使用简单数据结构',
|
|
58
|
+
tooltip: `使用简单格式的 treeData,具体设置参考可设置的类型 (此时 treeData 应变为这样的数据结构: [{id:1, pId:0, value:'1', title:"test1",...},...], pId 是父节点的 id)`,
|
|
59
|
+
},
|
|
60
|
+
treeNodeLabelProp: { title: '标签显示名称', tooltip: '默认为title' },
|
|
61
|
+
filterTreeNode: '节点过滤器',
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
'en-US': {
|
|
66
|
+
title: 'TreeSelect',
|
|
67
|
+
settings: {
|
|
68
|
+
'x-component-props': {
|
|
69
|
+
mode: {
|
|
70
|
+
title: 'Mode',
|
|
71
|
+
dataSource: ['Multiple', 'Tags', 'Single'],
|
|
72
|
+
},
|
|
73
|
+
autoClearSearchValue: {
|
|
74
|
+
title: 'Auto Clear Search Value',
|
|
75
|
+
tooltip: 'Only used to multiple and tags mode',
|
|
76
|
+
},
|
|
77
|
+
defaultActiveFirstOption: 'Default Active First Option',
|
|
78
|
+
defaultOpen: 'Default Open',
|
|
79
|
+
filterOption: 'Filter Option',
|
|
80
|
+
filterSort: 'Filter Sort',
|
|
81
|
+
labelInValue: 'Label In Value',
|
|
82
|
+
listHeight: 'List Height',
|
|
83
|
+
maxTagCount: 'Max Tag Count',
|
|
84
|
+
maxTagPlaceholder: {
|
|
85
|
+
title: 'Max Tag Placeholder',
|
|
86
|
+
tooltip: 'Content displayed when tag is hidden',
|
|
87
|
+
},
|
|
88
|
+
maxTagTextLength: 'Max Tag Text Length',
|
|
89
|
+
notFoundContent: 'Not Found Content',
|
|
90
|
+
showArrow: 'Show Arrow',
|
|
91
|
+
virtual: 'Use Virtual Scroll',
|
|
92
|
+
dropdownMatchSelectWidth: {
|
|
93
|
+
title: 'Dropdown Match Select Width',
|
|
94
|
+
tooltip: 'By default, min-width will be set, and it will be ignored when the value is less than the width of the selection box. false will turn off virtual scrolling',
|
|
95
|
+
},
|
|
96
|
+
showCheckedStrategy: {
|
|
97
|
+
title: 'Show Checked Strategy',
|
|
98
|
+
tooltip: 'When configuring treeCheckable, define how to backfill the selected item. TreeSelect.SHOW_ALL: Show all selected nodes (including parent nodes). TreeSelect.SHOW_PARENT: Only display the parent node (when all child nodes under the parent node are selected). Only show child nodes by default',
|
|
99
|
+
dataSource: ['Show All', 'Show Parent Node', 'Show Child Nodes'],
|
|
100
|
+
},
|
|
101
|
+
treeCheckable: 'Tree Checkable',
|
|
102
|
+
treeDefaultExpandAll: 'Tree Default Expand All',
|
|
103
|
+
treeDefaultExpandedKeys: {
|
|
104
|
+
title: 'Tree Default Expanded Keys',
|
|
105
|
+
tooltip: 'Format:Array<string | number>',
|
|
106
|
+
},
|
|
107
|
+
treeNodeFilterProp: {
|
|
108
|
+
title: 'Tree Node Filter Properties',
|
|
109
|
+
tooltip: 'The treeNode attribute corresponding to the input item filter',
|
|
110
|
+
},
|
|
111
|
+
treeDataSimpleMode: {
|
|
112
|
+
title: 'Tree Data Simple Mode',
|
|
113
|
+
tooltip: `Use treeData in a simple format. For specific settings, refer to the settable type (the treeData should be a data structure like this: [{id:1, pId:0, value:'1', title:"test1",...} ,...], pId is the id of the parent node)`,
|
|
114
|
+
},
|
|
115
|
+
treeNodeLabelProp: {
|
|
116
|
+
title: 'Tree Node Label Properties',
|
|
117
|
+
tooltip: 'The default is title',
|
|
118
|
+
},
|
|
119
|
+
filterTreeNode: 'Filter Tree Node',
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
'ko-KR': {
|
|
124
|
+
title: '트리 셀렉터',
|
|
125
|
+
settings: {
|
|
126
|
+
'x-component-props': {
|
|
127
|
+
mode: {
|
|
128
|
+
title: '모드',
|
|
129
|
+
dataSource: ['다중', '태그', '단일'],
|
|
130
|
+
},
|
|
131
|
+
autoClearSearchValue: {
|
|
132
|
+
title: '검색값 자동 삭제',
|
|
133
|
+
tooltip: '다중 모드와 태그 모드에서만 사용 가능',
|
|
134
|
+
},
|
|
135
|
+
defaultActiveFirstOption: '기본 활성값으로 첫번째 옵션 사용',
|
|
136
|
+
defaultOpen: '기본 오픈',
|
|
137
|
+
filterOption: '옵션 필터',
|
|
138
|
+
filterSort: '정렬 필터',
|
|
139
|
+
labelInValue: '레이블 입력 값',
|
|
140
|
+
listHeight: '리스트 높이',
|
|
141
|
+
maxTagCount: '최대 태그 개수',
|
|
142
|
+
maxTagPlaceholder: {
|
|
143
|
+
title: '최대 태그 Placeholder',
|
|
144
|
+
tooltip: '태그가 숨김일때 보여줍니다.',
|
|
145
|
+
},
|
|
146
|
+
maxTagTextLength: '최대 태그 문자 길이',
|
|
147
|
+
notFoundContent: '내용 없음',
|
|
148
|
+
showArrow: '화살표 보기',
|
|
149
|
+
virtual: '수직 스크롤 사용',
|
|
150
|
+
dropdownMatchSelectWidth: {
|
|
151
|
+
title: '드롭다운 너비 맞추기',
|
|
152
|
+
tooltip: '기본적으로 최소 너비가 설정되며 값이 선택 상자의 너비보다 작으면 무시됩니다.',
|
|
153
|
+
},
|
|
154
|
+
showCheckedStrategy: {
|
|
155
|
+
title: '선택한 전략 표시',
|
|
156
|
+
tooltip: 'treeCheckable을 구성할 때 선택한 항목을 다시 채우는 방법을 정의합니다. TreeSelect.SHOW_ALL: 선택한 모든 노드(상위 노드 포함)를 표시합니다. TreeSelect.SHOW_PARTE: 상위 노드 아래의 모든 하위 노드를 선택한 경우에만 상위 노드를 표시합니다. 기본적으로 하위 노드만 표시합니다',
|
|
157
|
+
dataSource: ['모두 보기', '부모 노드만 보기', '자식 노드만 보기'],
|
|
158
|
+
},
|
|
159
|
+
treeCheckable: '트리 체크 가능 여부',
|
|
160
|
+
treeDefaultExpandAll: '트리 기본 모두 확장',
|
|
161
|
+
treeDefaultExpandedKeys: {
|
|
162
|
+
title: '트리 기본 확장 키',
|
|
163
|
+
tooltip: '형식:Array<string | number>',
|
|
164
|
+
},
|
|
165
|
+
treeNodeFilterProp: {
|
|
166
|
+
title: '트리 노드 필터 속성',
|
|
167
|
+
tooltip: '입력 항목 필터에 해당하는 treeNode 속성',
|
|
168
|
+
},
|
|
169
|
+
treeDataSimpleMode: {
|
|
170
|
+
title: '트리 데이터 심플 모드',
|
|
171
|
+
tooltip: `treeData를 간단한 형식으로 사용합니다. 특정 설정은 설정가능한 유형을 참조하세요 (트리데이터는 다음과 같은 데이터 구조여야 합니다: [{id:1, pId:0, value:'1', title:"test1",...} ,...], pId는 id의 상위 노드입니다).`,
|
|
172
|
+
},
|
|
173
|
+
treeNodeLabelProp: {
|
|
174
|
+
title: '트리 노드 레이블 속성',
|
|
175
|
+
tooltip: '기본 값은 제목',
|
|
176
|
+
},
|
|
177
|
+
filterTreeNode: '트리 노드 필터',
|
|
178
|
+
},
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
};
|