nexabase-report 0.5.14 → 0.6.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.
@@ -1,5 +1,5 @@
1
- import { c as Va, d as il } from "./index-DxMSxdjv.js";
2
- import { _ as La } from "./jspdf.es.min-Cm8b-Aiq.js";
1
+ import { c as Va, d as il } from "./index-COawWIfB.js";
2
+ import { _ as La } from "./jspdf.es.min-DuvNqd4l.js";
3
3
  var fn = {}, cn = {}, cr, vn;
4
4
  function Q() {
5
5
  if (vn) return cr;
@@ -7303,7 +7303,7 @@ function wu(n) {
7303
7303
  */
7304
7304
  (function(n) {
7305
7305
  function e() {
7306
- return (Ht.canvg ? Promise.resolve(Ht.canvg) : import("./index.es-CNldezWh.js")).catch((function(r) {
7306
+ return (Ht.canvg ? Promise.resolve(Ht.canvg) : import("./index.es-DccStV_u.js")).catch((function(r) {
7307
7307
  return Promise.reject(new Error("Could not load canvg: " + r));
7308
7308
  })).then((function(r) {
7309
7309
  return r.default ? r.default : r;
@@ -2338,4 +2338,212 @@
2338
2338
  .nd-toolbox-grid {
2339
2339
  grid-template-columns: repeat(3, 1fr) !important;
2340
2340
  }
2341
+ }
2342
+
2343
+ /* ============================================================
2344
+ CREATE REPORT WIZARD
2345
+ ============================================================ */
2346
+ .nd-wizard-header {
2347
+ display: flex;
2348
+ flex-direction: column;
2349
+ gap: 12px;
2350
+ padding: 8px 0;
2351
+ }
2352
+ .nd-wizard-title {
2353
+ font-size: 16px;
2354
+ font-weight: 600;
2355
+ margin: 0;
2356
+ color: #1e293b;
2357
+ }
2358
+ .nd-wizard-steps {
2359
+ display: flex;
2360
+ gap: 8px;
2361
+ }
2362
+ .nd-wizard-step {
2363
+ display: flex;
2364
+ align-items: center;
2365
+ gap: 6px;
2366
+ padding: 4px 10px;
2367
+ border-radius: 6px;
2368
+ font-size: 12px;
2369
+ color: #94a3b8;
2370
+ background: #f1f5f9;
2371
+ }
2372
+ .nd-wizard-step.active {
2373
+ color: #3b82f6;
2374
+ background: #dbeafe;
2375
+ font-weight: 600;
2376
+ }
2377
+ .nd-wizard-step.done {
2378
+ color: #10b981;
2379
+ background: #d1fae5;
2380
+ }
2381
+ .nd-wiz-step-num {
2382
+ width: 20px;
2383
+ height: 20px;
2384
+ border-radius: 50%;
2385
+ display: flex;
2386
+ align-items: center;
2387
+ justify-content: center;
2388
+ font-size: 11px;
2389
+ font-weight: 700;
2390
+ background: currentColor;
2391
+ color: white;
2392
+ }
2393
+ .nd-wiz-step-label {
2394
+ white-space: nowrap;
2395
+ }
2396
+ .nd-wiz-body {
2397
+ min-height: 260px;
2398
+ padding: 8px 0;
2399
+ }
2400
+ .nd-wiz-desc {
2401
+ color: #64748b;
2402
+ font-size: 13px;
2403
+ margin: 0 0 16px 0;
2404
+ }
2405
+ .nd-wiz-cards {
2406
+ display: flex;
2407
+ gap: 12px;
2408
+ }
2409
+ .nd-wiz-card {
2410
+ flex: 1;
2411
+ border: 2px solid #e2e8f0;
2412
+ border-radius: 10px;
2413
+ padding: 20px 16px;
2414
+ cursor: pointer;
2415
+ transition: all 0.15s;
2416
+ display: flex;
2417
+ flex-direction: column;
2418
+ align-items: center;
2419
+ text-align: center;
2420
+ gap: 8px;
2421
+ }
2422
+ .nd-wiz-card:hover {
2423
+ border-color: #93c5fd;
2424
+ background: #f0f9ff;
2425
+ }
2426
+ .nd-wiz-card.selected {
2427
+ border-color: #3b82f6;
2428
+ background: #eff6ff;
2429
+ box-shadow: 0 0 0 1px #3b82f6;
2430
+ }
2431
+ .nd-wiz-card-icon {
2432
+ font-size: 2.2rem;
2433
+ }
2434
+ .nd-wiz-card-title {
2435
+ font-weight: 600;
2436
+ font-size: 14px;
2437
+ color: #1e293b;
2438
+ }
2439
+ .nd-wiz-card-desc {
2440
+ font-size: 11px;
2441
+ color: #64748b;
2442
+ line-height: 1.4;
2443
+ }
2444
+ .nd-wiz-grid {
2445
+ display: grid;
2446
+ grid-template-columns: 1fr 1fr;
2447
+ gap: 10px;
2448
+ }
2449
+ .nd-wiz-tpl {
2450
+ border: 2px solid #e2e8f0;
2451
+ border-radius: 10px;
2452
+ padding: 16px 14px;
2453
+ cursor: pointer;
2454
+ transition: all 0.15s;
2455
+ display: flex;
2456
+ flex-direction: column;
2457
+ gap: 6px;
2458
+ }
2459
+ .nd-wiz-tpl:hover {
2460
+ border-color: #93c5fd;
2461
+ background: #f0f9ff;
2462
+ }
2463
+ .nd-wiz-tpl.selected {
2464
+ border-color: #3b82f6;
2465
+ background: #eff6ff;
2466
+ box-shadow: 0 0 0 1px #3b82f6;
2467
+ }
2468
+ .nd-wiz-tpl.disabled {
2469
+ opacity: 0.4;
2470
+ cursor: not-allowed;
2471
+ pointer-events: none;
2472
+ }
2473
+ .nd-wiz-tpl-icon {
2474
+ font-size: 1.4rem;
2475
+ color: #3b82f6;
2476
+ }
2477
+ .nd-wiz-tpl-label {
2478
+ font-weight: 600;
2479
+ font-size: 13px;
2480
+ color: #1e293b;
2481
+ }
2482
+ .nd-wiz-tpl-desc {
2483
+ font-size: 11px;
2484
+ color: #64748b;
2485
+ line-height: 1.35;
2486
+ }
2487
+ .nd-wiz-radios {
2488
+ display: flex;
2489
+ flex-direction: column;
2490
+ gap: 10px;
2491
+ margin-bottom: 16px;
2492
+ }
2493
+ .nd-wiz-radio {
2494
+ display: flex;
2495
+ align-items: center;
2496
+ gap: 10px;
2497
+ padding: 10px 14px;
2498
+ border: 1px solid #e2e8f0;
2499
+ border-radius: 8px;
2500
+ cursor: pointer;
2501
+ transition: border-color 0.15s;
2502
+ font-size: 13px;
2503
+ }
2504
+ .nd-wiz-radio:hover {
2505
+ border-color: #93c5fd;
2506
+ }
2507
+ .nd-wiz-radio input[type="radio"] {
2508
+ accent-color: #3b82f6;
2509
+ }
2510
+ .nd-wiz-field {
2511
+ display: flex;
2512
+ flex-direction: column;
2513
+ gap: 6px;
2514
+ }
2515
+ .nd-wiz-field label {
2516
+ font-size: 12px;
2517
+ font-weight: 500;
2518
+ color: #475569;
2519
+ }
2520
+ .nd-wiz-summary {
2521
+ display: flex;
2522
+ flex-direction: column;
2523
+ gap: 10px;
2524
+ }
2525
+ .nd-wiz-summary-row {
2526
+ display: flex;
2527
+ align-items: center;
2528
+ gap: 12px;
2529
+ padding: 10px 12px;
2530
+ background: #f8fafc;
2531
+ border-radius: 8px;
2532
+ font-size: 13px;
2533
+ }
2534
+ .nd-wiz-summary-label {
2535
+ font-weight: 500;
2536
+ color: #475569;
2537
+ min-width: 80px;
2538
+ }
2539
+ .nd-wiz-footer {
2540
+ display: flex;
2541
+ justify-content: space-between;
2542
+ align-items: center;
2543
+ width: 100%;
2544
+ }
2545
+ .nd-wiz-footer-right {
2546
+ display: flex;
2547
+ gap: 8px;
2548
+ margin-left: auto;
2341
2549
  }
@@ -383,4 +383,45 @@
383
383
  }
384
384
  .nd-wm-dialog .p-dialog-footer {
385
385
  padding: 8px 20px 12px !important;
386
+ }
387
+
388
+ /* ============================================================
389
+ WIZARD DIALOG (New Report)
390
+ ============================================================ */
391
+
392
+ .p-dialog.nd-wizard-dialog {
393
+ border-radius: 12px;
394
+ overflow: hidden;
395
+ box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
396
+ }
397
+
398
+ .p-dialog.nd-wizard-dialog .p-dialog-header {
399
+ background: var(--nd-surface, #ffffff);
400
+ border-bottom: 1px solid var(--nd-border, #e2e8f0);
401
+ padding: 20px 24px 12px !important;
402
+ }
403
+
404
+ .p-dialog.nd-wizard-dialog .p-dialog-content {
405
+ background: var(--nd-surface, #ffffff);
406
+ padding: 8px 24px 16px !important;
407
+ min-height: 200px;
408
+ max-height: 440px;
409
+ overflow-y: auto !important;
410
+ }
411
+
412
+ .p-dialog.nd-wizard-dialog .p-dialog-footer {
413
+ background: var(--nd-surface, #ffffff);
414
+ border-top: 1px solid var(--nd-border, #e2e8f0);
415
+ padding: 12px 24px !important;
416
+ }
417
+
418
+ .p-dialog.nd-wizard-dialog .p-dialog-header .p-dialog-header-icon {
419
+ color: #94a3b8;
420
+ width: 28px;
421
+ height: 28px;
422
+ }
423
+
424
+ .p-dialog.nd-wizard-dialog .p-dialog-header .p-dialog-header-icon:hover {
425
+ color: #475569;
426
+ background: #f1f5f9;
386
427
  }
@@ -1,4 +1,4 @@
1
- import { D as s, N as r, a as t, S as E, b as m, i, r as l, e as o, t as p } from "./index-DxMSxdjv.js";
1
+ import { D as s, N as r, a as t, S as E, b as m, i, r as l, e as o, t as p } from "./index-COawWIfB.js";
2
2
  export {
3
3
  s as DEFAULT_THEME,
4
4
  r as NexaDesignerElement,