ele-admin-plus 1.1.8 → 1.1.9-beta.10
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 +1 -1
- package/es/ele-alert/index.js +2 -4
- package/es/ele-alert/props.d.ts +10 -9
- package/es/ele-app/el.d.ts +18 -1
- package/es/ele-app/index.d.ts +1 -1
- package/es/ele-app/plus.d.ts +12 -0
- package/es/ele-app/style/overwrite/date-picker/index.scss +32 -5
- package/es/ele-app/style/overwrite/message-box/index.scss +5 -0
- package/es/ele-avatar-group/index.d.ts +4 -3
- package/es/ele-avatar-group/index.js +1 -3
- package/es/ele-avatar-group/props.d.ts +10 -9
- package/es/ele-bar-code/index.d.ts +5 -4
- package/es/ele-bar-code/props.d.ts +4 -3
- package/es/ele-basic-select/index.d.ts +16 -14
- package/es/ele-basic-select/index.js +33 -18
- 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 +1 -1
- package/es/ele-bottom-bar/props.d.ts +4 -3
- package/es/ele-breadcrumb/index.d.ts +3 -2
- package/es/ele-breadcrumb/props.d.ts +5 -4
- package/es/ele-card/index.d.ts +1 -1
- package/es/ele-card/props.d.ts +7 -6
- package/es/ele-check-card/components/card-item.d.ts +4 -3
- package/es/ele-check-card/index.d.ts +6 -5
- package/es/ele-check-card/index.js +0 -5
- package/es/ele-check-card/props.d.ts +6 -5
- package/es/ele-config-provider/components/receiver-view.d.ts +17 -0
- package/es/ele-config-provider/components/receiver-view.js +134 -0
- package/es/ele-config-provider/index.d.ts +3 -3
- 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 +5 -9
- package/es/ele-config-provider/receiver.js +35 -116
- package/es/ele-config-provider/types.d.ts +3 -11
- package/es/ele-copyable/index.d.ts +8 -9
- package/es/ele-copyable/index.js +1 -5
- package/es/ele-copyable/props.d.ts +9 -8
- package/es/ele-count-up/index.d.ts +2 -1
- package/es/ele-count-up/props.d.ts +3 -2
- package/es/ele-cropper/components/cropper-preview.d.ts +1 -1
- package/es/ele-cropper/components/cropper-tools.d.ts +4 -3
- package/es/ele-cropper/index.d.ts +11 -10
- package/es/ele-cropper/index.js +1 -5
- package/es/ele-cropper/props.d.ts +4 -3
- package/es/ele-cropper-modal/index.d.ts +3 -2
- package/es/ele-cropper-modal/props.d.ts +7 -6
- package/es/ele-dashboard/index.d.ts +1 -2
- package/es/ele-dashboard/index.js +8 -17
- package/es/ele-dashboard/props.d.ts +3 -2
- package/es/ele-data-table/index.d.ts +10 -15
- package/es/ele-data-table/index.js +9 -1
- package/es/ele-data-table/props.d.ts +38 -43
- 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 +3 -5
- package/es/ele-dot/index.js +4 -10
- package/es/ele-dot/props.d.ts +3 -2
- package/es/ele-drawer/index.d.ts +10 -9
- package/es/ele-drawer/index.js +14 -11
- package/es/ele-drawer/props.d.ts +26 -25
- package/es/ele-drawer/style/index.scss +1 -1
- package/es/ele-dropdown/index.d.ts +6 -5
- package/es/ele-dropdown/index.js +7 -10
- package/es/ele-dropdown/props.d.ts +22 -21
- package/es/ele-dropdown/style/index.scss +2 -2
- package/es/ele-edit-tag/index.d.ts +9 -2
- package/es/ele-edit-tag/index.js +17 -15
- package/es/ele-edit-tag/props.d.ts +14 -9
- package/es/ele-edit-tag/props.js +5 -1
- package/es/ele-edit-tag/style/index.scss +13 -0
- package/es/ele-ellipsis/index.d.ts +7 -6
- package/es/ele-ellipsis/index.js +4 -27
- package/es/ele-ellipsis/props.d.ts +8 -7
- package/es/ele-file-list/components/file-grid-item.d.ts +6 -5
- package/es/ele-file-list/components/file-grid-item.js +16 -9
- package/es/ele-file-list/components/file-grid.d.ts +6 -5
- package/es/ele-file-list/components/file-grid.js +54 -50
- package/es/ele-file-list/components/file-sort.d.ts +1 -1
- package/es/ele-file-list/components/file-table-item.d.ts +6 -5
- package/es/ele-file-list/components/file-table-item.js +20 -15
- package/es/ele-file-list/components/file-table.d.ts +6 -5
- package/es/ele-file-list/components/file-table.js +92 -86
- package/es/ele-file-list/icons.d.ts +2 -1
- package/es/ele-file-list/index.d.ts +8 -7
- package/es/ele-file-list/index.js +1 -11
- package/es/ele-file-list/props.d.ts +6 -5
- package/es/ele-file-list-tool/index.d.ts +4 -4
- package/es/ele-file-list-tool/index.js +2 -2
- package/es/ele-icon-select/components/icon-grid.d.ts +4 -3
- package/es/ele-icon-select/index.d.ts +27 -14
- package/es/ele-icon-select/index.js +33 -10
- package/es/ele-icon-select/props.d.ts +23 -17
- package/es/ele-icon-select/props.js +6 -1
- package/es/ele-icon-select/style/index.js +1 -0
- package/es/ele-icon-select/style/index.scss +16 -2
- package/es/ele-loading/index.d.ts +3 -4
- package/es/ele-loading/index.js +32 -30
- package/es/ele-loading/props.d.ts +5 -4
- package/es/ele-map-picker/components/map-view.d.ts +51 -27
- package/es/ele-map-picker/components/map-view.js +227 -176
- package/es/ele-map-picker/index.d.ts +45 -22
- package/es/ele-map-picker/index.js +21 -39
- package/es/ele-map-picker/props.d.ts +37 -12
- package/es/ele-map-picker/props.js +20 -6
- package/es/ele-map-picker/style/index.scss +195 -166
- package/es/ele-map-picker/types.d.ts +8 -4
- package/es/ele-menus/index.d.ts +21 -7
- package/es/ele-menus/index.js +78 -14
- package/es/ele-menus/props.d.ts +29 -16
- package/es/ele-menus/props.js +15 -3
- package/es/ele-menus/style/index.js +2 -0
- package/es/ele-menus/style/index.scss +13 -11
- package/es/ele-menus/types.d.ts +9 -9
- package/es/ele-menus/util.d.ts +35 -16
- package/es/ele-menus/util.js +115 -80
- package/es/ele-modal/index.d.ts +7 -6
- package/es/ele-modal/index.js +42 -13
- package/es/ele-modal/props.d.ts +24 -23
- package/es/ele-modal/style/index.scss +49 -13
- package/es/ele-modal/types.d.ts +2 -10
- package/es/ele-modal/util.d.ts +5 -4
- package/es/ele-modal/util.js +22 -57
- package/es/ele-page/index.d.ts +1 -1
- package/es/ele-page/props.d.ts +2 -1
- package/es/ele-pagination/index.d.ts +11 -9
- package/es/ele-pagination/index.js +19 -13
- package/es/ele-pagination/props.d.ts +14 -12
- package/es/ele-pagination/props.js +2 -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 +7 -6
- package/es/ele-popconfirm/props.d.ts +32 -31
- package/es/ele-popconfirm/style/index.js +1 -1
- package/es/ele-popover/index.d.ts +5 -4
- package/es/ele-popover/props.d.ts +26 -25
- package/es/ele-popover/style/index.js +0 -1
- package/es/ele-printer/index.d.ts +7 -7
- package/es/ele-printer/index.js +11 -11
- package/es/ele-printer/props.d.ts +6 -5
- package/es/ele-printer/style/index.scss +1 -1
- package/es/ele-printer/util.d.ts +2 -1
- package/es/ele-printer/util.js +4 -2
- package/es/ele-pro-layout/components/header-tool.d.ts +1 -1
- package/es/ele-pro-layout/components/pro-header.d.ts +37 -15
- package/es/ele-pro-layout/components/pro-header.js +75 -16
- package/es/ele-pro-layout/components/pro-iframe.d.ts +4 -3
- package/es/ele-pro-layout/components/pro-iframe.js +46 -23
- package/es/ele-pro-layout/components/pro-sidebar.d.ts +35 -19
- package/es/ele-pro-layout/components/pro-sidebar.js +44 -16
- package/es/ele-pro-layout/components/pro-sidebox.d.ts +37 -15
- package/es/ele-pro-layout/components/pro-sidebox.js +55 -15
- package/es/ele-pro-layout/components/pro-tabs.d.ts +6 -5
- package/es/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
- package/es/ele-pro-layout/components/tab-dropdown.d.ts +5 -4
- package/es/ele-pro-layout/components/tab-dropdown.js +5 -1
- package/es/ele-pro-layout/index.d.ts +44 -27
- package/es/ele-pro-layout/index.js +282 -66
- package/es/ele-pro-layout/props.d.ts +18 -8
- package/es/ele-pro-layout/props.js +9 -0
- package/es/ele-pro-layout/style/tabs.scss +1 -1
- package/es/ele-pro-layout/types.d.ts +29 -3
- package/es/ele-pro-layout/util.d.ts +5 -4
- package/es/ele-pro-table/components/table-tools.d.ts +102 -10
- package/es/ele-pro-table/components/table-tools.js +125 -8
- package/es/ele-pro-table/components/tool-column-list.d.ts +4 -3
- package/es/ele-pro-table/components/tool-column-list.js +4 -7
- package/es/ele-pro-table/components/tool-column.d.ts +5 -4
- package/es/ele-pro-table/components/tool-column.js +9 -9
- package/es/ele-pro-table/components/tool-export.d.ts +456 -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 +895 -0
- package/es/ele-pro-table/components/tool-print.js +558 -0
- package/es/ele-pro-table/index.d.ts +37 -29
- package/es/ele-pro-table/index.js +89 -18
- 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 +149 -5
- package/es/ele-pro-table/util.d.ts +57 -5
- package/es/ele-pro-table/util.js +146 -22
- package/es/ele-qr-code/index.d.ts +3 -2
- 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 +1 -1
- package/es/ele-segmented/index.d.ts +4 -3
- package/es/ele-segmented/index.js +1 -3
- package/es/ele-segmented/props.d.ts +3 -2
- package/es/ele-split-panel/index.d.ts +11 -9
- package/es/ele-split-panel/index.js +63 -59
- package/es/ele-split-panel/props.d.ts +5 -4
- package/es/ele-steps/index.d.ts +1 -2
- package/es/ele-steps/index.js +16 -16
- package/es/ele-steps/props.d.ts +10 -9
- package/es/ele-tab-tool/index.d.ts +1 -1
- package/es/ele-tab-tool/props.d.ts +2 -1
- package/es/ele-tab-wrap/index.d.ts +1 -1
- package/es/ele-tab-wrap/props.d.ts +3 -2
- package/es/ele-table/index.d.ts +4 -1
- package/es/ele-table/index.js +2 -1
- package/es/ele-table/props.d.ts +4 -1
- 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 +13 -12
- package/es/ele-table-select/props.d.ts +11 -10
- package/es/ele-tabs/components/tab-title.d.ts +6 -5
- package/es/ele-tabs/index.d.ts +13 -23
- package/es/ele-tabs/index.js +1 -6
- package/es/ele-tabs/props.d.ts +15 -21
- package/es/ele-text/index.d.ts +1 -1
- package/es/ele-text/props.d.ts +5 -4
- package/es/ele-tool/index.d.ts +2 -2
- 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 +1 -1
- package/es/ele-toolbar/props.d.ts +7 -6
- package/es/ele-tooltip/index.d.ts +4 -3
- package/es/ele-tooltip/index.js +9 -13
- package/es/ele-tooltip/props.d.ts +23 -22
- package/es/ele-tooltip/style/css-var.scss +4 -0
- package/es/ele-tooltip/style/index.scss +23 -0
- package/es/ele-tour/index.d.ts +5 -4
- package/es/ele-tour/index.js +80 -77
- 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 +10 -9
- 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 +10 -5
- package/es/ele-upload-list/components/list-item.js +7 -4
- package/es/ele-upload-list/index.d.ts +12 -5
- package/es/ele-upload-list/index.js +9 -8
- package/es/ele-upload-list/props.d.ts +11 -6
- package/es/ele-upload-list/props.js +5 -1
- package/es/ele-upload-list/style/index.scss +2 -1
- package/es/ele-virtual-table/components/body-cell.d.ts +85 -50
- package/es/ele-virtual-table/components/body-cell.js +79 -112
- package/es/ele-virtual-table/components/body-row.d.ts +72 -48
- package/es/ele-virtual-table/components/body-row.js +57 -52
- package/es/ele-virtual-table/components/cell-checkbox.d.ts +3 -2
- package/es/ele-virtual-table/components/cell-filter.d.ts +9 -8
- package/es/ele-virtual-table/components/cell-filter.js +8 -12
- package/es/ele-virtual-table/components/expand-row.d.ts +10 -9
- package/es/ele-virtual-table/components/expand-row.js +3 -3
- package/es/ele-virtual-table/components/footer-row.d.ts +33 -14
- package/es/ele-virtual-table/components/footer-row.js +29 -19
- package/es/ele-virtual-table/components/header-cell.d.ts +5 -4
- package/es/ele-virtual-table/components/header-row.d.ts +5 -4
- package/es/ele-virtual-table/index.d.ts +23 -32
- package/es/ele-virtual-table/index.js +134 -136
- package/es/ele-virtual-table/props.d.ts +50 -52
- 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 +66 -35
- package/es/ele-watermark/index.d.ts +12 -2
- package/es/ele-watermark/index.js +1 -1
- package/es/ele-watermark/props.d.ts +9 -3
- package/es/ele-watermark/props.js +5 -0
- package/es/ele-watermark/util.d.ts +3 -2
- package/es/ele-xg-player/index.d.ts +4 -4
- 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/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 +1 -0
- package/es/icons/index.js +58 -56
- package/es/installer.d.ts +2 -2
- package/es/lang/en_US.d.ts +2 -2
- package/es/lang/en_US.js +15 -3
- package/es/lang/zh_CN.d.ts +2 -2
- package/es/lang/zh_CN.js +15 -3
- package/es/lang/zh_TW.d.ts +2 -2
- package/es/lang/zh_TW.js +14 -2
- package/es/style/index.scss +1 -43
- package/es/style/plus.scss +43 -0
- package/es/style/themes/default.scss +8 -4
- package/es/style/themes/rounded.scss +1 -1
- package/es/style/themes/theme-util.scss +0 -2
- package/es/utils/core.d.ts +5 -0
- package/es/utils/core.js +28 -0
- package/es/utils/menu-util.d.ts +3 -2
- package/es/utils/message.d.ts +4 -3
- package/es/utils/resolvers.d.ts +4 -4
- package/es/utils/resolvers.js +33 -20
- package/lib/core-installer.d.ts +2 -2
- package/lib/ele-alert/index.cjs +2 -4
- package/lib/ele-alert/index.d.ts +1 -1
- package/lib/ele-alert/props.d.ts +10 -9
- package/lib/ele-app/el.d.ts +18 -1
- package/lib/ele-app/index.d.ts +1 -1
- package/lib/ele-app/plus.d.ts +12 -0
- package/lib/ele-app/style/overwrite/date-picker/index.scss +32 -5
- package/lib/ele-app/style/overwrite/message-box/index.scss +5 -0
- package/lib/ele-avatar-group/index.cjs +1 -3
- package/lib/ele-avatar-group/index.d.ts +4 -3
- package/lib/ele-avatar-group/props.d.ts +10 -9
- package/lib/ele-bar-code/index.d.ts +5 -4
- package/lib/ele-bar-code/props.d.ts +4 -3
- package/lib/ele-basic-select/index.cjs +32 -17
- package/lib/ele-basic-select/index.d.ts +16 -14
- 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 +1 -1
- package/lib/ele-bottom-bar/props.d.ts +4 -3
- package/lib/ele-breadcrumb/index.d.ts +3 -2
- package/lib/ele-breadcrumb/props.d.ts +5 -4
- package/lib/ele-card/index.d.ts +1 -1
- package/lib/ele-card/props.d.ts +7 -6
- package/lib/ele-check-card/components/card-item.d.ts +4 -3
- package/lib/ele-check-card/index.cjs +0 -5
- package/lib/ele-check-card/index.d.ts +6 -5
- package/lib/ele-check-card/props.d.ts +6 -5
- package/lib/ele-config-provider/components/receiver-view.cjs +2 -0
- package/lib/ele-config-provider/components/receiver-view.d.ts +17 -0
- package/lib/ele-config-provider/index.d.ts +3 -3
- 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 +45 -2
- package/lib/ele-config-provider/receiver.d.ts +5 -9
- package/lib/ele-config-provider/types.d.ts +3 -11
- package/lib/ele-copyable/index.cjs +0 -4
- package/lib/ele-copyable/index.d.ts +8 -9
- package/lib/ele-copyable/props.d.ts +9 -8
- package/lib/ele-count-up/index.d.ts +2 -1
- package/lib/ele-count-up/props.d.ts +3 -2
- package/lib/ele-cropper/components/cropper-preview.d.ts +1 -1
- package/lib/ele-cropper/components/cropper-tools.d.ts +4 -3
- package/lib/ele-cropper/index.cjs +0 -4
- package/lib/ele-cropper/index.d.ts +11 -10
- package/lib/ele-cropper/props.d.ts +4 -3
- package/lib/ele-cropper-modal/index.d.ts +3 -2
- package/lib/ele-cropper-modal/props.d.ts +7 -6
- package/lib/ele-dashboard/index.cjs +7 -16
- package/lib/ele-dashboard/index.d.ts +1 -2
- package/lib/ele-dashboard/props.d.ts +3 -2
- package/lib/ele-data-table/index.cjs +9 -1
- package/lib/ele-data-table/index.d.ts +10 -15
- package/lib/ele-data-table/props.d.ts +38 -43
- 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.cjs +3 -9
- package/lib/ele-dot/index.d.ts +3 -5
- package/lib/ele-dot/props.d.ts +3 -2
- package/lib/ele-drawer/index.cjs +13 -10
- package/lib/ele-drawer/index.d.ts +10 -9
- package/lib/ele-drawer/props.d.ts +26 -25
- package/lib/ele-drawer/style/index.scss +1 -1
- package/lib/ele-dropdown/index.cjs +7 -10
- package/lib/ele-dropdown/index.d.ts +6 -5
- package/lib/ele-dropdown/props.d.ts +22 -21
- package/lib/ele-dropdown/style/index.scss +2 -2
- package/lib/ele-edit-tag/index.cjs +16 -14
- package/lib/ele-edit-tag/index.d.ts +9 -2
- package/lib/ele-edit-tag/props.cjs +5 -1
- package/lib/ele-edit-tag/props.d.ts +14 -9
- package/lib/ele-edit-tag/style/index.scss +13 -0
- package/lib/ele-ellipsis/index.cjs +3 -26
- package/lib/ele-ellipsis/index.d.ts +7 -6
- package/lib/ele-ellipsis/props.d.ts +8 -7
- package/lib/ele-file-list/components/file-grid-item.cjs +15 -8
- package/lib/ele-file-list/components/file-grid-item.d.ts +6 -5
- package/lib/ele-file-list/components/file-grid.cjs +53 -49
- package/lib/ele-file-list/components/file-grid.d.ts +6 -5
- package/lib/ele-file-list/components/file-sort.d.ts +1 -1
- package/lib/ele-file-list/components/file-table-item.cjs +19 -14
- package/lib/ele-file-list/components/file-table-item.d.ts +6 -5
- package/lib/ele-file-list/components/file-table.cjs +91 -85
- package/lib/ele-file-list/components/file-table.d.ts +6 -5
- package/lib/ele-file-list/icons.d.ts +2 -1
- package/lib/ele-file-list/index.cjs +0 -10
- package/lib/ele-file-list/index.d.ts +8 -7
- package/lib/ele-file-list/props.d.ts +6 -5
- package/lib/ele-file-list-tool/index.cjs +2 -2
- package/lib/ele-file-list-tool/index.d.ts +4 -4
- package/lib/ele-icon-select/components/icon-grid.d.ts +4 -3
- package/lib/ele-icon-select/index.cjs +39 -16
- package/lib/ele-icon-select/index.d.ts +27 -14
- package/lib/ele-icon-select/props.cjs +6 -1
- package/lib/ele-icon-select/props.d.ts +23 -17
- package/lib/ele-icon-select/style/index.cjs +1 -0
- package/lib/ele-icon-select/style/index.scss +16 -2
- package/lib/ele-loading/index.cjs +31 -29
- package/lib/ele-loading/index.d.ts +3 -4
- package/lib/ele-loading/props.d.ts +5 -4
- package/lib/ele-map-picker/components/map-view.cjs +225 -174
- package/lib/ele-map-picker/components/map-view.d.ts +51 -27
- package/lib/ele-map-picker/index.cjs +20 -38
- package/lib/ele-map-picker/index.d.ts +45 -22
- package/lib/ele-map-picker/props.cjs +20 -6
- package/lib/ele-map-picker/props.d.ts +37 -12
- package/lib/ele-map-picker/style/index.scss +195 -166
- package/lib/ele-map-picker/types.d.ts +8 -4
- package/lib/ele-menus/index.cjs +76 -12
- package/lib/ele-menus/index.d.ts +21 -7
- package/lib/ele-menus/props.cjs +15 -3
- package/lib/ele-menus/props.d.ts +29 -16
- package/lib/ele-menus/style/index.cjs +2 -0
- package/lib/ele-menus/style/index.scss +13 -11
- package/lib/ele-menus/types.d.ts +9 -9
- package/lib/ele-menus/util.cjs +115 -80
- package/lib/ele-menus/util.d.ts +35 -16
- package/lib/ele-modal/index.cjs +41 -12
- package/lib/ele-modal/index.d.ts +7 -6
- package/lib/ele-modal/props.d.ts +24 -23
- package/lib/ele-modal/style/index.scss +49 -13
- package/lib/ele-modal/types.d.ts +2 -10
- package/lib/ele-modal/util.cjs +22 -57
- package/lib/ele-modal/util.d.ts +5 -4
- package/lib/ele-page/index.d.ts +1 -1
- package/lib/ele-page/props.d.ts +2 -1
- package/lib/ele-pagination/index.cjs +18 -12
- package/lib/ele-pagination/index.d.ts +11 -9
- package/lib/ele-pagination/props.cjs +2 -0
- package/lib/ele-pagination/props.d.ts +14 -12
- package/lib/ele-pagination/style/index.scss +9 -0
- package/lib/ele-pagination/types.d.ts +6 -1
- package/lib/ele-popconfirm/index.d.ts +7 -6
- package/lib/ele-popconfirm/props.d.ts +32 -31
- package/lib/ele-popconfirm/style/index.cjs +1 -1
- package/lib/ele-popover/index.d.ts +5 -4
- package/lib/ele-popover/props.d.ts +26 -25
- package/lib/ele-popover/style/index.cjs +0 -1
- package/lib/ele-printer/index.cjs +10 -10
- package/lib/ele-printer/index.d.ts +7 -7
- package/lib/ele-printer/props.d.ts +6 -5
- package/lib/ele-printer/style/index.scss +1 -1
- package/lib/ele-printer/util.cjs +4 -2
- 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 +74 -15
- package/lib/ele-pro-layout/components/pro-header.d.ts +37 -15
- package/lib/ele-pro-layout/components/pro-iframe.cjs +45 -22
- package/lib/ele-pro-layout/components/pro-iframe.d.ts +4 -3
- package/lib/ele-pro-layout/components/pro-sidebar.cjs +44 -16
- package/lib/ele-pro-layout/components/pro-sidebar.d.ts +35 -19
- package/lib/ele-pro-layout/components/pro-sidebox.cjs +55 -15
- package/lib/ele-pro-layout/components/pro-sidebox.d.ts +37 -15
- package/lib/ele-pro-layout/components/pro-tabs.d.ts +6 -5
- package/lib/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
- package/lib/ele-pro-layout/components/tab-dropdown.cjs +5 -1
- package/lib/ele-pro-layout/components/tab-dropdown.d.ts +5 -4
- package/lib/ele-pro-layout/index.cjs +281 -65
- package/lib/ele-pro-layout/index.d.ts +44 -27
- package/lib/ele-pro-layout/props.cjs +9 -0
- package/lib/ele-pro-layout/props.d.ts +18 -8
- package/lib/ele-pro-layout/style/tabs.scss +1 -1
- package/lib/ele-pro-layout/types.d.ts +29 -3
- package/lib/ele-pro-layout/util.d.ts +5 -4
- package/lib/ele-pro-table/components/table-tools.cjs +124 -7
- package/lib/ele-pro-table/components/table-tools.d.ts +102 -10
- package/lib/ele-pro-table/components/tool-column-list.cjs +3 -6
- package/lib/ele-pro-table/components/tool-column-list.d.ts +4 -3
- package/lib/ele-pro-table/components/tool-column.cjs +8 -8
- package/lib/ele-pro-table/components/tool-column.d.ts +5 -4
- package/lib/ele-pro-table/components/tool-export.cjs +448 -0
- package/lib/ele-pro-table/components/tool-export.d.ts +456 -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 +557 -0
- package/lib/ele-pro-table/components/tool-print.d.ts +895 -0
- package/lib/ele-pro-table/index.cjs +87 -16
- package/lib/ele-pro-table/index.d.ts +37 -29
- 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 +149 -5
- package/lib/ele-pro-table/util.cjs +145 -21
- package/lib/ele-pro-table/util.d.ts +57 -5
- package/lib/ele-qr-code/index.d.ts +3 -2
- 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 +1 -1
- package/lib/ele-segmented/index.cjs +1 -3
- package/lib/ele-segmented/index.d.ts +4 -3
- package/lib/ele-segmented/props.d.ts +3 -2
- package/lib/ele-split-panel/index.cjs +62 -58
- package/lib/ele-split-panel/index.d.ts +11 -9
- package/lib/ele-split-panel/props.d.ts +5 -4
- package/lib/ele-steps/index.cjs +15 -15
- package/lib/ele-steps/index.d.ts +1 -2
- package/lib/ele-steps/props.d.ts +10 -9
- package/lib/ele-tab-tool/index.d.ts +1 -1
- package/lib/ele-tab-tool/props.d.ts +2 -1
- package/lib/ele-tab-wrap/index.d.ts +1 -1
- 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 +4 -1
- package/lib/ele-table/props.cjs +3 -1
- package/lib/ele-table/props.d.ts +4 -1
- package/lib/ele-table/style/index.scss +35 -0
- package/lib/ele-table-select/index.d.ts +13 -12
- package/lib/ele-table-select/props.d.ts +11 -10
- package/lib/ele-tabs/components/tab-title.d.ts +6 -5
- package/lib/ele-tabs/index.cjs +1 -6
- package/lib/ele-tabs/index.d.ts +13 -23
- package/lib/ele-tabs/props.d.ts +15 -21
- package/lib/ele-text/index.d.ts +1 -1
- package/lib/ele-text/props.d.ts +5 -4
- package/lib/ele-tool/index.cjs +1 -3
- package/lib/ele-tool/index.d.ts +2 -2
- package/lib/ele-tool/props.cjs +5 -0
- package/lib/ele-tool/props.d.ts +10 -2
- package/lib/ele-toolbar/index.d.ts +1 -1
- package/lib/ele-toolbar/props.d.ts +7 -6
- package/lib/ele-tooltip/index.cjs +9 -13
- package/lib/ele-tooltip/index.d.ts +4 -3
- package/lib/ele-tooltip/props.d.ts +23 -22
- package/lib/ele-tooltip/style/css-var.scss +4 -0
- package/lib/ele-tooltip/style/index.scss +23 -0
- package/lib/ele-tour/index.cjs +79 -76
- package/lib/ele-tour/index.d.ts +5 -4
- 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 +10 -9
- 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.cjs +6 -3
- package/lib/ele-upload-list/components/list-item.d.ts +10 -5
- package/lib/ele-upload-list/index.cjs +8 -7
- package/lib/ele-upload-list/index.d.ts +12 -5
- package/lib/ele-upload-list/props.cjs +5 -1
- package/lib/ele-upload-list/props.d.ts +11 -6
- package/lib/ele-upload-list/style/index.scss +2 -1
- package/lib/ele-virtual-table/components/body-cell.cjs +78 -111
- package/lib/ele-virtual-table/components/body-cell.d.ts +85 -50
- package/lib/ele-virtual-table/components/body-row.cjs +57 -52
- package/lib/ele-virtual-table/components/body-row.d.ts +72 -48
- package/lib/ele-virtual-table/components/cell-checkbox.d.ts +3 -2
- package/lib/ele-virtual-table/components/cell-filter.cjs +7 -11
- package/lib/ele-virtual-table/components/cell-filter.d.ts +9 -8
- package/lib/ele-virtual-table/components/expand-row.cjs +3 -3
- package/lib/ele-virtual-table/components/expand-row.d.ts +10 -9
- package/lib/ele-virtual-table/components/footer-row.cjs +27 -17
- package/lib/ele-virtual-table/components/footer-row.d.ts +33 -14
- package/lib/ele-virtual-table/components/header-cell.d.ts +5 -4
- package/lib/ele-virtual-table/components/header-row.d.ts +5 -4
- package/lib/ele-virtual-table/index.cjs +132 -134
- package/lib/ele-virtual-table/index.d.ts +23 -32
- package/lib/ele-virtual-table/props.d.ts +50 -52
- package/lib/ele-virtual-table/types.d.ts +103 -69
- package/lib/ele-virtual-table/util.cjs +65 -34
- package/lib/ele-virtual-table/util.d.ts +35 -10
- package/lib/ele-watermark/index.cjs +1 -1
- package/lib/ele-watermark/index.d.ts +12 -2
- package/lib/ele-watermark/props.cjs +5 -0
- package/lib/ele-watermark/props.d.ts +9 -3
- package/lib/ele-watermark/util.d.ts +3 -2
- package/lib/ele-xg-player/index.d.ts +4 -4
- 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/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 +2 -0
- package/lib/icons/index.d.ts +1 -0
- package/lib/installer.d.ts +2 -2
- package/lib/lang/en_US.cjs +15 -3
- package/lib/lang/en_US.d.ts +2 -2
- package/lib/lang/zh_CN.cjs +15 -3
- package/lib/lang/zh_CN.d.ts +2 -2
- package/lib/lang/zh_TW.cjs +14 -2
- package/lib/lang/zh_TW.d.ts +2 -2
- package/lib/style/index.scss +1 -43
- package/lib/style/plus.scss +43 -0
- package/lib/style/themes/default.scss +8 -4
- package/lib/style/themes/rounded.scss +1 -1
- package/lib/style/themes/theme-util.scss +0 -2
- package/lib/utils/core.cjs +28 -0
- package/lib/utils/core.d.ts +5 -0
- package/lib/utils/menu-util.d.ts +3 -2
- package/lib/utils/message.d.ts +4 -3
- package/lib/utils/resolvers.cjs +33 -20
- package/lib/utils/resolvers.d.ts +4 -4
- package/package.json +24 -23
- package/es/ele-popover/style/css-var.scss +0 -8
- package/es/ele-popover/style/index.scss +0 -27
- package/lib/ele-popover/style/css-var.scss +0 -8
- package/lib/ele-popover/style/index.scss +0 -27
|
@@ -1,34 +1,33 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, watch, onMounted, onBeforeUnmount, nextTick, resolveComponent, openBlock, createBlock, withCtx, createElementVNode,
|
|
1
|
+
import { defineComponent, ref, computed, watch, onMounted, onBeforeUnmount, nextTick, resolveComponent, openBlock, createBlock, normalizeStyle, withCtx, createElementVNode, createElementBlock, Fragment, createVNode, normalizeClass, createCommentVNode, toDisplayString, createTextVNode, renderList, mergeProps } from "vue";
|
|
2
2
|
import AMapLoader from "@amap/amap-jsapi-loader";
|
|
3
3
|
import { ElAutocomplete, ElInput, ElButton, ElIcon, ElEmpty } from "element-plus";
|
|
4
|
-
import { PlusOutlined, EnvironmentOutlined, CheckCircleOutlined,
|
|
5
|
-
import { useLicense } from "../../ele-config-provider/receiver";
|
|
4
|
+
import { PlusOutlined, EnvironmentOutlined, CheckCircleOutlined, SearchOutlined } from "../../icons";
|
|
6
5
|
import EleLoading from "../../ele-loading/index";
|
|
7
6
|
import { mapProps } from "../props";
|
|
8
|
-
const ICON_CLASS = "ele-map-view-
|
|
7
|
+
const ICON_CLASS = "ele-map-view-body-icon";
|
|
9
8
|
const _sfc_main = defineComponent({
|
|
10
9
|
name: "MapView",
|
|
11
10
|
components: {
|
|
12
|
-
EleLoading,
|
|
13
11
|
ElAutocomplete,
|
|
14
12
|
ElInput,
|
|
15
13
|
ElButton,
|
|
16
14
|
ElIcon,
|
|
17
15
|
ElEmpty,
|
|
16
|
+
EleLoading,
|
|
18
17
|
PlusOutlined,
|
|
19
18
|
EnvironmentOutlined,
|
|
20
19
|
CheckCircleOutlined,
|
|
21
|
-
CheckOutlined,
|
|
22
20
|
SearchOutlined
|
|
23
21
|
},
|
|
24
22
|
props: mapProps,
|
|
25
23
|
emits: {
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
mapDone: (_ins) => true,
|
|
25
|
+
select: (_selected) => true,
|
|
26
|
+
done: (_result) => true
|
|
28
27
|
},
|
|
29
28
|
setup(props, { emit }) {
|
|
30
|
-
const { authenticated } = useLicense();
|
|
31
29
|
const mapRef = ref(null);
|
|
30
|
+
const autocompleteRef = ref(null);
|
|
32
31
|
const loading = ref(true);
|
|
33
32
|
const poiLoading = ref(false);
|
|
34
33
|
const confirmLoading = ref(false);
|
|
@@ -37,7 +36,9 @@ const _sfc_main = defineComponent({
|
|
|
37
36
|
const centerIconClass = ref([ICON_CLASS]);
|
|
38
37
|
const keywords = ref("");
|
|
39
38
|
const selected = ref(null);
|
|
40
|
-
const
|
|
39
|
+
const confirmDisabled = computed(() => props.required && !selected.value);
|
|
40
|
+
const keywordMode = computed(() => "keyword" === props.mode);
|
|
41
|
+
const poiMode = computed(() => "poi" === props.mode);
|
|
41
42
|
const state = {
|
|
42
43
|
/** 上次输入建议关键字 */
|
|
43
44
|
lastSuggestion: "",
|
|
@@ -84,17 +85,32 @@ const _sfc_main = defineComponent({
|
|
|
84
85
|
});
|
|
85
86
|
state.mapIns.on("complete", () => {
|
|
86
87
|
loading.value = false;
|
|
87
|
-
|
|
88
|
-
|
|
88
|
+
if (poiMode.value || keywordMode.value) {
|
|
89
|
+
const { lng, lat } = state.mapIns.getCenter();
|
|
90
|
+
searchPOI(lng, lat);
|
|
91
|
+
}
|
|
89
92
|
});
|
|
90
93
|
state.mapIns.on("moveend", () => {
|
|
91
|
-
if (state.isItemClickMove) {
|
|
94
|
+
if (state.isItemClickMove || !poiMode.value) {
|
|
92
95
|
state.isItemClickMove = false;
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
bounceIcon();
|
|
99
|
+
const { lng, lat } = state.mapIns.getCenter();
|
|
100
|
+
searchPOI(lng, lat);
|
|
101
|
+
});
|
|
102
|
+
state.mapIns.on("click", (e) => {
|
|
103
|
+
if (poiMode.value || keywordMode.value) {
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
if (e.lnglat == null || typeof e.lnglat !== "object") {
|
|
107
|
+
console.error(e);
|
|
108
|
+
return;
|
|
97
109
|
}
|
|
110
|
+
const { lng, lat } = e.lnglat;
|
|
111
|
+
setSelected({ location: { lng, lat } });
|
|
112
|
+
setMapCenter(lng, lat, props.selectedZoom);
|
|
113
|
+
showCenterMarker(lng, lat);
|
|
98
114
|
});
|
|
99
115
|
state.centerMarker = new AMap.Marker({
|
|
100
116
|
icon: new AMap.Icon({
|
|
@@ -115,19 +131,19 @@ const _sfc_main = defineComponent({
|
|
|
115
131
|
return;
|
|
116
132
|
}
|
|
117
133
|
state.lastSuggestion = value;
|
|
118
|
-
if (
|
|
134
|
+
if (keywordMode.value) {
|
|
119
135
|
poiLoading.value = true;
|
|
120
136
|
}
|
|
121
137
|
searchKeywords(value).then((result) => {
|
|
122
|
-
if (
|
|
138
|
+
if (keywordMode.value) {
|
|
123
139
|
data.value = result;
|
|
124
|
-
selected.value = null;
|
|
125
140
|
poiLoading.value = false;
|
|
141
|
+
setSelected(null);
|
|
126
142
|
removeCenterMarker();
|
|
127
|
-
|
|
128
|
-
suggestionData.value = result;
|
|
129
|
-
callback && callback(suggestionData.value);
|
|
143
|
+
return;
|
|
130
144
|
}
|
|
145
|
+
suggestionData.value = result;
|
|
146
|
+
callback && callback(suggestionData.value);
|
|
131
147
|
}).catch((e) => {
|
|
132
148
|
console.error(e);
|
|
133
149
|
poiLoading.value = false;
|
|
@@ -135,31 +151,41 @@ const _sfc_main = defineComponent({
|
|
|
135
151
|
});
|
|
136
152
|
};
|
|
137
153
|
const onSearchSelect = (item) => {
|
|
154
|
+
autocompleteRef.value && autocompleteRef.value.blur();
|
|
138
155
|
if (!item || !item.location) {
|
|
139
156
|
return;
|
|
140
157
|
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
158
|
+
const { lng, lat } = item.location;
|
|
159
|
+
if (poiMode.value) {
|
|
160
|
+
if (!data.value.length || data.value[0].name !== item.name) {
|
|
161
|
+
data.value = [item, ...data.value];
|
|
162
|
+
}
|
|
163
|
+
setSelected(data.value[0]);
|
|
164
|
+
} else {
|
|
165
|
+
setSelected(item);
|
|
166
|
+
showCenterMarker(lng, lat);
|
|
144
167
|
}
|
|
145
|
-
setMapCenter(
|
|
168
|
+
setMapCenter(lng, lat, props.selectedZoom);
|
|
146
169
|
state.selectedSuggestion = item;
|
|
147
170
|
};
|
|
148
171
|
const onItemClick = (item) => {
|
|
149
172
|
state.isItemClickMove = true;
|
|
150
|
-
|
|
173
|
+
setSelected(item);
|
|
151
174
|
const { lng, lat } = item.location;
|
|
152
175
|
setMapCenter(lng, lat, props.selectedZoom);
|
|
153
|
-
if (
|
|
176
|
+
if (poiMode.value) {
|
|
154
177
|
bounceIcon();
|
|
155
|
-
|
|
156
|
-
showCenterMarker(lng, lat);
|
|
178
|
+
return;
|
|
157
179
|
}
|
|
180
|
+
showCenterMarker(lng, lat);
|
|
158
181
|
};
|
|
159
|
-
const
|
|
160
|
-
if (
|
|
161
|
-
|
|
182
|
+
const setSelected = (item) => {
|
|
183
|
+
if (selected.value !== item) {
|
|
184
|
+
selected.value = item;
|
|
185
|
+
emit("select", selected.value);
|
|
162
186
|
}
|
|
187
|
+
};
|
|
188
|
+
const onConfirm = () => {
|
|
163
189
|
if (!selected.value) {
|
|
164
190
|
confirmLoading.value = true;
|
|
165
191
|
getMapCenter(props.returnRegions).then((result2) => {
|
|
@@ -174,7 +200,7 @@ const _sfc_main = defineComponent({
|
|
|
174
200
|
}
|
|
175
201
|
const result = {
|
|
176
202
|
...selected.value.location,
|
|
177
|
-
name: selected.value.name,
|
|
203
|
+
name: selected.value.name || "",
|
|
178
204
|
address: selected.value.address || ""
|
|
179
205
|
};
|
|
180
206
|
if (props.returnRegions) {
|
|
@@ -230,20 +256,20 @@ const _sfc_main = defineComponent({
|
|
|
230
256
|
if (state.selectedSuggestion) {
|
|
231
257
|
if (result.length === 0 || result[0].name !== state.selectedSuggestion.name) {
|
|
232
258
|
data.value = [state.selectedSuggestion, ...result];
|
|
233
|
-
selected.value = state.selectedSuggestion;
|
|
234
259
|
} else {
|
|
235
260
|
data.value = result;
|
|
236
|
-
selected.value = result[0];
|
|
237
261
|
}
|
|
262
|
+
setSelected(data.value[0]);
|
|
238
263
|
} else {
|
|
239
264
|
data.value = result;
|
|
240
|
-
|
|
265
|
+
setSelected(null);
|
|
241
266
|
}
|
|
242
267
|
poiLoading.value = false;
|
|
243
268
|
}).catch((e) => {
|
|
244
269
|
console.error(e);
|
|
245
|
-
|
|
246
|
-
|
|
270
|
+
const selectedSuggestion = state.selectedSuggestion;
|
|
271
|
+
data.value = selectedSuggestion ? [selectedSuggestion] : [];
|
|
272
|
+
setSelected(selectedSuggestion ? selectedSuggestion : null);
|
|
247
273
|
poiLoading.value = false;
|
|
248
274
|
});
|
|
249
275
|
};
|
|
@@ -332,16 +358,16 @@ const _sfc_main = defineComponent({
|
|
|
332
358
|
}
|
|
333
359
|
});
|
|
334
360
|
};
|
|
335
|
-
const changeMapStyle = (
|
|
361
|
+
const changeMapStyle = (style) => {
|
|
336
362
|
if (state.mapIns) {
|
|
337
|
-
if (typeof
|
|
338
|
-
if (
|
|
363
|
+
if (typeof style === "boolean") {
|
|
364
|
+
if (style) {
|
|
339
365
|
state.mapIns.setMapStyle("amap://styles/dark");
|
|
340
366
|
} else {
|
|
341
367
|
state.mapIns.setMapStyle("amap://styles/normal");
|
|
342
368
|
}
|
|
343
|
-
} else if (
|
|
344
|
-
state.mapIns.setMapStyle(
|
|
369
|
+
} else if (style) {
|
|
370
|
+
state.mapIns.setMapStyle(style);
|
|
345
371
|
}
|
|
346
372
|
}
|
|
347
373
|
};
|
|
@@ -354,13 +380,13 @@ const _sfc_main = defineComponent({
|
|
|
354
380
|
};
|
|
355
381
|
const destroyAll = () => {
|
|
356
382
|
destroyMap();
|
|
357
|
-
data.value = [];
|
|
358
|
-
suggestionData.value = [];
|
|
359
|
-
selected.value = null;
|
|
360
|
-
keywords.value = "";
|
|
361
383
|
state.lastSuggestion = "";
|
|
362
384
|
state.selectedSuggestion = null;
|
|
363
385
|
state.isItemClickMove = false;
|
|
386
|
+
data.value = [];
|
|
387
|
+
suggestionData.value = [];
|
|
388
|
+
keywords.value = "";
|
|
389
|
+
setSelected(null);
|
|
364
390
|
};
|
|
365
391
|
const getMapIns = () => {
|
|
366
392
|
return state.mapIns;
|
|
@@ -382,17 +408,26 @@ const _sfc_main = defineComponent({
|
|
|
382
408
|
}
|
|
383
409
|
);
|
|
384
410
|
watch(
|
|
385
|
-
() => props.
|
|
386
|
-
(
|
|
411
|
+
() => props.mode,
|
|
412
|
+
(mode) => {
|
|
387
413
|
keywords.value = "";
|
|
388
414
|
suggestionData.value = [];
|
|
389
415
|
state.selectedSuggestion = null;
|
|
390
416
|
state.lastSuggestion = "";
|
|
391
417
|
removeCenterMarker();
|
|
392
|
-
if (
|
|
418
|
+
if (mode !== "poi" && selected.value) {
|
|
393
419
|
const { lng, lat } = selected.value.location;
|
|
394
420
|
showCenterMarker(lng, lat);
|
|
395
421
|
}
|
|
422
|
+
if (!data.value.length && (mode === "poi" || mode === "keyword")) {
|
|
423
|
+
if (selected.value) {
|
|
424
|
+
const { lng, lat } = selected.value.location;
|
|
425
|
+
searchPOI(lng, lat);
|
|
426
|
+
} else {
|
|
427
|
+
const { lng, lat } = state.mapIns.getCenter();
|
|
428
|
+
searchPOI(lng, lat);
|
|
429
|
+
}
|
|
430
|
+
}
|
|
396
431
|
}
|
|
397
432
|
);
|
|
398
433
|
watch(
|
|
@@ -409,7 +444,9 @@ const _sfc_main = defineComponent({
|
|
|
409
444
|
destroyAll();
|
|
410
445
|
});
|
|
411
446
|
return {
|
|
447
|
+
SearchOutlined,
|
|
412
448
|
mapRef,
|
|
449
|
+
autocompleteRef,
|
|
413
450
|
loading,
|
|
414
451
|
poiLoading,
|
|
415
452
|
confirmLoading,
|
|
@@ -418,7 +455,9 @@ const _sfc_main = defineComponent({
|
|
|
418
455
|
centerIconClass,
|
|
419
456
|
keywords,
|
|
420
457
|
selected,
|
|
421
|
-
|
|
458
|
+
confirmDisabled,
|
|
459
|
+
keywordMode,
|
|
460
|
+
poiMode,
|
|
422
461
|
onSearch,
|
|
423
462
|
onSearchSelect,
|
|
424
463
|
onItemClick,
|
|
@@ -434,73 +473,80 @@ const _export_sfc = (sfc, props) => {
|
|
|
434
473
|
}
|
|
435
474
|
return target;
|
|
436
475
|
};
|
|
437
|
-
const _hoisted_1 = { class: "ele-map-view-
|
|
438
|
-
const _hoisted_2 = {
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
const
|
|
443
|
-
const
|
|
444
|
-
const
|
|
445
|
-
const
|
|
476
|
+
const _hoisted_1 = { class: "ele-map-view-body" };
|
|
477
|
+
const _hoisted_2 = {
|
|
478
|
+
ref: "mapRef",
|
|
479
|
+
style: { "height": "100%" }
|
|
480
|
+
};
|
|
481
|
+
const _hoisted_3 = ["src"];
|
|
482
|
+
const _hoisted_4 = { class: "ele-map-suggest-item" };
|
|
483
|
+
const _hoisted_5 = { class: "ele-map-suggest-title" };
|
|
484
|
+
const _hoisted_6 = { class: "ele-map-suggest-text" };
|
|
485
|
+
const _hoisted_7 = {
|
|
486
|
+
key: 0,
|
|
487
|
+
class: "ele-map-view-message"
|
|
488
|
+
};
|
|
489
|
+
const _hoisted_8 = { class: "ele-map-view-list" };
|
|
490
|
+
const _hoisted_9 = ["onClick"];
|
|
491
|
+
const _hoisted_10 = { class: "ele-map-view-item-body" };
|
|
492
|
+
const _hoisted_11 = { class: "ele-map-view-item-title" };
|
|
493
|
+
const _hoisted_12 = {
|
|
446
494
|
key: 0,
|
|
447
495
|
class: "ele-map-view-item-text"
|
|
448
496
|
};
|
|
449
|
-
const
|
|
497
|
+
const _hoisted_13 = {
|
|
450
498
|
key: 0,
|
|
451
499
|
class: "ele-map-view-empty"
|
|
452
500
|
};
|
|
453
|
-
const
|
|
501
|
+
const _hoisted_14 = { class: "ele-map-view-extra" };
|
|
502
|
+
const _hoisted_15 = {
|
|
454
503
|
key: 0,
|
|
455
|
-
class: "ele-map-view-
|
|
504
|
+
class: "ele-map-view-message"
|
|
456
505
|
};
|
|
457
|
-
const _hoisted_12 = { class: "ele-map-view-message" };
|
|
458
506
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
459
|
-
const
|
|
507
|
+
const _component_PlusOutlined = resolveComponent("PlusOutlined");
|
|
460
508
|
const _component_ElIcon = resolveComponent("ElIcon");
|
|
461
|
-
const
|
|
509
|
+
const _component_SearchOutlined = resolveComponent("SearchOutlined");
|
|
462
510
|
const _component_ElAutocomplete = resolveComponent("ElAutocomplete");
|
|
463
|
-
const _component_CheckOutlined = resolveComponent("CheckOutlined");
|
|
464
511
|
const _component_ElButton = resolveComponent("ElButton");
|
|
465
|
-
const
|
|
512
|
+
const _component_ElInput = resolveComponent("ElInput");
|
|
466
513
|
const _component_EnvironmentOutlined = resolveComponent("EnvironmentOutlined");
|
|
467
514
|
const _component_CheckCircleOutlined = resolveComponent("CheckCircleOutlined");
|
|
468
515
|
const _component_ElEmpty = resolveComponent("ElEmpty");
|
|
469
516
|
const _component_EleLoading = resolveComponent("EleLoading");
|
|
470
517
|
return openBlock(), createBlock(_component_EleLoading, {
|
|
471
518
|
loading: _ctx.loading,
|
|
472
|
-
class: "ele-map-view"
|
|
519
|
+
class: "ele-map-view",
|
|
520
|
+
style: normalizeStyle({ height: _ctx.height })
|
|
473
521
|
}, {
|
|
474
522
|
default: withCtx(() => [
|
|
475
|
-
createElementVNode("div",
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
key: 0,
|
|
482
|
-
clearable: "",
|
|
483
|
-
modelValue: _ctx.keywords,
|
|
484
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.keywords = $event),
|
|
485
|
-
placeholder: _ctx.searchPlaceholder,
|
|
486
|
-
onChange: _ctx.onSearch
|
|
487
|
-
}, {
|
|
488
|
-
prefix: withCtx(() => [
|
|
489
|
-
createVNode(_component_ElIcon, { class: "el-input__icon" }, {
|
|
490
|
-
default: withCtx(() => [
|
|
491
|
-
createVNode(_component_SearchOutlined)
|
|
492
|
-
]),
|
|
493
|
-
_: 1
|
|
494
|
-
})
|
|
523
|
+
createElementVNode("div", _hoisted_1, [
|
|
524
|
+
createElementVNode("div", _hoisted_2, null, 512),
|
|
525
|
+
_ctx.poiMode ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
526
|
+
createVNode(_component_ElIcon, { class: "ele-map-view-icon-plus" }, {
|
|
527
|
+
default: withCtx(() => [
|
|
528
|
+
createVNode(_component_PlusOutlined)
|
|
495
529
|
]),
|
|
496
530
|
_: 1
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
|
|
531
|
+
}),
|
|
532
|
+
createElementVNode("img", {
|
|
533
|
+
src: _ctx.markerSrc,
|
|
534
|
+
class: normalizeClass(_ctx.centerIconClass)
|
|
535
|
+
}, null, 10, _hoisted_3)
|
|
536
|
+
], 64)) : createCommentVNode("", true),
|
|
537
|
+
_ctx.filterable && !_ctx.keywordMode ? (openBlock(), createElementBlock("div", {
|
|
538
|
+
key: 1,
|
|
539
|
+
class: "ele-map-view-search",
|
|
540
|
+
style: normalizeStyle(_ctx.searchStyle)
|
|
541
|
+
}, [
|
|
542
|
+
createVNode(_component_ElAutocomplete, {
|
|
543
|
+
ref: "autocompleteRef",
|
|
544
|
+
clearable: true,
|
|
500
545
|
modelValue: _ctx.keywords,
|
|
501
|
-
"onUpdate:modelValue": _cache[
|
|
502
|
-
fetchSuggestions: _ctx.onSearch,
|
|
546
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.keywords = $event),
|
|
503
547
|
placeholder: _ctx.searchPlaceholder,
|
|
548
|
+
popperClass: "ele-map-suggest-popper",
|
|
549
|
+
fetchSuggestions: _ctx.onSearch,
|
|
504
550
|
onSelect: _ctx.onSearchSelect
|
|
505
551
|
}, {
|
|
506
552
|
prefix: withCtx(() => [
|
|
@@ -512,95 +558,100 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
512
558
|
})
|
|
513
559
|
]),
|
|
514
560
|
default: withCtx(({ item }) => [
|
|
515
|
-
createElementVNode("
|
|
516
|
-
|
|
561
|
+
createElementVNode("div", _hoisted_4, [
|
|
562
|
+
createElementVNode("div", _hoisted_5, toDisplayString(item.label), 1),
|
|
563
|
+
createElementVNode("div", _hoisted_6, toDisplayString(item.district), 1)
|
|
564
|
+
])
|
|
517
565
|
]),
|
|
518
566
|
_: 1
|
|
519
|
-
}, 8, ["modelValue", "
|
|
520
|
-
]),
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
567
|
+
}, 8, ["modelValue", "placeholder", "fetchSuggestions", "onSelect"])
|
|
568
|
+
], 4)) : createCommentVNode("", true),
|
|
569
|
+
!_ctx.poiMode && !_ctx.keywordMode ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
570
|
+
_ctx.confirmDisabled && _ctx.clickMessage ? (openBlock(), createElementBlock("div", _hoisted_7, toDisplayString(_ctx.clickMessage), 1)) : (openBlock(), createBlock(_component_ElButton, {
|
|
571
|
+
key: 1,
|
|
572
|
+
type: "primary",
|
|
573
|
+
loading: _ctx.confirmLoading,
|
|
574
|
+
disabled: _ctx.confirmDisabled,
|
|
575
|
+
class: "ele-map-view-btn-ok",
|
|
576
|
+
onClick: _ctx.onConfirm
|
|
577
|
+
}, {
|
|
578
|
+
default: withCtx(() => [
|
|
579
|
+
createTextVNode(toDisplayString(_ctx.okText), 1)
|
|
580
|
+
]),
|
|
581
|
+
_: 1
|
|
582
|
+
}, 8, ["loading", "disabled", "onClick"]))
|
|
583
|
+
], 64)) : createCommentVNode("", true)
|
|
584
|
+
]),
|
|
585
|
+
_ctx.keywordMode || _ctx.poiMode ? (openBlock(), createBlock(_component_EleLoading, {
|
|
586
|
+
key: 0,
|
|
587
|
+
loading: _ctx.poiLoading,
|
|
588
|
+
class: "ele-map-view-side"
|
|
589
|
+
}, {
|
|
590
|
+
default: withCtx(() => [
|
|
591
|
+
_ctx.keywordMode ? (openBlock(), createElementBlock("div", {
|
|
592
|
+
key: 0,
|
|
593
|
+
class: "ele-map-view-search",
|
|
594
|
+
style: normalizeStyle(_ctx.searchStyle)
|
|
595
|
+
}, [
|
|
596
|
+
createVNode(_component_ElInput, {
|
|
597
|
+
clearable: true,
|
|
598
|
+
modelValue: _ctx.keywords,
|
|
599
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.keywords = $event),
|
|
600
|
+
prefixIcon: _ctx.SearchOutlined,
|
|
601
|
+
placeholder: _ctx.searchPlaceholder,
|
|
602
|
+
onChange: _ctx.onSearch
|
|
603
|
+
}, null, 8, ["modelValue", "prefixIcon", "placeholder", "onChange"])
|
|
604
|
+
], 4)) : createCommentVNode("", true),
|
|
605
|
+
createElementVNode("div", _hoisted_8, [
|
|
606
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.data, (item) => {
|
|
607
|
+
return openBlock(), createElementBlock("div", {
|
|
608
|
+
key: item.key,
|
|
609
|
+
class: normalizeClass(["ele-map-view-item", { "is-active": item === _ctx.selected }]),
|
|
610
|
+
onClick: ($event) => _ctx.onItemClick(item)
|
|
611
|
+
}, [
|
|
612
|
+
createVNode(_component_ElIcon, { class: "ele-map-view-item-icon" }, {
|
|
613
|
+
default: withCtx(() => [
|
|
614
|
+
createVNode(_component_EnvironmentOutlined)
|
|
615
|
+
]),
|
|
616
|
+
_: 1
|
|
617
|
+
}),
|
|
618
|
+
createElementVNode("div", _hoisted_10, [
|
|
619
|
+
createElementVNode("div", _hoisted_11, toDisplayString(item.name), 1),
|
|
620
|
+
item.address ? (openBlock(), createElementBlock("div", _hoisted_12, toDisplayString(item.address), 1)) : createCommentVNode("", true)
|
|
621
|
+
]),
|
|
622
|
+
createVNode(_component_ElIcon, { class: "ele-map-view-item-radio" }, {
|
|
623
|
+
default: withCtx(() => [
|
|
624
|
+
createVNode(_component_CheckCircleOutlined)
|
|
625
|
+
]),
|
|
626
|
+
_: 1
|
|
627
|
+
})
|
|
628
|
+
], 10, _hoisted_9);
|
|
629
|
+
}), 128)),
|
|
630
|
+
!_ctx.data || !_ctx.data.length ? (openBlock(), createElementBlock("div", _hoisted_13, [
|
|
631
|
+
createVNode(_component_ElEmpty, mergeProps({ imageSize: 80 }, _ctx.emptyProps), null, 16)
|
|
632
|
+
])) : createCommentVNode("", true)
|
|
536
633
|
]),
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
ref: "mapRef",
|
|
547
|
-
style: normalizeStyle({ height: _ctx.height })
|
|
548
|
-
}, null, 4),
|
|
549
|
-
!_ctx.keywordMode ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
550
|
-
createVNode(_component_ElIcon, { class: "ele-map-view-icon-plus" }, {
|
|
634
|
+
createElementVNode("div", _hoisted_14, [
|
|
635
|
+
_ctx.confirmDisabled && _ctx.message ? (openBlock(), createElementBlock("div", _hoisted_15, toDisplayString(_ctx.message), 1)) : (openBlock(), createBlock(_component_ElButton, {
|
|
636
|
+
key: 1,
|
|
637
|
+
type: "primary",
|
|
638
|
+
loading: _ctx.confirmLoading,
|
|
639
|
+
disabled: _ctx.confirmDisabled,
|
|
640
|
+
class: "ele-map-view-btn-ok",
|
|
641
|
+
onClick: _ctx.onConfirm
|
|
642
|
+
}, {
|
|
551
643
|
default: withCtx(() => [
|
|
552
|
-
|
|
644
|
+
createTextVNode(toDisplayString(_ctx.okText), 1)
|
|
553
645
|
]),
|
|
554
646
|
_: 1
|
|
555
|
-
})
|
|
556
|
-
|
|
557
|
-
src: _ctx.markerSrc,
|
|
558
|
-
class: normalizeClass(_ctx.centerIconClass)
|
|
559
|
-
}, null, 10, _hoisted_5)
|
|
560
|
-
], 64)) : createCommentVNode("", true)
|
|
647
|
+
}, 8, ["loading", "disabled", "onClick"]))
|
|
648
|
+
])
|
|
561
649
|
]),
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
class: "ele-map-view-side"
|
|
565
|
-
}, {
|
|
566
|
-
default: withCtx(() => [
|
|
567
|
-
createElementVNode("div", _hoisted_6, [
|
|
568
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.data, (item) => {
|
|
569
|
-
return openBlock(), createElementBlock("div", {
|
|
570
|
-
key: item.key,
|
|
571
|
-
class: normalizeClass(["ele-map-view-item", { "is-active": item === _ctx.selected }]),
|
|
572
|
-
onClick: ($event) => _ctx.onItemClick(item)
|
|
573
|
-
}, [
|
|
574
|
-
createVNode(_component_ElIcon, { class: "ele-map-view-item-icon" }, {
|
|
575
|
-
default: withCtx(() => [
|
|
576
|
-
createVNode(_component_EnvironmentOutlined)
|
|
577
|
-
]),
|
|
578
|
-
_: 1
|
|
579
|
-
}),
|
|
580
|
-
createElementVNode("div", _hoisted_8, toDisplayString(item.name), 1),
|
|
581
|
-
item.address ? (openBlock(), createElementBlock("div", _hoisted_9, toDisplayString(item.address), 1)) : createCommentVNode("", true),
|
|
582
|
-
createVNode(_component_ElIcon, { class: "ele-map-view-item-radio" }, {
|
|
583
|
-
default: withCtx(() => [
|
|
584
|
-
createVNode(_component_CheckCircleOutlined)
|
|
585
|
-
]),
|
|
586
|
-
_: 1
|
|
587
|
-
})
|
|
588
|
-
], 10, _hoisted_7);
|
|
589
|
-
}), 128)),
|
|
590
|
-
!_ctx.data || !_ctx.data.length ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
591
|
-
createVNode(_component_ElEmpty, mergeProps({ imageSize: 80 }, _ctx.emptyProps), null, 16)
|
|
592
|
-
])) : createCommentVNode("", true)
|
|
593
|
-
]),
|
|
594
|
-
_ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_11, [
|
|
595
|
-
createElementVNode("div", _hoisted_12, toDisplayString(_ctx.message), 1)
|
|
596
|
-
])) : createCommentVNode("", true)
|
|
597
|
-
]),
|
|
598
|
-
_: 1
|
|
599
|
-
}, 8, ["loading"])
|
|
600
|
-
], 4)
|
|
650
|
+
_: 1
|
|
651
|
+
}, 8, ["loading"])) : createCommentVNode("", true)
|
|
601
652
|
]),
|
|
602
653
|
_: 1
|
|
603
|
-
}, 8, ["loading"]);
|
|
654
|
+
}, 8, ["loading", "style"]);
|
|
604
655
|
}
|
|
605
656
|
const mapView = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
606
657
|
export {
|