@kirbydesign/designsystem 4.0.9 → 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 (105) hide show
  1. package/bundles/kirbydesign-designsystem-testing-base.umd.js +59 -84
  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 +271 -679
  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-deprecated/options/bar.js +2 -2
  21. package/esm2015/lib/components/chart-deprecated/options/column.js +2 -2
  22. package/esm2015/lib/components/index.js +1 -2
  23. package/esm2015/lib/components/index.metadata.json +1 -1
  24. package/esm2015/lib/components/list/directives/list-item-color.directive.js +1 -1
  25. package/esm2015/lib/components/list/list-item/list-item.component.js +1 -1
  26. package/esm2015/lib/components/list/list-item/list-item.component.metadata.json +1 -1
  27. package/esm2015/lib/components/list/list.component.js +1 -1
  28. package/esm2015/lib/components/list/list.component.metadata.json +1 -1
  29. package/esm2015/lib/components/modal/modal-wrapper/modal-wrapper.component.js +2 -2
  30. package/esm2015/lib/components/modal/modal-wrapper/modal-wrapper.component.metadata.json +1 -1
  31. package/esm2015/lib/components/segmented-control/segment-item.js +1 -1
  32. package/esm2015/lib/components/segmented-control/segmented-control.component.js +3 -3
  33. package/esm2015/lib/components/segmented-control/segmented-control.component.metadata.json +1 -1
  34. package/esm2015/lib/components/stock-chart-deprecated/options/stock-chart-deprecated-options.js +2 -2
  35. package/esm2015/lib/components/web-component-proxies.component.js +42 -0
  36. package/esm2015/lib/components/web-component-proxies.component.metadata.json +1 -0
  37. package/esm2015/lib/custom-elements-initializer.js +17 -0
  38. package/esm2015/lib/custom-elements-initializer.metadata.json +1 -0
  39. package/esm2015/lib/directives/fit-heading/fit-heading.directive.js +2 -2
  40. package/esm2015/lib/directives/fit-heading/fit-heading.directive.metadata.json +1 -1
  41. package/esm2015/lib/directives/theme-color/theme-color.directive.js +2 -3
  42. package/esm2015/lib/directives/theme-color/theme-color.directive.metadata.json +1 -1
  43. package/esm2015/lib/helpers/color-helper.js +2 -117
  44. package/esm2015/lib/helpers/color-helper.metadata.json +1 -1
  45. package/esm2015/lib/helpers/design-token-helper.js +2 -80
  46. package/esm2015/lib/helpers/design-token-helper.metadata.json +1 -1
  47. package/esm2015/lib/helpers/index.js +4 -2
  48. package/esm2015/lib/helpers/index.metadata.json +1 -1
  49. package/esm2015/lib/helpers/platform.service.js +2 -2
  50. package/esm2015/lib/helpers/string-helper.js +2 -45
  51. package/esm2015/lib/helpers/string-helper.metadata.json +1 -1
  52. package/esm2015/lib/helpers/theme-color.type.js +1 -1
  53. package/esm2015/lib/helpers/theme-color.type.metadata.json +1 -1
  54. package/esm2015/lib/index.js +5 -1
  55. package/esm2015/lib/index.metadata.json +1 -1
  56. package/esm2015/lib/kirby.module.js +4 -2
  57. package/esm2015/lib/kirby.module.metadata.json +1 -1
  58. package/esm2015/testing-base/kirbydesign-designsystem-testing-base.js +51 -52
  59. package/esm2015/testing-base/kirbydesign-designsystem-testing-base.metadata.json +1 -1
  60. package/esm2015/testing-base/lib/directives/mock.theme-color.directive.js +1 -2
  61. package/esm2015/testing-base/lib/directives/mock.theme-color.directive.metadata.json +1 -1
  62. package/esm2015/testing-base/lib/mock-components.js +1 -3
  63. package/esm2015/testing-base/lib/mock-components.metadata.json +1 -1
  64. package/fesm2015/kirbydesign-designsystem-testing-base.js +2 -24
  65. package/fesm2015/kirbydesign-designsystem-testing-base.js.map +1 -1
  66. package/fesm2015/kirbydesign-designsystem.js +107 -536
  67. package/fesm2015/kirbydesign-designsystem.js.map +1 -1
  68. package/kirbydesign-designsystem.d.ts +76 -75
  69. package/kirbydesign-designsystem.metadata.json +1 -1
  70. package/lib/components/angular-component-lib/utils.d.ts +7 -0
  71. package/lib/components/avatar/avatar.component.d.ts +1 -1
  72. package/lib/components/button/button.component.d.ts +1 -1
  73. package/lib/components/card/card-header/card-header.component.d.ts +1 -1
  74. package/lib/components/flag/flag.component.d.ts +1 -1
  75. package/lib/components/index.d.ts +0 -1
  76. package/lib/components/list/directives/list-item-color.directive.d.ts +1 -1
  77. package/lib/components/list/list-item/list-item.component.d.ts +1 -1
  78. package/lib/components/list/list.component.d.ts +1 -1
  79. package/lib/components/progress-circle/progress-circle.component.d.ts +1 -1
  80. package/lib/components/segmented-control/segment-item.d.ts +3 -2
  81. package/lib/components/web-component-proxies.component.d.ts +9 -0
  82. package/lib/custom-elements-initializer.d.ts +7 -0
  83. package/lib/directives/theme-color/theme-color.directive.d.ts +1 -1
  84. package/lib/helpers/color-helper.d.ts +1 -37
  85. package/lib/helpers/design-token-helper.d.ts +1 -42
  86. package/lib/helpers/index.d.ts +1 -1
  87. package/lib/helpers/string-helper.d.ts +1 -4
  88. package/lib/helpers/theme-color.type.d.ts +1 -1
  89. package/lib/index.d.ts +1 -0
  90. package/package.json +3 -2
  91. package/scss/base/_variables.scss +1 -0
  92. package/testing-base/kirbydesign-designsystem-testing-base.d.ts +50 -51
  93. package/testing-base/kirbydesign-designsystem-testing-base.metadata.json +1 -1
  94. package/esm2015/lib/components/badge/badge.component.js +0 -14
  95. package/esm2015/lib/components/badge/badge.component.metadata.json +0 -1
  96. package/esm2015/lib/helpers/color-helper.styles.js +0 -194
  97. package/esm2015/lib/helpers/color-helper.styles.metadata.json +0 -1
  98. package/esm2015/lib/helpers/design-token-helper.styles.js +0 -79
  99. package/esm2015/lib/helpers/design-token-helper.styles.metadata.json +0 -1
  100. package/esm2015/testing-base/lib/components/mock.badge.component.js +0 -22
  101. package/esm2015/testing-base/lib/components/mock.badge.component.metadata.json +0 -1
  102. package/lib/components/badge/badge.component.d.ts +0 -3
  103. package/lib/helpers/color-helper.styles.d.ts +0 -206
  104. package/lib/helpers/design-token-helper.styles.d.ts +0 -124
  105. 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 () {
@@ -1191,451 +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, opacity) {
1481
- var rgbValue = ColorHelper.getColor(name + '-rgb');
1482
- return opacity
1483
- ? "rgba(" + rgbValue + ", " + ColorHelper.opacityThreshold(opacity) + ")"
1484
- : "rgb(" + rgbValue + ")";
1485
- };
1486
- ColorHelper.getThemeTextColorRgbString = function (name) {
1487
- var rgbValue = ColorHelper.getTextColor(name + '-rgb');
1488
- return "rgb(" + rgbValue + ")";
1489
- };
1490
- ColorHelper.getThemeColorHexString = function (name) {
1491
- return ColorHelper.getColor(name);
1492
- };
1493
- ColorHelper.getThemeTextColorHexString = function (name) {
1494
- return ColorHelper.getTextColor(name);
1495
- };
1496
- ColorHelper.getTransparentColorRgbString = function () {
1497
- return 'rgba(0, 0, 0, 0)';
1498
- };
1499
- ColorHelper.colorStringToRgbString = function (color) {
1500
- if (color.indexOf('rgb') === 0) {
1501
- return color;
1502
- }
1503
- if (color.indexOf('#') === 0) {
1504
- return ColorHelper.hexToRGB(color);
1505
- }
1506
- if (color.split(',').length === 3) {
1507
- return "rgb(" + color + ")";
1508
- }
1509
- if (color.split(',').length === 4) {
1510
- return "rgba(" + color + ")";
1511
- }
1512
- var ctx = document.createElement('canvas').getContext('2d');
1513
- ctx.fillStyle = color;
1514
- var renderedColor = ctx.fillStyle.toString();
1515
- return ColorHelper.colorStringToRgbString(renderedColor);
1516
- };
1517
- ColorHelper.hexToRGB = function (hex) {
1518
- var r = '0', g = '0', b = '0';
1519
- // 3 digits
1520
- if (hex.length === 4) {
1521
- r = '0x' + hex[1] + hex[1];
1522
- g = '0x' + hex[2] + hex[2];
1523
- b = '0x' + hex[3] + hex[3];
1524
- // 6 digits
1525
- }
1526
- else if (hex.length === 7) {
1527
- r = '0x' + hex[1] + hex[2];
1528
- g = '0x' + hex[3] + hex[4];
1529
- b = '0x' + hex[5] + hex[6];
1530
- }
1531
- return "rgb(" + +r + ", " + +g + ", " + +b + ")";
1532
- };
1533
- ColorHelper.getColor = function (name) {
1534
- var camelCaseKey = kebabToCamelCase(name);
1535
- var found = styles$1.kirbyColors[camelCaseKey];
1536
- return found || null;
1537
- };
1538
- ColorHelper.getTextColor = function (name) {
1539
- var camelCaseKey = kebabToCamelCase(name);
1540
- var found = styles$1.kirbyTextColors[camelCaseKey];
1541
- return found || null;
1542
- };
1543
- ColorHelper.opacityThreshold = function (opacity) {
1544
- if (0 <= opacity && opacity <= 1) {
1545
- return opacity;
1546
- }
1547
- console.warn("Opacity value must be between 0 and 1. Current value is: " + opacity + ".");
1548
- return 1;
1549
- };
1550
- return ColorHelper;
1551
- }());
1552
- ColorHelper.brandColors = ColorHelper.mapToKirbyColorArray(styles$1.brandColors);
1553
- ColorHelper.notificationColors = ColorHelper.mapToKirbyColorArray(styles$1.notificationColors);
1554
- ColorHelper.systemColors = ColorHelper.mapToKirbyColorArray(styles$1.systemColors);
1555
- ColorHelper.textColors = ColorHelper.mapToKirbyColorArray(styles$1.textColors, styles$1.kirbyTextColors);
1556
- ColorHelper.mainColors = ColorHelper.getMainColors();
1557
-
1558
- var DesignTokenHelper = /** @class */ (function () {
1559
- function DesignTokenHelper() {
1560
- }
1561
- DesignTokenHelper.getColor = function (name, variant) {
1562
- var variantSuffix = variant ? "-" + variant : '';
1563
- var colorVariant = "" + name + variantSuffix;
1564
- return {
1565
- name: name,
1566
- variant: variant,
1567
- fullname: colorVariant,
1568
- value: ColorHelper.getThemeColorRgbString(colorVariant),
1569
- hex: ColorHelper.getThemeColorHexString(colorVariant),
1570
- };
1571
- };
1572
- DesignTokenHelper.getTextColor = function (name, variant) {
1573
- var variantSuffix = variant ? "-" + variant : '';
1574
- var colorVariant = "" + name + variantSuffix;
1575
- return {
1576
- name: name,
1577
- variant: variant,
1578
- fullname: colorVariant,
1579
- value: ColorHelper.getThemeTextColorRgbString(colorVariant),
1580
- hex: ColorHelper.getThemeTextColorHexString(colorVariant),
1581
- };
1582
- };
1583
- DesignTokenHelper.size = function (key) {
1584
- return styles.sizes[key];
1585
- };
1586
- DesignTokenHelper.fontSize = function (key) {
1587
- return styles.fontSizes[key];
1588
- };
1589
- DesignTokenHelper.iconFontSize = function (key) {
1590
- return styles.iconFontSizes[key];
1591
- };
1592
- DesignTokenHelper.fontWeight = function (key) {
1593
- return styles.fontWeight[key];
1594
- };
1595
- DesignTokenHelper.lineHeight = function (key) {
1596
- return styles.lineHeight[key];
1597
- };
1598
- DesignTokenHelper.backgroundColor = function () {
1599
- return ColorHelper.getBackgroundColor();
1600
- };
1601
- DesignTokenHelper.borderRadius = function () {
1602
- return styles.borderRadius;
1603
- };
1604
- DesignTokenHelper.borderRadiusRound = function () {
1605
- return styles.borderRadiusRound;
1606
- };
1607
- DesignTokenHelper.alertMaxWidth = function () {
1608
- return styles.alertMaxWidth;
1609
- };
1610
- DesignTokenHelper.compactModalMaxWidth = function () {
1611
- return styles.compactModalMaxWidth;
1612
- };
1613
- DesignTokenHelper.dropdownItemHeight = function () {
1614
- return styles.dropdownItemHeight;
1615
- };
1616
- DesignTokenHelper.avatarSize = function (key) {
1617
- return styles.avatarSizes[key];
1618
- };
1619
- DesignTokenHelper.fatFingerSize = function () {
1620
- return styles.fatFingerSize;
1621
- };
1622
- DesignTokenHelper.getElevation = function (z) {
1623
- return styles.elevations[z];
1624
- };
1625
- DesignTokenHelper.itemHeight = function (key) {
1626
- return styles.itemHeights[key];
1627
- };
1628
- DesignTokenHelper.zLayer = function (key) {
1629
- return styles.zLayers[key];
1630
- };
1631
- return DesignTokenHelper;
1632
- }());
1633
- DesignTokenHelper.breakpoints = styles.breakpoints;
1634
- DesignTokenHelper.softKeyboardTransitionEnter = styles.softKeyboardTransitionEnter;
1635
- DesignTokenHelper.softKeyboardTransitionLeave = styles.softKeyboardTransitionLeave;
1636
- DesignTokenHelper.modalDefaultHeight = styles.modalDefaultHeight;
1637
- DesignTokenHelper.drawerDefaultHeight = styles.drawerDefaultHeight;
1638
-
1639
1115
  var PlatformService = /** @class */ (function () {
1640
1116
  function PlatformService(windowRef) {
1641
1117
  this.windowRef = windowRef;
@@ -1645,7 +1121,7 @@
1645
1121
  return this.windowRef.nativeWindow.matchMedia(isTouchDeviceQuery).matches;
1646
1122
  };
1647
1123
  PlatformService.prototype.isPhabletOrBigger = function () {
1648
- var query = "(min-width: " + DesignTokenHelper.breakpoints.medium + ")";
1124
+ var query = "(min-width: " + core.DesignTokenHelper.breakpoints.medium + ")";
1649
1125
  return this.windowRef.nativeWindow.matchMedia(query).matches;
1650
1126
  };
1651
1127
  return PlatformService;
@@ -2195,7 +1671,7 @@
2195
1671
  _this.renderer.setStyle(scrollElement, 'height', '100%');
2196
1672
  _this.renderer.setStyle(scrollElement, 'position', 'relative');
2197
1673
  if (_this.config.flavor === 'drawer') {
2198
- _this.renderer.setStyle(scrollElement, 'transition', 'padding-bottom ' + DesignTokenHelper.softKeyboardTransitionLeave);
1674
+ _this.renderer.setStyle(scrollElement, 'transition', 'padding-bottom ' + core.DesignTokenHelper.softKeyboardTransitionLeave);
2199
1675
  }
2200
1676
  });
