@progress/kendo-vue-data-tools 8.3.0-develop.1 → 8.3.0-develop.3
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/clipboard/clipboard.service.d.ts +20 -0
- package/clipboard/clipboard.service.js +8 -0
- package/clipboard/clipboard.service.mjs +26 -0
- package/clipboard/common.d.ts +188 -0
- package/clipboard/common.js +13 -0
- package/clipboard/common.mjs +104 -0
- package/dist/cdn/js/kendo-vue-datatools.js +1 -1
- package/header/HeaderThElement.d.ts +3 -0
- package/index.d.mts +2 -0
- package/index.d.ts +2 -0
- package/index.js +1 -1
- package/index.mjs +133 -117
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +10 -10
- package/selection/TableSelection.js +1 -1
- package/selection/TableSelection.mjs +106 -80
- package/selection/utils.d.ts +2 -0
- package/selection/utils.js +1 -1
- package/selection/utils.mjs +102 -88
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 A=require("./drag/ColumnResize.js"),
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("./drag/ColumnResize.js"),c=require("./drag/CommonDragLogic.js"),p=require("./drag/DragClue.js"),E=require("./drag/DropClue.js"),T=require("./cells/FilterCell.js"),n=require("./utils/data-operations.js"),l=require("./utils/group-operations.js"),t=require("./filterCommon.js"),_=require("./pager/Pager.js"),D=require("./pager/PagerInfo.js"),N=require("./pager/PagerInput.js"),O=require("./pager/PagerNavigationButton.js"),C=require("./pager/PagerNumericButtons.js"),b=require("./pager/PagerPageSizes.js"),m=require("./header/HeaderThElement.js"),I=require("./pager/GridPagerSettings.js"),e=require("./navigation/constants.js"),S=require("./navigation/TableKeyboardNavigation.js"),B=require("./navigation/utils.js"),R=require("./selection/TableSelection.js"),s=require("./selection/constants.js"),o=require("./selection/utils.js"),P=require("./editing/utils.js"),d=require("./editing/editReducer.js"),F=require("./detail-expansion/utils.js"),g=require("./detail-expansion/expandReducer.js"),i=require("./group-expansion/groupExpandReducer.js"),q=require("./clipboard/clipboard.service.js"),r=require("./clipboard/common.js"),K=require("./filter/filters/BooleanFilter.js"),L=require("./interfaces/ColumnProps.js"),y=require("./filter/filters/DateFilter.js"),x=require("./filter/filters/EnumFilter.js"),V=require("./filter/Expression.js"),f=require("./filter/Filter.js"),v=require("./header/FilterRow.js"),H=require("./filter/GroupFilters.js"),Y=require("./header/Header.js"),h=require("./header/HeaderCell.js"),U=require("./header/HeaderRow.js"),G=require("./header/HeaderSelectionCell.js"),w=require("./header/HeaderTdElement.js"),z=require("./filter/filters/NumericFilter.js"),u=require("./filter/operators.js"),X=require("./filter/filters/TextFilter.js"),a=require("./header/utils/main.js"),M=require("./virtualization/columns.js");exports.ColumnResize=A.ColumnResize;exports.CommonDragLogic=c.CommonDragLogic;exports.DragClue=p.DragClue;exports.DropClue=E.DropClue;exports.FilterCell=T.FilterCell;exports.combineFilters=n.combineFilters;exports.filterBy=n.filterBy;exports.getSearchFromString=n.getSearchFromString;exports.getStringFromSearch=n.getStringFromSearch;exports.orderBy=n.orderBy;exports.getGroupIds=l.getGroupIds;exports.setExpandedState=l.setExpandedState;exports.setGroupIds=l.setGroupIds;exports.IsUnaryFilter=t.IsUnaryFilter;exports.booleanFilterValues=t.booleanFilterValues;exports.cellBoolDropdownChange=t.cellBoolDropdownChange;exports.cellInputChange=t.cellInputChange;exports.cellOperatorChange=t.cellOperatorChange;exports.defaultBooleanOperator=t.defaultBooleanOperator;exports.defaultHideSecondFilter=t.defaultHideSecondFilter;exports.filterLogicList=t.filterLogicList;exports.getDefaultOperator=t.getDefaultOperator;exports.getFilterType=t.getFilterType;exports.operatorMap=t.operatorMap;exports.operators=t.operators;exports.Pager=_.Pager;exports.PagerInfo=D.PagerInfo;exports.PagerInput=N.PagerInput;exports.PagerNavigationButton=O.PagerNavigationButton;exports.PagerNumericButtons=C.PagerNumericButtons;exports.PagerPageSizes=b.PagerPageSizes;exports.HeaderThElement=m.HeaderThElement;exports.normalize=I.normalize;exports.KEYBOARD_NAV_CANCEL_BUTTON_CLASS=e.KEYBOARD_NAV_CANCEL_BUTTON_CLASS;exports.KEYBOARD_NAV_DATA_BODY=e.KEYBOARD_NAV_DATA_BODY;exports.KEYBOARD_NAV_DATA_BOTTOM_PINNED=e.KEYBOARD_NAV_DATA_BOTTOM_PINNED;exports.KEYBOARD_NAV_DATA_HEADER=e.KEYBOARD_NAV_DATA_HEADER;exports.KEYBOARD_NAV_DATA_ID=e.KEYBOARD_NAV_DATA_ID;exports.KEYBOARD_NAV_DATA_LEVEL=e.KEYBOARD_NAV_DATA_LEVEL;exports.KEYBOARD_NAV_DATA_SCOPE=e.KEYBOARD_NAV_DATA_SCOPE;exports.KEYBOARD_NAV_DATA_TOP_PINNED=e.KEYBOARD_NAV_DATA_TOP_PINNED;exports.KEYBOARD_NAV_DATA_ZONE=e.KEYBOARD_NAV_DATA_ZONE;exports.KEYBOARD_NAV_EDIT_BUTTON_CLASS=e.KEYBOARD_NAV_EDIT_BUTTON_CLASS;exports.KEYBOARD_NAV_FILTER_COL_SUFFIX=e.KEYBOARD_NAV_FILTER_COL_SUFFIX;exports.tableKeyboardNavigationBodyAttributes=e.tableKeyboardNavigationBodyAttributes;exports.tableKeyboardNavigationBottomPinnedAttributes=e.tableKeyboardNavigationBottomPinnedAttributes;exports.tableKeyboardNavigationHeaderAttributes=e.tableKeyboardNavigationHeaderAttributes;exports.tableKeyboardNavigationScopeAttributes=e.tableKeyboardNavigationScopeAttributes;exports.tableKeyboardNavigationTopPinnedAttributes=e.tableKeyboardNavigationTopPinnedAttributes;exports.TableKeyboardNavigationProvider=S.TableKeyboardNavigationProvider;exports.tableKeyboardNavigationTools=B.tableKeyboardNavigationTools;exports.TableSelection=R.TableSelection;exports.TABLE_COL_INDEX_ATTRIBUTE=s.TABLE_COL_INDEX_ATTRIBUTE;exports.TABLE_PREVENT_SELECTION_ELEMENT=s.TABLE_PREVENT_SELECTION_ELEMENT;exports.TABLE_ROW_INDEX_ATTRIBUTE=s.TABLE_ROW_INDEX_ATTRIBUTE;exports.closestTagName=o.closestTagName;exports.findNearestSiblingWithAttribute=o.findNearestSiblingWithAttribute;exports.getColumnIndex=o.getColumnIndex;exports.getOffset=o.getOffset;exports.getRowIndex=o.getRowIndex;exports.getSelectedState=o.getSelectedState;exports.getSelectedStateFromKeyDown=o.getSelectedStateFromKeyDown;exports.getSelectionOptions=o.getSelectionOptions;exports.isInNonSelectable=o.isInNonSelectable;exports.relativeContextElement=o.relativeContextElement;exports.setSelectedState=o.setSelectedState;exports.getEditableOptions=P.getEditableOptions;exports.EDIT_ACTION=d.EDIT_ACTION;exports.editReducer=d.editReducer;exports.getDetailExpandableOptions=F.getDetailExpandableOptions;exports.DETAIL_EXPAND_ACTION=g.DETAIL_EXPAND_ACTION;exports.detailExpandReducer=g.detailExpandReducer;exports.GROUP_EXPAND_ACTION=i.GROUP_EXPAND_ACTION;exports.findGroupExpand=i.findGroupExpand;exports.flatToTree=i.flatToTree;exports.getGroupExpandableOptions=i.getGroupExpandableOptions;exports.groupExpandReducer=i.groupExpandReducer;exports.isExpanded=i.isExpanded;exports.ClipboardService=q.ClipboardService;exports.ClipboardActionType=r.ClipboardActionType;exports.addHeaders=r.addHeaders;exports.getClipboardData=r.getClipboardData;exports.getClipboardItemsToPaste=r.getClipboardItemsToPaste;exports.getClipboardText=r.getClipboardText;exports.getItemsToPaste=r.getItemsToPaste;exports.getItemsToUpdateOnPaste=r.getItemsToUpdateOnPaste;exports.getPastedItems=r.getPastedItems;exports.getPreviouslyCopiedItemsData=r.getPreviouslyCopiedItemsData;exports.getSelectedItems=r.getSelectedItems;exports.itemToString=r.itemToString;exports.populateClipboardData=r.populateClipboardData;exports.BooleanFilter=K.BooleanFilter;exports.ColumnDefaultProps=L.ColumnDefaultProps;exports.DateFilter=y.DateFilter;exports.EnumFilter=x.EnumFilter;exports.Expression=V.Expression;exports.Filter=f.Filter;exports.FilterRow=v.FilterRow;exports.GroupFilter=H.GroupFilter;exports.Header=Y.Header;exports.HeaderCell=h.HeaderCell;exports.HeaderRow=U.HeaderRow;exports.HeaderSelectionCell=G.HeaderSelectionCell;exports.HeaderTdElement=w.HeaderTdElement;exports.NumericFilter=z.NumericFilter;exports.Operators=u.Operators;exports.stringOperator=u.stringOperator;exports.unaryOperator=u.unaryOperator;exports.TextFilter=X.TextFilter;exports.getIndex=a.getIndex;exports.isRtl=a.isRtl;exports.mapColumns=a.mapColumns;exports.nextColumn=a.nextColumn;exports.readColumns=a.readColumns;exports.updateLeft=a.updateLeft;exports.updateRight=a.updateRight;exports.tableColumnsVirtualization=M.tableColumnsVirtualization;
|
package/index.mjs
CHANGED
|
@@ -5,153 +5,169 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { ColumnResize as
|
|
8
|
+
import { ColumnResize as r } from "./drag/ColumnResize.mjs";
|
|
9
9
|
import { CommonDragLogic as a } from "./drag/CommonDragLogic.mjs";
|
|
10
|
-
import { DragClue as
|
|
11
|
-
import { DropClue as
|
|
12
|
-
import { FilterCell as
|
|
13
|
-
import { combineFilters as f, filterBy as
|
|
14
|
-
import { getGroupIds as
|
|
15
|
-
import { IsUnaryFilter as
|
|
16
|
-
import { Pager as
|
|
17
|
-
import { PagerInfo as
|
|
10
|
+
import { DragClue as i } from "./drag/DragClue.mjs";
|
|
11
|
+
import { DropClue as m } from "./drag/DropClue.mjs";
|
|
12
|
+
import { FilterCell as d } from "./cells/FilterCell.mjs";
|
|
13
|
+
import { combineFilters as f, filterBy as A, getSearchFromString as g, getStringFromSearch as E, orderBy as _ } from "./utils/data-operations.mjs";
|
|
14
|
+
import { getGroupIds as s, setExpandedState as D, setGroupIds as u } from "./utils/group-operations.mjs";
|
|
15
|
+
import { IsUnaryFilter as O, booleanFilterValues as b, cellBoolDropdownChange as C, cellInputChange as I, cellOperatorChange as B, defaultBooleanOperator as S, defaultHideSecondFilter as R, filterLogicList as c, getDefaultOperator as P, getFilterType as F, operatorMap as K, operators as L } from "./filterCommon.mjs";
|
|
16
|
+
import { Pager as V } from "./pager/Pager.mjs";
|
|
17
|
+
import { PagerInfo as Y } from "./pager/PagerInfo.mjs";
|
|
18
18
|
import { PagerInput as h } from "./pager/PagerInput.mjs";
|
|
19
19
|
import { PagerNavigationButton as G } from "./pager/PagerNavigationButton.mjs";
|
|
20
20
|
import { PagerNumericButtons as X } from "./pager/PagerNumericButtons.mjs";
|
|
21
21
|
import { PagerPageSizes as M } from "./pager/PagerPageSizes.mjs";
|
|
22
22
|
import { HeaderThElement as Z } from "./header/HeaderThElement.mjs";
|
|
23
23
|
import { normalize as k } from "./pager/GridPagerSettings.mjs";
|
|
24
|
-
import { KEYBOARD_NAV_CANCEL_BUTTON_CLASS as J, KEYBOARD_NAV_DATA_BODY as Q, KEYBOARD_NAV_DATA_BOTTOM_PINNED as $, KEYBOARD_NAV_DATA_HEADER as ee, KEYBOARD_NAV_DATA_ID as
|
|
25
|
-
import { TableKeyboardNavigationProvider as
|
|
26
|
-
import { tableKeyboardNavigationTools as
|
|
27
|
-
import { TableSelection as
|
|
28
|
-
import { TABLE_COL_INDEX_ATTRIBUTE as ue, TABLE_PREVENT_SELECTION_ELEMENT as
|
|
29
|
-
import { closestTagName as Ce, getColumnIndex as
|
|
30
|
-
import { getEditableOptions as
|
|
31
|
-
import { EDIT_ACTION as
|
|
32
|
-
import { getDetailExpandableOptions as
|
|
33
|
-
import { DETAIL_EXPAND_ACTION as
|
|
34
|
-
import { GROUP_EXPAND_ACTION as
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
24
|
+
import { KEYBOARD_NAV_CANCEL_BUTTON_CLASS as J, KEYBOARD_NAV_DATA_BODY as Q, KEYBOARD_NAV_DATA_BOTTOM_PINNED as $, KEYBOARD_NAV_DATA_HEADER as ee, KEYBOARD_NAV_DATA_ID as te, KEYBOARD_NAV_DATA_LEVEL as re, KEYBOARD_NAV_DATA_SCOPE as oe, KEYBOARD_NAV_DATA_TOP_PINNED as ae, KEYBOARD_NAV_DATA_ZONE as pe, KEYBOARD_NAV_EDIT_BUTTON_CLASS as ie, KEYBOARD_NAV_FILTER_COL_SUFFIX as le, tableKeyboardNavigationBodyAttributes as me, tableKeyboardNavigationBottomPinnedAttributes as ne, tableKeyboardNavigationHeaderAttributes as de, tableKeyboardNavigationScopeAttributes as xe, tableKeyboardNavigationTopPinnedAttributes as fe } from "./navigation/constants.mjs";
|
|
25
|
+
import { TableKeyboardNavigationProvider as ge } from "./navigation/TableKeyboardNavigation.mjs";
|
|
26
|
+
import { tableKeyboardNavigationTools as _e } from "./navigation/utils.mjs";
|
|
27
|
+
import { TableSelection as se } from "./selection/TableSelection.mjs";
|
|
28
|
+
import { TABLE_COL_INDEX_ATTRIBUTE as ue, TABLE_PREVENT_SELECTION_ELEMENT as Ne, TABLE_ROW_INDEX_ATTRIBUTE as Oe } from "./selection/constants.mjs";
|
|
29
|
+
import { closestTagName as Ce, findNearestSiblingWithAttribute as Ie, getColumnIndex as Be, getOffset as Se, getRowIndex as Re, getSelectedState as ce, getSelectedStateFromKeyDown as Pe, getSelectionOptions as Fe, isInNonSelectable as Ke, relativeContextElement as Le, setSelectedState as ye } from "./selection/utils.mjs";
|
|
30
|
+
import { getEditableOptions as ve } from "./editing/utils.mjs";
|
|
31
|
+
import { EDIT_ACTION as He, editReducer as he } from "./editing/editReducer.mjs";
|
|
32
|
+
import { getDetailExpandableOptions as Ge } from "./detail-expansion/utils.mjs";
|
|
33
|
+
import { DETAIL_EXPAND_ACTION as Xe, detailExpandReducer as ze } from "./detail-expansion/expandReducer.mjs";
|
|
34
|
+
import { GROUP_EXPAND_ACTION as We, findGroupExpand as Ze, flatToTree as je, getGroupExpandableOptions as ke, groupExpandReducer as qe, isExpanded as Je } from "./group-expansion/groupExpandReducer.mjs";
|
|
35
|
+
import { ClipboardService as $e } from "./clipboard/clipboard.service.mjs";
|
|
36
|
+
import { ClipboardActionType as tt, addHeaders as rt, getClipboardData as ot, getClipboardItemsToPaste as at, getClipboardText as pt, getItemsToPaste as it, getItemsToUpdateOnPaste as lt, getPastedItems as mt, getPreviouslyCopiedItemsData as nt, getSelectedItems as dt, itemToString as xt, populateClipboardData as ft } from "./clipboard/common.mjs";
|
|
37
|
+
import { BooleanFilter as gt } from "./filter/filters/BooleanFilter.mjs";
|
|
38
|
+
import { ColumnDefaultProps as _t } from "./interfaces/ColumnProps.mjs";
|
|
39
|
+
import { DateFilter as st } from "./filter/filters/DateFilter.mjs";
|
|
40
|
+
import { EnumFilter as ut } from "./filter/filters/EnumFilter.mjs";
|
|
41
|
+
import { Expression as Ot } from "./filter/Expression.mjs";
|
|
42
|
+
import { Filter as Ct } from "./filter/Filter.mjs";
|
|
43
|
+
import { FilterRow as Bt } from "./header/FilterRow.mjs";
|
|
44
|
+
import { GroupFilter as Rt } from "./filter/GroupFilters.mjs";
|
|
45
|
+
import { Header as Pt } from "./header/Header.mjs";
|
|
46
|
+
import { HeaderCell as Kt } from "./header/HeaderCell.mjs";
|
|
47
|
+
import { HeaderRow as yt } from "./header/HeaderRow.mjs";
|
|
48
|
+
import { HeaderSelectionCell as vt } from "./header/HeaderSelectionCell.mjs";
|
|
49
|
+
import { HeaderTdElement as Ht } from "./header/HeaderTdElement.mjs";
|
|
50
|
+
import { NumericFilter as Ut } from "./filter/filters/NumericFilter.mjs";
|
|
51
|
+
import { Operators as wt, stringOperator as Xt, unaryOperator as zt } from "./filter/operators.mjs";
|
|
52
|
+
import { TextFilter as Wt } from "./filter/filters/TextFilter.mjs";
|
|
53
|
+
import { getIndex as jt, isRtl as kt, mapColumns as qt, nextColumn as Jt, readColumns as Qt, updateLeft as $t, updateRight as er } from "./header/utils/main.mjs";
|
|
54
|
+
import { tableColumnsVirtualization as rr } from "./virtualization/columns.mjs";
|
|
53
55
|
export {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
gt as BooleanFilter,
|
|
57
|
+
tt as ClipboardActionType,
|
|
58
|
+
$e as ClipboardService,
|
|
59
|
+
_t as ColumnDefaultProps,
|
|
60
|
+
r as ColumnResize,
|
|
57
61
|
a as CommonDragLogic,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
62
|
+
Xe as DETAIL_EXPAND_ACTION,
|
|
63
|
+
st as DateFilter,
|
|
64
|
+
i as DragClue,
|
|
65
|
+
m as DropClue,
|
|
66
|
+
He as EDIT_ACTION,
|
|
67
|
+
ut as EnumFilter,
|
|
68
|
+
Ot as Expression,
|
|
69
|
+
Ct as Filter,
|
|
70
|
+
d as FilterCell,
|
|
71
|
+
Bt as FilterRow,
|
|
72
|
+
We as GROUP_EXPAND_ACTION,
|
|
73
|
+
Rt as GroupFilter,
|
|
74
|
+
Pt as Header,
|
|
75
|
+
Kt as HeaderCell,
|
|
76
|
+
yt as HeaderRow,
|
|
77
|
+
vt as HeaderSelectionCell,
|
|
78
|
+
Ht as HeaderTdElement,
|
|
75
79
|
Z as HeaderThElement,
|
|
76
|
-
|
|
80
|
+
O as IsUnaryFilter,
|
|
77
81
|
J as KEYBOARD_NAV_CANCEL_BUTTON_CLASS,
|
|
78
82
|
Q as KEYBOARD_NAV_DATA_BODY,
|
|
79
83
|
$ as KEYBOARD_NAV_DATA_BOTTOM_PINNED,
|
|
80
84
|
ee as KEYBOARD_NAV_DATA_HEADER,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
85
|
+
te as KEYBOARD_NAV_DATA_ID,
|
|
86
|
+
re as KEYBOARD_NAV_DATA_LEVEL,
|
|
87
|
+
oe as KEYBOARD_NAV_DATA_SCOPE,
|
|
84
88
|
ae as KEYBOARD_NAV_DATA_TOP_PINNED,
|
|
85
89
|
pe as KEYBOARD_NAV_DATA_ZONE,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
ie as KEYBOARD_NAV_EDIT_BUTTON_CLASS,
|
|
91
|
+
le as KEYBOARD_NAV_FILTER_COL_SUFFIX,
|
|
92
|
+
Ut as NumericFilter,
|
|
93
|
+
wt as Operators,
|
|
94
|
+
V as Pager,
|
|
95
|
+
Y as PagerInfo,
|
|
92
96
|
h as PagerInput,
|
|
93
97
|
G as PagerNavigationButton,
|
|
94
98
|
X as PagerNumericButtons,
|
|
95
99
|
M as PagerPageSizes,
|
|
96
100
|
ue as TABLE_COL_INDEX_ATTRIBUTE,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
Ne as TABLE_PREVENT_SELECTION_ELEMENT,
|
|
102
|
+
Oe as TABLE_ROW_INDEX_ATTRIBUTE,
|
|
103
|
+
ge as TableKeyboardNavigationProvider,
|
|
104
|
+
se as TableSelection,
|
|
105
|
+
Wt as TextFilter,
|
|
106
|
+
rt as addHeaders,
|
|
107
|
+
b as booleanFilterValues,
|
|
103
108
|
C as cellBoolDropdownChange,
|
|
104
|
-
|
|
105
|
-
|
|
109
|
+
I as cellInputChange,
|
|
110
|
+
B as cellOperatorChange,
|
|
106
111
|
Ce as closestTagName,
|
|
107
112
|
f as combineFilters,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
+
S as defaultBooleanOperator,
|
|
114
|
+
R as defaultHideSecondFilter,
|
|
115
|
+
ze as detailExpandReducer,
|
|
116
|
+
he as editReducer,
|
|
117
|
+
A as filterBy,
|
|
113
118
|
c as filterLogicList,
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
119
|
+
Ze as findGroupExpand,
|
|
120
|
+
Ie as findNearestSiblingWithAttribute,
|
|
121
|
+
je as flatToTree,
|
|
122
|
+
ot as getClipboardData,
|
|
123
|
+
at as getClipboardItemsToPaste,
|
|
124
|
+
pt as getClipboardText,
|
|
125
|
+
Be as getColumnIndex,
|
|
126
|
+
P as getDefaultOperator,
|
|
127
|
+
Ge as getDetailExpandableOptions,
|
|
128
|
+
ve as getEditableOptions,
|
|
129
|
+
F as getFilterType,
|
|
130
|
+
ke as getGroupExpandableOptions,
|
|
131
|
+
s as getGroupIds,
|
|
132
|
+
jt as getIndex,
|
|
133
|
+
it as getItemsToPaste,
|
|
134
|
+
lt as getItemsToUpdateOnPaste,
|
|
135
|
+
Se as getOffset,
|
|
136
|
+
mt as getPastedItems,
|
|
137
|
+
nt as getPreviouslyCopiedItemsData,
|
|
138
|
+
Re as getRowIndex,
|
|
139
|
+
g as getSearchFromString,
|
|
140
|
+
dt as getSelectedItems,
|
|
141
|
+
ce as getSelectedState,
|
|
142
|
+
Pe as getSelectedStateFromKeyDown,
|
|
129
143
|
Fe as getSelectionOptions,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
144
|
+
E as getStringFromSearch,
|
|
145
|
+
qe as groupExpandReducer,
|
|
146
|
+
Je as isExpanded,
|
|
133
147
|
Ke as isInNonSelectable,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
148
|
+
kt as isRtl,
|
|
149
|
+
xt as itemToString,
|
|
150
|
+
qt as mapColumns,
|
|
151
|
+
Jt as nextColumn,
|
|
137
152
|
k as normalize,
|
|
138
|
-
|
|
153
|
+
K as operatorMap,
|
|
139
154
|
L as operators,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
155
|
+
_ as orderBy,
|
|
156
|
+
ft as populateClipboardData,
|
|
157
|
+
Qt as readColumns,
|
|
158
|
+
Le as relativeContextElement,
|
|
143
159
|
D as setExpandedState,
|
|
144
160
|
u as setGroupIds,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
161
|
+
ye as setSelectedState,
|
|
162
|
+
Xt as stringOperator,
|
|
163
|
+
rr as tableColumnsVirtualization,
|
|
164
|
+
me as tableKeyboardNavigationBodyAttributes,
|
|
165
|
+
ne as tableKeyboardNavigationBottomPinnedAttributes,
|
|
166
|
+
de as tableKeyboardNavigationHeaderAttributes,
|
|
167
|
+
xe as tableKeyboardNavigationScopeAttributes,
|
|
168
|
+
_e as tableKeyboardNavigationTools,
|
|
153
169
|
fe as tableKeyboardNavigationTopPinnedAttributes,
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
170
|
+
zt as unaryOperator,
|
|
171
|
+
$t as updateLeft,
|
|
172
|
+
er as updateRight
|
|
157
173
|
};
|
package/package-metadata.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 e={name:"@progress/kendo-vue-data-tools",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-data-tools",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1776959973,version:"8.3.0-develop.3",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"};exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -10,8 +10,8 @@ const e = {
|
|
|
10
10
|
productName: "Kendo UI for Vue",
|
|
11
11
|
productCode: "KENDOUIVUE",
|
|
12
12
|
productCodes: ["KENDOUIVUE"],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: "8.3.0-develop.
|
|
13
|
+
publishDate: 1776959973,
|
|
14
|
+
version: "8.3.0-develop.3",
|
|
15
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
16
16
|
};
|
|
17
17
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-data-tools",
|
|
3
|
-
"version": "8.3.0-develop.
|
|
3
|
+
"version": "8.3.0-develop.3",
|
|
4
4
|
"description": "TODO",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@progress/kendo-data-query": "^1.7.0",
|
|
28
28
|
"@progress/kendo-licensing": "^1.7.2",
|
|
29
|
-
"@progress/kendo-vue-animation": "8.3.0-develop.
|
|
30
|
-
"@progress/kendo-vue-buttons": "8.3.0-develop.
|
|
31
|
-
"@progress/kendo-vue-common": "8.3.0-develop.
|
|
32
|
-
"@progress/kendo-vue-dateinputs": "8.3.0-develop.
|
|
33
|
-
"@progress/kendo-vue-dropdowns": "8.3.0-develop.
|
|
34
|
-
"@progress/kendo-vue-inputs": "8.3.0-develop.
|
|
35
|
-
"@progress/kendo-vue-intl": "8.3.0-develop.
|
|
36
|
-
"@progress/kendo-vue-popup": "8.3.0-develop.
|
|
29
|
+
"@progress/kendo-vue-animation": "8.3.0-develop.3",
|
|
30
|
+
"@progress/kendo-vue-buttons": "8.3.0-develop.3",
|
|
31
|
+
"@progress/kendo-vue-common": "8.3.0-develop.3",
|
|
32
|
+
"@progress/kendo-vue-dateinputs": "8.3.0-develop.3",
|
|
33
|
+
"@progress/kendo-vue-dropdowns": "8.3.0-develop.3",
|
|
34
|
+
"@progress/kendo-vue-inputs": "8.3.0-develop.3",
|
|
35
|
+
"@progress/kendo-vue-intl": "8.3.0-develop.3",
|
|
36
|
+
"@progress/kendo-vue-popup": "8.3.0-develop.3",
|
|
37
37
|
"@progress/kendo-svg-icons": "^4.4.0",
|
|
38
38
|
"vue": "^3.0.2"
|
|
39
39
|
},
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"package": {
|
|
55
55
|
"productName": "Kendo UI for Vue",
|
|
56
56
|
"productCode": "KENDOUIVUE",
|
|
57
|
-
"publishDate":
|
|
57
|
+
"publishDate": 1776959973,
|
|
58
58
|
"licensingDocsUrl": "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
59
59
|
}
|
|
60
60
|
},
|
|
@@ -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
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("vue"),z=require("@progress/kendo-vue-common"),t=require("./utils.js"),a=require("./constants.js"),G=i.defineComponent({name:"TableSelection",props:{selectable:Object},emits:{release:K=>!0},setup(K,{emit:S,slots:s}){const{enabled:O,drag:q,mode:Y,cell:w}=t.getSelectionOptions(K.selectable),U=i.ref(null),v=i.ref(null),T=i.ref({clientX:0,clientY:0,scrollX:0,scrollY:0,pressedElement:null}),E=i.ref(null),B=i.ref(void 0),I=i.ref(!1),x=i.ref(!1),W=(e,n)=>{if(x.value=t.isInNonSelectable(e.originalEvent.target),x.value||!n)return;B.value=t.relativeContextElement(n);const l=n==null?void 0:n.ownerDocument;if(!l)return;e.originalEvent.stopImmediatePropagation();const r=l.elementFromPoint(e.clientX,e.clientY);T.value={clientY:e.clientY,clientX:e.clientX,scrollX:e.scrollX,scrollY:e.scrollY,pressedElement:r}},$=(e,n)=>{const{clientX:l,clientY:r}=T.value;if(!x.value&&!(!q||Y==="single")&&((Math.abs(r-e.clientY)>5||Math.abs(l-e.clientX)>5)&&(I.value=!0),e.originalEvent.stopImmediatePropagation(),I.value)){const y=t.getOffset(B.value);E.value={top:`${Math.min(r,e.clientY)-y.top}px`,left:`${Math.min(l,e.clientX)-y.left}px`,width:`${Math.abs(e.clientX-l)}px`,height:`${Math.abs(e.clientY-r)}px`}}},F=(e,n)=>{const{clientX:l,clientY:r,scrollX:y,scrollY:k,pressedElement:H}=T.value;if(x.value||!n)return;const R=n==null?void 0:n.ownerDocument;if(R){if(e.originalEvent.stopImmediatePropagation(),I.value){const c=e.scrollY-k,b=e.scrollX-y,h=Math.min(r,e.clientY),d=Math.min(l,e.clientX),u=Math.max(r,e.clientY),j=Math.max(l,e.clientX),_=v.value;if(!_)return;_.style.visibility="hidden";const V=R.elementFromPoint(d,h),M=c>0||b>0?H:V,P=R.elementFromPoint(j,u);if(_.style.visibility="",!M||!P)return;const p=t.closestTagName(M,"TD"),A=t.closestTagName(p,"TR"),X=t.closestTagName(P,"TD"),N=t.closestTagName(X,"TR");let f=t.getColumnIndex(p),D=t.getRowIndex(A),m=t.getColumnIndex(X),C=t.getRowIndex(N);if(D===void 0&&A){const o=t.findNearestSiblingWithAttribute(A,a.TABLE_ROW_INDEX_ATTRIBUTE,"next");if(o){D=t.getRowIndex(o);const g=o.querySelector(`[${a.TABLE_COL_INDEX_ATTRIBUTE}]`);g&&(f=t.getColumnIndex(g))}}if(C===void 0&&N){const o=t.findNearestSiblingWithAttribute(N,a.TABLE_ROW_INDEX_ATTRIBUTE,"prev");if(o){C=t.getRowIndex(o);const g=o.querySelectorAll(`[${a.TABLE_COL_INDEX_ATTRIBUTE}]`),L=g[g.length-1];L&&(m=t.getColumnIndex(L))}}if(f===void 0&&p){const o=t.findNearestSiblingWithAttribute(p,a.TABLE_COL_INDEX_ATTRIBUTE,"next");o&&(f=t.getColumnIndex(o))}if(m===void 0&&X){const o=t.findNearestSiblingWithAttribute(X,a.TABLE_COL_INDEX_ATTRIBUTE,"prev");o&&(m=t.getColumnIndex(o))}f!==void 0&&D!==void 0&&m!==void 0&&C!==void 0&&S("release",{event:e.originalEvent,startRowIndex:D,startColIndex:f,endRowIndex:C,endColIndex:m,altKey:e.altKey,shiftKey:e.shiftKey,ctrlKey:e.ctrlKey,metaKey:e.metaKey,mode:Y,cell:w,isDrag:!0})}else{const c=R.elementFromPoint(l,r);if(!c)return;const b=t.closestTagName(c,"TD"),h=t.closestTagName(c,"TR"),d=t.getColumnIndex(b),u=t.getRowIndex(h);b&&h&&u!==void 0&&d!==void 0&&S("release",{event:e.originalEvent,startRowIndex:u,startColIndex:d,endRowIndex:u,endColIndex:d,altKey:e.altKey,shiftKey:e.shiftKey,ctrlKey:e.ctrlKey,metaKey:e.metaKey,mode:Y,cell:w,isDrag:!1})}E.value=null,I.value=!1,T.value={clientX:0,clientY:0,scrollX:0,scrollY:0,pressedElement:null}}};return()=>{var l,r;if(!O)return(l=s.default)==null?void 0:l.call(s);const e=(r=s.default)==null?void 0:r.call(s),n=E.value?i.h(i.Teleport,{to:"body"},i.h("div",{ref:v,style:{...E.value,position:"fixed"},class:"k-marquee k-marquee-color"})):null;return[i.h(z.Draggable,{ref:U,onPress:W,onDrag:$,onRelease:F},()=>e),n]}}});exports.TableSelection=G;
|