@quidgest/ui 0.17.9 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +79 -0
- package/dist/json/api.json +302 -143
- package/dist/manifest/components.json +4 -1
- package/dist/ui.css +460 -167
- package/dist/ui.esm.js +618 -631
- package/dist/ui.js +490 -504
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +490 -504
- package/dist/ui.scss +439 -167
- package/esm/components/QAccordion/QAccordionItem.vue.js +1 -0
- package/esm/components/QCarousel/QCarousel.vue.js +1 -1
- package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +2 -0
- package/esm/components/QCollapsible/QCollapsible.d.ts +2 -1
- package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.vue.js +50 -47
- package/esm/components/QCollapsible/constants.d.ts +6 -0
- package/esm/components/QCollapsible/constants.d.ts.map +1 -1
- package/esm/components/QCollapsible/constants.js +3 -2
- package/esm/components/QCollapsible/index.d.ts +6 -0
- package/esm/components/QCollapsible/index.d.ts.map +1 -1
- package/esm/components/QCollapsible/types.d.ts +11 -1
- package/esm/components/QCollapsible/types.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +505 -597
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +32 -16
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +179 -86
- package/esm/components/QDropdownMenu/types.d.ts +6 -0
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QField/types.d.ts +3 -0
- package/esm/components/QField/types.d.ts.map +1 -1
- package/esm/components/QGrid/QCol.vue.js +1 -1
- package/esm/components/QLabel/QLabel.d.ts.map +1 -1
- package/esm/components/QLabel/QLabel.vue.js +19 -17
- package/esm/components/QLabel/types.d.ts +3 -0
- package/esm/components/QLabel/types.d.ts.map +1 -1
- package/esm/components/{QGroupBox/QGroupBox.d.ts → QSection/QSection.d.ts} +4 -4
- package/esm/components/QSection/QSection.d.ts.map +1 -0
- package/esm/components/{QGroupBox/QGroupBox.vue.js → QSection/QSection.vue.js} +8 -8
- package/esm/components/QSection/QSection2.vue.js +5 -0
- package/esm/components/{QGroupBox → QSection}/index.d.ts +8 -8
- package/esm/components/QSection/index.d.ts.map +1 -0
- package/esm/components/QSection/index.js +6 -0
- package/esm/components/QSection/types.d.ts +32 -0
- package/esm/components/QSection/types.d.ts.map +1 -0
- package/esm/components/QSidebar/QSidebar.d.ts +53 -6
- package/esm/components/QSidebar/QSidebar.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.vue.js +76 -106
- package/esm/components/QSidebar/QSidebarAnchor.d.ts +24 -210
- package/esm/components/QSidebar/QSidebarAnchor.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarAnchor.vue.js +47 -59
- package/esm/components/QSidebar/QSidebarItem.d.ts +213 -0
- package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -0
- package/esm/components/QSidebar/QSidebarItem.vue.js +130 -0
- package/esm/components/QSidebar/QSidebarItem2.vue.js +5 -0
- package/esm/components/QSidebar/QSidebarPanel.d.ts +1 -7
- package/esm/components/QSidebar/QSidebarPanel.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarPanel.vue.js +4 -10
- package/esm/components/QSidebar/context.d.ts +108 -0
- package/esm/components/QSidebar/context.d.ts.map +1 -0
- package/esm/components/QSidebar/context.js +4 -0
- package/esm/components/QSidebar/index.d.ts +166 -8
- package/esm/components/QSidebar/index.d.ts.map +1 -1
- package/esm/components/QSidebar/index.js +3 -2
- package/esm/components/QSidebar/types.d.ts +77 -42
- package/esm/components/QSidebar/types.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.d.ts +173 -0
- package/esm/components/QTabs/QTab.d.ts.map +1 -0
- package/esm/components/QTabs/QTab.vue.js +123 -0
- package/esm/components/QTabs/QTab2.vue.js +5 -0
- package/esm/components/QTabs/QTabs.d.ts +37 -0
- package/esm/components/QTabs/QTabs.d.ts.map +1 -0
- package/esm/components/QTabs/QTabs.vue.js +162 -0
- package/esm/components/QTabs/QTabs2.vue.js +5 -0
- package/esm/components/QTabs/constants.d.ts +5 -0
- package/esm/components/QTabs/constants.d.ts.map +1 -0
- package/esm/components/QTabs/context.d.ts +85 -0
- package/esm/components/QTabs/context.d.ts.map +1 -0
- package/esm/components/QTabs/context.js +4 -0
- package/esm/components/QTabs/index.d.ts +166 -0
- package/esm/components/QTabs/index.d.ts.map +1 -0
- package/esm/components/QTabs/index.js +7 -0
- package/esm/components/QTabs/types.d.ts +108 -0
- package/esm/components/QTabs/types.d.ts.map +1 -0
- package/esm/components/__internal__/QRequiredIndicator/QRequiredIndicator.d.ts +7 -0
- package/esm/components/__internal__/QRequiredIndicator/QRequiredIndicator.d.ts.map +1 -0
- package/esm/components/__internal__/QRequiredIndicator/QRequiredIndicator.vue.js +24 -0
- package/esm/components/__internal__/QRequiredIndicator/QRequiredIndicator2.vue.js +5 -0
- package/esm/components/__internal__/QRequiredIndicator/constants.d.ts +7 -0
- package/esm/components/__internal__/QRequiredIndicator/constants.d.ts.map +1 -0
- package/esm/components/__internal__/QRequiredIndicator/constants.js +4 -0
- package/esm/components/__internal__/QRequiredIndicator/index.d.ts +6 -0
- package/esm/components/__internal__/QRequiredIndicator/index.d.ts.map +1 -0
- package/esm/components/__internal__/QRequiredIndicator/index.js +6 -0
- package/esm/components/__internal__/QRequiredIndicator/types.d.ts +18 -0
- package/esm/components/__internal__/QRequiredIndicator/types.d.ts.map +1 -0
- package/esm/components/__internal__/QSafeTriangle/QSafeTriangle.d.ts +10 -0
- package/esm/components/__internal__/QSafeTriangle/QSafeTriangle.d.ts.map +1 -0
- package/esm/components/__internal__/QSafeTriangle/QSafeTriangle.vue.js +31 -0
- package/esm/components/__internal__/QSafeTriangle/QSafeTriangle2.vue.js +5 -0
- package/esm/components/__internal__/QSafeTriangle/index.d.ts +10 -0
- package/esm/components/__internal__/QSafeTriangle/index.d.ts.map +1 -0
- package/esm/components/__internal__/QSafeTriangle/index.js +6 -0
- package/esm/components/__internal__/QSafeTriangle/types.d.ts +33 -0
- package/esm/components/__internal__/QSafeTriangle/types.d.ts.map +1 -0
- package/esm/components/index.d.ts +2 -1
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +41 -37
- package/esm/composables/useSafeTriangle/index.d.ts +31 -0
- package/esm/composables/useSafeTriangle/index.d.ts.map +1 -0
- package/esm/composables/useSafeTriangle/index.js +87 -0
- package/esm/index.d.ts +4 -1
- package/esm/utils/date.d.ts +36 -1
- package/esm/utils/date.d.ts.map +1 -1
- package/esm/utils/date.js +90 -1
- package/esm/utils/index.d.ts +1 -0
- package/esm/utils/index.d.ts.map +1 -1
- package/esm/utils/index.js +30 -24
- package/esm/utils/mask.d.ts +17 -0
- package/esm/utils/mask.d.ts.map +1 -0
- package/esm/utils/mask.js +154 -0
- package/esm/utils/safeTriangle.d.ts +68 -0
- package/esm/utils/safeTriangle.d.ts.map +1 -0
- package/esm/utils/safeTriangle.js +83 -0
- package/package.json +7 -6
- package/esm/components/QGroupBox/QGroupBox.d.ts.map +0 -1
- package/esm/components/QGroupBox/QGroupBox2.vue.js +0 -5
- package/esm/components/QGroupBox/index.d.ts.map +0 -1
- package/esm/components/QGroupBox/index.js +0 -6
- package/esm/components/QGroupBox/types.d.ts +0 -32
- package/esm/components/QGroupBox/types.d.ts.map +0 -1
- package/esm/composables/useInputMask/index.d.ts +0 -50
- package/esm/composables/useInputMask/index.d.ts.map +0 -1
- package/esm/composables/useInputMask/index.js +0 -408
package/dist/json/api.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.19.0",
|
|
3
3
|
"components": [
|
|
4
4
|
{
|
|
5
5
|
"name": "QAccordion",
|
|
@@ -1328,7 +1328,7 @@
|
|
|
1328
1328
|
"kind": "primitive",
|
|
1329
1329
|
"name": "boolean"
|
|
1330
1330
|
},
|
|
1331
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.",
|
|
1331
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).",
|
|
1332
1332
|
"required": false,
|
|
1333
1333
|
"category": "State"
|
|
1334
1334
|
},
|
|
@@ -1629,7 +1629,7 @@
|
|
|
1629
1629
|
"kind": "primitive",
|
|
1630
1630
|
"name": "boolean"
|
|
1631
1631
|
},
|
|
1632
|
-
"description": "Show an indicator that there are required elements inside the group.",
|
|
1632
|
+
"description": "Show an indicator that there are required elements inside the group.\n\nThe asterisk is decorative (`aria-hidden`); {@link QRequiredIndicator }\nwith `announce` exposes the state to assistive tech via `.q-sr-only`\n(from `texts.required`).",
|
|
1633
1633
|
"required": false,
|
|
1634
1634
|
"category": "State"
|
|
1635
1635
|
},
|
|
@@ -1643,6 +1643,17 @@
|
|
|
1643
1643
|
"default": "DEFAULT_ICONS",
|
|
1644
1644
|
"required": false,
|
|
1645
1645
|
"category": "Configuration"
|
|
1646
|
+
},
|
|
1647
|
+
{
|
|
1648
|
+
"name": "texts",
|
|
1649
|
+
"type": {
|
|
1650
|
+
"kind": "object",
|
|
1651
|
+
"fields": {}
|
|
1652
|
+
},
|
|
1653
|
+
"description": "Custom accessible strings.",
|
|
1654
|
+
"default": "DEFAULT_TEXTS",
|
|
1655
|
+
"required": false,
|
|
1656
|
+
"category": "Configuration"
|
|
1646
1657
|
}
|
|
1647
1658
|
],
|
|
1648
1659
|
"events": [
|
|
@@ -1993,7 +2004,7 @@
|
|
|
1993
2004
|
"kind": "primitive",
|
|
1994
2005
|
"name": "boolean"
|
|
1995
2006
|
},
|
|
1996
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
2007
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
1997
2008
|
"required": false,
|
|
1998
2009
|
"category": "State"
|
|
1999
2010
|
},
|
|
@@ -2357,7 +2368,7 @@
|
|
|
2357
2368
|
"kind": "primitive",
|
|
2358
2369
|
"name": "boolean"
|
|
2359
2370
|
},
|
|
2360
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
2371
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
2361
2372
|
"required": false,
|
|
2362
2373
|
"category": "State"
|
|
2363
2374
|
},
|
|
@@ -3414,7 +3425,7 @@
|
|
|
3414
3425
|
"kind": "primitive",
|
|
3415
3426
|
"name": "boolean"
|
|
3416
3427
|
},
|
|
3417
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
3428
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
3418
3429
|
"required": false,
|
|
3419
3430
|
"category": "State"
|
|
3420
3431
|
},
|
|
@@ -3569,7 +3580,7 @@
|
|
|
3569
3580
|
"kind": "primitive",
|
|
3570
3581
|
"name": "boolean"
|
|
3571
3582
|
},
|
|
3572
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
3583
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
3573
3584
|
"required": false,
|
|
3574
3585
|
"category": "State"
|
|
3575
3586
|
},
|
|
@@ -3846,110 +3857,6 @@
|
|
|
3846
3857
|
}
|
|
3847
3858
|
]
|
|
3848
3859
|
},
|
|
3849
|
-
{
|
|
3850
|
-
"name": "QGroupBox",
|
|
3851
|
-
"description": "A container with a title that groups related content.",
|
|
3852
|
-
"meta": {
|
|
3853
|
-
"props": [
|
|
3854
|
-
{
|
|
3855
|
-
"name": "id",
|
|
3856
|
-
"type": {
|
|
3857
|
-
"kind": "primitive",
|
|
3858
|
-
"name": "string"
|
|
3859
|
-
},
|
|
3860
|
-
"description": "The component unique identifier.",
|
|
3861
|
-
"required": false,
|
|
3862
|
-
"category": "Identification"
|
|
3863
|
-
},
|
|
3864
|
-
{
|
|
3865
|
-
"name": "title",
|
|
3866
|
-
"type": {
|
|
3867
|
-
"kind": "primitive",
|
|
3868
|
-
"name": "string"
|
|
3869
|
-
},
|
|
3870
|
-
"description": "The title of the group box.",
|
|
3871
|
-
"required": false,
|
|
3872
|
-
"category": "Content"
|
|
3873
|
-
},
|
|
3874
|
-
{
|
|
3875
|
-
"name": "borderless",
|
|
3876
|
-
"type": {
|
|
3877
|
-
"kind": "primitive",
|
|
3878
|
-
"name": "boolean"
|
|
3879
|
-
},
|
|
3880
|
-
"description": "If true, the group box has no borders.",
|
|
3881
|
-
"required": false,
|
|
3882
|
-
"category": "Presentation"
|
|
3883
|
-
},
|
|
3884
|
-
{
|
|
3885
|
-
"name": "variant",
|
|
3886
|
-
"type": {
|
|
3887
|
-
"kind": "enum",
|
|
3888
|
-
"values": [
|
|
3889
|
-
"default",
|
|
3890
|
-
"background",
|
|
3891
|
-
"title-background",
|
|
3892
|
-
"minor",
|
|
3893
|
-
"minor-border-top"
|
|
3894
|
-
]
|
|
3895
|
-
},
|
|
3896
|
-
"description": "The styling variant of the group box.",
|
|
3897
|
-
"default": "default",
|
|
3898
|
-
"required": false,
|
|
3899
|
-
"category": "Presentation"
|
|
3900
|
-
},
|
|
3901
|
-
{
|
|
3902
|
-
"name": "block",
|
|
3903
|
-
"type": {
|
|
3904
|
-
"kind": "primitive",
|
|
3905
|
-
"name": "boolean"
|
|
3906
|
-
},
|
|
3907
|
-
"description": "If true, the group box spans the full width of its container.",
|
|
3908
|
-
"required": false,
|
|
3909
|
-
"category": "Presentation"
|
|
3910
|
-
}
|
|
3911
|
-
],
|
|
3912
|
-
"events": [],
|
|
3913
|
-
"slots": [
|
|
3914
|
-
{
|
|
3915
|
-
"name": "default",
|
|
3916
|
-
"description": ""
|
|
3917
|
-
}
|
|
3918
|
-
]
|
|
3919
|
-
},
|
|
3920
|
-
"examples": [
|
|
3921
|
-
{
|
|
3922
|
-
"title": "Default",
|
|
3923
|
-
"description": "A basic group box with a title and example content.",
|
|
3924
|
-
"code": "<q-group-box v-bind=\"args\">\n\t\t\t\t<span>Example of a group box</span>\n\t\t\t</q-group-box>"
|
|
3925
|
-
},
|
|
3926
|
-
{
|
|
3927
|
-
"title": "No Title",
|
|
3928
|
-
"description": "A group box without a title.",
|
|
3929
|
-
"code": "<QGroupBox />"
|
|
3930
|
-
},
|
|
3931
|
-
{
|
|
3932
|
-
"title": "Borderless",
|
|
3933
|
-
"description": "A group box without borders.",
|
|
3934
|
-
"code": "<QGroupBox :title=\"Borderless\" :borderless=\"true\" />"
|
|
3935
|
-
},
|
|
3936
|
-
{
|
|
3937
|
-
"title": "Block",
|
|
3938
|
-
"description": "A group box spanning full width of its container.",
|
|
3939
|
-
"code": "<QGroupBox :title=\"Block Group Box\" :block=\"true\" />"
|
|
3940
|
-
},
|
|
3941
|
-
{
|
|
3942
|
-
"title": "Variants",
|
|
3943
|
-
"description": "Group box with different styling variants.",
|
|
3944
|
-
"code": "<div style=\"display: flex; flex-direction: column; gap: 1rem;\">\n\t\t\t\t<q-group-box title=\"Default\" variant=\"default\">\n\t\t\t\t\t<p>Default variant content</p>\n\t\t\t\t</q-group-box>\n\t\t\t\t<q-group-box title=\"Background\" variant=\"background\">\n\t\t\t\t\t<p>Background variant content</p>\n\t\t\t\t</q-group-box>\n\t\t\t\t<q-group-box title=\"Minor\" variant=\"minor\">\n\t\t\t\t\t<p>Minor variant content</p>\n\t\t\t\t</q-group-box>\n\t\t\t\t<q-group-box title=\"Minor Border Top\" variant=\"minor-border-top\">\n\t\t\t\t\t<p>Minor with border top variant content</p>\n\t\t\t\t</q-group-box>\n\t\t\t\t<q-group-box title=\"Title Background\" variant=\"title-background\">\n\t\t\t\t\t<p>Title background variant content</p>\n\t\t\t\t</q-group-box>\n\t\t\t</div>"
|
|
3945
|
-
},
|
|
3946
|
-
{
|
|
3947
|
-
"title": "Nested Groups",
|
|
3948
|
-
"description": "Nested group boxes demonstrating hierarchy.",
|
|
3949
|
-
"code": "<q-group-box v-bind=\"args\">\n\t\t\t\t<p>Top-level content</p>\n\t\t\t\t<q-group-box variant=\"minor\" title=\"Mid Level\">\n\t\t\t\t\t<p>Mid-level content</p>\n\t\t\t\t\t<q-group-box variant=\"minor-border-top\" title=\"Leaf\">\n\t\t\t\t\t\t<p>Leaf content</p>\n\t\t\t\t\t</q-group-box>\n\t\t\t\t</q-group-box>\n\t\t\t</q-group-box>"
|
|
3950
|
-
}
|
|
3951
|
-
]
|
|
3952
|
-
},
|
|
3953
3860
|
{
|
|
3954
3861
|
"name": "QIcon",
|
|
3955
3862
|
"description": "Displays an icon. Note: This Storybook includes a Material Design Icons v7.3.67 SVG bundle for demonstration purposes. For the complete list of available icons, visit the official [Material Design Icons](https://pictogrammers.com/library/mdi/) page.",
|
|
@@ -4063,7 +3970,7 @@
|
|
|
4063
3970
|
"kind": "primitive",
|
|
4064
3971
|
"name": "boolean"
|
|
4065
3972
|
},
|
|
4066
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
3973
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
4067
3974
|
"required": false,
|
|
4068
3975
|
"category": "State"
|
|
4069
3976
|
},
|
|
@@ -4275,7 +4182,7 @@
|
|
|
4275
4182
|
"kind": "primitive",
|
|
4276
4183
|
"name": "boolean"
|
|
4277
4184
|
},
|
|
4278
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.",
|
|
4185
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).",
|
|
4279
4186
|
"required": false,
|
|
4280
4187
|
"category": "State"
|
|
4281
4188
|
},
|
|
@@ -4647,7 +4554,7 @@
|
|
|
4647
4554
|
"kind": "primitive",
|
|
4648
4555
|
"name": "boolean"
|
|
4649
4556
|
},
|
|
4650
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.",
|
|
4557
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).",
|
|
4651
4558
|
"required": false,
|
|
4652
4559
|
"category": "State"
|
|
4653
4560
|
},
|
|
@@ -4779,7 +4686,7 @@
|
|
|
4779
4686
|
"kind": "primitive",
|
|
4780
4687
|
"name": "boolean"
|
|
4781
4688
|
},
|
|
4782
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
4689
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
4783
4690
|
"default": "false",
|
|
4784
4691
|
"required": false,
|
|
4785
4692
|
"category": "State"
|
|
@@ -5514,7 +5421,7 @@
|
|
|
5514
5421
|
"kind": "primitive",
|
|
5515
5422
|
"name": "boolean"
|
|
5516
5423
|
},
|
|
5517
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
5424
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
5518
5425
|
"required": false,
|
|
5519
5426
|
"category": "State"
|
|
5520
5427
|
},
|
|
@@ -6152,7 +6059,7 @@
|
|
|
6152
6059
|
"kind": "primitive",
|
|
6153
6060
|
"name": "boolean"
|
|
6154
6061
|
},
|
|
6155
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.",
|
|
6062
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).",
|
|
6156
6063
|
"required": false,
|
|
6157
6064
|
"category": "State"
|
|
6158
6065
|
},
|
|
@@ -6416,6 +6323,110 @@
|
|
|
6416
6323
|
}
|
|
6417
6324
|
]
|
|
6418
6325
|
},
|
|
6326
|
+
{
|
|
6327
|
+
"name": "QSection",
|
|
6328
|
+
"description": "A container with a title that groups related content.",
|
|
6329
|
+
"meta": {
|
|
6330
|
+
"props": [
|
|
6331
|
+
{
|
|
6332
|
+
"name": "id",
|
|
6333
|
+
"type": {
|
|
6334
|
+
"kind": "primitive",
|
|
6335
|
+
"name": "string"
|
|
6336
|
+
},
|
|
6337
|
+
"description": "The component unique identifier.",
|
|
6338
|
+
"required": false,
|
|
6339
|
+
"category": "Identification"
|
|
6340
|
+
},
|
|
6341
|
+
{
|
|
6342
|
+
"name": "title",
|
|
6343
|
+
"type": {
|
|
6344
|
+
"kind": "primitive",
|
|
6345
|
+
"name": "string"
|
|
6346
|
+
},
|
|
6347
|
+
"description": "The title of the section.",
|
|
6348
|
+
"required": false,
|
|
6349
|
+
"category": "Content"
|
|
6350
|
+
},
|
|
6351
|
+
{
|
|
6352
|
+
"name": "borderless",
|
|
6353
|
+
"type": {
|
|
6354
|
+
"kind": "primitive",
|
|
6355
|
+
"name": "boolean"
|
|
6356
|
+
},
|
|
6357
|
+
"description": "If true, the section has no borders.",
|
|
6358
|
+
"required": false,
|
|
6359
|
+
"category": "Presentation"
|
|
6360
|
+
},
|
|
6361
|
+
{
|
|
6362
|
+
"name": "variant",
|
|
6363
|
+
"type": {
|
|
6364
|
+
"kind": "enum",
|
|
6365
|
+
"values": [
|
|
6366
|
+
"default",
|
|
6367
|
+
"background",
|
|
6368
|
+
"title-background",
|
|
6369
|
+
"minor",
|
|
6370
|
+
"minor-border-top"
|
|
6371
|
+
]
|
|
6372
|
+
},
|
|
6373
|
+
"description": "The styling variant of the section.",
|
|
6374
|
+
"default": "default",
|
|
6375
|
+
"required": false,
|
|
6376
|
+
"category": "Presentation"
|
|
6377
|
+
},
|
|
6378
|
+
{
|
|
6379
|
+
"name": "block",
|
|
6380
|
+
"type": {
|
|
6381
|
+
"kind": "primitive",
|
|
6382
|
+
"name": "boolean"
|
|
6383
|
+
},
|
|
6384
|
+
"description": "If true, the section spans the full width of its container.",
|
|
6385
|
+
"required": false,
|
|
6386
|
+
"category": "Presentation"
|
|
6387
|
+
}
|
|
6388
|
+
],
|
|
6389
|
+
"events": [],
|
|
6390
|
+
"slots": [
|
|
6391
|
+
{
|
|
6392
|
+
"name": "default",
|
|
6393
|
+
"description": ""
|
|
6394
|
+
}
|
|
6395
|
+
]
|
|
6396
|
+
},
|
|
6397
|
+
"examples": [
|
|
6398
|
+
{
|
|
6399
|
+
"title": "Default",
|
|
6400
|
+
"description": "A basic group box with a title and example content.",
|
|
6401
|
+
"code": "<q-section v-bind=\"args\">\n\t\t\t\t<span>Example of a group box</span>\n\t\t\t</q-section>"
|
|
6402
|
+
},
|
|
6403
|
+
{
|
|
6404
|
+
"title": "No Title",
|
|
6405
|
+
"description": "A group box without a title.",
|
|
6406
|
+
"code": "<QSection />"
|
|
6407
|
+
},
|
|
6408
|
+
{
|
|
6409
|
+
"title": "Borderless",
|
|
6410
|
+
"description": "A group box without borders.",
|
|
6411
|
+
"code": "<QSection :title=\"Borderless\" :borderless=\"true\" />"
|
|
6412
|
+
},
|
|
6413
|
+
{
|
|
6414
|
+
"title": "Block",
|
|
6415
|
+
"description": "A group box spanning full width of its container.",
|
|
6416
|
+
"code": "<QSection :title=\"Block Group Box\" :block=\"true\" />"
|
|
6417
|
+
},
|
|
6418
|
+
{
|
|
6419
|
+
"title": "Variants",
|
|
6420
|
+
"description": "Group box with different styling variants.",
|
|
6421
|
+
"code": "<div style=\"display: flex; flex-direction: column; gap: 1rem;\">\n\t\t\t\t<q-section title=\"Default\" variant=\"default\">\n\t\t\t\t\t<p>Default variant content</p>\n\t\t\t\t</q-section>\n\t\t\t\t<q-section title=\"Background\" variant=\"background\">\n\t\t\t\t\t<p>Background variant content</p>\n\t\t\t\t</q-section>\n\t\t\t\t<q-section title=\"Minor\" variant=\"minor\">\n\t\t\t\t\t<p>Minor variant content</p>\n\t\t\t\t</q-section>\n\t\t\t\t<q-section title=\"Minor Border Top\" variant=\"minor-border-top\">\n\t\t\t\t\t<p>Minor with border top variant content</p>\n\t\t\t\t</q-section>\n\t\t\t\t<q-section title=\"Title Background\" variant=\"title-background\">\n\t\t\t\t\t<p>Title background variant content</p>\n\t\t\t\t</q-section>\n\t\t\t</div>"
|
|
6422
|
+
},
|
|
6423
|
+
{
|
|
6424
|
+
"title": "Nested Groups",
|
|
6425
|
+
"description": "Nested group boxes demonstrating hierarchy.",
|
|
6426
|
+
"code": "<q-section v-bind=\"args\">\n\t\t\t\t<p>Top-level content</p>\n\t\t\t\t<q-section variant=\"minor\" title=\"Mid Level\">\n\t\t\t\t\t<p>Mid-level content</p>\n\t\t\t\t\t<q-section variant=\"minor-border-top\" title=\"Leaf\">\n\t\t\t\t\t\t<p>Leaf content</p>\n\t\t\t\t\t</q-section>\n\t\t\t\t</q-section>\n\t\t\t</q-section>"
|
|
6427
|
+
}
|
|
6428
|
+
]
|
|
6429
|
+
},
|
|
6419
6430
|
{
|
|
6420
6431
|
"name": "QSelect",
|
|
6421
6432
|
"description": "A list of selectable items, activated by clicking on the main field.",
|
|
@@ -6456,7 +6467,7 @@
|
|
|
6456
6467
|
"kind": "primitive",
|
|
6457
6468
|
"name": "boolean"
|
|
6458
6469
|
},
|
|
6459
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
6470
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
6460
6471
|
"required": false,
|
|
6461
6472
|
"category": "State"
|
|
6462
6473
|
},
|
|
@@ -6798,17 +6809,14 @@
|
|
|
6798
6809
|
"required": false
|
|
6799
6810
|
},
|
|
6800
6811
|
{
|
|
6801
|
-
"name": "
|
|
6812
|
+
"name": "id",
|
|
6802
6813
|
"type": {
|
|
6803
|
-
"kind": "
|
|
6804
|
-
"
|
|
6805
|
-
"name": "object",
|
|
6806
|
-
"value": {}
|
|
6807
|
-
}
|
|
6814
|
+
"kind": "primitive",
|
|
6815
|
+
"name": "string"
|
|
6808
6816
|
},
|
|
6809
|
-
"description": "
|
|
6817
|
+
"description": "The component unique identifier.",
|
|
6810
6818
|
"required": false,
|
|
6811
|
-
"category": "
|
|
6819
|
+
"category": "Identification"
|
|
6812
6820
|
},
|
|
6813
6821
|
{
|
|
6814
6822
|
"name": "anchorWidth",
|
|
@@ -6873,13 +6881,18 @@
|
|
|
6873
6881
|
"type": "[finalWidth: number]"
|
|
6874
6882
|
}
|
|
6875
6883
|
],
|
|
6876
|
-
"slots": [
|
|
6884
|
+
"slots": [
|
|
6885
|
+
{
|
|
6886
|
+
"name": "default",
|
|
6887
|
+
"description": ""
|
|
6888
|
+
}
|
|
6889
|
+
]
|
|
6877
6890
|
},
|
|
6878
6891
|
"examples": [
|
|
6879
6892
|
{
|
|
6880
6893
|
"title": "Default",
|
|
6881
6894
|
"description": "Default sidebar with four panels and basic slot content.",
|
|
6882
|
-
"code": "<QSidebar
|
|
6895
|
+
"code": "<QSidebar v-bind=\"args\">\n\t\t\t\t${defaultItems}\n\t\t\t</QSidebar>"
|
|
6883
6896
|
},
|
|
6884
6897
|
{
|
|
6885
6898
|
"title": "With Labels",
|
|
@@ -6889,42 +6902,47 @@
|
|
|
6889
6902
|
{
|
|
6890
6903
|
"title": "Right",
|
|
6891
6904
|
"description": "Sidebar positioned on the right side of the screen.",
|
|
6892
|
-
"code": "<QSidebar :position=\"right\" />"
|
|
6905
|
+
"code": "<QSidebar :show-labels=\"true\" :position=\"right\" />"
|
|
6893
6906
|
},
|
|
6894
6907
|
{
|
|
6895
6908
|
"title": "Starts Expanded",
|
|
6896
6909
|
"description": "Sidebar with a panel expanded by default.",
|
|
6897
|
-
"code": "<QSidebar :model-value=\"activity\" />"
|
|
6910
|
+
"code": "<QSidebar :show-labels=\"true\" :model-value=\"activity\" />"
|
|
6898
6911
|
},
|
|
6899
6912
|
{
|
|
6900
6913
|
"title": "Panel Size",
|
|
6901
6914
|
"description": "Sidebar panels with different predefined initial widths.",
|
|
6902
|
-
"code": "<QSidebar v-bind=\"args\">\n
|
|
6915
|
+
"code": "<QSidebar v-bind=\"args\">\n\t\t\t\t<q-sidebar-item\n\t\t\t\t\tvalue=\"activity\"\n\t\t\t\t\ttitle=\"Activity\"\n\t\t\t\t\t:icon=\"{ icon: 'bell' }\"\n\t\t\t\t\t:initial-width=\"activityWidth\">\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<p>Resize this panel to see how it behaves. Use the toggle group below to set the width of this panel.</p>\n\t\t\t\t\t\t<QToggleGroup v-model=\"activityWidth\">\n\t\t\t\t\t\t\t<QToggleGroupItem value=\"small\" label=\"Small\" />\n\t\t\t\t\t\t\t<QToggleGroupItem value=\"medium\" label=\"Medium\" />\n\t\t\t\t\t\t\t<QToggleGroupItem value=\"large\" label=\"Large\" />\n\t\t\t\t\t\t\t<QToggleGroupItem value=\"xlarge\" label=\"XLarge\" />\n\t\t\t\t\t\t\t<QToggleGroupItem value=\"block\" label=\"Block\" />\n\t\t\t\t\t\t</QToggleGroup>\n\t\t\t\t\t</div>\n\t\t\t\t</q-sidebar-item>\n\t\t\t\t<q-sidebar-item value=\"chat\" title=\"Chat\" :icon=\"{ icon: 'chat' }\" initial-width=\"large\" />\n\t\t\t\t<q-sidebar-item value=\"calendar\" title=\"Calendar\" :icon=\"{ icon: 'calendar' }\" initial-width=\"medium\" />\n\t\t\t\t<q-sidebar-item value=\"calls\" title=\"Calls\" :icon=\"{ icon: 'phone' }\" initial-width=\"small\" />\n\t\t\t</QSidebar>"
|
|
6916
|
+
},
|
|
6917
|
+
{
|
|
6918
|
+
"title": "Fluid Sizes",
|
|
6919
|
+
"description": "Sidebar with fluid panel sizes that fill half or all of the container.",
|
|
6920
|
+
"code": "<QSidebar v-bind=\"args\" show-labels>\n\t\t\t\t<q-sidebar-item value=\"half\" title=\"Half\" :icon=\"{ icon: 'resize' }\" initial-width=\"xlarge\">\n\t\t\t\t\tThis panel occupies half of the container width.\n\t\t\t\t</q-sidebar-item>\n\t\t\t\t<q-sidebar-item value=\"full\" title=\"Full\" :icon=\"{ icon: 'arrow-expand' }\" initial-width=\"block\">\n\t\t\t\t\tThis panel occupies the full container width.\n\t\t\t\t</q-sidebar-item>\n\t\t\t</QSidebar>"
|
|
6903
6921
|
},
|
|
6904
6922
|
{
|
|
6905
6923
|
"title": "Resizable",
|
|
6906
6924
|
"description": "Sidebar with resizable panels enabled.",
|
|
6907
|
-
"code": "<QSidebar
|
|
6925
|
+
"code": "<QSidebar v-bind=\"args\">\n\t\t\t\t<q-sidebar-item value=\"activity\" title=\"Activity\" :icon=\"{ icon: 'bell' }\" resizable />\n\t\t\t\t<q-sidebar-item value=\"chat\" title=\"Chat\" :icon=\"{ icon: 'chat' }\" resizable />\n\t\t\t\t<q-sidebar-item value=\"calendar\" title=\"Calendar\" :icon=\"{ icon: 'calendar' }\" resizable />\n\t\t\t\t<q-sidebar-item value=\"calls\" title=\"Calls\" :icon=\"{ icon: 'phone' }\" resizable />\n\t\t\t</QSidebar>"
|
|
6908
6926
|
},
|
|
6909
6927
|
{
|
|
6910
6928
|
"title": "Header",
|
|
6911
|
-
"description": "Use the `header
|
|
6912
|
-
"code": "<QSidebar v-bind=\"args\">\n
|
|
6929
|
+
"description": "Use the `header` slot to add a sticky header to a sidebar panel.",
|
|
6930
|
+
"code": "<QSidebar v-bind=\"args\">\n\t\t\t\t<q-sidebar-item value=\"activity\" title=\"Activity\" :icon=\"{ icon: 'bell' }\">\n\t\t\t\t\t<template #header>\n\t\t\t\t\t\t<img src=\"/logo.png\" style=\"max-height: 100px; max-width: 150px;\" />\n\t\t\t\t\t</template>\n\t\t\t\t</q-sidebar-item>\n\t\t\t\t<q-sidebar-item value=\"chat\" title=\"Chat\" :icon=\"{ icon: 'chat' }\" />\n\t\t\t\t<q-sidebar-item value=\"calendar\" title=\"Calendar\" :icon=\"{ icon: 'calendar' }\" />\n\t\t\t\t<q-sidebar-item value=\"calls\" title=\"Calls\" :icon=\"{ icon: 'phone' }\" />\n\t\t\t</QSidebar>"
|
|
6913
6931
|
},
|
|
6914
6932
|
{
|
|
6915
6933
|
"title": "Content",
|
|
6916
|
-
"description": "Use the
|
|
6917
|
-
"code": "<QSidebar
|
|
6934
|
+
"description": "Use the default slot to add main content to a sidebar panel.",
|
|
6935
|
+
"code": "<QSidebar :model-value=\"activity\" />"
|
|
6918
6936
|
},
|
|
6919
6937
|
{
|
|
6920
6938
|
"title": "Footer",
|
|
6921
|
-
"description": "Use the `footer
|
|
6922
|
-
"code": "<QSidebar v-bind=\"args\">\n
|
|
6939
|
+
"description": "Use the `footer` slot to add a sticky footer to a sidebar panel.",
|
|
6940
|
+
"code": "<QSidebar v-bind=\"args\">\n\t\t\t\t<q-sidebar-item\n\t\t\t\t\tvalue=\"chat\"\n\t\t\t\t\ttitle=\"Chat\"\n\t\t\t\t\t:icon=\"{ icon: 'robot-happy' }\"\n\t\t\t\t\tinitial-width=\"large\"\n\t\t\t\t\tmin-width=\"medium\"\n\t\t\t\t\tresizable>\n\t\t\t\t\t<template #footer>\n\t\t\t\t\t\t<QCard class=\"prompt\" width=\"block\" elevation=\"low\">\n\t\t\t\t\t\t\t<QTextArea\n\t\t\t\t\t\t\t\tv-model=\"prompt\"\n\t\t\t\t\t\t\t\tclass=\"prompt__textarea\"\n\t\t\t\t\t\t\t\tplaceholder=\"Ask anything\"\n\t\t\t\t\t\t\t\tsize=\"block\"\n\t\t\t\t\t\t\t\t:rows=\"1\"\n\t\t\t\t\t\t\t\tresize=\"none\"\n\t\t\t\t\t\t\t\tautosize\n\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t<template #footer>\n\t\t\t\t\t\t\t\t<div class=\"prompt__actions\">\n\t\t\t\t\t\t\t\t\t<QButton ref=\"upload\" pill>\n\t\t\t\t\t\t\t\t\t\t<QIcon icon=\"plus\" />\n\t\t\t\t\t\t\t\t\t</QButton>\n\t\t\t\t\t\t\t\t\t<QDropdownMenu\n\t\t\t\t\t\t\t\t\t\t:activator=\"uploadRef?.$el\"\n\t\t\t\t\t\t\t\t\t\t:items=\"uploadItems\"\n\t\t\t\t\t\t\t\t\t\t:groups=\"uploadGroups\"\n\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t<QToggle ref=\"search\" pill>\n\t\t\t\t\t\t\t\t\t\t<QIcon icon=\"earth\" />\n\t\t\t\t\t\t\t\t\t\tSearch\n\t\t\t\t\t\t\t\t\t</QToggle>\n\n\t\t\t\t\t\t\t\t\t<QToggle ref=\"reason\" pill>\n\t\t\t\t\t\t\t\t\t\t<QIcon icon=\"lightbulb-outline\" />\n\t\t\t\t\t\t\t\t\t\tReason\n\t\t\t\t\t\t\t\t\t</QToggle>\n\n\t\t\t\t\t\t\t\t\t<QButton ref=\"more\" pill>\n\t\t\t\t\t\t\t\t\t\t<QIcon icon=\"dots-horizontal\" />\n\t\t\t\t\t\t\t\t\t</QButton>\n\t\t\t\t\t\t\t\t\t<QDropdownMenu :activator=\"moreRef?.$el\" :items=\"moreItems\" />\n\n\t\t\t\t\t\t\t\t\t<QButton ref=\"action\" class=\"prompt__voice-mode\" variant=\"bold\" pill>\n\t\t\t\t\t\t\t\t\t\t<QIcon :icon=\"isPromptEmpty ? 'waveform' : 'arrow-up'\" />\n\t\t\t\t\t\t\t\t\t</QButton>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t</QCard>\n\t\t\t\t\t</template>\n\t\t\t\t</q-sidebar-item>\n\t\t\t</QSidebar>"
|
|
6923
6941
|
},
|
|
6924
6942
|
{
|
|
6925
6943
|
"title": "Custom Anchor Items",
|
|
6926
|
-
"description": "Use the `anchor
|
|
6927
|
-
"code": "<QSidebar v-bind=\"args\">\n
|
|
6944
|
+
"description": "Use the `anchor` slot to customize items of the sidebar anchor.",
|
|
6945
|
+
"code": "<QSidebar v-bind=\"args\">\n\t\t\t\t<q-sidebar-item value=\"activity\" title=\"Activity\" :icon=\"{ icon: 'bell' }\">\n\t\t\t\t\t<template #anchor>\n\t\t\t\t\t\t<QBadgeIndicator color=\"highlight\">\n\t\t\t\t\t\t\t<QIcon icon=\"bell\" />\n\t\t\t\t\t\t</QBadgeIndicator>\n\t\t\t\t\t</template>\n\t\t\t\t\t<div class=\"alert\">\n\t\t\t\t\t\t<QIcon icon=\"alert\" />\n\t\t\t\t\t\tHeads up!\n\t\t\t\t\t</div>\n\t\t\t\t</q-sidebar-item>\n\t\t\t\t<q-sidebar-item value=\"chat\" title=\"Chat\" :icon=\"{ icon: 'chat' }\" />\n\t\t\t\t<q-sidebar-item value=\"calendar\" title=\"Calendar\" :icon=\"{ icon: 'calendar' }\" />\n\t\t\t\t<q-sidebar-item value=\"calls\" title=\"Calls\" :icon=\"{ icon: 'phone' }\" />\n\t\t\t</QSidebar>"
|
|
6928
6946
|
}
|
|
6929
6947
|
]
|
|
6930
6948
|
},
|
|
@@ -7084,7 +7102,7 @@
|
|
|
7084
7102
|
"kind": "primitive",
|
|
7085
7103
|
"name": "boolean"
|
|
7086
7104
|
},
|
|
7087
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.",
|
|
7105
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).",
|
|
7088
7106
|
"required": false,
|
|
7089
7107
|
"category": "State"
|
|
7090
7108
|
},
|
|
@@ -7249,6 +7267,147 @@
|
|
|
7249
7267
|
}
|
|
7250
7268
|
]
|
|
7251
7269
|
},
|
|
7270
|
+
{
|
|
7271
|
+
"name": "QTabs",
|
|
7272
|
+
"description": "Displays a set of tabbed panels. Only one panel is visible at a time.",
|
|
7273
|
+
"meta": {
|
|
7274
|
+
"props": [
|
|
7275
|
+
{
|
|
7276
|
+
"name": "modelValue",
|
|
7277
|
+
"type": {
|
|
7278
|
+
"kind": "primitive",
|
|
7279
|
+
"name": "string"
|
|
7280
|
+
},
|
|
7281
|
+
"description": "",
|
|
7282
|
+
"required": false
|
|
7283
|
+
},
|
|
7284
|
+
{
|
|
7285
|
+
"name": "id",
|
|
7286
|
+
"type": {
|
|
7287
|
+
"kind": "primitive",
|
|
7288
|
+
"name": "string"
|
|
7289
|
+
},
|
|
7290
|
+
"description": "The component unique identifier.",
|
|
7291
|
+
"required": false,
|
|
7292
|
+
"category": "Identification"
|
|
7293
|
+
},
|
|
7294
|
+
{
|
|
7295
|
+
"name": "direction",
|
|
7296
|
+
"type": {
|
|
7297
|
+
"kind": "enum",
|
|
7298
|
+
"values": [
|
|
7299
|
+
"horizontal",
|
|
7300
|
+
"vertical"
|
|
7301
|
+
]
|
|
7302
|
+
},
|
|
7303
|
+
"description": "Orientation of the tab list.\n\nAlso mapped to `aria-orientation` on the tablist.",
|
|
7304
|
+
"default": "horizontal",
|
|
7305
|
+
"required": false,
|
|
7306
|
+
"category": "Presentation"
|
|
7307
|
+
},
|
|
7308
|
+
{
|
|
7309
|
+
"name": "align",
|
|
7310
|
+
"type": {
|
|
7311
|
+
"kind": "enum",
|
|
7312
|
+
"values": [
|
|
7313
|
+
"start",
|
|
7314
|
+
"end",
|
|
7315
|
+
"center",
|
|
7316
|
+
"justify"
|
|
7317
|
+
]
|
|
7318
|
+
},
|
|
7319
|
+
"description": "Distribution of tabs along the tab list main axis.",
|
|
7320
|
+
"default": "start",
|
|
7321
|
+
"required": false,
|
|
7322
|
+
"category": "Presentation"
|
|
7323
|
+
},
|
|
7324
|
+
{
|
|
7325
|
+
"name": "variant",
|
|
7326
|
+
"type": {
|
|
7327
|
+
"kind": "enum",
|
|
7328
|
+
"values": [
|
|
7329
|
+
"line",
|
|
7330
|
+
"card"
|
|
7331
|
+
]
|
|
7332
|
+
},
|
|
7333
|
+
"description": "Visual style of the tabs.",
|
|
7334
|
+
"default": "line",
|
|
7335
|
+
"required": false,
|
|
7336
|
+
"category": "Presentation"
|
|
7337
|
+
},
|
|
7338
|
+
{
|
|
7339
|
+
"name": "disabled",
|
|
7340
|
+
"type": {
|
|
7341
|
+
"kind": "primitive",
|
|
7342
|
+
"name": "boolean"
|
|
7343
|
+
},
|
|
7344
|
+
"description": "If true, disables all nested tabs via defaults cascade.",
|
|
7345
|
+
"required": false,
|
|
7346
|
+
"category": "State"
|
|
7347
|
+
}
|
|
7348
|
+
],
|
|
7349
|
+
"events": [
|
|
7350
|
+
{
|
|
7351
|
+
"name": "update:modelValue",
|
|
7352
|
+
"description": "",
|
|
7353
|
+
"type": "[value: string]"
|
|
7354
|
+
}
|
|
7355
|
+
],
|
|
7356
|
+
"slots": [
|
|
7357
|
+
{
|
|
7358
|
+
"name": "default",
|
|
7359
|
+
"description": ""
|
|
7360
|
+
}
|
|
7361
|
+
]
|
|
7362
|
+
},
|
|
7363
|
+
"examples": [
|
|
7364
|
+
{
|
|
7365
|
+
"title": "Default",
|
|
7366
|
+
"description": "Default horizontal tabs.",
|
|
7367
|
+
"code": "<q-tabs v-bind=\"args\">\n\t\t\t\t<q-tab title=\"Details\" value=\"details\">\n\t\t\t\t\tContent for the details tab.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"History\" value=\"history\">\n\t\t\t\t\tContent for the history tab.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"Settings\" value=\"settings\">\n\t\t\t\t\tContent for the settings tab.\n\t\t\t\t</q-tab>\n\t\t\t</q-tabs>"
|
|
7368
|
+
},
|
|
7369
|
+
{
|
|
7370
|
+
"title": "Vertical",
|
|
7371
|
+
"description": "Vertical tab list beside the panels.",
|
|
7372
|
+
"code": "<QTabs :direction=\"vertical\" />"
|
|
7373
|
+
},
|
|
7374
|
+
{
|
|
7375
|
+
"title": "Card",
|
|
7376
|
+
"description": "Card-style folder tabs that merge into the panel.",
|
|
7377
|
+
"code": "<QTabs :variant=\"card\" />"
|
|
7378
|
+
},
|
|
7379
|
+
{
|
|
7380
|
+
"title": "Card Vertical",
|
|
7381
|
+
"description": "Card-style tabs in a vertical layout.",
|
|
7382
|
+
"code": "<QTabs :variant=\"card\" :direction=\"vertical\" />"
|
|
7383
|
+
},
|
|
7384
|
+
{
|
|
7385
|
+
"title": "Align",
|
|
7386
|
+
"description": "Tabs distributed across the tab list.",
|
|
7387
|
+
"code": "<QTabs :align=\"justify\" />"
|
|
7388
|
+
},
|
|
7389
|
+
{
|
|
7390
|
+
"title": "With Required",
|
|
7391
|
+
"description": "Tab with a required asterisk on the label.",
|
|
7392
|
+
"code": "<q-tabs v-bind=\"args\">\n\t\t\t\t<q-tab title=\"Details\" value=\"details\" required>\n\t\t\t\t\tRequired section content.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"History\" value=\"history\">\n\t\t\t\t\tOptional section content.\n\t\t\t\t</q-tab>\n\t\t\t</q-tabs>"
|
|
7393
|
+
},
|
|
7394
|
+
{
|
|
7395
|
+
"title": "With Title Slots",
|
|
7396
|
+
"description": "Tabs with title, prepend, and append slots.",
|
|
7397
|
+
"code": "<q-tabs v-bind=\"args\">\n\t\t\t\t<q-tab title=\"Inbox\" value=\"inbox\">\n\t\t\t\t\t<template #title.prepend>📥</template>\n\t\t\t\t\t<template #title.append>(3)</template>\n\t\t\t\t\tInbox messages.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"Sent\" value=\"sent\">\n\t\t\t\t\t<template #title.prepend>📤</template>\n\t\t\t\t\tSent messages.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab value=\"alerts\">\n\t\t\t\t\t<template #title>\n\t\t\t\t\t\t<q-badge\n\t\t\t\t\t\t\tvariant=\"bold\"\n\t\t\t\t\t\t\tpill\n\t\t\t\t\t\t\tstyle=\"height: 1.25rem; margin-block: -0.25rem\">\n\t\t\t\t\t\t\tAlerts\n\t\t\t\t\t\t</q-badge>\n\t\t\t\t\t</template>\n\t\t\t\t\tAlert notifications.\n\t\t\t\t</q-tab>\n\t\t\t</q-tabs>"
|
|
7398
|
+
},
|
|
7399
|
+
{
|
|
7400
|
+
"title": "Disabled",
|
|
7401
|
+
"description": "Disabled tab and parent-level disable cascade.",
|
|
7402
|
+
"code": "<q-tabs v-bind=\"args\">\n\t\t\t\t<q-tab title=\"Details\" value=\"details\">\n\t\t\t\t\tDetails content.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"History\" value=\"history\" disabled>\n\t\t\t\t\tHistory content.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"Settings\" value=\"settings\">\n\t\t\t\t\tSettings content.\n\t\t\t\t</q-tab>\n\t\t\t</q-tabs>"
|
|
7403
|
+
},
|
|
7404
|
+
{
|
|
7405
|
+
"title": "Controlled",
|
|
7406
|
+
"description": "Controlled active tab via v-model.",
|
|
7407
|
+
"code": "<p>Active: {{ active }}</p>\n\t\t\t<q-tabs v-bind=\"args\" v-model=\"active\">\n\t\t\t\t<q-tab title=\"Details\" value=\"details\">\n\t\t\t\t\tDetails content.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"History\" value=\"history\">\n\t\t\t\t\tHistory content.\n\t\t\t\t</q-tab>\n\t\t\t\t<q-tab title=\"Settings\" value=\"settings\">\n\t\t\t\t\tSettings content.\n\t\t\t\t</q-tab>\n\t\t\t</q-tabs>"
|
|
7408
|
+
}
|
|
7409
|
+
]
|
|
7410
|
+
},
|
|
7252
7411
|
{
|
|
7253
7412
|
"name": "QTextArea",
|
|
7254
7413
|
"description": "An extension of the `QField` component, providing a specialized field for textual data with multiple lines.",
|
|
@@ -7289,7 +7448,7 @@
|
|
|
7289
7448
|
"kind": "primitive",
|
|
7290
7449
|
"name": "boolean"
|
|
7291
7450
|
},
|
|
7292
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
7451
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
7293
7452
|
"required": false,
|
|
7294
7453
|
"category": "State"
|
|
7295
7454
|
},
|
|
@@ -7578,7 +7737,7 @@
|
|
|
7578
7737
|
"kind": "primitive",
|
|
7579
7738
|
"name": "boolean"
|
|
7580
7739
|
},
|
|
7581
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
7740
|
+
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.\n\nThe asterisk is decorative (`aria-hidden`). Required state for assistive\ntech should come from the associated control (e.g. native `required` on inputs).\nIf set to true, an asterisk (*) is displayed\nto indicate that the field is required.",
|
|
7582
7741
|
"required": false,
|
|
7583
7742
|
"category": "State"
|
|
7584
7743
|
},
|