vxe-table 4.7.3 → 4.7.4

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.
Files changed (98) hide show
  1. package/es/colgroup/index.js +1 -1
  2. package/es/column/index.js +1 -1
  3. package/es/grid/index.js +1 -1
  4. package/es/grid/src/grid.js +1 -1
  5. package/es/table/index.js +1 -1
  6. package/es/table/module/custom/hook.js +1 -1
  7. package/es/table/module/custom/panel.js +1 -1
  8. package/es/table/module/edit/hook.js +1 -1
  9. package/es/table/module/export/export-panel.js +1 -1
  10. package/es/table/module/export/hook.js +1 -1
  11. package/es/table/module/export/import-panel.js +1 -1
  12. package/es/table/module/filter/hook.js +1 -1
  13. package/es/table/module/filter/panel.js +1 -1
  14. package/es/table/module/menu/hook.js +1 -1
  15. package/es/table/module/validator/hook.js +1 -1
  16. package/es/table/render/index.js +1 -1
  17. package/es/table/src/body.js +1 -1
  18. package/es/table/src/cell.js +1 -1
  19. package/es/table/src/columnInfo.js +1 -1
  20. package/es/table/src/props.js +1 -1
  21. package/es/table/src/table.js +1 -1
  22. package/es/toolbar/index.js +1 -1
  23. package/es/toolbar/src/toolbar.js +1 -1
  24. package/es/ui/index.js +2 -2
  25. package/lib/colgroup/index.js +4 -4
  26. package/lib/colgroup/index.min.js +1 -1
  27. package/lib/column/index.js +4 -4
  28. package/lib/column/index.min.js +1 -1
  29. package/lib/grid/index.js +3 -3
  30. package/lib/grid/index.min.js +1 -1
  31. package/lib/grid/src/grid.js +20 -20
  32. package/lib/grid/src/grid.min.js +1 -1
  33. package/lib/index.umd.js +652 -652
  34. package/lib/index.umd.min.js +1 -1
  35. package/lib/table/index.js +3 -3
  36. package/lib/table/index.min.js +1 -1
  37. package/lib/table/module/custom/hook.js +2 -2
  38. package/lib/table/module/custom/hook.min.js +1 -1
  39. package/lib/table/module/custom/panel.js +4 -4
  40. package/lib/table/module/custom/panel.min.js +1 -1
  41. package/lib/table/module/edit/hook.js +2 -2
  42. package/lib/table/module/edit/hook.min.js +1 -1
  43. package/lib/table/module/export/export-panel.js +2 -2
  44. package/lib/table/module/export/export-panel.min.js +1 -1
  45. package/lib/table/module/export/hook.js +20 -20
  46. package/lib/table/module/export/hook.min.js +1 -1
  47. package/lib/table/module/export/import-panel.js +2 -2
  48. package/lib/table/module/export/import-panel.min.js +1 -1
  49. package/lib/table/module/filter/hook.js +2 -2
  50. package/lib/table/module/filter/hook.min.js +1 -1
  51. package/lib/table/module/filter/panel.js +2 -2
  52. package/lib/table/module/filter/panel.min.js +1 -1
  53. package/lib/table/module/menu/hook.js +2 -2
  54. package/lib/table/module/menu/hook.min.js +1 -1
  55. package/lib/table/module/validator/hook.js +2 -2
  56. package/lib/table/module/validator/hook.min.js +1 -1
  57. package/lib/table/render/index.js +2 -2
  58. package/lib/table/render/index.min.js +1 -1
  59. package/lib/table/src/body.js +2 -2
  60. package/lib/table/src/body.min.js +1 -1
  61. package/lib/table/src/cell.js +2 -2
  62. package/lib/table/src/cell.min.js +1 -1
  63. package/lib/table/src/columnInfo.js +2 -2
  64. package/lib/table/src/columnInfo.min.js +1 -1
  65. package/lib/table/src/props.js +2 -2
  66. package/lib/table/src/props.min.js +1 -1
  67. package/lib/table/src/table.js +4 -4
  68. package/lib/table/src/table.min.js +1 -1
  69. package/lib/toolbar/index.js +3 -3
  70. package/lib/toolbar/index.min.js +1 -1
  71. package/lib/toolbar/src/toolbar.js +2 -2
  72. package/lib/toolbar/src/toolbar.min.js +1 -1
  73. package/lib/ui/index.js +2 -2
  74. package/lib/ui/index.min.js +1 -1
  75. package/package.json +2 -2
  76. package/packages/colgroup/index.ts +1 -1
  77. package/packages/column/index.ts +1 -1
  78. package/packages/grid/index.ts +1 -1
  79. package/packages/grid/src/grid.ts +1 -1
  80. package/packages/table/index.ts +1 -1
  81. package/packages/table/module/custom/hook.ts +1 -1
  82. package/packages/table/module/custom/panel.ts +1 -1
  83. package/packages/table/module/edit/hook.ts +1 -1
  84. package/packages/table/module/export/export-panel.ts +1 -1
  85. package/packages/table/module/export/hook.ts +1 -1
  86. package/packages/table/module/export/import-panel.ts +1 -1
  87. package/packages/table/module/filter/hook.ts +1 -1
  88. package/packages/table/module/filter/panel.ts +1 -1
  89. package/packages/table/module/menu/hook.ts +1 -1
  90. package/packages/table/module/validator/hook.ts +1 -1
  91. package/packages/table/render/index.ts +1 -1
  92. package/packages/table/src/body.ts +1 -1
  93. package/packages/table/src/cell.ts +1 -1
  94. package/packages/table/src/columnInfo.ts +1 -1
  95. package/packages/table/src/props.ts +1 -1
  96. package/packages/table/src/table.ts +1 -1
  97. package/packages/toolbar/index.ts +1 -1
  98. package/packages/toolbar/src/toolbar.ts +1 -1
