yukit-web 1.0.2 → 1.0.4

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.
@@ -4916,6 +4916,14 @@ i0.ɵɵngDeclareClassMetadata({
4916
4916
  args: [{ selector: "[yuwSheetHeader]" }]
4917
4917
  }]
4918
4918
  });
4919
+ const yuwSheetBottomClass = `
4920
+ data-[side=bottom]:inset-x-1
4921
+ lg:data-[side=bottom]:inset-x-2
4922
+ data-[side=bottom]:bottom-1
4923
+ lg:data-[side=bottom]:bottom-2
4924
+ data-[side=bottom]:rounded-4xl
4925
+ data-[side=bottom]:overflow-hidden
4926
+ `;
4919
4927
  const yuwLayoutLeftInsetClass = `
4920
4928
  data-[side=left]:inset-y-1
4921
4929
  lg:data-[side=left]:inset-y-2
@@ -4940,13 +4948,6 @@ const YUW_LAYOUT_BODY_VARS = {
4940
4948
  bottom: "--yuw-layout-body-bottom",
4941
4949
  left: "--yuw-layout-body-left"
4942
4950
  };
4943
- const yuwLayoutBackdropClass = `
4944
- top-[var(--yuw-layout-body-top,0px)]!
4945
- right-[var(--yuw-layout-body-right,0px)]!
4946
- bottom-[var(--yuw-layout-body-bottom,0px)]!
4947
- left-[var(--yuw-layout-body-left,0px)]!
4948
- rounded-4xl
4949
- `;
4950
4951
  const YUW_SHEET_LAYOUT_INSET_CLASS = {
4951
4952
  left: yuwLayoutLeftInsetClass,
4952
4953
  right: yuwLayoutRightInsetClass
@@ -4989,17 +4990,16 @@ var YuwSheetComponent = class YuwSheetComponent {
4989
4990
  this.triggerSize = input("default", ...ngDevMode ? [{ debugName: "triggerSize" }] : /* istanbul ignore next */ []);
4990
4991
  this.triggerVariant = input("outline", ...ngDevMode ? [{ debugName: "triggerVariant" }] : /* istanbul ignore next */ []);
4991
4992
  this._bodyClass = computed(() => cn("flex-1 overflow-y-auto px-4 scroll-fade-y [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", this.bodyClass()), ...ngDevMode ? [{ debugName: "_bodyClass" }] : /* istanbul ignore next */ []);
4992
- this._overlayClass = computed(() => this.layoutInset() ? cn(yuwLayoutBackdropClass, this.overlayClass()) : this.overlayClass(), ...ngDevMode ? [{ debugName: "_overlayClass" }] : /* istanbul ignore next */ []);
4993
4993
  this._panelClass = computed(() => {
4994
4994
  const inset = this.layoutInset();
4995
- return cn(inset ? YUW_SHEET_LAYOUT_INSET_CLASS[inset] : void 0, this.panelClass());
4995
+ return cn(yuwSheetBottomClass, inset ? YUW_SHEET_LAYOUT_INSET_CLASS[inset] : void 0, this.panelClass());
4996
4996
  }, ...ngDevMode ? [{ debugName: "_panelClass" }] : /* istanbul ignore next */ []);
4997
4997
  this._sheetState = computed(() => this.open() ? "open" : "closed", ...ngDevMode ? [{ debugName: "_sheetState" }] : /* istanbul ignore next */ []);
4998
4998
  const root = inject(DOCUMENT$1).documentElement;
4999
4999
  inject(DestroyRef).onDestroy(() => root.classList.remove(YUW_SHEET_OPEN_CLASS));
5000
5000
  effect(() => root.classList.toggle(YUW_SHEET_OPEN_CLASS, this.open()));
5001
5001
  effect(() => {
5002
- const overlayClass = this._overlayClass();
5002
+ const overlayClass = this.overlayClass();
5003
5003
  if (overlayClass === void 0) return;
5004
5004
  this.sheet().setOverlayClass(cn(YUW_SHEET_OVERLAY_BASE_CLASS, overlayClass));
5005
5005
  });
@@ -15781,10 +15781,13 @@ const yuwSidebarMenuButtonClass = `
15781
15781
  [&>span]:truncate
15782
15782
  [&>span]:min-w-0
15783
15783
  ${yuwSidebarItemColorClass}
15784
- aria-expanded:bg-(--yuw-sidebar-item-hover)
15785
- aria-expanded:text-(--yuw-sidebar-item-text)
15786
- data-active:aria-expanded:bg-(--yuw-sidebar-item-active)
15784
+ aria-expanded:bg-transparent
15785
+ aria-expanded:text-(--yuw-sidebar-item-active-text)
15786
+ aria-expanded:[--ng-icon__color:var(--yuw-sidebar-item-active-text)]
15787
+ aria-expanded:hover:bg-(--yuw-sidebar-item-hover)
15788
+ data-active:aria-expanded:bg-transparent
15787
15789
  data-active:aria-expanded:text-(--yuw-sidebar-item-active-text)
15790
+ data-active:aria-expanded:hover:bg-(--yuw-sidebar-item-hover)
15788
15791
  data-open:hover:bg-(--yuw-sidebar-item-hover)
15789
15792
  data-open:hover:text-(--yuw-sidebar-item-text)
15790
15793
  transition-[background-color,color,padding]
