bkui-vue 0.0.1-beta.125 → 0.0.1-beta.126
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 +22 -22
- package/dist/index.esm.js +4 -3
- package/dist/index.umd.js +25 -25
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/breadcrumb/breadcrumb.css +43 -0
- package/lib/breadcrumb/breadcrumb.variable.css +43 -0
- package/lib/card/card.css +43 -0
- package/lib/card/card.variable.css +43 -0
- package/lib/container/container.css +43 -0
- package/lib/container/container.variable.css +43 -0
- package/lib/input/input.css +43 -0
- package/lib/input/input.variable.css +43 -0
- package/lib/loading/loading.css +43 -0
- package/lib/loading/loading.variable.css +43 -0
- package/lib/menu/menu.css +43 -0
- package/lib/menu/menu.variable.css +43 -0
- package/lib/progress/progress.css +43 -0
- package/lib/progress/progress.variable.css +43 -0
- package/lib/styles/mixins/mixins.css +43 -0
- package/lib/styles/mixins/mixins.less +1 -0
- package/lib/styles/mixins/mixins.variable.css +43 -0
- package/lib/switcher/switcher.css +43 -0
- package/lib/switcher/switcher.variable.css +43 -0
- package/lib/table/index.d.ts +16 -5
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/settings.css +1 -0
- package/lib/table/plugins/settings.less +1 -0
- package/lib/table/plugins/settings.variable.css +1 -0
- package/lib/table/props.d.ts +3 -1
- package/lib/table/table.css +1 -0
- package/lib/table/table.d.ts +7 -2
- package/lib/table/table.variable.css +1 -0
- package/lib/upload/upload.css +43 -0
- package/lib/upload/upload.variable.css +43 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -15402,7 +15402,7 @@ const tableProps = {
|
|
15402
15402
|
pagination: PropTypes.oneOfType([PropTypes.bool.def(false), PropTypes.object.def({})]).def(false),
|
15403
15403
|
remotePagination: PropTypes.bool.def(false),
|
15404
15404
|
emptyText: PropTypes.string.def("\u6682\u65E0\u6570\u636E"),
|
15405
|
-
settings: PropTypes.any,
|
15405
|
+
settings: PropTypes.oneOfType([PropTypes.any, PropTypes.bool]).def(false),
|
15406
15406
|
rowClass: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.func]).def({}),
|
15407
15407
|
rowStyle: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.func]).def({}),
|
15408
15408
|
cellStyle: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.func]).def({}),
|
@@ -16249,7 +16249,7 @@ function _isSlot$1(s2) {
|
|
16249
16249
|
var Settings = defineComponent({
|
16250
16250
|
name: "Settings",
|
16251
16251
|
props: {
|
16252
|
-
settings: PropTypes.any,
|
16252
|
+
settings: PropTypes.oneOfType([PropTypes.any, PropTypes.bool]).def(false),
|
16253
16253
|
columns: PropTypes.array.def([]),
|
16254
16254
|
rowHeight: PropTypes.number.def(40)
|
16255
16255
|
},
|
@@ -16334,6 +16334,7 @@ var Settings = defineComponent({
|
|
16334
16334
|
"class": getItemClass(item),
|
16335
16335
|
"onClick": () => handleSizeItemClick(item)
|
16336
16336
|
}, [item.label]));
|
16337
|
+
const renderFields = computed(() => settings.fields || props.columns || []);
|
16337
16338
|
return () => createVNode(BkPopover2, mergeProps({
|
16338
16339
|
"trigger": "manual",
|
16339
16340
|
"isShow": isShow.value,
|
@@ -16379,7 +16380,7 @@ var Settings = defineComponent({
|
|
16379
16380
|
"class": "setting-body-fields",
|
16380
16381
|
"modelValue": checkedFields.value,
|
16381
16382
|
"onUpdate:modelValue": ($event) => checkedFields.value = $event
|
16382
|
-
}, _isSlot$1(_slot2 =
|
16383
|
+
}, _isSlot$1(_slot2 = renderFields.value.map((item, index) => {
|
16383
16384
|
let _slot;
|
16384
16385
|
return createVNode("div", {
|
16385
16386
|
"class": "field-item"
|