@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,649 @@
|
|
|
1
|
+
import { ISchema } from '@formily/json-schema';
|
|
2
|
+
export declare const createComponentSchema: (component: ISchema, decorator: ISchema) => {
|
|
3
|
+
'component-group': {
|
|
4
|
+
type: string;
|
|
5
|
+
'x-component': string;
|
|
6
|
+
'x-reactions': {
|
|
7
|
+
fulfill: {
|
|
8
|
+
state: {
|
|
9
|
+
visible: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
properties: {
|
|
14
|
+
'x-component-props': import("@formily/json-schema").Stringify<{
|
|
15
|
+
[key: symbol]: any;
|
|
16
|
+
[key: `x-${string}`]: any;
|
|
17
|
+
[key: `x-${number}`]: any;
|
|
18
|
+
version?: string;
|
|
19
|
+
name?: import("@formily/json-schema").SchemaKey;
|
|
20
|
+
title?: any;
|
|
21
|
+
description?: any;
|
|
22
|
+
default?: any;
|
|
23
|
+
readOnly?: boolean;
|
|
24
|
+
writeOnly?: boolean;
|
|
25
|
+
type?: import("@formily/json-schema").SchemaTypes;
|
|
26
|
+
enum?: import("@formily/json-schema").SchemaEnum<any>;
|
|
27
|
+
const?: any;
|
|
28
|
+
multipleOf?: number;
|
|
29
|
+
maximum?: number;
|
|
30
|
+
exclusiveMaximum?: number;
|
|
31
|
+
minimum?: number;
|
|
32
|
+
exclusiveMinimum?: number;
|
|
33
|
+
maxLength?: number;
|
|
34
|
+
minLength?: number;
|
|
35
|
+
pattern?: string | RegExp;
|
|
36
|
+
maxItems?: number;
|
|
37
|
+
minItems?: number;
|
|
38
|
+
uniqueItems?: boolean;
|
|
39
|
+
maxProperties?: number;
|
|
40
|
+
minProperties?: number;
|
|
41
|
+
required?: string[] | boolean | string;
|
|
42
|
+
format?: string;
|
|
43
|
+
$ref?: string;
|
|
44
|
+
$namespace?: string;
|
|
45
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
46
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
47
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
48
|
+
additionalItems?: import("@formily/json-schema").Stringify</*elided*/ any>;
|
|
49
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
50
|
+
additionalProperties?: import("@formily/json-schema").Stringify</*elided*/ any>;
|
|
51
|
+
"x-value"?: any;
|
|
52
|
+
"x-index"?: number;
|
|
53
|
+
"x-pattern"?: any;
|
|
54
|
+
"x-display"?: any;
|
|
55
|
+
"x-validator"?: any;
|
|
56
|
+
"x-decorator"?: any;
|
|
57
|
+
"x-decorator-props"?: any;
|
|
58
|
+
"x-component"?: any;
|
|
59
|
+
"x-component-props"?: any;
|
|
60
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any>;
|
|
61
|
+
"x-content"?: any;
|
|
62
|
+
"x-data"?: any;
|
|
63
|
+
"x-visible"?: boolean;
|
|
64
|
+
"x-hidden"?: boolean;
|
|
65
|
+
"x-disabled"?: boolean;
|
|
66
|
+
"x-editable"?: boolean;
|
|
67
|
+
"x-read-only"?: boolean;
|
|
68
|
+
"x-read-pretty"?: boolean;
|
|
69
|
+
"x-compile-omitted"?: string[];
|
|
70
|
+
}>;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
'decorator-group': {
|
|
74
|
+
type: string;
|
|
75
|
+
'x-component': string;
|
|
76
|
+
'x-component-props': {
|
|
77
|
+
defaultExpand: boolean;
|
|
78
|
+
};
|
|
79
|
+
'x-reactions': {
|
|
80
|
+
fulfill: {
|
|
81
|
+
state: {
|
|
82
|
+
visible: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
properties: {
|
|
87
|
+
'x-decorator-props': import("@formily/json-schema").Stringify<{
|
|
88
|
+
[key: symbol]: any;
|
|
89
|
+
[key: `x-${string}`]: any;
|
|
90
|
+
[key: `x-${number}`]: any;
|
|
91
|
+
version?: string;
|
|
92
|
+
name?: import("@formily/json-schema").SchemaKey;
|
|
93
|
+
title?: any;
|
|
94
|
+
description?: any;
|
|
95
|
+
default?: any;
|
|
96
|
+
readOnly?: boolean;
|
|
97
|
+
writeOnly?: boolean;
|
|
98
|
+
type?: import("@formily/json-schema").SchemaTypes;
|
|
99
|
+
enum?: import("@formily/json-schema").SchemaEnum<any>;
|
|
100
|
+
const?: any;
|
|
101
|
+
multipleOf?: number;
|
|
102
|
+
maximum?: number;
|
|
103
|
+
exclusiveMaximum?: number;
|
|
104
|
+
minimum?: number;
|
|
105
|
+
exclusiveMinimum?: number;
|
|
106
|
+
maxLength?: number;
|
|
107
|
+
minLength?: number;
|
|
108
|
+
pattern?: string | RegExp;
|
|
109
|
+
maxItems?: number;
|
|
110
|
+
minItems?: number;
|
|
111
|
+
uniqueItems?: boolean;
|
|
112
|
+
maxProperties?: number;
|
|
113
|
+
minProperties?: number;
|
|
114
|
+
required?: string[] | boolean | string;
|
|
115
|
+
format?: string;
|
|
116
|
+
$ref?: string;
|
|
117
|
+
$namespace?: string;
|
|
118
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
119
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
120
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
121
|
+
additionalItems?: import("@formily/json-schema").Stringify</*elided*/ any>;
|
|
122
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
123
|
+
additionalProperties?: import("@formily/json-schema").Stringify</*elided*/ any>;
|
|
124
|
+
"x-value"?: any;
|
|
125
|
+
"x-index"?: number;
|
|
126
|
+
"x-pattern"?: any;
|
|
127
|
+
"x-display"?: any;
|
|
128
|
+
"x-validator"?: any;
|
|
129
|
+
"x-decorator"?: any;
|
|
130
|
+
"x-decorator-props"?: any;
|
|
131
|
+
"x-component"?: any;
|
|
132
|
+
"x-component-props"?: any;
|
|
133
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any>;
|
|
134
|
+
"x-content"?: any;
|
|
135
|
+
"x-data"?: any;
|
|
136
|
+
"x-visible"?: boolean;
|
|
137
|
+
"x-hidden"?: boolean;
|
|
138
|
+
"x-disabled"?: boolean;
|
|
139
|
+
"x-editable"?: boolean;
|
|
140
|
+
"x-read-only"?: boolean;
|
|
141
|
+
"x-read-pretty"?: boolean;
|
|
142
|
+
"x-compile-omitted"?: string[];
|
|
143
|
+
}>;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
'component-style-group': {
|
|
147
|
+
type: string;
|
|
148
|
+
'x-component': string;
|
|
149
|
+
'x-component-props': {
|
|
150
|
+
defaultExpand: boolean;
|
|
151
|
+
};
|
|
152
|
+
'x-reactions': {
|
|
153
|
+
fulfill: {
|
|
154
|
+
state: {
|
|
155
|
+
visible: string;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
properties: {
|
|
160
|
+
'x-component-props.style': import("@formily/json-schema").Stringify<{
|
|
161
|
+
[key: symbol]: any;
|
|
162
|
+
[key: `x-${string}`]: any;
|
|
163
|
+
[key: `x-${number}`]: any;
|
|
164
|
+
version?: string;
|
|
165
|
+
name?: import("@formily/json-schema").SchemaKey;
|
|
166
|
+
title?: any;
|
|
167
|
+
description?: any;
|
|
168
|
+
default?: any;
|
|
169
|
+
readOnly?: boolean;
|
|
170
|
+
writeOnly?: boolean;
|
|
171
|
+
type?: import("@formily/json-schema").SchemaTypes;
|
|
172
|
+
enum?: import("@formily/json-schema").SchemaEnum<any>;
|
|
173
|
+
const?: any;
|
|
174
|
+
multipleOf?: number;
|
|
175
|
+
maximum?: number;
|
|
176
|
+
exclusiveMaximum?: number;
|
|
177
|
+
minimum?: number;
|
|
178
|
+
exclusiveMinimum?: number;
|
|
179
|
+
maxLength?: number;
|
|
180
|
+
minLength?: number;
|
|
181
|
+
pattern?: string | RegExp;
|
|
182
|
+
maxItems?: number;
|
|
183
|
+
minItems?: number;
|
|
184
|
+
uniqueItems?: boolean;
|
|
185
|
+
maxProperties?: number;
|
|
186
|
+
minProperties?: number;
|
|
187
|
+
required?: string[] | boolean | string;
|
|
188
|
+
format?: string;
|
|
189
|
+
$ref?: string;
|
|
190
|
+
$namespace?: string;
|
|
191
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
192
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
193
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
194
|
+
additionalItems?: import("@formily/json-schema").Stringify</*elided*/ any>;
|
|
195
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
196
|
+
additionalProperties?: import("@formily/json-schema").Stringify</*elided*/ any>;
|
|
197
|
+
"x-value"?: any;
|
|
198
|
+
"x-index"?: number;
|
|
199
|
+
"x-pattern"?: any;
|
|
200
|
+
"x-display"?: any;
|
|
201
|
+
"x-validator"?: any;
|
|
202
|
+
"x-decorator"?: any;
|
|
203
|
+
"x-decorator-props"?: any;
|
|
204
|
+
"x-component"?: any;
|
|
205
|
+
"x-component-props"?: any;
|
|
206
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any>;
|
|
207
|
+
"x-content"?: any;
|
|
208
|
+
"x-data"?: any;
|
|
209
|
+
"x-visible"?: boolean;
|
|
210
|
+
"x-hidden"?: boolean;
|
|
211
|
+
"x-disabled"?: boolean;
|
|
212
|
+
"x-editable"?: boolean;
|
|
213
|
+
"x-read-only"?: boolean;
|
|
214
|
+
"x-read-pretty"?: boolean;
|
|
215
|
+
"x-compile-omitted"?: string[];
|
|
216
|
+
}>;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
'decorator-style-group': {
|
|
220
|
+
type: string;
|
|
221
|
+
'x-component': string;
|
|
222
|
+
'x-component-props': {
|
|
223
|
+
defaultExpand: boolean;
|
|
224
|
+
};
|
|
225
|
+
'x-reactions': {
|
|
226
|
+
fulfill: {
|
|
227
|
+
state: {
|
|
228
|
+
visible: string;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
properties: {
|
|
233
|
+
'x-decorator-props.style': import("@formily/json-schema").Stringify<{
|
|
234
|
+
[key: symbol]: any;
|
|
235
|
+
[key: `x-${string}`]: any;
|
|
236
|
+
[key: `x-${number}`]: any;
|
|
237
|
+
version?: string;
|
|
238
|
+
name?: import("@formily/json-schema").SchemaKey;
|
|
239
|
+
title?: any;
|
|
240
|
+
description?: any;
|
|
241
|
+
default?: any;
|
|
242
|
+
readOnly?: boolean;
|
|
243
|
+
writeOnly?: boolean;
|
|
244
|
+
type?: import("@formily/json-schema").SchemaTypes;
|
|
245
|
+
enum?: import("@formily/json-schema").SchemaEnum<any>;
|
|
246
|
+
const?: any;
|
|
247
|
+
multipleOf?: number;
|
|
248
|
+
maximum?: number;
|
|
249
|
+
exclusiveMaximum?: number;
|
|
250
|
+
minimum?: number;
|
|
251
|
+
exclusiveMinimum?: number;
|
|
252
|
+
maxLength?: number;
|
|
253
|
+
minLength?: number;
|
|
254
|
+
pattern?: string | RegExp;
|
|
255
|
+
maxItems?: number;
|
|
256
|
+
minItems?: number;
|
|
257
|
+
uniqueItems?: boolean;
|
|
258
|
+
maxProperties?: number;
|
|
259
|
+
minProperties?: number;
|
|
260
|
+
required?: string[] | boolean | string;
|
|
261
|
+
format?: string;
|
|
262
|
+
$ref?: string;
|
|
263
|
+
$namespace?: string;
|
|
264
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
265
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
266
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
267
|
+
additionalItems?: import("@formily/json-schema").Stringify</*elided*/ any>;
|
|
268
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
269
|
+
additionalProperties?: import("@formily/json-schema").Stringify</*elided*/ any>;
|
|
270
|
+
"x-value"?: any;
|
|
271
|
+
"x-index"?: number;
|
|
272
|
+
"x-pattern"?: any;
|
|
273
|
+
"x-display"?: any;
|
|
274
|
+
"x-validator"?: any;
|
|
275
|
+
"x-decorator"?: any;
|
|
276
|
+
"x-decorator-props"?: any;
|
|
277
|
+
"x-component"?: any;
|
|
278
|
+
"x-component-props"?: any;
|
|
279
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any>;
|
|
280
|
+
"x-content"?: any;
|
|
281
|
+
"x-data"?: any;
|
|
282
|
+
"x-visible"?: boolean;
|
|
283
|
+
"x-hidden"?: boolean;
|
|
284
|
+
"x-disabled"?: boolean;
|
|
285
|
+
"x-editable"?: boolean;
|
|
286
|
+
"x-read-only"?: boolean;
|
|
287
|
+
"x-read-pretty"?: boolean;
|
|
288
|
+
"x-compile-omitted"?: string[];
|
|
289
|
+
}>;
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
export declare const createFieldSchema: (component?: ISchema, decorator?: ISchema) => ISchema;
|
|
294
|
+
export declare const createVoidFieldSchema: (component?: ISchema, decorator?: ISchema) => {
|
|
295
|
+
type: string;
|
|
296
|
+
properties: {
|
|
297
|
+
'component-group': {
|
|
298
|
+
type: string;
|
|
299
|
+
'x-component': string;
|
|
300
|
+
'x-reactions': {
|
|
301
|
+
fulfill: {
|
|
302
|
+
state: {
|
|
303
|
+
visible: string;
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
properties: {
|
|
308
|
+
'x-component-props': import("@formily/json-schema").Stringify<{
|
|
309
|
+
[key: symbol]: any;
|
|
310
|
+
[key: `x-${string}`]: any;
|
|
311
|
+
[key: `x-${number}`]: any;
|
|
312
|
+
version?: string;
|
|
313
|
+
name?: import("@formily/json-schema").SchemaKey;
|
|
314
|
+
title?: any;
|
|
315
|
+
description?: any;
|
|
316
|
+
default?: any;
|
|
317
|
+
readOnly?: boolean;
|
|
318
|
+
writeOnly?: boolean;
|
|
319
|
+
type?: import("@formily/json-schema").SchemaTypes;
|
|
320
|
+
enum?: import("@formily/json-schema").SchemaEnum<any>;
|
|
321
|
+
const?: any;
|
|
322
|
+
multipleOf?: number;
|
|
323
|
+
maximum?: number;
|
|
324
|
+
exclusiveMaximum?: number;
|
|
325
|
+
minimum?: number;
|
|
326
|
+
exclusiveMinimum?: number;
|
|
327
|
+
maxLength?: number;
|
|
328
|
+
minLength?: number;
|
|
329
|
+
pattern?: string | RegExp;
|
|
330
|
+
maxItems?: number;
|
|
331
|
+
minItems?: number;
|
|
332
|
+
uniqueItems?: boolean;
|
|
333
|
+
maxProperties?: number;
|
|
334
|
+
minProperties?: number;
|
|
335
|
+
required?: string[] | boolean | string;
|
|
336
|
+
format?: string;
|
|
337
|
+
$ref?: string;
|
|
338
|
+
$namespace?: string;
|
|
339
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
340
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
341
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
342
|
+
additionalItems?: import("@formily/json-schema").Stringify</*elided*/ any>;
|
|
343
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
344
|
+
additionalProperties?: import("@formily/json-schema").Stringify</*elided*/ any>;
|
|
345
|
+
"x-value"?: any;
|
|
346
|
+
"x-index"?: number;
|
|
347
|
+
"x-pattern"?: any;
|
|
348
|
+
"x-display"?: any;
|
|
349
|
+
"x-validator"?: any;
|
|
350
|
+
"x-decorator"?: any;
|
|
351
|
+
"x-decorator-props"?: any;
|
|
352
|
+
"x-component"?: any;
|
|
353
|
+
"x-component-props"?: any;
|
|
354
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any>;
|
|
355
|
+
"x-content"?: any;
|
|
356
|
+
"x-data"?: any;
|
|
357
|
+
"x-visible"?: boolean;
|
|
358
|
+
"x-hidden"?: boolean;
|
|
359
|
+
"x-disabled"?: boolean;
|
|
360
|
+
"x-editable"?: boolean;
|
|
361
|
+
"x-read-only"?: boolean;
|
|
362
|
+
"x-read-pretty"?: boolean;
|
|
363
|
+
"x-compile-omitted"?: string[];
|
|
364
|
+
}>;
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
'decorator-group': {
|
|
368
|
+
type: string;
|
|
369
|
+
'x-component': string;
|
|
370
|
+
'x-component-props': {
|
|
371
|
+
defaultExpand: boolean;
|
|
372
|
+
};
|
|
373
|
+
'x-reactions': {
|
|
374
|
+
fulfill: {
|
|
375
|
+
state: {
|
|
376
|
+
visible: string;
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
properties: {
|
|
381
|
+
'x-decorator-props': import("@formily/json-schema").Stringify<{
|
|
382
|
+
[key: symbol]: any;
|
|
383
|
+
[key: `x-${string}`]: any;
|
|
384
|
+
[key: `x-${number}`]: any;
|
|
385
|
+
version?: string;
|
|
386
|
+
name?: import("@formily/json-schema").SchemaKey;
|
|
387
|
+
title?: any;
|
|
388
|
+
description?: any;
|
|
389
|
+
default?: any;
|
|
390
|
+
readOnly?: boolean;
|
|
391
|
+
writeOnly?: boolean;
|
|
392
|
+
type?: import("@formily/json-schema").SchemaTypes;
|
|
393
|
+
enum?: import("@formily/json-schema").SchemaEnum<any>;
|
|
394
|
+
const?: any;
|
|
395
|
+
multipleOf?: number;
|
|
396
|
+
maximum?: number;
|
|
397
|
+
exclusiveMaximum?: number;
|
|
398
|
+
minimum?: number;
|
|
399
|
+
exclusiveMinimum?: number;
|
|
400
|
+
maxLength?: number;
|
|
401
|
+
minLength?: number;
|
|
402
|
+
pattern?: string | RegExp;
|
|
403
|
+
maxItems?: number;
|
|
404
|
+
minItems?: number;
|
|
405
|
+
uniqueItems?: boolean;
|
|
406
|
+
maxProperties?: number;
|
|
407
|
+
minProperties?: number;
|
|
408
|
+
required?: string[] | boolean | string;
|
|
409
|
+
format?: string;
|
|
410
|
+
$ref?: string;
|
|
411
|
+
$namespace?: string;
|
|
412
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
413
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
414
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
415
|
+
additionalItems?: import("@formily/json-schema").Stringify</*elided*/ any>;
|
|
416
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
417
|
+
additionalProperties?: import("@formily/json-schema").Stringify</*elided*/ any>;
|
|
418
|
+
"x-value"?: any;
|
|
419
|
+
"x-index"?: number;
|
|
420
|
+
"x-pattern"?: any;
|
|
421
|
+
"x-display"?: any;
|
|
422
|
+
"x-validator"?: any;
|
|
423
|
+
"x-decorator"?: any;
|
|
424
|
+
"x-decorator-props"?: any;
|
|
425
|
+
"x-component"?: any;
|
|
426
|
+
"x-component-props"?: any;
|
|
427
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any>;
|
|
428
|
+
"x-content"?: any;
|
|
429
|
+
"x-data"?: any;
|
|
430
|
+
"x-visible"?: boolean;
|
|
431
|
+
"x-hidden"?: boolean;
|
|
432
|
+
"x-disabled"?: boolean;
|
|
433
|
+
"x-editable"?: boolean;
|
|
434
|
+
"x-read-only"?: boolean;
|
|
435
|
+
"x-read-pretty"?: boolean;
|
|
436
|
+
"x-compile-omitted"?: string[];
|
|
437
|
+
}>;
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
'component-style-group': {
|
|
441
|
+
type: string;
|
|
442
|
+
'x-component': string;
|
|
443
|
+
'x-component-props': {
|
|
444
|
+
defaultExpand: boolean;
|
|
445
|
+
};
|
|
446
|
+
'x-reactions': {
|
|
447
|
+
fulfill: {
|
|
448
|
+
state: {
|
|
449
|
+
visible: string;
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
properties: {
|
|
454
|
+
'x-component-props.style': import("@formily/json-schema").Stringify<{
|
|
455
|
+
[key: symbol]: any;
|
|
456
|
+
[key: `x-${string}`]: any;
|
|
457
|
+
[key: `x-${number}`]: any;
|
|
458
|
+
version?: string;
|
|
459
|
+
name?: import("@formily/json-schema").SchemaKey;
|
|
460
|
+
title?: any;
|
|
461
|
+
description?: any;
|
|
462
|
+
default?: any;
|
|
463
|
+
readOnly?: boolean;
|
|
464
|
+
writeOnly?: boolean;
|
|
465
|
+
type?: import("@formily/json-schema").SchemaTypes;
|
|
466
|
+
enum?: import("@formily/json-schema").SchemaEnum<any>;
|
|
467
|
+
const?: any;
|
|
468
|
+
multipleOf?: number;
|
|
469
|
+
maximum?: number;
|
|
470
|
+
exclusiveMaximum?: number;
|
|
471
|
+
minimum?: number;
|
|
472
|
+
exclusiveMinimum?: number;
|
|
473
|
+
maxLength?: number;
|
|
474
|
+
minLength?: number;
|
|
475
|
+
pattern?: string | RegExp;
|
|
476
|
+
maxItems?: number;
|
|
477
|
+
minItems?: number;
|
|
478
|
+
uniqueItems?: boolean;
|
|
479
|
+
maxProperties?: number;
|
|
480
|
+
minProperties?: number;
|
|
481
|
+
required?: string[] | boolean | string;
|
|
482
|
+
format?: string;
|
|
483
|
+
$ref?: string;
|
|
484
|
+
$namespace?: string;
|
|
485
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
486
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
487
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
488
|
+
additionalItems?: import("@formily/json-schema").Stringify</*elided*/ any>;
|
|
489
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
490
|
+
additionalProperties?: import("@formily/json-schema").Stringify</*elided*/ any>;
|
|
491
|
+
"x-value"?: any;
|
|
492
|
+
"x-index"?: number;
|
|
493
|
+
"x-pattern"?: any;
|
|
494
|
+
"x-display"?: any;
|
|
495
|
+
"x-validator"?: any;
|
|
496
|
+
"x-decorator"?: any;
|
|
497
|
+
"x-decorator-props"?: any;
|
|
498
|
+
"x-component"?: any;
|
|
499
|
+
"x-component-props"?: any;
|
|
500
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any>;
|
|
501
|
+
"x-content"?: any;
|
|
502
|
+
"x-data"?: any;
|
|
503
|
+
"x-visible"?: boolean;
|
|
504
|
+
"x-hidden"?: boolean;
|
|
505
|
+
"x-disabled"?: boolean;
|
|
506
|
+
"x-editable"?: boolean;
|
|
507
|
+
"x-read-only"?: boolean;
|
|
508
|
+
"x-read-pretty"?: boolean;
|
|
509
|
+
"x-compile-omitted"?: string[];
|
|
510
|
+
}>;
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
'decorator-style-group': {
|
|
514
|
+
type: string;
|
|
515
|
+
'x-component': string;
|
|
516
|
+
'x-component-props': {
|
|
517
|
+
defaultExpand: boolean;
|
|
518
|
+
};
|
|
519
|
+
'x-reactions': {
|
|
520
|
+
fulfill: {
|
|
521
|
+
state: {
|
|
522
|
+
visible: string;
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
properties: {
|
|
527
|
+
'x-decorator-props.style': import("@formily/json-schema").Stringify<{
|
|
528
|
+
[key: symbol]: any;
|
|
529
|
+
[key: `x-${string}`]: any;
|
|
530
|
+
[key: `x-${number}`]: any;
|
|
531
|
+
version?: string;
|
|
532
|
+
name?: import("@formily/json-schema").SchemaKey;
|
|
533
|
+
title?: any;
|
|
534
|
+
description?: any;
|
|
535
|
+
default?: any;
|
|
536
|
+
readOnly?: boolean;
|
|
537
|
+
writeOnly?: boolean;
|
|
538
|
+
type?: import("@formily/json-schema").SchemaTypes;
|
|
539
|
+
enum?: import("@formily/json-schema").SchemaEnum<any>;
|
|
540
|
+
const?: any;
|
|
541
|
+
multipleOf?: number;
|
|
542
|
+
maximum?: number;
|
|
543
|
+
exclusiveMaximum?: number;
|
|
544
|
+
minimum?: number;
|
|
545
|
+
exclusiveMinimum?: number;
|
|
546
|
+
maxLength?: number;
|
|
547
|
+
minLength?: number;
|
|
548
|
+
pattern?: string | RegExp;
|
|
549
|
+
maxItems?: number;
|
|
550
|
+
minItems?: number;
|
|
551
|
+
uniqueItems?: boolean;
|
|
552
|
+
maxProperties?: number;
|
|
553
|
+
minProperties?: number;
|
|
554
|
+
required?: string[] | boolean | string;
|
|
555
|
+
format?: string;
|
|
556
|
+
$ref?: string;
|
|
557
|
+
$namespace?: string;
|
|
558
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
559
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
560
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
561
|
+
additionalItems?: import("@formily/json-schema").Stringify</*elided*/ any>;
|
|
562
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
563
|
+
additionalProperties?: import("@formily/json-schema").Stringify</*elided*/ any>;
|
|
564
|
+
"x-value"?: any;
|
|
565
|
+
"x-index"?: number;
|
|
566
|
+
"x-pattern"?: any;
|
|
567
|
+
"x-display"?: any;
|
|
568
|
+
"x-validator"?: any;
|
|
569
|
+
"x-decorator"?: any;
|
|
570
|
+
"x-decorator-props"?: any;
|
|
571
|
+
"x-component"?: any;
|
|
572
|
+
"x-component-props"?: any;
|
|
573
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any>;
|
|
574
|
+
"x-content"?: any;
|
|
575
|
+
"x-data"?: any;
|
|
576
|
+
"x-visible"?: boolean;
|
|
577
|
+
"x-hidden"?: boolean;
|
|
578
|
+
"x-disabled"?: boolean;
|
|
579
|
+
"x-editable"?: boolean;
|
|
580
|
+
"x-read-only"?: boolean;
|
|
581
|
+
"x-read-pretty"?: boolean;
|
|
582
|
+
"x-compile-omitted"?: string[];
|
|
583
|
+
}>;
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
'field-group': {
|
|
587
|
+
type: string;
|
|
588
|
+
'x-component': string;
|
|
589
|
+
properties: {
|
|
590
|
+
name: {
|
|
591
|
+
type: string;
|
|
592
|
+
'x-decorator': string;
|
|
593
|
+
'x-component': string;
|
|
594
|
+
};
|
|
595
|
+
title: {
|
|
596
|
+
type: string;
|
|
597
|
+
'x-decorator': string;
|
|
598
|
+
'x-component': string;
|
|
599
|
+
'x-reactions': {
|
|
600
|
+
fulfill: {
|
|
601
|
+
state: {
|
|
602
|
+
hidden: string;
|
|
603
|
+
};
|
|
604
|
+
};
|
|
605
|
+
};
|
|
606
|
+
};
|
|
607
|
+
description: {
|
|
608
|
+
type: string;
|
|
609
|
+
'x-decorator': string;
|
|
610
|
+
'x-component': string;
|
|
611
|
+
'x-reactions': {
|
|
612
|
+
fulfill: {
|
|
613
|
+
state: {
|
|
614
|
+
hidden: string;
|
|
615
|
+
};
|
|
616
|
+
};
|
|
617
|
+
};
|
|
618
|
+
};
|
|
619
|
+
'x-display': {
|
|
620
|
+
type: string;
|
|
621
|
+
enum: string[];
|
|
622
|
+
'x-decorator': string;
|
|
623
|
+
'x-component': string;
|
|
624
|
+
'x-component-props': {
|
|
625
|
+
defaultValue: string;
|
|
626
|
+
};
|
|
627
|
+
};
|
|
628
|
+
'x-pattern': {
|
|
629
|
+
type: string;
|
|
630
|
+
enum: string[];
|
|
631
|
+
'x-decorator': string;
|
|
632
|
+
'x-component': string;
|
|
633
|
+
'x-component-props': {
|
|
634
|
+
defaultValue: string;
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
'x-reactions': {
|
|
638
|
+
'x-decorator': string;
|
|
639
|
+
'x-component': import("react").FC<import("@formily-design/formily-setters").IReactionsSetterProps>;
|
|
640
|
+
};
|
|
641
|
+
'x-decorator': {
|
|
642
|
+
type: string;
|
|
643
|
+
'x-decorator': string;
|
|
644
|
+
'x-component': import("react").FC<import("../../common/FormItemSwitcher").IFormItemSwitcherProps>;
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
};
|
|
648
|
+
};
|
|
649
|
+
};
|