@kirbydesign/designsystem 4.0.6 → 4.0.10

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.
Files changed (122) hide show
  1. package/bundles/kirbydesign-designsystem-testing-base.umd.js +62 -85
  2. package/bundles/kirbydesign-designsystem-testing-base.umd.js.map +1 -1
  3. package/bundles/kirbydesign-designsystem-testing-base.umd.min.js +1 -1
  4. package/bundles/kirbydesign-designsystem-testing-base.umd.min.js.map +1 -1
  5. package/bundles/kirbydesign-designsystem.umd.js +297 -688
  6. package/bundles/kirbydesign-designsystem.umd.js.map +1 -1
  7. package/bundles/kirbydesign-designsystem.umd.min.js +1 -1
  8. package/bundles/kirbydesign-designsystem.umd.min.js.map +1 -1
  9. package/esm2015/kirbydesign-designsystem.js +77 -76
  10. package/esm2015/kirbydesign-designsystem.metadata.json +1 -1
  11. package/esm2015/lib/animation/kirby-animation.js +7 -7
  12. package/esm2015/lib/components/angular-component-lib/utils.js +40 -0
  13. package/esm2015/lib/components/angular-component-lib/utils.metadata.json +1 -0
  14. package/esm2015/lib/components/avatar/avatar.component.js +2 -2
  15. package/esm2015/lib/components/avatar/avatar.component.metadata.json +1 -1
  16. package/esm2015/lib/components/button/button.component.js +1 -1
  17. package/esm2015/lib/components/button/button.component.metadata.json +1 -1
  18. package/esm2015/lib/components/calendar/calendar.component.js +2 -2
  19. package/esm2015/lib/components/card/card-header/card-header.component.js +1 -1
  20. package/esm2015/lib/components/chart/chart-js/configured-chart-js.js +3 -3
  21. package/esm2015/lib/components/chart/chart-js/configured-chart-js.metadata.json +1 -1
  22. package/esm2015/lib/components/chart/configs/type.config.js +3 -2
  23. package/esm2015/lib/components/chart-deprecated/options/bar.js +2 -2
  24. package/esm2015/lib/components/chart-deprecated/options/column.js +2 -2
  25. package/esm2015/lib/components/index.js +1 -2
  26. package/esm2015/lib/components/index.metadata.json +1 -1
  27. package/esm2015/lib/components/list/directives/list-item-color.directive.js +1 -1
  28. package/esm2015/lib/components/list/list-item/list-item.component.js +1 -1
  29. package/esm2015/lib/components/list/list-item/list-item.component.metadata.json +1 -1
  30. package/esm2015/lib/components/list/list.component.js +1 -1
  31. package/esm2015/lib/components/list/list.component.metadata.json +1 -1
  32. package/esm2015/lib/components/modal/modal-wrapper/modal-wrapper.component.js +2 -2
  33. package/esm2015/lib/components/modal/modal-wrapper/modal-wrapper.component.metadata.json +1 -1
  34. package/esm2015/lib/components/modal/services/action-sheet.helper.js +3 -3
  35. package/esm2015/lib/components/modal/services/action-sheet.helper.metadata.json +1 -1
  36. package/esm2015/lib/components/page/index.js +1 -1
  37. package/esm2015/lib/components/page/index.metadata.json +1 -1
  38. package/esm2015/lib/components/page/page.component.js +9 -2
  39. package/esm2015/lib/components/page/page.component.metadata.json +1 -1
  40. package/esm2015/lib/components/page/page.module.js +3 -2
  41. package/esm2015/lib/components/page/page.module.metadata.json +1 -1
  42. package/esm2015/lib/components/segmented-control/segment-item.js +1 -1
  43. package/esm2015/lib/components/segmented-control/segmented-control.component.js +3 -3
  44. package/esm2015/lib/components/segmented-control/segmented-control.component.metadata.json +1 -1
  45. package/esm2015/lib/components/stock-chart-deprecated/options/stock-chart-deprecated-options.js +2 -2
  46. package/esm2015/lib/components/web-component-proxies.component.js +42 -0
  47. package/esm2015/lib/components/web-component-proxies.component.metadata.json +1 -0
  48. package/esm2015/lib/custom-elements-initializer.js +17 -0
  49. package/esm2015/lib/custom-elements-initializer.metadata.json +1 -0
  50. package/esm2015/lib/directives/fit-heading/fit-heading.directive.js +2 -2
  51. package/esm2015/lib/directives/fit-heading/fit-heading.directive.metadata.json +1 -1
  52. package/esm2015/lib/directives/theme-color/theme-color.directive.js +2 -3
  53. package/esm2015/lib/directives/theme-color/theme-color.directive.metadata.json +1 -1
  54. package/esm2015/lib/helpers/color-helper.js +2 -108
  55. package/esm2015/lib/helpers/color-helper.metadata.json +1 -1
  56. package/esm2015/lib/helpers/design-token-helper.js +2 -80
  57. package/esm2015/lib/helpers/design-token-helper.metadata.json +1 -1
  58. package/esm2015/lib/helpers/index.js +4 -2
  59. package/esm2015/lib/helpers/index.metadata.json +1 -1
  60. package/esm2015/lib/helpers/platform.service.js +2 -2
  61. package/esm2015/lib/helpers/string-helper.js +2 -45
  62. package/esm2015/lib/helpers/string-helper.metadata.json +1 -1
  63. package/esm2015/lib/helpers/theme-color.type.js +1 -1
  64. package/esm2015/lib/helpers/theme-color.type.metadata.json +1 -1
  65. package/esm2015/lib/index.js +5 -1
  66. package/esm2015/lib/index.metadata.json +1 -1
  67. package/esm2015/lib/kirby.module.js +4 -2
  68. package/esm2015/lib/kirby.module.metadata.json +1 -1
  69. package/esm2015/testing-base/kirbydesign-designsystem-testing-base.js +51 -52
  70. package/esm2015/testing-base/kirbydesign-designsystem-testing-base.metadata.json +1 -1
  71. package/esm2015/testing-base/lib/components/mock.page.component.js +4 -2
  72. package/esm2015/testing-base/lib/components/mock.page.component.metadata.json +1 -1
  73. package/esm2015/testing-base/lib/directives/mock.theme-color.directive.js +1 -2
  74. package/esm2015/testing-base/lib/directives/mock.theme-color.directive.metadata.json +1 -1
  75. package/esm2015/testing-base/lib/mock-components.js +1 -3
  76. package/esm2015/testing-base/lib/mock-components.metadata.json +1 -1
  77. package/fesm2015/kirbydesign-designsystem-testing-base.js +5 -25
  78. package/fesm2015/kirbydesign-designsystem-testing-base.js.map +1 -1
  79. package/fesm2015/kirbydesign-designsystem.js +132 -544
  80. package/fesm2015/kirbydesign-designsystem.js.map +1 -1
  81. package/kirbydesign-designsystem.d.ts +76 -75
  82. package/kirbydesign-designsystem.metadata.json +1 -1
  83. package/lib/components/angular-component-lib/utils.d.ts +7 -0
  84. package/lib/components/avatar/avatar.component.d.ts +1 -1
  85. package/lib/components/button/button.component.d.ts +1 -1
  86. package/lib/components/card/card-header/card-header.component.d.ts +1 -1
  87. package/lib/components/flag/flag.component.d.ts +1 -1
  88. package/lib/components/index.d.ts +0 -1
  89. package/lib/components/list/directives/list-item-color.directive.d.ts +1 -1
  90. package/lib/components/list/list-item/list-item.component.d.ts +1 -1
  91. package/lib/components/list/list.component.d.ts +1 -1
  92. package/lib/components/page/index.d.ts +1 -0
  93. package/lib/components/page/page.component.d.ts +11 -0
  94. package/lib/components/progress-circle/progress-circle.component.d.ts +1 -1
  95. package/lib/components/segmented-control/segment-item.d.ts +3 -2
  96. package/lib/components/web-component-proxies.component.d.ts +9 -0
  97. package/lib/custom-elements-initializer.d.ts +7 -0
  98. package/lib/directives/theme-color/theme-color.directive.d.ts +1 -1
  99. package/lib/helpers/color-helper.d.ts +1 -36
  100. package/lib/helpers/design-token-helper.d.ts +1 -42
  101. package/lib/helpers/index.d.ts +1 -1
  102. package/lib/helpers/string-helper.d.ts +1 -4
  103. package/lib/helpers/theme-color.type.d.ts +1 -1
  104. package/lib/index.d.ts +1 -0
  105. package/package.json +3 -2
  106. package/scss/_global-styles.scss +1 -0
  107. package/scss/base/_variables.scss +1 -0
  108. package/testing-base/kirbydesign-designsystem-testing-base.d.ts +50 -51
  109. package/testing-base/kirbydesign-designsystem-testing-base.metadata.json +1 -1
  110. package/testing-base/lib/components/mock.page.component.d.ts +2 -0
  111. package/esm2015/lib/components/badge/badge.component.js +0 -14
  112. package/esm2015/lib/components/badge/badge.component.metadata.json +0 -1
  113. package/esm2015/lib/helpers/color-helper.styles.js +0 -194
  114. package/esm2015/lib/helpers/color-helper.styles.metadata.json +0 -1
  115. package/esm2015/lib/helpers/design-token-helper.styles.js +0 -79
  116. package/esm2015/lib/helpers/design-token-helper.styles.metadata.json +0 -1
  117. package/esm2015/testing-base/lib/components/mock.badge.component.js +0 -22
  118. package/esm2015/testing-base/lib/components/mock.badge.component.metadata.json +0 -1
  119. package/lib/components/badge/badge.component.d.ts +0 -3
  120. package/lib/helpers/color-helper.styles.d.ts +0 -206
  121. package/lib/helpers/design-token-helper.styles.d.ts +0 -124
  122. package/testing-base/lib/components/mock.badge.component.d.ts +0 -3
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@ionic/angular'), require('@angular/router'), require('rxjs'), require('rxjs/operators'), require('@angular/common'), require('highcharts'), require('chart.js'), require('chartjs-plugin-annotation'), require('highcharts/highstock'), require('highcharts/modules/annotations'), require('date-fns'), require('date-fns-tz'), require('date-fns/locale'), require('@angular/forms'), require('inputmask/lib/extensions/inputmask.date.extensions'), require('inputmask/lib/inputmask'), require('inputmask/lib/extensions/inputmask.numeric.extensions'), require('@angular/animations'), require('ngx-ui-scroll')) :
3
- typeof define === 'function' && define.amd ? define('@kirbydesign/designsystem', ['exports', '@angular/core', '@ionic/angular', '@angular/router', 'rxjs', 'rxjs/operators', '@angular/common', 'highcharts', 'chart.js', 'chartjs-plugin-annotation', 'highcharts/highstock', 'highcharts/modules/annotations', 'date-fns', 'date-fns-tz', 'date-fns/locale', '@angular/forms', 'inputmask/lib/extensions/inputmask.date.extensions', 'inputmask/lib/inputmask', 'inputmask/lib/extensions/inputmask.numeric.extensions', '@angular/animations', 'ngx-ui-scroll'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.kirbydesign = global.kirbydesign || {}, global.kirbydesign.designsystem = {}), global.ng.core, global.ionic, global.ng.router, global.rxjs, global.rxjs.operators, global.ng.common, global.highcharts, global.chart_js, global.annotationPlugin, global['highcharts/highstock'], global.highcharts, global['date-fns'], global['date-fns-tz'], global.locale, global.ng.forms, null, global.inputmask, null, global.ng.animations, global['ngx-ui-scroll']));
5
- }(this, (function (exports, i0, i1, i1$1, rxjs, operators, common, Highcharts, chart_js, annotationPlugin, Highcharts$1, AnnotationsModule, dateFns, dateFnsTz, locale, forms, inputmask_date_extensions, Inputmask, inputmask_numeric_extensions, animations, ngxUiScroll) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@kirbydesign/core'), require('@angular/core'), require('@ionic/angular'), require('@angular/router'), require('rxjs'), require('rxjs/operators'), require('@angular/common'), require('highcharts'), require('chart.js'), require('chartjs-plugin-annotation'), require('highcharts/highstock'), require('highcharts/modules/annotations'), require('date-fns'), require('date-fns-tz'), require('date-fns/locale'), require('@angular/forms'), require('inputmask/lib/extensions/inputmask.date.extensions'), require('inputmask/lib/inputmask'), require('inputmask/lib/extensions/inputmask.numeric.extensions'), require('@angular/animations'), require('ngx-ui-scroll'), require('@kirbydesign/core/loader')) :
3
+ typeof define === 'function' && define.amd ? define('@kirbydesign/designsystem', ['exports', '@kirbydesign/core', '@angular/core', '@ionic/angular', '@angular/router', 'rxjs', 'rxjs/operators', '@angular/common', 'highcharts', 'chart.js', 'chartjs-plugin-annotation', 'highcharts/highstock', 'highcharts/modules/annotations', 'date-fns', 'date-fns-tz', 'date-fns/locale', '@angular/forms', 'inputmask/lib/extensions/inputmask.date.extensions', 'inputmask/lib/inputmask', 'inputmask/lib/extensions/inputmask.numeric.extensions', '@angular/animations', 'ngx-ui-scroll', '@kirbydesign/core/loader'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.kirbydesign = global.kirbydesign || {}, global.kirbydesign.designsystem = {}), global.core, global.ng.core, global.ionic, global.ng.router, global.rxjs, global.rxjs.operators, global.ng.common, global.highcharts, global.chart_js, global.annotationPlugin, global['highcharts/highstock'], global.highcharts, global['date-fns'], global['date-fns-tz'], global.locale, global.ng.forms, null, global.inputmask, null, global.ng.animations, global['ngx-ui-scroll'], global.loader));
5
+ }(this, (function (exports, core, i0, i1, i1$1, rxjs, operators, common, Highcharts, chart_js, annotationPlugin, Highcharts$1, AnnotationsModule, dateFns, dateFnsTz, locale, forms, inputmask_date_extensions, Inputmask, inputmask_numeric_extensions, animations, ngxUiScroll, loader) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -32,95 +32,16 @@
32
32
  var AnnotationsModule__default = /*#__PURE__*/_interopDefaultLegacy(AnnotationsModule);
33
33
  var Inputmask__default = /*#__PURE__*/_interopDefaultLegacy(Inputmask);
34
34
 
35
- var styles = {
36
- sizes: {
37
- xxxl: '56px',
38
- xxl: '48px',
39
- xl: '40px',
40
- l: '32px',
41
- m: '24px',
42
- s: '16px',
43
- xs: '12px',
44
- xxs: '8px',
45
- xxxs: '4px',
46
- xxxxs: '2px',
47
- },
48
- fontSizes: {
49
- xxxxl: '72px',
50
- xxxl: '56px',
51
- xxl: '40px',
52
- xl: '32px',
53
- l: '22px',
54
- m: '18px',
55
- n: '16px',
56
- s: '14px',
57
- xs: '12px',
58
- xxs: '10px',
59
- },
60
- lineHeight: { xl: '38px', l: '28px', m: '24px', n: '24px', s: '20px', xs: '16px', xxs: '11px' },
61
- fontWeight: { light: '300', normal: '400', bold: '700', black: '900' },
62
- iconFontSizes: { xs: '16px', sm: '24px', md: '32px', lg: '56px' },
63
- zLayers: {
64
- default: '1',
65
- segmentBadge: '2',
66
- dropdown: '800',
67
- popover: '850',
68
- modalOverlay: '900',
69
- modal: '901',
70
- loadingOverlay: '1001',
71
- },
72
- borderRadius: '16px',
73
- borderRadiusRound: '999px',
74
- breakpoints: {
75
- small: '321px',
76
- medium: '721px',
77
- large: '1025px',
78
- xlarge: '60em',
79
- xxlarge: '80em',
80
- },
81
- elevations: {
82
- 2: 'rgba(28, 28, 28, 0.3) 0px 5px 10px -10px, rgba(28, 28, 28, 0.08) 0px 0px 5px 0px',
83
- 4: 'rgba(28, 28, 28, 0.3) 0px 10px 15px -10px, rgba(28, 28, 28, 0.08) 0px 0px 5px 0px',
84
- 8: 'rgba(28, 28, 28, 0.3) 0px 20px 30px -15px, rgba(28, 28, 28, 0.08) 0px 0px 5px 0px',
85
- },
86
- avatarSizes: { xs: '32px', s: '40px', m: '56px', l: '96px' },
87
- avatarBadgeSize: '16px',
88
- pageContentMaxWidth: '720px',
89
- alertMaxWidth: '359px',
90
- compactModalMaxWidth: '359px',
91
- modalMaxWidth: '720px',
92
- modalHeights: { s: '288px', m: '460px', l: '576px' },
93
- modalDefaultHeight: '460px',
94
- drawerDefaultHeight: '288px',
95
- itemHeights: { m: '56px', s: '44px', xs: '32px' },
96
- dropdownItemHeight: '44px',
97
- fatFingerSize: '44px',
98
- checkboxRadioSizes: { xs: '32px', sm: '44px', md: '56px' },
99
- checkboxRadioSpacing: { toEdge: '16px', toLabel: '12px' },
100
- softKeyboardTransitionEnter: '250ms ease-out 1ms',
101
- softKeyboardTransitionLeave: '150ms ease-out',
102
- transitionDurations: { quick: '200ms', short: '300ms', long: '500ms', extraLong: '1000ms' },
103
- transitionEasings: {
104
- static: 'linear',
105
- enter: 'ease-out',
106
- exit: 'ease-in',
107
- enterExit: 'ease',
108
- motion: 'cubic-bezier(0.25, 0.1, 0.25, 1)',
109
- modal: { enter: 'cubic-bezier(0.32, 0.72, 0, 1)', exit: 'cubic-bezier(0.32, 0.72, 0, 1)' },
110
- },
111
- loadingOverlayBackdropOpacity: '0.8',
112
- };
113
-
114
35
  (function (KirbyAnimation) {
115
36
  var Duration;
116
37
  (function (Duration) {
117
38
  // Duration in milliseconds
118
- Duration[Duration["QUICK"] = parseInt(styles.transitionDurations.quick)] = "QUICK";
119
- Duration[Duration["SHORT"] = parseInt(styles.transitionDurations.short)] = "SHORT";
120
- Duration[Duration["LONG"] = parseInt(styles.transitionDurations.long)] = "LONG";
121
- Duration[Duration["EXTRA_LONG"] = parseInt(styles.transitionDurations.extraLong)] = "EXTRA_LONG";
39
+ Duration[Duration["QUICK"] = parseInt(core.DesignTokenHelper.transitionDuration('quick'))] = "QUICK";
40
+ Duration[Duration["SHORT"] = parseInt(core.DesignTokenHelper.transitionDuration('short'))] = "SHORT";
41
+ Duration[Duration["LONG"] = parseInt(core.DesignTokenHelper.transitionDuration('long'))] = "LONG";
42
+ Duration[Duration["EXTRA_LONG"] = parseInt(core.DesignTokenHelper.transitionDuration('extraLong'))] = "EXTRA_LONG";
122
43
  })(Duration = KirbyAnimation.Duration || (KirbyAnimation.Duration = {}));
123
- KirbyAnimation.Easing = styles.transitionEasings;
44
+ KirbyAnimation.Easing = core.DesignTokenHelper.transitionEasings();
124
45
  })(exports.KirbyAnimation || (exports.KirbyAnimation = {}));
125
46
 
126
47
  var RouterOutletComponent = /** @class */ (function () {
@@ -517,7 +438,7 @@
517
438
  component: ActionSheetComponent,
518
439
  cssClass: ['kirby-overlay', 'kirby-action-sheet'],
519
440
  componentProps: Object.assign(Object.assign({}, config), { cancel: cancel, itemSelect: itemSelect }),
520
- backdropDismiss: false,
441
+ backdropDismiss: true,
521
442
  })];
522
443
  case 1:
523
444
  ionModal = _a.sent();
@@ -1191,442 +1112,6 @@
1191
1112
  onFocusChange: [{ type: i0.HostListener, args: ['window:focus',] }, { type: i0.HostListener, args: ['window:focusout',] }]
1192
1113
  };
