@cuvp1225/antd 0.1.19-beta.46 → 0.1.19-beta.47
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/dist/designer.js +955 -68
- package/dist/index.js +955 -68
- package/lib/cjs/components/affix.d.ts +1 -1
- package/lib/cjs/components/affix.js +2 -2
- package/lib/cjs/components/alert.d.ts +1 -1
- package/lib/cjs/components/alert.js +4 -4
- package/lib/cjs/components/auto-complete.d.ts +1 -1
- package/lib/cjs/components/auto-complete.js +4 -4
- package/lib/cjs/components/avatar.d.ts +1 -1
- package/lib/cjs/components/avatar.js +4 -4
- package/lib/cjs/components/badge.d.ts +1 -1
- package/lib/cjs/components/badge.js +4 -4
- package/lib/cjs/components/box.d.ts +1 -1
- package/lib/cjs/components/box.js +2 -2
- package/lib/cjs/components/button.d.ts +2 -2
- package/lib/cjs/components/button.js +3 -3
- package/lib/cjs/components/calendar.d.ts +1 -1
- package/lib/cjs/components/calendar.js +4 -4
- package/lib/cjs/components/card.d.ts +1 -1
- package/lib/cjs/components/card.js +4 -4
- package/lib/cjs/components/cascader.d.ts +2 -2
- package/lib/cjs/components/cascader.js +2 -2
- package/lib/cjs/components/checkbox.d.ts +1 -1
- package/lib/cjs/components/checkbox.js +4 -4
- package/lib/cjs/components/columns.d.ts +2 -2
- package/lib/cjs/components/columns.js +3 -3
- package/lib/cjs/components/comment.d.ts +1 -1
- package/lib/cjs/components/comment.js +5 -4
- package/lib/cjs/components/date-picker.d.ts +1 -1
- package/lib/cjs/components/date-picker.js +4 -4
- package/lib/cjs/components/divider.d.ts +1 -1
- package/lib/cjs/components/divider.js +4 -4
- package/lib/cjs/components/drawer.d.ts +1 -1
- package/lib/cjs/components/drawer.js +2 -2
- package/lib/cjs/components/each.d.ts +1 -1
- package/lib/cjs/components/each.js +2 -2
- package/lib/cjs/components/empty.d.ts +1 -1
- package/lib/cjs/components/empty.js +4 -4
- package/lib/cjs/components/form.d.ts +4 -4
- package/lib/cjs/components/form.js +5 -5
- package/lib/cjs/components/formily.d.ts +4 -4
- package/lib/cjs/components/formily.js +6 -6
- package/lib/cjs/components/icon.d.ts +1 -1
- package/lib/cjs/components/icon.js +2 -2
- package/lib/cjs/components/image.d.ts +1 -1
- package/lib/cjs/components/image.js +4 -4
- package/lib/cjs/components/input-number.d.ts +1 -1
- package/lib/cjs/components/input-number.js +2 -2
- package/lib/cjs/components/input.d.ts +2 -2
- package/lib/cjs/components/input.js +3 -3
- package/lib/cjs/components/list.d.ts +2 -2
- package/lib/cjs/components/list.js +3 -3
- package/lib/cjs/components/mentions.d.ts +1 -1
- package/lib/cjs/components/mentions.js +4 -4
- package/lib/cjs/components/menu.d.ts +2 -2
- package/lib/cjs/components/menu.js +3 -3
- package/lib/cjs/components/modal.d.ts +1 -1
- package/lib/cjs/components/modal.js +2 -2
- package/lib/cjs/components/page.d.ts +1 -1
- package/lib/cjs/components/page.js +2 -2
- package/lib/cjs/components/pageheader.d.ts +1 -1
- package/lib/cjs/components/pageheader.js +4 -4
- package/lib/cjs/components/pagination.d.ts +1 -1
- package/lib/cjs/components/pagination.js +4 -4
- package/lib/cjs/components/progress.d.ts +1 -1
- package/lib/cjs/components/progress.js +4 -4
- package/lib/cjs/components/radio.d.ts +1 -1
- package/lib/cjs/components/radio.js +4 -4
- package/lib/cjs/components/rate.d.ts +1 -1
- package/lib/cjs/components/rate.js +4 -4
- package/lib/cjs/components/result.d.ts +1 -1
- package/lib/cjs/components/result.js +4 -4
- package/lib/cjs/components/result1.js +2 -2
- package/lib/cjs/components/row-back.d.ts +1 -1
- package/lib/cjs/components/row-back.js +6 -6
- package/lib/cjs/components/row.d.ts +1 -1
- package/lib/cjs/components/row.js +2 -2
- package/lib/cjs/components/section.d.ts +1 -1
- package/lib/cjs/components/section.js +2 -2
- package/lib/cjs/components/select.d.ts +1 -1
- package/lib/cjs/components/select.js +2 -2
- package/lib/cjs/components/skeleton.d.ts +1 -1
- package/lib/cjs/components/skeleton.js +4 -4
- package/lib/cjs/components/slider.d.ts +1 -1
- package/lib/cjs/components/slider.js +4 -4
- package/lib/cjs/components/space.d.ts +1 -1
- package/lib/cjs/components/space.js +2 -2
- package/lib/cjs/components/spin.d.ts +1 -1
- package/lib/cjs/components/spin.js +4 -4
- package/lib/cjs/components/statistic.js +3 -3
- package/lib/cjs/components/switch.d.ts +1 -1
- package/lib/cjs/components/switch.js +4 -4
- package/lib/cjs/components/table.d.ts +1 -1
- package/lib/cjs/components/table.js +4 -4
- package/lib/cjs/components/tabs.d.ts +1 -1
- package/lib/cjs/components/tabs.js +4 -4
- package/lib/cjs/components/tag.d.ts +1 -1
- package/lib/cjs/components/tag.js +4 -4
- package/lib/cjs/components/tango-event-button.d.ts +1 -1
- package/lib/cjs/components/tango-event-button.js +2 -2
- package/lib/cjs/components/time-picker.d.ts +1 -1
- package/lib/cjs/components/time-picker.js +4 -4
- package/lib/cjs/components/timeline.d.ts +2 -2
- package/lib/cjs/components/timeline.js +3 -3
- package/lib/cjs/components/transfer.d.ts +1 -1
- package/lib/cjs/components/transfer.js +4 -4
- package/lib/cjs/components/tree-select.d.ts +1 -1
- package/lib/cjs/components/tree-select.js +4 -4
- package/lib/cjs/components/tree.d.ts +1 -1
- package/lib/cjs/components/tree.js +4 -4
- package/lib/cjs/components/typography.d.ts +3 -3
- package/lib/cjs/components/typography.js +5 -5
- package/lib/cjs/components/unSteps/unisteps.js +17 -17
- package/lib/cjs/components/uniButton/unibutton.js +16 -13
- package/lib/cjs/components/uniCascader/unicascader.js +12 -12
- package/lib/cjs/components/uniModal/unimodal.js +4 -4
- package/lib/cjs/components/uniRadio/uniradio.js +22 -22
- package/lib/cjs/components/uniSelect/uniselect.js +9 -9
- package/lib/cjs/components/uniSwitch/uniswitch.js +4 -4
- package/lib/cjs/components/uniTabs/unitabs.js +13 -13
- package/lib/cjs/components/uniUpload/uniupload.js +5 -5
- package/lib/cjs/helpers/prototype-helper.d.ts +3 -3
- package/lib/cjs/prototypes/affix.d.ts +1 -1
- package/lib/cjs/prototypes/alert.d.ts +1 -1
- package/lib/cjs/prototypes/anchor.d.ts +1 -1
- package/lib/cjs/prototypes/auto-complete.d.ts +1 -1
- package/lib/cjs/prototypes/avatar.d.ts +1 -1
- package/lib/cjs/prototypes/back-top.d.ts +1 -1
- package/lib/cjs/prototypes/badge.d.ts +1 -1
- package/lib/cjs/prototypes/box.d.ts +1 -1
- package/lib/cjs/prototypes/breadcrumb.d.ts +1 -1
- package/lib/cjs/prototypes/button.d.ts +1 -1
- package/lib/cjs/prototypes/calendar.d.ts +1 -1
- package/lib/cjs/prototypes/card.d.ts +1 -1
- package/lib/cjs/prototypes/carousel.d.ts +1 -1
- package/lib/cjs/prototypes/cascader.d.ts +1 -1
- package/lib/cjs/prototypes/checkbox.d.ts +1 -1
- package/lib/cjs/prototypes/collapse.d.ts +1 -1
- package/lib/cjs/prototypes/columns.d.ts +1 -1
- package/lib/cjs/prototypes/comment.d.ts +1 -1
- package/lib/cjs/prototypes/common.d.ts +1 -1
- package/lib/cjs/prototypes/date-picker.d.ts +3 -3
- package/lib/cjs/prototypes/descriptions.d.ts +2 -2
- package/lib/cjs/prototypes/divider.d.ts +1 -1
- package/lib/cjs/prototypes/drawer.d.ts +1 -1
- package/lib/cjs/prototypes/dropdown.d.ts +1 -1
- package/lib/cjs/prototypes/each.d.ts +1 -1
- package/lib/cjs/prototypes/empty.d.ts +1 -1
- package/lib/cjs/prototypes/form.d.ts +1 -1
- package/lib/cjs/prototypes/formily.d.ts +1 -1
- package/lib/cjs/prototypes/grid.d.ts +1 -1
- package/lib/cjs/prototypes/icon.d.ts +1 -1
- package/lib/cjs/prototypes/iframe.d.ts +1 -1
- package/lib/cjs/prototypes/image.d.ts +1 -1
- package/lib/cjs/prototypes/input-number.d.ts +1 -1
- package/lib/cjs/prototypes/input.d.ts +1 -1
- package/lib/cjs/prototypes/interval.d.ts +1 -1
- package/lib/cjs/prototypes/link.d.ts +1 -1
- package/lib/cjs/prototypes/list.d.ts +1 -1
- package/lib/cjs/prototypes/mentions.d.ts +1 -1
- package/lib/cjs/prototypes/menu.d.ts +1 -1
- package/lib/cjs/prototypes/modal.d.ts +1 -1
- package/lib/cjs/prototypes/page-header.d.ts +1 -1
- package/lib/cjs/prototypes/page.d.ts +1 -1
- package/lib/cjs/prototypes/pagination.d.ts +1 -1
- package/lib/cjs/prototypes/popconfirm.d.ts +1 -1
- package/lib/cjs/prototypes/popover.d.ts +1 -1
- package/lib/cjs/prototypes/progress.d.ts +1 -1
- package/lib/cjs/prototypes/radio.d.ts +1 -1
- package/lib/cjs/prototypes/rate.d.ts +1 -1
- package/lib/cjs/prototypes/result.d.ts +1 -1
- package/lib/cjs/prototypes/row.d.ts +1 -1
- package/lib/cjs/prototypes/section.d.ts +1 -1
- package/lib/cjs/prototypes/select.d.ts +1 -1
- package/lib/cjs/prototypes/skeleton.d.ts +1 -1
- package/lib/cjs/prototypes/slider.d.ts +1 -1
- package/lib/cjs/prototypes/space.d.ts +1 -1
- package/lib/cjs/prototypes/spin.d.ts +1 -1
- package/lib/cjs/prototypes/statistic.d.ts +1 -1
- package/lib/cjs/prototypes/steps.d.ts +1 -1
- package/lib/cjs/prototypes/switch.d.ts +1 -1
- package/lib/cjs/prototypes/table.d.ts +1 -1
- package/lib/cjs/prototypes/tabs.d.ts +1 -1
- package/lib/cjs/prototypes/tag.d.ts +1 -1
- package/lib/cjs/prototypes/text.d.ts +1 -1
- package/lib/cjs/prototypes/time-picker.d.ts +3 -3
- package/lib/cjs/prototypes/timeline.d.ts +1 -1
- package/lib/cjs/prototypes/timeline.js +3 -3
- package/lib/cjs/prototypes/toolbar.d.ts +1 -1
- package/lib/cjs/prototypes/tooltip.d.ts +1 -1
- package/lib/cjs/prototypes/transfer.d.ts +1 -1
- package/lib/cjs/prototypes/tree-select.d.ts +1 -1
- package/lib/cjs/prototypes/tree.d.ts +1 -1
- package/lib/cjs/prototypes/typography.d.ts +1 -1
- package/lib/cjs/prototypes/unitabs.d.ts +1 -1
- package/lib/cjs/prototypes/upload.d.ts +1 -1
- package/lib/cjs/prototypes/when.d.ts +1 -1
- package/lib/esm/components/affix.d.ts +1 -1
- package/lib/esm/components/affix.js +1 -1
- package/lib/esm/components/alert.d.ts +1 -1
- package/lib/esm/components/alert.js +2 -2
- package/lib/esm/components/auto-complete.d.ts +1 -1
- package/lib/esm/components/auto-complete.js +2 -2
- package/lib/esm/components/avatar.d.ts +1 -1
- package/lib/esm/components/avatar.js +2 -2
- package/lib/esm/components/badge.d.ts +1 -1
- package/lib/esm/components/badge.js +2 -2
- package/lib/esm/components/box.d.ts +1 -1
- package/lib/esm/components/box.js +1 -1
- package/lib/esm/components/button.d.ts +2 -2
- package/lib/esm/components/button.js +1 -1
- package/lib/esm/components/calendar.d.ts +1 -1
- package/lib/esm/components/calendar.js +2 -2
- package/lib/esm/components/card.d.ts +1 -1
- package/lib/esm/components/card.js +2 -2
- package/lib/esm/components/cascader.d.ts +2 -2
- package/lib/esm/components/cascader.js +1 -1
- package/lib/esm/components/checkbox.d.ts +1 -1
- package/lib/esm/components/checkbox.js +2 -2
- package/lib/esm/components/columns.d.ts +2 -2
- package/lib/esm/components/columns.js +1 -1
- package/lib/esm/components/comment.d.ts +1 -1
- package/lib/esm/components/comment.js +3 -2
- package/lib/esm/components/date-picker.d.ts +1 -1
- package/lib/esm/components/date-picker.js +2 -2
- package/lib/esm/components/divider.d.ts +1 -1
- package/lib/esm/components/divider.js +2 -2
- package/lib/esm/components/drawer.d.ts +1 -1
- package/lib/esm/components/drawer.js +1 -1
- package/lib/esm/components/each.d.ts +1 -1
- package/lib/esm/components/each.js +1 -1
- package/lib/esm/components/empty.d.ts +1 -1
- package/lib/esm/components/empty.js +2 -2
- package/lib/esm/components/form.d.ts +4 -4
- package/lib/esm/components/form.js +1 -1
- package/lib/esm/components/formily.d.ts +4 -4
- package/lib/esm/components/formily.js +1 -1
- package/lib/esm/components/icon.d.ts +1 -1
- package/lib/esm/components/icon.js +1 -1
- package/lib/esm/components/image.d.ts +1 -1
- package/lib/esm/components/image.js +2 -2
- package/lib/esm/components/input-number.d.ts +1 -1
- package/lib/esm/components/input-number.js +1 -1
- package/lib/esm/components/input.d.ts +2 -2
- package/lib/esm/components/input.js +1 -1
- package/lib/esm/components/list.d.ts +2 -2
- package/lib/esm/components/list.js +1 -1
- package/lib/esm/components/mentions.d.ts +1 -1
- package/lib/esm/components/mentions.js +2 -2
- package/lib/esm/components/menu.d.ts +2 -2
- package/lib/esm/components/menu.js +1 -1
- package/lib/esm/components/modal.d.ts +1 -1
- package/lib/esm/components/modal.js +1 -1
- package/lib/esm/components/page.d.ts +1 -1
- package/lib/esm/components/page.js +1 -1
- package/lib/esm/components/pageheader.d.ts +1 -1
- package/lib/esm/components/pageheader.js +2 -2
- package/lib/esm/components/pagination.d.ts +1 -1
- package/lib/esm/components/pagination.js +2 -2
- package/lib/esm/components/progress.d.ts +1 -1
- package/lib/esm/components/progress.js +2 -2
- package/lib/esm/components/radio.d.ts +1 -1
- package/lib/esm/components/radio.js +2 -2
- package/lib/esm/components/rate.d.ts +1 -1
- package/lib/esm/components/rate.js +2 -2
- package/lib/esm/components/result.d.ts +1 -1
- package/lib/esm/components/result.js +2 -2
- package/lib/esm/components/result1.js +1 -1
- package/lib/esm/components/row-back.d.ts +1 -1
- package/lib/esm/components/row-back.js +2 -2
- package/lib/esm/components/row.d.ts +1 -1
- package/lib/esm/components/row.js +1 -1
- package/lib/esm/components/section.d.ts +1 -1
- package/lib/esm/components/section.js +1 -1
- package/lib/esm/components/select.d.ts +1 -1
- package/lib/esm/components/select.js +1 -1
- package/lib/esm/components/skeleton.d.ts +1 -1
- package/lib/esm/components/skeleton.js +2 -2
- package/lib/esm/components/slider.d.ts +1 -1
- package/lib/esm/components/slider.js +2 -2
- package/lib/esm/components/space.d.ts +1 -1
- package/lib/esm/components/space.js +1 -1
- package/lib/esm/components/spin.d.ts +1 -1
- package/lib/esm/components/spin.js +2 -2
- package/lib/esm/components/statistic.js +2 -2
- package/lib/esm/components/switch.d.ts +1 -1
- package/lib/esm/components/switch.js +2 -2
- package/lib/esm/components/table.d.ts +1 -1
- package/lib/esm/components/table.js +2 -2
- package/lib/esm/components/tabs.d.ts +1 -1
- package/lib/esm/components/tabs.js +2 -2
- package/lib/esm/components/tag.d.ts +1 -1
- package/lib/esm/components/tag.js +2 -2
- package/lib/esm/components/tango-event-button.d.ts +1 -1
- package/lib/esm/components/tango-event-button.js +1 -1
- package/lib/esm/components/time-picker.d.ts +1 -1
- package/lib/esm/components/time-picker.js +2 -2
- package/lib/esm/components/timeline.d.ts +2 -2
- package/lib/esm/components/timeline.js +1 -1
- package/lib/esm/components/transfer.d.ts +1 -1
- package/lib/esm/components/transfer.js +2 -2
- package/lib/esm/components/tree-select.d.ts +1 -1
- package/lib/esm/components/tree-select.js +2 -2
- package/lib/esm/components/tree.d.ts +1 -1
- package/lib/esm/components/tree.js +2 -2
- package/lib/esm/components/typography.d.ts +3 -3
- package/lib/esm/components/typography.js +1 -1
- package/lib/esm/components/unSteps/unisteps.js +17 -17
- package/lib/esm/components/uniButton/unibutton.js +15 -12
- package/lib/esm/components/uniCascader/unicascader.js +12 -12
- package/lib/esm/components/uniModal/unimodal.js +4 -4
- package/lib/esm/components/uniRadio/uniradio.js +22 -22
- package/lib/esm/components/uniSelect/uniselect.js +9 -9
- package/lib/esm/components/uniSwitch/uniswitch.js +4 -4
- package/lib/esm/components/uniTabs/unitabs.js +13 -13
- package/lib/esm/components/uniUpload/uniupload.js +5 -5
- package/lib/esm/helpers/prototype-helper.d.ts +3 -3
- package/lib/esm/prototypes/affix.d.ts +1 -1
- package/lib/esm/prototypes/alert.d.ts +1 -1
- package/lib/esm/prototypes/anchor.d.ts +1 -1
- package/lib/esm/prototypes/auto-complete.d.ts +1 -1
- package/lib/esm/prototypes/avatar.d.ts +1 -1
- package/lib/esm/prototypes/back-top.d.ts +1 -1
- package/lib/esm/prototypes/badge.d.ts +1 -1
- package/lib/esm/prototypes/box.d.ts +1 -1
- package/lib/esm/prototypes/breadcrumb.d.ts +1 -1
- package/lib/esm/prototypes/button.d.ts +1 -1
- package/lib/esm/prototypes/calendar.d.ts +1 -1
- package/lib/esm/prototypes/card.d.ts +1 -1
- package/lib/esm/prototypes/carousel.d.ts +1 -1
- package/lib/esm/prototypes/cascader.d.ts +1 -1
- package/lib/esm/prototypes/checkbox.d.ts +1 -1
- package/lib/esm/prototypes/collapse.d.ts +1 -1
- package/lib/esm/prototypes/columns.d.ts +1 -1
- package/lib/esm/prototypes/comment.d.ts +1 -1
- package/lib/esm/prototypes/common.d.ts +1 -1
- package/lib/esm/prototypes/date-picker.d.ts +3 -3
- package/lib/esm/prototypes/descriptions.d.ts +2 -2
- package/lib/esm/prototypes/divider.d.ts +1 -1
- package/lib/esm/prototypes/drawer.d.ts +1 -1
- package/lib/esm/prototypes/dropdown.d.ts +1 -1
- package/lib/esm/prototypes/each.d.ts +1 -1
- package/lib/esm/prototypes/empty.d.ts +1 -1
- package/lib/esm/prototypes/form.d.ts +1 -1
- package/lib/esm/prototypes/formily.d.ts +1 -1
- package/lib/esm/prototypes/grid.d.ts +1 -1
- package/lib/esm/prototypes/icon.d.ts +1 -1
- package/lib/esm/prototypes/iframe.d.ts +1 -1
- package/lib/esm/prototypes/image.d.ts +1 -1
- package/lib/esm/prototypes/input-number.d.ts +1 -1
- package/lib/esm/prototypes/input.d.ts +1 -1
- package/lib/esm/prototypes/interval.d.ts +1 -1
- package/lib/esm/prototypes/link.d.ts +1 -1
- package/lib/esm/prototypes/list.d.ts +1 -1
- package/lib/esm/prototypes/mentions.d.ts +1 -1
- package/lib/esm/prototypes/menu.d.ts +1 -1
- package/lib/esm/prototypes/modal.d.ts +1 -1
- package/lib/esm/prototypes/page-header.d.ts +1 -1
- package/lib/esm/prototypes/page.d.ts +1 -1
- package/lib/esm/prototypes/pagination.d.ts +1 -1
- package/lib/esm/prototypes/popconfirm.d.ts +1 -1
- package/lib/esm/prototypes/popover.d.ts +1 -1
- package/lib/esm/prototypes/progress.d.ts +1 -1
- package/lib/esm/prototypes/radio.d.ts +1 -1
- package/lib/esm/prototypes/rate.d.ts +1 -1
- package/lib/esm/prototypes/result.d.ts +1 -1
- package/lib/esm/prototypes/row.d.ts +1 -1
- package/lib/esm/prototypes/section.d.ts +1 -1
- package/lib/esm/prototypes/select.d.ts +1 -1
- package/lib/esm/prototypes/skeleton.d.ts +1 -1
- package/lib/esm/prototypes/slider.d.ts +1 -1
- package/lib/esm/prototypes/space.d.ts +1 -1
- package/lib/esm/prototypes/spin.d.ts +1 -1
- package/lib/esm/prototypes/statistic.d.ts +1 -1
- package/lib/esm/prototypes/steps.d.ts +1 -1
- package/lib/esm/prototypes/switch.d.ts +1 -1
- package/lib/esm/prototypes/table.d.ts +1 -1
- package/lib/esm/prototypes/tabs.d.ts +1 -1
- package/lib/esm/prototypes/tag.d.ts +1 -1
- package/lib/esm/prototypes/text.d.ts +1 -1
- package/lib/esm/prototypes/time-picker.d.ts +3 -3
- package/lib/esm/prototypes/timeline.d.ts +1 -1
- package/lib/esm/prototypes/timeline.js +3 -3
- package/lib/esm/prototypes/toolbar.d.ts +1 -1
- package/lib/esm/prototypes/tooltip.d.ts +1 -1
- package/lib/esm/prototypes/transfer.d.ts +1 -1
- package/lib/esm/prototypes/tree-select.d.ts +1 -1
- package/lib/esm/prototypes/tree.d.ts +1 -1
- package/lib/esm/prototypes/typography.d.ts +1 -1
- package/lib/esm/prototypes/unitabs.d.ts +1 -1
- package/lib/esm/prototypes/upload.d.ts +1 -1
- package/lib/esm/prototypes/when.d.ts +1 -1
- package/package.json +7 -7
@@ -1,15 +1,15 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
export declare const FormilyFormItem: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
3
|
-
export declare const FormilyForm: React.ForwardRefExoticComponent<import("@cuvp1225/formily/lib/esm/form").FormProps & import("@
|
3
|
+
export declare const FormilyForm: React.ForwardRefExoticComponent<import("@cuvp1225/formily/lib/esm/form").FormProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
4
4
|
export declare const FormilyFormFooter: React.ForwardRefExoticComponent<Omit<{
|
5
5
|
children?: React.ReactNode | undefined;
|
6
6
|
}, keyof import("@cuvp1225/formily").IFormItemProps | "gutter"> & import("@cuvp1225/formily").IFormItemProps & {
|
7
7
|
gutter?: number;
|
8
|
-
} & import("@
|
8
|
+
} & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
9
9
|
export declare const FormilySubmit: React.ForwardRefExoticComponent<import("@cuvp1225/formily").ISubmitProps & {
|
10
10
|
children?: React.ReactNode | undefined;
|
11
|
-
} & import("@
|
11
|
+
} & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
12
12
|
export declare const FormilyReset: React.ForwardRefExoticComponent<import("@cuvp1225/formily").IResetProps & {
|
13
13
|
children?: React.ReactNode | undefined;
|
14
|
-
} & import("@
|
14
|
+
} & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
15
15
|
export { createForm as createFormilyForm, FormConsumer as FormilyFormConsumer, } from '@cuvp1225/formily';
|
@@ -4,7 +4,7 @@ exports.FormilyFormConsumer = exports.createFormilyForm = exports.FormilyReset =
|
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
6
6
|
const formily_1 = require("@cuvp1225/formily");
|
7
|
-
const
|
7
|
+
const boot_1 = require("@cuvp1225/boot");
|
8
8
|
const componentMap = new Map();
|
9
9
|
const register = (name, component) => {
|
10
10
|
componentMap.set(name, component);
|
@@ -26,7 +26,7 @@ const list = [
|
|
26
26
|
['TimeRangePicker', formily_1.TimePicker.RangePicker],
|
27
27
|
];
|
28
28
|
list.forEach(([name, component]) => register(name, component));
|
29
|
-
exports.FormilyFormItem = (0,
|
29
|
+
exports.FormilyFormItem = (0, boot_1.defineComponent)((_a) => {
|
30
30
|
var _b;
|
31
31
|
var { component } = _a, rest = tslib_1.__rest(_a, ["component"]);
|
32
32
|
if (typeof component === 'string') {
|
@@ -39,22 +39,22 @@ exports.FormilyFormItem = (0, tango_boot_1.defineComponent)((_a) => {
|
|
39
39
|
hasWrapper: true,
|
40
40
|
},
|
41
41
|
});
|
42
|
-
exports.FormilyForm = (0,
|
42
|
+
exports.FormilyForm = (0, boot_1.defineComponent)(formily_1.Form, {
|
43
43
|
name: 'FormilyForm',
|
44
44
|
designerConfig: {
|
45
45
|
hasWrapper: true,
|
46
46
|
},
|
47
47
|
});
|
48
|
-
exports.FormilyFormFooter = (0,
|
48
|
+
exports.FormilyFormFooter = (0, boot_1.defineComponent)(formily_1.FormFooter, {
|
49
49
|
name: 'FormilyFormFooter',
|
50
50
|
designerConfig: {
|
51
51
|
hasWrapper: true,
|
52
52
|
},
|
53
53
|
});
|
54
|
-
exports.FormilySubmit = (0,
|
54
|
+
exports.FormilySubmit = (0, boot_1.defineComponent)(formily_1.Submit, {
|
55
55
|
name: 'FormilySubmit',
|
56
56
|
});
|
57
|
-
exports.FormilyReset = (0,
|
57
|
+
exports.FormilyReset = (0, boot_1.defineComponent)(formily_1.Reset, {
|
58
58
|
name: 'FormilyReset',
|
59
59
|
});
|
60
60
|
var formily_2 = require("@cuvp1225/formily");
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
export declare const AntdIcon: React.ForwardRefExoticComponent<Omit<Omit<import("@ant-design/icons/lib/components/Icon").IconComponentProps, "ref"> & React.RefAttributes<HTMLSpanElement> & import("@
|
2
|
+
export declare const AntdIcon: React.ForwardRefExoticComponent<Omit<Omit<import("@ant-design/icons/lib/components/Icon").IconComponentProps, "ref"> & React.RefAttributes<HTMLSpanElement> & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -6,13 +6,13 @@ const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
// import * as icons from '@ant-design/icons';
|
7
7
|
// import { createFromIconfontCN } from '@ant-design/icons';
|
8
8
|
const HomeOutlined_1 = tslib_1.__importDefault(require("@ant-design/icons/HomeOutlined"));
|
9
|
-
const
|
9
|
+
const boot_1 = require("@cuvp1225/boot");
|
10
10
|
const icons_1 = tslib_1.__importDefault(require("@ant-design/icons"));
|
11
11
|
function IconDesigner(_a) {
|
12
12
|
var { children, style, icon } = _a, rest = tslib_1.__rest(_a, ["children", "style", "icon"]);
|
13
13
|
return (react_1.default.createElement(icons_1.default, Object.assign({}, rest, { style: style, component: HomeOutlined_1.default })));
|
14
14
|
}
|
15
|
-
exports.AntdIcon = (0,
|
15
|
+
exports.AntdIcon = (0, boot_1.defineComponent)(icons_1.default, {
|
16
16
|
name: 'AntdIcon',
|
17
17
|
designerConfig: {
|
18
18
|
render({ designerProps, originalProps }) {
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { ImageProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
export declare const Image: React.ForwardRefExoticComponent<ImageProps & import("@
|
3
|
+
export declare const Image: React.ForwardRefExoticComponent<ImageProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Image = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const antd_1 = require("antd");
|
6
|
-
const
|
6
|
+
const boot_1 = require("@cuvp1225/boot");
|
7
7
|
const react_1 = tslib_1.__importStar(require("react"));
|
8
|
-
const
|
8
|
+
const helpers_1 = require("@cuvp1225/helpers");
|
9
9
|
function ImageDesigner(_a) {
|
10
|
-
var _b =
|
10
|
+
var _b = helpers_1.SLOT.dnd, dataDnd = _a[_b], _c = helpers_1.SLOT.id, dataId = _a[_c], { style } = _a, rest = tslib_1.__rest(_a, [typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
11
11
|
const imageRef = (0, react_1.useRef)(null);
|
12
12
|
(0, react_1.useEffect)(() => {
|
13
13
|
Promise.resolve().then(() => {
|
@@ -22,7 +22,7 @@ function ImageDesigner(_a) {
|
|
22
22
|
return (react_1.default.createElement("div", { ref: imageRef },
|
23
23
|
react_1.default.createElement(antd_1.Image, Object.assign({ className: dataId, "data-dnd": dataDnd, "data-id": dataId, style: style }, rest))));
|
24
24
|
}
|
25
|
-
exports.Image = (0,
|
25
|
+
exports.Image = (0, boot_1.defineComponent)(antd_1.Image, {
|
26
26
|
name: 'Image',
|
27
27
|
designerConfig: {
|
28
28
|
render({ designerProps, originalProps }) {
|
@@ -4,4 +4,4 @@ export declare const InputNumber: React.ForwardRefExoticComponent<Omit<InputNumb
|
|
4
4
|
children?: React.ReactNode;
|
5
5
|
} & {
|
6
6
|
ref?: React.Ref<HTMLInputElement> | undefined;
|
7
|
-
} & import("@
|
7
|
+
} & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.InputNumber = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
|
-
const
|
5
|
+
const boot_1 = require("@cuvp1225/boot");
|
6
6
|
const antd_1 = require("antd");
|
7
7
|
const react_1 = tslib_1.__importDefault(require("react"));
|
8
8
|
function InputNumberDesigner(_a) {
|
@@ -14,7 +14,7 @@ function InputNumberDesigner(_a) {
|
|
14
14
|
return (react_1.default.createElement(antd_1.InputNumber, Object.assign({}, rest, { style: style, value: value })));
|
15
15
|
}
|
16
16
|
}
|
17
|
-
exports.InputNumber = (0,
|
17
|
+
exports.InputNumber = (0, boot_1.defineComponent)(antd_1.InputNumber, {
|
18
18
|
name: 'InputNumber',
|
19
19
|
designerConfig: {
|
20
20
|
render({ designerProps, originalProps, }) {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { InputProps } from 'antd';
|
2
2
|
import { TextAreaProps, PasswordProps } from 'antd/lib/input';
|
3
3
|
import React from 'react';
|
4
|
-
export declare const Input: React.ForwardRefExoticComponent<Omit<InputProps & React.RefAttributes<import("antd").InputRef> & import("@
|
5
|
-
export declare const TextArea: React.ForwardRefExoticComponent<Omit<TextAreaProps & React.RefAttributes<import("antd/lib/input/TextArea").TextAreaRef> & import("@
|
4
|
+
export declare const Input: React.ForwardRefExoticComponent<Omit<InputProps & React.RefAttributes<import("antd").InputRef> & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
5
|
+
export declare const TextArea: React.ForwardRefExoticComponent<Omit<TextAreaProps & React.RefAttributes<import("antd/lib/input/TextArea").TextAreaRef> & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
6
6
|
export declare const Password: ({ [SLOT.id]: dataId, [SLOT.dnd]: dataDnd, style, ...rest }: PasswordProps & {
|
7
7
|
[key: string]: any;
|
8
8
|
children?: React.ReactNode;
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Password = exports.TextArea = exports.Input = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const antd_1 = require("antd");
|
6
|
-
const
|
6
|
+
const boot_1 = require("@cuvp1225/boot");
|
7
7
|
const react_1 = tslib_1.__importDefault(require("react"));
|
8
8
|
const slottype_1 = require("../helpers/slottype");
|
9
9
|
function InputDesigner(_a) {
|
@@ -13,7 +13,7 @@ function InputDesigner(_a) {
|
|
13
13
|
}
|
14
14
|
return (react_1.default.createElement(antd_1.Input, Object.assign({}, rest, { style: style })));
|
15
15
|
}
|
16
|
-
exports.Input = (0,
|
16
|
+
exports.Input = (0, boot_1.defineComponent)(antd_1.Input, {
|
17
17
|
name: 'Input',
|
18
18
|
designerConfig: {
|
19
19
|
render({ designerProps, originalProps, }) {
|
@@ -28,7 +28,7 @@ function TextAreaDesigner(_a) {
|
|
28
28
|
}
|
29
29
|
return (react_1.default.createElement(antd_1.Input.TextArea, Object.assign({}, rest, { style: style })));
|
30
30
|
}
|
31
|
-
exports.TextArea = (0,
|
31
|
+
exports.TextArea = (0, boot_1.defineComponent)(antd_1.Input.TextArea, {
|
32
32
|
name: 'TextArea',
|
33
33
|
designerConfig: {
|
34
34
|
render({ designerProps, originalProps, }) {
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const List: import("react").ForwardRefExoticComponent<import("antd").ListProps<unknown> & import("@
|
2
|
-
export declare const ListItem: import("react").ForwardRefExoticComponent<Omit<import("antd/lib/list").ListItemProps & import("react").RefAttributes<HTMLElement> & import("@
|
1
|
+
export declare const List: import("react").ForwardRefExoticComponent<import("antd").ListProps<unknown> & import("@cuvp1225/boot").TangoComponentProps & import("react").RefAttributes<unknown>>;
|
2
|
+
export declare const ListItem: import("react").ForwardRefExoticComponent<Omit<import("antd/lib/list").ListItemProps & import("react").RefAttributes<HTMLElement> & import("@cuvp1225/boot").TangoComponentProps, "ref"> & import("react").RefAttributes<unknown>>;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.ListItem = exports.List = void 0;
|
4
|
-
const
|
4
|
+
const boot_1 = require("@cuvp1225/boot");
|
5
5
|
const antd_1 = require("antd");
|
6
|
-
exports.List = (0,
|
6
|
+
exports.List = (0, boot_1.defineComponent)(antd_1.List, {
|
7
7
|
name: 'List'
|
8
8
|
});
|
9
|
-
exports.ListItem = (0,
|
9
|
+
exports.ListItem = (0, boot_1.defineComponent)(antd_1.List.Item, {
|
10
10
|
name: 'ListItem',
|
11
11
|
});
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { MentionProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
export declare const Mentions: React.ForwardRefExoticComponent<Omit<MentionProps & React.RefAttributes<import("antd/lib/mentions").MentionsRef> & import("@
|
3
|
+
export declare const Mentions: React.ForwardRefExoticComponent<Omit<MentionProps & React.RefAttributes<import("antd/lib/mentions").MentionsRef> & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Mentions = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const antd_1 = require("antd");
|
6
|
-
const
|
6
|
+
const boot_1 = require("@cuvp1225/boot");
|
7
7
|
const react_1 = tslib_1.__importStar(require("react"));
|
8
|
-
const
|
8
|
+
const helpers_1 = require("@cuvp1225/helpers");
|
9
9
|
function MentionsDesigner(_a) {
|
10
|
-
var _b =
|
10
|
+
var _b = helpers_1.SLOT.dnd, dataDnd = _a[_b], _c = helpers_1.SLOT.id, dataId = _a[_c], { style } = _a, rest = tslib_1.__rest(_a, [typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
11
11
|
const mentionsRef = (0, react_1.useRef)(null);
|
12
12
|
(0, react_1.useEffect)(() => {
|
13
13
|
Promise.resolve().then(() => {
|
@@ -22,7 +22,7 @@ function MentionsDesigner(_a) {
|
|
22
22
|
return (react_1.default.createElement("div", { ref: mentionsRef },
|
23
23
|
react_1.default.createElement(antd_1.Mentions, Object.assign({ className: dataId, "data-dnd": dataDnd, "data-id": dataId, style: style }, rest))));
|
24
24
|
}
|
25
|
-
exports.Mentions = (0,
|
25
|
+
exports.Mentions = (0, boot_1.defineComponent)(antd_1.Mentions, {
|
26
26
|
name: 'Mentions',
|
27
27
|
designerConfig: {
|
28
28
|
render({ designerProps, originalProps }) {
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const Menu: import("react").ForwardRefExoticComponent<import("antd").MenuProps & import("@
|
2
|
-
export declare const MenuItem: import("react").ForwardRefExoticComponent<import("antd").MenuItemProps & import("@
|
1
|
+
export declare const Menu: import("react").ForwardRefExoticComponent<import("antd").MenuProps & import("@cuvp1225/boot").TangoComponentProps & import("react").RefAttributes<unknown>>;
|
2
|
+
export declare const MenuItem: import("react").ForwardRefExoticComponent<import("antd").MenuItemProps & import("@cuvp1225/boot").TangoComponentProps & import("react").RefAttributes<unknown>>;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.MenuItem = exports.Menu = void 0;
|
4
|
-
const
|
4
|
+
const boot_1 = require("@cuvp1225/boot");
|
5
5
|
const antd_1 = require("antd");
|
6
|
-
exports.Menu = (0,
|
6
|
+
exports.Menu = (0, boot_1.defineComponent)(antd_1.Menu, {
|
7
7
|
name: 'Menu'
|
8
8
|
});
|
9
|
-
exports.MenuItem = (0,
|
9
|
+
exports.MenuItem = (0, boot_1.defineComponent)(antd_1.Menu.Item, {
|
10
10
|
name: 'MenuItem',
|
11
11
|
});
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ModalProps } from 'antd';
|
3
|
-
export declare const Modal: React.ForwardRefExoticComponent<ModalProps & import("@
|
3
|
+
export declare const Modal: React.ForwardRefExoticComponent<ModalProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
@@ -8,7 +8,7 @@ const coral_system_1 = require("coral-system");
|
|
8
8
|
const antd_1 = require("antd");
|
9
9
|
//import { CloseOutlined } from '@ant-design/icons';
|
10
10
|
const CloseOutlined_1 = tslib_1.__importDefault(require("@ant-design/icons/CloseOutlined"));
|
11
|
-
const
|
11
|
+
const boot_1 = require("@cuvp1225/boot");
|
12
12
|
const placeholder_1 = require("./placeholder");
|
13
13
|
const shadow_container_1 = require("./shadow-container");
|
14
14
|
const BaseModalWrapper = (0, coral_system_1.coral)('div', (0, styled_components_1.css) `
|
@@ -65,7 +65,7 @@ function ModalDesigner(_a) {
|
|
65
65
|
react_1.default.createElement("div", { className: "ModalPanelBody" }, children || react_1.default.createElement(placeholder_1.Placeholder, null)),
|
66
66
|
renderFooter())));
|
67
67
|
}
|
68
|
-
exports.Modal = (0,
|
68
|
+
exports.Modal = (0, boot_1.defineComponent)(antd_1.Modal, {
|
69
69
|
name: 'Modal',
|
70
70
|
designerConfig: {
|
71
71
|
render({ designerProps, originalProps }) {
|
@@ -15,4 +15,4 @@ export interface PageProps extends Omit<BoxProps, 'title'> {
|
|
15
15
|
*/
|
16
16
|
onUnmount?: () => void;
|
17
17
|
}
|
18
|
-
export declare const Page: React.ForwardRefExoticComponent<PageProps & import("@
|
18
|
+
export declare const Page: React.ForwardRefExoticComponent<PageProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
@@ -6,7 +6,7 @@ const react_1 = tslib_1.__importStar(require("react"));
|
|
6
6
|
const coral_system_1 = require("coral-system");
|
7
7
|
const foundation_1 = require("@cuvp1225/foundation");
|
8
8
|
const antd_1 = require("antd");
|
9
|
-
const
|
9
|
+
const boot_1 = require("@cuvp1225/boot");
|
10
10
|
const pageStyle = (0, coral_system_1.css) `
|
11
11
|
.td-pageHeader {
|
12
12
|
background: #fff;
|
@@ -26,4 +26,4 @@ function View(_a) {
|
|
26
26
|
react_1.default.createElement(antd_1.PageHeader, { className: "td-pageHeader", backIcon: false, title: title, subTitle: subTitle, extra: headerExtra, footer: headerFooter }),
|
27
27
|
react_1.default.createElement(foundation_1.Box, { className: "td-pageContent", p: "24px" }, children)));
|
28
28
|
}
|
29
|
-
exports.Page = (0,
|
29
|
+
exports.Page = (0, boot_1.defineComponent)(View);
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { PageHeaderProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
export declare const PageHeader: React.ForwardRefExoticComponent<PageHeaderProps & import("@
|
3
|
+
export declare const PageHeader: React.ForwardRefExoticComponent<PageHeaderProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PageHeader = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const antd_1 = require("antd");
|
6
|
-
const
|
6
|
+
const boot_1 = require("@cuvp1225/boot");
|
7
7
|
const react_1 = tslib_1.__importStar(require("react"));
|
8
|
-
const
|
8
|
+
const helpers_1 = require("@cuvp1225/helpers");
|
9
9
|
function PageHeaderDesigner(_a) {
|
10
|
-
var { children, title } = _a, _b =
|
10
|
+
var { children, title } = _a, _b = helpers_1.SLOT.dnd, dataDnd = _a[_b], _c = helpers_1.SLOT.id, dataId = _a[_c], { style } = _a, rest = tslib_1.__rest(_a, ["children", "title", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
11
11
|
const pageHeaderRef = (0, react_1.useRef)(null);
|
12
12
|
(0, react_1.useEffect)(() => {
|
13
13
|
Promise.resolve().then(() => {
|
@@ -22,7 +22,7 @@ function PageHeaderDesigner(_a) {
|
|
22
22
|
return (react_1.default.createElement("div", { ref: pageHeaderRef },
|
23
23
|
react_1.default.createElement(antd_1.PageHeader, Object.assign({ title: title, "data-dnd": dataDnd, "data-id": dataId, className: dataId }, rest), children)));
|
24
24
|
}
|
25
|
-
exports.PageHeader = (0,
|
25
|
+
exports.PageHeader = (0, boot_1.defineComponent)(antd_1.PageHeader, {
|
26
26
|
name: 'PageHeader',
|
27
27
|
designerConfig: {
|
28
28
|
render({ designerProps, originalProps }) {
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { PaginationProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
export declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & import("@
|
3
|
+
export declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Pagination = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const antd_1 = require("antd");
|
6
|
-
const
|
6
|
+
const boot_1 = require("@cuvp1225/boot");
|
7
7
|
const react_1 = tslib_1.__importStar(require("react"));
|
8
|
-
const
|
8
|
+
const helpers_1 = require("@cuvp1225/helpers");
|
9
9
|
function PaginationDesigner(_a) {
|
10
|
-
var _b =
|
10
|
+
var _b = helpers_1.SLOT.dnd, dataDnd = _a[_b], _c = helpers_1.SLOT.id, dataId = _a[_c], { style } = _a, rest = tslib_1.__rest(_a, [typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
11
11
|
const paginationRef = (0, react_1.useRef)(null);
|
12
12
|
(0, react_1.useEffect)(() => {
|
13
13
|
Promise.resolve().then(() => {
|
@@ -22,7 +22,7 @@ function PaginationDesigner(_a) {
|
|
22
22
|
return (react_1.default.createElement("div", { ref: paginationRef },
|
23
23
|
react_1.default.createElement(antd_1.Pagination, Object.assign({ className: dataId, "data-dnd": dataDnd, "data-id": dataId, style: style }, rest))));
|
24
24
|
}
|
25
|
-
exports.Pagination = (0,
|
25
|
+
exports.Pagination = (0, boot_1.defineComponent)(antd_1.Pagination, {
|
26
26
|
name: 'Pagination',
|
27
27
|
designerConfig: {
|
28
28
|
render({ designerProps, originalProps }) {
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { ProgressProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
export declare const Progress: React.ForwardRefExoticComponent<ProgressProps & import("@
|
3
|
+
export declare const Progress: React.ForwardRefExoticComponent<ProgressProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
@@ -3,15 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Progress = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const antd_1 = require("antd");
|
6
|
-
const
|
6
|
+
const boot_1 = require("@cuvp1225/boot");
|
7
7
|
const react_1 = tslib_1.__importStar(require("react"));
|
8
|
-
const
|
8
|
+
const helpers_1 = require("@cuvp1225/helpers");
|
9
9
|
function ProgressDesigner(_a
|
10
10
|
// ProgressProps & { [key: string]: any; dnd?: string; children?: React.ReactNode }
|
11
11
|
) {
|
12
12
|
var { children } = _a
|
13
13
|
// ProgressProps & { [key: string]: any; dnd?: string; children?: React.ReactNode }
|
14
|
-
, _b =
|
14
|
+
, _b = helpers_1.SLOT.dnd, dataDnd = _a[_b], _c = helpers_1.SLOT.id, dataId = _a[_c], { style } = _a
|
15
15
|
// ProgressProps & { [key: string]: any; dnd?: string; children?: React.ReactNode }
|
16
16
|
, rest = tslib_1.__rest(_a, ["children", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
17
17
|
(0, react_1.useEffect)(() => {
|
@@ -27,7 +27,7 @@ function ProgressDesigner(_a
|
|
27
27
|
}, [dataDnd, dataId]);
|
28
28
|
return (react_1.default.createElement(antd_1.Progress, Object.assign({ id: dataId, "data-dnd": dataDnd, "data-id": dataId, style: style }, rest), children));
|
29
29
|
}
|
30
|
-
exports.Progress = (0,
|
30
|
+
exports.Progress = (0, boot_1.defineComponent)(antd_1.Progress, {
|
31
31
|
name: 'Progress',
|
32
32
|
designerConfig: {
|
33
33
|
render({ designerProps, originalProps }) {
|
@@ -4,4 +4,4 @@ export declare const Radio: ({ [SLOT.id]: dataId, [SLOT.dnd]: dataDnd, ...rest }
|
|
4
4
|
}) => React.JSX.Element;
|
5
5
|
export declare const RadioGroup: React.ForwardRefExoticComponent<Omit<Omit<import("antd").RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
6
6
|
ref?: React.Ref<HTMLDivElement>;
|
7
|
-
} & import("@
|
7
|
+
} & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -2,19 +2,19 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.RadioGroup = exports.Radio = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
|
-
const
|
6
|
-
const
|
5
|
+
const boot_1 = require("@cuvp1225/boot");
|
6
|
+
const helpers_1 = require("@cuvp1225/helpers");
|
7
7
|
const antd_1 = require("antd");
|
8
8
|
const react_1 = tslib_1.__importDefault(require("react"));
|
9
9
|
const Radio = (_a) => {
|
10
10
|
//console.log("新的单选组件",dataId,dataDnd,rest);
|
11
11
|
//const newProps = {...rest, ...{draggable:true}}
|
12
12
|
//console.log("新的表格组件01",newProps);
|
13
|
-
var _b =
|
13
|
+
var _b = helpers_1.SLOT.id, dataId = _a[_b], _c = helpers_1.SLOT.dnd, dataDnd = _a[_c], rest = tslib_1.__rest(_a, [typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + ""]);
|
14
14
|
return (react_1.default.createElement("div", { "data-dnd": dataDnd, "data-id": dataId, draggable: true },
|
15
15
|
react_1.default.createElement(antd_1.Radio, Object.assign({}, rest))));
|
16
16
|
};
|
17
17
|
exports.Radio = Radio;
|
18
|
-
exports.RadioGroup = (0,
|
18
|
+
exports.RadioGroup = (0, boot_1.defineComponent)(antd_1.Radio.Group, {
|
19
19
|
name: 'RadioGroup',
|
20
20
|
});
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { RateProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
export declare const Rate: React.ForwardRefExoticComponent<Omit<RateProps & React.RefAttributes<unknown> & import("@
|
3
|
+
export declare const Rate: React.ForwardRefExoticComponent<Omit<RateProps & React.RefAttributes<unknown> & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Rate = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const antd_1 = require("antd");
|
6
|
-
const
|
6
|
+
const boot_1 = require("@cuvp1225/boot");
|
7
7
|
const react_1 = tslib_1.__importStar(require("react"));
|
8
|
-
const
|
8
|
+
const helpers_1 = require("@cuvp1225/helpers");
|
9
9
|
function RateDesigner(_a) {
|
10
|
-
var { children, title } = _a, _b =
|
10
|
+
var { children, title } = _a, _b = helpers_1.SLOT.dnd, dataDnd = _a[_b], _c = helpers_1.SLOT.id, dataId = _a[_c], { style } = _a, rest = tslib_1.__rest(_a, ["children", "title", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
11
11
|
const rateRef = (0, react_1.useRef)(null);
|
12
12
|
(0, react_1.useEffect)(() => {
|
13
13
|
Promise.resolve().then(() => {
|
@@ -22,7 +22,7 @@ function RateDesigner(_a) {
|
|
22
22
|
return (react_1.default.createElement("div", { ref: rateRef },
|
23
23
|
react_1.default.createElement(antd_1.Rate, Object.assign({ className: dataId, "data-dnd": dataDnd, "data-id": dataId }, rest))));
|
24
24
|
}
|
25
|
-
exports.Rate = (0,
|
25
|
+
exports.Rate = (0, boot_1.defineComponent)(antd_1.Rate, {
|
26
26
|
name: 'Rate',
|
27
27
|
designerConfig: {
|
28
28
|
render({ designerProps, originalProps }) {
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { ResultProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
export declare const Result: React.ForwardRefExoticComponent<ResultProps & import("@
|
3
|
+
export declare const Result: React.ForwardRefExoticComponent<ResultProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Result = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const antd_1 = require("antd");
|
6
|
-
const
|
6
|
+
const boot_1 = require("@cuvp1225/boot");
|
7
7
|
const react_1 = tslib_1.__importStar(require("react"));
|
8
|
-
const
|
8
|
+
const helpers_1 = require("@cuvp1225/helpers");
|
9
9
|
function ResultDesigner(_a) {
|
10
|
-
var { children, title } = _a, _b =
|
10
|
+
var { children, title } = _a, _b = helpers_1.SLOT.dnd, dataDnd = _a[_b], _c = helpers_1.SLOT.id, dataId = _a[_c], { style } = _a, rest = tslib_1.__rest(_a, ["children", "title", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
11
11
|
const resultRef = (0, react_1.useRef)(null);
|
12
12
|
(0, react_1.useEffect)(() => {
|
13
13
|
Promise.resolve().then(() => {
|
@@ -37,7 +37,7 @@ function ResultDesigner(_a) {
|
|
37
37
|
return (react_1.default.createElement("div", { ref: resultRef },
|
38
38
|
react_1.default.createElement(antd_1.Result, Object.assign({ className: dataId, title: title, "data-dnd": dataDnd, "data-id": dataId, style: style }, rest), children)));
|
39
39
|
}
|
40
|
-
exports.Result = (0,
|
40
|
+
exports.Result = (0, boot_1.defineComponent)(antd_1.Result, {
|
41
41
|
name: 'Result',
|
42
42
|
designerConfig: {
|
43
43
|
render({ designerProps, originalProps }) {
|
@@ -4,9 +4,9 @@ exports.Result = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const antd_1 = require("antd");
|
6
6
|
const react_1 = tslib_1.__importDefault(require("react"));
|
7
|
-
const
|
7
|
+
const helpers_1 = require("@cuvp1225/helpers");
|
8
8
|
const Result = (_a) => {
|
9
|
-
var _b =
|
9
|
+
var _b = helpers_1.SLOT.id, dataId = _a[_b], _c = helpers_1.SLOT.dnd, dataDnd = _a[_c], rest = tslib_1.__rest(_a, [typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + ""]);
|
10
10
|
return (react_1.default.createElement("div", { "data-dnd": dataDnd, "data-id": dataId, draggable: true },
|
11
11
|
react_1.default.createElement(antd_1.Result, Object.assign({}, rest), " ")));
|
12
12
|
};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
export declare const Row1: React.ForwardRefExoticComponent<Omit<import("coral-system/dist/esm/types").OmitCommonProps<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("coral-system").CoralProps> & import("coral-system").CoralProps & import("coral-system/dist/esm/types").OmitCommonProps<any, keyof import("coral-system").CoralProps> & {
|
3
3
|
as?: import("coral-system/dist/esm/types").As<any>;
|
4
|
-
} & import("@
|
4
|
+
} & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -4,9 +4,9 @@ exports.Row1 = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
6
6
|
const coral_system_1 = require("coral-system");
|
7
|
-
const
|
7
|
+
const boot_1 = require("@cuvp1225/boot");
|
8
8
|
const placeholder_1 = require("./placeholder");
|
9
|
-
const
|
9
|
+
const helpers_1 = require("@cuvp1225/helpers");
|
10
10
|
//import { ShadowContainer } from './shadow-container';
|
11
11
|
// const BaseRowWrapper = coral(
|
12
12
|
// 'div',
|
@@ -29,7 +29,7 @@ const rowStyle = {
|
|
29
29
|
// children?: React.ReactNode;
|
30
30
|
// }
|
31
31
|
function RowDesigner(_a) {
|
32
|
-
var { gutter, align, justify, prefixCls, wrap, style, children } = _a, _b =
|
32
|
+
var { gutter, align, justify, prefixCls, wrap, style, children } = _a, _b = helpers_1.SLOT.dnd, dataDnd = _a[_b], _c = helpers_1.SLOT.id, dataId = _a[_c], rest = tslib_1.__rest(_a, ["gutter", "align", "justify", "prefixCls", "wrap", "style", "children", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + ""]);
|
33
33
|
const mergedStyle = react_1.default.useMemo(() => (Object.assign(Object.assign({}, rowStyle), style)), [style]);
|
34
34
|
// 缓存 dataDnd 和 dataId
|
35
35
|
const memoizedDataDnd = react_1.default.useMemo(() => dataDnd, [dataDnd]);
|
@@ -43,13 +43,13 @@ const Div = (0, coral_system_1.coral)('div', undefined, {
|
|
43
43
|
// 使用 React.memo 包裹 RowDesigner,避免不必要的重新渲染
|
44
44
|
const MemoizedRowDesigner = react_1.default.memo(RowDesigner, (prevProps, nextProps) => {
|
45
45
|
// 自定义比较函数,避免不必要的重新渲染
|
46
|
-
return (prevProps[
|
47
|
-
prevProps[
|
46
|
+
return (prevProps[helpers_1.SLOT.dnd] === nextProps[helpers_1.SLOT.dnd] &&
|
47
|
+
prevProps[helpers_1.SLOT.id] === nextProps[helpers_1.SLOT.id] &&
|
48
48
|
prevProps.style === nextProps.style &&
|
49
49
|
prevProps.children === nextProps.children);
|
50
50
|
});
|
51
51
|
//const MemoizedRowDesigner = React.memo(RowDesigner, areEqual);
|
52
|
-
exports.Row1 = (0,
|
52
|
+
exports.Row1 = (0, boot_1.defineComponent)(Div, {
|
53
53
|
name: 'Row1',
|
54
54
|
designerConfig: {
|
55
55
|
render({ designerProps, originalProps }) {
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
export declare const Row1: React.ForwardRefExoticComponent<Omit<import("coral-system/dist/esm/types").OmitCommonProps<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("coral-system").CoralProps> & import("coral-system").CoralProps & import("coral-system/dist/esm/types").OmitCommonProps<any, keyof import("coral-system").CoralProps> & {
|
3
3
|
as?: import("coral-system/dist/esm/types").As<any>;
|
4
|
-
} & import("@
|
4
|
+
} & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -4,7 +4,7 @@ exports.Row1 = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
6
6
|
const coral_system_1 = require("coral-system");
|
7
|
-
const
|
7
|
+
const boot_1 = require("@cuvp1225/boot");
|
8
8
|
//import { ShadowContainer } from './shadow-container';
|
9
9
|
// const BaseRowWrapper = coral(
|
10
10
|
// 'div',
|
@@ -44,7 +44,7 @@ const Div = (0, coral_system_1.coral)('div', undefined, {
|
|
44
44
|
prefix: '--music',
|
45
45
|
});
|
46
46
|
const MemoizedRowDesigner = react_1.default.memo(RowDesigner);
|
47
|
-
exports.Row1 = (0,
|
47
|
+
exports.Row1 = (0, boot_1.defineComponent)(Div, {
|
48
48
|
name: 'Row1',
|
49
49
|
designerConfig: {
|
50
50
|
render({ designerProps, originalProps }) {
|