@elderbyte/ngx-starter 15.5.0 → 15.5.2
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/esm2020/lib/common/theme-sizes.mjs +1 -1
- package/esm2020/lib/components/forms/directives/base/elder-class-hostbinding-base.mjs +1 -1
- package/esm2020/lib/components/scrollbar/elder-scrollbar.directive.mjs +9 -1
- package/esm2020/lib/components/time/elder-time.module.mjs +11 -24
- package/esm2020/lib/components/time/pipes/to-iso-date-string.pipe.mjs +38 -0
- package/esm2020/lib/pipes/iso-interval-parse.pipe.mjs +1 -1
- package/esm2020/lib/pipes/iso-interval.pipe.mjs +2 -1
- package/fesm2015/elderbyte-ngx-starter.mjs +54 -25
- package/fesm2015/elderbyte-ngx-starter.mjs.map +1 -1
- package/fesm2020/elderbyte-ngx-starter.mjs +54 -25
- package/fesm2020/elderbyte-ngx-starter.mjs.map +1 -1
- package/lib/common/theme-sizes.d.ts +1 -1
- package/lib/components/scrollbar/elder-scrollbar.directive.d.ts +7 -0
- package/lib/components/time/elder-time.module.d.ts +13 -19
- package/lib/components/time/pipes/to-iso-date-string.pipe.d.ts +12 -0
- package/lib/pipes/iso-interval.pipe.d.ts +1 -0
- package/package.json +1 -1
- package/theming/_elder-flex-layout.scss +3 -3
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ElderSize } from "../../common/theme-sizes";
|
|
2
2
|
import { ElderClassHostBindingBase } from '../forms/directives/base/elder-class-hostbinding-base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Set scrollbar width. Will only work in webkit-based browsers.
|
|
6
|
+
*/
|
|
4
7
|
export declare class ElderScrollbarDirective extends ElderClassHostBindingBase {
|
|
5
8
|
static readonly DEFAULT_WIDTH: ElderSize;
|
|
6
9
|
/***************************************************************************
|
|
@@ -20,6 +23,10 @@ export declare class ElderScrollbarDirective extends ElderClassHostBindingBase {
|
|
|
20
23
|
* Properties *
|
|
21
24
|
* *
|
|
22
25
|
**************************************************************************/
|
|
26
|
+
/**
|
|
27
|
+
* Optional input to select a specific {@link ElderSize}
|
|
28
|
+
* @return size with default value lg
|
|
29
|
+
*/
|
|
23
30
|
get size(): ElderSize;
|
|
24
31
|
set size(value: ElderSize);
|
|
25
32
|
/***************************************************************************
|
|
@@ -6,16 +6,17 @@ import * as i4 from "./elder-local-time-input/elder-local-time-input.component";
|
|
|
6
6
|
import * as i5 from "./elder-local-date-input/elder-local-date-input.component";
|
|
7
7
|
import * as i6 from "./duration/elder-duration-input/elder-duration-input.component";
|
|
8
8
|
import * as i7 from "./period/elder-period-input/elder-period-input.component";
|
|
9
|
-
import * as i8 from "
|
|
10
|
-
import * as i9 from "@angular/
|
|
11
|
-
import * as i10 from "@angular/
|
|
12
|
-
import * as i11 from "@angular/
|
|
13
|
-
import * as i12 from "@angular/material/
|
|
14
|
-
import * as i13 from "@angular/material/
|
|
15
|
-
import * as i14 from "@angular/material/
|
|
16
|
-
import * as i15 from "@angular/material/
|
|
17
|
-
import * as i16 from "@
|
|
18
|
-
import * as i17 from "
|
|
9
|
+
import * as i8 from "./pipes/to-iso-date-string.pipe";
|
|
10
|
+
import * as i9 from "@angular/common";
|
|
11
|
+
import * as i10 from "@angular/material/core";
|
|
12
|
+
import * as i11 from "@angular/forms";
|
|
13
|
+
import * as i12 from "@angular/material/input";
|
|
14
|
+
import * as i13 from "@angular/material/datepicker";
|
|
15
|
+
import * as i14 from "@angular/material/button";
|
|
16
|
+
import * as i15 from "@angular/material/icon";
|
|
17
|
+
import * as i16 from "@angular/material/tooltip";
|
|
18
|
+
import * as i17 from "@ngx-translate/core";
|
|
19
|
+
import * as i18 from "../forms/directives/elder-forms-directives.module";
|
|
19
20
|
export { ElderDateSwitcherComponent } from './elder-date-switcher/elder-date-switcher.component';
|
|
20
21
|
export { ElderIntervalInputComponent } from './elder-interval-input/elder-interval-input.component';
|
|
21
22
|
export { ElderDateTimeInputComponent } from './elder-date-time-input/elder-date-time-input.component';
|
|
@@ -23,16 +24,9 @@ export { ElderLocalTimeInputComponent } from './elder-local-time-input/elder-loc
|
|
|
23
24
|
export { ElderLocalDateInputComponent } from './elder-local-date-input/elder-local-date-input.component';
|
|
24
25
|
export { ElderDurationInputComponent } from './duration/elder-duration-input/elder-duration-input.component';
|
|
25
26
|
export { ElderPeriodInputComponent } from './period/elder-period-input/elder-period-input.component';
|
|
27
|
+
export { ToIsoDateStringPipe } from './pipes/to-iso-date-string.pipe';
|
|
26
28
|
export declare class ElderTimeModule {
|
|
27
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderTimeModule, never>;
|
|
28
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ElderTimeModule, [typeof i1.ElderDateSwitcherComponent, typeof i2.ElderIntervalInputComponent, typeof i3.ElderDateTimeInputComponent, typeof i4.ElderLocalTimeInputComponent, typeof i5.ElderLocalDateInputComponent, typeof i6.ElderDurationInputComponent, typeof i7.ElderPeriodInputComponent], [typeof
|
|
30
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElderTimeModule, [typeof i1.ElderDateSwitcherComponent, typeof i2.ElderIntervalInputComponent, typeof i3.ElderDateTimeInputComponent, typeof i4.ElderLocalTimeInputComponent, typeof i5.ElderLocalDateInputComponent, typeof i6.ElderDurationInputComponent, typeof i7.ElderPeriodInputComponent, typeof i8.ToIsoDateStringPipe], [typeof i9.CommonModule, typeof i10.MatNativeDateModule, typeof i11.FormsModule, typeof i12.MatInputModule, typeof i13.MatDatepickerModule, typeof i14.MatButtonModule, typeof i15.MatIconModule, typeof i16.MatTooltipModule, typeof i17.TranslateModule, typeof i18.ElderFormsDirectivesModule], [typeof i1.ElderDateSwitcherComponent, typeof i3.ElderDateTimeInputComponent, typeof i2.ElderIntervalInputComponent, typeof i4.ElderLocalTimeInputComponent, typeof i5.ElderLocalDateInputComponent, typeof i6.ElderDurationInputComponent, typeof i7.ElderPeriodInputComponent, typeof i8.ToIsoDateStringPipe]>;
|
|
29
31
|
static ɵinj: i0.ɵɵInjectorDeclaration<ElderTimeModule>;
|
|
30
32
|
}
|
|
31
|
-
/**
|
|
32
|
-
* @deprecated Please switch to the ElderTimeModule
|
|
33
|
-
*/
|
|
34
|
-
export declare class ElderDatesModule {
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElderDatesModule, never>;
|
|
36
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ElderDatesModule, never, [typeof ElderTimeModule], [typeof ElderTimeModule]>;
|
|
37
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ElderDatesModule>;
|
|
38
|
-
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { Temporal } from '@js-joda/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ToIsoDateStringPipe implements PipeTransform {
|
|
5
|
+
/**
|
|
6
|
+
* Turns a Date or Joda Date Object into a valid ISO string.
|
|
7
|
+
* @param value
|
|
8
|
+
*/
|
|
9
|
+
transform(value: Date | Temporal | undefined): string | undefined;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToIsoDateStringPipe, never>;
|
|
11
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ToIsoDateStringPipe, "toIsoDateString", false>;
|
|
12
|
+
}
|
|
@@ -22,6 +22,7 @@ export declare class IsoIntervalPipe implements PipeTransform {
|
|
|
22
22
|
* *
|
|
23
23
|
**************************************************************************/
|
|
24
24
|
/**
|
|
25
|
+
* Transforms an Interval / ISO Interval to a human readable display text.
|
|
25
26
|
*
|
|
26
27
|
* @param value The interval value, either as iso string or interval object
|
|
27
28
|
* @param format The format of the start (and if not specified otherwise, the end)
|
package/package.json
CHANGED
|
@@ -172,15 +172,15 @@ $media: (
|
|
|
172
172
|
**************************************************************************/
|
|
173
173
|
|
|
174
174
|
.layout-col, .layout-row {
|
|
175
|
-
|
|
175
|
+
&.wrap {
|
|
176
176
|
flex-wrap: wrap;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
|
|
179
|
+
&.wrap-reverse {
|
|
180
180
|
flex-wrap: wrap-reverse;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
|
|
183
|
+
&.nowrap {
|
|
184
184
|
flex-wrap: nowrap;
|
|
185
185
|
}
|
|
186
186
|
}
|