@dao42/d42paas-front 0.7.60 → 0.7.63
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/dist/{editor.d.ts → DaoPaaS.d.ts} +30 -13
- package/dist/DaoPaaS.es.js +111792 -122653
- package/dist/DaoPaaS.umd.js +1148 -1693
- package/dist/style.css +1 -1
- package/package.json +15 -16
|
@@ -372,21 +372,21 @@ export interface Options {
|
|
|
372
372
|
/**
|
|
373
373
|
* The service worker origin
|
|
374
374
|
*/
|
|
375
|
-
serviceWorkerOrigin?: string;
|
|
375
|
+
// serviceWorkerOrigin?: string;
|
|
376
376
|
|
|
377
377
|
/**
|
|
378
378
|
*
|
|
379
379
|
* init the playground with the mode.
|
|
380
380
|
*
|
|
381
381
|
*/
|
|
382
|
-
mode?: Mode;
|
|
382
|
+
// mode?: Mode;
|
|
383
383
|
|
|
384
384
|
/**
|
|
385
385
|
*
|
|
386
386
|
* init the playground with the paasDomain.
|
|
387
387
|
*
|
|
388
388
|
*/
|
|
389
|
-
paasDomain: string;
|
|
389
|
+
// paasDomain: string;
|
|
390
390
|
|
|
391
391
|
/**
|
|
392
392
|
*
|
|
@@ -407,7 +407,7 @@ export interface Options {
|
|
|
407
407
|
* userId for the playground.
|
|
408
408
|
*
|
|
409
409
|
*/
|
|
410
|
-
userId: string;
|
|
410
|
+
// userId: string;
|
|
411
411
|
|
|
412
412
|
/**
|
|
413
413
|
*
|
|
@@ -449,7 +449,7 @@ export interface Options {
|
|
|
449
449
|
/**
|
|
450
450
|
* @deprecated to fix the issue of the playground.
|
|
451
451
|
*
|
|
452
|
-
* render?: () => TComponent[]; keyof
|
|
452
|
+
* render?: () => TComponent[]; keyof Dao_FrontType.CRDT[]
|
|
453
453
|
*/
|
|
454
454
|
}
|
|
455
455
|
|
|
@@ -497,6 +497,22 @@ export class DaoPaaS {
|
|
|
497
497
|
|
|
498
498
|
get userList(): UserInfo[];
|
|
499
499
|
|
|
500
|
+
/**
|
|
501
|
+
*
|
|
502
|
+
* Error listener to the application.
|
|
503
|
+
* @param The error message block
|
|
504
|
+
* @event
|
|
505
|
+
*/
|
|
506
|
+
onError?: (error: ErrorType) => void;
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
*
|
|
510
|
+
* Message listener to the application.
|
|
511
|
+
* @param MessageType
|
|
512
|
+
* @event
|
|
513
|
+
*/
|
|
514
|
+
onMessage?: (message: MessageType) => void;
|
|
515
|
+
|
|
500
516
|
/**
|
|
501
517
|
*
|
|
502
518
|
* Replaying method for global calling.
|
|
@@ -549,7 +565,7 @@ export class DaoPaaS {
|
|
|
549
565
|
/**
|
|
550
566
|
*
|
|
551
567
|
* async method to set Replayers.
|
|
552
|
-
* @param {keyof
|
|
568
|
+
* @param {keyof Dao_FrontType.CRDT[]} arg
|
|
553
569
|
*
|
|
554
570
|
*/
|
|
555
571
|
setReplayers(arg: string[]): void;
|
|
@@ -590,7 +606,6 @@ export class DaoPaaS {
|
|
|
590
606
|
* ```ts
|
|
591
607
|
* Dao.Editor({
|
|
592
608
|
* container: '#editor',
|
|
593
|
-
* item: 'editor',
|
|
594
609
|
* props: {...EditorProps}
|
|
595
610
|
* });
|
|
596
611
|
```
|
|
@@ -599,7 +614,7 @@ export class DaoPaaS {
|
|
|
599
614
|
*
|
|
600
615
|
*
|
|
601
616
|
*/
|
|
602
|
-
Editor(args: Component<EditorProps>): void;
|
|
617
|
+
Editor(args: Omit<Component<EditorProps>, 'item'>): void;
|
|
603
618
|
|
|
604
619
|
/**
|
|
605
620
|
*
|
|
@@ -609,7 +624,7 @@ export class DaoPaaS {
|
|
|
609
624
|
* @param Component
|
|
610
625
|
*
|
|
611
626
|
*/
|
|
612
|
-
Page(args: Component<TreeProps>): void;
|
|
627
|
+
Page(args: Omit<Component<TreeProps>, 'item'>): void;
|
|
613
628
|
|
|
614
629
|
/**
|
|
615
630
|
*
|
|
@@ -628,7 +643,7 @@ export class DaoPaaS {
|
|
|
628
643
|
* @param Component
|
|
629
644
|
*
|
|
630
645
|
*/
|
|
631
|
-
Tree(args: Component<TreeProps>): void;
|
|
646
|
+
Tree(args: Omit<Component<TreeProps>, 'item'>): void;
|
|
632
647
|
|
|
633
648
|
/**
|
|
634
649
|
*
|
|
@@ -648,7 +663,7 @@ export class DaoPaaS {
|
|
|
648
663
|
* @param Component
|
|
649
664
|
*
|
|
650
665
|
*/
|
|
651
|
-
Shell(args: Component<ConsoleOrShellProps>): void;
|
|
666
|
+
Shell(args: Omit<Component<ConsoleOrShellProps>, 'item'>): void;
|
|
652
667
|
|
|
653
668
|
/**
|
|
654
669
|
*
|
|
@@ -667,7 +682,7 @@ export class DaoPaaS {
|
|
|
667
682
|
* @param Component
|
|
668
683
|
*
|
|
669
684
|
*/
|
|
670
|
-
Browser(args: Component<BrowserProps>): void;
|
|
685
|
+
Browser(args: Omit<Component<BrowserProps>, 'item'>): void;
|
|
671
686
|
|
|
672
687
|
/**
|
|
673
688
|
*
|
|
@@ -687,5 +702,7 @@ export class DaoPaaS {
|
|
|
687
702
|
* @param Component
|
|
688
703
|
*
|
|
689
704
|
*/
|
|
690
|
-
Console(args: Component<ConsoleOrShellProps>): void;
|
|
705
|
+
Console(args: Omit<Component<ConsoleOrShellProps>, 'item'>): void;
|
|
706
|
+
|
|
707
|
+
mapRender(components: Component<ComponentType>[]): void;
|
|
691
708
|
}
|