ele-admin-plus 1.1.9-beta.9 → 1.2.0-beta.1
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/es/core-export.d.ts +1 -0
- package/es/core-export.js +1 -0
- package/es/core-installer.d.ts +2 -2
- package/es/ele-alert/index.d.ts +23 -23
- package/es/ele-alert/index.js +2 -2
- package/es/ele-alert/props.d.ts +10 -9
- package/es/ele-app/components/message-body.d.ts +39 -0
- package/es/ele-app/components/message-body.js +92 -0
- package/es/ele-app/el.d.ts +4 -1
- package/es/ele-app/index.d.ts +2 -2
- package/es/ele-app/style/message/css-var.scss +0 -4
- package/es/ele-app/style/message/index.scss +199 -77
- package/es/ele-app/style/overwrite/date-picker/index.scss +32 -5
- package/es/ele-app/style/overwrite/input/index.scss +2 -0
- package/es/ele-app/style/overwrite/message-box/index.scss +31 -0
- package/es/ele-app/style/overwrite/tag/css-var.scss +0 -16
- package/es/ele-app/style/overwrite/tag/index.scss +57 -14
- package/es/ele-app/types.d.ts +6 -1
- package/es/ele-avatar-group/index.d.ts +29 -28
- package/es/ele-avatar-group/props.d.ts +10 -9
- package/es/ele-bar-code/index.d.ts +11 -10
- package/es/ele-bar-code/props.d.ts +4 -3
- package/es/ele-basic-select/index.d.ts +37 -35
- package/es/ele-basic-select/index.js +24 -7
- package/es/ele-basic-select/props.d.ts +9 -8
- package/es/ele-basic-select/util.d.ts +2 -1
- package/es/ele-bottom-bar/index.d.ts +6 -6
- package/es/ele-bottom-bar/props.d.ts +4 -3
- package/es/ele-breadcrumb/index.d.ts +11 -10
- package/es/ele-breadcrumb/props.d.ts +5 -4
- package/es/ele-card/index.d.ts +12 -12
- package/es/ele-card/props.d.ts +7 -6
- package/es/ele-check-card/components/card-item.d.ts +7 -6
- package/es/ele-check-card/index.d.ts +15 -14
- package/es/ele-check-card/props.d.ts +6 -5
- package/es/ele-config-provider/components/receiver-view.d.ts +3 -3
- package/es/ele-config-provider/components/receiver-view.js +120 -31
- package/es/ele-config-provider/index.d.ts +13 -9
- package/es/ele-config-provider/index.js +19 -5
- package/es/ele-config-provider/props.d.ts +12 -6
- package/es/ele-config-provider/props.js +9 -5
- package/es/ele-config-provider/receiver.d.ts +6 -10
- package/es/ele-config-provider/receiver.js +32 -117
- package/es/ele-config-provider/types.d.ts +25 -30
- package/es/ele-copyable/index.d.ts +32 -31
- package/es/ele-copyable/props.d.ts +9 -8
- package/es/ele-count-up/index.d.ts +8 -7
- package/es/ele-count-up/props.d.ts +3 -2
- package/es/ele-cropper/components/cropper-preview.d.ts +3 -3
- package/es/ele-cropper/components/cropper-tools.d.ts +12 -11
- package/es/ele-cropper/index.d.ts +16 -15
- package/es/ele-cropper/props.d.ts +4 -3
- package/es/ele-cropper-modal/index.d.ts +16 -15
- package/es/ele-cropper-modal/index.js +1 -1
- package/es/ele-cropper-modal/props.d.ts +7 -6
- package/es/ele-dashboard/index.d.ts +5 -5
- package/es/ele-dashboard/props.d.ts +3 -2
- package/es/ele-data-table/index.d.ts +63 -68
- package/es/ele-data-table/props.d.ts +36 -41
- package/es/ele-data-table/types.d.ts +10 -16
- package/es/ele-data-table/util.d.ts +10 -9
- package/es/ele-dot/index.d.ts +4 -4
- package/es/ele-dot/props.d.ts +3 -2
- package/es/ele-drawer/index.d.ts +76 -72
- package/es/ele-drawer/index.js +107 -113
- package/es/ele-drawer/props.d.ts +26 -25
- package/es/ele-drawer/style/index.scss +48 -105
- package/es/ele-dropdown/index.d.ts +66 -65
- package/es/ele-dropdown/props.d.ts +22 -21
- package/es/ele-edit-tag/index.d.ts +40 -34
- package/es/ele-edit-tag/index.js +5 -3
- package/es/ele-edit-tag/props.d.ts +12 -9
- package/es/ele-edit-tag/props.js +2 -0
- package/es/ele-edit-tag/style/index.scss +11 -4
- package/es/ele-ellipsis/index.d.ts +23 -22
- package/es/ele-ellipsis/props.d.ts +8 -7
- package/es/ele-file-list/components/file-grid-item.d.ts +13 -12
- package/es/ele-file-list/components/file-grid-item.js +1 -1
- package/es/ele-file-list/components/file-grid.d.ts +10 -9
- package/es/ele-file-list/components/file-sort.d.ts +2 -2
- package/es/ele-file-list/components/file-table-item.d.ts +13 -12
- package/es/ele-file-list/components/file-table-item.js +1 -1
- package/es/ele-file-list/components/file-table.d.ts +10 -9
- package/es/ele-file-list/icons.d.ts +2 -1
- package/es/ele-file-list/index.d.ts +36 -35
- package/es/ele-file-list/props.d.ts +6 -5
- package/es/ele-file-list-tool/index.d.ts +3 -3
- package/es/ele-icon-select/components/icon-grid.d.ts +15 -14
- package/es/ele-icon-select/components/icon-grid.js +1 -1
- package/es/ele-icon-select/index.d.ts +59 -60
- package/es/ele-icon-select/props.d.ts +18 -17
- package/es/ele-loading/index.d.ts +12 -15
- package/es/ele-loading/index.js +10 -16
- package/es/ele-loading/props.d.ts +5 -4
- package/es/ele-map-picker/components/map-view.d.ts +29 -28
- package/es/ele-map-picker/components/map-view.js +1 -1
- package/es/ele-map-picker/index.d.ts +27 -26
- package/es/ele-map-picker/index.js +1 -1
- package/es/ele-map-picker/props.d.ts +8 -7
- package/es/ele-menus/index.d.ts +62 -63
- package/es/ele-menus/index.js +12 -1
- package/es/ele-menus/props.d.ts +16 -17
- package/es/ele-menus/props.js +1 -3
- package/es/ele-menus/style/css-var.scss +1 -5
- package/es/ele-menus/util.d.ts +3 -2
- package/es/ele-modal/index.d.ts +77 -70
- package/es/ele-modal/index.js +164 -186
- package/es/ele-modal/props.d.ts +26 -23
- package/es/ele-modal/props.js +2 -0
- package/es/ele-modal/style/index.scss +87 -146
- package/es/ele-modal/util.d.ts +20 -45
- package/es/ele-modal/util.js +54 -180
- package/es/ele-page/index.d.ts +2 -2
- package/es/ele-page/props.d.ts +2 -1
- package/es/ele-pagination/index.d.ts +40 -31
- package/es/ele-pagination/index.js +4 -1
- package/es/ele-pagination/props.d.ts +17 -11
- package/es/ele-pagination/props.js +5 -0
- package/es/ele-popconfirm/index.d.ts +93 -92
- package/es/ele-popconfirm/index.js +6 -28
- package/es/ele-popconfirm/props.d.ts +33 -32
- package/es/ele-popover/index.d.ts +71 -70
- package/es/ele-popover/index.js +6 -14
- package/es/ele-popover/props.d.ts +26 -25
- package/es/ele-printer/index.d.ts +18 -18
- package/es/ele-printer/props.d.ts +6 -5
- package/es/ele-printer/util.d.ts +2 -1
- package/es/ele-pro-layout/components/header-tool.d.ts +1 -1
- package/es/ele-pro-layout/components/pro-header.d.ts +85 -29
- package/es/ele-pro-layout/components/pro-header.js +110 -20
- package/es/ele-pro-layout/components/pro-iframe.d.ts +7 -7
- package/es/ele-pro-layout/components/pro-iframe.js +31 -41
- package/es/ele-pro-layout/components/pro-sidebar.d.ts +15 -19
- package/es/ele-pro-layout/components/pro-sidebar.js +2 -5
- package/es/ele-pro-layout/components/pro-sidebox.d.ts +16 -20
- package/es/ele-pro-layout/components/pro-sidebox.js +2 -5
- package/es/ele-pro-layout/components/pro-tabs.d.ts +12 -11
- package/es/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
- package/es/ele-pro-layout/components/tab-dropdown.d.ts +8 -7
- package/es/ele-pro-layout/components/tab-dropdown.js +1 -1
- package/es/ele-pro-layout/index.d.ts +97 -97
- package/es/ele-pro-layout/index.js +63 -48
- package/es/ele-pro-layout/props.d.ts +11 -13
- package/es/ele-pro-layout/props.js +2 -4
- package/es/ele-pro-layout/style/css-var.scss +3 -18
- package/es/ele-pro-layout/style/header.scss +74 -9
- package/es/ele-pro-layout/style/layout-mobile.scss +2 -2
- package/es/ele-pro-layout/style/layout-style.scss +8 -3
- package/es/ele-pro-layout/style/layout-theme.scss +48 -23
- package/es/ele-pro-layout/style/layout.scss +38 -8
- package/es/ele-pro-layout/style/sidebar.scss +0 -1
- package/es/ele-pro-layout/style/tabs.scss +19 -11
- package/es/ele-pro-layout/types.d.ts +5 -5
- package/es/ele-pro-layout/util.d.ts +6 -6
- package/es/ele-pro-layout/util.js +2 -3
- package/es/ele-pro-table/components/table-tools.d.ts +33 -23
- package/es/ele-pro-table/components/table-tools.js +14 -26
- package/es/ele-pro-table/components/tool-column-list.d.ts +6 -5
- package/es/ele-pro-table/components/tool-column-list.js +3 -7
- package/es/ele-pro-table/components/tool-column.d.ts +15 -13
- package/es/ele-pro-table/components/tool-column.js +3 -7
- package/es/ele-pro-table/components/tool-export.d.ts +52 -357
- package/es/ele-pro-table/components/tool-export.js +109 -63
- package/es/ele-pro-table/components/tool-print-body-cell.d.ts +13 -12
- package/es/ele-pro-table/components/tool-print-body-cell.js +50 -6
- package/es/ele-pro-table/components/tool-print-header-cell.d.ts +13 -12
- package/es/ele-pro-table/components/tool-print-header-cell.js +4 -1
- package/es/ele-pro-table/components/tool-print.d.ts +56 -794
- package/es/ele-pro-table/components/tool-print.js +198 -85
- package/es/ele-pro-table/index.d.ts +131 -143
- package/es/ele-pro-table/index.js +110 -79
- package/es/ele-pro-table/props.d.ts +44 -46
- package/es/ele-pro-table/style/index.scss +9 -0
- package/es/ele-pro-table/types.d.ts +45 -0
- package/es/ele-pro-table/util.d.ts +42 -23
- package/es/ele-pro-table/util.js +206 -53
- package/es/ele-qr-code/index.d.ts +16 -15
- package/es/ele-qr-code/props.d.ts +4 -3
- package/es/ele-qr-code/util.d.ts +3 -2
- package/es/ele-qr-code-svg/index.d.ts +18 -18
- package/es/ele-segmented/index.d.ts +10 -9
- package/es/ele-segmented/props.d.ts +3 -2
- package/es/ele-split-panel/index.d.ts +18 -17
- package/es/ele-split-panel/props.d.ts +5 -4
- package/es/ele-steps/index.d.ts +33 -33
- package/es/ele-steps/props.d.ts +10 -9
- package/es/ele-tab-tool/index.d.ts +2 -2
- package/es/ele-tab-tool/props.d.ts +2 -1
- package/es/ele-tab-wrap/index.d.ts +6 -6
- package/es/ele-tab-wrap/index.js +2 -1
- package/es/ele-tab-wrap/props.d.ts +3 -2
- package/es/ele-table/index.d.ts +4 -4
- package/es/ele-table/props.d.ts +3 -2
- package/es/ele-table/style/index.scss +16 -0
- package/es/ele-table-select/index.d.ts +45 -43
- package/es/ele-table-select/index.js +29 -27
- package/es/ele-table-select/props.d.ts +11 -10
- package/es/ele-tabs/components/tab-title.d.ts +9 -8
- package/es/ele-tabs/index.d.ts +43 -55
- package/es/ele-tabs/index.js +1 -0
- package/es/ele-tabs/props.d.ts +17 -23
- package/es/ele-tabs/style/css-var.scss +1 -30
- package/es/ele-tabs/style/index.scss +372 -241
- package/es/ele-tabs/types.d.ts +2 -1
- package/es/ele-text/index.d.ts +12 -12
- package/es/ele-text/props.d.ts +5 -4
- package/es/ele-tool/index.d.ts +7 -7
- package/es/ele-tool/props.d.ts +3 -2
- package/es/ele-toolbar/index.d.ts +15 -15
- package/es/ele-toolbar/props.d.ts +7 -6
- package/es/ele-tooltip/index.d.ts +62 -61
- package/es/ele-tooltip/index.js +3 -0
- package/es/ele-tooltip/props.d.ts +28 -22
- package/es/ele-tooltip/props.js +2 -0
- package/es/ele-tour/index.d.ts +15 -14
- package/es/ele-tour/props.d.ts +3 -2
- package/es/ele-tour/util.d.ts +3 -2
- package/es/ele-tree-select/index.d.ts +37 -36
- package/es/ele-tree-select/props.d.ts +12 -11
- package/es/ele-tree-select/util.d.ts +3 -2
- package/es/ele-upload-list/components/list-item.d.ts +7 -6
- package/es/ele-upload-list/index.d.ts +26 -25
- package/es/ele-upload-list/props.d.ts +6 -5
- package/es/ele-virtual-table/components/body-cell.d.ts +100 -64
- package/es/ele-virtual-table/components/body-cell.js +52 -70
- package/es/ele-virtual-table/components/body-row.d.ts +89 -65
- package/es/ele-virtual-table/components/body-row.js +57 -52
- package/es/ele-virtual-table/components/cell-checkbox.d.ts +5 -4
- package/es/ele-virtual-table/components/cell-filter.d.ts +18 -17
- package/es/ele-virtual-table/components/cell-filter.js +8 -12
- package/es/ele-virtual-table/components/expand-row.d.ts +11 -10
- package/es/ele-virtual-table/components/expand-row.js +3 -3
- package/es/ele-virtual-table/components/footer-row.d.ts +36 -17
- package/es/ele-virtual-table/components/footer-row.js +19 -14
- package/es/ele-virtual-table/components/header-cell.d.ts +16 -15
- package/es/ele-virtual-table/components/header-row.d.ts +12 -11
- package/es/ele-virtual-table/index.d.ts +91 -100
- package/es/ele-virtual-table/index.js +134 -136
- package/es/ele-virtual-table/props.d.ts +49 -51
- package/es/ele-virtual-table/style/index.scss +1 -1
- package/es/ele-virtual-table/types.d.ts +88 -68
- package/es/ele-virtual-table/util.d.ts +16 -12
- package/es/ele-virtual-table/util.js +32 -24
- package/es/ele-watermark/index.d.ts +15 -14
- package/es/ele-watermark/props.d.ts +4 -3
- package/es/ele-watermark/util.d.ts +3 -2
- package/es/ele-xg-player/index.d.ts +10 -10
- package/es/icons/AnalysisOutlined.d.ts +1 -1
- package/es/icons/ApplicationOutlined.d.ts +1 -1
- package/es/icons/AppstoreAddOutlined.d.ts +1 -1
- package/es/icons/AppstoreOutlined.d.ts +1 -1
- package/es/icons/ArrowDown.d.ts +1 -1
- package/es/icons/ArrowDownOutlined.d.ts +1 -1
- package/es/icons/ArrowLeft.d.ts +1 -1
- package/es/icons/ArrowLeftOutlined.d.ts +1 -1
- package/es/icons/ArrowRight.d.ts +1 -1
- package/es/icons/ArrowRightOutlined.d.ts +1 -1
- package/es/icons/ArrowUp.d.ts +1 -1
- package/es/icons/ArrowUpOutlined.d.ts +1 -1
- package/es/icons/BellOutlined.d.ts +1 -1
- package/es/icons/BookOutlined.d.ts +1 -1
- package/es/icons/CalendarOutlined.d.ts +1 -1
- package/es/icons/CaretDownFilled.d.ts +1 -1
- package/es/icons/CaretUpFilled.d.ts +1 -1
- package/es/icons/CheckCircleFilled.d.ts +1 -1
- package/es/icons/CheckCircleOutlined.d.ts +1 -1
- package/es/icons/CheckOutlined.d.ts +1 -1
- package/es/icons/CityOutlined.d.ts +1 -1
- package/es/icons/ClockCircleOutlined.d.ts +1 -1
- package/es/icons/CloseCircleFilled.d.ts +1 -1
- package/es/icons/CloseCircleOutlined.d.ts +1 -1
- package/es/icons/CloseOutlined.d.ts +1 -1
- package/es/icons/CloudUploadOutlined.d.ts +1 -1
- package/es/icons/ClusterOutlined.d.ts +1 -1
- package/es/icons/CodeOutlined.d.ts +1 -1
- package/es/icons/ColumnHeightOutlined.d.ts +1 -1
- package/es/icons/CompassOutlined.d.ts +1 -1
- package/es/icons/CompressOutlined.d.ts +1 -1
- package/es/icons/ConnectionOutlined.d.ts +1 -1
- package/es/icons/ControlOutlined.d.ts +1 -1
- package/es/icons/CopyOutlined.d.ts +1 -1
- package/es/icons/CpuOutlined.d.ts +1 -1
- package/es/icons/DashboardOutlined.d.ts +1 -1
- package/es/icons/DatabaseOutlined.d.ts +1 -1
- package/es/icons/DeleteOutlined.d.ts +1 -1
- package/es/icons/DesktopOutlined.d.ts +1 -1
- package/es/icons/DownloadOutlined.d.ts +1 -1
- package/es/icons/DragOutlined.d.ts +1 -1
- package/es/icons/EditOutlined.d.ts +1 -1
- package/es/icons/EllipsisOutlined.d.ts +1 -1
- package/es/icons/EnvironmentOutlined.d.ts +1 -1
- package/es/icons/ExclamationCircleFilled.d.ts +1 -1
- package/es/icons/ExpandOutlined.d.ts +1 -1
- package/es/icons/FileOutlined.d.ts +1 -1
- package/es/icons/FilterFilled.d.ts +1 -1
- package/es/icons/FolderAddOutlined.d.ts +1 -1
- package/es/icons/FolderOutlined.d.ts +1 -1
- package/es/icons/FormOutlined.d.ts +1 -1
- package/es/icons/FullscreenExitOutlined.d.ts +1 -1
- package/es/icons/FullscreenOutlined.d.ts +1 -1
- package/es/icons/FundOutlined.d.ts +1 -1
- package/es/icons/GlobalOutlined.d.ts +1 -1
- package/es/icons/HolderOutlined.d.ts +1 -1
- package/es/icons/HomeOutlined.d.ts +1 -1
- package/es/icons/IdcardOutlined.d.ts +1 -1
- package/es/icons/InfoCircleFilled.d.ts +1 -1
- package/es/icons/LinkOutlined.d.ts +1 -1
- package/es/icons/LoadingDotOutlined.d.ts +1 -1
- package/es/icons/LoadingOutlined.d.ts +1 -1
- package/es/icons/LoadingOutlined.js +1 -1
- package/es/icons/LockOutlined.d.ts +1 -1
- package/es/icons/LogOutlined.d.ts +1 -1
- package/es/icons/LogoutOutlined.d.ts +1 -1
- package/es/icons/MailOutlined.d.ts +1 -1
- package/es/icons/MenuFoldOutlined.d.ts +1 -1
- package/es/icons/MenuUnfoldOutlined.d.ts +1 -1
- package/es/icons/MessageOutlined.d.ts +1 -1
- package/es/icons/MinusCircleOutlined.d.ts +1 -1
- package/es/icons/MobileOutlined.d.ts +1 -1
- package/es/icons/MoonOutlined.d.ts +1 -1
- package/es/icons/MoreOutlined.d.ts +1 -1
- package/es/icons/PauseFilled.d.ts +1 -1
- package/es/icons/PieChartOutlined.d.ts +1 -1
- package/es/icons/PlayFilled.d.ts +1 -1
- package/es/icons/PlusCircleOutlined.d.ts +1 -1
- package/es/icons/PlusOutlined.d.ts +1 -1
- package/es/icons/PrinterOutlined.d.ts +1 -1
- package/es/icons/ProtectOutlined.d.ts +1 -1
- package/es/icons/QuestionCircleFilled.d.ts +1 -1
- package/es/icons/QuestionCircleOutlined.d.ts +1 -1
- package/es/icons/ReloadOutlined.d.ts +1 -1
- package/es/icons/ResizeOutlined.d.ts +2 -0
- package/es/icons/ResizeOutlined.js +30 -0
- package/es/icons/SearchOutlined.d.ts +1 -1
- package/es/icons/SettingOutlined.d.ts +1 -1
- package/es/icons/ShoppingOutlined.d.ts +1 -1
- package/es/icons/SortOutlined.d.ts +1 -1
- package/es/icons/StarFilled.d.ts +1 -1
- package/es/icons/StepBackwardFilled.d.ts +1 -1
- package/es/icons/StepForwardFilled.d.ts +1 -1
- package/es/icons/SuitcaseOutlined.d.ts +1 -1
- package/es/icons/SunOutlined.d.ts +1 -1
- package/es/icons/SwapOutlined.d.ts +1 -1
- package/es/icons/SyncOutlined.d.ts +1 -1
- package/es/icons/TableOutlined.d.ts +1 -1
- package/es/icons/TagOutlined.d.ts +1 -1
- package/es/icons/TimerOutlined.d.ts +1 -1
- package/es/icons/UndoOutlined.d.ts +1 -1
- package/es/icons/UnlockOutlined.d.ts +1 -1
- package/es/icons/UploadOutlined.d.ts +1 -1
- package/es/icons/UserOutlined.d.ts +1 -1
- package/es/icons/VerticalAlignMiddleOutlined.d.ts +1 -1
- package/es/icons/VerticalLeftOutlined.d.ts +1 -1
- package/es/icons/VerticalRightOutlined.d.ts +1 -1
- package/es/icons/WarningOutlined.d.ts +1 -1
- package/es/icons/ZoomInOutlined.d.ts +1 -1
- package/es/icons/ZoomOutOutlined.d.ts +1 -1
- package/es/icons/index.d.ts +1 -0
- package/es/icons/index.js +50 -48
- package/es/installer.d.ts +2 -2
- package/es/lang/en_US.d.ts +2 -2
- package/es/lang/en_US.js +7 -1
- package/es/lang/zh_CN.d.ts +2 -2
- package/es/lang/zh_CN.js +7 -1
- package/es/lang/zh_TW.d.ts +2 -2
- package/es/lang/zh_TW.js +7 -1
- package/es/style/nprogress.scss +1 -0
- package/es/style/themes/dark.scss +9 -15
- package/es/style/themes/default.scss +140 -166
- package/es/style/themes/rounded.scss +27 -45
- package/es/utils/core.d.ts +7 -0
- package/es/utils/core.js +16 -2
- package/es/utils/menu-util.d.ts +3 -2
- package/es/utils/menu-util.js +2 -5
- package/es/utils/message-box.d.ts +25 -0
- package/es/utils/message-box.js +71 -0
- package/es/utils/message.d.ts +45 -20
- package/es/utils/message.js +220 -37
- package/es/utils/resolvers.d.ts +2 -2
- package/lib/core-export.cjs +8 -0
- package/lib/core-export.d.ts +1 -0
- package/lib/core-installer.d.ts +2 -2
- package/lib/ele-alert/index.cjs +2 -2
- package/lib/ele-alert/index.d.ts +23 -23
- package/lib/ele-alert/props.d.ts +10 -9
- package/lib/ele-app/components/message-body.cjs +91 -0
- package/lib/ele-app/components/message-body.d.ts +39 -0
- package/lib/ele-app/el.d.ts +4 -1
- package/lib/ele-app/index.d.ts +2 -2
- package/lib/ele-app/style/message/css-var.scss +0 -4
- package/lib/ele-app/style/message/index.scss +199 -77
- package/lib/ele-app/style/overwrite/date-picker/index.scss +32 -5
- package/lib/ele-app/style/overwrite/input/index.scss +2 -0
- package/lib/ele-app/style/overwrite/message-box/index.scss +31 -0
- package/lib/ele-app/style/overwrite/tag/css-var.scss +0 -16
- package/lib/ele-app/style/overwrite/tag/index.scss +57 -14
- package/lib/ele-app/types.d.ts +6 -1
- package/lib/ele-avatar-group/index.d.ts +29 -28
- package/lib/ele-avatar-group/props.d.ts +10 -9
- package/lib/ele-bar-code/index.d.ts +11 -10
- package/lib/ele-bar-code/props.d.ts +4 -3
- package/lib/ele-basic-select/index.cjs +23 -6
- package/lib/ele-basic-select/index.d.ts +37 -35
- package/lib/ele-basic-select/props.d.ts +9 -8
- package/lib/ele-basic-select/util.d.ts +2 -1
- package/lib/ele-bottom-bar/index.d.ts +6 -6
- package/lib/ele-bottom-bar/props.d.ts +4 -3
- package/lib/ele-breadcrumb/index.d.ts +11 -10
- package/lib/ele-breadcrumb/props.d.ts +5 -4
- package/lib/ele-card/index.d.ts +12 -12
- package/lib/ele-card/props.d.ts +7 -6
- package/lib/ele-check-card/components/card-item.d.ts +7 -6
- package/lib/ele-check-card/index.d.ts +15 -14
- package/lib/ele-check-card/props.d.ts +6 -5
- package/lib/ele-config-provider/components/receiver-view.cjs +2 -44
- package/lib/ele-config-provider/components/receiver-view.d.ts +3 -3
- package/lib/ele-config-provider/index.cjs +18 -4
- package/lib/ele-config-provider/index.d.ts +13 -9
- package/lib/ele-config-provider/props.cjs +9 -5
- package/lib/ele-config-provider/props.d.ts +12 -6
- package/lib/ele-config-provider/receiver.cjs +41 -2
- package/lib/ele-config-provider/receiver.d.ts +6 -10
- package/lib/ele-config-provider/types.d.ts +25 -30
- package/lib/ele-copyable/index.d.ts +32 -31
- package/lib/ele-copyable/props.d.ts +9 -8
- package/lib/ele-count-up/index.d.ts +8 -7
- package/lib/ele-count-up/props.d.ts +3 -2
- package/lib/ele-cropper/components/cropper-preview.d.ts +3 -3
- package/lib/ele-cropper/components/cropper-tools.d.ts +12 -11
- package/lib/ele-cropper/index.d.ts +16 -15
- package/lib/ele-cropper/props.d.ts +4 -3
- package/lib/ele-cropper-modal/index.cjs +1 -1
- package/lib/ele-cropper-modal/index.d.ts +16 -15
- package/lib/ele-cropper-modal/props.d.ts +7 -6
- package/lib/ele-dashboard/index.d.ts +5 -5
- package/lib/ele-dashboard/props.d.ts +3 -2
- package/lib/ele-data-table/index.d.ts +63 -68
- package/lib/ele-data-table/props.d.ts +36 -41
- package/lib/ele-data-table/types.d.ts +10 -16
- package/lib/ele-data-table/util.d.ts +10 -9
- package/lib/ele-dot/index.d.ts +4 -4
- package/lib/ele-dot/props.d.ts +3 -2
- package/lib/ele-drawer/index.cjs +105 -111
- package/lib/ele-drawer/index.d.ts +76 -72
- package/lib/ele-drawer/props.d.ts +26 -25
- package/lib/ele-drawer/style/index.scss +48 -105
- package/lib/ele-dropdown/index.d.ts +66 -65
- package/lib/ele-dropdown/props.d.ts +22 -21
- package/lib/ele-edit-tag/index.cjs +5 -3
- package/lib/ele-edit-tag/index.d.ts +40 -34
- package/lib/ele-edit-tag/props.cjs +2 -0
- package/lib/ele-edit-tag/props.d.ts +12 -9
- package/lib/ele-edit-tag/style/index.scss +11 -4
- package/lib/ele-ellipsis/index.d.ts +23 -22
- package/lib/ele-ellipsis/props.d.ts +8 -7
- package/lib/ele-file-list/components/file-grid-item.cjs +1 -1
- package/lib/ele-file-list/components/file-grid-item.d.ts +13 -12
- package/lib/ele-file-list/components/file-grid.d.ts +10 -9
- package/lib/ele-file-list/components/file-sort.d.ts +2 -2
- package/lib/ele-file-list/components/file-table-item.cjs +1 -1
- package/lib/ele-file-list/components/file-table-item.d.ts +13 -12
- package/lib/ele-file-list/components/file-table.d.ts +10 -9
- package/lib/ele-file-list/icons.d.ts +2 -1
- package/lib/ele-file-list/index.d.ts +36 -35
- package/lib/ele-file-list/props.d.ts +6 -5
- package/lib/ele-file-list-tool/index.d.ts +3 -3
- package/lib/ele-icon-select/components/icon-grid.cjs +1 -1
- package/lib/ele-icon-select/components/icon-grid.d.ts +15 -14
- package/lib/ele-icon-select/index.d.ts +59 -60
- package/lib/ele-icon-select/props.d.ts +18 -17
- package/lib/ele-loading/index.cjs +9 -15
- package/lib/ele-loading/index.d.ts +12 -15
- package/lib/ele-loading/props.d.ts +5 -4
- package/lib/ele-map-picker/components/map-view.cjs +1 -1
- package/lib/ele-map-picker/components/map-view.d.ts +29 -28
- package/lib/ele-map-picker/index.cjs +1 -1
- package/lib/ele-map-picker/index.d.ts +27 -26
- package/lib/ele-map-picker/props.d.ts +8 -7
- package/lib/ele-menus/index.cjs +12 -1
- package/lib/ele-menus/index.d.ts +62 -63
- package/lib/ele-menus/props.cjs +1 -3
- package/lib/ele-menus/props.d.ts +16 -17
- package/lib/ele-menus/style/css-var.scss +1 -5
- package/lib/ele-menus/util.d.ts +3 -2
- package/lib/ele-modal/index.cjs +176 -198
- package/lib/ele-modal/index.d.ts +77 -70
- package/lib/ele-modal/props.cjs +2 -0
- package/lib/ele-modal/props.d.ts +26 -23
- package/lib/ele-modal/style/index.scss +87 -146
- package/lib/ele-modal/util.cjs +53 -179
- package/lib/ele-modal/util.d.ts +20 -45
- package/lib/ele-page/index.d.ts +2 -2
- package/lib/ele-page/props.d.ts +2 -1
- package/lib/ele-pagination/index.cjs +4 -1
- package/lib/ele-pagination/index.d.ts +40 -31
- package/lib/ele-pagination/props.cjs +5 -0
- package/lib/ele-pagination/props.d.ts +17 -11
- package/lib/ele-popconfirm/index.cjs +5 -27
- package/lib/ele-popconfirm/index.d.ts +93 -92
- package/lib/ele-popconfirm/props.d.ts +33 -32
- package/lib/ele-popover/index.cjs +5 -13
- package/lib/ele-popover/index.d.ts +71 -70
- package/lib/ele-popover/props.d.ts +26 -25
- package/lib/ele-printer/index.d.ts +18 -18
- package/lib/ele-printer/props.d.ts +6 -5
- package/lib/ele-printer/util.d.ts +2 -1
- package/lib/ele-pro-layout/components/header-tool.d.ts +1 -1
- package/lib/ele-pro-layout/components/pro-header.cjs +109 -19
- package/lib/ele-pro-layout/components/pro-header.d.ts +85 -29
- package/lib/ele-pro-layout/components/pro-iframe.cjs +30 -40
- package/lib/ele-pro-layout/components/pro-iframe.d.ts +7 -7
- package/lib/ele-pro-layout/components/pro-sidebar.cjs +2 -5
- package/lib/ele-pro-layout/components/pro-sidebar.d.ts +15 -19
- package/lib/ele-pro-layout/components/pro-sidebox.cjs +2 -5
- package/lib/ele-pro-layout/components/pro-sidebox.d.ts +16 -20
- package/lib/ele-pro-layout/components/pro-tabs.d.ts +12 -11
- package/lib/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
- package/lib/ele-pro-layout/components/tab-dropdown.cjs +1 -1
- package/lib/ele-pro-layout/components/tab-dropdown.d.ts +8 -7
- package/lib/ele-pro-layout/index.cjs +62 -47
- package/lib/ele-pro-layout/index.d.ts +97 -97
- package/lib/ele-pro-layout/props.cjs +2 -4
- package/lib/ele-pro-layout/props.d.ts +11 -13
- package/lib/ele-pro-layout/style/css-var.scss +3 -18
- package/lib/ele-pro-layout/style/header.scss +74 -9
- package/lib/ele-pro-layout/style/layout-mobile.scss +2 -2
- package/lib/ele-pro-layout/style/layout-style.scss +8 -3
- package/lib/ele-pro-layout/style/layout-theme.scss +48 -23
- package/lib/ele-pro-layout/style/layout.scss +38 -8
- package/lib/ele-pro-layout/style/sidebar.scss +0 -1
- package/lib/ele-pro-layout/style/tabs.scss +19 -11
- package/lib/ele-pro-layout/types.d.ts +5 -5
- package/lib/ele-pro-layout/util.cjs +2 -3
- package/lib/ele-pro-layout/util.d.ts +6 -6
- package/lib/ele-pro-table/components/table-tools.cjs +14 -26
- package/lib/ele-pro-table/components/table-tools.d.ts +33 -23
- package/lib/ele-pro-table/components/tool-column-list.cjs +2 -6
- package/lib/ele-pro-table/components/tool-column-list.d.ts +6 -5
- package/lib/ele-pro-table/components/tool-column.cjs +2 -6
- package/lib/ele-pro-table/components/tool-column.d.ts +15 -13
- package/lib/ele-pro-table/components/tool-export.cjs +107 -61
- package/lib/ele-pro-table/components/tool-export.d.ts +52 -357
- package/lib/ele-pro-table/components/tool-print-body-cell.cjs +49 -5
- package/lib/ele-pro-table/components/tool-print-body-cell.d.ts +13 -12
- package/lib/ele-pro-table/components/tool-print-header-cell.cjs +4 -1
- package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +13 -12
- package/lib/ele-pro-table/components/tool-print.cjs +195 -82
- package/lib/ele-pro-table/components/tool-print.d.ts +56 -794
- package/lib/ele-pro-table/index.cjs +108 -77
- package/lib/ele-pro-table/index.d.ts +131 -143
- package/lib/ele-pro-table/props.d.ts +44 -46
- package/lib/ele-pro-table/style/index.scss +9 -0
- package/lib/ele-pro-table/types.d.ts +45 -0
- package/lib/ele-pro-table/util.cjs +205 -52
- package/lib/ele-pro-table/util.d.ts +42 -23
- package/lib/ele-qr-code/index.d.ts +16 -15
- package/lib/ele-qr-code/props.d.ts +4 -3
- package/lib/ele-qr-code/util.d.ts +3 -2
- package/lib/ele-qr-code-svg/index.d.ts +18 -18
- package/lib/ele-segmented/index.d.ts +10 -9
- package/lib/ele-segmented/props.d.ts +3 -2
- package/lib/ele-split-panel/index.d.ts +18 -17
- package/lib/ele-split-panel/props.d.ts +5 -4
- package/lib/ele-steps/index.d.ts +33 -33
- package/lib/ele-steps/props.d.ts +10 -9
- package/lib/ele-tab-tool/index.d.ts +2 -2
- package/lib/ele-tab-tool/props.d.ts +2 -1
- package/lib/ele-tab-wrap/index.cjs +2 -1
- package/lib/ele-tab-wrap/index.d.ts +6 -6
- package/lib/ele-tab-wrap/props.d.ts +3 -2
- package/lib/ele-table/index.d.ts +4 -4
- package/lib/ele-table/props.d.ts +3 -2
- package/lib/ele-table/style/index.scss +16 -0
- package/lib/ele-table-select/index.cjs +29 -27
- package/lib/ele-table-select/index.d.ts +45 -43
- package/lib/ele-table-select/props.d.ts +11 -10
- package/lib/ele-tabs/components/tab-title.d.ts +9 -8
- package/lib/ele-tabs/index.cjs +1 -0
- package/lib/ele-tabs/index.d.ts +43 -55
- package/lib/ele-tabs/props.d.ts +17 -23
- package/lib/ele-tabs/style/css-var.scss +1 -30
- package/lib/ele-tabs/style/index.scss +372 -241
- package/lib/ele-tabs/types.d.ts +2 -1
- package/lib/ele-text/index.d.ts +12 -12
- package/lib/ele-text/props.d.ts +5 -4
- package/lib/ele-tool/index.d.ts +7 -7
- package/lib/ele-tool/props.d.ts +3 -2
- package/lib/ele-toolbar/index.d.ts +15 -15
- package/lib/ele-toolbar/props.d.ts +7 -6
- package/lib/ele-tooltip/index.cjs +3 -0
- package/lib/ele-tooltip/index.d.ts +62 -61
- package/lib/ele-tooltip/props.cjs +2 -0
- package/lib/ele-tooltip/props.d.ts +28 -22
- package/lib/ele-tour/index.d.ts +15 -14
- package/lib/ele-tour/props.d.ts +3 -2
- package/lib/ele-tour/util.d.ts +3 -2
- package/lib/ele-tree-select/index.d.ts +37 -36
- package/lib/ele-tree-select/props.d.ts +12 -11
- package/lib/ele-tree-select/util.d.ts +3 -2
- package/lib/ele-upload-list/components/list-item.d.ts +7 -6
- package/lib/ele-upload-list/index.d.ts +26 -25
- package/lib/ele-upload-list/props.d.ts +6 -5
- package/lib/ele-virtual-table/components/body-cell.cjs +52 -70
- package/lib/ele-virtual-table/components/body-cell.d.ts +100 -64
- package/lib/ele-virtual-table/components/body-row.cjs +57 -52
- package/lib/ele-virtual-table/components/body-row.d.ts +89 -65
- package/lib/ele-virtual-table/components/cell-checkbox.d.ts +5 -4
- package/lib/ele-virtual-table/components/cell-filter.cjs +7 -11
- package/lib/ele-virtual-table/components/cell-filter.d.ts +18 -17
- package/lib/ele-virtual-table/components/expand-row.cjs +3 -3
- package/lib/ele-virtual-table/components/expand-row.d.ts +11 -10
- package/lib/ele-virtual-table/components/footer-row.cjs +19 -14
- package/lib/ele-virtual-table/components/footer-row.d.ts +36 -17
- package/lib/ele-virtual-table/components/header-cell.d.ts +16 -15
- package/lib/ele-virtual-table/components/header-row.d.ts +12 -11
- package/lib/ele-virtual-table/index.cjs +132 -134
- package/lib/ele-virtual-table/index.d.ts +91 -100
- package/lib/ele-virtual-table/props.d.ts +49 -51
- package/lib/ele-virtual-table/style/index.scss +1 -1
- package/lib/ele-virtual-table/types.d.ts +88 -68
- package/lib/ele-virtual-table/util.cjs +32 -24
- package/lib/ele-virtual-table/util.d.ts +16 -12
- package/lib/ele-watermark/index.d.ts +15 -14
- package/lib/ele-watermark/props.d.ts +4 -3
- package/lib/ele-watermark/util.d.ts +3 -2
- package/lib/ele-xg-player/index.d.ts +10 -10
- package/lib/icons/AnalysisOutlined.d.ts +1 -1
- package/lib/icons/ApplicationOutlined.d.ts +1 -1
- package/lib/icons/AppstoreAddOutlined.d.ts +1 -1
- package/lib/icons/AppstoreOutlined.d.ts +1 -1
- package/lib/icons/ArrowDown.d.ts +1 -1
- package/lib/icons/ArrowDownOutlined.d.ts +1 -1
- package/lib/icons/ArrowLeft.d.ts +1 -1
- package/lib/icons/ArrowLeftOutlined.d.ts +1 -1
- package/lib/icons/ArrowRight.d.ts +1 -1
- package/lib/icons/ArrowRightOutlined.d.ts +1 -1
- package/lib/icons/ArrowUp.d.ts +1 -1
- package/lib/icons/ArrowUpOutlined.d.ts +1 -1
- package/lib/icons/BellOutlined.d.ts +1 -1
- package/lib/icons/BookOutlined.d.ts +1 -1
- package/lib/icons/CalendarOutlined.d.ts +1 -1
- package/lib/icons/CaretDownFilled.d.ts +1 -1
- package/lib/icons/CaretUpFilled.d.ts +1 -1
- package/lib/icons/CheckCircleFilled.d.ts +1 -1
- package/lib/icons/CheckCircleOutlined.d.ts +1 -1
- package/lib/icons/CheckOutlined.d.ts +1 -1
- package/lib/icons/CityOutlined.d.ts +1 -1
- package/lib/icons/ClockCircleOutlined.d.ts +1 -1
- package/lib/icons/CloseCircleFilled.d.ts +1 -1
- package/lib/icons/CloseCircleOutlined.d.ts +1 -1
- package/lib/icons/CloseOutlined.d.ts +1 -1
- package/lib/icons/CloudUploadOutlined.d.ts +1 -1
- package/lib/icons/ClusterOutlined.d.ts +1 -1
- package/lib/icons/CodeOutlined.d.ts +1 -1
- package/lib/icons/ColumnHeightOutlined.d.ts +1 -1
- package/lib/icons/CompassOutlined.d.ts +1 -1
- package/lib/icons/CompressOutlined.d.ts +1 -1
- package/lib/icons/ConnectionOutlined.d.ts +1 -1
- package/lib/icons/ControlOutlined.d.ts +1 -1
- package/lib/icons/CopyOutlined.d.ts +1 -1
- package/lib/icons/CpuOutlined.d.ts +1 -1
- package/lib/icons/DashboardOutlined.d.ts +1 -1
- package/lib/icons/DatabaseOutlined.d.ts +1 -1
- package/lib/icons/DeleteOutlined.d.ts +1 -1
- package/lib/icons/DesktopOutlined.d.ts +1 -1
- package/lib/icons/DownloadOutlined.d.ts +1 -1
- package/lib/icons/DragOutlined.d.ts +1 -1
- package/lib/icons/EditOutlined.d.ts +1 -1
- package/lib/icons/EllipsisOutlined.d.ts +1 -1
- package/lib/icons/EnvironmentOutlined.d.ts +1 -1
- package/lib/icons/ExclamationCircleFilled.d.ts +1 -1
- package/lib/icons/ExpandOutlined.d.ts +1 -1
- package/lib/icons/FileOutlined.d.ts +1 -1
- package/lib/icons/FilterFilled.d.ts +1 -1
- package/lib/icons/FolderAddOutlined.d.ts +1 -1
- package/lib/icons/FolderOutlined.d.ts +1 -1
- package/lib/icons/FormOutlined.d.ts +1 -1
- package/lib/icons/FullscreenExitOutlined.d.ts +1 -1
- package/lib/icons/FullscreenOutlined.d.ts +1 -1
- package/lib/icons/FundOutlined.d.ts +1 -1
- package/lib/icons/GlobalOutlined.d.ts +1 -1
- package/lib/icons/HolderOutlined.d.ts +1 -1
- package/lib/icons/HomeOutlined.d.ts +1 -1
- package/lib/icons/IdcardOutlined.d.ts +1 -1
- package/lib/icons/InfoCircleFilled.d.ts +1 -1
- package/lib/icons/LinkOutlined.d.ts +1 -1
- package/lib/icons/LoadingDotOutlined.d.ts +1 -1
- package/lib/icons/LoadingOutlined.cjs +1 -1
- package/lib/icons/LoadingOutlined.d.ts +1 -1
- package/lib/icons/LockOutlined.d.ts +1 -1
- package/lib/icons/LogOutlined.d.ts +1 -1
- package/lib/icons/LogoutOutlined.d.ts +1 -1
- package/lib/icons/MailOutlined.d.ts +1 -1
- package/lib/icons/MenuFoldOutlined.d.ts +1 -1
- package/lib/icons/MenuUnfoldOutlined.d.ts +1 -1
- package/lib/icons/MessageOutlined.d.ts +1 -1
- package/lib/icons/MinusCircleOutlined.d.ts +1 -1
- package/lib/icons/MobileOutlined.d.ts +1 -1
- package/lib/icons/MoonOutlined.d.ts +1 -1
- package/lib/icons/MoreOutlined.d.ts +1 -1
- package/lib/icons/PauseFilled.d.ts +1 -1
- package/lib/icons/PieChartOutlined.d.ts +1 -1
- package/lib/icons/PlayFilled.d.ts +1 -1
- package/lib/icons/PlusCircleOutlined.d.ts +1 -1
- package/lib/icons/PlusOutlined.d.ts +1 -1
- package/lib/icons/PrinterOutlined.d.ts +1 -1
- package/lib/icons/ProtectOutlined.d.ts +1 -1
- package/lib/icons/QuestionCircleFilled.d.ts +1 -1
- package/lib/icons/QuestionCircleOutlined.d.ts +1 -1
- package/lib/icons/ReloadOutlined.d.ts +1 -1
- package/lib/icons/ResizeOutlined.cjs +29 -0
- package/lib/icons/ResizeOutlined.d.ts +2 -0
- package/lib/icons/SearchOutlined.d.ts +1 -1
- package/lib/icons/SettingOutlined.d.ts +1 -1
- package/lib/icons/ShoppingOutlined.d.ts +1 -1
- package/lib/icons/SortOutlined.d.ts +1 -1
- package/lib/icons/StarFilled.d.ts +1 -1
- package/lib/icons/StepBackwardFilled.d.ts +1 -1
- package/lib/icons/StepForwardFilled.d.ts +1 -1
- package/lib/icons/SuitcaseOutlined.d.ts +1 -1
- package/lib/icons/SunOutlined.d.ts +1 -1
- package/lib/icons/SwapOutlined.d.ts +1 -1
- package/lib/icons/SyncOutlined.d.ts +1 -1
- package/lib/icons/TableOutlined.d.ts +1 -1
- package/lib/icons/TagOutlined.d.ts +1 -1
- package/lib/icons/TimerOutlined.d.ts +1 -1
- package/lib/icons/UndoOutlined.d.ts +1 -1
- package/lib/icons/UnlockOutlined.d.ts +1 -1
- package/lib/icons/UploadOutlined.d.ts +1 -1
- package/lib/icons/UserOutlined.d.ts +1 -1
- package/lib/icons/VerticalAlignMiddleOutlined.d.ts +1 -1
- package/lib/icons/VerticalLeftOutlined.d.ts +1 -1
- package/lib/icons/VerticalRightOutlined.d.ts +1 -1
- package/lib/icons/WarningOutlined.d.ts +1 -1
- package/lib/icons/ZoomInOutlined.d.ts +1 -1
- package/lib/icons/ZoomOutOutlined.d.ts +1 -1
- package/lib/icons/index.cjs +2 -0
- package/lib/icons/index.d.ts +1 -0
- package/lib/installer.d.ts +2 -2
- package/lib/lang/en_US.cjs +7 -1
- package/lib/lang/en_US.d.ts +2 -2
- package/lib/lang/zh_CN.cjs +7 -1
- package/lib/lang/zh_CN.d.ts +2 -2
- package/lib/lang/zh_TW.cjs +7 -1
- package/lib/lang/zh_TW.d.ts +2 -2
- package/lib/style/nprogress.scss +1 -0
- package/lib/style/themes/dark.scss +9 -15
- package/lib/style/themes/default.scss +140 -166
- package/lib/style/themes/rounded.scss +27 -45
- package/lib/utils/core.cjs +16 -2
- package/lib/utils/core.d.ts +7 -0
- package/lib/utils/menu-util.cjs +1 -4
- package/lib/utils/menu-util.d.ts +3 -2
- package/lib/utils/message-box.cjs +71 -0
- package/lib/utils/message-box.d.ts +25 -0
- package/lib/utils/message.cjs +216 -33
- package/lib/utils/message.d.ts +45 -20
- package/lib/utils/resolvers.d.ts +2 -2
- package/package.json +26 -25
|
@@ -1,37 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
title: StringConstructor;
|
|
1
|
+
import { TableLocale, ExportDataType, BeforeExport, Datasource, FetchFunction, ColItem } from '../types';
|
|
2
|
+
import { Columns, DataItem } from '../../ele-data-table/types';
|
|
3
|
+
import { EleModalProps } from '../../ele-app/plus';
|
|
4
|
+
import { ElFormInstance } from '../../ele-app/el';
|
|
5
|
+
import { PropType } from 'vue';
|
|
6
|
+
|
|
7
|
+
declare const _default: import('vue').DefineComponent<{
|
|
9
8
|
/** 提示位置 */
|
|
10
|
-
placement: PropType<import(
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
untitledText: StringConstructor;
|
|
17
|
-
/** 文件名文字 */
|
|
18
|
-
fileNameText: StringConstructor;
|
|
19
|
-
/** 文件名提示文字 */
|
|
20
|
-
fileNamePlaceholderText: StringConstructor;
|
|
21
|
-
/** 选择数据文字 */
|
|
22
|
-
selectDataText: StringConstructor;
|
|
23
|
-
/** 选择字段文字 */
|
|
24
|
-
selectColumnText: StringConstructor;
|
|
25
|
-
/** 当前页数据文字 */
|
|
26
|
-
dataTypePageText: StringConstructor;
|
|
27
|
-
/** 选中数据文字 */
|
|
28
|
-
dataTypeSelectedText: StringConstructor;
|
|
29
|
-
/** 全部数据文字 */
|
|
30
|
-
dataTypeAllText: StringConstructor;
|
|
31
|
-
/** 取消文字 */
|
|
32
|
-
cancelText: StringConstructor;
|
|
33
|
-
/** 确定文字 */
|
|
34
|
-
okText: StringConstructor;
|
|
9
|
+
placement: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, import('element-plus').Placement, unknown> | undefined>;
|
|
10
|
+
/** 表格国际化 */
|
|
11
|
+
locale: {
|
|
12
|
+
type: PropType<TableLocale>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
35
15
|
/** 弹窗参数 */
|
|
36
16
|
modalProps: PropType<EleModalProps>;
|
|
37
17
|
/** 列数据 */
|
|
@@ -46,21 +26,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
26
|
spanMethod: PropType<((data: {
|
|
47
27
|
row: DataItem;
|
|
48
28
|
rowIndex: number;
|
|
49
|
-
|
|
50
|
-
column: import("element-plus/es/components/table/src/table-column/defaults").TableColumnCtx<DataItem>;
|
|
29
|
+
column: import('element-plus').TableColumnCtx<DataItem>;
|
|
51
30
|
columnIndex: number;
|
|
52
31
|
}) => number[] | {
|
|
53
|
-
rowspan: number;
|
|
54
|
-
colspan: number;
|
|
32
|
+
rowspan: number; /** 数据来源 */
|
|
33
|
+
colspan: number;
|
|
55
34
|
} | undefined) | undefined>;
|
|
35
|
+
/** 表格是否有表头 */
|
|
36
|
+
tableHeader: BooleanConstructor;
|
|
56
37
|
/** 是否显示合计行 */
|
|
57
38
|
showSummary: BooleanConstructor;
|
|
58
39
|
/** 合计行文本 */
|
|
59
40
|
sumText: StringConstructor;
|
|
60
41
|
/** 合计行自定义方法 */
|
|
61
|
-
summaryMethod: PropType<import(
|
|
42
|
+
summaryMethod: PropType<import('element-plus').SummaryMethod<DataItem> | undefined>;
|
|
62
43
|
/** 序号列起始索引 */
|
|
63
44
|
pageIndex: NumberConstructor;
|
|
45
|
+
/** 子级字段名 */
|
|
46
|
+
childrenField: StringConstructor;
|
|
64
47
|
/** 表格请求数据方法 */
|
|
65
48
|
fetch: PropType<FetchFunction>;
|
|
66
49
|
/** 默认文件名 */
|
|
@@ -76,336 +59,44 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
59
|
/** 导出前的钩子函数 */
|
|
77
60
|
beforeExport: PropType<BeforeExport>;
|
|
78
61
|
}, {
|
|
79
|
-
visible: import(
|
|
80
|
-
loading: import(
|
|
81
|
-
formRef: import(
|
|
62
|
+
visible: import('vue').Ref<boolean>;
|
|
63
|
+
loading: import('vue').Ref<boolean>;
|
|
64
|
+
formRef: import('vue').Ref<ElFormInstance>;
|
|
82
65
|
form: {
|
|
83
66
|
fileName: string;
|
|
84
67
|
};
|
|
85
|
-
fileNameRules:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
required?: boolean | undefined;
|
|
89
|
-
pattern?: string | {
|
|
90
|
-
exec: (string: string) => RegExpExecArray | null;
|
|
91
|
-
test: (string: string) => boolean;
|
|
92
|
-
readonly source: string;
|
|
93
|
-
readonly global: boolean;
|
|
94
|
-
readonly ignoreCase: boolean;
|
|
95
|
-
readonly multiline: boolean;
|
|
96
|
-
lastIndex: number;
|
|
97
|
-
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
98
|
-
readonly flags: string;
|
|
99
|
-
readonly sticky: boolean;
|
|
100
|
-
readonly unicode: boolean;
|
|
101
|
-
readonly dotAll: boolean;
|
|
102
|
-
readonly hasIndices: boolean;
|
|
103
|
-
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
104
|
-
[Symbol.replace]: {
|
|
105
|
-
(string: string, replaceValue: string): string;
|
|
106
|
-
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
107
|
-
};
|
|
108
|
-
[Symbol.search]: (string: string) => number;
|
|
109
|
-
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
110
|
-
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
111
|
-
} | undefined;
|
|
112
|
-
min?: number | undefined;
|
|
113
|
-
max?: number | undefined;
|
|
114
|
-
len?: number | undefined;
|
|
115
|
-
enum?: (string | number | boolean | null | undefined)[] | undefined;
|
|
116
|
-
whitespace?: boolean | undefined;
|
|
117
|
-
fields?: Record<string, import("async-validator").Rule> | undefined;
|
|
118
|
-
options?: {
|
|
119
|
-
suppressWarning?: boolean | undefined;
|
|
120
|
-
suppressValidatorError?: boolean | undefined;
|
|
121
|
-
first?: boolean | undefined;
|
|
122
|
-
firstFields?: boolean | string[] | undefined;
|
|
123
|
-
messages?: {
|
|
124
|
-
default?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
125
|
-
required?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
126
|
-
enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
127
|
-
whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
128
|
-
date?: {
|
|
129
|
-
format?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
130
|
-
parse?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
131
|
-
invalid?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
132
|
-
} | undefined;
|
|
133
|
-
types?: {
|
|
134
|
-
string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
135
|
-
method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
136
|
-
array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
137
|
-
object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
138
|
-
number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
139
|
-
date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
140
|
-
boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
141
|
-
integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
142
|
-
float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
143
|
-
regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
144
|
-
email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
145
|
-
url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
146
|
-
hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
147
|
-
} | undefined;
|
|
148
|
-
string?: {
|
|
149
|
-
len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
150
|
-
min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
151
|
-
max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
152
|
-
range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
153
|
-
} | undefined;
|
|
154
|
-
number?: {
|
|
155
|
-
len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
156
|
-
min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
157
|
-
max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
158
|
-
range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
159
|
-
} | undefined;
|
|
160
|
-
array?: {
|
|
161
|
-
len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
162
|
-
min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
163
|
-
max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
164
|
-
range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
165
|
-
} | undefined;
|
|
166
|
-
pattern?: {
|
|
167
|
-
mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
|
|
168
|
-
} | undefined;
|
|
169
|
-
} | undefined;
|
|
170
|
-
keys?: string[] | undefined;
|
|
171
|
-
error?: ((rule: import("async-validator").InternalRuleItem, message: string) => import("async-validator").ValidateError) | undefined;
|
|
172
|
-
} | undefined;
|
|
173
|
-
defaultField?: {
|
|
174
|
-
type?: import("async-validator").RuleType | undefined;
|
|
175
|
-
required?: boolean | undefined;
|
|
176
|
-
pattern?: string | {
|
|
177
|
-
exec: (string: string) => RegExpExecArray | null;
|
|
178
|
-
test: (string: string) => boolean;
|
|
179
|
-
readonly source: string;
|
|
180
|
-
readonly global: boolean;
|
|
181
|
-
readonly ignoreCase: boolean;
|
|
182
|
-
readonly multiline: boolean;
|
|
183
|
-
lastIndex: number;
|
|
184
|
-
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
185
|
-
readonly flags: string;
|
|
186
|
-
readonly sticky: boolean;
|
|
187
|
-
readonly unicode: boolean;
|
|
188
|
-
readonly dotAll: boolean;
|
|
189
|
-
readonly hasIndices: boolean;
|
|
190
|
-
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
191
|
-
[Symbol.replace]: {
|
|
192
|
-
(string: string, replaceValue: string): string;
|
|
193
|
-
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
194
|
-
};
|
|
195
|
-
[Symbol.search]: (string: string) => number;
|
|
196
|
-
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
197
|
-
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
198
|
-
} | undefined;
|
|
199
|
-
min?: number | undefined;
|
|
200
|
-
max?: number | undefined;
|
|
201
|
-
len?: number | undefined;
|
|
202
|
-
enum?: (string | number | boolean | null | undefined)[] | undefined;
|
|
203
|
-
whitespace?: boolean | undefined;
|
|
204
|
-
fields?: Record<string, import("async-validator").Rule> | undefined;
|
|
205
|
-
options?: {
|
|
206
|
-
suppressWarning?: boolean | undefined;
|
|
207
|
-
suppressValidatorError?: boolean | undefined;
|
|
208
|
-
first?: boolean | undefined;
|
|
209
|
-
firstFields?: boolean | string[] | undefined;
|
|
210
|
-
messages?: {
|
|
211
|
-
default?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
212
|
-
required?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
213
|
-
enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
214
|
-
whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
215
|
-
date?: {
|
|
216
|
-
format?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
217
|
-
parse?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
218
|
-
invalid?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
219
|
-
} | undefined;
|
|
220
|
-
types?: {
|
|
221
|
-
string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
222
|
-
method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
223
|
-
array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
224
|
-
object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
225
|
-
number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
226
|
-
date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
227
|
-
boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
228
|
-
integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
229
|
-
float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
230
|
-
regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
231
|
-
email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
232
|
-
url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
233
|
-
hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
234
|
-
} | undefined;
|
|
235
|
-
string?: {
|
|
236
|
-
len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
237
|
-
min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
238
|
-
max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
239
|
-
range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
240
|
-
} | undefined;
|
|
241
|
-
number?: {
|
|
242
|
-
len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
243
|
-
min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
244
|
-
max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
245
|
-
range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
246
|
-
} | undefined;
|
|
247
|
-
array?: {
|
|
248
|
-
len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
249
|
-
min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
250
|
-
max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
251
|
-
range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
252
|
-
} | undefined;
|
|
253
|
-
pattern?: {
|
|
254
|
-
mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
|
|
255
|
-
} | undefined;
|
|
256
|
-
} | undefined;
|
|
257
|
-
keys?: string[] | undefined;
|
|
258
|
-
error?: ((rule: import("async-validator").InternalRuleItem, message: string) => import("async-validator").ValidateError) | undefined;
|
|
259
|
-
} | undefined;
|
|
260
|
-
defaultField?: any | any[] | undefined;
|
|
261
|
-
transform?: ((value: any) => any) | undefined;
|
|
262
|
-
message?: string | ((a?: string | undefined) => string) | undefined;
|
|
263
|
-
asyncValidator?: ((rule: import("async-validator").InternalRuleItem, value: any, callback: (error?: string | Error | undefined) => void, source: import("async-validator").Values, options: import("async-validator").ValidateOption) => void | Promise<void>) | undefined;
|
|
264
|
-
validator?: ((rule: import("async-validator").InternalRuleItem, value: any, callback: (error?: string | Error | undefined) => void, source: import("async-validator").Values, options: import("async-validator").ValidateOption) => void | import("async-validator").SyncValidateResult) | undefined;
|
|
265
|
-
} | {
|
|
266
|
-
type?: import("async-validator").RuleType | undefined;
|
|
267
|
-
required?: boolean | undefined;
|
|
268
|
-
pattern?: string | {
|
|
269
|
-
exec: (string: string) => RegExpExecArray | null;
|
|
270
|
-
test: (string: string) => boolean;
|
|
271
|
-
readonly source: string;
|
|
272
|
-
readonly global: boolean;
|
|
273
|
-
readonly ignoreCase: boolean;
|
|
274
|
-
readonly multiline: boolean;
|
|
275
|
-
lastIndex: number;
|
|
276
|
-
compile: (pattern: string, flags?: string | undefined) => RegExp;
|
|
277
|
-
readonly flags: string;
|
|
278
|
-
readonly sticky: boolean;
|
|
279
|
-
readonly unicode: boolean;
|
|
280
|
-
readonly dotAll: boolean;
|
|
281
|
-
readonly hasIndices: boolean;
|
|
282
|
-
[Symbol.match]: (string: string) => RegExpMatchArray | null;
|
|
283
|
-
[Symbol.replace]: {
|
|
284
|
-
(string: string, replaceValue: string): string;
|
|
285
|
-
(string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
286
|
-
};
|
|
287
|
-
[Symbol.search]: (string: string) => number;
|
|
288
|
-
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
289
|
-
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
290
|
-
} | undefined;
|
|
291
|
-
min?: number | undefined;
|
|
292
|
-
max?: number | undefined;
|
|
293
|
-
len?: number | undefined;
|
|
294
|
-
enum?: (string | number | boolean | null | undefined)[] | undefined;
|
|
295
|
-
whitespace?: boolean | undefined;
|
|
296
|
-
fields?: Record<string, import("async-validator").Rule> | undefined;
|
|
297
|
-
options?: {
|
|
298
|
-
suppressWarning?: boolean | undefined;
|
|
299
|
-
suppressValidatorError?: boolean | undefined;
|
|
300
|
-
first?: boolean | undefined;
|
|
301
|
-
firstFields?: boolean | string[] | undefined;
|
|
302
|
-
messages?: {
|
|
303
|
-
default?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
304
|
-
required?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
305
|
-
enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
306
|
-
whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
|
|
307
|
-
date?: {
|
|
308
|
-
format?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
309
|
-
parse?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
310
|
-
invalid?: (string | ((...args: unknown[]) => string)) | undefined;
|
|
311
|
-
} | undefined;
|
|
312
|
-
types?: {
|
|
313
|
-
string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
314
|
-
method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
315
|
-
array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
316
|
-
object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
317
|
-
number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
318
|
-
date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
319
|
-
boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
320
|
-
integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
321
|
-
float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
322
|
-
regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
323
|
-
email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
324
|
-
url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
325
|
-
hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
|
|
326
|
-
} | undefined;
|
|
327
|
-
string?: {
|
|
328
|
-
len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
329
|
-
min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
330
|
-
max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
331
|
-
range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
332
|
-
} | undefined;
|
|
333
|
-
number?: {
|
|
334
|
-
len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
335
|
-
min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
336
|
-
max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
337
|
-
range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
338
|
-
} | undefined;
|
|
339
|
-
array?: {
|
|
340
|
-
len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
341
|
-
min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
342
|
-
max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
|
|
343
|
-
range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
|
|
344
|
-
} | undefined;
|
|
345
|
-
pattern?: {
|
|
346
|
-
mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
|
|
347
|
-
} | undefined;
|
|
348
|
-
} | undefined;
|
|
349
|
-
keys?: string[] | undefined;
|
|
350
|
-
error?: ((rule: import("async-validator").InternalRuleItem, message: string) => import("async-validator").ValidateError) | undefined;
|
|
351
|
-
} | undefined;
|
|
352
|
-
defaultField?: any | any[] | undefined;
|
|
353
|
-
transform?: ((value: any) => any) | undefined;
|
|
354
|
-
message?: string | ((a?: string | undefined) => string) | undefined;
|
|
355
|
-
asyncValidator?: ((rule: import("async-validator").InternalRuleItem, value: any, callback: (error?: string | Error | undefined) => void, source: import("async-validator").Values, options: import("async-validator").ValidateOption) => void | Promise<void>) | undefined;
|
|
356
|
-
validator?: ((rule: import("async-validator").InternalRuleItem, value: any, callback: (error?: string | Error | undefined) => void, source: import("async-validator").Values, options: import("async-validator").ValidateOption) => void | import("async-validator").SyncValidateResult) | undefined;
|
|
357
|
-
}[] | undefined;
|
|
358
|
-
transform?: ((value: any) => any) | undefined;
|
|
359
|
-
message?: string | ((a?: string | undefined) => string) | undefined;
|
|
360
|
-
asyncValidator?: ((rule: import("async-validator").InternalRuleItem, value: any, callback: (error?: string | Error | undefined) => void, source: import("async-validator").Values, options: import("async-validator").ValidateOption) => void | Promise<void>) | undefined;
|
|
361
|
-
validator?: ((rule: import("async-validator").InternalRuleItem, value: any, callback: (error?: string | Error | undefined) => void, source: import("async-validator").Values, options: import("async-validator").ValidateOption) => void | import("async-validator").SyncValidateResult) | undefined;
|
|
362
|
-
};
|
|
363
|
-
dataType: import("vue").Ref<ExportDataType>;
|
|
364
|
-
colItems: import("vue").Ref<{
|
|
68
|
+
fileNameRules: Partial<import('element-plus').FormItemRule>;
|
|
69
|
+
dataType: import('vue').Ref<ExportDataType>;
|
|
70
|
+
colItems: import('vue').Ref<{
|
|
365
71
|
uid: string;
|
|
366
72
|
label?: string | undefined;
|
|
367
73
|
checked?: boolean | undefined;
|
|
368
74
|
fixed?: string | boolean | undefined;
|
|
369
75
|
children?: any[] | undefined;
|
|
76
|
+
type?: string | undefined;
|
|
370
77
|
}[]>;
|
|
371
|
-
isCheckAll: import(
|
|
372
|
-
isIndeterminate: import(
|
|
78
|
+
isCheckAll: import('vue').Ref<boolean>;
|
|
79
|
+
isIndeterminate: import('vue').Ref<boolean>;
|
|
80
|
+
showHeader: import('vue').Ref<boolean>;
|
|
81
|
+
showFooter: import('vue').Ref<boolean>;
|
|
82
|
+
showTreeIndex: import('vue').Ref<boolean>;
|
|
83
|
+
treeIndexDisabled: import('vue').Ref<boolean>;
|
|
373
84
|
openModal: () => void;
|
|
374
85
|
closeModal: () => void;
|
|
375
86
|
handleExport: () => void;
|
|
376
|
-
onCheckedChange: (item
|
|
87
|
+
onCheckedChange: (item?: ColItem, checked?: boolean, type?: string) => void;
|
|
377
88
|
onSortChange: (items: ColItem[], parent?: ColItem) => void;
|
|
378
89
|
onCheckAllChange: (checked: boolean) => void;
|
|
379
90
|
onReset: () => void;
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
title: StringConstructor;
|
|
91
|
+
handleTreeIndexChange: (checked?: boolean | string | number) => void;
|
|
92
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
383
93
|
/** 提示位置 */
|
|
384
|
-
placement: PropType<import(
|
|
385
|
-
/**
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
untitledText: StringConstructor;
|
|
391
|
-
/** 文件名文字 */
|
|
392
|
-
fileNameText: StringConstructor;
|
|
393
|
-
/** 文件名提示文字 */
|
|
394
|
-
fileNamePlaceholderText: StringConstructor;
|
|
395
|
-
/** 选择数据文字 */
|
|
396
|
-
selectDataText: StringConstructor;
|
|
397
|
-
/** 选择字段文字 */
|
|
398
|
-
selectColumnText: StringConstructor;
|
|
399
|
-
/** 当前页数据文字 */
|
|
400
|
-
dataTypePageText: StringConstructor;
|
|
401
|
-
/** 选中数据文字 */
|
|
402
|
-
dataTypeSelectedText: StringConstructor;
|
|
403
|
-
/** 全部数据文字 */
|
|
404
|
-
dataTypeAllText: StringConstructor;
|
|
405
|
-
/** 取消文字 */
|
|
406
|
-
cancelText: StringConstructor;
|
|
407
|
-
/** 确定文字 */
|
|
408
|
-
okText: StringConstructor;
|
|
94
|
+
placement: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, import('element-plus').Placement, unknown> | undefined>;
|
|
95
|
+
/** 表格国际化 */
|
|
96
|
+
locale: {
|
|
97
|
+
type: PropType<TableLocale>;
|
|
98
|
+
required: true;
|
|
99
|
+
};
|
|
409
100
|
/** 弹窗参数 */
|
|
410
101
|
modalProps: PropType<EleModalProps>;
|
|
411
102
|
/** 列数据 */
|
|
@@ -420,21 +111,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
420
111
|
spanMethod: PropType<((data: {
|
|
421
112
|
row: DataItem;
|
|
422
113
|
rowIndex: number;
|
|
423
|
-
|
|
424
|
-
column: import("element-plus/es/components/table/src/table-column/defaults").TableColumnCtx<DataItem>;
|
|
114
|
+
column: import('element-plus').TableColumnCtx<DataItem>;
|
|
425
115
|
columnIndex: number;
|
|
426
116
|
}) => number[] | {
|
|
427
|
-
rowspan: number;
|
|
428
|
-
colspan: number;
|
|
117
|
+
rowspan: number; /** 数据来源 */
|
|
118
|
+
colspan: number;
|
|
429
119
|
} | undefined) | undefined>;
|
|
120
|
+
/** 表格是否有表头 */
|
|
121
|
+
tableHeader: BooleanConstructor;
|
|
430
122
|
/** 是否显示合计行 */
|
|
431
123
|
showSummary: BooleanConstructor;
|
|
432
124
|
/** 合计行文本 */
|
|
433
125
|
sumText: StringConstructor;
|
|
434
126
|
/** 合计行自定义方法 */
|
|
435
|
-
summaryMethod: PropType<import(
|
|
127
|
+
summaryMethod: PropType<import('element-plus').SummaryMethod<DataItem> | undefined>;
|
|
436
128
|
/** 序号列起始索引 */
|
|
437
129
|
pageIndex: NumberConstructor;
|
|
130
|
+
/** 子级字段名 */
|
|
131
|
+
childrenField: StringConstructor;
|
|
438
132
|
/** 表格请求数据方法 */
|
|
439
133
|
fetch: PropType<FetchFunction>;
|
|
440
134
|
/** 默认文件名 */
|
|
@@ -451,6 +145,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
451
145
|
beforeExport: PropType<BeforeExport>;
|
|
452
146
|
}>>, {
|
|
453
147
|
showSummary: boolean;
|
|
148
|
+
tableHeader: boolean;
|
|
454
149
|
defaultDataType: ExportDataType;
|
|
455
150
|
defaultFileName: string;
|
|
456
151
|
}, {}>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const vue = require("vue");
|
|
3
|
+
const elementPlus = require("element-plus");
|
|
4
|
+
const icons = require("../../icons");
|
|
3
5
|
const util = require("../../ele-virtual-table/util");
|
|
4
6
|
const _sfc_main = vue.defineComponent({
|
|
5
7
|
name: "ToolPrintBodyCell",
|
|
6
|
-
components: { CellRender: util.CellRender },
|
|
8
|
+
components: { ElIcon: elementPlus.ElIcon, ArrowDown: icons.ArrowDown, CellRender: util.CellRender },
|
|
7
9
|
props: {
|
|
8
10
|
/** 列数据 */
|
|
9
11
|
col: {
|
|
@@ -21,8 +23,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
21
23
|
const renderOpt = vue.computed(() => {
|
|
22
24
|
const { text, row, column, index: $index } = props.col;
|
|
23
25
|
const params = [{ row, column, $index }];
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
const slotName = column ? column.printSlot || column.slot : void 0;
|
|
27
|
+
if (column && !["expand", "selection", "index"].includes(column.type || "") && slotName && typeof slots[slotName] === "function") {
|
|
28
|
+
return { render: slots[slotName], params };
|
|
26
29
|
}
|
|
27
30
|
return { render: () => text, params };
|
|
28
31
|
});
|
|
@@ -36,13 +39,16 @@ const _sfc_main = vue.defineComponent({
|
|
|
36
39
|
});
|
|
37
40
|
const cellStyle = vue.computed(() => {
|
|
38
41
|
if (typeof props.bodyCellStyle === "function") {
|
|
42
|
+
if (cellParam.value.column == null) {
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
39
45
|
return props.bodyCellStyle(cellParam.value);
|
|
40
46
|
}
|
|
41
47
|
return props.bodyCellStyle;
|
|
42
48
|
});
|
|
43
49
|
const cellClass = vue.computed(() => {
|
|
44
50
|
const classes = [];
|
|
45
|
-
const column =
|
|
51
|
+
const column = cellParam.value.column;
|
|
46
52
|
if (column) {
|
|
47
53
|
if (column.align) {
|
|
48
54
|
classes.push("is-align-" + column.align);
|
|
@@ -73,6 +79,9 @@ const _export_sfc = (sfc, props) => {
|
|
|
73
79
|
};
|
|
74
80
|
const _hoisted_1 = ["colspan", "rowspan"];
|
|
75
81
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
82
|
+
var _a;
|
|
83
|
+
const _component_ArrowDown = vue.resolveComponent("ArrowDown");
|
|
84
|
+
const _component_ElIcon = vue.resolveComponent("ElIcon");
|
|
76
85
|
const _component_CellRender = vue.resolveComponent("CellRender");
|
|
77
86
|
return vue.openBlock(), vue.createElementBlock("td", {
|
|
78
87
|
colspan: _ctx.col.colspan,
|
|
@@ -80,7 +89,42 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80
89
|
style: vue.normalizeStyle(_ctx.cellStyle),
|
|
81
90
|
class: vue.normalizeClass(_ctx.cellClass)
|
|
82
91
|
}, [
|
|
83
|
-
vue.
|
|
92
|
+
"expand" === ((_a = _ctx.col.column) == null ? void 0 : _a.type) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
93
|
+
_ctx.col.text ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
94
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.col.text), 1)
|
|
95
|
+
], 64)) : (vue.openBlock(), vue.createBlock(_component_ElIcon, {
|
|
96
|
+
key: 1,
|
|
97
|
+
style: { "vertical-align": "middle" },
|
|
98
|
+
class: "ele-print-expand-icon"
|
|
99
|
+
}, {
|
|
100
|
+
default: vue.withCtx(() => [
|
|
101
|
+
vue.createVNode(_component_ArrowDown)
|
|
102
|
+
]),
|
|
103
|
+
_: 1
|
|
104
|
+
}))
|
|
105
|
+
], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
106
|
+
_ctx.col.isTreeCell ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
107
|
+
_ctx.col.indent ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
108
|
+
key: 0,
|
|
109
|
+
style: vue.normalizeStyle({ paddingLeft: `${_ctx.col.indent * 16}px` }),
|
|
110
|
+
class: "ele-print-tree-indent"
|
|
111
|
+
}, null, 4)) : vue.createCommentVNode("", true),
|
|
112
|
+
vue.createVNode(_component_ElIcon, {
|
|
113
|
+
style: vue.normalizeStyle({
|
|
114
|
+
verticalAlign: "middle",
|
|
115
|
+
marginRight: "2px",
|
|
116
|
+
visibility: _ctx.col.isTreeLeaf ? "hidden" : void 0
|
|
117
|
+
}),
|
|
118
|
+
class: "ele-print-tree-icon"
|
|
119
|
+
}, {
|
|
120
|
+
default: vue.withCtx(() => [
|
|
121
|
+
vue.createVNode(_component_ArrowDown)
|
|
122
|
+
]),
|
|
123
|
+
_: 1
|
|
124
|
+
}, 8, ["style"])
|
|
125
|
+
], 64)) : vue.createCommentVNode("", true),
|
|
126
|
+
vue.createVNode(_component_CellRender, vue.normalizeProps(vue.guardReactiveProps(_ctx.renderOpt)), null, 16)
|
|
127
|
+
], 64))
|
|
84
128
|
], 14, _hoisted_1);
|
|
85
129
|
}
|
|
86
130
|
const toolPrintBodyCell = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ExportDataItem } from '../types';
|
|
2
|
+
import { CustomRenderProps } from '../../ele-virtual-table/types';
|
|
2
3
|
import { StyleValues } from '../../ele-app/types';
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
declare const _default: import(
|
|
4
|
+
import { PropType } from 'vue';
|
|
5
|
+
|
|
6
|
+
declare const _default: import('vue').DefineComponent<{
|
|
6
7
|
/** 列数据 */
|
|
7
8
|
col: {
|
|
8
9
|
type: PropType<ExportDataItem>;
|
|
@@ -11,14 +12,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
12
|
/** 列索引 */
|
|
12
13
|
columnIndex: NumberConstructor;
|
|
13
14
|
/** 单元格样式 */
|
|
14
|
-
bodyCellStyle: PropType<import(
|
|
15
|
+
bodyCellStyle: PropType<import('element-plus').CellStyle<import('../types').DataItem> | undefined>;
|
|
15
16
|
/** 单元格类名自定义 */
|
|
16
|
-
bodyCellClass: PropType<import(
|
|
17
|
+
bodyCellClass: PropType<import('element-plus').CellCls<import('../types').DataItem> | undefined>;
|
|
17
18
|
}, {
|
|
18
|
-
renderOpt: import(
|
|
19
|
-
cellStyle: import(
|
|
20
|
-
cellClass: import(
|
|
21
|
-
}, unknown, {}, {}, import(
|
|
19
|
+
renderOpt: import('vue').ComputedRef<CustomRenderProps>;
|
|
20
|
+
cellStyle: import('vue').ComputedRef<StyleValues | undefined>;
|
|
21
|
+
cellClass: import('vue').ComputedRef<string>;
|
|
22
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
22
23
|
/** 列数据 */
|
|
23
24
|
col: {
|
|
24
25
|
type: PropType<ExportDataItem>;
|
|
@@ -27,8 +28,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
28
|
/** 列索引 */
|
|
28
29
|
columnIndex: NumberConstructor;
|
|
29
30
|
/** 单元格样式 */
|
|
30
|
-
bodyCellStyle: PropType<import(
|
|
31
|
+
bodyCellStyle: PropType<import('element-plus').CellStyle<import('../types').DataItem> | undefined>;
|
|
31
32
|
/** 单元格类名自定义 */
|
|
32
|
-
bodyCellClass: PropType<import(
|
|
33
|
+
bodyCellClass: PropType<import('element-plus').CellCls<import('../types').DataItem> | undefined>;
|
|
33
34
|
}>>, {}, {}>;
|
|
34
35
|
export default _default;
|
|
@@ -35,13 +35,16 @@ const _sfc_main = vue.defineComponent({
|
|
|
35
35
|
});
|
|
36
36
|
const cellStyle = vue.computed(() => {
|
|
37
37
|
if (typeof props.headerCellStyle === "function") {
|
|
38
|
+
if (cellParam.value.column == null) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
38
41
|
return props.headerCellStyle(cellParam.value);
|
|
39
42
|
}
|
|
40
43
|
return props.headerCellStyle;
|
|
41
44
|
});
|
|
42
45
|
const cellClass = vue.computed(() => {
|
|
43
46
|
const classes = [];
|
|
44
|
-
const column =
|
|
47
|
+
const column = cellParam.value.column;
|
|
45
48
|
if (column) {
|
|
46
49
|
const align = column.headerAlign || column.align;
|
|
47
50
|
if (align) {
|