@sumaris-net/ngx-components 2.0.0-rc19 → 2.0.0-rc21
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/public_api.mjs +1 -2
- package/esm2020/src/app/admin/users/users.mjs +3 -3
- package/esm2020/src/app/core/graphql/graphql.utils.mjs +3 -2
- package/esm2020/src/app/core/services/local-settings.service.mjs +3 -2
- package/esm2020/src/app/core/services/platform.service.mjs +3 -2
- package/esm2020/src/app/shared/dates.mjs +8 -6
- package/esm2020/src/app/shared/file/file.service.mjs +3 -2
- package/esm2020/src/app/shared/material/datetime/material.date.mjs +3 -2
- package/esm2020/src/app/shared/material/datetime/material.datetime.mjs +3 -2
- package/esm2020/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +3 -2
- package/esm2020/src/app/shared/material/datetime/testing/mat-date.test.mjs +4 -2
- package/esm2020/src/app/shared/material/swipe/testing/swipe.test.mjs +3 -2
- package/esm2020/src/app/shared/pipes/date-diff-duration.pipe.mjs +3 -2
- package/esm2020/src/app/shared/testing/observable.test.mjs +3 -2
- package/esm2020/src/app/shared/validator/validators.mjs +3 -2
- package/esm2020/src/app/social/user-event/testing/user-event.testing.mjs +3 -2
- package/esm2020/src/app/social/user-event/user-event.service.mjs +3 -2
- package/fesm2015/sumaris-net.ngx-components.mjs +51 -42
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +51 -42
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +0 -1
- package/src/app/shared/dates.d.ts +1 -0
- package/src/app/shared/material/datetime/testing/mat-date.test.d.ts +1 -0
- package/src/app/shared/material/swipe/testing/swipe.test.d.ts +1 -1
- package/esm2020/src/app/vendor.mjs +0 -15
- package/src/app/vendor.d.ts +0 -10
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -130,7 +130,6 @@ export * from './src/app/core/services/pipes/account.pipes';
|
|
|
130
130
|
export * from './src/app/core/services/pipes/department-to-string.pipe';
|
|
131
131
|
export * from './src/app/core/services/pipes/person-to-string.pipe';
|
|
132
132
|
export * from './src/app/core/services/pipes/usage-mode.pipes';
|
|
133
|
-
export * from './src/app/vendor';
|
|
134
133
|
export * from './src/app/core/services/platform.service';
|
|
135
134
|
export * from './src/app/core/services/network.service';
|
|
136
135
|
export * from './src/app/core/services/config.service';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import 'moment-timezone';
|
|
3
4
|
import { Subscription } from 'rxjs';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class DateTestPage implements OnInit {
|
|
@@ -14,7 +14,7 @@ export declare class SwipeTestPage implements OnInit {
|
|
|
14
14
|
constructor(formBuilder: UntypedFormBuilder, dateFormatPipe: DateFormatPipe);
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
loadData(): Promise<void>;
|
|
17
|
-
doSubmit(event
|
|
17
|
+
doSubmit(event?: Event): void;
|
|
18
18
|
displayDate(): DisplayFn;
|
|
19
19
|
compareDate(): (d1: Moment, d2: Moment) => boolean;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwipeTestPage, never>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import 'tweetnacl';
|
|
2
|
-
import 'tweetnacl-util';
|
|
3
|
-
// Import Hammer JS (need to manage 'tap' events)
|
|
4
|
-
import 'hammerjs';
|
|
5
|
-
// Force moment-timezone to be loaded, otherwise moment().tz() will failed
|
|
6
|
-
import * as momentImported from 'moment';
|
|
7
|
-
import * as momentTZImported from 'moment-timezone';
|
|
8
|
-
const moment = momentImported;
|
|
9
|
-
const tz = momentTZImported;
|
|
10
|
-
export { moment, tz };
|
|
11
|
-
// Import uuid
|
|
12
|
-
import * as u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ydCAqIGFzIG1vbWVudEltcG9ydGVkIGZyb20gJ21vbWVudCc7XG5pbXBvcnQge01vbWVudH0gZnJvbSAnbW9tZW50JztcbmltcG9ydCAqIGFzIG1vbWVudFRaSW1wb3J0ZWQgZnJvbSAnbW9tZW50LXRpbWV6b25lJztcbmNvbnN0IG1vbWVudCA9IG1vbWVudEltcG9ydGVkO1xuY29uc3QgdHogPSBtb21lbnRUWkltcG9ydGVkO1xuZXhwb3J0IHsgbW9tZW50LCB0eiwgTW9tZW50IH07XG5cblxuLy8gSW1wb3J0IHV1aWRcbmltcG9ydCAqIGFzIHV1aWR2NEltcG9ydGVkIGZyb20gJ3V1aWQvdjQnO1xuY29uc3QgdXVpZHY0ID0gdXVpZHY0SW1wb3J0ZWQ7XG5leHBvcnQge3V1aWR2NH07XG5cbiJdfQ==
|
package/src/app/vendor.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import 'tweetnacl';
|
|
2
|
-
import 'tweetnacl-util';
|
|
3
|
-
import 'hammerjs';
|
|
4
|
-
import * as momentImported from 'moment';
|
|
5
|
-
import { Moment } from 'moment';
|
|
6
|
-
declare const moment: typeof momentImported;
|
|
7
|
-
declare const tz: typeof momentImported;
|
|
8
|
-
export { moment, tz, Moment };
|
|
9
|
-
declare const uuidv4: import("uuid/interfaces").v4;
|
|
10
|
-
export { uuidv4 };
|