package/lib/index.umd.js CHANGED
@@ -1690,25 +1690,25 @@ __webpack_require__.d(__webpack_exports__, {
1690
1690
  VxeUI: function() { return /* reexport */ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI; },
1691
1691
  _t: function() { return /* reexport */ _t; },
1692
1692
  clipboard: function() { return /* reexport */ clipboard; },
1693
- commands: function() { return /* reexport */ ui_commands; },
1693
+ commands: function() { return /* reexport */ commands; },
1694
1694
  config: function() { return /* reexport */ config; },
1695
1695
  "default": function() { return /* binding */ entry_lib; },
1696
1696
  drawer: function() { return /* reexport */ drawer; },
1697
- formats: function() { return /* reexport */ ui_formats; },
1698
- getConfig: function() { return /* reexport */ ui_getConfig; },
1699
- getI18n: function() { return /* reexport */ ui_getI18n; },
1700
- getIcon: function() { return /* reexport */ ui_getIcon; },
1697
+ formats: function() { return /* reexport */ formats; },
1698
+ getConfig: function() { return /* reexport */ getConfig; },
1699
+ getI18n: function() { return /* reexport */ getI18n; },
1700
+ getIcon: function() { return /* reexport */ getIcon; },
1701
1701
  getTheme: function() { return /* reexport */ getTheme; },
1702
- globalEvents: function() { return /* reexport */ ui_globalEvents; },
1703
- globalResize: function() { return /* reexport */ ui_globalResize; },
1704
- hooks: function() { return /* reexport */ ui_hooks; },
1702
+ globalEvents: function() { return /* reexport */ globalEvents; },
1703
+ globalResize: function() { return /* reexport */ globalResize; },
1704
+ hooks: function() { return /* reexport */ hooks; },
1705
1705
  install: function() { return /* reexport */ install; },
1706
- interceptor: function() { return /* reexport */ ui_interceptor; },
1707
- log: function() { return /* reexport */ ui_log; },
1708
- menus: function() { return /* reexport */ ui_menus; },
1706
+ interceptor: function() { return /* reexport */ interceptor; },
1707
+ log: function() { return /* reexport */ log; },
1708
+ menus: function() { return /* reexport */ menus; },
1709
1709
  modal: function() { return /* reexport */ modal; },
1710
1710
  readFile: function() { return /* reexport */ readFile; },
1711
- renderer: function() { return /* reexport */ ui_renderer; },
1711
+ renderer: function() { return /* reexport */ renderer; },
1712
1712
  saveFile: function() { return /* reexport */ saveFile; },
1713
1713
  setConfig: function() { return /* reexport */ setConfig; },
1714
1714
  setI18n: function() { return /* reexport */ setI18n; },
@@ -1718,7 +1718,7 @@ __webpack_require__.d(__webpack_exports__, {
1718
1718
  setup: function() { return /* reexport */ setup; },
1719
1719
  t: function() { return /* reexport */ t; },
1720
1720
  use: function() { return /* reexport */ use; },
1721
- validators: function() { return /* reexport */ ui_validators; }
1721
+ validators: function() { return /* reexport */ validators; }
1722
1722
  });
1723
1723
 
1724
1724
  // NAMESPACE OBJECT: ./packages/components.ts
@@ -1739,24 +1739,24 @@ __webpack_require__.d(components_namespaceObject, {
1739
1739
  VxeUI: function() { return external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI; },
1740
1740
  _t: function() { return _t; },
1741
1741
  clipboard: function() { return clipboard; },
1742
- commands: function() { return ui_commands; },
1742
+ commands: function() { return commands; },
1743
1743
  config: function() { return config; },
1744
1744
  drawer: function() { return drawer; },
1745
- formats: function() { return ui_formats; },
1746
- getConfig: function() { return ui_getConfig; },
1747
- getI18n: function() { return ui_getI18n; },
1748
- getIcon: function() { return ui_getIcon; },
1745
+ formats: function() { return formats; },
1746
+ getConfig: function() { return getConfig; },
1747
+ getI18n: function() { return getI18n; },
1748
+ getIcon: function() { return getIcon; },
1749
1749
  getTheme: function() { return getTheme; },
1750
- globalEvents: function() { return ui_globalEvents; },
1751
- globalResize: function() { return ui_globalResize; },
1752
- hooks: function() { return ui_hooks; },
1750
+ globalEvents: function() { return globalEvents; },
1751
+ globalResize: function() { return globalResize; },
1752
+ hooks: function() { return hooks; },
1753
1753
  install: function() { return install; },
1754
- interceptor: function() { return ui_interceptor; },
1755
- log: function() { return ui_log; },
1756
- menus: function() { return ui_menus; },
1754
+ interceptor: function() { return interceptor; },
1755
+ log: function() { return log; },
1756
+ menus: function() { return menus; },
1757
1757
  modal: function() { return modal; },
1758
1758
  readFile: function() { return readFile; },
1759
- renderer: function() { return ui_renderer; },
1759
+ renderer: function() { return renderer; },
1760
1760
  saveFile: function() { return saveFile; },
1761
1761
  setConfig: function() { return setConfig; },
1762
1762
  setI18n: function() { return setI18n; },
@@ -1766,7 +1766,7 @@ __webpack_require__.d(components_namespaceObject, {
1766
1766
  setup: function() { return setup; },
1767
1767
  t: function() { return t; },
1768
1768
  use: function() { return use; },
1769
- validators: function() { return ui_validators; }
1769
+ validators: function() { return validators; }
1770
1770
  });
1771
1771
 
1772
1772
  ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
@@ -1789,78 +1789,358 @@ if (typeof window !== 'undefined') {
1789
1789
  // EXTERNAL MODULE: external {"root":"VxeUI","commonjs":"vxe-pc-ui","commonjs2":"vxe-pc-ui","amd":"vxe-pc-ui"}
1790
1790
  var external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_ = __webpack_require__(2847);
1791
1791
  var external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_default = /*#__PURE__*/__webpack_require__.n(external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_);
1792
- // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
1793
- var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(9274);
1794
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
1795
- var es_array_push = __webpack_require__(4114);
1796
- // EXTERNAL MODULE: external {"root":"XEUtils","commonjs":"xe-utils","commonjs2":"xe-utils","amd":"xe-utils"}
1797
- var external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_ = __webpack_require__(8871);
1798
- var external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default = /*#__PURE__*/__webpack_require__.n(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_);
1799
- ;// CONCATENATED MODULE: ./node_modules/dom-zindex/es/index.esm.js
1800
- var storeEl = null;
1801
- var storeId = 'z-index-manage';
1802
- var storeMainKey = 'm';
1803
- var storeSubKey = 's';
1804
- var storeData = {
1805
- m: 1000,
1806
- s: 1000
1807
- };
1808
- function isDocument() {
1809
- return typeof document !== 'undefined';
1810
- }
1811
- function getDomMaxZIndex() {
1812
- var max = 0;
1813
- if (isDocument()) {
1814
- var allElem = document.body.getElementsByTagName('*');
1815
- for (var i = 0; i < allElem.length; i++) {
1816
- var elem = allElem[i];
1817
- if (elem && elem.style && elem.nodeType === 1) {
1818
- var zIndex = elem.style.zIndex;
1819
- if (zIndex && /^\d+$/.test(zIndex)) {
1820
- max = Math.max(max, Number(zIndex));
1821
- }
1822
- }
1792
+ ;// CONCATENATED MODULE: ./packages/ui/index.ts
1793
+
1794
+ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.version = "4.7.4";
1795
+ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.tableVersion = "4.7.4";
1796
+ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setConfig({
1797
+ emptyCell: ' ',
1798
+ table: {
1799
+ fit: true,
1800
+ showHeader: true,
1801
+ animat: true,
1802
+ delayHover: 250,
1803
+ autoResize: true,
1804
+ minHeight: 144,
1805
+ // keepSource: false,
1806
+ // showOverflow: null,
1807
+ // showHeaderOverflow: null,
1808
+ // showFooterOverflow: null,
1809
+ // resizeInterval: 500,
1810
+ // size: null,
1811
+ // zIndex: null,
1812
+ // stripe: false,
1813
+ // border: false,
1814
+ // round: false,
1815
+ // emptyText: '暂无数据',
1816
+ // emptyRender: {
1817
+ // name: ''
1818
+ // },
1819
+ // rowConfig: {
1820
+ // keyField: '_X_ROW_KEY' // 行数据的唯一主键字段名
1821
+ // },
1822
+ resizeConfig: {
1823
+ refreshDelay: 250
1824
+ },
1825
+ radioConfig: {
1826
+ // trigger: 'default'
1827
+ strict: true
1828
+ },
1829
+ checkboxConfig: {
1830
+ // trigger: 'default',
1831
+ strict: true
1832
+ },
1833
+ tooltipConfig: {
1834
+ enterable: true
1835
+ },
1836
+ validConfig: {
1837
+ showMessage: true,
1838
+ autoClear: true,
1839
+ autoPos: true,
1840
+ message: 'inline',
1841
+ msgMode: 'single'
1842
+ },
1843
+ columnConfig: {
1844
+ maxFixedSize: 4
1845
+ },
1846
+ // menuConfig: {
1847
+ // visibleMethod () {}
1848
+ // },
1849
+ customConfig: {
1850
+ allowFixed: true,
1851
+ showFooter: true
1852
+ // storage: false,
1853
+ // checkMethod () {}
1854
+ },
1855
+ sortConfig: {
1856
+ // remote: false,
1857
+ // trigger: 'default',
1858
+ // orders: ['asc', 'desc', null],
1859
+ // sortMethod: null,
1860
+ showIcon: true,
1861
+ iconLayout: 'vertical'
1862
+ },
1863
+ filterConfig: {
1864
+ // remote: false,
1865
+ // filterMethod: null,
1866
+ showIcon: true
1867
+ },
1868
+ treeConfig: {
1869
+ rowField: 'id',
1870
+ parentField: 'parentId',
1871
+ childrenField: 'children',
1872
+ hasChildField: 'hasChild',
1873
+ mapChildrenField: '_X_ROW_CHILD',
1874
+ indent: 20,
1875
+ showIcon: true
1876
+ },
1877
+ expandConfig: {
1878
+ // trigger: 'default',
1879
+ showIcon: true
1880
+ },
1881
+ editConfig: {
1882
+ // mode: 'cell',
1883
+ showIcon: true,
1884
+ showAsterisk: true
1885
+ },
1886
+ importConfig: {
1887
+ _typeMaps: {
1888
+ csv: 1,
1889
+ html: 1,
1890
+ xml: 1,
1891
+ txt: 1
1892
+ },
1893
+ modes: ['insert', 'covering']
1894
+ },
1895
+ exportConfig: {
1896
+ _typeMaps: {
1897
+ csv: 1,
1898
+ html: 1,
1899
+ xml: 1,
1900
+ txt: 1
1901
+ },
1902
+ modes: ['current', 'selected']
1903
+ },
1904
+ printConfig: {
1905
+ modes: ['current', 'selected']
1906
+ },
1907
+ mouseConfig: {
1908
+ extension: true
1909
+ },
1910
+ keyboardConfig: {
1911
+ isEsc: true
1912
+ },
1913
+ areaConfig: {
1914
+ autoClear: true,
1915
+ selectCellByHeader: true
1916
+ },
1917
+ clipConfig: {
1918
+ isCopy: true,
1919
+ isCut: true,
1920
+ isPaste: true
1921
+ },
1922
+ fnrConfig: {
1923
+ isFind: true,
1924
+ isReplace: true
1925
+ },
1926
+ scrollX: {
1927
+ // enabled: false,
1928
+ gt: 60
1929
+ // oSize: 0
1930
+ },
1931
+ scrollY: {
1932
+ // enabled: false,
1933
+ gt: 100
1934
+ // oSize: 0
1823
1935
  }
1824
- }
1825
- return max;
1826
- }
1827
- function getDom() {
1828
- if (!storeEl) {
1829
- if (isDocument()) {
1830
- storeEl = document.getElementById(storeId);
1831
- if (!storeEl) {
1832
- storeEl = document.createElement('div');
1833
- storeEl.id = storeId;
1834
- storeEl.style.display = 'none';
1835
- document.body.appendChild(storeEl);
1836
- setCurrent(storeData.m);
1837
- setSubCurrent(storeData.s);
1936
+ },
1937
+ // export: {
1938
+ // types: {}
1939
+ // },
1940
+ grid: {
1941
+ // size: null,
1942
+ // zoomConfig: {
1943
+ // escRestore: true
1944
+ // },
1945
+ formConfig: {
1946
+ enabled: true
1947
+ },
1948
+ pagerConfig: {
1949
+ enabled: true
1950
+ // perfect: false
1951
+ },
1952
+ toolbarConfig: {
1953
+ enabled: true
1954
+ // perfect: false
1955
+ },
1956
+ proxyConfig: {
1957
+ enabled: true,
1958
+ autoLoad: true,
1959
+ message: true,
1960
+ props: {
1961
+ list: null,
1962
+ result: 'result',
1963
+ total: 'page.total',
1964
+ message: 'message'
1838
1965
  }
1966
+ // beforeItem: null,
1967
+ // beforeColumn: null,
1968
+ // beforeQuery: null,
1969
+ // afterQuery: null,
1970
+ // beforeDelete: null,
1971
+ // afterDelete: null,
1972
+ // beforeSave: null,
1973
+ // afterSave: null
1839
1974
  }
1975
+ },
1976
+ toolbar: {
1977
+ // size: null,
1978
+ // import: {
1979
+ // mode: 'covering'
1980
+ // },
1981
+ // export: {
1982
+ // types: ['csv', 'html', 'xml', 'txt']
1983
+ // },
1984
+ // buttons: []
1840
1985
  }
1841
- return storeEl;
1842
- }
1843
- function createSetHandle(key) {
1844
- return function (value) {
1845
- if (value) {
1846
- value = Number(value);
1847
- storeData[key] = value;
1848
- var doc = getDom();
1849
- if (doc) {
1850
- if (doc.dataset) {
1851
- doc.dataset[key] = value + '';
1852
- } else {
1853
- doc.setAttribute('data-' + key, value + '');
1854
- }
1855
- }
1856
- }
1857
- return storeData[key];
1858
- };
1859
- }
1860
- var setCurrent = createSetHandle(storeMainKey);
1861
- function createGetHandle(key, nextMethod) {
1862
- return function getCurrent(currZindex) {
1863
- var zIndex;
1986
+ });
1987
+ const iconPrefix = 'vxe-icon-';
1988
+ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setIcon({
1989
+ // table
1990
+ TABLE_SORT_ASC: iconPrefix + 'caret-up',
1991
+ TABLE_SORT_DESC: iconPrefix + 'caret-down',
1992
+ TABLE_FILTER_NONE: iconPrefix + 'funnel',
1993
+ TABLE_FILTER_MATCH: iconPrefix + 'funnel',
1994
+ TABLE_EDIT: iconPrefix + 'edit',
1995
+ TABLE_TITLE_PREFIX: iconPrefix + 'question-circle-fill',
1996
+ TABLE_TITLE_SUFFIX: iconPrefix + 'question-circle-fill',
1997
+ TABLE_TREE_LOADED: iconPrefix + 'spinner roll',
1998
+ TABLE_TREE_OPEN: iconPrefix + 'caret-right rotate90',
1999
+ TABLE_TREE_CLOSE: iconPrefix + 'caret-right',
2000
+ TABLE_EXPAND_LOADED: iconPrefix + 'spinner roll',
2001
+ TABLE_EXPAND_OPEN: iconPrefix + 'arrow-right rotate90',
2002
+ TABLE_EXPAND_CLOSE: iconPrefix + 'arrow-right',
2003
+ TABLE_CHECKBOX_CHECKED: iconPrefix + 'checkbox-checked-fill',
2004
+ TABLE_CHECKBOX_UNCHECKED: iconPrefix + 'checkbox-unchecked',
2005
+ TABLE_CHECKBOX_INDETERMINATE: iconPrefix + 'checkbox-indeterminate-fill',
2006
+ TABLE_RADIO_CHECKED: iconPrefix + 'radio-checked-fill',
2007
+ TABLE_RADIO_UNCHECKED: iconPrefix + 'radio-unchecked',
2008
+ // toolbar
2009
+ TOOLBAR_TOOLS_REFRESH: iconPrefix + 'repeat',
2010
+ TOOLBAR_TOOLS_REFRESH_LOADING: iconPrefix + 'repeat roll',
2011
+ TOOLBAR_TOOLS_IMPORT: iconPrefix + 'upload',
2012
+ TOOLBAR_TOOLS_EXPORT: iconPrefix + 'download',
2013
+ TOOLBAR_TOOLS_PRINT: iconPrefix + 'print',
2014
+ TOOLBAR_TOOLS_FULLSCREEN: iconPrefix + 'fullscreen',
2015
+ TOOLBAR_TOOLS_MINIMIZE: iconPrefix + 'minimize',
2016
+ TOOLBAR_TOOLS_CUSTOM: iconPrefix + 'custom-column',
2017
+ TOOLBAR_TOOLS_FIXED_LEFT: iconPrefix + 'fixed-left',
2018
+ TOOLBAR_TOOLS_FIXED_LEFT_ACTIVE: iconPrefix + 'fixed-left-fill',
2019
+ TOOLBAR_TOOLS_FIXED_RIGHT: iconPrefix + 'fixed-right',
2020
+ TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVE: iconPrefix + 'fixed-right-fill'
2021
+ });
2022
+ const setTheme = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setTheme;
2023
+ const getTheme = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.getTheme;
2024
+ const setConfig = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setConfig;
2025
+ const getConfig = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.getConfig;
2026
+ const setIcon = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setIcon;
2027
+ const getIcon = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.getIcon;
2028
+ const setLanguage = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setLanguage;
2029
+ const setI18n = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setI18n;
2030
+ const getI18n = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.getI18n;
2031
+ const globalEvents = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.globalEvents;
2032
+ const globalResize = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.globalResize;
2033
+ const renderer = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.renderer;
2034
+ const validators = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.validators;
2035
+ const menus = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.menus;
2036
+ const formats = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.formats;
2037
+ const commands = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.commands;
2038
+ const interceptor = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.interceptor;
2039
+ const clipboard = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.clipboard;
2040
+ const log = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.log;
2041
+ const hooks = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.hooks;
2042
+ const use = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.use;
2043
+ /**
2044
+ * 已废弃
2045
+ * @deprecated
2046
+ */
2047
+ const setup = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setup;
2048
+ /**
2049
+ * 已废弃
2050
+ * @deprecated
2051
+ */
2052
+ const config = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.config;
2053
+ /**
2054
+ * 已废弃
2055
+ * @deprecated
2056
+ */
2057
+ const t = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.t;
2058
+ /**
2059
+ * 已废弃
2060
+ * @deprecated
2061
+ */
2062
+ const _t = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI._t;
2063
+ /**
2064
+ * 已废弃,兼容老版本
2065
+ * @deprecated
2066
+ */
2067
+ const VXETable = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
2068
+ const saveFile = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.readFile;
2069
+ const readFile = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.readFile;
2070
+
2071
+ /* harmony default export */ var ui = ((/* unused pure expression or super */ null && (VxeUI)));
2072
+ // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
2073
+ var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(9274);
2074
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
2075
+ var es_array_push = __webpack_require__(4114);
2076
+ // EXTERNAL MODULE: external {"root":"XEUtils","commonjs":"xe-utils","commonjs2":"xe-utils","amd":"xe-utils"}
2077
+ var external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_ = __webpack_require__(8871);
2078
+ var external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default = /*#__PURE__*/__webpack_require__.n(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_);
2079
+ ;// CONCATENATED MODULE: ./node_modules/dom-zindex/es/index.esm.js
2080
+ var storeEl = null;
2081
+ var storeId = 'z-index-manage';
2082
+ var storeMainKey = 'm';
2083
+ var storeSubKey = 's';
2084
+ var storeData = {
2085
+ m: 1000,
2086
+ s: 1000
2087
+ };
2088
+ function isDocument() {
2089
+ return typeof document !== 'undefined';
2090
+ }
2091
+ function getDomMaxZIndex() {
2092
+ var max = 0;
2093
+ if (isDocument()) {
2094
+ var allElem = document.body.getElementsByTagName('*');
2095
+ for (var i = 0; i < allElem.length; i++) {
2096
+ var elem = allElem[i];
2097
+ if (elem && elem.style && elem.nodeType === 1) {
2098
+ var zIndex = elem.style.zIndex;
2099
+ if (zIndex && /^\d+$/.test(zIndex)) {
2100
+ max = Math.max(max, Number(zIndex));
2101
+ }
2102
+ }
2103
+ }
2104
+ }
2105
+ return max;
2106
+ }
2107
+ function getDom() {
2108
+ if (!storeEl) {
2109
+ if (isDocument()) {
2110
+ storeEl = document.getElementById(storeId);
2111
+ if (!storeEl) {
2112
+ storeEl = document.createElement('div');
2113
+ storeEl.id = storeId;
2114
+ storeEl.style.display = 'none';
2115
+ document.body.appendChild(storeEl);
2116
+ setCurrent(storeData.m);
2117
+ setSubCurrent(storeData.s);
2118
+ }
2119
+ }
2120
+ }
2121
+ return storeEl;
2122
+ }
2123
+ function createSetHandle(key) {
2124
+ return function (value) {
2125
+ if (value) {
2126
+ value = Number(value);
2127
+ storeData[key] = value;
2128
+ var doc = getDom();
2129
+ if (doc) {
2130
+ if (doc.dataset) {
2131
+ doc.dataset[key] = value + '';
2132
+ } else {
2133
+ doc.setAttribute('data-' + key, value + '');
2134
+ }
2135
+ }
2136
+ }
2137
+ return storeData[key];
2138
+ };
2139
+ }
2140
+ var setCurrent = createSetHandle(storeMainKey);
2141
+ function createGetHandle(key, nextMethod) {
2142
+ return function getCurrent(currZindex) {
2143
+ var zIndex;
1864
2144
  var doc = getDom();
1865
2145
  if (doc) {
1866
2146
  var domVal = doc.dataset ? doc.dataset[key] : doc.getAttribute('data-' + key);
@@ -1957,9 +2237,9 @@ function eqEmptyValue(cellValue) {
1957
2237
 
1958
2238
 
1959
2239
  const {
1960
- getI18n,
1961
- formats,
1962
- log
2240
+ getI18n: columnInfo_getI18n,
2241
+ formats: columnInfo_formats,
2242
+ log: columnInfo_log
1963
2243
  } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
1964
2244
  class ColumnInfo {
1965
2245
  /* eslint-disable @typescript-eslint/no-use-before-define */
@@ -1975,16 +2255,16 @@ class ColumnInfo {
1975
2255
  if (true) {
1976
2256
  const types = ['seq', 'checkbox', 'radio', 'expand', 'html'];
1977
2257
  if (_vm.type && types.indexOf(_vm.type) === -1) {
1978
- log.warn('vxe.error.errProp', [`type=${_vm.type}`, types.join(', ')]);
2258
+ columnInfo_log.warn('vxe.error.errProp', [`type=${_vm.type}`, types.join(', ')]);
1979
2259
  }
1980
2260
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(_vm.cellRender) || _vm.cellRender && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isObject(_vm.cellRender)) {
1981
- log.warn('vxe.error.errProp', [`column.cell-render=${_vm.cellRender}`, 'column.cell-render={}']);
2261
+ columnInfo_log.warn('vxe.error.errProp', [`column.cell-render=${_vm.cellRender}`, 'column.cell-render={}']);
1982
2262
  }
1983
2263
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(_vm.editRender) || _vm.editRender && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isObject(_vm.editRender)) {
1984
- log.warn('vxe.error.errProp', [`column.edit-render=${_vm.editRender}`, 'column.edit-render={}']);
2264
+ columnInfo_log.warn('vxe.error.errProp', [`column.edit-render=${_vm.editRender}`, 'column.edit-render={}']);
1985
2265
  }
1986
2266
  if (_vm.cellRender && _vm.editRender) {
1987
- log.warn('vxe.error.errConflicts', ['column.cell-render', 'column.edit-render']);
2267
+ columnInfo_log.warn('vxe.error.errConflicts', ['column.cell-render', 'column.edit-render']);
1988
2268
  }
1989
2269
  if (_vm.type === 'expand') {
1990
2270
  const {
@@ -1998,19 +2278,19 @@ class ColumnInfo {
1998
2278
  } = $xeTable.getComputeMaps();
1999
2279
  const treeOpts = computeTreeOpts.value;
2000
2280
  if (treeConfig && (treeOpts.showLine || treeOpts.line)) {
2001
- log.err('vxe.error.errConflicts', ['tree-config.showLine', 'column.type=expand']);
2281
+ columnInfo_log.err('vxe.error.errConflicts', ['tree-config.showLine', 'column.type=expand']);
2002
2282
  }
2003
2283
  }
2004
2284
  if (formatter) {
2005
2285
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(formatter)) {
2006
- const gFormatOpts = formats.get(formatter) || (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default())[formatter];
2286
+ const gFormatOpts = columnInfo_formats.get(formatter) || (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default())[formatter];
2007
2287
  if (!gFormatOpts || !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(gFormatOpts.cellFormatMethod)) {
2008
- log.err('vxe.error.notFormats', [formatter]);
2288
+ columnInfo_log.err('vxe.error.notFormats', [formatter]);
2009
2289
  }
2010
2290
  } else if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(formatter)) {
2011
- const gFormatOpts = formats.get(formatter[0]) || (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default())[formatter[0]];
2291
+ const gFormatOpts = columnInfo_formats.get(formatter[0]) || (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default())[formatter[0]];
2012
2292
  if (!gFormatOpts || !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(gFormatOpts.cellFormatMethod)) {
2013
- log.err('vxe.error.notFormats', [formatter[0]]);
2293
+ columnInfo_log.err('vxe.error.notFormats', [formatter[0]]);
2014
2294
  }
2015
2295
  }
2016
2296
  }
@@ -2108,7 +2388,7 @@ class ColumnInfo {
2108
2388
  }
2109
2389
  }
2110
2390
  getTitle() {
2111
- return getFuncText(this.title || (this.type === 'seq' ? getI18n('vxe.table.seqTitle') : ''));
2391
+ return getFuncText(this.title || (this.type === 'seq' ? columnInfo_getI18n('vxe.table.seqTitle') : ''));
2112
2392
  }
2113
2393
  getKey() {
2114
2394
  return this.field || (this.type ? `type=${this.type}` : null);
@@ -2793,8 +3073,8 @@ function getSlotVNs(vns) {
2793
3073
 
2794
3074
  const {
2795
3075
  getI18n: cell_getI18n,
2796
- getIcon,
2797
- renderer
3076
+ getIcon: cell_getIcon,
3077
+ renderer: cell_renderer
2798
3078
  } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
2799
3079
  function renderTitlePrefixIcon(params) {
2800
3080
  const {
@@ -2803,7 +3083,7 @@ function renderTitlePrefixIcon(params) {
2803
3083
  } = params;
2804
3084
  const titlePrefix = column.titlePrefix || column.titleHelp;
2805
3085
  return titlePrefix ? [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
2806
- class: ['vxe-cell-title-prefix-icon', titlePrefix.icon || getIcon().TABLE_TITLE_PREFIX],
3086
+ class: ['vxe-cell-title-prefix-icon', titlePrefix.icon || cell_getIcon().TABLE_TITLE_PREFIX],
2807
3087
  onMouseenter(evnt) {
2808
3088
  $table.triggerHeaderTitleEvent(evnt, titlePrefix, params);
2809
3089
  },
@@ -2819,7 +3099,7 @@ function renderTitleSuffixIcon(params) {
2819
3099
  } = params;
2820
3100
  const titleSuffix = column.titleSuffix;
2821
3101
  return titleSuffix ? [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
2822
- class: ['vxe-cell-title-suffix-icon', titleSuffix.icon || getIcon().TABLE_TITLE_SUFFIX],
3102
+ class: ['vxe-cell-title-suffix-icon', titleSuffix.icon || cell_getIcon().TABLE_TITLE_SUFFIX],
2823
3103
  onMouseenter(evnt) {
2824
3104
  $table.triggerHeaderTitleEvent(evnt, titleSuffix, params);
2825
3105
  },
@@ -2903,7 +3183,7 @@ function getFooterContent(params) {
2903
3183
  return $table.callSlot(footerSlot, params);
2904
3184
  }
2905
3185
  if (renderOpts) {
2906
- const compConf = renderer.get(renderOpts.name);
3186
+ const compConf = cell_renderer.get(renderOpts.name);
2907
3187
  if (compConf && compConf.renderFooter) {
2908
3188
  return getSlotVNs(compConf.renderFooter(renderOpts, params));
2909
3189
  }
@@ -3008,7 +3288,7 @@ const Cell = {
3008
3288
  return renderTitleContent(params, $table.callSlot(headerSlot, params));
3009
3289
  }
3010
3290
  if (renderOpts) {
3011
- const compConf = renderer.get(renderOpts.name);
3291
+ const compConf = cell_renderer.get(renderOpts.name);
3012
3292
  if (compConf && compConf.renderHeader) {
3013
3293
  return renderTitleContent(params, getSlotVNs(compConf.renderHeader(renderOpts, params)));
3014
3294
  }
@@ -3036,7 +3316,7 @@ const Cell = {
3036
3316
  }
3037
3317
  if (renderOpts) {
3038
3318
  const funName = editRender ? 'renderCell' : 'renderDefault';
3039
- const compConf = renderer.get(renderOpts.name);
3319
+ const compConf = cell_renderer.get(renderOpts.name);
3040
3320
  const compFn = compConf ? compConf[funName] : null;
3041
3321
  if (compFn) {
3042
3322
  return getSlotVNs(compFn(renderOpts, Object.assign({
@@ -3134,7 +3414,7 @@ const Cell = {
3134
3414
  class: 'vxe-tree--btn-wrapper',
3135
3415
  ...ons
3136
3416
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
3137
- class: ['vxe-tree--node-btn', isLazyLoaded ? iconLoaded || getIcon().TABLE_TREE_LOADED : isAceived ? iconOpen || getIcon().TABLE_TREE_OPEN : iconClose || getIcon().TABLE_TREE_CLOSE]
3417
+ class: ['vxe-tree--node-btn', isLazyLoaded ? iconLoaded || cell_getIcon().TABLE_TREE_LOADED : isAceived ? iconOpen || cell_getIcon().TABLE_TREE_OPEN : iconClose || cell_getIcon().TABLE_TREE_CLOSE]
3138
3418
  })])] : null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
3139
3419
  class: 'vxe-tree-cell'
3140
3420
  }, cellVNodes)])];
@@ -3263,7 +3543,7 @@ const Cell = {
3263
3543
  const radioVNs = [];
3264
3544
  if (isVisible) {
3265
3545
  radioVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
3266
- class: ['vxe-radio--icon', isChecked ? getIcon().TABLE_RADIO_CHECKED : getIcon().TABLE_RADIO_UNCHECKED]
3546
+ class: ['vxe-radio--icon', isChecked ? cell_getIcon().TABLE_RADIO_CHECKED : cell_getIcon().TABLE_RADIO_UNCHECKED]
3267
3547
  }));
3268
3548
  }
3269
3549
  if (defaultSlot || labelField) {
@@ -3344,7 +3624,7 @@ const Cell = {
3344
3624
  title: cell_getI18n('vxe.table.allTitle'),
3345
3625
  ...ons
3346
3626
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
3347
- class: ['vxe-checkbox--icon', isAllCheckboxIndeterminate ? getIcon().TABLE_CHECKBOX_INDETERMINATE : isAllCheckboxSelected ? getIcon().TABLE_CHECKBOX_CHECKED : getIcon().TABLE_CHECKBOX_UNCHECKED]
3627
+ class: ['vxe-checkbox--icon', isAllCheckboxIndeterminate ? cell_getIcon().TABLE_CHECKBOX_INDETERMINATE : isAllCheckboxSelected ? cell_getIcon().TABLE_CHECKBOX_CHECKED : cell_getIcon().TABLE_CHECKBOX_UNCHECKED]
3348
3628
  })].concat(titleSlot || headerTitle ? [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
3349
3629
  class: 'vxe-checkbox--label'
3350
3630
  }, titleSlot ? $table.callSlot(titleSlot, checkboxParams) : headerTitle)] : []))]);
@@ -3421,7 +3701,7 @@ const Cell = {
3421
3701
  const checkVNs = [];
3422
3702
  if (isVisible) {
3423
3703
  checkVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
3424
- class: ['vxe-checkbox--icon', indeterminate ? getIcon().TABLE_CHECKBOX_INDETERMINATE : isChecked ? getIcon().TABLE_CHECKBOX_CHECKED : getIcon().TABLE_CHECKBOX_UNCHECKED]
3704
+ class: ['vxe-checkbox--icon', indeterminate ? cell_getIcon().TABLE_CHECKBOX_INDETERMINATE : isChecked ? cell_getIcon().TABLE_CHECKBOX_CHECKED : cell_getIcon().TABLE_CHECKBOX_UNCHECKED]
3425
3705
  }));
3426
3706
  }
3427
3707
  if (defaultSlot || labelField) {
@@ -3515,7 +3795,7 @@ const Cell = {
3515
3795
  const checkVNs = [];
3516
3796
  if (isVisible) {
3517
3797
  checkVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
3518
- class: ['vxe-checkbox--icon', isIndeterminate ? getIcon().TABLE_CHECKBOX_INDETERMINATE : isChecked ? getIcon().TABLE_CHECKBOX_CHECKED : getIcon().TABLE_CHECKBOX_UNCHECKED]
3798
+ class: ['vxe-checkbox--icon', isIndeterminate ? cell_getIcon().TABLE_CHECKBOX_INDETERMINATE : isChecked ? cell_getIcon().TABLE_CHECKBOX_CHECKED : cell_getIcon().TABLE_CHECKBOX_UNCHECKED]
3519
3799
  }));
3520
3800
  if (defaultSlot || labelField) {
3521
3801
  checkVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
@@ -3592,7 +3872,7 @@ const Cell = {
3592
3872
  $table.triggerRowExpandEvent(evnt, params);
3593
3873
  }
3594
3874
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
3595
- class: ['vxe-table--expand-btn', isLazyLoaded ? iconLoaded || getIcon().TABLE_EXPAND_LOADED : isAceived ? iconOpen || getIcon().TABLE_EXPAND_OPEN : iconClose || getIcon().TABLE_EXPAND_CLOSE]
3875
+ class: ['vxe-table--expand-btn', isLazyLoaded ? iconLoaded || cell_getIcon().TABLE_EXPAND_LOADED : isAceived ? iconOpen || cell_getIcon().TABLE_EXPAND_OPEN : iconClose || cell_getIcon().TABLE_EXPAND_CLOSE]
3596
3876
  })]) : null, defaultSlot || labelField ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
3597
3877
  class: 'vxe-table--expand-label'
3598
3878
  }, defaultSlot ? $table.callSlot(defaultSlot, params) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, labelField)) : null];
@@ -3611,7 +3891,7 @@ const Cell = {
3611
3891
  return $table.callSlot(contentSlot, params);
3612
3892
  }
3613
3893
  if (contentRender) {
3614
- const compConf = renderer.get(contentRender.name);
3894
+ const compConf = cell_renderer.get(contentRender.name);
3615
3895
  if (compConf && compConf.renderExpand) {
3616
3896
  return getSlotVNs(compConf.renderExpand(contentRender, params));
3617
3897
  }
@@ -3675,7 +3955,7 @@ const Cell = {
3675
3955
  return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
3676
3956
  class: ['vxe-cell--sort', `vxe-cell--sort-${iconLayout}-layout`]
3677
3957
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
3678
- class: ['vxe-sort--asc-btn', iconAsc || getIcon().TABLE_SORT_ASC, {
3958
+ class: ['vxe-sort--asc-btn', iconAsc || cell_getIcon().TABLE_SORT_ASC, {
3679
3959
  'sort--active': order === 'asc'
3680
3960
  }],
3681
3961
  title: cell_getI18n('vxe.table.sortAsc'),
@@ -3684,7 +3964,7 @@ const Cell = {
3684
3964
  $table.triggerSortEvent(evnt, column, 'asc');
3685
3965
  }
3686
3966
  }), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
3687
- class: ['vxe-sort--desc-btn', iconDesc || getIcon().TABLE_SORT_DESC, {
3967
+ class: ['vxe-sort--desc-btn', iconDesc || cell_getIcon().TABLE_SORT_DESC, {
3688
3968
  'sort--active': order === 'desc'
3689
3969
  }],
3690
3970
  title: cell_getI18n('vxe.table.sortDesc'),
@@ -3728,7 +4008,7 @@ const Cell = {
3728
4008
  'is--active': filterStore.visible && filterStore.column === column
3729
4009
  }]
3730
4010
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
3731
- class: ['vxe-filter--btn', hasFilter ? iconMatch || getIcon().TABLE_FILTER_MATCH : iconNone || getIcon().TABLE_FILTER_NONE],
4011
+ class: ['vxe-filter--btn', hasFilter ? iconMatch || cell_getIcon().TABLE_FILTER_MATCH : iconNone || cell_getIcon().TABLE_FILTER_NONE],
3732
4012
  title: cell_getI18n('vxe.table.filter'),
3733
4013
  onClick(evnt) {
3734
4014
  if ($table.triggerFilterEvent) {
@@ -3771,7 +4051,7 @@ const Cell = {
3771
4051
  return (isEnableConf(editConfig) ? [isRequired && editOpts.showAsterisk ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
3772
4052
  class: 'vxe-cell--required-icon'
3773
4053
  }) : null, isEnableConf(editRender) && editOpts.showIcon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
3774
- class: ['vxe-cell--edit-icon', editOpts.icon || getIcon().TABLE_EDIT]
4054
+ class: ['vxe-cell--edit-icon', editOpts.icon || cell_getIcon().TABLE_EDIT]
3775
4055
  }) : null] : []).concat(Cell.renderDefaultHeader(params)).concat(sortable ? Cell.renderSortIcon(params) : []).concat(filters ? Cell.renderFilterIcon(params) : []);
3776
4056
  },
3777
4057
  // 行格编辑模式
@@ -3832,7 +4112,7 @@ const Cell = {
3832
4112
  } = column;
3833
4113
  const defaultSlot = slots ? slots.default : null;
3834
4114
  const editSlot = slots ? slots.edit : null;
3835
- const compConf = renderer.get(editRender.name);
4115
+ const compConf = cell_renderer.get(editRender.name);
3836
4116
  if (isEdit) {
3837
4117
  if (editSlot) {
3838
4118
  return $table.callSlot(editSlot, params);
@@ -5855,7 +6135,7 @@ function mergeFooterMethod(mergeFooterList, _rowIndex, _columnIndex) {
5855
6135
  ;// CONCATENATED MODULE: ./packages/table/src/props.ts
5856
6136
 
5857
6137
  const {
5858
- getConfig
6138
+ getConfig: props_getConfig
5859
6139
  } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
5860
6140
  /* harmony default export */ var props = ({
5861
6141
  /** 基本属性 */
@@ -5867,81 +6147,81 @@ const {
5867
6147
  // 表格的最小高度
5868
6148
  minHeight: {
5869
6149
  type: [Number, String],
5870
- default: () => getConfig().table.minHeight
6150
+ default: () => props_getConfig().table.minHeight
5871
6151
  },
5872
6152
  // 表格的最大高度
5873
6153
  maxHeight: [Number, String],
5874
6154
  // 已废弃,被 column-config.resizable 替换
5875
6155
  resizable: {
5876
6156
  type: Boolean,
5877
- default: () => getConfig().table.resizable
6157
+ default: () => props_getConfig().table.resizable
5878
6158
  },
5879
6159
  // 是否带有斑马纹
5880
6160
  stripe: {
5881
6161
  type: Boolean,
5882
- default: () => getConfig().table.stripe
6162
+ default: () => props_getConfig().table.stripe
5883
6163
  },
5884
6164
  // 是否带有边框
5885
6165
  border: {
5886
6166
  type: [Boolean, String],
5887
- default: () => getConfig().table.border
6167
+ default: () => props_getConfig().table.border
5888
6168
  },
5889
6169
  // 是否圆角边框
5890
6170
  round: {
5891
6171
  type: Boolean,
5892
- default: () => getConfig().table.round
6172
+ default: () => props_getConfig().table.round
5893
6173
  },
5894
6174
  // 表格的尺寸
5895
6175
  size: {
5896
6176
  type: String,
5897
- default: () => getConfig().table.size || getConfig().size
6177
+ default: () => props_getConfig().table.size || props_getConfig().size
5898
6178
  },
5899
6179
  // 列的宽度是否自撑开(可能会被废弃的参数,不要使用)
5900
6180
  fit: {
5901
6181
  type: Boolean,
5902
- default: () => getConfig().table.fit
6182
+ default: () => props_getConfig().table.fit
5903
6183
  },
5904
6184
  // 表格是否加载中
5905
6185
  loading: Boolean,
5906
6186
  // 所有的列对其方式
5907
6187
  align: {
5908
6188
  type: String,
5909
- default: () => getConfig().table.align
6189
+ default: () => props_getConfig().table.align
5910
6190
  },
5911
6191
  // 所有的表头列的对齐方式
5912
6192
  headerAlign: {
5913
6193
  type: String,
5914
- default: () => getConfig().table.headerAlign
6194
+ default: () => props_getConfig().table.headerAlign
5915
6195
  },
5916
6196
  // 所有的表尾列的对齐方式
5917
6197
  footerAlign: {
5918
6198
  type: String,
5919
- default: () => getConfig().table.footerAlign
6199
+ default: () => props_getConfig().table.footerAlign
5920
6200
  },
5921
6201
  // 是否显示表头
5922
6202
  showHeader: {
5923
6203
  type: Boolean,
5924
- default: () => getConfig().table.showHeader
6204
+ default: () => props_getConfig().table.showHeader
5925
6205
  },
5926
6206
  // (即将废弃)是否要高亮当前选中行
5927
6207
  highlightCurrentRow: {
5928
6208
  type: Boolean,
5929
- default: () => getConfig().table.highlightCurrentRow
6209
+ default: () => props_getConfig().table.highlightCurrentRow
5930
6210
  },
5931
6211
  // (即将废弃)鼠标移到行是否要高亮显示
5932
6212
  highlightHoverRow: {
5933
6213
  type: Boolean,
5934
- default: () => getConfig().table.highlightHoverRow
6214
+ default: () => props_getConfig().table.highlightHoverRow
5935
6215
  },
5936
6216
  // (即将废弃)是否要高亮当前选中列
5937
6217
  highlightCurrentColumn: {
5938
6218
  type: Boolean,
5939
- default: () => getConfig().table.highlightCurrentColumn
6219
+ default: () => props_getConfig().table.highlightCurrentColumn
5940
6220
  },
5941
6221
  // (即将废弃)鼠标移到列是否要高亮显示
5942
6222
  highlightHoverColumn: {
5943
6223
  type: Boolean,
5944
- default: () => getConfig().table.highlightHoverColumn
6224
+ default: () => props_getConfig().table.highlightHoverColumn
5945
6225
  },
5946
6226
  // (即将废弃)激活单元格编辑时是否高亮显示
5947
6227
  highlightCell: Boolean,
@@ -5986,17 +6266,17 @@ const {
5986
6266
  // 设置所有内容过长时显示为省略号
5987
6267
  showOverflow: {
5988
6268
  type: [Boolean, String],
5989
- default: () => getConfig().table.showOverflow
6269
+ default: () => props_getConfig().table.showOverflow
5990
6270
  },
5991
6271
  // 设置表头所有内容过长时显示为省略号
5992
6272
  showHeaderOverflow: {
5993
6273
  type: [Boolean, String],
5994
- default: () => getConfig().table.showHeaderOverflow
6274
+ default: () => props_getConfig().table.showHeaderOverflow
5995
6275
  },
5996
6276
  // 设置表尾所有内容过长时显示为省略号
5997
6277
  showFooterOverflow: {
5998
6278
  type: [Boolean, String],
5999
- default: () => getConfig().table.showFooterOverflow
6279
+ default: () => props_getConfig().table.showFooterOverflow
6000
6280
  },
6001
6281
  /** 高级属性 */
6002
6282
  // (即将废弃)columnKey 已废弃,被 column-config.useKey 替换
@@ -6006,21 +6286,21 @@ const {
6006
6286
  // (即将废弃)rowId 已废弃,被 row-config.keyField 替换
6007
6287
  rowId: {
6008
6288
  type: String,
6009
- default: () => getConfig().table.rowId
6289
+ default: () => props_getConfig().table.rowId
6010
6290
  },
6011
6291
  zIndex: Number,
6012
6292
  emptyText: {
6013
6293
  type: String,
6014
- default: () => getConfig().table.emptyText
6294
+ default: () => props_getConfig().table.emptyText
6015
6295
  },
6016
6296
  keepSource: {
6017
6297
  type: Boolean,
6018
- default: () => getConfig().table.keepSource
6298
+ default: () => props_getConfig().table.keepSource
6019
6299
  },
6020
6300
  // 是否自动监听父容器变化去更新响应式表格宽高
6021
6301
  autoResize: {
6022
6302
  type: Boolean,
6023
- default: () => getConfig().table.autoResize
6303
+ default: () => props_getConfig().table.autoResize
6024
6304
  },
6025
6305
  // 是否自动根据状态属性去更新响应式表格宽高
6026
6306
  syncResize: [Boolean, String, Number],
@@ -6085,12 +6365,12 @@ const {
6085
6365
  // (即将废弃)优化相关
6086
6366
  animat: {
6087
6367
  type: Boolean,
6088
- default: () => getConfig().table.animat
6368
+ default: () => props_getConfig().table.animat
6089
6369
  },
6090
6370
  // (可能会被废弃的参数,不要使用)
6091
6371
  delayHover: {
6092
6372
  type: Number,
6093
- default: () => getConfig().table.delayHover
6373
+ default: () => props_getConfig().table.delayHover
6094
6374
  },
6095
6375
  // 额外的参数
6096
6376
  params: Object
@@ -7568,10 +7848,10 @@ const {
7568
7848
  renderer: table_renderer,
7569
7849
  formats: table_formats,
7570
7850
  createEvent,
7571
- globalResize,
7572
- interceptor,
7573
- hooks,
7574
- globalEvents,
7851
+ globalResize: table_globalResize,
7852
+ interceptor: table_interceptor,
7853
+ hooks: table_hooks,
7854
+ globalEvents: table_globalEvents,
7575
7855
  GLOBAL_EVENT_KEYS,
7576
7856
  log: table_log,
7577
7857
  useFns
@@ -12965,7 +13245,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
12965
13245
  const {
12966
13246
  actived
12967
13247
  } = editStore;
12968
- const isEsc = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ESCAPE);
13248
+ const isEsc = table_globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ESCAPE);
12969
13249
  if (isEsc) {
12970
13250
  tablePrivateMethods.preventEvent(evnt, 'event.keydown', null, () => {
12971
13251
  tableMethods.dispatchEvent('keydown-start', {}, evnt);
@@ -13028,18 +13308,18 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
13028
13308
  } = editStore;
13029
13309
  const childrenField = treeOpts.children || treeOpts.childrenField;
13030
13310
  const keyCode = evnt.keyCode;
13031
- const isEsc = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ESCAPE);
13032
- const isBack = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.BACKSPACE);
13033
- const isTab = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.TAB);
13034
- const isEnter = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ENTER);
13035
- const isSpacebar = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.SPACEBAR);
13036
- const isLeftArrow = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_LEFT);
13037
- const isUpArrow = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_UP);
13038
- const isRightArrow = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_RIGHT);
13039
- const isDwArrow = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_DOWN);
13040
- const isDel = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.DELETE);
13041
- const isF2 = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.F2);
13042
- const isContextMenu = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.CONTEXT_MENU);
13311
+ const isEsc = table_globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ESCAPE);
13312
+ const isBack = table_globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.BACKSPACE);
13313
+ const isTab = table_globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.TAB);
13314
+ const isEnter = table_globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ENTER);
13315
+ const isSpacebar = table_globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.SPACEBAR);
13316
+ const isLeftArrow = table_globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_LEFT);
13317
+ const isUpArrow = table_globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_UP);
13318
+ const isRightArrow = table_globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_RIGHT);
13319
+ const isDwArrow = table_globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_DOWN);
13320
+ const isDel = table_globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.DELETE);
13321
+ const isF2 = table_globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.F2);
13322
+ const isContextMenu = table_globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.CONTEXT_MENU);
13043
13323
  const hasMetaKey = evnt.metaKey;
