@kirbydesign/designsystem 11.11.3-dev-e7cb27f → 12.0.0-dev-67d5287
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/kirbydesign-designsystem-accordion.mjs +246 -135
- package/fesm2022/kirbydesign-designsystem-accordion.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-action-group.mjs +229 -134
- package/fesm2022/kirbydesign-designsystem-action-group.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-avatar.mjs +102 -55
- package/fesm2022/kirbydesign-designsystem-avatar.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-badge.mjs +85 -42
- package/fesm2022/kirbydesign-designsystem-badge.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-button.mjs +203 -170
- package/fesm2022/kirbydesign-designsystem-button.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-calendar.mjs +524 -516
- package/fesm2022/kirbydesign-designsystem-calendar.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-card.mjs +439 -205
- package/fesm2022/kirbydesign-designsystem-card.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-chart.mjs +1388 -1469
- package/fesm2022/kirbydesign-designsystem-chart.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-checkbox.mjs +215 -176
- package/fesm2022/kirbydesign-designsystem-checkbox.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-config.mjs +50 -96
- package/fesm2022/kirbydesign-designsystem-config.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-data-table.mjs +180 -83
- package/fesm2022/kirbydesign-designsystem-data-table.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-divider.mjs +46 -19
- package/fesm2022/kirbydesign-designsystem-divider.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-dropdown.mjs +878 -752
- package/fesm2022/kirbydesign-designsystem-dropdown.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-empty-state.mjs +164 -91
- package/fesm2022/kirbydesign-designsystem-empty-state.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-fab-sheet.mjs +213 -85
- package/fesm2022/kirbydesign-designsystem-fab-sheet.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-flag.mjs +67 -33
- package/fesm2022/kirbydesign-designsystem-flag.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-form-field.mjs +1260 -901
- package/fesm2022/kirbydesign-designsystem-form-field.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-gesture.mjs +38 -23
- package/fesm2022/kirbydesign-designsystem-gesture.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-header.mjs +422 -182
- package/fesm2022/kirbydesign-designsystem-header.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-helpers-scss.mjs +16 -14
- package/fesm2022/kirbydesign-designsystem-helpers-scss.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-helpers.mjs +251 -361
- package/fesm2022/kirbydesign-designsystem-helpers.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-icon.mjs +881 -303
- package/fesm2022/kirbydesign-designsystem-icon.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-item-group.mjs +52 -23
- package/fesm2022/kirbydesign-designsystem-item-group.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-item-sliding.mjs +147 -43
- package/fesm2022/kirbydesign-designsystem-item-sliding.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-item.mjs +395 -151
- package/fesm2022/kirbydesign-designsystem-item.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-kirby-app.mjs +136 -54
- package/fesm2022/kirbydesign-designsystem-kirby-app.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-list.mjs +1185 -697
- package/fesm2022/kirbydesign-designsystem-list.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-loading-overlay.mjs +166 -76
- package/fesm2022/kirbydesign-designsystem-loading-overlay.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-menu.mjs +420 -311
- package/fesm2022/kirbydesign-designsystem-menu.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-modal.mjs +2467 -1912
- package/fesm2022/kirbydesign-designsystem-modal.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-page.mjs +1505 -923
- package/fesm2022/kirbydesign-designsystem-page.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-popover.mjs +203 -183
- package/fesm2022/kirbydesign-designsystem-popover.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-progress-circle.mjs +209 -121
- package/fesm2022/kirbydesign-designsystem-progress-circle.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-radio.mjs +537 -365
- package/fesm2022/kirbydesign-designsystem-radio.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-range.mjs +207 -150
- package/fesm2022/kirbydesign-designsystem-range.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-reorder-list.mjs +217 -104
- package/fesm2022/kirbydesign-designsystem-reorder-list.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-router-outlet.mjs +113 -38
- package/fesm2022/kirbydesign-designsystem-router-outlet.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-section-header.mjs +56 -18
- package/fesm2022/kirbydesign-designsystem-section-header.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-segmented-control.mjs +276 -232
- package/fesm2022/kirbydesign-designsystem-segmented-control.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-shared-floating.mjs +319 -382
- package/fesm2022/kirbydesign-designsystem-shared-floating.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-shared-portal.mjs +73 -84
- package/fesm2022/kirbydesign-designsystem-shared-portal.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-shared.mjs +665 -529
- package/fesm2022/kirbydesign-designsystem-shared.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-slide-button.mjs +140 -91
- package/fesm2022/kirbydesign-designsystem-slide-button.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-slide.mjs +360 -158
- package/fesm2022/kirbydesign-designsystem-slide.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-spinner.mjs +90 -32
- package/fesm2022/kirbydesign-designsystem-spinner.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-tab-navigation.mjs +348 -181
- package/fesm2022/kirbydesign-designsystem-tab-navigation.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-tabs.mjs +286 -121
- package/fesm2022/kirbydesign-designsystem-tabs.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-testing-base.mjs +6232 -3164
- package/fesm2022/kirbydesign-designsystem-testing-base.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-testing-jasmine.mjs +118 -95
- package/fesm2022/kirbydesign-designsystem-testing-jasmine.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-testing-jest.mjs +128 -101
- package/fesm2022/kirbydesign-designsystem-testing-jest.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-testing.mjs +236 -243
- package/fesm2022/kirbydesign-designsystem-testing.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-toast.mjs +98 -62
- package/fesm2022/kirbydesign-designsystem-toast.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-toggle-button.mjs +155 -127
- package/fesm2022/kirbydesign-designsystem-toggle-button.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-toggle.mjs +180 -150
- package/fesm2022/kirbydesign-designsystem-toggle.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-types.mjs +39 -24
- package/fesm2022/kirbydesign-designsystem-types.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem.mjs +516 -407
- package/fesm2022/kirbydesign-designsystem.mjs.map +1 -1
- package/icons/svg/megaphone.svg +3 -0
- package/package.json +10 -10
- package/readme.md +37 -0
- package/types/kirbydesign-designsystem-accordion.d.ts +72 -39
- package/types/kirbydesign-designsystem-accordion.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-action-group.d.ts +46 -39
- package/types/kirbydesign-designsystem-action-group.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-avatar.d.ts +62 -26
- package/types/kirbydesign-designsystem-avatar.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-badge.d.ts +30 -19
- package/types/kirbydesign-designsystem-badge.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-button.d.ts +70 -45
- package/types/kirbydesign-designsystem-button.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-calendar.d.ts +193 -132
- package/types/kirbydesign-designsystem-calendar.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-card.d.ts +130 -66
- package/types/kirbydesign-designsystem-card.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-chart.d.ts +198 -172
- package/types/kirbydesign-designsystem-chart.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-checkbox.d.ts +96 -68
- package/types/kirbydesign-designsystem-checkbox.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-config.d.ts +17 -21
- package/types/kirbydesign-designsystem-config.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-data-table.d.ts +46 -26
- package/types/kirbydesign-designsystem-data-table.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-divider.d.ts +11 -9
- package/types/kirbydesign-designsystem-divider.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-dropdown.d.ts +219 -166
- package/types/kirbydesign-designsystem-dropdown.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-empty-state.d.ts +47 -35
- package/types/kirbydesign-designsystem-empty-state.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-fab-sheet.d.ts +34 -28
- package/types/kirbydesign-designsystem-fab-sheet.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-flag.d.ts +18 -13
- package/types/kirbydesign-designsystem-flag.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-form-field.d.ts +409 -242
- package/types/kirbydesign-designsystem-form-field.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-gesture.d.ts +41 -46
- package/types/kirbydesign-designsystem-gesture.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-header.d.ts +102 -64
- package/types/kirbydesign-designsystem-header.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-helpers-scss.d.ts +6 -8
- package/types/kirbydesign-designsystem-helpers-scss.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-helpers.d.ts +83 -97
- package/types/kirbydesign-designsystem-helpers.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-icon.d.ts +63 -59
- package/types/kirbydesign-designsystem-icon.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-item-group.d.ts +6 -9
- package/types/kirbydesign-designsystem-item-group.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-item-sliding.d.ts +30 -26
- package/types/kirbydesign-designsystem-item-sliding.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-item.d.ts +93 -54
- package/types/kirbydesign-designsystem-item.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-kirby-app.d.ts +18 -19
- package/types/kirbydesign-designsystem-kirby-app.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-list.d.ts +387 -263
- package/types/kirbydesign-designsystem-list.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-loading-overlay.d.ts +35 -24
- package/types/kirbydesign-designsystem-loading-overlay.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-menu.d.ts +119 -69
- package/types/kirbydesign-designsystem-menu.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-modal.d.ts +577 -455
- package/types/kirbydesign-designsystem-modal.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-page.d.ts +304 -229
- package/types/kirbydesign-designsystem-page.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-popover.d.ts +48 -40
- package/types/kirbydesign-designsystem-popover.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-progress-circle.d.ts +60 -38
- package/types/kirbydesign-designsystem-progress-circle.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-radio.d.ts +147 -98
- package/types/kirbydesign-designsystem-radio.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-range.d.ts +90 -45
- package/types/kirbydesign-designsystem-range.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-reorder-list.d.ts +44 -32
- package/types/kirbydesign-designsystem-reorder-list.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-router-outlet.d.ts +23 -18
- package/types/kirbydesign-designsystem-router-outlet.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-section-header.d.ts +5 -8
- package/types/kirbydesign-designsystem-section-header.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-segmented-control.d.ts +123 -100
- package/types/kirbydesign-designsystem-segmented-control.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-shared-floating.d.ts +183 -128
- package/types/kirbydesign-designsystem-shared-floating.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-shared-portal.d.ts +29 -28
- package/types/kirbydesign-designsystem-shared-portal.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-shared.d.ts +143 -139
- package/types/kirbydesign-designsystem-shared.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-slide-button.d.ts +43 -34
- package/types/kirbydesign-designsystem-slide-button.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-slide.d.ts +80 -59
- package/types/kirbydesign-designsystem-slide.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-spinner.d.ts +13 -14
- package/types/kirbydesign-designsystem-spinner.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-tab-navigation.d.ts +78 -55
- package/types/kirbydesign-designsystem-tab-navigation.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-tabs.d.ts +50 -45
- package/types/kirbydesign-designsystem-tabs.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-testing-base.d.ts +2430 -815
- package/types/kirbydesign-designsystem-testing-base.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-testing-jasmine.d.ts +9 -10
- package/types/kirbydesign-designsystem-testing-jasmine.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-testing-jest.d.ts +9 -10
- package/types/kirbydesign-designsystem-testing-jest.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-testing.d.ts +52 -58
- package/types/kirbydesign-designsystem-testing.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-toast.d.ts +25 -31
- package/types/kirbydesign-designsystem-toast.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-toggle-button.d.ts +62 -56
- package/types/kirbydesign-designsystem-toggle-button.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-toggle.d.ts +71 -63
- package/types/kirbydesign-designsystem-toggle.d.ts.map +1 -1
- package/types/kirbydesign-designsystem-types.d.ts +15 -22
- package/types/kirbydesign-designsystem-types.d.ts.map +1 -1
- package/types/kirbydesign-designsystem.d.ts +135 -123
- package/types/kirbydesign-designsystem.d.ts.map +1 -1
- package/accordion/package.json +0 -4
- package/action-group/package.json +0 -4
- package/avatar/package.json +0 -4
- package/badge/package.json +0 -4
- package/button/package.json +0 -4
- package/calendar/package.json +0 -4
- package/card/package.json +0 -4
- package/chart/package.json +0 -4
- package/checkbox/package.json +0 -4
- package/config/package.json +0 -4
- package/data-table/package.json +0 -4
- package/divider/package.json +0 -4
- package/dropdown/package.json +0 -4
- package/empty-state/package.json +0 -4
- package/fab-sheet/package.json +0 -4
- package/flag/package.json +0 -4
- package/form-field/package.json +0 -4
- package/gesture/package.json +0 -4
- package/header/package.json +0 -4
- package/helpers/package.json +0 -4
- package/helpers/scss/package.json +0 -4
- package/icon/package.json +0 -4
- package/item/package.json +0 -4
- package/item-group/package.json +0 -4
- package/item-sliding/package.json +0 -4
- package/kirby-app/package.json +0 -4
- package/list/package.json +0 -4
- package/loading-overlay/package.json +0 -4
- package/menu/package.json +0 -4
- package/modal/package.json +0 -4
- package/page/package.json +0 -4
- package/popover/package.json +0 -4
- package/progress-circle/package.json +0 -4
- package/radio/package.json +0 -4
- package/range/package.json +0 -4
- package/reorder-list/package.json +0 -4
- package/router-outlet/package.json +0 -4
- package/section-header/package.json +0 -4
- package/segmented-control/package.json +0 -4
- package/shared/floating/package.json +0 -4
- package/shared/package.json +0 -4
- package/shared/portal/package.json +0 -4
- package/slide/package.json +0 -4
- package/slide-button/package.json +0 -4
- package/spinner/package.json +0 -4
- package/tab-navigation/package.json +0 -4
- package/tabs/package.json +0 -4
- package/testing/package.json +0 -4
- package/testing-base/package.json +0 -4
- package/testing-jasmine/package.json +0 -4
- package/testing-jest/package.json +0 -4
- package/toast/package.json +0 -4
- package/toggle/package.json +0 -4
- package/toggle-button/package.json +0 -4
- package/types/package.json +0 -4
|
@@ -1,155 +1,399 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import { forwardAttributes } from
|
|
4
|
-
import { ButtonComponent } from
|
|
5
|
-
import { CheckboxComponent } from
|
|
6
|
-
import { RadioComponent } from
|
|
7
|
-
import { ToggleComponent } from
|
|
8
|
-
import { IonItem,
|
|
9
|
-
import { IconComponent, IconModule } from
|
|
10
|
-
import * as i1 from
|
|
11
|
-
import { IonicElementPartHelper } from
|
|
12
|
-
import { CommonModule } from
|
|
13
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, ContentChild, ElementRef, HostBinding, Input, NgModule, ViewChild } from "@angular/core";
|
|
3
|
+
import { forwardAttributes } from "@kirbydesign/designsystem/shared";
|
|
4
|
+
import { ButtonComponent } from "@kirbydesign/designsystem/button";
|
|
5
|
+
import { CheckboxComponent } from "@kirbydesign/designsystem/checkbox";
|
|
6
|
+
import { RadioComponent } from "@kirbydesign/designsystem/radio";
|
|
7
|
+
import { ToggleComponent } from "@kirbydesign/designsystem/toggle";
|
|
8
|
+
import { IonItem, IonLabel, IonReorder } from "@ionic/angular";
|
|
9
|
+
import { IconComponent, IconModule } from "@kirbydesign/designsystem/icon";
|
|
10
|
+
import * as i1 from "@kirbydesign/designsystem/helpers";
|
|
11
|
+
import { IonicElementPartHelper } from "@kirbydesign/designsystem/helpers";
|
|
12
|
+
import { CommonModule } from "@angular/common";
|
|
14
13
|
var ItemSize;
|
|
15
|
-
(function
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
(function(ItemSize) {
|
|
15
|
+
ItemSize["XS"] = "xs";
|
|
16
|
+
ItemSize["SM"] = "sm";
|
|
17
|
+
ItemSize["MD"] = "md";
|
|
19
18
|
})(ItemSize || (ItemSize = {}));
|
|
20
|
-
class ItemComponent {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.23", type: ItemComponent, isStandalone: true, selector: "kirby-item", inputs: { disabled: "disabled", selected: "selected", disclosure: "disclosure", selectable: "selectable", reorderable: "reorderable", size: "size", href: "href", rotateIcon: "rotateIcon" }, host: { properties: { "class.disabled": "this.disabled", "class.selected": "this.selected", "class.disclosure": "this.disclosure", "class": "this.size", "class.has-interactive": "this.containsNestedInteractives" } }, providers: [IonicElementPartHelper], queries: [{ propertyName: "checkbox", first: true, predicate: CheckboxComponent, descendants: true, read: ElementRef }, { propertyName: "radio", first: true, predicate: RadioComponent, descendants: true, read: ElementRef }, { propertyName: "toggle", first: true, predicate: ToggleComponent, descendants: true, read: ElementRef }, { propertyName: "button", first: true, predicate: ButtonComponent, descendants: true, read: ElementRef }], viewQueries: [{ propertyName: "ionItem", first: true, predicate: IonItem, descendants: true, read: ElementRef, static: true }], ngImport: i0, template: "<ion-item\n lines=\"none\"\n [disabled]=\"disabled\"\n [button]=\"_renderButton\"\n [href]=\"_renderLink\"\n [detail]=\"false\"\n (mousedown)=\"onMouseDown($event)\"\n>\n <div class=\"outside\" slot=\"start\">\n <ng-content select=\"[slot='outside']\"></ng-content>\n </div>\n <ng-content></ng-content>\n @if (reorderable) {\n <ion-reorder slot=\"end\">\n <kirby-icon name=\"reorder\"></kirby-icon>\n </ion-reorder>\n }\n\n @if (disclosure) {\n <span class=\"disclosure\" slot=\"end\">\n <kirby-icon\n [class.rotate]=\"rotateIcon && (disclosure === 'arrow-down' || disclosure === 'arrow-up')\"\n name=\"{{ disclosure }}\"\n ></kirby-icon>\n </span>\n }\n</ion-item>\n", styles: [".kirby-line-clamp{display:-webkit-box;-webkit-line-clamp:var(--line-clamp, none);-webkit-box-orient:vertical;overflow:hidden}:host{display:block;position:relative}:host.sm ion-item,:host-context(kirby-card.menu-popover) :host:not([size]) ion-item{--min-height: 44px}:host.xs ion-item{--min-height: 32px}:host.xs ion-item:not(:has(kirby-checkbox,kirby-radio)){--inner-padding-top: var(--kirby-spacing-xxxs);--inner-padding-bottom: var(--kirby-spacing-xxxs)}:host .outside{--kirby-badge-font-size: 10px;display:flex;width:var(--kirby-relative-size-s);margin:0;position:absolute;left:var(--kirby-spacing-xxxs);z-index:1}ion-item::part(native){border-radius:var(--kirby-content-border-top-radius, 0) var(--kirby-content-border-top-radius, 0) var(--kirby-content-border-bottom-radius, 0) var(--kirby-content-border-bottom-radius, 0)}ion-item::part(native):focus-visible{box-shadow:var(--kirby-focus-ring-md-inset)}@media(hover:hover){ion-item:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);--background-hover: var(--state-layer-background-color);--background-hover-opacity: var(--state-layer-opacity)}}ion-item:active,ion-item.ion-activated{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);--background-activated: var(--state-layer-background-color);--background-activated-opacity: var(--state-layer-opacity)}ion-item{--padding-top: var(--item-padding-top, 0px);--padding-bottom: var(--item-padding-bottom, 0px);--min-height: 56px;--padding-start: var(--kirby-spacing-s);--inner-padding-top: var(--kirby-spacing-xxs);--inner-padding-bottom: var(--kirby-spacing-xxs);--inner-padding-end: var(--kirby-spacing-s);--background: var(--kirby-item-background, var(--kirby-white));--background-activated-opacity: .99;--background-focused: var(--kirby-item-background-focused, var(--kirby-background-color));--background-focused-opacity: 1;font-size:var(--kirby-font-size-n)}@media screen and (orientation:landscape){ion-item{--ion-safe-area-left: 0px;--ion-safe-area-right: 0px}}ion-item ::ng-deep>[slot=end]{text-align:end}ion-item ::ng-deep>[slot=end] kirby-label{text-align:start}ion-item ::ng-deep>time[slot=end]{margin-inline-start:var(--kirby-spacing-xs)}ion-item ::ng-deep>data[slot=end],ion-item ::ng-deep>[detail][slot=end],ion-item ::ng-deep>ion-reorder[slot=end]{margin-inline-start:var(--kirby-spacing-s)}ion-item ::ng-deep>h1,ion-item ::ng-deep>h2,ion-item ::ng-deep>h3,ion-item ::ng-deep>h4,ion-item ::ng-deep>h5,ion-item ::ng-deep>h6,ion-item ::ng-deep>data,ion-item ::ng-deep>p{color:var(--kirby-text-color-black);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}ion-item ::ng-deep>:where(p){font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s)}ion-item ::ng-deep>:where(.kirby-item-title),ion-item ::ng-deep>:where(h1),ion-item ::ng-deep>:where(h2),ion-item ::ng-deep>:where(h3),ion-item ::ng-deep>:where(h4),ion-item ::ng-deep>:where(h5),ion-item ::ng-deep>:where(h6),ion-item ::ng-deep>:where(data){font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n);font-weight:400}ion-item ::ng-deep>[subtitle],ion-item ::ng-deep>[detail],ion-item ::ng-deep>.kirby-item-subtitle,ion-item ::ng-deep>.kirby-item-detail,ion-item ::ng-deep>.kirby-item-disclosure{font-size:var(--kirby-font-size-xs);line-height:var(--kirby-line-height-xs)}ion-item ::ng-deep>[subtitle]:not(:last-child),ion-item ::ng-deep>.kirby-item-subtitle:not(:last-child){margin-bottom:var(--kirby-spacing-xxxs)}ion-item ::ng-deep>[detail],ion-item ::ng-deep>.kirby-item-detail,ion-item ::ng-deep>.kirby-item-disclosure{color:var(--kirby-text-color-semi-dark)}ion-item ::ng-deep>.kirby-item-disclosure{display:flex;align-items:center}ion-item .kirby-item-disclosure kirby-icon{color:var(--kirby-semi-dark);transform:translate(var(--kirby-spacing-xxxs))}ion-item ::ng-deep>[wrap],ion-item ::ng-deep>.kirby-item-wrap{white-space:normal}@media(max-width:767px){ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item ::ng-deep>.kirby-item-title:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)){--item-padding-top: var(--kirby-spacing-xxs);--inner-padding-top: 0;--inner-padding-end: var( --kirby-spacing-l )}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) ::ng-deep>[slot=end],ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)) ::ng-deep>[slot=end]{margin-inline-start:initial}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(item-inner),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(item-inner){position:initial;gap:var(--kirby-spacing-xs)}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(input-wrapper),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(input-wrapper){justify-content:center}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(native),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(native){flex-direction:column;align-items:flex-start}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .disclosure,ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)) .disclosure{position:absolute;right:var(--kirby-spacing-xxs);top:calc(var(--item-padding-top) + .5lh - var(--kirby-spacing-xs));font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n)}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .outside{top:calc(var(--item-padding-top) + var(--kirby-spacing-xxxxs) + var(--kirby-spacing-s))}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .disclosure{top:calc(var(--item-padding-top) + var(--kirby-spacing-xxxxs) + var(--kirby-spacing-xxs))}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:not(:has([slot=start]:not(.outside))):has([slot=end]:not(.disclosure)) .outside{align-items:start;top:calc(var(--item-padding-top) + .5lh - var(--kirby-spacing-xxxs) * .5)}}ion-item ::ng-deep>:not([slot]){width:100%}ion-item ::ng-deep>input[slot=end],ion-item ::ng-deep>kirby-form-field[slot=end] input{margin-inline-start:var(--kirby-spacing-s);width:auto;text-align:end}ion-item{--transition: background-color, opacity 80ms linear 0ms}ion-item:has(kirby-checkbox,kirby-radio){--inner-padding-top: 0;--inner-padding-bottom: 0}ion-item:has(kirby-checkbox:not([slot]),kirby-radio:not([slot])){overflow:inherit}ion-item:has(.checkbox-disabled,.radio-disabled,.toggle-disabled){pointer-events:none}.disclosure{--kirby-icon-font-size: var(--kirby-spacing-m);padding-left:var(--kirby-spacing-xxxs);color:var(--kirby-semi-dark);display:inline-flex;justify-content:center;align-items:center}.disclosure kirby-icon{transition:transform var(--kirby-transition-duration-quick)}.disclosure kirby-icon.rotate{transform:rotate(180deg)}:host-context(kirby-dropdown) ion-item,:host-context(kirby-menu) ion-item,:host-context(kirby-popover) ion-item{--min-height: 44px}:host(.keyboard-focused) ion-item::part(native),:host-context(kirby-popover .keyboard-focused) ion-item::part(native){transition:all 80ms linear 0ms;box-shadow:var(--kirby-focus-ring-md-inset)}:host(.disabled),:host([disabled]){pointer-events:none}:host(.selected) ion-item ::ng-deep>h1,:host(.selected) ion-item ::ng-deep>h2,:host(.selected) ion-item ::ng-deep>h3,:host(.selected) ion-item ::ng-deep>h4,:host(.selected) ion-item ::ng-deep>h5,:host(.selected) ion-item ::ng-deep>h6,:host(.selected) ion-item ::ng-deep>p,:host(.selected) ion-item ::ng-deep>data,:host-context(kirby-list .selected) ion-item ::ng-deep>h1,:host-context(kirby-list .selected) ion-item ::ng-deep>h2,:host-context(kirby-list .selected) ion-item ::ng-deep>h3,:host-context(kirby-list .selected) ion-item ::ng-deep>h4,:host-context(kirby-list .selected) ion-item ::ng-deep>h5,:host-context(kirby-list .selected) ion-item ::ng-deep>h6,:host-context(kirby-list .selected) ion-item ::ng-deep>p,:host-context(kirby-list .selected) ion-item ::ng-deep>data{font-weight:var(--kirby-font-weight-bold)}:host(.disclosure) ion-item{--inner-padding-end: var(--kirby-spacing-xxs)}:host-context(kirby-card-header) ion-item{--background: transparent}\n"], dependencies: [{ kind: "component", type: IonItem, selector: "ion-item", inputs: ["button", "color", "detail", "detailIcon", "disabled", "download", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { kind: "component", type: IonReorder, selector: "ion-reorder" }, { kind: "component", type: IconComponent, selector: "kirby-icon", inputs: ["size", "name"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
args: [{ selector: 'kirby-item', changeDetection: ChangeDetectionStrategy.OnPush, providers: [IonicElementPartHelper], imports: [IonItem, IonReorder, IconComponent], template: "<ion-item\n lines=\"none\"\n [disabled]=\"disabled\"\n [button]=\"_renderButton\"\n [href]=\"_renderLink\"\n [detail]=\"false\"\n (mousedown)=\"onMouseDown($event)\"\n>\n <div class=\"outside\" slot=\"start\">\n <ng-content select=\"[slot='outside']\"></ng-content>\n </div>\n <ng-content></ng-content>\n @if (reorderable) {\n <ion-reorder slot=\"end\">\n <kirby-icon name=\"reorder\"></kirby-icon>\n </ion-reorder>\n }\n\n @if (disclosure) {\n <span class=\"disclosure\" slot=\"end\">\n <kirby-icon\n [class.rotate]=\"rotateIcon && (disclosure === 'arrow-down' || disclosure === 'arrow-up')\"\n name=\"{{ disclosure }}\"\n ></kirby-icon>\n </span>\n }\n</ion-item>\n", styles: [".kirby-line-clamp{display:-webkit-box;-webkit-line-clamp:var(--line-clamp, none);-webkit-box-orient:vertical;overflow:hidden}:host{display:block;position:relative}:host.sm ion-item,:host-context(kirby-card.menu-popover) :host:not([size]) ion-item{--min-height: 44px}:host.xs ion-item{--min-height: 32px}:host.xs ion-item:not(:has(kirby-checkbox,kirby-radio)){--inner-padding-top: var(--kirby-spacing-xxxs);--inner-padding-bottom: var(--kirby-spacing-xxxs)}:host .outside{--kirby-badge-font-size: 10px;display:flex;width:var(--kirby-relative-size-s);margin:0;position:absolute;left:var(--kirby-spacing-xxxs);z-index:1}ion-item::part(native){border-radius:var(--kirby-content-border-top-radius, 0) var(--kirby-content-border-top-radius, 0) var(--kirby-content-border-bottom-radius, 0) var(--kirby-content-border-bottom-radius, 0)}ion-item::part(native):focus-visible{box-shadow:var(--kirby-focus-ring-md-inset)}@media(hover:hover){ion-item:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);--background-hover: var(--state-layer-background-color);--background-hover-opacity: var(--state-layer-opacity)}}ion-item:active,ion-item.ion-activated{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);--background-activated: var(--state-layer-background-color);--background-activated-opacity: var(--state-layer-opacity)}ion-item{--padding-top: var(--item-padding-top, 0px);--padding-bottom: var(--item-padding-bottom, 0px);--min-height: 56px;--padding-start: var(--kirby-spacing-s);--inner-padding-top: var(--kirby-spacing-xxs);--inner-padding-bottom: var(--kirby-spacing-xxs);--inner-padding-end: var(--kirby-spacing-s);--background: var(--kirby-item-background, var(--kirby-white));--background-activated-opacity: .99;--background-focused: var(--kirby-item-background-focused, var(--kirby-background-color));--background-focused-opacity: 1;font-size:var(--kirby-font-size-n)}@media screen and (orientation:landscape){ion-item{--ion-safe-area-left: 0px;--ion-safe-area-right: 0px}}ion-item ::ng-deep>[slot=end]{text-align:end}ion-item ::ng-deep>[slot=end] kirby-label{text-align:start}ion-item ::ng-deep>time[slot=end]{margin-inline-start:var(--kirby-spacing-xs)}ion-item ::ng-deep>data[slot=end],ion-item ::ng-deep>[detail][slot=end],ion-item ::ng-deep>ion-reorder[slot=end]{margin-inline-start:var(--kirby-spacing-s)}ion-item ::ng-deep>h1,ion-item ::ng-deep>h2,ion-item ::ng-deep>h3,ion-item ::ng-deep>h4,ion-item ::ng-deep>h5,ion-item ::ng-deep>h6,ion-item ::ng-deep>data,ion-item ::ng-deep>p{color:var(--kirby-text-color-black);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}ion-item ::ng-deep>:where(p){font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s)}ion-item ::ng-deep>:where(.kirby-item-title),ion-item ::ng-deep>:where(h1),ion-item ::ng-deep>:where(h2),ion-item ::ng-deep>:where(h3),ion-item ::ng-deep>:where(h4),ion-item ::ng-deep>:where(h5),ion-item ::ng-deep>:where(h6),ion-item ::ng-deep>:where(data){font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n);font-weight:400}ion-item ::ng-deep>[subtitle],ion-item ::ng-deep>[detail],ion-item ::ng-deep>.kirby-item-subtitle,ion-item ::ng-deep>.kirby-item-detail,ion-item ::ng-deep>.kirby-item-disclosure{font-size:var(--kirby-font-size-xs);line-height:var(--kirby-line-height-xs)}ion-item ::ng-deep>[subtitle]:not(:last-child),ion-item ::ng-deep>.kirby-item-subtitle:not(:last-child){margin-bottom:var(--kirby-spacing-xxxs)}ion-item ::ng-deep>[detail],ion-item ::ng-deep>.kirby-item-detail,ion-item ::ng-deep>.kirby-item-disclosure{color:var(--kirby-text-color-semi-dark)}ion-item ::ng-deep>.kirby-item-disclosure{display:flex;align-items:center}ion-item .kirby-item-disclosure kirby-icon{color:var(--kirby-semi-dark);transform:translate(var(--kirby-spacing-xxxs))}ion-item ::ng-deep>[wrap],ion-item ::ng-deep>.kirby-item-wrap{white-space:normal}@media(max-width:767px){ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item ::ng-deep>.kirby-item-title:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)){--item-padding-top: var(--kirby-spacing-xxs);--inner-padding-top: 0;--inner-padding-end: var( --kirby-spacing-l )}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) ::ng-deep>[slot=end],ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)) ::ng-deep>[slot=end]{margin-inline-start:initial}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(item-inner),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(item-inner){position:initial;gap:var(--kirby-spacing-xs)}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(input-wrapper),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(input-wrapper){justify-content:center}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(native),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(native){flex-direction:column;align-items:flex-start}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .disclosure,ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)) .disclosure{position:absolute;right:var(--kirby-spacing-xxs);top:calc(var(--item-padding-top) + .5lh - var(--kirby-spacing-xs));font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n)}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .outside{top:calc(var(--item-padding-top) + var(--kirby-spacing-xxxxs) + var(--kirby-spacing-s))}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .disclosure{top:calc(var(--item-padding-top) + var(--kirby-spacing-xxxxs) + var(--kirby-spacing-xxs))}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:not(:has([slot=start]:not(.outside))):has([slot=end]:not(.disclosure)) .outside{align-items:start;top:calc(var(--item-padding-top) + .5lh - var(--kirby-spacing-xxxs) * .5)}}ion-item ::ng-deep>:not([slot]){width:100%}ion-item ::ng-deep>input[slot=end],ion-item ::ng-deep>kirby-form-field[slot=end] input{margin-inline-start:var(--kirby-spacing-s);width:auto;text-align:end}ion-item{--transition: background-color, opacity 80ms linear 0ms}ion-item:has(kirby-checkbox,kirby-radio){--inner-padding-top: 0;--inner-padding-bottom: 0}ion-item:has(kirby-checkbox:not([slot]),kirby-radio:not([slot])){overflow:inherit}ion-item:has(.checkbox-disabled,.radio-disabled,.toggle-disabled){pointer-events:none}.disclosure{--kirby-icon-font-size: var(--kirby-spacing-m);padding-left:var(--kirby-spacing-xxxs);color:var(--kirby-semi-dark);display:inline-flex;justify-content:center;align-items:center}.disclosure kirby-icon{transition:transform var(--kirby-transition-duration-quick)}.disclosure kirby-icon.rotate{transform:rotate(180deg)}:host-context(kirby-dropdown) ion-item,:host-context(kirby-menu) ion-item,:host-context(kirby-popover) ion-item{--min-height: 44px}:host(.keyboard-focused) ion-item::part(native),:host-context(kirby-popover .keyboard-focused) ion-item::part(native){transition:all 80ms linear 0ms;box-shadow:var(--kirby-focus-ring-md-inset)}:host(.disabled),:host([disabled]){pointer-events:none}:host(.selected) ion-item ::ng-deep>h1,:host(.selected) ion-item ::ng-deep>h2,:host(.selected) ion-item ::ng-deep>h3,:host(.selected) ion-item ::ng-deep>h4,:host(.selected) ion-item ::ng-deep>h5,:host(.selected) ion-item ::ng-deep>h6,:host(.selected) ion-item ::ng-deep>p,:host(.selected) ion-item ::ng-deep>data,:host-context(kirby-list .selected) ion-item ::ng-deep>h1,:host-context(kirby-list .selected) ion-item ::ng-deep>h2,:host-context(kirby-list .selected) ion-item ::ng-deep>h3,:host-context(kirby-list .selected) ion-item ::ng-deep>h4,:host-context(kirby-list .selected) ion-item ::ng-deep>h5,:host-context(kirby-list .selected) ion-item ::ng-deep>h6,:host-context(kirby-list .selected) ion-item ::ng-deep>p,:host-context(kirby-list .selected) ion-item ::ng-deep>data{font-weight:var(--kirby-font-weight-bold)}:host(.disclosure) ion-item{--inner-padding-end: var(--kirby-spacing-xxs)}:host-context(kirby-card-header) ion-item{--background: transparent}\n"] }]
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
19
|
+
var ItemComponent = class ItemComponent {
|
|
20
|
+
get selectable() {
|
|
21
|
+
return this._selectable;
|
|
22
|
+
}
|
|
23
|
+
set selectable(value) {
|
|
24
|
+
this._selectable = value;
|
|
25
|
+
this.cdr.markForCheck();
|
|
26
|
+
}
|
|
27
|
+
constructor(elementRef, renderer, cdr, ionicElementPartHelper) {
|
|
28
|
+
this.elementRef = elementRef;
|
|
29
|
+
this.renderer = renderer;
|
|
30
|
+
this.cdr = cdr;
|
|
31
|
+
this.ionicElementPartHelper = ionicElementPartHelper;
|
|
32
|
+
this._linkAttributesToForward = [
|
|
33
|
+
"rel",
|
|
34
|
+
"target",
|
|
35
|
+
"download"
|
|
36
|
+
];
|
|
37
|
+
this.size = ItemSize.MD;
|
|
38
|
+
this.rotateIcon = false;
|
|
39
|
+
}
|
|
40
|
+
ngAfterViewInit() {
|
|
41
|
+
forwardAttributes(this.elementRef.nativeElement, this._linkAttributesToForward, this.renderer, this.ionItem.nativeElement);
|
|
42
|
+
this.ionicElementPartHelper.setPart("item-inner", this.ionItem, ".item-inner");
|
|
43
|
+
this.ionicElementPartHelper.setPart("input-wrapper", this.ionItem, ".input-wrapper");
|
|
44
|
+
}
|
|
45
|
+
onMouseDown(event) {
|
|
46
|
+
if (event.currentTarget instanceof HTMLElement && event.currentTarget.closest("kirby-dropdown")) event.preventDefault();
|
|
47
|
+
}
|
|
48
|
+
get _renderButton() {
|
|
49
|
+
return this.selectable && !this.containsNestedInteractives;
|
|
50
|
+
}
|
|
51
|
+
get _renderLink() {
|
|
52
|
+
return this.containsNestedInteractives ? void 0 : this.href;
|
|
53
|
+
}
|
|
54
|
+
get containsNestedInteractives() {
|
|
55
|
+
return !!(this.checkbox || this.radio || this.toggle || this.button);
|
|
56
|
+
}
|
|
57
|
+
static {
|
|
58
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
59
|
+
minVersion: "12.0.0",
|
|
60
|
+
version: "22.2.2",
|
|
61
|
+
ngImport: i0,
|
|
62
|
+
type: ItemComponent,
|
|
63
|
+
deps: [
|
|
64
|
+
{ token: i0.ElementRef },
|
|
65
|
+
{ token: i0.Renderer2 },
|
|
66
|
+
{ token: i0.ChangeDetectorRef },
|
|
67
|
+
{ token: i1.IonicElementPartHelper }
|
|
68
|
+
],
|
|
69
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
static {
|
|
73
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
74
|
+
minVersion: "17.0.0",
|
|
75
|
+
version: "22.2.2",
|
|
76
|
+
type: ItemComponent,
|
|
77
|
+
isStandalone: true,
|
|
78
|
+
selector: "kirby-item",
|
|
79
|
+
inputs: {
|
|
80
|
+
disabled: "disabled",
|
|
81
|
+
selected: "selected",
|
|
82
|
+
disclosure: "disclosure",
|
|
83
|
+
selectable: "selectable",
|
|
84
|
+
reorderable: "reorderable",
|
|
85
|
+
size: "size",
|
|
86
|
+
href: "href",
|
|
87
|
+
rotateIcon: "rotateIcon"
|
|
88
|
+
},
|
|
89
|
+
host: { properties: {
|
|
90
|
+
"class.disabled": "this.disabled",
|
|
91
|
+
"class.selected": "this.selected",
|
|
92
|
+
"class.disclosure": "this.disclosure",
|
|
93
|
+
"class": "this.size",
|
|
94
|
+
"class.has-interactive": "this.containsNestedInteractives"
|
|
95
|
+
} },
|
|
96
|
+
providers: [IonicElementPartHelper],
|
|
97
|
+
queries: [
|
|
98
|
+
{
|
|
99
|
+
propertyName: "checkbox",
|
|
100
|
+
first: true,
|
|
101
|
+
predicate: CheckboxComponent,
|
|
102
|
+
descendants: true,
|
|
103
|
+
read: ElementRef
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
propertyName: "radio",
|
|
107
|
+
first: true,
|
|
108
|
+
predicate: RadioComponent,
|
|
109
|
+
descendants: true,
|
|
110
|
+
read: ElementRef
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
propertyName: "toggle",
|
|
114
|
+
first: true,
|
|
115
|
+
predicate: ToggleComponent,
|
|
116
|
+
descendants: true,
|
|
117
|
+
read: ElementRef
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
propertyName: "button",
|
|
121
|
+
first: true,
|
|
122
|
+
predicate: ButtonComponent,
|
|
123
|
+
descendants: true,
|
|
124
|
+
read: ElementRef
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
viewQueries: [{
|
|
128
|
+
propertyName: "ionItem",
|
|
129
|
+
first: true,
|
|
130
|
+
predicate: IonItem,
|
|
131
|
+
descendants: true,
|
|
132
|
+
read: ElementRef,
|
|
133
|
+
static: true
|
|
134
|
+
}],
|
|
135
|
+
ngImport: i0,
|
|
136
|
+
template: "<ion-item\n lines=\"none\"\n [disabled]=\"disabled\"\n [button]=\"_renderButton\"\n [href]=\"_renderLink\"\n [detail]=\"false\"\n (mousedown)=\"onMouseDown($event)\"\n>\n <div class=\"outside\" slot=\"start\">\n <ng-content select=\"[slot='outside']\"></ng-content>\n </div>\n <ng-content></ng-content>\n @if (reorderable) {\n <ion-reorder slot=\"end\">\n <kirby-icon name=\"reorder\"></kirby-icon>\n </ion-reorder>\n }\n\n @if (disclosure) {\n <span class=\"disclosure\" slot=\"end\">\n <kirby-icon\n [class.rotate]=\"rotateIcon && (disclosure === 'arrow-down' || disclosure === 'arrow-up')\"\n name=\"{{ disclosure }}\"\n ></kirby-icon>\n </span>\n }\n</ion-item>\n",
|
|
137
|
+
styles: [".kirby-line-clamp{display:-webkit-box;-webkit-line-clamp:var(--line-clamp, none);-webkit-box-orient:vertical;overflow:hidden}:host{display:block;position:relative}:host.sm ion-item,:host-context(kirby-card.menu-popover) :host:not([size]) ion-item{--min-height: 44px}:host.xs ion-item{--min-height: 32px}:host.xs ion-item:not(:has(kirby-checkbox,kirby-radio)){--inner-padding-top: var(--kirby-spacing-xxxs);--inner-padding-bottom: var(--kirby-spacing-xxxs)}:host .outside{--kirby-badge-font-size: 10px;display:flex;width:var(--kirby-relative-size-s);margin:0;position:absolute;left:var(--kirby-spacing-xxxs);z-index:1}ion-item::part(native){border-radius:var(--kirby-content-border-top-radius, 0) var(--kirby-content-border-top-radius, 0) var(--kirby-content-border-bottom-radius, 0) var(--kirby-content-border-bottom-radius, 0)}ion-item::part(native):focus-visible{box-shadow:var(--kirby-focus-ring-md-inset)}ion-item{--padding-top: var(--item-padding-top, 0px);--padding-bottom: var(--item-padding-bottom, 0px);--min-height: 56px;--padding-start: var(--kirby-spacing-s);--inner-padding-top: var(--kirby-spacing-xxs);--inner-padding-bottom: var(--kirby-spacing-xxs);--inner-padding-end: var(--kirby-spacing-s);--color: var(--kirby-color-content-base);--color-hover: var(--kirby-color-content-base-hover);--background: var(--kirby-item-background, var(--kirby-color-fill-base));--background-hover: var(--kirby-color-fill-base-hover);--background-hover-opacity: 1;--background-focused: var(--kirby-item-background-focused, var(--kirby-color-fill-base));--background-focused-opacity: 1;font-size:var(--kirby-font-size-n)}ion-item.ion-activated{--background-hover: var(--kirby-color-fill-base-active);--color-hover: var(--kirby-color-content-base-active)}@media screen and (orientation:landscape){ion-item{--ion-safe-area-left: 0px;--ion-safe-area-right: 0px}}ion-item ::ng-deep>[slot=end]{text-align:end}ion-item ::ng-deep>[slot=end] kirby-label{text-align:start}ion-item ::ng-deep>time[slot=end]{margin-inline-start:var(--kirby-spacing-xs)}ion-item ::ng-deep>data[slot=end],ion-item ::ng-deep>[detail][slot=end],ion-item ::ng-deep>ion-reorder[slot=end]{margin-inline-start:var(--kirby-spacing-s)}ion-item ::ng-deep>h1,ion-item ::ng-deep>h2,ion-item ::ng-deep>h3,ion-item ::ng-deep>h4,ion-item ::ng-deep>h5,ion-item ::ng-deep>h6,ion-item ::ng-deep>data,ion-item ::ng-deep>p{color:var(--kirby-color-content-base);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}ion-item ::ng-deep>:where(p){font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s)}ion-item ::ng-deep>:where(.kirby-item-title),ion-item ::ng-deep>:where(h1),ion-item ::ng-deep>:where(h2),ion-item ::ng-deep>:where(h3),ion-item ::ng-deep>:where(h4),ion-item ::ng-deep>:where(h5),ion-item ::ng-deep>:where(h6),ion-item ::ng-deep>:where(data){font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n);font-weight:400}ion-item ::ng-deep>[subtitle],ion-item ::ng-deep>[detail],ion-item ::ng-deep>.kirby-item-subtitle,ion-item ::ng-deep>.kirby-item-detail,ion-item ::ng-deep>.kirby-item-disclosure{font-size:var(--kirby-font-size-xs);line-height:var(--kirby-line-height-xs)}ion-item ::ng-deep>[subtitle]:not(:last-child),ion-item ::ng-deep>.kirby-item-subtitle:not(:last-child){margin-bottom:var(--kirby-spacing-xxxs)}ion-item ::ng-deep>[detail],ion-item ::ng-deep>.kirby-item-detail,ion-item ::ng-deep>.kirby-item-disclosure{color:var(--kirby-color-content-base-quiet)}ion-item ::ng-deep>.kirby-item-disclosure{display:flex;align-items:center}ion-item .kirby-item-disclosure kirby-icon{color:var(--kirby-color-content-base-quiet);transform:translate(var(--kirby-spacing-xxxs))}ion-item ::ng-deep>[wrap],ion-item ::ng-deep>.kirby-item-wrap{white-space:normal}@media(max-width:767px){ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item ::ng-deep>.kirby-item-title:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)){--item-padding-top: var(--kirby-spacing-xxs);--inner-padding-top: 0;--inner-padding-end: var( --kirby-spacing-l )}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) ::ng-deep>[slot=end],ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)) ::ng-deep>[slot=end]{margin-inline-start:initial}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(item-inner),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(item-inner){position:initial;gap:var(--kirby-spacing-xs)}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(input-wrapper),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(input-wrapper){justify-content:center}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(native),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(native){flex-direction:column;align-items:flex-start}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .disclosure,ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)) .disclosure{position:absolute;right:var(--kirby-spacing-xxs);top:calc(var(--item-padding-top) + .5lh - var(--kirby-spacing-xs));font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n)}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .outside{top:calc(var(--item-padding-top) + var(--kirby-spacing-xxxxs) + var(--kirby-spacing-s))}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .disclosure{top:calc(var(--item-padding-top) + var(--kirby-spacing-xxxxs) + var(--kirby-spacing-xxs))}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:not(:has([slot=start]:not(.outside))):has([slot=end]:not(.disclosure)) .outside{align-items:start;top:calc(var(--item-padding-top) + .5lh - var(--kirby-spacing-xxxs) * .5)}}ion-item ::ng-deep>:not([slot]){width:100%}ion-item ::ng-deep>input[slot=end],ion-item ::ng-deep>kirby-form-field[slot=end] input{margin-inline-start:var(--kirby-spacing-s);width:auto;text-align:end}ion-item{--transition: background-color, opacity 80ms linear 0ms}ion-item:has(kirby-checkbox,kirby-radio){--inner-padding-top: 0;--inner-padding-bottom: 0}ion-item:has(kirby-checkbox:not([slot]),kirby-radio:not([slot])){overflow:inherit}ion-item:has(.checkbox-disabled,.radio-disabled,.toggle-disabled){pointer-events:none}.disclosure{--kirby-icon-font-size: var(--kirby-spacing-m);padding-left:var(--kirby-spacing-xxxs);color:var(--kirby-color-content-base-quiet);display:inline-flex;justify-content:center;align-items:center}.disclosure kirby-icon{transition:transform var(--kirby-transition-duration-quick)}.disclosure kirby-icon.rotate{transform:rotate(180deg)}:host-context(kirby-dropdown) ion-item,:host-context(kirby-menu) ion-item,:host-context(kirby-popover) ion-item{--min-height: 44px}:host(.keyboard-focused) ion-item::part(native),:host-context(kirby-popover .keyboard-focused) ion-item::part(native){transition:all 80ms linear 0ms;box-shadow:var(--kirby-focus-ring-md-inset)}:host(.disabled),:host([disabled]){pointer-events:none}:host(.disabled) ion-item,:host([disabled]) ion-item{opacity:.4}:host(.selected) ion-item ::ng-deep>h1,:host(.selected) ion-item ::ng-deep>h2,:host(.selected) ion-item ::ng-deep>h3,:host(.selected) ion-item ::ng-deep>h4,:host(.selected) ion-item ::ng-deep>h5,:host(.selected) ion-item ::ng-deep>h6,:host(.selected) ion-item ::ng-deep>p,:host(.selected) ion-item ::ng-deep>data,:host-context(kirby-list .selected) ion-item ::ng-deep>h1,:host-context(kirby-list .selected) ion-item ::ng-deep>h2,:host-context(kirby-list .selected) ion-item ::ng-deep>h3,:host-context(kirby-list .selected) ion-item ::ng-deep>h4,:host-context(kirby-list .selected) ion-item ::ng-deep>h5,:host-context(kirby-list .selected) ion-item ::ng-deep>h6,:host-context(kirby-list .selected) ion-item ::ng-deep>p,:host-context(kirby-list .selected) ion-item ::ng-deep>data{font-weight:var(--kirby-font-weight-bold)}:host(.disclosure) ion-item{--inner-padding-end: var(--kirby-spacing-xxs)}:host-context(kirby-card-header) ion-item{--background: transparent}\n"],
|
|
138
|
+
dependencies: [
|
|
139
|
+
{
|
|
140
|
+
kind: "component",
|
|
141
|
+
type: IonItem,
|
|
142
|
+
selector: "ion-item",
|
|
143
|
+
inputs: [
|
|
144
|
+
"button",
|
|
145
|
+
"color",
|
|
146
|
+
"detail",
|
|
147
|
+
"detailIcon",
|
|
148
|
+
"disabled",
|
|
149
|
+
"download",
|
|
150
|
+
"href",
|
|
151
|
+
"lines",
|
|
152
|
+
"mode",
|
|
153
|
+
"rel",
|
|
154
|
+
"routerAnimation",
|
|
155
|
+
"routerDirection",
|
|
156
|
+
"target",
|
|
157
|
+
"type"
|
|
158
|
+
]
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
kind: "component",
|
|
162
|
+
type: IonReorder,
|
|
163
|
+
selector: "ion-reorder"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
kind: "component",
|
|
167
|
+
type: IconComponent,
|
|
168
|
+
selector: "kirby-icon",
|
|
169
|
+
inputs: ["size", "name"]
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
};
|
|
176
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
177
|
+
minVersion: "12.0.0",
|
|
178
|
+
version: "22.2.2",
|
|
179
|
+
ngImport: i0,
|
|
180
|
+
type: ItemComponent,
|
|
181
|
+
decorators: [{
|
|
182
|
+
type: Component,
|
|
183
|
+
args: [{
|
|
184
|
+
selector: "kirby-item",
|
|
185
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
186
|
+
providers: [IonicElementPartHelper],
|
|
187
|
+
imports: [
|
|
188
|
+
IonItem,
|
|
189
|
+
IonReorder,
|
|
190
|
+
IconComponent
|
|
191
|
+
],
|
|
192
|
+
template: "<ion-item\n lines=\"none\"\n [disabled]=\"disabled\"\n [button]=\"_renderButton\"\n [href]=\"_renderLink\"\n [detail]=\"false\"\n (mousedown)=\"onMouseDown($event)\"\n>\n <div class=\"outside\" slot=\"start\">\n <ng-content select=\"[slot='outside']\"></ng-content>\n </div>\n <ng-content></ng-content>\n @if (reorderable) {\n <ion-reorder slot=\"end\">\n <kirby-icon name=\"reorder\"></kirby-icon>\n </ion-reorder>\n }\n\n @if (disclosure) {\n <span class=\"disclosure\" slot=\"end\">\n <kirby-icon\n [class.rotate]=\"rotateIcon && (disclosure === 'arrow-down' || disclosure === 'arrow-up')\"\n name=\"{{ disclosure }}\"\n ></kirby-icon>\n </span>\n }\n</ion-item>\n",
|
|
193
|
+
styles: [".kirby-line-clamp{display:-webkit-box;-webkit-line-clamp:var(--line-clamp, none);-webkit-box-orient:vertical;overflow:hidden}:host{display:block;position:relative}:host.sm ion-item,:host-context(kirby-card.menu-popover) :host:not([size]) ion-item{--min-height: 44px}:host.xs ion-item{--min-height: 32px}:host.xs ion-item:not(:has(kirby-checkbox,kirby-radio)){--inner-padding-top: var(--kirby-spacing-xxxs);--inner-padding-bottom: var(--kirby-spacing-xxxs)}:host .outside{--kirby-badge-font-size: 10px;display:flex;width:var(--kirby-relative-size-s);margin:0;position:absolute;left:var(--kirby-spacing-xxxs);z-index:1}ion-item::part(native){border-radius:var(--kirby-content-border-top-radius, 0) var(--kirby-content-border-top-radius, 0) var(--kirby-content-border-bottom-radius, 0) var(--kirby-content-border-bottom-radius, 0)}ion-item::part(native):focus-visible{box-shadow:var(--kirby-focus-ring-md-inset)}ion-item{--padding-top: var(--item-padding-top, 0px);--padding-bottom: var(--item-padding-bottom, 0px);--min-height: 56px;--padding-start: var(--kirby-spacing-s);--inner-padding-top: var(--kirby-spacing-xxs);--inner-padding-bottom: var(--kirby-spacing-xxs);--inner-padding-end: var(--kirby-spacing-s);--color: var(--kirby-color-content-base);--color-hover: var(--kirby-color-content-base-hover);--background: var(--kirby-item-background, var(--kirby-color-fill-base));--background-hover: var(--kirby-color-fill-base-hover);--background-hover-opacity: 1;--background-focused: var(--kirby-item-background-focused, var(--kirby-color-fill-base));--background-focused-opacity: 1;font-size:var(--kirby-font-size-n)}ion-item.ion-activated{--background-hover: var(--kirby-color-fill-base-active);--color-hover: var(--kirby-color-content-base-active)}@media screen and (orientation:landscape){ion-item{--ion-safe-area-left: 0px;--ion-safe-area-right: 0px}}ion-item ::ng-deep>[slot=end]{text-align:end}ion-item ::ng-deep>[slot=end] kirby-label{text-align:start}ion-item ::ng-deep>time[slot=end]{margin-inline-start:var(--kirby-spacing-xs)}ion-item ::ng-deep>data[slot=end],ion-item ::ng-deep>[detail][slot=end],ion-item ::ng-deep>ion-reorder[slot=end]{margin-inline-start:var(--kirby-spacing-s)}ion-item ::ng-deep>h1,ion-item ::ng-deep>h2,ion-item ::ng-deep>h3,ion-item ::ng-deep>h4,ion-item ::ng-deep>h5,ion-item ::ng-deep>h6,ion-item ::ng-deep>data,ion-item ::ng-deep>p{color:var(--kirby-color-content-base);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}ion-item ::ng-deep>:where(p){font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s)}ion-item ::ng-deep>:where(.kirby-item-title),ion-item ::ng-deep>:where(h1),ion-item ::ng-deep>:where(h2),ion-item ::ng-deep>:where(h3),ion-item ::ng-deep>:where(h4),ion-item ::ng-deep>:where(h5),ion-item ::ng-deep>:where(h6),ion-item ::ng-deep>:where(data){font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n);font-weight:400}ion-item ::ng-deep>[subtitle],ion-item ::ng-deep>[detail],ion-item ::ng-deep>.kirby-item-subtitle,ion-item ::ng-deep>.kirby-item-detail,ion-item ::ng-deep>.kirby-item-disclosure{font-size:var(--kirby-font-size-xs);line-height:var(--kirby-line-height-xs)}ion-item ::ng-deep>[subtitle]:not(:last-child),ion-item ::ng-deep>.kirby-item-subtitle:not(:last-child){margin-bottom:var(--kirby-spacing-xxxs)}ion-item ::ng-deep>[detail],ion-item ::ng-deep>.kirby-item-detail,ion-item ::ng-deep>.kirby-item-disclosure{color:var(--kirby-color-content-base-quiet)}ion-item ::ng-deep>.kirby-item-disclosure{display:flex;align-items:center}ion-item .kirby-item-disclosure kirby-icon{color:var(--kirby-color-content-base-quiet);transform:translate(var(--kirby-spacing-xxxs))}ion-item ::ng-deep>[wrap],ion-item ::ng-deep>.kirby-item-wrap{white-space:normal}@media(max-width:767px){ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item ::ng-deep>.kirby-item-title:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)){--item-padding-top: var(--kirby-spacing-xxs);--inner-padding-top: 0;--inner-padding-end: var( --kirby-spacing-l )}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) ::ng-deep>[slot=end],ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)) ::ng-deep>[slot=end]{margin-inline-start:initial}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(item-inner),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(item-inner){position:initial;gap:var(--kirby-spacing-xs)}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(input-wrapper),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(input-wrapper){justify-content:center}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside))::part(native),ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure))::part(native){flex-direction:column;align-items:flex-start}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .disclosure,ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=end]:not(.disclosure)) .disclosure{position:absolute;right:var(--kirby-spacing-xxs);top:calc(var(--item-padding-top) + .5lh - var(--kirby-spacing-xs));font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n)}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .outside{top:calc(var(--item-padding-top) + var(--kirby-spacing-xxxxs) + var(--kirby-spacing-s))}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:has([slot=start]:not(.outside)) .disclosure{top:calc(var(--item-padding-top) + var(--kirby-spacing-xxxxs) + var(--kirby-spacing-xxs))}ion-item :host-context(.kirby-trt):not(:has(kirby-checkbox,kirby-radio,kirby-toggle,[kirby-button].icon-only)) ion-item:not(:has([slot=start]:not(.outside))):has([slot=end]:not(.disclosure)) .outside{align-items:start;top:calc(var(--item-padding-top) + .5lh - var(--kirby-spacing-xxxs) * .5)}}ion-item ::ng-deep>:not([slot]){width:100%}ion-item ::ng-deep>input[slot=end],ion-item ::ng-deep>kirby-form-field[slot=end] input{margin-inline-start:var(--kirby-spacing-s);width:auto;text-align:end}ion-item{--transition: background-color, opacity 80ms linear 0ms}ion-item:has(kirby-checkbox,kirby-radio){--inner-padding-top: 0;--inner-padding-bottom: 0}ion-item:has(kirby-checkbox:not([slot]),kirby-radio:not([slot])){overflow:inherit}ion-item:has(.checkbox-disabled,.radio-disabled,.toggle-disabled){pointer-events:none}.disclosure{--kirby-icon-font-size: var(--kirby-spacing-m);padding-left:var(--kirby-spacing-xxxs);color:var(--kirby-color-content-base-quiet);display:inline-flex;justify-content:center;align-items:center}.disclosure kirby-icon{transition:transform var(--kirby-transition-duration-quick)}.disclosure kirby-icon.rotate{transform:rotate(180deg)}:host-context(kirby-dropdown) ion-item,:host-context(kirby-menu) ion-item,:host-context(kirby-popover) ion-item{--min-height: 44px}:host(.keyboard-focused) ion-item::part(native),:host-context(kirby-popover .keyboard-focused) ion-item::part(native){transition:all 80ms linear 0ms;box-shadow:var(--kirby-focus-ring-md-inset)}:host(.disabled),:host([disabled]){pointer-events:none}:host(.disabled) ion-item,:host([disabled]) ion-item{opacity:.4}:host(.selected) ion-item ::ng-deep>h1,:host(.selected) ion-item ::ng-deep>h2,:host(.selected) ion-item ::ng-deep>h3,:host(.selected) ion-item ::ng-deep>h4,:host(.selected) ion-item ::ng-deep>h5,:host(.selected) ion-item ::ng-deep>h6,:host(.selected) ion-item ::ng-deep>p,:host(.selected) ion-item ::ng-deep>data,:host-context(kirby-list .selected) ion-item ::ng-deep>h1,:host-context(kirby-list .selected) ion-item ::ng-deep>h2,:host-context(kirby-list .selected) ion-item ::ng-deep>h3,:host-context(kirby-list .selected) ion-item ::ng-deep>h4,:host-context(kirby-list .selected) ion-item ::ng-deep>h5,:host-context(kirby-list .selected) ion-item ::ng-deep>h6,:host-context(kirby-list .selected) ion-item ::ng-deep>p,:host-context(kirby-list .selected) ion-item ::ng-deep>data{font-weight:var(--kirby-font-weight-bold)}:host(.disclosure) ion-item{--inner-padding-end: var(--kirby-spacing-xxs)}:host-context(kirby-card-header) ion-item{--background: transparent}\n"]
|
|
194
|
+
}]
|
|
195
|
+
}],
|
|
196
|
+
ctorParameters: () => [
|
|
197
|
+
{ type: i0.ElementRef },
|
|
198
|
+
{ type: i0.Renderer2 },
|
|
199
|
+
{ type: i0.ChangeDetectorRef },
|
|
200
|
+
{ type: i1.IonicElementPartHelper }
|
|
201
|
+
],
|
|
202
|
+
propDecorators: {
|
|
203
|
+
disabled: [{
|
|
204
|
+
type: HostBinding,
|
|
205
|
+
args: ["class.disabled"]
|
|
206
|
+
}, { type: Input }],
|
|
207
|
+
selected: [{
|
|
208
|
+
type: HostBinding,
|
|
209
|
+
args: ["class.selected"]
|
|
210
|
+
}, { type: Input }],
|
|
211
|
+
disclosure: [{
|
|
212
|
+
type: HostBinding,
|
|
213
|
+
args: ["class.disclosure"]
|
|
214
|
+
}, { type: Input }],
|
|
215
|
+
selectable: [{ type: Input }],
|
|
216
|
+
reorderable: [{ type: Input }],
|
|
217
|
+
size: [{
|
|
218
|
+
type: HostBinding,
|
|
219
|
+
args: ["class"]
|
|
220
|
+
}, { type: Input }],
|
|
221
|
+
href: [{ type: Input }],
|
|
222
|
+
rotateIcon: [{ type: Input }],
|
|
223
|
+
checkbox: [{
|
|
224
|
+
type: ContentChild,
|
|
225
|
+
args: [CheckboxComponent, {
|
|
226
|
+
static: false,
|
|
227
|
+
read: ElementRef
|
|
228
|
+
}]
|
|
229
|
+
}],
|
|
230
|
+
radio: [{
|
|
231
|
+
type: ContentChild,
|
|
232
|
+
args: [RadioComponent, {
|
|
233
|
+
static: false,
|
|
234
|
+
read: ElementRef
|
|
235
|
+
}]
|
|
236
|
+
}],
|
|
237
|
+
toggle: [{
|
|
238
|
+
type: ContentChild,
|
|
239
|
+
args: [ToggleComponent, {
|
|
240
|
+
static: false,
|
|
241
|
+
read: ElementRef
|
|
242
|
+
}]
|
|
243
|
+
}],
|
|
244
|
+
button: [{
|
|
245
|
+
type: ContentChild,
|
|
246
|
+
args: [ButtonComponent, {
|
|
247
|
+
static: false,
|
|
248
|
+
read: ElementRef
|
|
249
|
+
}]
|
|
250
|
+
}],
|
|
251
|
+
ionItem: [{
|
|
252
|
+
type: ViewChild,
|
|
253
|
+
args: [IonItem, {
|
|
254
|
+
static: true,
|
|
255
|
+
read: ElementRef
|
|
256
|
+
}]
|
|
257
|
+
}],
|
|
258
|
+
containsNestedInteractives: [{
|
|
259
|
+
type: HostBinding,
|
|
260
|
+
args: ["class.has-interactive"]
|
|
261
|
+
}]
|
|
262
|
+
}
|
|
263
|
+
});
|
|
264
|
+
var LabelComponent = class LabelComponent {
|
|
265
|
+
constructor() {
|
|
266
|
+
this.direction = "vertical";
|
|
267
|
+
}
|
|
268
|
+
get _direction() {
|
|
269
|
+
return this.direction === "horizontal";
|
|
270
|
+
}
|
|
271
|
+
static {
|
|
272
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
273
|
+
minVersion: "12.0.0",
|
|
274
|
+
version: "22.2.2",
|
|
275
|
+
ngImport: i0,
|
|
276
|
+
type: LabelComponent,
|
|
277
|
+
deps: [],
|
|
278
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
static {
|
|
282
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
283
|
+
minVersion: "14.0.0",
|
|
284
|
+
version: "22.2.2",
|
|
285
|
+
type: LabelComponent,
|
|
286
|
+
isStandalone: true,
|
|
287
|
+
selector: "kirby-label",
|
|
288
|
+
inputs: { direction: "direction" },
|
|
289
|
+
host: { properties: { "class.horizontal": "this._direction" } },
|
|
290
|
+
ngImport: i0,
|
|
291
|
+
template: "<ion-label>\n <ng-content></ng-content>\n</ion-label>\n",
|
|
292
|
+
styles: [".kirby-line-clamp{display:-webkit-box;-webkit-line-clamp:var(--line-clamp, none);-webkit-box-orient:vertical;overflow:hidden}:host.horizontal ion-label{display:flex;flex-direction:row;justify-content:space-between;align-items:baseline}:host.horizontal ion-label ::ng-deep>:last-child{white-space:normal;overflow:visible;text-overflow:initial}:host.horizontal ion-label ::ng-deep>:not(:first-child){margin-left:var(--kirby-spacing-xs)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h1,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h2,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h3,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h4,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h5,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h6,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>data,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>p{color:var(--kirby-color-content-base);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(p){font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(.kirby-item-title),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h1),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h2),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h3),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h4),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h5),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h6),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(data){font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n);font-weight:400}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[subtitle],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[detail],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-subtitle,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-detail,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-disclosure{font-size:var(--kirby-font-size-xs);line-height:var(--kirby-line-height-xs)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[subtitle]:not(:last-child),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-subtitle:not(:last-child){margin-bottom:var(--kirby-spacing-xxxs)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[detail],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-detail,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-disclosure{color:var(--kirby-color-content-base-quiet)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-disclosure{display:flex;align-items:center}:host-context(kirby-item) ::ng-deep ion-label .kirby-item-disclosure kirby-icon{color:var(--kirby-color-content-base-quiet);transform:translate(var(--kirby-spacing-xxxs))}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[wrap],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-wrap{white-space:normal}:host-context(kirby-section-header) ion-label{--padding-end: var(--kirby-spacing-s);--padding-start: var(--kirby-spacing-s)}:host-context(kirby-section-header) ion-label ::ng-deep>[heading]{font-weight:var(--kirby-font-weight-bold);font-size:var(--kirby-font-size-m);line-height:var(--kirby-line-height-m);color:var(--kirby-section-header-color);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host-context(kirby-section-header) ion-label ::ng-deep>h2[heading],:host-context(kirby-section-header) ion-label ::ng-deep>.kirby-text-large[heading]{font-size:var(--kirby-font-size-l);line-height:var(--kirby-line-height-l)}:host-context(kirby-section-header) ion-label ::ng-deep>.kirby-text-medium[heading]{font-size:var(--kirby-font-size-m);line-height:var(--kirby-line-height-m)}:host-context(kirby-section-header) ion-label ::ng-deep>h4[heading],:host-context(kirby-section-header) ion-label ::ng-deep>h5[heading],:host-context(kirby-section-header) ion-label ::ng-deep>h6[heading],:host-context(kirby-section-header) ion-label ::ng-deep>.kirby-text-normal[heading]{font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n)}:host-context(kirby-section-header) ion-label ::ng-deep>[detail],:host-context(kirby-section-header) ion-label ::ng-deep>[label]{font-weight:var(--kirby-font-weight-light);font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s);color:var(--kirby-section-header-color);margin:var(--kirby-spacing-xxxs) 0 var(--kirby-spacing-xxs);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host-context(kirby-section-header) ion-label ::ng-deep>[wrap]{white-space:normal}:host([slot=end]) ion-label ::ng-deep>data,:host([slot=end]) ion-label ::ng-deep>[detail]{margin-inline-start:var(--kirby-spacing-s)}:host-context(kirby-item.selected) ion-label ::ng-deep>h1,:host-context(kirby-item.selected) ion-label ::ng-deep>h2,:host-context(kirby-item.selected) ion-label ::ng-deep>h3,:host-context(kirby-item.selected) ion-label ::ng-deep>h4,:host-context(kirby-item.selected) ion-label ::ng-deep>h5,:host-context(kirby-item.selected) ion-label ::ng-deep>h6,:host-context(kirby-item.selected) ion-label ::ng-deep>p:not([detail]):not(.kirby-item-detail),:host-context(kirby-item.selected) ion-label ::ng-deep>data:not([detail]):not(.kirby-item-detail){font-weight:var(--kirby-font-weight-bold)}@media(max-width:767px){:host-context(.kirby-trt) :host([slot=end]) ion-label ::ng-deep>*{margin-inline-start:0;text-align:start}:host-context(.kirby-trt) ion-label{flex-direction:column;align-items:flex-start}:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-title:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}:host-context(.kirby-trt) ion-label ::ng-deep>[subtitle],:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-subtitle:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-detail:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-disclosure{position:absolute;top:var(--padding-top, 0);right:var(--kirby-spacing-s);margin-left:0}}\n"],
|
|
293
|
+
dependencies: [{
|
|
294
|
+
kind: "component",
|
|
295
|
+
type: IonLabel,
|
|
296
|
+
selector: "ion-label",
|
|
297
|
+
inputs: [
|
|
298
|
+
"color",
|
|
299
|
+
"mode",
|
|
300
|
+
"position"
|
|
301
|
+
]
|
|
302
|
+
}],
|
|
303
|
+
changeDetection: i0.ChangeDetectionStrategy.Eager
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
};
|
|
307
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
308
|
+
minVersion: "12.0.0",
|
|
309
|
+
version: "22.2.2",
|
|
310
|
+
ngImport: i0,
|
|
311
|
+
type: LabelComponent,
|
|
312
|
+
decorators: [{
|
|
313
|
+
type: Component,
|
|
314
|
+
args: [{
|
|
315
|
+
selector: "kirby-label",
|
|
316
|
+
imports: [IonLabel],
|
|
317
|
+
changeDetection: ChangeDetectionStrategy.Eager,
|
|
318
|
+
template: "<ion-label>\n <ng-content></ng-content>\n</ion-label>\n",
|
|
319
|
+
styles: [".kirby-line-clamp{display:-webkit-box;-webkit-line-clamp:var(--line-clamp, none);-webkit-box-orient:vertical;overflow:hidden}:host.horizontal ion-label{display:flex;flex-direction:row;justify-content:space-between;align-items:baseline}:host.horizontal ion-label ::ng-deep>:last-child{white-space:normal;overflow:visible;text-overflow:initial}:host.horizontal ion-label ::ng-deep>:not(:first-child){margin-left:var(--kirby-spacing-xs)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h1,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h2,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h3,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h4,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h5,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>h6,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>data,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>p{color:var(--kirby-color-content-base);display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(p){font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(.kirby-item-title),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h1),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h2),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h3),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h4),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h5),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(h6),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>:where(data){font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n);font-weight:400}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[subtitle],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[detail],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-subtitle,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-detail,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-disclosure{font-size:var(--kirby-font-size-xs);line-height:var(--kirby-line-height-xs)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[subtitle]:not(:last-child),:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-subtitle:not(:last-child){margin-bottom:var(--kirby-spacing-xxxs)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[detail],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-detail,:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-disclosure{color:var(--kirby-color-content-base-quiet)}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-disclosure{display:flex;align-items:center}:host-context(kirby-item) ::ng-deep ion-label .kirby-item-disclosure kirby-icon{color:var(--kirby-color-content-base-quiet);transform:translate(var(--kirby-spacing-xxxs))}:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>[wrap],:host-context(kirby-item) ::ng-deep ion-label ::ng-deep>.kirby-item-wrap{white-space:normal}:host-context(kirby-section-header) ion-label{--padding-end: var(--kirby-spacing-s);--padding-start: var(--kirby-spacing-s)}:host-context(kirby-section-header) ion-label ::ng-deep>[heading]{font-weight:var(--kirby-font-weight-bold);font-size:var(--kirby-font-size-m);line-height:var(--kirby-line-height-m);color:var(--kirby-section-header-color);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host-context(kirby-section-header) ion-label ::ng-deep>h2[heading],:host-context(kirby-section-header) ion-label ::ng-deep>.kirby-text-large[heading]{font-size:var(--kirby-font-size-l);line-height:var(--kirby-line-height-l)}:host-context(kirby-section-header) ion-label ::ng-deep>.kirby-text-medium[heading]{font-size:var(--kirby-font-size-m);line-height:var(--kirby-line-height-m)}:host-context(kirby-section-header) ion-label ::ng-deep>h4[heading],:host-context(kirby-section-header) ion-label ::ng-deep>h5[heading],:host-context(kirby-section-header) ion-label ::ng-deep>h6[heading],:host-context(kirby-section-header) ion-label ::ng-deep>.kirby-text-normal[heading]{font-size:var(--kirby-font-size-n);line-height:var(--kirby-line-height-n)}:host-context(kirby-section-header) ion-label ::ng-deep>[detail],:host-context(kirby-section-header) ion-label ::ng-deep>[label]{font-weight:var(--kirby-font-weight-light);font-size:var(--kirby-font-size-s);line-height:var(--kirby-line-height-s);color:var(--kirby-section-header-color);margin:var(--kirby-spacing-xxxs) 0 var(--kirby-spacing-xxs);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host-context(kirby-section-header) ion-label ::ng-deep>[wrap]{white-space:normal}:host([slot=end]) ion-label ::ng-deep>data,:host([slot=end]) ion-label ::ng-deep>[detail]{margin-inline-start:var(--kirby-spacing-s)}:host-context(kirby-item.selected) ion-label ::ng-deep>h1,:host-context(kirby-item.selected) ion-label ::ng-deep>h2,:host-context(kirby-item.selected) ion-label ::ng-deep>h3,:host-context(kirby-item.selected) ion-label ::ng-deep>h4,:host-context(kirby-item.selected) ion-label ::ng-deep>h5,:host-context(kirby-item.selected) ion-label ::ng-deep>h6,:host-context(kirby-item.selected) ion-label ::ng-deep>p:not([detail]):not(.kirby-item-detail),:host-context(kirby-item.selected) ion-label ::ng-deep>data:not([detail]):not(.kirby-item-detail){font-weight:var(--kirby-font-weight-bold)}@media(max-width:767px){:host-context(.kirby-trt) :host([slot=end]) ion-label ::ng-deep>*{margin-inline-start:0;text-align:start}:host-context(.kirby-trt) ion-label{flex-direction:column;align-items:flex-start}:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-title:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}:host-context(.kirby-trt) ion-label ::ng-deep>[subtitle],:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-subtitle:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;text-overflow:ellipsis}:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-detail:not(.kirby-item-wrap){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}:host-context(.kirby-trt) ion-label ::ng-deep>.kirby-item-disclosure{position:absolute;top:var(--padding-top, 0);right:var(--kirby-spacing-s);margin-left:0}}\n"]
|
|
320
|
+
}]
|
|
321
|
+
}],
|
|
322
|
+
propDecorators: {
|
|
323
|
+
direction: [{ type: Input }],
|
|
324
|
+
_direction: [{
|
|
325
|
+
type: HostBinding,
|
|
326
|
+
args: ["class.horizontal"]
|
|
327
|
+
}]
|
|
328
|
+
}
|
|
329
|
+
});
|
|
136
330
|
const imports = [ItemComponent, LabelComponent];
|
|
137
|
-
class ItemModule {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
331
|
+
var ItemModule = class ItemModule {
|
|
332
|
+
static {
|
|
333
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
334
|
+
minVersion: "12.0.0",
|
|
335
|
+
version: "22.2.2",
|
|
336
|
+
ngImport: i0,
|
|
337
|
+
type: ItemModule,
|
|
338
|
+
deps: [],
|
|
339
|
+
target: i0.ɵɵFactoryTarget.NgModule
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
static {
|
|
343
|
+
this.ɵmod = i0.ɵɵngDeclareNgModule({
|
|
344
|
+
minVersion: "14.0.0",
|
|
345
|
+
version: "22.2.2",
|
|
346
|
+
ngImport: i0,
|
|
347
|
+
type: ItemModule,
|
|
348
|
+
imports: [
|
|
349
|
+
IconModule,
|
|
350
|
+
CommonModule,
|
|
351
|
+
IonItem,
|
|
352
|
+
IonReorder,
|
|
353
|
+
IonLabel,
|
|
354
|
+
ItemComponent,
|
|
355
|
+
LabelComponent
|
|
356
|
+
],
|
|
357
|
+
exports: [ItemComponent, LabelComponent]
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
static {
|
|
361
|
+
this.ɵinj = i0.ɵɵngDeclareInjector({
|
|
362
|
+
minVersion: "12.0.0",
|
|
363
|
+
version: "22.2.2",
|
|
364
|
+
ngImport: i0,
|
|
365
|
+
type: ItemModule,
|
|
366
|
+
imports: [
|
|
367
|
+
IconModule,
|
|
368
|
+
CommonModule,
|
|
369
|
+
IonItem,
|
|
370
|
+
IonReorder,
|
|
371
|
+
IonLabel,
|
|
372
|
+
imports
|
|
373
|
+
]
|
|
374
|
+
});
|
|
375
|
+
}
|
|
376
|
+
};
|
|
377
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
378
|
+
minVersion: "12.0.0",
|
|
379
|
+
version: "22.2.2",
|
|
380
|
+
ngImport: i0,
|
|
381
|
+
type: ItemModule,
|
|
382
|
+
decorators: [{
|
|
383
|
+
type: NgModule,
|
|
384
|
+
args: [{
|
|
385
|
+
imports: [
|
|
386
|
+
IconModule,
|
|
387
|
+
CommonModule,
|
|
388
|
+
IonItem,
|
|
389
|
+
IonReorder,
|
|
390
|
+
IonLabel,
|
|
391
|
+
...imports
|
|
392
|
+
],
|
|
393
|
+
exports: [...imports]
|
|
394
|
+
}]
|
|
395
|
+
}]
|
|
396
|
+
});
|
|
154
397
|
export { ItemComponent, ItemModule, ItemSize, LabelComponent };
|
|
155
|
-
|
|
398
|
+
|
|
399
|
+
//# sourceMappingURL=kirbydesign-designsystem-item.mjs.map
|