mali-ui-plus 1.0.78 → 1.0.80

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.
@@ -19062,7 +19062,7 @@ __webpack_require__.d(__webpack_exports__, {
19062
19062
  "default": function() { return /* binding */ entry_lib; }
19063
19063
  });
19064
19064
 
19065
- // UNUSED EXPORTS: MaliClipboard, MaliLoading, MaliModal, MaliStorage, MaliToast, MaliUI, MaliUtils, MlAmountInput, MlAmountText, MlApprovalType, MlButton, MlCalendar, MlCard, MlCarousel, MlCarouselItem, MlCascader, MlCharts, MlCheckbox, MlCheckboxGroup, MlCol, MlColorPicker, MlDatePicker, MlDateRangePicker, MlDateTimePicker, MlDatetimePicker, MlDictType, MlDrawer, MlEditor, MlForm, MlGrid, MlIcon, MlImage, MlInput, MlInvoiceType, MlModal, MlNumberInput, MlPager, MlPopover, MlQuarterPicker, MlRadio, MlRadioButton, MlRadioGroup, MlRangePicker, MlRow, MlSearchInput, MlSelect, MlSwitch, MlTabPane, MlTable, MlTabs, MlText, MlTextarea, MlTooltip, MlTree, MlUpload, MlWeekPicker, components
19065
+ // UNUSED EXPORTS: MaliClipboard, MaliLoading, MaliModal, MaliNotify, MaliStorage, MaliToast, MaliUI, MaliUtils, MlAmountInput, MlAmountText, MlApprovalType, MlButton, MlCalendar, MlCard, MlCarousel, MlCarouselItem, MlCascader, MlCharts, MlCheckbox, MlCheckboxGroup, MlCol, MlColorPicker, MlDatePicker, MlDateRangePicker, MlDateTimePicker, MlDatetimePicker, MlDictType, MlDrawer, MlEditor, MlForm, MlGrid, MlIcon, MlImage, MlInput, MlInvoiceType, MlModal, MlNumberInput, MlPager, MlPopover, MlQuarterPicker, MlRadio, MlRadioButton, MlRadioGroup, MlRangePicker, MlRow, MlSearchInput, MlSelect, MlSwitch, MlTabPane, MlTable, MlTabs, MlText, MlTextarea, MlTooltip, MlTree, MlUpload, MlWeekPicker, components
19066
19066
 
19067
19067
  // NAMESPACE OBJECT: ./node_modules/vxe-table/es/all.js
19068
19068
  var all_namespaceObject = {};
