@porscheinformatik/clr-addons 19.21.2 → 21.0.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.
- package/fesm2022/porscheinformatik-clr-addons-charts.mjs +256 -251
- package/fesm2022/porscheinformatik-clr-addons-charts.mjs.map +1 -1
- package/fesm2022/{clr-addons.mjs → porscheinformatik-clr-addons.mjs} +1409 -1747
- package/fesm2022/porscheinformatik-clr-addons.mjs.map +1 -0
- package/package.json +10 -14
- package/styles/clr-addons-phs.css +25 -24
- package/styles/clr-addons-phs.css.map +1 -1
- package/styles/clr-addons-phs.min.css +1 -1
- package/styles/clr-addons-phs.min.css.map +1 -1
- package/types/porscheinformatik-clr-addons-charts.d.ts +601 -0
- package/types/porscheinformatik-clr-addons.d.ts +4773 -0
- package/abstract-form-component/abstract-form-component.d.ts +0 -32
- package/abstract-form-component/control-id.service.d.ts +0 -11
- package/abstract-form-component/form.module.d.ts +0 -7
- package/abstract-form-component/index.d.ts +0 -2
- package/abstract-form-component/label.d.ts +0 -15
- package/action-panel/action-panel-container-content.d.ts +0 -5
- package/action-panel/action-panel-container-footer.d.ts +0 -5
- package/action-panel/action-panel-container.d.ts +0 -5
- package/action-panel/action-panel.d.ts +0 -14
- package/action-panel/action-panel.module.d.ts +0 -13
- package/action-panel/index.d.ts +0 -5
- package/autocomplete-off/autocomplete-off.directive.d.ts +0 -5
- package/autocomplete-off/autocomplete-off.module.d.ts +0 -7
- package/autocomplete-off/index.d.ts +0 -2
- package/back-button/back-button.d.ts +0 -9
- package/back-button/back-button.module.d.ts +0 -10
- package/back-button/index.d.ts +0 -2
- package/brand-avatar/brand-avatar.d.ts +0 -27
- package/brand-avatar/brand-avatar.module.d.ts +0 -9
- package/brand-avatar/index.d.ts +0 -2
- package/breadcrumb/breadcrumb-model.interface.d.ts +0 -10
- package/breadcrumb/breadcrumb.d.ts +0 -17
- package/breadcrumb/breadcrumb.module.d.ts +0 -10
- package/breadcrumb/breadcrumb.service.d.ts +0 -9
- package/breadcrumb/index.d.ts +0 -4
- package/charts/area-chart/area-chart.component.d.ts +0 -41
- package/charts/bar-chart/bar-chart.component.d.ts +0 -97
- package/charts/chart-alert-overlay/chart-alert-overlay.component.d.ts +0 -7
- package/charts/chart-export/chart-export-button.component.d.ts +0 -13
- package/charts/chart-export/chart-export.service.d.ts +0 -20
- package/charts/chart-legend/chart-legend.component.d.ts +0 -12
- package/charts/chart-tooltip/chart-tooltip.component.d.ts +0 -16
- package/charts/charts.module.d.ts +0 -21
- package/charts/combo-chart/combo-chart.component.d.ts +0 -83
- package/charts/constants/alert-message-constants.d.ts +0 -5
- package/charts/constants/index.d.ts +0 -1
- package/charts/directives/auto-position.directive.d.ts +0 -16
- package/charts/directives/index.d.ts +0 -4
- package/charts/directives/outside-click.directive.d.ts +0 -10
- package/charts/directives/screen-state.service.d.ts +0 -35
- package/charts/directives/tenant-full-date-range.directive.d.ts +0 -10
- package/charts/directives/window-resize.directive.d.ts +0 -12
- package/charts/funnel-chart/funnel-chart.component.d.ts +0 -154
- package/charts/index.d.ts +0 -8
- package/charts/line-chart/line-chart.component.d.ts +0 -43
- package/charts/pie-chart/pie-chart.component.d.ts +0 -40
- package/charts/shared/chart-base.d.ts +0 -37
- package/charts/shared/chart-skeleton.component.d.ts +0 -8
- package/charts/shared/d3-chart-axes.d.ts +0 -50
- package/charts/shared/d3-dots.d.ts +0 -10
- package/charts/shared/xy-chart.types.d.ts +0 -35
- package/charts/utils/color.utils.d.ts +0 -9
- package/charts/utils/index.d.ts +0 -3
- package/charts/utils/text.utils.d.ts +0 -8
- package/charts/utils/utils.d.ts +0 -2
- package/clr-addons.module.d.ts +0 -48
- package/clr-control-warning/if-warning.directive.d.ts +0 -19
- package/clr-control-warning/if-warning.module.d.ts +0 -8
- package/clr-control-warning/index.d.ts +0 -2
- package/collapse-expand-section/collapse-expand-section.d.ts +0 -14
- package/collapse-expand-section/collapse-expand-section.module.d.ts +0 -10
- package/collapse-expand-section/index.d.ts +0 -2
- package/content-panel/content-panel-container-content.d.ts +0 -5
- package/content-panel/content-panel-container-footer.d.ts +0 -5
- package/content-panel/content-panel-container.d.ts +0 -5
- package/content-panel/content-panel.d.ts +0 -14
- package/content-panel/content-panel.module.d.ts +0 -13
- package/content-panel/index.d.ts +0 -5
- package/control-enter-submit/clr-control-enter-submit.directive.d.ts +0 -16
- package/control-enter-submit/index.d.ts +0 -1
- package/copy-to-clipboard/copy-to-clipboard.d.ts +0 -31
- package/copy-to-clipboard/index.d.ts +0 -1
- package/data-list-validator/data-list-predefined-validator.directive.d.ts +0 -14
- package/data-list-validator/data-list-validator.module.d.ts +0 -7
- package/data-list-validator/data-list.validator.d.ts +0 -26
- package/data-list-validator/index.d.ts +0 -3
- package/datagrid/column-reorder/column-reorder.directive.d.ts +0 -32
- package/datagrid/column-reorder/datagrid-column-reorder.module.d.ts +0 -9
- package/datagrid/column-reorder/dynamic-cell-content.component.d.ts +0 -9
- package/datagrid/column-reorder/dynamic-column.d.ts +0 -10
- package/datagrid/column-reorder/index.d.ts +0 -4
- package/datagrid/datagrid-state-persistence/column-hidden-state-persistence.directive.d.ts +0 -21
- package/datagrid/datagrid-state-persistence/datagrid-field.directive.d.ts +0 -8
- package/datagrid/datagrid-state-persistence/datagrid-state-persistence-model.interface.d.ts +0 -15
- package/datagrid/datagrid-state-persistence/datagrid-state-persistence.module.d.ts +0 -9
- package/datagrid/datagrid-state-persistence/index.d.ts +0 -6
- package/datagrid/datagrid-state-persistence/state-persistence-key.directive.d.ts +0 -82
- package/datagrid/datagrid-state-persistence/state-persistence-options.interface.d.ts +0 -14
- package/datagrid/date-filter/date-filter.component.d.ts +0 -58
- package/datagrid/date-filter/date-filter.module.d.ts +0 -12
- package/datagrid/date-filter/index.d.ts +0 -2
- package/datagrid/date-filter/nested-property.d.ts +0 -10
- package/datagrid/enum-filter/enum-filter.component.d.ts +0 -44
- package/datagrid/enum-filter/enum-filter.module.d.ts +0 -10
- package/datagrid/enum-filter/index.d.ts +0 -2
- package/datagrid/index.d.ts +0 -4
- package/date-time-container/date-time-container.d.ts +0 -11
- package/date-time-container/date-time-module.d.ts +0 -11
- package/date-time-container/index.d.ts +0 -3
- package/date-time-container/time-input.d.ts +0 -5
- package/daterangepicker/daterange.constants.d.ts +0 -21
- package/daterangepicker/daterangepicker.module.d.ts +0 -18
- package/daterangepicker/directives/abstract-container.component.d.ts +0 -53
- package/daterangepicker/directives/datepicker/datepicker.component.d.ts +0 -66
- package/daterangepicker/directives/daterangepicker/daterangepicker.directive.d.ts +0 -133
- package/daterangepicker/directives/daterangepicker-container/daterangepicker-container.component.d.ts +0 -133
- package/daterangepicker/directives/if-daterange-error.directive.d.ts +0 -40
- package/daterangepicker/directives/timepicker/timepicker.component.d.ts +0 -33
- package/daterangepicker/index.d.ts +0 -16
- package/daterangepicker/interfaces/daterange-preset.interface.d.ts +0 -8
- package/daterangepicker/interfaces/daterange.interface.d.ts +0 -12
- package/daterangepicker/interfaces/timerange-preset.interface.d.ts +0 -8
- package/daterangepicker/interfaces/timerange.interface.d.ts +0 -13
- package/daterangepicker/models/day.model.d.ts +0 -80
- package/daterangepicker/models/popover-positions.model.d.ts +0 -20
- package/daterangepicker/models/time.model.d.ts +0 -65
- package/daterangepicker/providers/daterange-control-state.service.d.ts +0 -42
- package/daterangepicker/providers/daterange-parsing.service.d.ts +0 -77
- package/daterangepicker/providers/daterange.service.d.ts +0 -47
- package/daterangepicker/providers/opened-datepickers-tracker.service.d.ts +0 -20
- package/daterangepicker/validators/daterange-max.validator.d.ts +0 -32
- package/daterangepicker/validators/daterange-min.validator.d.ts +0 -32
- package/daterangepicker/validators/daterange-order.validator.d.ts +0 -30
- package/daterangepicker/validators/daterange-required.validator.d.ts +0 -29
- package/dot-pager/dot-pager.d.ts +0 -21
- package/dot-pager/dot-pager.module.d.ts +0 -10
- package/dot-pager/index.d.ts +0 -2
- package/dropdown/clr-dropdown-overflow.directive.d.ts +0 -26
- package/dropdown/clr-dropdown-overflow.module.d.ts +0 -7
- package/dropdown/index.d.ts +0 -2
- package/export-datagrid-button/export-datagrid-button.component.d.ts +0 -39
- package/export-datagrid-button/export-datagrid-button.module.d.ts +0 -7
- package/export-datagrid-button/export-datagrid.service.d.ts +0 -15
- package/export-datagrid-button/export-type.model.d.ts +0 -9
- package/export-datagrid-button/index.d.ts +0 -4
- package/fesm2022/clr-addons.mjs.map +0 -1
- package/flow-bar/flow-bar.d.ts +0 -32
- package/flow-bar/flow-bar.module.d.ts +0 -11
- package/flow-bar/index.d.ts +0 -2
- package/focus-first-invalid-field/focus-first-invalid-field.directive.d.ts +0 -7
- package/focus-first-invalid-field/index.d.ts +0 -1
- package/generic-quick-list/generic-quick-list.d.ts +0 -29
- package/generic-quick-list/generic-quick-list.module.d.ts +0 -9
- package/generic-quick-list/index.d.ts +0 -2
- package/history/history-model.interface.d.ts +0 -38
- package/history/history-pinned.d.ts +0 -27
- package/history/history.d.ts +0 -33
- package/history/history.http.impl.service.d.ts +0 -16
- package/history/history.http.service.d.ts +0 -9
- package/history/history.module.d.ts +0 -12
- package/history/history.provider.d.ts +0 -15
- package/history/history.service.d.ts +0 -27
- package/history/index.d.ts +0 -7
- package/icon-avatar/icon-avatar.d.ts +0 -14
- package/icon-avatar/icon-avatar.module.d.ts +0 -9
- package/icon-avatar/index.d.ts +0 -2
- package/icons/index.d.ts +0 -2
- package/icons/shapes.d.ts +0 -1088
- package/icons/svg-tag-generator.d.ts +0 -8
- package/image-gallery/image-carousel.d.ts +0 -36
- package/image-gallery/image-gallery.d.ts +0 -31
- package/image-gallery/image-gallery.module.d.ts +0 -10
- package/image-gallery/image-gallery.types.d.ts +0 -8
- package/image-gallery/index.d.ts +0 -3
- package/index.d.ts +0 -44
- package/keyboard-nav/clr-keyboard-nav-alt-mnemonic.directive.d.ts +0 -50
- package/keyboard-nav/clr-keyboard-nav-ctrl-arrow.directive.d.ts +0 -60
- package/keyboard-nav/index.d.ts +0 -2
- package/letter-avatar/index.d.ts +0 -2
- package/letter-avatar/letter-avatar.d.ts +0 -14
- package/letter-avatar/letter-avatar.module.d.ts +0 -9
- package/location-bar/index.d.ts +0 -5
- package/location-bar/location-bar-node/location-bar-node.component.d.ts +0 -59
- package/location-bar/location-bar-search/location-bar-search.component.d.ts +0 -23
- package/location-bar/location-bar.component.d.ts +0 -21
- package/location-bar/location-bar.model.d.ts +0 -54
- package/location-bar/location-bar.module.d.ts +0 -16
- package/location-bar/location-bar.provider.d.ts +0 -25
- package/location-bar/location-bar.search.model.d.ts +0 -16
- package/main-nav-group/index.d.ts +0 -3
- package/main-nav-group/main-nav-group-item.d.ts +0 -12
- package/main-nav-group/main-nav-group.d.ts +0 -30
- package/main-nav-group/main-nav-group.module.d.ts +0 -11
- package/multilingual/abstract-multilingual.d.ts +0 -31
- package/multilingual/index.d.ts +0 -5
- package/multilingual/multilingual-input/multilingual-input.d.ts +0 -8
- package/multilingual/multilingual-selector.d.ts +0 -10
- package/multilingual/multilingual-textarea/multilingual-textarea.d.ts +0 -9
- package/multilingual/multilingual-validators.d.ts +0 -48
- package/multilingual/multilingual.module.d.ts +0 -14
- package/notification/index.d.ts +0 -4
- package/notification/notification-ref.d.ts +0 -33
- package/notification/notification.d.ts +0 -34
- package/notification/notification.module.d.ts +0 -10
- package/notification/notification.service.d.ts +0 -27
- package/notification/scheduler-utils.d.ts +0 -10
- package/numericfield/index.d.ts +0 -3
- package/numericfield/numeric-field-validators.d.ts +0 -65
- package/numericfield/numeric-field.d.ts +0 -51
- package/numericfield/numeric-field.module.d.ts +0 -11
- package/paged-search-result-list/index.d.ts +0 -2
- package/paged-search-result-list/paged-search-result-list.d.ts +0 -46
- package/paged-search-result-list/paged-search-result-list.module.d.ts +0 -11
- package/pager/index.d.ts +0 -2
- package/pager/pager.d.ts +0 -43
- package/pager/pager.module.d.ts +0 -10
- package/progress-spinner/index.d.ts +0 -2
- package/progress-spinner/progress-spinner.d.ts +0 -19
- package/progress-spinner/progress-spinner.module.d.ts +0 -8
- package/quick-list/add-option.d.ts +0 -25
- package/quick-list/add-option.service.d.ts +0 -6
- package/quick-list/index.d.ts +0 -3
- package/quick-list/quick-list.d.ts +0 -30
- package/quick-list/quick-list.module.d.ts +0 -11
- package/readonly/index.d.ts +0 -2
- package/readonly/readonly.directive.d.ts +0 -37
- package/readonly/readonly.module.d.ts +0 -7
- package/searchfield/index.d.ts +0 -2
- package/searchfield/search-field.d.ts +0 -26
- package/searchfield/search-field.module.d.ts +0 -10
- package/signpost/index.d.ts +0 -2
- package/signpost/signpost.component.d.ts +0 -22
- package/signpost/signpost.module.d.ts +0 -9
- package/summary-area/index.d.ts +0 -7
- package/summary-area/summary-area/summary-area-state.service.d.ts +0 -15
- package/summary-area/summary-area/summary-area.d.ts +0 -75
- package/summary-area/summary-area/summary-area.model.d.ts +0 -19
- package/summary-area/summary-area-toggle/summary-area-toggle.d.ts +0 -15
- package/summary-area/summary-item/summary-item.d.ts +0 -59
- package/summary-area/summary-item/summary-item.model.d.ts +0 -19
- package/summary-area/summary-item-value/summary-item-value.d.ts +0 -65
- package/treetable/built-in/filter/treetable-string-filter.d.ts +0 -24
- package/treetable/enums/selection-type.d.ts +0 -9
- package/treetable/enums/sort-order.enum.d.ts +0 -5
- package/treetable/index.d.ts +0 -17
- package/treetable/interfaces/comparator.interface.d.ts +0 -3
- package/treetable/interfaces/filter-model.d.ts +0 -37
- package/treetable/interfaces/treetable-model.d.ts +0 -55
- package/treetable/interfaces/treetable-state-model.d.ts +0 -20
- package/treetable/providers/filters.d.ts +0 -29
- package/treetable/providers/index.d.ts +0 -2
- package/treetable/providers/sort.d.ts +0 -28
- package/treetable/providers/treetable-data-state.service.d.ts +0 -37
- package/treetable/providers/treetable-recursion.service.d.ts +0 -17
- package/treetable/renderer/cell-renderer.d.ts +0 -11
- package/treetable/renderer/header-renderer.d.ts +0 -18
- package/treetable/renderer/index.d.ts +0 -4
- package/treetable/renderer/main-renderer.d.ts +0 -22
- package/treetable/renderer/row-renderer.d.ts +0 -8
- package/treetable/treetable-action-overflow.d.ts +0 -14
- package/treetable/treetable-cell.d.ts +0 -5
- package/treetable/treetable-column.d.ts +0 -18
- package/treetable/treetable-filter.d.ts +0 -18
- package/treetable/treetable-items.d.ts +0 -25
- package/treetable/treetable-placeholder.d.ts +0 -5
- package/treetable/treetable-recursive-rows.d.ts +0 -12
- package/treetable/treetable-row-checkbox.d.ts +0 -10
- package/treetable/treetable-row.d.ts +0 -27
- package/treetable/treetable.d.ts +0 -27
- package/treetable/treetable.module.d.ts +0 -25
- package/treetable/util/treetable-filter-util.d.ts +0 -22
- package/treetable/util/treetable-state-util.d.ts +0 -10
- package/util/escape.util.d.ts +0 -2
- package/util/index.d.ts +0 -2
- package/util/numeric.format.util.d.ts +0 -2
- package/view-edit-section/index.d.ts +0 -2
- package/view-edit-section/view-edit-section.d.ts +0 -37
- package/view-edit-section/view-edit-section.module.d.ts +0 -10
- package/view-edit-section/view-edit-section.types.d.ts +0 -2
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Time model.
|
|
3
|
-
* Takes care of keeping records of full time.
|
|
4
|
-
*/
|
|
5
|
-
export declare class TimeModel {
|
|
6
|
-
private hours;
|
|
7
|
-
private minutes;
|
|
8
|
-
private seconds;
|
|
9
|
-
/**
|
|
10
|
-
* Creates a time model.
|
|
11
|
-
* @param hours - The full hours (0-23).
|
|
12
|
-
* @param minutes - The minutes
|
|
13
|
-
* @param seconds - The seconds
|
|
14
|
-
*/
|
|
15
|
-
constructor(hours: number, minutes: number, seconds: number);
|
|
16
|
-
/**
|
|
17
|
-
* Creates an time model.
|
|
18
|
-
* @param date - Javascript Date object.
|
|
19
|
-
*/
|
|
20
|
-
constructor(date: Date);
|
|
21
|
-
/**
|
|
22
|
-
* Creates a time model.
|
|
23
|
-
* @param date - time string in `hh:mm:ss` format.
|
|
24
|
-
*/
|
|
25
|
-
constructor(date: string);
|
|
26
|
-
/**
|
|
27
|
-
* Checks if the passed value is equal to current time model.
|
|
28
|
-
* @param value - Time model.
|
|
29
|
-
* @returns Whether value is equal to current time model.
|
|
30
|
-
*/
|
|
31
|
-
isEqual(value: TimeModel): boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Checks if current time model is after value.
|
|
34
|
-
* @param value - time model.
|
|
35
|
-
* @returns Whether current time model is after value.
|
|
36
|
-
*/
|
|
37
|
-
isAfter(value: TimeModel): boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Checks if current time model is before value.
|
|
40
|
-
* @param value - Time model.
|
|
41
|
-
* @returns Whether current time model is before value.
|
|
42
|
-
*/
|
|
43
|
-
isBefore(value: TimeModel): boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Clones the current odel.
|
|
46
|
-
* @returns Cloned model.
|
|
47
|
-
*/
|
|
48
|
-
clone(): TimeModel;
|
|
49
|
-
/**
|
|
50
|
-
* Convert to Javascript Date object.
|
|
51
|
-
* @returns Javascript Date object.
|
|
52
|
-
*/
|
|
53
|
-
toDate(): Date;
|
|
54
|
-
/**
|
|
55
|
-
* To HTML5 time spec string.
|
|
56
|
-
* @returns Time as HTML5 spec string.
|
|
57
|
-
*/
|
|
58
|
-
toHTML5SpecTimeString(): string;
|
|
59
|
-
private pad;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Time model.
|
|
63
|
-
* Takes care of keeping records of full time.
|
|
64
|
-
*/
|
|
65
|
-
export type NullableTimeModel = TimeModel | undefined | null;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Daterange control state service.
|
|
6
|
-
* Stores data for communication between daterange container and input.
|
|
7
|
-
*/
|
|
8
|
-
export declare class DaterangeControlStateService {
|
|
9
|
-
/** Disabled control state. */
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
/** Focused. */
|
|
12
|
-
focused: boolean;
|
|
13
|
-
/** List of validation errors. */
|
|
14
|
-
errors: ValidationErrors | null;
|
|
15
|
-
private _invalid;
|
|
16
|
-
/**
|
|
17
|
-
* Control invalid status.
|
|
18
|
-
* @returns Control invalid status.
|
|
19
|
-
*/
|
|
20
|
-
get invalid(): boolean;
|
|
21
|
-
private _touched;
|
|
22
|
-
/**
|
|
23
|
-
* Touched.
|
|
24
|
-
* @returns Touched.
|
|
25
|
-
*/
|
|
26
|
-
get touched(): boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Update status.
|
|
29
|
-
* Only for valid & invalid status changes.
|
|
30
|
-
* And only if there was a real change.
|
|
31
|
-
* Also updates errors list.
|
|
32
|
-
* Emits `statusChange` event.
|
|
33
|
-
* @param control
|
|
34
|
-
*/
|
|
35
|
-
updateStatus(control: AbstractControl): void;
|
|
36
|
-
/**
|
|
37
|
-
* Event triggered when status changes.
|
|
38
|
-
*/
|
|
39
|
-
statusChange: EventEmitter<boolean>;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DaterangeControlStateService, never>;
|
|
41
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DaterangeControlStateService>;
|
|
42
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { InputDateDisplayFormat } from '../daterange.constants';
|
|
2
|
-
import { NullableDaterange } from '../interfaces/daterange.interface';
|
|
3
|
-
import { NullableTimerange } from '../interfaces/timerange.interface';
|
|
4
|
-
import { NullableTimeModel } from '../models/time.model';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Daterange parsing service.
|
|
8
|
-
* Heavy inspired by `date-io.service.ts` from Clarity.
|
|
9
|
-
* https://github.com/vmware-clarity/ng-clarity/blob/a21fe726fe91ae3c929b8f016359afe354bb89c6/projects/angular/src/forms/datepicker/providers/date-io.service.ts
|
|
10
|
-
*/
|
|
11
|
-
export declare class DaterangeParsingService {
|
|
12
|
-
private readonly locale;
|
|
13
|
-
readonly localeDisplayFormat: InputDateDisplayFormat;
|
|
14
|
-
readonly localeDelimiter: Array<string>;
|
|
15
|
-
/** Locale format. */
|
|
16
|
-
get localeFormat(): string;
|
|
17
|
-
constructor(locale: string);
|
|
18
|
-
/**
|
|
19
|
-
* Convert daterange to locale friendly text.
|
|
20
|
-
* @param daterange - Daterange.
|
|
21
|
-
* @param separator - Separator between 'from' and 'to' dates.
|
|
22
|
-
* @returns Friendly daterange text.
|
|
23
|
-
*/
|
|
24
|
-
toLocaleString(daterange: NullableDaterange, separator?: string): string;
|
|
25
|
-
toLocaleStringWithTime(daterange: NullableDaterange | NullableTimerange, separator?: string): string;
|
|
26
|
-
private toTimeString;
|
|
27
|
-
/**
|
|
28
|
-
* Convert date to locale display format string.
|
|
29
|
-
* @param date - Javascript Date object.
|
|
30
|
-
* @returns Locale display format string.
|
|
31
|
-
*/
|
|
32
|
-
private toLocaleDisplayFormatString;
|
|
33
|
-
/**
|
|
34
|
-
* String padding with zeros.
|
|
35
|
-
* @param num - Number to pad.
|
|
36
|
-
* @returns Padded string.
|
|
37
|
-
*/
|
|
38
|
-
private pad;
|
|
39
|
-
/**
|
|
40
|
-
* Parse daterange string to daterange object.
|
|
41
|
-
* @param daterangeString - Daterange string.
|
|
42
|
-
* @param separator - Separator text.
|
|
43
|
-
* @returns Daterange object.
|
|
44
|
-
*/
|
|
45
|
-
parse(daterangeString: string, separator?: string): NullableDaterange;
|
|
46
|
-
parseWithTime(daterangeString: string, separator?: string): NullableTimerange;
|
|
47
|
-
/**
|
|
48
|
-
* Get `DayModel` from date string.
|
|
49
|
-
* @param dateString - Date string.
|
|
50
|
-
* @returns DayModel.
|
|
51
|
-
*/
|
|
52
|
-
private getDayModelFromDateString;
|
|
53
|
-
/**
|
|
54
|
-
* Get `TimeModel` from time string.
|
|
55
|
-
* @param timeString - Time string in HH:mm:ss or HH:mm format.
|
|
56
|
-
* @returns TimeModel.
|
|
57
|
-
*/
|
|
58
|
-
getTimeModelFromDateString(timeString: string): NullableTimeModel;
|
|
59
|
-
/**
|
|
60
|
-
* Get `DayModel` from date string parts.
|
|
61
|
-
* @param yearString - Year string.
|
|
62
|
-
* @param monthString - Month string.
|
|
63
|
-
* @param dateString - Date string.
|
|
64
|
-
* @returns DayModel.
|
|
65
|
-
*/
|
|
66
|
-
private getDayModelFromDateParts;
|
|
67
|
-
/**
|
|
68
|
-
* Takes in a year and if it is a 2 digit year, returns the corresponding 4 digit year.
|
|
69
|
-
* Window of 80 years before and 20 years after the present year.
|
|
70
|
-
* Credit: https://github.com/globalizejs/globalize/blob/e1b31cd6a4f1cff75b185b68b7a32220aac5196f/src/date/parse.js
|
|
71
|
-
* @param year - Year.
|
|
72
|
-
* @returns Four-digit year.
|
|
73
|
-
*/
|
|
74
|
-
private parseToFourDigitYear;
|
|
75
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DaterangeParsingService, never>;
|
|
76
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DaterangeParsingService>;
|
|
77
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { NullableDaterange } from '../interfaces/daterange.interface';
|
|
3
|
-
import { NullableDayModel } from '../models/day.model';
|
|
4
|
-
import { NullableTimerange } from '../interfaces/timerange.interface';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Daterange service.
|
|
8
|
-
* Keeps track of daterange related values.
|
|
9
|
-
*/
|
|
10
|
-
export declare class DaterangeService {
|
|
11
|
-
/** Minimum date that can be selected. */
|
|
12
|
-
minDate: NullableDayModel;
|
|
13
|
-
/** Maximum date that can be selected. */
|
|
14
|
-
maxDate: NullableDayModel;
|
|
15
|
-
private _selectedDaterange;
|
|
16
|
-
timeActive: boolean;
|
|
17
|
-
timeSecondsActive: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Selected daterange value.
|
|
20
|
-
* @returns Selected daterange value.
|
|
21
|
-
*/
|
|
22
|
-
get selectedDaterange(): NullableDaterange;
|
|
23
|
-
/**
|
|
24
|
-
* Set selected daterange value.
|
|
25
|
-
* @param value - New selected daterange value.
|
|
26
|
-
* @param triggerEvent - Trigger change event (default true).
|
|
27
|
-
*/
|
|
28
|
-
updateSelectedDaterange(value: NullableDaterange | NullableTimerange, triggerEvent?: boolean): void;
|
|
29
|
-
/**
|
|
30
|
-
* Set selected Timerange value.
|
|
31
|
-
* @param value - New selected Timerange value.
|
|
32
|
-
* @param triggerEvent - Trigger change event (default true).
|
|
33
|
-
*/
|
|
34
|
-
updateSelectedTimerange(value: NullableTimerange, triggerEvent?: boolean): void;
|
|
35
|
-
/**
|
|
36
|
-
* Event triggered when value changes.
|
|
37
|
-
*/
|
|
38
|
-
valueChange: EventEmitter<import("../interfaces/daterange.interface").Daterange>;
|
|
39
|
-
/**
|
|
40
|
-
* Checks if daterange is valid.
|
|
41
|
-
* Daterange is considered invalid when it's empty, or when one of it's properties is absent.
|
|
42
|
-
* @returns Wether daterange is valid.
|
|
43
|
-
*/
|
|
44
|
-
isValid(): boolean;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DaterangeService, never>;
|
|
46
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DaterangeService>;
|
|
47
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Keeps track of how many Clarity Datepicker there are open.
|
|
5
|
-
* This is needed for the ClrDaterangepickerContainerComponent, to know when to close the popover.
|
|
6
|
-
*/
|
|
7
|
-
export declare class OpenedDatepickersTrackerService {
|
|
8
|
-
private openedDatepickersCount;
|
|
9
|
-
/**
|
|
10
|
-
* Event triggered when value changes.
|
|
11
|
-
*/
|
|
12
|
-
valueChange: EventEmitter<boolean>;
|
|
13
|
-
/**
|
|
14
|
-
* Tracks an opened datepicker.
|
|
15
|
-
* @param opened - Opened state.
|
|
16
|
-
*/
|
|
17
|
-
track(opened: boolean): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OpenedDatepickersTrackerService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<OpenedDatepickersTrackerService>;
|
|
20
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { AbstractControl, ValidationErrors, Validator } from '@angular/forms';
|
|
2
|
-
import { NullableDaterange } from '../interfaces/daterange.interface';
|
|
3
|
-
import { DaterangeService } from '../providers/daterange.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Validator for daterangepicker to validate that 'to' date is not after 'max' value.
|
|
7
|
-
* Otherwise will throw corresponding `max` validation error.
|
|
8
|
-
*
|
|
9
|
-
* Validator is applied to the ClrDaterangepickerDirective with `max` attribute.
|
|
10
|
-
* Or when set manually with `clrDaterangeMax` attribute.
|
|
11
|
-
*
|
|
12
|
-
* Validator is active by default when applied. It can be disabled with: `[clrDaterangeMax]="false"`
|
|
13
|
-
*/
|
|
14
|
-
export declare class ClrDaterangeMaxValidator implements Validator {
|
|
15
|
-
private readonly daterangeService;
|
|
16
|
-
/** Validation error name. */
|
|
17
|
-
static readonly validationErrorName = "max";
|
|
18
|
-
private _active;
|
|
19
|
-
constructor(daterangeService: DaterangeService);
|
|
20
|
-
/**
|
|
21
|
-
* Disable validator by setting value to `false`.
|
|
22
|
-
*/
|
|
23
|
-
set active(active: boolean | string | undefined | null);
|
|
24
|
-
/**
|
|
25
|
-
* Validator method. Method that performs synchronous validation against the provided control.
|
|
26
|
-
* @param control - The control to validate against.
|
|
27
|
-
* @returns A map of validation errors if validation fails, otherwise null.
|
|
28
|
-
*/
|
|
29
|
-
validate(control: AbstractControl<NullableDaterange, any>): ValidationErrors | null;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDaterangeMaxValidator, [{ optional: true; }]>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrDaterangeMaxValidator, "[clrDaterangepicker][max], [clrDaterangeMax]", never, { "active": { "alias": "clrDaterangeMax"; "required": false; }; }, {}, never, never, false, never>;
|
|
32
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { AbstractControl, ValidationErrors, Validator } from '@angular/forms';
|
|
2
|
-
import { NullableDaterange } from '../interfaces/daterange.interface';
|
|
3
|
-
import { DaterangeService } from '../providers/daterange.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Validator for daterangepicker to validate that 'from' date is not before 'min' value.
|
|
7
|
-
* Otherwise will throw corresponding `min` validation error.
|
|
8
|
-
*
|
|
9
|
-
* Validator is applied to the ClrDaterangepickerDirective with `min` attribute.
|
|
10
|
-
* Or when set manually with `clrDaterangeMin` attribute.
|
|
11
|
-
*
|
|
12
|
-
* Validator is active by default when applied. It can be disabled with: `[clrDaterangeMin]="false"`
|
|
13
|
-
*/
|
|
14
|
-
export declare class ClrDaterangeMinValidator implements Validator {
|
|
15
|
-
private readonly daterangeService;
|
|
16
|
-
/** Validation error name. */
|
|
17
|
-
static readonly validationErrorName = "min";
|
|
18
|
-
private _active;
|
|
19
|
-
constructor(daterangeService: DaterangeService);
|
|
20
|
-
/**
|
|
21
|
-
* Disable validator by setting value to `false`.
|
|
22
|
-
*/
|
|
23
|
-
set active(active: boolean | string | undefined | null);
|
|
24
|
-
/**
|
|
25
|
-
* Validator method. Method that performs synchronous validation against the provided control.
|
|
26
|
-
* @param control - The control to validate against.
|
|
27
|
-
* @returns A map of validation errors if validation fails, otherwise null.
|
|
28
|
-
*/
|
|
29
|
-
validate(control: AbstractControl<NullableDaterange, any>): ValidationErrors | null;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDaterangeMinValidator, [{ optional: true; }]>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrDaterangeMinValidator, "[clrDaterangepicker][min], [clrDaterangeMin]", never, { "active": { "alias": "clrDaterangeMin"; "required": false; }; }, {}, never, never, false, never>;
|
|
32
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { AbstractControl, ValidationErrors, Validator } from '@angular/forms';
|
|
2
|
-
import { NullableDaterange } from '../interfaces/daterange.interface';
|
|
3
|
-
import { NullableTimerange } from '../interfaces/timerange.interface';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Validator for daterangepicker to validate that 'from' date is before 'to' date.
|
|
7
|
-
* Otherwise will throw `fromIsAfterTo` validation error.
|
|
8
|
-
*
|
|
9
|
-
* This validator is applied automatically on ClrDaterangepickerDirective.
|
|
10
|
-
* Or when set manually with `clrDaterangeOrder` attribute.
|
|
11
|
-
*
|
|
12
|
-
* Validator is active by default when applied. It can be disabled with: `[clrDaterangeOrder]="false"`
|
|
13
|
-
*/
|
|
14
|
-
export declare class ClrDaterangeOrderValidator implements Validator {
|
|
15
|
-
/** Validation error name. */
|
|
16
|
-
static readonly validationErrorName = "fromIsAfterTo";
|
|
17
|
-
private _active;
|
|
18
|
-
/**
|
|
19
|
-
* Disable validator by setting value to `false`.
|
|
20
|
-
*/
|
|
21
|
-
set active(active: boolean | string | undefined | null);
|
|
22
|
-
/**
|
|
23
|
-
* Validator method. Method that performs synchronous validation against the provided control.
|
|
24
|
-
* @param control - The control to validate against.
|
|
25
|
-
* @returns A map of validation errors if validation fails, otherwise null.
|
|
26
|
-
*/
|
|
27
|
-
validate(control: AbstractControl<NullableDaterange | NullableTimerange, any>): ValidationErrors | null;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDaterangeOrderValidator, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrDaterangeOrderValidator, "[clrDaterangepicker], [clrDaterangeOrder]", never, { "active": { "alias": "clrDaterangeOrder"; "required": false; }; }, {}, never, never, false, never>;
|
|
30
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { AbstractControl, ValidationErrors, Validator } from '@angular/forms';
|
|
2
|
-
import { NullableDaterange } from '../interfaces/daterange.interface';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Validator for daterangepicker to validate that 'from' *AND* 'to' date are not `null`.
|
|
6
|
-
* Will throw `required` validation error.
|
|
7
|
-
*
|
|
8
|
-
* Validator is applied to the ClrDaterangepickerDirective with `required` attribute.
|
|
9
|
-
* Or when set manually with `clrDaterangeRequired` attribute.
|
|
10
|
-
*
|
|
11
|
-
* Validator is active by default when applied. It can be disabled with: `[clrDaterangeRequired]="false"`
|
|
12
|
-
*/
|
|
13
|
-
export declare class ClrDaterangeRequiredValidator implements Validator {
|
|
14
|
-
/** Validation error name. */
|
|
15
|
-
static readonly validationErrorName = "required";
|
|
16
|
-
private _active;
|
|
17
|
-
/**
|
|
18
|
-
* Disable validator by setting value to `false`.
|
|
19
|
-
*/
|
|
20
|
-
set active(active: boolean | string | undefined | null);
|
|
21
|
-
/**
|
|
22
|
-
* Validator method. Method that performs synchronous validation against the provided control.
|
|
23
|
-
* @param control - The control to validate against.
|
|
24
|
-
* @returns A map of validation errors if validation fails, otherwise null.
|
|
25
|
-
*/
|
|
26
|
-
validate(control: AbstractControl<NullableDaterange, any>): ValidationErrors | null;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDaterangeRequiredValidator, never>;
|
|
28
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrDaterangeRequiredValidator, "[clrDaterangepicker][required], [clrDaterangeRequired]", never, { "active": { "alias": "clrDaterangeRequired"; "required": false; }; }, {}, never, never, false, never>;
|
|
29
|
-
}
|
package/dot-pager/dot-pager.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ClrDotPager {
|
|
4
|
-
uniqueName: number;
|
|
5
|
-
currentPageChange: EventEmitter<number>;
|
|
6
|
-
/**
|
|
7
|
-
* Page count, a value of 0 means no pagination
|
|
8
|
-
*/
|
|
9
|
-
private _pages;
|
|
10
|
-
get pages(): number;
|
|
11
|
-
set pages(pages: number);
|
|
12
|
-
/**
|
|
13
|
-
* Current page
|
|
14
|
-
*/
|
|
15
|
-
private _currentPage;
|
|
16
|
-
get currentPage(): number;
|
|
17
|
-
set currentPage(currentPage: number);
|
|
18
|
-
pageArray(): any[];
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDotPager, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrDotPager, "clr-dot-pager", never, { "pages": { "alias": "clrPages"; "required": false; }; "currentPage": { "alias": "clrCurrentPage"; "required": false; }; }, { "currentPageChange": "clrCurrentPageChange"; }, never, never, false, never>;
|
|
21
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./dot-pager";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@clr/angular";
|
|
5
|
-
import * as i4 from "@angular/forms";
|
|
6
|
-
export declare class ClrDotPagerModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDotPagerModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrDotPagerModule, [typeof i1.ClrDotPager], [typeof i2.CommonModule, typeof i3.ClarityModule, typeof i4.FormsModule], [typeof i1.ClrDotPager]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ClrDotPagerModule>;
|
|
10
|
-
}
|
package/dot-pager/index.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ClrDropdownOverflowDirective implements AfterViewChecked, OnDestroy {
|
|
4
|
-
private elRef;
|
|
5
|
-
clrDropdownMenuMaxHeight: string | number;
|
|
6
|
-
clrDropdownMenuItemMinHeight: string | number;
|
|
7
|
-
set clrMarginBottom(value: string | number);
|
|
8
|
-
private nestedDropdownChildren;
|
|
9
|
-
readonly defaultItemMinHeightRem = 1.5;
|
|
10
|
-
private alreadyChecked;
|
|
11
|
-
private marginBottomPx;
|
|
12
|
-
private nestedDropdownSubscription;
|
|
13
|
-
constructor(elRef: ElementRef);
|
|
14
|
-
ngAfterViewChecked(): void;
|
|
15
|
-
ngOnDestroy(): void;
|
|
16
|
-
private applyDropdownOverflowStyles;
|
|
17
|
-
private removeDropdownOverflowStyles;
|
|
18
|
-
private getAllChildDropdownMenuItems;
|
|
19
|
-
private getMenuMaxHeight;
|
|
20
|
-
private getItemMinHeight;
|
|
21
|
-
private convertToPixels;
|
|
22
|
-
private convertRemToPixels;
|
|
23
|
-
private convertVhToPixels;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDropdownOverflowDirective, never>;
|
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrDropdownOverflowDirective, "clr-dropdown-menu", never, { "clrDropdownMenuMaxHeight": { "alias": "clrDropdownMenuMaxHeight"; "required": false; }; "clrDropdownMenuItemMinHeight": { "alias": "clrDropdownMenuItemMinHeight"; "required": false; }; "clrMarginBottom": { "alias": "clrMarginBottom"; "required": false; }; }, {}, ["nestedDropdownChildren"], never, false, never>;
|
|
26
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./clr-dropdown-overflow.directive";
|
|
3
|
-
export declare class ClrDropdownOverflowModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDropdownOverflowModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrDropdownOverflowModule, [typeof i1.ClrDropdownOverflowDirective], never, [typeof i1.ClrDropdownOverflowDirective]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ClrDropdownOverflowModule>;
|
|
7
|
-
}
|
package/dropdown/index.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ClrDatagrid } from '@clr/angular';
|
|
3
|
-
import { ExportDatagridService } from './export-datagrid.service';
|
|
4
|
-
import { ExportType, ExportTypeEnum } from './export-type.model';
|
|
5
|
-
import { Subject } from 'rxjs';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ExportDatagridButtonComponent implements OnDestroy {
|
|
8
|
-
private readonly exportService;
|
|
9
|
-
datagrid: import("@angular/core").InputSignal<ClrDatagrid<any>>;
|
|
10
|
-
datagridRef: import("@angular/core").InputSignal<ElementRef<any>>;
|
|
11
|
-
exportTypesToShow: import("@angular/core").InputSignal<ExportType[]>;
|
|
12
|
-
isBackendExport: import("@angular/core").InputSignal<boolean>;
|
|
13
|
-
exportTitlePrefix: import("@angular/core").InputSignal<string>;
|
|
14
|
-
exportButtonPosition: import("@angular/core").InputSignal<"right" | "left">;
|
|
15
|
-
possibleExportTypes: import("@angular/core").WritableSignal<ExportTypeEnum[]>;
|
|
16
|
-
exportButtonText: import("@angular/core").InputSignal<string>;
|
|
17
|
-
destroy$: Subject<void>;
|
|
18
|
-
readonly backendExport: EventEmitter<ExportTypeEnum>;
|
|
19
|
-
readonly exportTypes: ExportType[];
|
|
20
|
-
readonly exportTypesFiltered: import("@angular/core").Signal<{
|
|
21
|
-
type: ExportTypeEnum;
|
|
22
|
-
value: string;
|
|
23
|
-
}[]>;
|
|
24
|
-
constructor(exportService: ExportDatagridService);
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
private exportExcel;
|
|
27
|
-
onExport(type: ExportTypeEnum): void;
|
|
28
|
-
/**
|
|
29
|
-
* Updates the possible export types based on the current datagrid state and allowed export types.
|
|
30
|
-
* @param type the export type to update
|
|
31
|
-
* @param shouldExist whether the export type should exist in the possible export types
|
|
32
|
-
* @param exportTypesToShowVal the allowed export types to show
|
|
33
|
-
*/
|
|
34
|
-
private updateExportType;
|
|
35
|
-
private getRowsToExport;
|
|
36
|
-
private getColumnsTitle;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExportDatagridButtonComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExportDatagridButtonComponent, "clr-export-datagrid-button", never, { "datagrid": { "alias": "datagrid"; "required": false; "isSignal": true; }; "datagridRef": { "alias": "datagridRef"; "required": false; "isSignal": true; }; "exportTypesToShow": { "alias": "exportTypesToShow"; "required": false; "isSignal": true; }; "isBackendExport": { "alias": "isBackendExport"; "required": false; "isSignal": true; }; "exportTitlePrefix": { "alias": "exportTitlePrefix"; "required": false; "isSignal": true; }; "exportButtonPosition": { "alias": "exportButtonPosition"; "required": false; "isSignal": true; }; "exportButtonText": { "alias": "exportButtonText"; "required": false; "isSignal": true; }; }, { "backendExport": "backendExport"; }, never, never, true, never>;
|
|
39
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./export-datagrid-button.component";
|
|
3
|
-
export declare class ClrExportDatagridButtonModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClrExportDatagridButtonModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrExportDatagridButtonModule, never, [typeof i1.ExportDatagridButtonComponent], [typeof i1.ExportDatagridButtonComponent]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ClrExportDatagridButtonModule>;
|
|
7
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ExportDatagridService {
|
|
3
|
-
zipcelx: any;
|
|
4
|
-
constructor();
|
|
5
|
-
init(): Promise<void>;
|
|
6
|
-
exportToExcel(filename: string, headers: {
|
|
7
|
-
value: string;
|
|
8
|
-
type: string;
|
|
9
|
-
}[], rows: {
|
|
10
|
-
value: string;
|
|
11
|
-
type: any;
|
|
12
|
-
}[][]): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExportDatagridService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ExportDatagridService>;
|
|
15
|
-
}
|