@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,131 +1,131 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
/* Dimensions */
|
|
3
|
-
--q-quantity-selector-height: 38px;
|
|
4
|
-
--q-quantity-selector-width-vertical: 50px;
|
|
5
|
-
|
|
6
|
-
/* Colors */
|
|
7
|
-
--q-quantity-selector-bg: var(--q-bg-surface-2, #374151);
|
|
8
|
-
--q-quantity-selector-border-color: var(--q-border-color, #4b5563);
|
|
9
|
-
--q-quantity-selector-radius: var(--q-radius-md, 8px);
|
|
10
|
-
|
|
11
|
-
/* Input area */
|
|
12
|
-
--q-quantity-selector-input-bg: var(--q-bg-base, #111827);
|
|
13
|
-
--q-quantity-selector-input-fg: var(--q-fg-base, #f9fafb);
|
|
14
|
-
|
|
15
|
-
/* Buttons */
|
|
16
|
-
--q-quantity-selector-btn-bg: transparent;
|
|
17
|
-
--q-quantity-selector-btn-bg-hover: var(--q-bg-surface-3, #4b5563);
|
|
18
|
-
--q-quantity-selector-btn-fg: var(--q-fg-muted, #9ca3af);
|
|
19
|
-
--q-quantity-selector-btn-fg-hover: var(--q-fg-base, #f9fafb);
|
|
20
|
-
|
|
21
|
-
/* Internal customization variables */
|
|
22
|
-
--q-quantity-selector-char-width: 1ch;
|
|
23
|
-
--q-quantity-selector-input-padding: 16px;
|
|
24
|
-
|
|
25
|
-
display: inline-block;
|
|
26
|
-
box-sizing: border-box;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.quantity-selector {
|
|
30
|
-
display: inline-flex;
|
|
31
|
-
border: 1px solid var(--q-quantity-selector-border-color);
|
|
32
|
-
border-radius: var(--q-quantity-selector-radius);
|
|
33
|
-
background: var(--q-quantity-selector-bg);
|
|
34
|
-
box-sizing: border-box;
|
|
35
|
-
overflow: hidden;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/* Horizontal Layout */
|
|
39
|
-
.quantity-selector.variant-horizontal {
|
|
40
|
-
flex-direction: row;
|
|
41
|
-
align-items: center;
|
|
42
|
-
height: var(--q-quantity-selector-height);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/* Vertical Layout */
|
|
46
|
-
.quantity-selector.variant-vertical {
|
|
47
|
-
flex-direction: column;
|
|
48
|
-
align-items: center;
|
|
49
|
-
width: var(--q-quantity-selector-width-vertical);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/* Input element */
|
|
53
|
-
.quantity-input {
|
|
54
|
-
border: none;
|
|
55
|
-
background: var(--q-quantity-selector-input-bg);
|
|
56
|
-
color: var(--q-quantity-selector-input-fg);
|
|
57
|
-
text-align: center;
|
|
58
|
-
font-family: var(--q-font-family, inherit);
|
|
59
|
-
font-size: var(--q-font-size-base, 1rem);
|
|
60
|
-
margin: 0;
|
|
61
|
-
box-sizing: border-box;
|
|
62
|
-
outline: none;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.variant-horizontal .quantity-input {
|
|
66
|
-
height: 100%;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.variant-vertical .quantity-input {
|
|
70
|
-
width: 100%;
|
|
71
|
-
padding: 6px 0;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/* Buttons */
|
|
75
|
-
.quantity-btn {
|
|
76
|
-
display: flex;
|
|
77
|
-
align-items: center;
|
|
78
|
-
justify-content: center;
|
|
79
|
-
border: none;
|
|
80
|
-
background: var(--q-quantity-selector-btn-bg);
|
|
81
|
-
color: var(--q-quantity-selector-btn-fg);
|
|
82
|
-
cursor: pointer;
|
|
83
|
-
padding: 0;
|
|
84
|
-
margin: 0;
|
|
85
|
-
box-sizing: border-box;
|
|
86
|
-
transition: background-color var(--q-transition-fast, 150ms ease),
|
|
87
|
-
color var(--q-transition-fast, 150ms ease);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.quantity-btn:hover:not(:disabled) {
|
|
91
|
-
background: var(--q-quantity-selector-btn-bg-hover);
|
|
92
|
-
color: var(--q-quantity-selector-btn-fg-hover);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.quantity-btn:disabled {
|
|
96
|
-
opacity: 0.4;
|
|
97
|
-
cursor: not-allowed;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/* Button dimensions for horizontal */
|
|
101
|
-
.variant-horizontal .quantity-btn {
|
|
102
|
-
width: var(--q-quantity-selector-height);
|
|
103
|
-
height: 100%;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.variant-horizontal .quantity-btn-decrement {
|
|
107
|
-
border-right: 1px solid var(--q-quantity-selector-border-color);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.variant-horizontal .quantity-btn-increment {
|
|
111
|
-
border-left: 1px solid var(--q-quantity-selector-border-color);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
/* Button dimensions for vertical */
|
|
115
|
-
.variant-vertical .quantity-btn {
|
|
116
|
-
width: 100%;
|
|
117
|
-
height: var(--q-quantity-selector-height);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.variant-vertical .quantity-btn-increment {
|
|
121
|
-
border-bottom: 1px solid var(--q-quantity-selector-border-color);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.variant-vertical .quantity-btn-decrement {
|
|
125
|
-
border-top: 1px solid var(--q-quantity-selector-border-color);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.btn-icon {
|
|
129
|
-
width: 16px;
|
|
130
|
-
height: 16px;
|
|
131
|
-
}
|
|
1
|
+
:host {
|
|
2
|
+
/* Dimensions */
|
|
3
|
+
--q-quantity-selector-height: 38px;
|
|
4
|
+
--q-quantity-selector-width-vertical: 50px;
|
|
5
|
+
|
|
6
|
+
/* Colors */
|
|
7
|
+
--q-quantity-selector-bg: var(--q-bg-surface-2, #374151);
|
|
8
|
+
--q-quantity-selector-border-color: var(--q-border-color, #4b5563);
|
|
9
|
+
--q-quantity-selector-radius: var(--q-radius-md, 8px);
|
|
10
|
+
|
|
11
|
+
/* Input area */
|
|
12
|
+
--q-quantity-selector-input-bg: var(--q-bg-base, #111827);
|
|
13
|
+
--q-quantity-selector-input-fg: var(--q-fg-base, #f9fafb);
|
|
14
|
+
|
|
15
|
+
/* Buttons */
|
|
16
|
+
--q-quantity-selector-btn-bg: transparent;
|
|
17
|
+
--q-quantity-selector-btn-bg-hover: var(--q-bg-surface-3, #4b5563);
|
|
18
|
+
--q-quantity-selector-btn-fg: var(--q-fg-muted, #9ca3af);
|
|
19
|
+
--q-quantity-selector-btn-fg-hover: var(--q-fg-base, #f9fafb);
|
|
20
|
+
|
|
21
|
+
/* Internal customization variables */
|
|
22
|
+
--q-quantity-selector-char-width: 1ch;
|
|
23
|
+
--q-quantity-selector-input-padding: 16px;
|
|
24
|
+
|
|
25
|
+
display: inline-block;
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.quantity-selector {
|
|
30
|
+
display: inline-flex;
|
|
31
|
+
border: 1px solid var(--q-quantity-selector-border-color);
|
|
32
|
+
border-radius: var(--q-quantity-selector-radius);
|
|
33
|
+
background: var(--q-quantity-selector-bg);
|
|
34
|
+
box-sizing: border-box;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* Horizontal Layout */
|
|
39
|
+
.quantity-selector.variant-horizontal {
|
|
40
|
+
flex-direction: row;
|
|
41
|
+
align-items: center;
|
|
42
|
+
height: var(--q-quantity-selector-height);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Vertical Layout */
|
|
46
|
+
.quantity-selector.variant-vertical {
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
align-items: center;
|
|
49
|
+
width: var(--q-quantity-selector-width-vertical);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Input element */
|
|
53
|
+
.quantity-input {
|
|
54
|
+
border: none;
|
|
55
|
+
background: var(--q-quantity-selector-input-bg);
|
|
56
|
+
color: var(--q-quantity-selector-input-fg);
|
|
57
|
+
text-align: center;
|
|
58
|
+
font-family: var(--q-font-family, inherit);
|
|
59
|
+
font-size: var(--q-font-size-base, 1rem);
|
|
60
|
+
margin: 0;
|
|
61
|
+
box-sizing: border-box;
|
|
62
|
+
outline: none;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.variant-horizontal .quantity-input {
|
|
66
|
+
height: 100%;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.variant-vertical .quantity-input {
|
|
70
|
+
width: 100%;
|
|
71
|
+
padding: 6px 0;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* Buttons */
|
|
75
|
+
.quantity-btn {
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
justify-content: center;
|
|
79
|
+
border: none;
|
|
80
|
+
background: var(--q-quantity-selector-btn-bg);
|
|
81
|
+
color: var(--q-quantity-selector-btn-fg);
|
|
82
|
+
cursor: pointer;
|
|
83
|
+
padding: 0;
|
|
84
|
+
margin: 0;
|
|
85
|
+
box-sizing: border-box;
|
|
86
|
+
transition: background-color var(--q-transition-fast, 150ms ease),
|
|
87
|
+
color var(--q-transition-fast, 150ms ease);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.quantity-btn:hover:not(:disabled) {
|
|
91
|
+
background: var(--q-quantity-selector-btn-bg-hover);
|
|
92
|
+
color: var(--q-quantity-selector-btn-fg-hover);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.quantity-btn:disabled {
|
|
96
|
+
opacity: 0.4;
|
|
97
|
+
cursor: not-allowed;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* Button dimensions for horizontal */
|
|
101
|
+
.variant-horizontal .quantity-btn {
|
|
102
|
+
width: var(--q-quantity-selector-height);
|
|
103
|
+
height: 100%;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.variant-horizontal .quantity-btn-decrement {
|
|
107
|
+
border-right: 1px solid var(--q-quantity-selector-border-color);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.variant-horizontal .quantity-btn-increment {
|
|
111
|
+
border-left: 1px solid var(--q-quantity-selector-border-color);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* Button dimensions for vertical */
|
|
115
|
+
.variant-vertical .quantity-btn {
|
|
116
|
+
width: 100%;
|
|
117
|
+
height: var(--q-quantity-selector-height);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.variant-vertical .quantity-btn-increment {
|
|
121
|
+
border-bottom: 1px solid var(--q-quantity-selector-border-color);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.variant-vertical .quantity-btn-decrement {
|
|
125
|
+
border-top: 1px solid var(--q-quantity-selector-border-color);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.btn-icon {
|
|
129
|
+
width: 16px;
|
|
130
|
+
height: 16px;
|
|
131
|
+
}
|
|
@@ -147,13 +147,13 @@ export class QQuantitySelector {
|
|
|
147
147
|
render() {
|
|
148
148
|
const isMinDisabled = this.min !== undefined && this.min !== null && this.value <= this.min;
|
|
149
149
|
const isMaxDisabled = this.max !== undefined && this.max !== null && this.value >= this.max;
|
|
150
|
-
const decBtn = (h("button", { key: '
|
|
151
|
-
const incBtn = (h("button", { key: '
|
|
150
|
+
const decBtn = (h("button", { key: '312771e66716ec155a0ea0b1413108b2f20abf8d', type: "button", class: "quantity-btn quantity-btn-decrement", onClick: this.decrement, disabled: isMinDisabled, "aria-label": "Decrement quantity" }, h("svg", { key: 'bab65509d57511538aa7a1d6bb7663c618d6acf8', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "btn-icon" }, h("line", { key: '23f3f7d027d07cf5f242e694b89fc97c51ae39f6', x1: "5", y1: "12", x2: "19", y2: "12" }))));
|
|
151
|
+
const incBtn = (h("button", { key: '54f1bb4565da0888816a571172134c8d6ccdd510', type: "button", class: "quantity-btn quantity-btn-increment", onClick: this.increment, disabled: isMaxDisabled, "aria-label": "Increment quantity" }, h("svg", { key: '00d27be57810563dd8d940bda965b0581072a1d4', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "btn-icon" }, h("line", { key: '75603d5286cadd12adc891067381bfbea1b81a7e', x1: "12", y1: "5", x2: "12", y2: "19" }), h("line", { key: '3056566aff835391b6398ae6ac1307957460029f', x1: "5", y1: "12", x2: "19", y2: "12" }))));
|
|
152
152
|
const calculatedWidth = this.variant === 'horizontal' ? this.getCalculatedWidth() : '100%';
|
|
153
|
-
return (h("div", { key: '
|
|
153
|
+
return (h("div", { key: '60ff32f3526634d5c7579706b1092e893f735ed6', class: {
|
|
154
154
|
'quantity-selector': true,
|
|
155
155
|
[`variant-${this.variant}`]: true
|
|
156
|
-
}, onClick: this.handleClick }, this.variant === 'vertical' ? incBtn : decBtn, h("input", { key: '
|
|
156
|
+
}, onClick: this.handleClick }, this.variant === 'vertical' ? incBtn : decBtn, h("input", { key: '39b9b7fac9c9cc2bb76ee0aa8d675f22a664a153', type: "text", class: "quantity-input", value: this.inputValue, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus, onChange: this.handleChange, style: { width: calculatedWidth }, part: "input" }), this.variant === 'vertical' ? decBtn : incBtn));
|
|
157
157
|
}
|
|
158
158
|
static get is() { return "q-quantity-selector"; }
|
|
159
159
|
static get encapsulation() { return "shadow"; }
|
|
@@ -96,10 +96,10 @@ export class QReel {
|
|
|
96
96
|
: -1;
|
|
97
97
|
const hasPrev = currentIdx > 0;
|
|
98
98
|
const hasNext = currentIdx !== -1 && currentIdx < thumbnails.length - 1;
|
|
99
|
-
return (h("div", { key: '
|
|
99
|
+
return (h("div", { key: '2ce9931e065fd28d2c7d80d951d51bb3d3336e41', class: {
|
|
100
100
|
'reel-container': true,
|
|
101
101
|
[`layout-${this.layout}`]: true
|
|
102
|
-
} }, h("slot", { key: '
|
|
102
|
+
} }, h("slot", { key: '30a8ddcc87e1e8940aabbfb1b276a9dee5c67de3' }), this.activeMedia && (h("div", { key: '0f2aa229561c53743349645c3046a36453c695d2', class: "lightbox-overlay", onClick: this.closeLightbox, onKeyDown: this.handleKeyDown, role: "dialog", "aria-modal": "true", "aria-label": this.activeMedia.label || 'Media Viewer' }, h("button", { key: '15581b278c7ae0fe13dbbaaf9151fa1eb1e16e34', class: "lightbox-close", onClick: this.closeLightbox, "aria-label": "Close viewer", ref: (el) => (this.closeButtonRef = el) }, h("svg", { key: '00de7e92516e1a2545af4601e79dd745be61dae0', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("line", { key: '4144f5df9ac5a34dc3e55bce7d2eb881683f8b49', x1: "18", y1: "6", x2: "6", y2: "18" }), h("line", { key: '5d122209eb70496afbf666285626d5f143aaac1c', x1: "6", y1: "6", x2: "18", y2: "18" }))), hasPrev && (h("button", { key: '37571f72e4fe552742072a43088434fdf220e40b', class: "lightbox-prev", onClick: (e) => { e.stopPropagation(); this.navigateMedia(currentIdx - 1); }, "aria-label": "Previous media" }, h("svg", { key: 'fb9bdafaf62127a5806322ba13a765721f970b00', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("polyline", { key: '94239daf6b5bc2ae3ff59561583babcc0e91ca8b', points: "15 18 9 12 15 6" })))), hasNext && (h("button", { key: '5b811562dbdb97e37a37ba697cbef79b1294c47a', class: "lightbox-next", onClick: (e) => { e.stopPropagation(); this.navigateMedia(currentIdx + 1); }, "aria-label": "Next media" }, h("svg", { key: '84a30780aadaed9e854fff333c00513d7148a433', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("polyline", { key: 'c10b7ae27ee4975d11f9cab2ae4dccbf050bafbb', points: "9 18 15 12 9 6" })))), h("div", { key: 'f10192adfd9ca929724fadbc4bed477434db421a', class: "lightbox-content", onClick: (e) => e.stopPropagation() }, this.activeMedia.video ? (h("video", { class: "lightbox-media", src: this.activeMedia.src, controls: true, autoplay: true, loop: true })) : (h("img", { class: "lightbox-media", src: this.activeMedia.src, alt: this.activeMedia.alt })), this.activeMedia.label && (h("div", { key: '86342c4b053bcd0507947980af05da1ddcb86128', class: "lightbox-caption" }, this.activeMedia.label)))))));
|
|
103
103
|
}
|
|
104
104
|
static get is() { return "q-reel"; }
|
|
105
105
|
static get encapsulation() { return "shadow"; }
|
|
@@ -152,25 +152,25 @@ export class QScrollable {
|
|
|
152
152
|
}
|
|
153
153
|
const styleEl = document.createElement('style');
|
|
154
154
|
styleEl.id = `q-style-${targetId}`;
|
|
155
|
-
styleEl.textContent = `
|
|
156
|
-
[data-q-scrollable-target-id="${targetId}"]::-webkit-scrollbar {
|
|
157
|
-
width: 8px;
|
|
158
|
-
height: 8px;
|
|
159
|
-
}
|
|
160
|
-
[data-q-scrollable-target-id="${targetId}"]::-webkit-scrollbar-track {
|
|
161
|
-
background: transparent;
|
|
162
|
-
}
|
|
163
|
-
[data-q-scrollable-target-id="${targetId}"]::-webkit-scrollbar-thumb {
|
|
164
|
-
background: var(--q-bg-surface-3, #4b5563);
|
|
165
|
-
border-radius: 4px;
|
|
166
|
-
}
|
|
167
|
-
[data-q-scrollable-target-id="${targetId}"]::-webkit-scrollbar-thumb:hover {
|
|
168
|
-
background: var(--q-color-primary, #3b82f6);
|
|
169
|
-
}
|
|
170
|
-
[data-q-scrollable-target-id="${targetId}"] {
|
|
171
|
-
scrollbar-width: thin;
|
|
172
|
-
scrollbar-color: var(--q-bg-surface-3, #4b5563) transparent;
|
|
173
|
-
}
|
|
155
|
+
styleEl.textContent = `
|
|
156
|
+
[data-q-scrollable-target-id="${targetId}"]::-webkit-scrollbar {
|
|
157
|
+
width: 8px;
|
|
158
|
+
height: 8px;
|
|
159
|
+
}
|
|
160
|
+
[data-q-scrollable-target-id="${targetId}"]::-webkit-scrollbar-track {
|
|
161
|
+
background: transparent;
|
|
162
|
+
}
|
|
163
|
+
[data-q-scrollable-target-id="${targetId}"]::-webkit-scrollbar-thumb {
|
|
164
|
+
background: var(--q-bg-surface-3, #4b5563);
|
|
165
|
+
border-radius: 4px;
|
|
166
|
+
}
|
|
167
|
+
[data-q-scrollable-target-id="${targetId}"]::-webkit-scrollbar-thumb:hover {
|
|
168
|
+
background: var(--q-color-primary, #3b82f6);
|
|
169
|
+
}
|
|
170
|
+
[data-q-scrollable-target-id="${targetId}"] {
|
|
171
|
+
scrollbar-width: thin;
|
|
172
|
+
scrollbar-color: var(--q-bg-surface-3, #4b5563) transparent;
|
|
173
|
+
}
|
|
174
174
|
`;
|
|
175
175
|
targetEl.appendChild(styleEl);
|
|
176
176
|
this.nativeStyleEl = styleEl;
|
|
@@ -313,13 +313,13 @@ export class QScrollable {
|
|
|
313
313
|
height: this.height,
|
|
314
314
|
maxHeight: this.maxHeight || undefined,
|
|
315
315
|
};
|
|
316
|
-
return (h(Host, { key: '
|
|
316
|
+
return (h(Host, { key: '0313613bedcd1efc4820dc8b2e4a0894204ac914', class: {
|
|
317
317
|
'is-scrolling': this.isScrolling,
|
|
318
318
|
'is-dragging': this.isDragging,
|
|
319
|
-
}, style: hostStyle }, h("div", { key: '
|
|
319
|
+
}, style: hostStyle }, h("div", { key: '267389f1d2a521a71c5d9e2472439fa1ca1eb1fd', class: "q-scrollable-host" }, h("div", { key: '24e9eac221928ffd8578d1b7cf38776ad7c0cd94', class: "q-scrollable-viewport", ref: this.setViewportRef, onScroll: this.handleScroll }, h("div", { key: 'b37e30cd427a300d173a63427cd2025cc6e1f55c', class: "q-scrollable-content", ref: this.setContentRef }, h("slot", { key: '43130d5fecc7f9a7e82c88e4a28ac681a2795c4e' }))), this.mode === 'custom' && (h("div", { key: '31316ea30108c640c88f6cec1ac6c98b5a079734', class: {
|
|
320
320
|
'q-scrollbar-track': true,
|
|
321
321
|
'is-dragging': this.isDragging,
|
|
322
|
-
}, ref: (el) => (this.trackEl = el) }, h("div", { key: '
|
|
322
|
+
}, ref: (el) => (this.trackEl = el) }, h("div", { key: '39023c16e3ca2593be0c90b292863f71ced4b132', class: "q-scrollbar-thumb", ref: (el) => (this.thumbEl = el), onPointerDown: this.handlePointerDown }))))));
|
|
323
323
|
}
|
|
324
324
|
static get is() { return "q-scrollable"; }
|
|
325
325
|
static get encapsulation() { return "shadow"; }
|
|
@@ -295,7 +295,7 @@ export class QSidepanel {
|
|
|
295
295
|
"references": {
|
|
296
296
|
"SidepanelItem": {
|
|
297
297
|
"location": "local",
|
|
298
|
-
"path": "
|
|
298
|
+
"path": "D:/Dev/WebApps/WebQuark/src/components/sidepanel/sidepanel.tsx",
|
|
299
299
|
"id": "src/components/sidepanel/sidepanel.tsx::SidepanelItem"
|
|
300
300
|
}
|
|
301
301
|
}
|
|
@@ -431,7 +431,7 @@ export class QSidepanel {
|
|
|
431
431
|
"references": {
|
|
432
432
|
"SidepanelItem": {
|
|
433
433
|
"location": "local",
|
|
434
|
-
"path": "
|
|
434
|
+
"path": "D:/Dev/WebApps/WebQuark/src/components/sidepanel/sidepanel.tsx",
|
|
435
435
|
"id": "src/components/sidepanel/sidepanel.tsx::SidepanelItem"
|
|
436
436
|
}
|
|
437
437
|
}
|
|
@@ -23,10 +23,10 @@ export class QStepDiagram {
|
|
|
23
23
|
}
|
|
24
24
|
// ===================== [6] RENDER (Visual Template Only) =====================
|
|
25
25
|
render() {
|
|
26
|
-
return (h("div", { key: '
|
|
26
|
+
return (h("div", { key: 'c95a7566f474f603c2ea7ed3ac5e7b2c14776cd1', class: {
|
|
27
27
|
'step-diagram': true,
|
|
28
28
|
[`layout-${this.layout}`]: true
|
|
29
|
-
} }, h("slot", { key: '
|
|
29
|
+
} }, h("slot", { key: '619799441b1a1769bba82f015bd23ab571f6a81a', onSlotchange: this.handleSlotChange })));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "q-step-diagram"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|
|
@@ -26,12 +26,12 @@ export class QStepDiagramItem {
|
|
|
26
26
|
};
|
|
27
27
|
// ===================== [6] RENDER (Visual Template Only) =====================
|
|
28
28
|
render() {
|
|
29
|
-
return (h("div", { key: '
|
|
29
|
+
return (h("div", { key: '628aa861eb90f3df994e6b4065f01dfd80df6f1d', class: {
|
|
30
30
|
'step-item': true,
|
|
31
31
|
[`status-${this.status}`]: true,
|
|
32
32
|
[`line-${this.lineStyle}`]: true,
|
|
33
33
|
[`layout-${this.layout}`]: true
|
|
34
|
-
} }, h("div", { key: '
|
|
34
|
+
} }, h("div", { key: 'a0fda22f18cebfe0104f45ecf1c2e031fc1a99d9', class: "step-line-container" }, h("div", { key: '1893d14cb21de1f51390a4c1d6b1ec9c2b488d93', class: "step-badge", onClick: this.handleTrigger, "aria-hidden": "true", part: "badge" }, h("slot", { key: 'd0140c73e8e665ca5f8a479d34498182046daedd', name: "badge" }, h("div", { key: '57b0b84a560ea075082836bce5aff8b073d0b1bf', class: "badge-dot" }))), h("div", { key: '68d224c94253a4a875725376a070e35831a1b3ab', class: "step-connector", part: "connector" })), h("div", { key: 'edad015eba09c9ee50facf98ae6eca671fc2a050', class: "step-content", onClick: this.handleTrigger, onKeyDown: this.handleKeyDown, tabindex: "0", role: "button", part: "content" }, h("div", { key: '332ac2593699abb351dc173a8342a737c8f4733d', class: "step-title", part: "title" }, h("slot", { key: '8d42e1e208a6e15e789a19178dcf2ad4c9164d7d', name: "title" })), h("div", { key: '915090746941b268fc583e4e3d607bd40a663b79', class: "step-body", part: "body" }, h("slot", { key: '508910bf5022a3d09d9778dc6418994159523d8f' })))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "q-step-diagram-item"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -98,11 +98,11 @@ export class QTextarea {
|
|
|
98
98
|
render() {
|
|
99
99
|
const hasError = !!(this.error || this.errorMessage);
|
|
100
100
|
const displayError = this.error || this.errorMessage;
|
|
101
|
-
return (h("div", { key: '
|
|
101
|
+
return (h("div", { key: '344d19ec419cd5d70c353b76331dcae797102749', class: {
|
|
102
102
|
'textarea-wrapper': true,
|
|
103
103
|
'is-disabled': this.disabled,
|
|
104
104
|
'has-error': hasError
|
|
105
|
-
} }, this.label && (h("label", { key: '
|
|
105
|
+
} }, this.label && (h("label", { key: '282d597bdcda3b0ef5c16d20c8865c989f07d589', class: "textarea-label", htmlFor: "q-field", part: "label" }, this.label)), h("textarea", { key: '7ce68f069dc4632d461a6c29cfb7fe6e294c6bc3', ref: (el) => (this.textareaEl = el), id: "q-field", class: "textarea-box", style: { resize: this.activeResizeMode === 'manual' ? 'vertical' : 'none' }, part: "textarea", value: this.value, placeholder: this.placeholder, rows: this.rows, disabled: this.disabled, required: this.required, onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.handleClick, "aria-invalid": hasError ? 'true' : 'false', "aria-describedby": hasError ? 'q-field-error' : undefined }), hasError && (h("span", { key: 'ba9e0ca9f50243bfd9ed941315759ee515e02dde', id: "q-field-error", class: "error-msg", part: "error-msg" }, displayError))));
|
|
106
106
|
}
|
|
107
107
|
static get is() { return "q-textarea"; }
|
|
108
108
|
static get encapsulation() { return "shadow"; }
|
|
@@ -20,14 +20,14 @@ export class QThumbnail {
|
|
|
20
20
|
};
|
|
21
21
|
// ===================== [6] RENDER (Visual Template Only) =====================
|
|
22
22
|
render() {
|
|
23
|
-
return (h("div", { key: '
|
|
23
|
+
return (h("div", { key: '80289b461fbf490d82563ec68c1b4b0421bd249d', class: {
|
|
24
24
|
'thumb-wrapper': true,
|
|
25
25
|
'is-highlighted': this.highlighted,
|
|
26
26
|
'is-video': this.video
|
|
27
27
|
}, onClick: this.handleTrigger, role: "button", tabindex: "0", "aria-label": this.label || this.alt || 'Media item', onKeyDown: (e) => {
|
|
28
28
|
if (e.key === 'Enter' || e.key === ' ')
|
|
29
29
|
this.handleTrigger(e);
|
|
30
|
-
} }, h("div", { key: '
|
|
30
|
+
} }, h("div", { key: 'b5a7f21640101fc44028927185f8c287df8df373', class: "thumb-media-container" }, h("img", { key: '9a3f78cc625f9e867fad571e990191758a8cd4db', class: "thumb-image", src: this.src, alt: this.alt, loading: "lazy" }), this.video && (h("div", { key: 'cb6481bad6795790f1529932141b2a90b3777110', class: "video-play-indicator" }, h("svg", { key: '21d876aef50b6976a00121948a1c8879b06a202e', viewBox: "0 0 24 24", fill: "currentColor" }, h("polygon", { key: 'f44fbe0b1831f226763a58835b0daa73edac7021', points: "5 3 19 12 5 21 5 3" }))))), this.label && (h("div", { key: 'c02723532432e65ba21c3618dcec7c4d95aa40c5', class: "thumb-caption" }, h("span", { key: '7430b18e8138cf756ff80d6c2cc5c44dcca84a97', class: "caption-text" }, this.label))), h("slot", { key: '2aa83366c860856998cdf430cde10f8671d246e2' })));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "q-thumbnail"; }
|
|
33
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -105,7 +105,7 @@ export class QToggle {
|
|
|
105
105
|
const hasLabel = this.label !== undefined && this.label !== '';
|
|
106
106
|
const showLabel = hasLabel || this.hasDefaultSlot;
|
|
107
107
|
const hasError = !!this.error;
|
|
108
|
-
return (h("div", { key: '
|
|
108
|
+
return (h("div", { key: '76466b46947d02f8ac49951459a749fa21cf98c3', class: "toggle-container" }, h("div", { key: '0072a7ff9d4cfbddcccb5181109a20de5e2d2e2e', class: {
|
|
109
109
|
'toggle-wrapper': true,
|
|
110
110
|
'is-checked': this.checked,
|
|
111
111
|
'is-disabled': this.disabled,
|
|
@@ -113,10 +113,10 @@ export class QToggle {
|
|
|
113
113
|
'has-error': hasError,
|
|
114
114
|
[`type-${this.type}`]: true,
|
|
115
115
|
[`size-${this.size}`]: true,
|
|
116
|
-
}, role: "checkbox", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false', "aria-invalid": hasError ? 'true' : 'false', "aria-describedby": hasError ? 'toggle-error-msg' : undefined, tabindex: this.disabled ? -1 : 0, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '
|
|
116
|
+
}, role: "checkbox", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false', "aria-invalid": hasError ? 'true' : 'false', "aria-describedby": hasError ? 'toggle-error-msg' : undefined, tabindex: this.disabled ? -1 : 0, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '4dc6892d2d04e0b3aa60af44a343fe40463dfc71', class: "toggle-control", part: "control" }, this.type === 'switch' ? (h("div", { class: "switch-track", part: "track" }, h("div", { class: "switch-thumb", part: "thumb" }))) : (h("div", { class: "checkbox-box", part: "box" }, h("span", { class: { 'icon-wrap': true, 'is-hidden': !this.checked }, part: "icon-checked" }, h("slot", { name: "checked-icon", onSlotchange: this.handleSlotChange }, h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round", class: "default-check-icon" }, h("polyline", { points: "20 6 9 17 4 12" })))), h("span", { class: { 'icon-wrap': true, 'is-hidden': this.checked }, part: "icon-unchecked" }, h("slot", { name: "unchecked-icon", onSlotchange: this.handleSlotChange }))))), h("span", { key: 'f0a93438b1987fa261acc4964ac6e7a70ad8f9f5', class: {
|
|
117
117
|
'toggle-label-text': true,
|
|
118
118
|
'is-hidden': !showLabel
|
|
119
|
-
}, part: "label" }, h("slot", { key: '
|
|
119
|
+
}, part: "label" }, h("slot", { key: 'c935cfc24c1c3f8ed014c292de75e514074783cf', onSlotchange: this.handleSlotChange }, this.label))), hasError && (h("span", { key: 'b41229932a50840c345a3d1f4a5ef4ccdde205b5', id: "toggle-error-msg", class: "error-msg", part: "error-msg" }, this.error))));
|
|
120
120
|
}
|
|
121
121
|
static get is() { return "q-toggle"; }
|
|
122
122
|
static get encapsulation() { return "shadow"; }
|
|
@@ -373,7 +373,7 @@ export class QToggle {
|
|
|
373
373
|
"return": "Promise<void>"
|
|
374
374
|
},
|
|
375
375
|
"docs": {
|
|
376
|
-
"text": "Programmatically set checked state without emitting qChange.\nUse this from external controllers (e.g. playground) to avoid\nthe SYNCBACK_MAP \u2192 registry \u2192 effect \u2192 prop-set feedback loop.",
|
|
376
|
+
"text": "Programmatically set checked state without emitting qChange.\r\nUse this from external controllers (e.g. playground) to avoid\r\nthe SYNCBACK_MAP \u2192 registry \u2192 effect \u2192 prop-set feedback loop.",
|
|
377
377
|
"tags": []
|
|
378
378
|
}
|
|
379
379
|
}
|
|
@@ -38,9 +38,9 @@ class PlaygroundEventLog extends HTMLElement {
|
|
|
38
38
|
const timeStr = now.toTimeString().split(' ')[0] + '.' + ms;
|
|
39
39
|
const line = document.createElement('div');
|
|
40
40
|
line.className = 'log-item';
|
|
41
|
-
line.innerHTML = `
|
|
42
|
-
<span class="log-item-time">[${timeStr}]</span>
|
|
43
|
-
<strong>${name}</strong>: ${detail !== undefined ? JSON.stringify(detail) : '<em>(void detail)</em>'}
|
|
41
|
+
line.innerHTML = `
|
|
42
|
+
<span class="log-item-time">[${timeStr}]</span>
|
|
43
|
+
<strong>${name}</strong>: ${detail !== undefined ? JSON.stringify(detail) : '<em>(void detail)</em>'}
|
|
44
44
|
`;
|
|
45
45
|
this.logBody.appendChild(line);
|
|
46
46
|
// Scroll to bottom using q-syntax-box scrollToBottom method
|
|
@@ -187,9 +187,9 @@ export class SandboxPanel extends HTMLElement {
|
|
|
187
187
|
const stageHelper = spec.stageHelper;
|
|
188
188
|
const helper = document.createElement('div');
|
|
189
189
|
helper.className = 'stage-helper-bar';
|
|
190
|
-
helper.innerHTML = `
|
|
191
|
-
<span class="stage-helper-text">${stageHelper.label}</span>
|
|
192
|
-
<q-button variant="secondary" size="sm" id="${stageHelper.buttonId}">${stageHelper.buttonLabel}</q-button>
|
|
190
|
+
helper.innerHTML = `
|
|
191
|
+
<span class="stage-helper-text">${stageHelper.label}</span>
|
|
192
|
+
<q-button variant="secondary" size="sm" id="${stageHelper.buttonId}">${stageHelper.buttonLabel}</q-button>
|
|
193
193
|
`;
|
|
194
194
|
this.stageContainer.appendChild(helper);
|
|
195
195
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg width="100%" height="100%" viewBox="0 0 2000 2000" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
|
4
|
-
<g id="Quark-Libs-LOGO" serif:id="Quark Libs LOGO" transform="matrix(5.567972,0,0,5.567972,-4574.714621,-1845.156834)">
|
|
5
|
-
<path d="M1033.167,646.06C1033.167,646.06 1032.158,608.777 1032.338,598.007C1032.541,585.854 1043.523,582.266 1043.523,582.266C1043.523,582.266 1056.428,575.191 1062.993,571.909C1077.63,564.591 1086.605,573.152 1086.605,573.152C1086.605,573.152 1131.564,599.488 1144.601,605.878C1160.783,613.81 1156.487,625.762 1156.487,625.762C1156.487,625.762 1157.112,651.433 1156.073,658.074C1154.128,670.501 1144.186,672.987 1144.186,672.987C1144.186,672.987 1139.152,676.267 1136.316,677.129C1122.921,681.203 1113.532,672.573 1113.532,672.573C1113.532,672.573 1091.837,657.468 1084.12,652.274C1072.965,644.767 1062.579,649.789 1062.579,649.789C1062.579,649.789 1057.454,654.415 1054.294,655.588C1033.65,663.252 1033.167,646.06 1033.167,646.06Z" style="fill:rgb(80,232,255);"/>
|
|
6
|
-
<path d="M981.385,677.077C981.385,677.077 1007.011,693.74 1008.726,669.621C1009.454,659.375 1008.312,621.568 1008.312,621.568C1008.312,621.568 1011.221,612.206 994.227,603.755C979.565,596.464 927.532,565.644 927.532,565.644C927.532,565.644 915.68,563.144 914.691,548.659C913.678,533.843 915.105,477.408 915.105,477.408C915.105,477.408 912.309,464.101 927.118,457.11C940.122,450.97 985.942,422.727 985.942,422.727C985.942,422.727 1000.847,412.584 1013.283,422.312C1026.066,432.314 1075.42,458.767 1075.42,458.767C1075.42,458.767 1084.348,461.532 1084.12,476.994C1083.928,490.018 1084.12,534.989 1084.12,534.989C1084.12,534.989 1081.396,544.878 1093.648,551.559C1100.735,555.424 1104.441,558.358 1120.574,566.886C1128.739,571.203 1152.381,568.983 1153.714,550.316C1155.294,528.202 1153.714,437.64 1153.714,437.64C1153.714,437.64 1156.475,424.784 1135.487,412.785C1110.8,398.67 1012.454,341.947 1012.454,341.947C1012.454,341.947 999.424,335.204 985.528,343.19C960.816,357.393 858.352,416.099 858.352,416.099C858.352,416.099 845.731,421.074 845.51,438.882C845.158,467.332 845.925,586.356 845.925,586.356C845.925,586.356 845.057,597.527 857.938,605.412C881.554,619.867 981.385,677.077 981.385,677.077Z" style="fill:rgb(18,107,233);"/>
|
|
7
|
-
</g>
|
|
8
|
-
</svg>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
+
<svg width="100%" height="100%" viewBox="0 0 2000 2000" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
|
4
|
+
<g id="Quark-Libs-LOGO" serif:id="Quark Libs LOGO" transform="matrix(5.567972,0,0,5.567972,-4574.714621,-1845.156834)">
|
|
5
|
+
<path d="M1033.167,646.06C1033.167,646.06 1032.158,608.777 1032.338,598.007C1032.541,585.854 1043.523,582.266 1043.523,582.266C1043.523,582.266 1056.428,575.191 1062.993,571.909C1077.63,564.591 1086.605,573.152 1086.605,573.152C1086.605,573.152 1131.564,599.488 1144.601,605.878C1160.783,613.81 1156.487,625.762 1156.487,625.762C1156.487,625.762 1157.112,651.433 1156.073,658.074C1154.128,670.501 1144.186,672.987 1144.186,672.987C1144.186,672.987 1139.152,676.267 1136.316,677.129C1122.921,681.203 1113.532,672.573 1113.532,672.573C1113.532,672.573 1091.837,657.468 1084.12,652.274C1072.965,644.767 1062.579,649.789 1062.579,649.789C1062.579,649.789 1057.454,654.415 1054.294,655.588C1033.65,663.252 1033.167,646.06 1033.167,646.06Z" style="fill:rgb(80,232,255);"/>
|
|
6
|
+
<path d="M981.385,677.077C981.385,677.077 1007.011,693.74 1008.726,669.621C1009.454,659.375 1008.312,621.568 1008.312,621.568C1008.312,621.568 1011.221,612.206 994.227,603.755C979.565,596.464 927.532,565.644 927.532,565.644C927.532,565.644 915.68,563.144 914.691,548.659C913.678,533.843 915.105,477.408 915.105,477.408C915.105,477.408 912.309,464.101 927.118,457.11C940.122,450.97 985.942,422.727 985.942,422.727C985.942,422.727 1000.847,412.584 1013.283,422.312C1026.066,432.314 1075.42,458.767 1075.42,458.767C1075.42,458.767 1084.348,461.532 1084.12,476.994C1083.928,490.018 1084.12,534.989 1084.12,534.989C1084.12,534.989 1081.396,544.878 1093.648,551.559C1100.735,555.424 1104.441,558.358 1120.574,566.886C1128.739,571.203 1152.381,568.983 1153.714,550.316C1155.294,528.202 1153.714,437.64 1153.714,437.64C1153.714,437.64 1156.475,424.784 1135.487,412.785C1110.8,398.67 1012.454,341.947 1012.454,341.947C1012.454,341.947 999.424,335.204 985.528,343.19C960.816,357.393 858.352,416.099 858.352,416.099C858.352,416.099 845.731,421.074 845.51,438.882C845.158,467.332 845.925,586.356 845.925,586.356C845.925,586.356 845.057,597.527 857.938,605.412C881.554,619.867 981.385,677.077 981.385,677.077Z" style="fill:rgb(18,107,233);"/>
|
|
7
|
+
</g>
|
|
8
|
+
</svg>
|