@@ -19574,7 +19574,7 @@ var GlobalConfig = {
19574
19574
  ;// CONCATENATED MODULE: ./node_modules/vxe-table/es/tools/log.js
19575
19575
 
19576
19576
  function getLog(message, params) {
19577
- return "[vxe-table v".concat("4.3.14", "] ").concat(conf.i18n(message, params));
19577
+ return "[vxe-table v".concat("4.4.0-beta.3", "] ").concat(conf.i18n(message, params));
19578
19578
  }
19579
19579
  function outLog(type) {
19580
19580
  return function (message, params) {
@@ -21174,7 +21174,7 @@ var config = new VXETableConfig();
21174
21174
  var v = 'v4';
21175
21175
  var VXETable = {
21176
21176
  v: v,
21177
- version: "4.3.14",
21177
+ version: "4.4.0-beta.3",
21178
21178
  setup: setup,
21179
21179
  interceptor: interceptor,
21180
21180
  renderer: renderer,
@@ -33040,7 +33040,7 @@ var grid_spreadArray = undefined && undefined.__spreadArray || function (to, fro
33040
33040
 
33041
33041
 
33042
33042
  var tableComponentPropKeys = Object.keys(props);
33043
- var tableComponentMethodKeys = ['clearAll', 'syncData', 'updateData', 'loadData', 'reloadData', 'reloadRow', 'loadColumn', 'reloadColumn', 'getRowNode', 'getColumnNode', 'getRowIndex', 'getVTRowIndex', 'getVMRowIndex', 'getColumnIndex', 'getVTColumnIndex', 'getVMColumnIndex', 'createData', 'createRow', 'revertData', 'clearData', 'isInsertByRow', 'isUpdateByRow', 'getColumns', 'getColumnById', 'getColumnByField', 'getTableColumn', 'getData', 'getCheckboxRecords', 'getParentRow', 'getRowSeq', 'getRowById', 'getRowid', 'getTableData', 'hideColumn', 'showColumn', 'resetColumn', 'refreshColumn', 'refreshScroll', 'recalculate', 'closeTooltip', 'isAllCheckboxChecked', 'isAllCheckboxIndeterminate', 'getCheckboxIndeterminateRecords', 'setCheckboxRow', 'isCheckedByCheckboxRow', 'isIndeterminateByCheckboxRow', 'toggleCheckboxRow', 'setAllCheckboxRow', 'getRadioReserveRecord', 'clearRadioReserve', 'getCheckboxReserveRecords', 'clearCheckboxReserve', 'toggleAllCheckboxRow', 'clearCheckboxRow', 'setCurrentRow', 'isCheckedByRadioRow', 'setRadioRow', 'clearCurrentRow', 'clearRadioRow', 'getCurrentRecord', 'getRadioRecord', 'getCurrentColumn', 'setCurrentColumn', 'clearCurrentColumn', 'sort', 'clearSort', 'isSort', 'getSortColumns', 'closeFilter', 'isFilter', 'isRowExpandLoaded', 'clearRowExpandLoaded', 'reloadRowExpand', 'reloadRowExpand', 'toggleRowExpand', 'setAllRowExpand', 'setRowExpand', 'isExpandByRow', 'clearRowExpand', 'clearRowExpandReserve', 'getRowExpandRecords', 'getTreeExpandRecords', 'isTreeExpandLoaded', 'clearTreeExpandLoaded', 'reloadTreeExpand', 'reloadTreeChilds', 'toggleTreeExpand', 'setAllTreeExpand', 'setTreeExpand', 'isTreeExpandByRow', 'clearTreeExpand', 'clearTreeExpandReserve', 'getScroll', 'scrollTo', 'scrollToRow', 'scrollToColumn', 'clearScroll', 'updateFooter', 'updateStatus', 'setMergeCells', 'removeInsertRow', 'removeMergeCells', 'getMergeCells', 'clearMergeCells', 'setMergeFooterItems', 'removeMergeFooterItems', 'getMergeFooterItems', 'clearMergeFooterItems', 'openTooltip', 'focus', 'blur', 'connect'];
33043
+ var tableComponentMethodKeys = ['clearAll', 'syncData', 'updateData', 'loadData', 'reloadData', 'reloadRow', 'loadColumn', 'reloadColumn', 'getRowNode', 'getColumnNode', 'getRowIndex', 'getVTRowIndex', 'getVMRowIndex', 'getColumnIndex', 'getVTColumnIndex', 'getVMColumnIndex', 'createData', 'createRow', 'revertData', 'clearData', 'isInsertByRow', 'isUpdateByRow', 'getColumns', 'getColumnById', 'getColumnByField', 'getTableColumn', 'getData', 'getCheckboxRecords', 'getParentRow', 'getRowSeq', 'getRowById', 'getRowid', 'getTableData', 'hideColumn', 'showColumn', 'resetColumn', 'refreshColumn', 'refreshScroll', 'recalculate', 'closeTooltip', 'isAllCheckboxChecked', 'isAllCheckboxIndeterminate', 'getCheckboxIndeterminateRecords', 'setCheckboxRow', 'isCheckedByCheckboxRow', 'isIndeterminateByCheckboxRow', 'toggleCheckboxRow', 'setAllCheckboxRow', 'getRadioReserveRecord', 'clearRadioReserve', 'getCheckboxReserveRecords', 'clearCheckboxReserve', 'toggleAllCheckboxRow', 'clearCheckboxRow', 'setCurrentRow', 'isCheckedByRadioRow', 'setRadioRow', 'clearCurrentRow', 'clearRadioRow', 'getCurrentRecord', 'getRadioRecord', 'getCurrentColumn', 'setCurrentColumn', 'clearCurrentColumn', 'sort', 'clearSort', 'isSort', 'getSortColumns', 'closeFilter', 'isFilter', 'isActiveFilterByColumn', 'isRowExpandLoaded', 'clearRowExpandLoaded', 'reloadRowExpand', 'reloadRowExpand', 'toggleRowExpand', 'setAllRowExpand', 'setRowExpand', 'isExpandByRow', 'clearRowExpand', 'clearRowExpandReserve', 'getRowExpandRecords', 'getTreeExpandRecords', 'isTreeExpandLoaded', 'clearTreeExpandLoaded', 'reloadTreeExpand', 'reloadTreeChilds', 'toggleTreeExpand', 'setAllTreeExpand', 'setTreeExpand', 'isTreeExpandByRow', 'clearTreeExpand', 'clearTreeExpandReserve', 'getScroll', 'scrollTo', 'scrollToRow', 'scrollToColumn', 'clearScroll', 'updateFooter', 'updateStatus', 'setMergeCells', 'removeInsertRow', 'removeMergeCells', 'getMergeCells', 'clearMergeCells', 'setMergeFooterItems', 'removeMergeFooterItems', 'getMergeFooterItems', 'clearMergeFooterItems', 'openTooltip', 'focus', 'blur', 'connect'];
33044
33044
  var gridComponentEmits = grid_spreadArray(grid_spreadArray([], emits, true), ['page-change', 'form-submit', 'form-submit-invalid', 'form-reset', 'form-collapse', 'form-toggle-collapse', 'proxy-query', 'proxy-delete', 'proxy-save', 'toolbar-button-click', 'toolbar-tool-click', 'zoom'], false);
33045
33045
  /* harmony default export */ var grid = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
33046
33046
  name: 'VxeGrid',
@@ -36901,6 +36901,8 @@ var VxeFormConfigItem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineC
36901
36901
  var compConf = isEnableConf(itemRender) ? VXETable.renderer.get(itemRender.name) : null;
36902
36902
  var itemClassName = compConf ? compConf.itemClassName : '';
36903
36903
  var itemStyle = compConf ? compConf.itemStyle : null;
36904
+ var itemContentClassName = compConf ? compConf.itemContentClassName : '';
36905
+ var itemContentStyle = compConf ? compConf.itemContentStyle : null;
36904
36906
  var defaultSlot = slots ? slots.default : null;
36905
36907
  var titleSlot = slots ? slots.title : null;
36906
36908
  var span = item.span || allSpan;
@@ -37001,7 +37003,8 @@ var VxeFormConfigItem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineC
37001
37003
  } : null,
37002
37004
  title: showTitle ? getFuncText(title) : null
37003
37005
  }, ons), renderTitle($xeform, item)) : null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
37004
- class: ['vxe-form--item-content', align ? "align--".concat(align) : null]
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
37005
37008
  }, contentVNs)])]);
