@porscheinformatik/clr-addons 15.2.2 → 15.4.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 (47) hide show
  1. package/brand-avatar/brand-avatar.d.ts +7 -2
  2. package/clr-addons.module.d.ts +2 -1
  3. package/esm2020/back-button/back-button.mjs +6 -4
  4. package/esm2020/brand-avatar/brand-avatar.mjs +26 -9
  5. package/esm2020/clr-addons.module.mjs +35 -32
  6. package/esm2020/collapse-expand-section/collapse-expand-section.mjs +6 -4
  7. package/esm2020/content-panel/content-panel.mjs +6 -4
  8. package/esm2020/flow-bar/flow-bar.mjs +6 -4
  9. package/esm2020/generic-quick-list/generic-quick-list.mjs +9 -4
  10. package/esm2020/history/history.mjs +6 -4
  11. package/esm2020/html-editor/html/html-editor.component.mjs +37 -0
  12. package/esm2020/html-editor/html/index.mjs +2 -0
  13. package/esm2020/html-editor/html-editor.module.mjs +21 -0
  14. package/esm2020/html-editor/index.mjs +3 -0
  15. package/esm2020/icons/shapes.mjs +111 -1
  16. package/esm2020/index.mjs +2 -1
  17. package/esm2020/main-nav-group/main-nav-group.mjs +7 -5
  18. package/esm2020/multilingual/multilingual-input/multilingual-input.mjs +6 -4
  19. package/esm2020/multilingual/multilingual-selector.mjs +6 -4
  20. package/esm2020/multilingual/multilingual-textarea/multilingual-textarea.mjs +6 -4
  21. package/esm2020/pager/pager.mjs +6 -4
  22. package/esm2020/quick-list/add-option.mjs +12 -4
  23. package/esm2020/quick-list/quick-list.mjs +11 -7
  24. package/esm2020/searchfield/search-field.mjs +5 -3
  25. package/esm2020/treetable/treetable-action-overflow.mjs +7 -5
  26. package/esm2020/treetable/treetable-row.mjs +6 -4
  27. package/esm2020/view-edit-section/view-edit-section.mjs +6 -4
  28. package/fesm2015/clr-addons.mjs +3341 -3137
  29. package/fesm2015/clr-addons.mjs.map +1 -1
  30. package/fesm2020/clr-addons.mjs +3308 -3104
  31. package/fesm2020/clr-addons.mjs.map +1 -1
  32. package/generic-quick-list/generic-quick-list.d.ts +3 -2
  33. package/html-editor/html/html-editor.component.d.ts +12 -0
  34. package/html-editor/html/index.d.ts +1 -0
  35. package/html-editor/html-editor.module.d.ts +11 -0
  36. package/html-editor/index.d.ts +2 -0
  37. package/icons/shapes.d.ts +105 -0
  38. package/index.d.ts +1 -0
  39. package/main-nav-group/main-nav-group.d.ts +1 -1
  40. package/package.json +1 -2
  41. package/pager/pager.d.ts +0 -5
  42. package/quick-list/add-option.d.ts +3 -1
  43. package/quick-list/quick-list.d.ts +2 -1
  44. package/styles/clr-addons-phs.css +320 -42
  45. package/styles/clr-addons-phs.css.map +1 -1
  46. package/styles/clr-addons-phs.min.css +1 -1
  47. package/styles/clr-addons-phs.min.css.map +1 -1
