mali-ui-plus 1.0.80 → 1.0.82

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.
@@ -36655,12 +36655,17 @@ var ItemInfo = /** @class */function () {
36655
36655
  titlePrefix: item.titlePrefix,
36656
36656
  titleSuffix: item.titleSuffix,
36657
36657
  titleOverflow: item.titleOverflow,
36658
+ showTitle: item.showTitle,
36658
36659
  resetValue: item.resetValue,
36659
36660
  visibleMethod: item.visibleMethod,
36660
36661
  visible: item.visible,
36661
36662
  folding: item.folding,
36662
36663
  collapseNode: item.collapseNode,
36663
36664
  className: item.className,
36665
+ contentClassName: item.contentClassName,
36666
+ contentStyle: item.contentStyle,
36667
+ titleClassName: item.titleClassName,
36668
+ titleStyle: item.titleStyle,
36664
36669
  itemRender: item.itemRender,
36665
36670
  // 渲染属性
36666
36671
  showError: false,
@@ -36897,12 +36902,19 @@ var VxeFormConfigItem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineC
36897
36902
  errRule = item.errRule,
36898
36903
  className = item.className,
36899
36904
  titleOverflow = item.titleOverflow,
36900
- children = item.children;
36905
+ children = item.children,
36906
+ showTitle = item.showTitle,
36907
+ contentClassName = item.contentClassName,
36908
+ contentStyle = item.contentStyle,
36909
+ titleClassName = item.titleClassName,
36910
+ titleStyle = item.titleStyle;
36901
36911
  var compConf = isEnableConf(itemRender) ? VXETable.renderer.get(itemRender.name) : null;
36902
36912
  var itemClassName = compConf ? compConf.itemClassName : '';
36903
36913
  var itemStyle = compConf ? compConf.itemStyle : null;
36904
36914
  var itemContentClassName = compConf ? compConf.itemContentClassName : '';
36905
36915
  var itemContentStyle = compConf ? compConf.itemContentStyle : null;
36916
+ var itemTitleClassName = compConf ? compConf.itemTitleClassName : '';
36917
+ var itemTitleStyle = compConf ? compConf.itemTitleStyle : null;
36906
36918
  var defaultSlot = slots ? slots.default : null;
36907
36919
  var titleSlot = slots ? slots.title : null;
36908
36920
  var span = item.span || allSpan;
@@ -36912,10 +36924,10 @@ var VxeFormConfigItem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineC
36912
36924
  var titleColon = xe_utils_default().eqNull(item.titleColon) ? allTitleColon : item.titleColon;
36913
36925
  var titleAsterisk = xe_utils_default().eqNull(item.titleAsterisk) ? allTitleAsterisk : item.titleAsterisk;
36914
36926
  var itemOverflow = xe_utils_default().isUndefined(titleOverflow) || xe_utils_default().isNull(titleOverflow) ? allTitleOverflow : titleOverflow;
36915
- var showEllipsis = itemOverflow === 'ellipsis';
36916
- var showTitle = itemOverflow === 'title';
36917
- var showTooltip = itemOverflow === true || itemOverflow === 'tooltip';
36918
- var hasEllipsis = showTitle || showTooltip || showEllipsis;
36927
+ var ovEllipsis = itemOverflow === 'ellipsis';
36928
+ var ovTitle = itemOverflow === 'title';
36929
+ var ovTooltip = itemOverflow === true || itemOverflow === 'tooltip';
36930
+ var hasEllipsis = ovTitle || ovTooltip || ovEllipsis;
36919
36931
  var params = {
36920
36932
  data: data,
36921
36933
  field: field,
@@ -36975,7 +36987,7 @@ var VxeFormConfigItem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineC
36975
36987
  } : null
36976
36988
  }, errRule.content));
36977
36989
  }