@@ -18517,7 +18520,7 @@ var YuwsAvatarNameCellComponent = class YuwsAvatarNameCellComponent {
18517
18520
  this.imageUrl = input(...ngDevMode ? [void 0, { debugName: "imageUrl" }] : /* istanbul ignore next */ []);
18518
18521
  this.name = input.required(...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
18519
18522
  this.shape = input("square", ...ngDevMode ? [{ debugName: "shape" }] : /* istanbul ignore next */ []);
18520
- this.size = input("sm", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
18523
+ this.size = input("base", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
18521
18524
  this.avatar = computed(() => AVATAR[this.size()], ...ngDevMode ? [{ debugName: "avatar" }] : /* istanbul ignore next */ []);
18522
18525
  this.initials = computed(() => yuwsInitialsOf(this.name()), ...ngDevMode ? [{ debugName: "initials" }] : /* istanbul ignore next */ []);
18523
18526
  }
@@ -18654,6 +18657,97 @@ i0.ɵɵngDeclareClassMetadata({
18654
18657
  }]
18655
18658
  }
18656
18659
  });
18660
+ var YuwsBadgeListCellComponent = class YuwsBadgeListCellComponent {
18661
+ constructor() {
18662
+ this.color = input("neutral", ...ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []);
18663
+ this.items = input.required(...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
18664
+ }
18665
+ static {
18666
+ this.ɵfac = i0.ɵɵngDeclareFactory({
18667
+ minVersion: "12.0.0",
18668
+ version: "22.2.4",
18669
+ ngImport: i0,
18670
+ type: YuwsBadgeListCellComponent,
18671
+ deps: [],
18672
+ target: i0.ɵɵFactoryTarget.Component
18673
+ });
18674
+ }
18675
+ static {
18676
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
18677
+ minVersion: "17.0.0",
18678
+ version: "22.2.4",
18679
+ type: YuwsBadgeListCellComponent,
18680
+ isStandalone: true,
18681
+ selector: "yuws-badge-list-cell",
18682
+ inputs: {
18683
+ color: {
18684
+ classPropertyName: "color",
18685
+ publicName: "color",
18686
+ isSignal: true,
18687
+ isRequired: false,
18688
+ transformFunction: null
18689
+ },
18690
+ items: {
18691
+ classPropertyName: "items",
18692
+ publicName: "items",
18693
+ isSignal: true,
18694
+ isRequired: true,
18695
+ transformFunction: null
18696
+ }
18697
+ },
18698
+ host: { classAttribute: "flex min-w-0 flex-wrap gap-1" },
18699
+ ngImport: i0,
18700
+ template: "@for (item of items(); track $index) {\n <yuw-badge variant=\"outline\" class=\"font-normal\" [color]=\"color()\">{{ item }}</yuw-badge>\n}\n",
18701
+ dependencies: [{
18702
+ kind: "component",
18703
+ type: YuwBadgeComponent,
18704
+ selector: "yuw-badge",
18705
+ inputs: [
18706
+ "color",
18707
+ "dot",
18708
+ "removeLabel",
18709
+ "variant"
18710
+ ],
18711
+ outputs: ["removed"]
18712
+ }],
18713
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
18714
+ });
18715
+ }
18716
+ };
18717
+ i0.ɵɵngDeclareClassMetadata({
18718
+ minVersion: "12.0.0",
18719
+ version: "22.2.4",
18720
+ ngImport: i0,
18721
+ type: YuwsBadgeListCellComponent,
18722
+ decorators: [{
18723
+ type: Component,
18724
+ args: [{
18725
+ selector: "yuws-badge-list-cell",
18726
+ changeDetection: ChangeDetectionStrategy.OnPush,
18727
+ imports: [YuwBadgeComponent],
18728
+ host: { class: "flex min-w-0 flex-wrap gap-1" },
18729
+ template: "@for (item of items(); track $index) {\n <yuw-badge variant=\"outline\" class=\"font-normal\" [color]=\"color()\">{{ item }}</yuw-badge>\n}\n"
18730
+ }]
18731
+ }],
18732
+ propDecorators: {
18733
+ color: [{
18734
+ type: i0.Input,
18735
+ args: [{
18736
+ isSignal: true,
18737
+ alias: "color",
18738
+ required: false
18739
+ }]
18740
+ }],
18741
+ items: [{
18742
+ type: i0.Input,
18743
+ args: [{
18744
+ isSignal: true,
18745
+ alias: "items",
18746
+ required: true
18747
+ }]
18748
+ }]
18749
+ }
18750
+ });
18657
18751
  var YuwsClampedTextCellComponent = class YuwsClampedTextCellComponent {
18658
18752
  constructor() {
18659
18753
  this.text = input.required(...ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []);
@@ -19253,7 +19347,7 @@ var YuwsMenuActionsCellComponent = class YuwsMenuActionsCellComponent {
19253
19347
  },
19254
19348
  providers: [provideIcons({ lucideEllipsis })],
19255
19349
  ngImport: i0,
19256
- template: "<yuw-button\n variant=\"ghost\"\n size=\"icon\"\n yuwDropdownMenuAlign=\"end\"\n [ariaLabel]=\"label()\"\n [yuwDropdownMenuTrigger]=\"menu\"\n>\n <ng-icon name=\"lucideEllipsis\" size=\"16\" />\n</yuw-button>\n\n<ng-template #entry let-action>\n @if (action.icon; as icon) {\n <ng-icon [name]=\"icon\" />\n }\n\n {{ action.label }}\n</ng-template>\n\n<ng-template #menu>\n <div yuwContextMenu>\n @for (action of actions(); track action.key) {\n @if (action.separated) {\n <div yuwContextMenuSeparator></div>\n }\n @if (action.href; as href) {\n <a yuwContextMenuItem target=\"_blank\" rel=\"noopener\" [href]=\"href\">\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </a>\n } @else {\n <button\n yuwContextMenuItem\n [variant]=\"action.destructive ? 'destructive' : 'default'\"\n (triggered)=\"onRun(action)\"\n >\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </button>\n }\n }\n </div>\n</ng-template>\n",
19350
+ template: "<yuw-button\n variant=\"ghost\"\n size=\"icon\"\n yuwDropdownMenuAlign=\"end\"\n [ariaLabel]=\"label()\"\n [yuwDropdownMenuTrigger]=\"menu\"\n>\n <ng-icon name=\"lucideEllipsis\" size=\"16\" />\n</yuw-button>\n\n<ng-template #entry let-action>\n @if (action.icon; as icon) {\n <ng-icon [name]=\"icon\" />\n }\n\n {{ action.label }}\n</ng-template>\n\n<ng-template #menu>\n <div yuwContextMenu class=\"min-w-44 p-2\">\n @for (action of actions(); track action.key) {\n @if (action.separated) {\n <div yuwContextMenuSeparator class=\"-mx-2 my-1.5\"></div>\n }\n @if (action.href; as href) {\n <a yuwContextMenuItem class=\"gap-2.5 px-2 py-2\" target=\"_blank\" rel=\"noopener\" [href]=\"href\">\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </a>\n } @else {\n <button\n yuwContextMenuItem\n class=\"gap-2.5 px-2 py-2\"\n [variant]=\"action.destructive ? 'destructive' : 'default'\"\n (triggered)=\"onRun(action)\"\n >\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </button>\n }\n }\n </div>\n</ng-template>\n",
19257
19351
  dependencies: [
19258
19352
  {
19259
19353
  kind: "directive",
@@ -19341,7 +19435,7 @@ i0.ɵɵngDeclareClassMetadata({
19341
19435
  "(click)": "$event.stopPropagation()",
19342
19436
  "(keydown)": "$event.stopPropagation()"
19343
19437
  },
19344
- template: "<yuw-button\n variant=\"ghost\"\n size=\"icon\"\n yuwDropdownMenuAlign=\"end\"\n [ariaLabel]=\"label()\"\n [yuwDropdownMenuTrigger]=\"menu\"\n>\n <ng-icon name=\"lucideEllipsis\" size=\"16\" />\n</yuw-button>\n\n<ng-template #entry let-action>\n @if (action.icon; as icon) {\n <ng-icon [name]=\"icon\" />\n }\n\n {{ action.label }}\n</ng-template>\n\n<ng-template #menu>\n <div yuwContextMenu>\n @for (action of actions(); track action.key) {\n @if (action.separated) {\n <div yuwContextMenuSeparator></div>\n }\n @if (action.href; as href) {\n <a yuwContextMenuItem target=\"_blank\" rel=\"noopener\" [href]=\"href\">\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </a>\n } @else {\n <button\n yuwContextMenuItem\n [variant]=\"action.destructive ? 'destructive' : 'default'\"\n (triggered)=\"onRun(action)\"\n >\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </button>\n }\n }\n </div>\n</ng-template>\n"
19438
+ template: "<yuw-button\n variant=\"ghost\"\n size=\"icon\"\n yuwDropdownMenuAlign=\"end\"\n [ariaLabel]=\"label()\"\n [yuwDropdownMenuTrigger]=\"menu\"\n>\n <ng-icon name=\"lucideEllipsis\" size=\"16\" />\n</yuw-button>\n\n<ng-template #entry let-action>\n @if (action.icon; as icon) {\n <ng-icon [name]=\"icon\" />\n }\n\n {{ action.label }}\n</ng-template>\n\n<ng-template #menu>\n <div yuwContextMenu class=\"min-w-44 p-2\">\n @for (action of actions(); track action.key) {\n @if (action.separated) {\n <div yuwContextMenuSeparator class=\"-mx-2 my-1.5\"></div>\n }\n @if (action.href; as href) {\n <a yuwContextMenuItem class=\"gap-2.5 px-2 py-2\" target=\"_blank\" rel=\"noopener\" [href]=\"href\">\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </a>\n } @else {\n <button\n yuwContextMenuItem\n class=\"gap-2.5 px-2 py-2\"\n [variant]=\"action.destructive ? 'destructive' : 'default'\"\n (triggered)=\"onRun(action)\"\n >\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </button>\n }\n }\n </div>\n</ng-template>\n"
19345
19439
  }]
19346
19440
  }],
19347
19441
  propDecorators: {
@@ -19366,9 +19460,14 @@ i0.ɵɵngDeclareClassMetadata({
19366
19460
  const HOVER_CLOSE_DELAY_MS = 150;
19367
19461
  var YuwsOverflowListCellComponent = class YuwsOverflowListCellComponent {
19368
19462
  constructor() {
19463
+ this.imageUrls = input([], ...ngDevMode ? [{ debugName: "imageUrls" }] : /* istanbul ignore next */ []);
19369
19464
  this.items = input.required(...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
19370
19465
  this.open = signal(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
19371
- this.first = computed(() => this.items()[0] ?? "", ...ngDevMode ? [{ debugName: "first" }] : /* istanbul ignore next */ []);
19466
+ this.entries = computed(() => this.items().map((label, index) => ({
19467
+ label,
19468
+ imageUrl: this.imageUrls()[index]
19469
+ })), ...ngDevMode ? [{ debugName: "entries" }] : /* istanbul ignore next */ []);
19470
+ this.first = computed(() => this.entries()[0] ?? { label: "" }, ...ngDevMode ? [{ debugName: "first" }] : /* istanbul ignore next */ []);
19372
19471
  this.hiddenCount = computed(() => `+${this.items().length - 1}`, ...ngDevMode ? [{ debugName: "hiddenCount" }] : /* istanbul ignore next */ []);
19373
19472
  this.overflows = computed(() => this.items().length > 1, ...ngDevMode ? [{ debugName: "overflows" }] : /* istanbul ignore next */ []);
19374
19473
  inject(DestroyRef).onDestroy(() => this._cancelClose());
@@ -19407,13 +19506,22 @@ var YuwsOverflowListCellComponent = class YuwsOverflowListCellComponent {
19407
19506
  type: YuwsOverflowListCellComponent,
19408
19507
  isStandalone: true,
19409
19508
  selector: "yuws-overflow-list-cell",
19410
- inputs: { items: {
19411
- classPropertyName: "items",
19412
- publicName: "items",
19413
- isSignal: true,
19414
- isRequired: true,
19415
- transformFunction: null
19416
- } },
19509
+ inputs: {
19510
+ imageUrls: {
19511
+ classPropertyName: "imageUrls",
19512
+ publicName: "imageUrls",
19513
+ isSignal: true,
19514
+ isRequired: false,
19515
+ transformFunction: null
19516
+ },
19517
+ items: {
19518
+ classPropertyName: "items",
19519
+ publicName: "items",
19520
+ isSignal: true,
19521
+ isRequired: true,
19522
+ transformFunction: null
19523
+ }
19524
+ },
19417
19525
  host: {
19418
19526
  listeners: {
19419
19527
  "click": "$event.stopPropagation()",
@@ -19422,39 +19530,68 @@ var YuwsOverflowListCellComponent = class YuwsOverflowListCellComponent {
19422
19530
  classAttribute: "flex min-w-0 [&_yuw-button]:w-full"
19423
19531
  },
19424
19532
  ngImport: i0,
19425
- template: "@if (overflows()) {\n <yuw-popover\n triggerTransparent\n triggerClass=\"h-auto w-full min-w-0 justify-start gap-2 px-0 py-0 font-normal after:absolute after:inset-0 after:content-['']\"\n panelClass=\"w-auto min-w-48 max-w-80 gap-0 p-1\"\n [open]=\"open()\"\n (openChange)=\"onOpenChange($event)\"\n (pointerenter)=\"onPointerEnter($event)\"\n (pointerleave)=\"onPointerLeave($event)\"\n >\n <ng-container yuwPopoverTrigger>\n <span class=\"min-w-0 truncate\">{{ first() }}</span>\n <yuw-badge variant=\"outline\" color=\"neutral\" class=\"shrink-0 rounded-full px-1.5 font-normal\">\n {{ hiddenCount() }}\n </yuw-badge>\n </ng-container>\n\n <ul class=\"flex flex-col\" (pointerenter)=\"onPointerEnter($event)\" (pointerleave)=\"onPointerLeave($event)\">\n @for (item of items(); track $index) {\n <li class=\"rounded-sm px-2 py-1.5\">{{ item }}</li>\n }\n </ul>\n </yuw-popover>\n} @else {\n <span class=\"min-w-0 truncate\">{{ first() }}</span>\n}\n",
19426
- dependencies: [{
19427
- kind: "component",
19428
- type: YuwBadgeComponent,
19429
- selector: "yuw-badge",
19430
- inputs: [
19431
- "color",
19432
- "dot",
19433
- "removeLabel",
19434
- "variant"
19435
- ],
19436
- outputs: ["removed"]
19437
- }, {
19438
- kind: "component",
19439
- type: YuwPopoverComponent,
19440
- selector: "yuw-popover",
19441
- inputs: [
19442
- "align",
19443
- "description",
19444
- "offsetX",
19445
- "open",
19446
- "panelClass",
19447
- "showTrigger",
19448
- "sideOffset",
19449
- "title",
19450
- "triggerClass",
19451
- "triggerColor",
19452
- "triggerSize",
19453
- "triggerTransparent",
19454
- "triggerVariant"
19455
- ],
19456
- outputs: ["openChange"]
19457
- }],
19533
+ template: "@if (overflows()) {\n <yuw-popover\n triggerTransparent\n triggerClass=\"h-auto w-full min-w-0 justify-start gap-2 px-0 py-0 font-normal after:absolute after:inset-0 after:content-['']\"\n panelClass=\"w-auto min-w-48 max-w-80 gap-0 p-1\"\n [open]=\"open()\"\n (openChange)=\"onOpenChange($event)\"\n (pointerenter)=\"onPointerEnter($event)\"\n (pointerleave)=\"onPointerLeave($event)\"\n >\n <ng-container yuwPopoverTrigger>\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: first() }\" />\n <yuw-badge variant=\"outline\" color=\"neutral\" class=\"shrink-0 rounded-full px-1.5 font-normal\">\n {{ hiddenCount() }}\n </yuw-badge>\n </ng-container>\n\n <ul class=\"flex flex-col\" (pointerenter)=\"onPointerEnter($event)\" (pointerleave)=\"onPointerLeave($event)\">\n @for (item of entries(); track $index) {\n <li class=\"flex items-center rounded-sm px-2 py-1.5\">\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: item }\" />\n </li>\n }\n </ul>\n </yuw-popover>\n} @else {\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: first() }\" />\n}\n\n<ng-template #entry let-item>\n <span class=\"flex min-w-0 items-center gap-2\">\n @if (item.imageUrl) {\n <yuw-avatar size=\"sm\" shape=\"circle\" class=\"size-6 shrink-0\" [src]=\"item.imageUrl\" [alt]=\"item.label\" />\n }\n <span class=\"min-w-0 truncate\">{{ item.label }}</span>\n </span>\n</ng-template>\n",
19534
+ dependencies: [
19535
+ {
19536
+ kind: "directive",
19537
+ type: NgTemplateOutlet,
19538
+ selector: "[ngTemplateOutlet]",
19539
+ inputs: [
19540
+ "ngTemplateOutletContext",
19541
+ "ngTemplateOutlet",
19542
+ "ngTemplateOutletInjector"
19543
+ ]
19544
+ },
19545
+ {
19546
+ kind: "component",
19547
+ type: YuwAvatarComponent,
19548
+ selector: "yuw-avatar",
19549
+ inputs: [
19550
+ "alt",
19551
+ "badge",
19552
+ "fallback",
19553
+ "group",
19554
+ "groupCount",
19555
+ "shape",
19556
+ "size",
19557
+ "src",
19558
+ "class"
19559
+ ]
19560
+ },
19561
+ {
19562
+ kind: "component",
19563
+ type: YuwBadgeComponent,
19564
+ selector: "yuw-badge",
19565
+ inputs: [
19566
+ "color",
19567
+ "dot",
19568
+ "removeLabel",
19569
+ "variant"
19570
+ ],
19571
+ outputs: ["removed"]
19572
+ },
19573
+ {
19574
+ kind: "component",
19575
+ type: YuwPopoverComponent,
19576
+ selector: "yuw-popover",
19577
+ inputs: [
19578
+ "align",
19579
+ "description",
19580
+ "offsetX",
19581
+ "open",
19582
+ "panelClass",
19583
+ "showTrigger",
19584
+ "sideOffset",
19585
+ "title",
19586
+ "triggerClass",
19587
+ "triggerColor",
19588
+ "triggerSize",
19589
+ "triggerTransparent",
19590
+ "triggerVariant"
19591
+ ],
19592
+ outputs: ["openChange"]
19593
+ }
19594
+ ],
19458
19595
  changeDetection: i0.ChangeDetectionStrategy.OnPush
19459
19596
  });
19460
19597
  }
@@ -19469,24 +19606,39 @@ i0.ɵɵngDeclareClassMetadata({
19469
19606
  args: [{
19470
19607
  selector: "yuws-overflow-list-cell",
19471
19608
  changeDetection: ChangeDetectionStrategy.OnPush,
19472
- imports: [YuwBadgeComponent, YuwPopoverComponent],
19609
+ imports: [
19610
+ NgTemplateOutlet,
19611
+ YuwAvatarComponent,
19612
+ YuwBadgeComponent,
19613
+ YuwPopoverComponent
19614
+ ],
19473
19615
  host: {
19474
19616
  class: "flex min-w-0 [&_yuw-button]:w-full",
19475
19617
  "(click)": "$event.stopPropagation()",
19476
19618
  "(keydown)": "$event.stopPropagation()"
19477
19619
  },
19478
- template: "@if (overflows()) {\n <yuw-popover\n triggerTransparent\n triggerClass=\"h-auto w-full min-w-0 justify-start gap-2 px-0 py-0 font-normal after:absolute after:inset-0 after:content-['']\"\n panelClass=\"w-auto min-w-48 max-w-80 gap-0 p-1\"\n [open]=\"open()\"\n (openChange)=\"onOpenChange($event)\"\n (pointerenter)=\"onPointerEnter($event)\"\n (pointerleave)=\"onPointerLeave($event)\"\n >\n <ng-container yuwPopoverTrigger>\n <span class=\"min-w-0 truncate\">{{ first() }}</span>\n <yuw-badge variant=\"outline\" color=\"neutral\" class=\"shrink-0 rounded-full px-1.5 font-normal\">\n {{ hiddenCount() }}\n </yuw-badge>\n </ng-container>\n\n <ul class=\"flex flex-col\" (pointerenter)=\"onPointerEnter($event)\" (pointerleave)=\"onPointerLeave($event)\">\n @for (item of items(); track $index) {\n <li class=\"rounded-sm px-2 py-1.5\">{{ item }}</li>\n }\n </ul>\n </yuw-popover>\n} @else {\n <span class=\"min-w-0 truncate\">{{ first() }}</span>\n}\n"
19620
+ template: "@if (overflows()) {\n <yuw-popover\n triggerTransparent\n triggerClass=\"h-auto w-full min-w-0 justify-start gap-2 px-0 py-0 font-normal after:absolute after:inset-0 after:content-['']\"\n panelClass=\"w-auto min-w-48 max-w-80 gap-0 p-1\"\n [open]=\"open()\"\n (openChange)=\"onOpenChange($event)\"\n (pointerenter)=\"onPointerEnter($event)\"\n (pointerleave)=\"onPointerLeave($event)\"\n >\n <ng-container yuwPopoverTrigger>\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: first() }\" />\n <yuw-badge variant=\"outline\" color=\"neutral\" class=\"shrink-0 rounded-full px-1.5 font-normal\">\n {{ hiddenCount() }}\n </yuw-badge>\n </ng-container>\n\n <ul class=\"flex flex-col\" (pointerenter)=\"onPointerEnter($event)\" (pointerleave)=\"onPointerLeave($event)\">\n @for (item of entries(); track $index) {\n <li class=\"flex items-center rounded-sm px-2 py-1.5\">\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: item }\" />\n </li>\n }\n </ul>\n </yuw-popover>\n} @else {\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: first() }\" />\n}\n\n<ng-template #entry let-item>\n <span class=\"flex min-w-0 items-center gap-2\">\n @if (item.imageUrl) {\n <yuw-avatar size=\"sm\" shape=\"circle\" class=\"size-6 shrink-0\" [src]=\"item.imageUrl\" [alt]=\"item.label\" />\n }\n <span class=\"min-w-0 truncate\">{{ item.label }}</span>\n </span>\n</ng-template>\n"
19479
19621
  }]
19480
19622
  }],
19481
19623
  ctorParameters: () => [],
19482
- propDecorators: { items: [{
19483
- type: i0.Input,
19484
- args: [{
19485
- isSignal: true,
19486
- alias: "items",
19487
- required: true
19624
+ propDecorators: {
19625
+ imageUrls: [{
19626
+ type: i0.Input,
19627
+ args: [{
19628
+ isSignal: true,
19629
+ alias: "imageUrls",
19630
+ required: false
19631
+ }]
19632
+ }],
19633
+ items: [{
19634
+ type: i0.Input,
19635
+ args: [{
19636
+ isSignal: true,
19637
+ alias: "items",
19638
+ required: true
19639
+ }]
19488
19640
  }]
19489
- }] }
19641
+ }
19490
19642
  });
19491
19643
  var YuwsSelectCellComponent = class YuwsSelectCellComponent {
19492
19644
  constructor() {
@@ -25345,6 +25497,6 @@ i0.ɵɵngDeclareClassMetadata({
25345
25497
  }]
25346
25498
  }
25347
25499
  });
25348
- export { DATATABLE_ALIGN_CLASS, DATATABLE_LAYOUT_CLASS, DATATABLE_WRAP_CONTENT_CLASS, YUWS_AVATAR_NAME_HEADER_CLASS, YUWS_NO_DATA_PLACEHOLDER, YUW_DATATABLE_FEATURES, YUW_DATATABLE_WRAP_MIN_WIDTH, YUW_DATE_RANGES, YUW_PASSWORD_REVEAL_STATES, YUW_SIDEBAR_RAIL_ICON_SIZE, YUW_SIDEBAR_RAIL_WIDTH, YUW_TABLE_SHARE_FORMATS, YuwAccordion, YuwAccordionContentComponent, YuwAccordionImports, YuwAccordionItem, YuwAccordionTriggerComponent, YuwActionsCellComponent, YuwAlertActionDirective, YuwAlertComponent, YuwAlertDescriptionDirective, YuwAlertDialogComponent, YuwAlertDialogMediaDirective, YuwAlertDialogTriggerDirective, YuwAlertImports, YuwAlertTitleDirective, YuwAttachmentActionDirective, YuwAttachmentActionsDirective, YuwAttachmentContentDirective, YuwAttachmentDescriptionDirective, YuwAttachmentDirective, YuwAttachmentGroupDirective, YuwAttachmentMediaDirective, YuwAttachmentTitleDirective, YuwAttachmentTriggerDirective, YuwAvatarComponent, YuwBadgeComponent, YuwBreadcrumbComponent, YuwBreadcrumbTrailService, YuwButtonComponent, YuwButtonGroupComponent, YuwButtonGroupContentDirective, YuwCalendarComponent, YuwCaptionDirective, YuwCardActionDirective, YuwCardContentDirective, YuwCardDescriptionDirective, YuwCardDirective, YuwCardFooterDirective, YuwCardHeaderDirective, YuwCardImports, YuwCardTitleDirective, YuwCheckboxComponent, YuwClassDirective, YuwComboboxComponent, YuwComboboxItemDirective, YuwComboboxTriggerButtonDirective, YuwComboboxTriggerDirective, YuwCommandComponent, YuwCommandDialogComponent, YuwContextMenuCheckboxDirective, YuwContextMenuCheckboxIndicatorComponent, YuwContextMenuDirective, YuwContextMenuGroupDirective, YuwContextMenuImports, YuwContextMenuItemDirective, YuwContextMenuLabelDirective, YuwContextMenuRadioDirective, YuwContextMenuRadioIndicatorComponent, YuwContextMenuSeparatorDirective, YuwContextMenuShortcutDirective, YuwContextMenuSubDirective, YuwContextMenuSubIndicatorComponent, YuwContextMenuSubTriggerDirective, YuwContextMenuTriggerDirective, YuwDatatableComponent, YuwDatatablePaginationDirective, YuwDatatableRowSelect, YuwDatepickerComponent, YuwDatepickerTriggerDirective, YuwDialogCloseDirective, YuwDialogComponent, YuwDialogFooterDirective, YuwDialogImports, YuwDialogTriggerDirective, YuwEmptyContentDirective, YuwEmptyDescriptionDirective, YuwEmptyDirective, YuwEmptyHeaderDirective, YuwEmptyImports, YuwEmptyMediaDirective, YuwEmptyTitleDirective, YuwFieldBase, YuwInputAddonImports, YuwInputComponent, YuwInputFileComponent, YuwInputOtpComponent, YuwItemActionsDirective, YuwItemContentDirective, YuwItemDescriptionDirective, YuwItemDirective, YuwItemFooterDirective, YuwItemGroupDirective, YuwItemHeaderDirective, YuwItemImports, YuwItemMediaDirective, YuwItemSeparatorDirective, YuwItemTitleDirective, YuwLabel, YuwLayoutComponent, YuwLeftAddonDirective, YuwMouseScrollXDirective, YuwMouseScrollYDirective, YuwPaginationComponent, YuwPasswordInputComponent, YuwPopoverComponent, YuwPopoverTriggerDirective, YuwProgressComponent, YuwRadioGroupComponent, YuwRightAddonDirective, YuwSearchInputComponent, YuwSheetCloseDirective, YuwSheetComponent, YuwSheetFooterDirective, YuwSheetHeaderDirective, YuwSheetImports, YuwSheetTriggerDirective, YuwSidebarComponent, YuwSidebarContentDirective, YuwSidebarContentExtraDirective, YuwSidebarFooterDirective, YuwSidebarFooterExtraDirective, YuwSidebarGroupContentDirective, YuwSidebarGroupDirective, YuwSidebarGroupLabelDirective, YuwSidebarHeaderDirective, YuwSidebarInsetDirective, YuwSidebarMenuAvatarButtonDirective, YuwSidebarMenuBadgeDirective, YuwSidebarMenuButtonDirective, YuwSidebarMenuDirective, YuwSidebarMenuItemDirective, YuwSidebarMenuSubButtonDirective, YuwSidebarMenuSubDirective, YuwSidebarMenuSubItemDirective, YuwSidebarRailDirective, YuwSidebarRailService, YuwSidebarSeparatorDirective, YuwSidebarService, YuwSidebarSubmenuService, YuwSidebarTriggerComponent, YuwSidebarWrapperDirective, YuwSkeletonDirective, YuwSpinnerComponent, YuwStepIndicatorDirective, YuwStepPanelDirective, YuwStepperComponent, YuwSwitchCardComponent, YuwSwitchComponent, YuwTBodyDirective, YuwTFootDirective, YuwTHeadDirective, YuwTabContentDirective, YuwTabPanelDirective, YuwTableContainerDirective, YuwTableDirective, YuwTableImports, YuwTabsComponent, YuwTdDirective, YuwTextFieldBase, YuwTextareaComponent, YuwThDirective, YuwToasterComponent, YuwToggleGroupComponent, YuwTooltipDirective, YuwTrDirective, YuwValueAccessorBase, YuwsActiveStatusCellComponent, YuwsAdvanceOnEnterDirective, YuwsAvatarNameCellComponent, YuwsCardGridComponent, YuwsCardGridItemComponent, YuwsClampedTextCellComponent, YuwsConfirmDialogComponent, YuwsCopyButtonComponent, YuwsFilterComboboxComponent, YuwsFilterContentDirective, YuwsFlagCellComponent, YuwsFormSheetComponent, YuwsIconActionCellComponent, YuwsImageCellComponent, YuwsImageFieldComponent, YuwsImageUploadComponent, YuwsLinkCellComponent, YuwsListPaginationComponent, YuwsListTableComponent, YuwsListToolbarComponent, YuwsMenuActionsCellComponent, YuwsOverflowListCellComponent, YuwsPageHeaderComponent, YuwsPageSizeComponent, YuwsSelectCellComponent, YuwsStackedTextCellComponent, YuwsStatusToggleCellComponent, YuwsTitleSkeletonDirective, YuwsWeekdayPickerComponent, buildInputOtpGroups, buildYuwActionsColumn, buildYuwTableSnapshot, buildYuwsActiveStatusColumn, buildYuwsDateTimeColumn, buildYuwsIconActionColumn, buildYuwsMenuActionsColumn, buildYuwsOptionalTextColumn, buildYuwsSelectColumn, buildYuwsStatusToggleColumn, cn, createPagedList, createYuwsSheetEditor, datatableCellVariants, datatableContainerVariants, datatableHeadVariants, datatableHeaderCellVariants, datatableRowVariants, getPaginationRange, provideValueAccessor, provideYuwSidebarConfig, shareTable, totalInputOtpLength, yuwCommandDefaultFilter, yuwCountdownToast, yuwDatePresets, yuwQuarterRange, yuwToast, yuwsDateFilterValue, yuwsInitialsOf, yuwsMediaQuerySignal, yuwsPendingRowClass, yuwsReadFileAsDataUrl, yuwsResolveDateFilter, yuwsStandardDatePresets };
25500
+ export { DATATABLE_ALIGN_CLASS, DATATABLE_LAYOUT_CLASS, DATATABLE_WRAP_CONTENT_CLASS, YUWS_AVATAR_NAME_HEADER_CLASS, YUWS_NO_DATA_PLACEHOLDER, YUW_DATATABLE_FEATURES, YUW_DATATABLE_WRAP_MIN_WIDTH, YUW_DATE_RANGES, YUW_PASSWORD_REVEAL_STATES, YUW_SIDEBAR_RAIL_ICON_SIZE, YUW_SIDEBAR_RAIL_WIDTH, YUW_TABLE_SHARE_FORMATS, YuwAccordion, YuwAccordionContentComponent, YuwAccordionImports, YuwAccordionItem, YuwAccordionTriggerComponent, YuwActionsCellComponent, YuwAlertActionDirective, YuwAlertComponent, YuwAlertDescriptionDirective, YuwAlertDialogComponent, YuwAlertDialogMediaDirective, YuwAlertDialogTriggerDirective, YuwAlertImports, YuwAlertTitleDirective, YuwAttachmentActionDirective, YuwAttachmentActionsDirective, YuwAttachmentContentDirective, YuwAttachmentDescriptionDirective, YuwAttachmentDirective, YuwAttachmentGroupDirective, YuwAttachmentMediaDirective, YuwAttachmentTitleDirective, YuwAttachmentTriggerDirective, YuwAvatarComponent, YuwBadgeComponent, YuwBreadcrumbComponent, YuwBreadcrumbTrailService, YuwButtonComponent, YuwButtonGroupComponent, YuwButtonGroupContentDirective, YuwCalendarComponent, YuwCaptionDirective, YuwCardActionDirective, YuwCardContentDirective, YuwCardDescriptionDirective, YuwCardDirective, YuwCardFooterDirective, YuwCardHeaderDirective, YuwCardImports, YuwCardTitleDirective, YuwCheckboxComponent, YuwClassDirective, YuwComboboxComponent, YuwComboboxItemDirective, YuwComboboxTriggerButtonDirective, YuwComboboxTriggerDirective, YuwCommandComponent, YuwCommandDialogComponent, YuwContextMenuCheckboxDirective, YuwContextMenuCheckboxIndicatorComponent, YuwContextMenuDirective, YuwContextMenuGroupDirective, YuwContextMenuImports, YuwContextMenuItemDirective, YuwContextMenuLabelDirective, YuwContextMenuRadioDirective, YuwContextMenuRadioIndicatorComponent, YuwContextMenuSeparatorDirective, YuwContextMenuShortcutDirective, YuwContextMenuSubDirective, YuwContextMenuSubIndicatorComponent, YuwContextMenuSubTriggerDirective, YuwContextMenuTriggerDirective, YuwDatatableComponent, YuwDatatablePaginationDirective, YuwDatatableRowSelect, YuwDatepickerComponent, YuwDatepickerTriggerDirective, YuwDialogCloseDirective, YuwDialogComponent, YuwDialogFooterDirective, YuwDialogImports, YuwDialogTriggerDirective, YuwEmptyContentDirective, YuwEmptyDescriptionDirective, YuwEmptyDirective, YuwEmptyHeaderDirective, YuwEmptyImports, YuwEmptyMediaDirective, YuwEmptyTitleDirective, YuwFieldBase, YuwInputAddonImports, YuwInputComponent, YuwInputFileComponent, YuwInputOtpComponent, YuwItemActionsDirective, YuwItemContentDirective, YuwItemDescriptionDirective, YuwItemDirective, YuwItemFooterDirective, YuwItemGroupDirective, YuwItemHeaderDirective, YuwItemImports, YuwItemMediaDirective, YuwItemSeparatorDirective, YuwItemTitleDirective, YuwLabel, YuwLayoutComponent, YuwLeftAddonDirective, YuwMouseScrollXDirective, YuwMouseScrollYDirective, YuwPaginationComponent, YuwPasswordInputComponent, YuwPopoverComponent, YuwPopoverTriggerDirective, YuwProgressComponent, YuwRadioGroupComponent, YuwRightAddonDirective, YuwSearchInputComponent, YuwSheetCloseDirective, YuwSheetComponent, YuwSheetFooterDirective, YuwSheetHeaderDirective, YuwSheetImports, YuwSheetTriggerDirective, YuwSidebarComponent, YuwSidebarContentDirective, YuwSidebarContentExtraDirective, YuwSidebarFooterDirective, YuwSidebarFooterExtraDirective, YuwSidebarGroupContentDirective, YuwSidebarGroupDirective, YuwSidebarGroupLabelDirective, YuwSidebarHeaderDirective, YuwSidebarInsetDirective, YuwSidebarMenuAvatarButtonDirective, YuwSidebarMenuBadgeDirective, YuwSidebarMenuButtonDirective, YuwSidebarMenuDirective, YuwSidebarMenuItemDirective, YuwSidebarMenuSubButtonDirective, YuwSidebarMenuSubDirective, YuwSidebarMenuSubItemDirective, YuwSidebarRailDirective, YuwSidebarRailService, YuwSidebarSeparatorDirective, YuwSidebarService, YuwSidebarSubmenuService, YuwSidebarTriggerComponent, YuwSidebarWrapperDirective, YuwSkeletonDirective, YuwSpinnerComponent, YuwStepIndicatorDirective, YuwStepPanelDirective, YuwStepperComponent, YuwSwitchCardComponent, YuwSwitchComponent, YuwTBodyDirective, YuwTFootDirective, YuwTHeadDirective, YuwTabContentDirective, YuwTabPanelDirective, YuwTableContainerDirective, YuwTableDirective, YuwTableImports, YuwTabsComponent, YuwTdDirective, YuwTextFieldBase, YuwTextareaComponent, YuwThDirective, YuwToasterComponent, YuwToggleGroupComponent, YuwTooltipDirective, YuwTrDirective, YuwValueAccessorBase, YuwsActiveStatusCellComponent, YuwsAdvanceOnEnterDirective, YuwsAvatarNameCellComponent, YuwsBadgeListCellComponent, YuwsCardGridComponent, YuwsCardGridItemComponent, YuwsClampedTextCellComponent, YuwsConfirmDialogComponent, YuwsCopyButtonComponent, YuwsFilterComboboxComponent, YuwsFilterContentDirective, YuwsFlagCellComponent, YuwsFormSheetComponent, YuwsIconActionCellComponent, YuwsImageCellComponent, YuwsImageFieldComponent, YuwsImageUploadComponent, YuwsLinkCellComponent, YuwsListPaginationComponent, YuwsListTableComponent, YuwsListToolbarComponent, YuwsMenuActionsCellComponent, YuwsOverflowListCellComponent, YuwsPageHeaderComponent, YuwsPageSizeComponent, YuwsSelectCellComponent, YuwsStackedTextCellComponent, YuwsStatusToggleCellComponent, YuwsTitleSkeletonDirective, YuwsWeekdayPickerComponent, buildInputOtpGroups, buildYuwActionsColumn, buildYuwTableSnapshot, buildYuwsActiveStatusColumn, buildYuwsDateTimeColumn, buildYuwsIconActionColumn, buildYuwsMenuActionsColumn, buildYuwsOptionalTextColumn, buildYuwsSelectColumn, buildYuwsStatusToggleColumn, cn, createPagedList, createYuwsSheetEditor, datatableCellVariants, datatableContainerVariants, datatableHeadVariants, datatableHeaderCellVariants, datatableRowVariants, getPaginationRange, provideValueAccessor, provideYuwSidebarConfig, shareTable, totalInputOtpLength, yuwCommandDefaultFilter, yuwCountdownToast, yuwDatePresets, yuwQuarterRange, yuwToast, yuwsDateFilterValue, yuwsInitialsOf, yuwsMediaQuerySignal, yuwsPendingRowClass, yuwsReadFileAsDataUrl, yuwsResolveDateFilter, yuwsStandardDatePresets };
25349
25501
 
25350
25502
  //# sourceMappingURL=yukit-web.mjs.map