@ngx-stoui/core 20.0.15 → 21.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/README.md +143 -2
- package/fesm2022/ngx-stoui-core.mjs +79 -225
- package/fesm2022/ngx-stoui-core.mjs.map +1 -1
- package/ngx-datatable.css +343 -204
- package/ngx-stoui.css +2797 -4242
- package/package.json +5 -5
- package/styles/README.md +273 -0
- package/{index.d.ts → types/ngx-stoui-core.d.ts} +8 -33
- package/style/_fonts.scss +0 -3
- package/style/datatable/_ngx-datatable-compact.scss +0 -146
- package/style/datatable/_ngx-datatable-form.scss +0 -90
- package/style/datatable/_ngx-datatable-variables.scss +0 -10
- package/style/datatable/ngx-datatable.scss +0 -405
- package/style/fonts/Equinor-Bold.woff +0 -0
- package/style/fonts/Equinor-Bold.woff2 +0 -0
- package/style/fonts/Equinor-Light.woff +0 -0
- package/style/fonts/Equinor-Light.woff2 +0 -0
- package/style/fonts/Equinor-Medium.woff +0 -0
- package/style/fonts/Equinor-Medium.woff2 +0 -0
- package/style/fonts/Equinor-Regular.woff +0 -0
- package/style/fonts/Equinor-Regular.woff2 +0 -0
- package/style/form/sto-form.scss +0 -343
- package/style/grid.scss +0 -20
- package/style/statoil-sansmedium-webfont.woff +0 -0
- package/style/statoil-sansmedium-webfont.woff2 +0 -0
- package/style/sto-dialog.scss +0 -70
- package/style/sto-grid.scss +0 -63
- package/style/theme/_action-footer.scss +0 -18
- package/style/theme/_appheader.scss +0 -122
- package/style/theme/_card.scss +0 -28
- package/style/theme/_colors.scss +0 -185
- package/style/theme/_datatable.scss +0 -265
- package/style/theme/_daterange.scss +0 -48
- package/style/theme/_dialog.scss +0 -24
- package/style/theme/_drawer.scss +0 -0
- package/style/theme/_filterpanel.scss +0 -89
- package/style/theme/_input-overrides.scss +0 -119
- package/style/theme/_message-panel.scss +0 -96
- package/style/theme/_number-input.scss +0 -23
- package/style/theme/_number-unit-input.scss +0 -34
- package/style/theme/_select-filter.scss +0 -17
- package/style/theme/_sto-indicators.scss +0 -118
- package/style/theme/_theme-variables.scss +0 -67
- package/style/theme/_theme.scss +0 -22
- package/style/theme/_typography.scss +0 -56
- package/style/theme/_wysiwyg.scss +0 -39
- package/style/theme/components.scss +0 -16
- package/style/theme/preference-manager.scss +0 -46
- package/style/theme.scss +0 -46
package/README.md
CHANGED
|
@@ -1,6 +1,147 @@
|
|
|
1
|
-
# core
|
|
1
|
+
# @ngx-stoui/core
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Core packages like styling, pipes and common directives for Angular, based on EDS design styles.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @ngx-stoui/core
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Public API
|
|
12
|
+
|
|
13
|
+
### Compiled Stylesheets
|
|
14
|
+
|
|
15
|
+
Import these in your `styles.scss` or `angular.json`:
|
|
16
|
+
|
|
17
|
+
```scss
|
|
18
|
+
// Main stylesheet with all components and utilities
|
|
19
|
+
@import '@ngx-stoui/core/ngx-stoui.css';
|
|
20
|
+
|
|
21
|
+
// Datatable stylesheet (optional, if using datatables)
|
|
22
|
+
@import '@ngx-stoui/core/ngx-datatable.css';
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### SCSS Utilities (for advanced usage)
|
|
26
|
+
|
|
27
|
+
#### Grid System
|
|
28
|
+
|
|
29
|
+
Use the grid mixin to create responsive grid layouts:
|
|
30
|
+
|
|
31
|
+
```scss
|
|
32
|
+
@use '@ngx-stoui/core/style/grid' as grid;
|
|
33
|
+
|
|
34
|
+
.my-grid {
|
|
35
|
+
@include grid.grid(12); // 12-column grid
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.my-compact-grid {
|
|
39
|
+
@include grid.grid(4, 'column', 0); // 4-column grid with custom class name
|
|
40
|
+
}
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
#### Theme Variables and Mixins
|
|
44
|
+
|
|
45
|
+
Access theme variables, typography, and create custom themed components:
|
|
46
|
+
|
|
47
|
+
```scss
|
|
48
|
+
@use 'sass:map';
|
|
49
|
+
@import '@ngx-stoui/core/style/theme/theme';
|
|
50
|
+
|
|
51
|
+
// Access theme variables
|
|
52
|
+
@mixin my-component-theme($theme, $variables) {
|
|
53
|
+
$primary: map.get($variables, primary);
|
|
54
|
+
$accent: map.get($variables, accent);
|
|
55
|
+
|
|
56
|
+
.my-component {
|
|
57
|
+
background: $primary;
|
|
58
|
+
color: $accent;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// Apply to light and dark themes
|
|
63
|
+
.light-theme {
|
|
64
|
+
@include my-component-theme($sto-theme, $variables);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.dark-theme {
|
|
68
|
+
@include my-component-theme($sto-dark-theme, $dark-variables);
|
|
69
|
+
}
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
#### Typography Only
|
|
73
|
+
|
|
74
|
+
If you only need typography definitions:
|
|
75
|
+
|
|
76
|
+
```scss
|
|
77
|
+
@import '@ngx-stoui/core/style/theme/typography';
|
|
78
|
+
|
|
79
|
+
// Access typography variables:
|
|
80
|
+
// - $sto-typography (default 13px)
|
|
81
|
+
// - $sto-sm-typography (small 10px)
|
|
82
|
+
// - $sto-l-typography (large 16px)
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Available Exports
|
|
86
|
+
|
|
87
|
+
### Compiled CSS
|
|
88
|
+
|
|
89
|
+
- `ngx-stoui.css` - Main stylesheet
|
|
90
|
+
- `ngx-datatable.css` - Datatable styles
|
|
91
|
+
|
|
92
|
+
### SCSS Utilities
|
|
93
|
+
|
|
94
|
+
- `style/grid.scss` - Grid mixin system
|
|
95
|
+
- `style/theme/theme.scss` - Complete theme with variables and components
|
|
96
|
+
- `style/theme/_typography.scss` - Typography configurations
|
|
97
|
+
- `style/theme/_theme.scss` - Theme color palettes
|
|
98
|
+
- `style/theme/_colors.scss` - Color definitions
|
|
99
|
+
- `style/theme/_theme-variables.scss` - Theme variable functions
|
|
100
|
+
- `style/theme/components.scss` - All component styles
|
|
101
|
+
|
|
102
|
+
### Fonts
|
|
103
|
+
|
|
104
|
+
- Equinor font files (`.woff`, `.woff2`)
|
|
105
|
+
|
|
106
|
+
## Usage Examples
|
|
107
|
+
|
|
108
|
+
### Basic Setup
|
|
109
|
+
|
|
110
|
+
```scss
|
|
111
|
+
// styles.scss
|
|
112
|
+
@import '@ngx-stoui/core/ngx-stoui.css';
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### With Grid System
|
|
116
|
+
|
|
117
|
+
```scss
|
|
118
|
+
// styles.scss
|
|
119
|
+
@use '@ngx-stoui/core/style/grid' as grid;
|
|
120
|
+
@import '@ngx-stoui/core/ngx-stoui.css';
|
|
121
|
+
|
|
122
|
+
.product-grid {
|
|
123
|
+
@include grid.grid(6); // 6-column grid
|
|
124
|
+
}
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
### With Custom Theming
|
|
128
|
+
|
|
129
|
+
```scss
|
|
130
|
+
// styles.scss
|
|
131
|
+
@use 'sass:map';
|
|
132
|
+
@import '@ngx-stoui/core/ngx-stoui.css';
|
|
133
|
+
@import '@ngx-stoui/core/style/theme/theme';
|
|
134
|
+
|
|
135
|
+
@mixin app-theme($theme, $variables) {
|
|
136
|
+
// Your custom theme styles using $variables
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
@include app-theme($sto-theme, $variables);
|
|
140
|
+
|
|
141
|
+
.sto-dark-theme {
|
|
142
|
+
@include app-theme($sto-dark-theme, $dark-variables);
|
|
143
|
+
}
|
|
144
|
+
```
|
|
4
145
|
|
|
5
146
|
## Running unit tests
|
|
6
147
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, output, HostListener, Directive, ContentChildren, inject, ElementRef, HostBinding,
|
|
2
|
+
import { input, output, HostListener, Directive, ContentChildren, inject, ElementRef, HostBinding, Pipe } from '@angular/core';
|
|
3
3
|
import { MatInput } from '@angular/material/input';
|
|
4
4
|
import { Subject, fromEvent } from 'rxjs';
|
|
5
5
|
import { takeUntil, switchMap, take } from 'rxjs/operators';
|
|
@@ -207,15 +207,15 @@ class QuickKeysDirective {
|
|
|
207
207
|
this.quickSubmit.emit();
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
211
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
210
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: QuickKeysDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
211
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", type: QuickKeysDirective, isStandalone: true, selector: "[stoQuickKeys]", inputs: { quickKeys: { classPropertyName: "quickKeys", publicName: "quickKeys", isSignal: true, isRequired: false, transformFunction: null }, formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { quickSubmit: "quickSubmit", quickCancel: "quickCancel" }, host: { listeners: { "keyup": "onKeyUp($event)" } }, ngImport: i0 }); }
|
|
212
212
|
}
|
|
213
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: QuickKeysDirective, decorators: [{
|
|
214
214
|
type: Directive,
|
|
215
215
|
args: [{
|
|
216
216
|
selector: '[stoQuickKeys]',
|
|
217
217
|
}]
|
|
218
|
-
}], propDecorators: { onKeyUp: [{
|
|
218
|
+
}], propDecorators: { quickKeys: [{ type: i0.Input, args: [{ isSignal: true, alias: "quickKeys", required: false }] }], formGroup: [{ type: i0.Input, args: [{ isSignal: true, alias: "formGroup", required: false }] }], quickSubmit: [{ type: i0.Output, args: ["quickSubmit"] }], quickCancel: [{ type: i0.Output, args: ["quickCancel"] }], onKeyUp: [{
|
|
219
219
|
type: HostListener,
|
|
220
220
|
args: ['keyup', ['$event']]
|
|
221
221
|
}] } });
|
|
@@ -243,10 +243,10 @@ class DateFormFieldClickDirective {
|
|
|
243
243
|
this.destroy$.next(true);
|
|
244
244
|
this.destroy$.complete();
|
|
245
245
|
}
|
|
246
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
247
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
246
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DateFormFieldClickDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
247
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", type: DateFormFieldClickDirective, isStandalone: true, selector: "[stoDateFormFieldClick]", inputs: { stoDateFormFieldClick: { classPropertyName: "stoDateFormFieldClick", publicName: "stoDateFormFieldClick", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "click": "clickEvent()" } }, queries: [{ propertyName: "inputs", predicate: MatInput }], ngImport: i0 }); }
|
|
248
248
|
}
|
|
249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DateFormFieldClickDirective, decorators: [{
|
|
250
250
|
type: Directive,
|
|
251
251
|
args: [{
|
|
252
252
|
selector: '[stoDateFormFieldClick]',
|
|
@@ -254,7 +254,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
|
|
|
254
254
|
}], propDecorators: { inputs: [{
|
|
255
255
|
type: ContentChildren,
|
|
256
256
|
args: [MatInput]
|
|
257
|
-
}], clickEvent: [{
|
|
257
|
+
}], stoDateFormFieldClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "stoDateFormFieldClick", required: true }] }], clickEvent: [{
|
|
258
258
|
type: HostListener,
|
|
259
259
|
args: ['click']
|
|
260
260
|
}] } });
|
|
@@ -276,10 +276,10 @@ class StoSelectTextOnFocusDirective {
|
|
|
276
276
|
this._el.select();
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
280
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
279
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: StoSelectTextOnFocusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
280
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: StoSelectTextOnFocusDirective, isStandalone: true, selector: "[stoSelectTextOnFocus]", host: { listeners: { "focus": "onFocus()", "dblclick": "onFocus()" } }, ngImport: i0 }); }
|
|
281
281
|
}
|
|
282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: StoSelectTextOnFocusDirective, decorators: [{
|
|
283
283
|
type: Directive,
|
|
284
284
|
args: [{
|
|
285
285
|
selector: '[stoSelectTextOnFocus]',
|
|
@@ -293,121 +293,56 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
|
|
|
293
293
|
args: ['dblclick']
|
|
294
294
|
}] } });
|
|
295
295
|
|
|
296
|
-
const getClass = (width, small = 400, large = 800) => {
|
|
297
|
-
let cols = 1;
|
|
298
|
-
if (width > small) {
|
|
299
|
-
cols += 1;
|
|
300
|
-
}
|
|
301
|
-
if (width > large) {
|
|
302
|
-
cols += 2;
|
|
303
|
-
}
|
|
304
|
-
return `sto-f-grid--${cols}`;
|
|
305
|
-
};
|
|
306
|
-
const ALL_GRIDS = ['sto-f-grid--1', 'sto-f-grid--2', 'sto-f-grid--4', 'sto-f-grid--6'];
|
|
307
296
|
class StoGridSpacerDirective {
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
}
|
|
311
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: StoGridSpacerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
312
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.3", type: StoGridSpacerDirective, isStandalone: true, selector: "[stoGridSpacer]", host: { properties: { "class.sto-f-grid__col": "this.useClass", "class.sto-f-grid__col--spacer": "this.useClass" } }, ngImport: i0 }); }
|
|
297
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: StoGridSpacerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
298
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: StoGridSpacerDirective, isStandalone: true, selector: "[stoGridSpacer]", host: { classAttribute: "sto-grid__col sto-grid__col--spacer" }, ngImport: i0 }); }
|
|
313
299
|
}
|
|
314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: StoGridSpacerDirective, decorators: [{
|
|
315
301
|
type: Directive,
|
|
316
302
|
args: [{
|
|
317
303
|
selector: '[stoGridSpacer]',
|
|
318
|
-
|
|
304
|
+
host: {
|
|
305
|
+
class: 'sto-grid__col sto-grid__col--spacer',
|
|
306
|
+
},
|
|
319
307
|
}]
|
|
320
|
-
}]
|
|
321
|
-
type: HostBinding,
|
|
322
|
-
args: ['class.sto-f-grid__col']
|
|
323
|
-
}, {
|
|
324
|
-
type: HostBinding,
|
|
325
|
-
args: ['class.sto-f-grid__col--spacer']
|
|
326
|
-
}] } });
|
|
308
|
+
}] });
|
|
327
309
|
class StoGridColumnDirective {
|
|
328
310
|
constructor() {
|
|
329
|
-
this.
|
|
311
|
+
this.stoGridColumnDouble = input(false, ...(ngDevMode ? [{ debugName: "stoGridColumnDouble" }] : []));
|
|
330
312
|
}
|
|
331
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
332
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
313
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: StoGridColumnDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
314
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", type: StoGridColumnDirective, isStandalone: true, selector: "[stoGridColumn]", inputs: { stoGridColumnDouble: { classPropertyName: "stoGridColumnDouble", publicName: "stoGridColumnDouble", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.sto-grid__col--2": "stoGridColumnDouble()" }, classAttribute: "sto-grid__col" }, ngImport: i0 }); }
|
|
333
315
|
}
|
|
334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: StoGridColumnDirective, decorators: [{
|
|
335
317
|
type: Directive,
|
|
336
318
|
args: [{
|
|
337
319
|
selector: '[stoGridColumn]',
|
|
338
|
-
|
|
320
|
+
host: {
|
|
321
|
+
class: 'sto-grid__col',
|
|
322
|
+
'[class.sto-grid__col--2]': 'stoGridColumnDouble()',
|
|
323
|
+
},
|
|
339
324
|
}]
|
|
340
|
-
}], propDecorators: {
|
|
341
|
-
type: HostBinding,
|
|
342
|
-
args: ['class.sto-f-grid__col']
|
|
343
|
-
}], stoGridColumnDouble: [{
|
|
344
|
-
type: HostBinding,
|
|
345
|
-
args: ['class.sto-f-grid__col--2']
|
|
346
|
-
}, {
|
|
347
|
-
type: Input
|
|
348
|
-
}] } });
|
|
325
|
+
}], propDecorators: { stoGridColumnDouble: [{ type: i0.Input, args: [{ isSignal: true, alias: "stoGridColumnDouble", required: false }] }] } });
|
|
349
326
|
class StoGridDirective {
|
|
350
327
|
constructor() {
|
|
351
|
-
this.
|
|
352
|
-
|
|
353
|
-
// This input is used in combination with `@HostBinding` and migrating would
|
|
354
|
-
// break.
|
|
355
|
-
this.maxWidth = 1000;
|
|
356
|
-
// TODO: Skipped for migration because:
|
|
357
|
-
// This input is used in combination with `@HostBinding` and migrating would
|
|
358
|
-
// break.
|
|
359
|
-
this.minWidth = 250;
|
|
360
|
-
this.baseClass = true;
|
|
361
|
-
this.breakpoints = input(...(ngDevMode ? [undefined, { debugName: "breakpoints" }] : []));
|
|
362
|
-
}
|
|
363
|
-
ngAfterViewInit() {
|
|
364
|
-
const el = this.elRef.nativeElement;
|
|
365
|
-
this.observer = new ResizeObserver(entries => {
|
|
366
|
-
for (const entry of entries) {
|
|
367
|
-
const cr = entry.contentRect;
|
|
368
|
-
const { width } = cr;
|
|
369
|
-
const breakpoints = this.breakpoints() || { 2: 400, 4: 800 };
|
|
370
|
-
const gridType = getClass(width, breakpoints[2], breakpoints[4]);
|
|
371
|
-
if (!el.classList.contains(gridType)) {
|
|
372
|
-
el.classList.remove(...ALL_GRIDS);
|
|
373
|
-
el.classList.add(gridType);
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
});
|
|
377
|
-
this.observer.observe(this.elRef.nativeElement);
|
|
328
|
+
this.maxWidth = input(1000, ...(ngDevMode ? [{ debugName: "maxWidth" }] : []));
|
|
329
|
+
this.minWidth = input(250, ...(ngDevMode ? [{ debugName: "minWidth" }] : []));
|
|
378
330
|
}
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
this.observer.disconnect();
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: StoGridDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
385
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.3", type: StoGridDirective, isStandalone: true, selector: "[stoGrid]", inputs: { maxWidth: { classPropertyName: "maxWidth", publicName: "maxWidth", isSignal: false, isRequired: false, transformFunction: null }, minWidth: { classPropertyName: "minWidth", publicName: "minWidth", isSignal: false, isRequired: false, transformFunction: null }, breakpoints: { classPropertyName: "breakpoints", publicName: "breakpoints", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.max-width.px": "this.maxWidth", "style.min-width.px": "this.minWidth", "class.sto-f-grid": "this.baseClass" } }, queries: [{ propertyName: "columns", predicate: StoGridColumnDirective, read: ElementRef }], exportAs: ["stoGrid"], ngImport: i0 }); }
|
|
331
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: StoGridDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
332
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", type: StoGridDirective, isStandalone: true, selector: "[stoGrid]", inputs: { maxWidth: { classPropertyName: "maxWidth", publicName: "maxWidth", isSignal: true, isRequired: false, transformFunction: null }, minWidth: { classPropertyName: "minWidth", publicName: "minWidth", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.max-width.px": "maxWidth()", "style.min-width.px": "minWidth()" }, classAttribute: "sto-grid" }, exportAs: ["stoGrid"], ngImport: i0 }); }
|
|
386
333
|
}
|
|
387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: StoGridDirective, decorators: [{
|
|
388
335
|
type: Directive,
|
|
389
336
|
args: [{
|
|
390
337
|
selector: '[stoGrid]',
|
|
391
338
|
exportAs: 'stoGrid',
|
|
392
|
-
|
|
339
|
+
host: {
|
|
340
|
+
class: 'sto-grid',
|
|
341
|
+
'[style.max-width.px]': 'maxWidth()',
|
|
342
|
+
'[style.min-width.px]': 'minWidth()',
|
|
343
|
+
},
|
|
393
344
|
}]
|
|
394
|
-
}], propDecorators: { maxWidth: [{
|
|
395
|
-
type: HostBinding,
|
|
396
|
-
args: ['style.max-width.px']
|
|
397
|
-
}, {
|
|
398
|
-
type: Input
|
|
399
|
-
}], minWidth: [{
|
|
400
|
-
type: HostBinding,
|
|
401
|
-
args: ['style.min-width.px']
|
|
402
|
-
}, {
|
|
403
|
-
type: Input
|
|
404
|
-
}], baseClass: [{
|
|
405
|
-
type: HostBinding,
|
|
406
|
-
args: ['class.sto-f-grid']
|
|
407
|
-
}], columns: [{
|
|
408
|
-
type: ContentChildren,
|
|
409
|
-
args: [StoGridColumnDirective, { read: ElementRef }]
|
|
410
|
-
}] } });
|
|
345
|
+
}], propDecorators: { maxWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxWidth", required: false }] }], minWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "minWidth", required: false }] }] } });
|
|
411
346
|
|
|
412
347
|
class MenuOverlayDirective {
|
|
413
348
|
constructor() {
|
|
@@ -433,10 +368,10 @@ class MenuOverlayDirective {
|
|
|
433
368
|
element.style.height = '1px';
|
|
434
369
|
element.style.width = '1px';
|
|
435
370
|
}
|
|
436
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
437
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
371
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MenuOverlayDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
372
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: MenuOverlayDirective, isStandalone: true, selector: "[stoMenuOverlay]", host: { properties: { "style.left.px": "this.left", "style.top.px": "this.top" } }, exportAs: ["stoMenuOverlay"], ngImport: i0 }); }
|
|
438
373
|
}
|
|
439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MenuOverlayDirective, decorators: [{
|
|
440
375
|
type: Directive,
|
|
441
376
|
args: [{
|
|
442
377
|
selector: '[stoMenuOverlay]',
|
|
@@ -468,64 +403,19 @@ class ContextMenuDirective {
|
|
|
468
403
|
this.menuTrigger().openMenu();
|
|
469
404
|
}, 150);
|
|
470
405
|
}
|
|
471
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
472
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
406
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ContextMenuDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
407
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", type: ContextMenuDirective, isStandalone: true, selector: "[stoContextMenu]", inputs: { menuTrigger: { classPropertyName: "menuTrigger", publicName: "menuTrigger", isSignal: true, isRequired: true, transformFunction: null }, overlayDirective: { classPropertyName: "overlayDirective", publicName: "overlayDirective", isSignal: true, isRequired: true, transformFunction: null }, menuContext: { classPropertyName: "menuContext", publicName: "menuContext", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "contextmenu": "contextMenu($event)" } }, ngImport: i0 }); }
|
|
473
408
|
}
|
|
474
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ContextMenuDirective, decorators: [{
|
|
475
410
|
type: Directive,
|
|
476
411
|
args: [{
|
|
477
412
|
selector: '[stoContextMenu]',
|
|
478
413
|
}]
|
|
479
|
-
}], propDecorators: { contextMenu: [{
|
|
414
|
+
}], propDecorators: { menuTrigger: [{ type: i0.Input, args: [{ isSignal: true, alias: "menuTrigger", required: true }] }], overlayDirective: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlayDirective", required: true }] }], menuContext: [{ type: i0.Input, args: [{ isSignal: true, alias: "menuContext", required: false }] }], contextMenu: [{
|
|
480
415
|
type: HostListener,
|
|
481
416
|
args: ['contextmenu', ['$event']]
|
|
482
417
|
}] } });
|
|
483
418
|
|
|
484
|
-
class StoDirectivesModule {
|
|
485
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: StoDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
486
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.3", ngImport: i0, type: StoDirectivesModule, imports: [QuickKeysDirective,
|
|
487
|
-
DateFormFieldClickDirective,
|
|
488
|
-
StoSelectTextOnFocusDirective,
|
|
489
|
-
StoGridDirective,
|
|
490
|
-
StoGridColumnDirective,
|
|
491
|
-
StoGridSpacerDirective,
|
|
492
|
-
MenuOverlayDirective,
|
|
493
|
-
ContextMenuDirective], exports: [QuickKeysDirective,
|
|
494
|
-
DateFormFieldClickDirective,
|
|
495
|
-
StoSelectTextOnFocusDirective,
|
|
496
|
-
StoGridDirective,
|
|
497
|
-
StoGridColumnDirective,
|
|
498
|
-
StoGridSpacerDirective,
|
|
499
|
-
MenuOverlayDirective,
|
|
500
|
-
ContextMenuDirective] }); }
|
|
501
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: StoDirectivesModule }); }
|
|
502
|
-
}
|
|
503
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: StoDirectivesModule, decorators: [{
|
|
504
|
-
type: NgModule,
|
|
505
|
-
args: [{
|
|
506
|
-
imports: [
|
|
507
|
-
QuickKeysDirective,
|
|
508
|
-
DateFormFieldClickDirective,
|
|
509
|
-
StoSelectTextOnFocusDirective,
|
|
510
|
-
StoGridDirective,
|
|
511
|
-
StoGridColumnDirective,
|
|
512
|
-
StoGridSpacerDirective,
|
|
513
|
-
MenuOverlayDirective,
|
|
514
|
-
ContextMenuDirective,
|
|
515
|
-
],
|
|
516
|
-
exports: [
|
|
517
|
-
QuickKeysDirective,
|
|
518
|
-
DateFormFieldClickDirective,
|
|
519
|
-
StoSelectTextOnFocusDirective,
|
|
520
|
-
StoGridDirective,
|
|
521
|
-
StoGridColumnDirective,
|
|
522
|
-
StoGridSpacerDirective,
|
|
523
|
-
MenuOverlayDirective,
|
|
524
|
-
ContextMenuDirective,
|
|
525
|
-
],
|
|
526
|
-
}]
|
|
527
|
-
}] });
|
|
528
|
-
|
|
529
419
|
/**
|
|
530
420
|
* Pipe used to transform numbers to a currency format
|
|
531
421
|
*
|
|
@@ -549,10 +439,10 @@ class CurrencyFormatPipe {
|
|
|
549
439
|
const intl = new Intl.NumberFormat('en-US', { maximumFractionDigits }).format(value);
|
|
550
440
|
return intl.replace(/,/g, ' ').replace('.', ',') + ` ${unit}`;
|
|
551
441
|
}
|
|
552
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
553
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
442
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: CurrencyFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
443
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: CurrencyFormatPipe, isStandalone: true, name: "currencyFormat" }); }
|
|
554
444
|
}
|
|
555
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: CurrencyFormatPipe, decorators: [{
|
|
556
446
|
type: Pipe,
|
|
557
447
|
args: [{
|
|
558
448
|
name: 'currencyFormat',
|
|
@@ -600,10 +490,10 @@ class DateFormatPipe {
|
|
|
600
490
|
return format(value, 'MMM d, yyyy');
|
|
601
491
|
}
|
|
602
492
|
}
|
|
603
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
604
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
493
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DateFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
494
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DateFormatPipe, isStandalone: true, name: "formatDate" }); }
|
|
605
495
|
}
|
|
606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DateFormatPipe, decorators: [{
|
|
607
497
|
type: Pipe,
|
|
608
498
|
args: [{
|
|
609
499
|
name: 'formatDate',
|
|
@@ -626,10 +516,10 @@ class KeysPipe {
|
|
|
626
516
|
}
|
|
627
517
|
return [];
|
|
628
518
|
}
|
|
629
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
630
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
519
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
520
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: KeysPipe, isStandalone: true, name: "keys" }); }
|
|
631
521
|
}
|
|
632
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: KeysPipe, decorators: [{
|
|
633
523
|
type: Pipe,
|
|
634
524
|
args: [{
|
|
635
525
|
name: 'keys',
|
|
@@ -674,15 +564,18 @@ class NumberFormatPipe {
|
|
|
674
564
|
value = parseFloat(this.toFixed(value, numberOfDecimals));
|
|
675
565
|
}
|
|
676
566
|
// Turn negative numbers back, but only if value is not -0
|
|
677
|
-
|
|
678
|
-
if (isNegativeNumber && value !== -0) {
|
|
567
|
+
if (isNegativeNumber && value < 0) {
|
|
679
568
|
value = value * -1;
|
|
680
569
|
}
|
|
681
570
|
const localized = this.prettyPrintValue(value, appendDecimals, numberOfDecimals);
|
|
682
|
-
return localized.replace(/,/g, ' ').replace('.', ',') +
|
|
571
|
+
return (localized.replace(/,/g, ' ').replace('.', ',') +
|
|
572
|
+
`${unit ? ' ' + unit : ''}`);
|
|
683
573
|
}
|
|
684
574
|
prettyPrintValue(value, appendDecimals, numberOfDecimals) {
|
|
685
|
-
const intlOptions = {
|
|
575
|
+
const intlOptions = {
|
|
576
|
+
minimumFractionDigits: numberOfDecimals,
|
|
577
|
+
maximumFractionDigits: numberOfDecimals,
|
|
578
|
+
};
|
|
686
579
|
const intl = new Intl.NumberFormat('en-US', intlOptions).format(value);
|
|
687
580
|
const split = intl.split('.');
|
|
688
581
|
let localized = split[0];
|
|
@@ -697,20 +590,22 @@ class NumberFormatPipe {
|
|
|
697
590
|
toFixed(num, precision) {
|
|
698
591
|
// This method also has some issues - namely, it's unable to parse negative numbers with huge floating points
|
|
699
592
|
// -8.185452315956354e-12 becomes NaN
|
|
700
|
-
let returnValue =
|
|
593
|
+
let returnValue = +(Math.round(+(num + 'e' + precision)) +
|
|
594
|
+
'e' +
|
|
595
|
+
-precision);
|
|
701
596
|
if (isNaN(returnValue)) {
|
|
702
597
|
returnValue = parseFloat(num.toFixed(precision));
|
|
703
598
|
}
|
|
704
599
|
return returnValue.toFixed(precision);
|
|
705
600
|
}
|
|
706
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
707
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
601
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NumberFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
602
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: NumberFormatPipe, isStandalone: true, name: "numberFormat" }); }
|
|
708
603
|
}
|
|
709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NumberFormatPipe, decorators: [{
|
|
710
605
|
type: Pipe,
|
|
711
606
|
args: [{
|
|
712
607
|
name: 'numberFormat',
|
|
713
|
-
standalone: true
|
|
608
|
+
standalone: true,
|
|
714
609
|
}]
|
|
715
610
|
}] });
|
|
716
611
|
|
|
@@ -730,10 +625,10 @@ class GetUnit {
|
|
|
730
625
|
}
|
|
731
626
|
return value;
|
|
732
627
|
}
|
|
733
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
734
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
628
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: GetUnit, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
629
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: GetUnit, isStandalone: true, name: "getUnit" }); }
|
|
735
630
|
}
|
|
736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: GetUnit, decorators: [{
|
|
737
632
|
type: Pipe,
|
|
738
633
|
args: [{ name: 'getUnit', standalone: true }]
|
|
739
634
|
}] });
|
|
@@ -747,10 +642,10 @@ class ExcludeUnit {
|
|
|
747
642
|
}
|
|
748
643
|
return value;
|
|
749
644
|
}
|
|
750
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
751
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
645
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ExcludeUnit, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
646
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: ExcludeUnit, isStandalone: true, name: "excludeUnit" }); }
|
|
752
647
|
}
|
|
753
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ExcludeUnit, decorators: [{
|
|
754
649
|
type: Pipe,
|
|
755
650
|
args: [{ name: 'excludeUnit', standalone: true }]
|
|
756
651
|
}] });
|
|
@@ -766,55 +661,14 @@ class YesNoPipe {
|
|
|
766
661
|
}
|
|
767
662
|
return valueStr;
|
|
768
663
|
}
|
|
769
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
770
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
664
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: YesNoPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
665
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: YesNoPipe, isStandalone: true, name: "yesNo" }); }
|
|
771
666
|
}
|
|
772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: YesNoPipe, decorators: [{
|
|
773
668
|
type: Pipe,
|
|
774
669
|
args: [{ name: 'yesNo', standalone: true }]
|
|
775
670
|
}] });
|
|
776
671
|
|
|
777
|
-
class StoPipesModule {
|
|
778
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: StoPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
779
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.3", ngImport: i0, type: StoPipesModule, imports: [DateFormatPipe,
|
|
780
|
-
KeysPipe,
|
|
781
|
-
NumberFormatPipe,
|
|
782
|
-
CurrencyFormatPipe,
|
|
783
|
-
GetUnit,
|
|
784
|
-
ExcludeUnit,
|
|
785
|
-
YesNoPipe], exports: [DateFormatPipe,
|
|
786
|
-
KeysPipe,
|
|
787
|
-
NumberFormatPipe,
|
|
788
|
-
CurrencyFormatPipe,
|
|
789
|
-
GetUnit,
|
|
790
|
-
ExcludeUnit,
|
|
791
|
-
YesNoPipe] }); }
|
|
792
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: StoPipesModule }); }
|
|
793
|
-
}
|
|
794
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: StoPipesModule, decorators: [{
|
|
795
|
-
type: NgModule,
|
|
796
|
-
args: [{
|
|
797
|
-
imports: [
|
|
798
|
-
DateFormatPipe,
|
|
799
|
-
KeysPipe,
|
|
800
|
-
NumberFormatPipe,
|
|
801
|
-
CurrencyFormatPipe,
|
|
802
|
-
GetUnit,
|
|
803
|
-
ExcludeUnit,
|
|
804
|
-
YesNoPipe
|
|
805
|
-
],
|
|
806
|
-
exports: [
|
|
807
|
-
DateFormatPipe,
|
|
808
|
-
KeysPipe,
|
|
809
|
-
NumberFormatPipe,
|
|
810
|
-
CurrencyFormatPipe,
|
|
811
|
-
GetUnit,
|
|
812
|
-
ExcludeUnit,
|
|
813
|
-
YesNoPipe
|
|
814
|
-
]
|
|
815
|
-
}]
|
|
816
|
-
}] });
|
|
817
|
-
|
|
818
672
|
/*
|
|
819
673
|
* Public API Surface of @ngx-stoui/core
|
|
820
674
|
*/
|
|
@@ -823,5 +677,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
|
|
|
823
677
|
* Generated bundle index. Do not edit.
|
|
824
678
|
*/
|
|
825
679
|
|
|
826
|
-
export { ContextMenuDirective, CurrencyFormatPipe, DateFormFieldClickDirective, DateFormatPipe, ExcludeUnit, GetUnit, Key, KeysPipe, MenuOverlayDirective, NumberFormatPipe, QuickKeysDirective,
|
|
680
|
+
export { ContextMenuDirective, CurrencyFormatPipe, DateFormFieldClickDirective, DateFormatPipe, ExcludeUnit, GetUnit, Key, KeysPipe, MenuOverlayDirective, NumberFormatPipe, QuickKeysDirective, StoGridColumnDirective, StoGridDirective, StoGridSpacerDirective, StoSelectTextOnFocusDirective, YesNoPipe };
|
|
827
681
|
//# sourceMappingURL=ngx-stoui-core.mjs.map
|