mali-ui-plus 1.1.26 → 1.1.28

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.
@@ -58592,6 +58592,7 @@ const MlTextEllipsis_exports_ = MlTextEllipsisvue_type_script_lang_ts_setup_true
58592
58592
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_vxe_modal, {
58593
58593
  modelValue: isShow.value,
58594
58594
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => isShow.value = $event),
58595
+ className: "vxe-table--ignore-clear",
58595
58596
  zIndex: __props.zIndex,
58596
58597
  title: __props.title,
58597
58598
  width: __props.width,
@@ -60525,6 +60526,9 @@ VXETable.renderer.mixin({
60525
60526
  return cellValue && cellValue.length ? `${cellValue[0] || ''} - ${cellValue[1] || ''}` : '';
60526
60527
  }
60527
60528
  },
60529
+ /**
60530
+ * 编辑-日期时间范围选择
60531
+ */
60528
60532
  MlDatetimeRangePicker: {
60529
60533
  renderEdit(renderOpts, params) {
60530
60534
  const {
@@ -60546,8 +60550,12 @@ VXETable.renderer.mixin({
60546
60550
  }, props, {
60547
60551
  "startDate": xe_utils_default().get(row, startField),
60548
60552
  "endDate": xe_utils_default().get(row, endField),
60549
- "onUpdate:modelValue": val => {
60550
- xe_utils_default().set(row, field, val);
60553
+ "onUpdate:modelValue": vals => {
60554
+ xe_utils_default().set(row, field, vals);
60555
+ if (startField && endField) {
60556
+ xe_utils_default().set(row, startField, vals[0] || null);
60557
+ xe_utils_default().set(row, endField, vals[1] || null);
60558
+ }
60551
60559
  },
60552
60560
  "onChange": () => {
60553
60561
  $table.updateStatus(params);
@@ -61387,6 +61395,9 @@ VXETable.renderer.mixin({
61387
61395
  }
61388
61396
  }
61389
61397
  },
61398
+ /**
61399
+ * 编辑-日期时间范围选择
61400
+ */
61390
61401
  MlDatetimeRangePicker: {
61391
61402
  renderItemContent(renderOpts, params) {
61392
61403
  const {
@@ -62136,7 +62147,7 @@ function index_config(options) {
62136
62147
  return config_0;
62137
62148
  }
62138
62149
  const MaliUI = {
62139
- version: "1.1.24",
62150
+ version: "1.1.27",
62140
62151
  install: index_install,
62141
62152
  config: index_config,
62142
62153
  renderer: {
@@ -58602,6 +58602,7 @@ const MlTextEllipsis_exports_ = MlTextEllipsisvue_type_script_lang_ts_setup_true
58602
58602
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_vxe_modal, {
58603
58603
  modelValue: isShow.value,
58604
58604
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => isShow.value = $event),
58605
+ className: "vxe-table--ignore-clear",
58605
58606
  zIndex: __props.zIndex,
58606
58607
  title: __props.title,
58607
58608
  width: __props.width,
@@ -60535,6 +60536,9 @@ VXETable.renderer.mixin({
60535
60536
  return cellValue && cellValue.length ? `${cellValue[0] || ''} - ${cellValue[1] || ''}` : '';
60536
60537
  }
60537
60538
  },
60539
+ /**
60540
+ * 编辑-日期时间范围选择
60541
+ */
60538
60542
  MlDatetimeRangePicker: {
60539
60543
  renderEdit(renderOpts, params) {
60540
60544
  const {
@@ -60556,8 +60560,12 @@ VXETable.renderer.mixin({
60556
60560
  }, props, {
60557
60561
  "startDate": xe_utils_default().get(row, startField),
60558
60562
  "endDate": xe_utils_default().get(row, endField),
60559
- "onUpdate:modelValue": val => {
60560
- xe_utils_default().set(row, field, val);
60563
+ "onUpdate:modelValue": vals => {
60564
+ xe_utils_default().set(row, field, vals);
60565
+ if (startField && endField) {
60566
+ xe_utils_default().set(row, startField, vals[0] || null);
60567
+ xe_utils_default().set(row, endField, vals[1] || null);
60568
+ }
60561
60569
  },
60562
60570
  "onChange": () => {
60563
60571
  $table.updateStatus(params);
@@ -61397,6 +61405,9 @@ VXETable.renderer.mixin({
61397
61405
  }
61398
61406
  }
61399
61407
  },
61408
+ /**
61409
+ * 编辑-日期时间范围选择
61410
+ */
61400
61411
  MlDatetimeRangePicker: {
61401
61412
  renderItemContent(renderOpts, params) {
61402
61413
  const {
@@ -62146,7 +62157,7 @@ function index_config(options) {
62146
62157
  return config_0;
62147
62158
  }
62148
62159
  const MaliUI = {
62149
- version: "1.1.24",
62160
+ version: "1.1.27",
62150
62161
  install: index_install,
62151
62162
  config: index_config,
62152
62163
  renderer: {