vxe-pc-ui 0.0.1 → 0.0.2
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/LICENSE +21 -0
- package/README.md +48 -5
- package/es/anchor/index.js +8 -0
- package/es/anchor/src/anchor.js +202 -0
- package/es/anchor/style.css +40 -0
- package/es/anchor/style.min.css +1 -0
- package/es/anchor-link/index.js +8 -0
- package/es/anchor-link/src/anchor-link.js +94 -0
- package/es/anchor-link/src/util.js +19 -0
- package/es/anchor-link/style.css +0 -0
- package/es/anchor-link/style.min.css +0 -0
- package/es/breadcrumb/index.js +8 -0
- package/es/breadcrumb/src/breadcrumb.js +44 -0
- package/es/breadcrumb/style.css +19 -0
- package/es/breadcrumb/style.min.css +1 -0
- package/es/breadcrumb-item/index.js +8 -0
- package/es/breadcrumb-item/src/breadcrumb-item.js +54 -0
- package/es/breadcrumb-item/style.css +0 -0
- package/es/breadcrumb-item/style.min.css +0 -0
- package/es/button/index.js +8 -0
- package/es/button/src/button.js +487 -0
- package/es/button/style.css +513 -0
- package/es/button/style.min.css +1 -0
- package/es/button-group/index.js +8 -0
- package/es/button-group/src/button-group.js +66 -0
- package/es/button-group/style.css +0 -0
- package/es/button-group/style.min.css +0 -0
- package/es/col/index.js +8 -0
- package/es/col/src/col.js +80 -0
- package/es/col/style.css +95 -0
- package/es/col/style.min.css +1 -0
- package/es/components.js +57 -0
- package/es/design/index.js +8 -0
- package/es/design/src/design.js +41 -0
- package/es/design/style.css +0 -0
- package/es/design/style.min.css +0 -0
- package/es/hooks/size.js +10 -0
- package/es/icon/index.js +8 -0
- package/es/icon/src/icon.js +24 -0
- package/es/icon/style.css +766 -0
- package/es/icon/style.min.css +1 -0
- package/es/index.esm.js +3 -0
- package/es/layout-aside/index.js +8 -0
- package/es/layout-aside/src/layout-aside.js +68 -0
- package/es/layout-aside/style.css +12 -0
- package/es/layout-aside/style.min.css +1 -0
- package/es/layout-body/index.js +8 -0
- package/es/layout-body/src/layout-body.js +37 -0
- package/es/layout-body/style.css +3 -0
- package/es/layout-body/style.min.css +1 -0
- package/es/layout-container/index.js +8 -0
- package/es/layout-container/src/layout-container.js +41 -0
- package/es/layout-container/style.css +10 -0
- package/es/layout-container/style.min.css +1 -0
- package/es/layout-footer/index.js +8 -0
- package/es/layout-footer/src/layout-footer.js +41 -0
- package/es/layout-footer/style.css +10 -0
- package/es/layout-footer/style.min.css +1 -0
- package/es/layout-header/index.js +8 -0
- package/es/layout-header/src/layout-header.js +41 -0
- package/es/layout-header/style.css +10 -0
- package/es/layout-header/style.min.css +1 -0
- package/es/locale/lang/en-US.d.ts +2 -0
- package/es/locale/lang/en-US.js +463 -0
- package/es/locale/lang/es-ES.d.ts +2 -0
- package/es/locale/lang/es-ES.js +463 -0
- package/es/locale/lang/ja-JP.d.ts +2 -0
- package/es/locale/lang/ja-JP.js +463 -0
- package/es/locale/lang/pt-BR.d.ts +2 -0
- package/es/locale/lang/pt-BR.js +463 -0
- package/es/locale/lang/zh-CN.d.ts +2 -0
- package/es/locale/lang/zh-CN.js +463 -0
- package/es/locale/lang/zh-HK.d.ts +2 -0
- package/es/locale/lang/zh-HK.js +2 -0
- package/es/locale/lang/zh-MO.d.ts +2 -0
- package/es/locale/lang/zh-MO.js +2 -0
- package/es/locale/lang/zh-TC.d.ts +2 -0
- package/es/locale/lang/zh-TC.js +463 -0
- package/es/locale/lang/zh-TW.d.ts +2 -0
- package/es/locale/lang/zh-TW.js +2 -0
- package/es/row/index.js +8 -0
- package/es/row/src/row.js +69 -0
- package/es/row/style.css +10 -0
- package/es/row/style.min.css +1 -0
- package/es/style.css +1 -0
- package/es/style.min.css +1 -0
- package/es/ui/index.js +4 -0
- package/es/ui/src/core.js +41 -0
- package/es/ui/src/dom.js +90 -0
- package/es/ui/src/event.js +75 -0
- package/es/ui/src/globalStore.js +8 -0
- package/es/ui/src/iconStore.js +76 -0
- package/es/ui/src/log.js +13 -0
- package/es/ui/src/theme.js +10 -0
- package/es/ui/src/utils.js +17 -0
- package/es/ui/style.css +0 -0
- package/es/ui/style.min.css +0 -0
- package/es/vxe-anchor/index.js +3 -0
- package/es/vxe-anchor/style.css +40 -0
- package/es/vxe-anchor/style.min.css +1 -0
- package/es/vxe-anchor-link/index.js +3 -0
- package/es/vxe-anchor-link/style.css +0 -0
- package/es/vxe-anchor-link/style.min.css +0 -0
- package/es/vxe-breadcrumb/index.js +3 -0
- package/es/vxe-breadcrumb/style.css +19 -0
- package/es/vxe-breadcrumb/style.min.css +1 -0
- package/es/vxe-breadcrumb-item/index.js +3 -0
- package/es/vxe-breadcrumb-item/style.css +0 -0
- package/es/vxe-breadcrumb-item/style.min.css +0 -0
- package/es/vxe-button/index.js +3 -0
- package/es/vxe-button/style.css +513 -0
- package/es/vxe-button/style.min.css +1 -0
- package/es/vxe-button-group/index.js +3 -0
- package/es/vxe-button-group/style.css +0 -0
- package/es/vxe-button-group/style.min.css +0 -0
- package/es/vxe-col/index.js +3 -0
- package/es/vxe-col/style.css +95 -0
- package/es/vxe-col/style.min.css +1 -0
- package/es/vxe-design/index.js +3 -0
- package/es/vxe-design/style.css +0 -0
- package/es/vxe-design/style.min.css +0 -0
- package/es/vxe-icon/index.js +3 -0
- package/es/vxe-icon/style.css +766 -0
- package/es/vxe-icon/style.min.css +1 -0
- package/es/vxe-layout-aside/index.js +3 -0
- package/es/vxe-layout-aside/style.css +12 -0
- package/es/vxe-layout-aside/style.min.css +1 -0
- package/es/vxe-layout-body/index.js +3 -0
- package/es/vxe-layout-body/style.css +3 -0
- package/es/vxe-layout-body/style.min.css +1 -0
- package/es/vxe-layout-container/index.js +3 -0
- package/es/vxe-layout-container/style.css +10 -0
- package/es/vxe-layout-container/style.min.css +1 -0
- package/es/vxe-layout-footer/index.js +3 -0
- package/es/vxe-layout-footer/style.css +10 -0
- package/es/vxe-layout-footer/style.min.css +1 -0
- package/es/vxe-layout-header/index.js +3 -0
- package/es/vxe-layout-header/style.css +10 -0
- package/es/vxe-layout-header/style.min.css +1 -0
- package/es/vxe-row/index.js +3 -0
- package/es/vxe-row/style.css +10 -0
- package/es/vxe-row/style.min.css +1 -0
- package/es/vxe-ui/index.js +3 -0
- package/es/vxe-ui/style.css +0 -0
- package/es/vxe-ui/style.min.css +0 -0
- package/lib/anchor/index.js +15 -0
- package/lib/anchor/index.min.js +1 -0
- package/lib/anchor/src/anchor.js +220 -0
- package/lib/anchor/src/anchor.min.js +1 -0
- package/lib/anchor/style/index.js +1 -0
- package/lib/anchor/style/style.css +40 -0
- package/lib/anchor/style/style.min.css +1 -0
- package/lib/anchor-link/index.js +15 -0
- package/lib/anchor-link/index.min.js +1 -0
- package/lib/anchor-link/src/anchor-link.js +106 -0
- package/lib/anchor-link/src/anchor-link.min.js +1 -0
- package/lib/anchor-link/src/util.js +29 -0
- package/lib/anchor-link/src/util.min.js +1 -0
- package/lib/anchor-link/style/index.js +1 -0
- package/lib/anchor-link/style/style.css +0 -0
- package/lib/anchor-link/style/style.min.css +0 -0
- package/lib/breadcrumb/index.js +15 -0
- package/lib/breadcrumb/index.min.js +1 -0
- package/lib/breadcrumb/src/breadcrumb.js +53 -0
- package/lib/breadcrumb/src/breadcrumb.min.js +1 -0
- package/lib/breadcrumb/style/index.js +1 -0
- package/lib/breadcrumb/style/style.css +19 -0
- package/lib/breadcrumb/style/style.min.css +1 -0
- package/lib/breadcrumb-item/index.js +15 -0
- package/lib/breadcrumb-item/index.min.js +1 -0
- package/lib/breadcrumb-item/src/breadcrumb-item.js +58 -0
- package/lib/breadcrumb-item/src/breadcrumb-item.min.js +1 -0
- package/lib/breadcrumb-item/style/index.js +1 -0
- package/lib/breadcrumb-item/style/style.css +0 -0
- package/lib/breadcrumb-item/style/style.min.css +0 -0
- package/lib/button/index.js +15 -0
- package/lib/button/index.min.js +1 -0
- package/lib/button/src/button.js +540 -0
- package/lib/button/src/button.min.js +1 -0
- package/lib/button/style/index.js +1 -0
- package/lib/button/style/style.css +513 -0
- package/lib/button/style/style.min.css +1 -0
- package/lib/button-group/index.js +15 -0
- package/lib/button-group/index.min.js +1 -0
- package/lib/button-group/src/button-group.js +88 -0
- package/lib/button-group/src/button-group.min.js +1 -0
- package/lib/button-group/style/index.js +1 -0
- package/lib/button-group/style/style.css +0 -0
- package/lib/button-group/style/style.min.css +0 -0
- package/lib/col/index.js +15 -0
- package/lib/col/index.min.js +1 -0
- package/lib/col/src/col.js +96 -0
- package/lib/col/src/col.min.js +1 -0
- package/lib/col/style/index.js +1 -0
- package/lib/col/style/style.css +95 -0
- package/lib/col/style/style.min.css +1 -0
- package/lib/components.js +230 -0
- package/lib/components.min.js +1 -0
- package/lib/design/index.js +15 -0
- package/lib/design/index.min.js +1 -0
- package/lib/design/src/design.js +48 -0
- package/lib/design/src/design.min.js +1 -0
- package/lib/design/style/index.js +1 -0
- package/lib/design/style/style.css +0 -0
- package/lib/design/style/style.min.css +0 -0
- package/lib/hooks/size.js +16 -0
- package/lib/hooks/size.min.js +1 -0
- package/lib/icon/index.js +15 -0
- package/lib/icon/index.min.js +1 -0
- package/lib/icon/src/icon.js +36 -0
- package/lib/icon/src/icon.min.js +1 -0
- package/lib/icon/style/index.js +1 -0
- package/lib/icon/style/style.css +766 -0
- package/lib/icon/style/style.min.css +1 -0
- package/lib/index.common.js +22 -0
- package/lib/index.umd.js +4461 -0
- package/lib/index.umd.min.js +1 -0
- package/lib/layout-aside/index.js +15 -0
- package/lib/layout-aside/index.min.js +1 -0
- package/lib/layout-aside/src/layout-aside.js +80 -0
- package/lib/layout-aside/src/layout-aside.min.js +1 -0
- package/lib/layout-aside/style/index.js +1 -0
- package/lib/layout-aside/style/style.css +12 -0
- package/lib/layout-aside/style/style.min.css +1 -0
- package/lib/layout-body/index.js +15 -0
- package/lib/layout-body/index.min.js +1 -0
- package/lib/layout-body/src/layout-body.js +46 -0
- package/lib/layout-body/src/layout-body.min.js +1 -0
- package/lib/layout-body/style/index.js +1 -0
- package/lib/layout-body/style/style.css +3 -0
- package/lib/layout-body/style/style.min.css +1 -0
- package/lib/layout-container/index.js +15 -0
- package/lib/layout-container/index.min.js +1 -0
- package/lib/layout-container/src/layout-container.js +50 -0
- package/lib/layout-container/src/layout-container.min.js +1 -0
- package/lib/layout-container/style/index.js +1 -0
- package/lib/layout-container/style/style.css +10 -0
- package/lib/layout-container/style/style.min.css +1 -0
- package/lib/layout-footer/index.js +15 -0
- package/lib/layout-footer/index.min.js +1 -0
- package/lib/layout-footer/src/layout-footer.js +50 -0
- package/lib/layout-footer/src/layout-footer.min.js +1 -0
- package/lib/layout-footer/style/index.js +1 -0
- package/lib/layout-footer/style/style.css +10 -0
- package/lib/layout-footer/style/style.min.css +1 -0
- package/lib/layout-header/index.js +15 -0
- package/lib/layout-header/index.min.js +1 -0
- package/lib/layout-header/src/layout-header.js +50 -0
- package/lib/layout-header/src/layout-header.min.js +1 -0
- package/lib/layout-header/style/index.js +1 -0
- package/lib/layout-header/style/style.css +10 -0
- package/lib/layout-header/style/style.min.css +1 -0
- package/lib/locale/lang/en-US.d.ts +2 -0
- package/lib/locale/lang/en-US.js +469 -0
- package/lib/locale/lang/en-US.min.js +1 -0
- package/lib/locale/lang/en-US.umd.js +483 -0
- package/lib/locale/lang/es-ES.d.ts +2 -0
- package/lib/locale/lang/es-ES.js +469 -0
- package/lib/locale/lang/es-ES.min.js +1 -0
- package/lib/locale/lang/es-ES.umd.js +483 -0
- package/lib/locale/lang/ja-JP.d.ts +2 -0
- package/lib/locale/lang/ja-JP.js +469 -0
- package/lib/locale/lang/ja-JP.min.js +1 -0
- package/lib/locale/lang/ja-JP.umd.js +483 -0
- package/lib/locale/lang/pt-BR.d.ts +2 -0
- package/lib/locale/lang/pt-BR.js +469 -0
- package/lib/locale/lang/pt-BR.min.js +1 -0
- package/lib/locale/lang/pt-BR.umd.js +483 -0
- package/lib/locale/lang/zh-CN.d.ts +2 -0
- package/lib/locale/lang/zh-CN.js +469 -0
- package/lib/locale/lang/zh-CN.min.js +1 -0
- package/lib/locale/lang/zh-CN.umd.js +483 -0
- package/lib/locale/lang/zh-HK.d.ts +2 -0
- package/lib/locale/lang/zh-HK.js +9 -0
- package/lib/locale/lang/zh-HK.min.js +1 -0
- package/lib/locale/lang/zh-HK.umd.js +483 -0
- package/lib/locale/lang/zh-MO.d.ts +2 -0
- package/lib/locale/lang/zh-MO.js +9 -0
- package/lib/locale/lang/zh-MO.min.js +1 -0
- package/lib/locale/lang/zh-MO.umd.js +483 -0
- package/lib/locale/lang/zh-TC.d.ts +2 -0
- package/lib/locale/lang/zh-TC.js +469 -0
- package/lib/locale/lang/zh-TC.min.js +1 -0
- package/lib/locale/lang/zh-TC.umd.js +483 -0
- package/lib/locale/lang/zh-TW.d.ts +2 -0
- package/lib/locale/lang/zh-TW.js +9 -0
- package/lib/locale/lang/zh-TW.min.js +1 -0
- package/lib/locale/lang/zh-TW.umd.js +483 -0
- package/lib/row/index.js +15 -0
- package/lib/row/index.min.js +1 -0
- package/lib/row/src/row.js +82 -0
- package/lib/row/src/row.min.js +1 -0
- package/lib/row/style/index.js +1 -0
- package/lib/row/style/style.css +10 -0
- package/lib/row/style/style.min.css +1 -0
- package/lib/style.css +1 -0
- package/lib/style.min.css +1 -0
- package/lib/ui/index.js +25 -0
- package/lib/ui/index.min.js +1 -0
- package/lib/ui/src/core.js +53 -0
- package/lib/ui/src/core.min.js +1 -0
- package/lib/ui/src/dom.js +127 -0
- package/lib/ui/src/dom.min.js +1 -0
- package/lib/ui/src/event.js +100 -0
- package/lib/ui/src/event.min.js +1 -0
- package/lib/ui/src/globalStore.js +14 -0
- package/lib/ui/src/globalStore.min.js +1 -0
- package/lib/ui/src/iconStore.js +82 -0
- package/lib/ui/src/iconStore.min.js +1 -0
- package/lib/ui/src/log.js +22 -0
- package/lib/ui/src/log.min.js +1 -0
- package/lib/ui/src/theme.js +17 -0
- package/lib/ui/src/theme.min.js +1 -0
- package/lib/ui/src/utils.js +28 -0
- package/lib/ui/src/utils.min.js +1 -0
- package/lib/ui/style/index.js +1 -0
- package/lib/ui/style/style.css +0 -0
- package/lib/ui/style/style.min.css +0 -0
- package/lib/vxe-anchor/index.js +22 -0
- package/lib/vxe-anchor/index.min.js +1 -0
- package/lib/vxe-anchor/style/index.js +1 -0
- package/lib/vxe-anchor/style/style.css +40 -0
- package/lib/vxe-anchor/style/style.min.css +1 -0
- package/lib/vxe-anchor-link/index.js +22 -0
- package/lib/vxe-anchor-link/index.min.js +1 -0
- package/lib/vxe-anchor-link/style/index.js +1 -0
- package/lib/vxe-anchor-link/style/style.css +0 -0
- package/lib/vxe-anchor-link/style/style.min.css +0 -0
- package/lib/vxe-breadcrumb/index.js +22 -0
- package/lib/vxe-breadcrumb/index.min.js +1 -0
- package/lib/vxe-breadcrumb/style/index.js +1 -0
- package/lib/vxe-breadcrumb/style/style.css +19 -0
- package/lib/vxe-breadcrumb/style/style.min.css +1 -0
- package/lib/vxe-breadcrumb-item/index.js +22 -0
- package/lib/vxe-breadcrumb-item/index.min.js +1 -0
- package/lib/vxe-breadcrumb-item/style/index.js +1 -0
- package/lib/vxe-breadcrumb-item/style/style.css +0 -0
- package/lib/vxe-breadcrumb-item/style/style.min.css +0 -0
- package/lib/vxe-button/index.js +22 -0
- package/lib/vxe-button/index.min.js +1 -0
- package/lib/vxe-button/style/index.js +1 -0
- package/lib/vxe-button/style/style.css +513 -0
- package/lib/vxe-button/style/style.min.css +1 -0
- package/lib/vxe-button-group/index.js +22 -0
- package/lib/vxe-button-group/index.min.js +1 -0
- package/lib/vxe-button-group/style/index.js +1 -0
- package/lib/vxe-button-group/style/style.css +0 -0
- package/lib/vxe-button-group/style/style.min.css +0 -0
- package/lib/vxe-col/index.js +22 -0
- package/lib/vxe-col/index.min.js +1 -0
- package/lib/vxe-col/style/index.js +1 -0
- package/lib/vxe-col/style/style.css +95 -0
- package/lib/vxe-col/style/style.min.css +1 -0
- package/lib/vxe-design/index.js +22 -0
- package/lib/vxe-design/index.min.js +1 -0
- package/lib/vxe-design/style/index.js +1 -0
- package/lib/vxe-design/style/style.css +0 -0
- package/lib/vxe-design/style/style.min.css +0 -0
- package/lib/vxe-icon/index.js +22 -0
- package/lib/vxe-icon/index.min.js +1 -0
- package/lib/vxe-icon/style/index.js +1 -0
- package/lib/vxe-icon/style/style.css +766 -0
- package/lib/vxe-icon/style/style.min.css +1 -0
- package/lib/vxe-layout-aside/index.js +22 -0
- package/lib/vxe-layout-aside/index.min.js +1 -0
- package/lib/vxe-layout-aside/style/index.js +1 -0
- package/lib/vxe-layout-aside/style/style.css +12 -0
- package/lib/vxe-layout-aside/style/style.min.css +1 -0
- package/lib/vxe-layout-body/index.js +22 -0
- package/lib/vxe-layout-body/index.min.js +1 -0
- package/lib/vxe-layout-body/style/index.js +1 -0
- package/lib/vxe-layout-body/style/style.css +3 -0
- package/lib/vxe-layout-body/style/style.min.css +1 -0
- package/lib/vxe-layout-container/index.js +22 -0
- package/lib/vxe-layout-container/index.min.js +1 -0
- package/lib/vxe-layout-container/style/index.js +1 -0
- package/lib/vxe-layout-container/style/style.css +10 -0
- package/lib/vxe-layout-container/style/style.min.css +1 -0
- package/lib/vxe-layout-footer/index.js +22 -0
- package/lib/vxe-layout-footer/index.min.js +1 -0
- package/lib/vxe-layout-footer/style/index.js +1 -0
- package/lib/vxe-layout-footer/style/style.css +10 -0
- package/lib/vxe-layout-footer/style/style.min.css +1 -0
- package/lib/vxe-layout-header/index.js +22 -0
- package/lib/vxe-layout-header/index.min.js +1 -0
- package/lib/vxe-layout-header/style/index.js +1 -0
- package/lib/vxe-layout-header/style/style.css +10 -0
- package/lib/vxe-layout-header/style/style.min.css +1 -0
- package/lib/vxe-row/index.js +22 -0
- package/lib/vxe-row/index.min.js +1 -0
- package/lib/vxe-row/style/index.js +1 -0
- package/lib/vxe-row/style/style.css +10 -0
- package/lib/vxe-row/style/style.min.css +1 -0
- package/lib/vxe-ui/index.js +22 -0
- package/lib/vxe-ui/index.min.js +1 -0
- package/lib/vxe-ui/style/index.js +1 -0
- package/lib/vxe-ui/style/style.css +0 -0
- package/lib/vxe-ui/style/style.min.css +0 -0
- package/package.json +83 -55
- package/packages/anchor/index.ts +11 -0
- package/packages/anchor/src/anchor.ts +233 -0
- package/packages/anchor-link/index.ts +11 -0
- package/packages/anchor-link/src/anchor-link.ts +118 -0
- package/packages/anchor-link/src/util.ts +23 -0
- package/packages/breadcrumb/index.ts +11 -0
- package/packages/breadcrumb/src/breadcrumb.ts +60 -0
- package/packages/breadcrumb-item/index.ts +11 -0
- package/packages/breadcrumb-item/src/breadcrumb-item.ts +71 -0
- package/packages/button/index.ts +11 -0
- package/packages/button/src/button.ts +526 -0
- package/packages/button-group/index.ts +11 -0
- package/packages/button-group/src/button-group.ts +81 -0
- package/packages/col/index.ts +11 -0
- package/packages/col/src/col.ts +98 -0
- package/packages/components.ts +66 -0
- package/packages/design/index.ts +11 -0
- package/packages/design/src/design.ts +55 -0
- package/packages/hooks/size.ts +14 -0
- package/packages/icon/index.ts +11 -0
- package/packages/icon/src/icon.ts +27 -0
- package/packages/index.ts +4 -0
- package/packages/layout-aside/index.ts +11 -0
- package/packages/layout-aside/src/layout-aside.ts +85 -0
- package/packages/layout-body/index.ts +11 -0
- package/packages/layout-body/src/layout-body.ts +52 -0
- package/packages/layout-container/index.ts +11 -0
- package/packages/layout-container/src/layout-container.ts +56 -0
- package/packages/layout-footer/index.ts +11 -0
- package/packages/layout-footer/src/layout-footer.ts +56 -0
- package/packages/layout-header/index.ts +11 -0
- package/packages/layout-header/src/layout-header.ts +56 -0
- package/packages/locale/lang/en-US.ts +465 -0
- package/packages/locale/lang/es-ES.ts +465 -0
- package/packages/locale/lang/ja-JP.ts +465 -0
- package/packages/locale/lang/pt-BR.ts +465 -0
- package/packages/locale/lang/zh-CN.ts +465 -0
- package/packages/locale/lang/zh-HK.ts +3 -0
- package/packages/locale/lang/zh-MO.ts +3 -0
- package/packages/locale/lang/zh-TC.ts +465 -0
- package/packages/locale/lang/zh-TW.ts +3 -0
- package/packages/row/index.ts +11 -0
- package/packages/row/src/row.ts +86 -0
- package/packages/ui/index.ts +6 -0
- package/packages/ui/src/core.ts +51 -0
- package/packages/ui/src/dom.ts +103 -0
- package/packages/ui/src/event.ts +88 -0
- package/packages/ui/src/globalStore.ts +11 -0
- package/packages/ui/src/iconStore.ts +88 -0
- package/packages/ui/src/log.ts +16 -0
- package/packages/ui/src/theme.ts +13 -0
- package/packages/ui/src/utils.ts +22 -0
- package/styles/all.scss +17 -0
- package/styles/base.scss +16 -0
- package/styles/components/anchor-link.scss +0 -0
- package/styles/components/anchor.scss +42 -0
- package/styles/components/breadcrumb-item.scss +0 -0
- package/styles/components/breadcrumb.scss +20 -0
- package/styles/components/button-group.scss +0 -0
- package/styles/components/button.scss +357 -0
- package/styles/components/col.scss +32 -0
- package/styles/components/design.scss +1 -0
- package/styles/components/icon.scss +785 -0
- package/styles/components/layout-aside.scss +14 -0
- package/styles/components/layout-body.scss +5 -0
- package/styles/components/layout-container.scss +12 -0
- package/styles/components/layout-footer.scss +12 -0
- package/styles/components/layout-header.scss +12 -0
- package/styles/components/row.scss +10 -0
- package/styles/components/ui.scss +0 -0
- package/styles/helpers/mixin.scss +82 -0
- package/styles/icon/iconfont.ttf +0 -0
- package/styles/icon/iconfont.woff +0 -0
- package/styles/icon/iconfont.woff2 +0 -0
- package/styles/theme/base.scss +81 -0
- package/styles/theme/dark.scss +7 -0
- package/styles/theme/default.scss +5 -0
- package/types/all.d.ts +67 -0
- package/types/component/anchor-link.d.ts +74 -0
- package/types/component/anchor.d.ts +79 -0
- package/types/component/breadcrumb-item.d.ts +58 -0
- package/types/component/breadcrumb.d.ts +61 -0
- package/types/component/button-group.d.ts +86 -0
- package/types/component/button.d.ts +157 -0
- package/types/component/col.d.ts +58 -0
- package/types/component/design.d.ts +63 -0
- package/types/component/icon.d.ts +67 -0
- package/types/component/layout-aside.d.ts +57 -0
- package/types/component/layout-body.d.ts +58 -0
- package/types/component/layout-container.d.ts +58 -0
- package/types/component/layout-footer.d.ts +58 -0
- package/types/component/layout-header.d.ts +58 -0
- package/types/component/row.d.ts +65 -0
- package/types/index.d.ts +4 -0
- package/types/tool/common.d.ts +52 -0
- package/types/tool/index.d.ts +6 -0
- package/types/ui/global-config.d.ts +15 -0
- package/types/ui/global-icon.d.ts +15 -0
- package/types/ui/index.d.ts +42 -0
package/lib/index.umd.js
ADDED
|
@@ -0,0 +1,4461 @@
|
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
+
module.exports = factory(require("vue"), require("xe-utils"));
|
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
|
5
|
+
define([, "xe-utils"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["VxeUI"] = factory(require("vue"), require("xe-utils"));
|
|
8
|
+
else
|
|
9
|
+
root["VxeUI"] = factory(root["Vue"], root["XEUtils"]);
|
|
10
|
+
})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__9274__, __WEBPACK_EXTERNAL_MODULE__8871__) {
|
|
11
|
+
return /******/ (function() { // webpackBootstrap
|
|
12
|
+
/******/ "use strict";
|
|
13
|
+
/******/ var __webpack_modules__ = ({
|
|
14
|
+
|
|
15
|
+
/***/ 9274:
|
|
16
|
+
/***/ (function(module) {
|
|
17
|
+
|
|
18
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__9274__;
|
|
19
|
+
|
|
20
|
+
/***/ }),
|
|
21
|
+
|
|
22
|
+
/***/ 8871:
|
|
23
|
+
/***/ (function(module) {
|
|
24
|
+
|
|
25
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__8871__;
|
|
26
|
+
|
|
27
|
+
/***/ }),
|
|
28
|
+
|
|
29
|
+
/***/ 9306:
|
|
30
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
var isCallable = __webpack_require__(4901);
|
|
34
|
+
var tryToString = __webpack_require__(6823);
|
|
35
|
+
|
|
36
|
+
var $TypeError = TypeError;
|
|
37
|
+
|
|
38
|
+
// `Assert: IsCallable(argument) is true`
|
|
39
|
+
module.exports = function (argument) {
|
|
40
|
+
if (isCallable(argument)) return argument;
|
|
41
|
+
throw new $TypeError(tryToString(argument) + ' is not a function');
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/***/ }),
|
|
46
|
+
|
|
47
|
+
/***/ 8551:
|
|
48
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
var isObject = __webpack_require__(34);
|
|
52
|
+
|
|
53
|
+
var $String = String;
|
|
54
|
+
var $TypeError = TypeError;
|
|
55
|
+
|
|
56
|
+
// `Assert: Type(argument) is Object`
|
|
57
|
+
module.exports = function (argument) {
|
|
58
|
+
if (isObject(argument)) return argument;
|
|
59
|
+
throw new $TypeError($String(argument) + ' is not an object');
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
/***/ }),
|
|
64
|
+
|
|
65
|
+
/***/ 9617:
|
|
66
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
var toIndexedObject = __webpack_require__(5397);
|
|
70
|
+
var toAbsoluteIndex = __webpack_require__(5610);
|
|
71
|
+
var lengthOfArrayLike = __webpack_require__(6198);
|
|
72
|
+
|
|
73
|
+
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
74
|
+
var createMethod = function (IS_INCLUDES) {
|
|
75
|
+
return function ($this, el, fromIndex) {
|
|
76
|
+
var O = toIndexedObject($this);
|
|
77
|
+
var length = lengthOfArrayLike(O);
|
|
78
|
+
if (length === 0) return !IS_INCLUDES && -1;
|
|
79
|
+
var index = toAbsoluteIndex(fromIndex, length);
|
|
80
|
+
var value;
|
|
81
|
+
// Array#includes uses SameValueZero equality algorithm
|
|
82
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
83
|
+
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
84
|
+
value = O[index++];
|
|
85
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
86
|
+
if (value !== value) return true;
|
|
87
|
+
// Array#indexOf ignores holes, Array#includes - not
|
|
88
|
+
} else for (;length > index; index++) {
|
|
89
|
+
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
90
|
+
} return !IS_INCLUDES && -1;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
module.exports = {
|
|
95
|
+
// `Array.prototype.includes` method
|
|
96
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
97
|
+
includes: createMethod(true),
|
|
98
|
+
// `Array.prototype.indexOf` method
|
|
99
|
+
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
100
|
+
indexOf: createMethod(false)
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
/***/ }),
|
|
105
|
+
|
|
106
|
+
/***/ 4527:
|
|
107
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
var DESCRIPTORS = __webpack_require__(3724);
|
|
111
|
+
var isArray = __webpack_require__(4376);
|
|
112
|
+
|
|
113
|
+
var $TypeError = TypeError;
|
|
114
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
115
|
+
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
116
|
+
|
|
117
|
+
// Safari < 13 does not throw an error in this case
|
|
118
|
+
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
|
|
119
|
+
// makes no sense without proper strict mode support
|
|
120
|
+
if (this !== undefined) return true;
|
|
121
|
+
try {
|
|
122
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
123
|
+
Object.defineProperty([], 'length', { writable: false }).length = 1;
|
|
124
|
+
} catch (error) {
|
|
125
|
+
return error instanceof TypeError;
|
|
126
|
+
}
|
|
127
|
+
}();
|
|
128
|
+
|
|
129
|
+
module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
|
|
130
|
+
if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
|
|
131
|
+
throw new $TypeError('Cannot set read only .length');
|
|
132
|
+
} return O.length = length;
|
|
133
|
+
} : function (O, length) {
|
|
134
|
+
return O.length = length;
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
/***/ }),
|
|
139
|
+
|
|
140
|
+
/***/ 4576:
|
|
141
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
var uncurryThis = __webpack_require__(9504);
|
|
145
|
+
|
|
146
|
+
var toString = uncurryThis({}.toString);
|
|
147
|
+
var stringSlice = uncurryThis(''.slice);
|
|
148
|
+
|
|
149
|
+
module.exports = function (it) {
|
|
150
|
+
return stringSlice(toString(it), 8, -1);
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
/***/ }),
|
|
155
|
+
|
|
156
|
+
/***/ 7740:
|
|
157
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
var hasOwn = __webpack_require__(9297);
|
|
161
|
+
var ownKeys = __webpack_require__(5031);
|
|
162
|
+
var getOwnPropertyDescriptorModule = __webpack_require__(7347);
|
|
163
|
+
var definePropertyModule = __webpack_require__(4913);
|
|
164
|
+
|
|
165
|
+
module.exports = function (target, source, exceptions) {
|
|
166
|
+
var keys = ownKeys(source);
|
|
167
|
+
var defineProperty = definePropertyModule.f;
|
|
168
|
+
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
169
|
+
for (var i = 0; i < keys.length; i++) {
|
|
170
|
+
var key = keys[i];
|
|
171
|
+
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
172
|
+
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
/***/ }),
|
|
179
|
+
|
|
180
|
+
/***/ 6699:
|
|
181
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
var DESCRIPTORS = __webpack_require__(3724);
|
|
185
|
+
var definePropertyModule = __webpack_require__(4913);
|
|
186
|
+
var createPropertyDescriptor = __webpack_require__(6980);
|
|
187
|
+
|
|
188
|
+
module.exports = DESCRIPTORS ? function (object, key, value) {
|
|
189
|
+
return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
|
|
190
|
+
} : function (object, key, value) {
|
|
191
|
+
object[key] = value;
|
|
192
|
+
return object;
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
/***/ }),
|
|
197
|
+
|
|
198
|
+
/***/ 6980:
|
|
199
|
+
/***/ (function(module) {
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
module.exports = function (bitmap, value) {
|
|
203
|
+
return {
|
|
204
|
+
enumerable: !(bitmap & 1),
|
|
205
|
+
configurable: !(bitmap & 2),
|
|
206
|
+
writable: !(bitmap & 4),
|
|
207
|
+
value: value
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
/***/ }),
|
|
213
|
+
|
|
214
|
+
/***/ 6840:
|
|
215
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
var isCallable = __webpack_require__(4901);
|
|
219
|
+
var definePropertyModule = __webpack_require__(4913);
|
|
220
|
+
var makeBuiltIn = __webpack_require__(283);
|
|
221
|
+
var defineGlobalProperty = __webpack_require__(9433);
|
|
222
|
+
|
|
223
|
+
module.exports = function (O, key, value, options) {
|
|
224
|
+
if (!options) options = {};
|
|
225
|
+
var simple = options.enumerable;
|
|
226
|
+
var name = options.name !== undefined ? options.name : key;
|
|
227
|
+
if (isCallable(value)) makeBuiltIn(value, name, options);
|
|
228
|
+
if (options.global) {
|
|
229
|
+
if (simple) O[key] = value;
|
|
230
|
+
else defineGlobalProperty(key, value);
|
|
231
|
+
} else {
|
|
232
|
+
try {
|
|
233
|
+
if (!options.unsafe) delete O[key];
|
|
234
|
+
else if (O[key]) simple = true;
|
|
235
|
+
} catch (error) { /* empty */ }
|
|
236
|
+
if (simple) O[key] = value;
|
|
237
|
+
else definePropertyModule.f(O, key, {
|
|
238
|
+
value: value,
|
|
239
|
+
enumerable: false,
|
|
240
|
+
configurable: !options.nonConfigurable,
|
|
241
|
+
writable: !options.nonWritable
|
|
242
|
+
});
|
|
243
|
+
} return O;
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
/***/ }),
|
|
248
|
+
|
|
249
|
+
/***/ 9433:
|
|
250
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
var global = __webpack_require__(4475);
|
|
254
|
+
|
|
255
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
256
|
+
var defineProperty = Object.defineProperty;
|
|
257
|
+
|
|
258
|
+
module.exports = function (key, value) {
|
|
259
|
+
try {
|
|
260
|
+
defineProperty(global, key, { value: value, configurable: true, writable: true });
|
|
261
|
+
} catch (error) {
|
|
262
|
+
global[key] = value;
|
|
263
|
+
} return value;
|
|
264
|
+
};
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
/***/ }),
|
|
268
|
+
|
|
269
|
+
/***/ 3724:
|
|
270
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
var fails = __webpack_require__(9039);
|
|
274
|
+
|
|
275
|
+
// Detect IE8's incomplete defineProperty implementation
|
|
276
|
+
module.exports = !fails(function () {
|
|
277
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
278
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
279
|
+
});
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
/***/ }),
|
|
283
|
+
|
|
284
|
+
/***/ 4055:
|
|
285
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
var global = __webpack_require__(4475);
|
|
289
|
+
var isObject = __webpack_require__(34);
|
|
290
|
+
|
|
291
|
+
var document = global.document;
|
|
292
|
+
// typeof document.createElement is 'object' in old IE
|
|
293
|
+
var EXISTS = isObject(document) && isObject(document.createElement);
|
|
294
|
+
|
|
295
|
+
module.exports = function (it) {
|
|
296
|
+
return EXISTS ? document.createElement(it) : {};
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
/***/ }),
|
|
301
|
+
|
|
302
|
+
/***/ 6837:
|
|
303
|
+
/***/ (function(module) {
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
var $TypeError = TypeError;
|
|
307
|
+
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
308
|
+
|
|
309
|
+
module.exports = function (it) {
|
|
310
|
+
if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
|
|
311
|
+
return it;
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
/***/ }),
|
|
316
|
+
|
|
317
|
+
/***/ 9392:
|
|
318
|
+
/***/ (function(module) {
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
/***/ }),
|
|
325
|
+
|
|
326
|
+
/***/ 7388:
|
|
327
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
var global = __webpack_require__(4475);
|
|
331
|
+
var userAgent = __webpack_require__(9392);
|
|
332
|
+
|
|
333
|
+
var process = global.process;
|
|
334
|
+
var Deno = global.Deno;
|
|
335
|
+
var versions = process && process.versions || Deno && Deno.version;
|
|
336
|
+
var v8 = versions && versions.v8;
|
|
337
|
+
var match, version;
|
|
338
|
+
|
|
339
|
+
if (v8) {
|
|
340
|
+
match = v8.split('.');
|
|
341
|
+
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
|
342
|
+
// but their correct versions are not interesting for us
|
|
343
|
+
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
347
|
+
// so check `userAgent` even if `.v8` exists, but 0
|
|
348
|
+
if (!version && userAgent) {
|
|
349
|
+
match = userAgent.match(/Edge\/(\d+)/);
|
|
350
|
+
if (!match || match[1] >= 74) {
|
|
351
|
+
match = userAgent.match(/Chrome\/(\d+)/);
|
|
352
|
+
if (match) version = +match[1];
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
module.exports = version;
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
/***/ }),
|
|
360
|
+
|
|
361
|
+
/***/ 8727:
|
|
362
|
+
/***/ (function(module) {
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
// IE8- don't enum bug keys
|
|
366
|
+
module.exports = [
|
|
367
|
+
'constructor',
|
|
368
|
+
'hasOwnProperty',
|
|
369
|
+
'isPrototypeOf',
|
|
370
|
+
'propertyIsEnumerable',
|
|
371
|
+
'toLocaleString',
|
|
372
|
+
'toString',
|
|
373
|
+
'valueOf'
|
|
374
|
+
];
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
/***/ }),
|
|
378
|
+
|
|
379
|
+
/***/ 6518:
|
|
380
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
var global = __webpack_require__(4475);
|
|
384
|
+
var getOwnPropertyDescriptor = (__webpack_require__(7347).f);
|
|
385
|
+
var createNonEnumerableProperty = __webpack_require__(6699);
|
|
386
|
+
var defineBuiltIn = __webpack_require__(6840);
|
|
387
|
+
var defineGlobalProperty = __webpack_require__(9433);
|
|
388
|
+
var copyConstructorProperties = __webpack_require__(7740);
|
|
389
|
+
var isForced = __webpack_require__(2796);
|
|
390
|
+
|
|
391
|
+
/*
|
|
392
|
+
options.target - name of the target object
|
|
393
|
+
options.global - target is the global object
|
|
394
|
+
options.stat - export as static methods of target
|
|
395
|
+
options.proto - export as prototype methods of target
|
|
396
|
+
options.real - real prototype method for the `pure` version
|
|
397
|
+
options.forced - export even if the native feature is available
|
|
398
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
399
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
400
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
401
|
+
options.sham - add a flag to not completely full polyfills
|
|
402
|
+
options.enumerable - export as enumerable property
|
|
403
|
+
options.dontCallGetSet - prevent calling a getter on target
|
|
404
|
+
options.name - the .name of the function if it does not match the key
|
|
405
|
+
*/
|
|
406
|
+
module.exports = function (options, source) {
|
|
407
|
+
var TARGET = options.target;
|
|
408
|
+
var GLOBAL = options.global;
|
|
409
|
+
var STATIC = options.stat;
|
|
410
|
+
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
411
|
+
if (GLOBAL) {
|
|
412
|
+
target = global;
|
|
413
|
+
} else if (STATIC) {
|
|
414
|
+
target = global[TARGET] || defineGlobalProperty(TARGET, {});
|
|
415
|
+
} else {
|
|
416
|
+
target = global[TARGET] && global[TARGET].prototype;
|
|
417
|
+
}
|
|
418
|
+
if (target) for (key in source) {
|
|
419
|
+
sourceProperty = source[key];
|
|
420
|
+
if (options.dontCallGetSet) {
|
|
421
|
+
descriptor = getOwnPropertyDescriptor(target, key);
|
|
422
|
+
targetProperty = descriptor && descriptor.value;
|
|
423
|
+
} else targetProperty = target[key];
|
|
424
|
+
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
425
|
+
// contained in target
|
|
426
|
+
if (!FORCED && targetProperty !== undefined) {
|
|
427
|
+
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
428
|
+
copyConstructorProperties(sourceProperty, targetProperty);
|
|
429
|
+
}
|
|
430
|
+
// add a flag to not completely full polyfills
|
|
431
|
+
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
432
|
+
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
433
|
+
}
|
|
434
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
|
435
|
+
}
|
|
436
|
+
};
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
/***/ }),
|
|
440
|
+
|
|
441
|
+
/***/ 9039:
|
|
442
|
+
/***/ (function(module) {
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
module.exports = function (exec) {
|
|
446
|
+
try {
|
|
447
|
+
return !!exec();
|
|
448
|
+
} catch (error) {
|
|
449
|
+
return true;
|
|
450
|
+
}
|
|
451
|
+
};
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
/***/ }),
|
|
455
|
+
|
|
456
|
+
/***/ 616:
|
|
457
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
var fails = __webpack_require__(9039);
|
|
461
|
+
|
|
462
|
+
module.exports = !fails(function () {
|
|
463
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
464
|
+
var test = (function () { /* empty */ }).bind();
|
|
465
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
466
|
+
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
467
|
+
});
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
/***/ }),
|
|
471
|
+
|
|
472
|
+
/***/ 9565:
|
|
473
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
var NATIVE_BIND = __webpack_require__(616);
|
|
477
|
+
|
|
478
|
+
var call = Function.prototype.call;
|
|
479
|
+
|
|
480
|
+
module.exports = NATIVE_BIND ? call.bind(call) : function () {
|
|
481
|
+
return call.apply(call, arguments);
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
/***/ }),
|
|
486
|
+
|
|
487
|
+
/***/ 350:
|
|
488
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
var DESCRIPTORS = __webpack_require__(3724);
|
|
492
|
+
var hasOwn = __webpack_require__(9297);
|
|
493
|
+
|
|
494
|
+
var FunctionPrototype = Function.prototype;
|
|
495
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
496
|
+
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
|
497
|
+
|
|
498
|
+
var EXISTS = hasOwn(FunctionPrototype, 'name');
|
|
499
|
+
// additional protection from minified / mangled / dropped function names
|
|
500
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
501
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
502
|
+
|
|
503
|
+
module.exports = {
|
|
504
|
+
EXISTS: EXISTS,
|
|
505
|
+
PROPER: PROPER,
|
|
506
|
+
CONFIGURABLE: CONFIGURABLE
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
/***/ }),
|
|
511
|
+
|
|
512
|
+
/***/ 9504:
|
|
513
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
var NATIVE_BIND = __webpack_require__(616);
|
|
517
|
+
|
|
518
|
+
var FunctionPrototype = Function.prototype;
|
|
519
|
+
var call = FunctionPrototype.call;
|
|
520
|
+
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
|
|
521
|
+
|
|
522
|
+
module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
523
|
+
return function () {
|
|
524
|
+
return call.apply(fn, arguments);
|
|
525
|
+
};
|
|
526
|
+
};
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
/***/ }),
|
|
530
|
+
|
|
531
|
+
/***/ 7751:
|
|
532
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
var global = __webpack_require__(4475);
|
|
536
|
+
var isCallable = __webpack_require__(4901);
|
|
537
|
+
|
|
538
|
+
var aFunction = function (argument) {
|
|
539
|
+
return isCallable(argument) ? argument : undefined;
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
module.exports = function (namespace, method) {
|
|
543
|
+
return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];
|
|
544
|
+
};
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
/***/ }),
|
|
548
|
+
|
|
549
|
+
/***/ 5966:
|
|
550
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
var aCallable = __webpack_require__(9306);
|
|
554
|
+
var isNullOrUndefined = __webpack_require__(4117);
|
|
555
|
+
|
|
556
|
+
// `GetMethod` abstract operation
|
|
557
|
+
// https://tc39.es/ecma262/#sec-getmethod
|
|
558
|
+
module.exports = function (V, P) {
|
|
559
|
+
var func = V[P];
|
|
560
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
/***/ }),
|
|
565
|
+
|
|
566
|
+
/***/ 4475:
|
|
567
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
var check = function (it) {
|
|
571
|
+
return it && it.Math === Math && it;
|
|
572
|
+
};
|
|
573
|
+
|
|
574
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
575
|
+
module.exports =
|
|
576
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
577
|
+
check(typeof globalThis == 'object' && globalThis) ||
|
|
578
|
+
check(typeof window == 'object' && window) ||
|
|
579
|
+
// eslint-disable-next-line no-restricted-globals -- safe
|
|
580
|
+
check(typeof self == 'object' && self) ||
|
|
581
|
+
check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) ||
|
|
582
|
+
check(typeof this == 'object' && this) ||
|
|
583
|
+
// eslint-disable-next-line no-new-func -- fallback
|
|
584
|
+
(function () { return this; })() || Function('return this')();
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
/***/ }),
|
|
588
|
+
|
|
589
|
+
/***/ 9297:
|
|
590
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
var uncurryThis = __webpack_require__(9504);
|
|
594
|
+
var toObject = __webpack_require__(8981);
|
|
595
|
+
|
|
596
|
+
var hasOwnProperty = uncurryThis({}.hasOwnProperty);
|
|
597
|
+
|
|
598
|
+
// `HasOwnProperty` abstract operation
|
|
599
|
+
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
600
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
601
|
+
module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
602
|
+
return hasOwnProperty(toObject(it), key);
|
|
603
|
+
};
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
/***/ }),
|
|
607
|
+
|
|
608
|
+
/***/ 421:
|
|
609
|
+
/***/ (function(module) {
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
module.exports = {};
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
/***/ }),
|
|
616
|
+
|
|
617
|
+
/***/ 5917:
|
|
618
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
var DESCRIPTORS = __webpack_require__(3724);
|
|
622
|
+
var fails = __webpack_require__(9039);
|
|
623
|
+
var createElement = __webpack_require__(4055);
|
|
624
|
+
|
|
625
|
+
// Thanks to IE8 for its funny defineProperty
|
|
626
|
+
module.exports = !DESCRIPTORS && !fails(function () {
|
|
627
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
628
|
+
return Object.defineProperty(createElement('div'), 'a', {
|
|
629
|
+
get: function () { return 7; }
|
|
630
|
+
}).a !== 7;
|
|
631
|
+
});
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
/***/ }),
|
|
635
|
+
|
|
636
|
+
/***/ 7055:
|
|
637
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
var uncurryThis = __webpack_require__(9504);
|
|
641
|
+
var fails = __webpack_require__(9039);
|
|
642
|
+
var classof = __webpack_require__(4576);
|
|
643
|
+
|
|
644
|
+
var $Object = Object;
|
|
645
|
+
var split = uncurryThis(''.split);
|
|
646
|
+
|
|
647
|
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
648
|
+
module.exports = fails(function () {
|
|
649
|
+
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
650
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
651
|
+
return !$Object('z').propertyIsEnumerable(0);
|
|
652
|
+
}) ? function (it) {
|
|
653
|
+
return classof(it) === 'String' ? split(it, '') : $Object(it);
|
|
654
|
+
} : $Object;
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
/***/ }),
|
|
658
|
+
|
|
659
|
+
/***/ 3706:
|
|
660
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
var uncurryThis = __webpack_require__(9504);
|
|
664
|
+
var isCallable = __webpack_require__(4901);
|
|
665
|
+
var store = __webpack_require__(7629);
|
|
666
|
+
|
|
667
|
+
var functionToString = uncurryThis(Function.toString);
|
|
668
|
+
|
|
669
|
+
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
670
|
+
if (!isCallable(store.inspectSource)) {
|
|
671
|
+
store.inspectSource = function (it) {
|
|
672
|
+
return functionToString(it);
|
|
673
|
+
};
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
module.exports = store.inspectSource;
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
/***/ }),
|
|
680
|
+
|
|
681
|
+
/***/ 1181:
|
|
682
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
var NATIVE_WEAK_MAP = __webpack_require__(8622);
|
|
686
|
+
var global = __webpack_require__(4475);
|
|
687
|
+
var isObject = __webpack_require__(34);
|
|
688
|
+
var createNonEnumerableProperty = __webpack_require__(6699);
|
|
689
|
+
var hasOwn = __webpack_require__(9297);
|
|
690
|
+
var shared = __webpack_require__(7629);
|
|
691
|
+
var sharedKey = __webpack_require__(6119);
|
|
692
|
+
var hiddenKeys = __webpack_require__(421);
|
|
693
|
+
|
|
694
|
+
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
695
|
+
var TypeError = global.TypeError;
|
|
696
|
+
var WeakMap = global.WeakMap;
|
|
697
|
+
var set, get, has;
|
|
698
|
+
|
|
699
|
+
var enforce = function (it) {
|
|
700
|
+
return has(it) ? get(it) : set(it, {});
|
|
701
|
+
};
|
|
702
|
+
|
|
703
|
+
var getterFor = function (TYPE) {
|
|
704
|
+
return function (it) {
|
|
705
|
+
var state;
|
|
706
|
+
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
707
|
+
throw new TypeError('Incompatible receiver, ' + TYPE + ' required');
|
|
708
|
+
} return state;
|
|
709
|
+
};
|
|
710
|
+
};
|
|
711
|
+
|
|
712
|
+
if (NATIVE_WEAK_MAP || shared.state) {
|
|
713
|
+
var store = shared.state || (shared.state = new WeakMap());
|
|
714
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
715
|
+
store.get = store.get;
|
|
716
|
+
store.has = store.has;
|
|
717
|
+
store.set = store.set;
|
|
718
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
719
|
+
set = function (it, metadata) {
|
|
720
|
+
if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
721
|
+
metadata.facade = it;
|
|
722
|
+
store.set(it, metadata);
|
|
723
|
+
return metadata;
|
|
724
|
+
};
|
|
725
|
+
get = function (it) {
|
|
726
|
+
return store.get(it) || {};
|
|
727
|
+
};
|
|
728
|
+
has = function (it) {
|
|
729
|
+
return store.has(it);
|
|
730
|
+
};
|
|
731
|
+
} else {
|
|
732
|
+
var STATE = sharedKey('state');
|
|
733
|
+
hiddenKeys[STATE] = true;
|
|
734
|
+
set = function (it, metadata) {
|
|
735
|
+
if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
736
|
+
metadata.facade = it;
|
|
737
|
+
createNonEnumerableProperty(it, STATE, metadata);
|
|
738
|
+
return metadata;
|
|
739
|
+
};
|
|
740
|
+
get = function (it) {
|
|
741
|
+
return hasOwn(it, STATE) ? it[STATE] : {};
|
|
742
|
+
};
|
|
743
|
+
has = function (it) {
|
|
744
|
+
return hasOwn(it, STATE);
|
|
745
|
+
};
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
module.exports = {
|
|
749
|
+
set: set,
|
|
750
|
+
get: get,
|
|
751
|
+
has: has,
|
|
752
|
+
enforce: enforce,
|
|
753
|
+
getterFor: getterFor
|
|
754
|
+
};
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
/***/ }),
|
|
758
|
+
|
|
759
|
+
/***/ 4376:
|
|
760
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
var classof = __webpack_require__(4576);
|
|
764
|
+
|
|
765
|
+
// `IsArray` abstract operation
|
|
766
|
+
// https://tc39.es/ecma262/#sec-isarray
|
|
767
|
+
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
768
|
+
module.exports = Array.isArray || function isArray(argument) {
|
|
769
|
+
return classof(argument) === 'Array';
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
/***/ }),
|
|
774
|
+
|
|
775
|
+
/***/ 4901:
|
|
776
|
+
/***/ (function(module) {
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
780
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
781
|
+
|
|
782
|
+
// `IsCallable` abstract operation
|
|
783
|
+
// https://tc39.es/ecma262/#sec-iscallable
|
|
784
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
785
|
+
module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
786
|
+
return typeof argument == 'function' || argument === documentAll;
|
|
787
|
+
} : function (argument) {
|
|
788
|
+
return typeof argument == 'function';
|
|
789
|
+
};
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
/***/ }),
|
|
793
|
+
|
|
794
|
+
/***/ 2796:
|
|
795
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
var fails = __webpack_require__(9039);
|
|
799
|
+
var isCallable = __webpack_require__(4901);
|
|
800
|
+
|
|
801
|
+
var replacement = /#|\.prototype\./;
|
|
802
|
+
|
|
803
|
+
var isForced = function (feature, detection) {
|
|
804
|
+
var value = data[normalize(feature)];
|
|
805
|
+
return value === POLYFILL ? true
|
|
806
|
+
: value === NATIVE ? false
|
|
807
|
+
: isCallable(detection) ? fails(detection)
|
|
808
|
+
: !!detection;
|
|
809
|
+
};
|
|
810
|
+
|
|
811
|
+
var normalize = isForced.normalize = function (string) {
|
|
812
|
+
return String(string).replace(replacement, '.').toLowerCase();
|
|
813
|
+
};
|
|
814
|
+
|
|
815
|
+
var data = isForced.data = {};
|
|
816
|
+
var NATIVE = isForced.NATIVE = 'N';
|
|
817
|
+
var POLYFILL = isForced.POLYFILL = 'P';
|
|
818
|
+
|
|
819
|
+
module.exports = isForced;
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
/***/ }),
|
|
823
|
+
|
|
824
|
+
/***/ 4117:
|
|
825
|
+
/***/ (function(module) {
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
829
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
830
|
+
module.exports = function (it) {
|
|
831
|
+
return it === null || it === undefined;
|
|
832
|
+
};
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
/***/ }),
|
|
836
|
+
|
|
837
|
+
/***/ 34:
|
|
838
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
var isCallable = __webpack_require__(4901);
|
|
842
|
+
|
|
843
|
+
module.exports = function (it) {
|
|
844
|
+
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
845
|
+
};
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
/***/ }),
|
|
849
|
+
|
|
850
|
+
/***/ 6395:
|
|
851
|
+
/***/ (function(module) {
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
module.exports = false;
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
/***/ }),
|
|
858
|
+
|
|
859
|
+
/***/ 757:
|
|
860
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
var getBuiltIn = __webpack_require__(7751);
|
|
864
|
+
var isCallable = __webpack_require__(4901);
|
|
865
|
+
var isPrototypeOf = __webpack_require__(1625);
|
|
866
|
+
var USE_SYMBOL_AS_UID = __webpack_require__(7040);
|
|
867
|
+
|
|
868
|
+
var $Object = Object;
|
|
869
|
+
|
|
870
|
+
module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
871
|
+
return typeof it == 'symbol';
|
|
872
|
+
} : function (it) {
|
|
873
|
+
var $Symbol = getBuiltIn('Symbol');
|
|
874
|
+
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
|
|
875
|
+
};
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
/***/ }),
|
|
879
|
+
|
|
880
|
+
/***/ 6198:
|
|
881
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
var toLength = __webpack_require__(8014);
|
|
885
|
+
|
|
886
|
+
// `LengthOfArrayLike` abstract operation
|
|
887
|
+
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
888
|
+
module.exports = function (obj) {
|
|
889
|
+
return toLength(obj.length);
|
|
890
|
+
};
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
/***/ }),
|
|
894
|
+
|
|
895
|
+
/***/ 283:
|
|
896
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
var uncurryThis = __webpack_require__(9504);
|
|
900
|
+
var fails = __webpack_require__(9039);
|
|
901
|
+
var isCallable = __webpack_require__(4901);
|
|
902
|
+
var hasOwn = __webpack_require__(9297);
|
|
903
|
+
var DESCRIPTORS = __webpack_require__(3724);
|
|
904
|
+
var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(350).CONFIGURABLE);
|
|
905
|
+
var inspectSource = __webpack_require__(3706);
|
|
906
|
+
var InternalStateModule = __webpack_require__(1181);
|
|
907
|
+
|
|
908
|
+
var enforceInternalState = InternalStateModule.enforce;
|
|
909
|
+
var getInternalState = InternalStateModule.get;
|
|
910
|
+
var $String = String;
|
|
911
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
912
|
+
var defineProperty = Object.defineProperty;
|
|
913
|
+
var stringSlice = uncurryThis(''.slice);
|
|
914
|
+
var replace = uncurryThis(''.replace);
|
|
915
|
+
var join = uncurryThis([].join);
|
|
916
|
+
|
|
917
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
|
|
918
|
+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
919
|
+
});
|
|
920
|
+
|
|
921
|
+
var TEMPLATE = String(String).split('String');
|
|
922
|
+
|
|
923
|
+
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
924
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
925
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
926
|
+
}
|
|
927
|
+
if (options && options.getter) name = 'get ' + name;
|
|
928
|
+
if (options && options.setter) name = 'set ' + name;
|
|
929
|
+
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
930
|
+
if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
|
|
931
|
+
else value.name = name;
|
|
932
|
+
}
|
|
933
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
|
|
934
|
+
defineProperty(value, 'length', { value: options.arity });
|
|
935
|
+
}
|
|
936
|
+
try {
|
|
937
|
+
if (options && hasOwn(options, 'constructor') && options.constructor) {
|
|
938
|
+
if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
|
|
939
|
+
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
940
|
+
} else if (value.prototype) value.prototype = undefined;
|
|
941
|
+
} catch (error) { /* empty */ }
|
|
942
|
+
var state = enforceInternalState(value);
|
|
943
|
+
if (!hasOwn(state, 'source')) {
|
|
944
|
+
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
945
|
+
} return value;
|
|
946
|
+
};
|
|
947
|
+
|
|
948
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
949
|
+
// eslint-disable-next-line no-extend-native -- required
|
|
950
|
+
Function.prototype.toString = makeBuiltIn(function toString() {
|
|
951
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
952
|
+
}, 'toString');
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
/***/ }),
|
|
956
|
+
|
|
957
|
+
/***/ 741:
|
|
958
|
+
/***/ (function(module) {
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
var ceil = Math.ceil;
|
|
962
|
+
var floor = Math.floor;
|
|
963
|
+
|
|
964
|
+
// `Math.trunc` method
|
|
965
|
+
// https://tc39.es/ecma262/#sec-math.trunc
|
|
966
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
967
|
+
module.exports = Math.trunc || function trunc(x) {
|
|
968
|
+
var n = +x;
|
|
969
|
+
return (n > 0 ? floor : ceil)(n);
|
|
970
|
+
};
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
/***/ }),
|
|
974
|
+
|
|
975
|
+
/***/ 4913:
|
|
976
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
var DESCRIPTORS = __webpack_require__(3724);
|
|
980
|
+
var IE8_DOM_DEFINE = __webpack_require__(5917);
|
|
981
|
+
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686);
|
|
982
|
+
var anObject = __webpack_require__(8551);
|
|
983
|
+
var toPropertyKey = __webpack_require__(6969);
|
|
984
|
+
|
|
985
|
+
var $TypeError = TypeError;
|
|
986
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
987
|
+
var $defineProperty = Object.defineProperty;
|
|
988
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
989
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
990
|
+
var ENUMERABLE = 'enumerable';
|
|
991
|
+
var CONFIGURABLE = 'configurable';
|
|
992
|
+
var WRITABLE = 'writable';
|
|
993
|
+
|
|
994
|
+
// `Object.defineProperty` method
|
|
995
|
+
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
996
|
+
exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
997
|
+
anObject(O);
|
|
998
|
+
P = toPropertyKey(P);
|
|
999
|
+
anObject(Attributes);
|
|
1000
|
+
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
1001
|
+
var current = $getOwnPropertyDescriptor(O, P);
|
|
1002
|
+
if (current && current[WRITABLE]) {
|
|
1003
|
+
O[P] = Attributes.value;
|
|
1004
|
+
Attributes = {
|
|
1005
|
+
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
|
|
1006
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
1007
|
+
writable: false
|
|
1008
|
+
};
|
|
1009
|
+
}
|
|
1010
|
+
} return $defineProperty(O, P, Attributes);
|
|
1011
|
+
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
1012
|
+
anObject(O);
|
|
1013
|
+
P = toPropertyKey(P);
|
|
1014
|
+
anObject(Attributes);
|
|
1015
|
+
if (IE8_DOM_DEFINE) try {
|
|
1016
|
+
return $defineProperty(O, P, Attributes);
|
|
1017
|
+
} catch (error) { /* empty */ }
|
|
1018
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
|
|
1019
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
|
1020
|
+
return O;
|
|
1021
|
+
};
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
/***/ }),
|
|
1025
|
+
|
|
1026
|
+
/***/ 7347:
|
|
1027
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
var DESCRIPTORS = __webpack_require__(3724);
|
|
1031
|
+
var call = __webpack_require__(9565);
|
|
1032
|
+
var propertyIsEnumerableModule = __webpack_require__(8773);
|
|
1033
|
+
var createPropertyDescriptor = __webpack_require__(6980);
|
|
1034
|
+
var toIndexedObject = __webpack_require__(5397);
|
|
1035
|
+
var toPropertyKey = __webpack_require__(6969);
|
|
1036
|
+
var hasOwn = __webpack_require__(9297);
|
|
1037
|
+
var IE8_DOM_DEFINE = __webpack_require__(5917);
|
|
1038
|
+
|
|
1039
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1040
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
1041
|
+
|
|
1042
|
+
// `Object.getOwnPropertyDescriptor` method
|
|
1043
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
1044
|
+
exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
1045
|
+
O = toIndexedObject(O);
|
|
1046
|
+
P = toPropertyKey(P);
|
|
1047
|
+
if (IE8_DOM_DEFINE) try {
|
|
1048
|
+
return $getOwnPropertyDescriptor(O, P);
|
|
1049
|
+
} catch (error) { /* empty */ }
|
|
1050
|
+
if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
1051
|
+
};
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
|
+
/***/ }),
|
|
1055
|
+
|
|
1056
|
+
/***/ 8480:
|
|
1057
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
var internalObjectKeys = __webpack_require__(1828);
|
|
1061
|
+
var enumBugKeys = __webpack_require__(8727);
|
|
1062
|
+
|
|
1063
|
+
var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
|
1064
|
+
|
|
1065
|
+
// `Object.getOwnPropertyNames` method
|
|
1066
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
1067
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
1068
|
+
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
1069
|
+
return internalObjectKeys(O, hiddenKeys);
|
|
1070
|
+
};
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
/***/ }),
|
|
1074
|
+
|
|
1075
|
+
/***/ 3717:
|
|
1076
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
1077
|
+
|
|
1078
|
+
|
|
1079
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
1080
|
+
exports.f = Object.getOwnPropertySymbols;
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
/***/ }),
|
|
1084
|
+
|
|
1085
|
+
/***/ 1625:
|
|
1086
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
var uncurryThis = __webpack_require__(9504);
|
|
1090
|
+
|
|
1091
|
+
module.exports = uncurryThis({}.isPrototypeOf);
|
|
1092
|
+
|
|
1093
|
+
|
|
1094
|
+
/***/ }),
|
|
1095
|
+
|
|
1096
|
+
/***/ 1828:
|
|
1097
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
var uncurryThis = __webpack_require__(9504);
|
|
1101
|
+
var hasOwn = __webpack_require__(9297);
|
|
1102
|
+
var toIndexedObject = __webpack_require__(5397);
|
|
1103
|
+
var indexOf = (__webpack_require__(9617).indexOf);
|
|
1104
|
+
var hiddenKeys = __webpack_require__(421);
|
|
1105
|
+
|
|
1106
|
+
var push = uncurryThis([].push);
|
|
1107
|
+
|
|
1108
|
+
module.exports = function (object, names) {
|
|
1109
|
+
var O = toIndexedObject(object);
|
|
1110
|
+
var i = 0;
|
|
1111
|
+
var result = [];
|
|
1112
|
+
var key;
|
|
1113
|
+
for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
|
|
1114
|
+
// Don't enum bug & hidden keys
|
|
1115
|
+
while (names.length > i) if (hasOwn(O, key = names[i++])) {
|
|
1116
|
+
~indexOf(result, key) || push(result, key);
|
|
1117
|
+
}
|
|
1118
|
+
return result;
|
|
1119
|
+
};
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
/***/ }),
|
|
1123
|
+
|
|
1124
|
+
/***/ 8773:
|
|
1125
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
1129
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1130
|
+
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
1131
|
+
|
|
1132
|
+
// Nashorn ~ JDK8 bug
|
|
1133
|
+
var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
1134
|
+
|
|
1135
|
+
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
1136
|
+
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
1137
|
+
exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
1138
|
+
var descriptor = getOwnPropertyDescriptor(this, V);
|
|
1139
|
+
return !!descriptor && descriptor.enumerable;
|
|
1140
|
+
} : $propertyIsEnumerable;
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
/***/ }),
|
|
1144
|
+
|
|
1145
|
+
/***/ 4270:
|
|
1146
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
var call = __webpack_require__(9565);
|
|
1150
|
+
var isCallable = __webpack_require__(4901);
|
|
1151
|
+
var isObject = __webpack_require__(34);
|
|
1152
|
+
|
|
1153
|
+
var $TypeError = TypeError;
|
|
1154
|
+
|
|
1155
|
+
// `OrdinaryToPrimitive` abstract operation
|
|
1156
|
+
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
1157
|
+
module.exports = function (input, pref) {
|
|
1158
|
+
var fn, val;
|
|
1159
|
+
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
1160
|
+
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
|
|
1161
|
+
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
1162
|
+
throw new $TypeError("Can't convert object to primitive value");
|
|
1163
|
+
};
|
|
1164
|
+
|
|
1165
|
+
|
|
1166
|
+
/***/ }),
|
|
1167
|
+
|
|
1168
|
+
/***/ 5031:
|
|
1169
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1170
|
+
|
|
1171
|
+
|
|
1172
|
+
var getBuiltIn = __webpack_require__(7751);
|
|
1173
|
+
var uncurryThis = __webpack_require__(9504);
|
|
1174
|
+
var getOwnPropertyNamesModule = __webpack_require__(8480);
|
|
1175
|
+
var getOwnPropertySymbolsModule = __webpack_require__(3717);
|
|
1176
|
+
var anObject = __webpack_require__(8551);
|
|
1177
|
+
|
|
1178
|
+
var concat = uncurryThis([].concat);
|
|
1179
|
+
|
|
1180
|
+
// all object keys, includes non-enumerable and symbols
|
|
1181
|
+
module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1182
|
+
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
|
1183
|
+
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
1184
|
+
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
1185
|
+
};
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
/***/ }),
|
|
1189
|
+
|
|
1190
|
+
/***/ 7750:
|
|
1191
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1192
|
+
|
|
1193
|
+
|
|
1194
|
+
var isNullOrUndefined = __webpack_require__(4117);
|
|
1195
|
+
|
|
1196
|
+
var $TypeError = TypeError;
|
|
1197
|
+
|
|
1198
|
+
// `RequireObjectCoercible` abstract operation
|
|
1199
|
+
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
1200
|
+
module.exports = function (it) {
|
|
1201
|
+
if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
|
|
1202
|
+
return it;
|
|
1203
|
+
};
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
/***/ }),
|
|
1207
|
+
|
|
1208
|
+
/***/ 6119:
|
|
1209
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1210
|
+
|
|
1211
|
+
|
|
1212
|
+
var shared = __webpack_require__(5745);
|
|
1213
|
+
var uid = __webpack_require__(3392);
|
|
1214
|
+
|
|
1215
|
+
var keys = shared('keys');
|
|
1216
|
+
|
|
1217
|
+
module.exports = function (key) {
|
|
1218
|
+
return keys[key] || (keys[key] = uid(key));
|
|
1219
|
+
};
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
/***/ }),
|
|
1223
|
+
|
|
1224
|
+
/***/ 7629:
|
|
1225
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
var IS_PURE = __webpack_require__(6395);
|
|
1229
|
+
var globalThis = __webpack_require__(4475);
|
|
1230
|
+
var defineGlobalProperty = __webpack_require__(9433);
|
|
1231
|
+
|
|
1232
|
+
var SHARED = '__core-js_shared__';
|
|
1233
|
+
var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
|
|
1234
|
+
|
|
1235
|
+
(store.versions || (store.versions = [])).push({
|
|
1236
|
+
version: '3.37.0',
|
|
1237
|
+
mode: IS_PURE ? 'pure' : 'global',
|
|
1238
|
+
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
|
|
1239
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE',
|
|
1240
|
+
source: 'https://github.com/zloirock/core-js'
|
|
1241
|
+
});
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
/***/ }),
|
|
1245
|
+
|
|
1246
|
+
/***/ 5745:
|
|
1247
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
var store = __webpack_require__(7629);
|
|
1251
|
+
|
|
1252
|
+
module.exports = function (key, value) {
|
|
1253
|
+
return store[key] || (store[key] = value || {});
|
|
1254
|
+
};
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
/***/ }),
|
|
1258
|
+
|
|
1259
|
+
/***/ 4495:
|
|
1260
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
1264
|
+
var V8_VERSION = __webpack_require__(7388);
|
|
1265
|
+
var fails = __webpack_require__(9039);
|
|
1266
|
+
var global = __webpack_require__(4475);
|
|
1267
|
+
|
|
1268
|
+
var $String = global.String;
|
|
1269
|
+
|
|
1270
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
1271
|
+
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
1272
|
+
var symbol = Symbol('symbol detection');
|
|
1273
|
+
// Chrome 38 Symbol has incorrect toString conversion
|
|
1274
|
+
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
1275
|
+
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
1276
|
+
// of course, fail.
|
|
1277
|
+
return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
1278
|
+
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
1279
|
+
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
1280
|
+
});
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
/***/ }),
|
|
1284
|
+
|
|
1285
|
+
/***/ 5610:
|
|
1286
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
var toIntegerOrInfinity = __webpack_require__(1291);
|
|
1290
|
+
|
|
1291
|
+
var max = Math.max;
|
|
1292
|
+
var min = Math.min;
|
|
1293
|
+
|
|
1294
|
+
// Helper for a popular repeating case of the spec:
|
|
1295
|
+
// Let integer be ? ToInteger(index).
|
|
1296
|
+
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
1297
|
+
module.exports = function (index, length) {
|
|
1298
|
+
var integer = toIntegerOrInfinity(index);
|
|
1299
|
+
return integer < 0 ? max(integer + length, 0) : min(integer, length);
|
|
1300
|
+
};
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
/***/ }),
|
|
1304
|
+
|
|
1305
|
+
/***/ 5397:
|
|
1306
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1307
|
+
|
|
1308
|
+
|
|
1309
|
+
// toObject with fallback for non-array-like ES3 strings
|
|
1310
|
+
var IndexedObject = __webpack_require__(7055);
|
|
1311
|
+
var requireObjectCoercible = __webpack_require__(7750);
|
|
1312
|
+
|
|
1313
|
+
module.exports = function (it) {
|
|
1314
|
+
return IndexedObject(requireObjectCoercible(it));
|
|
1315
|
+
};
|
|
1316
|
+
|
|
1317
|
+
|
|
1318
|
+
/***/ }),
|
|
1319
|
+
|
|
1320
|
+
/***/ 1291:
|
|
1321
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1322
|
+
|
|
1323
|
+
|
|
1324
|
+
var trunc = __webpack_require__(741);
|
|
1325
|
+
|
|
1326
|
+
// `ToIntegerOrInfinity` abstract operation
|
|
1327
|
+
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
1328
|
+
module.exports = function (argument) {
|
|
1329
|
+
var number = +argument;
|
|
1330
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
1331
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
|
1332
|
+
};
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
/***/ }),
|
|
1336
|
+
|
|
1337
|
+
/***/ 8014:
|
|
1338
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1339
|
+
|
|
1340
|
+
|
|
1341
|
+
var toIntegerOrInfinity = __webpack_require__(1291);
|
|
1342
|
+
|
|
1343
|
+
var min = Math.min;
|
|
1344
|
+
|
|
1345
|
+
// `ToLength` abstract operation
|
|
1346
|
+
// https://tc39.es/ecma262/#sec-tolength
|
|
1347
|
+
module.exports = function (argument) {
|
|
1348
|
+
var len = toIntegerOrInfinity(argument);
|
|
1349
|
+
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
1350
|
+
};
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
/***/ }),
|
|
1354
|
+
|
|
1355
|
+
/***/ 8981:
|
|
1356
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
var requireObjectCoercible = __webpack_require__(7750);
|
|
1360
|
+
|
|
1361
|
+
var $Object = Object;
|
|
1362
|
+
|
|
1363
|
+
// `ToObject` abstract operation
|
|
1364
|
+
// https://tc39.es/ecma262/#sec-toobject
|
|
1365
|
+
module.exports = function (argument) {
|
|
1366
|
+
return $Object(requireObjectCoercible(argument));
|
|
1367
|
+
};
|
|
1368
|
+
|
|
1369
|
+
|
|
1370
|
+
/***/ }),
|
|
1371
|
+
|
|
1372
|
+
/***/ 2777:
|
|
1373
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1374
|
+
|
|
1375
|
+
|
|
1376
|
+
var call = __webpack_require__(9565);
|
|
1377
|
+
var isObject = __webpack_require__(34);
|
|
1378
|
+
var isSymbol = __webpack_require__(757);
|
|
1379
|
+
var getMethod = __webpack_require__(5966);
|
|
1380
|
+
var ordinaryToPrimitive = __webpack_require__(4270);
|
|
1381
|
+
var wellKnownSymbol = __webpack_require__(8227);
|
|
1382
|
+
|
|
1383
|
+
var $TypeError = TypeError;
|
|
1384
|
+
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
1385
|
+
|
|
1386
|
+
// `ToPrimitive` abstract operation
|
|
1387
|
+
// https://tc39.es/ecma262/#sec-toprimitive
|
|
1388
|
+
module.exports = function (input, pref) {
|
|
1389
|
+
if (!isObject(input) || isSymbol(input)) return input;
|
|
1390
|
+
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
1391
|
+
var result;
|
|
1392
|
+
if (exoticToPrim) {
|
|
1393
|
+
if (pref === undefined) pref = 'default';
|
|
1394
|
+
result = call(exoticToPrim, input, pref);
|
|
1395
|
+
if (!isObject(result) || isSymbol(result)) return result;
|
|
1396
|
+
throw new $TypeError("Can't convert object to primitive value");
|
|
1397
|
+
}
|
|
1398
|
+
if (pref === undefined) pref = 'number';
|
|
1399
|
+
return ordinaryToPrimitive(input, pref);
|
|
1400
|
+
};
|
|
1401
|
+
|
|
1402
|
+
|
|
1403
|
+
/***/ }),
|
|
1404
|
+
|
|
1405
|
+
/***/ 6969:
|
|
1406
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1407
|
+
|
|
1408
|
+
|
|
1409
|
+
var toPrimitive = __webpack_require__(2777);
|
|
1410
|
+
var isSymbol = __webpack_require__(757);
|
|
1411
|
+
|
|
1412
|
+
// `ToPropertyKey` abstract operation
|
|
1413
|
+
// https://tc39.es/ecma262/#sec-topropertykey
|
|
1414
|
+
module.exports = function (argument) {
|
|
1415
|
+
var key = toPrimitive(argument, 'string');
|
|
1416
|
+
return isSymbol(key) ? key : key + '';
|
|
1417
|
+
};
|
|
1418
|
+
|
|
1419
|
+
|
|
1420
|
+
/***/ }),
|
|
1421
|
+
|
|
1422
|
+
/***/ 6823:
|
|
1423
|
+
/***/ (function(module) {
|
|
1424
|
+
|
|
1425
|
+
|
|
1426
|
+
var $String = String;
|
|
1427
|
+
|
|
1428
|
+
module.exports = function (argument) {
|
|
1429
|
+
try {
|
|
1430
|
+
return $String(argument);
|
|
1431
|
+
} catch (error) {
|
|
1432
|
+
return 'Object';
|
|
1433
|
+
}
|
|
1434
|
+
};
|
|
1435
|
+
|
|
1436
|
+
|
|
1437
|
+
/***/ }),
|
|
1438
|
+
|
|
1439
|
+
/***/ 3392:
|
|
1440
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1441
|
+
|
|
1442
|
+
|
|
1443
|
+
var uncurryThis = __webpack_require__(9504);
|
|
1444
|
+
|
|
1445
|
+
var id = 0;
|
|
1446
|
+
var postfix = Math.random();
|
|
1447
|
+
var toString = uncurryThis(1.0.toString);
|
|
1448
|
+
|
|
1449
|
+
module.exports = function (key) {
|
|
1450
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
1451
|
+
};
|
|
1452
|
+
|
|
1453
|
+
|
|
1454
|
+
/***/ }),
|
|
1455
|
+
|
|
1456
|
+
/***/ 7040:
|
|
1457
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1458
|
+
|
|
1459
|
+
|
|
1460
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
1461
|
+
var NATIVE_SYMBOL = __webpack_require__(4495);
|
|
1462
|
+
|
|
1463
|
+
module.exports = NATIVE_SYMBOL
|
|
1464
|
+
&& !Symbol.sham
|
|
1465
|
+
&& typeof Symbol.iterator == 'symbol';
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
/***/ }),
|
|
1469
|
+
|
|
1470
|
+
/***/ 8686:
|
|
1471
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1472
|
+
|
|
1473
|
+
|
|
1474
|
+
var DESCRIPTORS = __webpack_require__(3724);
|
|
1475
|
+
var fails = __webpack_require__(9039);
|
|
1476
|
+
|
|
1477
|
+
// V8 ~ Chrome 36-
|
|
1478
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
1479
|
+
module.exports = DESCRIPTORS && fails(function () {
|
|
1480
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1481
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
1482
|
+
value: 42,
|
|
1483
|
+
writable: false
|
|
1484
|
+
}).prototype !== 42;
|
|
1485
|
+
});
|
|
1486
|
+
|
|
1487
|
+
|
|
1488
|
+
/***/ }),
|
|
1489
|
+
|
|
1490
|
+
/***/ 8622:
|
|
1491
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1492
|
+
|
|
1493
|
+
|
|
1494
|
+
var global = __webpack_require__(4475);
|
|
1495
|
+
var isCallable = __webpack_require__(4901);
|
|
1496
|
+
|
|
1497
|
+
var WeakMap = global.WeakMap;
|
|
1498
|
+
|
|
1499
|
+
module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
|
|
1500
|
+
|
|
1501
|
+
|
|
1502
|
+
/***/ }),
|
|
1503
|
+
|
|
1504
|
+
/***/ 8227:
|
|
1505
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1506
|
+
|
|
1507
|
+
|
|
1508
|
+
var global = __webpack_require__(4475);
|
|
1509
|
+
var shared = __webpack_require__(5745);
|
|
1510
|
+
var hasOwn = __webpack_require__(9297);
|
|
1511
|
+
var uid = __webpack_require__(3392);
|
|
1512
|
+
var NATIVE_SYMBOL = __webpack_require__(4495);
|
|
1513
|
+
var USE_SYMBOL_AS_UID = __webpack_require__(7040);
|
|
1514
|
+
|
|
1515
|
+
var Symbol = global.Symbol;
|
|
1516
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
1517
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
|
|
1518
|
+
|
|
1519
|
+
module.exports = function (name) {
|
|
1520
|
+
if (!hasOwn(WellKnownSymbolsStore, name)) {
|
|
1521
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
|
|
1522
|
+
? Symbol[name]
|
|
1523
|
+
: createWellKnownSymbol('Symbol.' + name);
|
|
1524
|
+
} return WellKnownSymbolsStore[name];
|
|
1525
|
+
};
|
|
1526
|
+
|
|
1527
|
+
|
|
1528
|
+
/***/ }),
|
|
1529
|
+
|
|
1530
|
+
/***/ 4114:
|
|
1531
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
1532
|
+
|
|
1533
|
+
|
|
1534
|
+
var $ = __webpack_require__(6518);
|
|
1535
|
+
var toObject = __webpack_require__(8981);
|
|
1536
|
+
var lengthOfArrayLike = __webpack_require__(6198);
|
|
1537
|
+
var setArrayLength = __webpack_require__(4527);
|
|
1538
|
+
var doesNotExceedSafeInteger = __webpack_require__(6837);
|
|
1539
|
+
var fails = __webpack_require__(9039);
|
|
1540
|
+
|
|
1541
|
+
var INCORRECT_TO_LENGTH = fails(function () {
|
|
1542
|
+
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
1543
|
+
});
|
|
1544
|
+
|
|
1545
|
+
// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
|
|
1546
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=12681
|
|
1547
|
+
var properErrorOnNonWritableLength = function () {
|
|
1548
|
+
try {
|
|
1549
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1550
|
+
Object.defineProperty([], 'length', { writable: false }).push();
|
|
1551
|
+
} catch (error) {
|
|
1552
|
+
return error instanceof TypeError;
|
|
1553
|
+
}
|
|
1554
|
+
};
|
|
1555
|
+
|
|
1556
|
+
var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
1557
|
+
|
|
1558
|
+
// `Array.prototype.push` method
|
|
1559
|
+
// https://tc39.es/ecma262/#sec-array.prototype.push
|
|
1560
|
+
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
1561
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
1562
|
+
push: function push(item) {
|
|
1563
|
+
var O = toObject(this);
|
|
1564
|
+
var len = lengthOfArrayLike(O);
|
|
1565
|
+
var argCount = arguments.length;
|
|
1566
|
+
doesNotExceedSafeInteger(len + argCount);
|
|
1567
|
+
for (var i = 0; i < argCount; i++) {
|
|
1568
|
+
O[len] = arguments[i];
|
|
1569
|
+
len++;
|
|
1570
|
+
}
|
|
1571
|
+
setArrayLength(O, len);
|
|
1572
|
+
return len;
|
|
1573
|
+
}
|
|
1574
|
+
});
|
|
1575
|
+
|
|
1576
|
+
|
|
1577
|
+
/***/ })
|
|
1578
|
+
|
|
1579
|
+
/******/ });
|
|
1580
|
+
/************************************************************************/
|
|
1581
|
+
/******/ // The module cache
|
|
1582
|
+
/******/ var __webpack_module_cache__ = {};
|
|
1583
|
+
/******/
|
|
1584
|
+
/******/ // The require function
|
|
1585
|
+
/******/ function __webpack_require__(moduleId) {
|
|
1586
|
+
/******/ // Check if module is in cache
|
|
1587
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
1588
|
+
/******/ if (cachedModule !== undefined) {
|
|
1589
|
+
/******/ return cachedModule.exports;
|
|
1590
|
+
/******/ }
|
|
1591
|
+
/******/ // Create a new module (and put it into the cache)
|
|
1592
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
1593
|
+
/******/ // no module.id needed
|
|
1594
|
+
/******/ // no module.loaded needed
|
|
1595
|
+
/******/ exports: {}
|
|
1596
|
+
/******/ };
|
|
1597
|
+
/******/
|
|
1598
|
+
/******/ // Execute the module function
|
|
1599
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
1600
|
+
/******/
|
|
1601
|
+
/******/ // Return the exports of the module
|
|
1602
|
+
/******/ return module.exports;
|
|
1603
|
+
/******/ }
|
|
1604
|
+
/******/
|
|
1605
|
+
/************************************************************************/
|
|
1606
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
1607
|
+
/******/ !function() {
|
|
1608
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
1609
|
+
/******/ __webpack_require__.n = function(module) {
|
|
1610
|
+
/******/ var getter = module && module.__esModule ?
|
|
1611
|
+
/******/ function() { return module['default']; } :
|
|
1612
|
+
/******/ function() { return module; };
|
|
1613
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
1614
|
+
/******/ return getter;
|
|
1615
|
+
/******/ };
|
|
1616
|
+
/******/ }();
|
|
1617
|
+
/******/
|
|
1618
|
+
/******/ /* webpack/runtime/define property getters */
|
|
1619
|
+
/******/ !function() {
|
|
1620
|
+
/******/ // define getter functions for harmony exports
|
|
1621
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
1622
|
+
/******/ for(var key in definition) {
|
|
1623
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
1624
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
1625
|
+
/******/ }
|
|
1626
|
+
/******/ }
|
|
1627
|
+
/******/ };
|
|
1628
|
+
/******/ }();
|
|
1629
|
+
/******/
|
|
1630
|
+
/******/ /* webpack/runtime/global */
|
|
1631
|
+
/******/ !function() {
|
|
1632
|
+
/******/ __webpack_require__.g = (function() {
|
|
1633
|
+
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
1634
|
+
/******/ try {
|
|
1635
|
+
/******/ return this || new Function('return this')();
|
|
1636
|
+
/******/ } catch (e) {
|
|
1637
|
+
/******/ if (typeof window === 'object') return window;
|
|
1638
|
+
/******/ }
|
|
1639
|
+
/******/ })();
|
|
1640
|
+
/******/ }();
|
|
1641
|
+
/******/
|
|
1642
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
1643
|
+
/******/ !function() {
|
|
1644
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
1645
|
+
/******/ }();
|
|
1646
|
+
/******/
|
|
1647
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
1648
|
+
/******/ !function() {
|
|
1649
|
+
/******/ // define __esModule on exports
|
|
1650
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
1651
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
1652
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
1653
|
+
/******/ }
|
|
1654
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
1655
|
+
/******/ };
|
|
1656
|
+
/******/ }();
|
|
1657
|
+
/******/
|
|
1658
|
+
/******/ /* webpack/runtime/publicPath */
|
|
1659
|
+
/******/ !function() {
|
|
1660
|
+
/******/ __webpack_require__.p = "";
|
|
1661
|
+
/******/ }();
|
|
1662
|
+
/******/
|
|
1663
|
+
/************************************************************************/
|
|
1664
|
+
var __webpack_exports__ = {};
|
|
1665
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
1666
|
+
!function() {
|
|
1667
|
+
// ESM COMPAT FLAG
|
|
1668
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1669
|
+
|
|
1670
|
+
// EXPORTS
|
|
1671
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
1672
|
+
Anchor: function() { return /* reexport */ Anchor; },
|
|
1673
|
+
AnchorLink: function() { return /* reexport */ AnchorLink; },
|
|
1674
|
+
Breadcrumb: function() { return /* reexport */ Breadcrumb; },
|
|
1675
|
+
BreadcrumbItem: function() { return /* reexport */ BreadcrumbItem; },
|
|
1676
|
+
Button: function() { return /* reexport */ Button; },
|
|
1677
|
+
ButtonGroup: function() { return /* reexport */ ButtonGroup; },
|
|
1678
|
+
Col: function() { return /* reexport */ Col; },
|
|
1679
|
+
Design: function() { return /* reexport */ Design; },
|
|
1680
|
+
Icon: function() { return /* reexport */ Icon; },
|
|
1681
|
+
LayoutAside: function() { return /* reexport */ LayoutAside; },
|
|
1682
|
+
LayoutBody: function() { return /* reexport */ LayoutBody; },
|
|
1683
|
+
LayoutContainer: function() { return /* reexport */ LayoutContainer; },
|
|
1684
|
+
LayoutFooter: function() { return /* reexport */ LayoutFooter; },
|
|
1685
|
+
LayoutHeader: function() { return /* reexport */ LayoutHeader; },
|
|
1686
|
+
Row: function() { return /* reexport */ Row; },
|
|
1687
|
+
VxeUI: function() { return /* reexport */ VxeUI; },
|
|
1688
|
+
"default": function() { return /* binding */ entry_lib; },
|
|
1689
|
+
getConfig: function() { return /* reexport */ getConfig; },
|
|
1690
|
+
getIcon: function() { return /* reexport */ getIcon; },
|
|
1691
|
+
install: function() { return /* reexport */ install; },
|
|
1692
|
+
setConfig: function() { return /* reexport */ setConfig; },
|
|
1693
|
+
setIcon: function() { return /* reexport */ setIcon; },
|
|
1694
|
+
version: function() { return /* reexport */ version; }
|
|
1695
|
+
});
|
|
1696
|
+
|
|
1697
|
+
// NAMESPACE OBJECT: ./packages/components.ts
|
|
1698
|
+
var components_namespaceObject = {};
|
|
1699
|
+
__webpack_require__.r(components_namespaceObject);
|
|
1700
|
+
__webpack_require__.d(components_namespaceObject, {
|
|
1701
|
+
Anchor: function() { return Anchor; },
|
|
1702
|
+
AnchorLink: function() { return AnchorLink; },
|
|
1703
|
+
Breadcrumb: function() { return Breadcrumb; },
|
|
1704
|
+
BreadcrumbItem: function() { return BreadcrumbItem; },
|
|
1705
|
+
Button: function() { return Button; },
|
|
1706
|
+
ButtonGroup: function() { return ButtonGroup; },
|
|
1707
|
+
Col: function() { return Col; },
|
|
1708
|
+
Design: function() { return Design; },
|
|
1709
|
+
Icon: function() { return Icon; },
|
|
1710
|
+
LayoutAside: function() { return LayoutAside; },
|
|
1711
|
+
LayoutBody: function() { return LayoutBody; },
|
|
1712
|
+
LayoutContainer: function() { return LayoutContainer; },
|
|
1713
|
+
LayoutFooter: function() { return LayoutFooter; },
|
|
1714
|
+
LayoutHeader: function() { return LayoutHeader; },
|
|
1715
|
+
Row: function() { return Row; },
|
|
1716
|
+
VxeUI: function() { return VxeUI; },
|
|
1717
|
+
getConfig: function() { return getConfig; },
|
|
1718
|
+
getIcon: function() { return getIcon; },
|
|
1719
|
+
install: function() { return install; },
|
|
1720
|
+
setConfig: function() { return setConfig; },
|
|
1721
|
+
setIcon: function() { return setIcon; },
|
|
1722
|
+
version: function() { return version; }
|
|
1723
|
+
});
|
|
1724
|
+
|
|
1725
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
|
1726
|
+
/* eslint-disable no-var */
|
|
1727
|
+
// This file is imported into lib/wc client bundles.
|
|
1728
|
+
|
|
1729
|
+
if (typeof window !== 'undefined') {
|
|
1730
|
+
var currentScript = window.document.currentScript
|
|
1731
|
+
if (false) { var getCurrentScript; }
|
|
1732
|
+
|
|
1733
|
+
var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
|
|
1734
|
+
if (src) {
|
|
1735
|
+
__webpack_require__.p = src[1] // eslint-disable-line
|
|
1736
|
+
}
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
// Indicate to webpack that this file can be concatenated
|
|
1740
|
+
/* harmony default export */ var setPublicPath = (null);
|
|
1741
|
+
|
|
1742
|
+
// EXTERNAL MODULE: external {"root":"XEUtils","commonjs":"xe-utils","commonjs2":"xe-utils","amd":"xe-utils"}
|
|
1743
|
+
var external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_ = __webpack_require__(8871);
|
|
1744
|
+
var external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default = /*#__PURE__*/__webpack_require__.n(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_);
|
|
1745
|
+
;// CONCATENATED MODULE: ./node_modules/dom-zindex/es/index.esm.js
|
|
1746
|
+
var storeEl = null;
|
|
1747
|
+
var storeId = 'z-index-manage';
|
|
1748
|
+
var storeMainKey = 'm';
|
|
1749
|
+
var storeSubKey = 's';
|
|
1750
|
+
var storeData = {
|
|
1751
|
+
m: 1000,
|
|
1752
|
+
s: 1000
|
|
1753
|
+
};
|
|
1754
|
+
function isDocument() {
|
|
1755
|
+
return typeof document !== 'undefined';
|
|
1756
|
+
}
|
|
1757
|
+
function getDomMaxZIndex() {
|
|
1758
|
+
var max = 0;
|
|
1759
|
+
if (isDocument()) {
|
|
1760
|
+
var allElem = document.body.getElementsByTagName('*');
|
|
1761
|
+
for (var i = 0; i < allElem.length; i++) {
|
|
1762
|
+
var elem = allElem[i];
|
|
1763
|
+
if (elem && elem.style && elem.nodeType === 1) {
|
|
1764
|
+
var zIndex = elem.style.zIndex;
|
|
1765
|
+
if (zIndex && /^\d+$/.test(zIndex)) {
|
|
1766
|
+
max = Math.max(max, Number(zIndex));
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1771
|
+
return max;
|
|
1772
|
+
}
|
|
1773
|
+
function getDom() {
|
|
1774
|
+
if (!storeEl) {
|
|
1775
|
+
if (isDocument()) {
|
|
1776
|
+
storeEl = document.getElementById(storeId);
|
|
1777
|
+
if (!storeEl) {
|
|
1778
|
+
storeEl = document.createElement('div');
|
|
1779
|
+
storeEl.id = storeId;
|
|
1780
|
+
storeEl.style.display = 'none';
|
|
1781
|
+
document.body.appendChild(storeEl);
|
|
1782
|
+
setCurrent(storeData.m);
|
|
1783
|
+
setSubCurrent(storeData.s);
|
|
1784
|
+
}
|
|
1785
|
+
}
|
|
1786
|
+
}
|
|
1787
|
+
return storeEl;
|
|
1788
|
+
}
|
|
1789
|
+
function createSetHandle(key) {
|
|
1790
|
+
return function (value) {
|
|
1791
|
+
if (value) {
|
|
1792
|
+
value = Number(value);
|
|
1793
|
+
storeData[key] = value;
|
|
1794
|
+
var doc = getDom();
|
|
1795
|
+
if (doc) {
|
|
1796
|
+
if (doc.dataset) {
|
|
1797
|
+
doc.dataset[key] = value + '';
|
|
1798
|
+
} else {
|
|
1799
|
+
doc.setAttribute('data-' + key, value + '');
|
|
1800
|
+
}
|
|
1801
|
+
}
|
|
1802
|
+
}
|
|
1803
|
+
return storeData[key];
|
|
1804
|
+
};
|
|
1805
|
+
}
|
|
1806
|
+
var setCurrent = createSetHandle(storeMainKey);
|
|
1807
|
+
function createGetHandle(key, nextMethod) {
|
|
1808
|
+
return function getCurrent(currZindex) {
|
|
1809
|
+
var zIndex;
|
|
1810
|
+
var doc = getDom();
|
|
1811
|
+
if (doc) {
|
|
1812
|
+
var domVal = doc.dataset ? doc.dataset[key] : doc.getAttribute('data-' + key);
|
|
1813
|
+
if (domVal) {
|
|
1814
|
+
zIndex = Number(domVal);
|
|
1815
|
+
}
|
|
1816
|
+
}
|
|
1817
|
+
if (!zIndex) {
|
|
1818
|
+
zIndex = storeData[key];
|
|
1819
|
+
}
|
|
1820
|
+
if (currZindex) {
|
|
1821
|
+
if (Number(currZindex) < zIndex) {
|
|
1822
|
+
return nextMethod();
|
|
1823
|
+
}
|
|
1824
|
+
return currZindex;
|
|
1825
|
+
}
|
|
1826
|
+
return zIndex;
|
|
1827
|
+
};
|
|
1828
|
+
}
|
|
1829
|
+
var getCurrent = createGetHandle(storeMainKey, getNext);
|
|
1830
|
+
function getNext() {
|
|
1831
|
+
return setCurrent(getCurrent() + 1);
|
|
1832
|
+
}
|
|
1833
|
+
var setSubCurrent = createSetHandle(storeSubKey);
|
|
1834
|
+
var _getSubCurrent = createGetHandle(storeSubKey, getSubNext);
|
|
1835
|
+
function getSubCurrent() {
|
|
1836
|
+
return getCurrent() + _getSubCurrent();
|
|
1837
|
+
}
|
|
1838
|
+
function getSubNext() {
|
|
1839
|
+
setSubCurrent(_getSubCurrent() + 1);
|
|
1840
|
+
return getSubCurrent();
|
|
1841
|
+
}
|
|
1842
|
+
/**
|
|
1843
|
+
* Web common z-index style management
|
|
1844
|
+
*/
|
|
1845
|
+
var DomZIndex = {
|
|
1846
|
+
setCurrent: setCurrent,
|
|
1847
|
+
getCurrent: getCurrent,
|
|
1848
|
+
getNext: getNext,
|
|
1849
|
+
setSubCurrent: setSubCurrent,
|
|
1850
|
+
getSubCurrent: getSubCurrent,
|
|
1851
|
+
getSubNext: getSubNext,
|
|
1852
|
+
getMax: getDomMaxZIndex
|
|
1853
|
+
};
|
|
1854
|
+
/* harmony default export */ var index_esm = (DomZIndex);
|
|
1855
|
+
;// CONCATENATED MODULE: ./packages/ui/src/globalStore.ts
|
|
1856
|
+
const globalConfigStore = {
|
|
1857
|
+
button: {},
|
|
1858
|
+
breadcrumb: {
|
|
1859
|
+
separator: '/'
|
|
1860
|
+
},
|
|
1861
|
+
i18n: key => key
|
|
1862
|
+
};
|
|
1863
|
+
/* harmony default export */ var globalStore = (globalConfigStore);
|
|
1864
|
+
;// CONCATENATED MODULE: ./packages/ui/src/iconStore.ts
|
|
1865
|
+
const iconPrefix = 'vxe-icon-';
|
|
1866
|
+
const iconConfigStore = {
|
|
1867
|
+
// loading
|
|
1868
|
+
LOADING: iconPrefix + 'spinner roll vxe-loading--default-icon',
|
|
1869
|
+
// table
|
|
1870
|
+
TABLE_SORT_ASC: iconPrefix + 'caret-up',
|
|
1871
|
+
TABLE_SORT_DESC: iconPrefix + 'caret-down',
|
|
1872
|
+
TABLE_FILTER_NONE: iconPrefix + 'funnel',
|
|
1873
|
+
TABLE_FILTER_MATCH: iconPrefix + 'funnel',
|
|
1874
|
+
TABLE_EDIT: iconPrefix + 'edit',
|
|
1875
|
+
TABLE_TITLE_PREFIX: iconPrefix + 'question-circle-fill',
|
|
1876
|
+
TABLE_TITLE_SUFFIX: iconPrefix + 'question-circle-fill',
|
|
1877
|
+
TABLE_TREE_LOADED: iconPrefix + 'spinner roll',
|
|
1878
|
+
TABLE_TREE_OPEN: iconPrefix + 'caret-right rotate90',
|
|
1879
|
+
TABLE_TREE_CLOSE: iconPrefix + 'caret-right',
|
|
1880
|
+
TABLE_EXPAND_LOADED: iconPrefix + 'spinner roll',
|
|
1881
|
+
TABLE_EXPAND_OPEN: iconPrefix + 'arrow-right rotate90',
|
|
1882
|
+
TABLE_EXPAND_CLOSE: iconPrefix + 'arrow-right',
|
|
1883
|
+
TABLE_CHECKBOX_CHECKED: iconPrefix + 'checkbox-checked',
|
|
1884
|
+
TABLE_CHECKBOX_UNCHECKED: iconPrefix + 'checkbox-unchecked',
|
|
1885
|
+
TABLE_CHECKBOX_INDETERMINATE: iconPrefix + 'checkbox-indeterminate',
|
|
1886
|
+
TABLE_RADIO_CHECKED: iconPrefix + 'radio-checked',
|
|
1887
|
+
TABLE_RADIO_UNCHECKED: iconPrefix + 'radio-unchecked',
|
|
1888
|
+
// button
|
|
1889
|
+
BUTTON_DROPDOWN: iconPrefix + 'arrow-down',
|
|
1890
|
+
BUTTON_LOADING: iconPrefix + 'spinner roll',
|
|
1891
|
+
// select
|
|
1892
|
+
SELECT_LOADED: iconPrefix + 'spinner roll',
|
|
1893
|
+
SELECT_OPEN: iconPrefix + 'caret-down rotate180',
|
|
1894
|
+
SELECT_CLOSE: iconPrefix + 'caret-down',
|
|
1895
|
+
// pager
|
|
1896
|
+
PAGER_HOME: iconPrefix + 'home-page',
|
|
1897
|
+
PAGER_END: iconPrefix + 'end-page',
|
|
1898
|
+
PAGER_JUMP_PREV: iconPrefix + 'arrow-double-left',
|
|
1899
|
+
PAGER_JUMP_NEXT: iconPrefix + 'arrow-double-right',
|
|
1900
|
+
PAGER_PREV_PAGE: iconPrefix + 'arrow-left',
|
|
1901
|
+
PAGER_NEXT_PAGE: iconPrefix + 'arrow-right',
|
|
1902
|
+
PAGER_JUMP_MORE: iconPrefix + 'ellipsis-h',
|
|
1903
|
+
// input
|
|
1904
|
+
INPUT_CLEAR: iconPrefix + 'error-circle-fill',
|
|
1905
|
+
INPUT_PWD: iconPrefix + 'eye-fill',
|
|
1906
|
+
INPUT_SHOW_PWD: iconPrefix + 'eye-fill-close',
|
|
1907
|
+
INPUT_PREV_NUM: iconPrefix + 'caret-up',
|
|
1908
|
+
INPUT_NEXT_NUM: iconPrefix + 'caret-down',
|
|
1909
|
+
INPUT_DATE: iconPrefix + 'calendar',
|
|
1910
|
+
INPUT_SEARCH: iconPrefix + 'search',
|
|
1911
|
+
// modal
|
|
1912
|
+
MODAL_ZOOM_IN: iconPrefix + 'square',
|
|
1913
|
+
MODAL_ZOOM_OUT: iconPrefix + 'maximize',
|
|
1914
|
+
MODAL_CLOSE: iconPrefix + 'close',
|
|
1915
|
+
MODAL_INFO: iconPrefix + 'info-circle-fill',
|
|
1916
|
+
MODAL_SUCCESS: iconPrefix + 'success-circle-fill',
|
|
1917
|
+
MODAL_WARNING: iconPrefix + 'warnion-circle-fill',
|
|
1918
|
+
MODAL_ERROR: iconPrefix + 'error-circle-fill',
|
|
1919
|
+
MODAL_QUESTION: iconPrefix + 'question-circle-fill',
|
|
1920
|
+
MODAL_LOADING: iconPrefix + 'spinner roll',
|
|
1921
|
+
// toolbar
|
|
1922
|
+
TOOLBAR_TOOLS_REFRESH: iconPrefix + 'repeat',
|
|
1923
|
+
TOOLBAR_TOOLS_REFRESH_LOADING: iconPrefix + 'repeat roll',
|
|
1924
|
+
TOOLBAR_TOOLS_IMPORT: iconPrefix + 'upload',
|
|
1925
|
+
TOOLBAR_TOOLS_EXPORT: iconPrefix + 'download',
|
|
1926
|
+
TOOLBAR_TOOLS_PRINT: iconPrefix + 'print',
|
|
1927
|
+
TOOLBAR_TOOLS_FULLSCREEN: iconPrefix + 'fullscreen',
|
|
1928
|
+
TOOLBAR_TOOLS_MINIMIZE: iconPrefix + 'minimize',
|
|
1929
|
+
TOOLBAR_TOOLS_CUSTOM: iconPrefix + 'custom-column',
|
|
1930
|
+
TOOLBAR_TOOLS_FIXED_LEFT: iconPrefix + 'fixed-left',
|
|
1931
|
+
TOOLBAR_TOOLS_FIXED_LEFT_ACTIVED: iconPrefix + 'fixed-left-fill',
|
|
1932
|
+
TOOLBAR_TOOLS_FIXED_RIGHT: iconPrefix + 'fixed-right',
|
|
1933
|
+
TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVED: iconPrefix + 'fixed-right-fill',
|
|
1934
|
+
// form
|
|
1935
|
+
FORM_PREFIX: iconPrefix + 'question-circle-fill',
|
|
1936
|
+
FORM_SUFFIX: iconPrefix + 'question-circle-fill',
|
|
1937
|
+
FORM_FOLDING: iconPrefix + 'arrow-up rotate180',
|
|
1938
|
+
FORM_UNFOLDING: iconPrefix + 'arrow-up'
|
|
1939
|
+
};
|
|
1940
|
+
/* harmony default export */ var iconStore = (iconConfigStore);
|
|
1941
|
+
;// CONCATENATED MODULE: ./packages/ui/src/theme.ts
|
|
1942
|
+
|
|
1943
|
+
function setTheme(options) {
|
|
1944
|
+
const theme = (options ? options.theme : null) || globalStore.theme || 'default';
|
|
1945
|
+
if (typeof document !== 'undefined') {
|
|
1946
|
+
const documentElement = document.documentElement;
|
|
1947
|
+
if (documentElement) {
|
|
1948
|
+
documentElement.setAttribute('data-vxe-ui-theme', theme);
|
|
1949
|
+
}
|
|
1950
|
+
}
|
|
1951
|
+
}
|
|
1952
|
+
;// CONCATENATED MODULE: ./packages/ui/src/core.ts
|
|
1953
|
+
|
|
1954
|
+
|
|
1955
|
+
|
|
1956
|
+
|
|
1957
|
+
|
|
1958
|
+
/**
|
|
1959
|
+
* 全局参数设置
|
|
1960
|
+
*/
|
|
1961
|
+
function setConfig(options) {
|
|
1962
|
+
if (options) {
|
|
1963
|
+
if (options.theme) {
|
|
1964
|
+
setTheme(options);
|
|
1965
|
+
}
|
|
1966
|
+
if (options.zIndex) {
|
|
1967
|
+
index_esm.setCurrent(options.zIndex);
|
|
1968
|
+
}
|
|
1969
|
+
}
|
|
1970
|
+
return options ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().merge(globalStore, options) : globalStore;
|
|
1971
|
+
}
|
|
1972
|
+
/**
|
|
1973
|
+
* 获取全局参数
|
|
1974
|
+
*/
|
|
1975
|
+
function getConfig(key, defaultValue) {
|
|
1976
|
+
return arguments.length ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(globalStore, key, defaultValue) : globalStore;
|
|
1977
|
+
}
|
|
1978
|
+
function setIcon(options) {
|
|
1979
|
+
return options ? Object.assign(iconStore, options) : iconStore;
|
|
1980
|
+
}
|
|
1981
|
+
function getIcon(key) {
|
|
1982
|
+
return arguments.length ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(iconStore, key) : iconStore;
|
|
1983
|
+
}
|
|
1984
|
+
const version = "0.0.2";
|
|
1985
|
+
const VxeCore = {
|
|
1986
|
+
version,
|
|
1987
|
+
setConfig,
|
|
1988
|
+
getConfig,
|
|
1989
|
+
setIcon,
|
|
1990
|
+
getIcon
|
|
1991
|
+
};
|
|
1992
|
+
setTheme();
|
|
1993
|
+
/* harmony default export */ var core = (VxeCore);
|
|
1994
|
+
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
1995
|
+
|
|
1996
|
+
const VxeUI = core;
|
|
1997
|
+
|
|
1998
|
+
/* harmony default export */ var ui = (core);
|
|
1999
|
+
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
2000
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(9274);
|
|
2001
|
+
;// CONCATENATED MODULE: ./packages/icon/src/icon.ts
|
|
2002
|
+
|
|
2003
|
+
/* harmony default export */ var icon = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
2004
|
+
name: 'VxeIcon',
|
|
2005
|
+
props: {
|
|
2006
|
+
name: String,
|
|
2007
|
+
roll: Boolean,
|
|
2008
|
+
status: String
|
|
2009
|
+
},
|
|
2010
|
+
emits: ['click'],
|
|
2011
|
+
setup(props, {
|
|
2012
|
+
emit
|
|
2013
|
+
}) {
|
|
2014
|
+
const clickEvent = evnt => {
|
|
2015
|
+
emit('click', {
|
|
2016
|
+
$event: evnt
|
|
2017
|
+
});
|
|
2018
|
+
};
|
|
2019
|
+
return () => {
|
|
2020
|
+
const {
|
|
2021
|
+
name,
|
|
2022
|
+
roll,
|
|
2023
|
+
status
|
|
2024
|
+
} = props;
|
|
2025
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
2026
|
+
class: [`vxe-icon-${name}`, roll ? 'roll' : '', status ? [`theme--${status}`] : ''],
|
|
2027
|
+
onClick: clickEvent
|
|
2028
|
+
});
|
|
2029
|
+
};
|
|
2030
|
+
}
|
|
2031
|
+
}));
|
|
2032
|
+
;// CONCATENATED MODULE: ./packages/icon/index.ts
|
|
2033
|
+
|
|
2034
|
+
const VxeIcon = Object.assign({}, icon, {
|
|
2035
|
+
install(app) {
|
|
2036
|
+
app.component(icon.name, icon);
|
|
2037
|
+
}
|
|
2038
|
+
});
|
|
2039
|
+
const Icon = VxeIcon;
|
|
2040
|
+
/* harmony default export */ var packages_icon = (VxeIcon);
|
|
2041
|
+
;// CONCATENATED MODULE: ./packages/layout-container/src/layout-container.ts
|
|
2042
|
+
|
|
2043
|
+
|
|
2044
|
+
/* harmony default export */ var layout_container = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
2045
|
+
name: 'VxeLayoutContainer',
|
|
2046
|
+
props: {
|
|
2047
|
+
vertical: Boolean
|
|
2048
|
+
},
|
|
2049
|
+
emits: [],
|
|
2050
|
+
setup(props, context) {
|
|
2051
|
+
const {
|
|
2052
|
+
slots
|
|
2053
|
+
} = context;
|
|
2054
|
+
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
2055
|
+
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
2056
|
+
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({});
|
|
2057
|
+
const refMaps = {
|
|
2058
|
+
refElem
|
|
2059
|
+
};
|
|
2060
|
+
const computeMaps = {};
|
|
2061
|
+
const $xeLayoutContainer = {
|
|
2062
|
+
xID,
|
|
2063
|
+
props,
|
|
2064
|
+
context,
|
|
2065
|
+
reactData,
|
|
2066
|
+
getRefMaps: () => refMaps,
|
|
2067
|
+
getComputeMaps: () => computeMaps
|
|
2068
|
+
};
|
|
2069
|
+
const renderVN = () => {
|
|
2070
|
+
const defaultSlot = slots.default;
|
|
2071
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
2072
|
+
ref: refElem,
|
|
2073
|
+
class: ['vxe-layout-container', {
|
|
2074
|
+
'is--vertical': props.vertical
|
|
2075
|
+
}]
|
|
2076
|
+
}, defaultSlot ? defaultSlot({}) : []);
|
|
2077
|
+
};
|
|
2078
|
+
$xeLayoutContainer.renderVN = renderVN;
|
|
2079
|
+
return $xeLayoutContainer;
|
|
2080
|
+
},
|
|
2081
|
+
render() {
|
|
2082
|
+
return this.renderVN();
|
|
2083
|
+
}
|
|
2084
|
+
}));
|
|
2085
|
+
;// CONCATENATED MODULE: ./packages/layout-container/index.ts
|
|
2086
|
+
|
|
2087
|
+
const VxeLayoutContainer = Object.assign({}, layout_container, {
|
|
2088
|
+
install(app) {
|
|
2089
|
+
app.component(layout_container.name, layout_container);
|
|
2090
|
+
}
|
|
2091
|
+
});
|
|
2092
|
+
const LayoutContainer = VxeLayoutContainer;
|
|
2093
|
+
/* harmony default export */ var packages_layout_container = (VxeLayoutContainer);
|
|
2094
|
+
;// CONCATENATED MODULE: ./packages/layout-header/src/layout-header.ts
|
|
2095
|
+
|
|
2096
|
+
|
|
2097
|
+
/* harmony default export */ var layout_header = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
2098
|
+
name: 'VxeLayoutHeader',
|
|
2099
|
+
props: {
|
|
2100
|
+
fixed: Boolean
|
|
2101
|
+
},
|
|
2102
|
+
emits: [],
|
|
2103
|
+
setup(props, context) {
|
|
2104
|
+
const {
|
|
2105
|
+
slots
|
|
2106
|
+
} = context;
|
|
2107
|
+
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
2108
|
+
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
2109
|
+
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({});
|
|
2110
|
+
const refMaps = {
|
|
2111
|
+
refElem
|
|
2112
|
+
};
|
|
2113
|
+
const computeMaps = {};
|
|
2114
|
+
const $xeLayoutHeader = {
|
|
2115
|
+
xID,
|
|
2116
|
+
props,
|
|
2117
|
+
context,
|
|
2118
|
+
reactData,
|
|
2119
|
+
getRefMaps: () => refMaps,
|
|
2120
|
+
getComputeMaps: () => computeMaps
|
|
2121
|
+
};
|
|
2122
|
+
const renderVN = () => {
|
|
2123
|
+
const defaultSlot = slots.default;
|
|
2124
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
2125
|
+
ref: refElem,
|
|
2126
|
+
class: ['vxe-layout-header', {
|
|
2127
|
+
'is--fixed': props.fixed
|
|
2128
|
+
}]
|
|
2129
|
+
}, defaultSlot ? defaultSlot({}) : []);
|
|
2130
|
+
};
|
|
2131
|
+
$xeLayoutHeader.renderVN = renderVN;
|
|
2132
|
+
return $xeLayoutHeader;
|
|
2133
|
+
},
|
|
2134
|
+
render() {
|
|
2135
|
+
return this.renderVN();
|
|
2136
|
+
}
|
|
2137
|
+
}));
|
|
2138
|
+
;// CONCATENATED MODULE: ./packages/layout-header/index.ts
|
|
2139
|
+
|
|
2140
|
+
const VxeLayoutHeader = Object.assign({}, layout_header, {
|
|
2141
|
+
install(app) {
|
|
2142
|
+
app.component(layout_header.name, layout_header);
|
|
2143
|
+
}
|
|
2144
|
+
});
|
|
2145
|
+
const LayoutHeader = VxeLayoutHeader;
|
|
2146
|
+
/* harmony default export */ var packages_layout_header = (VxeLayoutHeader);
|
|
2147
|
+
;// CONCATENATED MODULE: ./packages/ui/src/dom.ts
|
|
2148
|
+
|
|
2149
|
+
const browse = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().browse();
|
|
2150
|
+
const reClsMap = {};
|
|
2151
|
+
function getClsRE(cls) {
|
|
2152
|
+
if (!reClsMap[cls]) {
|
|
2153
|
+
reClsMap[cls] = new RegExp(`(?:^|\\s)${cls}(?!\\S)`, 'g');
|
|
2154
|
+
}
|
|
2155
|
+
return reClsMap[cls];
|
|
2156
|
+
}
|
|
2157
|
+
function getNodeOffset(elem, container, rest) {
|
|
2158
|
+
if (elem) {
|
|
2159
|
+
const parentElem = elem.parentNode;
|
|
2160
|
+
rest.top += elem.offsetTop;
|
|
2161
|
+
rest.left += elem.offsetLeft;
|
|
2162
|
+
if (parentElem && parentElem !== document.documentElement && parentElem !== document.body) {
|
|
2163
|
+
rest.top -= parentElem.scrollTop;
|
|
2164
|
+
rest.left -= parentElem.scrollLeft;
|
|
2165
|
+
}
|
|
2166
|
+
if (container && (elem === container || elem.offsetParent === container) ? 0 : elem.offsetParent) {
|
|
2167
|
+
return getNodeOffset(elem.offsetParent, container, rest);
|
|
2168
|
+
}
|
|
2169
|
+
}
|
|
2170
|
+
return rest;
|
|
2171
|
+
}
|
|
2172
|
+
function isPx(val) {
|
|
2173
|
+
return val && /^\d+(px)?$/.test(val);
|
|
2174
|
+
}
|
|
2175
|
+
function isScale(val) {
|
|
2176
|
+
return val && /^\d+%$/.test(val);
|
|
2177
|
+
}
|
|
2178
|
+
function hasClass(elem, cls) {
|
|
2179
|
+
return elem && elem.className && elem.className.match && elem.className.match(getClsRE(cls));
|
|
2180
|
+
}
|
|
2181
|
+
function removeClass(elem, cls) {
|
|
2182
|
+
if (elem && hasClass(elem, cls)) {
|
|
2183
|
+
elem.className = elem.className.replace(getClsRE(cls), '');
|
|
2184
|
+
}
|
|
2185
|
+
}
|
|
2186
|
+
function addClass(elem, cls) {
|
|
2187
|
+
if (elem && !hasClass(elem, cls)) {
|
|
2188
|
+
removeClass(elem, cls);
|
|
2189
|
+
elem.className = `${elem.className} ${cls}`;
|
|
2190
|
+
}
|
|
2191
|
+
}
|
|
2192
|
+
function toCssUnit(val) {
|
|
2193
|
+
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(val)) {
|
|
2194
|
+
return `${val}px`;
|
|
2195
|
+
}
|
|
2196
|
+
return val || '';
|
|
2197
|
+
}
|
|
2198
|
+
function getDomNode() {
|
|
2199
|
+
const documentElement = document.documentElement;
|
|
2200
|
+
const bodyElem = document.body;
|
|
2201
|
+
return {
|
|
2202
|
+
scrollTop: documentElement.scrollTop || bodyElem.scrollTop,
|
|
2203
|
+
scrollLeft: documentElement.scrollLeft || bodyElem.scrollLeft,
|
|
2204
|
+
visibleHeight: documentElement.clientHeight || bodyElem.clientHeight,
|
|
2205
|
+
visibleWidth: documentElement.clientWidth || bodyElem.clientWidth
|
|
2206
|
+
};
|
|
2207
|
+
}
|
|
2208
|
+
/**
|
|
2209
|
+
* 检查触发源是否属于目标节点
|
|
2210
|
+
*/
|
|
2211
|
+
function getEventTargetNode(evnt, container, queryCls, queryMethod) {
|
|
2212
|
+
let targetElem;
|
|
2213
|
+
let target = evnt.target.shadowRoot && evnt.composed ? evnt.composedPath()[0] || evnt.target : evnt.target;
|
|
2214
|
+
while (target && target.nodeType && target !== document) {
|
|
2215
|
+
if (queryCls && hasClass(target, queryCls) && (!queryMethod || queryMethod(target))) {
|
|
2216
|
+
targetElem = target;
|
|
2217
|
+
} else if (target === container) {
|
|
2218
|
+
return {
|
|
2219
|
+
flag: queryCls ? !!targetElem : true,
|
|
2220
|
+
container,
|
|
2221
|
+
targetElem: targetElem
|
|
2222
|
+
};
|
|
2223
|
+
}
|
|
2224
|
+
target = target.parentNode;
|
|
2225
|
+
}
|
|
2226
|
+
return {
|
|
2227
|
+
flag: false
|
|
2228
|
+
};
|
|
2229
|
+
}
|
|
2230
|
+
/**
|
|
2231
|
+
* 获取元素相对于 document 的位置
|
|
2232
|
+
*/
|
|
2233
|
+
function getOffsetPos(elem, container) {
|
|
2234
|
+
return getNodeOffset(elem, container, {
|
|
2235
|
+
left: 0,
|
|
2236
|
+
top: 0
|
|
2237
|
+
});
|
|
2238
|
+
}
|
|
2239
|
+
function getAbsolutePos(elem) {
|
|
2240
|
+
const bounding = elem.getBoundingClientRect();
|
|
2241
|
+
const boundingTop = bounding.top;
|
|
2242
|
+
const boundingLeft = bounding.left;
|
|
2243
|
+
const {
|
|
2244
|
+
scrollTop,
|
|
2245
|
+
scrollLeft,
|
|
2246
|
+
visibleHeight,
|
|
2247
|
+
visibleWidth
|
|
2248
|
+
} = getDomNode();
|
|
2249
|
+
return {
|
|
2250
|
+
boundingTop,
|
|
2251
|
+
top: scrollTop + boundingTop,
|
|
2252
|
+
boundingLeft,
|
|
2253
|
+
left: scrollLeft + boundingLeft,
|
|
2254
|
+
visibleHeight,
|
|
2255
|
+
visibleWidth
|
|
2256
|
+
};
|
|
2257
|
+
}
|
|
2258
|
+
;// CONCATENATED MODULE: ./packages/layout-aside/src/layout-aside.ts
|
|
2259
|
+
|
|
2260
|
+
|
|
2261
|
+
|
|
2262
|
+
/* harmony default export */ var layout_aside = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
2263
|
+
name: 'VxeLayoutAside',
|
|
2264
|
+
props: {
|
|
2265
|
+
width: [String, Number],
|
|
2266
|
+
collapsed: Boolean,
|
|
2267
|
+
collapseWidth: [String, Number]
|
|
2268
|
+
},
|
|
2269
|
+
emits: [],
|
|
2270
|
+
setup(props, context) {
|
|
2271
|
+
const {
|
|
2272
|
+
slots
|
|
2273
|
+
} = context;
|
|
2274
|
+
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
2275
|
+
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
2276
|
+
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({});
|
|
2277
|
+
const refMaps = {
|
|
2278
|
+
refElem
|
|
2279
|
+
};
|
|
2280
|
+
const computeWrapperWidth = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
2281
|
+
const {
|
|
2282
|
+
width,
|
|
2283
|
+
collapsed,
|
|
2284
|
+
collapseWidth
|
|
2285
|
+
} = props;
|
|
2286
|
+
if (collapsed) {
|
|
2287
|
+
if (collapseWidth) {
|
|
2288
|
+
return toCssUnit(collapseWidth);
|
|
2289
|
+
}
|
|
2290
|
+
} else {
|
|
2291
|
+
if (width) {
|
|
2292
|
+
return toCssUnit(width);
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2295
|
+
return '';
|
|
2296
|
+
});
|
|
2297
|
+
const computeMaps = {};
|
|
2298
|
+
const $xeLayoutAside = {
|
|
2299
|
+
xID,
|
|
2300
|
+
props,
|
|
2301
|
+
context,
|
|
2302
|
+
reactData,
|
|
2303
|
+
getRefMaps: () => refMaps,
|
|
2304
|
+
getComputeMaps: () => computeMaps
|
|
2305
|
+
};
|
|
2306
|
+
const renderVN = () => {
|
|
2307
|
+
const {
|
|
2308
|
+
width,
|
|
2309
|
+
collapsed
|
|
2310
|
+
} = props;
|
|
2311
|
+
const wrapperWidth = computeWrapperWidth.value;
|
|
2312
|
+
const defaultSlot = slots.default;
|
|
2313
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
2314
|
+
ref: refElem,
|
|
2315
|
+
class: ['vxe-layout-aside', {
|
|
2316
|
+
'is--default-width': !width,
|
|
2317
|
+
'is--collapse': collapsed
|
|
2318
|
+
}],
|
|
2319
|
+
style: wrapperWidth ? {
|
|
2320
|
+
width: wrapperWidth
|
|
2321
|
+
} : null
|
|
2322
|
+
}, defaultSlot ? defaultSlot({}) : []);
|
|
2323
|
+
};
|
|
2324
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {});
|
|
2325
|
+
$xeLayoutAside.renderVN = renderVN;
|
|
2326
|
+
return $xeLayoutAside;
|
|
2327
|
+
},
|
|
2328
|
+
render() {
|
|
2329
|
+
return this.renderVN();
|
|
2330
|
+
}
|
|
2331
|
+
}));
|
|
2332
|
+
;// CONCATENATED MODULE: ./packages/layout-aside/index.ts
|
|
2333
|
+
|
|
2334
|
+
const VxeLayoutAside = Object.assign({}, layout_aside, {
|
|
2335
|
+
install(app) {
|
|
2336
|
+
app.component(layout_aside.name, layout_aside);
|
|
2337
|
+
}
|
|
2338
|
+
});
|
|
2339
|
+
const LayoutAside = VxeLayoutAside;
|
|
2340
|
+
/* harmony default export */ var packages_layout_aside = (VxeLayoutAside);
|
|
2341
|
+
;// CONCATENATED MODULE: ./packages/layout-body/src/layout-body.ts
|
|
2342
|
+
|
|
2343
|
+
|
|
2344
|
+
/* harmony default export */ var layout_body = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
2345
|
+
name: 'VxeLayoutBody',
|
|
2346
|
+
props: {},
|
|
2347
|
+
emits: [],
|
|
2348
|
+
setup(props, context) {
|
|
2349
|
+
const {
|
|
2350
|
+
slots
|
|
2351
|
+
} = context;
|
|
2352
|
+
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
2353
|
+
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
2354
|
+
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({});
|
|
2355
|
+
const refMaps = {
|
|
2356
|
+
refElem
|
|
2357
|
+
};
|
|
2358
|
+
const computeMaps = {};
|
|
2359
|
+
const $xeLayoutBody = {
|
|
2360
|
+
xID,
|
|
2361
|
+
props,
|
|
2362
|
+
context,
|
|
2363
|
+
reactData,
|
|
2364
|
+
getRefMaps: () => refMaps,
|
|
2365
|
+
getComputeMaps: () => computeMaps
|
|
2366
|
+
};
|
|
2367
|
+
const renderVN = () => {
|
|
2368
|
+
const defaultSlot = slots.default;
|
|
2369
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
2370
|
+
ref: refElem,
|
|
2371
|
+
class: 'vxe-layout-body'
|
|
2372
|
+
}, defaultSlot ? defaultSlot({}) : []);
|
|
2373
|
+
};
|
|
2374
|
+
$xeLayoutBody.renderVN = renderVN;
|
|
2375
|
+
return $xeLayoutBody;
|
|
2376
|
+
},
|
|
2377
|
+
render() {
|
|
2378
|
+
return this.renderVN();
|
|
2379
|
+
}
|
|
2380
|
+
}));
|
|
2381
|
+
;// CONCATENATED MODULE: ./packages/layout-body/index.ts
|
|
2382
|
+
|
|
2383
|
+
const VxeLayoutBody = Object.assign({}, layout_body, {
|
|
2384
|
+
install(app) {
|
|
2385
|
+
app.component(layout_body.name, layout_body);
|
|
2386
|
+
}
|
|
2387
|
+
});
|
|
2388
|
+
const LayoutBody = VxeLayoutBody;
|
|
2389
|
+
/* harmony default export */ var packages_layout_body = (VxeLayoutBody);
|
|
2390
|
+
;// CONCATENATED MODULE: ./packages/layout-footer/src/layout-footer.ts
|
|
2391
|
+
|
|
2392
|
+
|
|
2393
|
+
/* harmony default export */ var layout_footer = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
2394
|
+
name: 'VxeLayoutFooter',
|
|
2395
|
+
props: {
|
|
2396
|
+
fixed: Boolean
|
|
2397
|
+
},
|
|
2398
|
+
emits: [],
|
|
2399
|
+
setup(props, context) {
|
|
2400
|
+
const {
|
|
2401
|
+
slots
|
|
2402
|
+
} = context;
|
|
2403
|
+
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
2404
|
+
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
2405
|
+
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({});
|
|
2406
|
+
const refMaps = {
|
|
2407
|
+
refElem
|
|
2408
|
+
};
|
|
2409
|
+
const computeMaps = {};
|
|
2410
|
+
const $xeLayoutFooter = {
|
|
2411
|
+
xID,
|
|
2412
|
+
props,
|
|
2413
|
+
context,
|
|
2414
|
+
reactData,
|
|
2415
|
+
getRefMaps: () => refMaps,
|
|
2416
|
+
getComputeMaps: () => computeMaps
|
|
2417
|
+
};
|
|
2418
|
+
const renderVN = () => {
|
|
2419
|
+
const defaultSlot = slots.default;
|
|
2420
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
2421
|
+
ref: refElem,
|
|
2422
|
+
class: ['vxe-layout-footer', {
|
|
2423
|
+
'is--fixed': props.fixed
|
|
2424
|
+
}]
|
|
2425
|
+
}, defaultSlot ? defaultSlot({}) : []);
|
|
2426
|
+
};
|
|
2427
|
+
$xeLayoutFooter.renderVN = renderVN;
|
|
2428
|
+
return $xeLayoutFooter;
|
|
2429
|
+
},
|
|
2430
|
+
render() {
|
|
2431
|
+
return this.renderVN();
|
|
2432
|
+
}
|
|
2433
|
+
}));
|
|
2434
|
+
;// CONCATENATED MODULE: ./packages/layout-footer/index.ts
|
|
2435
|
+
|
|
2436
|
+
const VxeLayoutFooter = Object.assign({}, layout_footer, {
|
|
2437
|
+
install(app) {
|
|
2438
|
+
app.component(layout_footer.name, layout_footer);
|
|
2439
|
+
}
|
|
2440
|
+
});
|
|
2441
|
+
const LayoutFooter = VxeLayoutFooter;
|
|
2442
|
+
/* harmony default export */ var packages_layout_footer = (VxeLayoutFooter);
|
|
2443
|
+
;// CONCATENATED MODULE: ./packages/row/src/row.ts
|
|
2444
|
+
|
|
2445
|
+
|
|
2446
|
+
|
|
2447
|
+
/* harmony default export */ var row = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
2448
|
+
name: 'VxeRow',
|
|
2449
|
+
props: {
|
|
2450
|
+
gutter: [Number, String, Array],
|
|
2451
|
+
wrap: {
|
|
2452
|
+
type: Boolean,
|
|
2453
|
+
default: true
|
|
2454
|
+
},
|
|
2455
|
+
vertical: Boolean
|
|
2456
|
+
},
|
|
2457
|
+
emits: [],
|
|
2458
|
+
setup(props, context) {
|
|
2459
|
+
const {
|
|
2460
|
+
slots
|
|
2461
|
+
} = context;
|
|
2462
|
+
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
2463
|
+
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
2464
|
+
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({});
|
|
2465
|
+
const refMaps = {
|
|
2466
|
+
refElem
|
|
2467
|
+
};
|
|
2468
|
+
const computeRowStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
2469
|
+
const {
|
|
2470
|
+
gutter
|
|
2471
|
+
} = props;
|
|
2472
|
+
const style = {};
|
|
2473
|
+
if (gutter) {
|
|
2474
|
+
const [lrGutter, tbGutter] = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(gutter) ? gutter : [gutter];
|
|
2475
|
+
if (lrGutter) {
|
|
2476
|
+
const offsetSize = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(lrGutter) ? toCssUnit(-(lrGutter / 2)) : `calc(${toCssUnit(lrGutter)} / 2 * -1)`;
|
|
2477
|
+
style.marginLeft = offsetSize;
|
|
2478
|
+
style.marginRight = offsetSize;
|
|
2479
|
+
}
|
|
2480
|
+
if (tbGutter) {
|
|
2481
|
+
const offsetSize = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(tbGutter) ? toCssUnit(-(tbGutter / 2)) : `calc(${toCssUnit(tbGutter)} / 2 * -1)`;
|
|
2482
|
+
style.marginTop = offsetSize;
|
|
2483
|
+
style.marginBottom = offsetSize;
|
|
2484
|
+
}
|
|
2485
|
+
}
|
|
2486
|
+
return style;
|
|
2487
|
+
});
|
|
2488
|
+
const computeMaps = {};
|
|
2489
|
+
const $xeRow = {
|
|
2490
|
+
xID,
|
|
2491
|
+
props,
|
|
2492
|
+
context,
|
|
2493
|
+
reactData,
|
|
2494
|
+
getRefMaps: () => refMaps,
|
|
2495
|
+
getComputeMaps: () => computeMaps
|
|
2496
|
+
};
|
|
2497
|
+
const renderVN = () => {
|
|
2498
|
+
const {
|
|
2499
|
+
vertical
|
|
2500
|
+
} = props;
|
|
2501
|
+
const rowStyle = computeRowStyle.value;
|
|
2502
|
+
const defaultSlot = slots.default;
|
|
2503
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
2504
|
+
ref: refElem,
|
|
2505
|
+
class: ['vxe-row', {
|
|
2506
|
+
'is--vertical': vertical
|
|
2507
|
+
}],
|
|
2508
|
+
style: rowStyle
|
|
2509
|
+
}, defaultSlot ? defaultSlot({}) : []);
|
|
2510
|
+
};
|
|
2511
|
+
$xeRow.renderVN = renderVN;
|
|
2512
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeRow', $xeRow);
|
|
2513
|
+
return $xeRow;
|
|
2514
|
+
},
|
|
2515
|
+
render() {
|
|
2516
|
+
return this.renderVN();
|
|
2517
|
+
}
|
|
2518
|
+
}));
|
|
2519
|
+
;// CONCATENATED MODULE: ./packages/row/index.ts
|
|
2520
|
+
|
|
2521
|
+
const VxeRow = Object.assign({}, row, {
|
|
2522
|
+
install(app) {
|
|
2523
|
+
app.component(row.name, row);
|
|
2524
|
+
}
|
|
2525
|
+
});
|
|
2526
|
+
const Row = VxeRow;
|
|
2527
|
+
/* harmony default export */ var packages_row = (VxeRow);
|
|
2528
|
+
;// CONCATENATED MODULE: ./packages/col/src/col.ts
|
|
2529
|
+
|
|
2530
|
+
|
|
2531
|
+
|
|
2532
|
+
/* harmony default export */ var col = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
2533
|
+
name: 'VxeCol',
|
|
2534
|
+
props: {
|
|
2535
|
+
span: [Number, String],
|
|
2536
|
+
align: String,
|
|
2537
|
+
width: [Number, String],
|
|
2538
|
+
fill: Boolean,
|
|
2539
|
+
ellipsis: Boolean
|
|
2540
|
+
},
|
|
2541
|
+
emits: [],
|
|
2542
|
+
setup(props, context) {
|
|
2543
|
+
const {
|
|
2544
|
+
slots
|
|
2545
|
+
} = context;
|
|
2546
|
+
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
2547
|
+
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
2548
|
+
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({});
|
|
2549
|
+
const refMaps = {
|
|
2550
|
+
refElem
|
|
2551
|
+
};
|
|
2552
|
+
const $xeRow = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeRow', null);
|
|
2553
|
+
const computeColGutter = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
2554
|
+
if ($xeRow) {
|
|
2555
|
+
return $xeRow.props.gutter;
|
|
2556
|
+
}
|
|
2557
|
+
return null;
|
|
2558
|
+
});
|
|
2559
|
+
const computeColStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
2560
|
+
const {
|
|
2561
|
+
width
|
|
2562
|
+
} = props;
|
|
2563
|
+
const colGutter = computeColGutter.value;
|
|
2564
|
+
const style = {};
|
|
2565
|
+
if (colGutter) {
|
|
2566
|
+
const [lrGutter, tbGutter] = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(colGutter) ? colGutter : [colGutter];
|
|
2567
|
+
if (lrGutter) {
|
|
2568
|
+
const padding = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(lrGutter) ? toCssUnit(lrGutter / 2) : `calc(${toCssUnit(lrGutter)} / 2)`;
|
|
2569
|
+
style.paddingLeft = padding;
|
|
2570
|
+
style.paddingRight = padding;
|
|
2571
|
+
}
|
|
2572
|
+
if (tbGutter) {
|
|
2573
|
+
const padding = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(tbGutter) ? toCssUnit(tbGutter / 2) : `calc(${toCssUnit(tbGutter)} / 2)`;
|
|
2574
|
+
style.paddingTop = padding;
|
|
2575
|
+
style.paddingBottom = padding;
|
|
2576
|
+
}
|
|
2577
|
+
}
|
|
2578
|
+
if (width) {
|
|
2579
|
+
style.width = toCssUnit(width);
|
|
2580
|
+
}
|
|
2581
|
+
return style;
|
|
2582
|
+
});
|
|
2583
|
+
const computeMaps = {};
|
|
2584
|
+
const $xeCol = {
|
|
2585
|
+
xID,
|
|
2586
|
+
props,
|
|
2587
|
+
context,
|
|
2588
|
+
reactData,
|
|
2589
|
+
getRefMaps: () => refMaps,
|
|
2590
|
+
getComputeMaps: () => computeMaps
|
|
2591
|
+
};
|
|
2592
|
+
const renderVN = () => {
|
|
2593
|
+
const {
|
|
2594
|
+
span,
|
|
2595
|
+
fill,
|
|
2596
|
+
align,
|
|
2597
|
+
ellipsis
|
|
2598
|
+
} = props;
|
|
2599
|
+
const colStyle = computeColStyle.value;
|
|
2600
|
+
const defaultSlot = slots.default;
|
|
2601
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
2602
|
+
ref: refElem,
|
|
2603
|
+
class: ['vxe-col', span ? `span${span}` : '', align ? `align--${align}` : '', {
|
|
2604
|
+
'is--span': span,
|
|
2605
|
+
'is--fill': fill,
|
|
2606
|
+
'is--ellipsis': ellipsis
|
|
2607
|
+
}],
|
|
2608
|
+
style: colStyle
|
|
2609
|
+
}, defaultSlot ? defaultSlot({}) : []);
|
|
2610
|
+
};
|
|
2611
|
+
$xeCol.renderVN = renderVN;
|
|
2612
|
+
return $xeCol;
|
|
2613
|
+
},
|
|
2614
|
+
render() {
|
|
2615
|
+
return this.renderVN();
|
|
2616
|
+
}
|
|
2617
|
+
}));
|
|
2618
|
+
;// CONCATENATED MODULE: ./packages/col/index.ts
|
|
2619
|
+
|
|
2620
|
+
const VxeCol = Object.assign({}, col, {
|
|
2621
|
+
install(app) {
|
|
2622
|
+
app.component(col.name, col);
|
|
2623
|
+
}
|
|
2624
|
+
});
|
|
2625
|
+
const Col = VxeCol;
|
|
2626
|
+
/* harmony default export */ var packages_col = (VxeCol);
|
|
2627
|
+
;// CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb.ts
|
|
2628
|
+
|
|
2629
|
+
|
|
2630
|
+
|
|
2631
|
+
/* harmony default export */ var breadcrumb = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
2632
|
+
name: 'VxeBreadcrumb',
|
|
2633
|
+
props: {
|
|
2634
|
+
separator: {
|
|
2635
|
+
type: String,
|
|
2636
|
+
default: () => ui.getConfig('breadcrumb.separator')
|
|
2637
|
+
}
|
|
2638
|
+
},
|
|
2639
|
+
emits: [],
|
|
2640
|
+
setup(props, context) {
|
|
2641
|
+
const {
|
|
2642
|
+
slots
|
|
2643
|
+
} = context;
|
|
2644
|
+
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
2645
|
+
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
2646
|
+
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({});
|
|
2647
|
+
const refMaps = {
|
|
2648
|
+
refElem
|
|
2649
|
+
};
|
|
2650
|
+
const computeMaps = {};
|
|
2651
|
+
const $xeBreadcrumb = {
|
|
2652
|
+
xID,
|
|
2653
|
+
props,
|
|
2654
|
+
context,
|
|
2655
|
+
reactData,
|
|
2656
|
+
getRefMaps: () => refMaps,
|
|
2657
|
+
getComputeMaps: () => computeMaps
|
|
2658
|
+
};
|
|
2659
|
+
const renderVN = () => {
|
|
2660
|
+
const defaultSlot = slots.default;
|
|
2661
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
2662
|
+
ref: refElem,
|
|
2663
|
+
class: 'vxe-breadcrumb'
|
|
2664
|
+
}, defaultSlot ? defaultSlot({}) : []);
|
|
2665
|
+
};
|
|
2666
|
+
$xeBreadcrumb.renderVN = renderVN;
|
|
2667
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeBreadcrumb', $xeBreadcrumb);
|
|
2668
|
+
return $xeBreadcrumb;
|
|
2669
|
+
},
|
|
2670
|
+
render() {
|
|
2671
|
+
return this.renderVN();
|
|
2672
|
+
}
|
|
2673
|
+
}));
|
|
2674
|
+
;// CONCATENATED MODULE: ./packages/breadcrumb/index.ts
|
|
2675
|
+
|
|
2676
|
+
const VxeBreadcrumb = Object.assign({}, breadcrumb, {
|
|
2677
|
+
install(app) {
|
|
2678
|
+
app.component(breadcrumb.name, breadcrumb);
|
|
2679
|
+
}
|
|
2680
|
+
});
|
|
2681
|
+
const Breadcrumb = VxeBreadcrumb;
|
|
2682
|
+
/* harmony default export */ var packages_breadcrumb = (VxeBreadcrumb);
|
|
2683
|
+
;// CONCATENATED MODULE: ./packages/breadcrumb-item/src/breadcrumb-item.ts
|
|
2684
|
+
|
|
2685
|
+
|
|
2686
|
+
/* harmony default export */ var breadcrumb_item = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
2687
|
+
name: 'VxeBreadcrumbItem',
|
|
2688
|
+
props: {},
|
|
2689
|
+
emits: [],
|
|
2690
|
+
setup(props, context) {
|
|
2691
|
+
const {
|
|
2692
|
+
slots
|
|
2693
|
+
} = context;
|
|
2694
|
+
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
2695
|
+
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
2696
|
+
const $xeBreadcrumb = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeBreadcrumb', null);
|
|
2697
|
+
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({});
|
|
2698
|
+
const refMaps = {
|
|
2699
|
+
refElem
|
|
2700
|
+
};
|
|
2701
|
+
const computeSeparator = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
2702
|
+
if ($xeBreadcrumb) {
|
|
2703
|
+
return $xeBreadcrumb.props.separator;
|
|
2704
|
+
}
|
|
2705
|
+
return '';
|
|
2706
|
+
});
|
|
2707
|
+
const computeMaps = {};
|
|
2708
|
+
const $xeBreadcrumbItem = {
|
|
2709
|
+
xID,
|
|
2710
|
+
props,
|
|
2711
|
+
context,
|
|
2712
|
+
reactData,
|
|
2713
|
+
getRefMaps: () => refMaps,
|
|
2714
|
+
getComputeMaps: () => computeMaps
|
|
2715
|
+
};
|
|
2716
|
+
const renderVN = () => {
|
|
2717
|
+
const separator = computeSeparator.value;
|
|
2718
|
+
const defaultSlot = slots.default;
|
|
2719
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
2720
|
+
ref: refElem,
|
|
2721
|
+
class: 'vxe-breadcrumb-item'
|
|
2722
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
2723
|
+
class: 'vxe-breadcrumb-item--content'
|
|
2724
|
+
}, defaultSlot ? defaultSlot({}) : []), separator ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
2725
|
+
class: 'vxe-breadcrumb-item--separator'
|
|
2726
|
+
}, `${separator}`) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]);
|
|
2727
|
+
};
|
|
2728
|
+
$xeBreadcrumbItem.renderVN = renderVN;
|
|
2729
|
+
return $xeBreadcrumbItem;
|
|
2730
|
+
},
|
|
2731
|
+
render() {
|
|
2732
|
+
return this.renderVN();
|
|
2733
|
+
}
|
|
2734
|
+
}));
|
|
2735
|
+
;// CONCATENATED MODULE: ./packages/breadcrumb-item/index.ts
|
|
2736
|
+
|
|
2737
|
+
const VxeBreadcrumbItem = Object.assign({}, breadcrumb_item, {
|
|
2738
|
+
install(app) {
|
|
2739
|
+
app.component(breadcrumb_item.name, breadcrumb_item);
|
|
2740
|
+
}
|
|
2741
|
+
});
|
|
2742
|
+
const BreadcrumbItem = VxeBreadcrumbItem;
|
|
2743
|
+
/* harmony default export */ var packages_breadcrumb_item = (VxeBreadcrumbItem);
|
|
2744
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
2745
|
+
var es_array_push = __webpack_require__(4114);
|
|
2746
|
+
;// CONCATENATED MODULE: ./packages/hooks/size.ts
|
|
2747
|
+
|
|
2748
|
+
function useSize(props) {
|
|
2749
|
+
// 组件尺寸上下文
|
|
2750
|
+
const xesize = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('xesize', null);
|
|
2751
|
+
const computeSize = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
2752
|
+
return props.size || (xesize ? xesize.value : null);
|
|
2753
|
+
});
|
|
2754
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('xesize', computeSize);
|
|
2755
|
+
return computeSize;
|
|
2756
|
+
}
|
|
2757
|
+
;// CONCATENATED MODULE: ./packages/ui/src/utils.ts
|
|
2758
|
+
|
|
2759
|
+
|
|
2760
|
+
function isEnableConf(conf) {
|
|
2761
|
+
return conf && conf.enabled !== false;
|
|
2762
|
+
}
|
|
2763
|
+
function isEmptyValue(cellValue) {
|
|
2764
|
+
return cellValue === null || cellValue === undefined || cellValue === '';
|
|
2765
|
+
}
|
|
2766
|
+
function nextZIndex() {
|
|
2767
|
+
return index_esm.getNext();
|
|
2768
|
+
}
|
|
2769
|
+
function getLastZIndex() {
|
|
2770
|
+
return index_esm.getCurrent();
|
|
2771
|
+
}
|
|
2772
|
+
function getFuncText(content) {
|
|
2773
|
+
return content ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(content) : '';
|
|
2774
|
+
}
|
|
2775
|
+
;// CONCATENATED MODULE: ./packages/ui/src/event.ts
|
|
2776
|
+
|
|
2777
|
+
|
|
2778
|
+
|
|
2779
|
+
const EVENT_KEYS = {
|
|
2780
|
+
F2: 'F2',
|
|
2781
|
+
ESCAPE: 'Escape',
|
|
2782
|
+
ENTER: 'Enter',
|
|
2783
|
+
TAB: 'Tab',
|
|
2784
|
+
DELETE: 'Delete',
|
|
2785
|
+
BACKSPACE: 'Backspace',
|
|
2786
|
+
SPACEBAR: ' ',
|
|
2787
|
+
CONTEXT_MENU: 'ContextMenu',
|
|
2788
|
+
ARROW_UP: 'ArrowUp',
|
|
2789
|
+
ARROW_DOWN: 'ArrowDown',
|
|
2790
|
+
ARROW_LEFT: 'ArrowLeft',
|
|
2791
|
+
ARROW_RIGHT: 'ArrowRight',
|
|
2792
|
+
PAGE_UP: 'PageUp',
|
|
2793
|
+
PAGE_DOWN: 'PageDown'
|
|
2794
|
+
};
|
|
2795
|
+
const convertEventKeys = {
|
|
2796
|
+
' ': 'Spacebar',
|
|
2797
|
+
Apps: EVENT_KEYS.CONTEXT_MENU,
|
|
2798
|
+
Del: EVENT_KEYS.DELETE,
|
|
2799
|
+
Up: EVENT_KEYS.ARROW_UP,
|
|
2800
|
+
Down: EVENT_KEYS.ARROW_DOWN,
|
|
2801
|
+
Left: EVENT_KEYS.ARROW_LEFT,
|
|
2802
|
+
Right: EVENT_KEYS.ARROW_RIGHT
|
|
2803
|
+
};
|
|
2804
|
+
// 监听全局事件
|
|
2805
|
+
const wheelName = browse.firefox ? 'DOMMouseScroll' : 'mousewheel';
|
|
2806
|
+
const eventStore = [];
|
|
2807
|
+
const hasEventKey = (evnt, targetKey) => {
|
|
2808
|
+
const {
|
|
2809
|
+
key
|
|
2810
|
+
} = evnt;
|
|
2811
|
+
targetKey = targetKey.toLowerCase();
|
|
2812
|
+
return key ? targetKey === key.toLowerCase() || !!(convertEventKeys[key] && convertEventKeys[key].toLowerCase() === targetKey) : false;
|
|
2813
|
+
};
|
|
2814
|
+
function triggerEvent(evnt) {
|
|
2815
|
+
const isWheel = evnt.type === wheelName;
|
|
2816
|
+
eventStore.forEach(({
|
|
2817
|
+
type,
|
|
2818
|
+
cb
|
|
2819
|
+
}) => {
|
|
2820
|
+
// 如果被取消冒泡,不再执行
|
|
2821
|
+
if (!evnt.cancelBubble) {
|
|
2822
|
+
if (type === evnt.type || isWheel && type === 'mousewheel') {
|
|
2823
|
+
cb(evnt);
|
|
2824
|
+
}
|
|
2825
|
+
}
|
|
2826
|
+
});
|
|
2827
|
+
}
|
|
2828
|
+
const GlobalEvent = {
|
|
2829
|
+
on(comp, type, cb) {
|
|
2830
|
+
eventStore.push({
|
|
2831
|
+
comp,
|
|
2832
|
+
type,
|
|
2833
|
+
cb
|
|
2834
|
+
});
|
|
2835
|
+
},
|
|
2836
|
+
off(comp, type) {
|
|
2837
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().remove(eventStore, item => item.comp === comp && item.type === type);
|
|
2838
|
+
},
|
|
2839
|
+
trigger: triggerEvent,
|
|
2840
|
+
eqKeypad(evnt, keyVal) {
|
|
2841
|
+
const {
|
|
2842
|
+
key
|
|
2843
|
+
} = evnt;
|
|
2844
|
+
if (keyVal.toLowerCase() === key.toLowerCase()) {
|
|
2845
|
+
return true;
|
|
2846
|
+
}
|
|
2847
|
+
return false;
|
|
2848
|
+
}
|
|
2849
|
+
};
|
|
2850
|
+
if (browse.isDoc) {
|
|
2851
|
+
if (!browse.msie) {
|
|
2852
|
+
window.addEventListener('copy', triggerEvent, false);
|
|
2853
|
+
window.addEventListener('cut', triggerEvent, false);
|
|
2854
|
+
window.addEventListener('paste', triggerEvent, false);
|
|
2855
|
+
}
|
|
2856
|
+
document.addEventListener('keydown', triggerEvent, false);
|
|
2857
|
+
document.addEventListener('contextmenu', triggerEvent, false);
|
|
2858
|
+
window.addEventListener('mousedown', triggerEvent, false);
|
|
2859
|
+
window.addEventListener('blur', triggerEvent, false);
|
|
2860
|
+
window.addEventListener('resize', triggerEvent, false);
|
|
2861
|
+
window.addEventListener(wheelName, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().throttle(triggerEvent, 100, {
|
|
2862
|
+
leading: true,
|
|
2863
|
+
trailing: false
|
|
2864
|
+
}), {
|
|
2865
|
+
passive: true,
|
|
2866
|
+
capture: false
|
|
2867
|
+
});
|
|
2868
|
+
}
|
|
2869
|
+
;// CONCATENATED MODULE: ./packages/ui/src/log.ts
|
|
2870
|
+
|
|
2871
|
+
function getLog(message, params) {
|
|
2872
|
+
return `[vxe-table v${"0.0.2"}] ${globalStore.i18n(message, params)}`;
|
|
2873
|
+
}
|
|
2874
|
+
function outLog(type) {
|
|
2875
|
+
return function (message, params) {
|
|
2876
|
+
const msg = getLog(message, params);
|
|
2877
|
+
console[type](msg);
|
|
2878
|
+
return msg;
|
|
2879
|
+
};
|
|
2880
|
+
}
|
|
2881
|
+
const warnLog = outLog('warn');
|
|
2882
|
+
const errLog = outLog('error');
|
|
2883
|
+
;// CONCATENATED MODULE: ./packages/button/src/button.ts
|
|
2884
|
+
|
|
2885
|
+
|
|
2886
|
+
|
|
2887
|
+
|
|
2888
|
+
|
|
2889
|
+
|
|
2890
|
+
|
|
2891
|
+
|
|
2892
|
+
|
|
2893
|
+
|
|
2894
|
+
/* harmony default export */ var src_button = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
2895
|
+
name: 'VxeButton',
|
|
2896
|
+
props: {
|
|
2897
|
+
/**
|
|
2898
|
+
* 按钮类型
|
|
2899
|
+
*/
|
|
2900
|
+
type: String,
|
|
2901
|
+
mode: String,
|
|
2902
|
+
className: [String, Function],
|
|
2903
|
+
popupClassName: [String, Function],
|
|
2904
|
+
/**
|
|
2905
|
+
* 按钮尺寸
|
|
2906
|
+
*/
|
|
2907
|
+
size: {
|
|
2908
|
+
type: String,
|
|
2909
|
+
default: () => globalStore.button.size || globalStore.size
|
|
2910
|
+
},
|
|
2911
|
+
/**
|
|
2912
|
+
* 用来标识这一项
|
|
2913
|
+
*/
|
|
2914
|
+
name: [String, Number],
|
|
2915
|
+
/**
|
|
2916
|
+
* 按钮内容
|
|
2917
|
+
*/
|
|
2918
|
+
content: String,
|
|
2919
|
+
/**
|
|
2920
|
+
* 固定显示下拉面板的方向
|
|
2921
|
+
*/
|
|
2922
|
+
placement: String,
|
|
2923
|
+
/**
|
|
2924
|
+
* 按钮状态
|
|
2925
|
+
*/
|
|
2926
|
+
status: String,
|
|
2927
|
+
/**
|
|
2928
|
+
* 标题
|
|
2929
|
+
*/
|
|
2930
|
+
title: String,
|
|
2931
|
+
/**
|
|
2932
|
+
* 按钮的图标
|
|
2933
|
+
*/
|
|
2934
|
+
icon: String,
|
|
2935
|
+
/**
|
|
2936
|
+
* 圆角边框
|
|
2937
|
+
*/
|
|
2938
|
+
round: Boolean,
|
|
2939
|
+
/**
|
|
2940
|
+
* 圆角按钮
|
|
2941
|
+
*/
|
|
2942
|
+
circle: Boolean,
|
|
2943
|
+
/**
|
|
2944
|
+
* 是否禁用
|
|
2945
|
+
*/
|
|
2946
|
+
disabled: Boolean,
|
|
2947
|
+
/**
|
|
2948
|
+
* 是否加载中
|
|
2949
|
+
*/
|
|
2950
|
+
loading: Boolean,
|
|
2951
|
+
/**
|
|
2952
|
+
* 在下拉面板关闭时销毁内容
|
|
2953
|
+
*/
|
|
2954
|
+
destroyOnClose: Boolean,
|
|
2955
|
+
/**
|
|
2956
|
+
* 是否将弹框容器插入于 body 内
|
|
2957
|
+
*/
|
|
2958
|
+
transfer: {
|
|
2959
|
+
type: Boolean,
|
|
2960
|
+
default: () => globalStore.button.transfer
|
|
2961
|
+
}
|
|
2962
|
+
},
|
|
2963
|
+
emits: ['click', 'mouseenter', 'mouseleave', 'dropdown-click'],
|
|
2964
|
+
setup(props, context) {
|
|
2965
|
+
const {
|
|
2966
|
+
slots,
|
|
2967
|
+
emit
|
|
2968
|
+
} = context;
|
|
2969
|
+
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
2970
|
+
const computeSize = useSize(props);
|
|
2971
|
+
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({
|
|
2972
|
+
inited: false,
|
|
2973
|
+
showPanel: false,
|
|
2974
|
+
animatVisible: false,
|
|
2975
|
+
panelIndex: 0,
|
|
2976
|
+
panelStyle: {},
|
|
2977
|
+
panelPlacement: ''
|
|
2978
|
+
});
|
|
2979
|
+
const internalData = {
|
|
2980
|
+
showTime: null
|
|
2981
|
+
};
|
|
2982
|
+
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
2983
|
+
const refButton = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
2984
|
+
const refBtnPanel = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
2985
|
+
const refMaps = {
|
|
2986
|
+
refElem
|
|
2987
|
+
};
|
|
2988
|
+
const $xeButton = {
|
|
2989
|
+
xID,
|
|
2990
|
+
props,
|
|
2991
|
+
context,
|
|
2992
|
+
reactData,
|
|
2993
|
+
internalData,
|
|
2994
|
+
getRefMaps: () => refMaps
|
|
2995
|
+
};
|
|
2996
|
+
const $xeButtonGroup = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeButtonGroup', null);
|
|
2997
|
+
let buttonMethods = {};
|
|
2998
|
+
const computeIsFormBtn = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
2999
|
+
const {
|
|
3000
|
+
type
|
|
3001
|
+
} = props;
|
|
3002
|
+
if (type) {
|
|
3003
|
+
return ['submit', 'reset', 'button'].indexOf(type) > -1;
|
|
3004
|
+
}
|
|
3005
|
+
return false;
|
|
3006
|
+
});
|
|
3007
|
+
const computeBtnMode = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
3008
|
+
const {
|
|
3009
|
+
type,
|
|
3010
|
+
mode
|
|
3011
|
+
} = props;
|
|
3012
|
+
if (mode === 'text' || type === 'text' || $xeButtonGroup && $xeButtonGroup.props.mode === 'text') {
|
|
3013
|
+
return 'text';
|
|
3014
|
+
}
|
|
3015
|
+
return 'button';
|
|
3016
|
+
});
|
|
3017
|
+
const computeBtnStatus = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
3018
|
+
const {
|
|
3019
|
+
status
|
|
3020
|
+
} = props;
|
|
3021
|
+
if (status) {
|
|
3022
|
+
return status;
|
|
3023
|
+
}
|
|
3024
|
+
if ($xeButtonGroup) {
|
|
3025
|
+
return $xeButtonGroup.props.status;
|
|
3026
|
+
}
|
|
3027
|
+
return '';
|
|
3028
|
+
});
|
|
3029
|
+
const computeBtnRound = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
3030
|
+
const {
|
|
3031
|
+
round
|
|
3032
|
+
} = props;
|
|
3033
|
+
if (round) {
|
|
3034
|
+
return round;
|
|
3035
|
+
}
|
|
3036
|
+
if ($xeButtonGroup) {
|
|
3037
|
+
return $xeButtonGroup.props.round;
|
|
3038
|
+
}
|
|
3039
|
+
return false;
|
|
3040
|
+
});
|
|
3041
|
+
const computeBtnCircle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
3042
|
+
const {
|
|
3043
|
+
circle
|
|
3044
|
+
} = props;
|
|
3045
|
+
if (circle) {
|
|
3046
|
+
return circle;
|
|
3047
|
+
}
|
|
3048
|
+
if ($xeButtonGroup) {
|
|
3049
|
+
return $xeButtonGroup.props.circle;
|
|
3050
|
+
}
|
|
3051
|
+
return false;
|
|
3052
|
+
});
|
|
3053
|
+
const updateZindex = () => {
|
|
3054
|
+
if (reactData.panelIndex < getLastZIndex()) {
|
|
3055
|
+
reactData.panelIndex = nextZIndex();
|
|
3056
|
+
}
|
|
3057
|
+
};
|
|
3058
|
+
const updatePlacement = () => {
|
|
3059
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => {
|
|
3060
|
+
const {
|
|
3061
|
+
transfer,
|
|
3062
|
+
placement
|
|
3063
|
+
} = props;
|
|
3064
|
+
const {
|
|
3065
|
+
panelIndex
|
|
3066
|
+
} = reactData;
|
|
3067
|
+
const targetElem = refButton.value;
|
|
3068
|
+
const panelElem = refBtnPanel.value;
|
|
3069
|
+
if (panelElem && targetElem) {
|
|
3070
|
+
const targetHeight = targetElem.offsetHeight;
|
|
3071
|
+
const targetWidth = targetElem.offsetWidth;
|
|
3072
|
+
const panelHeight = panelElem.offsetHeight;
|
|
3073
|
+
const panelWidth = panelElem.offsetWidth;
|
|
3074
|
+
const marginSize = 5;
|
|
3075
|
+
const panelStyle = {
|
|
3076
|
+
zIndex: panelIndex
|
|
3077
|
+
};
|
|
3078
|
+
const {
|
|
3079
|
+
top,
|
|
3080
|
+
left,
|
|
3081
|
+
boundingTop,
|
|
3082
|
+
visibleHeight,
|
|
3083
|
+
visibleWidth
|
|
3084
|
+
} = getAbsolutePos(targetElem);
|
|
3085
|
+
let panelPlacement = 'bottom';
|
|
3086
|
+
if (transfer) {
|
|
3087
|
+
let btnLeft = left + targetWidth - panelWidth;
|
|
3088
|
+
let btnTop = top + targetHeight;
|
|
3089
|
+
if (placement === 'top') {
|
|
3090
|
+
panelPlacement = 'top';
|
|
3091
|
+
btnTop = top - panelHeight;
|
|
3092
|
+
} else if (!placement) {
|
|
3093
|
+
// 如果下面不够放,则向上
|
|
3094
|
+
if (boundingTop + targetHeight + panelHeight + marginSize > visibleHeight) {
|
|
3095
|
+
panelPlacement = 'top';
|
|
3096
|
+
btnTop = top - panelHeight;
|
|
3097
|
+
}
|
|
3098
|
+
// 如果上面不够放,则向下(优先)
|
|
3099
|
+
if (btnTop < marginSize) {
|
|
3100
|
+
panelPlacement = 'bottom';
|
|
3101
|
+
btnTop = top + targetHeight;
|
|
3102
|
+
}
|
|
3103
|
+
}
|
|
3104
|
+
// 如果溢出右边
|
|
3105
|
+
if (btnLeft + panelWidth + marginSize > visibleWidth) {
|
|
3106
|
+
btnLeft -= btnLeft + panelWidth + marginSize - visibleWidth;
|
|
3107
|
+
}
|
|
3108
|
+
// 如果溢出左边
|
|
3109
|
+
if (btnLeft < marginSize) {
|
|
3110
|
+
btnLeft = marginSize;
|
|
3111
|
+
}
|
|
3112
|
+
Object.assign(panelStyle, {
|
|
3113
|
+
left: `${btnLeft}px`,
|
|
3114
|
+
right: 'auto',
|
|
3115
|
+
top: `${btnTop}px`,
|
|
3116
|
+
minWidth: `${targetWidth}px`
|
|
3117
|
+
});
|
|
3118
|
+
} else {
|
|
3119
|
+
if (placement === 'top') {
|
|
3120
|
+
panelPlacement = 'top';
|
|
3121
|
+
panelStyle.bottom = `${targetHeight}px`;
|
|
3122
|
+
} else if (!placement) {
|
|
3123
|
+
// 如果下面不够放,则向上
|
|
3124
|
+
if (boundingTop + targetHeight + panelHeight > visibleHeight) {
|
|
3125
|
+
// 如果上面不够放,则向下(优先)
|
|
3126
|
+
if (boundingTop - targetHeight - panelHeight > marginSize) {
|
|
3127
|
+
panelPlacement = 'top';
|
|
3128
|
+
panelStyle.bottom = `${targetHeight}px`;
|
|
3129
|
+
}
|
|
3130
|
+
}
|
|
3131
|
+
}
|
|
3132
|
+
}
|
|
3133
|
+
reactData.panelStyle = panelStyle;
|
|
3134
|
+
reactData.panelPlacement = panelPlacement;
|
|
3135
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
|
|
3136
|
+
}
|
|
3137
|
+
});
|
|
3138
|
+
};
|
|
3139
|
+
const clickEvent = evnt => {
|
|
3140
|
+
if ($xeButtonGroup) {
|
|
3141
|
+
$xeButtonGroup.handleClick({
|
|
3142
|
+
name: props.name
|
|
3143
|
+
}, evnt);
|
|
3144
|
+
} else {
|
|
3145
|
+
buttonMethods.dispatchEvent('click', {
|
|
3146
|
+
$event: evnt
|
|
3147
|
+
}, evnt);
|
|
3148
|
+
}
|
|
3149
|
+
};
|
|
3150
|
+
const mousedownDropdownEvent = evnt => {
|
|
3151
|
+
const isLeftBtn = evnt.button === 0;
|
|
3152
|
+
if (isLeftBtn) {
|
|
3153
|
+
evnt.stopPropagation();
|
|
3154
|
+
}
|
|
3155
|
+
};
|
|
3156
|
+
const clickDropdownEvent = evnt => {
|
|
3157
|
+
const dropdownElem = evnt.currentTarget;
|
|
3158
|
+
const panelElem = refBtnPanel.value;
|
|
3159
|
+
const {
|
|
3160
|
+
flag,
|
|
3161
|
+
targetElem
|
|
3162
|
+
} = getEventTargetNode(evnt, dropdownElem, 'vxe-button');
|
|
3163
|
+
if (flag) {
|
|
3164
|
+
if (panelElem) {
|
|
3165
|
+
panelElem.dataset.active = 'N';
|
|
3166
|
+
}
|
|
3167
|
+
reactData.showPanel = false;
|
|
3168
|
+
setTimeout(() => {
|
|
3169
|
+
if (!panelElem || panelElem.dataset.active !== 'Y') {
|
|
3170
|
+
reactData.animatVisible = false;
|
|
3171
|
+
}
|
|
3172
|
+
}, 350);
|
|
3173
|
+
buttonMethods.dispatchEvent('dropdown-click', {
|
|
3174
|
+
name: targetElem.getAttribute('name'),
|
|
3175
|
+
$event: evnt
|
|
3176
|
+
}, evnt);
|
|
3177
|
+
}
|
|
3178
|
+
};
|
|
3179
|
+
const mouseenterDropdownEvent = () => {
|
|
3180
|
+
const panelElem = refBtnPanel.value;
|
|
3181
|
+
if (panelElem) {
|
|
3182
|
+
panelElem.dataset.active = 'Y';
|
|
3183
|
+
reactData.animatVisible = true;
|
|
3184
|
+
setTimeout(() => {
|
|
3185
|
+
if (panelElem.dataset.active === 'Y') {
|
|
3186
|
+
reactData.showPanel = true;
|
|
3187
|
+
updateZindex();
|
|
3188
|
+
updatePlacement();
|
|
3189
|
+
setTimeout(() => {
|
|
3190
|
+
if (reactData.showPanel) {
|
|
3191
|
+
updatePlacement();
|
|
3192
|
+
}
|
|
3193
|
+
}, 50);
|
|
3194
|
+
}
|
|
3195
|
+
}, 20);
|
|
3196
|
+
}
|
|
3197
|
+
};
|
|
3198
|
+
const mouseenterTargetEvent = evnt => {
|
|
3199
|
+
const panelElem = refBtnPanel.value;
|
|
3200
|
+
if (panelElem) {
|
|
3201
|
+
panelElem.dataset.active = 'Y';
|
|
3202
|
+
if (!reactData.inited) {
|
|
3203
|
+
reactData.inited = true;
|
|
3204
|
+
}
|
|
3205
|
+
internalData.showTime = setTimeout(() => {
|
|
3206
|
+
if (panelElem.dataset.active === 'Y') {
|
|
3207
|
+
mouseenterDropdownEvent();
|
|
3208
|
+
} else {
|
|
3209
|
+
reactData.animatVisible = false;
|
|
3210
|
+
}
|
|
3211
|
+
}, 250);
|
|
3212
|
+
}
|
|
3213
|
+
mouseenterEvent(evnt);
|
|
3214
|
+
};
|
|
3215
|
+
const mouseleaveTargetEvent = evnt => {
|
|
3216
|
+
closePanel();
|
|
3217
|
+
mouseleaveEvent(evnt);
|
|
3218
|
+
};
|
|
3219
|
+
const mouseenterEvent = evnt => {
|
|
3220
|
+
emit('mouseenter', {
|
|
3221
|
+
$event: evnt
|
|
3222
|
+
});
|
|
3223
|
+
};
|
|
3224
|
+
const mouseleaveEvent = evnt => {
|
|
3225
|
+
emit('mouseleave', {
|
|
3226
|
+
$event: evnt
|
|
3227
|
+
});
|
|
3228
|
+
};
|
|
3229
|
+
const closePanel = () => {
|
|
3230
|
+
const panelElem = refBtnPanel.value;
|
|
3231
|
+
clearTimeout(internalData.showTime);
|
|
3232
|
+
if (panelElem) {
|
|
3233
|
+
panelElem.dataset.active = 'N';
|
|
3234
|
+
setTimeout(() => {
|
|
3235
|
+
if (panelElem.dataset.active !== 'Y') {
|
|
3236
|
+
reactData.showPanel = false;
|
|
3237
|
+
setTimeout(() => {
|
|
3238
|
+
if (panelElem.dataset.active !== 'Y') {
|
|
3239
|
+
reactData.animatVisible = false;
|
|
3240
|
+
}
|
|
3241
|
+
}, 350);
|
|
3242
|
+
}
|
|
3243
|
+
}, 100);
|
|
3244
|
+
} else {
|
|
3245
|
+
reactData.animatVisible = false;
|
|
3246
|
+
reactData.showPanel = false;
|
|
3247
|
+
}
|
|
3248
|
+
};
|
|
3249
|
+
const mouseleaveDropdownEvent = () => {
|
|
3250
|
+
closePanel();
|
|
3251
|
+
};
|
|
3252
|
+
const renderContent = () => {
|
|
3253
|
+
const {
|
|
3254
|
+
content,
|
|
3255
|
+
icon,
|
|
3256
|
+
loading
|
|
3257
|
+
} = props;
|
|
3258
|
+
const contVNs = [];
|
|
3259
|
+
if (loading) {
|
|
3260
|
+
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
3261
|
+
class: ['vxe-button--loading-icon', iconStore.BUTTON_LOADING]
|
|
3262
|
+
}));
|
|
3263
|
+
} else if (slots.icon) {
|
|
3264
|
+
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
3265
|
+
class: 'vxe-button--custom-icon'
|
|
3266
|
+
}, slots.icon({})));
|
|
3267
|
+
} else if (icon) {
|
|
3268
|
+
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
3269
|
+
class: ['vxe-button--icon', icon]
|
|
3270
|
+
}));
|
|
3271
|
+
}
|
|
3272
|
+
if (slots.default) {
|
|
3273
|
+
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
3274
|
+
class: 'vxe-button--content'
|
|
3275
|
+
}, slots.default({})));
|
|
3276
|
+
} else if (content) {
|
|
3277
|
+
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
3278
|
+
class: 'vxe-button--content'
|
|
3279
|
+
}, getFuncText(content)));
|
|
3280
|
+
}
|
|
3281
|
+
return contVNs;
|
|
3282
|
+
};
|
|
3283
|
+
buttonMethods = {
|
|
3284
|
+
dispatchEvent(type, params, evnt) {
|
|
3285
|
+
emit(type, Object.assign({
|
|
3286
|
+
$button: $xeButton,
|
|
3287
|
+
$event: evnt
|
|
3288
|
+
}, params));
|
|
3289
|
+
},
|
|
3290
|
+
focus() {
|
|
3291
|
+
const btnElem = refButton.value;
|
|
3292
|
+
btnElem.focus();
|
|
3293
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
|
|
3294
|
+
},
|
|
3295
|
+
blur() {
|
|
3296
|
+
const btnElem = refButton.value;
|
|
3297
|
+
btnElem.blur();
|
|
3298
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
|
|
3299
|
+
}
|
|
3300
|
+
};
|
|
3301
|
+
Object.assign($xeButton, buttonMethods);
|
|
3302
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
|
|
3303
|
+
if (true) {
|
|
3304
|
+
if (props.type === 'text') {
|
|
3305
|
+
warnLog('vxe.error.delProp', ['type=text', 'mode=text']);
|
|
3306
|
+
}
|
|
3307
|
+
}
|
|
3308
|
+
GlobalEvent.on($xeButton, 'mousewheel', evnt => {
|
|
3309
|
+
const panelElem = refBtnPanel.value;
|
|
3310
|
+
if (reactData.showPanel && !getEventTargetNode(evnt, panelElem).flag) {
|
|
3311
|
+
closePanel();
|
|
3312
|
+
}
|
|
3313
|
+
});
|
|
3314
|
+
});
|
|
3315
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onUnmounted)(() => {
|
|
3316
|
+
GlobalEvent.off($xeButton, 'mousewheel');
|
|
3317
|
+
});
|
|
3318
|
+
const renderVN = () => {
|
|
3319
|
+
const {
|
|
3320
|
+
className,
|
|
3321
|
+
popupClassName,
|
|
3322
|
+
transfer,
|
|
3323
|
+
title,
|
|
3324
|
+
type,
|
|
3325
|
+
destroyOnClose,
|
|
3326
|
+
name,
|
|
3327
|
+
disabled,
|
|
3328
|
+
loading
|
|
3329
|
+
} = props;
|
|
3330
|
+
const {
|
|
3331
|
+
inited,
|
|
3332
|
+
showPanel
|
|
3333
|
+
} = reactData;
|
|
3334
|
+
const isFormBtn = computeIsFormBtn.value;
|
|
3335
|
+
const btnMode = computeBtnMode.value;
|
|
3336
|
+
const btnStatus = computeBtnStatus.value;
|
|
3337
|
+
const btnRound = computeBtnRound.value;
|
|
3338
|
+
const btnCircle = computeBtnCircle.value;
|
|
3339
|
+
const vSize = computeSize.value;
|
|
3340
|
+
if (slots.dropdowns) {
|
|
3341
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
3342
|
+
ref: refElem,
|
|
3343
|
+
class: ['vxe-button--dropdown', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
|
|
3344
|
+
$button: $xeButton
|
|
3345
|
+
}) : className : '', {
|
|
3346
|
+
[`size--${vSize}`]: vSize,
|
|
3347
|
+
'is--active': showPanel
|
|
3348
|
+
}]
|
|
3349
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('button', {
|
|
3350
|
+
ref: refButton,
|
|
3351
|
+
class: ['vxe-button', `type--${btnMode}`, {
|
|
3352
|
+
[`size--${vSize}`]: vSize,
|
|
3353
|
+
[`theme--${btnStatus}`]: btnStatus,
|
|
3354
|
+
'is--round': btnRound,
|
|
3355
|
+
'is--circle': btnCircle,
|
|
3356
|
+
'is--disabled': disabled || loading,
|
|
3357
|
+
'is--loading': loading
|
|
3358
|
+
}],
|
|
3359
|
+
title,
|
|
3360
|
+
name,
|
|
3361
|
+
type: isFormBtn ? type : 'button',
|
|
3362
|
+
disabled: disabled || loading,
|
|
3363
|
+
onMouseenter: mouseenterTargetEvent,
|
|
3364
|
+
onMouseleave: mouseleaveTargetEvent,
|
|
3365
|
+
onClick: clickEvent
|
|
3366
|
+
}, renderContent().concat([(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
3367
|
+
class: `vxe-button--dropdown-arrow ${iconStore.BUTTON_DROPDOWN}`
|
|
3368
|
+
})])), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(external_commonjs_vue_commonjs2_vue_root_Vue_.Teleport, {
|
|
3369
|
+
to: 'body',
|
|
3370
|
+
disabled: transfer ? !inited : true
|
|
3371
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
3372
|
+
ref: refBtnPanel,
|
|
3373
|
+
class: ['vxe-button--dropdown-panel', popupClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(popupClassName) ? popupClassName({
|
|
3374
|
+
$button: $xeButton
|
|
3375
|
+
}) : popupClassName : '', {
|
|
3376
|
+
[`size--${vSize}`]: vSize,
|
|
3377
|
+
'animat--leave': reactData.animatVisible,
|
|
3378
|
+
'animat--enter': showPanel
|
|
3379
|
+
}],
|
|
3380
|
+
placement: reactData.panelPlacement,
|
|
3381
|
+
style: reactData.panelStyle
|
|
3382
|
+
}, inited ? [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
3383
|
+
class: 'vxe-button--dropdown-wrapper',
|
|
3384
|
+
onMousedown: mousedownDropdownEvent,
|
|
3385
|
+
onClick: clickDropdownEvent,
|
|
3386
|
+
onMouseenter: mouseenterDropdownEvent,
|
|
3387
|
+
onMouseleave: mouseleaveDropdownEvent
|
|
3388
|
+
}, destroyOnClose && !showPanel ? [] : slots.dropdowns({}))] : [])])]);
|
|
3389
|
+
}
|
|
3390
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('button', {
|
|
3391
|
+
ref: refButton,
|
|
3392
|
+
class: ['vxe-button', `type--${btnMode}`, className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
|
|
3393
|
+
$button: $xeButton
|
|
3394
|
+
}) : className : '', {
|
|
3395
|
+
[`size--${vSize}`]: vSize,
|
|
3396
|
+
[`theme--${btnStatus}`]: btnStatus,
|
|
3397
|
+
'is--round': btnRound,
|
|
3398
|
+
'is--circle': btnCircle,
|
|
3399
|
+
'is--disabled': disabled || loading,
|
|
3400
|
+
'is--loading': loading
|
|
3401
|
+
}],
|
|
3402
|
+
title,
|
|
3403
|
+
name,
|
|
3404
|
+
type: isFormBtn ? type : 'button',
|
|
3405
|
+
disabled: disabled || loading,
|
|
3406
|
+
onClick: clickEvent,
|
|
3407
|
+
onMouseenter: mouseenterEvent,
|
|
3408
|
+
onMouseleave: mouseleaveEvent
|
|
3409
|
+
}, renderContent());
|
|
3410
|
+
};
|
|
3411
|
+
$xeButton.renderVN = renderVN;
|
|
3412
|
+
return $xeButton;
|
|
3413
|
+
},
|
|
3414
|
+
render() {
|
|
3415
|
+
return this.renderVN();
|
|
3416
|
+
}
|
|
3417
|
+
}));
|
|
3418
|
+
;// CONCATENATED MODULE: ./packages/button/index.ts
|
|
3419
|
+
|
|
3420
|
+
const VxeButton = Object.assign({}, src_button, {
|
|
3421
|
+
install(app) {
|
|
3422
|
+
app.component(src_button.name, src_button);
|
|
3423
|
+
}
|
|
3424
|
+
});
|
|
3425
|
+
const Button = VxeButton;
|
|
3426
|
+
/* harmony default export */ var packages_button = (VxeButton);
|
|
3427
|
+
;// CONCATENATED MODULE: ./packages/button-group/src/button-group.ts
|
|
3428
|
+
|
|
3429
|
+
|
|
3430
|
+
|
|
3431
|
+
|
|
3432
|
+
|
|
3433
|
+
/* harmony default export */ var button_group = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
3434
|
+
name: 'VxeButtonGroup',
|
|
3435
|
+
props: {
|
|
3436
|
+
options: Array,
|
|
3437
|
+
mode: String,
|
|
3438
|
+
status: String,
|
|
3439
|
+
round: Boolean,
|
|
3440
|
+
circle: Boolean,
|
|
3441
|
+
className: [String, Function],
|
|
3442
|
+
disabled: Boolean,
|
|
3443
|
+
size: {
|
|
3444
|
+
type: String,
|
|
3445
|
+
default: () => globalStore.buttonGroup.size || globalStore.size
|
|
3446
|
+
}
|
|
3447
|
+
},
|
|
3448
|
+
emits: ['click'],
|
|
3449
|
+
setup(props, context) {
|
|
3450
|
+
const {
|
|
3451
|
+
slots,
|
|
3452
|
+
emit
|
|
3453
|
+
} = context;
|
|
3454
|
+
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
3455
|
+
const computeMaps = {};
|
|
3456
|
+
const $xeButtonGroup = {
|
|
3457
|
+
xID,
|
|
3458
|
+
props,
|
|
3459
|
+
context,
|
|
3460
|
+
getComputeMaps: () => computeMaps
|
|
3461
|
+
};
|
|
3462
|
+
useSize(props);
|
|
3463
|
+
const buttonGroupMethods = {
|
|
3464
|
+
dispatchEvent(type, params, evnt) {
|
|
3465
|
+
emit(type, Object.assign({
|
|
3466
|
+
$buttonGroup: $xeButtonGroup,
|
|
3467
|
+
$event: evnt
|
|
3468
|
+
}, params));
|
|
3469
|
+
}
|
|
3470
|
+
};
|
|
3471
|
+
const buttonGroupPrivateMethods = {
|
|
3472
|
+
handleClick(params, evnt) {
|
|
3473
|
+
const {
|
|
3474
|
+
options
|
|
3475
|
+
} = props;
|
|
3476
|
+
const {
|
|
3477
|
+
name
|
|
3478
|
+
} = params;
|
|
3479
|
+
const option = options ? options.find(item => item.name === name) : null;
|
|
3480
|
+
buttonGroupMethods.dispatchEvent('click', {
|
|
3481
|
+
...params,
|
|
3482
|
+
option
|
|
3483
|
+
}, evnt);
|
|
3484
|
+
}
|
|
3485
|
+
};
|
|
3486
|
+
Object.assign($xeButtonGroup, buttonGroupMethods, buttonGroupPrivateMethods);
|
|
3487
|
+
const renderVN = () => {
|
|
3488
|
+
const {
|
|
3489
|
+
className,
|
|
3490
|
+
options
|
|
3491
|
+
} = props;
|
|
3492
|
+
const defaultSlot = slots.default;
|
|
3493
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
3494
|
+
class: ['vxe-button-group', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
|
|
3495
|
+
$buttonGroup: $xeButtonGroup
|
|
3496
|
+
}) : className : '']
|
|
3497
|
+
}, defaultSlot ? defaultSlot({}) : options ? options.map((item, index) => {
|
|
3498
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(src_button, {
|
|
3499
|
+
key: index,
|
|
3500
|
+
...item
|
|
3501
|
+
});
|
|
3502
|
+
}) : []);
|
|
3503
|
+
};
|
|
3504
|
+
$xeButtonGroup.renderVN = renderVN;
|
|
3505
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeButtonGroup', $xeButtonGroup);
|
|
3506
|
+
return renderVN;
|
|
3507
|
+
}
|
|
3508
|
+
}));
|
|
3509
|
+
;// CONCATENATED MODULE: ./packages/button-group/index.ts
|
|
3510
|
+
|
|
3511
|
+
const VxeButtonGroup = Object.assign({}, button_group, {
|
|
3512
|
+
install(app) {
|
|
3513
|
+
app.component(button_group.name, button_group);
|
|
3514
|
+
}
|
|
3515
|
+
});
|
|
3516
|
+
const ButtonGroup = VxeButtonGroup;
|
|
3517
|
+
/* harmony default export */ var packages_button_group = (VxeButtonGroup);
|
|
3518
|
+
;// CONCATENATED MODULE: ./packages/anchor-link/src/util.ts
|
|
3519
|
+
|
|
3520
|
+
function assemAnchorLink($xeAnchor, elem, linkConfig, $xeParentAnchorLink) {
|
|
3521
|
+
const staticLinks = $xeAnchor.reactData.staticLinks;
|
|
3522
|
+
const parentElem = elem.parentNode;
|
|
3523
|
+
const parentLinkConfig = $xeParentAnchorLink ? $xeParentAnchorLink.linkConfig : null;
|
|
3524
|
+
const parentLinks = parentLinkConfig ? parentLinkConfig.children : staticLinks;
|
|
3525
|
+
if (parentElem && parentLinks) {
|
|
3526
|
+
parentLinks.splice(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().arrayIndexOf(parentElem.children, elem), 0, linkConfig);
|
|
3527
|
+
$xeAnchor.reactData.staticLinks = staticLinks.slice(0);
|
|
3528
|
+
}
|
|
3529
|
+
}
|
|
3530
|
+
function destroyAnchorLink($xeAnchor, linkConfig) {
|
|
3531
|
+
const staticLinks = $xeAnchor.reactData.staticLinks;
|
|
3532
|
+
const matchObj = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findTree(staticLinks, item => item.id === linkConfig.id, {
|
|
3533
|
+
children: 'children'
|
|
3534
|
+
});
|
|
3535
|
+
if (matchObj) {
|
|
3536
|
+
matchObj.items.splice(matchObj.index, 1);
|
|
3537
|
+
}
|
|
3538
|
+
$xeAnchor.reactData.staticLinks = staticLinks.slice(0);
|
|
3539
|
+
}
|
|
3540
|
+
;// CONCATENATED MODULE: ./packages/anchor-link/src/anchor-link.ts
|
|
3541
|
+
|
|
3542
|
+
|
|
3543
|
+
|
|
3544
|
+
/* harmony default export */ var anchor_link = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
3545
|
+
name: 'VxeAnchorLink',
|
|
3546
|
+
props: {
|
|
3547
|
+
content: [String, Number],
|
|
3548
|
+
title: [String, Number],
|
|
3549
|
+
href: String
|
|
3550
|
+
},
|
|
3551
|
+
emits: [],
|
|
3552
|
+
setup(props, context) {
|
|
3553
|
+
const {
|
|
3554
|
+
slots
|
|
3555
|
+
} = context;
|
|
3556
|
+
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
3557
|
+
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
3558
|
+
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({});
|
|
3559
|
+
const linkConfig = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({
|
|
3560
|
+
id: xID,
|
|
3561
|
+
href: props.href,
|
|
3562
|
+
children: []
|
|
3563
|
+
});
|
|
3564
|
+
const $xeAnchor = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeAnchor', null);
|
|
3565
|
+
const $xeParentAnchorLink = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeAnchorLink', null);
|
|
3566
|
+
const refMaps = {
|
|
3567
|
+
refElem
|
|
3568
|
+
};
|
|
3569
|
+
const computeIsActive = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
3570
|
+
const {
|
|
3571
|
+
href
|
|
3572
|
+
} = props;
|
|
3573
|
+
if ($xeAnchor) {
|
|
3574
|
+
return $xeAnchor.reactData.activeHref === href;
|
|
3575
|
+
}
|
|
3576
|
+
return null;
|
|
3577
|
+
});
|
|
3578
|
+
const computeMaps = {};
|
|
3579
|
+
const $xeAnchorLink = {
|
|
3580
|
+
xID,
|
|
3581
|
+
props,
|
|
3582
|
+
context,
|
|
3583
|
+
reactData,
|
|
3584
|
+
linkConfig,
|
|
3585
|
+
getRefMaps: () => refMaps,
|
|
3586
|
+
getComputeMaps: () => computeMaps
|
|
3587
|
+
};
|
|
3588
|
+
const clickEvent = event => {
|
|
3589
|
+
const {
|
|
3590
|
+
href
|
|
3591
|
+
} = props;
|
|
3592
|
+
if ($xeAnchor) {
|
|
3593
|
+
$xeAnchor.handleClickLink(event, href);
|
|
3594
|
+
}
|
|
3595
|
+
};
|
|
3596
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.href, val => {
|
|
3597
|
+
linkConfig.href = val;
|
|
3598
|
+
});
|
|
3599
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
|
|
3600
|
+
if ($xeAnchor && refElem.value) {
|
|
3601
|
+
assemAnchorLink($xeAnchor, refElem.value, linkConfig, $xeParentAnchorLink);
|
|
3602
|
+
}
|
|
3603
|
+
});
|
|
3604
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onUnmounted)(() => {
|
|
3605
|
+
if ($xeAnchor) {
|
|
3606
|
+
destroyAnchorLink($xeAnchor, linkConfig);
|
|
3607
|
+
}
|
|
3608
|
+
});
|
|
3609
|
+
const renderVN = () => {
|
|
3610
|
+
const {
|
|
3611
|
+
href,
|
|
3612
|
+
content,
|
|
3613
|
+
title
|
|
3614
|
+
} = props;
|
|
3615
|
+
const defaultSlot = slots.default;
|
|
3616
|
+
const subSlot = slots.sub;
|
|
3617
|
+
const isActive = computeIsActive.value;
|
|
3618
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
3619
|
+
ref: refElem,
|
|
3620
|
+
class: ['vxe-anchor-link', {
|
|
3621
|
+
'is--active': isActive
|
|
3622
|
+
}]
|
|
3623
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('a', {
|
|
3624
|
+
class: 'vxe-anchor-link--item',
|
|
3625
|
+
href,
|
|
3626
|
+
title,
|
|
3627
|
+
onClick: clickEvent
|
|
3628
|
+
}, defaultSlot ? defaultSlot({}) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(content)), subSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
3629
|
+
class: 'vxe-anchor-link--sub-items'
|
|
3630
|
+
}, subSlot({})) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]);
|
|
3631
|
+
};
|
|
3632
|
+
$xeAnchorLink.renderVN = renderVN;
|
|
3633
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeAnchorLink', $xeAnchorLink);
|
|
3634
|
+
return $xeAnchorLink;
|
|
3635
|
+
},
|
|
3636
|
+
render() {
|
|
3637
|
+
return this.renderVN();
|
|
3638
|
+
}
|
|
3639
|
+
}));
|
|
3640
|
+
;// CONCATENATED MODULE: ./packages/anchor/src/anchor.ts
|
|
3641
|
+
|
|
3642
|
+
|
|
3643
|
+
|
|
3644
|
+
|
|
3645
|
+
|
|
3646
|
+
/* harmony default export */ var src_anchor = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
3647
|
+
name: 'VxeAnchor',
|
|
3648
|
+
props: {
|
|
3649
|
+
modelValue: String,
|
|
3650
|
+
options: Array,
|
|
3651
|
+
container: [String, Object, Function],
|
|
3652
|
+
showMarker: {
|
|
3653
|
+
type: Boolean,
|
|
3654
|
+
default: true
|
|
3655
|
+
}
|
|
3656
|
+
},
|
|
3657
|
+
emits: ['update:modelValue', 'change', 'click'],
|
|
3658
|
+
setup(props, context) {
|
|
3659
|
+
const {
|
|
3660
|
+
slots,
|
|
3661
|
+
emit
|
|
3662
|
+
} = context;
|
|
3663
|
+
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
3664
|
+
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
3665
|
+
const refMarkerElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
3666
|
+
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({
|
|
3667
|
+
activeHref: null,
|
|
3668
|
+
staticLinks: []
|
|
3669
|
+
});
|
|
3670
|
+
const refMaps = {
|
|
3671
|
+
refElem
|
|
3672
|
+
};
|
|
3673
|
+
const computeAllHrefList = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
3674
|
+
const list = [];
|
|
3675
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(reactData.staticLinks, item => {
|
|
3676
|
+
list.push(item.href);
|
|
3677
|
+
}, {
|
|
3678
|
+
children: 'children'
|
|
3679
|
+
});
|
|
3680
|
+
return list;
|
|
3681
|
+
});
|
|
3682
|
+
const computeMaps = {};
|
|
3683
|
+
let containerElem = null;
|
|
3684
|
+
const $xeAnchor = {
|
|
3685
|
+
xID,
|
|
3686
|
+
props,
|
|
3687
|
+
context,
|
|
3688
|
+
reactData,
|
|
3689
|
+
getRefMaps: () => refMaps,
|
|
3690
|
+
getComputeMaps: () => computeMaps
|
|
3691
|
+
};
|
|
3692
|
+
const anchorMethods = {
|
|
3693
|
+
dispatchEvent(type, params, evnt) {
|
|
3694
|
+
emit(type, Object.assign({
|
|
3695
|
+
$xeAnchor,
|
|
3696
|
+
$event: evnt
|
|
3697
|
+
}, params));
|
|
3698
|
+
}
|
|
3699
|
+
};
|
|
3700
|
+
const getContainerElem = () => {
|
|
3701
|
+
const {
|
|
3702
|
+
container
|
|
3703
|
+
} = props;
|
|
3704
|
+
if (container) {
|
|
3705
|
+
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isElement(container)) {
|
|
3706
|
+
return container;
|
|
3707
|
+
}
|
|
3708
|
+
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(container)) {
|
|
3709
|
+
return document.querySelector(container);
|
|
3710
|
+
}
|
|
3711
|
+
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(container)) {
|
|
3712
|
+
return container({
|
|
3713
|
+
$xeAnchor
|
|
3714
|
+
});
|
|
3715
|
+
}
|
|
3716
|
+
}
|
|
3717
|
+
return null;
|
|
3718
|
+
};
|
|
3719
|
+
const emitEvent = value => {
|
|
3720
|
+
reactData.activeHref = value;
|
|
3721
|
+
emit('update:modelValue', value);
|
|
3722
|
+
};
|
|
3723
|
+
const handleContainerScrollEvent = () => {
|
|
3724
|
+
const allHrefList = computeAllHrefList.value;
|
|
3725
|
+
if (containerElem) {
|
|
3726
|
+
const wrapperElList = containerElem.querySelectorAll(allHrefList.map(href => `${href}`).join(','));
|
|
3727
|
+
for (let i = 0; i < wrapperElList.length; i++) {
|
|
3728
|
+
const wrapperEl = wrapperElList[i];
|
|
3729
|
+
const wrapperRect = wrapperEl.getBoundingClientRect();
|
|
3730
|
+
if (wrapperRect.top > 0) {
|
|
3731
|
+
const href = wrapperEl.id;
|
|
3732
|
+
reactData.activeHref = `#${href}`;
|
|
3733
|
+
break;
|
|
3734
|
+
}
|
|
3735
|
+
}
|
|
3736
|
+
}
|
|
3737
|
+
};
|
|
3738
|
+
const removeContainerElemScroll = () => {
|
|
3739
|
+
if (containerElem) {
|
|
3740
|
+
containerElem.removeEventListener('scroll', handleContainerScrollEvent);
|
|
3741
|
+
}
|
|
3742
|
+
};
|
|
3743
|
+
const updateContainerElem = () => {
|
|
3744
|
+
containerElem = getContainerElem();
|
|
3745
|
+
if (containerElem) {
|
|
3746
|
+
containerElem.addEventListener('scroll', handleContainerScrollEvent, {
|
|
3747
|
+
passive: false
|
|
3748
|
+
});
|
|
3749
|
+
}
|
|
3750
|
+
};
|
|
3751
|
+
const updateMarkerPos = () => {
|
|
3752
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
3753
|
+
const {
|
|
3754
|
+
activeHref
|
|
3755
|
+
} = reactData;
|
|
3756
|
+
const elem = refElem.value;
|
|
3757
|
+
const markerEl = refMarkerElem.value;
|
|
3758
|
+
if (elem && markerEl) {
|
|
3759
|
+
if (activeHref) {
|
|
3760
|
+
const linkEl = elem.querySelector(`[href="${activeHref}"]`);
|
|
3761
|
+
if (linkEl) {
|
|
3762
|
+
const {
|
|
3763
|
+
top
|
|
3764
|
+
} = getOffsetPos(linkEl, elem);
|
|
3765
|
+
markerEl.style.top = `${top}px`;
|
|
3766
|
+
}
|
|
3767
|
+
}
|
|
3768
|
+
}
|
|
3769
|
+
});
|
|
3770
|
+
};
|
|
3771
|
+
const anchorPrivateMethods = {
|
|
3772
|
+
handleClickLink(evnt, href) {
|
|
3773
|
+
evnt.preventDefault();
|
|
3774
|
+
const targetEl = document.getElementById(`${href}`.replace('#', ''));
|
|
3775
|
+
if (targetEl) {
|
|
3776
|
+
targetEl.scrollIntoView({
|
|
3777
|
+
behavior: 'smooth'
|
|
3778
|
+
});
|
|
3779
|
+
}
|
|
3780
|
+
emitEvent(href);
|
|
3781
|
+
anchorMethods.dispatchEvent('click', {
|
|
3782
|
+
href
|
|
3783
|
+
}, evnt);
|
|
3784
|
+
}
|
|
3785
|
+
};
|
|
3786
|
+
Object.assign($xeAnchor, anchorMethods, anchorPrivateMethods);
|
|
3787
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue, val => {
|
|
3788
|
+
reactData.activeHref = val;
|
|
3789
|
+
});
|
|
3790
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => reactData.activeHref, () => {
|
|
3791
|
+
updateMarkerPos();
|
|
3792
|
+
});
|
|
3793
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.container, () => {
|
|
3794
|
+
removeContainerElemScroll();
|
|
3795
|
+
updateContainerElem();
|
|
3796
|
+
});
|
|
3797
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
|
|
3798
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
3799
|
+
updateContainerElem();
|
|
3800
|
+
});
|
|
3801
|
+
});
|
|
3802
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeUnmount)(() => {
|
|
3803
|
+
removeContainerElemScroll();
|
|
3804
|
+
});
|
|
3805
|
+
const renderSubItems = options => {
|
|
3806
|
+
const itemVNs = [];
|
|
3807
|
+
if (options) {
|
|
3808
|
+
options.forEach(item => {
|
|
3809
|
+
const subItems = item.children;
|
|
3810
|
+
if (subItems && subItems.length) {
|
|
3811
|
+
itemVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(anchor_link, {
|
|
3812
|
+
content: item.content,
|
|
3813
|
+
title: item.title,
|
|
3814
|
+
href: item.href
|
|
3815
|
+
}, {
|
|
3816
|
+
sub: () => renderSubItems(subItems)
|
|
3817
|
+
}));
|
|
3818
|
+
} else {
|
|
3819
|
+
itemVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(anchor_link, {
|
|
3820
|
+
content: item.content,
|
|
3821
|
+
title: item.title,
|
|
3822
|
+
href: item.href
|
|
3823
|
+
}));
|
|
3824
|
+
}
|
|
3825
|
+
});
|
|
3826
|
+
}
|
|
3827
|
+
return itemVNs;
|
|
3828
|
+
};
|
|
3829
|
+
const renderVN = () => {
|
|
3830
|
+
const {
|
|
3831
|
+
options,
|
|
3832
|
+
showMarker
|
|
3833
|
+
} = props;
|
|
3834
|
+
const defaultSlot = slots.default;
|
|
3835
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
3836
|
+
ref: refElem,
|
|
3837
|
+
class: ['vxe-anchor', {
|
|
3838
|
+
'is--marker': showMarker
|
|
3839
|
+
}]
|
|
3840
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
3841
|
+
class: 'vxe-anchor--list'
|
|
3842
|
+
}, defaultSlot ? defaultSlot({}) : renderSubItems(options)), showMarker ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
3843
|
+
ref: refMarkerElem,
|
|
3844
|
+
class: 'vxe-anchor--marker'
|
|
3845
|
+
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]);
|
|
3846
|
+
};
|
|
3847
|
+
$xeAnchor.renderVN = renderVN;
|
|
3848
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeAnchor', $xeAnchor);
|
|
3849
|
+
return $xeAnchor;
|
|
3850
|
+
},
|
|
3851
|
+
render() {
|
|
3852
|
+
return this.renderVN();
|
|
3853
|
+
}
|
|
3854
|
+
}));
|
|
3855
|
+
;// CONCATENATED MODULE: ./packages/anchor/index.ts
|
|
3856
|
+
|
|
3857
|
+
const VxeAnchor = Object.assign({}, src_anchor, {
|
|
3858
|
+
install(app) {
|
|
3859
|
+
app.component(src_anchor.name, src_anchor);
|
|
3860
|
+
}
|
|
3861
|
+
});
|
|
3862
|
+
const Anchor = VxeAnchor;
|
|
3863
|
+
/* harmony default export */ var packages_anchor = (VxeAnchor);
|
|
3864
|
+
;// CONCATENATED MODULE: ./packages/anchor-link/index.ts
|
|
3865
|
+
|
|
3866
|
+
const VxeAnchorLink = Object.assign({}, anchor_link, {
|
|
3867
|
+
install(app) {
|
|
3868
|
+
app.component(anchor_link.name, anchor_link);
|
|
3869
|
+
}
|
|
3870
|
+
});
|
|
3871
|
+
const AnchorLink = VxeAnchorLink;
|
|
3872
|
+
/* harmony default export */ var packages_anchor_link = (VxeAnchorLink);
|
|
3873
|
+
;// CONCATENATED MODULE: ./packages/design/src/design.ts
|
|
3874
|
+
|
|
3875
|
+
|
|
3876
|
+
|
|
3877
|
+
/* harmony default export */ var design = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
3878
|
+
name: 'VxeDesign',
|
|
3879
|
+
props: {
|
|
3880
|
+
size: {
|
|
3881
|
+
type: String,
|
|
3882
|
+
default: () => ui.getConfig('design.size')
|
|
3883
|
+
}
|
|
3884
|
+
},
|
|
3885
|
+
emits: [],
|
|
3886
|
+
setup(props, context) {
|
|
3887
|
+
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
3888
|
+
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
3889
|
+
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({});
|
|
3890
|
+
const refMaps = {
|
|
3891
|
+
refElem
|
|
3892
|
+
};
|
|
3893
|
+
const computeMaps = {};
|
|
3894
|
+
const $xedesign = {
|
|
3895
|
+
xID,
|
|
3896
|
+
props,
|
|
3897
|
+
context,
|
|
3898
|
+
reactData,
|
|
3899
|
+
getRefMaps: () => refMaps,
|
|
3900
|
+
getComputeMaps: () => computeMaps
|
|
3901
|
+
};
|
|
3902
|
+
const renderVN = () => {
|
|
3903
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
3904
|
+
ref: refElem,
|
|
3905
|
+
class: 'vxe-design'
|
|
3906
|
+
});
|
|
3907
|
+
};
|
|
3908
|
+
$xedesign.renderVN = renderVN;
|
|
3909
|
+
return $xedesign;
|
|
3910
|
+
},
|
|
3911
|
+
render() {
|
|
3912
|
+
return this.renderVN();
|
|
3913
|
+
}
|
|
3914
|
+
}));
|
|
3915
|
+
;// CONCATENATED MODULE: ./packages/design/index.ts
|
|
3916
|
+
|
|
3917
|
+
const VxeDesign = Object.assign({}, design, {
|
|
3918
|
+
install(app) {
|
|
3919
|
+
app.component(design.name, design);
|
|
3920
|
+
}
|
|
3921
|
+
});
|
|
3922
|
+
const Design = VxeDesign;
|
|
3923
|
+
/* harmony default export */ var packages_design = (VxeDesign);
|
|
3924
|
+
;// CONCATENATED MODULE: ./packages/locale/lang/zh-CN.ts
|
|
3925
|
+
/* harmony default export */ var zh_CN = ({
|
|
3926
|
+
vxe: {
|
|
3927
|
+
base: {
|
|
3928
|
+
pleaseInput: '请输入',
|
|
3929
|
+
pleaseSelect: '请选择'
|
|
3930
|
+
},
|
|
3931
|
+
loading: {
|
|
3932
|
+
text: '加载中...'
|
|
3933
|
+
},
|
|
3934
|
+
error: {
|
|
3935
|
+
groupFixed: '如果使用分组表头,冻结列必须按组设置',
|
|
3936
|
+
groupMouseRange: '分组表头与 "{0}" 不能同时使用,这可能会出现错误',
|
|
3937
|
+
groupTag: '分组列头应该使用 "{0}" 而不是 "{1}",这可能会出现错误',
|
|
3938
|
+
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
3939
|
+
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
3940
|
+
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
3941
|
+
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
3942
|
+
barUnableLink: '工具栏无法关联表格',
|
|
3943
|
+
expandContent: '展开行的插槽应该是 "content",请检查是否正确',
|
|
3944
|
+
reqModule: '缺少 "{0}" 模块',
|
|
3945
|
+
reqProp: '缺少必要的 "{0}" 参数,这可能会导致出现错误',
|
|
3946
|
+
emptyProp: '参数 "{0}" 不允许为空',
|
|
3947
|
+
errProp: '不支持的参数 "{0}",可能为 "{1}"',
|
|
3948
|
+
colRepet: 'column.{0}="{1}" 重复了,这可能会导致某些功能无法使用',
|
|
3949
|
+
notFunc: '方法 "{0}" 不存在',
|
|
3950
|
+
errFunc: '参数 "{0}" 不是一个方法',
|
|
3951
|
+
notValidators: '全局校验 "{0}" 不存在',
|
|
3952
|
+
notFormats: '全局格式化 "{0}" 不存在',
|
|
3953
|
+
notCommands: '全局指令 "{0}" 不存在',
|
|
3954
|
+
notSlot: '插槽 "{0}" 不存在',
|
|
3955
|
+
noTree: '树结构不支持 "{0}"',
|
|
3956
|
+
notProp: '不支持的参数 "{0}"',
|
|
3957
|
+
checkProp: '当数据量过大时可能会导致复选框卡顿,建议设置参数 "{0}" 提升渲染速度',
|
|
3958
|
+
coverProp: '"{0}" 的参数 "{1}" 重复定义,这可能会出现错误',
|
|
3959
|
+
delFunc: '方法 "{0}" 已废弃,请使用 "{1}"',
|
|
3960
|
+
delProp: '参数 "{0}" 已废弃,请使用 "{1}"',
|
|
3961
|
+
delEvent: '事件 "{0}" 已废弃,请使用 "{1}"',
|
|
3962
|
+
removeProp: '参数 "{0}" 已废弃,不建议使用,这可能会导致出现错误',
|
|
3963
|
+
errFormat: '全局的格式化内容应该使用 "VXETable.formats" 定义,挂载 "formatter={0}" 的方式已不建议使用',
|
|
3964
|
+
notType: '不支持的文件类型 "{0}"',
|
|
3965
|
+
notExp: '该浏览器不支持导入/导出功能',
|
|
3966
|
+
impFields: '导入失败,请检查字段名和数据格式是否正确',
|
|
3967
|
+
treeNotImp: '树表格不支持导入'
|
|
3968
|
+
},
|
|
3969
|
+
table: {
|
|
3970
|
+
emptyText: '暂无数据',
|
|
3971
|
+
allTitle: '全选/取消',
|
|
3972
|
+
seqTitle: '#',
|
|
3973
|
+
confirmFilter: '筛选',
|
|
3974
|
+
resetFilter: '重置',
|
|
3975
|
+
allFilter: '全部',
|
|
3976
|
+
sortAsc: '升序:最低到最高',
|
|
3977
|
+
sortDesc: '降序:最高到最低',
|
|
3978
|
+
filter: '对所选的列启用筛选',
|
|
3979
|
+
impSuccess: '成功导入 {0} 条记录',
|
|
3980
|
+
expLoading: '正在导出中',
|
|
3981
|
+
expSuccess: '导出成功',
|
|
3982
|
+
expFilename: '导出_{0}',
|
|
3983
|
+
expOriginFilename: '导出_源_{0}',
|
|
3984
|
+
customTitle: '列设置',
|
|
3985
|
+
customAll: '全部',
|
|
3986
|
+
customConfirm: '确认',
|
|
3987
|
+
customRestore: '重置',
|
|
3988
|
+
maxFixedCol: '最大冻结列的数量不能超过 {0} 个'
|
|
3989
|
+
},
|
|
3990
|
+
grid: {
|
|
3991
|
+
selectOneRecord: '请至少选择一条记录!',
|
|
3992
|
+
deleteSelectRecord: '您确定要删除所选记录吗?',
|
|
3993
|
+
removeSelectRecord: '您确定要移除所选记录吗?',
|
|
3994
|
+
dataUnchanged: '数据未改动!',
|
|
3995
|
+
delSuccess: '成功删除所选记录!',
|
|
3996
|
+
saveSuccess: '保存成功!',
|
|
3997
|
+
operError: '发生错误,操作失败!'
|
|
3998
|
+
},
|
|
3999
|
+
select: {
|
|
4000
|
+
search: '搜索',
|
|
4001
|
+
loadingText: '加载中',
|
|
4002
|
+
emptyText: '暂无数据'
|
|
4003
|
+
},
|
|
4004
|
+
pager: {
|
|
4005
|
+
goto: '前往',
|
|
4006
|
+
pagesize: '{0}条/页',
|
|
4007
|
+
total: '共 {0} 条记录',
|
|
4008
|
+
pageClassifier: '页',
|
|
4009
|
+
homePage: '首页',
|
|
4010
|
+
homePageTitle: '首页',
|
|
4011
|
+
prevPage: '上一页',
|
|
4012
|
+
prevPageTitle: '上一页',
|
|
4013
|
+
nextPage: '下一页',
|
|
4014
|
+
nextPageTitle: '下一页',
|
|
4015
|
+
prevJump: '向上跳页',
|
|
4016
|
+
prevJumpTitle: '向上跳页',
|
|
4017
|
+
nextJump: '向下跳页',
|
|
4018
|
+
nextJumpTitle: '向下跳页',
|
|
4019
|
+
endPage: '末页',
|
|
4020
|
+
endPageTitle: '末页'
|
|
4021
|
+
},
|
|
4022
|
+
alert: {
|
|
4023
|
+
title: '系统提示'
|
|
4024
|
+
},
|
|
4025
|
+
button: {
|
|
4026
|
+
confirm: '确认',
|
|
4027
|
+
cancel: '取消'
|
|
4028
|
+
},
|
|
4029
|
+
filter: {
|
|
4030
|
+
search: '搜索'
|
|
4031
|
+
},
|
|
4032
|
+
custom: {
|
|
4033
|
+
cstmTitle: '列设置',
|
|
4034
|
+
cstmRestore: '恢复默认',
|
|
4035
|
+
cstmCancel: '取消',
|
|
4036
|
+
cstmConfirm: '确定',
|
|
4037
|
+
cstmConfirmRestore: '请确认是否恢复成默认列配置?',
|
|
4038
|
+
cstmDragTarget: '移动目标:{0}',
|
|
4039
|
+
setting: {
|
|
4040
|
+
colSort: '排序',
|
|
4041
|
+
sortHelpTip: '点击并拖动图标可以调整列的排序',
|
|
4042
|
+
colTitle: '标题',
|
|
4043
|
+
colVisible: '是否显示',
|
|
4044
|
+
colFixed: '冻结列(最多 {0} 列)',
|
|
4045
|
+
fixedLeft: '左侧',
|
|
4046
|
+
fixedUnset: '不设置',
|
|
4047
|
+
fixedRight: '右侧'
|
|
4048
|
+
}
|
|
4049
|
+
},
|
|
4050
|
+
import: {
|
|
4051
|
+
modes: {
|
|
4052
|
+
covering: '覆盖',
|
|
4053
|
+
insert: '新增'
|
|
4054
|
+
},
|
|
4055
|
+
impTitle: '导入数据',
|
|
4056
|
+
impFile: '文件名',
|
|
4057
|
+
impSelect: '选择文件',
|
|
4058
|
+
impType: '文件类型',
|
|
4059
|
+
impOpts: '参数设置',
|
|
4060
|
+
impConfirm: '导入',
|
|
4061
|
+
impCancel: '取消'
|
|
4062
|
+
},
|
|
4063
|
+
export: {
|
|
4064
|
+
types: {
|
|
4065
|
+
csv: 'CSV (逗号分隔)(*.csv)',
|
|
4066
|
+
html: '网页(*.html)',
|
|
4067
|
+
xml: 'XML 数据(*.xml)',
|
|
4068
|
+
txt: '文本文件(制表符分隔)(*.txt)',
|
|
4069
|
+
xls: 'Excel 97-2003 工作簿(*.xls)',
|
|
4070
|
+
xlsx: 'Excel 工作簿(*.xlsx)',
|
|
4071
|
+
pdf: 'PDF (*.pdf)'
|
|
4072
|
+
},
|
|
4073
|
+
modes: {
|
|
4074
|
+
current: '当前数据(当前页的数据)',
|
|
4075
|
+
selected: '选中数据(当前页选中的数据)',
|
|
4076
|
+
all: '全量数据(包括所有分页的数据)'
|
|
4077
|
+
},
|
|
4078
|
+
printTitle: '打印数据',
|
|
4079
|
+
expTitle: '导出数据',
|
|
4080
|
+
expName: '文件名',
|
|
4081
|
+
expNamePlaceholder: '请输入文件名',
|
|
4082
|
+
expSheetName: '标题',
|
|
4083
|
+
expSheetNamePlaceholder: '请输入标题',
|
|
4084
|
+
expType: '保存类型',
|
|
4085
|
+
expMode: '选择数据',
|
|
4086
|
+
expCurrentColumn: '全部字段',
|
|
4087
|
+
expColumn: '选择字段',
|
|
4088
|
+
expOpts: '参数设置',
|
|
4089
|
+
expOptHeader: '表头',
|
|
4090
|
+
expHeaderTitle: '是否需要表头',
|
|
4091
|
+
expOptFooter: '表尾',
|
|
4092
|
+
expFooterTitle: '是否需要表尾',
|
|
4093
|
+
expOptColgroup: '分组表头',
|
|
4094
|
+
expColgroupTitle: '如果存在,则支持带有分组结构的表头',
|
|
4095
|
+
expOptMerge: '合并',
|
|
4096
|
+
expMergeTitle: '如果存在,则支持带有合并结构的单元格',
|
|
4097
|
+
expOptAllExpand: '展开层级',
|
|
4098
|
+
expAllExpandTitle: '如果存在,则支持将带有层级结构的数据全部展开',
|
|
4099
|
+
expOptUseStyle: '样式',
|
|
4100
|
+
expUseStyleTitle: '如果存在,则支持带样式的单元格',
|
|
4101
|
+
expOptOriginal: '源数据',
|
|
4102
|
+
expOriginalTitle: '如果为源数据,则支持导入到表格中',
|
|
4103
|
+
expPrint: '打印',
|
|
4104
|
+
expConfirm: '导出',
|
|
4105
|
+
expCancel: '取消'
|
|
4106
|
+
},
|
|
4107
|
+
modal: {
|
|
4108
|
+
zoomIn: '最大化',
|
|
4109
|
+
zoomOut: '还原',
|
|
4110
|
+
close: '关闭'
|
|
4111
|
+
},
|
|
4112
|
+
form: {
|
|
4113
|
+
folding: '收起',
|
|
4114
|
+
unfolding: '展开'
|
|
4115
|
+
},
|
|
4116
|
+
toolbar: {
|
|
4117
|
+
import: '导入',
|
|
4118
|
+
export: '导出',
|
|
4119
|
+
print: '打印',
|
|
4120
|
+
refresh: '刷新',
|
|
4121
|
+
zoomIn: '全屏',
|
|
4122
|
+
zoomOut: '还原',
|
|
4123
|
+
custom: '列设置',
|
|
4124
|
+
customAll: '全部',
|
|
4125
|
+
customConfirm: '确认',
|
|
4126
|
+
customRestore: '重置',
|
|
4127
|
+
fixedLeft: '冻结在左侧',
|
|
4128
|
+
fixedRight: '冻结在右侧',
|
|
4129
|
+
cancelfixed: '取消冻结列'
|
|
4130
|
+
},
|
|
4131
|
+
input: {
|
|
4132
|
+
date: {
|
|
4133
|
+
m1: '01 月',
|
|
4134
|
+
m2: '02 月',
|
|
4135
|
+
m3: '03 月',
|
|
4136
|
+
m4: '04 月',
|
|
4137
|
+
m5: '05 月',
|
|
4138
|
+
m6: '06 月',
|
|
4139
|
+
m7: '07 月',
|
|
4140
|
+
m8: '08 月',
|
|
4141
|
+
m9: '09 月',
|
|
4142
|
+
m10: '10 月',
|
|
4143
|
+
m11: '11 月',
|
|
4144
|
+
m12: '12 月',
|
|
4145
|
+
quarterLabel: '{0} 年',
|
|
4146
|
+
monthLabel: '{0} 年',
|
|
4147
|
+
dayLabel: '{0} 年 {1}',
|
|
4148
|
+
labelFormat: {
|
|
4149
|
+
date: 'yyyy-MM-dd',
|
|
4150
|
+
time: 'HH:mm:ss',
|
|
4151
|
+
datetime: 'yyyy-MM-dd HH:mm:ss',
|
|
4152
|
+
week: 'yyyy 年第 WW 周',
|
|
4153
|
+
month: 'yyyy-MM',
|
|
4154
|
+
quarter: 'yyyy 年第 q 季度',
|
|
4155
|
+
year: 'yyyy'
|
|
4156
|
+
},
|
|
4157
|
+
weeks: {
|
|
4158
|
+
w: '周',
|
|
4159
|
+
w0: '周日',
|
|
4160
|
+
w1: '周一',
|
|
4161
|
+
w2: '周二',
|
|
4162
|
+
w3: '周三',
|
|
4163
|
+
w4: '周四',
|
|
4164
|
+
w5: '周五',
|
|
4165
|
+
w6: '周六'
|
|
4166
|
+
},
|
|
4167
|
+
months: {
|
|
4168
|
+
m0: '一月',
|
|
4169
|
+
m1: '二月',
|
|
4170
|
+
m2: '三月',
|
|
4171
|
+
m3: '四月',
|
|
4172
|
+
m4: '五月',
|
|
4173
|
+
m5: '六月',
|
|
4174
|
+
m6: '七月',
|
|
4175
|
+
m7: '八月',
|
|
4176
|
+
m8: '九月',
|
|
4177
|
+
m9: '十月',
|
|
4178
|
+
m10: '十一月',
|
|
4179
|
+
m11: '十二月'
|
|
4180
|
+
},
|
|
4181
|
+
quarters: {
|
|
4182
|
+
q1: '第一季度',
|
|
4183
|
+
q2: '第二季度',
|
|
4184
|
+
q3: '第三季度',
|
|
4185
|
+
q4: '第四季度'
|
|
4186
|
+
}
|
|
4187
|
+
}
|
|
4188
|
+
},
|
|
4189
|
+
/**
|
|
4190
|
+
* 扩展插件
|
|
4191
|
+
*/
|
|
4192
|
+
plugins: {
|
|
4193
|
+
extendCellArea: {
|
|
4194
|
+
area: {
|
|
4195
|
+
mergeErr: '无法对合并单元格进行该操作',
|
|
4196
|
+
multiErr: '无法对多重选择区域进行该操作',
|
|
4197
|
+
extendErr: '如果延伸的区域包含被合并的单元格,所有合并的单元格需大小相同',
|
|
4198
|
+
pasteMultiErr: '无法粘贴,需要相同大小的复制的区域和粘贴的区域才能执行此操作',
|
|
4199
|
+
cpInvalidErr: '该操作无法进行,您选择的区域中存在被禁止的列({0})'
|
|
4200
|
+
},
|
|
4201
|
+
fnr: {
|
|
4202
|
+
title: '查找和替换',
|
|
4203
|
+
findLabel: '查找',
|
|
4204
|
+
replaceLabel: '替换',
|
|
4205
|
+
findTitle: '查找内容:',
|
|
4206
|
+
replaceTitle: '替换为:',
|
|
4207
|
+
tabs: {
|
|
4208
|
+
find: '查找',
|
|
4209
|
+
replace: '替换'
|
|
4210
|
+
},
|
|
4211
|
+
filter: {
|
|
4212
|
+
re: '正则表达式',
|
|
4213
|
+
whole: '全词匹配',
|
|
4214
|
+
sensitive: '区分大小写'
|
|
4215
|
+
},
|
|
4216
|
+
btns: {
|
|
4217
|
+
findNext: '查找下一个',
|
|
4218
|
+
findAll: '查找全部',
|
|
4219
|
+
replace: '替换',
|
|
4220
|
+
replaceAll: '替换全部',
|
|
4221
|
+
cancel: '取消'
|
|
4222
|
+
},
|
|
4223
|
+
header: {
|
|
4224
|
+
seq: '#',
|
|
4225
|
+
cell: '单元格',
|
|
4226
|
+
value: '值'
|
|
4227
|
+
},
|
|
4228
|
+
empty: '(空值)',
|
|
4229
|
+
reError: '无效的正则表达式',
|
|
4230
|
+
recordCount: '已找到 {0} 个单元格',
|
|
4231
|
+
notCell: '找不到匹配的单元格',
|
|
4232
|
+
replaceSuccess: '成功替换 {0} 个单元格'
|
|
4233
|
+
}
|
|
4234
|
+
},
|
|
4235
|
+
filterComplexInput: {
|
|
4236
|
+
menus: {
|
|
4237
|
+
fixedColumn: '冻结列',
|
|
4238
|
+
fixedGroup: '冻结分组',
|
|
4239
|
+
cancelFixed: '取消冻结',
|
|
4240
|
+
fixedLeft: '冻结左侧',
|
|
4241
|
+
fixedRight: '冻结右侧'
|
|
4242
|
+
},
|
|
4243
|
+
cases: {
|
|
4244
|
+
equal: '等于',
|
|
4245
|
+
gt: '大于',
|
|
4246
|
+
lt: '小于',
|
|
4247
|
+
begin: '开头是',
|
|
4248
|
+
endin: '结尾是',
|
|
4249
|
+
include: '包含',
|
|
4250
|
+
isSensitive: '区分大小写'
|
|
4251
|
+
}
|
|
4252
|
+
},
|
|
4253
|
+
filterCombination: {
|
|
4254
|
+
menus: {
|
|
4255
|
+
clearSort: '清除排序',
|
|
4256
|
+
sortAsc: '升序',
|
|
4257
|
+
sortDesc: '降序',
|
|
4258
|
+
fixedColumn: '冻结列',
|
|
4259
|
+
fixedGroup: '冻结分组',
|
|
4260
|
+
cancelFixed: '取消冻结',
|
|
4261
|
+
fixedLeft: '冻结左侧',
|
|
4262
|
+
fixedRight: '冻结右侧',
|
|
4263
|
+
clearFilter: '清除筛选',
|
|
4264
|
+
textOption: '文本筛选',
|
|
4265
|
+
numberOption: '数值筛选'
|
|
4266
|
+
},
|
|
4267
|
+
popup: {
|
|
4268
|
+
title: '自定义筛选的方式',
|
|
4269
|
+
currColumnTitle: '当前列:',
|
|
4270
|
+
and: '与',
|
|
4271
|
+
or: '或',
|
|
4272
|
+
describeHtml: '可用 ? 代表单个字符<br/>用 * 代表任意多个字符'
|
|
4273
|
+
},
|
|
4274
|
+
cases: {
|
|
4275
|
+
equal: '等于',
|
|
4276
|
+
unequal: '不等于',
|
|
4277
|
+
gt: '大于',
|
|
4278
|
+
ge: '大于或等于',
|
|
4279
|
+
lt: '小于',
|
|
4280
|
+
le: '小于或等于',
|
|
4281
|
+
begin: '开头是',
|
|
4282
|
+
notbegin: '开头不是',
|
|
4283
|
+
endin: '结尾是',
|
|
4284
|
+
notendin: '结尾不是',
|
|
4285
|
+
include: '包含',
|
|
4286
|
+
exclude: '不包含',
|
|
4287
|
+
between: '介于',
|
|
4288
|
+
custom: '自定义筛选',
|
|
4289
|
+
insensitive: '不区分大小写',
|
|
4290
|
+
isSensitive: '区分大小写'
|
|
4291
|
+
},
|
|
4292
|
+
empty: '(空白)',
|
|
4293
|
+
notData: '无匹配项'
|
|
4294
|
+
}
|
|
4295
|
+
},
|
|
4296
|
+
/**
|
|
4297
|
+
* 以下废弃
|
|
4298
|
+
* @deprecated
|
|
4299
|
+
*/
|
|
4300
|
+
pro: {
|
|
4301
|
+
area: {
|
|
4302
|
+
mergeErr: '无法对合并单元格进行该操作',
|
|
4303
|
+
multiErr: '无法对多重选择区域进行该操作',
|
|
4304
|
+
extendErr: '如果延伸的区域包含被合并的单元格,所有合并的单元格需大小相同',
|
|
4305
|
+
pasteMultiErr: '无法粘贴,需要相同大小的复制的区域和粘贴的区域才能执行此操作'
|
|
4306
|
+
},
|
|
4307
|
+
fnr: {
|
|
4308
|
+
title: '查找和替换',
|
|
4309
|
+
findLabel: '查找',
|
|
4310
|
+
replaceLabel: '替换',
|
|
4311
|
+
findTitle: '查找内容:',
|
|
4312
|
+
replaceTitle: '替换为:',
|
|
4313
|
+
tabs: {
|
|
4314
|
+
find: '查找',
|
|
4315
|
+
replace: '替换'
|
|
4316
|
+
},
|
|
4317
|
+
filter: {
|
|
4318
|
+
re: '正则表达式',
|
|
4319
|
+
whole: '全词匹配',
|
|
4320
|
+
sensitive: '区分大小写'
|
|
4321
|
+
},
|
|
4322
|
+
btns: {
|
|
4323
|
+
findNext: '查找下一个',
|
|
4324
|
+
findAll: '查找全部',
|
|
4325
|
+
replace: '替换',
|
|
4326
|
+
replaceAll: '替换全部',
|
|
4327
|
+
cancel: '取消'
|
|
4328
|
+
},
|
|
4329
|
+
header: {
|
|
4330
|
+
seq: '#',
|
|
4331
|
+
cell: '单元格',
|
|
4332
|
+
value: '值'
|
|
4333
|
+
},
|
|
4334
|
+
empty: '(空值)',
|
|
4335
|
+
reError: '无效的正则表达式',
|
|
4336
|
+
recordCount: '已找到 {0} 个单元格',
|
|
4337
|
+
notCell: '找不到匹配的单元格',
|
|
4338
|
+
replaceSuccess: '成功替换 {0} 个单元格'
|
|
4339
|
+
}
|
|
4340
|
+
},
|
|
4341
|
+
renderer: {
|
|
4342
|
+
search: '搜索',
|
|
4343
|
+
cases: {
|
|
4344
|
+
equal: '等于',
|
|
4345
|
+
unequal: '不等于',
|
|
4346
|
+
gt: '大于',
|
|
4347
|
+
ge: '大于或等于',
|
|
4348
|
+
lt: '小于',
|
|
4349
|
+
le: '小于或等于',
|
|
4350
|
+
begin: '开头是',
|
|
4351
|
+
notbegin: '开头不是',
|
|
4352
|
+
endin: '结尾是',
|
|
4353
|
+
notendin: '结尾不是',
|
|
4354
|
+
include: '包含',
|
|
4355
|
+
exclude: '不包含',
|
|
4356
|
+
between: '介于',
|
|
4357
|
+
custom: '自定义筛选',
|
|
4358
|
+
insensitive: '不区分大小写',
|
|
4359
|
+
isSensitive: '区分大小写'
|
|
4360
|
+
},
|
|
4361
|
+
combination: {
|
|
4362
|
+
menus: {
|
|
4363
|
+
clearSort: '清除排序',
|
|
4364
|
+
sortAsc: '升序',
|
|
4365
|
+
sortDesc: '降序',
|
|
4366
|
+
fixedColumn: '锁定列',
|
|
4367
|
+
fixedGroup: '锁定组',
|
|
4368
|
+
cancelFixed: '取消锁定',
|
|
4369
|
+
fixedLeft: '锁定左侧',
|
|
4370
|
+
fixedRight: '锁定右侧',
|
|
4371
|
+
clearFilter: '清除筛选',
|
|
4372
|
+
textOption: '文本筛选',
|
|
4373
|
+
numberOption: '数值筛选'
|
|
4374
|
+
},
|
|
4375
|
+
popup: {
|
|
4376
|
+
title: '自定义筛选的方式',
|
|
4377
|
+
currColumnTitle: '当前列:',
|
|
4378
|
+
and: '与',
|
|
4379
|
+
or: '或',
|
|
4380
|
+
describeHtml: '可用 ? 代表单个字符<br/>用 * 代表任意多个字符'
|
|
4381
|
+
},
|
|
4382
|
+
empty: '(空白)',
|
|
4383
|
+
notData: '无匹配项'
|
|
4384
|
+
}
|
|
4385
|
+
}
|
|
4386
|
+
}
|
|
4387
|
+
});
|
|
4388
|
+
;// CONCATENATED MODULE: ./packages/components.ts
|
|
4389
|
+
|
|
4390
|
+
|
|
4391
|
+
|
|
4392
|
+
|
|
4393
|
+
|
|
4394
|
+
|
|
4395
|
+
|
|
4396
|
+
|
|
4397
|
+
|
|
4398
|
+
|
|
4399
|
+
|
|
4400
|
+
|
|
4401
|
+
|
|
4402
|
+
|
|
4403
|
+
|
|
4404
|
+
|
|
4405
|
+
|
|
4406
|
+
|
|
4407
|
+
// 默认中文
|
|
4408
|
+
setConfig({
|
|
4409
|
+
i18n: (key, args) => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toFormatString(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(zh_CN, key), args)
|
|
4410
|
+
});
|
|
4411
|
+
function install(app, options) {
|
|
4412
|
+
setConfig(options);
|
|
4413
|
+
app.use(packages_icon);
|
|
4414
|
+
app.use(packages_layout_container);
|
|
4415
|
+
app.use(packages_layout_header);
|
|
4416
|
+
app.use(packages_layout_aside);
|
|
4417
|
+
app.use(packages_layout_body);
|
|
4418
|
+
app.use(packages_layout_footer);
|
|
4419
|
+
app.use(packages_row);
|
|
4420
|
+
app.use(packages_col);
|
|
4421
|
+
app.use(packages_breadcrumb);
|
|
4422
|
+
app.use(packages_breadcrumb_item);
|
|
4423
|
+
app.use(packages_button);
|
|
4424
|
+
app.use(packages_button_group);
|
|
4425
|
+
app.use(packages_anchor);
|
|
4426
|
+
app.use(packages_anchor_link);
|
|
4427
|
+
app.use(packages_design);
|
|
4428
|
+
}
|
|
4429
|
+
|
|
4430
|
+
// Components
|
|
4431
|
+
|
|
4432
|
+
|
|
4433
|
+
|
|
4434
|
+
|
|
4435
|
+
|
|
4436
|
+
|
|
4437
|
+
|
|
4438
|
+
|
|
4439
|
+
|
|
4440
|
+
|
|
4441
|
+
|
|
4442
|
+
|
|
4443
|
+
|
|
4444
|
+
|
|
4445
|
+
|
|
4446
|
+
;// CONCATENATED MODULE: ./index.ts
|
|
4447
|
+
|
|
4448
|
+
|
|
4449
|
+
|
|
4450
|
+
/* harmony default export */ var index = (components_namespaceObject);
|
|
4451
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
4452
|
+
|
|
4453
|
+
|
|
4454
|
+
/* harmony default export */ var entry_lib = (index);
|
|
4455
|
+
|
|
4456
|
+
|
|
4457
|
+
}();
|
|
4458
|
+
/******/ return __webpack_exports__;
|
|
4459
|
+
/******/ })()
|
|
4460
|
+
;
|
|
4461
|
+
});
|