1193
1114
 
1194
- var styles$1 = {
1195
- brandColors: { primary: '#00e89a', secondary: '#005c3c', tertiary: '#01352c' },
1196
- notificationColors: { success: '#2cf287', warning: '#ffca3a', danger: '#ff595e' },
1197
- systemColors: {
1198
- backgroundColor: '#f6f6f6',
1199
- white: '#ffffff',
1200
- light: '#f2f2f2',
1201
- semiLight: '#ebebeb',
1202
- medium: '#d1d1d1',
1203
- semiDark: '#8e8e8e',
1204
- dark: '#353535',
1205
- black: '#1c1c1c',
1206
- },
1207
- textColors: { white: '#ffffff', semiDark: '#707070', black: '#1c1c1c', danger: '#ee0d0d' },
1208
- focusRingColor: '#4d90fe',
1209
- mainColors: {
1210
- primary: '#00e89a',
1211
- secondary: '#005c3c',
1212
- tertiary: '#01352c',
1213
- success: '#2cf287',
1214
- warning: '#ffca3a',
1215
- danger: '#ff595e',
1216
- light: '#f2f2f2',
1217
- medium: '#d1d1d1',
1218
- dark: '#353535',
1219
- },
1220
- kirbyColors: {
1221
- black: '#1c1c1c',
1222
- blackRgb: '28, 28, 28',
1223
- blackContrast: '#ffffff',
1224
- blackContrastRgb: '255, 255, 255',
1225
- blackShade: '#191919',
1226
- blackShadeRgb: '25, 25, 25',
1227
- blackTint: '#333333',
1228
- blackTintRgb: '51, 51, 51',
1229
- blackColorBrightness: 'dark',
1230
- dark: '#353535',
1231
- darkRgb: '53, 53, 53',
1232
- darkContrast: '#ffffff',
1233
- darkContrastRgb: '255, 255, 255',
1234
- darkShade: '#2f2f2f',
1235
- darkShadeRgb: '47, 47, 47',
1236
- darkTint: '#494949',
1237
- darkTintRgb: '73, 73, 73',
1238
- darkColorBrightness: 'dark',
1239
- semiDark: '#8e8e8e',
1240
- semiDarkRgb: '142, 142, 142',
1241
- semiDarkContrast: '#1c1c1c',
1242
- semiDarkContrastRgb: '28, 28, 28',
1243
- semiDarkShade: '#7d7d7d',
1244
- semiDarkShadeRgb: '125, 125, 125',
1245
- semiDarkTint: '#999999',
1246
- semiDarkTintRgb: '153, 153, 153',
1247
- semiDarkColorBrightness: 'light',
1248
- medium: '#d1d1d1',
1249
- mediumRgb: '209, 209, 209',
1250
- mediumContrast: '#1c1c1c',
1251
- mediumContrastRgb: '28, 28, 28',
1252
- mediumShade: '#b8b8b8',
1253
- mediumShadeRgb: '184, 184, 184',
1254
- mediumTint: '#d6d6d6',
1255
- mediumTintRgb: '214, 214, 214',
1256
- mediumColorBrightness: 'light',
1257
- semiLight: '#ebebeb',
1258
- semiLightRgb: '235, 235, 235',
1259
- semiLightContrast: '#1c1c1c',
1260
- semiLightContrastRgb: '28, 28, 28',
1261
- semiLightShade: '#cfcfcf',
1262
- semiLightShadeRgb: '207, 207, 207',
1263
- semiLightTint: '#ededed',
1264
- semiLightTintRgb: '237, 237, 237',
1265
- semiLightColorBrightness: 'light',
1266
- light: '#f2f2f2',
1267
- lightRgb: '242, 242, 242',
1268
- lightContrast: '#1c1c1c',
1269
- lightContrastRgb: '28, 28, 28',
1270
- lightShade: '#d5d5d5',
1271
- lightShadeRgb: '213, 213, 213',
1272
- lightTint: '#f3f3f3',
1273
- lightTintRgb: '243, 243, 243',
1274
- lightColorBrightness: 'light',
1275
- white: '#ffffff',
1276
- whiteRgb: '255, 255, 255',
1277
- whiteContrast: '#1c1c1c',
1278
- whiteContrastRgb: '28, 28, 28',
1279
- whiteShade: '#e0e0e0',
1280
- whiteShadeRgb: '224, 224, 224',
1281
- whiteTint: 'white',
1282
- whiteTintRgb: '255, 255, 255',
1283
- whiteColorBrightness: 'white',
1284
- backgroundColor: '#f6f6f6',
1285
- backgroundColorRgb: '246, 246, 246',
1286
- backgroundColorContrast: '#1c1c1c',
1287
- backgroundColorContrastRgb: '28, 28, 28',
1288
- backgroundColorShade: '#d8d8d8',
1289
- backgroundColorShadeRgb: '216, 216, 216',
1290
- backgroundColorTint: '#f7f7f7',
1291
- backgroundColorTintRgb: '247, 247, 247',
1292
- backgroundColorColorBrightness: 'light',
1293
- danger: '#ff595e',
1294
- dangerRgb: '255, 89, 94',
1295
- dangerContrast: '#1c1c1c',
1296
- dangerContrastRgb: '28, 28, 28',
1297
- dangerShade: '#e04e53',
1298
- dangerShadeRgb: '224, 78, 83',
1299
- dangerTint: '#ff6a6e',
1300
- dangerTintRgb: '255, 106, 110',
1301
- dangerColorBrightness: 'light',
1302
- warning: '#ffca3a',
1303
- warningRgb: '255, 202, 58',
1304
- warningContrast: '#1c1c1c',
1305
- warningContrastRgb: '28, 28, 28',
1306
- warningShade: '#e0b233',
1307
- warningShadeRgb: '224, 178, 51',
1308
- warningTint: '#ffcf4e',
1309
- warningTintRgb: '255, 207, 78',
1310
- warningColorBrightness: 'light',
1311
- success: '#2cf287',
1312
- successRgb: '44, 242, 135',
1313
- successContrast: '#1c1c1c',
1314
- successContrastRgb: '28, 28, 28',
1315
- successShade: '#27d577',
1316
- successShadeRgb: '39, 213, 119',
1317
- successTint: '#41f393',
1318
- successTintRgb: '65, 243, 147',
1319
- successColorBrightness: 'light',
1320
- tertiary: '#01352c',
1321
- tertiaryRgb: '1, 53, 44',
1322
- tertiaryContrast: '#ffffff',
1323
- tertiaryContrastRgb: '255, 255, 255',
1324
- tertiaryShade: '#012f27',
1325
- tertiaryShadeRgb: '1, 47, 39',
1326
- tertiaryTint: '#1a4941',
1327
- tertiaryTintRgb: '26, 73, 65',
1328
- tertiaryColorBrightness: 'dark',
1329
- secondary: '#005c3c',
1330
- secondaryRgb: '0, 92, 60',
1331
- secondaryContrast: '#ffffff',
1332
- secondaryContrastRgb: '255, 255, 255',
1333
- secondaryShade: '#005135',
1334
- secondaryShadeRgb: '0, 81, 53',
1335
- secondaryTint: '#1a6c50',
1336
- secondaryTintRgb: '26, 108, 80',
1337
- secondaryColorBrightness: 'dark',
1338
- primary: '#00e89a',
1339
- primaryRgb: '0, 232, 154',
1340
- primaryContrast: '#1c1c1c',
1341
- primaryContrastRgb: '28, 28, 28',
1342
- primaryShade: '#00cc88',
1343
- primaryShadeRgb: '0, 204, 136',
1344
- primaryTint: '#1aeaa4',
1345
- primaryTintRgb: '26, 234, 164',
1346
- primaryColorBrightness: 'light',
1347
- },
1348
- kirbyTextColors: {
1349
- danger: '#ee0d0d',
1350
- dangerRgb: '238, 13, 13',
1351
- dangerContrast: '#ffffff',
1352
- dangerContrastRgb: '255, 255, 255',
1353
- dangerShade: '#d10b0b',
1354
- dangerShadeRgb: '209, 11, 11',
1355
- dangerTint: '#f02525',
1356
- dangerTintRgb: '240, 37, 37',
1357
- dangerColorBrightness: 'dark',
1358
- black: '#1c1c1c',
1359
- blackRgb: '28, 28, 28',
1360
- blackContrast: '#ffffff',
1361
- blackContrastRgb: '255, 255, 255',
1362
- blackShade: '#191919',
1363
- blackShadeRgb: '25, 25, 25',
1364
- blackTint: '#333333',
1365
- blackTintRgb: '51, 51, 51',
1366
- blackColorBrightness: 'dark',
1367
- semiDark: '#707070',
1368
- semiDarkRgb: '112, 112, 112',
1369
- semiDarkContrast: '#ffffff',
1370
- semiDarkContrastRgb: '255, 255, 255',
1371
- semiDarkShade: '#636363',
1372
- semiDarkShadeRgb: '99, 99, 99',
1373
- semiDarkTint: '#7e7e7e',
1374
- semiDarkTintRgb: '126, 126, 126',
1375
- semiDarkColorBrightness: 'dark',
1376
- white: '#ffffff',
1377
- whiteRgb: '255, 255, 255',
1378
- whiteContrast: '#1c1c1c',
1379
- whiteContrastRgb: '28, 28, 28',
1380
- whiteShade: '#e0e0e0',
1381
- whiteShadeRgb: '224, 224, 224',
1382
- whiteTint: 'white',
1383
- whiteTintRgb: '255, 255, 255',
1384
- whiteColorBrightness: 'white',
1385
- },
1386
- };
1387
-
1388
- var kebabToCamelCase = function (kebabString) {
1389
- if (!kebabString.length || kebabString.length === 1) {
1390
- return kebabString;
1391
- }
1392
- var stringInCamelCase = kebabString
1393
- .split('-')
1394
- .map(function (part, index) { return (index === 0 ? part : part[0].toUpperCase() + part.substr(1)); })
1395
- .join('');
1396
- return stringInCamelCase;
1397
- };
1398
- var camelToKebabCase = function (camelString) {
1399
- if (!camelString.length || camelString.length === 1) {
1400
- return camelString;
1401
- }
1402
- var stringInKebabCase = camelString
1403
- .split('')
1404
- .map(function (char, index) {
1405
- var isUppercase = char.toUpperCase() === char;
1406
- if (!isUppercase || char === '-') {
1407
- return char;
1408
- }
1409
- return index === 0 ? char.toLowerCase() : "-" + char.toLowerCase();
1410
- })
1411
- .join('');
1412
- return stringInKebabCase;
1413
- };
1414
- var kebabToTitleCase = function (kebabString) {
1415
- if (!kebabString.length || kebabString.length === 1) {
1416
- return kebabString;
1417
- }
1418
- var stringInTitleCase = kebabString
1419
- .split('-')
1420
- .map(function (word) {
1421
- return word[0].toUpperCase() + word.slice(1);
1422
- })
1423
- .join(' ');
1424
- return stringInTitleCase;
1425
- };
1426
- var capitalizeFirstLetter = function (string) {
1427
- if (typeof string !== 'string') {
1428
- return '';
1429
- }
1430
- return string.charAt(0).toUpperCase() + string.slice(1);
1431
- };
1432
-
1433
- var ColorHelper = /** @class */ (function () {
1434
- function ColorHelper() {
1435
- }
1436
- ColorHelper.getMainColors = function () {
1437
- // Do not remove the `colorArray` const, since it'll break the ngpackagr build, for more info see:
1438
- // https://github.com/ng-packagr/ng-packagr/issues/696
1439
- var colorArray = Object.entries(styles$1.mainColors).map(function (_a) {
1440
- var _b = __read(_a, 2), name = _b[0], value = _b[1];
1441
- return ({ name: name, value: value });
1442
- });
1443
- return colorArray;
1444
- };
1445
- ColorHelper.mapToKirbyColorArray = function (colors, fullColorMap) {
1446
- if (fullColorMap === void 0) { fullColorMap = styles$1.kirbyColors; }
1447
- var TINT = 'Tint';
1448
- var SHADE = 'Shade';
1449
- var CONTRAST = 'Contrast';
1450
- var colorArray = Object.entries(colors).map(function (_a) {
1451
- var _b = __read(_a, 2), name = _b[0], value = _b[1];
1452
- return ({
1453
- name: camelToKebabCase(name),
1454
- value: value,
1455
- base: value,
1456
- tint: {
1457
- value: fullColorMap[name + TINT],
1458
- name: camelToKebabCase(name + TINT),
1459
- },
1460
- shade: {
1461
- value: fullColorMap[name + SHADE],
1462
- name: camelToKebabCase(name + SHADE),
1463
- },
1464
- contrast: {
1465
- value: fullColorMap[name + CONTRAST],
1466
- name: camelToKebabCase(name + CONTRAST),
1467
- },
1468
- });
1469
- });
1470
- // Do not remove the `colorArray` const, since it'll break the ngpackagr build, for more info see:
1471
- // https://github.com/ng-packagr/ng-packagr/issues/696
1472
- return colorArray;
1473
- };
1474
- ColorHelper.getBackgroundColor = function () {
1475
- return ColorHelper.getColor('background-color');
1476
- };
1477
- ColorHelper.getColorBrightness = function (name) {
1478
- return ColorHelper.getColor(name + '-color-brightness');
1479
- };
1480
- ColorHelper.getThemeColorRgbString = function (name) {
1481
- var rgbValue = ColorHelper.getColor(name + '-rgb');
1482
- return "rgb(" + rgbValue + ")";
1483
- };
1484
- ColorHelper.getThemeTextColorRgbString = function (name) {
1485
- var rgbValue = ColorHelper.getTextColor(name + '-rgb');
1486
- return "rgb(" + rgbValue + ")";
1487
- };
1488
- ColorHelper.getThemeColorHexString = function (name) {
1489
- return ColorHelper.getColor(name);
1490
- };
1491
- ColorHelper.getThemeTextColorHexString = function (name) {
1492
- return ColorHelper.getTextColor(name);
1493
- };
1494
- ColorHelper.getTransparentColorRgbString = function () {
1495
- return 'rgba(0, 0, 0, 0)';
1496
- };
1497
- ColorHelper.colorStringToRgbString = function (color) {
1498
- if (color.indexOf('rgb') === 0) {
1499
- return color;
1500
- }
1501
- if (color.indexOf('#') === 0) {
1502
- return ColorHelper.hexToRGB(color);
1503
- }
1504
- if (color.split(',').length === 3) {
1505
- return "rgb(" + color + ")";
1506
- }
1507
- if (color.split(',').length === 4) {
1508
- return "rgba(" + color + ")";
1509
- }
1510
- var ctx = document.createElement('canvas').getContext('2d');
1511
- ctx.fillStyle = color;
1512
- var renderedColor = ctx.fillStyle.toString();
1513
- return ColorHelper.colorStringToRgbString(renderedColor);
1514
- };
1515
- ColorHelper.hexToRGB = function (hex) {
1516
- var r = '0', g = '0', b = '0';
1517
- // 3 digits
1518
- if (hex.length === 4) {
1519
- r = '0x' + hex[1] + hex[1];
1520
- g = '0x' + hex[2] + hex[2];
1521
- b = '0x' + hex[3] + hex[3];
1522
- // 6 digits
1523
- }
1524
- else if (hex.length === 7) {
1525
- r = '0x' + hex[1] + hex[2];
1526
- g = '0x' + hex[3] + hex[4];
1527
- b = '0x' + hex[5] + hex[6];
1528
- }
1529
- return "rgb(" + +r + ", " + +g + ", " + +b + ")";
1530
- };
1531
- ColorHelper.getColor = function (name) {
1532
- var camelCaseKey = kebabToCamelCase(name);
1533
- var found = styles$1.kirbyColors[camelCaseKey];
1534
- return found || null;
1535
- };
1536
- ColorHelper.getTextColor = function (name) {
1537
- var camelCaseKey = kebabToCamelCase(name);
1538
- var found = styles$1.kirbyTextColors[camelCaseKey];
1539
- return found || null;
1540
- };
1541
- return ColorHelper;
1542
- }());
1543
- ColorHelper.brandColors = ColorHelper.mapToKirbyColorArray(styles$1.brandColors);
1544
- ColorHelper.notificationColors = ColorHelper.mapToKirbyColorArray(styles$1.notificationColors);
1545
- ColorHelper.systemColors = ColorHelper.mapToKirbyColorArray(styles$1.systemColors);
1546
- ColorHelper.textColors = ColorHelper.mapToKirbyColorArray(styles$1.textColors, styles$1.kirbyTextColors);
1547
- ColorHelper.mainColors = ColorHelper.getMainColors();
1548
-
1549
- var DesignTokenHelper = /** @class */ (function () {
1550
- function DesignTokenHelper() {
1551
- }
1552
- DesignTokenHelper.getColor = function (name, variant) {
1553
- var variantSuffix = variant ? "-" + variant : '';
1554
- var colorVariant = "" + name + variantSuffix;
1555
- return {
1556
- name: name,
1557
- variant: variant,
1558
- fullname: colorVariant,
1559
- value: ColorHelper.getThemeColorRgbString(colorVariant),
1560
- hex: ColorHelper.getThemeColorHexString(colorVariant),
1561
- };
1562
- };
1563
- DesignTokenHelper.getTextColor = function (name, variant) {
1564
- var variantSuffix = variant ? "-" + variant : '';
1565
- var colorVariant = "" + name + variantSuffix;
1566
- return {
1567
- name: name,
1568
- variant: variant,
1569
- fullname: colorVariant,
1570
- value: ColorHelper.getThemeTextColorRgbString(colorVariant),
1571
- hex: ColorHelper.getThemeTextColorHexString(colorVariant),
1572
- };
1573
- };
1574
- DesignTokenHelper.size = function (key) {
1575
- return styles.sizes[key];
1576
- };
1577
- DesignTokenHelper.fontSize = function (key) {
1578
- return styles.fontSizes[key];
1579
- };
1580
- DesignTokenHelper.iconFontSize = function (key) {
1581
- return styles.iconFontSizes[key];
1582
- };
1583
- DesignTokenHelper.fontWeight = function (key) {
1584
- return styles.fontWeight[key];
1585
- };
1586
- DesignTokenHelper.lineHeight = function (key) {
1587
- return styles.lineHeight[key];
1588
- };
1589
- DesignTokenHelper.backgroundColor = function () {
1590
- return ColorHelper.getBackgroundColor();
1591
- };
1592
- DesignTokenHelper.borderRadius = function () {
1593
- return styles.borderRadius;
1594
- };
1595
- DesignTokenHelper.borderRadiusRound = function () {
1596
- return styles.borderRadiusRound;
1597
- };
1598
- DesignTokenHelper.alertMaxWidth = function () {
1599
- return styles.alertMaxWidth;
1600
- };
1601
- DesignTokenHelper.compactModalMaxWidth = function () {
1602
- return styles.compactModalMaxWidth;
1603
- };
1604
- DesignTokenHelper.dropdownItemHeight = function () {
1605
- return styles.dropdownItemHeight;
1606
- };
1607
- DesignTokenHelper.avatarSize = function (key) {
1608
- return styles.avatarSizes[key];
1609
- };
1610
- DesignTokenHelper.fatFingerSize = function () {
1611
- return styles.fatFingerSize;
1612
- };
1613
- DesignTokenHelper.getElevation = function (z) {
1614
- return styles.elevations[z];
1615
- };
1616
- DesignTokenHelper.itemHeight = function (key) {
1617
- return styles.itemHeights[key];
1618
- };
1619
- DesignTokenHelper.zLayer = function (key) {
1620
- return styles.zLayers[key];
1621
- };
1622
- return DesignTokenHelper;
1623
- }());
1624
- DesignTokenHelper.breakpoints = styles.breakpoints;
1625
- DesignTokenHelper.softKeyboardTransitionEnter = styles.softKeyboardTransitionEnter;
1626
- DesignTokenHelper.softKeyboardTransitionLeave = styles.softKeyboardTransitionLeave;
1627
- DesignTokenHelper.modalDefaultHeight = styles.modalDefaultHeight;
1628
- DesignTokenHelper.drawerDefaultHeight = styles.drawerDefaultHeight;
1629
-
1630
1115
  var PlatformService = /** @class */ (function () {
1631
1116
  function PlatformService(windowRef) {
1632
1117
  this.windowRef = windowRef;
@@ -1636,7 +1121,7 @@
1636
1121
  return this.windowRef.nativeWindow.matchMedia(isTouchDeviceQuery).matches;
1637
1122
  };
1638
1123
  PlatformService.prototype.isPhabletOrBigger = function () {
1639
- var query = "(min-width: " + DesignTokenHelper.breakpoints.medium + ")";
1124
+ var query = "(min-width: " + core.DesignTokenHelper.breakpoints.medium + ")";
1640
1125
  return this.windowRef.nativeWindow.matchMedia(query).matches;
1641
1126
  };
1642
1127
  return PlatformService;
@@ -2186,7 +1671,7 @@
2186
1671
  _this.renderer.setStyle(scrollElement, 'height', '100%');
2187
1672
  _this.renderer.setStyle(scrollElement, 'position', 'relative');
2188
1673
  if (_this.config.flavor === 'drawer') {
2189
- _this.renderer.setStyle(scrollElement, 'transition', 'padding-bottom ' + DesignTokenHelper.softKeyboardTransitionLeave);
1674
+ _this.renderer.setStyle(scrollElement, 'transition', 'padding-bottom ' + core.DesignTokenHelper.softKeyboardTransitionLeave);
2190
1675
  }
2191
1676
  });
