bkui-vue 0.0.1-beta.44 → 0.0.1-beta.440
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.txt +14 -0
- package/dist/index.cjs.js +160 -35
- package/dist/index.esm.js +35377 -14551
- package/dist/index.umd.js +160 -35
- package/dist/locale/en.esm.js +2 -0
- package/dist/locale/en.esm.js.map +1 -0
- package/dist/locale/en.umd.js +2 -0
- package/dist/locale/en.umd.js.map +1 -0
- package/dist/locale/zh-cn.esm.js +2 -0
- package/dist/locale/zh-cn.esm.js.map +1 -0
- package/dist/locale/zh-cn.umd.js +2 -0
- package/dist/locale/zh-cn.umd.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -0
- package/lib/affix/affix.css +3 -0
- package/lib/affix/affix.d.ts +47 -0
- package/lib/affix/affix.less +5 -0
- package/lib/affix/affix.variable.css +125 -0
- package/lib/affix/index.d.ts +143 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.css +9 -3
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/alert.less +29 -20
- package/lib/alert/alert.variable.css +41 -7
- package/lib/alert/index.d.ts +11 -11
- package/lib/alert/index.js +1 -0
- package/lib/animate-number/animate-number.d.ts +1 -1
- package/lib/animate-number/index.d.ts +4 -4
- package/lib/animate-number/{animate-number.js → index.js} +1 -1
- package/lib/backtop/backtop.css +8 -0
- package/lib/backtop/backtop.d.ts +3 -3
- package/lib/backtop/backtop.less +8 -0
- package/lib/backtop/backtop.variable.css +40 -4
- package/lib/backtop/index.d.ts +10 -10
- package/lib/backtop/index.js +1 -0
- package/lib/badge/badge.css +7 -10
- package/lib/badge/badge.d.ts +28 -7
- package/lib/badge/badge.less +9 -11
- package/lib/badge/badge.variable.css +39 -14
- package/lib/badge/index.d.ts +68 -18
- package/lib/badge/index.js +1 -0
- package/lib/breadcrumb/breadcrumb-item.d.ts +4 -2
- package/lib/breadcrumb/breadcrumb.css +51 -0
- package/lib/breadcrumb/breadcrumb.variable.css +88 -9
- package/lib/breadcrumb/index.d.ts +4 -2
- package/lib/breadcrumb/index.js +1 -0
- package/lib/button/button-group.d.ts +2 -2
- package/lib/button/button.css +85 -50
- package/lib/button/button.d.ts +44 -24
- package/lib/button/button.less +72 -42
- package/lib/button/button.variable.css +117 -54
- package/lib/button/index.d.ts +74 -44
- package/lib/button/index.js +1 -0
- package/lib/card/card.css +96 -1
- package/lib/card/card.d.ts +47 -6
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +132 -9
- package/lib/card/index.d.ts +113 -17
- package/lib/card/index.js +1 -0
- package/lib/cascader/cascader-panel.d.ts +101 -0
- package/lib/cascader/cascader.css +316 -0
- package/lib/cascader/cascader.d.ts +342 -0
- package/lib/cascader/cascader.less +283 -0
- package/lib/cascader/cascader.variable.css +438 -0
- package/lib/cascader/index.d.ts +961 -0
- package/lib/cascader/index.js +1 -0
- package/lib/cascader/interface.d.ts +51 -0
- package/lib/cascader/node.d.ts +31 -0
- package/lib/cascader/store.d.ts +25 -0
- package/lib/checkbox/checkbox-group.d.ts +16 -0
- package/lib/checkbox/checkbox.css +51 -11
- package/lib/checkbox/checkbox.d.ts +36 -24
- package/lib/checkbox/checkbox.less +85 -32
- package/lib/checkbox/checkbox.variable.css +83 -15
- package/lib/checkbox/common.d.ts +4 -3
- package/lib/checkbox/index.d.ts +70 -38
- package/lib/checkbox/index.js +1 -0
- package/lib/checkbox/type.d.ts +2 -6
- package/lib/code-diff/code-diff.css +27 -7
- package/lib/code-diff/code-diff.d.ts +1 -1
- package/lib/code-diff/code-diff.less +42 -7
- package/lib/code-diff/code-diff.variable.css +59 -11
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse-panel.d.ts +103 -0
- package/lib/collapse/collapse.css +69 -14
- package/lib/collapse/collapse.d.ts +66 -52
- package/lib/collapse/collapse.less +112 -30
- package/lib/collapse/collapse.variable.css +191 -14
- package/lib/collapse/index.d.ts +266 -20
- package/lib/collapse/index.js +1 -0
- package/lib/collapse/props.d.ts +131 -0
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/collapse-transition/collapse-transition.css +93 -0
- package/lib/collapse-transition/collapse-transition.d.ts +15 -0
- package/lib/collapse-transition/collapse-transition.less +111 -0
- package/lib/collapse-transition/collapse-transition.variable.css +215 -0
- package/lib/collapse-transition/index.d.ts +2 -0
- package/lib/collapse-transition/index.js +1 -0
- package/lib/color-picker/color-picker.css +275 -0
- package/lib/color-picker/color-picker.d.ts +144 -0
- package/lib/color-picker/color-picker.less +325 -0
- package/lib/color-picker/color-picker.variable.css +397 -0
- package/lib/color-picker/components/color-input.d.ts +42 -0
- package/lib/color-picker/components/hue-slider.d.ts +41 -0
- package/lib/color-picker/components/input-container.d.ts +42 -0
- package/lib/color-picker/components/recommend-colors.d.ts +51 -0
- package/lib/color-picker/components/saturation-panel.d.ts +41 -0
- package/lib/color-picker/index.d.ts +254 -0
- package/lib/color-picker/index.js +1 -0
- package/lib/color-picker/utils.d.ts +37 -0
- package/lib/components.d.ts +31 -8
- package/lib/components.js +1 -0
- package/lib/config-provider/config-provider.css +0 -0
- package/lib/config-provider/config-provider.d.ts +259 -0
- package/lib/config-provider/config-provider.less +1 -0
- package/lib/config-provider/config-provider.variable.css +122 -0
- package/lib/config-provider/index.d.ts +562 -0
- package/lib/config-provider/index.js +1 -0
- package/lib/config-provider/type.d.ts +125 -0
- package/lib/container/col.d.ts +51 -0
- package/lib/container/container.css +91 -0
- package/lib/container/container.d.ts +83 -0
- package/lib/container/container.less +20 -0
- package/lib/container/container.variable.css +213 -0
- package/lib/container/index.d.ts +223 -0
- package/lib/container/index.js +1 -0
- package/lib/container/row.d.ts +4 -0
- package/lib/date-picker/base/confirm.d.ts +74 -0
- package/lib/date-picker/base/date-table.d.ts +96 -0
- package/lib/date-picker/base/month-table.d.ts +117 -0
- package/lib/date-picker/base/picker-dropdown.d.ts +74 -0
- package/lib/date-picker/base/time-spinner.d.ts +170 -0
- package/lib/date-picker/base/year-table.d.ts +117 -0
- package/lib/date-picker/date-picker.css +28 -1
- package/lib/date-picker/date-picker.d.ts +49 -20
- package/lib/date-picker/date-picker.less +106 -74
- package/lib/date-picker/date-picker.variable.css +60 -5
- package/lib/date-picker/index.d.ts +121 -54
- package/lib/date-picker/index.js +1 -0
- package/lib/date-picker/interface.d.ts +11 -1
- package/lib/date-picker/panel/date-range.d.ts +328 -0
- package/lib/date-picker/panel/date.d.ts +206 -0
- package/lib/date-picker/panel/time-range.d.ts +489 -0
- package/lib/date-picker/panel/time.d.ts +448 -0
- package/lib/date-picker/props.d.ts +55 -5
- package/lib/date-picker/time-picker.d.ts +381 -0
- package/lib/date-picker/utils.d.ts +22 -2
- package/lib/dialog/dialog.css +136 -24
- package/lib/dialog/dialog.d.ts +249 -58
- package/lib/dialog/dialog.less +100 -38
- package/lib/dialog/dialog.variable.css +258 -24
- package/lib/dialog/index.d.ts +553 -126
- package/lib/dialog/index.js +1 -0
- package/lib/dialog/props.d.ts +124 -0
- package/lib/directives/ellipsis.d.ts +7 -0
- package/lib/directives/index.d.ts +2 -0
- package/lib/directives/index.js +2 -0
- package/lib/directives/tooltips.d.ts +2 -1
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.d.ts +15 -15
- package/lib/divider/divider.variable.css +32 -4
- package/lib/divider/index.d.ts +34 -34
- package/lib/divider/index.js +1 -0
- package/lib/divider/props.d.ts +6 -6
- package/lib/dropdown/dropdown.css +13 -7
- package/lib/dropdown/dropdown.d.ts +46 -14
- package/lib/dropdown/dropdown.less +47 -34
- package/lib/dropdown/dropdown.variable.css +45 -11
- package/lib/dropdown/index.d.ts +99 -35
- package/lib/dropdown/index.js +1 -0
- package/lib/exception/exception.css +40 -14
- package/lib/exception/exception.d.ts +31 -11
- package/lib/exception/exception.less +59 -22
- package/lib/exception/exception.variable.css +72 -18
- package/lib/exception/index.d.ts +43 -26
- package/lib/exception/index.js +1 -0
- package/lib/exception/typings/index.d.ts +4 -0
- package/lib/fixed-navbar/fixed-navbar.d.ts +16 -2
- package/lib/fixed-navbar/fixed-navbar.variable.css +32 -4
- package/lib/fixed-navbar/index.d.ts +40 -5
- package/lib/fixed-navbar/{fixed-navbar.js → index.js} +1 -1
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +22 -7
- package/lib/form/form.css +103 -15
- package/lib/form/form.d.ts +48 -14
- package/lib/form/form.less +152 -46
- package/lib/form/form.variable.css +225 -15
- package/lib/form/index.d.ts +121 -35
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +11 -8
- package/lib/form/utils.d.ts +2 -0
- package/lib/form/validator.d.ts +1 -0
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.js +1 -0
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.d.ts +4 -0
- package/lib/icon/close-line.js +1 -0
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.d.ts +4 -0
- package/lib/icon/data-shape.js +1 -0
- package/lib/icon/del.d.ts +4 -0
- package/lib/icon/del.js +1 -0
- package/lib/icon/doc-fill.d.ts +4 -0
- package/lib/icon/doc-fill.js +1 -0
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.d.ts +4 -0
- package/lib/icon/edit-line.js +1 -0
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.d.ts +4 -0
- package/lib/icon/enlarge-line.js +1 -0
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.d.ts +4 -0
- package/lib/icon/excel-fill.js +1 -0
- package/lib/icon/exclamation-circle-shape.d.ts +4 -0
- package/lib/icon/exclamation-circle-shape.js +1 -0
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.d.ts +4 -0
- package/lib/icon/filliscreen-line.js +1 -0
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/image-fill.js +1 -0
- package/lib/icon/img-error.d.ts +4 -0
- package/lib/icon/img-placehoulder.d.ts +4 -0
- package/lib/icon/img-placehoulder.js +1 -0
- package/lib/icon/index.d.ts +79 -53
- package/lib/icon/index.js +1 -0
- package/lib/icon/info-line.js +1 -1
- package/lib/icon/info.js +1 -1
- package/lib/icon/left-shape.js +1 -1
- package/lib/icon/left-turn-line.d.ts +4 -0
- package/lib/icon/left-turn-line.js +1 -0
- package/lib/icon/narrow-line.d.ts +4 -0
- package/lib/icon/narrow-line.js +1 -0
- package/lib/icon/original.d.ts +4 -0
- package/lib/icon/original.js +1 -0
- package/lib/icon/pdf-fill.d.ts +4 -0
- package/lib/icon/pdf-fill.js +1 -0
- package/lib/icon/play-shape.js +1 -1
- package/lib/icon/plus.js +1 -1
- package/lib/icon/ppt-fill.d.ts +4 -0
- package/lib/icon/ppt-fill.js +1 -0
- package/lib/icon/qq.js +1 -1
- package/lib/icon/right-shape.js +1 -1
- package/lib/icon/right-turn-line.d.ts +4 -0
- package/lib/icon/right-turn-line.js +1 -0
- package/lib/icon/search.js +1 -1
- package/lib/icon/share.js +1 -1
- package/lib/icon/spinner.js +1 -1
- package/lib/icon/success.js +1 -1
- package/lib/icon/switcher-loading.js +1 -1
- package/lib/icon/text-file.js +1 -1
- package/lib/icon/text-fill.d.ts +4 -0
- package/lib/icon/text-fill.js +1 -0
- package/lib/icon/transfer.d.ts +4 -0
- package/lib/icon/transfer.js +1 -0
- package/lib/icon/tree-application-shape.js +1 -1
- package/lib/icon/unfull-screen.d.ts +4 -0
- package/lib/icon/unfull-screen.js +1 -0
- package/lib/icon/unvisible.js +1 -1
- package/lib/icon/up-shape.js +1 -1
- package/lib/icon/upload.d.ts +4 -0
- package/lib/icon/upload.js +1 -0
- package/lib/icon/video-fill.d.ts +4 -0
- package/lib/icon/video-fill.js +1 -0
- package/lib/icon/warn.js +1 -1
- package/lib/icon/weixin.js +1 -1
- package/lib/image/image-viewer.css +142 -0
- package/lib/image/image-viewer.d.ts +73 -0
- package/lib/image/image-viewer.less +168 -0
- package/lib/image/image-viewer.variable.css +142 -0
- package/lib/image/image.css +37 -0
- package/lib/image/image.d.ts +93 -0
- package/lib/image/image.less +44 -0
- package/lib/image/image.variable.css +37 -0
- package/lib/image/index.d.ts +246 -0
- package/lib/image/index.js +1 -0
- package/lib/image/props.d.ts +71 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.js +1 -0
- package/lib/info-box/index.d.ts +7 -0
- package/lib/info-box/index.js +1 -0
- package/lib/info-box/info-box.css +37 -0
- package/lib/info-box/info-box.d.ts +28 -0
- package/lib/info-box/info-box.less +51 -0
- package/lib/info-box/info-box.variable.css +159 -0
- package/lib/input/index.d.ts +175 -90
- package/lib/input/index.js +1 -0
- package/lib/input/input.css +183 -19
- package/lib/input/input.d.ts +119 -36
- package/lib/input/input.less +112 -18
- package/lib/input/input.variable.css +246 -55
- package/lib/link/index.d.ts +29 -21
- package/lib/link/index.js +1 -0
- package/lib/link/link.css +12 -12
- package/lib/link/link.d.ts +10 -8
- package/lib/link/link.less +16 -14
- package/lib/link/link.variable.css +44 -16
- package/lib/loading/directive.d.ts +14 -0
- package/lib/loading/index.d.ts +135 -19
- package/lib/loading/index.js +1 -0
- package/lib/loading/loading.css +86 -33
- package/lib/loading/loading.d.ts +94 -12
- package/lib/loading/loading.less +27 -23
- package/lib/loading/loading.variable.css +134 -53
- package/lib/locale/index.d.ts +3 -0
- package/lib/locale/index.js +1 -0
- package/lib/locale/lang/en.d.ts +120 -0
- package/lib/locale/lang/zh-cn.d.ts +3 -0
- package/lib/menu/index.d.ts +16 -24
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu.css +51 -0
- package/lib/menu/menu.d.ts +7 -16
- package/lib/menu/menu.variable.css +101 -22
- package/lib/menu/submenu.variable.css +32 -4
- package/lib/message/index.js +1 -0
- package/lib/message/message.css +17 -5
- package/lib/message/message.less +21 -6
- package/lib/message/message.variable.css +49 -9
- package/lib/message/messageConstructor.d.ts +14 -11
- package/lib/modal/index.d.ts +469 -78
- package/lib/modal/index.js +1 -0
- package/lib/modal/modal.css +63 -1
- package/lib/modal/modal.d.ts +179 -30
- package/lib/modal/modal.less +39 -3
- package/lib/modal/modal.variable.css +185 -1
- package/lib/modal/props.mixin.d.ts +76 -13
- package/lib/navigation/index.d.ts +310 -1
- package/lib/navigation/index.js +1 -0
- package/lib/navigation/navigation.css +1 -1
- package/lib/navigation/navigation.d.ts +11 -2
- package/lib/navigation/navigation.less +1 -1
- package/lib/navigation/navigation.variable.css +33 -5
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +25 -5
- package/lib/notify/notify.less +29 -6
- package/lib/notify/notify.variable.css +57 -9
- package/lib/notify/notifyConstructor.d.ts +62 -21
- package/lib/overflow-title/components/overflow-title.d.ts +47 -0
- package/lib/overflow-title/directive/overflow-title.d.ts +3 -0
- package/lib/overflow-title/index.d.ts +148 -0
- package/lib/overflow-title/index.js +1 -0
- package/lib/overflow-title/overflow.css +11 -0
- package/lib/overflow-title/overflow.less +13 -0
- package/lib/overflow-title/overflow.variable.css +11 -0
- package/lib/overflow-title/props.d.ts +40 -0
- package/lib/overflow-title/utils/getActualWidthByCanvas.d.ts +3 -0
- package/lib/overflow-title/utils/getActualWidthByDom.d.ts +3 -0
- package/lib/pagination/index.d.ts +35 -20
- package/lib/pagination/index.js +1 -0
- package/lib/pagination/pagination.css +54 -28
- package/lib/pagination/pagination.d.ts +18 -8
- package/lib/pagination/pagination.less +59 -30
- package/lib/pagination/pagination.variable.css +86 -32
- package/lib/pagination/use-limit.d.ts +3 -1
- package/lib/pagination/use-total.d.ts +3 -1
- package/lib/plugin-popover/index.d.ts +27 -0
- package/lib/plugin-popover/index.js +1 -0
- package/lib/plugins/index.d.ts +1 -0
- package/lib/plugins/index.js +1 -0
- package/lib/pop-confirm/index.d.ts +246 -0
- package/lib/pop-confirm/index.js +1 -0
- package/lib/pop-confirm/pop-confirm.css +28 -0
- package/lib/pop-confirm/pop-confirm.d.ts +95 -0
- package/lib/pop-confirm/pop-confirm.less +34 -0
- package/lib/pop-confirm/pop-confirm.variable.css +150 -0
- package/lib/pop-confirm/props.d.ts +67 -0
- package/lib/popover/arrow.d.ts +2 -0
- package/lib/popover/const.d.ts +16 -0
- package/lib/popover/content.d.ts +43 -0
- package/lib/popover/index.d.ts +504 -97
- package/lib/popover/index.js +1 -0
- package/lib/popover/plugin-popover.d.ts +12 -0
- package/lib/popover/popover.css +10 -50
- package/lib/popover/popover.d.ts +222 -43
- package/lib/popover/popover.less +19 -66
- package/lib/popover/popover.variable.css +42 -54
- package/lib/popover/props.d.ts +110 -30
- package/lib/popover/reference.d.ts +2 -0
- package/lib/popover/root.d.ts +16 -0
- package/lib/popover/use-floating.d.ts +34 -0
- package/lib/popover/use-platform.d.ts +30 -0
- package/lib/popover/use-popover-init.d.ts +23 -0
- package/lib/popover/use-popper-id.d.ts +6 -0
- package/lib/popover/utils.d.ts +3 -0
- package/lib/popover2/index.d.ts +44 -0
- package/lib/popover2/index.js +1 -0
- package/lib/popover2/popover.d.ts +2 -0
- package/lib/preset.d.ts +244 -2
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +9 -9
- package/lib/process/index.js +1 -0
- package/lib/process/process.css +22 -0
- package/lib/process/process.d.ts +2 -2
- package/lib/process/process.less +30 -2
- package/lib/process/process.variable.css +54 -4
- package/lib/progress/index.d.ts +31 -31
- package/lib/progress/index.js +1 -0
- package/lib/progress/progress.css +51 -0
- package/lib/progress/progress.d.ts +12 -12
- package/lib/progress/progress.variable.css +87 -8
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +36 -18
- package/lib/radio/index.js +1 -0
- package/lib/radio/radio-button.d.ts +7 -8
- package/lib/radio/radio-group.d.ts +26 -0
- package/lib/radio/radio.css +137 -66
- package/lib/radio/radio.d.ts +4 -4
- package/lib/radio/radio.less +262 -173
- package/lib/radio/radio.variable.css +172 -73
- package/lib/radio/type.d.ts +9 -4
- package/lib/rate/index.d.ts +28 -5
- package/lib/rate/index.js +1 -0
- package/lib/rate/rate.d.ts +13 -2
- package/lib/rate/star.d.ts +1 -1
- package/lib/resize-layout/index.d.ts +18 -18
- package/lib/resize-layout/index.js +1 -0
- package/lib/resize-layout/resize-layout.css +6 -15
- package/lib/resize-layout/resize-layout.d.ts +7 -7
- package/lib/resize-layout/resize-layout.less +10 -19
- package/lib/resize-layout/resize-layout.variable.css +38 -19
- package/lib/search-select/index.d.ts +841 -0
- package/lib/search-select/index.js +1 -0
- package/lib/search-select/input.d.ts +98 -0
- package/lib/search-select/menu.d.ts +76 -0
- package/lib/search-select/search-select.css +424 -0
- package/lib/search-select/search-select.d.ts +343 -0
- package/lib/search-select/search-select.less +380 -0
- package/lib/search-select/search-select.variable.css +546 -0
- package/lib/search-select/selected.d.ts +152 -0
- package/lib/search-select/utils.d.ts +88 -0
- package/lib/select/common.d.ts +5 -12
- package/lib/select/index.d.ts +1795 -691
- package/lib/select/index.js +1 -0
- package/lib/select/option.d.ts +12 -4
- package/lib/select/optionGroup.d.ts +1 -1
- package/lib/select/select.css +186 -113
- package/lib/select/select.d.ts +708 -147
- package/lib/select/select.less +320 -202
- package/lib/select/select.variable.css +218 -117
- package/lib/select/selectTagInput.d.ts +94 -0
- package/lib/select/type.d.ts +21 -13
- package/lib/shared/dom.d.ts +3 -0
- package/lib/shared/helper.d.ts +9 -0
- package/lib/shared/hooks/use-form-item.d.ts +2 -0
- package/lib/shared/hooks/use-form.d.ts +2 -0
- package/lib/shared/index.d.ts +32 -7
- package/lib/shared/index.js +1 -0
- package/lib/shared/mask-manager.d.ts +6 -2
- package/lib/shared/pop-manager.d.ts +16 -4
- package/lib/shared/popover.d.ts +6 -2
- package/lib/shared/token.d.ts +4 -0
- package/lib/shared/utils.d.ts +19 -0
- package/lib/shared/vue-types.d.ts +107 -7
- package/lib/sideslider/index.d.ts +351 -69
- package/lib/sideslider/index.js +1 -0
- package/lib/sideslider/sideslider.css +55 -10
- package/lib/sideslider/sideslider.d.ts +164 -31
- package/lib/sideslider/sideslider.less +72 -13
- package/lib/sideslider/sideslider.variable.css +87 -14
- package/lib/slider/index.d.ts +414 -1
- package/lib/slider/index.js +1 -0
- package/lib/slider/slider-button.d.ts +2 -1
- package/lib/slider/slider.d.ts +4 -4
- package/lib/slider/slider.variable.css +32 -4
- package/lib/steps/index.d.ts +52 -52
- package/lib/steps/index.js +1 -0
- package/lib/steps/steps.css +15 -3
- package/lib/steps/steps.d.ts +32 -32
- package/lib/steps/steps.less +24 -3
- package/lib/steps/steps.variable.css +47 -7
- package/lib/styles/index.d.ts +10 -1
- package/lib/styles/mixins/clearfix.css +8 -0
- package/lib/styles/mixins/clearfix.less +10 -0
- package/lib/styles/mixins/clearfix.variable.css +8 -0
- package/lib/styles/mixins/mixins.css +51 -0
- package/lib/styles/mixins/mixins.less +2 -0
- package/lib/styles/mixins/mixins.variable.css +51 -0
- package/lib/styles/mixins/popper.css +1 -1
- package/lib/styles/mixins/popper.less +12 -11
- package/lib/styles/mixins/popper.variable.css +123 -1
- package/lib/styles/mixins/scroll.css +17 -0
- package/lib/styles/mixins/scroll.less +22 -0
- package/lib/styles/mixins/scroll.variable.css +139 -0
- package/lib/styles/reset.css +36 -0
- package/lib/styles/reset.less +26 -2
- package/lib/styles/reset.variable.css +36 -0
- package/lib/styles/themes/themes.less +42 -4
- package/lib/swiper/index.js +1 -0
- package/lib/switcher/index.d.ts +42 -30
- package/lib/switcher/index.js +1 -0
- package/lib/switcher/switcher.css +57 -6
- package/lib/switcher/switcher.d.ts +19 -13
- package/lib/switcher/switcher.less +5 -26
- package/lib/switcher/switcher.variable.css +106 -27
- package/lib/tab/index.d.ts +121 -67
- package/lib/tab/index.js +1 -0
- package/lib/tab/props.d.ts +93 -41
- package/lib/tab/tab-nav.d.ts +50 -14
- package/lib/tab/tab-panel.d.ts +14 -7
- package/lib/tab/tab.css +151 -55
- package/lib/tab/tab.d.ts +42 -21
- package/lib/tab/tab.less +179 -86
- package/lib/tab/tab.variable.css +183 -59
- package/lib/table/cache.d.ts +6 -0
- package/lib/table/components/index.d.ts +3 -0
- package/lib/table/components/table-cell.d.ts +51 -0
- package/lib/table/components/table-column.d.ts +208 -0
- package/lib/table/components/table-row.d.ts +2 -0
- package/lib/table/const.d.ts +125 -1
- package/lib/table/index.d.ts +1106 -48
- package/lib/table/index.js +1 -0
- package/lib/table/plugins/body-empty.d.ts +36 -0
- package/lib/table/plugins/col-group.d.ts +38 -0
- package/lib/table/plugins/common.d.ts +6 -0
- package/lib/table/plugins/head-filter.css +84 -0
- package/lib/table/plugins/head-filter.d.ts +26 -0
- package/lib/table/plugins/head-filter.less +110 -0
- package/lib/table/plugins/head-filter.variable.css +206 -0
- package/lib/table/plugins/head-sort.css +26 -0
- package/lib/table/plugins/head-sort.d.ts +29 -0
- package/lib/table/plugins/head-sort.less +32 -0
- package/lib/table/plugins/head-sort.variable.css +148 -0
- package/lib/table/plugins/index.d.ts +5 -0
- package/lib/table/plugins/settings.css +147 -0
- package/lib/table/plugins/settings.d.ts +37 -0
- package/lib/table/plugins/settings.less +181 -0
- package/lib/table/plugins/settings.variable.css +269 -0
- package/lib/table/plugins/use-active-columns.d.ts +16 -0
- package/lib/table/plugins/use-column-resize.d.ts +15 -0
- package/lib/table/plugins/use-fixed-column.d.ts +26 -0
- package/lib/table/plugins/use-pagination.d.ts +16 -0
- package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
- package/lib/table/props.d.ts +354 -11
- package/lib/table/render.d.ts +54 -31
- package/lib/table/table.css +1250 -38
- package/lib/table/table.d.ts +258 -18
- package/lib/table/table.less +314 -42
- package/lib/table/table.variable.css +1291 -51
- package/lib/table/use-column.d.ts +12 -0
- package/lib/table/use-common.d.ts +113 -0
- package/lib/table/utils.d.ts +60 -13
- package/lib/table-column/index.d.ts +521 -0
- package/lib/table-column/index.js +1 -0
- package/lib/tag/index.d.ts +29 -29
- package/lib/tag/index.js +1 -0
- package/lib/tag/tag.css +46 -13
- package/lib/tag/tag.d.ts +12 -12
- package/lib/tag/tag.less +46 -10
- package/lib/tag/tag.variable.css +78 -17
- package/lib/tag-input/common.d.ts +13 -1
- package/lib/tag-input/index.d.ts +1406 -1
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/list-tag-render.d.ts +0 -3
- package/lib/tag-input/tag-input.css +23 -26
- package/lib/tag-input/tag-input.d.ts +303 -44
- package/lib/tag-input/tag-input.less +102 -104
- package/lib/tag-input/tag-input.variable.css +55 -30
- package/lib/tag-input/tag-props.d.ts +141 -7
- package/lib/tag-input/tag-render.d.ts +30 -4
- package/lib/time-picker/index.d.ts +904 -0
- package/lib/time-picker/index.js +1 -0
- package/lib/time-picker/time-picker.css +215 -0
- package/lib/time-picker/time-picker.less +260 -0
- package/lib/time-picker/time-picker.variable.css +337 -0
- package/lib/timeline/index.d.ts +6 -6
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +16 -9
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/timeline/timeline.less +22 -9
- package/lib/timeline/timeline.variable.css +48 -13
- package/lib/transfer/const.d.ts +5 -0
- package/lib/transfer/index.d.ts +247 -150
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/props.d.ts +59 -0
- package/lib/transfer/transfer.css +153 -92
- package/lib/transfer/transfer.d.ts +101 -95
- package/lib/transfer/transfer.less +142 -112
- package/lib/transfer/transfer.variable.css +191 -102
- package/lib/tree/constant.d.ts +62 -0
- package/lib/tree/index.d.ts +379 -60
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +124 -0
- package/lib/tree/tree.css +181 -9
- package/lib/tree/tree.d.ts +172 -19
- package/lib/tree/tree.less +54 -3
- package/lib/tree/tree.variable.css +213 -13
- package/lib/tree/use-empty.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +12 -0
- package/lib/tree/use-node-async.d.ts +5 -0
- package/lib/tree/use-node-attribute.d.ts +33 -0
- package/lib/tree/use-node-drag.d.ts +3 -0
- package/lib/tree/use-search.d.ts +11 -0
- package/lib/tree/use-tree-init.d.ts +15 -0
- package/lib/tree/util.d.ts +4 -6
- package/lib/upload/index.d.ts +566 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +111 -0
- package/lib/upload/upload-list.d.ts +47 -0
- package/lib/upload/upload-trigger.d.ts +51 -0
- package/lib/upload/upload.css +427 -0
- package/lib/upload/upload.d.ts +246 -0
- package/lib/upload/upload.less +466 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +549 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -0
- package/lib/virtual-render/index.d.ts +50 -4
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +15 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +0 -1
- package/lib/virtual-render/virtual-render.css +17 -17
- package/lib/virtual-render/virtual-render.d.ts +23 -1
- package/lib/virtual-render/virtual-render.less +2 -23
- package/lib/virtual-render/virtual-render.variable.css +139 -17
- package/lib/volar.components.d.ts +102 -0
- package/package.json +59 -26
- package/LICENSE.txt +0 -22
- package/lib/alert/alert.js +0 -1
- package/lib/backtop/backtop.js +0 -1
- package/lib/badge/badge.js +0 -1
- package/lib/breadcrumb/breadcrumb.js +0 -1
- package/lib/button/button.js +0 -1
- package/lib/card/card.js +0 -1
- package/lib/checkbox/checkbox.js +0 -1
- package/lib/code-diff/code-diff.js +0 -1
- package/lib/collapse/collapse.js +0 -1
- package/lib/date-picker/date-picker.js +0 -1
- package/lib/dialog/dialog.js +0 -1
- package/lib/directives/directives.js +0 -2
- package/lib/divider/divider.js +0 -1
- package/lib/dropdown/dropdown.js +0 -1
- package/lib/exception/exception.js +0 -1
- package/lib/form/common.d.ts +0 -3
- package/lib/form/form.js +0 -1
- package/lib/icon/icon.js +0 -1
- package/lib/input/input.js +0 -1
- package/lib/link/link.js +0 -1
- package/lib/loading/loading.js +0 -1
- package/lib/menu/menu.js +0 -1
- package/lib/message/message.js +0 -1
- package/lib/modal/modal.js +0 -1
- package/lib/navigation/navigation.js +0 -1
- package/lib/notify/notify.js +0 -1
- package/lib/pagination/pagination.js +0 -1
- package/lib/popover/popover.js +0 -1
- package/lib/process/process.js +0 -1
- package/lib/progress/progress.js +0 -1
- package/lib/radio/radio.js +0 -1
- package/lib/rate/rate.js +0 -1
- package/lib/resize-layout/resize-layout.js +0 -1
- package/lib/select/select.js +0 -1
- package/lib/shared/shared.js +0 -1
- package/lib/sideslider/sideslider.js +0 -1
- package/lib/slider/slider.js +0 -1
- package/lib/steps/steps.js +0 -1
- package/lib/swiper/swiper.js +0 -1
- package/lib/switcher/switcher.js +0 -1
- package/lib/tab/tab.js +0 -1
- package/lib/table/table.js +0 -1
- package/lib/tag/tag.js +0 -1
- package/lib/tag-input/tag-input.js +0 -1
- package/lib/timeline/timeline.js +0 -1
- package/lib/transfer/transfer.js +0 -1
- package/lib/tree/tree.js +0 -1
- package/lib/use-form.d.ts +0 -3
- package/lib/virtual-render/virtual-render.js +0 -1
- /package/lib/directives/{directives.js.LICENSE.txt → index.js.LICENSE.txt} +0 -0
@@ -0,0 +1,562 @@
|
|
1
|
+
/**
|
2
|
+
* Tencent is pleased to support the open source community by making
|
3
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
4
|
+
*
|
5
|
+
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
6
|
+
*
|
7
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
8
|
+
*
|
9
|
+
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
10
|
+
*
|
11
|
+
* ---------------------------------------------------
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
13
|
+
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
14
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
15
|
+
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
16
|
+
*
|
17
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
18
|
+
* the Software.
|
19
|
+
*
|
20
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
21
|
+
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
22
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
23
|
+
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
24
|
+
* IN THE SOFTWARE.
|
25
|
+
*/
|
26
|
+
declare const BkConfigProvider: {
|
27
|
+
new (...args: any[]): {
|
28
|
+
$: import("vue").ComponentInternalInstance;
|
29
|
+
$data: {};
|
30
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
31
|
+
locale: {
|
32
|
+
type: import("vue").PropType<{
|
33
|
+
lang: string;
|
34
|
+
steps: {
|
35
|
+
step1: string;
|
36
|
+
step2: string;
|
37
|
+
step3: string;
|
38
|
+
};
|
39
|
+
datePicker: {
|
40
|
+
selectDate: string;
|
41
|
+
selectTime: string;
|
42
|
+
clear: string;
|
43
|
+
ok: string;
|
44
|
+
weekdays: {
|
45
|
+
sun: string;
|
46
|
+
mon: string;
|
47
|
+
tue: string;
|
48
|
+
wed: string;
|
49
|
+
thu: string;
|
50
|
+
fri: string;
|
51
|
+
sat: string;
|
52
|
+
};
|
53
|
+
hour: string;
|
54
|
+
min: string;
|
55
|
+
sec: string;
|
56
|
+
toNow: string;
|
57
|
+
};
|
58
|
+
dialog: {
|
59
|
+
ok: string;
|
60
|
+
cancel: string;
|
61
|
+
prev: string;
|
62
|
+
next: string;
|
63
|
+
};
|
64
|
+
popConfirm: {
|
65
|
+
ok: string;
|
66
|
+
cancel: string;
|
67
|
+
};
|
68
|
+
form: {
|
69
|
+
notBeEmpty: string;
|
70
|
+
incorrectFormat: string;
|
71
|
+
max: string;
|
72
|
+
min: string;
|
73
|
+
maxLen: string;
|
74
|
+
verifyError: string;
|
75
|
+
};
|
76
|
+
pagination: {
|
77
|
+
eachPage: string;
|
78
|
+
strip: string;
|
79
|
+
total: string;
|
80
|
+
};
|
81
|
+
process: {
|
82
|
+
step1: string;
|
83
|
+
step2: string;
|
84
|
+
step3: string;
|
85
|
+
step4: string;
|
86
|
+
};
|
87
|
+
searchSelect: {
|
88
|
+
pleaseSelect: string;
|
89
|
+
loading: string;
|
90
|
+
filterQueryMustHasValue: string;
|
91
|
+
ok: string;
|
92
|
+
cancel: string;
|
93
|
+
or: string;
|
94
|
+
and: string;
|
95
|
+
};
|
96
|
+
select: {
|
97
|
+
noData: string;
|
98
|
+
noMatchedData: string;
|
99
|
+
loading: string;
|
100
|
+
pleaseSelect: string;
|
101
|
+
enterKeywords: string;
|
102
|
+
all: string;
|
103
|
+
};
|
104
|
+
table: {
|
105
|
+
emptyText: string;
|
106
|
+
confirm: string;
|
107
|
+
reset: string;
|
108
|
+
setting: {
|
109
|
+
title: string;
|
110
|
+
fields: {
|
111
|
+
title: string;
|
112
|
+
subtitle: (max: number) => string;
|
113
|
+
selectAll: string;
|
114
|
+
};
|
115
|
+
lineHeight: {
|
116
|
+
title: string;
|
117
|
+
small: string;
|
118
|
+
medium: string;
|
119
|
+
large: string;
|
120
|
+
};
|
121
|
+
options: {
|
122
|
+
ok: string;
|
123
|
+
cancel: string;
|
124
|
+
};
|
125
|
+
};
|
126
|
+
};
|
127
|
+
transfer: {
|
128
|
+
sourceList: string;
|
129
|
+
targetList: string;
|
130
|
+
removeAll: string;
|
131
|
+
selectAll: string;
|
132
|
+
noData: string;
|
133
|
+
noSelected: string;
|
134
|
+
search: string;
|
135
|
+
};
|
136
|
+
upload: {
|
137
|
+
uploadSuccess: string;
|
138
|
+
uploadFailed: string;
|
139
|
+
drapFileOr: string;
|
140
|
+
clickUpload: string;
|
141
|
+
uploadLabel: string;
|
142
|
+
};
|
143
|
+
input: {
|
144
|
+
placeholder: string;
|
145
|
+
};
|
146
|
+
tagInput: {
|
147
|
+
placeholder: string;
|
148
|
+
};
|
149
|
+
}>;
|
150
|
+
};
|
151
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
152
|
+
$attrs: {
|
153
|
+
[x: string]: unknown;
|
154
|
+
};
|
155
|
+
$refs: {
|
156
|
+
[x: string]: unknown;
|
157
|
+
};
|
158
|
+
$slots: Readonly<{
|
159
|
+
[name: string]: import("vue").Slot;
|
160
|
+
}>;
|
161
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
162
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
163
|
+
$emit: (event: string, ...args: any[]) => void;
|
164
|
+
$el: any;
|
165
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
166
|
+
locale: {
|
167
|
+
type: import("vue").PropType<{
|
168
|
+
lang: string;
|
169
|
+
steps: {
|
170
|
+
step1: string;
|
171
|
+
step2: string;
|
172
|
+
step3: string;
|
173
|
+
};
|
174
|
+
datePicker: {
|
175
|
+
selectDate: string;
|
176
|
+
selectTime: string;
|
177
|
+
clear: string;
|
178
|
+
ok: string;
|
179
|
+
weekdays: {
|
180
|
+
sun: string;
|
181
|
+
mon: string;
|
182
|
+
tue: string;
|
183
|
+
wed: string;
|
184
|
+
thu: string;
|
185
|
+
fri: string;
|
186
|
+
sat: string;
|
187
|
+
};
|
188
|
+
hour: string;
|
189
|
+
min: string;
|
190
|
+
sec: string;
|
191
|
+
toNow: string;
|
192
|
+
};
|
193
|
+
dialog: {
|
194
|
+
ok: string;
|
195
|
+
cancel: string;
|
196
|
+
prev: string;
|
197
|
+
next: string;
|
198
|
+
};
|
199
|
+
popConfirm: {
|
200
|
+
ok: string;
|
201
|
+
cancel: string;
|
202
|
+
};
|
203
|
+
form: {
|
204
|
+
notBeEmpty: string;
|
205
|
+
incorrectFormat: string;
|
206
|
+
max: string;
|
207
|
+
min: string;
|
208
|
+
maxLen: string;
|
209
|
+
verifyError: string;
|
210
|
+
};
|
211
|
+
pagination: {
|
212
|
+
eachPage: string;
|
213
|
+
strip: string;
|
214
|
+
total: string;
|
215
|
+
};
|
216
|
+
process: {
|
217
|
+
step1: string;
|
218
|
+
step2: string;
|
219
|
+
step3: string;
|
220
|
+
step4: string;
|
221
|
+
};
|
222
|
+
searchSelect: {
|
223
|
+
pleaseSelect: string;
|
224
|
+
loading: string;
|
225
|
+
filterQueryMustHasValue: string;
|
226
|
+
ok: string;
|
227
|
+
cancel: string;
|
228
|
+
or: string;
|
229
|
+
and: string;
|
230
|
+
};
|
231
|
+
select: {
|
232
|
+
noData: string;
|
233
|
+
noMatchedData: string;
|
234
|
+
loading: string;
|
235
|
+
pleaseSelect: string;
|
236
|
+
enterKeywords: string;
|
237
|
+
all: string;
|
238
|
+
};
|
239
|
+
table: {
|
240
|
+
emptyText: string;
|
241
|
+
confirm: string;
|
242
|
+
reset: string;
|
243
|
+
setting: {
|
244
|
+
title: string;
|
245
|
+
fields: {
|
246
|
+
title: string;
|
247
|
+
subtitle: (max: number) => string;
|
248
|
+
selectAll: string;
|
249
|
+
};
|
250
|
+
lineHeight: {
|
251
|
+
title: string;
|
252
|
+
small: string;
|
253
|
+
medium: string;
|
254
|
+
large: string;
|
255
|
+
};
|
256
|
+
options: {
|
257
|
+
ok: string;
|
258
|
+
cancel: string;
|
259
|
+
};
|
260
|
+
};
|
261
|
+
};
|
262
|
+
transfer: {
|
263
|
+
sourceList: string;
|
264
|
+
targetList: string;
|
265
|
+
removeAll: string;
|
266
|
+
selectAll: string;
|
267
|
+
noData: string;
|
268
|
+
noSelected: string;
|
269
|
+
search: string;
|
270
|
+
};
|
271
|
+
upload: {
|
272
|
+
uploadSuccess: string;
|
273
|
+
uploadFailed: string;
|
274
|
+
drapFileOr: string;
|
275
|
+
clickUpload: string;
|
276
|
+
uploadLabel: string;
|
277
|
+
};
|
278
|
+
input: {
|
279
|
+
placeholder: string;
|
280
|
+
};
|
281
|
+
tagInput: {
|
282
|
+
placeholder: string;
|
283
|
+
};
|
284
|
+
}>;
|
285
|
+
};
|
286
|
+
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
287
|
+
[key: string]: any;
|
288
|
+
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
|
289
|
+
beforeCreate?: (() => void) | (() => void)[];
|
290
|
+
created?: (() => void) | (() => void)[];
|
291
|
+
beforeMount?: (() => void) | (() => void)[];
|
292
|
+
mounted?: (() => void) | (() => void)[];
|
293
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
294
|
+
updated?: (() => void) | (() => void)[];
|
295
|
+
activated?: (() => void) | (() => void)[];
|
296
|
+
deactivated?: (() => void) | (() => void)[];
|
297
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
298
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
299
|
+
destroyed?: (() => void) | (() => void)[];
|
300
|
+
unmounted?: (() => void) | (() => void)[];
|
301
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
302
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
303
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
304
|
+
};
|
305
|
+
$forceUpdate: () => void;
|
306
|
+
$nextTick: typeof import("vue").nextTick;
|
307
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
308
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
309
|
+
locale: {
|
310
|
+
type: import("vue").PropType<{
|
311
|
+
lang: string;
|
312
|
+
steps: {
|
313
|
+
step1: string;
|
314
|
+
step2: string;
|
315
|
+
step3: string;
|
316
|
+
};
|
317
|
+
datePicker: {
|
318
|
+
selectDate: string;
|
319
|
+
selectTime: string;
|
320
|
+
clear: string;
|
321
|
+
ok: string;
|
322
|
+
weekdays: {
|
323
|
+
sun: string;
|
324
|
+
mon: string;
|
325
|
+
tue: string;
|
326
|
+
wed: string;
|
327
|
+
thu: string;
|
328
|
+
fri: string;
|
329
|
+
sat: string;
|
330
|
+
};
|
331
|
+
hour: string;
|
332
|
+
min: string;
|
333
|
+
sec: string;
|
334
|
+
toNow: string;
|
335
|
+
};
|
336
|
+
dialog: {
|
337
|
+
ok: string;
|
338
|
+
cancel: string;
|
339
|
+
prev: string;
|
340
|
+
next: string;
|
341
|
+
};
|
342
|
+
popConfirm: {
|
343
|
+
ok: string;
|
344
|
+
cancel: string;
|
345
|
+
};
|
346
|
+
form: {
|
347
|
+
notBeEmpty: string;
|
348
|
+
incorrectFormat: string;
|
349
|
+
max: string;
|
350
|
+
min: string;
|
351
|
+
maxLen: string;
|
352
|
+
verifyError: string;
|
353
|
+
};
|
354
|
+
pagination: {
|
355
|
+
eachPage: string;
|
356
|
+
strip: string;
|
357
|
+
total: string;
|
358
|
+
};
|
359
|
+
process: {
|
360
|
+
step1: string;
|
361
|
+
step2: string;
|
362
|
+
step3: string;
|
363
|
+
step4: string;
|
364
|
+
};
|
365
|
+
searchSelect: {
|
366
|
+
pleaseSelect: string;
|
367
|
+
loading: string;
|
368
|
+
filterQueryMustHasValue: string;
|
369
|
+
ok: string;
|
370
|
+
cancel: string;
|
371
|
+
or: string;
|
372
|
+
and: string;
|
373
|
+
};
|
374
|
+
select: {
|
375
|
+
noData: string;
|
376
|
+
noMatchedData: string;
|
377
|
+
loading: string;
|
378
|
+
pleaseSelect: string;
|
379
|
+
enterKeywords: string;
|
380
|
+
all: string;
|
381
|
+
};
|
382
|
+
table: {
|
383
|
+
emptyText: string;
|
384
|
+
confirm: string;
|
385
|
+
reset: string;
|
386
|
+
setting: {
|
387
|
+
title: string;
|
388
|
+
fields: {
|
389
|
+
title: string;
|
390
|
+
subtitle: (max: number) => string;
|
391
|
+
selectAll: string;
|
392
|
+
};
|
393
|
+
lineHeight: {
|
394
|
+
title: string;
|
395
|
+
small: string;
|
396
|
+
medium: string;
|
397
|
+
large: string;
|
398
|
+
};
|
399
|
+
options: {
|
400
|
+
ok: string;
|
401
|
+
cancel: string;
|
402
|
+
};
|
403
|
+
};
|
404
|
+
};
|
405
|
+
transfer: {
|
406
|
+
sourceList: string;
|
407
|
+
targetList: string;
|
408
|
+
removeAll: string;
|
409
|
+
selectAll: string;
|
410
|
+
noData: string;
|
411
|
+
noSelected: string;
|
412
|
+
search: string;
|
413
|
+
};
|
414
|
+
upload: {
|
415
|
+
uploadSuccess: string;
|
416
|
+
uploadFailed: string;
|
417
|
+
drapFileOr: string;
|
418
|
+
clickUpload: string;
|
419
|
+
uploadLabel: string;
|
420
|
+
};
|
421
|
+
input: {
|
422
|
+
placeholder: string;
|
423
|
+
};
|
424
|
+
tagInput: {
|
425
|
+
placeholder: string;
|
426
|
+
};
|
427
|
+
}>;
|
428
|
+
};
|
429
|
+
}>> & import("vue").ShallowUnwrapRef<() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
430
|
+
[key: string]: any;
|
431
|
+
}>[]> & {} & {} & import("vue").ComponentCustomProperties;
|
432
|
+
__isFragment?: never;
|
433
|
+
__isTeleport?: never;
|
434
|
+
__isSuspense?: never;
|
435
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
436
|
+
locale: {
|
437
|
+
type: import("vue").PropType<{
|
438
|
+
lang: string;
|
439
|
+
steps: {
|
440
|
+
step1: string;
|
441
|
+
step2: string;
|
442
|
+
step3: string;
|
443
|
+
};
|
444
|
+
datePicker: {
|
445
|
+
selectDate: string;
|
446
|
+
selectTime: string;
|
447
|
+
clear: string;
|
448
|
+
ok: string;
|
449
|
+
weekdays: {
|
450
|
+
sun: string;
|
451
|
+
mon: string;
|
452
|
+
tue: string;
|
453
|
+
wed: string;
|
454
|
+
thu: string;
|
455
|
+
fri: string;
|
456
|
+
sat: string;
|
457
|
+
};
|
458
|
+
hour: string;
|
459
|
+
min: string;
|
460
|
+
sec: string;
|
461
|
+
toNow: string;
|
462
|
+
};
|
463
|
+
dialog: {
|
464
|
+
ok: string;
|
465
|
+
cancel: string;
|
466
|
+
prev: string;
|
467
|
+
next: string;
|
468
|
+
};
|
469
|
+
popConfirm: {
|
470
|
+
ok: string;
|
471
|
+
cancel: string;
|
472
|
+
};
|
473
|
+
form: {
|
474
|
+
notBeEmpty: string;
|
475
|
+
incorrectFormat: string;
|
476
|
+
max: string;
|
477
|
+
min: string;
|
478
|
+
maxLen: string;
|
479
|
+
verifyError: string;
|
480
|
+
};
|
481
|
+
pagination: {
|
482
|
+
eachPage: string;
|
483
|
+
strip: string;
|
484
|
+
total: string;
|
485
|
+
};
|
486
|
+
process: {
|
487
|
+
step1: string;
|
488
|
+
step2: string;
|
489
|
+
step3: string;
|
490
|
+
step4: string;
|
491
|
+
};
|
492
|
+
searchSelect: {
|
493
|
+
pleaseSelect: string;
|
494
|
+
loading: string;
|
495
|
+
filterQueryMustHasValue: string;
|
496
|
+
ok: string;
|
497
|
+
cancel: string;
|
498
|
+
or: string;
|
499
|
+
and: string;
|
500
|
+
};
|
501
|
+
select: {
|
502
|
+
noData: string;
|
503
|
+
noMatchedData: string;
|
504
|
+
loading: string;
|
505
|
+
pleaseSelect: string;
|
506
|
+
enterKeywords: string;
|
507
|
+
all: string;
|
508
|
+
};
|
509
|
+
table: {
|
510
|
+
emptyText: string;
|
511
|
+
confirm: string;
|
512
|
+
reset: string;
|
513
|
+
setting: {
|
514
|
+
title: string;
|
515
|
+
fields: {
|
516
|
+
title: string;
|
517
|
+
subtitle: (max: number) => string;
|
518
|
+
selectAll: string;
|
519
|
+
};
|
520
|
+
lineHeight: {
|
521
|
+
title: string;
|
522
|
+
small: string;
|
523
|
+
medium: string;
|
524
|
+
large: string;
|
525
|
+
};
|
526
|
+
options: {
|
527
|
+
ok: string;
|
528
|
+
cancel: string;
|
529
|
+
};
|
530
|
+
};
|
531
|
+
};
|
532
|
+
transfer: {
|
533
|
+
sourceList: string;
|
534
|
+
targetList: string;
|
535
|
+
removeAll: string;
|
536
|
+
selectAll: string;
|
537
|
+
noData: string;
|
538
|
+
noSelected: string;
|
539
|
+
search: string;
|
540
|
+
};
|
541
|
+
upload: {
|
542
|
+
uploadSuccess: string;
|
543
|
+
uploadFailed: string;
|
544
|
+
drapFileOr: string;
|
545
|
+
clickUpload: string;
|
546
|
+
uploadLabel: string;
|
547
|
+
};
|
548
|
+
input: {
|
549
|
+
placeholder: string;
|
550
|
+
};
|
551
|
+
tagInput: {
|
552
|
+
placeholder: string;
|
553
|
+
};
|
554
|
+
}>;
|
555
|
+
};
|
556
|
+
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
557
|
+
[key: string]: any;
|
558
|
+
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
559
|
+
export default BkConfigProvider;
|
560
|
+
export { useLocale, rootProviderKey, provideGlobalConfig, defaultRootConfig, } from './config-provider';
|
561
|
+
export type { LocalReceiverCtx, LocaleInterface, } from './config-provider';
|
562
|
+
export * from './type';
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("lodash"),require("vue"),require("../locale"));else if("function"==typeof define&&define.amd)define(["../shared","lodash","vue","../locale"],r);else{var o="object"==typeof exports?r(require("../shared"),require("lodash"),require("vue"),require("../locale")):r(e["../shared"],e.lodash,e.vue,e["../locale"]);for(var t in o)("object"==typeof exports?exports:e)[t]=o[t]}}(self,((e,r,o,t)=>(()=>{"use strict";var n={5684:e=>{e.exports=t},4212:r=>{r.exports=e},467:e=>{e.exports=r},748:e=>{e.exports=o}},i={};function a(e){var r=i[e];if(void 0!==r)return r.exports;var o=i[e]={exports:{}};return n[e](o,o.exports,a),o.exports}a.d=(e,r)=>{for(var o in r)a.o(r,o)&&!a.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{a.r(l),a.d(l,{configProviderProps:()=>n,default:()=>p,defaultRootConfig:()=>u,provideGlobalConfig:()=>f,rootProviderKey:()=>c,useLocale:()=>s});var e=a(4212),r=a(467),o=a(748),t=a(5684),n={locale:{type:Object}};const i=n;var u=(0,o.reactive)({locale:t.zhCn}),c=Symbol("rootProviderData");function s(e){var r=(0,o.inject)(c,u);return(0,o.computed)((function(){var o=r.locale;return o&&e?o[e]:{}}))}var f=function(e){var t=(0,o.reactive)(Object.assign({},(0,r.merge)(u,e)));Object.keys(e).forEach((function(r){(0,o.watch)((function(){return e[r]}),(function(){t[r]=e[r]}))})),(0,o.provide)(c,t)};const d=(0,o.defineComponent)({name:"ConfigProvider",inheritAttrs:!1,props:i,setup:function(e,r){var o=r.slots;return f(e),function(){var e;return null===(e=o.default)||void 0===e?void 0:e.call(o)}}}),p=(0,e.withInstall)(d)})(),l})()));
|
@@ -0,0 +1,125 @@
|
|
1
|
+
import type { ExtractPropTypes, PropType } from 'vue';
|
2
|
+
export declare const configProviderProps: {
|
3
|
+
locale: {
|
4
|
+
type: PropType<{
|
5
|
+
lang: string;
|
6
|
+
steps: {
|
7
|
+
step1: string;
|
8
|
+
step2: string;
|
9
|
+
step3: string;
|
10
|
+
};
|
11
|
+
datePicker: {
|
12
|
+
selectDate: string;
|
13
|
+
selectTime: string;
|
14
|
+
clear: string;
|
15
|
+
ok: string;
|
16
|
+
weekdays: {
|
17
|
+
sun: string;
|
18
|
+
mon: string;
|
19
|
+
tue: string;
|
20
|
+
wed: string;
|
21
|
+
thu: string;
|
22
|
+
fri: string;
|
23
|
+
sat: string;
|
24
|
+
};
|
25
|
+
hour: string;
|
26
|
+
min: string;
|
27
|
+
sec: string;
|
28
|
+
toNow: string;
|
29
|
+
};
|
30
|
+
dialog: {
|
31
|
+
ok: string;
|
32
|
+
cancel: string;
|
33
|
+
prev: string;
|
34
|
+
next: string;
|
35
|
+
};
|
36
|
+
popConfirm: {
|
37
|
+
ok: string;
|
38
|
+
cancel: string;
|
39
|
+
};
|
40
|
+
form: {
|
41
|
+
notBeEmpty: string;
|
42
|
+
incorrectFormat: string;
|
43
|
+
max: string;
|
44
|
+
min: string;
|
45
|
+
maxLen: string;
|
46
|
+
verifyError: string;
|
47
|
+
};
|
48
|
+
pagination: {
|
49
|
+
eachPage: string;
|
50
|
+
strip: string;
|
51
|
+
total: string;
|
52
|
+
};
|
53
|
+
process: {
|
54
|
+
step1: string;
|
55
|
+
step2: string;
|
56
|
+
step3: string;
|
57
|
+
step4: string;
|
58
|
+
};
|
59
|
+
searchSelect: {
|
60
|
+
pleaseSelect: string;
|
61
|
+
loading: string;
|
62
|
+
filterQueryMustHasValue: string;
|
63
|
+
ok: string;
|
64
|
+
cancel: string;
|
65
|
+
or: string;
|
66
|
+
and: string;
|
67
|
+
};
|
68
|
+
select: {
|
69
|
+
noData: string;
|
70
|
+
noMatchedData: string;
|
71
|
+
loading: string;
|
72
|
+
pleaseSelect: string;
|
73
|
+
enterKeywords: string;
|
74
|
+
all: string;
|
75
|
+
};
|
76
|
+
table: {
|
77
|
+
emptyText: string;
|
78
|
+
confirm: string;
|
79
|
+
reset: string;
|
80
|
+
setting: {
|
81
|
+
title: string;
|
82
|
+
fields: {
|
83
|
+
title: string;
|
84
|
+
subtitle: (max: number) => string;
|
85
|
+
selectAll: string;
|
86
|
+
};
|
87
|
+
lineHeight: {
|
88
|
+
title: string;
|
89
|
+
small: string;
|
90
|
+
medium: string;
|
91
|
+
large: string;
|
92
|
+
};
|
93
|
+
options: {
|
94
|
+
ok: string;
|
95
|
+
cancel: string;
|
96
|
+
};
|
97
|
+
};
|
98
|
+
};
|
99
|
+
transfer: {
|
100
|
+
sourceList: string;
|
101
|
+
targetList: string;
|
102
|
+
removeAll: string;
|
103
|
+
selectAll: string;
|
104
|
+
noData: string;
|
105
|
+
noSelected: string;
|
106
|
+
search: string;
|
107
|
+
};
|
108
|
+
upload: {
|
109
|
+
uploadSuccess: string;
|
110
|
+
uploadFailed: string;
|
111
|
+
drapFileOr: string;
|
112
|
+
clickUpload: string;
|
113
|
+
uploadLabel: string;
|
114
|
+
};
|
115
|
+
input: {
|
116
|
+
placeholder: string;
|
117
|
+
};
|
118
|
+
tagInput: {
|
119
|
+
placeholder: string;
|
120
|
+
};
|
121
|
+
}>;
|
122
|
+
};
|
123
|
+
};
|
124
|
+
export declare type ConfigProviderProps = Partial<ExtractPropTypes<typeof configProviderProps>>;
|
125
|
+
export default configProviderProps;
|