@porscheinformatik/material-addons 17.4.5 → 18.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -5
- package/esm2022/lib/alert/alert-configuration.mjs +12 -0
- package/esm2022/lib/alert/alert.component.mjs +21 -16
- package/esm2022/lib/alert/alert.mjs +3 -0
- package/esm2022/lib/button/button.module.mjs +4 -4
- package/esm2022/lib/button/danger-button/danger-button.component.mjs +4 -6
- package/esm2022/lib/button/flat-button/link-button.component.mjs +4 -6
- package/esm2022/lib/button/icon-button/icon-button.component.mjs +4 -6
- package/esm2022/lib/button/mad-basic-button.mjs +4 -4
- package/esm2022/lib/button/mad-button/mad-button.directive.mjs +4 -4
- package/esm2022/lib/button/mad-button-group/mad-button-group.component.mjs +3 -3
- package/esm2022/lib/button/outline-button/outline-button.component.mjs +4 -6
- package/esm2022/lib/button/primary-button/primary-button.component.mjs +4 -6
- package/esm2022/lib/card/card.component.mjs +5 -5
- package/esm2022/lib/card/card.module.mjs +4 -4
- package/esm2022/lib/data-table/data-table-columns-modal/data-table-columns-modal.component.mjs +5 -5
- package/esm2022/lib/data-table/data-table-filter/data-table-filter-component/data-table-filter-dialog/data-table-filter-dialog.component.mjs +3 -3
- package/esm2022/lib/data-table/data-table-filter/data-table-filter-component/data-table-filter.component.mjs +4 -4
- package/esm2022/lib/data-table/data-table-filter/data-table-filter-header.directive.mjs +4 -4
- package/esm2022/lib/data-table/data-table-filter/data-table-filter.directive.mjs +4 -4
- package/esm2022/lib/data-table/data-table-persistence.service.mjs +4 -4
- package/esm2022/lib/data-table/data-table-template/data-table-template-cell-definition.directive.mjs +3 -3
- package/esm2022/lib/data-table/data-table-template/data-table-template-column-definition.directive.mjs +3 -3
- package/esm2022/lib/data-table/data-table-template/data-table-template-expandable-cell-definition.directive.mjs +3 -3
- package/esm2022/lib/data-table/data-table-template/data-table-template-expandable-column-definition.directive.mjs +3 -3
- package/esm2022/lib/data-table/data-table.component.mjs +5 -5
- package/esm2022/lib/data-table/util/data-table-action-util.mjs +1 -1
- package/esm2022/lib/data-table/util/data-table-data-util.mjs +1 -1
- package/esm2022/lib/data-table/util/data-table-sort-util.mjs +4 -3
- package/esm2022/lib/file-upload/drag-and-drop-directive.directive.mjs +4 -4
- package/esm2022/lib/file-upload/file-upload.component.mjs +4 -4
- package/esm2022/lib/layout/content-panel/content-header/content-header.component.mjs +3 -3
- package/esm2022/lib/layout/content-panel/content-panel-container/content-panel-container.component.mjs +4 -4
- package/esm2022/lib/layout/content-panel/content-panel-container-content/content-panel-container-content.component.mjs +3 -3
- package/esm2022/lib/layout/content-panel/content-panel-container-footer/content-panel-container-footer.component.mjs +4 -4
- package/esm2022/lib/layout/content-panel/content-panel-container-sidebar/content-panel-container-sidebar.component.mjs +3 -3
- package/esm2022/lib/layout/content-panel/content-panel.module.mjs +4 -4
- package/esm2022/lib/layout/content-panel/main-container/main-container.component.mjs +3 -3
- package/esm2022/lib/layout/flowbar/flowbar.component.mjs +4 -4
- package/esm2022/lib/layout/flowbar/flowbar.module.mjs +4 -4
- package/esm2022/lib/layout/sidebar/sidebar-item/sidebar-item.component.mjs +3 -3
- package/esm2022/lib/layout/sidebar/sidebar.component.mjs +3 -3
- package/esm2022/lib/layout/sidebar/sidebar.module.mjs +4 -4
- package/esm2022/lib/layout/sidebar-layout/sidebar-layout.component.mjs +5 -5
- package/esm2022/lib/layout/toolbar/toolbar.component.mjs +5 -5
- package/esm2022/lib/layout/toolbar/toolbar.module.mjs +4 -4
- package/esm2022/lib/layout/toolbar/toolbar.service.mjs +4 -4
- package/esm2022/lib/material-action-button/material-action-button.component.mjs +4 -4
- package/esm2022/lib/material-action-button/material-action-button.module.mjs +4 -4
- package/esm2022/lib/material-addons.module.mjs +4 -4
- package/esm2022/lib/numeric-field/number-format.service.mjs +4 -4
- package/esm2022/lib/numeric-field/numeric-field.directive.mjs +4 -4
- package/esm2022/lib/numeric-field/numeric-field.module.mjs +4 -4
- package/esm2022/lib/quick-list/base-quick-list.component.mjs +4 -4
- package/esm2022/lib/quick-list/quick-list-compact/quick-list-compact.component.mjs +5 -12
- package/esm2022/lib/quick-list/quick-list.component.mjs +3 -3
- package/esm2022/lib/quick-list/quick-list.module.mjs +4 -4
- package/esm2022/lib/quick-list/reactive-form-quick-list/reactive-form-quick-list.component.mjs +5 -12
- package/esm2022/lib/quick-list/reactive-form-quick-list-compact/reactive-form-quick-list-compact.component.mjs +5 -12
- package/esm2022/lib/readonly/readonly-form-field/readonly-form-field.component.mjs +5 -5
- package/esm2022/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.mjs +6 -6
- package/esm2022/lib/readonly/readonly-form-field.module.mjs +4 -4
- package/esm2022/lib/stepper/step-header/step-header.component.mjs +5 -5
- package/esm2022/lib/stepper/stepper.component.mjs +8 -8
- package/esm2022/lib/stepper/stepper.module.mjs +4 -4
- package/esm2022/lib/table/table.component.mjs +4 -4
- package/esm2022/lib/table/table.module.mjs +4 -4
- package/esm2022/lib/throttle-click/throttle-click.directive.mjs +3 -3
- package/esm2022/lib/throttle-click/throttle-click.module.mjs +4 -4
- package/esm2022/public_api.mjs +2 -2
- package/fesm2022/porscheinformatik-material-addons.mjs +252 -267
- package/fesm2022/porscheinformatik-material-addons.mjs.map +1 -1
- package/lib/alert/alert-configuration.d.ts +9 -0
- package/lib/alert/alert-configuration.d.ts.map +1 -0
- package/lib/alert/alert.component.d.ts +3 -0
- package/lib/alert/alert.component.d.ts.map +1 -1
- package/lib/alert/alert.d.ts +3 -0
- package/lib/alert/alert.d.ts.map +1 -0
- package/lib/button/danger-button/danger-button.component.d.ts.map +1 -1
- package/lib/button/flat-button/link-button.component.d.ts.map +1 -1
- package/lib/button/icon-button/icon-button.component.d.ts.map +1 -1
- package/lib/button/outline-button/outline-button.component.d.ts.map +1 -1
- package/lib/button/primary-button/primary-button.component.d.ts.map +1 -1
- package/lib/data-table/util/data-table-sort-util.d.ts.map +1 -1
- package/lib/quick-list/quick-list-compact/quick-list-compact.component.d.ts.map +1 -1
- package/lib/quick-list/reactive-form-quick-list/reactive-form-quick-list.component.d.ts.map +1 -1
- package/lib/quick-list/reactive-form-quick-list-compact/reactive-form-quick-list-compact.component.d.ts.map +1 -1
- package/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.d.ts.map +1 -1
- package/package.json +4 -3
- package/public_api.d.ts +1 -1
- package/public_api.d.ts.map +1 -1
- package/themes/carcat.scss +9 -0
- package/themes/common/styles.scss +4 -4
- package/themes/common/theme.scss +6 -6
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { AlertType, AlertSize } from './alert.component';
|
|
3
|
+
export interface AlertDefaultOptions {
|
|
4
|
+
type?: AlertType;
|
|
5
|
+
size?: AlertSize;
|
|
6
|
+
}
|
|
7
|
+
export declare const MAD_ALERT_DEFAULT_CONFIGURATION: InjectionToken<AlertDefaultOptions>;
|
|
8
|
+
export declare function MAD_ALERT_DEFAULT_CONFIGURATION_FACTORY(): AlertDefaultOptions;
|
|
9
|
+
//# sourceMappingURL=alert-configuration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert-configuration.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/alert/alert-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEzD,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,eAAO,MAAM,+BAA+B,qCAG1C,CAAC;AAEH,wBAAgB,uCAAuC,IAAI,mBAAmB,CAK7E"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { AlertDefaultOptions } from './alert-configuration';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export type AlertType = 'success' | 'info' | 'warning' | 'error';
|
|
4
5
|
export type AlertSize = 'small' | 'medium' | 'large';
|
|
5
6
|
export declare class AlertComponent {
|
|
7
|
+
private alertConfig;
|
|
6
8
|
type: AlertType;
|
|
7
9
|
message: string;
|
|
8
10
|
size: AlertSize;
|
|
@@ -11,6 +13,7 @@ export declare class AlertComponent {
|
|
|
11
13
|
close: EventEmitter<void>;
|
|
12
14
|
action: EventEmitter<void>;
|
|
13
15
|
get icon(): "" | "error" | "info" | "warning" | "check_circle";
|
|
16
|
+
constructor(alertConfig: AlertDefaultOptions);
|
|
14
17
|
closeAlert(): void;
|
|
15
18
|
onAction(): void;
|
|
16
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.component.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/alert/alert.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,
|
|
1
|
+
{"version":3,"file":"alert.component.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/alert/alert.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAyB,MAAM,eAAe,CAAC;AAI/E,OAAO,EAAE,mBAAmB,EAAmC,MAAM,uBAAuB,CAAC;;AAE7F,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AACjE,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAErD,qBAOa,cAAc;IAwB4B,OAAO,CAAC,WAAW;IAvB/D,IAAI,EAAE,SAAS,CAAyB;IACxC,OAAO,EAAE,MAAM,CAAM;IACrB,IAAI,EAAE,SAAS,CAAyB;IACxC,UAAU,EAAE,MAAM,CAAM;IACxB,SAAS,EAAE,OAAO,CAAQ;IACzB,KAAK,qBAA4B;IACjC,MAAM,qBAA4B;IAE5C,IAAI,IAAI,uDAaP;gBAE4D,WAAW,EAAE,mBAAmB;IAE7F,UAAU;IAIV,QAAQ;yCA9BG,cAAc;2CAAd,cAAc;CAiC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/alert/alert.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"danger-button.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/button/danger-button/danger-button.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAoB,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;;AAGrD,qBAOa,qBAAsB,SAAQ,cAAc;IAEvD,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,OAAO,CAAC;IAGlB,KAAK,SAAM;IAE2C,MAAM,EAAE,UAAU,CAAC;;yCAV9D,qBAAqB;2CAArB,qBAAqB;
|
|
1
|
+
{"version":3,"file":"danger-button.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/button/danger-button/danger-button.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAoB,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;;AAGrD,qBAOa,qBAAsB,SAAQ,cAAc;IAEvD,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,OAAO,CAAC;IAGlB,KAAK,SAAM;IAE2C,MAAM,EAAE,UAAU,CAAC;;yCAV9D,qBAAqB;2CAArB,qBAAqB;CAejC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-button.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/button/flat-button/link-button.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAoB,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;;AAGrD,qBAMa,mBAAoB,SAAQ,cAAc;IAErD,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,OAAO,CAAC;IAGlB,KAAK,SAAM;IAE2C,MAAM,EAAE,UAAU,CAAC;;yCAV9D,mBAAmB;2CAAnB,mBAAmB;
|
|
1
|
+
{"version":3,"file":"link-button.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/button/flat-button/link-button.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAoB,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;;AAGrD,qBAMa,mBAAoB,SAAQ,cAAc;IAErD,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,OAAO,CAAC;IAGlB,KAAK,SAAM;IAE2C,MAAM,EAAE,UAAU,CAAC;;yCAV9D,mBAAmB;2CAAnB,mBAAmB;CAe/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/button/icon-button/icon-button.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAoB,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;;AAGrD,qBAMa,mBAAoB,SAAQ,cAAc;IAErD,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,OAAO,CAAC;IAGlB,KAAK,SAAM;IAE2C,MAAM,EAAE,UAAU,CAAC;;yCAV9D,mBAAmB;2CAAnB,mBAAmB;
|
|
1
|
+
{"version":3,"file":"icon-button.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/button/icon-button/icon-button.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAoB,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;;AAGrD,qBAMa,mBAAoB,SAAQ,cAAc;IAErD,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,OAAO,CAAC;IAGlB,KAAK,SAAM;IAE2C,MAAM,EAAE,UAAU,CAAC;;yCAV9D,mBAAmB;2CAAnB,mBAAmB;CAe/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outline-button.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/button/outline-button/outline-button.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAoB,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;;AAGtD,qBAOa,sBAAuB,SAAQ,cAAc;IAExD,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,OAAO,CAAC;IAGlB,KAAK,SAAM;IAGX,KAAK,EAAE,YAAY,CAAa;IAEsB,MAAM,EAAE,UAAU,CAAC;;yCAb9D,sBAAsB;2CAAtB,sBAAsB;
|
|
1
|
+
{"version":3,"file":"outline-button.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/button/outline-button/outline-button.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAoB,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;;AAGtD,qBAOa,sBAAuB,SAAQ,cAAc;IAExD,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,OAAO,CAAC;IAGlB,KAAK,SAAM;IAGX,KAAK,EAAE,YAAY,CAAa;IAEsB,MAAM,EAAE,UAAU,CAAC;;yCAb9D,sBAAsB;2CAAtB,sBAAsB;CAkBlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primary-button.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/button/primary-button/primary-button.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAoB,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;;AAGrD,qBAMa,sBAAuB,SAAQ,cAAc;IAExD,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,OAAO,CAAC;IAGlB,KAAK,SAAM;IAE2C,MAAM,EAAE,UAAU,CAAC;;yCAV9D,sBAAsB;2CAAtB,sBAAsB;
|
|
1
|
+
{"version":3,"file":"primary-button.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/button/primary-button/primary-button.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAoB,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;;AAGrD,qBAMa,sBAAuB,SAAQ,cAAc;IAExD,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,OAAO,CAAC;IAGlB,KAAK,SAAM;IAE2C,MAAM,EAAE,UAAU,CAAC;;yCAV9D,sBAAsB;2CAAtB,sBAAsB;CAelC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-table-sort-util.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/data-table/util/data-table-sort-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,kDAAkD,CAAC;AAEhF,qBAAa,iBAAiB;IAC5B,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,EAAE,YAAY,CAAC,EAAE,YAAY,GAAG,CAAC,SAAS,EAAE,GAAG,EAAE,EAAE,OAAO,EAAE,OAAO,KAAK,GAAG,EAAE;IAKtH,MAAM,CAAC,WAAW,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE,EAAE,OAAO,EAAE,OAAO,KAAK,GAAG,EAAE;IAInE,MAAM,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"data-table-sort-util.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/data-table/util/data-table-sort-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,kDAAkD,CAAC;AAEhF,qBAAa,iBAAiB;IAC5B,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,EAAE,YAAY,CAAC,EAAE,YAAY,GAAG,CAAC,SAAS,EAAE,GAAG,EAAE,EAAE,OAAO,EAAE,OAAO,KAAK,GAAG,EAAE;IAKtH,MAAM,CAAC,WAAW,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE,EAAE,OAAO,EAAE,OAAO,KAAK,GAAG,EAAE;IAInE,MAAM,CAAC,OAAO,CACZ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACtB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACtB,IAAI,EAAE,IAAI,EACV,cAAc,CAAC,EAAE,MAAM,EAAE,EACzB,YAAY,CAAC,EAAE,YAAY,GAC1B,MAAM;IA6CT,MAAM,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,GAAG,MAAM;IAItE,MAAM,CAAC,WAAW,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,GAAG,MAAM;IAIxE,MAAM,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,GAAG,MAAM;IAItE,MAAM,CAAC,cAAc,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,GAAG,MAAM;IAazE,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,YAAY,GAAG,MAAM,GAAG,MAAM;CAchF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quick-list-compact.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/quick-list/quick-list-compact/quick-list-compact.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;;AAM7C,
|
|
1
|
+
{"version":3,"file":"quick-list-compact.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/quick-list/quick-list-compact/quick-list-compact.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;;AAM7C,qBAOa,yBAA0B,SAAQ,sBAAsB,CAAC,aAAa,CAAC;IAEzE,iBAAiB,EAAE,iBAAiB;IACpC,WAAW,EAAE,WAAW;gBADxB,iBAAiB,EAAE,iBAAiB,EACpC,WAAW,EAAE,WAAW;yCAHtB,yBAAyB;2CAAzB,yBAAyB;CAOrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reactive-form-quick-list.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/quick-list/reactive-form-quick-list/reactive-form-quick-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;;AAM7C,
|
|
1
|
+
{"version":3,"file":"reactive-form-quick-list.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/quick-list/reactive-form-quick-list/reactive-form-quick-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;;AAM7C,qBAOa,8BAA+B,SAAQ,sBAAsB,CAAC,aAAa,CAAC;IAE9E,iBAAiB,EAAE,iBAAiB;IACpC,WAAW,EAAE,WAAW;gBADxB,iBAAiB,EAAE,iBAAiB,EACpC,WAAW,EAAE,WAAW;yCAHtB,8BAA8B;2CAA9B,8BAA8B;CAO1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reactive-form-quick-list-compact.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/quick-list/reactive-form-quick-list-compact/reactive-form-quick-list-compact.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;;AAMrF,
|
|
1
|
+
{"version":3,"file":"reactive-form-quick-list-compact.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/quick-list/reactive-form-quick-list-compact/reactive-form-quick-list-compact.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;;AAMrF,qBAOa,qCAAsC,SAAQ,sBAAsB,CAAC,aAAa,CAAC;IAErF,iBAAiB,EAAE,iBAAiB;IACpC,WAAW,EAAE,WAAW;gBADxB,iBAAiB,EAAE,iBAAiB,EACpC,WAAW,EAAE,WAAW;yCAHtB,qCAAqC;2CAArC,qCAAqC;CAOjD"}
|
package/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readonly-form-field-wrapper.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAC;AACvB,OAAO,
|
|
1
|
+
{"version":3,"file":"readonly-form-field-wrapper.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAoB,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;;AAKtE;;;;GAIG;AACH,qBAQa,iCAAkC,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,gBAAgB;IAmExG,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,aAAa;IAlEvB,eAAe,EAAE,UAAU,CAAC;IAE5B,sBAAsB,EAAE,UAAU,CAAC;IAEnC;;;OAGG;IACM,QAAQ,UAAQ;IAEzB;;;OAGG;IACa,KAAK,CAAC,EAAE,GAAG,CAAC;IAER,SAAS,EAAE,OAAO,GAAG,MAAM,CAAU;IAClC,YAAY,UAAS;IACpB,aAAa,SAAK;IACd,UAAU,UAAS;IACpB,gBAAgB,UAAS;IACrC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAQ;IACnB,YAAY,EAAE,OAAO,GAAG,MAAM,CAAU;IACxC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAQ;IACjD,EAAE,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACM,SAAS,UAAS;IAE3B;;OAEG;IACM,IAAI,EAAE,MAAM,CAAC;IAEtB;;;;;OAKG;IACM,aAAa,UAAS;IACtB,sBAAsB,UAAS;IACxC;;OAEG;IACM,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACM,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACM,iBAAiB,UAAS;IACzB,oBAAoB,oBAAsB;IAC1C,oBAAoB,oBAAsB;IAEpD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;gBAGJ,cAAc,EAAE,iBAAiB,EACjC,aAAa,EAAE,kBAAkB;IAG3C,QAAQ,IAAI,IAAI;IAIhB,eAAe,IAAI,IAAI;IAKvB,kBAAkB,IAAI,IAAI;IAE1B,WAAW,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI;IAInC,QAAQ,IAAI,MAAM;IAOlB,aAAa;IAIb,aAAa;IAIb,eAAe,IAAI,IAAI;IAKvB,OAAO,CAAC,WAAW;IAYnB,OAAO,CAAC,YAAY;IAQpB,OAAO,CAAC,YAAY;IAqBpB,OAAO,CAAC,YAAY;yCAnJT,iCAAiC;2CAAjC,iCAAiC;CAyJ7C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porscheinformatik/material-addons",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "18.0.1",
|
|
4
4
|
"description": "Custom theme and components for Angular Material",
|
|
5
5
|
"homepage": "https://github.com/porscheinformatik/material-addons",
|
|
6
6
|
"repository": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"version.d.ts"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"tslib": "^2.
|
|
37
|
+
"tslib": "^2.3.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@angular/cdk": ">= 16.0.0",
|
|
@@ -44,7 +44,8 @@
|
|
|
44
44
|
"@ngx-translate/core": ">= 14.0.0",
|
|
45
45
|
"roboto-fontface": "0.10.0",
|
|
46
46
|
"luxon": "^3.4.2",
|
|
47
|
-
"material-icons": "^1.11.11"
|
|
47
|
+
"material-icons": "^1.11.11",
|
|
48
|
+
"uuid": "^10.0.0"
|
|
48
49
|
},
|
|
49
50
|
"exports": {
|
|
50
51
|
"./package.json": {
|
package/public_api.d.ts
CHANGED
|
@@ -41,5 +41,5 @@ export * from './lib/layout/toolbar/toolbar-action.interface';
|
|
|
41
41
|
export * from './lib/material-addons.module';
|
|
42
42
|
export * from './lib/file-upload/file-upload.component';
|
|
43
43
|
export * from './version';
|
|
44
|
-
export * from './lib/alert/alert
|
|
44
|
+
export * from './lib/alert/alert';
|
|
45
45
|
//# sourceMappingURL=public_api.d.ts.map
|
package/public_api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../projects/material-addons/src/public_api.ts"],"names":[],"mappings":"AAGA,cAAc,+DAA+D,CAAC;AAC9E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,kFAAkF,CAAC;AACjG,cAAc,kEAAkE,CAAC;AAEjF,cAAc,mCAAmC,CAAC;AAClD,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,iCAAiC,CAAC;AAChD,cAAc,iDAAiD,CAAC;AAChE,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAE7C,cAAc,oEAAoE,CAAC;AACnF,cAAc,uFAAuF,CAAC;AACtG,cAAc,uGAAuG,CAAC;AACtH,cAAc,qGAAqG,CAAC;AACpH,cAAc,uGAAuG,CAAC;AACtH,cAAc,qEAAqE,CAAC;AACpF,cAAc,kDAAkD,CAAC;AAEjE,cAAc,wCAAwC,CAAC;AACvD,cAAc,qCAAqC,CAAC;AAEpD,cAAc,wCAAwC,CAAC;AACvD,cAAc,0DAA0D,CAAC;AACzE,cAAc,qCAAqC,CAAC;AACpD,cAAc,sDAAsD,CAAC;AAErE,cAAc,qCAAqC,CAAC;AACpD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,+CAA+C,CAAC;AAE9D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yCAAyC,CAAC;AACxD,cAAc,WAAW,CAAC;AAE1B,cAAc,
|
|
1
|
+
{"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../projects/material-addons/src/public_api.ts"],"names":[],"mappings":"AAGA,cAAc,+DAA+D,CAAC;AAC9E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,kFAAkF,CAAC;AACjG,cAAc,kEAAkE,CAAC;AAEjF,cAAc,mCAAmC,CAAC;AAClD,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,iCAAiC,CAAC;AAChD,cAAc,iDAAiD,CAAC;AAChE,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAE7C,cAAc,oEAAoE,CAAC;AACnF,cAAc,uFAAuF,CAAC;AACtG,cAAc,uGAAuG,CAAC;AACtH,cAAc,qGAAqG,CAAC;AACpH,cAAc,uGAAuG,CAAC;AACtH,cAAc,qEAAqE,CAAC;AACpF,cAAc,kDAAkD,CAAC;AAEjE,cAAc,wCAAwC,CAAC;AACvD,cAAc,qCAAqC,CAAC;AAEpD,cAAc,wCAAwC,CAAC;AACvD,cAAc,0DAA0D,CAAC;AACzE,cAAc,qCAAqC,CAAC;AACpD,cAAc,sDAAsD,CAAC;AAErE,cAAc,qCAAqC,CAAC;AACpD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,+CAA+C,CAAC;AAE9D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yCAAyC,CAAC;AACxD,cAAc,WAAW,CAAC;AAE1B,cAAc,mBAAmB,CAAC"}
|
package/themes/carcat.scss
CHANGED
|
@@ -36,3 +36,12 @@ $custom-theme: theme.build-custom-theme($theme-name, $primary-palette, common.$d
|
|
|
36
36
|
@include mat.all-component-themes($custom-theme);
|
|
37
37
|
@include mat.all-component-typographies($custom-theme);
|
|
38
38
|
@include common.theme($theme-name, $custom-theme);
|
|
39
|
+
|
|
40
|
+
mad-alert {
|
|
41
|
+
.alert.small {
|
|
42
|
+
@include mat.icon-button-density(-3);
|
|
43
|
+
border-width: 2px;
|
|
44
|
+
border-radius: 0.5rem;
|
|
45
|
+
font-size: 1rem !important;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -40,7 +40,7 @@ $default-palette: (
|
|
|
40
40
|
alert-warning-text-color: #856404,
|
|
41
41
|
alert-error-background-color: rgb(255, 242, 240),
|
|
42
42
|
alert-error-border-color: rgb(224, 34, 0),
|
|
43
|
-
alert-error-text-color: #721c24
|
|
43
|
+
alert-error-text-color: #721c24,
|
|
44
44
|
);
|
|
45
45
|
|
|
46
46
|
@mixin color($theme-name, $theme) {
|
|
@@ -151,18 +151,18 @@ $default-palette: (
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
@mixin typography($theme-name, $theme) {
|
|
154
|
-
$typography-config: mat.get-typography-config($theme);
|
|
154
|
+
$typography-config: mat.m2-get-typography-config($theme);
|
|
155
155
|
|
|
156
156
|
// set custom typography styles here
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
@mixin theme($theme-name, $theme) {
|
|
160
|
-
$color-config: mat.get-color-config($theme-name, $theme);
|
|
160
|
+
$color-config: mat.m2-get-color-config($theme-name, $theme);
|
|
161
161
|
@if $color-config != null {
|
|
162
162
|
@include color($theme-name, $theme);
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
$typography-config: mat.get-typography-config($theme-name, $theme);
|
|
165
|
+
$typography-config: mat.m2-get-typography-config($theme-name, $theme);
|
|
166
166
|
@if $typography-config != null {
|
|
167
167
|
@include typography($theme-name, $theme);
|
|
168
168
|
}
|
package/themes/common/theme.scss
CHANGED
|
@@ -7,14 +7,14 @@ $warn-palette: undefined;
|
|
|
7
7
|
$default-palette: undefined;
|
|
8
8
|
$is-dark-theme: undefined;
|
|
9
9
|
|
|
10
|
-
$typography: mat.define-typography-config(
|
|
10
|
+
$typography: mat.m2-define-typography-config(
|
|
11
11
|
$font-family: 'Roboto, Helvetica Neue, sans-serif',
|
|
12
12
|
);
|
|
13
13
|
|
|
14
|
-
@function build-custom-theme($theme-name, $primary-palette, $default-colors, $warn-palette: mat.$red-palette) {
|
|
15
|
-
$material-addons-colors-primary: mat.define-palette($primary-palette);
|
|
16
|
-
$material-addons-colors-warn: mat.define-palette($warn-palette);
|
|
17
|
-
$material-addons-theme: mat.define-light-theme(
|
|
14
|
+
@function build-custom-theme($theme-name, $primary-palette, $default-colors, $warn-palette: mat.$m2-red-palette) {
|
|
15
|
+
$material-addons-colors-primary: mat.m2-define-palette($primary-palette);
|
|
16
|
+
$material-addons-colors-warn: mat.m2-define-palette($warn-palette);
|
|
17
|
+
$material-addons-theme: mat.m2-define-light-theme(
|
|
18
18
|
(
|
|
19
19
|
color: (
|
|
20
20
|
primary: $material-addons-colors-primary,
|
|
@@ -25,7 +25,7 @@ $typography: mat.define-typography-config(
|
|
|
25
25
|
)
|
|
26
26
|
);
|
|
27
27
|
|
|
28
|
-
$color-config: mat.get-color-config($material-addons-theme);
|
|
28
|
+
$color-config: mat.m2-get-color-config($material-addons-theme);
|
|
29
29
|
$primary-palette: map.get($color-config, 'primary') !global;
|
|
30
30
|
$accent-palette: map.get($color-config, 'accent') !global;
|
|
31
31
|
$warn-palette: map.get($color-config, 'warn') !global;
|