ele-admin-plus 1.1.9-beta.9 → 1.1.9
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-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/el.d.ts +2 -1
- package/es/ele-app/index.d.ts +2 -2
- package/es/ele-app/style/overwrite/date-picker/index.scss +32 -5
- 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 +119 -30
- package/es/ele-config-provider/index.d.ts +7 -7
- package/es/ele-config-provider/props.d.ts +4 -3
- 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 +3 -29
- 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 +8 -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 +75 -71
- 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 +33 -32
- package/es/ele-edit-tag/index.js +1 -1
- package/es/ele-edit-tag/props.d.ts +10 -9
- 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 +49 -48
- package/es/ele-icon-select/props.d.ts +17 -16
- 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 +61 -62
- package/es/ele-menus/index.js +1 -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 +75 -68
- 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 +85 -146
- package/es/ele-modal/util.d.ts +20 -45
- package/es/ele-modal/util.js +55 -179
- 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 +90 -89
- package/es/ele-popconfirm/index.js +6 -28
- package/es/ele-popconfirm/props.d.ts +32 -31
- package/es/ele-popover/index.d.ts +69 -68
- 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 +84 -28
- 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 +14 -18
- 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 +62 -47
- 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 +1 -1
- 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 +22 -21
- package/es/ele-pro-table/components/table-tools.js +1 -1
- 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 +14 -13
- package/es/ele-pro-table/components/tool-column.js +3 -7
- package/es/ele-pro-table/components/tool-export.d.ts +24 -302
- package/es/ele-pro-table/components/tool-export.js +10 -12
- package/es/ele-pro-table/components/tool-print-body-cell.d.ts +13 -12
- package/es/ele-pro-table/components/tool-print-header-cell.d.ts +13 -12
- package/es/ele-pro-table/components/tool-print.d.ts +30 -747
- package/es/ele-pro-table/components/tool-print.js +26 -18
- package/es/ele-pro-table/index.d.ts +131 -143
- package/es/ele-pro-table/index.js +51 -29
- package/es/ele-pro-table/props.d.ts +44 -46
- package/es/ele-pro-table/types.d.ts +13 -0
- package/es/ele-pro-table/util.d.ts +26 -22
- package/es/ele-pro-table/util.js +49 -28
- 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-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 +59 -58
- 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 +13 -11
- package/es/ele-virtual-table/util.js +25 -22
- 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/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/zh_CN.d.ts +2 -2
- package/es/lang/zh_TW.d.ts +2 -2
- package/es/style/nprogress.scss +1 -0
- package/es/style/themes/dark.scss +9 -15
- package/es/style/themes/default.scss +58 -81
- package/es/style/themes/rounded.scss +16 -30
- package/es/utils/menu-util.d.ts +3 -2
- package/es/utils/menu-util.js +2 -5
- package/es/utils/message.d.ts +4 -3
- package/es/utils/resolvers.d.ts +2 -2
- 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/el.d.ts +2 -1
- package/lib/ele-app/index.d.ts +2 -2
- package/lib/ele-app/style/overwrite/date-picker/index.scss +32 -5
- 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.d.ts +7 -7
- package/lib/ele-config-provider/props.d.ts +4 -3
- 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 +3 -29
- 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 +8 -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 +75 -71
- 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 +1 -1
- package/lib/ele-edit-tag/index.d.ts +33 -32
- package/lib/ele-edit-tag/props.d.ts +10 -9
- 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 +49 -48
- package/lib/ele-icon-select/props.d.ts +17 -16
- 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 +1 -1
- package/lib/ele-menus/index.d.ts +61 -62
- 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 +75 -68
- package/lib/ele-modal/props.cjs +2 -0
- package/lib/ele-modal/props.d.ts +26 -23
- package/lib/ele-modal/style/index.scss +85 -146
- package/lib/ele-modal/util.cjs +55 -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 +90 -89
- package/lib/ele-popconfirm/props.d.ts +32 -31
- package/lib/ele-popover/index.cjs +5 -13
- package/lib/ele-popover/index.d.ts +69 -68
- 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 +84 -28
- 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 +14 -18
- 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 +61 -46
- 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 +1 -1
- 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 +1 -1
- package/lib/ele-pro-table/components/table-tools.d.ts +22 -21
- 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 +14 -13
- package/lib/ele-pro-table/components/tool-export.cjs +9 -11
- package/lib/ele-pro-table/components/tool-export.d.ts +24 -302
- package/lib/ele-pro-table/components/tool-print-body-cell.d.ts +13 -12
- package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +13 -12
- package/lib/ele-pro-table/components/tool-print.cjs +24 -16
- package/lib/ele-pro-table/components/tool-print.d.ts +30 -747
- package/lib/ele-pro-table/index.cjs +49 -27
- 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/types.d.ts +13 -0
- package/lib/ele-pro-table/util.cjs +48 -27
- package/lib/ele-pro-table/util.d.ts +26 -22
- 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-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 +59 -58
- 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 +25 -22
- package/lib/ele-virtual-table/util.d.ts +13 -11
- 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.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.d.ts +2 -2
- package/lib/lang/zh_CN.d.ts +2 -2
- 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 +58 -81
- package/lib/style/themes/rounded.scss +16 -30
- package/lib/utils/menu-util.cjs +1 -4
- package/lib/utils/menu-util.d.ts +3 -2
- package/lib/utils/message.d.ts +4 -3
- package/lib/utils/resolvers.d.ts +2 -2
- package/package.json +23 -22
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { Where, Datasource, RequestOption, ResponseOption, ParseData, DoneParams, TablePagination, TableLocale, ExportConfig, PrintConfig } from './types';
|
|
2
|
+
import { DataItem, Columns, TableSize } from '../ele-data-table/types';
|
|
3
|
+
import { EleLoadingProps, EleToolbarProps } from '../ele-app/plus';
|
|
4
|
+
import { PropType, ExtractPropTypes } from 'vue';
|
|
5
|
+
|
|
5
6
|
/**
|
|
6
7
|
* 属性
|
|
7
8
|
*/
|
|
@@ -64,9 +65,9 @@ export declare const proTableProps: {
|
|
|
64
65
|
/** 表格全屏状态的高度 */
|
|
65
66
|
maximizedHeight: (StringConstructor | NumberConstructor)[];
|
|
66
67
|
/** 自定义表格样式 */
|
|
67
|
-
tableStyle: PropType<Partial<import(
|
|
68
|
+
tableStyle: PropType<Partial<import('vue').CSSProperties>>;
|
|
68
69
|
/** 自定义底部样式 */
|
|
69
|
-
footerStyle: PropType<Partial<import(
|
|
70
|
+
footerStyle: PropType<Partial<import('vue').CSSProperties>>;
|
|
70
71
|
/** 分页组件 */
|
|
71
72
|
pagination: {
|
|
72
73
|
type: PropType<boolean | TablePagination>;
|
|
@@ -86,14 +87,14 @@ export declare const proTableProps: {
|
|
|
86
87
|
exportConfig: PropType<ExportConfig>;
|
|
87
88
|
/** 打印配置 */
|
|
88
89
|
printConfig: PropType<PrintConfig>;
|
|
89
|
-
width: (StringConstructor | NumberConstructor)[];
|
|
90
|
-
height: (StringConstructor | NumberConstructor)[];
|
|
91
90
|
size: {
|
|
92
|
-
readonly type: PropType<import(
|
|
91
|
+
readonly type: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
93
92
|
readonly required: false;
|
|
94
93
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
95
94
|
__epPropKey: true;
|
|
96
95
|
};
|
|
96
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
97
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
97
98
|
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
98
99
|
fit: {
|
|
99
100
|
type: BooleanConstructor;
|
|
@@ -108,11 +109,8 @@ export declare const proTableProps: {
|
|
|
108
109
|
type: PropType<Columns>;
|
|
109
110
|
required: boolean;
|
|
110
111
|
};
|
|
111
|
-
scrollbarAlwaysOn:
|
|
112
|
-
|
|
113
|
-
default: boolean;
|
|
114
|
-
};
|
|
115
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "popperClass" | "showArrow" | "appendTo" | "transition" | "enterable" | "showAfter" | "hideAfter">> | undefined>;
|
|
112
|
+
scrollbarAlwaysOn: BooleanConstructor;
|
|
113
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick<import('element-plus').ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "popperClass" | "showArrow" | "appendTo" | "transition" | "enterable" | "showAfter" | "hideAfter">> | undefined>;
|
|
116
114
|
emptyText: StringConstructor;
|
|
117
115
|
indent: {
|
|
118
116
|
type: NumberConstructor;
|
|
@@ -132,26 +130,26 @@ export declare const proTableProps: {
|
|
|
132
130
|
};
|
|
133
131
|
showSummary: BooleanConstructor;
|
|
134
132
|
sumText: StringConstructor;
|
|
135
|
-
summaryMethod: PropType<import(
|
|
136
|
-
rowClassName: PropType<import(
|
|
137
|
-
rowStyle: PropType<import(
|
|
138
|
-
cellClassName: PropType<import(
|
|
139
|
-
cellStyle: PropType<import(
|
|
140
|
-
headerRowClassName: PropType<import(
|
|
141
|
-
headerRowStyle: PropType<import(
|
|
142
|
-
headerCellClassName: PropType<import(
|
|
143
|
-
headerCellStyle: PropType<import(
|
|
133
|
+
summaryMethod: PropType<import('element-plus').SummaryMethod<any> | undefined>;
|
|
134
|
+
rowClassName: PropType<import('element-plus').ColumnCls<any> | undefined>;
|
|
135
|
+
rowStyle: PropType<import('element-plus').ColumnStyle<any> | undefined>;
|
|
136
|
+
cellClassName: PropType<import('element-plus').CellCls<any> | undefined>;
|
|
137
|
+
cellStyle: PropType<import('element-plus').CellStyle<any> | undefined>;
|
|
138
|
+
headerRowClassName: PropType<import('element-plus').ColumnCls<any> | undefined>;
|
|
139
|
+
headerRowStyle: PropType<import('element-plus').ColumnStyle<any> | undefined>;
|
|
140
|
+
headerCellClassName: PropType<import('element-plus').CellCls<any> | undefined>;
|
|
141
|
+
headerCellStyle: PropType<import('element-plus').CellStyle<any> | undefined>;
|
|
144
142
|
highlightCurrentRow: BooleanConstructor;
|
|
145
143
|
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
146
144
|
expandRowKeys: PropType<any[] | undefined>;
|
|
147
145
|
defaultExpandAll: BooleanConstructor;
|
|
148
|
-
defaultSort: PropType<import(
|
|
146
|
+
defaultSort: PropType<import('element-plus').Sort | undefined>;
|
|
149
147
|
tooltipEffect: StringConstructor;
|
|
150
|
-
tooltipOptions: PropType<Partial<Pick<import(
|
|
148
|
+
tooltipOptions: PropType<Partial<Pick<import('element-plus').ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "popperClass" | "showArrow" | "appendTo" | "transition" | "enterable" | "showAfter" | "hideAfter">> | undefined>;
|
|
151
149
|
spanMethod: PropType<((data: {
|
|
152
150
|
row: any;
|
|
153
151
|
rowIndex: number;
|
|
154
|
-
column: import(
|
|
152
|
+
column: import('element-plus').TableColumnCtx<any>;
|
|
155
153
|
columnIndex: number;
|
|
156
154
|
}) => number[] | {
|
|
157
155
|
rowspan: number;
|
|
@@ -171,9 +169,9 @@ export declare const proTableProps: {
|
|
|
171
169
|
children: string;
|
|
172
170
|
};
|
|
173
171
|
};
|
|
174
|
-
load: PropType<((row: any, treeNode: import(
|
|
172
|
+
load: PropType<((row: any, treeNode: import('element-plus').TreeNode, resolve: (data: any[]) => void) => void) | undefined>;
|
|
175
173
|
tableLayout: {
|
|
176
|
-
type: PropType<"
|
|
174
|
+
type: PropType<"fixed" | "auto">;
|
|
177
175
|
default: string;
|
|
178
176
|
};
|
|
179
177
|
flexible: BooleanConstructor;
|
|
@@ -192,12 +190,12 @@ export declare const proTableProps: {
|
|
|
192
190
|
default: boolean;
|
|
193
191
|
};
|
|
194
192
|
emptyProps: {
|
|
195
|
-
type: PropType<import(
|
|
193
|
+
type: PropType<import('../ele-data-table/types').TableEmptyProps>;
|
|
196
194
|
default: () => null;
|
|
197
195
|
};
|
|
198
|
-
rowClickChecked: PropType<import(
|
|
196
|
+
rowClickChecked: PropType<import('../ele-data-table/types').RowClickChecked>;
|
|
199
197
|
reserveCurrent: BooleanConstructor;
|
|
200
|
-
selectedRowKeys: PropType<import(
|
|
198
|
+
selectedRowKeys: PropType<import('../ele-data-table/types').DataKey[]>;
|
|
201
199
|
};
|
|
202
200
|
export type ProTableProps = ExtractPropTypes<typeof proTableProps>;
|
|
203
201
|
/**
|
|
@@ -221,22 +219,22 @@ export declare const proTableEmits: {
|
|
|
221
219
|
select: (_selection: DataItem[], _row: DataItem) => boolean;
|
|
222
220
|
selectAll: (_selection: DataItem[]) => boolean;
|
|
223
221
|
selectionChange: (_selection: DataItem[]) => boolean;
|
|
224
|
-
cellMouseEnter: (_row: DataItem, _column: import(
|
|
225
|
-
cellMouseLeave: (_row: DataItem, _column: import(
|
|
226
|
-
cellClick: (_row: DataItem, _column: import(
|
|
227
|
-
cellDblclick: (_row: DataItem, _column: import(
|
|
228
|
-
cellContextmenu: (_row: DataItem, _column: import(
|
|
229
|
-
rowClick: (_row: DataItem, _column: import(
|
|
230
|
-
rowContextmenu: (_row: DataItem, _column: import(
|
|
222
|
+
cellMouseEnter: (_row: DataItem, _column: import('./types').Column, _cell: HTMLTableCellElement, _e: MouseEvent) => boolean;
|
|
223
|
+
cellMouseLeave: (_row: DataItem, _column: import('./types').Column, _cell: HTMLTableCellElement, _e: MouseEvent) => boolean;
|
|
224
|
+
cellClick: (_row: DataItem, _column: import('./types').Column, _cell: HTMLTableCellElement, _e: MouseEvent) => boolean;
|
|
225
|
+
cellDblclick: (_row: DataItem, _column: import('./types').Column, _cell: HTMLTableCellElement, _e: MouseEvent) => boolean;
|
|
226
|
+
cellContextmenu: (_row: DataItem, _column: import('./types').Column, _cell: HTMLTableCellElement, _e: MouseEvent) => boolean;
|
|
227
|
+
rowClick: (_row: DataItem, _column: import('./types').Column, _e: MouseEvent) => boolean;
|
|
228
|
+
rowContextmenu: (_row: DataItem, _column: import('./types').Column, _e: MouseEvent) => boolean;
|
|
231
229
|
/** 导出配置 */
|
|
232
|
-
rowDblclick: (_row: DataItem, _column: import(
|
|
233
|
-
headerClick: (_column: import(
|
|
234
|
-
headerContextmenu: (_column: import(
|
|
235
|
-
sortChange: (_sorter: import(
|
|
236
|
-
filterChange: (_filter: import(
|
|
230
|
+
rowDblclick: (_row: DataItem, _column: import('./types').Column, _e: MouseEvent) => boolean;
|
|
231
|
+
headerClick: (_column: import('./types').Column, _e: MouseEvent) => boolean;
|
|
232
|
+
headerContextmenu: (_column: import('./types').Column, _e: MouseEvent) => boolean;
|
|
233
|
+
sortChange: (_sorter: import('./types').Sorter) => boolean;
|
|
234
|
+
filterChange: (_filter: import('./types').Filter) => boolean;
|
|
237
235
|
currentChange: (_current?: DataItem | null | undefined, _old?: DataItem | null | undefined) => boolean;
|
|
238
|
-
headerDragend: (_width: number, _old: number, _column: import(
|
|
236
|
+
headerDragend: (_width: number, _old: number, _column: import('./types').Column, _e: MouseEvent) => boolean;
|
|
239
237
|
expandChange: (_row: DataItem, _expanded: boolean) => boolean;
|
|
240
|
-
'update:currentRowKey': (_currentRowKey?: import(
|
|
241
|
-
'update:selectedRowKeys': (_selectedRowKeys?: import(
|
|
238
|
+
'update:currentRowKey': (_currentRowKey?: import('../ele-data-table/types').DataKey | undefined) => boolean;
|
|
239
|
+
'update:selectedRowKeys': (_selectedRowKeys?: import('../ele-data-table/types').DataKey[] | undefined) => boolean; /** 数组数据源时刷新按钮点击事件 */
|
|
242
240
|
};
|
|
@@ -29,6 +29,11 @@ export type {
|
|
|
29
29
|
ResolveFunction
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
+
/**
|
|
33
|
+
* 分页参数
|
|
34
|
+
*/
|
|
35
|
+
export type Pages = Record<string, number>;
|
|
36
|
+
|
|
32
37
|
/**
|
|
33
38
|
* 搜索参数
|
|
34
39
|
*/
|
|
@@ -52,6 +57,8 @@ export interface DatasourceParams {
|
|
|
52
57
|
page?: number;
|
|
53
58
|
/** 每页显示数量 */
|
|
54
59
|
limit?: number;
|
|
60
|
+
/** 分页参数 */
|
|
61
|
+
pages: Pages;
|
|
55
62
|
/** 搜索参数 */
|
|
56
63
|
where: Where;
|
|
57
64
|
/** 排序参数 */
|
|
@@ -121,6 +128,10 @@ export type OrderValue = string | number | boolean | null | undefined;
|
|
|
121
128
|
* 请求参数设置
|
|
122
129
|
*/
|
|
123
130
|
export interface RequestOption {
|
|
131
|
+
/** 页码参数名称 */
|
|
132
|
+
pageName?: string;
|
|
133
|
+
/** 每页数量参数名称 */
|
|
134
|
+
limitName?: string;
|
|
124
135
|
/** 排序字段参数名称 */
|
|
125
136
|
sortName?: string;
|
|
126
137
|
/** 排序方式参数名称 */
|
|
@@ -387,6 +398,8 @@ export interface TablePrintOptions extends ExportDataResult {
|
|
|
387
398
|
hasHeader: boolean;
|
|
388
399
|
/** 是否有表尾 */
|
|
389
400
|
hasFooter: boolean;
|
|
401
|
+
/** 打印的数据 */
|
|
402
|
+
data: DataItem[];
|
|
390
403
|
}
|
|
391
404
|
|
|
392
405
|
/**
|
|
@@ -67,6 +67,8 @@ function getDefaultFilter(columns) {
|
|
|
67
67
|
}
|
|
68
68
|
function getRequestName(globalRequest, request) {
|
|
69
69
|
const defaultRequest = {
|
|
70
|
+
pageName: "page",
|
|
71
|
+
limitName: "limit",
|
|
70
72
|
sortName: "sort",
|
|
71
73
|
orderName: "order",
|
|
72
74
|
ascValue: "asc",
|
|
@@ -145,6 +147,16 @@ function getRequestFilters(filter) {
|
|
|
145
147
|
}
|
|
146
148
|
return filters;
|
|
147
149
|
}
|
|
150
|
+
function getRequestPages(page, limit, request, globalRequest) {
|
|
151
|
+
const pages = {};
|
|
152
|
+
const { pageName, limitName } = getRequestName(globalRequest, request);
|
|
153
|
+
if (!pageName || !limitName) {
|
|
154
|
+
return pages;
|
|
155
|
+
}
|
|
156
|
+
pages[pageName] = page;
|
|
157
|
+
pages[limitName] = limit;
|
|
158
|
+
return pages;
|
|
159
|
+
}
|
|
148
160
|
function getResponseResult(data, response, globalResponse, lazy, treeOpt) {
|
|
149
161
|
if (!data || Array.isArray(data)) {
|
|
150
162
|
return { data: getResponseData(data, lazy, treeOpt) };
|
|
@@ -207,7 +219,10 @@ function sortData(datasource, sorter) {
|
|
|
207
219
|
return data;
|
|
208
220
|
}
|
|
209
221
|
function getColId(column) {
|
|
210
|
-
|
|
222
|
+
if (column.columnKey == null || column.columnKey === "") {
|
|
223
|
+
return column.prop;
|
|
224
|
+
}
|
|
225
|
+
return column.columnKey;
|
|
211
226
|
}
|
|
212
227
|
function getInitColumns(columns) {
|
|
213
228
|
const data = [];
|
|
@@ -305,19 +320,25 @@ function getCheckedColumns(columns, cols, sortable, filter) {
|
|
|
305
320
|
});
|
|
306
321
|
return data;
|
|
307
322
|
}
|
|
308
|
-
function getColItems(columns, untitledText, filter) {
|
|
309
|
-
|
|
323
|
+
function getColItems(columns, untitledText, filter, sortFixed, cancelFixed) {
|
|
324
|
+
const temp = columns == null ? [] : [...columns];
|
|
325
|
+
if (sortFixed) {
|
|
326
|
+
temp.sort((a, b) => {
|
|
327
|
+
return util.getColFixedNumber(a.fixed) - util.getColFixedNumber(b.fixed);
|
|
328
|
+
});
|
|
329
|
+
}
|
|
330
|
+
return core.mapTree(temp, (d, _i, parent) => {
|
|
310
331
|
const colId = getColId(d);
|
|
311
|
-
if (
|
|
332
|
+
if (colId == null || filter && !filter(d)) {
|
|
312
333
|
return;
|
|
313
334
|
}
|
|
314
335
|
return {
|
|
315
336
|
uid: colId,
|
|
316
|
-
prop: d.prop,
|
|
317
|
-
columnKey: d.columnKey,
|
|
337
|
+
//prop: d.prop,
|
|
338
|
+
//columnKey: d.columnKey,
|
|
318
339
|
label: d.label || untitledText,
|
|
319
340
|
checked: !d.hideInTable,
|
|
320
|
-
fixed: d.fixed
|
|
341
|
+
fixed: cancelFixed ? false : parent == null ? d.fixed : false
|
|
321
342
|
};
|
|
322
343
|
});
|
|
323
344
|
}
|
|
@@ -375,21 +396,13 @@ function getCacheSize(cacheKey) {
|
|
|
375
396
|
}
|
|
376
397
|
}
|
|
377
398
|
}
|
|
378
|
-
function getDefaultRowKey(rowKey) {
|
|
379
|
-
return rowKey ? void 0 : "_rowKey";
|
|
380
|
-
}
|
|
381
399
|
function getRowKey(rowKey) {
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
function addDefaultRowKey(data, rowKey, page) {
|
|
385
|
-
if (rowKey == null) {
|
|
386
|
-
return data;
|
|
400
|
+
if (rowKey != null) {
|
|
401
|
+
return rowKey;
|
|
387
402
|
}
|
|
388
|
-
return
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
return item;
|
|
392
|
-
});
|
|
403
|
+
return (row) => {
|
|
404
|
+
return JSON.stringify(row);
|
|
405
|
+
};
|
|
393
406
|
}
|
|
394
407
|
function getCellText(column, row, index, pageIndex) {
|
|
395
408
|
if (!column) {
|
|
@@ -400,7 +413,7 @@ function getCellText(column, row, index, pageIndex) {
|
|
|
400
413
|
}
|
|
401
414
|
const propValue = util.getValue(row, column.prop);
|
|
402
415
|
if (typeof column.formatter === "function") {
|
|
403
|
-
return column.formatter(row, column, propValue, index
|
|
416
|
+
return column.formatter(row, column, propValue, index);
|
|
404
417
|
}
|
|
405
418
|
return propValue == null ? "" : String(propValue);
|
|
406
419
|
}
|
|
@@ -409,8 +422,7 @@ function getHeaderCellText(column, index) {
|
|
|
409
422
|
return "";
|
|
410
423
|
}
|
|
411
424
|
if (typeof column.renderHeader === "function") {
|
|
412
|
-
|
|
413
|
-
return column.renderHeader(params);
|
|
425
|
+
return column.renderHeader({ column, $index: index });
|
|
414
426
|
}
|
|
415
427
|
return column.label == null ? "" : String(column.label);
|
|
416
428
|
}
|
|
@@ -474,12 +486,21 @@ function exportCSV(fileName, headerData, bodyData, footerData) {
|
|
|
474
486
|
a.click();
|
|
475
487
|
document.body.removeChild(a);
|
|
476
488
|
}
|
|
477
|
-
function
|
|
489
|
+
function columnsExportFilter(item) {
|
|
490
|
+
if (item.hideInExport) {
|
|
491
|
+
return false;
|
|
492
|
+
}
|
|
493
|
+
return !item.type || !["selection", "expand"].includes(item.type);
|
|
494
|
+
}
|
|
495
|
+
function columnsPrintFilter(item) {
|
|
496
|
+
if (item.hideInPrint) {
|
|
497
|
+
return false;
|
|
498
|
+
}
|
|
478
499
|
return !item.type || !["selection", "expand"].includes(item.type);
|
|
479
500
|
}
|
|
480
|
-
exports.
|
|
501
|
+
exports.columnsExportFilter = columnsExportFilter;
|
|
502
|
+
exports.columnsPrintFilter = columnsPrintFilter;
|
|
481
503
|
exports.exportCSV = exportCSV;
|
|
482
|
-
exports.exportColumnsfilter = exportColumnsfilter;
|
|
483
504
|
exports.getCacheCols = getCacheCols;
|
|
484
505
|
exports.getCacheSize = getCacheSize;
|
|
485
506
|
exports.getCellText = getCellText;
|
|
@@ -488,7 +509,6 @@ exports.getColId = getColId;
|
|
|
488
509
|
exports.getColItems = getColItems;
|
|
489
510
|
exports.getColsCacheKey = getColsCacheKey;
|
|
490
511
|
exports.getDefaultFilter = getDefaultFilter;
|
|
491
|
-
exports.getDefaultRowKey = getDefaultRowKey;
|
|
492
512
|
exports.getExportData = getExportData;
|
|
493
513
|
exports.getHeaderCellText = getHeaderCellText;
|
|
494
514
|
exports.getInitCacheColumns = getInitCacheColumns;
|
|
@@ -498,6 +518,7 @@ exports.getPaginationProps = getPaginationProps;
|
|
|
498
518
|
exports.getRequestFilters = getRequestFilters;
|
|
499
519
|
exports.getRequestName = getRequestName;
|
|
500
520
|
exports.getRequestOrders = getRequestOrders;
|
|
521
|
+
exports.getRequestPages = getRequestPages;
|
|
501
522
|
exports.getResponseData = getResponseData;
|
|
502
523
|
exports.getResponseName = getResponseName;
|
|
503
524
|
exports.getResponseResult = getResponseResult;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { Pages, Orders, Filters, OrderItem, RequestOption, ResponseOption, TablePagination, DatasourceResult, ResponseResult, ReloadDataResult, ColItem, ProProps, ExportDataItem, ExportDataResult } from './types';
|
|
2
|
+
import { DataItem, Column, Columns, Sorter, Filter, TableSize, TreeProps, RowKey, SpanMethod, SummaryMethod } from '../ele-data-table/types';
|
|
3
|
+
import { ElePaginationProps } from '../ele-app/plus';
|
|
4
|
+
|
|
4
5
|
/**
|
|
5
6
|
* 合并复合属性
|
|
6
7
|
* @param props 属性
|
|
@@ -26,7 +27,7 @@ export declare function getTableLimit(pagination: boolean | TablePagination | un
|
|
|
26
27
|
* @param globalPagination 全局配置分页组件属性
|
|
27
28
|
* @param pageProps 分页相关的属性
|
|
28
29
|
*/
|
|
29
|
-
export declare function getPaginationProps(size: TableSize, pagination: boolean | TablePagination | undefined, globalPagination: boolean | TablePagination | undefined, pageProps?: Pick<ElePaginationProps, 'total' | 'pageSize' | 'currentPage'>): ElePaginationProps | null;
|
|
30
|
+
export declare function getPaginationProps(size: TableSize, pagination: boolean | TablePagination | undefined, globalPagination: boolean | TablePagination | undefined, pageProps?: Pick<ElePaginationProps, 'total' | 'pageSize' | 'currentPage' | 'hasNext'>): ElePaginationProps | null;
|
|
30
31
|
/**
|
|
31
32
|
* 判断是否开启自动修正页码
|
|
32
33
|
* @param pagination 分页组件属性
|
|
@@ -74,6 +75,14 @@ export declare function getRequestOrders(sorter?: Sorter, request?: RequestOptio
|
|
|
74
75
|
* @param filter 筛选条件
|
|
75
76
|
*/
|
|
76
77
|
export declare function getRequestFilters(filter?: Filter): Filters;
|
|
78
|
+
/**
|
|
79
|
+
* 生成请求的分页参数
|
|
80
|
+
* @param page 页码
|
|
81
|
+
* @param limit 每页数量
|
|
82
|
+
* @param request 请求参数配置
|
|
83
|
+
* @param globalRequest 全局请求参数配置
|
|
84
|
+
*/
|
|
85
|
+
export declare function getRequestPages(page: number, limit: number, request?: RequestOption, globalRequest?: RequestOption): Pages;
|
|
77
86
|
/**
|
|
78
87
|
* 获取数据源请求结果
|
|
79
88
|
* @param data 数据源请求的原始数据
|
|
@@ -108,7 +117,7 @@ export declare function sortData(datasource?: DataItem[], sorter?: Sorter): Data
|
|
|
108
117
|
* 获取列配置标识
|
|
109
118
|
* @param column 列数据
|
|
110
119
|
*/
|
|
111
|
-
export declare function getColId(column
|
|
120
|
+
export declare function getColId(column: Column): string | undefined;
|
|
112
121
|
/**
|
|
113
122
|
* 获取初始显示的列数据
|
|
114
123
|
* @param columns 列数据
|
|
@@ -130,11 +139,13 @@ export declare function getInitCacheColumns(columns: Columns, cacheKey?: string,
|
|
|
130
139
|
export declare function getCheckedColumns(columns: Columns | undefined, cols: ColItem[], sortable?: boolean, filter?: (item: Column) => boolean): Columns;
|
|
131
140
|
/**
|
|
132
141
|
* 获取列展示列表数据
|
|
133
|
-
* @param columns
|
|
142
|
+
* @param columns 列配置
|
|
134
143
|
* @param untitledText 未命名列文字
|
|
135
|
-
* @param filter
|
|
144
|
+
* @param filter 过滤列的方法
|
|
145
|
+
* @param sortFixed 是否对固定列排序
|
|
146
|
+
* @param cancelFixed 是否取消固定列
|
|
136
147
|
*/
|
|
137
|
-
export declare function getColItems(columns?: Columns, untitledText?: string, filter?: (item: Column) => boolean): ColItem[];
|
|
148
|
+
export declare function getColItems(columns?: Columns, untitledText?: string, filter?: (item: Column) => boolean, sortFixed?: boolean, cancelFixed?: boolean): ColItem[];
|
|
138
149
|
/**
|
|
139
150
|
* 获取列配置
|
|
140
151
|
* @param columns 列数据
|
|
@@ -160,23 +171,11 @@ export declare function getSizeCacheKey(cacheKey: string): string;
|
|
|
160
171
|
* @param cacheKey 缓存的名称
|
|
161
172
|
*/
|
|
162
173
|
export declare function getCacheSize(cacheKey?: string): TableSize;
|
|
163
|
-
/**
|
|
164
|
-
* 获取默认 rowKey
|
|
165
|
-
* @param rowKey 自定义 rowKey
|
|
166
|
-
*/
|
|
167
|
-
export declare function getDefaultRowKey(rowKey?: RowKey): "_rowKey" | undefined;
|
|
168
174
|
/**
|
|
169
175
|
* 获取 rowKey
|
|
170
176
|
* @param rowKey 自定义 rowKey
|
|
171
177
|
*/
|
|
172
|
-
export declare function getRowKey(rowKey?: RowKey): string | ((row: DataItem) => string)
|
|
173
|
-
/**
|
|
174
|
-
* 数据添加默认的 rowKey 字段
|
|
175
|
-
* @param data 数据
|
|
176
|
-
* @param rowKey 字段名
|
|
177
|
-
* @param page 页码
|
|
178
|
-
*/
|
|
179
|
-
export declare function addDefaultRowKey(data: DataItem[], rowKey: string | undefined, page: number): DataItem[];
|
|
178
|
+
export declare function getRowKey(rowKey?: RowKey): string | ((row: DataItem) => string);
|
|
180
179
|
/**
|
|
181
180
|
* 导出获取单元格文本
|
|
182
181
|
* @param column 列配置
|
|
@@ -213,4 +212,9 @@ export declare function exportCSV(fileName: string, headerData: ExportDataItem[]
|
|
|
213
212
|
* 导出判断列是否显示
|
|
214
213
|
* @param item 列配置
|
|
215
214
|
*/
|
|
216
|
-
export declare function
|
|
215
|
+
export declare function columnsExportFilter(item: Column): boolean;
|
|
216
|
+
/**
|
|
217
|
+
* 打印判断列是否显示
|
|
218
|
+
* @param item 列配置
|
|
219
|
+
*/
|
|
220
|
+
export declare function columnsPrintFilter(item: Column): boolean;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { StyleValues } from '../ele-app/types';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
4
|
value: StringConstructor;
|
|
4
5
|
size: {
|
|
5
6
|
type: NumberConstructor;
|
|
6
7
|
default: number;
|
|
7
8
|
};
|
|
8
9
|
level: {
|
|
9
|
-
type: import(
|
|
10
|
+
type: import('vue').PropType<import('./types').Level>;
|
|
10
11
|
default: string;
|
|
11
12
|
};
|
|
12
13
|
bgColor: {
|
|
@@ -21,24 +22,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
22
|
type: NumberConstructor;
|
|
22
23
|
default: number;
|
|
23
24
|
};
|
|
24
|
-
imageSettings: import(
|
|
25
|
-
customStyle: import(
|
|
25
|
+
imageSettings: import('vue').PropType<import('./types').ImageSettings>;
|
|
26
|
+
customStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
26
27
|
}, {
|
|
27
|
-
canvasRef: import(
|
|
28
|
-
imageRef: import(
|
|
29
|
-
imageSrc: import(
|
|
30
|
-
canvasStyle: import(
|
|
28
|
+
canvasRef: import('vue').Ref<HTMLCanvasElement | null>;
|
|
29
|
+
imageRef: import('vue').Ref<HTMLImageElement | null>;
|
|
30
|
+
imageSrc: import('vue').ComputedRef<string | undefined>;
|
|
31
|
+
canvasStyle: import('vue').ComputedRef<StyleValues>;
|
|
31
32
|
render: () => void;
|
|
32
|
-
}, unknown, {}, {}, import(
|
|
33
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
34
|
done: () => boolean;
|
|
34
|
-
}, string, import(
|
|
35
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
35
36
|
value: StringConstructor;
|
|
36
37
|
size: {
|
|
37
38
|
type: NumberConstructor;
|
|
38
39
|
default: number;
|
|
39
40
|
};
|
|
40
41
|
level: {
|
|
41
|
-
type: import(
|
|
42
|
+
type: import('vue').PropType<import('./types').Level>;
|
|
42
43
|
default: string;
|
|
43
44
|
};
|
|
44
45
|
bgColor: {
|
|
@@ -53,14 +54,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
54
|
type: NumberConstructor;
|
|
54
55
|
default: number;
|
|
55
56
|
};
|
|
56
|
-
imageSettings: import(
|
|
57
|
-
customStyle: import(
|
|
57
|
+
imageSettings: import('vue').PropType<import('./types').ImageSettings>;
|
|
58
|
+
customStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
58
59
|
}>> & {
|
|
59
60
|
onDone?: (() => any) | undefined;
|
|
60
61
|
}, {
|
|
61
62
|
margin: number;
|
|
62
63
|
size: number;
|
|
63
|
-
level: import(
|
|
64
|
+
level: import('./types').Level;
|
|
64
65
|
bgColor: string;
|
|
65
66
|
fgColor: string;
|
|
66
67
|
}, {}>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { Level, ImageSettings } from './types';
|
|
2
|
+
import { PropType, ExtractPropTypes } from 'vue';
|
|
3
|
+
|
|
3
4
|
/**
|
|
4
5
|
* 属性
|
|
5
6
|
*/
|
|
@@ -34,7 +35,7 @@ export declare const qrCodeProps: {
|
|
|
34
35
|
/** 自定义图片 */
|
|
35
36
|
imageSettings: PropType<ImageSettings>;
|
|
36
37
|
/** 自定义样式 */
|
|
37
|
-
customStyle: PropType<Partial<import(
|
|
38
|
+
customStyle: PropType<Partial<import('vue').CSSProperties>>;
|
|
38
39
|
};
|
|
39
40
|
export type QrCodeProps = ExtractPropTypes<typeof qrCodeProps>;
|
|
40
41
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ImageSettings, Modules, Excavation } from './types';
|
|
2
|
+
import { default as qrcodegen } from './qrcodegen';
|
|
3
|
+
|
|
3
4
|
export declare const ERROR_LEVEL_MAP: {
|
|
4
5
|
L: qrcodegen.QrCode.Ecc;
|
|
5
6
|
M: qrcodegen.QrCode.Ecc;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
value: StringConstructor;
|
|
3
3
|
size: {
|
|
4
4
|
type: NumberConstructor;
|
|
5
5
|
default: number;
|
|
6
6
|
};
|
|
7
7
|
level: {
|
|
8
|
-
type: import(
|
|
8
|
+
type: import('vue').PropType<import('../ele-qr-code/types').Level>;
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
11
11
|
bgColor: {
|
|
@@ -20,28 +20,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
type: NumberConstructor;
|
|
21
21
|
default: number;
|
|
22
22
|
}; /** 前景路径 */
|
|
23
|
-
imageSettings: import(
|
|
24
|
-
customStyle: import(
|
|
23
|
+
imageSettings: import('vue').PropType<import('../ele-qr-code/types').ImageSettings>;
|
|
24
|
+
customStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
25
25
|
}, {
|
|
26
|
-
viewBox: import(
|
|
27
|
-
path: import(
|
|
28
|
-
fgPath: import(
|
|
29
|
-
imageHeight: import(
|
|
30
|
-
imageWidth: import(
|
|
31
|
-
imageX: import(
|
|
32
|
-
imageY: import(
|
|
33
|
-
imageSrc: import(
|
|
26
|
+
viewBox: import('vue').Ref<string>;
|
|
27
|
+
path: import('vue').Ref<string>;
|
|
28
|
+
fgPath: import('vue').Ref<string>;
|
|
29
|
+
imageHeight: import('vue').Ref<number>;
|
|
30
|
+
imageWidth: import('vue').Ref<number>;
|
|
31
|
+
imageX: import('vue').Ref<number>;
|
|
32
|
+
imageY: import('vue').Ref<number>;
|
|
33
|
+
imageSrc: import('vue').ComputedRef<string | undefined>;
|
|
34
34
|
render: () => void;
|
|
35
|
-
}, unknown, {}, {}, import(
|
|
35
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
36
36
|
done: () => boolean;
|
|
37
|
-
}, string, import(
|
|
37
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
38
38
|
value: StringConstructor;
|
|
39
39
|
size: {
|
|
40
40
|
type: NumberConstructor;
|
|
41
41
|
default: number;
|
|
42
42
|
};
|
|
43
43
|
level: {
|
|
44
|
-
type: import(
|
|
44
|
+
type: import('vue').PropType<import('../ele-qr-code/types').Level>;
|
|
45
45
|
default: string;
|
|
46
46
|
};
|
|
47
47
|
bgColor: {
|
|
@@ -56,14 +56,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
56
|
type: NumberConstructor;
|
|
57
57
|
default: number;
|
|
58
58
|
}; /** 前景路径 */
|
|
59
|
-
imageSettings: import(
|
|
60
|
-
customStyle: import(
|
|
59
|
+
imageSettings: import('vue').PropType<import('../ele-qr-code/types').ImageSettings>;
|
|
60
|
+
customStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
61
61
|
}>> & {
|
|
62
62
|
onDone?: (() => any) | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
margin: number;
|
|
65
65
|
size: number;
|
|
66
|
-
level: import(
|
|
66
|
+
level: import('../ele-qr-code/types').Level;
|
|
67
67
|
bgColor: string;
|
|
68
68
|
fgColor: string;
|
|
69
69
|
}, {}>;
|