2192
1677
  };
@@ -3314,7 +2799,7 @@
3314
2799
  selector: 'kirby-avatar',
3315
2800
  template: "<div class=\"avatar\" [ngClass]=\"{ shadow: shadow, overlay: overlay }\">\n <img *ngIf=\"imageSrc\" [src]=\"imageSrc\" [attr.alt]=\"altText\" />\n <ng-content *ngIf=\"!text\" select=\"kirby-icon\"></ng-content>\n <span class=\"avatar-text\" *ngIf=\"text\">{{ text }}</span>\n</div>\n<ng-content select=\"kirby-badge\"></ng-content>\n",
3316
2801
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
3317
- styles: [":host{--kirby-badge-elevation:0 5px 10px -10px rgba(28,28,28,0.3),0 0 5px 0 rgba(28,28,28,0.08);--kirby-badge-position:absolute;--kirby-badge-right:-2px;--kirby-badge-top:-2px;--kirby-badge-zindex:2}.avatar,:host{position:relative}.avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;z-index:1;display:flex;justify-content:center;align-items:center;background-color:var(--kirby-white);color:var(--kirby-light-contrast);--kirby-icon-font-size:24px}.avatar.shadow{box-shadow:0 2px 4px 2px hsla(0,0%,44.3%,.4)}.avatar.overlay:before{content:\"\";background-color:var(--kirby-black);opacity:.05;width:100%;height:100%;position:absolute;top:0;left:0}.avatar img{object-fit:cover;max-width:100%;height:100%;width:100%}:host(.xs) .avatar{width:32px;height:32px;border-radius:8px}:host(.xs) .avatar .avatar-text{font-size:14px}:host(.sm) .avatar,:host-context(kirby-progress-circle.sm) .avatar{width:40px;height:40px}:host(.sm) .avatar .avatar-text,:host-context(kirby-progress-circle.sm) .avatar .avatar-text{font-size:14px}:host(.md),:host-context(kirby-progress-circle.md){--kirby-badge-right:0px;--kirby-badge-top:0px}:host(.md) .avatar,:host-context(kirby-progress-circle.md) .avatar{width:56px;height:56px;--kirby-icon-font-size:32px}:host(.md) .avatar .avatar-text,:host-context(kirby-progress-circle.md) .avatar .avatar-text{font-size:18px}:host(.lg),:host-context(kirby-progress-circle.lg){--kirby-badge-right:6px;--kirby-badge-top:6px}:host(.lg) .avatar,:host-context(kirby-progress-circle.lg) .avatar{width:96px;height:96px;--kirby-icon-font-size:56px}:host(.lg) .avatar .avatar-text,:host-context(kirby-progress-circle.lg) .avatar .avatar-text{font-size:32px}:host-context(kirby-item)[slot=start]{margin-inline-end:12px}:host-context(kirby-item)[slot=start].xs{margin-inline-end:16px}:host(.primary) .avatar{background-color:var(--kirby-primary);color:var(--kirby-primary-contrast)}:host(.secondary) .avatar{background-color:var(--kirby-secondary);color:var(--kirby-secondary-contrast)}:host(.tertiary) .avatar{background-color:var(--kirby-tertiary);color:var(--kirby-tertiary-contrast)}:host(.success) .avatar{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}:host(.warning) .avatar{background-color:var(--kirby-warning);color:var(--kirby-warning-contrast)}:host(.danger) .avatar{background-color:var(--kirby-danger);color:var(--kirby-danger-contrast)}:host(.light) .avatar{background-color:var(--kirby-light);color:var(--kirby-light-contrast)}:host(.medium) .avatar{background-color:var(--kirby-medium);color:var(--kirby-medium-contrast)}:host(.dark) .avatar{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}:host(.white) .avatar{background-color:var(--kirby-white);color:var(--kirby-white-contrast)}:host(.semi-light) .avatar{background-color:var(--kirby-semi-light);color:var(--kirby-semi-light-contrast)}"]
2802
+ styles: [":host{--kirby-badge-elevation:0 5px 10px -10px rgba(28,28,28,0.3),0 0 5px 0 rgba(28,28,28,0.08);--kirby-badge-position:absolute;--kirby-badge-right:-2px;--kirby-badge-top:-2px;--kirby-badge-z-index:2}.avatar,:host{position:relative}.avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;z-index:1;display:flex;justify-content:center;align-items:center;background-color:var(--kirby-white);color:var(--kirby-light-contrast);--kirby-icon-font-size:24px}.avatar.shadow{box-shadow:0 2px 4px 2px hsla(0,0%,44.3%,.4)}.avatar.overlay:before{content:\"\";background-color:var(--kirby-black);opacity:.05;width:100%;height:100%;position:absolute;top:0;left:0}.avatar img{object-fit:cover;max-width:100%;height:100%;width:100%}:host(.xs) .avatar{width:32px;height:32px;border-radius:8px}:host(.xs) .avatar .avatar-text{font-size:14px}:host(.sm) .avatar,:host-context(kirby-progress-circle.sm) .avatar{width:40px;height:40px}:host(.sm) .avatar .avatar-text,:host-context(kirby-progress-circle.sm) .avatar .avatar-text{font-size:14px}:host(.md),:host-context(kirby-progress-circle.md){--kirby-badge-right:0px;--kirby-badge-top:0px}:host(.md) .avatar,:host-context(kirby-progress-circle.md) .avatar{width:56px;height:56px;--kirby-icon-font-size:32px}:host(.md) .avatar .avatar-text,:host-context(kirby-progress-circle.md) .avatar .avatar-text{font-size:18px}:host(.lg),:host-context(kirby-progress-circle.lg){--kirby-badge-right:6px;--kirby-badge-top:6px}:host(.lg) .avatar,:host-context(kirby-progress-circle.lg) .avatar{width:96px;height:96px;--kirby-icon-font-size:56px}:host(.lg) .avatar .avatar-text,:host-context(kirby-progress-circle.lg) .avatar .avatar-text{font-size:32px}:host-context(kirby-item)[slot=start]{margin-inline-end:12px}:host-context(kirby-item)[slot=start].xs{margin-inline-end:16px}:host(.primary) .avatar{background-color:var(--kirby-primary);color:var(--kirby-primary-contrast)}:host(.secondary) .avatar{background-color:var(--kirby-secondary);color:var(--kirby-secondary-contrast)}:host(.tertiary) .avatar{background-color:var(--kirby-tertiary);color:var(--kirby-tertiary-contrast)}:host(.success) .avatar{background-color:var(--kirby-success);color:var(--kirby-success-contrast)}:host(.warning) .avatar{background-color:var(--kirby-warning);color:var(--kirby-warning-contrast)}:host(.danger) .avatar{background-color:var(--kirby-danger);color:var(--kirby-danger-contrast)}:host(.light) .avatar{background-color:var(--kirby-light);color:var(--kirby-light-contrast)}:host(.medium) .avatar{background-color:var(--kirby-medium);color:var(--kirby-medium-contrast)}:host(.dark) .avatar{background-color:var(--kirby-dark);color:var(--kirby-dark-contrast)}:host(.white) .avatar{background-color:var(--kirby-white);color:var(--kirby-white-contrast)}:host(.semi-light) .avatar{background-color:var(--kirby-semi-light);color:var(--kirby-semi-light-contrast)}"]
3318
2803
  },] }
