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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import './styles/tailwind.css';
1
2
  export { default as BSGrid } from './component/BSGrid.vue';
2
3
  export { default as BSGridCell } from './component/BSGridCell.vue';
3
4
  export { default as BSGridCellCheckbox } from './component/BSGridCellCheckbox.vue';
@@ -1,3 +1,521 @@
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
+ .fixed {
294
+ position: fixed;
295
+ }
296
+
297
+ .relative {
298
+ position: relative;
299
+ }
300
+
301
+ .static {
302
+ position: static;
303
+ }
304
+
305
+ .mx-1\.5 {
306
+ margin-inline: calc(var(--spacing) * 1.5);
307
+ }
308
+
309
+ .mb-1 {
310
+ margin-bottom: calc(var(--spacing) * 1);
311
+ }
312
+
313
+ .flex {
314
+ display: flex;
315
+ }
316
+
317
+ .grid {
318
+ display: grid;
319
+ }
320
+
321
+ .hidden {
322
+ display: none;
323
+ }
324
+
325
+ .inline-flex {
326
+ display: inline-flex;
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
+ .flex-col {
362
+ flex-direction: column;
363
+ }
364
+
365
+ .items-center {
366
+ align-items: center;
367
+ }
368
+
369
+ .items-start {
370
+ align-items: flex-start;
371
+ }
372
+
373
+ .gap-1 {
374
+ gap: calc(var(--spacing) * 1);
375
+ }
376
+
377
+ .gap-8 {
378
+ gap: calc(var(--spacing) * 8);
379
+ }
380
+
381
+ .rounded-none {
382
+ border-radius: 0;
383
+ }
384
+
385
+ .border {
386
+ border-style: var(--tw-border-style);
387
+ border-width: 1px;
388
+ }
389
+
390
+ .pt-1 {
391
+ padding-top: calc(var(--spacing) * 1);
392
+ }
393
+
394
+ .pr-2 {
395
+ padding-right: calc(var(--spacing) * 2);
396
+ }
397
+
398
+ .text-center {
399
+ text-align: center;
400
+ }
401
+
402
+ .text-right {
403
+ text-align: right;
404
+ }
405
+
406
+ .text-nowrap {
407
+ text-wrap: nowrap;
408
+ }
409
+
410
+ .text-ellipsis {
411
+ text-overflow: ellipsis;
412
+ }
413
+
414
+ .text-gray-400 {
415
+ color: var(--color-gray-400);
416
+ }
417
+
418
+ .filter {
419
+ 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, );
420
+ }
421
+ }
422
+
423
+ @property --tw-rotate-x {
424
+ syntax: "*";
425
+ inherits: false
426
+ }
427
+
428
+ @property --tw-rotate-y {
429
+ syntax: "*";
430
+ inherits: false
431
+ }
432
+
433
+ @property --tw-rotate-z {
434
+ syntax: "*";
435
+ inherits: false
436
+ }
437
+
438
+ @property --tw-skew-x {
439
+ syntax: "*";
440
+ inherits: false
441
+ }
442
+
443
+ @property --tw-skew-y {
444
+ syntax: "*";
445
+ inherits: false
446
+ }
447
+
448
+ @property --tw-border-style {
449
+ syntax: "*";
450
+ inherits: false;
451
+ initial-value: solid;
452
+ }
453
+
454
+ @property --tw-blur {
455
+ syntax: "*";
456
+ inherits: false
457
+ }
458
+
459
+ @property --tw-brightness {
460
+ syntax: "*";
461
+ inherits: false
462
+ }
463
+
464
+ @property --tw-contrast {
465
+ syntax: "*";
466
+ inherits: false
467
+ }
468
+
469
+ @property --tw-grayscale {
470
+ syntax: "*";
471
+ inherits: false
472
+ }
473
+
474
+ @property --tw-hue-rotate {
475
+ syntax: "*";
476
+ inherits: false
477
+ }
478
+
479
+ @property --tw-invert {
480
+ syntax: "*";
481
+ inherits: false
482
+ }
483
+
484
+ @property --tw-opacity {
485
+ syntax: "*";
486
+ inherits: false
487
+ }
488
+
489
+ @property --tw-saturate {
490
+ syntax: "*";
491
+ inherits: false
492
+ }
493
+
494
+ @property --tw-sepia {
495
+ syntax: "*";
496
+ inherits: false
497
+ }
498
+
499
+ @property --tw-drop-shadow {
500
+ syntax: "*";
501
+ inherits: false
502
+ }
503
+
504
+ @property --tw-drop-shadow-color {
505
+ syntax: "*";
506
+ inherits: false
507
+ }
508
+
509
+ @property --tw-drop-shadow-alpha {
510
+ syntax: "<percentage>";
511
+ inherits: false;
512
+ initial-value: 100%;
513
+ }
514
+
515
+ @property --tw-drop-shadow-size {
516
+ syntax: "*";
517
+ inherits: false
518
+ }
1
519
  .resize-handle[data-v-3bda3a20] {
2
520
  position: absolute;
3
521
  width: 5px;
@@ -14,10 +532,10 @@
14
532
  top: 0;
15
533
  right: 0;
16
534
  bottom: -500px;
17
- }.sort-icon[data-v-e140e95e] {
535
+ }.sort-icon[data-v-fbb8ef01] {
18
536
  line-height: 1;
19
537
  }
