@bizdoc/core 3.10.1 → 3.10.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/assets/themes/brown.min.css +1 -1
- package/assets/themes/dark.min.css +8 -8
- package/assets/themes/deep-purple-light-blue.min.css +1 -1
- package/assets/themes/deep-purple-teal.min.css +1 -1
- package/assets/themes/default.min.css +8 -8
- package/assets/themes/green.min.css +1 -1
- package/assets/themes/indigo-amber.min.css +1 -1
- package/assets/themes/indigo.min.css +1 -1
- package/fesm2022/bizdoc-core.mjs +1311 -1302
- package/fesm2022/bizdoc-core.mjs.map +1 -1
- package/index.d.ts +26 -27
- package/package.json +22 -22
package/index.d.ts
CHANGED
@@ -367,7 +367,7 @@ interface Notification {
|
|
367
367
|
settings?: boolean;
|
368
368
|
contentType: string;
|
369
369
|
}
|
370
|
-
interface Message {
|
370
|
+
interface Message<T = any> {
|
371
371
|
/** document number */
|
372
372
|
number?: string;
|
373
373
|
deleted?: boolean;
|
@@ -379,6 +379,7 @@ interface Message {
|
|
379
379
|
recipientId?: number;
|
380
380
|
documentId?: number;
|
381
381
|
formId?: string;
|
382
|
+
content?: T;
|
382
383
|
}
|
383
384
|
declare type NotificationType = 'Commented' | 'CubeAnomaly' | 'Escalated' | 'Liked' | 'StateChanged' | 'Nudge' | 'Invite' | 'TextMessage' | 'ContentMessage' | 'UpcomingEvent' | 'JobProgress' | 'Tagged';
|
384
385
|
interface State {
|
@@ -1263,7 +1264,7 @@ declare class TranslateService {
|
|
1263
1264
|
private _gender?;
|
1264
1265
|
get culture(): string;
|
1265
1266
|
constructor(_session: SessionService, _http: HttpClient);
|
1266
|
-
cldr(): Promise<
|
1267
|
+
cldr(): Promise<void> | Promise<any[]>;
|
1267
1268
|
get(key: string, ...args: (string | number)[]): string;
|
1268
1269
|
personalize(key: string, gender?: Gender, ...args: any[]): string;
|
1269
1270
|
i18n(key: string): string;
|
@@ -7238,7 +7239,8 @@ declare class CubeDocumentsGridComponent implements ReportComponent<Model$9>, On
|
|
7238
7239
|
declare class NotificationRef<T = any> {
|
7239
7240
|
private _message;
|
7240
7241
|
constructor(_message: Message);
|
7241
|
-
get message():
|
7242
|
+
get message(): Message;
|
7243
|
+
get content(): T;
|
7242
7244
|
}
|
7243
7245
|
|
7244
7246
|
declare class LongRunningTaskNotification implements OnInit {
|
@@ -7252,12 +7254,12 @@ declare class LongRunningTaskNotification implements OnInit {
|
|
7252
7254
|
static ɵfac: i0.ɵɵFactoryDeclaration<LongRunningTaskNotification, never>;
|
7253
7255
|
static ɵcmp: i0.ɵɵComponentDeclaration<LongRunningTaskNotification, "ng-component", never, {}, {}, never, never, false, never>;
|
7254
7256
|
}
|
7255
|
-
interface ReportTask
|
7257
|
+
interface ReportTask {
|
7256
7258
|
name: string;
|
7257
7259
|
value: number;
|
7258
7260
|
}
|
7259
7261
|
|
7260
|
-
declare abstract class NotificationBase<T
|
7262
|
+
declare abstract class NotificationBase<T> {
|
7261
7263
|
protected _router: RouterImpl;
|
7262
7264
|
protected _session: SessionService;
|
7263
7265
|
protected _translate: TranslateService;
|
@@ -7272,13 +7274,12 @@ declare abstract class NotificationBase<T extends Message> {
|
|
7272
7274
|
/** */
|
7273
7275
|
declare class TaggedNotification extends NotificationBase<Tagged> implements OnInit {
|
7274
7276
|
private readonly _accounts;
|
7275
|
-
|
7276
|
-
message: string;
|
7277
|
+
private readonly _elemenRef;
|
7277
7278
|
ngOnInit(): void;
|
7278
7279
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaggedNotification, never>;
|
7279
7280
|
static ɵcmp: i0.ɵɵComponentDeclaration<TaggedNotification, "bizdoc-notify-tagged", never, {}, {}, never, never, false, never>;
|
7280
7281
|
}
|
7281
|
-
interface Tagged
|
7282
|
+
interface Tagged {
|
7282
7283
|
who: string;
|
7283
7284
|
}
|
7284
7285
|
|
@@ -7292,9 +7293,10 @@ declare class CommentedNotification extends NotificationBase<Commented> implemen
|
|
7292
7293
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommentedNotification, never>;
|
7293
7294
|
static ɵcmp: i0.ɵɵComponentDeclaration<CommentedNotification, "ng-component", never, {}, {}, never, never, false, never>;
|
7294
7295
|
}
|
7295
|
-
interface Commented
|
7296
|
+
interface Commented {
|
7296
7297
|
userIds: string[];
|
7297
|
-
|
7298
|
+
commentId: number;
|
7299
|
+
text?: string;
|
7298
7300
|
}
|
7299
7301
|
|
7300
7302
|
declare class NudgeNotification extends NotificationBase<Nudge> implements OnInit {
|
@@ -7304,7 +7306,7 @@ declare class NudgeNotification extends NotificationBase<Nudge> implements OnIni
|
|
7304
7306
|
static ɵfac: i0.ɵɵFactoryDeclaration<NudgeNotification, never>;
|
7305
7307
|
static ɵcmp: i0.ɵɵComponentDeclaration<NudgeNotification, "ng-component", never, {}, {}, never, never, false, never>;
|
7306
7308
|
}
|
7307
|
-
interface Nudge
|
7309
|
+
interface Nudge {
|
7308
7310
|
expire: Date;
|
7309
7311
|
}
|
7310
7312
|
|
@@ -7318,7 +7320,7 @@ declare class InviteNotification {
|
|
7318
7320
|
static ɵfac: i0.ɵɵFactoryDeclaration<InviteNotification, never>;
|
7319
7321
|
static ɵcmp: i0.ɵɵComponentDeclaration<InviteNotification, "ng-component", never, {}, {}, never, never, false, never>;
|
7320
7322
|
}
|
7321
|
-
interface Invite
|
7323
|
+
interface Invite {
|
7322
7324
|
message?: string;
|
7323
7325
|
due?: Date;
|
7324
7326
|
}
|
@@ -7330,31 +7332,28 @@ declare class ContentMessageNotification extends NotificationBase<ContentMessage
|
|
7330
7332
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContentMessageNotification, never>;
|
7331
7333
|
static ɵcmp: i0.ɵɵComponentDeclaration<ContentMessageNotification, "bizdoc-notify-content", never, {}, {}, never, never, false, never>;
|
7332
7334
|
}
|
7333
|
-
interface ContentMessage
|
7334
|
-
content?: T;
|
7335
|
+
interface ContentMessage {
|
7335
7336
|
contentType?: string;
|
7336
7337
|
}
|
7337
7338
|
|
7338
|
-
declare class TextNotification {
|
7339
|
-
|
7340
|
-
|
7339
|
+
declare class TextNotification implements OnInit {
|
7340
|
+
private readonly _elemenRef;
|
7341
|
+
private readonly _notification;
|
7342
|
+
ngOnInit(): void;
|
7341
7343
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextNotification, never>;
|
7342
7344
|
static ɵcmp: i0.ɵɵComponentDeclaration<TextNotification, "bizdoc-notify-text", never, {}, {}, never, never, false, never>;
|
7343
7345
|
}
|
7344
|
-
interface Text {
|
7345
|
-
text: string;
|
7346
|
-
}
|
7347
7346
|
|
7348
7347
|
declare class CubeAnomalyNotification extends NotificationBase<CubeAnomaly> implements OnInit {
|
7348
|
+
private readonly _elemenRef;
|
7349
|
+
private readonly _currency;
|
7349
7350
|
private readonly _ds;
|
7350
|
-
cube: Cube;
|
7351
|
-
axes: string;
|
7352
7351
|
ngOnInit(): void;
|
7353
7352
|
open(evt: MouseEvent): void;
|
7354
7353
|
static ɵfac: i0.ɵɵFactoryDeclaration<CubeAnomalyNotification, never>;
|
7355
7354
|
static ɵcmp: i0.ɵɵComponentDeclaration<CubeAnomalyNotification, "ng-component", never, {}, {}, never, never, false, never>;
|
7356
7355
|
}
|
7357
|
-
interface CubeAnomaly
|
7356
|
+
interface CubeAnomaly {
|
7358
7357
|
cube: string;
|
7359
7358
|
axes: string[];
|
7360
7359
|
value: number;
|
@@ -7364,12 +7363,12 @@ interface CubeAnomaly extends Message {
|
|
7364
7363
|
|
7365
7364
|
declare class EscalatedNotification extends NotificationBase<Escalated> implements OnInit {
|
7366
7365
|
private readonly _accounts;
|
7367
|
-
|
7366
|
+
private readonly _elemenRef;
|
7368
7367
|
ngOnInit(): void;
|
7369
7368
|
static ɵfac: i0.ɵɵFactoryDeclaration<EscalatedNotification, never>;
|
7370
7369
|
static ɵcmp: i0.ɵɵComponentDeclaration<EscalatedNotification, "bizdoc-notify-escalated", never, {}, {}, never, never, false, never>;
|
7371
7370
|
}
|
7372
|
-
interface Escalated
|
7371
|
+
interface Escalated {
|
7373
7372
|
substituteId: string;
|
7374
7373
|
role?: string;
|
7375
7374
|
duration: number;
|
@@ -7383,7 +7382,7 @@ declare class LikedNotification extends NotificationBase<Liked> implements OnIni
|
|
7383
7382
|
static ɵfac: i0.ɵɵFactoryDeclaration<LikedNotification, never>;
|
7384
7383
|
static ɵcmp: i0.ɵɵComponentDeclaration<LikedNotification, "bizdoc-liked-notification", never, {}, {}, never, never, false, never>;
|
7385
7384
|
}
|
7386
|
-
interface Liked
|
7385
|
+
interface Liked {
|
7387
7386
|
userIds: string[];
|
7388
7387
|
voted?: number;
|
7389
7388
|
}
|
@@ -7394,7 +7393,7 @@ declare class StateChangedNotification extends NotificationBase<StateChanged> im
|
|
7394
7393
|
static ɵfac: i0.ɵɵFactoryDeclaration<StateChangedNotification, never>;
|
7395
7394
|
static ɵcmp: i0.ɵɵComponentDeclaration<StateChangedNotification, "ng-component", never, {}, {}, never, never, false, never>;
|
7396
7395
|
}
|
7397
|
-
interface StateChanged
|
7396
|
+
interface StateChanged {
|
7398
7397
|
state: string;
|
7399
7398
|
}
|
7400
7399
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@bizdoc/core",
|
3
|
-
"version": "3.10.
|
3
|
+
"version": "3.10.2",
|
4
4
|
"author": "Moding Ltd.",
|
5
5
|
"homepage": "https://github.com/moding-il/bizdoc.core",
|
6
6
|
"license": "https://github.com/moding-il/bizdoc.core/blob/master/License.md",
|
@@ -11,30 +11,30 @@
|
|
11
11
|
"dependencies": {
|
12
12
|
"@ctrl/ngx-emoji-mart": "^9.2.0",
|
13
13
|
"@googlemaps/js-api-loader": "^1.16.10",
|
14
|
-
"@microsoft/signalr": "^
|
15
|
-
"@syncfusion/ej2-angular-barcode-generator": "30.
|
16
|
-
"@syncfusion/ej2-angular-base": "30.
|
17
|
-
"@syncfusion/ej2-angular-buttons": "^30.
|
18
|
-
"@syncfusion/ej2-angular-popups": "^30.
|
19
|
-
"@syncfusion/ej2-angular-calendars": "30.
|
20
|
-
"@syncfusion/ej2-angular-charts": "30.
|
21
|
-
"@syncfusion/ej2-angular-circulargauge": "30.
|
22
|
-
"@syncfusion/ej2-angular-diagrams": "30.
|
23
|
-
"@syncfusion/ej2-angular-gantt": "30.
|
24
|
-
"@syncfusion/ej2-angular-grids": "30.
|
25
|
-
"@syncfusion/ej2-angular-inputs": "30.
|
26
|
-
"@syncfusion/ej2-angular-kanban": "30.
|
27
|
-
"@syncfusion/ej2-angular-lineargauge": "30.
|
28
|
-
"@syncfusion/ej2-angular-notifications": "30.
|
29
|
-
"@syncfusion/ej2-angular-pivotview": "30.
|
30
|
-
"@syncfusion/ej2-angular-richtexteditor": "30.
|
31
|
-
"@syncfusion/ej2-angular-blockeditor": "30.
|
32
|
-
"@syncfusion/ej2-angular-schedule": "30.
|
33
|
-
"@syncfusion/ej2-angular-spreadsheet": "30.
|
14
|
+
"@microsoft/signalr": "^9.0.6",
|
15
|
+
"@syncfusion/ej2-angular-barcode-generator": "30.2",
|
16
|
+
"@syncfusion/ej2-angular-base": "30.2",
|
17
|
+
"@syncfusion/ej2-angular-buttons": "^30.2",
|
18
|
+
"@syncfusion/ej2-angular-popups": "^30.2",
|
19
|
+
"@syncfusion/ej2-angular-calendars": "30.2",
|
20
|
+
"@syncfusion/ej2-angular-charts": "30.2",
|
21
|
+
"@syncfusion/ej2-angular-circulargauge": "30.2",
|
22
|
+
"@syncfusion/ej2-angular-diagrams": "30.2",
|
23
|
+
"@syncfusion/ej2-angular-gantt": "30.2",
|
24
|
+
"@syncfusion/ej2-angular-grids": "30.2",
|
25
|
+
"@syncfusion/ej2-angular-inputs": "30.2",
|
26
|
+
"@syncfusion/ej2-angular-kanban": "30.2",
|
27
|
+
"@syncfusion/ej2-angular-lineargauge": "30.2",
|
28
|
+
"@syncfusion/ej2-angular-notifications": "30.2",
|
29
|
+
"@syncfusion/ej2-angular-pivotview": "30.2",
|
30
|
+
"@syncfusion/ej2-angular-richtexteditor": "30.2",
|
31
|
+
"@syncfusion/ej2-angular-blockeditor": "30.2",
|
32
|
+
"@syncfusion/ej2-angular-schedule": "30.2",
|
33
|
+
"@syncfusion/ej2-angular-spreadsheet": "30.2",
|
34
34
|
"ace-builds": "1.43",
|
35
35
|
"cookie": "^1.0.2",
|
36
36
|
"dayjs": "^1.11.13",
|
37
|
-
"firebase": "12.
|
37
|
+
"firebase": "12.1",
|
38
38
|
"hammerjs": "~2",
|
39
39
|
"ngx-cookie-service": "20",
|
40
40
|
"zone.js": "0.15",
|