@ziyarago/ui 0.7.0 → 0.8.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.
@@ -3163,6 +3163,707 @@
3163
3163
  "use": "<UiDataTable :columns=\"cols\" :rows=\"rows\" />"
3164
3164
  }
3165
3165
  ]
3166
+ },
3167
+ {
3168
+ "key": "calendar",
3169
+ "route": "calendar",
3170
+ "label": "Calendar",
3171
+ "icon": "calendar-days",
3172
+ "desc": "Schedule: week, day and month switch, event grid, mini calendar and an event details side panel.",
3173
+ "component": "PageCalendar",
3174
+ "tpl": "TplCalendar",
3175
+ "shell": true,
3176
+ "slots": [
3177
+ {
3178
+ "id": "header",
3179
+ "title": "Page heading",
3180
+ "desc": "Breadcrumbs, heading, caption and action buttons on the right.",
3181
+ "accepts": [
3182
+ "PageHeader",
3183
+ "Breadcrumbs",
3184
+ "Button",
3185
+ "SegmentedControl"
3186
+ ],
3187
+ "props": [
3188
+ {
3189
+ "name": "title",
3190
+ "type": "string",
3191
+ "desc": "H1, up to 60 characters"
3192
+ },
3193
+ {
3194
+ "name": "subtitle",
3195
+ "type": "string?",
3196
+ "desc": "Gray caption below the heading"
3197
+ },
3198
+ {
3199
+ "name": "crumbs",
3200
+ "type": "{label,href?}[]",
3201
+ "desc": "Breadcrumbs"
3202
+ },
3203
+ {
3204
+ "name": "actions",
3205
+ "type": "VNode",
3206
+ "desc": "Buttons on the right; wrap below on a narrow screen"
3207
+ }
3208
+ ],
3209
+ "use": "<UiPageHeader title=\"Dashboard\" :crumbs=\"crumbs\">\n <template #actions><UiButton variant=\"primary\">Export</UiButton></template>\n</UiPageHeader>"
3210
+ },
3211
+ {
3212
+ "id": "toolbar",
3213
+ "title": "Toolbar",
3214
+ "desc": "View switch, date navigation and filters.",
3215
+ "accepts": [
3216
+ "SegmentedControl",
3217
+ "Button",
3218
+ "IconButton",
3219
+ "Select"
3220
+ ],
3221
+ "props": [
3222
+ {
3223
+ "name": "content",
3224
+ "type": "VNode",
3225
+ "desc": ""
3226
+ }
3227
+ ],
3228
+ "use": "<UiSegmentedControl v-model=\"view\" :items=\"views\" />"
3229
+ },
3230
+ {
3231
+ "id": "grid",
3232
+ "title": "Event grid",
3233
+ "desc": "Week, day or month grid with events.",
3234
+ "accepts": [
3235
+ "CalendarView",
3236
+ "Card"
3237
+ ],
3238
+ "props": [
3239
+ {
3240
+ "name": "content",
3241
+ "type": "VNode",
3242
+ "desc": ""
3243
+ }
3244
+ ],
3245
+ "use": "<UiCard padding=\"none\">…grid…</UiCard>"
3246
+ },
3247
+ {
3248
+ "id": "mini",
3249
+ "title": "Mini calendar",
3250
+ "desc": "Small month picker.",
3251
+ "accepts": [
3252
+ "Calendar"
3253
+ ],
3254
+ "props": [
3255
+ {
3256
+ "name": "content",
3257
+ "type": "VNode",
3258
+ "desc": ""
3259
+ }
3260
+ ],
3261
+ "use": "<UiCalendar v-model=\"day\" />"
3262
+ },
3263
+ {
3264
+ "id": "details",
3265
+ "title": "Event details",
3266
+ "desc": "Selected event with time, place, guests and actions.",
3267
+ "accepts": [
3268
+ "Card",
3269
+ "Descriptions",
3270
+ "Avatar",
3271
+ "Button"
3272
+ ],
3273
+ "props": [
3274
+ {
3275
+ "name": "content",
3276
+ "type": "VNode",
3277
+ "desc": ""
3278
+ }
3279
+ ],
3280
+ "use": "<UiCard title=\"Hotel check-in\">…</UiCard>"
3281
+ }
3282
+ ]
3283
+ },
3284
+ {
3285
+ "key": "kanban",
3286
+ "route": "kanban",
3287
+ "label": "Kanban",
3288
+ "icon": "kanban",
3289
+ "desc": "Task board: columns with cards, filters and a card detail panel.",
3290
+ "component": "PageKanban",
3291
+ "tpl": "TplKanban",
3292
+ "shell": true,
3293
+ "slots": [
3294
+ {
3295
+ "id": "header",
3296
+ "title": "Page heading",
3297
+ "desc": "Breadcrumbs, heading, caption and action buttons on the right.",
3298
+ "accepts": [
3299
+ "PageHeader",
3300
+ "Breadcrumbs",
3301
+ "Button",
3302
+ "SegmentedControl"
3303
+ ],
3304
+ "props": [
3305
+ {
3306
+ "name": "title",
3307
+ "type": "string",
3308
+ "desc": "H1, up to 60 characters"
3309
+ },
3310
+ {
3311
+ "name": "subtitle",
3312
+ "type": "string?",
3313
+ "desc": "Gray caption below the heading"
3314
+ },
3315
+ {
3316
+ "name": "crumbs",
3317
+ "type": "{label,href?}[]",
3318
+ "desc": "Breadcrumbs"
3319
+ },
3320
+ {
3321
+ "name": "actions",
3322
+ "type": "VNode",
3323
+ "desc": "Buttons on the right; wrap below on a narrow screen"
3324
+ }
3325
+ ],
3326
+ "use": "<UiPageHeader title=\"Dashboard\" :crumbs=\"crumbs\">\n <template #actions><UiButton variant=\"primary\">Export</UiButton></template>\n</UiPageHeader>"
3327
+ },
3328
+ {
3329
+ "id": "filters",
3330
+ "title": "Filters",
3331
+ "desc": "Search, assignee and label filters.",
3332
+ "accepts": [
3333
+ "SearchInput",
3334
+ "FilterChips",
3335
+ "Select"
3336
+ ],
3337
+ "props": [
3338
+ {
3339
+ "name": "content",
3340
+ "type": "VNode",
3341
+ "desc": ""
3342
+ }
3343
+ ],
3344
+ "use": "<UiFilterChips v-model=\"f\" :items=\"labels\" />"
3345
+ },
3346
+ {
3347
+ "id": "board",
3348
+ "title": "Board",
3349
+ "desc": "Task columns with cards.",
3350
+ "accepts": [
3351
+ "KanbanColumn",
3352
+ "KanbanCard"
3353
+ ],
3354
+ "props": [
3355
+ {
3356
+ "name": "content",
3357
+ "type": "VNode",
3358
+ "desc": ""
3359
+ }
3360
+ ],
3361
+ "use": "<UiKanbanColumn title=\"To do\" :count=\"3\">…</UiKanbanColumn>"
3362
+ },
3363
+ {
3364
+ "id": "detail",
3365
+ "title": "Card detail",
3366
+ "desc": "Side panel for the selected card.",
3367
+ "accepts": [
3368
+ "Card",
3369
+ "Descriptions",
3370
+ "Timeline",
3371
+ "Checkbox"
3372
+ ],
3373
+ "props": [
3374
+ {
3375
+ "name": "content",
3376
+ "type": "VNode",
3377
+ "desc": ""
3378
+ }
3379
+ ],
3380
+ "use": "<UiCard title=\"Task\">…</UiCard>"
3381
+ }
3382
+ ]
3383
+ },
3384
+ {
3385
+ "key": "billing",
3386
+ "route": "billing",
3387
+ "label": "Billing",
3388
+ "icon": "credit-card",
3389
+ "desc": "Billing: current plan, usage meters, invoices table, payment methods and upgrade.",
3390
+ "component": "PageBilling",
3391
+ "tpl": "TplBilling",
3392
+ "shell": true,
3393
+ "slots": [
3394
+ {
3395
+ "id": "header",
3396
+ "title": "Page heading",
3397
+ "desc": "Breadcrumbs, heading, caption and action buttons on the right.",
3398
+ "accepts": [
3399
+ "PageHeader",
3400
+ "Breadcrumbs",
3401
+ "Button",
3402
+ "SegmentedControl"
3403
+ ],
3404
+ "props": [
3405
+ {
3406
+ "name": "title",
3407
+ "type": "string",
3408
+ "desc": "H1, up to 60 characters"
3409
+ },
3410
+ {
3411
+ "name": "subtitle",
3412
+ "type": "string?",
3413
+ "desc": "Gray caption below the heading"
3414
+ },
3415
+ {
3416
+ "name": "crumbs",
3417
+ "type": "{label,href?}[]",
3418
+ "desc": "Breadcrumbs"
3419
+ },
3420
+ {
3421
+ "name": "actions",
3422
+ "type": "VNode",
3423
+ "desc": "Buttons on the right; wrap below on a narrow screen"
3424
+ }
3425
+ ],
3426
+ "use": "<UiPageHeader title=\"Dashboard\" :crumbs=\"crumbs\">\n <template #actions><UiButton variant=\"primary\">Export</UiButton></template>\n</UiPageHeader>"
3427
+ },
3428
+ {
3429
+ "id": "plan",
3430
+ "title": "Current plan",
3431
+ "desc": "Plan name, price, renewal date and actions.",
3432
+ "accepts": [
3433
+ "Card",
3434
+ "Badge",
3435
+ "Button"
3436
+ ],
3437
+ "props": [
3438
+ {
3439
+ "name": "content",
3440
+ "type": "VNode",
3441
+ "desc": ""
3442
+ }
3443
+ ],
3444
+ "use": "<UiCard title=\"Pro plan\">…</UiCard>"
3445
+ },
3446
+ {
3447
+ "id": "usage",
3448
+ "title": "Usage",
3449
+ "desc": "Meters for seats, storage and requests.",
3450
+ "accepts": [
3451
+ "Progress",
3452
+ "Card"
3453
+ ],
3454
+ "props": [
3455
+ {
3456
+ "name": "content",
3457
+ "type": "VNode",
3458
+ "desc": ""
3459
+ }
3460
+ ],
3461
+ "use": "<UiProgress :value=\"72\" label=\"Seats\" />"
3462
+ },
3463
+ {
3464
+ "id": "invoices",
3465
+ "title": "Invoices",
3466
+ "desc": "Past invoices with status and download.",
3467
+ "accepts": [
3468
+ "DataTable",
3469
+ "Badge"
3470
+ ],
3471
+ "props": [
3472
+ {
3473
+ "name": "content",
3474
+ "type": "VNode",
3475
+ "desc": ""
3476
+ }
3477
+ ],
3478
+ "use": "<UiDataTable :columns=\"cols\" :rows=\"rows\" />"
3479
+ },
3480
+ {
3481
+ "id": "methods",
3482
+ "title": "Payment methods",
3483
+ "desc": "Saved cards with default marker.",
3484
+ "accepts": [
3485
+ "Card",
3486
+ "IconTile",
3487
+ "Badge"
3488
+ ],
3489
+ "props": [
3490
+ {
3491
+ "name": "content",
3492
+ "type": "VNode",
3493
+ "desc": ""
3494
+ }
3495
+ ],
3496
+ "use": "<UiCard title=\"Payment methods\">…</UiCard>"
3497
+ },
3498
+ {
3499
+ "id": "upgrade",
3500
+ "title": "Upgrade",
3501
+ "desc": "Upsell card for the next plan.",
3502
+ "accepts": [
3503
+ "Card",
3504
+ "PricingCard",
3505
+ "Button"
3506
+ ],
3507
+ "props": [
3508
+ {
3509
+ "name": "content",
3510
+ "type": "VNode",
3511
+ "desc": ""
3512
+ }
3513
+ ],
3514
+ "use": "<UiCard variant=\"inverse\">…</UiCard>"
3515
+ }
3516
+ ]
3517
+ },
3518
+ {
3519
+ "key": "team",
3520
+ "route": "team",
3521
+ "label": "Team",
3522
+ "icon": "users-round",
3523
+ "desc": "Team: members table, invite form and a roles and permissions matrix.",
3524
+ "component": "PageTeam",
3525
+ "tpl": "TplTeam",
3526
+ "shell": true,
3527
+ "slots": [
3528
+ {
3529
+ "id": "header",
3530
+ "title": "Page heading",
3531
+ "desc": "Breadcrumbs, heading, caption and action buttons on the right.",
3532
+ "accepts": [
3533
+ "PageHeader",
3534
+ "Breadcrumbs",
3535
+ "Button",
3536
+ "SegmentedControl"
3537
+ ],
3538
+ "props": [
3539
+ {
3540
+ "name": "title",
3541
+ "type": "string",
3542
+ "desc": "H1, up to 60 characters"
3543
+ },
3544
+ {
3545
+ "name": "subtitle",
3546
+ "type": "string?",
3547
+ "desc": "Gray caption below the heading"
3548
+ },
3549
+ {
3550
+ "name": "crumbs",
3551
+ "type": "{label,href?}[]",
3552
+ "desc": "Breadcrumbs"
3553
+ },
3554
+ {
3555
+ "name": "actions",
3556
+ "type": "VNode",
3557
+ "desc": "Buttons on the right; wrap below on a narrow screen"
3558
+ }
3559
+ ],
3560
+ "use": "<UiPageHeader title=\"Dashboard\" :crumbs=\"crumbs\">\n <template #actions><UiButton variant=\"primary\">Export</UiButton></template>\n</UiPageHeader>"
3561
+ },
3562
+ {
3563
+ "id": "stats",
3564
+ "title": "Summary",
3565
+ "desc": "Seats, pending invites and admins.",
3566
+ "accepts": [
3567
+ "StatsCard",
3568
+ "KpiTile"
3569
+ ],
3570
+ "props": [
3571
+ {
3572
+ "name": "content",
3573
+ "type": "VNode",
3574
+ "desc": ""
3575
+ }
3576
+ ],
3577
+ "use": "<UiKpiTile label=\"Members\" value=\"12\" />"
3578
+ },
3579
+ {
3580
+ "id": "members",
3581
+ "title": "Members",
3582
+ "desc": "Members table with role and status.",
3583
+ "accepts": [
3584
+ "DataTable",
3585
+ "UserCell",
3586
+ "Select",
3587
+ "Badge"
3588
+ ],
3589
+ "props": [
3590
+ {
3591
+ "name": "content",
3592
+ "type": "VNode",
3593
+ "desc": ""
3594
+ }
3595
+ ],
3596
+ "use": "<UiDataTable :columns=\"cols\" :rows=\"rows\" />"
3597
+ },
3598
+ {
3599
+ "id": "roles",
3600
+ "title": "Roles and permissions",
3601
+ "desc": "Matrix of permissions per role.",
3602
+ "accepts": [
3603
+ "DataTable",
3604
+ "Checkbox",
3605
+ "Switch"
3606
+ ],
3607
+ "props": [
3608
+ {
3609
+ "name": "content",
3610
+ "type": "VNode",
3611
+ "desc": ""
3612
+ }
3613
+ ],
3614
+ "use": "<UiDataTable :columns=\"roleCols\" :rows=\"perms\" />"
3615
+ },
3616
+ {
3617
+ "id": "invite",
3618
+ "title": "Invite",
3619
+ "desc": "Email, role and send button.",
3620
+ "accepts": [
3621
+ "Card",
3622
+ "TextField",
3623
+ "Select",
3624
+ "Button"
3625
+ ],
3626
+ "props": [
3627
+ {
3628
+ "name": "content",
3629
+ "type": "VNode",
3630
+ "desc": ""
3631
+ }
3632
+ ],
3633
+ "use": "<UiCard title=\"Invite\">…</UiCard>"
3634
+ }
3635
+ ]
3636
+ },
3637
+ {
3638
+ "key": "integrations",
3639
+ "route": "integrations",
3640
+ "label": "Integrations",
3641
+ "icon": "plug",
3642
+ "desc": "Integrations: connection cards with status, API keys table with reveal, copy and revoke, and a webhooks list.",
3643
+ "component": "PageIntegrations",
3644
+ "tpl": "TplIntegrations",
3645
+ "shell": true,
3646
+ "slots": [
3647
+ {
3648
+ "id": "header",
3649
+ "title": "Page heading",
3650
+ "desc": "Breadcrumbs, heading, caption and action buttons on the right.",
3651
+ "accepts": [
3652
+ "PageHeader",
3653
+ "Breadcrumbs",
3654
+ "Button",
3655
+ "SegmentedControl"
3656
+ ],
3657
+ "props": [
3658
+ {
3659
+ "name": "title",
3660
+ "type": "string",
3661
+ "desc": "H1, up to 60 characters"
3662
+ },
3663
+ {
3664
+ "name": "subtitle",
3665
+ "type": "string?",
3666
+ "desc": "Gray caption below the heading"
3667
+ },
3668
+ {
3669
+ "name": "crumbs",
3670
+ "type": "{label,href?}[]",
3671
+ "desc": "Breadcrumbs"
3672
+ },
3673
+ {
3674
+ "name": "actions",
3675
+ "type": "VNode",
3676
+ "desc": "Buttons on the right; wrap below on a narrow screen"
3677
+ }
3678
+ ],
3679
+ "use": "<UiPageHeader title=\"Dashboard\" :crumbs=\"crumbs\">\n <template #actions><UiButton variant=\"primary\">Export</UiButton></template>\n</UiPageHeader>"
3680
+ },
3681
+ {
3682
+ "id": "filters",
3683
+ "title": "Filters",
3684
+ "desc": "Search and category filter.",
3685
+ "accepts": [
3686
+ "SearchInput",
3687
+ "FilterChips"
3688
+ ],
3689
+ "props": [
3690
+ {
3691
+ "name": "content",
3692
+ "type": "VNode",
3693
+ "desc": ""
3694
+ }
3695
+ ],
3696
+ "use": "<UiSearchInput v-model=\"q\" />"
3697
+ },
3698
+ {
3699
+ "id": "connections",
3700
+ "title": "Connections",
3701
+ "desc": "Cards with connected, error or off status.",
3702
+ "accepts": [
3703
+ "IntegrationCard"
3704
+ ],
3705
+ "props": [
3706
+ {
3707
+ "name": "content",
3708
+ "type": "VNode",
3709
+ "desc": ""
3710
+ }
3711
+ ],
3712
+ "use": "<UiIntegrationCard name=\"Telegram\" status=\"connected\" />"
3713
+ },
3714
+ {
3715
+ "id": "keys",
3716
+ "title": "API keys",
3717
+ "desc": "Keys with reveal, copy and revoke.",
3718
+ "accepts": [
3719
+ "DataTable",
3720
+ "CopyButton",
3721
+ "IconButton"
3722
+ ],
3723
+ "props": [
3724
+ {
3725
+ "name": "content",
3726
+ "type": "VNode",
3727
+ "desc": ""
3728
+ }
3729
+ ],
3730
+ "use": "<UiDataTable :columns=\"cols\" :rows=\"keys\" />"
3731
+ },
3732
+ {
3733
+ "id": "webhooks",
3734
+ "title": "Webhooks",
3735
+ "desc": "Endpoints with event types and on/off switch.",
3736
+ "accepts": [
3737
+ "Card",
3738
+ "Switch",
3739
+ "Chip"
3740
+ ],
3741
+ "props": [
3742
+ {
3743
+ "name": "content",
3744
+ "type": "VNode",
3745
+ "desc": ""
3746
+ }
3747
+ ],
3748
+ "use": "<UiCard title=\"Webhooks\">…</UiCard>"
3749
+ }
3750
+ ]
3751
+ },
3752
+ {
3753
+ "key": "search",
3754
+ "route": "search",
3755
+ "label": "Search results",
3756
+ "icon": "search",
3757
+ "desc": "Search results: query field, filters, grouped results and an empty state.",
3758
+ "component": "PageSearch",
3759
+ "tpl": "TplSearch",
3760
+ "shell": true,
3761
+ "slots": [
3762
+ {
3763
+ "id": "header",
3764
+ "title": "Page heading",
3765
+ "desc": "Breadcrumbs, heading, caption and action buttons on the right.",
3766
+ "accepts": [
3767
+ "PageHeader",
3768
+ "Breadcrumbs",
3769
+ "Button",
3770
+ "SegmentedControl"
3771
+ ],
3772
+ "props": [
3773
+ {
3774
+ "name": "title",
3775
+ "type": "string",
3776
+ "desc": "H1, up to 60 characters"
3777
+ },
3778
+ {
3779
+ "name": "subtitle",
3780
+ "type": "string?",
3781
+ "desc": "Gray caption below the heading"
3782
+ },
3783
+ {
3784
+ "name": "crumbs",
3785
+ "type": "{label,href?}[]",
3786
+ "desc": "Breadcrumbs"
3787
+ },
3788
+ {
3789
+ "name": "actions",
3790
+ "type": "VNode",
3791
+ "desc": "Buttons on the right; wrap below on a narrow screen"
3792
+ }
3793
+ ],
3794
+ "use": "<UiPageHeader title=\"Dashboard\" :crumbs=\"crumbs\">\n <template #actions><UiButton variant=\"primary\">Export</UiButton></template>\n</UiPageHeader>"
3795
+ },
3796
+ {
3797
+ "id": "search",
3798
+ "title": "Search field",
3799
+ "desc": "Large query field with tabs for result types.",
3800
+ "accepts": [
3801
+ "SearchInput",
3802
+ "Tabs"
3803
+ ],
3804
+ "props": [
3805
+ {
3806
+ "name": "content",
3807
+ "type": "VNode",
3808
+ "desc": ""
3809
+ }
3810
+ ],
3811
+ "use": "<UiSearchInput v-model=\"q\" />"
3812
+ },
3813
+ {
3814
+ "id": "filters",
3815
+ "title": "Filters",
3816
+ "desc": "Sidebar with checkboxes, range and select.",
3817
+ "accepts": [
3818
+ "Card",
3819
+ "Checkbox",
3820
+ "RangeSlider",
3821
+ "Select"
3822
+ ],
3823
+ "props": [
3824
+ {
3825
+ "name": "content",
3826
+ "type": "VNode",
3827
+ "desc": ""
3828
+ }
3829
+ ],
3830
+ "use": "<UiCard title=\"Filters\">…</UiCard>"
3831
+ },
3832
+ {
3833
+ "id": "results",
3834
+ "title": "Results",
3835
+ "desc": "Result groups with titles and counts.",
3836
+ "accepts": [
3837
+ "Card",
3838
+ "Chip",
3839
+ "Divider"
3840
+ ],
3841
+ "props": [
3842
+ {
3843
+ "name": "content",
3844
+ "type": "VNode",
3845
+ "desc": ""
3846
+ }
3847
+ ],
3848
+ "use": "<UiCard padding=\"none\">…</UiCard>"
3849
+ },
3850
+ {
3851
+ "id": "empty",
3852
+ "title": "Empty state",
3853
+ "desc": "Shown when nothing matches.",
3854
+ "accepts": [
3855
+ "EmptyState"
3856
+ ],
3857
+ "props": [
3858
+ {
3859
+ "name": "content",
3860
+ "type": "VNode",
3861
+ "desc": ""
3862
+ }
3863
+ ],
3864
+ "use": "<UiEmptyState icon=\"search-x\" title=\"No results\" />"
3865
+ }
3866
+ ]
3166
3867
  }
3167
3868
  ]
3168
3869
  }