next-element-vue 0.4.7 → 0.4.8
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.umd.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* 作 者:huangteng
|
|
4
4
|
* 邮 箱:htengweb@163.com
|
|
5
|
-
* 当前版本:0.4.
|
|
6
|
-
* 发布日期:2024-12-
|
|
5
|
+
* 当前版本:0.4.8 v
|
|
6
|
+
* 发布日期:2024-12-22
|
|
7
7
|
* 地 址:https://www.npmjs.com/package/next-element-vue
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -3955,7 +3955,8 @@
|
|
|
3955
3955
|
})) ]);
|
|
3956
3956
|
if (slots[columnSlotName(columnOption.prop)]) return slots[columnSlotName(columnOption.prop)]({
|
|
3957
3957
|
row: row,
|
|
3958
|
-
index: $index
|
|
3958
|
+
index: $index,
|
|
3959
|
+
column: columnOption
|
|
3959
3960
|
});
|
|
3960
3961
|
if (columnOption.dicData?.length > 0) {
|
|
3961
3962
|
const loopDicData = list => {
|
|
@@ -3975,7 +3976,11 @@
|
|
|
3975
3976
|
}
|
|
3976
3977
|
return columnOption.cellUnit ? vue.createVNode(vue.Fragment, null, [ vue.createVNode("span", null, [ row[columnOption.prop] ]), vue.createVNode("em", {
|
|
3977
3978
|
class: "cell-unit"
|
|
3978
|
-
}, [ columnOption.cellUnit ]) ]) :
|
|
3979
|
+
}, [ columnOption.cellUnit ]) ]) : columnOption.renderColumnCell ? columnOption.renderColumnCell({
|
|
3980
|
+
row: row,
|
|
3981
|
+
index: $index,
|
|
3982
|
+
column: columnOption
|
|
3983
|
+
}) : null;
|
|
3979
3984
|
};
|
|
3980
3985
|
return () => vue.createVNode(vue.Fragment, null, [ !columnOption.hide && vue.createVNode(elementPlus.ElTableColumn, {
|
|
3981
3986
|
prop: columnOption.prop,
|
|
@@ -4864,7 +4869,7 @@
|
|
|
4864
4869
|
}), col.rules?.length && rules.push(...col.rules), formRules[col.prop] = rules,
|
|
4865
4870
|
!col.dicData?.length && col.loadDicData && col.loadDicData(col, (data => {
|
|
4866
4871
|
data?.length && (col.dicData = data);
|
|
4867
|
-
})), "boolean" == typeof col.disabled && col.disabled || (col.disabled = !_isEditing.value);
|
|
4872
|
+
}), formParams), "boolean" == typeof col.disabled && col.disabled || (col.disabled = !_isEditing.value);
|
|
4868
4873
|
}
|
|
4869
4874
|
})();
|
|
4870
4875
|
}), {
|
|
@@ -5370,6 +5375,7 @@
|
|
|
5370
5375
|
disabled: valueExist(col.formDisabled, col.disabled, !1),
|
|
5371
5376
|
clearable: valueExist(col.formClearable, col.clearable, !0),
|
|
5372
5377
|
readonly: valueExist(col.formReadonly, col.readonly, !1),
|
|
5378
|
+
disabledDate: valueExist(col.formDisabledDate, col.disabledDate, !1),
|
|
5373
5379
|
tip: valueExist(col.formTip, col.tip, null),
|
|
5374
5380
|
rules: valueExist(col.formRules, col.rules, null),
|
|
5375
5381
|
span: valueExist(col.formSpan, col.span, null),
|
|
@@ -8222,7 +8228,7 @@
|
|
|
8222
8228
|
})(app);
|
|
8223
8229
|
};
|
|
8224
8230
|
var index = {
|
|
8225
|
-
version: "0.4.
|
|
8231
|
+
version: "0.4.8",
|
|
8226
8232
|
install: install
|
|
8227
8233
|
};
|
|
8228
8234
|
exports.NextContainer = NextContainer, exports.NextCrudTable = NextCrudTable, exports.NextCrudTableVirtualized = NextCrudTableVirtualized,
|
|
@@ -8270,7 +8276,7 @@
|
|
|
8270
8276
|
}), exports.useGetDerivedNamespace = useGetDerivedNamespace, exports.useLanguage = (locale, lang) => {
|
|
8271
8277
|
const localeRef = vue.isRef(locale) ? locale : vue.ref(locale), nextLang = localeLang[lang] || localeLang["zh-cn"];
|
|
8272
8278
|
localeRef.value.name = lang, localeRef.value.next = nextLang.next;
|
|
8273
|
-
}, exports.useLocale = useLocale, exports.useNamespace = useNamespace, exports.version = "0.4.
|
|
8279
|
+
}, exports.useLocale = useLocale, exports.useNamespace = useNamespace, exports.version = "0.4.8",
|
|
8274
8280
|
Object.defineProperty(exports, "__esModule", {
|
|
8275
8281
|
value: !0
|
|
8276
8282
|
});
|