yuang-framework-ui-pc 1.1.44 → 1.1.45
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 +7 -0
- package/es/components.js +15 -0
- package/es/core-components.d.ts +57 -0
- package/es/core-components.js +116 -0
- package/es/core-export.d.ts +11 -0
- package/es/core-export.js +15 -0
- package/es/ele-admin-layout/index.d.ts +10276 -0
- package/es/ele-admin-layout/index.js +596 -0
- package/es/ele-app/style/overwrite/color-picker/index.scss +42 -0
- package/es/ele-app/style/overwrite/date-picker/css-var.scss +16 -0
- package/es/ele-app/style/overwrite/select/css-var.scss +8 -0
- package/{lib/ele-ellipsis → es/ele-avatar-group}/index.d.ts +218 -136
- package/es/ele-avatar-group/index.js +189 -0
- package/es/ele-avatar-group/style/index.scss +73 -0
- package/es/ele-basic-select/types.d.ts +28 -0
- package/es/ele-basic-select/util.d.ts +21 -0
- package/{lib/ele-basic-select/util.cjs → es/ele-basic-select/util.js} +10 -10
- package/es/ele-breadcrumb/types.d.ts +32 -0
- package/es/ele-card/style/css-var.scss +8 -0
- package/es/ele-check-card/index.d.ts +495 -0
- package/es/ele-check-card/index.js +131 -0
- package/es/ele-config-provider/receiver.d.ts +15 -0
- package/es/ele-config-provider/receiver.js +26 -0
- package/es/ele-copyable/props.d.ts +48 -0
- package/es/ele-copyable/props.js +39 -0
- package/es/ele-count-up/index.d.ts +37 -0
- package/es/ele-count-up/index.js +108 -0
- package/es/ele-cropper/components/cropper-preview.d.ts +21 -0
- package/es/ele-cropper/components/cropper-preview.js +74 -0
- package/es/ele-cropper/components/cropper-tools.d.ts +2710 -0
- package/es/ele-cropper/components/cropper-tools.js +218 -0
- package/es/ele-dashboard/props.d.ts +17 -0
- package/{lib/ele-dashboard/props.cjs → es/ele-dashboard/props.js} +3 -3
- package/{lib/ele-data-table/index.cjs → es/ele-data-table/index.js} +100 -99
- package/es/ele-dropdown/components/pro-dropdown.d.ts +2912 -0
- package/es/ele-dropdown/components/pro-dropdown.js +205 -0
- package/es/ele-dropdown/style/index.scss +314 -0
- package/es/ele-edit-tag/index.d.ts +2380 -0
- package/es/ele-edit-tag/index.js +272 -0
- package/es/{ele-avatar-group → ele-ellipsis}/style/index.js +1 -1
- package/es/ele-ellipsis/types.d.ts +9 -0
- package/es/ele-file-list/components/file-grid-item.d.ts +55 -0
- package/es/ele-file-list/components/file-grid-item.js +149 -0
- package/es/ele-file-list/components/file-table-item.d.ts +59 -0
- package/es/ele-file-list/components/file-table-item.js +183 -0
- package/es/ele-file-list/icons.d.ts +18 -0
- package/es/ele-file-list/icons.js +130 -0
- package/es/ele-file-list/props.d.ts +76 -0
- package/es/ele-file-list/props.js +62 -0
- package/es/ele-file-list/style/css-var.scss +8 -0
- package/es/ele-file-list/types.d.ts +117 -0
- package/es/ele-icon-select/components/icon-grid.d.ts +2039 -0
- package/es/ele-icon-select/components/icon-grid.js +126 -0
- package/{lib/ele-dropdown → es/ele-icon-select}/index.d.ts +2968 -2500
- package/es/ele-icon-select/index.js +337 -0
- package/es/ele-icon-select/style/index.js +6 -0
- package/es/ele-icon-select/style/index.scss +235 -0
- package/es/ele-image-viewer/props.d.ts +115 -0
- package/es/ele-image-viewer/props.js +35 -0
- package/es/ele-loading/style/index.js +2 -0
- package/es/ele-map-picker/components/map-view.js +734 -0
- package/es/ele-map-picker/props.d.ts +232 -0
- package/es/ele-map-picker/props.js +130 -0
- package/es/ele-pagination/props.d.ts +123 -0
- package/es/ele-pagination/props.js +31 -0
- package/es/ele-pagination/style/index.scss +288 -0
- package/{lib/ele-toolbar → es/ele-popconfirm}/index.d.ts +915 -126
- package/es/ele-popconfirm/index.js +212 -0
- package/es/{ele-copyable → ele-popconfirm}/style/index.js +1 -0
- package/es/{ele-ellipsis → ele-popover}/index.d.ts +402 -149
- package/es/ele-popover/index.js +105 -0
- package/{lib/ele-tooltip → es/ele-popover}/props.d.ts +76 -60
- package/es/ele-popover/props.js +27 -0
- package/es/ele-popover/style/index.js +1 -0
- package/es/ele-printer/types.d.ts +46 -0
- package/es/ele-pro-table/util.d.ts +285 -0
- package/es/ele-pro-table/util.js +729 -0
- package/es/ele-segmented/types.d.ts +28 -0
- package/es/{ele-dialog → ele-split-panel}/style/index.js +0 -1
- package/es/ele-steps/props.d.ts +68 -0
- package/es/ele-steps/props.js +14 -0
- package/es/ele-steps/style/css-var.scss +8 -0
- package/es/ele-steps/style/index.scss +206 -0
- package/es/ele-tab-wrap/index.d.ts +8 -0
- package/es/ele-tab-wrap/index.js +73 -0
- package/es/{ele-segmented → ele-tabs}/style/index.js +1 -0
- package/es/ele-toolbar/types.d.ts +19 -0
- package/es/ele-tooltip/index.d.ts +1506 -0
- package/es/ele-tooltip/index.js +176 -0
- package/es/ele-tooltip/style/index.scss +95 -0
- package/es/{ele-toolbar → ele-tour}/index.d.ts +516 -119
- package/es/ele-tour/index.js +238 -0
- package/es/ele-tour/props.d.ts +36 -0
- package/es/ele-tour/props.js +30 -0
- package/{lib/ele-table-select → es/ele-tree-select}/props.d.ts +14 -31
- package/{lib/ele-tree-select/props.cjs → es/ele-tree-select/props.js} +4 -4
- package/es/ele-upload-list/index.d.ts +2450 -0
- package/es/ele-upload-list/index.js +287 -0
- package/es/ele-virtual-table/components/cell-checkbox.d.ts +666 -0
- package/es/ele-virtual-table/components/cell-checkbox.js +49 -0
- package/es/ele-virtual-table/components/header-row.d.ts +3980 -0
- package/es/ele-virtual-table/components/header-row.js +126 -0
- package/es/ele-virtual-table/style/index.js +9 -0
- package/es/ele-watermark/util.d.ts +31 -0
- package/es/ele-watermark/util.js +70 -0
- package/es/icons/{DesktopOutlined.js → CalendarOutlined.js} +4 -4
- package/es/icons/{MailOutlined.js → CityOutlined.js} +7 -4
- package/es/icons/{CheckOutlined.js → CloseOutlined.js} +4 -4
- package/es/icons/CompressOutlined.js +31 -0
- package/es/icons/{CornerRightFilled.js → CornerLeftFilled.js} +4 -4
- package/es/icons/{ArrowRight.js → CpuOutlined.js} +5 -6
- package/es/icons/DeleteOutlined.js +30 -0
- package/es/icons/{ArrowLeftOutlined.js → FolderAddOutlined.js} +5 -5
- package/es/icons/{BookOutlined.js → FormOutlined.js} +5 -4
- package/es/icons/FullscreenOutlined.js +29 -0
- package/es/icons/HolderOutlined.js +24 -0
- package/es/icons/{MenuOutlined.js → LinkOutlined.js} +6 -6
- package/es/icons/{BellOutlined.js → LogoutOutlined.js} +5 -4
- package/es/icons/{FilterFilled.js → PlayFilled.js} +4 -4
- package/es/icons/{ClockCircleOutlined.js → PlusCircleOutlined.js} +5 -6
- package/es/icons/SettingOutlined.js +28 -0
- package/es/icons/{WarningOutlined.js → SliderArrowStatic.js} +13 -17
- package/es/icons/{CompassOutlined.js → StepBackwardFilled.js} +12 -13
- package/es/icons/SunOutlined.js +27 -0
- package/es/icons/{SortOutlined.js → SwapOutlined.js} +5 -5
- package/es/icons/{ReloadOutlined.js → UploadOutlined.js} +5 -4
- package/es/icons/{DragOutlined.js → UserOutlined.js} +4 -5
- package/es/icons/{ClusterOutlined.js → VerticalAlignMiddleOutlined.js} +7 -6
- package/es/icons/{ArrowLeft.js → ZoomInOutlined.js} +6 -7
- package/es/icons/index.d.ts +117 -0
- package/es/icons/index.js +236 -0
- package/es/style/nprogress.scss +85 -0
- package/lib/ele-app/style/overwrite/color-picker/index.scss +42 -0
- package/lib/ele-app/style/overwrite/notification/css-var.scss +8 -0
- package/lib/ele-app/style/overwrite/select/css-var.scss +8 -0
- package/{es/ele-avatar-group/props.js → lib/ele-avatar-group/props.cjs} +4 -4
- package/lib/ele-avatar-group/style/index.scss +73 -0
- package/lib/ele-backtop/style/css-var.scss +8 -0
- package/lib/ele-bar-code/index.cjs +66 -0
- package/lib/ele-bar-code/props.cjs +14 -0
- package/lib/ele-basic-select/props.cjs +78 -0
- package/lib/ele-basic-select/style/css-var.scss +9 -0
- package/lib/ele-basic-select/style/index.scss +269 -0
- package/{es/ele-config-provider/props.js → lib/ele-config-provider/props.cjs} +4 -4
- package/lib/ele-config-provider/receiver.cjs +26 -0
- package/lib/ele-count-up/props.cjs +22 -0
- package/lib/ele-dropdown/components/pro-dropdown.cjs +204 -0
- package/lib/ele-dropdown/index.cjs +243 -0
- package/lib/ele-file-list/components/file-grid-item.cjs +148 -0
- package/lib/ele-file-list/components/file-grid.cjs +134 -0
- package/lib/ele-file-list/components/file-sort.cjs +34 -0
- package/lib/ele-file-list/components/file-table-item.cjs +182 -0
- package/lib/ele-file-list/icons.cjs +130 -0
- package/lib/ele-file-list/props.cjs +62 -0
- package/lib/ele-file-list/style/css-var.scss +8 -0
- package/lib/ele-file-list/style/index.cjs +3 -0
- package/lib/ele-file-list/style/index.scss +427 -0
- package/lib/ele-icon-select/components/icon-grid.cjs +125 -0
- package/lib/{ele-table-select → ele-icon-select}/props.cjs +52 -50
- package/lib/ele-icon-select/style/css-var.scss +8 -0
- package/lib/ele-icon-select/style/index.cjs +7 -0
- package/lib/ele-icon-select/style/index.scss +235 -0
- package/lib/ele-image-viewer/index.cjs +87 -0
- package/lib/ele-image-viewer/style/css-var.scss +8 -0
- package/lib/ele-image-viewer/style/index.cjs +3 -0
- package/{es/ele-loading/props.js → lib/ele-loading/props.cjs} +3 -3
- package/lib/ele-loading/style/css-var.scss +8 -0
- package/lib/ele-map-picker/components/map-view.cjs +733 -0
- package/lib/ele-pagination/props.cjs +31 -0
- package/lib/ele-pagination/style/css-var.scss +8 -0
- package/lib/ele-pagination/style/index.scss +288 -0
- package/lib/ele-popconfirm/style/index.scss +41 -0
- package/lib/ele-printer/props.cjs +34 -0
- package/lib/ele-pro-table/style/index.cjs +21 -0
- package/lib/ele-qr-code-svg/index.cjs +126 -0
- package/{es/ele-segmented/index.js → lib/ele-segmented/index.cjs} +34 -35
- package/lib/ele-segmented/style/css-var.scss +16 -0
- package/lib/ele-steps/index.cjs +54 -0
- package/lib/ele-tab-wrap/props.cjs +9 -0
- package/lib/ele-table/props.cjs +20 -0
- package/lib/ele-table/style/index.scss +219 -0
- package/lib/ele-test/style/css-var.scss +8 -0
- package/{es/ele-test → lib/ele-text}/style/index.scss +1 -1
- package/lib/ele-tool/props.cjs +21 -0
- package/lib/ele-toolbar/style/index.scss +56 -0
- package/lib/ele-tour/props.cjs +30 -0
- package/lib/ele-tour/style/index.scss +101 -0
- package/lib/ele-tour/util.cjs +43 -0
- package/{es/ele-upload-list/props.js → lib/ele-upload-list/props.cjs} +4 -4
- package/lib/ele-upload-list/style/css-var.scss +8 -0
- package/{es/ele-virtual-table/components/header-cell.js → lib/ele-virtual-table/components/header-cell.cjs} +33 -34
- package/lib/icons/AppstoreAddOutlined.cjs +29 -0
- package/lib/icons/{CornerLeftFilled.cjs → CaretUpFilled.cjs} +4 -4
- package/lib/icons/{ArrowLeftOutlined.cjs → CheckOutlined.cjs} +4 -4
- package/lib/icons/{MenuOutlined.cjs → ColumnHeightOutlined.cjs} +9 -6
- package/lib/icons/{PlusOutlined.cjs → CornerRightFilled.cjs} +5 -8
- package/lib/icons/{IdcardOutlined.cjs → DashboardOutlined.cjs} +7 -7
- package/lib/icons/{CheckCircleOutlined.cjs → DatabaseOutlined.cjs} +7 -6
- package/lib/icons/{ReloadOutlined.cjs → DeleteOutlined.cjs} +6 -4
- package/lib/icons/{FolderOutlined.cjs → DesktopOutlined.cjs} +4 -4
- package/lib/icons/{ClockCircleOutlined.cjs → EnvironmentOutlined.cjs} +6 -7
- package/lib/icons/{ClusterOutlined.cjs → ExclamationCircleFilled.cjs} +5 -8
- package/lib/icons/FilterFilled.cjs +23 -0
- package/lib/icons/{CheckCircleFilled.cjs → InfoCircleFilled.cjs} +4 -4
- package/lib/icons/{HomeOutlined.cjs → MailOutlined.cjs} +4 -4
- package/lib/icons/{DownloadOutlined.cjs → PieChartOutlined.cjs} +5 -6
- package/lib/icons/{VerticalLeftOutlined.cjs → PlayFilled.cjs} +5 -7
- package/lib/icons/QuestionCircleFilled.cjs +23 -0
- package/lib/icons/{CalendarOutlined.cjs → ShoppingOutlined.cjs} +4 -4
- package/lib/icons/{ArrowDownOutlined.cjs → SizeSlackOutlined.cjs} +8 -7
- package/lib/icons/SliderArrowSlide.cjs +33 -0
- package/lib/icons/{UndoOutlined.cjs → SortOutlined.cjs} +5 -4
- package/lib/icons/StepForwardFilled.cjs +29 -0
- package/lib/icons/{CpuOutlined.cjs → SunOutlined.cjs} +4 -5
- package/lib/icons/{DragOutlined.cjs → UserOutlined.cjs} +4 -5
- package/lib/icons/{SearchOutlined.cjs → ZoomInOutlined.cjs} +5 -4
- package/lib/lang/zh_TW.cjs +84 -0
- package/lib/style/nprogress.scss +85 -0
- package/lib/style/plus.scss +48 -0
- package/lib/style/themes/default.scss +1364 -0
- package/lib/style/themes/rounded-css-var.scss +6 -0
- package/package.json +1 -1
- package/es/ele-admin-layout/components/layout-tabs.d.ts +0 -5646
- package/es/ele-admin-layout/components/layout-tabs.js +0 -132
- package/es/ele-admin-layout/style/tabs.scss +0 -59
- package/es/ele-alert/props.d.ts +0 -58
- package/es/ele-alert/props.js +0 -51
- package/es/ele-alert/style/index.scss +0 -172
- package/es/ele-app/style/overwrite/autocomplete/index.scss +0 -33
- package/es/ele-app/style/overwrite/cascader/index.scss +0 -166
- package/es/ele-app/style/overwrite/checkbox/css-var.scss +0 -8
- package/es/ele-app/style/overwrite/input/index.scss +0 -540
- package/es/ele-app/style/overwrite/message-box/index.scss +0 -148
- package/es/ele-app/style/overwrite/popper/css-var.scss +0 -14
- package/es/ele-app/style/overwrite/select/index.scss +0 -203
- package/es/ele-avatar-group/props.d.ts +0 -56
- package/es/ele-avatar-group/types.d.ts +0 -21
- package/es/ele-bottom-bar/index.d.ts +0 -15
- package/es/ele-bottom-bar/index.js +0 -56
- package/es/ele-bottom-bar/props.d.ts +0 -15
- package/es/ele-bottom-bar/props.js +0 -11
- package/es/ele-bottom-bar/style/index.scss +0 -31
- package/es/ele-breadcrumb/index.d.ts +0 -278
- package/es/ele-breadcrumb/index.js +0 -88
- package/es/ele-breadcrumb/style/index.js +0 -3
- package/es/ele-breadcrumb/style/index.scss +0 -31
- package/es/ele-card/style/index.scss +0 -125
- package/es/ele-check-card/components/card-item.d.ts +0 -37
- package/es/ele-check-card/components/card-item.js +0 -50
- package/es/ele-check-card/props.d.ts +0 -49
- package/es/ele-check-card/props.js +0 -43
- package/es/ele-check-card/style/css-var.scss +0 -8
- package/es/ele-check-card/style/index.js +0 -3
- package/es/ele-check-card/style/index.scss +0 -72
- package/es/ele-check-card/types.d.ts +0 -37
- package/es/ele-config-provider/components/receiver-view.d.ts +0 -71
- package/es/ele-config-provider/components/receiver-view.js +0 -38
- package/es/ele-config-provider/props.d.ts +0 -26
- package/es/ele-config-provider/types.d.ts +0 -103
- package/es/ele-cropper/index.d.ts +0 -2824
- package/es/ele-cropper/index.js +0 -212
- package/es/ele-cropper/props.d.ts +0 -68
- package/es/ele-cropper/props.js +0 -61
- package/es/ele-cropper/style/index.js +0 -6
- package/es/ele-cropper-modal/style/index.js +0 -2
- package/es/ele-dashboard/style/index.js +0 -1
- package/es/ele-dashboard/types.d.ts +0 -4
- package/es/ele-data-table/props.d.ts +0 -272
- package/es/ele-data-table/props.js +0 -93
- package/es/ele-data-table/style/index.js +0 -4
- package/es/ele-data-table/types.d.ts +0 -253
- package/es/ele-dialog/index.d.ts +0 -1074
- package/es/ele-dialog/index.js +0 -342
- package/es/ele-dialog/util.d.ts +0 -52
- package/es/ele-dialog/util.js +0 -293
- package/es/ele-dot/props.d.ts +0 -25
- package/es/ele-dot/props.js +0 -21
- package/es/ele-dot/style/index.d.ts +0 -1
- package/es/ele-dot/style/index.js +0 -1
- package/es/ele-drawer/index.d.ts +0 -1170
- package/es/ele-drawer/index.js +0 -202
- package/es/ele-drawer/props.d.ts +0 -184
- package/es/ele-drawer/props.js +0 -19
- package/es/ele-drawer/style/index.d.ts +0 -1
- package/es/ele-drawer/style/index.js +0 -3
- package/es/ele-drawer/style/index.scss +0 -96
- package/es/ele-dropdown/style/css-var.scss +0 -8
- package/es/ele-dropdown/types.d.ts +0 -22
- package/es/ele-edit-tag/style/index.d.ts +0 -1
- package/es/ele-edit-tag/style/index.js +0 -5
- package/es/ele-edit-tag/types.d.ts +0 -9
- package/es/ele-ellipsis/index.js +0 -113
- package/es/ele-icon-select/types.d.ts +0 -16
- package/es/ele-image-viewer/style/index.scss +0 -117
- package/es/ele-loading/props.d.ts +0 -33
- package/es/ele-map-picker/style/index.d.ts +0 -1
- package/es/ele-map-picker/style/index.js +0 -8
- package/es/ele-map-picker/style/index.scss +0 -296
- package/es/ele-menus/components/item-title.d.ts +0 -323
- package/es/ele-menus/components/item-title.js +0 -108
- package/es/ele-menus/style/css-var.scss +0 -36
- package/es/ele-menus/types.d.ts +0 -107
- package/es/ele-page/style/css-var.scss +0 -9
- package/es/ele-page/style/index.scss +0 -74
- package/es/ele-pagination/types.d.ts +0 -9
- package/es/ele-printer/index.d.ts +0 -111
- package/es/ele-printer/index.js +0 -124
- package/es/ele-printer/style/index.scss +0 -66
- package/es/ele-printer/util.d.ts +0 -25
- package/es/ele-printer/util.js +0 -218
- package/es/ele-pro-layout/components/pro-iframe.d.ts +0 -39
- package/es/ele-pro-layout/components/pro-iframe.js +0 -124
- package/es/ele-pro-layout/style/index.d.ts +0 -1
- package/es/ele-pro-layout/style/index.js +0 -2
- package/es/ele-pro-layout/style/index.scss +0 -41
- package/es/ele-pro-layout/util.d.ts +0 -88
- package/es/ele-pro-layout/util.js +0 -171
- package/es/ele-pro-table/components/tool-column.d.ts +0 -3722
- package/es/ele-pro-table/components/tool-column.js +0 -280
- package/es/ele-pro-table/components/tool-print-header-cell.d.ts +0 -39
- package/es/ele-pro-table/components/tool-print-header-cell.js +0 -92
- package/es/ele-pro-table/style/css-var.scss +0 -8
- package/es/ele-pro-table/style/index.scss +0 -326
- package/es/ele-pro-table/types.d.ts +0 -489
- package/es/ele-qr-code/components/canvas-render.d.ts +0 -67
- package/es/ele-qr-code/components/canvas-render.js +0 -147
- package/es/ele-segmented/index.d.ts +0 -485
- package/es/ele-segmented/style/index.d.ts +0 -1
- package/es/ele-split-panel/index.d.ts +0 -192
- package/es/ele-split-panel/index.js +0 -206
- package/es/ele-split-panel/props.d.ts +0 -47
- package/es/ele-split-panel/props.js +0 -41
- package/es/ele-split-panel/style/index.scss +0 -360
- package/es/ele-steps/style/index.d.ts +0 -1
- package/es/ele-steps/style/index.js +0 -3
- package/es/ele-steps/types.d.ts +0 -14
- package/es/ele-tab-tool/props.d.ts +0 -14
- package/es/ele-tab-tool/props.js +0 -11
- package/es/ele-tab-wrap/props.d.ts +0 -13
- package/es/ele-tab-wrap/props.js +0 -9
- package/es/ele-tab-wrap/style/index.d.ts +0 -0
- package/es/ele-tab-wrap/style/index.js +0 -1
- package/es/ele-table/index.d.ts +0 -28
- package/es/ele-table/index.js +0 -33
- package/es/ele-table-select/index.js +0 -424
- package/es/ele-table-select/style/css-var.scss +0 -8
- package/es/ele-test/index.js +0 -18
- package/es/ele-text/index.d.ts +0 -93
- package/es/ele-text/index.js +0 -60
- package/es/ele-text/style/index.d.ts +0 -1
- package/es/ele-toolbar/index.js +0 -105
- package/es/ele-tooltip/style/css-var.scss +0 -87
- package/es/ele-upload-list/props.d.ts +0 -81
- package/es/ele-upload-list/style/index.scss +0 -478
- package/es/ele-upload-list/types.d.ts +0 -71
- package/es/ele-virtual-table/components/expand-row.d.ts +0 -19
- package/es/ele-virtual-table/components/expand-row.js +0 -29
- package/es/ele-virtual-table/components/footer-row.d.ts +0 -65
- package/es/ele-virtual-table/components/footer-row.js +0 -115
- package/es/ele-virtual-table/components/header-cell.d.ts +0 -3929
- package/es/ele-virtual-table/index.d.ts +0 -7882
- package/es/ele-virtual-table/index.js +0 -1151
- package/es/ele-virtual-table/style/css-var.scss +0 -101
- package/es/ele-virtual-table/util.d.ts +0 -229
- package/es/ele-virtual-table/util.js +0 -590
- package/es/ele-watermark/index.d.ts +0 -57
- package/es/ele-watermark/index.js +0 -203
- package/es/icons/AppstoreAddOutlined.js +0 -30
- package/es/icons/CloudUploadOutlined.js +0 -29
- package/es/icons/FileOutlined.js +0 -30
- package/es/icons/GlobalOutlined.js +0 -26
- package/es/icons/LogOutlined.js +0 -30
- package/es/icons/MessageOutlined.js +0 -45
- package/es/icons/PauseFilled.js +0 -27
- package/es/icons/PieChartOutlined.js +0 -28
- package/es/icons/QuestionCircleOutlined.d.ts +0 -2
- package/es/icons/QuestionCircleOutlined.js +0 -35
- package/es/icons/ReloadOutlined.d.ts +0 -2
- package/es/icons/SortOutlined.d.ts +0 -2
- package/es/icons/StarFilled.d.ts +0 -2
- package/es/icons/StarFilled.js +0 -24
- package/es/icons/UndoOutlined.d.ts +0 -2
- package/es/icons/UndoOutlined.js +0 -28
- package/es/icons/WarningOutlined.d.ts +0 -2
- package/es/index.d.ts +0 -4
- package/es/index.js +0 -6
- package/es/installer.d.ts +0 -3
- package/es/installer.js +0 -11
- package/es/style/default.scss +0 -77
- package/es/style/index.scss +0 -3
- package/es/style/themes/dark-css-var.scss +0 -6
- package/es/utils/chart-theme-dark.d.ts +0 -373
- package/es/utils/chart-theme-dark.js +0 -397
- package/es/utils/chart-theme.d.ts +0 -368
- package/es/utils/chart-theme.js +0 -392
- package/es/utils/core.d.ts +0 -168
- package/es/utils/core.js +0 -318
- package/es/utils/message-box.d.ts +0 -25
- package/es/utils/message-box.js +0 -98
- package/es/utils/message.d.ts +0 -66
- package/es/utils/message.js +0 -267
- package/es/utils/resolvers.d.ts +0 -18
- package/es/utils/resolvers.js +0 -50
- package/es/utils/theme-util.d.ts +0 -6
- package/es/utils/theme-util.js +0 -42
- package/es/utils/validate.d.ts +0 -182
- package/es/utils/validate.js +0 -197
- package/es/yu-framework-slider-captcha-dialog/SliderCaptcha.d.ts +0 -67
- package/es/yu-framework-slider-captcha-dialog/SliderCaptcha.js +0 -284
- package/es/yu-framework-slider-captcha-dialog/style/index.scss +0 -300
- package/lib/core-components.cjs +0 -115
- package/lib/core-installer.cjs +0 -28
- package/lib/core.d.ts +0 -3
- package/lib/ele-admin-layout/components/layout-tabs.d.ts +0 -5646
- package/lib/ele-admin-layout/components/layout-tool.d.ts +0 -2
- package/lib/ele-admin-layout/index.cjs +0 -595
- package/lib/ele-admin-layout/props.cjs +0 -169
- package/lib/ele-admin-layout/style/css-var.scss +0 -14
- package/lib/ele-admin-layout/style/header.scss +0 -192
- package/lib/ele-admin-layout/style/index.d.ts +0 -1
- package/lib/ele-admin-layout/types.d.ts +0 -54
- package/lib/ele-alert/index.d.ts +0 -131
- package/lib/ele-alert/props.d.ts +0 -58
- package/lib/ele-alert/style/css-var.scss +0 -12
- package/lib/ele-app/components/message-body.cjs +0 -97
- package/lib/ele-app/el.d.ts +0 -304
- package/lib/ele-app/index.cjs +0 -12
- package/lib/ele-app/style/common/index.d.ts +0 -1
- package/lib/ele-app/style/index.scss +0 -4
- package/lib/ele-app/style/message/css-var.scss +0 -8
- package/lib/ele-app/style/message/index.cjs +0 -3
- package/lib/ele-app/style/overwrite/autocomplete/css-var.scss +0 -8
- package/lib/ele-app/style/overwrite/backtop/index.d.ts +0 -1
- package/lib/ele-app/style/overwrite/cascader/css-var.scss +0 -8
- package/lib/ele-app/style/overwrite/cascader/index.scss +0 -166
- package/lib/ele-app/style/overwrite/checkbox/index.d.ts +0 -1
- package/lib/ele-app/style/overwrite/date-picker/index.d.ts +0 -1
- package/lib/ele-app/style/overwrite/descriptions/index.scss +0 -52
- package/lib/ele-app/style/overwrite/input/css-var.scss +0 -34
- package/lib/ele-app/style/overwrite/message-box/css-var.scss +0 -8
- package/lib/ele-app/style/overwrite/message-box/index.d.ts +0 -1
- package/lib/ele-app/style/overwrite/message-box/index.scss +0 -148
- package/lib/ele-app/style/overwrite/popper/index.d.ts +0 -1
- package/lib/ele-app/style/overwrite/radio/index.scss +0 -128
- package/lib/ele-app/style/overwrite/select/index.d.ts +0 -1
- package/lib/ele-app/style/overwrite/select/index.scss +0 -203
- package/lib/ele-app/style/overwrite/tag/index.d.ts +0 -1
- package/lib/ele-app/style/overwrite/tree/index.d.ts +0 -1
- package/lib/ele-app/style/overwrite/tree/index.scss +0 -106
- package/lib/ele-app/style/overwrite/tree-select/index.scss +0 -108
- package/lib/ele-app/style/scrollbar/index.d.ts +0 -1
- package/lib/ele-app/types.d.ts +0 -48
- package/lib/ele-avatar-group/props.d.ts +0 -56
- package/lib/ele-avatar-group/style/index.cjs +0 -4
- package/lib/ele-avatar-group/style/index.d.ts +0 -1
- package/lib/ele-avatar-group/types.d.ts +0 -21
- package/lib/ele-backtop/props.d.ts +0 -36
- package/lib/ele-backtop/style/index.cjs +0 -3
- package/lib/ele-bar-code/index.d.ts +0 -26
- package/lib/ele-basic-select/index.cjs +0 -348
- package/lib/ele-bottom-bar/index.cjs +0 -55
- package/lib/ele-bottom-bar/index.d.ts +0 -15
- package/lib/ele-bottom-bar/props.d.ts +0 -15
- package/lib/ele-bottom-bar/style/css-var.scss +0 -8
- package/lib/ele-breadcrumb/index.d.ts +0 -278
- package/lib/ele-breadcrumb/props.d.ts +0 -24
- package/lib/ele-breadcrumb/style/index.cjs +0 -4
- package/lib/ele-breadcrumb/style/index.d.ts +0 -1
- package/lib/ele-breadcrumb/style/index.scss +0 -31
- package/lib/ele-card/index.d.ts +0 -106
- package/lib/ele-card/props.cjs +0 -36
- package/lib/ele-card/style/index.d.ts +0 -1
- package/lib/ele-card/style/index.scss +0 -125
- package/lib/ele-check-card/components/card-item.d.ts +0 -37
- package/lib/ele-check-card/index.cjs +0 -130
- package/lib/ele-check-card/props.d.ts +0 -49
- package/lib/ele-check-card/style/css-var.scss +0 -8
- package/lib/ele-check-card/style/index.cjs +0 -4
- package/lib/ele-check-card/style/index.d.ts +0 -1
- package/lib/ele-check-card/types.d.ts +0 -37
- package/lib/ele-config-provider/components/receiver-view.d.ts +0 -71
- package/lib/ele-config-provider/props.d.ts +0 -26
- package/lib/ele-config-provider/style/index.d.ts +0 -0
- package/lib/ele-config-provider/types.d.ts +0 -103
- package/lib/ele-copyable/style/index.d.ts +0 -1
- package/lib/ele-copyable/types.d.ts +0 -14
- package/lib/ele-count-up/style/index.d.ts +0 -0
- package/lib/ele-cropper/index.cjs +0 -211
- package/lib/ele-cropper/index.d.ts +0 -2824
- package/lib/ele-cropper/props.d.ts +0 -68
- package/lib/ele-cropper/style/index.cjs +0 -7
- package/lib/ele-cropper/style/index.d.ts +0 -1
- package/lib/ele-cropper/style/index.scss +0 -108
- package/lib/ele-cropper-modal/index.cjs +0 -93
- package/lib/ele-cropper-modal/props.cjs +0 -18
- package/lib/ele-cropper-modal/props.d.ts +0 -58
- package/lib/ele-cropper-modal/style/index.cjs +0 -3
- package/lib/ele-cropper-modal/style/index.d.ts +0 -1
- package/lib/ele-dashboard/index.cjs +0 -59
- package/lib/ele-dashboard/index.d.ts +0 -14
- package/lib/ele-dashboard/style/index.cjs +0 -2
- package/lib/ele-dashboard/style/index.d.ts +0 -1
- package/lib/ele-dashboard/style/index.scss +0 -79
- package/lib/ele-dashboard/types.d.ts +0 -4
- package/lib/ele-data-table/props.cjs +0 -93
- package/lib/ele-data-table/props.d.ts +0 -272
- package/lib/ele-data-table/style/css-var.scss +0 -148
- package/lib/ele-data-table/style/index.d.ts +0 -1
- package/lib/ele-data-table/types.d.ts +0 -253
- package/lib/ele-data-table/util.cjs +0 -395
- package/lib/ele-data-table/util.d.ts +0 -172
- package/lib/ele-dialog/index.cjs +0 -341
- package/lib/ele-dialog/index.d.ts +0 -1074
- package/lib/ele-dialog/style/index.d.ts +0 -1
- package/lib/ele-dialog/util.d.ts +0 -52
- package/lib/ele-dot/index.d.ts +0 -29
- package/lib/ele-dot/props.d.ts +0 -25
- package/lib/ele-dot/style/index.cjs +0 -2
- package/lib/ele-dot/style/index.d.ts +0 -1
- package/lib/ele-drawer/index.d.ts +0 -1170
- package/lib/ele-drawer/props.d.ts +0 -184
- package/lib/ele-drawer/style/css-var.scss +0 -8
- package/lib/ele-drawer/style/index.d.ts +0 -1
- package/lib/ele-drawer/style/index.scss +0 -96
- package/lib/ele-dropdown/components/dropdown-menu-item.cjs +0 -131
- package/lib/ele-dropdown/components/dropdown-menu-item.d.ts +0 -97
- package/lib/ele-dropdown/types.d.ts +0 -22
- package/lib/ele-edit-tag/props.d.ts +0 -55
- package/lib/ele-edit-tag/style/index.d.ts +0 -1
- package/lib/ele-edit-tag/style/index.scss +0 -123
- package/lib/ele-edit-tag/types.d.ts +0 -9
- package/lib/ele-ellipsis/props.cjs +0 -18
- package/lib/ele-ellipsis/style/index.cjs +0 -4
- package/lib/ele-icon-select/types.d.ts +0 -16
- package/lib/ele-image-viewer/index.d.ts +0 -635
- package/lib/ele-image-viewer/style/index.scss +0 -117
- package/lib/ele-loading/index.cjs +0 -65
- package/lib/ele-loading/props.d.ts +0 -33
- package/lib/ele-loading/types.d.ts +0 -19
- package/lib/ele-map-picker/style/index.d.ts +0 -1
- package/lib/ele-map-picker/style/index.scss +0 -296
- package/lib/ele-menus/components/item-title.cjs +0 -107
- package/lib/ele-menus/components/item-title.d.ts +0 -323
- package/lib/ele-menus/index.cjs +0 -345
- package/lib/ele-menus/props.cjs +0 -51
- package/lib/ele-menus/style/css-var.scss +0 -36
- package/lib/ele-menus/style/index.scss +0 -844
- package/lib/ele-menus/types.d.ts +0 -107
- package/lib/ele-page/index.cjs +0 -29
- package/lib/ele-page/props.cjs +0 -16
- package/lib/ele-page/style/css-var.scss +0 -9
- package/lib/ele-pagination/index.cjs +0 -96
- package/lib/ele-pagination/style/index.d.ts +0 -1
- package/lib/ele-pagination/types.d.ts +0 -9
- package/lib/ele-popover/index.cjs +0 -104
- package/lib/ele-printer/index.cjs +0 -123
- package/lib/ele-printer/index.d.ts +0 -111
- package/lib/ele-printer/style/index.scss +0 -66
- package/lib/ele-printer/util.cjs +0 -218
- package/lib/ele-printer/util.d.ts +0 -25
- package/lib/ele-pro-layout/components/pro-iframe.d.ts +0 -39
- package/lib/ele-pro-layout/props.cjs +0 -237
- package/lib/ele-pro-layout/style/index.cjs +0 -3
- package/lib/ele-pro-layout/style/index.d.ts +0 -1
- package/lib/ele-pro-layout/util.cjs +0 -171
- package/lib/ele-pro-layout/util.d.ts +0 -88
- package/lib/ele-pro-table/components/tool-column.cjs +0 -279
- package/lib/ele-pro-table/components/tool-column.d.ts +0 -3722
- package/lib/ele-pro-table/components/tool-export.cjs +0 -505
- package/lib/ele-pro-table/components/tool-print-body-cell.cjs +0 -131
- package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +0 -39
- package/lib/ele-pro-table/index.cjs +0 -571
- package/lib/ele-pro-table/style/index.d.ts +0 -1
- package/lib/ele-pro-table/style/index.scss +0 -326
- package/lib/ele-pro-table/types.d.ts +0 -489
- package/lib/ele-qr-code/components/canvas-render.cjs +0 -146
- package/lib/ele-qr-code/components/canvas-render.d.ts +0 -67
- package/lib/ele-qr-code/props.cjs +0 -43
- package/lib/ele-qr-code/qrcodegen.cjs +0 -1057
- package/lib/ele-qr-code/qrcodegen.d.ts +0 -95
- package/lib/ele-qr-code/style/index.cjs +0 -1
- package/lib/ele-qr-code/style/index.d.ts +0 -0
- package/lib/ele-qr-code/util.d.ts +0 -27
- package/lib/ele-segmented/index.d.ts +0 -485
- package/lib/ele-segmented/props.cjs +0 -25
- package/lib/ele-segmented/style/index.d.ts +0 -1
- package/lib/ele-split-panel/index.cjs +0 -205
- package/lib/ele-split-panel/index.d.ts +0 -192
- package/lib/ele-split-panel/props.cjs +0 -41
- package/lib/ele-split-panel/props.d.ts +0 -47
- package/lib/ele-split-panel/style/index.scss +0 -360
- package/lib/ele-steps/index.d.ts +0 -638
- package/lib/ele-steps/props.cjs +0 -14
- package/lib/ele-steps/style/index.cjs +0 -4
- package/lib/ele-steps/style/index.d.ts +0 -1
- package/lib/ele-steps/types.d.ts +0 -14
- package/lib/ele-tab-tool/index.cjs +0 -64
- package/lib/ele-tab-tool/index.d.ts +0 -75
- package/lib/ele-tab-tool/props.d.ts +0 -14
- package/lib/ele-tab-wrap/components/tab-dropdown.d.ts +0 -5006
- package/lib/ele-tab-wrap/props.d.ts +0 -13
- package/lib/ele-tab-wrap/style/index.d.ts +0 -0
- package/lib/ele-table/index.d.ts +0 -28
- package/lib/ele-table/style/index.cjs +0 -2
- package/lib/ele-table/style/index.d.ts +0 -1
- package/lib/ele-table-select/index.cjs +0 -423
- package/lib/ele-table-select/style/index.d.ts +0 -1
- package/lib/ele-tabs/props.d.ts +0 -88
- package/lib/ele-test/index.d.ts +0 -2
- package/lib/ele-test/style/index.cjs +0 -3
- package/lib/ele-test/style/index.d.ts +0 -1
- package/lib/ele-text/index.d.ts +0 -93
- package/lib/ele-text/props.cjs +0 -30
- package/lib/ele-text/style/index.d.ts +0 -1
- package/lib/ele-text/types.d.ts +0 -35
- package/lib/ele-toolbar/style/index.cjs +0 -4
- package/lib/ele-tooltip/style/index.d.ts +0 -1
- package/lib/ele-tour/style/index.cjs +0 -4
- package/lib/ele-tour/types.d.ts +0 -42
- package/lib/ele-tour/util.d.ts +0 -20
- package/lib/ele-tree-select/index.cjs +0 -459
- package/lib/ele-tree-select/style/css-var.scss +0 -8
- package/lib/ele-tree-select/style/index.cjs +0 -4
- package/lib/ele-tree-select/style/index.d.ts +0 -1
- package/lib/ele-upload-list/components/list-item.cjs +0 -232
- package/lib/ele-upload-list/components/list-item.d.ts +0 -902
- package/lib/ele-upload-list/props.d.ts +0 -81
- package/lib/ele-upload-list/types.d.ts +0 -71
- package/lib/ele-virtual-table/components/body-row.cjs +0 -210
- package/lib/ele-virtual-table/components/body-row.d.ts +0 -984
- package/lib/ele-virtual-table/components/expand-row.d.ts +0 -19
- package/lib/ele-virtual-table/components/footer-row.d.ts +0 -65
- package/lib/ele-virtual-table/components/header-cell.d.ts +0 -3929
- package/lib/ele-virtual-table/index.d.ts +0 -7882
- package/lib/ele-virtual-table/util.d.ts +0 -229
- package/lib/ele-watermark/index.d.ts +0 -57
- package/lib/ele-watermark/types.d.ts +0 -39
- package/lib/ele-xg-player/index.cjs +0 -61
- package/lib/ele-xg-player/index.d.ts +0 -22
- package/lib/ele-xg-player/style/index.d.ts +0 -1
- package/lib/icons/ApplicationOutlined.cjs +0 -23
- package/lib/icons/AppstoreAddOutlined.d.ts +0 -2
- package/lib/icons/AppstoreOutlined.d.ts +0 -2
- package/lib/icons/ArrowLeft.cjs +0 -28
- package/lib/icons/ArrowLeft.d.ts +0 -2
- package/lib/icons/ArrowLeftOutlined.d.ts +0 -2
- package/lib/icons/ArrowRight.cjs +0 -28
- package/lib/icons/ArrowRight.d.ts +0 -2
- package/lib/icons/ArrowRightOutlined.d.ts +0 -2
- package/lib/icons/ArrowUp.cjs +0 -28
- package/lib/icons/ArrowUp.d.ts +0 -2
- package/lib/icons/ArrowUpOutlined.d.ts +0 -2
- package/lib/icons/BellOutlined.cjs +0 -26
- package/lib/icons/BellOutlined.d.ts +0 -2
- package/lib/icons/BookOutlined.d.ts +0 -2
- package/lib/icons/CaretDownFilled.d.ts +0 -2
- package/lib/icons/CaretUpFilled.d.ts +0 -2
- package/lib/icons/CheckOutlined.d.ts +0 -2
- package/lib/icons/ClockCircleOutlined.d.ts +0 -2
- package/lib/icons/CloudUploadOutlined.cjs +0 -28
- package/lib/icons/CloudUploadOutlined.d.ts +0 -2
- package/lib/icons/ClusterOutlined.d.ts +0 -2
- package/lib/icons/CodeOutlined.d.ts +0 -2
- package/lib/icons/CompassOutlined.d.ts +0 -2
- package/lib/icons/ConnectionOutlined.d.ts +0 -2
- package/lib/icons/ControlOutlined.cjs +0 -28
- package/lib/icons/ControlOutlined.d.ts +0 -2
- package/lib/icons/CopyOutlined.cjs +0 -29
- package/lib/icons/CornerRightFilled.d.ts +0 -2
- package/lib/icons/DashboardOutlined.d.ts +0 -2
- package/lib/icons/DesktopOutlined.d.ts +0 -2
- package/lib/icons/DragOutlined.d.ts +0 -2
- package/lib/icons/EditOutlined.d.ts +0 -2
- package/lib/icons/EnvironmentOutlined.d.ts +0 -2
- package/lib/icons/FileOutlined.d.ts +0 -2
- package/lib/icons/FilterFilled.d.ts +0 -2
- package/lib/icons/FundOutlined.cjs +0 -27
- package/lib/icons/GlobalOutlined.d.ts +0 -2
- package/lib/icons/HomeOutlined.d.ts +0 -2
- package/lib/icons/LoadingDotOutlined.cjs +0 -26
- package/lib/icons/LoadingDotOutlined.d.ts +0 -2
- package/lib/icons/LoadingOutlined.cjs +0 -26
- package/lib/icons/LoadingOutlined.d.ts +0 -2
- package/lib/icons/LockOutlined.cjs +0 -28
- package/lib/icons/LockOutlined.d.ts +0 -2
- package/lib/icons/LogOutlined.d.ts +0 -2
- package/lib/icons/LogoutOutlined.cjs +0 -27
- package/lib/icons/MailOutlined.d.ts +0 -2
- package/lib/icons/MenuFoldOutlined.cjs +0 -25
- package/lib/icons/MenuFoldOutlined.d.ts +0 -2
- package/lib/icons/MenuOutlined.d.ts +0 -2
- package/lib/icons/MenuUnfoldOutlined.cjs +0 -25
- package/lib/icons/MenuUnfoldOutlined.d.ts +0 -2
- package/lib/icons/MessageOutlined.d.ts +0 -2
- package/lib/icons/MinusCircleOutlined.cjs +0 -27
- package/lib/icons/MinusCircleOutlined.d.ts +0 -2
- package/lib/icons/MobileOutlined.cjs +0 -33
- package/lib/icons/MoonOutlined.cjs +0 -26
- package/lib/icons/MoonOutlined.d.ts +0 -2
- package/lib/icons/MoreOutlined.d.ts +0 -2
- package/lib/icons/PauseFilled.d.ts +0 -2
- package/lib/icons/PieChartOutlined.d.ts +0 -2
- package/lib/icons/PlusCircleOutlined.cjs +0 -27
- package/lib/icons/PlusOutlined.d.ts +0 -2
- package/lib/icons/ProtectOutlined.d.ts +0 -2
- package/lib/icons/QuestionCircleOutlined.cjs +0 -34
- package/lib/icons/QuestionCircleOutlined.d.ts +0 -2
- package/lib/icons/ReloadOutlined.d.ts +0 -2
- package/lib/icons/ResizeOutlined.cjs +0 -26
- package/lib/icons/SortOutlined.d.ts +0 -2
- package/lib/icons/StarFilled.d.ts +0 -2
- package/lib/icons/StepForwardFilled.d.ts +0 -2
- package/lib/icons/TimerOutlined.cjs +0 -27
- package/lib/icons/UndoOutlined.d.ts +0 -2
- package/lib/icons/UnlockOutlined.d.ts +0 -2
- package/lib/icons/VerticalLeftOutlined.d.ts +0 -2
- package/lib/icons/WarningOutlined.d.ts +0 -2
- package/lib/icons/ZoomOutOutlined.d.ts +0 -2
- package/lib/icons/index.cjs +0 -236
- package/lib/index.cjs +0 -21
- package/lib/index.d.ts +0 -4
- package/lib/installer.d.ts +0 -3
- package/lib/lang/en_US.cjs +0 -84
- package/lib/lang/en_US.d.ts +0 -4
- package/lib/lang/zh_CN.d.ts +0 -4
- package/lib/style/default.scss +0 -77
- package/lib/style/index.scss +0 -3
- package/lib/style/themes/dark-css-var.scss +0 -6
- package/lib/style/themes/theme-util.scss +0 -74
- package/lib/style/util.scss +0 -59
- package/lib/utils/chart-theme-dark.cjs +0 -397
- package/lib/utils/chart-theme-dark.d.ts +0 -373
- package/lib/utils/chart-theme.cjs +0 -392
- package/lib/utils/chart-theme.d.ts +0 -368
- package/lib/utils/core.cjs +0 -318
- package/lib/utils/core.d.ts +0 -168
- package/lib/utils/hook.cjs +0 -264
- package/lib/utils/hook.d.ts +0 -113
- package/lib/utils/menu-util.cjs +0 -78
- package/lib/utils/menu-util.d.ts +0 -14
- package/lib/utils/message-box.cjs +0 -98
- package/lib/utils/message-box.d.ts +0 -25
- package/lib/utils/message.cjs +0 -267
- package/lib/utils/message.d.ts +0 -66
- package/lib/utils/resolvers.cjs +0 -50
- package/lib/utils/resolvers.d.ts +0 -18
- package/lib/utils/theme-util.cjs +0 -42
- package/lib/utils/theme-util.d.ts +0 -6
- package/lib/utils/validate.d.ts +0 -182
- package/lib/yu-framework-attachment-image-upload/index.cjs +0 -163
- package/lib/yu-framework-slider-captcha-dialog/SliderCaptcha.cjs +0 -283
- package/lib/yu-framework-slider-captcha-dialog/SliderCaptcha.d.ts +0 -67
- package/lib/yu-framework-slider-captcha-dialog/index.cjs +0 -63
- package/lib/yu-framework-slider-captcha-dialog/index.d.ts +0 -14
- /package/es/{ele-app/style/common → ele-alert/style}/index.d.ts +0 -0
- /package/es/{ele-app/style/common → ele-alert/style}/index.js +0 -0
- /package/{lib → es}/ele-app/style/common/index.scss +0 -0
- /package/es/ele-app/style/overwrite/{backtop → autocomplete}/index.d.ts +0 -0
- /package/es/ele-app/style/overwrite/{backtop → autocomplete}/index.js +0 -0
- /package/{lib → es}/ele-app/style/overwrite/descriptions/css-var.scss +0 -0
- /package/es/ele-app/style/overwrite/{popper → input}/index.d.ts +0 -0
- /package/es/ele-app/style/overwrite/{popper → input}/index.js +0 -0
- /package/{lib → es}/ele-app/style/overwrite/notification/index.scss +0 -0
- /package/{lib → es}/ele-app/style/overwrite/tag/index.scss +0 -0
- /package/es/ele-app/style/overwrite/{tree → tree-select}/index.d.ts +0 -0
- /package/es/ele-app/style/overwrite/{tree → tree-select}/index.js +0 -0
- /package/es/{ele-avatar-group → ele-backtop}/style/index.d.ts +0 -0
- /package/es/{ele-text → ele-backtop}/style/index.js +0 -0
- /package/es/{ele-qr-code → ele-bar-code}/style/index.d.ts +0 -0
- /package/es/{ele-qr-code → ele-bar-code}/style/index.js +0 -0
- /package/{lib → es}/ele-dialog/style/index.scss +0 -0
- /package/es/{ele-breadcrumb → ele-ellipsis}/style/index.d.ts +0 -0
- /package/es/{ele-check-card → ele-icon-select}/style/index.d.ts +0 -0
- /package/es/{ele-copyable → ele-loading}/style/index.d.ts +0 -0
- /package/{lib → es}/ele-loading/style/index.scss +0 -0
- /package/es/{ele-cropper-modal → ele-popconfirm}/style/index.d.ts +0 -0
- /package/es/{ele-cropper → ele-popover}/style/index.d.ts +0 -0
- /package/es/{ele-dashboard → ele-split-panel}/style/index.d.ts +0 -0
- /package/es/{ele-data-table → ele-tabs}/style/index.d.ts +0 -0
- /package/{lib → es}/ele-tool/style/css-var.scss +0 -0
- /package/{lib → es}/ele-tree-select/style/index.scss +0 -0
- /package/es/{ele-dialog → ele-virtual-table}/style/index.d.ts +0 -0
- /package/es/{ele-test/index.d.ts → icons/CalendarOutlined.d.ts} +0 -0
- /package/es/icons/{AppstoreAddOutlined.d.ts → CityOutlined.d.ts} +0 -0
- /package/es/icons/{ArrowLeft.d.ts → CloseOutlined.d.ts} +0 -0
- /package/es/icons/{ArrowLeftOutlined.d.ts → CompressOutlined.d.ts} +0 -0
- /package/es/icons/{ArrowRight.d.ts → CornerLeftFilled.d.ts} +0 -0
- /package/es/icons/{BellOutlined.d.ts → CpuOutlined.d.ts} +0 -0
- /package/es/icons/{BookOutlined.d.ts → DeleteOutlined.d.ts} +0 -0
- /package/es/icons/{CheckOutlined.d.ts → FolderAddOutlined.d.ts} +0 -0
- /package/es/icons/{ClockCircleOutlined.d.ts → FormOutlined.d.ts} +0 -0
- /package/es/icons/{CloudUploadOutlined.d.ts → FullscreenOutlined.d.ts} +0 -0
- /package/es/icons/{ClusterOutlined.d.ts → HolderOutlined.d.ts} +0 -0
- /package/es/icons/{CompassOutlined.d.ts → LinkOutlined.d.ts} +0 -0
- /package/es/icons/{CornerRightFilled.d.ts → LogoutOutlined.d.ts} +0 -0
- /package/es/icons/{DesktopOutlined.d.ts → PlayFilled.d.ts} +0 -0
- /package/es/icons/{DragOutlined.d.ts → PlusCircleOutlined.d.ts} +0 -0
- /package/es/icons/{FileOutlined.d.ts → SettingOutlined.d.ts} +0 -0
- /package/es/icons/{FilterFilled.d.ts → SliderArrowStatic.d.ts} +0 -0
- /package/es/icons/{GlobalOutlined.d.ts → StepBackwardFilled.d.ts} +0 -0
- /package/es/icons/{LogOutlined.d.ts → SunOutlined.d.ts} +0 -0
- /package/es/icons/{MailOutlined.d.ts → SwapOutlined.d.ts} +0 -0
- /package/es/icons/{MenuOutlined.d.ts → UploadOutlined.d.ts} +0 -0
- /package/es/icons/{MessageOutlined.d.ts → UserOutlined.d.ts} +0 -0
- /package/es/icons/{PauseFilled.d.ts → VerticalAlignMiddleOutlined.d.ts} +0 -0
- /package/es/icons/{PieChartOutlined.d.ts → ZoomInOutlined.d.ts} +0 -0
- /package/{es → lib}/ele-admin-layout/style/sidebar.scss +0 -0
- /package/lib/{ele-app/style/common → ele-alert/style}/index.cjs +0 -0
- /package/{es → lib}/ele-app/style/message/index.scss +0 -0
- /package/lib/ele-app/style/overwrite/{checkbox → autocomplete}/index.cjs +0 -0
- /package/lib/ele-app/style/overwrite/{date-picker → cascader}/index.cjs +0 -0
- /package/lib/ele-app/style/overwrite/{select → color-picker}/index.cjs +0 -0
- /package/{es → lib}/ele-app/style/overwrite/css-var.scss +0 -0
- /package/{es → lib}/ele-app/style/overwrite/popper/index.scss +0 -0
- /package/{es → lib}/ele-app/style/overwrite/tree/css-var.scss +0 -0
- /package/lib/{ele-bottom-bar/style → ele-app/style/overwrite/tree}/index.cjs +0 -0
- /package/{es → lib}/ele-data-table/style/index.scss +0 -0
- /package/lib/{ele-qr-code-svg → ele-tab-tool}/style/index.cjs +0 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, resolveComponent, createBlock, openBlock, mergeProps, withCtx, renderSlot, createCommentVNode, createElementVNode, normalizeStyle, normalizeClass, createElementBlock, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
import { pick } from "../utils/core";
|
|
3
|
+
import EleTooltip from "../ele-tooltip/index";
|
|
4
|
+
import { tooltipPropKeys } from "../ele-tooltip/props";
|
|
5
|
+
import { popoverEmits, popoverProps } from "./props";
|
|
6
|
+
const _sfc_main = defineComponent({
|
|
7
|
+
name: "ElePopover",
|
|
8
|
+
components: { EleTooltip },
|
|
9
|
+
props: popoverProps,
|
|
10
|
+
emits: popoverEmits,
|
|
11
|
+
setup(props, { emit }) {
|
|
12
|
+
const tooltipRef = ref(null);
|
|
13
|
+
const tooltipProps = computed(() => {
|
|
14
|
+
const keys = tooltipPropKeys.filter(
|
|
15
|
+
(k) => !["content", "bodyStyle"].includes(k)
|
|
16
|
+
);
|
|
17
|
+
const options = pick(props, keys);
|
|
18
|
+
options.ariaLabel = props.title;
|
|
19
|
+
options.gpuAcceleration = props.transition === "el-fade-in-linear";
|
|
20
|
+
return options;
|
|
21
|
+
});
|
|
22
|
+
const hide = () => {
|
|
23
|
+
tooltipRef.value && tooltipRef.value.hide();
|
|
24
|
+
};
|
|
25
|
+
const handleUpdateVisible = (visible) => {
|
|
26
|
+
emit("update:visible", visible);
|
|
27
|
+
};
|
|
28
|
+
const handlePopBeforeEnter = () => {
|
|
29
|
+
emit("before-enter");
|
|
30
|
+
};
|
|
31
|
+
const handlePopBeforeLeave = () => {
|
|
32
|
+
emit("before-leave");
|
|
33
|
+
};
|
|
34
|
+
const handlePopAfterEnter = () => {
|
|
35
|
+
emit("after-enter");
|
|
36
|
+
};
|
|
37
|
+
const handlePopAfterLeave = () => {
|
|
38
|
+
emit("after-leave");
|
|
39
|
+
};
|
|
40
|
+
return {
|
|
41
|
+
tooltipRef,
|
|
42
|
+
tooltipProps,
|
|
43
|
+
hide,
|
|
44
|
+
handleUpdateVisible,
|
|
45
|
+
handlePopBeforeEnter,
|
|
46
|
+
handlePopBeforeLeave,
|
|
47
|
+
handlePopAfterEnter,
|
|
48
|
+
handlePopAfterLeave
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
const _export_sfc = (sfc, props) => {
|
|
53
|
+
const target = sfc.__vccOpts || sfc;
|
|
54
|
+
for (const [key, val] of props) {
|
|
55
|
+
target[key] = val;
|
|
56
|
+
}
|
|
57
|
+
return target;
|
|
58
|
+
};
|
|
59
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
60
|
+
const _component_EleTooltip = resolveComponent("EleTooltip");
|
|
61
|
+
return openBlock(), createBlock(_component_EleTooltip, mergeProps({ tabindex: _ctx.tabindex }, _ctx.tooltipProps, {
|
|
62
|
+
ref: "tooltipRef",
|
|
63
|
+
isPopover: true,
|
|
64
|
+
"onUpdate:visible": _ctx.handleUpdateVisible,
|
|
65
|
+
onBeforeShow: _ctx.handlePopBeforeEnter,
|
|
66
|
+
onBeforeHide: _ctx.handlePopBeforeLeave,
|
|
67
|
+
onShow: _ctx.handlePopAfterEnter,
|
|
68
|
+
onHide: _ctx.handlePopAfterLeave
|
|
69
|
+
}), {
|
|
70
|
+
body: withCtx(() => [
|
|
71
|
+
createElementVNode("div", {
|
|
72
|
+
class: normalizeClass(["ele-popover-body", _ctx.bodyClass]),
|
|
73
|
+
style: normalizeStyle(_ctx.bodyStyle)
|
|
74
|
+
}, [
|
|
75
|
+
renderSlot(_ctx.$slots, "body", {}, () => [
|
|
76
|
+
_ctx.title != null && _ctx.title != "" || _ctx.$slots.title ? (openBlock(), createElementBlock("div", {
|
|
77
|
+
key: 0,
|
|
78
|
+
class: "ele-popover-title",
|
|
79
|
+
style: normalizeStyle(_ctx.titleStyle)
|
|
80
|
+
}, [
|
|
81
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
82
|
+
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
83
|
+
])
|
|
84
|
+
], 4)) : createCommentVNode("", true),
|
|
85
|
+
createElementVNode("div", {
|
|
86
|
+
class: "ele-popover-content",
|
|
87
|
+
style: normalizeStyle(_ctx.contentStyle)
|
|
88
|
+
}, [
|
|
89
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
90
|
+
createTextVNode(toDisplayString(_ctx.content), 1)
|
|
91
|
+
])
|
|
92
|
+
], 4)
|
|
93
|
+
])
|
|
94
|
+
], 6)
|
|
95
|
+
]),
|
|
96
|
+
default: withCtx(() => [
|
|
97
|
+
_ctx.$slots.reference ? renderSlot(_ctx.$slots, "reference", { key: 0 }) : createCommentVNode("", true)
|
|
98
|
+
]),
|
|
99
|
+
_: 3
|
|
100
|
+
}, 16, ["tabindex", "onUpdate:visible", "onBeforeShow", "onBeforeHide", "onShow", "onHide"]);
|
|
101
|
+
}
|
|
102
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
103
|
+
export {
|
|
104
|
+
index as default
|
|
105
|
+
};
|
|
@@ -4,32 +4,35 @@ import { StyleValue } from '../ele-app/types';
|
|
|
4
4
|
/**
|
|
5
5
|
* 属性
|
|
6
6
|
*/
|
|
7
|
-
export declare const
|
|
8
|
-
|
|
7
|
+
export declare const popoverProps: {
|
|
8
|
+
transition: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
/** 自定义主体类名 */
|
|
13
|
+
bodyClass: StringConstructor;
|
|
14
|
+
/** 自定义主体样式 */
|
|
9
15
|
bodyStyle: PropType<StyleValue>;
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/** 是否是气泡卡片 */
|
|
17
|
-
isPopover: BooleanConstructor;
|
|
18
|
-
showArrow: {
|
|
19
|
-
readonly type: PropType<boolean>;
|
|
16
|
+
/** 自定义标题样式 */
|
|
17
|
+
titleStyle: PropType<StyleValue>;
|
|
18
|
+
/** 自定义内容样式 */
|
|
19
|
+
contentStyle: PropType<StyleValue>;
|
|
20
|
+
width: {
|
|
21
|
+
readonly type: PropType<string | number>;
|
|
20
22
|
readonly required: false;
|
|
21
23
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
22
24
|
__epPropKey: true;
|
|
23
25
|
} & {
|
|
24
|
-
readonly default:
|
|
26
|
+
readonly default: 150;
|
|
25
27
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
title: StringConstructor;
|
|
29
|
+
showArrow: {
|
|
30
|
+
readonly type: PropType<boolean>;
|
|
28
31
|
readonly required: false;
|
|
29
32
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
30
33
|
__epPropKey: true;
|
|
31
34
|
} & {
|
|
32
|
-
readonly default:
|
|
35
|
+
readonly default: true;
|
|
33
36
|
};
|
|
34
37
|
disabled: BooleanConstructor;
|
|
35
38
|
trigger: {
|
|
@@ -48,14 +51,6 @@ export declare const tooltipProps: {
|
|
|
48
51
|
} & {
|
|
49
52
|
readonly default: () => string[];
|
|
50
53
|
};
|
|
51
|
-
virtualRef: {
|
|
52
|
-
readonly type: PropType<import('element-plus').Measurable>;
|
|
53
|
-
readonly required: false;
|
|
54
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
|
-
__epPropKey: true;
|
|
56
|
-
};
|
|
57
|
-
virtualTriggering: BooleanConstructor;
|
|
58
|
-
ariaLabel: StringConstructor;
|
|
59
54
|
appendTo: {
|
|
60
55
|
readonly type: PropType<string | HTMLElement>;
|
|
61
56
|
readonly required: false;
|
|
@@ -70,8 +65,14 @@ export declare const tooltipProps: {
|
|
|
70
65
|
} & {
|
|
71
66
|
readonly default: "";
|
|
72
67
|
};
|
|
73
|
-
|
|
74
|
-
|
|
68
|
+
persistent: {
|
|
69
|
+
readonly type: PropType<boolean>;
|
|
70
|
+
readonly required: false;
|
|
71
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
72
|
+
__epPropKey: true;
|
|
73
|
+
} & {
|
|
74
|
+
readonly default: true;
|
|
75
|
+
};
|
|
75
76
|
visible: {
|
|
76
77
|
readonly type: PropType<boolean | null>;
|
|
77
78
|
readonly required: false;
|
|
@@ -80,7 +81,6 @@ export declare const tooltipProps: {
|
|
|
80
81
|
} & {
|
|
81
82
|
readonly default: null;
|
|
82
83
|
};
|
|
83
|
-
transition: StringConstructor;
|
|
84
84
|
teleported: {
|
|
85
85
|
readonly type: PropType<boolean>;
|
|
86
86
|
readonly required: false;
|
|
@@ -90,29 +90,18 @@ export declare const tooltipProps: {
|
|
|
90
90
|
readonly default: true;
|
|
91
91
|
};
|
|
92
92
|
effect: {
|
|
93
|
+
readonly default: "light";
|
|
93
94
|
readonly type: PropType<import('element-plus').PopperEffect>;
|
|
94
95
|
readonly required: false;
|
|
95
96
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
96
|
-
__epPropKey: true;
|
|
97
|
-
} & {
|
|
98
|
-
readonly default: "dark";
|
|
97
|
+
readonly __epPropKey: true;
|
|
99
98
|
};
|
|
100
99
|
enterable: {
|
|
101
|
-
readonly type: PropType<boolean>;
|
|
102
|
-
readonly required: false;
|
|
103
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
|
-
__epPropKey: true;
|
|
105
|
-
} & {
|
|
106
100
|
readonly default: true;
|
|
107
|
-
};
|
|
108
|
-
zIndex: NumberConstructor;
|
|
109
|
-
gpuAcceleration: {
|
|
110
101
|
readonly type: PropType<boolean>;
|
|
111
102
|
readonly required: false;
|
|
112
103
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
113
|
-
__epPropKey: true;
|
|
114
|
-
} & {
|
|
115
|
-
readonly default: true;
|
|
104
|
+
readonly __epPropKey: true;
|
|
116
105
|
};
|
|
117
106
|
offset: {
|
|
118
107
|
readonly type: PropType<number>;
|
|
@@ -120,10 +109,10 @@ export declare const tooltipProps: {
|
|
|
120
109
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
121
110
|
__epPropKey: true;
|
|
122
111
|
} & {
|
|
123
|
-
readonly default:
|
|
112
|
+
readonly default: undefined;
|
|
124
113
|
};
|
|
125
114
|
placement: {
|
|
126
|
-
readonly type: PropType<
|
|
115
|
+
readonly type: PropType<any>;
|
|
127
116
|
readonly required: false;
|
|
128
117
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
129
118
|
__epPropKey: true;
|
|
@@ -162,26 +151,53 @@ export declare const tooltipProps: {
|
|
|
162
151
|
} & {
|
|
163
152
|
readonly default: 0;
|
|
164
153
|
};
|
|
165
|
-
|
|
166
|
-
|
|
154
|
+
tabindex: {
|
|
155
|
+
readonly type: PropType<string | number>;
|
|
156
|
+
readonly required: false;
|
|
157
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
158
|
+
__epPropKey: true;
|
|
159
|
+
} & {
|
|
160
|
+
readonly default: 0;
|
|
161
|
+
};
|
|
167
162
|
popperStyle: PropType<StyleValue>;
|
|
163
|
+
popperClass: StringConstructor;
|
|
164
|
+
className: StringConstructor;
|
|
165
|
+
arrowOffset: {
|
|
166
|
+
readonly type: PropType<number>;
|
|
167
|
+
readonly required: false;
|
|
168
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
169
|
+
__epPropKey: true;
|
|
170
|
+
} & {
|
|
171
|
+
readonly default: 5;
|
|
172
|
+
};
|
|
173
|
+
virtualRef: {
|
|
174
|
+
readonly type: PropType<import('element-plus').Measurable>;
|
|
175
|
+
readonly required: false;
|
|
176
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
177
|
+
__epPropKey: true;
|
|
178
|
+
};
|
|
179
|
+
virtualTriggering: BooleanConstructor;
|
|
180
|
+
ariaLabel: StringConstructor;
|
|
181
|
+
zIndex: NumberConstructor;
|
|
182
|
+
gpuAcceleration: {
|
|
183
|
+
readonly type: PropType<boolean>;
|
|
184
|
+
readonly required: false;
|
|
185
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
186
|
+
__epPropKey: true;
|
|
187
|
+
} & {
|
|
188
|
+
readonly default: true;
|
|
189
|
+
};
|
|
190
|
+
bg: StringConstructor;
|
|
191
|
+
arrowBg: StringConstructor;
|
|
168
192
|
};
|
|
169
|
-
export type
|
|
193
|
+
export type PopoverProps = ExtractPropTypes<typeof popoverProps>;
|
|
170
194
|
/**
|
|
171
195
|
* 事件
|
|
172
196
|
*/
|
|
173
|
-
export
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
open: (e: any) => boolean;
|
|
180
|
-
close: (e: any) => boolean;
|
|
197
|
+
export declare const popoverEmits: {
|
|
198
|
+
"update:visible": (value: boolean) => boolean;
|
|
199
|
+
"before-enter": () => boolean;
|
|
200
|
+
"before-leave": () => boolean;
|
|
201
|
+
"after-enter": () => boolean;
|
|
202
|
+
"after-leave": () => boolean;
|
|
181
203
|
};
|
|
182
|
-
export declare const tooltipEmits: TooltipEmits;
|
|
183
|
-
/**
|
|
184
|
-
* 属性名
|
|
185
|
-
*/
|
|
186
|
-
export type TooltipPropKeys = Array<keyof typeof tooltipProps>;
|
|
187
|
-
export declare const tooltipPropKeys: TooltipPropKeys;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { popoverProps as popoverProps$1, popoverEmits as popoverEmits$1 } from "element-plus";
|
|
2
|
+
import { omit } from "../utils/core";
|
|
3
|
+
import { tooltipProps } from "../ele-tooltip/props";
|
|
4
|
+
const normalizeProps = omit(popoverProps$1, ["onUpdate:visible"]);
|
|
5
|
+
const popoverProps = {
|
|
6
|
+
...omit(tooltipProps, ["rawContent", "isPopover"]),
|
|
7
|
+
popperStyle: [String, Array, Object],
|
|
8
|
+
popperClass: String,
|
|
9
|
+
...normalizeProps,
|
|
10
|
+
transition: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: "el-fade-in-linear"
|
|
13
|
+
},
|
|
14
|
+
/** 自定义主体类名 */
|
|
15
|
+
bodyClass: String,
|
|
16
|
+
/** 自定义主体样式 */
|
|
17
|
+
bodyStyle: Object,
|
|
18
|
+
/** 自定义标题样式 */
|
|
19
|
+
titleStyle: Object,
|
|
20
|
+
/** 自定义内容样式 */
|
|
21
|
+
contentStyle: Object
|
|
22
|
+
};
|
|
23
|
+
const popoverEmits = popoverEmits$1;
|
|
24
|
+
export {
|
|
25
|
+
popoverEmits,
|
|
26
|
+
popoverProps
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../ele-tooltip/style/index";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 纸张方向
|
|
3
|
+
*/
|
|
4
|
+
export type PrintDirection = 'landscape' | 'portrait' | string;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* 纸张旋转
|
|
8
|
+
*/
|
|
9
|
+
export type PrintOrientation = 'upright' | 'rotate-left' | 'rotate-right';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* 打印位置
|
|
13
|
+
*/
|
|
14
|
+
export type PrintTarget = '_self' | '_blank' | '_iframe';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* 打印参数
|
|
18
|
+
*/
|
|
19
|
+
export interface PrintOption {
|
|
20
|
+
/** 页面标题 */
|
|
21
|
+
title?: string;
|
|
22
|
+
/** 页间距 */
|
|
23
|
+
margin?: string | number;
|
|
24
|
+
/** 纸张方向 */
|
|
25
|
+
direction?: string | null;
|
|
26
|
+
/** 纸张旋转 */
|
|
27
|
+
orientation?: string | null;
|
|
28
|
+
/** 打印方法参数 */
|
|
29
|
+
options?: any;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* pdf 打印参数
|
|
34
|
+
*/
|
|
35
|
+
export interface PrintPdfOption {
|
|
36
|
+
/** pdf 链接地址 */
|
|
37
|
+
url?: string;
|
|
38
|
+
/** 直接指定 arraybuffer 数据 */
|
|
39
|
+
arraybuffer?: ArrayBuffer;
|
|
40
|
+
/** 打印完成的回调 */
|
|
41
|
+
done?: () => void;
|
|
42
|
+
/** 错误回调 */
|
|
43
|
+
error?: (status: number, result: string) => void;
|
|
44
|
+
/** 打印方法参数 */
|
|
45
|
+
options?: any;
|
|
46
|
+
}
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import { ElePaginationProps } from '../ele-app/plus';
|
|
2
|
+
import { DataItem, Column, Columns, Sorter, Filter, TableSize, TreeProps, RowKey, SpanMethod, SummaryMethod } from '../ele-data-table/types';
|
|
3
|
+
import { PageParam, OrderParamList, Filters, OrderItem, RequestOption, ResponseOption, TablePagination, DatasourceResult, ResponseResult, ReloadDataResult, ColItem, ProProps, ExportBodyNode, ExportDataItem, ExportDataResult, CacheKey, TableLocale } from './types';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* 合并复合属性
|
|
7
|
+
* @param props 属性
|
|
8
|
+
* @param globalProps 全局属性
|
|
9
|
+
*/
|
|
10
|
+
export declare function mergeProps<T extends Record<keyof any, any>>(props?: ProProps<T> | null, globalProps?: ProProps<T> | null): ProProps<T>;
|
|
11
|
+
/**
|
|
12
|
+
* 获取分页组件属性
|
|
13
|
+
* @param size 表格尺寸
|
|
14
|
+
* @param pagination 分页组件属性
|
|
15
|
+
* @param globalPagination 全局配置分页组件属性
|
|
16
|
+
* @param pageProps 分页相关的属性
|
|
17
|
+
*/
|
|
18
|
+
export declare function getPaginationProps(size: TableSize, pagination: boolean | TablePagination | undefined, globalPagination: boolean | TablePagination | undefined, pageProps?: Pick<ElePaginationProps, 'total' | 'pageSize' | 'currentPage' | 'hasNext'>): ElePaginationProps | null;
|
|
19
|
+
/**
|
|
20
|
+
* 获取默认页码
|
|
21
|
+
* @param pagination 分页组件属性
|
|
22
|
+
* @param globalPagination 全局配置分页组件属性
|
|
23
|
+
*/
|
|
24
|
+
export declare function getTablePage(pagination: boolean | TablePagination | undefined, globalPagination: boolean | TablePagination | undefined): number;
|
|
25
|
+
/**
|
|
26
|
+
* 获取默认每页数量
|
|
27
|
+
* @param pagination 分页组件属性
|
|
28
|
+
* @param globalPagination 全局配置分页组件属性
|
|
29
|
+
*/
|
|
30
|
+
export declare function getTableLimit(pagination: boolean | TablePagination | undefined, globalPagination: boolean | TablePagination | undefined): number;
|
|
31
|
+
/**
|
|
32
|
+
* 判断是否开启自动修正页码
|
|
33
|
+
* @param pagination 分页组件属性
|
|
34
|
+
* @param globalPagination 全局配置分页组件属性
|
|
35
|
+
*/
|
|
36
|
+
export declare function isAutoAmend(pagination: boolean | TablePagination | undefined, globalPagination: boolean | TablePagination | undefined): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* 获取表格默认尺寸
|
|
39
|
+
* @param cacheKey 本地缓存的键名
|
|
40
|
+
* @param size 表格尺寸
|
|
41
|
+
* @param globalSize 全局配置尺寸
|
|
42
|
+
*/
|
|
43
|
+
export declare function getTableSize(cacheKey?: string, size?: TableSize, globalSize?: TableSize): TableSize;
|
|
44
|
+
/**
|
|
45
|
+
* 获取默认筛选条件
|
|
46
|
+
* @param columns 表格的列
|
|
47
|
+
*/
|
|
48
|
+
export declare function getDefaultFilter(columns?: Columns): Filter;
|
|
49
|
+
/**
|
|
50
|
+
* 获取请求参数名称
|
|
51
|
+
* @param globalRequest 全局配置
|
|
52
|
+
* @param request 当前配置
|
|
53
|
+
*/
|
|
54
|
+
export declare function getRequestName(globalRequest?: RequestOption, request?: RequestOption): RequestOption;
|
|
55
|
+
/**
|
|
56
|
+
* 获取响应参数名称
|
|
57
|
+
* @param globalResponse 全局响应参数配置
|
|
58
|
+
* @param response 响应参数配置
|
|
59
|
+
*/
|
|
60
|
+
export declare function getResponseName(globalResponse?: ResponseOption, response?: ResponseOption): ResponseOption;
|
|
61
|
+
/**
|
|
62
|
+
* 获取排序方式封装
|
|
63
|
+
* @param sorter 排序方式
|
|
64
|
+
*/
|
|
65
|
+
export declare function getOrderItems(sorter?: Sorter): OrderItem[];
|
|
66
|
+
/**
|
|
67
|
+
* 生成请求的排序参数列表
|
|
68
|
+
* @param sorter 排序方式
|
|
69
|
+
* @param request 请求参数配置
|
|
70
|
+
* @param globalRequest 全局请求参数配置
|
|
71
|
+
*/
|
|
72
|
+
export declare function getRequestOrderParamList(sorter?: Sorter, request?: RequestOption, globalRequest?: RequestOption): OrderParamList;
|
|
73
|
+
/**
|
|
74
|
+
* 生成请求的筛选参数
|
|
75
|
+
* @param filter 筛选条件
|
|
76
|
+
*/
|
|
77
|
+
export declare function getRequestFilters(filter?: Filter): Filters;
|
|
78
|
+
/**
|
|
79
|
+
* 生成请求的分页参数
|
|
80
|
+
* @param currentPage 页码
|
|
81
|
+
* @param pageSize 每页数量
|
|
82
|
+
* @param request 请求参数配置
|
|
83
|
+
* @param globalRequest 全局请求参数配置
|
|
84
|
+
*/
|
|
85
|
+
export declare function getRequestPageParam(currentPage: number, pageSize: number, request?: RequestOption, globalRequest?: RequestOption): PageParam;
|
|
86
|
+
/**
|
|
87
|
+
* 获取数据源请求结果
|
|
88
|
+
* @param data 数据源请求的原始数据
|
|
89
|
+
* @param response 响应参数配置
|
|
90
|
+
* @param globalResponse 全局响应参数配置
|
|
91
|
+
* @param lazy 表格是否开启懒加载
|
|
92
|
+
* @param treeOpt 树形表格字段名配置
|
|
93
|
+
*/
|
|
94
|
+
export declare function getResponseResult(data: DatasourceResult, response?: ResponseOption, globalResponse?: ResponseOption, lazy?: boolean, treeOpt?: TreeProps): ResponseResult;
|
|
95
|
+
/**
|
|
96
|
+
* 树形懒加载时数据增加可展开的字段标识
|
|
97
|
+
* @param data 请求数据
|
|
98
|
+
* @param lazy 表格是否开启懒加载
|
|
99
|
+
* @param treeProps 树形表格字段名配置
|
|
100
|
+
*/
|
|
101
|
+
export declare function getResponseData(data?: DataItem[] | null, lazy?: boolean, treeProps?: TreeProps): DataItem[] | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* 排序数据
|
|
104
|
+
* @param datasource 数据源
|
|
105
|
+
* @param sorter 排序方式
|
|
106
|
+
*/
|
|
107
|
+
export declare function sortData(datasource?: DataItem[], sorter?: Sorter): DataItem[];
|
|
108
|
+
/**
|
|
109
|
+
* 前端分页排序
|
|
110
|
+
* @param datasource 数据源
|
|
111
|
+
* @param sorter 排序方式
|
|
112
|
+
* @param currentPage 当前页码
|
|
113
|
+
* @param pageSize 每页数量
|
|
114
|
+
*/
|
|
115
|
+
export declare function reloadData(datasource?: DataItem[], sorter?: Sorter, currentPage?: number, pageSize?: number): ReloadDataResult;
|
|
116
|
+
/**
|
|
117
|
+
* 获取列配置标识
|
|
118
|
+
* @param column 列数据
|
|
119
|
+
*/
|
|
120
|
+
export declare function getColId(column: Column): string | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* 获取初始显示的列数据
|
|
123
|
+
* @param columns 列数据
|
|
124
|
+
* @param cacheColsWidth 缓存的列宽
|
|
125
|
+
*/
|
|
126
|
+
export declare function getInitColumns(columns: Columns, cacheColsWidth?: ColItem[]): Columns;
|
|
127
|
+
/**
|
|
128
|
+
* 获取初始显示的列数据
|
|
129
|
+
* @param columns 列数据
|
|
130
|
+
* @param cacheKey 缓存名称
|
|
131
|
+
* @param sortable 是否可排序
|
|
132
|
+
*/
|
|
133
|
+
export declare function getInitCacheColumns(columns: Columns, cacheKey?: string, sortable?: boolean): Columns;
|
|
134
|
+
/**
|
|
135
|
+
* 获取显示的列配置
|
|
136
|
+
* @param columns 原始列数据
|
|
137
|
+
* @param cols 列配置数据
|
|
138
|
+
* @param sortable 是否进行排序
|
|
139
|
+
* @param isHideInCol 用于排序时计算不显示在配置中的列
|
|
140
|
+
* @param filter 强制过滤的列
|
|
141
|
+
* @param reserveUnchecked 是否保留未选中的列
|
|
142
|
+
* @param cacheColsWidth 缓存的列宽
|
|
143
|
+
*/
|
|
144
|
+
export declare function getCheckedColumns(columns: Columns | undefined, cols: ColItem[], sortable: boolean | undefined, isHideInCol?: (item: Column) => boolean | undefined, filter?: (item: Column) => boolean, reserveUnchecked?: boolean, cacheColsWidth?: ColItem[]): Columns;
|
|
145
|
+
/**
|
|
146
|
+
* 获取列展示列表数据
|
|
147
|
+
* @param columns 列配置
|
|
148
|
+
* @param locale 国际化
|
|
149
|
+
* @param filter 过滤列的方法
|
|
150
|
+
* @param cacheCols 缓存的列展示列表数据
|
|
151
|
+
* @param sortFixed 是否对固定列排序
|
|
152
|
+
* @param cancelFixed 是否取消固定列
|
|
153
|
+
* @param cacheColsWidth 缓存的列宽
|
|
154
|
+
*/
|
|
155
|
+
export declare function getColItems(columns: Columns | undefined, locale: TableLocale, filter?: (item: Column) => boolean, cacheCols?: ColItem[], sortFixed?: boolean, cancelFixed?: boolean, cacheColsWidth?: ColItem[]): {
|
|
156
|
+
cols: ColItem[];
|
|
157
|
+
checkAll: boolean;
|
|
158
|
+
indeterminate: boolean;
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* 获取表格密度缓存的名称
|
|
162
|
+
* @param cacheKey 缓存的名称
|
|
163
|
+
*/
|
|
164
|
+
export declare function getSizeCacheKey(cacheKey: string): string;
|
|
165
|
+
/**
|
|
166
|
+
* 获取列配置缓存的名称
|
|
167
|
+
* @param cacheKey 缓存的名称
|
|
168
|
+
*/
|
|
169
|
+
export declare function getColsCacheKey<T extends CacheKey>(cacheKey: T): T;
|
|
170
|
+
/**
|
|
171
|
+
* 获取表格列宽缓存的名称
|
|
172
|
+
* @param cacheKey 缓存的名称
|
|
173
|
+
*/
|
|
174
|
+
export declare function getColsWidthCacheKey(cacheKey: string): string;
|
|
175
|
+
/**
|
|
176
|
+
* 获取导出的列配置缓存的名称
|
|
177
|
+
* @param cacheKey 缓存的名称
|
|
178
|
+
*/
|
|
179
|
+
/**
|
|
180
|
+
* 获取导出的列宽缓存的名称
|
|
181
|
+
* @param cacheKey 缓存的名称
|
|
182
|
+
*/
|
|
183
|
+
/**
|
|
184
|
+
* 获取打印的列配置缓存的名称
|
|
185
|
+
* @param cacheKey 缓存的名称
|
|
186
|
+
*/
|
|
187
|
+
/**
|
|
188
|
+
* 获取打印的列宽缓存的名称
|
|
189
|
+
* @param cacheKey 缓存的名称
|
|
190
|
+
*/
|
|
191
|
+
/**
|
|
192
|
+
* 获取缓存的列配置下拉列表数据
|
|
193
|
+
* @param cacheKey 缓存的名称
|
|
194
|
+
*/
|
|
195
|
+
export declare function getCacheCols(cacheKey?: string): ColItem[] | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* 获取缓存的表格密度
|
|
198
|
+
* @param cacheKey 缓存的名称
|
|
199
|
+
*/
|
|
200
|
+
export declare function getCacheSize(cacheKey?: string): TableSize;
|
|
201
|
+
/**
|
|
202
|
+
* 获取缓存的列宽
|
|
203
|
+
* @param cacheKey 缓存的名称
|
|
204
|
+
*/
|
|
205
|
+
export declare function getCacheColsWidth(cacheKey?: string): ColItem[] | undefined;
|
|
206
|
+
/**
|
|
207
|
+
* 获取列对应的缓存的列宽
|
|
208
|
+
* @param cacheColsWidth 缓存的列宽
|
|
209
|
+
* @param column 列配置
|
|
210
|
+
*/
|
|
211
|
+
export declare function getCacheColWidth(cacheColsWidth?: ColItem[], column?: Column): number | string | undefined;
|
|
212
|
+
/**
|
|
213
|
+
* 缓存列宽
|
|
214
|
+
* @param width 列宽
|
|
215
|
+
* @param column 列配置
|
|
216
|
+
* @param cacheKey 缓存的名称
|
|
217
|
+
*/
|
|
218
|
+
export declare function cacheColWidth(width: number, column?: Column, cacheKey?: string): void;
|
|
219
|
+
/**
|
|
220
|
+
* 获取 rowKey
|
|
221
|
+
* @param rowKey 自定义 rowKey
|
|
222
|
+
*/
|
|
223
|
+
export declare function getRowKey(rowKey?: RowKey): string | ((row: DataItem) => string);
|
|
224
|
+
/**
|
|
225
|
+
* 导出获取单元格文本
|
|
226
|
+
* @param column 列配置
|
|
227
|
+
* @param row 行数据
|
|
228
|
+
* @param index 行索引
|
|
229
|
+
* @param pageIndex 序号列起始索引
|
|
230
|
+
*/
|
|
231
|
+
export declare function getCellText(column: Column | undefined, row: DataItem, index: number, pageIndex?: number): string;
|
|
232
|
+
/**
|
|
233
|
+
* 导出获取表头单元格文本
|
|
234
|
+
* @param column 列配置
|
|
235
|
+
* @param index 行索引
|
|
236
|
+
*/
|
|
237
|
+
export declare function getHeaderCellText(column: Column | undefined, index: number): string;
|
|
238
|
+
/**
|
|
239
|
+
* 获取主体数据封装节点
|
|
240
|
+
* @param data 数据
|
|
241
|
+
* @param childrenField 子级字段名
|
|
242
|
+
* @param level 树形所处深度
|
|
243
|
+
* @param parents 父级节点
|
|
244
|
+
*/
|
|
245
|
+
export declare function getExportBodyNode(data: DataItem[], childrenField?: string, level?: number, parents?: ExportBodyNode[]): {
|
|
246
|
+
depth: number;
|
|
247
|
+
nodes: ExportBodyNode[];
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* 获取导出的数据
|
|
251
|
+
* @param data 元数据
|
|
252
|
+
* @param columns 列配置
|
|
253
|
+
* @param spanMethod 单元格合并方法
|
|
254
|
+
* @param pageIndex 序号列起始索引
|
|
255
|
+
* @param showSummary 是否显示合计行
|
|
256
|
+
* @param sumText 合计行文本
|
|
257
|
+
* @param summaryMethod 合计行自定义方法
|
|
258
|
+
* @param childrenField 子级字段名
|
|
259
|
+
* @param showTreeIndex 是否显示层级序号
|
|
260
|
+
* @param showHeader 是否显示表头
|
|
261
|
+
*/
|
|
262
|
+
export declare function getExportData(data: DataItem[], columns: Columns, spanMethod?: SpanMethod, pageIndex?: number, showSummary?: boolean, sumText?: string, summaryMethod?: SummaryMethod, childrenField?: string, showTreeIndex?: boolean, showHeader?: boolean): ExportDataResult;
|
|
263
|
+
/**
|
|
264
|
+
* 导出 csv 文件
|
|
265
|
+
* @param fileName 文件名
|
|
266
|
+
* @param headerData 表头数据
|
|
267
|
+
* @param bodyData 主体数据
|
|
268
|
+
* @param footerData 表尾数据
|
|
269
|
+
*/
|
|
270
|
+
export declare function exportCSV(fileName: string, headerData: ExportDataItem[][], bodyData: ExportDataItem[][], footerData: ExportDataItem[][]): void;
|
|
271
|
+
/**
|
|
272
|
+
* 导出判断列是否显示
|
|
273
|
+
* @param item 列配置
|
|
274
|
+
*/
|
|
275
|
+
export declare function columnsExportFilter(item: Column): boolean;
|
|
276
|
+
/**
|
|
277
|
+
* 打印判断列是否显示
|
|
278
|
+
* @param item 列配置
|
|
279
|
+
*/
|
|
280
|
+
export declare function columnsPrintFilter(item: Column): boolean;
|
|
281
|
+
/**
|
|
282
|
+
* 列配置判断列是否显示
|
|
283
|
+
* @param item 列配置
|
|
284
|
+
*/
|
|
285
|
+
export declare function columnsSettingFilter(item: Column): boolean;
|