@teamix/pro 1.0.22 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all.css +1 -1
- package/dist/all.js +12421 -13334
- package/dist/all.min.css +1 -1
- package/dist/all.min.js +1 -1
- package/es/actions/base.d.ts +13 -0
- package/es/actions/base.js +23 -0
- package/es/actions/confirm.d.ts +7 -0
- package/es/actions/confirm.js +11 -0
- package/es/actions/danger-confirm.d.ts +7 -0
- package/es/actions/danger-confirm.js +14 -0
- package/es/actions/dialog-component.d.ts +10 -0
- package/es/actions/dialog-component.js +25 -0
- package/es/actions/dialog-form.d.ts +15 -0
- package/es/actions/dialog-form.js +129 -0
- package/es/actions/dialog-table.d.ts +4 -0
- package/es/actions/dialog-table.js +1 -0
- package/es/actions/dialog.d.ts +17 -0
- package/es/actions/dialog.js +197 -0
- package/es/actions/drawer-form.d.ts +6 -0
- package/es/actions/drawer-form.js +7 -0
- package/es/actions/drawer-table.d.ts +2 -0
- package/es/actions/drawer-table.js +1 -0
- package/es/actions/drawer.d.ts +6 -0
- package/es/actions/drawer.js +7 -0
- package/es/actions/error.d.ts +7 -0
- package/es/actions/error.js +11 -0
- package/es/actions/index.d.ts +76 -0
- package/es/actions/index.js +317 -0
- package/es/actions/index.scss +34 -0
- package/es/actions/link.d.ts +14 -0
- package/es/actions/link.js +45 -0
- package/es/actions/notice.d.ts +7 -0
- package/es/actions/notice.js +11 -0
- package/es/actions/request.d.ts +9 -0
- package/es/actions/request.js +60 -0
- package/es/card/index.d.ts +30 -0
- package/es/card/index.js +159 -0
- package/es/card/index.scss +98 -0
- package/es/field/index.d.ts +3 -0
- package/es/field/index.js +3 -0
- package/es/form/Components/Editable/index.d.ts +20 -0
- package/es/form/Components/Editable/index.js +228 -0
- package/es/form/Components/FormGroup/index.d.ts +13 -0
- package/es/form/Components/FormGroup/index.js +89 -0
- package/es/form/Components/FormGroup/index.scss +23 -0
- package/es/form/Components/ProField/index.d.ts +150 -0
- package/es/form/Components/ProField/index.js +53 -0
- package/es/form/Components/Query/index.d.ts +4 -0
- package/es/form/Components/Query/index.js +70 -0
- package/es/form/Components/Query/index.scss +90 -0
- package/es/form/Components/QueryFilter/index.d.ts +3 -0
- package/es/form/Components/QueryFilter/index.js +111 -0
- package/es/form/Components/Search/index.d.ts +11 -0
- package/es/form/Components/Search/index.js +89 -0
- package/es/form/Filter/index.d.ts +16 -0
- package/es/form/Filter/index.js +218 -0
- package/es/form/ProForm/index.d.ts +5 -0
- package/es/form/ProForm/index.js +100 -0
- package/es/form/ProForm/index.scss +248 -0
- package/es/form/SchemaForm/adapterComponent.d.ts +5 -0
- package/es/form/SchemaForm/adapterComponent.js +17 -0
- package/es/form/SchemaForm/adapterDecorator.d.ts +6 -0
- package/es/form/SchemaForm/adapterDecorator.js +28 -0
- package/es/form/SchemaForm/adapterType.d.ts +5 -0
- package/es/form/SchemaForm/adapterType.js +54 -0
- package/es/form/SchemaForm/index.d.ts +4 -0
- package/es/form/SchemaForm/index.js +258 -0
- package/es/form/SchemaForm/initializeArrayCards.d.ts +3 -0
- package/es/form/SchemaForm/initializeArrayCards.js +69 -0
- package/es/form/SchemaForm/initializeArrayCollapse.d.ts +3 -0
- package/es/form/SchemaForm/initializeArrayCollapse.js +78 -0
- package/es/form/SchemaForm/initializeArrayIcon.d.ts +3 -0
- package/es/form/SchemaForm/initializeArrayIcon.js +50 -0
- package/es/form/SchemaForm/initializeArrayItems.d.ts +3 -0
- package/es/form/SchemaForm/initializeArrayItems.js +97 -0
- package/es/form/SchemaForm/initializeArrayTable.d.ts +3 -0
- package/es/form/SchemaForm/initializeArrayTable.js +66 -0
- package/es/form/SchemaForm/initializeFormButton.d.ts +3 -0
- package/es/form/SchemaForm/initializeFormButton.js +75 -0
- package/es/form/SchemaForm/initializeFormCollapse.d.ts +3 -0
- package/es/form/SchemaForm/initializeFormCollapse.js +43 -0
- package/es/form/SchemaForm/initializeFormGroup.d.ts +3 -0
- package/es/form/SchemaForm/initializeFormGroup.js +46 -0
- package/es/form/SchemaForm/initializeFormStep.d.ts +3 -0
- package/es/form/SchemaForm/initializeFormStep.js +48 -0
- package/es/form/SchemaForm/initializeFormTab.d.ts +3 -0
- package/es/form/SchemaForm/initializeFormTab.js +53 -0
- package/es/form/SchemaForm/initializeProField.d.ts +5 -0
- package/es/form/SchemaForm/initializeProField.js +69 -0
- package/es/form/SchemaForm/initializeRequest.d.ts +11 -0
- package/es/form/SchemaForm/initializeRequest.js +25 -0
- package/es/form/SchemaForm/reactions.d.ts +4 -0
- package/es/form/SchemaForm/reactions.js +62 -0
- package/es/form/index.d.ts +20 -0
- package/es/form/index.js +24 -0
- package/es/form/typing.d.ts +78 -0
- package/es/form/typing.js +1 -0
- package/es/form/utils.d.ts +9 -0
- package/es/form/utils.js +108 -0
- package/es/form/warning.d.ts +3 -0
- package/es/form/warning.js +20 -0
- package/es/hooks/index.d.ts +2 -0
- package/es/hooks/index.js +2 -0
- package/es/index.d.ts +24 -22
- package/es/index.js +25 -23
- package/es/info/components/FormItem/index.d.ts +5 -0
- package/es/info/components/FormItem/index.js +63 -0
- package/es/info/components/FormItem/index.scss +49 -0
- package/es/info/components/InfoGroup/index.d.ts +5 -0
- package/es/info/components/InfoGroup/index.js +16 -0
- package/es/info/components/InfoGroup/index.scss +8 -0
- package/es/info/components/InfoValueItem/index.d.ts +5 -0
- package/es/info/components/InfoValueItem/index.js +211 -0
- package/es/info/components/InfoValueItem/index.scss +21 -0
- package/es/info/components/baseInfo/index.d.ts +7 -0
- package/es/info/components/baseInfo/index.js +72 -0
- package/es/info/components/baseInfo/index.scss +3 -0
- package/es/info/components/headerInfo/index.d.ts +7 -0
- package/es/info/components/headerInfo/index.js +84 -0
- package/es/info/components/headerInfo/index.scss +0 -0
- package/es/info/components/tableInfo/index.d.ts +8 -0
- package/es/info/components/tableInfo/index.js +172 -0
- package/es/info/components/tableInfo/index.scss +18 -0
- package/es/info/index.d.ts +9 -0
- package/es/info/index.js +85 -0
- package/es/info/index.scss +8 -0
- package/es/info/typing.d.ts +143 -0
- package/es/info/typing.js +1 -0
- package/es/info/utils/index.d.ts +3 -0
- package/es/info/utils/index.js +12 -0
- package/es/info/utils/layout.d.ts +2 -0
- package/es/info/utils/layout.js +58 -0
- package/es/info/utils/useInfoRequest.d.ts +14 -0
- package/es/info/utils/useInfoRequest.js +73 -0
- package/es/info/utils/utils.d.ts +1 -0
- package/es/info/utils/utils.js +13 -0
- package/es/layout/index.d.ts +3 -0
- package/es/layout/index.js +3 -0
- package/es/nocode/configurators/Card.d.ts +3 -0
- package/es/nocode/configurators/Card.js +109 -0
- package/es/nocode/configurators/PageHeader.d.ts +3 -0
- package/es/nocode/configurators/PageHeader.js +196 -0
- package/es/nocode/configurators/ProTable.d.ts +3 -0
- package/es/nocode/configurators/ProTable.js +317 -0
- package/es/nocode/configurators/common.d.ts +176 -0
- package/es/nocode/configurators/common.js +314 -0
- package/es/nocode/configurators/index.d.ts +15 -0
- package/es/nocode/configurators/index.js +27 -0
- package/es/nocode/configurators/map.d.ts +2 -0
- package/es/nocode/configurators/map.js +8 -0
- package/es/nocode/index.d.ts +8 -0
- package/es/nocode/index.js +11 -0
- package/es/nocode/index.scss +93 -0
- package/es/nocode/pages/editor.d.ts +12 -0
- package/es/nocode/pages/editor.js +40 -0
- package/es/nocode/pages/index.d.ts +14 -0
- package/es/nocode/pages/index.js +41 -0
- package/es/nocode/pages/playground.d.ts +11 -0
- package/es/nocode/pages/playground.js +130 -0
- package/es/nocode/pages/renderer.d.ts +10 -0
- package/es/nocode/pages/renderer.js +144 -0
- package/es/nocode/playground.d.ts +14 -0
- package/es/nocode/playground.js +68 -0
- package/es/page-container/index.d.ts +3 -0
- package/es/page-container/index.js +3 -0
- package/es/page-header/index.d.ts +42 -0
- package/es/page-header/index.js +222 -0
- package/es/page-header/index.scss +171 -0
- package/es/skeleton/index.d.ts +3 -0
- package/es/skeleton/index.js +3 -0
- package/es/table/components/Filter/index.d.ts +9 -0
- package/es/table/components/Filter/index.js +231 -0
- package/es/table/components/Filter/index.scss +23 -0
- package/es/table/components/Layout/index.d.ts +5 -0
- package/es/table/components/Layout/index.js +241 -0
- package/es/table/components/Layout/index.scss +39 -0
- package/es/table/components/QuickAction/index.d.ts +10 -0
- package/es/table/components/QuickAction/index.js +53 -0
- package/es/table/components/QuickAction/index.scss +0 -0
- package/es/table/components/ToolBar/DensityIcon.d.ts +4 -0
- package/es/table/components/ToolBar/DensityIcon.js +117 -0
- package/es/table/components/ToolBar/FilterColumnIcon.d.ts +4 -0
- package/es/table/components/ToolBar/FilterColumnIcon.js +284 -0
- package/es/table/components/ToolBar/FullScreenIcon.d.ts +4 -0
- package/es/table/components/ToolBar/FullScreenIcon.js +89 -0
- package/es/table/components/ToolBar/Fullscreen.d.ts +10 -0
- package/es/table/components/ToolBar/Fullscreen.js +68 -0
- package/es/table/components/ToolBar/RefreshIcon.d.ts +4 -0
- package/es/table/components/ToolBar/RefreshIcon.js +45 -0
- package/es/table/components/ToolBar/index.d.ts +5 -0
- package/es/table/components/ToolBar/index.js +79 -0
- package/es/table/components/ToolBar/index.scss +110 -0
- package/es/table/index.d.ts +7 -0
- package/es/table/index.js +620 -0
- package/es/table/index.scss +104 -0
- package/es/table/typing.d.ts +222 -0
- package/es/table/typing.js +1 -0
- package/es/table/utils/columnRender.d.ts +13 -0
- package/es/table/utils/columnRender.js +185 -0
- package/es/table/utils/genProColumnToColumn.d.ts +9 -0
- package/es/table/utils/genProColumnToColumn.js +51 -0
- package/es/table/utils/getTableProps.d.ts +2 -0
- package/es/table/utils/getTableProps.js +4 -0
- package/es/table/utils/getTableSortIcons.d.ts +3 -0
- package/es/table/utils/getTableSortIcons.js +21 -0
- package/es/table/utils/index.d.ts +4 -0
- package/es/table/utils/index.js +100 -0
- package/es/table/utils/useTableSelection.d.ts +3 -0
- package/es/table/utils/useTableSelection.js +107 -0
- package/es/templates/Detail/index.d.ts +2 -0
- package/es/templates/Detail/index.js +5 -0
- package/es/templates/Detail/index.scss +3 -0
- package/es/templates/Form/index.d.ts +2 -0
- package/es/templates/Form/index.js +5 -0
- package/es/templates/Form/index.scss +3 -0
- package/es/templates/List/index.d.ts +9 -0
- package/es/templates/List/index.js +45 -0
- package/es/templates/List/index.scss +3 -0
- package/es/templates/index.d.ts +5 -0
- package/es/templates/index.js +7 -0
- package/es/templates/index.scss +3 -0
- package/es/utils/index.d.ts +2 -0
- package/es/utils/index.js +2 -0
- package/lib/actions/base.d.ts +13 -0
- package/lib/actions/base.js +33 -0
- package/lib/actions/confirm.d.ts +7 -0
- package/lib/actions/confirm.js +25 -0
- package/lib/actions/danger-confirm.d.ts +7 -0
- package/lib/actions/danger-confirm.js +28 -0
- package/lib/actions/dialog-component.d.ts +10 -0
- package/lib/actions/dialog-component.js +39 -0
- package/lib/actions/dialog-form.d.ts +15 -0
- package/lib/actions/dialog-form.js +152 -0
- package/lib/actions/dialog-table.d.ts +4 -0
- package/lib/actions/dialog-table.js +5 -0
- package/lib/actions/dialog.d.ts +17 -0
- package/lib/actions/dialog.js +219 -0
- package/lib/actions/drawer-form.d.ts +6 -0
- package/lib/actions/drawer-form.js +18 -0
- package/lib/actions/drawer-table.d.ts +2 -0
- package/lib/actions/drawer-table.js +5 -0
- package/lib/actions/drawer.d.ts +6 -0
- package/lib/actions/drawer.js +20 -0
- package/lib/actions/error.d.ts +7 -0
- package/lib/actions/error.js +25 -0
- package/lib/actions/index.d.ts +76 -0
- package/lib/actions/index.js +356 -0
- package/lib/actions/index.scss +34 -0
- package/lib/actions/link.d.ts +14 -0
- package/lib/actions/link.js +60 -0
- package/lib/actions/notice.d.ts +7 -0
- package/lib/actions/notice.js +25 -0
- package/lib/actions/request.d.ts +9 -0
- package/lib/actions/request.js +75 -0
- package/lib/card/index.d.ts +30 -0
- package/lib/card/index.js +179 -0
- package/lib/card/index.scss +98 -0
- package/lib/field/index.d.ts +3 -0
- package/lib/field/index.js +30 -0
- package/lib/form/Components/Editable/index.d.ts +20 -0
- package/lib/form/Components/Editable/index.js +251 -0
- package/lib/form/Components/FormGroup/index.d.ts +13 -0
- package/lib/form/Components/FormGroup/index.js +103 -0
- package/lib/form/Components/FormGroup/index.scss +23 -0
- package/lib/form/Components/ProField/index.d.ts +150 -0
- package/lib/form/Components/ProField/index.js +68 -0
- package/lib/form/Components/Query/index.d.ts +4 -0
- package/lib/form/Components/Query/index.js +91 -0
- package/lib/form/Components/Query/index.scss +90 -0
- package/lib/form/Components/QueryFilter/index.d.ts +3 -0
- package/lib/form/Components/QueryFilter/index.js +130 -0
- package/lib/form/Components/Search/index.d.ts +11 -0
- package/lib/form/Components/Search/index.js +103 -0
- package/lib/form/Filter/index.d.ts +16 -0
- package/lib/form/Filter/index.js +242 -0
- package/lib/form/ProForm/index.d.ts +5 -0
- package/lib/form/ProForm/index.js +125 -0
- package/lib/form/ProForm/index.scss +248 -0
- package/lib/form/SchemaForm/adapterComponent.d.ts +5 -0
- package/lib/form/SchemaForm/adapterComponent.js +27 -0
- package/lib/form/SchemaForm/adapterDecorator.d.ts +6 -0
- package/lib/form/SchemaForm/adapterDecorator.js +34 -0
- package/lib/form/SchemaForm/adapterType.d.ts +5 -0
- package/lib/form/SchemaForm/adapterType.js +64 -0
- package/lib/form/SchemaForm/index.d.ts +4 -0
- package/lib/form/SchemaForm/index.js +301 -0
- package/lib/form/SchemaForm/initializeArrayCards.d.ts +3 -0
- package/lib/form/SchemaForm/initializeArrayCards.js +76 -0
- package/lib/form/SchemaForm/initializeArrayCollapse.d.ts +3 -0
- package/lib/form/SchemaForm/initializeArrayCollapse.js +85 -0
- package/lib/form/SchemaForm/initializeArrayIcon.d.ts +3 -0
- package/lib/form/SchemaForm/initializeArrayIcon.js +61 -0
- package/lib/form/SchemaForm/initializeArrayItems.d.ts +3 -0
- package/lib/form/SchemaForm/initializeArrayItems.js +104 -0
- package/lib/form/SchemaForm/initializeArrayTable.d.ts +3 -0
- package/lib/form/SchemaForm/initializeArrayTable.js +73 -0
- package/lib/form/SchemaForm/initializeFormButton.d.ts +3 -0
- package/lib/form/SchemaForm/initializeFormButton.js +82 -0
- package/lib/form/SchemaForm/initializeFormCollapse.d.ts +3 -0
- package/lib/form/SchemaForm/initializeFormCollapse.js +50 -0
- package/lib/form/SchemaForm/initializeFormGroup.d.ts +3 -0
- package/lib/form/SchemaForm/initializeFormGroup.js +53 -0
- package/lib/form/SchemaForm/initializeFormStep.d.ts +3 -0
- package/lib/form/SchemaForm/initializeFormStep.js +55 -0
- package/lib/form/SchemaForm/initializeFormTab.d.ts +3 -0
- package/lib/form/SchemaForm/initializeFormTab.js +60 -0
- package/lib/form/SchemaForm/initializeProField.d.ts +5 -0
- package/lib/form/SchemaForm/initializeProField.js +76 -0
- package/lib/form/SchemaForm/initializeRequest.d.ts +11 -0
- package/lib/form/SchemaForm/initializeRequest.js +34 -0
- package/lib/form/SchemaForm/reactions.d.ts +4 -0
- package/lib/form/SchemaForm/reactions.js +72 -0
- package/lib/form/index.d.ts +20 -0
- package/lib/form/index.js +149 -0
- package/lib/form/typing.d.ts +78 -0
- package/lib/form/typing.js +5 -0
- package/lib/form/utils.d.ts +9 -0
- package/lib/form/utils.js +124 -0
- package/lib/form/warning.d.ts +3 -0
- package/lib/form/warning.js +28 -0
- package/lib/hooks/index.d.ts +2 -0
- package/lib/hooks/index.js +17 -0
- package/lib/index.d.ts +24 -22
- package/lib/index.js +84 -57
- package/lib/info/components/FormItem/index.d.ts +5 -0
- package/lib/info/components/FormItem/index.js +78 -0
- package/lib/info/components/FormItem/index.scss +49 -0
- package/lib/info/components/InfoGroup/index.d.ts +5 -0
- package/lib/info/components/InfoGroup/index.js +27 -0
- package/lib/info/components/InfoGroup/index.scss +8 -0
- package/lib/info/components/InfoValueItem/index.d.ts +5 -0
- package/lib/info/components/InfoValueItem/index.js +237 -0
- package/lib/info/components/InfoValueItem/index.scss +21 -0
- package/lib/info/components/baseInfo/index.d.ts +7 -0
- package/lib/info/components/baseInfo/index.js +99 -0
- package/lib/info/components/baseInfo/index.scss +3 -0
- package/lib/info/components/headerInfo/index.d.ts +7 -0
- package/lib/info/components/headerInfo/index.js +111 -0
- package/lib/info/components/headerInfo/index.scss +0 -0
- package/lib/info/components/tableInfo/index.d.ts +8 -0
- package/lib/info/components/tableInfo/index.js +193 -0
- package/lib/info/components/tableInfo/index.scss +18 -0
- package/lib/info/index.d.ts +9 -0
- package/lib/info/index.js +121 -0
- package/lib/info/index.scss +8 -0
- package/lib/info/typing.d.ts +143 -0
- package/lib/info/typing.js +5 -0
- package/lib/info/utils/index.d.ts +3 -0
- package/lib/info/utils/index.js +19 -0
- package/lib/info/utils/layout.d.ts +2 -0
- package/lib/info/utils/layout.js +65 -0
- package/lib/info/utils/useInfoRequest.d.ts +14 -0
- package/lib/info/utils/useInfoRequest.js +82 -0
- package/lib/info/utils/utils.d.ts +1 -0
- package/lib/info/utils/utils.js +20 -0
- package/lib/layout/index.d.ts +3 -0
- package/lib/layout/index.js +30 -0
- package/lib/nocode/configurators/Card.d.ts +3 -0
- package/lib/nocode/configurators/Card.js +116 -0
- package/lib/nocode/configurators/PageHeader.d.ts +3 -0
- package/lib/nocode/configurators/PageHeader.js +205 -0
- package/lib/nocode/configurators/ProTable.d.ts +3 -0
- package/lib/nocode/configurators/ProTable.js +326 -0
- package/lib/nocode/configurators/common.d.ts +176 -0
- package/lib/nocode/configurators/common.js +325 -0
- package/lib/nocode/configurators/index.d.ts +15 -0
- package/lib/nocode/configurators/index.js +44 -0
- package/lib/nocode/configurators/map.d.ts +2 -0
- package/lib/nocode/configurators/map.js +21 -0
- package/lib/nocode/index.d.ts +8 -0
- package/lib/nocode/index.js +76 -0
- package/lib/nocode/index.scss +93 -0
- package/lib/nocode/pages/editor.d.ts +12 -0
- package/lib/nocode/pages/editor.js +58 -0
- package/lib/nocode/pages/index.d.ts +14 -0
- package/lib/nocode/pages/index.js +93 -0
- package/lib/nocode/pages/playground.d.ts +11 -0
- package/lib/nocode/pages/playground.js +158 -0
- package/lib/nocode/pages/renderer.d.ts +10 -0
- package/lib/nocode/pages/renderer.js +164 -0
- package/lib/nocode/playground.d.ts +14 -0
- package/lib/nocode/playground.js +91 -0
- package/lib/page-container/index.d.ts +3 -0
- package/lib/page-container/index.js +30 -0
- package/lib/page-header/index.d.ts +42 -0
- package/lib/page-header/index.js +240 -0
- package/lib/page-header/index.scss +171 -0
- package/lib/skeleton/index.d.ts +3 -0
- package/lib/skeleton/index.js +30 -0
- package/lib/table/components/Filter/index.d.ts +9 -0
- package/lib/table/components/Filter/index.js +252 -0
- package/lib/table/components/Filter/index.scss +23 -0
- package/lib/table/components/Layout/index.d.ts +5 -0
- package/lib/table/components/Layout/index.js +265 -0
- package/lib/table/components/Layout/index.scss +39 -0
- package/lib/table/components/QuickAction/index.d.ts +10 -0
- package/lib/table/components/QuickAction/index.js +65 -0
- package/lib/table/components/QuickAction/index.scss +0 -0
- package/lib/table/components/ToolBar/DensityIcon.d.ts +4 -0
- package/lib/table/components/ToolBar/DensityIcon.js +135 -0
- package/lib/table/components/ToolBar/FilterColumnIcon.d.ts +4 -0
- package/lib/table/components/ToolBar/FilterColumnIcon.js +303 -0
- package/lib/table/components/ToolBar/FullScreenIcon.d.ts +4 -0
- package/lib/table/components/ToolBar/FullScreenIcon.js +107 -0
- package/lib/table/components/ToolBar/Fullscreen.d.ts +10 -0
- package/lib/table/components/ToolBar/Fullscreen.js +85 -0
- package/lib/table/components/ToolBar/RefreshIcon.d.ts +4 -0
- package/lib/table/components/ToolBar/RefreshIcon.js +60 -0
- package/lib/table/components/ToolBar/index.d.ts +5 -0
- package/lib/table/components/ToolBar/index.js +96 -0
- package/lib/table/components/ToolBar/index.scss +110 -0
- package/lib/table/index.d.ts +7 -0
- package/lib/table/index.js +681 -0
- package/lib/table/index.scss +104 -0
- package/lib/table/typing.d.ts +222 -0
- package/lib/table/typing.js +5 -0
- package/lib/table/utils/columnRender.d.ts +13 -0
- package/lib/table/utils/columnRender.js +201 -0
- package/lib/table/utils/genProColumnToColumn.d.ts +9 -0
- package/lib/table/utils/genProColumnToColumn.js +62 -0
- package/lib/table/utils/getTableProps.d.ts +2 -0
- package/lib/table/utils/getTableProps.js +13 -0
- package/lib/table/utils/getTableSortIcons.d.ts +3 -0
- package/lib/table/utils/getTableSortIcons.js +34 -0
- package/lib/table/utils/index.d.ts +4 -0
- package/lib/table/utils/index.js +112 -0
- package/lib/table/utils/useTableSelection.d.ts +3 -0
- package/lib/table/utils/useTableSelection.js +112 -0
- package/lib/templates/Detail/index.d.ts +2 -0
- package/lib/templates/Detail/index.js +18 -0
- package/lib/templates/Detail/index.scss +3 -0
- package/lib/templates/Form/index.d.ts +2 -0
- package/lib/templates/Form/index.js +18 -0
- package/lib/templates/Form/index.scss +3 -0
- package/lib/templates/List/index.d.ts +9 -0
- package/lib/templates/List/index.js +67 -0
- package/lib/templates/List/index.scss +3 -0
- package/lib/templates/index.d.ts +5 -0
- package/lib/templates/index.js +59 -0
- package/lib/templates/index.scss +3 -0
- package/lib/utils/index.d.ts +2 -0
- package/lib/utils/index.js +17 -0
- package/package.json +21 -11
package/lib/index.js
CHANGED
@@ -11,194 +11,221 @@ var _exportNames = {
|
|
11
11
|
ProCard: true,
|
12
12
|
ProField: true,
|
13
13
|
ProForm: true,
|
14
|
+
hooks: true,
|
15
|
+
ProInfo: true,
|
16
|
+
ProLayout: true,
|
14
17
|
ProPageContainer: true,
|
15
18
|
ProPageHeader: true,
|
16
|
-
ProSkeleton: true,
|
17
19
|
ProTable: true,
|
18
|
-
|
20
|
+
ProSkeleton: true,
|
21
|
+
utils: true,
|
19
22
|
nocode: true,
|
20
|
-
templates: true
|
21
|
-
utils: true
|
23
|
+
templates: true
|
22
24
|
};
|
23
25
|
Object.defineProperty(exports, "ProAction", {
|
24
26
|
enumerable: true,
|
25
27
|
get: function get() {
|
26
|
-
return
|
28
|
+
return _actions.default;
|
27
29
|
}
|
28
30
|
});
|
29
31
|
Object.defineProperty(exports, "ProCard", {
|
30
32
|
enumerable: true,
|
31
33
|
get: function get() {
|
32
|
-
return
|
34
|
+
return _card.default;
|
33
35
|
}
|
34
36
|
});
|
35
37
|
Object.defineProperty(exports, "ProField", {
|
36
38
|
enumerable: true,
|
37
39
|
get: function get() {
|
38
|
-
return
|
40
|
+
return _field.default;
|
39
41
|
}
|
40
42
|
});
|
41
43
|
Object.defineProperty(exports, "ProForm", {
|
42
44
|
enumerable: true,
|
43
45
|
get: function get() {
|
44
|
-
return
|
46
|
+
return _form.default;
|
47
|
+
}
|
48
|
+
});
|
49
|
+
Object.defineProperty(exports, "ProInfo", {
|
50
|
+
enumerable: true,
|
51
|
+
get: function get() {
|
52
|
+
return _info.default;
|
53
|
+
}
|
54
|
+
});
|
55
|
+
Object.defineProperty(exports, "ProLayout", {
|
56
|
+
enumerable: true,
|
57
|
+
get: function get() {
|
58
|
+
return _layout.default;
|
45
59
|
}
|
46
60
|
});
|
47
61
|
Object.defineProperty(exports, "ProPageContainer", {
|
48
62
|
enumerable: true,
|
49
63
|
get: function get() {
|
50
|
-
return
|
64
|
+
return _pageContainer.default;
|
51
65
|
}
|
52
66
|
});
|
53
67
|
Object.defineProperty(exports, "ProPageHeader", {
|
54
68
|
enumerable: true,
|
55
69
|
get: function get() {
|
56
|
-
return
|
70
|
+
return _pageHeader.default;
|
57
71
|
}
|
58
72
|
});
|
59
73
|
Object.defineProperty(exports, "ProSkeleton", {
|
60
74
|
enumerable: true,
|
61
75
|
get: function get() {
|
62
|
-
return
|
76
|
+
return _skeleton.default;
|
63
77
|
}
|
64
78
|
});
|
65
79
|
Object.defineProperty(exports, "ProTable", {
|
66
80
|
enumerable: true,
|
67
81
|
get: function get() {
|
68
|
-
return
|
82
|
+
return _table.default;
|
83
|
+
}
|
84
|
+
});
|
85
|
+
Object.defineProperty(exports, "hooks", {
|
86
|
+
enumerable: true,
|
87
|
+
get: function get() {
|
88
|
+
return _hooks.default;
|
69
89
|
}
|
70
90
|
});
|
71
|
-
exports.
|
91
|
+
exports.templates = exports.nocode = void 0;
|
92
|
+
Object.defineProperty(exports, "utils", {
|
93
|
+
enumerable: true,
|
94
|
+
get: function get() {
|
95
|
+
return _utils.default;
|
96
|
+
}
|
97
|
+
});
|
98
|
+
exports.version = void 0;
|
72
99
|
|
73
|
-
var
|
100
|
+
var _actions = _interopRequireWildcard(require("./actions"));
|
74
101
|
|
75
|
-
Object.keys(
|
102
|
+
Object.keys(_actions).forEach(function (key) {
|
76
103
|
if (key === "default" || key === "__esModule") return;
|
77
104
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
78
|
-
if (key in exports && exports[key] ===
|
105
|
+
if (key in exports && exports[key] === _actions[key]) return;
|
79
106
|
Object.defineProperty(exports, key, {
|
80
107
|
enumerable: true,
|
81
108
|
get: function get() {
|
82
|
-
return
|
109
|
+
return _actions[key];
|
83
110
|
}
|
84
111
|
});
|
85
112
|
});
|
86
113
|
|
87
|
-
var
|
114
|
+
var _card = _interopRequireWildcard(require("./card"));
|
88
115
|
|
89
|
-
Object.keys(
|
116
|
+
Object.keys(_card).forEach(function (key) {
|
90
117
|
if (key === "default" || key === "__esModule") return;
|
91
118
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
92
|
-
if (key in exports && exports[key] ===
|
119
|
+
if (key in exports && exports[key] === _card[key]) return;
|
93
120
|
Object.defineProperty(exports, key, {
|
94
121
|
enumerable: true,
|
95
122
|
get: function get() {
|
96
|
-
return
|
123
|
+
return _card[key];
|
97
124
|
}
|
98
125
|
});
|
99
126
|
});
|
100
127
|
|
101
|
-
var
|
128
|
+
var _field = _interopRequireWildcard(require("./field"));
|
102
129
|
|
103
|
-
Object.keys(
|
130
|
+
Object.keys(_field).forEach(function (key) {
|
104
131
|
if (key === "default" || key === "__esModule") return;
|
105
132
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
106
|
-
if (key in exports && exports[key] ===
|
133
|
+
if (key in exports && exports[key] === _field[key]) return;
|
107
134
|
Object.defineProperty(exports, key, {
|
108
135
|
enumerable: true,
|
109
136
|
get: function get() {
|
110
|
-
return
|
137
|
+
return _field[key];
|
111
138
|
}
|
112
139
|
});
|
113
140
|
});
|
114
141
|
|
115
|
-
var
|
142
|
+
var _form = _interopRequireWildcard(require("./form"));
|
116
143
|
|
117
|
-
Object.keys(
|
144
|
+
Object.keys(_form).forEach(function (key) {
|
118
145
|
if (key === "default" || key === "__esModule") return;
|
119
146
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
120
|
-
if (key in exports && exports[key] ===
|
147
|
+
if (key in exports && exports[key] === _form[key]) return;
|
121
148
|
Object.defineProperty(exports, key, {
|
122
149
|
enumerable: true,
|
123
150
|
get: function get() {
|
124
|
-
return
|
151
|
+
return _form[key];
|
125
152
|
}
|
126
153
|
});
|
127
154
|
});
|
128
155
|
|
129
|
-
var
|
156
|
+
var _hooks = _interopRequireDefault(require("./hooks"));
|
157
|
+
|
158
|
+
var _info = _interopRequireDefault(require("./info"));
|
130
159
|
|
131
|
-
|
160
|
+
var _layout = _interopRequireDefault(require("./layout"));
|
161
|
+
|
162
|
+
var _pageContainer = _interopRequireWildcard(require("./page-container"));
|
163
|
+
|
164
|
+
Object.keys(_pageContainer).forEach(function (key) {
|
132
165
|
if (key === "default" || key === "__esModule") return;
|
133
166
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
134
|
-
if (key in exports && exports[key] ===
|
167
|
+
if (key in exports && exports[key] === _pageContainer[key]) return;
|
135
168
|
Object.defineProperty(exports, key, {
|
136
169
|
enumerable: true,
|
137
170
|
get: function get() {
|
138
|
-
return
|
171
|
+
return _pageContainer[key];
|
139
172
|
}
|
140
173
|
});
|
141
174
|
});
|
142
175
|
|
143
|
-
var
|
176
|
+
var _pageHeader = _interopRequireWildcard(require("./page-header"));
|
144
177
|
|
145
|
-
Object.keys(
|
178
|
+
Object.keys(_pageHeader).forEach(function (key) {
|
146
179
|
if (key === "default" || key === "__esModule") return;
|
147
180
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
148
|
-
if (key in exports && exports[key] ===
|
181
|
+
if (key in exports && exports[key] === _pageHeader[key]) return;
|
149
182
|
Object.defineProperty(exports, key, {
|
150
183
|
enumerable: true,
|
151
184
|
get: function get() {
|
152
|
-
return
|
185
|
+
return _pageHeader[key];
|
153
186
|
}
|
154
187
|
});
|
155
188
|
});
|
156
189
|
|
157
|
-
var
|
190
|
+
var _table = _interopRequireWildcard(require("./table"));
|
158
191
|
|
159
|
-
Object.keys(
|
192
|
+
Object.keys(_table).forEach(function (key) {
|
160
193
|
if (key === "default" || key === "__esModule") return;
|
161
194
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
162
|
-
if (key in exports && exports[key] ===
|
195
|
+
if (key in exports && exports[key] === _table[key]) return;
|
163
196
|
Object.defineProperty(exports, key, {
|
164
197
|
enumerable: true,
|
165
198
|
get: function get() {
|
166
|
-
return
|
199
|
+
return _table[key];
|
167
200
|
}
|
168
201
|
});
|
169
202
|
});
|
170
203
|
|
171
|
-
var
|
204
|
+
var _skeleton = _interopRequireWildcard(require("./skeleton"));
|
172
205
|
|
173
|
-
Object.keys(
|
206
|
+
Object.keys(_skeleton).forEach(function (key) {
|
174
207
|
if (key === "default" || key === "__esModule") return;
|
175
208
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
176
|
-
if (key in exports && exports[key] ===
|
209
|
+
if (key in exports && exports[key] === _skeleton[key]) return;
|
177
210
|
Object.defineProperty(exports, key, {
|
178
211
|
enumerable: true,
|
179
212
|
get: function get() {
|
180
|
-
return
|
213
|
+
return _skeleton[key];
|
181
214
|
}
|
182
215
|
});
|
183
216
|
});
|
184
217
|
|
185
|
-
var
|
186
|
-
|
187
|
-
var hooks = _interopRequireWildcard(require("@teamix/hooks"));
|
218
|
+
var _utils = _interopRequireDefault(require("./utils"));
|
188
219
|
|
189
|
-
|
190
|
-
|
191
|
-
var nocode = _interopRequireWildcard(require("@teamix/nocode"));
|
220
|
+
var nocode = _interopRequireWildcard(require("./nocode"));
|
192
221
|
|
193
222
|
exports.nocode = nocode;
|
194
223
|
|
195
|
-
var templates = _interopRequireWildcard(require("
|
224
|
+
var templates = _interopRequireWildcard(require("./templates"));
|
196
225
|
|
197
226
|
exports.templates = templates;
|
198
227
|
|
199
|
-
var
|
200
|
-
|
201
|
-
exports.utils = utils;
|
228
|
+
var _icon = _interopRequireDefault(require("@teamix/icon"));
|
202
229
|
|
203
230
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
204
231
|
|
@@ -207,7 +234,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
207
234
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
208
235
|
|
209
236
|
// 设置图标源
|
210
|
-
_icon.default.setConfig(
|
237
|
+
_icon.default.setConfig(_utils.default.getTeamixIconConfig());
|
211
238
|
|
212
|
-
var version = '1.0.
|
239
|
+
var version = '1.0.25';
|
213
240
|
exports.version = version;
|
@@ -0,0 +1,78 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.default = void 0;
|
7
|
+
|
8
|
+
var _components = require("@alicloudfe/components");
|
9
|
+
|
10
|
+
var _ = require("../../..");
|
11
|
+
|
12
|
+
var _utils = require("@teamix/utils");
|
13
|
+
|
14
|
+
var _react = _interopRequireDefault(require("react"));
|
15
|
+
|
16
|
+
require("./index.scss");
|
17
|
+
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
19
|
+
|
20
|
+
var cls = (0, _utils.baseClass)('teamix-pro-field-info-form-item');
|
21
|
+
var Row = _components.Grid.Row,
|
22
|
+
Col = _components.Grid.Col;
|
23
|
+
|
24
|
+
var FormItem = function FormItem(prop) {
|
25
|
+
var value = prop.value,
|
26
|
+
label = prop.label,
|
27
|
+
baseInfoLayout = prop.baseInfoLayout,
|
28
|
+
headerInfoLayout = prop.headerInfoLayout,
|
29
|
+
loading = prop.loading,
|
30
|
+
tooltip = prop.tooltip,
|
31
|
+
tooltipIcon = prop.tooltipIcon;
|
32
|
+
|
33
|
+
if (baseInfoLayout) {
|
34
|
+
var labelCol = baseInfoLayout.labelCol,
|
35
|
+
wrapperCol = baseInfoLayout.wrapperCol;
|
36
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
37
|
+
className: cls()
|
38
|
+
}, /*#__PURE__*/_react.default.createElement(Row, null, /*#__PURE__*/_react.default.createElement(Col, {
|
39
|
+
span: labelCol.span,
|
40
|
+
className: cls('label')
|
41
|
+
}, /*#__PURE__*/_react.default.createElement(_utils.LabelIconTip, {
|
42
|
+
label: label,
|
43
|
+
tooltip: tooltip,
|
44
|
+
icon: tooltipIcon
|
45
|
+
})), /*#__PURE__*/_react.default.createElement(Col, {
|
46
|
+
span: wrapperCol.span,
|
47
|
+
className: cls('value')
|
48
|
+
}, loading && /*#__PURE__*/_react.default.createElement("div", {
|
49
|
+
style: {
|
50
|
+
width: '100%'
|
51
|
+
}
|
52
|
+
}, /*#__PURE__*/_react.default.createElement(_.BaseSkeleton.Info, null)), !loading && /*#__PURE__*/_react.default.createElement("div", null, value))));
|
53
|
+
}
|
54
|
+
|
55
|
+
if (headerInfoLayout) {
|
56
|
+
var _headerInfoLayout$lab = headerInfoLayout.labelGutter,
|
57
|
+
labelGutter = _headerInfoLayout$lab === void 0 ? '16px' : _headerInfoLayout$lab;
|
58
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
59
|
+
className: cls()
|
60
|
+
}, /*#__PURE__*/_react.default.createElement(Row, null, /*#__PURE__*/_react.default.createElement("div", {
|
61
|
+
className: cls('header-label')
|
62
|
+
}, /*#__PURE__*/_react.default.createElement(_utils.LabelIconTip, {
|
63
|
+
label: label,
|
64
|
+
tooltip: tooltip,
|
65
|
+
icon: tooltipIcon
|
66
|
+
})), /*#__PURE__*/_react.default.createElement("div", {
|
67
|
+
className: cls('header-value'),
|
68
|
+
style: {
|
69
|
+
marginLeft: labelGutter
|
70
|
+
}
|
71
|
+
}, loading && /*#__PURE__*/_react.default.createElement(_.BaseSkeleton.Info, null), !loading && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, value))));
|
72
|
+
}
|
73
|
+
|
74
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);
|
75
|
+
};
|
76
|
+
|
77
|
+
var _default = FormItem;
|
78
|
+
exports.default = _default;
|
@@ -0,0 +1,49 @@
|
|
1
|
+
$label-color: var(--color-text1-2, #5a5a5a);
|
2
|
+
$label-size: var(--font-size-body-1, 12px);
|
3
|
+
$label-weight: var(--font-weight-medium, 500);
|
4
|
+
$text-color: var(--color-text1-3, #333333);
|
5
|
+
$text-size: var(--font-size-body-1, 12px);
|
6
|
+
// $text-weight: var(--font-weight-medium, 500);
|
7
|
+
|
8
|
+
$header-label-color: var(--color-text1-2, #5a5a5a);
|
9
|
+
$header-label-size: var(--font-size-body-1, 12px);
|
10
|
+
// $header-label-weight: var(--font-weight-medium, 500);
|
11
|
+
$header-text-color: var(--color-text1-3, #333333);
|
12
|
+
$header-text-size: var(--font-size-body-1, 12px);
|
13
|
+
// $header-text-weight: var(--font-weight-medium, 500);
|
14
|
+
|
15
|
+
$item-padding-bottom: 8px;
|
16
|
+
|
17
|
+
.teamix-pro-field-info-form-item {
|
18
|
+
width: 100%;
|
19
|
+
padding-bottom: $item-padding-bottom;
|
20
|
+
}
|
21
|
+
|
22
|
+
.teamix-pro-field-info-form-item-label {
|
23
|
+
color: $label-color;
|
24
|
+
font-size: $label-size;
|
25
|
+
// font-weight: $label-weight;
|
26
|
+
display: unset;
|
27
|
+
}
|
28
|
+
|
29
|
+
.teamix-pro-field-info-form-item-value {
|
30
|
+
color: $text-color;
|
31
|
+
font-size: $text-size;
|
32
|
+
display: unset;
|
33
|
+
width: 100%;
|
34
|
+
}
|
35
|
+
|
36
|
+
.teamix-pro-field-info-form-item-header-label {
|
37
|
+
color: $header-label-color;
|
38
|
+
font-size: $header-label-size;
|
39
|
+
// font-weight: $header-label-weight;
|
40
|
+
display: inline-block;
|
41
|
+
white-space:nowrap;
|
42
|
+
}
|
43
|
+
|
44
|
+
.teamix-pro-field-info-form-item-header-value {
|
45
|
+
color: $header-text-color;
|
46
|
+
font-size: $header-text-size;
|
47
|
+
display: inline-block;
|
48
|
+
width: 100%;
|
49
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.default = void 0;
|
7
|
+
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
9
|
+
|
10
|
+
require("./index.scss");
|
11
|
+
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
13
|
+
|
14
|
+
var ProInfoGroup = function ProInfoGroup(props) {
|
15
|
+
var children = props.children;
|
16
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
17
|
+
className: "teamix-pro-info-group"
|
18
|
+
}, children === null || children === void 0 ? void 0 : children.map(function (item, index) {
|
19
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
20
|
+
className: "teamix-pro-info-group-item",
|
21
|
+
key: index
|
22
|
+
}, item);
|
23
|
+
}));
|
24
|
+
};
|
25
|
+
|
26
|
+
var _default = ProInfoGroup;
|
27
|
+
exports.default = _default;
|