@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,41 @@
|
|
|
1
|
+
export declare const Rate: {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
title: string;
|
|
4
|
+
settings: {
|
|
5
|
+
'x-component-props': {
|
|
6
|
+
allowHalf: string;
|
|
7
|
+
tooltips: {
|
|
8
|
+
title: string;
|
|
9
|
+
tooltip: string;
|
|
10
|
+
};
|
|
11
|
+
count: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
'en-US': {
|
|
16
|
+
title: string;
|
|
17
|
+
settings: {
|
|
18
|
+
'x-component-props': {
|
|
19
|
+
allowHalf: string;
|
|
20
|
+
tooltips: {
|
|
21
|
+
title: string;
|
|
22
|
+
tooltip: string;
|
|
23
|
+
};
|
|
24
|
+
count: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
'ko-KR': {
|
|
29
|
+
title: string;
|
|
30
|
+
settings: {
|
|
31
|
+
'x-component-props': {
|
|
32
|
+
allowHalf: string;
|
|
33
|
+
tooltips: {
|
|
34
|
+
title: string;
|
|
35
|
+
tooltip: string;
|
|
36
|
+
};
|
|
37
|
+
count: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Rate = void 0;
|
|
4
|
+
exports.Rate = {
|
|
5
|
+
'zh-CN': {
|
|
6
|
+
title: '评分器',
|
|
7
|
+
settings: {
|
|
8
|
+
'x-component-props': {
|
|
9
|
+
allowHalf: '允许半选',
|
|
10
|
+
tooltips: { title: '提示信息', tooltip: '格式:string[]' },
|
|
11
|
+
count: '总数',
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
'en-US': {
|
|
16
|
+
title: 'Rate',
|
|
17
|
+
settings: {
|
|
18
|
+
'x-component-props': {
|
|
19
|
+
allowHalf: 'Allow Half',
|
|
20
|
+
tooltips: { title: 'Tooltips', tooltip: 'Format:string[]' },
|
|
21
|
+
count: 'Count',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
'ko-KR': {
|
|
26
|
+
title: '비율',
|
|
27
|
+
settings: {
|
|
28
|
+
'x-component-props': {
|
|
29
|
+
allowHalf: '절반 허용',
|
|
30
|
+
tooltips: { title: '툴팁', tooltip: '형식:string[]' },
|
|
31
|
+
count: '개수',
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
export declare const Select: {
|
|
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
|
+
dropdownMatchSelectWidth: {
|
|
16
|
+
title: string;
|
|
17
|
+
tooltip: string;
|
|
18
|
+
};
|
|
19
|
+
defaultOpen: string;
|
|
20
|
+
filterOption: string;
|
|
21
|
+
filterSort: string;
|
|
22
|
+
labelInValue: {
|
|
23
|
+
title: string;
|
|
24
|
+
tooltip: string;
|
|
25
|
+
};
|
|
26
|
+
listHeight: string;
|
|
27
|
+
maxTagCount: {
|
|
28
|
+
title: string;
|
|
29
|
+
tooltip: string;
|
|
30
|
+
};
|
|
31
|
+
maxTagPlaceholder: {
|
|
32
|
+
title: string;
|
|
33
|
+
tooltip: string;
|
|
34
|
+
};
|
|
35
|
+
maxTagTextLength: string;
|
|
36
|
+
showArrow: string;
|
|
37
|
+
virtual: string;
|
|
38
|
+
optionFilterProp: {
|
|
39
|
+
title: string;
|
|
40
|
+
tooltip: string;
|
|
41
|
+
};
|
|
42
|
+
fieldNames: {
|
|
43
|
+
title: string;
|
|
44
|
+
tooltip: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
'en-US': {
|
|
50
|
+
title: string;
|
|
51
|
+
settings: {
|
|
52
|
+
'x-component-props': {
|
|
53
|
+
mode: {
|
|
54
|
+
title: string;
|
|
55
|
+
dataSource: string[];
|
|
56
|
+
};
|
|
57
|
+
autoClearSearchValue: {
|
|
58
|
+
title: string;
|
|
59
|
+
tooltip: string;
|
|
60
|
+
};
|
|
61
|
+
defaultActiveFirstOption: string;
|
|
62
|
+
dropdownMatchSelectWidth: string;
|
|
63
|
+
defaultOpen: string;
|
|
64
|
+
filterOption: string;
|
|
65
|
+
filterSort: string;
|
|
66
|
+
labelInValue: string;
|
|
67
|
+
listHeight: string;
|
|
68
|
+
maxTagCount: string;
|
|
69
|
+
maxTagPlaceholder: {
|
|
70
|
+
title: string;
|
|
71
|
+
tooltip: string;
|
|
72
|
+
};
|
|
73
|
+
maxTagTextLength: string;
|
|
74
|
+
showArrow: string;
|
|
75
|
+
virtual: string;
|
|
76
|
+
optionFilterProp: {
|
|
77
|
+
title: string;
|
|
78
|
+
tooltip: string;
|
|
79
|
+
};
|
|
80
|
+
fieldNames: {
|
|
81
|
+
title: string;
|
|
82
|
+
tooltip: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
'ko-KR': {
|
|
88
|
+
title: string;
|
|
89
|
+
settings: {
|
|
90
|
+
'x-component-props': {
|
|
91
|
+
mode: {
|
|
92
|
+
title: string;
|
|
93
|
+
dataSource: string[];
|
|
94
|
+
};
|
|
95
|
+
autoClearSearchValue: {
|
|
96
|
+
title: string;
|
|
97
|
+
tooltip: string;
|
|
98
|
+
};
|
|
99
|
+
defaultActiveFirstOption: string;
|
|
100
|
+
dropdownMatchSelectWidth: string;
|
|
101
|
+
defaultOpen: string;
|
|
102
|
+
filterOption: string;
|
|
103
|
+
filterSort: string;
|
|
104
|
+
labelInValue: string;
|
|
105
|
+
listHeight: string;
|
|
106
|
+
maxTagCount: string;
|
|
107
|
+
maxTagPlaceholder: {
|
|
108
|
+
title: string;
|
|
109
|
+
tooltip: string;
|
|
110
|
+
};
|
|
111
|
+
maxTagTextLength: string;
|
|
112
|
+
showArrow: string;
|
|
113
|
+
virtual: string;
|
|
114
|
+
optionFilterProp: {
|
|
115
|
+
title: string;
|
|
116
|
+
tooltip: string;
|
|
117
|
+
};
|
|
118
|
+
fieldNames: {
|
|
119
|
+
title: string;
|
|
120
|
+
tooltip: string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Select = void 0;
|
|
4
|
+
exports.Select = {
|
|
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
|
+
dropdownMatchSelectWidth: {
|
|
19
|
+
title: '下拉菜单和选择器同宽',
|
|
20
|
+
tooltip: '默认将设置 min-width,当值小于选择框宽度时会被忽略。false 时会关闭虚拟滚动',
|
|
21
|
+
},
|
|
22
|
+
defaultOpen: '默认展开',
|
|
23
|
+
filterOption: '选项筛选器',
|
|
24
|
+
filterSort: '选项排序器',
|
|
25
|
+
labelInValue: {
|
|
26
|
+
title: '标签值',
|
|
27
|
+
tooltip: '是否把每个选项的 label 包装到 value 中,会把 Select 的 value 类型从 string 变为 { value: string, label: ReactNode } 的格式',
|
|
28
|
+
},
|
|
29
|
+
listHeight: '弹窗滚动高度',
|
|
30
|
+
maxTagCount: {
|
|
31
|
+
title: '最多标签数量',
|
|
32
|
+
tooltip: '最多显示多少个 tag,响应式模式会对性能产生损耗',
|
|
33
|
+
},
|
|
34
|
+
maxTagPlaceholder: {
|
|
35
|
+
title: '最多标签占位',
|
|
36
|
+
tooltip: '隐藏 tag 时显示的内容',
|
|
37
|
+
},
|
|
38
|
+
maxTagTextLength: '最多标签文本长度',
|
|
39
|
+
showArrow: '显示箭头',
|
|
40
|
+
virtual: '开启虚拟滚动',
|
|
41
|
+
optionFilterProp: {
|
|
42
|
+
title: '选项过滤属性',
|
|
43
|
+
tooltip: '输入项过滤对应的 option 属性,默认为 value',
|
|
44
|
+
},
|
|
45
|
+
fieldNames: {
|
|
46
|
+
title: '选项字段映射',
|
|
47
|
+
tooltip: '配置选项的 label、value、options 对应的字段',
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
'en-US': {
|
|
53
|
+
title: 'Select',
|
|
54
|
+
settings: {
|
|
55
|
+
'x-component-props': {
|
|
56
|
+
mode: {
|
|
57
|
+
title: 'Mode',
|
|
58
|
+
dataSource: ['Multiple', 'Tags', 'Single'],
|
|
59
|
+
},
|
|
60
|
+
autoClearSearchValue: {
|
|
61
|
+
title: 'Auto Clear Search Value',
|
|
62
|
+
tooltip: 'Only used to multiple and tags mode',
|
|
63
|
+
},
|
|
64
|
+
defaultActiveFirstOption: 'Default Active First Option',
|
|
65
|
+
dropdownMatchSelectWidth: 'Dropdown Match Select Width',
|
|
66
|
+
defaultOpen: 'Default Open',
|
|
67
|
+
filterOption: 'Filter Option',
|
|
68
|
+
filterSort: 'Filter Sort',
|
|
69
|
+
labelInValue: 'label InValue',
|
|
70
|
+
listHeight: 'List Height',
|
|
71
|
+
maxTagCount: 'Max Tag Count',
|
|
72
|
+
maxTagPlaceholder: {
|
|
73
|
+
title: 'Max Tag Placeholder',
|
|
74
|
+
tooltip: 'Content displayed when tag is hidden',
|
|
75
|
+
},
|
|
76
|
+
maxTagTextLength: 'Max Tag Text Length',
|
|
77
|
+
showArrow: 'Show Arrow',
|
|
78
|
+
virtual: 'Use Virtual Scroll',
|
|
79
|
+
optionFilterProp: {
|
|
80
|
+
title: 'Option Filter Prop',
|
|
81
|
+
tooltip: 'Input item filter corresponding option property, default value is value',
|
|
82
|
+
},
|
|
83
|
+
fieldNames: {
|
|
84
|
+
title: 'Field Names',
|
|
85
|
+
tooltip: 'Configure the label, value, options corresponding field',
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
'ko-KR': {
|
|
91
|
+
title: '선택',
|
|
92
|
+
settings: {
|
|
93
|
+
'x-component-props': {
|
|
94
|
+
mode: {
|
|
95
|
+
title: '모드',
|
|
96
|
+
dataSource: ['다중', '태그', '단일'],
|
|
97
|
+
},
|
|
98
|
+
autoClearSearchValue: {
|
|
99
|
+
title: '자동 검색 값 삭제',
|
|
100
|
+
tooltip: '다중 모드와 태그 모드만 사용할 수 있습니다.',
|
|
101
|
+
},
|
|
102
|
+
defaultActiveFirstOption: '기본으로 첫번째 옵션을 선택함',
|
|
103
|
+
dropdownMatchSelectWidth: '드롭다운 너비와 일치시킴',
|
|
104
|
+
defaultOpen: '기본 오픈',
|
|
105
|
+
filterOption: '옵션 필터',
|
|
106
|
+
filterSort: '정렬 필터',
|
|
107
|
+
labelInValue: '레이블 InValue',
|
|
108
|
+
listHeight: '리스트 높이',
|
|
109
|
+
maxTagCount: '최대 태그 개수',
|
|
110
|
+
maxTagPlaceholder: {
|
|
111
|
+
title: '최대 태그 Placeholder',
|
|
112
|
+
tooltip: '태그가 숨겨질때 보입니다.',
|
|
113
|
+
},
|
|
114
|
+
maxTagTextLength: '최대 태그 텍스트 길이',
|
|
115
|
+
showArrow: '화살표 보기',
|
|
116
|
+
virtual: '수직 스크롤 사용',
|
|
117
|
+
optionFilterProp: {
|
|
118
|
+
title: '옵션 필터 프로퍼티',
|
|
119
|
+
tooltip: '입력필터와 연관한 옵션 프로퍼티, 기본값은 값이다.',
|
|
120
|
+
},
|
|
121
|
+
fieldNames: {
|
|
122
|
+
title: '필드 이름',
|
|
123
|
+
tooltip: '레이블, 값, 옵션에 해당하는 필드를 설정합니다.',
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export declare const Slider: {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
title: string;
|
|
4
|
+
settings: {
|
|
5
|
+
'x-component-props': {
|
|
6
|
+
dots: string;
|
|
7
|
+
range: string;
|
|
8
|
+
reverse: string;
|
|
9
|
+
vertical: string;
|
|
10
|
+
tooltipPlacement: {
|
|
11
|
+
title: string;
|
|
12
|
+
tooltip: string;
|
|
13
|
+
};
|
|
14
|
+
tooltipVisible: {
|
|
15
|
+
title: string;
|
|
16
|
+
tooltip: string;
|
|
17
|
+
};
|
|
18
|
+
max: string;
|
|
19
|
+
min: string;
|
|
20
|
+
step: string;
|
|
21
|
+
marks: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
'en-US': {
|
|
26
|
+
title: string;
|
|
27
|
+
settings: {
|
|
28
|
+
'x-component-props': {
|
|
29
|
+
dots: string;
|
|
30
|
+
range: string;
|
|
31
|
+
reverse: string;
|
|
32
|
+
vertical: string;
|
|
33
|
+
tooltipPlacement: {
|
|
34
|
+
title: string;
|
|
35
|
+
tooltip: string;
|
|
36
|
+
};
|
|
37
|
+
tooltipVisible: {
|
|
38
|
+
title: string;
|
|
39
|
+
tooltip: string;
|
|
40
|
+
};
|
|
41
|
+
max: string;
|
|
42
|
+
min: string;
|
|
43
|
+
step: string;
|
|
44
|
+
marks: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
'ko-KR': {
|
|
49
|
+
title: string;
|
|
50
|
+
settings: {
|
|
51
|
+
'x-component-props': {
|
|
52
|
+
dots: string;
|
|
53
|
+
range: string;
|
|
54
|
+
reverse: string;
|
|
55
|
+
vertical: string;
|
|
56
|
+
tooltipPlacement: {
|
|
57
|
+
title: string;
|
|
58
|
+
tooltip: string;
|
|
59
|
+
};
|
|
60
|
+
tooltipVisible: {
|
|
61
|
+
title: string;
|
|
62
|
+
tooltip: string;
|
|
63
|
+
};
|
|
64
|
+
max: string;
|
|
65
|
+
min: string;
|
|
66
|
+
step: string;
|
|
67
|
+
marks: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Slider = void 0;
|
|
4
|
+
exports.Slider = {
|
|
5
|
+
'zh-CN': {
|
|
6
|
+
title: '滑动条',
|
|
7
|
+
settings: {
|
|
8
|
+
'x-component-props': {
|
|
9
|
+
dots: '刻度固定',
|
|
10
|
+
range: '双滑块',
|
|
11
|
+
reverse: '反向坐标系',
|
|
12
|
+
vertical: '垂直布局',
|
|
13
|
+
tooltipPlacement: {
|
|
14
|
+
title: '提示位置',
|
|
15
|
+
tooltip: '设置 提示 展示位置。参考 Tooltip',
|
|
16
|
+
},
|
|
17
|
+
tooltipVisible: {
|
|
18
|
+
title: '提示显示',
|
|
19
|
+
tooltip: '开启时,提示 将会始终显示;否则始终不显示,哪怕在拖拽及移入时',
|
|
20
|
+
},
|
|
21
|
+
max: '最大值',
|
|
22
|
+
min: '最小值',
|
|
23
|
+
step: '步长',
|
|
24
|
+
marks: '刻度标签',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
'en-US': {
|
|
29
|
+
title: 'Slider',
|
|
30
|
+
settings: {
|
|
31
|
+
'x-component-props': {
|
|
32
|
+
dots: 'Fixed Scale',
|
|
33
|
+
range: 'Double Slider',
|
|
34
|
+
reverse: 'Reverse Coordinate System',
|
|
35
|
+
vertical: 'Vertical',
|
|
36
|
+
tooltipPlacement: {
|
|
37
|
+
title: 'Tooltip Placement',
|
|
38
|
+
tooltip: 'Set up prompt placement. Reference Tooltip',
|
|
39
|
+
},
|
|
40
|
+
tooltipVisible: {
|
|
41
|
+
title: 'Tooltip Visible',
|
|
42
|
+
tooltip: 'When turned on, the prompt will always be displayed; otherwise, it will always not be displayed, even when dragging and moving in',
|
|
43
|
+
},
|
|
44
|
+
max: 'Max',
|
|
45
|
+
min: 'Min',
|
|
46
|
+
step: 'Step',
|
|
47
|
+
marks: 'Marks',
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
'ko-KR': {
|
|
52
|
+
title: '슬라이더',
|
|
53
|
+
settings: {
|
|
54
|
+
'x-component-props': {
|
|
55
|
+
dots: '고정된 크기',
|
|
56
|
+
range: '더블 슬라이더',
|
|
57
|
+
reverse: '뒤집어진 좌표 시스템',
|
|
58
|
+
vertical: '수직',
|
|
59
|
+
tooltipPlacement: {
|
|
60
|
+
title: '툴팁 배치',
|
|
61
|
+
tooltip: '툴팁이 나오는 위치를 설정',
|
|
62
|
+
},
|
|
63
|
+
tooltipVisible: {
|
|
64
|
+
title: '툴팁 보기',
|
|
65
|
+
tooltip: '이 옵션을 켜면 툴팁이 항상 표시됩니다. 그렇지 않으면 끌어서 이동할 때도 툴팁이 항상 표시되지 않습니다',
|
|
66
|
+
},
|
|
67
|
+
max: '최댓값',
|
|
68
|
+
min: '최솟값',
|
|
69
|
+
step: '스탭',
|
|
70
|
+
marks: '마크',
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const Space: {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
title: string;
|
|
4
|
+
settings: {
|
|
5
|
+
'x-component-props': {
|
|
6
|
+
direction: {
|
|
7
|
+
title: string;
|
|
8
|
+
dataSource: string[];
|
|
9
|
+
};
|
|
10
|
+
split: string;
|
|
11
|
+
wrap: string;
|
|
12
|
+
align: {
|
|
13
|
+
title: string;
|
|
14
|
+
dataSource: string[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
'en-US': {
|
|
20
|
+
title: string;
|
|
21
|
+
settings: {
|
|
22
|
+
'x-component-props': {
|
|
23
|
+
direction: {
|
|
24
|
+
title: string;
|
|
25
|
+
dataSource: string[];
|
|
26
|
+
};
|
|
27
|
+
split: string;
|
|
28
|
+
wrap: string;
|
|
29
|
+
align: {
|
|
30
|
+
title: string;
|
|
31
|
+
dataSource: string[];
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
'ko-KR': {
|
|
37
|
+
title: string;
|
|
38
|
+
settings: {
|
|
39
|
+
'x-component-props': {
|
|
40
|
+
direction: {
|
|
41
|
+
title: string;
|
|
42
|
+
dataSource: string[];
|
|
43
|
+
};
|
|
44
|
+
split: string;
|
|
45
|
+
wrap: string;
|
|
46
|
+
align: {
|
|
47
|
+
title: string;
|
|
48
|
+
dataSource: string[];
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Space = void 0;
|
|
4
|
+
exports.Space = {
|
|
5
|
+
'zh-CN': {
|
|
6
|
+
title: '弹性间距',
|
|
7
|
+
settings: {
|
|
8
|
+
'x-component-props': {
|
|
9
|
+
direction: { title: '方向', dataSource: ['垂直', '水平'] },
|
|
10
|
+
split: '分割内容',
|
|
11
|
+
wrap: '自动换行',
|
|
12
|
+
align: {
|
|
13
|
+
title: '对齐',
|
|
14
|
+
dataSource: ['头部', '尾部', '居中', '基准线'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
'en-US': {
|
|
20
|
+
title: 'Space',
|
|
21
|
+
settings: {
|
|
22
|
+
'x-component-props': {
|
|
23
|
+
direction: {
|
|
24
|
+
title: 'Direction',
|
|
25
|
+
dataSource: ['Vertical', 'Horizontal'],
|
|
26
|
+
},
|
|
27
|
+
split: 'Split',
|
|
28
|
+
wrap: 'Word Wrap',
|
|
29
|
+
align: {
|
|
30
|
+
title: 'Align',
|
|
31
|
+
dataSource: ['Start', 'End', 'Center', 'Baseline'],
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
'ko-KR': {
|
|
37
|
+
title: '간격',
|
|
38
|
+
settings: {
|
|
39
|
+
'x-component-props': {
|
|
40
|
+
direction: {
|
|
41
|
+
title: '방향',
|
|
42
|
+
dataSource: ['수직', '수평'],
|
|
43
|
+
},
|
|
44
|
+
split: '분할',
|
|
45
|
+
wrap: '자동 줄 바꿈',
|
|
46
|
+
align: {
|
|
47
|
+
title: '정렬',
|
|
48
|
+
dataSource: ['시작', '끝', '가운데', '기준선'],
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const Text: {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
title: string;
|
|
4
|
+
settings: {
|
|
5
|
+
'x-component-props': {
|
|
6
|
+
content: string;
|
|
7
|
+
mode: {
|
|
8
|
+
title: string;
|
|
9
|
+
dataSource: string[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
'en-US': {
|
|
15
|
+
title: string;
|
|
16
|
+
settings: {
|
|
17
|
+
'x-component-props': {
|
|
18
|
+
content: string;
|
|
19
|
+
mode: {
|
|
20
|
+
title: string;
|
|
21
|
+
dataSource: string[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
'ko-KR': {
|
|
27
|
+
title: string;
|
|
28
|
+
settings: {
|
|
29
|
+
'x-component-props': {
|
|
30
|
+
content: string;
|
|
31
|
+
mode: {
|
|
32
|
+
title: string;
|
|
33
|
+
dataSource: string[];
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Text = void 0;
|
|
4
|
+
exports.Text = {
|
|
5
|
+
'zh-CN': {
|
|
6
|
+
title: '文本',
|
|
7
|
+
settings: {
|
|
8
|
+
'x-component-props': {
|
|
9
|
+
content: '文本内容',
|
|
10
|
+
mode: {
|
|
11
|
+
title: '文本类型',
|
|
12
|
+
dataSource: ['H1', 'H2', 'H3', 'Paragraph', 'Normal'],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
'en-US': {
|
|
18
|
+
title: 'Text',
|
|
19
|
+
settings: {
|
|
20
|
+
'x-component-props': {
|
|
21
|
+
content: 'Text Content',
|
|
22
|
+
mode: {
|
|
23
|
+
title: 'Text Mode',
|
|
24
|
+
dataSource: ['H1', 'H2', 'H3', 'Paragraph', 'Normal'],
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
'ko-KR': {
|
|
30
|
+
title: '텍스트',
|
|
31
|
+
settings: {
|
|
32
|
+
'x-component-props': {
|
|
33
|
+
content: '텍스트 내용',
|
|
34
|
+
mode: {
|
|
35
|
+
title: '텍스트 모드',
|
|
36
|
+
dataSource: ['H1', 'H2', 'H3', 'Paragraph', 'Normal'],
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
};
|