@kirbydesign/designsystem 8.2.0 → 8.3.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/button/button.component.d.ts +2 -1
- package/button/public_api.d.ts +1 -1
- package/dropdown/keyboard-handler.service.d.ts +1 -1
- package/esm2020/button/button.component.mjs +3 -3
- package/esm2020/button/public_api.mjs +2 -2
- package/esm2020/card/card.component.mjs +2 -2
- package/esm2020/dropdown/dropdown.component.mjs +4 -4
- package/esm2020/dropdown/dropdown.module.mjs +1 -1
- package/esm2020/dropdown/keyboard-handler.service.mjs +12 -7
- package/esm2020/item/item.component.mjs +2 -2
- package/esm2020/lib/index.mjs +3 -1
- package/esm2020/lib/kirby.module.mjs +22 -5
- package/esm2020/list/list-item/list-item.component.mjs +2 -2
- package/esm2020/list/list.component.mjs +2 -2
- package/esm2020/menu/kirbydesign-designsystem-menu.mjs +5 -0
- package/esm2020/menu/menu.component.mjs +69 -0
- package/esm2020/menu/public_api.mjs +2 -0
- package/esm2020/modal/modal/footer/modal-footer.component.mjs +3 -3
- package/esm2020/modal/v2/footer/footer.component.mjs +2 -2
- package/esm2020/modal/v2/modal-routing/modal-routing.component.mjs +3 -3
- package/esm2020/page/page-footer/page-footer.component.mjs +2 -2
- package/esm2020/page/page.component.mjs +35 -13
- package/esm2020/page/public_api.mjs +2 -12
- package/esm2020/shared/floating/floating.directive.mjs +91 -24
- package/esm2020/shared/floating/public_api.mjs +2 -2
- package/esm2020/tab-navigation/kirbydesign-designsystem-tab-navigation.mjs +5 -0
- package/esm2020/tab-navigation/public_api.mjs +4 -0
- package/esm2020/tab-navigation/tab-navigation/tab-navigation.component.mjs +121 -0
- package/esm2020/tab-navigation/tab-navigation-item/tab-navigation-item.component.mjs +17 -0
- package/esm2020/tab-navigation/tab-navigation.module.mjs +19 -0
- package/fesm2015/kirbydesign-designsystem-button.mjs +2 -2
- package/fesm2015/kirbydesign-designsystem-button.mjs.map +1 -1
- package/fesm2015/kirbydesign-designsystem-card.mjs +2 -2
- package/fesm2015/kirbydesign-designsystem-card.mjs.map +1 -1
- package/fesm2015/kirbydesign-designsystem-dropdown.mjs +15 -10
- package/fesm2015/kirbydesign-designsystem-dropdown.mjs.map +1 -1
- package/fesm2015/kirbydesign-designsystem-item.mjs +2 -2
- package/fesm2015/kirbydesign-designsystem-item.mjs.map +1 -1
- package/fesm2015/kirbydesign-designsystem-list.mjs +4 -4
- package/fesm2015/kirbydesign-designsystem-list.mjs.map +1 -1
- package/fesm2015/kirbydesign-designsystem-menu.mjs +76 -0
- package/fesm2015/kirbydesign-designsystem-menu.mjs.map +1 -0
- package/fesm2015/kirbydesign-designsystem-modal-v2.mjs +4 -4
- package/fesm2015/kirbydesign-designsystem-modal-v2.mjs.map +1 -1
- package/fesm2015/kirbydesign-designsystem-modal.mjs +2 -2
- package/fesm2015/kirbydesign-designsystem-modal.mjs.map +1 -1
- package/fesm2015/kirbydesign-designsystem-page.mjs +36 -14
- package/fesm2015/kirbydesign-designsystem-page.mjs.map +1 -1
- package/fesm2015/kirbydesign-designsystem-shared-floating.mjs +92 -24
- package/fesm2015/kirbydesign-designsystem-shared-floating.mjs.map +1 -1
- package/fesm2015/kirbydesign-designsystem-tab-navigation.mjs +156 -0
- package/fesm2015/kirbydesign-designsystem-tab-navigation.mjs.map +1 -0
- package/fesm2015/kirbydesign-designsystem.mjs +23 -4
- package/fesm2015/kirbydesign-designsystem.mjs.map +1 -1
- package/fesm2020/kirbydesign-designsystem-button.mjs +2 -2
- package/fesm2020/kirbydesign-designsystem-button.mjs.map +1 -1
- package/fesm2020/kirbydesign-designsystem-card.mjs +2 -2
- package/fesm2020/kirbydesign-designsystem-card.mjs.map +1 -1
- package/fesm2020/kirbydesign-designsystem-dropdown.mjs +15 -10
- package/fesm2020/kirbydesign-designsystem-dropdown.mjs.map +1 -1
- package/fesm2020/kirbydesign-designsystem-item.mjs +2 -2
- package/fesm2020/kirbydesign-designsystem-item.mjs.map +1 -1
- package/fesm2020/kirbydesign-designsystem-list.mjs +4 -4
- package/fesm2020/kirbydesign-designsystem-list.mjs.map +1 -1
- package/fesm2020/kirbydesign-designsystem-menu.mjs +76 -0
- package/fesm2020/kirbydesign-designsystem-menu.mjs.map +1 -0
- package/fesm2020/kirbydesign-designsystem-modal-v2.mjs +4 -4
- package/fesm2020/kirbydesign-designsystem-modal-v2.mjs.map +1 -1
- package/fesm2020/kirbydesign-designsystem-modal.mjs +2 -2
- package/fesm2020/kirbydesign-designsystem-modal.mjs.map +1 -1
- package/fesm2020/kirbydesign-designsystem-page.mjs +36 -14
- package/fesm2020/kirbydesign-designsystem-page.mjs.map +1 -1
- package/fesm2020/kirbydesign-designsystem-shared-floating.mjs +91 -24
- package/fesm2020/kirbydesign-designsystem-shared-floating.mjs.map +1 -1
- package/fesm2020/kirbydesign-designsystem-tab-navigation.mjs +155 -0
- package/fesm2020/kirbydesign-designsystem-tab-navigation.mjs.map +1 -0
- package/fesm2020/kirbydesign-designsystem.mjs +23 -4
- package/fesm2020/kirbydesign-designsystem.mjs.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/kirby.module.d.ts +42 -39
- package/menu/index.d.ts +5 -0
- package/menu/menu.component.d.ts +31 -0
- package/menu/public_api.d.ts +1 -0
- package/package.json +18 -2
- package/page/page.component.d.ts +11 -3
- package/page/public_api.d.ts +1 -12
- package/shared/floating/floating.directive.d.ts +30 -4
- package/shared/floating/public_api.d.ts +1 -1
- package/tab-navigation/index.d.ts +5 -0
- package/tab-navigation/public_api.d.ts +3 -0
- package/tab-navigation/tab-navigation/tab-navigation.component.d.ts +30 -0
- package/tab-navigation/tab-navigation-item/tab-navigation-item.component.d.ts +7 -0
- package/tab-navigation/tab-navigation.module.d.ts +9 -0
|
@@ -57,6 +57,8 @@ import { ListModule } from '@kirbydesign/designsystem/list';
|
|
|
57
57
|
export * from '@kirbydesign/designsystem/list';
|
|
58
58
|
import { LoadingOverlayComponent, LoadingOverlayService } from '@kirbydesign/designsystem/loading-overlay';
|
|
59
59
|
export * from '@kirbydesign/designsystem/loading-overlay';
|
|
60
|
+
import { KirbyModalModule } from '@kirbydesign/designsystem/modal/v2';
|
|
61
|
+
export * from '@kirbydesign/designsystem/modal/v2';
|
|
60
62
|
import { PageModule } from '@kirbydesign/designsystem/page';
|
|
61
63
|
export * from '@kirbydesign/designsystem/page';
|
|
62
64
|
import { PopoverComponent } from '@kirbydesign/designsystem/popover';
|
|
@@ -83,6 +85,8 @@ import { SpinnerModule } from '@kirbydesign/designsystem/spinner';
|
|
|
83
85
|
export * from '@kirbydesign/designsystem/spinner';
|
|
84
86
|
import { TabsModule } from '@kirbydesign/designsystem/tabs';
|
|
85
87
|
export * from '@kirbydesign/designsystem/tabs';
|
|
88
|
+
import { TabNavigationModule } from '@kirbydesign/designsystem/tab-navigation';
|
|
89
|
+
export * from '@kirbydesign/designsystem/tab-navigation';
|
|
86
90
|
import { ToastHelper, ToastController } from '@kirbydesign/designsystem/toast';
|
|
87
91
|
export * from '@kirbydesign/designsystem/toast';
|
|
88
92
|
import { ToggleComponent } from '@kirbydesign/designsystem/toggle';
|
|
@@ -97,6 +101,7 @@ export * from '@kirbydesign/designsystem/action-group';
|
|
|
97
101
|
import { HeaderModule } from '@kirbydesign/designsystem/header';
|
|
98
102
|
export * from '@kirbydesign/designsystem/header';
|
|
99
103
|
import { RouterModule } from '@angular/router';
|
|
104
|
+
import { MenuComponent } from '@kirbydesign/designsystem/menu';
|
|
100
105
|
import { defineCustomElements } from '@kirbydesign/core/loader';
|
|
101
106
|
|
|
102
107
|
const proxyInputs = (Cmp, inputs) => {
|
|
@@ -464,6 +469,7 @@ const standaloneComponents = [
|
|
|
464
469
|
SlideButtonComponent,
|
|
465
470
|
SegmentedControlComponent,
|
|
466
471
|
CheckboxComponent,
|
|
472
|
+
MenuComponent,
|
|
467
473
|
ActionSheetComponent,
|
|
468
474
|
ModalFooterComponent,
|
|
469
475
|
AvatarComponent,
|
|
@@ -477,6 +483,7 @@ const exportedModules = [
|
|
|
477
483
|
RouterOutletModule,
|
|
478
484
|
PageModule,
|
|
479
485
|
HeaderModule,
|
|
486
|
+
TabNavigationModule,
|
|
480
487
|
TabsModule,
|
|
481
488
|
IconModule,
|
|
482
489
|
ItemModule,
|
|
@@ -494,6 +501,7 @@ const exportedModules = [
|
|
|
494
501
|
SlideModule,
|
|
495
502
|
AccordionModule,
|
|
496
503
|
HeaderModule,
|
|
504
|
+
KirbyModalModule,
|
|
497
505
|
...standaloneComponents,
|
|
498
506
|
];
|
|
499
507
|
const allExports = [...exportedModules, ...exportedDeclarations];
|
|
@@ -533,6 +541,7 @@ class KirbyModule {
|
|
|
533
541
|
RouterOutletModule,
|
|
534
542
|
PageModule,
|
|
535
543
|
HeaderModule,
|
|
544
|
+
TabNavigationModule,
|
|
536
545
|
TabsModule,
|
|
537
546
|
IconModule,
|
|
538
547
|
ItemModule,
|
|
@@ -549,7 +558,8 @@ class KirbyModule {
|
|
|
549
558
|
FormFieldModule,
|
|
550
559
|
SlideModule,
|
|
551
560
|
AccordionModule,
|
|
552
|
-
HeaderModule,
|
|
561
|
+
HeaderModule,
|
|
562
|
+
KirbyModalModule, ActionGroupComponent,
|
|
553
563
|
GridComponent,
|
|
554
564
|
ItemGroupComponent,
|
|
555
565
|
ModalCompactWrapperComponent,
|
|
@@ -575,6 +585,7 @@ class KirbyModule {
|
|
|
575
585
|
SlideButtonComponent,
|
|
576
586
|
SegmentedControlComponent,
|
|
577
587
|
CheckboxComponent,
|
|
588
|
+
MenuComponent,
|
|
578
589
|
ActionSheetComponent,
|
|
579
590
|
ModalFooterComponent,
|
|
580
591
|
AvatarComponent,
|
|
@@ -585,6 +596,7 @@ class KirbyModule {
|
|
|
585
596
|
RouterOutletModule,
|
|
586
597
|
PageModule,
|
|
587
598
|
HeaderModule,
|
|
599
|
+
TabNavigationModule,
|
|
588
600
|
TabsModule,
|
|
589
601
|
IconModule,
|
|
590
602
|
ItemModule,
|
|
@@ -601,7 +613,8 @@ class KirbyModule {
|
|
|
601
613
|
FormFieldModule,
|
|
602
614
|
SlideModule,
|
|
603
615
|
AccordionModule,
|
|
604
|
-
HeaderModule,
|
|
616
|
+
HeaderModule,
|
|
617
|
+
KirbyModalModule, ActionGroupComponent,
|
|
605
618
|
GridComponent,
|
|
606
619
|
ItemGroupComponent,
|
|
607
620
|
ModalCompactWrapperComponent,
|
|
@@ -627,6 +640,7 @@ class KirbyModule {
|
|
|
627
640
|
SlideButtonComponent,
|
|
628
641
|
SegmentedControlComponent,
|
|
629
642
|
CheckboxComponent,
|
|
643
|
+
MenuComponent,
|
|
630
644
|
ActionSheetComponent,
|
|
631
645
|
ModalFooterComponent,
|
|
632
646
|
AvatarComponent,
|
|
@@ -638,6 +652,7 @@ class KirbyModule {
|
|
|
638
652
|
RouterOutletModule,
|
|
639
653
|
PageModule,
|
|
640
654
|
HeaderModule,
|
|
655
|
+
TabNavigationModule,
|
|
641
656
|
TabsModule,
|
|
642
657
|
IconModule,
|
|
643
658
|
ItemModule,
|
|
@@ -654,7 +669,8 @@ class KirbyModule {
|
|
|
654
669
|
FormFieldModule,
|
|
655
670
|
SlideModule,
|
|
656
671
|
AccordionModule,
|
|
657
|
-
HeaderModule,
|
|
672
|
+
HeaderModule,
|
|
673
|
+
KirbyModalModule, ActionGroupComponent,
|
|
658
674
|
GridComponent,
|
|
659
675
|
ItemGroupComponent,
|
|
660
676
|
ModalCompactWrapperComponent,
|
|
@@ -677,6 +693,7 @@ class KirbyModule {
|
|
|
677
693
|
SlideButtonComponent,
|
|
678
694
|
SegmentedControlComponent,
|
|
679
695
|
CheckboxComponent,
|
|
696
|
+
MenuComponent,
|
|
680
697
|
ActionSheetComponent,
|
|
681
698
|
ModalFooterComponent,
|
|
682
699
|
AvatarComponent,
|
|
@@ -686,6 +703,7 @@ class KirbyModule {
|
|
|
686
703
|
RouterOutletModule,
|
|
687
704
|
PageModule,
|
|
688
705
|
HeaderModule,
|
|
706
|
+
TabNavigationModule,
|
|
689
707
|
TabsModule,
|
|
690
708
|
IconModule,
|
|
691
709
|
ItemModule,
|
|
@@ -702,7 +720,8 @@ class KirbyModule {
|
|
|
702
720
|
FormFieldModule,
|
|
703
721
|
SlideModule,
|
|
704
722
|
AccordionModule,
|
|
705
|
-
HeaderModule
|
|
723
|
+
HeaderModule,
|
|
724
|
+
KirbyModalModule] });
|
|
706
725
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KirbyModule, decorators: [{
|
|
707
726
|
type: NgModule,
|
|
708
727
|
args: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kirbydesign-designsystem.mjs","sources":["../../../../libs/designsystem/src/lib/components/angular-component-lib/utils.ts","../../../../libs/designsystem/src/lib/components/web-component-proxies.component.ts","../../../../libs/designsystem/src/lib/components/kirby-badge.module.ts","../../../../libs/designsystem/src/lib/components/segmented-control/segmented-control.component.ts","../../../../libs/designsystem/src/lib/components/segmented-control/segmented-control.component.html","../../../../libs/designsystem/src/lib/components/page-local-navigation/page-local-navigation.component.ts","../../../../libs/designsystem/src/lib/components/page-local-navigation/page-local-navigation.component.html","../../../../libs/designsystem/src/lib/directives/key-handler/key-handler.directive.ts","../../../../libs/designsystem/src/lib/directives/modal-router-link/modal-router-link.directive.ts","../../../../libs/designsystem/src/lib/custom-elements-initializer.ts","../../../../libs/designsystem/src/lib/kirby.module.ts","../../../../libs/designsystem/src/lib/kirby-experimental.module.ts","../../../../libs/designsystem/src/kirbydesign-designsystem.ts"],"sourcesContent":["import { fromEvent } from 'rxjs';\n\nexport const proxyInputs = (Cmp: any, inputs: string[]) => {\n const Prototype = Cmp.prototype;\n inputs.forEach((item) => {\n Object.defineProperty(Prototype, item, {\n get() {\n return this.el[item];\n },\n set(val: any) {\n this.z.runOutsideAngular(() => (this.el[item] = val));\n },\n });\n });\n};\n\nexport const proxyMethods = (Cmp: any, methods: string[]) => {\n const Prototype = Cmp.prototype;\n methods.forEach((methodName) => {\n Prototype[methodName] = function () {\n const args = arguments;\n return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));\n };\n });\n};\n\nexport const proxyOutputs = (instance: any, el: any, events: string[]) => {\n events.forEach((eventName) => (instance[eventName] = fromEvent(el, eventName)));\n};\n\n// tslint:disable-next-line: only-arrow-functions\nexport function ProxyCmp(opts: { inputs?: any; methods?: any }) {\n const decorator = function (cls: any) {\n if (opts.inputs) {\n proxyInputs(cls, opts.inputs);\n }\n if (opts.methods) {\n proxyMethods(cls, opts.methods);\n }\n return cls;\n };\n return decorator;\n}\n","/* tslint:disable */\n/* auto-generated angular directive proxies */\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, NgZone } from '@angular/core';\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nimport { Components } from '@kirbydesign/core';\n\n\nexport declare interface KirbyBadge extends Components.KirbyBadge {}\n@ProxyCmp({\n inputs: ['size', 'text', 'themeColor']\n})\n@Component({\n selector: 'kirby-badge',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n inputs: ['size', 'text', 'themeColor']\n})\nexport class KirbyBadge {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { KirbyBadge } from './web-component-proxies.component';\n\n@NgModule({\n declarations: [KirbyBadge],\n exports: [KirbyBadge],\n})\nexport class KirbyBadgeModule {}\n","import { Component, EventEmitter, HostBinding, Input, Output } from '@angular/core';\nimport { IonicModule } from '@ionic/angular';\nimport { CommonModule } from '@angular/common';\nimport { IconModule, IconRegistryService } from '@kirbydesign/designsystem/icon';\nimport { KirbyBadgeModule } from '../kirby-badge.module';\n\nimport { SegmentItem, SegmentItemInternal } from './segment-item';\n\nexport enum SegmentedControlMode {\n chip = 'chip',\n compactChip = 'compactChip',\n default = 'default',\n}\n\n@Component({\n standalone: true,\n imports: [IonicModule, IconModule, KirbyBadgeModule, CommonModule],\n selector: 'kirby-segmented-control',\n templateUrl: './segmented-control.component.html',\n styleUrls: ['./segmented-control.component.scss'],\n // eslint-disable-next-line @angular-eslint/no-host-metadata-property\n host: { role: 'group' },\n})\nexport class SegmentedControlComponent {\n constructor(private iconRegistryService: IconRegistryService) {}\n\n /**\n * Ensure that the click actually did originate from within the segment-button.\n * We do not want to react to clicks on e.g. segment-btn-wrapper or badge.\n */\n preventOutsideClick(event: TouchEvent) {\n if (event.target instanceof HTMLElement) {\n const targetIsInSegmentBtn = !!event.target.closest('ion-segment-button');\n if (!targetIsInSegmentBtn) {\n event.stopImmediatePropagation();\n }\n }\n }\n\n @Input() mode: SegmentedControlMode | `${SegmentedControlMode}` = SegmentedControlMode.default;\n\n @HostBinding('class')\n get _modeCssClass() {\n return {\n [SegmentedControlMode.chip]: 'chip-mode',\n [SegmentedControlMode.default]: 'default-mode',\n [SegmentedControlMode.compactChip]: 'compact chip-mode',\n }[this.mode];\n }\n\n private _items: SegmentItemInternal[] = [];\n get items(): SegmentItemInternal[] {\n return this._items;\n }\n\n @Input() set items(value: SegmentItem[]) {\n this._items = value || [];\n this._items.forEach((item) => {\n if (!item.badge) return;\n // We need to verify whether badges icon is custom or default, so we can check for it in the template\n item.badge.isCustomIcon =\n item.badge.icon !== undefined &&\n this.iconRegistryService.getIcon(item.badge.icon) !== undefined;\n });\n this._value = this.items[this.selectedIndex];\n }\n\n private _selectedIndex: number = -1;\n get selectedIndex(): number {\n return this._selectedIndex;\n }\n\n @Input() set selectedIndex(index: number) {\n if (index !== this._selectedIndex) {\n this._selectedIndex = index;\n this._value = this.items[this.selectedIndex];\n this.selectedIndexChange.emit(this.selectedIndex);\n }\n }\n\n @Output() selectedIndexChange = new EventEmitter<number>();\n\n private _value: SegmentItem;\n get value(): SegmentItem {\n return this._value;\n }\n\n @Input() set value(value: SegmentItem) {\n this.selectedIndex = this.items.indexOf(value);\n }\n\n @HostBinding('class.sm')\n isSmallSize: boolean;\n\n @Input() set size(size: 'sm' | 'md') {\n this.isSmallSize = size === 'sm';\n }\n\n private _disableChangeOnSwipe: boolean = false;\n get disableChangeOnSwipe(): boolean {\n return this._disableChangeOnSwipe;\n }\n\n @Input() set disableChangeOnSwipe(value: boolean) {\n this._disableChangeOnSwipe = value;\n }\n\n @Output() segmentSelect: EventEmitter<SegmentItem> = new EventEmitter();\n\n onSegmentSelect(selectedId: string) {\n const selectedItemIndex = this.items.findIndex((item) => selectedId === item.id);\n\n if (selectedItemIndex !== this.selectedIndex) {\n this.selectedIndex = selectedItemIndex;\n setTimeout(() => {\n this.segmentSelect.emit(this.value);\n });\n }\n }\n}\n","<ion-segment\n [value]=\"value?.id\"\n [scrollable]=\"disableChangeOnSwipe || mode !== 'default'\"\n (ionChange)=\"onSegmentSelect($event.detail.value)\"\n (click)=\"preventOutsideClick($event)\"\n>\n <ng-container *ngFor=\"let item of items\">\n <ion-segment-button [value]=\"item.id\">{{ item.text }}</ion-segment-button>\n <div class=\"badge-container\" *ngIf=\"item.badge\">\n <kirby-badge\n role=\"text\"\n [attr.aria-label]=\"item.badge.description\"\n [themeColor]=\"item.badge.themeColor\"\n >\n <ng-container *ngIf=\"item.badge.icon; else badgeContent\">\n <kirby-icon\n *ngIf=\"item.badge.isCustomIcon; else defaultIconName\"\n [customName]=\"item.badge.icon\"\n ></kirby-icon>\n <ng-template #defaultIconName>\n <kirby-icon [name]=\"item.badge.icon\"></kirby-icon>\n </ng-template>\n </ng-container>\n <ng-template #badgeContent>\n {{ item.badge.content }}\n </ng-template>\n </kirby-badge>\n </div>\n </ng-container>\n</ion-segment>\n","import { CommonModule } from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n Input,\n Output,\n ViewChild,\n} from '@angular/core';\nimport { WindowRef } from '@kirbydesign/designsystem/types';\nimport { IconModule } from '@kirbydesign/designsystem/icon';\nimport { KirbyBadgeModule } from '../kirby-badge.module';\nimport { LocalNavigationItem } from './page-local-navigation-item';\n\n@Component({\n standalone: true,\n imports: [KirbyBadgeModule, IconModule, CommonModule],\n selector: 'kirby-page-local-navigation',\n templateUrl: './page-local-navigation.component.html',\n styleUrls: ['./page-local-navigation.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PageLocalNavigationComponent implements AfterViewInit {\n private readonly DEBOUNCE_TIME_MS = 250;\n\n @Input() items: LocalNavigationItem[] = [];\n @Input() selectedIndex = 0;\n\n @Output() selectedIndexChange = new EventEmitter<number>();\n\n @ViewChild('tabBar') tabBarElementRef?: ElementRef<HTMLElement>;\n private get tabBarNativeElement(): HTMLElement | undefined {\n return this.tabBarElementRef?.nativeElement;\n }\n\n constructor(private window: WindowRef) {\n console.warn(\n 'kirby-local-navigation component is an experimental feature and should not be used in a production environment.'\n );\n }\n\n ngAfterViewInit(): void {\n setTimeout(() => {\n this.scrollToSelectedTab(this.selectedIndex);\n }, this.DEBOUNCE_TIME_MS);\n }\n\n onTabChange(index: number): void {\n if (this.selectedIndex !== index) {\n this.selectedIndex = index;\n this.scrollToSelectedTab(index);\n this.selectedIndexChange.emit(index);\n }\n }\n\n private getSelectedItemElement(index: number): HTMLElement | undefined {\n const tabBarElement = this.tabBarNativeElement;\n\n if (tabBarElement) {\n return tabBarElement.children.item(index) as HTMLElement;\n }\n }\n\n focusNext(index: number): void {\n const tabBarElement = this.tabBarNativeElement;\n if (tabBarElement) {\n const next = tabBarElement.children.item(index) as HTMLElement;\n next?.focus({ preventScroll: false });\n }\n }\n\n private scrollToSelectedTab(index: number): void {\n const tabBarElement = this.tabBarNativeElement;\n const selectedTabElement = this.getSelectedItemElement(index);\n\n if (tabBarElement && selectedTabElement) {\n const selectedTabElementWidth = selectedTabElement.getBoundingClientRect().width;\n const selectedTabElementOffsetLeft = selectedTabElement.offsetLeft;\n const tabBarElementWidth = tabBarElement.getBoundingClientRect().width;\n\n this.window.nativeWindow.requestAnimationFrame(() => {\n tabBarElement?.scrollTo({\n behavior: 'smooth',\n left: Math.max(\n 0,\n selectedTabElementOffsetLeft - (tabBarElementWidth - selectedTabElementWidth) / 2\n ),\n });\n });\n }\n }\n}\n","<div class=\"container\">\n <div class=\"tab-bar\" #tabBar>\n <div\n class=\"tab-item\"\n *ngFor=\"let item of items; let i = index\"\n (click)=\"onTabChange(i)\"\n [ngClass]=\"i === selectedIndex ? 'selected' : ''\"\n [tabIndex]=\"0\"\n (keydown.enter)=\"onTabChange(i)\"\n (keydown.arrowLeft)=\"focusNext(i - 1)\"\n (keydown.arrowRight)=\"focusNext(i + 1)\"\n >\n <div class=\"tab-item-inner\" [class.extended]=\"!!item.badge\">\n <span [attr.text]=\"item.text\">{{ item.text }}</span>\n <ng-container *ngIf=\"item.badge; let badge\">\n <kirby-badge\n role=\"text\"\n [attr.aria-label]=\"badge.description\"\n [themeColor]=\"badge.themeColor\"\n >\n <ng-container *ngIf=\"badge.content.name; else badgeTextContent\">\n <kirby-icon\n *ngIf=\"badge.content.isCustom; else defaultIconName\"\n [customName]=\"badge.content.name\"\n ></kirby-icon>\n <ng-template #defaultIconName>\n <kirby-icon [name]=\"badge.content.name\"></kirby-icon>\n </ng-template>\n </ng-container>\n <ng-template #badgeTextContent>\n {{ badge.content.text }}\n </ng-template>\n </kirby-badge>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n","import { Directive, ElementRef, HostListener } from '@angular/core';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: `[keyHandler]`,\n})\nexport class KeyHandlerDirective {\n constructor(private element: ElementRef) {}\n\n @HostListener('keyup', ['$event'])\n keyEvent(event: KeyboardEvent) {\n if (event.key === ' ' || event.key === 'Enter' || event.key === 'Spacebar') {\n // Prevent the default action to stop scrolling when space is pressed\n event.preventDefault();\n\n const hostElement = <HTMLElement>this.element.nativeElement;\n hostElement.click();\n }\n }\n}\n","import { Directive, HostListener, Input } from '@angular/core';\nimport { Params } from '@angular/router';\nimport { ModalNavigationService } from '@kirbydesign/designsystem/modal';\n\n@Directive({\n selector: `[kirbyModalRouterLink]`,\n})\nexport class ModalRouterLinkDirective {\n constructor(private modalNavigationService: ModalNavigationService) {}\n\n @Input('kirbyModalRouterLink') path: string | string[];\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('kirbyModalQueryParams') queryParams?: Params;\n\n @HostListener('click')\n onClick(): boolean {\n this.modalNavigationService.navigateToModal(\n this.path,\n typeof this.queryParams !== 'string' ? this.queryParams : null\n );\n return false;\n }\n}\n","import { DOCUMENT } from '@angular/common';\nimport { APP_INITIALIZER } from '@angular/core';\n\nimport { defineCustomElements } from '@kirbydesign/core/loader';\n\nexport const appInitialize = (doc: Document) => {\n return () => {\n defineCustomElements(doc.defaultView);\n };\n};\n\nexport function customElementsInitializer() {\n return {\n provide: APP_INITIALIZER,\n useFactory: appInitialize,\n deps: [DOCUMENT],\n multi: true,\n };\n}\n","import { CommonModule } from '@angular/common';\nimport { Inject, InjectionToken, ModuleWithProviders, NgModule, Optional } from '@angular/core';\nimport { RouterModule } from '@angular/router';\n\nimport { CardModule } from '@kirbydesign/designsystem/card';\nimport { IconModule } from '@kirbydesign/designsystem/icon';\nimport { KirbyIonicModule } from '@kirbydesign/designsystem/kirby-ionic-module';\nimport {\n ComponentLoaderDirective,\n ResizeObserverFactory,\n ResizeObserverService,\n ThemeColorDirective,\n} from '@kirbydesign/designsystem/shared';\nimport { FlagComponent } from '@kirbydesign/designsystem/flag';\nimport { SpinnerModule } from '@kirbydesign/designsystem/spinner';\nimport { ToggleComponent } from '@kirbydesign/designsystem/toggle';\nimport { SectionHeaderComponent } from '@kirbydesign/designsystem/section-header';\nimport { ItemModule } from '@kirbydesign/designsystem/item';\nimport { SlideModule } from '@kirbydesign/designsystem/slide';\nimport { ToggleButtonModule } from '@kirbydesign/designsystem/toggle-button';\nimport { TabsModule } from '@kirbydesign/designsystem/tabs';\nimport { SlideButtonComponent } from '@kirbydesign/designsystem/slide-button';\nimport { RangeComponent } from '@kirbydesign/designsystem/range';\nimport { PopoverComponent } from '@kirbydesign/designsystem/popover';\nimport {\n LoadingOverlayComponent,\n LoadingOverlayService,\n} from '@kirbydesign/designsystem/loading-overlay';\nimport { DividerComponent } from '@kirbydesign/designsystem/divider';\nimport { CheckboxComponent } from '@kirbydesign/designsystem/checkbox';\nimport { AccordionModule } from '@kirbydesign/designsystem/accordion';\nimport { ItemSlidingComponent } from '@kirbydesign/designsystem/item-sliding';\nimport { ListModule } from '@kirbydesign/designsystem/list';\nimport { RadioModule } from '@kirbydesign/designsystem/radio';\nimport {\n AffixDirective,\n DateInputDirective,\n FormFieldModule,\n InputComponent,\n TextareaComponent,\n} from '@kirbydesign/designsystem/form-field';\nimport { AvatarComponent } from '@kirbydesign/designsystem/avatar';\nimport {\n ProgressCircleComponent,\n ProgressCircleRingComponent,\n} from '@kirbydesign/designsystem/progress-circle';\nimport { RouterOutletModule } from '@kirbydesign/designsystem/router-outlet';\nimport { ItemGroupComponent } from '@kirbydesign/designsystem/item-group';\nimport { ButtonComponent } from '@kirbydesign/designsystem/button';\nimport { CalendarComponent } from '@kirbydesign/designsystem/calendar';\nimport {\n ActionSheetComponent,\n ActionSheetHelper,\n AlertComponent,\n AlertHelper,\n ModalCompactWrapperComponent,\n ModalController,\n ModalFooterComponent,\n ModalHelper,\n ModalWrapperComponent,\n} from '@kirbydesign/designsystem/modal';\nimport { PageModule } from '@kirbydesign/designsystem/page';\nimport { HeaderModule } from '@kirbydesign/designsystem/header';\nimport { EmptyStateModule } from '@kirbydesign/designsystem/empty-state';\nimport { DropdownModule } from '@kirbydesign/designsystem/dropdown';\nimport { KirbyAppModule } from '@kirbydesign/designsystem/kirby-app';\nimport { ChartsModule } from '@kirbydesign/designsystem/chart';\nimport { FabSheetComponent } from '@kirbydesign/designsystem/fab-sheet';\nimport { DataTableModule } from '@kirbydesign/designsystem/data-table';\nimport { ReorderListComponent } from '@kirbydesign/designsystem/reorder-list';\n\nimport { ToastController, ToastHelper } from '@kirbydesign/designsystem/toast';\nimport { BreakpointHelperService, GridComponent } from '@kirbydesign/designsystem/grid';\nimport { ActionGroupComponent } from '@kirbydesign/designsystem/action-group';\nimport { SegmentedControlComponent } from './components/segmented-control/segmented-control.component';\nimport { customElementsInitializer } from './custom-elements-initializer';\nimport { KeyHandlerDirective } from './directives/key-handler/key-handler.directive';\nimport { ModalRouterLinkDirective } from './directives/modal-router-link/modal-router-link.directive';\nimport { KirbyBadgeModule } from './components/kirby-badge.module';\n\nconst exportedDeclarations = [ModalRouterLinkDirective];\n\nconst declarations = [...exportedDeclarations, KeyHandlerDirective];\n\nconst standaloneComponents = [\n ActionGroupComponent,\n GridComponent,\n ItemGroupComponent,\n ModalCompactWrapperComponent,\n TextareaComponent,\n InputComponent,\n AffixDirective,\n DateInputDirective,\n DividerComponent,\n ThemeColorDirective,\n SegmentedControlComponent,\n AlertComponent,\n PopoverComponent,\n ProgressCircleRingComponent,\n ModalWrapperComponent,\n SectionHeaderComponent,\n RangeComponent,\n ItemSlidingComponent,\n\n ProgressCircleComponent,\n ReorderListComponent,\n LoadingOverlayComponent,\n FabSheetComponent,\n ToggleComponent,\n SlideButtonComponent,\n SegmentedControlComponent,\n CheckboxComponent,\n ActionSheetComponent,\n ModalFooterComponent,\n AvatarComponent,\n CalendarComponent,\n ButtonComponent,\n ComponentLoaderDirective,\n FlagComponent,\n];\nconst exportedModules = [\n KirbyAppModule,\n RouterOutletModule,\n PageModule,\n HeaderModule,\n TabsModule,\n IconModule,\n ItemModule,\n ToggleButtonModule,\n ListModule,\n ChartsModule,\n SpinnerModule,\n DataTableModule,\n CardModule,\n RadioModule,\n EmptyStateModule,\n DropdownModule,\n KirbyBadgeModule,\n FormFieldModule,\n SlideModule,\n AccordionModule,\n HeaderModule,\n ...standaloneComponents,\n];\n\nconst allExports = [...exportedModules, ...exportedDeclarations];\n\nconst importedModules = [...exportedModules];\n\nconst providers = [\n ModalController,\n ActionSheetHelper,\n ModalHelper,\n AlertHelper,\n ToastHelper,\n ToastController,\n BreakpointHelperService,\n LoadingOverlayService,\n ResizeObserverFactory,\n ResizeObserverService,\n customElementsInitializer(),\n];\n\nconst ConfigToken = new InjectionToken<any>('USERCONFIG');\nexport interface KirbyConfig {\n moduleRootRoutePath?: string;\n}\n\n@NgModule({\n imports: [CommonModule, RouterModule, KirbyIonicModule, ...importedModules],\n declarations: [declarations],\n providers: providers,\n exports: [allExports],\n})\nexport class KirbyModule {\n static forChild(config?: KirbyConfig): ModuleWithProviders<KirbyModule> {\n return {\n ngModule: KirbyModule,\n providers: [\n {\n provide: ConfigToken,\n useValue: config,\n },\n ],\n };\n }\n\n constructor(\n modalController: ModalController,\n @Optional() @Inject(ConfigToken) config?: KirbyConfig\n ) {\n modalController.initialize(config && config.moduleRootRoutePath);\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { PageLocalNavigationComponent } from './components';\nimport { KirbyModule } from './kirby.module';\n\nconst COMPONENT_DECLARATIONS = [PageLocalNavigationComponent];\nexport { StockChartConfig, BarChartConfig } from '@kirbydesign/designsystem/chart';\n\n/**\n * This module contains experimental components, that should not be used in a production environment.\n * @see KirbyModule\n */\n@NgModule({\n imports: [CommonModule, KirbyModule, PageLocalNavigationComponent],\n exports: COMPONENT_DECLARATIONS,\n})\nexport class KirbyExperimentalModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i3.KirbyBadge","i1","i2.KirbyBadge"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEO,MAAM,WAAW,GAAG,CAAC,GAAQ,EAAE,MAAgB,KAAI;AACxD,IAAA,MAAM,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;AAChC,IAAA,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,KAAI;AACtB,QAAA,MAAM,CAAC,cAAc,CAAC,SAAS,EAAE,IAAI,E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sBAAsB,GAAG,CAAC,4BAA4B,CAAC,CAAC;AAG9D;;;AAGG;MAKU,uBAAuB,CAAA;;uIAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAvB,mBAAA,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,YAHxB,YAAY,EAAE,WAAW,EAAE,4BAA4B,aARnC,4BAA4B,CAAA,EAAA,CAAA,CAAA;AAW/C,mBAAA,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,EAHxB,OAAA,EAAA,CAAA,YAAY,EAAE,WAAW,EAAE,4BAA4B,CAAA,EAAA,CAAA,CAAA;2FAGtD,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAJnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,4BAA4B,CAAC;AAClE,oBAAA,OAAO,EAAE,sBAAsB;AAChC,iBAAA,CAAA;;;ACfD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"kirbydesign-designsystem.mjs","sources":["../../../../libs/designsystem/src/lib/components/angular-component-lib/utils.ts","../../../../libs/designsystem/src/lib/components/web-component-proxies.component.ts","../../../../libs/designsystem/src/lib/components/kirby-badge.module.ts","../../../../libs/designsystem/src/lib/components/segmented-control/segmented-control.component.ts","../../../../libs/designsystem/src/lib/components/segmented-control/segmented-control.component.html","../../../../libs/designsystem/src/lib/components/page-local-navigation/page-local-navigation.component.ts","../../../../libs/designsystem/src/lib/components/page-local-navigation/page-local-navigation.component.html","../../../../libs/designsystem/src/lib/directives/key-handler/key-handler.directive.ts","../../../../libs/designsystem/src/lib/directives/modal-router-link/modal-router-link.directive.ts","../../../../libs/designsystem/src/lib/custom-elements-initializer.ts","../../../../libs/designsystem/src/lib/kirby.module.ts","../../../../libs/designsystem/src/lib/kirby-experimental.module.ts","../../../../libs/designsystem/src/kirbydesign-designsystem.ts"],"sourcesContent":["import { fromEvent } from 'rxjs';\n\nexport const proxyInputs = (Cmp: any, inputs: string[]) => {\n const Prototype = Cmp.prototype;\n inputs.forEach((item) => {\n Object.defineProperty(Prototype, item, {\n get() {\n return this.el[item];\n },\n set(val: any) {\n this.z.runOutsideAngular(() => (this.el[item] = val));\n },\n });\n });\n};\n\nexport const proxyMethods = (Cmp: any, methods: string[]) => {\n const Prototype = Cmp.prototype;\n methods.forEach((methodName) => {\n Prototype[methodName] = function () {\n const args = arguments;\n return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));\n };\n });\n};\n\nexport const proxyOutputs = (instance: any, el: any, events: string[]) => {\n events.forEach((eventName) => (instance[eventName] = fromEvent(el, eventName)));\n};\n\n// tslint:disable-next-line: only-arrow-functions\nexport function ProxyCmp(opts: { inputs?: any; methods?: any }) {\n const decorator = function (cls: any) {\n if (opts.inputs) {\n proxyInputs(cls, opts.inputs);\n }\n if (opts.methods) {\n proxyMethods(cls, opts.methods);\n }\n return cls;\n };\n return decorator;\n}\n","/* tslint:disable */\n/* auto-generated angular directive proxies */\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, NgZone } from '@angular/core';\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nimport { Components } from '@kirbydesign/core';\n\n\nexport declare interface KirbyBadge extends Components.KirbyBadge {}\n@ProxyCmp({\n inputs: ['size', 'text', 'themeColor']\n})\n@Component({\n selector: 'kirby-badge',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n inputs: ['size', 'text', 'themeColor']\n})\nexport class KirbyBadge {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { KirbyBadge } from './web-component-proxies.component';\n\n@NgModule({\n declarations: [KirbyBadge],\n exports: [KirbyBadge],\n})\nexport class KirbyBadgeModule {}\n","import { Component, EventEmitter, HostBinding, Input, Output } from '@angular/core';\nimport { IonicModule } from '@ionic/angular';\nimport { CommonModule } from '@angular/common';\nimport { IconModule, IconRegistryService } from '@kirbydesign/designsystem/icon';\nimport { KirbyBadgeModule } from '../kirby-badge.module';\n\nimport { SegmentItem, SegmentItemInternal } from './segment-item';\n\nexport enum SegmentedControlMode {\n chip = 'chip',\n compactChip = 'compactChip',\n default = 'default',\n}\n\n@Component({\n standalone: true,\n imports: [IonicModule, IconModule, KirbyBadgeModule, CommonModule],\n selector: 'kirby-segmented-control',\n templateUrl: './segmented-control.component.html',\n styleUrls: ['./segmented-control.component.scss'],\n // eslint-disable-next-line @angular-eslint/no-host-metadata-property\n host: { role: 'group' },\n})\nexport class SegmentedControlComponent {\n constructor(private iconRegistryService: IconRegistryService) {}\n\n /**\n * Ensure that the click actually did originate from within the segment-button.\n * We do not want to react to clicks on e.g. segment-btn-wrapper or badge.\n */\n preventOutsideClick(event: TouchEvent) {\n if (event.target instanceof HTMLElement) {\n const targetIsInSegmentBtn = !!event.target.closest('ion-segment-button');\n if (!targetIsInSegmentBtn) {\n event.stopImmediatePropagation();\n }\n }\n }\n\n @Input() mode: SegmentedControlMode | `${SegmentedControlMode}` = SegmentedControlMode.default;\n\n @HostBinding('class')\n get _modeCssClass() {\n return {\n [SegmentedControlMode.chip]: 'chip-mode',\n [SegmentedControlMode.default]: 'default-mode',\n [SegmentedControlMode.compactChip]: 'compact chip-mode',\n }[this.mode];\n }\n\n private _items: SegmentItemInternal[] = [];\n get items(): SegmentItemInternal[] {\n return this._items;\n }\n\n @Input() set items(value: SegmentItem[]) {\n this._items = value || [];\n this._items.forEach((item) => {\n if (!item.badge) return;\n // We need to verify whether badges icon is custom or default, so we can check for it in the template\n item.badge.isCustomIcon =\n item.badge.icon !== undefined &&\n this.iconRegistryService.getIcon(item.badge.icon) !== undefined;\n });\n this._value = this.items[this.selectedIndex];\n }\n\n private _selectedIndex: number = -1;\n get selectedIndex(): number {\n return this._selectedIndex;\n }\n\n @Input() set selectedIndex(index: number) {\n if (index !== this._selectedIndex) {\n this._selectedIndex = index;\n this._value = this.items[this.selectedIndex];\n this.selectedIndexChange.emit(this.selectedIndex);\n }\n }\n\n @Output() selectedIndexChange = new EventEmitter<number>();\n\n private _value: SegmentItem;\n get value(): SegmentItem {\n return this._value;\n }\n\n @Input() set value(value: SegmentItem) {\n this.selectedIndex = this.items.indexOf(value);\n }\n\n @HostBinding('class.sm')\n isSmallSize: boolean;\n\n @Input() set size(size: 'sm' | 'md') {\n this.isSmallSize = size === 'sm';\n }\n\n private _disableChangeOnSwipe: boolean = false;\n get disableChangeOnSwipe(): boolean {\n return this._disableChangeOnSwipe;\n }\n\n @Input() set disableChangeOnSwipe(value: boolean) {\n this._disableChangeOnSwipe = value;\n }\n\n @Output() segmentSelect: EventEmitter<SegmentItem> = new EventEmitter();\n\n onSegmentSelect(selectedId: string) {\n const selectedItemIndex = this.items.findIndex((item) => selectedId === item.id);\n\n if (selectedItemIndex !== this.selectedIndex) {\n this.selectedIndex = selectedItemIndex;\n setTimeout(() => {\n this.segmentSelect.emit(this.value);\n });\n }\n }\n}\n","<ion-segment\n [value]=\"value?.id\"\n [scrollable]=\"disableChangeOnSwipe || mode !== 'default'\"\n (ionChange)=\"onSegmentSelect($event.detail.value)\"\n (click)=\"preventOutsideClick($event)\"\n>\n <ng-container *ngFor=\"let item of items\">\n <ion-segment-button [value]=\"item.id\">{{ item.text }}</ion-segment-button>\n <div class=\"badge-container\" *ngIf=\"item.badge\">\n <kirby-badge\n role=\"text\"\n [attr.aria-label]=\"item.badge.description\"\n [themeColor]=\"item.badge.themeColor\"\n >\n <ng-container *ngIf=\"item.badge.icon; else badgeContent\">\n <kirby-icon\n *ngIf=\"item.badge.isCustomIcon; else defaultIconName\"\n [customName]=\"item.badge.icon\"\n ></kirby-icon>\n <ng-template #defaultIconName>\n <kirby-icon [name]=\"item.badge.icon\"></kirby-icon>\n </ng-template>\n </ng-container>\n <ng-template #badgeContent>\n {{ item.badge.content }}\n </ng-template>\n </kirby-badge>\n </div>\n </ng-container>\n</ion-segment>\n","import { CommonModule } from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n Input,\n Output,\n ViewChild,\n} from '@angular/core';\nimport { WindowRef } from '@kirbydesign/designsystem/types';\nimport { IconModule } from '@kirbydesign/designsystem/icon';\nimport { KirbyBadgeModule } from '../kirby-badge.module';\nimport { LocalNavigationItem } from './page-local-navigation-item';\n\n@Component({\n standalone: true,\n imports: [KirbyBadgeModule, IconModule, CommonModule],\n selector: 'kirby-page-local-navigation',\n templateUrl: './page-local-navigation.component.html',\n styleUrls: ['./page-local-navigation.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PageLocalNavigationComponent implements AfterViewInit {\n private readonly DEBOUNCE_TIME_MS = 250;\n\n @Input() items: LocalNavigationItem[] = [];\n @Input() selectedIndex = 0;\n\n @Output() selectedIndexChange = new EventEmitter<number>();\n\n @ViewChild('tabBar') tabBarElementRef?: ElementRef<HTMLElement>;\n private get tabBarNativeElement(): HTMLElement | undefined {\n return this.tabBarElementRef?.nativeElement;\n }\n\n constructor(private window: WindowRef) {\n console.warn(\n 'kirby-local-navigation component is an experimental feature and should not be used in a production environment.'\n );\n }\n\n ngAfterViewInit(): void {\n setTimeout(() => {\n this.scrollToSelectedTab(this.selectedIndex);\n }, this.DEBOUNCE_TIME_MS);\n }\n\n onTabChange(index: number): void {\n if (this.selectedIndex !== index) {\n this.selectedIndex = index;\n this.scrollToSelectedTab(index);\n this.selectedIndexChange.emit(index);\n }\n }\n\n private getSelectedItemElement(index: number): HTMLElement | undefined {\n const tabBarElement = this.tabBarNativeElement;\n\n if (tabBarElement) {\n return tabBarElement.children.item(index) as HTMLElement;\n }\n }\n\n focusNext(index: number): void {\n const tabBarElement = this.tabBarNativeElement;\n if (tabBarElement) {\n const next = tabBarElement.children.item(index) as HTMLElement;\n next?.focus({ preventScroll: false });\n }\n }\n\n private scrollToSelectedTab(index: number): void {\n const tabBarElement = this.tabBarNativeElement;\n const selectedTabElement = this.getSelectedItemElement(index);\n\n if (tabBarElement && selectedTabElement) {\n const selectedTabElementWidth = selectedTabElement.getBoundingClientRect().width;\n const selectedTabElementOffsetLeft = selectedTabElement.offsetLeft;\n const tabBarElementWidth = tabBarElement.getBoundingClientRect().width;\n\n this.window.nativeWindow.requestAnimationFrame(() => {\n tabBarElement?.scrollTo({\n behavior: 'smooth',\n left: Math.max(\n 0,\n selectedTabElementOffsetLeft - (tabBarElementWidth - selectedTabElementWidth) / 2\n ),\n });\n });\n }\n }\n}\n","<div class=\"container\">\n <div class=\"tab-bar\" #tabBar>\n <div\n class=\"tab-item\"\n *ngFor=\"let item of items; let i = index\"\n (click)=\"onTabChange(i)\"\n [ngClass]=\"i === selectedIndex ? 'selected' : ''\"\n [tabIndex]=\"0\"\n (keydown.enter)=\"onTabChange(i)\"\n (keydown.arrowLeft)=\"focusNext(i - 1)\"\n (keydown.arrowRight)=\"focusNext(i + 1)\"\n >\n <div class=\"tab-item-inner\" [class.extended]=\"!!item.badge\">\n <span [attr.text]=\"item.text\">{{ item.text }}</span>\n <ng-container *ngIf=\"item.badge; let badge\">\n <kirby-badge\n role=\"text\"\n [attr.aria-label]=\"badge.description\"\n [themeColor]=\"badge.themeColor\"\n >\n <ng-container *ngIf=\"badge.content.name; else badgeTextContent\">\n <kirby-icon\n *ngIf=\"badge.content.isCustom; else defaultIconName\"\n [customName]=\"badge.content.name\"\n ></kirby-icon>\n <ng-template #defaultIconName>\n <kirby-icon [name]=\"badge.content.name\"></kirby-icon>\n </ng-template>\n </ng-container>\n <ng-template #badgeTextContent>\n {{ badge.content.text }}\n </ng-template>\n </kirby-badge>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n","import { Directive, ElementRef, HostListener } from '@angular/core';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: `[keyHandler]`,\n})\nexport class KeyHandlerDirective {\n constructor(private element: ElementRef) {}\n\n @HostListener('keyup', ['$event'])\n keyEvent(event: KeyboardEvent) {\n if (event.key === ' ' || event.key === 'Enter' || event.key === 'Spacebar') {\n // Prevent the default action to stop scrolling when space is pressed\n event.preventDefault();\n\n const hostElement = <HTMLElement>this.element.nativeElement;\n hostElement.click();\n }\n }\n}\n","import { Directive, HostListener, Input } from '@angular/core';\nimport { Params } from '@angular/router';\nimport { ModalNavigationService } from '@kirbydesign/designsystem/modal';\n\n@Directive({\n selector: `[kirbyModalRouterLink]`,\n})\nexport class ModalRouterLinkDirective {\n constructor(private modalNavigationService: ModalNavigationService) {}\n\n @Input('kirbyModalRouterLink') path: string | string[];\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('kirbyModalQueryParams') queryParams?: Params;\n\n @HostListener('click')\n onClick(): boolean {\n this.modalNavigationService.navigateToModal(\n this.path,\n typeof this.queryParams !== 'string' ? this.queryParams : null\n );\n return false;\n }\n}\n","import { DOCUMENT } from '@angular/common';\nimport { APP_INITIALIZER } from '@angular/core';\n\nimport { defineCustomElements } from '@kirbydesign/core/loader';\n\nexport const appInitialize = (doc: Document) => {\n return () => {\n defineCustomElements(doc.defaultView);\n };\n};\n\nexport function customElementsInitializer() {\n return {\n provide: APP_INITIALIZER,\n useFactory: appInitialize,\n deps: [DOCUMENT],\n multi: true,\n };\n}\n","import { CommonModule } from '@angular/common';\nimport { Inject, InjectionToken, ModuleWithProviders, NgModule, Optional } from '@angular/core';\nimport { RouterModule } from '@angular/router';\n\nimport { CardModule } from '@kirbydesign/designsystem/card';\nimport { IconModule } from '@kirbydesign/designsystem/icon';\nimport { KirbyIonicModule } from '@kirbydesign/designsystem/kirby-ionic-module';\nimport {\n ComponentLoaderDirective,\n ResizeObserverFactory,\n ResizeObserverService,\n ThemeColorDirective,\n} from '@kirbydesign/designsystem/shared';\nimport { FlagComponent } from '@kirbydesign/designsystem/flag';\nimport { SpinnerModule } from '@kirbydesign/designsystem/spinner';\nimport { ToggleComponent } from '@kirbydesign/designsystem/toggle';\nimport { SectionHeaderComponent } from '@kirbydesign/designsystem/section-header';\nimport { ItemModule } from '@kirbydesign/designsystem/item';\nimport { SlideModule } from '@kirbydesign/designsystem/slide';\nimport { ToggleButtonModule } from '@kirbydesign/designsystem/toggle-button';\nimport { TabsModule } from '@kirbydesign/designsystem/tabs';\nimport { SlideButtonComponent } from '@kirbydesign/designsystem/slide-button';\nimport { RangeComponent } from '@kirbydesign/designsystem/range';\nimport { PopoverComponent } from '@kirbydesign/designsystem/popover';\nimport {\n LoadingOverlayComponent,\n LoadingOverlayService,\n} from '@kirbydesign/designsystem/loading-overlay';\nimport { DividerComponent } from '@kirbydesign/designsystem/divider';\nimport { CheckboxComponent } from '@kirbydesign/designsystem/checkbox';\nimport { AccordionModule } from '@kirbydesign/designsystem/accordion';\nimport { ItemSlidingComponent } from '@kirbydesign/designsystem/item-sliding';\nimport { ListModule } from '@kirbydesign/designsystem/list';\nimport { RadioModule } from '@kirbydesign/designsystem/radio';\nimport {\n AffixDirective,\n DateInputDirective,\n FormFieldModule,\n InputComponent,\n TextareaComponent,\n} from '@kirbydesign/designsystem/form-field';\nimport { AvatarComponent } from '@kirbydesign/designsystem/avatar';\nimport {\n ProgressCircleComponent,\n ProgressCircleRingComponent,\n} from '@kirbydesign/designsystem/progress-circle';\nimport { RouterOutletModule } from '@kirbydesign/designsystem/router-outlet';\n\nimport { ItemGroupComponent } from '@kirbydesign/designsystem/item-group';\nimport { ButtonComponent } from '@kirbydesign/designsystem/button';\nimport { CalendarComponent } from '@kirbydesign/designsystem/calendar';\nimport {\n ActionSheetComponent,\n ActionSheetHelper,\n AlertComponent,\n AlertHelper,\n ModalCompactWrapperComponent,\n ModalController,\n ModalFooterComponent,\n ModalHelper,\n ModalWrapperComponent,\n} from '@kirbydesign/designsystem/modal';\nimport { KirbyModalModule } from '@kirbydesign/designsystem/modal/v2';\nimport { PageModule } from '@kirbydesign/designsystem/page';\nimport { HeaderModule } from '@kirbydesign/designsystem/header';\nimport { EmptyStateModule } from '@kirbydesign/designsystem/empty-state';\nimport { DropdownModule } from '@kirbydesign/designsystem/dropdown';\nimport { KirbyAppModule } from '@kirbydesign/designsystem/kirby-app';\nimport { ChartsModule } from '@kirbydesign/designsystem/chart';\nimport { FabSheetComponent } from '@kirbydesign/designsystem/fab-sheet';\nimport { DataTableModule } from '@kirbydesign/designsystem/data-table';\nimport { ReorderListComponent } from '@kirbydesign/designsystem/reorder-list';\n\nimport { ToastController, ToastHelper } from '@kirbydesign/designsystem/toast';\nimport { BreakpointHelperService, GridComponent } from '@kirbydesign/designsystem/grid';\nimport { ActionGroupComponent } from '@kirbydesign/designsystem/action-group';\nimport { MenuComponent } from '@kirbydesign/designsystem/menu';\nimport { TabNavigationModule } from '@kirbydesign/designsystem/tab-navigation';\nimport { SegmentedControlComponent } from './components/segmented-control/segmented-control.component';\nimport { customElementsInitializer } from './custom-elements-initializer';\nimport { KeyHandlerDirective } from './directives/key-handler/key-handler.directive';\nimport { ModalRouterLinkDirective } from './directives/modal-router-link/modal-router-link.directive';\nimport { KirbyBadgeModule } from './components/kirby-badge.module';\n\nconst exportedDeclarations = [ModalRouterLinkDirective];\n\nconst declarations = [...exportedDeclarations, KeyHandlerDirective];\n\nconst standaloneComponents = [\n ActionGroupComponent,\n GridComponent,\n ItemGroupComponent,\n ModalCompactWrapperComponent,\n TextareaComponent,\n InputComponent,\n AffixDirective,\n DateInputDirective,\n DividerComponent,\n ThemeColorDirective,\n SegmentedControlComponent,\n AlertComponent,\n PopoverComponent,\n ProgressCircleRingComponent,\n ModalWrapperComponent,\n SectionHeaderComponent,\n RangeComponent,\n ItemSlidingComponent,\n\n ProgressCircleComponent,\n ReorderListComponent,\n LoadingOverlayComponent,\n FabSheetComponent,\n ToggleComponent,\n SlideButtonComponent,\n SegmentedControlComponent,\n CheckboxComponent,\n MenuComponent,\n ActionSheetComponent,\n ModalFooterComponent,\n AvatarComponent,\n CalendarComponent,\n ButtonComponent,\n ComponentLoaderDirective,\n FlagComponent,\n];\nconst exportedModules = [\n KirbyAppModule,\n RouterOutletModule,\n PageModule,\n HeaderModule,\n TabNavigationModule,\n TabsModule,\n IconModule,\n ItemModule,\n ToggleButtonModule,\n ListModule,\n ChartsModule,\n SpinnerModule,\n DataTableModule,\n CardModule,\n RadioModule,\n EmptyStateModule,\n DropdownModule,\n KirbyBadgeModule,\n FormFieldModule,\n SlideModule,\n AccordionModule,\n HeaderModule,\n KirbyModalModule,\n ...standaloneComponents,\n];\n\nconst allExports = [...exportedModules, ...exportedDeclarations];\n\nconst importedModules = [...exportedModules];\n\nconst providers = [\n ModalController,\n ActionSheetHelper,\n ModalHelper,\n AlertHelper,\n ToastHelper,\n ToastController,\n BreakpointHelperService,\n LoadingOverlayService,\n ResizeObserverFactory,\n ResizeObserverService,\n customElementsInitializer(),\n];\n\nconst ConfigToken = new InjectionToken<unknown>('USERCONFIG');\nexport interface KirbyConfig {\n moduleRootRoutePath?: string;\n}\n\n@NgModule({\n imports: [CommonModule, RouterModule, KirbyIonicModule, ...importedModules],\n declarations: [declarations],\n providers: providers,\n exports: [allExports],\n})\nexport class KirbyModule {\n static forChild(config?: KirbyConfig): ModuleWithProviders<KirbyModule> {\n return {\n ngModule: KirbyModule,\n providers: [\n {\n provide: ConfigToken,\n useValue: config,\n },\n ],\n };\n }\n\n constructor(\n modalController: ModalController,\n @Optional() @Inject(ConfigToken) config?: KirbyConfig\n ) {\n modalController.initialize(config && config.moduleRootRoutePath);\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { PageLocalNavigationComponent } from './components';\nimport { KirbyModule } from './kirby.module';\n\nconst COMPONENT_DECLARATIONS = [PageLocalNavigationComponent];\nexport { StockChartConfig, BarChartConfig } from '@kirbydesign/designsystem/chart';\n\n/**\n * This module contains experimental components, that should not be used in a production environment.\n * @see KirbyModule\n */\n@NgModule({\n imports: [CommonModule, KirbyModule, PageLocalNavigationComponent],\n exports: COMPONENT_DECLARATIONS,\n})\nexport class KirbyExperimentalModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i3.KirbyBadge","i1","i2.KirbyBadge"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEO,MAAM,WAAW,GAAG,CAAC,GAAQ,EAAE,MAAgB,KAAI;AACxD,IAAA,MAAM,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;AAChC,IAAA,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,KAAI;AACtB,QAAA,MAAM,CAAC,cAAc,CAAC,SAAS,EAAE,IAAI,EAAE;YACrC,GAAG,GAAA;AACD,gBAAA,OAAO,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;aACtB;AACD,YAAA,GAAG,CAAC,GAAQ,EAAA;AACV,gBAAA,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;aACvD;AACF,SAAA,CAAC,CAAC;AACL,KAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEK,MAAM,YAAY,GAAG,CAAC,GAAQ,EAAE,OAAiB,KAAI;AAC1D,IAAA,MAAM,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;AAChC,IAAA,OAAO,CAAC,OAAO,CAAC,CAAC,UAAU,KAAI;QAC7B,SAAS,CAAC,UAAU,CAAC,GAAG,Y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,EAAA,uBAAuB,YAHxB,YAAY,EAAE,WAAW,EAAE,4BAA4B,aARnC,4BAA4B,CAAA,EAAA,CAAA,CAAA;AAW/C,mBAAA,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,EAHxB,OAAA,EAAA,CAAA,YAAY,EAAE,WAAW,EAAE,4BAA4B,CAAA,EAAA,CAAA,CAAA;2FAGtD,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAJnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,4BAA4B,CAAC;AAClE,oBAAA,OAAO,EAAE,sBAAsB;AAChC,iBAAA,CAAA;;;ACfD;;AAEG;;;;"}
|
package/lib/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export * from '@kirbydesign/designsystem/kirby-ionic-module';
|
|
|
25
25
|
export * from '@kirbydesign/designsystem/list';
|
|
26
26
|
export * from '@kirbydesign/designsystem/loading-overlay';
|
|
27
27
|
export * from '@kirbydesign/designsystem/modal';
|
|
28
|
+
export * from '@kirbydesign/designsystem/modal/v2';
|
|
28
29
|
export * from '@kirbydesign/designsystem/page';
|
|
29
30
|
export * from '@kirbydesign/designsystem/popover';
|
|
30
31
|
export * from '@kirbydesign/designsystem/progress-circle';
|
|
@@ -38,6 +39,7 @@ export * from '@kirbydesign/designsystem/slide';
|
|
|
38
39
|
export * from '@kirbydesign/designsystem/slide-button';
|
|
39
40
|
export * from '@kirbydesign/designsystem/spinner';
|
|
40
41
|
export * from '@kirbydesign/designsystem/tabs';
|
|
42
|
+
export * from '@kirbydesign/designsystem/tab-navigation';
|
|
41
43
|
export * from '@kirbydesign/designsystem/toast';
|
|
42
44
|
export * from '@kirbydesign/designsystem/toggle';
|
|
43
45
|
export * from '@kirbydesign/designsystem/toggle-button';
|
package/lib/kirby.module.d.ts
CHANGED
|
@@ -10,44 +10,47 @@ import * as i6 from "@kirbydesign/designsystem/kirby-app";
|
|
|
10
10
|
import * as i7 from "@kirbydesign/designsystem/router-outlet";
|
|
11
11
|
import * as i8 from "@kirbydesign/designsystem/page";
|
|
12
12
|
import * as i9 from "@kirbydesign/designsystem/header";
|
|
13
|
-
import * as i10 from "@kirbydesign/designsystem/
|
|
14
|
-
import * as i11 from "@kirbydesign/designsystem/
|
|
15
|
-
import * as i12 from "@kirbydesign/designsystem/
|
|
16
|
-
import * as i13 from "@kirbydesign/designsystem/
|
|
17
|
-
import * as i14 from "@kirbydesign/designsystem/
|
|
18
|
-
import * as i15 from "@kirbydesign/designsystem/
|
|
19
|
-
import * as i16 from "@kirbydesign/designsystem/
|
|
20
|
-
import * as i17 from "@kirbydesign/designsystem/
|
|
21
|
-
import * as i18 from "@kirbydesign/designsystem/
|
|
22
|
-
import * as i19 from "@kirbydesign/designsystem/
|
|
23
|
-
import * as i20 from "@kirbydesign/designsystem/
|
|
24
|
-
import * as i21 from "@kirbydesign/designsystem/
|
|
25
|
-
import * as i22 from "
|
|
26
|
-
import * as i23 from "
|
|
27
|
-
import * as i24 from "@kirbydesign/designsystem/
|
|
28
|
-
import * as i25 from "@kirbydesign/designsystem/
|
|
29
|
-
import * as i26 from "@kirbydesign/designsystem/
|
|
30
|
-
import * as i27 from "@kirbydesign/designsystem/
|
|
31
|
-
import * as i28 from "@kirbydesign/designsystem/
|
|
32
|
-
import * as i29 from "@kirbydesign/designsystem/
|
|
33
|
-
import * as i30 from "@kirbydesign/designsystem/
|
|
34
|
-
import * as i31 from "@kirbydesign/designsystem/
|
|
35
|
-
import * as i32 from "
|
|
36
|
-
import * as i33 from "@kirbydesign/designsystem/
|
|
37
|
-
import * as i34 from "
|
|
38
|
-
import * as i35 from "@kirbydesign/designsystem/
|
|
39
|
-
import * as i36 from "@kirbydesign/designsystem/
|
|
40
|
-
import * as i37 from "@kirbydesign/designsystem/
|
|
41
|
-
import * as i38 from "@kirbydesign/designsystem/
|
|
42
|
-
import * as i39 from "@kirbydesign/designsystem/
|
|
43
|
-
import * as i40 from "@kirbydesign/designsystem/
|
|
44
|
-
import * as i41 from "@kirbydesign/designsystem/
|
|
45
|
-
import * as i42 from "@kirbydesign/designsystem/
|
|
46
|
-
import * as i43 from "@kirbydesign/designsystem/
|
|
47
|
-
import * as i44 from "@kirbydesign/designsystem/
|
|
48
|
-
import * as i45 from "@kirbydesign/designsystem/
|
|
49
|
-
import * as i46 from "@kirbydesign/designsystem/
|
|
50
|
-
import * as i47 from "@kirbydesign/designsystem/
|
|
13
|
+
import * as i10 from "@kirbydesign/designsystem/tab-navigation";
|
|
14
|
+
import * as i11 from "@kirbydesign/designsystem/tabs";
|
|
15
|
+
import * as i12 from "@kirbydesign/designsystem/icon";
|
|
16
|
+
import * as i13 from "@kirbydesign/designsystem/item";
|
|
17
|
+
import * as i14 from "@kirbydesign/designsystem/toggle-button";
|
|
18
|
+
import * as i15 from "@kirbydesign/designsystem/list";
|
|
19
|
+
import * as i16 from "@kirbydesign/designsystem/chart";
|
|
20
|
+
import * as i17 from "@kirbydesign/designsystem/spinner";
|
|
21
|
+
import * as i18 from "@kirbydesign/designsystem/data-table";
|
|
22
|
+
import * as i19 from "@kirbydesign/designsystem/card";
|
|
23
|
+
import * as i20 from "@kirbydesign/designsystem/radio";
|
|
24
|
+
import * as i21 from "@kirbydesign/designsystem/empty-state";
|
|
25
|
+
import * as i22 from "@kirbydesign/designsystem/dropdown";
|
|
26
|
+
import * as i23 from "./components/kirby-badge.module";
|
|
27
|
+
import * as i24 from "@kirbydesign/designsystem/form-field";
|
|
28
|
+
import * as i25 from "@kirbydesign/designsystem/slide";
|
|
29
|
+
import * as i26 from "@kirbydesign/designsystem/accordion";
|
|
30
|
+
import * as i27 from "@kirbydesign/designsystem/modal/v2";
|
|
31
|
+
import * as i28 from "@kirbydesign/designsystem/action-group";
|
|
32
|
+
import * as i29 from "@kirbydesign/designsystem/grid";
|
|
33
|
+
import * as i30 from "@kirbydesign/designsystem/item-group";
|
|
34
|
+
import * as i31 from "@kirbydesign/designsystem/modal";
|
|
35
|
+
import * as i32 from "@kirbydesign/designsystem/divider";
|
|
36
|
+
import * as i33 from "@kirbydesign/designsystem/shared";
|
|
37
|
+
import * as i34 from "./components/segmented-control/segmented-control.component";
|
|
38
|
+
import * as i35 from "@kirbydesign/designsystem/popover";
|
|
39
|
+
import * as i36 from "@kirbydesign/designsystem/progress-circle";
|
|
40
|
+
import * as i37 from "@kirbydesign/designsystem/section-header";
|
|
41
|
+
import * as i38 from "@kirbydesign/designsystem/range";
|
|
42
|
+
import * as i39 from "@kirbydesign/designsystem/item-sliding";
|
|
43
|
+
import * as i40 from "@kirbydesign/designsystem/reorder-list";
|
|
44
|
+
import * as i41 from "@kirbydesign/designsystem/loading-overlay";
|
|
45
|
+
import * as i42 from "@kirbydesign/designsystem/fab-sheet";
|
|
46
|
+
import * as i43 from "@kirbydesign/designsystem/toggle";
|
|
47
|
+
import * as i44 from "@kirbydesign/designsystem/slide-button";
|
|
48
|
+
import * as i45 from "@kirbydesign/designsystem/checkbox";
|
|
49
|
+
import * as i46 from "@kirbydesign/designsystem/menu";
|
|
50
|
+
import * as i47 from "@kirbydesign/designsystem/avatar";
|
|
51
|
+
import * as i48 from "@kirbydesign/designsystem/calendar";
|
|
52
|
+
import * as i49 from "@kirbydesign/designsystem/button";
|
|
53
|
+
import * as i50 from "@kirbydesign/designsystem/flag";
|
|
51
54
|
export interface KirbyConfig {
|
|
52
55
|
moduleRootRoutePath?: string;
|
|
53
56
|
}
|
|
@@ -55,6 +58,6 @@ export declare class KirbyModule {
|
|
|
55
58
|
static forChild(config?: KirbyConfig): ModuleWithProviders<KirbyModule>;
|
|
56
59
|
constructor(modalController: ModalController, config?: KirbyConfig);
|
|
57
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<KirbyModule, [null, { optional: true; }]>;
|
|
58
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KirbyModule, [typeof i1.ModalRouterLinkDirective, typeof i2.KeyHandlerDirective], [typeof i3.CommonModule, typeof i4.RouterModule, typeof i5.KirbyIonicModule, typeof i6.KirbyAppModule, typeof i7.RouterOutletModule, typeof i8.PageModule, typeof i9.HeaderModule, typeof i10.
|
|
61
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KirbyModule, [typeof i1.ModalRouterLinkDirective, typeof i2.KeyHandlerDirective], [typeof i3.CommonModule, typeof i4.RouterModule, typeof i5.KirbyIonicModule, typeof i6.KirbyAppModule, typeof i7.RouterOutletModule, typeof i8.PageModule, typeof i9.HeaderModule, typeof i10.TabNavigationModule, typeof i11.TabsModule, typeof i12.IconModule, typeof i13.ItemModule, typeof i14.ToggleButtonModule, typeof i15.ListModule, typeof i16.ChartsModule, typeof i17.SpinnerModule, typeof i18.DataTableModule, typeof i19.CardModule, typeof i20.RadioModule, typeof i21.EmptyStateModule, typeof i22.DropdownModule, typeof i23.KirbyBadgeModule, typeof i24.FormFieldModule, typeof i25.SlideModule, typeof i26.AccordionModule, typeof i9.HeaderModule, typeof i27.KirbyModalModule, typeof i28.ActionGroupComponent, typeof i29.GridComponent, typeof i30.ItemGroupComponent, typeof i31.ModalCompactWrapperComponent, typeof i24.TextareaComponent, typeof i24.InputComponent, typeof i24.AffixDirective, typeof i24.DateInputDirective, typeof i32.DividerComponent, typeof i33.ThemeColorDirective, typeof i34.SegmentedControlComponent, typeof i31.AlertComponent, typeof i35.PopoverComponent, typeof i36.ProgressCircleRingComponent, typeof i31.ModalWrapperComponent, typeof i37.SectionHeaderComponent, typeof i38.RangeComponent, typeof i39.ItemSlidingComponent, typeof i36.ProgressCircleComponent, typeof i40.ReorderListComponent, typeof i41.LoadingOverlayComponent, typeof i42.FabSheetComponent, typeof i43.ToggleComponent, typeof i44.SlideButtonComponent, typeof i34.SegmentedControlComponent, typeof i45.CheckboxComponent, typeof i46.MenuComponent, typeof i31.ActionSheetComponent, typeof i31.ModalFooterComponent, typeof i47.AvatarComponent, typeof i48.CalendarComponent, typeof i49.ButtonComponent, typeof i33.ComponentLoaderDirective, typeof i50.FlagComponent], [typeof i6.KirbyAppModule, typeof i7.RouterOutletModule, typeof i8.PageModule, typeof i9.HeaderModule, typeof i10.TabNavigationModule, typeof i11.TabsModule, typeof i12.IconModule, typeof i13.ItemModule, typeof i14.ToggleButtonModule, typeof i15.ListModule, typeof i16.ChartsModule, typeof i17.SpinnerModule, typeof i18.DataTableModule, typeof i19.CardModule, typeof i20.RadioModule, typeof i21.EmptyStateModule, typeof i22.DropdownModule, typeof i23.KirbyBadgeModule, typeof i24.FormFieldModule, typeof i25.SlideModule, typeof i26.AccordionModule, typeof i9.HeaderModule, typeof i27.KirbyModalModule, typeof i28.ActionGroupComponent, typeof i29.GridComponent, typeof i30.ItemGroupComponent, typeof i31.ModalCompactWrapperComponent, typeof i24.TextareaComponent, typeof i24.InputComponent, typeof i24.AffixDirective, typeof i24.DateInputDirective, typeof i32.DividerComponent, typeof i33.ThemeColorDirective, typeof i34.SegmentedControlComponent, typeof i31.AlertComponent, typeof i35.PopoverComponent, typeof i36.ProgressCircleRingComponent, typeof i31.ModalWrapperComponent, typeof i37.SectionHeaderComponent, typeof i38.RangeComponent, typeof i39.ItemSlidingComponent, typeof i36.ProgressCircleComponent, typeof i40.ReorderListComponent, typeof i41.LoadingOverlayComponent, typeof i42.FabSheetComponent, typeof i43.ToggleComponent, typeof i44.SlideButtonComponent, typeof i34.SegmentedControlComponent, typeof i45.CheckboxComponent, typeof i46.MenuComponent, typeof i31.ActionSheetComponent, typeof i31.ModalFooterComponent, typeof i47.AvatarComponent, typeof i48.CalendarComponent, typeof i49.ButtonComponent, typeof i33.ComponentLoaderDirective, typeof i50.FlagComponent, typeof i1.ModalRouterLinkDirective]>;
|
|
59
62
|
static ɵinj: i0.ɵɵInjectorDeclaration<KirbyModule>;
|
|
60
63
|
}
|
package/menu/index.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { Placement } from '@floating-ui/dom';
|
|
3
|
+
import { AttentionLevel, ButtonSize } from '@kirbydesign/designsystem/button';
|
|
4
|
+
import { FloatingOffset, PortalOutletConfig, TriggerEvent } from '@kirbydesign/designsystem/shared/floating';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MenuComponent implements AfterViewInit {
|
|
7
|
+
private cdf;
|
|
8
|
+
isDisabled: boolean;
|
|
9
|
+
buttonSize: ButtonSize;
|
|
10
|
+
placement: Placement;
|
|
11
|
+
attentionLevel: AttentionLevel;
|
|
12
|
+
triggers: Array<TriggerEvent>;
|
|
13
|
+
DOMPortalOutlet: HTMLElement | undefined;
|
|
14
|
+
portalOutletConfig: PortalOutletConfig | undefined;
|
|
15
|
+
autoPlacement: boolean;
|
|
16
|
+
closeOnSelect: boolean;
|
|
17
|
+
closeOnEscapeKey: boolean;
|
|
18
|
+
closeOnBackdrop: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* The minimum width of the menu. If not set, the default width is 240px
|
|
21
|
+
*/
|
|
22
|
+
minWidth: number;
|
|
23
|
+
buttonContainerElement: ElementRef<HTMLElement> | undefined;
|
|
24
|
+
defaultButtonElement: ElementRef<HTMLElement> | undefined;
|
|
25
|
+
userProvidedButton: ElementRef<HTMLElement> | undefined;
|
|
26
|
+
FloatingOffset: typeof FloatingOffset;
|
|
27
|
+
constructor(cdf: ChangeDetectorRef);
|
|
28
|
+
ngAfterViewInit(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "kirby-menu", never, { "isDisabled": "isDisabled"; "buttonSize": "buttonSize"; "placement": "placement"; "attentionLevel": "attentionLevel"; "triggers": "triggers"; "DOMPortalOutlet": "DOMPortalOutlet"; "portalOutletConfig": "portalOutletConfig"; "autoPlacement": "autoPlacement"; "closeOnSelect": "closeOnSelect"; "closeOnEscapeKey": "closeOnEscapeKey"; "closeOnBackdrop": "closeOnBackdrop"; "minWidth": "minWidth"; }, {}, ["userProvidedButton"], ["button[kirby-button]", "kirby-item"], true, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MenuComponent } from './menu.component';
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kirbydesign/designsystem",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.3.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@floating-ui/dom": "^1.1.0",
|
|
6
6
|
"@fontsource/roboto": "4.2.1",
|
|
7
7
|
"@ionic/angular": "6.2.1",
|
|
8
|
-
"@kirbydesign/core": "0.0.
|
|
8
|
+
"@kirbydesign/core": "0.0.46",
|
|
9
9
|
"inputmask": "5.0.5",
|
|
10
10
|
"tslib": "^2.3.0"
|
|
11
11
|
},
|
|
@@ -261,6 +261,14 @@
|
|
|
261
261
|
"node": "./fesm2015/kirbydesign-designsystem-loading-overlay.mjs",
|
|
262
262
|
"default": "./fesm2020/kirbydesign-designsystem-loading-overlay.mjs"
|
|
263
263
|
},
|
|
264
|
+
"./menu": {
|
|
265
|
+
"types": "./menu/index.d.ts",
|
|
266
|
+
"esm2020": "./esm2020/menu/kirbydesign-designsystem-menu.mjs",
|
|
267
|
+
"es2020": "./fesm2020/kirbydesign-designsystem-menu.mjs",
|
|
268
|
+
"es2015": "./fesm2015/kirbydesign-designsystem-menu.mjs",
|
|
269
|
+
"node": "./fesm2015/kirbydesign-designsystem-menu.mjs",
|
|
270
|
+
"default": "./fesm2020/kirbydesign-designsystem-menu.mjs"
|
|
271
|
+
},
|
|
264
272
|
"./modal": {
|
|
265
273
|
"types": "./modal/index.d.ts",
|
|
266
274
|
"esm2020": "./esm2020/modal/kirbydesign-designsystem-modal.mjs",
|
|
@@ -389,6 +397,14 @@
|
|
|
389
397
|
"node": "./fesm2015/kirbydesign-designsystem-spinner.mjs",
|
|
390
398
|
"default": "./fesm2020/kirbydesign-designsystem-spinner.mjs"
|
|
391
399
|
},
|
|
400
|
+
"./tab-navigation": {
|
|
401
|
+
"types": "./tab-navigation/index.d.ts",
|
|
402
|
+
"esm2020": "./esm2020/tab-navigation/kirbydesign-designsystem-tab-navigation.mjs",
|
|
403
|
+
"es2020": "./fesm2020/kirbydesign-designsystem-tab-navigation.mjs",
|
|
404
|
+
"es2015": "./fesm2015/kirbydesign-designsystem-tab-navigation.mjs",
|
|
405
|
+
"node": "./fesm2015/kirbydesign-designsystem-tab-navigation.mjs",
|
|
406
|
+
"default": "./fesm2020/kirbydesign-designsystem-tab-navigation.mjs"
|
|
407
|
+
},
|
|
392
408
|
"./tabs": {
|
|
393
409
|
"types": "./tabs/index.d.ts",
|
|
394
410
|
"esm2020": "./esm2020/tabs/kirbydesign-designsystem-tabs.mjs",
|
package/page/page.component.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { AfterContentChecked, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone, OnChanges, OnDestroy, OnInit, QueryList, Renderer2, SimpleChanges, TemplateRef } from '@angular/core';
|
|
1
|
+
import { AfterContentChecked, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, Injector, NgZone, OnChanges, OnDestroy, OnInit, QueryList, Renderer2, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
|
+
import { IonRouterOutlet, NavController } from '@ionic/angular';
|
|
3
4
|
import { TabsComponent } from '@kirbydesign/designsystem/tabs';
|
|
4
5
|
import { ModalElementComponent, ModalElementsAdvertiser, ModalNavigationService, ModalWrapperComponent } from '@kirbydesign/designsystem/modal';
|
|
5
6
|
import { FitHeadingConfig, ResizeObserverService } from '@kirbydesign/designsystem/shared';
|
|
@@ -11,6 +12,10 @@ declare type stickyConfig = {
|
|
|
11
12
|
declare type fixedConfig = {
|
|
12
13
|
fixed: boolean;
|
|
13
14
|
};
|
|
15
|
+
export declare const PAGE_BACK_BUTTON_OVERRIDE: InjectionToken<PageBackButtonOverride>;
|
|
16
|
+
export interface PageBackButtonOverride {
|
|
17
|
+
navigateBack: (routerOutlet: IonRouterOutlet, navCtrl: NavController, defaultBackHref: string) => void;
|
|
18
|
+
}
|
|
14
19
|
/**
|
|
15
20
|
* Event emitted when "pull-to-refresh" begins.
|
|
16
21
|
*/
|
|
@@ -86,6 +91,9 @@ export declare class PageComponent implements OnInit, OnDestroy, AfterViewInit,
|
|
|
86
91
|
private modalNavigationService;
|
|
87
92
|
private resizeObserverService;
|
|
88
93
|
private tabsComponent;
|
|
94
|
+
private backButtonOverride;
|
|
95
|
+
private routerOutlet;
|
|
96
|
+
private navCtrl;
|
|
89
97
|
title: string;
|
|
90
98
|
subtitle: string;
|
|
91
99
|
toolbarTitle: string;
|
|
@@ -143,7 +151,7 @@ export declare class PageComponent implements OnInit, OnDestroy, AfterViewInit,
|
|
|
143
151
|
private navigationStart$;
|
|
144
152
|
private navigationEnd$;
|
|
145
153
|
toolbarActionGroupInjector: Injector;
|
|
146
|
-
constructor(elementRef: ElementRef, injector: Injector, renderer: Renderer2, router: Router, changeDetectorRef: ChangeDetectorRef, zone: NgZone, modalNavigationService: ModalNavigationService, resizeObserverService: ResizeObserverService, tabsComponent: TabsComponent);
|
|
154
|
+
constructor(elementRef: ElementRef, injector: Injector, renderer: Renderer2, router: Router, changeDetectorRef: ChangeDetectorRef, zone: NgZone, modalNavigationService: ModalNavigationService, resizeObserverService: ResizeObserverService, tabsComponent: TabsComponent, backButtonOverride: PageBackButtonOverride, routerOutlet: IonRouterOutlet, navCtrl: NavController);
|
|
147
155
|
private contentReadyPromise;
|
|
148
156
|
private whenContentReady;
|
|
149
157
|
ngOnInit(): void;
|
|
@@ -173,7 +181,7 @@ export declare class PageComponent implements OnInit, OnDestroy, AfterViewInit,
|
|
|
173
181
|
}): void;
|
|
174
182
|
_onKeyboardWillHide(): void;
|
|
175
183
|
_onSelectedTabClick(): void;
|
|
176
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, [null, null, null, null, null, null, null, null, { optional: true; skipSelf: true; }]>;
|
|
184
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, [null, null, null, null, null, null, null, null, { optional: true; skipSelf: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
177
185
|
static ɵcmp: i0.ɵɵComponentDeclaration<PageComponent, "kirby-page", never, { "title": "title"; "subtitle": "subtitle"; "toolbarTitle": "toolbarTitle"; "titleAlignment": "titleAlignment"; "defaultBackHref": "defaultBackHref"; "hideBackButton": "hideBackButton"; "titleMaxLines": "titleMaxLines"; "maxWidth": "maxWidth"; "tabBarBottomHidden": "tabBarBottomHidden"; }, { "enter": "enter"; "leave": "leave"; "refresh": "refresh"; "backButtonClick": "backButtonClick"; }, ["customToolbarTitleTemplate", "customTitleTemplate", "customSubtitleTemplate", "stickyContentRef", "header", "customActions", "customContent"], ["kirby-header", "kirby-page-footer", "kirby-page-actions", "kirby-page-content"], false, never>;
|
|
178
186
|
}
|
|
179
187
|
export {};
|