yukit-web 0.11.2 → 0.11.3
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 +18 -2
- package/fesm2022/yukit-web.mjs.map +1 -1
- package/package.json +1 -1
- package/types/yukit-web.d.ts +8 -0
package/fesm2022/yukit-web.mjs
CHANGED
|
@@ -21526,6 +21526,7 @@ var YuwsPageHeaderComponent = class YuwsPageHeaderComponent {
|
|
|
21526
21526
|
constructor() {
|
|
21527
21527
|
this.backLabel = input(...ngDevMode ? [void 0, { debugName: "backLabel" }] : /* istanbul ignore next */ []);
|
|
21528
21528
|
this.description = input(...ngDevMode ? [void 0, { debugName: "description" }] : /* istanbul ignore next */ []);
|
|
21529
|
+
this.imageFallback = input(...ngDevMode ? [void 0, { debugName: "imageFallback" }] : /* istanbul ignore next */ []);
|
|
21529
21530
|
this.imageUrl = input(...ngDevMode ? [void 0, { debugName: "imageUrl" }] : /* istanbul ignore next */ []);
|
|
21530
21531
|
this.primaryDisabled = input(false, {
|
|
21531
21532
|
...ngDevMode ? { debugName: "primaryDisabled" } : /* istanbul ignore next */ {},
|
|
@@ -21578,6 +21579,13 @@ var YuwsPageHeaderComponent = class YuwsPageHeaderComponent {
|
|
|
21578
21579
|
isRequired: false,
|
|
21579
21580
|
transformFunction: null
|
|
21580
21581
|
},
|
|
21582
|
+
imageFallback: {
|
|
21583
|
+
classPropertyName: "imageFallback",
|
|
21584
|
+
publicName: "imageFallback",
|
|
21585
|
+
isSignal: true,
|
|
21586
|
+
isRequired: false,
|
|
21587
|
+
transformFunction: null
|
|
21588
|
+
},
|
|
21581
21589
|
imageUrl: {
|
|
21582
21590
|
classPropertyName: "imageUrl",
|
|
21583
21591
|
publicName: "imageUrl",
|
|
@@ -21652,7 +21660,7 @@ var YuwsPageHeaderComponent = class YuwsPageHeaderComponent {
|
|
|
21652
21660
|
lucideArrowLeft
|
|
21653
21661
|
})],
|
|
21654
21662
|
ngImport: i0,
|
|
21655
|
-
template: "<div class=\"flex flex-wrap items-start justify-center gap-4\">\n <div class=\"flex min-w-0 flex-1 flex-col gap-1\">\n <div class=\"flex items-center gap-4\">\n @if (backLabel(); as label) {\n <yuw-button variant=\"outline\" [size]=\"isMobile() ? 'sm' : 'default'\" (clicked)=\"backClicked.emit($event)\">\n <ng-icon name=\"lucideArrowLeft\" size=\"16\" />\n <span class=\"max-sm:hidden\">{{ label }}</span>\n </yuw-button>\n }\n @if (imageUrl()
|
|
21663
|
+
template: "<div class=\"flex flex-wrap items-start justify-center gap-4\">\n <div class=\"flex min-w-0 flex-1 flex-col gap-1\">\n <div class=\"flex items-center gap-4\">\n @if (backLabel(); as label) {\n <yuw-button variant=\"outline\" [size]=\"isMobile() ? 'sm' : 'default'\" (clicked)=\"backClicked.emit($event)\">\n <ng-icon name=\"lucideArrowLeft\" size=\"16\" />\n <span class=\"max-sm:hidden\">{{ label }}</span>\n </yuw-button>\n }\n @if (imageUrl() || imageFallback()) {\n <yuw-avatar size=\"lg\" [src]=\"imageUrl()\" [alt]=\"title()\" [fallback]=\"imageFallback()\" />\n }\n <div class=\"flex flex-col overflow-hidden\">\n <h1 class=\"truncate text-2xl font-semibold text-foreground\">{{ title() }}</h1>\n @if (description()) {\n <p class=\"truncate text-sm text-muted-foreground\">{{ description() }}</p>\n }\n </div>\n </div>\n </div>\n\n @if (primaryLabel() || secondaryLabel()) {\n <div class=\"flex shrink-0 items-center gap-2\">\n @if (secondaryLabel(); as label) {\n <yuw-button\n variant=\"outline\"\n class=\"gap-2\"\n [size]=\"isMobile() ? 'sm' : 'default'\"\n [disabled]=\"secondaryDisabled()\"\n (clicked)=\"secondaryClicked.emit($event)\"\n >\n @if (secondaryIcon(); as icon) {\n <ng-icon [name]=\"icon\" size=\"16\" />\n }\n <span class=\"max-md:hidden\">{{ label }}</span>\n </yuw-button>\n }\n\n @if (primaryLabel(); as label) {\n <yuw-button\n color=\"primary\"\n class=\"gap-2\"\n [disabled]=\"primaryDisabled()\"\n [size]=\"isMobile() ? 'sm' : 'default'\"\n (clicked)=\"primaryClicked.emit($event)\"\n >\n @if (primaryIcon(); as icon) {\n <ng-icon [name]=\"icon\" size=\"16\" />\n }\n <span class=\"max-sm:hidden\">{{ label }}</span>\n @if (primaryMobileLabel(); as mobileLabel) {\n <span class=\"sm:hidden\">{{ mobileLabel }}</span>\n }\n </yuw-button>\n }\n </div>\n }\n</div>\n",
|
|
21656
21664
|
dependencies: [
|
|
21657
21665
|
{
|
|
21658
21666
|
kind: "component",
|
|
@@ -21726,7 +21734,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
21726
21734
|
lucidePlus,
|
|
21727
21735
|
lucideArrowLeft
|
|
21728
21736
|
})],
|
|
21729
|
-
template: "<div class=\"flex flex-wrap items-start justify-center gap-4\">\n <div class=\"flex min-w-0 flex-1 flex-col gap-1\">\n <div class=\"flex items-center gap-4\">\n @if (backLabel(); as label) {\n <yuw-button variant=\"outline\" [size]=\"isMobile() ? 'sm' : 'default'\" (clicked)=\"backClicked.emit($event)\">\n <ng-icon name=\"lucideArrowLeft\" size=\"16\" />\n <span class=\"max-sm:hidden\">{{ label }}</span>\n </yuw-button>\n }\n @if (imageUrl()
|
|
21737
|
+
template: "<div class=\"flex flex-wrap items-start justify-center gap-4\">\n <div class=\"flex min-w-0 flex-1 flex-col gap-1\">\n <div class=\"flex items-center gap-4\">\n @if (backLabel(); as label) {\n <yuw-button variant=\"outline\" [size]=\"isMobile() ? 'sm' : 'default'\" (clicked)=\"backClicked.emit($event)\">\n <ng-icon name=\"lucideArrowLeft\" size=\"16\" />\n <span class=\"max-sm:hidden\">{{ label }}</span>\n </yuw-button>\n }\n @if (imageUrl() || imageFallback()) {\n <yuw-avatar size=\"lg\" [src]=\"imageUrl()\" [alt]=\"title()\" [fallback]=\"imageFallback()\" />\n }\n <div class=\"flex flex-col overflow-hidden\">\n <h1 class=\"truncate text-2xl font-semibold text-foreground\">{{ title() }}</h1>\n @if (description()) {\n <p class=\"truncate text-sm text-muted-foreground\">{{ description() }}</p>\n }\n </div>\n </div>\n </div>\n\n @if (primaryLabel() || secondaryLabel()) {\n <div class=\"flex shrink-0 items-center gap-2\">\n @if (secondaryLabel(); as label) {\n <yuw-button\n variant=\"outline\"\n class=\"gap-2\"\n [size]=\"isMobile() ? 'sm' : 'default'\"\n [disabled]=\"secondaryDisabled()\"\n (clicked)=\"secondaryClicked.emit($event)\"\n >\n @if (secondaryIcon(); as icon) {\n <ng-icon [name]=\"icon\" size=\"16\" />\n }\n <span class=\"max-md:hidden\">{{ label }}</span>\n </yuw-button>\n }\n\n @if (primaryLabel(); as label) {\n <yuw-button\n color=\"primary\"\n class=\"gap-2\"\n [disabled]=\"primaryDisabled()\"\n [size]=\"isMobile() ? 'sm' : 'default'\"\n (clicked)=\"primaryClicked.emit($event)\"\n >\n @if (primaryIcon(); as icon) {\n <ng-icon [name]=\"icon\" size=\"16\" />\n }\n <span class=\"max-sm:hidden\">{{ label }}</span>\n @if (primaryMobileLabel(); as mobileLabel) {\n <span class=\"sm:hidden\">{{ mobileLabel }}</span>\n }\n </yuw-button>\n }\n </div>\n }\n</div>\n"
|
|
21730
21738
|
}]
|
|
21731
21739
|
}],
|
|
21732
21740
|
propDecorators: {
|
|
@@ -21746,6 +21754,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
21746
21754
|
required: false
|
|
21747
21755
|
}]
|
|
21748
21756
|
}],
|
|
21757
|
+
imageFallback: [{
|
|
21758
|
+
type: i0.Input,
|
|
21759
|
+
args: [{
|
|
21760
|
+
isSignal: true,
|
|
21761
|
+
alias: "imageFallback",
|
|
21762
|
+
required: false
|
|
21763
|
+
}]
|
|
21764
|
+
}],
|
|
21749
21765
|
imageUrl: [{
|
|
21750
21766
|
type: i0.Input,
|
|
21751
21767
|
args: [{
|