bkui-vue 0.0.1-beta.418 → 0.0.1-beta.419
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 +29 -29
- package/dist/index.esm.js +186 -101
- package/dist/index.umd.js +33 -33
- 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/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +4 -4
- package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/lib/breadcrumb/breadcrumb.d.ts +1 -1
- package/lib/breadcrumb/index.d.ts +5 -5
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/index.d.ts +4 -4
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +4 -4
- package/lib/components.d.ts +1 -0
- package/lib/components.js +1 -1
- package/lib/config-provider/config-provider.d.ts +8 -0
- package/lib/config-provider/index.d.ts +16 -0
- package/lib/config-provider/type.d.ts +4 -0
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +4 -4
- package/lib/dialog/dialog.css +1 -1
- package/lib/dialog/dialog.d.ts +1 -1
- package/lib/dialog/dialog.less +1 -1
- package/lib/dialog/dialog.variable.css +1 -1
- package/lib/dialog/index.d.ts +4 -4
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +4 -4
- package/lib/fixed-navbar/fixed-navbar.d.ts +1 -1
- package/lib/fixed-navbar/index.d.ts +4 -4
- package/lib/icon/image-fill.js +1 -0
- package/lib/icon/index.js +1 -1
- package/lib/locale/index.js +1 -1
- package/lib/locale/lang/en.d.ts +4 -0
- package/lib/message/messageConstructor.d.ts +1 -1
- package/lib/modal/index.d.ts +4 -4
- package/lib/modal/modal.d.ts +1 -1
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/index.d.ts +2 -2
- package/lib/plugin-popover/index.js +1 -1
- package/lib/pop-confirm/index.d.ts +214 -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 +79 -0
- package/lib/pop-confirm/pop-confirm.less +34 -0
- package/lib/pop-confirm/pop-confirm.variable.css +148 -0
- package/lib/pop-confirm/props.d.ts +59 -0
- package/lib/popover/content.d.ts +11 -0
- package/lib/popover/index.d.ts +24 -1
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.d.ts +11 -0
- package/lib/popover/props.d.ts +8 -0
- package/lib/preset.d.ts +8 -0
- package/lib/process/index.d.ts +4 -4
- package/lib/process/process.d.ts +1 -1
- package/lib/progress/index.d.ts +4 -4
- package/lib/progress/progress.d.ts +1 -1
- package/lib/select/index.d.ts +15 -0
- package/lib/select/index.js +1 -1
- package/lib/select/select.d.ts +5 -0
- package/lib/sideslider/index.d.ts +4 -4
- package/lib/sideslider/sideslider.d.ts +1 -1
- package/lib/slider/index.d.ts +4 -4
- package/lib/slider/slider.d.ts +1 -1
- package/lib/steps/index.d.ts +4 -4
- package/lib/steps/steps.d.ts +1 -1
- package/lib/styles/index.d.ts +1 -0
- package/lib/switcher/index.d.ts +4 -4
- package/lib/switcher/switcher.d.ts +1 -1
- package/lib/tab/index.d.ts +4 -4
- package/lib/tab/tab.d.ts +1 -1
- package/lib/tag/index.d.ts +4 -4
- package/lib/tag/tag.d.ts +1 -1
- package/lib/tag-input/index.d.ts +20 -0
- package/lib/tag-input/tag-input.d.ts +10 -0
- package/lib/tag-input/tag-props.d.ts +5 -0
- package/lib/timeline/index.d.ts +4 -4
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/upload/index.d.ts +4 -4
- package/lib/upload/upload.d.ts +1 -1
- package/package.json +1 -1
- package/lib/icon/img-error.js +0 -1
- /package/lib/overflow-title/components/{OverflowTitle.d.ts → overflow-title.d.ts} +0 -0
- /package/lib/overflow-title/directive/{overflowTitle.d.ts → overflow-title.d.ts} +0 -0
package/dist/index.esm.js
CHANGED
@@ -89,6 +89,7 @@ var colorPicker = "";
|
|
89
89
|
var timePicker = "";
|
90
90
|
var searchSelect = "";
|
91
91
|
var configProvider = "";
|
92
|
+
var popConfirm = "";
|
92
93
|
const BKLAYERD_INDEX_EFAULT_VALUE = {
|
93
94
|
["bottom"]: 0,
|
94
95
|
["content"]: 1,
|
@@ -7974,13 +7975,7 @@ var PlacementEnum = /* @__PURE__ */ ((PlacementEnum2) => {
|
|
7974
7975
|
function placementType() {
|
7975
7976
|
return E().def("bottom");
|
7976
7977
|
}
|
7977
|
-
|
7978
|
-
TriggerEnum2["HOVER"] = "hover";
|
7979
|
-
TriggerEnum2["CLICK"] = "click";
|
7980
|
-
TriggerEnum2["MANUAL"] = "manual";
|
7981
|
-
return TriggerEnum2;
|
7982
|
-
})(TriggerEnum || {});
|
7983
|
-
function triggerType() {
|
7978
|
+
function triggerType$1() {
|
7984
7979
|
return E().def("hover");
|
7985
7980
|
}
|
7986
7981
|
var RenderType = /* @__PURE__ */ ((RenderType2) => {
|
@@ -8199,6 +8194,10 @@ const zhCn = {
|
|
8199
8194
|
prev: "\u4E0A\u4E00\u6B65",
|
8200
8195
|
next: "\u4E0B\u4E00\u6B65"
|
8201
8196
|
},
|
8197
|
+
popConfirm: {
|
8198
|
+
ok: "\u786E\u5B9A",
|
8199
|
+
cancel: "\u53D6\u6D88"
|
8200
|
+
},
|
8202
8201
|
form: {
|
8203
8202
|
notBeEmpty: "\u4E0D\u80FD\u4E3A\u7A7A",
|
8204
8203
|
incorrectFormat: "\u683C\u5F0F\u4E0D\u6B63\u786E",
|
@@ -8308,7 +8307,7 @@ const provideGlobalConfig = (config) => {
|
|
8308
8307
|
});
|
8309
8308
|
provide(rootProviderKey, configData);
|
8310
8309
|
};
|
8311
|
-
var Component$
|
8310
|
+
var Component$G = defineComponent({
|
8312
8311
|
name: "ConfigProvider",
|
8313
8312
|
inheritAttrs: false,
|
8314
8313
|
props: configProviderProps,
|
@@ -8322,7 +8321,7 @@ var Component$F = defineComponent({
|
|
8322
8321
|
};
|
8323
8322
|
}
|
8324
8323
|
});
|
8325
|
-
const BkConfigProvider = withInstall(Component$
|
8324
|
+
const BkConfigProvider = withInstall(Component$G);
|
8326
8325
|
function generate(node, key2, rootAttrs) {
|
8327
8326
|
return h$1(node.name, __spreadProps(__spreadValues({
|
8328
8327
|
key: key2
|
@@ -8858,7 +8857,7 @@ const warn = (props2, context) => {
|
|
8858
8857
|
warn.displayName = "warn";
|
8859
8858
|
warn.inheritAttrs = false;
|
8860
8859
|
JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M603.52 348.8c0 26.496-22.357333333333333 48-49.919999999999995 48s-49.919999999999995-21.503999999999998-49.919999999999995-48c0-26.496 22.357333333333333-48 49.919999999999995-48s49.919999999999995 21.503999999999998 49.919999999999995 48z"}},{"type":"element","name":"path","attributes":{"d":"M357.11999999999995 348.8c0 26.496-22.357333333333333 48-49.919999999999995 48s-49.919999999999995-21.503999999999998-49.919999999999995-48c0-26.496 22.357333333333333-48 49.919999999999995-48s49.919999999999995 21.503999999999998 49.919999999999995 48z"}},{"type":"element","name":"path","attributes":{"d":"M693.12 604.16c0 15.914666666666665-13.184 28.8-29.439999999999998 28.8s-29.439999999999998-12.885333333333332-29.439999999999998-28.8c0-15.914666666666665 13.184-28.8 29.439999999999998-28.8s29.439999999999998 12.885333333333332 29.439999999999998 28.8z"}},{"type":"element","name":"path","attributes":{"d":"M951.68 832c43.775999999999996-42.410666666666664 71.29599999999999-101.41866666666665 72.32-166.86933333333332-4.608-109.696-77.35466666666666-201.0453333333333-176.72533333333334-233.30133333333333 5.674666666666667-12.117333333333331 10.154666666666666-26.282666666666664 10.154666666666666-41.471999999999994 0-4.522666666666666-0.38399999999999995-8.959999999999999-1.152-13.226666666666667-33.834666666666664-181.29066666666665-212.39466666666664-313.1306666666667-425.5146666666667-313.1306666666667-238.71999999999997 0-430.72 167.04-430.72 372.48 1.2799999999999998 107.56266666666666 50.56 203.30666666666664 127.40266666666668 267.05066666666664l-16.682666666666666 55.50933333333333c-2.1759999999999997 6.784-3.456 14.634666666666668-3.456 22.741333333333333 0 42.410666666666664 34.38933333333333 76.8 76.8 76.8 12.458666666666666 0 24.191999999999997-2.944 34.602666666666664-8.234666666666666l101.33333333333333-52.906666666666666c32.81066666666666 7.722666666666666 70.52799999999999 12.159999999999998 109.22666666666666 12.159999999999998 0.08533333333333333 0 0.17066666666666666 0 0.21333333333333332 0h28.16c13.098666666666666-0.7679999999999999 25.130666666666663-4.693333333333333 35.54133333333333-11.050666666666666 54.22933333333333 73.55733333333333 140.672 120.53333333333333 238.07999999999998 120.53333333333333 1.664 0 3.3706666666666667 0 5.034666666666666-0.042666666666666665 21.077333333333332-0.08533333333333333 41.855999999999995-2.1759999999999997 61.99466666666667-6.101333333333333l49.10933333333333 26.581333333333333c9.941333333333333 5.034666666666666 21.717333333333332 8.021333333333333 34.176 8.021333333333333 42.410666666666664 0 76.8-34.38933333333333 76.8-76.8 0-8.106666666666666-1.2799999999999998-15.957333333333333-3.584-23.296zM430.72 752.64c-0.17066666666666666 0-0.38399999999999995 0-0.5973333333333333 0-40.831999999999994 0-80.29866666666666-5.8453333333333335-117.58933333333331-16.72533333333333l-3.456 0.7253333333333334-131.2 67.19999999999999 35.199999999999996-113.27999999999999h-3.1999999999999997c-86.10133333333332-52.05333333333333-143.40266666666668-144.17066666666665-145.92-249.89866666666666 0-172.50133333333332 165.76-312.66133333333335 366.72-312.66133333333335 5.717333333333333-0.3413333333333333 12.415999999999999-0.512 19.157333333333334-0.512 163.32799999999997 0 300.58666666666664 111.40266666666668 340.0106666666667 262.4l-14.805333333333332 2.432c-183.04 0-327.03999999999996 112-327.03999999999996 285.44 0.512 26.709333333333333 5.1626666666666665 52.181333333333335 13.312 75.98933333333332zM872.96 812.8v0l21.759999999999998 67.84-81.28-40.959999999999994h-3.84c-21.119999999999997 6.101333333333333-45.397333333333336 9.6-70.48533333333333 9.6-0.17066666666666666 0-0.38399999999999995 0-0.5546666666666666 0-5.888 0.5973333333333333-12.757333333333332 0.9386666666666665-19.712 0.9386666666666665-107.09333333333332 0-195.2853333333333-80.93866666666666-206.71999999999997-184.95999999999998 10.367999999999999-106.96533333333333 99.072-189.1413333333333 206.976-189.1413333333333 5.973333333333334 0 11.861333333333334 0.256 17.706666666666663 0.7253333333333334 4.309333333333333-0.512 10.197333333333333-0.7253333333333334 16.170666666666666-0.7253333333333334 107.904 0 196.60799999999998 82.17599999999999 206.976 187.34933333333333-1.7066666666666666 63.82933333333333-35.79733333333333 118.44266666666665-86.18666666666667 148.90666666666667z"}},{"type":"element","name":"path","attributes":{"d":"M839.68 604.16c0 15.914666666666665-13.184 28.8-29.439999999999998 28.8s-29.439999999999998-12.885333333333332-29.439999999999998-28.8c0-15.914666666666665 13.184-28.8 29.439999999999998-28.8s29.439999999999998 12.885333333333332 29.439999999999998 28.8z"}}]}');
|
8861
|
-
var Component$
|
8860
|
+
var Component$F = defineComponent({
|
8862
8861
|
name: "Alert",
|
8863
8862
|
props: {
|
8864
8863
|
theme: TagThemeType().def(TagThemeEnum.INFO),
|
@@ -8915,8 +8914,8 @@ var Component$E = defineComponent({
|
|
8915
8914
|
}, [this.closeText ? this.closeText : createVNode(closeLine, null, null)])])]);
|
8916
8915
|
}
|
8917
8916
|
});
|
8918
|
-
const BkAlert = withInstall(Component$
|
8919
|
-
var Component$
|
8917
|
+
const BkAlert = withInstall(Component$F);
|
8918
|
+
var Component$E = defineComponent({
|
8920
8919
|
name: "AnimateNumber",
|
8921
8920
|
props: {
|
8922
8921
|
value: PropTypes.number.def(0),
|
@@ -8964,7 +8963,7 @@ var Component$D = defineComponent({
|
|
8964
8963
|
return () => createVNode("span", null, [formatValue.value]);
|
8965
8964
|
}
|
8966
8965
|
});
|
8967
|
-
const BkAnimateNumber = withInstall(Component$
|
8966
|
+
const BkAnimateNumber = withInstall(Component$E);
|
8968
8967
|
const on$1 = (() => {
|
8969
8968
|
if (document.addEventListener) {
|
8970
8969
|
return (element, event, handler) => {
|
@@ -8993,7 +8992,7 @@ const off$1 = (() => {
|
|
8993
8992
|
}
|
8994
8993
|
};
|
8995
8994
|
})();
|
8996
|
-
var Component$
|
8995
|
+
var Component$D = defineComponent({
|
8997
8996
|
name: "Affix",
|
8998
8997
|
props: {
|
8999
8998
|
offsetTop: PropTypes.number.def(0),
|
@@ -9118,8 +9117,8 @@ var Component$C = defineComponent({
|
|
9118
9117
|
};
|
9119
9118
|
}
|
9120
9119
|
});
|
9121
|
-
const BkAffix = withInstall(Component$
|
9122
|
-
var Component$
|
9120
|
+
const BkAffix = withInstall(Component$D);
|
9121
|
+
var Component$C = defineComponent({
|
9123
9122
|
name: "Backtop",
|
9124
9123
|
props: {
|
9125
9124
|
visibilityHeight: PropTypes.number.def(200),
|
@@ -9184,8 +9183,8 @@ var Component$B = defineComponent({
|
|
9184
9183
|
});
|
9185
9184
|
}
|
9186
9185
|
});
|
9187
|
-
const BkBacktop = withInstall(Component$
|
9188
|
-
var Component$
|
9186
|
+
const BkBacktop = withInstall(Component$C);
|
9187
|
+
var Component$B = defineComponent({
|
9189
9188
|
name: "Badge",
|
9190
9189
|
props: {
|
9191
9190
|
theme: PropTypes.string.def("primary"),
|
@@ -9261,8 +9260,8 @@ var Component$A = defineComponent({
|
|
9261
9260
|
}, [(_f = (_e = (_d = this.$slots).icon) == null ? void 0 : _e.call(_d)) != null ? _f : number]) : ""]);
|
9262
9261
|
}
|
9263
9262
|
});
|
9264
|
-
const BkBadge = withInstall(Component$
|
9265
|
-
var Component$
|
9263
|
+
const BkBadge = withInstall(Component$B);
|
9264
|
+
var Component$A = defineComponent({
|
9266
9265
|
name: "Breadcrumb",
|
9267
9266
|
props: {
|
9268
9267
|
extCls: PropTypes.string,
|
@@ -9376,7 +9375,7 @@ var BreadcrumbItem = defineComponent({
|
|
9376
9375
|
};
|
9377
9376
|
}
|
9378
9377
|
});
|
9379
|
-
const BkBreadcrumb = withInstallProps(Component$
|
9378
|
+
const BkBreadcrumb = withInstallProps(Component$A, { Item: BreadcrumbItem });
|
9380
9379
|
let BkLoadingMode;
|
9381
9380
|
(function(BkLoadingMode2) {
|
9382
9381
|
BkLoadingMode2["Default"] = "default";
|
@@ -9415,7 +9414,7 @@ const loadingTypes = {
|
|
9415
9414
|
color: PropTypes.string.def("white"),
|
9416
9415
|
zIndex: PropTypes.number.def(1)
|
9417
9416
|
};
|
9418
|
-
var Component$
|
9417
|
+
var Component$z = defineComponent({
|
9419
9418
|
name: "Loading",
|
9420
9419
|
props: loadingTypes,
|
9421
9420
|
setup(props2, ctx) {
|
@@ -9471,7 +9470,7 @@ var Component$y = defineComponent({
|
|
9471
9470
|
};
|
9472
9471
|
}
|
9473
9472
|
});
|
9474
|
-
const BkLoading = withInstallProps(Component$
|
9473
|
+
const BkLoading = withInstallProps(Component$z, { setDefaultIndicator, BkLoadingMode, BkLoadingSize }, true);
|
9475
9474
|
const btnSizes = ["", "small", "large"];
|
9476
9475
|
const buttonProps = {
|
9477
9476
|
theme: PropTypes.theme(),
|
@@ -9497,7 +9496,7 @@ const buttonProps = {
|
|
9497
9496
|
default: "button"
|
9498
9497
|
}
|
9499
9498
|
};
|
9500
|
-
var Component$
|
9499
|
+
var Component$y = defineComponent({
|
9501
9500
|
name: "Button",
|
9502
9501
|
props: buttonProps,
|
9503
9502
|
emits: ["click", "mouseover"],
|
@@ -9587,7 +9586,7 @@ var ButtonGroup = defineComponent({
|
|
9587
9586
|
};
|
9588
9587
|
}
|
9589
9588
|
});
|
9590
|
-
const BkButton = withInstallProps(Component$
|
9589
|
+
const BkButton = withInstallProps(Component$y, { ButtonGroup });
|
9591
9590
|
var CollapseTransition = defineComponent({
|
9592
9591
|
name: "CollapseTransition",
|
9593
9592
|
setup(_props, {
|
@@ -9724,7 +9723,7 @@ const inputEmitEventsType = {
|
|
9724
9723
|
[EVENTS$2.COMPOSITIONUPDATE]: CompositionEventFunction,
|
9725
9724
|
[EVENTS$2.COMPOSITIONEND]: CompositionEventFunction
|
9726
9725
|
};
|
9727
|
-
var Component$
|
9726
|
+
var Component$x = defineComponent({
|
9728
9727
|
name: "Input",
|
9729
9728
|
inheritAttrs: false,
|
9730
9729
|
props: inputType,
|
@@ -9945,8 +9944,8 @@ var Component$w = defineComponent({
|
|
9945
9944
|
};
|
9946
9945
|
}
|
9947
9946
|
});
|
9948
|
-
const BkInput = withInstall(Component$
|
9949
|
-
var Component$
|
9947
|
+
const BkInput = withInstall(Component$x);
|
9948
|
+
var Component$w = defineComponent({
|
9950
9949
|
name: "Card",
|
9951
9950
|
props: {
|
9952
9951
|
title: PropTypes.string,
|
@@ -10044,7 +10043,7 @@ var Component$v = defineComponent({
|
|
10044
10043
|
})]);
|
10045
10044
|
}
|
10046
10045
|
});
|
10047
|
-
const BkCard = withInstall(Component$
|
10046
|
+
const BkCard = withInstall(Component$w);
|
10048
10047
|
const checkboxGroupKey = Symbol("CheckboxGroup");
|
10049
10048
|
function useFocus$1() {
|
10050
10049
|
const isFocus = ref(false);
|
@@ -10154,7 +10153,7 @@ const checkboxProps = {
|
|
10154
10153
|
size: PropTypes.size().def(SizeEnum.LARGE),
|
10155
10154
|
immediateEmitChange: PropTypes.bool.def(true)
|
10156
10155
|
};
|
10157
|
-
var Component$
|
10156
|
+
var Component$v = defineComponent({
|
10158
10157
|
name: "Checkbox",
|
10159
10158
|
props: checkboxProps,
|
10160
10159
|
emits: ["update:modelValue", "change"],
|
@@ -10275,7 +10274,7 @@ var BkCheckboxGroup = defineComponent({
|
|
10275
10274
|
}, [(_a = this.$slots) == null ? void 0 : _a.default()]);
|
10276
10275
|
}
|
10277
10276
|
});
|
10278
|
-
const BkCheckbox = withInstallProps(Component$
|
10277
|
+
const BkCheckbox = withInstallProps(Component$v, { Group: BkCheckboxGroup });
|
10279
10278
|
const propsCollapse = {
|
10280
10279
|
list: PropTypes.arrayOf(PropTypes.any).def([]),
|
10281
10280
|
idFiled: PropTypes.string.def("$index"),
|
@@ -10528,7 +10527,7 @@ const propsMixin$1 = {
|
|
10528
10527
|
multiInstance: PropTypes.bool.def(true),
|
10529
10528
|
infoType: PropTypes.theme()
|
10530
10529
|
};
|
10531
|
-
var Component$
|
10530
|
+
var Component$u = defineComponent({
|
10532
10531
|
name: "Modal",
|
10533
10532
|
props: __spreadValues({}, propsMixin$1),
|
10534
10533
|
emits: ["quick-close", "quickClose", "hidden", "shown", "close"],
|
@@ -10643,7 +10642,7 @@ var Component$t = defineComponent({
|
|
10643
10642
|
})]);
|
10644
10643
|
}
|
10645
10644
|
});
|
10646
|
-
const BkModal = withInstallProps(Component$
|
10645
|
+
const BkModal = withInstallProps(Component$u, { propsMixin: propsMixin$1 }, true);
|
10647
10646
|
const props$1 = __spreadProps(__spreadValues({}, propsMixin$1), {
|
10648
10647
|
width: PropTypes.oneOfType([String, Number]).def(""),
|
10649
10648
|
height: PropTypes.oneOfType([String, Number]).def(""),
|
@@ -11022,7 +11021,7 @@ var Exception = defineComponent({
|
|
11022
11021
|
}
|
11023
11022
|
});
|
11024
11023
|
const BkException = withInstall(Exception);
|
11025
|
-
var Component$
|
11024
|
+
var Component$t = defineComponent({
|
11026
11025
|
name: "FixedNavbar",
|
11027
11026
|
props: {
|
11028
11027
|
navItems: PropTypes.array.def([]),
|
@@ -11063,7 +11062,7 @@ var Component$s = defineComponent({
|
|
11063
11062
|
}, [item.text]) : ""]))]);
|
11064
11063
|
}
|
11065
11064
|
});
|
11066
|
-
const BkFixedNavbar = withInstall(Component$
|
11065
|
+
const BkFixedNavbar = withInstall(Component$t);
|
11067
11066
|
var LinkThemeEnum;
|
11068
11067
|
(function(LinkThemeEnum2) {
|
11069
11068
|
LinkThemeEnum2["DANGER"] = "danger";
|
@@ -11072,7 +11071,7 @@ var LinkThemeEnum;
|
|
11072
11071
|
LinkThemeEnum2["WARNING"] = "warning";
|
11073
11072
|
LinkThemeEnum2["DEFAULT"] = "default";
|
11074
11073
|
})(LinkThemeEnum || (LinkThemeEnum = {}));
|
11075
|
-
var Component$
|
11074
|
+
var Component$s = defineComponent({
|
11076
11075
|
name: "Link",
|
11077
11076
|
props: {
|
11078
11077
|
theme: j("linkTheme", {}).def(LinkThemeEnum.DEFAULT),
|
@@ -11110,7 +11109,7 @@ var Component$r = defineComponent({
|
|
11110
11109
|
}, [createVNode("span", null, [(_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)])]);
|
11111
11110
|
}
|
11112
11111
|
});
|
11113
|
-
const BkLink = withInstall(Component$
|
11112
|
+
const BkLink = withInstall(Component$s);
|
11114
11113
|
const isElement$2 = (e) => {
|
11115
11114
|
if (typeof Element === "undefined")
|
11116
11115
|
return false;
|
@@ -11214,7 +11213,8 @@ var Content = defineComponent({
|
|
11214
11213
|
props: {
|
11215
11214
|
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).def("auto"),
|
11216
11215
|
height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).def("auto"),
|
11217
|
-
maxHeight: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).def("auto")
|
11216
|
+
maxHeight: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).def("auto"),
|
11217
|
+
extCls: PropTypes.string.def("")
|
11218
11218
|
},
|
11219
11219
|
setup(props2) {
|
11220
11220
|
const resolveValToPix = (val) => {
|
@@ -11234,7 +11234,7 @@ var Content = defineComponent({
|
|
11234
11234
|
},
|
11235
11235
|
render() {
|
11236
11236
|
var _a, _b, _c, _d, _e, _f;
|
11237
|
-
const className = [resolveClassName("popover"), resolveClassName("pop2-content")];
|
11237
|
+
const className = [resolveClassName("popover"), resolveClassName("pop2-content"), this.extCls];
|
11238
11238
|
return createVNode("div", {
|
11239
11239
|
"class": className,
|
11240
11240
|
"tabindex": "-1",
|
@@ -11257,7 +11257,7 @@ const PopoverProps = __spreadValues({
|
|
11257
11257
|
allowHtml: PropTypes.bool.def(false),
|
11258
11258
|
placement: placementType().def(PlacementEnum.TOP),
|
11259
11259
|
theme: PropTypes.string.def("dark"),
|
11260
|
-
trigger: triggerType(),
|
11260
|
+
trigger: triggerType$1(),
|
11261
11261
|
renderType: renderType(),
|
11262
11262
|
arrow: PropTypes.bool.def(true),
|
11263
11263
|
padding: PropTypes.number.def(5),
|
@@ -11271,7 +11271,8 @@ const PopoverProps = __spreadValues({
|
|
11271
11271
|
disableTransform: PropTypes.bool.def(false),
|
11272
11272
|
reference: PropTypes.any.def(null),
|
11273
11273
|
modifiers: PropTypes.array.def([]),
|
11274
|
-
popoverDelay: PropTypes.oneOfType([PropTypes.number, PropTypes.arrayOf(PropTypes.number)]).def(100)
|
11274
|
+
popoverDelay: PropTypes.oneOfType([PropTypes.number, PropTypes.arrayOf(PropTypes.number)]).def(100),
|
11275
|
+
extCls: PropTypes.string.def("")
|
11275
11276
|
}, EventProps$1);
|
11276
11277
|
var Reference = defineComponent({
|
11277
11278
|
name: "PopReference",
|
@@ -12892,6 +12893,9 @@ var useFloating = (props2, ctx, {
|
|
12892
12893
|
const updateFullscreenTarget = (val) => {
|
12893
12894
|
fullScreenTarget.value = val;
|
12894
12895
|
};
|
12896
|
+
watch(() => props2.isShow, (val) => {
|
12897
|
+
localIsShow.value = val;
|
12898
|
+
});
|
12895
12899
|
watch(localIsShow, (val) => {
|
12896
12900
|
if (val) {
|
12897
12901
|
hanldePopoverShow();
|
@@ -13133,7 +13137,7 @@ var usePopoverInit = (props2, ctx, { refReference, refContent, refArrow, refRoot
|
|
13133
13137
|
localIsShow
|
13134
13138
|
};
|
13135
13139
|
};
|
13136
|
-
var Component$
|
13140
|
+
var Component$r = defineComponent({
|
13137
13141
|
name: "Popover",
|
13138
13142
|
components: {
|
13139
13143
|
Content,
|
@@ -13268,6 +13272,7 @@ var Component$q = defineComponent({
|
|
13268
13272
|
default: () => [withDirectives(createVNode(Content, {
|
13269
13273
|
"ref": "refContent",
|
13270
13274
|
"data-theme": this.theme,
|
13275
|
+
"extCls": this.extCls,
|
13271
13276
|
"width": this.width,
|
13272
13277
|
"height": this.height,
|
13273
13278
|
"maxHeight": this.maxHeight
|
@@ -13384,7 +13389,7 @@ function createPopoverComponent(options) {
|
|
13384
13389
|
updateTarget,
|
13385
13390
|
stopHide
|
13386
13391
|
});
|
13387
|
-
return () => createVNode(Component$
|
13392
|
+
return () => createVNode(Component$r, mergeProps(attrs.value, {
|
13388
13393
|
"ref": refReference,
|
13389
13394
|
"onContentMouseenter": handleContentMouseenter,
|
13390
13395
|
"onContentMouseleave": handleContentMouseleave
|
@@ -13446,7 +13451,7 @@ function createPopoverComponent(options) {
|
|
13446
13451
|
}
|
13447
13452
|
};
|
13448
13453
|
}
|
13449
|
-
const BkPopover = withInstall(Component$
|
13454
|
+
const BkPopover = withInstall(Component$r);
|
13450
13455
|
var popover = defineComponent({
|
13451
13456
|
name: "Popover2",
|
13452
13457
|
setup() {
|
@@ -13576,7 +13581,7 @@ const Line = (_2, {
|
|
13576
13581
|
function _isSlot$5(s2) {
|
13577
13582
|
return typeof s2 === "function" || Object.prototype.toString.call(s2) === "[object Object]" && !isVNode(s2);
|
13578
13583
|
}
|
13579
|
-
var Component$
|
13584
|
+
var Component$q = defineComponent({
|
13580
13585
|
name: "Progress",
|
13581
13586
|
props: {
|
13582
13587
|
extCls: PropTypes.string,
|
@@ -13654,7 +13659,7 @@ var Component$p = defineComponent({
|
|
13654
13659
|
return createVNode("div", progressProps, [progress2]);
|
13655
13660
|
}
|
13656
13661
|
});
|
13657
|
-
const BkProgress = withInstall(Component$
|
13662
|
+
const BkProgress = withInstall(Component$q);
|
13658
13663
|
const radioGroupKey = Symbol("RadioGroup");
|
13659
13664
|
function useFocus() {
|
13660
13665
|
const isFocused = ref(false);
|
@@ -13748,7 +13753,7 @@ const radioProps = {
|
|
13748
13753
|
checked: PropTypes.bool.def(false),
|
13749
13754
|
disabled: PropTypes.bool.def(false)
|
13750
13755
|
};
|
13751
|
-
var Component$
|
13756
|
+
var Component$p = defineComponent({
|
13752
13757
|
name: "Radio",
|
13753
13758
|
props: radioProps,
|
13754
13759
|
emits: ["change", "update:modelValue"],
|
@@ -13930,7 +13935,7 @@ var RadioGroup = defineComponent({
|
|
13930
13935
|
}, [(_a = this.$slots) == null ? void 0 : _a.default()]);
|
13931
13936
|
}
|
13932
13937
|
});
|
13933
|
-
const BkRadio = withInstallProps(Component$
|
13938
|
+
const BkRadio = withInstallProps(Component$p, { Group: RadioGroup, Button: RadioButton });
|
13934
13939
|
var star = defineComponent({
|
13935
13940
|
name: "Star",
|
13936
13941
|
props: {
|
@@ -13992,7 +13997,7 @@ var star = defineComponent({
|
|
13992
13997
|
}, null)])])])])]))]);
|
13993
13998
|
}
|
13994
13999
|
});
|
13995
|
-
var Component$
|
14000
|
+
var Component$o = defineComponent({
|
13996
14001
|
name: "Rate",
|
13997
14002
|
components: {
|
13998
14003
|
star
|
@@ -14072,8 +14077,8 @@ var Component$n = defineComponent({
|
|
14072
14077
|
}, commonAttrs), null)]]);
|
14073
14078
|
}
|
14074
14079
|
});
|
14075
|
-
const BkRate = withInstall(Component$
|
14076
|
-
var Component$
|
14080
|
+
const BkRate = withInstall(Component$o);
|
14081
|
+
var Component$n = defineComponent({
|
14077
14082
|
name: "Swiper",
|
14078
14083
|
props: {
|
14079
14084
|
isLoop: PropTypes.bool.def(true),
|
@@ -14232,7 +14237,7 @@ var Component$m = defineComponent({
|
|
14232
14237
|
}, null)])]);
|
14233
14238
|
}
|
14234
14239
|
});
|
14235
|
-
const BkSwiper = withInstall(Component$
|
14240
|
+
const BkSwiper = withInstall(Component$n);
|
14236
14241
|
const selectKey = Symbol("BkSelect");
|
14237
14242
|
const optionGroupKey = Symbol("BkOptionGroup");
|
14238
14243
|
function useHover() {
|
@@ -15262,7 +15267,7 @@ var virtualRender = {
|
|
15262
15267
|
}
|
15263
15268
|
}
|
15264
15269
|
};
|
15265
|
-
var Component$
|
15270
|
+
var Component$m = defineComponent({
|
15266
15271
|
name: "VirtualRender",
|
15267
15272
|
directives: {
|
15268
15273
|
bkVirtualRender: virtualRender
|
@@ -15434,14 +15439,14 @@ var Component$l = defineComponent({
|
|
15434
15439
|
};
|
15435
15440
|
}
|
15436
15441
|
});
|
15437
|
-
const BkVirtualRender = withInstall(Component$
|
15442
|
+
const BkVirtualRender = withInstall(Component$m);
|
15438
15443
|
var TagStrokeType;
|
15439
15444
|
(function(TagStrokeType2) {
|
15440
15445
|
TagStrokeType2["UNKNOWN"] = "";
|
15441
15446
|
TagStrokeType2["FILLED"] = "filled";
|
15442
15447
|
TagStrokeType2["STROKE"] = "stroke";
|
15443
15448
|
})(TagStrokeType || (TagStrokeType = {}));
|
15444
|
-
var Component$
|
15449
|
+
var Component$l = defineComponent({
|
15445
15450
|
name: "Tag",
|
15446
15451
|
props: {
|
15447
15452
|
theme: TagThemeType(),
|
@@ -15503,7 +15508,7 @@ var Component$k = defineComponent({
|
|
15503
15508
|
}, null) : ""]);
|
15504
15509
|
}
|
15505
15510
|
});
|
15506
|
-
const BkTag = withInstall(Component$
|
15511
|
+
const BkTag = withInstall(Component$l);
|
15507
15512
|
var SelectTagInput = defineComponent({
|
15508
15513
|
name: "SelectTagInput",
|
15509
15514
|
props: {
|
@@ -15641,7 +15646,7 @@ var SelectTagInput = defineComponent({
|
|
15641
15646
|
}, null), (_g = (_f = this.$slots) == null ? void 0 : _f.suffix) == null ? void 0 : _g.call(_f)]);
|
15642
15647
|
}
|
15643
15648
|
});
|
15644
|
-
var Component$
|
15649
|
+
var Component$k = defineComponent({
|
15645
15650
|
name: "Select",
|
15646
15651
|
directives: {
|
15647
15652
|
clickoutside: ClickOutside
|
@@ -15822,10 +15827,10 @@ var Component$j = defineComponent({
|
|
15822
15827
|
const isCollapseTags = computed(() => autoHeight.value ? collapseTags.value && !isPopoverShow.value : collapseTags.value);
|
15823
15828
|
const popoverConfig = computed(() => lodash.exports.merge({
|
15824
15829
|
theme: "light bk-select-popover",
|
15825
|
-
trigger:
|
15830
|
+
trigger: "manual",
|
15826
15831
|
width: popperWidth.value,
|
15827
15832
|
arrow: false,
|
15828
|
-
placement:
|
15833
|
+
placement: "bottom-start",
|
15829
15834
|
isShow: isPopoverShow.value,
|
15830
15835
|
reference: selectTagInputRef.value,
|
15831
15836
|
offset: 6,
|
@@ -16356,7 +16361,7 @@ var Component$j = defineComponent({
|
|
16356
16361
|
})]);
|
16357
16362
|
}
|
16358
16363
|
});
|
16359
|
-
const BkSelect = withInstallProps(Component$
|
16364
|
+
const BkSelect = withInstallProps(Component$k, { Option: BkOption, Group: OptionGroup });
|
16360
16365
|
function _isSlot$4(s2) {
|
16361
16366
|
return typeof s2 === "function" || Object.prototype.toString.call(s2) === "[object Object]" && !isVNode(s2);
|
16362
16367
|
}
|
@@ -16366,7 +16371,7 @@ const {
|
|
16366
16371
|
const sliderPops = Object.assign({}, propsMixin);
|
16367
16372
|
sliderPops.width.default = "400";
|
16368
16373
|
sliderPops.height.default = "100%";
|
16369
|
-
var Component$
|
16374
|
+
var Component$j = defineComponent({
|
16370
16375
|
name: "Sideslider",
|
16371
16376
|
components: {
|
16372
16377
|
BkModal,
|
@@ -16457,7 +16462,7 @@ var Component$i = defineComponent({
|
|
16457
16462
|
};
|
16458
16463
|
}
|
16459
16464
|
});
|
16460
|
-
const BkSideslider = withInstall(Component$
|
16465
|
+
const BkSideslider = withInstall(Component$j);
|
16461
16466
|
var StatusEnum;
|
16462
16467
|
(function(StatusEnum2) {
|
16463
16468
|
StatusEnum2["UNKNOWN"] = "";
|
@@ -16477,7 +16482,7 @@ const stepsProps = {
|
|
16477
16482
|
steps: PropTypes.array.def([]),
|
16478
16483
|
beforeChange: PropTypes.func
|
16479
16484
|
};
|
16480
|
-
var Component$
|
16485
|
+
var Component$i = defineComponent({
|
16481
16486
|
name: "Steps",
|
16482
16487
|
props: stepsProps,
|
16483
16488
|
emits: ["update:curStep", "click"],
|
@@ -16636,8 +16641,8 @@ var Component$h = defineComponent({
|
|
16636
16641
|
})]);
|
16637
16642
|
}
|
16638
16643
|
});
|
16639
|
-
const BkSteps = withInstall(Component$
|
16640
|
-
var Component$
|
16644
|
+
const BkSteps = withInstall(Component$i);
|
16645
|
+
var Component$h = defineComponent({
|
16641
16646
|
name: "Switcher",
|
16642
16647
|
props: {
|
16643
16648
|
theme: PropTypes.theme(),
|
@@ -16739,7 +16744,7 @@ var Component$g = defineComponent({
|
|
16739
16744
|
}, [isChecked.value ? props2.onText : props2.offText]) : ""]);
|
16740
16745
|
}
|
16741
16746
|
});
|
16742
|
-
const BkSwitcher = withInstall(Component$
|
16747
|
+
const BkSwitcher = withInstall(Component$h);
|
16743
16748
|
var BORDER_OPTION = /* @__PURE__ */ ((BORDER_OPTION2) => {
|
16744
16749
|
BORDER_OPTION2["NONE"] = "none";
|
16745
16750
|
BORDER_OPTION2["ROW"] = "row";
|
@@ -17577,7 +17582,7 @@ const paginationProps = {
|
|
17577
17582
|
return value.some((item) => layoutNameMap[item]);
|
17578
17583
|
}, "layout \u7684\u503C\u53EA\u652F\u6301 * total\u3001list\u3001limit *").def(["total", "list", "limit"])
|
17579
17584
|
};
|
17580
|
-
var Component$
|
17585
|
+
var Component$g = defineComponent({
|
17581
17586
|
name: "Pagination",
|
17582
17587
|
props: paginationProps,
|
17583
17588
|
emits: ["update:modelValue", "change", "update:limit", "limitChange"],
|
@@ -17648,7 +17653,7 @@ var Component$f = defineComponent({
|
|
17648
17653
|
}))]);
|
17649
17654
|
}
|
17650
17655
|
});
|
17651
|
-
const BkPagination = withInstall(Component$
|
17656
|
+
const BkPagination = withInstall(Component$g);
|
17652
17657
|
var MapShim = function() {
|
17653
17658
|
if (typeof Map !== "undefined") {
|
17654
17659
|
return Map;
|
@@ -20333,7 +20338,7 @@ const useInit = (props2, targetColumns) => {
|
|
20333
20338
|
clearSort
|
20334
20339
|
};
|
20335
20340
|
};
|
20336
|
-
var Component$
|
20341
|
+
var Component$f = defineComponent({
|
20337
20342
|
name: "Table",
|
20338
20343
|
props: tableProps,
|
20339
20344
|
emits: EMIT_EVENT_TYPES,
|
@@ -20692,7 +20697,7 @@ var Component$e = defineComponent({
|
|
20692
20697
|
};
|
20693
20698
|
}
|
20694
20699
|
});
|
20695
|
-
const BkTable = withInstall(Component$
|
20700
|
+
const BkTable = withInstall(Component$f);
|
20696
20701
|
withInstall(Column);
|
20697
20702
|
const BkTableColumn = withInstall(Column);
|
20698
20703
|
const INPUT_MIN_WIDTH = 12;
|
@@ -20939,7 +20944,7 @@ var TagRender = defineComponent({
|
|
20939
20944
|
}, [this.node[this.displayKey]])]), [[resolveDirective("bk-tooltips"), this.overflowTips]]);
|
20940
20945
|
}
|
20941
20946
|
});
|
20942
|
-
var Component$
|
20947
|
+
var Component$e = defineComponent({
|
20943
20948
|
name: "TagInput",
|
20944
20949
|
directives: {
|
20945
20950
|
bkTooltips: tooltips
|
@@ -21734,7 +21739,7 @@ var Component$d = defineComponent({
|
|
21734
21739
|
})]);
|
21735
21740
|
}
|
21736
21741
|
});
|
21737
|
-
const TagInput = withInstall(Component$
|
21742
|
+
const TagInput = withInstall(Component$e);
|
21738
21743
|
const dividerProps = {
|
21739
21744
|
direction: directionType(),
|
21740
21745
|
align: alignType().def(AlignEnum.CENTER),
|
@@ -22802,7 +22807,7 @@ const menuProps = {
|
|
22802
22807
|
default: true
|
22803
22808
|
}
|
22804
22809
|
};
|
22805
|
-
var Component$
|
22810
|
+
var Component$d = defineComponent({
|
22806
22811
|
name: "Menu",
|
22807
22812
|
props: menuProps,
|
22808
22813
|
emits: ["update:activeKey", "update:openKeys", "click", "openChange"],
|
@@ -23049,7 +23054,7 @@ var Submenu = defineComponent({
|
|
23049
23054
|
};
|
23050
23055
|
}
|
23051
23056
|
});
|
23052
|
-
const BkMenu = withInstallProps(Component$
|
23057
|
+
const BkMenu = withInstallProps(Component$d, { Item, Submenu, Group });
|
23053
23058
|
const TitleProps = {
|
23054
23059
|
sideTitle: {
|
23055
23060
|
type: String,
|
@@ -23129,7 +23134,7 @@ const NavigationProps = {
|
|
23129
23134
|
default: true
|
23130
23135
|
}
|
23131
23136
|
};
|
23132
|
-
var Component$
|
23137
|
+
var Component$c = defineComponent({
|
23133
23138
|
name: "Navigation",
|
23134
23139
|
props: NavigationProps,
|
23135
23140
|
emits: ["leave", "toggle", "hover", "toggle-click"],
|
@@ -23271,7 +23276,7 @@ var Component$b = defineComponent({
|
|
23271
23276
|
}, [(_l = (_k = this.$slots).footer) == null ? void 0 : _l.call(_k)])])])])]);
|
23272
23277
|
}
|
23273
23278
|
});
|
23274
|
-
const Navigation = withInstall(Component$
|
23279
|
+
const Navigation = withInstall(Component$c);
|
23275
23280
|
const pickerDropdownProps = {
|
23276
23281
|
placement: {
|
23277
23282
|
type: String,
|
@@ -27498,7 +27503,7 @@ var DateRangePanel = defineComponent({
|
|
27498
27503
|
}, this.$slots) : ""]), shortcuts]);
|
27499
27504
|
}
|
27500
27505
|
});
|
27501
|
-
var Component$
|
27506
|
+
var Component$b = defineComponent({
|
27502
27507
|
name: "DatePicker",
|
27503
27508
|
directives: {
|
27504
27509
|
clickoutside: ClickOutside
|
@@ -28591,7 +28596,7 @@ var TimePicker = defineComponent({
|
|
28591
28596
|
})]), [[resolveDirective("clickoutside"), this.handleClose]]);
|
28592
28597
|
}
|
28593
28598
|
});
|
28594
|
-
const BkDatePicker = withInstall(Component$
|
28599
|
+
const BkDatePicker = withInstall(Component$b);
|
28595
28600
|
var ArrayType = /* @__PURE__ */ ((ArrayType2) => {
|
28596
28601
|
ArrayType2["OBJECT_ARRAY"] = "objectArray";
|
28597
28602
|
ArrayType2["BASE_ARRAY"] = "baseArray";
|
@@ -28655,7 +28660,7 @@ function useSelectListSearch(selectList, displayCode) {
|
|
28655
28660
|
selectListSearch
|
28656
28661
|
};
|
28657
28662
|
}
|
28658
|
-
var Component$
|
28663
|
+
var Component$a = defineComponent({
|
28659
28664
|
name: "Transfer",
|
28660
28665
|
props: transferProps,
|
28661
28666
|
emits: ["change", "update:targetList"],
|
@@ -28852,7 +28857,7 @@ var Component$9 = defineComponent({
|
|
28852
28857
|
}, [getHeaderHtml("right-header"), getListContentHtml("right")])]);
|
28853
28858
|
}
|
28854
28859
|
});
|
28855
|
-
const Transfer = withInstall(Component$
|
28860
|
+
const Transfer = withInstall(Component$a);
|
28856
28861
|
var EVENTS = /* @__PURE__ */ ((EVENTS2) => {
|
28857
28862
|
EVENTS2["NODE_CLICK"] = "nodeClick";
|
28858
28863
|
EVENTS2["NODE_COLLAPSE"] = "nodeCollapse";
|
@@ -30039,7 +30044,7 @@ var useTreeInit = (props2) => {
|
|
30039
30044
|
onSelected
|
30040
30045
|
};
|
30041
30046
|
};
|
30042
|
-
var Component$
|
30047
|
+
var Component$9 = defineComponent({
|
30043
30048
|
name: "Tree",
|
30044
30049
|
props: treeProps,
|
30045
30050
|
emits: TreeEmitEventsType,
|
@@ -30151,7 +30156,7 @@ var Component$8 = defineComponent({
|
|
30151
30156
|
});
|
30152
30157
|
}
|
30153
30158
|
});
|
30154
|
-
const BkTree = withInstall(Component$
|
30159
|
+
const BkTree = withInstall(Component$9);
|
30155
30160
|
const isCustomComponent = (node) => node.__v_isVNode;
|
30156
30161
|
var ComposeFormItem = defineComponent({
|
30157
30162
|
name: "ComposeFormItem",
|
@@ -30743,7 +30748,7 @@ var Dropdown = defineComponent({
|
|
30743
30748
|
props: {
|
30744
30749
|
isShow: PropTypes.bool.def(false),
|
30745
30750
|
placement: placementType(),
|
30746
|
-
trigger: triggerType(),
|
30751
|
+
trigger: triggerType$1(),
|
30747
30752
|
disabled: PropTypes.bool.def(false),
|
30748
30753
|
popoverOptions: PropTypes.object.def({}),
|
30749
30754
|
extCls: PropTypes.string
|
@@ -31234,7 +31239,7 @@ class Store {
|
|
31234
31239
|
nodeDataList.forEach((node) => this.appendNode(node, parentNode));
|
31235
31240
|
}
|
31236
31241
|
}
|
31237
|
-
var Component$
|
31242
|
+
var Component$8 = defineComponent({
|
31238
31243
|
name: "Cascader",
|
31239
31244
|
directives: {
|
31240
31245
|
bkTooltips: tooltips
|
@@ -31553,7 +31558,7 @@ var Component$7 = defineComponent({
|
|
31553
31558
|
})])]);
|
31554
31559
|
}
|
31555
31560
|
});
|
31556
|
-
const BkCascader = withInstallProps(Component$
|
31561
|
+
const BkCascader = withInstallProps(Component$8, { CascaderPanel });
|
31557
31562
|
var SliderButton = defineComponent({
|
31558
31563
|
name: "SliderButton",
|
31559
31564
|
props: {
|
@@ -31724,7 +31729,7 @@ const off = (element, event, handler) => {
|
|
31724
31729
|
element.removeEventListener(event, handler, false);
|
31725
31730
|
}
|
31726
31731
|
};
|
31727
|
-
var Component$
|
31732
|
+
var Component$7 = defineComponent({
|
31728
31733
|
name: "Slider",
|
31729
31734
|
props: {
|
31730
31735
|
modelValue: PropTypes.oneOfType([PropTypes.array, PropTypes.number]),
|
@@ -32170,8 +32175,8 @@ var Component$6 = defineComponent({
|
|
32170
32175
|
return this.renderDom();
|
32171
32176
|
}
|
32172
32177
|
});
|
32173
|
-
const Slider = withInstall(Component$
|
32174
|
-
var Component$
|
32178
|
+
const Slider = withInstall(Component$7);
|
32179
|
+
var Component$6 = defineComponent({
|
32175
32180
|
name: "ResizeLayout",
|
32176
32181
|
props: {
|
32177
32182
|
placement: PropTypes.placement().def("left"),
|
@@ -32426,13 +32431,13 @@ var Component$5 = defineComponent({
|
|
32426
32431
|
}, null)]);
|
32427
32432
|
}
|
32428
32433
|
});
|
32429
|
-
const BkResizeLayout = withInstall(Component$
|
32434
|
+
const BkResizeLayout = withInstall(Component$6);
|
32430
32435
|
const timelineProps = {
|
32431
32436
|
list: PropTypes.array.def([]),
|
32432
32437
|
titleAble: PropTypes.bool.def(false),
|
32433
32438
|
extCls: PropTypes.string
|
32434
32439
|
};
|
32435
|
-
var Component$
|
32440
|
+
var Component$5 = defineComponent({
|
32436
32441
|
name: "Timeline",
|
32437
32442
|
props: timelineProps,
|
32438
32443
|
emits: ["select"],
|
@@ -32545,7 +32550,7 @@ var Component$4 = defineComponent({
|
|
32545
32550
|
})]);
|
32546
32551
|
}
|
32547
32552
|
});
|
32548
|
-
const BkTimeline = withInstall(Component$
|
32553
|
+
const BkTimeline = withInstall(Component$5);
|
32549
32554
|
const processProps = {
|
32550
32555
|
list: PropTypes.array.def([]),
|
32551
32556
|
controllable: PropTypes.bool.def(false),
|
@@ -32554,7 +32559,7 @@ const processProps = {
|
|
32554
32559
|
displayKey: PropTypes.string.def("content"),
|
32555
32560
|
extCls: PropTypes.string
|
32556
32561
|
};
|
32557
|
-
var Component$
|
32562
|
+
var Component$4 = defineComponent({
|
32558
32563
|
name: "Process",
|
32559
32564
|
props: processProps,
|
32560
32565
|
emits: ["update:curProcess", "click"],
|
@@ -32654,7 +32659,7 @@ var Component$3 = defineComponent({
|
|
32654
32659
|
}, [item[this.displayKey]]), renderIcon(index2, item)])]))])]);
|
32655
32660
|
}
|
32656
32661
|
});
|
32657
|
-
const BkProcess = withInstall(Component$
|
32662
|
+
const BkProcess = withInstall(Component$4);
|
32658
32663
|
const CLASS_PREFIX = "bk-upload";
|
32659
32664
|
var EThemes = /* @__PURE__ */ ((EThemes2) => {
|
32660
32665
|
EThemes2["BUTTON"] = "button";
|
@@ -33931,7 +33936,7 @@ var useFileHandler = (props2, hooks) => {
|
|
33931
33936
|
handleProgress
|
33932
33937
|
};
|
33933
33938
|
};
|
33934
|
-
var Component$
|
33939
|
+
var Component$3 = defineComponent({
|
33935
33940
|
name: "Upload",
|
33936
33941
|
props: uploadProps,
|
33937
33942
|
emits: ["exceed", "progress", "success", "error", "delete", "done"],
|
@@ -34136,7 +34141,7 @@ var Component$2 = defineComponent({
|
|
34136
34141
|
})]);
|
34137
34142
|
}
|
34138
34143
|
});
|
34139
|
-
const Upload = withInstall(Component$
|
34144
|
+
const Upload = withInstall(Component$3);
|
34140
34145
|
function Diff$1() {
|
34141
34146
|
}
|
34142
34147
|
Diff$1.prototype = {
|
@@ -38491,7 +38496,7 @@ const colorPickerProps = {
|
|
38491
38496
|
withValidate: PropTypes.bool.def(true)
|
38492
38497
|
};
|
38493
38498
|
const whiteColorObj = formatColor("#FFFFFF");
|
38494
|
-
var Component$
|
38499
|
+
var Component$2 = defineComponent({
|
38495
38500
|
name: "ColorPicker",
|
38496
38501
|
directives: {
|
38497
38502
|
clickoutside: ClickOutside
|
@@ -38683,7 +38688,7 @@ var Component$1 = defineComponent({
|
|
38683
38688
|
})]), [[resolveDirective("clickoutside"), hideDropDown]]);
|
38684
38689
|
}
|
38685
38690
|
});
|
38686
|
-
const BkColorPicker = withInstall(Component$
|
38691
|
+
const BkColorPicker = withInstall(Component$2);
|
38687
38692
|
const BkTimePicker = withInstall(TimePicker);
|
38688
38693
|
var raf = null;
|
38689
38694
|
function requestAnimationFrame$1(callback) {
|
@@ -39889,7 +39894,7 @@ const SearchSelectProps = {
|
|
39889
39894
|
}
|
39890
39895
|
}
|
39891
39896
|
};
|
39892
|
-
var Component = defineComponent({
|
39897
|
+
var Component$1 = defineComponent({
|
39893
39898
|
name: "SearchSelect",
|
39894
39899
|
directives: {
|
39895
39900
|
clickoutside: ClickOutside
|
@@ -40144,7 +40149,86 @@ var Component = defineComponent({
|
|
40144
40149
|
}, null), this.validateStr || ""])])]);
|
40145
40150
|
}
|
40146
40151
|
});
|
40147
|
-
const BkSearchSelect = withInstall(Component);
|
40152
|
+
const BkSearchSelect = withInstall(Component$1);
|
40153
|
+
function triggerType() {
|
40154
|
+
return j("trigger", {}).def("hover");
|
40155
|
+
}
|
40156
|
+
const PopConfirmProps = {
|
40157
|
+
trigger: triggerType(),
|
40158
|
+
title: PropTypes.string,
|
40159
|
+
content: PropTypes.string,
|
40160
|
+
confirmText: PropTypes.string,
|
40161
|
+
cancelText: PropTypes.string,
|
40162
|
+
placement: PropTypes.oneOfType([placementType().def(PlacementEnum.TOP), PropTypes.string]).def(PlacementEnum.TOP),
|
40163
|
+
theme: PropTypes.string.def("light "),
|
40164
|
+
icon: PropTypes.string.def(""),
|
40165
|
+
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).def("auto")
|
40166
|
+
};
|
40167
|
+
var Component = defineComponent({
|
40168
|
+
name: "PopConfirm",
|
40169
|
+
components: {
|
40170
|
+
BkPopover,
|
40171
|
+
BkButton
|
40172
|
+
},
|
40173
|
+
props: PopConfirmProps,
|
40174
|
+
emits: ["confirm", "cancel"],
|
40175
|
+
setup(props2, {
|
40176
|
+
emit,
|
40177
|
+
slots
|
40178
|
+
}) {
|
40179
|
+
const visible = ref(false);
|
40180
|
+
const t2 = useLocale("popConfirm");
|
40181
|
+
function ensure(e) {
|
40182
|
+
visible.value = false;
|
40183
|
+
emit("confirm");
|
40184
|
+
e.stopPropagation();
|
40185
|
+
}
|
40186
|
+
function cancel(e) {
|
40187
|
+
visible.value = false;
|
40188
|
+
emit("cancel");
|
40189
|
+
e.stopPropagation();
|
40190
|
+
}
|
40191
|
+
function renderIcon() {
|
40192
|
+
if (typeof slots.icon === "function") {
|
40193
|
+
return slots.icon();
|
40194
|
+
}
|
40195
|
+
return props2.icon;
|
40196
|
+
}
|
40197
|
+
return () => createVNode(BkPopover, {
|
40198
|
+
"isShow": visible.value,
|
40199
|
+
"trigger": props2.trigger,
|
40200
|
+
"theme": props2.theme,
|
40201
|
+
"width": props2.width,
|
40202
|
+
"onAfterShow": () => visible.value = true,
|
40203
|
+
"extCls": "bk-pop-confirm-box"
|
40204
|
+
}, {
|
40205
|
+
default: () => slots.default(),
|
40206
|
+
content: () => createVNode("div", {
|
40207
|
+
"class": "bk-pop-confirm"
|
40208
|
+
}, [typeof slots.content === "function" ? slots.content() : createVNode(Fragment, null, [props2.title ? createVNode("div", {
|
40209
|
+
"class": "bk-pop-confirm-title"
|
40210
|
+
}, [createVNode("span", {
|
40211
|
+
"class": "bk-pop-confirm-icon"
|
40212
|
+
}, [renderIcon()]), createVNode("span", null, [props2.title])]) : "", createVNode("div", {
|
40213
|
+
"class": "bk-pop-confirm-content"
|
40214
|
+
}, [!props2.title ? renderIcon() : "", props2.content])]), createVNode("div", {
|
40215
|
+
"class": "bk-pop-confirm-footer"
|
40216
|
+
}, [createVNode(BkButton, {
|
40217
|
+
"onClick": ensure,
|
40218
|
+
"size": "small",
|
40219
|
+
"theme": "primary"
|
40220
|
+
}, {
|
40221
|
+
default: () => [t2.value.ok]
|
40222
|
+
}), createVNode(BkButton, {
|
40223
|
+
"onClick": cancel,
|
40224
|
+
"size": "small"
|
40225
|
+
}, {
|
40226
|
+
default: () => [t2.value.cancel]
|
40227
|
+
})])])
|
40228
|
+
});
|
40229
|
+
}
|
40230
|
+
});
|
40231
|
+
const BKPopConfirm = withInstall(Component);
|
40148
40232
|
var components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
40149
40233
|
__proto__: null,
|
40150
40234
|
Alert: BkAlert,
|
@@ -40206,7 +40290,8 @@ var components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
|
|
40206
40290
|
SearchSelect: BkSearchSelect,
|
40207
40291
|
OverflowTitle: BkOverflowTitle,
|
40208
40292
|
$bkPopover: createPopoverComponent,
|
40209
|
-
ConfigProvider: BkConfigProvider
|
40293
|
+
ConfigProvider: BkConfigProvider,
|
40294
|
+
PopConfirm: BKPopConfirm
|
40210
40295
|
}, Symbol.toStringTag, { value: "Module" }));
|
40211
40296
|
const createInstall = (prefix = "Bk") => (app, options) => {
|
40212
40297
|
const pre = app.config.globalProperties.bkUIPrefix || prefix;
|
@@ -40227,4 +40312,4 @@ var preset = {
|
|
40227
40312
|
install: createInstall(),
|
40228
40313
|
version: "0.0.1"
|
40229
40314
|
};
|
40230
|
-
export { createPopoverComponent as $bkPopover, BkAffix as Affix, BkAlert as Alert, BkAnimateNumber as AnimateNumber, BkBacktop as Backtop, BkBadge as Badge, BkBreadcrumb as Breadcrumb, BkButton as Button, BkCard as Card, BkCascader as Cascader, BkCheckbox as Checkbox, BkCodeDiff as CodeDiff, BkCollapse as Collapse, BkColorPicker as ColorPicker, BkConfigProvider as ConfigProvider, BkContainer as Container, BkDatePicker as DatePicker, BkDialog as Dialog, BkDivider as Divider, BkDropdown as Dropdown, BkException as Exception, BkFixedNavbar as FixedNavbar, BkForm as Form, BkInfoBox as InfoBox, BkInput as Input, BkLink as Link, BkLoading as Loading, BkMenu as Menu, Message, BkModal as Modal, Navigation, Notify, BkOverflowTitle as OverflowTitle, BkPagination as Pagination, BkPopover as Popover, BkPopover2 as Popover2, BkProcess as Process, BkProgress as Progress, BkRadio as Radio, BkRate as Rate, BkResizeLayout as ResizeLayout, BkSearchSelect as SearchSelect, BkSelect as Select, BkSideslider as Sideslider, Slider, BkSteps as Steps, BkSwiper as Swiper, BkSwitcher as Switcher, BkTab as Tab, BkTable as Table, BkTableColumn as TableColumn, BkTag as Tag, TagInput, BkTimeline as TimeLine, BkTimePicker as TimePicker, Transfer, BkTree as Tree, Upload, BkVirtualRender as VirtualRender, ellipsis as bkEllipsis, createInstance as bkEllipsisInstance, tooltips as bkTooltips, ClickOutside as clickoutside, configProviderProps, BkContainer as containerProps, preset as default, defaultRootConfig, mousewheel, overflowTitle, provideGlobalConfig, rootProviderKey, useLocale };
|
40315
|
+
export { createPopoverComponent as $bkPopover, BkAffix as Affix, BkAlert as Alert, BkAnimateNumber as AnimateNumber, BkBacktop as Backtop, BkBadge as Badge, BkBreadcrumb as Breadcrumb, BkButton as Button, BkCard as Card, BkCascader as Cascader, BkCheckbox as Checkbox, BkCodeDiff as CodeDiff, BkCollapse as Collapse, BkColorPicker as ColorPicker, BkConfigProvider as ConfigProvider, BkContainer as Container, BkDatePicker as DatePicker, BkDialog as Dialog, BkDivider as Divider, BkDropdown as Dropdown, BkException as Exception, BkFixedNavbar as FixedNavbar, BkForm as Form, BkInfoBox as InfoBox, BkInput as Input, BkLink as Link, BkLoading as Loading, BkMenu as Menu, Message, BkModal as Modal, Navigation, Notify, BkOverflowTitle as OverflowTitle, BkPagination as Pagination, BKPopConfirm as PopConfirm, BkPopover as Popover, BkPopover2 as Popover2, BkProcess as Process, BkProgress as Progress, BkRadio as Radio, BkRate as Rate, BkResizeLayout as ResizeLayout, BkSearchSelect as SearchSelect, BkSelect as Select, BkSideslider as Sideslider, Slider, BkSteps as Steps, BkSwiper as Swiper, BkSwitcher as Switcher, BkTab as Tab, BkTable as Table, BkTableColumn as TableColumn, BkTag as Tag, TagInput, BkTimeline as TimeLine, BkTimePicker as TimePicker, Transfer, BkTree as Tree, Upload, BkVirtualRender as VirtualRender, ellipsis as bkEllipsis, createInstance as bkEllipsisInstance, tooltips as bkTooltips, ClickOutside as clickoutside, configProviderProps, BkContainer as containerProps, preset as default, defaultRootConfig, mousewheel, overflowTitle, provideGlobalConfig, rootProviderKey, useLocale };
|