37006
37009
  };
37007
37010
  var $xeformconfigitem = {
@@ -37854,6 +37857,8 @@ var formItemProps = {
37854
37857
  var compConf = isEnableConf(itemRender) ? VXETable.renderer.get(itemRender.name) : null;
37855
37858
  var itemClassName = compConf ? compConf.itemClassName : '';
37856
37859
  var itemStyle = compConf ? compConf.itemStyle : null;
37860
+ var itemContentClassName = compConf ? compConf.itemContentClassName : '';
37861
+ var itemContentStyle = compConf ? compConf.itemContentStyle : null;
37857
37862
  var defaultSlot = slots ? slots.default : null;
37858
37863
  var titleSlot = slots ? slots.title : null;
37859
37864
  var span = item.span || props.span;
@@ -37942,7 +37947,8 @@ var formItemProps = {
37942
37947
  } : null,
37943
37948
  title: showTitle ? getFuncText(title) : null
37944
37949
  }, ons), renderTitle($xeform, item)) : null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
37945
- class: ['vxe-form--item-content', align ? "align--".concat(align) : null]
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
37946
37952
  }, contentVNs)])]);
37947
37953
  };
37948
37954
  var renderVN = function () {
@@ -41772,12 +41778,15 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
41772
41778
  var fullColumnIdData = internalData.fullColumnIdData = {};
41773
41779
  var fullColumnFieldData = internalData.fullColumnFieldData = {};
41774
41780
  var mouseOpts = computeMouseOpts.value;
41781
+ var columnOpts = computeColumnOpts.value;
41782
+ var rowOpts = computeRowOpts.value;
41775
41783
  var isGroup = collectColumn.some(hasChildrenList);
41776
41784
  var isAllOverflow = !!props.showOverflow;
41777
41785
  var expandColumn;
41778
41786
  var treeNodeColumn;
41779
41787
  var checkboxColumn;
41780
41788
  var radioColumn;
41789
+ var htmlColumn;
41781
41790
  var hasFixed;
41782
41791
  var handleFunc = function (column, index, items, path, parent) {
41783
41792
  var colid = column.id,
@@ -41799,6 +41808,9 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
41799
41808
  if (!hasFixed && fixed) {
41800
41809
  hasFixed = fixed;
41801
41810
  }
41811
+ if (!htmlColumn && type === 'html') {
41812
+ htmlColumn = column;
41813
+ }
41802
41814
  if (treeNode) {
41803
41815
  if (false) {}
41804
41816
  if (!treeNodeColumn) {
@@ -41828,6 +41840,7 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
41828
41840
  tableFullColumn.forEach(handleFunc);
41829
41841
  }
41830
41842
  if (false) {}
41843
+ if (false) {}
41831
41844
  reactData.isGroup = isGroup;
41832
41845
  reactData.treeNodeColumn = treeNodeColumn;
41833
41846
  reactData.expandColumn = expandColumn;
@@ -43807,14 +43820,8 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
43807
43820
  * @param {Array} records 新数据
43808
43821
  */
43809
43822
  createData: function (records) {
43810
- var treeConfig = props.treeConfig;
43811
- var treeOpts = computeTreeOpts.value;
43812
- var handleRrecord = function (record) {
43813
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)(tablePrivateMethods.defineField(record || {}));
43814
- };
43815
- var rows = treeConfig ? xe_utils_default().mapTree(records, handleRrecord, treeOpts) : records.map(handleRrecord);
43816
43823
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(function () {
43817
- return rows;
43824
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)(tablePrivateMethods.defineField(records));
43818
43825
  });
43819
43826
  },
43820
43827
  /**
@@ -43825,12 +43832,10 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
43825
43832
  createRow: function (records) {
43826
43833
  var isArr = xe_utils_default().isArray(records);
43827
43834
  if (!isArr) {
43828
- records = [records];
43835
+ records = [records || {}];
43829
43836
  }
43830
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(function () {
43831
- return tableMethods.createData(records).then(function (rows) {
43832
- return isArr ? rows : rows[0];
43833
- });
43837
+ return tableMethods.createData(records).then(function (rows) {
43838
+ return isArr ? rows : rows[0];
43834
43839
  });
43835
43840
  },
43836
43841
  /**
@@ -44211,7 +44216,7 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
44211
44216
  return new Promise(function (resolve) {
44212
44217
  // 还原滚动条位置
44213
44218
  if (lastScrollLeft || lastScrollTop) {
44214
- return restoreScrollLocation($xetable, lastScrollLeft, lastScrollTop).then(resolve).then(function () {
44219
+ return restoreScrollLocation($xetable, lastScrollLeft, lastScrollTop).then().then(function () {
44215
44220
  // 存在滚动行为未结束情况
44216
44221
  setTimeout(resolve, 30);
44217
44222
  });
@@ -44698,7 +44703,7 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
44698
44703
  * 判断指定列是否为筛选状态,如果为空则判断所有列
44699
44704
  * @param {String} fieldOrColumn 字段名
44700
44705
  */
44701
- isFilter: function (fieldOrColumn) {
44706
+ isActiveFilterByColumn: function (fieldOrColumn) {
44702
44707
  var column = handleFieldOrColumn($xetable, fieldOrColumn);
44703
44708
  if (column) {
44704
44709
  return column.filters && column.filters.some(function (option) {
@@ -44707,6 +44712,9 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
44707
44712
  }
44708
44713
  return $xetable.getCheckedFilters().length > 0;
44709
44714
  },
44715
+ isFilter: function (fieldOrColumn) {
44716
+ return tableMethods.isActiveFilterByColumn(fieldOrColumn);
44717
+ },
44710
44718
  /**
44711
44719
  * 判断展开行是否懒加载完成
44712
44720
  * @param {Row} row 行对象
@@ -46425,7 +46433,7 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
46425
46433
  var column = params.column;
46426
46434
  var tooltipStore = reactData.tooltipStore;
46427
46435
  var cell = evnt.currentTarget;
46428
- handleTargetEnterEvent(tooltipStore.column !== column || tooltipStore.row);
46436
+ handleTargetEnterEvent(tooltipStore.column !== column || !!tooltipStore.row);
46429
46437
  if (tooltipStore.column !== column || !tooltipStore.visible) {
46430
46438
  handleTooltip(evnt, cell, cell.querySelector('.vxe-cell--item') || cell.children[0], null, params);
46431
46439
  }
@@ -70654,12 +70662,22 @@ const MlModal_exports_ = MlModalvue_type_script_lang_ts_setup_true;
70654
70662
  modelValue: [Number, String],
70655
70663
  type: String
70656
70664
  },
70657
- emits: ["update:modelValue", "edit", "change"],
70665
+ emits: ["update:modelValue", "edit", "click", "change"],
70658
70666
  setup(__props, {
70659
70667
  emit
70660
70668
  }) {
70661
70669
  const props = __props;
70662
70670
  const activeKey = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(props.modelValue);
70671
+ const clickEvent = pane => {
70672
+ const tab = {
70673
+ name: pane.props.name,
70674
+ label: pane.props.label
70675
+ };
70676
+ emit('click', {
70677
+ tab,
70678
+ active: pane.active
70679
+ });
70680
+ };
70663
70681
  const changeEvent = () => {
70664
70682
  emit('update:modelValue', activeKey.value);
70665
70683
  emit('change', {});
@@ -70679,6 +70697,7 @@ const MlModal_exports_ = MlModalvue_type_script_lang_ts_setup_true;
70679
70697
  modelValue: activeKey.value,
70680
70698
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => activeKey.value = $event),
70681
70699
  type: __props.type,
70700
+ onTabClick: clickEvent,
70682
70701
  onTabChange: changeEvent,
70683
70702
  onEdit: editEvent
70684
70703
  }, {
@@ -71324,6 +71343,40 @@ const MaliModal = {
71324
71343
  }
71325
71344
  };
71326
71345
  /* harmony default export */ var modal_modal_0 = (MaliModal);
71346
+ ;// CONCATENATED MODULE: ./modal/notify.ts
71347
+
71348
+
71349
+ const notify_modal = index_esm.modal;
71350
+ const MaliNotify = {
71351
+ success(option) {
71352
+ const opts = xe_utils_default().isString(option) ? {
71353
+ content: option
71354
+ } : {
71355
+ ...option
71356
+ };
71357
+ return notify_modal.message({
71358
+ status: 'success',
71359
+ content: opts.content || '操作成功'
71360
+ });
71361
+ },
71362
+ error(option) {
71363
+ const opts = xe_utils_default().isString(option) ? {
71364
+ content: option
71365
+ } : {
71366
+ ...option
71367
+ };
71368
+ return notify_modal.message({
71369
+ status: 'error',
71370
+ content: opts.content || '操作失败'
71371
+ });
71372
+ },
71373
+ hide() {
71374
+ return new Promise(resolve => {
71375
+ setTimeout(resolve, 2000);
71376
+ });
71377
+ }
71378
+ };
71379
+ /* harmony default export */ var modal_notify = (MaliNotify);
71327
71380
  ;// CONCATENATED MODULE: ./modal/loading.ts
71328
71381
  const MaliLoading = {
71329
71382
  show(option) {
@@ -73121,6 +73174,7 @@ VXETable.setup({
73121
73174
 
73122
73175
 
73123
73176
 
73177
+
73124
73178
  const index_MlIcon = MlIcon;
73125
73179
  const index_MlRow = MlRow;
73126
73180
  const index_MlCol = MlCol;
@@ -73258,7 +73312,7 @@ function index_config(options) {
73258
73312
  return config_0;
73259
73313
  }
73260
73314
  const MaliUI = {
73261
- version: "1.0.77",
73315
+ version: "1.0.79",
73262
73316
  install: index_install,
73263
73317
  config: index_config,
73264
73318
  renderer: index_esm.renderer,
@@ -73266,6 +73320,7 @@ const MaliUI = {
73266
73320
  MaliClipboard: clipboard,
73267
73321
  MaliToast: toast,
73268
73322
  MaliModal: modal_modal_0,
73323
+ MaliNotify: modal_notify,
73269
73324
  MaliLoading: modal_loading,
73270
73325
  MaliStorage: storage,
73271
73326
  KindEditor: kindeditor
@@ -19072,7 +19072,7 @@ __webpack_require__.d(__webpack_exports__, {
19072
19072
  "default": function() { return /* binding */ entry_lib; }
19073
19073
  });
19074
19074
 
19075
- // UNUSED EXPORTS: MaliClipboard, MaliLoading, MaliModal, MaliStorage, MaliToast, MaliUI, MaliUtils, MlAmountInput, MlAmountText, MlApprovalType, MlButton, MlCalendar, MlCard, MlCarousel, MlCarouselItem, MlCascader, MlCharts, MlCheckbox, MlCheckboxGroup, MlCol, MlColorPicker, MlDatePicker, MlDateRangePicker, MlDateTimePicker, MlDatetimePicker, MlDictType, MlDrawer, MlEditor, MlForm, MlGrid, MlIcon, MlImage, MlInput, MlInvoiceType, MlModal, MlNumberInput, MlPager, MlPopover, MlQuarterPicker, MlRadio, MlRadioButton, MlRadioGroup, MlRangePicker, MlRow, MlSearchInput, MlSelect, MlSwitch, MlTabPane, MlTable, MlTabs, MlText, MlTextarea, MlTooltip, MlTree, MlUpload, MlWeekPicker, components
19075
+ // UNUSED EXPORTS: MaliClipboard, MaliLoading, MaliModal, MaliNotify, MaliStorage, MaliToast, MaliUI, MaliUtils, MlAmountInput, MlAmountText, MlApprovalType, MlButton, MlCalendar, MlCard, MlCarousel, MlCarouselItem, MlCascader, MlCharts, MlCheckbox, MlCheckboxGroup, MlCol, MlColorPicker, MlDatePicker, MlDateRangePicker, MlDateTimePicker, MlDatetimePicker, MlDictType, MlDrawer, MlEditor, MlForm, MlGrid, MlIcon, MlImage, MlInput, MlInvoiceType, MlModal, MlNumberInput, MlPager, MlPopover, MlQuarterPicker, MlRadio, MlRadioButton, MlRadioGroup, MlRangePicker, MlRow, MlSearchInput, MlSelect, MlSwitch, MlTabPane, MlTable, MlTabs, MlText, MlTextarea, MlTooltip, MlTree, MlUpload, MlWeekPicker, components
19076
19076
 
19077
19077
  // NAMESPACE OBJECT: ./node_modules/vxe-table/es/all.js
19078
19078
  var all_namespaceObject = {};
@@ -19584,7 +19584,7 @@ var GlobalConfig = {
19584
19584
  ;// CONCATENATED MODULE: ./node_modules/vxe-table/es/tools/log.js
19585
19585
 
19586
19586
  function getLog(message, params) {
19587
- return "[vxe-table v".concat("4.3.14", "] ").concat(conf.i18n(message, params));
19587
+ return "[vxe-table v".concat("4.4.0-beta.3", "] ").concat(conf.i18n(message, params));
19588
19588
  }
19589
19589
  function outLog(type) {
19590
19590
  return function (message, params) {
@@ -21184,7 +21184,7 @@ var config = new VXETableConfig();
21184
21184
  var v = 'v4';
21185
21185
  var VXETable = {
21186
21186
  v: v,
21187
- version: "4.3.14",
21187
+ version: "4.4.0-beta.3",
21188
21188
  setup: setup,
21189
21189
  interceptor: interceptor,
21190
21190
  renderer: renderer,
@@ -33050,7 +33050,7 @@ var grid_spreadArray = undefined && undefined.__spreadArray || function (to, fro
33050
33050
 
33051
33051
 
33052
33052
  var tableComponentPropKeys = Object.keys(props);
33053
- var tableComponentMethodKeys = ['clearAll', 'syncData', 'updateData', 'loadData', 'reloadData', 'reloadRow', 'loadColumn', 'reloadColumn', 'getRowNode', 'getColumnNode', 'getRowIndex', 'getVTRowIndex', 'getVMRowIndex', 'getColumnIndex', 'getVTColumnIndex', 'getVMColumnIndex', 'createData', 'createRow', 'revertData', 'clearData', 'isInsertByRow', 'isUpdateByRow', 'getColumns', 'getColumnById', 'getColumnByField', 'getTableColumn', 'getData', 'getCheckboxRecords', 'getParentRow', 'getRowSeq', 'getRowById', 'getRowid', 'getTableData', 'hideColumn', 'showColumn', 'resetColumn', 'refreshColumn', 'refreshScroll', 'recalculate', 'closeTooltip', 'isAllCheckboxChecked', 'isAllCheckboxIndeterminate', 'getCheckboxIndeterminateRecords', 'setCheckboxRow', 'isCheckedByCheckboxRow', 'isIndeterminateByCheckboxRow', 'toggleCheckboxRow', 'setAllCheckboxRow', 'getRadioReserveRecord', 'clearRadioReserve', 'getCheckboxReserveRecords', 'clearCheckboxReserve', 'toggleAllCheckboxRow', 'clearCheckboxRow', 'setCurrentRow', 'isCheckedByRadioRow', 'setRadioRow', 'clearCurrentRow', 'clearRadioRow', 'getCurrentRecord', 'getRadioRecord', 'getCurrentColumn', 'setCurrentColumn', 'clearCurrentColumn', 'sort', 'clearSort', 'isSort', 'getSortColumns', 'closeFilter', 'isFilter', 'isRowExpandLoaded', 'clearRowExpandLoaded', 'reloadRowExpand', 'reloadRowExpand', 'toggleRowExpand', 'setAllRowExpand', 'setRowExpand', 'isExpandByRow', 'clearRowExpand', 'clearRowExpandReserve', 'getRowExpandRecords', 'getTreeExpandRecords', 'isTreeExpandLoaded', 'clearTreeExpandLoaded', 'reloadTreeExpand', 'reloadTreeChilds', 'toggleTreeExpand', 'setAllTreeExpand', 'setTreeExpand', 'isTreeExpandByRow', 'clearTreeExpand', 'clearTreeExpandReserve', 'getScroll', 'scrollTo', 'scrollToRow', 'scrollToColumn', 'clearScroll', 'updateFooter', 'updateStatus', 'setMergeCells', 'removeInsertRow', 'removeMergeCells', 'getMergeCells', 'clearMergeCells', 'setMergeFooterItems', 'removeMergeFooterItems', 'getMergeFooterItems', 'clearMergeFooterItems', 'openTooltip', 'focus', 'blur', 'connect'];
33053
+ var tableComponentMethodKeys = ['clearAll', 'syncData', 'updateData', 'loadData', 'reloadData', 'reloadRow', 'loadColumn', 'reloadColumn', 'getRowNode', 'getColumnNode', 'getRowIndex', 'getVTRowIndex', 'getVMRowIndex', 'getColumnIndex', 'getVTColumnIndex', 'getVMColumnIndex', 'createData', 'createRow', 'revertData', 'clearData', 'isInsertByRow', 'isUpdateByRow', 'getColumns', 'getColumnById', 'getColumnByField', 'getTableColumn', 'getData', 'getCheckboxRecords', 'getParentRow', 'getRowSeq', 'getRowById', 'getRowid', 'getTableData', 'hideColumn', 'showColumn', 'resetColumn', 'refreshColumn', 'refreshScroll', 'recalculate', 'closeTooltip', 'isAllCheckboxChecked', 'isAllCheckboxIndeterminate', 'getCheckboxIndeterminateRecords', 'setCheckboxRow', 'isCheckedByCheckboxRow', 'isIndeterminateByCheckboxRow', 'toggleCheckboxRow', 'setAllCheckboxRow', 'getRadioReserveRecord', 'clearRadioReserve', 'getCheckboxReserveRecords', 'clearCheckboxReserve', 'toggleAllCheckboxRow', 'clearCheckboxRow', 'setCurrentRow', 'isCheckedByRadioRow', 'setRadioRow', 'clearCurrentRow', 'clearRadioRow', 'getCurrentRecord', 'getRadioRecord', 'getCurrentColumn', 'setCurrentColumn', 'clearCurrentColumn', 'sort', 'clearSort', 'isSort', 'getSortColumns', 'closeFilter', 'isFilter', 'isActiveFilterByColumn', 'isRowExpandLoaded', 'clearRowExpandLoaded', 'reloadRowExpand', 'reloadRowExpand', 'toggleRowExpand', 'setAllRowExpand', 'setRowExpand', 'isExpandByRow', 'clearRowExpand', 'clearRowExpandReserve', 'getRowExpandRecords', 'getTreeExpandRecords', 'isTreeExpandLoaded', 'clearTreeExpandLoaded', 'reloadTreeExpand', 'reloadTreeChilds', 'toggleTreeExpand', 'setAllTreeExpand', 'setTreeExpand', 'isTreeExpandByRow', 'clearTreeExpand', 'clearTreeExpandReserve', 'getScroll', 'scrollTo', 'scrollToRow', 'scrollToColumn', 'clearScroll', 'updateFooter', 'updateStatus', 'setMergeCells', 'removeInsertRow', 'removeMergeCells', 'getMergeCells', 'clearMergeCells', 'setMergeFooterItems', 'removeMergeFooterItems', 'getMergeFooterItems', 'clearMergeFooterItems', 'openTooltip', 'focus', 'blur', 'connect'];
33054
33054
  var gridComponentEmits = grid_spreadArray(grid_spreadArray([], emits, true), ['page-change', 'form-submit', 'form-submit-invalid', 'form-reset', 'form-collapse', 'form-toggle-collapse', 'proxy-query', 'proxy-delete', 'proxy-save', 'toolbar-button-click', 'toolbar-tool-click', 'zoom'], false);
33055
33055
  /* harmony default export */ var grid = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
33056
33056
  name: 'VxeGrid',
@@ -36911,6 +36911,8 @@ var VxeFormConfigItem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineC
36911
36911
  var compConf = isEnableConf(itemRender) ? VXETable.renderer.get(itemRender.name) : null;
36912
36912
  var itemClassName = compConf ? compConf.itemClassName : '';
36913
36913
  var itemStyle = compConf ? compConf.itemStyle : null;
36914
+ var itemContentClassName = compConf ? compConf.itemContentClassName : '';
36915
+ var itemContentStyle = compConf ? compConf.itemContentStyle : null;
36914
36916
  var defaultSlot = slots ? slots.default : null;
36915
36917
  var titleSlot = slots ? slots.title : null;
36916
36918
  var span = item.span || allSpan;
@@ -37011,7 +37013,8 @@ var VxeFormConfigItem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineC
37011
37013
  } : null,
37012
37014
  title: showTitle ? getFuncText(title) : null
37013
37015
  }, ons), renderTitle($xeform, item)) : null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
37014
- class: ['vxe-form--item-content', align ? "align--".concat(align) : null]
37016
+ class: ['vxe-form--item-content', align ? "align--".concat(align) : '', itemContentClassName ? xe_utils_default().isFunction(itemContentClassName) ? itemContentClassName(params) : itemContentClassName : ''],
37017
+ style: xe_utils_default().isFunction(itemContentStyle) ? itemContentStyle(params) : itemContentStyle
37015
37018
  }, contentVNs)])]);
37016
37019
  };
37017
37020
  var $xeformconfigitem = {
@@ -37864,6 +37867,8 @@ var formItemProps = {
37864
37867
  var compConf = isEnableConf(itemRender) ? VXETable.renderer.get(itemRender.name) : null;
37865
37868
  var itemClassName = compConf ? compConf.itemClassName : '';
37866
37869
  var itemStyle = compConf ? compConf.itemStyle : null;
37870
+ var itemContentClassName = compConf ? compConf.itemContentClassName : '';
37871
+ var itemContentStyle = compConf ? compConf.itemContentStyle : null;
37867
37872
  var defaultSlot = slots ? slots.default : null;
37868
37873
  var titleSlot = slots ? slots.title : null;
37869
37874
  var span = item.span || props.span;
@@ -37952,7 +37957,8 @@ var formItemProps = {
37952
37957
  } : null,
37953
37958
  title: showTitle ? getFuncText(title) : null
37954
37959
  }, ons), renderTitle($xeform, item)) : null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
37955
- class: ['vxe-form--item-content', align ? "align--".concat(align) : null]
37960
+ class: ['vxe-form--item-content', align ? "align--".concat(align) : '', itemContentClassName ? xe_utils_default().isFunction(itemContentClassName) ? itemContentClassName(params) : itemContentClassName : ''],
37961
+ style: xe_utils_default().isFunction(itemContentStyle) ? itemContentStyle(params) : itemContentStyle
37956
37962
  }, contentVNs)])]);
