@almadar/std 14.22.0 → 14.23.0
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.
|
@@ -488,22 +488,22 @@
|
|
|
488
488
|
"render-ui",
|
|
489
489
|
"main",
|
|
490
490
|
{
|
|
491
|
-
"direction": "vertical",
|
|
492
|
-
"className": "py-12",
|
|
493
491
|
"align": "center",
|
|
494
492
|
"children": [
|
|
495
493
|
{
|
|
496
494
|
"type": "spinner"
|
|
497
495
|
},
|
|
498
496
|
{
|
|
499
|
-
"variant": "caption",
|
|
500
|
-
"content": "Loading documents…",
|
|
501
497
|
"color": "muted",
|
|
498
|
+
"content": "Loading documents…",
|
|
499
|
+
"variant": "caption",
|
|
502
500
|
"type": "typography"
|
|
503
501
|
}
|
|
504
502
|
],
|
|
503
|
+
"type": "stack",
|
|
504
|
+
"direction": "vertical",
|
|
505
505
|
"gap": "md",
|
|
506
|
-
"
|
|
506
|
+
"className": "py-12"
|
|
507
507
|
}
|
|
508
508
|
]
|
|
509
509
|
]
|
|
@@ -517,22 +517,25 @@
|
|
|
517
517
|
"render-ui",
|
|
518
518
|
"main",
|
|
519
519
|
{
|
|
520
|
+
"direction": "vertical",
|
|
521
|
+
"type": "stack",
|
|
522
|
+
"gap": "md",
|
|
520
523
|
"children": [
|
|
521
524
|
{
|
|
522
525
|
"direction": "horizontal",
|
|
523
|
-
"type": "stack",
|
|
524
|
-
"gap": "sm",
|
|
525
526
|
"children": [
|
|
526
527
|
{
|
|
527
528
|
"name": "file-text",
|
|
528
529
|
"type": "icon"
|
|
529
530
|
},
|
|
530
531
|
{
|
|
531
|
-
"
|
|
532
|
+
"type": "typography",
|
|
532
533
|
"variant": "h3",
|
|
533
|
-
"
|
|
534
|
+
"content": "@config.title"
|
|
534
535
|
}
|
|
535
|
-
]
|
|
536
|
+
],
|
|
537
|
+
"type": "stack",
|
|
538
|
+
"gap": "sm"
|
|
536
539
|
},
|
|
537
540
|
{
|
|
538
541
|
"type": "divider"
|
|
@@ -540,16 +543,32 @@
|
|
|
540
543
|
{
|
|
541
544
|
"entity": "@payload.data",
|
|
542
545
|
"type": "data-grid",
|
|
546
|
+
"itemActions": [
|
|
547
|
+
{
|
|
548
|
+
"event": "OPEN",
|
|
549
|
+
"label": "Open",
|
|
550
|
+
"variant": "primary",
|
|
551
|
+
"icon": "edit"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"event": "PUBLISH",
|
|
555
|
+
"icon": "send",
|
|
556
|
+
"label": "Publish",
|
|
557
|
+
"variant": "secondary"
|
|
558
|
+
}
|
|
559
|
+
],
|
|
560
|
+
"cols": 1.0,
|
|
561
|
+
"gap": "sm",
|
|
543
562
|
"fields": [
|
|
544
563
|
{
|
|
545
|
-
"variant": "caption",
|
|
546
564
|
"name": "title",
|
|
565
|
+
"variant": "caption",
|
|
547
566
|
"label": "Title"
|
|
548
567
|
},
|
|
549
568
|
{
|
|
550
|
-
"
|
|
569
|
+
"name": "kind",
|
|
551
570
|
"label": "Kind",
|
|
552
|
-
"
|
|
571
|
+
"variant": "badge"
|
|
553
572
|
},
|
|
554
573
|
{
|
|
555
574
|
"variant": "badge",
|
|
@@ -557,37 +576,18 @@
|
|
|
557
576
|
"label": "Status"
|
|
558
577
|
},
|
|
559
578
|
{
|
|
560
|
-
"name": "version",
|
|
561
579
|
"label": "v",
|
|
580
|
+
"name": "version",
|
|
562
581
|
"variant": "caption"
|
|
563
582
|
},
|
|
564
583
|
{
|
|
565
|
-
"variant": "caption",
|
|
566
584
|
"label": "Updated",
|
|
585
|
+
"variant": "caption",
|
|
567
586
|
"name": "updatedAt"
|
|
568
587
|
}
|
|
569
|
-
],
|
|
570
|
-
"gap": "sm",
|
|
571
|
-
"cols": 1.0,
|
|
572
|
-
"itemActions": [
|
|
573
|
-
{
|
|
574
|
-
"event": "OPEN",
|
|
575
|
-
"variant": "primary",
|
|
576
|
-
"icon": "edit",
|
|
577
|
-
"label": "Open"
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
"event": "PUBLISH",
|
|
581
|
-
"variant": "secondary",
|
|
582
|
-
"label": "Publish",
|
|
583
|
-
"icon": "send"
|
|
584
|
-
}
|
|
585
588
|
]
|
|
586
589
|
}
|
|
587
|
-
]
|
|
588
|
-
"gap": "md",
|
|
589
|
-
"type": "stack",
|
|
590
|
-
"direction": "vertical"
|
|
590
|
+
]
|
|
591
591
|
}
|
|
592
592
|
]
|
|
593
593
|
]
|
|
@@ -667,22 +667,19 @@
|
|
|
667
667
|
"render-ui",
|
|
668
668
|
"main",
|
|
669
669
|
{
|
|
670
|
-
"direction": "vertical",
|
|
671
670
|
"gap": "md",
|
|
672
671
|
"type": "stack",
|
|
673
672
|
"children": [
|
|
674
673
|
{
|
|
675
|
-
"gap": "sm",
|
|
676
|
-
"direction": "horizontal",
|
|
677
674
|
"children": [
|
|
678
675
|
{
|
|
679
676
|
"name": "file-text",
|
|
680
677
|
"type": "icon"
|
|
681
678
|
},
|
|
682
679
|
{
|
|
683
|
-
"content": "@entity.title",
|
|
684
680
|
"variant": "h3",
|
|
685
|
-
"type": "typography"
|
|
681
|
+
"type": "typography",
|
|
682
|
+
"content": "@entity.title"
|
|
686
683
|
},
|
|
687
684
|
{
|
|
688
685
|
"variant": "secondary",
|
|
@@ -690,40 +687,43 @@
|
|
|
690
687
|
"type": "badge"
|
|
691
688
|
}
|
|
692
689
|
],
|
|
690
|
+
"direction": "horizontal",
|
|
691
|
+
"gap": "sm",
|
|
693
692
|
"type": "stack"
|
|
694
693
|
},
|
|
695
694
|
{
|
|
696
695
|
"type": "divider"
|
|
697
696
|
},
|
|
698
697
|
{
|
|
699
|
-
"initialBlocks": "@entity.blocksJson",
|
|
700
698
|
"type": "rich-block-editor",
|
|
701
|
-
"
|
|
702
|
-
"
|
|
703
|
-
"
|
|
699
|
+
"changeEvent": "BLOCKS_CHANGE",
|
|
700
|
+
"showToolbar": true,
|
|
701
|
+
"initialBlocks": "@entity.blocksJson",
|
|
702
|
+
"placeholder": "Start writing…"
|
|
704
703
|
},
|
|
705
704
|
{
|
|
706
|
-
"type": "stack",
|
|
707
705
|
"direction": "horizontal",
|
|
708
706
|
"gap": "sm",
|
|
709
707
|
"children": [
|
|
710
708
|
{
|
|
711
|
-
"
|
|
709
|
+
"action": "SAVE",
|
|
712
710
|
"label": "Save",
|
|
713
|
-
"icon": "save",
|
|
714
711
|
"variant": "primary",
|
|
715
|
-
"
|
|
712
|
+
"type": "button",
|
|
713
|
+
"icon": "save"
|
|
716
714
|
},
|
|
717
715
|
{
|
|
716
|
+
"variant": "secondary",
|
|
718
717
|
"type": "button",
|
|
718
|
+
"label": "Publish",
|
|
719
719
|
"action": "PUBLISH",
|
|
720
|
-
"
|
|
721
|
-
"icon": "send",
|
|
722
|
-
"label": "Publish"
|
|
720
|
+
"icon": "send"
|
|
723
721
|
}
|
|
724
|
-
]
|
|
722
|
+
],
|
|
723
|
+
"type": "stack"
|
|
725
724
|
}
|
|
726
|
-
]
|
|
725
|
+
],
|
|
726
|
+
"direction": "vertical"
|
|
727
727
|
}
|
|
728
728
|
]
|
|
729
729
|
]
|
|
@@ -900,8 +900,8 @@
|
|
|
900
900
|
"@entity",
|
|
901
901
|
{
|
|
902
902
|
"emit": {
|
|
903
|
-
"
|
|
904
|
-
"
|
|
903
|
+
"success": "DocumentPublished",
|
|
904
|
+
"failure": "DocumentSaveFailed"
|
|
905
905
|
}
|
|
906
906
|
}
|
|
907
907
|
]
|
|
@@ -916,8 +916,8 @@
|
|
|
916
916
|
"render-ui",
|
|
917
917
|
"main",
|
|
918
918
|
{
|
|
919
|
-
"variant": "success",
|
|
920
919
|
"type": "alert",
|
|
920
|
+
"variant": "success",
|
|
921
921
|
"message": "Saved"
|
|
922
922
|
}
|
|
923
923
|
]
|
|
@@ -933,8 +933,8 @@
|
|
|
933
933
|
"Document",
|
|
934
934
|
{
|
|
935
935
|
"emit": {
|
|
936
|
-
"
|
|
937
|
-
"
|
|
936
|
+
"failure": "DocumentLoadFailed",
|
|
937
|
+
"success": "DocumentLoaded"
|
|
938
938
|
}
|
|
939
939
|
}
|
|
940
940
|
]
|
|
@@ -949,9 +949,9 @@
|
|
|
949
949
|
"render-ui",
|
|
950
950
|
"main",
|
|
951
951
|
{
|
|
952
|
-
"message": "@payload.error",
|
|
953
952
|
"type": "alert",
|
|
954
|
-
"variant": "error"
|
|
953
|
+
"variant": "error",
|
|
954
|
+
"message": "@payload.error"
|
|
955
955
|
}
|
|
956
956
|
]
|
|
957
957
|
]
|
|
@@ -966,8 +966,8 @@
|
|
|
966
966
|
"Document",
|
|
967
967
|
{
|
|
968
968
|
"emit": {
|
|
969
|
-
"
|
|
970
|
-
"
|
|
969
|
+
"failure": "DocumentLoadFailed",
|
|
970
|
+
"success": "DocumentLoaded"
|
|
971
971
|
}
|
|
972
972
|
}
|
|
973
973
|
],
|
|
@@ -975,8 +975,8 @@
|
|
|
975
975
|
"render-ui",
|
|
976
976
|
"main",
|
|
977
977
|
{
|
|
978
|
-
"
|
|
979
|
-
"
|
|
978
|
+
"type": "spinner",
|
|
979
|
+
"size": "sm"
|
|
980
980
|
}
|
|
981
981
|
]
|
|
982
982
|
]
|
|
@@ -1005,4 +1005,4 @@
|
|
|
1005
1005
|
]
|
|
1006
1006
|
}
|
|
1007
1007
|
]
|
|
1008
|
-
}
|
|
1008
|
+
}
|
|
@@ -488,22 +488,22 @@
|
|
|
488
488
|
"render-ui",
|
|
489
489
|
"main",
|
|
490
490
|
{
|
|
491
|
-
"direction": "vertical",
|
|
492
|
-
"className": "py-12",
|
|
493
491
|
"align": "center",
|
|
494
492
|
"children": [
|
|
495
493
|
{
|
|
496
494
|
"type": "spinner"
|
|
497
495
|
},
|
|
498
496
|
{
|
|
499
|
-
"variant": "caption",
|
|
500
|
-
"content": "Loading documents…",
|
|
501
497
|
"color": "muted",
|
|
498
|
+
"content": "Loading documents…",
|
|
499
|
+
"variant": "caption",
|
|
502
500
|
"type": "typography"
|
|
503
501
|
}
|
|
504
502
|
],
|
|
503
|
+
"type": "stack",
|
|
504
|
+
"direction": "vertical",
|
|
505
505
|
"gap": "md",
|
|
506
|
-
"
|
|
506
|
+
"className": "py-12"
|
|
507
507
|
}
|
|
508
508
|
]
|
|
509
509
|
]
|
|
@@ -517,22 +517,25 @@
|
|
|
517
517
|
"render-ui",
|
|
518
518
|
"main",
|
|
519
519
|
{
|
|
520
|
+
"direction": "vertical",
|
|
521
|
+
"type": "stack",
|
|
522
|
+
"gap": "md",
|
|
520
523
|
"children": [
|
|
521
524
|
{
|
|
522
525
|
"direction": "horizontal",
|
|
523
|
-
"type": "stack",
|
|
524
|
-
"gap": "sm",
|
|
525
526
|
"children": [
|
|
526
527
|
{
|
|
527
528
|
"name": "file-text",
|
|
528
529
|
"type": "icon"
|
|
529
530
|
},
|
|
530
531
|
{
|
|
531
|
-
"
|
|
532
|
+
"type": "typography",
|
|
532
533
|
"variant": "h3",
|
|
533
|
-
"
|
|
534
|
+
"content": "@config.title"
|
|
534
535
|
}
|
|
535
|
-
]
|
|
536
|
+
],
|
|
537
|
+
"type": "stack",
|
|
538
|
+
"gap": "sm"
|
|
536
539
|
},
|
|
537
540
|
{
|
|
538
541
|
"type": "divider"
|
|
@@ -540,16 +543,32 @@
|
|
|
540
543
|
{
|
|
541
544
|
"entity": "@payload.data",
|
|
542
545
|
"type": "data-grid",
|
|
546
|
+
"itemActions": [
|
|
547
|
+
{
|
|
548
|
+
"event": "OPEN",
|
|
549
|
+
"label": "Open",
|
|
550
|
+
"variant": "primary",
|
|
551
|
+
"icon": "edit"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"event": "PUBLISH",
|
|
555
|
+
"icon": "send",
|
|
556
|
+
"label": "Publish",
|
|
557
|
+
"variant": "secondary"
|
|
558
|
+
}
|
|
559
|
+
],
|
|
560
|
+
"cols": 1.0,
|
|
561
|
+
"gap": "sm",
|
|
543
562
|
"fields": [
|
|
544
563
|
{
|
|
545
|
-
"variant": "caption",
|
|
546
564
|
"name": "title",
|
|
565
|
+
"variant": "caption",
|
|
547
566
|
"label": "Title"
|
|
548
567
|
},
|
|
549
568
|
{
|
|
550
|
-
"
|
|
569
|
+
"name": "kind",
|
|
551
570
|
"label": "Kind",
|
|
552
|
-
"
|
|
571
|
+
"variant": "badge"
|
|
553
572
|
},
|
|
554
573
|
{
|
|
555
574
|
"variant": "badge",
|
|
@@ -557,37 +576,18 @@
|
|
|
557
576
|
"label": "Status"
|
|
558
577
|
},
|
|
559
578
|
{
|
|
560
|
-
"name": "version",
|
|
561
579
|
"label": "v",
|
|
580
|
+
"name": "version",
|
|
562
581
|
"variant": "caption"
|
|
563
582
|
},
|
|
564
583
|
{
|
|
565
|
-
"variant": "caption",
|
|
566
584
|
"label": "Updated",
|
|
585
|
+
"variant": "caption",
|
|
567
586
|
"name": "updatedAt"
|
|
568
587
|
}
|
|
569
|
-
],
|
|
570
|
-
"gap": "sm",
|
|
571
|
-
"cols": 1.0,
|
|
572
|
-
"itemActions": [
|
|
573
|
-
{
|
|
574
|
-
"event": "OPEN",
|
|
575
|
-
"variant": "primary",
|
|
576
|
-
"icon": "edit",
|
|
577
|
-
"label": "Open"
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
"event": "PUBLISH",
|
|
581
|
-
"variant": "secondary",
|
|
582
|
-
"label": "Publish",
|
|
583
|
-
"icon": "send"
|
|
584
|
-
}
|
|
585
588
|
]
|
|
586
589
|
}
|
|
587
|
-
]
|
|
588
|
-
"gap": "md",
|
|
589
|
-
"type": "stack",
|
|
590
|
-
"direction": "vertical"
|
|
590
|
+
]
|
|
591
591
|
}
|
|
592
592
|
]
|
|
593
593
|
]
|
|
@@ -667,22 +667,19 @@
|
|
|
667
667
|
"render-ui",
|
|
668
668
|
"main",
|
|
669
669
|
{
|
|
670
|
-
"direction": "vertical",
|
|
671
670
|
"gap": "md",
|
|
672
671
|
"type": "stack",
|
|
673
672
|
"children": [
|
|
674
673
|
{
|
|
675
|
-
"gap": "sm",
|
|
676
|
-
"direction": "horizontal",
|
|
677
674
|
"children": [
|
|
678
675
|
{
|
|
679
676
|
"name": "file-text",
|
|
680
677
|
"type": "icon"
|
|
681
678
|
},
|
|
682
679
|
{
|
|
683
|
-
"content": "@entity.title",
|
|
684
680
|
"variant": "h3",
|
|
685
|
-
"type": "typography"
|
|
681
|
+
"type": "typography",
|
|
682
|
+
"content": "@entity.title"
|
|
686
683
|
},
|
|
687
684
|
{
|
|
688
685
|
"variant": "secondary",
|
|
@@ -690,40 +687,43 @@
|
|
|
690
687
|
"type": "badge"
|
|
691
688
|
}
|
|
692
689
|
],
|
|
690
|
+
"direction": "horizontal",
|
|
691
|
+
"gap": "sm",
|
|
693
692
|
"type": "stack"
|
|
694
693
|
},
|
|
695
694
|
{
|
|
696
695
|
"type": "divider"
|
|
697
696
|
},
|
|
698
697
|
{
|
|
699
|
-
"initialBlocks": "@entity.blocksJson",
|
|
700
698
|
"type": "rich-block-editor",
|
|
701
|
-
"
|
|
702
|
-
"
|
|
703
|
-
"
|
|
699
|
+
"changeEvent": "BLOCKS_CHANGE",
|
|
700
|
+
"showToolbar": true,
|
|
701
|
+
"initialBlocks": "@entity.blocksJson",
|
|
702
|
+
"placeholder": "Start writing…"
|
|
704
703
|
},
|
|
705
704
|
{
|
|
706
|
-
"type": "stack",
|
|
707
705
|
"direction": "horizontal",
|
|
708
706
|
"gap": "sm",
|
|
709
707
|
"children": [
|
|
710
708
|
{
|
|
711
|
-
"
|
|
709
|
+
"action": "SAVE",
|
|
712
710
|
"label": "Save",
|
|
713
|
-
"icon": "save",
|
|
714
711
|
"variant": "primary",
|
|
715
|
-
"
|
|
712
|
+
"type": "button",
|
|
713
|
+
"icon": "save"
|
|
716
714
|
},
|
|
717
715
|
{
|
|
716
|
+
"variant": "secondary",
|
|
718
717
|
"type": "button",
|
|
718
|
+
"label": "Publish",
|
|
719
719
|
"action": "PUBLISH",
|
|
720
|
-
"
|
|
721
|
-
"icon": "send",
|
|
722
|
-
"label": "Publish"
|
|
720
|
+
"icon": "send"
|
|
723
721
|
}
|
|
724
|
-
]
|
|
722
|
+
],
|
|
723
|
+
"type": "stack"
|
|
725
724
|
}
|
|
726
|
-
]
|
|
725
|
+
],
|
|
726
|
+
"direction": "vertical"
|
|
727
727
|
}
|
|
728
728
|
]
|
|
729
729
|
]
|
|
@@ -900,8 +900,8 @@
|
|
|
900
900
|
"@entity",
|
|
901
901
|
{
|
|
902
902
|
"emit": {
|
|
903
|
-
"
|
|
904
|
-
"
|
|
903
|
+
"success": "DocumentPublished",
|
|
904
|
+
"failure": "DocumentSaveFailed"
|
|
905
905
|
}
|
|
906
906
|
}
|
|
907
907
|
]
|
|
@@ -916,8 +916,8 @@
|
|
|
916
916
|
"render-ui",
|
|
917
917
|
"main",
|
|
918
918
|
{
|
|
919
|
-
"variant": "success",
|
|
920
919
|
"type": "alert",
|
|
920
|
+
"variant": "success",
|
|
921
921
|
"message": "Saved"
|
|
922
922
|
}
|
|
923
923
|
]
|
|
@@ -933,8 +933,8 @@
|
|
|
933
933
|
"Document",
|
|
934
934
|
{
|
|
935
935
|
"emit": {
|
|
936
|
-
"
|
|
937
|
-
"
|
|
936
|
+
"failure": "DocumentLoadFailed",
|
|
937
|
+
"success": "DocumentLoaded"
|
|
938
938
|
}
|
|
939
939
|
}
|
|
940
940
|
]
|
|
@@ -949,9 +949,9 @@
|
|
|
949
949
|
"render-ui",
|
|
950
950
|
"main",
|
|
951
951
|
{
|
|
952
|
-
"message": "@payload.error",
|
|
953
952
|
"type": "alert",
|
|
954
|
-
"variant": "error"
|
|
953
|
+
"variant": "error",
|
|
954
|
+
"message": "@payload.error"
|
|
955
955
|
}
|
|
956
956
|
]
|
|
957
957
|
]
|
|
@@ -966,8 +966,8 @@
|
|
|
966
966
|
"Document",
|
|
967
967
|
{
|
|
968
968
|
"emit": {
|
|
969
|
-
"
|
|
970
|
-
"
|
|
969
|
+
"failure": "DocumentLoadFailed",
|
|
970
|
+
"success": "DocumentLoaded"
|
|
971
971
|
}
|
|
972
972
|
}
|
|
973
973
|
],
|
|
@@ -975,8 +975,8 @@
|
|
|
975
975
|
"render-ui",
|
|
976
976
|
"main",
|
|
977
977
|
{
|
|
978
|
-
"
|
|
979
|
-
"
|
|
978
|
+
"type": "spinner",
|
|
979
|
+
"size": "sm"
|
|
980
980
|
}
|
|
981
981
|
]
|
|
982
982
|
]
|
|
@@ -1005,4 +1005,4 @@
|
|
|
1005
1005
|
]
|
|
1006
1006
|
}
|
|
1007
1007
|
]
|
|
1008
|
-
}
|
|
1008
|
+
}
|