@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,138 @@
|
|
|
1
|
+
export declare const ArrayTable: {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
title: string;
|
|
4
|
+
addSortHandle: string;
|
|
5
|
+
addColumn: string;
|
|
6
|
+
addIndex: string;
|
|
7
|
+
addOperation: string;
|
|
8
|
+
settings: {
|
|
9
|
+
'x-component-props': {
|
|
10
|
+
showHeader: string;
|
|
11
|
+
sticky: string;
|
|
12
|
+
align: {
|
|
13
|
+
title: string;
|
|
14
|
+
dataSource: string[];
|
|
15
|
+
};
|
|
16
|
+
colSpan: string;
|
|
17
|
+
fixed: {
|
|
18
|
+
title: string;
|
|
19
|
+
dataSource: string[];
|
|
20
|
+
};
|
|
21
|
+
width: string;
|
|
22
|
+
defaultValue: string;
|
|
23
|
+
tableLayout: {
|
|
24
|
+
title: string;
|
|
25
|
+
dataSource: string[];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
'en-US': {
|
|
31
|
+
title: string;
|
|
32
|
+
addSortHandle: string;
|
|
33
|
+
addColumn: string;
|
|
34
|
+
addIndex: string;
|
|
35
|
+
addOperation: string;
|
|
36
|
+
settings: {
|
|
37
|
+
'x-component-props': {
|
|
38
|
+
showHeader: string;
|
|
39
|
+
sticky: string;
|
|
40
|
+
align: {
|
|
41
|
+
title: string;
|
|
42
|
+
dataSource: string[];
|
|
43
|
+
};
|
|
44
|
+
colSpan: string;
|
|
45
|
+
fixed: {
|
|
46
|
+
title: string;
|
|
47
|
+
dataSource: string[];
|
|
48
|
+
};
|
|
49
|
+
width: string;
|
|
50
|
+
defaultValue: string;
|
|
51
|
+
tableLayout: {
|
|
52
|
+
title: string;
|
|
53
|
+
dataSource: string[];
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
'ko-KR': {
|
|
59
|
+
title: string;
|
|
60
|
+
addSortHandle: string;
|
|
61
|
+
addColumn: string;
|
|
62
|
+
addIndex: string;
|
|
63
|
+
addOperation: string;
|
|
64
|
+
settings: {
|
|
65
|
+
'x-component-props': {
|
|
66
|
+
showHeader: string;
|
|
67
|
+
sticky: string;
|
|
68
|
+
align: {
|
|
69
|
+
title: string;
|
|
70
|
+
dataSource: string[];
|
|
71
|
+
};
|
|
72
|
+
colSpan: string;
|
|
73
|
+
fixed: {
|
|
74
|
+
title: string;
|
|
75
|
+
dataSource: string[];
|
|
76
|
+
};
|
|
77
|
+
width: string;
|
|
78
|
+
defaultValue: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
export declare const ArrayTableColumn: {
|
|
84
|
+
'zh-CN': {
|
|
85
|
+
title: string;
|
|
86
|
+
settings: {
|
|
87
|
+
'x-component-props': {
|
|
88
|
+
title: string;
|
|
89
|
+
align: {
|
|
90
|
+
title: string;
|
|
91
|
+
dataSource: string[];
|
|
92
|
+
};
|
|
93
|
+
colSpan: string;
|
|
94
|
+
width: string;
|
|
95
|
+
fixed: {
|
|
96
|
+
title: string;
|
|
97
|
+
dataSource: string[];
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
'en-US': {
|
|
103
|
+
title: string;
|
|
104
|
+
settings: {
|
|
105
|
+
'x-component-props': {
|
|
106
|
+
title: string;
|
|
107
|
+
align: {
|
|
108
|
+
title: string;
|
|
109
|
+
dataSource: string[];
|
|
110
|
+
};
|
|
111
|
+
colSpan: string;
|
|
112
|
+
width: string;
|
|
113
|
+
fixed: {
|
|
114
|
+
title: string;
|
|
115
|
+
dataSource: string[];
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
'ko-KR': {
|
|
121
|
+
title: string;
|
|
122
|
+
settings: {
|
|
123
|
+
'x-component-props': {
|
|
124
|
+
title: string;
|
|
125
|
+
align: {
|
|
126
|
+
title: string;
|
|
127
|
+
dataSource: string[];
|
|
128
|
+
};
|
|
129
|
+
colSpan: string;
|
|
130
|
+
width: string;
|
|
131
|
+
fixed: {
|
|
132
|
+
title: string;
|
|
133
|
+
dataSource: string[];
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
export const ArrayTable = {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
title: '自增表格',
|
|
4
|
+
addSortHandle: '添加排序',
|
|
5
|
+
addColumn: '添加列',
|
|
6
|
+
addIndex: '添加索引',
|
|
7
|
+
addOperation: '添加操作',
|
|
8
|
+
settings: {
|
|
9
|
+
'x-component-props': {
|
|
10
|
+
showHeader: '显示头部',
|
|
11
|
+
sticky: '吸顶',
|
|
12
|
+
align: {
|
|
13
|
+
title: '对齐',
|
|
14
|
+
dataSource: ['左', '右', '居中'],
|
|
15
|
+
},
|
|
16
|
+
colSpan: '跨列',
|
|
17
|
+
fixed: { title: '固定列', dataSource: ['左', '右', '无'] },
|
|
18
|
+
width: '宽度',
|
|
19
|
+
defaultValue: '默认值',
|
|
20
|
+
tableLayout: {
|
|
21
|
+
title: '表格布局',
|
|
22
|
+
dataSource: ['自动', '固定'],
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
'en-US': {
|
|
28
|
+
title: 'Array Table',
|
|
29
|
+
addSortHandle: 'Add Sort Handle',
|
|
30
|
+
addColumn: 'Add Column',
|
|
31
|
+
addIndex: 'Add Index',
|
|
32
|
+
addOperation: 'Add Operations',
|
|
33
|
+
settings: {
|
|
34
|
+
'x-component-props': {
|
|
35
|
+
showHeader: 'Show Header',
|
|
36
|
+
sticky: 'Sticky',
|
|
37
|
+
align: {
|
|
38
|
+
title: 'Align',
|
|
39
|
+
dataSource: ['Left', 'Right', 'Center'],
|
|
40
|
+
},
|
|
41
|
+
colSpan: 'Col Span',
|
|
42
|
+
fixed: { title: 'Fixed', dataSource: ['Left', 'Right', 'None'] },
|
|
43
|
+
width: 'Width',
|
|
44
|
+
defaultValue: 'Default Value',
|
|
45
|
+
tableLayout: {
|
|
46
|
+
title: 'Table Layout',
|
|
47
|
+
dataSource: ['Auto', 'Fixed'],
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
'ko-KR': {
|
|
53
|
+
title: '배열 테이블',
|
|
54
|
+
addSortHandle: '정렬 핸들 추가',
|
|
55
|
+
addColumn: '열 추가',
|
|
56
|
+
addIndex: '색인 추가',
|
|
57
|
+
addOperation: '작업 추가',
|
|
58
|
+
settings: {
|
|
59
|
+
'x-component-props': {
|
|
60
|
+
showHeader: '헤더 보여주기',
|
|
61
|
+
sticky: '고정',
|
|
62
|
+
align: {
|
|
63
|
+
title: '정렬',
|
|
64
|
+
dataSource: ['왼쪽', '오른쪽', '가운데'],
|
|
65
|
+
},
|
|
66
|
+
colSpan: 'colSpan',
|
|
67
|
+
fixed: { title: '고정', dataSource: ['왼쪽', '오른쪽', '없음'] },
|
|
68
|
+
width: '너비',
|
|
69
|
+
defaultValue: '기본 값',
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
export const ArrayTableColumn = {
|
|
75
|
+
'zh-CN': {
|
|
76
|
+
title: '表格列',
|
|
77
|
+
settings: {
|
|
78
|
+
'x-component-props': {
|
|
79
|
+
title: '标题',
|
|
80
|
+
align: {
|
|
81
|
+
title: '内容对齐',
|
|
82
|
+
dataSource: ['左', '右', '居中'],
|
|
83
|
+
},
|
|
84
|
+
colSpan: '跨列',
|
|
85
|
+
width: '宽度',
|
|
86
|
+
fixed: {
|
|
87
|
+
title: '固定',
|
|
88
|
+
dataSource: ['左', '右', '无'],
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
'en-US': {
|
|
94
|
+
title: 'Column',
|
|
95
|
+
settings: {
|
|
96
|
+
'x-component-props': {
|
|
97
|
+
title: 'Title',
|
|
98
|
+
align: {
|
|
99
|
+
title: 'Align',
|
|
100
|
+
dataSource: ['Left', 'Right', 'Center'],
|
|
101
|
+
},
|
|
102
|
+
colSpan: 'Col Span',
|
|
103
|
+
width: 'Width',
|
|
104
|
+
fixed: {
|
|
105
|
+
title: 'Fixed',
|
|
106
|
+
dataSource: ['Left', 'Right', 'None'],
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
'ko-KR': {
|
|
112
|
+
title: '열',
|
|
113
|
+
settings: {
|
|
114
|
+
'x-component-props': {
|
|
115
|
+
title: '제목',
|
|
116
|
+
align: {
|
|
117
|
+
title: '정렬',
|
|
118
|
+
dataSource: ['왼쪽', '오른쪽', '가운데'],
|
|
119
|
+
},
|
|
120
|
+
colSpan: 'Col Span',
|
|
121
|
+
width: '너비',
|
|
122
|
+
fixed: {
|
|
123
|
+
title: '고정',
|
|
124
|
+
dataSource: ['왼쪽', '오른족', '없음'],
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const Card: {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
title: string;
|
|
4
|
+
settings: {
|
|
5
|
+
'x-component-props': {
|
|
6
|
+
type: string;
|
|
7
|
+
title: string;
|
|
8
|
+
extra: string;
|
|
9
|
+
cardTypes: {
|
|
10
|
+
label: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
'en-US': {
|
|
17
|
+
title: string;
|
|
18
|
+
settings: {
|
|
19
|
+
'x-component-props': {
|
|
20
|
+
type: string;
|
|
21
|
+
title: string;
|
|
22
|
+
extra: string;
|
|
23
|
+
cardTypes: {
|
|
24
|
+
label: string;
|
|
25
|
+
value: string;
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
'ko-KR': {
|
|
31
|
+
title: string;
|
|
32
|
+
settings: {
|
|
33
|
+
'x-component-props': {
|
|
34
|
+
type: string;
|
|
35
|
+
title: string;
|
|
36
|
+
extra: string;
|
|
37
|
+
cardTypes: {
|
|
38
|
+
label: string;
|
|
39
|
+
value: string;
|
|
40
|
+
}[];
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export const Card = {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
title: '卡片',
|
|
4
|
+
settings: {
|
|
5
|
+
'x-component-props': {
|
|
6
|
+
type: '类型',
|
|
7
|
+
title: '标题',
|
|
8
|
+
extra: '右侧扩展',
|
|
9
|
+
cardTypes: [
|
|
10
|
+
{ label: '内置', value: 'inner' },
|
|
11
|
+
{ label: '默认', value: '' },
|
|
12
|
+
],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
'en-US': {
|
|
17
|
+
title: 'Card',
|
|
18
|
+
settings: {
|
|
19
|
+
'x-component-props': {
|
|
20
|
+
type: 'Type',
|
|
21
|
+
title: 'Title',
|
|
22
|
+
extra: 'Extra',
|
|
23
|
+
cardTypes: [
|
|
24
|
+
{ label: 'Inner', value: 'inner' },
|
|
25
|
+
{ label: 'Default', value: '' },
|
|
26
|
+
],
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
'ko-KR': {
|
|
31
|
+
title: '카드',
|
|
32
|
+
settings: {
|
|
33
|
+
'x-component-props': {
|
|
34
|
+
type: '타입',
|
|
35
|
+
title: '제목',
|
|
36
|
+
extra: '추가 항목',
|
|
37
|
+
cardTypes: [
|
|
38
|
+
{ label: '안쪽', value: 'inner' },
|
|
39
|
+
{ label: '기본', value: '' },
|
|
40
|
+
],
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export declare const Cascader: {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
title: string;
|
|
4
|
+
settings: {
|
|
5
|
+
'x-component-props': {
|
|
6
|
+
changeOnSelect: {
|
|
7
|
+
title: string;
|
|
8
|
+
tooltip: string;
|
|
9
|
+
};
|
|
10
|
+
displayRender: {
|
|
11
|
+
title: string;
|
|
12
|
+
tooltip: string;
|
|
13
|
+
};
|
|
14
|
+
fieldNames: {
|
|
15
|
+
title: string;
|
|
16
|
+
tooltip: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
'en-US': {
|
|
22
|
+
title: string;
|
|
23
|
+
settings: {
|
|
24
|
+
'x-component-props': {
|
|
25
|
+
changeOnSelect: {
|
|
26
|
+
title: string;
|
|
27
|
+
tooltip: string;
|
|
28
|
+
};
|
|
29
|
+
displayRender: {
|
|
30
|
+
title: string;
|
|
31
|
+
tooltip: string;
|
|
32
|
+
};
|
|
33
|
+
fieldNames: {
|
|
34
|
+
title: string;
|
|
35
|
+
tooltip: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
'ko-KR': {
|
|
41
|
+
title: string;
|
|
42
|
+
settings: {
|
|
43
|
+
'x-component-props': {
|
|
44
|
+
changeOnSelect: {
|
|
45
|
+
title: string;
|
|
46
|
+
tooltip: string;
|
|
47
|
+
};
|
|
48
|
+
displayRender: {
|
|
49
|
+
title: string;
|
|
50
|
+
tooltip: string;
|
|
51
|
+
};
|
|
52
|
+
fieldNames: {
|
|
53
|
+
title: string;
|
|
54
|
+
tooltip: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export const Cascader = {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
title: '联级选择',
|
|
4
|
+
settings: {
|
|
5
|
+
'x-component-props': {
|
|
6
|
+
changeOnSelect: {
|
|
7
|
+
title: '选择时触发',
|
|
8
|
+
tooltip: '点选每级菜单选项值都会发生变化',
|
|
9
|
+
},
|
|
10
|
+
displayRender: {
|
|
11
|
+
title: '渲染函数',
|
|
12
|
+
tooltip: '选择后展示的渲染函数,默认为label => label.join("/") ',
|
|
13
|
+
},
|
|
14
|
+
fieldNames: {
|
|
15
|
+
title: '自定义字段名',
|
|
16
|
+
tooltip: '默认值:{ label: "label", value: "value", children: "children" }',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
'en-US': {
|
|
22
|
+
title: 'Cascader',
|
|
23
|
+
settings: {
|
|
24
|
+
'x-component-props': {
|
|
25
|
+
changeOnSelect: {
|
|
26
|
+
title: 'Change On Select',
|
|
27
|
+
tooltip: 'Click on each level of menu option value will change',
|
|
28
|
+
},
|
|
29
|
+
displayRender: {
|
|
30
|
+
title: 'Display Render',
|
|
31
|
+
tooltip: 'The rendering function displayed after selection, the default is label => label.join("/") ',
|
|
32
|
+
},
|
|
33
|
+
fieldNames: {
|
|
34
|
+
title: 'Field Names',
|
|
35
|
+
tooltip: 'Defaults:{ label: "label", value: "value", children: "children" }',
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
'ko-KR': {
|
|
41
|
+
title: 'Cascader',
|
|
42
|
+
settings: {
|
|
43
|
+
'x-component-props': {
|
|
44
|
+
changeOnSelect: {
|
|
45
|
+
title: '선택 시 변경',
|
|
46
|
+
tooltip: '메뉴 옵션 값의 레벨을 클릭하면 변경됩니다.',
|
|
47
|
+
},
|
|
48
|
+
displayRender: {
|
|
49
|
+
title: '디스플레이 렌더링',
|
|
50
|
+
tooltip: '선택 후 실행되는 렌더링 함수로 기본 값은 label => label.join("/") ',
|
|
51
|
+
},
|
|
52
|
+
fieldNames: {
|
|
53
|
+
title: '필드 이름',
|
|
54
|
+
tooltip: '기본 값:{ label: "label", value: "value", children: "children" }',
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const Component: {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
settings: {
|
|
4
|
+
style: {
|
|
5
|
+
width: string;
|
|
6
|
+
height: string;
|
|
7
|
+
display: string;
|
|
8
|
+
background: string;
|
|
9
|
+
boxShadow: string;
|
|
10
|
+
font: string;
|
|
11
|
+
margin: string;
|
|
12
|
+
padding: string;
|
|
13
|
+
borderRadius: string;
|
|
14
|
+
border: string;
|
|
15
|
+
opacity: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
'en-US': {
|
|
20
|
+
settings: {
|
|
21
|
+
style: {
|
|
22
|
+
width: string;
|
|
23
|
+
height: string;
|
|
24
|
+
display: string;
|
|
25
|
+
background: string;
|
|
26
|
+
boxShadow: string;
|
|
27
|
+
font: string;
|
|
28
|
+
margin: string;
|
|
29
|
+
padding: string;
|
|
30
|
+
borderRadius: string;
|
|
31
|
+
border: string;
|
|
32
|
+
opacity: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
'ko-KR': {
|
|
37
|
+
settings: {
|
|
38
|
+
style: {
|
|
39
|
+
width: string;
|
|
40
|
+
height: string;
|
|
41
|
+
display: string;
|
|
42
|
+
background: string;
|
|
43
|
+
boxShadow: string;
|
|
44
|
+
font: string;
|
|
45
|
+
margin: string;
|
|
46
|
+
padding: string;
|
|
47
|
+
borderRadius: string;
|
|
48
|
+
border: string;
|
|
49
|
+
opacity: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export const Component = {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
settings: {
|
|
4
|
+
style: {
|
|
5
|
+
width: '宽度',
|
|
6
|
+
height: '高度',
|
|
7
|
+
display: '展示',
|
|
8
|
+
background: '背景',
|
|
9
|
+
boxShadow: '阴影',
|
|
10
|
+
font: '字体',
|
|
11
|
+
margin: '外边距',
|
|
12
|
+
padding: '内边距',
|
|
13
|
+
borderRadius: '圆角',
|
|
14
|
+
border: '边框',
|
|
15
|
+
opacity: '透明度',
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
'en-US': {
|
|
20
|
+
settings: {
|
|
21
|
+
style: {
|
|
22
|
+
width: 'Width',
|
|
23
|
+
height: 'Height',
|
|
24
|
+
display: 'Display',
|
|
25
|
+
background: 'Background',
|
|
26
|
+
boxShadow: 'Box Shadow',
|
|
27
|
+
font: 'Font',
|
|
28
|
+
margin: 'Margin',
|
|
29
|
+
padding: 'Padding',
|
|
30
|
+
borderRadius: 'Radius',
|
|
31
|
+
border: 'Border',
|
|
32
|
+
opacity: 'Opacity',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
'ko-KR': {
|
|
37
|
+
settings: {
|
|
38
|
+
style: {
|
|
39
|
+
width: '너비',
|
|
40
|
+
height: '높이',
|
|
41
|
+
display: '디스플레이',
|
|
42
|
+
background: '배경',
|
|
43
|
+
boxShadow: '쉐도우 박스',
|
|
44
|
+
font: '폰트',
|
|
45
|
+
margin: '마진',
|
|
46
|
+
padding: '패딩',
|
|
47
|
+
borderRadius: '테두리 굴곡',
|
|
48
|
+
border: '테두리',
|
|
49
|
+
opacity: '투명도',
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export declare const DatePicker: {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
title: string;
|
|
4
|
+
settings: {
|
|
5
|
+
'x-component-props': {
|
|
6
|
+
disabledDate: {
|
|
7
|
+
title: string;
|
|
8
|
+
tooltip: string;
|
|
9
|
+
};
|
|
10
|
+
disabledTime: {
|
|
11
|
+
title: string;
|
|
12
|
+
tooltip: string;
|
|
13
|
+
};
|
|
14
|
+
inputReadOnly: string;
|
|
15
|
+
format: string;
|
|
16
|
+
picker: {
|
|
17
|
+
title: string;
|
|
18
|
+
dataSource: string[];
|
|
19
|
+
};
|
|
20
|
+
showNow: string;
|
|
21
|
+
showTime: string;
|
|
22
|
+
showToday: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
'en-US': {
|
|
27
|
+
title: string;
|
|
28
|
+
settings: {
|
|
29
|
+
'x-component-props': {
|
|
30
|
+
disabledDate: {
|
|
31
|
+
title: string;
|
|
32
|
+
tooltip: string;
|
|
33
|
+
};
|
|
34
|
+
disabledTime: {
|
|
35
|
+
title: string;
|
|
36
|
+
tooltip: string;
|
|
37
|
+
};
|
|
38
|
+
inputReadOnly: string;
|
|
39
|
+
format: string;
|
|
40
|
+
picker: {
|
|
41
|
+
title: string;
|
|
42
|
+
dataSource: string[];
|
|
43
|
+
};
|
|
44
|
+
showNow: string;
|
|
45
|
+
showTime: string;
|
|
46
|
+
showToday: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
'ko-KR': {
|
|
51
|
+
title: string;
|
|
52
|
+
settings: {
|
|
53
|
+
'x-component-props': {
|
|
54
|
+
disabledDate: {
|
|
55
|
+
title: string;
|
|
56
|
+
tooltip: string;
|
|
57
|
+
};
|
|
58
|
+
disabledTime: {
|
|
59
|
+
title: string;
|
|
60
|
+
tooltip: string;
|
|
61
|
+
};
|
|
62
|
+
inputReadOnly: string;
|
|
63
|
+
format: string;
|
|
64
|
+
picker: {
|
|
65
|
+
title: string;
|
|
66
|
+
dataSource: string[];
|
|
67
|
+
};
|
|
68
|
+
showNow: string;
|
|
69
|
+
showTime: string;
|
|
70
|
+
showToday: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
export declare const DateRangePicker: {};
|