@valtimo/components 12.0.0 → 12.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/assets/css/carbon.scss +3 -0
  2. package/assets/css/compatibility.scss +22 -0
  3. package/esm2022/lib/components/breadcrumb-navigation/breadcrumb-navigation.component.mjs +2 -2
  4. package/esm2022/lib/components/breadcrumb-navigation/breadcrumb.service.mjs +11 -2
  5. package/esm2022/lib/components/carbon-list/carbon-list.component.mjs +132 -39
  6. package/esm2022/lib/components/carbon-list/carbon-list.module.mjs +7 -3
  7. package/esm2022/lib/components/carbon-list/no-results/carbon-no-results.component.mjs +37 -5
  8. package/esm2022/lib/components/carbon-list/services/carbon-list-drag-and-drop.service.mjs +165 -0
  9. package/esm2022/lib/components/carbon-list/services/index.mjs +17 -0
  10. package/esm2022/lib/components/date-picker/date-picker.component.mjs +1 -1
  11. package/esm2022/lib/components/form-io/form-io-builder.component.mjs +2 -2
  12. package/esm2022/lib/components/input/input.component.mjs +1 -1
  13. package/esm2022/lib/components/input-label/input-label.component.mjs +6 -3
  14. package/esm2022/lib/components/list/list.module.mjs +22 -4
  15. package/esm2022/lib/components/multi-input/carbon-multi-input.component.mjs +1 -1
  16. package/esm2022/lib/components/multi-input-form/multi-input-form.component.mjs +3 -3
  17. package/esm2022/lib/components/page-header/page-header.component.mjs +2 -2
  18. package/esm2022/lib/components/radio/radio.component.mjs +1 -1
  19. package/esm2022/lib/components/right-sidebar/right-sidebar.component.mjs +92 -75
  20. package/esm2022/lib/components/search-fields/search-fields.component.mjs +23 -13
  21. package/esm2022/lib/components/select/select.component.mjs +1 -1
  22. package/esm2022/lib/components/stepper/stepper-footer-step/stepper-footer-step.component.mjs +4 -4
  23. package/esm2022/lib/components/stepper/stepper.module.mjs +5 -4
  24. package/esm2022/lib/components/tooltip-icon/tooltip-icon.component.mjs +2 -2
  25. package/esm2022/lib/components/view-content/type-converters/booleanTypeConverter.mjs +13 -17
  26. package/esm2022/lib/components/view-content/type-converters/currencyTypeConverter.mjs +37 -0
  27. package/esm2022/lib/components/view-content/type-converters/dateTimeTypeConverter.mjs +31 -0
  28. package/esm2022/lib/components/view-content/type-converters/dateTypeConverter.mjs +5 -3
  29. package/esm2022/lib/components/view-content/type-converters/enumTypeConverter.mjs +2 -2
  30. package/esm2022/lib/components/view-content/type-converters/numberTypeConverter.mjs +37 -0
  31. package/esm2022/lib/components/view-content/type-converters/percentTypeConverter.mjs +37 -0
  32. package/esm2022/lib/components/view-content/type-converters/relatedFilesTypeConverter.mjs +1 -1
  33. package/esm2022/lib/components/view-content/type-converters/stringReplaceUnderscoreTypeConverter.mjs +1 -1
  34. package/esm2022/lib/components/view-content/type-converters/stringTypeConverter.mjs +1 -1
  35. package/esm2022/lib/components/view-content/type-converters/type-converters.model.mjs +60 -17
  36. package/esm2022/lib/components/view-content/view-content.module.mjs +33 -0
  37. package/esm2022/lib/components/view-content/view-content.service.mjs +11 -22
  38. package/esm2022/lib/components/widget/widget.component.mjs +2 -2
  39. package/esm2022/lib/constants/carbon.constants.mjs +2 -1
  40. package/esm2022/lib/directives/fit-page/fit-page.directive.mjs +2 -2
  41. package/esm2022/lib/models/carbon-list.model.mjs +5 -2
  42. package/esm2022/lib/models/carbon-tag.model.mjs +2 -2
  43. package/esm2022/lib/models/modal.model.mjs +1 -1
  44. package/esm2022/lib/services/index.mjs +2 -1
  45. package/esm2022/lib/services/key-generator.service.mjs +50 -0
  46. package/esm2022/lib/services/key-state.service.mjs +33 -0
  47. package/fesm2022/valtimo-components.mjs +816 -195
  48. package/fesm2022/valtimo-components.mjs.map +1 -1
  49. package/lib/components/breadcrumb-navigation/breadcrumb.service.d.ts +3 -0
  50. package/lib/components/breadcrumb-navigation/breadcrumb.service.d.ts.map +1 -1
  51. package/lib/components/carbon-list/carbon-list.component.d.ts +28 -9
  52. package/lib/components/carbon-list/carbon-list.component.d.ts.map +1 -1
  53. package/lib/components/carbon-list/carbon-list.module.d.ts +2 -1
  54. package/lib/components/carbon-list/carbon-list.module.d.ts.map +1 -1
  55. package/lib/components/carbon-list/no-results/carbon-no-results.component.d.ts +13 -3
  56. package/lib/components/carbon-list/no-results/carbon-no-results.component.d.ts.map +1 -1
  57. package/lib/components/carbon-list/services/carbon-list-drag-and-drop.service.d.ts +40 -0
  58. package/lib/components/carbon-list/services/carbon-list-drag-and-drop.service.d.ts.map +1 -0
  59. package/lib/components/carbon-list/services/index.d.ts +2 -0
  60. package/lib/components/carbon-list/services/index.d.ts.map +1 -0
  61. package/lib/components/form-io/form-io-builder.component.d.ts.map +1 -1
  62. package/lib/components/input-label/input-label.component.d.ts +2 -1
  63. package/lib/components/input-label/input-label.component.d.ts.map +1 -1
  64. package/lib/components/list/list.module.d.ts +2 -1
  65. package/lib/components/list/list.module.d.ts.map +1 -1
  66. package/lib/components/right-sidebar/right-sidebar.component.d.ts +17 -20
  67. package/lib/components/right-sidebar/right-sidebar.component.d.ts.map +1 -1
  68. package/lib/components/search-fields/search-fields.component.d.ts +4 -4
  69. package/lib/components/search-fields/search-fields.component.d.ts.map +1 -1
  70. package/lib/components/stepper/stepper.module.d.ts +2 -1
  71. package/lib/components/stepper/stepper.module.d.ts.map +1 -1
  72. package/lib/components/view-content/type-converters/booleanTypeConverter.d.ts +6 -0
  73. package/lib/components/view-content/type-converters/booleanTypeConverter.d.ts.map +1 -1
  74. package/lib/components/view-content/type-converters/currencyTypeConverter.d.ts +7 -0
  75. package/lib/components/view-content/type-converters/currencyTypeConverter.d.ts.map +1 -0
  76. package/lib/components/view-content/type-converters/dateTimeTypeConverter.d.ts +6 -0
  77. package/lib/components/view-content/type-converters/dateTimeTypeConverter.d.ts.map +1 -0
  78. package/lib/components/view-content/type-converters/dateTypeConverter.d.ts.map +1 -1
  79. package/lib/components/view-content/type-converters/enumTypeConverter.d.ts.map +1 -1
  80. package/lib/components/view-content/type-converters/numberTypeConverter.d.ts +7 -0
  81. package/lib/components/view-content/type-converters/numberTypeConverter.d.ts.map +1 -0
  82. package/lib/components/view-content/type-converters/percentTypeConverter.d.ts +7 -0
  83. package/lib/components/view-content/type-converters/percentTypeConverter.d.ts.map +1 -0
  84. package/lib/components/view-content/type-converters/relatedFilesTypeConverter.d.ts.map +1 -1
  85. package/lib/components/view-content/type-converters/stringReplaceUnderscoreTypeConverter.d.ts.map +1 -1
  86. package/lib/components/view-content/type-converters/stringTypeConverter.d.ts.map +1 -1
  87. package/lib/components/view-content/type-converters/type-converters.model.d.ts +13 -1
  88. package/lib/components/view-content/type-converters/type-converters.model.d.ts.map +1 -1
  89. package/lib/components/view-content/view-content.module.d.ts +8 -0
  90. package/lib/components/view-content/view-content.module.d.ts.map +1 -0
  91. package/lib/components/view-content/view-content.service.d.ts +1 -5
  92. package/lib/components/view-content/view-content.service.d.ts.map +1 -1
  93. package/lib/constants/carbon.constants.d.ts +1 -0
  94. package/lib/constants/carbon.constants.d.ts.map +1 -1
  95. package/lib/models/carbon-list.model.d.ts +15 -3
  96. package/lib/models/carbon-list.model.d.ts.map +1 -1
  97. package/lib/models/carbon-tag.model.d.ts +2 -0
  98. package/lib/models/carbon-tag.model.d.ts.map +1 -1
  99. package/lib/models/modal.model.d.ts +2 -1
  100. package/lib/models/modal.model.d.ts.map +1 -1
  101. package/lib/services/index.d.ts +1 -0
  102. package/lib/services/index.d.ts.map +1 -1
  103. package/lib/services/key-generator.service.d.ts +8 -0
  104. package/lib/services/key-generator.service.d.ts.map +1 -0
  105. package/lib/services/key-state.service.d.ts +12 -0
  106. package/lib/services/key-state.service.d.ts.map +1 -0
  107. package/package.json +4 -2
