@quidgest/ui 0.17.8 → 0.18.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/dist/json/api.json +490 -20
- package/dist/manifest/components.json +3 -0
- package/dist/ui.css +3426 -3165
- package/dist/ui.esm.js +582 -614
- package/dist/ui.js +526 -560
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +526 -560
- package/dist/ui.scss +389 -135
- 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/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/QObfuscation/QObfuscation.d.ts +74 -0
- package/esm/components/QObfuscation/QObfuscation.d.ts.map +1 -0
- package/esm/components/QObfuscation/QObfuscation.vue.js +183 -0
- package/esm/components/QObfuscation/QObfuscation2.vue.js +5 -0
- package/esm/components/QObfuscation/constants.d.ts +17 -0
- package/esm/components/QObfuscation/constants.d.ts.map +1 -0
- package/esm/components/QObfuscation/constants.js +12 -0
- package/esm/components/QObfuscation/index.d.ts +162 -0
- package/esm/components/QObfuscation/index.d.ts.map +1 -0
- package/esm/components/QObfuscation/index.js +6 -0
- package/esm/components/QObfuscation/types.d.ts +44 -0
- package/esm/components/QObfuscation/types.d.ts.map +1 -0
- package/esm/components/QTabs/QTab.d.ts +172 -0
- package/esm/components/QTabs/QTab.d.ts.map +1 -0
- package/esm/components/QTabs/QTab.vue.js +122 -0
- package/esm/components/QTabs/QTab2.vue.js +5 -0
- package/esm/components/QTabs/QTabs.d.ts +35 -0
- package/esm/components/QTabs/QTabs.d.ts.map +1 -0
- package/esm/components/QTabs/QTabs.vue.js +83 -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 +78 -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 +164 -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 +106 -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 -0
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +37 -32
- 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 +3 -0
- 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 +6 -6
- 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.18.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
|
},
|
|
@@ -4063,7 +4074,7 @@
|
|
|
4063
4074
|
"kind": "primitive",
|
|
4064
4075
|
"name": "boolean"
|
|
4065
4076
|
},
|
|
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.",
|
|
4077
|
+
"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
4078
|
"required": false,
|
|
4068
4079
|
"category": "State"
|
|
4069
4080
|
},
|
|
@@ -4275,7 +4286,7 @@
|
|
|
4275
4286
|
"kind": "primitive",
|
|
4276
4287
|
"name": "boolean"
|
|
4277
4288
|
},
|
|
4278
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.",
|
|
4289
|
+
"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
4290
|
"required": false,
|
|
4280
4291
|
"category": "State"
|
|
4281
4292
|
},
|
|
@@ -4647,7 +4658,7 @@
|
|
|
4647
4658
|
"kind": "primitive",
|
|
4648
4659
|
"name": "boolean"
|
|
4649
4660
|
},
|
|
4650
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.",
|
|
4661
|
+
"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
4662
|
"required": false,
|
|
4652
4663
|
"category": "State"
|
|
4653
4664
|
},
|
|
@@ -4739,6 +4750,324 @@
|
|
|
4739
4750
|
}
|
|
4740
4751
|
]
|
|
4741
4752
|
},
|
|
4753
|
+
{
|
|
4754
|
+
"name": "QObfuscation",
|
|
4755
|
+
"description": "Permission-based data obfuscation for consulta / sensitive fields. - No permission: plain \"Restricted\" (or bullets) — no action. - Can reveal: a padlock toggles the value. When revealed, either: - place scoped-slot `qObfuscationHideAction` on the field's `label.append` (QObfuscation then hides its own label/padlock), or - omit it and QObfuscation keeps its label with the hide padlock. - Set `loading` while fetching on reveal (before the value becomes visible).",
|
|
4756
|
+
"meta": {
|
|
4757
|
+
"props": [
|
|
4758
|
+
{
|
|
4759
|
+
"name": "revealed",
|
|
4760
|
+
"type": {
|
|
4761
|
+
"kind": "primitive",
|
|
4762
|
+
"name": "boolean"
|
|
4763
|
+
},
|
|
4764
|
+
"description": "",
|
|
4765
|
+
"required": false
|
|
4766
|
+
},
|
|
4767
|
+
{
|
|
4768
|
+
"name": "id",
|
|
4769
|
+
"type": {
|
|
4770
|
+
"kind": "primitive",
|
|
4771
|
+
"name": "string"
|
|
4772
|
+
},
|
|
4773
|
+
"description": "The component unique identifier.",
|
|
4774
|
+
"required": false,
|
|
4775
|
+
"category": "Identification"
|
|
4776
|
+
},
|
|
4777
|
+
{
|
|
4778
|
+
"name": "label",
|
|
4779
|
+
"type": {
|
|
4780
|
+
"kind": "primitive",
|
|
4781
|
+
"name": "string"
|
|
4782
|
+
},
|
|
4783
|
+
"description": "The label of the input.",
|
|
4784
|
+
"required": false,
|
|
4785
|
+
"category": "Content"
|
|
4786
|
+
},
|
|
4787
|
+
{
|
|
4788
|
+
"name": "required",
|
|
4789
|
+
"type": {
|
|
4790
|
+
"kind": "primitive",
|
|
4791
|
+
"name": "boolean"
|
|
4792
|
+
},
|
|
4793
|
+
"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.",
|
|
4794
|
+
"default": "false",
|
|
4795
|
+
"required": false,
|
|
4796
|
+
"category": "State"
|
|
4797
|
+
},
|
|
4798
|
+
{
|
|
4799
|
+
"name": "for",
|
|
4800
|
+
"type": {
|
|
4801
|
+
"kind": "primitive",
|
|
4802
|
+
"name": "string"
|
|
4803
|
+
},
|
|
4804
|
+
"description": "The form field associated with the label.",
|
|
4805
|
+
"required": false,
|
|
4806
|
+
"category": "Accessibility"
|
|
4807
|
+
},
|
|
4808
|
+
{
|
|
4809
|
+
"name": "labelPosition",
|
|
4810
|
+
"type": {
|
|
4811
|
+
"kind": "enum",
|
|
4812
|
+
"values": [
|
|
4813
|
+
"right",
|
|
4814
|
+
"left",
|
|
4815
|
+
"center",
|
|
4816
|
+
"topleft",
|
|
4817
|
+
"topright"
|
|
4818
|
+
]
|
|
4819
|
+
},
|
|
4820
|
+
"description": "Position of the label relative to the input field.\n- 'left': Label appears to the left of the input\n- 'center': Label appears above the input, centered\n- 'right': Label appears to the right of the input\n- 'topleft': Label appears above the input, aligned to the left\n- 'topright': Label appears above the input, aligned to the right",
|
|
4821
|
+
"default": "topleft",
|
|
4822
|
+
"required": false,
|
|
4823
|
+
"category": "Presentation"
|
|
4824
|
+
},
|
|
4825
|
+
{
|
|
4826
|
+
"name": "size",
|
|
4827
|
+
"type": {
|
|
4828
|
+
"kind": "enum",
|
|
4829
|
+
"values": [
|
|
4830
|
+
"medium",
|
|
4831
|
+
"small",
|
|
4832
|
+
"large",
|
|
4833
|
+
"block",
|
|
4834
|
+
"xlarge",
|
|
4835
|
+
"xxlarge",
|
|
4836
|
+
"mini"
|
|
4837
|
+
]
|
|
4838
|
+
},
|
|
4839
|
+
"description": "The size category of the field.",
|
|
4840
|
+
"default": "medium",
|
|
4841
|
+
"required": false,
|
|
4842
|
+
"category": "Presentation"
|
|
4843
|
+
},
|
|
4844
|
+
{
|
|
4845
|
+
"name": "readonly",
|
|
4846
|
+
"type": {
|
|
4847
|
+
"kind": "primitive",
|
|
4848
|
+
"name": "boolean"
|
|
4849
|
+
},
|
|
4850
|
+
"description": "Whether the input is readonly.",
|
|
4851
|
+
"required": false,
|
|
4852
|
+
"category": "State"
|
|
4853
|
+
},
|
|
4854
|
+
{
|
|
4855
|
+
"name": "disabled",
|
|
4856
|
+
"type": {
|
|
4857
|
+
"kind": "primitive",
|
|
4858
|
+
"name": "boolean"
|
|
4859
|
+
},
|
|
4860
|
+
"description": "Whether the input is disabled.",
|
|
4861
|
+
"required": false,
|
|
4862
|
+
"category": "State"
|
|
4863
|
+
},
|
|
4864
|
+
{
|
|
4865
|
+
"name": "invalid",
|
|
4866
|
+
"type": {
|
|
4867
|
+
"kind": "primitive",
|
|
4868
|
+
"name": "boolean"
|
|
4869
|
+
},
|
|
4870
|
+
"description": "Whether the input is invalid.",
|
|
4871
|
+
"required": false,
|
|
4872
|
+
"category": "State"
|
|
4873
|
+
},
|
|
4874
|
+
{
|
|
4875
|
+
"name": "revealable",
|
|
4876
|
+
"type": {
|
|
4877
|
+
"kind": "primitive",
|
|
4878
|
+
"name": "boolean"
|
|
4879
|
+
},
|
|
4880
|
+
"description": "When false, the value stays masked with no reveal control (PDF \"Obfuscation\").\nWhen true, the user can reveal and hide the slot content (PDF \"Allow data to be revealed\").",
|
|
4881
|
+
"default": "false",
|
|
4882
|
+
"required": false,
|
|
4883
|
+
"category": "Behavior"
|
|
4884
|
+
},
|
|
4885
|
+
{
|
|
4886
|
+
"name": "loading",
|
|
4887
|
+
"type": {
|
|
4888
|
+
"kind": "primitive",
|
|
4889
|
+
"name": "boolean"
|
|
4890
|
+
},
|
|
4891
|
+
"description": "When true, shows the reveal button in a loading state while sensitive\ndata is being fetched. Forwarded to the reveal `QButton`.",
|
|
4892
|
+
"default": "false",
|
|
4893
|
+
"required": false,
|
|
4894
|
+
"category": "State"
|
|
4895
|
+
},
|
|
4896
|
+
{
|
|
4897
|
+
"name": "mask",
|
|
4898
|
+
"type": {
|
|
4899
|
+
"kind": "enum",
|
|
4900
|
+
"values": [
|
|
4901
|
+
"restricted",
|
|
4902
|
+
"bullets"
|
|
4903
|
+
]
|
|
4904
|
+
},
|
|
4905
|
+
"description": "Mask style shown while the slot content is hidden.",
|
|
4906
|
+
"default": "restricted",
|
|
4907
|
+
"required": false,
|
|
4908
|
+
"category": "Presentation"
|
|
4909
|
+
},
|
|
4910
|
+
{
|
|
4911
|
+
"name": "bulletCount",
|
|
4912
|
+
"type": {
|
|
4913
|
+
"kind": "primitive",
|
|
4914
|
+
"name": "number"
|
|
4915
|
+
},
|
|
4916
|
+
"description": "Number of bullet characters when `mask` is `bullets`.",
|
|
4917
|
+
"default": "12",
|
|
4918
|
+
"required": false,
|
|
4919
|
+
"category": "Presentation"
|
|
4920
|
+
},
|
|
4921
|
+
{
|
|
4922
|
+
"name": "icons",
|
|
4923
|
+
"type": {
|
|
4924
|
+
"kind": "object",
|
|
4925
|
+
"fields": {}
|
|
4926
|
+
},
|
|
4927
|
+
"description": "Custom icon configurations.",
|
|
4928
|
+
"default": "DEFAULT_ICONS",
|
|
4929
|
+
"required": false,
|
|
4930
|
+
"category": "Configuration"
|
|
4931
|
+
},
|
|
4932
|
+
{
|
|
4933
|
+
"name": "texts",
|
|
4934
|
+
"type": {
|
|
4935
|
+
"kind": "unknown",
|
|
4936
|
+
"raw": "Partial<{ restricted: string; showData: string; hideData: string; }> | undefined"
|
|
4937
|
+
},
|
|
4938
|
+
"description": "Custom text configurations.",
|
|
4939
|
+
"default": "DEFAULT_TEXTS",
|
|
4940
|
+
"required": false,
|
|
4941
|
+
"category": "Configuration"
|
|
4942
|
+
}
|
|
4943
|
+
],
|
|
4944
|
+
"events": [
|
|
4945
|
+
{
|
|
4946
|
+
"name": "hide",
|
|
4947
|
+
"description": "",
|
|
4948
|
+
"type": "[]"
|
|
4949
|
+
},
|
|
4950
|
+
{
|
|
4951
|
+
"name": "update:revealed",
|
|
4952
|
+
"description": "",
|
|
4953
|
+
"type": "[value: boolean]"
|
|
4954
|
+
},
|
|
4955
|
+
{
|
|
4956
|
+
"name": "reveal",
|
|
4957
|
+
"description": "",
|
|
4958
|
+
"type": "[]"
|
|
4959
|
+
}
|
|
4960
|
+
],
|
|
4961
|
+
"slots": [
|
|
4962
|
+
{
|
|
4963
|
+
"name": "default",
|
|
4964
|
+
"description": ""
|
|
4965
|
+
},
|
|
4966
|
+
{
|
|
4967
|
+
"name": "reveal",
|
|
4968
|
+
"description": ""
|
|
4969
|
+
},
|
|
4970
|
+
{
|
|
4971
|
+
"name": "mask",
|
|
4972
|
+
"description": ""
|
|
4973
|
+
},
|
|
4974
|
+
{
|
|
4975
|
+
"name": "label.prepend",
|
|
4976
|
+
"description": ""
|
|
4977
|
+
},
|
|
4978
|
+
{
|
|
4979
|
+
"name": "label.append",
|
|
4980
|
+
"description": ""
|
|
4981
|
+
},
|
|
4982
|
+
{
|
|
4983
|
+
"name": "extras",
|
|
4984
|
+
"description": ""
|
|
4985
|
+
}
|
|
4986
|
+
]
|
|
4987
|
+
},
|
|
4988
|
+
"examples": [
|
|
4989
|
+
{
|
|
4990
|
+
"title": "Obfuscation",
|
|
4991
|
+
"description": "Role without permission — plain Restricted, no reveal control.",
|
|
4992
|
+
"code": "<QObfuscation :label=\"Field label\" :revealable=\"false\" />"
|
|
4993
|
+
},
|
|
4994
|
+
{
|
|
4995
|
+
"title": "Obfuscation Bullets",
|
|
4996
|
+
"description": "Bullet mask when obfuscation uses dots instead of Restricted.",
|
|
4997
|
+
"code": "<QObfuscation :label=\"Field label\" :revealable=\"false\" :mask=\"bullets\" :bullet-count=\"12\" />"
|
|
4998
|
+
},
|
|
4999
|
+
{
|
|
5000
|
+
"title": "Revealable Hidden",
|
|
5001
|
+
"description": "Allow reveal — masked state displays only a padlock (PDF step 1).",
|
|
5002
|
+
"code": "<q-obfuscation\n\t\t\t\tv-bind=\"args\"\n\t\t\t\tv-model:revealed=\"revealed\">\n\t\t\t\tField value revealed\n\t\t\t</q-obfuscation>"
|
|
5003
|
+
},
|
|
5004
|
+
{
|
|
5005
|
+
"title": "Revealable Shown",
|
|
5006
|
+
"description": "Allow reveal — value shown with an open padlock on the slotted field label.",
|
|
5007
|
+
"code": "<q-obfuscation\n\t\t\t\tv-bind=\"args\"\n\t\t\t\tv-model:revealed=\"revealed\"\n\t\t\t\tv-slot=\"{ qObfuscationHideAction }\">\n\t\t\t\t<q-text-field :label=\"args.label\" v-model=\"value\">\n\t\t\t\t\t<template #label.append>\n\t\t\t\t\t\t<component :is=\"qObfuscationHideAction\" />\n\t\t\t\t\t</template>\n\t\t\t\t</q-text-field>\n\t\t\t</q-obfuscation>"
|
|
5008
|
+
},
|
|
5009
|
+
{
|
|
5010
|
+
"title": "Revealable Text Field",
|
|
5011
|
+
"description": "Editable text field gated behind the padlock control.",
|
|
5012
|
+
"code": "<q-obfuscation\n\t\t\t\tv-bind=\"args\"\n\t\t\t\tv-model:revealed=\"revealed\"\n\t\t\t\tv-slot=\"{ qObfuscationHideAction }\">\n\t\t\t\t<q-text-field v-model=\"taxId\" :label=\"args.label\">\n\t\t\t\t\t<template #label.append>\n\t\t\t\t\t\t<component :is=\"qObfuscationHideAction\" />\n\t\t\t\t\t</template>\n\t\t\t\t</q-text-field>\n\t\t\t</q-obfuscation>"
|
|
5013
|
+
},
|
|
5014
|
+
{
|
|
5015
|
+
"title": "Revealable Password Field",
|
|
5016
|
+
"description": "Password field — hide control on the field label.",
|
|
5017
|
+
"code": "<q-obfuscation\n\t\t\t\tv-bind=\"args\"\n\t\t\t\tv-model:revealed=\"revealed\"\n\t\t\t\tv-slot=\"{ qObfuscationHideAction }\">\n\t\t\t\t<q-password-field v-model=\"secret\" :label=\"args.label\">\n\t\t\t\t\t<template #label.append>\n\t\t\t\t\t\t<component :is=\"qObfuscationHideAction\" />\n\t\t\t\t\t</template>\n\t\t\t\t</q-password-field>\n\t\t\t</q-obfuscation>"
|
|
5018
|
+
},
|
|
5019
|
+
{
|
|
5020
|
+
"title": "Revealable Text Area",
|
|
5021
|
+
"description": "Multi-line notes gated behind the padlock.",
|
|
5022
|
+
"code": "<q-obfuscation\n\t\t\t\tv-bind=\"args\"\n\t\t\t\tv-model:revealed=\"revealed\"\n\t\t\t\tv-slot=\"{ qObfuscationHideAction }\">\n\t\t\t\t<q-text-area v-model=\"notes\" :label=\"args.label\" rows=\"3\">\n\t\t\t\t\t<template #label.append>\n\t\t\t\t\t\t<component :is=\"qObfuscationHideAction\" />\n\t\t\t\t\t</template>\n\t\t\t\t</q-text-area>\n\t\t\t</q-obfuscation>"
|
|
5023
|
+
},
|
|
5024
|
+
{
|
|
5025
|
+
"title": "Revealable Combobox",
|
|
5026
|
+
"description": "Combobox with suggestions — hide control on the field label.",
|
|
5027
|
+
"code": "<q-obfuscation\n\t\t\t\tv-bind=\"args\"\n\t\t\t\tv-model:revealed=\"revealed\"\n\t\t\t\tv-slot=\"{ qObfuscationHideAction }\">\n\t\t\t\t<q-combobox v-model=\"city\" :label=\"args.label\" :items=\"items\">\n\t\t\t\t\t<template #label.append>\n\t\t\t\t\t\t<component :is=\"qObfuscationHideAction\" />\n\t\t\t\t\t</template>\n\t\t\t\t</q-combobox>\n\t\t\t</q-obfuscation>"
|
|
5028
|
+
},
|
|
5029
|
+
{
|
|
5030
|
+
"title": "Revealable Color Picker",
|
|
5031
|
+
"description": "Color picker — hide control on the field label.",
|
|
5032
|
+
"code": "<q-obfuscation\n\t\t\t\tv-bind=\"args\"\n\t\t\t\tv-model:revealed=\"revealed\"\n\t\t\t\tv-slot=\"{ qObfuscationHideAction }\">\n\t\t\t\t<q-color-picker v-model=\"color\" :label=\"args.label\">\n\t\t\t\t\t<template #label.append>\n\t\t\t\t\t\t<component :is=\"qObfuscationHideAction\" />\n\t\t\t\t\t</template>\n\t\t\t\t</q-color-picker>\n\t\t\t</q-obfuscation>"
|
|
5033
|
+
},
|
|
5034
|
+
{
|
|
5035
|
+
"title": "Revealable Select",
|
|
5036
|
+
"description": "Select has no `label.append` — omit the hide action so QObfuscation keeps its own label and padlock while gating the select.",
|
|
5037
|
+
"code": "<q-obfuscation\n\t\t\t\tv-bind=\"args\"\n\t\t\t\tv-model:revealed=\"revealed\">\n\t\t\t\t<q-select v-model=\"classification\" :items=\"items\" />\n\t\t\t</q-obfuscation>"
|
|
5038
|
+
},
|
|
5039
|
+
{
|
|
5040
|
+
"title": "Revealable Date Time Picker",
|
|
5041
|
+
"description": "Date picker has no `label.append` — QObfuscation keeps the label and padlock.",
|
|
5042
|
+
"code": "<q-obfuscation\n\t\t\t\tv-bind=\"args\"\n\t\t\t\tv-model:revealed=\"revealed\">\n\t\t\t\t<q-date-time-picker\n\t\t\t\t\tv-model=\"dateOfBirth\"\n\t\t\t\t\tformat=\"dd/MM/yyyy\"\n\t\t\t\t\tplaceholder=\"Choose date\" />\n\t\t\t</q-obfuscation>"
|
|
5043
|
+
},
|
|
5044
|
+
{
|
|
5045
|
+
"title": "Revealable Checkbox",
|
|
5046
|
+
"description": "Checkbox has no `label.append` — place `qObfuscationHideAction` beside the control.",
|
|
5047
|
+
"code": "<q-obfuscation\n\t\t\t\tv-bind=\"args\"\n\t\t\t\tv-model:revealed=\"revealed\"\n\t\t\t\tv-slot=\"{ qObfuscationHideAction }\">\n\t\t\t\t<div style=\"display: inline-flex; align-items: center; gap: 0.5rem;\">\n\t\t\t\t\t<q-checkbox v-model=\"accepted\" :label=\"args.label\" />\n\t\t\t\t\t<component :is=\"qObfuscationHideAction\" />\n\t\t\t\t</div>\n\t\t\t</q-obfuscation>"
|
|
5048
|
+
},
|
|
5049
|
+
{
|
|
5050
|
+
"title": "Revealable Radio Group",
|
|
5051
|
+
"description": "Radio group has no `label.append` — place `qObfuscationHideAction` beside the group.",
|
|
5052
|
+
"code": "<q-obfuscation\n\t\t\t\tv-bind=\"args\"\n\t\t\t\tv-model:revealed=\"revealed\"\n\t\t\t\tv-slot=\"{ qObfuscationHideAction }\">\n\t\t\t\t<div style=\"display: flex; align-items: flex-start; gap: 0.5rem;\">\n\t\t\t\t\t<q-radio-group v-model=\"plan\" :label=\"args.label\">\n\t\t\t\t\t\t<q-radio-button label=\"Basic\" value=\"basic\" />\n\t\t\t\t\t\t<q-radio-button label=\"Standard\" value=\"standard\" />\n\t\t\t\t\t\t<q-radio-button label=\"Premium\" value=\"premium\" />\n\t\t\t\t\t</q-radio-group>\n\t\t\t\t\t<component :is=\"qObfuscationHideAction\" />\n\t\t\t\t</div>\n\t\t\t</q-obfuscation>"
|
|
5053
|
+
},
|
|
5054
|
+
{
|
|
5055
|
+
"title": "Field Variants",
|
|
5056
|
+
"description": "Several field types together — pattern gallery.",
|
|
5057
|
+
"code": "<div style=\"display: flex; flex-direction: column; gap: 1.25rem; max-width: 28rem;\">\n\t\t\t\t<q-obfuscation\n\t\t\t\t\tlabel=\"Tax ID\"\n\t\t\t\t\tv-bind=\"args\"\n\t\t\t\t\tv-model:revealed=\"revealedText\"\n\t\t\t\t\tv-slot=\"{ qObfuscationHideAction }\">\n\t\t\t\t\t<q-text-field v-model=\"taxId\" label=\"Tax ID\">\n\t\t\t\t\t\t<template #label.append>\n\t\t\t\t\t\t\t<component :is=\"qObfuscationHideAction\" />\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</q-text-field>\n\t\t\t\t</q-obfuscation>\n\n\t\t\t\t<q-obfuscation\n\t\t\t\t\tlabel=\"API secret\"\n\t\t\t\t\tv-bind=\"args\"\n\t\t\t\t\tv-model:revealed=\"revealedPassword\"\n\t\t\t\t\tv-slot=\"{ qObfuscationHideAction }\">\n\t\t\t\t\t<q-password-field v-model=\"secret\" label=\"API secret\">\n\t\t\t\t\t\t<template #label.append>\n\t\t\t\t\t\t\t<component :is=\"qObfuscationHideAction\" />\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</q-password-field>\n\t\t\t\t</q-obfuscation>\n\n\t\t\t\t<q-obfuscation\n\t\t\t\t\tlabel=\"Private notes\"\n\t\t\t\t\tv-bind=\"args\"\n\t\t\t\t\tv-model:revealed=\"revealedNotes\"\n\t\t\t\t\tv-slot=\"{ qObfuscationHideAction }\">\n\t\t\t\t\t<q-text-area v-model=\"notes\" label=\"Private notes\" rows=\"3\">\n\t\t\t\t\t\t<template #label.append>\n\t\t\t\t\t\t\t<component :is=\"qObfuscationHideAction\" />\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</q-text-area>\n\t\t\t\t</q-obfuscation>\n\n\t\t\t\t<q-obfuscation\n\t\t\t\t\tlabel=\"Home city\"\n\t\t\t\t\tv-bind=\"args\"\n\t\t\t\t\tv-model:revealed=\"revealedCity\"\n\t\t\t\t\tv-slot=\"{ qObfuscationHideAction }\">\n\t\t\t\t\t<q-combobox v-model=\"city\" label=\"Home city\" :items=\"comboboxItems\">\n\t\t\t\t\t\t<template #label.append>\n\t\t\t\t\t\t\t<component :is=\"qObfuscationHideAction\" />\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</q-combobox>\n\t\t\t\t</q-obfuscation>\n\n\t\t\t\t<q-obfuscation\n\t\t\t\t\tlabel=\"Brand accent\"\n\t\t\t\t\tv-bind=\"args\"\n\t\t\t\t\tv-model:revealed=\"revealedColor\"\n\t\t\t\t\tv-slot=\"{ qObfuscationHideAction }\">\n\t\t\t\t\t<q-color-picker v-model=\"color\" label=\"Brand accent\">\n\t\t\t\t\t\t<template #label.append>\n\t\t\t\t\t\t\t<component :is=\"qObfuscationHideAction\" />\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</q-color-picker>\n\t\t\t\t</q-obfuscation>\n\n\t\t\t\t<q-obfuscation\n\t\t\t\t\tlabel=\"Classification\"\n\t\t\t\t\tv-bind=\"args\"\n\t\t\t\t\tv-model:revealed=\"revealedSelect\">\n\t\t\t\t\t<q-select v-model=\"classification\" :items=\"selectItems\" />\n\t\t\t\t</q-obfuscation>\n\n\t\t\t\t<q-obfuscation\n\t\t\t\t\tlabel=\"Date of birth\"\n\t\t\t\t\tv-bind=\"args\"\n\t\t\t\t\tv-model:revealed=\"revealedDate\">\n\t\t\t\t\t<q-date-time-picker\n\t\t\t\t\t\tv-model=\"dateOfBirth\"\n\t\t\t\t\t\tformat=\"dd/MM/yyyy\"\n\t\t\t\t\t\tplaceholder=\"Choose date\" />\n\t\t\t\t</q-obfuscation>\n\n\t\t\t\t<q-obfuscation\n\t\t\t\t\tlabel=\"Terms accepted\"\n\t\t\t\t\tv-bind=\"args\"\n\t\t\t\t\tv-model:revealed=\"revealedCheckbox\"\n\t\t\t\t\tv-slot=\"{ qObfuscationHideAction }\">\n\t\t\t\t\t<div style=\"display: inline-flex; align-items: center; gap: 0.5rem;\">\n\t\t\t\t\t\t<q-checkbox v-model=\"accepted\" label=\"Terms accepted\" />\n\t\t\t\t\t\t<component :is=\"qObfuscationHideAction\" />\n\t\t\t\t\t</div>\n\t\t\t\t</q-obfuscation>\n\n\t\t\t\t<q-obfuscation\n\t\t\t\t\tlabel=\"Subscription plan\"\n\t\t\t\t\tv-bind=\"args\"\n\t\t\t\t\tv-model:revealed=\"revealedRadio\"\n\t\t\t\t\tv-slot=\"{ qObfuscationHideAction }\">\n\t\t\t\t\t<div style=\"display: flex; align-items: flex-start; gap: 0.5rem;\">\n\t\t\t\t\t\t<q-radio-group v-model=\"plan\" label=\"Subscription plan\">\n\t\t\t\t\t\t\t<q-radio-button label=\"Basic\" value=\"basic\" />\n\t\t\t\t\t\t\t<q-radio-button label=\"Standard\" value=\"standard\" />\n\t\t\t\t\t\t\t<q-radio-button label=\"Premium\" value=\"premium\" />\n\t\t\t\t\t\t</q-radio-group>\n\t\t\t\t\t\t<component :is=\"qObfuscationHideAction\" />\n\t\t\t\t\t</div>\n\t\t\t\t</q-obfuscation>\n\t\t\t</div>"
|
|
5058
|
+
},
|
|
5059
|
+
{
|
|
5060
|
+
"title": "Loading",
|
|
5061
|
+
"description": "Simulated server fetch after reveal — spinner until data is ready.",
|
|
5062
|
+
"code": "<q-obfuscation\n\t\t\t\tv-bind=\"args\"\n\t\t\t\t:loading=\"loading\"\n\t\t\t\tv-model:revealed=\"revealed\"\n\t\t\t\t@hide=\"onHide\">\n\t\t\t\t<template #reveal>\n\t\t\t\t\t<q-button\n\t\t\t\t\t\tvariant=\"text\"\n\t\t\t\t\t\tborderless\n\t\t\t\t\t\tblock\n\t\t\t\t\t\tclass=\"q-obfuscation__action\"\n\t\t\t\t\t\t:loading=\"loading\"\n\t\t\t\t\t\tlabel=\"Show data\"\n\t\t\t\t\t\tdata-testid=\"q-obfuscation__reveal\"\n\t\t\t\t\t\t@click=\"fetchAndReveal\">\n\t\t\t\t\t\t<q-icon icon=\"lock\" class=\"q-obfuscation__icon\" />\n\t\t\t\t\t</q-button>\n\t\t\t\t</template>\n\t\t\t\t{{ value }}\n\t\t\t</q-obfuscation>"
|
|
5063
|
+
},
|
|
5064
|
+
{
|
|
5065
|
+
"title": "Multiple Fields",
|
|
5066
|
+
"description": "PDF-style consulta grid: mixed restricted vs revealable fields.",
|
|
5067
|
+
"code": "<div style=\"display: grid; grid-template-columns: 10rem 1fr 10rem 1fr; gap: 0.75rem 1.5rem; max-width: 44rem; align-items: baseline;\">\n\t\t\t\t<span style=\"opacity: 0.8;\">{{ args.label }}</span>\n\t\t\t\t<q-obfuscation :revealable=\"false\" />\n\n\t\t\t\t<span style=\"opacity: 0.8;\">{{ args.label }}</span>\n\t\t\t\t<q-obfuscation\n\t\t\t\t\tv-bind=\"args\"\n\t\t\t\t\tv-model:revealed=\"revealedA\">\n\t\t\t\t\tField value revealed\n\t\t\t\t</q-obfuscation>\n\n\t\t\t\t<span style=\"opacity: 0.8;\">{{ args.label }}</span>\n\t\t\t\t<q-obfuscation :revealable=\"false\" />\n\n\t\t\t\t<span style=\"opacity: 0.8;\">{{ args.label }}</span>\n\t\t\t\t<q-obfuscation\n\t\t\t\t\t:revealable=\"true\"\n\t\t\t\t\tv-model:revealed=\"revealedB\">\n\t\t\t\t\tField value revealed\n\t\t\t\t</q-obfuscation>\n\n\t\t\t\t<span style=\"opacity: 0.8;\">{{ args.label }}</span>\n\t\t\t\t<q-obfuscation :revealable=\"false\" mask=\"bullets\" />\n\n\t\t\t\t<span style=\"opacity: 0.8;\">{{ args.label }}</span>\n\t\t\t\t<q-obfuscation :revealable=\"false\" />\n\t\t\t</div>"
|
|
5068
|
+
}
|
|
5069
|
+
]
|
|
5070
|
+
},
|
|
4742
5071
|
{
|
|
4743
5072
|
"name": "QOverlay",
|
|
4744
5073
|
"description": "A generic overlay for creating floating elements.",
|
|
@@ -5196,7 +5525,7 @@
|
|
|
5196
5525
|
"kind": "primitive",
|
|
5197
5526
|
"name": "boolean"
|
|
5198
5527
|
},
|
|
5199
|
-
"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.",
|
|
5528
|
+
"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.",
|
|
5200
5529
|
"required": false,
|
|
5201
5530
|
"category": "State"
|
|
5202
5531
|
},
|
|
@@ -5834,7 +6163,7 @@
|
|
|
5834
6163
|
"kind": "primitive",
|
|
5835
6164
|
"name": "boolean"
|
|
5836
6165
|
},
|
|
5837
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.",
|
|
6166
|
+
"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).",
|
|
5838
6167
|
"required": false,
|
|
5839
6168
|
"category": "State"
|
|
5840
6169
|
},
|
|
@@ -6138,7 +6467,7 @@
|
|
|
6138
6467
|
"kind": "primitive",
|
|
6139
6468
|
"name": "boolean"
|
|
6140
6469
|
},
|
|
6141
|
-
"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.",
|
|
6142
6471
|
"required": false,
|
|
6143
6472
|
"category": "State"
|
|
6144
6473
|
},
|
|
@@ -6535,14 +6864,14 @@
|
|
|
6535
6864
|
"type": "[value: string]"
|
|
6536
6865
|
},
|
|
6537
6866
|
{
|
|
6538
|
-
"name": "
|
|
6867
|
+
"name": "resize",
|
|
6539
6868
|
"description": "",
|
|
6540
|
-
"type": "[
|
|
6869
|
+
"type": "[width: number]"
|
|
6541
6870
|
},
|
|
6542
6871
|
{
|
|
6543
|
-
"name": "
|
|
6872
|
+
"name": "click:item",
|
|
6544
6873
|
"description": "",
|
|
6545
|
-
"type": "[
|
|
6874
|
+
"type": "[id: string]"
|
|
6546
6875
|
},
|
|
6547
6876
|
{
|
|
6548
6877
|
"name": "resize:start",
|
|
@@ -6766,7 +7095,7 @@
|
|
|
6766
7095
|
"kind": "primitive",
|
|
6767
7096
|
"name": "boolean"
|
|
6768
7097
|
},
|
|
6769
|
-
"description": "If set to true, an asterisk (*) is displayed\nto indicate that the associated field is required.",
|
|
7098
|
+
"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).",
|
|
6770
7099
|
"required": false,
|
|
6771
7100
|
"category": "State"
|
|
6772
7101
|
},
|
|
@@ -6931,6 +7260,147 @@
|
|
|
6931
7260
|
}
|
|
6932
7261
|
]
|
|
6933
7262
|
},
|
|
7263
|
+
{
|
|
7264
|
+
"name": "QTabs",
|
|
7265
|
+
"description": "Displays a set of tabbed panels. Only one panel is visible at a time.",
|
|
7266
|
+
"meta": {
|
|
7267
|
+
"props": [
|
|
7268
|
+
{
|
|
7269
|
+
"name": "modelValue",
|
|
7270
|
+
"type": {
|
|
7271
|
+
"kind": "primitive",
|
|
7272
|
+
"name": "string"
|
|
7273
|
+
},
|
|
7274
|
+
"description": "",
|
|
7275
|
+
"required": false
|
|
7276
|
+
},
|
|
7277
|
+
{
|
|
7278
|
+
"name": "id",
|
|
7279
|
+
"type": {
|
|
7280
|
+
"kind": "primitive",
|
|
7281
|
+
"name": "string"
|
|
7282
|
+
},
|
|
7283
|
+
"description": "The component unique identifier.",
|
|
7284
|
+
"required": false,
|
|
7285
|
+
"category": "Identification"
|
|
7286
|
+
},
|
|
7287
|
+
{
|
|
7288
|
+
"name": "direction",
|
|
7289
|
+
"type": {
|
|
7290
|
+
"kind": "enum",
|
|
7291
|
+
"values": [
|
|
7292
|
+
"horizontal",
|
|
7293
|
+
"vertical"
|
|
7294
|
+
]
|
|
7295
|
+
},
|
|
7296
|
+
"description": "Orientation of the tab list.\n\nAlso mapped to `aria-orientation` on the tablist.",
|
|
7297
|
+
"default": "horizontal",
|
|
7298
|
+
"required": false,
|
|
7299
|
+
"category": "Presentation"
|
|
7300
|
+
},
|
|
7301
|
+
{
|
|
7302
|
+
"name": "align",
|
|
7303
|
+
"type": {
|
|
7304
|
+
"kind": "enum",
|
|
7305
|
+
"values": [
|
|
7306
|
+
"start",
|
|
7307
|
+
"end",
|
|
7308
|
+
"center",
|
|
7309
|
+
"justify"
|
|
7310
|
+
]
|
|
7311
|
+
},
|
|
7312
|
+
"description": "Distribution of tabs along the tab list main axis.",
|
|
7313
|
+
"default": "start",
|
|
7314
|
+
"required": false,
|
|
7315
|
+
"category": "Presentation"
|
|
7316
|
+
},
|
|
7317
|
+
{
|
|
7318
|
+
"name": "variant",
|
|
7319
|
+
"type": {
|
|
7320
|
+
"kind": "enum",
|
|
7321
|
+
"values": [
|
|
7322
|
+
"line",
|
|
7323
|
+
"card"
|
|
7324
|
+
]
|
|
7325
|
+
},
|
|
7326
|
+
"description": "Visual style of the tabs.",
|
|
7327
|
+
"default": "line",
|
|
7328
|
+
"required": false,
|
|
7329
|
+
"category": "Presentation"
|
|
7330
|
+
},
|
|
7331
|
+
{
|
|
7332
|
+
"name": "disabled",
|
|
7333
|
+
"type": {
|
|
7334
|
+
"kind": "primitive",
|
|
7335
|
+
"name": "boolean"
|
|
7336
|
+
},
|
|
7337
|
+
"description": "If true, disables all nested tabs via defaults cascade.",
|
|
7338
|
+
"required": false,
|
|
7339
|
+
"category": "State"
|
|
7340
|
+
}
|
|
7341
|
+
],
|
|
7342
|
+
"events": [
|
|
7343
|
+
{
|
|
7344
|
+
"name": "update:modelValue",
|
|
7345
|
+
"description": "",
|
|
7346
|
+
"type": "[value: string]"
|
|
7347
|
+
}
|
|
7348
|
+
],
|
|
7349
|
+
"slots": [
|
|
7350
|
+
{
|
|
7351
|
+
"name": "default",
|
|
7352
|
+
"description": ""
|
|
7353
|
+
}
|
|
7354
|
+
]
|
|
7355
|
+
},
|
|
7356
|
+
"examples": [
|
|
7357
|
+
{
|
|
7358
|
+
"title": "Default",
|
|
7359
|
+
"description": "Default horizontal tabs.",
|
|
7360
|
+
"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>"
|
|
7361
|
+
},
|
|
7362
|
+
{
|
|
7363
|
+
"title": "Vertical",
|
|
7364
|
+
"description": "Vertical tab list beside the panels.",
|
|
7365
|
+
"code": "<QTabs :direction=\"vertical\" />"
|
|
7366
|
+
},
|
|
7367
|
+
{
|
|
7368
|
+
"title": "Card",
|
|
7369
|
+
"description": "Card-style folder tabs that merge into the panel.",
|
|
7370
|
+
"code": "<QTabs :variant=\"card\" />"
|
|
7371
|
+
},
|
|
7372
|
+
{
|
|
7373
|
+
"title": "Card Vertical",
|
|
7374
|
+
"description": "Card-style tabs in a vertical layout.",
|
|
7375
|
+
"code": "<QTabs :variant=\"card\" :direction=\"vertical\" />"
|
|
7376
|
+
},
|
|
7377
|
+
{
|
|
7378
|
+
"title": "Align",
|
|
7379
|
+
"description": "Tabs distributed across the tab list.",
|
|
7380
|
+
"code": "<QTabs :align=\"justify\" />"
|
|
7381
|
+
},
|
|
7382
|
+
{
|
|
7383
|
+
"title": "With Required",
|
|
7384
|
+
"description": "Tab with a required asterisk on the label.",
|
|
7385
|
+
"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>"
|
|
7386
|
+
},
|
|
7387
|
+
{
|
|
7388
|
+
"title": "With Title Slots",
|
|
7389
|
+
"description": "Tabs with prepend and append title slots.",
|
|
7390
|
+
"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</q-tabs>"
|
|
7391
|
+
},
|
|
7392
|
+
{
|
|
7393
|
+
"title": "Disabled",
|
|
7394
|
+
"description": "Disabled tab and parent-level disable cascade.",
|
|
7395
|
+
"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>"
|
|
7396
|
+
},
|
|
7397
|
+
{
|
|
7398
|
+
"title": "Controlled",
|
|
7399
|
+
"description": "Controlled active tab via v-model.",
|
|
7400
|
+
"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>"
|
|
7401
|
+
}
|
|
7402
|
+
]
|
|
7403
|
+
},
|
|
6934
7404
|
{
|
|
6935
7405
|
"name": "QTextArea",
|
|
6936
7406
|
"description": "An extension of the `QField` component, providing a specialized field for textual data with multiple lines.",
|
|
@@ -6971,7 +7441,7 @@
|
|
|
6971
7441
|
"kind": "primitive",
|
|
6972
7442
|
"name": "boolean"
|
|
6973
7443
|
},
|
|
6974
|
-
"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.",
|
|
7444
|
+
"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.",
|
|
6975
7445
|
"required": false,
|
|
6976
7446
|
"category": "State"
|
|
6977
7447
|
},
|
|
@@ -7260,7 +7730,7 @@
|
|
|
7260
7730
|
"kind": "primitive",
|
|
7261
7731
|
"name": "boolean"
|
|
7262
7732
|
},
|
|
7263
|
-
"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.",
|
|
7733
|
+
"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.",
|
|
7264
7734
|
"required": false,
|
|
7265
7735
|
"category": "State"
|
|
7266
7736
|
},
|