@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
|
@@ -4714,6 +4714,21 @@
|
|
|
4714
4714
|
}
|
|
4715
4715
|
}
|
|
4716
4716
|
},
|
|
4717
|
+
{
|
|
4718
|
+
"search": "The same decorator adapts to a method. The method receives the complete\nApiResult<T> payload after each GET:\n",
|
|
4719
|
+
"files": {
|
|
4720
|
+
"docs/_decorators/get.md": {
|
|
4721
|
+
"title": "@get",
|
|
4722
|
+
"hashes": {
|
|
4723
|
+
"minimal-usage": {
|
|
4724
|
+
"count": 1,
|
|
4725
|
+
"title": "Minimal usage",
|
|
4726
|
+
"type": "paragraph"
|
|
4727
|
+
}
|
|
4728
|
+
}
|
|
4729
|
+
}
|
|
4730
|
+
}
|
|
4731
|
+
},
|
|
4717
4732
|
{
|
|
4718
4733
|
"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
4734
|
"files": {
|
|
@@ -4745,7 +4760,37 @@
|
|
|
4745
4760
|
}
|
|
4746
4761
|
},
|
|
4747
4762
|
{
|
|
4748
|
-
"search": "
|
|
4763
|
+
"search": "refetch(component) returns a Promise<ApiResult<T> | undefined> that resolves\nafter the GET has completed.\n",
|
|
4764
|
+
"files": {
|
|
4765
|
+
"docs/_decorators/get.md": {
|
|
4766
|
+
"title": "@get",
|
|
4767
|
+
"hashes": {
|
|
4768
|
+
"from-the-component": {
|
|
4769
|
+
"count": 1,
|
|
4770
|
+
"title": "From the component",
|
|
4771
|
+
"type": "paragraph"
|
|
4772
|
+
}
|
|
4773
|
+
}
|
|
4774
|
+
}
|
|
4775
|
+
}
|
|
4776
|
+
},
|
|
4777
|
+
{
|
|
4778
|
+
"search": "The named handle can also decorate a method and be reused for refetching:\n",
|
|
4779
|
+
"files": {
|
|
4780
|
+
"docs/_decorators/get.md": {
|
|
4781
|
+
"title": "@get",
|
|
4782
|
+
"hashes": {
|
|
4783
|
+
"from-the-component": {
|
|
4784
|
+
"count": 1,
|
|
4785
|
+
"title": "From the component",
|
|
4786
|
+
"type": "paragraph"
|
|
4787
|
+
}
|
|
4788
|
+
}
|
|
4789
|
+
}
|
|
4790
|
+
}
|
|
4791
|
+
},
|
|
4792
|
+
{
|
|
4793
|
+
"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
4794
|
"files": {
|
|
4750
4795
|
"docs/_decorators/get.md": {
|
|
4751
4796
|
"title": "@get",
|
|
@@ -4760,7 +4805,7 @@
|
|
|
4760
4805
|
}
|
|
4761
4806
|
},
|
|
4762
4807
|
{
|
|
4763
|
-
"search": "Use { when: "before" } when the GET must
|
|
4808
|
+
"search": "Use { when: "before" } when the GET must complete before the method runs:\n",
|
|
4764
4809
|
"files": {
|
|
4765
4810
|
"docs/_decorators/get.md": {
|
|
4766
4811
|
"title": "@get",
|
|
@@ -5799,6 +5844,31 @@
|
|
|
5799
5844
|
}
|
|
5800
5845
|
}
|
|
5801
5846
|
},
|
|
5847
|
+
{
|
|
5848
|
+
"search": "The same decorator adapts to a method:\n",
|
|
5849
|
+
"files": {
|
|
5850
|
+
"docs/_decorators/patch.md": {
|
|
5851
|
+
"title": "@patch",
|
|
5852
|
+
"hashes": {
|
|
5853
|
+
"minimal-usage": {
|
|
5854
|
+
"count": 1,
|
|
5855
|
+
"title": "Minimal usage",
|
|
5856
|
+
"type": "paragraph"
|
|
5857
|
+
}
|
|
5858
|
+
}
|
|
5859
|
+
},
|
|
5860
|
+
"docs/_decorators/put.md": {
|
|
5861
|
+
"title": "@put",
|
|
5862
|
+
"hashes": {
|
|
5863
|
+
"minimal-usage": {
|
|
5864
|
+
"count": 1,
|
|
5865
|
+
"title": "Minimal usage",
|
|
5866
|
+
"type": "paragraph"
|
|
5867
|
+
}
|
|
5868
|
+
}
|
|
5869
|
+
}
|
|
5870
|
+
}
|
|
5871
|
+
},
|
|
5802
5872
|
{
|
|
5803
5873
|
"search": "To run the operation again from the component:\n",
|
|
5804
5874
|
"files": {
|
|
@@ -5824,6 +5894,21 @@
|
|
|
5824
5894
|
}
|
|
5825
5895
|
}
|
|
5826
5896
|
},
|
|
5897
|
+
{
|
|
5898
|
+
"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",
|
|
5899
|
+
"files": {
|
|
5900
|
+
"docs/_decorators/patch.md": {
|
|
5901
|
+
"title": "@patch",
|
|
5902
|
+
"hashes": {
|
|
5903
|
+
"minimal-usage": {
|
|
5904
|
+
"count": 1,
|
|
5905
|
+
"title": "Minimal usage",
|
|
5906
|
+
"type": "paragraph"
|
|
5907
|
+
}
|
|
5908
|
+
}
|
|
5909
|
+
}
|
|
5910
|
+
}
|
|
5911
|
+
},
|
|
5827
5912
|
{
|
|
5828
5913
|
"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
5914
|
"files": {
|
|
@@ -5909,6 +5994,21 @@
|
|
|
5909
5994
|
}
|
|
5910
5995
|
}
|
|
5911
5996
|
},
|
|
5997
|
+
{
|
|
5998
|
+
"search": "The same decorator adapts to a method and receives the complete payload:\n",
|
|
5999
|
+
"files": {
|
|
6000
|
+
"docs/_decorators/post.md": {
|
|
6001
|
+
"title": "@post",
|
|
6002
|
+
"hashes": {
|
|
6003
|
+
"minimal-usage": {
|
|
6004
|
+
"count": 1,
|
|
6005
|
+
"title": "Minimal usage",
|
|
6006
|
+
"type": "paragraph"
|
|
6007
|
+
}
|
|
6008
|
+
}
|
|
6009
|
+
}
|
|
6010
|
+
}
|
|
6011
|
+
},
|
|
5912
6012
|
{
|
|
5913
6013
|
"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
6014
|
"files": {
|
|
@@ -5955,7 +6055,7 @@
|
|
|
5955
6055
|
}
|
|
5956
6056
|
},
|
|
5957
6057
|
{
|
|
5958
|
-
"search": "send() is useful for “Save” or “Retry” buttons
|
|
6058
|
+
"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
6059
|
"files": {
|
|
5960
6060
|
"docs/_decorators/post.md": {
|
|
5961
6061
|
"title": "@post",
|
|
@@ -5970,7 +6070,7 @@
|
|
|
5970
6070
|
}
|
|
5971
6071
|
},
|
|
5972
6072
|
{
|
|
5973
|
-
"search": "The send action can decorate a local method. It runs after the method by\ndefault
|
|
6073
|
+
"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
6074
|
"files": {
|
|
5975
6075
|
"docs/_decorators/post.md": {
|
|
5976
6076
|
"title": "@post",
|
|
@@ -5985,7 +6085,7 @@
|
|
|
5985
6085
|
}
|
|
5986
6086
|
},
|
|
5987
6087
|
{
|
|
5988
|
-
"search": "Use { when: "before" } when the
|
|
6088
|
+
"search": "Use { when: "before" } when the send must complete before the method runs:\n",
|
|
5989
6089
|
"files": {
|
|
5990
6090
|
"docs/_decorators/post.md": {
|
|
5991
6091
|
"title": "@post",
|
|
@@ -6149,6 +6249,21 @@
|
|
|
6149
6249
|
}
|
|
6150
6250
|
}
|
|
6151
6251
|
},
|
|
6252
|
+
{
|
|
6253
|
+
"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",
|
|
6254
|
+
"files": {
|
|
6255
|
+
"docs/_decorators/put.md": {
|
|
6256
|
+
"title": "@put",
|
|
6257
|
+
"hashes": {
|
|
6258
|
+
"minimal-usage": {
|
|
6259
|
+
"count": 1,
|
|
6260
|
+
"title": "Minimal usage",
|
|
6261
|
+
"type": "paragraph"
|
|
6262
|
+
}
|
|
6263
|
+
}
|
|
6264
|
+
}
|
|
6265
|
+
}
|
|
6266
|
+
},
|
|
6152
6267
|
{
|
|
6153
6268
|
"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
6269
|
"files": {
|