@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
@@ -3,4 +3,4 @@ import { BoxProps } from '@cuvp1225/foundation';
|
|
3
3
|
export interface SectionProps extends Omit<BoxProps, 'title'> {
|
4
4
|
title?: React.ReactNode;
|
5
5
|
}
|
6
|
-
export declare const Section: React.ForwardRefExoticComponent<SectionProps & import("@
|
6
|
+
export declare const Section: React.ForwardRefExoticComponent<SectionProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
6
6
|
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
7
7
|
const foundation_1 = require("@cuvp1225/foundation");
|
8
|
-
const
|
8
|
+
const boot_1 = require("@cuvp1225/boot");
|
9
9
|
const placeholder_1 = require("./placeholder");
|
10
10
|
function SectionView(_a) {
|
11
11
|
var { title, className, children } = _a, rest = tslib_1.__rest(_a, ["title", "className", "children"]);
|
@@ -13,7 +13,7 @@ function SectionView(_a) {
|
|
13
13
|
title && (react_1.default.createElement(foundation_1.Box, { p: "24px 24px 0", fontSize: "16px", fontWeight: "500" }, title)),
|
14
14
|
react_1.default.createElement(foundation_1.Box, { p: "24px" }, children)));
|
15
15
|
}
|
16
|
-
exports.Section = (0,
|
16
|
+
exports.Section = (0, boot_1.defineComponent)(SectionView, {
|
17
17
|
designerConfig: {
|
18
18
|
render({ children, designerProps, originalProps }) {
|
19
19
|
return react_1.default.cloneElement(children, Object.assign(Object.assign({ children: react_1.default.createElement(placeholder_1.Placeholder, null) }, originalProps), designerProps));
|
@@ -3,4 +3,4 @@ export declare const Select: import("react").ForwardRefExoticComponent<Omit<Sele
|
|
3
3
|
children?: React.ReactNode;
|
4
4
|
} & {
|
5
5
|
ref?: React.Ref<import("antd").RefSelectProps> | undefined;
|
6
|
-
} & import("@
|
6
|
+
} & import("@cuvp1225/boot").TangoComponentProps, "ref"> & import("react").RefAttributes<unknown>>;
|
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.Select = void 0;
|
4
4
|
const antd_1 = require("antd");
|
5
|
-
const
|
6
|
-
exports.Select = (0,
|
5
|
+
const boot_1 = require("@cuvp1225/boot");
|
6
|
+
exports.Select = (0, boot_1.defineComponent)(antd_1.Select, {
|
7
7
|
name: 'Select',
|
8
8
|
registerState: {
|
9
9
|
getInitStates(_, props) {
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { SkeletonProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
export declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & import("@
|
3
|
+
export declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Skeleton = 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 SkeletonDesigner(_a) {
|
10
|
-
var { children } = _a, _b =
|
10
|
+
var { children } = _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", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
11
11
|
const skeletonRef = (0, react_1.useRef)(null);
|
12
12
|
(0, react_1.useEffect)(() => {
|
13
13
|
Promise.resolve().then(() => {
|
@@ -22,7 +22,7 @@ function SkeletonDesigner(_a) {
|
|
22
22
|
return (react_1.default.createElement("div", { ref: skeletonRef },
|
23
23
|
react_1.default.createElement(antd_1.Skeleton, Object.assign({ className: dataId, "data-dnd": dataDnd, "data-id": dataId }, rest), children)));
|
24
24
|
}
|
25
|
-
exports.Skeleton = (0,
|
25
|
+
exports.Skeleton = (0, boot_1.defineComponent)(antd_1.Skeleton, {
|
26
26
|
name: 'Skeleton',
|
27
27
|
designerConfig: {
|
28
28
|
render({ designerProps, originalProps }) {
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
export declare const Slider: React.ForwardRefExoticComponent<(Omit<import("antd").SliderSingleProps & React.RefAttributes<unknown> & import("@
|
2
|
+
export declare const Slider: React.ForwardRefExoticComponent<(Omit<import("antd").SliderSingleProps & React.RefAttributes<unknown> & import("@cuvp1225/boot").TangoComponentProps, "ref"> | Omit<import("antd/lib/slider").SliderRangeProps & React.RefAttributes<unknown> & import("@cuvp1225/boot").TangoComponentProps, "ref">) & React.RefAttributes<unknown>>;
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Slider = 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 SliderDesigner(_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 SliderDesigner(_a) {
|
|
22
22
|
return (react_1.default.createElement("div", { ref: rateRef },
|
23
23
|
react_1.default.createElement(antd_1.Slider, Object.assign({ className: dataId, "data-dnd": dataDnd, "data-id": dataId, style: style }, rest))));
|
24
24
|
}
|
25
|
-
exports.Slider = (0,
|
25
|
+
exports.Slider = (0, boot_1.defineComponent)(antd_1.Slider, {
|
26
26
|
name: 'Slider',
|
27
27
|
designerConfig: {
|
28
28
|
render({ designerProps, originalProps }) {
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
export declare const Space: React.ForwardRefExoticComponent<import("antd").SpaceProps & import("@
|
2
|
+
export declare const Space: React.ForwardRefExoticComponent<import("antd").SpaceProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Space = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
6
|
-
const
|
6
|
+
const boot_1 = require("@cuvp1225/boot");
|
7
7
|
const antd_1 = require("antd");
|
8
8
|
const placeholder_1 = require("./placeholder");
|
9
|
-
exports.Space = (0,
|
9
|
+
exports.Space = (0, boot_1.defineComponent)(antd_1.Space, {
|
10
10
|
name: 'Space',
|
11
11
|
designerConfig: {
|
12
12
|
defaultProps: react_1.default.createElement(placeholder_1.Placeholder, null),
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { SpinProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
export declare const Spin: React.ForwardRefExoticComponent<SpinProps & import("@
|
3
|
+
export declare const Spin: React.ForwardRefExoticComponent<SpinProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Spin = 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 SpinDesigner(_a) {
|
10
|
-
var { children, spinning } = _a, _b =
|
10
|
+
var { children, spinning } = _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", "spinning", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
11
11
|
const spinRef = (0, react_1.useRef)(null);
|
12
12
|
(0, react_1.useEffect)(() => {
|
13
13
|
Promise.resolve().then(() => {
|
@@ -25,7 +25,7 @@ function SpinDesigner(_a) {
|
|
25
25
|
// data-id={dataId}
|
26
26
|
style: style }, rest), children)));
|
27
27
|
}
|
28
|
-
exports.Spin = (0,
|
28
|
+
exports.Spin = (0, boot_1.defineComponent)(antd_1.Spin, {
|
29
29
|
name: 'Spin',
|
30
30
|
designerConfig: {
|
31
31
|
render({ designerProps, originalProps }) {
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Statistic = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const antd_1 = require("antd");
|
6
|
-
//import { defineComponent } from '@
|
6
|
+
//import { defineComponent } from '@cuvp1225/boot';
|
7
7
|
const react_1 = tslib_1.__importDefault(require("react"));
|
8
|
-
const
|
8
|
+
const helpers_1 = require("@cuvp1225/helpers");
|
9
9
|
const Statistic = (_a) => {
|
10
|
-
var _b =
|
10
|
+
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 + ""]);
|
11
11
|
const newProps = Object.assign(Object.assign({}, rest), { draggable: true });
|
12
12
|
return (react_1.default.createElement("div", { "data-dnd": dataDnd, "data-id": dataId, draggable: true },
|
13
13
|
react_1.default.createElement(antd_1.Statistic, Object.assign({}, rest))));
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { SwitchProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
export declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchProps & React.RefAttributes<HTMLElement> & import("@
|
3
|
+
export declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchProps & React.RefAttributes<HTMLElement> & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Switch = 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 SwitchDesigner(_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 switchRef = (0, react_1.useRef)(null);
|
12
12
|
(0, react_1.useEffect)(() => {
|
13
13
|
Promise.resolve().then(() => {
|
@@ -23,7 +23,7 @@ function SwitchDesigner(_a) {
|
|
23
23
|
return (react_1.default.createElement("div", { ref: switchRef },
|
24
24
|
react_1.default.createElement(antd_1.Switch, Object.assign({ "data-dnd": dataDnd, "data-id": dataId, style: style }, rest))));
|
25
25
|
}
|
26
|
-
exports.Switch = (0,
|
26
|
+
exports.Switch = (0, boot_1.defineComponent)(antd_1.Switch, {
|
27
27
|
name: 'Switch',
|
28
28
|
designerConfig: {
|
29
29
|
render({ designerProps, originalProps }) {
|
@@ -4,4 +4,4 @@ export declare const Table: React.ForwardRefExoticComponent<Omit<TableProps<obje
|
|
4
4
|
children?: React.ReactNode;
|
5
5
|
} & {
|
6
6
|
ref?: React.Ref<HTMLDivElement> | undefined;
|
7
|
-
} & import("@
|
7
|
+
} & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Table = 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 TableDesigner(_a) {
|
10
|
-
var { children, columns, dataSource } = _a, _b =
|
10
|
+
var { children, columns, dataSource } = _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", "columns", "dataSource", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
11
11
|
const tableRef = (0, react_1.useRef)(null);
|
12
12
|
(0, react_1.useEffect)(() => {
|
13
13
|
Promise.resolve().then(() => {
|
@@ -26,7 +26,7 @@ function TableDesigner(_a) {
|
|
26
26
|
// data-id={dataId}
|
27
27
|
style: style }, rest), children)));
|
28
28
|
}
|
29
|
-
exports.Table = (0,
|
29
|
+
exports.Table = (0, boot_1.defineComponent)(antd_1.Table, {
|
30
30
|
name: 'Table',
|
31
31
|
designerConfig: {
|
32
32
|
render({ designerProps, originalProps }) {
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { TabsProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
export declare const unTabs: React.ForwardRefExoticComponent<TabsProps & import("@
|
3
|
+
export declare const unTabs: React.ForwardRefExoticComponent<TabsProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.unTabs = 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 TabsDesigner(_a) {
|
10
|
-
var { children } = _a, _b =
|
10
|
+
var { children } = _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", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
11
11
|
(0, react_1.useEffect)(() => {
|
12
12
|
Promise.resolve().then(() => {
|
13
13
|
const popoverNode = document.querySelector(`.${dataId}`);
|
@@ -21,7 +21,7 @@ function TabsDesigner(_a) {
|
|
21
21
|
}, [dataDnd, dataId]);
|
22
22
|
return (react_1.default.createElement(antd_1.Tabs, Object.assign({ className: dataId, "data-dnd": dataDnd, "data-id": dataId, style: style }, rest), children));
|
23
23
|
}
|
24
|
-
exports.unTabs = (0,
|
24
|
+
exports.unTabs = (0, boot_1.defineComponent)(antd_1.Tabs, {
|
25
25
|
name: 'Tabs',
|
26
26
|
designerConfig: {
|
27
27
|
render({ designerProps, originalProps }) {
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { TagProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
export declare const Tag: React.ForwardRefExoticComponent<Omit<TagProps & React.RefAttributes<HTMLElement> & import("@
|
3
|
+
export declare const Tag: React.ForwardRefExoticComponent<Omit<TagProps & React.RefAttributes<HTMLElement> & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Tag = 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 TagDesigner(_a) {
|
10
|
-
var { children } = _a, _b =
|
10
|
+
var { children } = _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", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
11
11
|
const tagRef = (0, react_1.useRef)(null);
|
12
12
|
(0, react_1.useEffect)(() => {
|
13
13
|
Promise.resolve().then(() => {
|
@@ -22,7 +22,7 @@ function TagDesigner(_a) {
|
|
22
22
|
return (react_1.default.createElement("div", { ref: tagRef },
|
23
23
|
react_1.default.createElement(antd_1.Tag, Object.assign({ className: dataId, "data-dnd": dataDnd, "data-id": dataId, style: style }, rest), children)));
|
24
24
|
}
|
25
|
-
exports.Tag = (0,
|
25
|
+
exports.Tag = (0, boot_1.defineComponent)(antd_1.Tag, {
|
26
26
|
name: 'Tag',
|
27
27
|
designerConfig: {
|
28
28
|
render({ designerProps, originalProps }) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { ComponentPrototypeType } from '@
|
2
|
+
import { ComponentPrototypeType } from '@cuvp1225/helpers';
|
3
3
|
import { ButtonProps } from 'antd';
|
4
4
|
export interface TangoEventButtonProps extends ButtonProps {
|
5
5
|
payload?: {
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TangoEventButton = TangoEventButton;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
6
|
-
const
|
6
|
+
const helpers_1 = require("@cuvp1225/helpers");
|
7
7
|
const antd_1 = require("antd");
|
8
8
|
function TangoEventButton(_a) {
|
9
9
|
var { payload, children } = _a, rest = tslib_1.__rest(_a, ["payload", "children"]);
|
@@ -17,6 +17,6 @@ function TangoEventButton(_a) {
|
|
17
17
|
clientX: e.clientX,
|
18
18
|
clientY: e.clientY,
|
19
19
|
};
|
20
|
-
(0,
|
20
|
+
(0, helpers_1.dispatchTangoEvent)(e.target, helpers_1.TangoEventName.DesignerAction, Object.assign(Object.assign({}, payload), { meta }));
|
21
21
|
} }, rest), children));
|
22
22
|
}
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { TimePickerProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
export declare const TimePicker: React.ForwardRefExoticComponent<Omit<TimePickerProps & React.RefAttributes<any> & import("@
|
3
|
+
export declare const TimePicker: React.ForwardRefExoticComponent<Omit<TimePickerProps & React.RefAttributes<any> & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TimePicker = 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 TimePickerDesigner(_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 timePickerRef = (0, react_1.useRef)(null);
|
12
12
|
(0, react_1.useEffect)(() => {
|
13
13
|
Promise.resolve().then(() => {
|
@@ -22,7 +22,7 @@ function TimePickerDesigner(_a) {
|
|
22
22
|
}, [dataDnd, dataId]);
|
23
23
|
return (react_1.default.createElement(antd_1.TimePicker, Object.assign({ className: dataId, "data-dnd": dataDnd, "data-id": dataId, style: style }, rest)));
|
24
24
|
}
|
25
|
-
exports.TimePicker = (0,
|
25
|
+
exports.TimePicker = (0, boot_1.defineComponent)(antd_1.TimePicker, {
|
26
26
|
name: 'TimePicker',
|
27
27
|
designerConfig: {
|
28
28
|
render({ designerProps, originalProps }) {
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { TimelineProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
export declare const Timeline: React.ForwardRefExoticComponent<TimelineProps & import("@
|
4
|
-
export declare const TimelineItem: React.ForwardRefExoticComponent<import("antd").TimelineItemProps & import("@
|
3
|
+
export declare const Timeline: React.ForwardRefExoticComponent<TimelineProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
4
|
+
export declare const TimelineItem: React.ForwardRefExoticComponent<import("antd").TimelineItemProps & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
@@ -2,13 +2,13 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.TimelineItem = exports.Timeline = 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
|
const MemoizedTimeline = react_1.default.memo(antd_1.Timeline);
|
9
|
-
exports.Timeline = (0,
|
9
|
+
exports.Timeline = (0, boot_1.defineComponent)(MemoizedTimeline, {
|
10
10
|
name: 'Timeline',
|
11
11
|
});
|
12
|
-
exports.TimelineItem = (0,
|
12
|
+
exports.TimelineItem = (0, boot_1.defineComponent)(antd_1.Timeline.Item, {
|
13
13
|
name: 'TimelineItem',
|
14
14
|
});
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { TransferProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
export declare const Transfer: React.ForwardRefExoticComponent<TransferProps<import("antd/lib/transfer").TransferItem> & import("@
|
3
|
+
export declare const Transfer: React.ForwardRefExoticComponent<TransferProps<import("antd/lib/transfer").TransferItem> & import("@cuvp1225/boot").TangoComponentProps & React.RefAttributes<unknown>>;
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Transfer = 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 TransferDesigner(_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 transferRef = (0, react_1.useRef)(null);
|
12
12
|
(0, react_1.useEffect)(() => {
|
13
13
|
Promise.resolve().then(() => {
|
@@ -22,7 +22,7 @@ function TransferDesigner(_a) {
|
|
22
22
|
return (react_1.default.createElement("div", { ref: transferRef },
|
23
23
|
react_1.default.createElement(antd_1.Transfer, Object.assign({ className: dataId, "data-dnd": dataDnd, "data-id": dataId }, rest))));
|
24
24
|
}
|
25
|
-
exports.Transfer = (0,
|
25
|
+
exports.Transfer = (0, boot_1.defineComponent)(antd_1.Transfer, {
|
26
26
|
name: 'Transfer',
|
27
27
|
designerConfig: {
|
28
28
|
render({ designerProps, originalProps }) {
|
@@ -4,4 +4,4 @@ export declare const TreeSelect: React.ForwardRefExoticComponent<Omit<TreeSelect
|
|
4
4
|
children?: React.ReactNode;
|
5
5
|
} & {
|
6
6
|
ref?: React.Ref<import("antd").RefSelectProps> | undefined;
|
7
|
-
} & import("@
|
7
|
+
} & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TreeSelect = 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 TreeSelectDesigner(_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 treeselectRef = (0, react_1.useRef)(null);
|
12
12
|
(0, react_1.useEffect)(() => {
|
13
13
|
Promise.resolve().then(() => {
|
@@ -23,7 +23,7 @@ function TreeSelectDesigner(_a) {
|
|
23
23
|
return (react_1.default.createElement("div", { ref: treeselectRef },
|
24
24
|
react_1.default.createElement(antd_1.TreeSelect, Object.assign({ className: dataId, "data-dnd": dataDnd, "data-id": dataId, style: style }, rest))));
|
25
25
|
}
|
26
|
-
exports.TreeSelect = (0,
|
26
|
+
exports.TreeSelect = (0, boot_1.defineComponent)(antd_1.TreeSelect, {
|
27
27
|
name: 'TreeSelect',
|
28
28
|
designerConfig: {
|
29
29
|
render({ designerProps, originalProps }) {
|
@@ -4,4 +4,4 @@ export declare const Tree: React.ForwardRefExoticComponent<Omit<TreeProps<import
|
|
4
4
|
children?: React.ReactNode | undefined;
|
5
5
|
} & {
|
6
6
|
ref?: React.Ref<import("rc-tree").default>;
|
7
|
-
} & import("@
|
7
|
+
} & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Tree = 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 TreeDesigner(_a) {
|
10
|
-
var { children } = _a, _b =
|
10
|
+
var { children } = _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", typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
11
11
|
(0, react_1.useEffect)(() => {
|
12
12
|
Promise.resolve().then(() => {
|
13
13
|
const popoverNode = document.querySelector(`.${dataId}`);
|
@@ -21,7 +21,7 @@ function TreeDesigner(_a) {
|
|
21
21
|
}, [dataDnd, dataId]);
|
22
22
|
return (react_1.default.createElement(antd_1.Tree, Object.assign({ className: dataId, "data-dnd": dataDnd, "data-id": dataId, style: style }, rest), children));
|
23
23
|
}
|
24
|
-
exports.Tree = (0,
|
24
|
+
exports.Tree = (0, boot_1.defineComponent)(antd_1.Tree, {
|
25
25
|
name: 'Tree',
|
26
26
|
designerConfig: {
|
27
27
|
render({ designerProps, originalProps }) {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Typography as AntTypography } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
export declare const Title: React.ForwardRefExoticComponent<Omit<import("antd/lib/typography/Title").TitleProps & React.RefAttributes<HTMLElement> & import("@
|
4
|
-
export declare const Text: React.ForwardRefExoticComponent<Omit<import("antd/lib/typography/Text").TextProps & React.RefAttributes<HTMLSpanElement> & import("@
|
5
|
-
export declare const Paragraph: React.ForwardRefExoticComponent<Omit<import("antd/lib/typography/Paragraph").ParagraphProps & React.RefAttributes<HTMLElement> & import("@
|
3
|
+
export declare const Title: React.ForwardRefExoticComponent<Omit<import("antd/lib/typography/Title").TitleProps & React.RefAttributes<HTMLElement> & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
4
|
+
export declare const Text: React.ForwardRefExoticComponent<Omit<import("antd/lib/typography/Text").TextProps & React.RefAttributes<HTMLSpanElement> & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
5
|
+
export declare const Paragraph: React.ForwardRefExoticComponent<Omit<import("antd/lib/typography/Paragraph").ParagraphProps & React.RefAttributes<HTMLElement> & import("@cuvp1225/boot").TangoComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
6
6
|
type TypographyComponent = React.ForwardRefExoticComponent<any & React.RefAttributes<React.ReactElement>> & {
|
7
7
|
Title: typeof Title;
|
8
8
|
Paragraph: typeof Paragraph;
|
@@ -2,20 +2,20 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.Typography = exports.Paragraph = exports.Text = exports.Title = 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
|
const placeholder_1 = require("./placeholder");
|
9
|
-
exports.Title = (0,
|
9
|
+
exports.Title = (0, boot_1.defineComponent)(antd_1.Typography.Title, {
|
10
10
|
name: 'Title',
|
11
11
|
});
|
12
|
-
exports.Text = (0,
|
12
|
+
exports.Text = (0, boot_1.defineComponent)(antd_1.Typography.Text, {
|
13
13
|
name: 'Text',
|
14
14
|
});
|
15
|
-
exports.Paragraph = (0,
|
15
|
+
exports.Paragraph = (0, boot_1.defineComponent)(antd_1.Typography.Paragraph, {
|
16
16
|
name: 'Paragraph',
|
17
17
|
});
|
18
|
-
exports.Typography = (0,
|
18
|
+
exports.Typography = (0, boot_1.defineComponent)(antd_1.Typography, {
|
19
19
|
name: 'Typography',
|
20
20
|
designerConfig: {
|
21
21
|
defaultProps: {
|