13044
13324
  const hasCtrlKey = evnt.ctrlKey;
13045
13325
  const hasShiftKey = evnt.shiftKey;
@@ -13853,10 +14133,10 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
13853
14133
  reactData.reColumnFlag++;
13854
14134
  },
13855
14135
  preventEvent(evnt, type, args, next, end) {
13856
- let evntList = interceptor.get(type);
14136
+ let evntList = table_interceptor.get(type);
13857
14137
  // 兼容老版本
13858
14138
  if (!evntList.length && type === 'event.clearEdit') {
13859
- evntList = interceptor.get('event.clearActived');
14139
+ evntList = table_interceptor.get('event.clearActived');
13860
14140
  if (true) {
13861
14141
  if (evntList.length) {
13862
14142
  table_log.warn('vxe.error.delEvent', ['event.clearActived', 'event.clearEdit']);
@@ -15189,7 +15469,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
15189
15469
  }
15190
15470
  });
15191
15471
  });
15192
- hooks.forEach(options => {
15472
+ table_hooks.forEach(options => {
15193
15473
  const {
15194
15474
  setupTable
15195
15475
  } = options;
@@ -15381,7 +15661,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
15381
15661
  leading: true,
15382
15662
  trailing: true
15383
15663
  }) : null;
15384
- resizeObserver = globalResize.create(handleOptimizeResize ? () => {
15664
+ resizeObserver = table_globalResize.create(handleOptimizeResize ? () => {
15385
15665
  if (props.autoResize) {
15386
15666
  requestAnimationFrame(handleOptimizeResize);
15387
15667
  }
@@ -15398,16 +15678,16 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
15398
15678
  }
15399
15679
  }
15400
15680
  });
15401
- globalEvents.on($xeTable, 'paste', handleGlobalPasteEvent);
15402
- globalEvents.on($xeTable, 'copy', handleGlobalCopyEvent);
15403
- globalEvents.on($xeTable, 'cut', handleGlobalCutEvent);
15404
- globalEvents.on($xeTable, 'mousedown', handleGlobalMousedownEvent);
15405
- globalEvents.on($xeTable, 'blur', handleGlobalBlurEvent);
15406
- globalEvents.on($xeTable, 'mousewheel', handleGlobalMousewheelEvent);
15407
- globalEvents.on($xeTable, 'keydown', handleGlobalKeydownEvent);
15408
- globalEvents.on($xeTable, 'resize', handleGlobalResizeEvent);
15681
+ table_globalEvents.on($xeTable, 'paste', handleGlobalPasteEvent);
15682
+ table_globalEvents.on($xeTable, 'copy', handleGlobalCopyEvent);
15683
+ table_globalEvents.on($xeTable, 'cut', handleGlobalCutEvent);
15684
+ table_globalEvents.on($xeTable, 'mousedown', handleGlobalMousedownEvent);
15685
+ table_globalEvents.on($xeTable, 'blur', handleGlobalBlurEvent);
15686
+ table_globalEvents.on($xeTable, 'mousewheel', handleGlobalMousewheelEvent);
15687
+ table_globalEvents.on($xeTable, 'keydown', handleGlobalKeydownEvent);
15688
+ table_globalEvents.on($xeTable, 'resize', handleGlobalResizeEvent);
15409
15689
  if ($xeTable.handleGlobalContextmenuEvent) {
15410
- globalEvents.on($xeTable, 'contextmenu', $xeTable.handleGlobalContextmenuEvent);
15690
+ table_globalEvents.on($xeTable, 'contextmenu', $xeTable.handleGlobalContextmenuEvent);
15411
15691
  }
15412
15692
  tablePrivateMethods.preventEvent(null, 'mounted', {
15413
15693
  $table: $xeTable
@@ -15426,15 +15706,15 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
15426
15706
  });
15427
15707
  });
