vxe-gantt 4.9.4 → 4.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/all.esm.js CHANGED
@@ -11,151 +11,25 @@ __export(components_exports, {
11
11
  VxeGantt: () => VxeGantt,
12
12
  VxeGanttDependencyType: () => VxeGanttDependencyType,
13
13
  VxeGanttTaskType: () => VxeGanttTaskType,
14
- VxeUI: () => ui_default,
14
+ VxeUI: () => VxeUI10,
15
15
  install: () => install
16
16
  });
17
-
18
- // packages_temp/ui/index.ts
19
- import { VxeUI } from "@vxe-ui/core";
20
- var { setConfig, setIcon } = VxeUI;
21
- VxeUI.ganttVersion = "4.9.4";
22
- var ymdFormat = "yyyy-MM-dd";
23
- var ymdhmsFormat = "yyyy-MM-dd HH:mm:ss";
24
- setConfig({
25
- gantt: {
26
- // size: null,
27
- // zoomConfig: {
28
- // escRestore: true
29
- // },
30
- formConfig: {
31
- enabled: true
32
- },
33
- pagerConfig: {
34
- enabled: true
35
- // perfect: false
36
- },
37
- toolbarConfig: {
38
- enabled: true
39
- // perfect: false
40
- },
41
- proxyConfig: {
42
- enabled: true,
43
- autoLoad: true,
44
- showLoading: true,
45
- showResponseMsg: true,
46
- showActionMsg: true,
47
- response: {
48
- list: null,
49
- result: "result",
50
- total: "page.total",
51
- message: "message"
52
- }
53
- // beforeItem: null,
54
- // beforeColumn: null,
55
- // beforeQuery: null,
56
- // afterQuery: null,
57
- // beforeDelete: null,
58
- // afterDelete: null,
59
- // beforeSave: null,
60
- // afterSave: null
61
- },
62
- taskBarTooltipConfig: {
63
- enterable: true
64
- },
65
- taskLinkConfig: {
66
- enabled: true,
67
- isHover: true,
68
- showArrow: true
69
- },
70
- taskViewScaleConfig: {
71
- year: {
72
- valueFormat: ymdFormat
73
- },
74
- quarter: {
75
- valueFormat: ymdFormat
76
- },
77
- month: {
78
- valueFormat: ymdFormat
79
- },
80
- week: {
81
- startDay: 1,
82
- valueFormat: ymdFormat
83
- },
84
- day: {
85
- valueFormat: ymdFormat
86
- },
87
- date: {
88
- valueFormat: ymdFormat
89
- },
90
- hour: {
91
- valueFormat: ymdhmsFormat
92
- },
93
- minute: {
94
- valueFormat: ymdhmsFormat
95
- },
96
- second: {
97
- valueFormat: ymdhmsFormat
98
- }
99
- },
100
- taskViewConfig: {
101
- showNowLine: true,
102
- gridding: {
103
- leftSpacing: 1,
104
- rightSpacing: 1
105
- }
106
- },
107
- taskSplitConfig: {
108
- enabled: true,
109
- resize: true,
110
- autoHideCollapseButton: true,
111
- showCollapseTableButton: true,
112
- showCollapseTaskButton: true
113
- },
114
- taskBarSubviewConfig: {
115
- // showOverview: false
116
- },
117
- taskBarMoveConfig: {
118
- isLimitByLink: true
119
- },
120
- taskBarResizeConfig: {
121
- minWidthSize: 0.5,
122
- isLimitByLink: true
123
- },
124
- taskBarMoveTooltipConfig: {
125
- enterable: true,
126
- enterDelay: 0
127
- },
128
- taskBarResizeTooltipConfig: {
129
- enterable: true,
130
- enterDelay: 0
131
- }
132
- }
133
- });
134
- var iconPrefix = "vxe-icon-";
135
- setIcon({
136
- // gantt
137
- GANTT_VIEW_LEFT_OPEN: iconPrefix + "arrow-left",
138
- GANTT_VIEW_LEFT_CLOSE: iconPrefix + "arrow-right",
139
- GANTT_VIEW_RIGHT_OPEN: iconPrefix + "arrow-right",
140
- GANTT_VIEW_RIGHT_CLOSE: iconPrefix + "arrow-left",
141
- GANTT_VIEW_TASK_MILESTONE: iconPrefix + "square-fill rotate45"
142
- });
143
- var ui_default = VxeUI;
17
+ import { VxeUI as VxeUI10 } from "@vxe-ui/core";
144
18
 
