ele-admin-plus 1.1.8-beta.4 → 1.1.8-beta.6
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/components.d.ts +1 -49
- package/es/components.js +13 -110
- package/es/core-components.d.ts +49 -0
- package/es/core-components.js +100 -0
- package/es/core-export.d.ts +9 -0
- package/es/core-export.js +14 -0
- package/es/core-installer.d.ts +3 -0
- package/es/core-installer.js +11 -0
- package/es/core.d.ts +3 -0
- package/es/core.js +6 -0
- package/es/ele-alert/index.d.ts +4 -4
- package/es/ele-alert/index.js +13 -13
- package/es/ele-app/style/overwrite/input/index.scss +32 -39
- package/es/ele-app/style/overwrite/message-box/index.scss +6 -1
- package/es/ele-app/style/scrollbar/css-var.scss +20 -5
- package/es/ele-basic-select/index.d.ts +6 -6
- package/es/ele-basic-select/index.js +4 -4
- package/es/ele-basic-select/props.d.ts +1 -1
- package/es/ele-basic-select/style/index.scss +2 -9
- package/es/ele-copyable/index.d.ts +4 -2
- package/es/ele-copyable/index.js +6 -6
- package/es/ele-cropper/components/cropper-tools.js +14 -14
- package/es/ele-cropper/props.js +1 -1
- package/es/ele-cropper/style/index.scss +3 -3
- package/es/ele-cropper-modal/index.js +1 -1
- package/es/ele-data-table/style/index.scss +17 -6
- package/es/ele-drawer/index.d.ts +9 -5
- package/es/ele-drawer/index.js +66 -10
- package/es/ele-drawer/props.d.ts +3 -1
- package/es/ele-drawer/props.js +3 -1
- package/es/ele-drawer/style/index.scss +90 -17
- package/es/ele-dropdown/index.d.ts +2 -0
- package/es/ele-dropdown/index.js +18 -8
- package/es/ele-dropdown/props.d.ts +3 -0
- package/es/ele-dropdown/props.js +3 -1
- package/es/ele-edit-tag/index.d.ts +8 -4
- package/es/ele-edit-tag/index.js +29 -26
- package/es/ele-edit-tag/props.d.ts +5 -1
- package/es/ele-edit-tag/props.js +4 -0
- package/es/ele-edit-tag/style/index.scss +74 -72
- package/es/ele-ellipsis/index.d.ts +1 -1
- package/es/ele-icon-select/components/icon-grid.js +42 -39
- package/es/ele-icon-select/style/index.js +1 -0
- package/es/ele-icon-select/style/index.scss +5 -3
- package/es/ele-map-picker/components/map-view.d.ts +10 -12
- package/es/ele-map-picker/components/map-view.js +30 -30
- package/es/ele-map-picker/style/index.scss +5 -5
- package/es/ele-menus/index.js +3 -1
- package/es/ele-menus/style/index.scss +14 -8
- package/es/ele-menus/util.js +5 -2
- package/es/ele-modal/index.d.ts +14 -14
- package/es/ele-modal/index.js +39 -32
- package/es/ele-modal/props.d.ts +1 -1
- package/es/ele-modal/style/css-var.scss +0 -7
- package/es/ele-modal/style/index.scss +10 -4
- package/es/ele-popconfirm/index.d.ts +2 -2
- package/es/ele-popconfirm/index.js +4 -4
- package/es/ele-pro-layout/components/pro-header.js +2 -2
- package/es/ele-pro-layout/components/pro-tabs.js +1 -1
- package/es/ele-pro-layout/components/tab-dropdown.js +3 -3
- package/es/ele-pro-layout/style/css-var.scss +9 -3
- package/es/ele-pro-table/components/table-tools.js +4 -5
- package/es/ele-pro-table/components/tool-column.js +4 -4
- package/es/ele-pro-table/index.d.ts +1 -1
- package/es/ele-pro-table/index.js +4 -4
- package/es/ele-pro-table/style/index.scss +2 -2
- package/es/ele-split-panel/index.js +7 -1
- package/es/ele-split-panel/style/index.scss +5 -1
- package/es/ele-table-select/index.d.ts +3 -3
- package/es/ele-table-select/props.d.ts +1 -1
- package/es/ele-tabs/index.js +28 -17
- package/es/ele-tabs/style/css-var.scss +3 -1
- package/es/ele-tabs/style/index.scss +26 -0
- package/es/ele-toolbar/index.d.ts +4 -0
- package/es/ele-toolbar/index.js +7 -7
- package/es/ele-toolbar/props.d.ts +5 -0
- package/es/ele-toolbar/props.js +5 -1
- package/es/ele-tree-select/index.d.ts +13 -8
- package/es/ele-tree-select/index.js +49 -6
- package/es/ele-tree-select/props.d.ts +3 -1
- package/es/ele-tree-select/props.js +2 -0
- package/es/ele-tree-select/util.d.ts +7 -0
- package/es/ele-tree-select/util.js +13 -0
- package/es/ele-upload-list/components/list-item.js +10 -10
- package/es/ele-upload-list/index.js +4 -4
- package/es/ele-upload-list/style/index.scss +12 -4
- package/es/ele-virtual-table/components/body-cell.js +10 -5
- package/es/ele-virtual-table/style/index.scss +3 -2
- package/es/icons/AnalysisOutlined.d.ts +2 -0
- package/es/icons/AnalysisOutlined.js +35 -0
- package/es/icons/ApplicationOutlined.d.ts +2 -0
- package/es/icons/ApplicationOutlined.js +26 -0
- package/es/icons/AppstoreAddOutlined.d.ts +2 -0
- package/es/icons/AppstoreAddOutlined.js +35 -0
- package/es/icons/AppstoreOutlined.d.ts +2 -0
- package/es/icons/AppstoreOutlined.js +35 -0
- package/es/icons/ArrowDown.js +5 -7
- package/es/icons/ArrowDownOutlined.d.ts +2 -0
- package/es/icons/ArrowDownOutlined.js +30 -0
- package/es/icons/ArrowLeft.js +7 -6
- package/es/icons/ArrowLeftOutlined.d.ts +2 -0
- package/es/icons/ArrowLeftOutlined.js +30 -0
- package/es/icons/ArrowRight.js +6 -7
- package/es/icons/ArrowRightOutlined.d.ts +2 -0
- package/es/icons/ArrowRightOutlined.js +30 -0
- package/es/icons/ArrowUp.js +6 -6
- package/es/icons/ArrowUpOutlined.d.ts +2 -0
- package/es/icons/ArrowUpOutlined.js +30 -0
- package/es/icons/BellOutlined.d.ts +2 -0
- package/es/icons/BellOutlined.js +29 -0
- package/es/icons/BookOutlined.d.ts +2 -0
- package/es/icons/BookOutlined.js +29 -0
- package/es/icons/CalendarOutlined.d.ts +2 -0
- package/es/icons/CalendarOutlined.js +29 -0
- package/es/icons/CaretDownFilled.d.ts +2 -0
- package/es/icons/CaretDownFilled.js +26 -0
- package/es/icons/CaretUpFilled.d.ts +2 -0
- package/es/icons/CaretUpFilled.js +26 -0
- package/es/icons/CheckCircleFilled.d.ts +2 -0
- package/es/icons/CheckCircleFilled.js +26 -0
- package/es/icons/CheckCircleOutlined.d.ts +2 -0
- package/es/icons/CheckCircleOutlined.js +32 -0
- package/es/icons/CheckOutlined.d.ts +2 -0
- package/es/icons/CheckOutlined.js +30 -0
- package/es/icons/CityOutlined.d.ts +2 -0
- package/es/icons/CityOutlined.js +35 -0
- package/es/icons/ClockCircleOutlined.d.ts +2 -0
- package/es/icons/ClockCircleOutlined.js +32 -0
- package/es/icons/CloseCircleFilled.d.ts +2 -0
- package/es/icons/CloseCircleFilled.js +26 -0
- package/es/icons/CloseCircleOutlined.d.ts +2 -0
- package/es/icons/CloseCircleOutlined.js +31 -0
- package/es/icons/CloseOutlined.js +7 -17
- package/es/icons/CloudUploadOutlined.d.ts +2 -0
- package/es/icons/CloudUploadOutlined.js +32 -0
- package/es/icons/ClusterOutlined.d.ts +2 -0
- package/es/icons/ClusterOutlined.js +29 -0
- package/es/icons/CodeOutlined.d.ts +2 -0
- package/es/icons/CodeOutlined.js +34 -0
- package/es/icons/ColumnHeightOutlined.js +17 -5
- package/es/icons/CompassOutlined.d.ts +2 -0
- package/es/icons/CompassOutlined.js +34 -0
- package/es/icons/CompressOutlined.js +18 -5
- package/es/icons/ConnectionOutlined.d.ts +2 -0
- package/es/icons/ConnectionOutlined.js +31 -0
- package/es/icons/ControlOutlined.d.ts +2 -0
- package/es/icons/ControlOutlined.js +33 -0
- package/es/icons/CopyOutlined.d.ts +2 -0
- package/es/icons/CopyOutlined.js +35 -0
- package/es/icons/CpuOutlined.d.ts +2 -0
- package/es/icons/CpuOutlined.js +30 -0
- package/es/icons/DashboardOutlined.d.ts +2 -0
- package/es/icons/DashboardOutlined.js +37 -0
- package/es/icons/DatabaseOutlined.d.ts +2 -0
- package/es/icons/DatabaseOutlined.js +35 -0
- package/es/icons/DeleteOutlined.d.ts +2 -0
- package/es/icons/DeleteOutlined.js +34 -0
- package/es/icons/DesktopOutlined.d.ts +2 -0
- package/es/icons/DesktopOutlined.js +29 -0
- package/es/icons/DownloadOutlined.d.ts +2 -0
- package/es/icons/DownloadOutlined.js +32 -0
- package/es/icons/DragOutlined.d.ts +2 -0
- package/es/icons/DragOutlined.js +30 -0
- package/es/icons/EditOutlined.d.ts +2 -0
- package/es/icons/EditOutlined.js +32 -0
- package/es/icons/EllipsisOutlined.js +6 -9
- package/es/icons/EnvironmentOutlined.d.ts +2 -0
- package/es/icons/EnvironmentOutlined.js +31 -0
- package/es/icons/ExclamationCircleFilled.d.ts +2 -0
- package/es/icons/ExclamationCircleFilled.js +26 -0
- package/es/icons/ExpandOutlined.js +18 -5
- package/es/icons/FileOutlined.d.ts +2 -0
- package/es/icons/FileOutlined.js +35 -0
- package/es/icons/FilterFilled.js +5 -2
- package/es/icons/FolderAddOutlined.d.ts +2 -0
- package/es/icons/FolderAddOutlined.js +31 -0
- package/es/icons/FolderOutlined.d.ts +2 -0
- package/es/icons/FolderOutlined.js +29 -0
- package/es/icons/FormOutlined.d.ts +2 -0
- package/es/icons/FormOutlined.js +31 -0
- package/es/icons/FullscreenExitOutlined.js +16 -5
- package/es/icons/FullscreenOutlined.js +16 -5
- package/es/icons/FundOutlined.d.ts +2 -0
- package/es/icons/FundOutlined.js +31 -0
- package/es/icons/GlobalOutlined.d.ts +2 -0
- package/es/icons/GlobalOutlined.js +28 -0
- package/es/icons/HolderOutlined.js +8 -5
- package/es/icons/HomeOutlined.js +5 -24
- package/es/icons/IdcardOutlined.d.ts +2 -0
- package/es/icons/IdcardOutlined.js +38 -0
- package/es/icons/InfoCircleFilled.d.ts +2 -0
- package/es/icons/InfoCircleFilled.js +26 -0
- package/es/icons/LinkOutlined.d.ts +2 -0
- package/es/icons/LinkOutlined.js +32 -0
- package/es/icons/LoadingDotOutlined.d.ts +2 -0
- package/es/icons/LoadingDotOutlined.js +29 -0
- package/es/icons/LoadingOutlined.js +8 -2
- package/es/icons/LockOutlined.d.ts +2 -0
- package/es/icons/LockOutlined.js +32 -0
- package/es/icons/LogOutlined.d.ts +2 -0
- package/es/icons/LogOutlined.js +35 -0
- package/es/icons/LogoutOutlined.d.ts +2 -0
- package/es/icons/LogoutOutlined.js +31 -0
- package/es/icons/MailOutlined.d.ts +2 -0
- package/es/icons/MailOutlined.js +29 -0
- package/es/icons/MenuFoldOutlined.d.ts +2 -0
- package/es/icons/MenuFoldOutlined.js +28 -0
- package/es/icons/MenuUnfoldOutlined.d.ts +2 -0
- package/es/icons/MenuUnfoldOutlined.js +28 -0
- package/es/icons/MessageOutlined.d.ts +2 -0
- package/es/icons/MessageOutlined.js +50 -0
- package/es/icons/MinusCircleOutlined.d.ts +2 -0
- package/es/icons/MinusCircleOutlined.js +31 -0
- package/es/icons/MobileOutlined.d.ts +2 -0
- package/es/icons/MobileOutlined.js +37 -0
- package/es/icons/MoonOutlined.d.ts +2 -0
- package/es/icons/MoonOutlined.js +29 -0
- package/es/icons/MoreOutlined.d.ts +2 -0
- package/es/icons/MoreOutlined.js +42 -0
- package/es/icons/PauseFilled.d.ts +2 -0
- package/es/icons/PauseFilled.js +30 -0
- package/es/icons/PieChartOutlined.d.ts +2 -0
- package/es/icons/PieChartOutlined.js +31 -0
- package/es/icons/PlayFilled.d.ts +2 -0
- package/es/icons/PlayFilled.js +26 -0
- package/es/icons/PlusCircleOutlined.d.ts +2 -0
- package/es/icons/PlusCircleOutlined.js +31 -0
- package/es/icons/PlusOutlined.d.ts +2 -0
- package/es/icons/PlusOutlined.js +29 -0
- package/es/icons/ProtectOutlined.d.ts +2 -0
- package/es/icons/ProtectOutlined.js +32 -0
- package/es/icons/QuestionCircleFilled.d.ts +2 -0
- package/es/icons/QuestionCircleFilled.js +26 -0
- package/es/icons/QuestionCircleOutlined.d.ts +2 -0
- package/es/icons/QuestionCircleOutlined.js +39 -0
- package/es/icons/ReloadOutlined.d.ts +2 -0
- package/es/icons/ReloadOutlined.js +30 -0
- package/es/icons/SearchOutlined.d.ts +2 -0
- package/es/icons/SearchOutlined.js +29 -0
- package/es/icons/SettingOutlined.d.ts +2 -0
- package/es/icons/SettingOutlined.js +31 -0
- package/es/icons/ShoppingOutlined.d.ts +2 -0
- package/es/icons/ShoppingOutlined.js +29 -0
- package/es/icons/SortOutlined.d.ts +2 -0
- package/es/icons/SortOutlined.js +32 -0
- package/es/icons/StarFilled.d.ts +2 -0
- package/es/icons/StarFilled.js +26 -0
- package/es/icons/StepBackwardFilled.d.ts +2 -0
- package/es/icons/StepBackwardFilled.js +33 -0
- package/es/icons/StepForwardFilled.d.ts +2 -0
- package/es/icons/StepForwardFilled.js +33 -0
- package/es/icons/SuitcaseOutlined.d.ts +2 -0
- package/es/icons/SuitcaseOutlined.js +29 -0
- package/es/icons/SunOutlined.d.ts +2 -0
- package/es/icons/SunOutlined.js +29 -0
- package/es/icons/SwapOutlined.d.ts +2 -0
- package/es/icons/SwapOutlined.js +32 -0
- package/es/icons/SyncOutlined.d.ts +2 -0
- package/es/icons/SyncOutlined.js +32 -0
- package/es/icons/TableOutlined.d.ts +2 -0
- package/es/icons/TableOutlined.js +29 -0
- package/es/icons/TagOutlined.d.ts +2 -0
- package/es/icons/TagOutlined.js +31 -0
- package/es/icons/TimerOutlined.d.ts +2 -0
- package/es/icons/TimerOutlined.js +31 -0
- package/es/icons/UndoOutlined.d.ts +2 -0
- package/es/icons/UndoOutlined.js +30 -0
- package/es/icons/UnlockOutlined.d.ts +2 -0
- package/es/icons/UnlockOutlined.js +32 -0
- package/es/icons/UploadOutlined.d.ts +2 -0
- package/es/icons/UploadOutlined.js +32 -0
- package/es/icons/UserOutlined.d.ts +2 -0
- package/es/icons/UserOutlined.js +29 -0
- package/es/icons/VerticalAlignMiddleOutlined.d.ts +2 -0
- package/es/icons/VerticalAlignMiddleOutlined.js +32 -0
- package/es/icons/VerticalLeftOutlined.js +7 -2
- package/es/icons/VerticalRightOutlined.js +7 -2
- package/es/icons/WarningOutlined.d.ts +2 -0
- package/es/icons/WarningOutlined.js +42 -0
- package/es/icons/ZoomInOutlined.d.ts +2 -0
- package/es/icons/ZoomInOutlined.js +31 -0
- package/es/icons/ZoomOutOutlined.d.ts +2 -0
- package/es/icons/ZoomOutOutlined.js +31 -0
- package/es/icons/index.d.ts +89 -0
- package/es/icons/index.js +212 -34
- package/es/index.d.ts +1 -9
- package/es/index.js +1 -12
- package/es/style/themes/default.scss +14 -13
- package/es/style/themes/rounded.scss +1 -2
- package/lib/components.cjs +20 -110
- package/lib/components.d.ts +1 -49
- package/lib/core-components.cjs +100 -0
- package/lib/core-components.d.ts +49 -0
- package/lib/core-export.cjs +56 -0
- package/lib/core-export.d.ts +9 -0
- package/lib/core-installer.cjs +28 -0
- package/lib/core-installer.d.ts +3 -0
- package/lib/core.cjs +23 -0
- package/lib/core.d.ts +3 -0
- package/lib/ele-alert/index.cjs +13 -13
- package/lib/ele-alert/index.d.ts +4 -4
- package/lib/ele-app/style/overwrite/input/index.scss +32 -39
- package/lib/ele-app/style/overwrite/message-box/index.scss +6 -1
- package/lib/ele-app/style/scrollbar/css-var.scss +20 -5
- package/lib/ele-basic-select/index.cjs +3 -3
- package/lib/ele-basic-select/index.d.ts +6 -6
- package/lib/ele-basic-select/props.d.ts +1 -1
- package/lib/ele-basic-select/style/index.scss +2 -9
- package/lib/ele-copyable/index.cjs +6 -6
- package/lib/ele-copyable/index.d.ts +4 -2
- package/lib/ele-cropper/components/cropper-tools.cjs +14 -14
- package/lib/ele-cropper/props.cjs +1 -1
- package/lib/ele-cropper/style/index.scss +3 -3
- package/lib/ele-cropper-modal/index.cjs +1 -1
- package/lib/ele-data-table/style/index.scss +17 -6
- package/lib/ele-drawer/index.cjs +64 -8
- package/lib/ele-drawer/index.d.ts +9 -5
- package/lib/ele-drawer/props.cjs +3 -1
- package/lib/ele-drawer/props.d.ts +3 -1
- package/lib/ele-drawer/style/index.scss +90 -17
- package/lib/ele-dropdown/index.cjs +18 -8
- package/lib/ele-dropdown/index.d.ts +2 -0
- package/lib/ele-dropdown/props.cjs +3 -1
- package/lib/ele-dropdown/props.d.ts +3 -0
- package/lib/ele-edit-tag/index.cjs +28 -25
- package/lib/ele-edit-tag/index.d.ts +8 -4
- package/lib/ele-edit-tag/props.cjs +4 -0
- package/lib/ele-edit-tag/props.d.ts +5 -1
- package/lib/ele-edit-tag/style/index.scss +74 -72
- package/lib/ele-ellipsis/index.d.ts +1 -1
- package/lib/ele-icon-select/components/icon-grid.cjs +40 -37
- package/lib/ele-icon-select/style/index.cjs +1 -0
- package/lib/ele-icon-select/style/index.scss +5 -3
- package/lib/ele-map-picker/components/map-view.cjs +30 -30
- package/lib/ele-map-picker/components/map-view.d.ts +10 -12
- package/lib/ele-map-picker/style/index.scss +5 -5
- package/lib/ele-menus/index.cjs +3 -1
- package/lib/ele-menus/style/index.scss +14 -8
- package/lib/ele-menus/util.cjs +5 -2
- package/lib/ele-modal/index.cjs +38 -31
- package/lib/ele-modal/index.d.ts +14 -14
- package/lib/ele-modal/props.d.ts +1 -1
- package/lib/ele-modal/style/css-var.scss +0 -7
- package/lib/ele-modal/style/index.scss +10 -4
- package/lib/ele-popconfirm/index.cjs +4 -4
- package/lib/ele-popconfirm/index.d.ts +2 -2
- package/lib/ele-pro-layout/components/pro-header.cjs +2 -2
- package/lib/ele-pro-layout/components/pro-tabs.cjs +1 -1
- package/lib/ele-pro-layout/components/tab-dropdown.cjs +4 -4
- package/lib/ele-pro-layout/style/css-var.scss +9 -3
- package/lib/ele-pro-table/components/table-tools.cjs +3 -4
- package/lib/ele-pro-table/components/tool-column.cjs +4 -4
- package/lib/ele-pro-table/index.cjs +4 -4
- package/lib/ele-pro-table/index.d.ts +1 -1
- package/lib/ele-pro-table/style/index.scss +2 -2
- package/lib/ele-split-panel/index.cjs +7 -1
- package/lib/ele-split-panel/style/index.scss +5 -1
- package/lib/ele-table-select/index.d.ts +3 -3
- package/lib/ele-table-select/props.d.ts +1 -1
- package/lib/ele-tabs/index.cjs +28 -17
- package/lib/ele-tabs/style/css-var.scss +3 -1
- package/lib/ele-tabs/style/index.scss +26 -0
- package/lib/ele-toolbar/index.cjs +6 -6
- package/lib/ele-toolbar/index.d.ts +4 -0
- package/lib/ele-toolbar/props.cjs +5 -1
- package/lib/ele-toolbar/props.d.ts +5 -0
- package/lib/ele-tree-select/index.cjs +48 -5
- package/lib/ele-tree-select/index.d.ts +13 -8
- package/lib/ele-tree-select/props.cjs +2 -0
- package/lib/ele-tree-select/props.d.ts +3 -1
- package/lib/ele-tree-select/util.cjs +13 -0
- package/lib/ele-tree-select/util.d.ts +7 -0
- package/lib/ele-upload-list/components/list-item.cjs +10 -10
- package/lib/ele-upload-list/index.cjs +4 -4
- package/lib/ele-upload-list/style/index.scss +12 -4
- package/lib/ele-virtual-table/components/body-cell.cjs +9 -4
- package/lib/ele-virtual-table/style/index.scss +3 -2
- package/lib/icons/AnalysisOutlined.cjs +34 -0
- package/lib/icons/AnalysisOutlined.d.ts +2 -0
- package/lib/icons/ApplicationOutlined.cjs +25 -0
- package/lib/icons/ApplicationOutlined.d.ts +2 -0
- package/lib/icons/AppstoreAddOutlined.cjs +34 -0
- package/lib/icons/AppstoreAddOutlined.d.ts +2 -0
- package/lib/icons/AppstoreOutlined.cjs +34 -0
- package/lib/icons/AppstoreOutlined.d.ts +2 -0
- package/lib/icons/ArrowDown.cjs +5 -7
- package/lib/icons/ArrowDownOutlined.cjs +29 -0
- package/lib/icons/ArrowDownOutlined.d.ts +2 -0
- package/lib/icons/ArrowLeft.cjs +7 -6
- package/lib/icons/ArrowLeftOutlined.cjs +29 -0
- package/lib/icons/ArrowLeftOutlined.d.ts +2 -0
- package/lib/icons/ArrowRight.cjs +6 -7
- package/lib/icons/ArrowRightOutlined.cjs +29 -0
- package/lib/icons/ArrowRightOutlined.d.ts +2 -0
- package/lib/icons/ArrowUp.cjs +6 -6
- package/lib/icons/ArrowUpOutlined.cjs +29 -0
- package/lib/icons/ArrowUpOutlined.d.ts +2 -0
- package/lib/icons/BellOutlined.cjs +28 -0
- package/lib/icons/BellOutlined.d.ts +2 -0
- package/lib/icons/BookOutlined.cjs +28 -0
- package/lib/icons/BookOutlined.d.ts +2 -0
- package/lib/icons/CalendarOutlined.cjs +28 -0
- package/lib/icons/CalendarOutlined.d.ts +2 -0
- package/lib/icons/CaretDownFilled.cjs +25 -0
- package/lib/icons/CaretDownFilled.d.ts +2 -0
- package/lib/icons/CaretUpFilled.cjs +25 -0
- package/lib/icons/CaretUpFilled.d.ts +2 -0
- package/lib/icons/CheckCircleFilled.cjs +25 -0
- package/lib/icons/CheckCircleFilled.d.ts +2 -0
- package/lib/icons/CheckCircleOutlined.cjs +31 -0
- package/lib/icons/CheckCircleOutlined.d.ts +2 -0
- package/lib/icons/CheckOutlined.cjs +29 -0
- package/lib/icons/CheckOutlined.d.ts +2 -0
- package/lib/icons/CityOutlined.cjs +34 -0
- package/lib/icons/CityOutlined.d.ts +2 -0
- package/lib/icons/ClockCircleOutlined.cjs +31 -0
- package/lib/icons/ClockCircleOutlined.d.ts +2 -0
- package/lib/icons/CloseCircleFilled.cjs +25 -0
- package/lib/icons/CloseCircleFilled.d.ts +2 -0
- package/lib/icons/CloseCircleOutlined.cjs +30 -0
- package/lib/icons/CloseCircleOutlined.d.ts +2 -0
- package/lib/icons/CloseOutlined.cjs +7 -17
- package/lib/icons/CloudUploadOutlined.cjs +31 -0
- package/lib/icons/CloudUploadOutlined.d.ts +2 -0
- package/lib/icons/ClusterOutlined.cjs +28 -0
- package/lib/icons/ClusterOutlined.d.ts +2 -0
- package/lib/icons/CodeOutlined.cjs +33 -0
- package/lib/icons/CodeOutlined.d.ts +2 -0
- package/lib/icons/ColumnHeightOutlined.cjs +17 -5
- package/lib/icons/CompassOutlined.cjs +33 -0
- package/lib/icons/CompassOutlined.d.ts +2 -0
- package/lib/icons/CompressOutlined.cjs +18 -5
- package/lib/icons/ConnectionOutlined.cjs +30 -0
- package/lib/icons/ConnectionOutlined.d.ts +2 -0
- package/lib/icons/ControlOutlined.cjs +32 -0
- package/lib/icons/ControlOutlined.d.ts +2 -0
- package/lib/icons/CopyOutlined.cjs +34 -0
- package/lib/icons/CopyOutlined.d.ts +2 -0
- package/lib/icons/CpuOutlined.cjs +29 -0
- package/lib/icons/CpuOutlined.d.ts +2 -0
- package/lib/icons/DashboardOutlined.cjs +36 -0
- package/lib/icons/DashboardOutlined.d.ts +2 -0
- package/lib/icons/DatabaseOutlined.cjs +34 -0
- package/lib/icons/DatabaseOutlined.d.ts +2 -0
- package/lib/icons/DeleteOutlined.cjs +33 -0
- package/lib/icons/DeleteOutlined.d.ts +2 -0
- package/lib/icons/DesktopOutlined.cjs +28 -0
- package/lib/icons/DesktopOutlined.d.ts +2 -0
- package/lib/icons/DownloadOutlined.cjs +31 -0
- package/lib/icons/DownloadOutlined.d.ts +2 -0
- package/lib/icons/DragOutlined.cjs +29 -0
- package/lib/icons/DragOutlined.d.ts +2 -0
- package/lib/icons/EditOutlined.cjs +31 -0
- package/lib/icons/EditOutlined.d.ts +2 -0
- package/lib/icons/EllipsisOutlined.cjs +6 -9
- package/lib/icons/EnvironmentOutlined.cjs +30 -0
- package/lib/icons/EnvironmentOutlined.d.ts +2 -0
- package/lib/icons/ExclamationCircleFilled.cjs +25 -0
- package/lib/icons/ExclamationCircleFilled.d.ts +2 -0
- package/lib/icons/ExpandOutlined.cjs +18 -5
- package/lib/icons/FileOutlined.cjs +34 -0
- package/lib/icons/FileOutlined.d.ts +2 -0
- package/lib/icons/FilterFilled.cjs +5 -2
- package/lib/icons/FolderAddOutlined.cjs +30 -0
- package/lib/icons/FolderAddOutlined.d.ts +2 -0
- package/lib/icons/FolderOutlined.cjs +28 -0
- package/lib/icons/FolderOutlined.d.ts +2 -0
- package/lib/icons/FormOutlined.cjs +30 -0
- package/lib/icons/FormOutlined.d.ts +2 -0
- package/lib/icons/FullscreenExitOutlined.cjs +16 -5
- package/lib/icons/FullscreenOutlined.cjs +16 -5
- package/lib/icons/FundOutlined.cjs +30 -0
- package/lib/icons/FundOutlined.d.ts +2 -0
- package/lib/icons/GlobalOutlined.cjs +27 -0
- package/lib/icons/GlobalOutlined.d.ts +2 -0
- package/lib/icons/HolderOutlined.cjs +7 -4
- package/lib/icons/HomeOutlined.cjs +5 -24
- package/lib/icons/IdcardOutlined.cjs +37 -0
- package/lib/icons/IdcardOutlined.d.ts +2 -0
- package/lib/icons/InfoCircleFilled.cjs +25 -0
- package/lib/icons/InfoCircleFilled.d.ts +2 -0
- package/lib/icons/LinkOutlined.cjs +31 -0
- package/lib/icons/LinkOutlined.d.ts +2 -0
- package/lib/icons/LoadingDotOutlined.cjs +28 -0
- package/lib/icons/LoadingDotOutlined.d.ts +2 -0
- package/lib/icons/LoadingOutlined.cjs +8 -2
- package/lib/icons/LockOutlined.cjs +31 -0
- package/lib/icons/LockOutlined.d.ts +2 -0
- package/lib/icons/LogOutlined.cjs +34 -0
- package/lib/icons/LogOutlined.d.ts +2 -0
- package/lib/icons/LogoutOutlined.cjs +30 -0
- package/lib/icons/LogoutOutlined.d.ts +2 -0
- package/lib/icons/MailOutlined.cjs +28 -0
- package/lib/icons/MailOutlined.d.ts +2 -0
- package/lib/icons/MenuFoldOutlined.cjs +27 -0
- package/lib/icons/MenuFoldOutlined.d.ts +2 -0
- package/lib/icons/MenuUnfoldOutlined.cjs +27 -0
- package/lib/icons/MenuUnfoldOutlined.d.ts +2 -0
- package/lib/icons/MessageOutlined.cjs +49 -0
- package/lib/icons/MessageOutlined.d.ts +2 -0
- package/lib/icons/MinusCircleOutlined.cjs +30 -0
- package/lib/icons/MinusCircleOutlined.d.ts +2 -0
- package/lib/icons/MobileOutlined.cjs +36 -0
- package/lib/icons/MobileOutlined.d.ts +2 -0
- package/lib/icons/MoonOutlined.cjs +28 -0
- package/lib/icons/MoonOutlined.d.ts +2 -0
- package/lib/icons/MoreOutlined.cjs +41 -0
- package/lib/icons/MoreOutlined.d.ts +2 -0
- package/lib/icons/PauseFilled.cjs +29 -0
- package/lib/icons/PauseFilled.d.ts +2 -0
- package/lib/icons/PieChartOutlined.cjs +30 -0
- package/lib/icons/PieChartOutlined.d.ts +2 -0
- package/lib/icons/PlayFilled.cjs +25 -0
- package/lib/icons/PlayFilled.d.ts +2 -0
- package/lib/icons/PlusCircleOutlined.cjs +30 -0
- package/lib/icons/PlusCircleOutlined.d.ts +2 -0
- package/lib/icons/PlusOutlined.cjs +28 -0
- package/lib/icons/PlusOutlined.d.ts +2 -0
- package/lib/icons/ProtectOutlined.cjs +31 -0
- package/lib/icons/ProtectOutlined.d.ts +2 -0
- package/lib/icons/QuestionCircleFilled.cjs +25 -0
- package/lib/icons/QuestionCircleFilled.d.ts +2 -0
- package/lib/icons/QuestionCircleOutlined.cjs +38 -0
- package/lib/icons/QuestionCircleOutlined.d.ts +2 -0
- package/lib/icons/ReloadOutlined.cjs +29 -0
- package/lib/icons/ReloadOutlined.d.ts +2 -0
- package/lib/icons/SearchOutlined.cjs +28 -0
- package/lib/icons/SearchOutlined.d.ts +2 -0
- package/lib/icons/SettingOutlined.cjs +30 -0
- package/lib/icons/SettingOutlined.d.ts +2 -0
- package/lib/icons/ShoppingOutlined.cjs +28 -0
- package/lib/icons/ShoppingOutlined.d.ts +2 -0
- package/lib/icons/SortOutlined.cjs +31 -0
- package/lib/icons/SortOutlined.d.ts +2 -0
- package/lib/icons/StarFilled.cjs +25 -0
- package/lib/icons/StarFilled.d.ts +2 -0
- package/lib/icons/StepBackwardFilled.cjs +32 -0
- package/lib/icons/StepBackwardFilled.d.ts +2 -0
- package/lib/icons/StepForwardFilled.cjs +32 -0
- package/lib/icons/StepForwardFilled.d.ts +2 -0
- package/lib/icons/SuitcaseOutlined.cjs +28 -0
- package/lib/icons/SuitcaseOutlined.d.ts +2 -0
- package/lib/icons/SunOutlined.cjs +28 -0
- package/lib/icons/SunOutlined.d.ts +2 -0
- package/lib/icons/SwapOutlined.cjs +31 -0
- package/lib/icons/SwapOutlined.d.ts +2 -0
- package/lib/icons/SyncOutlined.cjs +31 -0
- package/lib/icons/SyncOutlined.d.ts +2 -0
- package/lib/icons/TableOutlined.cjs +28 -0
- package/lib/icons/TableOutlined.d.ts +2 -0
- package/lib/icons/TagOutlined.cjs +30 -0
- package/lib/icons/TagOutlined.d.ts +2 -0
- package/lib/icons/TimerOutlined.cjs +30 -0
- package/lib/icons/TimerOutlined.d.ts +2 -0
- package/lib/icons/UndoOutlined.cjs +29 -0
- package/lib/icons/UndoOutlined.d.ts +2 -0
- package/lib/icons/UnlockOutlined.cjs +31 -0
- package/lib/icons/UnlockOutlined.d.ts +2 -0
- package/lib/icons/UploadOutlined.cjs +31 -0
- package/lib/icons/UploadOutlined.d.ts +2 -0
- package/lib/icons/UserOutlined.cjs +28 -0
- package/lib/icons/UserOutlined.d.ts +2 -0
- package/lib/icons/VerticalAlignMiddleOutlined.cjs +31 -0
- package/lib/icons/VerticalAlignMiddleOutlined.d.ts +2 -0
- package/lib/icons/VerticalLeftOutlined.cjs +7 -2
- package/lib/icons/VerticalRightOutlined.cjs +7 -2
- package/lib/icons/WarningOutlined.cjs +41 -0
- package/lib/icons/WarningOutlined.d.ts +2 -0
- package/lib/icons/ZoomInOutlined.cjs +30 -0
- package/lib/icons/ZoomInOutlined.d.ts +2 -0
- package/lib/icons/ZoomOutOutlined.cjs +30 -0
- package/lib/icons/ZoomOutOutlined.d.ts +2 -0
- package/lib/icons/index.cjs +178 -0
- package/lib/icons/index.d.ts +89 -0
- package/lib/index.cjs +3 -49
- package/lib/index.d.ts +1 -9
- package/lib/style/themes/default.scss +14 -13
- package/lib/style/themes/rounded.scss +1 -2
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { ElIconProps } from '../ele-app/el';
|
|
2
3
|
import type { DropdownItem } from './types';
|
|
3
4
|
/**
|
|
4
5
|
* 属性
|
|
@@ -10,6 +11,8 @@ export declare const dropdownProps: {
|
|
|
10
11
|
modelValue: PropType<import("element-plus/es/utils/index").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined>;
|
|
11
12
|
/** 自定义下拉菜单样式 */
|
|
12
13
|
menuStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
14
|
+
/** 自定义图标属性 */
|
|
15
|
+
iconProps: PropType<ElIconProps>;
|
|
13
16
|
trigger: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
|
14
17
|
effect: {
|
|
15
18
|
readonly default: "light";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const vue = require("vue");
|
|
3
|
-
const iconsVue = require("@element-plus/icons-vue");
|
|
4
3
|
const elementPlus = require("element-plus");
|
|
5
4
|
const EleTooltip = require("../ele-tooltip/index");
|
|
6
5
|
const receiver = require("../ele-config-provider/receiver");
|
|
6
|
+
const icons = require("../icons");
|
|
7
7
|
const props = require("./props");
|
|
8
8
|
const _sfc_main = vue.defineComponent({
|
|
9
9
|
name: "EleEditTag",
|
|
10
10
|
components: {
|
|
11
|
-
Plus: iconsVue.Plus,
|
|
12
|
-
Loading: iconsVue.Loading,
|
|
13
11
|
ElTag: elementPlus.ElTag,
|
|
14
12
|
ElInput: elementPlus.ElInput,
|
|
15
13
|
ElIcon: elementPlus.ElIcon,
|
|
16
|
-
EleTooltip
|
|
14
|
+
EleTooltip,
|
|
15
|
+
PlusOutlined: icons.PlusOutlined,
|
|
16
|
+
LoadingOutlined: icons.LoadingOutlined
|
|
17
17
|
},
|
|
18
18
|
props: props.editTagProps,
|
|
19
19
|
emits: props.editTagEmits,
|
|
@@ -143,9 +143,9 @@ const _export_sfc = (sfc, props2) => {
|
|
|
143
143
|
const _hoisted_1 = { key: 0 };
|
|
144
144
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
145
145
|
const _component_ElTag = vue.resolveComponent("ElTag");
|
|
146
|
-
const
|
|
146
|
+
const _component_PlusOutlined = vue.resolveComponent("PlusOutlined");
|
|
147
147
|
const _component_ElIcon = vue.resolveComponent("ElIcon");
|
|
148
|
-
const
|
|
148
|
+
const _component_LoadingOutlined = vue.resolveComponent("LoadingOutlined");
|
|
149
149
|
const _component_ElInput = vue.resolveComponent("ElInput");
|
|
150
150
|
const _component_EleTooltip = vue.resolveComponent("EleTooltip");
|
|
151
151
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -165,13 +165,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
165
165
|
round: _ctx.round,
|
|
166
166
|
closable: true,
|
|
167
167
|
disableTransitions: true,
|
|
168
|
+
style: vue.normalizeStyle(_ctx.itemStyle),
|
|
168
169
|
onClose: ($event) => _ctx.onTagClose(index2)
|
|
169
170
|
}, {
|
|
170
171
|
default: vue.withCtx(() => [
|
|
171
172
|
vue.createTextVNode(vue.toDisplayString(item), 1)
|
|
172
173
|
]),
|
|
173
174
|
_: 2
|
|
174
|
-
}, 1032, ["type", "color", "size", "effect", "round", "onClose"]);
|
|
175
|
+
}, 1032, ["type", "color", "size", "effect", "round", "style", "onClose"]);
|
|
175
176
|
}), 128)) : vue.createCommentVNode("", true),
|
|
176
177
|
vue.withDirectives(vue.createVNode(_component_ElTag, {
|
|
177
178
|
type: "info",
|
|
@@ -189,7 +190,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
189
190
|
class: "ele-edit-tag-add-icon"
|
|
190
191
|
}, {
|
|
191
192
|
default: vue.withCtx(() => [
|
|
192
|
-
vue.createVNode(
|
|
193
|
+
vue.createVNode(_component_PlusOutlined)
|
|
193
194
|
]),
|
|
194
195
|
_: 1
|
|
195
196
|
}))
|
|
@@ -203,7 +204,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
203
204
|
size: _ctx.size,
|
|
204
205
|
round: _ctx.round,
|
|
205
206
|
disableTransitions: true,
|
|
206
|
-
class: vue.normalizeClass(["ele-edit-tag-input", { "is-error": !!_ctx.errorMessage }])
|
|
207
|
+
class: vue.normalizeClass(["ele-edit-tag-input", { "is-error": !!_ctx.errorMessage }]),
|
|
208
|
+
style: vue.normalizeStyle(_ctx.inputTagStyle)
|
|
207
209
|
}, {
|
|
208
210
|
default: vue.withCtx(() => [
|
|
209
211
|
vue.createVNode(_component_ElInput, {
|
|
@@ -213,24 +215,25 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
213
215
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.inputValue = $event),
|
|
214
216
|
style: vue.normalizeStyle(_ctx.inputStyle),
|
|
215
217
|
onChange: _ctx.onInputChange,
|
|
216
|
-
onBlur: _ctx.onInputBlur
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
218
|
+
onBlur: _ctx.onInputBlur,
|
|
219
|
+
onFocus: _ctx.onInputFocus
|
|
220
|
+
}, {
|
|
221
|
+
suffix: vue.withCtx(() => [
|
|
222
|
+
_ctx.loading ? (vue.openBlock(), vue.createBlock(_component_ElIcon, {
|
|
223
|
+
key: 0,
|
|
224
|
+
class: "is-loading"
|
|
225
|
+
}, {
|
|
226
|
+
default: vue.withCtx(() => [
|
|
227
|
+
vue.createVNode(_component_LoadingOutlined)
|
|
228
|
+
]),
|
|
229
|
+
_: 1
|
|
230
|
+
})) : vue.createCommentVNode("", true)
|
|
231
|
+
]),
|
|
232
|
+
_: 1
|
|
233
|
+
}, 8, ["disabled", "modelValue", "style", "onChange", "onBlur", "onFocus"])
|
|
231
234
|
]),
|
|
232
235
|
_: 1
|
|
233
|
-
}, 8, ["size", "round", "class"]), [
|
|
236
|
+
}, 8, ["size", "round", "class", "style"]), [
|
|
234
237
|
[vue.vShow, _ctx.isEdit]
|
|
235
238
|
]),
|
|
236
239
|
vue.createVNode(_component_EleTooltip, vue.mergeProps({
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import type { ElInputInstance } from '../ele-app/el';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
modelValue: import("vue").PropType<string[]>;
|
|
4
|
-
type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "
|
|
4
|
+
type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
|
|
5
5
|
color: StringConstructor;
|
|
6
6
|
size: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined>;
|
|
7
7
|
effect: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "light" | "plain" | "dark", unknown> | undefined>;
|
|
8
8
|
round: BooleanConstructor;
|
|
9
9
|
placeholder: StringConstructor;
|
|
10
10
|
inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
11
|
+
inputTagStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
11
12
|
buttonStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
13
|
+
itemStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
12
14
|
validator: import("vue").PropType<import("./types").Validator>;
|
|
13
15
|
beforeRemove: import("vue").PropType<import("./types").BeforeRemove>;
|
|
14
|
-
tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
|
|
16
|
+
tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
|
|
15
17
|
}, {
|
|
16
18
|
inputRef: import("vue").Ref<ElInputInstance>;
|
|
17
19
|
isEdit: import("vue").Ref<boolean>;
|
|
@@ -28,17 +30,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
30
|
'update:modelValue': (_value?: string[] | undefined) => boolean;
|
|
29
31
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
32
|
modelValue: import("vue").PropType<string[]>;
|
|
31
|
-
type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "
|
|
33
|
+
type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
|
|
32
34
|
color: StringConstructor;
|
|
33
35
|
size: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined>;
|
|
34
36
|
effect: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "light" | "plain" | "dark", unknown> | undefined>;
|
|
35
37
|
round: BooleanConstructor;
|
|
36
38
|
placeholder: StringConstructor;
|
|
37
39
|
inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
40
|
+
inputTagStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
38
41
|
buttonStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
42
|
+
itemStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
39
43
|
validator: import("vue").PropType<import("./types").Validator>;
|
|
40
44
|
beforeRemove: import("vue").PropType<import("./types").BeforeRemove>;
|
|
41
|
-
tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
|
|
45
|
+
tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
|
|
42
46
|
}>> & {
|
|
43
47
|
"onUpdate:modelValue"?: ((_value?: string[] | undefined) => any) | undefined;
|
|
44
48
|
}, {
|
|
@@ -17,8 +17,12 @@ const editTagProps = {
|
|
|
17
17
|
placeholder: String,
|
|
18
18
|
/** 输入框样式 */
|
|
19
19
|
inputStyle: Object,
|
|
20
|
+
/** 输入框外层标签样式 */
|
|
21
|
+
inputTagStyle: Object,
|
|
20
22
|
/** 添加按钮样式 */
|
|
21
23
|
buttonStyle: Object,
|
|
24
|
+
/** 标签样式 */
|
|
25
|
+
itemStyle: Object,
|
|
22
26
|
/** 添加校验方法 */
|
|
23
27
|
validator: Function,
|
|
24
28
|
/** 移除校验方法 */
|
|
@@ -7,7 +7,7 @@ export declare const editTagProps: {
|
|
|
7
7
|
/** 标签数据 */
|
|
8
8
|
modelValue: PropType<string[]>;
|
|
9
9
|
/** 类型 */
|
|
10
|
-
type: PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "
|
|
10
|
+
type: PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
|
|
11
11
|
/** 颜色 */
|
|
12
12
|
color: StringConstructor;
|
|
13
13
|
/** 尺寸 */
|
|
@@ -20,8 +20,12 @@ export declare const editTagProps: {
|
|
|
20
20
|
placeholder: StringConstructor;
|
|
21
21
|
/** 输入框样式 */
|
|
22
22
|
inputStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
23
|
+
/** 输入框外层标签样式 */
|
|
24
|
+
inputTagStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
23
25
|
/** 添加按钮样式 */
|
|
24
26
|
buttonStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
27
|
+
/** 标签样式 */
|
|
28
|
+
itemStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
25
29
|
/** 添加校验方法 */
|
|
26
30
|
validator: PropType<Validator>;
|
|
27
31
|
/** 移除校验方法 */
|
|
@@ -1,101 +1,103 @@
|
|
|
1
1
|
@use '../../style/themes/default.scss' as *;
|
|
2
2
|
@use '../../style/util.scss' as *;
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
4
|
+
/* 标签 */
|
|
5
|
+
.ele-edit-tag .el-tag {
|
|
6
|
+
margin: 0 8px 8px 0;
|
|
7
|
+
vertical-align: top;
|
|
8
|
+
}
|
|
10
9
|
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
/* 添加按钮 */
|
|
11
|
+
.ele-edit-tag-add {
|
|
12
|
+
&.el-tag {
|
|
13
|
+
cursor: text;
|
|
13
14
|
margin-right: 0;
|
|
15
|
+
border-style: dashed;
|
|
16
|
+
background: none;
|
|
17
|
+
}
|
|
14
18
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.ele-edit-tag-add-icon {
|
|
22
|
-
width: 1em;
|
|
23
|
-
height: 1em;
|
|
24
|
-
border-radius: 0;
|
|
25
|
-
font-size: inherit;
|
|
26
|
-
cursor: inherit;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.el-tag__content {
|
|
30
|
-
display: flex;
|
|
31
|
-
align-items: center;
|
|
32
|
-
justify-content: center;
|
|
33
|
-
}
|
|
19
|
+
& > .el-tag__content {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: center;
|
|
34
23
|
}
|
|
24
|
+
}
|
|
35
25
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
26
|
+
.ele-edit-tag .ele-edit-tag-add-icon {
|
|
27
|
+
width: 1em;
|
|
28
|
+
height: 1em;
|
|
29
|
+
border-radius: 0;
|
|
30
|
+
font-size: inherit;
|
|
31
|
+
cursor: inherit;
|
|
32
|
+
opacity: 0.6;
|
|
33
|
+
}
|
|
40
34
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
35
|
+
/* 输入框 */
|
|
36
|
+
.ele-edit-tag-input {
|
|
37
|
+
&.el-tag {
|
|
38
|
+
width: 80px;
|
|
39
|
+
margin-right: 0;
|
|
40
|
+
padding: 0;
|
|
41
|
+
display: inline-block;
|
|
42
|
+
background: none;
|
|
43
|
+
border: none;
|
|
44
|
+
}
|
|
47
45
|
|
|
48
|
-
|
|
46
|
+
& > .el-tag__content {
|
|
47
|
+
width: 100%;
|
|
48
|
+
height: 100%;
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
justify-content: center;
|
|
52
|
+
font-size: inherit;
|
|
53
|
+
line-height: inherit;
|
|
54
|
+
border-radius: inherit;
|
|
55
|
+
|
|
56
|
+
& > .el-input {
|
|
57
|
+
flex: 1;
|
|
49
58
|
width: 100%;
|
|
50
59
|
height: 100%;
|
|
51
|
-
display: block;
|
|
52
60
|
font-size: inherit;
|
|
53
|
-
line-height: inherit;
|
|
54
61
|
border-radius: inherit;
|
|
55
62
|
}
|
|
63
|
+
}
|
|
56
64
|
|
|
57
|
-
|
|
58
|
-
|
|
65
|
+
.el-input {
|
|
66
|
+
.el-input__wrapper {
|
|
59
67
|
height: 100%;
|
|
60
|
-
|
|
68
|
+
padding-left: 8px;
|
|
69
|
+
padding-right: 8px;
|
|
70
|
+
box-sizing: border-box;
|
|
61
71
|
border-radius: inherit;
|
|
62
|
-
|
|
63
|
-
.el-input__wrapper {
|
|
64
|
-
height: 100%;
|
|
65
|
-
padding-left: 8px;
|
|
66
|
-
padding-right: 8px;
|
|
67
|
-
box-sizing: border-box;
|
|
68
|
-
border-radius: inherit;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.el-input__inner {
|
|
72
|
-
height: 100%;
|
|
73
|
-
line-height: inherit;
|
|
74
|
-
}
|
|
75
72
|
}
|
|
76
73
|
|
|
77
|
-
|
|
78
|
-
|
|
74
|
+
.el-input__inner {
|
|
75
|
+
height: 100%;
|
|
76
|
+
line-height: inherit;
|
|
79
77
|
}
|
|
80
78
|
}
|
|
81
79
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
80
|
+
&.is-error .el-input .el-input__wrapper {
|
|
81
|
+
box-shadow: 0 0 0 0.8px elVar('color-danger') inset;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
85
84
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
85
|
+
/* 小尺寸 */
|
|
86
|
+
.ele-edit-tag.is-small .ele-edit-tag-input {
|
|
87
|
+
width: 60px;
|
|
88
|
+
|
|
89
|
+
.el-input .el-input__wrapper {
|
|
90
|
+
padding-left: 4px;
|
|
91
|
+
padding-right: 4px;
|
|
90
92
|
}
|
|
93
|
+
}
|
|
91
94
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
+
/* 大尺寸 */
|
|
96
|
+
.ele-edit-tag.is-large .ele-edit-tag-input {
|
|
97
|
+
width: 100px;
|
|
95
98
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}
|
|
99
|
+
.el-input .el-input__wrapper {
|
|
100
|
+
padding-left: 12px;
|
|
101
|
+
padding-right: 12px;
|
|
100
102
|
}
|
|
101
103
|
}
|
|
@@ -4,7 +4,7 @@ const elementPlus = require("element-plus");
|
|
|
4
4
|
const EleTooltip = require("../../ele-tooltip/index");
|
|
5
5
|
const _sfc_main = vue.defineComponent({
|
|
6
6
|
name: "IconGrid",
|
|
7
|
-
components: { ElEmpty: elementPlus.ElEmpty, EleTooltip },
|
|
7
|
+
components: { ElEmpty: elementPlus.ElEmpty, ElScrollbar: elementPlus.ElScrollbar, EleTooltip },
|
|
8
8
|
props: {
|
|
9
9
|
/** 选中的图标 */
|
|
10
10
|
icon: String,
|
|
@@ -75,48 +75,51 @@ const _export_sfc = (sfc, props) => {
|
|
|
75
75
|
}
|
|
76
76
|
return target;
|
|
77
77
|
};
|
|
78
|
-
const _hoisted_1 =
|
|
79
|
-
const _hoisted_2 =
|
|
80
|
-
const _hoisted_3 = {
|
|
78
|
+
const _hoisted_1 = ["title", "onClick", "onMouseover"];
|
|
79
|
+
const _hoisted_2 = {
|
|
81
80
|
key: 0,
|
|
82
81
|
class: "ele-icon-select-empty"
|
|
83
82
|
};
|
|
84
83
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
85
84
|
const _component_ElEmpty = vue.resolveComponent("ElEmpty");
|
|
86
85
|
const _component_EleTooltip = vue.resolveComponent("EleTooltip");
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
86
|
+
const _component_ElScrollbar = vue.resolveComponent("ElScrollbar");
|
|
87
|
+
return vue.openBlock(), vue.createBlock(_component_ElScrollbar, { class: "ele-icon-select-body" }, {
|
|
88
|
+
default: vue.withCtx(() => [
|
|
89
|
+
vue.createElementVNode("div", {
|
|
90
|
+
class: "ele-icon-select-grid",
|
|
91
|
+
style: vue.normalizeStyle(_ctx.gridStyle)
|
|
92
|
+
}, [
|
|
93
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.data, (d, i) => {
|
|
94
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
95
|
+
key: i + "-" + d,
|
|
96
|
+
class: vue.normalizeClass(["ele-icon-select-item", { "is-active": _ctx.icon && d === _ctx.icon }]),
|
|
97
|
+
title: _ctx.tooltip ? void 0 : d,
|
|
98
|
+
style: vue.normalizeStyle(_ctx.itemStyle),
|
|
99
|
+
onClick: ($event) => _ctx.onItemClick(d),
|
|
100
|
+
onMouseover: (e) => _ctx.onItemHover(d, e)
|
|
101
|
+
}, [
|
|
102
|
+
vue.renderSlot(_ctx.$slots, "icon", { icon: d })
|
|
103
|
+
], 46, _hoisted_1);
|
|
104
|
+
}), 128))
|
|
105
|
+
], 4),
|
|
106
|
+
!_ctx.data || !_ctx.data.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
|
|
107
|
+
vue.createVNode(_component_ElEmpty, vue.mergeProps({ imageSize: 60 }, _ctx.emptyProps), null, 16)
|
|
108
|
+
])) : vue.createCommentVNode("", true),
|
|
109
|
+
vue.createVNode(_component_EleTooltip, vue.mergeProps({
|
|
110
|
+
placement: "top",
|
|
111
|
+
offset: 6,
|
|
112
|
+
teleported: false
|
|
113
|
+
}, _ctx.tooltipProps || {}, {
|
|
114
|
+
visible: _ctx.tooltipVisible,
|
|
115
|
+
content: _ctx.tooltipContent,
|
|
116
|
+
virtualRef: _ctx.virtualRef,
|
|
117
|
+
virtualTriggering: true,
|
|
118
|
+
"onUpdate:visible": _ctx.updateTooltipVisible
|
|
119
|
+
}), null, 16, ["visible", "content", "virtualRef", "onUpdate:visible"])
|
|
120
|
+
]),
|
|
121
|
+
_: 3
|
|
122
|
+
});
|
|
120
123
|
}
|
|
121
124
|
const iconGrid = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
122
125
|
module.exports = iconGrid;
|
|
@@ -173,10 +173,12 @@
|
|
|
173
173
|
.ele-icon-select-body {
|
|
174
174
|
flex: 1;
|
|
175
175
|
height: 100%;
|
|
176
|
-
padding: eleVar('icon', 'body-padding');
|
|
177
176
|
box-sizing: border-box;
|
|
178
|
-
overflow:
|
|
179
|
-
|
|
177
|
+
overflow: hidden;
|
|
178
|
+
|
|
179
|
+
& > .el-scrollbar__wrap > .el-scrollbar__view {
|
|
180
|
+
padding: eleVar('icon', 'body-padding');
|
|
181
|
+
}
|
|
180
182
|
}
|
|
181
183
|
|
|
182
184
|
.ele-icon-select-grid {
|