@object-ui/plugin-gantt 17.5.0 → 17.7.0
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/CHANGELOG.md +3259 -0
- package/README.md +637 -137
- package/dist/GanttView.d.ts +65 -55
- package/dist/GanttView.d.ts.map +1 -1
- package/dist/ObjectGantt.d.ts +193 -6
- package/dist/ObjectGantt.d.ts.map +1 -1
- package/dist/QuickFilterBar.d.ts +16 -4
- package/dist/QuickFilterBar.d.ts.map +1 -1
- package/dist/ResourceWorkload.d.ts +2 -2
- package/dist/ResourceWorkload.d.ts.map +1 -1
- package/dist/index.d.ts +55 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1974 -1686
- package/dist/index.umd.cjs +12 -12
- package/dist/scheduling.d.ts +17 -9
- package/dist/scheduling.d.ts.map +1 -1
- package/dist/shifts.d.ts +16 -13
- package/dist/shifts.d.ts.map +1 -1
- package/dist/tzShift.d.ts +55 -0
- package/dist/tzShift.d.ts.map +1 -0
- package/dist/useGanttTranslation.d.ts.map +1 -1
- package/dist/workload.d.ts +1 -1
- package/package.json +17 -14
- package/dist/tsconfig.tsbuildinfo +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,61 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ObjectGantt } from './ObjectGantt';
|
|
2
|
+
import { ObjectGantt } from './ObjectGantt.js';
|
|
3
3
|
export { ObjectGantt };
|
|
4
|
-
export type { ObjectGanttProps, QuickFilterDef } from './ObjectGantt';
|
|
5
|
-
export { QuickFilterBar } from './QuickFilterBar';
|
|
6
|
-
export type { QuickFilterBarProps, QuickFilterField, QuickFilterOption, QuickFilterLabels, } from './QuickFilterBar';
|
|
7
|
-
export { GanttView } from './GanttView';
|
|
8
|
-
export type { GanttViewProps, GanttTask, GanttTaskType, GanttViewMode, GanttDependency, GanttDependencyObject, GanttLinkType, GanttMarker, } from './GanttView';
|
|
9
|
-
export { normalizeDependencies, normalizeTaskType } from './ObjectGantt';
|
|
10
|
-
export { normalizeShiftSegments, parseHHMM, shiftDayStart, bandAt } from './shifts';
|
|
11
|
-
export type { ShiftSegmentsConfig, ShiftBandConfig, NormShiftSegments, NormShiftBand, } from './shifts';
|
|
12
|
-
export { ResourceWorkload } from './ResourceWorkload';
|
|
13
|
-
export type { ResourceWorkloadProps } from './ResourceWorkload';
|
|
14
|
-
export { computeWorkload } from './workload';
|
|
15
|
-
export type { WorkloadColumn, WorkloadOptions, ResourceCell, ResourceLoad, } from './workload';
|
|
4
|
+
export type { ObjectGanttProps, QuickFilterDef } from './ObjectGantt.js';
|
|
5
|
+
export { QuickFilterBar } from './QuickFilterBar.js';
|
|
6
|
+
export type { QuickFilterBarProps, QuickFilterField, QuickFilterOption, QuickFilterLabels, } from './QuickFilterBar.js';
|
|
7
|
+
export { GanttView } from './GanttView.js';
|
|
8
|
+
export type { GanttViewProps, GanttTask, GanttTaskType, GanttViewMode, GanttDependency, GanttDependencyObject, GanttLinkType, GanttMarker, } from './GanttView.js';
|
|
9
|
+
export { normalizeDependencies, normalizeTaskType } from './ObjectGantt.js';
|
|
10
|
+
export { normalizeShiftSegments, parseHHMM, shiftDayStart, bandAt } from './shifts.js';
|
|
11
|
+
export type { ShiftSegmentsConfig, ShiftBandConfig, NormShiftSegments, NormShiftBand, } from './shifts.js';
|
|
12
|
+
export { ResourceWorkload } from './ResourceWorkload.js';
|
|
13
|
+
export type { ResourceWorkloadProps } from './ResourceWorkload.js';
|
|
14
|
+
export { computeWorkload } from './workload.js';
|
|
15
|
+
export type { WorkloadColumn, WorkloadOptions, ResourceCell, ResourceLoad, } from './workload.js';
|
|
16
16
|
export declare const ObjectGanttRenderer: React.FC<{
|
|
17
17
|
schema: any;
|
|
18
18
|
}>;
|
|
19
|
+
/**
|
|
20
|
+
* ⛔ The bare `gantt` node type key is RETIRED (objectui#8008, maintainer
|
|
21
|
+
* ruling 2026-09-09, route 3). `object-gantt` is the one spelling this plugin
|
|
22
|
+
* serves.
|
|
23
|
+
*
|
|
24
|
+
* ## What was here, and why it went
|
|
25
|
+
*
|
|
26
|
+
* `ComponentRegistry.register('gantt', ObjectGanttRenderer, { namespace:
|
|
27
|
+
* 'view', ... })` — a second key on the SAME renderer, which stored both
|
|
28
|
+
* `view:gantt` and the bare `gantt` fallback. The declared face admitted only
|
|
29
|
+
* one of the two: `ObjectGanttSchema.type` is the literal `'object-gantt'`, so
|
|
30
|
+
* an author who annotated their node could not write the key the registry
|
|
31
|
+
* accepted (`TS2322`), while an author who left the literal bare got no
|
|
32
|
+
* checking at all. Two published faces, opposite verdicts.
|
|
33
|
+
*
|
|
34
|
+
* ## Why unregistering is the whole retirement here — measured, not assumed
|
|
35
|
+
*
|
|
36
|
+
* ⚠️ `BaseSchema` closes with `[key: string]: any` and `BaseSchemaCore` ends
|
|
37
|
+
* `.passthrough()`, so a dropped MEMBER KEY is KEPT, not refused (the
|
|
38
|
+
* objectui#7664 failure). That hazard does not reach a TYPE NAME on this
|
|
39
|
+
* surface, and the reason is structural rather than lucky: no schema face in
|
|
40
|
+
* `@object-ui/types` ever declared `gantt` as a component node type — measured
|
|
41
|
+
* whole-repo, zero declarations, against a firing control of two for
|
|
42
|
+
* `object-gantt` (`objectql.ts` + its Zod mirror). There is no arm to convert
|
|
43
|
+
* into a named refusal, so unregistering IS the retirement.
|
|
44
|
+
*
|
|
45
|
+
* ⇒ Registration-only retirement. Contrast the `kanban` sibling in the same
|
|
46
|
+
* batch (objectui#8802), which DID have a declared arm and therefore got a
|
|
47
|
+
* named refusal rather than a deletion.
|
|
48
|
+
*
|
|
49
|
+
* ## ⛔ Two layers, and only one of them moved
|
|
50
|
+
*
|
|
51
|
+
* The string `gantt` also names a STORED `NamedListView.type` — the value
|
|
52
|
+
* `CreateViewDialog` writes and every tenant's database holds. That layer is
|
|
53
|
+
* untouched: `packages/plugin-view/src/ObjectView.tsx`'s `switch (viewType)`
|
|
54
|
+
* maps the stored `gantt` view type onto the node type it emits, and it already
|
|
55
|
+
* emits `object-gantt`. ⇒ Every gantt view any user ever created through the
|
|
56
|
+
* console already renders through the surviving spelling; this retirement moves
|
|
57
|
+
* zero stored documents.
|
|
58
|
+
*
|
|
59
|
+
* Pinned in `src/__tests__/bare-gantt-node-key-retired-8008.test.ts`.
|
|
60
|
+
*/
|
|
19
61
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEtE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EACV,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EACV,cAAc,EACd,SAAS,EACT,aAAa,EACb,aAAa,EACb,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,WAAW,GACZ,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEzE,OAAO,EAAE,sBAAsB,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACpF,YAAY,EACV,mBAAmB,EACnB,eAAe,EACf,iBAAiB,EACjB,aAAa,GACd,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACh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