@g1cloud/open-bluesea-grid 1.0.0-alpha.1 → 1.0.0-alpha.3

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.
@@ -1,3 +1,568 @@
1
+ /*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */
2
+ @layer properties {
3
+ @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
4
+ *, :before, :after, ::backdrop {
5
+ --tw-rotate-x: initial;
6
+ --tw-rotate-y: initial;
7
+ --tw-rotate-z: initial;
8
+ --tw-skew-x: initial;
9
+ --tw-skew-y: initial;
10
+ --tw-border-style: solid;
11
+ --tw-blur: initial;
12
+ --tw-brightness: initial;
13
+ --tw-contrast: initial;
14
+ --tw-grayscale: initial;
15
+ --tw-hue-rotate: initial;
16
+ --tw-invert: initial;
17
+ --tw-opacity: initial;
18
+ --tw-saturate: initial;
19
+ --tw-sepia: initial;
20
+ --tw-drop-shadow: initial;
21
+ --tw-drop-shadow-color: initial;
22
+ --tw-drop-shadow-alpha: 100%;
23
+ --tw-drop-shadow-size: initial;
24
+ }
25
+ }
26
+ }
27
+
28
+ @layer theme {
29
+ :root, :host {
30
+ --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
31
+ --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
32
+ --color-gray-400: oklch(70.7% .022 261.325);
33
+ --spacing: .25rem;
34
+ --default-font-family: var(--font-sans);
35
+ --default-mono-font-family: var(--font-mono);
36
+ }
37
+ }
38
+
39
+ @layer base {
40
+ *, :after, :before, ::backdrop {
41
+ box-sizing: border-box;
42
+ border: 0 solid;
43
+ margin: 0;
44
+ padding: 0;
45
+ }
46
+
47
+ ::file-selector-button {
48
+ box-sizing: border-box;
49
+ border: 0 solid;
50
+ margin: 0;
51
+ padding: 0;
52
+ }
53
+
54
+ html, :host {
55
+ -webkit-text-size-adjust: 100%;
56
+ tab-size: 4;
57
+ line-height: 1.5;
58
+ font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
59
+ font-feature-settings: var(--default-font-feature-settings, normal);
60
+ font-variation-settings: var(--default-font-variation-settings, normal);
61
+ -webkit-tap-highlight-color: transparent;
62
+ }
63
+
64
+ hr {
65
+ height: 0;
66
+ color: inherit;
67
+ border-top-width: 1px;
68
+ }
69
+
70
+ abbr:where([title]) {
71
+ -webkit-text-decoration: underline dotted;
72
+ text-decoration: underline dotted;
73
+ }
74
+
75
+ h1, h2, h3, h4, h5, h6 {
76
+ font-size: inherit;
77
+ font-weight: inherit;
78
+ }
79
+
80
+ a {
81
+ color: inherit;
82
+ -webkit-text-decoration: inherit;
83
+ -webkit-text-decoration: inherit;
84
+ -webkit-text-decoration: inherit;
85
+ text-decoration: inherit;
86
+ }
87
+
88
+ b, strong {
89
+ font-weight: bolder;
90
+ }
91
+
92
+ code, kbd, samp, pre {
93
+ font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
94
+ font-feature-settings: var(--default-mono-font-feature-settings, normal);
95
+ font-variation-settings: var(--default-mono-font-variation-settings, normal);
96
+ font-size: 1em;
97
+ }
98
+
99
+ small {
100
+ font-size: 80%;
101
+ }
102
+
103
+ sub, sup {
104
+ vertical-align: baseline;
105
+ font-size: 75%;
106
+ line-height: 0;
107
+ position: relative;
108
+ }
109
+
110
+ sub {
111
+ bottom: -.25em;
112
+ }
113
+
114
+ sup {
115
+ top: -.5em;
116
+ }
117
+
118
+ table {
119
+ text-indent: 0;
120
+ border-color: inherit;
121
+ border-collapse: collapse;
122
+ }
123
+
124
+ :-moz-focusring {
125
+ outline: auto;
126
+ }
127
+
128
+ progress {
129
+ vertical-align: baseline;
130
+ }
131
+
132
+ summary {
133
+ display: list-item;
134
+ }
135
+
136
+ ol, ul, menu {
137
+ list-style: none;
138
+ }
139
+
140
+ img, svg, video, canvas, audio, iframe, embed, object {
141
+ vertical-align: middle;
142
+ display: block;
143
+ }
144
+
145
+ img, video {
146
+ max-width: 100%;
147
+ height: auto;
148
+ }
149
+
150
+ button, input, select, optgroup, textarea {
151
+ font: inherit;
152
+ font-feature-settings: inherit;
153
+ font-variation-settings: inherit;
154
+ letter-spacing: inherit;
155
+ color: inherit;
156
+ opacity: 1;
157
+ background-color: #0000;
158
+ border-radius: 0;
159
+ }
160
+
161
+ ::file-selector-button {
162
+ font: inherit;
163
+ font-feature-settings: inherit;
164
+ font-variation-settings: inherit;
165
+ letter-spacing: inherit;
166
+ color: inherit;
167
+ opacity: 1;
168
+ background-color: #0000;
169
+ border-radius: 0;
170
+ }
171
+
172
+ :where(select:is([multiple], [size])) optgroup {
173
+ font-weight: bolder;
174
+ }
175
+
176
+ :where(select:is([multiple], [size])) optgroup option {
177
+ padding-inline-start: 20px;
178
+ }
179
+
180
+ ::file-selector-button {
181
+ margin-inline-end: 4px;
182
+ }
183
+
184
+ ::placeholder {
185
+ opacity: 1;
186
+ }
187
+
188
+ @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
189
+ ::placeholder {
190
+ color: currentColor;
191
+ }
192
+
193
+ @supports (color: color-mix(in lab, red, red)) {
194
+ ::placeholder {
195
+ color: color-mix(in oklab, currentcolor 50%, transparent);
196
+ }
197
+ }
198
+ }
199
+
200
+ textarea {
201
+ resize: vertical;
202
+ }
203
+
204
+ ::-webkit-search-decoration {
205
+ -webkit-appearance: none;
206
+ }
207
+
208
+ ::-webkit-date-and-time-value {
209
+ min-height: 1lh;
210
+ text-align: inherit;
211
+ }
212
+
213
+ ::-webkit-datetime-edit {
214
+ display: inline-flex;
215
+ }
216
+
217
+ ::-webkit-datetime-edit-fields-wrapper {
218
+ padding: 0;
219
+ }
220
+
221
+ ::-webkit-datetime-edit {
222
+ padding-block: 0;
223
+ }
224
+
225
+ ::-webkit-datetime-edit-year-field {
226
+ padding-block: 0;
227
+ }
228
+
229
+ ::-webkit-datetime-edit-month-field {
230
+ padding-block: 0;
231
+ }
232
+
233
+ ::-webkit-datetime-edit-day-field {
234
+ padding-block: 0;
235
+ }
236
+
237
+ ::-webkit-datetime-edit-hour-field {
238
+ padding-block: 0;
239
+ }
240
+
241
+ ::-webkit-datetime-edit-minute-field {
242
+ padding-block: 0;
243
+ }
244
+
245
+ ::-webkit-datetime-edit-second-field {
246
+ padding-block: 0;
247
+ }
248
+
249
+ ::-webkit-datetime-edit-millisecond-field {
250
+ padding-block: 0;
251
+ }
252
+
253
+ ::-webkit-datetime-edit-meridiem-field {
254
+ padding-block: 0;
255
+ }
256
+
257
+ ::-webkit-calendar-picker-indicator {
258
+ line-height: 1;
259
+ }
260
+
261
+ :-moz-ui-invalid {
262
+ box-shadow: none;
263
+ }
264
+
265
+ button, input:where([type="button"], [type="reset"], [type="submit"]) {
266
+ appearance: button;
267
+ }
268
+
269
+ ::file-selector-button {
270
+ appearance: button;
271
+ }
272
+
273
+ ::-webkit-inner-spin-button {
274
+ height: auto;
275
+ }
276
+
277
+ ::-webkit-outer-spin-button {
278
+ height: auto;
279
+ }
280
+
281
+ [hidden]:where(:not([hidden="until-found"])) {
282
+ display: none !important;
283
+ }
284
+ }
285
+
286
+ @layer components;
287
+
288
+ @layer utilities {
289
+ .visible {
290
+ visibility: visible;
291
+ }
292
+
293
+ .absolute {
294
+ position: absolute;
295
+ }
296
+
297
+ .fixed {
298
+ position: fixed;
299
+ }
300
+
301
+ .static {
302
+ position: static;
303
+ }
304
+
305
+ .m-1\.5 {
306
+ margin: calc(var(--spacing) * 1.5);
307
+ }
308
+
309
+ .mt-0\.5 {
310
+ margin-top: calc(var(--spacing) * .5);
311
+ }
312
+
313
+ .mb-1 {
314
+ margin-bottom: calc(var(--spacing) * 1);
315
+ }
316
+
317
+ .flex {
318
+ display: flex;
319
+ }
320
+
321
+ .grid {
322
+ display: grid;
323
+ }
324
+
325
+ .hidden {
326
+ display: none;
327
+ }
328
+
329
+ .table {
330
+ display: table;
331
+ }
332
+
333
+ .min-h-128 {
334
+ min-height: calc(var(--spacing) * 128);
335
+ }
336
+
337
+ .w-full {
338
+ width: 100%;
339
+ }
340
+
341
+ .min-w-48 {
342
+ min-width: calc(var(--spacing) * 48);
343
+ }
344
+
345
+ .flex-grow, .grow {
346
+ flex-grow: 1;
347
+ }
348
+
349
+ .border-collapse {
350
+ border-collapse: collapse;
351
+ }
352
+
353
+ .transform {
354
+ transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
355
+ }
356
+
357
+ .cursor-pointer {
358
+ cursor: pointer;
359
+ }
360
+
361
+ .resize {
362
+ resize: both;
363
+ }
364
+
365
+ .flex-col {
366
+ flex-direction: column;
367
+ }
368
+
369
+ .items-center {
370
+ align-items: center;
371
+ }
372
+
373
+ .justify-end {
374
+ justify-content: flex-end;
375
+ }
376
+
377
+ .gap-1 {
378
+ gap: calc(var(--spacing) * 1);
379
+ }
380
+
381
+ .border {
382
+ border-style: var(--tw-border-style);
383
+ border-width: 1px;
384
+ }
385
+
386
+ .text-center {
387
+ text-align: center;
388
+ }
389
+
390
+ .text-left {
391
+ text-align: left;
392
+ }
393
+
394
+ .text-right {
395
+ text-align: right;
396
+ }
397
+
398
+ .text-nowrap {
399
+ text-wrap: nowrap;
400
+ }
401
+
402
+ .text-ellipsis {
403
+ text-overflow: ellipsis;
404
+ }
405
+
406
+ .text-gray-400 {
407
+ color: var(--color-gray-400);
408
+ }
409
+
410
+ .filter {
411
+ filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
412
+ }
413
+ }
414
+
415
+ @layer bluesea-grid-base {
416
+ :root {
417
+ --bs-grid-cell-padding: 8px;
418
+ --bs-grid-border-color: var(--bs-gray-200);
419
+ --bs-grid-border-radius: 0;
420
+ --bs-grid-border-width-x: 0;
421
+ --bs-grid-border-width-y: 1px;
422
+ --bs-grid-bg: var(--bs-gray-100);
423
+ --bs-grid-shadow: 0 1px 8px #00000008, 0 1px 4px #00000008;
424
+ --bs-grid-header-bg: var(--bs-gray-100);
425
+ --bs-grid-header-text: var(--bs-body-text);
426
+ --bs-grid-header-weight: 400;
427
+ --bs-grid-header-border-color: var(--bs-gray-200);
428
+ --bs-grid-header-filter-bg: #eaf1fe;
429
+ --bs-grid-header-min-height: 36.5px;
430
+ --bs-grid-row-odd-bg: var(--bs-body-bg);
431
+ --bs-grid-row-even-bg: var(--bs-gray-100);
432
+ --bs-grid-row-hover-bg: var(--bs-gray-200);
433
+ --bs-grid-row-selected-bg: #def;
434
+ --bs-grid-cell-text: var(--bs-body-text);
435
+ --bs-grid-cell-border-color: transparent;
436
+ --bs-grid-func-cell-min-width: 32px;
437
+ --bs-grid-serial-cell-min-width: 40px;
438
+ --bs-grid-edit-cell-min-width: 33px;
439
+ --bs-grid-checkbox-color: var(--bs-color-text-light);
440
+ --bs-grid-checkbox-checked-color: var(--bs-color-text);
441
+ --bs-grid-scroll-shadow: linear-gradient(90deg, #0000000d 0%, #0000 100%);
442
+ --bs-grid-scroll-shadow-dark: linear-gradient(90deg, #ffffff1a 0%, #fff0 100%);
443
+ --bs-grid-header-scroll-shadow: 0 1px 4px #00000012;
444
+ --bs-grid-control-text: var(--bs-gray-400);
445
+ --bs-grid-control-gap: 8px;
446
+ --bs-date-range-filter-bg: var(--bs-body-bg);
447
+ --bs-date-range-filter-border: var(--bs-border);
448
+ --bs-date-range-filter-border-radius: var(--bs-border-radius);
449
+ --bs-date-range-preset-bg: var(--bs-gray-200);
450
+ --bs-date-range-preset-active-bg: #000;
451
+ --bs-date-range-preset-active-text: var(--bs-white);
452
+ --bs-date-range-preset-border-radius: .25rem;
453
+ --bs-text-filter-bg: var(--bs-body-bg);
454
+ --bs-text-filter-border: var(--bs-border);
455
+ --bs-text-filter-border-radius: var(--bs-border-radius);
456
+ --bs-grid-lookup-bg: transparent;
457
+ --bs-grid-lookup-border: var(--bs-border);
458
+ --bs-grid-lookup-shadow: 2px 2px 8px #0000001a;
459
+ --bs-grid-setting-item-bg: var(--bs-body-bg);
460
+ --bs-grid-setting-item-border: var(--bs-border-light);
461
+ --bs-grid-setting-item-hover-bg: var(--bs-color-hover);
462
+ }
463
+
464
+ [data-theme="dark"] {
465
+ --bs-grid-header-filter-bg: var(--bs-primary-400);
466
+ --bs-grid-scroll-shadow: var(--bs-grid-scroll-shadow-dark);
467
+ }
468
+ }
469
+
470
+ @property --tw-rotate-x {
471
+ syntax: "*";
472
+ inherits: false
473
+ }
474
+
475
+ @property --tw-rotate-y {
476
+ syntax: "*";
477
+ inherits: false
478
+ }
479
+
480
+ @property --tw-rotate-z {
481
+ syntax: "*";
482
+ inherits: false
483
+ }
484
+
485
+ @property --tw-skew-x {
486
+ syntax: "*";
487
+ inherits: false
488
+ }
489
+
490
+ @property --tw-skew-y {
491
+ syntax: "*";
492
+ inherits: false
493
+ }
494
+
495
+ @property --tw-border-style {
496
+ syntax: "*";
497
+ inherits: false;
498
+ initial-value: solid;
499
+ }
500
+
501
+ @property --tw-blur {
502
+ syntax: "*";
503
+ inherits: false
504
+ }
505
+
506
+ @property --tw-brightness {
507
+ syntax: "*";
508
+ inherits: false
509
+ }
510
+
511
+ @property --tw-contrast {
512
+ syntax: "*";
513
+ inherits: false
514
+ }
515
+
516
+ @property --tw-grayscale {
517
+ syntax: "*";
518
+ inherits: false
519
+ }
520
+
521
+ @property --tw-hue-rotate {
522
+ syntax: "*";
523
+ inherits: false
524
+ }
525
+
526
+ @property --tw-invert {
527
+ syntax: "*";
528
+ inherits: false
529
+ }
530
+
531
+ @property --tw-opacity {
532
+ syntax: "*";
533
+ inherits: false
534
+ }
535
+
536
+ @property --tw-saturate {
537
+ syntax: "*";
538
+ inherits: false
539
+ }
540
+
541
+ @property --tw-sepia {
542
+ syntax: "*";
543
+ inherits: false
544
+ }
545
+
546
+ @property --tw-drop-shadow {
547
+ syntax: "*";
548
+ inherits: false
549
+ }
550
+
551
+ @property --tw-drop-shadow-color {
552
+ syntax: "*";
553
+ inherits: false
554
+ }
555
+
556
+ @property --tw-drop-shadow-alpha {
557
+ syntax: "<percentage>";
558
+ inherits: false;
559
+ initial-value: 100%;
560
+ }
561
+
562
+ @property --tw-drop-shadow-size {
563
+ syntax: "*";
564
+ inherits: false
565
+ }
1
566
  .resize-handle[data-v-3bda3a20] {
2
567
  position: absolute;
3
568
  width: 5px;
@@ -14,32 +579,30 @@
14
579
  top: 0;
15
580
  right: 0;
16
581
  bottom: -500px;
17
- }.sort-icon[data-v-e140e95e] {
582
+ }.sort-icon[data-v-37a577b0] {
18
583
  line-height: 1;
19
584
  }
20
- .sort-icon.descending[data-v-e140e95e] {
585
+ .sort-icon.descending[data-v-37a577b0] {
21
586
  transform: rotate(180deg);
22
- }.checked .font-icon {
23
- font-variation-settings: "FILL" 1, "wght" 300, "GRAD" 0, "opsz" 48;
587
+ }.checked .bs-icon {
24
588
  color: var(--primary);
25
- }.checked .font-icon[data-v-0211159f] {
26
- font-variation-settings: "FILL" 1, "wght" 700, "GRAD" 0, "opsz" 48;
589
+ }.checked .bs-icon[data-v-704bd1b5] {
27
590
  color: var(--primary);
28
591
  }
29
- .disabled[data-v-0211159f] {
30
- color: var(--gray-400);
31
- }.drag-handle > .font-icon {
592
+ .disabled[data-v-704bd1b5] {
593
+ color: var(--bs-gray-400);
594
+ }
595
+ .drag-handle {
596
+ text-align: center;
597
+ }
598
+ .drag-handle > .bs-icon {
32
599
  font-size: 1.8em;
33
600
  margin-left: -2px;
34
601
  cursor: grab;
35
602
  user-select: none;
603
+ &:active {
604
+ cursor: grabbing;
36
605
  }
37
- .drag-handle > .font-icon:active {
38
- cursor: grabbing;
39
- }:root {
40
- --grid-cell-padding: 8px;
41
- --grid-row-odd-color: var(--body-bg);
42
- --grid-row-even-color: var(--gray-100);
43
606
  }
44
607
  .bs-grid {
45
608
  position: relative;
@@ -49,61 +612,86 @@
49
612
  .bs-grid > .table-wrap {
50
613
  overflow: auto;
51
614
  flex-grow: 1;
52
- background-color: var(--gray-100);
53
- border-top: 1px solid var(--gray-200);
54
- border-bottom: 1px solid var(--gray-200);
615
+ background-color: var(--bs-grid-bg);
616
+ border-top: var(--bs-grid-border-width-y) solid var(--bs-grid-border-color);
617
+ border-bottom: var(--bs-grid-border-width-y) solid var(--bs-grid-border-color);
618
+ border-left: var(--bs-grid-border-width-x) solid var(--bs-grid-border-color);
619
+ border-right: var(--bs-grid-border-width-x) solid var(--bs-grid-border-color);
620
+ border-radius: var(--bs-grid-border-radius);
55
621
  }
56
622
  .bs-grid > .table-wrap > table {
57
623
  flex-grow: 1;
58
624
  table-layout: fixed;
59
625
  border-collapse: collapse;
60
- box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03), 0 1px 4px rgba(0, 0, 0, 0.03);
626
+ box-shadow: var(--bs-grid-shadow);
61
627
  }
62
628
  .bs-grid > .table-wrap > table > thead > tr > td,
63
629
  .bs-grid > .table-wrap > table > thead > tr > th,
64
630
  .bs-grid > .table-wrap > table tbody > tr > td,
65
631
  .bs-grid > .table-wrap > table tbody > tr > th {
66
- vertical-align: middle;
632
+ height: 1px;
67
633
  }
68
634
  .bs-grid > .table-wrap > table > thead > tr > td > div,
69
635
  .bs-grid > .table-wrap > table > thead > tr > th > div,
70
636
  .bs-grid > .table-wrap > table tbody > tr > td > div,
71
637
  .bs-grid > .table-wrap > table tbody > tr > th > div {
72
- padding: var(--grid-cell-padding);
638
+ padding: var(--bs-grid-cell-padding);
73
639
  overflow: hidden;
74
640
  min-height: 1em;
641
+ height: 100%;
642
+ width: 100%;
643
+ display: flex;
644
+ align-items: center;
645
+ justify-content: start;
75
646
  }
76
647
  .bs-grid > .table-wrap > table > thead > tr > td > div > a,
77
648
  .bs-grid > .table-wrap > table > thead > tr > th > div > a,
78
649
  .bs-grid > .table-wrap > table tbody > tr > td > div > a,
79
650
  .bs-grid > .table-wrap > table tbody > tr > th > div > a {
80
- color: var(--body-text) !important;
651
+ color: var(--bs-grid-cell-text) !important;
652
+ }
653
+ .bs-grid > .table-wrap > table > thead > tr > td.text-center > div,
654
+ .bs-grid > .table-wrap > table > thead > tr > th.text-center > div,
655
+ .bs-grid > .table-wrap > table tbody > tr > td.text-center > div,
656
+ .bs-grid > .table-wrap > table tbody > tr > th.text-center > div {
657
+ justify-content: center;
658
+ }
659
+ .bs-grid > .table-wrap > table > thead > tr > td.text-right > div,
660
+ .bs-grid > .table-wrap > table > thead > tr > th.text-right > div,
661
+ .bs-grid > .table-wrap > table tbody > tr > td.text-right > div,
662
+ .bs-grid > .table-wrap > table tbody > tr > th.text-right > div {
663
+ justify-content: end;
664
+ }
665
+ .bs-grid > .table-wrap > table > thead > tr > td.text-left > div,
666
+ .bs-grid > .table-wrap > table > thead > tr > th.text-left > div,
667
+ .bs-grid > .table-wrap > table tbody > tr > td.text-left > div,
668
+ .bs-grid > .table-wrap > table tbody > tr > th.text-left > div {
669
+ justify-content: start;
81
670
  }
82
671
  .bs-grid > .table-wrap > table > thead > tr > td.editing > div,
83
672
  .bs-grid > .table-wrap > table tbody > tr > td.editing > div {
84
673
  overflow: visible;
85
674
  }
86
675
  .bs-grid > .table-wrap > table > thead > tr.header-row > .func-cell {
87
- min-width: 32px;
88
- line-height: 1;
676
+ min-width: var(--bs-grid-func-cell-min-width);
89
677
  }
90
678
  .bs-grid > .table-wrap > table > thead > tr.header-row > .func-cell > div {
91
- border-right: 1px solid var(--gray-200);
679
+ border-right: 1px solid var(--bs-grid-header-border-color);
92
680
  }
93
681
  .bs-grid > .table-wrap > table > thead > tr.header-row > .func-cell:last-child > div {
94
682
  border-right: 0 none;
95
683
  }
96
684
  .bs-grid > .table-wrap > table > thead > tr.header-row > .func-cell.checkbox {
97
- color: var(--color-text-light);
685
+ color: var(--bs-grid-checkbox-color);
98
686
  }
99
687
  .bs-grid > .table-wrap > table > thead > tr.header-row > .func-cell.checkbox.checked {
100
- color: var(--color-text);
688
+ color: var(--bs-grid-checkbox-checked-color);
101
689
  }
102
690
  .bs-grid > .table-wrap > table > thead > tr.header-row > .func-cell.serial-no {
103
- min-width: 40px;
691
+ min-width: var(--bs-grid-serial-cell-min-width);
104
692
  }
105
693
  .bs-grid > .table-wrap > table > thead > tr.header-row > .func-cell.edit-icon {
106
- min-width: 33px;
694
+ min-width: var(--bs-grid-edit-cell-min-width);
107
695
  }
108
696
  .bs-grid > .table-wrap > table > thead > tr.header-row:has(.has-filter) th > div {
109
697
  height: 50px;
@@ -114,21 +702,23 @@
114
702
  z-index: 1;
115
703
  white-space: nowrap;
116
704
  vertical-align: middle;
117
- background-color: var(--gray-100);
705
+ background-color: var(--bs-grid-header-bg);
706
+ color: var(--bs-grid-header-text);
707
+ font-weight: var(--bs-grid-header-weight);
118
708
  }
119
709
  .bs-grid > .table-wrap > table > thead > tr.header-row > th:has(.bs-select,
120
710
  .bs-multi-select,
121
711
  .bs-tree-select,
122
712
  .bs-tree-multi-select):not(:has(.empty)) {
123
- background-color: var(--primary-100);
713
+ background-color: var(--bs-grid-header-filter-bg);
124
714
  }
125
715
  .bs-grid > .table-wrap > table > thead > tr.header-row > th:last-child > div {
126
716
  border-right-color: transparent;
127
717
  }
128
718
  .bs-grid > .table-wrap > table > thead > tr.header-row > th > div {
129
- border-right: 1px solid var(--gray-200);
130
- border-bottom: 1px solid var(--gray-200);
131
- min-height: 36.5px;
719
+ border-right: 1px solid var(--bs-grid-header-border-color);
720
+ border-bottom: 1px solid var(--bs-grid-header-border-color);
721
+ min-height: var(--bs-grid-header-min-height);
132
722
  text-align: left;
133
723
  display: flex;
134
724
  flex-direction: column;
@@ -170,55 +760,52 @@
170
760
  position: relative;
171
761
  }
172
762
  .bs-grid > .table-wrap > table > tbody > tr.data-row > td > div {
173
- border-right: 1px solid transparent;
763
+ border-right: 1px solid var(--bs-grid-cell-border-color);
174
764
  }
175
765
  .bs-grid > .table-wrap > table > tbody > tr.data-row:nth-child(odd) > td {
176
- background-color: var(--grid-row-odd-color);
766
+ background-color: var(--bs-grid-row-odd-bg);
177
767
  }
178
768
  .bs-grid > .table-wrap > table > tbody > tr.data-row:nth-child(odd) > td > div {
179
- border-color: var(--grid-row-odd-color);
769
+ border-color: var(--bs-grid-row-odd-bg);
180
770
  }
181
771
  .bs-grid > .table-wrap > table > tbody > tr.data-row:nth-child(even) > td {
182
- background-color: var(--grid-row-even-color);
772
+ background-color: var(--bs-grid-row-even-bg);
183
773
  }
184
774
  .bs-grid > .table-wrap > table > tbody > tr.data-row:nth-child(even) > td > div {
185
- border-color: var(--grid-row-even-color);
186
- }
187
- .bs-grid > .table-wrap > table > tbody > tr > td.func-cell {
188
- line-height: 1;
775
+ border-color: var(--bs-grid-row-even-bg);
189
776
  }
190
777
  .bs-grid > .table-wrap > table > tbody > tr > td.func-cell.serial-no {
191
778
  text-align: right;
192
779
  }
193
780
  .bs-grid > .table-wrap > table > tbody > tr > td.func-cell.checkbox {
194
- color: var(--color-text-light);
781
+ color: var(--bs-grid-checkbox-color);
195
782
  }
196
783
  .bs-grid > .table-wrap > table > tbody > tr > td.func-cell.checkbox.checked {
197
- color: var(--color-text);
784
+ color: var(--bs-grid-checkbox-checked-color);
198
785
  }
199
786
  .bs-grid > .table-wrap > table > tbody > tr.data-row:hover > td {
200
- background-color: var(--gray-200);
787
+ background-color: var(--bs-grid-row-hover-bg);
201
788
  }
202
789
  .bs-grid > .table-wrap > table > tbody > tr.data-row:hover > td > div {
203
- border-right-color: var(--gray-200);
790
+ border-right-color: var(--bs-grid-row-hover-bg);
204
791
  }
205
792
  .bs-grid > .table-wrap > table > tbody > tr.data-row:hover > td:first-child > div {
206
- border-right-color: var(--gray-200);
793
+ border-right-color: var(--bs-grid-row-hover-bg);
207
794
  }
208
795
  .bs-grid > .table-wrap > table > tbody > tr.data-row:hover > td:last-child > div {
209
- border-right-color: var(--gray-200);
796
+ border-right-color: var(--bs-grid-row-hover-bg);
210
797
  }
211
798
  .bs-grid > .table-wrap > table > tbody > tr.data-row.selected > td {
212
- background-color: var(--primary-200);
799
+ background-color: var(--bs-grid-row-selected-bg);
213
800
  }
214
801
  .bs-grid > .table-wrap > table > tbody > tr.data-row.selected > td > div {
215
- border-right-color: var(--primary-200);
802
+ border-right-color: var(--bs-grid-row-selected-bg);
216
803
  }
217
804
  .bs-grid > .table-wrap > table > tbody > tr.data-row.selected:hover td:first-child > div {
218
- border-right-color: var(--primary-200) !important;
805
+ border-right-color: var(--bs-grid-row-selected-bg) !important;
219
806
  }
220
807
  .bs-grid > .table-wrap > table > tbody > tr.data-row.selected:hover td:last-child > div {
221
- border-right-color: var(--primary-200) !important;
808
+ border-right-color: var(--bs-grid-row-selected-bg) !important;
222
809
  }
223
810
  .bs-grid.h-scrolled .header-row .fixed:after,
224
811
  .bs-grid.h-scrolled .data-row .fixed:after {
@@ -229,21 +816,16 @@
229
816
  width: 8px;
230
817
  height: 100%;
231
818
  content: "";
232
- background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
819
+ background: var(--bs-grid-scroll-shadow);
233
820
  }
234
821
  .bs-grid.v-scrolled .header-row > th > div {
235
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
236
- }
237
- [data-theme=dark] .bs-grid.h-scrolled .header-row .fixed:after,
238
- [data-theme=dark] .bs-grid.h-scrolled .data-row .fixed:after {
239
- background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
822
+ box-shadow: var(--bs-grid-header-scroll-shadow);
240
823
  }
241
824
  [data-theme=dark] .bs-grid > .table-wrap > table > thead > tr.header-row > th:has(.bs-select,
242
825
  .bs-multi-select,
243
826
  .bs-tree-select,
244
827
  .bs-tree-multi-select):not(:has(.empty)) {
245
- background-color: var(--primary-400);
246
- color: var(--dark);
828
+ color: var(--bs-gray-700);
247
829
  }
248
830
  [data-theme=dark] .bs-grid > .table-wrap > table > thead > tr.header-row > th:has(.bs-select,
249
831
  .bs-multi-select,
@@ -261,84 +843,122 @@
261
843
  .bs-multi-select,
262
844
  .bs-tree-select,
263
845
  .bs-tree-multi-select):not(:has(.empty)) .bs-tree-multi-select {
264
- color: var(--dark);
846
+ color: var(--bs-gray-700);
265
847
  }
266
848
  .bs-grid.with-border > .table-wrap > table > tbody > tr {
267
- border-bottom: 1px solid var(--gray-200);
849
+ border-bottom: 1px solid var(--bs-grid-border-color);
268
850
  }
269
851
  .bs-grid.with-border > .table-wrap > table > tbody > tr.data-row:nth-child(even):not(:hover) > td {
270
- background-color: var(--grid-row-odd-color);
852
+ background-color: var(--bs-grid-row-odd-bg);
271
853
  }
272
854
  .bs-grid.with-border > .table-wrap > table > tbody > tr.data-row:nth-child(even):not(:hover) > td > div {
273
- border-color: var(--grid-row-odd-color);
855
+ border-color: var(--bs-grid-row-odd-bg);
274
856
  }
275
857
  .bs-grid > .table-wrap > table > tbody > tr.data-row:hover > .bs-grid-merged-cell {
276
- background-color: var(--grid-row-odd-color);
858
+ background-color: var(--bs-grid-row-odd-bg);
277
859
  }.bs-grid-control {
278
860
  display: flex;
279
861
  align-items: center;
280
- color: var(--gray);
862
+ color: var(--bs-grid-control-text);
281
863
  }
282
864
  .bs-grid-control > div {
283
- padding-right: 8px;
865
+ padding-right: var(--bs-grid-control-gap);
284
866
  }
285
867
  .bs-grid-control .bs-select.page-length {
286
868
  min-width: auto;
869
+ background-color: transparent;
287
870
  }
288
871
  .bs-grid-control .bs-select.page-length .selected {
289
872
  height: 18px;
290
873
  border: 0;
291
874
  padding: 0;
292
875
  border-radius: 0;
293
- }/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */
876
+ background-color: transparent;
877
+ }
294
878
  .bs-text-filter {
879
+ position: relative;
880
+ display: inline-flex;
295
881
  flex-direction: column;
296
882
  align-items: flex-start;
297
883
  width: 300px;
298
884
  min-width: 100px;
299
- display: inline-flex;
300
- position: relative;
301
885
  }
302
886
  .bs-text-filter .input-wrap {
303
- border-radius: var(--radius-sm, .25rem);
304
- border: 1px solid var(--border);
305
- align-items: flex-start;
306
887
  width: 100%;
888
+ align-items: flex-start;
307
889
  display: flex;
890
+ border: 1px solid var(--bs-text-filter-border);
891
+ border-radius: var(--bs-text-filter-border-radius);
892
+ background-color: var(--bs-text-filter-bg);
308
893
  }
309
894
  .bs-text-filter .textarea-wrap {
310
- border-radius: var(--radius-sm, .25rem);
311
- border: 1px solid var(--border);
312
- align-items: flex-start;
313
895
  width: 100%;
314
- height: 72px;
896
+ align-items: flex-start;
315
897
  display: flex;
898
+ border: 1px solid var(--bs-text-filter-border);
899
+ border-radius: var(--bs-text-filter-border-radius);
900
+ background-color: var(--bs-text-filter-bg);
901
+ height: 72px;
316
902
  }
317
903
  .bs-text-filter .textarea-wrap textarea {
318
904
  resize: none;
319
905
  }
320
906
  .bs-text-filter .filter-caption {
321
- margin-top: calc(var(--spacing, .25rem) * 2);
322
- color: var(--gray-400);
323
- font-size: .923em;
907
+ margin-top: 0.5rem;
908
+ font-size: 0.923em;
909
+ color: var(--bs-gray-400);
324
910
  }
325
911
  .bs-text-filter .filter-caption > span {
326
- margin-right: calc(var(--spacing, .25rem) * 1);
912
+ margin-right: 0.25rem;
327
913
  }
328
- .bs-text-filter .filter-caption > span:not(:last-child):after {
914
+ .bs-text-filter .filter-caption > span:not(:last-child)::after {
329
915
  content: ",";
330
916
  }
331
- .bs-text-filter.modified .input-wrap, .bs-text-filter.modified .textarea-wrap {
917
+ .bs-text-filter .input-wrap input,
918
+ .bs-text-filter .textarea-wrap textarea {
919
+ flex-grow: 1;
920
+ padding: 4px;
921
+ height: 100%;
922
+ }
923
+ .bs-text-filter.modified .input-wrap,
924
+ .bs-text-filter.modified .textarea-wrap {
332
925
  border-color: var(--primary) !important;
333
926
  }
334
- .bs-text-filter.modified .input-wrap input, .bs-text-filter.modified .input-wrap textarea, .bs-text-filter.modified .textarea-wrap input, .bs-text-filter.modified .textarea-wrap textarea {
927
+ .bs-text-filter.modified .input-wrap input,
928
+ .bs-text-filter.modified .input-wrap textarea,
929
+ .bs-text-filter.modified .textarea-wrap input,
930
+ .bs-text-filter.modified .textarea-wrap textarea {
335
931
  color: var(--primary) !important;
336
932
  }
337
- .bs-text-filter.error .input-wrap, .bs-text-filter.error .textarea-wrap {
338
- border-color: var(--danger) !important;
933
+ .bs-text-filter.error .input-wrap,
934
+ .bs-text-filter.error .textarea-wrap {
935
+ border-color: var(--bs-color-error) !important;
936
+ }
937
+ .bs-text-filter.error .input-wrap input,
938
+ .bs-text-filter.error .input-wrap textarea,
939
+ .bs-text-filter.error .textarea-wrap input,
940
+ .bs-text-filter.error .textarea-wrap textarea {
941
+ color: var(--bs-color-error) !important;
339
942
  }
340
- .bs-text-filter.error .input-wrap input, .bs-text-filter.error .input-wrap textarea, .bs-text-filter.error .textarea-wrap input, .bs-text-filter.error .textarea-wrap textarea {
341
- color: var(--danger) !important;
943
+
944
+ .bs-date-range-filter .input-area {
945
+ width: 100%;
946
+ display: flex;
947
+ align-items: center;
948
+ padding-right: 0.5rem;
949
+ border: 1px solid var(--bs-date-range-filter-border);
950
+ border-radius: var(--bs-date-range-filter-border-radius);
951
+ background-color: var(--bs-date-range-filter-bg);
952
+ }
953
+ .bs-date-range-filter .input-area .bs-icon {
954
+ margin: 0 0.375rem;
955
+ font-size: 0.875rem;
956
+ line-height: 1.25rem;
957
+ }
958
+ .bs-date-range-filter .input-area input {
959
+ border-radius: 0;
960
+ padding-right: 0;
961
+ width: 9em;
342
962
  }
343
963
  .date-filters .bs-clickable {
344
964
  display: flex;
@@ -353,24 +973,8 @@
353
973
  border: 0 none;
354
974
  margin: 0;
355
975
  }.bs-grid-lookup {
356
- background-color: var(--body-bg);
357
- line-height: 1;
358
- }/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */
359
- .bs-date-range-filter .input-area {
360
- border-radius: var(--radius-sm, .25rem);
361
- width: 100%;
362
- padding-right: calc(var(--spacing, .25rem) * 2);
363
- border: 1px solid var(--border);
364
- align-items: center;
365
976
  display: flex;
366
- }
367
- .bs-date-range-filter .input-area .font-icon {
368
- margin-inline: calc(var(--spacing, .25rem) * 1.5);
369
- font-size: var(--text-sm, .875rem);
370
- line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));
371
- }
372
- .bs-date-range-filter .input-area input {
373
- padding-right: calc(var(--spacing, .25rem) * 0);
374
- border-radius: 0;
375
- width: 9em;
376
- }
977
+ gap: 16px;
978
+ background-color: var(--bs-grid-lookup-bg);
979
+ line-height: 1;
980
+ }