@@ -1,4 +1,4 @@
1
- import { TemplateRef, EventEmitter, QueryList, AfterViewInit, OnInit, ElementRef, OnDestroy } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export interface ClrGenericQuickListItem {
4
4
  id: any;
@@ -11,6 +11,7 @@ export declare class ClrGenericQuickList<T extends ClrGenericQuickListItem> impl
11
11
  controlClasses: string;
12
12
  required: boolean;
13
13
  readonly: string;
14
+ compactMode: boolean;
14
15
  added: EventEmitter<any>;
15
16
  removed: EventEmitter<any>;
16
17
  itemTemplate: QueryList<TemplateRef<any>>;
@@ -24,5 +25,5 @@ export declare class ClrGenericQuickList<T extends ClrGenericQuickListItem> impl
24
25
  setFocusOnAdd(): void;
25
26
  ngOnDestroy(): void;
26
27
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrGenericQuickList<any>, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<ClrGenericQuickList<any>, "clr-generic-quick-list", never, { "allItems": "clrAllItems"; "addLabel": "clrAddLabel"; "addPossible": "clrAddPossible"; "blankItem": "clrBlankItem"; "controlClasses": "clrControlClasses"; "required": "clrMandatory"; "readonly": "readonly"; }, { "added": "clrAdded"; "removed": "clrRemoved"; }, ["itemTemplate"], ["label", ".header-container"], false, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrGenericQuickList<any>, "clr-generic-quick-list", never, { "allItems": "clrAllItems"; "addLabel": "clrAddLabel"; "addPossible": "clrAddPossible"; "blankItem": "clrBlankItem"; "controlClasses": "clrControlClasses"; "required": "clrMandatory"; "readonly": "readonly"; "compactMode": "compactMode"; }, { "added": "clrAdded"; "removed": "clrRemoved"; }, ["itemTemplate"], ["label", ".header-container"], false, never>;
28
29
  }
@@ -0,0 +1,12 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AngularEditorComponent, AngularEditorConfig } from '@kolkov/angular-editor';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ClrHtmlEditorComponent {
5
+ clrHtmlContent: string;
6
+ clrConfig: AngularEditorConfig;
7
+ clrHtmlChanged: EventEmitter<string>;
8
+ angularEditor: AngularEditorComponent;
9
+ onChange(event: string): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrHtmlEditorComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrHtmlEditorComponent, "clr-html-editor", never, { "clrHtmlContent": "clrHtmlContent"; "clrConfig": "clrConfig"; }, { "clrHtmlChanged": "clrHtmlChanged"; }, never, never, false, never>;
12
+ }
@@ -0,0 +1 @@
1
+ export * from './html-editor.component';
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./html/html-editor.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/common/http";
5
+ import * as i4 from "@kolkov/angular-editor";
6
+ import * as i5 from "@angular/forms";
7
+ export declare class ClrHtmlEditorModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrHtmlEditorModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClrHtmlEditorModule, [typeof i1.ClrHtmlEditorComponent], [typeof i2.CommonModule, typeof i3.HttpClientModule, typeof i4.AngularEditorModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule], [typeof i1.ClrHtmlEditorComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<ClrHtmlEditorModule>;
11
+ }
@@ -0,0 +1,2 @@
1
+ export * from './html-editor.module';
2
+ export * from './html';
package/icons/shapes.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { IconShapeTuple } from '@cds/core/icon/interfaces/icon.interfaces';
1
2
  export declare const CampaignOutdatedShape: string;
2
3
  export declare const CampaignShape: string;
3
4
  export declare const NewCarCommercialShape: string;
@@ -103,3 +104,107 @@ export declare const InternalPartForwardShape: string;
103
104
  export declare const ExternalPartForwardShape: string;
104
105
  export declare const BusinessPartnerWithCar: string;
105
106
  export declare const ClrAddonsIconShapes: any;
