@svgrid/enterprise 2.3.0 → 2.3.2
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/cdn/{pdfmake-C6pyKjX0.js → pdfmake-DVbZqKeD.js} +2297 -2327
- package/dist/cdn/rolldown-runtime-DtPi1Y-2.js +13 -0
- package/dist/cdn/{smart.export-CfW2zpyq.js → smart.export-D9FF4wAB.js} +54 -51
- package/dist/cdn/svgrid-enterprise.svelte-external.js +11308 -7898
- package/dist/cdn/{vfs_fonts-BktEULEs.js → vfs_fonts-iHMTEkpG.js} +1 -1
- package/dist/designer/assets/GridMenus-CW-rnHS9.js +7 -0
- package/dist/designer/assets/SvDateTimePicker-Cygij-dr.css +1 -0
- package/dist/designer/assets/SvDateTimePicker-DOBYyLeN.js +1 -0
- package/dist/designer/assets/SvGridChart-BEDNTdc5.js +2 -0
- package/dist/designer/assets/SvGridChart-Vu4Nvjiv.css +1 -0
- package/dist/designer/assets/SvGridChartPanel-x3lzSxuf.js +10 -0
- package/dist/designer/assets/SvGridChartView-CAKhPELi.js +1 -0
- package/dist/designer/assets/SvGridChartView-DX9HfkBR.css +1 -0
- package/dist/designer/assets/SvGridDropdown-CAYG7Y-O.js +1 -0
- package/dist/designer/assets/SvGridDropdown-Crwb2P3Q.css +1 -0
- package/dist/designer/assets/SvListBox-BMSfFJJT.css +1 -0
- package/dist/designer/assets/SvListBox-BVzVfCG3.js +1 -0
- package/dist/designer/assets/chart-DHEgt4lN.js +1 -0
- package/dist/designer/assets/disclose-version-CIm4S9xS.js +2 -0
- package/dist/designer/assets/dismissable-2EZKoens.js +1 -0
- package/dist/designer/assets/dismissable-BF-9TJSd.css +1 -0
- package/dist/designer/assets/easing-zaypKrr0.js +3 -0
- package/dist/designer/assets/export-format-DwjuTfrQ.js +6 -0
- package/dist/designer/assets/index-DVrv9dH6.js +75797 -0
- package/dist/designer/assets/index-DjPp1mn7.css +1 -0
- package/dist/designer/assets/js-scroller.svelte-tHanKJx0.js +110 -0
- package/dist/designer/assets/jszip.min-CX2fPs3O.js +2 -0
- package/dist/designer/assets/pdfmake-BpIYFHoG.js +242 -0
- package/dist/designer/assets/popover-CUkLsvRX.js +1 -0
- package/dist/designer/assets/rolldown-runtime-Dd_uD5pT.js +1 -0
- package/dist/designer/assets/smart.export-CDCwbFH4.js +37 -0
- package/dist/designer/assets/src-BRKu53tV.js +2842 -0
- package/dist/designer/assets/src-DseB1VRN.css +1 -0
- package/dist/designer/assets/vfs_fonts-BV-Ul9v2.js +1 -0
- package/dist/designer/index.html +32 -0
- package/dist/node/studio.js +16778 -12672
- package/package.json +10 -7
- package/src/SvGridBoard.svelte +4 -1
- package/src/SvGridScheduler.svelte +114 -90
- package/src/ai-export-pdf.dom.test.ts +77 -77
- package/src/ai-export-xlsx.dom.test.ts +90 -90
- package/src/ai-export.dom.test.ts +114 -114
- package/src/export-ooxml.ts +4 -0
- package/src/export-xls.ts +3 -0
- package/src/expressions/evaluate.ts +9 -0
- package/src/import.test.ts +1 -1
- package/src/import.ts +1 -1
- package/src/index.ts +12 -0
- package/src/pivot.test.ts +0 -1
- package/src/schema-designer.ts +1 -1
- package/src/sources/introspect-supabase.ts +2 -2
- package/src/studio/emit-project.test.ts +298 -7
- package/src/studio/emit-project.ts +484 -30
- package/src/studio/emit-schema.ts +20 -10
- package/src/studio/index.ts +34 -0
- package/src/studio/init-flow.test.ts +364 -0
- package/src/studio/init-flow.ts +409 -0
- package/src/studio/project.test.ts +0 -1
- package/src/studio/project.ts +109 -2
- package/src/studio/samples/datasets.test.ts +84 -0
- package/src/studio/samples/datasets.ts +340 -0
- package/src/studio/samples/live-data.test.ts +1 -1
- package/src/studio/samples/samples.test.ts +268 -268
- package/src/studio/samples/shared.ts +7 -150
- package/src/studio/screen-suites.test.ts +226 -0
- package/src/studio/screen-suites.ts +445 -0
- package/src/studio/ui-components-surface.test.ts +2 -2
- package/src/studio/ui-components.generated.ts +1643 -106
- package/src/studio/ui-components.ts +742 -641
- package/src/sveltekit/index.ts +1 -0
- package/src/sveltekit/sql-source.ts +1 -1
- package/src/sveltekit/transport-scope.test.ts +125 -0
- package/src/sveltekit/transport.ts +76 -2
|
@@ -3846,6 +3846,22 @@ export const GENERATED_UI_SURFACE: Record<string, { props: GeneratedUiProp[]; ev
|
|
|
3846
3846
|
"default": false,
|
|
3847
3847
|
"group": "behavior"
|
|
3848
3848
|
},
|
|
3849
|
+
{
|
|
3850
|
+
"key": "checkbox",
|
|
3851
|
+
"label": "Checkbox",
|
|
3852
|
+
"type": "boolean",
|
|
3853
|
+
"default": false,
|
|
3854
|
+
"description": "Checklist styling: each row draws a checkbox and the selected-row accent highlight is suppressed, because a list that starts fully selected (a filter checklist) would otherwise paint every row. State reads off the box; `aria-selected` still carries it for assistive tech.",
|
|
3855
|
+
"group": "common"
|
|
3856
|
+
},
|
|
3857
|
+
{
|
|
3858
|
+
"key": "block",
|
|
3859
|
+
"label": "Block",
|
|
3860
|
+
"type": "boolean",
|
|
3861
|
+
"default": false,
|
|
3862
|
+
"description": "Stretch to the container width instead of the default 220px.",
|
|
3863
|
+
"group": "appearance"
|
|
3864
|
+
},
|
|
3849
3865
|
{
|
|
3850
3866
|
"key": "rows",
|
|
3851
3867
|
"label": "Rows",
|
|
@@ -4475,6 +4491,30 @@ export const GENERATED_UI_SURFACE: Record<string, { props: GeneratedUiProp[]; ev
|
|
|
4475
4491
|
"type": "string",
|
|
4476
4492
|
"default": "Loading…",
|
|
4477
4493
|
"group": "common"
|
|
4494
|
+
},
|
|
4495
|
+
{
|
|
4496
|
+
"key": "emptyText",
|
|
4497
|
+
"label": "Empty Text",
|
|
4498
|
+
"type": "string",
|
|
4499
|
+
"default": "No matches",
|
|
4500
|
+
"description": "Shown when the list is empty / a search matches nothing (localization).",
|
|
4501
|
+
"group": "common"
|
|
4502
|
+
},
|
|
4503
|
+
{
|
|
4504
|
+
"key": "searchPlaceholder",
|
|
4505
|
+
"label": "Search Placeholder",
|
|
4506
|
+
"type": "string",
|
|
4507
|
+
"default": "Search…",
|
|
4508
|
+
"description": "Placeholder in the panel's search box (localization).",
|
|
4509
|
+
"group": "common"
|
|
4510
|
+
},
|
|
4511
|
+
{
|
|
4512
|
+
"key": "searchLabel",
|
|
4513
|
+
"label": "Search Label",
|
|
4514
|
+
"type": "string",
|
|
4515
|
+
"default": "Search options",
|
|
4516
|
+
"description": "Accessible name for the panel's search box (localization).",
|
|
4517
|
+
"group": "common"
|
|
4478
4518
|
}
|
|
4479
4519
|
],
|
|
4480
4520
|
"events": [
|
|
@@ -4610,6 +4650,13 @@ export const GENERATED_UI_SURFACE: Record<string, { props: GeneratedUiProp[]; ev
|
|
|
4610
4650
|
"type": "string",
|
|
4611
4651
|
"default": "Rich text editor",
|
|
4612
4652
|
"group": "advanced"
|
|
4653
|
+
},
|
|
4654
|
+
{
|
|
4655
|
+
"key": "messages",
|
|
4656
|
+
"label": "Messages",
|
|
4657
|
+
"type": "json",
|
|
4658
|
+
"description": "Override any toolbar label / prompt (localization).",
|
|
4659
|
+
"group": "common"
|
|
4613
4660
|
}
|
|
4614
4661
|
],
|
|
4615
4662
|
"events": [
|
|
@@ -4727,6 +4774,22 @@ export const GENERATED_UI_SURFACE: Record<string, { props: GeneratedUiProp[]; ev
|
|
|
4727
4774
|
"default": "Search...",
|
|
4728
4775
|
"group": "common"
|
|
4729
4776
|
},
|
|
4777
|
+
{
|
|
4778
|
+
"key": "loadingText",
|
|
4779
|
+
"label": "Loading Text",
|
|
4780
|
+
"type": "string",
|
|
4781
|
+
"default": "Loading...",
|
|
4782
|
+
"description": "Placeholder row shown under a lazy node while its children load (localization).",
|
|
4783
|
+
"group": "common"
|
|
4784
|
+
},
|
|
4785
|
+
{
|
|
4786
|
+
"key": "clearSearchLabel",
|
|
4787
|
+
"label": "Clear Search Label",
|
|
4788
|
+
"type": "string",
|
|
4789
|
+
"default": "Clear search",
|
|
4790
|
+
"description": "Accessible name for the search box's clear button (localization).",
|
|
4791
|
+
"group": "common"
|
|
4792
|
+
},
|
|
4730
4793
|
{
|
|
4731
4794
|
"key": "sort",
|
|
4732
4795
|
"label": "Sort",
|
|
@@ -4927,178 +4990,1644 @@ export const GENERATED_UI_SURFACE: Record<string, { props: GeneratedUiProp[]; ev
|
|
|
4927
4990
|
}
|
|
4928
4991
|
]
|
|
4929
4992
|
},
|
|
4930
|
-
"
|
|
4993
|
+
"SvTitle": {
|
|
4931
4994
|
"props": [
|
|
4932
4995
|
{
|
|
4933
|
-
"key": "
|
|
4934
|
-
"label": "
|
|
4996
|
+
"key": "order",
|
|
4997
|
+
"label": "Order",
|
|
4935
4998
|
"type": "json",
|
|
4999
|
+
"default": 2,
|
|
5000
|
+
"description": "Semantic heading level (h1-h6).",
|
|
4936
5001
|
"group": "common"
|
|
4937
5002
|
},
|
|
4938
5003
|
{
|
|
4939
|
-
"key": "
|
|
4940
|
-
"label": "
|
|
5004
|
+
"key": "size",
|
|
5005
|
+
"label": "Size",
|
|
4941
5006
|
"type": "json",
|
|
4942
|
-
"
|
|
5007
|
+
"description": "Visual size step, defaults to `order`.",
|
|
5008
|
+
"group": "appearance"
|
|
4943
5009
|
},
|
|
4944
5010
|
{
|
|
4945
|
-
"key": "
|
|
4946
|
-
"label": "
|
|
4947
|
-
"type": "
|
|
4948
|
-
"
|
|
4949
|
-
|
|
5011
|
+
"key": "align",
|
|
5012
|
+
"label": "Align",
|
|
5013
|
+
"type": "select",
|
|
5014
|
+
"options": [
|
|
5015
|
+
"start",
|
|
5016
|
+
"center",
|
|
5017
|
+
"end"
|
|
5018
|
+
],
|
|
5019
|
+
"description": "Text alignment.",
|
|
5020
|
+
"group": "appearance"
|
|
4950
5021
|
},
|
|
4951
5022
|
{
|
|
4952
|
-
"key": "
|
|
4953
|
-
"label": "
|
|
4954
|
-
"type": "
|
|
4955
|
-
"
|
|
5023
|
+
"key": "truncate",
|
|
5024
|
+
"label": "Truncate",
|
|
5025
|
+
"type": "boolean",
|
|
5026
|
+
"default": false,
|
|
5027
|
+
"description": "Truncate to a single line with an ellipsis.",
|
|
4956
5028
|
"group": "common"
|
|
4957
|
-
}
|
|
5029
|
+
}
|
|
5030
|
+
],
|
|
5031
|
+
"events": []
|
|
5032
|
+
},
|
|
5033
|
+
"SvText": {
|
|
5034
|
+
"props": [
|
|
4958
5035
|
{
|
|
4959
|
-
"key": "
|
|
4960
|
-
"label": "
|
|
4961
|
-
"type": "
|
|
4962
|
-
"
|
|
4963
|
-
|
|
5036
|
+
"key": "size",
|
|
5037
|
+
"label": "Size",
|
|
5038
|
+
"type": "select",
|
|
5039
|
+
"options": [
|
|
5040
|
+
"xs",
|
|
5041
|
+
"sm",
|
|
5042
|
+
"md",
|
|
5043
|
+
"lg",
|
|
5044
|
+
"xl"
|
|
5045
|
+
],
|
|
5046
|
+
"default": "md",
|
|
5047
|
+
"description": "Font size step.",
|
|
5048
|
+
"group": "appearance"
|
|
4964
5049
|
},
|
|
4965
5050
|
{
|
|
4966
|
-
"key": "
|
|
4967
|
-
"label": "
|
|
4968
|
-
"type": "
|
|
4969
|
-
"
|
|
5051
|
+
"key": "weight",
|
|
5052
|
+
"label": "Weight",
|
|
5053
|
+
"type": "select",
|
|
5054
|
+
"options": [
|
|
5055
|
+
"normal",
|
|
5056
|
+
"medium",
|
|
5057
|
+
"semibold",
|
|
5058
|
+
"bold"
|
|
5059
|
+
],
|
|
5060
|
+
"default": "normal",
|
|
5061
|
+
"description": "Font weight.",
|
|
4970
5062
|
"group": "common"
|
|
4971
5063
|
},
|
|
4972
5064
|
{
|
|
4973
|
-
"key": "
|
|
4974
|
-
"label": "
|
|
4975
|
-
"type": "
|
|
4976
|
-
"
|
|
5065
|
+
"key": "tone",
|
|
5066
|
+
"label": "Tone",
|
|
5067
|
+
"type": "select",
|
|
5068
|
+
"options": [
|
|
5069
|
+
"default",
|
|
5070
|
+
"muted",
|
|
5071
|
+
"accent",
|
|
5072
|
+
"success",
|
|
5073
|
+
"warning",
|
|
5074
|
+
"error"
|
|
5075
|
+
],
|
|
5076
|
+
"default": "default",
|
|
5077
|
+
"description": "Semantic colour.",
|
|
4977
5078
|
"group": "common"
|
|
4978
5079
|
},
|
|
4979
5080
|
{
|
|
4980
|
-
"key": "
|
|
4981
|
-
"label": "
|
|
4982
|
-
"type": "
|
|
4983
|
-
"
|
|
4984
|
-
|
|
5081
|
+
"key": "align",
|
|
5082
|
+
"label": "Align",
|
|
5083
|
+
"type": "select",
|
|
5084
|
+
"options": [
|
|
5085
|
+
"start",
|
|
5086
|
+
"center",
|
|
5087
|
+
"end"
|
|
5088
|
+
],
|
|
5089
|
+
"description": "Text alignment.",
|
|
5090
|
+
"group": "appearance"
|
|
4985
5091
|
},
|
|
4986
5092
|
{
|
|
4987
|
-
"key": "
|
|
4988
|
-
"label": "
|
|
5093
|
+
"key": "truncate",
|
|
5094
|
+
"label": "Truncate",
|
|
4989
5095
|
"type": "boolean",
|
|
4990
|
-
"
|
|
5096
|
+
"default": false,
|
|
5097
|
+
"description": "Truncate to a single line with an ellipsis.",
|
|
4991
5098
|
"group": "common"
|
|
4992
5099
|
},
|
|
4993
5100
|
{
|
|
4994
|
-
"key": "
|
|
4995
|
-
"label": "
|
|
4996
|
-
"type": "
|
|
5101
|
+
"key": "clamp",
|
|
5102
|
+
"label": "Clamp",
|
|
5103
|
+
"type": "number",
|
|
5104
|
+
"description": "Clamp to N lines with an ellipsis (overrides truncate).",
|
|
4997
5105
|
"group": "common"
|
|
4998
5106
|
},
|
|
4999
5107
|
{
|
|
5000
|
-
"key": "
|
|
5001
|
-
"label": "
|
|
5108
|
+
"key": "inline",
|
|
5109
|
+
"label": "Inline",
|
|
5002
5110
|
"type": "boolean",
|
|
5111
|
+
"default": false,
|
|
5112
|
+
"description": "Render inline (`span`) instead of a block (`p`).",
|
|
5003
5113
|
"group": "common"
|
|
5004
5114
|
},
|
|
5005
5115
|
{
|
|
5006
|
-
"key": "
|
|
5007
|
-
"label": "
|
|
5008
|
-
"type": "
|
|
5116
|
+
"key": "as",
|
|
5117
|
+
"label": "As",
|
|
5118
|
+
"type": "string",
|
|
5119
|
+
"description": "Override the element/tag.",
|
|
5009
5120
|
"group": "common"
|
|
5010
|
-
}
|
|
5121
|
+
}
|
|
5122
|
+
],
|
|
5123
|
+
"events": []
|
|
5124
|
+
},
|
|
5125
|
+
"SvAnchor": {
|
|
5126
|
+
"props": [
|
|
5011
5127
|
{
|
|
5012
|
-
"key": "
|
|
5013
|
-
"label": "
|
|
5014
|
-
"type": "
|
|
5128
|
+
"key": "href",
|
|
5129
|
+
"label": "Href",
|
|
5130
|
+
"type": "string",
|
|
5015
5131
|
"group": "common"
|
|
5016
5132
|
},
|
|
5017
5133
|
{
|
|
5018
|
-
"key": "
|
|
5019
|
-
"label": "
|
|
5020
|
-
"type": "boolean",
|
|
5021
|
-
"group": "behavior"
|
|
5022
|
-
},
|
|
5023
|
-
{
|
|
5024
|
-
"key": "loadingOverlay",
|
|
5025
|
-
"label": "Loading Overlay",
|
|
5134
|
+
"key": "external",
|
|
5135
|
+
"label": "External",
|
|
5026
5136
|
"type": "boolean",
|
|
5027
|
-
"
|
|
5028
|
-
"
|
|
5029
|
-
},
|
|
5030
|
-
{
|
|
5031
|
-
"key": "loadingSkeletonRows",
|
|
5032
|
-
"label": "Loading Skeleton Rows",
|
|
5033
|
-
"type": "number",
|
|
5034
|
-
"description": "Skeleton placeholder rows to show on first load. Defaults to 8.",
|
|
5137
|
+
"default": false,
|
|
5138
|
+
"description": "Open in a new tab with safe `rel`.",
|
|
5035
5139
|
"group": "common"
|
|
5036
5140
|
},
|
|
5037
5141
|
{
|
|
5038
|
-
"key": "
|
|
5039
|
-
"label": "
|
|
5040
|
-
"type": "
|
|
5142
|
+
"key": "underline",
|
|
5143
|
+
"label": "Underline",
|
|
5144
|
+
"type": "select",
|
|
5145
|
+
"options": [
|
|
5146
|
+
"hover",
|
|
5147
|
+
"always",
|
|
5148
|
+
"none"
|
|
5149
|
+
],
|
|
5150
|
+
"default": "hover",
|
|
5151
|
+
"description": "Underline behaviour.",
|
|
5041
5152
|
"group": "common"
|
|
5042
5153
|
},
|
|
5043
5154
|
{
|
|
5044
|
-
"key": "
|
|
5045
|
-
"label": "
|
|
5046
|
-
"type": "
|
|
5155
|
+
"key": "tone",
|
|
5156
|
+
"label": "Tone",
|
|
5157
|
+
"type": "select",
|
|
5158
|
+
"options": [
|
|
5159
|
+
"accent",
|
|
5160
|
+
"default",
|
|
5161
|
+
"muted"
|
|
5162
|
+
],
|
|
5163
|
+
"default": "accent",
|
|
5164
|
+
"description": "Semantic colour.",
|
|
5047
5165
|
"group": "common"
|
|
5048
5166
|
},
|
|
5049
5167
|
{
|
|
5050
|
-
"key": "
|
|
5051
|
-
"label": "
|
|
5052
|
-
"type": "
|
|
5053
|
-
"
|
|
5054
|
-
|
|
5055
|
-
|
|
5168
|
+
"key": "size",
|
|
5169
|
+
"label": "Size",
|
|
5170
|
+
"type": "select",
|
|
5171
|
+
"options": [
|
|
5172
|
+
"sm",
|
|
5173
|
+
"md",
|
|
5174
|
+
"lg"
|
|
5175
|
+
],
|
|
5176
|
+
"default": "md",
|
|
5177
|
+
"description": "Font size step.",
|
|
5178
|
+
"group": "appearance"
|
|
5179
|
+
}
|
|
5180
|
+
],
|
|
5181
|
+
"events": [
|
|
5056
5182
|
{
|
|
5057
|
-
"key": "
|
|
5058
|
-
"label": "
|
|
5059
|
-
"
|
|
5060
|
-
|
|
5061
|
-
|
|
5183
|
+
"key": "click",
|
|
5184
|
+
"label": "Click",
|
|
5185
|
+
"prop": "onclick"
|
|
5186
|
+
}
|
|
5187
|
+
]
|
|
5188
|
+
},
|
|
5189
|
+
"SvBlockquote": {
|
|
5190
|
+
"props": [
|
|
5062
5191
|
{
|
|
5063
|
-
"key": "
|
|
5064
|
-
"label": "
|
|
5065
|
-
"type": "
|
|
5192
|
+
"key": "cite",
|
|
5193
|
+
"label": "Cite",
|
|
5194
|
+
"type": "string",
|
|
5195
|
+
"description": "Attribution shown under the quote.",
|
|
5066
5196
|
"group": "common"
|
|
5067
5197
|
},
|
|
5068
5198
|
{
|
|
5069
|
-
"key": "
|
|
5070
|
-
"label": "
|
|
5199
|
+
"key": "tone",
|
|
5200
|
+
"label": "Tone",
|
|
5071
5201
|
"type": "select",
|
|
5072
5202
|
"options": [
|
|
5073
|
-
"
|
|
5074
|
-
"
|
|
5075
|
-
"
|
|
5076
|
-
"
|
|
5203
|
+
"accent",
|
|
5204
|
+
"muted",
|
|
5205
|
+
"success",
|
|
5206
|
+
"warning",
|
|
5207
|
+
"error"
|
|
5077
5208
|
],
|
|
5078
|
-
"
|
|
5209
|
+
"default": "accent",
|
|
5210
|
+
"description": "Accent colour of the rule.",
|
|
5079
5211
|
"group": "common"
|
|
5080
|
-
}
|
|
5212
|
+
}
|
|
5213
|
+
],
|
|
5214
|
+
"events": []
|
|
5215
|
+
},
|
|
5216
|
+
"SvCode": {
|
|
5217
|
+
"props": [
|
|
5081
5218
|
{
|
|
5082
|
-
"key": "
|
|
5083
|
-
"label": "
|
|
5219
|
+
"key": "block",
|
|
5220
|
+
"label": "Block",
|
|
5084
5221
|
"type": "boolean",
|
|
5085
|
-
"
|
|
5222
|
+
"default": false,
|
|
5223
|
+
"description": "Render as a padded block instead of inline.",
|
|
5224
|
+
"group": "appearance"
|
|
5086
5225
|
},
|
|
5087
5226
|
{
|
|
5088
|
-
"key": "
|
|
5089
|
-
"label": "
|
|
5090
|
-
"type": "
|
|
5227
|
+
"key": "code",
|
|
5228
|
+
"label": "Code",
|
|
5229
|
+
"type": "string",
|
|
5230
|
+
"description": "Code as a string (skip the snippet).",
|
|
5091
5231
|
"group": "common"
|
|
5092
|
-
}
|
|
5232
|
+
}
|
|
5233
|
+
],
|
|
5234
|
+
"events": []
|
|
5235
|
+
},
|
|
5236
|
+
"SvKbd": {
|
|
5237
|
+
"props": [
|
|
5093
5238
|
{
|
|
5094
|
-
"key": "
|
|
5095
|
-
"label": "
|
|
5096
|
-
"type": "
|
|
5239
|
+
"key": "keys",
|
|
5240
|
+
"label": "Keys",
|
|
5241
|
+
"type": "json",
|
|
5242
|
+
"description": "Key sequence, rendered as separate caps.",
|
|
5097
5243
|
"group": "common"
|
|
5098
5244
|
},
|
|
5099
5245
|
{
|
|
5100
|
-
"key": "
|
|
5101
|
-
"label": "
|
|
5246
|
+
"key": "separator",
|
|
5247
|
+
"label": "Separator",
|
|
5248
|
+
"type": "string",
|
|
5249
|
+
"default": "+",
|
|
5250
|
+
"description": "Separator between keys.",
|
|
5251
|
+
"group": "common"
|
|
5252
|
+
},
|
|
5253
|
+
{
|
|
5254
|
+
"key": "size",
|
|
5255
|
+
"label": "Size",
|
|
5256
|
+
"type": "select",
|
|
5257
|
+
"options": [
|
|
5258
|
+
"sm",
|
|
5259
|
+
"md"
|
|
5260
|
+
],
|
|
5261
|
+
"default": "md",
|
|
5262
|
+
"group": "appearance"
|
|
5263
|
+
}
|
|
5264
|
+
],
|
|
5265
|
+
"events": []
|
|
5266
|
+
},
|
|
5267
|
+
"SvMark": {
|
|
5268
|
+
"props": [
|
|
5269
|
+
{
|
|
5270
|
+
"key": "tone",
|
|
5271
|
+
"label": "Tone",
|
|
5272
|
+
"type": "select",
|
|
5273
|
+
"options": [
|
|
5274
|
+
"yellow",
|
|
5275
|
+
"accent",
|
|
5276
|
+
"success",
|
|
5277
|
+
"warning",
|
|
5278
|
+
"error"
|
|
5279
|
+
],
|
|
5280
|
+
"default": "yellow",
|
|
5281
|
+
"group": "common"
|
|
5282
|
+
}
|
|
5283
|
+
],
|
|
5284
|
+
"events": []
|
|
5285
|
+
},
|
|
5286
|
+
"SvList": {
|
|
5287
|
+
"props": [
|
|
5288
|
+
{
|
|
5289
|
+
"key": "type",
|
|
5290
|
+
"label": "Type",
|
|
5291
|
+
"type": "select",
|
|
5292
|
+
"options": [
|
|
5293
|
+
"unordered",
|
|
5294
|
+
"ordered",
|
|
5295
|
+
"none"
|
|
5296
|
+
],
|
|
5297
|
+
"default": "unordered",
|
|
5298
|
+
"description": "Marker style. `none` drops markers + indentation.",
|
|
5299
|
+
"group": "common"
|
|
5300
|
+
},
|
|
5301
|
+
{
|
|
5302
|
+
"key": "items",
|
|
5303
|
+
"label": "Items",
|
|
5304
|
+
"type": "json",
|
|
5305
|
+
"description": "Simple string items (skip the snippet).",
|
|
5306
|
+
"group": "common"
|
|
5307
|
+
},
|
|
5308
|
+
{
|
|
5309
|
+
"key": "spacing",
|
|
5310
|
+
"label": "Spacing",
|
|
5311
|
+
"type": "select",
|
|
5312
|
+
"options": [
|
|
5313
|
+
"sm",
|
|
5314
|
+
"md",
|
|
5315
|
+
"lg"
|
|
5316
|
+
],
|
|
5317
|
+
"default": "md",
|
|
5318
|
+
"description": "Vertical gap between items.",
|
|
5319
|
+
"group": "common"
|
|
5320
|
+
},
|
|
5321
|
+
{
|
|
5322
|
+
"key": "size",
|
|
5323
|
+
"label": "Size",
|
|
5324
|
+
"type": "select",
|
|
5325
|
+
"options": [
|
|
5326
|
+
"sm",
|
|
5327
|
+
"md",
|
|
5328
|
+
"lg"
|
|
5329
|
+
],
|
|
5330
|
+
"default": "md",
|
|
5331
|
+
"description": "Font size step.",
|
|
5332
|
+
"group": "appearance"
|
|
5333
|
+
}
|
|
5334
|
+
],
|
|
5335
|
+
"events": []
|
|
5336
|
+
},
|
|
5337
|
+
"SvSpinner": {
|
|
5338
|
+
"props": [
|
|
5339
|
+
{
|
|
5340
|
+
"key": "size",
|
|
5341
|
+
"label": "Size",
|
|
5342
|
+
"type": "select",
|
|
5343
|
+
"options": [
|
|
5344
|
+
"sm",
|
|
5345
|
+
"md",
|
|
5346
|
+
"lg"
|
|
5347
|
+
],
|
|
5348
|
+
"default": "md",
|
|
5349
|
+
"description": "Diameter in px, or a named size. Default `md` (20px).",
|
|
5350
|
+
"group": "appearance"
|
|
5351
|
+
},
|
|
5352
|
+
{
|
|
5353
|
+
"key": "color",
|
|
5354
|
+
"label": "Color",
|
|
5355
|
+
"type": "string",
|
|
5356
|
+
"description": "Stroke color (defaults to the accent token).",
|
|
5357
|
+
"group": "appearance"
|
|
5358
|
+
},
|
|
5359
|
+
{
|
|
5360
|
+
"key": "label",
|
|
5361
|
+
"label": "Label",
|
|
5362
|
+
"type": "string",
|
|
5363
|
+
"description": "Accessible label; when omitted the spinner is `aria-hidden`.",
|
|
5364
|
+
"group": "common"
|
|
5365
|
+
}
|
|
5366
|
+
],
|
|
5367
|
+
"events": []
|
|
5368
|
+
},
|
|
5369
|
+
"SvLoadingOverlay": {
|
|
5370
|
+
"props": [
|
|
5371
|
+
{
|
|
5372
|
+
"key": "visible",
|
|
5373
|
+
"label": "Visible",
|
|
5374
|
+
"type": "boolean",
|
|
5375
|
+
"default": false,
|
|
5376
|
+
"description": "Show the overlay.",
|
|
5377
|
+
"group": "common"
|
|
5378
|
+
},
|
|
5379
|
+
{
|
|
5380
|
+
"key": "label",
|
|
5381
|
+
"label": "Label",
|
|
5382
|
+
"type": "string",
|
|
5383
|
+
"description": "Text shown under the spinner (also the a11y label).",
|
|
5384
|
+
"group": "common"
|
|
5385
|
+
},
|
|
5386
|
+
{
|
|
5387
|
+
"key": "spinnerSize",
|
|
5388
|
+
"label": "Spinner Size",
|
|
5389
|
+
"type": "select",
|
|
5390
|
+
"options": [
|
|
5391
|
+
"sm",
|
|
5392
|
+
"md",
|
|
5393
|
+
"lg"
|
|
5394
|
+
],
|
|
5395
|
+
"default": "lg",
|
|
5396
|
+
"description": "Spinner size. Default `lg`.",
|
|
5397
|
+
"group": "common"
|
|
5398
|
+
},
|
|
5399
|
+
{
|
|
5400
|
+
"key": "blur",
|
|
5401
|
+
"label": "Blur",
|
|
5402
|
+
"type": "boolean",
|
|
5403
|
+
"default": false,
|
|
5404
|
+
"description": "Blur the content behind the scrim.",
|
|
5405
|
+
"group": "common"
|
|
5406
|
+
}
|
|
5407
|
+
],
|
|
5408
|
+
"events": []
|
|
5409
|
+
},
|
|
5410
|
+
"SvResult": {
|
|
5411
|
+
"props": [
|
|
5412
|
+
{
|
|
5413
|
+
"key": "status",
|
|
5414
|
+
"label": "Status",
|
|
5415
|
+
"type": "select",
|
|
5416
|
+
"options": [
|
|
5417
|
+
"success",
|
|
5418
|
+
"error",
|
|
5419
|
+
"warning",
|
|
5420
|
+
"info",
|
|
5421
|
+
"notfound"
|
|
5422
|
+
],
|
|
5423
|
+
"default": "info",
|
|
5424
|
+
"group": "common"
|
|
5425
|
+
},
|
|
5426
|
+
{
|
|
5427
|
+
"key": "title",
|
|
5428
|
+
"label": "Title",
|
|
5429
|
+
"type": "string",
|
|
5430
|
+
"group": "common"
|
|
5431
|
+
},
|
|
5432
|
+
{
|
|
5433
|
+
"key": "description",
|
|
5434
|
+
"label": "Description",
|
|
5435
|
+
"type": "string",
|
|
5436
|
+
"group": "common"
|
|
5437
|
+
}
|
|
5438
|
+
],
|
|
5439
|
+
"events": []
|
|
5440
|
+
},
|
|
5441
|
+
"SvCollapsible": {
|
|
5442
|
+
"props": [
|
|
5443
|
+
{
|
|
5444
|
+
"key": "title",
|
|
5445
|
+
"label": "Title",
|
|
5446
|
+
"type": "string",
|
|
5447
|
+
"description": "Header text (ignored when a `header` snippet is given).",
|
|
5448
|
+
"group": "common"
|
|
5449
|
+
},
|
|
5450
|
+
{
|
|
5451
|
+
"key": "open",
|
|
5452
|
+
"label": "Open",
|
|
5453
|
+
"type": "boolean",
|
|
5454
|
+
"description": "Open state (bindable).",
|
|
5455
|
+
"group": "common"
|
|
5456
|
+
},
|
|
5457
|
+
{
|
|
5458
|
+
"key": "disabled",
|
|
5459
|
+
"label": "Disabled",
|
|
5460
|
+
"type": "boolean",
|
|
5461
|
+
"default": false,
|
|
5462
|
+
"group": "behavior"
|
|
5463
|
+
}
|
|
5464
|
+
],
|
|
5465
|
+
"events": [
|
|
5466
|
+
{
|
|
5467
|
+
"key": "openChange",
|
|
5468
|
+
"label": "Open Change",
|
|
5469
|
+
"prop": "onOpenChange"
|
|
5470
|
+
}
|
|
5471
|
+
]
|
|
5472
|
+
},
|
|
5473
|
+
"SvCarousel": {
|
|
5474
|
+
"props": [
|
|
5475
|
+
{
|
|
5476
|
+
"key": "count",
|
|
5477
|
+
"label": "Count",
|
|
5478
|
+
"type": "number",
|
|
5479
|
+
"group": "common"
|
|
5480
|
+
},
|
|
5481
|
+
{
|
|
5482
|
+
"key": "current",
|
|
5483
|
+
"label": "Current",
|
|
5484
|
+
"type": "number",
|
|
5485
|
+
"description": "Active slide index (bindable).",
|
|
5486
|
+
"group": "common"
|
|
5487
|
+
},
|
|
5488
|
+
{
|
|
5489
|
+
"key": "autoplay",
|
|
5490
|
+
"label": "Autoplay",
|
|
5491
|
+
"type": "number",
|
|
5492
|
+
"default": 0,
|
|
5493
|
+
"description": "Autoplay interval in ms; 0 = off.",
|
|
5494
|
+
"group": "common"
|
|
5495
|
+
},
|
|
5496
|
+
{
|
|
5497
|
+
"key": "loop",
|
|
5498
|
+
"label": "Loop",
|
|
5499
|
+
"type": "boolean",
|
|
5500
|
+
"default": true,
|
|
5501
|
+
"group": "common"
|
|
5502
|
+
},
|
|
5503
|
+
{
|
|
5504
|
+
"key": "arrows",
|
|
5505
|
+
"label": "Arrows",
|
|
5506
|
+
"type": "boolean",
|
|
5507
|
+
"default": true,
|
|
5508
|
+
"group": "common"
|
|
5509
|
+
},
|
|
5510
|
+
{
|
|
5511
|
+
"key": "dots",
|
|
5512
|
+
"label": "Dots",
|
|
5513
|
+
"type": "boolean",
|
|
5514
|
+
"default": true,
|
|
5515
|
+
"group": "common"
|
|
5516
|
+
},
|
|
5517
|
+
{
|
|
5518
|
+
"key": "ariaLabel",
|
|
5519
|
+
"label": "Aria Label",
|
|
5520
|
+
"type": "string",
|
|
5521
|
+
"default": "Carousel",
|
|
5522
|
+
"group": "advanced"
|
|
5523
|
+
},
|
|
5524
|
+
{
|
|
5525
|
+
"key": "dir",
|
|
5526
|
+
"label": "Dir",
|
|
5527
|
+
"type": "select",
|
|
5528
|
+
"options": [
|
|
5529
|
+
"ltr",
|
|
5530
|
+
"rtl",
|
|
5531
|
+
"auto"
|
|
5532
|
+
],
|
|
5533
|
+
"description": "Text direction (rtl mirrors the prev/next arrows + slide direction).",
|
|
5534
|
+
"group": "advanced"
|
|
5535
|
+
}
|
|
5536
|
+
],
|
|
5537
|
+
"events": []
|
|
5538
|
+
},
|
|
5539
|
+
"SvDateTimePicker": {
|
|
5540
|
+
"props": [
|
|
5541
|
+
{
|
|
5542
|
+
"key": "disabled",
|
|
5543
|
+
"label": "Disabled",
|
|
5544
|
+
"type": "boolean",
|
|
5545
|
+
"default": false,
|
|
5546
|
+
"description": "Disable interaction + form submission.",
|
|
5547
|
+
"group": "behavior"
|
|
5548
|
+
},
|
|
5549
|
+
{
|
|
5550
|
+
"key": "readonly",
|
|
5551
|
+
"label": "Readonly",
|
|
5552
|
+
"type": "boolean",
|
|
5553
|
+
"default": false,
|
|
5554
|
+
"description": "Read-only: the value is shown but not editable.",
|
|
5555
|
+
"group": "behavior"
|
|
5556
|
+
},
|
|
5557
|
+
{
|
|
5558
|
+
"key": "required",
|
|
5559
|
+
"label": "Required",
|
|
5560
|
+
"type": "boolean",
|
|
5561
|
+
"default": false,
|
|
5562
|
+
"description": "Required for validation (adds `aria-required` + participates in validity).",
|
|
5563
|
+
"group": "behavior"
|
|
5564
|
+
},
|
|
5565
|
+
{
|
|
5566
|
+
"key": "invalid",
|
|
5567
|
+
"label": "Invalid",
|
|
5568
|
+
"type": "boolean",
|
|
5569
|
+
"default": false,
|
|
5570
|
+
"description": "Marks the control invalid (`aria-invalid` + error styling).",
|
|
5571
|
+
"group": "behavior"
|
|
5572
|
+
},
|
|
5573
|
+
{
|
|
5574
|
+
"key": "error",
|
|
5575
|
+
"label": "Error",
|
|
5576
|
+
"type": "string",
|
|
5577
|
+
"description": "Error message; when set it is announced via `aria-describedby` and shown.",
|
|
5578
|
+
"group": "common"
|
|
5579
|
+
},
|
|
5580
|
+
{
|
|
5581
|
+
"key": "label",
|
|
5582
|
+
"label": "Label",
|
|
5583
|
+
"type": "string",
|
|
5584
|
+
"description": "Visible field label, rendered above the control and wired via `for`/`id`.",
|
|
5585
|
+
"group": "common"
|
|
5586
|
+
},
|
|
5587
|
+
{
|
|
5588
|
+
"key": "hint",
|
|
5589
|
+
"label": "Hint",
|
|
5590
|
+
"type": "string",
|
|
5591
|
+
"description": "Helper text shown under the control and announced via `aria-describedby`.",
|
|
5592
|
+
"group": "common"
|
|
5593
|
+
},
|
|
5594
|
+
{
|
|
5595
|
+
"key": "size",
|
|
5596
|
+
"label": "Size",
|
|
5597
|
+
"type": "select",
|
|
5598
|
+
"options": [
|
|
5599
|
+
"sm",
|
|
5600
|
+
"md",
|
|
5601
|
+
"lg"
|
|
5602
|
+
],
|
|
5603
|
+
"description": "Control size / density.",
|
|
5604
|
+
"group": "appearance"
|
|
5605
|
+
},
|
|
5606
|
+
{
|
|
5607
|
+
"key": "dir",
|
|
5608
|
+
"label": "Dir",
|
|
5609
|
+
"type": "select",
|
|
5610
|
+
"options": [
|
|
5611
|
+
"ltr",
|
|
5612
|
+
"rtl",
|
|
5613
|
+
"auto"
|
|
5614
|
+
],
|
|
5615
|
+
"description": "Text direction. `'rtl'` mirrors layout for Arabic/Hebrew/etc.; `'auto'` (the default) inherits from the surrounding document so a page-level `dir` wins.",
|
|
5616
|
+
"group": "advanced"
|
|
5617
|
+
},
|
|
5618
|
+
{
|
|
5619
|
+
"key": "name",
|
|
5620
|
+
"label": "Name",
|
|
5621
|
+
"type": "string",
|
|
5622
|
+
"description": "Form field name; the editor emits a hidden input carrying its value.",
|
|
5623
|
+
"group": "advanced"
|
|
5624
|
+
},
|
|
5625
|
+
{
|
|
5626
|
+
"key": "id",
|
|
5627
|
+
"label": "Id",
|
|
5628
|
+
"type": "string",
|
|
5629
|
+
"description": "Root/control element id (the label/hint/error ids derive from it).",
|
|
5630
|
+
"group": "advanced"
|
|
5631
|
+
},
|
|
5632
|
+
{
|
|
5633
|
+
"key": "ariaLabel",
|
|
5634
|
+
"label": "Aria Label",
|
|
5635
|
+
"type": "string",
|
|
5636
|
+
"description": "Accessible name when there is no visible `label`.",
|
|
5637
|
+
"group": "advanced"
|
|
5638
|
+
},
|
|
5639
|
+
{
|
|
5640
|
+
"key": "loading",
|
|
5641
|
+
"label": "Loading",
|
|
5642
|
+
"type": "boolean",
|
|
5643
|
+
"description": "Busy state - shows a spinner (e.g. while an async value/validation resolves).",
|
|
5644
|
+
"group": "behavior"
|
|
5645
|
+
},
|
|
5646
|
+
{
|
|
5647
|
+
"key": "value",
|
|
5648
|
+
"label": "Value",
|
|
5649
|
+
"type": "json",
|
|
5650
|
+
"group": "common"
|
|
5651
|
+
},
|
|
5652
|
+
{
|
|
5653
|
+
"key": "formatString",
|
|
5654
|
+
"label": "Format String",
|
|
5655
|
+
"type": "string",
|
|
5656
|
+
"default": "yyyy-MM-dd HH:mm",
|
|
5657
|
+
"description": "Display / parse mask (token engine).",
|
|
5658
|
+
"group": "common"
|
|
5659
|
+
},
|
|
5660
|
+
{
|
|
5661
|
+
"key": "min",
|
|
5662
|
+
"label": "Min",
|
|
5663
|
+
"type": "json",
|
|
5664
|
+
"group": "common"
|
|
5665
|
+
},
|
|
5666
|
+
{
|
|
5667
|
+
"key": "max",
|
|
5668
|
+
"label": "Max",
|
|
5669
|
+
"type": "json",
|
|
5670
|
+
"group": "common"
|
|
5671
|
+
},
|
|
5672
|
+
{
|
|
5673
|
+
"key": "nullable",
|
|
5674
|
+
"label": "Nullable",
|
|
5675
|
+
"type": "boolean",
|
|
5676
|
+
"default": true,
|
|
5677
|
+
"group": "common"
|
|
5678
|
+
},
|
|
5679
|
+
{
|
|
5680
|
+
"key": "placeholder",
|
|
5681
|
+
"label": "Placeholder",
|
|
5682
|
+
"type": "string",
|
|
5683
|
+
"default": "Select date & time",
|
|
5684
|
+
"group": "common"
|
|
5685
|
+
},
|
|
5686
|
+
{
|
|
5687
|
+
"key": "locale",
|
|
5688
|
+
"label": "Locale",
|
|
5689
|
+
"type": "string",
|
|
5690
|
+
"group": "common"
|
|
5691
|
+
},
|
|
5692
|
+
{
|
|
5693
|
+
"key": "firstDayOfWeek",
|
|
5694
|
+
"label": "First Day Of Week",
|
|
5695
|
+
"type": "number",
|
|
5696
|
+
"default": 0,
|
|
5697
|
+
"group": "common"
|
|
5698
|
+
},
|
|
5699
|
+
{
|
|
5700
|
+
"key": "weekNumbers",
|
|
5701
|
+
"label": "Week Numbers",
|
|
5702
|
+
"type": "boolean",
|
|
5703
|
+
"default": false,
|
|
5704
|
+
"group": "common"
|
|
5705
|
+
},
|
|
5706
|
+
{
|
|
5707
|
+
"key": "hourFormat",
|
|
5708
|
+
"label": "Hour Format",
|
|
5709
|
+
"type": "select",
|
|
5710
|
+
"options": [
|
|
5711
|
+
"12-hour",
|
|
5712
|
+
"24-hour"
|
|
5713
|
+
],
|
|
5714
|
+
"default": "24-hour",
|
|
5715
|
+
"group": "common"
|
|
5716
|
+
},
|
|
5717
|
+
{
|
|
5718
|
+
"key": "minuteInterval",
|
|
5719
|
+
"label": "Minute Interval",
|
|
5720
|
+
"type": "number",
|
|
5721
|
+
"default": 1,
|
|
5722
|
+
"group": "common"
|
|
5723
|
+
},
|
|
5724
|
+
{
|
|
5725
|
+
"key": "dropDownDisplayMode",
|
|
5726
|
+
"label": "Drop Down Display Mode",
|
|
5727
|
+
"type": "json",
|
|
5728
|
+
"default": "both",
|
|
5729
|
+
"description": "Which tabs the dropdown shows.",
|
|
5730
|
+
"group": "common"
|
|
5731
|
+
},
|
|
5732
|
+
{
|
|
5733
|
+
"key": "spinButtons",
|
|
5734
|
+
"label": "Spin Buttons",
|
|
5735
|
+
"type": "boolean",
|
|
5736
|
+
"default": false,
|
|
5737
|
+
"description": "Up/down spinner buttons that bump the value by `stepMinutes`.",
|
|
5738
|
+
"group": "common"
|
|
5739
|
+
},
|
|
5740
|
+
{
|
|
5741
|
+
"key": "stepMinutes",
|
|
5742
|
+
"label": "Step Minutes",
|
|
5743
|
+
"type": "number",
|
|
5744
|
+
"default": 1,
|
|
5745
|
+
"group": "common"
|
|
5746
|
+
},
|
|
5747
|
+
{
|
|
5748
|
+
"key": "autoOpen",
|
|
5749
|
+
"label": "Auto Open",
|
|
5750
|
+
"type": "boolean",
|
|
5751
|
+
"default": false,
|
|
5752
|
+
"description": "Open the dropdown as soon as the field is focused (grid in-cell editing).",
|
|
5753
|
+
"group": "common"
|
|
5754
|
+
},
|
|
5755
|
+
{
|
|
5756
|
+
"key": "block",
|
|
5757
|
+
"label": "Block",
|
|
5758
|
+
"type": "boolean",
|
|
5759
|
+
"default": false,
|
|
5760
|
+
"description": "Stretch the field to fill its container (100% width) instead of the fixed default width - used when mounted as a grid cell editor.",
|
|
5761
|
+
"group": "appearance"
|
|
5762
|
+
},
|
|
5763
|
+
{
|
|
5764
|
+
"key": "animate",
|
|
5765
|
+
"label": "Animate",
|
|
5766
|
+
"type": "select",
|
|
5767
|
+
"options": [
|
|
5768
|
+
"slide",
|
|
5769
|
+
"fade"
|
|
5770
|
+
],
|
|
5771
|
+
"default": false,
|
|
5772
|
+
"description": "Animate the calendar's month/drill navigation (honors reduced-motion).",
|
|
5773
|
+
"group": "common"
|
|
5774
|
+
},
|
|
5775
|
+
{
|
|
5776
|
+
"key": "messages",
|
|
5777
|
+
"label": "Messages",
|
|
5778
|
+
"type": "json",
|
|
5779
|
+
"description": "Override the built-in strings (tabs, dialog, clear/open aria-labels).",
|
|
5780
|
+
"group": "common"
|
|
5781
|
+
}
|
|
5782
|
+
],
|
|
5783
|
+
"events": [
|
|
5784
|
+
{
|
|
5785
|
+
"key": "change",
|
|
5786
|
+
"label": "Change",
|
|
5787
|
+
"prop": "onChange"
|
|
5788
|
+
},
|
|
5789
|
+
{
|
|
5790
|
+
"key": "commit",
|
|
5791
|
+
"label": "Commit",
|
|
5792
|
+
"prop": "onCommit",
|
|
5793
|
+
"description": "Fired when the value is finalized (Enter, blur, or a single-date pick). Used by the grid to save the cell."
|
|
5794
|
+
},
|
|
5795
|
+
{
|
|
5796
|
+
"key": "cancel",
|
|
5797
|
+
"label": "Cancel",
|
|
5798
|
+
"prop": "onCancel",
|
|
5799
|
+
"description": "Fired on Escape / dismiss without committing (grid cancels the edit)."
|
|
5800
|
+
}
|
|
5801
|
+
]
|
|
5802
|
+
},
|
|
5803
|
+
"SvTimePicker": {
|
|
5804
|
+
"props": [
|
|
5805
|
+
{
|
|
5806
|
+
"key": "value",
|
|
5807
|
+
"label": "Value",
|
|
5808
|
+
"type": "json",
|
|
5809
|
+
"description": "Date, \"HH:MM[:SS]\" string, or epoch ms.",
|
|
5810
|
+
"group": "common"
|
|
5811
|
+
},
|
|
5812
|
+
{
|
|
5813
|
+
"key": "format",
|
|
5814
|
+
"label": "Format",
|
|
5815
|
+
"type": "json",
|
|
5816
|
+
"default": "24-hour",
|
|
5817
|
+
"group": "common"
|
|
5818
|
+
},
|
|
5819
|
+
{
|
|
5820
|
+
"key": "minuteInterval",
|
|
5821
|
+
"label": "Minute Interval",
|
|
5822
|
+
"type": "number",
|
|
5823
|
+
"default": 1,
|
|
5824
|
+
"group": "common"
|
|
5825
|
+
},
|
|
5826
|
+
{
|
|
5827
|
+
"key": "autoSwitchToMinutes",
|
|
5828
|
+
"label": "Auto Switch To Minutes",
|
|
5829
|
+
"type": "boolean",
|
|
5830
|
+
"default": true,
|
|
5831
|
+
"description": "After picking an hour, jump the dial to minutes. Default true.",
|
|
5832
|
+
"group": "common"
|
|
5833
|
+
},
|
|
5834
|
+
{
|
|
5835
|
+
"key": "footer",
|
|
5836
|
+
"label": "Footer",
|
|
5837
|
+
"type": "boolean",
|
|
5838
|
+
"default": false,
|
|
5839
|
+
"description": "Show the Now footer button.",
|
|
5840
|
+
"group": "common"
|
|
5841
|
+
},
|
|
5842
|
+
{
|
|
5843
|
+
"key": "disabled",
|
|
5844
|
+
"label": "Disabled",
|
|
5845
|
+
"type": "boolean",
|
|
5846
|
+
"default": false,
|
|
5847
|
+
"group": "behavior"
|
|
5848
|
+
},
|
|
5849
|
+
{
|
|
5850
|
+
"key": "readonly",
|
|
5851
|
+
"label": "Readonly",
|
|
5852
|
+
"type": "boolean",
|
|
5853
|
+
"default": false,
|
|
5854
|
+
"group": "behavior"
|
|
5855
|
+
},
|
|
5856
|
+
{
|
|
5857
|
+
"key": "name",
|
|
5858
|
+
"label": "Name",
|
|
5859
|
+
"type": "string",
|
|
5860
|
+
"group": "advanced"
|
|
5861
|
+
},
|
|
5862
|
+
{
|
|
5863
|
+
"key": "selection",
|
|
5864
|
+
"label": "Selection",
|
|
5865
|
+
"type": "json",
|
|
5866
|
+
"default": "hour",
|
|
5867
|
+
"description": "Which dial opens first.",
|
|
5868
|
+
"group": "common"
|
|
5869
|
+
},
|
|
5870
|
+
{
|
|
5871
|
+
"key": "dir",
|
|
5872
|
+
"label": "Dir",
|
|
5873
|
+
"type": "select",
|
|
5874
|
+
"options": [
|
|
5875
|
+
"ltr",
|
|
5876
|
+
"rtl",
|
|
5877
|
+
"auto"
|
|
5878
|
+
],
|
|
5879
|
+
"description": "Text direction (rtl mirrors layout; auto/undefined inherits).",
|
|
5880
|
+
"group": "advanced"
|
|
5881
|
+
},
|
|
5882
|
+
{
|
|
5883
|
+
"key": "messages",
|
|
5884
|
+
"label": "Messages",
|
|
5885
|
+
"type": "json",
|
|
5886
|
+
"description": "Override the built-in strings (group label + AM/PM/Now).",
|
|
5887
|
+
"group": "common"
|
|
5888
|
+
},
|
|
5889
|
+
{
|
|
5890
|
+
"key": "label",
|
|
5891
|
+
"label": "Label",
|
|
5892
|
+
"type": "string",
|
|
5893
|
+
"group": "common"
|
|
5894
|
+
},
|
|
5895
|
+
{
|
|
5896
|
+
"key": "hint",
|
|
5897
|
+
"label": "Hint",
|
|
5898
|
+
"type": "string",
|
|
5899
|
+
"group": "common"
|
|
5900
|
+
},
|
|
5901
|
+
{
|
|
5902
|
+
"key": "error",
|
|
5903
|
+
"label": "Error",
|
|
5904
|
+
"type": "string",
|
|
5905
|
+
"group": "common"
|
|
5906
|
+
},
|
|
5907
|
+
{
|
|
5908
|
+
"key": "required",
|
|
5909
|
+
"label": "Required",
|
|
5910
|
+
"type": "boolean",
|
|
5911
|
+
"default": false,
|
|
5912
|
+
"group": "behavior"
|
|
5913
|
+
},
|
|
5914
|
+
{
|
|
5915
|
+
"key": "invalid",
|
|
5916
|
+
"label": "Invalid",
|
|
5917
|
+
"type": "boolean",
|
|
5918
|
+
"default": false,
|
|
5919
|
+
"group": "behavior"
|
|
5920
|
+
},
|
|
5921
|
+
{
|
|
5922
|
+
"key": "size",
|
|
5923
|
+
"label": "Size",
|
|
5924
|
+
"type": "select",
|
|
5925
|
+
"options": [
|
|
5926
|
+
"sm",
|
|
5927
|
+
"md",
|
|
5928
|
+
"lg"
|
|
5929
|
+
],
|
|
5930
|
+
"group": "appearance"
|
|
5931
|
+
},
|
|
5932
|
+
{
|
|
5933
|
+
"key": "id",
|
|
5934
|
+
"label": "Id",
|
|
5935
|
+
"type": "string",
|
|
5936
|
+
"group": "advanced"
|
|
5937
|
+
}
|
|
5938
|
+
],
|
|
5939
|
+
"events": [
|
|
5940
|
+
{
|
|
5941
|
+
"key": "change",
|
|
5942
|
+
"label": "Change",
|
|
5943
|
+
"prop": "onChange",
|
|
5944
|
+
"description": "Fires with a Date (today's date carrying the picked time)."
|
|
5945
|
+
}
|
|
5946
|
+
]
|
|
5947
|
+
},
|
|
5948
|
+
"SvDateRangeInput": {
|
|
5949
|
+
"props": [
|
|
5950
|
+
{
|
|
5951
|
+
"key": "disabled",
|
|
5952
|
+
"label": "Disabled",
|
|
5953
|
+
"type": "boolean",
|
|
5954
|
+
"default": false,
|
|
5955
|
+
"description": "Disable interaction + form submission.",
|
|
5956
|
+
"group": "behavior"
|
|
5957
|
+
},
|
|
5958
|
+
{
|
|
5959
|
+
"key": "readonly",
|
|
5960
|
+
"label": "Readonly",
|
|
5961
|
+
"type": "boolean",
|
|
5962
|
+
"default": false,
|
|
5963
|
+
"description": "Read-only: the value is shown but not editable.",
|
|
5964
|
+
"group": "behavior"
|
|
5965
|
+
},
|
|
5966
|
+
{
|
|
5967
|
+
"key": "required",
|
|
5968
|
+
"label": "Required",
|
|
5969
|
+
"type": "boolean",
|
|
5970
|
+
"default": false,
|
|
5971
|
+
"description": "Required for validation (adds `aria-required` + participates in validity).",
|
|
5972
|
+
"group": "behavior"
|
|
5973
|
+
},
|
|
5974
|
+
{
|
|
5975
|
+
"key": "invalid",
|
|
5976
|
+
"label": "Invalid",
|
|
5977
|
+
"type": "boolean",
|
|
5978
|
+
"default": false,
|
|
5979
|
+
"description": "Marks the control invalid (`aria-invalid` + error styling).",
|
|
5980
|
+
"group": "behavior"
|
|
5981
|
+
},
|
|
5982
|
+
{
|
|
5983
|
+
"key": "error",
|
|
5984
|
+
"label": "Error",
|
|
5985
|
+
"type": "string",
|
|
5986
|
+
"description": "Error message; when set it is announced via `aria-describedby` and shown.",
|
|
5987
|
+
"group": "common"
|
|
5988
|
+
},
|
|
5989
|
+
{
|
|
5990
|
+
"key": "label",
|
|
5991
|
+
"label": "Label",
|
|
5992
|
+
"type": "string",
|
|
5993
|
+
"description": "Visible field label, rendered above the control and wired via `for`/`id`.",
|
|
5994
|
+
"group": "common"
|
|
5995
|
+
},
|
|
5996
|
+
{
|
|
5997
|
+
"key": "hint",
|
|
5998
|
+
"label": "Hint",
|
|
5999
|
+
"type": "string",
|
|
6000
|
+
"description": "Helper text shown under the control and announced via `aria-describedby`.",
|
|
6001
|
+
"group": "common"
|
|
6002
|
+
},
|
|
6003
|
+
{
|
|
6004
|
+
"key": "size",
|
|
6005
|
+
"label": "Size",
|
|
6006
|
+
"type": "select",
|
|
6007
|
+
"options": [
|
|
6008
|
+
"sm",
|
|
6009
|
+
"md",
|
|
6010
|
+
"lg"
|
|
6011
|
+
],
|
|
6012
|
+
"default": "md",
|
|
6013
|
+
"description": "Control size / density.",
|
|
6014
|
+
"group": "appearance"
|
|
6015
|
+
},
|
|
6016
|
+
{
|
|
6017
|
+
"key": "dir",
|
|
6018
|
+
"label": "Dir",
|
|
6019
|
+
"type": "select",
|
|
6020
|
+
"options": [
|
|
6021
|
+
"ltr",
|
|
6022
|
+
"rtl",
|
|
6023
|
+
"auto"
|
|
6024
|
+
],
|
|
6025
|
+
"description": "Text direction. `'rtl'` mirrors layout for Arabic/Hebrew/etc.; `'auto'` (the default) inherits from the surrounding document so a page-level `dir` wins.",
|
|
6026
|
+
"group": "advanced"
|
|
6027
|
+
},
|
|
6028
|
+
{
|
|
6029
|
+
"key": "name",
|
|
6030
|
+
"label": "Name",
|
|
6031
|
+
"type": "string",
|
|
6032
|
+
"description": "Form field name; the editor emits a hidden input carrying its value.",
|
|
6033
|
+
"group": "advanced"
|
|
6034
|
+
},
|
|
6035
|
+
{
|
|
6036
|
+
"key": "id",
|
|
6037
|
+
"label": "Id",
|
|
6038
|
+
"type": "string",
|
|
6039
|
+
"description": "Root/control element id (the label/hint/error ids derive from it).",
|
|
6040
|
+
"group": "advanced"
|
|
6041
|
+
},
|
|
6042
|
+
{
|
|
6043
|
+
"key": "ariaLabel",
|
|
6044
|
+
"label": "Aria Label",
|
|
6045
|
+
"type": "string",
|
|
6046
|
+
"description": "Accessible name when there is no visible `label`.",
|
|
6047
|
+
"group": "advanced"
|
|
6048
|
+
},
|
|
6049
|
+
{
|
|
6050
|
+
"key": "loading",
|
|
6051
|
+
"label": "Loading",
|
|
6052
|
+
"type": "boolean",
|
|
6053
|
+
"description": "Busy state - shows a spinner (e.g. while an async value/validation resolves).",
|
|
6054
|
+
"group": "behavior"
|
|
6055
|
+
},
|
|
6056
|
+
{
|
|
6057
|
+
"key": "value",
|
|
6058
|
+
"label": "Value",
|
|
6059
|
+
"type": "json",
|
|
6060
|
+
"description": "Inclusive [start, end] range, or null.",
|
|
6061
|
+
"group": "common"
|
|
6062
|
+
},
|
|
6063
|
+
{
|
|
6064
|
+
"key": "formatString",
|
|
6065
|
+
"label": "Format String",
|
|
6066
|
+
"type": "string",
|
|
6067
|
+
"default": "yyyy-MM-dd",
|
|
6068
|
+
"description": "Display format for each end (token engine, e.g. 'yyyy-MM-dd').",
|
|
6069
|
+
"group": "common"
|
|
6070
|
+
},
|
|
6071
|
+
{
|
|
6072
|
+
"key": "min",
|
|
6073
|
+
"label": "Min",
|
|
6074
|
+
"type": "json",
|
|
6075
|
+
"group": "common"
|
|
6076
|
+
},
|
|
6077
|
+
{
|
|
6078
|
+
"key": "max",
|
|
6079
|
+
"label": "Max",
|
|
6080
|
+
"type": "json",
|
|
6081
|
+
"group": "common"
|
|
6082
|
+
},
|
|
6083
|
+
{
|
|
6084
|
+
"key": "months",
|
|
6085
|
+
"label": "Months",
|
|
6086
|
+
"type": "number",
|
|
6087
|
+
"default": 2,
|
|
6088
|
+
"description": "Number of month panels shown side by side. Default 2.",
|
|
6089
|
+
"group": "common"
|
|
6090
|
+
},
|
|
6091
|
+
{
|
|
6092
|
+
"key": "firstDayOfWeek",
|
|
6093
|
+
"label": "First Day Of Week",
|
|
6094
|
+
"type": "number",
|
|
6095
|
+
"default": 0,
|
|
6096
|
+
"group": "common"
|
|
6097
|
+
},
|
|
6098
|
+
{
|
|
6099
|
+
"key": "weekNumbers",
|
|
6100
|
+
"label": "Week Numbers",
|
|
6101
|
+
"type": "boolean",
|
|
6102
|
+
"default": false,
|
|
6103
|
+
"group": "common"
|
|
6104
|
+
},
|
|
6105
|
+
{
|
|
6106
|
+
"key": "locale",
|
|
6107
|
+
"label": "Locale",
|
|
6108
|
+
"type": "string",
|
|
6109
|
+
"group": "common"
|
|
6110
|
+
},
|
|
6111
|
+
{
|
|
6112
|
+
"key": "placeholder",
|
|
6113
|
+
"label": "Placeholder",
|
|
6114
|
+
"type": "string",
|
|
6115
|
+
"default": "Select date range",
|
|
6116
|
+
"group": "common"
|
|
6117
|
+
},
|
|
6118
|
+
{
|
|
6119
|
+
"key": "presets",
|
|
6120
|
+
"label": "Presets",
|
|
6121
|
+
"type": "json",
|
|
6122
|
+
"description": "Quick shortcuts shown in the calendar's side rail.",
|
|
6123
|
+
"group": "common"
|
|
6124
|
+
},
|
|
6125
|
+
{
|
|
6126
|
+
"key": "animate",
|
|
6127
|
+
"label": "Animate",
|
|
6128
|
+
"type": "select",
|
|
6129
|
+
"options": [
|
|
6130
|
+
"slide",
|
|
6131
|
+
"fade"
|
|
6132
|
+
],
|
|
6133
|
+
"default": false,
|
|
6134
|
+
"description": "Animate the calendar's month navigation.",
|
|
6135
|
+
"group": "common"
|
|
6136
|
+
},
|
|
6137
|
+
{
|
|
6138
|
+
"key": "autoOpen",
|
|
6139
|
+
"label": "Auto Open",
|
|
6140
|
+
"type": "boolean",
|
|
6141
|
+
"default": false,
|
|
6142
|
+
"description": "Open the popover as soon as the field is focused.",
|
|
6143
|
+
"group": "common"
|
|
6144
|
+
},
|
|
6145
|
+
{
|
|
6146
|
+
"key": "messages",
|
|
6147
|
+
"label": "Messages",
|
|
6148
|
+
"type": "json",
|
|
6149
|
+
"description": "Override the built-in strings.",
|
|
6150
|
+
"group": "common"
|
|
6151
|
+
}
|
|
6152
|
+
],
|
|
6153
|
+
"events": [
|
|
6154
|
+
{
|
|
6155
|
+
"key": "change",
|
|
6156
|
+
"label": "Change",
|
|
6157
|
+
"prop": "onChange"
|
|
6158
|
+
}
|
|
6159
|
+
]
|
|
6160
|
+
},
|
|
6161
|
+
"SvSegmented": {
|
|
6162
|
+
"props": [
|
|
6163
|
+
{
|
|
6164
|
+
"key": "options",
|
|
6165
|
+
"label": "Options",
|
|
6166
|
+
"type": "json",
|
|
6167
|
+
"group": "common"
|
|
6168
|
+
},
|
|
6169
|
+
{
|
|
6170
|
+
"key": "value",
|
|
6171
|
+
"label": "Value",
|
|
6172
|
+
"type": "string",
|
|
6173
|
+
"group": "common"
|
|
6174
|
+
},
|
|
6175
|
+
{
|
|
6176
|
+
"key": "block",
|
|
6177
|
+
"label": "Block",
|
|
6178
|
+
"type": "boolean",
|
|
6179
|
+
"default": false,
|
|
6180
|
+
"description": "Stretch the control (and split options evenly) to the container width.",
|
|
6181
|
+
"group": "appearance"
|
|
6182
|
+
},
|
|
6183
|
+
{
|
|
6184
|
+
"key": "name",
|
|
6185
|
+
"label": "Name",
|
|
6186
|
+
"type": "string",
|
|
6187
|
+
"group": "advanced"
|
|
6188
|
+
}
|
|
6189
|
+
],
|
|
6190
|
+
"events": [
|
|
6191
|
+
{
|
|
6192
|
+
"key": "change",
|
|
6193
|
+
"label": "Change",
|
|
6194
|
+
"prop": "onChange"
|
|
6195
|
+
}
|
|
6196
|
+
]
|
|
6197
|
+
},
|
|
6198
|
+
"SvTreeSelect": {
|
|
6199
|
+
"props": [
|
|
6200
|
+
{
|
|
6201
|
+
"key": "nodes",
|
|
6202
|
+
"label": "Nodes",
|
|
6203
|
+
"type": "json",
|
|
6204
|
+
"group": "common"
|
|
6205
|
+
},
|
|
6206
|
+
{
|
|
6207
|
+
"key": "value",
|
|
6208
|
+
"label": "Value",
|
|
6209
|
+
"type": "string",
|
|
6210
|
+
"group": "common"
|
|
6211
|
+
},
|
|
6212
|
+
{
|
|
6213
|
+
"key": "placeholder",
|
|
6214
|
+
"label": "Placeholder",
|
|
6215
|
+
"type": "string",
|
|
6216
|
+
"default": "Select…",
|
|
6217
|
+
"group": "common"
|
|
6218
|
+
},
|
|
6219
|
+
{
|
|
6220
|
+
"key": "showPath",
|
|
6221
|
+
"label": "Show Path",
|
|
6222
|
+
"type": "boolean",
|
|
6223
|
+
"default": false,
|
|
6224
|
+
"group": "common"
|
|
6225
|
+
},
|
|
6226
|
+
{
|
|
6227
|
+
"key": "expandedIds",
|
|
6228
|
+
"label": "Expanded Ids",
|
|
6229
|
+
"type": "json",
|
|
6230
|
+
"group": "common"
|
|
6231
|
+
}
|
|
6232
|
+
],
|
|
6233
|
+
"events": [
|
|
6234
|
+
{
|
|
6235
|
+
"key": "change",
|
|
6236
|
+
"label": "Change",
|
|
6237
|
+
"prop": "onChange"
|
|
6238
|
+
},
|
|
6239
|
+
{
|
|
6240
|
+
"key": "commit",
|
|
6241
|
+
"label": "Commit",
|
|
6242
|
+
"prop": "onCommit"
|
|
6243
|
+
},
|
|
6244
|
+
{
|
|
6245
|
+
"key": "cancel",
|
|
6246
|
+
"label": "Cancel",
|
|
6247
|
+
"prop": "onCancel"
|
|
6248
|
+
}
|
|
6249
|
+
]
|
|
6250
|
+
},
|
|
6251
|
+
"SvFileUpload": {
|
|
6252
|
+
"props": [
|
|
6253
|
+
{
|
|
6254
|
+
"key": "disabled",
|
|
6255
|
+
"label": "Disabled",
|
|
6256
|
+
"type": "boolean",
|
|
6257
|
+
"default": false,
|
|
6258
|
+
"description": "Disable interaction + form submission.",
|
|
6259
|
+
"group": "behavior"
|
|
6260
|
+
},
|
|
6261
|
+
{
|
|
6262
|
+
"key": "readonly",
|
|
6263
|
+
"label": "Readonly",
|
|
6264
|
+
"type": "boolean",
|
|
6265
|
+
"default": false,
|
|
6266
|
+
"description": "Read-only: the value is shown but not editable.",
|
|
6267
|
+
"group": "behavior"
|
|
6268
|
+
},
|
|
6269
|
+
{
|
|
6270
|
+
"key": "required",
|
|
6271
|
+
"label": "Required",
|
|
6272
|
+
"type": "boolean",
|
|
6273
|
+
"default": false,
|
|
6274
|
+
"description": "Required for validation (adds `aria-required` + participates in validity).",
|
|
6275
|
+
"group": "behavior"
|
|
6276
|
+
},
|
|
6277
|
+
{
|
|
6278
|
+
"key": "invalid",
|
|
6279
|
+
"label": "Invalid",
|
|
6280
|
+
"type": "boolean",
|
|
6281
|
+
"default": false,
|
|
6282
|
+
"description": "Marks the control invalid (`aria-invalid` + error styling).",
|
|
6283
|
+
"group": "behavior"
|
|
6284
|
+
},
|
|
6285
|
+
{
|
|
6286
|
+
"key": "error",
|
|
6287
|
+
"label": "Error",
|
|
6288
|
+
"type": "string",
|
|
6289
|
+
"description": "Error message; when set it is announced via `aria-describedby` and shown.",
|
|
6290
|
+
"group": "common"
|
|
6291
|
+
},
|
|
6292
|
+
{
|
|
6293
|
+
"key": "label",
|
|
6294
|
+
"label": "Label",
|
|
6295
|
+
"type": "string",
|
|
6296
|
+
"description": "Visible field label, rendered above the control and wired via `for`/`id`.",
|
|
6297
|
+
"group": "common"
|
|
6298
|
+
},
|
|
6299
|
+
{
|
|
6300
|
+
"key": "hint",
|
|
6301
|
+
"label": "Hint",
|
|
6302
|
+
"type": "string",
|
|
6303
|
+
"description": "Helper text shown under the control and announced via `aria-describedby`.",
|
|
6304
|
+
"group": "common"
|
|
6305
|
+
},
|
|
6306
|
+
{
|
|
6307
|
+
"key": "size",
|
|
6308
|
+
"label": "Size",
|
|
6309
|
+
"type": "select",
|
|
6310
|
+
"options": [
|
|
6311
|
+
"sm",
|
|
6312
|
+
"md",
|
|
6313
|
+
"lg"
|
|
6314
|
+
],
|
|
6315
|
+
"description": "Control size / density.",
|
|
6316
|
+
"group": "appearance"
|
|
6317
|
+
},
|
|
6318
|
+
{
|
|
6319
|
+
"key": "dir",
|
|
6320
|
+
"label": "Dir",
|
|
6321
|
+
"type": "select",
|
|
6322
|
+
"options": [
|
|
6323
|
+
"ltr",
|
|
6324
|
+
"rtl",
|
|
6325
|
+
"auto"
|
|
6326
|
+
],
|
|
6327
|
+
"description": "Text direction. `'rtl'` mirrors layout for Arabic/Hebrew/etc.; `'auto'` (the default) inherits from the surrounding document so a page-level `dir` wins.",
|
|
6328
|
+
"group": "advanced"
|
|
6329
|
+
},
|
|
6330
|
+
{
|
|
6331
|
+
"key": "name",
|
|
6332
|
+
"label": "Name",
|
|
6333
|
+
"type": "string",
|
|
6334
|
+
"description": "Form field name; the editor emits a hidden input carrying its value.",
|
|
6335
|
+
"group": "advanced"
|
|
6336
|
+
},
|
|
6337
|
+
{
|
|
6338
|
+
"key": "id",
|
|
6339
|
+
"label": "Id",
|
|
6340
|
+
"type": "string",
|
|
6341
|
+
"description": "Root/control element id (the label/hint/error ids derive from it).",
|
|
6342
|
+
"group": "advanced"
|
|
6343
|
+
},
|
|
6344
|
+
{
|
|
6345
|
+
"key": "ariaLabel",
|
|
6346
|
+
"label": "Aria Label",
|
|
6347
|
+
"type": "string",
|
|
6348
|
+
"description": "Accessible name when there is no visible `label`.",
|
|
6349
|
+
"group": "advanced"
|
|
6350
|
+
},
|
|
6351
|
+
{
|
|
6352
|
+
"key": "loading",
|
|
6353
|
+
"label": "Loading",
|
|
6354
|
+
"type": "boolean",
|
|
6355
|
+
"description": "Busy state - shows a spinner (e.g. while an async value/validation resolves).",
|
|
6356
|
+
"group": "behavior"
|
|
6357
|
+
},
|
|
6358
|
+
{
|
|
6359
|
+
"key": "files",
|
|
6360
|
+
"label": "Files",
|
|
6361
|
+
"type": "json",
|
|
6362
|
+
"group": "common"
|
|
6363
|
+
},
|
|
6364
|
+
{
|
|
6365
|
+
"key": "accept",
|
|
6366
|
+
"label": "Accept",
|
|
6367
|
+
"type": "string",
|
|
6368
|
+
"group": "common"
|
|
6369
|
+
},
|
|
6370
|
+
{
|
|
6371
|
+
"key": "multiple",
|
|
6372
|
+
"label": "Multiple",
|
|
6373
|
+
"type": "boolean",
|
|
6374
|
+
"default": false,
|
|
6375
|
+
"group": "behavior"
|
|
6376
|
+
},
|
|
6377
|
+
{
|
|
6378
|
+
"key": "maxSize",
|
|
6379
|
+
"label": "Max Size",
|
|
6380
|
+
"type": "number",
|
|
6381
|
+
"description": "Max size per file in bytes.",
|
|
6382
|
+
"group": "common"
|
|
6383
|
+
},
|
|
6384
|
+
{
|
|
6385
|
+
"key": "maxFiles",
|
|
6386
|
+
"label": "Max Files",
|
|
6387
|
+
"type": "number",
|
|
6388
|
+
"group": "common"
|
|
6389
|
+
},
|
|
6390
|
+
{
|
|
6391
|
+
"key": "messages",
|
|
6392
|
+
"label": "Messages",
|
|
6393
|
+
"type": "json",
|
|
6394
|
+
"group": "common"
|
|
6395
|
+
}
|
|
6396
|
+
],
|
|
6397
|
+
"events": [
|
|
6398
|
+
{
|
|
6399
|
+
"key": "change",
|
|
6400
|
+
"label": "Change",
|
|
6401
|
+
"prop": "onChange"
|
|
6402
|
+
},
|
|
6403
|
+
{
|
|
6404
|
+
"key": "reject",
|
|
6405
|
+
"label": "Reject",
|
|
6406
|
+
"prop": "onReject"
|
|
6407
|
+
}
|
|
6408
|
+
]
|
|
6409
|
+
},
|
|
6410
|
+
"SvGrid": {
|
|
6411
|
+
"props": [
|
|
6412
|
+
{
|
|
6413
|
+
"key": "data",
|
|
6414
|
+
"label": "Data",
|
|
6415
|
+
"type": "json",
|
|
6416
|
+
"group": "common"
|
|
6417
|
+
},
|
|
6418
|
+
{
|
|
6419
|
+
"key": "columns",
|
|
6420
|
+
"label": "Columns",
|
|
6421
|
+
"type": "json",
|
|
6422
|
+
"group": "common"
|
|
6423
|
+
},
|
|
6424
|
+
{
|
|
6425
|
+
"key": "board",
|
|
6426
|
+
"label": "Board",
|
|
6427
|
+
"type": "json",
|
|
6428
|
+
"description": "Kanban board mode. When set, the grid renders its rows as cards in horizontal lanes (bucketed by `board.groupBy`) instead of a table. See .",
|
|
6429
|
+
"group": "common"
|
|
6430
|
+
},
|
|
6431
|
+
{
|
|
6432
|
+
"key": "scheduler",
|
|
6433
|
+
"label": "Scheduler",
|
|
6434
|
+
"type": "json",
|
|
6435
|
+
"description": "Scheduler / calendar mode. When set, the grid renders its rows as events on a Month / Week / Day / Agenda calendar instead of a table. See .",
|
|
6436
|
+
"group": "common"
|
|
6437
|
+
},
|
|
6438
|
+
{
|
|
6439
|
+
"key": "chart",
|
|
6440
|
+
"label": "Chart",
|
|
6441
|
+
"type": "json",
|
|
6442
|
+
"description": "Chart view. When set, the grid renders its FILTERED + SORTED rows as a chart instead of a table (search / filters / sort flow through). Unlike board and scheduler, the renderer is free - the grid lazy-loads a built-in `SvChart` view, overridable via `registerChartView`. See .",
|
|
6443
|
+
"group": "common"
|
|
6444
|
+
},
|
|
6445
|
+
{
|
|
6446
|
+
"key": "pivot",
|
|
6447
|
+
"label": "Pivot",
|
|
6448
|
+
"type": "json",
|
|
6449
|
+
"description": "Pivot mode. When set (and `pivotMode` is on), the grid renders its rows as a pivot table in place - the same grid, aggregated across `pivot.rows` / `pivot.cols` with nested column headers - instead of the flat table. The pivot ENGINE ships in `@svgrid/enterprise`; call `enablePivot()` (or `installEnterprise(api)`) to register it, otherwise an upsell note shows. See .",
|
|
6450
|
+
"group": "common"
|
|
6451
|
+
},
|
|
6452
|
+
{
|
|
6453
|
+
"key": "pivotMode",
|
|
6454
|
+
"label": "Pivot Mode",
|
|
6455
|
+
"type": "boolean",
|
|
6456
|
+
"description": "Whether pivot mode is currently active. Defaults to `true` when `pivot` is set. Bindable so a toolbar toggle can flip between the pivot and the flat table over the same data.",
|
|
6457
|
+
"group": "common"
|
|
6458
|
+
},
|
|
6459
|
+
{
|
|
6460
|
+
"key": "contextMenu",
|
|
6461
|
+
"label": "Context Menu",
|
|
6462
|
+
"type": "boolean",
|
|
6463
|
+
"description": "Right-click context menu. `true` shows the default item set (copy, cut, paste, clear, insert row above/below, remove row, remove column). Pass an array to customize: strings are built-in keys, `\"separator\"` is a divider, and objects are custom items. Omitted/`false` disables the menu (native browser menu shows instead).",
|
|
6464
|
+
"group": "common"
|
|
6465
|
+
},
|
|
6466
|
+
{
|
|
6467
|
+
"key": "features",
|
|
6468
|
+
"label": "Features",
|
|
6469
|
+
"type": "json",
|
|
6470
|
+
"description": "The feature set built with `tableFeatures({ ... })`. Optional - the `sortable` / `filterable` / `groupable` shortcuts below inject the matching feature for you, so a grid can be configured entirely from the boolean shortcuts without importing the feature constants.",
|
|
6471
|
+
"group": "common"
|
|
6472
|
+
},
|
|
6473
|
+
{
|
|
6474
|
+
"key": "sortable",
|
|
6475
|
+
"label": "Sortable",
|
|
6476
|
+
"type": "boolean",
|
|
6477
|
+
"description": "Convenience shortcuts to switch a whole capability on without wiring `features` or the finer-grained props by hand. Every capability is OFF by default - a bare grid is a plain read-only table - so set the shortcut `true` to opt in. (`false` / omitted both leave it off; the shortcut is mainly there to turn things ON.) `sortable` - column sorting (injects `rowSortingFeature`) `filterable` - column filtering (injects `columnFilteringFeature`) `editable` - inline cell editing (alias of `enableInlineEditing`) `groupable` - row grouping controls(alias of `showGroupingControls`, also injects `columnGroupingFeature`) `pageable` - pagination footer (alias of `showPagination`) Fine-grained props (`enableInlineEditing`, `showPagination`, ...) still work; the shortcut wins only when it is explicitly set.",
|
|
6478
|
+
"group": "common"
|
|
6479
|
+
},
|
|
6480
|
+
{
|
|
6481
|
+
"key": "filterable",
|
|
6482
|
+
"label": "Filterable",
|
|
6483
|
+
"type": "boolean",
|
|
6484
|
+
"group": "common"
|
|
6485
|
+
},
|
|
6486
|
+
{
|
|
6487
|
+
"key": "editable",
|
|
6488
|
+
"label": "Editable",
|
|
6489
|
+
"type": "boolean",
|
|
6490
|
+
"group": "common"
|
|
6491
|
+
},
|
|
6492
|
+
{
|
|
6493
|
+
"key": "treeData",
|
|
6494
|
+
"label": "Tree Data",
|
|
6495
|
+
"type": "json",
|
|
6496
|
+
"description": "Client-side tree data: nest rows into a hierarchy by parent id. ```svelte <SvGrid {data} {columns} treeData={{ parentField: 'managerId', column: 'name' }} /> ``` Unlike grouping, tree rows are real data rows - they keep their cells, editing and selection, and only gain an expander plus indentation in `column`. Rows whose parent is missing become roots rather than vanishing. For NESTED source data (`children: [...]`), flatten it first with `flattenTreeData(data, { childrenField: 'children' })` and point `parentField` at the `__parentId` it stamps on. Setting this replaces row grouping - a row cannot be both.",
|
|
6497
|
+
"group": "common"
|
|
6498
|
+
},
|
|
6499
|
+
{
|
|
6500
|
+
"key": "groupable",
|
|
6501
|
+
"label": "Groupable",
|
|
6502
|
+
"type": "boolean",
|
|
6503
|
+
"group": "common"
|
|
6504
|
+
},
|
|
6505
|
+
{
|
|
6506
|
+
"key": "groupFooters",
|
|
6507
|
+
"label": "Group Footers",
|
|
6508
|
+
"type": "boolean",
|
|
6509
|
+
"description": "Render a subtotal row after each group's children, carrying that group's aggregate values under the columns they belong to (the columns with an `aggregate` set). Off by default. Footers are inserted after paging, so they never count against `pageSize` - a page shows its `pageSize` data rows plus whatever footers close on it.",
|
|
6510
|
+
"group": "common"
|
|
6511
|
+
},
|
|
6512
|
+
{
|
|
6513
|
+
"key": "grandTotalRow",
|
|
6514
|
+
"label": "Grand Total Row",
|
|
6515
|
+
"type": "boolean",
|
|
6516
|
+
"description": "Append a grand-total row at the very end, aggregating the whole filtered set (not just the current page) with each column's `aggregate` function. Independent of `groupFooters`: use it on a flat grid for a bottom totals line, or alongside group subtotals for both. Like group footers it is appended after paging, so it never counts against `pageSize` - but it is only appended on the LAST page, so a total never appears mid-dataset. Columns without an `aggregate` are left blank.",
|
|
6517
|
+
"group": "common"
|
|
6518
|
+
},
|
|
6519
|
+
{
|
|
6520
|
+
"key": "groupDisplayMode",
|
|
6521
|
+
"label": "Group Display Mode",
|
|
6522
|
+
"type": "json",
|
|
6523
|
+
"description": "How grouped rows are displayed. - `groupRows` (default): a full-width banner row per group. Unchanged behaviour - existing grids are untouched. - `singleColumn`: one synthetic \"Group\" column holding every level, indented by depth. - `multipleColumns`: one synthetic column per grouped field. Both column modes hide the grouped source columns, since their values move into the auto column(s), and render group rows as ordinary rows so their aggregate cells line up under the real columns.",
|
|
6524
|
+
"group": "common"
|
|
6525
|
+
},
|
|
6526
|
+
{
|
|
6527
|
+
"key": "autoGroupColumnHeader",
|
|
6528
|
+
"label": "Auto Group Column Header",
|
|
6529
|
+
"type": "string",
|
|
6530
|
+
"description": "Header for the combined `singleColumn` auto-group column. Default `\"Group\"`.",
|
|
6531
|
+
"group": "common"
|
|
6532
|
+
},
|
|
6533
|
+
{
|
|
6534
|
+
"key": "autoGroupColumnWidth",
|
|
6535
|
+
"label": "Auto Group Column Width",
|
|
6536
|
+
"type": "number",
|
|
6537
|
+
"description": "Width (px) of each auto-group column. Default `220`.",
|
|
6538
|
+
"group": "common"
|
|
6539
|
+
},
|
|
6540
|
+
{
|
|
6541
|
+
"key": "pageable",
|
|
6542
|
+
"label": "Pageable",
|
|
6543
|
+
"type": "boolean",
|
|
6544
|
+
"group": "common"
|
|
6545
|
+
},
|
|
6546
|
+
{
|
|
6547
|
+
"key": "loading",
|
|
6548
|
+
"label": "Loading",
|
|
6549
|
+
"type": "boolean",
|
|
6550
|
+
"group": "behavior"
|
|
6551
|
+
},
|
|
6552
|
+
{
|
|
6553
|
+
"key": "loadingOverlay",
|
|
6554
|
+
"label": "Loading Overlay",
|
|
6555
|
+
"type": "boolean",
|
|
6556
|
+
"description": "Render `loading` as a non-blocking overlay instead of replacing the whole grid: the current rows stay visible (dimmed, with a top progress bar) during a refetch, and the first load shows shimmer skeleton rows. Ideal for server-paged grids so paging/sorting doesn't flash. Defaults to `false` (the classic full \"Loading...\" replacement).",
|
|
6557
|
+
"group": "common"
|
|
6558
|
+
},
|
|
6559
|
+
{
|
|
6560
|
+
"key": "loadingSkeletonRows",
|
|
6561
|
+
"label": "Loading Skeleton Rows",
|
|
6562
|
+
"type": "number",
|
|
6563
|
+
"description": "Skeleton placeholder rows to show on first load. Defaults to 8.",
|
|
6564
|
+
"group": "common"
|
|
6565
|
+
},
|
|
6566
|
+
{
|
|
6567
|
+
"key": "error",
|
|
6568
|
+
"label": "Error",
|
|
6569
|
+
"type": "string",
|
|
6570
|
+
"group": "common"
|
|
6571
|
+
},
|
|
6572
|
+
{
|
|
6573
|
+
"key": "emptyMessage",
|
|
6574
|
+
"label": "Empty Message",
|
|
6575
|
+
"type": "string",
|
|
6576
|
+
"group": "common"
|
|
6577
|
+
},
|
|
6578
|
+
{
|
|
6579
|
+
"key": "localization",
|
|
6580
|
+
"label": "Localization",
|
|
6581
|
+
"type": "json",
|
|
6582
|
+
"description": "The single place to localize the grid. One object with two fields: - `locale` - BCP-47 tag(s) for the DATA: accent/case-insensitive filter matching AND every column's number / currency / percent / date formatting (when the column's own `format.locales` is unset). The default for `filterLocale` and per-column format locales. - `text` - overrides for the grid's own UI STRINGS (empty state, tool panel, pager, status bar, filter operator labels, context-menu items, upsell notes). Any subset overrides the English defaults; unset keys stay English. ```svelte <SvGrid localization={{ locale: 'fr-FR', text: { noRows: 'Aucune ligne' } }} /> ``` Omitting it (or any field) is a no-op. See .",
|
|
6583
|
+
"group": "common"
|
|
6584
|
+
},
|
|
6585
|
+
{
|
|
6586
|
+
"key": "showGlobalFilter",
|
|
6587
|
+
"label": "Show Global Filter",
|
|
6588
|
+
"type": "boolean",
|
|
6589
|
+
"group": "common"
|
|
6590
|
+
},
|
|
6591
|
+
{
|
|
6592
|
+
"key": "showColumnFilters",
|
|
6593
|
+
"label": "Show Column Filters",
|
|
6594
|
+
"type": "boolean",
|
|
6595
|
+
"group": "common"
|
|
6596
|
+
},
|
|
6597
|
+
{
|
|
6598
|
+
"key": "filterMode",
|
|
6599
|
+
"label": "Filter Mode",
|
|
6600
|
+
"type": "select",
|
|
6601
|
+
"options": [
|
|
6602
|
+
"row",
|
|
6603
|
+
"menu",
|
|
6604
|
+
"global",
|
|
6605
|
+
"none"
|
|
6606
|
+
],
|
|
6607
|
+
"description": "Quick way to pick a single filtering UI. When set it controls which of the three filter surfaces appears (and is overridden per-surface by the `showGlobalFilter` / `showColumnFilters` / `showFilterRow` props). Defaults to `'menu'` (only the column menu's filter section is shown).",
|
|
6608
|
+
"group": "common"
|
|
6609
|
+
},
|
|
6610
|
+
{
|
|
6611
|
+
"key": "showGroupingControls",
|
|
6612
|
+
"label": "Show Grouping Controls",
|
|
6613
|
+
"type": "boolean",
|
|
6614
|
+
"group": "common"
|
|
6615
|
+
},
|
|
6616
|
+
{
|
|
6617
|
+
"key": "showRowSelection",
|
|
6618
|
+
"label": "Show Row Selection",
|
|
6619
|
+
"type": "boolean",
|
|
6620
|
+
"group": "common"
|
|
6621
|
+
},
|
|
6622
|
+
{
|
|
6623
|
+
"key": "showPagination",
|
|
6624
|
+
"label": "Show Pagination",
|
|
6625
|
+
"type": "boolean",
|
|
6626
|
+
"group": "common"
|
|
6627
|
+
},
|
|
6628
|
+
{
|
|
6629
|
+
"key": "pageSize",
|
|
6630
|
+
"label": "Page Size",
|
|
5102
6631
|
"type": "number",
|
|
5103
6632
|
"description": "Initial page size when pagination is enabled. Defaults to 10.",
|
|
5104
6633
|
"group": "common"
|
|
@@ -5156,6 +6685,13 @@ export const GENERATED_UI_SURFACE: Record<string, { props: GeneratedUiProp[]; ev
|
|
|
5156
6685
|
"description": "Row height in pixels. Pass a function `(rowIndex) => px` for per-row variable heights (e.g. an interactive row-resize feature). Defaults to 30.",
|
|
5157
6686
|
"group": "common"
|
|
5158
6687
|
},
|
|
6688
|
+
{
|
|
6689
|
+
"key": "autoRowHeight",
|
|
6690
|
+
"label": "Auto Row Height",
|
|
6691
|
+
"type": "boolean",
|
|
6692
|
+
"description": "Size each row to its own content instead of a fixed height: cell text wraps and the row grows to fit the tallest cell. Rows are measured after they render, so this works with virtualization - `rowHeight` (or 30) is the estimate used before a row has been measured, which keeps the scrollbar stable while you scroll into new rows. Costs a measurement pass per row, so prefer a fixed `rowHeight` when your content is uniform. Ignored when `rowHeight` is a function (you are already supplying per-row heights).",
|
|
6693
|
+
"group": "common"
|
|
6694
|
+
},
|
|
5159
6695
|
{
|
|
5160
6696
|
"key": "headerHeight",
|
|
5161
6697
|
"label": "Header Height",
|
|
@@ -5417,10 +6953,11 @@ export const GENERATED_UI_SURFACE: Record<string, { props: GeneratedUiProp[]; ev
|
|
|
5417
6953
|
"label": "Conditional Stat Scope",
|
|
5418
6954
|
"type": "select",
|
|
5419
6955
|
"options": [
|
|
6956
|
+
"filtered",
|
|
5420
6957
|
"visible",
|
|
5421
6958
|
"all"
|
|
5422
6959
|
],
|
|
5423
|
-
"description": "Which rows feed the min/max range that `colorScale` / `dataBar` formats scale against. `
|
|
6960
|
+
"description": "Which rows feed the min/max range that `colorScale` / `dataBar` formats scale against. - `filtered` (default): every row that survives the filters, ignoring the page slice. The scale follows what you filtered to but does not shift when you page, so the same value keeps the same colour on page 1 and page 2. - `visible`: only the rows currently on screen. Rescales per page - use it when you want each page's heat map normalized to that page. - `all`: the full unfiltered dataset, for a scale that stays put as you filter.",
|
|
5424
6961
|
"group": "common"
|
|
5425
6962
|
},
|
|
5426
6963
|
{
|