dealposbarcode 26.47.3 → 26.48.0

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 (50) hide show
  1. package/assets/scss/_ui-screens.scss +1514 -0
  2. package/assets/scss/_ui-shell.scss +909 -0
  3. package/assets/scss/_ui-tokens.scss +329 -0
  4. package/assets/scss/style.scss +7 -2
  5. package/chunk-1nBzL4tl.js +1 -0
  6. package/chunk-5CYvOXWe.js +1 -0
  7. package/chunk-8zwXvee9.js +4 -0
  8. package/chunk-B2jbCHX6.js +155 -0
  9. package/chunk-B4QJe6ss.js +1 -0
  10. package/chunk-BJIf02wV.js +27 -0
  11. package/chunk-BTy57Jmd.js +1 -0
  12. package/chunk-BUwTvTl1.js +1 -0
  13. package/chunk-CDBAPDsi.js +1 -0
  14. package/chunk-CY5iuJIq.js +2 -0
  15. package/chunk-Cfu8b0Wq.js +1 -0
  16. package/{chunk-DM0MYgMF.js → chunk-CwJDr0H_.js} +1 -1
  17. package/chunk-D8mFGmdd.js +1 -0
  18. package/chunk-DT0KhigE.js +754 -0
  19. package/chunk-DU0JN1JV.js +704 -0
  20. package/chunk-DYbxj9am.js +1820 -0
  21. package/chunk-DcsTOdwt.js +1 -0
  22. package/chunk-DiTS5m8k.js +604 -0
  23. package/chunk-XaYWX-t4.js +1 -0
  24. package/chunk-d09dFh3i.js +1 -0
  25. package/chunk-uCKNrXRf.js +511 -0
  26. package/index.html +2 -2
  27. package/main-XZUWBZHO.js +1138 -0
  28. package/ngsw.json +149 -141
  29. package/package.json +1 -1
  30. package/{styles-UV7L22UA.css → styles-V2IL5HX5.css} +1 -1
  31. package/chunk-35bh3Tii.js +0 -1015
  32. package/chunk-B1TuWbQG.js +0 -493
  33. package/chunk-B23VUpSN.js +0 -1
  34. package/chunk-BZI-5oM5.js +0 -1
  35. package/chunk-BlamfB5Z.js +0 -1
  36. package/chunk-C92sjuYB.js +0 -27
  37. package/chunk-CB5Z7lqF.js +0 -63
  38. package/chunk-CJXiJto5.js +0 -434
  39. package/chunk-CmmFAMM4.js +0 -2
  40. package/chunk-D0XF-Zf_.js +0 -1
  41. package/chunk-DZSHa5qA.js +0 -1
  42. package/chunk-DqqhC0xD.js +0 -1
  43. package/chunk-DsyXPalw.js +0 -1
  44. package/chunk-ODXAyEox.js +0 -1293
  45. package/chunk-S3eMZOYS.js +0 -1
  46. package/chunk-XXOTzueL.js +0 -1
  47. package/chunk-fDWFTK5c.js +0 -1
  48. package/chunk-j3xKEWpX.js +0 -1820
  49. package/chunk-rvtowGG1.js +0 -4
  50. package/main-2A4A2B5O.js +0 -2281