107
+ export declare const airConditionerIcon: IconShapeTuple;
108
+ export declare const accessoriesIcon: IconShapeTuple;
109
+ export declare const accessoryPartsIcon: IconShapeTuple;
110
+ export declare const awardWinnerPremiumIcon: IconShapeTuple;
111
+ export declare const brochureIcon: IconShapeTuple;
112
+ export declare const businessCustomersCommercialIcon: IconShapeTuple;
113
+ export declare const businessCustomersPrivateIcon: IconShapeTuple;
114
+ export declare const californiaServiceIcon: IconShapeTuple;
115
+ export declare const californiaSpecialistIcon: IconShapeTuple;
116
+ export declare const carPickupServiceIcon: IconShapeTuple;
117
+ export declare const carWashIcon: IconShapeTuple;
118
+ export declare const certifiedRepairIcon: IconShapeTuple;
119
+ export declare const certifiedRetailerIcon: IconShapeTuple;
120
+ export declare const configuratorCommercialIcon: IconShapeTuple;
121
+ export declare const configuratorPrivateIcon: IconShapeTuple;
122
+ export declare const consumptionIcon: IconShapeTuple;
123
+ export declare const contactDealerIcon: IconShapeTuple;
124
+ export declare const customersCenterIcon: IconShapeTuple;
125
+ export declare const dieselIcon: IconShapeTuple;
126
+ export declare const driversAssistanceIcon: IconShapeTuple;
127
+ export declare const efficiencyIcon: IconShapeTuple;
128
+ export declare const electricCarsIcon: IconShapeTuple;
129
+ export declare const electricCarsServiceIcon: IconShapeTuple;
130
+ export declare const electricityIcon: IconShapeTuple;
131
+ export declare const emissionIcon: IconShapeTuple;
132
+ export declare const energyIcon: IconShapeTuple;
133
+ export declare const engineIcon: IconShapeTuple;
134
+ export declare const expressServiceIcon: IconShapeTuple;
135
+ export declare const exteriorIcon: IconShapeTuple;
136
+ export declare const findACarIcon: IconShapeTuple;
137
+ export declare const fleetServiceCommercialIcon: IconShapeTuple;
138
+ export declare const fleetServicePrivateIcon: IconShapeTuple;
139
+ export declare const gasIcon: IconShapeTuple;
140
+ export declare const gasCarsServiceIcon: IconShapeTuple;
141
+ export declare const hybridIcon: IconShapeTuple;
142
+ export declare const loadingVolumeIcon: IconShapeTuple;
143
+ export declare const locateIcon: IconShapeTuple;
144
+ export declare const newCarCommercialIcon: IconShapeTuple;
145
+ export declare const newCarPrivateIcon: IconShapeTuple;
146
+ export declare const newCarUtilityVehicleIcon: IconShapeTuple;
147
+ export declare const nightServiceIcon: IconShapeTuple;
148
+ export declare const offersIcon: IconShapeTuple;
149
+ export declare const onCallDutyIcon: IconShapeTuple;
150
+ export declare const openSatIcon: IconShapeTuple;
151
+ export declare const paintShopIcon: IconShapeTuple;
152
+ export declare const payloadIcon: IconShapeTuple;
153
+ export declare const performanceIcon: IconShapeTuple;
154
+ export declare const petrolIcon: IconShapeTuple;
155
+ export declare const plusServiceIcon: IconShapeTuple;
156
+ export declare const powerIcon: IconShapeTuple;
157
+ export declare const powerTrainIcon: IconShapeTuple;
158
+ export declare const priceTypeSwitchIcon: IconShapeTuple;
159
+ export declare const qualifiedWorkshopIcon: IconShapeTuple;
160
+ export declare const roadsideAssistanceIcon: IconShapeTuple;
161
+ export declare const routeIcon: IconShapeTuple;
162
+ export declare const seatIcon: IconShapeTuple;
163
+ export declare const seatAirIcon: IconShapeTuple;
164
+ export declare const sizeIcon: IconShapeTuple;
165
+ export declare const serviceIcon: IconShapeTuple;
166
+ export declare const serviceBellIcon: IconShapeTuple;
167
+ export declare const stockLocatorCommercialIcon: IconShapeTuple;
168
+ export declare const stockLocatorPrivateIcon: IconShapeTuple;
169
+ export declare const taxiDealerIcon: IconShapeTuple;
170
+ export declare const transmissionAutomaticIcon: IconShapeTuple;
171
+ export declare const transmissionManualIcon: IconShapeTuple;
172
+ export declare const touaregServiceIcon: IconShapeTuple;
173
+ export declare const usedCarCommercialIcon: IconShapeTuple;
174
+ export declare const usedCarPrivateIcon: IconShapeTuple;
175
+ export declare const vehicleConversionIcon: IconShapeTuple;
176
+ export declare const virtualRealityIcon: IconShapeTuple;
177
+ export declare const volkswagenIcon: IconShapeTuple;
178
+ export declare const audiBrandIcon: IconShapeTuple;
179
+ export declare const cupraBrandIcon: IconShapeTuple;
180
+ export declare const dwaBrandIcon: IconShapeTuple;
181
+ export declare const porscheBrandIcon: IconShapeTuple;
182
+ export declare const seatBrandIcon: IconShapeTuple;
183
+ export declare const skodaBrandIcon: IconShapeTuple;
184
+ export declare const vwBrandIcon: IconShapeTuple;
185
+ export declare const vwnBrandIcon: IconShapeTuple;
186
+ export declare const view360Icon: IconShapeTuple;
187
+ export declare const wheelToWheelIcon: IconShapeTuple;
188
+ export declare const windscreenWashIcon: IconShapeTuple;
189
+ export declare const wrenchForwardIcon: IconShapeTuple;
190
+ export declare const topcardIcon: IconShapeTuple;
191
+ export declare const taskAndAppointmentIcon: IconShapeTuple;
192
+ export declare const partsIcon: IconShapeTuple;
193
+ export declare const partsForwardIcon: IconShapeTuple;
194
+ export declare const partsNonStockIcon: IconShapeTuple;
195
+ export declare const partsNonStockForwardIcon: IconShapeTuple;
196
+ export declare const paintMaterialIcon: IconShapeTuple;
197
+ export declare const paintMaterialForwardIcon: IconShapeTuple;
198
+ export declare const itemsRecieveIcon: IconShapeTuple;
199
+ export declare const itemsForwardIcon: IconShapeTuple;
200
+ export declare const dollarBillPartialIcon: IconShapeTuple;
201
+ export declare const dollarBillForwardIcon: IconShapeTuple;
202
+ export declare const blocksGroupForwardIcon: IconShapeTuple;
203
+ export declare const textForwardIcon: IconShapeTuple;
204
+ export declare const calculatorForwardIcon: IconShapeTuple;
205
+ export declare const bundleForwardIcon: IconShapeTuple;
206
+ export declare const internalPartForwardIcon: IconShapeTuple;
207
+ export declare const externalPartForwardIcon: IconShapeTuple;
208
+ export declare const businessPartnerWithCarIcon: IconShapeTuple;
209
+ export declare const campaignOutdatedIcon: IconShapeTuple;
210
+ export declare const campaignIcon: IconShapeTuple;
package/index.d.ts CHANGED
@@ -30,3 +30,4 @@ export * from './abstract-form-component/index';
30
30
  export * from './dropdown/index';
