bkui-vue 2.0.1-beta.113 → 2.0.1-beta.114
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 +54 -54
- package/dist/index.esm.js +13950 -13941
- package/dist/index.umd.js +54 -54
- package/dist/style.css +1 -1
- package/lib/affix/index.d.ts +57 -111
- package/lib/affix/index.js +47 -39
- package/lib/alert/index.d.ts +73 -126
- package/lib/alert/index.js +50 -42
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/animate-number/index.js +21 -16
- package/lib/backtop/index.d.ts +69 -117
- package/lib/backtop/index.js +42 -31
- package/lib/badge/index.d.ts +119 -152
- package/lib/badge/index.js +43 -37
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +48 -40
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +119 -155
- package/lib/button/index.js +55 -46
- package/lib/card/index.d.ts +128 -157
- package/lib/card/index.js +67 -55
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +393 -354
- package/lib/cascader/index.js +149 -119
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +143 -175
- package/lib/checkbox/index.js +89 -79
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +464 -517
- package/lib/collapse/index.d.ts +156 -175
- package/lib/collapse/index.js +67 -60
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/collapse-transition/index.js +23 -16
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +144 -165
- package/lib/color-picker/index.js +98 -82
- package/lib/config-provider/index.d.ts +160 -227
- package/lib/config-provider/index.js +51 -43
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +55 -47
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +4 -4
- package/lib/date-picker/index.d.ts +380 -351
- package/lib/date-picker/index.js +171 -150
- package/lib/date-picker/panel/date-range.d.ts +1 -1
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +2 -2
- package/lib/date-picker/panel/time.d.ts +2 -2
- package/lib/date-picker/time-picker.d.ts +4 -4
- package/lib/dialog/index.d.ts +299 -269
- package/lib/dialog/index.js +323 -310
- package/lib/directives/index.js +344 -336
- package/lib/divider/index.d.ts +57 -111
- package/lib/divider/index.js +23 -16
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +66 -52
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +76 -70
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/fixed-navbar/index.js +22 -15
- package/lib/form/form.d.ts +1 -1
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +104 -83
- package/lib/icon/angle-double-down-line.js +31 -29
- package/lib/icon/angle-double-left-line.js +31 -29
- package/lib/icon/angle-double-left.js +31 -29
- package/lib/icon/angle-double-right-line.js +31 -29
- package/lib/icon/angle-double-right.js +31 -29
- package/lib/icon/angle-double-up-line.js +31 -29
- package/lib/icon/angle-down-fill.js +31 -29
- package/lib/icon/angle-down-line.js +31 -29
- package/lib/icon/angle-down.js +31 -29
- package/lib/icon/angle-left.js +31 -29
- package/lib/icon/angle-right.js +31 -29
- package/lib/icon/angle-up-fill.js +31 -29
- package/lib/icon/angle-up.js +31 -29
- package/lib/icon/archive-fill.js +31 -29
- package/lib/icon/arrows-left.js +31 -29
- package/lib/icon/arrows-right.js +31 -29
- package/lib/icon/assistant.js +31 -29
- package/lib/icon/audio-fill.js +31 -29
- package/lib/icon/bk.js +31 -29
- package/lib/icon/circle.js +31 -29
- package/lib/icon/close-line.js +31 -29
- package/lib/icon/close.js +31 -29
- package/lib/icon/code.js +31 -29
- package/lib/icon/cog-shape.js +31 -29
- package/lib/icon/collapse-left.js +31 -29
- package/lib/icon/copy-shape.js +31 -29
- package/lib/icon/copy.js +31 -29
- package/lib/icon/data-shape.js +31 -29
- package/lib/icon/del.js +31 -29
- package/lib/icon/doc-fill.js +31 -29
- package/lib/icon/done.js +31 -29
- package/lib/icon/down-shape.js +31 -29
- package/lib/icon/down-small.js +31 -29
- package/lib/icon/edit-line.js +31 -29
- package/lib/icon/ellipsis.js +31 -29
- package/lib/icon/enlarge-line.js +31 -29
- package/lib/icon/error.js +31 -29
- package/lib/icon/excel-fill.js +31 -29
- package/lib/icon/exclamation-circle-shape.js +31 -29
- package/lib/icon/eye.js +31 -29
- package/lib/icon/filliscreen-line.js +31 -29
- package/lib/icon/fix-line.js +31 -29
- package/lib/icon/fix-shape.js +31 -29
- package/lib/icon/folder-open.js +31 -29
- package/lib/icon/folder-shape-open.js +31 -29
- package/lib/icon/folder-shape.js +31 -29
- package/lib/icon/folder.js +31 -29
- package/lib/icon/funnel.js +31 -29
- package/lib/icon/grag-fill.js +31 -29
- package/lib/icon/help-document-fill.js +31 -29
- package/lib/icon/help-fill.js +31 -29
- package/lib/icon/help.js +31 -29
- package/lib/icon/image-fill.js +31 -29
- package/lib/icon/img-error.js +31 -29
- package/lib/icon/img-placehoulder.js +31 -29
- package/lib/icon/info-line.js +31 -29
- package/lib/icon/info.js +31 -29
- package/lib/icon/left-shape.js +31 -29
- package/lib/icon/left-turn-line.js +31 -29
- package/lib/icon/loading.js +31 -29
- package/lib/icon/narrow-line.js +31 -29
- package/lib/icon/original.js +31 -29
- package/lib/icon/pdf-fill.js +31 -29
- package/lib/icon/play-shape.js +31 -29
- package/lib/icon/plus.js +31 -29
- package/lib/icon/ppt-fill.js +31 -29
- package/lib/icon/qq.js +31 -29
- package/lib/icon/right-shape.js +31 -29
- package/lib/icon/right-turn-line.js +31 -29
- package/lib/icon/search.js +31 -29
- package/lib/icon/share.js +31 -29
- package/lib/icon/spinner.js +31 -29
- package/lib/icon/success.js +31 -29
- package/lib/icon/switcher-loading.js +31 -29
- package/lib/icon/text-all.js +31 -29
- package/lib/icon/text-file.js +31 -29
- package/lib/icon/text-fill.js +31 -29
- package/lib/icon/transfer.js +31 -29
- package/lib/icon/tree-application-shape.js +31 -29
- package/lib/icon/unfull-screen.js +31 -29
- package/lib/icon/unvisible.js +31 -29
- package/lib/icon/up-shape.js +31 -29
- package/lib/icon/upload.js +31 -29
- package/lib/icon/video-fill.js +31 -29
- package/lib/icon/warn.js +31 -29
- package/lib/icon/weixin-pro.js +31 -29
- package/lib/icon/weixin.js +31 -29
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +76 -61
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +328 -315
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +91 -83
- package/lib/link/index.d.ts +73 -122
- package/lib/link/index.js +27 -19
- package/lib/loading/index.d.ts +130 -156
- package/lib/loading/index.js +56 -51
- package/lib/loading/loading.d.ts +1 -1
- package/lib/locale/index.js +3 -3
- package/lib/menu/index.d.ts +55 -116
- package/lib/menu/index.js +67 -58
- package/lib/message/index.js +72 -67
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +171 -185
- package/lib/modal/index.js +58 -48
- package/lib/navigation/index.d.ts +152 -188
- package/lib/navigation/index.js +35 -25
- package/lib/notify/index.js +57 -48
- package/lib/overflow-title/index.d.ts +343 -256
- package/lib/overflow-title/index.js +51 -38
- package/lib/pagination/index.d.ts +184 -198
- package/lib/pagination/index.js +112 -103
- package/lib/plugin-popover/index.js +7 -5
- package/lib/plugins/index.js +7 -5
- package/lib/pop-confirm/index.d.ts +115 -153
- package/lib/pop-confirm/index.js +53 -36
- package/lib/pop-confirm/pop-confirm.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +421 -359
- package/lib/popover/index.js +291 -179
- package/lib/popover2/index.d.ts +8 -83
- package/lib/popover2/index.js +15 -11
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +299 -295
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +47 -40
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +91 -140
- package/lib/radio/index.js +85 -79
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +44 -39
- package/lib/resize-layout/index.d.ts +168 -192
- package/lib/resize-layout/index.js +50 -43
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/scrollbar/index.js +63 -63
- package/lib/search-select/index.d.ts +678 -895
- package/lib/search-select/index.js +397 -379
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +133 -188
- package/lib/search-select/selected.d.ts +133 -188
- package/lib/select/index.d.ts +1375 -1217
- package/lib/select/index.js +456 -419
- package/lib/select/select.d.ts +132 -169
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/index.js +109 -103
- package/lib/sideslider/index.d.ts +197 -201
- package/lib/sideslider/index.js +311 -302
- package/lib/slider/index.d.ts +214 -210
- package/lib/slider/index.js +305 -294
- package/lib/steps/index.d.ts +110 -149
- package/lib/steps/index.js +303 -298
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +42 -36
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +50 -44
- package/lib/tab/index.d.ts +151 -183
- package/lib/tab/index.js +72 -59
- package/lib/table/components/table-column.d.ts +1 -1
- package/lib/table/hooks/use-columns.d.ts +1 -1
- package/lib/table/hooks/use-layout.d.ts +2 -2
- package/lib/table/hooks/use-rows.d.ts +1 -1
- package/lib/table/index.d.ts +457 -362
- package/lib/table/index.js +589 -547
- package/lib/table/table.d.ts +1 -1
- package/lib/table-column/index.d.ts +104 -150
- package/lib/table-column/index.js +13 -9
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +56 -46
- package/lib/tag-input/index.d.ts +744 -529
- package/lib/tag-input/index.js +148 -128
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +439 -386
- package/lib/time-picker/index.js +13 -9
- package/lib/timeline/index.d.ts +64 -131
- package/lib/timeline/index.js +27 -21
- package/lib/transfer/index.d.ts +191 -206
- package/lib/transfer/index.js +56 -40
- package/lib/tree/index.d.ts +350 -308
- package/lib/tree/index.js +171 -150
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +311 -273
- package/lib/upload/index.js +474 -465
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +333 -241
- package/lib/virtual-render/index.js +84 -72
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +1 -1
package/lib/form/index.js
CHANGED
@@ -46,19 +46,25 @@ __webpack_require__.d(__webpack_exports__, {
|
|
46
46
|
useFormItem: () => (/* reexport */ shared_namespaceObject.useFormItem)
|
47
47
|
});
|
48
48
|
|
49
|
-
;//
|
50
|
-
var x = y => {
|
51
|
-
var
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
var
|
60
|
-
const
|
61
|
-
;//
|
49
|
+
;// external "../shared"
|
50
|
+
var x = (y) => {
|
51
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
52
|
+
}
|
53
|
+
var y = (x) => (() => (x))
|
54
|
+
const shared_namespaceObject = x({ ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["classes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes), ["formItemKey"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.formItemKey), ["formKey"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.formKey), ["useForm"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useForm), ["useFormItem"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem), ["withInstallProps"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps) });
|
55
|
+
;// external "vue"
|
56
|
+
var external_vue_x = (y) => {
|
57
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
58
|
+
}
|
59
|
+
var external_vue_y = (x) => (() => (x))
|
60
|
+
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.computed), ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent), ["getCurrentInstance"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance), ["h"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.h), ["onBeforeUnmount"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount), ["onMounted"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onMounted), ["provide"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.provide), ["reactive"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.reactive), ["resolveDirective"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective), ["toRefs"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.toRefs), ["withDirectives"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.withDirectives) });
|
61
|
+
;// external "../config-provider"
|
62
|
+
var config_provider_x = (y) => {
|
63
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
64
|
+
}
|
65
|
+
var config_provider_y = (x) => (() => (x))
|
66
|
+
const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale), ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
|
67
|
+
;// ../../packages/form/src/compose-form-item.tsx
|
62
68
|
/*
|
63
69
|
* Tencent is pleased to support the open source community by making
|
64
70
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -164,39 +170,39 @@ var isCustomComponent = function isCustomComponent(node) {
|
|
164
170
|
}, childrenArr);
|
165
171
|
}
|
166
172
|
}));
|
167
|
-
;//
|
168
|
-
function _typeof(
|
173
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
174
|
+
function _typeof(o) {
|
169
175
|
"@babel/helpers - typeof";
|
170
176
|
|
171
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
172
|
-
return typeof
|
173
|
-
} : function (
|
174
|
-
return
|
175
|
-
}, _typeof(
|
177
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
178
|
+
return typeof o;
|
179
|
+
} : function (o) {
|
180
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
181
|
+
}, _typeof(o);
|
176
182
|
}
|
177
|
-
;//
|
178
|
-
|
179
|
-
function
|
180
|
-
if (
|
181
|
-
var
|
182
|
-
if (
|
183
|
-
var
|
184
|
-
if (
|
183
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
184
|
+
|
185
|
+
function toPrimitive(t, r) {
|
186
|
+
if ("object" != _typeof(t) || !t) return t;
|
187
|
+
var e = t[Symbol.toPrimitive];
|
188
|
+
if (void 0 !== e) {
|
189
|
+
var i = e.call(t, r || "default");
|
190
|
+
if ("object" != _typeof(i)) return i;
|
185
191
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
186
192
|
}
|
187
|
-
return (
|
193
|
+
return ("string" === r ? String : Number)(t);
|
188
194
|
}
|
189
|
-
;//
|
195
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
190
196
|
|
191
197
|
|
192
|
-
function
|
193
|
-
var
|
194
|
-
return _typeof(
|
198
|
+
function toPropertyKey(t) {
|
199
|
+
var i = toPrimitive(t, "string");
|
200
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
195
201
|
}
|
196
|
-
;//
|
202
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
197
203
|
|
198
204
|
function _defineProperty(obj, key, value) {
|
199
|
-
key =
|
205
|
+
key = toPropertyKey(key);
|
200
206
|
if (key in obj) {
|
201
207
|
Object.defineProperty(obj, key, {
|
202
208
|
value: value,
|
@@ -209,15 +215,19 @@ function _defineProperty(obj, key, value) {
|
|
209
215
|
}
|
210
216
|
return obj;
|
211
217
|
}
|
212
|
-
;//
|
213
|
-
var isBoolean_x = y => {
|
214
|
-
var
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
218
|
+
;// external "lodash/isBoolean"
|
219
|
+
var isBoolean_x = (y) => {
|
220
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
221
|
+
}
|
222
|
+
var isBoolean_y = (x) => (() => (x))
|
223
|
+
const isBoolean_namespaceObject = isBoolean_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isBoolean_dcb66997__["default"]) });
|
224
|
+
;// external "lodash/isString"
|
225
|
+
var isString_x = (y) => {
|
226
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
227
|
+
}
|
228
|
+
var isString_y = (x) => (() => (x))
|
229
|
+
const isString_namespaceObject = isString_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isString_e6fa8a5b__["default"]) });
|
230
|
+
;// ../../packages/form/src/form.tsx
|
221
231
|
|
222
232
|
|
223
233
|
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; }
|
@@ -374,30 +384,30 @@ var formEvents = {
|
|
374
384
|
};
|
375
385
|
},
|
376
386
|
render: function render() {
|
377
|
-
var
|
378
|
-
var formClasses = (0,shared_namespaceObject.classes)((
|
387
|
+
var _this$$slots$default, _this$$slots;
|
388
|
+
var formClasses = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('form')), true), "".concat(this.resolveClassName("form--".concat(this.formType))), true));
|
379
389
|
return (0,external_vue_namespaceObject.createVNode)("form", {
|
380
390
|
"class": formClasses,
|
381
391
|
"onSubmit": this.handleSubmit
|
382
392
|
}, [(_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots)]);
|
383
393
|
}
|
384
394
|
}));
|
385
|
-
;//
|
395
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
386
396
|
function _arrayLikeToArray(arr, len) {
|
387
397
|
if (len == null || len > arr.length) len = arr.length;
|
388
398
|
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
389
399
|
return arr2;
|
390
400
|
}
|
391
|
-
;//
|
401
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
392
402
|
|
393
403
|
function _arrayWithoutHoles(arr) {
|
394
404
|
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
395
405
|
}
|
396
|
-
;//
|
406
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
397
407
|
function _iterableToArray(iter) {
|
398
408
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
399
409
|
}
|
400
|
-
;//
|
410
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
401
411
|
|
402
412
|
function _unsupportedIterableToArray(o, minLen) {
|
403
413
|
if (!o) return;
|
@@ -407,11 +417,11 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
407
417
|
if (n === "Map" || n === "Set") return Array.from(o);
|
408
418
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
409
419
|
}
|
410
|
-
;//
|
420
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
411
421
|
function _nonIterableSpread() {
|
412
422
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
413
423
|
}
|
414
|
-
;//
|
424
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
415
425
|
|
416
426
|
|
417
427
|
|
@@ -419,23 +429,31 @@ function _nonIterableSpread() {
|
|
419
429
|
function _toConsumableArray(arr) {
|
420
430
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
421
431
|
}
|
422
|
-
;//
|
423
|
-
var directives_x = y => {
|
424
|
-
var
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
var
|
433
|
-
const
|
434
|
-
;//
|
435
|
-
var
|
436
|
-
var
|
437
|
-
|
438
|
-
|
432
|
+
;// external "../directives"
|
433
|
+
var directives_x = (y) => {
|
434
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
435
|
+
}
|
436
|
+
var directives_y = (x) => (() => (x))
|
437
|
+
const directives_namespaceObject = directives_x({ ["bkTooltips"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.bkTooltips) });
|
438
|
+
;// external "../icon"
|
439
|
+
var icon_x = (y) => {
|
440
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
441
|
+
}
|
442
|
+
var icon_y = (x) => (() => (x))
|
443
|
+
const icon_namespaceObject = icon_x({ ["ExclamationCircleShape"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.ExclamationCircleShape) });
|
444
|
+
;// external "lodash/get"
|
445
|
+
var get_x = (y) => {
|
446
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
447
|
+
}
|
448
|
+
var get_y = (x) => (() => (x))
|
449
|
+
const get_namespaceObject = get_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_get_9427f899__["default"]) });
|
450
|
+
;// external "lodash/isFunction"
|
451
|
+
var isFunction_x = (y) => {
|
452
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
453
|
+
}
|
454
|
+
var isFunction_y = (x) => (() => (x))
|
455
|
+
const isFunction_namespaceObject = isFunction_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__["default"]) });
|
456
|
+
;// ../../packages/form/src/utils.ts
|
439
457
|
/*
|
440
458
|
* Tencent is pleased to support the open source community by making
|
441
459
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -467,15 +485,19 @@ var getRuleMessage = function getRuleMessage(rule) {
|
|
467
485
|
}
|
468
486
|
return rule.message;
|
469
487
|
};
|
470
|
-
;//
|
471
|
-
var isDate_x = y => {
|
472
|
-
var
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
488
|
+
;// external "lodash/isDate"
|
489
|
+
var isDate_x = (y) => {
|
490
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
491
|
+
}
|
492
|
+
var isDate_y = (x) => (() => (x))
|
493
|
+
const isDate_namespaceObject = isDate_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isDate_b457317b__["default"]) });
|
494
|
+
;// external "lodash/isEmpty"
|
495
|
+
var isEmpty_x = (y) => {
|
496
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
497
|
+
}
|
498
|
+
var isEmpty_y = (x) => (() => (x))
|
499
|
+
const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isEmpty_e109fd6b__["default"]) });
|
500
|
+
;// ../../packages/form/src/validator.ts
|
479
501
|
/*
|
480
502
|
* Tencent is pleased to support the open source community by making
|
481
503
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -528,7 +550,7 @@ const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => __WEBPACK_EXTERNA
|
|
528
550
|
return result;
|
529
551
|
}
|
530
552
|
});
|
531
|
-
;//
|
553
|
+
;// ../../packages/form/src/form-item.tsx
|
532
554
|
|
533
555
|
|
534
556
|
|
@@ -868,13 +890,12 @@ var isValid = function isValid(value) {
|
|
868
890
|
});
|
869
891
|
},
|
870
892
|
render: function render() {
|
871
|
-
var
|
872
|
-
_this = this,
|
893
|
+
var _this = this,
|
873
894
|
_this$$slots$labelApp,
|
874
895
|
_this$$slots,
|
875
896
|
_this$$slots$default,
|
876
897
|
_this$$slots2;
|
877
|
-
var itemClassees = (0,shared_namespaceObject.classes)((
|
898
|
+
var itemClassees = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('form-item')), true), 'is-error', this.isError), 'is-required', this.required));
|
878
899
|
var renderLabel = function renderLabel() {
|
879
900
|
if (_this.$slots.label) {
|
880
901
|
return (0,external_vue_namespaceObject.createVNode)("span", null, [_this.$slots.label()]);
|
@@ -913,7 +934,7 @@ var isValid = function isValid(value) {
|
|
913
934
|
}, [(_this$$slots$default = (_this$$slots2 = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots2), renderError()])]);
|
914
935
|
}
|
915
936
|
}));
|
916
|
-
;//
|
937
|
+
;// ../../packages/form/src/index.ts
|
917
938
|
/*
|
918
939
|
* Tencent is pleased to support the open source community by making
|
919
940
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -28,39 +28,39 @@ __webpack_require__.d(__webpack_exports__, {
|
|
28
28
|
"default": () => (/* binding */ angle_double_down_line)
|
29
29
|
});
|
30
30
|
|
31
|
-
;//
|
32
|
-
function _typeof(
|
31
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
32
|
+
function _typeof(o) {
|
33
33
|
"@babel/helpers - typeof";
|
34
34
|
|
35
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
36
|
-
return typeof
|
37
|
-
} : function (
|
38
|
-
return
|
39
|
-
}, _typeof(
|
35
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
36
|
+
return typeof o;
|
37
|
+
} : function (o) {
|
38
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
39
|
+
}, _typeof(o);
|
40
40
|
}
|
41
|
-
;//
|
41
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
42
42
|
|
43
|
-
function
|
44
|
-
if (
|
45
|
-
var
|
46
|
-
if (
|
47
|
-
var
|
48
|
-
if (
|
43
|
+
function toPrimitive(t, r) {
|
44
|
+
if ("object" != _typeof(t) || !t) return t;
|
45
|
+
var e = t[Symbol.toPrimitive];
|
46
|
+
if (void 0 !== e) {
|
47
|
+
var i = e.call(t, r || "default");
|
48
|
+
if ("object" != _typeof(i)) return i;
|
49
49
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
50
50
|
}
|
51
|
-
return (
|
51
|
+
return ("string" === r ? String : Number)(t);
|
52
52
|
}
|
53
|
-
;//
|
53
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
54
54
|
|
55
55
|
|
56
|
-
function
|
57
|
-
var
|
58
|
-
return _typeof(
|
56
|
+
function toPropertyKey(t) {
|
57
|
+
var i = toPrimitive(t, "string");
|
58
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
59
59
|
}
|
60
|
-
;//
|
60
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
61
61
|
|
62
62
|
function _defineProperty(obj, key, value) {
|
63
|
-
key =
|
63
|
+
key = toPropertyKey(key);
|
64
64
|
if (key in obj) {
|
65
65
|
Object.defineProperty(obj, key, {
|
66
66
|
value: value,
|
@@ -73,11 +73,13 @@ function _defineProperty(obj, key, value) {
|
|
73
73
|
}
|
74
74
|
return obj;
|
75
75
|
}
|
76
|
-
;//
|
77
|
-
var x = y => {
|
78
|
-
var
|
79
|
-
|
80
|
-
|
76
|
+
;// external "vue"
|
77
|
+
var x = (y) => {
|
78
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
79
|
+
}
|
80
|
+
var y = (x) => (() => (x))
|
81
|
+
const external_vue_namespaceObject = x({ ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["h"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.h), ["mergeProps"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.mergeProps) });
|
82
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
81
83
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
82
84
|
if (source == null) return {};
|
83
85
|
var target = {};
|
@@ -90,7 +92,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
90
92
|
}
|
91
93
|
return target;
|
92
94
|
}
|
93
|
-
;//
|
95
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
94
96
|
|
95
97
|
function _objectWithoutProperties(source, excluded) {
|
96
98
|
if (source == null) return {};
|
@@ -107,7 +109,7 @@ function _objectWithoutProperties(source, excluded) {
|
|
107
109
|
}
|
108
110
|
return target;
|
109
111
|
}
|
110
|
-
;//
|
112
|
+
;// ../../packages/icon/icons/icon.tsx
|
111
113
|
|
112
114
|
|
113
115
|
var _excluded = ["data", "name", "width", "height", "fill"];
|
@@ -170,7 +172,7 @@ var bkIcon = function bkIcon(props, context) {
|
|
170
172
|
bkIcon.inheritAttrs = false;
|
171
173
|
bkIcon.displayName = 'bkIcon';
|
172
174
|
/* harmony default export */ const icon = (bkIcon);
|
173
|
-
;//
|
175
|
+
;// ../../packages/icon/icons/angle-double-down-line.tsx
|
174
176
|
|
175
177
|
|
176
178
|
function angle_double_down_line_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; }
|
@@ -28,39 +28,39 @@ __webpack_require__.d(__webpack_exports__, {
|
|
28
28
|
"default": () => (/* binding */ angle_double_left_line)
|
29
29
|
});
|
30
30
|
|
31
|
-
;//
|
32
|
-
function _typeof(
|
31
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
32
|
+
function _typeof(o) {
|
33
33
|
"@babel/helpers - typeof";
|
34
34
|
|
35
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
36
|
-
return typeof
|
37
|
-
} : function (
|
38
|
-
return
|
39
|
-
}, _typeof(
|
35
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
36
|
+
return typeof o;
|
37
|
+
} : function (o) {
|
38
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
39
|
+
}, _typeof(o);
|
40
40
|
}
|
41
|
-
;//
|
41
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
42
42
|
|
43
|
-
function
|
44
|
-
if (
|
45
|
-
var
|
46
|
-
if (
|
47
|
-
var
|
48
|
-
if (
|
43
|
+
function toPrimitive(t, r) {
|
44
|
+
if ("object" != _typeof(t) || !t) return t;
|
45
|
+
var e = t[Symbol.toPrimitive];
|
46
|
+
if (void 0 !== e) {
|
47
|
+
var i = e.call(t, r || "default");
|
48
|
+
if ("object" != _typeof(i)) return i;
|
49
49
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
50
50
|
}
|
51
|
-
return (
|
51
|
+
return ("string" === r ? String : Number)(t);
|
52
52
|
}
|
53
|
-
;//
|
53
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
54
54
|
|
55
55
|
|
56
|
-
function
|
57
|
-
var
|
58
|
-
return _typeof(
|
56
|
+
function toPropertyKey(t) {
|
57
|
+
var i = toPrimitive(t, "string");
|
58
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
59
59
|
}
|
60
|
-
;//
|
60
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
61
61
|
|
62
62
|
function _defineProperty(obj, key, value) {
|
63
|
-
key =
|
63
|
+
key = toPropertyKey(key);
|
64
64
|
if (key in obj) {
|
65
65
|
Object.defineProperty(obj, key, {
|
66
66
|
value: value,
|
@@ -73,11 +73,13 @@ function _defineProperty(obj, key, value) {
|
|
73
73
|
}
|
74
74
|
return obj;
|
75
75
|
}
|
76
|
-
;//
|
77
|
-
var x = y => {
|
78
|
-
var
|
79
|
-
|
80
|
-
|
76
|
+
;// external "vue"
|
77
|
+
var x = (y) => {
|
78
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
79
|
+
}
|
80
|
+
var y = (x) => (() => (x))
|
81
|
+
const external_vue_namespaceObject = x({ ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["h"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.h), ["mergeProps"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.mergeProps) });
|
82
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
81
83
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
82
84
|
if (source == null) return {};
|
83
85
|
var target = {};
|
@@ -90,7 +92,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
90
92
|
}
|
91
93
|
return target;
|
92
94
|
}
|
93
|
-
;//
|
95
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
94
96
|
|
95
97
|
function _objectWithoutProperties(source, excluded) {
|
96
98
|
if (source == null) return {};
|
@@ -107,7 +109,7 @@ function _objectWithoutProperties(source, excluded) {
|
|
107
109
|
}
|
108
110
|
return target;
|
109
111
|
}
|
110
|
-
;//
|
112
|
+
;// ../../packages/icon/icons/icon.tsx
|
111
113
|
|
112
114
|
|
113
115
|
var _excluded = ["data", "name", "width", "height", "fill"];
|
@@ -170,7 +172,7 @@ var bkIcon = function bkIcon(props, context) {
|
|
170
172
|
bkIcon.inheritAttrs = false;
|
171
173
|
bkIcon.displayName = 'bkIcon';
|
172
174
|
/* harmony default export */ const icon = (bkIcon);
|
173
|
-
;//
|
175
|
+
;// ../../packages/icon/icons/angle-double-left-line.tsx
|
174
176
|
|
175
177
|
|
176
178
|
function angle_double_left_line_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; }
|
@@ -28,39 +28,39 @@ __webpack_require__.d(__webpack_exports__, {
|
|
28
28
|
"default": () => (/* binding */ angle_double_left)
|
29
29
|
});
|
30
30
|
|
31
|
-
;//
|
32
|
-
function _typeof(
|
31
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
32
|
+
function _typeof(o) {
|
33
33
|
"@babel/helpers - typeof";
|
34
34
|
|
35
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
36
|
-
return typeof
|
37
|
-
} : function (
|
38
|
-
return
|
39
|
-
}, _typeof(
|
35
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
36
|
+
return typeof o;
|
37
|
+
} : function (o) {
|
38
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
39
|
+
}, _typeof(o);
|
40
40
|
}
|
41
|
-
;//
|
41
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
42
42
|
|
43
|
-
function
|
44
|
-
if (
|
45
|
-
var
|
46
|
-
if (
|
47
|
-
var
|
48
|
-
if (
|
43
|
+
function toPrimitive(t, r) {
|
44
|
+
if ("object" != _typeof(t) || !t) return t;
|
45
|
+
var e = t[Symbol.toPrimitive];
|
46
|
+
if (void 0 !== e) {
|
47
|
+
var i = e.call(t, r || "default");
|
48
|
+
if ("object" != _typeof(i)) return i;
|
49
49
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
50
50
|
}
|
51
|
-
return (
|
51
|
+
return ("string" === r ? String : Number)(t);
|
52
52
|
}
|
53
|
-
;//
|
53
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
54
54
|
|
55
55
|
|
56
|
-
function
|
57
|
-
var
|
58
|
-
return _typeof(
|
56
|
+
function toPropertyKey(t) {
|
57
|
+
var i = toPrimitive(t, "string");
|
58
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
59
59
|
}
|
60
|
-
;//
|
60
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
61
61
|
|
62
62
|
function _defineProperty(obj, key, value) {
|
63
|
-
key =
|
63
|
+
key = toPropertyKey(key);
|
64
64
|
if (key in obj) {
|
65
65
|
Object.defineProperty(obj, key, {
|
66
66
|
value: value,
|
@@ -73,11 +73,13 @@ function _defineProperty(obj, key, value) {
|
|
73
73
|
}
|
74
74
|
return obj;
|
75
75
|
}
|
76
|
-
;//
|
77
|
-
var x = y => {
|
78
|
-
var
|
79
|
-
|
80
|
-
|
76
|
+
;// external "vue"
|
77
|
+
var x = (y) => {
|
78
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
79
|
+
}
|
80
|
+
var y = (x) => (() => (x))
|
81
|
+
const external_vue_namespaceObject = x({ ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["h"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.h), ["mergeProps"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.mergeProps) });
|
82
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
81
83
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
82
84
|
if (source == null) return {};
|
83
85
|
var target = {};
|
@@ -90,7 +92,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
90
92
|
}
|
91
93
|
return target;
|
92
94
|
}
|
93
|
-
;//
|
95
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
94
96
|
|
95
97
|
function _objectWithoutProperties(source, excluded) {
|
96
98
|
if (source == null) return {};
|
@@ -107,7 +109,7 @@ function _objectWithoutProperties(source, excluded) {
|
|
107
109
|
}
|
108
110
|
return target;
|
109
111
|
}
|
110
|
-
;//
|
112
|
+
;// ../../packages/icon/icons/icon.tsx
|
111
113
|
|
112
114
|
|
113
115
|
var _excluded = ["data", "name", "width", "height", "fill"];
|
@@ -170,7 +172,7 @@ var bkIcon = function bkIcon(props, context) {
|
|
170
172
|
bkIcon.inheritAttrs = false;
|
171
173
|
bkIcon.displayName = 'bkIcon';
|
172
174
|
/* harmony default export */ const icon = (bkIcon);
|
173
|
-
;//
|
175
|
+
;// ../../packages/icon/icons/angle-double-left.tsx
|
174
176
|
|
175
177
|
|
176
178
|
function angle_double_left_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; }
|