15428
15708
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onUnmounted)(() => {
15429
- globalEvents.off($xeTable, 'paste');
15430
- globalEvents.off($xeTable, 'copy');
15431
- globalEvents.off($xeTable, 'cut');
15432
- globalEvents.off($xeTable, 'mousedown');
15433
- globalEvents.off($xeTable, 'blur');
15434
- globalEvents.off($xeTable, 'mousewheel');
15435
- globalEvents.off($xeTable, 'keydown');
15436
- globalEvents.off($xeTable, 'resize');
15437
- globalEvents.off($xeTable, 'contextmenu');
15709
+ table_globalEvents.off($xeTable, 'paste');
15710
+ table_globalEvents.off($xeTable, 'copy');
15711
+ table_globalEvents.off($xeTable, 'cut');
15712
+ table_globalEvents.off($xeTable, 'mousedown');
15713
+ table_globalEvents.off($xeTable, 'blur');
15714
+ table_globalEvents.off($xeTable, 'mousewheel');
15715
+ table_globalEvents.off($xeTable, 'keydown');
15716
+ table_globalEvents.off($xeTable, 'resize');
15717
+ table_globalEvents.off($xeTable, 'contextmenu');
15438
15718
  tablePrivateMethods.preventEvent(null, 'unmounted', {
15439
15719
  $table: $xeTable
15440
15720
  });
@@ -16046,7 +16326,7 @@ hook_hooks.add('tableFilterModule', {
16046
16326
 
16047
16327
 
16048
16328
  const {
16049
- menus,
16329
+ menus: hook_menus,
16050
16330
  hooks: menu_hook_hooks,
16051
16331
  globalEvents: hook_globalEvents,
16052
16332
  GLOBAL_EVENT_KEYS: hook_GLOBAL_EVENT_KEYS
@@ -16386,7 +16666,7 @@ menu_hook_hooks.add('tableMenuModule', {
16386
16666
  ctxMenuLinkEvent(evnt, menu) {
16387
16667
  // 如果一级菜单有配置 code 则允许点击,否则不能点击
16388
16668
  if (!menu.disabled && (menu.code || !menu.children || !menu.children.length)) {
16389
- const gMenuOpts = menus.get(menu.code);
16669
+ const gMenuOpts = hook_menus.get(menu.code);
16390
16670
  const params = Object.assign({}, internalData._currMenuParams, {
16391
16671
  menu,
16392
16672
  $table: $xeTable,
@@ -19510,7 +19790,7 @@ keyboard_hook_hooks.add('tableKeyboardModule', {
19510
19790
 
19511
19791
  const {
19512
19792
  getConfig: validator_hook_getConfig,
19513
- validators,
19793
+ validators: hook_validators,
19514
19794
  hooks: validator_hook_hooks,
19515
19795
  log: validator_hook_log
19516
19796
  } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
@@ -19892,7 +20172,7 @@ validator_hook_hooks.add('tableValidatorModule', {
19892
20172
  };
19893
20173
  let customValid;
19894
20174
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(validator)) {
19895
- const gvItem = validators.get(validator);
20175
+ const gvItem = hook_validators.get(validator);
19896
20176
  if (gvItem) {
19897
20177
  if (gvItem.cellValidatorMethod) {
19898
20178
  customValid = gvItem.cellValidatorMethod(validParams);
@@ -21030,7 +21310,7 @@ const {
21030
21310
  getIcon: toolbar_getIcon,
21031
21311
  getI18n: toolbar_getI18n,
21032
21312
  renderer: toolbar_renderer,
21033
- commands,
21313
+ commands: toolbar_commands,
21034
21314
  log: toolbar_log,
21035
21315
  createEvent: toolbar_createEvent,
21036
21316
  useFns: toolbar_useFns
@@ -21203,7 +21483,7 @@ const {
21203
21483
  if ($xeGrid) {
21204
21484
  $xeGrid.triggerToolbarBtnEvent(item, evnt);
21205
21485
  } else {
21206
- const gCommandOpts = commands.get(code);
21486
+ const gCommandOpts = toolbar_commands.get(code);
21207
21487
  const params = {
21208
21488
  code,
21209
21489
  button: item,
@@ -21232,7 +21512,7 @@ const {
21232
21512
  if ($xeGrid) {
21233
21513
  $xeGrid.triggerToolbarTolEvent(item, evnt);
21234
21514
  } else {
21235
- const gCommandOpts = commands.get(code);
21515
+ const gCommandOpts = toolbar_commands.get(code);
21236
21516
  const params = {
21237
21517
  code,
21238
21518
  tool: item,
@@ -22817,464 +23097,184 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
22817
23097
  return gridMethods.loadColumn(columns);
22818
23098
  };
22819
23099
  }
22820
- const gridPrivateMethods = {
22821
- extendTableMethods,
22822
- callSlot(slotFunc, params) {
22823
- if (slotFunc) {
22824
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(slotFunc)) {
22825
- slotFunc = slots[slotFunc] || null;
22826
- }
22827
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(slotFunc)) {
22828
- return getSlotVNs(slotFunc(params));
22829
- }
22830
- }
22831
- return [];
22832
- },
22833
- /**
22834
- * 获取需要排除的高度
22835
- */
22836
- getExcludeHeight() {
22837
- const {
22838
- height
22839
- } = props;
22840
- const {
22841
- isZMax
22842
- } = reactData;
22843
- const el = refElem.value;
22844
- const formWrapper = refFormWrapper.value;
22845
- const toolbarWrapper = refToolbarWrapper.value;
22846
- const topWrapper = refTopWrapper.value;
22847
- const bottomWrapper = refBottomWrapper.value;
22848
- const pagerWrapper = refPagerWrapper.value;
22849
- const parentPaddingSize = isZMax || height !== 'auto' ? 0 : getPaddingTopBottomSize(el.parentNode);
22850
- return parentPaddingSize + getPaddingTopBottomSize(el) + getOffsetHeight(formWrapper) + getOffsetHeight(toolbarWrapper) + getOffsetHeight(topWrapper) + getOffsetHeight(bottomWrapper) + getOffsetHeight(pagerWrapper);
22851
- },
22852
- getParentHeight() {
22853
- const el = refElem.value;
22854
- if (el) {
22855
- return (reactData.isZMax ? getDomNode().visibleHeight : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(getComputedStyle(el.parentNode).height)) - gridPrivateMethods.getExcludeHeight();
22856
- }
22857
- return 0;
22858
- },
22859
- triggerToolbarCommitEvent(params, evnt) {
22860
- const {
22861
- code
22862
- } = params;
22863
- return gridMethods.commitProxy(params, evnt).then(rest => {
22864
- if (code && rest && rest.status && ['query', 'reload', 'delete', 'save'].includes(code)) {
22865
- gridMethods.dispatchEvent(code === 'delete' || code === 'save' ? `proxy-${code}` : 'proxy-query', {
22866
- ...rest,
22867
- isReload: code === 'reload'
22868
- }, evnt);
22869
- }
22870
- });
22871
- },
22872
- triggerToolbarBtnEvent(button, evnt) {
22873
- gridPrivateMethods.triggerToolbarCommitEvent(button, evnt);
22874
- gridMethods.dispatchEvent('toolbar-button-click', {
22875
- code: button.code,
22876
- button
22877
- }, evnt);
22878
- },
22879
- triggerToolbarTolEvent(tool, evnt) {
22880
- gridPrivateMethods.triggerToolbarCommitEvent(tool, evnt);
22881
- gridMethods.dispatchEvent('toolbar-tool-click', {
22882
- code: tool.code,
22883
- tool
22884
- }, evnt);
22885
- },
22886
- triggerZoomEvent(evnt) {
22887
- gridMethods.zoom();
22888
- gridMethods.dispatchEvent('zoom', {
22889
- type: reactData.isZMax ? 'max' : 'revert'
22890
- }, evnt);
22891
- }
22892
- };
22893
- Object.assign($xeGrid, gridExtendTableMethods, gridMethods, gridPrivateMethods);
22894
- const columnFlag = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(0);
22895
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.columns ? props.columns.length : -1, () => {
22896
- columnFlag.value++;
22897
- });
22898
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.columns, () => {
22899
- columnFlag.value++;
22900
- });
22901
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(columnFlag, () => {
22902
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => $xeGrid.loadColumn(props.columns || []));
22903
- });
22904
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.toolbarConfig, () => {
22905
- initToolbar();
22906
- });
22907
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.pagerConfig, () => {
22908
- initPages();
22909
- });
22910
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.proxyConfig, () => {
22911
- initProxy();
22912
- });
22913
- const handleGlobalKeydownEvent = evnt => {
22914
- const zoomOpts = computeZoomOpts.value;
22915
- const isEsc = grid_globalEvents.hasKey(evnt, grid_GLOBAL_EVENT_KEYS.ESCAPE);
22916
- if (isEsc && reactData.isZMax && zoomOpts.escRestore !== false) {
22917
- gridPrivateMethods.triggerZoomEvent(evnt);
22918
- }
22919
- };
22920
- grid_hooks.forEach(options => {
22921
- const {
22922
- setupGrid
22923
- } = options;
22924
- if (setupGrid) {
22925
- const hookRest = setupGrid($xeGrid);
22926
- if (hookRest && external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isObject(hookRest)) {
22927
- Object.assign($xeGrid, hookRest);
22928
- }
22929
- }
22930
- });
22931
- initPages();
22932
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
22933
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
22934
- const {
22935
- data,
22936
- columns,
22937
- proxyConfig
22938
- } = props;
22939
- const proxyOpts = computeProxyOpts.value;
22940
- const formOpts = computeFormOpts.value;
22941
- if (isEnableConf(proxyConfig) && (data || proxyOpts.form && formOpts.data)) {
22942
- grid_log.err('vxe.error.errConflicts', ['grid.data', 'grid.proxy-config']);
22943
- }
22944
- // if (process.env.VUE_APP_VXE_ENV === 'development') {
22945
- // if (proxyOpts.props) {
22946
- // warnLog('vxe.error.delProp', ['proxy-config.props', 'proxy-config.response'])
22947
- // }
22948
- // }
22949
- if (columns && columns.length) {
22950
- $xeGrid.loadColumn(columns);
22951
- }
22952
- initToolbar();
22953
- });
22954
- grid_globalEvents.on($xeGrid, 'keydown', handleGlobalKeydownEvent);
22955
- });
22956
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onUnmounted)(() => {
22957
- grid_globalEvents.off($xeGrid, 'keydown');
22958
- });
22959
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
22960
- initProxy();
22961
- });
22962
- const renderVN = () => {
22963
- const vSize = computeSize.value;
22964
- const styles = computeStyles.value;
22965
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
22966
- ref: refElem,
22967
- class: ['vxe-grid', {
22968
- [`size--${vSize}`]: vSize,
22969
- 'is--animat': !!props.animat,
22970
- 'is--round': props.round,
22971
- 'is--maximize': reactData.isZMax,
22972
- 'is--loading': props.loading || reactData.tableLoading
22973
- }],
22974
- style: styles
22975
- }, renderLayout());
22976
- };
22977
- $xeGrid.renderVN = renderVN;
22978
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeGrid', $xeGrid);
22979
- return $xeGrid;
22980
- },
22981
- render() {
22982
- return this.renderVN();
22983
- }
22984
- }));
22985
- ;// CONCATENATED MODULE: ./packages/grid/index.ts
22986
-
22987
-
22988
- const VxeGrid = Object.assign({}, grid, {
22989
- install(app) {
22990
- app.component(grid.name, grid);
22991
- }
22992
- });
22993
- if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.dynamicApp) {
22994
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.dynamicApp.component(grid.name, grid);
22995
- }
22996
- const Grid = VxeGrid;
22997
- /* harmony default export */ var packages_grid = ((/* unused pure expression or super */ null && (VxeGrid)));
22998
- ;// CONCATENATED MODULE: ./packages/ui/index.ts
22999
-
23000
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.version = "4.7.3";
23001
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.tableVersion = "4.7.3";
23002
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setConfig({
23003
- emptyCell: ' ',
23004
- table: {
23005
- fit: true,
23006
- showHeader: true,
23007
- animat: true,
23008
- delayHover: 250,
23009
- autoResize: true,
23010
- minHeight: 144,
23011
- // keepSource: false,
23012
- // showOverflow: null,
23013
- // showHeaderOverflow: null,
23014
- // showFooterOverflow: null,
23015
- // resizeInterval: 500,
23016
- // size: null,
23017
- // zIndex: null,
23018
- // stripe: false,
23019
- // border: false,
23020
- // round: false,
23021
- // emptyText: '暂无数据',
23022
- // emptyRender: {
23023
- // name: ''
23024
- // },
23025
- // rowConfig: {
23026
- // keyField: '_X_ROW_KEY' // 行数据的唯一主键字段名
23027
- // },
23028
- resizeConfig: {
23029
- refreshDelay: 250
23030
- },
23031
- radioConfig: {
23032
- // trigger: 'default'
23033
- strict: true
23034
- },
23035
- checkboxConfig: {
23036
- // trigger: 'default',
23037
- strict: true
23038
- },
23039
- tooltipConfig: {
23040
- enterable: true
23041
- },
23042
- validConfig: {
23043
- showMessage: true,
23044
- autoClear: true,
23045
- autoPos: true,
23046
- message: 'inline',
23047
- msgMode: 'single'
23048
- },
23049
- columnConfig: {
23050
- maxFixedSize: 4
23051
- },
23052
- // menuConfig: {
23053
- // visibleMethod () {}
23054
- // },
23055
- customConfig: {
23056
- allowFixed: true,
23057
- showFooter: true
23058
- // storage: false,
23059
- // checkMethod () {}
23060
- },
23061
- sortConfig: {
23062
- // remote: false,
23063
- // trigger: 'default',
23064
- // orders: ['asc', 'desc', null],
23065
- // sortMethod: null,
23066
- showIcon: true,
23067
- iconLayout: 'vertical'
23068
- },
23069
- filterConfig: {
23070
- // remote: false,
23071
- // filterMethod: null,
23072
- showIcon: true
23073
- },
23074
- treeConfig: {
23075
- rowField: 'id',
23076
- parentField: 'parentId',
23077
- childrenField: 'children',
23078
- hasChildField: 'hasChild',
23079
- mapChildrenField: '_X_ROW_CHILD',
23080
- indent: 20,
23081
- showIcon: true
23082
- },
23083
- expandConfig: {
23084
- // trigger: 'default',
23085
- showIcon: true
23086
- },
23087
- editConfig: {
23088
- // mode: 'cell',
23089
- showIcon: true,
23090
- showAsterisk: true
23091
- },
23092
- importConfig: {
23093
- _typeMaps: {
23094
- csv: 1,
23095
- html: 1,
23096
- xml: 1,
23097
- txt: 1
23098
- },
23099
- modes: ['insert', 'covering']
23100
- },
23101
- exportConfig: {
23102
- _typeMaps: {
23103
- csv: 1,
23104
- html: 1,
23105
- xml: 1,
23106
- txt: 1
23107
- },
23108
- modes: ['current', 'selected']
23109
- },
23110
- printConfig: {
23111
- modes: ['current', 'selected']
23112
- },
23113
- mouseConfig: {
23114
- extension: true
23115
- },
23116
- keyboardConfig: {
23117
- isEsc: true
23118
- },
23119
- areaConfig: {
23120
- autoClear: true,
23121
- selectCellByHeader: true
23122
- },
23123
- clipConfig: {
23124
- isCopy: true,
23125
- isCut: true,
23126
- isPaste: true
23127
- },
23128
- fnrConfig: {
23129
- isFind: true,
23130
- isReplace: true
23131
- },
23132
- scrollX: {
23133
- // enabled: false,
23134
- gt: 60
23135
- // oSize: 0
23136
- },
23137
- scrollY: {
23138
- // enabled: false,
23139
- gt: 100
23140
- // oSize: 0
23141
- }
23142
- },
23143
- // export: {
23144
- // types: {}
23145
- // },
23146
- grid: {
23147
- // size: null,
23148
- // zoomConfig: {
23149
- // escRestore: true
23150
- // },
23151
- formConfig: {
23152
- enabled: true
23153
- },
23154
- pagerConfig: {
23155
- enabled: true
23156
- // perfect: false
23157
- },
23158
- toolbarConfig: {
23159
- enabled: true
23160
- // perfect: false
23161
- },
23162
- proxyConfig: {
23163
- enabled: true,
23164
- autoLoad: true,
23165
- message: true,
23166
- props: {
23167
- list: null,
23168
- result: 'result',
23169
- total: 'page.total',
23170
- message: 'message'
23171
- }
23172
- // beforeItem: null,
23173
- // beforeColumn: null,
23174
- // beforeQuery: null,
23175
- // afterQuery: null,
23176
- // beforeDelete: null,
23177
- // afterDelete: null,
23178
- // beforeSave: null,
23179
- // afterSave: null
23180
- }
23100
+ const gridPrivateMethods = {
23101
+ extendTableMethods,
23102
+ callSlot(slotFunc, params) {
23103
+ if (slotFunc) {
23104
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(slotFunc)) {
23105
+ slotFunc = slots[slotFunc] || null;
23106
+ }
23107
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(slotFunc)) {
23108
+ return getSlotVNs(slotFunc(params));
23109
+ }
23110
+ }
23111
+ return [];
23112
+ },
23113
+ /**
23114
+ * 获取需要排除的高度
23115
+ */
23116
+ getExcludeHeight() {
23117
+ const {
23118
+ height
23119
+ } = props;
23120
+ const {
23121
+ isZMax
23122
+ } = reactData;
23123
+ const el = refElem.value;
23124
+ const formWrapper = refFormWrapper.value;
23125
+ const toolbarWrapper = refToolbarWrapper.value;
23126
+ const topWrapper = refTopWrapper.value;
23127
+ const bottomWrapper = refBottomWrapper.value;
23128
+ const pagerWrapper = refPagerWrapper.value;
23129
+ const parentPaddingSize = isZMax || height !== 'auto' ? 0 : getPaddingTopBottomSize(el.parentNode);
23130
+ return parentPaddingSize + getPaddingTopBottomSize(el) + getOffsetHeight(formWrapper) + getOffsetHeight(toolbarWrapper) + getOffsetHeight(topWrapper) + getOffsetHeight(bottomWrapper) + getOffsetHeight(pagerWrapper);
23131
+ },
23132
+ getParentHeight() {
23133
+ const el = refElem.value;
23134
+ if (el) {
23135
+ return (reactData.isZMax ? getDomNode().visibleHeight : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(getComputedStyle(el.parentNode).height)) - gridPrivateMethods.getExcludeHeight();
23136
+ }
23137
+ return 0;
23138
+ },
23139
+ triggerToolbarCommitEvent(params, evnt) {
23140
+ const {
23141
+ code
23142
+ } = params;
23143
+ return gridMethods.commitProxy(params, evnt).then(rest => {
23144
+ if (code && rest && rest.status && ['query', 'reload', 'delete', 'save'].includes(code)) {
23145
+ gridMethods.dispatchEvent(code === 'delete' || code === 'save' ? `proxy-${code}` : 'proxy-query', {
23146
+ ...rest,
23147
+ isReload: code === 'reload'
23148
+ }, evnt);
23149
+ }
23150
+ });
23151
+ },
23152
+ triggerToolbarBtnEvent(button, evnt) {
23153
+ gridPrivateMethods.triggerToolbarCommitEvent(button, evnt);
23154
+ gridMethods.dispatchEvent('toolbar-button-click', {
23155
+ code: button.code,
23156
+ button
23157
+ }, evnt);
23158
+ },
23159
+ triggerToolbarTolEvent(tool, evnt) {
23160
+ gridPrivateMethods.triggerToolbarCommitEvent(tool, evnt);
23161
+ gridMethods.dispatchEvent('toolbar-tool-click', {
23162
+ code: tool.code,
23163
+ tool
23164
+ }, evnt);
23165
+ },
23166
+ triggerZoomEvent(evnt) {
23167
+ gridMethods.zoom();
23168
+ gridMethods.dispatchEvent('zoom', {
23169
+ type: reactData.isZMax ? 'max' : 'revert'
23170
+ }, evnt);
23171
+ }
23172
+ };
23173
+ Object.assign($xeGrid, gridExtendTableMethods, gridMethods, gridPrivateMethods);
23174
+ const columnFlag = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(0);
23175
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.columns ? props.columns.length : -1, () => {
23176
+ columnFlag.value++;
23177
+ });
23178
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.columns, () => {
23179
+ columnFlag.value++;
23180
+ });
23181
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(columnFlag, () => {
23182
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => $xeGrid.loadColumn(props.columns || []));
23183
+ });
23184
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.toolbarConfig, () => {
23185
+ initToolbar();
23186
+ });
23187
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.pagerConfig, () => {
23188
+ initPages();
23189
+ });
23190
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.proxyConfig, () => {
23191
+ initProxy();
23192
+ });
23193
+ const handleGlobalKeydownEvent = evnt => {
23194
+ const zoomOpts = computeZoomOpts.value;
23195
+ const isEsc = grid_globalEvents.hasKey(evnt, grid_GLOBAL_EVENT_KEYS.ESCAPE);
23196
+ if (isEsc && reactData.isZMax && zoomOpts.escRestore !== false) {
23197
+ gridPrivateMethods.triggerZoomEvent(evnt);
23198
+ }
23199
+ };
23200
+ grid_hooks.forEach(options => {
23201
+ const {
23202
+ setupGrid
23203
+ } = options;
23204
+ if (setupGrid) {
23205
+ const hookRest = setupGrid($xeGrid);
23206
+ if (hookRest && external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isObject(hookRest)) {
23207
+ Object.assign($xeGrid, hookRest);
23208
+ }
23209
+ }
23210
+ });
23211
+ initPages();
23212
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
23213
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
23214
+ const {
23215
+ data,
23216
+ columns,
23217
+ proxyConfig
23218
+ } = props;
23219
+ const proxyOpts = computeProxyOpts.value;
23220
+ const formOpts = computeFormOpts.value;
23221
+ if (isEnableConf(proxyConfig) && (data || proxyOpts.form && formOpts.data)) {
23222
+ grid_log.err('vxe.error.errConflicts', ['grid.data', 'grid.proxy-config']);
23223
+ }
23224
+ // if (process.env.VUE_APP_VXE_ENV === 'development') {
23225
+ // if (proxyOpts.props) {
23226
+ // warnLog('vxe.error.delProp', ['proxy-config.props', 'proxy-config.response'])
23227
+ // }
23228
+ // }
23229
+ if (columns && columns.length) {
23230
+ $xeGrid.loadColumn(columns);
23231
+ }
23232
+ initToolbar();
23233
+ });
23234
+ grid_globalEvents.on($xeGrid, 'keydown', handleGlobalKeydownEvent);
23235
+ });
23236
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onUnmounted)(() => {
23237
+ grid_globalEvents.off($xeGrid, 'keydown');
23238
+ });
23239
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
23240
+ initProxy();
23241
+ });
23242
+ const renderVN = () => {
23243
+ const vSize = computeSize.value;
23244
+ const styles = computeStyles.value;
23245
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
23246
+ ref: refElem,
23247
+ class: ['vxe-grid', {
23248
+ [`size--${vSize}`]: vSize,
23249
+ 'is--animat': !!props.animat,
23250
+ 'is--round': props.round,
23251
+ 'is--maximize': reactData.isZMax,
23252
+ 'is--loading': props.loading || reactData.tableLoading
23253
+ }],
23254
+ style: styles
23255
+ }, renderLayout());
23256
+ };
23257
+ $xeGrid.renderVN = renderVN;
23258
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeGrid', $xeGrid);
23259
+ return $xeGrid;
23181
23260
  },
