@webquark/core 1.0.0 → 1.0.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/LICENSE +21 -21
- package/{readme.md → README.md} +97 -78
- package/dist/cjs/q-button_3.cjs.entry.js +22 -22
- package/dist/cjs/q-card.cjs.entry.js +3 -3
- package/dist/cjs/q-carousel.cjs.entry.js +2 -2
- package/dist/cjs/q-circular-progress_2.cjs.entry.js +5 -5
- package/dist/cjs/q-data-table.cjs.entry.js +3 -3
- package/dist/cjs/q-dialog.cjs.entry.js +1 -1
- package/dist/cjs/q-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/q-quantity-selector.cjs.entry.js +5 -5
- package/dist/cjs/q-reel.cjs.entry.js +2 -2
- package/dist/cjs/q-step-diagram-item.cjs.entry.js +2 -2
- package/dist/cjs/q-step-diagram.cjs.entry.js +2 -2
- package/dist/cjs/q-textarea.cjs.entry.js +2 -2
- package/dist/cjs/q-thumbnail.cjs.entry.js +2 -2
- package/dist/cjs/q-toggle.cjs.entry.js +3 -3
- package/dist/collection/assets/icons/braces.svg +14 -14
- package/dist/collection/assets/icons/check.svg +1 -1
- package/dist/collection/assets/icons/chevron-down.svg +1 -1
- package/dist/collection/assets/icons/chevron-left.svg +1 -1
- package/dist/collection/assets/icons/chevron-right.svg +1 -1
- package/dist/collection/assets/icons/chevron-up.svg +1 -1
- package/dist/collection/assets/icons/copy.svg +4 -4
- package/dist/collection/assets/icons/eye-off.svg +1 -1
- package/dist/collection/assets/icons/eye.svg +1 -1
- package/dist/collection/assets/icons/minus.svg +1 -1
- package/dist/collection/assets/icons/play.svg +1 -1
- package/dist/collection/assets/icons/plus.svg +1 -1
- package/dist/collection/assets/icons/search.svg +1 -1
- package/dist/collection/assets/icons/spinner.svg +1 -1
- package/dist/collection/assets/icons/trash-2.svg +1 -1
- package/dist/collection/assets/icons/x.svg +1 -1
- package/dist/collection/components/card/card.js +3 -3
- package/dist/collection/components/carousel/carousel.js +2 -2
- package/dist/collection/components/circular-progress/circular-progress.js +2 -2
- package/dist/collection/components/data-table/data-table.css +219 -219
- package/dist/collection/components/data-table/data-table.js +4 -4
- package/dist/collection/components/dialog/dialog.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +5 -5
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/input/input.js +3 -3
- package/dist/collection/components/quantity-selector/quantity-selector.css +131 -131
- package/dist/collection/components/quantity-selector/quantity-selector.js +4 -4
- package/dist/collection/components/reel/reel.js +2 -2
- package/dist/collection/components/scrollable/scrollable.js +22 -22
- package/dist/collection/components/sidepanel/sidepanel.js +2 -2
- package/dist/collection/components/step-diagram/step-diagram.js +2 -2
- package/dist/collection/components/step-diagram-item/step-diagram-item.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/toggle/toggle.js +4 -4
- package/dist/collection/playground/components/playground-event-log/playground-event-log.js +3 -3
- package/dist/collection/playground/components/sandbox-viewport/sandbox-panel.js +3 -3
- package/dist/collection/playground/logo.svg +8 -8
- package/dist/collection/playground/playground.bundled.js +590 -590
- package/dist/collection/playground/views/q-button-view/q-button-view.js +6 -6
- package/dist/collection/playground/views/q-input-view/q-input-view.js +6 -6
- package/dist/collection/utils/formatter.unit.test.js +24 -24
- package/dist/components/{p-CYfD9z8O.js → p-B4IF9WVv.js} +1 -1
- package/dist/components/{p-BRNv11Jn.js → p-DScvq41R.js} +1 -1
- package/dist/components/{p-B7e76DLW.js → p-Do2ppeKL.js} +1 -1
- package/dist/components/q-card.js +1 -1
- package/dist/components/q-carousel.js +1 -1
- package/dist/components/q-circular-progress.js +1 -1
- package/dist/components/q-data-table.js +1 -1
- package/dist/components/q-dialog.js +1 -1
- package/dist/components/q-dropdown.js +1 -1
- package/dist/components/q-input.js +1 -1
- package/dist/components/q-quantity-selector.js +1 -1
- package/dist/components/q-reel.js +1 -1
- package/dist/components/q-scrollable.js +1 -1
- package/dist/components/q-step-diagram-item.js +1 -1
- package/dist/components/q-step-diagram.js +1 -1
- package/dist/components/q-syntax-box.js +1 -1
- package/dist/components/q-textarea.js +1 -1
- package/dist/components/q-thumbnail.js +1 -1
- package/dist/components/q-toggle.js +1 -1
- package/dist/esm/q-button_3.entry.js +22 -22
- package/dist/esm/q-card.entry.js +3 -3
- package/dist/esm/q-carousel.entry.js +2 -2
- package/dist/esm/q-circular-progress_2.entry.js +5 -5
- package/dist/esm/q-data-table.entry.js +3 -3
- package/dist/esm/q-dialog.entry.js +1 -1
- package/dist/esm/q-dropdown.entry.js +3 -3
- package/dist/esm/q-quantity-selector.entry.js +5 -5
- package/dist/esm/q-reel.entry.js +2 -2
- package/dist/esm/q-step-diagram-item.entry.js +2 -2
- package/dist/esm/q-step-diagram.entry.js +2 -2
- package/dist/esm/q-textarea.entry.js +2 -2
- package/dist/esm/q-thumbnail.entry.js +2 -2
- package/dist/esm/q-toggle.entry.js +3 -3
- package/dist/playground/assets/icons/braces.svg +14 -14
- package/dist/playground/assets/icons/check.svg +1 -1
- package/dist/playground/assets/icons/chevron-down.svg +1 -1
- package/dist/playground/assets/icons/chevron-left.svg +1 -1
- package/dist/playground/assets/icons/chevron-right.svg +1 -1
- package/dist/playground/assets/icons/chevron-up.svg +1 -1
- package/dist/playground/assets/icons/copy.svg +4 -4
- package/dist/playground/assets/icons/eye-off.svg +1 -1
- package/dist/playground/assets/icons/eye.svg +1 -1
- package/dist/playground/assets/icons/minus.svg +1 -1
- package/dist/playground/assets/icons/play.svg +1 -1
- package/dist/playground/assets/icons/plus.svg +1 -1
- package/dist/playground/assets/icons/search.svg +1 -1
- package/dist/playground/assets/icons/spinner.svg +1 -1
- package/dist/playground/assets/icons/trash-2.svg +1 -1
- package/dist/playground/assets/icons/x.svg +1 -1
- package/dist/playground/build/{p-4f133a25.entry.js → p-1187e439.entry.js} +1 -1
- package/dist/playground/build/{p-c8d6af8e.entry.js → p-38d9e75b.entry.js} +1 -1
- package/dist/{webquark/p-f7b5b155.entry.js → playground/build/p-4ce667f1.entry.js} +1 -1
- package/dist/{webquark/p-aa9be919.entry.js → playground/build/p-66b0eb0f.entry.js} +1 -1
- package/dist/{webquark/p-b1e68119.entry.js → playground/build/p-69d33f9d.entry.js} +1 -1
- package/dist/playground/build/{p-679fa494.entry.js → p-76e04a7f.entry.js} +1 -1
- package/dist/{webquark/p-f48dd3dd.entry.js → playground/build/p-776a0eb6.entry.js} +1 -1
- package/dist/playground/build/{p-5c67a28e.entry.js → p-7c4532f3.entry.js} +1 -1
- package/dist/playground/build/p-7d2144cf.entry.js +1 -0
- package/dist/playground/build/{p-7083c5ff.entry.js → p-84185204.entry.js} +1 -1
- package/dist/{webquark/p-1238a2cc.entry.js → playground/build/p-938cd8a6.entry.js} +1 -1
- package/dist/playground/build/{p-7f47861b.entry.js → p-a182b818.entry.js} +1 -1
- package/dist/playground/build/p-aa017815.entry.js +1 -0
- package/dist/playground/build/{p-8a94a0a2.entry.js → p-d7607e11.entry.js} +1 -1
- package/dist/playground/build/webquark.esm.js +1 -1
- package/dist/playground/logo.svg +8 -8
- package/dist/playground/playground/specs/q-button.sandbox.json +198 -198
- package/dist/playground/playground/specs/q-card.sandbox.json +144 -144
- package/dist/playground/playground/specs/q-carousel.sandbox.json +120 -120
- package/dist/playground/playground/specs/q-circular-progress.sandbox.json +91 -91
- package/dist/playground/playground/specs/q-data-table.sandbox.json +108 -108
- package/dist/playground/playground/specs/q-dialog.sandbox.json +108 -108
- package/dist/playground/playground/specs/q-dropdown.sandbox.json +116 -116
- package/dist/playground/playground/specs/q-icon.sandbox.json +138 -138
- package/dist/playground/playground/specs/q-input.sandbox.json +192 -192
- package/dist/playground/playground/specs/q-quantity-selector.sandbox.json +99 -99
- package/dist/playground/playground/specs/q-reel.sandbox.json +70 -70
- package/dist/playground/playground/specs/q-scrollable.sandbox.json +102 -102
- package/dist/playground/playground/specs/q-sidepanel.sandbox.json +147 -147
- package/dist/playground/playground/specs/q-step-diagram.sandbox.json +56 -56
- package/dist/playground/playground/specs/q-syntax-box.sandbox.json +160 -160
- package/dist/playground/playground/specs/q-textarea.sandbox.json +133 -133
- package/dist/playground/playground/specs/q-toggle.sandbox.json +196 -196
- package/dist/playground/playground/specs/q-tooltip.sandbox.json +65 -65
- package/dist/playground/playground.css +1 -1
- package/dist/playground/playground.js +590 -590
- package/dist/playground/views/q-button-view/q-button-view.css +1 -1
- package/dist/playground/views/q-button-view/q-button-view.html +1 -1
- package/dist/playground/views/q-button-view/q-button-view.js +6 -6
- package/dist/playground/views/q-input-view/q-input-view.css +1 -1
- package/dist/playground/views/q-input-view/q-input-view.html +1 -1
- package/dist/playground/views/q-input-view/q-input-view.js +6 -6
- package/dist/types/declarations.d.ts +9 -9
- package/dist/webquark/{p-4f133a25.entry.js → p-1187e439.entry.js} +1 -1
- package/dist/webquark/{p-c8d6af8e.entry.js → p-38d9e75b.entry.js} +1 -1
- package/dist/{playground/build/p-f7b5b155.entry.js → webquark/p-4ce667f1.entry.js} +1 -1
- package/dist/{playground/build/p-aa9be919.entry.js → webquark/p-66b0eb0f.entry.js} +1 -1
- package/dist/{playground/build/p-b1e68119.entry.js → webquark/p-69d33f9d.entry.js} +1 -1
- package/dist/webquark/{p-679fa494.entry.js → p-76e04a7f.entry.js} +1 -1
- package/dist/{playground/build/p-f48dd3dd.entry.js → webquark/p-776a0eb6.entry.js} +1 -1
- package/dist/webquark/{p-5c67a28e.entry.js → p-7c4532f3.entry.js} +1 -1
- package/dist/webquark/p-7d2144cf.entry.js +1 -0
- package/dist/webquark/{p-7083c5ff.entry.js → p-84185204.entry.js} +1 -1
- package/dist/{playground/build/p-1238a2cc.entry.js → webquark/p-938cd8a6.entry.js} +1 -1
- package/dist/webquark/{p-7f47861b.entry.js → p-a182b818.entry.js} +1 -1
- package/dist/webquark/p-aa017815.entry.js +1 -0
- package/dist/webquark/{p-8a94a0a2.entry.js → p-d7607e11.entry.js} +1 -1
- package/dist/webquark/webquark.esm.js +1 -1
- package/package.json +84 -84
- package/dist/playground/build/p-9afa3fe8.entry.js +0 -1
- package/dist/playground/build/p-9bb8ed97.entry.js +0 -1
- package/dist/webquark/p-9afa3fe8.entry.js +0 -1
- package/dist/webquark/p-9bb8ed97.entry.js +0 -1
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Circular Progress",
|
|
3
|
-
"tag": "q-circular-progress",
|
|
4
|
-
"props": {
|
|
5
|
-
"size": {
|
|
6
|
-
"type": "select",
|
|
7
|
-
"options": [
|
|
8
|
-
"sm",
|
|
9
|
-
"md",
|
|
10
|
-
"lg"
|
|
11
|
-
],
|
|
12
|
-
"default": "md",
|
|
13
|
-
"desc": "Circular ring and text layout size"
|
|
14
|
-
},
|
|
15
|
-
"label": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"default": "",
|
|
18
|
-
"desc": "Overrides label text inside ring center"
|
|
19
|
-
},
|
|
20
|
-
"value": {
|
|
21
|
-
"type": "number",
|
|
22
|
-
"min": 0,
|
|
23
|
-
"max": 100,
|
|
24
|
-
"default": 35,
|
|
25
|
-
"desc": "Progress value index (0-100)"
|
|
26
|
-
},
|
|
27
|
-
"indeterminate": {
|
|
28
|
-
"type": "boolean",
|
|
29
|
-
"default": false,
|
|
30
|
-
"desc": "Swaps gauge with rotating infinite loader animation"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"slots": {},
|
|
34
|
-
"variants": [
|
|
35
|
-
{
|
|
36
|
-
"name": "35% Progress (Medium)",
|
|
37
|
-
"props": {
|
|
38
|
-
"value": 35,
|
|
39
|
-
"size": "md"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "35% Progress (Small)",
|
|
44
|
-
"props": {
|
|
45
|
-
"value": 35,
|
|
46
|
-
"size": "sm"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"name": "75% Custom Text (Large)",
|
|
51
|
-
"props": {
|
|
52
|
-
"value": 75,
|
|
53
|
-
"label": "Running",
|
|
54
|
-
"size": "lg"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"name": "100% Done Complete",
|
|
59
|
-
"props": {
|
|
60
|
-
"value": 100
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"name": "Indeterminate Spinner Mode",
|
|
65
|
-
"props": {
|
|
66
|
-
"indeterminate": true
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
],
|
|
70
|
-
"edgeCases": [
|
|
71
|
-
{
|
|
72
|
-
"name": "Negative Value Clamp Check",
|
|
73
|
-
"props": {
|
|
74
|
-
"value": -40
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"name": "Overflow Value Clamp Check",
|
|
79
|
-
"props": {
|
|
80
|
-
"value": 160
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"name": "Very Long Label Text Scale",
|
|
85
|
-
"props": {
|
|
86
|
-
"value": 50,
|
|
87
|
-
"label": "UPLOADING_SYSTEM_ASSETS_NOW"
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
]
|
|
91
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "Circular Progress",
|
|
3
|
+
"tag": "q-circular-progress",
|
|
4
|
+
"props": {
|
|
5
|
+
"size": {
|
|
6
|
+
"type": "select",
|
|
7
|
+
"options": [
|
|
8
|
+
"sm",
|
|
9
|
+
"md",
|
|
10
|
+
"lg"
|
|
11
|
+
],
|
|
12
|
+
"default": "md",
|
|
13
|
+
"desc": "Circular ring and text layout size"
|
|
14
|
+
},
|
|
15
|
+
"label": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"default": "",
|
|
18
|
+
"desc": "Overrides label text inside ring center"
|
|
19
|
+
},
|
|
20
|
+
"value": {
|
|
21
|
+
"type": "number",
|
|
22
|
+
"min": 0,
|
|
23
|
+
"max": 100,
|
|
24
|
+
"default": 35,
|
|
25
|
+
"desc": "Progress value index (0-100)"
|
|
26
|
+
},
|
|
27
|
+
"indeterminate": {
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"default": false,
|
|
30
|
+
"desc": "Swaps gauge with rotating infinite loader animation"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"slots": {},
|
|
34
|
+
"variants": [
|
|
35
|
+
{
|
|
36
|
+
"name": "35% Progress (Medium)",
|
|
37
|
+
"props": {
|
|
38
|
+
"value": 35,
|
|
39
|
+
"size": "md"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "35% Progress (Small)",
|
|
44
|
+
"props": {
|
|
45
|
+
"value": 35,
|
|
46
|
+
"size": "sm"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "75% Custom Text (Large)",
|
|
51
|
+
"props": {
|
|
52
|
+
"value": 75,
|
|
53
|
+
"label": "Running",
|
|
54
|
+
"size": "lg"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "100% Done Complete",
|
|
59
|
+
"props": {
|
|
60
|
+
"value": 100
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "Indeterminate Spinner Mode",
|
|
65
|
+
"props": {
|
|
66
|
+
"indeterminate": true
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"edgeCases": [
|
|
71
|
+
{
|
|
72
|
+
"name": "Negative Value Clamp Check",
|
|
73
|
+
"props": {
|
|
74
|
+
"value": -40
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "Overflow Value Clamp Check",
|
|
79
|
+
"props": {
|
|
80
|
+
"value": 160
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "Very Long Label Text Scale",
|
|
85
|
+
"props": {
|
|
86
|
+
"value": 50,
|
|
87
|
+
"label": "UPLOADING_SYSTEM_ASSETS_NOW"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
}
|
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Data Table",
|
|
3
|
-
"tag": "q-data-table",
|
|
4
|
-
"props": {
|
|
5
|
-
"selectable": {
|
|
6
|
-
"type": "boolean",
|
|
7
|
-
"default": false,
|
|
8
|
-
"desc": "Enables row checkboxes and master selection header toggle"
|
|
9
|
-
},
|
|
10
|
-
"showToolbar": {
|
|
11
|
-
"type": "boolean",
|
|
12
|
-
"default": false,
|
|
13
|
-
"desc": "Enables top toolbar layout with search, filters, and actions"
|
|
14
|
-
},
|
|
15
|
-
"showSearch": {
|
|
16
|
-
"type": "boolean",
|
|
17
|
-
"default": false,
|
|
18
|
-
"desc": "Enables search text input in the toolbar"
|
|
19
|
-
},
|
|
20
|
-
"keyField": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"default": "id",
|
|
23
|
-
"desc": "Unique field key representing each row identity"
|
|
24
|
-
},
|
|
25
|
-
"toolbarTitle": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"default": "",
|
|
28
|
-
"desc": "Title text displayed in the top-left section of the toolbar"
|
|
29
|
-
},
|
|
30
|
-
"searchPlaceholder": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"default": "Search...",
|
|
33
|
-
"desc": "Placeholder text for the search input"
|
|
34
|
-
},
|
|
35
|
-
"columns": {
|
|
36
|
-
"type": "textarea",
|
|
37
|
-
"default": "[\n { \"key\": \"id\", \"header\": \"ID\", \"width\": \"60px\" },\n { \"key\": \"name\", \"header\": \"Name\", \"width\": \"1.5fr\" },\n { \"key\": \"role\", \"header\": \"Role\" },\n { \"key\": \"status\", \"header\": \"Status\" }\n]",
|
|
38
|
-
"desc": "JSON array of table column definitions"
|
|
39
|
-
},
|
|
40
|
-
"items": {
|
|
41
|
-
"type": "textarea",
|
|
42
|
-
"default": "[\n { \"id\": \"1\", \"name\": \"Administrator Account\", \"role\": \"Admin\", \"status\": \"Active\" },\n { \"id\": \"2\", \"name\": \"Content Editor Manager\", \"role\": \"Editor\", \"status\": \"Inactive\" },\n { \"id\": \"3\", \"name\": \"Viewer Guest\", \"role\": \"Viewer\", \"status\": \"Active\" }\n]",
|
|
43
|
-
"desc": "JSON array of data row items"
|
|
44
|
-
},
|
|
45
|
-
"searchValue": {
|
|
46
|
-
"type": "string",
|
|
47
|
-
"default": "",
|
|
48
|
-
"desc": "Current search input value"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"slots": {
|
|
52
|
-
"empty": {
|
|
53
|
-
"type": "text",
|
|
54
|
-
"default": "No items found in this section.",
|
|
55
|
-
"desc": "Custom component fallback layout when rows are empty"
|
|
56
|
-
},
|
|
57
|
-
"footer": {
|
|
58
|
-
"type": "html",
|
|
59
|
-
"default": "<div style=\"padding: 0px 16px; font-size: 0.85rem; opacity: 0.7;\">Total entries: 3</div>",
|
|
60
|
-
"desc": "Custom footer content slot (appends to table bottom)"
|
|
61
|
-
},
|
|
62
|
-
"toolbar-left": {
|
|
63
|
-
"type": "text",
|
|
64
|
-
"default": "",
|
|
65
|
-
"desc": "Slot for elements rendered on the left of the toolbar (e.g. badges, counters)"
|
|
66
|
-
},
|
|
67
|
-
"filters": {
|
|
68
|
-
"type": "text",
|
|
69
|
-
"default": "",
|
|
70
|
-
"desc": "Slot for filter elements (e.g. QDropdowns) rendered in the toolbar"
|
|
71
|
-
},
|
|
72
|
-
"actions": {
|
|
73
|
-
"type": "text",
|
|
74
|
-
"default": "",
|
|
75
|
-
"desc": "Slot for action elements (e.g. buttons) rendered on the right of the toolbar"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"variants": [
|
|
79
|
-
{
|
|
80
|
-
"name": "Standard Data Grid",
|
|
81
|
-
"props": {
|
|
82
|
-
"selectable": false
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"name": "Selectable Grid",
|
|
87
|
-
"props": {
|
|
88
|
-
"selectable": true
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"name": "Grid with Toolbar & Search",
|
|
93
|
-
"props": {
|
|
94
|
-
"showToolbar": true,
|
|
95
|
-
"toolbarTitle": "Users Directory",
|
|
96
|
-
"showSearch": true,
|
|
97
|
-
"searchPlaceholder": "Search users..."
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"name": "Empty State grid",
|
|
102
|
-
"props": {
|
|
103
|
-
"items": "[]",
|
|
104
|
-
"selectable": false
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
]
|
|
108
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "Data Table",
|
|
3
|
+
"tag": "q-data-table",
|
|
4
|
+
"props": {
|
|
5
|
+
"selectable": {
|
|
6
|
+
"type": "boolean",
|
|
7
|
+
"default": false,
|
|
8
|
+
"desc": "Enables row checkboxes and master selection header toggle"
|
|
9
|
+
},
|
|
10
|
+
"showToolbar": {
|
|
11
|
+
"type": "boolean",
|
|
12
|
+
"default": false,
|
|
13
|
+
"desc": "Enables top toolbar layout with search, filters, and actions"
|
|
14
|
+
},
|
|
15
|
+
"showSearch": {
|
|
16
|
+
"type": "boolean",
|
|
17
|
+
"default": false,
|
|
18
|
+
"desc": "Enables search text input in the toolbar"
|
|
19
|
+
},
|
|
20
|
+
"keyField": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"default": "id",
|
|
23
|
+
"desc": "Unique field key representing each row identity"
|
|
24
|
+
},
|
|
25
|
+
"toolbarTitle": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"default": "",
|
|
28
|
+
"desc": "Title text displayed in the top-left section of the toolbar"
|
|
29
|
+
},
|
|
30
|
+
"searchPlaceholder": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"default": "Search...",
|
|
33
|
+
"desc": "Placeholder text for the search input"
|
|
34
|
+
},
|
|
35
|
+
"columns": {
|
|
36
|
+
"type": "textarea",
|
|
37
|
+
"default": "[\n { \"key\": \"id\", \"header\": \"ID\", \"width\": \"60px\" },\n { \"key\": \"name\", \"header\": \"Name\", \"width\": \"1.5fr\" },\n { \"key\": \"role\", \"header\": \"Role\" },\n { \"key\": \"status\", \"header\": \"Status\" }\n]",
|
|
38
|
+
"desc": "JSON array of table column definitions"
|
|
39
|
+
},
|
|
40
|
+
"items": {
|
|
41
|
+
"type": "textarea",
|
|
42
|
+
"default": "[\n { \"id\": \"1\", \"name\": \"Administrator Account\", \"role\": \"Admin\", \"status\": \"Active\" },\n { \"id\": \"2\", \"name\": \"Content Editor Manager\", \"role\": \"Editor\", \"status\": \"Inactive\" },\n { \"id\": \"3\", \"name\": \"Viewer Guest\", \"role\": \"Viewer\", \"status\": \"Active\" }\n]",
|
|
43
|
+
"desc": "JSON array of data row items"
|
|
44
|
+
},
|
|
45
|
+
"searchValue": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"default": "",
|
|
48
|
+
"desc": "Current search input value"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"slots": {
|
|
52
|
+
"empty": {
|
|
53
|
+
"type": "text",
|
|
54
|
+
"default": "No items found in this section.",
|
|
55
|
+
"desc": "Custom component fallback layout when rows are empty"
|
|
56
|
+
},
|
|
57
|
+
"footer": {
|
|
58
|
+
"type": "html",
|
|
59
|
+
"default": "<div style=\"padding: 0px 16px; font-size: 0.85rem; opacity: 0.7;\">Total entries: 3</div>",
|
|
60
|
+
"desc": "Custom footer content slot (appends to table bottom)"
|
|
61
|
+
},
|
|
62
|
+
"toolbar-left": {
|
|
63
|
+
"type": "text",
|
|
64
|
+
"default": "",
|
|
65
|
+
"desc": "Slot for elements rendered on the left of the toolbar (e.g. badges, counters)"
|
|
66
|
+
},
|
|
67
|
+
"filters": {
|
|
68
|
+
"type": "text",
|
|
69
|
+
"default": "",
|
|
70
|
+
"desc": "Slot for filter elements (e.g. QDropdowns) rendered in the toolbar"
|
|
71
|
+
},
|
|
72
|
+
"actions": {
|
|
73
|
+
"type": "text",
|
|
74
|
+
"default": "",
|
|
75
|
+
"desc": "Slot for action elements (e.g. buttons) rendered on the right of the toolbar"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"variants": [
|
|
79
|
+
{
|
|
80
|
+
"name": "Standard Data Grid",
|
|
81
|
+
"props": {
|
|
82
|
+
"selectable": false
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "Selectable Grid",
|
|
87
|
+
"props": {
|
|
88
|
+
"selectable": true
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "Grid with Toolbar & Search",
|
|
93
|
+
"props": {
|
|
94
|
+
"showToolbar": true,
|
|
95
|
+
"toolbarTitle": "Users Directory",
|
|
96
|
+
"showSearch": true,
|
|
97
|
+
"searchPlaceholder": "Search users..."
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "Empty State grid",
|
|
102
|
+
"props": {
|
|
103
|
+
"items": "[]",
|
|
104
|
+
"selectable": false
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Dialog",
|
|
3
|
-
"tag": "q-dialog",
|
|
4
|
-
"stageHelper": {
|
|
5
|
-
"label": "Dialog Component Control",
|
|
6
|
-
"buttonId": "stageOpenDialogBtn",
|
|
7
|
-
"buttonLabel": "Trigger Dialog Overlay"
|
|
8
|
-
},
|
|
9
|
-
"props": {
|
|
10
|
-
"closeOnEsc": {
|
|
11
|
-
"type": "boolean",
|
|
12
|
-
"default": true,
|
|
13
|
-
"desc": "Enables Escape key trigger close"
|
|
14
|
-
},
|
|
15
|
-
"closeOnOverlayClick": {
|
|
16
|
-
"type": "boolean",
|
|
17
|
-
"default": true,
|
|
18
|
-
"desc": "Enables backdrop clicks to trigger cancel"
|
|
19
|
-
},
|
|
20
|
-
"showConfirm": {
|
|
21
|
-
"type": "boolean",
|
|
22
|
-
"default": true,
|
|
23
|
-
"desc": "Whether to render the confirmation action button"
|
|
24
|
-
},
|
|
25
|
-
"showCancel": {
|
|
26
|
-
"type": "boolean",
|
|
27
|
-
"default": true,
|
|
28
|
-
"desc": "Whether to render the cancellation action button"
|
|
29
|
-
},
|
|
30
|
-
"dialogTitle": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"default": "Perform Operations",
|
|
33
|
-
"desc": "Header label for dialog"
|
|
34
|
-
},
|
|
35
|
-
"message": {
|
|
36
|
-
"type": "textarea",
|
|
37
|
-
"default": "Are you sure you want to proceed with this configuration update? This action is permanent.",
|
|
38
|
-
"desc": "Short descriptive text inside the body"
|
|
39
|
-
},
|
|
40
|
-
"confirmLabel": {
|
|
41
|
-
"type": "string",
|
|
42
|
-
"default": "Confirm Action",
|
|
43
|
-
"desc": "Label text for confirmation button"
|
|
44
|
-
},
|
|
45
|
-
"cancelLabel": {
|
|
46
|
-
"type": "string",
|
|
47
|
-
"default": "Dismiss",
|
|
48
|
-
"desc": "Label text for cancellation button"
|
|
49
|
-
},
|
|
50
|
-
"open": {
|
|
51
|
-
"type": "boolean",
|
|
52
|
-
"default": true,
|
|
53
|
-
"desc": "Controls visibility of the dialog overlay"
|
|
54
|
-
},
|
|
55
|
-
"loading": {
|
|
56
|
-
"type": "boolean",
|
|
57
|
-
"default": false,
|
|
58
|
-
"desc": "Shows busy spinner and disables all button interactions"
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"slots": {
|
|
62
|
-
"default": {
|
|
63
|
-
"type": "html",
|
|
64
|
-
"default": "",
|
|
65
|
-
"desc": "Rich HTML content override for the dialog body"
|
|
66
|
-
},
|
|
67
|
-
"header": {
|
|
68
|
-
"type": "html",
|
|
69
|
-
"default": "",
|
|
70
|
-
"desc": "Slotted custom header layout (replaces default title)"
|
|
71
|
-
},
|
|
72
|
-
"footer": {
|
|
73
|
-
"type": "html",
|
|
74
|
-
"default": "",
|
|
75
|
-
"desc": "Slotted custom footer layout (replaces action buttons)"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"variants": [
|
|
79
|
-
{
|
|
80
|
-
"name": "Action Confirmation",
|
|
81
|
-
"props": {
|
|
82
|
-
"dialogTitle": "Save Settings?",
|
|
83
|
-
"message": "Do you want to save all changes to the profile?",
|
|
84
|
-
"confirmLabel": "Save Changes",
|
|
85
|
-
"cancelLabel": "Keep Editing",
|
|
86
|
-
"open": false
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"name": "Processing / Loading",
|
|
91
|
-
"props": {
|
|
92
|
-
"dialogTitle": "Syncing Data",
|
|
93
|
-
"message": "Uploading invoice reports to the database server. Please wait...",
|
|
94
|
-
"loading": true,
|
|
95
|
-
"open": false
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"name": "Destructive / Alert style",
|
|
100
|
-
"props": {
|
|
101
|
-
"dialogTitle": "Delete Database Record?",
|
|
102
|
-
"message": "Warning: Deleting this database profile will remove all scraped logs forever. This cannot be undone.",
|
|
103
|
-
"confirmLabel": "Yes, Delete It",
|
|
104
|
-
"open": false
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
]
|
|
108
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "Dialog",
|
|
3
|
+
"tag": "q-dialog",
|
|
4
|
+
"stageHelper": {
|
|
5
|
+
"label": "Dialog Component Control",
|
|
6
|
+
"buttonId": "stageOpenDialogBtn",
|
|
7
|
+
"buttonLabel": "Trigger Dialog Overlay"
|
|
8
|
+
},
|
|
9
|
+
"props": {
|
|
10
|
+
"closeOnEsc": {
|
|
11
|
+
"type": "boolean",
|
|
12
|
+
"default": true,
|
|
13
|
+
"desc": "Enables Escape key trigger close"
|
|
14
|
+
},
|
|
15
|
+
"closeOnOverlayClick": {
|
|
16
|
+
"type": "boolean",
|
|
17
|
+
"default": true,
|
|
18
|
+
"desc": "Enables backdrop clicks to trigger cancel"
|
|
19
|
+
},
|
|
20
|
+
"showConfirm": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"default": true,
|
|
23
|
+
"desc": "Whether to render the confirmation action button"
|
|
24
|
+
},
|
|
25
|
+
"showCancel": {
|
|
26
|
+
"type": "boolean",
|
|
27
|
+
"default": true,
|
|
28
|
+
"desc": "Whether to render the cancellation action button"
|
|
29
|
+
},
|
|
30
|
+
"dialogTitle": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"default": "Perform Operations",
|
|
33
|
+
"desc": "Header label for dialog"
|
|
34
|
+
},
|
|
35
|
+
"message": {
|
|
36
|
+
"type": "textarea",
|
|
37
|
+
"default": "Are you sure you want to proceed with this configuration update? This action is permanent.",
|
|
38
|
+
"desc": "Short descriptive text inside the body"
|
|
39
|
+
},
|
|
40
|
+
"confirmLabel": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"default": "Confirm Action",
|
|
43
|
+
"desc": "Label text for confirmation button"
|
|
44
|
+
},
|
|
45
|
+
"cancelLabel": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"default": "Dismiss",
|
|
48
|
+
"desc": "Label text for cancellation button"
|
|
49
|
+
},
|
|
50
|
+
"open": {
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"default": true,
|
|
53
|
+
"desc": "Controls visibility of the dialog overlay"
|
|
54
|
+
},
|
|
55
|
+
"loading": {
|
|
56
|
+
"type": "boolean",
|
|
57
|
+
"default": false,
|
|
58
|
+
"desc": "Shows busy spinner and disables all button interactions"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"slots": {
|
|
62
|
+
"default": {
|
|
63
|
+
"type": "html",
|
|
64
|
+
"default": "",
|
|
65
|
+
"desc": "Rich HTML content override for the dialog body"
|
|
66
|
+
},
|
|
67
|
+
"header": {
|
|
68
|
+
"type": "html",
|
|
69
|
+
"default": "",
|
|
70
|
+
"desc": "Slotted custom header layout (replaces default title)"
|
|
71
|
+
},
|
|
72
|
+
"footer": {
|
|
73
|
+
"type": "html",
|
|
74
|
+
"default": "",
|
|
75
|
+
"desc": "Slotted custom footer layout (replaces action buttons)"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"variants": [
|
|
79
|
+
{
|
|
80
|
+
"name": "Action Confirmation",
|
|
81
|
+
"props": {
|
|
82
|
+
"dialogTitle": "Save Settings?",
|
|
83
|
+
"message": "Do you want to save all changes to the profile?",
|
|
84
|
+
"confirmLabel": "Save Changes",
|
|
85
|
+
"cancelLabel": "Keep Editing",
|
|
86
|
+
"open": false
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "Processing / Loading",
|
|
91
|
+
"props": {
|
|
92
|
+
"dialogTitle": "Syncing Data",
|
|
93
|
+
"message": "Uploading invoice reports to the database server. Please wait...",
|
|
94
|
+
"loading": true,
|
|
95
|
+
"open": false
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "Destructive / Alert style",
|
|
100
|
+
"props": {
|
|
101
|
+
"dialogTitle": "Delete Database Record?",
|
|
102
|
+
"message": "Warning: Deleting this database profile will remove all scraped logs forever. This cannot be undone.",
|
|
103
|
+
"confirmLabel": "Yes, Delete It",
|
|
104
|
+
"open": false
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|