@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.
Files changed (170) hide show
  1. package/LICENSE +21 -21
  2. package/{readme.md → README.md} +97 -78
  3. package/dist/cjs/q-button_3.cjs.entry.js +22 -22
  4. package/dist/cjs/q-card.cjs.entry.js +3 -3
  5. package/dist/cjs/q-carousel.cjs.entry.js +2 -2
  6. package/dist/cjs/q-circular-progress_2.cjs.entry.js +5 -5
  7. package/dist/cjs/q-data-table.cjs.entry.js +3 -3
  8. package/dist/cjs/q-dialog.cjs.entry.js +1 -1
  9. package/dist/cjs/q-dropdown.cjs.entry.js +3 -3
  10. package/dist/cjs/q-quantity-selector.cjs.entry.js +5 -5
  11. package/dist/cjs/q-reel.cjs.entry.js +2 -2
  12. package/dist/cjs/q-step-diagram-item.cjs.entry.js +2 -2
  13. package/dist/cjs/q-step-diagram.cjs.entry.js +2 -2
  14. package/dist/cjs/q-textarea.cjs.entry.js +2 -2
  15. package/dist/cjs/q-thumbnail.cjs.entry.js +2 -2
  16. package/dist/cjs/q-toggle.cjs.entry.js +3 -3
  17. package/dist/collection/assets/icons/braces.svg +14 -14
  18. package/dist/collection/assets/icons/check.svg +1 -1
  19. package/dist/collection/assets/icons/chevron-down.svg +1 -1
  20. package/dist/collection/assets/icons/chevron-left.svg +1 -1
  21. package/dist/collection/assets/icons/chevron-right.svg +1 -1
  22. package/dist/collection/assets/icons/chevron-up.svg +1 -1
  23. package/dist/collection/assets/icons/copy.svg +4 -4
  24. package/dist/collection/assets/icons/eye-off.svg +1 -1
  25. package/dist/collection/assets/icons/eye.svg +1 -1
  26. package/dist/collection/assets/icons/minus.svg +1 -1
  27. package/dist/collection/assets/icons/play.svg +1 -1
  28. package/dist/collection/assets/icons/plus.svg +1 -1
  29. package/dist/collection/assets/icons/search.svg +1 -1
  30. package/dist/collection/assets/icons/spinner.svg +1 -1
  31. package/dist/collection/assets/icons/trash-2.svg +1 -1
  32. package/dist/collection/assets/icons/x.svg +1 -1
  33. package/dist/collection/components/card/card.js +3 -3
  34. package/dist/collection/components/carousel/carousel.js +2 -2
  35. package/dist/collection/components/circular-progress/circular-progress.js +2 -2
  36. package/dist/collection/components/data-table/data-table.css +219 -219
  37. package/dist/collection/components/data-table/data-table.js +4 -4
  38. package/dist/collection/components/dialog/dialog.js +1 -1
  39. package/dist/collection/components/dropdown/dropdown.js +5 -5
  40. package/dist/collection/components/icon/icon.js +1 -1
  41. package/dist/collection/components/input/input.js +3 -3
  42. package/dist/collection/components/quantity-selector/quantity-selector.css +131 -131
  43. package/dist/collection/components/quantity-selector/quantity-selector.js +4 -4
  44. package/dist/collection/components/reel/reel.js +2 -2
  45. package/dist/collection/components/scrollable/scrollable.js +22 -22
  46. package/dist/collection/components/sidepanel/sidepanel.js +2 -2
  47. package/dist/collection/components/step-diagram/step-diagram.js +2 -2
  48. package/dist/collection/components/step-diagram-item/step-diagram-item.js +2 -2
  49. package/dist/collection/components/textarea/textarea.js +2 -2
  50. package/dist/collection/components/thumbnail/thumbnail.js +2 -2
  51. package/dist/collection/components/toggle/toggle.js +4 -4
  52. package/dist/collection/playground/components/playground-event-log/playground-event-log.js +3 -3
  53. package/dist/collection/playground/components/sandbox-viewport/sandbox-panel.js +3 -3
  54. package/dist/collection/playground/logo.svg +8 -8
  55. package/dist/collection/playground/playground.bundled.js +590 -590
  56. package/dist/collection/playground/views/q-button-view/q-button-view.js +6 -6
  57. package/dist/collection/playground/views/q-input-view/q-input-view.js +6 -6
  58. package/dist/collection/utils/formatter.unit.test.js +24 -24
  59. package/dist/components/{p-CYfD9z8O.js → p-B4IF9WVv.js} +1 -1
  60. package/dist/components/{p-BRNv11Jn.js → p-DScvq41R.js} +1 -1
  61. package/dist/components/{p-B7e76DLW.js → p-Do2ppeKL.js} +1 -1
  62. package/dist/components/q-card.js +1 -1
  63. package/dist/components/q-carousel.js +1 -1
  64. package/dist/components/q-circular-progress.js +1 -1
  65. package/dist/components/q-data-table.js +1 -1
  66. package/dist/components/q-dialog.js +1 -1
  67. package/dist/components/q-dropdown.js +1 -1
  68. package/dist/components/q-input.js +1 -1
  69. package/dist/components/q-quantity-selector.js +1 -1
  70. package/dist/components/q-reel.js +1 -1
  71. package/dist/components/q-scrollable.js +1 -1
  72. package/dist/components/q-step-diagram-item.js +1 -1
  73. package/dist/components/q-step-diagram.js +1 -1
  74. package/dist/components/q-syntax-box.js +1 -1
  75. package/dist/components/q-textarea.js +1 -1
  76. package/dist/components/q-thumbnail.js +1 -1
  77. package/dist/components/q-toggle.js +1 -1
  78. package/dist/esm/q-button_3.entry.js +22 -22
  79. package/dist/esm/q-card.entry.js +3 -3
  80. package/dist/esm/q-carousel.entry.js +2 -2
  81. package/dist/esm/q-circular-progress_2.entry.js +5 -5
  82. package/dist/esm/q-data-table.entry.js +3 -3
  83. package/dist/esm/q-dialog.entry.js +1 -1
  84. package/dist/esm/q-dropdown.entry.js +3 -3
  85. package/dist/esm/q-quantity-selector.entry.js +5 -5
  86. package/dist/esm/q-reel.entry.js +2 -2
  87. package/dist/esm/q-step-diagram-item.entry.js +2 -2
  88. package/dist/esm/q-step-diagram.entry.js +2 -2
  89. package/dist/esm/q-textarea.entry.js +2 -2
  90. package/dist/esm/q-thumbnail.entry.js +2 -2
  91. package/dist/esm/q-toggle.entry.js +3 -3
  92. package/dist/playground/assets/icons/braces.svg +14 -14
  93. package/dist/playground/assets/icons/check.svg +1 -1
  94. package/dist/playground/assets/icons/chevron-down.svg +1 -1
  95. package/dist/playground/assets/icons/chevron-left.svg +1 -1
  96. package/dist/playground/assets/icons/chevron-right.svg +1 -1
  97. package/dist/playground/assets/icons/chevron-up.svg +1 -1
  98. package/dist/playground/assets/icons/copy.svg +4 -4
  99. package/dist/playground/assets/icons/eye-off.svg +1 -1
  100. package/dist/playground/assets/icons/eye.svg +1 -1
  101. package/dist/playground/assets/icons/minus.svg +1 -1
  102. package/dist/playground/assets/icons/play.svg +1 -1
  103. package/dist/playground/assets/icons/plus.svg +1 -1
  104. package/dist/playground/assets/icons/search.svg +1 -1
  105. package/dist/playground/assets/icons/spinner.svg +1 -1
  106. package/dist/playground/assets/icons/trash-2.svg +1 -1
  107. package/dist/playground/assets/icons/x.svg +1 -1
  108. package/dist/playground/build/{p-4f133a25.entry.js → p-1187e439.entry.js} +1 -1
  109. package/dist/playground/build/{p-c8d6af8e.entry.js → p-38d9e75b.entry.js} +1 -1
  110. package/dist/{webquark/p-f7b5b155.entry.js → playground/build/p-4ce667f1.entry.js} +1 -1
  111. package/dist/{webquark/p-aa9be919.entry.js → playground/build/p-66b0eb0f.entry.js} +1 -1
  112. package/dist/{webquark/p-b1e68119.entry.js → playground/build/p-69d33f9d.entry.js} +1 -1
  113. package/dist/playground/build/{p-679fa494.entry.js → p-76e04a7f.entry.js} +1 -1
  114. package/dist/{webquark/p-f48dd3dd.entry.js → playground/build/p-776a0eb6.entry.js} +1 -1
  115. package/dist/playground/build/{p-5c67a28e.entry.js → p-7c4532f3.entry.js} +1 -1
  116. package/dist/playground/build/p-7d2144cf.entry.js +1 -0
  117. package/dist/playground/build/{p-7083c5ff.entry.js → p-84185204.entry.js} +1 -1
  118. package/dist/{webquark/p-1238a2cc.entry.js → playground/build/p-938cd8a6.entry.js} +1 -1
  119. package/dist/playground/build/{p-7f47861b.entry.js → p-a182b818.entry.js} +1 -1
  120. package/dist/playground/build/p-aa017815.entry.js +1 -0
  121. package/dist/playground/build/{p-8a94a0a2.entry.js → p-d7607e11.entry.js} +1 -1
  122. package/dist/playground/build/webquark.esm.js +1 -1
  123. package/dist/playground/logo.svg +8 -8
  124. package/dist/playground/playground/specs/q-button.sandbox.json +198 -198
  125. package/dist/playground/playground/specs/q-card.sandbox.json +144 -144
  126. package/dist/playground/playground/specs/q-carousel.sandbox.json +120 -120
  127. package/dist/playground/playground/specs/q-circular-progress.sandbox.json +91 -91
  128. package/dist/playground/playground/specs/q-data-table.sandbox.json +108 -108
  129. package/dist/playground/playground/specs/q-dialog.sandbox.json +108 -108
  130. package/dist/playground/playground/specs/q-dropdown.sandbox.json +116 -116
  131. package/dist/playground/playground/specs/q-icon.sandbox.json +138 -138
  132. package/dist/playground/playground/specs/q-input.sandbox.json +192 -192
  133. package/dist/playground/playground/specs/q-quantity-selector.sandbox.json +99 -99
  134. package/dist/playground/playground/specs/q-reel.sandbox.json +70 -70
  135. package/dist/playground/playground/specs/q-scrollable.sandbox.json +102 -102
  136. package/dist/playground/playground/specs/q-sidepanel.sandbox.json +147 -147
  137. package/dist/playground/playground/specs/q-step-diagram.sandbox.json +56 -56
  138. package/dist/playground/playground/specs/q-syntax-box.sandbox.json +160 -160
  139. package/dist/playground/playground/specs/q-textarea.sandbox.json +133 -133
  140. package/dist/playground/playground/specs/q-toggle.sandbox.json +196 -196
  141. package/dist/playground/playground/specs/q-tooltip.sandbox.json +65 -65
  142. package/dist/playground/playground.css +1 -1
  143. package/dist/playground/playground.js +590 -590
  144. package/dist/playground/views/q-button-view/q-button-view.css +1 -1
  145. package/dist/playground/views/q-button-view/q-button-view.html +1 -1
  146. package/dist/playground/views/q-button-view/q-button-view.js +6 -6
  147. package/dist/playground/views/q-input-view/q-input-view.css +1 -1
  148. package/dist/playground/views/q-input-view/q-input-view.html +1 -1
  149. package/dist/playground/views/q-input-view/q-input-view.js +6 -6
  150. package/dist/types/declarations.d.ts +9 -9
  151. package/dist/webquark/{p-4f133a25.entry.js → p-1187e439.entry.js} +1 -1
  152. package/dist/webquark/{p-c8d6af8e.entry.js → p-38d9e75b.entry.js} +1 -1
  153. package/dist/{playground/build/p-f7b5b155.entry.js → webquark/p-4ce667f1.entry.js} +1 -1
  154. package/dist/{playground/build/p-aa9be919.entry.js → webquark/p-66b0eb0f.entry.js} +1 -1
  155. package/dist/{playground/build/p-b1e68119.entry.js → webquark/p-69d33f9d.entry.js} +1 -1
  156. package/dist/webquark/{p-679fa494.entry.js → p-76e04a7f.entry.js} +1 -1
  157. package/dist/{playground/build/p-f48dd3dd.entry.js → webquark/p-776a0eb6.entry.js} +1 -1
  158. package/dist/webquark/{p-5c67a28e.entry.js → p-7c4532f3.entry.js} +1 -1
  159. package/dist/webquark/p-7d2144cf.entry.js +1 -0
  160. package/dist/webquark/{p-7083c5ff.entry.js → p-84185204.entry.js} +1 -1
  161. package/dist/{playground/build/p-1238a2cc.entry.js → webquark/p-938cd8a6.entry.js} +1 -1
  162. package/dist/webquark/{p-7f47861b.entry.js → p-a182b818.entry.js} +1 -1
  163. package/dist/webquark/p-aa017815.entry.js +1 -0
  164. package/dist/webquark/{p-8a94a0a2.entry.js → p-d7607e11.entry.js} +1 -1
  165. package/dist/webquark/webquark.esm.js +1 -1
  166. package/package.json +84 -84
  167. package/dist/playground/build/p-9afa3fe8.entry.js +0 -1
  168. package/dist/playground/build/p-9bb8ed97.entry.js +0 -1
  169. package/dist/webquark/p-9afa3fe8.entry.js +0 -1
  170. package/dist/webquark/p-9bb8ed97.entry.js +0 -1
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2024
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2024
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,79 +1,98 @@
1
- # ⚡ WebQuark Component Library
2
-
3
- ## 🎯 Purpose
4
- A premium, glassmorphic Web Component library compiled with **StencilJS**. Designed for high performance, standard compliance, and compatibility with **Unreal Engine Webviews** (Chromium Embedded Framework in Off-Screen Rendering mode).
5
-
6
- ---
7
-
8
- ## 🚀 Quick Start (Using Components)
9
-
10
- ### 1. Install Library
11
- ```bash
12
- npm install @webquark/core
13
- ```
14
-
15
- ### 2. Import Styles & Bootloader
16
- Add this to your application's entry file:
17
- ```javascript
18
- // Import core CSS variables & design tokens
19
- import '@webquark/core/dist/webquark/webquark.css';
20
-
21
- // Register custom web components
22
- import { defineCustomElements } from '@webquark/core/loader';
23
- defineCustomElements();
24
- ```
25
-
26
- ### 3. Use in HTML
27
- ```html
28
- <q-card interactive elevation="medium">
29
- <div slot="header">Hello WebQuark</div>
30
- <q-button variant="primary">Click Me</q-button>
31
- </q-card>
32
- ```
33
-
34
- ---
35
-
36
- ## 🗺️ Project Workspace Map
37
-
38
- ```
39
- webquark/ (Root)
40
- ├── dist/ ◄── Production compilations (ESM, custom elements, CSS)
41
- ├── docs/ ◄── Design guides & API specs
42
- │ ├── components/ ◄── Component-specific specifications (e.g. q-card.md)
43
- │ ├── components.md ◄── Roadmap implementation status dashboard
44
- │ ├── theme_variables.md◄── CSS custom properties reference
45
- │ └── unreal_compatibility.md ◄─ CEF Off-Screen Rendering layout guidelines
46
- ├── src/ ◄── Source files
47
- │ ├── components/ ◄── Custom Web Components
48
- │ │ └── q-[name]/
49
- │ │ ├── q-[name].tsx ◄── Component logic & render template (TSX)
50
- │ │ ├── q-[name].css ◄── Local stylesheet
51
- │ │ └── readme.md ◄── Auto-generated API details (props, slots, events)
52
- │ └── global/
53
- │ └── global.css ◄── Global design tokens & visual system variables
54
- └── readme.md ◄── This file
55
- ```
56
-
57
- ---
58
-
59
- ## 🛠️ Development Commands
60
-
61
- Before running commands, install package dependencies:
62
- ```bash
63
- npm install
64
- ```
65
-
66
- | Command | Action | Description |
67
- | :--- | :--- | :--- |
68
- | **`npm start`** | **Run Playground** | Starts a local hot-reloading component sandbox at `http://localhost:3333`. |
69
- | **`npm run build`** | **Build Library** | Runs Stencil compiler to output production bundles inside `dist/`. |
70
- | **`npm test`** | **Run Test Suites** | Runs unit test suites using Vitest. |
71
- | **`npm run test.watch`**| **Watch Tests** | Runs tests in interactive watcher mode. |
72
-
73
- ---
74
-
75
- ## ⚠️ Key Design Principles
76
-
77
- * **Self-Contained Rendering**: All components encapsulate their layout inside Shadow DOM.
78
- * **Tactile Micro-interactions**: Buttons and selectors utilize tactile CSS transformations (e.g. `scale(0.97)` on active press) for premium layout feedback.
1
+ # ⚡ WebQuark Component Library
2
+
3
+ ## 🎯 Purpose
4
+ A premium, glassmorphic Web Component library compiled with **StencilJS**. Designed for high performance, standard compliance, and compatibility with **Unreal Engine Webviews** (Chromium Embedded Framework in Off-Screen Rendering mode).
5
+
6
+ ---
7
+
8
+ ## 🚀 Quick Start (Using Components)
9
+
10
+ ### 1. Install Library
11
+ ```bash
12
+ bun add @webquark/core
13
+ ```
14
+
15
+ ### 2. Import Styles & Bootloader
16
+ Add this to your application's entry file:
17
+ ```javascript
18
+ // Import core CSS variables & design tokens
19
+ import '@webquark/core/dist/webquark/webquark.css';
20
+
21
+ // Register custom web components
22
+ import { defineCustomElements } from '@webquark/core/loader';
23
+ defineCustomElements();
24
+ ```
25
+
26
+ ### 3. Use in HTML
27
+ ```html
28
+ <q-card interactive elevation="medium">
29
+ <div slot="header">Hello WebQuark</div>
30
+ <q-button variant="primary">Click Me</q-button>
31
+ </q-card>
32
+ ```
33
+
34
+ ---
35
+
36
+ ## 🗺️ Project Workspace Map
37
+
38
+ ```
39
+ webquark/ (Root)
40
+ ├── dist/ ◄── Production compilations (ESM, custom elements, CSS)
41
+ ├── docs/ ◄── Design guides & API specs
42
+ │ ├── components/ ◄── Component-specific specifications (e.g. q-card.md)
43
+ │ ├── components.md ◄── Roadmap implementation status dashboard
44
+ │ ├── theme_variables.md◄── CSS custom properties reference
45
+ │ └── unreal_compatibility.md ◄─ CEF Off-Screen Rendering layout guidelines
46
+ ├── src/ ◄── Source files
47
+ │ ├── components/ ◄── Custom Web Components
48
+ │ │ └── q-[name]/
49
+ │ │ ├── q-[name].tsx ◄── Component logic & render template (TSX)
50
+ │ │ ├── q-[name].css ◄── Local stylesheet
51
+ │ │ └── readme.md ◄── Auto-generated API details (props, slots, events)
52
+ │ └── global/
53
+ │ └── global.css ◄── Global design tokens & visual system variables
54
+ └── readme.md ◄── This file
55
+ ```
56
+
57
+ ---
58
+
59
+ ## 🧪 WebQuark Component Sandbox
60
+
61
+ WebQuark includes a built-in interactive sandbox playground where you can preview components, inspect their layout behaviors, and test theme design variables in real-time.
62
+
63
+ To launch the sandbox:
64
+ 1. Navigate to the WebQuark root directory.
65
+ 2. Start the playground server:
66
+ ```bash
67
+ bun start
68
+ ```
69
+ 3. Open your web browser and navigate to: [http://localhost:3333](http://localhost:3333)
70
+
71
+ Inside the sandbox:
72
+ * **Interactive Previews:** Adjust component attributes, slots, and events on the fly.
73
+ * **Theme Designer:** Tweak global CSS design tokens (colors, border-radius, font sizes) and see the visual changes reflect instantly.
74
+ * **Event Log:** Inspect custom event payloads dispatched by components as you interact with them.
75
+
76
+ ---
77
+
78
+ ## 🛠️ Development Commands
79
+
80
+ Before running commands, install package dependencies:
81
+ ```bash
82
+ bun install
83
+ ```
84
+
85
+ | Command | Action | Description |
86
+ | :--- | :--- | :--- |
87
+ | **`bun start`** | **Run Playground** | Starts a local hot-reloading component sandbox at `http://localhost:3333`. |
88
+ | **`bun run build`** | **Build Library** | Runs Stencil compiler to output production bundles inside `dist/`. |
89
+ | **`bun test`** | **Run Test Suites** | Runs unit test suites using Vitest. |
90
+ | **`bun run test:watch`**| **Watch Tests** | Runs tests in interactive watcher mode. |
91
+
92
+ ---
93
+
94
+ ## ⚠️ Key Design Principles
95
+
96
+ * **Self-Contained Rendering**: All components encapsulate their layout inside Shadow DOM.
97
+ * **Tactile Micro-interactions**: Buttons and selectors utilize tactile CSS transformations (e.g. `scale(0.97)` on active press) for premium layout feedback.
79
98
  * **CEF Safety First**: Ensure any new styling variables comply with [Unreal Compatibility Guidelines](docs/unreal_compatibility.md) (e.g., no backdrop-filters, no dropdown overlay windows).
@@ -245,25 +245,25 @@ const QScrollable = class {
245
245
  }
246
246
  const styleEl = document.createElement('style');
247
247
  styleEl.id = `q-style-${targetId}`;
248
- styleEl.textContent = `
249
- [data-q-scrollable-target-id="${targetId}"]::-webkit-scrollbar {
250
- width: 8px;
251
- height: 8px;
252
- }
253
- [data-q-scrollable-target-id="${targetId}"]::-webkit-scrollbar-track {
254
- background: transparent;
255
- }
256
- [data-q-scrollable-target-id="${targetId}"]::-webkit-scrollbar-thumb {
257
- background: var(--q-bg-surface-3, #4b5563);
258
- border-radius: 4px;
259
- }
260
- [data-q-scrollable-target-id="${targetId}"]::-webkit-scrollbar-thumb:hover {
261
- background: var(--q-color-primary, #3b82f6);
262
- }
263
- [data-q-scrollable-target-id="${targetId}"] {
264
- scrollbar-width: thin;
265
- scrollbar-color: var(--q-bg-surface-3, #4b5563) transparent;
266
- }
248
+ styleEl.textContent = `
249
+ [data-q-scrollable-target-id="${targetId}"]::-webkit-scrollbar {
250
+ width: 8px;
251
+ height: 8px;
252
+ }
253
+ [data-q-scrollable-target-id="${targetId}"]::-webkit-scrollbar-track {
254
+ background: transparent;
255
+ }
256
+ [data-q-scrollable-target-id="${targetId}"]::-webkit-scrollbar-thumb {
257
+ background: var(--q-bg-surface-3, #4b5563);
258
+ border-radius: 4px;
259
+ }
260
+ [data-q-scrollable-target-id="${targetId}"]::-webkit-scrollbar-thumb:hover {
261
+ background: var(--q-color-primary, #3b82f6);
262
+ }
263
+ [data-q-scrollable-target-id="${targetId}"] {
264
+ scrollbar-width: thin;
265
+ scrollbar-color: var(--q-bg-surface-3, #4b5563) transparent;
266
+ }
267
267
  `;
268
268
  targetEl.appendChild(styleEl);
269
269
  this.nativeStyleEl = styleEl;
@@ -406,13 +406,13 @@ const QScrollable = class {
406
406
  height: this.height,
407
407
  maxHeight: this.maxHeight || undefined,
408
408
  };
409
- return (index.h(index.Host, { key: '2bbd47d39dc226332fc187d4f30511b6ebd546b8', class: {
409
+ return (index.h(index.Host, { key: '0313613bedcd1efc4820dc8b2e4a0894204ac914', class: {
410
410
  'is-scrolling': this.isScrolling,
411
411
  'is-dragging': this.isDragging,
412
- }, style: hostStyle }, index.h("div", { key: '0c5bbc0dce8a0c6c70a467e4197574f111a50f3e', class: "q-scrollable-host" }, index.h("div", { key: 'b218f22877aa2cf91ed44e73c6c523d0e5494a66', class: "q-scrollable-viewport", ref: this.setViewportRef, onScroll: this.handleScroll }, index.h("div", { key: 'cfc994f10ac13561114a4405a9c875b1760ec033', class: "q-scrollable-content", ref: this.setContentRef }, index.h("slot", { key: 'ef22f6cb6d980d102caaee71069e1a90e0ff1283' }))), this.mode === 'custom' && (index.h("div", { key: '1d87f4188d7d683ab3d874c78d34cc8e4f7b86fc', class: {
412
+ }, style: hostStyle }, index.h("div", { key: '267389f1d2a521a71c5d9e2472439fa1ca1eb1fd', class: "q-scrollable-host" }, index.h("div", { key: '24e9eac221928ffd8578d1b7cf38776ad7c0cd94', class: "q-scrollable-viewport", ref: this.setViewportRef, onScroll: this.handleScroll }, index.h("div", { key: 'b37e30cd427a300d173a63427cd2025cc6e1f55c', class: "q-scrollable-content", ref: this.setContentRef }, index.h("slot", { key: '43130d5fecc7f9a7e82c88e4a28ac681a2795c4e' }))), this.mode === 'custom' && (index.h("div", { key: '31316ea30108c640c88f6cec1ac6c98b5a079734', class: {
413
413
  'q-scrollbar-track': true,
414
414
  'is-dragging': this.isDragging,
415
- }, ref: (el) => (this.trackEl = el) }, index.h("div", { key: 'b932e23e8cc67672c9198b4f081765d61a73061f', class: "q-scrollbar-thumb", ref: (el) => (this.thumbEl = el), onPointerDown: this.handlePointerDown }))))));
415
+ }, ref: (el) => (this.trackEl = el) }, index.h("div", { key: '39023c16e3ca2593be0c90b292863f71ced4b132', class: "q-scrollbar-thumb", ref: (el) => (this.thumbEl = el), onPointerDown: this.handlePointerDown }))))));
416
416
  }
417
417
  static get watchers() { return {
418
418
  "mode": [{
@@ -38,16 +38,16 @@ const QCard = class {
38
38
  };
39
39
  // ===================== [6] RENDER (Visual Template Only) =====================
40
40
  render() {
41
- return (index.h("div", { key: 'd0954cbe1c4a9eade7c6b4df07fc09267fe4043b', class: {
41
+ return (index.h("div", { key: 'cd5b2f5e50b14dcdcfe048f80f7075b00b86c33f', class: {
42
42
  'card-container': true,
43
43
  [`elevation-${this.elevation}`]: true,
44
44
  'is-interactive': this.interactive,
45
45
  'is-glass': this.glass,
46
46
  'has-lift': this.lift,
47
- }, tabindex: this.interactive ? 0 : undefined, role: this.interactive ? 'button' : undefined, onKeyDown: this.interactive ? this.handleKeyDown : undefined }, index.h("div", { key: '086b666e79c650a05bae8103381772e6cf110182', class: {
47
+ }, tabindex: this.interactive ? 0 : undefined, role: this.interactive ? 'button' : undefined, onKeyDown: this.interactive ? this.handleKeyDown : undefined }, index.h("div", { key: 'b372f8bdf1202743d3d86c258f9797803ae41521', class: {
48
48
  'card-header': true,
49
49
  'is-hidden': !this.hasHeader,
50
- }, part: "header" }, index.h("slot", { key: '5e8cba93aaeaac949a87403c804421e6351896be', name: "header", onSlotchange: this.checkHeaderSlot })), index.h("div", { key: 'dbac66b6d95da480e0c3500d5ea54d58f0b2d7e4', class: "card-body", part: "body" }, index.h("slot", { key: 'b008d6b8b917c3cd0c6c586480a2157b10b9850b' }))));
50
+ }, part: "header" }, index.h("slot", { key: '570d57bcafd37afb9c1e76aa43aba6bd9a853f2f', name: "header", onSlotchange: this.checkHeaderSlot })), index.h("div", { key: 'dbc78931cba08f5075bbe9337d3ef8e4c5f74512', class: "card-body", part: "body" }, index.h("slot", { key: 'f180cb7b351170b4ef52fbfe379f2dc6824fc9f6' }))));
51
51
  }
52
52
  };
53
53
  QCard.style = cardCss();
@@ -277,10 +277,10 @@ const QCarousel = class {
277
277
  render() {
278
278
  const isFirst = this.repeat ? (!this.isScrollable || this.maxIndex <= 0) : (this.isAtStart || !this.isScrollable);
279
279
  const isLast = this.repeat ? (!this.isScrollable || this.maxIndex <= 0) : (this.isAtEnd || !this.isScrollable);
280
- return (index.h("div", { key: '9550f376f17389bdcb65c5a385414557931e8a35', class: "carousel-wrapper" }, this.showArrows && (index.h("button", { key: '7dea2b61b6c5de6ff3052813f46e8d69c1038933', class: { 'arrow-btn': true, 'arrow-left': true }, "aria-disabled": isFirst ? 'true' : 'false', onClick: isFirst ? undefined : this.slidePrev, "aria-label": "Previous slide", type: "button" }, index.h("svg", { key: 'd03f1741ad395f8010bbb91356dea776e8c8bedb', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("polyline", { key: 'a0a8f77d4afa2a65aff3c59427b645dceecfc53c', points: "15 18 9 12 15 6" })))), index.h("div", { key: '912195e0a4f7e77e0ffb852f1c519f321762d47a', class: {
280
+ return (index.h("div", { key: 'e141369a3efb7aabc16e7c0b3e45e2ad3b469235', class: "carousel-wrapper" }, this.showArrows && (index.h("button", { key: '53b0fae8c9fe677a07a3a0dd2ae74b5956ddedf5', class: { 'arrow-btn': true, 'arrow-left': true }, "aria-disabled": isFirst ? 'true' : 'false', onClick: isFirst ? undefined : this.slidePrev, "aria-label": "Previous slide", type: "button" }, index.h("svg", { key: 'a6130f58d3d7daba6ce4699520fe25309aaa6ba9', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("polyline", { key: 'd0e9b156bfae593a3c30c43c70bf87da949f6dc5', points: "15 18 9 12 15 6" })))), index.h("div", { key: 'd2bd4833d2165141714a64862ff6ac5eb8696620', class: {
281
281
  'carousel-viewport': true,
282
282
  [`snap-${this.snapAlignment}`]: this.snapAlignment !== 'none'
283
- }, tabindex: "0", "aria-label": "Carousel content", onScroll: this.handleScroll, ref: this.setScrollContainerRef }, index.h("slot", { key: 'fa7fa5b453cf5fbec4d4399f9f340eeba17ba7d3', onSlotchange: this.handleSlotChange })), this.showArrows && (index.h("button", { key: 'd1d076af0e91aaf9b736d2dd533922bfbde9ade6', class: { 'arrow-btn': true, 'arrow-right': true }, "aria-disabled": isLast ? 'true' : 'false', onClick: isLast ? undefined : this.slideNext, "aria-label": "Next slide", type: "button" }, index.h("svg", { key: 'a19e27364b085a0e1b64db04fc16e214290d34de', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("polyline", { key: 'b6237e86cac342c469e6df35fbc219e914700ec0', points: "9 18 15 12 9 6" })))), this.showIndicators && this.isScrollable && this.maxIndex > 0 && (index.h("div", { key: 'fd91160d6a490596cf0992bd83b2626b7231711b', class: "carousel-indicators", role: "tablist", "aria-label": "Carousel slides", onKeyDown: this.handleIndicatorKeyDown }, Array.from({ length: this.maxIndex + 1 }).map((_, idx) => (index.h("button", { class: { 'indicator-dot': true, 'is-active': idx === this.activeIndex }, role: "tab", "aria-selected": idx === this.activeIndex ? 'true' : 'false', onClick: () => this.scrollToIndex(idx), "aria-label": `Go to slide ${idx + 1}`, type: "button", tabindex: idx === this.activeIndex ? 0 : -1 })))))));
283
+ }, tabindex: "0", "aria-label": "Carousel content", onScroll: this.handleScroll, ref: this.setScrollContainerRef }, index.h("slot", { key: 'e51fafdef620f4b53a61a8dcf615bb0532e4e8d7', onSlotchange: this.handleSlotChange })), this.showArrows && (index.h("button", { key: 'bf26e265f8c564ea20a66b66c32d228a0fa4b73e', class: { 'arrow-btn': true, 'arrow-right': true }, "aria-disabled": isLast ? 'true' : 'false', onClick: isLast ? undefined : this.slideNext, "aria-label": "Next slide", type: "button" }, index.h("svg", { key: 'dd08661c29657702772c38769900c3049d1745dc', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("polyline", { key: '3be985e68f5060e19fb2e22f49f20d8650232a9c', points: "9 18 15 12 9 6" })))), this.showIndicators && this.isScrollable && this.maxIndex > 0 && (index.h("div", { key: 'c532fc4db653cfa5a55b006e87eba1642d8561a5', class: "carousel-indicators", role: "tablist", "aria-label": "Carousel slides", onKeyDown: this.handleIndicatorKeyDown }, Array.from({ length: this.maxIndex + 1 }).map((_, idx) => (index.h("button", { class: { 'indicator-dot': true, 'is-active': idx === this.activeIndex }, role: "tab", "aria-selected": idx === this.activeIndex ? 'true' : 'false', onClick: () => this.scrollToIndex(idx), "aria-label": `Go to slide ${idx + 1}`, type: "button", tabindex: idx === this.activeIndex ? 0 : -1 })))))));
284
284
  }
285
285
  };
286
286
  QCarousel.style = carouselCss();
@@ -27,10 +27,10 @@ const QCircularProgress = class {
27
27
  // Dynamic Font Styling
28
28
  const baseFontSize = 'var(--q-progress-font-size, var(--q-font-size-lg, 1.125rem))';
29
29
  const textStyle = dom.calculateDynamicFontSize(displayLabel, baseFontSize, 5);
30
- return (index.h("div", { key: '5f769593acbe6c8090f27c3fa56b2ea4103d5c29', class: {
30
+ return (index.h("div", { key: 'd676842276f6a2d64a6b4de208b947835f0b3d5a', class: {
31
31
  'progress-container': true,
32
32
  'is-indeterminate': this.indeterminate
33
- }, role: "progressbar", "aria-valuenow": this.indeterminate ? undefined : clampedValue, "aria-valuemin": "0", "aria-valuemax": "100", "aria-label": this.label || 'Circular Progress' }, index.h("svg", { key: '21818397d8ec7d263f490d8c1627a7ac55c8b0fa', class: "progress-svg", viewBox: `0 0 ${size} ${size}` }, index.h("g", { key: '345c148bf0e0c2e086b630cbe08002bb53fc4f1d', class: "progress-ring-circles" }, index.h("circle", { key: 'defc26bd5331c186fb83d586b5957508fd43983a', class: "progress-track", cx: size / 2, cy: size / 2, r: radius }), index.h("circle", { key: '834b8bd64719d0765d0ba2687c6a01642fbcbc19', class: "progress-fill", cx: size / 2, cy: size / 2, r: radius, "stroke-dasharray": circumference, "stroke-dashoffset": strokeDashoffset })), !this.indeterminate && (index.h("text", { key: '3ec1c8392707c7cf05689fd6b6378e123b482431', class: "progress-text", x: "50%", y: "50%", style: textStyle }, displayLabel)))));
33
+ }, role: "progressbar", "aria-valuenow": this.indeterminate ? undefined : clampedValue, "aria-valuemin": "0", "aria-valuemax": "100", "aria-label": this.label || 'Circular Progress' }, index.h("svg", { key: '1b7425c8d429cff9e074a3cf857bc91b68fa8ccf', class: "progress-svg", viewBox: `0 0 ${size} ${size}` }, index.h("g", { key: '934df4621473c985c8c11eeb9a1345829ca2f3ab', class: "progress-ring-circles" }, index.h("circle", { key: 'b086149788c0aa05766a01e81d0767b47ab7b8c5', class: "progress-track", cx: size / 2, cy: size / 2, r: radius }), index.h("circle", { key: 'f8c1419547057e5dc6a50fde582de2db80ae3906', class: "progress-fill", cx: size / 2, cy: size / 2, r: radius, "stroke-dasharray": circumference, "stroke-dashoffset": strokeDashoffset })), !this.indeterminate && (index.h("text", { key: '79509f031c654880a56bbf21d7dd593d1628ebbc', class: "progress-text", x: "50%", y: "50%", style: textStyle }, displayLabel)))));
34
34
  }
35
35
  };
36
36
  QCircularProgress.style = circularProgressCss();
@@ -230,16 +230,16 @@ const QInput = class {
230
230
  const displayError = this.error || this.errorMessage;
231
231
  const showClearBtn = this.clearable && !this.disabled && this.value.length > 0;
232
232
  const showSuffixContainer = this.hasSuffix || showClearBtn;
233
- return (index.h("div", { key: '008cea3c420ad70bba24c8784eaf5800b25d8fbb', class: {
233
+ return (index.h("div", { key: '625e72d620dc2f975322c27fab4430b465e1ec87', class: {
234
234
  'input-wrapper': true,
235
235
  'is-disabled': this.disabled,
236
236
  'has-error': hasError,
237
237
  [`size-${this.size}`]: true
238
- } }, this.label && (index.h("label", { key: '8d8a9edf17f5086b5f6d8098f5200f64d30f912f', class: "input-label", htmlFor: "q-field", part: "label" }, this.label)), index.h("div", { key: '28c9b65cfc60cd81960694e99bd9c8435a2be7ba', class: "input-control", part: "control" }, index.h("span", { key: '7aee60be8a41c6ed7671f2c00dea6416602d454a', class: "prefix-container", style: { display: this.hasPrefix ? 'flex' : 'none' }, part: "prefix" }, index.h("slot", { key: '2518c1d31d4142aaf6e941db886baac5a74b2d85', name: "prefix", onSlotchange: this.handlePrefixSlotChange })), index.h("input", { key: this.type, ref: (el) => (this.inputEl = el), id: "q-field", class: {
238
+ } }, this.label && (index.h("label", { key: '5942cd67132d5aa70a183660429d1e0b6862a6c3', class: "input-label", htmlFor: "q-field", part: "label" }, this.label)), index.h("div", { key: 'f391d28659927394a093234133288204db8ed244', class: "input-control", part: "control" }, index.h("span", { key: '4b58272ccd8d258e828ed9bd71261940c6fb8ce2', class: "prefix-container", style: { display: this.hasPrefix ? 'flex' : 'none' }, part: "prefix" }, index.h("slot", { key: '5425870da7418f2d6f4d8aeb4c0bf3f7c63d8d93', name: "prefix", onSlotchange: this.handlePrefixSlotChange })), index.h("input", { key: this.type, ref: (el) => (this.inputEl = el), id: "q-field", class: {
239
239
  'input-box': true,
240
240
  'has-prefix-padding': this.hasPrefix,
241
241
  'has-suffix-padding': showSuffixContainer
242
- }, type: this.type, value: this.value, placeholder: this.placeholder, disabled: this.disabled, required: this.required, min: this.min, max: this.max, step: this.step, 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 }), this.type === 'number' && !this.disabled && (index.h("div", { key: 'eb429614c90af97c2835b3d17391cfce5317eacb', class: "input-spinners", part: "spinners" }, index.h("button", { key: 'ef59e1ee5448beaeaa41cea97c40ec560b2ba226', class: "spinner-btn spinner-up", type: "button", onClick: this.handleIncrement, tabindex: "-1" }, index.h("svg", { key: '138435925c7c78579ad4f0b3fe0a64f4d5a80f63', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("path", { key: 'dada7fa6c8ab7948aacfc00bb5882513fad16d30', d: "M18 15l-6-6-6 6" }))), index.h("button", { key: '8454c927a44f0407a0926d1710a700a3169d645d', class: "spinner-btn spinner-down", type: "button", onClick: this.handleDecrement, tabindex: "-1" }, index.h("svg", { key: '9ff92653b5c28298ea9788ed667f0329554285e7', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("path", { key: '051f8128f9fb54bc8c0a769840846bbcdcb5fff1', d: "M6 9l6 6 6-6" }))))), index.h("span", { key: 'a176697b4cda49fdd8ba246c1e6b258e15eb999a', class: "suffix-container", style: { display: showSuffixContainer ? 'flex' : 'none' }, part: "suffix" }, showClearBtn && (index.h("button", { key: 'c53e91cc7f1314a249c092f7bd03e0ea7a69cf4c', class: "clear-btn", type: "button", onClick: this.handleClear, "aria-label": "Clear input" }, index.h("svg", { key: '37702cb91058e08b1d2b0f90ad6ab6bf332c9e5a', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("path", { key: '9805957a07f34a2e19fbfe4a0ef8b8393c501ec3', d: "M18 6L6 18M6 6l12 12" })))), index.h("span", { key: '217d17e24642002d53fda41d56643cde1ef68711', style: { display: showClearBtn ? 'none' : 'block' } }, index.h("slot", { key: '2ea35768cef5d5fdf1c799979e473877a7e54421', name: "suffix", onSlotchange: this.handleSuffixSlotChange })))), hasError && (index.h("span", { key: 'e7f7010506edb8fdebe748f0f8b0cac2a1d19769', id: "q-field-error", class: "error-msg", part: "error-msg" }, displayError))));
242
+ }, type: this.type, value: this.value, placeholder: this.placeholder, disabled: this.disabled, required: this.required, min: this.min, max: this.max, step: this.step, 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 }), this.type === 'number' && !this.disabled && (index.h("div", { key: 'e1a5b72f552c8b88ab6e2b84fcd63151a96dd28a', class: "input-spinners", part: "spinners" }, index.h("button", { key: 'cc07df31e5c87cced56b87e0a7818bb97455b0bf', class: "spinner-btn spinner-up", type: "button", onClick: this.handleIncrement, tabindex: "-1" }, index.h("svg", { key: '92e9f32279eb92f977e14f5a691ec5e0718f663a', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("path", { key: '93162a09225cc2afde09fc3cf92b20c7b79a49f1', d: "M18 15l-6-6-6 6" }))), index.h("button", { key: '8a504bc234fafdd7d25ca07c29dd33cd24eb9616', class: "spinner-btn spinner-down", type: "button", onClick: this.handleDecrement, tabindex: "-1" }, index.h("svg", { key: '28bba806af4cdfc32ab09c9f0ade45fec528b50e', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("path", { key: 'd6235c3d97748bb5a27d7328bba04c24b27a0fda', d: "M6 9l6 6 6-6" }))))), index.h("span", { key: '9172a40f329f7e3925480aeed27eab030760c97f', class: "suffix-container", style: { display: showSuffixContainer ? 'flex' : 'none' }, part: "suffix" }, showClearBtn && (index.h("button", { key: '3541668033431d6f99cd3ff865e6c0eeb1572354', class: "clear-btn", type: "button", onClick: this.handleClear, "aria-label": "Clear input" }, index.h("svg", { key: '975ee761d5651e246423d09d615ab9fcdeb028d7', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("path", { key: 'd38026e069ca1aaf8822a3f9db9a80d4b3bc0df0', d: "M18 6L6 18M6 6l12 12" })))), index.h("span", { key: '001edfd3e2094f5097d4ec6ad267aa807791972b', style: { display: showClearBtn ? 'none' : 'block' } }, index.h("slot", { key: '119df340327d548f044f154d591584c1143e15e4', name: "suffix", onSlotchange: this.handleSuffixSlotChange })))), hasError && (index.h("span", { key: '7942ca41a7c1a97211939de4992525f6707ed2f0', id: "q-field-error", class: "error-msg", part: "error-msg" }, displayError))));
243
243
  }
244
244
  static get delegatesFocus() { return true; }
245
245
  static get formAssociated() { return true; }
@@ -173,7 +173,7 @@ const QDataTable = class {
173
173
  const items = this.getParsedItems();
174
174
  const { checked, indeterminate } = this.getSelectionState();
175
175
  const currentKeys = this.selectedKeys || [];
176
- return (index.h("div", { key: 'd1f7497d90ce30c10db261e8e0a571505b6c3b57', class: "table-container", role: "grid" }, this.showToolbar && (index.h("div", { key: 'f0e965a5186e567a93f0825a4d16f99343c42f47', class: "table-toolbar" }, index.h("div", { key: '2ebc759bd740e9de83cf78c0515c2c16dff7deba', class: "toolbar-left" }, this.toolbarTitle && index.h("span", { key: '536c738d598cb2c768e18934913d2743409c36f3', class: "toolbar-title" }, this.toolbarTitle), index.h("slot", { key: 'ba5c14098bf0c3864538ca57e0e0465bb18e0f16', name: "toolbar-left" }), this.showSearch && (index.h("q-input", { key: '36683031c998536df6aba54242e0c1fcf2d4d7d0', class: "search-input", placeholder: this.searchPlaceholder, value: this.searchValue, onQInput: this.handleSearchInput, size: "sm" }, index.h("svg", { key: '726ad0cffcfb9ae1c9be2a49fa4ed201052ed66a', slot: "prefix", class: "search-icon-svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", style: { width: '14px', height: '14px' } }, index.h("circle", { key: 'b54fd1a1b7b44da93600b122f31bd51b91b4b6ee', cx: "11", cy: "11", r: "8" }), index.h("line", { key: 'bc04dfb4807965ccfeb99c6f2140e49d6f2413d9', x1: "21", y1: "21", x2: "16.65", y2: "16.65" })))), index.h("slot", { key: '970b76eaf8c5a4fd965feda097f00bd092d8b1e4', name: "filters" })), index.h("div", { key: 'cae72db94e7aa8496677ad3a1350fe42871057de', class: "toolbar-right" }, index.h("slot", { key: '499fdd0dd6552345ac4e65fddb3fb24baf1acf7b', name: "actions" })))), index.h("div", { key: '5e1e109cbe9f738d66c57c01f1349ca50e30dd4d', class: "table-scroll-area" }, index.h("table", { key: 'ea7d69aac2b381909ecfd1b6320d7cd6cfd45a6d', class: "table-el" }, index.h("thead", { key: 'dece4cde7dd2cf679dda2ae22b8e02fe7f44af48' }, index.h("tr", { key: '0e9428c41614274f577ea597a13e60697163eb02', role: "row" }, this.selectable && (index.h("th", { key: '5e4556331a20b09b5df575cafad572e4feeb3e44', class: "col-selection", role: "columnheader" }, index.h("input", { key: '145b0f0445b6da2f05f396fcdc75f3d3f6471a6f', type: "checkbox", class: "checkbox-input", checked: checked, ref: el => {
176
+ return (index.h("div", { key: '9406bf5ed8f39171e9fb5a60214a95f72392f8be', class: "table-container", role: "grid" }, this.showToolbar && (index.h("div", { key: '773a82dcbe114e3f155f9b5ce4a09160b91e6bbc', class: "table-toolbar" }, index.h("div", { key: 'ff5bc1ebb7078b5ac122214a4e56789cc94d6855', class: "toolbar-left" }, this.toolbarTitle && index.h("span", { key: 'd600b267d65ae2bee5bdc4a8c90346c309b43332', class: "toolbar-title" }, this.toolbarTitle), index.h("slot", { key: 'c48b8d5b993517eb65ee509de99eb6a76a8633a9', name: "toolbar-left" }), this.showSearch && (index.h("q-input", { key: '852d92ab93ad8bba5ced8cc6cda1995f285c1987', class: "search-input", placeholder: this.searchPlaceholder, value: this.searchValue, onQInput: this.handleSearchInput, size: "sm" }, index.h("svg", { key: '32e4aefbc019e6b03b119330634570f1b10a85e8', slot: "prefix", class: "search-icon-svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", style: { width: '14px', height: '14px' } }, index.h("circle", { key: '5023171b1fe66e057f4fd83ac583807b44ae7f5a', cx: "11", cy: "11", r: "8" }), index.h("line", { key: 'abcbfb3d506ad763347ffba58ceb7df25d590e87', x1: "21", y1: "21", x2: "16.65", y2: "16.65" })))), index.h("slot", { key: 'd2b08343660f93f13dbe4592e878c86b070c58a0', name: "filters" })), index.h("div", { key: '3c4cc5067d2a197a949c999f7646092c4180d786', class: "toolbar-right" }, index.h("slot", { key: 'b8789b247c03a3bf9817f5aa9b3cf0104ca3f1cb', name: "actions" })))), index.h("div", { key: 'a9b607183bb148f097689fb731f8a11ee6528ef4', class: "table-scroll-area" }, index.h("table", { key: '65300d96fe822676f7ec7f18761207804d88a8db', class: "table-el" }, index.h("thead", { key: '7bdaec164ca21ac54d1529733e3a46dedd23b3cc' }, index.h("tr", { key: '6b32157933e443c5f465106189b6e45d88f64576', role: "row" }, this.selectable && (index.h("th", { key: '654f65e2e22cbc8d07bd2eacceb7e59df5ebd821', class: "col-selection", role: "columnheader" }, index.h("input", { key: '29c5d83760da89694c4a1c549cfab517bbe6f8c1', type: "checkbox", class: "checkbox-input", checked: checked, ref: el => {
177
177
  if (el)
178
178
  el.indeterminate = indeterminate;
179
179
  }, onChange: e => this.toggleAllSelection(e), "aria-label": "Select all rows" }))), columns.map(col => {
@@ -182,14 +182,14 @@ const QDataTable = class {
182
182
  style.width = col.width;
183
183
  }
184
184
  return (index.h("th", { style: style, class: col.className || '', role: "columnheader" }, this.getHeaderLabel(col)));
185
- }))), index.h("tbody", { key: '8d30e95b82fee30062d75b3be05c8606c5eac583' }, this.loading ? (index.h("tr", { role: "row" }, index.h("td", { colSpan: columns.length + (this.selectable ? 1 : 0), class: "loading-placeholder-cell", role: "gridcell" }))) : items.length === 0 ? (index.h("tr", { role: "row" }, index.h("td", { colSpan: columns.length + (this.selectable ? 1 : 0), class: "empty-cell", role: "gridcell" }, index.h("slot", { name: "empty" }, "No data available")))) : (items.map((item, index$1) => {
185
+ }))), index.h("tbody", { key: '822358cbd5fc14d4caf43e5bfd853bac7e94d018' }, this.loading ? (index.h("tr", { role: "row" }, index.h("td", { colSpan: columns.length + (this.selectable ? 1 : 0), class: "loading-placeholder-cell", role: "gridcell" }))) : items.length === 0 ? (index.h("tr", { role: "row" }, index.h("td", { colSpan: columns.length + (this.selectable ? 1 : 0), class: "empty-cell", role: "gridcell" }, index.h("slot", { name: "empty" }, "No data available")))) : (items.map((item, index$1) => {
186
186
  const key = this.getItemKey(item, index$1);
187
187
  const isSelected = currentKeys.includes(key);
188
188
  return (index.h("tr", { key: key, class: {
189
189
  'row-el': true,
190
190
  'is-selected': isSelected,
191
191
  }, tabindex: "0", role: "row", "aria-selected": isSelected ? 'true' : 'false', onClick: e => this.handleRowClick(item, index$1, e), onKeyDown: e => this.handleRowKeyDown(item, index$1, e) }, this.selectable && (index.h("td", { class: "cell-selection", role: "gridcell" }, index.h("input", { type: "checkbox", class: "checkbox-input", checked: isSelected, onChange: e => this.toggleRowSelection(item, index$1, e), "aria-label": `Select row ${index$1 + 1}` }))), columns.map(col => (index.h("td", { class: col.className || '', role: "gridcell" }, this.renderCell(item, col))))));
192
- })))), this.loading && (index.h("div", { key: 'f43cbcb30cd3e17d5888d3bddd6f6399677e037f', class: "table-loading-overlay" }, index.h("q-circular-progress", { key: '108c0f29de8920207915dcb6a8e377c563dc9ff2', indeterminate: true, size: "sm" })))), index.h("slot", { key: '286522e44ec88babaa50aad8cbc4eea48df36563', name: "footer" })));
192
+ })))), this.loading && (index.h("div", { key: '4e2426999eb39207949b3b1936183bc0520e829c', class: "table-loading-overlay" }, index.h("q-circular-progress", { key: 'b401481321b61cc0ade0ad1213a95040dd77245a', indeterminate: true, size: "sm" })))), index.h("slot", { key: '8d2af8ee3bfeeebbc92f1c472dceff1c67f1b966', name: "footer" })));
193
193
  }
194
194
  };
195
195
  QDataTable.style = dataTableCss();
@@ -130,7 +130,7 @@ const QDialog = class {
130
130
  'is-open': this.isAnimatedOpen,
131
131
  'is-visible': this.isVisible,
132
132
  };
133
- return (index.h("div", { key: 'faa25638a0e67ce8e6db3e4cdd771848f1d6c065', class: classes, onKeyDown: this.handleKeyDown, inert: !this.open ? true : undefined }, index.h("div", { key: 'cd966a6287e76c7d73e6617c6bb23713a8e096ad', class: "dialog-backdrop", onClick: this.handleBackdropClick, part: "backdrop" }), index.h("div", { key: 'db9f6bb765dadedf5d68b8263b900c5769915157', ref: el => (this.dialogEl = el), class: "dialog-modal", part: "modal", role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? 'false' : 'true', tabindex: "-1" }, index.h("header", { key: '3defaf7f32bc95870a50c1022cbf7d3c82cd708a', class: "dialog-header", part: "header" }, index.h("slot", { key: '54ca55624115965f3d4a14e5966aec40d0aeba4c', name: "header" }, titleText && index.h("h2", { key: 'e0ab2a95da072d382a0240e7822dffd1c3646063', class: "dialog-title" }, titleText)), index.h("button", { key: '2ccdc25e9e63ee86921702bea740525dce6df4b7', class: "dialog-close-btn", onClick: this.handleCloseButton, "aria-label": "Close dialog", disabled: this.loading, part: "close-btn" }, index.h("svg", { key: '47ecbba13fbafb95a631387c97ec2b06c14dccf1', class: "close-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("line", { key: '1aa7172f6ee838d7fe7914cd1d6ab6f24f6f862b', x1: "18", y1: "6", x2: "6", y2: "18" }), index.h("line", { key: 'b3e5e4f527b12e0e0c8ba9f5ea7a9dc0a925769d', x1: "6", y1: "6", x2: "18", y2: "18" })))), index.h("div", { key: '58f5e99edc8e9903bb5afc537fb908e73fd02443', class: "dialog-body", part: "body" }, index.h("slot", { key: '30cf8d109e64291fe417781a6f3f001df2f7cb13' }, this.message && index.h("p", { key: '71a75cfe855bf4ccb29a898870a532a871fe2560', class: "dialog-message" }, this.message))), index.h("footer", { key: 'f9030a7fb3ca7760aa86d06dbf60e3d16c336a55', class: "dialog-footer", part: "footer" }, index.h("slot", { key: 'a2a48f6d0841b64cf6c950fcec1a23ad6eefcb5d', name: "footer" }, index.h("div", { key: '36e81f9c64c2883e2d78c69fd323c3ed83b6d183', class: "dialog-actions" }, this.showCancel && (index.h("button", { key: '891fedffa200be88e0c42a5f6e8ae7373ed58f55', class: "btn-cancel", onClick: this.handleCancel, disabled: this.loading, part: "cancel-btn" }, this.cancelLabel)), this.showConfirm && (index.h("button", { key: 'f5006f97cac3539e464e3aefa04c5698f99da023', class: "btn-confirm", onClick: this.handleConfirm, disabled: this.loading, "aria-busy": this.loading ? 'true' : 'false', part: "confirm-btn" }, this.loading && index.h("span", { key: 'f6633f17fc56cd2d64cf2b936a63293de0b0d18f', class: "spinner-el" }), index.h("span", { key: '2f91a411decc749c55d360cdb0e1e833b61cdb89', class: "btn-label" }, this.confirmLabel)))))))));
133
+ return (index.h("div", { key: 'f77d075d6402bd1c4a538496eaaa593ceada62f3', class: classes, onKeyDown: this.handleKeyDown, inert: !this.open ? true : undefined }, index.h("div", { key: 'a280ff3613348c3a1d2cc0eecff32d3b7344aadb', class: "dialog-backdrop", onClick: this.handleBackdropClick, part: "backdrop" }), index.h("div", { key: '5a5c2cc0b319279253acc1c3d5a557c2f531562d', ref: el => (this.dialogEl = el), class: "dialog-modal", part: "modal", role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? 'false' : 'true', tabindex: "-1" }, index.h("header", { key: '4313f933ebbfd21ada522675723fc3532f330907', class: "dialog-header", part: "header" }, index.h("slot", { key: 'e654922721b61980a4a61b21bf9474fb65152301', name: "header" }, titleText && index.h("h2", { key: '6313bb89256ee6903c892750afd5bfc32e34cbb8', class: "dialog-title" }, titleText)), index.h("button", { key: '3492c1f25bfc463156328aecb17fdc5808ac7d14', class: "dialog-close-btn", onClick: this.handleCloseButton, "aria-label": "Close dialog", disabled: this.loading, part: "close-btn" }, index.h("svg", { key: '25c36a0a78e6a9ef81aec11b639efffcddbb3884', class: "close-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("line", { key: '946a88dacfde417eb300002231c87e7abc0ed4dd', x1: "18", y1: "6", x2: "6", y2: "18" }), index.h("line", { key: 'd6b43f7fea05d99ed4586bc48dda9cd6e086fe4f', x1: "6", y1: "6", x2: "18", y2: "18" })))), index.h("div", { key: '65a2ce99fa264252f9cefdae3f6fdb44f5b0b31e', class: "dialog-body", part: "body" }, index.h("slot", { key: 'e6d4366ba2713e3428be17d3280af595fd3a30ac' }, this.message && index.h("p", { key: 'f6b758ebcca1d4bebd6e288bfe72e4b1694efa2e', class: "dialog-message" }, this.message))), index.h("footer", { key: 'c47196a6cd11f12b4ab475855d2235d82ce7b891', class: "dialog-footer", part: "footer" }, index.h("slot", { key: 'fa68297fa77447fc2137b23e1041e4329ca5e91c', name: "footer" }, index.h("div", { key: '122afc197608cd1dd094f9c7cc2ae856d1ecaebb', class: "dialog-actions" }, this.showCancel && (index.h("button", { key: 'b54682b69986eb555955d3b4e6d7c2926dad3cb5', class: "btn-cancel", onClick: this.handleCancel, disabled: this.loading, part: "cancel-btn" }, this.cancelLabel)), this.showConfirm && (index.h("button", { key: '52139f492b7a4aab0c04c6bc85ad7ac0b7ea780a', class: "btn-confirm", onClick: this.handleConfirm, disabled: this.loading, "aria-busy": this.loading ? 'true' : 'false', part: "confirm-btn" }, this.loading && index.h("span", { key: '4e812be3ef372e597fa0f26e9f36f0002a2a3d87', class: "spinner-el" }), index.h("span", { key: '06a746e50e4702d87d53df7c690279535861f348', class: "btn-label" }, this.confirmLabel)))))))));
134
134
  }
135
135
  static get watchers() { return {
136
136
  "open": [{
@@ -324,16 +324,16 @@ const QDropdown = class {
324
324
  dynamicWidth = `${Math.ceil(calculatedWidth)}px`;
325
325
  }
326
326
  }
327
- return (index.h("div", { key: 'a5eac8bba3c8be82392ab4ad21942085bdf42675', class: {
327
+ return (index.h("div", { key: '980b25ffe6f39e0473c96112ac7f493b3d8cd174', class: {
328
328
  'dropdown-wrapper': true,
329
329
  'is-open': this.isOpen,
330
330
  'is-disabled': this.disabled,
331
331
  [`size-${this.size}`]: true
332
- }, style: dynamicWidth ? { width: dynamicWidth, 'max-width': '100%' } : undefined, onKeyDown: this.handleKeyDown }, this.label && (index.h("label", { key: '74ae4e39d141e382c7c088dd295d8c2c4553a211', class: "dropdown-label", htmlFor: "q-field", part: "label" }, this.label)), index.h("button", { key: '0142ba5d4bfb78fc11580981ad295d8d22840fa4', ref: (el) => (this.triggerEl = el), id: "q-field", class: "dropdown-trigger", part: "trigger", type: "button", disabled: this.disabled, onClick: this.handleTriggerClick, onFocus: this.handleFocus, onBlur: this.handleBlur, "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": this.isOpen ? 'q-field-menu' : undefined, "aria-activedescendant": this.isOpen && this.focusedIndex >= 0 ? `q-field-item-${this.focusedIndex}` : undefined }, index.h("span", { key: '9b6943a441c573df04bea2e9c51f058ae097a151', class: { 'trigger-text': true, 'is-placeholder': !hasSelection } }, displayLabel), index.h("svg", { key: '2f6b129ad9817f52ca2858d83774e109e8454152', class: "chevron-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("polyline", { key: '48386e06f1166ff7a011df8b5fe691cd845a651a', points: "6 9 12 15 18 9" }))), this.isOpen && (index.h("div", { key: 'c2d4d943570c3bf19cf5c0e849afda4bc20d5eb9', id: "q-field-menu", class: "dropdown-menu", part: "menu", role: "listbox", "aria-label": this.label || 'Options' }, this.searchable && (index.h("div", { key: '13bffc49202bb50afec3b9110462067f675f595c', class: "dropdown-search-container" }, index.h("input", { key: '611221daeac79c2dc94744c85e463caa5ecc4b07', ref: (el) => (this.searchInputEl = el), type: "text", class: "dropdown-search-input", placeholder: "Search...", value: this.searchTerm, onInput: this.handleSearchInput }))), index.h("ul", { key: 'c2452e7eaac678ce652c255a7478850bab0a4308', class: "dropdown-items-list", onScroll: this.handleScroll }, opts.length === 0 ? (index.h("li", { class: "menu-item is-empty" }, "No matches found")) : (opts.map((option, index$1) => (index.h("li", { id: `q-field-item-${index$1}`, class: {
332
+ }, style: dynamicWidth ? { width: dynamicWidth, 'max-width': '100%' } : undefined, onKeyDown: this.handleKeyDown }, this.label && (index.h("label", { key: '8afabd5bdbfea59115e717af6d1b2507e5cd68d2', class: "dropdown-label", htmlFor: "q-field", part: "label" }, this.label)), index.h("button", { key: 'd8a53d3718157b040046ad81d1c408742c3a83b3', ref: (el) => (this.triggerEl = el), id: "q-field", class: "dropdown-trigger", part: "trigger", type: "button", disabled: this.disabled, onClick: this.handleTriggerClick, onFocus: this.handleFocus, onBlur: this.handleBlur, "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": this.isOpen ? 'q-field-menu' : undefined, "aria-activedescendant": this.isOpen && this.focusedIndex >= 0 ? `q-field-item-${this.focusedIndex}` : undefined }, index.h("span", { key: '057e7496157fe944647fbf74f5bc5d89ff1a85c0', class: { 'trigger-text': true, 'is-placeholder': !hasSelection } }, displayLabel), index.h("svg", { key: 'c8ef16ce76559bcd4fc99b52ac5c43dbd67dbe4c', class: "chevron-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("polyline", { key: 'e4272e43433c407198f4bd7f4e8efb0976cfeb72', points: "6 9 12 15 18 9" }))), this.isOpen && (index.h("div", { key: 'ff31b06bb2d9e33bfbf1d2a6072f18cc41c8cfa2', id: "q-field-menu", class: "dropdown-menu", part: "menu", role: "listbox", "aria-label": this.label || 'Options' }, this.searchable && (index.h("div", { key: '86d6e527c9677a1bf8879917740ced1c5d441fa2', class: "dropdown-search-container" }, index.h("input", { key: 'ffb0005b9743452159b68287873adaa4cbeef727', ref: (el) => (this.searchInputEl = el), type: "text", class: "dropdown-search-input", placeholder: "Search...", value: this.searchTerm, onInput: this.handleSearchInput }))), index.h("ul", { key: '10a85f271e6d8a77e514eff7d36de1b1b81d0ec9', class: "dropdown-items-list", onScroll: this.handleScroll }, opts.length === 0 ? (index.h("li", { class: "menu-item is-empty" }, "No matches found")) : (opts.map((option, index$1) => (index.h("li", { id: `q-field-item-${index$1}`, class: {
333
333
  'menu-item': true,
334
334
  'is-selected': option.value === this.value,
335
335
  'is-focused': index$1 === this.focusedIndex
336
- }, tabindex: index$1 === this.focusedIndex ? 0 : -1, part: `item ${option.value === this.value ? 'selected-item' : ''} ${index$1 === this.focusedIndex ? 'focused-item' : ''}`, role: "option", "aria-selected": option.value === this.value ? 'true' : 'false', onClick: () => this.handleSelect(option) }, option.label)))), this.isScrollingLoading && (index.h("li", { key: '8c5c8867050187df0d7a42180a95945f0be22e5c', class: "menu-item is-loading-more" }, index.h("span", { key: '5ec7bdb3e2dbed9e60547942ee432ab9647583a5', class: "spinner-circle" }), index.h("span", { key: '1ca63039ae31e28f9b71c1b5500479a76f5eb090' }, "Loading..."))))))));
336
+ }, tabindex: index$1 === this.focusedIndex ? 0 : -1, part: `item ${option.value === this.value ? 'selected-item' : ''} ${index$1 === this.focusedIndex ? 'focused-item' : ''}`, role: "option", "aria-selected": option.value === this.value ? 'true' : 'false', onClick: () => this.handleSelect(option) }, option.label)))), this.isScrollingLoading && (index.h("li", { key: 'bb92f2e84ed87c12963c7d7e69f0c7b5899599ed', class: "menu-item is-loading-more" }, index.h("span", { key: '575c59ef9d32230c21b84f0ff36e52d4e29b5e43', class: "spinner-circle" }), index.h("span", { key: 'a6f096427e179ad9c8e6e2d5dd6c0e3152941bcd' }, "Loading..."))))))));
337
337
  }
338
338
  static get delegatesFocus() { return true; }
339
339
  static get formAssociated() { return true; }
@@ -2,7 +2,7 @@
2
2
 
3
3
  var index = require('./index-CLlvFbDw.js');
4
4
 
5
- const quantitySelectorCss = () => `:host{--q-quantity-selector-height:38px;--q-quantity-selector-width-vertical:50px;--q-quantity-selector-bg:var(--q-bg-surface-2, #374151);--q-quantity-selector-border-color:var(--q-border-color, #4b5563);--q-quantity-selector-radius:var(--q-radius-md, 8px);--q-quantity-selector-input-bg:var(--q-bg-base, #111827);--q-quantity-selector-input-fg:var(--q-fg-base, #f9fafb);--q-quantity-selector-btn-bg:transparent;--q-quantity-selector-btn-bg-hover:var(--q-bg-surface-3, #4b5563);--q-quantity-selector-btn-fg:var(--q-fg-muted, #9ca3af);--q-quantity-selector-btn-fg-hover:var(--q-fg-base, #f9fafb);--q-quantity-selector-char-width:1ch;--q-quantity-selector-input-padding:16px;display:inline-block;box-sizing:border-box}.quantity-selector{display:inline-flex;border:1px solid var(--q-quantity-selector-border-color);border-radius:var(--q-quantity-selector-radius);background:var(--q-quantity-selector-bg);box-sizing:border-box;overflow:hidden}.quantity-selector.variant-horizontal{flex-direction:row;align-items:center;height:var(--q-quantity-selector-height)}.quantity-selector.variant-vertical{flex-direction:column;align-items:center;width:var(--q-quantity-selector-width-vertical)}.quantity-input{border:none;background:var(--q-quantity-selector-input-bg);color:var(--q-quantity-selector-input-fg);text-align:center;font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-base, 1rem);margin:0;box-sizing:border-box;outline:none}.variant-horizontal .quantity-input{height:100%}.variant-vertical .quantity-input{width:100%;padding:6px 0}.quantity-btn{display:flex;align-items:center;justify-content:center;border:none;background:var(--q-quantity-selector-btn-bg);color:var(--q-quantity-selector-btn-fg);cursor:pointer;padding:0;margin:0;box-sizing:border-box;transition:background-color var(--q-transition-fast, 150ms ease), color var(--q-transition-fast, 150ms ease)}.quantity-btn:hover:not(:disabled){background:var(--q-quantity-selector-btn-bg-hover);color:var(--q-quantity-selector-btn-fg-hover)}.quantity-btn:disabled{opacity:0.4;cursor:not-allowed}.variant-horizontal .quantity-btn{width:var(--q-quantity-selector-height);height:100%}.variant-horizontal .quantity-btn-decrement{border-right:1px solid var(--q-quantity-selector-border-color)}.variant-horizontal .quantity-btn-increment{border-left:1px solid var(--q-quantity-selector-border-color)}.variant-vertical .quantity-btn{width:100%;height:var(--q-quantity-selector-height)}.variant-vertical .quantity-btn-increment{border-bottom:1px solid var(--q-quantity-selector-border-color)}.variant-vertical .quantity-btn-decrement{border-top:1px solid var(--q-quantity-selector-border-color)}.btn-icon{width:16px;height:16px}`;
5
+ const quantitySelectorCss = () => `:host{--q-quantity-selector-height:38px;--q-quantity-selector-width-vertical:50px;--q-quantity-selector-bg:var(--q-bg-surface-2, #374151);--q-quantity-selector-border-color:var(--q-border-color, #4b5563);--q-quantity-selector-radius:var(--q-radius-md, 8px);--q-quantity-selector-input-bg:var(--q-bg-base, #111827);--q-quantity-selector-input-fg:var(--q-fg-base, #f9fafb);--q-quantity-selector-btn-bg:transparent;--q-quantity-selector-btn-bg-hover:var(--q-bg-surface-3, #4b5563);--q-quantity-selector-btn-fg:var(--q-fg-muted, #9ca3af);--q-quantity-selector-btn-fg-hover:var(--q-fg-base, #f9fafb);--q-quantity-selector-char-width:1ch;--q-quantity-selector-input-padding:16px;display:inline-block;box-sizing:border-box}.quantity-selector{display:inline-flex;border:1px solid var(--q-quantity-selector-border-color);border-radius:var(--q-quantity-selector-radius);background:var(--q-quantity-selector-bg);box-sizing:border-box;overflow:hidden}.quantity-selector.variant-horizontal{flex-direction:row;align-items:center;height:var(--q-quantity-selector-height)}.quantity-selector.variant-vertical{flex-direction:column;align-items:center;width:var(--q-quantity-selector-width-vertical)}.quantity-input{border:none;background:var(--q-quantity-selector-input-bg);color:var(--q-quantity-selector-input-fg);text-align:center;font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-base, 1rem);margin:0;box-sizing:border-box;outline:none}.variant-horizontal .quantity-input{height:100%}.variant-vertical .quantity-input{width:100%;padding:6px 0}.quantity-btn{display:flex;align-items:center;justify-content:center;border:none;background:var(--q-quantity-selector-btn-bg);color:var(--q-quantity-selector-btn-fg);cursor:pointer;padding:0;margin:0;box-sizing:border-box;transition:background-color var(--q-transition-fast, 150ms ease), color var(--q-transition-fast, 150ms ease)}.quantity-btn:hover:not(:disabled){background:var(--q-quantity-selector-btn-bg-hover);color:var(--q-quantity-selector-btn-fg-hover)}.quantity-btn:disabled{opacity:0.4;cursor:not-allowed}.variant-horizontal .quantity-btn{width:var(--q-quantity-selector-height);height:100%}.variant-horizontal .quantity-btn-decrement{border-right:1px solid var(--q-quantity-selector-border-color)}.variant-horizontal .quantity-btn-increment{border-left:1px solid var(--q-quantity-selector-border-color)}.variant-vertical .quantity-btn{width:100%;height:var(--q-quantity-selector-height)}.variant-vertical .quantity-btn-increment{border-bottom:1px solid var(--q-quantity-selector-border-color)}.variant-vertical .quantity-btn-decrement{border-top:1px solid var(--q-quantity-selector-border-color)}.btn-icon{width:16px;height:16px}`;
6
6
 
7
7
  const QQuantitySelector = class {
8
8
  constructor(hostRef) {
@@ -159,13 +159,13 @@ const QQuantitySelector = class {
159
159
  render() {
160
160
  const isMinDisabled = this.min !== undefined && this.min !== null && this.value <= this.min;
161
161
  const isMaxDisabled = this.max !== undefined && this.max !== null && this.value >= this.max;
162
- const decBtn = (index.h("button", { key: '55b4acca6851dac3537285b6ef6d272f0418c57a', type: "button", class: "quantity-btn quantity-btn-decrement", onClick: this.decrement, disabled: isMinDisabled, "aria-label": "Decrement quantity" }, index.h("svg", { key: 'bc035000346799a2cd362a00f4a0511426032994', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "btn-icon" }, index.h("line", { key: 'e1db16fe1e0ddd879bd74f9efffdd844728d3dd4', x1: "5", y1: "12", x2: "19", y2: "12" }))));
163
- const incBtn = (index.h("button", { key: '23508b252e2b01f8e5b240c073c0d5f6505f81e5', type: "button", class: "quantity-btn quantity-btn-increment", onClick: this.increment, disabled: isMaxDisabled, "aria-label": "Increment quantity" }, index.h("svg", { key: 'cb0200203d8e68be664586e0cd0e84e006f04874', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "btn-icon" }, index.h("line", { key: '4bb7e0273607619f64448c2e9b97a4ca7c016f6e', x1: "12", y1: "5", x2: "12", y2: "19" }), index.h("line", { key: 'b41844b8d281198e047e74bbb7c1fe8e920a8d91', x1: "5", y1: "12", x2: "19", y2: "12" }))));
162
+ const decBtn = (index.h("button", { key: '312771e66716ec155a0ea0b1413108b2f20abf8d', type: "button", class: "quantity-btn quantity-btn-decrement", onClick: this.decrement, disabled: isMinDisabled, "aria-label": "Decrement quantity" }, index.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" }, index.h("line", { key: '23f3f7d027d07cf5f242e694b89fc97c51ae39f6', x1: "5", y1: "12", x2: "19", y2: "12" }))));
163
+ const incBtn = (index.h("button", { key: '54f1bb4565da0888816a571172134c8d6ccdd510', type: "button", class: "quantity-btn quantity-btn-increment", onClick: this.increment, disabled: isMaxDisabled, "aria-label": "Increment quantity" }, index.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" }, index.h("line", { key: '75603d5286cadd12adc891067381bfbea1b81a7e', x1: "12", y1: "5", x2: "12", y2: "19" }), index.h("line", { key: '3056566aff835391b6398ae6ac1307957460029f', x1: "5", y1: "12", x2: "19", y2: "12" }))));
164
164
  const calculatedWidth = this.variant === 'horizontal' ? this.getCalculatedWidth() : '100%';
165
- return (index.h("div", { key: 'c660094ef10f7f0b475021b4200ba82c58092144', class: {
165
+ return (index.h("div", { key: '60ff32f3526634d5c7579706b1092e893f735ed6', class: {
166
166
  'quantity-selector': true,
167
167
  [`variant-${this.variant}`]: true
168
- }, onClick: this.handleClick }, this.variant === 'vertical' ? incBtn : decBtn, index.h("input", { key: 'eeaebd36ad769c698407afef58c9a703e65b1f9c', 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));
168
+ }, onClick: this.handleClick }, this.variant === 'vertical' ? incBtn : decBtn, index.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));
169
169
  }
170
170
  static get watchers() { return {
171
171
  "value": [{
@@ -106,10 +106,10 @@ const QReel = class {
106
106
  : -1;
107
107
  const hasPrev = currentIdx > 0;
108
108
  const hasNext = currentIdx !== -1 && currentIdx < thumbnails.length - 1;
109
- return (index.h("div", { key: '6c4113f13bf58a9d12f83a9f58801df0118c766a', class: {
109
+ return (index.h("div", { key: '2ce9931e065fd28d2c7d80d951d51bb3d3336e41', class: {
110
110
  'reel-container': true,
111
111
  [`layout-${this.layout}`]: true
112
- } }, index.h("slot", { key: 'd3f7461a838223ce53a746bc4e094bb91813f20b' }), this.activeMedia && (index.h("div", { key: '65b8971b0418497fb4bf85641fc9e5f67fbe3e79', class: "lightbox-overlay", onClick: this.closeLightbox, onKeyDown: this.handleKeyDown, role: "dialog", "aria-modal": "true", "aria-label": this.activeMedia.label || 'Media Viewer' }, index.h("button", { key: '64fab78e866f63ce0a8d7606244d2d41457f41e2', class: "lightbox-close", onClick: this.closeLightbox, "aria-label": "Close viewer", ref: (el) => (this.closeButtonRef = el) }, index.h("svg", { key: 'f3dd66cdd3a4588d093821c3cdcdb60c365b9ed4', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("line", { key: 'd4f8eec883d3cc2538a553a05074f2a7a72c6ae9', x1: "18", y1: "6", x2: "6", y2: "18" }), index.h("line", { key: 'a97fb533d7c77af3218c7a6ade40998ceb7afda5', x1: "6", y1: "6", x2: "18", y2: "18" }))), hasPrev && (index.h("button", { key: 'ddb9a5b14181cfebb2751dcb13796f3ab7dc788b', class: "lightbox-prev", onClick: (e) => { e.stopPropagation(); this.navigateMedia(currentIdx - 1); }, "aria-label": "Previous media" }, index.h("svg", { key: '8fa19e6cdf47d35ae1a19876da0a3d7b451dc917', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("polyline", { key: '204f49342c658dc14e76978621884d368d480946', points: "15 18 9 12 15 6" })))), hasNext && (index.h("button", { key: '738fa688ee3755ae00c45a4748ff59eb0c40a84e', class: "lightbox-next", onClick: (e) => { e.stopPropagation(); this.navigateMedia(currentIdx + 1); }, "aria-label": "Next media" }, index.h("svg", { key: 'a7380e0dcb61c90981ed9fd90a516cd6e17ca554', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("polyline", { key: '47e553f7e41038be3f062d8b9ad9bef2f19d5888', points: "9 18 15 12 9 6" })))), index.h("div", { key: '7de97b86549036efe773313060bfa083d10f65bb', class: "lightbox-content", onClick: (e) => e.stopPropagation() }, this.activeMedia.video ? (index.h("video", { class: "lightbox-media", src: this.activeMedia.src, controls: true, autoplay: true, loop: true })) : (index.h("img", { class: "lightbox-media", src: this.activeMedia.src, alt: this.activeMedia.alt })), this.activeMedia.label && (index.h("div", { key: '59347d6139ed249f923618b0a8bb2945c47918db', class: "lightbox-caption" }, this.activeMedia.label)))))));
112
+ } }, index.h("slot", { key: '30a8ddcc87e1e8940aabbfb1b276a9dee5c67de3' }), this.activeMedia && (index.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' }, index.h("button", { key: '15581b278c7ae0fe13dbbaaf9151fa1eb1e16e34', class: "lightbox-close", onClick: this.closeLightbox, "aria-label": "Close viewer", ref: (el) => (this.closeButtonRef = el) }, index.h("svg", { key: '00de7e92516e1a2545af4601e79dd745be61dae0', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("line", { key: '4144f5df9ac5a34dc3e55bce7d2eb881683f8b49', x1: "18", y1: "6", x2: "6", y2: "18" }), index.h("line", { key: '5d122209eb70496afbf666285626d5f143aaac1c', x1: "6", y1: "6", x2: "18", y2: "18" }))), hasPrev && (index.h("button", { key: '37571f72e4fe552742072a43088434fdf220e40b', class: "lightbox-prev", onClick: (e) => { e.stopPropagation(); this.navigateMedia(currentIdx - 1); }, "aria-label": "Previous media" }, index.h("svg", { key: 'fb9bdafaf62127a5806322ba13a765721f970b00', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("polyline", { key: '94239daf6b5bc2ae3ff59561583babcc0e91ca8b', points: "15 18 9 12 15 6" })))), hasNext && (index.h("button", { key: '5b811562dbdb97e37a37ba697cbef79b1294c47a', class: "lightbox-next", onClick: (e) => { e.stopPropagation(); this.navigateMedia(currentIdx + 1); }, "aria-label": "Next media" }, index.h("svg", { key: '84a30780aadaed9e854fff333c00513d7148a433', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("polyline", { key: 'c10b7ae27ee4975d11f9cab2ae4dccbf050bafbb', points: "9 18 15 12 9 6" })))), index.h("div", { key: 'f10192adfd9ca929724fadbc4bed477434db421a', class: "lightbox-content", onClick: (e) => e.stopPropagation() }, this.activeMedia.video ? (index.h("video", { class: "lightbox-media", src: this.activeMedia.src, controls: true, autoplay: true, loop: true })) : (index.h("img", { class: "lightbox-media", src: this.activeMedia.src, alt: this.activeMedia.alt })), this.activeMedia.label && (index.h("div", { key: '86342c4b053bcd0507947980af05da1ddcb86128', class: "lightbox-caption" }, this.activeMedia.label)))))));
113
113
  }
114
114
  };
115
115
  QReel.style = reelCss();
@@ -35,12 +35,12 @@ const QStepDiagramItem = class {
35
35
  };
36
36
  // ===================== [6] RENDER (Visual Template Only) =====================
37
37
  render() {
38
- return (index.h("div", { key: '9cccbc15939e9192205a5d6efd37c81f13e0eccb', class: {
38
+ return (index.h("div", { key: '628aa861eb90f3df994e6b4065f01dfd80df6f1d', class: {
39
39
  'step-item': true,
40
40
  [`status-${this.status}`]: true,
41
41
  [`line-${this.lineStyle}`]: true,
42
42
  [`layout-${this.layout}`]: true
43
- } }, index.h("div", { key: '53361dba74377dcdb2b8cc7118fdf01a677e1099', class: "step-line-container" }, index.h("div", { key: 'a0bece09834c856eeadd40eb089d25b1fb04271e', class: "step-badge", onClick: this.handleTrigger, "aria-hidden": "true", part: "badge" }, index.h("slot", { key: 'e388b8c453834ac12a5983df68288145f868646b', name: "badge" }, index.h("div", { key: '6b730ae80a7eabc1a3f7768df86a34d709be2d79', class: "badge-dot" }))), index.h("div", { key: '63c90f4cab64e81e427f37c0350326115bc987dc', class: "step-connector", part: "connector" })), index.h("div", { key: 'dee57a6882fe871295e52da970515771e19e900b', class: "step-content", onClick: this.handleTrigger, onKeyDown: this.handleKeyDown, tabindex: "0", role: "button", part: "content" }, index.h("div", { key: '2985ceed5413a2b78cdf55421fab06d3c91e77d0', class: "step-title", part: "title" }, index.h("slot", { key: '4d0fd865662d83602268eb23bd9ebe7ec8c83dce', name: "title" })), index.h("div", { key: '8b7f93fed3d0bf117acbb0354009186493fe44cf', class: "step-body", part: "body" }, index.h("slot", { key: '1c3ee8084521a9a799e3b2444b1edc0c1cee5066' })))));
43
+ } }, index.h("div", { key: 'a0fda22f18cebfe0104f45ecf1c2e031fc1a99d9', class: "step-line-container" }, index.h("div", { key: '1893d14cb21de1f51390a4c1d6b1ec9c2b488d93', class: "step-badge", onClick: this.handleTrigger, "aria-hidden": "true", part: "badge" }, index.h("slot", { key: 'd0140c73e8e665ca5f8a479d34498182046daedd', name: "badge" }, index.h("div", { key: '57b0b84a560ea075082836bce5aff8b073d0b1bf', class: "badge-dot" }))), index.h("div", { key: '68d224c94253a4a875725376a070e35831a1b3ab', class: "step-connector", part: "connector" })), index.h("div", { key: 'edad015eba09c9ee50facf98ae6eca671fc2a050', class: "step-content", onClick: this.handleTrigger, onKeyDown: this.handleKeyDown, tabindex: "0", role: "button", part: "content" }, index.h("div", { key: '332ac2593699abb351dc173a8342a737c8f4733d', class: "step-title", part: "title" }, index.h("slot", { key: '8d42e1e208a6e15e789a19178dcf2ad4c9164d7d', name: "title" })), index.h("div", { key: '915090746941b268fc583e4e3d607bd40a663b79', class: "step-body", part: "body" }, index.h("slot", { key: '508910bf5022a3d09d9778dc6418994159523d8f' })))));
44
44
  }
45
45
  };
46
46
  QStepDiagramItem.style = stepDiagramItemCss();
@@ -31,10 +31,10 @@ const QStepDiagram = class {
31
31
  }
32
32
  // ===================== [6] RENDER (Visual Template Only) =====================
33
33
  render() {
34
- return (index.h("div", { key: '94297a1d6ea99f5af697391cdba9414a4fdbfd25', class: {
34
+ return (index.h("div", { key: 'c95a7566f474f603c2ea7ed3ac5e7b2c14776cd1', class: {
35
35
  'step-diagram': true,
36
36
  [`layout-${this.layout}`]: true
37
- } }, index.h("slot", { key: '4c401a77de3144deb3617e1f6f079d4c9208b560', onSlotchange: this.handleSlotChange })));
37
+ } }, index.h("slot", { key: '619799441b1a1769bba82f015bd23ab571f6a81a', onSlotchange: this.handleSlotChange })));
38
38
  }
39
39
  static get watchers() { return {
40
40
  "layout": [{