bkui-vue 0.0.2-beta.135 → 0.0.2-beta.137
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 +39 -39
- package/dist/index.esm.js +2107 -2121
- package/dist/index.umd.js +40 -40
- package/dist/style.variable.css +1 -1
- package/lib/cascader/index.js +0 -5
- package/lib/date-picker/index.js +4 -3
- package/lib/dialog/index.js +0 -4
- package/lib/info-box/index.js +0 -4
- package/lib/overflow-title/components/overflow-title.d.ts +0 -1
- package/lib/overflow-title/index.js +2 -178
- package/lib/pop-confirm/index.js +0 -4
- package/lib/sideslider/index.js +0 -10
- package/lib/styles/index.d.ts +1 -0
- package/lib/tag-input/tag-input.d.ts +14 -2
- package/lib/upload/index.js +2 -2
- package/package.json +1 -1
- /package/lib/overflow-title/{overflow.css → overflow-title.css} +0 -0
- /package/lib/overflow-title/{overflow.less → overflow-title.less} +0 -0
- /package/lib/overflow-title/{overflow.variable.css → overflow-title.variable.css} +0 -0
package/lib/cascader/index.js
CHANGED
@@ -1568,11 +1568,6 @@ var Store = /*#__PURE__*/function () {
|
|
1568
1568
|
directives: {
|
1569
1569
|
bkTooltips: external_directives_namespaceObject.bkTooltips
|
1570
1570
|
},
|
1571
|
-
components: {
|
1572
|
-
CascaderPanel: cascader_panel,
|
1573
|
-
BkPopover: external_popover_namespaceObject["default"],
|
1574
|
-
Tag: external_tag_namespaceObject["default"]
|
1575
|
-
},
|
1576
1571
|
props: {
|
1577
1572
|
modelValue: external_shared_namespaceObject.PropTypes.arrayOf(external_shared_namespaceObject.PropTypes.oneOfType([(0,external_vue_types_namespaceObject.array)(), String, Number])),
|
1578
1573
|
list: external_shared_namespaceObject.PropTypes.array.def([]),
|
package/lib/date-picker/index.js
CHANGED
@@ -4194,7 +4194,8 @@ function date_picker_objectSpread(target) { for (var i = 1; i < arguments.length
|
|
4194
4194
|
if (props.shortcutSelectedIndex !== -1) {
|
4195
4195
|
shortcut = props.shortcuts[props.shortcutSelectedIndex] || null;
|
4196
4196
|
if (shortcut) {
|
4197
|
-
|
4197
|
+
var v = shortcut.value();
|
4198
|
+
initialValue = Array.isArray(v) ? v : [v];
|
4198
4199
|
}
|
4199
4200
|
}
|
4200
4201
|
var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
|
@@ -4642,8 +4643,8 @@ function date_picker_objectSpread(target) { for (var i = 1; i < arguments.length
|
|
4642
4643
|
if (state.internalValue[0]) {
|
4643
4644
|
// state.focusedDate = state.internalValue[0];
|
4644
4645
|
var _state$internalValue = _slicedToArray(state.internalValue, 1),
|
4645
|
-
|
4646
|
-
state.focusedDate =
|
4646
|
+
_v = _state$internalValue[0];
|
4647
|
+
state.focusedDate = _v;
|
4647
4648
|
}
|
4648
4649
|
state.focusedTime = date_picker_objectSpread(date_picker_objectSpread({}, state.focusedTime), {}, {
|
4649
4650
|
time: state.internalValue.map(extractTime)
|
package/lib/dialog/index.js
CHANGED
@@ -627,10 +627,6 @@ function _isSlot(s) {
|
|
627
627
|
/* harmony default export */ const dialog = ((0,external_vue_namespaceObject.defineComponent)({
|
628
628
|
// eslint-disable-next-line vue/no-reserved-component-names
|
629
629
|
name: 'Dialog',
|
630
|
-
components: {
|
631
|
-
BkModal: external_modal_namespaceObject["default"],
|
632
|
-
BkButton: external_button_namespaceObject["default"]
|
633
|
-
},
|
634
630
|
props: src_props,
|
635
631
|
emits: ['closed', 'update:isShow', 'confirm', 'prev', 'next', 'value-change'],
|
636
632
|
setup: function setup(props, _ref) {
|
package/lib/info-box/index.js
CHANGED
@@ -627,10 +627,6 @@ function _isSlot(s) {
|
|
627
627
|
/* harmony default export */ const src_dialog = ((0,external_vue_namespaceObject.defineComponent)({
|
628
628
|
// eslint-disable-next-line vue/no-reserved-component-names
|
629
629
|
name: 'Dialog',
|
630
|
-
components: {
|
631
|
-
BkModal: external_modal_namespaceObject["default"],
|
632
|
-
BkButton: external_button_namespaceObject["default"]
|
633
|
-
},
|
634
630
|
props: src_props,
|
635
631
|
emits: ['closed', 'update:isShow', 'confirm', 'prev', 'next', 'value-change'],
|
636
632
|
setup: function setup(props, _ref) {
|
@@ -2,179 +2,10 @@ import * as __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__ from "../shared";
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE__popover_cf5f8dce__ from "../popover";
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
|
5
|
-
/******/
|
6
|
-
|
7
|
-
/***/ 35:
|
8
|
-
/***/ ((module, __unused_webpack___webpack_exports__, __webpack_require__) => {
|
9
|
-
|
10
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9601);
|
11
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
12
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2609);
|
13
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
14
|
-
// Imports
|
15
|
-
|
16
|
-
|
17
|
-
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
18
|
-
// Module
|
19
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.text-ov {
|
20
|
-
overflow: hidden;
|
21
|
-
text-overflow: ellipsis;
|
22
|
-
white-space: nowrap;
|
23
|
-
}
|
24
|
-
.position-relative {
|
25
|
-
position: relative;
|
26
|
-
}
|
27
|
-
.position-absolute {
|
28
|
-
position: absolute;
|
29
|
-
}
|
30
|
-
`, ""]);
|
31
|
-
// Exports
|
32
|
-
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (___CSS_LOADER_EXPORT___)));
|
33
|
-
|
34
|
-
|
35
|
-
/***/ }),
|
36
|
-
|
37
|
-
/***/ 2609:
|
38
|
-
/***/ ((module) => {
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
/*
|
43
|
-
MIT License http://www.opensource.org/licenses/mit-license.php
|
44
|
-
Author Tobias Koppers @sokra
|
45
|
-
*/
|
46
|
-
module.exports = function (cssWithMappingToString) {
|
47
|
-
var list = [];
|
48
|
-
|
49
|
-
// return the list of modules as css string
|
50
|
-
list.toString = function toString() {
|
51
|
-
return this.map(function (item) {
|
52
|
-
var content = "";
|
53
|
-
var needLayer = typeof item[5] !== "undefined";
|
54
|
-
if (item[4]) {
|
55
|
-
content += "@supports (".concat(item[4], ") {");
|
56
|
-
}
|
57
|
-
if (item[2]) {
|
58
|
-
content += "@media ".concat(item[2], " {");
|
59
|
-
}
|
60
|
-
if (needLayer) {
|
61
|
-
content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
|
62
|
-
}
|
63
|
-
content += cssWithMappingToString(item);
|
64
|
-
if (needLayer) {
|
65
|
-
content += "}";
|
66
|
-
}
|
67
|
-
if (item[2]) {
|
68
|
-
content += "}";
|
69
|
-
}
|
70
|
-
if (item[4]) {
|
71
|
-
content += "}";
|
72
|
-
}
|
73
|
-
return content;
|
74
|
-
}).join("");
|
75
|
-
};
|
76
|
-
|
77
|
-
// import a list of modules into the list
|
78
|
-
list.i = function i(modules, media, dedupe, supports, layer) {
|
79
|
-
if (typeof modules === "string") {
|
80
|
-
modules = [[null, modules, undefined]];
|
81
|
-
}
|
82
|
-
var alreadyImportedModules = {};
|
83
|
-
if (dedupe) {
|
84
|
-
for (var k = 0; k < this.length; k++) {
|
85
|
-
var id = this[k][0];
|
86
|
-
if (id != null) {
|
87
|
-
alreadyImportedModules[id] = true;
|
88
|
-
}
|
89
|
-
}
|
90
|
-
}
|
91
|
-
for (var _k = 0; _k < modules.length; _k++) {
|
92
|
-
var item = [].concat(modules[_k]);
|
93
|
-
if (dedupe && alreadyImportedModules[item[0]]) {
|
94
|
-
continue;
|
95
|
-
}
|
96
|
-
if (typeof layer !== "undefined") {
|
97
|
-
if (typeof item[5] === "undefined") {
|
98
|
-
item[5] = layer;
|
99
|
-
} else {
|
100
|
-
item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
|
101
|
-
item[5] = layer;
|
102
|
-
}
|
103
|
-
}
|
104
|
-
if (media) {
|
105
|
-
if (!item[2]) {
|
106
|
-
item[2] = media;
|
107
|
-
} else {
|
108
|
-
item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
|
109
|
-
item[2] = media;
|
110
|
-
}
|
111
|
-
}
|
112
|
-
if (supports) {
|
113
|
-
if (!item[4]) {
|
114
|
-
item[4] = "".concat(supports);
|
115
|
-
} else {
|
116
|
-
item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
|
117
|
-
item[4] = supports;
|
118
|
-
}
|
119
|
-
}
|
120
|
-
list.push(item);
|
121
|
-
}
|
122
|
-
};
|
123
|
-
return list;
|
124
|
-
};
|
125
|
-
|
126
|
-
/***/ }),
|
127
|
-
|
128
|
-
/***/ 9601:
|
129
|
-
/***/ ((module) => {
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
module.exports = function (i) {
|
134
|
-
return i[1];
|
135
|
-
};
|
136
|
-
|
137
|
-
/***/ })
|
138
|
-
|
139
|
-
/******/ });
|
140
|
-
/************************************************************************/
|
141
|
-
/******/ // The module cache
|
142
|
-
/******/ var __webpack_module_cache__ = {};
|
143
|
-
/******/
|
144
|
-
/******/ // The require function
|
145
|
-
/******/ function __webpack_require__(moduleId) {
|
146
|
-
/******/ // Check if module is in cache
|
147
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
148
|
-
/******/ if (cachedModule !== undefined) {
|
149
|
-
/******/ return cachedModule.exports;
|
150
|
-
/******/ }
|
151
|
-
/******/ // Create a new module (and put it into the cache)
|
152
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
153
|
-
/******/ id: moduleId,
|
154
|
-
/******/ // no module.loaded needed
|
155
|
-
/******/ exports: {}
|
156
|
-
/******/ };
|
157
|
-
/******/
|
158
|
-
/******/ // Execute the module function
|
159
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
160
|
-
/******/
|
161
|
-
/******/ // Return the exports of the module
|
162
|
-
/******/ return module.exports;
|
163
|
-
/******/ }
|
5
|
+
/******/ // The require scope
|
6
|
+
/******/ var __webpack_require__ = {};
|
164
7
|
/******/
|
165
8
|
/************************************************************************/
|
166
|
-
/******/ /* webpack/runtime/compat get default export */
|
167
|
-
/******/ (() => {
|
168
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
169
|
-
/******/ __webpack_require__.n = (module) => {
|
170
|
-
/******/ var getter = module && module.__esModule ?
|
171
|
-
/******/ () => (module['default']) :
|
172
|
-
/******/ () => (module);
|
173
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
174
|
-
/******/ return getter;
|
175
|
-
/******/ };
|
176
|
-
/******/ })();
|
177
|
-
/******/
|
178
9
|
/******/ /* webpack/runtime/define property getters */
|
179
10
|
/******/ (() => {
|
180
11
|
/******/ // define getter functions for harmony exports
|
@@ -194,8 +25,6 @@ module.exports = function (i) {
|
|
194
25
|
/******/
|
195
26
|
/************************************************************************/
|
196
27
|
var __webpack_exports__ = {};
|
197
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
198
|
-
(() => {
|
199
28
|
|
200
29
|
// EXPORTS
|
201
30
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -287,8 +116,6 @@ function getActualWidthByDom(text, options) {
|
|
287
116
|
return clientWidth;
|
288
117
|
}
|
289
118
|
/* harmony default export */ const utils_getActualWidthByDom = (getActualWidthByDom);
|
290
|
-
// EXTERNAL MODULE: ../../packages/overflow-title/src/overflow.less
|
291
|
-
var overflow = __webpack_require__(35);
|
292
119
|
;// CONCATENATED MODULE: ../../packages/overflow-title/src/components/overflow-title.tsx
|
293
120
|
|
294
121
|
|
@@ -297,7 +124,6 @@ var overflow = __webpack_require__(35);
|
|
297
124
|
|
298
125
|
|
299
126
|
|
300
|
-
|
301
127
|
/* harmony default export */ const overflow_title = ((0,external_vue_namespaceObject.defineComponent)({
|
302
128
|
name: 'OverflowTitle',
|
303
129
|
props: props,
|
@@ -451,8 +277,6 @@ var overflowTitle = {
|
|
451
277
|
var BkOverflowTitle = (0,external_shared_namespaceObject.withInstall)(overflow_title);
|
452
278
|
|
453
279
|
/* harmony default export */ const src = (BkOverflowTitle);
|
454
|
-
})();
|
455
|
-
|
456
280
|
var __webpack_exports__OverflowTitle = __webpack_exports__.p1;
|
457
281
|
var __webpack_exports__default = __webpack_exports__.ZP;
|
458
282
|
var __webpack_exports__getActualWidthByCanvas = __webpack_exports__.si;
|
package/lib/pop-confirm/index.js
CHANGED
@@ -163,10 +163,6 @@ var PopConfirmProps = {
|
|
163
163
|
|
164
164
|
/* harmony default export */ const pop_confirm = ((0,external_vue_namespaceObject.defineComponent)({
|
165
165
|
name: 'PopConfirm',
|
166
|
-
components: {
|
167
|
-
BkPopover: external_popover_namespaceObject["default"],
|
168
|
-
BkButton: external_button_namespaceObject["default"]
|
169
|
-
},
|
170
166
|
props: props,
|
171
167
|
emits: ['confirm', 'cancel'],
|
172
168
|
setup: function setup(props, _ref) {
|
package/lib/sideslider/index.js
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__ from "../shared";
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE__button_59c00871__ from "../button";
|
4
3
|
import * as __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__ from "../config-provider";
|
5
4
|
import * as __WEBPACK_EXTERNAL_MODULE__modal_4c8fdca5__ from "../modal";
|
6
5
|
/******/ var __webpack_modules__ = ({
|
@@ -506,10 +505,6 @@ const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBP
|
|
506
505
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
|
507
506
|
var regenerator = __webpack_require__(2841);
|
508
507
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
509
|
-
;// CONCATENATED MODULE: external "../button"
|
510
|
-
var external_button_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
511
|
-
var external_button_y = x => () => x
|
512
|
-
const external_button_namespaceObject = external_button_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE__button_59c00871__["default"] });
|
513
508
|
;// CONCATENATED MODULE: external "../config-provider"
|
514
509
|
var external_config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
515
510
|
var external_config_provider_y = x => () => x
|
@@ -553,7 +548,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
553
548
|
|
554
549
|
|
555
550
|
|
556
|
-
|
557
551
|
function _isSlot(s) {
|
558
552
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
|
559
553
|
}
|
@@ -563,10 +557,6 @@ sliderPops.width["default"] = '400';
|
|
563
557
|
sliderPops.height["default"] = '100%';
|
564
558
|
/* harmony default export */ const sideslider = ((0,external_vue_namespaceObject.defineComponent)({
|
565
559
|
name: 'Sideslider',
|
566
|
-
components: {
|
567
|
-
BkModal: external_modal_namespaceObject["default"],
|
568
|
-
BkButton: external_button_namespaceObject["default"]
|
569
|
-
},
|
570
560
|
props: _objectSpread(_objectSpread({}, sliderPops), {}, {
|
571
561
|
direction: {
|
572
562
|
type: String,
|
package/lib/styles/index.d.ts
CHANGED
@@ -274,7 +274,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
274
274
|
default: boolean;
|
275
275
|
};
|
276
276
|
tagOverflowTips: {
|
277
|
-
type: import("vue").PropType<Partial<import("../directives/src/tooltips").IOptions>>;
|
277
|
+
type: import("vue").PropType<Partial<import("../directives/src/tooltips").IOptions>>; /**
|
278
|
+
* 不显示条件:
|
279
|
+
* 1. 设置不可清除
|
280
|
+
* 2. 禁用时
|
281
|
+
* 3. tag标签为空时
|
282
|
+
* 4. 设置了showClearOnlyHover,且没有hover的时候
|
283
|
+
*/
|
278
284
|
default: () => {};
|
279
285
|
};
|
280
286
|
}, {
|
@@ -607,7 +613,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
607
613
|
default: boolean;
|
608
614
|
};
|
609
615
|
tagOverflowTips: {
|
610
|
-
type: import("vue").PropType<Partial<import("../directives/src/tooltips").IOptions>>;
|
616
|
+
type: import("vue").PropType<Partial<import("../directives/src/tooltips").IOptions>>; /**
|
617
|
+
* 不显示条件:
|
618
|
+
* 1. 设置不可清除
|
619
|
+
* 2. 禁用时
|
620
|
+
* 3. tag标签为空时
|
621
|
+
* 4. 设置了showClearOnlyHover,且没有hover的时候
|
622
|
+
*/
|
611
623
|
default: () => {};
|
612
624
|
};
|
613
625
|
}>> & {
|
package/lib/upload/index.js
CHANGED
@@ -1940,7 +1940,7 @@ const external_button_namespaceObject = external_button_x({ ["default"]: () => _
|
|
1940
1940
|
}
|
1941
1941
|
}, null)])])];
|
1942
1942
|
};
|
1943
|
-
var
|
1943
|
+
var xButton = function xButton() {
|
1944
1944
|
return (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
|
1945
1945
|
"disabled": disabled.value
|
1946
1946
|
}, {
|
@@ -1954,7 +1954,7 @@ const external_button_namespaceObject = external_button_x({ ["default"]: () => _
|
|
1954
1954
|
});
|
1955
1955
|
};
|
1956
1956
|
var Trigger = function Trigger() {
|
1957
|
-
if (isButton.value) return
|
1957
|
+
if (isButton.value) return xButton();
|
1958
1958
|
if (isDrag.value) return Dragger();
|
1959
1959
|
if (isPicture.value) return Picture();
|
1960
1960
|
};
|
package/package.json
CHANGED
File without changes
|
File without changes
|
File without changes
|