ele-admin-plus 1.0.0-beta.2 → 1.0.0-beta.4
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 +3 -0
- package/es/components.js +92 -86
- package/es/ele-alert/index.d.ts +62 -0
- package/es/ele-alert/index.js +129 -0
- package/es/ele-alert/props.d.ts +36 -0
- package/es/ele-alert/props.js +48 -0
- package/es/ele-alert/style/css-var.scss +11 -0
- package/es/ele-alert/style/index.js +1 -0
- package/es/ele-alert/style/index.scss +148 -0
- package/es/ele-app/index.d.ts +1 -0
- package/es/ele-app/style/common.scss +134 -32
- package/es/ele-app/style/css-var.scss +2 -2
- package/es/ele-app/types/index.d.ts +27 -0
- package/es/ele-avatar-group/index.d.ts +3 -0
- package/es/ele-avatar-group/index.js +10 -9
- package/es/ele-avatar-group/props.d.ts +1 -0
- package/es/ele-avatar-group/props.js +3 -1
- package/es/ele-avatar-group/style/index.scss +32 -0
- package/es/ele-basic-select/index.d.ts +2 -19171
- package/es/ele-basic-select/index.js +2 -2
- package/es/ele-bottom-bar/style/index.scss +1 -1
- package/es/ele-breadcrumb/index.d.ts +2 -165
- package/es/ele-card/style/index.scss +28 -26
- package/es/ele-config-provider/index.d.ts +3 -7
- package/es/ele-config-provider/index.js +1 -8
- package/es/ele-config-provider/props.d.ts +9 -2
- package/es/ele-config-provider/props.js +5 -3
- package/{lib/ele-config-provider/use-receiver.d.ts → es/ele-config-provider/receiver.d.ts} +8 -2
- package/es/ele-config-provider/receiver.js +198 -0
- package/es/ele-config-provider/types/index.d.ts +24 -13
- package/es/ele-cropper/components/cropper-tools.js +1 -1
- package/es/ele-cropper/index.d.ts +12 -9
- package/es/ele-cropper/index.js +29 -30
- package/es/ele-cropper/props.d.ts +3 -4
- package/es/ele-cropper/style/index.js +1 -1
- package/es/ele-cropper/types/index.d.ts +10 -2
- package/es/ele-cropper-modal/index.d.ts +6 -6
- package/es/ele-cropper-modal/index.js +1 -1
- package/es/ele-cropper-modal/props.d.ts +2 -2
- package/es/ele-dashboard/index.js +1 -1
- package/es/ele-drawer/index.d.ts +2 -355
- package/es/ele-drawer/index.js +1 -1
- package/es/ele-edit-tag/index.d.ts +2 -804
- package/es/ele-edit-tag/index.js +1 -2
- package/es/ele-ellipsis/index.d.ts +6 -3
- package/es/ele-ellipsis/index.js +16 -23
- package/es/ele-ellipsis/props.d.ts +1 -0
- package/es/ele-file-list/components/file-grid-item.d.ts +5 -24370
- package/es/ele-file-list/components/file-grid-item.js +8 -1
- package/es/ele-file-list/components/file-grid.d.ts +4 -2
- package/es/ele-file-list/components/file-table-item.d.ts +5 -24370
- package/es/ele-file-list/components/file-table-item.js +8 -1
- package/es/ele-file-list/components/file-table.d.ts +4 -2
- package/es/ele-file-list/index.d.ts +2 -1561
- package/es/ele-file-list/index.js +25 -15
- package/es/ele-file-list/style/index.scss +0 -1
- package/es/ele-icon-select/components/icon-grid.d.ts +5 -1
- package/es/ele-icon-select/components/icon-grid.js +24 -14
- package/es/ele-icon-select/components/icon-popper.d.ts +15 -1
- package/es/ele-icon-select/components/icon-popper.js +52 -41
- package/es/ele-icon-select/index.d.ts +14 -0
- package/es/ele-icon-select/index.js +9 -2
- package/es/ele-icon-select/props.d.ts +8 -1
- package/es/ele-icon-select/props.js +14 -0
- package/es/ele-icon-select/style/index.scss +142 -140
- package/es/ele-map-picker/components/map-view.js +4 -5
- package/es/ele-map-picker/index.d.ts +6 -1
- package/es/ele-map-picker/index.js +11 -23
- package/es/ele-map-picker/props.d.ts +10 -4
- package/es/ele-map-picker/props.js +9 -7
- package/es/ele-map-picker/style/index.scss +1 -0
- package/es/ele-menus/index.d.ts +2 -156
- package/es/ele-menus/index.js +3 -12
- package/es/ele-menus/props.d.ts +6 -0
- package/es/ele-menus/props.js +2 -0
- package/es/ele-menus/style/index.scss +12 -5
- package/es/ele-modal/index.d.ts +7 -903
- package/es/ele-modal/index.js +38 -49
- package/es/ele-modal/props.d.ts +10 -0
- package/es/ele-modal/props.js +4 -0
- package/es/ele-modal/style/index.scss +1 -1
- package/es/ele-modal/util.d.ts +3 -3
- package/es/ele-modal/util.js +8 -7
- package/es/ele-page/index.d.ts +8 -2
- package/es/ele-page/props.d.ts +4 -1
- package/es/ele-page/props.js +4 -1
- package/es/ele-pagination/index.d.ts +6 -6
- package/es/ele-pagination/props.d.ts +3 -3
- package/es/ele-printer/index.d.ts +37 -0
- package/es/ele-printer/index.js +119 -0
- package/es/ele-printer/props.d.ts +25 -0
- package/es/ele-printer/props.js +32 -0
- package/es/ele-printer/style/index.js +1 -0
- package/es/ele-printer/style/index.scss +58 -0
- package/es/ele-printer/types/index.d.ts +40 -0
- package/es/ele-printer/util.d.ts +39 -0
- package/es/ele-printer/util.js +174 -0
- package/es/ele-pro-layout/components/pro-iframe.d.ts +29 -0
- package/es/ele-pro-layout/components/pro-iframe.js +116 -0
- package/es/ele-pro-layout/components/pro-sidebar.d.ts +3 -9
- package/es/ele-pro-layout/components/pro-sidebar.js +19 -9
- package/es/ele-pro-layout/components/pro-sidebox.d.ts +2 -1
- package/es/ele-pro-layout/components/pro-sidebox.js +19 -5
- package/es/ele-pro-layout/components/{pro-tab-bar.d.ts → pro-tabs.d.ts} +3 -2
- package/es/ele-pro-layout/components/{pro-tab-bar.js → pro-tabs.js} +4 -3
- package/es/ele-pro-layout/index.js +66 -103
- package/es/ele-pro-layout/props.d.ts +6 -4
- package/es/ele-pro-layout/props.js +9 -8
- package/es/ele-pro-layout/style/collapse.scss +60 -42
- package/es/ele-pro-layout/style/css-var.scss +3 -1
- package/es/ele-pro-layout/style/header.scss +8 -3
- package/es/ele-pro-layout/style/layout-mobile.scss +1 -1
- package/es/ele-pro-layout/style/layout-style.scss +9 -4
- package/es/ele-pro-layout/style/layout.scss +14 -1
- package/es/ele-pro-layout/style/sidebar.scss +21 -6
- package/es/ele-pro-layout/style/tabs.scss +3 -26
- package/es/ele-pro-layout/types/index.d.ts +23 -18
- package/es/ele-pro-layout/util.d.ts +8 -12
- package/es/ele-pro-layout/util.js +74 -22
- package/es/ele-pro-table/components/table-tools.d.ts +2 -2
- package/es/ele-pro-table/components/table-tools.js +1 -1
- package/es/ele-pro-table/components/table-view.d.ts +51 -618
- package/es/ele-pro-table/components/table-view.js +11 -24
- package/es/ele-pro-table/index.d.ts +81 -1674
- package/es/ele-pro-table/index.js +90 -129
- package/es/ele-pro-table/props.d.ts +133 -25
- package/es/ele-pro-table/props.js +36 -30
- package/es/ele-pro-table/style/index.scss +96 -57
- package/es/ele-pro-table/types/index.d.ts +24 -4
- package/es/ele-pro-table/util.d.ts +27 -10
- package/es/ele-pro-table/util.js +49 -13
- package/es/ele-segmented/index.d.ts +33 -0
- package/es/ele-segmented/index.js +77 -0
- package/es/ele-segmented/props.d.ts +23 -0
- package/es/ele-segmented/props.js +25 -0
- package/es/ele-segmented/style/css-var.scss +15 -0
- package/es/ele-segmented/style/index.js +4 -0
- package/es/ele-segmented/style/index.scss +102 -0
- package/es/ele-segmented/types/index.d.ts +25 -0
- package/es/ele-split-panel/index.d.ts +7 -8
- package/es/ele-split-panel/index.js +8 -13
- package/es/ele-split-panel/style/index.scss +26 -25
- package/es/ele-steps/index.d.ts +13 -1
- package/es/ele-steps/index.js +14 -14
- package/es/ele-steps/style/index.scss +24 -9
- package/es/ele-table/style/index.scss +1 -0
- package/es/ele-table-select/index.js +1 -1
- package/es/ele-table-select/types/index.d.ts +7 -0
- package/es/ele-tabs/components/tab-title.d.ts +5 -4
- package/es/ele-tabs/index.d.ts +17 -269
- package/es/ele-tabs/index.js +19 -26
- package/es/ele-tabs/props.d.ts +10 -2
- package/es/ele-tabs/props.js +4 -0
- package/es/ele-tabs/style/css-var.scss +7 -7
- package/es/ele-tabs/style/index.scss +4 -3
- package/es/ele-tabs/types/index.d.ts +1 -5
- package/es/ele-text/index.d.ts +2 -0
- package/es/ele-text/index.js +7 -5
- package/es/ele-text/props.d.ts +7 -1
- package/es/ele-text/props.js +5 -1
- package/es/ele-toolbar/index.d.ts +15 -2
- package/es/ele-toolbar/index.js +18 -18
- package/es/ele-toolbar/props.d.ts +8 -2
- package/es/ele-toolbar/props.js +10 -1
- package/es/ele-toolbar/style/index.scss +2 -17
- package/es/ele-tour/index.d.ts +10 -20739
- package/es/ele-tour/index.js +8 -9
- package/es/ele-tour/style/index.scss +5 -4
- package/es/ele-tour/util.js +1 -0
- package/es/ele-upload-list/components/list-item.d.ts +9 -6
- package/es/ele-upload-list/components/list-item.js +21 -24
- package/es/ele-upload-list/index.d.ts +14 -733
- package/es/ele-upload-list/index.js +15 -15
- package/es/ele-upload-list/props.d.ts +5 -0
- package/es/ele-upload-list/props.js +8 -1
- package/es/ele-upload-list/style/index.scss +15 -5
- package/es/ele-upload-list/types/index.d.ts +1 -1
- package/es/ele-watermark/index.js +1 -1
- package/es/ele-watermark/util.js +8 -10
- package/es/ele-xg-player/index.d.ts +1 -1
- package/es/ele-xg-player/index.js +22 -16
- package/es/icons/ArrowDown.js +1 -1
- package/es/icons/ArrowLeft.d.ts +2 -0
- package/es/icons/ArrowLeft.js +30 -0
- package/es/icons/ArrowUp.d.ts +2 -0
- package/es/icons/ArrowUp.js +31 -0
- package/es/icons/index.d.ts +2 -0
- package/es/icons/index.js +24 -20
- package/es/index.d.ts +0 -2
- package/es/index.js +0 -2
- package/es/lang/en_US.js +2 -2
- package/es/lang/zh_CN.js +1 -1
- package/es/lang/zh_TW.js +1 -1
- package/es/style/index.scss +3 -0
- package/es/style/themes/dark-css-var.scss +7 -3
- package/es/style/themes/dark.scss +1 -1
- package/es/style/themes/default.scss +75 -12
- package/es/utils/core.d.ts +13 -33
- package/es/utils/core.js +19 -39
- package/es/utils/menu-util.js +24 -2
- package/es/utils/message.js +1 -1
- package/es/utils/theme-util.d.ts +1 -1
- package/es/utils/theme-util.js +10 -10
- package/lib/components.d.ts +3 -0
- package/lib/components.js +92 -86
- package/lib/ele-alert/index.d.ts +62 -0
- package/lib/ele-alert/index.js +128 -0
- package/lib/ele-alert/props.d.ts +36 -0
- package/lib/ele-alert/props.js +48 -0
- package/lib/ele-alert/style/css-var.scss +11 -0
- package/lib/ele-alert/style/index.js +2 -0
- package/lib/ele-alert/style/index.scss +148 -0
- package/lib/ele-app/index.d.ts +1 -0
- package/lib/ele-app/style/common.scss +134 -32
- package/lib/ele-app/style/css-var.scss +2 -2
- package/lib/ele-app/types/index.d.ts +27 -0
- package/lib/ele-avatar-group/index.d.ts +3 -0
- package/lib/ele-avatar-group/index.js +10 -9
- package/lib/ele-avatar-group/props.d.ts +1 -0
- package/lib/ele-avatar-group/props.js +3 -1
- package/lib/ele-avatar-group/style/index.scss +32 -0
- package/lib/ele-basic-select/index.d.ts +2 -19171
- package/lib/ele-basic-select/index.js +3 -3
- package/lib/ele-bottom-bar/style/index.scss +1 -1
- package/lib/ele-breadcrumb/index.d.ts +2 -165
- package/lib/ele-card/style/index.scss +28 -26
- package/lib/ele-config-provider/index.d.ts +3 -7
- package/lib/ele-config-provider/index.js +11 -18
- package/lib/ele-config-provider/props.d.ts +9 -2
- package/lib/ele-config-provider/props.js +5 -3
- package/{es/ele-config-provider/use-receiver.d.ts → lib/ele-config-provider/receiver.d.ts} +8 -2
- package/lib/ele-config-provider/receiver.js +200 -0
- package/lib/ele-config-provider/types/index.d.ts +24 -13
- package/lib/ele-cropper/components/cropper-tools.js +2 -2
- package/lib/ele-cropper/index.d.ts +12 -9
- package/lib/ele-cropper/index.js +31 -32
- package/lib/ele-cropper/props.d.ts +3 -4
- package/lib/ele-cropper/style/index.js +1 -1
- package/lib/ele-cropper/types/index.d.ts +10 -2
- package/lib/ele-cropper-modal/index.d.ts +6 -6
- package/lib/ele-cropper-modal/index.js +2 -2
- package/lib/ele-cropper-modal/props.d.ts +2 -2
- package/lib/ele-dashboard/index.js +2 -2
- package/lib/ele-drawer/index.d.ts +2 -355
- package/lib/ele-drawer/index.js +1 -1
- package/lib/ele-edit-tag/index.d.ts +2 -804
- package/lib/ele-edit-tag/index.js +2 -3
- package/lib/ele-ellipsis/index.d.ts +6 -3
- package/lib/ele-ellipsis/index.js +15 -22
- package/lib/ele-ellipsis/props.d.ts +1 -0
- package/lib/ele-file-list/components/file-grid-item.d.ts +5 -24370
- package/lib/ele-file-list/components/file-grid-item.js +8 -1
- package/lib/ele-file-list/components/file-grid.d.ts +4 -2
- package/lib/ele-file-list/components/file-table-item.d.ts +5 -24370
- package/lib/ele-file-list/components/file-table-item.js +8 -1
- package/lib/ele-file-list/components/file-table.d.ts +4 -2
- package/lib/ele-file-list/index.d.ts +2 -1561
- package/lib/ele-file-list/index.js +27 -17
- package/lib/ele-file-list/style/index.scss +0 -1
- package/lib/ele-icon-select/components/icon-grid.d.ts +5 -1
- package/lib/ele-icon-select/components/icon-grid.js +23 -13
- package/lib/ele-icon-select/components/icon-popper.d.ts +15 -1
- package/lib/ele-icon-select/components/icon-popper.js +51 -40
- package/lib/ele-icon-select/index.d.ts +14 -0
- package/lib/ele-icon-select/index.js +10 -3
- package/lib/ele-icon-select/props.d.ts +8 -1
- package/lib/ele-icon-select/props.js +14 -0
- package/lib/ele-icon-select/style/index.scss +142 -140
- package/lib/ele-map-picker/components/map-view.js +4 -5
- package/lib/ele-map-picker/index.d.ts +6 -1
- package/lib/ele-map-picker/index.js +14 -26
- package/lib/ele-map-picker/props.d.ts +10 -4
- package/lib/ele-map-picker/props.js +9 -7
- package/lib/ele-map-picker/style/index.scss +1 -0
- package/lib/ele-menus/index.d.ts +2 -156
- package/lib/ele-menus/index.js +11 -20
- package/lib/ele-menus/props.d.ts +6 -0
- package/lib/ele-menus/props.js +2 -0
- package/lib/ele-menus/style/index.scss +12 -5
- package/lib/ele-modal/index.d.ts +7 -903
- package/lib/ele-modal/index.js +63 -74
- package/lib/ele-modal/props.d.ts +10 -0
- package/lib/ele-modal/props.js +4 -0
- package/lib/ele-modal/style/index.scss +1 -1
- package/lib/ele-modal/util.d.ts +3 -3
- package/lib/ele-modal/util.js +8 -7
- package/lib/ele-page/index.d.ts +8 -2
- package/lib/ele-page/props.d.ts +4 -1
- package/lib/ele-page/props.js +4 -1
- package/lib/ele-pagination/index.d.ts +6 -6
- package/lib/ele-pagination/props.d.ts +3 -3
- package/lib/ele-printer/index.d.ts +37 -0
- package/lib/ele-printer/index.js +118 -0
- package/lib/ele-printer/props.d.ts +25 -0
- package/lib/ele-printer/props.js +32 -0
- package/lib/ele-printer/style/index.js +2 -0
- package/lib/ele-printer/style/index.scss +58 -0
- package/lib/ele-printer/types/index.d.ts +40 -0
- package/lib/ele-printer/util.d.ts +39 -0
- package/lib/ele-printer/util.js +174 -0
- package/lib/ele-pro-layout/components/pro-iframe.d.ts +29 -0
- package/lib/ele-pro-layout/components/pro-iframe.js +115 -0
- package/lib/ele-pro-layout/components/pro-sidebar.d.ts +3 -9
- package/lib/ele-pro-layout/components/pro-sidebar.js +17 -7
- package/lib/ele-pro-layout/components/pro-sidebox.d.ts +2 -1
- package/lib/ele-pro-layout/components/pro-sidebox.js +17 -3
- package/lib/ele-pro-layout/components/{pro-tab-bar.d.ts → pro-tabs.d.ts} +3 -2
- package/lib/ele-pro-layout/components/{pro-tab-bar.js → pro-tabs.js} +4 -3
- package/lib/ele-pro-layout/index.js +65 -102
- package/lib/ele-pro-layout/props.d.ts +6 -4
- package/lib/ele-pro-layout/props.js +9 -8
- package/lib/ele-pro-layout/style/collapse.scss +60 -42
- package/lib/ele-pro-layout/style/css-var.scss +3 -1
- package/lib/ele-pro-layout/style/header.scss +8 -3
- package/lib/ele-pro-layout/style/layout-mobile.scss +1 -1
- package/lib/ele-pro-layout/style/layout-style.scss +9 -4
- package/lib/ele-pro-layout/style/layout.scss +14 -1
- package/lib/ele-pro-layout/style/sidebar.scss +21 -6
- package/lib/ele-pro-layout/style/tabs.scss +3 -26
- package/lib/ele-pro-layout/types/index.d.ts +23 -18
- package/lib/ele-pro-layout/util.d.ts +8 -12
- package/lib/ele-pro-layout/util.js +72 -20
- package/lib/ele-pro-table/components/table-tools.d.ts +2 -2
- package/lib/ele-pro-table/components/table-tools.js +2 -2
- package/lib/ele-pro-table/components/table-view.d.ts +51 -618
- package/lib/ele-pro-table/components/table-view.js +11 -24
- package/lib/ele-pro-table/index.d.ts +81 -1674
- package/lib/ele-pro-table/index.js +125 -164
- package/lib/ele-pro-table/props.d.ts +133 -25
- package/lib/ele-pro-table/props.js +35 -29
- package/lib/ele-pro-table/style/index.scss +96 -57
- package/lib/ele-pro-table/types/index.d.ts +24 -4
- package/lib/ele-pro-table/util.d.ts +27 -10
- package/lib/ele-pro-table/util.js +48 -12
- package/lib/ele-segmented/index.d.ts +33 -0
- package/lib/ele-segmented/index.js +76 -0
- package/lib/ele-segmented/props.d.ts +23 -0
- package/lib/ele-segmented/props.js +25 -0
- package/lib/ele-segmented/style/css-var.scss +15 -0
- package/lib/ele-segmented/style/index.js +5 -0
- package/lib/ele-segmented/style/index.scss +102 -0
- package/lib/ele-segmented/types/index.d.ts +25 -0
- package/lib/ele-split-panel/index.d.ts +7 -8
- package/lib/ele-split-panel/index.js +10 -15
- package/lib/ele-split-panel/style/index.scss +26 -25
- package/lib/ele-steps/index.d.ts +13 -1
- package/lib/ele-steps/index.js +13 -13
- package/lib/ele-steps/style/index.scss +24 -9
- package/lib/ele-table/style/index.scss +1 -0
- package/lib/ele-table-select/index.js +2 -2
- package/lib/ele-table-select/types/index.d.ts +7 -0
- package/lib/ele-tabs/components/tab-title.d.ts +5 -4
- package/lib/ele-tabs/index.d.ts +17 -269
- package/lib/ele-tabs/index.js +21 -28
- package/lib/ele-tabs/props.d.ts +10 -2
- package/lib/ele-tabs/props.js +4 -0
- package/lib/ele-tabs/style/css-var.scss +7 -7
- package/lib/ele-tabs/style/index.scss +4 -3
- package/lib/ele-tabs/types/index.d.ts +1 -5
- package/lib/ele-text/index.d.ts +2 -0
- package/lib/ele-text/index.js +7 -5
- package/lib/ele-text/props.d.ts +7 -1
- package/lib/ele-text/props.js +5 -1
- package/lib/ele-toolbar/index.d.ts +15 -2
- package/lib/ele-toolbar/index.js +17 -17
- package/lib/ele-toolbar/props.d.ts +8 -2
- package/lib/ele-toolbar/props.js +10 -1
- package/lib/ele-toolbar/style/index.scss +2 -17
- package/lib/ele-tour/index.d.ts +10 -20739
- package/lib/ele-tour/index.js +9 -10
- package/lib/ele-tour/style/index.scss +5 -4
- package/lib/ele-tour/util.js +1 -0
- package/lib/ele-upload-list/components/list-item.d.ts +9 -6
- package/lib/ele-upload-list/components/list-item.js +20 -23
- package/lib/ele-upload-list/index.d.ts +14 -733
- package/lib/ele-upload-list/index.js +16 -16
- package/lib/ele-upload-list/props.d.ts +5 -0
- package/lib/ele-upload-list/props.js +8 -1
- package/lib/ele-upload-list/style/index.scss +15 -5
- package/lib/ele-upload-list/types/index.d.ts +1 -1
- package/lib/ele-watermark/index.js +2 -2
- package/lib/ele-watermark/util.js +8 -10
- package/lib/ele-xg-player/index.d.ts +1 -1
- package/lib/ele-xg-player/index.js +21 -15
- package/lib/icons/ArrowDown.js +1 -1
- package/lib/icons/ArrowLeft.d.ts +2 -0
- package/lib/icons/ArrowLeft.js +29 -0
- package/lib/icons/ArrowUp.d.ts +2 -0
- package/lib/icons/ArrowUp.js +30 -0
- package/lib/icons/index.d.ts +2 -0
- package/lib/icons/index.js +4 -0
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -16
- package/lib/lang/en_US.js +2 -2
- package/lib/lang/zh_CN.js +1 -1
- package/lib/lang/zh_TW.js +1 -1
- package/lib/style/index.scss +3 -0
- package/lib/style/themes/dark-css-var.scss +7 -3
- package/lib/style/themes/dark.scss +1 -1
- package/lib/style/themes/default.scss +75 -12
- package/lib/utils/core.d.ts +13 -33
- package/lib/utils/core.js +19 -39
- package/lib/utils/menu-util.js +24 -2
- package/lib/utils/message.js +1 -1
- package/lib/utils/theme-util.d.ts +1 -1
- package/lib/utils/theme-util.js +10 -10
- package/package.json +19 -18
- package/typings/global.d.ts +3 -1
- package/es/ele-config-provider/keys.d.ts +0 -8
- package/es/ele-config-provider/keys.js +0 -6
- package/es/ele-config-provider/use-receiver.js +0 -38
- package/es/utils/iframe-component.d.ts +0 -8
- package/es/utils/iframe-component.js +0 -70
- package/es/utils/license-util.d.ts +0 -9
- package/es/utils/license-util.js +0 -176
- package/es/utils/printer.d.ts +0 -100
- package/es/utils/printer.js +0 -612
- package/lib/ele-config-provider/keys.d.ts +0 -8
- package/lib/ele-config-provider/keys.js +0 -6
- package/lib/ele-config-provider/use-receiver.js +0 -38
- package/lib/utils/iframe-component.d.ts +0 -8
- package/lib/utils/iframe-component.js +0 -70
- package/lib/utils/license-util.d.ts +0 -9
- package/lib/utils/license-util.js +0 -176
- package/lib/utils/printer.d.ts +0 -100
- package/lib/utils/printer.js +0 -612
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.ele-icon-select
|
|
11
|
+
.ele-icon-select {
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
}
|
|
@@ -19,175 +19,177 @@
|
|
|
19
19
|
padding: 0 12px;
|
|
20
20
|
box-sizing: border-box;
|
|
21
21
|
box-shadow: 0 -1px 0 elVar('border-color', 'lighter') inset;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ele-icon-select-tabs {
|
|
25
|
+
flex: 1;
|
|
26
|
+
overflow: auto;
|
|
27
|
+
overflow: overlay;
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
22
30
|
|
|
23
31
|
.ele-icon-select-tab {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
32
|
+
height: 42px;
|
|
33
|
+
line-height: 42px;
|
|
34
|
+
padding: 0 2px;
|
|
35
|
+
box-sizing: border-box;
|
|
36
|
+
transition: color 0.3s, background-color 0.3s;
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
position: relative;
|
|
39
|
+
cursor: pointer;
|
|
29
40
|
|
|
30
|
-
.ele-icon-select-tab
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
padding: 0 2px;
|
|
34
|
-
box-sizing: border-box;
|
|
35
|
-
transition: color 0.3s, background-color 0.3s;
|
|
36
|
-
white-space: nowrap;
|
|
37
|
-
position: relative;
|
|
38
|
-
cursor: pointer;
|
|
39
|
-
|
|
40
|
-
& + .ele-icon-select-tab-item {
|
|
41
|
-
margin-left: 16px;
|
|
42
|
-
}
|
|
41
|
+
& + .ele-icon-select-tab {
|
|
42
|
+
margin-left: 16px;
|
|
43
|
+
}
|
|
43
44
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
45
|
+
&::after {
|
|
46
|
+
content: '';
|
|
47
|
+
width: 100%;
|
|
48
|
+
height: 2px;
|
|
49
|
+
position: absolute;
|
|
50
|
+
left: 0;
|
|
51
|
+
bottom: 0;
|
|
52
|
+
opacity: 0;
|
|
53
|
+
transform: scaleX(0.0001);
|
|
54
|
+
background: elVar('color-primary');
|
|
55
|
+
transition: transform 0.15s cubic-bezier(0.215, 0.61, 0.355, 1),
|
|
56
|
+
opacity 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
57
|
+
}
|
|
57
58
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
&:hover {
|
|
60
|
+
color: elVar('color-primary');
|
|
61
|
+
}
|
|
61
62
|
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
&.is-active {
|
|
64
|
+
color: elVar('color-primary');
|
|
64
65
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
66
|
+
&::after {
|
|
67
|
+
opacity: 1;
|
|
68
|
+
transform: scaleX(1);
|
|
69
|
+
transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1),
|
|
70
|
+
opacity 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
+
}
|
|
74
75
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
76
|
+
.ele-icon-select-search {
|
|
77
|
+
width: 100%;
|
|
78
|
+
flex-shrink: 0;
|
|
79
|
+
padding: 8px 0;
|
|
80
|
+
box-sizing: border-box;
|
|
81
|
+
}
|
|
81
82
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}
|
|
83
|
+
.ele-icon-select-tabs + .ele-icon-select-search {
|
|
84
|
+
width: 120px;
|
|
85
|
+
padding-left: 12px;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
.ele-icon-select-
|
|
88
|
+
.ele-icon-select-main {
|
|
89
89
|
flex: 1;
|
|
90
90
|
display: flex;
|
|
91
91
|
overflow: auto;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.ele-icon-select-menus {
|
|
95
|
+
width: 120px;
|
|
96
|
+
height: 100%;
|
|
97
|
+
flex-shrink: 0;
|
|
98
|
+
overflow: auto;
|
|
99
|
+
overflow: overlay;
|
|
100
|
+
padding: 12px 0;
|
|
101
|
+
box-sizing: border-box;
|
|
102
|
+
box-shadow: -1px 0 0 elVar('border-color', 'lighter') inset;
|
|
92
103
|
|
|
93
104
|
.ele-icon-select-menu {
|
|
94
|
-
|
|
95
|
-
height:
|
|
96
|
-
|
|
97
|
-
overflow: auto;
|
|
98
|
-
overflow: overlay;
|
|
99
|
-
padding: 12px 0;
|
|
105
|
+
height: 36px;
|
|
106
|
+
line-height: 36px;
|
|
107
|
+
padding: 0 12px;
|
|
100
108
|
box-sizing: border-box;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
position:
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
right: 0;
|
|
123
|
-
opacity: 0;
|
|
124
|
-
transform: scaleY(0.0001);
|
|
125
|
-
background: elVar('color-primary');
|
|
126
|
-
transition: transform 0.15s cubic-bezier(0.215, 0.61, 0.355, 1),
|
|
127
|
-
opacity 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
128
|
-
}
|
|
109
|
+
overflow: hidden;
|
|
110
|
+
text-overflow: ellipsis;
|
|
111
|
+
white-space: nowrap;
|
|
112
|
+
word-break: break-all;
|
|
113
|
+
transition: color 0.3s, background-color 0.3s;
|
|
114
|
+
position: relative;
|
|
115
|
+
cursor: pointer;
|
|
116
|
+
|
|
117
|
+
&::after {
|
|
118
|
+
content: '';
|
|
119
|
+
width: 2.5px;
|
|
120
|
+
height: 100%;
|
|
121
|
+
position: absolute;
|
|
122
|
+
top: 0;
|
|
123
|
+
right: 0;
|
|
124
|
+
opacity: 0;
|
|
125
|
+
transform: scaleY(0.0001);
|
|
126
|
+
background: elVar('color-primary');
|
|
127
|
+
transition: transform 0.15s cubic-bezier(0.215, 0.61, 0.355, 1),
|
|
128
|
+
opacity 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
129
|
+
}
|
|
129
130
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
&:hover {
|
|
132
|
+
color: elVar('color-primary');
|
|
133
|
+
}
|
|
133
134
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
&:active {
|
|
136
|
+
background: elVar('color-primary', 'light-9');
|
|
137
|
+
}
|
|
137
138
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
&.is-active {
|
|
140
|
+
color: elVar('color-primary');
|
|
141
|
+
background: elVar('color-primary', 'light-9');
|
|
141
142
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
}
|
|
143
|
+
&::after {
|
|
144
|
+
opacity: 1;
|
|
145
|
+
transform: scaleY(1);
|
|
146
|
+
transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1),
|
|
147
|
+
opacity 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
|
+
}
|
|
151
152
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
153
|
+
.ele-icon-select-body {
|
|
154
|
+
flex: 1;
|
|
155
|
+
height: 100%;
|
|
156
|
+
padding: 12px;
|
|
157
|
+
box-sizing: border-box;
|
|
158
|
+
overflow: auto;
|
|
159
|
+
overflow: overlay;
|
|
160
|
+
}
|
|
160
161
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
margin: 0 8px 8px 0;
|
|
167
|
-
vertical-align: top;
|
|
168
|
-
display: inline-flex;
|
|
169
|
-
flex-direction: column;
|
|
170
|
-
justify-content: center;
|
|
171
|
-
align-items: center;
|
|
172
|
-
box-sizing: border-box;
|
|
173
|
-
border: 1px solid elVar('border-color', 'lighter');
|
|
174
|
-
transition: color 0.3s, background-color 0.3s, border-color 0.3s;
|
|
175
|
-
border-radius: 6px;
|
|
176
|
-
overflow: hidden;
|
|
177
|
-
cursor: pointer;
|
|
178
|
-
|
|
179
|
-
&:hover {
|
|
180
|
-
color: elVar('color-primary');
|
|
181
|
-
border-color: elVar('color-primary', 'light-9');
|
|
182
|
-
background: elVar('color-primary', 'light-9');
|
|
183
|
-
}
|
|
162
|
+
.ele-icon-select-grid {
|
|
163
|
+
box-sizing: border-box;
|
|
164
|
+
display: grid;
|
|
165
|
+
grid-template-columns: repeat(5, 1fr);
|
|
166
|
+
grid-gap: 8px;
|
|
184
167
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
168
|
+
.ele-icon-select-item {
|
|
169
|
+
height: 48px;
|
|
170
|
+
font-size: 22px;
|
|
171
|
+
display: flex;
|
|
172
|
+
flex-direction: column;
|
|
173
|
+
justify-content: center;
|
|
174
|
+
align-items: center;
|
|
175
|
+
box-sizing: border-box;
|
|
176
|
+
border: 1px solid elVar('border-color', 'lighter');
|
|
177
|
+
transition: color 0.3s, background-color 0.3s, border-color 0.3s;
|
|
178
|
+
border-radius: 6px;
|
|
179
|
+
overflow: hidden;
|
|
180
|
+
cursor: pointer;
|
|
181
|
+
|
|
182
|
+
&:hover {
|
|
183
|
+
color: elVar('color-primary');
|
|
184
|
+
border-color: elVar('color-primary', 'light-9');
|
|
185
|
+
background: elVar('color-primary', 'light-9');
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
&.is-active {
|
|
189
|
+
color: elVar('color-primary');
|
|
190
|
+
border-color: elVar('color-primary');
|
|
191
|
+
background: elVar('color-primary', 'light-9');
|
|
192
|
+
border-width: 2px;
|
|
191
193
|
}
|
|
192
194
|
}
|
|
193
195
|
}
|
|
@@ -2,9 +2,9 @@ import { defineComponent, ref, computed, watch, onMounted, onBeforeUnmount, next
|
|
|
2
2
|
import AMapLoader from "@amap/amap-jsapi-loader";
|
|
3
3
|
import { ElAutocomplete, ElInput, ElButton, ElIcon, ElEmpty } from "element-plus";
|
|
4
4
|
import { Plus, Location, CircleCheck, Search, Check } from "@element-plus/icons-vue";
|
|
5
|
+
import { useLicense } from "../../ele-config-provider/receiver";
|
|
5
6
|
import EleLoading from "../../ele-loading/index";
|
|
6
|
-
import {
|
|
7
|
-
import { mapViewProps } from "../props";
|
|
7
|
+
import { mapProps } from "../props";
|
|
8
8
|
const ICON_CLASS = "ele-map-view-main-icon";
|
|
9
9
|
const _sfc_main = defineComponent({
|
|
10
10
|
name: "MapView",
|
|
@@ -20,7 +20,7 @@ const _sfc_main = defineComponent({
|
|
|
20
20
|
CircleCheck,
|
|
21
21
|
Search
|
|
22
22
|
},
|
|
23
|
-
props:
|
|
23
|
+
props: mapProps,
|
|
24
24
|
emits: {
|
|
25
25
|
done: (_result) => true,
|
|
26
26
|
mapDone: (_ins) => true
|
|
@@ -156,7 +156,6 @@ const _sfc_main = defineComponent({
|
|
|
156
156
|
};
|
|
157
157
|
const onConfirm = () => {
|
|
158
158
|
if (!authenticated.value) {
|
|
159
|
-
console.warn(UNAUTHORIZED_TIP);
|
|
160
159
|
return;
|
|
161
160
|
}
|
|
162
161
|
if (!selected.value) {
|
|
@@ -548,7 +547,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
548
547
|
createElementVNode("div", _hoisted_5, [
|
|
549
548
|
createVNode(_component_EleLoading, {
|
|
550
549
|
loading: _ctx.poiLoading,
|
|
551
|
-
class: "ele-map-view-list"
|
|
550
|
+
class: "ele-map-view-list ele-scrollbar-hover ele-scrollbar-mini"
|
|
552
551
|
}, {
|
|
553
552
|
default: withCtx(() => [
|
|
554
553
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.data, (item) => {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
1
2
|
import type { CenterPoint, MapLocale } from './types';
|
|
3
|
+
import type { MapProps } from './props';
|
|
4
|
+
import type MapViewType from "./components/map-view";
|
|
5
|
+
export type MapViewInstance = InstanceType<typeof MapViewType> | null;
|
|
2
6
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
7
|
modelValue: BooleanConstructor;
|
|
4
8
|
modalProps: import("vue").PropType<Partial<Omit<import("../ele-modal/props").ModalProps, "modelValue">>>;
|
|
@@ -62,10 +66,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
62
66
|
okText: StringConstructor;
|
|
63
67
|
emptyProps: import("vue").PropType<Partial<import("element-plus").EmptyProps>>;
|
|
64
68
|
}, {
|
|
65
|
-
mapRef: any
|
|
69
|
+
mapRef: Ref<any>;
|
|
66
70
|
lang: import("vue").ComputedRef<MapLocale>;
|
|
67
71
|
isResponsive: import("vue").ComputedRef<boolean>;
|
|
68
72
|
aMapKey: import("vue").ComputedRef<string | undefined>;
|
|
73
|
+
mapProps: import("vue").ComputedRef<Partial<MapProps>>;
|
|
69
74
|
updateModelValue: (value: boolean) => void;
|
|
70
75
|
onDone: (result: CenterPoint) => void;
|
|
71
76
|
onMapDone: (ins: any) => void;
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, mergeProps, createSlots, withCtx, createVNode, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { pick } from "../utils/core";
|
|
3
|
+
import { useLocale, useResponsive } from "../ele-config-provider/receiver";
|
|
3
4
|
import EleModal from "../ele-modal/index";
|
|
4
5
|
import MapView from "./components/map-view";
|
|
5
|
-
import {
|
|
6
|
+
import { mapPickerProps, mapPickerEmits, mapPropKeys } from "./props";
|
|
6
7
|
const _sfc_main = defineComponent({
|
|
7
8
|
name: "EleMapPicker",
|
|
8
9
|
components: { EleModal, MapView },
|
|
9
|
-
props:
|
|
10
|
-
emits:
|
|
10
|
+
props: mapPickerProps,
|
|
11
|
+
emits: mapPickerEmits,
|
|
11
12
|
setup(props, { emit }) {
|
|
12
13
|
const { lang, globalConfig } = useLocale("map", props);
|
|
13
14
|
const isResponsive = useResponsive(props);
|
|
14
15
|
const mapRef = ref(null);
|
|
15
16
|
const aMapKey = computed(() => props.mapKey || globalConfig.mapKey);
|
|
17
|
+
const mapProps = computed(() => {
|
|
18
|
+
return pick(props, mapPropKeys);
|
|
19
|
+
});
|
|
16
20
|
const updateModelValue = (value) => {
|
|
17
21
|
emit("update:modelValue", value);
|
|
18
22
|
};
|
|
@@ -27,6 +31,7 @@ const _sfc_main = defineComponent({
|
|
|
27
31
|
lang,
|
|
28
32
|
isResponsive,
|
|
29
33
|
aMapKey,
|
|
34
|
+
mapProps,
|
|
30
35
|
updateModelValue,
|
|
31
36
|
onDone,
|
|
32
37
|
onMapDone
|
|
@@ -52,32 +57,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
52
57
|
"onUpdate:modelValue": _ctx.updateModelValue
|
|
53
58
|
}), createSlots({
|
|
54
59
|
default: withCtx(() => [
|
|
55
|
-
createVNode(_component_MapView, {
|
|
60
|
+
createVNode(_component_MapView, mergeProps(_ctx.mapProps, {
|
|
56
61
|
ref: "mapRef",
|
|
57
|
-
height: _ctx.height,
|
|
58
|
-
center: _ctx.center,
|
|
59
|
-
zoom: _ctx.zoom,
|
|
60
|
-
selectedZoom: _ctx.selectedZoom,
|
|
61
|
-
poiLimit: _ctx.poiLimit,
|
|
62
|
-
poiType: _ctx.poiType,
|
|
63
|
-
poiKeywords: _ctx.poiKeywords,
|
|
64
|
-
poiRadius: _ctx.poiRadius,
|
|
65
|
-
returnRegions: _ctx.returnRegions,
|
|
66
|
-
required: _ctx.required,
|
|
67
|
-
suggestionCity: _ctx.suggestionCity,
|
|
68
|
-
keywordMode: _ctx.keywordMode,
|
|
69
|
-
markerSrc: _ctx.markerSrc,
|
|
70
|
-
mapVersion: _ctx.mapVersion,
|
|
71
|
-
mapStyle: _ctx.mapStyle,
|
|
72
|
-
darkMode: _ctx.darkMode,
|
|
73
|
-
emptyProps: _ctx.emptyProps,
|
|
74
62
|
message: _ctx.lang.message,
|
|
75
63
|
searchPlaceholder: _ctx.lang.placeholder,
|
|
76
64
|
okText: _ctx.lang.ok,
|
|
77
65
|
mapKey: _ctx.aMapKey,
|
|
78
66
|
onDone: _ctx.onDone,
|
|
79
67
|
onMapDone: _ctx.onMapDone
|
|
80
|
-
}, null,
|
|
68
|
+
}), null, 16, ["message", "searchPlaceholder", "okText", "mapKey", "onDone", "onMapDone"])
|
|
81
69
|
]),
|
|
82
70
|
_: 2
|
|
83
71
|
}, [
|
|
@@ -5,7 +5,7 @@ import type { MapLocale, CenterPoint } from './types';
|
|
|
5
5
|
/**
|
|
6
6
|
* 属性
|
|
7
7
|
*/
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const mapProps: {
|
|
9
9
|
height: {
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
default: string;
|
|
@@ -61,7 +61,7 @@ export declare const mapViewProps: {
|
|
|
61
61
|
okText: StringConstructor;
|
|
62
62
|
emptyProps: PropType<Partial<EmptyProps>>;
|
|
63
63
|
};
|
|
64
|
-
export declare const
|
|
64
|
+
export declare const mapPickerProps: {
|
|
65
65
|
modelValue: BooleanConstructor;
|
|
66
66
|
modalProps: PropType<Partial<Omit<ModalProps, "modelValue">>>;
|
|
67
67
|
responsive: {
|
|
@@ -124,14 +124,20 @@ export declare const mapModalProps: {
|
|
|
124
124
|
okText: StringConstructor;
|
|
125
125
|
emptyProps: PropType<Partial<EmptyProps>>;
|
|
126
126
|
};
|
|
127
|
-
export type
|
|
127
|
+
export type MapPickerProps = ExtractPropTypes<typeof mapPickerProps>;
|
|
128
|
+
export type MapProps = ExtractPropTypes<typeof mapProps>;
|
|
128
129
|
/**
|
|
129
130
|
* 事件
|
|
130
131
|
*/
|
|
131
|
-
export declare const
|
|
132
|
+
export declare const mapPickerEmits: {
|
|
132
133
|
done: (_result: CenterPoint) => boolean;
|
|
133
134
|
mapDone: (_ins: any) => boolean;
|
|
134
135
|
open: () => boolean;
|
|
135
136
|
closed: () => boolean;
|
|
136
137
|
'update:modelValue': (_value: boolean) => boolean;
|
|
137
138
|
};
|
|
139
|
+
export type MapPropKeys = Array<keyof typeof mapProps>;
|
|
140
|
+
/**
|
|
141
|
+
* 地图组件属性名
|
|
142
|
+
*/
|
|
143
|
+
export declare const mapPropKeys: MapPropKeys;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const mapProps = {
|
|
2
2
|
// 地图的高度
|
|
3
3
|
height: {
|
|
4
4
|
type: String,
|
|
@@ -75,8 +75,8 @@ const mapViewProps = {
|
|
|
75
75
|
// 空组件属性
|
|
76
76
|
emptyProps: Object
|
|
77
77
|
};
|
|
78
|
-
const
|
|
79
|
-
...
|
|
78
|
+
const mapPickerProps = {
|
|
79
|
+
...mapProps,
|
|
80
80
|
// 弹窗是否显示
|
|
81
81
|
modelValue: Boolean,
|
|
82
82
|
// 弹窗参数
|
|
@@ -89,7 +89,7 @@ const mapModalProps = {
|
|
|
89
89
|
// 国际化
|
|
90
90
|
locale: Object
|
|
91
91
|
};
|
|
92
|
-
const
|
|
92
|
+
const mapPickerEmits = {
|
|
93
93
|
// 选择完成事件
|
|
94
94
|
done: (_result) => true,
|
|
95
95
|
// 地图渲染完成事件
|
|
@@ -101,8 +101,10 @@ const mapModalEmits = {
|
|
|
101
101
|
// 更新弹窗打开状态
|
|
102
102
|
"update:modelValue": (_value) => true
|
|
103
103
|
};
|
|
104
|
+
const mapPropKeys = Object.keys(mapProps);
|
|
104
105
|
export {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
mapPickerEmits,
|
|
107
|
+
mapPickerProps,
|
|
108
|
+
mapPropKeys,
|
|
109
|
+
mapProps
|
|
108
110
|
};
|