bkui-vue 0.0.2-beta.8 → 0.0.2-table-refactor.1
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/dist/index.cjs.js +70 -62
- package/dist/index.esm.js +16711 -16319
- package/dist/index.umd.js +72 -64
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.d.ts +1 -1
- package/lib/affix/index.d.ts +4 -4
- package/lib/alert/alert.css +7 -0
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/alert.less +16 -6
- package/lib/alert/alert.variable.css +7 -0
- package/lib/alert/index.d.ts +10 -10
- package/lib/animate-number/index.d.ts +1 -1
- package/lib/backtop/index.d.ts +1 -1
- package/lib/badge/badge.d.ts +2 -2
- package/lib/badge/index.d.ts +7 -7
- package/lib/breadcrumb/index.d.ts +2 -2
- package/lib/button/button.css +20 -0
- package/lib/button/button.less +105 -94
- package/lib/button/button.variable.css +20 -0
- package/lib/button/index.d.ts +2 -2
- package/lib/card/card.d.ts +1 -1
- package/lib/card/index.d.ts +4 -4
- package/lib/cascader/cascader.d.ts +1 -0
- package/lib/cascader/index.d.ts +5 -2
- package/lib/cascader/index.js +1 -1
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox-group.d.ts +6 -3
- package/lib/checkbox/checkbox.d.ts +4 -4
- package/lib/checkbox/index.d.ts +22 -19
- package/lib/checkbox/index.js +1 -1
- package/lib/code-diff/index.d.ts +1 -1
- package/lib/collapse/index.d.ts +2 -2
- package/lib/collapse-transition/index.d.ts +128 -2
- package/lib/collapse-transition/index.js +1 -1
- package/lib/color-picker/color-picker.d.ts +16 -0
- package/lib/color-picker/components/recommend-colors.d.ts +16 -0
- package/lib/color-picker/index.d.ts +19 -1
- package/lib/color-picker/index.js +1 -1
- package/lib/components.d.ts +1 -1
- package/lib/config-provider/config-provider.d.ts +3 -0
- package/lib/config-provider/index.d.ts +5 -1
- package/lib/config-provider/index.js +1 -1
- package/lib/config-provider/token.d.ts +1 -0
- package/lib/config-provider/use-global-config.d.ts +2 -0
- package/lib/config-provider/use-prefix.d.ts +2 -0
- package/lib/container/index.d.ts +2 -2
- package/lib/container/index.js +1 -1
- package/lib/date-picker/date-picker.d.ts +3 -1
- package/lib/date-picker/index.d.ts +12 -5
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/panel/date-range.d.ts +2 -1
- package/lib/dialog/index.d.ts +1 -1
- package/lib/directives/index.js +1 -1
- package/lib/directives/tooltips.d.ts +3 -2
- package/lib/divider/index.d.ts +1 -1
- package/lib/dropdown/dropdown.css +1 -0
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/dropdown.variable.css +1 -0
- package/lib/dropdown/index.d.ts +7 -7
- package/lib/exception/index.d.ts +2 -2
- package/lib/fixed-navbar/index.d.ts +1 -1
- package/lib/form/index.d.ts +3 -3
- package/lib/form/index.js +1 -1
- package/lib/hooks.d.ts +1 -1
- package/lib/hooks.js +1 -1
- package/lib/icon/assistant.d.ts +4 -0
- package/lib/icon/assistant.js +1 -0
- package/lib/icon/index.d.ts +1 -0
- package/lib/icon/index.js +1 -1
- package/lib/image/index.d.ts +1 -1
- package/lib/image/index.js +1 -1
- package/lib/info-box/index.js +1 -1
- package/lib/input/index.d.ts +146 -50
- package/lib/input/index.js +2 -1
- package/lib/input/index.js.LICENSE.txt +1 -0
- package/lib/input/input.css +34 -6
- package/lib/input/input.d.ts +100 -11
- package/lib/input/input.less +53 -14
- package/lib/input/input.variable.css +34 -6
- package/lib/input/util.d.ts +6 -0
- package/lib/link/index.d.ts +4 -4
- package/lib/link/link.d.ts +1 -1
- package/lib/loading/index.d.ts +2 -2
- package/lib/locale/index.js +1 -1
- package/lib/locale/lang/en.d.ts +1 -0
- package/lib/menu/index.d.ts +2 -2
- package/lib/message/index.js +1 -1
- package/lib/message/message.css +33 -9
- package/lib/message/message.less +78 -54
- package/lib/message/message.variable.css +33 -9
- package/lib/message/messageConstructor.d.ts +30 -8
- package/lib/modal/index.d.ts +2 -2
- package/lib/modal/index.js +1 -1
- package/lib/navigation/index.d.ts +4 -1
- package/lib/navigation/index.js +1 -1
- package/lib/navigation/navigation.d.ts +1 -0
- package/lib/notify/index.js +1 -1
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/components/overflow-title.d.ts +257 -1
- package/lib/overflow-title/index.d.ts +387 -2
- package/lib/overflow-title/index.js +1 -1
- package/lib/overflow-title/props.d.ts +129 -0
- package/lib/pagination/index.d.ts +2 -2
- package/lib/plugin-popover/index.js +1 -1
- package/lib/pop-confirm/index.d.ts +1 -1
- package/lib/popover/const.d.ts +22 -9
- package/lib/popover/content.d.ts +33 -0
- package/lib/popover/index.d.ts +154 -61
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +1 -0
- package/lib/popover/popover.d.ts +64 -23
- package/lib/popover/popover.less +3 -2
- package/lib/popover/popover.variable.css +1 -0
- package/lib/popover/props.d.ts +29 -4
- package/lib/popover/use-floating.d.ts +2 -2
- package/lib/popover/use-popover-init.d.ts +2 -1
- package/lib/popover2/index.d.ts +1 -1
- package/lib/preset.d.ts +2 -0
- package/lib/process/index.d.ts +1 -1
- package/lib/progress/index.d.ts +1 -1
- package/lib/radio/index.d.ts +23 -23
- package/lib/radio/radio-button.d.ts +4 -4
- package/lib/radio/radio-group.d.ts +4 -4
- package/lib/radio/radio.d.ts +4 -4
- package/lib/rate/index.d.ts +8 -4
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +2 -1
- package/lib/resize-layout/index.d.ts +4 -4
- package/lib/resize-layout/index.js +1 -1
- package/lib/resize-layout/resize-layout.css +12 -0
- package/lib/resize-layout/resize-layout.d.ts +1 -1
- package/lib/resize-layout/resize-layout.less +12 -0
- package/lib/resize-layout/resize-layout.variable.css +12 -0
- package/lib/search-select/index.d.ts +62 -29
- package/lib/search-select/index.js +1 -1
- package/lib/search-select/input.d.ts +5 -1
- package/lib/search-select/menu.d.ts +33 -2
- package/lib/search-select/search-select.css +31 -11
- package/lib/search-select/search-select.d.ts +23 -20
- package/lib/search-select/search-select.less +29 -10
- package/lib/search-select/search-select.variable.css +31 -11
- package/lib/search-select/selected.d.ts +5 -1
- package/lib/search-select/utils.d.ts +13 -5
- package/lib/select/index.d.ts +180 -84
- package/lib/select/index.js +1 -1
- package/lib/select/option.d.ts +11 -0
- package/lib/select/select.css +9 -1
- package/lib/select/select.d.ts +75 -37
- package/lib/select/select.less +11 -1
- package/lib/select/select.variable.css +9 -1
- package/lib/select/selectTagInput.d.ts +8 -5
- package/lib/shared/helper.d.ts +1 -1
- package/lib/shared/index.js +1 -1
- package/lib/shared/mask-manager.d.ts +3 -4
- package/lib/shared/pop-manager.d.ts +6 -2
- package/lib/shared/popover.d.ts +2 -2
- package/lib/shared/vue-types.d.ts +3 -2
- package/lib/sideslider/index.d.ts +1 -1
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/index.js +1 -1
- package/lib/steps/index.d.ts +1 -1
- package/lib/steps/index.js +1 -1
- package/lib/styles/mixins/popper.less +6 -5
- package/lib/swiper/index.d.ts +1 -1
- package/lib/swiper/index.js +1 -1
- package/lib/swiper/swiper.css +0 -6
- package/lib/swiper/swiper.less +0 -8
- package/lib/swiper/swiper.variable.css +0 -6
- package/lib/switcher/index.d.ts +30 -16
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.d.ts +74 -5
- package/lib/tab/index.d.ts +3 -3
- package/lib/tab/tab-nav.d.ts +12 -2
- package/lib/tab/tab-panel.d.ts +1 -1
- package/lib/table/components/table-cell.d.ts +22 -15
- package/lib/table/components/table-column.d.ts +154 -219
- package/lib/table/const.d.ts +34 -56
- package/lib/table/events.d.ts +180 -0
- package/lib/table/index.d.ts +746 -440
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.css +3 -0
- package/lib/table/plugins/head-filter.d.ts +3 -7
- package/lib/table/plugins/head-filter.less +3 -0
- package/lib/table/plugins/head-filter.variable.css +3 -0
- package/lib/table/plugins/head-sort.d.ts +3 -7
- package/lib/table/plugins/settings.d.ts +12 -26
- package/lib/table/plugins/use-column-resize.d.ts +30 -10
- package/lib/table/plugins/use-fixed-column.d.ts +7 -5
- package/lib/table/plugins/use-pagination.d.ts +7 -4
- package/lib/table/props.d.ts +219 -181
- package/lib/table/render.d.ts +12 -20
- package/lib/table/table.css +85 -5
- package/lib/table/table.d.ts +227 -104
- package/lib/table/table.less +75 -8
- package/lib/table/table.variable.css +85 -5
- package/lib/table/use-attributes.d.ts +55 -0
- package/lib/table/use-column.d.ts +175 -3
- package/lib/table/use-common.d.ts +1609 -76
- package/lib/table/use-render.d.ts +11 -0
- package/lib/table/utils.d.ts +30 -28
- package/lib/table-column/index.d.ts +237 -527
- package/lib/table-column/index.js +1 -1
- package/lib/tag/index.d.ts +10 -10
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag-input/index.d.ts +49 -13
- package/lib/tag-input/index.js +1 -1
- package/lib/tag-input/tag-input.css +6 -1
- package/lib/tag-input/tag-input.d.ts +46 -10
- package/lib/tag-input/tag-input.less +9 -4
- package/lib/tag-input/tag-input.variable.css +6 -1
- package/lib/tag-input/tag-props.d.ts +16 -4
- package/lib/time-picker/index.d.ts +1 -1
- package/lib/timeline/index.d.ts +1 -1
- package/lib/transfer/index.d.ts +1 -1
- package/lib/tree/constant.d.ts +2 -2
- package/lib/tree/index.d.ts +37 -7
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +8 -1
- package/lib/tree/tree.d.ts +20 -2
- package/lib/tree/use-node-action.d.ts +3 -2
- package/lib/tree/use-node-attribute.d.ts +15 -8
- package/lib/tree/use-tree-init.d.ts +1 -2
- package/lib/tree/util.d.ts +7 -2
- package/lib/upload/index.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +43 -1
- package/lib/virtual-render/index.js +1 -1
- package/lib/virtual-render/props.d.ts +15 -0
- package/lib/virtual-render/v-virtual-render.d.ts +1 -0
- package/lib/virtual-render/virtual-render.d.ts +27 -2
- package/lib/volar.components.d.ts +24 -24
- package/package.json +17 -16
package/lib/container/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("vue"),require("../config-provider"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../config-provider"],r);else{var o="object"==typeof exports?r(require("../shared"),require("vue"),require("../config-provider")):r(e["../shared"],e.vue,e["../config-provider"]);for(var t in o)("object"==typeof exports?exports:e)[t]=o[t]}}(self,((e,r,o)=>(()=>{"use strict";var t={2717:e=>{e.exports=o},4212:r=>{r.exports=e},748:e=>{e.exports=r}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,i),o.exports}i.d=(e,r)=>{for(var o in r)i.o(r,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{i.r(a),i.d(a,{BkCol:()=>u,BkContainer:()=>p,BkRow:()=>c,default:()=>d});var e=i(4212),r=i(748),o=
|
1
|
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("vue"),require("../config-provider"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../config-provider"],r);else{var o="object"==typeof exports?r(require("../shared"),require("vue"),require("../config-provider")):r(e["../shared"],e.vue,e["../config-provider"]);for(var t in o)("object"==typeof exports?exports:e)[t]=o[t]}}(self,((e,r,o)=>(()=>{"use strict";var t={2717:e=>{e.exports=o},4212:r=>{r.exports=e},748:e=>{e.exports=r}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,i),o.exports}i.d=(e,r)=>{for(var o in r)i.o(r,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{i.r(a),i.d(a,{BkCol:()=>u,BkContainer:()=>p,BkRow:()=>c,default:()=>d});var e=i(4212),r=i(748),o=i(2717),t=Symbol("containerProps"),n={span:e.PropTypes.number.def(1),offset:e.PropTypes.number.def(0),pull:e.PropTypes.number.def(0),push:e.PropTypes.number.def(0)};const u=(0,r.defineComponent)({name:"Col",props:n,emits:[],setup:function(e,n){var i=(0,r.inject)(t),a=i.col,u=i.gutter,l=i.flex,s=e.span,c=e.offset,p=e.pull,d=e.push,f=(0,r.computed)((function(){return s||a}));(0,r.provide)("containerProps",{col:f.value,gutter:u,flex:l});var v=function(e){return"".concat(Number((100*e).toFixed(3)),"%")},m=(0,r.computed)((function(){return{width:v(f.value/a),"padding-right":"".concat(u/2,"px"),"padding-left":"".concat(u/2,"px"),"margin-left":c?v(c/a):null,right:p?v(p/a):null,left:d?v(d/a):null}})),g=(0,o.usePrefix)().resolveClassName;return function(){var e,o;return(0,r.createVNode)("div",{class:"".concat(g("grid-col")),style:m.value},[null===(o=(e=n.slots).default)||void 0===o?void 0:o.call(e)])}}});var l={col:e.PropTypes.number.def(24),gutter:e.PropTypes.number.def(20),margin:e.PropTypes.number.def(20),flex:e.PropTypes.bool.def(!1),extCls:e.PropTypes.string};const s=(0,r.defineComponent)({name:"Container",props:l,emits:[],setup:function(e,n){var i=e.col,a=e.gutter,u=e.flex,l=e.extCls;(0,r.provide)(t,{col:i,gutter:a,flex:u});var s=(0,o.usePrefix)().resolveClassName,c=(0,r.computed)((function(){return l?"".concat(s("grid-container")," ").concat(l):"".concat(s("grid-container"))})),p=(0,r.computed)((function(){var r=e.margin;return{"padding-right":"".concat(r,"px"),"padding-left":"".concat(r,"px")}}));return function(){var e,o;return(0,r.createVNode)("div",{class:c.value,style:p.value},[null===(o=(e=n.slots).default)||void 0===o?void 0:o.call(e)])}}}),c=(0,r.defineComponent)({name:"Row",emits:[],setup:function(e,n){var i=(0,r.inject)(t),a=i.col,u=i.gutter,l=i.flex;(0,r.provide)("containerProps",{col:a,gutter:u,flex:l});var s=(0,o.usePrefix)().resolveClassName,c=(0,r.computed)((function(){var e=l?{display:["-webkit-box","-ms-flexbox","flex"]}:{};return Object.assign(Object.assign({},e),{"margin-right":"-".concat(u/2,"px"),"margin-left":"-".concat(u/2,"px")})}));return function(){var e,o;return(0,r.createVNode)("div",{class:"".concat(s("grid-row")),style:c.value},[null===(o=(e=n.slots).default)||void 0===o?void 0:o.call(e)])}}});var p=(0,e.withInstallProps)(s,{Row:c,Col:u});const d=p})(),a})()));
|
@@ -148,6 +148,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
148
148
|
handleClear: () => void;
|
149
149
|
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
150
150
|
onPickSuccess: () => void;
|
151
|
+
onPickFirst: (val: any, type: any) => void;
|
151
152
|
handleToggleTime: () => void;
|
152
153
|
resolveClassName: (cls: string) => string;
|
153
154
|
showClose: import("vue").Ref<boolean>;
|
@@ -169,7 +170,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
169
170
|
timeEnterMode: import("vue").Ref<boolean>;
|
170
171
|
shortcut: import("vue").Ref<any>;
|
171
172
|
onSelectionModeChange: import("vue").Ref<(_type: any) => SelectionModeType>;
|
172
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], "change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
173
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "clear" | "update:modelValue" | "pick-success" | "pick-first" | "open-change" | "shortcut-change")[], "change" | "input" | "clear" | "update:modelValue" | "pick-success" | "pick-first" | "open-change" | "shortcut-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
173
174
|
readonly type: {
|
174
175
|
readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
|
175
176
|
readonly default: "date";
|
@@ -292,6 +293,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
292
293
|
onClear?: (...args: any[]) => any;
|
293
294
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
294
295
|
"onPick-success"?: (...args: any[]) => any;
|
296
|
+
"onPick-first"?: (...args: any[]) => any;
|
295
297
|
"onOpen-change"?: (...args: any[]) => any;
|
296
298
|
"onShortcut-change"?: (...args: any[]) => any;
|
297
299
|
}, {
|
@@ -34,8 +34,8 @@ declare const BkDatePicker: {
|
|
34
34
|
style?: unknown;
|
35
35
|
onChange?: (...args: any[]) => any;
|
36
36
|
onInput?: (...args: any[]) => any;
|
37
|
-
key?: string | number | symbol;
|
38
37
|
ref?: import("vue").VNodeRef;
|
38
|
+
key?: string | number | symbol;
|
39
39
|
ref_for?: boolean;
|
40
40
|
ref_key?: string;
|
41
41
|
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
@@ -84,6 +84,7 @@ declare const BkDatePicker: {
|
|
84
84
|
readonly startDate?: Date;
|
85
85
|
readonly disabledDate?: import("./interface").DisabledDateType;
|
86
86
|
"onPick-success"?: (...args: any[]) => any;
|
87
|
+
"onPick-first"?: (...args: any[]) => any;
|
87
88
|
"onOpen-change"?: (...args: any[]) => any;
|
88
89
|
"onShortcut-change"?: (...args: any[]) => any;
|
89
90
|
};
|
@@ -104,7 +105,7 @@ declare const BkDatePicker: {
|
|
104
105
|
}>;
|
105
106
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
106
107
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
107
|
-
$emit: (event: "change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", ...args: any[]) => void;
|
108
|
+
$emit: (event: "change" | "input" | "clear" | "update:modelValue" | "pick-success" | "pick-first" | "open-change" | "shortcut-change", ...args: any[]) => void;
|
108
109
|
$el: any;
|
109
110
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
110
111
|
readonly type: {
|
@@ -229,6 +230,7 @@ declare const BkDatePicker: {
|
|
229
230
|
onClear?: (...args: any[]) => any;
|
230
231
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
231
232
|
"onPick-success"?: (...args: any[]) => any;
|
233
|
+
"onPick-first"?: (...args: any[]) => any;
|
232
234
|
"onOpen-change"?: (...args: any[]) => any;
|
233
235
|
"onShortcut-change"?: (...args: any[]) => any;
|
234
236
|
}, {
|
@@ -262,6 +264,7 @@ declare const BkDatePicker: {
|
|
262
264
|
handleClear: () => void;
|
263
265
|
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
264
266
|
onPickSuccess: () => void;
|
267
|
+
onPickFirst: (val: any, type: any) => void;
|
265
268
|
handleToggleTime: () => void;
|
266
269
|
resolveClassName: (cls: string) => string;
|
267
270
|
showClose: import("vue").Ref<boolean>;
|
@@ -283,7 +286,7 @@ declare const BkDatePicker: {
|
|
283
286
|
timeEnterMode: import("vue").Ref<boolean>;
|
284
287
|
shortcut: import("vue").Ref<any>;
|
285
288
|
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
286
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], string, {
|
289
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "clear" | "update:modelValue" | "pick-success" | "pick-first" | "open-change" | "shortcut-change")[], string, {
|
287
290
|
readonly type: import("./interface").PickerTypeType;
|
288
291
|
readonly disabled: boolean;
|
289
292
|
readonly placement: import("@popperjs/core").ComputedPlacement;
|
@@ -461,6 +464,7 @@ declare const BkDatePicker: {
|
|
461
464
|
onClear?: (...args: any[]) => any;
|
462
465
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
463
466
|
"onPick-success"?: (...args: any[]) => any;
|
467
|
+
"onPick-first"?: (...args: any[]) => any;
|
464
468
|
"onOpen-change"?: (...args: any[]) => any;
|
465
469
|
"onShortcut-change"?: (...args: any[]) => any;
|
466
470
|
} & import("vue").ShallowUnwrapRef<{
|
@@ -494,6 +498,7 @@ declare const BkDatePicker: {
|
|
494
498
|
handleClear: () => void;
|
495
499
|
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
496
500
|
onPickSuccess: () => void;
|
501
|
+
onPickFirst: (val: any, type: any) => void;
|
497
502
|
handleToggleTime: () => void;
|
498
503
|
resolveClassName: (cls: string) => string;
|
499
504
|
showClose: import("vue").Ref<boolean>;
|
@@ -642,6 +647,7 @@ declare const BkDatePicker: {
|
|
642
647
|
onClear?: (...args: any[]) => any;
|
643
648
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
644
649
|
"onPick-success"?: (...args: any[]) => any;
|
650
|
+
"onPick-first"?: (...args: any[]) => any;
|
645
651
|
"onOpen-change"?: (...args: any[]) => any;
|
646
652
|
"onShortcut-change"?: (...args: any[]) => any;
|
647
653
|
}, {
|
@@ -675,6 +681,7 @@ declare const BkDatePicker: {
|
|
675
681
|
handleClear: () => void;
|
676
682
|
onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
|
677
683
|
onPickSuccess: () => void;
|
684
|
+
onPickFirst: (val: any, type: any) => void;
|
678
685
|
handleToggleTime: () => void;
|
679
686
|
resolveClassName: (cls: string) => string;
|
680
687
|
showClose: import("vue").Ref<boolean>;
|
@@ -696,7 +703,7 @@ declare const BkDatePicker: {
|
|
696
703
|
timeEnterMode: import("vue").Ref<boolean>;
|
697
704
|
shortcut: import("vue").Ref<any>;
|
698
705
|
onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
|
699
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], "change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", {
|
706
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "clear" | "update:modelValue" | "pick-success" | "pick-first" | "open-change" | "shortcut-change")[], "change" | "input" | "clear" | "update:modelValue" | "pick-success" | "pick-first" | "open-change" | "shortcut-change", {
|
700
707
|
readonly type: import("./interface").PickerTypeType;
|
701
708
|
readonly disabled: boolean;
|
702
709
|
readonly placement: import("@popperjs/core").ComputedPlacement;
|
@@ -733,4 +740,4 @@ declare const BkDatePicker: {
|
|
733
740
|
confirm?: {};
|
734
741
|
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
735
742
|
export default BkDatePicker;
|
736
|
-
export { TimePicker
|
743
|
+
export { TimePicker };
|