2201
1677
  };
@@ -3323,7 +2799,7 @@
3323
2799
  selector: 'kirby-avatar',
3324
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",
3325
2801
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
3326
- 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)}"]
3327
2803
  },] }
3328
2804
  ];
3329
2805
  AvatarComponent.propDecorators = {
@@ -3337,22 +2813,6 @@
3337
2813
  _cssClass: [{ type: i0.HostBinding, args: ['class',] }]
3338
2814
  };
3339
2815
 
3340
- var BadgeComponent = /** @class */ (function () {
3341
- function BadgeComponent() {
3342
- }
3343
- return BadgeComponent;
3344
- }());
3345
- BadgeComponent.decorators = [
3346
- { type: i0.Component, args: [{
3347
- selector: 'kirby-badge',
3348
- template: "<ion-badge color=\"none\">\n <ng-content *ngIf=\"!text\"></ng-content>\n <ng-container *ngIf=\"text\">{{ text }}</ng-container>\n</ion-badge>\n",
3349
- 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)}"]
3350
- },] }
3351
- ];
3352
- BadgeComponent.propDecorators = {
3353
- text: [{ type: i0.Input }]
3354
- };
3355
-
3356
2816
  var CardComponent = /** @class */ (function () {
3357
2817
  function CardComponent(elementRef, resizeObserverService, renderer) {
3358
2818
  this.elementRef = elementRef;
@@ -3728,8 +3188,8 @@
3728
3188
  ],
3729
3189
  };
3730
3190
 
3731
- var getColor = DesignTokenHelper.getColor;
3732
- var fontSize = DesignTokenHelper.fontSize;
3191
+ var getColor = core.DesignTokenHelper.getColor;
3192
+ var fontSize = core.DesignTokenHelper.fontSize;
3733
3193
  function colorPoints() {
3734
3194
  var series = this.series;
3735
3195
  for (var i = 0, ie = series.length; i < ie; ++i) {
@@ -3816,8 +3276,8 @@
3816
3276
  },
3817
3277
  };
3818
3278
 
3819
- var getColor$1 = DesignTokenHelper.getColor;
3820
- var fontSize$1 = DesignTokenHelper.fontSize;
3279
+ var getColor$1 = core.DesignTokenHelper.getColor;
3280
+ var fontSize$1 = core.DesignTokenHelper.fontSize;
3821
3281
  function colorPoints$1() {
3822
3282
  var series = this.series;
3823
3283
  for (var i = 0, ie = series.length; i < ie; ++i) {
@@ -4352,7 +3812,9 @@
4352
3812
  return JSON.parse(JSON.stringify(obj));
4353
3813
  }
4354
3814
 
4355
- var getThemeColorHexString = ColorHelper.getThemeColorHexString;
3815
+ // re-export helpers from core, to preserve backwards compatability
3816
+
3817
+ var getThemeColorHexString = core.ColorHelper.getThemeColorHexString;
4356
3818
  /* The chart.js annotation does not allow for changing the
4357
3819
  defaults it comes with. In order to have sensible defaults
4358
3820
  this object is used instead and manually merged with the
@@ -4397,8 +3859,8 @@
4397
3859
  onHover: ɵ0$5,
4398
3860
  };
4399
3861
 
4400
- var fontSize$2 = DesignTokenHelper.fontSize;
4401
- var getThemeColorHexString$1 = ColorHelper.getThemeColorHexString, getThemeColorRgbString = ColorHelper.getThemeColorRgbString;
3862
+ var fontSize$2 = core.DesignTokenHelper.fontSize;
3863
+ var getThemeColorHexString$1 = core.ColorHelper.getThemeColorHexString, getThemeColorRgbString = core.ColorHelper.getThemeColorRgbString;
4402
3864
  var CHART_TYPES_CONFIG = {
4403
3865
  bar: {
4404
3866
  type: 'bar',
@@ -4521,7 +3983,7 @@
4521
3983
  { type: i0.Injectable }
4522
3984
  ];
4523
3985
 
4524
- var getThemeColorHexString$2 = ColorHelper.getThemeColorHexString;
3986
+ var getThemeColorHexString$2 = core.ColorHelper.getThemeColorHexString;
4525
3987
  var hoverBackgroundColor = getThemeColorHexString$2('primary');
4526
3988
  var backgroundColor = getThemeColorHexString$2('secondary');
4527
3989
  // Highlight elements that are added to the highlightedElements array
@@ -4543,7 +4005,7 @@
4543
4005
  }
4544
4006
  }
4545
4007
 
4546
- var getThemeColorHexString$3 = ColorHelper.getThemeColorHexString;
4008
+ var getThemeColorHexString$3 = core.ColorHelper.getThemeColorHexString;
4547
4009
  var CHART_GLOBAL_DEFAULTS = {
4548
4010
  maintainAspectRatio: false,
4549
4011
  color: getThemeColorHexString$3('black'),
@@ -4869,7 +4331,7 @@
4869
4331
  var transparentColor = 'rgba(255,255,255,0)';
4870
4332
  options.chart.backgroundColor = transparentColor;
4871
4333
  options.chart.height = height;
4872
- options.tooltip.backgroundColor = ColorHelper.getThemeColorRgbString('background-color');
4334
+ options.tooltip.backgroundColor = core.ColorHelper.getThemeColorRgbString('background-color');
4873
4335
  // Using a function instead of a lamdba-expression because of a reference to this.
4874
4336
  options.tooltip.formatter = function () {
4875
4337
  return ('<div class="kirby-text-xsmall">' +
@@ -4880,19 +4342,19 @@
4880
4342
  '</div>');
4881
4343
  };
4882
4344
  options.plotOptions.area.fillColor = transparentColor;
4883
- options.plotOptions.area.lineColor = ColorHelper.getThemeColorRgbString('tertiary');
4345
+ options.plotOptions.area.lineColor = core.ColorHelper.getThemeColorRgbString('tertiary');
4884
4346
  options.plotOptions.area.marker.lineColor = 'rgba(255,255,255,0.3)';
4885
- options.plotOptions.area.marker.fillColor = ColorHelper.getThemeColorRgbString('primary');
4347
+ options.plotOptions.area.marker.fillColor = core.ColorHelper.getThemeColorRgbString('primary');
4886
4348
  options.xAxis = Object.assign(Object.assign({}, options.xAxis), { crosshair: {
4887
- color: ColorHelper.getThemeColorRgbString('primary'),
4888
- }, tickColor: transparentColor, lineColor: ColorHelper.getThemeColorRgbString('medium'), labels: {
4349
+ color: core.ColorHelper.getThemeColorRgbString('primary'),
4350
+ }, tickColor: transparentColor, lineColor: core.ColorHelper.getThemeColorRgbString('medium'), labels: {
4889
4351
  style: {
4890
- color: ColorHelper.getThemeColorRgbString('semi-dark-tint'),
4352
+ color: core.ColorHelper.getThemeColorRgbString('semi-dark-tint'),
4891
4353
  },
4892
4354
  } });
4893
- 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: {
4894
4356
  style: {
4895
- color: ColorHelper.getThemeColorRgbString('semi-dark-tint'),
4357
+ color: core.ColorHelper.getThemeColorRgbString('semi-dark-tint'),
4896
4358
  },
4897
4359
  } });
4898
4360
  /*
@@ -4936,7 +4398,7 @@
4936
4398
  distance: 5,
4937
4399
  align: 'center',
4938
4400
  verticalAlign: 'top',
4939
- backgroundColor: ColorHelper.getThemeColorRgbString('tertiary'),
4401
+ backgroundColor: core.ColorHelper.getThemeColorRgbString('tertiary'),
4940
4402
  // Using a function instead of a lamdba-expression because of a reference to this.
4941
4403
  formatter: function () {
4942
4404
  return common.formatNumber(this.y, locale, '1.1-1');
@@ -4948,7 +4410,7 @@
4948
4410
  distance: -28,
4949
4411
  align: 'center',
4950
4412
  verticalAlign: 'bottom',
4951
- backgroundColor: ColorHelper.getThemeColorRgbString('tertiary'),
4413
+ backgroundColor: core.ColorHelper.getThemeColorRgbString('tertiary'),
4952
4414
  // Using a function instead of a lamdba-expression because of a reference to this.
4953
4415
  formatter: function () {
4954
4416
  return common.formatNumber(this.y, locale, '1.1-1');
@@ -5307,7 +4769,7 @@
5307
4769
  });
5308
4770
  Object.defineProperty(CalendarComponent.prototype, "activeMonthName", {
5309
4771
  get: function () {
5310
- return capitalizeFirstLetter(this.formatWithLocale(this.activeMonth, 'MMMM'));
4772
+ return core.capitalizeFirstLetter(this.formatWithLocale(this.activeMonth, 'MMMM'));
5311
4773
  },
5312
4774
  enumerable: false,
5313
4775
  configurable: true
@@ -5928,7 +5390,7 @@
5928
5390
  this.elementRef.nativeElement.style.zIndex = "" + this.zIndex;
5929
5391
  }
5930
5392
  else {
5931
- this.zIndex = parseInt(DesignTokenHelper.zLayer('popover'));
5393
+ this.zIndex = parseInt(core.DesignTokenHelper.zLayer('popover'));
5932
5394
  }
5933
5395
  };
5934
5396
  // document.removeEventListener needs the exact same event handler & options reference:
@@ -8941,8 +8403,8 @@
8941
8403
  { type: i0.Renderer2 }
8942
8404
  ]; };
8943
8405
 
8944
- var fontSize$3 = DesignTokenHelper.fontSize;
8945
- var lineHeight = DesignTokenHelper.lineHeight;
8406
+ var fontSize$3 = core.DesignTokenHelper.fontSize;
8407
+ var lineHeight = core.DesignTokenHelper.lineHeight;
8946
8408
  var FitHeadingDirective = /** @class */ (function () {
8947
8409
  function FitHeadingDirective(elementRef, renderer, resizeObserverService, lineClampHelper) {
8948
8410
  this.elementRef = elementRef;
@@ -9238,10 +8700,10 @@
9238
8700
  SegmentedControlComponent.decorators = [
9239
8701
  { type: i0.Component, args: [{
9240
8702
  selector: 'kirby-segmented-control',
9241
- 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",
9242
8704
  // tslint:disable-next-line: no-host-metadata-property
9243
8705
  host: { role: 'group' },
9244
- 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}"]
9245
8707
  },] }
9246
8708
  ];
9247
8709
  SegmentedControlComponent.propDecorators = {
@@ -9994,7 +9456,7 @@
9994
9456
  this._isMedium = value === 'medium';
9995
9457
  this._isDark = value === 'dark';
9996
9458
  this._isWhite = value === 'white';
9997
- var colorBrightness = ColorHelper.getColorBrightness(value);
9459
+ var colorBrightness = core.ColorHelper.getColorBrightness(value);
9998
9460
  this._isBrightnessWhite = colorBrightness === 'white';
9999
9461
  this._isBrightnessLight = colorBrightness === 'light';
10000
9462
  this._isBrightnessDark = colorBrightness === 'dark';
@@ -10007,7 +9469,7 @@
10007
9469
  ThemeColorDirective.decorators = [
10008
9470
  { type: i0.Directive, args: [{
10009
9471
  // tslint:disable-next-line:directive-selector
10010
- 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]",
10011
9473
  },] }
10012
9474
  ];
10013
9475
  ThemeColorDirective.propDecorators = {
@@ -10028,6 +9490,90 @@
10028
9490
  themeColor: [{ type: i0.Input }]
10029
9491
  };
10030
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
+
10031
9577
  var ChartModule = /** @class */ (function () {
10032
9578
  function ChartModule() {
10033
9579
  }
@@ -10147,6 +9693,20 @@
10147
9693
  },] }
10148
9694
  ];
10149
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
+
10150
9710
  var ModalRouterLinkDirective = /** @class */ (function () {
10151
9711
  function ModalRouterLinkDirective(modalNavigationService) {
10152
9712
  this.modalNavigationService = modalNavigationService;
@@ -10190,7 +9750,7 @@
10190
9750
  ModalRouterLinkDirective,
10191
9751
  SegmentedControlComponent,
10192
9752
  ChipComponent,
10193
- BadgeComponent,
9753
+ exports.BadgeComponent,
10194
9754
  ThemeColorDirective,
10195
9755
  DateInputDirective,
10196
9756
  DecimalMaskDirective,
@@ -10250,6 +9810,7 @@
10250
9810
  LoadingOverlayService,
10251
9811
  ResizeObserverFactory,
10252
9812
  ResizeObserverService,
9813
+ customElementsInitializer(),
10253
9814
  ];
10254
9815
  var entryComponents = [
10255
9816
  ModalWrapperComponent,
@@ -10304,6 +9865,42 @@
10304
9865
  * Generated bundle index. Do not edit.
10305
9866
  */
10306
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
+ });
10307
9904
  Object.defineProperty(exports, 'IonRouterOutlet', {
10308
9905
  enumerable: true,
10309
9906
  get: function () {
@@ -10328,7 +9925,6 @@
10328
9925
  exports.AppComponent = AppComponent;
10329
9926
  exports.AppModule = AppModule;
10330
9927
  exports.AvatarComponent = AvatarComponent;
10331
- exports.BadgeComponent = BadgeComponent;
10332
9928
  exports.ButtonComponent = ButtonComponent;
10333
9929
  exports.COMPONENT_PROPS = COMPONENT_PROPS;
10334
9930
  exports.CalendarComponent = CalendarComponent;
@@ -10339,11 +9935,9 @@
10339
9935
  exports.ChartDeprecatedComponent = ChartDeprecatedComponent;
10340
9936
  exports.CheckboxComponent = CheckboxComponent;
10341
9937
  exports.ChipComponent = ChipComponent;
10342
- exports.ColorHelper = ColorHelper;
10343
9938
  exports.ComponentLoaderDirective = ComponentLoaderDirective;
10344
9939
  exports.DateInputDirective = DateInputDirective;
10345
9940
  exports.DecimalMaskDirective = DecimalMaskDirective;
10346
- exports.DesignTokenHelper = DesignTokenHelper;
10347
9941
  exports.DividerComponent = DividerComponent;
10348
9942
  exports.DropdownComponent = DropdownComponent;
10349
9943
  exports.EmptyStateComponent = EmptyStateComponent;
@@ -10424,85 +10018,81 @@
10424
10018
  exports.ToggleButtonComponent = ToggleButtonComponent;
10425
10019
  exports.ToggleComponent = ToggleComponent;
10426
10020
  exports.annotations = annotations;
10427
- exports.camelToKebabCase = camelToKebabCase;
10428
- exports.capitalizeFirstLetter = capitalizeFirstLetter;
10429
10021
  exports.defaultIcons = defaultIcons;
10430
10022
  exports.isNumberArray = isNumberArray;
10431
- exports.kebabToCamelCase = kebabToCamelCase;
10432
- exports.kebabToTitleCase = kebabToTitleCase;
10433
10023
  exports.selectedTabClickEvent = selectedTabClickEvent;
10434
10024
  exports.stockChartDeprecatedOptions = stockChartDeprecatedOptions;
10435
10025
  exports.ɵ0 = ɵ0$6;
10436
- exports.ɵa = AppModule;
10437
- exports.ɵb = AppComponent;
10438
- exports.ɵba = Modal;
10439
- exports.ɵbb = ButtonComponent;
10440
- exports.ɵbc = IconComponent;
10441
- exports.ɵbd = IconRegistryService;
10442
- exports.ɵbf = ICON_SETTINGS;
10443
- exports.ɵbg = ResizeObserverService;
10444
- exports.ɵbh = ResizeObserverFactory;
10445
- exports.ɵbi = FitHeadingModule;
10446
- exports.ɵbj = FitHeadingDirective;
10447
- exports.ɵbk = LineClampHelper;
10448
- exports.ɵbl = SpinnerModule;
10449
- exports.ɵbm = SpinnerComponent;
10450
- exports.ɵbn = TabsModule;
10451
- exports.ɵbo = IconModule;
10452
- exports.ɵbp = TabButtonComponent;
10453
- exports.ɵbq = ItemModule;
10454
- exports.ɵbr = ItemComponent;
10455
- exports.ɵbs = LabelComponent;
10456
- exports.ɵbt = ToggleButtonModule;
10457
- exports.ɵbu = ToggleButtonComponent;
10458
- exports.ɵbv = ListModule;
10459
- exports.ɵbw = ListComponent;
10460
- exports.ɵbx = ListHelper;
10461
- exports.ɵby = GroupByPipe;
10462
- exports.ɵbz = InfiniteScrollDirective;
10463
- exports.ɵc = RouterOutletComponent;
10464
- exports.ɵca = ListItemDirective;
10465
- exports.ɵcb = ListFlexItemDirective;
10466
- exports.ɵcc = ListItemTemplateDirective;
10467
- exports.ɵcd = ListHeaderDirective;
10468
- exports.ɵce = ListSectionHeaderDirective;
10469
- exports.ɵcf = ListFooterDirective;
10470
- exports.ɵcg = ListItemComponent;
10471
- exports.ɵch = ListSectionHeaderComponent;
10472
- exports.ɵci = ListHeaderComponent;
10473
- exports.ɵcj = ListItemColorDirective;
10474
- exports.ɵck = ChartModule;
10475
- exports.ɵcl = ChartComponent;
10476
- exports.ɵcm = ChartJSService;
10477
- exports.ɵcn = ChartConfigService;
10478
- exports.ɵco = CardComponent;
10479
- exports.ɵcp = CardHeaderComponent;
10480
- exports.ɵcq = CardFooterComponent;
10481
- exports.ɵcr = ChartDeprecatedComponent;
10482
- exports.ɵcs = ChartDeprecatedHelper;
10483
- exports.ɵct = DONUT_OPTIONS;
10484
- exports.ɵcu = DonutOptions;
10485
- exports.ɵcv = AREASPLINE_OPTIONS;
10486
- exports.ɵcw = AreaSplineOptions;
10487
- exports.ɵcx = TIMESERIES_OPTIONS;
10488
- exports.ɵcy = TimeSeriesOptions;
10489
- exports.ɵcz = ACTIVITYGAUGE_OPTIONS;
10490
- exports.ɵd = ModalController;
10491
- exports.ɵda = ActivityGaugeOptions;
10492
- exports.ɵdb = StockChartDeprecatedComponent;
10493
- exports.ɵdc = GridComponent;
10494
- exports.ɵdd = BreakpointHelperService;
10495
- exports.ɵde = ComponentLoaderDirective;
10496
- exports.ɵdf = AvatarComponent;
10497
- exports.ɵdg = CalendarComponent;
10498
- exports.ɵdh = CalendarHelper;
10499
- exports.ɵdi = CheckboxComponent;
10500
- exports.ɵdj = ActionSheetComponent;
10501
- exports.ɵdk = ModalFooterComponent;
10502
- exports.ɵdl = ModalRouterLinkDirective;
10503
- exports.ɵdm = SegmentedControlComponent;
10504
- exports.ɵdn = ChipComponent;
10505
- 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;
10506
10096
  exports.ɵdp = ThemeColorDirective;
10507
10097
  exports.ɵdq = DateInputDirective;
10508
10098
  exports.ɵdr = DecimalMaskDirective;
@@ -10514,7 +10104,7 @@
10514
10104
  exports.ɵdx = RadioGroupComponent;
10515
10105
  exports.ɵdy = RadioComponent;
10516
10106
  exports.ɵdz = InputComponent;
10517
- exports.ɵe = ModalHelper;
10107
+ exports.ɵe = ModalController;
10518
10108
  exports.ɵea = TextareaComponent;
10519
10109
  exports.ɵeb = FabSheetComponent;
10520
10110
  exports.ɵec = DividerComponent;
@@ -10538,27 +10128,29 @@
10538
10128
  exports.ɵeu = ToastHelper;
10539
10129
  exports.ɵev = ToastController;
10540
10130
  exports.ɵew = LoadingOverlayService;
10541
- exports.ɵf = ModalAnimationBuilderService;
10542
- exports.ɵg = PlatformService;
10543
- exports.ɵh = WindowRef;
10544
- exports.ɵi = ActionSheetHelper;
10545
- exports.ɵj = AlertHelper;
10546
- exports.ɵk = ModalNavigationService;
10547
- exports.ɵl = RouterOutletModule;
10548
- exports.ɵm = PageModule;
10549
- exports.ɵn = PageTitleDirective;
10550
- exports.ɵo = PageToolbarTitleDirective;
10551
- exports.ɵp = PageActionsDirective;
10552
- exports.ɵq = PageContentDirective;
10553
- exports.ɵr = PageProgressComponent;
10554
- exports.ɵs = PageTitleComponent;
10555
- exports.ɵt = PageContentComponent;
10556
- exports.ɵu = PageActionsComponent;
10557
- exports.ɵv = PageComponent;
10558
- exports.ɵw = TabsComponent;
10559
- exports.ɵx = TabsService;
10560
- exports.ɵy = PageFooterComponent;
10561
- 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;
10562
10154
 
10563
10155
  Object.defineProperty(exports, '__esModule', { value: true });
10564
10156