bkui-vue 1.0.3-beta.60 → 1.0.3-beta.60.scrollbar.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +52 -50
- package/dist/index.esm.js +14678 -13989
- package/dist/index.umd.js +52 -50
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.js +1 -1
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/index.js +7 -8
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/index.js +1 -1
- package/lib/card/index.js +1 -1
- package/lib/cascader/index.js +38 -42
- package/lib/checkbox/index.js +6 -7
- package/lib/collapse/index.js +11 -12
- package/lib/collapse-transition/index.js +3 -4
- package/lib/color-picker/index.js +10 -13
- package/lib/components.d.ts +0 -1
- package/lib/components.js +1 -2
- package/lib/config-provider/index.js +1 -1
- package/lib/container/index.js +10 -12
- package/lib/date-picker/index.js +2 -2
- package/lib/dialog/dialog.css +9 -7
- package/lib/dialog/dialog.variable.css +9 -7
- package/lib/dialog/index.js +4 -4
- package/lib/directives/index.js +1 -1
- package/lib/divider/index.js +2 -3
- package/lib/dropdown/index.js +6 -8
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/index.js +2 -3
- package/lib/form/index.js +1 -1
- 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.js +1 -1
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/assistant.js +1 -1
- package/lib/icon/audio-fill.js +1 -1
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.js +1 -1
- 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-shape.js +1 -1
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.js +1 -1
- package/lib/icon/del.js +1 -1
- package/lib/icon/doc-fill.js +1 -1
- 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.js +1 -1
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.js +1 -1
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.js +1 -1
- package/lib/icon/exclamation-circle-shape.js +1 -1
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.js +1 -1
- package/lib/icon/fix-line.js +1 -1
- package/lib/icon/fix-shape.js +1 -1
- 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.js +1 -1
- package/lib/icon/grag-fill.js +1 -1
- 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.js +1 -1
- package/lib/icon/img-error.js +1 -1
- package/lib/icon/img-placehoulder.js +1 -1
- 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.js +1 -1
- package/lib/icon/loading.js +1 -1
- package/lib/icon/narrow-line.js +1 -1
- package/lib/icon/original.js +1 -1
- package/lib/icon/pdf-fill.js +1 -1
- package/lib/icon/play-shape.js +1 -1
- package/lib/icon/plus.js +1 -1
- package/lib/icon/ppt-fill.js +1 -1
- package/lib/icon/qq.js +1 -1
- package/lib/icon/right-shape.js +1 -1
- package/lib/icon/right-turn-line.js +1 -1
- 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-all.js +1 -1
- package/lib/icon/text-file.js +1 -1
- package/lib/icon/text-fill.js +1 -1
- package/lib/icon/transfer.js +1 -1
- package/lib/icon/tree-application-shape.js +1 -1
- package/lib/icon/unfull-screen.js +1 -1
- package/lib/icon/unvisible.js +1 -1
- package/lib/icon/up-shape.js +1 -1
- package/lib/icon/upload.js +1 -1
- package/lib/icon/video-fill.js +1 -1
- package/lib/icon/warn.js +1 -1
- package/lib/icon/weixin-pro.js +1 -1
- package/lib/icon/weixin.js +1 -1
- package/lib/image/index.js +10 -11
- package/lib/info-box/index.js +4 -5
- package/lib/input/index.js +4 -4
- package/lib/link/index.js +2 -2
- package/lib/loading/index.js +11 -12
- package/lib/menu/index.js +2 -3
- package/lib/message/index.js +1 -1
- package/lib/modal/hooks.d.ts +1 -1
- package/lib/modal/index.d.ts +0 -3
- package/lib/modal/index.js +26 -25
- package/lib/modal/modal.css +9 -7
- package/lib/modal/modal.d.ts +0 -1
- package/lib/modal/modal.less +18 -11
- package/lib/modal/modal.variable.css +9 -7
- package/lib/navigation/index.js +7 -9
- package/lib/notify/index.js +1 -1
- package/lib/overflow-title/index.js +9 -10
- package/lib/pagination/index.js +1 -1
- package/lib/plugin-popover/index.js +26 -30
- package/lib/pop-confirm/index.js +4 -5
- package/lib/popover/index.js +26 -30
- package/lib/popover2/index.js +2 -2
- package/lib/process/index.js +4 -4
- package/lib/progress/index.js +5 -6
- package/lib/radio/index.js +6 -7
- package/lib/rate/index.js +1 -1
- package/lib/resize-layout/index.js +1 -1
- package/lib/search-select/index.d.ts +12 -327
- package/lib/search-select/index.js +350 -633
- package/lib/search-select/input.d.ts +2 -7
- package/lib/search-select/search-select.css +6 -20
- package/lib/search-select/search-select.d.ts +4 -109
- package/lib/search-select/search-select.less +12 -16
- package/lib/search-select/search-select.variable.css +6 -20
- package/lib/search-select/selected.d.ts +5 -107
- package/lib/search-select/utils.d.ts +1 -13
- package/lib/select/index.d.ts +9 -32
- package/lib/select/index.js +5 -8
- package/lib/select/select.d.ts +3 -14
- package/lib/shared/index.js +5 -8
- package/lib/sideslider/index.js +4 -4
- package/lib/sideslider/sideslider.css +5 -0
- package/lib/sideslider/sideslider.less +14 -8
- package/lib/sideslider/sideslider.variable.css +5 -0
- package/lib/slider/index.d.ts +3 -3
- package/lib/slider/index.js +19 -20
- package/lib/slider/slider.d.ts +1 -1
- package/lib/steps/index.d.ts +3 -3
- package/lib/steps/index.js +4 -4
- package/lib/steps/steps.d.ts +1 -1
- package/lib/swiper/index.js +1 -1
- package/lib/switcher/index.js +1 -1
- package/lib/tab/index.d.ts +4 -4
- package/lib/tab/index.js +3 -4
- package/lib/tab/tab.d.ts +1 -1
- package/lib/table/const.d.ts +1 -1
- package/lib/table/index.d.ts +9 -9
- package/lib/table/index.js +24 -26
- package/lib/table/plugins/use-fixed-column.d.ts +1 -1
- package/lib/table/table.css +96 -42
- package/lib/table/table.d.ts +3 -3
- package/lib/table/table.less +41 -56
- package/lib/table/table.variable.css +96 -42
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table-column/index.js +2 -2
- package/lib/tag/index.js +1 -1
- package/lib/tag-input/index.js +3 -4
- package/lib/timeline/index.js +0 -1
- package/lib/transfer/index.d.ts +3 -3
- package/lib/transfer/transfer.d.ts +1 -1
- package/lib/tree/index.js +10 -12
- package/lib/tree/tree.css +75 -2
- package/lib/tree/tree.variable.css +75 -2
- package/lib/upload/index.d.ts +4 -16
- package/lib/upload/index.js +34 -25
- package/lib/upload/props.d.ts +0 -3
- package/lib/upload/upload-trigger.d.ts +0 -6
- package/lib/upload/upload.d.ts +1 -7
- package/lib/virtual-render/bk-scrollbar.css +74 -0
- package/lib/virtual-render/bk-scrollbar.d.ts +10 -0
- package/lib/virtual-render/bk-scrollbar.less +93 -0
- package/lib/virtual-render/bk-scrollbar.variable.css +203 -0
- package/lib/virtual-render/index.d.ts +4 -0
- package/lib/virtual-render/index.js +2542 -235
- package/lib/virtual-render/props.d.ts +7 -0
- package/lib/virtual-render/scrollbar-core/can-use-dom.d.ts +2 -0
- package/lib/virtual-render/scrollbar-core/helpers.d.ts +5 -0
- package/lib/virtual-render/scrollbar-core/index.d.ts +213 -0
- package/lib/virtual-render/scrollbar-core/mouse-wheel.d.ts +5 -0
- package/lib/virtual-render/scrollbar-core/scrollbar-width.d.ts +1 -0
- package/lib/virtual-render/use-fix-top.d.ts +2 -7
- package/lib/virtual-render/use-scrollbar.d.ts +23 -0
- package/lib/virtual-render/v-virtual-render.d.ts +2 -1
- package/lib/virtual-render/virtual-render.css +75 -2
- package/lib/virtual-render/virtual-render.d.ts +2 -0
- package/lib/virtual-render/virtual-render.less +2 -2
- package/lib/virtual-render/virtual-render.variable.css +75 -2
- package/package.json +5 -1
package/lib/navigation/index.js
CHANGED
@@ -40,7 +40,7 @@ const shared_namespaceObject = x({ ["withInstall"]: () => __WEBPACK_EXTERNAL_MOD
|
|
40
40
|
;// CONCATENATED MODULE: external "vue"
|
41
41
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
42
42
|
var external_vue_y = x => () => x
|
43
|
-
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode
|
43
|
+
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode });
|
44
44
|
;// CONCATENATED MODULE: external "../config-provider"
|
45
45
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
46
46
|
var config_provider_y = x => () => x
|
@@ -77,7 +77,6 @@ const icon_namespaceObject = icon_x({ ["CollapseLeft"]: () => __WEBPACK_EXTERNAL
|
|
77
77
|
* IN THE SOFTWARE.
|
78
78
|
*/
|
79
79
|
|
80
|
-
|
81
80
|
var TitleProps = {
|
82
81
|
sideTitle: {
|
83
82
|
type: String,
|
@@ -88,7 +87,7 @@ var TitleProps = {
|
|
88
87
|
"default": 'left-right'
|
89
88
|
}
|
90
89
|
};
|
91
|
-
/* harmony default export */ const navigation_title = (
|
90
|
+
/* harmony default export */ const navigation_title = (defineComponent({
|
92
91
|
props: TitleProps,
|
93
92
|
// slots: ['side-icon'],
|
94
93
|
slots: Object,
|
@@ -143,7 +142,6 @@ var TitleProps = {
|
|
143
142
|
|
144
143
|
|
145
144
|
|
146
|
-
|
147
145
|
var NavigationProps = {
|
148
146
|
navWidth: {
|
149
147
|
type: [Number, String],
|
@@ -190,7 +188,7 @@ var NavigationProps = {
|
|
190
188
|
"default": true
|
191
189
|
}
|
192
190
|
};
|
193
|
-
/* harmony default export */ const navigation = (
|
191
|
+
/* harmony default export */ const navigation = (defineComponent({
|
194
192
|
name: 'Navigation',
|
195
193
|
props: NavigationProps,
|
196
194
|
emits: ['leave', 'toggle', 'hover', 'toggle-click'],
|
@@ -198,8 +196,8 @@ var NavigationProps = {
|
|
198
196
|
slots: Object,
|
199
197
|
setup: function setup(props, _ref) {
|
200
198
|
var emit = _ref.emit;
|
201
|
-
var defaultHeaderTitle =
|
202
|
-
var nav =
|
199
|
+
var defaultHeaderTitle = ref(props.headerTitle);
|
200
|
+
var nav = reactive({
|
203
201
|
click: false,
|
204
202
|
hover: false,
|
205
203
|
delay: false,
|
@@ -211,7 +209,7 @@ var NavigationProps = {
|
|
211
209
|
nav.hover = nav.click;
|
212
210
|
emit('toggle', nav.hover);
|
213
211
|
}
|
214
|
-
|
212
|
+
onBeforeUnmount(function () {
|
215
213
|
nav.timer && window.clearTimeout(nav.timer);
|
216
214
|
});
|
217
215
|
var handleMouseOver = function handleMouseOver() {
|
@@ -247,7 +245,7 @@ var NavigationProps = {
|
|
247
245
|
return {
|
248
246
|
defaultHeaderTitle: defaultHeaderTitle,
|
249
247
|
nav: nav,
|
250
|
-
onBeforeUnmount:
|
248
|
+
onBeforeUnmount: onBeforeUnmount,
|
251
249
|
handleMouseOver: handleMouseOver,
|
252
250
|
handleMouseLeave: handleMouseLeave,
|
253
251
|
handleClick: handleClick,
|
package/lib/notify/index.js
CHANGED
@@ -61,7 +61,7 @@ function toPrimitive(t, r) {
|
|
61
61
|
|
62
62
|
function toPropertyKey(t) {
|
63
63
|
var i = toPrimitive(t, "string");
|
64
|
-
return "symbol" == _typeof(i) ? i :
|
64
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
65
65
|
}
|
66
66
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
67
67
|
|
@@ -45,7 +45,7 @@ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODUL
|
|
45
45
|
;// CONCATENATED MODULE: external "vue"
|
46
46
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
47
47
|
var external_vue_y = x => () => x
|
48
|
-
const external_vue_namespaceObject = external_vue_x({ ["
|
48
|
+
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps });
|
49
49
|
;// CONCATENATED MODULE: external "../popover"
|
50
50
|
var popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
51
51
|
var popover_y = x => () => x
|
@@ -131,24 +131,23 @@ function getActualWidthByDom(text, options) {
|
|
131
131
|
|
132
132
|
|
133
133
|
|
134
|
-
|
135
|
-
/* harmony default export */ const overflow_title = ((0,external_vue_namespaceObject.defineComponent)({
|
134
|
+
/* harmony default export */ const overflow_title = (defineComponent({
|
136
135
|
name: 'OverflowTitle',
|
137
136
|
props: props,
|
138
137
|
setup: function setup(props, _ref) {
|
139
138
|
var slots = _ref.slots;
|
140
|
-
var boxRef =
|
141
|
-
var textRef =
|
142
|
-
var isShowTips =
|
143
|
-
var textProps =
|
144
|
-
var contentText =
|
139
|
+
var boxRef = ref(null);
|
140
|
+
var textRef = ref(null);
|
141
|
+
var isShowTips = ref(false);
|
142
|
+
var textProps = shallowRef();
|
143
|
+
var contentText = computed(function () {
|
145
144
|
var _slots$default;
|
146
145
|
if (props.content) {
|
147
146
|
return props.content;
|
148
147
|
}
|
149
148
|
return slots === null || slots === void 0 || (_slots$default = slots["default"]) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots);
|
150
149
|
});
|
151
|
-
|
150
|
+
onMounted(function () {
|
152
151
|
var clientWidth = boxRef.value.clientWidth;
|
153
152
|
var resizeHandler = (0,shared_namespaceObject.debounce)(500, function () {
|
154
153
|
isShowTips.value = false;
|
@@ -180,7 +179,7 @@ function getActualWidthByDom(text, options) {
|
|
180
179
|
if (props.resizeable) {
|
181
180
|
var observer = new ResizeObserver(resizeHandler);
|
182
181
|
observer.observe(boxRef.value);
|
183
|
-
|
182
|
+
onBeforeUnmount(function () {
|
184
183
|
boxRef.value && (observer === null || observer === void 0 ? void 0 : observer.unobserve(boxRef.value));
|
185
184
|
observer === null || observer === void 0 || observer.disconnect();
|
186
185
|
});
|
package/lib/pagination/index.js
CHANGED
@@ -69,7 +69,7 @@ function toPrimitive(t, r) {
|
|
69
69
|
|
70
70
|
function toPropertyKey(t) {
|
71
71
|
var i = toPrimitive(t, "string");
|
72
|
-
return "symbol" == _typeof(i) ? i :
|
72
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
73
73
|
}
|
74
74
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
75
75
|
|
@@ -60,7 +60,7 @@ function toPrimitive(t, r) {
|
|
60
60
|
|
61
61
|
function toPropertyKey(t) {
|
62
62
|
var i = toPrimitive(t, "string");
|
63
|
-
return "symbol" == _typeof(i) ? i :
|
63
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
64
64
|
}
|
65
65
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
66
66
|
|
@@ -81,7 +81,7 @@ function _defineProperty(obj, key, value) {
|
|
81
81
|
;// CONCATENATED MODULE: external "vue"
|
82
82
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
83
83
|
var y = x => () => x
|
84
|
-
const external_vue_namespaceObject = x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["
|
84
|
+
const external_vue_namespaceObject = x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createApp"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createApp, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
85
85
|
;// CONCATENATED MODULE: external "../shared"
|
86
86
|
var shared_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
87
87
|
var shared_y = x => () => x
|
@@ -244,8 +244,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
244
244
|
* IN THE SOFTWARE.
|
245
245
|
*/
|
246
246
|
|
247
|
-
|
248
|
-
/* harmony default export */ const src_arrow = ((0,external_vue_namespaceObject.defineComponent)({
|
247
|
+
/* harmony default export */ const src_arrow = (defineComponent({
|
249
248
|
name: 'PopArrow',
|
250
249
|
render: function render() {
|
251
250
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
@@ -332,8 +331,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
332
331
|
*/
|
333
332
|
|
334
333
|
|
335
|
-
|
336
|
-
/* harmony default export */ const content = ((0,external_vue_namespaceObject.defineComponent)({
|
334
|
+
/* harmony default export */ const content = (defineComponent({
|
337
335
|
name: 'PopContent',
|
338
336
|
props: {
|
339
337
|
width: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
|
@@ -351,7 +349,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
351
349
|
}
|
352
350
|
return val;
|
353
351
|
};
|
354
|
-
var style =
|
352
|
+
var style = computed(function () {
|
355
353
|
return {
|
356
354
|
width: resolveValToPix(props.width),
|
357
355
|
height: resolveValToPix(props.height),
|
@@ -359,8 +357,8 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
359
357
|
maxWidth: resolveValToPix(props.maxWidth)
|
360
358
|
};
|
361
359
|
});
|
362
|
-
var refContent =
|
363
|
-
var refTimer =
|
360
|
+
var refContent = ref(null);
|
361
|
+
var refTimer = ref(null);
|
364
362
|
var resetPointerEvent = function resetPointerEvent() {
|
365
363
|
var _props$eventDelay;
|
366
364
|
if (props.eventDelay === 0) {
|
@@ -380,7 +378,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
380
378
|
};
|
381
379
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
382
380
|
resolveClassName = _usePrefix.resolveClassName;
|
383
|
-
var contentClassName =
|
381
|
+
var contentClassName = computed(function () {
|
384
382
|
return [resolveClassName('popover'), resolveClassName('pop2-content'), props.visible ? 'visible' : 'hidden', props.extCls];
|
385
383
|
});
|
386
384
|
return {
|
@@ -403,8 +401,8 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
403
401
|
_this$$slots3;
|
404
402
|
var resolveContentStyle = function resolveContentStyle(slot) {
|
405
403
|
var _slot$;
|
406
|
-
if (
|
407
|
-
|
404
|
+
if (Fragment === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
|
405
|
+
nextTick(function () {
|
408
406
|
_this.setContentPointerEvent('none');
|
409
407
|
_this.resetPointerEvent();
|
410
408
|
});
|
@@ -579,8 +577,7 @@ var PopoverProps = {
|
|
579
577
|
* IN THE SOFTWARE.
|
580
578
|
*/
|
581
579
|
|
582
|
-
|
583
|
-
/* harmony default export */ const root = ((0,external_vue_namespaceObject.defineComponent)({
|
580
|
+
/* harmony default export */ const root = (defineComponent({
|
584
581
|
props: {
|
585
582
|
"class": shared_namespaceObject.PropTypes.string.def(''),
|
586
583
|
mode: shared_namespaceObject.PropTypes.string.def('')
|
@@ -3560,11 +3557,10 @@ var parentNodeReferId = null;
|
|
3560
3557
|
|
3561
3558
|
|
3562
3559
|
|
3563
|
-
|
3564
3560
|
function _isSlot(s) {
|
3565
3561
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
|
3566
3562
|
}
|
3567
|
-
/* harmony default export */ const popover = (
|
3563
|
+
/* harmony default export */ const popover = (defineComponent({
|
3568
3564
|
name: 'Popover',
|
3569
3565
|
components: {
|
3570
3566
|
// eslint-disable-next-line vue/no-reserved-component-names
|
@@ -3578,13 +3574,13 @@ function _isSlot(s) {
|
|
3578
3574
|
props: PopoverProps,
|
3579
3575
|
emits: EMIT_EVENT_TYPES,
|
3580
3576
|
setup: function setup(props, ctx) {
|
3581
|
-
var _toRefs =
|
3577
|
+
var _toRefs = toRefs(props),
|
3582
3578
|
reference = _toRefs.reference;
|
3583
|
-
var refDefaultReference =
|
3584
|
-
var refContent =
|
3585
|
-
var refArrow =
|
3586
|
-
var refRoot =
|
3587
|
-
var refReference =
|
3579
|
+
var refDefaultReference = ref();
|
3580
|
+
var refContent = ref();
|
3581
|
+
var refArrow = ref();
|
3582
|
+
var refRoot = ref();
|
3583
|
+
var refReference = computed(function () {
|
3588
3584
|
return reference.value || refDefaultReference.value;
|
3589
3585
|
});
|
3590
3586
|
var _usePopoverInit = use_popover_init(props, ctx, {
|
@@ -3609,7 +3605,7 @@ function _isSlot(s) {
|
|
3609
3605
|
localIsShow = _usePopoverInit.localIsShow,
|
3610
3606
|
boundary = _usePopoverInit.boundary;
|
3611
3607
|
if (!props.always && !props.disabled) {
|
3612
|
-
|
3608
|
+
watch(function () {
|
3613
3609
|
return props.isShow;
|
3614
3610
|
}, function () {
|
3615
3611
|
props.isShow ? showPopover() : hidePopover();
|
@@ -3617,7 +3613,7 @@ function _isSlot(s) {
|
|
3617
3613
|
immediate: true
|
3618
3614
|
});
|
3619
3615
|
}
|
3620
|
-
|
3616
|
+
watch(function () {
|
3621
3617
|
return [props.disabled];
|
3622
3618
|
}, function (val) {
|
3623
3619
|
if (val[0]) {
|
@@ -3627,9 +3623,9 @@ function _isSlot(s) {
|
|
3627
3623
|
}
|
3628
3624
|
});
|
3629
3625
|
updateBoundary();
|
3630
|
-
|
3631
|
-
|
3632
|
-
var transBoundary =
|
3626
|
+
onMounted(onMountedFn);
|
3627
|
+
onBeforeUnmount(onUnmountedFn);
|
3628
|
+
var transBoundary = computed(function () {
|
3633
3629
|
return localIsShow.value && !props.disableTeleport;
|
3634
3630
|
});
|
3635
3631
|
var show = function show() {
|
@@ -3638,7 +3634,7 @@ function _isSlot(s) {
|
|
3638
3634
|
var hide = function hide() {
|
3639
3635
|
hideFn();
|
3640
3636
|
};
|
3641
|
-
var contentIsShow =
|
3637
|
+
var contentIsShow = computed(function () {
|
3642
3638
|
if (props.renderType === shared_namespaceObject.RenderType.AUTO) {
|
3643
3639
|
return true;
|
3644
3640
|
}
|
@@ -3683,7 +3679,7 @@ function _isSlot(s) {
|
|
3683
3679
|
_this$$slots3;
|
3684
3680
|
var renderReferSlot = function renderReferSlot(slot) {
|
3685
3681
|
var _slot$;
|
3686
|
-
if (
|
3682
|
+
if (Text === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
|
3687
3683
|
return (0,external_vue_namespaceObject.createVNode)("span", null, [slot]);
|
3688
3684
|
}
|
3689
3685
|
return slot;
|
@@ -3698,7 +3694,7 @@ function _isSlot(s) {
|
|
3698
3694
|
"default": function _default() {
|
3699
3695
|
return [_slot];
|
3700
3696
|
}
|
3701
|
-
}), (0,external_vue_namespaceObject.createVNode)(
|
3697
|
+
}), (0,external_vue_namespaceObject.createVNode)(Teleport, {
|
3702
3698
|
"to": _this.boundary,
|
3703
3699
|
"disabled": !_this.transBoundary
|
3704
3700
|
}, {
|
package/lib/pop-confirm/index.js
CHANGED
@@ -44,7 +44,7 @@ const shared_namespaceObject = x({ ["PlacementEnum"]: () => __WEBPACK_EXTERNAL_M
|
|
44
44
|
;// CONCATENATED MODULE: external "vue"
|
45
45
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
46
46
|
var external_vue_y = x => () => x
|
47
|
-
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode
|
47
|
+
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode });
|
48
48
|
;// CONCATENATED MODULE: external "../button"
|
49
49
|
var button_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
50
50
|
var button_y = x => () => x
|
@@ -173,15 +173,14 @@ var PopConfirmProps = {
|
|
173
173
|
|
174
174
|
|
175
175
|
|
176
|
-
|
177
|
-
/* harmony default export */ const pop_confirm = ((0,external_vue_namespaceObject.defineComponent)({
|
176
|
+
/* harmony default export */ const pop_confirm = (defineComponent({
|
178
177
|
name: 'PopConfirm',
|
179
178
|
props: props,
|
180
179
|
emits: ['confirm', 'cancel'],
|
181
180
|
setup: function setup(props, _ref) {
|
182
181
|
var emit = _ref.emit,
|
183
182
|
slots = _ref.slots;
|
184
|
-
var visible =
|
183
|
+
var visible = ref(false);
|
185
184
|
var t = (0,config_provider_namespaceObject.useLocale)('popConfirm');
|
186
185
|
function ensure(e) {
|
187
186
|
visible.value = false;
|
@@ -202,7 +201,7 @@ var PopConfirmProps = {
|
|
202
201
|
var icon = renderIcon();
|
203
202
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
204
203
|
resolveClassName = _usePrefix.resolveClassName;
|
205
|
-
var popoverRef =
|
204
|
+
var popoverRef = ref(null);
|
206
205
|
return {
|
207
206
|
popoverRef: popoverRef,
|
208
207
|
visible: visible,
|
package/lib/popover/index.js
CHANGED
@@ -43,7 +43,7 @@ const shared_namespaceObject = x({ ["PlacementEnum"]: () => __WEBPACK_EXTERNAL_M
|
|
43
43
|
;// CONCATENATED MODULE: external "vue"
|
44
44
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
45
45
|
var external_vue_y = x => () => x
|
46
|
-
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["
|
46
|
+
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createApp"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createApp, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
47
47
|
;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
|
48
48
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
49
49
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
@@ -202,8 +202,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
202
202
|
* IN THE SOFTWARE.
|
203
203
|
*/
|
204
204
|
|
205
|
-
|
206
|
-
/* harmony default export */ const src_arrow = ((0,external_vue_namespaceObject.defineComponent)({
|
205
|
+
/* harmony default export */ const src_arrow = (defineComponent({
|
207
206
|
name: 'PopArrow',
|
208
207
|
render: function render() {
|
209
208
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
@@ -241,7 +240,7 @@ function toPrimitive(t, r) {
|
|
241
240
|
|
242
241
|
function toPropertyKey(t) {
|
243
242
|
var i = toPrimitive(t, "string");
|
244
|
-
return "symbol" == _typeof(i) ? i :
|
243
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
245
244
|
}
|
246
245
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
247
246
|
|
@@ -335,8 +334,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
335
334
|
*/
|
336
335
|
|
337
336
|
|
338
|
-
|
339
|
-
/* harmony default export */ const content = ((0,external_vue_namespaceObject.defineComponent)({
|
337
|
+
/* harmony default export */ const content = (defineComponent({
|
340
338
|
name: 'PopContent',
|
341
339
|
props: {
|
342
340
|
width: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
|
@@ -354,7 +352,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
354
352
|
}
|
355
353
|
return val;
|
356
354
|
};
|
357
|
-
var style =
|
355
|
+
var style = computed(function () {
|
358
356
|
return {
|
359
357
|
width: resolveValToPix(props.width),
|
360
358
|
height: resolveValToPix(props.height),
|
@@ -362,8 +360,8 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
362
360
|
maxWidth: resolveValToPix(props.maxWidth)
|
363
361
|
};
|
364
362
|
});
|
365
|
-
var refContent =
|
366
|
-
var refTimer =
|
363
|
+
var refContent = ref(null);
|
364
|
+
var refTimer = ref(null);
|
367
365
|
var resetPointerEvent = function resetPointerEvent() {
|
368
366
|
var _props$eventDelay;
|
369
367
|
if (props.eventDelay === 0) {
|
@@ -383,7 +381,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
383
381
|
};
|
384
382
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
385
383
|
resolveClassName = _usePrefix.resolveClassName;
|
386
|
-
var contentClassName =
|
384
|
+
var contentClassName = computed(function () {
|
387
385
|
return [resolveClassName('popover'), resolveClassName('pop2-content'), props.visible ? 'visible' : 'hidden', props.extCls];
|
388
386
|
});
|
389
387
|
return {
|
@@ -406,8 +404,8 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
406
404
|
_this$$slots3;
|
407
405
|
var resolveContentStyle = function resolveContentStyle(slot) {
|
408
406
|
var _slot$;
|
409
|
-
if (
|
410
|
-
|
407
|
+
if (Fragment === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
|
408
|
+
nextTick(function () {
|
411
409
|
_this.setContentPointerEvent('none');
|
412
410
|
_this.resetPointerEvent();
|
413
411
|
});
|
@@ -582,8 +580,7 @@ var PopoverProps = {
|
|
582
580
|
* IN THE SOFTWARE.
|
583
581
|
*/
|
584
582
|
|
585
|
-
|
586
|
-
/* harmony default export */ const root = ((0,external_vue_namespaceObject.defineComponent)({
|
583
|
+
/* harmony default export */ const root = (defineComponent({
|
587
584
|
props: {
|
588
585
|
"class": shared_namespaceObject.PropTypes.string.def(''),
|
589
586
|
mode: shared_namespaceObject.PropTypes.string.def('')
|
@@ -3563,11 +3560,10 @@ var parentNodeReferId = null;
|
|
3563
3560
|
|
3564
3561
|
|
3565
3562
|
|
3566
|
-
|
3567
3563
|
function _isSlot(s) {
|
3568
3564
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
|
3569
3565
|
}
|
3570
|
-
/* harmony default export */ const popover = (
|
3566
|
+
/* harmony default export */ const popover = (defineComponent({
|
3571
3567
|
name: 'Popover',
|
3572
3568
|
components: {
|
3573
3569
|
// eslint-disable-next-line vue/no-reserved-component-names
|
@@ -3581,13 +3577,13 @@ function _isSlot(s) {
|
|
3581
3577
|
props: PopoverProps,
|
3582
3578
|
emits: EMIT_EVENT_TYPES,
|
3583
3579
|
setup: function setup(props, ctx) {
|
3584
|
-
var _toRefs =
|
3580
|
+
var _toRefs = toRefs(props),
|
3585
3581
|
reference = _toRefs.reference;
|
3586
|
-
var refDefaultReference =
|
3587
|
-
var refContent =
|
3588
|
-
var refArrow =
|
3589
|
-
var refRoot =
|
3590
|
-
var refReference =
|
3582
|
+
var refDefaultReference = ref();
|
3583
|
+
var refContent = ref();
|
3584
|
+
var refArrow = ref();
|
3585
|
+
var refRoot = ref();
|
3586
|
+
var refReference = computed(function () {
|
3591
3587
|
return reference.value || refDefaultReference.value;
|
3592
3588
|
});
|
3593
3589
|
var _usePopoverInit = use_popover_init(props, ctx, {
|
@@ -3612,7 +3608,7 @@ function _isSlot(s) {
|
|
3612
3608
|
localIsShow = _usePopoverInit.localIsShow,
|
3613
3609
|
boundary = _usePopoverInit.boundary;
|
3614
3610
|
if (!props.always && !props.disabled) {
|
3615
|
-
|
3611
|
+
watch(function () {
|
3616
3612
|
return props.isShow;
|
3617
3613
|
}, function () {
|
3618
3614
|
props.isShow ? showPopover() : hidePopover();
|
@@ -3620,7 +3616,7 @@ function _isSlot(s) {
|
|
3620
3616
|
immediate: true
|
3621
3617
|
});
|
3622
3618
|
}
|
3623
|
-
|
3619
|
+
watch(function () {
|
3624
3620
|
return [props.disabled];
|
3625
3621
|
}, function (val) {
|
3626
3622
|
if (val[0]) {
|
@@ -3630,9 +3626,9 @@ function _isSlot(s) {
|
|
3630
3626
|
}
|
3631
3627
|
});
|
3632
3628
|
updateBoundary();
|
3633
|
-
|
3634
|
-
|
3635
|
-
var transBoundary =
|
3629
|
+
onMounted(onMountedFn);
|
3630
|
+
onBeforeUnmount(onUnmountedFn);
|
3631
|
+
var transBoundary = computed(function () {
|
3636
3632
|
return localIsShow.value && !props.disableTeleport;
|
3637
3633
|
});
|
3638
3634
|
var show = function show() {
|
@@ -3641,7 +3637,7 @@ function _isSlot(s) {
|
|
3641
3637
|
var hide = function hide() {
|
3642
3638
|
hideFn();
|
3643
3639
|
};
|
3644
|
-
var contentIsShow =
|
3640
|
+
var contentIsShow = computed(function () {
|
3645
3641
|
if (props.renderType === shared_namespaceObject.RenderType.AUTO) {
|
3646
3642
|
return true;
|
3647
3643
|
}
|
@@ -3686,7 +3682,7 @@ function _isSlot(s) {
|
|
3686
3682
|
_this$$slots3;
|
3687
3683
|
var renderReferSlot = function renderReferSlot(slot) {
|
3688
3684
|
var _slot$;
|
3689
|
-
if (
|
3685
|
+
if (Text === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
|
3690
3686
|
return (0,external_vue_namespaceObject.createVNode)("span", null, [slot]);
|
3691
3687
|
}
|
3692
3688
|
return slot;
|
@@ -3701,7 +3697,7 @@ function _isSlot(s) {
|
|
3701
3697
|
"default": function _default() {
|
3702
3698
|
return [_slot];
|
3703
3699
|
}
|
3704
|
-
}), (0,external_vue_namespaceObject.createVNode)(
|
3700
|
+
}), (0,external_vue_namespaceObject.createVNode)(Teleport, {
|
3705
3701
|
"to": _this.boundary,
|
3706
3702
|
"disabled": !_this.transBoundary
|
3707
3703
|
}, {
|
package/lib/popover2/index.js
CHANGED
@@ -37,7 +37,7 @@ const shared_namespaceObject = x({ ["withInstall"]: () => __WEBPACK_EXTERNAL_MOD
|
|
37
37
|
;// CONCATENATED MODULE: external "vue"
|
38
38
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
39
39
|
var external_vue_y = x => () => x
|
40
|
-
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode
|
40
|
+
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode });
|
41
41
|
;// CONCATENATED MODULE: ../../packages/popover2/src/popover.tsx
|
42
42
|
|
43
43
|
/*
|
@@ -66,7 +66,7 @@ const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __W
|
|
66
66
|
* IN THE SOFTWARE.
|
67
67
|
*/
|
68
68
|
|
69
|
-
/* harmony default export */ const popover = (
|
69
|
+
/* harmony default export */ const popover = (defineComponent({
|
70
70
|
name: 'Popover2',
|
71
71
|
setup: function setup() {
|
72
72
|
return function () {
|
package/lib/process/index.js
CHANGED
@@ -119,7 +119,7 @@ function _regeneratorRuntime() {
|
|
119
119
|
function makeInvokeMethod(e, r, n) {
|
120
120
|
var o = h;
|
121
121
|
return function (i, a) {
|
122
|
-
if (o === f) throw
|
122
|
+
if (o === f) throw Error("Generator is already running");
|
123
123
|
if (o === s) {
|
124
124
|
if ("throw" === i) throw a;
|
125
125
|
return {
|
@@ -261,7 +261,7 @@ function _regeneratorRuntime() {
|
|
261
261
|
} else if (c) {
|
262
262
|
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
263
263
|
} else {
|
264
|
-
if (!u) throw
|
264
|
+
if (!u) throw Error("try statement without catch or finally");
|
265
265
|
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
266
266
|
}
|
267
267
|
}
|
@@ -301,7 +301,7 @@ function _regeneratorRuntime() {
|
|
301
301
|
return o;
|
302
302
|
}
|
303
303
|
}
|
304
|
-
throw
|
304
|
+
throw Error("illegal catch attempt");
|
305
305
|
},
|
306
306
|
delegateYield: function delegateYield(e, r, n) {
|
307
307
|
return this.delegate = {
|
@@ -451,7 +451,7 @@ function toPrimitive(t, r) {
|
|
451
451
|
|
452
452
|
function toPropertyKey(t) {
|
453
453
|
var i = toPrimitive(t, "string");
|
454
|
-
return "symbol" == _typeof(i) ? i :
|
454
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
455
455
|
}
|
456
456
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
457
457
|
|
package/lib/progress/index.js
CHANGED
@@ -63,7 +63,7 @@ function toPrimitive(t, r) {
|
|
63
63
|
|
64
64
|
function toPropertyKey(t) {
|
65
65
|
var i = toPrimitive(t, "string");
|
66
|
-
return "symbol" == _typeof(i) ? i :
|
66
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
67
67
|
}
|
68
68
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
69
69
|
|
@@ -84,7 +84,7 @@ function _defineProperty(obj, key, value) {
|
|
84
84
|
;// CONCATENATED MODULE: external "vue"
|
85
85
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
86
86
|
var external_vue_y = x => () => x
|
87
|
-
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["
|
87
|
+
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode });
|
88
88
|
;// CONCATENATED MODULE: external "../config-provider"
|
89
89
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
90
90
|
var config_provider_y = x => () => x
|
@@ -273,9 +273,6 @@ var Line = function Line(_, _ref) {
|
|
273
273
|
/* harmony default export */ const line = (Line);
|
274
274
|
;// CONCATENATED MODULE: ../../packages/progress/src/progress.tsx
|
275
275
|
|
276
|
-
|
277
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
278
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
279
276
|
/*
|
280
277
|
* Tencent is pleased to support the open source community by making
|
281
278
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -302,6 +299,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
302
299
|
* IN THE SOFTWARE.
|
303
300
|
*/
|
304
301
|
|
302
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
303
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
305
304
|
|
306
305
|
|
307
306
|
|
@@ -333,7 +332,7 @@ var progressType = {
|
|
333
332
|
verticalAlign: 'middle'
|
334
333
|
})
|
335
334
|
};
|
336
|
-
/* harmony default export */ const progress = (
|
335
|
+
/* harmony default export */ const progress = (defineComponent({
|
337
336
|
// eslint-disable-next-line vue/no-reserved-component-names
|
338
337
|
name: 'Progress',
|
339
338
|
props: progressType,
|