@bizdoc/core 3.10.1 → 3.10.3
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 +1314 -1305
- package/fesm2022/bizdoc-core.mjs.map +1 -1
- package/index.d.ts +27 -28
- 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,8 @@ interface Message {
|
|
379
379
|
recipientId?: number;
|
380
380
|
documentId?: number;
|
381
381
|
formId?: string;
|
382
|
+
content?: T;
|
383
|
+
contentType: string;
|
382
384
|
}
|
383
385
|
declare type NotificationType = 'Commented' | 'CubeAnomaly' | 'Escalated' | 'Liked' | 'StateChanged' | 'Nudge' | 'Invite' | 'TextMessage' | 'ContentMessage' | 'UpcomingEvent' | 'JobProgress' | 'Tagged';
|
384
386
|
interface State {
|
@@ -1263,7 +1265,7 @@ declare class TranslateService {
|
|
1263
1265
|
private _gender?;
|
1264
1266
|
get culture(): string;
|
1265
1267
|
constructor(_session: SessionService, _http: HttpClient);
|
1266
|
-
cldr(): Promise<
|
1268
|
+
cldr(): Promise<void> | Promise<any[]>;
|
1267
1269
|
get(key: string, ...args: (string | number)[]): string;
|
1268
1270
|
personalize(key: string, gender?: Gender, ...args: any[]): string;
|
1269
1271
|
i18n(key: string): string;
|
@@ -7238,7 +7240,8 @@ declare class CubeDocumentsGridComponent implements ReportComponent<Model$9>, On
|
|
7238
7240
|
declare class NotificationRef<T = any> {
|
7239
7241
|
private _message;
|
7240
7242
|
constructor(_message: Message);
|
7241
|
-
get message():
|
7243
|
+
get message(): Message;
|
7244
|
+
get content(): T;
|
7242
7245
|
}
|
7243
7246
|
|
7244
7247
|
declare class LongRunningTaskNotification implements OnInit {
|
@@ -7252,12 +7255,12 @@ declare class LongRunningTaskNotification implements OnInit {
|
|
7252
7255
|
static ɵfac: i0.ɵɵFactoryDeclaration<LongRunningTaskNotification, never>;
|
7253
7256
|
static ɵcmp: i0.ɵɵComponentDeclaration<LongRunningTaskNotification, "ng-component", never, {}, {}, never, never, false, never>;
|
7254
7257
|
}
|
7255
|
-
interface ReportTask
|
7258
|
+
interface ReportTask {
|
7256
7259
|
name: string;
|
7257
7260
|
value: number;
|
7258
7261
|
}
|
7259
7262
|
|
7260
|
-
declare abstract class NotificationBase<T
|
7263
|
+
declare abstract class NotificationBase<T> {
|
7261
7264
|
protected _router: RouterImpl;
|
7262
7265
|
protected _session: SessionService;
|
7263
7266
|
protected _translate: TranslateService;
|
@@ -7272,13 +7275,12 @@ declare abstract class NotificationBase<T extends Message> {
|
|
7272
7275
|
/** */
|
7273
7276
|
declare class TaggedNotification extends NotificationBase<Tagged> implements OnInit {
|
7274
7277
|
private readonly _accounts;
|
7275
|
-
|
7276
|
-
message: string;
|
7278
|
+
private readonly _elemenRef;
|
7277
7279
|
ngOnInit(): void;
|
7278
7280
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaggedNotification, never>;
|
7279
7281
|
static ɵcmp: i0.ɵɵComponentDeclaration<TaggedNotification, "bizdoc-notify-tagged", never, {}, {}, never, never, false, never>;
|
7280
7282
|
}
|
7281
|
-
interface Tagged
|
7283
|
+
interface Tagged {
|
7282
7284
|
who: string;
|
7283
7285
|
}
|
7284
7286
|
|
@@ -7292,9 +7294,10 @@ declare class CommentedNotification extends NotificationBase<Commented> implemen
|
|
7292
7294
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommentedNotification, never>;
|
7293
7295
|
static ɵcmp: i0.ɵɵComponentDeclaration<CommentedNotification, "ng-component", never, {}, {}, never, never, false, never>;
|
7294
7296
|
}
|
7295
|
-
interface Commented
|
7297
|
+
interface Commented {
|
7296
7298
|
userIds: string[];
|
7297
|
-
|
7299
|
+
commentId: number;
|
7300
|
+
text?: string;
|
7298
7301
|
}
|
7299
7302
|
|
7300
7303
|
declare class NudgeNotification extends NotificationBase<Nudge> implements OnInit {
|
@@ -7304,7 +7307,7 @@ declare class NudgeNotification extends NotificationBase<Nudge> implements OnIni
|
|
7304
7307
|
static ɵfac: i0.ɵɵFactoryDeclaration<NudgeNotification, never>;
|
7305
7308
|
static ɵcmp: i0.ɵɵComponentDeclaration<NudgeNotification, "ng-component", never, {}, {}, never, never, false, never>;
|
7306
7309
|
}
|
7307
|
-
interface Nudge
|
7310
|
+
interface Nudge {
|
7308
7311
|
expire: Date;
|
7309
7312
|
}
|
7310
7313
|
|
@@ -7318,7 +7321,7 @@ declare class InviteNotification {
|
|
7318
7321
|
static ɵfac: i0.ɵɵFactoryDeclaration<InviteNotification, never>;
|
7319
7322
|
static ɵcmp: i0.ɵɵComponentDeclaration<InviteNotification, "ng-component", never, {}, {}, never, never, false, never>;
|
7320
7323
|
}
|
7321
|
-
interface Invite
|
7324
|
+
interface Invite {
|
7322
7325
|
message?: string;
|
7323
7326
|
due?: Date;
|
7324
7327
|
}
|
@@ -7330,31 +7333,27 @@ declare class ContentMessageNotification extends NotificationBase<ContentMessage
|
|
7330
7333
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContentMessageNotification, never>;
|
7331
7334
|
static ɵcmp: i0.ɵɵComponentDeclaration<ContentMessageNotification, "bizdoc-notify-content", never, {}, {}, never, never, false, never>;
|
7332
7335
|
}
|
7333
|
-
interface ContentMessage
|
7334
|
-
content?: T;
|
7335
|
-
contentType?: string;
|
7336
|
+
interface ContentMessage {
|
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.3",
|
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",
|