3319
2804
  ];
3320
2805
  AvatarComponent.propDecorators = {
@@ -3328,22 +2813,6 @@
3328
2813
  _cssClass: [{ type: i0.HostBinding, args: ['class',] }]
3329
2814
  };
3330
2815
 
3331
- var BadgeComponent = /** @class */ (function () {
3332
- function BadgeComponent() {
3333
- }
3334
- return BadgeComponent;
3335
- }());
3336
- BadgeComponent.decorators = [
3337
- { type: i0.Component, args: [{
3338
- selector: 'kirby-badge',
3339
- template: "<ion-badge color=\"none\">\n <ng-content *ngIf=\"!text\"></ng-content>\n <ng-container *ngIf=\"text\">{{ text }}</ng-container>\n</ion-badge>\n",
3340
- styles: [":root{--kirby-badge-elevation:none;--kirby-badge-position:relative;--kirby-badge-left:0;--kirby-badge-right:0;--kirby-badge-top:0;--kirby-badge-zindex:none}:host{--kirby-badge-background-color:var(--kirby-white);--kirby-badge-color:var(--kirby-white-contrast);--ion-color-base:var(--kirby-badge-background-color);--ion-color-contrast:var(--kirby-badge-color);position:var(--kirby-badge-position);left:var(--kirby-badge-left);right:var(--kirby-badge-right);top:var(--kirby-badge-top);z-index:var(--kirby-badge-zindex);font-size:10px;line-height:1}:host ion-badge{--padding-top:3px;--padding-end:5px;--padding-bottom:3px;--padding-start:5px;box-sizing:border-box;border-radius:8px;min-width:16px;min-height:16px;font-size:inherit;position:relative;box-shadow:var(--kirby-badge-elevation)}:host ::ng-deep kirby-icon{--kirby-icon-font-size:16px;position:absolute;top:0;left:0}:host(.success){--kirby-badge-background-color:var(--kirby-success);--kirby-badge-color:var(--kirby-success-contrast)}:host(.warning){--kirby-badge-background-color:var(--kirby-warning);--kirby-badge-color:var(--kirby-warning-contrast)}:host(.danger){--kirby-badge-background-color:var(--kirby-danger);--kirby-badge-color:var(--kirby-danger-contrast);--kirby-badge-color:var(--kirby-white)}:host(.white){--kirby-badge-background-color:var(--kirby-white);--kirby-badge-color:var(--kirby-white-contrast)}"]
3341
- },] }
3342
- ];
3343
- BadgeComponent.propDecorators = {
3344
- text: [{ type: i0.Input }]
3345
- };
3346
-
3347
2816
  var CardComponent = /** @class */ (function () {
3348
2817
  function CardComponent(elementRef, resizeObserverService, renderer) {
3349
2818
  this.elementRef = elementRef;
@@ -3719,8 +3188,8 @@
3719
3188
  ],
3720
3189
  };
3721
3190
 
3722
- var getColor = DesignTokenHelper.getColor;
3723
- var fontSize = DesignTokenHelper.fontSize;
3191
+ var getColor = core.DesignTokenHelper.getColor;
3192
+ var fontSize = core.DesignTokenHelper.fontSize;
3724
3193
  function colorPoints() {
3725
3194
  var series = this.series;
3726
3195
  for (var i = 0, ie = series.length; i < ie; ++i) {
@@ -3807,8 +3276,8 @@
3807
3276
  },
3808
3277
  };
3809
3278
 
3810
- var getColor$1 = DesignTokenHelper.getColor;
3811
- var fontSize$1 = DesignTokenHelper.fontSize;
3279
+ var getColor$1 = core.DesignTokenHelper.getColor;
3280
+ var fontSize$1 = core.DesignTokenHelper.fontSize;
3812
3281
  function colorPoints$1() {
3813
3282
  var series = this.series;
3814
3283
  for (var i = 0, ie = series.length; i < ie; ++i) {
@@ -4343,7 +3812,9 @@
4343
3812
  return JSON.parse(JSON.stringify(obj));
4344
3813
  }
4345
3814
 
4346
- var getThemeColorHexString = ColorHelper.getThemeColorHexString;
3815
+ // re-export helpers from core, to preserve backwards compatability
3816
+
3817
+ var getThemeColorHexString = core.ColorHelper.getThemeColorHexString;
4347
3818
  /* The chart.js annotation does not allow for changing the
4348
3819
  defaults it comes with. In order to have sensible defaults
4349
3820
  this object is used instead and manually merged with the
@@ -4388,8 +3859,8 @@
4388
3859
  onHover: ɵ0$5,
4389
3860
  };
4390
3861
 
4391
- var fontSize$2 = DesignTokenHelper.fontSize;
4392
- var getThemeColorHexString$1 = ColorHelper.getThemeColorHexString;
3862
+ var fontSize$2 = core.DesignTokenHelper.fontSize;
3863
+ var getThemeColorHexString$1 = core.ColorHelper.getThemeColorHexString, getThemeColorRgbString = core.ColorHelper.getThemeColorRgbString;
4393
3864
  var CHART_TYPES_CONFIG = {
4394
3865
  bar: {
4395
3866
  type: 'bar',
@@ -4463,6 +3934,7 @@
4463
3934
  line: {
4464
3935
  type: 'line',
4465
3936
  options: {
3937
+ backgroundColor: getThemeColorRgbString('semi-light', 0.5),
4466
3938
  scales: {
4467
3939
  x: {
4468
3940
  grid: {
@@ -4511,7 +3983,7 @@
4511
3983
  { type: i0.Injectable }
4512
3984
  ];
4513
3985
 
4514
- var getThemeColorHexString$2 = ColorHelper.getThemeColorHexString;
3986
+ var getThemeColorHexString$2 = core.ColorHelper.getThemeColorHexString;
4515
3987
  var hoverBackgroundColor = getThemeColorHexString$2('primary');
4516
3988
  var backgroundColor = getThemeColorHexString$2('secondary');
4517
3989
  // Highlight elements that are added to the highlightedElements array
@@ -4533,7 +4005,7 @@
4533
4005
  }
4534
4006
  }
4535
4007
 
4536
- var getThemeColorHexString$3 = ColorHelper.getThemeColorHexString;
4008
+ var getThemeColorHexString$3 = core.ColorHelper.getThemeColorHexString;
4537
4009
  var CHART_GLOBAL_DEFAULTS = {
4538
4010
  maintainAspectRatio: false,
4539
4011
  color: getThemeColorHexString$3('black'),
@@ -4576,7 +4048,7 @@
4576
4048
  var CHART_SCALES = [chart_js.CategoryScale, chart_js.LinearScale];
4577
4049
  var CHART_ELEMENTS = [chart_js.BarElement, chart_js.LineElement, chart_js.PointElement];
4578
4050
  var CHART_CONTROLLERS = [chart_js.BarController, chart_js.LineController];
4579
- var CHART_PLUGINS = [annotationPlugin__default['default']];
4051
+ var CHART_PLUGINS = [annotationPlugin__default['default'], chart_js.Filler];
4580
4052
  /* Order matters; defaults must be merged after register as
4581
4053
  register modifies the Chart.defaults objects */
4582
4054
  chart_js.Chart.register.apply(chart_js.Chart, __spread([chart_js.Legend], CHART_SCALES, CHART_ELEMENTS, CHART_CONTROLLERS, CHART_PLUGINS));
@@ -4859,7 +4331,7 @@
4859
4331
  var transparentColor = 'rgba(255,255,255,0)';
4860
4332
  options.chart.backgroundColor = transparentColor;
4861
4333
  options.chart.height = height;
4862
- options.tooltip.backgroundColor = ColorHelper.getThemeColorRgbString('background-color');
4334
+ options.tooltip.backgroundColor = core.ColorHelper.getThemeColorRgbString('background-color');
4863
4335
  // Using a function instead of a lamdba-expression because of a reference to this.
4864
4336
  options.tooltip.formatter = function () {
4865
4337
  return ('<div class="kirby-text-xsmall">' +
@@ -4870,19 +4342,19 @@
4870
4342
  '</div>');
4871
4343
  };
4872
4344
  options.plotOptions.area.fillColor = transparentColor;
4873
- options.plotOptions.area.lineColor = ColorHelper.getThemeColorRgbString('tertiary');
4345
+ options.plotOptions.area.lineColor = core.ColorHelper.getThemeColorRgbString('tertiary');
4874
4346
  options.plotOptions.area.marker.lineColor = 'rgba(255,255,255,0.3)';
4875
- options.plotOptions.area.marker.fillColor = ColorHelper.getThemeColorRgbString('primary');
4347
+ options.plotOptions.area.marker.fillColor = core.ColorHelper.getThemeColorRgbString('primary');
4876
4348
  options.xAxis = Object.assign(Object.assign({}, options.xAxis), { crosshair: {
4877
- color: ColorHelper.getThemeColorRgbString('primary'),
4878
- }, tickColor: transparentColor, lineColor: ColorHelper.getThemeColorRgbString('medium'), labels: {
4349
+ color: core.ColorHelper.getThemeColorRgbString('primary'),
4350
+ }, tickColor: transparentColor, lineColor: core.ColorHelper.getThemeColorRgbString('medium'), labels: {
4879
4351
  style: {
4880
- color: ColorHelper.getThemeColorRgbString('semi-dark-tint'),
4352
+ color: core.ColorHelper.getThemeColorRgbString('semi-dark-tint'),
4881
4353
  },
4882
4354
  } });
4883
- options.yAxis = Object.assign(Object.assign({}, options.yAxis), { lineColor: transparentColor, gridLineColor: ColorHelper.getThemeColorRgbString('medium'), labels: {
4355
+ options.yAxis = Object.assign(Object.assign({}, options.yAxis), { lineColor: transparentColor, gridLineColor: core.ColorHelper.getThemeColorRgbString('medium'), labels: {
4884
4356
  style: {
4885
- color: ColorHelper.getThemeColorRgbString('semi-dark-tint'),
4357
+ color: core.ColorHelper.getThemeColorRgbString('semi-dark-tint'),
4886
4358
  },
4887
4359
  } });
4888
4360
  /*
@@ -4926,7 +4398,7 @@
4926
4398
  distance: 5,
4927
4399
  align: 'center',
4928
4400
  verticalAlign: 'top',
4929
- backgroundColor: ColorHelper.getThemeColorRgbString('tertiary'),
4401
+ backgroundColor: core.ColorHelper.getThemeColorRgbString('tertiary'),
4930
4402
  // Using a function instead of a lamdba-expression because of a reference to this.
4931
4403
  formatter: function () {
4932
4404
  return common.formatNumber(this.y, locale, '1.1-1');
@@ -4938,7 +4410,7 @@
4938
4410
  distance: -28,
4939
4411
  align: 'center',
4940
4412
  verticalAlign: 'bottom',
4941
- backgroundColor: ColorHelper.getThemeColorRgbString('tertiary'),
4413
+ backgroundColor: core.ColorHelper.getThemeColorRgbString('tertiary'),
4942
4414
  // Using a function instead of a lamdba-expression because of a reference to this.
4943
4415
  formatter: function () {
4944
4416
  return common.formatNumber(this.y, locale, '1.1-1');
@@ -5297,7 +4769,7 @@
5297
4769
  });
5298
4770
  Object.defineProperty(CalendarComponent.prototype, "activeMonthName", {
5299
4771
  get: function () {
5300
- return capitalizeFirstLetter(this.formatWithLocale(this.activeMonth, 'MMMM'));
4772
+ return core.capitalizeFirstLetter(this.formatWithLocale(this.activeMonth, 'MMMM'));
5301
4773
  },
5302
4774
  enumerable: false,
5303
4775
  configurable: true
@@ -5918,7 +5390,7 @@
5918
5390
  this.elementRef.nativeElement.style.zIndex = "" + this.zIndex;
5919
5391
  }
5920
5392
  else {
5921
- this.zIndex = parseInt(DesignTokenHelper.zLayer('popover'));
5393
+ this.zIndex = parseInt(core.DesignTokenHelper.zLayer('popover'));
5922
5394
  }
5923
5395
  };
5924
5396
  // document.removeEventListener needs the exact same event handler & options reference:
@@ -8645,6 +8117,7 @@
8645
8117
  this.titleAlignment = 'left';
8646
8118
  this.enter = new i0.EventEmitter();
8647
8119
  this.leave = new i0.EventEmitter();
8120
+ this.refresh = new i0.EventEmitter();
8648
8121
  this.pageTitleIntersectionObserverRef = this.pageTitleIntersectionObserver();
8649
8122
  this.urls = [];
8650
8123
  this.ngOnDestroy$ = new rxjs.Subject();
@@ -8711,6 +8184,11 @@
8711
8184
  _this.content.scrollToTop(exports.KirbyAnimation.Duration.LONG);
8712
8185
  });
8713
8186
  };
8187
+ PageComponent.prototype.delegateRefreshEvent = function (event) {
8188
+ this.refresh.emit({
8189
+ complete: event.target.complete.bind(event.target),
8190
+ });
8191
+ };
8714
8192
  PageComponent.prototype.onEnter = function () {
8715
8193
  if (this.hasEntered)
8716
8194
  return;
@@ -8816,7 +8294,7 @@
8816
8294
  PageComponent.decorators = [
8817
8295
  { type: i0.Component, args: [{
8818
8296
  selector: 'kirby-page',
8819
- template: "<ion-header>\n <ion-toolbar>\n <ion-buttons slot=\"start\">\n <ion-back-button\n text=\"\"\n [defaultHref]=\"defaultBackHref\"\n icon=\"assets/kirby/icons/svg/arrow-back.svg\"\n [style.visibility]=\"hideBackButton ? 'hidden' : null\"\n ></ion-back-button>\n </ion-buttons>\n <ion-title>\n <div class=\"toolbar-title hide\" [class.fade-in]=\"toolbarTitleVisible\">\n <ng-container *ngTemplateOutlet=\"toolbarTitleTemplate\"></ng-container>\n </div>\n </ion-title>\n <ion-buttons\n class=\"hide\"\n slot=\"primary\"\n [class.fade-in]=\"toolbarStickyActionsVisible && stickyActionsTemplate\"\n >\n <ng-container *ngTemplateOutlet=\"stickyActionsTemplate\"></ng-container>\n </ion-buttons>\n <ion-buttons\n class=\"hide\"\n slot=\"secondary\"\n [class.fade-in]=\"toolbarFixedActionsVisible && fixedActionsTemplate\"\n >\n <ng-container *ngTemplateOutlet=\"fixedActionsTemplate\"></ng-container>\n </ion-buttons>\n </ion-toolbar>\n</ion-header>\n\n<ion-content scrollEvents=\"true\" forceOverscroll=\"false\">\n <div class=\"content-inner\">\n <div\n class=\"page-title\"\n #pageTitle\n *ngIf=\"hasPageTitle\"\n [class.has-actions]=\"hasActionsInPage\"\n [ngClass]=\"{\n 'text-center': titleAlignment === 'center',\n 'text-right': titleAlignment === 'right'\n }\"\n >\n <ng-container\n *ngTemplateOutlet=\"customTitleTemplate || defaultPageTitleTemplate\"\n ></ng-container>\n <ng-container\n *ngTemplateOutlet=\"pageActionsTemplate || defaultPageActionsTemplate\"\n ></ng-container>\n </div>\n <!-- Content -->\n <ng-container\n *ngTemplateOutlet=\"customContentTemplate || defaultContentTemplate\"\n ></ng-container>\n </div>\n\n <div slot=\"fixed\" class=\"fixed-content\" *ngIf=\"fixedContentTemplate\">\n <div class=\"content-inner\">\n <ng-container *ngTemplateOutlet=\"fixedContentTemplate\"></ng-container>\n </div>\n </div>\n</ion-content>\n\n<ion-footer>\n <ng-content select=\"kirby-page-footer\"></ng-content>\n</ion-footer>\n\n<ng-template #defaultPageTitleTemplate>\n <h1 [kirbyFitHeading]=\"fitHeadingConfig\">\n <ng-container *ngTemplateOutlet=\"simpleTitleTemplate\"></ng-container>\n </h1>\n</ng-template>\n\n<ng-template #defaultPageActionsTemplate>\n <ng-content select=\"kirby-page-actions\"></ng-content>\n</ng-template>\n\n<ng-template #defaultContentTemplate>\n <ng-content select=\"kirby-page-content\"></ng-content>\n</ng-template>\n\n<ng-template #simpleTitleTemplate>{{ title }}</ng-template>\n<ng-template #simpleToolbarTitleTemplate>{{ toolbarTitle }}</ng-template>\n",
8297
+ template: "<ion-header>\n <ion-toolbar>\n <ion-buttons slot=\"start\">\n <ion-back-button\n text=\"\"\n [defaultHref]=\"defaultBackHref\"\n icon=\"assets/kirby/icons/svg/arrow-back.svg\"\n [style.visibility]=\"hideBackButton ? 'hidden' : null\"\n ></ion-back-button>\n </ion-buttons>\n <ion-title>\n <div class=\"toolbar-title hide\" [class.fade-in]=\"toolbarTitleVisible\">\n <ng-container *ngTemplateOutlet=\"toolbarTitleTemplate\"></ng-container>\n </div>\n </ion-title>\n <ion-buttons\n class=\"hide\"\n slot=\"primary\"\n [class.fade-in]=\"toolbarStickyActionsVisible && stickyActionsTemplate\"\n >\n <ng-container *ngTemplateOutlet=\"stickyActionsTemplate\"></ng-container>\n </ion-buttons>\n <ion-buttons\n class=\"hide\"\n slot=\"secondary\"\n [class.fade-in]=\"toolbarFixedActionsVisible && fixedActionsTemplate\"\n >\n <ng-container *ngTemplateOutlet=\"fixedActionsTemplate\"></ng-container>\n </ion-buttons>\n </ion-toolbar>\n</ion-header>\n\n<ion-content scrollEvents=\"true\" forceOverscroll=\"false\">\n <ion-refresher\n *ngIf=\"refresh.observers.length > 0\"\n (ionRefresh)=\"delegateRefreshEvent($event)\"\n slot=\"fixed\"\n >\n <kirby-spinner></kirby-spinner>\n </ion-refresher>\n\n <div class=\"content-inner\">\n <div\n class=\"page-title\"\n #pageTitle\n *ngIf=\"hasPageTitle\"\n [class.has-actions]=\"hasActionsInPage\"\n [ngClass]=\"{\n 'text-center': titleAlignment === 'center',\n 'text-right': titleAlignment === 'right'\n }\"\n >\n <ng-container\n *ngTemplateOutlet=\"customTitleTemplate || defaultPageTitleTemplate\"\n ></ng-container>\n <ng-container\n *ngTemplateOutlet=\"pageActionsTemplate || defaultPageActionsTemplate\"\n ></ng-container>\n </div>\n <!-- Content -->\n <ng-container\n *ngTemplateOutlet=\"customContentTemplate || defaultContentTemplate\"\n ></ng-container>\n </div>\n\n <div slot=\"fixed\" class=\"fixed-content\" *ngIf=\"fixedContentTemplate\">\n <div class=\"content-inner\">\n <ng-container *ngTemplateOutlet=\"fixedContentTemplate\"></ng-container>\n </div>\n </div>\n</ion-content>\n\n<ion-footer>\n <ng-content select=\"kirby-page-footer\"></ng-content>\n</ion-footer>\n\n<ng-template #defaultPageTitleTemplate>\n <h1 [kirbyFitHeading]=\"fitHeadingConfig\">\n <ng-container *ngTemplateOutlet=\"simpleTitleTemplate\"></ng-container>\n </h1>\n</ng-template>\n\n<ng-template #defaultPageActionsTemplate>\n <ng-content select=\"kirby-page-actions\"></ng-content>\n</ng-template>\n\n<ng-template #defaultContentTemplate>\n <ng-content select=\"kirby-page-content\"></ng-content>\n</ng-template>\n\n<ng-template #simpleTitleTemplate>{{ title }}</ng-template>\n<ng-template #simpleToolbarTitleTemplate>{{ toolbarTitle }}</ng-template>\n",
8820
8298
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
8821
8299
  styles: ["ion-header,ion-toolbar{--background:var(--kirby-background-color);margin:0 auto}@media (min-width:1025px) and (hover:hover) and (pointer:fine){ion-header,ion-toolbar{max-width:768px}}ion-toolbar{--border-width:0!important;--padding-start:4px;--padding-end:4px;--padding-top:0;--padding-bottom:0}ion-toolbar ion-buttons[slot=secondary]{order:6}ion-toolbar ion-title .toolbar-title{text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;overflow:hidden}ion-toolbar ion-title .toolbar-title ::ng-deep>*{text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;overflow:hidden}.hide{visibility:hidden;opacity:0;transition:opacity .1s linear}.hide.fade-in{visibility:inherit;opacity:1}ion-title{box-sizing:border-box;font-size:16px;font-weight:400}ion-back-button{--color:var(--kirby-black);--icon-font-size:24px;height:44px;width:44px}.page-title{margin-left:16px;margin-top:8px;margin-bottom:var(--kirby-page-title-margin-bottom,40px)}.page-title.has-actions{display:flex;justify-content:space-between;align-items:flex-start}.page-title.text-center{text-align:center;margin-left:0}.page-title.text-right{text-align:right}.page-title h1,.page-title h2,.page-title h3,.page-title h4,.page-title h5,.page-title h6{margin:0}ion-content{--padding-start:var(--page-content-padding-start,16px);--padding-end:var(--page-content-padding-end,16px);--background:var(--kirby-background-color)}ion-content .content-inner{max-width:var(--page-content-max-width,720px);margin:0 auto;padding-bottom:40px}ion-content .fixed-content{width:100%;position:absolute;bottom:0}ion-content .fixed-content .content-inner{position:relative}"]
8822
8300
  },] }
@@ -8841,6 +8319,7 @@
8841
8319
  tabBarBottomHidden: [{ type: i0.Input }],
8842
8320
  enter: [{ type: i0.Output }],
8843
8321
  leave: [{ type: i0.Output }],
8322
+ refresh: [{ type: i0.Output }],
8844
8323
  content: [{ type: i0.ViewChild, args: [i1.IonContent, { static: true },] }],
8845
8324
  ionContentElement: [{ type: i0.ViewChild, args: [i1.IonContent, { static: true, read: i0.ElementRef },] }],
8846
8325
  ionHeaderElement: [{ type: i0.ViewChild, args: [i1.IonHeader, { static: true, read: i0.ElementRef },] }],
@@ -8924,8 +8403,8 @@
8924
8403
  { type: i0.Renderer2 }
8925
8404
  ]; };
8926
8405
 
8927
- var fontSize$3 = DesignTokenHelper.fontSize;
8928
- var lineHeight = DesignTokenHelper.lineHeight;
8406
+ var fontSize$3 = core.DesignTokenHelper.fontSize;
8407
+ var lineHeight = core.DesignTokenHelper.lineHeight;
8929
8408
  var FitHeadingDirective = /** @class */ (function () {
8930
8409
  function FitHeadingDirective(elementRef, renderer, resizeObserverService, lineClampHelper) {
8931
8410
  this.elementRef = elementRef;
@@ -9033,6 +8512,20 @@
9033
8512
  },] }
9034
8513
  ];
9035
8514
 
8515
+ var SpinnerModule = /** @class */ (function () {
8516
+ function SpinnerModule() {
8517
+ }
8518
+ return SpinnerModule;
8519
+ }());
8520
+ SpinnerModule.decorators = [
8521
+ { type: i0.NgModule, args: [{
8522
+ declarations: [SpinnerComponent],
8523
+ imports: [common.CommonModule],
8524
+ exports: [SpinnerComponent],
8525
+ providers: [],
8526
+ },] }
8527
+ ];
8528
+
9036
8529
  var PageModule = /** @class */ (function () {
9037
8530
  function PageModule() {
9038
8531
  }
@@ -9052,7 +8545,7 @@
9052
8545
  PageTitleDirective,
9053
8546
  PageToolbarTitleDirective,
9054
8547
  ],
9055
- imports: [common.CommonModule, i1.IonicModule, FitHeadingModule],
8548
+ imports: [common.CommonModule, i1.IonicModule, FitHeadingModule, SpinnerModule],
9056
8549
  exports: [
9057
8550
  PageComponent,
9058
8551
  PageActionsComponent,
@@ -9207,10 +8700,10 @@
9207
8700
  SegmentedControlComponent.decorators = [
9208
8701
  { type: i0.Component, args: [{
9209
8702
  selector: 'kirby-segmented-control',
9210
- template: "<ion-segment\n *ngIf=\"mode === 'default'\"\n [value]=\"value?.id\"\n (ionChange)=\"onSegmentSelect($event.detail.value)\"\n (click)=\"preventWrapperClick($event)\"\n>\n <div *ngFor=\"let item of items\" class=\"segment-btn-wrapper\">\n <ion-segment-button [value]=\"item.id\">{{ item.text }}</ion-segment-button>\n <kirby-badge\n *ngIf=\"item.badge\"\n role=\"text\"\n [attr.aria-label]=\"item.badge.description\"\n [themeColor]=\"item.badge.themeColor\"\n >{{ item.badge.content }}</kirby-badge\n >\n </div>\n</ion-segment>\n\n<ng-container *ngIf=\"mode === 'chip' || mode === 'compactChip'\">\n <kirby-chip\n *ngFor=\"let item of items; let index = index\"\n [text]=\"item.text\"\n [isSelected]=\"index === selectedIndex\"\n (click)=\"onSegmentSelect(item.id)\"\n role=\"button\"\n ></kirby-chip>\n</ng-container>\n",
8703
+ template: "<ion-segment\n *ngIf=\"mode === 'default'\"\n [value]=\"value?.id\"\n (ionChange)=\"onSegmentSelect($event.detail.value)\"\n (click)=\"preventWrapperClick($event)\"\n>\n <div *ngFor=\"let item of items\" class=\"segment-btn-wrapper\">\n <ion-segment-button [value]=\"item.id\">{{ item.text }}</ion-segment-button>\n <kirby-badge\n *ngIf=\"item.badge\"\n role=\"text\"\n [attr.aria-label]=\"item.badge.description\"\n [themeColor]=\"item.badge.themeColor\"\n >\n <kirby-icon\n *ngIf=\"item.badge.icon; else badgeContent\"\n [customName]=\"item.badge.icon\"\n [name]=\"item.badge.icon\"\n ></kirby-icon>\n <ng-template #badgeContent>\n {{ item.badge.content }}\n </ng-template>\n </kirby-badge>\n </div>\n</ion-segment>\n\n<ng-container *ngIf=\"mode === 'chip' || mode === 'compactChip'\">\n <kirby-chip\n *ngFor=\"let item of items; let index = index\"\n [text]=\"item.text\"\n [isSelected]=\"index === selectedIndex\"\n (click)=\"onSegmentSelect(item.id)\"\n role=\"button\"\n ></kirby-chip>\n</ng-container>\n",
9211
8704
  // tslint:disable-next-line: no-host-metadata-property
9212
8705
  host: { role: 'group' },
9213
- styles: [":host{display:block;-webkit-user-select:none;user-select:none}:host.sm ion-segment-button{min-height:32px;font-size:12px;--padding-start:16px;--padding-end:16px}:host.chip-mode{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden}@media (pointer:coarse){:host.chip-mode{scrollbar-width:none}:host.chip-mode::-webkit-scrollbar{display:none}}ion-segment{display:inline-flex;width:auto;overflow:visible;contain:unset;--background:var(--kirby-white);border-radius:999px}ion-segment-button{position:relative;min-height:40px;font-weight:400;font-size:14px;text-transform:none;--border-radius:999px;--border-style:none;--background:none;--color:var(--kirby-white-contrast);--indicator-color:var(--kirby-black);--color-checked:var(--kirby-black-contrast);--color-hover:var(--kirby-black-tint);--indicator-box-shadow:none;--padding-start:24px;--padding-end:24px;--margin-bottom:0;--margin-end:0;--margin-start:0;--margin-top:0;margin:0}ion-segment-button:after{content:\"\";position:absolute;min-height:44px;min-width:44px;width:100%;height:100%;transform:translate(-50%,-50%);left:50%;top:50%}.segment-btn-wrapper{position:relative}kirby-badge{--kirby-badge-elevation:0 5px 10px -10px rgba(28,28,28,0.3),0 0 5px 0 rgba(28,28,28,0.08);position:absolute;top:-8px;right:8px;z-index:2}:host-context(.plt-desktop) ion-segment-button:focus-within{outline-color:-webkit-focus-ring-color;outline-style:auto}"]
8706
+ styles: [":host{display:block;-webkit-user-select:none;user-select:none;--kirby-badge-elevation:0 5px 10px -10px rgba(28,28,28,0.3),0 0 5px 0 rgba(28,28,28,0.08);--kirby-badge-position:absolute;--kirby-badge-top:-8px;--kirby-badge-right:8px;--kirby-badge-z-index:2}:host.sm ion-segment-button{min-height:32px;font-size:12px;--padding-start:16px;--padding-end:16px}:host.chip-mode{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden}@media (pointer:coarse){:host.chip-mode{scrollbar-width:none}:host.chip-mode::-webkit-scrollbar{display:none}}ion-segment{display:inline-flex;width:auto;overflow:visible;contain:unset;--background:var(--kirby-white);border-radius:999px}ion-segment-button{position:relative;min-height:40px;font-weight:400;font-size:14px;text-transform:none;--border-radius:999px;--border-style:none;--background:none;--color:var(--kirby-white-contrast);--indicator-color:var(--kirby-black);--color-checked:var(--kirby-black-contrast);--color-hover:var(--kirby-black-tint);--indicator-box-shadow:none;--padding-start:24px;--padding-end:24px;--margin-bottom:0;--margin-end:0;--margin-start:0;--margin-top:0;margin:0}ion-segment-button:after{content:\"\";position:absolute;min-height:44px;min-width:44px;width:100%;height:100%;transform:translate(-50%,-50%);left:50%;top:50%}.segment-btn-wrapper{position:relative}:host-context(.plt-desktop) ion-segment-button:focus-within{outline-color:-webkit-focus-ring-color;outline-style:auto}"]
9214
8707
  },] }
9215
8708
  ];
9216
8709
  SegmentedControlComponent.propDecorators = {
@@ -9963,7 +9456,7 @@
9963
9456
  this._isMedium = value === 'medium';
9964
9457
  this._isDark = value === 'dark';
9965
9458
  this._isWhite = value === 'white';
9966
- var colorBrightness = ColorHelper.getColorBrightness(value);
9459
+ var colorBrightness = core.ColorHelper.getColorBrightness(value);
9967
9460
  this._isBrightnessWhite = colorBrightness === 'white';
9968
9461
  this._isBrightnessLight = colorBrightness === 'light';
9969
9462
  this._isBrightnessDark = colorBrightness === 'dark';
@@ -9976,7 +9469,7 @@
9976
9469
  ThemeColorDirective.decorators = [
9977
9470
  { type: i0.Directive, args: [{
9978
9471
  // tslint:disable-next-line:directive-selector
9979
- selector: "kirby-avatar[themeColor],\n kirby-card[themeColor],\n kirby-badge[themeColor],\n kirby-icon[themeColor],\n kirby-progress-circle-ring[themeColor],\n kirby-modal-footer[themeColor],\n kirby-empty-state[themeColor]",
9472
+ selector: "kirby-avatar[themeColor],\n kirby-card[themeColor],\n kirby-icon[themeColor],\n kirby-progress-circle-ring[themeColor],\n kirby-modal-footer[themeColor],\n kirby-empty-state[themeColor]",
9980
9473
  },] }
9981
9474
  ];
9982
9475
  ThemeColorDirective.propDecorators = {
@@ -9997,6 +9490,90 @@
9997
9490
  themeColor: [{ type: i0.Input }]
9998
9491
  };
9999
9492
 
9493
+ var proxyInputs = function (Cmp, inputs) {
9494
+ var Prototype = Cmp.prototype;
9495
+ inputs.forEach(function (item) {
9496
+ Object.defineProperty(Prototype, item, {
9497
+ get: function () {
9498
+ return this.el[item];
9499
+ },
9500
+ set: function (val) {
9501
+ var _this = this;
9502
+ this.z.runOutsideAngular(function () { return (_this.el[item] = val); });
9503
+ },
9504
+ });
9505
+ });
9506
+ };
9507
+ var proxyMethods = function (Cmp, methods) {
9508
+ var Prototype = Cmp.prototype;
9509
+ methods.forEach(function (methodName) {
9510
+ Prototype[methodName] = function () {
9511
+ var _this = this;
9512
+ var args = arguments;
9513
+ return this.z.runOutsideAngular(function () { return _this.el[methodName].apply(_this.el, args); });
9514
+ };
9515
+ });
9516
+ };
9517
+ var proxyOutputs = function (instance, el, events) {
9518
+ events.forEach(function (eventName) { return (instance[eventName] = rxjs.fromEvent(el, eventName)); });
9519
+ };
9520
+ // tslint:disable-next-line: only-arrow-functions
9521
+ function ProxyCmp(opts) {
9522
+ var decorator = function (cls) {
9523
+ if (opts.inputs) {
9524
+ proxyInputs(cls, opts.inputs);
9525
+ }
9526
+ if (opts.methods) {
9527
+ proxyMethods(cls, opts.methods);
9528
+ }
9529
+ return cls;
9530
+ };
9531
+ return decorator;
9532
+ }
9533
+
9534
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
9535
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
9536
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
9537
+ r = Reflect.decorate(decorators, target, key, desc);
9538
+ else
9539
+ for (var i = decorators.length - 1; i >= 0; i--)
9540
+ if (d = decorators[i])
9541
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9542
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
9543
+ };
9544
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
9545
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
9546
+ return Reflect.metadata(k, v);
9547
+ };
9548
+ exports.BadgeComponent = /** @class */ (function () {
9549
+ function KirbyBadge(c, r, z) {
9550
+ this.z = z;
9551
+ c.detach();
9552
+ this.el = r.nativeElement;
9553
+ }
9554
+ return KirbyBadge;
9555
+ }());
9556
+ exports.BadgeComponent.decorators = [
9557
+ { type: i0.Component, args: [{
9558
+ selector: 'kirby-badge',
9559
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
9560
+ template: '<ng-content></ng-content>',
9561
+ inputs: ['size', 'text', 'themeColor']
9562
+ },] }
9563
+ ];
9564
+ /** @nocollapse */
9565
+ exports.BadgeComponent.ctorParameters = function () { return [
9566
+ { type: i0.ChangeDetectorRef },
9567
+ { type: i0.ElementRef },
9568
+ { type: i0.NgZone }
9569
+ ]; };
9570
+ exports.BadgeComponent = __decorate$1([
9571
+ ProxyCmp({
9572
+ inputs: ['size', 'text', 'themeColor']
9573
+ }),
9574
+ __metadata$1("design:paramtypes", [i0.ChangeDetectorRef, i0.ElementRef, i0.NgZone])
9575
+ ], exports.BadgeComponent);
9576
+
10000
9577
  var ChartModule = /** @class */ (function () {
10001
9578
  function ChartModule() {
10002
9579
  }
@@ -10010,20 +9587,6 @@
10010
9587
  },] }
10011
9588
  ];
10012
9589
 
10013
- var SpinnerModule = /** @class */ (function () {
10014
- function SpinnerModule() {
10015
- }
10016
- return SpinnerModule;
10017
- }());
10018
- SpinnerModule.decorators = [
10019
- { type: i0.NgModule, args: [{
10020
- declarations: [SpinnerComponent],
10021
- imports: [common.CommonModule],
10022
- exports: [SpinnerComponent],
10023
- providers: [],
10024
- },] }
10025
- ];
10026
-
10027
9590
  var exportedDeclarations = [
10028
9591
  ListComponent,
10029
9592
  ListItemComponent,
@@ -10130,6 +9693,20 @@
10130
9693
  },] }
10131
9694
  ];
