cmat 0.0.86 → 0.0.88
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/cmat-components-adapter.mjs +9 -9
- package/fesm2022/cmat-components-adapter.mjs.map +1 -1
- package/fesm2022/cmat-components-breadcrumb.mjs +98 -80
- package/fesm2022/cmat-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/cmat-components-card.mjs +26 -34
- package/fesm2022/cmat-components-card.mjs.map +1 -1
- package/fesm2022/cmat-components-carousel.mjs +467 -556
- package/fesm2022/cmat-components-carousel.mjs.map +1 -1
- package/fesm2022/cmat-components-cascade.mjs +270 -259
- package/fesm2022/cmat-components-cascade.mjs.map +1 -1
- package/fesm2022/cmat-components-chip-input.mjs +200 -116
- package/fesm2022/cmat-components-chip-input.mjs.map +1 -1
- package/fesm2022/cmat-components-code-editor.mjs +85 -38
- package/fesm2022/cmat-components-code-editor.mjs.map +1 -1
- package/fesm2022/cmat-components-color-picker.mjs +841 -0
- package/fesm2022/cmat-components-color-picker.mjs.map +1 -0
- package/fesm2022/cmat-components-custom-formly.mjs +1395 -838
- package/fesm2022/cmat-components-custom-formly.mjs.map +1 -1
- package/fesm2022/cmat-components-data-picker.mjs +996 -0
- package/fesm2022/cmat-components-data-picker.mjs.map +1 -0
- package/fesm2022/cmat-components-date-range.mjs +310 -264
- package/fesm2022/cmat-components-date-range.mjs.map +1 -1
- package/fesm2022/cmat-components-date-time-display.mjs +16 -20
- package/fesm2022/cmat-components-date-time-display.mjs.map +1 -1
- package/fesm2022/cmat-components-drawer.mjs +120 -137
- package/fesm2022/cmat-components-drawer.mjs.map +1 -1
- package/fesm2022/cmat-components-empty-state.mjs +17 -24
- package/fesm2022/cmat-components-empty-state.mjs.map +1 -1
- package/fesm2022/cmat-components-file-preview.mjs +18 -24
- package/fesm2022/cmat-components-file-preview.mjs.map +1 -1
- package/fesm2022/cmat-components-filter-toolbar.mjs +30 -39
- package/fesm2022/cmat-components-filter-toolbar.mjs.map +1 -1
- package/fesm2022/cmat-components-form-actions.mjs +12 -12
- package/fesm2022/cmat-components-form-actions.mjs.map +1 -1
- package/fesm2022/cmat-components-fullscreen.mjs +10 -10
- package/fesm2022/cmat-components-fullscreen.mjs.map +1 -1
- package/fesm2022/cmat-components-highlight.mjs +48 -41
- package/fesm2022/cmat-components-highlight.mjs.map +1 -1
- package/fesm2022/cmat-components-image-viewer.mjs +104 -107
- package/fesm2022/cmat-components-image-viewer.mjs.map +1 -1
- package/fesm2022/cmat-components-inline-loading.mjs +12 -15
- package/fesm2022/cmat-components-inline-loading.mjs.map +1 -1
- package/fesm2022/cmat-components-json-editor.mjs +118 -75
- package/fesm2022/cmat-components-json-editor.mjs.map +1 -1
- package/fesm2022/cmat-components-knob-input.mjs +196 -178
- package/fesm2022/cmat-components-knob-input.mjs.map +1 -1
- package/fesm2022/cmat-components-masonry.mjs +26 -41
- package/fesm2022/cmat-components-masonry.mjs.map +1 -1
- package/fesm2022/cmat-components-material-color-picker.mjs +81 -80
- package/fesm2022/cmat-components-material-color-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-material-datetimepicker.mjs +1212 -1287
- package/fesm2022/cmat-components-material-datetimepicker.mjs.map +1 -1
- package/fesm2022/cmat-components-navigation.mjs +467 -450
- package/fesm2022/cmat-components-navigation.mjs.map +1 -1
- package/fesm2022/cmat-components-opt-input.mjs +143 -132
- package/fesm2022/cmat-components-opt-input.mjs.map +1 -1
- package/fesm2022/cmat-components-org-chart.mjs +68 -83
- package/fesm2022/cmat-components-org-chart.mjs.map +1 -1
- package/fesm2022/cmat-components-page-header.mjs +18 -24
- package/fesm2022/cmat-components-page-header.mjs.map +1 -1
- package/fesm2022/cmat-components-pagination.mjs +220 -136
- package/fesm2022/cmat-components-pagination.mjs.map +1 -1
- package/fesm2022/cmat-components-password-strength.mjs +262 -215
- package/fesm2022/cmat-components-password-strength.mjs.map +1 -1
- package/fesm2022/cmat-components-popover.mjs +227 -195
- package/fesm2022/cmat-components-popover.mjs.map +1 -1
- package/fesm2022/cmat-components-progress-bar.mjs +15 -34
- package/fesm2022/cmat-components-progress-bar.mjs.map +1 -1
- package/fesm2022/cmat-components-qrcode.mjs +95 -88
- package/fesm2022/cmat-components-qrcode.mjs.map +1 -1
- package/fesm2022/cmat-components-rating.mjs +70 -67
- package/fesm2022/cmat-components-rating.mjs.map +1 -1
- package/fesm2022/cmat-components-rich-text-editor.mjs +23 -26
- package/fesm2022/cmat-components-rich-text-editor.mjs.map +1 -1
- package/fesm2022/cmat-components-select-search.mjs +190 -159
- package/fesm2022/cmat-components-select-search.mjs.map +1 -1
- package/fesm2022/cmat-components-select-table.mjs +276 -213
- package/fesm2022/cmat-components-select-table.mjs.map +1 -1
- package/fesm2022/cmat-components-select-tree.mjs +178 -128
- package/fesm2022/cmat-components-select-tree.mjs.map +1 -1
- package/fesm2022/cmat-components-skeleton.mjs +44 -28
- package/fesm2022/cmat-components-skeleton.mjs.map +1 -1
- package/fesm2022/cmat-components-speed-dial.mjs +107 -163
- package/fesm2022/cmat-components-speed-dial.mjs.map +1 -1
- package/fesm2022/cmat-components-status-tag.mjs +29 -36
- package/fesm2022/cmat-components-status-tag.mjs.map +1 -1
- package/fesm2022/cmat-components-table-toolbar.mjs +14 -18
- package/fesm2022/cmat-components-table-toolbar.mjs.map +1 -1
- package/fesm2022/cmat-components-timeline.mjs +111 -118
- package/fesm2022/cmat-components-timeline.mjs.map +1 -1
- package/fesm2022/cmat-components-toast.mjs +65 -66
- package/fesm2022/cmat-components-toast.mjs.map +1 -1
- package/fesm2022/cmat-components-transfer-picker.mjs +130 -160
- package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-treetable.mjs +32 -39
- package/fesm2022/cmat-components-treetable.mjs.map +1 -1
- package/fesm2022/cmat-components-upload.mjs +186 -176
- package/fesm2022/cmat-components-upload.mjs.map +1 -1
- package/fesm2022/cmat-directives-animate-on-scroll.mjs +25 -28
- package/fesm2022/cmat-directives-animate-on-scroll.mjs.map +1 -1
- package/fesm2022/cmat-directives-arrow-cursor.mjs +85 -92
- package/fesm2022/cmat-directives-arrow-cursor.mjs.map +1 -1
- package/fesm2022/cmat-directives-autofocus.mjs +3 -3
- package/fesm2022/cmat-directives-autofocus.mjs.map +1 -1
- package/fesm2022/cmat-directives-data-exporter.mjs +49 -50
- package/fesm2022/cmat-directives-data-exporter.mjs.map +1 -1
- package/fesm2022/cmat-directives-debounce.mjs +16 -19
- package/fesm2022/cmat-directives-debounce.mjs.map +1 -1
- package/fesm2022/cmat-directives-digit-only.mjs +60 -69
- package/fesm2022/cmat-directives-digit-only.mjs.map +1 -1
- package/fesm2022/cmat-directives-equal-validator.mjs +3 -3
- package/fesm2022/cmat-directives-equal-validator.mjs.map +1 -1
- package/fesm2022/cmat-directives-seamless-auto-scroll.mjs +31 -30
- package/fesm2022/cmat-directives-seamless-auto-scroll.mjs.map +1 -1
- package/fesm2022/cmat-lib-mock-api.mjs +6 -6
- package/fesm2022/cmat-lib-mock-api.mjs.map +1 -1
- package/fesm2022/cmat-pipes-bytes.mjs +3 -3
- package/fesm2022/cmat-pipes-bytes.mjs.map +1 -1
- package/fesm2022/cmat-pipes-date-format.mjs +3 -3
- package/fesm2022/cmat-pipes-date-format.mjs.map +1 -1
- package/fesm2022/cmat-pipes-find-by-key.mjs +3 -3
- package/fesm2022/cmat-pipes-find-by-key.mjs.map +1 -1
- package/fesm2022/cmat-pipes-group-by.mjs +3 -3
- package/fesm2022/cmat-pipes-group-by.mjs.map +1 -1
- package/fesm2022/cmat-pipes-keys.mjs +3 -3
- package/fesm2022/cmat-pipes-keys.mjs.map +1 -1
- package/fesm2022/cmat-pipes-secure.mjs +7 -13
- package/fesm2022/cmat-pipes-secure.mjs.map +1 -1
- package/fesm2022/cmat-pipes-uppercase.mjs +3 -3
- package/fesm2022/cmat-pipes-uppercase.mjs.map +1 -1
- package/fesm2022/cmat-services-alert.mjs +26 -27
- package/fesm2022/cmat-services-alert.mjs.map +1 -1
- package/fesm2022/cmat-services-config.mjs +14 -23
- package/fesm2022/cmat-services-config.mjs.map +1 -1
- package/fesm2022/cmat-services-confirmation.mjs +8 -8
- package/fesm2022/cmat-services-confirmation.mjs.map +1 -1
- package/fesm2022/cmat-services-data.mjs +6 -10
- package/fesm2022/cmat-services-data.mjs.map +1 -1
- package/fesm2022/cmat-services-export-as.mjs +3 -3
- package/fesm2022/cmat-services-export-as.mjs.map +1 -1
- package/fesm2022/cmat-services-loading.mjs +30 -47
- package/fesm2022/cmat-services-loading.mjs.map +1 -1
- package/fesm2022/cmat-services-local-storage.mjs +3 -3
- package/fesm2022/cmat-services-local-storage.mjs.map +1 -1
- package/fesm2022/cmat-services-media-watcher.mjs +43 -34
- package/fesm2022/cmat-services-media-watcher.mjs.map +1 -1
- package/fesm2022/cmat-services-platform.mjs +3 -3
- package/fesm2022/cmat-services-platform.mjs.map +1 -1
- package/fesm2022/cmat-services-splash-screen.mjs +3 -3
- package/fesm2022/cmat-services-splash-screen.mjs.map +1 -1
- package/fesm2022/cmat-services-title.mjs +3 -3
- package/fesm2022/cmat-services-title.mjs.map +1 -1
- package/fesm2022/cmat-services-translation.mjs +11 -11
- package/fesm2022/cmat-services-translation.mjs.map +1 -1
- package/fesm2022/cmat-services-utils.mjs +4 -4
- package/fesm2022/cmat-services-utils.mjs.map +1 -1
- package/fesm2022/cmat.mjs +9229 -7508
- package/fesm2022/cmat.mjs.map +1 -1
- package/icons/material-icons/heroicons-outline.svg +3 -0
- package/icons/material-icons/heroicons-solid.svg +3 -0
- package/package.json +10 -1
- package/styles/components/bundle.scss +21 -0
- package/styles/overrides/angular-material.scss +22 -1
- package/tailwind/plugins/theming.js +183 -183
- package/types/cmat-components-breadcrumb.d.ts +40 -37
- package/types/cmat-components-card.d.ts +11 -13
- package/types/cmat-components-carousel.d.ts +87 -113
- package/types/cmat-components-cascade.d.ts +84 -65
- package/types/cmat-components-chip-input.d.ts +29 -24
- package/types/cmat-components-code-editor.d.ts +28 -12
- package/types/cmat-components-color-picker.d.ts +236 -0
- package/types/cmat-components-custom-formly.d.ts +316 -184
- package/types/cmat-components-data-picker.d.ts +372 -0
- package/types/cmat-components-date-range.d.ts +31 -36
- package/types/cmat-components-date-time-display.d.ts +8 -8
- package/types/cmat-components-drawer.d.ts +30 -32
- package/types/cmat-components-empty-state.d.ts +9 -10
- package/types/cmat-components-file-preview.d.ts +9 -9
- package/types/cmat-components-filter-toolbar.d.ts +15 -15
- package/types/cmat-components-form-actions.d.ts +5 -5
- package/types/cmat-components-fullscreen.d.ts +5 -5
- package/types/cmat-components-highlight.d.ts +13 -14
- package/types/cmat-components-image-viewer.d.ts +29 -33
- package/types/cmat-components-inline-loading.d.ts +6 -6
- package/types/cmat-components-json-editor.d.ts +15 -17
- package/types/cmat-components-knob-input.d.ts +58 -55
- package/types/cmat-components-masonry.d.ts +9 -12
- package/types/cmat-components-material-color-picker.d.ts +16 -21
- package/types/cmat-components-material-datetimepicker.d.ts +174 -216
- package/types/cmat-components-navigation.d.ts +34 -39
- package/types/cmat-components-opt-input.d.ts +35 -33
- package/types/cmat-components-org-chart.d.ts +8 -9
- package/types/cmat-components-page-header.d.ts +9 -9
- package/types/cmat-components-pagination.d.ts +36 -40
- package/types/cmat-components-password-strength.d.ts +58 -64
- package/types/cmat-components-popover.d.ts +22 -32
- package/types/cmat-components-progress-bar.d.ts +7 -10
- package/types/cmat-components-qrcode.d.ts +22 -22
- package/types/cmat-components-rating.d.ts +17 -19
- package/types/cmat-components-rich-text-editor.d.ts +11 -12
- package/types/cmat-components-select-search.d.ts +48 -36
- package/types/cmat-components-select-table.d.ts +38 -34
- package/types/cmat-components-select-tree.d.ts +17 -15
- package/types/cmat-components-skeleton.d.ts +27 -10
- package/types/cmat-components-speed-dial.d.ts +24 -33
- package/types/cmat-components-status-tag.d.ts +19 -9
- package/types/cmat-components-table-toolbar.d.ts +7 -7
- package/types/cmat-components-timeline.d.ts +33 -34
- package/types/cmat-components-toast.d.ts +26 -30
- package/types/cmat-components-transfer-picker.d.ts +51 -56
- package/types/cmat-components-treetable.d.ts +12 -13
- package/types/cmat-components-upload.d.ts +33 -38
- package/types/cmat-components-x6-angular-shape.d.ts +1 -1
- package/types/cmat-directives-animate-on-scroll.d.ts +7 -7
- package/types/cmat-directives-arrow-cursor.d.ts +18 -20
- package/types/cmat-directives-data-exporter.d.ts +10 -10
- package/types/cmat-directives-debounce.d.ts +5 -5
- package/types/cmat-directives-digit-only.d.ts +13 -13
- package/types/cmat-directives-seamless-auto-scroll.d.ts +7 -7
- package/types/cmat-pipes-secure.d.ts +1 -3
- package/types/cmat-services-alert.d.ts +11 -12
- package/types/cmat-services-config.d.ts +2 -7
- package/types/cmat-services-confirmation.d.ts +2 -2
- package/types/cmat-services-data.d.ts +0 -1
- package/types/cmat-services-loading.d.ts +14 -22
- package/types/cmat-services-media-watcher.d.ts +5 -5
- package/types/cmat-services-translation.d.ts +4 -5
- package/types/cmat.d.ts +2167 -1746
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { TemplateRef, AfterContentInit,
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TemplateRef, AfterContentInit, OnDestroy, ElementRef } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
interface CmatCarouselResponsiveOptions {
|
|
5
5
|
breakpoint: string;
|
|
@@ -22,144 +22,118 @@ interface CmatCarouselTemplates {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
declare class CmatCarouselHeaderComponent {
|
|
25
|
-
static ɵfac:
|
|
26
|
-
static ɵcmp:
|
|
25
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatCarouselHeaderComponent, never>;
|
|
26
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CmatCarouselHeaderComponent, "cmat-carousel-header", never, {}, {}, never, ["*"], true, never>;
|
|
27
27
|
}
|
|
28
28
|
declare class CmatCarouselFooterComponent {
|
|
29
|
-
static ɵfac:
|
|
30
|
-
static ɵcmp:
|
|
29
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatCarouselFooterComponent, never>;
|
|
30
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CmatCarouselFooterComponent, "cmat-carousel-footer", never, {}, {}, never, ["*"], true, never>;
|
|
31
31
|
}
|
|
32
32
|
declare class CmatCarouselTemplateDirective {
|
|
33
33
|
template: TemplateRef<unknown>;
|
|
34
|
-
type: string | undefined
|
|
35
|
-
name: string | undefined
|
|
36
|
-
|
|
37
|
-
static
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CmatCarouselTemplateDirective, "[cmatCarouselTemplate]", never, { "type": { "alias": "type"; "required": false; }; "name": { "alias": "cmatCarouselTemplate"; "required": false; }; }, {}, never, never, true, never>;
|
|
34
|
+
readonly type: _angular_core.InputSignal<string | undefined>;
|
|
35
|
+
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
36
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatCarouselTemplateDirective, never>;
|
|
37
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CmatCarouselTemplateDirective, "[cmatCarouselTemplate]", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
39
38
|
}
|
|
40
|
-
declare class CmatCarouselComponent implements AfterContentInit,
|
|
39
|
+
declare class CmatCarouselComponent implements AfterContentInit, OnDestroy {
|
|
41
40
|
el: ElementRef<HTMLElement>;
|
|
42
|
-
|
|
43
|
-
readonly
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
itemsContainer: ElementRef<HTMLElement> | undefined;
|
|
73
|
-
indicatorContent: ElementRef<HTMLElement> | undefined;
|
|
74
|
-
headerFacet: QueryList<CmatCarouselHeaderComponent> | undefined;
|
|
75
|
-
footerFacet: QueryList<CmatCarouselFooterComponent> | undefined;
|
|
76
|
-
templates: QueryList<CmatCarouselTemplateDirective> | undefined;
|
|
77
|
-
prevState: {
|
|
78
|
-
numScroll: number;
|
|
79
|
-
numVisible: number;
|
|
80
|
-
value: Record<string, unknown>[];
|
|
81
|
-
};
|
|
82
|
-
defaultNumScroll: number;
|
|
83
|
-
defaultNumVisible: number;
|
|
84
|
-
carouselStyle: HTMLStyleElement | null;
|
|
85
|
-
id: string | undefined;
|
|
86
|
-
totalShiftedItems: number;
|
|
87
|
-
isRemainingItemsAdded: boolean;
|
|
88
|
-
animationTimeout: number | null;
|
|
89
|
-
translateTimeout: number | null;
|
|
90
|
-
remainingItems: number;
|
|
91
|
-
startPos: {
|
|
41
|
+
readonly page: _angular_core.ModelSignal<number>;
|
|
42
|
+
readonly numVisible: _angular_core.ModelSignal<number>;
|
|
43
|
+
readonly numScroll: _angular_core.ModelSignal<number>;
|
|
44
|
+
readonly autoplayInterval: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
45
|
+
readonly responsiveOptions: _angular_core.InputSignal<CmatCarouselResponsiveOptions[] | undefined>;
|
|
46
|
+
readonly orientation: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
47
|
+
readonly navigatorsType: _angular_core.InputSignal<"normal" | "arrow">;
|
|
48
|
+
readonly verticalViewPortHeight: _angular_core.InputSignal<string>;
|
|
49
|
+
readonly arrowSelector: _angular_core.InputSignal<string>;
|
|
50
|
+
readonly contentClass: _angular_core.InputSignal<string>;
|
|
51
|
+
readonly indicatorsContentClass: _angular_core.InputSignal<string>;
|
|
52
|
+
readonly indicatorsContentStyle: _angular_core.InputSignal<Record<string, unknown> | null | undefined>;
|
|
53
|
+
readonly indicatorStyleClass: _angular_core.InputSignal<string>;
|
|
54
|
+
readonly indicatorStyle: _angular_core.InputSignal<Record<string, unknown> | null | undefined>;
|
|
55
|
+
readonly data: _angular_core.InputSignal<Record<string, unknown>[]>;
|
|
56
|
+
readonly circular: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
57
|
+
readonly showIndicators: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
58
|
+
readonly showNavigators: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
59
|
+
readonly suspendAutoPlay: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
60
|
+
readonly style: _angular_core.InputSignal<Record<string, unknown> | null | undefined>;
|
|
61
|
+
readonly styleClass: _angular_core.InputSignal<string>;
|
|
62
|
+
readonly pageEvent: _angular_core.OutputEmitterRef<CmatCarouselPageEvent>;
|
|
63
|
+
readonly itemsContainer: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
|
|
64
|
+
readonly indicatorContent: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
|
|
65
|
+
readonly headerFacet: _angular_core.Signal<CmatCarouselHeaderComponent | undefined>;
|
|
66
|
+
readonly footerFacet: _angular_core.Signal<CmatCarouselFooterComponent | undefined>;
|
|
67
|
+
readonly templates: _angular_core.Signal<readonly CmatCarouselTemplateDirective[]>;
|
|
68
|
+
readonly id: string;
|
|
69
|
+
readonly carouselStyle: _angular_core.WritableSignal<HTMLStyleElement | null>;
|
|
70
|
+
readonly startPos: _angular_core.WritableSignal<{
|
|
92
71
|
x: number;
|
|
93
72
|
y: number;
|
|
94
|
-
} | null
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
73
|
+
} | null>;
|
|
74
|
+
readonly clonedItemsForStarting: _angular_core.WritableSignal<Record<string, unknown>[]>;
|
|
75
|
+
readonly clonedItemsForFinishing: _angular_core.WritableSignal<Record<string, unknown>[]>;
|
|
76
|
+
readonly isUserInteracted: _angular_core.WritableSignal<boolean>;
|
|
77
|
+
readonly swipeThreshold: _angular_core.WritableSignal<number>;
|
|
78
|
+
readonly itemTemplate: _angular_core.WritableSignal<TemplateRef<unknown> | null>;
|
|
79
|
+
readonly headerTemplate: _angular_core.WritableSignal<TemplateRef<unknown> | null>;
|
|
80
|
+
readonly footerTemplate: _angular_core.WritableSignal<TemplateRef<unknown> | null>;
|
|
81
|
+
readonly previousIconTemplate: _angular_core.WritableSignal<TemplateRef<unknown> | null>;
|
|
82
|
+
readonly nextIconTemplate: _angular_core.WritableSignal<TemplateRef<unknown> | null>;
|
|
83
|
+
readonly isVertical: _angular_core.Signal<boolean>;
|
|
84
|
+
readonly allowAutoplay: _angular_core.Signal<boolean>;
|
|
85
|
+
readonly verticalViewContainerHeight: _angular_core.Signal<string | undefined>;
|
|
86
|
+
readonly totalShiftedItems: _angular_core.Signal<number>;
|
|
87
|
+
readonly remainingItems: _angular_core.Signal<number>;
|
|
88
|
+
readonly totalDots: _angular_core.Signal<number>;
|
|
89
|
+
readonly isRemainingItemsAdded: _angular_core.Signal<boolean>;
|
|
90
|
+
readonly isCircular: _angular_core.Signal<boolean>;
|
|
91
|
+
readonly isEmpty: _angular_core.Signal<boolean>;
|
|
92
|
+
readonly getTotalDotsArray: _angular_core.Signal<number[]>;
|
|
93
|
+
readonly firstIndex: _angular_core.Signal<number>;
|
|
94
|
+
readonly lastIndex: _angular_core.Signal<number>;
|
|
95
|
+
private readonly _document;
|
|
96
|
+
private renderer;
|
|
97
|
+
private documentResizeListener;
|
|
113
98
|
constructor();
|
|
114
|
-
ngOnChanges(simpleChange: SimpleChanges): void;
|
|
115
99
|
ngAfterContentInit(): void;
|
|
116
|
-
ngAfterContentChecked(): void;
|
|
117
100
|
ngOnDestroy(): void;
|
|
118
|
-
firstIndex(): number;
|
|
119
|
-
lastIndex(): number;
|
|
120
|
-
totalDots(): number;
|
|
121
|
-
totalDotsArray(): number[];
|
|
122
|
-
isVertical(): boolean;
|
|
123
|
-
isCircular(): boolean;
|
|
124
|
-
isAutoplay(): boolean | undefined;
|
|
125
|
-
isForwardNavDisabled(): boolean;
|
|
126
|
-
isBackwardNavDisabled(): boolean;
|
|
127
|
-
isEmpty(): boolean;
|
|
128
101
|
navForward(e: MouseEvent | TouchEvent | null, index?: number): void;
|
|
129
102
|
navBackward(e: MouseEvent | TouchEvent | null, index?: number): void;
|
|
130
103
|
onDotClick(e: MouseEvent, index: number): void;
|
|
131
|
-
onIndicatorKeydown(event: KeyboardEvent): void;
|
|
132
|
-
isPlaying(): boolean;
|
|
133
|
-
onTransitionEnd(): void;
|
|
134
104
|
onTouchStart(e: TouchEvent): void;
|
|
135
105
|
onTouchMove(e: TouchEvent | MouseEvent): void;
|
|
136
106
|
onTouchEnd(e: TouchEvent): void;
|
|
137
107
|
arrowCursorClick(cursorSide: string | null): void;
|
|
108
|
+
onTransitionEnd(): void;
|
|
109
|
+
stopAutoplay(): void;
|
|
110
|
+
startAutoplay(): void;
|
|
111
|
+
isFirstItemActive(index: number): boolean;
|
|
112
|
+
isLastItemActive(index: number): boolean;
|
|
113
|
+
isMiddleItemActive(index: number): boolean;
|
|
114
|
+
onIndicatorKeydown(event: KeyboardEvent): void;
|
|
115
|
+
private _handleInteractionStopAutoplay;
|
|
138
116
|
private _changePageOnTouch;
|
|
117
|
+
private _step;
|
|
118
|
+
private _applyTransform;
|
|
119
|
+
private _initResponsiveEffect;
|
|
120
|
+
private _initCloneItemsEffect;
|
|
121
|
+
private _initAutoplayEffect;
|
|
139
122
|
private _bindDocumentListeners;
|
|
140
123
|
private _unbindDocumentListeners;
|
|
124
|
+
private _createStyle;
|
|
125
|
+
private _calculatePosition;
|
|
126
|
+
private _updateCarouselItemsAccessibility;
|
|
127
|
+
private _setCloneItems;
|
|
128
|
+
private _findFocusedIndicatorIndex;
|
|
129
|
+
private _changedFocusedIndicator;
|
|
141
130
|
private _onRightKey;
|
|
142
131
|
private _onLeftKey;
|
|
143
132
|
private _onHomeKey;
|
|
144
133
|
private _onEndKey;
|
|
145
134
|
private _onTabKey;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
private _startAutoplay;
|
|
149
|
-
private _stopAutoplay;
|
|
150
|
-
private _findFocusedIndicatorIndex;
|
|
151
|
-
private _createStyle;
|
|
152
|
-
private _calculatePosition;
|
|
153
|
-
private _updateSlideAccessibility;
|
|
154
|
-
private _updateCarouselItemsAccessibility;
|
|
155
|
-
private _setCloneItems;
|
|
156
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CmatCarouselComponent, never>;
|
|
157
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CmatCarouselComponent, "cmat-carousel", never, { "page": { "alias": "page"; "required": false; }; "numVisible": { "alias": "numVisible"; "required": false; }; "numScroll": { "alias": "numScroll"; "required": false; }; "responsiveOptions": { "alias": "responsiveOptions"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "navigatorsType": { "alias": "navigatorsType"; "required": false; }; "verticalViewPortHeight": { "alias": "verticalViewPortHeight"; "required": false; }; "arrowSelector": { "alias": "arrowSelector"; "required": false; }; "contentClass": { "alias": "contentClass"; "required": false; }; "indicatorsContentClass": { "alias": "indicatorsContentClass"; "required": false; }; "indicatorsContentStyle": { "alias": "indicatorsContentStyle"; "required": false; }; "indicatorStyleClass": { "alias": "indicatorStyleClass"; "required": false; }; "indicatorStyle": { "alias": "indicatorStyle"; "required": false; }; "data": { "alias": "data"; "required": false; }; "circular": { "alias": "circular"; "required": false; }; "showIndicators": { "alias": "showIndicators"; "required": false; }; "showNavigators": { "alias": "showNavigators"; "required": false; }; "suspendAutoPlay": { "alias": "suspendAutoPlay"; "required": false; }; "autoplayInterval": { "alias": "autoplayInterval"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; }, { "pageEvent": "pageEvent"; }, ["headerFacet", "footerFacet", "templates"], ["cmat-carousel-header", "cmat-carousel-footer"], true, never>;
|
|
158
|
-
static ngAcceptInputType_circular: unknown;
|
|
159
|
-
static ngAcceptInputType_showIndicators: unknown;
|
|
160
|
-
static ngAcceptInputType_showNavigators: unknown;
|
|
161
|
-
static ngAcceptInputType_suspendAutoPlay: unknown;
|
|
162
|
-
static ngAcceptInputType_autoplayInterval: unknown;
|
|
135
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatCarouselComponent, never>;
|
|
136
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CmatCarouselComponent, "cmat-carousel", never, { "page": { "alias": "page"; "required": false; "isSignal": true; }; "numVisible": { "alias": "numVisible"; "required": false; "isSignal": true; }; "numScroll": { "alias": "numScroll"; "required": false; "isSignal": true; }; "autoplayInterval": { "alias": "autoplayInterval"; "required": false; "isSignal": true; }; "responsiveOptions": { "alias": "responsiveOptions"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "navigatorsType": { "alias": "navigatorsType"; "required": false; "isSignal": true; }; "verticalViewPortHeight": { "alias": "verticalViewPortHeight"; "required": false; "isSignal": true; }; "arrowSelector": { "alias": "arrowSelector"; "required": false; "isSignal": true; }; "contentClass": { "alias": "contentClass"; "required": false; "isSignal": true; }; "indicatorsContentClass": { "alias": "indicatorsContentClass"; "required": false; "isSignal": true; }; "indicatorsContentStyle": { "alias": "indicatorsContentStyle"; "required": false; "isSignal": true; }; "indicatorStyleClass": { "alias": "indicatorStyleClass"; "required": false; "isSignal": true; }; "indicatorStyle": { "alias": "indicatorStyle"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": true; "isSignal": true; }; "circular": { "alias": "circular"; "required": false; "isSignal": true; }; "showIndicators": { "alias": "showIndicators"; "required": false; "isSignal": true; }; "showNavigators": { "alias": "showNavigators"; "required": false; "isSignal": true; }; "suspendAutoPlay": { "alias": "suspendAutoPlay"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; }, { "page": "pageChange"; "numVisible": "numVisibleChange"; "numScroll": "numScrollChange"; "pageEvent": "pageEvent"; }, ["headerFacet", "footerFacet", "templates"], ["cmat-carousel-header", "cmat-carousel-footer"], true, never>;
|
|
163
137
|
}
|
|
164
138
|
|
|
165
139
|
export { CmatCarouselComponent, CmatCarouselFooterComponent, CmatCarouselHeaderComponent, CmatCarouselTemplateDirective };
|
|
@@ -1,70 +1,101 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { OnDestroy, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Signal, OnDestroy, OnInit, ElementRef } from '@angular/core';
|
|
4
3
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
5
4
|
import { CdkOverlayOrigin, OverlayRef } from '@angular/cdk/overlay';
|
|
6
5
|
import { CdkPortal } from '@angular/cdk/portal';
|
|
6
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
7
7
|
import { MatBottomSheetRef } from '@angular/material/bottom-sheet';
|
|
8
8
|
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
9
9
|
import { Subject } from 'rxjs';
|
|
10
10
|
|
|
11
11
|
interface CmatCascadeOptionsInterface {
|
|
12
|
-
[propName: string]:
|
|
12
|
+
[propName: string]: any;
|
|
13
13
|
label?: string;
|
|
14
14
|
value: string;
|
|
15
15
|
children?: CmatCascadeOptionsInterface[];
|
|
16
16
|
disabled?: boolean;
|
|
17
|
-
active?: boolean;
|
|
18
17
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
private _breakpointObserver;
|
|
24
|
-
private _bottomSheet;
|
|
25
|
-
private readonly _destroyRef;
|
|
26
|
-
id: string;
|
|
18
|
+
interface CmatCascadeStepItem extends CmatCascadeOptionsInterface {
|
|
19
|
+
active: boolean;
|
|
20
|
+
}
|
|
21
|
+
interface CascadeBottomSheetData {
|
|
27
22
|
options: CmatCascadeOptionsInterface[];
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
steps: Signal<CmatCascadeStepItem[][]>;
|
|
24
|
+
currentLabels: Signal<CmatCascadeOptionsInterface[]>;
|
|
25
|
+
selectHandle: (event: Event, step: number, index: number) => void;
|
|
30
26
|
changeOnSelect: boolean;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
currentLabels: CmatCascadeOptionsInterface[];
|
|
40
|
-
readonly stateChanges: Subject<void>;
|
|
41
|
-
focused: boolean;
|
|
42
|
-
touched: boolean;
|
|
43
|
-
controlType: string;
|
|
44
|
-
readonly refreshVersion: i0.WritableSignal<number>;
|
|
27
|
+
placeholder: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare class CmatCascadeBottomSheetComponent {
|
|
31
|
+
readonly data: CascadeBottomSheetData;
|
|
32
|
+
readonly selectedTab: _angular_core.WritableSignal<number>;
|
|
33
|
+
readonly labels: _angular_core.Signal<string[]>;
|
|
34
|
+
private readonly _bottomSheetRef;
|
|
45
35
|
constructor();
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
36
|
+
resetTabIndex(): void;
|
|
37
|
+
clickHandle(event: Event): void;
|
|
38
|
+
dismiss(): void;
|
|
39
|
+
select(disabled: boolean | undefined): void;
|
|
40
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatCascadeBottomSheetComponent, never>;
|
|
41
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CmatCascadeBottomSheetComponent, "cmat-cascade-bottom-sheet", ["cmatCascadeBottomSheet"], {}, {}, never, never, true, never>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare class CmatCascadeListComponent implements MatFormFieldControl<any>, OnDestroy, OnInit, ControlValueAccessor {
|
|
45
|
+
readonly id: string;
|
|
46
|
+
readonly options: _angular_core.InputSignal<CmatCascadeOptionsInterface[]>;
|
|
47
|
+
readonly clearable: _angular_core.InputSignal<boolean>;
|
|
48
|
+
readonly fullLevels: _angular_core.InputSignal<boolean>;
|
|
49
|
+
readonly changeOnSelect: _angular_core.InputSignal<boolean>;
|
|
50
|
+
readonly allowLabelValue: _angular_core.InputSignal<boolean>;
|
|
51
|
+
readonly touchUi: _angular_core.InputSignalWithTransform<boolean, any>;
|
|
52
|
+
readonly overlayOrigin: _angular_core.Signal<CdkOverlayOrigin>;
|
|
53
|
+
readonly menuTemplate: _angular_core.Signal<CdkPortal>;
|
|
54
|
+
readonly _inputElement: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
55
|
+
private readonly _placeholderSignal;
|
|
56
|
+
private readonly _disabledSignal;
|
|
57
|
+
private readonly _requiredSignal;
|
|
49
58
|
get placeholder(): string;
|
|
50
59
|
set placeholder(value: string);
|
|
51
|
-
private _placeholder;
|
|
52
|
-
get value(): CmatCascadeOptionsInterface[] | null;
|
|
53
|
-
set value(value: CmatCascadeOptionsInterface[] | null);
|
|
54
|
-
protected _value: CmatCascadeOptionsInterface[] | null;
|
|
55
|
-
get empty(): boolean;
|
|
56
|
-
get errorState(): boolean;
|
|
57
|
-
get shouldLabelFloat(): boolean;
|
|
58
|
-
get required(): boolean;
|
|
59
|
-
set required(value: BooleanInput);
|
|
60
|
-
protected _required: boolean;
|
|
61
60
|
get disabled(): boolean;
|
|
62
61
|
set disabled(value: BooleanInput);
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
get required(): boolean;
|
|
63
|
+
set required(value: BooleanInput);
|
|
64
|
+
readonly ngControl: NgControl | null;
|
|
65
|
+
readonly stateChanges: Subject<void>;
|
|
66
|
+
controlType: string;
|
|
67
|
+
overlayRef: OverlayRef;
|
|
68
|
+
bottomSheetRef: MatBottomSheetRef;
|
|
69
|
+
private readonly _overlay;
|
|
70
|
+
private readonly _breakpointObserver;
|
|
71
|
+
private readonly _bottomSheet;
|
|
72
|
+
private readonly _destroyRef;
|
|
73
|
+
private readonly _value;
|
|
74
|
+
private readonly _focused;
|
|
75
|
+
private readonly _touched;
|
|
76
|
+
readonly currentLabels: _angular_core.Signal<CmatCascadeOptionsInterface[]>;
|
|
77
|
+
readonly steps: _angular_core.Signal<{
|
|
78
|
+
active: boolean;
|
|
79
|
+
label?: string;
|
|
80
|
+
value: string;
|
|
81
|
+
children?: CmatCascadeOptionsInterface[];
|
|
82
|
+
disabled?: boolean;
|
|
83
|
+
}[][]>;
|
|
84
|
+
readonly showClearIcon: _angular_core.Signal<boolean>;
|
|
85
|
+
readonly menuVisible: _angular_core.Signal<boolean>;
|
|
86
|
+
get empty(): boolean;
|
|
87
|
+
get shouldLabelFloat(): boolean;
|
|
88
|
+
get errorState(): boolean;
|
|
89
|
+
private _onChange;
|
|
90
|
+
private _onTouched;
|
|
91
|
+
constructor();
|
|
92
|
+
get value(): CmatCascadeOptionsInterface[] | null;
|
|
93
|
+
set value(val: CmatCascadeOptionsInterface[] | null);
|
|
94
|
+
get focused(): boolean;
|
|
95
|
+
set focused(val: boolean);
|
|
96
|
+
get touched(): boolean;
|
|
97
|
+
set touched(val: boolean);
|
|
66
98
|
ngOnInit(): void;
|
|
67
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
68
99
|
ngOnDestroy(): void;
|
|
69
100
|
writeValue(value: CmatCascadeOptionsInterface[] | null): void;
|
|
70
101
|
registerOnChange(fn: (value: CmatCascadeOptionsInterface[] | null) => void): void;
|
|
@@ -74,29 +105,17 @@ declare class CmatCascadeListComponent implements MatFormFieldControl<any>, OnDe
|
|
|
74
105
|
onContainerClick(): void;
|
|
75
106
|
clickHandle(event: MouseEvent): void;
|
|
76
107
|
clearValue(event?: Event): void;
|
|
77
|
-
showClearIcon(): boolean;
|
|
78
108
|
selectHandle(event: Event, step: number, index: number): void;
|
|
79
109
|
onFocusIn(): void;
|
|
80
110
|
onFocusOut(event: FocusEvent): void;
|
|
81
|
-
private
|
|
82
|
-
private
|
|
111
|
+
private _findLabelsByValue;
|
|
112
|
+
private _buildStepsFromLabels;
|
|
113
|
+
private _updateInputValue;
|
|
83
114
|
private _openBottomSheet;
|
|
84
|
-
private
|
|
85
|
-
|
|
86
|
-
static
|
|
87
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CmatCascadeListComponent, "cmat-cascade-list", ["cmatCascadeList"], { "id": { "alias": "id"; "required": false; }; "options": { "alias": "options"; "required": true; }; "clearable": { "alias": "clearable"; "required": false; }; "fullLevels": { "alias": "fullLevels"; "required": false; }; "changeOnSelect": { "alias": "changeOnSelect"; "required": false; }; "allowLabelValue": { "alias": "allowLabelValue"; "required": false; }; "touchUi": { "alias": "touchUi"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
declare class CmatCascadeBottomSheetComponent {
|
|
91
|
-
root: CmatCascadeListComponent;
|
|
92
|
-
selected: FormControl<number | null>;
|
|
93
|
-
labels: string[];
|
|
94
|
-
constructor();
|
|
95
|
-
clickHandle(event: Event): void;
|
|
96
|
-
select(disabled: boolean, label: string): void;
|
|
97
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CmatCascadeBottomSheetComponent, never>;
|
|
98
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CmatCascadeBottomSheetComponent, "cmat-cascade-bottom-sheet", ["cmatCascadeBottomSheet"], {}, {}, never, never, true, never>;
|
|
115
|
+
private _getLabelText;
|
|
116
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatCascadeListComponent, never>;
|
|
117
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CmatCascadeListComponent, "cmat-cascade-list", ["cmatCascadeList"], { "options": { "alias": "options"; "required": true; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "fullLevels": { "alias": "fullLevels"; "required": false; "isSignal": true; }; "changeOnSelect": { "alias": "changeOnSelect"; "required": false; "isSignal": true; }; "allowLabelValue": { "alias": "allowLabelValue"; "required": false; "isSignal": true; }; "touchUi": { "alias": "touchUi"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
|
|
99
118
|
}
|
|
100
119
|
|
|
101
120
|
export { CmatCascadeBottomSheetComponent, CmatCascadeListComponent };
|
|
102
|
-
export type { CmatCascadeOptionsInterface };
|
|
121
|
+
export type { CascadeBottomSheetData, CmatCascadeOptionsInterface, CmatCascadeStepItem };
|
|
@@ -1,49 +1,53 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
3
2
|
import { OnDestroy } from '@angular/core';
|
|
3
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
4
|
import { ControlValueAccessor, NgControl, FormControl } from '@angular/forms';
|
|
5
5
|
import { MatAutocompleteSelectedEvent, MatAutocompleteActivatedEvent } from '@angular/material/autocomplete';
|
|
6
6
|
import { MatChipInputEvent } from '@angular/material/chips';
|
|
7
7
|
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
8
|
-
import {
|
|
8
|
+
import { Subject } from 'rxjs';
|
|
9
9
|
|
|
10
10
|
declare class CmatChipInputComponent implements MatFormFieldControl<any>, ControlValueAccessor, OnDestroy {
|
|
11
|
+
readonly id: string;
|
|
11
12
|
ngControl: NgControl;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
outputIsString: boolean;
|
|
17
|
-
separatorKey: string;
|
|
13
|
+
readonly selectableOptions: _angular_core.InputSignal<string[] | undefined>;
|
|
14
|
+
readonly hasAutocomplete: _angular_core.InputSignal<boolean>;
|
|
15
|
+
readonly outputIsString: _angular_core.InputSignal<boolean>;
|
|
16
|
+
readonly separatorKey: _angular_core.InputSignal<string>;
|
|
18
17
|
inputControl: FormControl<string | null>;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
readonly
|
|
22
|
-
|
|
18
|
+
readonly separatorKeysCodes: number[];
|
|
19
|
+
readonly controlType = "cmat-chip-input";
|
|
20
|
+
readonly autocompleteOptionActive: _angular_core.WritableSignal<boolean>;
|
|
21
|
+
private readonly _inputValueSignal;
|
|
23
22
|
readonly stateChanges: Subject<void>;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
private readonly _focused;
|
|
24
|
+
private readonly _touched;
|
|
25
|
+
private readonly _placeholderSignal;
|
|
26
|
+
private readonly _disabledSignal;
|
|
27
|
+
private readonly _requiredSignal;
|
|
28
|
+
private readonly _valueSignal;
|
|
29
|
+
readonly selectedOptions: _angular_core.WritableSignal<string[]>;
|
|
30
|
+
private readonly _inputElementRef;
|
|
31
|
+
private readonly _autoTrigger;
|
|
32
|
+
private _suppressPanelOpen;
|
|
28
33
|
private readonly _maxFilteredItems;
|
|
29
34
|
private readonly _destroyRef;
|
|
35
|
+
readonly filteredOptions: _angular_core.Signal<string[] | null>;
|
|
30
36
|
constructor();
|
|
31
37
|
ngOnDestroy(): void;
|
|
38
|
+
get focused(): boolean;
|
|
39
|
+
get touched(): boolean;
|
|
32
40
|
get placeholder(): string;
|
|
33
41
|
set placeholder(value: string);
|
|
34
|
-
private _placeholder;
|
|
35
42
|
get value(): string[] | string | null;
|
|
36
43
|
set value(value: string[] | string | null);
|
|
37
|
-
protected _value: string[] | string | null;
|
|
38
44
|
get empty(): boolean;
|
|
39
45
|
get errorState(): boolean;
|
|
40
46
|
get shouldLabelFloat(): boolean;
|
|
41
47
|
get required(): boolean;
|
|
42
48
|
set required(value: BooleanInput);
|
|
43
|
-
protected _required: boolean;
|
|
44
49
|
get disabled(): boolean;
|
|
45
50
|
set disabled(value: BooleanInput);
|
|
46
|
-
protected _disabled: boolean;
|
|
47
51
|
registerOnChange(fn: (value: string[] | string | null) => void): void;
|
|
48
52
|
registerOnTouched(fn: () => void): void;
|
|
49
53
|
writeValue(value: string[] | string | null): void;
|
|
@@ -53,14 +57,15 @@ declare class CmatChipInputComponent implements MatFormFieldControl<any>, Contro
|
|
|
53
57
|
onAdd(event: MatChipInputEvent): void;
|
|
54
58
|
onRemove(option: string): void;
|
|
55
59
|
onSelected(event: MatAutocompleteSelectedEvent): void;
|
|
56
|
-
onFocusIn(): void;
|
|
60
|
+
onFocusIn(event?: FocusEvent): void;
|
|
57
61
|
onFocusOut(event: FocusEvent): void;
|
|
58
62
|
onActivated(event: MatAutocompleteActivatedEvent): void;
|
|
63
|
+
private _updateValue;
|
|
59
64
|
private _onModelChange;
|
|
60
65
|
private _onTouchedChange;
|
|
61
66
|
private _filter;
|
|
62
|
-
static ɵfac:
|
|
63
|
-
static ɵcmp:
|
|
67
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatChipInputComponent, never>;
|
|
68
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CmatChipInputComponent, "cmat-chip-input", ["cmatChipInput"], { "selectableOptions": { "alias": "selectableOptions"; "required": false; "isSignal": true; }; "hasAutocomplete": { "alias": "hasAutocomplete"; "required": false; "isSignal": true; }; "outputIsString": { "alias": "outputIsString"; "required": false; "isSignal": true; }; "separatorKey": { "alias": "separatorKey"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
64
69
|
}
|
|
65
70
|
|
|
66
71
|
export { CmatChipInputComponent };
|
|
@@ -1,18 +1,34 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnDestroy } from '@angular/core';
|
|
3
|
+
import { editor } from 'monaco-editor';
|
|
3
4
|
|
|
4
|
-
declare class CmatCodeEditorComponent {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
declare class CmatCodeEditorComponent implements OnDestroy {
|
|
6
|
+
readonly id: string;
|
|
7
|
+
readonly value: _angular_core.InputSignal<string>;
|
|
8
|
+
readonly language: _angular_core.InputSignal<string>;
|
|
9
|
+
readonly height: _angular_core.InputSignal<string>;
|
|
10
|
+
readonly readOnly: _angular_core.InputSignal<boolean>;
|
|
11
|
+
readonly valueChange: _angular_core.OutputEmitterRef<string>;
|
|
12
|
+
readonly options: _angular_core.InputSignal<Record<string, unknown>>;
|
|
13
|
+
readonly model: _angular_core.Signal<{
|
|
14
|
+
value: string;
|
|
15
|
+
language: string;
|
|
16
|
+
uri: string;
|
|
17
|
+
}>;
|
|
18
|
+
readonly editorOptions: _angular_core.Signal<{
|
|
19
|
+
readOnly: boolean;
|
|
20
|
+
theme: {};
|
|
21
|
+
}>;
|
|
22
|
+
private _editorInstance;
|
|
23
|
+
private _contentChangeDisposable;
|
|
24
|
+
private _isUpdatingFromOutside;
|
|
10
25
|
private readonly _document;
|
|
11
|
-
|
|
12
|
-
get editorOptions(): Record<string, unknown>;
|
|
26
|
+
constructor();
|
|
13
27
|
private get _isDarkTheme();
|
|
14
|
-
|
|
15
|
-
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
onEditorInit(editor: editor.IStandaloneCodeEditor): void;
|
|
30
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatCodeEditorComponent, never>;
|
|
31
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CmatCodeEditorComponent, "cmat-code-editor", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "language": { "alias": "language"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
16
32
|
}
|
|
17
33
|
|
|
18
34
|
export { CmatCodeEditorComponent };
|