@progress/kendo-vue-common 7.1.0-develop.3 → 7.1.0-develop.5
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/cdn/js/kendo-vue-common.js +1 -1
- package/index.d.mts +260 -17
- package/index.d.ts +260 -17
- package/index.js +1 -1
- package/index.mjs +96 -94
- package/package.json +1 -1
- package/rowHeightService.js +8 -0
- package/rowHeightService.mjs +45 -0
package/index.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=require("./classNames.js"),q=require("./guid.js"),P=require("./keys.js"),x=require("./canUseDOM.js"),p=require("./refs.js"),o=require("./focus.js"),
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=require("./classNames.js"),q=require("./guid.js"),P=require("./keys.js"),x=require("./canUseDOM.js"),p=require("./refs.js"),o=require("./focus.js"),S=require("./Draggable.js"),r=require("./clone.js"),h=require("./isObject.js"),v=require("./noop.js"),M=require("./getter.js"),T=require("./setter.js"),g=require("./listeners.js"),u=require("./templateRendering.js"),E=require("./getTabIndex.js"),A=require("./defaultSlots.js"),m=require("./isRtl.js"),c=require("./validate-package.js"),R=require("./providers/AdaptiveModeProvider.js"),l=require("./constants/main.js"),B=require("./theme.js"),i=require("./treeDataOperations.js"),C=require("./browser-support.service.js"),D=require("./scrollbarWidth.js"),L=require("./hasRelativeStackingContext.js"),k=require("./icons/Icon.js"),w=require("./icons/FontIcon.js"),F=require("./icons/SvgIcon.js"),O=require("./icons/getIconName.js"),b=require("./navigation.js"),f=require("./getActiveElement.js"),N=require("./watermark/WatermarkOverlay.js"),_=require("./rowHeightService.js"),y=require("./unstyled/animations.js"),U=require("./unstyled/icons.js"),d=require("./unstyled/buttons.js"),s=require("./unstyled/dropdowns.js"),n=require("./unstyled/dateinputs.js"),t=require("./unstyled/inputs.js"),a=require("./unstyled/labels.js"),G=require("./unstyled/form.js"),V=require("./unstyled/popup.js"),j=require("./unstyled/grid.js"),e=require("./unstyled/json-classes.js");exports.classNames=I.classNames;exports.guid=q.guid;exports.Keys=P.Keys;exports.canUseDOM=x.canUseDOM;exports.getRef=p.getRef;exports.setRef=p.setRef;exports.firstFocusableChild=o.firstFocusableChild;exports.focusContainer=o.focusContainer;exports.focusFirstFocusableChild=o.focusFirstFocusableChild;exports.focusLastFocusableChild=o.focusLastFocusableChild;exports.lastFocusableChild=o.lastFocusableChild;exports.Draggable=S.Draggable;exports.clone=r.clone;exports.cloneArray=r.cloneArray;exports.cloneDate=r.cloneDate;exports.cloneObject=r.cloneObject;exports.cloneValue=r.cloneValue;exports.isObject=h.isObject;exports.noop=v.noop;exports.getter=M.getter;exports.setter=T.setter;exports.getListeners=g.getListeners;exports.hasListener=g.hasListener;exports.getTemplate=u.getTemplate;exports.templateDefinition=u.templateDefinition;exports.templateRendering=u.templateRendering;exports.getTabIndex=E.getTabIndex;exports.getDefaultSlots=A.getDefaultSlots;exports.getDir=m.getDir;exports.isRtl=m.isRtl;exports.getLicenseMessage=c.getLicenseMessage;exports.shouldShowValidationUI=c.shouldShowValidationUI;exports.validatePackage=c.validatePackage;exports.AdaptiveModeProvider=R.AdaptiveModeProvider;exports.ADAPTIVE_MEDIUM_BREAKPOINT=l.ADAPTIVE_MEDIUM_BREAKPOINT;exports.ADAPTIVE_SMALL_BREAKPOINT=l.ADAPTIVE_SMALL_BREAKPOINT;exports.FIELD_REGEX=l.FIELD_REGEX;exports.kendoThemeMaps=B.kendoThemeMaps;exports.extendDataItem=i.extendDataItem;exports.getItemPath=i.getItemPath;exports.getNestedValue=i.getNestedValue;exports.mapTree=i.mapTree;exports.mapTreeItem=i.mapTreeItem;exports.BrowserSupportService=C.BrowserSupportService;exports.getScrollbarWidth=D.getScrollbarWidth;exports.setScrollbarWidth=D.setScrollbarWidth;exports.hasRelativeStackingContext=L.hasRelativeStackingContext;exports.Icon=k.Icon;exports.FontIcon=w.FontIcon;exports.SvgIcon=F.SvgIcon;exports.getIconName=O.getIconName;exports.FOCUSABLE_ELEMENTS=b.FOCUSABLE_ELEMENTS;exports.Navigation=b.Navigation;exports.getActiveElement=f.getActiveElement;exports.getInnerActiveElement=f.getInnerActiveElement;exports.WatermarkOverlay=N.WatermarkOverlay;exports.RowHeightService=_.RowHeightService;exports.uAnimation=y.uAnimation;exports.uSvgIcon=U.uSvgIcon;exports.uButton=d.uButton;exports.uButtonGroup=d.uButtonGroup;exports.uDropDownButton=d.uDropDownButton;exports.uComboBox=s.uComboBox;exports.uDropDownList=s.uDropDownList;exports.uDropDownsActionSheet=s.uDropDownsActionSheet;exports.uDropDownsBase=s.uDropDownsBase;exports.uCalendar=n.uCalendar;exports.uDateInput=n.uDateInput;exports.uDateTimePicker=n.uDateTimePicker;exports.uTime=n.uTime;exports.uTimePicker=n.uTimePicker;exports.radioButtonClasses=t.radioButtonClasses;exports.radioGroupClasses=t.radioGroupClasses;exports.uInput=t.uInput;exports.uMaskedTextBox=t.uMaskedTextBox;exports.uRadioButton=t.uRadioButton;exports.uRadioGroup=t.uRadioGroup;exports.uTextBox=t.uTextBox;exports.uError=a.uError;exports.uFloatingLabel=a.uFloatingLabel;exports.uHint=a.uHint;exports.uLabel=a.uLabel;exports.uForm=G.uForm;exports.uPopup=V.uPopup;exports.uGrid=j.uGrid;exports.actions=e.actions;exports.animationStyles=e.animationStyles;exports.base=e.base;exports.buttonPrefix=e.buttonPrefix;exports.calendarPrefix=e.calendarPrefix;exports.comboBoxPrefix=e.comboBoxPrefix;exports.components=e.components;exports.containers=e.containers;exports.cssUtils=e.cssUtils;exports.cursor=e.cursor;exports.dateInputs=e.dateInputs;exports.ddbPrefix=e.ddbPrefix;exports.dimensions=e.dimensions;exports.directionMap=e.directionMap;exports.dropDownListPrefix=e.dropDownListPrefix;exports.elements=e.elements;exports.fillModeMap=e.fillModeMap;exports.forms=e.forms;exports.grid=e.grid;exports.gridPrefix=e.gridPrefix;exports.gridRowReorder=e.gridRowReorder;exports.icon=e.icon;exports.inputPrefix=e.inputPrefix;exports.inputs=e.inputs;exports.jsonTheme=e.jsonTheme;exports.labels=e.labels;exports.maskedPrefix=e.maskedPrefix;exports.orientationMap=e.orientationMap;exports.pickerPrefix=e.pickerPrefix;exports.popup=e.popup;exports.radioPrefix=e.radioPrefix;exports.roundedMap=e.roundedMap;exports.sizeMap=e.sizeMap;exports.states=e.states;exports.themeColorMap=e.themeColorMap;
|
package/index.mjs
CHANGED
|
@@ -12,16 +12,16 @@ import { canUseDOM as n } from "./canUseDOM.mjs";
|
|
|
12
12
|
import { getRef as f, setRef as x } from "./refs.mjs";
|
|
13
13
|
import { firstFocusableChild as l, focusContainer as c, focusFirstFocusableChild as d, focusLastFocusableChild as g, lastFocusableChild as D } from "./focus.mjs";
|
|
14
14
|
import { Draggable as P } from "./Draggable.mjs";
|
|
15
|
-
import { clone as
|
|
16
|
-
import { isObject as
|
|
17
|
-
import { noop as
|
|
18
|
-
import { getter as
|
|
15
|
+
import { clone as h, cloneArray as M, cloneDate as T, cloneObject as E, cloneValue as S } from "./clone.mjs";
|
|
16
|
+
import { isObject as B } from "./isObject.mjs";
|
|
17
|
+
import { noop as R } from "./noop.mjs";
|
|
18
|
+
import { getter as C } from "./getter.mjs";
|
|
19
19
|
import { setter as k } from "./setter.mjs";
|
|
20
20
|
import { getListeners as N, hasListener as O } from "./listeners.mjs";
|
|
21
21
|
import { getTemplate as G, templateDefinition as U, templateRendering as V } from "./templateRendering.mjs";
|
|
22
22
|
import { getTabIndex as j } from "./getTabIndex.mjs";
|
|
23
23
|
import { getDefaultSlots as W } from "./defaultSlots.mjs";
|
|
24
|
-
import { getDir as
|
|
24
|
+
import { getDir as z, isRtl as X } from "./isRtl.mjs";
|
|
25
25
|
import { getLicenseMessage as J, shouldShowValidationUI as Q, validatePackage as Y } from "./validate-package.mjs";
|
|
26
26
|
import { AdaptiveModeProvider as $ } from "./providers/AdaptiveModeProvider.mjs";
|
|
27
27
|
import { ADAPTIVE_MEDIUM_BREAKPOINT as oe, ADAPTIVE_SMALL_BREAKPOINT as re, FIELD_REGEX as te } from "./constants/main.mjs";
|
|
@@ -31,23 +31,24 @@ import { BrowserSupportService as le } from "./browser-support.service.mjs";
|
|
|
31
31
|
import { getScrollbarWidth as de, setScrollbarWidth as ge } from "./scrollbarWidth.mjs";
|
|
32
32
|
import { hasRelativeStackingContext as Ie } from "./hasRelativeStackingContext.mjs";
|
|
33
33
|
import { Icon as be } from "./icons/Icon.mjs";
|
|
34
|
-
import { FontIcon as
|
|
34
|
+
import { FontIcon as Me } from "./icons/FontIcon.mjs";
|
|
35
35
|
import { SvgIcon as Ee } from "./icons/SvgIcon.mjs";
|
|
36
|
-
import { getIconName as
|
|
37
|
-
import { FOCUSABLE_ELEMENTS as Le, Navigation as
|
|
38
|
-
import { getActiveElement as
|
|
36
|
+
import { getIconName as Ae } from "./icons/getIconName.mjs";
|
|
37
|
+
import { FOCUSABLE_ELEMENTS as Le, Navigation as Re } from "./navigation.mjs";
|
|
38
|
+
import { getActiveElement as Ce, getInnerActiveElement as Fe } from "./getActiveElement.mjs";
|
|
39
39
|
import { WatermarkOverlay as we } from "./watermark/WatermarkOverlay.mjs";
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
40
|
+
import { RowHeightService as Oe } from "./rowHeightService.mjs";
|
|
41
|
+
import { uAnimation as Ge } from "./unstyled/animations.mjs";
|
|
42
|
+
import { uSvgIcon as Ve } from "./unstyled/icons.mjs";
|
|
43
|
+
import { uButton as je, uButtonGroup as Ke, uDropDownButton as We } from "./unstyled/buttons.mjs";
|
|
44
|
+
import { uComboBox as ze, uDropDownList as Xe, uDropDownsActionSheet as qe, uDropDownsBase as Je } from "./unstyled/dropdowns.mjs";
|
|
45
|
+
import { uCalendar as Ye, uDateInput as Ze, uDateTimePicker as $e, uTime as eo, uTimePicker as oo } from "./unstyled/dateinputs.mjs";
|
|
46
|
+
import { radioButtonClasses as to, radioGroupClasses as ao, uInput as io, uMaskedTextBox as po, uRadioButton as mo, uRadioGroup as no, uTextBox as so } from "./unstyled/inputs.mjs";
|
|
47
|
+
import { uError as xo, uFloatingLabel as uo, uHint as lo, uLabel as co } from "./unstyled/labels.mjs";
|
|
48
|
+
import { uForm as Do } from "./unstyled/form.mjs";
|
|
49
|
+
import { uPopup as Po } from "./unstyled/popup.mjs";
|
|
50
|
+
import { uGrid as ho } from "./unstyled/grid.mjs";
|
|
51
|
+
import { actions as To, animationStyles as Eo, base as So, buttonPrefix as Ao, calendarPrefix as Bo, comboBoxPrefix as Lo, components as Ro, containers as vo, cssUtils as Co, cursor as Fo, dateInputs as ko, ddbPrefix as wo, dimensions as No, directionMap as Oo, dropDownListPrefix as _o, elements as Go, fillModeMap as Uo, forms as Vo, grid as yo, gridPrefix as jo, gridRowReorder as Ko, icon as Wo, inputPrefix as Ho, inputs as zo, jsonTheme as Xo, labels as qo, maskedPrefix as Jo, orientationMap as Qo, pickerPrefix as Yo, popup as Zo, radioPrefix as $o, roundedMap as er, sizeMap as or, states as rr, themeColorMap as tr } from "./unstyled/json-classes.mjs";
|
|
51
52
|
export {
|
|
52
53
|
oe as ADAPTIVE_MEDIUM_BREAKPOINT,
|
|
53
54
|
re as ADAPTIVE_SMALL_BREAKPOINT,
|
|
@@ -56,46 +57,47 @@ export {
|
|
|
56
57
|
P as Draggable,
|
|
57
58
|
te as FIELD_REGEX,
|
|
58
59
|
Le as FOCUSABLE_ELEMENTS,
|
|
59
|
-
|
|
60
|
+
Me as FontIcon,
|
|
60
61
|
be as Icon,
|
|
61
62
|
p as Keys,
|
|
62
|
-
|
|
63
|
+
Re as Navigation,
|
|
64
|
+
Oe as RowHeightService,
|
|
63
65
|
Ee as SvgIcon,
|
|
64
66
|
we as WatermarkOverlay,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
To as actions,
|
|
68
|
+
Eo as animationStyles,
|
|
69
|
+
So as base,
|
|
70
|
+
Ao as buttonPrefix,
|
|
71
|
+
Bo as calendarPrefix,
|
|
70
72
|
n as canUseDOM,
|
|
71
73
|
r as classNames,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
h as clone,
|
|
75
|
+
M as cloneArray,
|
|
76
|
+
T as cloneDate,
|
|
75
77
|
E as cloneObject,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
S as cloneValue,
|
|
79
|
+
Lo as comboBoxPrefix,
|
|
80
|
+
Ro as components,
|
|
81
|
+
vo as containers,
|
|
80
82
|
Co as cssUtils,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
83
|
+
Fo as cursor,
|
|
84
|
+
ko as dateInputs,
|
|
85
|
+
wo as ddbPrefix,
|
|
86
|
+
No as dimensions,
|
|
87
|
+
Oo as directionMap,
|
|
88
|
+
_o as dropDownListPrefix,
|
|
89
|
+
Go as elements,
|
|
88
90
|
me as extendDataItem,
|
|
89
|
-
|
|
91
|
+
Uo as fillModeMap,
|
|
90
92
|
l as firstFocusableChild,
|
|
91
93
|
c as focusContainer,
|
|
92
94
|
d as focusFirstFocusableChild,
|
|
93
95
|
g as focusLastFocusableChild,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
+
Vo as forms,
|
|
97
|
+
Ce as getActiveElement,
|
|
96
98
|
W as getDefaultSlots,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
+
z as getDir,
|
|
100
|
+
Ae as getIconName,
|
|
99
101
|
Fe as getInnerActiveElement,
|
|
100
102
|
ne as getItemPath,
|
|
101
103
|
J as getLicenseMessage,
|
|
@@ -105,67 +107,67 @@ export {
|
|
|
105
107
|
de as getScrollbarWidth,
|
|
106
108
|
j as getTabIndex,
|
|
107
109
|
G as getTemplate,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
C as getter,
|
|
111
|
+
yo as grid,
|
|
112
|
+
jo as gridPrefix,
|
|
113
|
+
Ko as gridRowReorder,
|
|
112
114
|
a as guid,
|
|
113
115
|
O as hasListener,
|
|
114
116
|
Ie as hasRelativeStackingContext,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
Wo as icon,
|
|
118
|
+
Ho as inputPrefix,
|
|
119
|
+
zo as inputs,
|
|
120
|
+
B as isObject,
|
|
119
121
|
X as isRtl,
|
|
120
|
-
|
|
122
|
+
Xo as jsonTheme,
|
|
121
123
|
ie as kendoThemeMaps,
|
|
122
|
-
|
|
124
|
+
qo as labels,
|
|
123
125
|
D as lastFocusableChild,
|
|
124
126
|
fe as mapTree,
|
|
125
127
|
xe as mapTreeItem,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
128
|
+
Jo as maskedPrefix,
|
|
129
|
+
R as noop,
|
|
130
|
+
Qo as orientationMap,
|
|
131
|
+
Yo as pickerPrefix,
|
|
132
|
+
Zo as popup,
|
|
133
|
+
to as radioButtonClasses,
|
|
134
|
+
ao as radioGroupClasses,
|
|
135
|
+
$o as radioPrefix,
|
|
136
|
+
er as roundedMap,
|
|
135
137
|
x as setRef,
|
|
136
138
|
ge as setScrollbarWidth,
|
|
137
139
|
k as setter,
|
|
138
140
|
Q as shouldShowValidationUI,
|
|
139
|
-
|
|
140
|
-
|
|
141
|
+
or as sizeMap,
|
|
142
|
+
rr as states,
|
|
141
143
|
U as templateDefinition,
|
|
142
144
|
V as templateRendering,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
145
|
+
tr as themeColorMap,
|
|
146
|
+
Ge as uAnimation,
|
|
147
|
+
je as uButton,
|
|
148
|
+
Ke as uButtonGroup,
|
|
149
|
+
Ye as uCalendar,
|
|
150
|
+
ze as uComboBox,
|
|
151
|
+
Ze as uDateInput,
|
|
152
|
+
$e as uDateTimePicker,
|
|
153
|
+
We as uDropDownButton,
|
|
154
|
+
Xe as uDropDownList,
|
|
155
|
+
qe as uDropDownsActionSheet,
|
|
156
|
+
Je as uDropDownsBase,
|
|
157
|
+
xo as uError,
|
|
158
|
+
uo as uFloatingLabel,
|
|
159
|
+
Do as uForm,
|
|
160
|
+
ho as uGrid,
|
|
161
|
+
lo as uHint,
|
|
162
|
+
io as uInput,
|
|
163
|
+
co as uLabel,
|
|
164
|
+
po as uMaskedTextBox,
|
|
165
|
+
Po as uPopup,
|
|
166
|
+
mo as uRadioButton,
|
|
167
|
+
no as uRadioGroup,
|
|
168
|
+
Ve as uSvgIcon,
|
|
169
|
+
so as uTextBox,
|
|
170
|
+
eo as uTime,
|
|
171
|
+
oo as uTimePicker,
|
|
170
172
|
Y as validatePackage
|
|
171
173
|
};
|
package/package.json
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class f{constructor(t=0,s){this.total=t,this.offsets=[],this.heights=[];let h=0;for(let e=0;e<t;e++)this.offsets.push(h),h+=s,this.heights.push(s)}height(t){return this.heights[t]}index(t){for(let s=0;s<this.offsets.length;s++){if(t===this.offsets[s])return s;if(t<this.offsets[s])return s-1}return this.total-1}offset(t){return this.offsets[t]}totalHeight(){const t=this.offsets.at(-1),s=this.heights.at(-1);return t+s}update(t,s){let h=this.offsets[t];for(let e=t;e<this.heights.length;e++){this.offsets[e]=h;const i=s[e-t]||this.heights[e];h+=i,this.heights[e]=i}}}exports.RowHeightService=f;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
class o {
|
|
9
|
+
constructor(t = 0, s) {
|
|
10
|
+
this.total = t, this.offsets = [], this.heights = [];
|
|
11
|
+
let e = 0;
|
|
12
|
+
for (let h = 0; h < t; h++)
|
|
13
|
+
this.offsets.push(e), e += s, this.heights.push(s);
|
|
14
|
+
}
|
|
15
|
+
height(t) {
|
|
16
|
+
return this.heights[t];
|
|
17
|
+
}
|
|
18
|
+
index(t) {
|
|
19
|
+
for (let s = 0; s < this.offsets.length; s++) {
|
|
20
|
+
if (t === this.offsets[s])
|
|
21
|
+
return s;
|
|
22
|
+
if (t < this.offsets[s])
|
|
23
|
+
return s - 1;
|
|
24
|
+
}
|
|
25
|
+
return this.total - 1;
|
|
26
|
+
}
|
|
27
|
+
offset(t) {
|
|
28
|
+
return this.offsets[t];
|
|
29
|
+
}
|
|
30
|
+
totalHeight() {
|
|
31
|
+
const t = this.offsets.at(-1), s = this.heights.at(-1);
|
|
32
|
+
return t + s;
|
|
33
|
+
}
|
|
34
|
+
update(t, s) {
|
|
35
|
+
let e = this.offsets[t];
|
|
36
|
+
for (let h = t; h < this.heights.length; h++) {
|
|
37
|
+
this.offsets[h] = e;
|
|
38
|
+
const i = s[h - t] || this.heights[h];
|
|
39
|
+
e += i, this.heights[h] = i;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
o as RowHeightService
|
|
45
|
+
};
|