ele-admin-plus 1.1.9-beta.8 → 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 +7 -1
- package/es/ele-app/index.d.ts +2 -2
- package/es/ele-app/plus.d.ts +9 -0
- 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 +6 -5
- package/es/ele-config-provider/props.js +2 -2
- 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 +5 -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 +65 -70
- package/es/ele-data-table/index.js +8 -0
- package/es/ele-data-table/props.d.ts +36 -41
- package/es/ele-data-table/style/index.scss +4 -0
- package/es/ele-data-table/types.d.ts +18 -16
- package/es/ele-data-table/util.d.ts +15 -9
- package/es/ele-data-table/util.js +14 -0
- 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 +103 -175
- 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 -29
- package/es/ele-pagination/index.js +20 -5
- package/es/ele-pagination/props.d.ts +19 -12
- package/es/ele-pagination/props.js +7 -0
- package/es/ele-pagination/style/index.scss +9 -0
- package/es/ele-pagination/types.d.ts +6 -1
- 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-printer/util.js +1 -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 +107 -15
- package/es/ele-pro-table/components/table-tools.js +125 -8
- package/es/ele-pro-table/components/tool-column-list.d.ts +6 -5
- package/es/ele-pro-table/components/tool-column-list.js +4 -7
- package/es/ele-pro-table/components/tool-column.d.ts +14 -13
- package/es/ele-pro-table/components/tool-column.js +9 -9
- package/es/ele-pro-table/components/tool-export.d.ts +179 -0
- package/es/ele-pro-table/components/tool-export.js +449 -0
- package/es/ele-pro-table/components/tool-print-body-cell.d.ts +35 -0
- package/es/ele-pro-table/components/tool-print-body-cell.js +88 -0
- package/es/ele-pro-table/components/tool-print-header-cell.d.ts +35 -0
- package/es/ele-pro-table/components/tool-print-header-cell.js +88 -0
- package/es/ele-pro-table/components/tool-print.d.ts +182 -0
- package/es/ele-pro-table/components/tool-print.js +555 -0
- package/es/ele-pro-table/index.d.ts +138 -131
- package/es/ele-pro-table/index.js +107 -37
- package/es/ele-pro-table/props.d.ts +52 -48
- package/es/ele-pro-table/props.js +6 -2
- package/es/ele-pro-table/style/index.js +9 -0
- package/es/ele-pro-table/style/index.scss +33 -5
- package/es/ele-pro-table/types.d.ts +160 -5
- package/es/ele-pro-table/util.d.ts +64 -16
- package/es/ele-pro-table/util.js +155 -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 +7 -4
- package/es/ele-table/index.js +2 -1
- package/es/ele-table/props.d.ts +5 -2
- package/es/ele-table/props.js +3 -1
- package/es/ele-table/style/index.scss +35 -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 +8 -8
- package/es/ele-tool/index.js +2 -4
- package/es/ele-tool/props.d.ts +10 -2
- package/es/ele-tool/props.js +5 -0
- 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 -65
- package/es/ele-virtual-table/components/body-cell.js +79 -112
- 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 +29 -19
- 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 +103 -69
- package/es/ele-virtual-table/util.d.ts +35 -10
- package/es/ele-virtual-table/util.js +64 -17
- 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 +2 -0
- package/es/icons/PrinterOutlined.js +29 -0
- 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/VerticalLeftOutlined.js +2 -2
- package/es/icons/VerticalRightOutlined.d.ts +1 -1
- package/es/icons/VerticalRightOutlined.js +2 -2
- 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 +2 -0
- package/es/icons/index.js +60 -56
- package/es/installer.d.ts +2 -2
- package/es/lang/en_US.d.ts +2 -2
- package/es/lang/en_US.js +13 -2
- package/es/lang/zh_CN.d.ts +2 -2
- package/es/lang/zh_CN.js +13 -2
- package/es/lang/zh_TW.d.ts +2 -2
- package/es/lang/zh_TW.js +12 -1
- 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/es/utils/resolvers.js +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 +7 -1
- package/lib/ele-app/index.d.ts +2 -2
- package/lib/ele-app/plus.d.ts +9 -0
- 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.cjs +2 -2
- package/lib/ele-config-provider/props.d.ts +6 -5
- 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 +5 -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.cjs +8 -0
- package/lib/ele-data-table/index.d.ts +65 -70
- package/lib/ele-data-table/props.d.ts +36 -41
- package/lib/ele-data-table/style/index.scss +4 -0
- package/lib/ele-data-table/types.d.ts +18 -16
- package/lib/ele-data-table/util.cjs +14 -0
- package/lib/ele-data-table/util.d.ts +15 -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 +103 -175
- 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 +19 -4
- package/lib/ele-pagination/index.d.ts +40 -29
- package/lib/ele-pagination/props.cjs +7 -0
- package/lib/ele-pagination/props.d.ts +19 -12
- package/lib/ele-pagination/style/index.scss +9 -0
- package/lib/ele-pagination/types.d.ts +6 -1
- 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.cjs +1 -1
- 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 +124 -7
- package/lib/ele-pro-table/components/table-tools.d.ts +107 -15
- package/lib/ele-pro-table/components/tool-column-list.cjs +3 -6
- package/lib/ele-pro-table/components/tool-column-list.d.ts +6 -5
- package/lib/ele-pro-table/components/tool-column.cjs +8 -8
- package/lib/ele-pro-table/components/tool-column.d.ts +14 -13
- package/lib/ele-pro-table/components/tool-export.cjs +448 -0
- package/lib/ele-pro-table/components/tool-export.d.ts +179 -0
- package/lib/ele-pro-table/components/tool-print-body-cell.cjs +87 -0
- package/lib/ele-pro-table/components/tool-print-body-cell.d.ts +35 -0
- package/lib/ele-pro-table/components/tool-print-header-cell.cjs +87 -0
- package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +35 -0
- package/lib/ele-pro-table/components/tool-print.cjs +554 -0
- package/lib/ele-pro-table/components/tool-print.d.ts +182 -0
- package/lib/ele-pro-table/index.cjs +105 -35
- package/lib/ele-pro-table/index.d.ts +138 -131
- package/lib/ele-pro-table/props.cjs +6 -2
- package/lib/ele-pro-table/props.d.ts +52 -48
- package/lib/ele-pro-table/style/index.cjs +9 -0
- package/lib/ele-pro-table/style/index.scss +33 -5
- package/lib/ele-pro-table/types.d.ts +160 -5
- package/lib/ele-pro-table/util.cjs +154 -27
- package/lib/ele-pro-table/util.d.ts +64 -16
- 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.cjs +2 -1
- package/lib/ele-table/index.d.ts +7 -4
- package/lib/ele-table/props.cjs +3 -1
- package/lib/ele-table/props.d.ts +5 -2
- package/lib/ele-table/style/index.scss +35 -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.cjs +1 -3
- package/lib/ele-tool/index.d.ts +8 -8
- package/lib/ele-tool/props.cjs +5 -0
- package/lib/ele-tool/props.d.ts +10 -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 +78 -111
- package/lib/ele-virtual-table/components/body-cell.d.ts +100 -65
- 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 +27 -17
- 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 +103 -69
- package/lib/ele-virtual-table/util.cjs +64 -17
- package/lib/ele-virtual-table/util.d.ts +35 -10
- 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.cjs +28 -0
- package/lib/icons/PrinterOutlined.d.ts +2 -0
- 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.cjs +2 -2
- package/lib/icons/VerticalLeftOutlined.d.ts +1 -1
- package/lib/icons/VerticalRightOutlined.cjs +2 -2
- 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 +4 -0
- package/lib/icons/index.d.ts +2 -0
- package/lib/installer.d.ts +2 -2
- package/lib/lang/en_US.cjs +13 -2
- package/lib/lang/en_US.d.ts +2 -2
- package/lib/lang/zh_CN.cjs +13 -2
- package/lib/lang/zh_CN.d.ts +2 -2
- package/lib/lang/zh_TW.cjs +12 -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 +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.cjs +2 -2
- package/lib/utils/resolvers.d.ts +2 -2
- package/package.json +23 -22
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const util = require("../ele-data-table/util");
|
|
4
3
|
const core = require("../utils/core");
|
|
4
|
+
const util = require("../ele-data-table/util");
|
|
5
|
+
const util$1 = require("../ele-virtual-table/util");
|
|
5
6
|
function mergeProps(props, globalProps) {
|
|
6
7
|
if (props == null) {
|
|
7
8
|
return globalProps ?? true;
|
|
@@ -66,6 +67,8 @@ function getDefaultFilter(columns) {
|
|
|
66
67
|
}
|
|
67
68
|
function getRequestName(globalRequest, request) {
|
|
68
69
|
const defaultRequest = {
|
|
70
|
+
pageName: "page",
|
|
71
|
+
limitName: "limit",
|
|
69
72
|
sortName: "sort",
|
|
70
73
|
orderName: "order",
|
|
71
74
|
ascValue: "asc",
|
|
@@ -144,6 +147,16 @@ function getRequestFilters(filter) {
|
|
|
144
147
|
}
|
|
145
148
|
return filters;
|
|
146
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
|
+
}
|
|
147
160
|
function getResponseResult(data, response, globalResponse, lazy, treeOpt) {
|
|
148
161
|
if (!data || Array.isArray(data)) {
|
|
149
162
|
return { data: getResponseData(data, lazy, treeOpt) };
|
|
@@ -206,7 +219,10 @@ function sortData(datasource, sorter) {
|
|
|
206
219
|
return data;
|
|
207
220
|
}
|
|
208
221
|
function getColId(column) {
|
|
209
|
-
|
|
222
|
+
if (column.columnKey == null || column.columnKey === "") {
|
|
223
|
+
return column.prop;
|
|
224
|
+
}
|
|
225
|
+
return column.columnKey;
|
|
210
226
|
}
|
|
211
227
|
function getInitColumns(columns) {
|
|
212
228
|
const data = [];
|
|
@@ -232,7 +248,7 @@ function getInitCacheColumns(columns, cacheKey, sortable) {
|
|
|
232
248
|
}
|
|
233
249
|
return getCheckedColumns(columns, cache, sortable);
|
|
234
250
|
}
|
|
235
|
-
function getCheckedColumns(columns, cols, sortable) {
|
|
251
|
+
function getCheckedColumns(columns, cols, sortable, filter) {
|
|
236
252
|
const data = [];
|
|
237
253
|
if (!columns || !columns.length) {
|
|
238
254
|
return data;
|
|
@@ -242,26 +258,23 @@ function getCheckedColumns(columns, cols, sortable) {
|
|
|
242
258
|
if (colId == null) {
|
|
243
259
|
return;
|
|
244
260
|
}
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
return false;
|
|
250
|
-
}
|
|
251
|
-
});
|
|
261
|
+
if (filter && !filter(d)) {
|
|
262
|
+
return;
|
|
263
|
+
}
|
|
264
|
+
const temp = core.findTree(cols, (t) => t.uid === colId);
|
|
252
265
|
if (temp && !temp.checked) {
|
|
253
266
|
return;
|
|
254
267
|
}
|
|
255
268
|
const fixed = (temp == null ? void 0 : temp.fixed) ?? d.fixed;
|
|
256
269
|
const uid = core.uuid(8);
|
|
257
|
-
if (d.children) {
|
|
258
|
-
const children = getCheckedColumns(d.children, cols, sortable);
|
|
270
|
+
if (d.children && d.children.length) {
|
|
271
|
+
const children = getCheckedColumns(d.children, cols, sortable, filter);
|
|
259
272
|
if (children.length) {
|
|
260
273
|
data.push({ ...d, fixed, uid, children });
|
|
261
274
|
}
|
|
262
|
-
|
|
263
|
-
data.push({ ...d, fixed, uid });
|
|
275
|
+
return;
|
|
264
276
|
}
|
|
277
|
+
data.push({ ...d, fixed, uid });
|
|
265
278
|
});
|
|
266
279
|
if (!sortable || !data.length) {
|
|
267
280
|
return data;
|
|
@@ -307,6 +320,28 @@ function getCheckedColumns(columns, cols, sortable) {
|
|
|
307
320
|
});
|
|
308
321
|
return data;
|
|
309
322
|
}
|
|
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) => {
|
|
331
|
+
const colId = getColId(d);
|
|
332
|
+
if (colId == null || filter && !filter(d)) {
|
|
333
|
+
return;
|
|
334
|
+
}
|
|
335
|
+
return {
|
|
336
|
+
uid: colId,
|
|
337
|
+
//prop: d.prop,
|
|
338
|
+
//columnKey: d.columnKey,
|
|
339
|
+
label: d.label || untitledText,
|
|
340
|
+
checked: !d.hideInTable,
|
|
341
|
+
fixed: cancelFixed ? false : parent == null ? d.fixed : false
|
|
342
|
+
};
|
|
343
|
+
});
|
|
344
|
+
}
|
|
310
345
|
function getSettingCols(columns, untitledText, cacheKey) {
|
|
311
346
|
const cacheResult = getCacheCols(cacheKey);
|
|
312
347
|
if (cacheResult) {
|
|
@@ -361,30 +396,121 @@ function getCacheSize(cacheKey) {
|
|
|
361
396
|
}
|
|
362
397
|
}
|
|
363
398
|
}
|
|
364
|
-
function getDefaultRowKey(rowKey) {
|
|
365
|
-
return rowKey ? void 0 : "_rowKey";
|
|
366
|
-
}
|
|
367
399
|
function getRowKey(rowKey) {
|
|
368
|
-
|
|
400
|
+
if (rowKey != null) {
|
|
401
|
+
return rowKey;
|
|
402
|
+
}
|
|
403
|
+
return (row) => {
|
|
404
|
+
return JSON.stringify(row);
|
|
405
|
+
};
|
|
369
406
|
}
|
|
370
|
-
function
|
|
371
|
-
if (
|
|
372
|
-
return
|
|
407
|
+
function getCellText(column, row, index, pageIndex) {
|
|
408
|
+
if (!column) {
|
|
409
|
+
return "";
|
|
410
|
+
}
|
|
411
|
+
if (column.type === "index") {
|
|
412
|
+
return util$1.getIndexValue(index, column.index, pageIndex);
|
|
413
|
+
}
|
|
414
|
+
const propValue = util.getValue(row, column.prop);
|
|
415
|
+
if (typeof column.formatter === "function") {
|
|
416
|
+
return column.formatter(row, column, propValue, index);
|
|
417
|
+
}
|
|
418
|
+
return propValue == null ? "" : String(propValue);
|
|
419
|
+
}
|
|
420
|
+
function getHeaderCellText(column, index) {
|
|
421
|
+
if (!column) {
|
|
422
|
+
return "";
|
|
423
|
+
}
|
|
424
|
+
if (typeof column.renderHeader === "function") {
|
|
425
|
+
return column.renderHeader({ column, $index: index });
|
|
426
|
+
}
|
|
427
|
+
return column.label == null ? "" : String(column.label);
|
|
428
|
+
}
|
|
429
|
+
function getExportData(data, columns, spanMethod, pageIndex, showSummary, sumText, summaryMethod) {
|
|
430
|
+
const { rows: headerRows, cols: bodyCols } = util$1.analyseColumns(columns);
|
|
431
|
+
const bodyData = [];
|
|
432
|
+
data.forEach((row, index) => {
|
|
433
|
+
const bodyRowData = [];
|
|
434
|
+
bodyCols.forEach((col, columnIndex) => {
|
|
435
|
+
const { key, originalCol: column } = col;
|
|
436
|
+
const { colspan, rowspan } = util$1.getCellSpan(
|
|
437
|
+
{ column, columnIndex, row, rowIndex: index },
|
|
438
|
+
spanMethod
|
|
439
|
+
);
|
|
440
|
+
const isNone = colspan == 0 || rowspan == 0;
|
|
441
|
+
const text = isNone ? "" : getCellText(column, row, index, pageIndex);
|
|
442
|
+
bodyRowData.push({ key, row, index, column, text, colspan, rowspan });
|
|
443
|
+
});
|
|
444
|
+
bodyData.push(bodyRowData);
|
|
445
|
+
});
|
|
446
|
+
const headerData = [];
|
|
447
|
+
headerRows.forEach((headerCols, index) => {
|
|
448
|
+
const headerRowData = [];
|
|
449
|
+
headerCols.forEach((col) => {
|
|
450
|
+
const { key, colspan, rowspan, originalCol: column } = col;
|
|
451
|
+
const isNone = colspan == 0 || rowspan == 0;
|
|
452
|
+
const text = isNone ? "" : getHeaderCellText(column, index);
|
|
453
|
+
headerRowData.push({ key, index, column, text, colspan, rowspan });
|
|
454
|
+
});
|
|
455
|
+
headerData.push(headerRowData);
|
|
456
|
+
});
|
|
457
|
+
const footerData = [];
|
|
458
|
+
if (showSummary && data.length) {
|
|
459
|
+
const footerRowData = [];
|
|
460
|
+
const userSums = util$1.getUserSums(summaryMethod, bodyCols, data);
|
|
461
|
+
bodyCols.forEach((col, i) => {
|
|
462
|
+
const { key, dataKey, originalCol: column } = col;
|
|
463
|
+
const sumValue = util$1.getSumValue(data, dataKey);
|
|
464
|
+
footerRowData.push({
|
|
465
|
+
key,
|
|
466
|
+
column,
|
|
467
|
+
text: userSums == null ? i === 0 ? sumText : sumValue : userSums[i],
|
|
468
|
+
index: 0
|
|
469
|
+
});
|
|
470
|
+
});
|
|
471
|
+
footerData.push(footerRowData);
|
|
373
472
|
}
|
|
374
|
-
return
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
473
|
+
return { headerData, bodyData, footerData, bodyCols };
|
|
474
|
+
}
|
|
475
|
+
function exportCSV(fileName, headerData, bodyData, footerData) {
|
|
476
|
+
const csvRows = [];
|
|
477
|
+
[...headerData, ...bodyData, ...footerData].forEach((item) => {
|
|
478
|
+
csvRows.push(item.map((d) => d.text ?? "").join(","));
|
|
378
479
|
});
|
|
480
|
+
const content = encodeURIComponent(csvRows.join("\n"));
|
|
481
|
+
const a = document.createElement("a");
|
|
482
|
+
a.href = "data:text/csv;charset=utf-8," + content;
|
|
483
|
+
a.download = fileName + ".csv";
|
|
484
|
+
a.style.display = "none";
|
|
485
|
+
document.body.appendChild(a);
|
|
486
|
+
a.click();
|
|
487
|
+
document.body.removeChild(a);
|
|
488
|
+
}
|
|
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
|
+
}
|
|
499
|
+
return !item.type || !["selection", "expand"].includes(item.type);
|
|
379
500
|
}
|
|
380
|
-
exports.
|
|
501
|
+
exports.columnsExportFilter = columnsExportFilter;
|
|
502
|
+
exports.columnsPrintFilter = columnsPrintFilter;
|
|
503
|
+
exports.exportCSV = exportCSV;
|
|
381
504
|
exports.getCacheCols = getCacheCols;
|
|
382
505
|
exports.getCacheSize = getCacheSize;
|
|
506
|
+
exports.getCellText = getCellText;
|
|
383
507
|
exports.getCheckedColumns = getCheckedColumns;
|
|
384
508
|
exports.getColId = getColId;
|
|
509
|
+
exports.getColItems = getColItems;
|
|
385
510
|
exports.getColsCacheKey = getColsCacheKey;
|
|
386
511
|
exports.getDefaultFilter = getDefaultFilter;
|
|
387
|
-
exports.
|
|
512
|
+
exports.getExportData = getExportData;
|
|
513
|
+
exports.getHeaderCellText = getHeaderCellText;
|
|
388
514
|
exports.getInitCacheColumns = getInitCacheColumns;
|
|
389
515
|
exports.getInitColumns = getInitColumns;
|
|
390
516
|
exports.getOrderItems = getOrderItems;
|
|
@@ -392,6 +518,7 @@ exports.getPaginationProps = getPaginationProps;
|
|
|
392
518
|
exports.getRequestFilters = getRequestFilters;
|
|
393
519
|
exports.getRequestName = getRequestName;
|
|
394
520
|
exports.getRequestOrders = getRequestOrders;
|
|
521
|
+
exports.getRequestPages = getRequestPages;
|
|
395
522
|
exports.getResponseData = getResponseData;
|
|
396
523
|
exports.getResponseName = getResponseName;
|
|
397
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 列数据
|
|
@@ -127,7 +136,16 @@ export declare function getInitCacheColumns(columns: Columns, cacheKey?: string,
|
|
|
127
136
|
* @param cols 列配置数据
|
|
128
137
|
* @param sortable 是否进行排序
|
|
129
138
|
*/
|
|
130
|
-
export declare function getCheckedColumns(columns: Columns | undefined, cols: ColItem[], sortable?: boolean): Columns;
|
|
139
|
+
export declare function getCheckedColumns(columns: Columns | undefined, cols: ColItem[], sortable?: boolean, filter?: (item: Column) => boolean): Columns;
|
|
140
|
+
/**
|
|
141
|
+
* 获取列展示列表数据
|
|
142
|
+
* @param columns 列配置
|
|
143
|
+
* @param untitledText 未命名列文字
|
|
144
|
+
* @param filter 过滤列的方法
|
|
145
|
+
* @param sortFixed 是否对固定列排序
|
|
146
|
+
* @param cancelFixed 是否取消固定列
|
|
147
|
+
*/
|
|
148
|
+
export declare function getColItems(columns?: Columns, untitledText?: string, filter?: (item: Column) => boolean, sortFixed?: boolean, cancelFixed?: boolean): ColItem[];
|
|
131
149
|
/**
|
|
132
150
|
* 获取列配置
|
|
133
151
|
* @param columns 列数据
|
|
@@ -154,19 +172,49 @@ export declare function getSizeCacheKey(cacheKey: string): string;
|
|
|
154
172
|
*/
|
|
155
173
|
export declare function getCacheSize(cacheKey?: string): TableSize;
|
|
156
174
|
/**
|
|
157
|
-
*
|
|
175
|
+
* 获取 rowKey
|
|
158
176
|
* @param rowKey 自定义 rowKey
|
|
159
177
|
*/
|
|
160
|
-
export declare function
|
|
178
|
+
export declare function getRowKey(rowKey?: RowKey): string | ((row: DataItem) => string);
|
|
161
179
|
/**
|
|
162
|
-
*
|
|
163
|
-
* @param
|
|
180
|
+
* 导出获取单元格文本
|
|
181
|
+
* @param column 列配置
|
|
182
|
+
* @param row 行数据
|
|
183
|
+
* @param index 行索引
|
|
184
|
+
* @param pageIndex 序号列起始索引
|
|
164
185
|
*/
|
|
165
|
-
export declare function
|
|
186
|
+
export declare function getCellText(column: Column | undefined, row: DataItem, index: number, pageIndex?: number): string;
|
|
166
187
|
/**
|
|
167
|
-
*
|
|
168
|
-
* @param
|
|
169
|
-
* @param
|
|
170
|
-
|
|
188
|
+
* 导出获取表头单元格文本
|
|
189
|
+
* @param column 列配置
|
|
190
|
+
* @param index 行索引
|
|
191
|
+
*/
|
|
192
|
+
export declare function getHeaderCellText(column: Column | undefined, index: number): string;
|
|
193
|
+
/**
|
|
194
|
+
* 获取导出的数据
|
|
195
|
+
* @param data 元数据
|
|
196
|
+
* @param columns 列配置
|
|
197
|
+
* @param spanMethod 单元格合并方法
|
|
198
|
+
* @param pageIndex 序号列起始索引
|
|
199
|
+
* @param showSummary 是否显示合计行
|
|
200
|
+
* @param sumText 合计行文本
|
|
201
|
+
* @param summaryMethod 合计行自定义方法
|
|
202
|
+
*/
|
|
203
|
+
export declare function getExportData(data: DataItem[], columns: Columns, spanMethod?: SpanMethod, pageIndex?: number, showSummary?: boolean, sumText?: string, summaryMethod?: SummaryMethod): ExportDataResult;
|
|
204
|
+
/**
|
|
205
|
+
* 导出csv文件
|
|
206
|
+
* @param fileName 文件名
|
|
207
|
+
* @param headerData 表头数据
|
|
208
|
+
* @param bodyData 主体数据
|
|
209
|
+
*/
|
|
210
|
+
export declare function exportCSV(fileName: string, headerData: ExportDataItem[][], bodyData: ExportDataItem[][], footerData: ExportDataItem[][]): void;
|
|
211
|
+
/**
|
|
212
|
+
* 导出判断列是否显示
|
|
213
|
+
* @param item 列配置
|
|
214
|
+
*/
|
|
215
|
+
export declare function columnsExportFilter(item: Column): boolean;
|
|
216
|
+
/**
|
|
217
|
+
* 打印判断列是否显示
|
|
218
|
+
* @param item 列配置
|
|
171
219
|
*/
|
|
172
|
-
export declare function
|
|
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
|
}, {}>;
|
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { ElTabsInstance } from '../ele-app/el';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
4
|
modelValue: (StringConstructor | NumberConstructor)[];
|
|
4
5
|
block: BooleanConstructor;
|
|
5
6
|
disabled: BooleanConstructor;
|
|
6
7
|
items: {
|
|
7
|
-
type: import(
|
|
8
|
+
type: import('vue').PropType<import('./types').SegmentedItem[]>;
|
|
8
9
|
required: boolean;
|
|
9
10
|
};
|
|
10
|
-
size: import(
|
|
11
|
+
size: import('vue').PropType<import('./types').SegmentedSize>;
|
|
11
12
|
}, {
|
|
12
|
-
tabRef: import(
|
|
13
|
+
tabRef: import('vue').Ref<ElTabsInstance>;
|
|
13
14
|
onUpdateModelValue: (value: string | number) => void;
|
|
14
|
-
}, unknown, {}, {}, import(
|
|
15
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
16
|
'update:modelValue': (_value: string | number) => boolean;
|
|
16
17
|
change: (_active: string | number) => boolean;
|
|
17
|
-
}, string, import(
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
19
|
modelValue: (StringConstructor | NumberConstructor)[];
|
|
19
20
|
block: BooleanConstructor;
|
|
20
21
|
disabled: BooleanConstructor;
|
|
21
22
|
items: {
|
|
22
|
-
type: import(
|
|
23
|
+
type: import('vue').PropType<import('./types').SegmentedItem[]>;
|
|
23
24
|
required: boolean;
|
|
24
25
|
};
|
|
25
|
-
size: import(
|
|
26
|
+
size: import('vue').PropType<import('./types').SegmentedSize>;
|
|
26
27
|
}>> & {
|
|
27
28
|
onChange?: ((_active: string | number) => any) | undefined;
|
|
28
29
|
"onUpdate:modelValue"?: ((_value: string | number) => any) | undefined;
|