@orangelogic/design-system 2.119.0 → 2.120.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/library/components/types.js +907 -895
- package/library/package.json +1 -1
- package/library/packages/organisms/src/capacity-planner/capacity-planner.d.ts +2 -3
- package/library/packages/organisms/src/capacity-planner/components/capacity-week-bar/capacity-week-bar.d.ts +6 -0
- package/package.json +1 -1
package/library/package.json
CHANGED
|
@@ -84,7 +84,6 @@ export default class CxCapacityPlanner extends CortexElement {
|
|
|
84
84
|
constructor();
|
|
85
85
|
runConnectedCallback(): void;
|
|
86
86
|
disconnectedCallback(): void;
|
|
87
|
-
runFirstUpdated(): void;
|
|
88
87
|
/**
|
|
89
88
|
* The synthetic Unavailable pseudo-category. NOT part of the
|
|
90
89
|
* server-provided `categories` prop — appended internally as the LAST band so
|
|
@@ -106,10 +105,10 @@ export default class CxCapacityPlanner extends CortexElement {
|
|
|
106
105
|
private effectiveCategories;
|
|
107
106
|
private colorMap;
|
|
108
107
|
private legend;
|
|
109
|
-
|
|
108
|
+
recomputeDerived(): void;
|
|
110
109
|
/** Whether the week at `index` is editable (mode + horizon gate). */
|
|
111
110
|
private isWeekEditable;
|
|
112
|
-
|
|
111
|
+
rebuildPlan(): void;
|
|
113
112
|
/**
|
|
114
113
|
* Integer hours for a week over the FULL effective set (real categories
|
|
115
114
|
* followed by Unavailable), in band order, via a largest-remainder
|
|
@@ -72,6 +72,12 @@ export default class CxCapacityWeekBar extends CortexElement {
|
|
|
72
72
|
private readonly barEl;
|
|
73
73
|
private summary;
|
|
74
74
|
private geometries;
|
|
75
|
+
/** Actual rendered width of the bar element, updated by ResizeObserver. */
|
|
76
|
+
renderedBarWidth: number;
|
|
77
|
+
private barResizeObserver;
|
|
78
|
+
connectedCallback(): void;
|
|
79
|
+
disconnectedCallback(): void;
|
|
80
|
+
runFirstUpdated(): void;
|
|
75
81
|
willUpdate(changed: PropertyValues<this>): void;
|
|
76
82
|
/** Measure the live bar width; falls back to the cached prop if unmeasurable. */
|
|
77
83
|
private measuredBarWidth;
|