10132
9695
 
9696
+ var appInitialize = function (doc) {
9697
+ return function () {
9698
+ loader.defineCustomElements(doc.defaultView);
9699
+ };
9700
+ };
9701
+ function customElementsInitializer() {
9702
+ return {
9703
+ provide: i0.APP_INITIALIZER,
9704
+ useFactory: appInitialize,
9705
+ deps: [common.DOCUMENT],
9706
+ multi: true,
9707
+ };
9708
+ }
9709
+
10133
9710
  var ModalRouterLinkDirective = /** @class */ (function () {
10134
9711
  function ModalRouterLinkDirective(modalNavigationService) {
10135
9712
  this.modalNavigationService = modalNavigationService;
@@ -10173,7 +9750,7 @@
10173
9750
  ModalRouterLinkDirective,
10174
9751
  SegmentedControlComponent,
10175
9752
  ChipComponent,
10176
- BadgeComponent,
9753
+ exports.BadgeComponent,
10177
9754
  ThemeColorDirective,
10178
9755
  DateInputDirective,
10179
9756
  DecimalMaskDirective,
@@ -10233,6 +9810,7 @@
10233
9810
  LoadingOverlayService,
10234
9811
  ResizeObserverFactory,
10235
9812
  ResizeObserverService,
9813
+ customElementsInitializer(),
10236
9814
  ];
10237
9815
  var entryComponents = [
10238
9816
  ModalWrapperComponent,
@@ -10287,6 +9865,42 @@
10287
9865
  * Generated bundle index. Do not edit.
10288
9866
  */
10289
9867
 
9868
+ Object.defineProperty(exports, 'ColorHelper', {
9869
+ enumerable: true,
9870
+ get: function () {
9871
+ return core.ColorHelper;
9872
+ }
9873
+ });
9874
+ Object.defineProperty(exports, 'DesignTokenHelper', {
9875
+ enumerable: true,
9876
+ get: function () {
9877
+ return core.DesignTokenHelper;
9878
+ }
9879
+ });
9880
+ Object.defineProperty(exports, 'camelToKebabCase', {
9881
+ enumerable: true,
9882
+ get: function () {
9883
+ return core.camelToKebabCase;
9884
+ }
9885
+ });
9886
+ Object.defineProperty(exports, 'capitalizeFirstLetter', {
9887
+ enumerable: true,
9888
+ get: function () {
9889
+ return core.capitalizeFirstLetter;
9890
+ }
9891
+ });
9892
+ Object.defineProperty(exports, 'kebabToCamelCase', {
9893
+ enumerable: true,
9894
+ get: function () {
9895
+ return core.kebabToCamelCase;
9896
+ }
9897
+ });
9898
+ Object.defineProperty(exports, 'kebabToTitleCase', {
9899
+ enumerable: true,
9900
+ get: function () {
9901
+ return core.kebabToTitleCase;
9902
+ }
9903
+ });
10290
9904
  Object.defineProperty(exports, 'IonRouterOutlet', {
10291
9905
  enumerable: true,
10292
9906
  get: function () {
@@ -10311,7 +9925,6 @@
10311
9925
  exports.AppComponent = AppComponent;
10312
9926
  exports.AppModule = AppModule;
10313
9927
  exports.AvatarComponent = AvatarComponent;
10314
- exports.BadgeComponent = BadgeComponent;
10315
9928
  exports.ButtonComponent = ButtonComponent;
10316
9929
  exports.COMPONENT_PROPS = COMPONENT_PROPS;
10317
9930
  exports.CalendarComponent = CalendarComponent;
@@ -10322,11 +9935,9 @@
10322
9935
  exports.ChartDeprecatedComponent = ChartDeprecatedComponent;
10323
9936
  exports.CheckboxComponent = CheckboxComponent;
10324
9937
  exports.ChipComponent = ChipComponent;
10325
- exports.ColorHelper = ColorHelper;
10326
9938
  exports.ComponentLoaderDirective = ComponentLoaderDirective;
10327
9939
  exports.DateInputDirective = DateInputDirective;
10328
9940
  exports.DecimalMaskDirective = DecimalMaskDirective;
10329
- exports.DesignTokenHelper = DesignTokenHelper;
10330
9941
  exports.DividerComponent = DividerComponent;
10331
9942
  exports.DropdownComponent = DropdownComponent;
10332
9943
  exports.EmptyStateComponent = EmptyStateComponent;
@@ -10407,85 +10018,81 @@
10407
10018
  exports.ToggleButtonComponent = ToggleButtonComponent;
10408
10019
  exports.ToggleComponent = ToggleComponent;
10409
10020
  exports.annotations = annotations;
10410
- exports.camelToKebabCase = camelToKebabCase;
10411
- exports.capitalizeFirstLetter = capitalizeFirstLetter;
10412
10021
  exports.defaultIcons = defaultIcons;
10413
10022
  exports.isNumberArray = isNumberArray;
10414
- exports.kebabToCamelCase = kebabToCamelCase;
10415
- exports.kebabToTitleCase = kebabToTitleCase;
10416
10023
  exports.selectedTabClickEvent = selectedTabClickEvent;
10417
10024
  exports.stockChartDeprecatedOptions = stockChartDeprecatedOptions;
10418
10025
  exports.ɵ0 = ɵ0$6;
10419
- exports.ɵa = AppModule;
10420
- exports.ɵb = AppComponent;
10421
- exports.ɵba = Modal;
10422
- exports.ɵbb = ButtonComponent;
10423
- exports.ɵbc = IconComponent;
10424
- exports.ɵbd = IconRegistryService;
10425
- exports.ɵbf = ICON_SETTINGS;
10426
- exports.ɵbg = ResizeObserverService;
10427
- exports.ɵbh = ResizeObserverFactory;
10428
- exports.ɵbi = FitHeadingModule;
10429
- exports.ɵbj = FitHeadingDirective;
10430
- exports.ɵbk = LineClampHelper;
10431
- exports.ɵbl = TabsModule;
10432
- exports.ɵbm = IconModule;
10433
- exports.ɵbn = TabButtonComponent;
10434
- exports.ɵbo = ItemModule;
10435
- exports.ɵbp = ItemComponent;
10436
- exports.ɵbq = LabelComponent;
10437
- exports.ɵbr = ToggleButtonModule;
10438
- exports.ɵbs = ToggleButtonComponent;
10439
- exports.ɵbt = ListModule;
10440
- exports.ɵbu = ListComponent;
10441
- exports.ɵbv = ListHelper;
10442
- exports.ɵbw = GroupByPipe;
10443
- exports.ɵbx = InfiniteScrollDirective;
10444
- exports.ɵby = ListItemDirective;
10445
- exports.ɵbz = ListFlexItemDirective;
10446
- exports.ɵc = RouterOutletComponent;
10447
- exports.ɵca = ListItemTemplateDirective;
10448
- exports.ɵcb = ListHeaderDirective;
10449
- exports.ɵcc = ListSectionHeaderDirective;
10450
- exports.ɵcd = ListFooterDirective;
10451
- exports.ɵce = ListItemComponent;
10452
- exports.ɵcf = ListSectionHeaderComponent;
10453
- exports.ɵcg = ListHeaderComponent;
10454
- exports.ɵch = ListItemColorDirective;
10455
- exports.ɵci = SpinnerModule;
10456
- exports.ɵcj = SpinnerComponent;
10457
- exports.ɵck = ChartModule;
10458
- exports.ɵcl = ChartComponent;
10459
- exports.ɵcm = ChartJSService;
10460
- exports.ɵcn = ChartConfigService;
10461
- exports.ɵco = CardComponent;
10462
- exports.ɵcp = CardHeaderComponent;
10463
- exports.ɵcq = CardFooterComponent;
10464
- exports.ɵcr = ChartDeprecatedComponent;
10465
- exports.ɵcs = ChartDeprecatedHelper;
10466
- exports.ɵct = DONUT_OPTIONS;
10467
- exports.ɵcu = DonutOptions;
10468
- exports.ɵcv = AREASPLINE_OPTIONS;
10469
- exports.ɵcw = AreaSplineOptions;
10470
- exports.ɵcx = TIMESERIES_OPTIONS;
10471
- exports.ɵcy = TimeSeriesOptions;
10472
- exports.ɵcz = ACTIVITYGAUGE_OPTIONS;
10473
- exports.ɵd = ModalController;
10474
- exports.ɵda = ActivityGaugeOptions;
10475
- exports.ɵdb = StockChartDeprecatedComponent;
10476
- exports.ɵdc = GridComponent;
10477
- exports.ɵdd = BreakpointHelperService;
10478
- exports.ɵde = ComponentLoaderDirective;
10479
- exports.ɵdf = AvatarComponent;
10480
- exports.ɵdg = CalendarComponent;
10481
- exports.ɵdh = CalendarHelper;
10482
- exports.ɵdi = CheckboxComponent;
10483
- exports.ɵdj = ActionSheetComponent;
10484
- exports.ɵdk = ModalFooterComponent;
10485
- exports.ɵdl = ModalRouterLinkDirective;
10486
- exports.ɵdm = SegmentedControlComponent;
10487
- exports.ɵdn = ChipComponent;
10488
- exports.ɵdo = BadgeComponent;
10026
+ exports.ɵa = ProxyCmp;
10027
+ exports.ɵb = AppModule;
10028
+ exports.ɵba = ModalWrapperComponent;
10029
+ exports.ɵbb = Modal;
10030
+ exports.ɵbc = ButtonComponent;
10031
+ exports.ɵbd = IconComponent;
10032
+ exports.ɵbe = IconRegistryService;
10033
+ exports.ɵbg = ICON_SETTINGS;
10034
+ exports.ɵbh = ResizeObserverService;
10035
+ exports.ɵbi = ResizeObserverFactory;
10036
+ exports.ɵbj = FitHeadingModule;
10037
+ exports.ɵbk = FitHeadingDirective;
10038
+ exports.ɵbl = LineClampHelper;
10039
+ exports.ɵbm = SpinnerModule;
10040
+ exports.ɵbn = SpinnerComponent;
10041
+ exports.ɵbo = TabsModule;
10042
+ exports.ɵbp = IconModule;
10043
+ exports.ɵbq = TabButtonComponent;
10044
+ exports.ɵbr = ItemModule;
10045
+ exports.ɵbs = ItemComponent;
10046
+ exports.ɵbt = LabelComponent;
10047
+ exports.ɵbu = ToggleButtonModule;
10048
+ exports.ɵbv = ToggleButtonComponent;
10049
+ exports.ɵbw = ListModule;
10050
+ exports.ɵbx = ListComponent;
10051
+ exports.ɵby = ListHelper;
10052
+ exports.ɵbz = GroupByPipe;
10053
+ exports.ɵc = AppComponent;
10054
+ exports.ɵca = InfiniteScrollDirective;
10055
+ exports.ɵcb = ListItemDirective;
10056
+ exports.ɵcc = ListFlexItemDirective;
10057
+ exports.ɵcd = ListItemTemplateDirective;
10058
+ exports.ɵce = ListHeaderDirective;
10059
+ exports.ɵcf = ListSectionHeaderDirective;
10060
+ exports.ɵcg = ListFooterDirective;
10061
+ exports.ɵch = ListItemComponent;
10062
+ exports.ɵci = ListSectionHeaderComponent;
10063
+ exports.ɵcj = ListHeaderComponent;
10064
+ exports.ɵck = ListItemColorDirective;
10065
+ exports.ɵcl = ChartModule;
10066
+ exports.ɵcm = ChartComponent;
10067
+ exports.ɵcn = ChartJSService;
10068
+ exports.ɵco = ChartConfigService;
10069
+ exports.ɵcp = CardComponent;
10070
+ exports.ɵcq = CardHeaderComponent;
10071
+ exports.ɵcr = CardFooterComponent;
10072
+ exports.ɵcs = ChartDeprecatedComponent;
10073
+ exports.ɵct = ChartDeprecatedHelper;
10074
+ exports.ɵcu = DONUT_OPTIONS;
10075
+ exports.ɵcv = DonutOptions;
10076
+ exports.ɵcw = AREASPLINE_OPTIONS;
10077
+ exports.ɵcx = AreaSplineOptions;
10078
+ exports.ɵcy = TIMESERIES_OPTIONS;
10079
+ exports.ɵcz = TimeSeriesOptions;
10080
+ exports.ɵd = RouterOutletComponent;
10081
+ exports.ɵda = ACTIVITYGAUGE_OPTIONS;
10082
+ exports.ɵdb = ActivityGaugeOptions;
10083
+ exports.ɵdc = StockChartDeprecatedComponent;
10084
+ exports.ɵdd = GridComponent;
10085
+ exports.ɵde = BreakpointHelperService;
10086
+ exports.ɵdf = ComponentLoaderDirective;
10087
+ exports.ɵdg = AvatarComponent;
10088
+ exports.ɵdh = CalendarComponent;
10089
+ exports.ɵdi = CalendarHelper;
10090
+ exports.ɵdj = CheckboxComponent;
10091
+ exports.ɵdk = ActionSheetComponent;
10092
+ exports.ɵdl = ModalFooterComponent;
10093
+ exports.ɵdm = ModalRouterLinkDirective;
10094
+ exports.ɵdn = SegmentedControlComponent;
10095
+ exports.ɵdo = ChipComponent;
10489
10096
  exports.ɵdp = ThemeColorDirective;
10490
10097
  exports.ɵdq = DateInputDirective;
10491
10098
  exports.ɵdr = DecimalMaskDirective;
@@ -10497,7 +10104,7 @@
10497
10104
  exports.ɵdx = RadioGroupComponent;
10498
10105
  exports.ɵdy = RadioComponent;
10499
10106
  exports.ɵdz = InputComponent;
10500
- exports.ɵe = ModalHelper;
10107
+ exports.ɵe = ModalController;
10501
10108
  exports.ɵea = TextareaComponent;
10502
10109
  exports.ɵeb = FabSheetComponent;
10503
10110
  exports.ɵec = DividerComponent;
@@ -10521,27 +10128,29 @@
10521
10128
  exports.ɵeu = ToastHelper;
10522
10129
  exports.ɵev = ToastController;
10523
10130
  exports.ɵew = LoadingOverlayService;
10524
- exports.ɵf = ModalAnimationBuilderService;
10525
- exports.ɵg = PlatformService;
10526
- exports.ɵh = WindowRef;
10527
- exports.ɵi = ActionSheetHelper;
10528
- exports.ɵj = AlertHelper;
10529
- exports.ɵk = ModalNavigationService;
10530
- exports.ɵl = RouterOutletModule;
10531
- exports.ɵm = PageModule;
10532
- exports.ɵn = PageTitleDirective;
10533
- exports.ɵo = PageToolbarTitleDirective;
10534
- exports.ɵp = PageActionsDirective;
10535
- exports.ɵq = PageContentDirective;
10536
- exports.ɵr = PageProgressComponent;
10537
- exports.ɵs = PageTitleComponent;
10538
- exports.ɵt = PageContentComponent;
10539
- exports.ɵu = PageActionsComponent;
10540
- exports.ɵv = PageComponent;
10541
- exports.ɵw = TabsComponent;
10542
- exports.ɵx = TabsService;
10543
- exports.ɵy = PageFooterComponent;
10544
- exports.ɵz = ModalWrapperComponent;
10131
+ exports.ɵex = appInitialize;
10132
+ exports.ɵey = customElementsInitializer;
10133
+ exports.ɵf = ModalHelper;
10134
+ exports.ɵg = ModalAnimationBuilderService;
10135
+ exports.ɵh = PlatformService;
10136
+ exports.ɵi = WindowRef;
10137
+ exports.ɵj = ActionSheetHelper;
10138
+ exports.ɵk = AlertHelper;
10139
+ exports.ɵl = ModalNavigationService;
10140
+ exports.ɵm = RouterOutletModule;
10141
+ exports.ɵn = PageModule;
10142
+ exports.ɵo = PageTitleDirective;
10143
+ exports.ɵp = PageToolbarTitleDirective;
10144
+ exports.ɵq = PageActionsDirective;
10145
+ exports.ɵr = PageContentDirective;
10146
+ exports.ɵs = PageProgressComponent;
10147
+ exports.ɵt = PageTitleComponent;
10148
+ exports.ɵu = PageContentComponent;
10149
+ exports.ɵv = PageActionsComponent;
10150
+ exports.ɵw = PageComponent;
10151
+ exports.ɵx = TabsComponent;
10152
+ exports.ɵy = TabsService;
10153
+ exports.ɵz = PageFooterComponent;
10545
10154
 
10546
10155
  Object.defineProperty(exports, '__esModule', { value: true });
10547
10156