31
31
  export * from './datagrid/index';
32
32
  export * from './daterangepicker/index';
33
+ export * from './html-editor/index';
@@ -1,4 +1,4 @@
1
- import { Injector, ElementRef, Renderer2, OnDestroy, OnInit, QueryList } from '@angular/core';
1
+ import { ElementRef, Injector, OnDestroy, OnInit, QueryList, Renderer2 } from '@angular/core';
2
2
  import { ClrMainNavGroupItem } from './main-nav-group-item';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ClrMainNavGroup implements OnInit, OnDestroy {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@porscheinformatik/clr-addons",
3
- "version": "15.2.2",
3
+ "version": "15.4.0",
4
4
  "description": "Addon components for Clarity Angular",
5
5
  "es2015": "esm2015/clr-addons.js",
6
6
  "homepage": "https://porscheinformatik.github.io/clarity-addons/",
@@ -22,7 +22,6 @@
22
22
  "@angular/core": "15 || 16",
23
23
  "@clr/angular": "^15.0.0",
24
24
  "@cds/core": "^5.6.0 || ^6.0.0",
25
- "@clr/icons": "~13.0.2",
26
25
  "@clr/ui": "^15.0.0"
27
26
  },
28
27
  "author": "porscheinformatik",
package/pager/pager.d.ts CHANGED
@@ -1,10 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- /**
4
- * Custom pager component because clarity's pager component can only be used inside a data grid.
5
- * Currently a requested feature, see here: https://github.com/vmware/clarity/issues/2268
6
- * In this issue it is mentioned that a button group is a suitable replacement until the pager component is released.
7
- */
8
3
  export declare class ClrPager {
9
4
  pageChange: EventEmitter<any>;
10
5
  /**
@@ -9,8 +9,10 @@ export declare class ClrAddOption<T> {
9
9
  excludedValues: Array<ClrQuickListValue<T>>;
10
10
  readonly: string;
11
11
  disabled: boolean;
12
+ showAddButton: boolean;
12
13
  valueChanged: EventEmitter<ClrQuickListValue<T>>;
13
14
  remove: EventEmitter<void>;
15
+ add: EventEmitter<void>;
14
16
  select: ElementRef;
15
17
  set selectedValue(id: string);
16
18
  get selectedValue(): string;
@@ -18,5 +20,5 @@ export declare class ClrAddOption<T> {
18
20
  trashDisabled(): boolean;
19
21
  focusComponent(): void;
20
22
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrAddOption<any>, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<ClrAddOption<any>, "clr-add-option", never, { "blankOption": "blankOption"; "value": "value"; "mandatory": "mandatory"; "allValues": "allValues"; "excludedValues": "excludedValues"; "readonly": "readonly"; "disabled": "disabled"; }, { "valueChanged": "valueChanged"; "remove": "remove"; }, never, never, false, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrAddOption<any>, "clr-add-option", never, { "blankOption": "blankOption"; "value": "value"; "mandatory": "mandatory"; "allValues": "allValues"; "excludedValues": "excludedValues"; "readonly": "readonly"; "disabled": "disabled"; "showAddButton": "showAddButton"; }, { "valueChanged": "valueChanged"; "remove": "remove"; "add": "add"; }, never, never, false, never>;
22
24
  }
@@ -11,6 +11,7 @@ export declare class ClrQuickList<T> extends ClrAbstractFormComponent implements
11
11
  addLabel: string;
12
12
  controlClasses: string;
13
13
  readonly: string;
14
+ compactMode: boolean;
14
15
  valuesChanged: EventEmitter<ClrQuickListValue<T>[]>;
15
16
  emptyOptionAdded: EventEmitter<void>;
16
17
  options: QueryList<ClrAddOption<T>>;
@@ -25,5 +26,5 @@ export declare class ClrQuickList<T> extends ClrAbstractFormComponent implements
25
26
  hasBlankOption(): boolean;
26
27
  addNotPossible(): boolean;
27
28
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrQuickList<any>, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<ClrQuickList<any>, "clr-quick-list", never, { "blankOption": "clrBlankOption"; "allValues": "clrAllValues"; "mandatory": "clrMandatory"; "values": "clrValues"; "addLabel": "clrAddLabel"; "controlClasses": "clrControlClasses"; "readonly": "readonly"; }, { "valuesChanged": "clrValuesChanged"; "emptyOptionAdded": "clrEmptyOptionAdded"; }, never, ["label"], false, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrQuickList<any>, "clr-quick-list", never, { "blankOption": "clrBlankOption"; "allValues": "clrAllValues"; "mandatory": "clrMandatory"; "values": "clrValues"; "addLabel": "clrAddLabel"; "controlClasses": "clrControlClasses"; "readonly": "readonly"; "compactMode": "compactMode"; }, { "valuesChanged": "clrValuesChanged"; "emptyOptionAdded": "clrEmptyOptionAdded"; }, never, ["label"], false, never>;
29
30
  }