@@ -0,0 +1,7 @@
1
+ import { TypeConverter } from './type-converters.model';
2
+ export declare class PercentTypeConverter implements TypeConverter {
3
+ private readonly _percentPipe;
4
+ getTypeString(): string;
5
+ convert(value: any, definition: any): string;
6
+ }
7
+ //# sourceMappingURL=percentTypeConverter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"percentTypeConverter.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/percentTypeConverter.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAQtD,qBAAa,oBAAqB,YAAW,aAAa;IACxD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAuB;IAE7C,aAAa,IAAI,MAAM;IAIvB,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,MAAM;CAapD"}
@@ -1 +1 @@
1
- {"version":3,"file":"relatedFilesTypeConverter.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/relatedFilesTypeConverter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAEtD,qBAAa,yBAA0B,YAAW,aAAa;IAC7D,aAAa,IAAI,MAAM;IAIvB,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,MAAM;CAG7C"}
1
+ {"version":3,"file":"relatedFilesTypeConverter.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/relatedFilesTypeConverter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAEtD,qBAAa,yBAA0B,YAAW,aAAa;IACtD,aAAa,IAAI,MAAM;IAIvB,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,MAAM;CAGpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"stringReplaceUnderscoreTypeConverter.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/stringReplaceUnderscoreTypeConverter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAEtD,qBAAa,oCAAqC,YAAW,aAAa;IACjE,4BAA4B,SAAQ;IAE3C,aAAa,IAAI,MAAM;IAIvB,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,MAAM;CAG7C"}
1
+ {"version":3,"file":"stringReplaceUnderscoreTypeConverter.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/stringReplaceUnderscoreTypeConverter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAEtD,qBAAa,oCAAqC,YAAW,aAAa;IACjE,4BAA4B,SAAQ;IAEpC,aAAa,IAAI,MAAM;IAIvB,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,MAAM;CAGpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"stringTypeConverter.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/stringTypeConverter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAEtD,qBAAa,mBAAoB,YAAW,aAAa;IACvD,aAAa,IAAI,MAAM;IAIvB,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,MAAM;CAG7C"}
1
+ {"version":3,"file":"stringTypeConverter.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/stringTypeConverter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAEtD,qBAAa,mBAAoB,YAAW,aAAa;IAChD,aAAa,IAAI,MAAM;IAIvB,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,MAAM;CAGpD"}
@@ -1,4 +1,16 @@
1
- export declare const TYPE_CONVERTERS: Array<TypeConverter>;
1
+ import { InjectionToken } from '@angular/core';
2
+ import { BooleanTypeConverter } from './booleanTypeConverter';
3
+ import { StringTypeConverter } from './stringTypeConverter';
4
+ export declare const TYPE_CONVERTER_TOKEN: InjectionToken<TypeConverter[]>;
5
+ export declare const TYPE_PROVIDERS: ({
6
+ provide: InjectionToken<TypeConverter[]>;
7
+ useClass: typeof StringTypeConverter;
8
+ multi: boolean;
9
+ } | {
10
+ provide: InjectionToken<TypeConverter[]>;
11
+ useClass: typeof BooleanTypeConverter;
12
+ multi: boolean;
13
+ })[];
2
14
  export interface TypeConverter {
3
15
  getTypeString(): string;
4
16
  convert(value: any, definition: any): string;
@@ -1 +1 @@
1
- {"version":3,"file":"type-converters.model.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/type-converters.model.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,aAAa,CAOhD,CAAC;AAEF,MAAM,WAAW,aAAa;IAC5B,aAAa,IAAI,MAAM,CAAC;IAExB,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,MAAM,CAAC;CAC9C"}
1
+ {"version":3,"file":"type-converters.model.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/type-converters.model.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAC,oBAAoB,EAAC,MAAM,wBAAwB,CAAC;AAS5D,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAE1D,eAAO,MAAM,oBAAoB,iCAAwD,CAAC;AAE1F,eAAO,MAAM,cAAc;;;;;;;;IAmD1B,CAAC;AAEF,MAAM,WAAW,aAAa;IAC5B,aAAa,IAAI,MAAM,CAAC;IAExB,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,MAAM,CAAC;CAC9C"}
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ export declare class ViewContentModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<ViewContentModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ViewContentModule, never, [typeof i1.CommonModule], never>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<ViewContentModule>;
7
+ }
8
+ //# sourceMappingURL=view-content.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-content.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/view-content/view-content.module.ts"],"names":[],"mappings":";;AAqBA,qBAIa,iBAAiB;yCAAjB,iBAAiB;0CAAjB,iBAAiB;0CAAjB,iBAAiB;CAAG"}
@@ -1,11 +1,7 @@
1
- import { TypeConverter } from './type-converters/type-converters.model';
2
1
  import * as i0 from "@angular/core";
3
2
  export declare class ViewContentService {
4
- private converters;
5
- private defaultConverter;
6
- constructor();
3
+ private readonly converters;
7
4
  get(value: any, definition: any): string;
8
- addConverter(converter: TypeConverter): void;
9
5
  getSeparatorIndex(definition: any, separator: any): any;
10
6
  static ɵfac: i0.ɵɵFactoryDeclaration<ViewContentService, never>;
11
7
  static ɵprov: i0.ɵɵInjectableDeclaration<ViewContentService>;
@@ -1 +1 @@
1
- {"version":3,"file":"view-content.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/view-content/view-content.service.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAkB,aAAa,EAAC,MAAM,yCAAyC,CAAC;;AAEvF,qBAGa,kBAAkB;IAC7B,OAAO,CAAC,UAAU,CAAsC;IACxD,OAAO,CAAC,gBAAgB,CAAgB;;IAQjC,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG;IA0B/B,YAAY,CAAC,SAAS,EAAE,aAAa;IAQ5C,iBAAiB,CAAC,UAAU,KAAA,EAAE,SAAS,KAAA;yCA5C5B,kBAAkB;6CAAlB,kBAAkB;CA+C9B"}
1
+ {"version":3,"file":"view-content.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/view-content/view-content.service.ts"],"names":[],"mappings":";AAkBA,qBACa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAgC;IAEpD,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG;IA8BtC,iBAAiB,CAAC,UAAU,KAAA,EAAE,SAAS,KAAA;yCAjC5B,kBAAkB;6CAAlB,kBAAkB;CAoC9B"}
@@ -1,5 +1,6 @@
1
1
  declare const CARBON_CONSTANTS: {
2
2
  modalAnimationMs: number;
3
+ notificationDuration: number;
3
4
  };
4
5
  export { CARBON_CONSTANTS };
5
6
  //# sourceMappingURL=carbon.constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"carbon.constants.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/constants/carbon.constants.ts"],"names":[],"mappings":"AAgBA,QAAA,MAAM,gBAAgB;;CAErB,CAAC;AAEF,OAAO,EAAC,gBAAgB,EAAC,CAAC"}
1
+ {"version":3,"file":"carbon.constants.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/constants/carbon.constants.ts"],"names":[],"mappings":"AAgBA,QAAA,MAAM,gBAAgB;;;CAGrB,CAAC;AAEF,OAAO,EAAC,gBAAgB,EAAC,CAAC"}
@@ -4,9 +4,12 @@ declare enum ViewType {
4
4
  ACTION = "dropdownActions",
5
5
  ARRAY_COUNT = "arrayCount",
6
6
  BOOLEAN = "boolean",
7
+ CURRENCY = "currency",
7
8
  DATE = "date",
8
- TAGS = "tags",
9
9
  ENUM = "enum",
10
+ NUMBER = "number",
11
+ PERCENT = "percent",
12
+ TAGS = "tags",
10
13
  TEMPLATE = "template",
11
14
  TEXT = "text",
12
15
  UNDERSCORES_TO_SPACES = "underscoresToSpaces"
@@ -36,17 +39,22 @@ interface CarbonListBatchText {
36
39
  interface ActionItem {
37
40
  label: string;
38
41
  callback: (_: any) => void;
42
+ disabledCallback?: (_: any) => boolean;
39
43
  iconClass?: string;
40
44
  type?: 'normal' | 'danger';
41
45
  }
42
46
  interface ColumnConfig extends ListField {
43
47
  viewType: string | ViewType;
44
48
  className?: string;
45
- format?: string;
49
+ currencyCode?: string;
50
+ digitsInfo?: string;
51
+ display?: string;
46
52
  enum?: Array<string> | {
47
53
  [key: string]: string;
48
54
  };
55
+ format?: string;
49
56
  template?: TemplateRef<any>;
57
+ templateData?: object;
50
58
  }
51
59
  declare enum MoveRowDirection {
52
60
  UP = "UP",
@@ -69,5 +77,9 @@ interface CarbonListNoResultsMessage {
69
77
  isSearchResult: boolean;
70
78
  title: string;
71
79
  }
72
- export { ActionItem, CarbonListBatchText, CarbonListSelectTranslations, CarbonListItem, CarbonListTranslations, ColumnConfig, DEFAULT_LIST_TRANSLATIONS, ListField, MoveRowDirection, MoveRowEvent, ViewType, CarbonListNoResultsMessage, };
80
+ interface DragAndDropEvent {
81
+ startIndex: number;
82
+ newIndex: number;
83
+ }
84
+ export { ActionItem, CarbonListBatchText, CarbonListSelectTranslations, CarbonListItem, CarbonListTranslations, ColumnConfig, DEFAULT_LIST_TRANSLATIONS, ListField, MoveRowDirection, MoveRowEvent, ViewType, CarbonListNoResultsMessage, DragAndDropEvent, };
73
85
  //# sourceMappingURL=carbon-list.model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"carbon-list.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/models/carbon-list.model.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,aAAK,QAAQ;IACX,MAAM,oBAAoB;IAC1B,WAAW,eAAe;IAC1B,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,qBAAqB,wBAAwB;CAC9C;AACD,U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C;AAEF,UAAU,SAAS;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,UAAU,0BAA0B;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,4BAA4B,EAC5B,cAAc,EACd,sBAAsB,EACtB,YAAY,EACZ,yBAAyB,EACzB,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,QAAQ,EACR,0BAA0B,GAC3B,CAAC"}
1
+ {"version":3,"file":"carbon-list.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/models/carbon-list.model.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAE7C,aAAK,QAAQ;IACX,MAAM,oBAAoB;IAC1B,WAAW,eAAe;IAC1B,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,qBAAqB,wBAAwB;CAC9C;AACD,UAAU,4BAA4B;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,gCAAgC;IACxC,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,cAAc;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,MA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,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,UAAU,0BAA0B;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,gBAAgB;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,4BAA4B,EAC5B,cAAc,EACd,sBAAsB,EACtB,YAAY,EACZ,yBAAyB,EACzB,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,QAAQ,EACR,0BAA0B,EAC1B,gBAAgB,GACjB,CAAC"}
@@ -2,5 +2,7 @@ import { TagType } from 'carbon-components-angular';
2
2
  export interface CarbonTag {
3
3
  content: string;
4
4
  type: TagType;
5
+ ellipsisContent?: string;
5
6
  }
7
+ export declare const TAG_ELLIPSIS_LIMIT = 20;
6
8
  //# sourceMappingURL=carbon-tag.model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"carbon-tag.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/models/carbon-tag.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AAElD,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,OAAO,CAAC;CACf"}
1
+ {"version":3,"file":"carbon-tag.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/models/carbon-tag.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,OAAO,EAAC,MAAM,2BAA2B,CAAC;AAElD,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,OAAO,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,kBAAkB,KAAK,CAAC"}
@@ -1,3 +1,4 @@
1
1
  type ModalData = any;
2
- export { ModalData };
2
+ type ModalCloseEventType = 'close' | 'closeAndRefresh';
3
+ export { ModalData, ModalCloseEventType };
3
4
  //# sourceMappingURL=modal.model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modal.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/models/modal.model.ts"],"names":[],"mappings":"AAgBA,KAAK,SAAS,GAAG,GAAG,CAAC;AAErB,OAAO,EAAC,SAAS,EAAC,CAAC"}
1
+ {"version":3,"file":"modal.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/models/modal.model.ts"],"names":[],"mappings":"AAgBA,KAAK,SAAS,GAAG,GAAG,CAAC;AAErB,KAAK,mBAAmB,GAAG,OAAO,GAAG,iBAAiB,CAAC;AAEvD,OAAO,EAAC,SAAS,EAAE,mBAAmB,EAAC,CAAC"}
@@ -9,4 +9,5 @@ export * from './cds-theme.service';
9
9
  export * from './choice-field.service';
10
10
  export * from './page-subtitle.service';
11
11
  export * from './page-title.service';
12
+ export * from './key-generator.service';
12
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class KeyGeneratorService {
3
+ getUniqueKey(entityName: string, usedKeys: string[]): string;
4
+ private getUniqueKeyWithNumber;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<KeyGeneratorService, never>;
6
+ static ɵprov: i0.ɵɵInjectableDeclaration<KeyGeneratorService>;
7
+ }
8
+ //# sourceMappingURL=key-generator.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"key-generator.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/services/key-generator.service.ts"],"names":[],"mappings":";AAkBA,qBAGa,mBAAmB;IACvB,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM;IAcnE,OAAO,CAAC,sBAAsB;yCAfnB,mBAAmB;6CAAnB,mBAAmB;CA+B/B"}
@@ -0,0 +1,12 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class KeyStateService implements OnDestroy {
4
+ private _isCtrlOrCmdPressed;
5
+ private _destroy$;
6
+ constructor();
7
+ getCtrlOrCmdState(): boolean;
8
+ ngOnDestroy(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<KeyStateService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<KeyStateService>;
11
+ }
12
+ //# sourceMappingURL=key-state.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"key-state.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/components/src/lib/services/key-state.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,SAAS,EAAC,MAAM,eAAe,CAAC;;AAIpD,qBAGa,eAAgB,YAAW,SAAS;IAC/C,OAAO,CAAC,mBAAmB,CAAkB;IAC7C,OAAO,CAAC,SAAS,CAAuB;;IAkBjC,iBAAiB,IAAI,OAAO;IAI5B,WAAW,IAAI,IAAI;yCAxBf,eAAe;6CAAf,eAAe;CA4B3B"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@valtimo/components",
3
3
  "license": "EUPL-1.2",
4
- "version": "12.0.0",
4
+ "version": "12.1.0",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^17.2.2",
7
7
  "@angular/core": "^17.2.2",
@@ -34,7 +34,9 @@
34
34
  "flatpickr": "4.6.13",
35
35
  "lodash": "4.17.21",
36
36
  "jwt-decode": "4.0.0",
37
- "deepmerge-ts": "5.1.0"
37
+ "deepmerge-ts": "5.1.0",
38
+ "@carbon/charts-angular": "1.17.3",
39
+ "@types/topojson": "3.2.6"
38
40
  },
39
41
  "module": "fesm2022/valtimo-components.mjs",
40
42
  "typings": "index.d.ts",