37957
37963
  };
37958
37964
  var renderVN = function () {
@@ -41782,12 +41788,15 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
41782
41788
  var fullColumnIdData = internalData.fullColumnIdData = {};
41783
41789
  var fullColumnFieldData = internalData.fullColumnFieldData = {};
41784
41790
  var mouseOpts = computeMouseOpts.value;
41791
+ var columnOpts = computeColumnOpts.value;
41792
+ var rowOpts = computeRowOpts.value;
41785
41793
  var isGroup = collectColumn.some(hasChildrenList);
41786
41794
  var isAllOverflow = !!props.showOverflow;
41787
41795
  var expandColumn;
41788
41796
  var treeNodeColumn;
41789
41797
  var checkboxColumn;
41790
41798
  var radioColumn;
41799
+ var htmlColumn;
41791
41800
  var hasFixed;
41792
41801
  var handleFunc = function (column, index, items, path, parent) {
41793
41802
  var colid = column.id,
@@ -41809,6 +41818,9 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
41809
41818
  if (!hasFixed && fixed) {
41810
41819
  hasFixed = fixed;
41811
41820
  }
41821
+ if (!htmlColumn && type === 'html') {
41822
+ htmlColumn = column;
41823
+ }
41812
41824
  if (treeNode) {
41813
41825
  if (false) {}
41814
41826
  if (!treeNodeColumn) {
@@ -41838,6 +41850,7 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
41838
41850
  tableFullColumn.forEach(handleFunc);
41839
41851
  }
41840
41852
  if (false) {}
41853
+ if (false) {}
41841
41854
  reactData.isGroup = isGroup;
41842
41855
  reactData.treeNodeColumn = treeNodeColumn;
41843
41856
  reactData.expandColumn = expandColumn;
@@ -43817,14 +43830,8 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
43817
43830
  * @param {Array} records 新数据
43818
43831
  */
43819
43832
  createData: function (records) {
43820
- var treeConfig = props.treeConfig;
43821
- var treeOpts = computeTreeOpts.value;
43822
- var handleRrecord = function (record) {
43823
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)(tablePrivateMethods.defineField(record || {}));
43824
- };
43825
- var rows = treeConfig ? xe_utils_default().mapTree(records, handleRrecord, treeOpts) : records.map(handleRrecord);
43826
43833
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(function () {
43827
- return rows;
43834
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)(tablePrivateMethods.defineField(records));
43828
43835
  });
43829
43836
  },
43830
43837
  /**
@@ -43835,12 +43842,10 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
43835
43842
  createRow: function (records) {
43836
43843
  var isArr = xe_utils_default().isArray(records);
43837
43844
  if (!isArr) {
43838
- records = [records];
43845
+ records = [records || {}];
43839
43846
  }
43840
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(function () {
43841
- return tableMethods.createData(records).then(function (rows) {
43842
- return isArr ? rows : rows[0];
43843
- });
43847
+ return tableMethods.createData(records).then(function (rows) {
43848
+ return isArr ? rows : rows[0];
43844
43849
  });
43845
43850
  },
43846
43851
  /**
@@ -44221,7 +44226,7 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
44221
44226
  return new Promise(function (resolve) {
44222
44227
  // 还原滚动条位置
44223
44228
  if (lastScrollLeft || lastScrollTop) {
44224
- return restoreScrollLocation($xetable, lastScrollLeft, lastScrollTop).then(resolve).then(function () {
44229
+ return restoreScrollLocation($xetable, lastScrollLeft, lastScrollTop).then().then(function () {
44225
44230
  // 存在滚动行为未结束情况
44226
44231
  setTimeout(resolve, 30);
44227
44232
  });
@@ -44708,7 +44713,7 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
44708
44713
  * 判断指定列是否为筛选状态,如果为空则判断所有列
44709
44714
  * @param {String} fieldOrColumn 字段名
44710
44715
  */
44711
- isFilter: function (fieldOrColumn) {
44716
+ isActiveFilterByColumn: function (fieldOrColumn) {
44712
44717
  var column = handleFieldOrColumn($xetable, fieldOrColumn);
44713
44718
  if (column) {
44714
44719
  return column.filters && column.filters.some(function (option) {
@@ -44717,6 +44722,9 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
44717
44722
  }
44718
44723
  return $xetable.getCheckedFilters().length > 0;
44719
44724
  },
44725
+ isFilter: function (fieldOrColumn) {
44726
+ return tableMethods.isActiveFilterByColumn(fieldOrColumn);
44727
+ },
44720
44728
  /**
44721
44729
  * 判断展开行是否懒加载完成
44722
44730
  * @param {Row} row 行对象
@@ -46435,7 +46443,7 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
46435
46443
  var column = params.column;
46436
46444
  var tooltipStore = reactData.tooltipStore;
46437
46445
  var cell = evnt.currentTarget;
46438
- handleTargetEnterEvent(tooltipStore.column !== column || tooltipStore.row);
46446
+ handleTargetEnterEvent(tooltipStore.column !== column || !!tooltipStore.row);
46439
46447
  if (tooltipStore.column !== column || !tooltipStore.visible) {
46440
46448
  handleTooltip(evnt, cell, cell.querySelector('.vxe-cell--item') || cell.children[0], null, params);
46441
46449
  }
@@ -70664,12 +70672,22 @@ const MlModal_exports_ = MlModalvue_type_script_lang_ts_setup_true;
70664
70672
  modelValue: [Number, String],
70665
70673
  type: String
70666
70674
  },
70667
- emits: ["update:modelValue", "edit", "change"],
70675
+ emits: ["update:modelValue", "edit", "click", "change"],
70668
70676
  setup(__props, {
70669
70677
  emit
70670
70678
  }) {
70671
70679
  const props = __props;
70672
70680
  const activeKey = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(props.modelValue);
70681
+ const clickEvent = pane => {
70682
+ const tab = {
70683
+ name: pane.props.name,
70684
+ label: pane.props.label
70685
+ };
70686
+ emit('click', {
70687
+ tab,
70688
+ active: pane.active
70689
+ });
70690
+ };
70673
70691
  const changeEvent = () => {
70674
70692
  emit('update:modelValue', activeKey.value);
70675
70693
  emit('change', {});
@@ -70689,6 +70707,7 @@ const MlModal_exports_ = MlModalvue_type_script_lang_ts_setup_true;
70689
70707
  modelValue: activeKey.value,
70690
70708
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => activeKey.value = $event),
70691
70709
  type: __props.type,
70710
+ onTabClick: clickEvent,
70692
70711
  onTabChange: changeEvent,
70693
70712
  onEdit: editEvent
70694
70713
  }, {
@@ -71334,6 +71353,40 @@ const MaliModal = {
71334
71353
  }
71335
71354
  };
71336
71355
  /* harmony default export */ var modal_modal_0 = (MaliModal);
71356
+ ;// CONCATENATED MODULE: ./modal/notify.ts
71357
+
71358
+
71359
+ const notify_modal = index_esm.modal;
71360
+ const MaliNotify = {
71361
+ success(option) {
71362
+ const opts = xe_utils_default().isString(option) ? {
71363
+ content: option
71364
+ } : {
71365
+ ...option
71366
+ };
71367
+ return notify_modal.message({
71368
+ status: 'success',
71369
+ content: opts.content || '操作成功'
71370
+ });
71371
+ },
71372
+ error(option) {
71373
+ const opts = xe_utils_default().isString(option) ? {
71374
+ content: option
71375
+ } : {
71376
+ ...option
71377
+ };
71378
+ return notify_modal.message({
71379
+ status: 'error',
71380
+ content: opts.content || '操作失败'
71381
+ });
71382
+ },
71383
+ hide() {
71384
+ return new Promise(resolve => {
71385
+ setTimeout(resolve, 2000);
71386
+ });
71387
+ }
71388
+ };
71389
+ /* harmony default export */ var modal_notify = (MaliNotify);
71337
71390
  ;// CONCATENATED MODULE: ./modal/loading.ts
71338
71391
  const MaliLoading = {
71339
71392
  show(option) {
@@ -73131,6 +73184,7 @@ VXETable.setup({
73131
73184
 
73132
73185
 
73133
73186
 
73187
+
73134
73188
  const index_MlIcon = MlIcon;
73135
73189
  const index_MlRow = MlRow;
73136
73190
  const index_MlCol = MlCol;
@@ -73268,7 +73322,7 @@ function index_config(options) {
73268
73322
  return config_0;
73269
73323
  }
73270
73324
  const MaliUI = {
73271
- version: "1.0.77",
73325
+ version: "1.0.79",
73272
73326
  install: index_install,
73273
73327
  config: index_config,
73274
73328
  renderer: index_esm.renderer,
@@ -73276,6 +73330,7 @@ const MaliUI = {
73276
73330
  MaliClipboard: clipboard,
73277
73331
  MaliToast: toast,
73278
73332
  MaliModal: modal_modal_0,
73333
+ MaliNotify: modal_notify,
73279
73334
  MaliLoading: modal_loading,
73280
73335
  MaliStorage: storage,
73281
73336
  KindEditor: kindeditor