@webquark/core 1.0.1 → 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 -97
  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
@@ -1,219 +1,219 @@
1
- :host {
2
- display: block;
3
- width: 100%;
4
- box-sizing: border-box;
5
- }
6
-
7
- .table-container {
8
- width: 100%;
9
- height: 100%;
10
- display: flex;
11
- flex-direction: column;
12
- border: var(--q-border, 1px solid var(--q-border-color, #374151));
13
- border-radius: var(--q-radius-lg, 11px);
14
- background: var(--q-bg-base, #111827);
15
- box-shadow: var(--q-shadow-low, 0 2px 4px rgba(0, 0, 0, 0.2));
16
- overflow: hidden;
17
- }
18
-
19
- .table-scroll-area {
20
- width: 100%;
21
- overflow: auto;
22
- flex: 1;
23
- min-height: 0;
24
- max-height: var(--q-table-max-height, 100%);
25
- position: relative;
26
-
27
- /* Firefox compatibility */
28
- scrollbar-width: var(--q-scrollbar-width-thin, thin);
29
- scrollbar-color: var(--q-scrollbar-thumb-color, var(--q-border-color, #374151)) var(--q-scrollbar-track-color, transparent);
30
- }
31
-
32
- /* Webkit scrollbar support */
33
- .table-scroll-area::-webkit-scrollbar {
34
- width: var(--q-scrollbar-width, 6px);
35
- height: var(--q-scrollbar-width, 6px);
36
- }
37
-
38
- .table-scroll-area::-webkit-scrollbar-track {
39
- background: var(--q-scrollbar-track-color, transparent);
40
- }
41
-
42
- .table-scroll-area::-webkit-scrollbar-thumb {
43
- background: var(--q-scrollbar-thumb-color, var(--q-border-color, #374151));
44
- border-radius: var(--q-scrollbar-radius, var(--q-radius-sm, 4px));
45
- }
46
-
47
- .table-scroll-area::-webkit-scrollbar-thumb:hover {
48
- background: var(--q-scrollbar-thumb-color-hover, var(--q-color-primary, #60a5fa));
49
- }
50
-
51
- .table-el {
52
- width: 100%;
53
- border-collapse: collapse;
54
- border-spacing: 0;
55
- text-align: left;
56
- font-family: var(--q-font-family, inherit);
57
- font-size: var(--q-font-size-base, 0.9rem);
58
- color: var(--q-fg-base, #f9fafb);
59
- }
60
-
61
- th, td {
62
- padding: var(--q-padding-md, 12px 16px);
63
- box-sizing: border-box;
64
- }
65
-
66
- th {
67
- position: sticky;
68
- top: 0;
69
- z-index: 10;
70
- background: var(--q-bg-surface-1, #1f2937);
71
- color: var(--q-fg-muted, #9ca3af);
72
- font-weight: var(--q-font-weight-bold, 700);
73
- font-size: var(--q-font-size-xs, 0.7rem);
74
- text-transform: uppercase;
75
- letter-spacing: 0.05em;
76
- border-bottom: 1px solid var(--q-border-color, #374151);
77
- user-select: none;
78
- }
79
-
80
- /* Toolbar Styling */
81
- .table-toolbar {
82
- display: flex;
83
- align-items: center;
84
- justify-content: space-between;
85
- gap: 12px;
86
- padding: 12px 16px;
87
- border-bottom: var(--q-border, 1px solid var(--q-border-color, #374151));
88
- background: var(--q-bg-surface-1, #1f2937);
89
- box-sizing: border-box;
90
- }
91
-
92
- .toolbar-left {
93
- display: flex;
94
- align-items: center;
95
- gap: 12px;
96
- flex: 1;
97
- }
98
-
99
- .toolbar-right {
100
- display: flex;
101
- align-items: center;
102
- gap: 8px;
103
- margin-left: auto;
104
- }
105
-
106
- .toolbar-title {
107
- font-family: var(--q-font-family, inherit);
108
- font-size: var(--q-font-size-base, 0.9rem);
109
- font-weight: var(--q-font-weight-bold, 600);
110
- color: var(--q-fg-base, #f9fafb);
111
- }
112
-
113
- .search-input {
114
- width: 240px;
115
- }
116
-
117
- .search-icon-svg {
118
- width: 14px;
119
- height: 14px;
120
- color: var(--q-fg-muted, #9ca3af);
121
- }
122
-
123
- .col-selection, .cell-selection {
124
- width: 48px;
125
- text-align: center;
126
- padding-right: 0;
127
- }
128
-
129
- .checkbox-input {
130
- width: 16px;
131
- height: 16px;
132
- border-radius: var(--q-radius-sm, 4px);
133
- border: 1px solid var(--q-border-color, #374151);
134
- background: var(--q-bg-surface-2, #374151);
135
- accent-color: var(--q-color-primary, #60a5fa);
136
- cursor: pointer;
137
- outline: none;
138
- transition: var(--q-transition-fast, 150ms ease);
139
- }
140
-
141
- .checkbox-input:focus-visible {
142
- outline: var(--q-focus-ring, 2px solid var(--q-color-primary, #60a5fa));
143
- outline-offset: 2px;
144
- }
145
-
146
- .row-el {
147
- background: transparent;
148
- cursor: pointer;
149
- outline: none;
150
- border-bottom: 1px solid var(--q-border-color, #374151);
151
- transition: background var(--q-transition-fast, 150ms ease);
152
- }
153
-
154
- .row-el:last-child {
155
- border-bottom: none;
156
- }
157
-
158
- .row-el:hover {
159
- background: var(--q-bg-surface-1, #1f2937);
160
- }
161
-
162
- .row-el:focus-visible {
163
- outline: var(--q-focus-ring, 2px solid var(--q-color-primary, #60a5fa));
164
- outline-offset: -2px;
165
- }
166
-
167
- /* Selected row style */
168
- .row-el.is-selected {
169
- background: color-mix(in srgb, var(--q-color-primary, #60a5fa) 8%, var(--q-bg-base, #111827));
170
- }
171
-
172
- .row-el.is-selected:hover {
173
- background: color-mix(in srgb, var(--q-color-primary, #60a5fa) 12%, var(--q-bg-base, #111827));
174
- }
175
-
176
- .empty-cell {
177
- text-align: center;
178
- color: var(--q-fg-muted, #9ca3af);
179
- padding: calc(var(--q-padding-lg, 16px) * 2) var(--q-padding-lg, 16px);
180
- }
181
-
182
- .loading-placeholder-cell {
183
- height: 160px;
184
- border: none !important;
185
- background: transparent !important;
186
- }
187
-
188
- .table-loading-overlay {
189
- position: absolute;
190
- top: 44px;
191
- left: 0;
192
- right: 0;
193
- bottom: 0;
194
- display: flex;
195
- align-items: center;
196
- justify-content: center;
197
- background: var(--q-bg-base, #111827);
198
- z-index: 20;
199
- }
200
-
201
- ::slotted([slot="footer"]) {
202
- background: var(--q-bg-surface-1, #1f2937);
203
- border-top: var(--q-border, 1px solid var(--q-border-color, #374151));
204
- box-sizing: border-box;
205
- height: 36px;
206
- display: flex;
207
- align-items: center;
208
- justify-content: space-between;
209
- padding: 0 var(--q-padding-lg, 16px);
210
- padding-bottom: 1px;
211
- }
212
-
213
- ::slotted(q-dropdown) {
214
- --q-dropdown-bg: var(--q-table-dropdown-bg, var(--q-dropdown-bg));
215
- --q-dropdown-menu-bg: var(--q-table-dropdown-menu-bg, var(--q-dropdown-menu-bg));
216
- --q-dropdown-border: var(--q-table-dropdown-border, var(--q-dropdown-border));
217
- --q-color-primary: var(--q-table-dropdown-primary, var(--q-color-primary));
218
- --q-fg-base: var(--q-table-dropdown-fg, var(--q-fg-base));
219
- }
1
+ :host {
2
+ display: block;
3
+ width: 100%;
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ .table-container {
8
+ width: 100%;
9
+ height: 100%;
10
+ display: flex;
11
+ flex-direction: column;
12
+ border: var(--q-border, 1px solid var(--q-border-color, #374151));
13
+ border-radius: var(--q-radius-lg, 11px);
14
+ background: var(--q-bg-base, #111827);
15
+ box-shadow: var(--q-shadow-low, 0 2px 4px rgba(0, 0, 0, 0.2));
16
+ overflow: hidden;
17
+ }
18
+
19
+ .table-scroll-area {
20
+ width: 100%;
21
+ overflow: auto;
22
+ flex: 1;
23
+ min-height: 0;
24
+ max-height: var(--q-table-max-height, 100%);
25
+ position: relative;
26
+
27
+ /* Firefox compatibility */
28
+ scrollbar-width: var(--q-scrollbar-width-thin, thin);
29
+ scrollbar-color: var(--q-scrollbar-thumb-color, var(--q-border-color, #374151)) var(--q-scrollbar-track-color, transparent);
30
+ }
31
+
32
+ /* Webkit scrollbar support */
33
+ .table-scroll-area::-webkit-scrollbar {
34
+ width: var(--q-scrollbar-width, 6px);
35
+ height: var(--q-scrollbar-width, 6px);
36
+ }
37
+
38
+ .table-scroll-area::-webkit-scrollbar-track {
39
+ background: var(--q-scrollbar-track-color, transparent);
40
+ }
41
+
42
+ .table-scroll-area::-webkit-scrollbar-thumb {
43
+ background: var(--q-scrollbar-thumb-color, var(--q-border-color, #374151));
44
+ border-radius: var(--q-scrollbar-radius, var(--q-radius-sm, 4px));
45
+ }
46
+
47
+ .table-scroll-area::-webkit-scrollbar-thumb:hover {
48
+ background: var(--q-scrollbar-thumb-color-hover, var(--q-color-primary, #60a5fa));
49
+ }
50
+
51
+ .table-el {
52
+ width: 100%;
53
+ border-collapse: collapse;
54
+ border-spacing: 0;
55
+ text-align: left;
56
+ font-family: var(--q-font-family, inherit);
57
+ font-size: var(--q-font-size-base, 0.9rem);
58
+ color: var(--q-fg-base, #f9fafb);
59
+ }
60
+
61
+ th, td {
62
+ padding: var(--q-padding-md, 12px 16px);
63
+ box-sizing: border-box;
64
+ }
65
+
66
+ th {
67
+ position: sticky;
68
+ top: 0;
69
+ z-index: 10;
70
+ background: var(--q-bg-surface-1, #1f2937);
71
+ color: var(--q-fg-muted, #9ca3af);
72
+ font-weight: var(--q-font-weight-bold, 700);
73
+ font-size: var(--q-font-size-xs, 0.7rem);
74
+ text-transform: uppercase;
75
+ letter-spacing: 0.05em;
76
+ border-bottom: 1px solid var(--q-border-color, #374151);
77
+ user-select: none;
78
+ }
79
+
80
+ /* Toolbar Styling */
81
+ .table-toolbar {
82
+ display: flex;
83
+ align-items: center;
84
+ justify-content: space-between;
85
+ gap: 12px;
86
+ padding: 12px 16px;
87
+ border-bottom: var(--q-border, 1px solid var(--q-border-color, #374151));
88
+ background: var(--q-bg-surface-1, #1f2937);
89
+ box-sizing: border-box;
90
+ }
91
+
92
+ .toolbar-left {
93
+ display: flex;
94
+ align-items: center;
95
+ gap: 12px;
96
+ flex: 1;
97
+ }
98
+
99
+ .toolbar-right {
100
+ display: flex;
101
+ align-items: center;
102
+ gap: 8px;
103
+ margin-left: auto;
104
+ }
105
+
106
+ .toolbar-title {
107
+ font-family: var(--q-font-family, inherit);
108
+ font-size: var(--q-font-size-base, 0.9rem);
109
+ font-weight: var(--q-font-weight-bold, 600);
110
+ color: var(--q-fg-base, #f9fafb);
111
+ }
112
+
113
+ .search-input {
114
+ width: 240px;
115
+ }
116
+
117
+ .search-icon-svg {
118
+ width: 14px;
119
+ height: 14px;
120
+ color: var(--q-fg-muted, #9ca3af);
121
+ }
122
+
123
+ .col-selection, .cell-selection {
124
+ width: 48px;
125
+ text-align: center;
126
+ padding-right: 0;
127
+ }
128
+
129
+ .checkbox-input {
130
+ width: 16px;
131
+ height: 16px;
132
+ border-radius: var(--q-radius-sm, 4px);
133
+ border: 1px solid var(--q-border-color, #374151);
134
+ background: var(--q-bg-surface-2, #374151);
135
+ accent-color: var(--q-color-primary, #60a5fa);
136
+ cursor: pointer;
137
+ outline: none;
138
+ transition: var(--q-transition-fast, 150ms ease);
139
+ }
140
+
141
+ .checkbox-input:focus-visible {
142
+ outline: var(--q-focus-ring, 2px solid var(--q-color-primary, #60a5fa));
143
+ outline-offset: 2px;
144
+ }
145
+
146
+ .row-el {
147
+ background: transparent;
148
+ cursor: pointer;
149
+ outline: none;
150
+ border-bottom: 1px solid var(--q-border-color, #374151);
151
+ transition: background var(--q-transition-fast, 150ms ease);
152
+ }
153
+
154
+ .row-el:last-child {
155
+ border-bottom: none;
156
+ }
157
+
158
+ .row-el:hover {
159
+ background: var(--q-bg-surface-1, #1f2937);
160
+ }
161
+
162
+ .row-el:focus-visible {
163
+ outline: var(--q-focus-ring, 2px solid var(--q-color-primary, #60a5fa));
164
+ outline-offset: -2px;
165
+ }
166
+
167
+ /* Selected row style */
168
+ .row-el.is-selected {
169
+ background: color-mix(in srgb, var(--q-color-primary, #60a5fa) 8%, var(--q-bg-base, #111827));
170
+ }
171
+
172
+ .row-el.is-selected:hover {
173
+ background: color-mix(in srgb, var(--q-color-primary, #60a5fa) 12%, var(--q-bg-base, #111827));
174
+ }
175
+
176
+ .empty-cell {
177
+ text-align: center;
178
+ color: var(--q-fg-muted, #9ca3af);
179
+ padding: calc(var(--q-padding-lg, 16px) * 2) var(--q-padding-lg, 16px);
180
+ }
181
+
182
+ .loading-placeholder-cell {
183
+ height: 160px;
184
+ border: none !important;
185
+ background: transparent !important;
186
+ }
187
+
188
+ .table-loading-overlay {
189
+ position: absolute;
190
+ top: 44px;
191
+ left: 0;
192
+ right: 0;
193
+ bottom: 0;
194
+ display: flex;
195
+ align-items: center;
196
+ justify-content: center;
197
+ background: var(--q-bg-base, #111827);
198
+ z-index: 20;
199
+ }
200
+
201
+ ::slotted([slot="footer"]) {
202
+ background: var(--q-bg-surface-1, #1f2937);
203
+ border-top: var(--q-border, 1px solid var(--q-border-color, #374151));
204
+ box-sizing: border-box;
205
+ height: 36px;
206
+ display: flex;
207
+ align-items: center;
208
+ justify-content: space-between;
209
+ padding: 0 var(--q-padding-lg, 16px);
210
+ padding-bottom: 1px;
211
+ }
212
+
213
+ ::slotted(q-dropdown) {
214
+ --q-dropdown-bg: var(--q-table-dropdown-bg, var(--q-dropdown-bg));
215
+ --q-dropdown-menu-bg: var(--q-table-dropdown-menu-bg, var(--q-dropdown-menu-bg));
216
+ --q-dropdown-border: var(--q-table-dropdown-border, var(--q-dropdown-border));
217
+ --q-color-primary: var(--q-table-dropdown-primary, var(--q-color-primary));
218
+ --q-fg-base: var(--q-table-dropdown-fg, var(--q-fg-base));
219
+ }
@@ -163,7 +163,7 @@ export class QDataTable {
163
163
  const items = this.getParsedItems();
164
164
  const { checked, indeterminate } = this.getSelectionState();
165
165
  const currentKeys = this.selectedKeys || [];
166
- return (h("div", { key: 'd1f7497d90ce30c10db261e8e0a571505b6c3b57', class: "table-container", role: "grid" }, this.showToolbar && (h("div", { key: 'f0e965a5186e567a93f0825a4d16f99343c42f47', class: "table-toolbar" }, h("div", { key: '2ebc759bd740e9de83cf78c0515c2c16dff7deba', class: "toolbar-left" }, this.toolbarTitle && h("span", { key: '536c738d598cb2c768e18934913d2743409c36f3', class: "toolbar-title" }, this.toolbarTitle), h("slot", { key: 'ba5c14098bf0c3864538ca57e0e0465bb18e0f16', name: "toolbar-left" }), this.showSearch && (h("q-input", { key: '36683031c998536df6aba54242e0c1fcf2d4d7d0', class: "search-input", placeholder: this.searchPlaceholder, value: this.searchValue, onQInput: this.handleSearchInput, size: "sm" }, 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' } }, h("circle", { key: 'b54fd1a1b7b44da93600b122f31bd51b91b4b6ee', cx: "11", cy: "11", r: "8" }), h("line", { key: 'bc04dfb4807965ccfeb99c6f2140e49d6f2413d9', x1: "21", y1: "21", x2: "16.65", y2: "16.65" })))), h("slot", { key: '970b76eaf8c5a4fd965feda097f00bd092d8b1e4', name: "filters" })), h("div", { key: 'cae72db94e7aa8496677ad3a1350fe42871057de', class: "toolbar-right" }, h("slot", { key: '499fdd0dd6552345ac4e65fddb3fb24baf1acf7b', name: "actions" })))), h("div", { key: '5e1e109cbe9f738d66c57c01f1349ca50e30dd4d', class: "table-scroll-area" }, h("table", { key: 'ea7d69aac2b381909ecfd1b6320d7cd6cfd45a6d', class: "table-el" }, h("thead", { key: 'dece4cde7dd2cf679dda2ae22b8e02fe7f44af48' }, h("tr", { key: '0e9428c41614274f577ea597a13e60697163eb02', role: "row" }, this.selectable && (h("th", { key: '5e4556331a20b09b5df575cafad572e4feeb3e44', class: "col-selection", role: "columnheader" }, h("input", { key: '145b0f0445b6da2f05f396fcdc75f3d3f6471a6f', type: "checkbox", class: "checkbox-input", checked: checked, ref: el => {
166
+ return (h("div", { key: '9406bf5ed8f39171e9fb5a60214a95f72392f8be', class: "table-container", role: "grid" }, this.showToolbar && (h("div", { key: '773a82dcbe114e3f155f9b5ce4a09160b91e6bbc', class: "table-toolbar" }, h("div", { key: 'ff5bc1ebb7078b5ac122214a4e56789cc94d6855', class: "toolbar-left" }, this.toolbarTitle && h("span", { key: 'd600b267d65ae2bee5bdc4a8c90346c309b43332', class: "toolbar-title" }, this.toolbarTitle), h("slot", { key: 'c48b8d5b993517eb65ee509de99eb6a76a8633a9', name: "toolbar-left" }), this.showSearch && (h("q-input", { key: '852d92ab93ad8bba5ced8cc6cda1995f285c1987', class: "search-input", placeholder: this.searchPlaceholder, value: this.searchValue, onQInput: this.handleSearchInput, size: "sm" }, 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' } }, h("circle", { key: '5023171b1fe66e057f4fd83ac583807b44ae7f5a', cx: "11", cy: "11", r: "8" }), h("line", { key: 'abcbfb3d506ad763347ffba58ceb7df25d590e87', x1: "21", y1: "21", x2: "16.65", y2: "16.65" })))), h("slot", { key: 'd2b08343660f93f13dbe4592e878c86b070c58a0', name: "filters" })), h("div", { key: '3c4cc5067d2a197a949c999f7646092c4180d786', class: "toolbar-right" }, h("slot", { key: 'b8789b247c03a3bf9817f5aa9b3cf0104ca3f1cb', name: "actions" })))), h("div", { key: 'a9b607183bb148f097689fb731f8a11ee6528ef4', class: "table-scroll-area" }, h("table", { key: '65300d96fe822676f7ec7f18761207804d88a8db', class: "table-el" }, h("thead", { key: '7bdaec164ca21ac54d1529733e3a46dedd23b3cc' }, h("tr", { key: '6b32157933e443c5f465106189b6e45d88f64576', role: "row" }, this.selectable && (h("th", { key: '654f65e2e22cbc8d07bd2eacceb7e59df5ebd821', class: "col-selection", role: "columnheader" }, h("input", { key: '29c5d83760da89694c4a1c549cfab517bbe6f8c1', type: "checkbox", class: "checkbox-input", checked: checked, ref: el => {
167
167
  if (el)
168
168
  el.indeterminate = indeterminate;
169
169
  }, onChange: e => this.toggleAllSelection(e), "aria-label": "Select all rows" }))), columns.map(col => {
@@ -172,14 +172,14 @@ export class QDataTable {
172
172
  style.width = col.width;
173
173
  }
174
174
  return (h("th", { style: style, class: col.className || '', role: "columnheader" }, this.getHeaderLabel(col)));
175
- }))), h("tbody", { key: '8d30e95b82fee30062d75b3be05c8606c5eac583' }, this.loading ? (h("tr", { role: "row" }, h("td", { colSpan: columns.length + (this.selectable ? 1 : 0), class: "loading-placeholder-cell", role: "gridcell" }))) : items.length === 0 ? (h("tr", { role: "row" }, h("td", { colSpan: columns.length + (this.selectable ? 1 : 0), class: "empty-cell", role: "gridcell" }, h("slot", { name: "empty" }, "No data available")))) : (items.map((item, index) => {
175
+ }))), h("tbody", { key: '822358cbd5fc14d4caf43e5bfd853bac7e94d018' }, this.loading ? (h("tr", { role: "row" }, h("td", { colSpan: columns.length + (this.selectable ? 1 : 0), class: "loading-placeholder-cell", role: "gridcell" }))) : items.length === 0 ? (h("tr", { role: "row" }, h("td", { colSpan: columns.length + (this.selectable ? 1 : 0), class: "empty-cell", role: "gridcell" }, h("slot", { name: "empty" }, "No data available")))) : (items.map((item, index) => {
176
176
  const key = this.getItemKey(item, index);
177
177
  const isSelected = currentKeys.includes(key);
178
178
  return (h("tr", { key: key, class: {
179
179
  'row-el': true,
180
180
  'is-selected': isSelected,
181
181
  }, tabindex: "0", role: "row", "aria-selected": isSelected ? 'true' : 'false', onClick: e => this.handleRowClick(item, index, e), onKeyDown: e => this.handleRowKeyDown(item, index, e) }, this.selectable && (h("td", { class: "cell-selection", role: "gridcell" }, h("input", { type: "checkbox", class: "checkbox-input", checked: isSelected, onChange: e => this.toggleRowSelection(item, index, e), "aria-label": `Select row ${index + 1}` }))), columns.map(col => (h("td", { class: col.className || '', role: "gridcell" }, this.renderCell(item, col))))));
182
- })))), this.loading && (h("div", { key: 'f43cbcb30cd3e17d5888d3bddd6f6399677e037f', class: "table-loading-overlay" }, h("q-circular-progress", { key: '108c0f29de8920207915dcb6a8e377c563dc9ff2', indeterminate: true, size: "sm" })))), h("slot", { key: '286522e44ec88babaa50aad8cbc4eea48df36563', name: "footer" })));
182
+ })))), this.loading && (h("div", { key: '4e2426999eb39207949b3b1936183bc0520e829c', class: "table-loading-overlay" }, h("q-circular-progress", { key: 'b401481321b61cc0ade0ad1213a95040dd77245a', indeterminate: true, size: "sm" })))), h("slot", { key: '8d2af8ee3bfeeebbc92f1c472dceff1c67f1b966', name: "footer" })));
183
183
  }
184
184
  static get is() { return "q-data-table"; }
185
185
  static get encapsulation() { return "shadow"; }
@@ -204,7 +204,7 @@ export class QDataTable {
204
204
  "references": {
205
205
  "TableColumn": {
206
206
  "location": "local",
207
- "path": "C:/Dev/DR/WebQuark/src/components/data-table/data-table.tsx",
207
+ "path": "D:/Dev/WebApps/WebQuark/src/components/data-table/data-table.tsx",
208
208
  "id": "src/components/data-table/data-table.tsx::TableColumn"
209
209
  }
210
210
  }
@@ -120,7 +120,7 @@ export class QDialog {
120
120
  'is-open': this.isAnimatedOpen,
121
121
  'is-visible': this.isVisible,
122
122
  };
123
- return (h("div", { key: 'faa25638a0e67ce8e6db3e4cdd771848f1d6c065', class: classes, onKeyDown: this.handleKeyDown, inert: !this.open ? true : undefined }, h("div", { key: 'cd966a6287e76c7d73e6617c6bb23713a8e096ad', class: "dialog-backdrop", onClick: this.handleBackdropClick, part: "backdrop" }), 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" }, h("header", { key: '3defaf7f32bc95870a50c1022cbf7d3c82cd708a', class: "dialog-header", part: "header" }, h("slot", { key: '54ca55624115965f3d4a14e5966aec40d0aeba4c', name: "header" }, titleText && h("h2", { key: 'e0ab2a95da072d382a0240e7822dffd1c3646063', class: "dialog-title" }, titleText)), h("button", { key: '2ccdc25e9e63ee86921702bea740525dce6df4b7', class: "dialog-close-btn", onClick: this.handleCloseButton, "aria-label": "Close dialog", disabled: this.loading, part: "close-btn" }, h("svg", { key: '47ecbba13fbafb95a631387c97ec2b06c14dccf1', class: "close-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("line", { key: '1aa7172f6ee838d7fe7914cd1d6ab6f24f6f862b', x1: "18", y1: "6", x2: "6", y2: "18" }), h("line", { key: 'b3e5e4f527b12e0e0c8ba9f5ea7a9dc0a925769d', x1: "6", y1: "6", x2: "18", y2: "18" })))), h("div", { key: '58f5e99edc8e9903bb5afc537fb908e73fd02443', class: "dialog-body", part: "body" }, h("slot", { key: '30cf8d109e64291fe417781a6f3f001df2f7cb13' }, this.message && h("p", { key: '71a75cfe855bf4ccb29a898870a532a871fe2560', class: "dialog-message" }, this.message))), h("footer", { key: 'f9030a7fb3ca7760aa86d06dbf60e3d16c336a55', class: "dialog-footer", part: "footer" }, h("slot", { key: 'a2a48f6d0841b64cf6c950fcec1a23ad6eefcb5d', name: "footer" }, h("div", { key: '36e81f9c64c2883e2d78c69fd323c3ed83b6d183', class: "dialog-actions" }, this.showCancel && (h("button", { key: '891fedffa200be88e0c42a5f6e8ae7373ed58f55', class: "btn-cancel", onClick: this.handleCancel, disabled: this.loading, part: "cancel-btn" }, this.cancelLabel)), this.showConfirm && (h("button", { key: 'f5006f97cac3539e464e3aefa04c5698f99da023', class: "btn-confirm", onClick: this.handleConfirm, disabled: this.loading, "aria-busy": this.loading ? 'true' : 'false', part: "confirm-btn" }, this.loading && h("span", { key: 'f6633f17fc56cd2d64cf2b936a63293de0b0d18f', class: "spinner-el" }), h("span", { key: '2f91a411decc749c55d360cdb0e1e833b61cdb89', class: "btn-label" }, this.confirmLabel)))))))));
123
+ return (h("div", { key: 'f77d075d6402bd1c4a538496eaaa593ceada62f3', class: classes, onKeyDown: this.handleKeyDown, inert: !this.open ? true : undefined }, h("div", { key: 'a280ff3613348c3a1d2cc0eecff32d3b7344aadb', class: "dialog-backdrop", onClick: this.handleBackdropClick, part: "backdrop" }), 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" }, h("header", { key: '4313f933ebbfd21ada522675723fc3532f330907', class: "dialog-header", part: "header" }, h("slot", { key: 'e654922721b61980a4a61b21bf9474fb65152301', name: "header" }, titleText && h("h2", { key: '6313bb89256ee6903c892750afd5bfc32e34cbb8', class: "dialog-title" }, titleText)), h("button", { key: '3492c1f25bfc463156328aecb17fdc5808ac7d14', class: "dialog-close-btn", onClick: this.handleCloseButton, "aria-label": "Close dialog", disabled: this.loading, part: "close-btn" }, h("svg", { key: '25c36a0a78e6a9ef81aec11b639efffcddbb3884', class: "close-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("line", { key: '946a88dacfde417eb300002231c87e7abc0ed4dd', x1: "18", y1: "6", x2: "6", y2: "18" }), h("line", { key: 'd6b43f7fea05d99ed4586bc48dda9cd6e086fe4f', x1: "6", y1: "6", x2: "18", y2: "18" })))), h("div", { key: '65a2ce99fa264252f9cefdae3f6fdb44f5b0b31e', class: "dialog-body", part: "body" }, h("slot", { key: 'e6d4366ba2713e3428be17d3280af595fd3a30ac' }, this.message && h("p", { key: 'f6b758ebcca1d4bebd6e288bfe72e4b1694efa2e', class: "dialog-message" }, this.message))), h("footer", { key: 'c47196a6cd11f12b4ab475855d2235d82ce7b891', class: "dialog-footer", part: "footer" }, h("slot", { key: 'fa68297fa77447fc2137b23e1041e4329ca5e91c', name: "footer" }, h("div", { key: '122afc197608cd1dd094f9c7cc2ae856d1ecaebb', class: "dialog-actions" }, this.showCancel && (h("button", { key: 'b54682b69986eb555955d3b4e6d7c2926dad3cb5', class: "btn-cancel", onClick: this.handleCancel, disabled: this.loading, part: "cancel-btn" }, this.cancelLabel)), this.showConfirm && (h("button", { key: '52139f492b7a4aab0c04c6bc85ad7ac0b7ea780a', class: "btn-confirm", onClick: this.handleConfirm, disabled: this.loading, "aria-busy": this.loading ? 'true' : 'false', part: "confirm-btn" }, this.loading && h("span", { key: '4e812be3ef372e597fa0f26e9f36f0002a2a3d87', class: "spinner-el" }), h("span", { key: '06a746e50e4702d87d53df7c690279535861f348', class: "btn-label" }, this.confirmLabel)))))))));
124
124
  }
125
125
  static get is() { return "q-dialog"; }
126
126
  static get encapsulation() { return "shadow"; }
@@ -304,16 +304,16 @@ export class QDropdown {
304
304
  dynamicWidth = `${Math.ceil(calculatedWidth)}px`;
305
305
  }
306
306
  }
307
- return (h("div", { key: 'a5eac8bba3c8be82392ab4ad21942085bdf42675', class: {
307
+ return (h("div", { key: '980b25ffe6f39e0473c96112ac7f493b3d8cd174', class: {
308
308
  'dropdown-wrapper': true,
309
309
  'is-open': this.isOpen,
310
310
  'is-disabled': this.disabled,
311
311
  [`size-${this.size}`]: true
312
- }, style: dynamicWidth ? { width: dynamicWidth, 'max-width': '100%' } : undefined, onKeyDown: this.handleKeyDown }, this.label && (h("label", { key: '74ae4e39d141e382c7c088dd295d8c2c4553a211', class: "dropdown-label", htmlFor: "q-field", part: "label" }, this.label)), 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 }, h("span", { key: '9b6943a441c573df04bea2e9c51f058ae097a151', class: { 'trigger-text': true, 'is-placeholder': !hasSelection } }, displayLabel), h("svg", { key: '2f6b129ad9817f52ca2858d83774e109e8454152', class: "chevron-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("polyline", { key: '48386e06f1166ff7a011df8b5fe691cd845a651a', points: "6 9 12 15 18 9" }))), this.isOpen && (h("div", { key: 'c2d4d943570c3bf19cf5c0e849afda4bc20d5eb9', id: "q-field-menu", class: "dropdown-menu", part: "menu", role: "listbox", "aria-label": this.label || 'Options' }, this.searchable && (h("div", { key: '13bffc49202bb50afec3b9110462067f675f595c', class: "dropdown-search-container" }, h("input", { key: '611221daeac79c2dc94744c85e463caa5ecc4b07', ref: (el) => (this.searchInputEl = el), type: "text", class: "dropdown-search-input", placeholder: "Search...", value: this.searchTerm, onInput: this.handleSearchInput }))), h("ul", { key: 'c2452e7eaac678ce652c255a7478850bab0a4308', class: "dropdown-items-list", onScroll: this.handleScroll }, opts.length === 0 ? (h("li", { class: "menu-item is-empty" }, "No matches found")) : (opts.map((option, index) => (h("li", { id: `q-field-item-${index}`, class: {
312
+ }, style: dynamicWidth ? { width: dynamicWidth, 'max-width': '100%' } : undefined, onKeyDown: this.handleKeyDown }, this.label && (h("label", { key: '8afabd5bdbfea59115e717af6d1b2507e5cd68d2', class: "dropdown-label", htmlFor: "q-field", part: "label" }, this.label)), 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 }, h("span", { key: '057e7496157fe944647fbf74f5bc5d89ff1a85c0', class: { 'trigger-text': true, 'is-placeholder': !hasSelection } }, displayLabel), h("svg", { key: 'c8ef16ce76559bcd4fc99b52ac5c43dbd67dbe4c', class: "chevron-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("polyline", { key: 'e4272e43433c407198f4bd7f4e8efb0976cfeb72', points: "6 9 12 15 18 9" }))), this.isOpen && (h("div", { key: 'ff31b06bb2d9e33bfbf1d2a6072f18cc41c8cfa2', id: "q-field-menu", class: "dropdown-menu", part: "menu", role: "listbox", "aria-label": this.label || 'Options' }, this.searchable && (h("div", { key: '86d6e527c9677a1bf8879917740ced1c5d441fa2', class: "dropdown-search-container" }, h("input", { key: 'ffb0005b9743452159b68287873adaa4cbeef727', ref: (el) => (this.searchInputEl = el), type: "text", class: "dropdown-search-input", placeholder: "Search...", value: this.searchTerm, onInput: this.handleSearchInput }))), h("ul", { key: '10a85f271e6d8a77e514eff7d36de1b1b81d0ec9', class: "dropdown-items-list", onScroll: this.handleScroll }, opts.length === 0 ? (h("li", { class: "menu-item is-empty" }, "No matches found")) : (opts.map((option, index) => (h("li", { id: `q-field-item-${index}`, class: {
313
313
  'menu-item': true,
314
314
  'is-selected': option.value === this.value,
315
315
  'is-focused': index === this.focusedIndex
316
- }, tabindex: index === this.focusedIndex ? 0 : -1, part: `item ${option.value === this.value ? 'selected-item' : ''} ${index === this.focusedIndex ? 'focused-item' : ''}`, role: "option", "aria-selected": option.value === this.value ? 'true' : 'false', onClick: () => this.handleSelect(option) }, option.label)))), this.isScrollingLoading && (h("li", { key: '8c5c8867050187df0d7a42180a95945f0be22e5c', class: "menu-item is-loading-more" }, h("span", { key: '5ec7bdb3e2dbed9e60547942ee432ab9647583a5', class: "spinner-circle" }), h("span", { key: '1ca63039ae31e28f9b71c1b5500479a76f5eb090' }, "Loading..."))))))));
316
+ }, tabindex: index === this.focusedIndex ? 0 : -1, part: `item ${option.value === this.value ? 'selected-item' : ''} ${index === this.focusedIndex ? 'focused-item' : ''}`, role: "option", "aria-selected": option.value === this.value ? 'true' : 'false', onClick: () => this.handleSelect(option) }, option.label)))), this.isScrollingLoading && (h("li", { key: 'bb92f2e84ed87c12963c7d7e69f0c7b5899599ed', class: "menu-item is-loading-more" }, h("span", { key: '575c59ef9d32230c21b84f0ff36e52d4e29b5e43', class: "spinner-circle" }), h("span", { key: 'a6f096427e179ad9c8e6e2d5dd6c0e3152941bcd' }, "Loading..."))))))));
317
317
  }
318
318
  static get is() { return "q-dropdown"; }
319
319
  static get encapsulation() { return "shadow"; }
@@ -399,7 +399,7 @@ export class QDropdown {
399
399
  "references": {
400
400
  "Option": {
401
401
  "location": "local",
402
- "path": "C:/Dev/DR/WebQuark/src/components/dropdown/dropdown.tsx",
402
+ "path": "D:/Dev/WebApps/WebQuark/src/components/dropdown/dropdown.tsx",
403
403
  "id": "src/components/dropdown/dropdown.tsx::Option"
404
404
  }
405
405
  }
@@ -519,7 +519,7 @@ export class QDropdown {
519
519
  "references": {
520
520
  "Option": {
521
521
  "location": "local",
522
- "path": "C:/Dev/DR/WebQuark/src/components/dropdown/dropdown.tsx",
522
+ "path": "D:/Dev/WebApps/WebQuark/src/components/dropdown/dropdown.tsx",
523
523
  "id": "src/components/dropdown/dropdown.tsx::Option"
524
524
  }
525
525
  }
@@ -204,7 +204,7 @@ export class QIcon {
204
204
  "optional": false,
205
205
  "docs": {
206
206
  "tags": [],
207
- "text": "The library to load the icon from.\nOptions: 'lucide', 'font-awesome', 'local', or a custom base URL / template URL."
207
+ "text": "The library to load the icon from.\r\nOptions: 'lucide', 'font-awesome', 'local', or a custom base URL / template URL."
208
208
  },
209
209
  "getter": false,
210
210
  "setter": false,
@@ -177,16 +177,16 @@ export class QInput {
177
177
  const displayError = this.error || this.errorMessage;
178
178
  const showClearBtn = this.clearable && !this.disabled && this.value.length > 0;
179
179
  const showSuffixContainer = this.hasSuffix || showClearBtn;
180
- return (h("div", { key: '008cea3c420ad70bba24c8784eaf5800b25d8fbb', class: {
180
+ return (h("div", { key: '625e72d620dc2f975322c27fab4430b465e1ec87', class: {
181
181
  'input-wrapper': true,
182
182
  'is-disabled': this.disabled,
183
183
  'has-error': hasError,
184
184
  [`size-${this.size}`]: true
185
- } }, this.label && (h("label", { key: '8d8a9edf17f5086b5f6d8098f5200f64d30f912f', class: "input-label", htmlFor: "q-field", part: "label" }, this.label)), h("div", { key: '28c9b65cfc60cd81960694e99bd9c8435a2be7ba', class: "input-control", part: "control" }, h("span", { key: '7aee60be8a41c6ed7671f2c00dea6416602d454a', class: "prefix-container", style: { display: this.hasPrefix ? 'flex' : 'none' }, part: "prefix" }, h("slot", { key: '2518c1d31d4142aaf6e941db886baac5a74b2d85', name: "prefix", onSlotchange: this.handlePrefixSlotChange })), h("input", { key: this.type, ref: (el) => (this.inputEl = el), id: "q-field", class: {
185
+ } }, this.label && (h("label", { key: '5942cd67132d5aa70a183660429d1e0b6862a6c3', class: "input-label", htmlFor: "q-field", part: "label" }, this.label)), h("div", { key: 'f391d28659927394a093234133288204db8ed244', class: "input-control", part: "control" }, h("span", { key: '4b58272ccd8d258e828ed9bd71261940c6fb8ce2', class: "prefix-container", style: { display: this.hasPrefix ? 'flex' : 'none' }, part: "prefix" }, h("slot", { key: '5425870da7418f2d6f4d8aeb4c0bf3f7c63d8d93', name: "prefix", onSlotchange: this.handlePrefixSlotChange })), h("input", { key: this.type, ref: (el) => (this.inputEl = el), id: "q-field", class: {
186
186
  'input-box': true,
187
187
  'has-prefix-padding': this.hasPrefix,
188
188
  'has-suffix-padding': showSuffixContainer
189
- }, 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 && (h("div", { key: 'eb429614c90af97c2835b3d17391cfce5317eacb', class: "input-spinners", part: "spinners" }, h("button", { key: 'ef59e1ee5448beaeaa41cea97c40ec560b2ba226', class: "spinner-btn spinner-up", type: "button", onClick: this.handleIncrement, tabindex: "-1" }, h("svg", { key: '138435925c7c78579ad4f0b3fe0a64f4d5a80f63', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("path", { key: 'dada7fa6c8ab7948aacfc00bb5882513fad16d30', d: "M18 15l-6-6-6 6" }))), h("button", { key: '8454c927a44f0407a0926d1710a700a3169d645d', class: "spinner-btn spinner-down", type: "button", onClick: this.handleDecrement, tabindex: "-1" }, h("svg", { key: '9ff92653b5c28298ea9788ed667f0329554285e7', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("path", { key: '051f8128f9fb54bc8c0a769840846bbcdcb5fff1', d: "M6 9l6 6 6-6" }))))), h("span", { key: 'a176697b4cda49fdd8ba246c1e6b258e15eb999a', class: "suffix-container", style: { display: showSuffixContainer ? 'flex' : 'none' }, part: "suffix" }, showClearBtn && (h("button", { key: 'c53e91cc7f1314a249c092f7bd03e0ea7a69cf4c', class: "clear-btn", type: "button", onClick: this.handleClear, "aria-label": "Clear input" }, h("svg", { key: '37702cb91058e08b1d2b0f90ad6ab6bf332c9e5a', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("path", { key: '9805957a07f34a2e19fbfe4a0ef8b8393c501ec3', d: "M18 6L6 18M6 6l12 12" })))), h("span", { key: '217d17e24642002d53fda41d56643cde1ef68711', style: { display: showClearBtn ? 'none' : 'block' } }, h("slot", { key: '2ea35768cef5d5fdf1c799979e473877a7e54421', name: "suffix", onSlotchange: this.handleSuffixSlotChange })))), hasError && (h("span", { key: 'e7f7010506edb8fdebe748f0f8b0cac2a1d19769', id: "q-field-error", class: "error-msg", part: "error-msg" }, displayError))));
189
+ }, 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 && (h("div", { key: 'e1a5b72f552c8b88ab6e2b84fcd63151a96dd28a', class: "input-spinners", part: "spinners" }, h("button", { key: 'cc07df31e5c87cced56b87e0a7818bb97455b0bf', class: "spinner-btn spinner-up", type: "button", onClick: this.handleIncrement, tabindex: "-1" }, h("svg", { key: '92e9f32279eb92f977e14f5a691ec5e0718f663a', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("path", { key: '93162a09225cc2afde09fc3cf92b20c7b79a49f1', d: "M18 15l-6-6-6 6" }))), h("button", { key: '8a504bc234fafdd7d25ca07c29dd33cd24eb9616', class: "spinner-btn spinner-down", type: "button", onClick: this.handleDecrement, tabindex: "-1" }, h("svg", { key: '28bba806af4cdfc32ab09c9f0ade45fec528b50e', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("path", { key: 'd6235c3d97748bb5a27d7328bba04c24b27a0fda', d: "M6 9l6 6 6-6" }))))), h("span", { key: '9172a40f329f7e3925480aeed27eab030760c97f', class: "suffix-container", style: { display: showSuffixContainer ? 'flex' : 'none' }, part: "suffix" }, showClearBtn && (h("button", { key: '3541668033431d6f99cd3ff865e6c0eeb1572354', class: "clear-btn", type: "button", onClick: this.handleClear, "aria-label": "Clear input" }, h("svg", { key: '975ee761d5651e246423d09d615ab9fcdeb028d7', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("path", { key: 'd38026e069ca1aaf8822a3f9db9a80d4b3bc0df0', d: "M18 6L6 18M6 6l12 12" })))), h("span", { key: '001edfd3e2094f5097d4ec6ad267aa807791972b', style: { display: showClearBtn ? 'none' : 'block' } }, h("slot", { key: '119df340327d548f044f154d591584c1143e15e4', name: "suffix", onSlotchange: this.handleSuffixSlotChange })))), hasError && (h("span", { key: '7942ca41a7c1a97211939de4992525f6707ed2f0', id: "q-field-error", class: "error-msg", part: "error-msg" }, displayError))));
190
190
  }
191
191
  static get is() { return "q-input"; }
192
192
  static get encapsulation() { return "shadow"; }