36978
- var ons = showTooltip ? {
36990
+ var ons = ovTooltip ? {
36979
36991
  onMouseenter: function (evnt) {
36980
36992
  $xeform.triggerTitleTipEvent(evnt, params);
36981
36993
  },
@@ -36994,17 +37006,15 @@ var VxeFormConfigItem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineC
36994
37006
  style: xe_utils_default().isFunction(itemStyle) ? itemStyle(params) : itemStyle
36995
37007
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
36996
37008
  class: 'vxe-form--item-inner'
36997
- }, [title || titleSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', form_config_item_assign({
36998
- class: ['vxe-form--item-title', titleAlign ? "align--".concat(titleAlign) : null, {
36999
- 'is--ellipsis': hasEllipsis
37000
- }],
37001
- style: titleWidth ? {
37009
+ }, [showTitle !== false && (title || titleSlot) ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', form_config_item_assign({
37010
+ class: ['vxe-form--item-title', titleAlign ? "align--".concat(titleAlign) : '', hasEllipsis ? 'is--ellipsis' : '', itemTitleClassName ? xe_utils_default().isFunction(itemTitleClassName) ? itemTitleClassName(params) : itemTitleClassName : '', titleClassName ? xe_utils_default().isFunction(titleClassName) ? titleClassName(params) : titleClassName : ''],
37011
+ style: Object.assign({}, xe_utils_default().isFunction(itemTitleStyle) ? itemTitleStyle(params) : itemTitleStyle, xe_utils_default().isFunction(titleStyle) ? titleStyle(params) : titleStyle, titleWidth ? {
37002
37012
  width: isNaN(titleWidth) ? titleWidth : "".concat(titleWidth, "px")
37003
- } : null,
37004
- title: showTitle ? getFuncText(title) : null
37013
+ } : null),
37014
+ title: ovTitle ? getFuncText(title) : null
37005
37015
  }, ons), renderTitle($xeform, item)) : null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
37006
- class: ['vxe-form--item-content', align ? "align--".concat(align) : '', itemContentClassName ? xe_utils_default().isFunction(itemContentClassName) ? itemContentClassName(params) : itemContentClassName : ''],
37007
- style: xe_utils_default().isFunction(itemContentStyle) ? itemContentStyle(params) : itemContentStyle
37016
+ class: ['vxe-form--item-content', align ? "align--".concat(align) : '', itemContentClassName ? xe_utils_default().isFunction(itemContentClassName) ? itemContentClassName(params) : itemContentClassName : '', contentClassName ? xe_utils_default().isFunction(contentClassName) ? contentClassName(params) : contentClassName : ''],
37017
+ style: Object.assign({}, xe_utils_default().isFunction(itemContentStyle) ? itemContentStyle(params) : itemContentStyle, xe_utils_default().isFunction(contentStyle) ? contentStyle(params) : contentStyle)
37008
37018
  }, contentVNs)])]);
37009
37019
  };