23182
- toolbar: {
23183
- // size: null,
23184
- // import: {
23185
- // mode: 'covering'
23186
- // },
23187
- // export: {
23188
- // types: ['csv', 'html', 'xml', 'txt']
23189
- // },
23190
- // buttons: []
23261
+ render() {
23262
+ return this.renderVN();
23191
23263
  }
23192
- });
23193
- const iconPrefix = 'vxe-icon-';
23194
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setIcon({
23195
- // table
23196
- TABLE_SORT_ASC: iconPrefix + 'caret-up',
23197
- TABLE_SORT_DESC: iconPrefix + 'caret-down',
23198
- TABLE_FILTER_NONE: iconPrefix + 'funnel',
23199
- TABLE_FILTER_MATCH: iconPrefix + 'funnel',
23200
- TABLE_EDIT: iconPrefix + 'edit',
23201
- TABLE_TITLE_PREFIX: iconPrefix + 'question-circle-fill',
23202
- TABLE_TITLE_SUFFIX: iconPrefix + 'question-circle-fill',
23203
- TABLE_TREE_LOADED: iconPrefix + 'spinner roll',
23204
- TABLE_TREE_OPEN: iconPrefix + 'caret-right rotate90',
23205
- TABLE_TREE_CLOSE: iconPrefix + 'caret-right',
23206
- TABLE_EXPAND_LOADED: iconPrefix + 'spinner roll',
23207
- TABLE_EXPAND_OPEN: iconPrefix + 'arrow-right rotate90',
23208
- TABLE_EXPAND_CLOSE: iconPrefix + 'arrow-right',
23209
- TABLE_CHECKBOX_CHECKED: iconPrefix + 'checkbox-checked-fill',
23210
- TABLE_CHECKBOX_UNCHECKED: iconPrefix + 'checkbox-unchecked',
23211
- TABLE_CHECKBOX_INDETERMINATE: iconPrefix + 'checkbox-indeterminate-fill',
23212
- TABLE_RADIO_CHECKED: iconPrefix + 'radio-checked-fill',
23213
- TABLE_RADIO_UNCHECKED: iconPrefix + 'radio-unchecked',
23214
- // toolbar
23215
- TOOLBAR_TOOLS_REFRESH: iconPrefix + 'repeat',
23216
- TOOLBAR_TOOLS_REFRESH_LOADING: iconPrefix + 'repeat roll',
23217
- TOOLBAR_TOOLS_IMPORT: iconPrefix + 'upload',
23218
- TOOLBAR_TOOLS_EXPORT: iconPrefix + 'download',
23219
- TOOLBAR_TOOLS_PRINT: iconPrefix + 'print',
23220
- TOOLBAR_TOOLS_FULLSCREEN: iconPrefix + 'fullscreen',
23221
- TOOLBAR_TOOLS_MINIMIZE: iconPrefix + 'minimize',
23222
- TOOLBAR_TOOLS_CUSTOM: iconPrefix + 'custom-column',
23223
- TOOLBAR_TOOLS_FIXED_LEFT: iconPrefix + 'fixed-left',
23224
- TOOLBAR_TOOLS_FIXED_LEFT_ACTIVE: iconPrefix + 'fixed-left-fill',
23225
- TOOLBAR_TOOLS_FIXED_RIGHT: iconPrefix + 'fixed-right',
23226
- TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVE: iconPrefix + 'fixed-right-fill'
23227
- });
23228
- const setTheme = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setTheme;
23229
- const getTheme = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.getTheme;
23230
- const setConfig = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setConfig;
23231
- const ui_getConfig = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.getConfig;
23232
- const setIcon = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setIcon;
23233
- const ui_getIcon = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.getIcon;
23234
- const setLanguage = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setLanguage;
23235
- const setI18n = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setI18n;
23236
- const ui_getI18n = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.getI18n;
23237
- const ui_globalEvents = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.globalEvents;
23238
- const ui_globalResize = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.globalResize;
23239
- const ui_renderer = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.renderer;
23240
- const ui_validators = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.validators;
23241
- const ui_menus = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.menus;
23242
- const ui_formats = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.formats;
23243
- const ui_commands = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.commands;
23244
- const ui_interceptor = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.interceptor;
23245
- const clipboard = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.clipboard;
23246
- const ui_log = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.log;
23247
- const ui_hooks = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.hooks;
23248
- const use = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.use;
23249
- /**
23250
- * 已废弃
23251
- * @deprecated
23252
- */
23253
- const setup = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setup;
23254
- /**
23255
- * 已废弃
23256
- * @deprecated
23257
- */
23258
- const config = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.config;
23259
- /**
23260
- * 已废弃
23261
- * @deprecated
23262
- */
23263
- const t = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.t;
23264
- /**
23265
- * 已废弃
23266
- * @deprecated
23267
- */
23268
- const _t = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI._t;
23269
- /**
23270
- * 已废弃,兼容老版本
23271
- * @deprecated
23272
- */
23273
- const VXETable = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
23274
- const saveFile = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.readFile;
23275
- const readFile = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.readFile;
23264
+ }));
23265
+ ;// CONCATENATED MODULE: ./packages/grid/index.ts
23276
23266
 
23277
- /* harmony default export */ var ui = ((/* unused pure expression or super */ null && (VxeUI)));
23267
+
23268
+ const VxeGrid = Object.assign({}, grid, {
23269
+ install(app) {
23270
+ app.component(grid.name, grid);
23271
+ }
23272
+ });
23273
+ if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.dynamicApp) {
23274
+ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.dynamicApp.component(grid.name, grid);
23275
+ }
23276
+ const Grid = VxeGrid;
23277
+ /* harmony default export */ var packages_grid = ((/* unused pure expression or super */ null && (VxeGrid)));
23278
23278
  ;// CONCATENATED MODULE: ./packages/components.ts
23279
23279
 
23280
23280