@@ -0,0 +1,1514 @@
1
+ // Screen patterns shared by the feature pages.
2
+ // Template chooser
3
+ .tpl-grid {
4
+ display: grid;
5
+ grid-template-columns: repeat(3, 1fr);
6
+ gap: 14px;
7
+ }
8
+ .tpl-card {
9
+ display: flex;
10
+ flex-direction: column;
11
+ border: 1px solid var(--line);
12
+ border-radius: 10px;
13
+ background: #fff;
14
+ padding: 0;
15
+ cursor: pointer;
16
+ text-align: left;
17
+ overflow: hidden;
18
+
19
+ &.sel {
20
+ border-color: var(--blue);
21
+ box-shadow: 0 0 0 1px var(--blue) inset;
22
+
23
+ .tpl-radio {
24
+ border: 5px solid var(--blue);
25
+ }
26
+ }
27
+ }
28
+ .tpl-preview {
29
+ position: relative;
30
+ background: #f6f8fc;
31
+ padding: 22px 20px;
32
+ display: grid;
33
+ place-items: center;
34
+ border-bottom: 1px solid var(--line);
35
+ min-height: 120px;
36
+ }
37
+ .tpl-radio {
38
+ position: absolute;
39
+ top: 10px;
40
+ right: 10px;
41
+ width: 16px;
42
+ height: 16px;
43
+ border-radius: 50%;
44
+ border: 1.5px solid #c6ccd9;
45
+ background: #fff;
46
+ }
47
+ .mini-label {
48
+ width: 150px;
49
+ min-height: 78px;
50
+ background: #fff;
51
+ box-shadow: 0 2px 8px rgba(23, 33, 59, 0.1);
52
+ padding: 9px 10px;
53
+ text-align: center;
54
+
55
+ .store {
56
+ font-size: 6px;
57
+ letter-spacing: 0.16em;
58
+ text-transform: uppercase;
59
+ color: #5a6379;
60
+ }
61
+ .name {
62
+ font-size: 8px;
63
+ font-weight: 600;
64
+ color: #111;
65
+ margin-top: 3px;
66
+ white-space: nowrap;
67
+ overflow: hidden;
68
+ text-overflow: ellipsis;
69
+ }
70
+ .meta {
71
+ font-size: 5.5px;
72
+ color: #6b7280;
73
+ margin-top: 1px;
74
+ }
75
+ .price {
76
+ font-size: 10px;
77
+ font-weight: 700;
78
+ color: #111;
79
+ margin-top: 4px;
80
+ }
81
+ .bars {
82
+ height: 20px;
83
+ margin-top: 4px;
84
+ background: repeating-linear-gradient(
85
+ 90deg,
86
+ #111 0 1px,
87
+ transparent 1px 3px,
88
+ #111 3px 4px,
89
+ transparent 4px 6px
90
+ );
91
+ }
92
+ .code {
93
+ font-size: 4.5px;
94
+ letter-spacing: 0.12em;
95
+ color: #6b7280;
96
+ margin-top: 2px;
97
+ }
98
+ }
99
+ .tpl-info {
100
+ display: flex;
101
+ align-items: flex-start;
102
+ gap: 8px;
103
+ padding: 12px 14px;
104
+ background: #fff;
105
+
106
+ .left {
107
+ flex: 1;
108
+ min-width: 0;
109
+ }
110
+ b {
111
+ display: block;
112
+ font-size: 12px;
113
+ font-weight: 500;
114
+ }
115
+ .size {
116
+ font-size: 10px;
117
+ color: var(--muted);
118
+ white-space: nowrap;
119
+ }
120
+ .meta {
121
+ font-size: 10px;
122
+ color: #8b94a8;
123
+ margin-top: 1px;
124
+ }
125
+ }
126
+ .tpl-actions {
127
+ display: flex;
128
+ gap: 4px;
129
+ padding: 0 14px 12px;
130
+ background: #fff;
131
+
132
+ .ui-btn {
133
+ height: 28px;
134
+ padding: 0 8px;
135
+ font-size: 11px;
136
+ }
137
+ }
138
+ .ui-note {
139
+ display: flex;
140
+ align-items: flex-start;
141
+ gap: 10px;
142
+ background: #f7f9fd;
143
+ border: 1px solid #edf0f6;
144
+ border-radius: var(--r-ui);
145
+ padding: 11px 14px;
146
+ margin-top: 18px;
147
+
148
+ .dot {
149
+ width: 16px;
150
+ height: 16px;
151
+ border-radius: 50%;
152
+ border: 1px solid #c9d3e6;
153
+ color: var(--blue);
154
+ font-size: 9px;
155
+ display: grid;
156
+ place-items: center;
157
+ flex: 0 0 auto;
158
+ margin-top: 1px;
159
+ font-weight: 700;
160
+ }
161
+ b {
162
+ display: block;
163
+ font-size: 11px;
164
+ font-weight: 500;
165
+ }
166
+ p {
167
+ margin: 1px 0 0;
168
+ font-size: 11px;
169
+ color: var(--muted);
170
+ }
171
+ }
172
+
173
+ // Products
174
+ .ui-sel-pill {
175
+ display: inline-flex;
176
+ align-items: center;
177
+ gap: 6px;
178
+ height: 38px;
179
+ padding: 0 14px;
180
+ border-radius: 8px;
181
+ background: #f4f6fb;
182
+ border: 1px solid #edf0f6;
183
+ font-size: 12px;
184
+ color: var(--muted);
185
+
186
+ strong {
187
+ color: var(--ink);
188
+ font-weight: 600;
189
+ }
190
+ }
191
+ .prod-grid {
192
+ display: grid;
193
+ align-items: center;
194
+ column-gap: 12px;
195
+ grid-template-columns: minmax(0, 2.4fr) 1fr 0.8fr 1fr 0.9fr 62px;
196
+ }
197
+ .prod-scroll {
198
+ overflow-x: auto;
199
+ }
200
+ .prod-search {
201
+ position: relative;
202
+ flex: 0 1 530px;
203
+ min-width: 0;
204
+
205
+ .ui-search {
206
+ flex: 1 1 auto;
207
+ width: 100%;
208
+ }
209
+ }
210
+ .prod-results {
211
+ position: absolute;
212
+ top: calc(100% + 6px);
213
+ left: 0;
214
+ right: 0;
215
+ z-index: 30;
216
+ max-height: 320px;
217
+ overflow-y: auto;
218
+ padding: 6px;
219
+ background: var(--surface);
220
+ border: 1px solid var(--line);
221
+ border-radius: 10px;
222
+ box-shadow: 0 14px 34px rgba(23, 33, 59, 0.16);
223
+ }
224
+ .prod-result {
225
+ display: flex;
226
+ align-items: center;
227
+ gap: 10px;
228
+ padding: 7px 8px;
229
+ border-radius: 8px;
230
+ cursor: pointer;
231
+
232
+ &:hover {
233
+ background: #f7f9fd;
234
+ }
235
+ img.prod-thumb {
236
+ object-fit: cover;
237
+ }
238
+ .txt {
239
+ flex: 1;
240
+ min-width: 0;
241
+
242
+ b,
243
+ span {
244
+ display: block;
245
+ white-space: nowrap;
246
+ overflow: hidden;
247
+ text-overflow: ellipsis;
248
+ }
249
+ b {
250
+ font-size: 12.5px;
251
+ font-weight: 600;
252
+ }
253
+ span {
254
+ font-size: 11px;
255
+ color: var(--muted);
256
+ }
257
+ }
258
+ .price {
259
+ font-size: 12px;
260
+ font-weight: 600;
261
+ }
262
+ }
263
+ .prod-result-note {
264
+ padding: 14px 10px;
265
+ text-align: center;
266
+ font-size: 11.5px;
267
+ color: var(--muted);
268
+ }
269
+ .prod-head {
270
+ padding: 10px 24px;
271
+ border-bottom: 1px solid var(--line);
272
+ background: #fbfcfe;
273
+ font-size: 12px;
274
+ font-weight: 600;
275
+ text-transform: uppercase;
276
+ letter-spacing: 0.07em;
277
+ color: var(--muted);
278
+ }
279
+ .prod-row {
280
+ padding: 12px 24px;
281
+ border-bottom: 1px solid #f0f2f7;
282
+
283
+ &:hover {
284
+ background: #fbfcff;
285
+ }
286
+ }
287
+ .prod-cell {
288
+ display: flex;
289
+ align-items: center;
290
+ gap: 11px;
291
+ min-width: 0;
292
+ }
293
+ .prod-thumb {
294
+ width: 38px;
295
+ height: 38px;
296
+ border-radius: 8px;
297
+ object-fit: cover;
298
+ background: #e7ebfa;
299
+ color: #9aa9e8;
300
+ display: grid;
301
+ place-items: center;
302
+ flex: 0 0 auto;
303
+ font-weight: 700;
304
+ font-size: 12px;
305
+ }
306
+ .prod-name {
307
+ min-width: 0;
308
+
309
+ b {
310
+ display: block;
311
+ font-size: 12px;
312
+ font-weight: 600;
313
+ white-space: nowrap;
314
+ overflow: hidden;
315
+ text-overflow: ellipsis;
316
+ }
317
+ span {
318
+ display: block;
319
+ font-size: 12px;
320
+ color: var(--muted);
321
+ white-space: nowrap;
322
+ overflow: hidden;
323
+ text-overflow: ellipsis;
324
+ }
325
+ }
326
+ .prod-code {
327
+ font-size: 12px;
328
+ color: var(--ink);
329
+ }
330
+ .prod-qty-box input {
331
+ width: 46px;
332
+ height: 34px;
333
+ padding: 0;
334
+ border: 1px solid #dfe4ee;
335
+ border-radius: 4px;
336
+ background: #fff;
337
+ text-align: center;
338
+ font-size: 12px;
339
+ color: var(--ink);
340
+ outline: 0;
341
+
342
+ &:focus {
343
+ border-color: var(--blue);
344
+ }
345
+ }
346
+ .prod-type {
347
+ font-size: 12px;
348
+ }
349
+ .prod-actions {
350
+ justify-content: flex-end;
351
+ gap: 4px;
352
+ }
353
+ .prod-qty {
354
+ display: inline-flex;
355
+ align-items: center;
356
+ border: 1px solid #dfe4ee;
357
+ border-radius: 7px;
358
+ overflow: hidden;
359
+ background: #fff;
360
+
361
+ button {
362
+ width: 26px;
363
+ height: 30px;
364
+ border: 0;
365
+ background: #fff;
366
+ color: #7c869c;
367
+ cursor: pointer;
368
+ display: grid;
369
+ place-items: center;
370
+
371
+ &:hover {
372
+ background: #f6f8fc;
373
+ }
374
+ }
375
+ input,
376
+ strong {
377
+ min-width: 24px;
378
+ width: 34px;
379
+ text-align: center;
380
+ font-size: 11px;
381
+ font-weight: 600;
382
+ border: 0;
383
+ outline: 0;
384
+ }
385
+ }
386
+ .prod-price {
387
+ flex-direction: column;
388
+ align-items: flex-start;
389
+ gap: 0;
390
+
391
+ .was {
392
+ display: block;
393
+ font-size: 12px;
394
+ color: #b6bcc9;
395
+
396
+ &.strike {
397
+ color: var(--red);
398
+ text-decoration: line-through;
399
+ }
400
+ }
401
+ b {
402
+ font-size: 12px;
403
+ font-weight: 500;
404
+ }
405
+ }
406
+ .prod-pill {
407
+ display: inline-flex;
408
+ align-items: center;
409
+ height: 20px;
410
+ padding: 0 8px;
411
+ border-radius: 5px;
412
+ font-size: 12px;
413
+ font-weight: 600;
414
+ background: var(--red-soft);
415
+ color: var(--red);
416
+
417
+ &.regular {
418
+ background: #f1f5fd;
419
+ color: #51617f;
420
+ }
421
+ }
422
+ .prod-x {
423
+ border: 0;
424
+ background: none;
425
+ color: #6b7488;
426
+ cursor: pointer;
427
+ display: grid;
428
+ place-items: center;
429
+ width: 26px;
430
+ height: 26px;
431
+ border-radius: 6px;
432
+ font-size: 15px;
433
+
434
+ &:hover {
435
+ background: #f3f5fa;
436
+ color: #6f7890;
437
+ }
438
+ &.danger {
439
+ color: var(--red);
440
+
441
+ &:hover {
442
+ background: var(--red-soft);
443
+ color: var(--red);
444
+ }
445
+ }
446
+ }
447
+ .prod-empty {
448
+ display: grid;
449
+ place-items: center;
450
+ text-align: center;
451
+ padding: 46px 20px 62px;
452
+
453
+ .circ {
454
+ width: 46px;
455
+ height: 46px;
456
+ border-radius: 12px;
457
+ background: var(--blue-soft);
458
+ color: var(--blue);
459
+ display: grid;
460
+ place-items: center;
461
+ margin-bottom: 10px;
462
+ }
463
+ b {
464
+ font-size: 13px;
465
+ }
466
+ p {
467
+ margin: 3px 0 0;
468
+ font-size: 11px;
469
+ color: var(--muted);
470
+ max-width: 320px;
471
+ }
472
+ }
473
+
474
+ // Customize label
475
+ .customize-grid {
476
+ display: grid;
477
+ grid-template-columns: minmax(0, 1fr) 390px;
478
+ gap: 20px;
479
+ align-items: start;
480
+
481
+ .opt-sec + .opt-sec {
482
+ margin-top: 18px;
483
+ padding-top: 18px;
484
+ border-top: 1px solid var(--line);
485
+ }
486
+ table.table {
487
+ margin: 0;
488
+ font-size: 12px;
489
+ border-collapse: collapse;
490
+ color: var(--ink);
491
+ --bs-table-bg: transparent;
492
+ --bs-table-border-color: transparent;
493
+ }
494
+ table.table > :not(caption) > * > * {
495
+ border: 0;
496
+ border-bottom: 1px solid #f0f2f7;
497
+ background: transparent;
498
+ padding: 10px 0;
499
+ vertical-align: middle;
500
+ }
501
+ table.table tr:last-child > * {
502
+ border-bottom: 0;
503
+ }
504
+ table.table td:first-child,
505
+ table.table th:first-child {
506
+ width: 58%;
507
+ padding-right: 12px;
508
+ font-weight: 600;
509
+ }
510
+ table.table td:last-child,
511
+ table.table th:last-child {
512
+ width: 42%;
513
+ text-align: right;
514
+ }
515
+ .row-sub {
516
+ display: block;
517
+ margin-top: 2px;
518
+ font-size: 11px;
519
+ font-weight: 400;
520
+ line-height: 1.25;
521
+ color: var(--muted);
522
+ }
523
+ .form-check {
524
+ display: flex;
525
+ justify-content: flex-end;
526
+ min-height: 0;
527
+ margin: 0;
528
+ padding-left: 0;
529
+ }
530
+ .form-check-input {
531
+ width: 34px;
532
+ height: 19px;
533
+ margin: 0;
534
+ border: 0;
535
+ background-color: #d9dfea;
536
+ background-size: 15px 15px;
537
+ background-position: left 2px center;
538
+ cursor: pointer;
539
+ }
540
+ .form-check-input:checked {
541
+ background-color: var(--blue);
542
+ background-position: right 2px center;
543
+ }
544
+ .form-control {
545
+ font-size: 12px;
546
+ min-height: 34px;
547
+ }
548
+ // Values sit on the right edge, lined up with the switches / right column.
549
+ .opt-sec-body .form-control,
550
+ .opt-sec-body .p-select .p-select-label {
551
+ text-align: right;
552
+ }
553
+
554
+ // Pricing font sizes: name on the left, value field on the right of the same row.
555
+ .opt-sec app-font-size table.table {
556
+ display: block;
557
+
558
+ tbody {
559
+ display: grid;
560
+ grid-template-columns: 1fr 1fr;
561
+ column-gap: 20px;
562
+ }
563
+ tr {
564
+ display: flex;
565
+ align-items: center;
566
+ gap: 12px;
567
+ padding: 8px 0;
568
+ }
569
+ tr > * {
570
+ display: block;
571
+ width: auto;
572
+ padding: 0;
573
+ border: 0;
574
+ text-align: left;
575
+ }
576
+ td:first-child {
577
+ flex: 0 0 auto;
578
+ padding-right: 0;
579
+ }
580
+ td:last-child {
581
+ flex: 1 1 auto;
582
+ min-width: 0;
583
+ display: flex;
584
+ justify-content: flex-end;
585
+ }
586
+ // Compact value field: the number sits right-aligned instead of the field
587
+ // stretching across the whole column.
588
+ .form-group {
589
+ width: auto;
590
+ }
591
+ .form-control {
592
+ width: 130px;
593
+ margin-left: auto;
594
+ }
595
+ }
596
+ .opt-sec app-price {
597
+ display: block;
598
+ margin-top: 10px;
599
+ }
600
+ }
601
+ .ui-sec-label {
602
+ font-size: 9.5px;
603
+ letter-spacing: 0.13em;
604
+ text-transform: uppercase;
605
+ color: #98a0b3;
606
+ font-weight: 600;
607
+ margin: 0 0 4px;
608
+ }
609
+ .ui-toggle-row {
610
+ display: flex;
611
+ align-items: center;
612
+ gap: 16px;
613
+ padding: 11px 0;
614
+ border-bottom: 1px solid #f0f2f7;
615
+
616
+ &:last-child {
617
+ border-bottom: 0;
618
+ }
619
+ .txt {
620
+ flex: 1;
621
+ min-width: 0;
622
+ }
623
+ b {
624
+ display: block;
625
+ font-size: 12px;
626
+ font-weight: 600;
627
+ }
628
+ span {
629
+ display: block;
630
+ font-size: 11px;
631
+ color: var(--muted);
632
+ }
633
+ }
634
+ .ui-divider {
635
+ height: 1px;
636
+ background: var(--line);
637
+ margin: 18px 0;
638
+ }
639
+ .ui-row2 {
640
+ display: grid;
641
+ grid-template-columns: 1.1fr 0.9fr;
642
+ gap: 18px;
643
+ align-items: end;
644
+ }
645
+ .preview-panel {
646
+ position: sticky;
647
+ top: 20px;
648
+ box-shadow: 0 6px 24px rgba(27, 42, 78, 0.035);
649
+
650
+ .ui-card-head {
651
+ padding: 14px 16px;
652
+ align-items: center;
653
+ }
654
+ h3 {
655
+ margin: 0;
656
+ font-size: 12px;
657
+ font-weight: 600;
658
+ display: flex;
659
+ align-items: center;
660
+ gap: 7px;
661
+
662
+ &::before {
663
+ content: '';
664
+ width: 7px;
665
+ height: 7px;
666
+ border-radius: 50%;
667
+ background: var(--green);
668
+ }
669
+ }
670
+ .dim {
671
+ font-size: 10px;
672
+ color: #98a0b3;
673
+ margin-left: auto;
674
+ }
675
+ }
676
+ .preview-stage {
677
+ background-color: #fafbfd;
678
+ background-image:
679
+ linear-gradient(45deg, #f1f3f7 25%, transparent 25%, transparent 75%, #f1f3f7 75%),
680
+ linear-gradient(45deg, #f1f3f7 25%, transparent 25%, transparent 75%, #f1f3f7 75%);
681
+ background-size: 16px 16px;
682
+ background-position:
683
+ 0 0,
684
+ 8px 8px;
685
+ padding: 38px 26px;
686
+ display: grid;
687
+ place-items: center;
688
+ min-height: 300px;
689
+
690
+ .label-stack {
691
+ display: flex;
692
+ flex-direction: column;
693
+ gap: 16px;
694
+ align-items: center;
695
+ width: 100%;
696
+ }
697
+ .label-stack > * {
698
+ display: block;
699
+ background: #fff;
700
+ box-shadow: 0 5px 16px rgba(23, 33, 59, 0.1);
701
+ }
702
+ // Dashed cut line between stacked shelf labels (matches the printed sheet)
703
+ .label-stack > .divider {
704
+ width: 71mm;
705
+ max-width: 100%;
706
+ height: 2px;
707
+ background-color: transparent;
708
+ background-image: repeating-linear-gradient(to right, #000 0 3px, transparent 3px 5px);
709
+ box-shadow: none;
710
+ border: 0;
711
+ }
712
+ }
713
+ .label-mock {
714
+ width: 100%;
715
+ max-width: 250px;
716
+ background: #fff;
717
+ box-shadow: 0 4px 16px rgba(23, 33, 59, 0.12);
718
+ padding: 16px 18px;
719
+ text-align: center;
720
+
721
+ .store {
722
+ font-size: 7px;
723
+ letter-spacing: 0.18em;
724
+ text-transform: uppercase;
725
+ color: #5a6379;
726
+ }
727
+ .name {
728
+ font-size: 14px;
729
+ font-weight: 700;
730
+ margin-top: 5px;
731
+ }
732
+ .meta {
733
+ font-size: 7px;
734
+ color: #7b8497;
735
+ margin-top: 2px;
736
+ }
737
+ .price {
738
+ font-size: 17px;
739
+ font-weight: 700;
740
+ margin-top: 8px;
741
+ }
742
+ .tax {
743
+ font-size: 6px;
744
+ color: #7b8497;
745
+ }
746
+ .bars {
747
+ height: 34px;
748
+ margin-top: 8px;
749
+ background: repeating-linear-gradient(
750
+ 90deg,
751
+ #111 0 1px,
752
+ transparent 1px 3px,
753
+ #111 3px 4px,
754
+ transparent 4px 6px
755
+ );
756
+ }
757
+ .code {
758
+ font-size: 5.5px;
759
+ letter-spacing: 0.16em;
760
+ color: #7b8497;
761
+ margin-top: 3px;
762
+ }
763
+ }
764
+ .preview-foot {
765
+ padding: 10px 14px;
766
+ border-top: 1px solid var(--line);
767
+ font-size: 10px;
768
+ color: #98a0b3;
769
+ text-align: center;
770
+ }
771
+
772
+ // Print preview
773
+ .print-layout {
774
+ display: grid;
775
+ grid-template-columns: minmax(0, 1fr) 360px;
776
+ gap: 20px;
777
+ align-items: start;
778
+ }
779
+ .sheet-wrap {
780
+ background: #eef1f6;
781
+ padding: 35px;
782
+ position: relative;
783
+ display: grid;
784
+ align-items: start;
785
+ justify-items: center;
786
+ min-height: 420px;
787
+ overflow: auto;
788
+ }
789
+ .sheet {
790
+ // The real sticker grid is rendered at print scale; `[style.zoom]` scales the paper to fit.
791
+ width: max-content;
792
+ max-width: none;
793
+ background: #fff;
794
+ padding: 16px;
795
+ box-shadow: 0 9px 24px rgba(26, 38, 66, 0.15);
796
+ display: flex;
797
+ flex-direction: column;
798
+ }
799
+ .zoom {
800
+ position: absolute;
801
+ right: 13px;
802
+ bottom: 13px;
803
+ display: flex;
804
+ align-items: center;
805
+ border: 1px solid var(--line);
806
+ border-radius: 7px;
807
+ background: #fff;
808
+ overflow: hidden;
809
+ box-shadow: var(--shadow);
810
+
811
+ button {
812
+ width: 31px;
813
+ height: 28px;
814
+ border: 0;
815
+ background: #fff;
816
+ color: #8b94a8;
817
+ cursor: pointer;
818
+ }
819
+ span {
820
+ min-width: 38px;
821
+ font-size: 8px;
822
+ color: var(--muted);
823
+ border-inline: 1px solid var(--line);
824
+ text-align: center;
825
+ }
826
+ }
827
+ .ui-side-panel .block {
828
+ padding: 14px 16px;
829
+ border-bottom: 1px solid #f0f2f7;
830
+
831
+ &:last-child {
832
+ border-bottom: 0;
833
+ }
834
+ }
835
+ .ui-side-panel h3 {
836
+ margin: 0 0 8px;
837
+ font-size: 12px;
838
+ font-weight: 600;
839
+ }
840
+ // RFID settings: the card body is a plain block, so spacing comes from the flex gap.
841
+ app-rfid-preview .ui-side-panel .ui-card-body {
842
+ display: flex;
843
+ flex-direction: column;
844
+ gap: 14px;
845
+
846
+ .ui-hint {
847
+ margin: 0;
848
+ }
849
+ }
850
+ .ui-summary {
851
+ background: #f8fafd;
852
+ border: 1px solid #edf0f6;
853
+ border-radius: 8px;
854
+ padding: 4px 12px;
855
+
856
+ .row {
857
+ display: flex;
858
+ align-items: center;
859
+ justify-content: space-between;
860
+ padding: 7px 0;
861
+ font-size: 11px;
862
+ color: var(--muted);
863
+ }
864
+ .row > * {
865
+ width: auto;
866
+ max-width: none;
867
+ padding: 0;
868
+ }
869
+ .row + .row {
870
+ border-top: 1px solid #edf0f6;
871
+ }
872
+ b {
873
+ color: var(--ink);
874
+ font-weight: 600;
875
+ }
876
+ .total b {
877
+ color: var(--blue);
878
+ }
879
+ }
880
+
881
+ // Print settings accordions (Paper, Spacing, Label): same borderless table look
882
+ // as the customize step instead of Bootstrap's bordered grid.
883
+ .print-settings {
884
+ table.table {
885
+ margin: 0;
886
+ font-size: 12px;
887
+ border-collapse: collapse;
888
+ color: var(--ink);
889
+ --bs-table-bg: transparent;
890
+ --bs-table-border-color: transparent;
891
+ }
892
+ table.table > :not(caption) > * > * {
893
+ border: 0;
894
+ border-bottom: 1px solid #f0f2f7;
895
+ background: transparent;
896
+ padding: 10px 0;
897
+ vertical-align: middle;
898
+ }
899
+ table.table tr:last-child > * {
900
+ border-bottom: 0;
901
+ }
902
+ table.table td:last-child,
903
+ table.table th:last-child {
904
+ text-align: right;
905
+ }
906
+ .form-control {
907
+ font-size: 12px;
908
+ min-height: 34px;
909
+ text-align: right;
910
+ }
911
+ }
912
+
913
+ // Setup
914
+ .setup-table {
915
+ width: 100%;
916
+ }
917
+ .setup-tr {
918
+ display: grid;
919
+ grid-template-columns: minmax(0, 1.6fr) 1fr 0.7fr;
920
+ gap: 16px;
921
+ align-items: center;
922
+ padding: 0 24px;
923
+ }
924
+ .setup-thead {
925
+ padding: 12px 24px;
926
+ border-bottom: 1px solid var(--line);
927
+ font-size: 9.5px;
928
+ letter-spacing: 0.12em;
929
+ text-transform: uppercase;
930
+ color: #98a0b3;
931
+ font-weight: 600;
932
+ }
933
+ .setup-tbody .setup-tr {
934
+ min-height: 64px;
935
+ border-bottom: 1px solid #f0f2f7;
936
+ }
937
+ .setup-login {
938
+ display: flex;
939
+ align-items: center;
940
+ gap: 10px;
941
+ min-width: 0;
942
+
943
+ .ui-avatar {
944
+ width: 30px;
945
+ height: 30px;
946
+ border-radius: 50%;
947
+ display: grid;
948
+ place-items: center;
949
+ font-size: 10px;
950
+ font-weight: 700;
951
+ line-height: 1;
952
+ flex: 0 0 auto;
953
+ background: var(--blue-soft);
954
+ color: var(--blue);
955
+ }
956
+ b {
957
+ font-size: 12px;
958
+ font-weight: 600;
959
+ }
960
+ }
961
+ .setup-grp {
962
+ display: inline-flex;
963
+ height: 20px;
964
+ align-items: center;
965
+ padding: 0 8px;
966
+ border-radius: 5px;
967
+ background: #f1f5fd;
968
+ color: #41567e;
969
+ font-size: 10px;
970
+ font-weight: 600;
971
+ width: fit-content;
972
+ }
973
+ .setup-status {
974
+ display: flex;
975
+ align-items: center;
976
+ gap: 6px;
977
+ font-size: 11px;
978
+ color: var(--muted);
979
+
980
+ &::before {
981
+ content: '';
982
+ width: 6px;
983
+ height: 6px;
984
+ border-radius: 50%;
985
+ background: var(--green);
986
+ }
987
+ }
988
+ .setup-perm {
989
+ display: flex;
990
+ align-items: center;
991
+ gap: 14px;
992
+ border: 1px solid var(--line);
993
+ border-radius: 10px;
994
+ padding: 14px 16px;
995
+ margin-top: 12px;
996
+
997
+ .ui-tile {
998
+ width: 38px;
999
+ height: 38px;
1000
+ border-radius: 8px;
1001
+ border: 1px solid var(--line);
1002
+ display: grid;
1003
+ place-items: center;
1004
+ color: var(--muted);
1005
+ flex: 0 0 auto;
1006
+ }
1007
+ .txt {
1008
+ flex: 1;
1009
+ min-width: 0;
1010
+ }
1011
+ b {
1012
+ display: block;
1013
+ font-size: 12px;
1014
+ }
1015
+ }
1016
+ .cred {
1017
+ max-width: 700px;
1018
+ display: flex;
1019
+ flex-direction: column;
1020
+ gap: 16px;
1021
+ }
1022
+ .cred-secure {
1023
+ display: flex;
1024
+ gap: 10px;
1025
+ background: #f7f9fd;
1026
+ border: 1px solid #edf0f6;
1027
+ border-radius: 9px;
1028
+ padding: 12px 14px;
1029
+
1030
+ b {
1031
+ display: block;
1032
+ font-size: 11px;
1033
+ }
1034
+ p {
1035
+ margin: 2px 0 0;
1036
+ font-size: 10.5px;
1037
+ color: var(--muted);
1038
+ }
1039
+ }
1040
+ .cred-field {
1041
+ display: flex;
1042
+ align-items: center;
1043
+ gap: 8px;
1044
+ border: 1px solid #dfe4ee;
1045
+ border-radius: 8px;
1046
+ background: #fff;
1047
+ padding: 0 6px 0 11px;
1048
+ height: 38px;
1049
+
1050
+ code {
1051
+ flex: 1;
1052
+ font-family: ui-monospace, Consolas, monospace;
1053
+ font-size: 11px;
1054
+ color: #41567e;
1055
+ overflow: hidden;
1056
+ text-overflow: ellipsis;
1057
+ white-space: nowrap;
1058
+ }
1059
+ button {
1060
+ height: 28px;
1061
+ display: inline-flex;
1062
+ align-items: center;
1063
+ gap: 6px;
1064
+ border: 1px solid #e3eaf8;
1065
+ background: #f5f8ff;
1066
+ color: var(--blue);
1067
+ border-radius: 6px;
1068
+ font-size: 10px;
1069
+ font-weight: 600;
1070
+ padding: 0 9px;
1071
+ cursor: pointer;
1072
+ }
1073
+ }
1074
+
1075
+ // Connection
1076
+ .conn-card {
1077
+ width: min(900px, 100%);
1078
+ margin: 0 auto;
1079
+ }
1080
+ .conn-hero {
1081
+ padding: 56px 40px 30px;
1082
+ display: flex;
1083
+ flex-direction: column;
1084
+ align-items: center;
1085
+ text-align: center;
1086
+
1087
+ h2 {
1088
+ margin: 0;
1089
+ font-size: 20px;
1090
+ font-weight: 700;
1091
+ }
1092
+ p {
1093
+ margin: 7px 0 0;
1094
+ font-size: 12px;
1095
+ color: var(--muted);
1096
+ max-width: 520px;
1097
+ }
1098
+ }
1099
+ .conn-icon {
1100
+ width: 68px;
1101
+ height: 68px;
1102
+ border-radius: 50%;
1103
+ background: var(--red-soft);
1104
+ color: #e46a6a;
1105
+ display: grid;
1106
+ place-items: center;
1107
+ margin-bottom: 22px;
1108
+ }
1109
+ .conn-form {
1110
+ width: min(640px, 100%);
1111
+ margin: 26px auto 0;
1112
+ border: 1px solid #e7eaf1;
1113
+ border-radius: 9px;
1114
+ padding: 14px 16px 12px;
1115
+ text-align: left;
1116
+ background: #fff;
1117
+
1118
+ .top {
1119
+ display: flex;
1120
+ align-items: center;
1121
+ justify-content: space-between;
1122
+ margin-bottom: 7px;
1123
+
1124
+ b {
1125
+ font-size: 11px;
1126
+ }
1127
+ .state {
1128
+ display: flex;
1129
+ align-items: center;
1130
+ gap: 5px;
1131
+ font-size: 10px;
1132
+ color: var(--muted);
1133
+
1134
+ &::before {
1135
+ content: '';
1136
+ width: 6px;
1137
+ height: 6px;
1138
+ border-radius: 50%;
1139
+ background: #98a0b3;
1140
+ }
1141
+ &.on::before {
1142
+ background: var(--green);
1143
+ }
1144
+ }
1145
+ }
1146
+ }
1147
+ .conn-foot {
1148
+ display: flex;
1149
+ align-items: center;
1150
+ justify-content: space-between;
1151
+ gap: 16px;
1152
+ padding: 14px 18px;
1153
+ background: #fafbfd;
1154
+ border-top: 1px solid var(--line);
1155
+ border-radius: 0 0 var(--r-card) var(--r-card);
1156
+
1157
+ span {
1158
+ font-size: 10px;
1159
+ color: #98a0b3;
1160
+ }
1161
+ }
1162
+
1163
+ // RFID
1164
+ .rfid-drop {
1165
+ border: 1px dashed #c9d3e6;
1166
+ border-radius: 10px;
1167
+ background: #fbfcff;
1168
+ padding: 46px 24px;
1169
+ text-align: center;
1170
+ display: flex;
1171
+ flex-direction: column;
1172
+ align-items: center;
1173
+ gap: 8px;
1174
+ cursor: pointer;
1175
+
1176
+ &.dragging {
1177
+ border-color: var(--blue);
1178
+ background: var(--blue-soft);
1179
+ }
1180
+ // Once the layout is rendered the drop zone becomes the template preview.
1181
+ &.has-preview {
1182
+ padding: 18px 24px 16px;
1183
+ gap: 10px;
1184
+ }
1185
+ .circ {
1186
+ width: 48px;
1187
+ height: 48px;
1188
+ border-radius: 50%;
1189
+ background: var(--blue-soft);
1190
+ color: var(--blue);
1191
+ display: grid;
1192
+ place-items: center;
1193
+ margin-bottom: 6px;
1194
+ }
1195
+ b {
1196
+ font-size: 13px;
1197
+ }
1198
+ span {
1199
+ font-size: 11px;
1200
+ color: var(--muted);
1201
+ }
1202
+ .rfid-template {
1203
+ display: grid;
1204
+ place-items: center;
1205
+ width: 100%;
1206
+ padding: 18px;
1207
+ border: 1px solid var(--line);
1208
+ border-radius: 8px;
1209
+ background-color: #fafbfd;
1210
+ background-image:
1211
+ linear-gradient(45deg, #f1f3f7 25%, transparent 25%, transparent 75%, #f1f3f7 75%),
1212
+ linear-gradient(45deg, #f1f3f7 25%, transparent 25%, transparent 75%, #f1f3f7 75%);
1213
+ background-size: 16px 16px;
1214
+ background-position:
1215
+ 0 0,
1216
+ 8px 8px;
1217
+
1218
+ img {
1219
+ display: block;
1220
+ max-width: 100%;
1221
+ max-height: 190px;
1222
+ border-radius: 3px;
1223
+ background: #fff;
1224
+ box-shadow: 0 3px 12px rgba(26, 38, 66, 0.14);
1225
+ }
1226
+ }
1227
+ }
1228
+ .rfid-file {
1229
+ display: flex;
1230
+ flex-direction: column;
1231
+ align-items: center;
1232
+ justify-content: center;
1233
+ gap: 12px;
1234
+ // border: 1px solid var(--line);
1235
+ border-radius: 9px;
1236
+ padding: 12px 14px;
1237
+ // margin-top: 14px;
1238
+ // background-color: white;
1239
+ width: 100%;
1240
+ height: 100%;
1241
+ // White tile for the file icon. The drop zone itself is already #fbfcff,
1242
+ // so white alone is invisible — the border and shadow give it contrast.
1243
+ .rfid-file-icon {
1244
+ display: grid;
1245
+ place-items: center;
1246
+ padding: 14px;
1247
+ background-color: #fff;
1248
+ border: 1px solid var(--line);
1249
+ border-radius: 12px;
1250
+ box-shadow: 0 4px 14px rgba(26, 38, 66, 0.1);
1251
+ }
1252
+ .txt {
1253
+ // flex: 1;
1254
+ min-width: 0;
1255
+ }
1256
+ b {
1257
+ display: block;
1258
+ font-size: 12px;
1259
+ }
1260
+ span {
1261
+ display: block;
1262
+ font-size: 11px;
1263
+ color: var(--muted);
1264
+ }
1265
+ }
1266
+
1267
+ @media (max-width: 1100px) {
1268
+ .customize-grid,
1269
+ .print-layout {
1270
+ grid-template-columns: 1fr;
1271
+ }
1272
+ .preview-panel {
1273
+ position: static;
1274
+ }
1275
+ .tpl-grid {
1276
+ grid-template-columns: repeat(2, 1fr);
1277
+ }
1278
+ }
1279
+
1280
+ @media (max-width: 1024px) {
1281
+ .ui-main {
1282
+ margin-left: 0;
1283
+ }
1284
+ .ui-footer {
1285
+ left: 0;
1286
+ }
1287
+ .ui-page {
1288
+ width: calc(100% - 40px);
1289
+ padding-top: 20px;
1290
+ }
1291
+ .prod-grid {
1292
+ min-width: 760px;
1293
+ }
1294
+ .prod-scroll {
1295
+ overflow-x: auto;
1296
+ }
1297
+ .ui-table {
1298
+ overflow-x: auto;
1299
+ }
1300
+ .setup-tr {
1301
+ min-width: 620px;
1302
+ }
1303
+ .setup-thead,
1304
+ .setup-table {
1305
+ overflow-x: auto;
1306
+ }
1307
+ }
1308
+
1309
+ @media (max-width: 640px) {
1310
+ .ui-page-head {
1311
+ flex-direction: column;
1312
+ gap: 10px;
1313
+ }
1314
+ .ui-card-head {
1315
+ flex-direction: column;
1316
+ gap: 12px;
1317
+ }
1318
+ .ui-card-head .actions {
1319
+ flex-wrap: wrap;
1320
+ padding-top: 0;
1321
+ }
1322
+ .ui-stepper {
1323
+ overflow-x: auto;
1324
+ padding: 12px;
1325
+ }
1326
+ .ui-step-label {
1327
+ display: none;
1328
+ }
1329
+ .tpl-grid {
1330
+ grid-template-columns: 1fr;
1331
+ }
1332
+ .ui-sidebar .ui-mode-text span {
1333
+ display: none;
1334
+ }
1335
+ }
1336
+
1337
+ // Setup tables use PrimeNG for lazy pagination and selection.
1338
+ .setup-table {
1339
+ width: 100%;
1340
+
1341
+ .p-datatable-table {
1342
+ width: 100%;
1343
+ table-layout: fixed;
1344
+ }
1345
+ .p-datatable-thead > tr > th {
1346
+ background: #fbfcfe;
1347
+ border-bottom: 1px solid var(--line);
1348
+ color: #98a0b3;
1349
+ font-size: 9.5px;
1350
+ font-weight: 600;
1351
+ letter-spacing: 0.12em;
1352
+ padding: 12px 16px;
1353
+ text-transform: uppercase;
1354
+ }
1355
+ .p-datatable-tbody > tr > td {
1356
+ border-bottom: 1px solid #f0f2f7;
1357
+ font-size: 12px;
1358
+ padding: 12px 16px;
1359
+ }
1360
+ .p-datatable-tbody > tr:hover > td {
1361
+ background: #fbfcff;
1362
+ }
1363
+ .p-datatable-tbody > tr > td:first-child,
1364
+ .p-datatable-thead > tr > th:first-child {
1365
+ padding-left: 24px;
1366
+ }
1367
+ .p-datatable-tbody > tr > td.setup-sel,
1368
+ .p-datatable-thead > tr > th.setup-sel {
1369
+ width: 46px;
1370
+ padding-left: 24px;
1371
+ padding-right: 2px;
1372
+ }
1373
+ .p-datatable-tbody > tr > td.setup-sel + td,
1374
+ .p-datatable-thead > tr > th.setup-sel + th {
1375
+ padding-left: 10px;
1376
+ }
1377
+ .p-paginator {
1378
+ background: transparent;
1379
+ border: 0;
1380
+ font-size: 11px;
1381
+ padding: 10px 16px;
1382
+ }
1383
+ }
1384
+
1385
+ .cred-field .ui-input {
1386
+ border: 0;
1387
+ flex: 1;
1388
+ font-size: 12px;
1389
+ height: 36px;
1390
+ padding: 0;
1391
+ }
1392
+
1393
+ .p-dialog {
1394
+ .p-dialog-header {
1395
+ border-bottom: 1px solid var(--line);
1396
+ padding: 16px 20px;
1397
+ }
1398
+ .p-dialog-content {
1399
+ padding: 16px 20px;
1400
+ }
1401
+ .p-dialog-footer {
1402
+ border-top: 1px solid var(--line);
1403
+ padding: 12px 20px;
1404
+ }
1405
+ }
1406
+
1407
+ .rfid-previews {
1408
+ display: grid;
1409
+ grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
1410
+ gap: 14px;
1411
+ padding: 20px 24px;
1412
+ }
1413
+
1414
+ .rfid-preview {
1415
+ margin: 0;
1416
+ border: 1px solid var(--line);
1417
+ border-radius: 10px;
1418
+ overflow: hidden;
1419
+ background: #f6f8fc;
1420
+ // Cards in a row share the height of the tallest one, and the caption keeps
1421
+ // its meta rows aligned no matter how long the product name is.
1422
+ display: flex;
1423
+ flex-direction: column;
1424
+
1425
+ img {
1426
+ display: block;
1427
+ width: 100%;
1428
+ object-fit: contain;
1429
+ }
1430
+
1431
+ figcaption {
1432
+ display: flex;
1433
+ flex: 1;
1434
+ flex-direction: column;
1435
+ gap: 2px;
1436
+ padding: 10px 12px;
1437
+ border-top: 1px solid var(--line);
1438
+ background: #fff;
1439
+
1440
+ b {
1441
+ font-size: 12px;
1442
+ line-height: 1.35;
1443
+ font-weight: 600;
1444
+ color: var(--ink);
1445
+ // Reserve two lines so the meta rows below start at the same y on every card.
1446
+ display: -webkit-box;
1447
+ -webkit-box-orient: vertical;
1448
+ -webkit-line-clamp: 2;
1449
+ line-clamp: 2;
1450
+ min-height: 2.7em;
1451
+ overflow: hidden;
1452
+ overflow-wrap: anywhere;
1453
+ }
1454
+ // Both meta rows carry a leading bullet so their text starts on the same x.
1455
+ span,
1456
+ small {
1457
+ position: relative;
1458
+ padding-left: 10px;
1459
+ color: var(--muted);
1460
+
1461
+ &::before {
1462
+ content: '';
1463
+ position: absolute;
1464
+ left: 0;
1465
+ top: 0.55em;
1466
+ width: 3px;
1467
+ height: 3px;
1468
+ border-radius: 50%;
1469
+ background: #b9c1d1;
1470
+ }
1471
+ }
1472
+ span {
1473
+ font-size: 11px;
1474
+ }
1475
+ small {
1476
+ font-size: 10px;
1477
+ overflow: hidden;
1478
+ text-overflow: ellipsis;
1479
+ white-space: nowrap;
1480
+ }
1481
+ }
1482
+ }
1483
+
1484
+ .rfid-pager {
1485
+ display: flex;
1486
+ align-items: center;
1487
+ justify-content: center;
1488
+ gap: 12px;
1489
+ padding: 14px 24px;
1490
+ border-top: 1px solid var(--line);
1491
+
1492
+ span {
1493
+ font-size: 11px;
1494
+ color: var(--muted);
1495
+ }
1496
+ }
1497
+
1498
+ .rfid-actions {
1499
+ display: flex;
1500
+ justify-content: center;
1501
+ gap: 8px;
1502
+ margin-top: 8px;
1503
+ }
1504
+
1505
+ .conn-form .ui-summary {
1506
+ margin-top: 12px;
1507
+ }
1508
+
1509
+ @media (max-width: 640px) {
1510
+ .rfid-previews {
1511
+ grid-template-columns: 1fr;
1512
+ padding: 16px;
1513
+ }
1514
+ }