20
- .sort-icon.descending[data-v-e140e95e] {
538
+ .sort-icon.descending[data-v-fbb8ef01] {
21
539
  transform: rotate(180deg);
22
540
  }.checked .font-icon {
23
541
  font-variation-settings: "FILL" 1, "wght" 300, "GRAD" 0, "opsz" 48;
@@ -314,6 +832,10 @@
314
832
  height: 72px;
315
833
  display: flex;
316
834
  }
835
+ .bs-text-filter .filter-mode-btn {
836
+ min-width: 1.2em;
837
+ padding: 2px;
838
+ }
317
839
  .bs-text-filter .textarea-wrap textarea {
318
840
  resize: none;
319
841
  }
@@ -328,6 +850,11 @@
328
850
  .bs-text-filter .filter-caption > span:not(:last-child):after {
329
851
  content: ",";
330
852
  }
853
+ .bs-text-filter .input-wrap input, .bs-text-filter .textarea-wrap textarea {
854
+ flex-grow: 1;
855
+ height: 100%;
856
+ padding: 4px;
857
+ }
331
858
  .bs-text-filter.modified .input-wrap, .bs-text-filter.modified .textarea-wrap {
332
859
  border-color: var(--primary) !important;
333
860
  }
@@ -340,22 +867,7 @@
340
867
  .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
868
  color: var(--danger) !important;
342
869
  }
343
- .date-filters .bs-clickable {
344
- display: flex;
345
- align-items: center;
346
- justify-content: center;
347
- min-width: 26px;
348
- height: 26px;
349
- border: 1px solid var(--border);
350
- border-radius: 2px;
351
- }
352
- .date-filters .input-area .bs-clickable {
353
- border: 0 none;
354
- margin: 0;
355
- }.bs-grid-lookup {
356
- background-color: var(--body-bg);
357
- line-height: 1;
358
- }/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */
870
+ /*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */
359
871
  .bs-date-range-filter .input-area {
360
872
  border-radius: var(--radius-sm, .25rem);
361
873
  width: 100%;
@@ -374,3 +886,21 @@
374
886
  border-radius: 0;
375
887
  width: 9em;
376
888
  }
889
+ .date-filters .bs-clickable {
890
+ display: flex;
891
+ align-items: center;
892
+ justify-content: center;
893
+ min-width: 26px;
894
+ height: 26px;
895
+ border: 1px solid var(--border);
896
+ border-radius: 2px;
897
+ }
898
+ .date-filters .input-area .bs-clickable {
899
+ border: 0 none;
900
+ margin: 0;
901
+ }.bs-grid-lookup {
902
+ display: flex;
903
+ gap: 16px;
904
+ background-color: var(--body-bg);
905
+ line-height: 1;
906
+ }