Skip to content
This repository has been archived by the owner on Feb 12, 2025. It is now read-only.

Commit

Permalink
INFOPORTAL-9735: gantt chart tooltips, legend and areas. (#5)
Browse files Browse the repository at this point in the history
* INFOPORTAL-9735 feat: added tooltip and legend and other updates.

* INFOPORTAL-9735 feat: build and eslint&prettier fixes.

* INFOPORTAL-9735 fix: fixes.

* INFOPORTAL-9735 fix: fixes.

* INFOPORTAL-9735 fix: gitignore change.

* INFOPORTAL-9735 fix: gitignore change.

* INFOPORTAL-9735 fix: cr changes.

* INFOPORTAL-9735 fix: cr changes.

* INFOPORTAL-9735 fix: arrow fix
  • Loading branch information
Austral1a authored Feb 5, 2025
1 parent ee96392 commit 4732ee9
Show file tree
Hide file tree
Showing 38 changed files with 5,546 additions and 10,104 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.DS_Store
node_modules


# local env files
.env.local
.env.*.local
Expand Down
4,902 changes: 3,676 additions & 1,226 deletions lib/vue-ganttastic.js

Large diffs are not rendered by default.

338 changes: 269 additions & 69 deletions lib/vue-ganttastic.umd.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib_types/GanttPlayground.vue.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;
6 changes: 3 additions & 3 deletions lib_types/components/GGanttBar.vue.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { GanttBarObject } from "../types";
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
bar: GanttBarObject;
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
bar: GanttBarObject;
}>>>, {}, {}>, {
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
default?(_: {
bar: GanttBarObject;
}): any;
Expand Down
13 changes: 8 additions & 5 deletions lib_types/components/GGanttBarTooltip.vue.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import type { GanttBarObject } from "../types";
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
import type { GGanttChartConfig } from "./GGanttChart.vue";
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
bar: GanttBarObject | undefined;
modelValue: boolean;
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
config: Pick<GGanttChartConfig, "barStart" | "barEnd" | "font">;
toDayjs: any;
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
bar: GanttBarObject | undefined;
modelValue: boolean;
}>>>, {}, {}>, {
config: Pick<GGanttChartConfig, "barStart" | "barEnd" | "font">;
toDayjs: any;
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
default?(_: {
bar: GanttBarObject | undefined;
barStart: any;
Expand Down
1,599 changes: 10 additions & 1,589 deletions lib_types/components/GGanttChart.vue.d.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib_types/components/GGanttCurrentTime.vue.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
"current-time-label"?(_: {}): any;
}>;
export default _default;
Expand Down
15 changes: 15 additions & 0 deletions lib_types/components/GGanttGrid/GGanttGrid.vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
highlightedUnits?: number[] | undefined;
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
highlightedUnits?: number[] | undefined;
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
declare type __VLS_TypePropsToRuntimeProps<T> = {
[K in keyof T]-?: {} extends Pick<T, K> ? {
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
} : {
type: import('vue').PropType<T[K]>;
required: true;
};
};
15 changes: 15 additions & 0 deletions lib_types/components/GGanttGrid/GGanttGridAreaDivider.vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
areaHeights: number[];
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
areaHeights: number[];
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
declare type __VLS_TypePropsToRuntimeProps<T> = {
[K in keyof T]-?: {} extends Pick<T, K> ? {
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
} : {
type: import('vue').PropType<T[K]>;
required: true;
};
};
15 changes: 15 additions & 0 deletions lib_types/components/GGanttGrid/GGanttGridCurrentDay.vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
parentWidth: number;
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
parentWidth: number;
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
declare type __VLS_TypePropsToRuntimeProps<T> = {
[K in keyof T]-?: {} extends Pick<T, K> ? {
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
} : {
type: import('vue').PropType<T[K]>;
required: true;
};
};
2 changes: 1 addition & 1 deletion lib_types/components/GGanttLabelColumn.vue.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
"label-column-title"?(_: {}): any;
"label-column-row"?(_: {
label: string;
Expand Down
16 changes: 16 additions & 0 deletions lib_types/components/GGanttLegend/GGanttLegend.vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/// <reference lib="es2017.object" />
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
legend: Record<string, any[]>;
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
legend: Record<string, any[]>;
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
declare type __VLS_TypePropsToRuntimeProps<T> = {
[K in keyof T]-?: {} extends Pick<T, K> ? {
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
} : {
type: import('vue').PropType<T[K]>;
required: true;
};
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
legend: Record<string, any[]>;
isCollapsed: boolean;
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"update:isCollapsed": (...args: any[]) => void;
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
legend: Record<string, any[]>;
isCollapsed: boolean;
}>>> & Readonly<{
"onUpdate:isCollapsed"?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
declare type __VLS_TypePropsToRuntimeProps<T> = {
[K in keyof T]-?: {} extends Pick<T, K> ? {
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
} : {
type: import('vue').PropType<T[K]>;
required: true;
};
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
legend: Record<string, any[]>;
isCollapsed: boolean;
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"update:isCollapsed": (...args: any[]) => void;
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
legend: Record<string, any[]>;
isCollapsed: boolean;
}>>> & Readonly<{
"onUpdate:isCollapsed"?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
declare type __VLS_TypePropsToRuntimeProps<T> = {
[K in keyof T]-?: {} extends Pick<T, K> ? {
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
} : {
type: import('vue').PropType<T[K]>;
required: true;
};
};
Loading

0 comments on commit 4732ee9

Please sign in to comment.