37010
37020
  var $xeformconfigitem = {
@@ -37785,7 +37795,15 @@ var formItemProps = {
37785
37795
  type: Boolean,
37786
37796
  default: null
37787
37797
  },
37798
+ showTitle: {
37799
+ type: Boolean,
37800
+ default: true
37801
+ },
37788
37802
  className: [String, Function],
37803
+ contentClassName: [String, Function],
37804
+ contentStyle: [Object, Function],
37805
+ titleClassName: [String, Function],
37806
+ titleStyle: [Object, Function],
37789
37807
  titleOverflow: {
37790
37808
  type: [Boolean, String],
37791
37809
  default: null
@@ -37853,12 +37871,19 @@ var formItemProps = {
37853
37871
  showError = item.showError,
37854
37872
  errRule = item.errRule,
37855
37873
  className = item.className,
37856
- titleOverflow = item.titleOverflow;
37874
+ titleOverflow = item.titleOverflow,
37875
+ showTitle = item.showTitle,
37876
+ contentClassName = item.contentClassName,
37877
+ contentStyle = item.contentStyle,
37878
+ titleClassName = item.titleClassName,
37879
+ titleStyle = item.titleStyle;
37857
37880
  var compConf = isEnableConf(itemRender) ? VXETable.renderer.get(itemRender.name) : null;
37858
37881
  var itemClassName = compConf ? compConf.itemClassName : '';
37859
37882
  var itemStyle = compConf ? compConf.itemStyle : null;
37860
37883
  var itemContentClassName = compConf ? compConf.itemContentClassName : '';
37861
37884
  var itemContentStyle = compConf ? compConf.itemContentStyle : null;
37885
+ var itemTitleClassName = compConf ? compConf.itemTitleClassName : '';
37886
+ var itemTitleStyle = compConf ? compConf.itemTitleStyle : null;
37862
37887
  var defaultSlot = slots ? slots.default : null;
37863
37888
  var titleSlot = slots ? slots.title : null;
37864
37889
  var span = item.span || props.span;
@@ -37868,10 +37893,10 @@ var formItemProps = {
37868
37893
  var titleColon = xe_utils_default().eqNull(item.titleColon) ? allTitleColon : item.titleColon;
37869
37894
  var titleAsterisk = xe_utils_default().eqNull(item.titleAsterisk) ? allTitleAsterisk : item.titleAsterisk;
37870
37895
  var itemOverflow = xe_utils_default().isUndefined(titleOverflow) || xe_utils_default().isNull(titleOverflow) ? allTitleOverflow : titleOverflow;
37871
- var showEllipsis = itemOverflow === 'ellipsis';
37872
- var showTitle = itemOverflow === 'title';
37873
- var showTooltip = itemOverflow === true || itemOverflow === 'tooltip';
37874
- var hasEllipsis = showTitle || showTooltip || showEllipsis;
37896
+ var ovEllipsis = itemOverflow === 'ellipsis';
37897
+ var ovTitle = itemOverflow === 'title';
37898
+ var ovTooltip = itemOverflow === true || itemOverflow === 'tooltip';
37899
+ var hasEllipsis = ovTitle || ovTooltip || ovEllipsis;
37875
37900
  var params = {
37876
37901
  data: data,
37877
37902
  field: field,
@@ -37918,7 +37943,7 @@ var formItemProps = {
37918
37943
  } : null
37919
37944
  }, errRule.message));
37920
37945
  }
37921
- var ons = showTooltip ? {
37946
+ var ons = ovTooltip ? {
37922
37947
  onMouseenter: function (evnt) {
37923
37948
  $xeform.triggerTitleTipEvent(evnt, params);
37924
37949
  },
@@ -37938,17 +37963,15 @@ var formItemProps = {
37938
37963
  style: xe_utils_default().isFunction(itemStyle) ? itemStyle(params) : itemStyle
37939
37964
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
37940
37965
  class: 'vxe-form--item-inner'
37941
- }, [title || titleSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', form_item_assign({
37942
- class: ['vxe-form--item-title', titleAlign ? "align--".concat(titleAlign) : null, {
37943
- 'is--ellipsis': hasEllipsis
37944
- }],
37945
- style: titleWidth ? {
37966
+ }, [showTitle !== false && (title || titleSlot) ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', form_item_assign({
37967
+ class: ['vxe-form--item-title', titleAlign ? "align--".concat(titleAlign) : '', hasEllipsis ? 'is--ellipsis' : '', itemTitleClassName ? xe_utils_default().isFunction(itemTitleClassName) ? itemTitleClassName(params) : itemTitleClassName : '', titleClassName ? xe_utils_default().isFunction(titleClassName) ? titleClassName(params) : titleClassName : ''],
37968
+ style: Object.assign({}, xe_utils_default().isFunction(itemTitleStyle) ? itemTitleStyle(params) : itemTitleStyle, xe_utils_default().isFunction(titleStyle) ? titleStyle(params) : titleStyle, titleWidth ? {
37946
37969
  width: isNaN(titleWidth) ? titleWidth : "".concat(titleWidth, "px")
37947
- } : null,
37948
- title: showTitle ? getFuncText(title) : null
37970
+ } : null),
37971
+ title: ovTitle ? getFuncText(title) : null
37949
37972
  }, ons), renderTitle($xeform, item)) : null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
37950
- class: ['vxe-form--item-content', align ? "align--".concat(align) : '', itemContentClassName ? xe_utils_default().isFunction(itemContentClassName) ? itemContentClassName(params) : itemContentClassName : ''],
37951
- style: xe_utils_default().isFunction(itemContentStyle) ? itemContentStyle(params) : itemContentStyle
37973
+ class: ['vxe-form--item-content', align ? "align--".concat(align) : '', itemContentClassName ? xe_utils_default().isFunction(itemContentClassName) ? itemContentClassName(params) : itemContentClassName : '', contentClassName ? xe_utils_default().isFunction(contentClassName) ? contentClassName(params) : contentClassName : ''],
37974
+ style: Object.assign({}, xe_utils_default().isFunction(itemContentStyle) ? itemContentStyle(params) : itemContentStyle, xe_utils_default().isFunction(contentStyle) ? contentStyle(params) : contentStyle)
37952
37975
  }, contentVNs)])]);
37953
37976
  };
37954
37977
  var renderVN = function () {
@@ -73120,8 +73143,6 @@ VXETable.setup({
73120
73143
 
73121
73144
 
73122
73145
 
73123
-
73124
-
73125
73146
  // import MlPasswordInput from './components/ml-input/MlPasswordInput.vue'
73126
73147
  // import MlAutoInput from './components/ml-input/MlAutoInput.vue'
73127
73148
 
@@ -73312,7 +73333,7 @@ function index_config(options) {
73312
73333
  return config_0;
73313
73334
  }
73314
73335
  const MaliUI = {
73315
- version: "1.0.79",
73336
+ version: "1.0.81",
73316
73337
  install: index_install,
73317
73338
  config: index_config,
73318
73339
  renderer: index_esm.renderer,