yukit-web 0.13.0 → 1.0.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.
- package/fesm2022/yukit-web.mjs +248 -35
- package/fesm2022/yukit-web.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/theme/components/layout.css +3 -0
- package/src/lib/theme/components/sidebar.css +20 -0
- package/src/lib/theme/theme.css +2 -0
- package/src/lib/theme/tokens/color.css +154 -107
- package/types/yukit-web.d.ts +59 -9
package/fesm2022/yukit-web.mjs
CHANGED
|
@@ -4914,6 +4914,40 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4914
4914
|
args: [{ selector: "[yuwSheetHeader]" }]
|
|
4915
4915
|
}]
|
|
4916
4916
|
});
|
|
4917
|
+
const yuwLayoutLeftInsetClass = `
|
|
4918
|
+
data-[side=left]:inset-y-1
|
|
4919
|
+
lg:data-[side=left]:inset-y-2
|
|
4920
|
+
data-[side=left]:h-auto
|
|
4921
|
+
data-[side=right]:inset-y-1
|
|
4922
|
+
lg:data-[side=right]:inset-y-2
|
|
4923
|
+
data-[side=right]:h-auto
|
|
4924
|
+
`;
|
|
4925
|
+
const yuwLayoutRightInsetClass = `
|
|
4926
|
+
data-[side=right]:inset-y-1
|
|
4927
|
+
lg:data-[side=right]:inset-y-2
|
|
4928
|
+
data-[side=right]:h-auto
|
|
4929
|
+
data-[side=right]:right-1
|
|
4930
|
+
lg:data-[side=right]:right-2
|
|
4931
|
+
rounded-4xl
|
|
4932
|
+
overflow-hidden
|
|
4933
|
+
`;
|
|
4934
|
+
const YUW_LAYOUT_BODY_VARS = {
|
|
4935
|
+
top: "--yuw-layout-body-top",
|
|
4936
|
+
right: "--yuw-layout-body-right",
|
|
4937
|
+
bottom: "--yuw-layout-body-bottom",
|
|
4938
|
+
left: "--yuw-layout-body-left"
|
|
4939
|
+
};
|
|
4940
|
+
const yuwLayoutBackdropClass = `
|
|
4941
|
+
top-[var(--yuw-layout-body-top,0px)]!
|
|
4942
|
+
right-[var(--yuw-layout-body-right,0px)]!
|
|
4943
|
+
bottom-[var(--yuw-layout-body-bottom,0px)]!
|
|
4944
|
+
left-[var(--yuw-layout-body-left,0px)]!
|
|
4945
|
+
rounded-4xl
|
|
4946
|
+
`;
|
|
4947
|
+
const YUW_SHEET_LAYOUT_INSET_CLASS = {
|
|
4948
|
+
left: yuwLayoutLeftInsetClass,
|
|
4949
|
+
right: yuwLayoutRightInsetClass
|
|
4950
|
+
};
|
|
4917
4951
|
const YUW_SHEET_OVERLAY_BASE_CLASS = "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 isolate bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs";
|
|
4918
4952
|
const YUW_SHEET_OPEN_CLASS = "yuw-sheet-open";
|
|
4919
4953
|
var YuwSheetComponent = class YuwSheetComponent {
|
|
@@ -4937,6 +4971,7 @@ var YuwSheetComponent = class YuwSheetComponent {
|
|
|
4937
4971
|
...ngDevMode ? { debugName: "disableClose" } : /* istanbul ignore next */ {},
|
|
4938
4972
|
transform: booleanAttribute
|
|
4939
4973
|
});
|
|
4974
|
+
this.layoutInset = input(void 0, ...ngDevMode ? [{ debugName: "layoutInset" }] : /* istanbul ignore next */ []);
|
|
4940
4975
|
this.note = input(void 0, ...ngDevMode ? [{ debugName: "note" }] : /* istanbul ignore next */ []);
|
|
4941
4976
|
this.open = model(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
|
|
4942
4977
|
this.overlayClass = input(void 0, ...ngDevMode ? [{ debugName: "overlayClass" }] : /* istanbul ignore next */ []);
|
|
@@ -4951,14 +4986,19 @@ var YuwSheetComponent = class YuwSheetComponent {
|
|
|
4951
4986
|
this.triggerSize = input("default", ...ngDevMode ? [{ debugName: "triggerSize" }] : /* istanbul ignore next */ []);
|
|
4952
4987
|
this.triggerVariant = input("outline", ...ngDevMode ? [{ debugName: "triggerVariant" }] : /* istanbul ignore next */ []);
|
|
4953
4988
|
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 */ []);
|
|
4989
|
+
this._overlayClass = computed(() => this.layoutInset() ? cn(yuwLayoutBackdropClass, this.overlayClass()) : this.overlayClass(), ...ngDevMode ? [{ debugName: "_overlayClass" }] : /* istanbul ignore next */ []);
|
|
4990
|
+
this._panelClass = computed(() => {
|
|
4991
|
+
const inset = this.layoutInset();
|
|
4992
|
+
return cn(inset ? YUW_SHEET_LAYOUT_INSET_CLASS[inset] : void 0, this.panelClass());
|
|
4993
|
+
}, ...ngDevMode ? [{ debugName: "_panelClass" }] : /* istanbul ignore next */ []);
|
|
4954
4994
|
this._sheetState = computed(() => this.open() ? "open" : "closed", ...ngDevMode ? [{ debugName: "_sheetState" }] : /* istanbul ignore next */ []);
|
|
4955
4995
|
const root = inject(DOCUMENT$1).documentElement;
|
|
4956
4996
|
inject(DestroyRef).onDestroy(() => root.classList.remove(YUW_SHEET_OPEN_CLASS));
|
|
4957
4997
|
effect(() => root.classList.toggle(YUW_SHEET_OPEN_CLASS, this.open()));
|
|
4958
4998
|
effect(() => {
|
|
4959
|
-
const overlayClass = this.
|
|
4999
|
+
const overlayClass = this._overlayClass();
|
|
4960
5000
|
if (overlayClass === void 0) return;
|
|
4961
|
-
this.sheet().setOverlayClass(
|
|
5001
|
+
this.sheet().setOverlayClass(cn(YUW_SHEET_OVERLAY_BASE_CLASS, overlayClass));
|
|
4962
5002
|
});
|
|
4963
5003
|
}
|
|
4964
5004
|
onStateChanged(state) {
|
|
@@ -5031,6 +5071,13 @@ var YuwSheetComponent = class YuwSheetComponent {
|
|
|
5031
5071
|
isRequired: false,
|
|
5032
5072
|
transformFunction: null
|
|
5033
5073
|
},
|
|
5074
|
+
layoutInset: {
|
|
5075
|
+
classPropertyName: "layoutInset",
|
|
5076
|
+
publicName: "layoutInset",
|
|
5077
|
+
isSignal: true,
|
|
5078
|
+
isRequired: false,
|
|
5079
|
+
transformFunction: null
|
|
5080
|
+
},
|
|
5034
5081
|
note: {
|
|
5035
5082
|
classPropertyName: "note",
|
|
5036
5083
|
publicName: "note",
|
|
@@ -5129,7 +5176,7 @@ var YuwSheetComponent = class YuwSheetComponent {
|
|
|
5129
5176
|
isSignal: true
|
|
5130
5177
|
}],
|
|
5131
5178
|
ngImport: i0,
|
|
5132
|
-
template: "<hlm-sheet\n [side]=\"side()\"\n [state]=\"_sheetState()\"\n [aria-label]=\"ariaLabel()\"\n [aria-modal]=\"ariaModal()\"\n [scrollStrategy]=\"scrollStrategy()\"\n [closeOnOutsidePointerEvents]=\"closeOnOutsidePointerEvents()\"\n [disableClose]=\"disableClose()\"\n (stateChanged)=\"onStateChanged($event)\"\n>\n @if (showTrigger()) {\n <yuw-button yuwSheetTriggerButton [variant]=\"triggerVariant()\" [size]=\"triggerSize()\">\n <ng-content select=\"[yuwSheetTrigger]\" />\n </yuw-button>\n }\n\n <hlm-sheet-content *hlmSheetPortal [showCloseButton]=\"false\" [class]=\"
|
|
5179
|
+
template: "<hlm-sheet\n [side]=\"side()\"\n [state]=\"_sheetState()\"\n [aria-label]=\"ariaLabel()\"\n [aria-modal]=\"ariaModal()\"\n [scrollStrategy]=\"scrollStrategy()\"\n [closeOnOutsidePointerEvents]=\"closeOnOutsidePointerEvents()\"\n [disableClose]=\"disableClose()\"\n (stateChanged)=\"onStateChanged($event)\"\n>\n @if (showTrigger()) {\n <yuw-button yuwSheetTriggerButton [variant]=\"triggerVariant()\" [size]=\"triggerSize()\">\n <ng-content select=\"[yuwSheetTrigger]\" />\n </yuw-button>\n }\n\n <hlm-sheet-content *hlmSheetPortal [showCloseButton]=\"false\" [class]=\"_panelClass()\">\n @if (title() || description() || note()) {\n <div hlmSheetHeader>\n @if (title()) {\n <h2 hlmSheetTitle>{{ title() }}</h2>\n }\n @if (description()) {\n <p hlmSheetDescription>{{ description() }}</p>\n }\n @if (note()) {\n <p hlmSheetDescription>{{ note() }}</p>\n }\n </div>\n }\n\n @if (hasHeader()) {\n <div class=\"flex items-start gap-3 px-4 pt-6\">\n <div class=\"min-w-0 flex-1\">\n <ng-content select=\"[yuwSheetHeader]\" />\n </div>\n @if (closeLabel()) {\n <ng-container [ngTemplateOutlet]=\"closeButton\" />\n }\n </div>\n }\n\n <div [class]=\"_bodyClass()\">\n <ng-content />\n </div>\n\n @if (hasFooter()) {\n <div hlmSheetFooter class=\"bg-(--neutrals-surface-footer)\">\n <ng-content select=\"[yuwSheetFooter]\" />\n </div>\n }\n\n @if (closeLabel() && !hasHeader()) {\n <div class=\"absolute inset-e-3 top-3\">\n <ng-container [ngTemplateOutlet]=\"closeButton\" />\n </div>\n }\n\n <ng-template #closeButton>\n <yuw-button yuwSheetClose variant=\"ghost\" size=\"icon-sm\">\n <ng-icon name=\"lucideX\" />\n <span class=\"sr-only\">{{ closeLabel() }}</span>\n </yuw-button>\n </ng-template>\n </hlm-sheet-content>\n</hlm-sheet>\n",
|
|
5133
5180
|
dependencies: [
|
|
5134
5181
|
{
|
|
5135
5182
|
kind: "component",
|
|
@@ -5249,7 +5296,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5249
5296
|
}],
|
|
5250
5297
|
host: { class: "contents" },
|
|
5251
5298
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5252
|
-
template: "<hlm-sheet\n [side]=\"side()\"\n [state]=\"_sheetState()\"\n [aria-label]=\"ariaLabel()\"\n [aria-modal]=\"ariaModal()\"\n [scrollStrategy]=\"scrollStrategy()\"\n [closeOnOutsidePointerEvents]=\"closeOnOutsidePointerEvents()\"\n [disableClose]=\"disableClose()\"\n (stateChanged)=\"onStateChanged($event)\"\n>\n @if (showTrigger()) {\n <yuw-button yuwSheetTriggerButton [variant]=\"triggerVariant()\" [size]=\"triggerSize()\">\n <ng-content select=\"[yuwSheetTrigger]\" />\n </yuw-button>\n }\n\n <hlm-sheet-content *hlmSheetPortal [showCloseButton]=\"false\" [class]=\"
|
|
5299
|
+
template: "<hlm-sheet\n [side]=\"side()\"\n [state]=\"_sheetState()\"\n [aria-label]=\"ariaLabel()\"\n [aria-modal]=\"ariaModal()\"\n [scrollStrategy]=\"scrollStrategy()\"\n [closeOnOutsidePointerEvents]=\"closeOnOutsidePointerEvents()\"\n [disableClose]=\"disableClose()\"\n (stateChanged)=\"onStateChanged($event)\"\n>\n @if (showTrigger()) {\n <yuw-button yuwSheetTriggerButton [variant]=\"triggerVariant()\" [size]=\"triggerSize()\">\n <ng-content select=\"[yuwSheetTrigger]\" />\n </yuw-button>\n }\n\n <hlm-sheet-content *hlmSheetPortal [showCloseButton]=\"false\" [class]=\"_panelClass()\">\n @if (title() || description() || note()) {\n <div hlmSheetHeader>\n @if (title()) {\n <h2 hlmSheetTitle>{{ title() }}</h2>\n }\n @if (description()) {\n <p hlmSheetDescription>{{ description() }}</p>\n }\n @if (note()) {\n <p hlmSheetDescription>{{ note() }}</p>\n }\n </div>\n }\n\n @if (hasHeader()) {\n <div class=\"flex items-start gap-3 px-4 pt-6\">\n <div class=\"min-w-0 flex-1\">\n <ng-content select=\"[yuwSheetHeader]\" />\n </div>\n @if (closeLabel()) {\n <ng-container [ngTemplateOutlet]=\"closeButton\" />\n }\n </div>\n }\n\n <div [class]=\"_bodyClass()\">\n <ng-content />\n </div>\n\n @if (hasFooter()) {\n <div hlmSheetFooter class=\"bg-(--neutrals-surface-footer)\">\n <ng-content select=\"[yuwSheetFooter]\" />\n </div>\n }\n\n @if (closeLabel() && !hasHeader()) {\n <div class=\"absolute inset-e-3 top-3\">\n <ng-container [ngTemplateOutlet]=\"closeButton\" />\n </div>\n }\n\n <ng-template #closeButton>\n <yuw-button yuwSheetClose variant=\"ghost\" size=\"icon-sm\">\n <ng-icon name=\"lucideX\" />\n <span class=\"sr-only\">{{ closeLabel() }}</span>\n </yuw-button>\n </ng-template>\n </hlm-sheet-content>\n</hlm-sheet>\n"
|
|
5253
5300
|
}]
|
|
5254
5301
|
}],
|
|
5255
5302
|
ctorParameters: () => [],
|
|
@@ -5322,6 +5369,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5322
5369
|
required: false
|
|
5323
5370
|
}]
|
|
5324
5371
|
}],
|
|
5372
|
+
layoutInset: [{
|
|
5373
|
+
type: i0.Input,
|
|
5374
|
+
args: [{
|
|
5375
|
+
isSignal: true,
|
|
5376
|
+
alias: "layoutInset",
|
|
5377
|
+
required: false
|
|
5378
|
+
}]
|
|
5379
|
+
}],
|
|
5325
5380
|
note: [{
|
|
5326
5381
|
type: i0.Input,
|
|
5327
5382
|
args: [{
|
|
@@ -5797,6 +5852,7 @@ var YuwInputFileComponent = class YuwInputFileComponent extends YuwValueAccessor
|
|
|
5797
5852
|
"closeOnOutsidePointerEvents",
|
|
5798
5853
|
"description",
|
|
5799
5854
|
"disableClose",
|
|
5855
|
+
"layoutInset",
|
|
5800
5856
|
"note",
|
|
5801
5857
|
"open",
|
|
5802
5858
|
"overlayClass",
|
|
@@ -9215,7 +9271,7 @@ const YUW_CALENDAR_DAY_CLASS = cn(buttonVariants({
|
|
|
9215
9271
|
variant: "ghost",
|
|
9216
9272
|
size: "icon"
|
|
9217
9273
|
}), "relative isolate z-10 flex aspect-square size-auto w-full min-w-(--cell-size) border-0 leading-none font-normal", "data-[today=true]:bg-(--neutrals-fill) data-[today=true]:text-(--neutrals-element-high) data-[outside=true]:opacity-50", "group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50", "data-[selected-single=true]:bg-(--yuw-accent) data-[selected-single=true]:text-(--yuw-accent-foreground)", "data-[range-start=true]:rounded-l-(--cell-radius) data-[range-start=true]:rounded-r-none data-[range-start=true]:bg-(--yuw-accent) data-[range-start=true]:text-(--yuw-accent-foreground)", "data-[range-end=true]:rounded-r-(--cell-radius) data-[range-end=true]:rounded-l-none data-[range-end=true]:bg-(--yuw-accent) data-[range-end=true]:text-(--yuw-accent-foreground)", "data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-secondary data-[range-middle=true]:text-secondary-foreground");
|
|
9218
|
-
const YUW_CALENDAR_MONTH_YEAR_CLASS = cn("p-0 [&_.grid-cols-4]:grid-cols-3", "[&_button[brnmonthyearcalendarmonthbutton]:not([data-selected=true])]:bg-secondary", "[&_button[brnmonthyearcalendarmonthbutton]:not([data-selected=true])]:text-secondary-foreground", "[&_button[brnmonthyearcalendarmonthbutton]:not([data-selected=true]):hover]:bg-(--secondary-
|
|
9274
|
+
const YUW_CALENDAR_MONTH_YEAR_CLASS = cn("p-0 [&_.grid-cols-4]:grid-cols-3", "[&_button[brnmonthyearcalendarmonthbutton]:not([data-selected=true])]:bg-secondary", "[&_button[brnmonthyearcalendarmonthbutton]:not([data-selected=true])]:text-secondary-foreground", "[&_button[brnmonthyearcalendarmonthbutton]:not([data-selected=true]):hover]:bg-(--secondary-tonal-hover)", "[&_button[brnmonthyearcalendaryearbutton]:not([data-selected=true])]:bg-secondary", "[&_button[brnmonthyearcalendaryearbutton]:not([data-selected=true])]:text-secondary-foreground", "[&_button[brnmonthyearcalendaryearbutton]:not([data-selected=true]):hover]:bg-(--secondary-tonal-hover)", "[&_button[brnmonthyearcalendarmonthbutton][data-today=true]:not([data-selected=true])]:bg-(--neutrals-fill)", "[&_button[brnmonthyearcalendarmonthbutton][data-today=true]:not([data-selected=true])]:text-(--neutrals-element-high)", "[&_button[brnmonthyearcalendaryearbutton][data-today=true]:not([data-selected=true])]:bg-(--neutrals-fill)", "[&_button[brnmonthyearcalendaryearbutton][data-today=true]:not([data-selected=true])]:text-(--neutrals-element-high)", "[&_button[data-selected=true]]:bg-(--yuw-accent) [&_button[data-selected=true]:hover]:bg-(--yuw-accent)", "[&_button[data-selected=true]]:text-(--yuw-accent-foreground) [&_button[data-selected=true]:hover]:text-(--yuw-accent-foreground)", "[&_button[data-focused=true]:not(:focus-visible)]:border-transparent [&_button[data-focused=true]:not(:focus-visible)]:ring-0");
|
|
9219
9275
|
var YuwCalendarDaysComponent = class YuwCalendarDaysComponent {
|
|
9220
9276
|
constructor() {
|
|
9221
9277
|
this.headingClicked = output();
|
|
@@ -15703,17 +15759,29 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
15703
15759
|
}]
|
|
15704
15760
|
}]
|
|
15705
15761
|
});
|
|
15706
|
-
const YUW_SIDEBAR_RAIL_PADDING = "22px";
|
|
15707
15762
|
const YUW_SIDEBAR_RAIL_ICON_SIZE = "20px";
|
|
15708
15763
|
const YUW_SIDEBAR_RAIL_WIDTH = "78px";
|
|
15764
|
+
const yuwSidebarItemColorClass = `
|
|
15765
|
+
text-(--yuw-sidebar-item-text)
|
|
15766
|
+
[--ng-icon__color:var(--yuw-sidebar-item-icon)]
|
|
15767
|
+
hover:bg-(--yuw-sidebar-item-hover)
|
|
15768
|
+
hover:text-(--yuw-sidebar-item-text)
|
|
15769
|
+
active:bg-(--yuw-sidebar-item-hover)
|
|
15770
|
+
active:text-(--yuw-sidebar-item-text)
|
|
15771
|
+
data-active:bg-(--yuw-sidebar-item-active)
|
|
15772
|
+
data-active:text-(--yuw-sidebar-item-active-text)
|
|
15773
|
+
data-active:hover:bg-(--yuw-sidebar-item-active)
|
|
15774
|
+
data-active:hover:text-(--yuw-sidebar-item-active-text)
|
|
15775
|
+
data-active:[--ng-icon__color:var(--yuw-sidebar-item-active-text)]
|
|
15776
|
+
`;
|
|
15709
15777
|
const yuwSidebarMenuButtonClass = `
|
|
15710
15778
|
[&>span]:truncate
|
|
15711
15779
|
[&>span]:min-w-0
|
|
15712
|
-
|
|
15713
|
-
|
|
15714
|
-
|
|
15715
|
-
|
|
15716
|
-
|
|
15780
|
+
${yuwSidebarItemColorClass}
|
|
15781
|
+
aria-expanded:bg-(--yuw-sidebar-item-hover)
|
|
15782
|
+
aria-expanded:text-(--yuw-sidebar-item-text)
|
|
15783
|
+
data-open:hover:bg-(--yuw-sidebar-item-hover)
|
|
15784
|
+
data-open:hover:text-(--yuw-sidebar-item-text)
|
|
15717
15785
|
transition-[background-color,color,padding]
|
|
15718
15786
|
duration-200
|
|
15719
15787
|
ease-linear
|
|
@@ -15729,6 +15797,8 @@ const yuwSidebarMenuButtonClass = `
|
|
|
15729
15797
|
group-data-[yuw-rail=on]:justify-center!
|
|
15730
15798
|
group-data-[yuw-rail=on]:[&>span]:hidden
|
|
15731
15799
|
group-data-[yuw-rail=on]:[&_ng-icon]:scale-125
|
|
15800
|
+
group-data-[collapsible=icon]:group-data-[yuw-rail=on]:size-11!
|
|
15801
|
+
group-data-[collapsible=icon]:group-data-[yuw-rail=on]:p-0!
|
|
15732
15802
|
`;
|
|
15733
15803
|
const yuwSidebarMenuAvatarButtonClass = `
|
|
15734
15804
|
h-auto
|
|
@@ -15746,17 +15816,16 @@ const yuwSidebarMenuChevronClass = `
|
|
|
15746
15816
|
`;
|
|
15747
15817
|
const YUW_SIDEBAR_RAIL_WIDTH_VAR = "--yuw-sidebar-rail-width";
|
|
15748
15818
|
const yuwSidebarSubmenuSheetClass = `
|
|
15749
|
-
data-[side=left]:inset-y-0
|
|
15750
15819
|
data-[side=left]:left-[var(--yuw-sidebar-rail-width)]
|
|
15751
|
-
data-[side=left]:h-full
|
|
15752
15820
|
data-[side=left]:w-64
|
|
15753
15821
|
data-[side=left]:sm:max-w-none
|
|
15754
|
-
|
|
15755
|
-
|
|
15756
|
-
|
|
15757
|
-
|
|
15758
|
-
|
|
15759
|
-
|
|
15822
|
+
yuw-sidebar-panel
|
|
15823
|
+
data-[side=left]:border-r
|
|
15824
|
+
data-[side=left]:border-(--sidebar-panel-border)
|
|
15825
|
+
rounded-s-4xl
|
|
15826
|
+
rounded-e-none
|
|
15827
|
+
bg-(--sidebar-panel)
|
|
15828
|
+
text-(--sidebar-panel-text)
|
|
15760
15829
|
shadow-none
|
|
15761
15830
|
gap-0
|
|
15762
15831
|
p-0
|
|
@@ -15784,7 +15853,7 @@ const yuwSidebarSubmenuSheetBodyClass = `
|
|
|
15784
15853
|
[&_[data-sidebar=menu-sub-button]]:h-8
|
|
15785
15854
|
`;
|
|
15786
15855
|
const yuwSidebarSubmenuSheetLabelClass = `
|
|
15787
|
-
text-
|
|
15856
|
+
text-(--sidebar-panel-title)
|
|
15788
15857
|
py-6.75
|
|
15789
15858
|
text-xs
|
|
15790
15859
|
font-medium
|
|
@@ -15792,12 +15861,12 @@ const yuwSidebarSubmenuSheetLabelClass = `
|
|
|
15792
15861
|
uppercase
|
|
15793
15862
|
tracking-[2px]
|
|
15794
15863
|
`;
|
|
15795
|
-
const yuwSidebarContainerClass = "contain-layout";
|
|
15864
|
+
const yuwSidebarContainerClass = "contain-layout group-data-[side=left]:border-r-0 group-data-[side=right]:border-l-0";
|
|
15796
15865
|
const yuwSidebarContentClass = `
|
|
15797
15866
|
overflow-y-auto
|
|
15798
15867
|
group-data-[collapsible=icon]:overflow-y-auto!
|
|
15799
15868
|
group-data-[collapsible=icon]:overflow-x-hidden
|
|
15800
|
-
group-data-[yuw-rail=on]:gap-
|
|
15869
|
+
group-data-[yuw-rail=on]:gap-1!
|
|
15801
15870
|
`;
|
|
15802
15871
|
const yuwSidebarGroupLabelClass = `
|
|
15803
15872
|
group-data-[collapsible=icon]:mt-0!
|
|
@@ -15808,7 +15877,7 @@ const yuwSidebarGroupLabelClass = `
|
|
|
15808
15877
|
motion-reduce:transition-none
|
|
15809
15878
|
group-data-[yuw-rail=on]:hidden
|
|
15810
15879
|
`;
|
|
15811
|
-
const yuwSidebarGroupClass = "p-3 group-data-[yuw-rail=on]:
|
|
15880
|
+
const yuwSidebarGroupClass = "p-3 group-data-[yuw-rail=on]:px-0 group-data-[yuw-rail=on]:py-2";
|
|
15812
15881
|
const yuwSidebarFooterClass = "group-data-[yuw-rail=on]:p-0";
|
|
15813
15882
|
const yuwSidebarSubmenuWrapperClass = `
|
|
15814
15883
|
grid
|
|
@@ -15822,6 +15891,10 @@ const yuwSidebarSubmenuWrapperClass = `
|
|
|
15822
15891
|
const yuwSidebarSubmenuOpenClass = "grid-rows-[1fr]";
|
|
15823
15892
|
const yuwSidebarSubmenuClosedClass = "grid-rows-[0fr]";
|
|
15824
15893
|
const yuwSidebarMenuBadgeClass = `
|
|
15894
|
+
bg-(--sidebar-badge)
|
|
15895
|
+
text-(--sidebar-on-badge)
|
|
15896
|
+
peer-hover/menu-button:text-(--sidebar-on-badge)
|
|
15897
|
+
peer-data-active/menu-button:text-(--sidebar-on-badge)
|
|
15825
15898
|
transition-opacity
|
|
15826
15899
|
duration-200
|
|
15827
15900
|
ease-linear
|
|
@@ -15837,19 +15910,13 @@ const yuwSidebarGroupLabelTextClass = `
|
|
|
15837
15910
|
`;
|
|
15838
15911
|
const yuwSidebarMenuClass = `
|
|
15839
15912
|
gap-2
|
|
15840
|
-
group-data-[yuw-rail=on]:gap-
|
|
15913
|
+
group-data-[yuw-rail=on]:gap-1
|
|
15841
15914
|
`;
|
|
15842
|
-
const yuwSidebarMenuItemClass = "group-data-[yuw-rail=on]:
|
|
15915
|
+
const yuwSidebarMenuItemClass = "group-data-[yuw-rail=on]:flex group-data-[yuw-rail=on]:justify-center";
|
|
15843
15916
|
const yuwSidebarMenuSubButtonClass = `
|
|
15844
15917
|
[&>span]:truncate
|
|
15845
15918
|
[&>span]:min-w-0
|
|
15846
|
-
|
|
15847
|
-
hover:text-foreground
|
|
15848
|
-
dark:hover:bg-muted/50
|
|
15849
|
-
active:bg-muted
|
|
15850
|
-
active:text-foreground
|
|
15851
|
-
data-active:bg-sidebar-accent
|
|
15852
|
-
data-active:text-sidebar-accent-foreground
|
|
15919
|
+
${yuwSidebarItemColorClass}
|
|
15853
15920
|
transition-[background-color,color]
|
|
15854
15921
|
duration-200
|
|
15855
15922
|
ease-linear
|
|
@@ -17158,7 +17225,7 @@ var YuwSidebarSubmenuSheetComponent = class YuwSidebarSubmenuSheetComponent {
|
|
|
17158
17225
|
outputs: { itemClicked: "itemClicked" },
|
|
17159
17226
|
host: { classAttribute: "contents" },
|
|
17160
17227
|
ngImport: i0,
|
|
17161
|
-
template: "<yuw-sheet\n side=\"left\"\n [open]=\"_submenu.open()\"\n (openChange)=\"onOpenChange($event)\"\n [showTrigger]=\"false\"\n [ariaLabel]=\"_label()\"\n [panelClass]=\"panelClass\"\n [overlayClass]=\"overlayClass\"\n [ariaModal]=\"false\"\n [closeOnOutsidePointerEvents]=\"false\"\n scrollStrategy=\"reposition\"\n>\n <div [class]=\"bodyClass\">\n <span [class]=\"labelClass\">{{ _label() }}</span>\n\n <ul yuwSidebarMenuSub>\n @for (child of _children(); track child.id) {\n <li yuwSidebarMenuSubItem>\n @if (child.route) {\n <a\n yuwSidebarMenuSubButton\n #childLink=\"routerLinkActive\"\n routerLinkActive\n class=\"px-4 h-12!\"\n [routerLink]=\"child.route\"\n [routerLinkActiveOptions]=\"_activeOptions()[child.id]\"\n [isActive]=\"childLink.isActive\"\n [attr.aria-current]=\"childLink.isActive ? 'page' : null\"\n [attr.aria-disabled]=\"child.disabled ? 'true' : null\"\n [class.pointer-events-none]=\"child.disabled\"\n (click)=\"_submenu.close()\"\n >\n @if (child.icon) {\n <ng-icon [name]=\"child.icon\" />\n }\n <span>{{ child.label }}</span>\n </a>\n } @else if (child.href) {\n <a\n yuwSidebarMenuSubButton\n class=\"px-4 h-12!\"\n [href]=\"child.href\"\n [attr.target]=\"child.target\"\n [attr.aria-disabled]=\"child.disabled ? 'true' : null\"\n [class.pointer-events-none]=\"child.disabled\"\n (click)=\"_submenu.close()\"\n >\n @if (child.icon) {\n <ng-icon [name]=\"child.icon\" />\n }\n <span>{{ child.label }}</span>\n </a>\n } @else {\n <button\n yuwSidebarMenuSubButton\n type=\"button\"\n class=\"px-4 h-12!\"\n [disabled]=\"child.disabled ?? false\"\n (click)=\"onChildClick(child.id, $event)\"\n >\n @if (child.icon) {\n <ng-icon [name]=\"child.icon\" />\n }\n <span>{{ child.label }}</span>\n </button>\n }\n </li>\n }\n </ul>\n </div>\n</yuw-sheet>\n",
|
|
17228
|
+
template: "<yuw-sheet\n side=\"left\"\n layoutInset=\"left\"\n [open]=\"_submenu.open()\"\n (openChange)=\"onOpenChange($event)\"\n [showTrigger]=\"false\"\n [ariaLabel]=\"_label()\"\n [panelClass]=\"panelClass\"\n [overlayClass]=\"overlayClass\"\n [ariaModal]=\"false\"\n [closeOnOutsidePointerEvents]=\"false\"\n scrollStrategy=\"reposition\"\n>\n <div [class]=\"bodyClass\">\n <span [class]=\"labelClass\">{{ _label() }}</span>\n\n <ul yuwSidebarMenuSub>\n @for (child of _children(); track child.id) {\n <li yuwSidebarMenuSubItem>\n @if (child.route) {\n <a\n yuwSidebarMenuSubButton\n #childLink=\"routerLinkActive\"\n routerLinkActive\n class=\"px-4 h-12!\"\n [routerLink]=\"child.route\"\n [routerLinkActiveOptions]=\"_activeOptions()[child.id]\"\n [isActive]=\"childLink.isActive\"\n [attr.aria-current]=\"childLink.isActive ? 'page' : null\"\n [attr.aria-disabled]=\"child.disabled ? 'true' : null\"\n [class.pointer-events-none]=\"child.disabled\"\n (click)=\"_submenu.close()\"\n >\n @if (child.icon) {\n <ng-icon [name]=\"child.icon\" />\n }\n <span>{{ child.label }}</span>\n </a>\n } @else if (child.href) {\n <a\n yuwSidebarMenuSubButton\n class=\"px-4 h-12!\"\n [href]=\"child.href\"\n [attr.target]=\"child.target\"\n [attr.aria-disabled]=\"child.disabled ? 'true' : null\"\n [class.pointer-events-none]=\"child.disabled\"\n (click)=\"_submenu.close()\"\n >\n @if (child.icon) {\n <ng-icon [name]=\"child.icon\" />\n }\n <span>{{ child.label }}</span>\n </a>\n } @else {\n <button\n yuwSidebarMenuSubButton\n type=\"button\"\n class=\"px-4 h-12!\"\n [disabled]=\"child.disabled ?? false\"\n (click)=\"onChildClick(child.id, $event)\"\n >\n @if (child.icon) {\n <ng-icon [name]=\"child.icon\" />\n }\n <span>{{ child.label }}</span>\n </button>\n }\n </li>\n }\n </ul>\n </div>\n</yuw-sheet>\n",
|
|
17162
17229
|
dependencies: [
|
|
17163
17230
|
{
|
|
17164
17231
|
kind: "component",
|
|
@@ -17172,6 +17239,7 @@ var YuwSidebarSubmenuSheetComponent = class YuwSidebarSubmenuSheetComponent {
|
|
|
17172
17239
|
"closeOnOutsidePointerEvents",
|
|
17173
17240
|
"description",
|
|
17174
17241
|
"disableClose",
|
|
17242
|
+
"layoutInset",
|
|
17175
17243
|
"note",
|
|
17176
17244
|
"open",
|
|
17177
17245
|
"overlayClass",
|
|
@@ -17268,7 +17336,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
17268
17336
|
],
|
|
17269
17337
|
host: { class: "contents" },
|
|
17270
17338
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
17271
|
-
template: "<yuw-sheet\n side=\"left\"\n [open]=\"_submenu.open()\"\n (openChange)=\"onOpenChange($event)\"\n [showTrigger]=\"false\"\n [ariaLabel]=\"_label()\"\n [panelClass]=\"panelClass\"\n [overlayClass]=\"overlayClass\"\n [ariaModal]=\"false\"\n [closeOnOutsidePointerEvents]=\"false\"\n scrollStrategy=\"reposition\"\n>\n <div [class]=\"bodyClass\">\n <span [class]=\"labelClass\">{{ _label() }}</span>\n\n <ul yuwSidebarMenuSub>\n @for (child of _children(); track child.id) {\n <li yuwSidebarMenuSubItem>\n @if (child.route) {\n <a\n yuwSidebarMenuSubButton\n #childLink=\"routerLinkActive\"\n routerLinkActive\n class=\"px-4 h-12!\"\n [routerLink]=\"child.route\"\n [routerLinkActiveOptions]=\"_activeOptions()[child.id]\"\n [isActive]=\"childLink.isActive\"\n [attr.aria-current]=\"childLink.isActive ? 'page' : null\"\n [attr.aria-disabled]=\"child.disabled ? 'true' : null\"\n [class.pointer-events-none]=\"child.disabled\"\n (click)=\"_submenu.close()\"\n >\n @if (child.icon) {\n <ng-icon [name]=\"child.icon\" />\n }\n <span>{{ child.label }}</span>\n </a>\n } @else if (child.href) {\n <a\n yuwSidebarMenuSubButton\n class=\"px-4 h-12!\"\n [href]=\"child.href\"\n [attr.target]=\"child.target\"\n [attr.aria-disabled]=\"child.disabled ? 'true' : null\"\n [class.pointer-events-none]=\"child.disabled\"\n (click)=\"_submenu.close()\"\n >\n @if (child.icon) {\n <ng-icon [name]=\"child.icon\" />\n }\n <span>{{ child.label }}</span>\n </a>\n } @else {\n <button\n yuwSidebarMenuSubButton\n type=\"button\"\n class=\"px-4 h-12!\"\n [disabled]=\"child.disabled ?? false\"\n (click)=\"onChildClick(child.id, $event)\"\n >\n @if (child.icon) {\n <ng-icon [name]=\"child.icon\" />\n }\n <span>{{ child.label }}</span>\n </button>\n }\n </li>\n }\n </ul>\n </div>\n</yuw-sheet>\n"
|
|
17339
|
+
template: "<yuw-sheet\n side=\"left\"\n layoutInset=\"left\"\n [open]=\"_submenu.open()\"\n (openChange)=\"onOpenChange($event)\"\n [showTrigger]=\"false\"\n [ariaLabel]=\"_label()\"\n [panelClass]=\"panelClass\"\n [overlayClass]=\"overlayClass\"\n [ariaModal]=\"false\"\n [closeOnOutsidePointerEvents]=\"false\"\n scrollStrategy=\"reposition\"\n>\n <div [class]=\"bodyClass\">\n <span [class]=\"labelClass\">{{ _label() }}</span>\n\n <ul yuwSidebarMenuSub>\n @for (child of _children(); track child.id) {\n <li yuwSidebarMenuSubItem>\n @if (child.route) {\n <a\n yuwSidebarMenuSubButton\n #childLink=\"routerLinkActive\"\n routerLinkActive\n class=\"px-4 h-12!\"\n [routerLink]=\"child.route\"\n [routerLinkActiveOptions]=\"_activeOptions()[child.id]\"\n [isActive]=\"childLink.isActive\"\n [attr.aria-current]=\"childLink.isActive ? 'page' : null\"\n [attr.aria-disabled]=\"child.disabled ? 'true' : null\"\n [class.pointer-events-none]=\"child.disabled\"\n (click)=\"_submenu.close()\"\n >\n @if (child.icon) {\n <ng-icon [name]=\"child.icon\" />\n }\n <span>{{ child.label }}</span>\n </a>\n } @else if (child.href) {\n <a\n yuwSidebarMenuSubButton\n class=\"px-4 h-12!\"\n [href]=\"child.href\"\n [attr.target]=\"child.target\"\n [attr.aria-disabled]=\"child.disabled ? 'true' : null\"\n [class.pointer-events-none]=\"child.disabled\"\n (click)=\"_submenu.close()\"\n >\n @if (child.icon) {\n <ng-icon [name]=\"child.icon\" />\n }\n <span>{{ child.label }}</span>\n </a>\n } @else {\n <button\n yuwSidebarMenuSubButton\n type=\"button\"\n class=\"px-4 h-12!\"\n [disabled]=\"child.disabled ?? false\"\n (click)=\"onChildClick(child.id, $event)\"\n >\n @if (child.icon) {\n <ng-icon [name]=\"child.icon\" />\n }\n <span>{{ child.label }}</span>\n </button>\n }\n </li>\n }\n </ul>\n </div>\n</yuw-sheet>\n"
|
|
17272
17340
|
}]
|
|
17273
17341
|
}],
|
|
17274
17342
|
ctorParameters: () => [],
|
|
@@ -17583,6 +17651,150 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
17583
17651
|
}]
|
|
17584
17652
|
}] }
|
|
17585
17653
|
});
|
|
17654
|
+
var YuwLayoutBodyDirective = class YuwLayoutBodyDirective {
|
|
17655
|
+
constructor() {
|
|
17656
|
+
this.destroyRef = inject(DestroyRef);
|
|
17657
|
+
this.document = inject(DOCUMENT$1);
|
|
17658
|
+
this.host = inject(ElementRef);
|
|
17659
|
+
this.overlayContainer = inject(OverlayContainer);
|
|
17660
|
+
afterNextRender(() => {
|
|
17661
|
+
const observer = new ResizeObserver(() => this.publish());
|
|
17662
|
+
observer.observe(this.host.nativeElement);
|
|
17663
|
+
this.destroyRef.onDestroy(() => {
|
|
17664
|
+
observer.disconnect();
|
|
17665
|
+
this.clear();
|
|
17666
|
+
});
|
|
17667
|
+
});
|
|
17668
|
+
}
|
|
17669
|
+
clear() {
|
|
17670
|
+
const style = this.overlayContainer.getContainerElement().style;
|
|
17671
|
+
Object.values(YUW_LAYOUT_BODY_VARS).forEach((name) => style.removeProperty(name));
|
|
17672
|
+
}
|
|
17673
|
+
publish() {
|
|
17674
|
+
const box = this.host.nativeElement.getBoundingClientRect();
|
|
17675
|
+
const viewport = this.document.documentElement;
|
|
17676
|
+
const style = this.overlayContainer.getContainerElement().style;
|
|
17677
|
+
style.setProperty(YUW_LAYOUT_BODY_VARS.top, `${box.top}px`);
|
|
17678
|
+
style.setProperty(YUW_LAYOUT_BODY_VARS.right, `${viewport.clientWidth - box.right}px`);
|
|
17679
|
+
style.setProperty(YUW_LAYOUT_BODY_VARS.bottom, `${viewport.clientHeight - box.bottom}px`);
|
|
17680
|
+
style.setProperty(YUW_LAYOUT_BODY_VARS.left, `${box.left}px`);
|
|
17681
|
+
}
|
|
17682
|
+
static {
|
|
17683
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
17684
|
+
minVersion: "12.0.0",
|
|
17685
|
+
version: "22.2.4",
|
|
17686
|
+
ngImport: i0,
|
|
17687
|
+
type: YuwLayoutBodyDirective,
|
|
17688
|
+
deps: [],
|
|
17689
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
17690
|
+
});
|
|
17691
|
+
}
|
|
17692
|
+
static {
|
|
17693
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
17694
|
+
minVersion: "14.0.0",
|
|
17695
|
+
version: "22.2.4",
|
|
17696
|
+
type: YuwLayoutBodyDirective,
|
|
17697
|
+
isStandalone: true,
|
|
17698
|
+
selector: "main[yuwLayoutBody]",
|
|
17699
|
+
ngImport: i0
|
|
17700
|
+
});
|
|
17701
|
+
}
|
|
17702
|
+
};
|
|
17703
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
17704
|
+
minVersion: "12.0.0",
|
|
17705
|
+
version: "22.2.4",
|
|
17706
|
+
ngImport: i0,
|
|
17707
|
+
type: YuwLayoutBodyDirective,
|
|
17708
|
+
decorators: [{
|
|
17709
|
+
type: Directive,
|
|
17710
|
+
args: [{ selector: "main[yuwLayoutBody]" }]
|
|
17711
|
+
}],
|
|
17712
|
+
ctorParameters: () => []
|
|
17713
|
+
});
|
|
17714
|
+
const YUW_LAYOUT_PAGE_CLASS = "yuw-layout-page";
|
|
17715
|
+
const yuwLayoutClass = "bg-sidebar h-svh overflow-hidden";
|
|
17716
|
+
const yuwLayoutBodyClass = `
|
|
17717
|
+
min-w-0
|
|
17718
|
+
overflow-y-auto
|
|
17719
|
+
no-scrollbar
|
|
17720
|
+
rounded-4xl
|
|
17721
|
+
bg-background
|
|
17722
|
+
my-1
|
|
17723
|
+
ms-1
|
|
17724
|
+
me-1
|
|
17725
|
+
md:ms-0
|
|
17726
|
+
lg:my-2
|
|
17727
|
+
lg:me-2
|
|
17728
|
+
px-3
|
|
17729
|
+
pb-3
|
|
17730
|
+
md:ps-8
|
|
17731
|
+
md:pe-7
|
|
17732
|
+
md:pb-7
|
|
17733
|
+
lg:ps-10
|
|
17734
|
+
lg:pe-8
|
|
17735
|
+
lg:pb-8
|
|
17736
|
+
xl:ps-12
|
|
17737
|
+
xl:pe-10
|
|
17738
|
+
xl:pb-10
|
|
17739
|
+
`;
|
|
17740
|
+
var YuwLayoutComponent = class YuwLayoutComponent {
|
|
17741
|
+
constructor() {
|
|
17742
|
+
this.page = inject(DOCUMENT$1).body;
|
|
17743
|
+
this.bodyClass = yuwLayoutBodyClass;
|
|
17744
|
+
classes(() => yuwLayoutClass);
|
|
17745
|
+
this.page.classList.add(YUW_LAYOUT_PAGE_CLASS);
|
|
17746
|
+
inject(DestroyRef).onDestroy(() => this.page.classList.remove(YUW_LAYOUT_PAGE_CLASS));
|
|
17747
|
+
}
|
|
17748
|
+
static {
|
|
17749
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
17750
|
+
minVersion: "12.0.0",
|
|
17751
|
+
version: "22.2.4",
|
|
17752
|
+
ngImport: i0,
|
|
17753
|
+
type: YuwLayoutComponent,
|
|
17754
|
+
deps: [],
|
|
17755
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
17756
|
+
});
|
|
17757
|
+
}
|
|
17758
|
+
static {
|
|
17759
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
17760
|
+
minVersion: "14.0.0",
|
|
17761
|
+
version: "22.2.4",
|
|
17762
|
+
type: YuwLayoutComponent,
|
|
17763
|
+
isStandalone: true,
|
|
17764
|
+
selector: "yuw-layout",
|
|
17765
|
+
hostDirectives: [{ directive: YuwSidebarWrapperDirective }],
|
|
17766
|
+
ngImport: i0,
|
|
17767
|
+
template: "<ng-content select=\"[yuwLayoutSidebar]\" />\n\n<main yuwSidebarInset yuwLayoutBody [class]=\"bodyClass\">\n <ng-content />\n</main>\n",
|
|
17768
|
+
dependencies: [{
|
|
17769
|
+
kind: "directive",
|
|
17770
|
+
type: YuwSidebarInsetDirective,
|
|
17771
|
+
selector: "main[yuwSidebarInset]"
|
|
17772
|
+
}, {
|
|
17773
|
+
kind: "directive",
|
|
17774
|
+
type: YuwLayoutBodyDirective,
|
|
17775
|
+
selector: "main[yuwLayoutBody]"
|
|
17776
|
+
}],
|
|
17777
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
17778
|
+
});
|
|
17779
|
+
}
|
|
17780
|
+
};
|
|
17781
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
17782
|
+
minVersion: "12.0.0",
|
|
17783
|
+
version: "22.2.4",
|
|
17784
|
+
ngImport: i0,
|
|
17785
|
+
type: YuwLayoutComponent,
|
|
17786
|
+
decorators: [{
|
|
17787
|
+
type: Component,
|
|
17788
|
+
args: [{
|
|
17789
|
+
selector: "yuw-layout",
|
|
17790
|
+
imports: [YuwSidebarInsetDirective, YuwLayoutBodyDirective],
|
|
17791
|
+
hostDirectives: [YuwSidebarWrapperDirective],
|
|
17792
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
17793
|
+
template: "<ng-content select=\"[yuwLayoutSidebar]\" />\n\n<main yuwSidebarInset yuwLayoutBody [class]=\"bodyClass\">\n <ng-content />\n</main>\n"
|
|
17794
|
+
}]
|
|
17795
|
+
}],
|
|
17796
|
+
ctorParameters: () => []
|
|
17797
|
+
});
|
|
17586
17798
|
const yuwCommandDefaultFilter = (value, search) => value.toLowerCase().includes(search.toLowerCase());
|
|
17587
17799
|
var YuwCommandComponent = class YuwCommandComponent {
|
|
17588
17800
|
constructor() {
|
|
@@ -20484,6 +20696,7 @@ var YuwsFormSheetComponent = class YuwsFormSheetComponent {
|
|
|
20484
20696
|
"closeOnOutsidePointerEvents",
|
|
20485
20697
|
"description",
|
|
20486
20698
|
"disableClose",
|
|
20699
|
+
"layoutInset",
|
|
20487
20700
|
"note",
|
|
20488
20701
|
"open",
|
|
20489
20702
|
"overlayClass",
|
|
@@ -25106,6 +25319,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
25106
25319
|
}]
|
|
25107
25320
|
}
|
|
25108
25321
|
});
|
|
25109
|
-
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,
|
|
25322
|
+
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 };
|
|
25110
25323
|
|
|
25111
25324
|
//# sourceMappingURL=yukit-web.mjs.map
|