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,45 +1,134 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent, openBlock, createBlock, normalizeStyle, withCtx, renderSlot } from "vue";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as j, ref as N, computed as R, watch as T, resolveComponent as x, openBlock as y, createBlock as V, normalizeStyle as W, withCtx as Y, renderSlot as z } from "vue";
|
|
2
|
+
import I from "../../ele-watermark/index";
|
|
3
|
+
import { useReceiver as K } from "../receiver";
|
|
4
|
+
const O = "1.1";
|
|
5
|
+
function J(t) {
|
|
6
|
+
const r = (v, D, a) => {
|
|
7
|
+
const s = ((l, S) => {
|
|
8
|
+
const k = l.length - S;
|
|
9
|
+
if (k <= 0)
|
|
10
|
+
return l;
|
|
11
|
+
const $ = new Array(l.length);
|
|
12
|
+
for (let E = 0; E < l.length; E++)
|
|
13
|
+
E < S ? $[E] = l[k + E] : $[E] = l[E - S];
|
|
14
|
+
return $;
|
|
15
|
+
})(v.split(""), a).join(""), C = [];
|
|
16
|
+
let w = 0;
|
|
17
|
+
for (; w < s.length; ) {
|
|
18
|
+
let l = w + D;
|
|
19
|
+
l > s.length && (l = s.length);
|
|
20
|
+
const S = s.substring(w, l);
|
|
21
|
+
C.push(S.split("").reverse().join("")), w = l;
|
|
22
|
+
}
|
|
23
|
+
return C.join("");
|
|
24
|
+
}, e = "BAFEDIHGLKJONMRQPUTSXWVaZYdcbgfejihmlkponsrqvutyxw10z432765+98/C", i = t.indexOf("="), o = i === -1 ? t : t.substring(0, i), u = i === -1 ? "" : t.substring(i), c = (r(o, 12, 3) + u).replace(/[^A-Za-z0-9\+\/\=]/g, ""), h = r(e, 3, 1) + "=";
|
|
25
|
+
let n = "", B, f, g, F, p, _, b, A = 0;
|
|
26
|
+
for (; A < c.length; )
|
|
27
|
+
F = h.indexOf(c.charAt(A++)), p = h.indexOf(c.charAt(A++)), _ = h.indexOf(c.charAt(A++)), b = h.indexOf(c.charAt(A++)), B = F << 2 | p >> 4, f = (p & 15) << 4 | _ >> 2, g = (_ & 3) << 6 | b, n = n + String.fromCharCode(B), _ != 64 && (n = n + String.fromCharCode(f)), b != 64 && (n = n + String.fromCharCode(g));
|
|
28
|
+
return n = ((v) => {
|
|
29
|
+
let D = "", a = 0, s = 0, C = 0, w = 0;
|
|
30
|
+
for (; a < v.length; )
|
|
31
|
+
s = v.charCodeAt(a), s < 128 ? (D += String.fromCharCode(s), a++) : s > 191 && s < 224 ? (C = v.charCodeAt(a + 1), D += String.fromCharCode((s & 31) << 6 | C & 63), a += 2) : (C = v.charCodeAt(a + 1), w = v.charCodeAt(a + 2), D += String.fromCharCode(
|
|
32
|
+
(s & 15) << 12 | (C & 63) << 6 | w & 63
|
|
33
|
+
), a += 3);
|
|
34
|
+
return D;
|
|
35
|
+
})(n), n;
|
|
36
|
+
}
|
|
37
|
+
const P = "EleAdminPlus\u9700\u8981\u6388\u6743\u4F7F\u7528,\u8BF7\u524D\u5F80eleadmin.com\u8D2D\u4E70\u6388\u6743";
|
|
38
|
+
function m(t, r, e, i) {
|
|
39
|
+
const o = new Array(60).join("*"), u = [o];
|
|
40
|
+
if (u.push(P), t == null && r == null && e == null && i == null && u.push("\u8BF7\u5148\u914D\u7F6E\u81EA\u5DF1\u7684\u6388\u6743\u7801;"), !t && r == null && !e && u.push("\u8BF7\u4F7F\u7528\u6B63\u786E\u683C\u5F0F\u7684\u6388\u6743\u7801;"), t && u.push(`\u6388\u6743\u7248\u672C\u53F7\u4E0D\u5339\u914D, \u8BF7\u4F7F\u7528: ${t}, \u5F53\u524D\u7248\u672C: ${O};`), typeof r == "number") {
|
|
41
|
+
const d = new Date(r * 1e3).toLocaleString();
|
|
42
|
+
u.push(`\u6388\u6743\u5DF2\u5931\u6548, \u5230\u671F\u65F6\u95F4: ${d};`);
|
|
43
|
+
}
|
|
44
|
+
e && u.push(`\u57DF\u540D\u4E0D\u5339\u914D, \u8BF7\u90E8\u7F72\u5728: ${e} \u4E0B, \u5F53\u524D\u57DF\u540D: ${i};`), u.push(o), console.error(u.join(`
|
|
45
|
+
`));
|
|
46
|
+
}
|
|
47
|
+
const L = j({
|
|
5
48
|
name: "ReceiverView",
|
|
6
|
-
components: { EleWatermark },
|
|
49
|
+
components: { EleWatermark: I },
|
|
7
50
|
props: {
|
|
8
51
|
wrapPosition: {
|
|
9
52
|
type: Boolean,
|
|
10
|
-
default:
|
|
53
|
+
default: !0
|
|
11
54
|
}
|
|
12
55
|
},
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
56
|
+
setup(t) {
|
|
57
|
+
const r = K(), e = N(!1), i = R(() => {
|
|
58
|
+
const o = r.license;
|
|
59
|
+
return o ? o.trim() : void 0;
|
|
60
|
+
});
|
|
61
|
+
return T(
|
|
62
|
+
i,
|
|
63
|
+
(o) => {
|
|
64
|
+
var u;
|
|
65
|
+
if (typeof o != "string" || !o) {
|
|
66
|
+
e.value = !1, m();
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
try {
|
|
70
|
+
const d = JSON.parse(J(o)), { version: c, expiration: h, domain: n, product: B } = d;
|
|
71
|
+
if (c && c !== O) {
|
|
72
|
+
e.value = !1, m(c);
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
if (B !== "EleAdminPlus") {
|
|
76
|
+
e.value = !1, m("");
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
if (h && h < Date.now() / 1e3) {
|
|
80
|
+
e.value = !1, m(void 0, h);
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
if (n) {
|
|
84
|
+
const f = (u = window == null ? void 0 : window.location) == null ? void 0 : u.hostname;
|
|
85
|
+
if (!f) {
|
|
86
|
+
e.value = !1, m(void 0, void 0, n, "");
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
if (f !== "localhost" && f !== "127.0.0.1") {
|
|
90
|
+
const g = n.split("."), F = f.split(".");
|
|
91
|
+
for (let p = g.length - 1; p >= 0; p--)
|
|
92
|
+
if (g[p] !== F[p]) {
|
|
93
|
+
e.value = !1, m(void 0, void 0, n, f);
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
if (F.length > g.length && F[F.length - g.length - 1] !== "www") {
|
|
97
|
+
e.value = !1, m(void 0, void 0, n, f);
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
} catch (d) {
|
|
103
|
+
e.value = !1, console.error(d), m("");
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
e.value = !0;
|
|
107
|
+
},
|
|
108
|
+
{ immediate: !0 }
|
|
109
|
+
), { authenticated: e, watermark: P.split(",") };
|
|
25
110
|
}
|
|
26
|
-
|
|
111
|
+
}), M = (t, r) => {
|
|
112
|
+
const e = t.__vccOpts || t;
|
|
113
|
+
for (const [i, o] of r)
|
|
114
|
+
e[i] = o;
|
|
115
|
+
return e;
|
|
27
116
|
};
|
|
28
|
-
function
|
|
29
|
-
const
|
|
30
|
-
return
|
|
31
|
-
content:
|
|
32
|
-
wrapPosition:
|
|
33
|
-
disabled:
|
|
34
|
-
style:
|
|
117
|
+
function X(t, r, e, i, o, u) {
|
|
118
|
+
const d = x("EleWatermark");
|
|
119
|
+
return y(), V(d, {
|
|
120
|
+
content: t.watermark,
|
|
121
|
+
wrapPosition: !1,
|
|
122
|
+
disabled: t.authenticated,
|
|
123
|
+
style: W(!t.wrapPosition || t.authenticated ? void 0 : { position: "relative" })
|
|
35
124
|
}, {
|
|
36
|
-
default:
|
|
37
|
-
|
|
125
|
+
default: Y(() => [
|
|
126
|
+
z(t.$slots, "default", { authenticated: t.authenticated })
|
|
38
127
|
]),
|
|
39
128
|
_: 3
|
|
40
129
|
}, 8, ["content", "disabled", "style"]);
|
|
41
130
|
}
|
|
42
|
-
const
|
|
131
|
+
const H = /* @__PURE__ */ M(L, [["render", X]]);
|
|
43
132
|
export {
|
|
44
|
-
|
|
133
|
+
H as default
|
|
45
134
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
declare const _default: import(
|
|
2
|
-
locale: import(
|
|
3
|
-
table: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
locale: import('vue').PropType<import('./types').EleLocale>;
|
|
3
|
+
table: import('vue').PropType<Partial<Pick<import('../ele-app/plus').EleProTableProps, "size" | "stripe" | "border" | "emptyProps" | "request" | "response" | "parseData" | "tools" | "maximizedIndex" | "pagination" | "exportConfig" | "printConfig">>>;
|
|
4
4
|
mapKey: StringConstructor;
|
|
5
5
|
license: StringConstructor;
|
|
6
|
-
}, () => import(
|
|
6
|
+
}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
7
7
|
[key: string]: any;
|
|
8
|
-
}>[] | undefined, unknown, {}, {}, import(
|
|
9
|
-
locale: import(
|
|
10
|
-
table: import(
|
|
8
|
+
}>[] | undefined, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
locale: import('vue').PropType<import('./types').EleLocale>;
|
|
10
|
+
table: import('vue').PropType<Partial<Pick<import('../ele-app/plus').EleProTableProps, "size" | "stripe" | "border" | "emptyProps" | "request" | "response" | "parseData" | "tools" | "maximizedIndex" | "pagination" | "exportConfig" | "printConfig">>>;
|
|
11
11
|
mapKey: StringConstructor;
|
|
12
12
|
license: StringConstructor;
|
|
13
13
|
}>>, {}, {}>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { EleLocale } from './types';
|
|
2
|
+
import { PropType, ExtractPropTypes } from 'vue';
|
|
3
|
+
|
|
3
4
|
/**
|
|
4
5
|
* 属性
|
|
5
6
|
*/
|
|
@@ -7,10 +8,10 @@ export declare const configProviderProps: {
|
|
|
7
8
|
/** 国际化 */
|
|
8
9
|
locale: PropType<EleLocale>;
|
|
9
10
|
/** 表格全局配置 */
|
|
10
|
-
table: PropType<Partial<Pick<import(
|
|
11
|
-
/**
|
|
11
|
+
table: PropType<Partial<Pick<import('../ele-app/plus').EleProTableProps, "size" | "stripe" | "border" | "tools" | "emptyProps" | "request" | "response" | "parseData" | "maximizedIndex" | "pagination" | "exportConfig" | "printConfig">>>;
|
|
12
|
+
/** 高德地图key */
|
|
12
13
|
mapKey: StringConstructor;
|
|
13
|
-
/**
|
|
14
|
+
/** license */
|
|
14
15
|
license: StringConstructor;
|
|
15
16
|
};
|
|
16
17
|
export type ConfigProviderProps = ExtractPropTypes<typeof configProviderProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { GlobalProvide, UseLocaleResult, LocaleProps, ResponsiveProps, LayoutProvide } from './types';
|
|
2
2
|
import { LAYOUT_KEY } from './props';
|
|
3
|
-
import
|
|
4
|
-
|
|
3
|
+
import { Ref } from 'vue';
|
|
4
|
+
|
|
5
5
|
/**
|
|
6
6
|
* 获取全局配置
|
|
7
7
|
*/
|
|
@@ -14,16 +14,12 @@ export declare function useGlobalProps<T>(name: string): Ref<T>;
|
|
|
14
14
|
* 获取国际化
|
|
15
15
|
*/
|
|
16
16
|
export declare function useLocale<T>(name?: string, props?: LocaleProps<T>): UseLocaleResult<T>;
|
|
17
|
-
/**
|
|
18
|
-
* useLicense
|
|
19
|
-
*/
|
|
20
|
-
export declare function useLicense(): UseLicenseResult;
|
|
21
17
|
/**
|
|
22
18
|
* 获取布局状态
|
|
23
19
|
*/
|
|
24
|
-
export declare function useLayoutState(
|
|
20
|
+
export declare function useLayoutState(): LayoutProvide;
|
|
25
21
|
/**
|
|
26
22
|
* 获取是否开启布局响应
|
|
27
23
|
*/
|
|
28
|
-
export declare function useResponsive(props: ResponsiveProps): import(
|
|
29
|
-
export { LAYOUT_KEY
|
|
24
|
+
export declare function useResponsive(props: ResponsiveProps): import('vue').ComputedRef<boolean>;
|
|
25
|
+
export { LAYOUT_KEY };
|
|
@@ -1,124 +1,39 @@
|
|
|
1
|
-
import { inject
|
|
2
|
-
import { PROVIDE_KEY
|
|
3
|
-
import { LAYOUT_KEY as
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}), globalConfig: e };
|
|
19
|
-
}
|
|
20
|
-
function q() {
|
|
21
|
-
const t = R(), n = w(() => {
|
|
22
|
-
const r = t.license;
|
|
23
|
-
return r ? r.trim() : void 0;
|
|
24
|
-
}), e = B(!1);
|
|
25
|
-
return N(
|
|
26
|
-
n,
|
|
27
|
-
(r) => {
|
|
28
|
-
var c;
|
|
29
|
-
if (typeof r != "string" || !r)
|
|
30
|
-
return e.value = !1, h();
|
|
31
|
-
try {
|
|
32
|
-
const o = JSON.parse(V(r));
|
|
33
|
-
if (o.product !== "EleAdminPlus")
|
|
34
|
-
return e.value = !1, h("");
|
|
35
|
-
const { version: l, expiration: O, domain: f } = o;
|
|
36
|
-
if (l && l !== L)
|
|
37
|
-
return e.value = !1, h(l);
|
|
38
|
-
if (O && O < M)
|
|
39
|
-
return e.value = !1, h(void 0, O);
|
|
40
|
-
if (f) {
|
|
41
|
-
const u = (c = window == null ? void 0 : window.location) == null ? void 0 : c.hostname;
|
|
42
|
-
if (!u)
|
|
43
|
-
return e.value = !1, h(void 0, void 0, f, "");
|
|
44
|
-
if (u !== "localhost" && u !== "127.0.0.1") {
|
|
45
|
-
const d = f.split("."), g = u.split(".");
|
|
46
|
-
for (let m = d.length - 1; m >= 0; m--)
|
|
47
|
-
if (d[m] !== g[m])
|
|
48
|
-
return e.value = !1, h(void 0, void 0, f, u);
|
|
49
|
-
if (g.length > d.length && g[g.length - d.length - 1] !== "www")
|
|
50
|
-
return e.value = !1, h(void 0, void 0, f, u);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
} catch (o) {
|
|
54
|
-
return e.value = !1, console.error(o), h("");
|
|
55
|
-
}
|
|
56
|
-
e.value = !0;
|
|
57
|
-
},
|
|
58
|
-
{ immediate: !0 }
|
|
59
|
-
), { authenticated: e, globalConfig: t };
|
|
60
|
-
}
|
|
61
|
-
function h(t, n, e, r) {
|
|
62
|
-
const c = new Array(60).join("*"), o = [c];
|
|
63
|
-
if (o.push($), t == null && n == null && e == null && r == null && o.push("\u8BF7\u5148\u914D\u7F6E\u81EA\u5DF1\u7684\u6388\u6743\u7801;"), !t && n == null && !e && o.push("\u8BF7\u4F7F\u7528\u6B63\u786E\u683C\u5F0F\u7684\u6388\u6743\u7801;"), t && o.push(`\u6388\u6743\u7248\u672C\u53F7\u4E0D\u5339\u914D, \u8BF7\u4F7F\u7528: ${t}, \u5F53\u524D\u7248\u672C: ${L};`), typeof n == "number") {
|
|
64
|
-
const l = new Date(n * 1e3).toLocaleString();
|
|
65
|
-
o.push(`\u6388\u6743\u5DF2\u5931\u6548, \u5230\u671F\u65F6\u95F4: ${l};`);
|
|
66
|
-
}
|
|
67
|
-
e && o.push(`\u57DF\u540D\u4E0D\u5339\u914D, \u8BF7\u90E8\u7F72\u5728: ${e} \u4E0B, \u5F53\u524D\u57DF\u540D: ${r};`), o.push(c), console.error(o.join(`
|
|
68
|
-
`));
|
|
69
|
-
}
|
|
70
|
-
function V(t) {
|
|
71
|
-
const n = (F, v, a) => {
|
|
72
|
-
const i = ((s, D) => {
|
|
73
|
-
const j = s.length - D;
|
|
74
|
-
if (j <= 0)
|
|
75
|
-
return s;
|
|
76
|
-
const P = new Array(s.length);
|
|
77
|
-
for (let p = 0; p < s.length; p++)
|
|
78
|
-
p < D ? P[p] = s[j + p] : P[p] = s[p - D];
|
|
79
|
-
return P;
|
|
80
|
-
})(F.split(""), a).join(""), C = [];
|
|
81
|
-
let E = 0;
|
|
82
|
-
for (; E < i.length; ) {
|
|
83
|
-
let s = E + v;
|
|
84
|
-
s > i.length && (s = i.length);
|
|
85
|
-
const D = i.substring(E, s);
|
|
86
|
-
C.push(D.split("").reverse().join("")), E = s;
|
|
1
|
+
import { inject, computed } from "vue";
|
|
2
|
+
import { PROVIDE_KEY, LAYOUT_KEY } from "./props";
|
|
3
|
+
import { LAYOUT_KEY as LAYOUT_KEY2 } from "./props";
|
|
4
|
+
import defaultLocale from "../lang/zh_CN";
|
|
5
|
+
function useReceiver() {
|
|
6
|
+
return inject(PROVIDE_KEY, {});
|
|
7
|
+
}
|
|
8
|
+
function useGlobalProps(name) {
|
|
9
|
+
const globalConfig = useReceiver();
|
|
10
|
+
return computed(() => globalConfig[name] ?? {});
|
|
11
|
+
}
|
|
12
|
+
function useLocale(name, props) {
|
|
13
|
+
const globalConfig = useReceiver();
|
|
14
|
+
const lang = computed(() => {
|
|
15
|
+
const temp = globalConfig.locale ?? defaultLocale;
|
|
16
|
+
if (name) {
|
|
17
|
+
return Object.assign({}, temp[name] ?? {}, props == null ? void 0 : props.locale);
|
|
87
18
|
}
|
|
88
|
-
return
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
for (; A < l.length; )
|
|
92
|
-
T = f.indexOf(l.charAt(A++)), b = f.indexOf(l.charAt(A++)), S = f.indexOf(l.charAt(A++)), Y = f.indexOf(l.charAt(A++)), d = T << 2 | b >> 4, g = (b & 15) << 4 | S >> 2, m = (S & 3) << 6 | Y, u = u + String.fromCharCode(d), S != 64 && (u = u + String.fromCharCode(g)), Y != 64 && (u = u + String.fromCharCode(m));
|
|
93
|
-
return u = ((F) => {
|
|
94
|
-
let v = "", a = 0, i = 0, C = 0, E = 0;
|
|
95
|
-
for (; a < F.length; )
|
|
96
|
-
i = F.charCodeAt(a), i < 128 ? (v += String.fromCharCode(i), a++) : i > 191 && i < 224 ? (C = F.charCodeAt(a + 1), v += String.fromCharCode((i & 31) << 6 | C & 63), a += 2) : (C = F.charCodeAt(a + 1), E = F.charCodeAt(a + 2), v += String.fromCharCode(
|
|
97
|
-
(i & 15) << 12 | (C & 63) << 6 | E & 63
|
|
98
|
-
), a += 3);
|
|
99
|
-
return v;
|
|
100
|
-
})(u), u;
|
|
19
|
+
return temp;
|
|
20
|
+
});
|
|
21
|
+
return { lang, globalConfig };
|
|
101
22
|
}
|
|
102
|
-
function
|
|
103
|
-
return
|
|
104
|
-
K,
|
|
105
|
-
t ?? B({})
|
|
106
|
-
);
|
|
23
|
+
function useLayoutState() {
|
|
24
|
+
return inject(LAYOUT_KEY, {});
|
|
107
25
|
}
|
|
108
|
-
function
|
|
109
|
-
const
|
|
110
|
-
return
|
|
111
|
-
|
|
112
|
-
return t.responsive ?? ((e = _(n)) == null ? void 0 : e.responsive) ?? !0;
|
|
26
|
+
function useResponsive(props) {
|
|
27
|
+
const state = useLayoutState();
|
|
28
|
+
return computed(() => {
|
|
29
|
+
return props.responsive ?? state.responsive ?? true;
|
|
113
30
|
});
|
|
114
31
|
}
|
|
115
32
|
export {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
R as useReceiver,
|
|
123
|
-
Q as useResponsive
|
|
33
|
+
LAYOUT_KEY2 as LAYOUT_KEY,
|
|
34
|
+
useGlobalProps,
|
|
35
|
+
useLayoutState,
|
|
36
|
+
useLocale,
|
|
37
|
+
useReceiver,
|
|
38
|
+
useResponsive
|
|
124
39
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComputedRef } from 'vue';
|
|
2
2
|
import type { EleProTableProps } from '../ele-app/plus';
|
|
3
3
|
import type { TableLocale } from '../ele-pro-table/types';
|
|
4
4
|
import type { FileListLocale } from '../ele-file-list/types';
|
|
@@ -38,6 +38,8 @@ export type TableGlobalConfig = Partial<
|
|
|
38
38
|
| 'maximizedIndex'
|
|
39
39
|
| 'pagination'
|
|
40
40
|
| 'emptyProps'
|
|
41
|
+
| 'exportConfig'
|
|
42
|
+
| 'printConfig'
|
|
41
43
|
>
|
|
42
44
|
>;
|
|
43
45
|
|
|
@@ -61,16 +63,6 @@ export interface EleLocale {
|
|
|
61
63
|
copyable: CopyableLocale;
|
|
62
64
|
}
|
|
63
65
|
|
|
64
|
-
/**
|
|
65
|
-
* 获取是否授权返回结果
|
|
66
|
-
*/
|
|
67
|
-
export interface UseLicenseResult {
|
|
68
|
-
/** 是否授权 */
|
|
69
|
-
authenticated: Ref<boolean>;
|
|
70
|
-
/** 全局配置 */
|
|
71
|
-
globalConfig: GlobalProvide;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
66
|
/**
|
|
75
67
|
* 获取国际化方法返回结果
|
|
76
68
|
*/
|
|
@@ -99,26 +91,10 @@ export interface ResponsiveProps extends Record<keyof any, any> {
|
|
|
99
91
|
* 布局共享数据
|
|
100
92
|
*/
|
|
101
93
|
export interface LayoutProvide {
|
|
102
|
-
/** 是否是移动设备 */
|
|
103
|
-
mobile?: boolean;
|
|
104
|
-
/** 是否折叠侧栏菜单 */
|
|
105
|
-
collapse?: boolean;
|
|
106
|
-
/** 侧栏一级是否紧凑风格 */
|
|
107
|
-
compact?: boolean;
|
|
108
|
-
/** 是否顶栏导航布局 */
|
|
109
|
-
topLayout?: boolean;
|
|
110
|
-
/** 是否双侧栏布局 */
|
|
111
|
-
mixSidebar?: boolean;
|
|
112
|
-
/** 内容区是否最大化 */
|
|
113
|
-
maximized?: boolean;
|
|
114
|
-
/** 内容区最大时不带页签栏 */
|
|
115
|
-
expanded?: boolean;
|
|
116
|
-
/** 是否需要页签栏 */
|
|
117
|
-
tabBar?: boolean;
|
|
118
|
-
/** 是否显示侧栏 */
|
|
119
|
-
sidebar?: boolean;
|
|
120
94
|
/** 是否支持内链缓存 */
|
|
121
95
|
keepAlive?: boolean;
|
|
122
96
|
/** 是否开启响应式 */
|
|
123
97
|
responsive?: boolean;
|
|
98
|
+
/** 弹窗容器 */
|
|
99
|
+
modalsEl?: HTMLElement | null;
|
|
124
100
|
}
|
|
@@ -1,57 +1,58 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { CopyableLocale } from './types';
|
|
2
|
+
import { EleTooltipInstance } from '../ele-app/plus';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
5
|
text: StringConstructor;
|
|
5
|
-
innerStyle: import(
|
|
6
|
-
customStyle: import(
|
|
7
|
-
icon: import(
|
|
8
|
-
iconProps: import(
|
|
9
|
-
iconStyle: import(
|
|
10
|
-
copiedIcon: import(
|
|
11
|
-
copiedIconProps: import(
|
|
12
|
-
copiedIconStyle: import(
|
|
6
|
+
innerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
7
|
+
customStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
8
|
+
icon: import('vue').PropType<import('./types').CopyableIcon>;
|
|
9
|
+
iconProps: import('vue').PropType<import('../ele-app/el').ElIconProps>;
|
|
10
|
+
iconStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
11
|
+
copiedIcon: import('vue').PropType<import('./types').CopyableIcon>;
|
|
12
|
+
copiedIconProps: import('vue').PropType<import('../ele-app/el').ElIconProps>;
|
|
13
|
+
copiedIconStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
13
14
|
tooltip: {
|
|
14
|
-
type: import(
|
|
15
|
+
type: import('vue').PropType<boolean | Partial<import('../ele-tooltip/props').TooltipProps>>;
|
|
15
16
|
default: boolean;
|
|
16
17
|
}; /** 是否拷贝完成 */
|
|
17
18
|
resetAfter: {
|
|
18
19
|
type: NumberConstructor;
|
|
19
20
|
default: number;
|
|
20
21
|
};
|
|
21
|
-
locale: import(
|
|
22
|
+
locale: import('vue').PropType<Partial<CopyableLocale>>;
|
|
22
23
|
}, {
|
|
23
|
-
lang: import(
|
|
24
|
-
innerRef: import(
|
|
25
|
-
tooltipRef: import(
|
|
26
|
-
virtualRef: import(
|
|
27
|
-
copied: import(
|
|
24
|
+
lang: import('vue').ComputedRef<CopyableLocale>;
|
|
25
|
+
innerRef: import('vue').Ref<HTMLElement | null>;
|
|
26
|
+
tooltipRef: import('vue').Ref<EleTooltipInstance>;
|
|
27
|
+
virtualRef: import('vue').Ref<HTMLElement | undefined>;
|
|
28
|
+
copied: import('vue').Ref<boolean>;
|
|
28
29
|
onCopyClick: () => void;
|
|
29
30
|
onCopyHover: (e: MouseEvent) => void;
|
|
30
|
-
}, unknown, {}, {}, import(
|
|
31
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
32
|
copy: (_error?: any) => boolean;
|
|
32
|
-
}, string, import(
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
34
|
text: StringConstructor;
|
|
34
|
-
innerStyle: import(
|
|
35
|
-
customStyle: import(
|
|
36
|
-
icon: import(
|
|
37
|
-
iconProps: import(
|
|
38
|
-
iconStyle: import(
|
|
39
|
-
copiedIcon: import(
|
|
40
|
-
copiedIconProps: import(
|
|
41
|
-
copiedIconStyle: import(
|
|
35
|
+
innerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
36
|
+
customStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
37
|
+
icon: import('vue').PropType<import('./types').CopyableIcon>;
|
|
38
|
+
iconProps: import('vue').PropType<import('../ele-app/el').ElIconProps>;
|
|
39
|
+
iconStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
40
|
+
copiedIcon: import('vue').PropType<import('./types').CopyableIcon>;
|
|
41
|
+
copiedIconProps: import('vue').PropType<import('../ele-app/el').ElIconProps>;
|
|
42
|
+
copiedIconStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
42
43
|
tooltip: {
|
|
43
|
-
type: import(
|
|
44
|
+
type: import('vue').PropType<boolean | Partial<import('../ele-tooltip/props').TooltipProps>>;
|
|
44
45
|
default: boolean;
|
|
45
46
|
}; /** 是否拷贝完成 */
|
|
46
47
|
resetAfter: {
|
|
47
48
|
type: NumberConstructor;
|
|
48
49
|
default: number;
|
|
49
50
|
};
|
|
50
|
-
locale: import(
|
|
51
|
+
locale: import('vue').PropType<Partial<CopyableLocale>>;
|
|
51
52
|
}>> & {
|
|
52
53
|
onCopy?: ((_error?: any) => any) | undefined;
|
|
53
54
|
}, {
|
|
54
|
-
tooltip: boolean | Partial<import(
|
|
55
|
+
tooltip: boolean | Partial<import('../ele-tooltip/props').TooltipProps>;
|
|
55
56
|
resetAfter: number;
|
|
56
57
|
}, {}>;
|
|
57
58
|
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { CopyableIcon, CopyableLocale } from './types';
|
|
2
|
+
import { ElIconProps } from '../ele-app/el';
|
|
3
|
+
import { PropType, ExtractPropTypes } from 'vue';
|
|
4
|
+
|
|
4
5
|
/**
|
|
5
6
|
* 属性
|
|
6
7
|
*/
|
|
@@ -8,24 +9,24 @@ export declare const copyableProps: {
|
|
|
8
9
|
/** 重新定义拷贝到剪切板里的文本 */
|
|
9
10
|
text: StringConstructor;
|
|
10
11
|
/** 自定义内容样式 */
|
|
11
|
-
innerStyle: PropType<Partial<import(
|
|
12
|
+
innerStyle: PropType<Partial<import('vue').CSSProperties>>;
|
|
12
13
|
/** 自定义拷贝按钮样式 */
|
|
13
|
-
customStyle: PropType<Partial<import(
|
|
14
|
+
customStyle: PropType<Partial<import('vue').CSSProperties>>;
|
|
14
15
|
/** 自定义拷贝图标 */
|
|
15
16
|
icon: PropType<CopyableIcon>;
|
|
16
17
|
/** 自定义拷贝图标属性 */
|
|
17
18
|
iconProps: PropType<ElIconProps>;
|
|
18
19
|
/** 自定义拷贝图标样式 */
|
|
19
|
-
iconStyle: PropType<Partial<import(
|
|
20
|
+
iconStyle: PropType<Partial<import('vue').CSSProperties>>;
|
|
20
21
|
/** 自定义拷贝后图标 */
|
|
21
22
|
copiedIcon: PropType<CopyableIcon>;
|
|
22
23
|
/** 自定义拷贝后图标属性 */
|
|
23
24
|
copiedIconProps: PropType<ElIconProps>;
|
|
24
25
|
/** 自定义拷贝后图标样式 */
|
|
25
|
-
copiedIconStyle: PropType<Partial<import(
|
|
26
|
+
copiedIconStyle: PropType<Partial<import('vue').CSSProperties>>;
|
|
26
27
|
/** 文字提示属性 */
|
|
27
28
|
tooltip: {
|
|
28
|
-
type: PropType<boolean | Partial<import(
|
|
29
|
+
type: PropType<boolean | Partial<import('../ele-tooltip/props').TooltipProps>>;
|
|
29
30
|
default: boolean;
|
|
30
31
|
};
|
|
31
32
|
/** 拷贝成功状态重置时间 */
|