@supersoniks/concorde 4.9.92 → 4.9.94
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/ai/cursor/rules/concorde.mdc +7 -0
- package/ai/jetbrains/rules/concorde.md +6 -0
- package/ai/skills/concorde/SKILL.md +48 -0
- package/build-infos.json +1 -1
- package/concorde-core.bundle.js +299 -292
- package/concorde-core.es.js +10139 -6035
- package/dist/concorde-core.bundle.js +299 -292
- package/dist/concorde-core.es.js +10139 -6035
- package/dist/docs-mock-api-sw.js +110 -0
- package/dist/docs-mock-api-sw.js.map +3 -3
- package/dist/js/core/components/functional/functional.js +1 -0
- package/dist/js/core/components/functional/functional.js.map +1 -1
- package/dist/js/core/components/functional/jsonata/jsonata.js +119 -0
- package/dist/js/core/components/functional/jsonata/jsonata.js.map +1 -0
- package/dist/js/core/components/ui/button/button.js +1 -1
- package/dist/js/core/components/ui/button/button.js.map +1 -1
- package/dist/js/core/decorators/Subscriber.js +1 -0
- package/dist/js/core/decorators/Subscriber.js.map +1 -1
- package/dist/js/core/decorators/api.js +108 -16
- package/dist/js/core/decorators/api.js.map +1 -1
- package/dist/js/core/decorators/subscriber/derive.js +60 -0
- package/dist/js/core/decorators/subscriber/derive.js.map +1 -0
- package/dist/js/core/utils/api.js +29 -8
- package/dist/js/core/utils/api.js.map +1 -1
- package/dist/js/core/utils/derive.js +246 -0
- package/dist/js/core/utils/derive.js.map +1 -0
- package/dist/js/core/utils/jsonataHelpers.js +69 -0
- package/dist/js/core/utils/jsonataHelpers.js.map +1 -0
- package/dist/js/core/utils/jsonataRuntime.js +75 -0
- package/dist/js/core/utils/jsonataRuntime.js.map +1 -0
- package/dist/js/utils.js +2 -0
- package/dist/js/utils.js.map +1 -1
- package/dist/types/core/components/functional/functional.d.ts +1 -0
- package/dist/types/core/components/functional/functional.d.ts.map +1 -1
- package/dist/types/core/components/functional/jsonata/jsonata.d.ts +29 -0
- package/dist/types/core/components/functional/jsonata/jsonata.d.ts.map +1 -0
- package/dist/types/core/components/ui/button/button.d.ts +1 -1
- package/dist/types/core/components/ui/button/button.d.ts.map +1 -1
- package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts +3 -3
- package/dist/types/core/components/ui/form/input/input.d.ts +3 -3
- package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts +3 -3
- package/dist/types/core/components/ui/form/textarea/textarea.d.ts +3 -3
- package/dist/types/core/decorators/Subscriber.d.ts +2 -0
- package/dist/types/core/decorators/Subscriber.d.ts.map +1 -1
- package/dist/types/core/decorators/api.d.ts +21 -12
- package/dist/types/core/decorators/api.d.ts.map +1 -1
- package/dist/types/core/decorators/subscriber/derive.d.ts +30 -0
- package/dist/types/core/decorators/subscriber/derive.d.ts.map +1 -0
- package/dist/types/core/utils/api.d.ts +1 -1
- package/dist/types/core/utils/api.d.ts.map +1 -1
- package/dist/types/core/utils/derive.d.ts +40 -0
- package/dist/types/core/utils/derive.d.ts.map +1 -0
- package/dist/types/core/utils/jsonataHelpers.d.ts +15 -0
- package/dist/types/core/utils/jsonataHelpers.d.ts.map +1 -0
- package/dist/types/core/utils/jsonataRuntime.d.ts +13 -0
- package/dist/types/core/utils/jsonataRuntime.d.ts.map +1 -0
- package/dist/types/mixins.d.ts +3 -3
- package/dist/types/utils.d.ts +2 -0
- package/dist/types/utils.d.ts.map +1 -1
- package/docs/assets/{index-DURr6O71.js → index-DpIkksht.js} +652 -479
- package/docs/crawl/docs/_decorators/get.html +27 -6
- package/docs/crawl/docs/_decorators/patch.html +6 -0
- package/docs/crawl/docs/_decorators/post.html +8 -0
- package/docs/crawl/docs/_decorators/put.html +6 -0
- package/docs/crawl/hubs/decorators.html +36 -31
- package/docs/crawl/hubs/remote-data.html +36 -31
- package/docs/index.html +1 -1
- package/docs/llms-full.txt +47 -3
- package/docs/src/docs/_decorators/get.md +31 -0
- package/docs/src/docs/_decorators/patch.md +9 -0
- package/docs/src/docs/_decorators/post.md +11 -0
- package/docs/src/docs/_decorators/put.md +9 -0
- package/docs/src/docs/search/docs-search.json +120 -5
- package/docs/src/tsconfig.json +268 -268
- package/package.json +28 -3
- package/public/docs-mock-api-sw.js +110 -0
- package/public/docs-mock-api-sw.js.map +3 -3
- package/src/core/components/functional/functional.ts +1 -0
- package/src/core/components/functional/jsonata/jsonata.md +56 -0
- package/src/core/components/functional/jsonata/jsonata.spec.ts +202 -0
- package/src/core/components/functional/jsonata/jsonata.ts +116 -0
- package/src/core/components/ui/button/button.ts +2 -2
- package/src/core/decorators/Subscriber.ts +2 -0
- package/src/core/decorators/api.post.spec.ts +99 -4
- package/src/core/decorators/api.spec.ts +90 -0
- package/src/core/decorators/api.ts +212 -92
- package/src/core/decorators/subscriber/derive.ts +95 -0
- package/src/core/utils/api.spec.ts +73 -0
- package/src/core/utils/api.ts +44 -11
- package/src/core/utils/derive.spec.ts +190 -0
- package/src/core/utils/derive.ts +357 -0
- package/src/core/utils/jsonataHelpers.ts +100 -0
- package/src/core/utils/jsonataRuntime.ts +88 -0
- package/src/docs/_core-concept/dataFlow.md +9 -0
- package/src/docs/_decorators/get.md +31 -0
- package/src/docs/_decorators/patch.md +9 -0
- package/src/docs/_decorators/post.md +11 -0
- package/src/docs/_decorators/put.md +9 -0
- package/src/docs/_misc/docs-mock-api.md +3 -0
- package/src/docs/components/docs-demo-sources.ts +40 -0
- package/src/docs/docs.ts +1 -0
- package/src/docs/example/decorators-demo-post.ts +70 -0
- package/src/docs/example/decorators-demo-subscribe-publish-get-demos.ts +59 -0
- package/src/docs/example/docs-jsonata-demos.ts +128 -0
- package/src/docs/mock-api/fixtures-jsonata.ts +131 -0
- package/src/docs/mock-api/router.ts +26 -0
- package/src/docs/navigation/navigation.ts +4 -0
- package/src/docs/search/docs-search.json +300 -5
- package/src/tsconfig.json +18 -0
- package/src/tsconfig.tsbuildinfo +1 -1
- package/src/utils.ts +13 -0
|
@@ -549,6 +549,171 @@
|
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
551
|
},
|
|
552
|
+
{
|
|
553
|
+
"search": "Jsonata",
|
|
554
|
+
"files": {
|
|
555
|
+
"core/components/functional/jsonata/jsonata.md": {
|
|
556
|
+
"title": "Jsonata",
|
|
557
|
+
"hashes": {
|
|
558
|
+
"jsonata": {
|
|
559
|
+
"count": 1,
|
|
560
|
+
"title": "",
|
|
561
|
+
"type": "page"
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"search": "sonic-jsonata adapts the derive primitive: it watches input DataProviders (and optional form variables), evaluates a JSONata expression, and publishes a read-only output DataProvider.\n",
|
|
569
|
+
"files": {
|
|
570
|
+
"core/components/functional/jsonata/jsonata.md": {
|
|
571
|
+
"title": "Jsonata",
|
|
572
|
+
"hashes": {
|
|
573
|
+
"jsonata": {
|
|
574
|
+
"count": 1,
|
|
575
|
+
"title": "",
|
|
576
|
+
"type": "paragraph"
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"search": "Unlike sonic-mix (bidirectional composition, no compute), sonic-jsonata is unidirectional (fetch → compute → display).\n",
|
|
584
|
+
"files": {
|
|
585
|
+
"core/components/functional/jsonata/jsonata.md": {
|
|
586
|
+
"title": "Jsonata",
|
|
587
|
+
"hashes": {
|
|
588
|
+
"jsonata": {
|
|
589
|
+
"count": 1,
|
|
590
|
+
"title": "",
|
|
591
|
+
"type": "paragraph"
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"search": "Seed sessions via mock API or imperative set, then:\n",
|
|
599
|
+
"files": {
|
|
600
|
+
"core/components/functional/jsonata/jsonata.md": {
|
|
601
|
+
"title": "Jsonata",
|
|
602
|
+
"hashes": {
|
|
603
|
+
"sdui-example-palmarès": {
|
|
604
|
+
"count": 1,
|
|
605
|
+
"title": "SDUI example (palmarès)",
|
|
606
|
+
"type": "paragraph"
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"search": "No DOM, no network, no eval.\n",
|
|
614
|
+
"files": {
|
|
615
|
+
"core/components/functional/jsonata/jsonata.md": {
|
|
616
|
+
"title": "Jsonata",
|
|
617
|
+
"hashes": {
|
|
618
|
+
"helpers-whitelist": {
|
|
619
|
+
"count": 1,
|
|
620
|
+
"title": "Helpers (whitelist)",
|
|
621
|
+
"type": "paragraph"
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"search": "type Session = { edito: { title: string }; stock: { internal: { revenue: number } } };\ntype Row = { titre: string; ca: number };\n",
|
|
629
|
+
"files": {
|
|
630
|
+
"core/components/functional/jsonata/jsonata.md": {
|
|
631
|
+
"title": "Jsonata",
|
|
632
|
+
"hashes": {
|
|
633
|
+
"typescript--derive--dataproviderkey": {
|
|
634
|
+
"count": 1,
|
|
635
|
+
"title": "TypeScript — `derive` + `DataProviderKey`",
|
|
636
|
+
"type": "paragraph"
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"search": "const sessions = new DataProviderKey<Session[]>("sessions");\nconst form = new DataProviderKey<{ top: number }>("lbForm");\nconst palmares = new DataProviderKey<Row[]>("palmares");\n",
|
|
644
|
+
"files": {
|
|
645
|
+
"core/components/functional/jsonata/jsonata.md": {
|
|
646
|
+
"title": "Jsonata",
|
|
647
|
+
"hashes": {
|
|
648
|
+
"typescript--derive--dataproviderkey": {
|
|
649
|
+
"count": 1,
|
|
650
|
+
"title": "TypeScript — `derive` + `DataProviderKey`",
|
|
651
|
+
"type": "paragraph"
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"search": "const handle = derive({\n inputs: { s: sessions },\n variables: form,\n output: palmares,\n compute: async (i, v) => {\n const expr = compileJsonata(\n '$s{edito.title: $sum(stock.internal.revenue)} ~> $each(function($v,$k){{"titre":$k,"ca":$v}}) ^(>ca)[[0..$number($top)-1]]',\n );\n return expr.evaluate({}, { ...i, ...v }) as Row[];\n },\n});\n// handle.stop() on disconnect\n \n\n",
|
|
659
|
+
"files": {
|
|
660
|
+
"core/components/functional/jsonata/jsonata.md": {
|
|
661
|
+
"title": "Jsonata",
|
|
662
|
+
"hashes": {
|
|
663
|
+
"typescript--derive--dataproviderkey": {
|
|
664
|
+
"count": 1,
|
|
665
|
+
"title": "TypeScript — `derive` + `DataProviderKey`",
|
|
666
|
+
"type": "paragraph"
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"search": "Compile-safe: pass DataProviderKey&lt;T&gt; — not bare untyped strings — for TS callers.\n",
|
|
674
|
+
"files": {
|
|
675
|
+
"core/components/functional/jsonata/jsonata.md": {
|
|
676
|
+
"title": "Jsonata",
|
|
677
|
+
"hashes": {
|
|
678
|
+
"typescript--derive--dataproviderkey": {
|
|
679
|
+
"count": 1,
|
|
680
|
+
"title": "TypeScript — `derive` + `DataProviderKey`",
|
|
681
|
+
"type": "paragraph"
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"search": "Status is published on {outputRoot}/_state_ as { status, error? } with status ∈ loading | ready | error | empty. Wire sonic-states with dataProvider="palmares/_state_" and data-path="status".\n",
|
|
689
|
+
"files": {
|
|
690
|
+
"core/components/functional/jsonata/jsonata.md": {
|
|
691
|
+
"title": "Jsonata",
|
|
692
|
+
"hashes": {
|
|
693
|
+
"states": {
|
|
694
|
+
"count": 1,
|
|
695
|
+
"title": "States",
|
|
696
|
+
"type": "paragraph"
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"search": "See the live demo embedded below (fixtures demo14).\n",
|
|
704
|
+
"files": {
|
|
705
|
+
"core/components/functional/jsonata/jsonata.md": {
|
|
706
|
+
"title": "Jsonata",
|
|
707
|
+
"hashes": {
|
|
708
|
+
"demo-widget": {
|
|
709
|
+
"count": 1,
|
|
710
|
+
"title": "Demo widget",
|
|
711
|
+
"type": "paragraph"
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
},
|
|
552
717
|
{
|
|
553
718
|
"search": "List",
|
|
554
719
|
"files": {
|
|
@@ -3304,6 +3469,21 @@
|
|
|
3304
3469
|
}
|
|
3305
3470
|
}
|
|
3306
3471
|
},
|
|
3472
|
+
{
|
|
3473
|
+
"search": "Use when you need client-side aggregations (groupby, top N, chart shapes) from existing DataProviders — without inline app JS in SDUI.\n",
|
|
3474
|
+
"files": {
|
|
3475
|
+
"docs/_core-concept/dataFlow.md": {
|
|
3476
|
+
"title": "Data flow",
|
|
3477
|
+
"hashes": {
|
|
3478
|
+
"derived-data-derive--sonic-jsonata": {
|
|
3479
|
+
"count": 1,
|
|
3480
|
+
"title": "Derived data (`derive` / `sonic-jsonata`)",
|
|
3481
|
+
"type": "paragraph"
|
|
3482
|
+
}
|
|
3483
|
+
}
|
|
3484
|
+
}
|
|
3485
|
+
}
|
|
3486
|
+
},
|
|
3307
3487
|
{
|
|
3308
3488
|
"search": "lit + tailwind + vite",
|
|
3309
3489
|
"files": {
|
|
@@ -4714,6 +4894,21 @@
|
|
|
4714
4894
|
}
|
|
4715
4895
|
}
|
|
4716
4896
|
},
|
|
4897
|
+
{
|
|
4898
|
+
"search": "The same decorator adapts to a method. The method receives the complete\nApiResult<T> payload after each GET:\n",
|
|
4899
|
+
"files": {
|
|
4900
|
+
"docs/_decorators/get.md": {
|
|
4901
|
+
"title": "@get",
|
|
4902
|
+
"hashes": {
|
|
4903
|
+
"minimal-usage": {
|
|
4904
|
+
"count": 1,
|
|
4905
|
+
"title": "Minimal usage",
|
|
4906
|
+
"type": "paragraph"
|
|
4907
|
+
}
|
|
4908
|
+
}
|
|
4909
|
+
}
|
|
4910
|
+
}
|
|
4911
|
+
},
|
|
4717
4912
|
{
|
|
4718
4913
|
"search": "The first argument is always an\nEndpoint<T>. API configuration is read\nfrom the HTML scope (serviceURL, token, etc.), so the component is usually\nplaced below an element that provides this configuration.\n",
|
|
4719
4914
|
"files": {
|
|
@@ -4745,7 +4940,37 @@
|
|
|
4745
4940
|
}
|
|
4746
4941
|
},
|
|
4747
4942
|
{
|
|
4748
|
-
"search": "
|
|
4943
|
+
"search": "refetch(component) returns a Promise<ApiResult<T> | undefined> that resolves\nafter the GET has completed.\n",
|
|
4944
|
+
"files": {
|
|
4945
|
+
"docs/_decorators/get.md": {
|
|
4946
|
+
"title": "@get",
|
|
4947
|
+
"hashes": {
|
|
4948
|
+
"from-the-component": {
|
|
4949
|
+
"count": 1,
|
|
4950
|
+
"title": "From the component",
|
|
4951
|
+
"type": "paragraph"
|
|
4952
|
+
}
|
|
4953
|
+
}
|
|
4954
|
+
}
|
|
4955
|
+
}
|
|
4956
|
+
},
|
|
4957
|
+
{
|
|
4958
|
+
"search": "The named handle can also decorate a method and be reused for refetching:\n",
|
|
4959
|
+
"files": {
|
|
4960
|
+
"docs/_decorators/get.md": {
|
|
4961
|
+
"title": "@get",
|
|
4962
|
+
"hashes": {
|
|
4963
|
+
"from-the-component": {
|
|
4964
|
+
"count": 1,
|
|
4965
|
+
"title": "From the component",
|
|
4966
|
+
"type": "paragraph"
|
|
4967
|
+
}
|
|
4968
|
+
}
|
|
4969
|
+
}
|
|
4970
|
+
}
|
|
4971
|
+
},
|
|
4972
|
+
{
|
|
4973
|
+
"search": "The refetch can decorate a local method. The default is after; if the\nmethod returns a Promise, the GET waits for its resolution. The decorated method\ncall also waits for the refetch to complete.\n",
|
|
4749
4974
|
"files": {
|
|
4750
4975
|
"docs/_decorators/get.md": {
|
|
4751
4976
|
"title": "@get",
|
|
@@ -4760,7 +4985,7 @@
|
|
|
4760
4985
|
}
|
|
4761
4986
|
},
|
|
4762
4987
|
{
|
|
4763
|
-
"search": "Use { when: "before" } when the GET must
|
|
4988
|
+
"search": "Use { when: "before" } when the GET must complete before the method runs:\n",
|
|
4764
4989
|
"files": {
|
|
4765
4990
|
"docs/_decorators/get.md": {
|
|
4766
4991
|
"title": "@get",
|
|
@@ -5799,6 +6024,31 @@
|
|
|
5799
6024
|
}
|
|
5800
6025
|
}
|
|
5801
6026
|
},
|
|
6027
|
+
{
|
|
6028
|
+
"search": "The same decorator adapts to a method:\n",
|
|
6029
|
+
"files": {
|
|
6030
|
+
"docs/_decorators/patch.md": {
|
|
6031
|
+
"title": "@patch",
|
|
6032
|
+
"hashes": {
|
|
6033
|
+
"minimal-usage": {
|
|
6034
|
+
"count": 1,
|
|
6035
|
+
"title": "Minimal usage",
|
|
6036
|
+
"type": "paragraph"
|
|
6037
|
+
}
|
|
6038
|
+
}
|
|
6039
|
+
},
|
|
6040
|
+
"docs/_decorators/put.md": {
|
|
6041
|
+
"title": "@put",
|
|
6042
|
+
"hashes": {
|
|
6043
|
+
"minimal-usage": {
|
|
6044
|
+
"count": 1,
|
|
6045
|
+
"title": "Minimal usage",
|
|
6046
|
+
"type": "paragraph"
|
|
6047
|
+
}
|
|
6048
|
+
}
|
|
6049
|
+
}
|
|
6050
|
+
}
|
|
6051
|
+
},
|
|
5802
6052
|
{
|
|
5803
6053
|
"search": "To run the operation again from the component:\n",
|
|
5804
6054
|
"files": {
|
|
@@ -5824,6 +6074,21 @@
|
|
|
5824
6074
|
}
|
|
5825
6075
|
}
|
|
5826
6076
|
},
|
|
6077
|
+
{
|
|
6078
|
+
"search": "send(component) returns a Promise resolved after the PATCH completes. See\n@post for the method-decorator form and the\nwhen: "before" option.\n",
|
|
6079
|
+
"files": {
|
|
6080
|
+
"docs/_decorators/patch.md": {
|
|
6081
|
+
"title": "@patch",
|
|
6082
|
+
"hashes": {
|
|
6083
|
+
"minimal-usage": {
|
|
6084
|
+
"count": 1,
|
|
6085
|
+
"title": "Minimal usage",
|
|
6086
|
+
"type": "paragraph"
|
|
6087
|
+
}
|
|
6088
|
+
}
|
|
6089
|
+
}
|
|
6090
|
+
}
|
|
6091
|
+
},
|
|
5827
6092
|
{
|
|
5828
6093
|
"search": "The PATCH is also sent automatically when the body mutates, unless\nautoPostOnBodyMutation: false is set. The available options are described in\n@post:\n",
|
|
5829
6094
|
"files": {
|
|
@@ -5909,6 +6174,21 @@
|
|
|
5909
6174
|
}
|
|
5910
6175
|
}
|
|
5911
6176
|
},
|
|
6177
|
+
{
|
|
6178
|
+
"search": "The same decorator adapts to a method and receives the complete payload:\n",
|
|
6179
|
+
"files": {
|
|
6180
|
+
"docs/_decorators/post.md": {
|
|
6181
|
+
"title": "@post",
|
|
6182
|
+
"hashes": {
|
|
6183
|
+
"minimal-usage": {
|
|
6184
|
+
"count": 1,
|
|
6185
|
+
"title": "Minimal usage",
|
|
6186
|
+
"type": "paragraph"
|
|
6187
|
+
}
|
|
6188
|
+
}
|
|
6189
|
+
}
|
|
6190
|
+
}
|
|
6191
|
+
},
|
|
5912
6192
|
{
|
|
5913
6193
|
"search": "The current body is read from userBodyKey. By default, the POST is sent when\nthe component connects and after each body mutation. Mutations in the same\nframe are coalesced into one request.\n",
|
|
5914
6194
|
"files": {
|
|
@@ -5955,7 +6235,7 @@
|
|
|
5955
6235
|
}
|
|
5956
6236
|
},
|
|
5957
6237
|
{
|
|
5958
|
-
"search": "send() is useful for “Save” or “Retry” buttons
|
|
6238
|
+
"search": "send() returns a Promise<ApiResult<T> | undefined> that resolves after the\noperation completes. It is useful for “Save” or “Retry” buttons and can repeat\nan operation with side effects.\n",
|
|
5959
6239
|
"files": {
|
|
5960
6240
|
"docs/_decorators/post.md": {
|
|
5961
6241
|
"title": "@post",
|
|
@@ -5970,7 +6250,7 @@
|
|
|
5970
6250
|
}
|
|
5971
6251
|
},
|
|
5972
6252
|
{
|
|
5973
|
-
"search": "The send action can decorate a local method. It runs after the method by\ndefault
|
|
6253
|
+
"search": "The send action can decorate a local method. It runs after the method by\ndefault, waits for an eventual Promise to resolve, and the decorated method\ncall waits for the send to complete:\n",
|
|
5974
6254
|
"files": {
|
|
5975
6255
|
"docs/_decorators/post.md": {
|
|
5976
6256
|
"title": "@post",
|
|
@@ -5985,7 +6265,7 @@
|
|
|
5985
6265
|
}
|
|
5986
6266
|
},
|
|
5987
6267
|
{
|
|
5988
|
-
"search": "Use { when: "before" } when the
|
|
6268
|
+
"search": "Use { when: "before" } when the send must complete before the method runs:\n",
|
|
5989
6269
|
"files": {
|
|
5990
6270
|
"docs/_decorators/post.md": {
|
|
5991
6271
|
"title": "@post",
|
|
@@ -6149,6 +6429,21 @@
|
|
|
6149
6429
|
}
|
|
6150
6430
|
}
|
|
6151
6431
|
},
|
|
6432
|
+
{
|
|
6433
|
+
"search": "send(component) returns a Promise resolved after the PUT completes. See\n@post for the method-decorator form and the\nwhen: "before" option.\n",
|
|
6434
|
+
"files": {
|
|
6435
|
+
"docs/_decorators/put.md": {
|
|
6436
|
+
"title": "@put",
|
|
6437
|
+
"hashes": {
|
|
6438
|
+
"minimal-usage": {
|
|
6439
|
+
"count": 1,
|
|
6440
|
+
"title": "Minimal usage",
|
|
6441
|
+
"type": "paragraph"
|
|
6442
|
+
}
|
|
6443
|
+
}
|
|
6444
|
+
}
|
|
6445
|
+
}
|
|
6446
|
+
},
|
|
6152
6447
|
{
|
|
6153
6448
|
"search": "The PUT is also sent automatically when the body mutates, unless\nautoPostOnBodyMutation: false is set. See\n@post for the option details:\n",
|
|
6154
6449
|
"files": {
|
package/src/tsconfig.json
CHANGED
|
@@ -54,6 +54,12 @@
|
|
|
54
54
|
"./functional/if": [
|
|
55
55
|
"/sites/concorde/src/core/components/functional/if/if.ts"
|
|
56
56
|
],
|
|
57
|
+
"./jsonata": [
|
|
58
|
+
"/sites/concorde/src/core/components/functional/jsonata/jsonata.ts"
|
|
59
|
+
],
|
|
60
|
+
"./functional/jsonata": [
|
|
61
|
+
"/sites/concorde/src/core/components/functional/jsonata/jsonata.ts"
|
|
62
|
+
],
|
|
57
63
|
"./list": [
|
|
58
64
|
"/sites/concorde/src/core/components/functional/list/list.ts"
|
|
59
65
|
],
|
|
@@ -714,6 +720,9 @@
|
|
|
714
720
|
"./decorators/subscriber/common": [
|
|
715
721
|
"/sites/concorde/src/core/decorators/subscriber/common.ts"
|
|
716
722
|
],
|
|
723
|
+
"./decorators/subscriber/derive": [
|
|
724
|
+
"/sites/concorde/src/core/decorators/subscriber/derive.ts"
|
|
725
|
+
],
|
|
717
726
|
"./decorators/subscriber/dynamicPath": [
|
|
718
727
|
"/sites/concorde/src/core/decorators/subscriber/dynamicPath.ts"
|
|
719
728
|
],
|
|
@@ -804,9 +813,18 @@
|
|
|
804
813
|
"./utils/dataProviderKey": [
|
|
805
814
|
"/sites/concorde/src/core/utils/dataProviderKey.ts"
|
|
806
815
|
],
|
|
816
|
+
"./utils/derive": [
|
|
817
|
+
"/sites/concorde/src/core/utils/derive.ts"
|
|
818
|
+
],
|
|
807
819
|
"./utils/endpoint": [
|
|
808
820
|
"/sites/concorde/src/core/utils/endpoint.ts"
|
|
809
821
|
],
|
|
822
|
+
"./utils/jsonataHelpers": [
|
|
823
|
+
"/sites/concorde/src/core/utils/jsonataHelpers.ts"
|
|
824
|
+
],
|
|
825
|
+
"./utils/jsonataRuntime": [
|
|
826
|
+
"/sites/concorde/src/core/utils/jsonataRuntime.ts"
|
|
827
|
+
],
|
|
810
828
|
"./utils/route": [
|
|
811
829
|
"/sites/concorde/src/core/utils/route.ts"
|
|
812
830
|
],
|
package/src/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["./components.ts","./concorde-loaded.ts","./css.d.ts","./dataprovider.ts","./decorators.ts","./directives.ts","./index.ts","./mixins.ts","./utils.ts","./core/core.ts","./core/_types/endpoint.ts","./core/_types/key.ts","./core/_types/types.ts","./core/components/functional/functional.ts","./core/components/functional/date/date.ts","./core/components/functional/example/example.ts","./core/components/functional/fetch/fetch.ts","./core/components/functional/if/if.test.ts","./core/components/functional/if/if.ts","./core/components/functional/list/list.demo.ts","./core/components/functional/list/list.spec.ts","./core/components/functional/list/list.ts","./core/components/functional/mix/mix.ts","./core/components/functional/queue/queue.demo.ts","./core/components/functional/queue/queue.ts","./core/components/functional/router/redirect.ts","./core/components/functional/router/router.demo.ts","./core/components/functional/router/router.spec.ts","./core/components/functional/router/router.ts","./core/components/functional/sdui/SDUIDescriptorTransformer.ts","./core/components/functional/sdui/sdui-utils.ts","./core/components/functional/sdui/sdui.ts","./core/components/functional/sdui/types.ts","./core/components/functional/sonic-scope/sonic-scope.ts","./core/components/functional/states/states.demo.ts","./core/components/functional/states/states.spec.ts","./core/components/functional/states/states.ts","./core/components/functional/submit/submit.ts","./core/components/functional/subscriber/subscriber.ts","./core/components/functional/translation/translation.ts","./core/components/functional/value/value.ts","./core/components/ui/ui.ts","./core/components/ui/_css/scroll.ts","./core/components/ui/_css/shadow.ts","./core/components/ui/_css/size.ts","./core/components/ui/_css/type.ts","./core/components/ui/alert/alert.ts","./core/components/ui/alert-messages/alert-messages.ts","./core/components/ui/badge/badge.ts","./core/components/ui/button/button.ts","./core/components/ui/captcha/altchaStyles.ts","./core/components/ui/captcha/captcha.ts","./core/components/ui/card/card-footer.ts","./core/components/ui/card/card-header-descripton.ts","./core/components/ui/card/card-header.ts","./core/components/ui/card/card-main.ts","./core/components/ui/card/card.ts","./core/components/ui/divider/divider.ts","./core/components/ui/form/checkbox/checkbox.ts","./core/components/ui/form/css/form-control.ts","./core/components/ui/form/fieldset/fieldset.ts","./core/components/ui/form/fieldset/legend-description.ts","./core/components/ui/form/fieldset/legend.ts","./core/components/ui/form/form-actions/form-actions.ts","./core/components/ui/form/form-layout/form-layout.ts","./core/components/ui/form/input/input.ts","./core/components/ui/form/input/password-helper.ts","./core/components/ui/form/input/same-value-helper.ts","./core/components/ui/form/input-autocomplete/input-autocomplete.ts","./core/components/ui/form/radio/radio.ts","./core/components/ui/form/select/select.ts","./core/components/ui/form/switch/switch.ts","./core/components/ui/form/textarea/textarea.ts","./core/components/ui/group/group.ts","./core/components/ui/icon/icon.stories.ts","./core/components/ui/icon/icon.ts","./core/components/ui/icon/icons.ts","./core/components/ui/image/image.ts","./core/components/ui/link/link.ts","./core/components/ui/loader/loader.stories.ts","./core/components/ui/loader/loader.ts","./core/components/ui/loader/styles/fixed.ts","./core/components/ui/loader/styles/inline.ts","./core/components/ui/menu/menu-item.ts","./core/components/ui/menu/menu.ts","./core/components/ui/modal/modal-actions.ts","./core/components/ui/modal/modal-close.ts","./core/components/ui/modal/modal-content.ts","./core/components/ui/modal/modal-subtitle.ts","./core/components/ui/modal/modal-title.ts","./core/components/ui/modal/modal-utils.ts","./core/components/ui/modal/modal.ts","./core/components/ui/pop/pop.ts","./core/components/ui/progress/progress.ts","./core/components/ui/table/table-caption.ts","./core/components/ui/table/table-tbody.ts","./core/components/ui/table/table-td.ts","./core/components/ui/table/table-tfoot.ts","./core/components/ui/table/table-th.ts","./core/components/ui/table/table-thead.ts","./core/components/ui/table/table-tr.ts","./core/components/ui/table/table.ts","./core/components/ui/theme/theme.ts","./core/components/ui/theme/theme-collection/core-variables.ts","./core/components/ui/theme/theme-collection/dark.ts","./core/components/ui/theme/theme-collection/light.ts","./core/components/ui/toast/message-subscriber.ts","./core/components/ui/toast/toast-item.ts","./core/components/ui/toast/toast.ts","./core/components/ui/toast/types.ts","./core/components/ui/tooltip/tooltip.ts","./core/decorators/Subscriber.ts","./core/decorators/api.post.spec.ts","./core/decorators/api.spec.ts","./core/decorators/api.ts","./core/decorators/lifecycle.ts","./core/decorators/subscriber/ancestorAttribute.spec.ts","./core/decorators/subscriber/ancestorAttribute.ts","./core/decorators/subscriber/autoFill.ts","./core/decorators/subscriber/autoSubscribe.ts","./core/decorators/subscriber/bind.ts","./core/decorators/subscriber/common.ts","./core/decorators/subscriber/dynamicPath.spec.ts","./core/decorators/subscriber/dynamicPath.ts","./core/decorators/subscriber/dynamicPropertyWatch.spec.ts","./core/decorators/subscriber/dynamicPropertyWatch.ts","./core/decorators/subscriber/handle.disambig.spec.ts","./core/decorators/subscriber/handle.skip.spec.ts","./core/decorators/subscriber/handle.ts","./core/decorators/subscriber/onAssign.ts","./core/decorators/subscriber/publish.spec.ts","./core/decorators/subscriber/publish.ts","./core/decorators/subscriber/publisherPath.ts","./core/decorators/subscriber/subscribe.spec.ts","./core/decorators/subscriber/subscribe.ts","./core/directives/DataProvider.sub.spec.ts","./core/directives/DataProvider.ts","./core/directives/Wording.ts","./core/mixins/Fetcher.ts","./core/mixins/FormCheckable.ts","./core/mixins/FormElement.ts","./core/mixins/FormInput.ts","./core/mixins/Subscriber.ts","./core/mixins/TemplatesContainer.ts","./core/mixins/mixins.ts","./core/utils/AncestorAttributeObserver.ts","./core/utils/Arrays.ts","./core/utils/DataBindObserver.ts","./core/utils/Electron.ts","./core/utils/Format.ts","./core/utils/HTML.ts","./core/utils/LocationHandler.ts","./core/utils/Objects.ts","./core/utils/PublisherProxy.ts","./core/utils/SafariScrollGuard.ts","./core/utils/Utils.ts","./core/utils/aesCrypto.ts","./core/utils/api.ts","./core/utils/dataProviderKey.spec.ts","./core/utils/dataProviderKey.ts","./core/utils/dpOptions.spec.ts","./core/utils/endpoint.spec.ts","./core/utils/endpoint.ts","./core/utils/publisherPathKey.spec.ts","./core/utils/route.spec.ts","./core/utils/route.ts","./core/utils/url-pattern.ts","./test-utils/TestUtils.ts"],"version":"5.9.2"}
|
|
1
|
+
{"root":["./components.ts","./concorde-loaded.ts","./css.d.ts","./dataprovider.ts","./decorators.ts","./directives.ts","./index.ts","./mixins.ts","./utils.ts","./core/core.ts","./core/_types/endpoint.ts","./core/_types/key.ts","./core/_types/types.ts","./core/components/functional/functional.ts","./core/components/functional/date/date.ts","./core/components/functional/example/example.ts","./core/components/functional/fetch/fetch.ts","./core/components/functional/if/if.test.ts","./core/components/functional/if/if.ts","./core/components/functional/jsonata/jsonata.spec.ts","./core/components/functional/jsonata/jsonata.ts","./core/components/functional/list/list.demo.ts","./core/components/functional/list/list.spec.ts","./core/components/functional/list/list.ts","./core/components/functional/mix/mix.ts","./core/components/functional/queue/queue.demo.ts","./core/components/functional/queue/queue.ts","./core/components/functional/router/redirect.ts","./core/components/functional/router/router.demo.ts","./core/components/functional/router/router.spec.ts","./core/components/functional/router/router.ts","./core/components/functional/sdui/SDUIDescriptorTransformer.ts","./core/components/functional/sdui/sdui-utils.ts","./core/components/functional/sdui/sdui.ts","./core/components/functional/sdui/types.ts","./core/components/functional/sonic-scope/sonic-scope.ts","./core/components/functional/states/states.demo.ts","./core/components/functional/states/states.spec.ts","./core/components/functional/states/states.ts","./core/components/functional/submit/submit.ts","./core/components/functional/subscriber/subscriber.ts","./core/components/functional/translation/translation.ts","./core/components/functional/value/value.ts","./core/components/ui/ui.ts","./core/components/ui/_css/scroll.ts","./core/components/ui/_css/shadow.ts","./core/components/ui/_css/size.ts","./core/components/ui/_css/type.ts","./core/components/ui/alert/alert.ts","./core/components/ui/alert-messages/alert-messages.ts","./core/components/ui/badge/badge.ts","./core/components/ui/button/button.ts","./core/components/ui/captcha/altchaStyles.ts","./core/components/ui/captcha/captcha.ts","./core/components/ui/card/card-footer.ts","./core/components/ui/card/card-header-descripton.ts","./core/components/ui/card/card-header.ts","./core/components/ui/card/card-main.ts","./core/components/ui/card/card.ts","./core/components/ui/divider/divider.ts","./core/components/ui/form/checkbox/checkbox.ts","./core/components/ui/form/css/form-control.ts","./core/components/ui/form/fieldset/fieldset.ts","./core/components/ui/form/fieldset/legend-description.ts","./core/components/ui/form/fieldset/legend.ts","./core/components/ui/form/form-actions/form-actions.ts","./core/components/ui/form/form-layout/form-layout.ts","./core/components/ui/form/input/input.ts","./core/components/ui/form/input/password-helper.ts","./core/components/ui/form/input/same-value-helper.ts","./core/components/ui/form/input-autocomplete/input-autocomplete.ts","./core/components/ui/form/radio/radio.ts","./core/components/ui/form/select/select.ts","./core/components/ui/form/switch/switch.ts","./core/components/ui/form/textarea/textarea.ts","./core/components/ui/group/group.ts","./core/components/ui/icon/icon.stories.ts","./core/components/ui/icon/icon.ts","./core/components/ui/icon/icons.ts","./core/components/ui/image/image.ts","./core/components/ui/link/link.ts","./core/components/ui/loader/loader.stories.ts","./core/components/ui/loader/loader.ts","./core/components/ui/loader/styles/fixed.ts","./core/components/ui/loader/styles/inline.ts","./core/components/ui/menu/menu-item.ts","./core/components/ui/menu/menu.ts","./core/components/ui/modal/modal-actions.ts","./core/components/ui/modal/modal-close.ts","./core/components/ui/modal/modal-content.ts","./core/components/ui/modal/modal-subtitle.ts","./core/components/ui/modal/modal-title.ts","./core/components/ui/modal/modal-utils.ts","./core/components/ui/modal/modal.ts","./core/components/ui/pop/pop.ts","./core/components/ui/progress/progress.ts","./core/components/ui/table/table-caption.ts","./core/components/ui/table/table-tbody.ts","./core/components/ui/table/table-td.ts","./core/components/ui/table/table-tfoot.ts","./core/components/ui/table/table-th.ts","./core/components/ui/table/table-thead.ts","./core/components/ui/table/table-tr.ts","./core/components/ui/table/table.ts","./core/components/ui/theme/theme.ts","./core/components/ui/theme/theme-collection/core-variables.ts","./core/components/ui/theme/theme-collection/dark.ts","./core/components/ui/theme/theme-collection/light.ts","./core/components/ui/toast/message-subscriber.ts","./core/components/ui/toast/toast-item.ts","./core/components/ui/toast/toast.ts","./core/components/ui/toast/types.ts","./core/components/ui/tooltip/tooltip.ts","./core/decorators/Subscriber.ts","./core/decorators/api.post.spec.ts","./core/decorators/api.spec.ts","./core/decorators/api.ts","./core/decorators/lifecycle.ts","./core/decorators/subscriber/ancestorAttribute.spec.ts","./core/decorators/subscriber/ancestorAttribute.ts","./core/decorators/subscriber/autoFill.ts","./core/decorators/subscriber/autoSubscribe.ts","./core/decorators/subscriber/bind.ts","./core/decorators/subscriber/common.ts","./core/decorators/subscriber/derive.ts","./core/decorators/subscriber/dynamicPath.spec.ts","./core/decorators/subscriber/dynamicPath.ts","./core/decorators/subscriber/dynamicPropertyWatch.spec.ts","./core/decorators/subscriber/dynamicPropertyWatch.ts","./core/decorators/subscriber/handle.disambig.spec.ts","./core/decorators/subscriber/handle.skip.spec.ts","./core/decorators/subscriber/handle.ts","./core/decorators/subscriber/onAssign.ts","./core/decorators/subscriber/publish.spec.ts","./core/decorators/subscriber/publish.ts","./core/decorators/subscriber/publisherPath.ts","./core/decorators/subscriber/subscribe.spec.ts","./core/decorators/subscriber/subscribe.ts","./core/directives/DataProvider.sub.spec.ts","./core/directives/DataProvider.ts","./core/directives/Wording.ts","./core/mixins/Fetcher.ts","./core/mixins/FormCheckable.ts","./core/mixins/FormElement.ts","./core/mixins/FormInput.ts","./core/mixins/Subscriber.ts","./core/mixins/TemplatesContainer.ts","./core/mixins/mixins.ts","./core/utils/AncestorAttributeObserver.ts","./core/utils/Arrays.ts","./core/utils/DataBindObserver.ts","./core/utils/Electron.ts","./core/utils/Format.ts","./core/utils/HTML.ts","./core/utils/LocationHandler.ts","./core/utils/Objects.ts","./core/utils/PublisherProxy.ts","./core/utils/SafariScrollGuard.ts","./core/utils/Utils.ts","./core/utils/aesCrypto.ts","./core/utils/api.spec.ts","./core/utils/api.ts","./core/utils/dataProviderKey.spec.ts","./core/utils/dataProviderKey.ts","./core/utils/derive.spec.ts","./core/utils/derive.ts","./core/utils/dpOptions.spec.ts","./core/utils/endpoint.spec.ts","./core/utils/endpoint.ts","./core/utils/jsonataHelpers.ts","./core/utils/jsonataRuntime.ts","./core/utils/publisherPathKey.spec.ts","./core/utils/route.spec.ts","./core/utils/route.ts","./core/utils/url-pattern.ts","./test-utils/TestUtils.ts"],"version":"5.9.2"}
|
package/src/utils.ts
CHANGED
|
@@ -24,6 +24,19 @@ export const URLPattern = myURLPattern.default;
|
|
|
24
24
|
import { Endpoint } from "./core/utils/endpoint";
|
|
25
25
|
import { DataProviderKey } from "./core/utils/dataProviderKey";
|
|
26
26
|
export { Endpoint, DataProviderKey };
|
|
27
|
+
export {
|
|
28
|
+
derive,
|
|
29
|
+
deriveStateKey,
|
|
30
|
+
type DeriveOptions,
|
|
31
|
+
type DeriveHandle,
|
|
32
|
+
type DeriveState,
|
|
33
|
+
type DeriveStatus,
|
|
34
|
+
} from "./core/utils/derive";
|
|
35
|
+
export {
|
|
36
|
+
compileJsonata,
|
|
37
|
+
validateOutputSchema,
|
|
38
|
+
} from "./core/utils/jsonataRuntime";
|
|
39
|
+
|
|
27
40
|
export {
|
|
28
41
|
installSafariScrollGuard,
|
|
29
42
|
watchScrollRoot,
|