145
19
  // packages_temp/gantt/index.ts
146
- import { VxeUI as VxeUI9 } from "@vxe-ui/core";
20
+ import { VxeUI as VxeUI8 } from "@vxe-ui/core";
147
21
 
148
22
  // packages_temp/ui/src/depend.ts
149
- import { VxeUI as VxeUI3 } from "@vxe-ui/core";
23
+ import { VxeUI as VxeUI2 } from "@vxe-ui/core";
150
24
 
151
25
  // packages_temp/ui/src/log.ts
152
- import { VxeUI as VxeUI2 } from "@vxe-ui/core";
153
- var { log } = VxeUI2;
154
- var ganttVersion = `gantt v${"4.9.4"}`;
26
+ import { VxeUI } from "@vxe-ui/core";
27
+ var { log } = VxeUI;
28
+ var ganttVersion = `gantt v${"4.9.6"}`;
155
29
  function createComponentLog(name) {
156
- const uiVersion = VxeUI2.uiVersion ? `ui v${VxeUI2.uiVersion}` : "";
157
- const tableVersion = VxeUI2.tableVersion ? `table v${VxeUI2.tableVersion}` : "";
158
- const designVersion = VxeUI2.designVersion ? `design v${VxeUI2.designVersion}` : "";
30
+ const uiVersion = VxeUI.uiVersion ? `ui v${VxeUI.uiVersion}` : "";
31
+ const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : "";
32
+ const designVersion = VxeUI.designVersion ? `design v${VxeUI.designVersion}` : "";
159
33
  const versionInfo = [uiVersion, tableVersion, ganttVersion, designVersion].filter((v) => v).join(" ");
160
34
  return {
161
35
  warnLog: log.create("warn", versionInfo + "] [" + name),
@@ -169,9 +43,9 @@ var errLog = log.create("error", ganttVersion);
169
43
  function checkDependVersion() {
170
44
  const pVersion = 4;
171
45
  const sVersion = 23;
172
- if (VxeUI3.checkVersion) {
173
- if (!VxeUI3.checkVersion(VxeUI3.tableVersion, pVersion, sVersion)) {
174
- errLog("vxe.error.errorVersion", [`vxe-table@${VxeUI3.tableVersion || "?"}`, `vxe-table v${pVersion}.${sVersion}+`]);
46
+ if (VxeUI2.checkVersion) {
47
+ if (!VxeUI2.checkVersion(VxeUI2.tableVersion, pVersion, sVersion)) {
48
+ errLog("vxe.error.errorVersion", [`vxe-table@${VxeUI2.tableVersion || "?"}`, `vxe-table v${pVersion}.${sVersion}+`]);
175
49
  }
176
50
  } else {
177
51
  errLog(`Requires vxe-table v${pVersion}.${sVersion}+`);
@@ -190,8 +64,8 @@ import XEUtils8 from "xe-utils";
190
64
 
191
65
  // packages_temp/ui/src/utils.ts
192
66
  import XEUtils from "xe-utils";
193
- import { VxeUI as VxeUI4 } from "@vxe-ui/core";
194
- var { zIndex } = VxeUI4;
67
+ import { VxeUI as VxeUI3 } from "@vxe-ui/core";
68
+ var { zIndex } = VxeUI3;
195
69
  function isEnableConf(conf) {
196
70
  return conf && conf.enabled !== false;
197
71
  }
@@ -208,7 +82,7 @@ function getLastZIndex() {
208
82
  return zIndex.getLast();
209
83
  }
210
84
  function formatText(value, placeholder) {
211
- return "" + (isEmptyValue(value) ? placeholder ? VxeUI4.getConfig().emptyCell : "" : value);
85
+ return "" + (isEmptyValue(value) ? placeholder ? VxeUI3.getConfig().emptyCell : "" : value);
212
86
  }
213
87
  function eqEmptyValue(cellValue) {
214
88
  return cellValue === "" || XEUtils.eqNull(cellValue);
@@ -301,7 +175,7 @@ function getSlotVNs(vns) {
301
175
  }
302
176
 
303
177
  // packages_temp/gantt/src/gantt.ts
304
- import { VxeUI as VxeUI8 } from "@vxe-ui/core";
178
+ import { VxeUI as VxeUI7 } from "@vxe-ui/core";
305
179
 
306
180
  // packages_temp/gantt/src/table-emits.ts
307
181
  var tableEmits = [
@@ -489,7 +363,7 @@ function getTaskType(type) {
489
363
 
490
364
  // packages_temp/gantt/src/gantt-view.ts
491
365
  import { h as h5, ref as ref5, reactive, nextTick, inject as inject5, onBeforeUnmount, watch, provide, computed, onMounted as onMounted5, onUnmounted as onUnmounted5 } from "vue";
492
- import { VxeUI as VxeUI7, useFns } from "@vxe-ui/core";
366
+ import { VxeUI as VxeUI6, useFns } from "@vxe-ui/core";
493
367
 
494
368
  // packages_temp/gantt/src/static.ts
495
369
  var VxeGanttDependencyType = /* @__PURE__ */ ((VxeGanttDependencyType2) => {
@@ -510,9 +384,9 @@ import XEUtils7 from "xe-utils";
510
384
 
511
385
  // packages_temp/gantt/src/gantt-header.ts
512
386
  import { h, inject, ref, onMounted, onUnmounted } from "vue";
513
- import { VxeUI as VxeUI5 } from "@vxe-ui/core";
387
+ import { VxeUI as VxeUI4 } from "@vxe-ui/core";
514
388
  import XEUtils4 from "xe-utils";
515
- var { getI18n } = VxeUI5;
389
+ var { getI18n } = VxeUI4;
516
390
  var sourceType = "gantt";
517
391
  var viewType = "header";
518
392
  var gantt_header_default = defineVxeComponent({
@@ -696,9 +570,9 @@ import XEUtils6 from "xe-utils";
696
570
 
697
571
  // packages_temp/gantt/src/gantt-chart.ts
698
572
  import { h as h2, inject as inject2, ref as ref2, onMounted as onMounted2, onUnmounted as onUnmounted2 } from "vue";
699
- import { VxeUI as VxeUI6 } from "@vxe-ui/core";
573
+ import { VxeUI as VxeUI5 } from "@vxe-ui/core";
700
574
  import XEUtils5 from "xe-utils";
701
- var { getIcon, renderEmptyElement } = VxeUI6;
575
+ var { getIcon, renderEmptyElement } = VxeUI5;
702
576
  var sourceType2 = "gantt";
703
577
  var viewType2 = "chart";
704
578
  var gantt_chart_default = defineVxeComponent({
@@ -1610,7 +1484,7 @@ var gantt_footer_default = defineVxeComponent({
1610
1484
  });
1611
1485
 
1612
1486
  // packages_temp/gantt/src/gantt-view.ts
1613
- var { getConfig, domUtils, globalResize, globalEvents, renderEmptyElement: renderEmptyElement2 } = VxeUI7;
1487
+ var { getConfig, domUtils, globalResize, globalEvents, renderEmptyElement: renderEmptyElement2 } = VxeUI6;
1614
1488
  var { FinishToStart, StartToFinish, StartToStart, FinishToFinish } = VxeGanttDependencyType;
1615
1489
  var sourceType5 = "gantt";
1616
1490
  var secondMs = 1e3;
@@ -4050,7 +3924,7 @@ var gantt_view_default = defineVxeComponent({
4050
3924
  // packages_temp/gantt/src/gantt.ts
4051
3925
  import { VxeTable as VxeTableComponent } from "vxe-table";
4052
3926
  var { warnLog: warnLog2, errLog: errLog2 } = createComponentLog("gantt");
4053
- var { getConfig: getConfig2, getIcon: getIcon2, getI18n: getI18n2, commands, hooks, useFns: useFns2, createEvent, globalEvents: globalEvents2, GLOBAL_EVENT_KEYS, renderEmptyElement: renderEmptyElement3 } = VxeUI8;
3927
+ var { getConfig: getConfig2, getIcon: getIcon2, getI18n: getI18n2, commands, hooks, useFns: useFns2, createEvent, globalEvents: globalEvents2, GLOBAL_EVENT_KEYS, renderEmptyElement: renderEmptyElement3 } = VxeUI7;
4054
3928
  var tableProps = VxeTableComponent.props;
4055
3929
  var tableComponentPropKeys = Object.keys(tableProps);
4056
3930
  var tableComponentMethodKeys = [
@@ -4350,11 +4224,11 @@ var gantt_default = defineVxeComponent({
4350
4224
  setup(props, context) {
4351
4225
  const { slots, emit } = context;
4352
4226
  const xID = XEUtils8.uniqueId();
4353
- const VxeUIFormComponent = VxeUI8.getComponent("VxeForm");
4354
- const VxeUIPagerComponent = VxeUI8.getComponent("VxePager");
4355
- const VxeTableComponent2 = VxeUI8.getComponent("VxeTable");
4356
- const VxeToolbarComponent = VxeUI8.getComponent("VxeToolbar");
4357
- const VxeUITooltipComponent = VxeUI8.getComponent("VxeTooltip");
4227
+ const VxeUIFormComponent = VxeUI7.getComponent("VxeForm");
4228
+ const VxeUIPagerComponent = VxeUI7.getComponent("VxePager");
4229
+ const VxeTableComponent2 = VxeUI7.getComponent("VxeTable");
4230
+ const VxeToolbarComponent = VxeUI7.getComponent("VxeToolbar");
4231
+ const VxeUITooltipComponent = VxeUI7.getComponent("VxeTooltip");
4358
4232
  const scrollDefaultConf = Object.assign({}, getConfig2().scrollbar);
4359
4233
  const { computeSize } = useFns2.useSize(props);
4360
4234
  const { computeIsVScrollbar } = useFns2.useVScrollbar(props);
@@ -4896,8 +4770,8 @@ var gantt_default = defineVxeComponent({
4896
4770
  $xeGantt.clearCheckboxRow();
4897
4771
  } else {
4898
4772
  if (isActiveMsg) {
4899
- if (VxeUI8.modal) {
4900
- VxeUI8.modal.message({ id: code, content: getI18n2("vxe.grid.selectOneRecord"), status: "warning" });
4773
+ if (VxeUI7.modal) {
4774
+ VxeUI7.modal.message({ id: code, content: getI18n2("vxe.grid.selectOneRecord"), status: "warning" });
4901
4775
  }
4902
4776
  }
4903
4777
  }
@@ -4918,16 +4792,16 @@ var gantt_default = defineVxeComponent({
4918
4792
  const selectRecords = $xeGantt.getCheckboxRecords();
4919
4793
  if (isActiveMsg) {
4920
4794
  if (selectRecords.length) {
4921
- if (VxeUI8.modal) {
4922
- return VxeUI8.modal.confirm({ id: `cfm_${code}`, content: getI18n2(alertKey), escClosable: true }).then((type) => {
4795
+ if (VxeUI7.modal) {
4796
+ return VxeUI7.modal.confirm({ id: `cfm_${code}`, content: getI18n2(alertKey), escClosable: true }).then((type) => {
4923
4797
  if (type === "confirm") {
4924
4798
  return callback();
4925
4799
  }
4926
4800
  });
4927
4801
  }
4928
4802
  } else {
4929
- if (VxeUI8.modal) {
4930
- VxeUI8.modal.message({ id: `msg_${code}`, content: getI18n2("vxe.grid.selectOneRecord"), status: "warning" });
4803
+ if (VxeUI7.modal) {
4804
+ VxeUI7.modal.message({ id: `msg_${code}`, content: getI18n2("vxe.grid.selectOneRecord"), status: "warning" });
4931
4805
  }
4932
4806
  }
4933
4807
  } else {
@@ -5606,8 +5480,8 @@ var gantt_default = defineVxeComponent({
5606
5480
  } else {
5607
5481
  $xeTable.setPendingRow(removeRecords, false);
5608
5482
  if (isRespMsg) {
5609
- if (VxeUI8.modal) {
5610
- VxeUI8.modal.message({ content: getRespMsg(rest, "vxe.grid.delSuccess"), status: "success" });
5483
+ if (VxeUI7.modal) {
5484
+ VxeUI7.modal.message({ content: getRespMsg(rest, "vxe.grid.delSuccess"), status: "success" });
5611
5485
  }
5612
5486
  }
5613
5487
  if (oldAfterDelete) {
@@ -5629,8 +5503,8 @@ var gantt_default = defineVxeComponent({
5629
5503
  adMethod({ ...commitParams, response: rest, status: "error" }, ...args);
5630
5504
  } else {
5631
5505
  if (isRespMsg) {
5632
- if (VxeUI8.modal) {
5633
- VxeUI8.modal.message({ id: code, content: getRespMsg(rest, "vxe.grid.operError"), status: "error" });
5506
+ if (VxeUI7.modal) {
5507
+ VxeUI7.modal.message({ id: code, content: getRespMsg(rest, "vxe.grid.operError"), status: "error" });
5634
5508
  }
5635
5509
  }
5636
5510
  }
@@ -5651,8 +5525,8 @@ var gantt_default = defineVxeComponent({
5651
5525
  });
5652
5526
  } else {
5653
5527
  if (isActiveMsg) {
5654
- if (VxeUI8.modal) {
5655
- VxeUI8.modal.message({ id: code, content: getI18n2("vxe.grid.selectOneRecord"), status: "warning" });
5528
+ if (VxeUI7.modal) {
5529
+ VxeUI7.modal.message({ id: code, content: getI18n2("vxe.grid.selectOneRecord"), status: "warning" });
5656
5530
  }
5657
5531
  }
5658
5532
  }
@@ -5704,8 +5578,8 @@ var gantt_default = defineVxeComponent({
5704
5578
  } else {
5705
5579
  $xeTable.clearPendingRow();
5706
5580
  if (isRespMsg) {
5707
- if (VxeUI8.modal) {
5708
- VxeUI8.modal.message({ content: getRespMsg(rest, "vxe.grid.saveSuccess"), status: "success" });
5581
+ if (VxeUI7.modal) {
5582
+ VxeUI7.modal.message({ content: getRespMsg(rest, "vxe.grid.saveSuccess"), status: "success" });
5709
5583
  }
5710
5584
  }
5711
5585
  if (oldAfterSave) {
@@ -5727,8 +5601,8 @@ var gantt_default = defineVxeComponent({
5727
5601
  aSaveMethod({ ...commitParams, response: rest, status: "error" }, ...args);
5728
5602
  } else {
5729
5603
  if (isRespMsg) {
5730
- if (VxeUI8.modal) {
5731
- VxeUI8.modal.message({ id: code, content: getRespMsg(rest, "vxe.grid.operError"), status: "error" });
5604
+ if (VxeUI7.modal) {
5605
+ VxeUI7.modal.message({ id: code, content: getRespMsg(rest, "vxe.grid.operError"), status: "error" });
5732
5606
  }
5733
5607
  }
5734
5608
  }
@@ -5748,8 +5622,8 @@ var gantt_default = defineVxeComponent({
5748
5622
  return handleSave();
5749
5623
  } else {
5750
5624
  if (isActiveMsg) {
5751
- if (VxeUI8.modal) {
5752
- VxeUI8.modal.message({ id: code, content: getI18n2("vxe.grid.dataUnchanged"), status: "info" });
5625
+ if (VxeUI7.modal) {
5626
+ VxeUI7.modal.message({ id: code, content: getI18n2("vxe.grid.dataUnchanged"), status: "info" });
5753
5627
  }
5754
5628
  }
5755
5629
  }
@@ -7059,15 +6933,141 @@ var VxeGantt = Object.assign({}, gantt_default, {
7059
6933
  app.component(gantt_default.name, gantt_default);
7060
6934
  }
7061
6935
  });
7062
- if (VxeUI9.dynamicApp) {
7063
- VxeUI9.dynamicApp.use(VxeGantt);
6936
+ if (VxeUI8.dynamicApp) {
6937
+ VxeUI8.dynamicApp.use(VxeGantt);
7064
6938
  }
7065
- VxeUI9.component(gantt_default);
6939
+ VxeUI8.component(gantt_default);
7066
6940
  var Gantt = VxeGantt;
7067
6941
  var gantt_default2 = VxeGantt;
7068
6942
 
6943
+ // packages_temp/ui/index.ts
6944
+ import { VxeUI as VxeUI9 } from "@vxe-ui/core";
6945
+ var { setConfig, setIcon } = VxeUI9;
6946
+ VxeUI9.ganttVersion = "4.9.6";
6947
+ var ymdFormat = "yyyy-MM-dd";
6948
+ var ymdhmsFormat = "yyyy-MM-dd HH:mm:ss";
6949
+ setConfig({
6950
+ gantt: {
6951
+ // size: null,
6952
+ // zoomConfig: {
6953
+ // escRestore: true
6954
+ // },
6955
+ formConfig: {
6956
+ enabled: true
6957
+ },
6958
+ pagerConfig: {
6959
+ enabled: true
6960
+ // perfect: false
6961
+ },
6962
+ toolbarConfig: {
6963
+ enabled: true
6964
+ // perfect: false
6965
+ },
6966
+ proxyConfig: {
6967
+ enabled: true,
6968
+ autoLoad: true,
6969
+ showLoading: true,
6970
+ showResponseMsg: true,
6971
+ showActionMsg: true,
6972
+ response: {
6973
+ list: null,
6974
+ result: "result",
6975
+ total: "page.total",
6976
+ message: "message"
6977
+ }
6978
+ // beforeItem: null,
6979
+ // beforeColumn: null,
6980
+ // beforeQuery: null,
6981
+ // afterQuery: null,
6982
+ // beforeDelete: null,
6983
+ // afterDelete: null,
6984
+ // beforeSave: null,
6985
+ // afterSave: null
6986
+ },
6987
+ taskBarTooltipConfig: {
6988
+ enterable: true
6989
+ },
6990
+ taskLinkConfig: {
6991
+ enabled: true,
6992
+ isHover: true,
6993
+ showArrow: true
6994
+ },
6995
+ taskViewScaleConfig: {
6996
+ year: {
6997
+ valueFormat: ymdFormat
6998
+ },
6999
+ quarter: {
7000
+ valueFormat: ymdFormat
7001
+ },
7002
+ month: {
7003
+ valueFormat: ymdFormat
7004
+ },
7005
+ week: {
7006
+ startDay: 1,
7007
+ valueFormat: ymdFormat
7008
+ },
7009
+ day: {
7010
+ valueFormat: ymdFormat
7011
+ },
7012
+ date: {
7013
+ valueFormat: ymdFormat
7014
+ },
7015
+ hour: {
7016
+ valueFormat: ymdhmsFormat
7017
+ },
7018
+ minute: {
7019
+ valueFormat: ymdhmsFormat
7020
+ },
7021
+ second: {
7022
+ valueFormat: ymdhmsFormat
7023
+ }
7024
+ },
7025
+ taskViewConfig: {
7026
+ showNowLine: true,
7027
+ gridding: {
7028
+ leftSpacing: 1,
7029
+ rightSpacing: 1
7030
+ }
7031
+ },
7032
+ taskSplitConfig: {
7033
+ enabled: true,
7034
+ resize: true,
7035
+ autoHideCollapseButton: true,
7036
+ showCollapseTableButton: true,
7037
+ showCollapseTaskButton: true
7038
+ },
7039
+ taskBarSubviewConfig: {
7040
+ // showOverview: false
7041
+ },
7042
+ taskBarMoveConfig: {
7043
+ isLimitByLink: true
7044
+ },
7045
+ taskBarResizeConfig: {
7046
+ minWidthSize: 0.5,
7047
+ isLimitByLink: true
7048
+ },
7049
+ taskBarMoveTooltipConfig: {
7050
+ enterable: true,
7051
+ enterDelay: 0
7052
+ },
7053
+ taskBarResizeTooltipConfig: {
7054
+ enterable: true,
7055
+ enterDelay: 0
7056
+ }
7057
+ }
7058
+ });
7059
+ var iconPrefix = "vxe-icon-";
7060
+ setIcon({
7061
+ // gantt
7062
+ GANTT_VIEW_LEFT_OPEN: iconPrefix + "arrow-left",
7063
+ GANTT_VIEW_LEFT_CLOSE: iconPrefix + "arrow-right",
7064
+ GANTT_VIEW_RIGHT_OPEN: iconPrefix + "arrow-right",
7065
+ GANTT_VIEW_RIGHT_CLOSE: iconPrefix + "arrow-left",
7066
+ GANTT_VIEW_TASK_MILESTONE: iconPrefix + "square-fill rotate45"
7067
+ });
7068
+
7069
7069
  // packages_temp/components.ts
7070
- var { setConfig: setConfig2 } = ui_default;
7070
+ var { setConfig: setConfig2 } = VxeUI10;
7071
7071
  var components = [gantt_default2];
7072
7072
  function install(app, options) {
7073
7073
  setConfig2(options);
@@ -7081,7 +7081,7 @@ export {
7081
7081
  VxeGantt,
7082
7082
  VxeGanttDependencyType,
7083
7083
  VxeGanttTaskType,
7084
- ui_default as VxeUI,
7084
+ VxeUI10 as VxeUI,
7085
7085
  index_default as default,
7086
7086
  install
7087
7087
  };
@@ -1,5 +1,6 @@
1
1
  import { App } from 'vue';
2
- import VxeUI from './ui';
2
+ import { VxeUI } from '@vxe-ui/core';
3
+ import './ui';
3
4
  import type { VxeGlobalConfig } from 'vxe-pc-ui';
4
5
  export declare function install(app: App, options?: VxeGlobalConfig): void;
5
6
  export { VxeUI };
package/es/components.js CHANGED
@@ -1,5 +1,6 @@
1
- import VxeUI from "./ui";
1
+ import { VxeUI } from "@vxe-ui/core";
2
2
  import VxeGantt from "./gantt";
3
+ import "./ui";
3
4
  const { setConfig } = VxeUI;
4
5
  const components = [VxeGantt];
5
6
  function install(app, options) {
package/es/ui/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
- export { VxeUI };
3
2
  export default VxeUI;
package/es/ui/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { VxeUI } from "@vxe-ui/core";
2
2
  const { setConfig, setIcon } = VxeUI;
3
- VxeUI.ganttVersion = "4.9.4";
3
+ VxeUI.ganttVersion = "4.9.6";
4
4
  const ymdFormat = "yyyy-MM-dd";
5
5
  const ymdhmsFormat = "yyyy-MM-dd HH:mm:ss";
6
6
  setConfig({
@@ -124,6 +124,5 @@ setIcon({
124
124
  });
125
125
  var ui_default = VxeUI;
126
126
  export {
127
- VxeUI,
128
127
  ui_default as default
129
128
  };
package/es/ui/src/log.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { VxeUI } from "@vxe-ui/core";
2
2
  const { log } = VxeUI;
3
- const ganttVersion = `gantt v${"4.9.4"}`;
3
+ const ganttVersion = `gantt v${"4.9.6"}`;
4
4
  function createComponentLog(name) {
5
5
  const uiVersion = VxeUI.uiVersion ? `ui v${VxeUI.uiVersion}` : "";
6
6
  const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : "";
package/lib/components.js CHANGED
@@ -29,14 +29,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
30
  var components_exports = {};
31
31
  __export(components_exports, {
32
- VxeUI: () => import_ui.default,
32
+ VxeUI: () => import_core.VxeUI,
33
33
  install: () => install
34
34
  });
35
35
  module.exports = __toCommonJS(components_exports);
36
- var import_ui = __toESM(require("./ui"));
36
+ var import_core = require("@vxe-ui/core");
37
37
  var import_gantt = __toESM(require("./gantt"));
38
+ var import_ui = require("./ui");
38
39
  __reExport(components_exports, require("./gantt"), module.exports);
39
- const { setConfig } = import_ui.default;
40
+ const { setConfig } = import_core.VxeUI;
40
41
  const components = [import_gantt.default];
41
42
  function install(app, options) {
42
43
  setConfig(options);