vxe-gantt 3.9.7 → 3.9.9

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.
@@ -1,6 +1,8 @@
1
1
  import { VueConstructor } from 'vue';
2
+ import { VxeUI } from '@vxe-ui/core';
2
3
  import './ui';
3
4
  import type { VxeGlobalConfig } from 'vxe-pc-ui';
4
5
  export declare function install(app: VueConstructor, options?: VxeGlobalConfig): void;
6
+ export { VxeUI };
5
7
  export * from '@vxe-ui/core';
6
8
  export * from './gantt';
package/es/components.js CHANGED
@@ -10,5 +10,6 @@ function install(app, options) {
10
10
  export * from "@vxe-ui/core";
11
11
  export * from "./gantt";
12
12
  export {
13
+ VxeUI,
13
14
  install
14
15
  };
@@ -657,7 +657,7 @@ export declare const VxeGantt: import("vue/types/vue").ExtendedVue<import("vue")
657
657
  computeCustomTotalFlag: number | undefined;
658
658
  computePageCount: number;
659
659
  computeIsLoading: any;
660
- computeTableBorder: "none" | "default" | "full" | "outer" | "inner";
660
+ computeTableBorder: "default" | "full" | "outer" | "inner" | "none";
661
661
  computeSize: import("vxe-pc-ui").VxeComponentSizeType;
662
662
  computeIsVScrollbar: import("vxe-pc-ui").VxeComponentIsVScrollbar;
663
663
  }, {
@@ -1367,7 +1367,7 @@ export declare const Gantt: import("vue/types/vue").ExtendedVue<import("vue").de
1367
1367
  computeCustomTotalFlag: number | undefined;
1368
1368
  computePageCount: number;
1369
1369
  computeIsLoading: any;
1370
- computeTableBorder: "none" | "default" | "full" | "outer" | "inner";
1370
+ computeTableBorder: "default" | "full" | "outer" | "inner" | "none";
1371
1371
  computeSize: import("vxe-pc-ui").VxeComponentSizeType;
1372
1372
  computeIsVScrollbar: import("vxe-pc-ui").VxeComponentIsVScrollbar;
1373
1373
  }, {
@@ -49,8 +49,8 @@ declare const _default: import("vue/types/vue").ExtendedVue<import("vue").defaul
49
49
  computeScrollbarYOpts: VxeTablePropTypes.ScrollbarYConfig;
50
50
  computeScrollXHeight: number;
51
51
  computeScrollYWidth: number;
52
- computeScrollXVisible: boolean | "auto" | "hidden" | "visible" | undefined;
53
- computeScrollYVisible: boolean | "auto" | "hidden" | "visible" | undefined;
52
+ computeScrollXVisible: boolean | "auto" | "visible" | "hidden" | undefined;
53
+ computeScrollYVisible: boolean | "auto" | "visible" | "hidden" | undefined;
54
54
  computeScrollXAutoHide: boolean | undefined;
55
55
  computeScrollYAutoHide: boolean | undefined;
56
56
  computeScrollbarXToTop: boolean;
@@ -677,7 +677,7 @@ declare const _default: import("vue/types/vue").ExtendedVue<import("vue").defaul
677
677
  computeCustomTotalFlag: number | undefined;
678
678
  computePageCount: number;
679
679
  computeIsLoading: any;
680
- computeTableBorder: "none" | "default" | "full" | "outer" | "inner";
680
+ computeTableBorder: "default" | "full" | "outer" | "inner" | "none";
681
681
  computeSize: VxeComponentSizeType;
682
682
  computeIsVScrollbar: VxeComponentIsVScrollbar;
683
683
  }, {
@@ -9,9 +9,9 @@ import GanttViewComponent from "./gantt-view";
9
9
  import { VxeTable as VxeTableComponent } from "vxe-table";
10
10
  const { warnLog, errLog } = createComponentLog("gantt");
11
11
  const { getConfig, getIcon, getI18n, commands, globalMixins, createEvent, globalEvents, GLOBAL_EVENT_KEYS, renderEmptyElement } = VxeUI;
12
- const tableProps = VxeTableComponent.props;
12
+ const tableComponeProps = VxeTableComponent.props;
13
13
  const tableMethods = {};
14
- const propKeys = Object.keys(tableProps);
14
+ const propKeys = Object.keys(tableComponeProps);
15
15
  const defaultLayouts = [["Form"], ["Toolbar", "Top", "Gantt", "Bottom", "Pager"]];
16
16
  const viewTypeLevelMaps = {
17
17
  year: 19,
@@ -134,9 +134,12 @@ function createReactData() {
134
134
  }
135
135
  var gantt_default = {
136
136
  name: "VxeGantt",
137
- mixins: [globalMixins.sizeMixin, globalMixins.vScrollbarMixin],
137
+ mixins: [
138
+ globalMixins.sizeMixin,
139
+ globalMixins.vScrollbarMixin
140
+ ],
138
141
  props: {
139
- ...tableProps,
142
+ ...tableComponeProps,
140
143
  columns: Array,
141
144
  pagerConfig: Object,
142
145
  proxyConfig: Object,
@@ -2068,8 +2071,8 @@ var gantt_default = {
2068
2071
  const reactData = $xeGantt.reactData;
2069
2072
  const $xeTable = $xeGantt.$refs.refTable;
2070
2073
  if ($xeTable) {
2071
- const tableProps2 = $xeTable;
2072
- const { highlightCurrentRow } = tableProps2;
2074
+ const tableProps = $xeTable;
2075
+ const { highlightCurrentRow } = tableProps;
2073
2076
  const tableReactData = $xeTable.getReactData();
2074
2077
  const { radioColumn, checkboxColumn } = tableReactData;
2075
2078
  const radioOpts = $xeTable.computeRadioOpts;
@@ -2205,8 +2208,8 @@ var gantt_default = {
2205
2208
  const $xeGantt = this;
2206
2209
  const $xeTable = $xeGantt.$refs.refTable;
2207
2210
  if ($xeTable) {
2208
- const tableProps2 = $xeTable;
2209
- const { menuConfig } = tableProps2;
2211
+ const tableProps = $xeTable;
2212
+ const { menuConfig } = tableProps;
2210
2213
  if (isEnableConf(menuConfig)) {
2211
2214
  evnt.stopPropagation();
2212
2215
  $xeTable.handleOpenMenuEvent(evnt, "header", params);
@@ -2218,8 +2221,8 @@ var gantt_default = {
2218
2221
  const $xeGantt = this;
2219
2222
  const $xeTable = $xeGantt.$refs.refTable;
2220
2223
  if ($xeTable) {
2221
- const tableProps2 = $xeTable;
2222
- const { menuConfig } = tableProps2;
2224
+ const tableProps = $xeTable;
2225
+ const { menuConfig } = tableProps;
2223
2226
  if (isEnableConf(menuConfig)) {
2224
2227
  evnt.stopPropagation();
2225
2228
  $xeTable.handleOpenMenuEvent(evnt, "body", params);
@@ -2231,8 +2234,8 @@ var gantt_default = {
2231
2234
  const $xeGantt = this;
2232
2235
  const $xeTable = $xeGantt.$refs.refTable;
2233
2236
  if ($xeTable) {
2234
- const tableProps2 = $xeTable;
2235
- const { menuConfig } = tableProps2;
2237
+ const tableProps = $xeTable;
2238
+ const { menuConfig } = tableProps;
2236
2239
  if (isEnableConf(menuConfig)) {
2237
2240
  evnt.stopPropagation();
2238
2241
  $xeTable.handleOpenMenuEvent(evnt, "footer", params);
@@ -2244,8 +2247,8 @@ var gantt_default = {
2244
2247
  const $xeGantt = this;
2245
2248
  const $xeTable = $xeGantt.$refs.refTable;
2246
2249
  if ($xeTable) {
2247
- const tableProps2 = $xeTable;
2248
- const { menuConfig } = tableProps2;
2250
+ const tableProps = $xeTable;
2251
+ const { menuConfig } = tableProps;
2249
2252
  if (isEnableConf(menuConfig)) {
2250
2253
  evnt.stopPropagation();
2251
2254
  $xeTable.handleOpenMenuEvent(evnt, "body", params);
@@ -2503,7 +2506,7 @@ var gantt_default = {
2503
2506
  renderTable(h) {
2504
2507
  const $xeGantt = this;
2505
2508
  const slots = $xeGantt.$scopedSlots;
2506
- const tableProps2 = $xeGantt.computeTableProps;
2509
+ const tableProps = $xeGantt.computeTableProps;
2507
2510
  return h(
2508
2511
  "div",
2509
2512
  {
@@ -2513,7 +2516,7 @@ var gantt_default = {
2513
2516
  [
2514
2517
  h(VxeTableComponent, {
2515
2518
  key: "table",
2516
- props: tableProps2,
2519
+ props: tableProps,
2517
2520
  on: getTableOns($xeGantt),
2518
2521
  scopedSlots: slots,
2519
2522
  ref: "refTable"
@@ -6,4 +6,4 @@ export declare function getTaskBarLeft(chartRest: VxeGanttDefines.RowCacheItem |
6
6
  export declare function getTaskBarWidth(chartRest: VxeGanttDefines.RowCacheItem | null, viewCellWidth: number): number;
7
7
  export declare function hasMilestoneTask(type: string): type is "milestone";
8
8
  export declare function hasSubviewTask(type: string): type is "subview";
9
- export declare function getTaskType(type: string): "default" | VxeGanttTaskType;
9
+ export declare function getTaskType(type: string): VxeGanttTaskType | "default";
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 = "3.9.7";
3
+ VxeUI.ganttVersion = "3.9.9";
4
4
  const ymdFormat = "yyyy-MM-dd";
5
5
  const ymdhmsFormat = "yyyy-MM-dd HH:mm:ss";
6
6
  setConfig({
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${"3.9.7"}`;
3
+ const ganttVersion = `gantt v${"3.9.9"}`;
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}` : "";
@@ -0,0 +1,8 @@
1
+ import { VueConstructor } from 'vue';
2
+ import { VxeUI } from '@vxe-ui/core';
3
+ import './ui';
4
+ import type { VxeGlobalConfig } from 'vxe-pc-ui';
5
+ export declare function install(app: VueConstructor, options?: VxeGlobalConfig): void;
6
+ export { VxeUI };
7
+ export * from '@vxe-ui/core';
8
+ export * from './gantt';
package/lib/components.js CHANGED
@@ -29,6 +29,7 @@ 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_core.VxeUI,
32
33
  install: () => install
33
34
  });
34
35
  module.exports = __toCommonJS(components_exports);