@slickgrid-universal/vanilla-bundle 0.19.2 → 1.2.1
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 +67 -3
- package/LICENSE +1 -1
- package/README.md +30 -30
- package/dist/commonjs/components/slick-vanilla-grid-bundle.d.ts +151 -43
- package/dist/commonjs/components/slick-vanilla-grid-bundle.js +27 -63
- package/dist/commonjs/components/slick-vanilla-grid-bundle.js.map +1 -1
- package/dist/commonjs/index.d.ts +16 -26
- package/dist/commonjs/index.js +1 -3
- package/dist/commonjs/index.js.map +1 -1
- package/dist/esm/components/slick-vanilla-grid-bundle.d.ts +151 -44
- package/dist/esm/components/slick-vanilla-grid-bundle.js +30 -68
- package/dist/esm/components/slick-vanilla-grid-bundle.js.map +1 -1
- package/dist/esm/index.d.ts +16 -27
- package/dist/esm/index.js +1 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interfaces/index.d.ts +0 -1
- package/dist/esm/interfaces/slickerGridInstance.interface.d.ts +0 -1
- package/dist/esm/services/index.d.ts +0 -1
- package/dist/esm/services/universalContainer.service.d.ts +0 -1
- package/package.json +10 -25
- package/dist/bundle/index.d.ts +0 -451
- package/dist/bundle/slickgrid-vanilla-bundle.js +0 -3
- package/dist/bundle/slickgrid-vanilla-bundle.js.LICENSE.txt +0 -189
- package/dist/bundle/slickgrid-vanilla-bundle.js.map +0 -1
- package/dist/commonjs/salesforce-global-grid-options.d.ts +0 -3
- package/dist/commonjs/salesforce-global-grid-options.js +0 -82
- package/dist/commonjs/salesforce-global-grid-options.js.map +0 -1
- package/dist/esm/components/slick-vanilla-grid-bundle.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/interfaces/index.d.ts.map +0 -1
- package/dist/esm/interfaces/slickerGridInstance.interface.d.ts.map +0 -1
- package/dist/esm/salesforce-global-grid-options.d.ts +0 -4
- package/dist/esm/salesforce-global-grid-options.d.ts.map +0 -1
- package/dist/esm/salesforce-global-grid-options.js +0 -79
- package/dist/esm/salesforce-global-grid-options.js.map +0 -1
- package/dist/esm/services/index.d.ts.map +0 -1
- package/dist/esm/services/universalContainer.service.d.ts.map +0 -1
package/dist/bundle/index.d.ts
DELETED
|
@@ -1,451 +0,0 @@
|
|
|
1
|
-
// Generated by dts-bundle v0.7.3
|
|
2
|
-
// Dependencies for this module:
|
|
3
|
-
// ../../@slickgrid-universal/common
|
|
4
|
-
// ../../@slickgrid-universal/binding
|
|
5
|
-
// ../../@slickgrid-universal/event-pub-sub
|
|
6
|
-
// ../../@slickgrid-universal/composite-editor-component
|
|
7
|
-
// ../../@slickgrid-universal/empty-warning-component
|
|
8
|
-
// ../../@slickgrid-universal/pagination-component
|
|
9
|
-
// ../../@slickgrid-universal/custom-footer-component
|
|
10
|
-
|
|
11
|
-
declare module 'slicker-bundle' {
|
|
12
|
-
import { Aggregators, Editors, Enums, Filters, Formatters, GroupTotalFormatters, SortComparers, Utilities } from '@slickgrid-universal/common';
|
|
13
|
-
import { BindingService } from '@slickgrid-universal/binding';
|
|
14
|
-
import { EventPubSubService } from '@slickgrid-universal/event-pub-sub';
|
|
15
|
-
import { SlickCompositeEditorComponent } from '@slickgrid-universal/composite-editor-component';
|
|
16
|
-
import { SlickEmptyWarningComponent } from '@slickgrid-universal/empty-warning-component';
|
|
17
|
-
import { SlickPaginationComponent } from '@slickgrid-universal/pagination-component';
|
|
18
|
-
import { SlickVanillaGridBundle } from 'slicker-bundle/components/slick-vanilla-grid-bundle';
|
|
19
|
-
const Slicker: {
|
|
20
|
-
GridBundle: typeof SlickVanillaGridBundle;
|
|
21
|
-
Aggregators: {
|
|
22
|
-
Avg: typeof import("@slickgrid-universal/common").AvgAggregator;
|
|
23
|
-
Clone: typeof import("@slickgrid-universal/common").CloneAggregator;
|
|
24
|
-
Count: typeof import("@slickgrid-universal/common").CountAggregator;
|
|
25
|
-
Distinct: typeof import("@slickgrid-universal/common").DistinctAggregator;
|
|
26
|
-
Min: typeof import("@slickgrid-universal/common").MinAggregator;
|
|
27
|
-
Max: typeof import("@slickgrid-universal/common").MaxAggregator;
|
|
28
|
-
Sum: typeof import("@slickgrid-universal/common").SumAggregator;
|
|
29
|
-
};
|
|
30
|
-
BindingService: typeof BindingService;
|
|
31
|
-
Editors: {
|
|
32
|
-
autoComplete: typeof import("@slickgrid-universal/common").AutoCompleteEditor;
|
|
33
|
-
checkbox: typeof import("@slickgrid-universal/common").CheckboxEditor;
|
|
34
|
-
date: typeof import("@slickgrid-universal/common").DateEditor;
|
|
35
|
-
dualInput: typeof import("@slickgrid-universal/common").DualInputEditor;
|
|
36
|
-
float: typeof import("@slickgrid-universal/common").FloatEditor;
|
|
37
|
-
integer: typeof import("@slickgrid-universal/common").IntegerEditor;
|
|
38
|
-
longText: typeof import("@slickgrid-universal/common").LongTextEditor;
|
|
39
|
-
multipleSelect: typeof import("@slickgrid-universal/common").MultipleSelectEditor;
|
|
40
|
-
password: typeof import("@slickgrid-universal/common/dist/commonjs/editors/inputPasswordEditor").InputPasswordEditor;
|
|
41
|
-
singleSelect: typeof import("@slickgrid-universal/common").SingleSelectEditor;
|
|
42
|
-
slider: typeof import("@slickgrid-universal/common").SliderEditor;
|
|
43
|
-
text: typeof import("@slickgrid-universal/common").InputEditor;
|
|
44
|
-
};
|
|
45
|
-
Enums: typeof Enums;
|
|
46
|
-
Filters: {
|
|
47
|
-
autoComplete: typeof import("@slickgrid-universal/common").AutoCompleteFilter;
|
|
48
|
-
compoundDate: typeof import("@slickgrid-universal/common").CompoundDateFilter;
|
|
49
|
-
compoundInput: typeof import("@slickgrid-universal/common").CompoundInputFilter;
|
|
50
|
-
compoundInputNumber: typeof import("@slickgrid-universal/common").CompoundInputNumberFilter;
|
|
51
|
-
compoundInputPassword: typeof import("@slickgrid-universal/common").CompoundInputPasswordFilter;
|
|
52
|
-
compoundInputText: typeof import("@slickgrid-universal/common").CompoundInputFilter;
|
|
53
|
-
compoundSlider: typeof import("@slickgrid-universal/common").CompoundSliderFilter;
|
|
54
|
-
dateRange: typeof import("@slickgrid-universal/common").DateRangeFilter;
|
|
55
|
-
input: typeof import("@slickgrid-universal/common").InputFilter;
|
|
56
|
-
inputMask: typeof import("@slickgrid-universal/common").InputMaskFilter;
|
|
57
|
-
inputNumber: typeof import("@slickgrid-universal/common").InputNumberFilter;
|
|
58
|
-
inputPassword: typeof import("@slickgrid-universal/common").InputPasswordFilter;
|
|
59
|
-
inputText: typeof import("@slickgrid-universal/common").InputFilter;
|
|
60
|
-
multipleSelect: typeof import("@slickgrid-universal/common").MultipleSelectFilter;
|
|
61
|
-
select: typeof import("@slickgrid-universal/common").NativeSelectFilter;
|
|
62
|
-
singleSelect: typeof import("@slickgrid-universal/common").SingleSelectFilter;
|
|
63
|
-
slider: typeof import("@slickgrid-universal/common").SliderFilter;
|
|
64
|
-
sliderRange: typeof import("@slickgrid-universal/common").SliderRangeFilter;
|
|
65
|
-
};
|
|
66
|
-
Formatters: {
|
|
67
|
-
alignCenter: import("@slickgrid-universal/common").Formatter<any>;
|
|
68
|
-
alignRight: import("@slickgrid-universal/common").Formatter<any>;
|
|
69
|
-
arrayObjectToCsv: import("@slickgrid-universal/common").Formatter<any>;
|
|
70
|
-
arrayToCsv: import("@slickgrid-universal/common").Formatter<any>;
|
|
71
|
-
bold: import("@slickgrid-universal/common").Formatter<any>;
|
|
72
|
-
bsDropdown: import("@slickgrid-universal/common").Formatter<any>;
|
|
73
|
-
center: import("@slickgrid-universal/common").Formatter<any>;
|
|
74
|
-
checkbox: import("@slickgrid-universal/common").Formatter<any>;
|
|
75
|
-
checkmark: import("@slickgrid-universal/common").Formatter<any>;
|
|
76
|
-
checkmarkMaterial: import("@slickgrid-universal/common").Formatter<any>;
|
|
77
|
-
complex: import("@slickgrid-universal/common").Formatter<any>;
|
|
78
|
-
complexObject: import("@slickgrid-universal/common").Formatter<any>;
|
|
79
|
-
collection: import("@slickgrid-universal/common").Formatter<any>;
|
|
80
|
-
collectionEditor: import("@slickgrid-universal/common").Formatter<any>;
|
|
81
|
-
dateIso: import("@slickgrid-universal/common").Formatter<any>;
|
|
82
|
-
dateTimeIso: import("@slickgrid-universal/common").Formatter<any>;
|
|
83
|
-
dateTimeShortIso: import("@slickgrid-universal/common").Formatter<any>;
|
|
84
|
-
dateTimeIsoAmPm: import("@slickgrid-universal/common").Formatter<any>;
|
|
85
|
-
dateEuro: import("@slickgrid-universal/common").Formatter<any>;
|
|
86
|
-
dateTimeEuro: import("@slickgrid-universal/common").Formatter<any>;
|
|
87
|
-
dateTimeShortEuro: import("@slickgrid-universal/common").Formatter<any>;
|
|
88
|
-
dateTimeEuroAmPm: import("@slickgrid-universal/common").Formatter<any>;
|
|
89
|
-
dateUs: import("@slickgrid-universal/common").Formatter<any>;
|
|
90
|
-
dateTimeUs: import("@slickgrid-universal/common").Formatter<any>;
|
|
91
|
-
dateTimeShortUs: import("@slickgrid-universal/common").Formatter<any>;
|
|
92
|
-
dateTimeUsAmPm: import("@slickgrid-universal/common").Formatter<any>;
|
|
93
|
-
deleteIcon: import("@slickgrid-universal/common").Formatter<any>;
|
|
94
|
-
decimal: import("@slickgrid-universal/common").Formatter<any>;
|
|
95
|
-
dollar: import("@slickgrid-universal/common").Formatter<any>;
|
|
96
|
-
dollarColored: import("@slickgrid-universal/common").Formatter<any>;
|
|
97
|
-
dollarColoredBold: import("@slickgrid-universal/common").Formatter<any>;
|
|
98
|
-
editIcon: import("@slickgrid-universal/common").Formatter<any>;
|
|
99
|
-
fakeHyperlink: import("@slickgrid-universal/common").Formatter<any>;
|
|
100
|
-
hyperlink: import("@slickgrid-universal/common").Formatter<any>;
|
|
101
|
-
icon: import("@slickgrid-universal/common").Formatter<any>;
|
|
102
|
-
infoIcon: import("@slickgrid-universal/common").Formatter<any>;
|
|
103
|
-
italic: import("@slickgrid-universal/common").Formatter<any>;
|
|
104
|
-
lowercase: import("@slickgrid-universal/common").Formatter<any>;
|
|
105
|
-
mask: import("@slickgrid-universal/common").Formatter<any>;
|
|
106
|
-
multiple: import("@slickgrid-universal/common").Formatter<any>;
|
|
107
|
-
percent: import("@slickgrid-universal/common").Formatter<any>;
|
|
108
|
-
percentComplete: import("@slickgrid-universal/common").Formatter<any>;
|
|
109
|
-
percentCompleteBar: import("@slickgrid-universal/common").Formatter<any>;
|
|
110
|
-
percentCompleteBarWithText: import("@slickgrid-universal/common").Formatter<any>;
|
|
111
|
-
percentSymbol: import("@slickgrid-universal/common").Formatter<any>;
|
|
112
|
-
progressBar: import("@slickgrid-universal/common").Formatter<any>;
|
|
113
|
-
translate: import("@slickgrid-universal/common").Formatter<any>;
|
|
114
|
-
translateBoolean: import("@slickgrid-universal/common").Formatter<any>;
|
|
115
|
-
tree: import("@slickgrid-universal/common").Formatter<any>;
|
|
116
|
-
treeExport: import("@slickgrid-universal/common").Formatter<any>;
|
|
117
|
-
uppercase: import("@slickgrid-universal/common").Formatter<any>;
|
|
118
|
-
yesNo: import("@slickgrid-universal/common").Formatter<any>;
|
|
119
|
-
};
|
|
120
|
-
GroupTotalFormatters: {
|
|
121
|
-
avgTotals: import("@slickgrid-universal/common").GroupTotalsFormatter;
|
|
122
|
-
avgTotalsDollar: import("@slickgrid-universal/common").GroupTotalsFormatter;
|
|
123
|
-
avgTotalsPercentage: import("@slickgrid-universal/common").GroupTotalsFormatter;
|
|
124
|
-
maxTotals: import("@slickgrid-universal/common").GroupTotalsFormatter;
|
|
125
|
-
minTotals: import("@slickgrid-universal/common").GroupTotalsFormatter;
|
|
126
|
-
sumTotals: import("@slickgrid-universal/common").GroupTotalsFormatter;
|
|
127
|
-
sumTotalsBold: import("@slickgrid-universal/common").GroupTotalsFormatter;
|
|
128
|
-
sumTotalsColored: import("@slickgrid-universal/common").GroupTotalsFormatter;
|
|
129
|
-
sumTotalsDollar: import("@slickgrid-universal/common").GroupTotalsFormatter;
|
|
130
|
-
sumTotalsDollarBold: import("@slickgrid-universal/common").GroupTotalsFormatter;
|
|
131
|
-
sumTotalsDollarColored: import("@slickgrid-universal/common").GroupTotalsFormatter;
|
|
132
|
-
sumTotalsDollarColoredBold: import("@slickgrid-universal/common").GroupTotalsFormatter;
|
|
133
|
-
};
|
|
134
|
-
SortComparers: {
|
|
135
|
-
date: import("@slickgrid-universal/common").SortComparer;
|
|
136
|
-
dateIso: import("@slickgrid-universal/common").SortComparer;
|
|
137
|
-
dateUtc: import("@slickgrid-universal/common").SortComparer;
|
|
138
|
-
dateTime: import("@slickgrid-universal/common").SortComparer;
|
|
139
|
-
dateTimeIso: import("@slickgrid-universal/common").SortComparer;
|
|
140
|
-
dateTimeIsoAmPm: import("@slickgrid-universal/common").SortComparer;
|
|
141
|
-
dateTimeIsoAM_PM: import("@slickgrid-universal/common").SortComparer;
|
|
142
|
-
dateTimeShortIso: import("@slickgrid-universal/common").SortComparer;
|
|
143
|
-
dateEuro: import("@slickgrid-universal/common").SortComparer;
|
|
144
|
-
dateEuroShort: import("@slickgrid-universal/common").SortComparer;
|
|
145
|
-
dateTimeShortEuro: import("@slickgrid-universal/common").SortComparer;
|
|
146
|
-
dateTimeEuro: import("@slickgrid-universal/common").SortComparer;
|
|
147
|
-
dateTimeEuroAmPm: import("@slickgrid-universal/common").SortComparer;
|
|
148
|
-
dateTimeEuroAM_PM: import("@slickgrid-universal/common").SortComparer;
|
|
149
|
-
dateTimeEuroShort: import("@slickgrid-universal/common").SortComparer;
|
|
150
|
-
dateTimeEuroShortAmPm: import("@slickgrid-universal/common").SortComparer;
|
|
151
|
-
dateTimeEuroShortAM_PM: import("@slickgrid-universal/common").SortComparer;
|
|
152
|
-
dateUs: import("@slickgrid-universal/common").SortComparer;
|
|
153
|
-
dateUsShort: import("@slickgrid-universal/common").SortComparer;
|
|
154
|
-
dateTimeShortUs: import("@slickgrid-universal/common").SortComparer;
|
|
155
|
-
dateTimeUs: import("@slickgrid-universal/common").SortComparer;
|
|
156
|
-
dateTimeUsAmPm: import("@slickgrid-universal/common").SortComparer;
|
|
157
|
-
dateTimeUsAM_PM: import("@slickgrid-universal/common").SortComparer;
|
|
158
|
-
dateTimeUsShort: import("@slickgrid-universal/common").SortComparer;
|
|
159
|
-
dateTimeUsShortAmPm: import("@slickgrid-universal/common").SortComparer;
|
|
160
|
-
dateTimeUsShortAM_PM: import("@slickgrid-universal/common").SortComparer;
|
|
161
|
-
numeric: import("@slickgrid-universal/common").SortComparer;
|
|
162
|
-
objectString: import("@slickgrid-universal/common").SortComparer;
|
|
163
|
-
string: import("@slickgrid-universal/common").SortComparer;
|
|
164
|
-
};
|
|
165
|
-
Utilities: {
|
|
166
|
-
deepAssign: any;
|
|
167
|
-
sortByFieldType(fieldType: "string" | "number" | "boolean" | "object" | "text" | "unknown" | "integer" | "float" | "date" | "dateIso" | "dateUtc" | "dateTime" | "dateTimeIso" | "dateTimeIsoAmPm" | "dateTimeIsoAM_PM" | "dateTimeShortIso" | "dateEuro" | "dateEuroShort" | "dateTimeShortEuro" | "dateTimeEuro" | "dateTimeEuroAmPm" | "dateTimeEuroAM_PM" | "dateTimeEuroShort" | "dateTimeEuroShortAmPm" | "dateTimeEuroShortAM_PM" | "dateUs" | "dateUsShort" | "dateTimeShortUs" | "dateTimeUs" | "dateTimeUsAmPm" | "dateTimeUsAM_PM" | "dateTimeUsShort" | "dateTimeUsShortAmPm" | "dateTimeUsShortAM_PM" | "password" | "readonly", value1: any, value2: any, sortDirection: number, sortColumn?: import("@slickgrid-universal/common").Column<any> | undefined, gridOptions?: import("@slickgrid-universal/common").GridOption | undefined): number;
|
|
168
|
-
addToArrayWhenNotExists<T = any>(inputArray: T[], inputItem: T, itemIdPropName?: string | undefined): void;
|
|
169
|
-
addWhiteSpaces(nbSpaces: number, spaceChar?: string | undefined): string;
|
|
170
|
-
arrayRemoveItemByIndex<T_1>(array: T_1[], index: number): T_1[];
|
|
171
|
-
cancellablePromise<T_2 = any>(inputPromise: Promise<T_2>): import("@slickgrid-universal/common").CancellablePromiseWrapper<T_2>;
|
|
172
|
-
castObservableToPromise<T_3>(rxjs: import("@slickgrid-universal/common").RxJsFacade, input: Promise<T_3> | import("@slickgrid-universal/common").Observable<T_3> | import("@slickgrid-universal/common").Subject<T_3>, fromServiceName?: string | undefined): Promise<T_3>;
|
|
173
|
-
addTreeLevelByMutation<T_4>(treeArray: T_4[], options: {
|
|
174
|
-
childrenPropName: string;
|
|
175
|
-
levelPropName: string;
|
|
176
|
-
}, treeLevel?: number | undefined): void;
|
|
177
|
-
flattenToParentChildArray<T_5>(treeArray: T_5[], options?: {
|
|
178
|
-
parentPropName?: string | undefined;
|
|
179
|
-
childrenPropName?: string | undefined;
|
|
180
|
-
hasChildrenPropName?: string | undefined;
|
|
181
|
-
identifierPropName?: string | undefined;
|
|
182
|
-
shouldAddTreeLevelNumber?: boolean | undefined;
|
|
183
|
-
levelPropName?: string | undefined;
|
|
184
|
-
} | undefined): Omit<T_5, number | typeof Symbol.iterator | "link" | "small" | "sub" | "sup" | "charAt" | "charCodeAt" | "concat" | "indexOf" | "lastIndexOf" | "localeCompare" | "match" | "replace" | "search" | "slice" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "length" | "substr" | "codePointAt" | "includes" | "endsWith" | "normalize" | "repeat" | "startsWith" | "anchor" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "strike" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "at" | "toString" | "valueOf" | "toLocaleString">[];
|
|
185
|
-
unflattenParentChildArrayToTree<P, T_6 extends P & {
|
|
186
|
-
[childrenPropName: string]: P[];
|
|
187
|
-
}>(flatArray: P[], options?: {
|
|
188
|
-
childrenPropName?: string | undefined;
|
|
189
|
-
collapsedPropName?: string | undefined;
|
|
190
|
-
identifierPropName?: string | undefined;
|
|
191
|
-
levelPropName?: string | undefined;
|
|
192
|
-
parentPropName?: string | undefined;
|
|
193
|
-
initiallyCollapsed?: boolean | undefined;
|
|
194
|
-
} | undefined): T_6[];
|
|
195
|
-
deepCopy(objectOrArray: any): any;
|
|
196
|
-
emptyElement<T_7 extends Element = Element>(element?: T_7 | null | undefined): T_7 | null | undefined;
|
|
197
|
-
emptyObject(obj: any): any;
|
|
198
|
-
findItemInHierarchicalStructure<T_8 = any>(treeArray: T_8[], predicate: (item: T_8) => boolean, childrenPropertyName: string): T_8 | undefined;
|
|
199
|
-
findItemInTreeStructure<T_9 = any>(treeArray: T_9[], predicate: (item: T_9) => boolean, childrenPropertyName: string): T_9 | undefined;
|
|
200
|
-
hasData(value: any): boolean;
|
|
201
|
-
htmlEncode(inputValue: string): string;
|
|
202
|
-
htmlEntityDecode(input: string): string;
|
|
203
|
-
htmlEncodedStringWithPadding(inputStr: string, paddingLength: number): string;
|
|
204
|
-
isNumber(value: any, strict?: boolean | undefined): boolean;
|
|
205
|
-
isObjectEmpty(obj: unknown): unknown;
|
|
206
|
-
decimalFormatted(input: string | number, minDecimal?: number | undefined, maxDecimal?: number | undefined, decimalSeparator?: "," | "." | undefined, thousandSeparator?: "" | "," | "_" | "." | " " | undefined): string;
|
|
207
|
-
destroyObjectDomElementProps(obj: any): void;
|
|
208
|
-
formatNumber(input: string | number, minDecimal?: number | undefined, maxDecimal?: number | undefined, displayNegativeNumberWithParentheses?: boolean | undefined, symbolPrefix?: string | undefined, symbolSuffix?: string | undefined, decimalSeparator?: "," | "." | undefined, thousandSeparator?: "" | "," | "_" | "." | " " | undefined): string;
|
|
209
|
-
getDescendantProperty<T_10 = any>(object: T_10, path: string | undefined): any;
|
|
210
|
-
getTranslationPrefix(gridOptions?: import("@slickgrid-universal/common").GridOption | undefined): string;
|
|
211
|
-
mapMomentDateFormatWithFieldType(fieldType: "string" | "number" | "boolean" | "object" | "text" | "unknown" | "integer" | "float" | "date" | "dateIso" | "dateUtc" | "dateTime" | "dateTimeIso" | "dateTimeIsoAmPm" | "dateTimeIsoAM_PM" | "dateTimeShortIso" | "dateEuro" | "dateEuroShort" | "dateTimeShortEuro" | "dateTimeEuro" | "dateTimeEuroAmPm" | "dateTimeEuroAM_PM" | "dateTimeEuroShort" | "dateTimeEuroShortAmPm" | "dateTimeEuroShortAM_PM" | "dateUs" | "dateUsShort" | "dateTimeShortUs" | "dateTimeUs" | "dateTimeUsAmPm" | "dateTimeUsAM_PM" | "dateTimeUsShort" | "dateTimeUsShortAmPm" | "dateTimeUsShortAM_PM" | "password" | "readonly"): string;
|
|
212
|
-
mapFlatpickrDateFormatWithFieldType(fieldType: "string" | "number" | "boolean" | "object" | "text" | "unknown" | "integer" | "float" | "date" | "dateIso" | "dateUtc" | "dateTime" | "dateTimeIso" | "dateTimeIsoAmPm" | "dateTimeIsoAM_PM" | "dateTimeShortIso" | "dateEuro" | "dateEuroShort" | "dateTimeShortEuro" | "dateTimeEuro" | "dateTimeEuroAmPm" | "dateTimeEuroAM_PM" | "dateTimeEuroShort" | "dateTimeEuroShortAmPm" | "dateTimeEuroShortAM_PM" | "dateUs" | "dateUsShort" | "dateTimeShortUs" | "dateTimeUs" | "dateTimeUsAmPm" | "dateTimeUsAM_PM" | "dateTimeUsShort" | "dateTimeUsShortAmPm" | "dateTimeUsShortAM_PM" | "password" | "readonly"): string;
|
|
213
|
-
mapOperatorType(operator: Enums.OperatorString | Enums.OperatorType): Enums.OperatorType;
|
|
214
|
-
mapOperatorToShorthandDesignation(operator: Enums.OperatorString | Enums.OperatorType): Enums.OperatorString;
|
|
215
|
-
mapOperatorByFieldType(fieldType: "string" | "number" | "boolean" | "object" | "text" | "unknown" | "integer" | "float" | "date" | "dateIso" | "dateUtc" | "dateTime" | "dateTimeIso" | "dateTimeIsoAmPm" | "dateTimeIsoAM_PM" | "dateTimeShortIso" | "dateEuro" | "dateEuroShort" | "dateTimeShortEuro" | "dateTimeEuro" | "dateTimeEuroAmPm" | "dateTimeEuroAM_PM" | "dateTimeEuroShort" | "dateTimeEuroShortAmPm" | "dateTimeEuroShortAM_PM" | "dateUs" | "dateUsShort" | "dateTimeShortUs" | "dateTimeUs" | "dateTimeUsAmPm" | "dateTimeUsAM_PM" | "dateTimeUsShort" | "dateTimeUsShortAmPm" | "dateTimeUsShortAM_PM" | "password" | "readonly"): Enums.OperatorType;
|
|
216
|
-
objectWithoutKey<T_11 = any>(obj: T_11, omitKey: keyof T_11): T_11;
|
|
217
|
-
parseBoolean(input: any): boolean;
|
|
218
|
-
parseUtcDate(inputDateString: any, useUtc?: boolean | undefined): string;
|
|
219
|
-
removeAccentFromText(text: string, shouldLowerCase?: boolean | undefined): string;
|
|
220
|
-
sanitizeHtmlToText(htmlString: string): string;
|
|
221
|
-
sanitizeTextByAvailableSanitizer(gridOptions: import("@slickgrid-universal/common").GridOption, dirtyHtml: string, domPurifyOptions?: import("dompurify").Config | undefined): string;
|
|
222
|
-
setDeepValue<T_12 = any>(obj: T_12, path: string | string[], value: any): void;
|
|
223
|
-
thousandSeparatorFormatted(inputValue: string | number | null, separator?: "" | "," | "_" | "." | " " | undefined): string | null;
|
|
224
|
-
titleCase(inputStr: string, caseEveryWords?: boolean | undefined): string;
|
|
225
|
-
toCamelCase(inputStr: string): string;
|
|
226
|
-
toKebabCase(inputStr: string): string;
|
|
227
|
-
toSentenceCase(inputStr: string): string;
|
|
228
|
-
findOrDefault<T_13 = any>(array: T_13[], logic: (item: T_13) => boolean, defaultVal?: {} | undefined): any;
|
|
229
|
-
getHtmlElementOffset(element: HTMLElement): {
|
|
230
|
-
top: number;
|
|
231
|
-
left: number;
|
|
232
|
-
};
|
|
233
|
-
toSnakeCase(inputStr: string): string;
|
|
234
|
-
unsubscribeAll(subscriptions: (import("@slickgrid-universal/common").Subscription | import("@slickgrid-universal/common").EventSubscription)[]): (import("@slickgrid-universal/common").Subscription | import("@slickgrid-universal/common").EventSubscription)[];
|
|
235
|
-
uniqueArray<T_14 = any>(arr: T_14[]): T_14[];
|
|
236
|
-
uniqueObjectArray(arr: any[], propertyName?: string | undefined): any[];
|
|
237
|
-
CancelledException: typeof import("@slickgrid-universal/common").CancelledException;
|
|
238
|
-
collectionObserver(inputArray: any[], callback: (outputArray: any[], newValues: any[]) => void): void;
|
|
239
|
-
propertyObserver(obj: any, prop: string, callback: (newValue: any) => void): void;
|
|
240
|
-
BackendUtilityService: typeof import("@slickgrid-universal/common").BackendUtilityService;
|
|
241
|
-
};
|
|
242
|
-
};
|
|
243
|
-
export { BindingService };
|
|
244
|
-
export { Aggregators, Editors, Enums, EventPubSubService, Filters, Formatters, GroupTotalFormatters, SortComparers, Utilities };
|
|
245
|
-
export { SlickCompositeEditorComponent, SlickEmptyWarningComponent, SlickPaginationComponent, SlickVanillaGridBundle };
|
|
246
|
-
export { Slicker };
|
|
247
|
-
export * from 'slicker-bundle/interfaces/index';
|
|
248
|
-
export * from 'slicker-bundle/services/index';
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
declare module 'slicker-bundle/components/slick-vanilla-grid-bundle' {
|
|
252
|
-
import 'jquery';
|
|
253
|
-
import 'jquery-ui/ui/widgets/draggable';
|
|
254
|
-
import 'jquery-ui/ui/widgets/droppable';
|
|
255
|
-
import 'jquery-ui/ui/widgets/sortable';
|
|
256
|
-
import 'flatpickr/dist/l10n/fr';
|
|
257
|
-
import 'slickgrid/lib/jquery.event.drag-2.3.0';
|
|
258
|
-
import 'slickgrid/lib/jquery.mousewheel';
|
|
259
|
-
import 'slickgrid/slick.core';
|
|
260
|
-
import 'slickgrid/slick.grid';
|
|
261
|
-
import 'slickgrid/slick.dataview';
|
|
262
|
-
import 'slickgrid/slick.groupitemmetadataprovider';
|
|
263
|
-
import { BackendServiceApi, Column, ExtensionList, GridOption, Metrics, Pagination, ServicePagination, SlickDataView, SlickEventHandler, SlickGrid, SlickGroupItemMetadataProvider, Subscription, ExtensionUtility, BackendUtilityService, CollectionService, ExtensionService, FilterFactory, FilterService, GridEventService, GridService, GridStateService, GroupingAndColspanService, PaginationService, ResizerService, RxJsFacade, SharedService, SortService, TranslaterService, TreeDataService } from '@slickgrid-universal/common';
|
|
264
|
-
import { EventPubSubService } from '@slickgrid-universal/event-pub-sub';
|
|
265
|
-
import { SlickCompositeEditorComponent } from '@slickgrid-universal/composite-editor-component';
|
|
266
|
-
import { SlickEmptyWarningComponent } from '@slickgrid-universal/empty-warning-component';
|
|
267
|
-
import { SlickFooterComponent } from '@slickgrid-universal/custom-footer-component';
|
|
268
|
-
import { SlickPaginationComponent } from '@slickgrid-universal/pagination-component';
|
|
269
|
-
import { SlickerGridInstance } from 'slicker-bundle/interfaces/slickerGridInstance.interface';
|
|
270
|
-
import { UniversalContainerService } from 'slicker-bundle/services/universalContainer.service';
|
|
271
|
-
export class SlickVanillaGridBundle {
|
|
272
|
-
backendServiceApi: BackendServiceApi | undefined;
|
|
273
|
-
dataView?: SlickDataView;
|
|
274
|
-
slickGrid?: SlickGrid;
|
|
275
|
-
metrics?: Metrics;
|
|
276
|
-
customDataView: boolean;
|
|
277
|
-
paginationData?: {
|
|
278
|
-
gridOptions: GridOption;
|
|
279
|
-
paginationService: PaginationService;
|
|
280
|
-
};
|
|
281
|
-
totalItems: number;
|
|
282
|
-
groupItemMetadataProvider?: SlickGroupItemMetadataProvider;
|
|
283
|
-
resizerService: ResizerService;
|
|
284
|
-
subscriptions: Subscription[];
|
|
285
|
-
showPagination: boolean;
|
|
286
|
-
extensionUtility: ExtensionUtility;
|
|
287
|
-
backendUtilityService: BackendUtilityService;
|
|
288
|
-
collectionService: CollectionService;
|
|
289
|
-
extensionService: ExtensionService;
|
|
290
|
-
filterFactory: FilterFactory;
|
|
291
|
-
filterService: FilterService;
|
|
292
|
-
gridEventService: GridEventService;
|
|
293
|
-
gridService: GridService;
|
|
294
|
-
gridStateService: GridStateService;
|
|
295
|
-
groupingService: GroupingAndColspanService;
|
|
296
|
-
paginationService: PaginationService;
|
|
297
|
-
rxjs?: RxJsFacade;
|
|
298
|
-
sharedService: SharedService;
|
|
299
|
-
sortService: SortService;
|
|
300
|
-
translaterService: TranslaterService | undefined;
|
|
301
|
-
treeDataService: TreeDataService;
|
|
302
|
-
universalContainerService: UniversalContainerService;
|
|
303
|
-
slickCompositeEditor: SlickCompositeEditorComponent | undefined;
|
|
304
|
-
slickEmptyWarning: SlickEmptyWarningComponent | undefined;
|
|
305
|
-
slickFooter: SlickFooterComponent | undefined;
|
|
306
|
-
slickPagination: SlickPaginationComponent | undefined;
|
|
307
|
-
gridClass: string;
|
|
308
|
-
gridClassName: string;
|
|
309
|
-
get eventHandler(): SlickEventHandler;
|
|
310
|
-
get columnDefinitions(): Column[];
|
|
311
|
-
set columnDefinitions(columnDefinitions: Column[]);
|
|
312
|
-
get dataset(): any[];
|
|
313
|
-
set dataset(newDataset: any[]);
|
|
314
|
-
get datasetHierarchical(): any[] | undefined;
|
|
315
|
-
set datasetHierarchical(newHierarchicalDataset: any[] | undefined);
|
|
316
|
-
get gridOptions(): GridOption;
|
|
317
|
-
set gridOptions(options: GridOption);
|
|
318
|
-
get paginationOptions(): Pagination | undefined;
|
|
319
|
-
set paginationOptions(newPaginationOptions: Pagination | undefined);
|
|
320
|
-
get isDatasetInitialized(): boolean;
|
|
321
|
-
set isDatasetInitialized(isInitialized: boolean);
|
|
322
|
-
get isGridInitialized(): boolean;
|
|
323
|
-
get instances(): SlickerGridInstance | undefined;
|
|
324
|
-
get extensions(): ExtensionList<any, any> | undefined;
|
|
325
|
-
get registeredResources(): any[];
|
|
326
|
-
/**
|
|
327
|
-
* Slicker Grid Bundle constructor
|
|
328
|
-
* @param {Object} gridParentContainerElm - div HTML DOM element container
|
|
329
|
-
* @param {Array<Column>} columnDefs - Column Definitions
|
|
330
|
-
* @param {Object} options - Grid Options
|
|
331
|
-
* @param {Array<Object>} dataset - Dataset
|
|
332
|
-
* @param {Array<Object>} hierarchicalDataset - Hierarchical Dataset
|
|
333
|
-
* @param {Object} services - Typically only used for Unit Testing when we want to pass Mocked/Stub Services
|
|
334
|
-
*/
|
|
335
|
-
constructor(gridParentContainerElm: HTMLElement, columnDefs?: Column[], options?: GridOption, dataset?: any[], hierarchicalDataset?: any[], services?: {
|
|
336
|
-
backendUtilityService?: BackendUtilityService;
|
|
337
|
-
collectionService?: CollectionService;
|
|
338
|
-
eventPubSubService?: EventPubSubService;
|
|
339
|
-
extensionService?: ExtensionService;
|
|
340
|
-
extensionUtility?: ExtensionUtility;
|
|
341
|
-
filterService?: FilterService;
|
|
342
|
-
gridEventService?: GridEventService;
|
|
343
|
-
gridService?: GridService;
|
|
344
|
-
gridStateService?: GridStateService;
|
|
345
|
-
groupingAndColspanService?: GroupingAndColspanService;
|
|
346
|
-
paginationService?: PaginationService;
|
|
347
|
-
resizerService?: ResizerService;
|
|
348
|
-
rxjs?: RxJsFacade;
|
|
349
|
-
sharedService?: SharedService;
|
|
350
|
-
sortService?: SortService;
|
|
351
|
-
treeDataService?: TreeDataService;
|
|
352
|
-
translaterService?: TranslaterService;
|
|
353
|
-
universalContainerService?: UniversalContainerService;
|
|
354
|
-
});
|
|
355
|
-
emptyGridContainerElm(): void;
|
|
356
|
-
/** Dispose of the Component */
|
|
357
|
-
dispose(shouldEmptyDomElementContainer?: boolean): void;
|
|
358
|
-
initialization(gridContainerElm: HTMLElement, eventHandler: SlickEventHandler): void;
|
|
359
|
-
mergeGridOptions(gridOptions: GridOption): GridOption;
|
|
360
|
-
/**
|
|
361
|
-
* Define our internal Post Process callback, it will execute internally after we get back result from the Process backend call
|
|
362
|
-
* For now, this is GraphQL Service ONLY feature and it will basically
|
|
363
|
-
* refresh the Dataset & Pagination without having the user to create his own PostProcess every time
|
|
364
|
-
*/
|
|
365
|
-
createBackendApiInternalPostProcessCallback(gridOptions: GridOption): void;
|
|
366
|
-
bindDifferentHooks(grid: SlickGrid, gridOptions: GridOption, dataView: SlickDataView): void;
|
|
367
|
-
bindBackendCallbackFunctions(gridOptions: GridOption): void;
|
|
368
|
-
bindResizeHook(grid: SlickGrid, options: GridOption): void;
|
|
369
|
-
executeAfterDataviewCreated(gridOptions: GridOption): void;
|
|
370
|
-
/**
|
|
371
|
-
* On a Pagination changed, we will trigger a Grid State changed with the new pagination info
|
|
372
|
-
* Also if we use Row Selection or the Checkbox Selector, we need to reset any selection
|
|
373
|
-
*/
|
|
374
|
-
paginationChanged(pagination: ServicePagination): void;
|
|
375
|
-
/**
|
|
376
|
-
* When dataset changes, we need to refresh the entire grid UI & possibly resize it as well
|
|
377
|
-
* @param dataset
|
|
378
|
-
*/
|
|
379
|
-
refreshGridData(dataset: any[], totalCount?: number): void;
|
|
380
|
-
/**
|
|
381
|
-
* Dynamically change or update the column definitions list.
|
|
382
|
-
* We will re-render the grid so that the new header and data shows up correctly.
|
|
383
|
-
* If using translater, we also need to trigger a re-translate of the column headers
|
|
384
|
-
*/
|
|
385
|
-
updateColumnDefinitionsList(newColumnDefinitions: Column[]): void;
|
|
386
|
-
/**
|
|
387
|
-
* Show the filter row displayed on first row, we can optionally pass false to hide it.
|
|
388
|
-
* @param showing
|
|
389
|
-
*/
|
|
390
|
-
showHeaderRow(showing?: boolean): boolean;
|
|
391
|
-
/**
|
|
392
|
-
* Check if there's any Pagination Presets defined in the Grid Options,
|
|
393
|
-
* if there are then load them in the paginationOptions object
|
|
394
|
-
*/
|
|
395
|
-
setPaginationOptionsWhenPresetDefined(gridOptions: GridOption, paginationOptions: Pagination): Pagination;
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
declare module 'slicker-bundle/interfaces/index' {
|
|
400
|
-
export * from 'slicker-bundle/interfaces/slickerGridInstance.interface';
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
declare module 'slicker-bundle/services/index' {
|
|
404
|
-
export * from 'slicker-bundle/services/universalContainer.service';
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
declare module 'slicker-bundle/interfaces/slickerGridInstance.interface' {
|
|
408
|
-
import { BackendService, ExtensionService, ExtensionUtility, FilterService, GridEventService, GridService, GridStateService, GroupingAndColspanService, PaginationService, ResizerService, SlickDataView, SlickGrid, SortService, TreeDataService } from '@slickgrid-universal/common';
|
|
409
|
-
export interface SlickerGridInstance {
|
|
410
|
-
/** Slick DataView object */
|
|
411
|
-
dataView: SlickDataView;
|
|
412
|
-
/** Slick Grid object */
|
|
413
|
-
slickGrid: SlickGrid;
|
|
414
|
-
/** Dispose of the grid and optionally empty the DOM element grid container as well */
|
|
415
|
-
dispose: (emptyDomElementContainer?: boolean) => void;
|
|
416
|
-
/** Backend Service, when available */
|
|
417
|
-
backendService?: BackendService;
|
|
418
|
-
/** Extension (Controls & Plugins) Service */
|
|
419
|
-
extensionService: ExtensionService;
|
|
420
|
-
/** Extension Utilities */
|
|
421
|
-
extensionUtility: ExtensionUtility;
|
|
422
|
-
/** Filter Service */
|
|
423
|
-
filterService: FilterService;
|
|
424
|
-
/** Grid Service (grid extra functionalities) */
|
|
425
|
-
gridService: GridService;
|
|
426
|
-
/** Grid Events Service */
|
|
427
|
-
gridEventService: GridEventService;
|
|
428
|
-
/** Grid State Service */
|
|
429
|
-
gridStateService: GridStateService;
|
|
430
|
-
/** Grouping (and colspan) Service */
|
|
431
|
-
groupingService: GroupingAndColspanService;
|
|
432
|
-
/** Pagination Service (allows you to programmatically go to first/last page, etc...) */
|
|
433
|
-
paginationService: PaginationService;
|
|
434
|
-
/** Resizer Service (including auto-resize) */
|
|
435
|
-
resizerService: ResizerService;
|
|
436
|
-
/** Sort Service */
|
|
437
|
-
sortService: SortService;
|
|
438
|
-
/** Tree Data View Service */
|
|
439
|
-
treeDataService: TreeDataService;
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
declare module 'slicker-bundle/services/universalContainer.service' {
|
|
444
|
-
import { ContainerInstance, ContainerService } from '@slickgrid-universal/common';
|
|
445
|
-
export class UniversalContainerService implements ContainerService {
|
|
446
|
-
dependencies: ContainerInstance[];
|
|
447
|
-
get<T = any>(key: string): T | null;
|
|
448
|
-
registerInstance(key: string, instance: any): void;
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
|