@ngx-stoui/core 19.0.2 → 20.0.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/fesm2022/ngx-stoui-core.mjs +95 -93
- package/fesm2022/ngx-stoui-core.mjs.map +1 -1
- package/index.d.ts +362 -11
- package/ngx-datatable.css +2 -2
- package/ngx-stoui.css +1879 -2106
- package/package.json +3 -3
- package/style/datatable/ngx-datatable.scss +2 -2
- package/style/form/sto-form.scss +4 -3
- package/style/theme/_datatable.scss +2 -2
- package/style/theme/_input-overrides.scss +2 -1
- package/lib/abstract-and-interfaces/keyPress.enum.d.ts +0 -138
- package/lib/sto-directives/context-menu.directive.d.ts +0 -11
- package/lib/sto-directives/date-form-field-click.directive.d.ts +0 -20
- package/lib/sto-directives/directives.module.d.ts +0 -12
- package/lib/sto-directives/index.d.ts +0 -6
- package/lib/sto-directives/menu-overlay.directive.d.ts +0 -12
- package/lib/sto-directives/quick-keys.directive.d.ts +0 -42
- package/lib/sto-directives/sto-grid.directive.d.ts +0 -31
- package/lib/sto-directives/sto-select-text-on-focus.directive.d.ts +0 -16
- package/lib/sto-pipes/currency-format.pipe.d.ts +0 -16
- package/lib/sto-pipes/date-format.pipe.d.ts +0 -16
- package/lib/sto-pipes/keys.pipe.d.ts +0 -15
- package/lib/sto-pipes/number-format.pipe.d.ts +0 -20
- package/lib/sto-pipes/sto-pipes.module.d.ts +0 -12
- package/lib/sto-pipes/with-unit.d.ts +0 -12
- package/lib/sto-pipes/yes-no.d.ts +0 -7
package/index.d.ts
CHANGED
|
@@ -1,11 +1,362 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, OnDestroy, QueryList, AfterViewInit, ElementRef, PipeTransform } from '@angular/core';
|
|
3
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
4
|
+
import { MatDatepicker } from '@angular/material/datepicker';
|
|
5
|
+
import { MatInput } from '@angular/material/input';
|
|
6
|
+
import { MatMenuTrigger } from '@angular/material/menu';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
MIT License
|
|
10
|
+
|
|
11
|
+
Copyright (c) 2017 Nathan Friend
|
|
12
|
+
|
|
13
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
14
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
15
|
+
in the Software without restriction, including without limitation the rights
|
|
16
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
17
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
18
|
+
furnished to do so, subject to the following conditions:
|
|
19
|
+
|
|
20
|
+
The above copyright notice and this permission notice shall be included in all
|
|
21
|
+
copies or substantial portions of the Software.
|
|
22
|
+
|
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
24
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
26
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
27
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
29
|
+
SOFTWARE. **/
|
|
30
|
+
declare enum Key {
|
|
31
|
+
Backspace = 8,
|
|
32
|
+
Tab = 9,
|
|
33
|
+
Enter = 13,
|
|
34
|
+
Shift = 16,
|
|
35
|
+
Ctrl = 17,
|
|
36
|
+
Alt = 18,
|
|
37
|
+
PauseBreak = 19,
|
|
38
|
+
CapsLock = 20,
|
|
39
|
+
Escape = 27,
|
|
40
|
+
Space = 32,
|
|
41
|
+
PageUp = 33,
|
|
42
|
+
PageDown = 34,
|
|
43
|
+
End = 35,
|
|
44
|
+
Home = 36,
|
|
45
|
+
LeftArrow = 37,
|
|
46
|
+
UpArrow = 38,
|
|
47
|
+
RightArrow = 39,
|
|
48
|
+
DownArrow = 40,
|
|
49
|
+
Insert = 45,
|
|
50
|
+
Delete = 46,
|
|
51
|
+
Zero = 48,
|
|
52
|
+
ClosedParen = 48,
|
|
53
|
+
One = 49,
|
|
54
|
+
ExclamationMark = 49,
|
|
55
|
+
Two = 50,
|
|
56
|
+
AtSign = 50,
|
|
57
|
+
Three = 51,
|
|
58
|
+
PoundSign = 51,
|
|
59
|
+
Hash = 51,
|
|
60
|
+
Four = 52,
|
|
61
|
+
DollarSign = 52,
|
|
62
|
+
Five = 53,
|
|
63
|
+
PercentSign = 53,
|
|
64
|
+
Six = 54,
|
|
65
|
+
Caret = 54,
|
|
66
|
+
Hat = 54,
|
|
67
|
+
Seven = 55,
|
|
68
|
+
Ampersand = 55,
|
|
69
|
+
Eight = 56,
|
|
70
|
+
Star = 56,
|
|
71
|
+
Asterik = 56,
|
|
72
|
+
Nine = 57,
|
|
73
|
+
OpenParen = 57,
|
|
74
|
+
A = 65,
|
|
75
|
+
B = 66,
|
|
76
|
+
C = 67,
|
|
77
|
+
D = 68,
|
|
78
|
+
E = 69,
|
|
79
|
+
F = 70,
|
|
80
|
+
G = 71,
|
|
81
|
+
H = 72,
|
|
82
|
+
I = 73,
|
|
83
|
+
J = 74,
|
|
84
|
+
K = 75,
|
|
85
|
+
L = 76,
|
|
86
|
+
M = 77,
|
|
87
|
+
N = 78,
|
|
88
|
+
O = 79,
|
|
89
|
+
P = 80,
|
|
90
|
+
Q = 81,
|
|
91
|
+
R = 82,
|
|
92
|
+
S = 83,
|
|
93
|
+
T = 84,
|
|
94
|
+
U = 85,
|
|
95
|
+
V = 86,
|
|
96
|
+
W = 87,
|
|
97
|
+
X = 88,
|
|
98
|
+
Y = 89,
|
|
99
|
+
Z = 90,
|
|
100
|
+
LeftWindowKey = 91,
|
|
101
|
+
RightWindowKey = 92,
|
|
102
|
+
SelectKey = 93,
|
|
103
|
+
Numpad0 = 96,
|
|
104
|
+
Numpad1 = 97,
|
|
105
|
+
Numpad2 = 98,
|
|
106
|
+
Numpad3 = 99,
|
|
107
|
+
Numpad4 = 100,
|
|
108
|
+
Numpad5 = 101,
|
|
109
|
+
Numpad6 = 102,
|
|
110
|
+
Numpad7 = 103,
|
|
111
|
+
Numpad8 = 104,
|
|
112
|
+
Numpad9 = 105,
|
|
113
|
+
Multiply = 106,
|
|
114
|
+
Add = 107,
|
|
115
|
+
Subtract = 109,
|
|
116
|
+
DecimalPoint = 110,
|
|
117
|
+
Divide = 111,
|
|
118
|
+
F1 = 112,
|
|
119
|
+
F2 = 113,
|
|
120
|
+
F3 = 114,
|
|
121
|
+
F4 = 115,
|
|
122
|
+
F5 = 116,
|
|
123
|
+
F6 = 117,
|
|
124
|
+
F7 = 118,
|
|
125
|
+
F8 = 119,
|
|
126
|
+
F9 = 120,
|
|
127
|
+
F10 = 121,
|
|
128
|
+
F11 = 122,
|
|
129
|
+
F12 = 123,
|
|
130
|
+
NumLock = 144,
|
|
131
|
+
ScrollLock = 145,
|
|
132
|
+
SemiColon = 186,
|
|
133
|
+
Equals = 187,
|
|
134
|
+
Comma = 188,
|
|
135
|
+
Dash = 189,
|
|
136
|
+
Period = 190,
|
|
137
|
+
UnderScore = 189,
|
|
138
|
+
PlusSign = 187,
|
|
139
|
+
ForwardSlash = 191,
|
|
140
|
+
Tilde = 192,
|
|
141
|
+
GraveAccent = 192,
|
|
142
|
+
OpenBracket = 219,
|
|
143
|
+
ClosedBracket = 221,
|
|
144
|
+
Quote = 222
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* QuickKeysDirective is used to implement shortcut keys on DOM elements, e.g to submit or reset a form on enter/escape
|
|
149
|
+
* <form quickKeys (quickSubmit)="save()" (quickCancel)="reset()">
|
|
150
|
+
*/
|
|
151
|
+
declare class QuickKeysDirective {
|
|
152
|
+
readonly quickKeys: i0.InputSignal<unknown>;
|
|
153
|
+
/**
|
|
154
|
+
* Optional formGroup input, when used in combination with a reactive form
|
|
155
|
+
*/
|
|
156
|
+
readonly formGroup: i0.InputSignal<UntypedFormGroup | undefined>;
|
|
157
|
+
/**
|
|
158
|
+
* Emits when ctrl + enter is clicked in combination
|
|
159
|
+
* <form (quickSubmit)="save()">
|
|
160
|
+
*/
|
|
161
|
+
readonly quickSubmit: i0.OutputEmitterRef<void>;
|
|
162
|
+
/**
|
|
163
|
+
* Emits when escape is clicked
|
|
164
|
+
* <form (quickCancel)="cancel()">
|
|
165
|
+
*/
|
|
166
|
+
readonly quickCancel: i0.OutputEmitterRef<void>;
|
|
167
|
+
/**
|
|
168
|
+
* Listens on the host element for any keyup events
|
|
169
|
+
* @param e
|
|
170
|
+
*/
|
|
171
|
+
onKeyUp(e: KeyboardEvent): void;
|
|
172
|
+
/**
|
|
173
|
+
* Handler for generic keydowns, such as cancel events to close drawers
|
|
174
|
+
* @param e
|
|
175
|
+
* void
|
|
176
|
+
*/
|
|
177
|
+
private handleGenericKeydown;
|
|
178
|
+
/**
|
|
179
|
+
* Handler for form specific shortcuts, such as saving the form
|
|
180
|
+
* @param e
|
|
181
|
+
*/
|
|
182
|
+
private handleFormKeys;
|
|
183
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QuickKeysDirective, never>;
|
|
184
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<QuickKeysDirective, "[stoQuickKeys]", never, { "quickKeys": { "alias": "quickKeys"; "required": false; "isSignal": true; }; "formGroup": { "alias": "formGroup"; "required": false; "isSignal": true; }; }, { "quickSubmit": "quickSubmit"; "quickCancel": "quickCancel"; }, never, never, true, never>;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Directive that can be placed on mat-form-fields that contains a mat-datepicker.
|
|
189
|
+
* This directive has two tasks:
|
|
190
|
+
* Clicking anywhere on the mat-form-field will open the datepicker dialog
|
|
191
|
+
* When the datepicker is closed in any manner, we shift focus back to the datepicker input
|
|
192
|
+
*/
|
|
193
|
+
declare class DateFormFieldClickDirective implements OnInit, OnDestroy {
|
|
194
|
+
inputs: QueryList<MatInput>;
|
|
195
|
+
readonly stoDateFormFieldClick: i0.InputSignal<MatDatepicker<Date>>;
|
|
196
|
+
private destroy$;
|
|
197
|
+
clickEvent(): void;
|
|
198
|
+
ngOnInit(): void;
|
|
199
|
+
ngOnDestroy(): void;
|
|
200
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormFieldClickDirective, never>;
|
|
201
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateFormFieldClickDirective, "[stoDateFormFieldClick]", never, { "stoDateFormFieldClick": { "alias": "stoDateFormFieldClick"; "required": true; "isSignal": true; }; }, {}, ["inputs"], never, true, never>;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* stoSelectTextOnFocus listens for input focus events, and selects the contents of the input
|
|
206
|
+
* A user service is established in {@link StoUserPreferenceService} that allows a user to toggle this feature
|
|
207
|
+
*/
|
|
208
|
+
declare class StoSelectTextOnFocusDirective {
|
|
209
|
+
private elementRef;
|
|
210
|
+
private _el;
|
|
211
|
+
constructor();
|
|
212
|
+
/**
|
|
213
|
+
* Listens for focus events on the host (input) element, and focuses if applicable
|
|
214
|
+
*/
|
|
215
|
+
onFocus(): void;
|
|
216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoSelectTextOnFocusDirective, never>;
|
|
217
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StoSelectTextOnFocusDirective, "[stoSelectTextOnFocus]", never, {}, {}, never, never, true, never>;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
interface BreakpointConfig {
|
|
221
|
+
2: number;
|
|
222
|
+
4: number;
|
|
223
|
+
}
|
|
224
|
+
declare class StoGridSpacerDirective {
|
|
225
|
+
useClass: boolean;
|
|
226
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoGridSpacerDirective, never>;
|
|
227
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StoGridSpacerDirective, "[stoGridSpacer]", never, {}, {}, never, never, true, never>;
|
|
228
|
+
}
|
|
229
|
+
declare class StoGridColumnDirective {
|
|
230
|
+
useClass: boolean;
|
|
231
|
+
stoGridColumnDouble: boolean;
|
|
232
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoGridColumnDirective, never>;
|
|
233
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StoGridColumnDirective, "[stoGridColumn]", never, { "stoGridColumnDouble": { "alias": "stoGridColumnDouble"; "required": false; }; }, {}, never, never, true, never>;
|
|
234
|
+
}
|
|
235
|
+
declare class StoGridDirective implements AfterViewInit, OnDestroy {
|
|
236
|
+
private elRef;
|
|
237
|
+
maxWidth: number;
|
|
238
|
+
minWidth: number;
|
|
239
|
+
baseClass: boolean;
|
|
240
|
+
columns: QueryList<ElementRef<HTMLElement>>;
|
|
241
|
+
readonly breakpoints: i0.InputSignal<BreakpointConfig | undefined>;
|
|
242
|
+
private observer;
|
|
243
|
+
ngAfterViewInit(): void;
|
|
244
|
+
ngOnDestroy(): void;
|
|
245
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoGridDirective, never>;
|
|
246
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StoGridDirective, "[stoGrid]", ["stoGrid"], { "maxWidth": { "alias": "maxWidth"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "breakpoints": { "alias": "breakpoints"; "required": false; "isSignal": true; }; }, {}, ["columns"], never, true, never>;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
declare class MenuOverlayDirective {
|
|
250
|
+
private trigger;
|
|
251
|
+
left: number;
|
|
252
|
+
top: number;
|
|
253
|
+
private readonly menu;
|
|
254
|
+
constructor();
|
|
255
|
+
updatePosition(event: MouseEvent): void;
|
|
256
|
+
private setStyle;
|
|
257
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuOverlayDirective, never>;
|
|
258
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuOverlayDirective, "[stoMenuOverlay]", ["stoMenuOverlay"], {}, {}, never, never, true, never>;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
declare class ContextMenuDirective {
|
|
262
|
+
readonly menuTrigger: i0.InputSignal<MatMenuTrigger>;
|
|
263
|
+
readonly overlayDirective: i0.InputSignal<MenuOverlayDirective>;
|
|
264
|
+
readonly menuContext: i0.InputSignal<unknown>;
|
|
265
|
+
contextMenu(event: MouseEvent): void;
|
|
266
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuDirective, never>;
|
|
267
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuDirective, "[stoContextMenu]", never, { "menuTrigger": { "alias": "menuTrigger"; "required": true; "isSignal": true; }; "overlayDirective": { "alias": "overlayDirective"; "required": true; "isSignal": true; }; "menuContext": { "alias": "menuContext"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
declare class StoDirectivesModule {
|
|
271
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoDirectivesModule, never>;
|
|
272
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StoDirectivesModule, never, [typeof QuickKeysDirective, typeof DateFormFieldClickDirective, typeof StoSelectTextOnFocusDirective, typeof StoGridDirective, typeof StoGridColumnDirective, typeof StoGridSpacerDirective, typeof MenuOverlayDirective, typeof ContextMenuDirective], [typeof QuickKeysDirective, typeof DateFormFieldClickDirective, typeof StoSelectTextOnFocusDirective, typeof StoGridDirective, typeof StoGridColumnDirective, typeof StoGridSpacerDirective, typeof MenuOverlayDirective, typeof ContextMenuDirective]>;
|
|
273
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StoDirectivesModule>;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Pipe used to transform dates, based on our default formats.
|
|
278
|
+
*
|
|
279
|
+
* @example
|
|
280
|
+
*
|
|
281
|
+
* public date = "2018-08-27 14:00:30"
|
|
282
|
+
* <span>{{ date | dateFormat }}</span> -> Aug 27, 2018
|
|
283
|
+
* <span>{{ date | dateFormat:'long' }}</span> -> Monday Aug 27, 2018
|
|
284
|
+
*/
|
|
285
|
+
declare class DateFormatPipe implements PipeTransform {
|
|
286
|
+
transform(value: string | number | Date | null, format?: string): string | null;
|
|
287
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatPipe, never>;
|
|
288
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateFormatPipe, "formatDate", true>;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Transforms an Object to an Array.
|
|
293
|
+
*
|
|
294
|
+
* @example
|
|
295
|
+
*
|
|
296
|
+
* public obj = {a: 1, b: 2, c: 3};
|
|
297
|
+
* <span *ngFor="let key of obj | keys "> {{ obj[key] }}, </span> -> 1, 2, 3,
|
|
298
|
+
*/
|
|
299
|
+
declare class KeysPipe implements PipeTransform {
|
|
300
|
+
transform(value: Record<string, unknown>): Array<string>;
|
|
301
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KeysPipe, never>;
|
|
302
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KeysPipe, "keys", true>;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Formats numbers to use our standard formatting (d ddd,ddd)
|
|
307
|
+
*
|
|
308
|
+
* @example
|
|
309
|
+
*
|
|
310
|
+
* {{ 1234,32 | numberFormat }} -> 1 234,320
|
|
311
|
+
* {{ 1234,32 | numberFormat:'M3' }} -> 1 234,320 M3
|
|
312
|
+
* {{ -1234,32 | numberFormat:'M3':true }} -> 1 234,320 M3
|
|
313
|
+
* {{ 1234,32 | numberFormat:'M3':false:false }} -> 1 234 M3
|
|
314
|
+
* {{ 1234,32 | numberFormat:'M3':false:true:5 }} -> 1 234,32000 M3
|
|
315
|
+
*/
|
|
316
|
+
declare class NumberFormatPipe implements PipeTransform {
|
|
317
|
+
transform(value: number | string, unit?: string, abs?: boolean, appendDecimals?: boolean, numberOfDecimals?: number): string | null;
|
|
318
|
+
private prettyPrintValue;
|
|
319
|
+
private toFixed;
|
|
320
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberFormatPipe, never>;
|
|
321
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NumberFormatPipe, "numberFormat", true>;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Pipe used to transform numbers to a currency format
|
|
326
|
+
*
|
|
327
|
+
* @example
|
|
328
|
+
*
|
|
329
|
+
* <span>{{ 5000.5824 | currentFormat:'$':3 }}</span>
|
|
330
|
+
* Results in
|
|
331
|
+
* <span>5 000,582 $</span>
|
|
332
|
+
*/
|
|
333
|
+
declare class CurrencyFormatPipe implements PipeTransform {
|
|
334
|
+
transform(value: number, unit?: string, maximumFractionDigits?: number): string | null;
|
|
335
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyFormatPipe, never>;
|
|
336
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CurrencyFormatPipe, "currencyFormat", true>;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
declare class GetUnit implements PipeTransform {
|
|
340
|
+
transform(value: string, withParens?: boolean): string;
|
|
341
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetUnit, never>;
|
|
342
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GetUnit, "getUnit", true>;
|
|
343
|
+
}
|
|
344
|
+
declare class ExcludeUnit implements PipeTransform {
|
|
345
|
+
transform(value: string): string;
|
|
346
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExcludeUnit, never>;
|
|
347
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ExcludeUnit, "excludeUnit", true>;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
declare class YesNoPipe implements PipeTransform {
|
|
351
|
+
transform(value: boolean, ignoreNulls?: boolean): string;
|
|
352
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YesNoPipe, never>;
|
|
353
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<YesNoPipe, "yesNo", true>;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
declare class StoPipesModule {
|
|
357
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoPipesModule, never>;
|
|
358
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StoPipesModule, never, [typeof DateFormatPipe, typeof KeysPipe, typeof NumberFormatPipe, typeof CurrencyFormatPipe, typeof GetUnit, typeof ExcludeUnit, typeof YesNoPipe], [typeof DateFormatPipe, typeof KeysPipe, typeof NumberFormatPipe, typeof CurrencyFormatPipe, typeof GetUnit, typeof ExcludeUnit, typeof YesNoPipe]>;
|
|
359
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StoPipesModule>;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
export { ContextMenuDirective, CurrencyFormatPipe, DateFormFieldClickDirective, DateFormatPipe, ExcludeUnit, GetUnit, Key, KeysPipe, MenuOverlayDirective, NumberFormatPipe, QuickKeysDirective, StoDirectivesModule, StoGridColumnDirective, StoGridDirective, StoGridSpacerDirective, StoPipesModule, StoSelectTextOnFocusDirective, YesNoPipe };
|
package/ngx-datatable.css
CHANGED
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
border-right: none;
|
|
222
222
|
}
|
|
223
223
|
.sto-datatable .datatable-header .datatable-header-cell .mat-mdc-checkbox {
|
|
224
|
-
--
|
|
224
|
+
--mat-checkbox-state-layer-size: 18px;
|
|
225
225
|
margin-left: 11px;
|
|
226
226
|
}
|
|
227
227
|
.sto-datatable .datatable-header .resize-handle {
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
line-height: 20px;
|
|
232
232
|
}
|
|
233
233
|
.sto-datatable .datatable-body .datatable-body-row .datatable-body-cell {
|
|
234
|
-
--
|
|
234
|
+
--mat-checkbox-state-layer-size: 35px;
|
|
235
235
|
padding: 8px;
|
|
236
236
|
vertical-align: top;
|
|
237
237
|
border-top: 0;
|